@chipschat/acp 1.0.2 → 1.0.4

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
@@ -158,10 +158,30 @@ minutes and loaded again with its memory. Fourteen runs, none failed, $0.35, all
158
158
  The agent is offered no file system and no terminal: it works with its own tools, under its own
159
159
  permissions, and each permission it asks for is an approval card.
160
160
 
161
+ ### What Chips shows on an agent's page
162
+
163
+ The bridge says `context` (Claude Code and Codex) and `context_windows` (every kind) in its hello,
164
+ and sends each agent's copies when it starts and as they change. Chips draws them where the
165
+ harness is granted `context_files` and `context_windows`.
166
+
167
+ | Chips | Claude Code | Codex | Another kind |
168
+ |---|---|---|---|
169
+ | Context: its own files | its folder's `CLAUDE.md`, and `CLAUDE.local.md`, `.claude/CLAUDE.md` and `.claude/rules/*.md` where they are; its memory, `~/.claude/projects/<its folder>/memory/MEMORY.md`, which Claude Code writes too. A person may change each, and one not there yet shows empty | its folder's `AGENTS.override.md`, else its `AGENTS.md`; a person may change it | none |
170
+ | Context: shared | `~/chips-acp/claude-code/CLAUDE.md`, read by every agent, changed on the harness's page; files above the agents' folders and `~/.claude/CLAUDE.md`, shown and not changed, since they aren't only these agents' | `~/.codex/AGENTS.override.md`, else `~/.codex/AGENTS.md`, shown and not changed | none |
171
+ | When it reads them | when a session starts; an edit closes the agent's sessions before its next turn and loads them again, so it applies from the next message | the same | |
172
+ | Context window | `usage_update` of the agent's session that said last; the window from the update that ends a turn (it carries the cost), as one before may be a default | `usage_update` | `usage_update` |
173
+ | Compact now | `/compact` said to that session as a turn of its own, after any turn going there; its words go nowhere; from and to from its tool call's `rawOutput` | the same; to from the `usage_update` it sends as it finishes | where it lists `compact` among its commands |
174
+ | Its limit | its own from `autoCompactWindow` in its settings (`modelSettings` per model), about 33,000 tokens short of it; a pick from Chips goes in each session's `_meta.claudeCode.options.settings`, never in a file; `CLAUDE_CODE_AUTO_COMPACT_WINDOW` beats both, and the limit can't be changed then | the bridge's: after a turn that ends at or past it, the bridge compacts that session; off unless picked | as Codex, where it has `compact` |
175
+
176
+ An edit is saved only if the file is still what the person read; otherwise it is refused as changed.
177
+ The bridge's own Codex adapter runs with `project_doc_max_bytes` at 64 KiB in `CODEX_CONFIG`, laid
178
+ over Codex's own config for each session it starts, so Codex reads all of a file Chips lets a person
179
+ write (32 KiB unless set).
180
+
161
181
  ## Not built yet
162
182
 
163
183
  From the plan's Phase 4: agents over WebSocket (`goose serve`); `follows_rooms`; models and effort
164
- from `configOptions`; context files; the bridge's own MCP server (reminders, ask a person) and heartbeats; sub-agents as lanes; free-text form fields; approval scopes limited to the
184
+ from `configOptions`; the bridge's own MCP server (reminders, ask a person) and heartbeats; sub-agents as lanes; free-text form fields; approval scopes limited to the
165
185
  agent's options (a wire change, Phase 6).
166
186
 
167
187
  ## Tests
@@ -174,7 +194,9 @@ A scripted ACP agent (`test/fake-agent.ts`), in process and as a child process,
174
194
  conformance kit's fake Chips, which checks every event against the protocol's schemas; and the kit's
175
195
  golden scenario with the +, Add and Fork, which
176
196
  `chips conformance custom --capabilities agents,new_spaces,new_agents,forks,restarts` runs live:
177
- Lives in Chips 5 of 6.
197
+ Lives in Chips 5 of 6. Run as Claude Code with `context_files` and `context_windows` besides, the
198
+ kit's settings checks pass: Managed from Chips 2 of 5. `test/settings.test.ts` plays the files and
199
+ the windows of each kind, from a home of its own.
178
200
 
179
201
  ```bash
180
202
  npm run e2e
@@ -1,6 +1,6 @@
1
1
  # Third-party notices
2
2
 
3
- `dist/main.js` in @chipschat/acp 1.0.2 carries these packages, bundled in. Each one's
3
+ `dist/main.js` in @chipschat/acp 1.0.4 carries these packages, bundled in. Each one's
4
4
  licence follows.
5
5
 
6
6
  ## @chipschat/harness 0.0.0 (Apache-2.0)