tabby-ai-tools 0.9.2 → 0.9.4

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
@@ -18,11 +18,15 @@
18
18
 
19
19
  </div>
20
20
 
21
+ **v0.9.4: conversation navigation and safer CLI recovery.** The shared Agent panel has a question index in the right scrollbar strip: hover or focus to preview a question, click to jump, and use “latest” to resume streaming follow. The centered, compact 1px lines share an 18px right strip with a draggable conversation scroll thumb, freeing the former left gutter. Previews open to the left; theme-aware ↑ / ↓ buttons appear when needed. Green means confirmed completion; pale green means an ordinary interruption without a user Stop. Blue means running or waiting for an external prerequisite. Red means a confirmed user Stop, unfinished task, or execution limit. Completed turns wait for goal confirmation; automatic continuation returns to blue. History with no known execution result remains neutral.
22
+
21
23
  <br>
22
24
 
23
25
  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
26
 
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)
27
+ ![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)
28
+
29
+ **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. [v0.9.4 details](docs/releases/0.9.4.md).
26
30
 
27
31
  **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
32
 
@@ -111,7 +115,7 @@ Automatic discovery covers standalone installations (including `CODEX_INSTALL_DI
111
115
 
112
116
  On Windows, leave the Codex CLI executable blank (or `codex`) to compare actual versions across PATH, desktop, standalone and known npm installations and select the newest discovered CLI. Upgrades are rescanned on each new connection. Explicit file paths keep a fixed version; a stable `OpenAI\Codex\bin` directory limits comparison to that installation. See the [discovery guide](docs/guide.md#cli-自动发现与启动排查).
113
117
 
114
- Native CLI installation checks preserve explicit selector scope and existing session history. See [recovery behavior and limits](docs/codex-installation-recovery.md).
118
+ Valid explicit CLI selectors keep their priority. In v0.9.4, unavailable saved Codex paths or commands are cleared and saved, then automatic discovery runs once; existing session history is retained. New configurations leave the CLI field blank; `codex` has the same discovery behavior. See [recovery behavior and limits](docs/codex-installation-recovery.md).
115
119
 
116
120
  ## Orchestrate tasks in natural language
117
121
 
@@ -121,7 +125,7 @@ Describe the targets, order, conditions, and verification criteria. The assistan
121
125
 
122
126
  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
127
 
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#条件与交互流程).
128
+ 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#条件与交互流程). In v0.9.4, 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
129
 
126
130
  ## Schedule checks, decisions, actions, and verification
127
131
 
package/README.zh-CN.md CHANGED
@@ -18,11 +18,15 @@
18
18
 
19
19
  </div>
20
20
 
21
+ **v0.9.4:会话内问题导航与更安全的 CLI 恢复。** 通用 Agent 面板在右侧滚动条区域提供问题索引:悬停或聚焦预览原问题,点击跳转,回到最新消息恢复流式跟随。居中的紧凑 1px 短线不附加符号,与聊天滚动滑块共用右侧 18px 窄区域,去掉左侧占位;预览向左展开,过多时使用主题一致的 ↑ / ↓ 按钮翻动。绿色表示确认完成,淡绿色表示没有用户 Stop 证据的普通中断,蓝色表示执行中或等待外部条件,红色表示确认主动 Stop、任务未完成便终止或达到执行上限。回合结束后等待 Goal 确认,自动续行恢复蓝色;证据不足的历史保持灰色。
22
+
21
23
  <br>
22
24
 
23
25
  Tabby AI Tools 是集成在 [Tabby](https://github.com/Eugeny/tabby) 中的 AI 助手插件。它可以读取终端输出、发送命令,并根据执行结果继续分析和操作。你在侧栏描述目标,在终端查看过程,也可以随时取回输入控制。
24
26
 
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)
27
+ ![Tabby AI Tools 界面示意:展示Markdown 表格和语法高亮代码块,以及连接、任务日志、定时任务和设置;内容为示例](https://raw.githubusercontent.com/Hanlen/tabby-ai-tools/main/docs/assets/overview.png)
28
+
29
+ **Markdown 回复。** 助手消息和定时任务 AI 说明支持表格、标题、列表、引用、链接和代码块。宽表格与代码在消息内滚动,带语言标记的代码块支持语法高亮和单独复制,整条消息复制保留原始 Markdown;流式输出与恢复的历史消息使用同一套排版。[v0.9.4 说明](docs/releases/0.9.4.md)。
26
30
 
27
31
  **v0.9.2 修复:** Codex 检查已知 Windows 配套程序,允许在空闲边界恢复安装连接一次,不重放任务。Claude 本机登录在每次调用前重新检查配置的 CLI,并区分安装故障与未登录。Linux SSH 中已有原生 Agent 可经独立进程/PTY 核验接管。[发布说明与限制](docs/releases/0.9.2.md)。
28
32
 
@@ -121,7 +125,7 @@ Windows 默认留空(或填 `codex`)即可比较 PATH、桌面版、standalo
121
125
 
122
126
  支持按执行结果决定下一步,也可以操作终端中的其他交互式 Agent。用 `/remember 任务描述` 开始录制,任务成功结束后可在侧栏或直接告诉助手设置别名(如 `task1`),下次发送 `/task1` 即执行该流程,并重新核对当前环境。各步骤保存服务器 IP、持久连接/服务器 ID、操作路径及验收条件;多服务器按顺序执行,前一步通过结果验收后才放行下一步。助手可用 `workflow_status` / `workflow_set_alias` 查询录制、归档状态并保存别名;checkpoint 成功不等于归档成功,无法归档时显示原因。普通任务不录制,也不能事后补存。含 sudo 的流程会提前提示在各执行终端运行 `sudo -v` 或 `sudo ls`,任务期间保持认证有效。[查看编排与复用方法](docs/guide.md#任务编排与多服务器协作)。
123
127
 
124
- 交互式 `/remember` 流程可保存 stdin、按键、进程接管和侧栏提问的条件规则与回答意图。运行器本地处理已保存的 if/else,不确定交互交给当前连接的可选辅助模型,再从当前步骤继续。在 **AI Tools → 任务流程与偏好 → 交互辅助模型** 配置;辅助用量计入任务预算,缺少机器验收时仍由主模型核对。[条件与交互流程](docs/task-workflows.md#条件与交互流程)。
128
+ 交互式 `/remember` 流程可保存 stdin、按键、进程接管和侧栏提问的条件规则与回答意图。运行器本地处理已保存的 if/else,不确定交互交给当前连接的可选辅助模型,再从当前步骤继续。在 **AI Tools → 任务流程与偏好 → 交互辅助模型** 配置;辅助用量计入任务预算,缺少机器验收时仍由主模型核对。[条件与交互流程](docs/task-workflows.md#条件与交互流程)。 更新:命令和多行脚本可按终端上限完整录制最多 10000 字符;固定步骤通过机器验收推进,需现场判断的步骤用 `policy.decision` 在执行前交回主 AI,处理后继续脚本流程。
125
129
 
126
130
  ## 定时任务:到点检查、判断、执行与验证
127
131
 
@@ -142,3 +146,5 @@ Windows 默认留空(或填 `codex`)即可比较 PATH、桌面版、standalo
142
146
  插件自带一个供模型使用的 [Tabby skill](skills/tabby/SKILL.md),保留全部功能入口。构建时自动内嵌,随插件安装并提供给 Codex 和 API 模型,无需另行安装。
143
147
 
144
148
  [开发与验证](docs/development.md) · [验证范围](VALIDATION.md) · [问题反馈](https://github.com/Hanlen/tabby-ai-tools/issues) · [MIT](LICENSE)
149
+
150
+ v0.9.4 起,Codex CLI 默认留空自动查找,填写 `codex` 效果相同。已保存的路径或命令确认不可用时,自动清空并保存,再查找可用安装;有效显式入口保留优先级。登录、模型及工具协议错误不会触发清空,也不会重发任务。
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,27 @@ 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`.
506
+
507
+
508
+ ## v0.9.4 question navigation outcomes — 2026-11-10
509
+
510
+ Node 22.23.4: 997 tests, 991 passed, six platform skips, no failures. Typecheck, production build, skill bundle/check and diff checks passed. Actual Angular navigation in Chromium passed light/dark themes, 320/480/800 widths and 100/125/150% zoom: 1px normal/current lines, distinct outcome colors, preserved hit areas, hover/click and keyboard navigation. Local evidence: `/tmp/tabby-nav-semantics/`.
511
+
512
+ Regressions cover confirmed user Stop versus ordinary interruption, Stop failure, unfinished/blocked/limited goals, automatic continuation, legacy snapshots, saved causes, and late goal/turn observations. Local HTTP API and native Claude CLI fixtures verify round/repetition limits and native max-turn cause propagation without inference replay. Default Codex discovery/installation recovery and Claude per-invocation discovery, MCP, stop and session-preservation fixtures pass in the full suite; these do not establish real default-account or desktop end-to-end usability. Real Tabby, account, Windows/macOS and user SSH checks remain pending. No paid model smoke, package installation or publication was performed.
513
+
514
+ ### v0.9.4 release candidate — 2026-11-11
515
+
516
+ Node 22.23.4 release checks pass: skill bundle/check, typecheck, 997 tests (991 passed, six platform skips, zero failures), production webpack/Pi build and `git diff --check`. A separate 91-test Codex/Claude CLI and runtime selection covers default discovery, removed selectors, update paths, authenticated loopback MCP, stop, session retention and no replay with zero failures. Chromium rendered both READMEs, verified the animated robot and reduced-motion fallback, and regenerated the 1800×2250 overview PNG from the synchronized SVG without text overflow; the final image was visually inspected.
517
+
518
+ The exact release tarball is checked for package identity, entrypoints, `dist`, docs, bilingual README, assets, bundled skill and private-file exclusions, then installed with lifecycle scripts enabled and no `node` on `PATH`. Release-script state, logs, tarball path and its final SHA-256 remain outside the repository under `/tmp/tabby-release-0.9.4-20261111/`; the GitHub Release records the immutable artifact digest. No paid-model inference or new real-account request was run. Real Tabby desktop, Windows/macOS desktop, user SSH and OS-keychain-only Claude login remain pending; Linux/macOS/Windows CI is tracked separately before tag and publication.