@bastani/atomic-acp 0.0.5 → 0.0.6

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
@@ -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,9 +102,11 @@ Chat and tools
102
102
 
103
103
  Sessions
104
104
 
105
- - Sessions are saved by Atomic in `~/.atomic/agent/sessions/`, so you can pick a thread back up in Zed's history or with `atomic --resume` in a terminal.
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 the Atomic session file.
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.
109
111
  - 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
112
 
@@ -159,15 +161,15 @@ Two extra commands read the workflow history Atomic keeps for the current projec
159
161
 
160
162
  On top of your Atomic prompts, skills, and extension commands, `atomic-acp` adds:
161
163
 
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` | Token, message, and cost stats plus the session file path |
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 |
164
+ | Command | What it does |
165
+ | ------------------------------ | ----------------------------------------------------- |
166
+ | `/compact [instructions]` | Compact the context, with optional instructions |
167
+ | `/autocompact on\|off\|toggle` | Turn automatic compaction on or off |
168
+ | `/session` | Session ID, token, message, and cost stats |
169
+ | `/name <name>` | Rename the session |
170
+ | `/export` | Export the session as HTML into the working directory |
171
+ | `/steering`, `/follow-up` | Show or set how queued messages are delivered |
172
+ | `/changelog` | Show the installed Atomic changelog |
171
173
 
172
174
  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
175
 
@@ -219,9 +221,9 @@ Arguments after `--` are added to every `atomic --mode rpc` that `atomic-acp` st
219
221
  { "command": "atomic-acp", "args": ["--", "--model", "openai/gpt-5.5", "-e", "/path/to/extension.ts"] }
220
222
  ```
221
223
 
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 `--`.
224
+ 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`, `--no-session`, `--continue`, `--resume`, `--fork`, `--import`), `--export`, `--list-models`, `--help`, `--version`, or a nested `--`.
223
225
 
224
- Everything else comes from Atomic itself. Provider logins, models, skills, and extensions 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` and `ATOMIC_CODING_AGENT_SESSION_DIR`, pass through to the Atomic process.
226
+ 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` and `ATOMIC_CODING_AGENT_SESSION_DIR`, pass through to the Atomic process.
225
227
 
226
228
  ## Limitations
227
229