@andorra-labs/code 0.1.10 → 0.1.12

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.
Files changed (238) hide show
  1. package/README.md +31 -205
  2. package/THIRD_PARTY_NOTICES.md +30 -0
  3. package/dist/src/agent-execution.js +50 -2
  4. package/dist/src/agent-mcp.js +5 -0
  5. package/dist/src/app-server/protocol.d.ts +9 -1
  6. package/dist/src/app-server/protocol.js +1 -1
  7. package/dist/src/app-server.d.ts +49 -1
  8. package/dist/src/app-server.js +353 -64
  9. package/dist/src/automation-service.js +1 -1
  10. package/dist/src/browser-panel-tool.d.ts +24 -3
  11. package/dist/src/browser-panel-tool.js +80 -6
  12. package/dist/src/browser-runner.js +3 -1
  13. package/dist/src/browser-session.d.ts +8 -0
  14. package/dist/src/browser-session.js +27 -1
  15. package/dist/src/browser-ui/app.js +237 -15
  16. package/dist/src/browser-ui/index.html +5 -5
  17. package/dist/src/browser-ui/style.css +110 -65
  18. package/dist/src/browser-ui/tokens.css +27 -26
  19. package/dist/src/browser-view.d.ts +16 -0
  20. package/dist/src/browser-view.js +38 -2
  21. package/dist/src/claude-provider.js +15 -2
  22. package/dist/src/cli.d.ts +2 -1
  23. package/dist/src/cli.js +175 -43
  24. package/dist/src/code-intelligence/CodeIntelligenceManager.js +1 -1
  25. package/dist/src/codex-provider.js +6 -3
  26. package/dist/src/coding-tools.d.ts +26 -1
  27. package/dist/src/coding-tools.js +104 -33
  28. package/dist/src/command-screens.js +1 -1
  29. package/dist/src/commands.js +1 -1
  30. package/dist/src/completion-gates.d.ts +42 -7
  31. package/dist/src/completion-gates.js +55 -9
  32. package/dist/src/completion.d.ts +51 -1
  33. package/dist/src/completion.js +164 -5
  34. package/dist/src/config.d.ts +1 -0
  35. package/dist/src/config.js +2 -0
  36. package/dist/src/dashboard-view.js +2 -2
  37. package/dist/src/deadline.js +4 -0
  38. package/dist/src/decision/PreparedSteps.js +1 -1
  39. package/dist/src/delegation-changes.js +19 -2
  40. package/dist/src/diff-preview.d.ts +1 -0
  41. package/dist/src/diff-preview.js +12 -3
  42. package/dist/src/engine-streams.d.ts +22 -0
  43. package/dist/src/engine-streams.js +16 -0
  44. package/dist/src/extensions.js +17 -6
  45. package/dist/src/file-read-key.d.ts +8 -0
  46. package/dist/src/file-read-key.js +12 -0
  47. package/dist/src/graph-editor-session.js +2 -1
  48. package/dist/src/graph-health.d.ts +21 -0
  49. package/dist/src/graph-health.js +46 -0
  50. package/dist/src/graph-manager-chat.d.ts +52 -3
  51. package/dist/src/graph-manager-chat.js +62 -17
  52. package/dist/src/graph-runner.js +62 -5
  53. package/dist/src/graph-server.d.ts +1 -1
  54. package/dist/src/graph-server.js +48 -27
  55. package/dist/src/graph-sync.d.ts +8 -0
  56. package/dist/src/graph-sync.js +54 -3
  57. package/dist/src/graph-tool.js +1 -1
  58. package/dist/src/graph-ui/app.js +362 -123
  59. package/dist/src/graph-ui/controls.css +95 -22
  60. package/dist/src/graph-ui/controls.js +31 -1
  61. package/dist/src/graph-ui/embed.js +62 -13
  62. package/dist/src/graph-ui/icons.js +7 -0
  63. package/dist/src/graph-ui/index.html +4 -4
  64. package/dist/src/graph-ui/manager-state.js +143 -5
  65. package/dist/src/graph-ui/manager.css +21 -20
  66. package/dist/src/graph-ui/manager.js +337 -75
  67. package/dist/src/graph-ui/model-picker.js +279 -0
  68. package/dist/src/graph-ui/provider-glyphs/alibaba-cloud.png +0 -0
  69. package/dist/src/graph-ui/provider-glyphs/anthropic.png +0 -0
  70. package/dist/src/graph-ui/provider-glyphs/aws-bedrock.png +0 -0
  71. package/dist/src/graph-ui/provider-glyphs/claude.png +0 -0
  72. package/dist/src/graph-ui/provider-glyphs/deepseek.png +0 -0
  73. package/dist/src/graph-ui/provider-glyphs/fireworks.png +0 -0
  74. package/dist/src/graph-ui/provider-glyphs/kimi.png +0 -0
  75. package/dist/src/graph-ui/provider-glyphs/minimax.png +0 -0
  76. package/dist/src/graph-ui/provider-glyphs/openai.png +0 -0
  77. package/dist/src/graph-ui/provider-glyphs/opencode.png +0 -0
  78. package/dist/src/graph-ui/provider-glyphs/openrouter.png +0 -0
  79. package/dist/src/graph-ui/provider-glyphs/xai.png +0 -0
  80. package/dist/src/graph-ui/provider-glyphs/xiaomi-mimo.png +0 -0
  81. package/dist/src/graph-ui/provider-glyphs/zai.png +0 -0
  82. package/dist/src/graph-ui/skill-picker.js +1 -1
  83. package/dist/src/graph-ui/studio-canvas.js +8 -8
  84. package/dist/src/graph-ui/studio.css +18 -15
  85. package/dist/src/graph-ui/studio.js +92 -35
  86. package/dist/src/graph-ui/style.css +122 -79
  87. package/dist/src/graph-ui/theme.js +2 -2
  88. package/dist/src/graph-ui/tokens.css +33 -29
  89. package/dist/src/graphs.d.ts +5 -2
  90. package/dist/src/graphs.js +10 -9
  91. package/dist/src/mcp.d.ts +52 -14
  92. package/dist/src/mcp.js +285 -128
  93. package/dist/src/membership-errors.d.ts +7 -1
  94. package/dist/src/membership-errors.js +9 -3
  95. package/dist/src/memory/ProjectMemory.d.ts +77 -0
  96. package/dist/src/memory/ProjectMemory.js +310 -0
  97. package/dist/src/memory/index.d.ts +1 -0
  98. package/dist/src/memory/index.js +1 -0
  99. package/dist/src/opencode-provider.js +5 -6
  100. package/dist/src/package-name.d.ts +3 -0
  101. package/dist/src/package-name.js +3 -0
  102. package/dist/src/provider-engine.js +2 -2
  103. package/dist/src/pull-requests.d.ts +42 -6
  104. package/dist/src/pull-requests.js +11 -3
  105. package/dist/src/qa/runtime/PtyManager.js +2 -1
  106. package/dist/src/react-runtime.js +137 -22
  107. package/dist/src/read-document-doc.d.ts +20 -0
  108. package/dist/src/read-document-doc.js +524 -0
  109. package/dist/src/read-document-docx.d.ts +21 -0
  110. package/dist/src/read-document-docx.js +584 -0
  111. package/dist/src/read-document-text.d.ts +29 -0
  112. package/dist/src/read-document-text.js +67 -0
  113. package/dist/src/read-document-tool.d.ts +48 -0
  114. package/dist/src/read-document-tool.js +162 -0
  115. package/dist/src/read-document.d.ts +78 -0
  116. package/dist/src/read-document.js +353 -0
  117. package/dist/src/read-image.d.ts +29 -2
  118. package/dist/src/read-image.js +42 -17
  119. package/dist/src/remote/cert.d.ts +1 -1
  120. package/dist/src/remote/cert.js +2 -7
  121. package/dist/src/remote/client.js +1 -1
  122. package/dist/src/remote/pem.d.ts +6 -0
  123. package/dist/src/remote/pem.js +11 -0
  124. package/dist/src/run-records.js +49 -10
  125. package/dist/src/runtime.d.ts +21 -0
  126. package/dist/src/runtime.js +10 -1
  127. package/dist/src/session-changes.d.ts +6 -1
  128. package/dist/src/session-changes.js +13 -5
  129. package/dist/src/sessions.d.ts +3 -1
  130. package/dist/src/sessions.js +5 -3
  131. package/dist/src/side-panel.d.ts +6 -1
  132. package/dist/src/side-panel.js +12 -10
  133. package/dist/src/sign-in-detection.d.ts +82 -0
  134. package/dist/src/sign-in-detection.js +197 -0
  135. package/dist/src/sign-in-offer.d.ts +35 -0
  136. package/dist/src/sign-in-offer.js +116 -0
  137. package/dist/src/skills/bundled/create-skill/SKILL.md +1 -1
  138. package/dist/src/skills/bundled/diagram/SKILL.md +1 -1
  139. package/dist/src/skills/bundled/graph-manager/SKILL.md +59 -7
  140. package/dist/src/skills/bundled/graph-manager/patterns.md +27 -0
  141. package/dist/src/skills/bundled/provenance.json +4 -4
  142. package/dist/src/skills/runtime-skills.d.ts +6 -0
  143. package/dist/src/skills/runtime-skills.js +16 -3
  144. package/dist/src/stall-recovery.d.ts +6 -2
  145. package/dist/src/stall-recovery.js +7 -2
  146. package/dist/src/stray-files.d.ts +14 -0
  147. package/dist/src/stray-files.js +81 -0
  148. package/dist/src/subagent-run.js +6 -1
  149. package/dist/src/terminal-ui.d.ts +1 -1
  150. package/dist/src/terminal-ui.js +11 -5
  151. package/dist/src/time-limit.d.ts +53 -0
  152. package/dist/src/time-limit.js +79 -0
  153. package/dist/src/tool-activity.js +1 -1
  154. package/dist/src/tool-schema-compatibility.d.ts +7 -2
  155. package/dist/src/tool-schema-compatibility.js +8 -4
  156. package/dist/src/tools.js +92 -7
  157. package/dist/src/transcript.d.ts +5 -0
  158. package/dist/src/transcript.js +12 -4
  159. package/dist/src/types.d.ts +8 -0
  160. package/dist/src/untracked-file-removal.d.ts +3 -0
  161. package/dist/src/untracked-file-removal.js +125 -0
  162. package/dist/src/update-check.js +1 -1
  163. package/dist/src/update.d.ts +11 -1
  164. package/dist/src/update.js +27 -5
  165. package/dist/src/usage-analytics.d.ts +3 -1
  166. package/dist/src/usage-analytics.js +16 -2
  167. package/dist/src/workspace-git-metadata.d.ts +15 -0
  168. package/dist/src/workspace-git-metadata.js +50 -1
  169. package/dist/src/workspace-instructions.js +1 -1
  170. package/package.json +6 -26
  171. package/docs/README.md +0 -36
  172. package/docs/agents/README.md +0 -62
  173. package/docs/agents/install-for-agents.md +0 -56
  174. package/docs/agents/mcp-server.md +0 -212
  175. package/docs/agents/subagent-mode.md +0 -149
  176. package/docs/concepts/README.md +0 -47
  177. package/docs/concepts/jev-actionable-routing.md +0 -113
  178. package/docs/concepts/jev-decision-thresholds.md +0 -412
  179. package/docs/concepts/jev-efficiency.md +0 -217
  180. package/docs/concepts/jev-eval-2026-11-01.md +0 -78
  181. package/docs/concepts/limits.md +0 -52
  182. package/docs/concepts/memory.md +0 -10
  183. package/docs/concepts/security.md +0 -50
  184. package/docs/concepts/workspace-instructions.md +0 -29
  185. package/docs/getting-started/README.md +0 -82
  186. package/docs/getting-started/accounts.md +0 -78
  187. package/docs/getting-started/configure-providers.md +0 -132
  188. package/docs/guides/README.md +0 -13
  189. package/docs/guides/browser.md +0 -39
  190. package/docs/guides/desktop-app.md +0 -414
  191. package/docs/guides/extensions.md +0 -102
  192. package/docs/guides/graph-builder.md +0 -116
  193. package/docs/guides/headless.md +0 -46
  194. package/docs/guides/tui.md +0 -75
  195. package/docs/guides/update.md +0 -70
  196. package/docs/guides/web-search.md +0 -51
  197. package/docs/guides/windows-code-signing.md +0 -319
  198. package/docs/llms.txt +0 -45
  199. package/docs/reference/README.md +0 -7
  200. package/docs/reference/cli.md +0 -76
  201. package/docs/reference/config.md +0 -91
  202. package/docs/reference/slash-commands.md +0 -59
  203. package/docs/superpowers/plans/2026-11-01-claude-console-sign-in.md +0 -111
  204. package/docs/superpowers/plans/2026-11-01-jev-node-opt-in.md +0 -910
  205. package/docs/superpowers/plans/2026-11-02-workflow-pane.md +0 -398
  206. package/docs/superpowers/plans/2026-11-06-graph-soft-delete.md +0 -125
  207. package/docs/superpowers/plans/2026-11-09-orchestrator-delegation.md +0 -295
  208. package/docs/superpowers/plans/2026-11-13-graph-manager-chat.md +0 -203
  209. package/docs/superpowers/plans/2026-11-14-jev-fair-use-pricing.md +0 -79
  210. package/docs/superpowers/specs/2026-10-31-work-line-summary-design.md +0 -50
  211. package/docs/superpowers/specs/2026-11-01-claude-console-sign-in-design.md +0 -176
  212. package/docs/superpowers/specs/2026-11-01-jev-node-opt-in-design.md +0 -164
  213. package/docs/superpowers/specs/2026-11-01-pr-section-design.md +0 -111
  214. package/docs/superpowers/specs/2026-11-02-workflow-pane-design.md +0 -130
  215. package/docs/superpowers/specs/2026-11-06-bundled-skills-design.md +0 -206
  216. package/docs/superpowers/specs/2026-11-09-orchestrator-delegation-design.md +0 -291
  217. package/docs/superpowers/specs/2026-11-13-graph-manager-chat-design.md +0 -182
  218. package/docs/superpowers/specs/2026-11-14-jev-fair-use-pricing-design.md +0 -156
  219. package/scripts/jev-efficiency-eval.mjs +0 -187
  220. package/scripts/jev-efficiency-live.mjs +0 -193
  221. package/scripts/zcode-engine-replay.mjs +0 -223
  222. package/tests/agent-centric-mcp-test-plan.md +0 -208
  223. package/tests/analytics-settings-test-plan.md +0 -165
  224. package/tests/browser-cli-smoke.mjs +0 -276
  225. package/tests/browser-test-plan.md +0 -280
  226. package/tests/chat-side-panel-test-plan.md +0 -309
  227. package/tests/decision-engine-test-plan.md +0 -163
  228. package/tests/default-active-jev-test-plan.md +0 -85
  229. package/tests/harness-extensions-test-plan.md +0 -113
  230. package/tests/jev-all-decisions-test-plan.md +0 -156
  231. package/tests/jev-efficiency/criteria.json +0 -158
  232. package/tests/jev-efficiency/workloads.mjs +0 -242
  233. package/tests/jev-efficiency-test-plan.md +0 -198
  234. package/tests/permissions-sandbox-probe.mjs +0 -74
  235. package/tests/permissions-test-plan.md +0 -191
  236. package/tests/product-telemetry-test-plan.md +0 -536
  237. package/tests/thinking-stream-preview-test-plan.md +0 -136
  238. package/tests/zcode-react-engine-test-plan.md +0 -396
@@ -1,136 +0,0 @@
1
- # Thinking stream preview — QA test plan
2
-
3
- > **Superseded in part (2026-10-31).** The TUI no longer takes mouse reporting, so clicks
4
- > never reach the app: the thinking preview toggles with Ctrl+Y only and its control row
5
- > reads `ctrl+y`. Click steps below (TP2, TP3) describe the previous behavior; see
6
- > [`tui-selection-without-mouse-capture-test-plan.md`](tui-selection-without-mouse-capture-test-plan.md).
7
-
8
- ## Scope and prerequisites
9
-
10
- **Purpose.** While the model streams its reasoning (`reasoning_content`, DeepSeek-style), the
11
- interactive terminal shows a live preview that always reflects the latest thinking. Every new
12
- stream opens as a fixed six-row reasoning window; clicking it or pressing Ctrl+Y collapses it to
13
- one line for the rest of that stream, and the next stream opens expanded again. A
14
- separate elapsed-time / `ctrl+y or click` control row is pinned directly beneath those reasoning
15
- rows, and the whole thinking block stays above the Todo panel.
16
-
17
- **Affected workflows.**
18
-
19
- - Interactive TUI runs (`andorra` with no `--prompt`) against an **OpenAI-compatible** provider
20
- whose model emits `reasoning_content` while streaming (DeepSeek `deepseek-reasoner`, local
21
- servers exposing DeepSeek-R1-style reasoning: LM Studio, vLLM with the deepseek reasoning
22
- parser, llama.cpp builds that emit `reasoning_content`).
23
- - Not affected: Anthropic-type providers, Codex providers, headless `--prompt` runs, graph
24
- server runs, subagent (Explore/parallel copy) inference. These never stream reasoning; they
25
- behave exactly as before.
26
-
27
- **Setup.**
28
-
29
- 1. Build the CLI from this branch: `npm ci && npm run build`.
30
- 2. Configure a provider that streams reasoning, e.g. DeepSeek:
31
- `andorra` → `/providers` → add `https://api.deepseek.com/v1` with `deepseek-reasoner`, or a
32
- local LM Studio/vLLM endpoint with a reasoning model.
33
- 3. Run `andorra` in a real terminal (Windows Terminal, GNOME Terminal, iTerm2, or similar) —
34
- not a piped stdio, which cannot render the TUI.
35
-
36
- ## How to use the feature
37
-
38
- 1. Submit any task that makes the model think (e.g. "Explain how the runtime aborts a run").
39
- 2. While the model is reasoning, a dim line appears above the composer where the
40
- `Working · …s` shimmer was: `◌ <latest line of reasoning> · <elapsed>s · ctrl+y or click`.
41
- The text keeps updating as reasoning arrives; it always shows the most recent line.
42
- 3. The six-row reasoning view is open by default. Up to six rows of the reasoning tail are
43
- shown, the `◌` marker on the first row that holds reasoning, followed by a separate stable
44
- `◌ <elapsed> · ctrl+y or click` row. If Todo progress is visible, the complete thinking block
45
- remains above it.
46
- 4. Collapse it to one line: click the block, or press Ctrl+Y. Click or Ctrl+Y again reopens it.
47
- A collapse lasts only for the current stream.
48
- 5. When the model's call finishes (answer or tool call), the preview disappears. The mouse
49
- stays captured for the whole session (see
50
- [`tui-wheel-scrolls-panel-test-plan.md`](tui-wheel-scrolls-panel-test-plan.md)), so
51
- selecting text uses the terminal's selection bypass — Shift-drag on Windows/Linux
52
- terminals and in iTerm2, or View ▸ Allow Mouse Reporting (⌘R) on Apple's Terminal.app —
53
- during and after the stream alike.
54
-
55
- **Reset/cleanup.** No persistent state. `/clear` or restarting the CLI resets everything.
56
-
57
- ## Test cases and expected results
58
-
59
- | # | Case | Steps | Expected |
60
- |---|------|-------|----------|
61
- | TP1 | Opens expanded | Submit a reasoning task; watch the block above the composer | Preview appears only while reasoning streams, already expanded: up to six reasoning rows with the newest at the bottom, then the elapsed/disclosure control row; elapsed timer keeps ticking |
62
- | TP2 | Click collapses | Click any row of the expanded block | One preview line showing the latest reasoning, with the control row beneath; transcript above regains the rows |
63
- | TP3 | Click expands | Click the collapsed preview line | Back to the six-row window |
64
- | TP4 | Keyboard toggle | Press Ctrl+Y, then Ctrl+Y again | Same as TP2/TP3; works even in terminals whose clicks never reach the app |
65
- | TP5 | Preview retracts | Let the model call finish | The `◌` preview disappears; the next turn shows the normal working shimmer |
66
- | TP6 | Retry resets the preview | Force a provider 429/500 mid-stream (or stop/start a local server during a request) | The retry notice prints; the preview restarts from the new attempt's reasoning, never appends the failed attempt's text |
67
- | TP7 | Non-reasoning model | Run the same task on a non-reasoning model (e.g. `deepseek-chat`) | No preview; ordinary `Working` line; response behaves as before |
68
- | TP8 | Selection with the mouse captured | While streaming, select and copy transcript text through the terminal's selection bypass (Shift-drag; ⌘R on Apple's Terminal.app); repeat after the call completes | Selection/copy works the same way during and after the stream — capture is held for the whole session, so both windows need the bypass and neither releases it |
69
- | TP9 | Wheel scroll during a stream | Scroll the wheel while the preview is live | Transcript scrolls back exactly as before (Page Down returns to the tail) |
70
- | TP10 | Whole-JSON fallback | Point the provider at a server that ignores `stream` (returns plain JSON) | Run completes normally; no preview; no error |
71
- | TP11 | `stream_options` rejected | Server that 400s unknown body fields (some llama.cpp/Ollama builds) | Request transparently retried unstreamed; run completes; no preview |
72
- | TP12 | Tiny terminal | Resize to ~10 rows during a stream | Preview collapses to one row or vanishes; no layout corruption; restore size brings it back |
73
- | TP13 | Steering during a stream | Type a steer and press Enter while reasoning streams | Steer is queued as usual; preview unaffected; input cursor stays in the composer |
74
- | TP14 | Usage accounting | Run `/usage` after a streamed turn | Request/token counts match the provider's final-chunk usage; no double counting |
75
- | TP15 | Thinking / Todo ordering | During a reasoning stream with a populated Todo list, expand the thinking preview | Newest reasoning is readable above the stable timestamp/control row; the Todo heading/items are below the entire thinking block and never split the trace from its controls |
76
-
77
- ## Edge cases and potential bugs
78
-
79
- - **Very long reasoning:** only the last 4,000 characters are retained for rendering; the
80
- preview keeps working without memory growth. Suspected risk only — no reproduction.
81
- - **Token firehose:** repaints are throttled to ~80 ms; a local model emitting hundreds of
82
- chunks per second must not peg the CPU. Suspected risk only.
83
- - **Reasoning with blank lines:** the collapsed line skips trailing blank lines and shows the
84
- last nonempty one.
85
- - **Control characters in reasoning:** stripped by the same `clean()` path all transcript text
86
- uses.
87
- - **Concurrent root calls:** subagent inference never streams into the preview (the CLI wrapper
88
- drops `subagentId` calls), and any call that arrives while another previewing call is in
89
- flight is suppressed the same way, so parallel modifier copies and concurrent graph branches
90
- cannot interleave thinking in one preview line.
91
- - **Stream ends before a finish reason:** a body that closes cleanly without completing the
92
- choice is retried exactly like a dropped connection, not failed as malformed.
93
- - **Connection held open after `[DONE]`:** reading stops at the terminator, so a server that
94
- keeps the SSE connection open cannot turn a finished call into a timeout and a billed retry.
95
- - **Empty streamed completion:** a choice with `content: ""` and `finish_reason: "stop"` stays
96
- a valid (empty) answer for the runtime's bounded completion repair, matching whole-body
97
- behavior.
98
- - **Wheel scrolling:** the mouse is captured for the whole session, so SGR wheel reports
99
- scroll the transcript during the stream, after it ends, and while the preview is
100
- expanded; wheel scrolling never recalls input history.
101
- - **Terminal without SGR mouse reporting:** clicks do nothing; Ctrl+Y remains the toggle.
102
- - **Stream cut mid-flight:** retried as the same request; already-visible reasoning from the
103
- failed attempt is replaced by the retry's stream.
104
- - **Response > 4 MiB reassembled:** the same cap as whole-body requests aborts the stream with
105
- the standard "exceeds the 4 MiB limit" error.
106
-
107
- ## Gaps and limitations
108
-
109
- - OpenRouter-style `reasoning` (not `reasoning_content`) deltas are not surfaced; the preview
110
- relies on the same field the whole-body path reads.
111
- - Anthropic extended thinking is not configured by this feature; Anthropic providers never
112
- stream reasoning here.
113
- - The QA cases above were not yet executed against a live reasoning provider (TP1–TP14 are
114
- pending manual QA); automated coverage below is the executed evidence.
115
- - Mouse capture is held for the whole session (since 2026-10-06, see
116
- [`tui-wheel-scrolls-panel-test-plan.md`](tui-wheel-scrolls-panel-test-plan.md)); the
117
- terminal's own click-selection is unavailable throughout and selecting text uses the
118
- terminal's selection bypass. This is the documented trade for wheel scrolling that
119
- never recalls history and for click-to-expand disclosures.
120
-
121
- ## Validation evidence
122
-
123
- - `npx tsc --noEmit` — clean.
124
- - `npm test` — providers: 36 passing including 9 streaming cases (delta forwarding,
125
- chunk-boundary reassembly, tool-call fragment assembly, truncation, clean-truncation and
126
- empty-stream retry, empty-completion validity, `[DONE]` on a held-open connection,
127
- mid-stream retry, `stream_options` 400 fallback, non-4xx surfacing); terminal-ui: 88
128
- passing including 3 new preview cases (live tail, Ctrl+Y expand/collapse
129
- to six rows, SGR click toggle with inert outside clicks; the capture/release assertion
130
- this run originally checked was superseded on 2026-10-06 by session-wide capture — the
131
- terminal-ui suite now asserts capture is held from startup and never released).
132
- - Full suite compared against the same tree without this change: identical failure set
133
- (36 pre-existing local failures on this Windows host, unchanged by the feature).
134
- - Environment: Windows 11, Node 22, Git Bash; worktree `Andorra-Code-thinking-preview`.
135
- - 2026-09-22 layout regression: automated terminal coverage now asserts `reasoning tail → timestamp/control row → Todo` ordering for the expanded preview. This connector-only change did not execute the repository commands locally; CI/manual execution is pending.
136
- - Pending: TP1–TP15 manual execution against DeepSeek/LM Studio; Windows Terminal click check.