From 174096fe14d3a3e0aea2880618d161ae8b09dfba Mon Sep 17 00:00:00 2001 From: Alex Lavaee Date: Tue, 1 Dec 2026 02:39:17 +0000 Subject: [PATCH] chore(deps,ai): upgrade Atomic to 0.10.24 and atomic-acp to 0.0.22 - Upgrade `@bastani/atomic`, `@bastani/atomic-ai`, and `@bastani/atomic-storage-postgres` to `0.10.24` (`package.json`, `bun.lock`) and bump `STORE_ADAPTER_RANGE` to `^0.10.24`. - Update the built-in Atomic microVM agent recipe (`packages/protocol/agents.ts`) and docs to install native `atomic@0.10.24` via `install.sh --ref 0.10.24` alongside `@bastani/atomic-acp@0.0.22`. - Check a pasted ChatGPT callback's state before any `error` it carries (`apps/server/src/ai/subscriptions.ts`), as Atomic 0.10.24's manual callback parser now does, so an error address from another sign-in says so instead of asking the person to start again. - Atomic 0.10.24's model catalog no longer lists `anthropic/claude-sonnet-4-5`; the ai-gateway refusal contract test names `anthropic/claude-sonnet-4-6` instead. Assistant-model: Claude Opus 5.5 --- README.md | 2 +- apps/connector/src/images.test.ts | 4 +- apps/connector/src/machine-store.test.ts | 8 +-- apps/connector/src/machine-store.ts | 2 +- apps/connector/src/machine.test.ts | 2 +- apps/connector/src/planner-disks.test.ts | 2 +- apps/server/src/ai/subscriptions.test.ts | 8 +++ apps/server/src/ai/subscriptions.ts | 16 +++--- .../src/harness/atomic.contract.test.ts | 2 +- bun.lock | 50 +++++++++---------- docs/chopin-cli.md | 6 +-- docs/hosted-agent.md | 4 +- docs/local-experiments.md | 2 +- docs/local-launcher.md | 2 +- docs/nvx-sandbox.md | 2 +- docs/self-hosting.md | 6 +-- package.json | 6 +-- packages/protocol/agents.ts | 6 +-- 18 files changed, 67 insertions(+), 63 deletions(-) diff --git a/README.md b/README.md index 620b36aeb..160b3f8a4 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,7 @@ Pick a built-in coding agent with `--agent`: | Agent | In its microVMs | Connect with | Tested with Chopin | | --------------------------------------------------------------------------------------------------- | ---------------------------------------------- | ----------------- | ------------------ | | [GitHub Copilot CLI](https://docs.github.com/en/copilot/reference/copilot-cli-reference/acp-server) | `@github/copilot@1.0.114` | `--agent copilot` | Yes | -| [Atomic](https://github.com/bastani-inc/atomic-acp) | `atomic@0.10.23`, `@bastani/atomic-acp@0.0.21` | `--agent atomic` | Yes | +| [Atomic](https://github.com/bastani-inc/atomic-acp) | `atomic@0.10.24`, `@bastani/atomic-acp@0.0.22` | `--agent atomic` | Yes | For any other agent that supports the Agent Client Protocol (ACP), pass its command after `--`, such as `chopin connect -- my-agent --acp`. If you also use Atomic directly on your own machine, install it with Atomic's standalone installer (`curl -fsSL https://raw.githubusercontent.com/bastani-inc/atomic/main/install.sh | sh`, or `install.ps1` on Windows) and keep it up to date with `atomic update`. diff --git a/apps/connector/src/images.test.ts b/apps/connector/src/images.test.ts index 6eb1c9d72..93f2ae51a 100644 --- a/apps/connector/src/images.test.ts +++ b/apps/connector/src/images.test.ts @@ -581,11 +581,11 @@ describe("builtInRecipe and buildScript for curl-installed Atomic", () => { expect(recipe).toBeDefined(); expect(recipe!.programs).toEqual(["atomic-acp", "atomic"]); expect(recipe!.install[0]).toContain("bastani-inc/atomic/main/install.sh"); - expect(recipe!.install[0]).toContain("--ref 0.10.23"); + expect(recipe!.install[0]).toContain("--ref 0.10.24"); expect(recipe!.install[1]).toBe( 'ln -sfn ../atomic/current/atomic "$npm_config_prefix/bin/atomic"', ); - expect(recipe!.install[2]).toBe("npm install -g @bastani/atomic-acp@0.0.21"); + expect(recipe!.install[2]).toBe("npm install -g @bastani/atomic-acp@0.0.22"); let script = buildScript(recipe!, USER, LAYER); expect(script).toContain('CURL_CA_BUNDLE="$A/ca-certificates.crt"'); }); diff --git a/apps/connector/src/machine-store.test.ts b/apps/connector/src/machine-store.test.ts index 60500646c..5aa1c396a 100644 --- a/apps/connector/src/machine-store.test.ts +++ b/apps/connector/src/machine-store.test.ts @@ -68,7 +68,7 @@ function installing(version: string): AdapterInstaller { } const fakeInstall: AdapterInstaller = async root => { - await installing("0.10.23")(root); + await installing("0.10.24")(root); mkdirSync(join(root, "node_modules", "pg"), { recursive: true }); writeFileSync(join(root, "node_modules", "pg", "package.json"), "{}"); }; @@ -160,14 +160,14 @@ describe("a machine's database login on the connector", () => { throw new Error("npm install failed: network"); })).rejects.toThrow("network"); expect(version()).toBe("0.10.21"); - expect(await storeAdapter(directory, installing("0.10.23"))).toBe(root); - expect(version()).toBe("0.10.23"); + expect(await storeAdapter(directory, installing("0.10.24"))).toBe(root); + expect(version()).toBe("0.10.24"); expect(existsSync(join(root, "stale.txt"))).toBe(false); let installs = 0; expect( await storeAdapter(directory, async staging => { installs++; - await installing("0.10.23")(staging); + await installing("0.10.24")(staging); }), ).toBe(root); expect(installs).toBe(0); diff --git a/apps/connector/src/machine-store.ts b/apps/connector/src/machine-store.ts index 356c9d53a..e3fdb00d9 100644 --- a/apps/connector/src/machine-store.ts +++ b/apps/connector/src/machine-store.ts @@ -21,7 +21,7 @@ import type { Output } from "./output"; import { readOwn, realDirectory, writeOwn } from "./ai-agent"; /** The adapter releases agents here are given, as the Atomic they run. */ -export const STORE_ADAPTER_RANGE = "^0.10.23"; +export const STORE_ADAPTER_RANGE = "^0.10.24"; export const STORE_ADAPTER_SPEC = `${MACHINE_STORE_ADAPTER}@${STORE_ADAPTER_RANGE}`; export const STORE_MAX_CONNECTIONS = 4; export const UNUSABLE_SAVED_STORE = diff --git a/apps/connector/src/machine.test.ts b/apps/connector/src/machine.test.ts index 59613978f..f28de485e 100644 --- a/apps/connector/src/machine.test.ts +++ b/apps/connector/src/machine.test.ts @@ -224,7 +224,7 @@ async function installedAdapter(home: string) { "atomic-storage-postgres", ); await mkdir(adapter, { recursive: true }); - await writeFile(join(adapter, "package.json"), JSON.stringify({ version: "0.10.23" })); + await writeFile(join(adapter, "package.json"), JSON.stringify({ version: "0.10.24" })); } test("pairing sets up the machine's database login in the same step, readable only by its owner", async () => { diff --git a/apps/connector/src/planner-disks.test.ts b/apps/connector/src/planner-disks.test.ts index c4ab1cc44..95a3cb60a 100644 --- a/apps/connector/src/planner-disks.test.ts +++ b/apps/connector/src/planner-disks.test.ts @@ -232,7 +232,7 @@ async function fakeAgentStore(directory: string) { let adapter = await storeAdapter(directory, async root => { let dir = join(root, "node_modules", ...MACHINE_STORE_ADAPTER.split("/")); mkdirSync(dir, { recursive: true }); - writeFileSync(join(dir, "package.json"), JSON.stringify({ version: "0.10.23" })); + writeFileSync(join(dir, "package.json"), JSON.stringify({ version: "0.10.24" })); }); return new AgentStore(STORE_LOGIN, adapter); } diff --git a/apps/server/src/ai/subscriptions.test.ts b/apps/server/src/ai/subscriptions.test.ts index fc6b60224..3a00893de 100644 --- a/apps/server/src/ai/subscriptions.test.ts +++ b/apps/server/src/ai/subscriptions.test.ts @@ -390,6 +390,14 @@ describe("Sign in with ChatGPT", () => { "http://127.0.0.1:1455/auth/callback?code=c&state=another&client_id=app", "This address is from another sign-in. Paste the one from the sign-in you just opened.", ], + [ + "http://127.0.0.1:1455/auth/callback?error=access_denied&state=another", + "This address is from another sign-in. Paste the one from the sign-in you just opened.", + ], + [ + "http://127.0.0.1:1455/auth/callback?error=access_denied", + "This address is from another sign-in. Paste the one from the sign-in you just opened.", + ], [ `http://127.0.0.1:1455/auth/callback?code=c&state=${state}`, "This address has no client ID from ChatGPT. Start again.", diff --git a/apps/server/src/ai/subscriptions.ts b/apps/server/src/ai/subscriptions.ts index 8600cec08..33528911f 100644 --- a/apps/server/src/ai/subscriptions.ts +++ b/apps/server/src/ai/subscriptions.ts @@ -154,8 +154,8 @@ export function beginSignIn( /** * What the person pasted, read as the provider's answer to `pending` before anything is sent: for * ChatGPT the callback address, whose origin and path must be the redirect's, with the same state - * and an issued client id; for Claude the code, `code#state` or an address carrying them, whose - * state, if any, must be the sign-in's. + * (checked before any error it carries, as Atomic does) and an issued client id; for Claude the + * code, `code#state` or an address carrying them, whose state, if any, must be the sign-in's. */ export function pastedAnswer( pending: PendingSignIn, @@ -173,6 +173,12 @@ export function pastedAnswer( if (url.origin !== expected.origin || url.pathname !== expected.pathname) { throw new SignInFailed(`The address you paste starts with ${CHATGPT.redirect}.`); } + let state = url.searchParams.get("state"); + if (!state || state !== pending.state) { + throw new SignInFailed( + "This address is from another sign-in. Paste the one from the sign-in you just opened.", + ); + } let error = url.searchParams.get("error"); if (error) { throw new SignInFailed( @@ -183,12 +189,6 @@ export function pastedAnswer( } let code = url.searchParams.get("code"); if (!code) throw new SignInFailed("This address has no sign-in code. Paste the whole address."); - let state = url.searchParams.get("state"); - if (!state || state !== pending.state) { - throw new SignInFailed( - "This address is from another sign-in. Paste the one from the sign-in you just opened.", - ); - } let clientId = url.searchParams.get("client_id")?.trim(); if (!clientId) { throw new SignInFailed("This address has no client ID from ChatGPT. Start again."); diff --git a/apps/server/src/harness/atomic.contract.test.ts b/apps/server/src/harness/atomic.contract.test.ts index af9fd6727..d1ef02958 100644 --- a/apps/server/src/harness/atomic.contract.test.ts +++ b/apps/server/src/harness/atomic.contract.test.ts @@ -557,7 +557,7 @@ describe("atomic worker host isolation and model resolution", () => { it("refuses non-gateway models under the ai-gateway auth mode", async () => { stub.requests.length = 0; - await expect(run("plain", { model: "anthropic/claude-sonnet-4-5" })).rejects.toThrow( + await expect(run("plain", { model: "anthropic/claude-sonnet-4-6" })).rejects.toThrow( "HARNESS_AUTH ai-gateway allows only vercel-ai-gateway models", ); expect(stub.requests).toHaveLength(0); diff --git a/bun.lock b/bun.lock index 8e6cc868e..9307f907e 100644 --- a/bun.lock +++ b/bun.lock @@ -338,9 +338,9 @@ "@ai-sdk/harness": "1.0.146", "@ai-sdk/mcp": "2.0.72", "@ai-sdk/sandbox-just-bash": "1.0.146", - "@bastani/atomic": "0.10.23", - "@bastani/atomic-ai": "0.10.23", - "@bastani/atomic-storage-postgres": "0.10.23", + "@bastani/atomic": "0.10.24", + "@bastani/atomic-ai": "0.10.24", + "@bastani/atomic-storage-postgres": "0.10.24", "ai": "7.0.135", "typebox": "1.3.7", "zod": "4.4.3", @@ -482,39 +482,39 @@ "@base-ui/utils": ["@base-ui/utils@0.3.2", "", { "dependencies": { "@babel/runtime": "^7.29.2", "@floating-ui/utils": "^0.2.12", "reselect": "^5.2.0", "use-sync-external-store": "^1.6.0" }, "peerDependencies": { "@types/react": "^17 || ^18 || ^19", "react": "^17 || ^18 || ^19", "react-dom": "^17 || ^18 || ^19" }, "optionalPeers": ["@types/react"] }, "sha512-oWy1aq/I2GmYjpl4PhEAhzflF8VPGKgZeq0xAWTbfD5KBWyxcN0ZP2+WHSUm/5Z6lVMBDLReLcoXwSYoRc/zNQ=="], - "@bastani/atomic": ["@bastani/atomic@0.10.23", "", { "dependencies": { "@bastani/atomic-agent-core": "0.10.23", "@bastani/atomic-ai": "0.10.23", "@bastani/atomic-codemode": "0.10.23", "@bastani/atomic-natives": "0.10.23", "@bastani/atomic-schema": "0.10.23", "@bastani/atomic-telemetry": "0.10.23", "@bastani/atomic-tui": "0.10.23", "@silvia-odwyer/photon-node": "0.3.4", "chalk": "6.0.0", "glob": "14.0.6", "highlight.js": "10.7.3", "jiti": "2.7.0", "mupdf": "1.28.6", "proper-lockfile": "4.1.2", "quickjs-wasi": "3.6.3", "typebox": "1.3.27", "undici": "8.12.3" }, "optionalDependencies": { "@mariozechner/clipboard": "0.3.9" }, "bin": { "atomic": "dist/cli.js" } }, "sha512-krrfhcf32fEJHbrnVe+ntCkpJSBMPtmrVpHGDYeDjOJebKThixE4x7u2sz3FapNC87Bbj6N3ppGNBKJzFYTorg=="], + "@bastani/atomic": ["@bastani/atomic@0.10.24", "", { "dependencies": { "@bastani/atomic-agent-core": "0.10.24", "@bastani/atomic-ai": "0.10.24", "@bastani/atomic-codemode": "0.10.24", "@bastani/atomic-natives": "0.10.24", "@bastani/atomic-schema": "0.10.24", "@bastani/atomic-telemetry": "0.10.24", "@bastani/atomic-tui": "0.10.24", "@silvia-odwyer/photon-node": "0.3.4", "chalk": "6.0.0", "glob": "15.0.0", "highlight.js": "10.7.3", "jiti": "2.7.0", "mupdf": "1.28.6", "proper-lockfile": "4.1.2", "quickjs-wasi": "3.6.3", "typebox": "1.3.27", "undici": "8.12.3" }, "optionalDependencies": { "@mariozechner/clipboard": "0.3.9" }, "bin": { "atomic": "dist/cli.js" } }, "sha512-KeRB0SyKaijuvXt3dCIUavyDG8sLYvqjuiI9NrXZCG6wyaYBgUwmBYQo+g+UB3Tjcp2rbsYl4nb5bNLQtdmhig=="], - "@bastani/atomic-agent-core": ["@bastani/atomic-agent-core@0.10.23", "", { "dependencies": { "@bastani/atomic-ai": "0.10.23", "@bastani/atomic-schema": "0.10.23" } }, "sha512-Z+VJDQcdZ8LXfulnQXNbHrJQG5vqXFjwwbN5oMWymPIgFIdttQcHQ8/po00HX8bfB3Jqt31NpeqKjp81u6HP2A=="], + "@bastani/atomic-agent-core": ["@bastani/atomic-agent-core@0.10.24", "", { "dependencies": { "@bastani/atomic-ai": "0.10.24", "@bastani/atomic-schema": "0.10.24" } }, "sha512-2Mnk31gwdxqbUnV5kYkEqzocQ1f8IRLBQcwbxEBu8a7qtrifcxnS0B7B2lX/xAtXuQ9fSUp61FV4kl9f5DnKHQ=="], - "@bastani/atomic-ai": ["@bastani/atomic-ai@0.10.23", "", { "dependencies": { "@anthropic-ai/sdk": "0.129.0", "@aws-sdk/client-bedrock-runtime": "3.1127.0", "@bastani/atomic-schema": "0.10.23", "@bastani/atomic-telemetry": "0.10.23", "@google/genai": "2.32.0", "@smithy/node-http-handler": "4.13.0", "http-proxy-agent": "9.1.0", "https-proxy-agent": "9.1.0", "openai": "7.19.0", "partial-json": "0.1.7", "typebox": "1.3.27" }, "bin": { "pi-ai": "dist/cli.js", "atomic-ai": "dist/cli.js" } }, "sha512-qILIZOLKg6FmE+RcTblG4TNOmnwgZQLsHKiVxmtK03VOpWjQDzm6f8ZfSjRoVoVl6C4OU51I8uUoTm3lTLSuVw=="], + "@bastani/atomic-ai": ["@bastani/atomic-ai@0.10.24", "", { "dependencies": { "@anthropic-ai/sdk": "0.129.0", "@aws-sdk/client-bedrock-runtime": "3.1127.0", "@bastani/atomic-schema": "0.10.24", "@bastani/atomic-telemetry": "0.10.24", "@google/genai": "2.32.0", "@smithy/node-http-handler": "4.13.0", "http-proxy-agent": "9.1.0", "https-proxy-agent": "9.1.0", "openai": "7.19.0", "partial-json": "0.1.7", "typebox": "1.3.27" }, "bin": { "pi-ai": "dist/cli.js", "atomic-ai": "dist/cli.js" } }, "sha512-wgW6Bq5Ch+ebF9YDgdctYKqaPp8Gx9zujgEsEmDpw271dkSYlMszHoBpj5/8/RnAjJrreNU7bBGWBXK5up15dQ=="], - "@bastani/atomic-codemode": ["@bastani/atomic-codemode@0.10.23", "", { "dependencies": { "quickjs-wasi": "3.6.3" } }, "sha512-OSZBwXxwDE4AVms3z29tBD0tgQesD1Qrma55EiX7XkRF3Fu8fX3Yg+A0XfCHqe6hfrRduEq0ynrR20aTK89FWA=="], + "@bastani/atomic-codemode": ["@bastani/atomic-codemode@0.10.24", "", { "dependencies": { "quickjs-wasi": "3.6.3" } }, "sha512-GH+7bOsXzAjSHIY+QslXOoiRfyJm23HCT/UVuasi2FFZuDTm9iXEvYSlo0FhNuPOm6XhVKAfuXNzA3WBpSonTQ=="], - "@bastani/atomic-natives": ["@bastani/atomic-natives@0.10.23", "", { "optionalDependencies": { "@bastani/atomic-natives-darwin-arm64": "0.10.23", "@bastani/atomic-natives-darwin-x64": "0.10.23", "@bastani/atomic-natives-linux-arm64-gnu": "0.10.23", "@bastani/atomic-natives-linux-arm64-musl": "0.10.23", "@bastani/atomic-natives-linux-x64-gnu": "0.10.23", "@bastani/atomic-natives-linux-x64-musl": "0.10.23", "@bastani/atomic-natives-win32-arm64-msvc": "0.10.23", "@bastani/atomic-natives-win32-x64-msvc": "0.10.23" } }, "sha512-u6PqKF1h942L0uMc2rCAgj/79XkBjNuXxS2xzyN3E9wp2AZuLOqwh/98zpx74F7+hKiB/IZ6kWBdk88+r/k6Mg=="], + "@bastani/atomic-natives": ["@bastani/atomic-natives@0.10.24", "", { "optionalDependencies": { "@bastani/atomic-natives-darwin-arm64": "0.10.24", "@bastani/atomic-natives-darwin-x64": "0.10.24", "@bastani/atomic-natives-linux-arm64-gnu": "0.10.24", "@bastani/atomic-natives-linux-arm64-musl": "0.10.24", "@bastani/atomic-natives-linux-x64-gnu": "0.10.24", "@bastani/atomic-natives-linux-x64-musl": "0.10.24", "@bastani/atomic-natives-win32-arm64-msvc": "0.10.24", "@bastani/atomic-natives-win32-x64-msvc": "0.10.24" } }, "sha512-8eY3GWqBwI51jOb8Q22qr9UmutAKkACW+iaaw7MkvNQm4ta9veijBAid9jXsGHi/lEqpDAmmIlv11NxgvZBGrQ=="], - "@bastani/atomic-natives-darwin-arm64": ["@bastani/atomic-natives-darwin-arm64@0.10.23", "", { "os": "darwin", "cpu": "arm64" }, "sha512-N+7vjPlR4sgAbSaZQUu/EL10knKfOCFm7eUo/IZcUo+0VvHrU+rLZ2M9OaBS/qgFbGXYCNOC2yLLqZVqZeNSpA=="], + "@bastani/atomic-natives-darwin-arm64": ["@bastani/atomic-natives-darwin-arm64@0.10.24", "", { "os": "darwin", "cpu": "arm64" }, "sha512-rBOlTlDmBUEnYWNqG15qdS1ayhkAGy0MAFZ+5iC/hBuahjmJ4JyfySyLRpz1BDfPw0IPqJEnSfWplJEv0S2peg=="], - "@bastani/atomic-natives-darwin-x64": ["@bastani/atomic-natives-darwin-x64@0.10.23", "", { "os": "darwin", "cpu": "x64" }, "sha512-wf12+Ox9AmW7kldmXsDahTWX7HCBJeKhQ9J0mUKQgCpyIWPRvBtl5bdCcZGa9JB0yEp4whX/FkPxJcWCWrxUpQ=="], + "@bastani/atomic-natives-darwin-x64": ["@bastani/atomic-natives-darwin-x64@0.10.24", "", { "os": "darwin", "cpu": "x64" }, "sha512-EqcE6S3XJvB86hGE3H3E50H/YtAaJ69rAAPs9hmnEp8JC2lgRoJt5AEZdcSs6XKVzfkDULKMbKmoPZLqIxyadw=="], - "@bastani/atomic-natives-linux-arm64-gnu": ["@bastani/atomic-natives-linux-arm64-gnu@0.10.23", "", { "os": "linux", "cpu": "arm64", "libc": "glibc" }, "sha512-jaW+jA9QL5dXxmgxTZC1HdG0HnNq12XEp9XUfVJ40GYfpXQUZOCgHFqiE/ytbm7UPkGtAwIbCRELbl/KCve15g=="], + "@bastani/atomic-natives-linux-arm64-gnu": ["@bastani/atomic-natives-linux-arm64-gnu@0.10.24", "", { "os": "linux", "cpu": "arm64", "libc": "glibc" }, "sha512-uLU3fIXVOsq3JuJr5gXKopDCicoHv5JRD0nY1cXzVjtlOatXGkbVY5gSh7Qoh+pEYBV9Wva/OYmXSQwnJfje7A=="], - "@bastani/atomic-natives-linux-arm64-musl": ["@bastani/atomic-natives-linux-arm64-musl@0.10.23", "", { "os": "linux", "cpu": "arm64", "libc": "musl" }, "sha512-GDx1pMcUzPJRWvxr7W8jfo+q4xxBT5Z89oX5MEP04lipTnb8xlQgN7UhqytedKJjjpruEr+xwmEn7rOGi8isZA=="], + "@bastani/atomic-natives-linux-arm64-musl": ["@bastani/atomic-natives-linux-arm64-musl@0.10.24", "", { "os": "linux", "cpu": "arm64", "libc": "musl" }, "sha512-vS4ns4128W4zAn44kFjWWAdrBkImYePAYPUvMz+rTeUkqdAKWcJas+CEy/jJMw7aIKwhmYSYWjhJikK3+1ls+w=="], - "@bastani/atomic-natives-linux-x64-gnu": ["@bastani/atomic-natives-linux-x64-gnu@0.10.23", "", { "os": "linux", "cpu": "x64", "libc": "glibc" }, "sha512-nkRvdxWORXBnDgKbd7wQeLQnU8g0HViSSnMEWKCixgIXS6BDSPfiFaosux78x0h1DUqulY7ycZ+i1I+QzutT4A=="], + "@bastani/atomic-natives-linux-x64-gnu": ["@bastani/atomic-natives-linux-x64-gnu@0.10.24", "", { "os": "linux", "cpu": "x64", "libc": "glibc" }, "sha512-lEs5Enb7Kpb05VIW/OVLQWWzO2ZhoEZurrm3d+AcdUufzYZhNLAsZpTlFhKJMUuZAERZefGxuNeyXY90xdzXyQ=="], - "@bastani/atomic-natives-linux-x64-musl": ["@bastani/atomic-natives-linux-x64-musl@0.10.23", "", { "os": "linux", "cpu": "x64", "libc": "musl" }, "sha512-zLix0mNcY6gD3SmyQAsaXseYhEuUIkRR0m5faYF5e/HB2yMnJcH4cjsZLwJe5xvKnCwVmkW7OZhiGykey5f0Zw=="], + "@bastani/atomic-natives-linux-x64-musl": ["@bastani/atomic-natives-linux-x64-musl@0.10.24", "", { "os": "linux", "cpu": "x64", "libc": "musl" }, "sha512-c1Egr9LKYY3WMiQFKj/jH3VgLKXMi+5ke+5umFbQd/AvJ5rF1CFLUjvUTn1DZr1fcyaPrAPEG3BNTS30LNNqFA=="], - "@bastani/atomic-natives-win32-arm64-msvc": ["@bastani/atomic-natives-win32-arm64-msvc@0.10.23", "", { "os": "win32", "cpu": "arm64" }, "sha512-99l4Jr3ws4RcNyF9AsUefExia87+M/DkiMmrJ7LNAEpvw6prv4R6z++53SWXkHxnFIhXHvFgcw22Z6zfO8TNtA=="], + "@bastani/atomic-natives-win32-arm64-msvc": ["@bastani/atomic-natives-win32-arm64-msvc@0.10.24", "", { "os": "win32", "cpu": "arm64" }, "sha512-n5OsFLSGpxVHCbBRWC+eJrh5bjxNrAKEKnPqJcp2+lhQwE4sPj9TzCep/a0vYtHBhAw89hzZk3t1lNMZldNyTQ=="], - "@bastani/atomic-natives-win32-x64-msvc": ["@bastani/atomic-natives-win32-x64-msvc@0.10.23", "", { "os": "win32", "cpu": "x64" }, "sha512-e3ZnJh7R0cHIDqw7wL18aTBMki+3BD+5sHA8zzV+VBX8r8RrpmXa6I9QwSkFGHp38BFVaXXBlKrorOK1x8a4Og=="], + "@bastani/atomic-natives-win32-x64-msvc": ["@bastani/atomic-natives-win32-x64-msvc@0.10.24", "", { "os": "win32", "cpu": "x64" }, "sha512-CA6N0lSbF3fw75A23+fMIlr+qrX3iUDMeKaJTXQPtJ7eFMuS4QnQmZx5RXLDMxRfZgT2rWY5D1HcF9DRZ6jT+g=="], - "@bastani/atomic-schema": ["@bastani/atomic-schema@0.10.23", "", {}, "sha512-71TC98dQr7pt7XDFKZ4kwd0rC9CKf8bsqTfrk7sex2xMzMD7gBvU4UBUVgpgIkd5z7Fc66OZNXffUwX2jNuC+g=="], + "@bastani/atomic-schema": ["@bastani/atomic-schema@0.10.24", "", {}, "sha512-qeXkdKucMWAZXbaQx1rd0LpGJGhaZEkPpbVia3PDwdjH7FmA03DCkiee7N+mKwrRqi3pSQF03nN0DRrsH4LMTA=="], - "@bastani/atomic-storage-postgres": ["@bastani/atomic-storage-postgres@0.10.23", "", { "dependencies": { "pg": "8.23.1", "pg-connection-string": "2.14.1" }, "peerDependencies": { "@aws-sdk/rds-signer": "^3.1169.0", "@azure/identity": "^4.14.1", "@bastani/atomic": "*", "google-auth-library": "^10.9.1 || ^11.3.4" }, "optionalPeers": ["@aws-sdk/rds-signer", "@azure/identity", "@bastani/atomic", "google-auth-library"] }, "sha512-JTr0lrO8ozzQxyMV6U4+QBURTCF20GwBB7IeFkHEMp5G6CVY1MmMslO5v0sNxK6PQzq7EJpzLjjDt+uOFTnvpQ=="], + "@bastani/atomic-storage-postgres": ["@bastani/atomic-storage-postgres@0.10.24", "", { "dependencies": { "pg": "8.23.1", "pg-connection-string": "2.14.1" }, "peerDependencies": { "@aws-sdk/rds-signer": "^3.1169.0", "@azure/identity": "^4.14.1", "@bastani/atomic": "*", "google-auth-library": "^10.9.1 || ^11.3.4" }, "optionalPeers": ["@aws-sdk/rds-signer", "@azure/identity", "@bastani/atomic", "google-auth-library"] }, "sha512-cK7bu7k0PxbP/mKs1yTBuFxeaDMgl8ea3ZJsJkqpMDW0IbezQSSm1IF1jgYUp+aFPC2oyxNNUWakj3Y5IO+QvQ=="], - "@bastani/atomic-telemetry": ["@bastani/atomic-telemetry@0.10.23", "", {}, "sha512-BuGStTW7D/a6nmzMlyf8eX7E91Yc/8pCwxKDeWi1FAokFJseZT7ZwSKjQmPn5RksgHPRGiPNCfmNBowedjUJLw=="], + "@bastani/atomic-telemetry": ["@bastani/atomic-telemetry@0.10.24", "", {}, "sha512-VKehjayK65AY6eTFl6vdn5YBbEW6TzrQaBrwCTPaISgmka/0bs3SXEOxOf3aQywGPAlIOtA5o/xeI+ogqamT4g=="], - "@bastani/atomic-tui": ["@bastani/atomic-tui@0.10.23", "", { "dependencies": { "get-east-asian-width": "1.7.0", "marked": "18.0.11", "marked-cjk-friendly": "0.1.3" } }, "sha512-Ev/eD1WRsbMn48VVGBQfEn1qqWr/7TVZQbiZt4bXorE1a39ZybAVcsg0zJ10kHy22f9RFfSWja8LbCWbiDxuwg=="], + "@bastani/atomic-tui": ["@bastani/atomic-tui@0.10.24", "", { "dependencies": { "get-east-asian-width": "1.7.0", "marked": "18.0.11", "marked-cjk-friendly": "0.1.3" } }, "sha512-1EoN2votoW+hqeSZOnm4GQq2egKUFI2Rte9BS1LwfLl0p7286KbiRTHJLAFRYs4Oohy4MLlZ/UKWmHgjBKE30A=="], "@borewit/text-codec": ["@borewit/text-codec@0.2.3", "", {}, "sha512-49CycTz1aAZmvFcwkeFyhud1HUmRIB5Tabf7ALV+VA4Iu85MTfz2cUwzPagMFAdVBvrWdkCxG67I30tUwwpKsw=="], @@ -1664,7 +1664,7 @@ "github-from-package": ["github-from-package@0.0.0", "", {}, "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw=="], - "glob": ["glob@14.0.6", "", { "dependencies": { "minimatch": "^11.0.5", "minipass": "^7.1.3", "path-scurry": "^3.0.0" } }, "sha512-OwXjVP2svY5EyLY75Vek96C8qK43gqrt4xsZ+qSILdnaEiJPXkd62mcfUSNx/TQErQRdu5uM5kF67sfONragKw=="], + "glob": ["glob@15.0.0", "", { "dependencies": { "minimatch": "^11.0.5", "path-scurry": "^4.1.0" } }, "sha512-tiRK5MxAsWTadBLU7T3r2hanLM785BdqH9cfQ9wSTQNU+yULR5gTNiHjB1jpp88qIbX1U+rdrCUXhNv9A2G91g=="], "globrex": ["globrex@0.1.2", "", {}, "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg=="], @@ -1824,7 +1824,7 @@ "loose-envify": ["loose-envify@1.4.0", "", { "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" }, "bin": { "loose-envify": "cli.js" } }, "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q=="], - "lru-cache": ["lru-cache@11.5.3", "", {}, "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg=="], + "lru-cache": ["lru-cache@5.1.1", "", { "dependencies": { "yallist": "^3.0.2" } }, "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w=="], "lru_map": ["lru_map@0.4.1", "", {}, "sha512-I+lBvqMMFfqaV8CJCISjI3wbjmwVu/VyOoU7+qtu9d7ioW5klMgsTTiUOUp+DJvfTTzKXoPbyC6YfgkNcyPSOg=="], @@ -1976,8 +1976,6 @@ "minimist": ["minimist@1.2.8", "", {}, "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA=="], - "minipass": ["minipass@7.1.3", "", {}, "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A=="], - "mkdirp-classic": ["mkdirp-classic@0.5.3", "", {}, "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A=="], "modern-tar": ["modern-tar@0.7.7", "", {}, "sha512-t9VmxaqrmANnEOBhpSDI6HD192Ge48k8vmWqQQL7hSFEqHEYwZbbsu49+aKLWZeRvFs3j1pMhXOqqF4kPlvjkQ=="], @@ -2046,7 +2044,7 @@ "path-key": ["path-key@3.1.1", "", {}, "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="], - "path-scurry": ["path-scurry@3.0.0", "", { "dependencies": { "lru-cache": "^11.0.0", "minipass": "^7.1.2" } }, "sha512-1pTbQqH1wIwMi/eleQ5leFTTCkzFsPcgXNjwOA8YGGW/W4/kHT3dssE7Z6NH+zuqNLOzOB0uaD61yl7cAcVhgg=="], + "path-scurry": ["path-scurry@4.1.0", "", {}, "sha512-V/lmmLwmIUkQzwMR7vAvmTfFH6Pq3QLJryRRO7QSEH5ZpjxpWXA5hGVH1fVnUaT8q8qb1J08NGaaTu501JLRnA=="], "path-to-regexp": ["path-to-regexp@8.4.2", "", {}, "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA=="], @@ -2406,8 +2404,6 @@ "@babel/generator/@babel/parser": ["@babel/parser@7.29.14", "", { "dependencies": { "@babel/types": "^7.29.14" }, "bin": "./bin/babel-parser.js" }, "sha512-VL220vXuyO2z3rNIQwY7ftj9UwpqOt+33sH+sBWkOekbsSR2g7EEMnOx24ZlCH0xOA3DM/33SifVFGbnJD8r/w=="], - "@babel/helper-compilation-targets/lru-cache": ["lru-cache@5.1.1", "", { "dependencies": { "yallist": "^3.0.2" } }, "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w=="], - "@babel/traverse/@babel/parser": ["@babel/parser@7.29.14", "", { "dependencies": { "@babel/types": "^7.29.14" }, "bin": "./bin/babel-parser.js" }, "sha512-VL220vXuyO2z3rNIQwY7ftj9UwpqOt+33sH+sBWkOekbsSR2g7EEMnOx24ZlCH0xOA3DM/33SifVFGbnJD8r/w=="], "@bastani/atomic/typebox": ["typebox@1.3.27", "", {}, "sha512-zu+jc1pcy4UiNThxikUr36f0Rybk9PEeCg/NE6adeWr/SKsdNO4EzZHYRDlv2YCVAfj3Odq3dESSo/jNyoBXzA=="], diff --git a/docs/chopin-cli.md b/docs/chopin-cli.md index 5263f3a90..a6b85a1e2 100644 --- a/docs/chopin-cli.md +++ b/docs/chopin-cli.md @@ -156,9 +156,9 @@ The Machines page offers these built-in agents. **Connect with** shows the `--ag | Agent | In its microVMs | Connect with | Runs | Tested with Chopin | | --------------------------------------------------------------------------------------------------- | ---------------------------------------------- | ----------------- | ---------------------------------- | ------------------ | | [GitHub Copilot CLI](https://docs.github.com/en/copilot/reference/copilot-cli-reference/acp-server) | `@github/copilot@1.0.114` | `--agent copilot` | `copilot --acp --allow-all` | Yes | -| [Atomic](https://github.com/bastani-inc/atomic-acp) | `atomic@0.10.23`, `@bastani/atomic-acp@0.0.21` | `--agent atomic` | `ATOMIC_ACP_HEADLESS=1 atomic-acp` | Yes | +| [Atomic](https://github.com/bastani-inc/atomic-acp) | `atomic@0.10.24`, `@bastani/atomic-acp@0.0.22` | `--agent atomic` | `ATOMIC_ACP_HEADLESS=1 atomic-acp` | Yes | -You do not need to install Node.js or these coding agents on the host machine. `chopin` builds a microVM image once with the pinned agent pre-installed: Copilot installs `@github/copilot@1.0.114`, while Atomic installs its native standalone binary (`atomic@0.10.23` via `https://raw.githubusercontent.com/bastani-inc/atomic/main/install.sh`) alongside `@bastani/atomic-acp@0.0.21`. Agents use the AI accounts connected in Chopin, so no host sign-in is needed either. (If you also install Atomic directly on your own computer, use the same standalone installer and update it with `atomic update`.) +You do not need to install Node.js or these coding agents on the host machine. `chopin` builds a microVM image once with the pinned agent pre-installed: Copilot installs `@github/copilot@1.0.114`, while Atomic installs its native standalone binary (`atomic@0.10.24` via `https://raw.githubusercontent.com/bastani-inc/atomic/main/install.sh`) alongside `@bastani/atomic-acp@0.0.22`. Agents use the AI accounts connected in Chopin, so no host sign-in is needed either. (If you also install Atomic directly on your own computer, use the same standalone installer and update it with `atomic update`.) Extra arguments after `--` are forwarded to the agent. For example, `chopin connect --agent atomic -- --model openai/gpt-5.5` runs `atomic-acp -- --model openai/gpt-5.5`. Any `--env` value you supply overrides the agent's built-in defaults. @@ -397,7 +397,7 @@ Remote Planner backends receive their per-session AI grants the same way over th When your Chopin server provides a PostgreSQL database for machine agent sessions, pairing and `chopin connect` configure it automatically: -1. `chopin` requests a dedicated database login for this machine, saves it under `agent-store/` (with the password stored separately at mode `0600`), and installs `@bastani/atomic-storage-postgres` (`^0.10.23`) once. +1. `chopin` requests a dedicated database login for this machine, saves it under `agent-store/` (with the password stored separately at mode `0600`), and installs `@bastani/atomic-storage-postgres` (`^0.10.24`) once. 2. Each Atomic run and Planner receives a copy of the adapter, its `storage-password` file, and a generated `settings.json` inside its private microVM state folder (your personal `~/.atomic` is never modified). 3. `chopin`'s proxy automatically allows connections to that database host and port. diff --git a/docs/hosted-agent.md b/docs/hosted-agent.md index 571c0eaef..b7e863abc 100644 --- a/docs/hosted-agent.md +++ b/docs/hosted-agent.md @@ -7,7 +7,7 @@ Chopin runs the Planner through `@ai-sdk/harness` using one of three configured | `HARNESS` | Where the Planner runs | Isolation and access | | ------------- | ---------------------------------------------------------------- | -------------------------------------------------------------------------------------- | | `copilot-sdk` | Inside the Chopin server via `@github/copilot-sdk` (default) | Read-only GitHub/repo tools + Chopin doc tools; cannot edit code or push to GitHub | -| `atomic` | Inside the Chopin server via Atomic `0.10.23` headless SDK | **Full host access:** runs shell commands and edits files as the server process's user | +| `atomic` | Inside the Chopin server via Atomic `0.10.24` headless SDK | **Full host access:** runs shell commands and edits files as the server process's user | | `remote` | External client or paired machine connected over `/api/v1/agent` | Client runs the model and local tools; Chopin keeps docs, Decisions, and AI proxy keys | > [!WARNING] @@ -432,7 +432,7 @@ model again before every model request. ## Full Atomic Planner -Under `HARNESS=atomic`, every Planner session is a full Atomic `0.10.23` session in both local and hosted deployments. Loaded Atomic extensions, MCP servers, and tools run **as the server process's user**, not inside a sandbox (use `copilot-sdk` if you do not want host access). Both `HARNESS_AUTH=auto` and `ai-gateway` work under their [bind rules](self-hosting.md#choose-and-trust-a-harness). +Under `HARNESS=atomic`, every Planner session is a full Atomic `0.10.24` session in both local and hosted deployments. Loaded Atomic extensions, MCP servers, and tools run **as the server process's user**, not inside a sandbox (use `copilot-sdk` if you do not want host access). Both `HARNESS_AUTH=auto` and `ai-gateway` work under their [bind rules](self-hosting.md#choose-and-trust-a-harness). **Tool boundary on Planner turns:** diff --git a/docs/local-experiments.md b/docs/local-experiments.md index 5999ded18..42ab59ff3 100644 --- a/docs/local-experiments.md +++ b/docs/local-experiments.md @@ -6,7 +6,7 @@ Chopin can delegate codebase investigations to a coding agent running on your ow Connect your machine with the `chopin` CLI as described in [Use your own machine with Chopin](chopin-cli.md). One connection handles documents across every repository you can push to, using either local folders named with `--checkout` or on-demand clones. -Chopin communicates with coding agents using the standard Agent Client Protocol (ACP) rather than vendor-specific SDKs. Built-in `--agent copilot` and `--agent atomic` (which installs native `atomic@0.10.23` via Atomic's standalone installer alongside `@bastani/atomic-acp@0.0.21` inside its microVM) work out of the box. Any custom agent passed after `--` must speak ACP over standard I/O and accept MCP tool servers over HTTP or standard I/O. +Chopin communicates with coding agents using the standard Agent Client Protocol (ACP) rather than vendor-specific SDKs. Built-in `--agent copilot` and `--agent atomic` (which installs native `atomic@0.10.24` via Atomic's standalone installer alongside `@bastani/atomic-acp@0.0.22` inside its microVM) work out of the box. Any custom agent passed after `--` must speak ACP over standard I/O and accept MCP tool servers over HTTP or standard I/O. Under `AUTH_MODE=local`, Chopin has no client secret to issue separate machine authorizations, so connector requests rely on your active browser sign-in and pause while you are signed out. diff --git a/docs/local-launcher.md b/docs/local-launcher.md index d57ffef2e..4b3bf7045 100644 --- a/docs/local-launcher.md +++ b/docs/local-launcher.md @@ -17,7 +17,7 @@ Each **Build plan** click starts an isolated agent session inside its microVM. I 5. The connector creates a clean isolated Git workspace at that exact commit on a new branch without touching your existing local edits. It starts a new Agent Client Protocol (ACP) session and claims the task graph before sending the build prompt. 6. The coding agent works through ready tasks (using subagents for independent tasks when supported), integrates prerequisites, opens small reviewable pull requests linked back to the document and task, and reports task and verification status to Chopin. -During a build, Chopin gives the coding agent a dedicated, single-run MCP tool server containing only `read_implementation` and the seven task lifecycle tools (`start_implementation`, `start_task`, `block_task`, `report_pr`, `complete_task`, `report_verification`, `request_revision`). The run token pins the document and run ID automatically, so the agent cannot report against another document. The connector's own token handles job pickup and heartbeats. Investigations and builds share the same busy check on a workspace. The connector prefers HTTP MCP when the agent supports it and falls back to its standard-I/O bridge otherwise. If you use Atomic outside a Chopin-managed microVM, use `@bastani/atomic-acp` 0.0.3 or newer (microVMs install `atomic@0.10.23` and `@bastani/atomic-acp@0.0.21`); older versions ignore the run-scoped MCP tools. +During a build, Chopin gives the coding agent a dedicated, single-run MCP tool server containing only `read_implementation` and the seven task lifecycle tools (`start_implementation`, `start_task`, `block_task`, `report_pr`, `complete_task`, `report_verification`, `request_revision`). The run token pins the document and run ID automatically, so the agent cannot report against another document. The connector's own token handles job pickup and heartbeats. Investigations and builds share the same busy check on a workspace. The connector prefers HTTP MCP when the agent supports it and falls back to its standard-I/O bridge otherwise. If you use Atomic outside a Chopin-managed microVM, use `@bastani/atomic-acp` 0.0.3 or newer (microVMs install `atomic@0.10.24` and `@bastani/atomic-acp@0.0.22`); older versions ignore the run-scoped MCP tools. The Build tab loads the current snapshot when you open it and updates live as the agent reports progress. It replaces the main pane while open (alongside Document and Decisions). Leaving the Build tab does not stop the run. A `#task-` link opens the Build tab with that task expanded. diff --git a/docs/nvx-sandbox.md b/docs/nvx-sandbox.md index 392184c80..6d0f1856f 100644 --- a/docs/nvx-sandbox.md +++ b/docs/nvx-sandbox.md @@ -98,7 +98,7 @@ Each image recipe combines: - Mozilla root certificates extracted from Node into `/opt/chopin/agent/ca-certificates.crt` (exported as `SSL_CERT_FILE`, `GIT_SSL_CAINFO`, and `CURL_CA_BUNDLE` both during image builds and at runtime). - Agent install commands: - **Built-in Copilot CLI:** `npm install -g @github/copilot@1.0.114`. - - **Built-in Atomic:** installs the native `atomic` `0.10.23` binary via `curl` and Atomic's `install.sh` (with a relative symlink `../atomic/current/atomic` in `/opt/chopin/agent/bin/atomic`), plus `npm install -g @bastani/atomic-acp@0.0.21`. + - **Built-in Atomic:** installs the native `atomic` `0.10.24` binary via `curl` and Atomic's `install.sh` (with a relative symlink `../atomic/current/atomic` in `/opt/chopin/agent/bin/atomic`), plus `npm install -g @bastani/atomic-acp@0.0.22`. - **Custom agents or Planners:** the commands passed via `--install` and `--planner-install`. - Any files inside `--install-from` (hashed by relative path, contents, and executable bit). - A matching user/group entry (`uid:gid`) and system `/etc/gitconfig` with `safe.directory = *`. diff --git a/docs/self-hosting.md b/docs/self-hosting.md index 3d05ed0fe..6a913c267 100644 --- a/docs/self-hosting.md +++ b/docs/self-hosting.md @@ -35,7 +35,7 @@ Always restrict admission on internet-facing deployments and enforce HTTPS acros | `HARNESS` | Where the Planner runs | Trust boundary | | ------------- | ---------------------------------------------------------------- | --------------------------------------------------------------------------------------- | | `copilot-sdk` | Inside the Chopin server via `@github/copilot-sdk` (default) | Isolated: read-only GitHub/repo tools + document edits; no shell or host filesystem | -| `atomic` | Inside the Chopin server via Atomic `0.10.23` headless SDK | **Full host access:** Planner runs shell commands and edits files as the server user | +| `atomic` | Inside the Chopin server via Atomic `0.10.24` headless SDK | **Full host access:** Planner runs shell commands and edits files as the server user | | `remote` | External client or paired machine connected over `/api/v1/agent` | Code and tools run on the user's or machine's side; server holds docs and AI proxy keys | ### `copilot-sdk` (default) @@ -46,7 +46,7 @@ The Copilot CLI child process receives a clean minimal environment (not your ser ### `atomic` -`HARNESS=atomic` embeds Atomic `0.10.23` directly in the server process via `createAgentSession()` (it does not spawn the `atomic` CLI or use RPC mode). +`HARNESS=atomic` embeds Atomic `0.10.24` directly in the server process via `createAgentSession()` (it does not spawn the `atomic` CLI or use RPC mode). > [!WARNING] > **Choosing `HARNESS=atomic` grants every Planner session shell and filesystem access as the server process's user, including on hosted servers.** Atomic's default coding tools, subagents, MCP servers, web access, extensions, skills, and prompt templates load beside Chopin's document tools. Only `intercom` and direct mutating calls on the Planner's own read-only turns are withheld, while background summary and research workers stay isolated. Use `copilot-sdk` if you want strict isolation. @@ -380,7 +380,7 @@ Paired machines run every agent and Planner inside an NVX microVM (see [Agents i - Machines require x86_64 Linux (KVM or MSHV) or x86_64 Windows (Windows Hypervisor Platform). macOS and Arm hosts cannot run Chopin work. - Servers enforce connector protocol 8 and reject older connectors with `connector-update-required` (instructing users to run `chopin update`). Unsupported machine problems display on the **Machines** page (`machines.vm_problem`, migration 051). -- On first connect, a machine downloads NVX (~275 MB Linux / ~150 MB Windows, SHA-256 verified), Node.js, pinned Ubuntu packages (`git`, `curl`, and TLS libraries), and builds its agent image (for `--agent atomic`: native Atomic `0.10.23` installed via `curl`/`install.sh` plus `@bastani/atomic-acp@0.0.21`; for `--agent copilot`: `@github/copilot@1.0.114`). +- On first connect, a machine downloads NVX (~275 MB Linux / ~150 MB Windows, SHA-256 verified), Node.js, pinned Ubuntu packages (`git`, `curl`, and TLS libraries), and builds its agent image (for `--agent atomic`: native Atomic `0.10.24` installed via `curl`/`install.sh` plus `@bastani/atomic-acp@0.0.22`; for `--agent copilot`: `@github/copilot@1.0.114`). - To let sandboxed agents reach internal registries or Git mirrors, pass `--sandbox-host ` to `chopin connect` (and re-run `chopin service install` for services). ### Machine resources diff --git a/package.json b/package.json index 971f8abfb..18834aaac 100644 --- a/package.json +++ b/package.json @@ -67,9 +67,9 @@ "@ai-sdk/harness": "1.0.146", "@ai-sdk/mcp": "2.0.72", "@ai-sdk/sandbox-just-bash": "1.0.146", - "@bastani/atomic": "0.10.23", - "@bastani/atomic-ai": "0.10.23", - "@bastani/atomic-storage-postgres": "0.10.23", + "@bastani/atomic": "0.10.24", + "@bastani/atomic-ai": "0.10.24", + "@bastani/atomic-storage-postgres": "0.10.24", "ai": "7.0.135", "typebox": "1.3.7", "zod": "4.4.3" diff --git a/packages/protocol/agents.ts b/packages/protocol/agents.ts index 727596ca8..9712ffb47 100644 --- a/packages/protocol/agents.ts +++ b/packages/protocol/agents.ts @@ -103,11 +103,11 @@ export const AGENTS: readonly CodingAgent[] = [ ["npm", "install", "-g", "@bastani/atomic-acp"], ], signIn: { command: ["atomic"], afterward: "sign in with /login, then quit" }, - image: ["atomic@0.10.23", "@bastani/atomic-acp@0.0.21"], + image: ["atomic@0.10.24", "@bastani/atomic-acp@0.0.22"], imageInstall: [ - 'curl -fsSL https://raw.githubusercontent.com/bastani-inc/atomic/main/install.sh | ATOMIC_INSTALL_DIR="$npm_config_prefix/atomic" ATOMIC_BIN_DIR="$npm_config_prefix/bin" sh -s -- --ref 0.10.23', + 'curl -fsSL https://raw.githubusercontent.com/bastani-inc/atomic/main/install.sh | ATOMIC_INSTALL_DIR="$npm_config_prefix/atomic" ATOMIC_BIN_DIR="$npm_config_prefix/bin" sh -s -- --ref 0.10.24', 'ln -sfn ../atomic/current/atomic "$npm_config_prefix/bin/atomic"', - "npm install -g @bastani/atomic-acp@0.0.21", + "npm install -g @bastani/atomic-acp@0.0.22", ], imagePrograms: ["atomic"], acp: ["atomic-acp"],