tabby-ai-tools 0.8.0 → 0.9.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 CHANGED
@@ -22,9 +22,13 @@
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 v0.8.0 interface illustration with SSH attachments, native tab progress, native Pi providers, offline model catalog, instruction snapshots, private CLI history and connection drafts: the assistant coordinates two SSH terminals, with verified workflow recording and a saved /pm1 alias, collapsed thinking and tool activity, on-demand terminal reads, scheduled tasks, Pi built-in runtime and compaction settings, provider connections, automatic startup and language settings](https://raw.githubusercontent.com/Hanlen/tabby-ai-tools/main/docs/assets/overview.png)
25
+ ![Tabby AI Tools v0.9.0 interface illustration with SSH attachments, native tab progress, native Pi providers, offline model catalog, instruction snapshots, private CLI history and connection drafts: the assistant coordinates two SSH terminals, with verified workflow recording and a saved /pm1 alias, collapsed thinking and tool activity, on-demand terminal reads, scheduled tasks, Pi built-in runtime and compaction settings, provider connections, automatic startup and language settings](https://raw.githubusercontent.com/Hanlen/tabby-ai-tools/main/docs/assets/overview.png)
26
26
 
27
- **New in v0.8.0: SSH attachments.** Paste screenshots or add files, upload/download through your existing SSH connection and follow native tab progress. The plugin handles every chunk and base64 fallback without model relay. Copy the verified remote path for your terminal Agent; automatic Codex image attachment and sidebar visual input are not included. [Files, limits and compatibility](docs/attachments.md).
27
+ **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
+
29
+ **v0.8.2 startup fix:** Codex background startup and the sidebar now share CLI discovery, preventing a false “app-server was closed during CLI discovery” alert. Concurrent Claude Code connections also share readiness checks. Clipboard files and images appear inline with thumbnails and removal. [Release notes](docs/releases/0.8.2.md).
30
+
31
+ **New in v0.8.0: SSH attachments.** Paste screenshots or files directly with Ctrl+V (Cmd+V on macOS); inline attachments show image thumbnails. Click a thumbnail to open a larger preview; close it with Esc, the close button or the backdrop. Ask the assistant to upload/download through your existing SSH connection and follow native tab progress. The plugin handles every chunk and base64 fallback without model relay. Use the verified remote path for your terminal Agent; automatic Codex image attachment and sidebar visual input are not included. [Files, limits and compatibility](docs/attachments.md).
28
32
 
29
33
  <sub>Interface illustration with example tasks and connections; appearance varies with your Tabby theme and window size.</sub>
30
34
 
package/README.zh-CN.md CHANGED
@@ -22,9 +22,13 @@
22
22
 
23
23
  Tabby AI Tools 是集成在 [Tabby](https://github.com/Eugeny/tabby) 中的 AI 助手插件。它可以读取终端输出、发送命令,并根据执行结果继续分析和操作。你在侧栏描述目标,在终端查看过程,也可以随时取回输入控制。
24
24
 
25
- ![Tabby AI Tools v0.8.0 界面示意(含 SSH 附件与原生 tab 进度、原生 Pi 供应商、离线模型目录、指令快照、独立 CLI 历史与连接草稿):侧栏协调两个 SSH 终端,展示流程录制验收与已保存的 /pm1 别名、可折叠思考与工具过程、按需读屏、定时任务、Pi 内置运行时与压缩设置、连接列表、启动与语言设置,含自定义 OpenAI 兼容接口设置](https://raw.githubusercontent.com/Hanlen/tabby-ai-tools/main/docs/assets/overview.png)
25
+ ![Tabby AI Tools v0.9.0 界面示意(含 SSH 附件与原生 tab 进度、原生 Pi 供应商、离线模型目录、指令快照、独立 CLI 历史与连接草稿):侧栏协调两个 SSH 终端,展示流程录制验收与已保存的 /pm1 别名、可折叠思考与工具过程、按需读屏、定时任务、Pi 内置运行时与压缩设置、连接列表、启动与语言设置,含自定义 OpenAI 兼容接口设置](https://raw.githubusercontent.com/Hanlen/tabby-ai-tools/main/docs/assets/overview.png)
26
26
 
27
- **v0.8.0 新增 SSH 附件传输:** 粘贴截图或添加文件,复用已有 SSH 上传/下载,并在目标 tab 显示原生进度。插件连续处理所有分块及 base64 回退,无需模型逐段接力。取得校验后的远端路径再交给终端 Agent;本版不自动附图到 Codex,也不向侧栏模型发送图片。[操作、限制与兼容范围](docs/attachments.md)。
27
+ **v0.9.0 新增图片预览、终端增量输出与任务日志。** 点击粘贴图片的缩略图可放大预览;终端支持游标分页和新输出唤醒,任务日志可在本机保存、分页和字面搜索。过期日志可自动回收容量,增量读取沿用受控终端的默认等待。见[终端日志说明](docs/terminal-logs.md)和[发布说明](docs/releases/0.9.0.md)。
28
+
29
+ **v0.8.2 启动修复:** Codex 后台预连接与侧栏共享 CLI 探测,避免启动时误报“app-server was closed during CLI discovery”;Claude Code 并发连接也复用就绪检查。粘贴的文件和图片内联显示,可预览缩略图和移除。[发布说明](docs/releases/0.8.2.md)。
30
+
31
+ **v0.8.0 新增 SSH 附件传输:** 直接 Ctrl+V(macOS 为 Cmd+V)粘贴截图或文件,附件内联显示,图片带缩略图;点击缩略图可放大预览,按 Esc、点击关闭按钮或遮罩即可关闭。让助手复用已有 SSH 上传/下载,并在目标 tab 显示原生进度。插件连续处理所有分块及 base64 回退,无需模型逐段接力。取得校验后的远端路径再交给终端 Agent;本版不自动附图到 Codex,也不向侧栏模型发送图片。[操作、限制与兼容范围](docs/attachments.md)。
28
32
 
29
33
  <sub>根据当前功能绘制的英文界面示意,任务和连接均为示例;实际外观随 Tabby 主题与窗口尺寸变化。</sub>
30
34
 
package/VALIDATION.md CHANGED
@@ -1,3 +1,11 @@
1
+ # v0.8.2 CLI startup and inline attachment fixes — 2026-11-03
2
+
3
+ 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.
4
+
5
+ Linux / Node 22.23.3 full suite: **860 tests, 854 passed, 0 failed, 6 platform-only skips** (`/tmp/tabby-startup-node22-tests.log`). The shell’s default Node 20 run has two Pi fixture failures requiring Node >=22.19; these do not involve the changed CLI code. Release verification uses Node 22.23.3. Initial branch CI passed Linux/macOS but exposed a Windows SFTP fixture timing assumption: cancellation could occur before asynchronous receipt persistence completed. The fixture now waits for the open callback, retaining its cancellation/transport/refcount assertions; production behavior is unchanged. The v0.8.1 tag CI then exposed an immediate-after-SIGKILL Linux state assertion; its fixture now waits with a bounded deadline for ESRCH or a non-running zombie state. The failed tag remains immutable and npm publication advances to 0.8.2. Skill bundle/check, both TypeScript boundaries, production build and diff checks pass. Final logs, reviewed tarball and its digest are retained externally under `/tmp/tabby-release-0.8.2/` (earlier package and desktop-transport evidence remain under `/tmp/tabby-release-0.8.1/`); the GitHub Release records branch/tag CI and artifact SHA-256.
6
+
7
+ Both README headers/provider tables and the synchronized v0.8.1 SVG/PNG overview are reviewed for current features; the unchanged robot GIF and static fallback remain. Package validation checks scripts-enabled installation of the exact tarball with no system node on PATH. No paid inference, real Claude login, SSH task, new Tabby desktop startup/clipboard validation, or Windows/macOS desktop validation is claimed. AGENTS.md, roadmap/research and the personal tabby-release skill remain local and outside the plugin package.
8
+
1
9
  # Unreleased instructions and private CLI session spaces — 2026-11-02
2
10
 
3
11
  Implemented global/per-connection inline or local AGENTS.md instructions, bounded UTF-8 validation, preview and immutable session snapshots across API, Pi, Codex and Claude Code. Codex/Claude private homes, indexes, references, authentication checks and login-command generation are separate from their legacy system mode. Existing source history is retained during portable handoff, repeated handoffs are deduplicated and native session writers are locked. Saving does not start inference or hot-switch an active task.
@@ -387,3 +395,26 @@ The host's russh 0.1.38 directory chmod replays directory size metadata, which O
387
395
  The bilingual READMEs were rendered with GitHub's Markdown API and previewed in Chromium. The 1800×1900 overview SVG/PNG were synchronized and visually inspected, with example attachment/native-progress data and an explicit illustration label. Robot GIF and reduced-motion PNG remain unchanged. Final tarball installation without system Node, checksum/inventory checks, Linux/macOS/Windows branch/tag CI and Registry readback are recorded separately in the GitHub Release.
388
396
 
389
397
  Validation boundaries: actual desktop and SSH evidence above is Linux loopback, not every server/network, Windows/macOS desktop, remote Windows filesystem or real-model image analysis. Existing CLI login/session and provider-account limits continue to apply. This release offers verified remote paths, not automatic Codex image attachment or sidebar model visual input. Unattended transfers are not reusable workflow steps; transfer files before a recording/alias. General incremental read-screen improvements remain deferred.
398
+
399
+ ## Clipboard image preview and scripted regression checks
400
+
401
+ Clipboard image thumbnails now open a native modal preview. Tests cover preserving plain-text paste, file staging, available-image checks, closing and releasing previews on removal/conversation changes, delayed cache reads, and image staging that completes after switching conversations or destroying the panel. `npm run test:attachments` runs these checks and the existing transfer fixtures directly (19 passed on Linux / Node 20.20.2); `npm test` includes them automatically. The two API compaction regressions now use an API fixture rather than unnecessarily connecting Pi. Actual Pi runtime tests retain their version condition, with an explicit skip reason below Node 22.19; scripts neither download nor switch Node.
402
+
403
+ The final full suite on the default Node 20.20.2 ran 865 tests: 826 passed, zero failed and 39 runtime/platform skips. Typecheck, skill consistency and production build passed. A Chromium fixture using the source preview methods, rendered Pug and CSS checked 375px/1280px widths, native modal focus behavior and focus restoration, Escape, backdrop and close-button dismissal. The synchronized overview SVG/PNG was previewed. These checks do not establish actual Tabby desktop clipboard or cross-platform desktop behavior; no paid model calls were made.
404
+
405
+
406
+ ## Unreleased terminal streams and task logs — 2026-11-04
407
+
408
+ The design was reviewed against current output subscriptions and tool dispatch before implementation. Public cursors now bind the host session scope and terminal stream; internal positions retain UTF-16 compatibility and page boundaries preserve Unicode pairs. Completion revisions prevent a previous shell prompt from satisfying a later completion wait. Session changes reset both the stream buffer and the panel summary cursor. Stateful filtering spans terminal control chunks; attachment suppression runs before the shared stream/persistence outlet.
409
+
410
+ Task-scoped local captures feed a bounded asynchronous segmented store. The panel supplies connection/session-space and thread scope; scheduled tasks supply profile/run/thread scope. Release, close and reconnect stop captures. Logs support literal search and bounded pages with a fixed committed high water mark, separate follow cursors, private file permissions, explicit partial/interrupted states and lazy seven-day retention. Saving can be disabled in Settings. It neither verifies workflow completion nor replays commands.
411
+
412
+ Validation on Linux / existing Node 22.19.0: final `npm test` ran 876 cases, 870 passed, zero failed, six actual Windows cases skipped. The earlier Node 20.20.2 run passed 837 with 39 version/platform skips; the Node 22 run additionally exercised the Pi protocol fixtures without real model inference. `npm run skill:bundle`, `npm run skill:check`, `npm run typecheck`, production build including Pi packaging, and `git diff --check` passed. Per-command exit codes and final logs: `/tmp/tabby-stream-node22-checks.json`, `/tmp/tabby-stream-node22-tests.log`, `/tmp/tabby-stream-node22-typecheck.log`, `/tmp/tabby-stream-node22-build.log`, `/tmp/tabby-stream-node22-skill.log`. New fixtures cover Unicode/control splits, cursor tampering/scope/restart, reconnect resets, output wake/cancel listener cleanup, old-prompt rejection, log scope isolation, task release, queue overload, stable growing-log pagination and restart interruption. No real model inference was called.
413
+
414
+ The English/Chinese README, guide, development notes, model-facing skill/references and generated knowledge were updated. The synchronized 1800x2060 overview SVG/PNG was visually inspected; it remains an illustration, not desktop evidence. The log setting uses the existing labelled checkbox layout with descriptive text; non-Chinese locales currently receive English fallback for its two new strings.
415
+
416
+ Limits: no new actual desktop/SSH or macOS/Windows validation, no cross-space log transfer or interactive browsing of a separate scheduled-run scope, and no complete pre-capture screen-history reconstruction. Filesystem power-loss durability and cross-process concurrent use of one log root are not established by these fixtures. This was local implementation only; no version bump, commit, CI or publication was performed. Research and AGENTS.md remain locally ignored.
417
+
418
+ ## Terminal log capacity and delta wait review fixes
419
+
420
+ 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.