tabby-ai-tools 0.3.2 → 0.5.0

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,12 +22,16 @@
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 0.3.2 interface illustration: the assistant coordinates two SSH terminals, with scheduled tasks, provider connections, automatic startup and language settings](https://raw.githubusercontent.com/Hanlen/tabby-ai-tools/main/docs/assets/overview.png)
25
+ ![Tabby AI Tools v0.5.0 interface illustration with optional Pi runtime and context compaction: the assistant coordinates two SSH terminals, with verified workflow recording and a saved /pm1 alias, on-demand terminal reads, scheduled tasks, Pi Node and compaction settings, provider connections, automatic startup and language settings](https://raw.githubusercontent.com/Hanlen/tabby-ai-tools/main/docs/assets/overview.png)
26
26
 
27
27
  <sub>Interface illustration with example tasks and connections; appearance varies with your Tabby theme and window size.</sub>
28
28
 
29
29
  Terminal takeover is automatic: unavailable foreground-process detection (including SSH) does not require a confirmation click. The agent inspects terminal output, preserves needed tasks, and can interrupt detected unrelated tasks.
30
30
 
31
+ Terminal output is read on demand with `read_tab`; it is no longer automatically forwarded into an active turn. During backend retries, the sidebar keeps a visible waiting state with elapsed time, and shows the next retry time plus a countdown only if the backend supplies it. Stop cancels the AI turn; check the terminal and workflow checkpoint before continuing, since commands may already have completed. See [workflow recovery](docs/task-workflows.md#限流中断与恢复).
32
+
33
+ **New in v0.5.0:** optional Pi SDK runtime (external Node 22.19+), `/compact`, workflow archive status and conversational aliases. Select **Agent runtime → Pi SDK** in an API connection; automatic compaction is opt-in. See [setup, recovery and validation boundaries](docs/pi.md).
34
+
31
35
  ## Multiple model providers, including your ChatGPT subscription
32
36
 
33
37
  **Have a ChatGPT subscription with Codex access? Use your existing account through Codex CLI on your own computer, with no separate API key for this mode.** The plugin reuses the local Codex login. Model availability and usage limits follow your account and workspace permissions. See [OpenAI's authentication documentation](https://learn.chatgpt.com/docs/auth).
@@ -35,12 +39,25 @@ Terminal takeover is automatic: unavailable foreground-process detection (includ
35
39
  | Connection | How to use it |
36
40
  | --- | --- |
37
41
  | **ChatGPT subscription → local Codex** | Install Codex CLI locally, run `codex login`, and select **Codex (local login)** in AI Tools. |
42
+ | **Claude subscription → local Claude Code** | Install the official CLI, run `claude auth login`, check `claude auth status`, and select **Claude Code (local login)**. |
38
43
  | **OpenAI API** | Add an OpenAI connection with an API key, Base URL, and model ID. |
39
44
  | **DeepSeek** | Add a DeepSeek API connection and choose the model and Thinking settings. |
40
45
  | **GLM / Zhipu** | Add a GLM API connection using the endpoint and model available to your account. |
46
+ | **Kimi API** | Select **Kimi API**, choose China mainland or International, and use an open-platform key. |
47
+ | **Kimi Coding Plan** | Select **Kimi Coding Plan**, choose the region, and use a Kimi Code membership key. |
48
+ | **Alibaba Cloud Coding Plan** | Select the dedicated Coding Plan provider and region, then use its plan key (`sk-sp-`). |
41
49
  | **Claude / Anthropic** | Add a Claude API connection with its API key and model ID. |
50
+ | **Custom OpenAI-compatible service** | Select **Custom (OpenAI compatible)**, enter a Base URL and model ID, and choose Chat Completions (default) or Responses. Use a direct key, an environment variable, or no key for services without authentication. |
51
+
52
+ **Claude Code subscription support is available in v0.4.1.** The plugin runs the local official CLI without reading or saving subscription credentials. Entitlements, limits, and authentication follow the CLI; API keys or cloud configuration may use separate billing. See [setup and limitations](docs/claude-code.md). A real subscription end-to-end run remains unverified.
53
+
54
+ Kimi and Alibaba Cloud Coding Plan connections are available in v0.4.1, with separate China mainland and international presets. See [endpoints, keys and setup](docs/coding-plans.md). Plans are for personal interactive coding; use an appropriate ordinary API for unattended schedules. Real plan access and quota deduction remain unverified.
55
+
56
+ Choose a model, then choose reasoning effort in the sidebar model picker, including for API connections and Claude Code. Provider defaults and manual effort values are available. API and Claude Code goals continue automatically by default without asking you to click Continue; stop controls, token budgets, and explicitly configured tool limits still apply.
57
+
58
+ Save multiple named connections and switch them in the sidebar. Discover available models or enter a model ID manually. API connections use the selected provider's credentials and billing plan; they can be used without Codex CLI. Compatible proxies must implement the selected provider's protocol.
42
59
 
43
- Save multiple named connections and switch them in the sidebar. Discover available models or enter a model ID manually. API connections use the selected provider's API credentials and usage-based billing; they can be used without Codex CLI. Compatible proxies must implement the selected provider's protocol.
60
+ Custom connections are available in v0.4.1. For example, use `https://gateway.example/v1` or `http://localhost:1234/v1` as the Base URL, without `/chat/completions` or `/responses`. Terminal tasks require SSE streaming and function calling; model discovery uses `/models` with manual entry as a fallback. HTTP is restricted to loopback addresses. See [custom connection setup and limitations (中文)](docs/guide.md#自定义-openai-兼容接口).
44
61
 
45
62
  ## Work with servers on a private network
46
63
 
@@ -76,7 +93,7 @@ Describe the targets, order, conditions, and verification criteria. The assistan
76
93
 
77
94
  > Check application-to-database connectivity on staging-app and staging-db. Verify the database first, then inspect the application configuration. Explain any issue before asking me to authorize a fix, and verify the application health check afterward.
78
95
 
79
- 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`; 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. Ordinary tasks are not recorded. 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#任务编排与多服务器协作).
96
+ 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#任务编排与多服务器协作).
80
97
 
81
98
  ## Schedule checks, decisions, actions, and verification
82
99
 
package/README.zh-CN.md CHANGED
@@ -22,12 +22,16 @@
22
22
 
23
23
  Tabby AI Tools 是集成在 [Tabby](https://github.com/Eugeny/tabby) 中的 AI 助手插件。它可以读取终端输出、发送命令,并根据执行结果继续分析和操作。你在侧栏描述目标,在终端查看过程,也可以随时取回输入控制。
24
24
 
25
- ![Tabby AI Tools 0.3.2 界面示意:侧栏协调两个 SSH 终端,展示定时任务、API 连接、启动开关与语言设置](https://raw.githubusercontent.com/Hanlen/tabby-ai-tools/main/docs/assets/overview.png)
25
+ ![Tabby AI Tools v0.5.0 界面示意(含可选 Pi 运行时与上下文压缩):侧栏协调两个 SSH 终端,展示流程录制验收与已保存的 /pm1 别名、按需读屏、定时任务、Pi 的外部 Node 与压缩设置、连接列表、启动与语言设置,含自定义 OpenAI 兼容接口设置](https://raw.githubusercontent.com/Hanlen/tabby-ai-tools/main/docs/assets/overview.png)
26
26
 
27
27
  <sub>根据当前功能绘制的英文界面示意,任务和连接均为示例;实际外观随 Tabby 主题与窗口尺寸变化。</sub>
28
28
 
29
29
  终端接管自动完成:前台进程检测不可用(包括 SSH)时不再要求点击确认。AI 先读取终端输出,保留当前任务需要的进程,并可自动中断已检测到的无关任务。
30
30
 
31
+ 终端输出由 AI 使用 `read_tab` 按需读取,不再自动追加到运行中的回合。后台重试期间,侧栏持续显示等待状态和已等待时长;后台提供重试时间时才显示下次重试时间及倒计时。停止取消 AI 回合,终端命令可能已经完成;继续前先核对实际终端和流程验收点,避免重复执行。详见[流程恢复](docs/task-workflows.md#限流中断与恢复)。
32
+
33
+ **v0.5.0 新增:** API 连接可选 Pi SDK 运行时(独立 Node 22.19+),支持 `/compact`、流程归档状态查询与对话设置别名;自动压缩默认关闭。在连接设置的“Agent 运行时”中选择 Pi SDK;[配置、恢复与验证范围](docs/pi.md)见说明。
34
+
31
35
  ## 多模型适配,支持本机 ChatGPT 订阅登录
32
36
 
33
37
  **已有具备 Codex 使用权限的 ChatGPT 订阅账号,可以通过本机 Codex CLI 登录直接使用,无需为此模式额外配置 API Key。** 插件复用本机 Codex 登录,可用模型、用量限制和工作区权限以账号实际权益为准。参见 [OpenAI 官方认证说明](https://learn.chatgpt.com/docs/auth)。
@@ -35,13 +39,26 @@ Tabby AI Tools 是集成在 [Tabby](https://github.com/Eugeny/tabby) 中的 AI
35
39
  | 连接方式 | 如何使用 |
36
40
  | --- | --- |
37
41
  | **ChatGPT 订阅 → 本机 Codex** | 本机安装 Codex CLI,执行 `codex login`,在插件中选择 **Codex(本机登录)**。 |
42
+ | **Claude 订阅 → 本机 Claude Code** | 安装官方 CLI,执行 `claude auth login`,确认 `claude auth status`,在侧栏选择 **Claude Code(本机登录)**。 |
38
43
  | **OpenAI API** | 添加 OpenAI 连接,配置 API Key、Base URL 和模型 ID。 |
39
44
  | **DeepSeek** | 添加 DeepSeek API 连接,选择模型与 Thinking 设置。 |
40
45
  | **GLM/智谱** | 添加 GLM API 连接,使用账号对应套餐的端点和模型。 |
46
+ | **Kimi API** | 选择 **Kimi API** 和中国内地/国际区域,使用开放平台 Key,按量计费。 |
47
+ | **Kimi Coding Plan** | 选择 **Kimi Coding Plan** 和服务区域,使用 Kimi Code 会员套餐 Key。 |
48
+ | **阿里云百炼 Coding Plan** | 选择专用的 Coding Plan 供应商和区域,使用套餐 Key(`sk-sp-`)。 |
41
49
  | **Claude/Anthropic** | 添加 Claude API 连接,配置其 API Key 和模型 ID。 |
50
+ | **自定义 OpenAI 兼容服务** | 选择 **自定义(OpenAI 兼容)**,填写 Base URL 和模型 ID;协议默认 Chat Completions,也可选 Responses。支持直接输入密钥、环境变量或无需密钥。 |
51
+
52
+ **v0.4.1 已支持 Claude Code 订阅接入。** 插件运行本机官方 CLI,不读取或保存订阅凭据;账号权益、额度和实际认证方式由 CLI 决定。已有 API Key 或云平台配置可能走独立计费。安装与限制见 [Claude Code 接入说明](docs/claude-code.md)。尚未完成真实订阅账号的端到端验证。
53
+
54
+ v0.4.1 已支持 Kimi 与阿里云百炼 Coding Plan 接入,均提供国内与国际端点预设。详见[端点、密钥与配置说明](docs/coding-plans.md)。套餐用于个人交互式编程,无人值守定时任务应使用适合该场景的普通 API。真实套餐准入和扣费尚未验证。
55
+
56
+ 侧栏模型浮窗统一先选模型,再选 reasoning/推理强度,适用于 API 连接和 Claude Code;可选服务商默认或手动填写等级。API 与 Claude Code 的未完成目标默认自动继续,无需点击 Continue;停止、token 预算及主动设置的工具轮数上限仍然生效。
42
57
 
43
58
  可保存多个命名连接,在侧栏切换;支持获取模型列表或手动填写模型 ID。API 连接使用对应供应商的 API 凭据和计费,无需安装 Codex CLI。使用代理时,端点须兼容所选供应商协议。
44
59
 
60
+ v0.4.1 已支持自定义连接。Base URL 示例为 `https://gateway.example/v1` 或 `http://localhost:1234/v1`,不要附加 `/chat/completions` 或 `/responses`。终端任务要求 SSE 流式响应和工具调用;使用 `/models` 获取模型,不支持时可手动填写。HTTP 仅限本地回环地址。详见[自定义接口配置与限制](docs/guide.md#自定义-openai-兼容接口)。
61
+
45
62
  ## 内网服务器,也能使用 AI
46
63
 
47
64
  服务器无法访问外网时,只要你的电脑能连接 AI 服务,同时能通过 Tabby 连接服务器,就可以让 AI 通过 SSH 终端读取日志、排查问题、执行命令并验证结果。服务器无需访问模型服务,也无需安装 AI Agent;用于分析的终端内容由本机发送给所选模型服务。
@@ -76,7 +93,7 @@ Tabby AI Tools 是集成在 [Tabby](https://github.com/Eugeny/tabby) 中的 AI
76
93
 
77
94
  > 在 staging-app 和 staging-db 上检查应用与数据库连接。先确认数据库正常,再检查应用配置;发现问题先说明原因,在我授权后修复,最后验证应用健康检查。
78
95
 
79
- 支持按执行结果决定下一步,也可以操作终端中的其他交互式 Agent。用 `/remember 任务描述` 开始录制,任务成功结束后提示设置别名(如 `task1`),下次发送 `/task1` 即执行该流程,并重新核对当前环境。各步骤保存服务器 IP、持久连接/服务器 ID、操作路径及验收条件;多服务器按顺序执行,前一步通过结果验收后才放行下一步。普通任务不再默认固化。含 sudo 的流程会提前提示在各执行终端运行 `sudo -v` 或 `sudo ls`,任务期间保持认证有效。[查看编排与复用方法](docs/guide.md#任务编排与多服务器协作)。
96
+ 支持按执行结果决定下一步,也可以操作终端中的其他交互式 Agent。用 `/remember 任务描述` 开始录制,任务成功结束后可在侧栏或直接告诉助手设置别名(如 `task1`),下次发送 `/task1` 即执行该流程,并重新核对当前环境。各步骤保存服务器 IP、持久连接/服务器 ID、操作路径及验收条件;多服务器按顺序执行,前一步通过结果验收后才放行下一步。助手可用 `workflow_status` / `workflow_set_alias` 查询录制、归档状态并保存别名;checkpoint 成功不等于归档成功,无法归档时显示原因。普通任务不录制,也不能事后补存。含 sudo 的流程会提前提示在各执行终端运行 `sudo -v` 或 `sudo ls`,任务期间保持认证有效。[查看编排与复用方法](docs/guide.md#任务编排与多服务器协作)。
80
97
 
81
98
  ## 定时任务:到点检查、判断、执行与验证
82
99
 
package/VALIDATION.md CHANGED
@@ -1,3 +1,41 @@
1
+ # v0.5.0 release validation (2026-10-31)
2
+
3
+ Local Linux / Node 22.19.0: `npm run skill:bundle`, `npm run skill:check`, `npm run typecheck`, `npm test` (760 tests: 754 passed, 0 failed, 6 Windows-only skips), `npm run build` and `git diff --check` passed. No paid inference or original upload/apply operations were run. Branch and tag CI results are recorded in the GitHub Release after all three operating systems pass.
4
+
5
+ The English and Chinese READMEs were rendered and checked for the centered header, badges, model-provider table, absolute image URLs, workflow tool descriptions and reduced-motion fallback. Codex login commands and the distinction between ChatGPT subscription access and API billing were checked against [official authentication documentation](https://learn.chatgpt.com/docs/auth). The current SVG/PNG illustration was regenerated and visually checked at 1800×1440; the existing robot GIF has 12 frames and its static fallback matches the 1024×512 dimensions. The real npm tarball is inspected before publication; its exact checksum is recorded with the GitHub Release. Roadmaps, research, the local issue report and AGENTS.md remain local and are excluded from the package.
6
+
7
+ Real provider/subscription access and full desktop/SSH workflows are not claimed by these offline release checks. The prior development records below retain their own dates, environments and validation limits.
8
+
9
+ # Workflow archive and alias development validation (2026-10-28)
10
+
11
+ Added session/workspace-scoped `workflow_status` and `workflow_set_alias`, explicit archive eligibility/rejection diagnostics, verified-recording retention after archive write failure, read-back confirmation and a guard that waits for archiving before starting a follow-up goal. Ordinary tasks remain unrecorded; these tools cannot recover an old, lost recording or manufacture a workflow from chat history. In-memory status and retry buffers are cleared on session changes, new recordings/alias runs, disablement or restart; already persisted workflows remain in Settings.
12
+
13
+ Local Linux / Node 22.23.3 validation: 760 tests, 754 passed and 6 Windows-only skips; skill bundle/check, typecheck, production build and `git diff --check` passed. Regression fixtures cover the four-step upload/extract/check/apply sequence followed by “设置别名为 pm1”, unrecorded and disabled states, archive rejection, failed-write retry, session/workspace/ID isolation, read-only writes, deleted/replaced workflows, concurrent retry deduplication and a follow-up arriving during archive persistence. No model inference or original upload/apply operations were performed. An initial full run under the shell's Node 20.20.2 failed two Pi tests because they require Node >=22.19; the complete suite passed after switching to Node 22.
14
+
15
+ Both READMEs were rendered with the Markdown parser and checked for the centered header, provider table, workflow tool descriptions, absolute public image paths and reduced-motion fallback. The SVG/PNG illustration now shows an explicitly recorded workflow and a saved `/pm1` alias and was previewed at 1800×1440. The robot animation and static fallback are unchanged. Real Tabby desktop/SSH behavior, macOS/Windows execution, CI and publication are not established by these local fixtures; no commit, tag or release was requested.
16
+
17
+ # v0.4.1 release validation (2026-10-25)
18
+
19
+ The release includes custom OpenAI-compatible Chat Completions/Responses connections, explicit no-key authentication, protocol-safe history/context transfer, Kimi/Alibaba Coding Plan presets, continuous API/Claude Code goals and model → reasoning selection. Local HTTP/SSE and CLI/MCP fixtures exercise discovery, native request parameters, streaming, continuous tool rounds, approvals, read-only behavior, cancellation, usage/budgets, repeated-loop protection, history recovery and context handoff. Existing provider fingerprints remain unchanged.
20
+
21
+ Local checks: `npm run skill:bundle`, `npm run skill:check`, `npm run typecheck`, `npm test` (710 tests: 704 passed, 6 Windows-only skips), `npm run build` and `git diff --check`. The two READMEs are rendered and checked for title, model table, image paths and reduced-motion fallback. The versioned SVG/PNG illustration is previewed and the robot GIF's animation/static dimensions are checked. A real npm tarball is inspected for version, entry point, runtime dependency, complete docs, bilingual READMEs, images and bundled skill; local instructions, research, credentials and node_modules are excluded. Branch and tag Linux/macOS/Windows CI are checked during release; remote publication and artifact integrity are verified after upload.
22
+
23
+ The first pre-tag Windows CI exposed a Claude batch-launcher default-import interop failure in the CommonJS test harness. The launcher now uses the same named `cross-spawn` export as Codex; the regression test covers Windows batch/native selection and piped arguments on every platform. The v0.4.0 tag then exposed a macOS stdin-close race after the branch checks passed. Claude now ignores EPIPE and pipe errors after close, relying on the process exit status, while preserving other pipe failures. A regression simulates early EPIPE and late errors without signaling a stale process group. The v0.4.0 tag remains unchanged and is not published to npm; v0.4.1 carries the fix.
24
+
25
+ No paid model request was made. Real third-party gateways, membership access/quota deduction and full Tabby desktop/SSH behavior remain unverified. These limits also apply to the local Claude Code integration included since the previous npm release. The prior development validation records below describe their own scope and dates.
26
+
27
+ The macOS CLI-discovery cancellation regression retains its ESRCH assertion but allows up to two seconds for kernel PID reaping after termination, avoiding an assumption that process IDs disappear synchronously. A still-running query continues to fail the test.
28
+
29
+ # Claude Code local-login development validation (2026-10-24)
30
+
31
+ The new native connection runs the installed official CLI with its own login and an authenticated loopback MCP bridge. Existing Claude API configuration remains separate. The implementation and official references are documented in [Claude Code integration](docs/claude-code.md).
32
+
33
+ Local Linux validation passed: `npm run skill:bundle`, `npm run skill:check`, `npm run typecheck`, `npm test` (522 tests: 516 passed, 6 Windows-only skips), `npm run build`, and `git diff --check`. The 21 new offline tests exercise real child-process pipes and HTTP MCP for streaming, successful native resume, portable history, crash recovery, read-only restrictions, accepted/rejected approvals, cancellation during approvals, unexpected CLI exit, malformed/truncated output, usage accounting/budgets, queued messages, repeated-tool detection, independent settings, native scheduler execution, and the isolated candidate-model probe. No model inference was performed.
34
+
35
+ The real Angular settings component was rendered in Chromium at 320, 600, and 1100 pixels in dark and light themes. Connection selection, independent model persistence, default badges, and input layout passed without horizontal overflow or browser errors. Scripts, screenshots, and report: `artifacts/claude-code-20261024/` (local validation artifacts). The real Angular sidebar also passed at 320 and 600 pixels: the native connection is selected, API Thinking controls stay hidden, native status/permission labels render, the selector remains within the viewport, and both status columns keep readable widths without browser errors (`artifacts/claude-code-sidebar-20261024/`). Both READMEs were rendered with the CommonMark parser and their model tables and image fallback markup were checked. Both README documents, the guide, development/architecture notes, bundled skill, and SVG/PNG illustration were updated. The illustration explicitly describes an unreleased development example; the robot GIF and static reduced-motion fallback are preserved.
36
+
37
+ No Claude Code installation or logged-in subscription is available on this host. Actual subscription inference, Tabby desktop/SSH behavior, and macOS/Windows execution are not established by these tests. No GitHub CI run, release, or npm publication was performed for this development change.
38
+
1
39
  # v0.3.0 release validation (2026-10-24)
2
40
 
3
41
  Automatic terminal takeover removes the foreground-detection confirmation dialog for ordinary and scheduled tasks. SSH/unknown enumeration proceeds without a confirmation callback or blind Ctrl+C. Detected unrelated processes are interrupted only after the agent marks them unnecessary, with stop/session/ownership checks and verification that the process ended. Needed processes and other owners remain protected.
@@ -235,3 +273,21 @@ HTTP 服务工作目录只含 tabby-codex-windows-validation.tar.gz,日志和
235
273
  新增路径矩阵测试、prefix 故障/超时/取消测试,以及 Windows 真实 npm.cmd 查询和 codex.cmd JSONL 连接夹具。源路径固定为临时目录;不访问真实模型,不将本机发现规则模拟报告为 macOS/Windows 桌面端到端验证。完整结果见发布说明和本次 GitHub Actions 分支/标签运行记录。
236
274
 
237
275
  本地 Linux 结果:501 项测试,495 通过、6 项平台跳过;skill bundle/check、TypeScript、生产构建及 git diff --check 通过。Windows 专用 npm.cmd 连接测试仅在真实 Windows CI 上执行,本机明确跳过。
276
+
277
+
278
+ ## 2026-10-26 — optional Pi runtime (unreleased)
279
+
280
+ Development/CI Node is pinned to 22.19.0; the Angular plugin retains TypeScript 4.9 and the separate Pi ESM build uses pinned TypeScript 5.9.3. `npm ci --ignore-scripts`, skill bundle/check, both type checks, production webpack + Pi build, and `git diff --check` passed locally. The initial implementation suite reported 743 tests: 737 pass and 6 platform-specific skips. No real model calls were used.
281
+
282
+ Actual Pi SDK 1.4.0 HTTP fixtures cover Chat Completions, Responses and Anthropic streaming; registered host tools only; serial execution; policy denial in durable history; 429 after a completed tool without replay; cancellation during backoff; quota exhaustion; native Goal continuation without an outer API replay; restart and model handoff; repeated compaction with raw entry retention; summary usage and budget exhaustion; API projection boundaries and summary source hashes; duplicate-action result reuse and unknown-result refusal; process death during a host tool wait; and accepted-input reconciliation after host persistence failure; missing authoritative history failing closed; and repeated text with fresh tool observations remaining valid progress. UI regression checks cover structured retry delays, late cancellation events, and the separate /compact maintenance turn. Readiness probes use the actual external Pi path with a harmless nonce tool.
283
+
284
+ An additional official Linux Tabby desktop fixture was executed using downloaded Tabby 1.0.238 (release tarball SHA-256 `36436de2c2f8651ebed4a222e759583d6fedf3f62904b13d7c9599a084859309`). Under Xvfb, the actual host reported Electron 43.7.0 / Node 24.21.0. An isolated configuration loaded the plugin and rendered Pi runtime settings. The sidebar used external Node 22.19.0, received three local-provider streaming responses, called the actual Tabby list_tabs host bridge, received the Welcome tab metadata, updated its Goal with evidence and displayed `PI_DESKTOP_FIXTURE_OK`. The bridge inspected the isolated desktop's actual tabs; it did not execute a terminal command or contact a real model.
285
+
286
+ The implementation branch configures the full check matrix on Ubuntu, macOS and Windows with Node 22.19.0; consult its GitHub checks for authoritative remote results. Real provider credentials, subscription access, SSH/PTY mutation and real-model summary quality remain unverified. Pi stays optional and does not replace Codex, Claude Code or the API backend. The overview SVG/PNG is a development illustration, not the desktop fixture screenshot; the existing 12-frame robot GIF and static fallback are preserved. Research/evidence and local AGENTS.md remain excluded from Git and npm packaging. No version/tag/npm/GitHub release was requested or performed.
287
+
288
+
289
+ ## 2026-10-27 — Pi review fixes (unreleased)
290
+
291
+ Seven new regressions reproduced the three review findings before the fix. They exercise real SDK `steer → interrupt → /compact → restart → continue` sequences with both actual and no-op compaction; truncated streaming responses with and without an active Goal; and request construction at Kimi Coding mainland, international and proxy URLs by intercepting the SDK fetch boundary without network access. Assertions cover queued corrections and unknown-outcome recovery reaching the next model request exactly once, unchanged compaction acknowledgement cursors, retained partial text/token usage with a failed turn, no silent truncation continuation, and explicit system/max_tokens compatibility with thinking enabled.
292
+
293
+ The fixes change context acknowledgement, error classification and provider wire configuration; the existing settings and interface illustration remain accurate. No real model requests or quota-consuming smoke tests were used. Skill bundle/check, both type checks, production build and diff checks passed locally. The updated full suite reports 750 tests: 744 pass and 6 platform-specific skips on Linux. Current-head cross-platform results are recorded in the implementation PR checks.