tabby-ai-tools 0.3.2 → 0.4.1
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 +15 -2
- package/README.zh-CN.md +14 -1
- package/VALIDATION.md +22 -0
- package/dist/index.js +1 -1
- package/docs/assets/overview.png +0 -0
- package/docs/assets/overview.svg +57 -36
- package/docs/claude-code.md +57 -0
- package/docs/coding-plans.md +39 -0
- package/docs/development.md +21 -1
- package/docs/guide.md +36 -11
- package/docs/multi-provider-agent.md +25 -4
- package/docs/provider-roadmap.md +162 -0
- package/docs/releases/0.4.0.md +3 -0
- package/docs/releases/0.4.1.md +21 -0
- package/docs/releases/unreleased.md +3 -0
- package/package.json +6 -3
- package/skills/tabby/SKILL.md +4 -2
- package/skills/tabby/references/operations.md +13 -3
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
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
|
|
|
@@ -35,12 +35,25 @@ Terminal takeover is automatic: unavailable foreground-process detection (includ
|
|
|
35
35
|
| Connection | How to use it |
|
|
36
36
|
| --- | --- |
|
|
37
37
|
| **ChatGPT subscription → local Codex** | Install Codex CLI locally, run `codex login`, and select **Codex (local login)** in AI Tools. |
|
|
38
|
+
| **Claude subscription → local Claude Code** | Install the official CLI, run `claude auth login`, check `claude auth status`, and select **Claude Code (local login)**. |
|
|
38
39
|
| **OpenAI API** | Add an OpenAI connection with an API key, Base URL, and model ID. |
|
|
39
40
|
| **DeepSeek** | Add a DeepSeek API connection and choose the model and Thinking settings. |
|
|
40
41
|
| **GLM / Zhipu** | Add a GLM API connection using the endpoint and model available to your account. |
|
|
42
|
+
| **Kimi API** | Select **Kimi API**, choose China mainland or International, and use an open-platform key. |
|
|
43
|
+
| **Kimi Coding Plan** | Select **Kimi Coding Plan**, choose the region, and use a Kimi Code membership key. |
|
|
44
|
+
| **Alibaba Cloud Coding Plan** | Select the dedicated Coding Plan provider and region, then use its plan key (`sk-sp-`). |
|
|
41
45
|
| **Claude / Anthropic** | Add a Claude API connection with its API key and model ID. |
|
|
46
|
+
| **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. |
|
|
42
47
|
|
|
43
|
-
|
|
48
|
+
**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.
|
|
49
|
+
|
|
50
|
+
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.
|
|
51
|
+
|
|
52
|
+
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.
|
|
53
|
+
|
|
54
|
+
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.
|
|
55
|
+
|
|
56
|
+
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
57
|
|
|
45
58
|
## Work with servers on a private network
|
|
46
59
|
|
package/README.zh-CN.md
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
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
|
|
|
@@ -35,13 +35,26 @@ Tabby AI Tools 是集成在 [Tabby](https://github.com/Eugeny/tabby) 中的 AI
|
|
|
35
35
|
| 连接方式 | 如何使用 |
|
|
36
36
|
| --- | --- |
|
|
37
37
|
| **ChatGPT 订阅 → 本机 Codex** | 本机安装 Codex CLI,执行 `codex login`,在插件中选择 **Codex(本机登录)**。 |
|
|
38
|
+
| **Claude 订阅 → 本机 Claude Code** | 安装官方 CLI,执行 `claude auth login`,确认 `claude auth status`,在侧栏选择 **Claude Code(本机登录)**。 |
|
|
38
39
|
| **OpenAI API** | 添加 OpenAI 连接,配置 API Key、Base URL 和模型 ID。 |
|
|
39
40
|
| **DeepSeek** | 添加 DeepSeek API 连接,选择模型与 Thinking 设置。 |
|
|
40
41
|
| **GLM/智谱** | 添加 GLM API 连接,使用账号对应套餐的端点和模型。 |
|
|
42
|
+
| **Kimi API** | 选择 **Kimi API** 和中国内地/国际区域,使用开放平台 Key,按量计费。 |
|
|
43
|
+
| **Kimi Coding Plan** | 选择 **Kimi Coding Plan** 和服务区域,使用 Kimi Code 会员套餐 Key。 |
|
|
44
|
+
| **阿里云百炼 Coding Plan** | 选择专用的 Coding Plan 供应商和区域,使用套餐 Key(`sk-sp-`)。 |
|
|
41
45
|
| **Claude/Anthropic** | 添加 Claude API 连接,配置其 API Key 和模型 ID。 |
|
|
46
|
+
| **自定义 OpenAI 兼容服务** | 选择 **自定义(OpenAI 兼容)**,填写 Base URL 和模型 ID;协议默认 Chat Completions,也可选 Responses。支持直接输入密钥、环境变量或无需密钥。 |
|
|
47
|
+
|
|
48
|
+
**v0.4.1 已支持 Claude Code 订阅接入。** 插件运行本机官方 CLI,不读取或保存订阅凭据;账号权益、额度和实际认证方式由 CLI 决定。已有 API Key 或云平台配置可能走独立计费。安装与限制见 [Claude Code 接入说明](docs/claude-code.md)。尚未完成真实订阅账号的端到端验证。
|
|
49
|
+
|
|
50
|
+
v0.4.1 已支持 Kimi 与阿里云百炼 Coding Plan 接入,均提供国内与国际端点预设。详见[端点、密钥与配置说明](docs/coding-plans.md)。套餐用于个人交互式编程,无人值守定时任务应使用适合该场景的普通 API。真实套餐准入和扣费尚未验证。
|
|
51
|
+
|
|
52
|
+
侧栏模型浮窗统一先选模型,再选 reasoning/推理强度,适用于 API 连接和 Claude Code;可选服务商默认或手动填写等级。API 与 Claude Code 的未完成目标默认自动继续,无需点击 Continue;停止、token 预算及主动设置的工具轮数上限仍然生效。
|
|
42
53
|
|
|
43
54
|
可保存多个命名连接,在侧栏切换;支持获取模型列表或手动填写模型 ID。API 连接使用对应供应商的 API 凭据和计费,无需安装 Codex CLI。使用代理时,端点须兼容所选供应商协议。
|
|
44
55
|
|
|
56
|
+
v0.4.1 已支持自定义连接。Base URL 示例为 `https://gateway.example/v1` 或 `http://localhost:1234/v1`,不要附加 `/chat/completions` 或 `/responses`。终端任务要求 SSE 流式响应和工具调用;使用 `/models` 获取模型,不支持时可手动填写。HTTP 仅限本地回环地址。详见[自定义接口配置与限制](docs/guide.md#自定义-openai-兼容接口)。
|
|
57
|
+
|
|
45
58
|
## 内网服务器,也能使用 AI
|
|
46
59
|
|
|
47
60
|
服务器无法访问外网时,只要你的电脑能连接 AI 服务,同时能通过 Tabby 连接服务器,就可以让 AI 通过 SSH 终端读取日志、排查问题、执行命令并验证结果。服务器无需访问模型服务,也无需安装 AI Agent;用于分析的终端内容由本机发送给所选模型服务。
|
package/VALIDATION.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
# v0.4.1 release validation (2026-10-25)
|
|
2
|
+
|
|
3
|
+
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.
|
|
4
|
+
|
|
5
|
+
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.
|
|
6
|
+
|
|
7
|
+
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.
|
|
8
|
+
|
|
9
|
+
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.
|
|
10
|
+
|
|
11
|
+
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.
|
|
12
|
+
|
|
13
|
+
# Claude Code local-login development validation (2026-10-24)
|
|
14
|
+
|
|
15
|
+
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).
|
|
16
|
+
|
|
17
|
+
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.
|
|
18
|
+
|
|
19
|
+
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.
|
|
20
|
+
|
|
21
|
+
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.
|
|
22
|
+
|
|
1
23
|
# v0.3.0 release validation (2026-10-24)
|
|
2
24
|
|
|
3
25
|
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.
|