@nyssance/codex-acp-v2 0.3.4 → 0.4.0
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/CHANGELOG.md +53 -0
- package/README.md +6 -0
- package/dist/index.js +922 -217
- package/package.json +5 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.4.0 — 2026-09-10
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Skills and plugins extension surface: `_codex/skills_list`, `_codex/skills_config_write`,
|
|
8
|
+
`_codex/plugin_list`, `_codex/plugin_installed`, `_codex/plugin_install`,
|
|
9
|
+
`_codex/plugin_uninstall`, `_codex/plugin_read`, `_codex/marketplace_add`,
|
|
10
|
+
`_codex/marketplace_remove`, `_codex/marketplace_upgrade` pass the Codex v2 shapes
|
|
11
|
+
through verbatim; advertised as `capabilities._meta.codex.skills` / `.plugins`.
|
|
12
|
+
- `_codex/skills_changed` notification: forwarded from Codex `skills/changed` and sent
|
|
13
|
+
after every catalog mutation made through the adapter.
|
|
14
|
+
|
|
15
|
+
## 0.3.5 — 2026-09-07
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- Preserve completed-only messages and tool calls, apply authoritative message
|
|
20
|
+
snapshots, and share snapshot mapping between live updates and history replay.
|
|
21
|
+
- Supply required metadata on first tool updates, create terminals before tool
|
|
22
|
+
references, and finalize unfinished tools and terminals before reporting idle.
|
|
23
|
+
- Handle steering/completion races, externally started turns, active-session
|
|
24
|
+
recovery, and stale item notifications without duplicating prompts.
|
|
25
|
+
- Cancel session-open requests promptly and clean up late-created sessions;
|
|
26
|
+
bound close and unsubscribe waits and prevent reopening during pending cleanup.
|
|
27
|
+
- Make provider changes transactional across open sessions, retain configuration,
|
|
28
|
+
and reject unsafe changes before mutation when history cannot be resumed.
|
|
29
|
+
- Drain dispatched messages before reporting transport closure, handle write
|
|
30
|
+
backpressure and failures, and redact credentials from diagnostics.
|
|
31
|
+
- Launch the native Codex executable directly from compiled adapters and correctly
|
|
32
|
+
encode file URLs containing spaces, Unicode, or platform-specific paths.
|
|
33
|
+
|
|
34
|
+
### Improved
|
|
35
|
+
|
|
36
|
+
- Cache model catalogs with expiry and account/provider invalidation, refresh
|
|
37
|
+
account state during session creation, and avoid redundant startup requests.
|
|
38
|
+
- Serialize foreground skill-root selection through turn-start acknowledgement;
|
|
39
|
+
cache skill snapshots and avoid refresh loops from skill-change notifications.
|
|
40
|
+
Autonomous and subagent turn starts remain outside this foreground guarantee.
|
|
41
|
+
- Parse large fragmented JSON frames without repeatedly rescanning accumulated
|
|
42
|
+
input. Limit duplicated command output in `rawOutput` to 16,384 UTF-16 code
|
|
43
|
+
units while retaining full output in terminal snapshots or tool content.
|
|
44
|
+
|
|
45
|
+
### Validation
|
|
46
|
+
|
|
47
|
+
- Add ACP v2 schema/reducer conformance checks and real-stdio tests for source and
|
|
48
|
+
compiled executables; configure Linux, macOS, and Windows CI coverage.
|
|
49
|
+
- Pass 206 local behavior/unit tests and six real Codex E2E tests.
|
|
50
|
+
- Add opt-in large-frame and streaming benchmarks, plus an isolated bridge soak
|
|
51
|
+
covering 5,000 turns, 500,000 chunks, and 1,000 interrupted outcomes.
|
|
52
|
+
- Document protocol guarantees and reproducible measurement scope in
|
|
53
|
+
`docs/protocol.md` and `docs/quality-evidence.md`.
|
package/README.md
CHANGED
|
@@ -21,6 +21,12 @@ compatibility layer: everything is written against `@agentclientprotocol/sdk/exp
|
|
|
21
21
|
hiding is the `_codex/session_archive` / `_codex/session_unarchive` extension pair
|
|
22
22
|
(declared as `capabilities._meta.codex.archive`), and `session/list` pages the archive
|
|
23
23
|
when called with `_meta: {codex: {archived: true}}`.
|
|
24
|
+
- **Skills and plugins**: `_codex/skills_list`, `_codex/skills_config_write`,
|
|
25
|
+
`_codex/plugin_list` / `_codex/plugin_installed` / `_codex/plugin_install` /
|
|
26
|
+
`_codex/plugin_uninstall` / `_codex/plugin_read` and `_codex/marketplace_add` /
|
|
27
|
+
`_codex/marketplace_remove` / `_codex/marketplace_upgrade` pass Codex's own request
|
|
28
|
+
and response shapes through (declared as `capabilities._meta.codex.skills` / `.plugins`);
|
|
29
|
+
`_codex/skills_changed` tells the client to refetch either catalog.
|
|
24
30
|
- **Asynchronous prompts**: `session/prompt` returns immediately; the turn is
|
|
25
31
|
reported through `state_update` frames (`running`, `requires_action` while a
|
|
26
32
|
permission or form is open, `idle` with `stopReason` and token `usage`).
|