tabby-ai-tools 0.2.3 → 0.3.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 CHANGED
@@ -22,10 +22,12 @@
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
- ![Tabby AI Tools 0.2.3 interface illustration: the assistant coordinates two SSH terminals, with scheduled tasks, provider connections, automatic startup and language settings](https://raw.githubusercontent.com/Hanlen/tabby-ai-tools/main/docs/assets/overview.png)
25
+ ![Tabby AI Tools 0.3.1 interface illustration: the assistant coordinates two SSH terminals, with scheduled tasks, provider connections, automatic startup and language settings](https://raw.githubusercontent.com/Hanlen/tabby-ai-tools/main/docs/assets/overview.png)
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
+ 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
+
29
31
  ## Multiple model providers, including your ChatGPT subscription
30
32
 
31
33
  **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).
@@ -66,13 +68,15 @@ When elevated access is needed, manually run `sudo ls` or `sudo -v` in the same
66
68
 
67
69
  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.
68
70
 
71
+ On macOS, automatic discovery also checks `ChatGPT.app/Contents/Resources/codex` under `/Applications` and `~/Applications`, when that executable exists. For a different installation location, set the full path in **Settings → AI Tools → Codex CLI executable**.
72
+
69
73
  ## Orchestrate tasks in natural language
70
74
 
71
75
  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:
72
76
 
73
77
  > 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.
74
78
 
75
- Workflows can branch based on observed results and interact with other terminal Agents. Successfully completed terminal tasks can become reusable references for similar work, with fresh checks of the current environment. [Orchestration and reuse guide (中文)](docs/guide.md#任务编排与多服务器协作).
79
+ 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`; 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. Ordinary tasks are not recorded. 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#任务编排与多服务器协作).
76
80
 
77
81
  ## Schedule checks, decisions, actions, and verification
78
82
 
package/README.zh-CN.md CHANGED
@@ -22,10 +22,12 @@
22
22
 
23
23
  Tabby AI Tools 是集成在 [Tabby](https://github.com/Eugeny/tabby) 中的 AI 助手插件。它可以读取终端输出、发送命令,并根据执行结果继续分析和操作。你在侧栏描述目标,在终端查看过程,也可以随时取回输入控制。
24
24
 
25
- ![Tabby AI Tools 0.2.3 界面示意:侧栏协调两个 SSH 终端,展示定时任务、API 连接、启动开关与语言设置](https://raw.githubusercontent.com/Hanlen/tabby-ai-tools/main/docs/assets/overview.png)
25
+ ![Tabby AI Tools 0.3.1 界面示意:侧栏协调两个 SSH 终端,展示定时任务、API 连接、启动开关与语言设置](https://raw.githubusercontent.com/Hanlen/tabby-ai-tools/main/docs/assets/overview.png)
26
26
 
27
27
  <sub>根据当前功能绘制的英文界面示意,任务和连接均为示例;实际外观随 Tabby 主题与窗口尺寸变化。</sub>
28
28
 
29
+ 终端接管自动完成:前台进程检测不可用(包括 SSH)时不再要求点击确认。AI 先读取终端输出,保留当前任务需要的进程,并可自动中断已检测到的无关任务。
30
+
29
31
  ## 多模型适配,支持本机 ChatGPT 订阅登录
30
32
 
31
33
  **已有具备 Codex 使用权限的 ChatGPT 订阅账号,可以通过本机 Codex CLI 登录直接使用,无需为此模式额外配置 API Key。** 插件复用本机 Codex 登录,可用模型、用量限制和工作区权限以账号实际权益为准。参见 [OpenAI 官方认证说明](https://learn.chatgpt.com/docs/auth)。
@@ -66,13 +68,15 @@ Tabby AI Tools 是集成在 [Tabby](https://github.com/Eugeny/tabby) 中的 AI
66
68
 
67
69
  只需在本机安装和登录 Codex,即可沿用 Tabby 已连接的 SSH 终端协助操作服务器;服务器无需逐台登录 ChatGPT 或安装 AI Agent。
68
70
 
71
+ macOS 自动查找也会检查 `/Applications` 和 `~/Applications` 下的 `ChatGPT.app/Contents/Resources/codex`(需实际存在且可执行)。安装位置不同时,可在 **Settings → AI Tools → Codex CLI 可执行文件** 中填写完整路径。
72
+
69
73
  ## 用自然语言编排任务
70
74
 
71
75
  把目标、执行顺序、条件和验证要求一次说清,AI 就可以根据终端反馈推进跨服务器、多步骤任务。例如:
72
76
 
73
77
  > 在 staging-app 和 staging-db 上检查应用与数据库连接。先确认数据库正常,再检查应用配置;发现问题先说明原因,在我授权后修复,最后验证应用健康检查。
74
78
 
75
- 支持按执行结果决定下一步,也可以操作终端中的其他交互式 Agent。成功完成的终端任务可归档为可复用流程,下次相似任务参考已有步骤,并结合当前环境重新核对。[查看编排与复用方法](docs/guide.md#任务编排与多服务器协作)。
79
+ 支持按执行结果决定下一步,也可以操作终端中的其他交互式 Agent。用 `/remember 任务描述` 开始录制,任务成功结束后提示设置别名(如 `task1`),下次发送 `/task1` 即执行该流程,并重新核对当前环境。各步骤保存服务器 IP、持久连接/服务器 ID、操作路径及验收条件;多服务器按顺序执行,前一步通过结果验收后才放行下一步。普通任务不再默认固化。含 sudo 的流程会提前提示在各执行终端运行 `sudo -v` 或 `sudo ls`,任务期间保持认证有效。[查看编排与复用方法](docs/guide.md#任务编排与多服务器协作)。
76
80
 
77
81
  ## 定时任务:到点检查、判断、执行与验证
78
82
 
package/VALIDATION.md CHANGED
@@ -1,3 +1,13 @@
1
+ # v0.3.0 release validation (2026-10-24)
2
+
3
+ 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.
4
+
5
+ This release also includes explicit `/remember TASK` recording, workspace-scoped workflow aliases, structured server/path identity and ordered result checkpoints, and same-terminal sudo preflight/refresh. Documentation and SVG/PNG illustrations are synchronized. Model-facing skill sources and the generated knowledge bundle are updated.
6
+
7
+ Local Linux validation passed: `skill:bundle`, `skill:check`, `typecheck`, all 467 tests (462 passed, 5 platform skips), production build and `git diff --check`. Both READMEs were rendered with CommonMark and the updated illustration was previewed.
8
+
9
+ Local validation uses simulated terminals/backends, a real PTY fixture and fake sudo; no paid model requests or real sudo credentials are used. The Linux run does not establish real Tabby desktop/SSH compatibility. Existing unknown processes still require verified identity to attach; API tool approvals and sudo authentication are separate from automatic terminal takeover. Sudo refresh requires a compatible POSIX shell/policy, and immediate cleanup may be unavailable in an occupied remote terminal without shell integration. Semantic completion evidence remains model-evaluated.
10
+
1
11
  # Codex 定位与启动验证
2
12
 
3
13
  ## 默认启动与高清介绍动画(0.2.3)
@@ -202,3 +212,17 @@ node scripts/smoke-codex.cjs --executable 'C:\Path With Spaces\codex.cmd' --stre
202
212
  压缩包按文件白名单制作:源码、测试、脚本、构建输出、项目构建清单、README/本报告、许可证和 CI 定义;不含 node_modules、.git、artifacts、旧 tgz、用户配置、.codex、.aws、.env、.npmrc 或凭据。src/config.ts 为插件公开默认设置定义,不是用户凭据配置。
203
213
 
204
214
  HTTP 服务工作目录只含 tabby-codex-windows-validation.tar.gz,日志和 PID 放在目录外。
215
+
216
+
217
+ ## 显式流程别名、服务器身份与步骤验收(2026-10-24)
218
+
219
+ 流程由 `/remember TASK` 显式录制,完成后配置别名,`/task1` 调用。步骤保存服务器连接/持久 ID、已确认 IP、账户、端口、绝对操作路径、串行依赖、验收条件与证据。增加 `workflow_checkpoint` 与 `verificationFor`,对同终端的新观察、未完成前置步骤、并行发送、身份/目录不符和弱化验收条件进行门禁;业务结果语义仍由模型判断。旧格式可读,缺失结构建议重新录制。
220
+
221
+ 验证使用真实流程存储与模拟后端/终端:覆盖两台服务器相同命令不合并、跨服务器阻断、旧读/错误终端/运行中结果不能确认、检查命令不推进步骤、目标及路径不符、显式身份探测和绑定。sudo 用假命令测试,不使用真实凭据;未进行真实 Tabby 桌面、SSH、多供应商模型端到端或耗时/token 对比测试。
222
+
223
+
224
+ ## macOS ChatGPT.app 路径修复(0.3.1)
225
+
226
+ 默认发现补充 `~/Applications/ChatGPT.app/Contents/Resources/codex` 和 `/Applications/ChatGPT.app/Contents/Resources/codex`,保留 PATH、Shell、NVM 及常见安装目录优先级。回归验证用户应用目录、替代系统应用目录、带空格显式路径、无执行权限拒绝、自定义命令不降级,以及 Linux 不扫描 macOS 用户应用目录。
227
+
228
+ 本地 Linux:469 项测试,464 通过、5 项平台跳过;类型检查、skill 一致性和生产构建通过。真实 ChatGPT.app 安装布局及 Tabby macOS 桌面端到端未在本机验证;不调用收费模型烟测。跨平台分支与标签 CI 结果由 GitHub Actions 单独核验。