Skip to content

Conversation

@AlePouroullis
Copy link

@AlePouroullis AlePouroullis commented May 20, 2025

Mirrors the work done on the Python SDK

Update generators.yml to account for CLI binary—merged in

…pt idioms

- Rename SyncClient to FileSyncer and update client options to match Python SDK
- Add useLocalFiles, localFilesDirectory, and cacheSize options
- Update pull method to return [successful, failed] arrays
- Improve TypeScript terminology in docstrings (array vs tuple/list)
- Fix type errors and error handling

Makes the codebase more consistent with Python SDK while improving
TypeScript idioms and type safety.
- Create new unified `overloadClient` function that handles both log and call methods
- Simplify client initialization by directly overloading parent class instances
- Replace SyncClient with direct FileSyncer instance for cleaner file handling
- Standardize tracing context, local file handling, and evaluation context across all client types
@AlePouroullis AlePouroullis changed the title P sync clean new p_sync: FileSyncer + CLI + Local File Usage May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants