Repository navigation
chore: sync private v6.26.0 (922d31229) - #145
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
v6.26.0.sync/v6.26.0-922d31229.Release notes
Added
--backend localruns plan ticks on a model installed on this machine, through your ownpi:agent-kit run-plan --backend local --model <source>:<id>, with the id fromagent-kit models(for exampleomarchy:qwen3.8-27b-gufoorollama:llama3.1:8b). An Omarchy model reaches pi throughomarchy-models overlay pi <recipe>, and a stopped Omarchy model that fits is started first withomarchy-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/hypris written. HITL gates are answered in the same pi session, as onclaude. The backend is explicit-only:autonever picks it, a missing pi, an unknown id or a model that does not fit stops the run with a message namingagent-kit models,--on-limitis refused with it, and atickreviewer 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 noLOOP_TICK_RESULTline and no to-do completed, or acontinuetick 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 localworks the same way. Driver protocol 1.6.0 adds themodel_loadingevent (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.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 on127.0.0.1only, without following redirects. Each model has an id<source>:<id>(for exampleomarchy:qwen3.8-27b-gufoorollama:llama3.1:8b), a label, its OpenAI-compatible/v1endpoint, a state (running,stoppedornot-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.--jsonprints{"schemaVersion":1,"models":[...],"sources":[{"source","ok","note"?}],"pi":{"found":...}}. Details:docs/model-roles-capability-matrix.md.agent-kit hook session-start --format piprints 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: oneHITL_GATE: <ask-id> | <label 1> | ...line followed by the same labels as a numbered list, then wait; skip or cancel means stop; never/git-prodwithout the operator's explicit yes.--format cursor(the default) and--format claudeprint exactly what they printed before, an unknown value still falls back tocursor, and a failure still prints the one-line notice with exit 0. Newagent-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":[...]};commandsisnulland 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.pi/agent-kit.ts, listed under thepikey with thepi-packagekeyword) 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 namedagent-kitsection). 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 anARGUMENTS:line./agent-kit [path]points the bridge at another folder; run/reloadafterwards for its commands. The extension asks theagent-kiton 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--printruns) and no kit context. Install it only when you want it:agent-kit pi installrunspi install npm:@dadado/agent-kit-cli@<this CLI's version>in your user pi settings (--localfor 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-runprints 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 thepi removeline;agent-kit pi removeundoes it.install,update,doctorand headless runs never install it. Guide:docs/pi-kit-surface.md.Fixed
LOOP_TICK_RESULT: continuebut did nothing no longer counts as done.agent-kit run-planhashes the active plan file and.cursor/HANDOFF.mdbefore each tick; acontinuetick that lowered no pending count and left both byte-identical stops the run with exit 1 andrun_end.reasontick reported continue without progress, and--land-on-gatelands it as a failure.agent-kit countdownreports it as Circuit's Dead (exit 3,outcomebroken, the reason names the cause) instead of exit 0completed, 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 staysin_progressacross ticks and writes HANDOFF keeps running. Plan ticks only, on every backend;--job reviewand other dispatched slashes are unchanged. Driver events and the protocol version are unchanged. Details:docs/consumer-configuration.md.agent-kit countdownno longer records a guessed cost for a modelclaudecannot price, for example a local model behindANTHROPIC_BASE_URL: when a result event'smodelUsagemarks a model withcostBasis: "unknown", the job printscost unknown (claude reported $X)instead of$X, and the fire'scost_usdisnull, never a partial sum. TheAGENT_KIT_RESULTline and each.cursor/context/cost-ledger.ndjsonline gain two fields at the end:cost_usd_reported(every figure the sessions reported, priced or not; equal tocost_usdon a priced fire) andcost_basis("unknown"ornull). A budget wrapper that wants a conservative ceiling sumscost_usd_reported; the documentedjqwrapper 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-conflictsand/review-packnow 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. Thecontext-librarianandsecurity-reviewerpack agents get the same fix. The Claude Code adapters thatinstall --claudewrites 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
922d31229sync/v6.26.0-922d31229