@bastani/atomic-acp 0.0.5 → 0.0.7
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 +17 -14
- package/dist/index.js +273 -478
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
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 installed and logged in to at least one model provider:
|
|
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
|
|
@@ -102,10 +102,13 @@ Chat and tools
|
|
|
102
102
|
|
|
103
103
|
Sessions
|
|
104
104
|
|
|
105
|
-
-
|
|
105
|
+
- Atomic saves every session in its own session store (by default its local database), so you can pick a thread back up in Zed's history or with `atomic --resume` in a terminal.
|
|
106
|
+
- The editor's thread history lists the project's sessions the way Atomic's `/resume` does: newest first, leaving out sessions that have no messages, name or summary.
|
|
106
107
|
- Threads get a title from your first message. Renaming in Atomic updates the title in the editor.
|
|
107
|
-
- Deleting a thread in the editor deletes
|
|
108
|
+
- Deleting a thread in the editor deletes its session from Atomic's session store.
|
|
109
|
+
- Listing or deleting sessions of a project with no open thread briefly starts Atomic in that project to read its session store.
|
|
108
110
|
- Sessions survive an adapter restart. The next message restores the saved session.
|
|
111
|
+
- Work that a previous Atomic process left unfinished in a session, such as messages from background subagents that never reached the agent, is recovered once the session is loaded or restored: Atomic replays it in a turn that streams into the thread, as `atomic --resume` does in a terminal.
|
|
109
112
|
- If a session's Atomic process exits during a message, the message fails with an error saying how Atomic exited, and its open tool calls and workflow runs are marked failed. A message that fails never ends as a normal reply. The next message starts Atomic again on the same session, with the same MCP servers.
|
|
110
113
|
|
|
111
114
|
Models and context
|
|
@@ -159,15 +162,15 @@ Two extra commands read the workflow history Atomic keeps for the current projec
|
|
|
159
162
|
|
|
160
163
|
On top of your Atomic prompts, skills, and extension commands, `atomic-acp` adds:
|
|
161
164
|
|
|
162
|
-
| Command | What it does
|
|
163
|
-
| ------------------------------ |
|
|
164
|
-
| `/compact [instructions]` | Compact the context, with optional instructions
|
|
165
|
-
| `/autocompact on\|off\|toggle` | Turn automatic compaction on or off
|
|
166
|
-
| `/session` |
|
|
167
|
-
| `/name <name>` | Rename the session
|
|
168
|
-
| `/export` | Export the session as HTML into the working directory
|
|
169
|
-
| `/steering`, `/follow-up` | Show or set how queued messages are delivered
|
|
170
|
-
| `/changelog` | Show the installed Atomic changelog
|
|
165
|
+
| Command | What it does |
|
|
166
|
+
| ------------------------------ | ----------------------------------------------------- |
|
|
167
|
+
| `/compact [instructions]` | Compact the context, with optional instructions |
|
|
168
|
+
| `/autocompact on\|off\|toggle` | Turn automatic compaction on or off |
|
|
169
|
+
| `/session` | Session ID, token, message, and cost stats |
|
|
170
|
+
| `/name <name>` | Rename the session |
|
|
171
|
+
| `/export` | Export the session as HTML into the working directory |
|
|
172
|
+
| `/steering`, `/follow-up` | Show or set how queued messages are delivered |
|
|
173
|
+
| `/changelog` | Show the installed Atomic changelog |
|
|
171
174
|
|
|
172
175
|
Use the editor's model picker instead of `/model`, its thinking or mode picker instead of `/thinking`, and a new thread instead of `/clear`.
|
|
173
176
|
|
|
@@ -219,9 +222,9 @@ Arguments after `--` are added to every `atomic --mode rpc` that `atomic-acp` st
|
|
|
219
222
|
{ "command": "atomic-acp", "args": ["--", "--model", "openai/gpt-5.5", "-e", "/path/to/extension.ts"] }
|
|
220
223
|
```
|
|
221
224
|
|
|
222
|
-
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`, `--no-session`, `--continue`, `--resume`, `--fork`), `--export`, `--list-models`, `--help`, `--version`, or a nested `--`.
|
|
225
|
+
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 `--`.
|
|
223
226
|
|
|
224
|
-
Everything else comes from Atomic itself. Provider logins, models, skills, and
|
|
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.
|
|
225
228
|
|
|
226
229
|
## Limitations
|
|
227
230
|
|