tabby-ai-tools 0.9.1 → 0.9.3

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.
Binary file
@@ -1,6 +1,6 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="1800" height="2060" viewBox="0 0 1800 2060" role="img" aria-labelledby="title desc">
2
- <title id="title">Tabby AI Tools v0.9.1 interface illustration — conditional interactive workflows, helper models, local login and API connections</title>
3
- <desc id="desc">Shared Codex/Claude CLI discovery prevents startup cancellation races; clipboard attachments with clickable thumbnails and larger image previews and native tab progress; custom instructions/private CLI session spaces and Pi configuration: native provider search, offline SDK 1.4.0 catalog, four custom protocols and Save/Discard/Copy drafts. Interface illustration, not a running screenshot. Windows default Codex discovery compares actual CLI versions across PATH and desktop/standalone installations; a stable directory limits selection to its own children. Conditional recordings preserve interaction intent; local rules run first, with an optional current-connection helper model and rebind-before-resume checkpoints. Settings use two-row connection cards and editor summaries, compact headings and full-page scrolling for connections, workflows/preferences and scheduled tasks, with no fixed-height editor. The assistant sidebar coordinates example staging database and application terminals. Connection and model controls share one compact row. Scheduled tasks, provider connections, startup opening enabled by default and twelve interface languages and the Claude Code local-login connection are shown below. Active goals continue automatically by default. Thinking and tool calls appear as collapsed conversation entries that can be expanded. Terminal reads return early after reliable shell completion. Terminal output is read on demand without automatic forwarding; a completed explicit recording and a saved workflow alias are shown. Archive status distinguishes successful checkpoints from successful persistence. Pi runtime settings show the built-in runtime and an optional Node override, host-only tools and opt-in automatic context compaction. The provider list includes Kimi and Alibaba Cloud Coding Plan connections. Custom OpenAI-compatible settings show an example Base URL, model, protocol and authentication. Version 0.9.1 example with optional Pi SDK runtime, built-in Node 22.19+, manual context compaction and structured retry waiting.</desc>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1800" height="2250" viewBox="0 0 1800 2250" role="img" aria-labelledby="title desc">
2
+ <title id="title">Tabby AI Tools interface illustration — unreleased Markdown replies, terminal tools, local login and API connections</title>
3
+ <desc id="desc">Unreleased Markdown output: assistant tables preserve column alignment, code blocks have syntax highlighting and copy buttons and wide content scrolls inside messages. Codex checks known Windows companions and recovers once at an idle boundary without replay; Claude rechecks its original CLI selector before every invocation; native Linux SSH agents use an independent PID and output-only PTY identity proof; clipboard attachments with clickable thumbnails and larger image previews and native tab progress; custom instructions/private CLI session spaces and Pi configuration: native provider search, offline SDK 1.4.0 catalog, four custom protocols and Save/Discard/Copy drafts. Interface illustration, not a running screenshot. Windows default Codex discovery compares actual CLI versions across PATH and desktop/standalone installations; a stable directory limits selection to its own children. Commands and multiline workflow scripts retain up to 10,000 characters; explicit AI decision steps return to scripted execution after judgment. Conditional recordings preserve interaction intent; local rules run first, with an optional current-connection helper model and rebind-before-resume checkpoints. Settings use two-row connection cards and editor summaries, compact headings and full-page scrolling for connections, workflows/preferences and scheduled tasks, with no fixed-height editor. The assistant sidebar coordinates example staging database and application terminals. Connection and model controls share one compact row. Scheduled tasks, provider connections, startup opening enabled by default and twelve interface languages and the Claude Code local-login connection are shown below. Active goals continue automatically by default. Thinking and tool calls appear as collapsed conversation entries that can be expanded. Terminal reads return early after reliable shell completion. Terminal output is read on demand without automatic forwarding; an example health table and a copyable code block are shown. Archive status distinguishes successful checkpoints from successful persistence. Pi runtime settings show the built-in runtime and an optional Node override, host-only tools and opt-in automatic context compaction. The provider list includes Kimi and Alibaba Cloud Coding Plan connections. Custom OpenAI-compatible settings show an example Base URL, model, protocol and authentication. v0.9.3 Markdown UI with optional Pi SDK runtime, built-in Node 22.19+, manual context compaction and structured retry waiting.</desc>
4
4
  <defs>
5
5
  <linearGradient id="background" x2="1" y2="1"><stop stop-color="#0c1622"/><stop offset="1" stop-color="#151729"/></linearGradient>
6
6
  <linearGradient id="outline"><stop stop-color="#375d5d"/><stop offset="1" stop-color="#3b3d5c"/></linearGradient>
@@ -10,12 +10,12 @@ text{font-family:"DejaVu Sans",sans-serif;fill:#e8eff9}
10
10
  .mono{font-family:"DejaVu Sans Mono",monospace}
11
11
  </style>
12
12
 
13
- <rect x="0" y="0" width="1800" height="2060" rx="24" fill="url(#background)"/>
13
+ <rect x="0" y="0" width="1800" height="2250" rx="24" fill="url(#background)"/>
14
14
  <rect x="48" y="38" width="42" height="38" rx="10" fill="#173a33" stroke="#306355"/>
15
15
  <text x="56" y="65" font-size="23" font-weight="700" style="fill:#8ae6c2" class="mono">&gt;_</text>
16
16
  <text x="106" y="66" font-size="21" font-weight="700" style="fill:#a7b8cb">TABBY AI TOOLS</text>
17
17
  <rect x="1534" y="44" width="218" height="28" rx="6" fill="#22313f"/>
18
- <text x="1544" y="64" font-size="16" font-weight="600" style="fill:#8ae6c2">v0.9.1 / Terminal fix</text>
18
+ <text x="1544" y="64" font-size="16" font-weight="600" style="fill:#8ae6c2">v0.9.3 / Markdown</text>
19
19
  <text x="48" y="134" font-size="54" font-weight="700" style="fill:#f1f6ff">Your terminals. Working together.</text>
20
20
  <text x="50" y="176" font-size="23" font-weight="400" style="fill:#a7b8cb">Codex + Claude Code + APIs + optional Pi SDK / Terminal tools / Scheduled AI tasks</text>
21
21
  <rect x="48" y="210" width="1704" height="632" rx="14" fill="#0d1520" stroke="url(#outline)"/>
@@ -41,35 +41,43 @@ text{font-family:"DejaVu Sans",sans-serif;fill:#e8eff9}
41
41
  <rect x="276" y="302" width="248" height="33" rx="5" fill="#202d40"/>
42
42
  <text x="284" y="325" font-size="14" style="fill:#e8eff9">default</text>
43
43
  <text x="390" y="325" font-size="14" style="fill:#a7b8cb">reasoning: high</text>
44
- <g transform="translate(0 -40)">
45
- <rect x="72" y="384" width="88" height="28" rx="6" fill="#344132"/>
46
- <text x="82" y="404" font-size="15" font-weight="600" style="fill:#d4e9a1">Done</text>
47
- <text x="174" y="405" font-size="15" font-weight="400" style="fill:#a7b8cb">Context —</text>
48
- <text x="290" y="405" font-size="15" font-weight="400" style="fill:#8ae6c2">Control —</text>
49
-
50
- <text x="461" y="405" font-size="14" font-weight="400" style="fill:#a7b8cb">Fwd off</text>
51
- <rect x="72" y="419" width="452" height="80" rx="8" fill="#21324b" stroke="#3b4f70"/>
52
- <text x="86" y="442" font-size="14" font-weight="600" style="fill:#b9d3f7">You</text>
53
- <text x="86" y="467" font-size="17" font-weight="400" style="fill:#e8eff9">/remember Check staging services.</text>
54
- <text x="86" y="489" font-size="17" font-weight="400" style="fill:#e8eff9">Verify database and application health.</text>
55
- <rect x="72" y="509" width="452" height="24" rx="5" fill="#1b2839" stroke="#344458"/>
56
- <text x="86" y="526" font-size="14" style="fill:#a7b8cb">› Thinking · Readable summary</text>
57
- <text x="450" y="526" font-size="12" style="fill:#8ae6c2">Ended</text>
58
- <rect x="72" y="537" width="452" height="24" rx="5" fill="#1b2839" stroke="#344458"/>
59
- <text x="86" y="554" font-size="14" style="fill:#a7b8cb">› Tool call · read_tab · staging-app</text>
60
- <text x="450" y="554" font-size="12" style="fill:#8ae6c2">Ended</text>
61
- <text x="86" y="584" font-size="15" style="fill:#e8eff9">Assistant · Checks passed; alias /pm1 saved.</text>
62
- <text x="75" y="606" font-size="15" font-weight="600" style="fill:#a7b8cb">Workflows</text>
63
- <text x="205" y="606" font-size="15" font-weight="600" style="fill:#8ae6c2">Scheduled tasks</text>
64
- <rect x="72" y="619" width="452" height="92" rx="7" fill="#1a2938" stroke="#35534f"/>
65
- <text x="85" y="644" font-size="18" font-weight="600" style="fill:#e5f3eb">Daily service health</text>
66
- <text x="85" y="667" font-size="15" font-weight="400" style="fill:#a7b8cb">Enabled · Daily 09:00 (Asia/Shanghai)</text>
67
- <text x="85" y="692" font-size="15" font-weight="400" style="fill:#8ae6c2">Run now Pause Run history</text>
68
- </g>
69
- <rect x="72" y="683" width="452" height="93" rx="7" fill="#101a27" stroke="#42546d"/>
70
- <text x="85" y="707" font-size="16" font-weight="400" style="fill:#8ca0b8">Workflow alias saved: /pm1</text>
71
- <text x="85" y="728" font-size="12" font-weight="400" style="fill:#8ca0b8">/pm1: rules first; helper for uncertain prompts.</text>
72
- <text x="85" y="754" font-size="12" style="fill:#8ca0b8">Fresh checks · Resume current step · No replay</text>
44
+ <rect x="72" y="344" width="88" height="28" rx="6" fill="#344132"/>
45
+ <text x="82" y="364" font-size="15" font-weight="600" style="fill:#d4e9a1">Done</text>
46
+ <text x="174" y="365" font-size="15" style="fill:#a7b8cb">Context —</text>
47
+ <text x="290" y="365" font-size="15" style="fill:#8ae6c2">Control —</text>
48
+ <text x="461" y="365" font-size="14" style="fill:#a7b8cb">Fwd off</text>
49
+ <rect x="72" y="379" width="452" height="60" rx="8" fill="#21324b" stroke="#3b4f70"/>
50
+ <text x="86" y="402" font-size="14" font-weight="600" style="fill:#b9d3f7">You</text>
51
+ <text x="86" y="426" font-size="16">Check staging services; verify health.</text>
52
+ <rect x="72" y="447" width="452" height="24" rx="5" fill="#1b2839" stroke="#344458"/>
53
+ <text x="86" y="464" font-size="14" style="fill:#a7b8cb">› Thinking · Readable summary</text>
54
+ <text x="450" y="464" font-size="12" style="fill:#8ae6c2">Ended</text>
55
+ <rect x="72" y="479" width="452" height="24" rx="5" fill="#1b2839" stroke="#344458"/>
56
+ <text x="86" y="496" font-size="14" style="fill:#a7b8cb">› Tool call · read_tab · staging-app</text>
57
+ <text x="450" y="496" font-size="12" style="fill:#8ae6c2">Ended</text>
58
+ <rect x="72" y="511" width="452" height="122" rx="8" fill="#172130" stroke="#344458"/>
59
+ <text x="86" y="531" font-size="14" font-weight="600">Assistant</text>
60
+ <text x="482" y="531" font-size="12" style="fill:#a7b8cb">Copy</text>
61
+ <rect x="86" y="540" width="424" height="60" rx="3" fill="#1b2839" stroke="#405067"/>
62
+ <path d="M86 560H510M86 580H510M332 540V600" stroke="#405067"/>
63
+ <text x="96" y="554" font-size="13" font-weight="600">Service</text>
64
+ <text x="344" y="554" font-size="13" font-weight="600">Status</text>
65
+ <text x="96" y="575" font-size="13">PostgreSQL</text>
66
+ <text x="344" y="575" font-size="13" style="fill:#8ae6c2">Ready</text>
67
+ <text x="96" y="595" font-size="13">Application</text>
68
+ <text x="344" y="595" font-size="13" style="fill:#8ae6c2">Ready</text>
69
+ <rect x="86" y="606" width="424" height="20" rx="3" fill="#0d1117"/>
70
+ <text x="96" y="621" font-size="12" class="mono"><tspan style="fill:#79c0ff">echo</tspan><tspan style="fill:#e6edf3"> </tspan><tspan style="fill:#a5d6ff">&quot;healthy&quot;</tspan></text>
71
+ <text x="270" y="621" font-size="11" style="fill:#8b949e">sh · syntax highlight</text>
72
+ <text x="478" y="621" font-size="11" style="fill:#a7b8cb">Copy</text>
73
+ <text x="75" y="654" font-size="15" font-weight="600" style="fill:#a7b8cb">Workflows</text>
74
+ <text x="205" y="654" font-size="15" font-weight="600" style="fill:#8ae6c2">Scheduled tasks</text>
75
+ <rect x="72" y="665" width="452" height="53" rx="7" fill="#1a2938" stroke="#35534f"/>
76
+ <text x="85" y="686" font-size="16" font-weight="600">Daily service health · Enabled</text>
77
+ <text x="85" y="709" font-size="13" style="fill:#8ae6c2">09:00 Asia/Shanghai · Run now · Run history</text>
78
+ <rect x="72" y="728" width="452" height="48" rx="7" fill="#101a27" stroke="#42546d"/>
79
+ <text x="85" y="750" font-size="14" style="fill:#8ca0b8">Summarize the checks…</text>
80
+ <text x="85" y="768" font-size="11" style="fill:#8ca0b8">Example draft · Ctrl / Cmd + Enter to send</text>
73
81
  <text x="73" y="812" font-size="14" font-weight="400" style="fill:#a7b8cb">Tools</text>
74
82
  <rect x="115" y="792" width="159" height="28" rx="6" fill="#253348"/>
75
83
  <text x="125" y="812" font-size="14" font-weight="600" style="fill:#a7b8cb">Terminal tools</text>
@@ -132,14 +140,14 @@ text{font-family:"DejaVu Sans",sans-serif;fill:#e8eff9}
132
140
  <path d="M72 1061H1071" stroke="#2b3a4d"/>
133
141
  <rect x="72" y="1068" width="240" height="42" rx="5" fill="#233246" stroke="#3c5068"/>
134
142
  <text x="84" y="1086" font-size="14" font-weight="600">Codex · Default</text>
135
- <text x="84" y="1102" font-size="12" style="fill:#a7b8cb">Local login / shared discovery</text>
143
+ <text x="84" y="1102" font-size="12" style="fill:#a7b8cb">Local login / CLI health checks</text>
136
144
  <rect x="322" y="1068" width="240" height="42" rx="5" fill="#233246" stroke="#3c5068"/>
137
145
  <text x="334" y="1086" font-size="14" font-weight="600">Claude Code</text>
138
- <text x="334" y="1102" font-size="12" style="fill:#a7b8cb">Local login / shared discovery</text>
146
+ <text x="334" y="1102" font-size="12" style="fill:#a7b8cb">Local login / per-call CLI checks</text>
139
147
  <rect x="572" y="1068" width="240" height="42" rx="5" fill="#203e36" stroke="#43866f"/>
140
148
  <text x="584" y="1086" font-size="14" font-weight="600">Example Pi connection</text>
141
149
  <text x="584" y="1102" font-size="12" style="fill:#a7b8cb">Google · gemini-2.5-flash</text>
142
- <text x="830" y="1086" font-size="14" style="fill:#a7b8cb">Workflows + helper model</text>
150
+ <text x="830" y="1086" font-size="14" style="fill:#a7b8cb">Scripted workflows + AI</text>
143
151
  <text x="830" y="1104" font-size="14" style="fill:#a7b8cb">Scheduled tasks</text>
144
152
  <text x="72" y="1125" font-size="12" style="fill:#8ca0b8">Connection drafts · Reconnect when idle to apply · Active tasks keep their snapshot</text>
145
153
  <rect x="1122" y="878" width="630" height="254" rx="12" fill="#172130" stroke="#35475c"/>
@@ -195,11 +203,16 @@ text{font-family:"DejaVu Sans",sans-serif;fill:#e8eff9}
195
203
  <text x="1110" y="1724" font-size="18" style="fill:#8ae6c2">68% · Native target-tab progress</text>
196
204
  <text x="72" y="1760" font-size="16" style="fill:#a7b8cb">SFTP → independent exec → base64 fallback · SHA-256 verification · Ask assistant for status / cancel / path</text>
197
205
  <text x="72" y="1790" font-size="15" style="fill:#a7b8cb">Upload is separate from attaching an image to Codex. Sidebar model visual input is not included.</text>
198
- <text x="49" y="2000" font-size="16" font-weight="400" style="fill:#8ca0b8">INTERFACE ILLUSTRATION · Example connections and task output; not a running screenshot.</text>
199
- <text x="49" y="2031" font-size="14" font-weight="400" style="fill:#8ca0b8">Appearance varies with your Tabby theme, window size and configured connections.</text>
206
+ <text x="49" y="2188" font-size="16" font-weight="400" style="fill:#8ca0b8">INTERFACE ILLUSTRATION · Example connections and task output; not a running screenshot.</text>
207
+ <text x="49" y="2219" font-size="14" font-weight="400" style="fill:#8ca0b8">Appearance varies with your Tabby theme, window size and configured connections.</text>
200
208
  <rect x="48" y="1830" width="1704" height="145" rx="12" fill="#172130" stroke="#35475c"/>
201
209
  <text x="72" y="1866" font-size="22" font-weight="650">Incremental output and task logs — example</text>
202
210
  <text x="72" y="1901" font-size="17" fill="#a7b8cb">Cursor pages · Wait for output / completion · Fresh screen before interaction</text>
203
211
  <text x="72" y="1934" font-size="17" fill="#8ae6c2">Settings: Save task terminal logs · Local retention · Paging and literal search</text>
204
- <text x="72" y="1960" font-size="15" fill="#a7b8cb">Ordinary terminal tools work with workflows idle · Active workflow budgets and cancellation stay enforced</text>
212
+ <text x="72" y="1960" font-size="15" fill="#a7b8cb">Workflows: full scripts up to 10,000 characters · Fixed checks run locally · AI decisions at marked steps</text>
213
+ <rect x="48" y="1994" width="1704" height="158" rx="12" fill="#172130" stroke="#35475c"/>
214
+ <text x="72" y="2029" font-size="22" font-weight="650">Native CLI recovery and Linux SSH identity — example behavior</text>
215
+ <text x="72" y="2063" font-size="17" style="fill:#a7b8cb">Codex: known companion checks · One idle-boundary rebuild · No task or tool replay</text>
216
+ <text x="72" y="2096" font-size="17" style="fill:#a7b8cb">Claude local: recheck original CLI before each invocation · Preserve session on preflight failure</text>
217
+ <text x="72" y="2129" font-size="17" style="fill:#8ae6c2">Existing Linux SSH Agent: independent PID / PTY proof before input · No restart or stdin probe</text>
205
218
  </svg>
@@ -55,3 +55,14 @@ sequenceDiagram
55
55
  Offline tests use a real child process and authenticated HTTP MCP, with simulated Claude events. They cover streaming, native resume, migration, approvals, read-only mode, durable intent, cancellation, malformed/truncated output, failed results, token accounting/budgets, connection selection, and the scheduler's model probe. They make no model requests.
56
56
 
57
57
  A real subscription end-to-end run still requires an installed CLI, an eligible user's official login, and real Tabby desktop testing. Passing the offline tests does not establish actual subscription entitlement, model quality, or Windows/macOS execution results.
58
+
59
+
60
+ ## v0.9.2 update-path review — 2026-11-07
61
+
62
+ Claude local has a related cached-entrypoint risk, but this repository does not establish that its distributions use the same companion EXEs as Codex. Connection-time help/auth checks previously resolved one absolute path and later invocations reused it. A removed version directory could therefore break the next invocation.
63
+
64
+ Each native invocation now re-resolves the original configured selector and rechecks the required CLI flags and selected-space auth status before inference, including native goal continuations. Default `claude` follows a changed installation/PATH target; explicit files and custom command names keep their original discovery scope. An invocation already submitted to the CLI is never retried after failure or timeout. Preflight failure leaves the last successful native session reference intact. Private spaces, cwd, selected model, instruction snapshot, tool bridge and authorization are preserved.
65
+
66
+ A launcher disappearing between `--help` and `auth status`, malformed status JSON or a changed status schema now produces a CLI/protocol diagnostic rather than a fabricated logged-out result. Valid `loggedIn=false` remains an authentication failure, including the CLI's exit-1 JSON response. This does not inspect credential files or change login/permission settings.
67
+
68
+ The review/test evidence covers simulated official CLI processes, MCP tool round trips, updated default entrypoints, pinned-path failure, changed tool flags, native session retention and no inference replay. Real Claude account/desktop and vendor layouts remain unverified. The resolver retains existing discovery priority; this is not a claim that every third-party/npm layout is repaired automatically.
@@ -0,0 +1,40 @@
1
+ # Codex installation recovery and existing SSH agents
2
+
3
+ Included in v0.9.2, 2026-11-07. See [release scope and validation limits](releases/0.9.2.md).
4
+
5
+ The reported Windows log identifies a failure to spawn `codex-code-mode-host.exe` from the `a159911ff70742e9` installation. It is evidence of tool-helper startup failure after the CLI had reached tool dispatch, not evidence of failed login. The later `f71a721e0e6193a9` installation and successful user-reported conversation/tool execution demonstrate that a complete alternative existed. Why the older files disappeared is unconfirmed: the repository has no evidence establishing desktop update, cleanup or cache invalidation as the cause.
6
+
7
+ The plugin previously validated the main executable and compared `--version`, including desktop hash directories. It already rescanned on a new connection; there was no persistent discovery cache to clear. A reused app-server could nevertheless retain an installation that had since become incomplete. The fix retains a per-connection rejection set for confirmed faulty entrypoints, rescans once, and drops that set on a subsequent explicit fresh connection.
8
+
9
+ Native Windows distributions from the observed `0.167.0-alpha.3.2` baseline check an adjacent code-mode host for tool-enabled connections. Windows sandbox shell execution additionally checks the adjacent command runner. Account inspection and decision-only connections do not require the tool host. This is a version/layout compatibility rule based on the reported distribution, not a claim that every earlier CLI needs these files. Unknown versions and batch/npm launchers keep their existing layout contract and rely on explicit runtime failure recognition. A future distribution with a different layout will require adapting this rule; helper version equality is not independently established by a universally supported helper `--version` command.
10
+
11
+ Automatic Windows selection excludes incomplete installations before applying existing semantic version ranking; valid-version/unknown-version ordering and tie behavior remain unchanged. Existing explicit files and custom command names stay pinned. An explicit stable desktop `OpenAI/Codex/bin` selector, and a removed version-specific desktop entrypoint, retain recovery within that same installation only. Helpers are never copied between installations.
12
+
13
+ Health is checked during discovery, before spawn, on connection reuse and before new task admission. Explicit owned-process stderr/RPC/turn helper errors cover removal after a successful check. Chat text, unrelated file ENOENTs and observation timeouts cannot initiate recovery.
14
+
15
+ One automatic rescan/rebuild is allowed per connection lifecycle. Concurrent reports share the same attempt. Recovery waits until all known turns, RPCs and server requests on this client have ended. It never interrupts another active panel to replace the server. A transport loss with an admitted turn leaves execution unknown and prevents automatic recovery at that boundary. If an active turn never reports completion, recovery waits rather than killing it to manufacture an idle boundary.
16
+
17
+ Only the connection is restored. No historical `turn/start`, steering prompt, tool call, terminal input, native goal activation or implicit `thread/resume` is sent by recovery. The original thread is resumed when the user next submits a new message, with the existing cwd, model, private space, instruction snapshot and permission settings. The panel retains its history/draft and explicitly asks for actual terminal-state inspection before continuing. A confirmed RPC rejection differs from an unanswered request; the latter is never treated as proof an operation did not run. Native session locks wait for process cleanup without cancelling the recovery controller. Recovery does not refresh or modify login credentials.
18
+
19
+ If recovery cannot find an allowed complete installation, it stops with the original helper/CLI/install path, attempted rescan and action to select a complete CLI and reconnect. Background runtime timers do not defeat this limit. An explicit user reconnect may start a fresh lifecycle; this still never replays old actions.
20
+
21
+ ## Why existing SSH agents were blocked
22
+
23
+ Tabby's native SSH shell `getChildProcesses()` returns a placeholder empty array, not a remote process list. The plugin correctly treated it as unknown, but had no alternate identity path, so repeated screen reads could never authorize attachment.
24
+
25
+ Attachment now uses the existing authenticated SSH transport's independent exec channel, without pasting a probe into the Agent. On Linux it collects only current-user foreground PIDs, start times, PTYs and `/proc/PID/exe` paths. It then writes a random private OSC marker to candidate PTY output and accepts only the identity whose marker is observed in the exact target session. The marker does not enter terminal stdin or display a visible message. A host-wide executable name or a screen saying “Codex” is insufficient. Every later input repeats the identity proof, and existing ownership, cancellation, session-change, read-only and workflow checks still apply.
26
+
27
+ A proof is bounded to four seconds, 32 KiB and at most 16 candidate processes. Inspection failure retains ownership and sends no answer. Unsupported independent exec, missing/inaccessible procfs, non-native executable names, inaccessible PTYs, nested SSH, containers and terminal multiplexers may remain unsupported; no identity is guessed from a different host or pane. Do not restart a waiting Agent to work around this boundary.
28
+
29
+ ## Verification and loading
30
+
31
+ Regression tests cover incomplete successful-version probes, complete/incomplete candidates, deleted paths, removal between preflight and spawn, explicit/custom/default selector scope, older/unknown/batch layouts, helper failures, bounded and concurrent recovery, unrelated active turns, pending tool replies, unknown execution state, private-thread resumption and no replay. Remote tests cover pane proof, stale identity, failed inspection, ownership and cancellation. A real local Linux PTY probe verifies output-only identity without stdin writes; SSH channel behavior is covered by transport fixtures. These do not establish a real Windows Tabby or the user's current SSH-pane end-to-end result.
32
+
33
+ Update to v0.9.2 or later from Tabby's plugin manager and fully exit/restart Tabby. To load a local source build, run `npm run build`, use Tabby's **Open Plugins Directory**, then run `npm run install:tabby -- "<that directory>"` from this checkout. For another machine, transfer the verified `.tgz`, extract its `package` directory, rename it `tabby-ai-tools`, and place it under the `node_modules` directory inside Tabby’s Open Plugins Directory before restarting. Manual extraction needs no separate Node installation.
34
+
35
+ Protocol reference: [official Codex app-server documentation](https://learn.chatgpt.com/docs/app-server). The implementation uses distinct initialization, thread resume, turn start and completion boundaries; only a completed/failed/interrupted turn event establishes the corresponding observed boundary.
36
+
37
+
38
+ ## Claude local review added on 2026-11-07
39
+
40
+ The same review found cached absolute entrypoints between Claude invocations and over-broad auth-status error classification. Claude now re-resolves/checks its configured selector before every native invocation and keeps its previous native session on preflight failure; submitted inference is not retried. CLI spawn/format failures no longer establish that an account is logged out. This does not establish a shared Codex/Claude helper layout. See [the Claude update-path review](claude-code.md#v092-update-path-review--2026-11-07).
@@ -12,6 +12,18 @@ v0.4.1 已优先加入 `provider: custom`:可选 `apiFormat: chat-completions
12
12
 
13
13
  ## 本地开发
14
14
 
15
+ ### Markdown 输出
16
+
17
+ `markdown.ts` 使用固定版本的 `markdown-it` 解析正文,禁用原始 HTML。表格的列对齐转为 CSS class,以保留 Angular 15 清理后的排版;图片转为文字链接,外部 URL 只允许 HTTP、HTTPS 和 mailto。原文留在 `ChatEntry.text`,不把渲染 HTML 写入历史或模型上下文。
18
+
19
+ `MarkdownComponent` 以动画帧合并文本变化,按顶层块绑定经过 Angular 清理的 HTML;未变化的块保留 DOM,更新时恢复表格/代码横向位置。HTML 后代不会获得 Angular 的模拟样式属性,因此样式使用 `ViewEncapsulation.None`,每条规则均限定在 `.codex-markdown` 内。复制按钮是清理后由 `Renderer2` 创建的固定控件,不编译模型 HTML、不绕过清理;嵌套代码同样可复制。复制和链接打开复用 Tabby `PlatformService`,组件卸载时取消帧、反馈计时器和语言监听。
20
+
21
+ 语法高亮使用固定版本 `highlight.js/lib/common` 加 PowerShell/Dockerfile 语法,只对显式语言及别名着色;不自动猜测语言。HTML 中仅增加 token span/class,仍经过 Angular 清理。单块超过 20,000 字符或语法不可用时退回安全转义,最多缓存 32 个代码结果以避免流式追加时反复着色完整块。代码区使用固定深色背景和限定在 `.codex-markdown pre` 的配色,避免宿主深浅主题或全局高亮样式影响可读性。
22
+
23
+ Markdown 解析器与高亮器随 webpack 主包打包,仅为构建依赖,不给终端用户增加 Node.js 或安装脚本要求;升级解析器或相关依赖时同步 [第三方声明](markdown-third-party-notices.md)。使用 `node --test test/markdown.test.js test/chat-scroll.test.js test/i18n.test.js` 验证解析、流式片段、安全边界、复制、销毁与语言切换。浏览器检查应覆盖 Angular 实际清理和样式、320/480/800 px、深浅主题、嵌套代码复制、宽表格/代码滚动、历史恢复和暂停/恢复自动跟随。真实桌面和跨平台结果需另行记录。
24
+
25
+ ### 对话与终端输出
26
+
15
27
  对话过程展示由 `chat-activity.ts` 统一转换实时条目与历史条目。思考摘要/文本增量与工具开始、完成事件更新同一记录;原生 `details/summary` 默认折叠,正文按需挂载,`trackBy` 保留展开状态。API、Claude Code 和 Pi 仅转发服务提供的可展示文本,不渲染加密载荷;展示记录与模型原生历史分开保存。终端读取以 OSC 133 的 C→D→A 完成序列提前唤醒,保留 50 ms 渲染缓冲和原等待上限;新命令、会话更换或结束会清除旧完成记录。多行批次不因中间提示符提前返回。
16
28
 
17
29
  2026-11-01 本地 Linux 验证:Node 22.19.0 下完整测试 771 项通过、6 项平台相关跳过;类型检查和生产构建通过。新增夹具覆盖完成前/完成后读屏提前返回、伪提示符与多行批次不提前返回、取消订阅清理、工具结果未到时的过程显示、思考展示上限和历史恢复。当前默认 Node 20 会导致两项 Pi 夹具在运行时版本检查处失败,完整验证使用临时 Node 22.19.0。未调用收费模型,也未验证真实 Tabby 桌面或本次提交的跨平台 CI。
@@ -158,6 +170,8 @@ Stable GitHub Releases trigger `.github/workflows/publish.yml`. After exact-comm
158
170
 
159
171
  ## Conditional workflow runtime
160
172
 
173
+ `terminal-limits.ts` shares the 10,000-character input cap across terminal transport, tool schema, recording, verification policies and uncertain-action receipts. Accepted commands retain their complete text, including multiline scripts; redaction must not silently change executable content. `policy.decision` marks a required main-model judgment before an operation: the runner returns `needs_model` before sending, the main model submits the current logical step, and the runner resumes its verification and successors. Missing machine checks also count as model-assisted automation. Fixed steps should record independent positive checks instead of requiring AI verification on every run.
174
+
161
175
  `workflow-policy.ts` defines bounded declarative predicates and response policies; `task-memory.ts` records intents and maintains ordered identity/result gates. `workflow-runner.ts` interprets conditional steps and independent verification, and `workflow-session.ts` binds calls to the current connection, Goal budget and cancellation. `workflow-decision.ts` uses isolated tool-free decision sessions; the backend factory applies model overrides to Codex, Claude Code, API and Pi without mutating the foreground profile. Temporary auxiliary transcripts are removed after disposal. v2 libraries retain v1 compatibility; separate minimal run journals omit raw observations, replies and live tab IDs. Offline fixtures in `test/workflow.test.js` cover rule execution, helper fallback, stale decisions, duplicate input, unknown results, restart/rebind and budget attribution. General TUI interpretation and missing shell completion still require the main model.
162
176
 
163
177
  Windows 默认 CLI 选择:`node --test test/codex-version.test.js test/executable.test.js test/windows-launch.test.js test/installations.test.js` 验证语义版本比较、多个 PATH 入口、桌面升级目录清理、固定路径、超时与取消。Linux 上的 win32 文件系统模拟不替代真实 Windows 启动测试。
@@ -199,3 +213,8 @@ The scoped russh event-buffer retention adapter is adapted from [tabby-ai-worksp
199
213
  ## Terminal streams and task logs
200
214
 
201
215
  `terminal-stream.ts` owns stateful control filtering and scoped opaque tokens. `terminal-output.service.ts` rotates stream identity on session changes and publishes only privacy-filtered chunks. `terminal-log-store.ts` writes bounded private text segments with atomic manifests; `tab-tools.ts` owns capture lifecycle and read/search routing. Panel and scheduled bridges supply session-space/run-scoped identities. Continuation cursors pin the committed log boundary; reads do not execute or verify commands. See [terminal logs](terminal-logs.md) for limits and retention timing.
216
+
217
+
218
+ ### v0.9.2 Codex installation and SSH identity maintenance (2026-11-07)
219
+
220
+ See [installation recovery and SSH process identity](codex-installation-recovery.md) for the fault boundaries, known Windows version/layout rule and loading a local build. Regression sources are `test/client.test.js`, `codex-version.test.js`, `installations.test.js`, `thread-tools.test.js`, `remote-process.test.js`, `tab-tools.test.js`, `task-memory-panel.test.js` and `runtime.test.js`. The real Linux PTY probe is local; transport fixtures and Windows discovery simulations do not prove a real Windows desktop or user SSH session. Run the full suite on Node >=22.19 to include the bundled Pi integration checks. The repair does not add runtime dependencies or require a separate system Node installation for ordinary plugin use.
package/docs/guide.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  本文是完整配置与使用入口;README 只介绍主要使用场景。
6
6
 
7
- [安装与首次使用](#安装与首次使用) · [基础配置](#基础配置) · [API 连接](#api-密钥与切换模型) · [内网与 sudo](#内网服务器与-sudo-临时认证) · [任务编排](#任务编排与多服务器协作) · [定时任务](#定时-ai-流程) · [全部功能入口](#全部功能入口) · [启动排查](#cli-自动发现与启动排查)
7
+ [安装与首次使用](#安装与首次使用) · [Markdown 输出](#markdown-输出待发布) · [基础配置](#基础配置) · [API 连接](#api-密钥与切换模型) · [内网与 sudo](#内网服务器与-sudo-临时认证) · [任务编排](#任务编排与多服务器协作) · [定时任务](#定时-ai-流程) · [全部功能入口](#全部功能入口) · [启动排查](#cli-自动发现与启动排查)
8
8
 
9
9
  v0.9.1 修复流程库空闲时普通终端工具被误拦截的问题。普通任务无需先录制或运行流程,即可发送命令、stdin、Enter 或接管进程;终端只读、所有权、进程核验及活动流程预算限制仍然生效。见 [发布说明](releases/0.9.1.md)。
10
10
 
@@ -51,6 +51,16 @@ npm run install:tabby -- "<Tabby 插件目录路径>"
51
51
 
52
52
  侧栏顶部的连接(Provider)与模型(Model)并排显示;长名称可悬停查看。状态详情等面板只滚动内容区,标题栏与关闭按钮始终保留在顶部。
53
53
 
54
+ ## Markdown 输出(待发布)
55
+
56
+ 助手回复、恢复的历史回复和定时任务执行记录中的 AI 说明默认渲染 Markdown,包括表格、标题、粗体/斜体/删除线、嵌套列表、引用、链接、行内代码与代码块。沿用 Tabby 的字体和主题;宽表格与代码块各自横向滚动,不撑宽侧栏。聚焦表格或代码区后可用键盘滚动。
57
+
58
+ 消息标题旁的“复制”保留原始 Markdown。代码块右上角的“复制”只复制代码,保留缩进和换行,不含围栏或语言标记;引用、列表中的代码块也可复制。复制后显示成功或失败反馈。
59
+
60
+ 格式随流式输出更新,未闭合的代码块可继续阅读;向上滚动查看历史会暂停自动跟随,点击“回到最新消息”恢复跟随。用户消息、系统提示、思考记录和工具日志保留文本显示。
61
+
62
+ HTTP、HTTPS 和邮件链接经宿主交给外部应用打开;相对文件路径只显示文字,不跳转当前窗口。回复中的原始 HTML 按文字展示;Markdown 图片显示为文字链接,不自动加载远程图片。代码块按围栏中的语言标记进行语法高亮(例如 `js`、`ts`、`python`、`sh`、`json`、`html`、`md`、`ps1`);代码区使用固定深色背景,保证深浅主题下文字可读。未标记、不支持的语言及超过 20,000 字符的代码块保留等宽纯文本,不自动猜测语言。
63
+
54
64
  ## 基础配置
55
65
 
56
66
  打开 **Settings → AI Tools**。配置自动保存;修改连接参数后,在侧栏点击连接图标应用。默认连接和当前正在编辑的连接分别选择,编辑连接不会自动把它设为默认。
@@ -100,7 +110,7 @@ sudo -v
100
110
 
101
111
  AI 会发现并核对各连接与终端,将每一步的实际输出作为下一步依据。终端接管无需人工确认;检测到无关前台任务时由 AI 判断后自动中断,SSH 等无法检测进程的终端先读取输出再自主执行。新连接的认证仍可能需要人工处理。多台服务器协作不等于同时执行;定时任务在同一配置目录下串行调度。
102
112
 
103
- 也可以要求 AI 操作终端中的 Codex、Claude 等交互式 Agent:根据其最新输出回答问题、发送按键并读取反馈。已有进程需可检测并通过接管检查;状态未知的远程现有进程不能自动接管。详见[交互式 Agent](scheduled-tasks.md#控制另一个交互式-agent)。
113
+ 也可以要求 AI 操作终端中的 Codex、Claude 等交互式 Agent:根据其最新输出回答问题、发送按键并读取反馈。已有进程需通过接管检查;原生 Linux SSH 现在可通过独立 exec 查询前台进程,并用随机输出标记确认其属于目标 PTY。其他不支持独立 exec、缺少 `/proc` 或无法核验身份的终端仍会停止输入,保留原 Agent。详见[交互式 Agent](scheduled-tasks.md#控制另一个交互式-agent)。
104
114
 
105
115
  以 `/remember 任务描述` 开始的任务在成功核对后保存流程,并提示设置别名;下次发送 `/task1` 即执行。普通任务不自动固化。查看[流程复用与偏好](task-workflows.md)。需要定期执行同一目标时,在对话中明确创建[定时任务](scheduled-tasks.md),保存完整的目标与处理规则。
106
116
 
@@ -166,7 +176,7 @@ API 工具循环检测始终启用,无需等到轮数上限。近期同一段
166
176
 
167
177
  ## 重复任务与操作习惯
168
178
 
169
- 用 `/remember 任务描述` 明确开始录制,插件执行任务并记录已核对的终端步骤;完成后提示是否设置别名,例如 `task1`。之后直接发送 `/task1` 执行流程。普通任务不再自动归档,也不再按相似描述自动匹配;输入框中的“不检索记忆”复选框已移除。点击 **任务流程** 或输入 `/workflows` 查看当前目录的流程,设置中可以给已有流程添加别名。也可以直接告诉助手“设置别名为 pm1”:助手先用 `workflow_status` 核对本会话最近录制的目标与归档状态,再用 `workflow_set_alias` 保存并回读 `/pm1`。checkpoint 成功仅表示步骤验收;录制不完整或含敏感内容时会说明无法归档的原因。普通任务不能事后保存为流程,不能为了补存而重跑已完成操作。
179
+ 用 `/remember 任务描述` 明确开始录制,插件执行任务并记录已核对的终端步骤;完成后提示是否设置别名,例如 `task1`。之后直接发送 `/task1` 执行流程。普通任务不再自动归档,也不再按相似描述自动匹配;输入框中的“不检索记忆”复选框已移除。点击 **任务流程** 或输入 `/workflows` 查看当前目录的流程,设置中可以给已有流程添加别名。也可以直接告诉助手“设置别名为 pm1”:助手先用 `workflow_status` 核对本会话最近录制的目标与归档状态,再用 `workflow_set_alias` 保存并回读 `/pm1`。checkpoint 成功仅表示步骤验收;录制不完整或含敏感内容时会说明无法归档的原因。 命令及验证脚本按终端上限完整保存最多 10000 字符,不再因超过 1200 字符而丢弃。固定步骤优先配置机器验收;必要判断用 `policy.decision` 在发送该步命令前交给主 AI,处理后继续运行器,见[脚本与 AI 决策](task-workflows.md#脚本执行与-ai-决策穿插)。普通任务不能事后保存为流程,不能为了补存而重跑已完成操作。
170
180
 
171
181
  含 sudo 的流程会提前提示在每个实际执行终端运行 `sudo -v` 或 `sudo ls`,完成认证后继续。其他终端的认证不保证共享。执行时用 `sudo -n -v` 预检,每 30 秒非交互刷新;认证失效时停止该命令并要求重新认证。详情和清理边界见[任务流程说明](task-workflows.md)。各步骤还保存服务器 IP、持久连接/服务器 ID、操作路径、前置依赖和验收证据。跨服务器也逐步执行:读取对应终端的新结果,并通过步骤确认工具验收后,才放行下一步;目标或路径不符时停止。操作偏好继续在设置页管理,`/remember` 专用于开始任务录制。
172
182
 
@@ -368,3 +378,12 @@ Pi 的使用、存储、预算和验证限制见 [Pi runtime](pi.md)。开发与
368
378
  ### 终端增量输出与任务日志
369
379
 
370
380
  `read_tab(mode=delta)` 支持游标分页和 `waitFor=output/completion/either` 等待;交互程序仍需读取当前画面。设置中的“保存任务终端日志”控制当前任务访问终端的本机保存,日志支持分页与字面搜索。缺失、截断、写盘失败和命令结果分别报告,详见 [Terminal streaming and task logs](terminal-logs.md)。
381
+
382
+
383
+ ### CLI 安装不完整与远端 Agent 身份核验(v0.9.2)
384
+
385
+ 发现/启动、选定空间认证、模型访问、工具辅助进程是不同阶段。`--version` 和登录检查成功,不能证明工具辅助程序存在。Windows 原生 0.167.0-alpha.3.2 及以后的工具连接检查相邻 `codex-code-mode-host.exe`;实际启用 Windows 沙箱执行时再检查 `codex-command-runner.exe`。旧版本、未知版本和 npm/batch 启动器不套用这一原生目录规则;明确的运行期辅助启动错误仍可触发有界恢复。
386
+
387
+ 自动选择排除已确认不完整的安装并保留原语义版本排序;显式文件/自定义命令不跳到其他安装。稳定 desktop bin 路径及已删除 desktop codex.exe 的同安装恢复范围保持不变。每次启动重扫,复用连接和提交新回合前检查文件;检查后文件才被删除的竞态由运行期错误识别处理。
388
+
389
+ 同一连接生命周期最多自动重新扫描一次,等待所有已知回合、RPC 和工具回复结束后才更换服务;其他面板仍运行时不重启。连接恢复不自动恢复推理、不重发任务、终端命令或工具调用;原会话在下一次明确的新消息时恢复。执行结果未知或仅观察超时时不自动重启任务。恢复失败给出文件/安装路径及已尝试的扫描,选择完整安装后手动重连;重新登录、改权限或 PATH 不能直接补齐缺失文件。详见 [实现和验证边界](codex-installation-recovery.md)。
@@ -0,0 +1,221 @@
1
+ # Markdown renderer third-party notices
2
+
3
+ The following packages are bundled into the plugin main entry for Markdown rendering. These notices accompany the distributed plugin. Update them when the parser, highlighter or these dependencies change.
4
+
5
+ ## markdown-it 15.0.3
6
+
7
+ License: MIT
8
+
9
+ ```text
10
+ Copyright (c) 2014 Vitaly Puzrin, Alex Kocharin.
11
+
12
+ Permission is hereby granted, free of charge, to any person
13
+ obtaining a copy of this software and associated documentation
14
+ files (the "Software"), to deal in the Software without
15
+ restriction, including without limitation the rights to use,
16
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
17
+ copies of the Software, and to permit persons to whom the
18
+ Software is furnished to do so, subject to the following
19
+ conditions:
20
+
21
+ The above copyright notice and this permission notice shall be
22
+ included in all copies or substantial portions of the Software.
23
+
24
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
26
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
28
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
29
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
30
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
31
+ OTHER DEALINGS IN THE SOFTWARE.
32
+ ```
33
+
34
+ ## mdurl 2.1.0
35
+
36
+ License: MIT
37
+
38
+ ```text
39
+ Copyright (c) 2015 Vitaly Puzrin, Alex Kocharin.
40
+
41
+ Permission is hereby granted, free of charge, to any person
42
+ obtaining a copy of this software and associated documentation
43
+ files (the "Software"), to deal in the Software without
44
+ restriction, including without limitation the rights to use,
45
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
46
+ copies of the Software, and to permit persons to whom the
47
+ Software is furnished to do so, subject to the following
48
+ conditions:
49
+
50
+ The above copyright notice and this permission notice shall be
51
+ included in all copies or substantial portions of the Software.
52
+
53
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
54
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
55
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
56
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
57
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
58
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
59
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
60
+ OTHER DEALINGS IN THE SOFTWARE.
61
+
62
+ --------------------------------------------------------------------------------
63
+
64
+ .parse() is based on Joyent's node.js `url` code:
65
+
66
+ Copyright Joyent, Inc. and other Node contributors. All rights reserved.
67
+ Permission is hereby granted, free of charge, to any person obtaining a copy
68
+ of this software and associated documentation files (the "Software"), to
69
+ deal in the Software without restriction, including without limitation the
70
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
71
+ sell copies of the Software, and to permit persons to whom the Software is
72
+ furnished to do so, subject to the following conditions:
73
+
74
+ The above copyright notice and this permission notice shall be included in
75
+ all copies or substantial portions of the Software.
76
+
77
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
78
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
79
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
80
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
81
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
82
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
83
+ IN THE SOFTWARE.
84
+ ```
85
+
86
+ ## entities 8.1.0
87
+
88
+ License: BSD-2-Clause
89
+
90
+ ```text
91
+ Copyright (c) Felix Böhm
92
+ All rights reserved.
93
+
94
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
95
+
96
+ Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
97
+
98
+ Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
99
+
100
+ THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS,
101
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
102
+ ```
103
+
104
+ ## linkify-it 6.1.0
105
+
106
+ License: MIT
107
+
108
+ ```text
109
+ Copyright (c) 2015 Vitaly Puzrin.
110
+
111
+ Permission is hereby granted, free of charge, to any person
112
+ obtaining a copy of this software and associated documentation
113
+ files (the "Software"), to deal in the Software without
114
+ restriction, including without limitation the rights to use,
115
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
116
+ copies of the Software, and to permit persons to whom the
117
+ Software is furnished to do so, subject to the following
118
+ conditions:
119
+
120
+ The above copyright notice and this permission notice shall be
121
+ included in all copies or substantial portions of the Software.
122
+
123
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
124
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
125
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
126
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
127
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
128
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
129
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
130
+ OTHER DEALINGS IN THE SOFTWARE.
131
+ ```
132
+
133
+ ## uc.micro 3.0.0
134
+
135
+ License: MIT
136
+
137
+ ```text
138
+ Copyright Mathias Bynens <https://mathiasbynens.be/>
139
+
140
+ Permission is hereby granted, free of charge, to any person obtaining
141
+ a copy of this software and associated documentation files (the
142
+ "Software"), to deal in the Software without restriction, including
143
+ without limitation the rights to use, copy, modify, merge, publish,
144
+ distribute, sublicense, and/or sell copies of the Software, and to
145
+ permit persons to whom the Software is furnished to do so, subject to
146
+ the following conditions:
147
+
148
+ The above copyright notice and this permission notice shall be
149
+ included in all copies or substantial portions of the Software.
150
+
151
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
152
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
153
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
154
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
155
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
156
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
157
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
158
+ ```
159
+
160
+ ## punycode.js 2.3.1
161
+
162
+ License: MIT
163
+
164
+ ```text
165
+ Copyright Mathias Bynens <https://mathiasbynens.be/>
166
+
167
+ Permission is hereby granted, free of charge, to any person obtaining
168
+ a copy of this software and associated documentation files (the
169
+ "Software"), to deal in the Software without restriction, including
170
+ without limitation the rights to use, copy, modify, merge, publish,
171
+ distribute, sublicense, and/or sell copies of the Software, and to
172
+ permit persons to whom the Software is furnished to do so, subject to
173
+ the following conditions:
174
+
175
+ The above copyright notice and this permission notice shall be
176
+ included in all copies or substantial portions of the Software.
177
+
178
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
179
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
180
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
181
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
182
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
183
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
184
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
185
+ ```
186
+
187
+ ## highlight.js 11.12.0
188
+
189
+ License: BSD-3-Clause. Common languages plus PowerShell and Dockerfile are bundled; no CDN requests are made.
190
+
191
+ ```text
192
+ BSD 3-Clause License
193
+
194
+ Copyright (c) 2006, Ivan Sagalaev.
195
+ All rights reserved.
196
+
197
+ Redistribution and use in source and binary forms, with or without
198
+ modification, are permitted provided that the following conditions are met:
199
+
200
+ * Redistributions of source code must retain the above copyright notice, this
201
+ list of conditions and the following disclaimer.
202
+
203
+ * Redistributions in binary form must reproduce the above copyright notice,
204
+ this list of conditions and the following disclaimer in the documentation
205
+ and/or other materials provided with the distribution.
206
+
207
+ * Neither the name of the copyright holder nor the names of its
208
+ contributors may be used to endorse or promote products derived from
209
+ this software without specific prior written permission.
210
+
211
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
212
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
213
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
214
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
215
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
216
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
217
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
218
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
219
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
220
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
221
+ ```
@@ -0,0 +1,15 @@
1
+ # v0.9.2 — Native CLI installation recovery and SSH agent identity
2
+
3
+ Codex tool connections validate known Windows companion requirements before choosing a CLI version. Discovery, connection reuse and new-turn admission check installation health; explicit runtime helper failures cover files removed after preflight. One connection rebuild is allowed at a known idle boundary, preserving the original selector, session space, model, permissions and conversation. Concurrent turns, pending tool replies and unknown execution outcomes prevent unsafe replacement. Recovery never replays a task, tool call or terminal command. Older/unknown versions and npm/batch launchers retain their layout boundaries.
4
+
5
+ Claude local re-resolves the original configured CLI and rechecks its required flags and selected-space authentication before each invocation, including goal continuation. Preflight failure retains the last successful native session. Spawn failures and malformed authentication responses produce CLI/protocol diagnostics; only explicit logged-out status establishes logout. Submitted inference is never automatically retried.
6
+
7
+ Existing native agents in Linux SSH panes can be attached through an independent exec channel. PID, start time, foreground group and an output-only random PTY proof establish the target identity, repeated before every input. The probe sends no Agent input and does not restart it. Unsupported exec/procfs, nested SSH, multiplexers and unverifiable identities remain blocked. See [recovery behavior and limits](../codex-installation-recovery.md).
8
+
9
+ The bilingual README, guide, Claude/development documentation, model-facing skill/knowledge and synchronized overview SVG/PNG reflect this patch. The overview contains example connections and task output; the robot GIF and reduced-motion fallback remain available. Runtime dependencies and the default built-in Electron runtime are unchanged; ordinary installation requires no separate Node installation.
10
+
11
+ Validation requires skill bundle/check, typecheck, the full offline suite, production webpack/Pi builds, whitespace checks and installation of the exact release tarball with scripts enabled and no Node on PATH. The GitHub Release records the final results, branch/tag Linux/macOS/Windows CI and tarball SHA-256. The earlier implementation run passed 943 tests (937 passed, six platform skips); the release validation is recorded separately in VALIDATION.md.
12
+
13
+ Windows deletion-race fixtures intercept the batch launcher before cross-spawn rewrites it to `cmd.exe`, ensuring the intended removal really occurs on that platform.
14
+
15
+ Evidence includes simulated Codex/Claude processes, MCP tool round trips, bounded recovery, session retention and no replay, plus a real local Linux PTY proof without stdin writes. It does not establish actual Windows/macOS Tabby operation, the user's SSH pane, real Claude account access or paid model execution. No new paid model smoke test is performed. Future native CLI layout changes may require adapting the known companion rule.
@@ -1,3 +1,17 @@
1
1
  # Unreleased
2
2
 
3
- No unreleased changes.
3
+ ## Markdown replies
4
+
5
+ Assistant replies, restored history and scheduled AI explanations render Markdown tables, headings, lists, quotes, emphasis, links and code. Tables preserve column alignment and scroll horizontally within the sidebar. Code blocks keep indentation and have a copy button, including when nested in a list or quote. Whole-message copy retains the original Markdown.
6
+
7
+ Streaming updates are grouped by animation frame and keep unchanged root blocks mounted. Horizontal scroll positions survive updates, and the existing follow / scrollback / jump-to-latest behavior is retained. Labels are available in all twelve interface languages; code remains left-to-right in RTL interfaces.
8
+
9
+ Raw HTML is escaped and Angular sanitization remains enabled. HTTP, HTTPS and mailto links use the host's external opener; relative file links stay inert. Markdown images become text links without automatic network requests. Labeled code fences now receive syntax highlighting, including JavaScript/TypeScript, Python, Shell, JSON, HTML, Markdown and PowerShell aliases. Code uses a consistent dark surface in both light and dark host themes. Unlabeled, unknown and over-20,000-character blocks remain escaped plain text; no language guessing or remote assets are used. Code copy preserves the exact original code text during streaming.
10
+
11
+ The bilingual README, guide, development notes and SVG/PNG interface illustration are updated. The illustration contains example content and is labeled unreleased. This change does not modify provider protocols, CLI discovery, authentication or task execution. Local validation is recorded in [VALIDATION.md](../../VALIDATION.md); this entry does not indicate an npm release.
12
+
13
+ ## Long workflow recordings and AI decision steps
14
+
15
+ Recordings now preserve complete installation commands and multiline scripts up to the terminal transport’s 10,000-character limit, replacing the recorder’s 1,200-character cutoff. Independent verification commands, policy schemas and unknown-action recovery use the same limit. Sensitive or altered executable content is still rejected rather than saved as a partial command.
16
+
17
+ Fixed steps should use recorded machine checks for local progression. An optional `policy.decision` returns to the main AI before the marked operation, carrying its intent and current observation. After the AI submits that logical step, the runner resumes verification and subsequent scripted steps without replaying completed operations. Automation status includes required AI judgment and missing machine checks. Workflow documentation, bundled guidance and the SVG/PNG illustration are updated. This entry describes local changes, not an npm release; real desktop/account verification remains pending.