tabby-ai-tools 0.7.1 → 0.8.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.
@@ -24,6 +24,10 @@ This is the single model-facing skill for the plugin. Its operation reference re
24
24
 
25
25
  ## Discovery and execution
26
26
 
27
+ For files or clipboard screenshots, prefer `attachment_list` then `attachment_upload` / `attachment_download` on an explicit connected native SSH tab. The plugin streams and verifies the whole file without model chunk relay. Never move files by repeatedly reading or writing base64 through `read_tab` / `send_input`. Keep requestId stable for one operation; use `attachment_status` for its result. Unknown is not permission to repeat. Upload remotePath is an existing parent directory, downloads land in the private attachment cache. Read-only mode forbids transfers. Paths belong to the outer SSH host/account; confirm visibility in containers/nested SSH and the intended Agent. A verified receipt does not prove Codex saw an image. The composer accepts screenshots and files via Ctrl+V / Cmd+V or drag-and-drop, showing inline attachments and image thumbnails without an attachment button or popup; it does not send image content to the sidebar model. Consult the attachment route in the operation reference.
28
+
29
+ Custom user instructions can be configured globally or per connection in Settings → AI Tools → Instructions and sessions, as inline text or a local AGENTS.md reference. New conversations save a snapshot; use `/new` to apply later instruction edits. Codex/Claude Code can use Tabby private session storage with a space-specific official CLI login. Existing system histories are retained in compatibility mode until explicitly switched. Do not infer that a system CLI login authenticates a private space, copy credentials, or replay historical tool calls during context handoff. These are Settings routes, not permission-changing model tools.
30
+
27
31
  For a new kind of Tabby task, call `get_capabilities`. Discover the live profiles, commands and tabs rather than guessing IDs, installed plugins or protocol support. Read [references/operations.md](references/operations.md) (or `read_skill` with `section=operations`) for the appropriate route. Use `read_skill` with `section=upstream` to list versioned official source paths and the last snapshot check; add `source` with a returned path to read its API notes. The reference may describe features newer than the installed host; live discovery and tool results take precedence.
28
32
 
29
33
  Tabby can provide local shells (including platform-specific shells and WSL), SSH, serial and Telnet connections, saved profiles and groups, split layouts, terminal search and appearance, hotkeys, connection-specific actions such as SFTP and tunnels, settings, and installed extensions. Availability depends on the platform, host version and enabled providers. Some features expose a registered command or settings control rather than a dedicated AI tool. Use `read_window` and `interact_window` to continue through application dialogs outside the tab. Do not claim universal coverage or invent a tool for an unavailable feature.
@@ -62,4 +66,12 @@ API connections may select an isolated Pi SDK runtime. Since plugin 0.5.1, its S
62
66
 
63
67
  The user can run /compact on an idle API/Pi session. Summaries cost tokens and retain raw history; automatic compaction is opt-in. Preserve current user constraints, active skills, observed outcomes and pending workflow checkpoints. Neither a summary nor previous tool success substitutes for current terminal evidence. After interruption or an unknown action result, read the actual terminal before continuing; never replay a modifying operation merely to recover a lost response. Goal token budgets and host tool limits still apply during retries and summaries.
64
68
 
69
+
70
+
71
+ ## Pi API connection configuration
72
+
73
+ New API connections recommend Pi SDK with native providers and the bundled SDK 1.4.0 catalog, or four explicit custom protocols. Catalog visibility is not account authorization. Save/Discard/Copy operate on independent drafts; saving never runs paid inference or changes active session configuration. Use an idle sidebar reconnect to apply. A no-inference configuration/runtime check proves only local compatibility and selected credential presence; model/tool testing consumes usage. Keep legacy Pi products and their protocol/region/key distinctions. Codex and Claude Code remain independent CLI connections. Custom instruction snapshots and independent CLI session spaces are available through Settings; OAuth/cloud identity and advanced configuration import/export remain pending.
74
+
65
75
  On Windows, leave the Codex CLI executable blank or set it to codex for automatic version selection. Discovery collects all PATH matches, desktop/standalone installs, user .local/bin and known/npm global prefix locations, comparing --version using semantic versions instead of file dates or hash names. Probes do not call a model; each has a 1.5-second/16-KiB limit, with four concurrent probes and cancellation cleanup. A valid version outranks failed/unknown probes; all unknown retains discovery order without guaranteeing newest. Each new connection rescans. An explicit stable OpenAI/Codex/bin directory compares only its child installations. Removed version-specific desktop paths recover within that same installation; existing explicit file paths and custom command names stay pinned. CLI freshness alone does not grant account model access.
76
+
77
+ Attachment transfer actions are not reusable workflow steps. Perform the transfer before /remember or a saved alias, and verify its resulting path as an explicit workflow prerequisite.
@@ -1,5 +1,7 @@
1
1
  # Operation routes
2
2
 
3
+ For custom AGENTS.md instructions or separate CLI history, guide the user to Settings → AI Tools → the selected connection → Instructions and sessions. Shared defaults can be overridden or disabled per connection. Previewing and saving perform no inference; new sessions read and freeze the chosen text/file, while existing snapshots remain usable. Codex/Claude Code private spaces keep native history separate from ordinary CLI use, use the same workspace and require their own authentication check. Generate the selected-space login command and let the user complete official authentication locally; never ask for a password/token in chat. Save space changes and reconnect only when idle to transfer the current conversation, or use `/new` to start fresh. Source histories remain in place; private storage does not grant an OS sandbox or additional tools. See the packaged instructions/session documentation for platform validation limits.
4
+
3
5
  | Task | Tools and verification |
4
6
  | --- | --- |
5
7
  | Find capabilities | `get_capabilities`, then `list_profiles`, `list_commands`, `list_hotkeys` as needed. Providers and commands are discovered on demand. |
@@ -103,4 +105,20 @@ API connections may select an isolated Pi SDK runtime. Since plugin 0.5.1, its S
103
105
 
104
106
  The user can run /compact on an idle API/Pi session. Summaries cost tokens and retain raw history; automatic compaction is opt-in. Preserve current user constraints, active skills, observed outcomes and pending workflow checkpoints. Neither a summary nor previous tool success substitutes for current terminal evidence. After interruption or an unknown action result, read the actual terminal before continuing; never replay a modifying operation merely to recover a lost response. Goal token budgets and host tool limits still apply during retries and summaries.
105
107
 
108
+
109
+
110
+ ## Pi configuration boundaries
111
+
112
+ For Gemini/OpenRouter and supported native API-key providers, browse the offline SDK 1.4.0 directory without a key, then select the connection's explicit credential. Native protocol and model limits come from SDK metadata. Manual models require an explicit protocol, context window and maximum output capability; request output budget is separate. Custom protocols: OpenAI Chat Completions, Responses, Anthropic Messages, Google Generative AI. Native endpoints may be overridden without dropping SDK identity/metadata. Never equate catalog entries or local credential checks with account permission, quota or successful host-tool execution.
113
+
114
+ Connection changes stay in a draft until Save; Discard cancels new profiles, Copy creates a separate ID with no thread references. Saved edits apply after an idle reconnect; running tasks retain their snapshot. Legacy fingerprints and Kimi Coding protocol patches remain intact. No automatic tool replay occurs on handoff. Bedrock/Vertex/cloud identity and OAuth adapters, advanced headers/import/export/network refresh remain pending. Custom AGENTS.md snapshots and private Codex/Claude history spaces are available through Settings.
115
+
106
116
  On Windows, leave the Codex CLI executable blank or set it to codex for automatic version selection. Discovery collects all PATH matches, desktop/standalone installs, user .local/bin and known/npm global prefix locations, comparing --version using semantic versions instead of file dates or hash names. Probes do not call a model; each has a 1.5-second/16-KiB limit, with four concurrent probes and cancellation cleanup. A valid version outranks failed/unknown probes; all unknown retains discovery order without guaranteeing newest. Each new connection rescans. An explicit stable OpenAI/Codex/bin directory compares only its child installations. Removed version-specific desktop paths recover within that same installation; existing explicit file paths and custom command names stay pinned. CLI freshness alone does not grant account model access.
117
+
118
+ ## File and image attachments
119
+
120
+ Use attachment_list to find this conversation's local file IDs, attachment_upload for an explicit native SSH target and existing absolute parent directory, and attachment_download for a remote regular file. The plugin streams all chunks and verifies SHA-256; never copy base64 through model messages or repeated read_tab/send_input calls. The destination filename is private and unique. Downloads write only to the plugin cache, not model-selected local paths. Both directions are disabled in read-only mode. Use the same requestId for one operation; attachment_status observes it, attachment_cancel stops it. Running status may be queried after a bounded wait; missing acknowledgement or unknown requires remote inspection, not automatic resubmission.
121
+
122
+ The target tab shows native progress; the composer shows inline pasted attachments with image thumbnails and removal. There is no attachment button or transfer popup. Use attachment_status for path/byte details and attachment_cancel for cancellation. Transports are SFTP, independent exec raw bytes, exec base64 and finally framed PTY base64 only in a verified idle Shell. Do not interrupt an existing Agent to force fallback. Paths and account belong to the outer SSH connection; confirm visibility for nested SSH, containers or sandboxed Agents. Copying a verified image path is not proof of visual input. This release does not automatically attach images to an existing Codex conversation or send them to the sidebar model. Remote uploads remain until explicitly removed; cached attachments can be removed in the panel. Restart does not replay transfers. See installed docs/attachments.md for limits, permissions and verification boundaries.
123
+
124
+ Attachment transfer actions are not reusable workflow steps. Perform the transfer before /remember or a saved alias, and verify its resulting path as an explicit workflow prerequisite.