@bastani/atomic-acp 0.0.8 → 0.0.10
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 +4 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@ Atomic reads files, edits code, and runs commands on your machine, exactly as it
|
|
|
43
43
|
### Prerequisites
|
|
44
44
|
|
|
45
45
|
- Node.js 22 or newer (20 is the minimum).
|
|
46
|
-
- Atomic 0.9.39 or newer
|
|
46
|
+
- Atomic 0.9.39 or newer, installed and logged in to at least one model provider:
|
|
47
47
|
|
|
48
48
|
```bash
|
|
49
49
|
npm install -g @bastani/atomic
|
|
@@ -89,7 +89,7 @@ Other ways to launch it:
|
|
|
89
89
|
|
|
90
90
|
Then open the agent panel, pick **Atomic**, and start a thread.
|
|
91
91
|
|
|
92
|
-
If Atomic has no working provider login, Zed shows an **Authenticate** banner that opens Atomic in a terminal. You can run the same flow yourself with `atomic-acp --terminal-login`.
|
|
92
|
+
If Atomic has no working provider login, Zed shows an **Authenticate** banner that opens Atomic in a terminal. You can run the same flow yourself with `atomic-acp --terminal-login`. Since Atomic 0.9.42, device-code logins such as GitHub Copilot, Kimi Code and Meta show the code and wait for you to press Enter in that terminal before they open the browser and copy the code.
|
|
93
93
|
|
|
94
94
|
## What works
|
|
95
95
|
|
|
@@ -149,6 +149,7 @@ A message that starts workflows, with `/workflow <name>` or through the agent's
|
|
|
149
149
|
|
|
150
150
|
- Stopping the message (cancel in the editor) also quits the runs it started. They stay resumable with `/workflow resume <runId>`.
|
|
151
151
|
- If a run stops to wait for human input, the message stops waiting for that run and tells you. Reply in the thread and the agent can answer the prompt with its `workflow` tool.
|
|
152
|
+
- Runs that use Atomic's local worker pools (the `workflows.localWorkers` setting) run under the session's Atomic process too. Since Atomic 0.9.43, a worker that dies is replaced and its child replays from its last checkpoint, so the run can still complete. If the pool gives up, the run's tool call is marked failed and shows Atomic's error, which names the worker's log file under `worker-logs/`.
|
|
152
153
|
- Set `ATOMIC_ACP_WAIT_FOR_WORKFLOWS=0` to end the message as soon as the run starts, as before. Runs then continue in the background, and their notices stream into the thread.
|
|
153
154
|
|
|
154
155
|
Two extra commands read the workflow history Atomic keeps for the current project:
|
|
@@ -224,7 +225,7 @@ Arguments after `--` are added to every `atomic --mode rpc` that `atomic-acp` st
|
|
|
224
225
|
|
|
225
226
|
Each argument is passed to Atomic as is, without a shell. `atomic-acp` exits with an error at startup if `ATOMIC_ACP_ATOMIC_ARGS` isn't a JSON array of strings, or if an argument would take over what the adapter manages: `--mode`, `--print`, the session flags (`--session`, `--session-id`, `--session-dir`, `--session-store`, `--session-prefix`, `--storage`, `--storage-file`, `--no-session`, `--continue`, `--resume`, `--fork`, `--import`), `--export`, `--list-models`, `--help`, `--version`, or a nested `--`.
|
|
226
227
|
|
|
227
|
-
Everything else comes from Atomic itself. Provider logins, models, skills, extensions, and the session store (`sessions.storage`) use your normal Atomic settings in `~/.atomic/agent/settings.json` and `<project>/.atomic/settings.json`. Atomic's own variables, such as `ATOMIC_CODING_AGENT_DIR`, `ATOMIC_CODING_AGENT_SESSION_DIR` and `ATOMIC_STORAGE`, pass through to every Atomic process.
|
|
228
|
+
Everything else comes from Atomic itself. Provider logins, models, skills, extensions, and the session store (the `storage` or `sessions.storage` setting, including a shared database joined with `atomic storage join`) use your normal Atomic settings in `~/.atomic/agent/settings.json` and `<project>/.atomic/settings.json`. Atomic's own variables, such as `ATOMIC_CODING_AGENT_DIR`, `ATOMIC_CODING_AGENT_SESSION_DIR` and `ATOMIC_STORAGE`, pass through to every Atomic process.
|
|
228
229
|
|
|
229
230
|
## Limitations
|
|
230
231
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bastani/atomic-acp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "ACP adapter for Atomic coding agent",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Bastani, Inc.",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"zod": "^3.25.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@bastani/atomic": "0.9.
|
|
57
|
+
"@bastani/atomic": "0.9.43",
|
|
58
58
|
"@eslint/js": "^9.17.0",
|
|
59
59
|
"@types/cross-spawn": "^6.0.6",
|
|
60
60
|
"@types/node": "^22.0.0",
|
|
@@ -67,6 +67,6 @@
|
|
|
67
67
|
"typescript-eslint": "^8.18.0"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
|
-
"@bastani/atomic": ">=0.9.39
|
|
70
|
+
"@bastani/atomic": ">=0.9.39"
|
|
71
71
|
}
|
|
72
72
|
}
|