tabby-ai-tools 0.9.2 → 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.
package/README.md CHANGED
@@ -22,7 +22,9 @@
22
22
 
23
23
  Tabby AI Tools is an AI assistant inside [Tabby](https://github.com/Eugeny/tabby). It reads terminal output, sends commands, and uses the results to decide what to do next. Describe your goal in the sidebar, follow the work in your terminals, and reclaim terminal input whenever needed.
24
24
 
25
- ![Tabby AI Tools v0.9.2 interface illustration with Codex installation recovery, Claude invocation checks and verified Linux SSH agent attachment, alongside provider connections, task logs, scheduled tasks and settings; example content](https://raw.githubusercontent.com/Hanlen/tabby-ai-tools/main/docs/assets/overview.png)
25
+ ![Tabby AI Tools interface illustration with Markdown tables and syntax-highlighted code blocks, alongside provider connections, task logs, scheduled tasks and settings; example content](https://raw.githubusercontent.com/Hanlen/tabby-ai-tools/main/docs/assets/overview.png)
26
+
27
+ **Markdown replies.** Assistant messages and scheduled AI explanations render tables, headings, lists, quotes, links and code blocks. Wide tables and code scroll within the message; code blocks highlight labeled languages and have their own copy button, and message copy preserves the original Markdown. Formatting updates during streaming and applies to restored history. [Details](docs/releases/unreleased.md).
26
28
 
27
29
  **Fixed in v0.9.2:** Codex checks known Windows companion files and permits one idle-boundary installation recovery without replaying tasks. Claude local rechecks its configured CLI before each invocation and distinguishes installation faults from logout. Existing native Linux SSH agents can be attached after independent process/PTY verification. [Release notes and limits](docs/releases/0.9.2.md).
28
30
 
@@ -121,7 +123,7 @@ Describe the targets, order, conditions, and verification criteria. The assistan
121
123
 
122
124
  Workflows can branch based on observed results and interact with other terminal Agents. Start a recording with `/remember TASK`. After successful completion, give the workflow an alias such as `task1` (in the sidebar or by asking the assistant to save it); send `/task1` to execute it again with fresh environment checks. Each step retains the server IP, stable connection/server ID, operation path and completion checks. Multi-server steps follow their saved order; a result checkpoint must confirm the preceding step before the next operation. The assistant can query recording/archive status and save aliases with `workflow_status` / `workflow_set_alias`; checkpoint success alone does not guarantee archival, and rejection reasons are shown. Ordinary tasks are not recorded and cannot be saved retroactively. Workflows containing sudo ask you to authenticate with `sudo -v` or `sudo ls` in each execution terminal, then keep that terminal’s credentials refreshed during the task. [Orchestration and reuse guide (中文)](docs/guide.md#任务编排与多服务器协作).
123
125
 
124
- Interactive `/remember` workflows retain conditional rules and response intent for stdin, keys, process attachment and sidebar questions. The runtime handles saved if/else conditions locally, uses an optional helper model on the current connection for uncertain interactions, and resumes the pending step. Configure it in **AI Tools → Workflows & preferences → Interaction helper model**. Helper usage counts toward the task budget; missing machine checks return to the main model for verification. [Conditional workflow details (中文)](docs/task-workflows.md#条件与交互流程).
126
+ Interactive `/remember` workflows retain conditional rules and response intent for stdin, keys, process attachment and sidebar questions. The runtime handles saved if/else conditions locally, uses an optional helper model on the current connection for uncertain interactions, and resumes the pending step. Configure it in **AI Tools → Workflows & preferences → Interaction helper model**. Helper usage counts toward the task budget; missing machine checks return to the main model for verification. [Conditional workflow details (中文)](docs/task-workflows.md#条件与交互流程). Unreleased: recordings preserve complete commands and multiline scripts up to the terminal’s 10,000-character limit. Fixed steps use machine checks; `policy.decision` returns to the main AI before a step that requires live judgment, then scripted execution resumes.
125
127
 
126
128
  ## Schedule checks, decisions, actions, and verification
127
129
 
package/README.zh-CN.md CHANGED
@@ -22,7 +22,9 @@
22
22
 
23
23
  Tabby AI Tools 是集成在 [Tabby](https://github.com/Eugeny/tabby) 中的 AI 助手插件。它可以读取终端输出、发送命令,并根据执行结果继续分析和操作。你在侧栏描述目标,在终端查看过程,也可以随时取回输入控制。
24
24
 
25
- ![Tabby AI Tools v0.9.2 界面示意:包含 Codex 安装恢复、Claude 调用前检查、Linux SSH Agent 身份核验,以及连接、任务日志、定时任务和设置;内容为示例](https://raw.githubusercontent.com/Hanlen/tabby-ai-tools/main/docs/assets/overview.png)
25
+ ![Tabby AI Tools 界面示意:展示Markdown 表格和语法高亮代码块,以及连接、任务日志、定时任务和设置;内容为示例](https://raw.githubusercontent.com/Hanlen/tabby-ai-tools/main/docs/assets/overview.png)
26
+
27
+ **Markdown 回复。** 助手消息和定时任务 AI 说明支持表格、标题、列表、引用、链接和代码块。宽表格与代码在消息内滚动,带语言标记的代码块支持语法高亮和单独复制,整条消息复制保留原始 Markdown;流式输出与恢复的历史消息使用同一套排版。[说明](docs/releases/unreleased.md)。
26
28
 
27
29
  **v0.9.2 修复:** Codex 检查已知 Windows 配套程序,允许在空闲边界恢复安装连接一次,不重放任务。Claude 本机登录在每次调用前重新检查配置的 CLI,并区分安装故障与未登录。Linux SSH 中已有原生 Agent 可经独立进程/PTY 核验接管。[发布说明与限制](docs/releases/0.9.2.md)。
28
30
 
@@ -121,7 +123,7 @@ Windows 默认留空(或填 `codex`)即可比较 PATH、桌面版、standalo
121
123
 
122
124
  支持按执行结果决定下一步,也可以操作终端中的其他交互式 Agent。用 `/remember 任务描述` 开始录制,任务成功结束后可在侧栏或直接告诉助手设置别名(如 `task1`),下次发送 `/task1` 即执行该流程,并重新核对当前环境。各步骤保存服务器 IP、持久连接/服务器 ID、操作路径及验收条件;多服务器按顺序执行,前一步通过结果验收后才放行下一步。助手可用 `workflow_status` / `workflow_set_alias` 查询录制、归档状态并保存别名;checkpoint 成功不等于归档成功,无法归档时显示原因。普通任务不录制,也不能事后补存。含 sudo 的流程会提前提示在各执行终端运行 `sudo -v` 或 `sudo ls`,任务期间保持认证有效。[查看编排与复用方法](docs/guide.md#任务编排与多服务器协作)。
123
125
 
124
- 交互式 `/remember` 流程可保存 stdin、按键、进程接管和侧栏提问的条件规则与回答意图。运行器本地处理已保存的 if/else,不确定交互交给当前连接的可选辅助模型,再从当前步骤继续。在 **AI Tools → 任务流程与偏好 → 交互辅助模型** 配置;辅助用量计入任务预算,缺少机器验收时仍由主模型核对。[条件与交互流程](docs/task-workflows.md#条件与交互流程)。
126
+ 交互式 `/remember` 流程可保存 stdin、按键、进程接管和侧栏提问的条件规则与回答意图。运行器本地处理已保存的 if/else,不确定交互交给当前连接的可选辅助模型,再从当前步骤继续。在 **AI Tools → 任务流程与偏好 → 交互辅助模型** 配置;辅助用量计入任务预算,缺少机器验收时仍由主模型核对。[条件与交互流程](docs/task-workflows.md#条件与交互流程)。 更新:命令和多行脚本可按终端上限完整录制最多 10000 字符;固定步骤通过机器验收推进,需现场判断的步骤用 `policy.decision` 在执行前交回主 AI,处理后继续脚本流程。
125
127
 
126
128
  ## 定时任务:到点检查、判断、执行与验证
127
129
 
package/VALIDATION.md CHANGED
@@ -1,3 +1,21 @@
1
+ # Markdown syntax highlighting fix — 2026-11-08 (local, unreleased)
2
+
3
+ Labeled code fences now use bundled highlight.js 11.12.0 common grammars plus PowerShell and Dockerfile; Markdown (`md`), JS/TS, Shell and other aliases are covered. Token HTML still passes through Angular sanitization. Unknown/unlabeled and over-20,000-character blocks fall back to escaped plain text; a bounded cache avoids re-highlighting unchanged code during streamed appends. Scoped colors on a fixed dark code surface remain readable in both host themes. The source/history and exact code-copy text are preserved.
4
+
5
+ The full Node 22.23.3 suite passed: **956 tests, 950 passed, 0 failed, 6 platform skips**, including three new highlighting regressions. Typecheck and skill bundle/check passed. Real Angular 15.2.10 JIT/Chromium checks passed at 320/480/800 px in both host themes: visible token colors, contrast above 4.5:1, nested/scheduled code copy, escaped hostile content, streaming/DOM/focus/scroll preservation and destruction. Both READMEs were rendered; SVG/PNG were updated and previewed, and the GIF/static reduced-motion fallback was checked. Evidence: `/tmp/tabby-highlight-20261108/`.
6
+
7
+ Codex default discovery/recovery and Claude local launcher/flags/session/stop fixture regressions passed independently in the full suite; this fix changes only rendering and bundled build dependencies. Real Tabby desktop, actual accounts/model requests, Windows/macOS and SSH remain unverified. Version remains 0.9.2; no commit, push, tag, remote CI or publication was requested. Earlier Markdown package/checksum evidence below is a historical snapshot, superseded by this source fix.
8
+
9
+ # Markdown replies — 2026-11-08 (local, unreleased)
10
+
11
+ Assistant messages, restored history and scheduled AI explanations share the Markdown renderer. Tables, column alignment, common prose and top-level/nested code blocks render through Angular sanitization. Code copy uses the host clipboard; whole-message copy and stored/provider history retain the source text. HTTP/HTTPS/mailto use the host external opener, file labels stay inert, raw HTML is escaped, and Markdown images make no automatic network requests. The parser and its dependencies are bundled in the main entry; their notices are included in [the Markdown notices](docs/markdown-third-party-notices.md).
12
+
13
+ Local checks: skill bundle/check, typecheck, production build and `git diff --check` passed. The full suite on Node 22.23.3 reports **953 tests: 947 passed, 0 failed, 6 platform skips**. Ten new tests cover syntax/alignment, every prefix of a streaming response, escaped/nested code, unsafe schemes and images, unchanged blocks, render coalescing/destruction, live translation and clipboard feedback. Logs and browser evidence are under `/tmp/tabby-markdown-20261108/`.
14
+
15
+ An Angular 15.2.10 JIT browser fixture uses the actual message Pug, Markdown component, CSS and `ChatScroll`, with fixture host clipboard/link services. Chromium verified 320/480/800 px in both themes without page/feed horizontal overflow; scrollable tables/code, aligned headers, keyboard and nested-code copy, exact code text, inert relative links, zero remote image requests, unchanged block DOM/focus/scroll during streaming, incomplete fences, RTL/live labels, follow/scrollback/jump behavior and removal with pending rendering. The bilingual README and synchronized 1800×2250 SVG/PNG illustration are previewed separately; the robot GIF and reduced-motion fallback remain intact.
16
+
17
+ Codex default path: existing discovery/update-race, companion-contract, bounded recovery, tool, stop and session/no-replay fixtures pass in the full suite. Claude local: existing re-resolution, removed entry/flag, MCP tool, stop and session/no-replay fixtures pass separately. This UI change does not alter either CLI path or protocol. These are fixture results, not proof of current real-account end-to-end availability. Real Tabby desktop integration, Windows/macOS, actual accounts and SSH remain pending; no paid model smoke test or remote CI was run. No version bump, commit, tag or publication was performed.
18
+
1
19
  # 0.9.1 native CLI login inheritance and recovery — 2026-11-06
2
20
 
3
21
  Codex and Claude Code private spaces initialize missing OAuth/ChatGPT file caches from the original CLI directory. Explicit authentication recovery atomically replaces a stale private cache, checks the selected account and reconnects without replaying a turn or tool. Existing private logins are preserved during ordinary connections. Missing/invalid sources leave the private cache intact. A native warning dialog handles 401/expired/missing login, deduplicates repeated errors, retains a reopening entry after dismissal, and targets the failing CLI even after a provider switch rolls back.
@@ -474,3 +492,14 @@ Codex default discovery, helper health, connection reuse, races and one-attempt
474
492
  ChatGPT entitlement/login wording was rechecked against [official authentication](https://learn.chatgpt.com/docs/auth) and [CLI command reference](https://learn.chatgpt.com/docs/cli/reference) on 2026-11-07. It retains account/workspace permission limits and separate API billing.
475
493
 
476
494
  The first branch CI passed Linux/macOS but exposed two Windows race-test fixture failures: the deletion hook matched the CLI path after cross-spawn had already rewritten a `.cmd` launch to `cmd.exe`, so it never removed the fixture files. Both hooks now intercept the platform's actual launcher before rewriting. The failed run and original verified package remain in the release evidence; the corrected commit requires fresh local checks, a new verified tarball and complete branch/tag CI before publication. No release tag was created for the failed branch commit.
495
+
496
+ ## 2026-11-08 — Long workflow recordings and AI decision steps (unreleased)
497
+
498
+ - Node 22.23.3 full suite: **965 tests, 959 passed, 6 platform skips, 0 failures/cancellations**. Skill bundle/check, typecheck, production webpack/Pi build and diff checks passed.
499
+ - Recording coverage includes 1,200/1,201/10,000-character commands, intact multiline/Unicode content, long independent verification policies, alias/restart persistence, unknown-action recovery without replay, and oversized-input rejection before writing an action receipt. Secrets after the former cutoff and altered executable content remain ineligible for archival. The panel offers an intact long-command workflow for alias assignment after actual checkpoints.
500
+ - Offline runner fixtures cover scripted operation/check → required main-AI decision → verification and scripted successors; no predecessor replay or helper request for fixed operations. False conditional branches skip their decision. Automation status reports missing machine checks and decision steps as model-assisted.
501
+ - Chromium rendered both READMEs and synchronized the SVG/PNG illustration: no SVG text overflow, centered headers and tables retained, GIF and reduced-motion static fallback passed. These are documentation previews, not a real Tabby desktop run.
502
+ - Codex default-path review: existing discovery/version/install-layout, removed-entry/helper, reuse/update race, bounded recovery, tool/stop/session-preservation and no-replay fixtures passed in the full suite. No CLI discovery, launcher or authentication changes were made in this increment. Fixture results do not establish real default-account end-to-end availability.
503
+ - Claude local review: existing native/npm discovery, original-selector re-resolution before invocation, flags/auth error classification, loopback MCP, stop, session preservation and no-replay fixtures passed separately. No shared Codex helper layout is assumed. Real Claude login/keychain, desktop and platform behavior remain pending.
504
+ - No paid-model smoke, real account/desktop/SSH test, remote CI, commit, tag, deployment or publication was performed. The prior published v0.9.2 remains separate from these local changes; previously discarded recording commands cannot be reconstructed from this fix alone.
505
+ - Logs: `/tmp/tabby-workflow-20261108-{tests,typecheck,build}.log`; documentation evidence: `/tmp/tabby-workflow-20261108/docs-evidence.json`.