tabby-ai-tools 0.9.4 → 1.1.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 +27 -8
- package/README.zh-CN.md +26 -7
- package/VALIDATION.md +25 -0
- package/dist/index.js +1 -1
- package/dist/mcp/THIRD_PARTY_NOTICES.txt +754 -0
- package/dist/mcp/electron-host.cjs +801 -0
- package/dist/mcp/utility.cjs +24513 -0
- package/docs/assets/overview.png +0 -0
- package/docs/assets/overview.svg +66 -49
- package/docs/claude-code.md +9 -3
- package/docs/codex-installation-recovery.md +8 -0
- package/docs/development.md +36 -2
- package/docs/guide.md +48 -15
- package/docs/instructions-sessions.md +9 -7
- package/docs/mcp.md +310 -0
- package/docs/multi-provider-agent.md +1 -1
- package/docs/releases/1.0.0.md +26 -0
- package/docs/releases/unreleased.md +18 -1
- package/docs/terminal-logs.md +3 -1
- package/package.json +11 -6
- package/skills/tabby/SKILL.md +12 -3
- package/skills/tabby/references/operations.md +16 -2
- package/skills/tabby-mcp/SKILL.md +47 -0
- package/skills/tabby-mcp/references/connection.md +79 -0
package/README.md
CHANGED
|
@@ -18,7 +18,13 @@
|
|
|
18
18
|
|
|
19
19
|
</div>
|
|
20
20
|
|
|
21
|
-
**
|
|
21
|
+
**Unreleased sidebar polish:** the login/logout dropdown closes on outside interaction or Escape; status summaries open details without a duplicate header button.
|
|
22
|
+
|
|
23
|
+
**Unreleased MCP setup fix:** preserved older skills now show token-mode guidance, the current source and copyable connection instructions. Register the generated configuration in the intended Codex space, reload the client and verify MCP tools; `auto` applies only to checked terminals. [Connection steps](docs/mcp.md).
|
|
24
|
+
|
|
25
|
+
**v1.0.0: external MCP terminal connections, faster reads and private Codex sign-in.** Connect local AI clients to explicitly shared terminals with read-only or controlled input permissions. Terminal snapshots wake on fresh output; private Codex spaces support browser sign-in and bounded login-cache recovery without replaying tasks. [Release notes](docs/releases/1.0.0.md).
|
|
26
|
+
|
|
27
|
+
**Conversation navigation and 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
28
|
|
|
23
29
|
<br>
|
|
24
30
|
|
|
@@ -40,12 +46,14 @@ Tabby AI Tools is an AI assistant inside [Tabby](https://github.com/Eugeny/tabby
|
|
|
40
46
|
|
|
41
47
|
<sub>Interface illustration with example tasks and connections; appearance varies with your Tabby theme and window size.</sub>
|
|
42
48
|
|
|
43
|
-
Thinking and tool activity stream into collapsed entries in the conversation. Expand an entry to inspect the text returned by the service, tool arguments and results; replies stay visible.
|
|
49
|
+
Thinking and tool activity stream into collapsed entries in the conversation. Expand an entry to inspect the text returned by the service, tool arguments and results; replies stay visible. **v1.0.0 terminal reads:** default terminal reads return early on new output, including unread output received after the task's input and before the read, or reliable shell completion. Output alone does not mark a command complete; multiline scripts keep their input lock. See [terminal waiting](docs/terminal-logs.md). Thinking entries appear only after readable text arrives; Codex and supported OpenAI reasoning requests enable summaries. Selecting and copying sidebar text does not send Ctrl+C to the active terminal.
|
|
44
50
|
|
|
45
51
|
**Fixed in v0.7.1:** Windows default discovery compares installed Codex CLI versions, so an older PATH entry no longer hides a newer desktop installation. Desktop upgrade paths recover automatically. See the [release notes](docs/releases/0.7.1.md).
|
|
46
52
|
|
|
47
53
|
**Pi API configuration (v0.8.0):** new API connections recommend Pi SDK, with searchable native providers (including Gemini and OpenRouter), an offline SDK 1.4.0 model catalog, capability-based reasoning/output limits and four explicit custom protocols. Connection edits now use Save / Discard / Copy drafts. Existing connections keep their runtime and product presets. Local checks and paid model/tool tests are separate; OAuth/cloud identity and advanced import/export remain pending. See [Pi configuration and boundaries](docs/pi.md#unreleased-native-providers-and-connection-drafts-p0--p1).
|
|
48
54
|
|
|
55
|
+
**Unreleased Claude private-login fix:** the authentication warning provides a space-specific official login command and a check/reconnect action. System OAuth caches are no longer copied; history and drafts are retained without task replay.
|
|
56
|
+
|
|
49
57
|
**Custom instructions and private CLI history:** configure shared or per-connection instruction text/local AGENTS.md with previews and saved session snapshots. Unused Codex/Claude Code connections default to Tabby private history; existing CLI references retain an explicit compatibility mode. Generate a space-specific login command, check its authentication and switch when idle. See [instructions, authentication and migration](docs/instructions-sessions.md).
|
|
50
58
|
|
|
51
59
|
**New in v0.7.0:** readable thinking/tool activity, safe sidebar copying and earlier terminal readback after verified command completion. See the [release notes](docs/releases/0.7.0.md) for validation and limits.
|
|
@@ -64,8 +72,8 @@ Terminal output is read on demand with `read_tab`; it is no longer automatically
|
|
|
64
72
|
|
|
65
73
|
| Connection | How to use it |
|
|
66
74
|
| --- | --- |
|
|
67
|
-
| **ChatGPT subscription → local Codex** | Install Codex CLI and select **Codex (local login)**.
|
|
68
|
-
| **Claude subscription → local Claude Code** | Install the official CLI and select **Claude Code (local login)**.
|
|
75
|
+
| **ChatGPT subscription → local Codex** | Install Codex CLI and select **Codex (local login)**. An empty private space can import the local ChatGPT login. Use **Sign in** next to the sidebar connection button if recovery is unavailable. |
|
|
76
|
+
| **Claude subscription → local Claude Code** | Install the official CLI and select **Claude Code (local login)**. Generate the selected private space’s official login command, complete it in a local terminal, then check and reconnect. Claude OAuth caches are no longer copied between spaces (unreleased fix). |
|
|
69
77
|
| **OpenAI API** | Add an OpenAI connection with an API key, Base URL, and model ID. |
|
|
70
78
|
| **DeepSeek** | Add a DeepSeek API connection and choose the model and Thinking settings. |
|
|
71
79
|
| **GLM / Zhipu** | Add a GLM API connection using the endpoint and model available to your account. |
|
|
@@ -100,7 +108,7 @@ When elevated access is needed, manually run `sudo ls` or `sudo -v` in the same
|
|
|
100
108
|
## Start with your local ChatGPT subscription login
|
|
101
109
|
|
|
102
110
|
1. Install [Codex CLI](https://learn.chatgpt.com/docs/cli) on the computer running Tabby.
|
|
103
|
-
2. Open **Settings → AI Tools → Codex →
|
|
111
|
+
2. Open **Settings → AI Tools → Connections & models → Codex → CLI session storage**. An empty private space can import your local ChatGPT login. If it cannot recover an expired login, open the account button at the top right of the sidebar and choose **Sign in**. You can also generate a login command for the selected space in Settings. Unused connections default to a private space. For an existing **System space (legacy compatibility)** connection, the ordinary commands are:
|
|
104
112
|
|
|
105
113
|
```bash
|
|
106
114
|
codex login
|
|
@@ -109,9 +117,11 @@ When elevated access is needed, manually run `sudo ls` or `sudo -v` in the same
|
|
|
109
117
|
|
|
110
118
|
3. AI Tools opens automatically when Tabby starts, using **Codex (local login)** by default. Reconnect after logging in to the selected space, then choose a model available to your account or use the Codex default.
|
|
111
119
|
|
|
120
|
+
For a private Codex space, the account menu also offers official browser sign-in and local sign-out. Automatic cache recovery accepts only a newer imported credential for the same user/workspace; explicit sign-in or sign-out disables imports. Tasks are never resent.
|
|
121
|
+
|
|
112
122
|
Only your computer needs this Codex installation and login. The assistant can then use your existing Tabby SSH terminals to work on servers; those servers do not need their own ChatGPT login or AI Agent installation.
|
|
113
123
|
|
|
114
|
-
Automatic discovery covers standalone installations (including `CODEX_INSTALL_DIR` and `CODEX_HOME/packages/standalone/current/bin`), Homebrew and npm global prefixes, and compatible Codex binaries in VS Code extensions as a final fallback. On macOS, it checks `ChatGPT.app/Contents/Resources/codex-cli/bin/codex` and the older `Contents/Resources/codex` entry under `/Applications` and `~/Applications`, including the former `Codex.app` name. For other locations, set the full path in **Settings → AI Tools → Codex CLI
|
|
124
|
+
Automatic discovery covers standalone installations (including `CODEX_INSTALL_DIR` and `CODEX_HOME/packages/standalone/current/bin`), Homebrew and npm global prefixes, and compatible Codex binaries in VS Code extensions as a final fallback. On macOS, it checks `ChatGPT.app/Contents/Resources/codex-cli/bin/codex` and the older `Contents/Resources/codex` entry under `/Applications` and `~/Applications`, including the former `Codex.app` name. For other locations, set the full path in **Settings → AI Tools → Connections & models → Codex → CLI path & working directory**. See the [discovery matrix (中文)](docs/guide.md#cli-自动发现与启动排查).
|
|
115
125
|
|
|
116
126
|
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-自动发现与启动排查).
|
|
117
127
|
|
|
@@ -125,7 +135,7 @@ Describe the targets, order, conditions, and verification criteria. The assistan
|
|
|
125
135
|
|
|
126
136
|
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#任务编排与多服务器协作).
|
|
127
137
|
|
|
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.
|
|
138
|
+
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 → Tasks & workflows → 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.
|
|
129
139
|
|
|
130
140
|
## Schedule checks, decisions, actions, and verification
|
|
131
141
|
|
|
@@ -137,9 +147,18 @@ Use `/schedules` to inspect plans and run records, pause or resume, run immediat
|
|
|
137
147
|
|
|
138
148
|
## Install and start
|
|
139
149
|
|
|
150
|
+
**External MCP (v1.0.0, controlled-input preview):** Settings → AI Tools → External AI connections (MCP) exposes explicitly selected terminals to local clients. Clients start read-only; choose per-operation confirmation or automatic operations to use `send_input`, `send_keys`, `attach_process` and `release_tab`. Input shares the sidebar/scheduler controller, never automatically interrupts a foreground task, and uses client-bound leases. Revocation or lease expiry releases input without killing a command. It uses Tabby's runtime and works with the sidebar closed; configuration snippets are merged manually. Linux Tabby/Codex read-only acceptance is recorded; controlled-input validation and remaining platform/client boundaries are detailed in the guide. Included in v1.0.0. [Setup and limits](docs/mcp.md). A portable `tabby-mcp` Agent Skill helps local agents find the service and pairing route; it does not configure or authorize an MCP client.
|
|
151
|
+
|
|
152
|
+
The sidebar header uses matching 32px icon buttons for reconnect, the Codex account menu (when available), and collapse. The account menu shows sign-in status; Arrow Down focuses its action and Escape closes it and returns focus. Connection progress respects reduced-motion preferences.
|
|
153
|
+
|
|
154
|
+
**Unreleased: token-free local MCP.** Enable the service and copy the URL-only configuration; no client creation, token issuance, permission selection or tab selection is needed. Local programs share automatic read/write access to all terminal tabs, including newly opened and reconnected tabs, and share input leases. Optional bearer clients remain available. See the [updated setup](docs/mcp.md).
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
The redesigned settings page groups **Connections & models**, **Tasks & workflows**, **External AI connections (MCP)** and **General**. A compact connection picker gives the editor the available width, up to 1080px. Models and permissions appear first; CLI paths, custom instructions, session storage, workflow preferences and helper models expand only when needed. Default connection and language live under General, with startup and log switches folded below. Connection drafts still require Save; instructions and session storage retain their own Save actions. This layout is an unreleased local change.
|
|
158
|
+
|
|
140
159
|
1. In Tabby, open **Settings → Plugins**, find **`tabby-ai-tools`**, and install it. Click Tabby's **Restart the app to apply changes** prompt when ready; installations and updates take effect after the restart.
|
|
141
160
|
2. Use your local Codex login, or add an API connection under **Settings → AI Tools**.
|
|
142
|
-
3. AI Tools opens automatically after restart. Open the target terminal, describe a task in the sidebar, and send with **Ctrl+Enter / Cmd+Enter**. Use the robot icon to reopen a hidden sidebar. To disable automatic opening, uncheck **Open AI Tools when Tabby starts** in **Settings → AI Tools**; an existing opt-out is preserved.
|
|
161
|
+
3. AI Tools opens automatically after restart. Open the target terminal, describe a task in the sidebar, and send with **Ctrl+Enter / Cmd+Enter**. Use the robot icon to reopen a hidden sidebar. To disable automatic opening, uncheck **Open AI Tools when Tabby starts** in **Settings → AI Tools → General → Startup & logs**; an existing opt-out is preserved.
|
|
143
162
|
|
|
144
163
|
**[Full configuration and user guide (中文) →](docs/guide.md)** covers prerequisites, source installation, connections, models, permissions, sudo, orchestration, all feature entry points, and troubleshooting.
|
|
145
164
|
|
package/README.zh-CN.md
CHANGED
|
@@ -18,6 +18,14 @@
|
|
|
18
18
|
|
|
19
19
|
</div>
|
|
20
20
|
|
|
21
|
+
**未发布的侧栏交互修复:**登录/退出菜单支持点外部或 Esc 收起;移除重复的顶部 Detail 按钮,状态摘要仍可打开详情。
|
|
22
|
+
|
|
23
|
+
**未发布的 MCP 接入提示修复:**保留旧 skill 时明确提示令牌模式差异,提供当前来源和可复制连接说明。生成配置仍需在目标 Codex 空间注册、重载客户端并验证 MCP 工具;`auto` 只作用于已勾选终端。[连接步骤](docs/mcp.md)。
|
|
24
|
+
|
|
25
|
+
**未发布的 Claude 独立登录修复:**认证提示提供目标空间的官方登录命令和检查重连;不再复制系统 OAuth 缓存,保留历史及草稿,不重发任务。
|
|
26
|
+
|
|
27
|
+
**v1.0.0:外部 MCP 终端连接、读取提速与 Codex 独立空间登录。** 本机 AI 客户端可访问明确共享的终端,使用只读或受控输入权限;新输出可提前唤醒读取。Codex 独立空间支持官方浏览器登录与有界缓存恢复,不重发任务。[发布说明](docs/releases/1.0.0.md)。
|
|
28
|
+
|
|
21
29
|
**v0.9.4:会话内问题导航与更安全的 CLI 恢复。** 通用 Agent 面板在右侧滚动条区域提供问题索引:悬停或聚焦预览原问题,点击跳转,回到最新消息恢复流式跟随。居中的紧凑 1px 短线不附加符号,与聊天滚动滑块共用右侧 18px 窄区域,去掉左侧占位;预览向左展开,过多时使用主题一致的 ↑ / ↓ 按钮翻动。绿色表示确认完成,淡绿色表示没有用户 Stop 证据的普通中断,蓝色表示执行中或等待外部条件,红色表示确认主动 Stop、任务未完成便终止或达到执行上限。回合结束后等待 Goal 确认,自动续行恢复蓝色;证据不足的历史保持灰色。
|
|
22
30
|
|
|
23
31
|
<br>
|
|
@@ -40,7 +48,7 @@ Tabby AI Tools 是集成在 [Tabby](https://github.com/Eugeny/tabby) 中的 AI
|
|
|
40
48
|
|
|
41
49
|
<sub>根据当前功能绘制的英文界面示意,任务和连接均为示例;实际外观随 Tabby 主题与窗口尺寸变化。</sub>
|
|
42
50
|
|
|
43
|
-
|
|
51
|
+
对话中实时显示默认折叠的思考过程与工具调用,展开可查看服务返回的思考文本、工具参数和结果,正文回复直接显示。**v1.0.0 终端读取:** 默认读屏在新输出到达或可靠 Shell 完成时提前返回,也能读取本任务输入后、读屏前已到达的未观察输出。出现输出不代表命令完成,多行脚本仍保留输入锁。[等待行为](docs/terminal-logs.md)。收到可读文本后才显示思考记录,Codex 与支持的 OpenAI 推理请求会开启摘要;在侧栏选中文字并复制时,不会向活动终端发送 Ctrl+C。
|
|
44
52
|
|
|
45
53
|
**v0.7.1 修复:** Windows 默认查找会比较已安装 Codex CLI 的真实版本,避免 PATH 中的旧版遮住桌面新版,并支持桌面升级后的路径恢复。详见[发布说明](docs/releases/0.7.1.md)。
|
|
46
54
|
|
|
@@ -64,8 +72,8 @@ Tabby AI Tools 是集成在 [Tabby](https://github.com/Eugeny/tabby) 中的 AI
|
|
|
64
72
|
|
|
65
73
|
| 连接方式 | 如何使用 |
|
|
66
74
|
| --- | --- |
|
|
67
|
-
| **ChatGPT 订阅 → 本机 Codex** | 安装 Codex CLI 并选择 **Codex
|
|
68
|
-
| **Claude 订阅 → 本机 Claude Code** | 安装官方 CLI 并选择 **Claude Code
|
|
75
|
+
| **ChatGPT 订阅 → 本机 Codex** | 安装 Codex CLI 并选择 **Codex(本机登录)**,先在设置的“CLI 会话存储”检查选定空间登录;私有缓存缺失时会继承可用的本机 ChatGPT 文件缓存,必要时生成登录命令。 |
|
|
76
|
+
| **Claude 订阅 → 本机 Claude Code** | 安装官方 CLI 并选择 **Claude Code(本机登录)**,生成目标独立空间的官方登录命令,在本地终端完成后检查并重连。不再复制系统 OAuth 缓存(未发布修复)。 |
|
|
69
77
|
| **OpenAI API** | 添加 OpenAI 连接,配置 API Key、Base URL 和模型 ID。 |
|
|
70
78
|
| **DeepSeek** | 添加 DeepSeek API 连接,选择模型与 Thinking 设置。 |
|
|
71
79
|
| **GLM/智谱** | 添加 GLM API 连接,使用账号对应套餐的端点和模型。 |
|
|
@@ -100,7 +108,7 @@ v0.4.1 已支持自定义连接。Base URL 示例为 `https://gateway.example/v1
|
|
|
100
108
|
## ChatGPT 订阅用户如何开始
|
|
101
109
|
|
|
102
110
|
1. 在运行 Tabby 的本机安装 [Codex CLI](https://learn.chatgpt.com/docs/cli)。
|
|
103
|
-
2. 打开 **Settings → AI Tools → Codex →
|
|
111
|
+
2. 打开 **Settings → AI Tools → 连接与模型 → Codex → CLI 会话存储**,空的独立空间可以导入本机 ChatGPT 登录。登录失效且无法恢复时,在侧栏右上角账号菜单选择**登录**,也可以在设置中生成所选空间的登录命令。未使用过的连接默认采用独立空间。已有的**系统空间(旧版兼容)**连接可使用以下普通命令:
|
|
104
112
|
|
|
105
113
|
```bash
|
|
106
114
|
codex login
|
|
@@ -109,9 +117,11 @@ v0.4.1 已支持自定义连接。Base URL 示例为 `https://gateway.example/v1
|
|
|
109
117
|
|
|
110
118
|
3. 启动 Tabby 后 AI Tools 会自动打开,默认使用 **Codex(本机登录)**。在选定空间登录后点击侧栏重连,再选择账号可用模型,或沿用 Codex 默认模型。
|
|
111
119
|
|
|
120
|
+
独立 Codex 空间还可在账号菜单使用官方浏览器登录或本地退出。自动缓存恢复只接受同一用户/工作区较新的已导入凭据;主动登录或退出后停用导入,恢复不会重发任务。
|
|
121
|
+
|
|
112
122
|
只需在本机安装和登录 Codex,即可沿用 Tabby 已连接的 SSH 终端协助操作服务器;服务器无需逐台登录 ChatGPT 或安装 AI Agent。
|
|
113
123
|
|
|
114
|
-
自动查找覆盖 standalone 安装(含 `CODEX_INSTALL_DIR` 和 `CODEX_HOME/packages/standalone/current/bin`)、Homebrew/npm 全局 prefix,并以 VS Code 扩展中的兼容 Codex 作为最后兜底。macOS 检查 `/Applications` 和 `~/Applications` 下的 `ChatGPT.app/Contents/Resources/codex-cli/bin/codex` 及旧 `Contents/Resources/codex` 入口,也兼容原 `Codex.app` 名称。其他位置可在 **Settings → AI Tools → Codex CLI
|
|
124
|
+
自动查找覆盖 standalone 安装(含 `CODEX_INSTALL_DIR` 和 `CODEX_HOME/packages/standalone/current/bin`)、Homebrew/npm 全局 prefix,并以 VS Code 扩展中的兼容 Codex 作为最后兜底。macOS 检查 `/Applications` 和 `~/Applications` 下的 `ChatGPT.app/Contents/Resources/codex-cli/bin/codex` 及旧 `Contents/Resources/codex` 入口,也兼容原 `Codex.app` 名称。其他位置可在 **Settings → AI Tools → 连接与模型 → Codex → CLI 路径与工作目录** 中填写完整路径。[查看完整发现矩阵](docs/guide.md#cli-自动发现与启动排查)。
|
|
115
125
|
|
|
116
126
|
Windows 默认留空(或填 `codex`)即可比较 PATH、桌面版、standalone 和已知 npm 安装的实际版本,选择已发现的最新 CLI,每次新连接重新扫描。明确填写文件路径可固定版本;填写稳定的 `OpenAI\Codex\bin` 目录则只比较这套安装。[查看路径查找说明](docs/guide.md#cli-自动发现与启动排查)。
|
|
117
127
|
|
|
@@ -125,7 +135,7 @@ Windows 默认留空(或填 `codex`)即可比较 PATH、桌面版、standalo
|
|
|
125
135
|
|
|
126
136
|
支持按执行结果决定下一步,也可以操作终端中的其他交互式 Agent。用 `/remember 任务描述` 开始录制,任务成功结束后可在侧栏或直接告诉助手设置别名(如 `task1`),下次发送 `/task1` 即执行该流程,并重新核对当前环境。各步骤保存服务器 IP、持久连接/服务器 ID、操作路径及验收条件;多服务器按顺序执行,前一步通过结果验收后才放行下一步。助手可用 `workflow_status` / `workflow_set_alias` 查询录制、归档状态并保存别名;checkpoint 成功不等于归档成功,无法归档时显示原因。普通任务不录制,也不能事后补存。含 sudo 的流程会提前提示在各执行终端运行 `sudo -v` 或 `sudo ls`,任务期间保持认证有效。[查看编排与复用方法](docs/guide.md#任务编排与多服务器协作)。
|
|
127
137
|
|
|
128
|
-
交互式 `/remember` 流程可保存 stdin、按键、进程接管和侧栏提问的条件规则与回答意图。运行器本地处理已保存的 if/else,不确定交互交给当前连接的可选辅助模型,再从当前步骤继续。在 **AI Tools → 任务流程与偏好 → 交互辅助模型** 配置;辅助用量计入任务预算,缺少机器验收时仍由主模型核对。[条件与交互流程](docs/task-workflows.md#条件与交互流程)。 更新:命令和多行脚本可按终端上限完整录制最多 10000 字符;固定步骤通过机器验收推进,需现场判断的步骤用 `policy.decision` 在执行前交回主 AI,处理后继续脚本流程。
|
|
138
|
+
交互式 `/remember` 流程可保存 stdin、按键、进程接管和侧栏提问的条件规则与回答意图。运行器本地处理已保存的 if/else,不确定交互交给当前连接的可选辅助模型,再从当前步骤继续。在 **AI Tools → 任务与流程 → 任务流程与偏好 → 交互辅助模型** 配置;辅助用量计入任务预算,缺少机器验收时仍由主模型核对。[条件与交互流程](docs/task-workflows.md#条件与交互流程)。 更新:命令和多行脚本可按终端上限完整录制最多 10000 字符;固定步骤通过机器验收推进,需现场判断的步骤用 `policy.decision` 在执行前交回主 AI,处理后继续脚本流程。
|
|
129
139
|
|
|
130
140
|
## 定时任务:到点检查、判断、执行与验证
|
|
131
141
|
|
|
@@ -137,9 +147,18 @@ Windows 默认留空(或填 `codex`)即可比较 PATH、桌面版、standalo
|
|
|
137
147
|
|
|
138
148
|
## 安装与开始使用
|
|
139
149
|
|
|
150
|
+
**v1.0.0:外部 MCP 终端连接(受控输入预览)。** 在「设置 → AI Tools → 外部 AI 连接(MCP)」添加客户端并勾选终端。默认只读;另选「每次操作确认」或「允许自动操作」后,可用 `send_input`、`send_keys`、`attach_process`、`release_tab` 执行命令和交互。输入与侧栏/调度共用控制,不自动中断已有任务,租约绑定客户端;撤销或租约到期仅解锁,不终止进程。复用 Tabby 内置运行时,侧栏关闭仍可用,配置手动复制合并。Linux Tabby/Codex 已有只读验收;受控输入验证及平台/客户端边界见指南。此功能包含于 v1.0.0。[配置与边界](docs/mcp.md)。 随附通用 `tabby-mcp` Agent Skill 与无凭据发现记录,帮助支持技能的本机 Agent 找到服务和配对入口;首次仍需独立客户端配置与授权。
|
|
151
|
+
|
|
152
|
+
侧栏右上角统一为 32px 图标按钮:重连、Codex 账号菜单(可用时)和收起。账号菜单显示登录状态,按 ↓ 可进入操作,Esc 关闭并返回按钮;连接中的动画遵循减少动态效果设置。
|
|
153
|
+
|
|
154
|
+
**未发布:本机 MCP 免令牌连接。** 启用服务并复制仅含地址的配置即可,无需创建客户端、签发令牌或选择权限和 Tab。本机程序默认共享所有终端 Tab 的读写权限及输入租约,新开和重连的终端自动纳入;独立令牌客户端保留为可选项。见[最新配置步骤](docs/mcp.md)。
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
新版设置分为 **连接与模型、任务与流程、外部 AI 连接(MCP)、通用设置**。紧凑连接选择栏让详情使用可用宽度(最多 1080px),优先显示模型与权限;CLI 路径、自定义指令、会话存储、操作偏好和交互辅助模型按需展开。默认连接与语言移入通用设置,启动和日志开关默认折叠。连接草稿仍需保存,指令与会话存储保留各自的保存操作。本次布局调整尚未发布。
|
|
158
|
+
|
|
140
159
|
1. 在 Tabby 的 **Settings → Plugins** 搜索并安装 **`tabby-ai-tools`**,完成后点击设置页的重启提示(**Restart the app to apply changes**);安装和升级均在重启后生效。
|
|
141
160
|
2. 使用本机 Codex 登录,或在 **Settings → AI Tools** 添加 API 连接。
|
|
142
|
-
3. 重启后 AI Tools 会默认自动打开。打开目标终端,在侧栏输入任务,按 **Ctrl+Enter / Cmd+Enter** 发送。收起后可点击工具栏机器人图标重新打开;如需关闭自动打开,在 **Settings → AI Tools
|
|
161
|
+
3. 重启后 AI Tools 会默认自动打开。打开目标终端,在侧栏输入任务,按 **Ctrl+Enter / Cmd+Enter** 发送。收起后可点击工具栏机器人图标重新打开;如需关闭自动打开,在 **Settings → AI Tools → 通用设置 → 启动与日志** 取消勾选 **启动 Tabby 时自动打开 AI Tools**。已明确关闭的配置会保留。
|
|
143
162
|
|
|
144
163
|
**[完整配置与使用指南 →](docs/guide.md)** 包含环境准备、源码安装、连接与模型配置、权限、sudo、任务编排、全部操作入口和常见问题。
|
|
145
164
|
|
package/VALIDATION.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
# Claude private-space authentication — 2026-11-15 (unreleased)
|
|
2
|
+
|
|
3
|
+
Claude Code now owns login and token refresh in the selected `CLAUDE_CONFIG_DIR`; Tabby no longer reads, imports or overwrites its system OAuth cache. The authentication warning generates a selectable/copyable official login command for the failed connection, followed by a login check and reconnect. Active turns and pending interactions block recovery. History, native session references and drafts are retained without inference or tool replay. Generating a command never executes it.
|
|
4
|
+
|
|
5
|
+
Review fixed a Windows command-format test assumption and rejected late command/error results after a warning is replaced. Offline process tests execute the generated command against a simulated CLI, check removal of inherited API credentials and preserve the original system cache. The authentication/i18n suite passed **108/108** on Node 22.23.4. The final full suite passed **1086 tests: 1080 passed, 6 platform skips, 0 failed/cancelled**. Typecheck and skill bundle/check passed. Angular 15/Chromium validation uses the actual dialog template, CSS and extracted panel methods, with fixture backend and clipboard: generation/copy, failed login, busy protection, successful recovery and draft retention at 320/480/800 px in light/dark themes. This is separate from real Tabby or account evidence. Prior bilingual README/GIF/static fallback and synchronized SVG/PNG checks remain applicable; only the Chinese saved-space notice changed during review.
|
|
6
|
+
|
|
7
|
+
Codex default discovery, update/deletion races, helper classification, bounded recovery, native tools, stop, session retention and no replay remain covered by the full process fixtures; the shared recovery UI now also waits for idle. Claude local independently retains original-selector resolution per invocation, native/npm/batch launchers, capability/auth checks, MCP tool round trips and process cleanup. No identical vendor helper layout is assumed. Neither CLI has new real-account, desktop, Windows/macOS or user SSH end-to-end evidence; Claude keychain/refresh/revocation validation remains pending. No paid model requests, version bump, remote CI, push, tag or publication was performed for this change. Version 1.0.0 on npm does not contain it.
|
|
8
|
+
|
|
1
9
|
# Markdown syntax highlighting fix — 2026-11-08 (local, unreleased)
|
|
2
10
|
|
|
3
11
|
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.
|
|
@@ -516,3 +524,20 @@ Regressions cover confirmed user Stop versus ordinary interruption, Stop failure
|
|
|
516
524
|
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
525
|
|
|
518
526
|
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.
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
## 1.0.0 release review — 2026-11-14
|
|
530
|
+
|
|
531
|
+
Reviewed the changes since v0.9.4: external MCP permissions, input leases, cancellation/unknown outcomes, terminal observation and private Codex authentication. Fixed same-chunk browser-login completion handling and HTTP body-limit socket lifetime. Added mandatory MCP runtime/skill archive checks and stabilized token-expiration fixtures. The login regression failed before the product fix; the existing main macOS CI run 43590428607 failed on oversized HTTP handling. The first local full run exposed the separate fixture clock issue, which was fixed before the final run.
|
|
532
|
+
|
|
533
|
+
Final Linux / Node 22.23.4 regression: **1082 tests, 1076 passed, six platform skips, zero failures/cancellations**. Skill bundle/check, TypeScript, production build (webpack + Pi + MCP), and diff checks passed. Evidence: `/tmp/tabby-release-1.0.0/`, including `tests-final.log`, `typecheck-final.log`, `build.log` and `render-final.log`. Chromium rendered both READMEs, verified centered titles, images, tables, robot GIF and reduced-motion static fallback; SVG text remains in bounds and the full 1800×2600 PNG was previewed. Robot GIF retains 12 frames.
|
|
534
|
+
|
|
535
|
+
An isolated official Linux Tabby 1.0.238 (Electron 43.7.0 / Node 24.21.0) loaded this built plugin, started the actual MCP utility using the host Node, enforced known-length/chunked HTTP 413 responses, sent a harmless command to a fresh real terminal, read the result, released input and stopped the service/listener. No model request was made. Desktop evidence: `desktop/evidence.json` in the same temporary evidence directory. This is Linux MCP runtime evidence, not real account inference or validation of every desktop feature.
|
|
536
|
+
|
|
537
|
+
Codex default selection was reviewed separately: blank/`codex` discovery, update/deletion races, known companion layouts, bounded idle recovery and preserved sessions/no replay remain covered by subprocess regressions. The new login notification/cancellation test also uses a real fixture subprocess. Actual default Codex account/model/tool execution remains unverified this round. Claude local retains original-selector resolution before each invocation, native/npm launchers, capability/auth separation, MCP tools, process-tree cleanup and session preservation on preflight failure; its fixture regressions passed. Actual Claude account/keychain, Windows/macOS desktop and user SSH execution remain pending. No paid model smoke tests ran.
|
|
538
|
+
|
|
539
|
+
The actual verified tarball, its checksum, no-system-Node install result and exact branch/tag Linux/macOS/Windows CI links are recorded in the GitHub Release and local release evidence. Registry completion must be established by version/latest/integrity readback; publication is not implied by this local validation snapshot. Local collaboration/research files remain excluded from Git and npm.
|
|
540
|
+
|
|
541
|
+
### 1.1.0 release preparation (2026-11-16)
|
|
542
|
+
|
|
543
|
+
Node 22.23.4: skill bundle/check, typecheck, full tests (1113 tests, 1107 passed, six platform skips), production build and diff check passed. The package was checked with lifecycle scripts enabled and no system Node on PATH. The SVG and PNG were updated to the release version and visually inspected. The full regression includes Codex discovery, update and recovery fixtures and Claude local selector, launcher, MCP and lifecycle fixtures; these are not real-account end-to-end evidence. Real Codex and Claude accounts, desktop behavior across operating systems, and SSH remain pending. No paid model request was made. GitHub CI and release results are tracked separately.
|