@agent-os-sdk/client
v0.9.46
Published
Official TypeScript SDK for Agent OS platform
Maintainers
Readme
@agent-os-sdk/client
This package is the generated TypeScript client for Agent OS Control Plane APIs.
How the SDK is generated
The SDK is generated from the Control Plane OpenAPI spec:
- Export OpenAPI (offline)
- Generate TypeScript client/types from
swagger.json - Build the SDK (
tsc)
Run the local pipeline:
bash control-plane/agent-os-sdk/publish-sdk.sh --skip-publishNotes:
--skip-publishruns generation + build only (no npm publish).- If
src/generatedhas no diff, the API contract did not change.
Workspace usage (front-end)
The front-end consumes the SDK via workspace:* / local link so contract changes are picked up immediately without version bumps.
Verify what the web app resolves:
cd front-end
pnpm --filter @agent-os/web why @agent-os-sdk/clientExpected:
@agent-os-sdk/client link:../../../control-plane/agent-os-sdk
Determinism guarantee
- SDK is built via pnpm workspace filter (no isolated npm path).
- Lockfile updates should only happen when the dependency graph changes.
