Skip to content

Releases

tack 1.0.22

Choose a tag to compare

@github-actions github-actions released this 27 Nov 01:28

Added

  • Plugin session entries and lifecycle wire traces: tack-RPC 3.2 adds
    session/appendEntry to the Rust, TypeScript, and Python SDKs. JSON print
    writes the session header first and streams entries appended by startup
    handlers as entry_appended before agent_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 report started, queued, or handled; steer and
    follow_up report their queue outcome. Extension commands and blocked
    UserPromptSubmit inputs are handled without a synthetic run, while a
    started response is flushed before agent_start. new_session,
    switch_session, fork, and clone drain the previous run and emit one
    sessionShutdown / sessionStart pair with the replacement reason before
    their success response.

  • Per-model compaction budgets and validation: compaction.modelOverrides
    accepts exact provider/modelId entries with independent reserveTokens
    and keepRecentTokens overrides. 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 publishing message_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
    /idea prefers research-idea, while /skill and shorthand such as
    /skbra retain 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 by cacheRetention: "none"), while
    OpenCode/OpenCode Go always send x-opencode-session when a session id is
    available. Loaded llama.cpp models are probed with
    /props?model=<id>&autoload=false; enable_thinking chat templates enable
    the Qwen reasoning map without probing sleeping or unloaded models.

  • Imported context edits now drive model-visible history: v3
    context_edit entries 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_edit now provides the explicit write API;
    actionable turn-boundary drafts remain unwired.

  • Two-stage plugin context transforms: tack-RPC 3.1 adds the optional
    transformContextWithSystem capability. Ordinary transformContext
    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 just enabled, exposure, or toolExposure on a
    global server, inheriting transport and credentials; invalid or unsafe
    replacements leave the global definition intact. Global and extension
    Streamable HTTP servers can use auth.provider to 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 list uses 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_search waits for deferred servers
    on demand and merges their tools into the live pool in TUI, print, RPC, and
    ACP. --tools/--exclude-tools accept * patterns, pure +name/-name
    modifiers work for CLI and layered defaultTools, non-MCP allowlists retain
    unnamed MCP tools as search-only, and --no-mcp disables 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 use thinkingLevel; Copilot reads top-level reasoning
    usage. The embedded catalog now contains 1179 models.

Changed

  • Azure and Kimi Coding provider configuration migrated: use provider id
    azure in auth.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; custom baseUrl overrides 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: rustix 1.1.6 addresses zero-length
    extended-attribute buffer initialization, and url 2.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 native medium, accept case-
    insensitive mapping values, and no longer emit a hard-coded unsupported
    MINIMAL/HIGH level. Invalid mappings become request errors.

  • Plugin session lifecycle uses the protocol's actual event names:
    sessionStart and sessionShutdown replace the previous snake_case and
    non-standard session_end emissions, 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 containing bash) 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
    quick bash/read results print immediately instead of after the
    subagent finishes.

  • /session during 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.authServerMetadataUrl replaces broken
    discovery metadata, RFC 9207 iss binds 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, and tack mcp login --timeout <seconds>
    bounds the whole flow (default 300).

  • Console close and termination signals run bounded cleanup: SIGHUP and
    SIGTERM on Unix and CTRL_CLOSE_EVENT on 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...

Read more

tack 1.0.21

Choose a tag to compare

@github-actions github-actions released this 22 Nov 04:16

Added

  • Built-in Herdr client: the interactive TUI now reports working,
    idle, and blocked lifecycle 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; see docs/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

Choose a tag to compare

@github-actions github-actions released this 20 Nov 16:11

Fixed

  • Refreshed model catalogs now preserve canonical model IDs: current
    @earendil-works/pi-ai provider data uses chat:<id> storage keys with
    the real model ID in the entry's id field. 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 to crash.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 new chrono unmaintained 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

Choose a tag to compare

@github-actions github-actions released this 10 Nov 02:07

Fixed

  • Automatic compaction now shrinks token-dense sessions and remains
    recoverable on the next turn
    : minKeptTurns is 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: rmcp 3.9.0 fixes OAuth client SSRF and
    two Streamable HTTP denial-of-service issues; rusqlite 0.41.1 upgrades
    the bundled SQLite through libsqlite3-sys 0.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

Choose a tag to compare

@github-actions github-actions released this 06 Nov 15:50

Fixed

  • web_search no longer presents a degraded keyless scrape as an answer:
    from some egresses (notably mainland China, where www.bing.com redirects 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 at webSearch.provider instead of being passed off as an answer.
    Bing results are also URL-cleaned (&amp; in href is decoded, bing.com/ck/a
    click-tracker wrappers are unwrapped to the real target) and ad blocks that
    some markets render inside a b_algo shell 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

Choose a tag to compare

@github-actions github-actions released this 05 Nov 06:35

Fixed

  • Dependency security sweep: zip 9.3.0 (extraction symlink/SUID/DoS
    advisories), rustls 0.23.46, tokio 1.54.1, rustls-webpki 0.103.16,
    webpki-roots 1.0.11, pulldown-cmark 0.13.6 and ctutils 0.4.8.
    crypto-bigint 0.5 remains only through jsonwebtoken's unused p256/p384
    support (tack signs RS256 only); documented as a deny.toml exception.

Full Changelog: tack-v1.0.16...tack-v1.0.17

tack 1.0.16

Choose a tag to compare

@github-actions github-actions released this 05 Nov 03:09

Fixed

  • ctrl+s now 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

Choose a tag to compare

@github-actions github-actions released this 05 Nov 02:29

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 [A instead. 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

Choose a tag to compare

@github-actions github-actions released this 31 Oct 04:28

Fixed

  • /worktree apply is 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
    conflicted merge --squash writes no MERGE_HEAD, so git 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 which discard deleted its only copy.
  • Worktree registry writes are serialized: a process-wide lock plus a
    sibling <agentDir>/worktrees.guard for 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.
  • /tasks folds 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

Choose a tag to compare

@github-actions github-actions released this 30 Oct 17:01

Added

  • /tasks control 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, x cancels the selected running task (process tree for
    bash, cancellation token for subagents), and c clears finished rows.
    m on 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.
  • /worktree management: 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 (only tack-subagent-*
    branches; never the active checkout); /worktree prune forgets 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's todo tool backed by the same state, so a parent can
    seed a plan and parallel children claim/complete items on one board
    (custom agent tools: 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 called mach_msg with MACH_RCV_INTERRUPT and aborted
    the whole process on MACH_RCV_INTERRUPTED, so any caught signal
    (e.g. SIGCHLD from a spawned child) delivered to that thread could
    crash the process — the flaky cargo test -p tack-app --lib abort, 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_hook read-only, fuel/epoch re-arming on protocol progress
    now lives in wrappers around WASI fd_read/fd_write; the limits
    behave exactly as before.

Full Changelog: tack-v1.0.12...tack-v1.0.13