Repository navigation
Releases
tack 1.0.22
Added
-
Plugin session entries and lifecycle wire traces: tack-RPC 3.2 adds
session/appendEntryto the Rust, TypeScript, and Python SDKs. JSON print
writes the session header first and streams entries appended by startup
handlers asentry_appendedbeforeagent_start; RPC startup and
new/switch/fork/clone replacement handlers emit each persisted entry event
exactly once and before the command's success response. TUI, print, and RPC
share the append API without holding session state locks across plugin
callbacks. Session lifecycle completion requests await handler side effects,
with a v3.1 notification fallback for older plugins. -
RPC prompt dispositions and replacement lifecycle: successful
prompt
responses now reportstarted,queued, orhandled;steerand
follow_upreport their queue outcome. Extension commands and blocked
UserPromptSubmitinputs are handled without a synthetic run, while a
started response is flushed beforeagent_start.new_session,
switch_session,fork, andclonedrain the previous run and emit one
sessionShutdown/sessionStartpair with the replacement reason before
their success response. -
Per-model compaction budgets and validation:
compaction.modelOverrides
accepts exactprovider/modelIdentries with independentreserveTokens
andkeepRecentTokensoverrides. Manual, automatic, overflow, and/context
paths resolve the active model; ordinary settings remain the fallback.
Ordinary and active override values are lazily validated as non-negative
safe integers, and malformed active entries produce errors rather than a
silent fallback on TUI, print, RPC, ACP, and remote surfaces. -
Durable recovery omissions with source-entry finalization: session-backed
hooks persist messages before publishingmessage_end, retaining source
entry ids for recovery. Overflow and recoverable-length retries omit the
failed assistant and matching tool results from model-visible context before
compaction, without deleting raw history. Truncated tool calls instead fail
into results and continue naturally without an omission. Actionable
turn-boundary drafts remain a separate follow-up. -
Skill autocomplete ranking: slash completion now uses upstream fuzzy
scoring. Skill bare-name matches rank before full-name-only matches, so
/ideaprefersresearch-idea, while/skilland shorthand such as
/skbraretain the expected completions. -
Provider session routing and llama.cpp thinking discovery: OpenRouter,
Baseten, Fireworks, and Cloudflare affinity flags now emit their protocol-
appropriate session headers (disabled bycacheRetention: "none"), while
OpenCode/OpenCode Go always sendx-opencode-sessionwhen a session id is
available. Loaded llama.cpp models are probed with
/props?model=<id>&autoload=false;enable_thinkingchat templates enable
the Qwen reasoning map without probing sleeping or unloaded models. -
Imported context edits now drive model-visible history: v3
context_editentries omit or replace earlier user/assistant/tool-result/
custom messages on the active branch without changing raw history. The same
projection feeds prompts, compaction, branch summaries, and token estimates;
v4 migration preserves target ids and post-compaction retained-tail edits.
SessionManager::append_context_editnow provides the explicit write API;
actionable turn-boundary drafts remain unwired. -
Two-stage plugin context transforms: tack-RPC 3.1 adds the optional
transformContextWithSystemcapability. OrdinarytransformContext
handlers edit the non-system projection first; full-system handlers then
receive the complete transcript and authoritatively control final prompt
and tool replay, including deletion without fallback resurrection. The
capability and dispatch are implemented in the Rust, TypeScript, and Python
SDKs. -
Project MCP overlays and provider-backed HTTP auth: trusted project
entries may now override justenabled,exposure, ortoolExposureon a
global server, inheriting transport and credentials; invalid or unsafe
replacements leave the global definition intact. Global and extension
Streamable HTTP servers can useauth.providerto re-resolve a provider
credential on every POST/streaming GET/DELETE, including OAuth refresh and
derived API keys, without entering MCP OAuth or persisting tokens in
mcp-tokens.json.tack mcp listuses the same merge/auth path, and
login/logout points to the owning provider. -
Deferred MCP servers no longer block the first prompt: all enabled
servers connect in the background, but only direct servers participate in
the bounded 10-second startup wait.tool_searchwaits for deferred servers
on demand and merges their tools into the live pool in TUI, print, RPC, and
ACP.--tools/--exclude-toolsaccept*patterns, pure+name/-name
modifiers work for CLI and layereddefaultTools, non-MCP allowlists retain
unnamed MCP tools as search-only, and--no-mcpdisables configured MCP
servers for the run. -
Current Azure, Kimi, Qwen, Gemini, and Copilot provider support: Azure
Foundry Chat Completions supports normalized endpoints and deployment-name
mapping; Qwen Token Plan adds Individual CN and per-plan credential fallback;
Gemini 4+/prefixed ids usethinkingLevel; Copilot reads top-level reasoning
usage. The embedded catalog now contains 1179 models.
Changed
- Azure and Kimi Coding provider configuration migrated: use provider id
azureinauth.json/models.json(the Responses API id remains
azure-openai-responses; the legacy provider id and its stored credentials
remain compatible aliases).
Kimi Coding now uses OpenAI Completions at
https://api.kimi.com/coding/v1; custombaseUrloverrides must include
/v1. Qwen Team/Individual gateways moved to the current QwenCloud/Qianwen
hosts, with plan-specific API keys taking priority over shared regional keys.
Fixed
-
Dependency security updates:
rustix1.1.6 addresses zero-length
extended-attribute buffer initialization, andurl2.5.9 removes recursive
blob:origin stack exhaustion (also relevant to MCP redirect handling). -
Google thinking levels honor each model's supported map: Google
Generative AI and Vertex clamp requested and disabled reasoning upward
before falling back downward, preserve nativemedium, accept case-
insensitive mapping values, and no longer emit a hard-coded unsupported
MINIMAL/HIGHlevel. Invalid mappings become request errors. -
Plugin session lifecycle uses the protocol's actual event names:
sessionStartandsessionShutdownreplace the previous snake_case and
non-standardsession_endemissions, which default subscribers could not
receive. Startup/resume/replacement/quit reasons are included. -
Queued tool calls no longer look stuck while a long sibling call runs:
tool cards registered from the streaming assistant message now show a
queued state (○ "not started yet") and only flip to running when
execution actually starts, instead of appearing to execute for the whole
wait. Sequential batches (e.g. those containingbash) no longer force a
foreground subagent's sibling calls to wait for it: the subagent runs
concurrently while the other calls keep their sequential semantics, so
quickbash/readresults print immediately instead of after the
subagent finishes. -
/sessionduring an active run reports the real session: the command
previously read the in-memory placeholder that parks the live session
while a run is active, showing a fresh session id,(in-memory)as the
file, and zero tokens/cost. It now reads the parked session and keeps
reporting the restored session after the run hands it back. -
Large streamed tool arguments no longer reparse every accumulated prefix:
a shared incremental JSON parser feeds every delta once for Anthropic,
Bedrock, Mistral, OpenAI Completions/Responses, tack-messages, and CodeBuddy,
with bounded snapshot copying and forced EOF/error catch-up. Raw arguments
are still validated by the strict final parser before execution; Responses
authoritative replacement, grammar/custom plain-text input, concurrent tool
calls, and existing session/wire formats retain their previous semantics. -
OAuth refreshes preserve rotating credentials across processes and
cancellation: provider and MCP refreshes serialize the complete
reload/request/persist cycle with mandatory cross-process locks, while
store-wide locks protect unrelated entries. Once started, refreshes are
detached from caller cancellation and awaited during graceful exit; commit
checks prevent late responses from overwriting a newer sign-in or restoring
a logged-out credential. -
MCP OAuth storage and authorization are isolated and hardened: token
entries are keyed by server name + normalized URL, with atomic migration of
legacy name-only entries.oauth.authServerMetadataUrlreplaces broken
discovery metadata, RFC 9207issbinds authorization responses to the
expected server, step-up retains granted scopes, and authorization URLs are
restricted to HTTP(S). Interactive sign-in is cancellable, rejected tokens
refresh before browser fallback, andtack mcp login --timeout <seconds>
bounds the whole flow (default 300). -
Console close and termination signals run bounded cleanup: SIGHUP and
SIGTERM on Unix andCTRL_CLOSE_EVENTon Windows now enter the existing
TUI/print/RPC cancellation, session, extension, and OAuth-persistence
cleanup, with a four-second forced-exit backstop. RPC bash and prompt work
are cancelled and drained before lifecycle teardown, preventing descendant
processes and late session writes from escaping shutdown. -
**Upstream delta reports parse bilingua...
tack 1.0.21
Added
-
Built-in Herdr client: the interactive TUI now reports
working,
idle, andblockedlifecycle state when running in a Herdr pane, covers
permission and other agent-input dialogs, and releases the pane on exit.
Persistent sessions report their ID and a session- and model-aware resume
command that preserves the agent directory and replays the transcript, so
Herdr can reopen the current session with the same settings, credentials,
and visible history after a restart. The integration is automatic,
asynchronous, best-effort, and requires no plugin or Herdr-side
installation; seedocs/herdr.md. -
--agent-dir <DIR>CLI flag: overrides the agent directory used for
settings, credentials, providers, and sessions, taking precedence over
TACK_AGENT_DIR. Herdr uses the same flag to make restored sessions
self-contained across platforms.
Full Changelog: tack-v1.0.20...tack-v1.0.21
tack 1.0.20
Fixed
-
Refreshed model catalogs now preserve canonical model IDs: current
@earendil-works/pi-aiprovider data useschat:<id>storage keys with
the real model ID in the entry'sidfield. Tack no longer exposes those
storage keys as model IDs, and discards previously corrupted catalog
caches on startup (falling back to the embedded catalog). ACP startup
configuration errors are also returned as normal errors instead of
panicking and appending tocrash.log. -
Dependency security sweep: Wasmtime 50.0.3 addresses the November
2026 runtime/WASI advisories, including a Windows WASI filesystem sandbox
escape (RUSTSEC-2026-0587). The newchronounmaintained notice
(RUSTSEC-2026-0543) reports no vulnerability and is documented as a
non-blocking exception while a replacement migration remains follow-up
work.
Full Changelog: tack-v1.0.19...tack-v1.0.20
tack 1.0.19
Fixed
-
Automatic compaction now shrinks token-dense sessions and remains
recoverable on the next turn:minKeptTurnsis a soft preference when
honoring it would retain more tokens than are summarized (previously two
large turns could leave nearly the whole window intact). Subsequent
compactions also include the previous checkpoint's materialized retained
tail in the summary input; this both preserves that history and allows
overflow recovery when the first tool turn after a compaction overflows. -
Dependency security sweep:
rmcp3.9.0 fixes OAuth client SSRF and
two Streamable HTTP denial-of-service issues;rusqlite0.41.1 upgrades
the bundled SQLite throughlibsqlite3-sys0.39.1 (RUSTSEC-2026-0457,
RUSTSEC-2026-0459, RUSTSEC-2026-0461 and RUSTSEC-2026-0462).
Full Changelog: tack-v1.0.18...tack-v1.0.19
tack 1.0.18
Fixed
web_searchno longer presents a degraded keyless scrape as an answer:
from some egresses (notably mainland China, wherewww.bing.comredirects to
cn.bing.com) the scraped SERP answers only the first query term — “best
cloud hosting” returned ten dictionary pages for “best” — while still looking
like a normal result list. A result set that mentions fewer than 60% of the
query's terms now counts as degraded: the scrape chain moves on to the other
keyless backend (previously any non-empty set ended the chain), and if both
are degraded the best attempt is still returned but prefixed with a warning
pointing atwebSearch.providerinstead of being passed off as an answer.
Bing results are also URL-cleaned (&inhrefis decoded,bing.com/ck/a
click-tracker wrappers are unwrapped to the real target) and ad blocks that
some markets render inside ab_algoshell are dropped. Each keyless scrape
attempt is capped at 10s (the pair used to cost a fixed 30s per attempt when
the fallback is blackholed), so a degraded search costs ~13s instead of ~31s.
Full Changelog: tack-v1.0.17...tack-v1.0.18
tack 1.0.17
Fixed
- Dependency security sweep:
zip9.3.0 (extraction symlink/SUID/DoS
advisories),rustls0.23.46,tokio1.54.1,rustls-webpki0.103.16,
webpki-roots1.0.11,pulldown-cmark0.13.6 andctutils0.4.8.
crypto-bigint0.5 remains only through jsonwebtoken's unused p256/p384
support (tack signs RS256 only); documented as adeny.tomlexception.
Full Changelog: tack-v1.0.16...tack-v1.0.17
tack 1.0.16
Fixed
ctrl+snow sends a queued message when the editor is empty: the queued
echo has always advertised "ctrl+s send now", but with an empty editor the
shortcut was a no-op — the message had to be recalled first. It now
withdraws the newest queued message and resubmits it immediately (aborting
the current run, or starting one when idle). Messages the agent already
drained are left alone (no double send), and the draft flow is unchanged.
Full Changelog: tack-v1.0.15...tack-v1.0.16
tack 1.0.15
Fixed
- Queued-message recall can no longer grab a message that is already being
sent:alt+↑used to remove the transcript echo and withdraw the text in
the short window between the agent loop draining a queued steering message
and the UI marking it delivered. The message was already on its way (so it
could be submitted twice), and the "out of sync" fallback could even evict
a different still-queued message. Recall now checks the queue first: if the
text is gone the echo stays and a notice explains that it is already on its
way. Recalling also clears an autocomplete popup computed for the old
editor draft. alt+↑now works on macOS terminals that send Option as Meta: Terminal.app
(with "Use Option as Meta key") and iTerm2 in Meta mode encode Option+↑ as
ESC ESC [ A. crossterm 0.29 splits that into Esc,[,A, so pressing the
recall key aborted the running turn and typed[Ainstead. The terminal
input layer folds the double-escape CSI/SS3 shape back into Alt+↑ (and the
other arrows/Home/End), leaving ordinary Escape and typing untouched.
Full Changelog: tack-v1.0.14...tack-v1.0.15
tack 1.0.14
Fixed
/worktree applyis retryable: it now refuses a repository with
uncommitted tracked changes before touching anything, and a failed or
conflicting squash merge is rolled back to the pre-merge state (a
conflictedmerge --squashwrites noMERGE_HEAD, sogit merge --abort
could not undo it). Previously the first failure left the worktree clean,
every retry then reported "no changes", and the child's committed work
never landed — after whichdiscarddeleted its only copy.- Worktree registry writes are serialized: a process-wide lock plus a
sibling<agentDir>/worktrees.guardfor other tack processes. Eight
parallel subagents used to lose seven of their rows, which also disabled
the "refuse apply/discard while the owning subagent is still running"
guard for the lost records. /tasksfolds tabs as well as CR/newlines in row labels, status lines
and the steering compose box, so a command or compiler error containing a
tab cannot desync the panel layout.
Full Changelog: tack-v1.0.13...tack-v1.0.14
tack 1.0.13
Added
/taskscontrol panel: background bash tasks and fire-and-forget
subagents share one live registry in the TUI. Rows update in place
(stable registration order), Enter opens a tail-following output viewer
with scrolling,xcancels the selected running task (process tree for
bash, cancellation token for subagents), andcclears finished rows.
mon a running subagent opens an inline message box — the text is
queued and steered into the child loop at its next turn boundary (bash
tasks have no message channel). Headless surfaces keep using
bash_output/bash_wait./worktreemanagement: every subagent worktree is recorded in
<agentDir>/worktrees.json(task label, branch, path)./worktree [list]
shows branch, label, diff summary and path;/worktree apply [branch]
commits the worktree's changes on its branch and squash-merges them into
the current repo's index (staged, not committed);/worktree discard <branch>removes the checkout and branch (onlytack-subagent-*
branches; never the active checkout);/worktree pruneforgets rows whose
worktree disappeared. Apply/discard are refused while an agent run is
active, and while the worktree's own background subagent is still
running in this process (stop it from /tasks first).- Shared task board: subagents started from the TUI now receive the
parent session'stodotool backed by the same state, so a parent can
seed a plan and parallel children claim/complete items on one board
(custom agenttools:whitelists still apply).
Fixed
- macOS SIGABRT when WASM plugins coexist with child processes:
upgraded wasmtime 49.0.2 → 50.0.1. In 49.x the macOS Mach exception
handler thread calledmach_msgwithMACH_RCV_INTERRUPTand aborted
the whole process onMACH_RCV_INTERRUPTED, so any caught signal
(e.g.SIGCHLDfrom a spawned child) delivered to that thread could
crash the process — the flakycargo test -p tack-app --libabort, and
a real crash for any long-lived process that embeds WASM extensions and
spawns subprocesses. wasmtime 50 drops the flag and retries the receive
(upstream issue #14393, PR #14414). Because 50 also makes
Store::call_hookread-only, fuel/epoch re-arming on protocol progress
now lives in wrappers around WASIfd_read/fd_write; the limits
behave exactly as before.
Full Changelog: tack-v1.0.12...tack-v1.0.13