feat(sdk): scaffold SDK, sandbox, and CLI package boundaries#77
feat(sdk): scaffold SDK, sandbox, and CLI package boundaries#77dgarson merged 1 commit intofeat/sdk-dev-sandboxfrom
Conversation
aaa7b3c to
7123afe
Compare
Architecture Review — Approved with Follow-ups (No Merge Without Xavier)I reviewed this against package boundaries, TS surface, transport abstraction, and API growth trajectory. VerdictFrom architecture perspective, this is a solid Phase-1 bootstrap and is acceptable to move forward to Xavier final sign-off. What’s good
Follow-ups to schedule (non-blocking for this PR)
Validation noteI reproduced package test success ( Proceeding recommendation: hold for Xavier sign-off, then merge once branch baseline check is green. |
What\n- add package skeletons for , , and under repo packages\n- implement typed client surface in (client config/clients/result/error types, transport abstraction, plugin typings)\n- implement initial local sandbox runtime with state transitions and event protocol in \n- add developer CLI wrapper commands in for sdk/sandbox quick operations\n- add initial tests for SDK init/request path and a sandbox runtime smoke test\n\n## Why\nThis is phase-1 bootstrap work for BS-TIM-6, providing a consistent repo layout and typed public surfaces before deeper protocol/runtime implementation.\n\n## How to Test\n-
�[1m�[46m RUN �[49m�[22m �[36mv4.0.18 �[39m�[90m/Users/openclaw/.openclaw/workspace/clawdbot/packages/sdk�[39m
�[32m✓�[39m src/client.test.ts �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 10�[2mms�[22m�[39m
�[2m Test Files �[22m �[1m�[32m1 passed�[39m�[22m�[90m (1)�[39m
�[2m Tests �[22m �[1m�[32m5 passed�[39m�[22m�[90m (5)�[39m
�[2m Start at �[22m 13:33:15
�[2m Duration �[22m 280ms�[2m (transform 53ms, setup 0ms, import 122ms, tests 10ms, environment 0ms)�[22m\n-
�[1m�[46m RUN �[49m�[22m �[36mv4.0.18 �[39m�[90m/Users/openclaw/.openclaw/workspace/clawdbot/packages/sandbox�[39m
�[32m✓�[39m src/runtime.test.ts �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 12�[2mms�[22m�[39m
�[2m Test Files �[22m �[1m�[32m1 passed�[39m�[22m�[90m (1)�[39m
�[2m Tests �[22m �[1m�[32m1 passed�[39m�[22m�[90m (1)�[39m
�[2m Start at �[22m 13:33:16
�[2m Duration �[22m 335ms�[2m (transform 90ms, setup 0ms, import 134ms, tests 12ms, environment 0ms)�[22m\n- \n- \n- \n\n## Edge Cases Considered\n- invalid base URL validation in SDK config\n- transport failures mapped to typed errors\n- local sandbox start/stop/exec lifecycle states\n- streaming invocation returns a typed async iterable wrapper for bootstrap compatibility\n\n## Related Issues\n- bs-tim-6