tabby-ai-tools 0.4.1 → 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 +6 -2
- package/README.zh-CN.md +6 -2
- package/VALIDATION.md +34 -0
- package/dist/index.js +1 -1
- package/dist/pi/provider.mjs +47 -0
- package/dist/pi/sidecar.mjs +215 -0
- package/docs/assets/overview.png +0 -0
- package/docs/assets/overview.svg +29 -29
- package/docs/development.md +21 -3
- package/docs/guide.md +15 -6
- package/docs/pi.md +41 -0
- package/docs/releases/0.5.0.md +19 -0
- package/docs/releases/pi-runtime.md +11 -0
- package/docs/releases/unreleased.md +1 -1
- package/docs/task-workflows.md +19 -1
- package/package.json +9 -4
- package/skills/tabby/SKILL.md +12 -2
- package/skills/tabby/references/operations.md +10 -0
- package/docs/provider-roadmap.md +0 -162
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
|
-

|
|
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).
|
|
@@ -89,7 +93,7 @@ Describe the targets, order, conditions, and verification criteria. The assistan
|
|
|
89
93
|
|
|
90
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.
|
|
91
95
|
|
|
92
|
-
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
|
|
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#任务编排与多服务器协作).
|
|
93
97
|
|
|
94
98
|
## Schedule checks, decisions, actions, and verification
|
|
95
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
|
-

|
|
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)。
|
|
@@ -89,7 +93,7 @@ v0.4.1 已支持自定义连接。Base URL 示例为 `https://gateway.example/v1
|
|
|
89
93
|
|
|
90
94
|
> 在 staging-app 和 staging-db 上检查应用与数据库连接。先确认数据库正常,再检查应用配置;发现问题先说明原因,在我授权后修复,最后验证应用健康检查。
|
|
91
95
|
|
|
92
|
-
支持按执行结果决定下一步,也可以操作终端中的其他交互式 Agent。用 `/remember 任务描述`
|
|
96
|
+
支持按执行结果决定下一步,也可以操作终端中的其他交互式 Agent。用 `/remember 任务描述` 开始录制,任务成功结束后可在侧栏或直接告诉助手设置别名(如 `task1`),下次发送 `/task1` 即执行该流程,并重新核对当前环境。各步骤保存服务器 IP、持久连接/服务器 ID、操作路径及验收条件;多服务器按顺序执行,前一步通过结果验收后才放行下一步。助手可用 `workflow_status` / `workflow_set_alias` 查询录制、归档状态并保存别名;checkpoint 成功不等于归档成功,无法归档时显示原因。普通任务不录制,也不能事后补存。含 sudo 的流程会提前提示在各执行终端运行 `sudo -v` 或 `sudo ls`,任务期间保持认证有效。[查看编排与复用方法](docs/guide.md#任务编排与多服务器协作)。
|
|
93
97
|
|
|
94
98
|
## 定时任务:到点检查、判断、执行与验证
|
|
95
99
|
|
package/VALIDATION.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
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
|
+
|
|
1
17
|
# v0.4.1 release validation (2026-10-25)
|
|
2
18
|
|
|
3
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.
|
|
@@ -257,3 +273,21 @@ HTTP 服务工作目录只含 tabby-codex-windows-validation.tar.gz,日志和
|
|
|
257
273
|
新增路径矩阵测试、prefix 故障/超时/取消测试,以及 Windows 真实 npm.cmd 查询和 codex.cmd JSONL 连接夹具。源路径固定为临时目录;不访问真实模型,不将本机发现规则模拟报告为 macOS/Windows 桌面端到端验证。完整结果见发布说明和本次 GitHub Actions 分支/标签运行记录。
|
|
258
274
|
|
|
259
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.
|