Skip to content

chore: sync private v6.26.0 (922d31229) - #145

Merged
agent-kit-public-sync[bot] merged 1 commit into
mainfrom
sync/v6.26.0-922d31229
Nov 30, 2026
Merged

agent-kit-public-sync[bot] merged 1 commit into
mainfrom
sync/v6.26.0-922d31229

Conversation

@agent-kit-public-sync

Copy link
Copy Markdown
Contributor

Summary

  • Automated allowlist sync from the private source of truth.
  • Release v6.26.0.
  • Head branch sync/v6.26.0-922d31229.

Release notes

Added

  • New --backend local runs plan ticks on a model installed on this machine, through your own pi: agent-kit run-plan --backend local --model <source>:<id>, with the id from agent-kit models (for example omarchy:qwen3.8-27b-gufo or ollama:llama3.1:8b). An Omarchy model reaches pi through omarchy-models overlay pi <recipe>, and a stopped Omarchy model that fits is started first with omarchy-models start <recipe>; Ollama, LM Studio and llama.cpp models get a temporary provider extension with a placeholder key, removed after the tick. pi runs in rpc mode with no extensions but the kit's provider, no skills, no prompt templates, no project-local pi files, no session file, offline, and its own temporary agent directory, so nothing in ~/.pi, ~/.config/omarchy (apart from the overlay file Omarchy regenerates itself) or ~/.config/hypr is written. HITL gates are answered in the same pi session, as on claude. The backend is explicit-only: auto never picks it, a missing pi, an unknown id or a model that does not fit stops the run with a message naming agent-kit models, --on-limit is refused with it, and a tick reviewer runs after a local tick only on a reviewer backend you named, so a local run never moves to a paid engine on its own. Small models may not finish a tick: a provider error, a prompt pi refuses, a non-zero pi exit, a tick with no LOOP_TICK_RESULT line and no to-do completed, or a continue tick that changed neither the plan nor HANDOFF, stops the run as a failed tick, never as a success; the loop does not check what HANDOFF says, and there is no turn or time cap, so stop a model that loops yourself. agent-kit run <slash> --backend local works the same way. Driver protocol 1.6.0 adds the model_loading event (starting, loading, ready, failed) while a stopped model starts. Details: docs/consumer-configuration.md, docs/model-roles-capability-matrix.md, docs/driver-events-protocol.md.
  • New agent-kit models [--json] lists the text models installed on this machine, read-only: Omarchy recipes (omarchy-models status --json, when the command exists), Ollama (cloud and embedding tags left out), LM Studio and a llama.cpp server, all on 127.0.0.1 only, without following redirects. Each model has an id <source>:<id> (for example omarchy:qwen3.8-27b-gufo or ollama:llama3.1:8b), a label, its OpenAI-compatible /v1 endpoint, a state (running, stopped or not-fit, with the reason) and whether it is runnable (pi on PATH and the model fits; a stopped Omarchy recipe counts, since a run starts it). A source that is missing, refuses the connection, times out (1.5 s) or answers with bad JSON gets a note and the others still list; the command exits 0 even when nothing answers. It never starts, stops or calls a model and reads no credentials. --json prints {"schemaVersion":1,"models":[...],"sources":[{"source","ok","note"?}],"pi":{"found":...}}. Details: docs/model-roles-capability-matrix.md.
  • agent-kit hook session-start --format pi prints the session-start context as plain text for a pi session, with one added section that sets the approval path for pi, which has no question tool: one HITL_GATE: <ask-id> | <label 1> | ... line followed by the same labels as a numbered list, then wait; skip or cancel means stop; never /git-prod without the operator's explicit yes. --format cursor (the default) and --format claude print exactly what they printed before, an unknown value still falls back to cursor, and a failure still prints the one-line notice with exit 0. New agent-kit paths [--cwd <dir>] [--json], read-only, prints the kit root and its slash-command and skill directories as absolute paths ({"schemaVersion":1,"kitVersion":...,"root":...,"commands":...,"skills":[...]}; commands is null and a skill directory is left out when it does not exist), so a host adapter can read commands and skills in place without naming the kit's folders. The root is the nearest folder with .cursor/agent-kit.json, searched upward and no further than the git root; outside a kit it exits 1 with the reason on stderr and nothing on stdout.
  • The CLI npm package is now also a pi package: it ships one pi extension (pi/agent-kit.ts, listed under the pi key with the pi-package keyword) that brings the kit into pi. In any folder with a kit, a pi session gets the kit's slash commands and skills, read in place from the repo, and the session-start rules in its system prompt (a named agent-kit section). pi skips a command whose frontmatter is not valid YAML. Arguments typed after a kit command, as in /run-plan foo.plan.md, reach the agent as an ARGUMENTS: line. /agent-kit [path] points the bridge at another folder; run /reload afterwards for its commands. The extension asks the agent-kit on your PATH where the kit is, runs no code from the repository and adds no files to it; if the CLI is missing, fails, times out or is too old for the bridge, pi keeps working with one warning (shown in the pi terminal UI, not in --print runs) and no kit context. Install it only when you want it: agent-kit pi install runs pi install npm:@dadado/agent-kit-cli@<this CLI's version> in your user pi settings (--local for this project's .pi/settings.json; when pi refuses because the project is not trusted, the command says so and you can re-run with --approve, which pi applies to that one command only; --dry-run prints the command), says so and exits 0 when that exact version is already configured (with --local, pi shows project packages only with --approve, so without it that check is skipped), replaces another configured version, and prints the pi remove line; agent-kit pi remove undoes it. install, update, doctor and headless runs never install it. Guide: docs/pi-kit-surface.md.

Fixed

  • A plan tick that ends with LOOP_TICK_RESULT: continue but did nothing no longer counts as done. agent-kit run-plan hashes the active plan file and .cursor/HANDOFF.md before each tick; a continue tick that lowered no pending count and left both byte-identical stops the run with exit 1 and run_end.reason tick reported continue without progress, and --land-on-gate lands it as a failure. agent-kit countdown reports it as Circuit's Dead (exit 3, outcome broken, the reason names the cause) instead of exit 0 completed, and the landed note makes the next fires wait with exit 2 until you triage it, so a small model that describes the run-plan steps in prose without calling tools no longer spends a timer's whole fire cap. A to-do that stays in_progress across ticks and writes HANDOFF keeps running. Plan ticks only, on every backend; --job review and other dispatched slashes are unchanged. Driver events and the protocol version are unchanged. Details: docs/consumer-configuration.md.
  • agent-kit countdown no longer records a guessed cost for a model claude cannot price, for example a local model behind ANTHROPIC_BASE_URL: when a result event's modelUsage marks a model with costBasis: "unknown", the job prints cost unknown (claude reported $X) instead of $X, and the fire's cost_usd is null, never a partial sum. The AGENT_KIT_RESULT line and each .cursor/context/cost-ledger.ndjson line gain two fields at the end: cost_usd_reported (every figure the sessions reported, priced or not; equal to cost_usd on a priced fire) and cost_basis ("unknown" or null). A budget wrapper that wants a conservative ceiling sums cost_usd_reported; the documented jq wrapper now does. Mission Control's live crew cost leaves an unpriced figure out. Details: docs/consumer-configuration.md.
  • /archive-plan, /backlog-cancel, /cancel-plan, /context-status, /resolve-conflicts and /review-pack now load in hosts that read frontmatter with a strict YAML parser, such as pi, which skipped them silently because their description held an unquoted : . The descriptions are now quoted and their text is unchanged. The context-librarian and security-reviewer pack agents get the same fix. The Claude Code adapters that install --claude writes quote a description only when it needs quotes, so the other adapters stay byte-identical, and the slash catalog reads a quoted description without its quotes.

Source

  • Commit: 922d31229
  • Head branch: sync/v6.26.0-922d31229

@agent-kit-public-sync
agent-kit-public-sync Bot merged commit 22e4b13 into main Nov 30, 2026
8 checks passed
@agent-kit-public-sync
agent-kit-public-sync Bot deleted the sync/v6.26.0-922d31229 branch November 30, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants