Overview of TypeScript SDK core modules
masterThe TypeScript SDK is organized into several functional modules aligned with the Python SDK capabilities:
- Sandbox Core: Provides APIs for
delete,restart,commit, andattachoperations, along with error parsing and namespace/experiment management. - OSS Client: A standalone
OssClientclass for asynchronous persistence and two-layer OSS configuration parsing. - Speedup: Implements a strategy pattern using an executor and multiple strategy classes with pre-checks.
- Agent: Includes
RockAgentwith support forDeploy.format, YAML loading, and integration withRuntimeEnvandModelService. - EnvHub Datasets: Managed via
DatasetClient,DatasetRegistry, andOssDatasetRegistry. - Job/Trial System: A comprehensive system for managing
JobStatus,TrialResult, and various trial types likeBashTrial,HarborTrial, andComposeTrialusing anOperatorandJobExecutor. - Model Server: An Express-based server providing SSE (Server-Sent Events) encoding/decoding, trajectory recording via
TrajectoryRecorder, and API routing (local and proxy modes).