@coder/ai-sdk-sandbox 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -305,7 +305,7 @@ bash/coreutils) and replays the recipe at build time — same files, same
305
305
  commands, same absolute path:
306
306
 
307
307
  ```dockerfile
308
- ARG HARNESS_CLAUDE_CODE_VERSION=1.0.76
308
+ ARG HARNESS_CLAUDE_CODE_VERSION=1.0.90
309
309
  RUN mkdir -p /home/${USER}/.harness-bootstrap/claude-code \
310
310
  && cd /tmp \
311
311
  && npm pack @ai-sdk/harness-claude-code@${HARNESS_CLAUDE_CODE_VERSION} \
@@ -536,8 +536,6 @@ and a full Claude Code turn with tool use (`scripts/e2e-claude.ts`).
536
536
 
537
537
  - `setNetworkPolicy` is not implemented (omitted) — egress is governed by your
538
538
  Coder template/deployment, not this provider.
539
- - `bridgePorts` is intentionally left undefined: this provider binds one
540
- workspace per session rather than leasing ports from a shared sandbox.
541
539
  - File reads buffer the whole file (binary content moves as base64). Fine for
542
540
  bootstrap-sized files; not intended for streaming very large files.
543
541
  - `CoderNativeTransport` currently targets POSIX workspaces with `bash`, `stty`,
package/dist/index.js CHANGED
@@ -2903,8 +2903,6 @@ function createCoderWorkspace(settings) {
2903
2903
  return {
2904
2904
  specificationVersion: "harness-sandbox-v1",
2905
2905
  providerId: CODER_WORKSPACE_PROVIDER_ID,
2906
- // `bridgePorts` intentionally left undefined: this provider binds one
2907
- // workspace per session rather than leasing ports from a shared sandbox.
2908
2906
  createSession: async (options) => {
2909
2907
  const workspace = resolveWorkspace(options?.sessionId);
2910
2908
  const { session, createdByProvider } = await buildSession(workspace, options?.abortSignal);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coder/ai-sdk-sandbox",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Coder workspace sandbox provider for the Vercel AI SDK v7 HarnessAgent",
5
5
  "keywords": [
6
6
  "ai-sdk",
@@ -45,19 +45,19 @@
45
45
  "yaml": "^2.9.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@ai-sdk/harness": "^1.0.73",
49
- "@ai-sdk/harness-claude-code": "^1.0.76",
50
- "@ai-sdk/provider-utils": "^5.0.27",
51
- "@ai-sdk/tui": "^1.0.67",
48
+ "@ai-sdk/harness": "^1.0.87",
49
+ "@ai-sdk/harness-claude-code": "^1.0.90",
50
+ "@ai-sdk/provider-utils": "^5.0.30",
51
+ "@ai-sdk/tui": "^1.0.80",
52
52
  "@arethetypeswrong/cli": "^0.18.5",
53
53
  "@types/node": "^26.2.0",
54
54
  "@types/ws": "^8.18.1",
55
- "@vitest/coverage-v8": "^4.1.10",
56
- "publint": "^0.3.23",
55
+ "@vitest/coverage-v8": "^4.1.11",
56
+ "publint": "^0.3.24",
57
57
  "tsup": "^8.5.1",
58
58
  "tsx": "^4.23.12",
59
59
  "typescript": "^6.0.3",
60
- "vitest": "^4.1.10",
60
+ "vitest": "^4.1.11",
61
61
  "zod": "4.4.3"
62
62
  },
63
63
  "peerDependencies": {