@nyssance/codex-acp-v2 0.7.3 → 0.7.5

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 CHANGED
@@ -1,5 +1,41 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.5 — 2026-10-08
4
+
5
+ ### Added
6
+
7
+ - Chat branches and fork lineage under `_meta.codex`: `forkAtTurn` and `sessionLineage` capabilities;
8
+ `session/fork` and `session/resume` responses carry `nativeSessionId` and `forkedFromId`; session
9
+ messages carry `turnId` and `turnStartedAt` so a client can tell which turn a message came from.
10
+
11
+ ### Changed
12
+
13
+ - `@agentclientprotocol/sdk` ^1.7.0 (schema v2.0.0-alpha.7). The protocol now lets `session/new` and
14
+ `session/resume` responses carry `availableCommands` and `configOptions`; the adapter does not fill
15
+ them yet and still announces commands through `available_commands_update`. The 1.7.0 types reject a
16
+ hand-built update with an unknown tag (no `_` prefix) or a malformed known variant at compile time;
17
+ runtime validation is unchanged.
18
+
19
+ ### Fixed
20
+
21
+ - `AppServerClient` wrote a raw NUL byte into a template literal as the turn-key separator, so `file`
22
+ and `grep` treated the source as binary. It is the `\0` escape now.
23
+
24
+ ## 0.7.4 — 2026-09-30
25
+
26
+ ### Added
27
+
28
+ - `CODEX_ACP_MODEL_CATALOGS`: extra model catalog files for gateway models. Codex builds its model
29
+ table once at app-server start and ignores a per-thread `model_catalog_json`, so gateway models ran on
30
+ fallback metadata and every reply opened with "Model metadata for `…` not found". The adapter now dumps
31
+ Codex's own catalog (`codex debug models`), adds the extra entries hidden, and starts the app-server
32
+ with the merged file.
33
+
34
+ ### Changed
35
+
36
+ - Generated against Codex 0.159.2 (`@openai/codex` ^0.159.2): `tooManyDenials` turn errors are
37
+ classified `too_many_denials` (not retryable); `thread/items/list` cursors may be item anchors.
38
+
3
39
  ## 0.7.3 — 2026-09-30
4
40
 
5
41
  ### Changed
package/README.md CHANGED
@@ -91,6 +91,7 @@ adjust defaults.
91
91
  | Variable | Effect |
92
92
  | --- | --- |
93
93
  | `CODEX_PATH` | Codex executable to spawn (`codex app-server`). Default: bundled `@openai/codex`. |
94
+ | `CODEX_ACP_MODEL_CATALOGS` | Extra Codex model catalog files (`{models: [...]}`, joined with the platform path delimiter) for gateway models. Codex reads model metadata only at app-server start, so these are merged, hidden from the ChatGPT group, into Codex's own catalog there; without them a gateway model runs on fallback metadata and Codex warns on every turn. |
94
95
  | `CODEX_CONFIG` | JSON object merged into every thread's Codex config. |
95
96
  | `MODEL_PROVIDER` | Codex model provider for new threads. |
96
97
  | `INITIAL_AGENT_MODE` | `read-only`, `agent` (default), or `agent-full-access`. |