tabby-ai-tools 0.9.0 → 0.9.2
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 +10 -4
- package/README.zh-CN.md +10 -4
- package/VALIDATION.md +56 -0
- package/dist/index.js +1 -1
- package/docs/assets/overview.png +0 -0
- package/docs/assets/overview.svg +17 -12
- package/docs/claude-code.md +14 -3
- package/docs/codex-installation-recovery.md +40 -0
- package/docs/development.md +11 -0
- package/docs/guide.md +14 -3
- package/docs/instructions-sessions.md +15 -5
- package/docs/releases/0.9.1.md +15 -0
- package/docs/releases/0.9.2.md +15 -0
- package/docs/releases/instructions-sessions.md +1 -1
- package/docs/scheduled-tasks.md +1 -1
- package/package.json +1 -1
- package/skills/tabby/SKILL.md +4 -1
- package/skills/tabby/references/operations.md +8 -3
package/README.md
CHANGED
|
@@ -22,7 +22,11 @@
|
|
|
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
|
+
|
|
27
|
+
**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
|
+
|
|
29
|
+
**Fixed in v0.9.1:** ordinary commands, stdin, Enter and process attachment work when workflows are idle or disabled. Active workflow budgets and cancellation checks remain enforced. Private Codex/Claude spaces inherit available local login caches; an expired login offers explicit cache recovery and reconnect without replaying tasks. Missing Codex rollouts recover only when no saved context is available. Pi repeated-compaction tests allow more time on Windows. [Release notes](docs/releases/0.9.1.md).
|
|
26
30
|
|
|
27
31
|
**New in v0.9.0: image previews, incremental output and task logs.** Click a pasted image thumbnail to open a larger preview. Terminal reads support cursor paging and output waiting; task-scoped local logs provide bounded paging and literal search. Expired logs reclaim capacity, and delta reads preserve the controlled-terminal default wait. See [terminal logs](docs/terminal-logs.md) and [release notes](docs/releases/0.9.0.md).
|
|
28
32
|
|
|
@@ -56,8 +60,8 @@ Terminal output is read on demand with `read_tab`; it is no longer automatically
|
|
|
56
60
|
|
|
57
61
|
| Connection | How to use it |
|
|
58
62
|
| --- | --- |
|
|
59
|
-
| **ChatGPT subscription → local Codex** | Install Codex CLI and select **Codex (local login)**.
|
|
60
|
-
| **Claude subscription → local Claude Code** | Install the official CLI and select **Claude Code (local login)**.
|
|
63
|
+
| **ChatGPT subscription → local Codex** | Install Codex CLI and select **Codex (local login)**. Check selected-space login in Settings → AI Tools → Instructions and sessions; a missing private cache inherits a local ChatGPT file cache when available. Generate a login command if needed. |
|
|
64
|
+
| **Claude subscription → local Claude Code** | Install the official CLI and select **Claude Code (local login)**. Check the selected-space login; a missing private cache inherits a local OAuth file cache when available. Generate a login command if needed. |
|
|
61
65
|
| **OpenAI API** | Add an OpenAI connection with an API key, Base URL, and model ID. |
|
|
62
66
|
| **DeepSeek** | Add a DeepSeek API connection and choose the model and Thinking settings. |
|
|
63
67
|
| **GLM / Zhipu** | Add a GLM API connection using the endpoint and model available to your account. |
|
|
@@ -92,7 +96,7 @@ When elevated access is needed, manually run `sudo ls` or `sudo -v` in the same
|
|
|
92
96
|
## Start with your local ChatGPT subscription login
|
|
93
97
|
|
|
94
98
|
1. Install [Codex CLI](https://learn.chatgpt.com/docs/cli) on the computer running Tabby.
|
|
95
|
-
2. Open **Settings → AI Tools → Codex → Instructions and sessions**.
|
|
99
|
+
2. Open **Settings → AI Tools → Codex → Instructions and sessions**. Check the selected-space login first; a missing private cache imports an available local ChatGPT file cache. If needed, generate the selected-space login command, run it in a local terminal, complete the official ChatGPT login and check again. Unused connections default to a private space. For an existing **System space (legacy compatibility)** connection, the ordinary commands are:
|
|
96
100
|
|
|
97
101
|
```bash
|
|
98
102
|
codex login
|
|
@@ -107,6 +111,8 @@ Automatic discovery covers standalone installations (including `CODEX_INSTALL_DI
|
|
|
107
111
|
|
|
108
112
|
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-自动发现与启动排查).
|
|
109
113
|
|
|
114
|
+
Native CLI installation checks preserve explicit selector scope and existing session history. See [recovery behavior and limits](docs/codex-installation-recovery.md).
|
|
115
|
+
|
|
110
116
|
## Orchestrate tasks in natural language
|
|
111
117
|
|
|
112
118
|
Describe the targets, order, conditions, and verification criteria. The assistant can work through multiple servers and steps, using terminal feedback to guide each action. For example:
|
package/README.zh-CN.md
CHANGED
|
@@ -22,7 +22,11 @@
|
|
|
22
22
|
|
|
23
23
|
Tabby AI Tools 是集成在 [Tabby](https://github.com/Eugeny/tabby) 中的 AI 助手插件。它可以读取终端输出、发送命令,并根据执行结果继续分析和操作。你在侧栏描述目标,在终端查看过程,也可以随时取回输入控制。
|
|
24
24
|
|
|
25
|
-

|
|
26
|
+
|
|
27
|
+
**v0.9.2 修复:** Codex 检查已知 Windows 配套程序,允许在空闲边界恢复安装连接一次,不重放任务。Claude 本机登录在每次调用前重新检查配置的 CLI,并区分安装故障与未登录。Linux SSH 中已有原生 Agent 可经独立进程/PTY 核验接管。[发布说明与限制](docs/releases/0.9.2.md)。
|
|
28
|
+
|
|
29
|
+
**v0.9.1 修复:** 流程空闲或关闭时,普通命令、stdin、Enter 与进程接管可正常执行;活动流程的预算和取消校验继续生效。Codex/Claude 独立空间可继承已有本机登录文件缓存,登录失效时可明确选择重新复制并重连,不重放任务;缺失 Codex 会话仅在没有可恢复上下文时替换。Pi 连续压缩回归为 Windows 预留更充足的测试时间。[发布说明](docs/releases/0.9.1.md)。
|
|
26
30
|
|
|
27
31
|
**v0.9.0 新增图片预览、终端增量输出与任务日志。** 点击粘贴图片的缩略图可放大预览;终端支持游标分页和新输出唤醒,任务日志可在本机保存、分页和字面搜索。过期日志可自动回收容量,增量读取沿用受控终端的默认等待。见[终端日志说明](docs/terminal-logs.md)和[发布说明](docs/releases/0.9.0.md)。
|
|
28
32
|
|
|
@@ -56,8 +60,8 @@ Tabby AI Tools 是集成在 [Tabby](https://github.com/Eugeny/tabby) 中的 AI
|
|
|
56
60
|
|
|
57
61
|
| 连接方式 | 如何使用 |
|
|
58
62
|
| --- | --- |
|
|
59
|
-
| **ChatGPT 订阅 → 本机 Codex** | 安装 Codex CLI 并选择 **Codex
|
|
60
|
-
| **Claude 订阅 → 本机 Claude Code** | 安装官方 CLI 并选择 **Claude Code
|
|
63
|
+
| **ChatGPT 订阅 → 本机 Codex** | 安装 Codex CLI 并选择 **Codex(本机登录)**,先在设置的“指令与会话”检查选定空间登录;私有缓存缺失时会继承可用的本机 ChatGPT 文件缓存,必要时生成登录命令。 |
|
|
64
|
+
| **Claude 订阅 → 本机 Claude Code** | 安装官方 CLI 并选择 **Claude Code(本机登录)**,先检查目标空间登录;私有缓存缺失时会继承可用的本机 OAuth 文件缓存,必要时生成登录命令。 |
|
|
61
65
|
| **OpenAI API** | 添加 OpenAI 连接,配置 API Key、Base URL 和模型 ID。 |
|
|
62
66
|
| **DeepSeek** | 添加 DeepSeek API 连接,选择模型与 Thinking 设置。 |
|
|
63
67
|
| **GLM/智谱** | 添加 GLM API 连接,使用账号对应套餐的端点和模型。 |
|
|
@@ -92,7 +96,7 @@ v0.4.1 已支持自定义连接。Base URL 示例为 `https://gateway.example/v1
|
|
|
92
96
|
## ChatGPT 订阅用户如何开始
|
|
93
97
|
|
|
94
98
|
1. 在运行 Tabby 的本机安装 [Codex CLI](https://learn.chatgpt.com/docs/cli)。
|
|
95
|
-
2. 打开 **Settings → AI Tools → Codex →
|
|
99
|
+
2. 打开 **Settings → AI Tools → Codex → 指令与会话**,先检查选定空间认证;私有缓存缺失时会继承可用的本机 ChatGPT 文件缓存。必要时生成登录命令,在本地终端完成官方登录后再次检查。未使用过的连接默认采用独立空间。已有的**系统空间(旧版兼容)**连接可使用以下普通命令:
|
|
96
100
|
|
|
97
101
|
```bash
|
|
98
102
|
codex login
|
|
@@ -107,6 +111,8 @@ v0.4.1 已支持自定义连接。Base URL 示例为 `https://gateway.example/v1
|
|
|
107
111
|
|
|
108
112
|
Windows 默认留空(或填 `codex`)即可比较 PATH、桌面版、standalone 和已知 npm 安装的实际版本,选择已发现的最新 CLI,每次新连接重新扫描。明确填写文件路径可固定版本;填写稳定的 `OpenAI\Codex\bin` 目录则只比较这套安装。[查看路径查找说明](docs/guide.md#cli-自动发现与启动排查)。
|
|
109
113
|
|
|
114
|
+
原生 CLI 安装检查保留显式选择范围及现有会话历史。见[恢复行为与限制](docs/codex-installation-recovery.md)。
|
|
115
|
+
|
|
110
116
|
## 用自然语言编排任务
|
|
111
117
|
|
|
112
118
|
把目标、执行顺序、条件和验证要求一次说清,AI 就可以根据终端反馈推进跨服务器、多步骤任务。例如:
|
package/VALIDATION.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
# 0.9.1 native CLI login inheritance and recovery — 2026-11-06
|
|
2
|
+
|
|
3
|
+
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.
|
|
4
|
+
|
|
5
|
+
Linux / Node 22.22.0 full suite: **890 tests, 884 passed, 0 failed, 6 platform-only skips** (`/tmp/tabby-native-auth-tests.log`). Final provider-rollback and localized-template checks: **32 passed, 0 failed**. Tests cover both cache formats, original/custom/default paths, concurrent atomic initialization, private permissions, missing/API-key-only/invalid sources, explicit stale-cache replacement, real fixture process restarts, native history persistence, warning/draft preservation, no task replay, and Claude auth errors reported only in final JSON before exit 1. Type checking, skill bundle/check and production build pass.
|
|
6
|
+
|
|
7
|
+
The real local Codex CLI recognized ChatGPT login in a temporary private home and again after replacing a deliberately invalid private cache through the recovery method. Only initialization and `account/read` ran; no model request was sent. Temporary credential copies were removed after process shutdown; retained evidence contains only account type and a zero model-request count (`/tmp/tabby-native-auth-real-result.json`). There is no local Claude file cache, so real Claude account recovery remains unverified; offline CLI fixtures cover its recovery path. OS-keychain-only login still needs official authentication in the selected space.
|
|
8
|
+
|
|
9
|
+
Chrome exercised the actual component warning/recovery methods with a stubbed backend and the dialog template/CSS at 375×640 in light/dark themes. Native modal display, autofocus, Tab navigation, Escape dismissal, reopening, explicit recovery and draft retention passed (`/tmp/tabby-native-auth-ui/`). This is a component browser fixture, not a full Tabby desktop or Windows/macOS account validation.
|
|
10
|
+
|
|
1
11
|
# v0.8.2 CLI startup and inline attachment fixes — 2026-11-03
|
|
2
12
|
|
|
3
13
|
The startup regression tests reproduce a background Codex connection with no space metadata followed by the sidebar’s explicit system-space connection, and verify one process/connected event with no cancellation. Runtime tests suppress superseded attempts after recovery. Claude Code tests cover concurrent discovery reuse, replacement/close cancellation, failure and subsequent retry. Clipboard fixtures cover text preservation, WebP previews/removal/partial failure; cached previews enforce conversation ownership.
|
|
@@ -418,3 +428,49 @@ Limits: no new actual desktop/SSH or macOS/Windows validation, no cross-space lo
|
|
|
418
428
|
## Terminal log capacity and delta wait review fixes
|
|
419
429
|
|
|
420
430
|
Expired sealed log metadata is reclaimed before the 2,000-record admission check; file deletion and byte accounting run after pending writes on the same queue. Active captures and pinned readers remain protected. Delta reads receive the resolved read_tab wait, preserving the 1,000 ms controlled-terminal default, explicit zero and uncontrolled-terminal behavior. `npm run test:terminal-logs` passed all 50 cases on the current Node runtime, including full-capacity recovery with queued writes and pinned readers. The full suite passed 839 tests with 39 conditional skips and zero failures (878 total); typecheck, skill consistency, production build and diff whitespace checks passed. No real model or desktop session was used for these fixes.
|
|
431
|
+
|
|
432
|
+
## 0.9.0 ordinary terminal dispatch and Pi test timeout fixes — 2026-11-05
|
|
433
|
+
|
|
434
|
+
An enabled but idle workflow library returned the same undefined token captured by an ordinary terminal call. The helper-budget guard treated that equality as an active run and called `runtime`, which rejected the call before terminal dispatch. The panel now requires a defined token as well as current-token equality before reading workflow runtime. The existing runtime validation, checkpoint rules and terminal adapter checks remain in place.
|
|
435
|
+
|
|
436
|
+
Panel regressions exercise actual adapter calls for command input, stdin, Enter and process attachment under Codex/API with workflows idle or disabled. They also cover active workflow helper costs below/at the goal budget, no-helper handling, and cancellation/replacement while a budget query is pending; a stale runtime token still rejects and the cancelled action cannot reach the adapter or alter the replacement run. Existing workflow and terminal adapter tests cover checkpoint ordering, read-only policy, ownership and live-process verification. The targeted four-file suite passed all 120 cases on Linux / Node 20.20.2.
|
|
437
|
+
|
|
438
|
+
The repeated Pi compaction test now allows 90 seconds on every platform for ten sidecar turns. User-provided Windows Node 22.19.0 diagnostics completed the unchanged assertions in 33,408 ms, exceeding the previous 30-second limit. Product compaction code and all history, summary-cost and resumption assertions are unchanged. On this Linux host with existing Node 22.19.0, the isolated test passed in 6.03 seconds and the full-suite case in 8.49 seconds.
|
|
439
|
+
|
|
440
|
+
Final local `npm test` on Node 22.19.0: 903 cases, 897 passed, zero failed/cancelled, six Windows-only skips. `npm run skill:bundle`, `npm run skill:check`, `npm run typecheck`, `npm run build` (including Pi packaging) and `git diff --check` passed. Logs: `/tmp/tabby-090-fix-targeted.log`, `/tmp/tabby-090-fix-compaction.log`, `/tmp/tabby-090-fix-node22-tests.log`, `/tmp/tabby-090-fix-typecheck.log`, `/tmp/tabby-090-fix-build.log`. No paid model requests, actual Windows/macOS desktop retest, remote CI, version bump, commit or publication was performed. AGENTS.md and research remain locally ignored.
|
|
441
|
+
|
|
442
|
+
## 0.9.1 patch release scope — 2026-11-06
|
|
443
|
+
|
|
444
|
+
This patch packages the preceding native CLI login/session recovery commit, ordinary terminal dispatch fix and repeated-compaction test timeout adjustment described in the preceding implementation snapshot. The bilingual README, guide, development notes, release notes and synchronized overview SVG/PNG describe the final scope; robot GIF/static assets remain unchanged. The preceding recovery commit updated model-facing skill/knowledge; tool schemas and runtime dependencies are unchanged. ChatGPT entitlement/login wording was checked against the official authentication and developer-command pages on 2026-11-06.
|
|
445
|
+
|
|
446
|
+
Release checks and exact-tarball installation evidence are retained in `/tmp/tabby-release-0.9.1-20261106/`; the published GitHub Release records the final check results, branch/tag three-platform CI links and tarball SHA-256. The preceding implementation snapshot's statement that no publication was performed applies to that earlier validation run. No new paid model or actual desktop/SSH tests are included in this patch release.
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
## Implementation validation before v0.9.2 — 2026-11-07
|
|
450
|
+
|
|
451
|
+
Windows native discovery validates known companion requirements before semantic-version selection, including single candidates and existing explicit selectors. Older/unknown and batch/vendor layouts retain their scope. Runtime owned stderr/RPC/turn errors and repeated health checks cover files disappearing after discovery. Installation recovery permits one shared rescan/rebuild at a known idle boundary, accounts for concurrent/resumed turns and pending tool replies, and never replays tasks, terminal input or goals. Native locks wait for cleanup without aborting recovery. Source and limits are documented in [Codex installation recovery](docs/codex-installation-recovery.md).
|
|
452
|
+
|
|
453
|
+
SSH attachment now verifies native Linux foreground PID, process start time and exact PTY through independent exec and random output-only OSC proof, including still-running deleted executables. Each input repeats the proof; stopped/changed sessions, owners and read-only policy remain enforced. A hung channel opener is bounded even before host channel abort handling is installed. Diagnostics do not collect argv, environment or credentials. Unsupported/multiplexed/nested topologies still fail without input or restarting the Agent.
|
|
454
|
+
|
|
455
|
+
Pre-Claude-review full regression on local Linux with existing Node 22.23.3: **939 total, 933 passed, six platform skips, zero failed/cancelled**; log `/tmp/tabby-20261107-final-tests.log`. Targeted real Linux PTY and hung-opener tests passed (7/7), with no stdin writes; discovery compatibility review passed 41/41 and the final client recovery suite passed 19/19. Typecheck and skill consistency passed. The first Node 20 full run exposed three Windows IDE fallback regressions; their cause was corrected before the successful Node 22 full runs. Earlier fixture errors were corrected rather than labelled as passing.
|
|
456
|
+
|
|
457
|
+
No actual Windows/macOS Tabby, user SSH-pane end-to-end test, new paid inference, remote CI, release, deployment, version bump, commit, tag or push is included. User-provided successful Windows CLI/tool evidence is distinct from this local test run. Research/AGENTS.md remain locally ignored. The final production build also passed (`/tmp/tabby-20261107-final-build.log`). Exact-tarball installation results and checksum are retained separately in the adjacent artifact verification record and local research/validate-todo.md; the package does not contain local research.
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
### Claude local update-path review and final combined regression — 2026-11-07
|
|
461
|
+
|
|
462
|
+
The additional review found cached connection-time absolute CLI paths being reused by later Claude invocations, plus auth-status spawn/JSON/schema failures being over-classified as logout. Every native invocation now re-resolves the original selector and checks help/auth before inference, including goal continuation; explicit/custom selector scope is retained. A preflight failure keeps the last successful native session reference. Once inference input is submitted there is no automatic retry. Exit-1 auth output is accepted only when JSON explicitly reports `loggedIn=false`; contradictory or malformed output is not treated as authenticated. No shared Codex/Claude helper layout is assumed.
|
|
463
|
+
|
|
464
|
+
Claude/session-space targeted regressions passed 41/41, including changed default installation paths, pinned-path removal, removed CLI tool flags, resumed native sessions with new input only, and launcher deletion between help and auth checks. Final combined full suite on Linux / Node 22.23.3: **943 total, 937 passed, six platform skips, zero failures/cancellations** (`/tmp/tabby-20261107-codex-claude-tests.log`). Typecheck, skill consistency and whitespace checks passed. The final production build for this added scope passed; exact-tarball installation evidence is retained alongside the local tarball. Real Windows/macOS Tabby, the user's actual SSH pane and real Claude account/tool invocation remain unverified. The new default-CLI/update compatibility review requirement lives only in the locally ignored AGENTS.md.
|
|
465
|
+
|
|
466
|
+
## v0.9.2 release verification — 2026-11-07
|
|
467
|
+
|
|
468
|
+
This patch packages the preceding Codex installation/idle recovery, Claude per-invocation CLI checks and Linux SSH identity maintenance. Earlier statements about no commit, version bump or publication describe the implementation snapshot above. The bilingual README, guide, Claude/development notes, release notes and synchronized overview SVG/PNG describe v0.9.2; bundled skill/knowledge includes the new operation boundaries. Robot GIF/static fallback and runtime dependencies remain unchanged.
|
|
469
|
+
|
|
470
|
+
The release process runs skill bundle/check, both TypeScript boundaries, the complete automated suite, production webpack/Pi builds, whitespace checks, rendered bilingual README/artwork inspection and exact-tarball installation with lifecycle scripts enabled and no Node on PATH. Final exit codes, package path/checksums and render evidence are retained in `/tmp/tabby-release-0.9.2-20261107/`; the GitHub Release records actual results and branch/tag three-platform CI plus OIDC publication evidence.
|
|
471
|
+
|
|
472
|
+
Codex default discovery, helper health, connection reuse, races and one-attempt recovery are covered by local process fixtures, including pending tools, session retention and no replay. Claude local has separate entrypoint/flag/auth/session and MCP round-trip fixtures; no common helper layout is assumed. Real Linux PTY proof is local, with SSH behavior covered by transport fixtures. Actual Windows/macOS Tabby, the user's SSH pane and real Claude account/model invocation remain unverified. Routine release validation does not make paid model requests. Existing Electron-host lifecycle/tool-round-trip tests cover the unchanged built-in Pi runtime; CI is distinct from actual desktop evidence.
|
|
473
|
+
|
|
474
|
+
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
|
+
|
|
476
|
+
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.
|