tabby-ai-tools 1.2.1 → 1.2.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.
@@ -263,7 +263,7 @@ function install() {
263
263
  if (globalState[singleton]) return;
264
264
  if (!app.isReady() || typeof utilityProcess?.fork !== "function" || Number(process.versions.node.split(".")[0]) < 20) throw new Error("MCP requires a Tabby host with Node 20+ and utilityProcess support");
265
265
  const configSpace = (0, import_node_fs3.realpathSync)(process.env.TABBY_CONFIG_DIRECTORY || app.getPath("userData"));
266
- const discovery = new McpDiscovery(app.getPath("home"), configSpace, (0, import_node_path3.join)(__dirname, "../../skills/tabby-mcp"), "1.2.1");
266
+ const discovery = new McpDiscovery(app.getPath("home"), configSpace, (0, import_node_path3.join)(__dirname, "../../skills/tabby-mcp"), "1.2.2");
267
267
  let skillInstallations = [], discoveryError = "";
268
268
  const installSkill = () => {
269
269
  try {
@@ -24271,7 +24271,7 @@ async function startMcpServer(invoke2, initial, port = 0, activity = () => void
24271
24271
  const client = authenticate(requestInfo?.headers.get("authorization"));
24272
24272
  if (!client) throw failure("permission_denied");
24273
24273
  const { id, revision } = client;
24274
- const server2 = new McpServer({ name: "tabby-ai-tools", version: "1.2.1" });
24274
+ const server2 = new McpServer({ name: "tabby-ai-tools", version: "1.2.2" });
24275
24275
  if (era === "legacy") server2.server.setNotificationHandler("notifications/cancelled", (notification) => {
24276
24276
  for (const item of controllers) if (item.id === id && item.revision === revision && item.requestId === notification.params.requestId) item.controller.abort();
24277
24277
  });
@@ -8,4 +8,4 @@ After its first load, the model picker reuses the catalog for the same CLI and w
8
8
 
9
9
  AI Tools connects over ACP v1. It checks login and lists models without sending a model prompt. A supported ACP turn can receive text and image attachments. Native history resumes through ACP, while `/resume` lists Tabby conversations. **New session** opens a fresh conversation when the sidebar is idle.
10
10
 
11
- Tabby terminal tools use the local MCP bridge and Tabby's own permission checks. AI Tools cancels native permission prompts sent by the CLI through ACP. The CLI still applies its own configuration to native tools. Review its execution and permissions settings in Antigravity. [Official CLI permissions](https://antigravity.google/docs/cli/permissions)
11
+ Tabby terminal tools use the local MCP bridge and Tabby's own permission checks. AI Tools approves ACP permission prompts with `allow_once` only for Tabby MCP tools exposed in the active session, and cancels native CLI, unrelated MCP, disallowed, or cross-session permission prompts. Tabby's MCP tool handlers still enforce sandbox and user approval policies. The CLI still applies its own configuration to native tools. Review its execution and permissions settings in Antigravity. [Official CLI permissions](https://antigravity.google/docs/cli/permissions)
Binary file
@@ -1,6 +1,6 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" width="1800" height="2600" viewBox="0 0 1800 2600" role="img" aria-labelledby="title desc">
2
2
  <title id="title">Tabby AI Tools interface illustration — sidebar attachments, terminal tools, local login and API connections</title>
3
- <desc id="desc">MCP controlled terminal preview: portable Agent Skill, credential-free service discovery, Settings external AI connections, service disabled by default, local automatic read/write access to all terminal tabs and optional bearer grants, input leases, snapshot/delta/wait, token-free local access with shared grants, and optional bearer clients. Preserved skill conflicts show current instructions; Codex registration, reload and handshake are separate from terminal scope. Example panel only; actual Linux Tabby/Codex verification is documented separately. Tabby AI Tools v1.2.1 shared Agent question navigation: hover or focus to preview, click to jump. Centered compact 1px lines share an 18px right strip with a draggable conversation scrollbar; previews open left and there is no left gutter; theme-aware up/down buttons appear on overflow. Green indicates completion; pale green indicates ordinary interruption. Blue indicates running or external prerequisites; red indicates user Stop or unfinished/limited work. Turns with no known execution result remain neutral; overall goal completion is separate. Markdown output: assistant tables preserve column alignment, code blocks have syntax highlighting and copy buttons and wide content scrolls inside messages. Codex checks known Windows companions and recovers once at an idle boundary without replay; Claude private-login fix: official selected-space login command, no OAuth cache copying; Claude rechecks its original CLI selector before every invocation; native Linux SSH agents use an independent PID and output-only PTY identity proof; sidebar model attachments with an Add attachments button, selectable files, thumbnail previews, clickable sent images in message history and separate SSH tab progress; custom instructions/private CLI session spaces and Pi configuration: native provider search, offline SDK 1.4.0 catalog, four custom protocols and Save/Discard/Copy drafts. Interface illustration, not a running screenshot. Windows default Codex discovery compares actual CLI versions across PATH and desktop/standalone installations; a stable directory limits selection to its own children. Commands and multiline workflow scripts retain up to 10,000 characters; explicit AI decision steps return to scripted execution after judgment. Conditional recordings preserve interaction intent; local rules run first, with an optional current-connection helper model and rebind-before-resume checkpoints. Task routing includes independent complexity classification and three configurable execution targets. Settings redesign uses four category buttons, a compact connection picker and an adaptive editor up to 1080px, lifting the default 600px host limit only for AI Tools. Low-frequency CLI paths, custom instructions, session storage, startup/log switches, preferences and helper models default to collapsed; workflows appear before helper configuration. One page scrolls without a nested connection sidebar. The assistant sidebar coordinates example staging database and application terminals. Connection and model controls share one compact row. Header actions use matching 32px new session, reconnect, account and collapse buttons and 16px stroke icons; the account disclosure follows the selected private CLI: Codex sign-in state or Claude login command and check/reconnect, supports Arrow Down and closes on outside interactions or Escape; status summaries open details without a duplicate header button. Scheduled tasks, provider connections, startup opening enabled by default and twelve interface languages and the Claude Code local-login connection are shown below. Active goals continue automatically by default. Thinking and tool calls appear as collapsed conversation entries that can be expanded. Internal terminal snapshots wake on unread output or reliable completion; observation never proves completion. Terminal output is read on demand without automatic forwarding; an example health table and a copyable code block are shown. Archive status distinguishes successful checkpoints from successful persistence. Pi runtime settings show the built-in runtime and an optional Node override, host-only tools and opt-in automatic context compaction. The provider list includes Kimi and Alibaba Cloud Coding Plan connections. Custom OpenAI-compatible settings show an example Base URL, model, protocol and authentication. Compact navigation UI with optional Pi SDK runtime, built-in Node 22.19+, manual context compaction and structured retry waiting.</desc>
3
+ <desc id="desc">MCP controlled terminal preview: portable Agent Skill, credential-free service discovery, Settings external AI connections, service disabled by default, local automatic read/write access to all terminal tabs and optional bearer grants, input leases, snapshot/delta/wait, token-free local access with shared grants, and optional bearer clients. Preserved skill conflicts show current instructions; Codex registration, reload and handshake are separate from terminal scope. Example panel only; actual Linux Tabby/Codex verification is documented separately. Tabby AI Tools v1.2.2 shared Agent question navigation: hover or focus to preview, click to jump. Centered compact 1px lines share an 18px right strip with a draggable conversation scrollbar; previews open left and there is no left gutter; theme-aware up/down buttons appear on overflow. Green indicates completion; pale green indicates ordinary interruption. Blue indicates running or external prerequisites; red indicates user Stop or unfinished/limited work. Turns with no known execution result remain neutral; overall goal completion is separate. Markdown output: assistant tables preserve column alignment, code blocks have syntax highlighting and copy buttons and wide content scrolls inside messages. Codex checks known Windows companions and recovers once at an idle boundary without replay; Claude private-login fix: official selected-space login command, no OAuth cache copying; Claude rechecks its original CLI selector before every invocation; native Linux SSH agents use an independent PID and output-only PTY identity proof; sidebar model attachments with an Add attachments button, selectable files, thumbnail previews, clickable sent images in message history and separate SSH tab progress; custom instructions/private CLI session spaces and Pi configuration: native provider search, offline SDK 1.4.0 catalog, four custom protocols and Save/Discard/Copy drafts. Interface illustration, not a running screenshot. Windows default Codex discovery compares actual CLI versions across PATH and desktop/standalone installations; a stable directory limits selection to its own children. Commands and multiline workflow scripts retain up to 10,000 characters; explicit AI decision steps return to scripted execution after judgment. Conditional recordings preserve interaction intent; local rules run first, with an optional current-connection helper model and rebind-before-resume checkpoints. Task routing includes independent complexity classification and three configurable execution targets. Settings redesign uses four category buttons, a compact connection picker and an adaptive editor up to 1080px, lifting the default 600px host limit only for AI Tools. Low-frequency CLI paths, custom instructions, session storage, startup/log switches, preferences and helper models default to collapsed; workflows appear before helper configuration. One page scrolls without a nested connection sidebar. The assistant sidebar coordinates example staging database and application terminals. Connection and model controls share one compact row. Header actions use matching 32px new session, reconnect, account and collapse buttons and 16px stroke icons; the account disclosure follows the selected private CLI: Codex sign-in state or Claude login command and check/reconnect, supports Arrow Down and closes on outside interactions or Escape; status summaries open details without a duplicate header button. Scheduled tasks, provider connections, startup opening enabled by default and twelve interface languages and the Claude Code local-login connection are shown below. Active goals continue automatically by default. Thinking and tool calls appear as collapsed conversation entries that can be expanded. Internal terminal snapshots wake on unread output or reliable completion; observation never proves completion. Terminal output is read on demand without automatic forwarding; an example health table and a copyable code block are shown. Archive status distinguishes successful checkpoints from successful persistence. Pi runtime settings show the built-in runtime and an optional Node override, host-only tools and opt-in automatic context compaction. The provider list includes Kimi and Alibaba Cloud Coding Plan connections. Custom OpenAI-compatible settings show an example Base URL, model, protocol and authentication. Compact navigation UI with optional Pi SDK runtime, built-in Node 22.19+, manual context compaction and structured retry waiting.</desc>
4
4
  <defs>
5
5
  <linearGradient id="background" x2="1" y2="1"><stop stop-color="#0c1622"/><stop offset="1" stop-color="#151729"/></linearGradient>
6
6
  <linearGradient id="outline"><stop stop-color="#375d5d"/><stop offset="1" stop-color="#3b3d5c"/></linearGradient>
@@ -15,7 +15,7 @@ text{font-family:"DejaVu Sans",sans-serif;fill:#e8eff9}
15
15
  <text x="56" y="65" font-size="23" font-weight="700" style="fill:#8ae6c2" class="mono">&gt;_</text>
16
16
  <text x="106" y="66" font-size="21" font-weight="700" style="fill:#a7b8cb">TABBY AI TOOLS</text>
17
17
  <rect x="1534" y="44" width="218" height="28" rx="6" fill="#22313f"/>
18
- <text x="1544" y="64" font-size="16" font-weight="600" style="fill:#8ae6c2">v1.2.1 / MCP preview</text>
18
+ <text x="1544" y="64" font-size="16" font-weight="600" style="fill:#8ae6c2">v1.2.2 / MCP preview</text>
19
19
  <text x="48" y="134" font-size="54" font-weight="700" style="fill:#f1f6ff">Your terminals. Working together.</text>
20
20
  <text x="50" y="176" font-size="23" font-weight="400" style="fill:#a7b8cb">Codex + Claude Code + Antigravity + APIs + optional Pi SDK / Terminal tools / Scheduled AI tasks</text>
21
21
  <rect x="48" y="210" width="1704" height="632" rx="14" fill="#0d1520" stroke="url(#outline)"/>
@@ -223,7 +223,7 @@ text{font-family:"DejaVu Sans",sans-serif;fill:#e8eff9}
223
223
  <text x="49" y="2538" font-size="16" font-weight="400" style="fill:#8ca0b8">INTERFACE ILLUSTRATION · Example connections and task output; not a running screenshot.</text>
224
224
  <text x="49" y="2570" font-size="14" font-weight="400" style="fill:#8ca0b8">Appearance varies with your Tabby theme, window size and configured connections.</text>
225
225
  <rect x="48" y="1830" width="1704" height="145" rx="12" fill="#172130" stroke="#35475c"/>
226
- <text x="72" y="1866" font-size="22" font-weight="650">Output-aware terminal reads and task logs — v1.2.1 example</text>
226
+ <text x="72" y="1866" font-size="22" font-weight="650">Output-aware terminal reads and task logs — v1.2.2 example</text>
227
227
  <text x="72" y="1901" font-size="17" fill="#a7b8cb">New output wakes reads · 50 ms coalescing / 200 ms cap · Output is not completion</text>
228
228
  <text x="72" y="1934" font-size="17" fill="#8ae6c2">Settings: Save task terminal logs · Local retention · Paging and literal search</text>
229
229
  <text x="72" y="1960" font-size="15" fill="#a7b8cb">Workflows: full scripts up to 10,000 characters · Fixed checks run locally · AI decisions at marked steps</text>
@@ -12,7 +12,7 @@ v0.4.1 已优先加入 `provider: custom`:可选 `apiFormat: chat-completions
12
12
 
13
13
  ## Antigravity ACP 与侧栏连接
14
14
 
15
- `test/antigravity.test.js` 通过本地 ACP 子进程覆盖认证探测、模型列表、默认及显式选模、附件、会话续接、协议版本拒绝、原生审批取消和 30 分钟模型目录缓存。缓存夹具覆盖切换连接复用、到期后后台去重、旧选项快照及认证失效。`test/user-input.test.js` 验证连接失败时的草稿/会话保留及旧模型列表隔离。`test/task-memory-panel.test.js` 验证顶部新会话入口和重复点击保护。真实账号、桌面与自动化夹具证据分别记录。 [配置说明](antigravity.md)
15
+ `test/antigravity.test.js` 通过本地 ACP 子进程覆盖认证探测、模型列表、默认及显式选模、附件、会话续接、协议版本拒绝、会话内 Tabby MCP 工具的 `allow_once` 放行与 Tabby 审批策略兜底、原生及其他审批取消,以及 30 分钟模型目录缓存。缓存夹具覆盖切换连接复用、到期后后台去重、旧选项快照及认证失效。`test/user-input.test.js` 验证连接失败时的草稿/会话保留及旧模型列表隔离。`test/task-memory-panel.test.js` 验证顶部新会话入口和重复点击保护。真实账号、桌面与自动化夹具证据分别记录。 [配置说明](antigravity.md)
16
16
 
17
17
  ## Claude 独立空间认证
18
18
 
package/docs/mcp.md CHANGED
@@ -8,7 +8,7 @@ Node installation or proxy process for the user to manage.
8
8
 
9
9
  ## Connect a client
10
10
 
11
- **Local connections without a token** are available since v1.1.0. v1.2.1 adds an
11
+ **Local connections without a token** are available since v1.1.0. v1.2.2 adds an
12
12
  Antigravity configuration format, native SSH execution and confirmed SFTP
13
13
  transfers. The v1.0.0 package uses the named-client credential flow.
14
14
 
@@ -1,15 +1,3 @@
1
1
  # 1.2.1
2
2
 
3
- - Start a conversation with **New session** in the sidebar header. Unsent text is retained and earlier conversations remain available through `/resume`.
4
- - Connect to a local Antigravity CLI over ACP. Leave the model and reasoning level blank to use CLI defaults, or select options reported by the CLI. Tabby cancels native ACP permission prompts. Tabby MCP tools retain their own approval checks.
5
- - Reuse Antigravity model catalogs for 30 minutes. After expiry the picker opens with its previous list and refreshes it in the background for the next open.
6
- - Switch connections with clear loading and failure states. A failed switch keeps the previous conversation and draft. Model lists follow the selected connection and its authentication state.
7
- - Move sent images from the composer to their message and open them from conversation history. Older entries with preserved image data can also be opened.
8
- - Attach text files and supported images or PDFs to sidebar messages. Unselected files remain in the cache. Codex, Claude Code and Antigravity support image attachments subject to the selected CLI and model.
9
- - Route new interactive tasks through an optional tool-free classifier and configurable simple, medium and hard execution tiers. Attachment turns use the current connection.
10
- - Recover Codex and Claude Code sessions after restart while preserving history and drafts without replaying requests. Claude private-space sign-in uses the CLI's official login flow.
11
- - Extend the external MCP terminal preview with native SSH execution, opt-in same-pane shell submission, terminal and profile management, and confirmed SFTP transfers with SHA-256 and queryable receipts. Add an Antigravity configuration snippet.
12
- - Return HTTP 413 for oversized MCP requests with a declared body length while draining the upload.
13
- - Update both READMEs, the setup guide and overview illustration. The README demos use an isolated test backend with actual Tabby terminals.
14
-
15
- [Validation scope](../../VALIDATION.md) · [User guide](../guide.md)
3
+ Superseded by [1.2.2](1.2.2.md), which fixes Antigravity ACP permission cancellation for session-scoped Tabby MCP tools (including `agent_goal_update`).
@@ -0,0 +1,16 @@
1
+ # 1.2.2
2
+
3
+ - Fix Antigravity ACP permission handling for session-scoped Tabby MCP tools (such as `agent_goal_update`): approve only Tabby MCP tools exposed in the active turn with `allow_once` so goals complete and Tabby's own sandbox and user approval checks run, while native CLI, unrelated MCP, disallowed, and cross-session ACP permission requests remain cancelled.
4
+ - Start a conversation with **New session** in the sidebar header. Unsent text is retained and earlier conversations remain available through `/resume`.
5
+ - Connect to a local Antigravity CLI over ACP. Leave the model and reasoning level blank to use CLI defaults, or select options reported by the CLI.
6
+ - Reuse Antigravity model catalogs for 30 minutes. After expiry the picker opens with its previous list and refreshes it in the background for the next open.
7
+ - Switch connections with clear loading and failure states. A failed switch keeps the previous conversation and draft. Model lists follow the selected connection and its authentication state.
8
+ - Move sent images from the composer to their message and open them from conversation history. Older entries with preserved image data can also be opened.
9
+ - Attach text files and supported images or PDFs to sidebar messages. Unselected files remain in the cache. Codex, Claude Code and Antigravity support image attachments subject to the selected CLI and model.
10
+ - Route new interactive tasks through an optional tool-free classifier and configurable simple, medium and hard execution tiers. Attachment turns use the current connection.
11
+ - Recover Codex and Claude Code sessions after restart while preserving history and drafts without replaying requests. Claude private-space sign-in uses the CLI's official login flow.
12
+ - Extend the external MCP terminal preview with native SSH execution, opt-in same-pane shell submission, terminal and profile management, and confirmed SFTP transfers with SHA-256 and queryable receipts. Add an Antigravity configuration snippet.
13
+ - Return HTTP 413 for oversized MCP requests with a declared body length while draining the upload.
14
+ - Update both READMEs, the setup guide and overview illustration. The README demos use an isolated test backend with actual Tabby terminals.
15
+
16
+ [Validation scope](../../VALIDATION.md) · [User guide](../guide.md)
@@ -1,3 +1,3 @@
1
1
  # Unreleased
2
2
 
3
- See [1.2.1](1.2.1.md) for the latest release notes.
3
+ See [1.2.2](1.2.2.md) for the latest release notes.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabby-ai-tools",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "A persistent AI agent sidebar for Tabby with Codex, Claude Code, OpenAI-compatible providers, DeepSeek, GLM, Kimi, and Alibaba Cloud Coding Plan support",
5
5
  "repository": {
6
6
  "type": "git",