@lucascouts/claude-agent-tui 0.17.7 → 0.17.8
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 +3 -10
- package/dist/drift-checks.js +66 -0
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ This project bridges the two: it drives the **official Claude Code TUI** over a
|
|
|
26
26
|
|
|
27
27
|
- The **`claude` CLI** (Claude Code subscription) available on your `PATH`.
|
|
28
28
|
- **Node.js ≥ 24** — the runtime and test suite use native TypeScript type-stripping (`node --experimental-strip-types`). Raising this floor from the previous `>=20` is a **breaking change** for consumers still on Node 20–23.
|
|
29
|
-
- **SDK lines** — the ACP TypeScript SDK 2.x (`@agentclientprotocol/sdk` 2.
|
|
29
|
+
- **SDK lines** — the ACP TypeScript SDK 2.x (`@agentclientprotocol/sdk` 2.12.0, its `/unstable` entry; ACP protocol v1 on the wire) and `@anthropic-ai/claude-agent-sdk` 0.3.332. This fork drives the `claude` CLI installed on the host, not the one the SDK bundles.
|
|
30
30
|
|
|
31
31
|
> **Why 24, and not upstream's `>=22`?** The floor is a support policy, not a measured minimum: this project targets the **active LTS** line, which is Node 24. It is verified rather than copied — a fresh clone with no host `node_modules` or `dist/`, then `npm ci` → `npm run build` → `npm test`, inside `node:24` pinned by digest `sha256:934240a162082fd8b8a2f90cd5114446443f1eba1c5378f6687167ca405e6584` (Node v24.19.0). Green in both the fork and mirror trees: 1222 tests in the fork, 1183 here, 0 failures.
|
|
32
32
|
>
|
|
@@ -74,15 +74,8 @@ npm test
|
|
|
74
74
|
|
|
75
75
|
## Release notes
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
- zod 4.6.7 (GHSA-mrhx).
|
|
80
|
-
- Fast mode is detected on any model, not only Opus.
|
|
81
|
-
- A tool call with a non-string path no longer breaks its title; Grep and Bash titles show the CLI's input aliases (`file_path`, `-l`, `-c`, `command_description`).
|
|
82
|
-
- Deleting a never-prompted, unknown or non-UUID session succeeds.
|
|
83
|
-
- `effort = "ultracode"` is accepted as deprecated and maps to effort `xhigh` plus the Ultracode switch.
|
|
84
|
-
|
|
85
|
-
The full per-commit log is [`CHANGELOG.md`](CHANGELOG.md).
|
|
77
|
+
Each release has its section in [`CHANGELOG.md`](CHANGELOG.md), newest first, and its
|
|
78
|
+
[GitHub release](https://github.com/zeo-workspace/claude-agent-tui/releases), so the notes are not repeated here.
|
|
86
79
|
|
|
87
80
|
## Supply-chain notes
|
|
88
81
|
|
package/dist/drift-checks.js
CHANGED
|
@@ -76,6 +76,72 @@ export const KNOWN_JSONL_KEYS = new Set([
|
|
|
76
76
|
"usage",
|
|
77
77
|
"toolUseResult",
|
|
78
78
|
"permissionMode",
|
|
79
|
+
// Top-level keys claude 2.1.330/2.1.331 writes that this list did not know (parity round 26):
|
|
80
|
+
// measured 2026-11-25 over 24 local transcripts, 4383 event lines, key NAMES only. Refresh the
|
|
81
|
+
// same way on a CLI bump, so the check flags what is new rather than everything since 2.1.161.
|
|
82
|
+
"advisorModel",
|
|
83
|
+
"apiBlockIndex",
|
|
84
|
+
"attachment",
|
|
85
|
+
"attributionMcpServer",
|
|
86
|
+
"attributionMcpTool",
|
|
87
|
+
"attributionPlugin",
|
|
88
|
+
"attributionSkill",
|
|
89
|
+
"compactMetadata",
|
|
90
|
+
"content",
|
|
91
|
+
"dataFlowOn",
|
|
92
|
+
"durationMs",
|
|
93
|
+
"effort",
|
|
94
|
+
"failedHookErrorIndexes",
|
|
95
|
+
"hasOutput",
|
|
96
|
+
"hookAdditionalContext",
|
|
97
|
+
"hookCount",
|
|
98
|
+
"hookErrors",
|
|
99
|
+
"hookInfos",
|
|
100
|
+
"isVisibleInTranscriptOnly",
|
|
101
|
+
"madeBy",
|
|
102
|
+
"mcpCallNotReadOnly",
|
|
103
|
+
"mcpMeta",
|
|
104
|
+
"messageCount",
|
|
105
|
+
"origin",
|
|
106
|
+
"perTurnEffort",
|
|
107
|
+
"permissionDecision",
|
|
108
|
+
"preventedContinuation",
|
|
109
|
+
"promptCacheRequested",
|
|
110
|
+
"promptSource",
|
|
111
|
+
"queueSkipAttachments",
|
|
112
|
+
"queueSkipSlashCommands",
|
|
113
|
+
"rendered",
|
|
114
|
+
"renderedBesideToolResult",
|
|
115
|
+
"renderedInHumanTurn",
|
|
116
|
+
"renderedRole",
|
|
117
|
+
"requestRef",
|
|
118
|
+
"requestSessionId",
|
|
119
|
+
"requestedModel",
|
|
120
|
+
"rowSource",
|
|
121
|
+
"sandboxed",
|
|
122
|
+
"serverClassifierContext",
|
|
123
|
+
"serverClassifierRequest",
|
|
124
|
+
"session_id",
|
|
125
|
+
"slug",
|
|
126
|
+
"sourceToolAssistantUUID",
|
|
127
|
+
"sourceToolUseID",
|
|
128
|
+
"stopReason",
|
|
129
|
+
"subtype",
|
|
130
|
+
"thinkingDisplay",
|
|
131
|
+
"thinkingDurationMs",
|
|
132
|
+
"toolDenialKind",
|
|
133
|
+
"toolEndsTurn",
|
|
134
|
+
"toolInputStreamMs",
|
|
135
|
+
"toolResultRemedy",
|
|
136
|
+
"toolUseID",
|
|
137
|
+
"turnAttributionKey",
|
|
138
|
+
"turnCompanion",
|
|
139
|
+
"turnOrigin",
|
|
140
|
+
"turnPosition",
|
|
141
|
+
"turnPromptId",
|
|
142
|
+
"wakeupSource",
|
|
143
|
+
"wireIngestContext",
|
|
144
|
+
"wireToolInputs",
|
|
79
145
|
]);
|
|
80
146
|
/** The keystroke the native TUI permission prompt accepts for Yes — mirror of allow-inject.ts:29. */
|
|
81
147
|
export const EXPECTED_ALLOW_KEYSTROKE = "1\r";
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.17.
|
|
6
|
+
"version": "0.17.8",
|
|
7
7
|
"description": "Runs the official Claude Code TUI over a PTY and exposes it via ACP, so Claude Code threads render natively in Zed's agent panel. Built for Anthropic's June 2026 billing split (since paused).",
|
|
8
8
|
"main": "dist/lib.js",
|
|
9
9
|
"types": "dist/lib.d.ts",
|
|
@@ -64,19 +64,19 @@
|
|
|
64
64
|
"node": ">=24"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@agentclientprotocol/sdk": "2.
|
|
68
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
67
|
+
"@agentclientprotocol/sdk": "2.12.0",
|
|
68
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.332",
|
|
69
69
|
"node-pty": "1.1.0",
|
|
70
70
|
"zod": "^4.0.0"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@anthropic-ai/sdk": "1.
|
|
73
|
+
"@anthropic-ai/sdk": "1.14.0",
|
|
74
74
|
"@eslint/js": "10.0.1",
|
|
75
|
-
"@types/node": "26.6.
|
|
76
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
77
|
-
"@typescript-eslint/parser": "8.
|
|
78
|
-
"eslint": "10.
|
|
79
|
-
"eslint-config-prettier": "10.1.
|
|
75
|
+
"@types/node": "26.6.11",
|
|
76
|
+
"@typescript-eslint/eslint-plugin": "8.74.0",
|
|
77
|
+
"@typescript-eslint/parser": "8.74.0",
|
|
78
|
+
"eslint": "10.16.0",
|
|
79
|
+
"eslint-config-prettier": "10.1.9",
|
|
80
80
|
"globals": "17.14.0",
|
|
81
81
|
"prettier": "3.10.1",
|
|
82
82
|
"ts-node": "10.9.2",
|