Split out from #3443 (de-rot pass). The CLI pins @daytonaio/sdk@0.160.0 while latest is 0.183.0 (23 versions behind). Bumping it surfaces breaking API changes in src/daytona/daytona.ts and src/daytona/e2e.ts:
.list(...) now returns an AsyncIterableIterator<Sandbox> — .items no longer exists (used at daytona.ts:981, e2e.ts:18,23,24).
- A method signature changed:
Expected 0-1 arguments, but got 3 (daytona.ts:172,980, e2e.ts:22,33).
The bump was reverted in #3443 because:
- These are real runtime behavior changes, not just types.
- The daytona cloud can't be verified end-to-end in CI / without a Daytona account, and the repo policy (
.claude/rules/discovery.md) requires clouds be manually tested before shipping.
To migrate
@daytonaio/sdk@0.183.0 in packages/cli/package.json.
- Rewrite
.list() consumers to iterate the async iterator (or collect to an array) instead of .items.
- Fix the changed method call sites flagged by
tsc --noEmit.
- Update the
mock.module("@daytonaio/sdk") mock in daytona.test.ts to match the new shape.
- Verify end-to-end against a real Daytona account before merging.
🤖 Generated with Claude Code
Split out from #3443 (de-rot pass). The CLI pins
@daytonaio/sdk@0.160.0while latest is0.183.0(23 versions behind). Bumping it surfaces breaking API changes insrc/daytona/daytona.tsandsrc/daytona/e2e.ts:.list(...)now returns anAsyncIterableIterator<Sandbox>—.itemsno longer exists (used atdaytona.ts:981,e2e.ts:18,23,24).Expected 0-1 arguments, but got 3(daytona.ts:172,980,e2e.ts:22,33).The bump was reverted in #3443 because:
.claude/rules/discovery.md) requires clouds be manually tested before shipping.To migrate
@daytonaio/sdk@0.183.0inpackages/cli/package.json..list()consumers to iterate the async iterator (or collect to an array) instead of.items.tsc --noEmit.mock.module("@daytonaio/sdk")mock indaytona.test.tsto match the new shape.🤖 Generated with Claude Code