Changelog
Every release, newest first.
Unreleased
Nothing merged since the last release yet.
26 November 20262026.11.8
T3 Code runs on your gruntas accounts.
- 3 added
- 2 changed
- 1 fixed
gruntas t3writes a launcher per Claude Code and Codex account and says what to add in T3 Code's Providers: each instance then runs throughgruntas run --passthrough, registered, guarded and with the gruntas tools, while T3 Code keeps its own approvals, access modes, models and threads. Codex sessions in T3 Code need their hooks approved once in a terminal, and aren't fenced off the gruntas home yet: T3 Code's own sandbox setting overrides gruntas's.gruntas run <claude|codex> --account <name> --passthrough -- <args…>runs a harness for an app that drives it.For an app such as T3 Code, which runs Claude Code through the Claude Agent SDK and Codex as
codex app-server: the account's launch, with the gruntas plugin and the sandbox that keeps the session out of the gruntas home (for Codex, its permissions profile afterapp-server), and the app's arguments after gruntas's own, a--settingsof the app's merged into gruntas's. The harness's stdin, stdout, stderr and exit code pass through unchanged,--versionincluded; gruntas writes nothing to stdout and never restarts the harness. An account that isn't signed in fails with one line on stderr naminggruntas connect.--no-sandboxworks as it does in a terminal.gruntas t3sets up T3 Code's instances on your accounts.It writes one launcher script per connected Claude Code and Codex account into
~/.gruntas/t3/(claude-work,codex-personal), each runninggruntas run <harness> --account <name> --passthrough, and prints the T3 Code instance to add for each: its name (Claude · work), its binary path (the script) and its home path (the account's config home).--jsongives the same as data. Rerunning it rewrites only what changed and removes the launchers of accounts that are gone.A session an app runs through
--passthroughis an ordinary gruntas session.It registers with the daemon as attended under its account, though the app gives it no terminal, shows in
gruntas status, and has the gruntas MCP tools and skill. Claude Code loads the plugin from--plugin-dirin the Agent SDK's mode too. Codex'sapp-serverloads the plugin installed in the account, and runs its hooks once they are approved: install it and approve its hooks once, in a terminal, withgruntas run codex --account <name>and/hooks; until the plugin is installed, passthrough says how on stderr, once per account. The hooks run the gruntas that started the harness, first on its PATH, whatever the app's PATH holds. Permission prompts still go to the app unchanged.The MCP server's listings say what it does now.
The MCP Registry, npm and the Gemini CLI gallery described
@gruntas/mcpas publishing only. They now say what it is: orchestration for autonomous agents, from any MCP client — see and steer your agents across machines, hand them work and collect the result — with publishing evidence of their work one part of it. Its README lists every tool and which platforms have it.gruntassays what it is now: "Run your coding agents across every machine and account".The help greeting, the installer, the npm package, and the Claude Code and Codex plugins called gruntas a coding agent harness. They now describe orchestration for autonomous agents, with publishing evidence of the work one of its features.
The gruntas MCP tools find a Codex session's daemon on Linux.
Codex starts the plugin's MCP server without
XDG_RUNTIME_DIR, so the server looked for the daemon elsewhere andgruntas_session_infosaid the session was not registered. The Codex plugin now passes it, andGRUNTAS_HOME, to its server, andgruntas_session_infolooks past thenode-MainThreadprocessnpxstarts the server in. Codex asks to approve the updated plugin's hooks again, in/hooks.
26 November 20262026.11.7
pi joins gruntas.
- 12 added
gruntas run pi --account workstarts pi on your work account with gruntas in it: registered, guarded, the gruntas tools and skill, and its Claude turns run through Claude Code on any of your accounts, with no login inside pi./accountswitches account, and a spent account rolls over as your rollover setting says. Restart the gruntas daemon after upgrading (gruntas host stop): an older daemon doesn't know pi sessions.gruntas run pistarts pi with gruntas in it.pi joins Claude Code and Codex under
gruntas run, with the same flags:gruntas run pi --account workstarts pi with the gruntas extension this gruntas carries, nothing installed in pi, and its Claude turns start on your Claude Code accountclaude:work(autotakes rollover's pick; without--account, the account pi used last). Unless you pass--modelor--models, pi starts ongruntas/<the account's default model>. pi has no sandbox and gruntas adds none:--no-sandboxchanges nothing, andgruntas help runpoints at containers and pi's sandbox extensions. A Codex account,--unattendedand--no-pluginare refused, each saying why.gruntas hook pi <event>takes pi's sessions.pi joins Claude Code and Codex as a harness gruntas's hook reads: a pi session registers as harness
pi, and its account is pi's config home,PI_CODING_AGENT_DIR, else~/.pi/agent. The@gruntas/piextension that sends pi's events there is built with each release; it is not on npm yet.pi sessions get the gruntas MCP tools and skill.
With
gruntasandgruntas-mcpon the PATH, the@gruntas/piextension gives each pi session the gruntas MCP server (gruntas_report,gruntas_session_info,gruntas_delegate,gruntas_collect,gruntas_machines, publishing and the rest), its tools declared to the model asmcp__gruntas__<tool>, and the gruntas skill. pi startsgruntas-mcpitself, sogruntas_session_infofinds the pi session it runs in.@gruntas/piruns the pi extension the installed gruntas carries.The package is a small loader with no dependencies of its own: as pi loads it, it asks the
gruntason the PATH for the extension gruntas carries and runs that, so pi always runs the extension of the installed gruntas, at its version, and upgrading gruntas upgrades it with nothing to do in pi. The gruntas skill comes from gruntas's copy, the same file the installer puts in~/.agents/skills/gruntas, and only where pi does not already find that one, so pi no longer warns of agruntasskill collision. Withoutgruntason the PATH it only shows the install hint; on Windows, and undergruntas run pi, it does nothing.gruntas run claude --account <name> --no-pluginruns Claude Code on an account for another program.It starts Claude Code on that account, its login or key kept in gruntas, without the gruntas plugin or hooks, so the session never registers as an agent of its own, and passes its arguments, stdin, stdout and exit code through untouched. A program that drives Claude Code, such as one built on the Claude Agent SDK, can run it as its Claude Code. Nothing in the account's settings or plugins changes.
pi's Claude turns run on your gruntas accounts.
The
@gruntas/piextension gives pi agruntasprovider, whose models aregruntas/<model>: each turn runs through Claude Code on the session's gruntas account, started bygruntas run claude --account <name> --no-plugin, with Claude Code's own system prompt and pi's tools run by pi. No account needs a login inside pi, and no login or API key ever reaches pi. A session starts on the account it used last, else on the ready account rollover ranks first. The provider is adapted from the MIT-licensedpi-claude-subscription(see THIRD-PARTY-NOTICES).pi sessions register with gruntas.
With
@gruntas/piinstalled (pi install npm:@gruntas/pi), a pi session shows ingruntas agentsas harnesspifrom its start until it ends, its tool calls count as its activity, and a run that did work without agruntas_reportis reminded once to report. Withoutgruntason the PATH the extension only says how to install it; a missing or stopped daemon never holds pi up.A pi session rolls over when its account runs out.
The usage Claude Code reports during pi's turns now lands in gruntas's usage record under that account, as a Claude Code session's does. When an account hits its limit, pi follows your
rolloversetting:offerasks whether to continue on the next account (the question times out, so nothing hangs; with no UI, as inpi -p, it only names the next account and when the limit resets),automoves and says so,offleaves it to you. A prompt already queued behind the limit waits for that choice, so it runs where the session moved. For now pi moves only between subscription accounts, never onto an API key.gruntas providers list --check --jsonrows now carry each account'sconfig_dir, asproviders listdoes, which is where the usage is recorded.gruntas providers next [--from <account>] [--tried <a,b>] --jsonanswers the signed-in Claude Code subscription a session moves to, by rollover's ranking, with your
rolloversetting and when--from's limit resets. The pi extension asks it, also for the account a new session starts on.pi's bash calls get the paste guard, and its heavy builds take a build slot.
A bash command in pi that the paste guards refuse (an upload to a paste site, a bare gruntas card link in a
ghbody) is blocked with the guard's message, as in Claude Code and Codex, and, never having run, is no work the session is reminded to report; any other runs as it was, waiting at most two seconds on gruntas. A command on thebuilds.heavylist, such ascargo build, counts toward the machine's build slots while it runs./accountin pi picks the gruntas account Claude turns run on.It lists every gruntas account with its kind, readiness and usage left per window, the current one marked; choosing one moves the session to it from the next request, and pi's footer shows
gruntas: <account>. Codex accounts are listed as not usable from pi yet./account <name>moves directly, which is how it works where pi has no UI.gruntas fetches the Claude Agent SDK for pi once, from npm, rather than shipping it.
The pi extension gruntas carries runs its Claude turns through the Claude Agent SDK, which is Anthropic's, not MIT, so gruntas doesn't distribute it. The first time gruntas writes the extension (
gruntas pi extension,gruntas run pi) it says so and installs the exact SDK version it pins from npm, checked against the pinned integrity hash, with install scripts off, into its own pi directory and nowhere else; after that it fetches nothing. Without npm or a network, pi's gruntas hooks, tools and skill still work, and pi says how to get thegruntas/models working: install npm, then rungruntas pi extension.
25 November 20262026.11.6
gruntas run claudeworks with your logins.- 1 fixed
The sandbox an attended session runs in now only hides the gruntas home, so ssh-agent, the keyring and every domain work as they do in your own
claude.gruntas run claudereaches your logins and the network.An attended session's sandbox now only hides the gruntas home: ssh-agent, the keyring (
gh,dockerand other CLIs that keep their login there) and every other Unix socket work, commands can write anywhere in your home but the gruntas home, and the network goes through an open proxy gruntas runs for the session, so no domain asks first (unless your--settingsnames a proxy or denied domains of its own, or Claude Code's managed settings files set network rules, which are kept). The fence is soft: it keeps the session from reading the gruntas home, not one set on getting around it. Unattended sessions (--unattended) keep the full sandbox.
25 November 20262026.11.5
See your account, machine and usage under the prompt.
- 1 added
In Claude Code, a quiet status line now reads
elvinas-herder, thinkpad 69% weekly, 12% 5-hour, its numbers turning amber, then red, as an account nears its limit.In Claude Code, a quiet status line now reads
elvinas-herder, thinkpad 69% weekly, 12% 5-hour, its numbers turning amber, then red, as an account nears its limit.A status line under the prompt says which account and machine you are on, and what the account has used:
elvinas-herder, thinkpad 69% weekly, 12% 5-hour. It is dim, with the numbers turning amber from 80% (with when that window resets) and red when full; a window Claude Code has not reported saysunknown. On a narrow terminal it drops the machine, then the reset, then the account, never the numbers. Your ownstatusLinecommand keeps every row it prints, with this line under it where a row is left.
25 November 20262026.11.4
Switching accounts in Claude Code works as it should.
- 1 changed
- 3 fixed
The account picker shows what each account has used (
90% weekly, 3% 5-hour), read from current usage rather than days-old figures, and looks the same in every session. A switch made before anything was said starts a new session instead of failing, and/exitor Ctrl-C no longer sends a launched session round your accounts.The account picker says what each account has used, the way Claude Code does:
90% weekly, 3% 5-hour.It said what was left, mixed in the plan, and could read days-old figures (below). The same picker now opens in every Claude Code session; in one
gruntas run claudedid not start, Enter says how to start one that can switch, where before you got a text list instead.The picker and rollover read your accounts' current usage.
A session
gruntas run claudestarted reported its usage under its config directory, which neither the picker nor rollover looked at: they went by readings days old, so the picker showed odd percentages and rollover could pick an account already at its limit./exitand Ctrl-C end a launched session again, rather than rotating through your accounts.Rollover could hand the session from one spent account to the next and back, so every exit started Claude Code again on another account. A run now moves back to an account it left only once that account's usage has reset, or when you pick it; and before it starts Claude Code on the next account,
gruntaswaits 3 seconds, in which Ctrl-C ends the run there.Switching accounts right after
/gruntas:account.When nothing had been said in the session yet, the switch tried to resume it and Claude Code answered "No conversation found"; a new session now starts on the next account.
25 November 20262026.11.3
Switch accounts from inside Claude Code with the arrow keys.
- 1 added
- 1 changed
- 2 fixed
In a session
gruntas run claudestarted,/gruntas:accountopens a picker of every account you have connected; Enter moves the session there and it carries on in the same terminal. Switching from an exportedCLAUDE_CONFIG_DIRhome, or before the first message, now works, andgruntasshows the Gruntas monogram./gruntas:accountis a picker.In a Claude Code session
gruntas run claudestarted,/gruntas:accountalone opens a list of every account you have connected: the ones this session can move to first, by what their 5-hour and 7-day windows have left, then the rest, each saying why not (this session, not signed in, the same login, a Codex account). Arrow keys move, Enter switches: the session exits and resumes on that account in the same terminal. Esc keeps the account you are on./gruntas:account <name>and--cancelwork as before.gruntasshows the Gruntas monogram, the pixel G of the logo, in place of the mark it carried over from Krowk.
Switching away from your default Claude Code account when your shell exports
CLAUDE_CONFIG_DIR.The session ran in that directory, but the switch looked for its conversation under
~/.claudeand gave up; it now carries it from where the session ran.Switching before anything was said.
A session left before its first message has no conversation to resume, so the switch gave up; a new session now starts on the next account instead.
24 November 20262026.11.2
Start Claude Code or Codex on any of your accounts, and keep working when one runs out.
- 1 breaking
- 16 added
- 1 changed
- 1 fixed
gruntas run claude|codexlaunches the stock harness on the account you pick, sandboxed and with the gruntas plugin. When that account's usage runs out, the session moves to the next account with room at the same model tier: another subscription, then the other harness, then API keys within a spend cap. Any agent can now ask what your swarm is doing (the god agent), andgruntas statusis the agent tree, as announced in 2026.11.1 (see Breaking change).gruntas statusis now the agent tree, announced in 2026.11.1: every agent on every machine of yours, by project, machine and parent session, as
gruntas agentsshowed it, which still works.gruntas status [project]takes a project, and its--jsonis the tree's, not the readiness table's; exit 3 no longer means no account is ready. On Linux and macOS only, as the tree needs sync. Whether each Claude Code or Codex account is ready isgruntas providers list --check: the same table, JSON and exit 3.A rollover ladder for sessions
gruntas runstarts.When an account runs out, the next one comes from a ladder at the session's model tier: another subscription of the same harness, then a subscription of the other harness (Claude Code ↔ Codex), then API-key accounts, the same harness first; within each rung, the account with the most room first. A session never drops to a cheaper tier.
ladderin~/.gruntas/config.jsonsets the tier table (tiers:frontier,standard,fast, each with its Claude Code and Codex model ids,*matching any run of characters) and which rungs are tried in what order (rungs:same-harness,other-harness,api-key).A spend cap on API-key rungs.
A launched session that climbs onto an API-key account spends at most
ladder.keyCapUsd(US dollars, $10 unless set) from the moment it got there; at the cap it stops, input-required, with the reason on its status. The switch notice names the account, its rung and the cap. Attended Codex sessions, whose spend cannot be read, never move onto an API-key account.A session can continue on the other harness without losing its place.
When the ladder moves a launched session from Claude Code to Codex or back, the new session starts in the same worktree at the equivalent model, its first message a handoff: what the old session last reported (summary, phase, plan, next step, recent reports) and, from a Claude Code session, a summary of its recent turns.
gruntas statusshows the two as one chain (old → new); the old session readscanceled, "continued on" the new one, and--jsonnames it undercontinuedFrom.An attended
gruntas runsession continues on the next account after/exit.gruntas run claudeandgruntas run codexnow stay the harness's parent in your terminal, passing Ctrl-C, signals and the exit code through. When the account runs low, a Claude Code session shows which account comes next as a toast and in its status line; type/exitand the same session resumes there in the same terminal. Exiting without such a notice ends the run as before. A resumed session gets--resumeand the model only, not the flags the first run was started with. When the next account is on the other harness, the work continues there in the background, from a handoff, andgruntas statusshows it.Unattended Claude Code workers keep going when their account runs out.
When the account of a session
gruntas run claude --unattendedstarted hits its usage limit and the ladder's next account is another Claude Code subscription, the gruntas daemon stops the background session, copies its conversation into that account and resumes it there in the background, sending the prompt the limit cut off again; when the next account is on Codex, it stops the session and continues it there from a handoff — withgruntas config set rollover auto. A worker that runs out again on the account it moved to moves on, down the ladder, however soon after the last move. Withoutauto, the session's status turns input-required and names the account it would move to.See your accounts and move a session to one with
/gruntas:account.gruntas providers list --check(and--json) now says, for each Claude Code or Codex account, the login it is signed in as, its plan where the vendor names it, how much of each usage window is left and when it resets, and which accounts share one login. Inside Claude Code,/gruntas:accountlists the same for the session's harness, marking the account it runs on, and answers locally, without a model turn. In a sessiongruntas run claudestarted,/gruntas:account <name>queues that account: type/exitand the same session resumes there on the same model;/gruntas:account --canceldrops it. It moves only to a ready account of the same harness on another login, and says why otherwise.The god agent: ask any agent what your swarm is doing.
The plugin's MCP server offers
gruntas_status,gruntas_changes,gruntas_readandgruntas_pingto every agent, andgruntas_messageandgruntas_interruptwithin each machine'ssteersetting, on any paired device. Answers from other machines take a few seconds: a machine that was just asked something refreshes every 2 seconds for the next 2 minutes. A machine on an older gruntas is reported as needing an update.gruntas_readreads a session's transcript from the machine it runs on, newest first, about 12 KB a page with a cursor for the page before, secrets redacted and the text marked as the session's own. Interactive Claude Code sessions (their transcript's last 2 MB) and sessions gruntas runs can be read; a Codex session answers that it can't be read yet. Nothing is copied off the machine except the page asked for.
The god agent messages and interrupts gruntas-run sessions.
A message to an idle session is its next prompt, run in the
defaultpermission mode and framed with who sent it; to a running one it is a steer into the turn. Codex and headless sessions answer "can't steer this session yet" with the reason.The god agent messages and interrupts interactive Claude Code sessions.
In a session with the gruntas plugin, a message arrives as a prompt marked with who sent it, and an interrupt stops the running turn or says nothing is running. The target machine's
steersetting decides first. The plugin's mod checks for steers every 2 seconds without starting a process.The god agent's status, changes and ping.
gruntas_statuslists one line per session (state, health, quiet for, summary) from every machine's board, for one project when asked, 200 rows a page.gruntas_changeslists what each machine's sessions did since a time, from a 24-hour log each host now keeps, with machines that don't answer listed as unknown.gruntas_pingisgruntas ping.gruntas run claude|codexstarts the stock harness on one of your accounts(
--account workisclaude:work; none is the account plainclaudeorcodexin your shell uses), with the gruntas plugin and a sandbox that keeps the session out of the gruntas home. Claude Code gets one--settingsthat merges yours with the sandbox block and gruntas's worktree hooks; Codex gets a permissions profile that can't read the home.--no-sandboxdrops the sandbox for one attended run,--unattended "<task>"starts a background session, and nothing is written into the account. Arguments gruntas doesn't own pass through to the harness as typed. Linux and macOS.Unattended Claude Code workers stop themselves when done.
gruntas run claude --unattended "<task>"starts aclaude --bgsession inside Claude Code's full sandbox and prints its id; it refuses where that sandbox can't run (bubblewrap and socat on Linux). The gruntas daemon stops the session once its agent reports the task finished and its turn has ended, never mid-turn. The workspace must already be trusted on that account: open it once withgruntas run claude --account <name>.gruntas run <harness> --account autostarts on that harness's account ranked first by rollover's headroom ranking, and says which it picked, how much was left and when it next resets. A signed-out account is passed over. With no other account to spare it uses your own.
gruntas run claudehands the terminal to Claude Codeon the account you pick. Where Claude Code's sandbox can't run (Linux without bubblewrap or socat), it says so and starts only with
--no-sandbox. Each run writes the gruntas plugin this gruntas carries into gruntas's own data directory and loads it from there, so the session registers with the daemon without the plugin being installed in any account. Its MCP server is thegruntas-mcpinstalled beside that gruntas, so the two match;npx -y @gruntas/mcponly when there is none.gruntas run codexworks attended and unattended.Attended, gruntas becomes
codexon the account'sCODEX_HOME, in a permissions profile that reads everything and writes the project but can't read the gruntas home or reach the gruntas daemon.--unattended "<task>"starts the task as a session of the host daemon's Codex engine, held to the same profile on every turn, and prints its id; a thread Codex opens outside the profile is stopped before it runs anything. Such a session stays on Codex accounts, and needs the host daemon on the same gruntas version. Codex can't load a plugin it hasn't installed, so the first run on an account without the gruntas plugin says how to install it.The first
gruntas config set rollover autoasks you to acceptthat you are responsible for how your accounts are used under each vendor's terms. It needs a yes at a terminal and is refused without one; the date you accepted is kept in
~/.gruntas/config.jsonasrolloverAcknowledged, and later sets don't ask again.An interactive Claude Code session counts as attended.
Claude Code runs its hooks without a terminal, so every Claude Code session with the plugin was registered as unattended, and under the default
steersetting (attended) its god agent could message or interrupt only the sessions it had started. The session's own terminal now decides.
23 November 20262026.11.1
Every agent on every machine of yours, in one place.
- 16 added
- 1 deprecated
- 2 security
Agent sessions in Claude Code and Codex now report a standard status that your devices can read and the registry can't.
gruntas agentsshows it as a tree across your machines, andgruntas pingchecks a machine or a session is alive. Next release,gruntas statusbecomes that tree; move readiness scripts togruntas providers list --checknow (see Deprecated).gruntas agents [project]: every agent on every machine of yours, as one tree.Read from each machine's sealed status board, it lists them by project, machine and parent session, each with its state (
working,input-required,completed…), its health (SERVINGwhile its harness runs,NOT_SERVINGonce it is gone), how long it has been quiet and its one-line summary. A machine isSERVINGwhile its presence is live andUNKNOWNonce it lapses. Name a project (github.com/acme/app, or any of its remote URLs) to see only it;--jsonis the same tree.gruntas ping <machine|session>: is it alive?The machine's daemon answers an empty request, and gruntas says "answered in N s"; that includes the machine's presence refresh (up to 10 seconds), so it is a liveness check, not a latency. A session is found on the status boards and its machine pinged, and the answer adds the session's health and last activity. A machine whose presence lapsed is
UNKNOWN, said at once with nothing sent (exit 6). Machines on older gruntas answer that they do not know the command.gruntas providers list --check: the readiness check
gruntas statusgives today, the same table and the same{"ready", "instances"}JSON, exiting 3 (none_ready) when no instance is ready.The status layer's contract: every agent session's status as an A2A v1.0 Task.
A session's state, one-line summary and when it was set are A2A's
TaskStateandTaskStatus; what gruntas knows about it (project, machine, harness, account, parent session, branch, HEAD, worktree, dirty flag, phase, plan, PR, checks, cost, last activity and health) rides in the Task's metadata underhttps://gruntas.com/a2a/status/v1, each field marked as reported by the agent or observed by the harness. Its JSON Schema is published beside the protocol's (status-task,status-boardandstatus-countsincrates/gruntas-harness/schema/).gruntas agentsandgruntas pingshow it.Each machine publishes a sealed status board of its sessions, which your other devices can read.
With sync set up, the host daemon seals a board of its registered Claude Code and Codex sessions to your devices and puts it on the registry when a session changes, at most once every 5 seconds, and again with every presence refresh. Over 256 KB it drops finished sessions older than an hour, then reports beyond the last 3, then shortens summaries. With each publish the registry gets only the machine's health and how many sessions are in each state and health, under a random statistics id kept in
~/.gruntas/status-statistics-idand never the device id. Any of your devices reads every machine's board, and a session's "quiet for" is worked out from the board's own publish time, so it never compares two machines' clocks.Agents report their status with
gruntas_report.The plugin's MCP server has a new tool that takes a state (an A2A
TaskStatesuch asworkingorinput-required), a one-line summary, and optionally a phase, what it is blocked on, its PR and what comes next. The machine's daemon keeps it as the session's Task, marked as the agent's, with its last 10 reports, and the tool answers the status as it now stands. When a session made tool calls since its last report, itsStophook adds a one-line reminder to report, once per stretch of work. The plugin'sPostToolUsehooks now run for every tool, not only Bash, so the daemon sees that work.The host daemon keeps every plugin session's status from what its hooks see.
A permission prompt makes a Claude Code session input-required until its next activity (a tool call finishing, a refused permission),
SessionEndmakes it completed, and a harness that exits without one makes it canceled; its health isSERVINGwhile the harness runs andNOT_SERVINGafter. The daemon reads the session's branch, HEAD, worktree and dirty flag with git itself, at the session's start and at most every 5 seconds after activity, so the hooks stay fast. Kept instatus.jsonbesideregistrations.json, and that is what the status board publishes. The Claude plugin addsPermissionRequestandPermissionDeniedhooks, which never answer the prompt; theactivityframe gainspermissionRequestandactive. Codex has no permission hook, so its sessions are never shown input-required unless their agents report it.gruntas hook <harness> <event>, the entry point for the Claude Code and Codex plugin's hooks.It reads the harness's hook payload on stdin and tells the host daemon about the session over its socket, in a new
activityframe (activityanswers it). The daemon keeps the registered sessions inregistrations.jsonbeside its socket, so a restarted daemon still knows them, and drops a session once the harness process its hook named has exited.SessionStartstarts the daemon when none runs (without the harness session's own variables, such asCLAUDE_CONFIG_DIRorCODEX_HOME), and registers the session with its harness process, the working directory'soriginremote, and whether a person is at it (the harness has a terminal).SessionEndhands the deregistration to a detached copy of itself and returns at once. A hook that only reports always exits 0 with nothing on stdout. It gives up after 1.5 s when the daemon is missing or not answering, and notes why inhook.logbeside the socket.gruntas hookruns the paste guards and places Claude Code's worktrees, for the gruntas plugin below.
gruntas hook <harness> PreToolUserefuses a bash call that posts a bare gruntas card link in agh pr|issue create|edit|commentbody, or uploads a file to a paste site, with the guard's message, in Claude Code and Codex; any other call gets no answer, so its permission prompt is the person's as before. A worktree made by hand is not refused there.gruntas hook claude WorktreeCreatemakes the session's worktree withgruntas worktrees addand prints its path, sogruntas worktreeslists it;WorktreeRemoveremoves it withgruntas worktrees remove, which keeps one that has work in it. A worktree gruntas did not make is left where it is, and the hook notes it inhook.log.Claude Code and Codex builds will count toward this machine's busy build slots.
When a plugin session's
PreToolUseandPostToolUse(orPostToolUseFailure) hooks see a shell command on the heavy list start and end, the daemon adds it to the build slots in use that it announces for allocation, never past the total. The list isbuilds.heavyin config.json (defaultcargo build|test|check|clippy,npm/pnpm/buntest or build scripts,go test|build,make). It is only a statistic: counting never decides on, delays or rewrites a tool call. A command whose end never comes stops counting at the turn's end (Stop, a newturnEndactivity), at the session's end, or after 20 minutes. These hooks never start the daemon: with none running they count nothing.The gruntas plugin for Claude Code and Codex.
/plugin marketplace add gruntas/gruntasand/plugin install gruntas@gruntasin Claude Code, orcodex plugin marketplace add gruntas/gruntasandcodex plugin add gruntas@gruntas, install one plugin from this repository. Its hooks rungruntas hookfor each session's start and end, its bash calls, the end of each turn and (Claude Code) its worktrees, so every session registers with the gruntas daemon; it also brings the gruntas MCP server and skill. The hooks run thegruntason your PATH. Without one they do nothing and the session's start says how to install it, except that Claude Code's worktrees, which the plugin hands to gruntas, fail with that line. Codex asks you to approve the hooks once, in/hooks. The release's full build, and sonpx -y @gruntas/mcp, now ships the fullgruntas-mcp, with session info and delegation; the lean archive keeps the publishing-only one.gruntas doctorchecks Claude Code's sandbox settings.For
~/.claudeand each Claude Code account gruntas knows, it readssettings.jsonand warns when the sandbox block that keeps agents out of the gruntas home is missing or incomplete: the sandbox enabled,failIfUnavailable,allowUnsandboxedCommands: false, the home infilesystem.denyReadwith noallowReadopening it again, and aRead(//<home>/**)deny rule. It prints the block to add and never edits the file.The Claude Code plugin reports the account's usage windows.
A small mod in the plugin (
hooks/usage.ts) reads the 5-hour and 7-day windows Claude Code already has, at session start (a resumed one's; a new session's come with its first response), whenever one moves and every 5 minutes, and runsgruntas hook claude usagewith them and the account's config home. The host daemon writes them intousage.json, the record rollover ranks accounts by: under the login gruntas last saw signed in there, else under the config home itself. Within one window a reading never lowers the one kept. Withoutgruntason the PATH the mod does nothing.gruntas_session_infoingruntas-mcp.A Claude Code or Codex session that runs
gruntas-mcpcan ask what gruntas knows about it: the registration its plugin'sSessionStarthook made (session id, harness, account, working directory, repository, transcript, attendance), found by the harness process that started the server. A session nobody registered is told so. With it, the full build'sgruntas-mcpoffers the publishing tools,gruntas_session_info,gruntas_delegate,gruntas_collectandgruntas_machines, and nothing else.Sessions record whether anyone is at them, and steering commands say where they came from.
A new session's start record notes whether a person is attending it:
gruntas -pwithout a terminal on its input, a session another device starts on a host (gruntas sync new --host) and a delegated task are unattended; everything else is attended. Commands that act on an existing session (a prompt, steer, interrupt, approval, model switch, take) can carry an origin (person or agent, the sending session, the device), and a command that starts a session on a host can name the session that sent it. All of it is optional on the wire, so older gruntas still read the new frames; thesteersetting below is enforced on it.A steered session sees who steered it.
A steer that carries an origin now reaches the session's engine (Claude Code, Codex) framed as
steer from <session> on <machine>, by an agentorsteer from a person on <machine>, so the model weighs it as input from elsewhere and not as the person's own words. Text in the steer cannot close that frame. The session log keeps the steer's raw text with the origin beside it; a steer with no origin (from an older gruntas) is delivered as before.gruntas statusbecomes the agent tree in the next release.It will show what
gruntas agentsshows today. Scripts that check whether an account is ready should move togruntas providers list --check, which gives the same output and exit codes. Until thengruntas statusworks as before and says so on stderr.The threat model now covers agents in other harnesses.
docs/security/threat-model.mdhas a new section, "Agents in other harnesses", for Claude Code and Codex agents that run under gruntas: an agent can reach what you can, gruntas limits what its own tools let it do, reading is open to every agent, and steering another session is limited by thesteersetting. It also lists the risks that remain and the hard boundary to use if gruntas ever runs other people's work.A new
steersetting limits how far an agent can steer your other sessions, and the host enforces it.Steering is any command that acts on a session other than the caller's own: a prompt to an existing session, a steer, an interrupt, an approval, a model switch, and moving a session to another machine.
childrenlets an agent steer only sessions it started;attended(the default, so a god agent works with no setup) lets an attended session steer any session and an unattended one only its own children;anylets every agent steer every session. Your own commands always pass. The host checks commands that arrive from other machines and fromgruntas sync attach; a process on the same machine talking to the daemon directly is the same-user risk the threat model accepts. A host that refuses names the setting and says how to change it.gruntas config set steer <children|attended|any>asks for a yes on a terminal and refuses without one, so no agent can widen its own reach through gruntas;gruntas config get steerprints the value and whether it is the default or global.gruntas sync attachnow counts as you only when its input is a terminal: a script or an agent's shell piping lines into it is an agent with no session, which onlyanylets steer (scripts that pipe into it are now refused by default; setsteertoanyto allow them). A session a delegated task or a host command starts now records the session that sent it as its steering parent without becoming a subagent: it still syncs, can switch models, and is budgeted on its own.
23 November 20262026.11.0
krowk is now gruntas.
- 2 breaking
- 10 changed
This is the first gruntas release, and versions are now calendar versions (
YYYY.M.N). A krowk install can't upgrade itself into gruntas, so install it fresh:- Installer:
curl -fsSL https://gruntas.com/install | bash - npm:
npm i -g @gruntas/cli(the MCP server is@gruntas/mcp; the@krowk/*packages are retired) - Claude Code plugin:
/plugin marketplace add gruntas/gruntas, then/plugin install gruntas@gruntas; GitHub workflows useuses: gruntas/gruntas@v0
What moved: the command, its home (
~/.gruntas, copied once from~/.krowkon the first run), its environment variables (GRUNTAS_*), a repository's.gruntas/, the packages, the MCP registry entry (io.github.gruntas/gruntas), this repository (gruntas/gruntas) and the hosts, now on gruntas.com (api.gruntas.com,relay.gruntas.com,app.gruntas.com).What didn't: your account, workspaces, API keys (
krowk_sk_…), devices and artifacts. Links on krowk.com redirect to the same page on gruntas.com.Until 2027-01-20:
api.krowk.comandrelay.krowk.comkeep serving, so krowk installs not yet switched keep working until then. After that date they may stop. Switch before it.The details, and every breaking change, follow.
krowk is now gruntas.
The command, its home, its environment variables, a repository's config, the packages and this repository (
gruntas/gruntas) are renamed, with no fallback to the old names: there is nokrowkcommand, andKROWK_*,.krowk/and (after a one-time copy)~/.krowkare no longer read. Your account, API keys (krowk_sk_…) and links on krowk.com (which redirect to gruntas.com) keep working. To switch:- Install gruntas fresh. A krowk binary cannot upgrade itself into
gruntas. Release archives are
gruntas_<version>_<os>_<arch>andgruntas-lean_…, holdinggruntasandgruntas-mcp; npm packages are@gruntas/cliand@gruntas/mcp(MCP registry nameio.github.gruntas/gruntas); releases come fromgruntas/gruntas, andgruntas upgradeand the installer only accept ones its release workflow signed. The installer replaces thekrowkskill it installed before with agruntasone, leaving anykrowkskill it did not write alone. - Your files are copied once. The first
gruntasrun copies all of~/.krowkinto~/.gruntasonce, and says so, so your login, sync identity, sessions and accounts carry over without signing in again (krowk.dbbecomesgruntas.db, and accounts point at their copies). A large~/.krowktakes as much space again. After that gruntas never reads~/.krowk, and it is left as it was for the old krowk. No copy is made whenGRUNTAS_HOMEis set. - Move the always-on service. It is now
gruntas-host.service(macOS:com.gruntas.host): with always-on set, rungruntas machines always-on onto install it, and turn the oldkrowk-hostone off with krowk, so the two don't run as the same machine. The host's runtime directory is$XDG_RUNTIME_DIR/gruntas, so stop a host daemon the old binary started before upgrading. - Rename your environment variables. Every
KROWK_*variable is nowGRUNTAS_*(KROWK_TOKENisGRUNTAS_TOKEN,KROWK_HOMEisGRUNTAS_HOME, and so on, the installer's and the Action's too): rename them in your shell profile and CI. Worktree setup commands getGRUNTAS_PORT_BASE,GRUNTAS_PROJECT_ROOTandGRUNTAS_WORKTREE_PATH, so update setup scripts that use the old names. JSON output that names a variable (token_source, the API URL's source) names the new one. - Rename a repository's
.krowk/(git mv .krowk .gruntas):.gruntas/config.json,agents/andno-syncreplace their.krowk/counterparts, which are no longer read or fenced. Worktrees move to~/.local/share/gruntas/worktrees, ongruntas/<hex>branches; worktrees made before stay where they are and are no longer listed, applied or removed by the CLI (git worktree removeclears them), and removed ones' snapshots are kept underrefs/gruntas/snapshots/. - Reinstall the Claude Code plugin as
gruntas@gruntas(/plugin marketplace add gruntas/gruntas, then/plugin install gruntas@gruntas), and change GitHub workflows touses: gruntas/gruntas@v0. - Agents see gruntas. The MCP server is
gruntas, its toolsgruntas_push,gruntas_list_artifacts,gruntas_get_artifact,gruntas_claim_artifact,gruntas_get_runandgruntas_verify_key(andgruntas_delegate,gruntas_collectandgruntas_machinesin the agent build); inside a session the bridge's tools aremcp__gruntas__*, so allow rules namingmcp__krowk__*need renaming. The plugin runsnpx -y @gruntas/mcp, the skill isgruntas, the Gemini extension is named gruntas, and OSC 7501 reportsapp=gruntas. The manifests now documentGRUNTAS_TOKEN, the variable the CLI actually reads. New sessions record their harness asgruntas; sessions stored askrowkread as the same harness, sosessions --harness gruntaslists both, andsessions import --from gruntasreads gruntas's own logs.
- Install gruntas fresh. A krowk binary cannot upgrade itself into
gruntas. Release archives are
gruntas no longer runs models itself, and the SuperGrok sign-in is gone.
Every session now runs inside Claude Code or Codex, so
gruntas -p, the host and delegation need a connected Claude Code or Codex account. API keys and gateways keep working:gruntas connectturns them into Claude Code or Codex accounts, and the key stays in gruntas's credentials. Signing in with SuperGrok is not carried over; connect a Claude Code or Codex account instead. A key that is only in your environment (ANTHROPIC_API_KEY,OPENAI_API_KEY) is no longer an account by itself: connect it once withgruntas connect anthropic --method api-key(oropenai). Gone with gruntas's own agent: its tools andsubagenttool, agent definitions read from.gruntas/agents, its reading ofAGENTS.md,CLAUDE.mdand.cursor/rules, and its running of hooks (Claude Code and Codex read and run their own); placing thatsubagenttool's subagents on another of your machines, new in 0.18.0 (Claude Code and Codex hand a task to the machine with room through gruntas-mcp'sgruntas_delegate, as before);--sandboxwith a profile, which only held gruntas's own tools, is refused; and--client-id, which only SuperGrok took. It is announced and removed in the same release.gruntas now runs on gruntas.com.
It talks to
api.gruntas.comand syncs throughrelay.gruntas.comby default, and links, the installer, docs and the security contact ([email protected]) point at gruntas.com. Your account, keys and devices are unchanged. PointingGRUNTAS_API_URLat the oldhttps://api.krowk.com/v1still counts as production and syncs throughrelay.krowk.com, and krowk.com links redirect to gruntas.com, so the bare-link guard for agents treats a baregruntas.com/a/…orkrowk.com/a/…link alike.Versions are calendar versions now.
The release after
0.18.0isYYYY.M.0for the month it ships (see the top of this file), so the number no longer says how big a change is; this file does, and a breaking change is announced a release ahead with its date. The update notice follows: a release in a newer month (or the jump from0.x) is mentioned once, a second release in the same month is not, and a security fix still is, daily.uses: gruntas/gruntas@v0follows every stable release, whatever its number.The help text, the greeting and every message say gruntas.
Hints print
gruntas <command>,gruntas helpandgruntas-mcpdescribe themselves as gruntas, and nokrowkbinary is built any more.Requests and run metadata say gruntas.
The user agent is
gruntas-cli/<version>, and the client recorded on runs and artifacts isgruntas-cli/<version>orgruntas-mcp/<version>. What stored data and signatures depend on keeps its name: thekrowk.*metadata fields, theX-Krowk-*signing headers, thekrowk_sk_andkrowk_claim_prefixes and the crypto labels.gruntas mcp removeof a server another file defines now fails asnot_gruntas(wasnot_krowks).API keys and gateways now run in Claude Code or Codex.
gruntas connectturns an Anthropic API key into a Claude Code account, and an Anthropic-compatible gateway (--base-url) into one that sends to it; an OpenAI, xAI, OpenRouter or OpenAI-compatible key becomes a Codex account on a model provider of its own, with that provider's default model, on the Responses API (Codex no longer accepts the chat wire API, so an OpenAI-compatible server must offer/responses, as recent Ollama and vLLM do; one such account already written on the chat wire API is moved to the Responses API the first time gruntas uses it, with one line). Each keeps the name it had (anthropic,openai:work), gets a directory of its own under~/.gruntas/accounts, and its key stays where it was: in gruntas's credentials file (pasted,$VARor!command) or the variable it names, handed to Claude Code or Codex when it starts, never written into that directory. A key or gateway yourconfig.jsonalready defines is turned into one the first time gruntas uses it, with one line saying so; a default model naming it still works. SuperGrok can no longer be connected:gruntas connectsays "gruntas no longer runs models directly; connect a Claude Code or Codex account."Every session runs on a Claude Code or Codex account.
gruntas -p, sessions the host starts (gruntas sessions new) and a model switch go only to a Claude Code or Codex account: the one named, else the default, else the one that is ready. With none connected, or when--model,defaultModelor a resumed session names a provider gruntas no longer runs (an API key gruntas ran itself, SuperGrok), they stop with one line: "gruntas no longer runs models directly; connect a Claude Code or Codex account." (exit 3,none_readyorremoved_provider).gruntas status,providers listanddoctorlist only those accounts, andgruntas connect,login, the first run's "Connect a model" step and the help no longer offer SuperGrok.gruntas connectnames a Codex account on an API key as one.When it refused a name already taken, or listed accounts to pick from, a Codex account you wrote by hand on a key read "ChatGPT subscription"; it now reads "Codex, API key", as
gruntas statusalready says.A turn waiting on Claude Code or Codex no longer wakes gruntas up.
gruntas checked for steering ten times a second while a turn ran; it now waits for the steering itself, so a long silent turn costs no CPU, and steering is passed on the moment you send it rather than within a tenth of a second.
npm packages can be published without a stored token.
The release workflow publishes the
@gruntas/*packages with npm's trusted publishing (the workflow's own GitHub identity) when no npm token is set, with provenance either way, and a release with neither now fails instead of skipping npm.The MCP registry entry follows every release.
Each stable release now publishes
io.github.gruntas/gruntasto the MCP registry once npm carries@gruntas/mcp, signing in as the release workflow (no stored token), so MCP clients that install from the registry get the new version without a manual step. A prerelease leaves the entry where it was.
20 November 20260.18.0
krowk trustgrants, revokes and lists repo trust.- 19 added
- 1 security
- 7 changed
- 1 fixed
- 4 removed
krowk trust [<path>]trusts the repository<path>(default: the current directory) is in, sokrowk -p, the host andsync takemay run its hooks and MCP servers; a krowk worktree is trusted as its main repository.krowk trust --revoke [<path>]takes the entry back, with the MCP servers it was trusted with, andkrowk trust --listprints every trusted directory. All three work without a terminal, and with--jsonprint{"directories": [...]}or{"directory": ..., "trusted": ...}./and your home directory are still refused. Every refusal for an untrusted repository now nameskrowk trustas the fix instead of telling you to run krowk there on a terminal.krowk config set defaultModeandrollover, andkrowk config get.krowk config set defaultMode default|unhingedchooses the permission mode new sessions start in, andkrowk config set rollover auto|offer|offwhat happens when a session's instance hits a usage limit. Both always write the global~/.krowk/config.json(defaultModeaspermissions.defaultMode), leave every other key alone, and refuse any other value naming the valid ones.krowk config get <key>prints the effective value ofworkspace,defaultModeorrolloverand where it comes from (forrollover:repowhen a trusted repository sets it, elseglobal, elsedefault). Until now only the terminal UI's settings screen could change the first two.The README is three steps, and the installer says "Run krowk".
The README now opens with what krowk is, then the first machine and another machine; the Worktrees detail, the MCP sign-in walkthroughs, Development and the lean build moved to the website's docs, which the README links. The installer's closing list is headed "Run krowk" and names only the commands
krowk helpshows.krowk doctorchecks everything, andkrowknames the top problem.Beyond the store, prices and providers, doctor now checks that you are signed in, that this machine is registered for sync, that the always-on service is on, that this directory's repository is trusted, that you have a recovery kit (only flagged with fewer than two machines), and your plan against its machine limit. Each is one line with what is wrong and the command that fixes it (
✗ Always-on service off — krowk machines always-on on),--jsoncarries every check underchecks, and doctor exits non-zero when a check failed (warnings do not count). A machine set to use krowk locally is not asked to sign in. The overview barekrowkprints ends with the single most important problem, if any (for now, that this machine is signed in but not registered for sync), and says nothing when all is well.The first machine sets up in one flow from
krowk.On a terminal with no krowk account and nothing to run a model on, bare
krowkasks in plain text before its overview:Sign in to krowk([Enter]opens the browser,[l]uses krowk locally without an account). Signing in leaves this machine with a workspace key and registered for sync, with no further prompt, and "Connect a model" follows withkrowk connect's own pickers (a Claude, ChatGPT or SuperGrok subscription, an API key, or your own Claude Code or Codex login). Each step can be cancelled and picked up by runningkrowkagain; "use locally" is not offered a second time, andkrowk loginon a terminal runs the sign-in step, the nextkrowkgoing on from there. An account that already has machines is not given a device list of its own: this machine is added to them with a code (below). Nothing changes without a terminal, and once the machine is set upkrowkprints only the overview.The first machine offers to stay available, then the recovery kit.
After the model step, "Keep this machine available while you're away? It syncs your sessions and takes work from your other machines." installs the always-on host service on yes (what
krowk host enabledoes). It defaults to yes on a desktop and no on a laptop, a laptop being a machine with a battery (aBAT*entry on Linux, a power source on macOS, the system power status on Windows). Then the recovery kit is offered once with what it is for: 12 words that stand in for a device of yours, the only way back in if every device is lost or stolen.[Enter]says they are saved,[s]puts it off. While you have fewer than two machines (a phone does not count) and no kit,krowk machinesand the overview barekrowkprints say "One machine, no recovery kit: losing it loses your sessions. krowk machines recovery."; with two machines the reminder stops.A new machine can ask your other machines for a pairing.
Once signed in to an account that already has devices, a machine that is not on the list can record a request with its proposed name and OS. It opens nothing and carries no keys. Your hosts hear of it within one presence refresh, and it lapses after ten minutes; a second machine asking meanwhile waits its turn.
Joining another machine is signing in there and typing one code.
On the new machine,
krowk(signing in to an account that already has machines) orkrowk sync joinasks your other machines for a pairing and saysType the code shown on your other machine: ____-____. Whichever of your machines runs the host opens the pairing on its own (only one does) and showsA new machine signed in to your account. Its code: K7QF-9M3Xinkrowk machines; once the code is typed there,krowk machinesasksAdd 'B' (Linux) to your devices? [Y/n], showing the new machine's name and OS only after the code's checks, askrowk devices adddoes. Nothing about who may add a machine changed: an existing machine opens the pairing, a wrong code ends it, and a yes needs a person at a terminal. With none of your machines online the new one says so and points tokrowk machines add. A pairing opened by hand withkrowk devices addstill works.krowk sessionsworks with the sessions on all your machines.It lists this machine's sessions, then the ones on your other machines that you can open, each with the machine it runs on (as data too:
machine,this_machine).krowk sessions attach <id>follows one,krowk sessions take <id>moves a live one here, andkrowk sessions new --on <machine> --cwd <dir> "prompt"starts one on another machine. Thekrowk sync sessions|attach|take|newforms andkrowk sessions syncwork as before and are no longer listed in the help (krowk help --allstill has them).Manage your machines in one place:
krowk machines add,remove,always-onandrecovery.addshows the code that adds a machine that can't sign in,remove NAMEtakes a machine off and rotates your key,always-on on|offkeeps this machine running as a service so it syncs and takes work while you're away, andrecoverysays whether you have a recovery kit (recovery new,checkanddiscard-oldmake, test and tidy it). Each does whatkrowk devices add,devices remove,host enable|disableandsync recoverydo, and those still work;krowk devicesis hidden fromkrowk helpand listed bykrowk help --all. Error messages and fixes now name the new commands.Claude Code and Codex can hand a task to the machine with room.
With krowk-mcp added and sync set up,
krowk_delegatetakes a task (and an optionalhostandmodel), returns a task id at once and runs it on this machine unless it is busy, otherwise on another of yours, from your working tree's exact state.krowk_collectwaits for it (five minutes at most, then says it is still running, and you collect again) and returns the summary, what was applied to the working tree the server runs in or kept, the approvals it was denied, its usage and the machine; the changes land when the task finishes.krowk_machineslists your machines askrowk machines --jsondoes. Tasks live in the krowk-mcp process, so a restart forgets them (the child keeps running on its machine, and its work stays in that machine's worktree).krowk's own agent starts a subagent on the machine with room.
With sync set up, a subagent stays on this machine unless it is busy (every build or agent slot in use, load at the core count, or under 2 GiB free); then it runs on another of your machines that has a clone of the repository and a ready account, and its changes land in your working tree as a local worktree subagent's do. The stream says where and why (
Running on desktop: this machine is busy (3 of 3 build slots in use).). Thesubagenttool takes an optionalhost(a machine's name,any,any:macos,any:linuxorany:windows) andmodel(a model or an account such asclaude:work). A machine that refuses, or does not answer in 30 seconds, is skipped once; one that drops mid-task fails the call naming it. An agent with a tool allowlist always runs here.A machine runs a task another of your machines hands it.
In a repository you have trusted there and that matches the task's origin, the host starts a fresh worktree at the sender's exact state and runs the task as one turn of a session you can follow and steer from any device. It is refused, with what to fix, when it does not take work from your other machines, has no clone, has no ready account for the model, has no free agent slot, or is over your machine limit. The session runs in the machine's own permission mode, or a stricter one when asked, and an approval it would ask for is denied and kept for the summary.
Each machine tells your others how much room it has.
A machine that syncs now announces its cores, load, free memory, the build and agent slots in use, and the repositories it offers (by origin, with no credentials), so a task can later be placed where there is room. A machine can opt out of taking tasks with
sync.accept: false.A task's changes come back as a sealed result.
When the task's one turn ends, the machine that ran it packs what the child changed, committed or not, new files included, stores it encrypted for you under that session, names it in the session's log with the approvals it had to deny, and removes the task's worktree. A child that changed nothing records an empty result.
A joined machine takes work from your other machines, and you can turn that off.
krowk sync joinnow ends by offering the always-on host service (yes by default; a laptop joined only to follow can decline) and saying the machine takes work in trusted repositories.krowk machines accept offstops this machine taking tasks another of your machines hands it, andaccept onrestores it. Sessions you start here are not affected.krowk whoamishows the workspace's plan.A
Planline reads Free, Pro or Business; owners and admins of a paid plan also see when it renews or, once cancelled, when it ends (Pro · renews 19 Dec 2026).--jsoncarriesplan,can_manage_billing,plan_renews_atandplan_ends_at. A registry that does not send the plan yet shows no line, as before.krowk billingbuys or manages the workspace's plan.On Free it opens the dashboard's plan chooser; on Pro or Business it opens the subscription page, where an owner or admin changes plan, cancels or gets invoices. A member is told which owners and admins to ask, and it exits 4. With no browser (SSH, CI,
--no-browser) it prints the page;--jsongivesurl, or the refusal withbilling_contacts.krowk upgradestill updates krowk itself.krowk -pasks whether to trust a repository in plain text.On a terminal, in a repository nobody trusted, it lists what would run there (hooks, MCP servers) and asks
Trust <repo>? [y/N];yremembers the repository and runs the prompt, anything else refuses as before. Without a terminal nothing is asked: it refuses, or--trustruns it once. The question is no longer a full-screen card answered with one key, so it needs Enter.Trusting a repository now fingerprints every file that can run code.
Before, only
.mcp.jsonwas watched, so agit pullthat changed a Claude hook, a command, an agent or Codex's config ran under the old yes. Now the record also covers Claude's project settings, hook scripts, commands, agents and skills (including those in subdirectories), krowk's agent definitions and.krowk/config.json, and everything under.codex; when any of them is added or changed, krowk asks again and names the file..claude/settings.local.jsonis not in git and never asks. Repositories you trusted before upgrade without a question for files that have not changed since you trusted them, and are asked about the ones that have.krowk helpis one short screen.It shows a Start header (
krowk,krowk -p,krowk -p --resume) and four groups: Accounts (login,connect,disconnect,whoami,billing), Work (sessions,machines,worktrees,mcp,trust), Publish (push) and Health (status,doctor,upgrade,config). The duplicates and low-level commands (auth,runs,artifacts,claim,providers,workspaces,host,hosts,devices,sync,relay,pricing,logout) are hidden from it, not removed: they run as before, so scripts and the GitHub Action are unaffected.krowk help --alllists every command, hidden ones included, andkrowk help --jsonmarks each commandhiddenor not.A removed machine can start over without moving files by hand.
krowk sync joinon a machine whose keys were removed from your devices now asksThis machine was removed from your devices. Start it over as a new machine? [Y/n]; yes renames its old device and signing key files aside (…removed-<time>, never deleted) and joins with new keys.krowk machinesshows which of your machines could take a task, and what stops the others.One row per machine: online, load per core, free memory, build and agent slots in use, and whether it accepts tasks. In a clone, a second list says
readyfor each other machine, or the one fix:krowk machines accept on,run: git clone <origin>(never with a credential in it), or the account to sign in.krowk hostsis the same command now, and--jsoncarriesmachineswhere it carriedhosts, each withcapacity,repositories,acceptingandhere. Errors that pointed atkrowk hostspoint atkrowk machines.On Free,
krowk sessions archivekeeps the session on this machine.Free's synced history expires after 7 days, so an archived session's encrypted copy was soon its only one, then gone. On Free, archiving now still writes that copy but keeps the session's log here too, takes the session out of
krowk sessions, and says once:On Free, archived sessions stay on this machine; the synced copy expires after 7 days.krowk sessions restore <id>, or opening the session, brings it back from this machine without the registry. Paid plans archive as before.A sync refused for needing a paid plan points at
krowk billinginstead of the dashboard's address.
A machine over your plan's machine limit stays a viewer instead of stopping sync.
When the registry refuses this machine because the plan's machines are already running sessions, krowk no longer pauses all sync for an hour. The machine doesn't host, still follows your other sessions, and says once why:
Free syncs sessions from two machines, and this would be a third (mbp, desktop). You can still follow from here, or run krowk billing to upgrade.Moving a session to such a machine withkrowk sync takeleaves it where it runs:Can't move this session to <name>: ….--jsoncarries thesync_machine_limitcode, and forkrowk sync hostthe plan, the limit and the machines.A synced session whose oldest history expired still opens.
Free keeps a session's history for 7 days. When the start of its log is gone, a device attaching reads from the oldest part the registry still holds, checked as strictly as before, and the viewer says once
Older history expired (Free keeps 7 days).; a host taking the session up again writes on after it. Any other gap in a log is still refused as tampering.An image pasted again in a long synced session no longer disappears early.
On Free a session's images are kept 7 days from when they were stored, and the host stored each image only the first time. Pasting the same image again days later now renews its 7 days (or stores it again if it had already expired), so other devices can show it for about as long as the new message that uses it.
The terminal UI, the iPhone app and the FFI bindings.
Krowk is now the command line, the host daemon and the agent engines, for agents running in other harnesses; it has no interface of its own. The terminal UI (
krowk-tui), the iPhone app (apps/ios) and its UniFFI bindings (krowk-ffi) moved, frozen and unmaintained, to the archived krowkcom/krowk-apps repository, whose head,bd7f891b945831c61d42550f812b9b325e4b703c, is this repository's last commit before the cut and builds today's krowk with the TUI. Nothing a person did through them is lost:krowk trust,krowk config set defaultModeandrollover,krowk -pandkrowk sync attachreplace the trust card, the settings screen and following a session.What went with the terminal UI.
Bare
krowkno longer opens a full-screen agent: on a terminal it prints the same overview it prints piped, andkrowk -pis how to run the agent. The flags that opened the TUI (--model,--permission-mode,--toolset,--effort,--resume,--worktree,--max-usd,--max-tokens), given with no command and without-p, now fail with a hint to use-p;krowk sync new --model,krowk sessions --worktreeandkrowk sessions budget --max-usdare unchanged.KROWK_TUI_HOSTis gone, andtui.*keys in config files are ignored.krowk sync attachandkrowk --resume <synced-id>on a terminal print stream-json, as they do without one, and take/approve,/denyand/steeron stdin. The/mcpview iskrowk mcp list, and a server that needs sign-in says to runkrowk mcp login.The pairing QR and the other phone-only code.
krowk devices addno longer draws a QR code or prints "scan this with the krowk app on your iPhone"; it still prints the pairing code, andkrowk sync joinon the new machine takes it as before. Gone with it: thekrowk://pairinvite link, the registry client's push-token and session-notification calls, the sync host's notifications about approvals and finished turns, the phone's connection supervisor inkrowk-client, and the stand-in registry's push and notification routes and its fleet test hooks. Nothing ever received a push, so nothing a person used changes.The TUI's bench budgets and tmux in CI.
make benchno longer holds the sixtui.*budgets orsession.replay_rss, and CI no longer installs tmux or builds the iOS targets. The iOS and TestFlight workflows no longer exist, which ends their macOS minutes.
10 November 20260.17.0
rollovercan beoff, and is set per session, per repository and globally.- 2 added
- 1 changed
- 1 security
rolloverdecides what a turn that hits its instance's limit does:automoves on,offer(the default) asks, and the newofffails the turn with no offer and no "continue on another instance" hint.krowk now reads it from
krowk -p --rollover <value>first, then a trusted repository's.krowk/config.json, then~/.krowk/config.json. A resumed session keeps its value unless--rolloveris given again. Until nowrolloverandrolloverOrderin~/.krowk/config.jsonwere silently ignored, so every limit was offered; they are read now, and any other value is refused, naming the three. In the TUI,/rollovershows the value a session runs with and where it comes from (session, repo or global),/rollover offsets the session's, and a/settingsrow sets the global one, which the next turn uses without restarting krowk.Rollover picks the account with the most usage left, and
autoneeds norolloverOrder.krowk saves each Claude login's last known usage per window, and each Claude Code instance's models, in
~/.krowk/usage.jsonfrom every limits report a turn produces (instances on one account share a record). When a turn hits its limit, the session moves to the instance whose login has the most room in its fullest window, leaning towards the one whose window resets soonest when several are close. It skips an account with under 10% left or a limit in force, another instance on the same login, and an instance whose saved model list lacks the session's model; accounts krowk has no recent reading of come last. The model never changes. With norolloverOrder,autorolls over among every instance of the same kind; with one, among those it lists, in any position, the list breaking ties. A notice or offer now says what the target has left, as of when, and when it resets. Aninstance/modelentry's model and an entry of another kind are ignored, andkrowk doctorlists them instead of the config being refused. Withrolloveratauto, a session also moves between turns, before one dies at the hard limit: when a turn leaves its account with less than about two more such turns need (under max(2, twice the turn's use) points of its fullest window) and another account has at least 5 points more, the next turn starts there, with a notice (on stderr withkrowk -p) and the move in the session log, so--resumecontinues on the new account. An account a session was just moved to ranks after the others for 5 minutes, so sessions crossing the line together do not all pile onto one account. Withoffer, the same moment brings the question after a turn that succeeded: "claude:work is running low (resets 14:00) — continue on claude:trip1 (41% left as of 12:10, resets 13:20)? [y/N]".yin the TUI and/switchinkrowk sync attachmove the session without sending the prompt again, since it was answered; an offer after a limit still sends it again.krowk -pshows the offer in its JSON result (switchOffer, withearly: true) and a stderr hint with the--resume ... --modelto continue on. Declining is just sending the next prompt on the same instance: no further early offer comes for that account in the session until its usage window resets. A hard-limit offer still comes.Claude Code's usage in every window shows below the limit.
Claude Code reports how much of each window (the five-hour and the weekly) is used on every turn, but krowk read only the one window the event named, and that without a percentage until you were limited. An instance's status line now shows the fuller window after any turn, and a limited turn still names the window that was rejected and when it resets.
The SQLite krowk compiles in is patched (RUSTSEC-2026-0459).
krowk's session store and importer bundle SQLite through
rusqlite, and the bundled SQLite before 3.54.0 carries CVE-2026-119375.rusqlite0.41 bundles SQLite 3.54.1; nothing else changes.
6 November 20260.16.2
Agents can make a krowk worktree themselves:
krowk worktrees add.- 1 added
krowk refuses an agent's
git worktree add,EnterWorktreeandAgentwithisolation: "worktree", but on a Claude Code or Codex backend that left it no way to get a worktree mid-session.The new command makes one, readied as a
--worktreesession's is and listed bykrowk worktrees, from your files as they are or at--from <ref>, and answers its path. A ref on neither your checkout nor origin's default branch skips.worktreeincludeandworktrees.setup, so someone else's code isn't run next to your secrets. The refusal now points to it. It stays untilkrowk worktrees applyorremove, and sits outside the session's working directory, so unless the session bypasses permissions, its commands there may ask for approval.2 November 20260.16.1
krowk's MCP servers now work in Claude subscription sessions, through krowk's own tools.
- 1 added
On a Claude Code backend (
claude:instances) the servers fromkrowk mcp add, Claude Code's files and a trusted.mcp.json, with theirkrowk mcp loginsign-ins, were never reachable.The session now has
mcp_searchandmcp_call(the two tools the native engine uses) when it has at least one server:Mcp(...)rules, deny rules and asking apply to each call, and images in a result reach the model. Claude Code itself still loads only krowk's own tools. Codex sessions are unchanged.2 November 20260.16.0
krowk -p --imageand images inkrowk sync attach.- 9 added
- 2 changed
krowk -p --image a.png --image b.png "compare these"sends each file with the prompt (up to 20), named[Image #1],[Image #2]in it.Each is shrunk the way the TUI composer shrinks a paste (2000 px a side, JPEG if still over 2.75 MiB); a missing or non-image file refuses the run before any turn starts, naming the file. On a daemon each image goes ahead as its own
putImage. Inkrowk sync attach, a typed line of dropped image paths is sent the same way (Sending image 1 of 2…), and a refused upload stops the prompt./mcpsigns in and out of MCP servers.son a server that needs a sign-in completes the OAuth flow from the TUI: on your own machine krowk opens the page and finishes when the browser lands, with nothing to paste; against a host daemon (or over SSH) it shows the page and takes the address the browser lands on, which is never echoed. A sign-in left unanswered expires after ten minutes.osigns the server out, and its row goes back to needs sign-in. The sign-in runs on the host that holds the session's connections, so the tokens live where the calls are made (mcpSignInStart,mcpSignInFinishandmcpSignOutrequests in protocol 3). A server that turns out to need a sign-in is mentioned once per session:<name> needs sign-in: run krowk mcp login <name> or open /mcp.The README now walks through MCP with Mobbin, and
krowk help mcpshows it.Two commands,
krowk mcp add mobbin https://api.mobbin.com/mcpandkrowk mcp login mobbin, then krowk's own agent searches Mobbin and sees the screens; the docs also coverlist,logout,removeand the TUI's/mcpview. An end-to-end test now runs that whole path against Mobbin-shaped fakes.Images an MCP server returns now reach the model.
A tool result's
imageblocks, and embedded resources with animage/*type and a blob, are kept in the session'simages/and sent inside thetool_resultbeside its text (on OpenAI Responses, asinput_imageparts of the call's output; on Chat Completions, in a labelledusermessage right after the step's tool messages), so the model sees what Mobbin-style servers return. They keep the usual image limits (size, side, format, how many a call sends); one over a limit, or not a PNG, JPEG, GIF or WebP, becomes a text note saying why, and so does every image for a model that reads none.A tool result can carry images.
The session log's tool-result item gains an optional
imageslist of references into the session'simages/directory (omitted when empty), so a resumed session replays them and a client that predates the field still reads the text. Nothing produces images yet; MCP image results build on this. The FFI mirror and the iOS transcript follow./mcpshows the session's MCP servers, live.Each server is listed with where it is configured, whether it is connecting, connected, needs a sign-in or failed (and why), and how many tools it has; enter lists a server's tools with the first line of each description, and
rstarts a failed one again. The status refreshes while the view is open, and works the same on a session the host daemon runs. The client–host protocol is now version 3 (mcpStatusandmcpReconnectrequests); against a host daemon on an older krowk the view says it needs a newer krowk there.krowk mcp add,removeandlistmanage the MCP servers krowk's own agent uses.krowk mcp add mobbin https://api.mobbin.com/mcpadds a remote server (--header "Name: value", repeatable);krowk mcp add files --env K=V -- npx -y some-serveradds a local one. Both write themcpServersin krowk'sconfig.json, and refuse a name already there unless you pass--force.krowk mcp list(--jsontoo) shows every server krowk would load in this directory, from the repo's.mcp.json, Claude Code's files andconfig.json, with where it comes from, how it connects and whether it is signed in, without connecting to any; a.mcp.jsonserver in a repo you have not trusted shows as untrusted.krowk mcp removeremoves a server fromconfig.jsonand its stored sign-in, and for a server configured elsewhere names the file to edit and changes nothing.krowk mcp login <name>signs in to an MCP server that asks for OAuth.Hosted servers such as Mobbin answer
401and want a browser sign-in, which a static header cannot give. krowk follows the server's own metadata (on whatever host it names), registers itself as a public client, and signs in with PKCE; the browser answers a one-shot listener on127.0.0.1, or with--no-browser(the default over SSH) krowk prints the page and reads the address your browser lands on. Every endpoint must be https and the server's declared resource must match its URL. Tokens go in their ownmcpsection of the credentials file (0600), a sign-in that fails or is abandoned writes nothing, andkrowk mcp logout <name>removes it.krowk's agent now calls signed-in MCP servers with their tokens.
After
krowk mcp login mobbin,mcp_callsends the stored bearer. A token within a minute of expiry, or one the server answers401, is refreshed once under the credentials file's lock (re-read first, so two krowks sharing a rotating refresh token both end with a valid one) and the call is retried. When there is no sign-in, or the refresh is refused, the server showsneeds sign-inand the model getsmobbin needs sign-in: run `krowk mcp login mobbin` or open /mcpinstead of an opaque error; krowk never opens a browser mid-turn. Signing a server out closes its connection, and a sign-in removed by another krowk is noticed on the next call.MCP servers stay connected across a session's turns.
krowk's own agent used to start every stdio server and repeat every HTTP
initializeon each prompt; now a session's servers are started once and reused by its later turns and its subagents. The configuration is still read every turn: a server you edit restarts alone, and one you remove, or whose repository is no longer trusted or whose.mcp.jsonchanged underneath the trust check, is closed before the next model call. Connections close when the host drops an idle session and when it stops, ending HTTP sessions withDELETE.MCP servers connect in the background, report their state and retry when they fail.
A session's servers start connecting when its first turn starts instead of at the first tool call, so a slow server no longer delays the model; a call to one still connecting waits for it. Each server is
connecting,connected,needs sign-in(a hosted server that answered401) orfailedwith a reason, and the host can report that with its tool count. A failed server, or a local one whose process exited, fails fast and is started again by the next call that needs it after a minute, or at once when asked to reconnect. The/mcpview that shows this follows.
1 November 20260.15.0
/detachleaves a turn running in the host daemon.- 42 added
- 34 changed
- 20 fixed
- 4 security
Ctrl-D twice mid-turn still stops the turn before krowk exits, and now says so: the first press reads
Press Ctrl-D again to stop the turn and exit — /detach leaves it running, and the way out says the turn was interrupted and its work so far is in the session.To leave a turn running on purpose, type
/detach: krowk exits at once and prints thekrowk --resumecommand that follows the turn again. It is refused while an approval or question waits, since nobody would be there to answer it. On a synced viewer the first Ctrl-D now says the turn keeps running on the host.A synced session finds the direct path again when your network changes.
A terminal viewing a synced session now checks this machine's addresses every 2 seconds. When they change (another Wi-Fi, a VPN up or down), it races for the direct path at once instead of waiting out a backoff that can reach 5 minutes, as the iPhone app already did. Loopback and link-local addresses don't count, and it races at most once every 10 seconds. The check runs only while a session is being viewed, so an idle daemon does no extra work.
A moved session keeps its images.
When you move a synced session to another machine, that machine now fetches every image the earlier turns named before its first turn, so the model still sees them instead of being told the file is gone. If an image can't be fetched, the move fails with a message and nothing is moved. Images logged before krowk named them by hash can't be fetched and are labelled as they were.
Images reach remote and synced sessions, however many there are.
A prompt or steer with several screenshots used to carry them all in one message, and a remote daemon or a synced session refuses a message over 4 MiB, so two or three images failed the prompt. Each image now goes to the host ahead of the prompt as a
putImagecommand of its own, and the prompt names it by its sha256. The status line readsSending image 2 of 3…while they go, and an image that cannot be sent stops the prompt, leaves it in the composer and says why. A prompt naming an image the host holds nothing for is refused withthe host has no copy of image #N; send the prompt again, and nothing is logged. Toward a host on an older protocol the images still go inline when the prompt fits one message, and otherwise it is refused before sending, saying to update krowk there or send fewer images. Protocol version 2; the FFI (API version 10) gainsputImageandImageInput.sha256, for the iPhone app.The iPhone can attach images to a prompt.
Paste a screenshot into the message field, or tap the photo button beside it to pick up to 20 photos (the camera is not offered). Each shows as a thumbnail above the field with a button to remove it. HEIC photos are converted, every image is scaled to at most 2000 px on its longest side, and one still over 2.75 MiB is saved as a JPEG; the re-encode also drops a photo's location data. Send puts the images to the host one after another (
Sending image 2 of 3…under the field), then the prompt, whose text starts with[Image #N]for each. An image that fails to send leaves the message as you left it, with the reason; to a laptop that is offline the images wait, as they cannot be queued.The iPhone shows the images in your prompts.
A prompt's bubble draws a thumbnail of each image the phone holds, in place of its
[Image #N], and a tap opens the image full screen. The bytes come from the session's own sealed copy in the registry, are kept in the app's caches folder and fetched again if the system clears it. Until they arrive the bubble keeps[Image #N], with no error. The phone never loads an image from a URL.A synced session's images reach your other devices.
When you paste an image into a synced session, its host now stores the image in the registry before the part of the log that names it. The image is sealed under the session key and named by a hash keyed under that key, so the registry learns only its size. Another of your devices can fetch it by the hash the log gives, and gets exactly that image or nothing. The app library adds
OpenedSession.image(sha256:), which returns an image's bytes or nothing yet (no version change). Local and remote-daemon sessions that aren't synced store nothing in the registry.The iPhone app moves a session to another of your machines.
A session's navigation bar menu has Move to…, which lists your other online hosts and the directories each offers. Pick a host and a clone of the session's repository there. The bar reads
moving to <host>…at once while the session carries on, thenmoved to <host>. That host runskrowk sync takeitself, so its own checks (the instance by name and ready, a backend's repository trusted, the commit in the clone) refuse before anything moves. A refusal shows the host's sentence and the session stays where it was. Behind it is a newtakehost command, which any of your devices can send. The host answersbusywhile another take runs, and leaves the take hosting the session, its output in~/.krowk/takes/<session>.log. The app library addsAccount.takeSession,Account.cancelTakeandTakeAnswer(no version change).The iPhone app connects before it draws, and says how old what it shows is.
At launch and each time it comes back to the foreground, before any screen appears, it starts reading the session list and reconnects the session you had open, so that session is often live by the time you tap it. A session with no host shows
last seen 12m ago, never live, and so does every session when the phone is offline. Its transcript stays readable under a line saying the host is offline and when it was last seen, and a prompt you send is queued until the host is back. With no network at all, the list keeps the rows the phone cached and says it couldn't be read, and the bar says the relay can't be reached.The iPhone app switches a session's model.
A session's navigation bar shows the model it runs on,
<instance>/<id>. Tap it to see the host's ready instances and their models, each instance with its limit (one not ready is greyed with its fix). A pick readsswitching to <model>…at once and settles once the host has switched; during a running turn that is when the turn ends. A refusal shows the host's sentence under the model, which stays as it was. With the host offline the picker offers nothing. A turn that hits its instance's limit shows<from> is at its limit — continue on <to>?over the composer. When the phone sent that turn's prompt, Continue switches and sends the prompt again there. The phone never switches the mode, toolset, effort or budget.The iPhone app draws from its cache first.
At launch the session list shows the sessions the phone kept, each "last seen" and never live, before the registry answers; the fresh listing then replaces them. Opening a session draws the newest 200 events the phone kept at once and pages older ones in as you scroll up. The session is then read on from where its last read stopped, only the chunks written since, and followed live from the newest event the phone holds. An event the cache and the network both bring is drawn once. The sessions above and below the one you open are read ahead from the cache, so switching to them draws at once. No spinner shows over cached content; the connection bar says how the catch-up is going. The app library adds
Viewer.openResumedandencodeReadPlace/decodeReadPlace(no version change).The iPhone app starts a session on one of your machines.
Sessions'
+opens "New session": your hosts as they announce themselves, online first (one offline is greyed with when it was last seen and can't be chosen), one of the directories the host offers, a model one of its instances has ready, with that instance's limit, and the first prompt. Start closes the sheet at once and a row readsstarting on <host>…until the host answers; then the session's transcript opens, live. A host's refusal shows in the row, with Edit and retry. The phone offers no permission mode, budget, toolset or effort: the host's own settings apply. The app library gainsAccount.listHosts,Account.startSessionandnewCommandId.The iPhone app moves a session onto a direct path.
Once on the relay it races the host's tailnet address, MagicDNS name and LAN address over Network.framework, as the terminal does, and moves onto the first that joins; the bar reads
live · direct over LAN(orTailscale), and back tolive · relayif that path goes. The app asks for the local network permission the first time it tries a LAN address. A host's direct listener now accepts a join whoseHostheader has no port, as the phone's WebSocket sends it. The app library's viewer API is version 7 (Race,race_join,race_lost).A synced session can be read on from where a device stopped.
krowk-client's
store::resumeand the app library'sAccount.resumeSessionopen a session from a kept read place (OpenedSession.place()) and read only the chunks written after it, rather than the whole log from its checkpoint. The chunks are held to the same chain. A chunk that does not follow the place, or an index older than it when the registry no longer holds the place's chunk, is refused as a rollback. The iPhone app does not keep a place yet.krowk sync newstarts a session on another of your machines.krowk sync new --host <name> --cwd <dir> [--model <instance>/<id>] "<prompt>"asks that machine's host daemon to start the session, waits for its answer, then follows it askrowk sync attachdoes: the TUI on a terminal, else stream-json, or with--json.--hostis the machine's name on your device list, in any case, or 8 or more characters of its device id. A machine that is offline, a directory it does not offer, or a model it has no ready instance for is refused at once, with the fix, and nothing is sent. With no--model, its first ready instance's first model runs. There is no--permission-mode: the host runs the session in its own default mode. The prompt seals to at most 16 KiB.Another of your devices can start a session on a host.
A host's daemon now acts on a sealed start command delivered in its presence refresh: a new session in one of the repositories it announced, on a model it has ready, its first turn the prompt sent. A directory it does not offer, or a model it cannot run, is refused with the fix and starts nothing. The session runs in the host's own default permission mode for that directory, whatever the command asks, and automatic sync takes it up at its first turn, so your other devices list it within seconds. A command sent twice under one id starts one session. Nothing sends one yet:
krowk sync newand the phone come next.The registry can carry a sealed command to a host and its answer back.
One of your devices can send another a command sealed to it, under an id it makes up, so sending it again runs it once. The host receives it in its next presence refresh, within about 10 seconds, until it answers; only the sender reads the answer. A command lapses after 10 minutes. The registry holds only the sealed bytes, who sent them to whom, and the times, and drops a device's commands when the device is revoked or removed. Nothing sends one yet.
krowk hostsshows every machine whose daemon is up, online or offline.While sync is set up and automatic sync is on, the host daemon announces itself to your other devices every 10 seconds, sealed end to end, and takes the announcement down when it stops.
krowk hostsnow lists each machine that announced, even one that hosts no synced session or has no Tailscale: online, or when it was last seen, with its krowk version, its ready instances and their models, and the repositories you trusted there.--jsongainsannounced,lastSeen,version,instances,directoriesandunopened.The registry keeps each host's sealed announcement.
A host can now publish the announcement it seals to your devices, refresh it like a lease (10 to 120 seconds, 30 by default), and clear it going away; your devices list them, each marked online until it lapses by the registry's clock, and with when it was last seen. The registry holds only the sealed bytes and the times, and drops a device's announcement when the device is revoked or removed. Nothing publishes one yet.
krowk-client can seal a host's announcement to your devices.
The record a host will use to tell your other devices it is online, with its instances and their models, the directories it starts sessions in and the ids of its sessions, is sealed under your user key and bound to the device it is about. The registry sees only its length, padded to whole kilobytes. Nothing publishes one yet.
The iPhone app keeps your session list and recent transcripts on the phone.
As sessions sync, the app writes the index of every listed session, and the logged transcript of the 20 most recently updated, to an SQLite file in its container (
krowk-cache.sqlite): readable only while the phone is unlocked, never in a backup, holding no key. Resetting a removed phone, signing out and reinstalling delete it. The app doesn't draw from it yet; a later change opens on it. krowk-ffi gainsencode_log_event, a log event as its JSON text. Nothing changes for CLI users.The iPhone app measures its own launch, return, tap and keystroke times.
Every build, the App Store's included, logs one line per measurement (
budget launch.cachedList 312.4 ms) and a matching signpost interval: launch to the cached session list, foreground to caught up, Send to its bubble, and one keystroke in ten to its glyph. Anyone holding the phone can read them in Console.app or withidevicesyslog -m "budget ", without Xcode;apps/ios/README.mdsays how, and what each is held to. Nothing about your sessions is logged.The iPhone app's size, memory and main-thread stalls are held in CI.
A pull request that grows the Release app or its executable past its ceiling, scrolls a 10,000-item session over its memory ceiling, or stalls the main thread for more than twice a stored baseline while a burst streams in fails the iOS workflow; the ceilings live in
apps/ios/budgets.json, and raising one is a commit with a new measurement. Launch and latency are recorded on every run as a trend, not a gate. The new stall gate found one: an answer whose last words arrived in the same frame as its end was drawn again whole, a quarter-second freeze on the simulator; it now keeps the text it streamed. Nothing changes for CLI users.An iPhone you remove from your devices says so, and can be reset.
After
krowk devices remove <iphone>(or a list started over withkrowk sync init --start-over), the app replaces its screens with "This iPhone was removed from your devices" (or "Your device list was started over"), stops every live session, and retries nothing. "Reset this iPhone" clears its push token, forgets every key it kept, including the Secure Enclave key that sealed them, and goes back to sign-in; pair it again fromkrowk devices add. Nothing is reset until you tap it. A phone still on your list now also picks up the newer key a removal rotates to, so sessions sealed after it keep opening. Right after pairing, the app reminds you of your recovery kit once, in the words the terminal uses. Nothing changes for CLI users.Tapping a krowk notification on the iPhone opens what it is about.
"A turn finished" opens that session's transcript, followed live. "A session needs your approval" opens the session and, as soon as its host says what is waiting, puts up the approval sheet for the oldest request, with Face ID before a risky allow as before. If it was answered elsewhere or timed out meanwhile, the session says "Nothing is waiting for you here any more" instead; if the laptop is offline, it says so and when the session was last seen, and offers nothing to answer. This works from a cold start too. A notification never grants anything by itself: it only picks which of your sessions to open, and one that names anything else is ignored. With the app open, an alert for the session you are watching stays quiet. Nothing changes for CLI users.
The iPhone gets a session back by itself after the background and network changes.
When you come back to krowk, a session you had open checks its connection before the screen even shows: it rejoins at once if the link was lost, replaces it if you were away 10 seconds or more, and otherwise makes sure it still answers. Switching between Wi-Fi and cellular, or a VPN coming up, does the same check at once, and so does pulling down on Sessions. A link that keeps failing waits a little longer each time, up to 30 seconds, instead of retrying every second, and the bar says
reconnecting in 4swhile it waits. In the background a live link is kept but a lost one is not retried until you return, and a session that couldn't be opened because the network was down is opened again instead of stopping. Nothing you saw is shown twice, and nothing is missed. Nothing changes for CLI users.The iPhone asks to send notifications once it is paired.
Right after the phone joins your devices, iOS asks "Allow krowk to send notifications?" — never at launch. Allowed, the phone registers for push with krowk's registry, signed by its own device key, so it can ring when a session needs an approval or finishes a turn even while it sits in your pocket. It keeps that registration current each time the app comes forward and when iOS changes its push token, sending nothing when nothing changed. Say no and the registration is dropped; turn notifications off later in Settings and it is dropped the next time you open krowk. The app keeps only a digest of what it registered, never the token, and never logs it. Nothing changes for CLI users.
Approve tool calls and answer questions from the iPhone.
When a turn asks before it runs something, the request now rises in a sheet over the session on your phone too: the tool, what it runs in monospace, why it asks, and its full input under "Show input". Allow once, Allow for this session (offered when the request has rules to remember, and listing them) or Deny; whichever device answers first decides, so a turn started from the phone no longer waits for you to get back to your laptop. Allowing anything but a read-only tool (
read,grep,glob, and Claude Code'sRead,Grep,Glob,LS) asks for Face ID (or the passcode) first, so an unlocked phone in someone else's hand can't run commands on your computer; Deny never asks. The phone never makes a rule for the whole project — that stays on the laptop. When the agent asks questions instead, the sheet shows each with its options and a box to write your own answer (hidden as you type, for a secret), with Answer and Decline. Several requests queue ("1 of 3"); each takes one answer, even on a double tap or a flaky link. The call's line in the transcript readsallowed — sending…at once andallowedwhen your laptop takes it; if it refuses, the request comes back saying why. A request answered on another device goes away with a note saying so, and a turn's end takes its requests with it. Swipe the sheet away to read the transcript; a hand in the top bar brings it back. ⌘↵ allows once with a hardware keyboard. Nothing changes for CLI users.Prompt, steer and stop from the iPhone.
An open session now has a message box under the transcript. When the session is idle, Send starts a turn; while a turn runs the button reads Steer and adds your message to it without stopping it, and Stop interrupts it, keeping what it wrote (the button reads
stopping…at once, and the turn's line then says it was interrupted). What you send appears straight away as a bubble sayingsending…, and is replaced by your prompt as your laptop logs it. If your laptop is offline, Send still works: the bubble readsqueued — sends when your laptop is back, and the prompt is sent, in order and once, when it returns (Steer and Stop wait for it). A queued prompt survives leaving the session's screen, but not quitting the app. A prompt the laptop refuses shows why, with "Edit and resend". A dropped connection never runs a prompt twice. With a hardware keyboard, ⌘↵ sends and ⌘. stops; Return is a new line. The phone sends no model or mode: a prompt runs under the session's own settings. Nothing changes for CLI users.The iPhone app follows a running turn live.
An open session now moves as your laptop works: a new prompt appears, the answer streams into its row word by word, a tool call shows
running…as it starts and settles with✓or✗and its result, and the turn's closing line appears when it ends. While you're at the bottom the transcript keeps up; scroll up to read and it stays put, with a↓ Newbutton that takes you back down (and keeps up again). If the relay drops part of the stream, the bar readscatching up…while the phone fetches what it missed from your laptop, and nothing is shown twice; if the laptop goes away mid-turn, the bar readshost offlineand what was drawn stays. Updates are drawn once per screen refresh, up to 120 times a second on ProMotion iPhones, and an idle session costs nothing. Nothing changes for CLI users.The iPhone app shows a session's transcript.
Tapping a session opens its turns, top to bottom and scrolled to the end: your prompts in bubbles on the right (an attached image shows as
[Image #1]), the agent's answers in full, its reasoning as a "Thought" line you tap to read, each tool call on one line (bash ls -la,read README.md) with✓or✗and the first line of its result beneath, which a tap expands to the whole output (up to 64 KiB, then how many more bytes), and a thin line where each turn ended, saying so if it was interrupted or failed, and why. Whatever an agent wrote is treated as hostile: invisible control and text-direction characters are removed, no image is ever fetched, the app has no web view, and a link shows its real host beside it ((example.com)) and opens only after you tap it and confirm the whole address. Markdown isn't formatted yet. Nothing changes for CLI users.The iPhone app follows a session live.
Opening a session now joins it through krowk's relay, and a bar under its title says how that stands:
connecting,liveonce your laptop has welcomed the phone,host offlinewhen no laptop is hosting it (the phone is read-only then, and waits for one to come back),reconnectingafter the connection drops, which it rejoins a second later where it left off, orcan't reach the relay:and why (stopped:and why, if it can't go on). Nothing changes for CLI users.The iPhone app lists your sessions.
Once paired, the app opens on "Sessions": every synced session the phone can open, most recently written first, each with its title (or its directory's name when it has none) and either
● live on <laptop>, while a host holds it, orlast seen 12m ago. The list reads itself again every 20 seconds while it's on screen, whenever the app comes back to the front, and when you pull down. When it can't reach krowk, it keeps the last list and shows no session as live. Sessions the phone can't open are counted at the bottom ("2 sessions can't be opened on this iPhone.") and not shown. Tapping a session opens its transcript. Nothing changes for CLI users.The iPhone app pairs with your laptop.
After signing in, the app says to run
krowk devices addon your laptop, then scan its QR code with the phone's camera or type its code. It names the laptop it is pairing with, and your laptop asks whether to add the phone, now shown with its iOS version (for exampleiOS 26.1); answer Y there and the phone says "This iPhone is on your devices". From then on it opens without asking you to sign in or pair again. A wrong or used code ends that pairing on both sides and keeps nothing: runkrowk devices addagain for a new code. A QR code from another krowk account, or from a pairing that is no longer open, is refused before its code is used. Nothing changes for CLI users.krowk devices addshows a QR code of the pairing code, for the iPhone app to scan.It's drawn under the code, black on white so it reads on a dark or a light theme, and only on a terminal wide enough for it; piped, nothing changes. The code and the lines around it stay as they were, and typing the code still works.
Sessions sync by themselves.
On a machine with sync set up, every session that runs a turn in the host daemon (the TUI,
krowk -p --daemon) is synced withoutkrowk sync host: another machine lists it within seconds, andkrowk sync attachfollows it. To turn it off, set"sync": {"auto": false}in~/.krowk/config.json, orKROWK_SYNC_AUTO=0for the daemon. To keep one directory off sync, list it insync.excludeor put a.krowk/no-syncfile in it.krowk sync statusnow says whether auto-sync is on, whether the directory you're in is synced, and how many sessions the daemon is syncing. A session nobody has used for 10 minutes stops syncing until its next prompt on this machine (sync.idleMinutes;0keeps it synced while the daemon runs); until then other devices see it read-only. A directory opted out while its session syncs stops syncing at that session's next prompt. When the daemon restarts (krowk upgrade,krowk host stop, a crash), each session picks up syncing again at its next prompt, and a device following it carries on by itself; after a crash that can take up to a minute. A session you host by hand withkrowk sync hoststays yours: the daemon never takes it over. On a workspace without a paid plan the daemon stops trying for an hour. The daemon exits once nobody has used it for a while, so runkrowk host enableto keep sessions synced on an always-on machine. A machine without sync set up behaves as before and makes no sync network call.krowk sync hoststill syncs one session by hand, including one in an opted-out directory.A synced session tells your iPhone when it needs your approval or finishes a turn.
The machine hosting the session asks the registry to send your other devices a generic alert, once per approval and once per finished turn, with fixed text that carries nothing from the session. A turn that ended more than two minutes before it was synced rings nobody. If the registry can't send pushes, the host says so once and the session syncs as before. For now a turn you run at the host's own terminal, and an approval it asks there, rings your phone too.
The iPhone app signs in through the browser.
Its first screen says "Sign in to krowk" with one button, which opens krowk's approval page in a browser sheet that uses your existing krowk login, naming the phone by the name iOS gives apps ("iPhone"). Approve there and the sheet closes by itself. There is no password field in the app. The key it receives is kept in the Keychain only, never in a file or the app's settings. If you deny it or 15 minutes pass, the screen says so and offers "Start again". A signed-in phone opens on "Signed in to <workspace>" until pairing comes. Nothing changes for CLI users.
The browser's approval page names the machine signing in, and the key it makes is named after it.
krowk login, and the sign-inskrowk syncandkrowk devicesask for, used to show "Log in on this machine?" for every terminal. They now send the machine's name:--namewhere the command takes it, elseKROWK_DEVICE_NAME, else the host name, askrowk sync joinnames it on your device list. SetKROWK_DEVICE_NAMEto keep the host name from reaching the registry./trusttakes back a no to the trust question.If you answered
nwhen krowk asked whether to trust a repository, the session used to stay untrusted until you restarted krowk: Claude Code and Codex wouldn't start, and a native session ignored the repository's hooks, allow rules and extra directories. Type/trustto trust it then and there. It's remembered like a yes, counts from the next prompt, and sends a prompt that was waiting on the question. The refusal now points to it.Every session can start in a worktree of its own.
Set
"worktrees": { "default": true }in your config, or in a trusted repository's.krowk/config.json, and each new session in a repository starts in akrowk/<hex>worktree, as--worktreedoes, on Claude, GPT, Grok, Claude Code or Codex alike. If the worktree can't be made, the session stops instead of running in your checkout.--worktree=falseruns one in place. As with--worktree, the session runs in krowk's own process rather than the background host, so it ends with the terminal, and/newcarries on in the same worktree.Agents use krowk's worktrees and artifacts, not their own.
On every backend and in every mode,
git worktree add, and Claude Code'sEnterWorktreeandAgentwithisolation: "worktree", are refused with a pointer to krowk's worktrees.gh gist createand uploads to a paste site (0x0.st, transfer.sh and the like) are refused with a pointer topublish. So an agent's work stays wherekrowk worktreeslists it, and its files stay in your workspace. You can still run these yourself.A synced session's status line says how it is connected.
Beside the host's name it now reads
direct over LAN,direct over Tailscaleorrelaywhile the host is there, the same words the iPhone uses, anddevwhen krowk joined the relay's development env (a host in the other env is never met). On a narrow terminal the connection gives way first; the host's name anddevstay.A host bridging many sessions no longer floods the relay when it comes back.
Each session's bridge used to retry the relay every second in lockstep, so a host with fifty synced sessions came back as one burst against the relay's caps on connections not yet joined. A retry now waits one to two seconds, drawn per session. The reference relay (
krowk relay serve) writes oneevictline to stderr for every waiting connection it lets go, naming the pool, the workspace and that pool's running count.Catching up on a long session reads only its end.
A client that falls behind or reattaches during a turn used to make the daemon read the session's whole log for every page, and starting a turn read it once more just to count it. The daemon now notes where each of the turn's recent events starts in the log and reads from the client's place, so catching up costs the same whether the log is a hundred events or fifty thousand.
An image is capped at 2.75 MB, and named by its sha256.
One image can be at most 2.75 MiB in every session, local ones included, so that a session's images can later sync or move unchanged (it was about 3.75 MB). The prompt composer shrinks a pasted or dropped image to fit, as before: 2000 px a side, then JPEG if a PNG is still too big. A host refuses a larger image with
image #N is <x> MB; the most one image may be is 2.75 MB, and no turn starts. New images are saved in the session'simages/folder as<sha256>.<ext>, and the same bytes are one file. The log's image reference gains asha256field; sessions logged before keep their old file names and still resume with their images.The host says which tailnet user the same-user check holds to.
With
KROWK_TAILSCALE_SAME_USER=1, hosting printskrowk: the same-user check admits only nodes of <login> (tailnet user <id>). One login can carry two tailnet user ids, and a device signed in under the other one is refused; the id on this line is how to tell. Nothing changes with the check off.Closing the fullscreen TUI leaves the shell's screen as it was.
The conversation is no longer printed onto it on the way out, where it came out without the layout the TUI drew it in. The session is saved, and the one line krowk leaves says how to open it again:
resume this session with: krowk --resume <id>. Inline mode is unchanged: its conversation is in the terminal's scrollback already.The TUI's header sits a row below the top.
A new session's Krowk mark no longer starts on the first row: one blank row above it matches the padding on its left.
A synced session's viewer moves its place only once a batch is shown.
krowk sync attach, and the iPhone app, ack the relay only for batches whose lines have been handed to the screen, and a batch that arrives but does not parse now counts as a gap: its events are caught up from the host instead of being dropped. A duplicate event no longer moves the newest event held. krowk-client's viewer ends each frame that moved its place with a newSavedupdate. The app library exports it asViewerUpdate.saved(FFI API version 6), withencodeCursoranddecodeCursor. The iPhone app writes that place to its cache in the same write as the events it names. While a gap's catch-up is still out, the saved place reaches back to the event before the gap.A synced session's model can be switched from another machine.
A prompt from another device now runs on the model it names, and
/model INSTANCE/IDonkrowk sync attach --json's stdin switches the session's model. The host checks the model against its own instances and credentials, as it does a switch made at its terminal; one it can't run is refused with its fix line, and the session stays on its model. Mode, effort, toolset and budget are still the host's.A rate-limit switch offer can be taken from another machine.
When a turn hits its instance's limit,
krowk sync attach --jsonsays on stderr which instance the host offers, and/switchtakes it: the session switches there, then your prompt runs again if the limited turn was yours. The TUI attached to a synced session now takes the offer withy, as it does locally; before, its yes was refused.The iPhone app can join a pairing that
krowk devices addshows.The phone runs the same joining steps as
krowk sync join, by the code typed or scanned from the QR code, and the new device appears on the computer's prompt as an iOS device. Nothing changes for the CLI.A closed terminal no longer leaves a synced session waiting on a question.
If you close krowk while it asks to approve a tool call, and nobody is attached from another device, the question is declined once it has been waiting five minutes and nobody has been attached for as long, instead of waiting for good. That includes a question a background agent asks after its turn ended. While krowk is still open, or someone is attached, the question waits for an answer as before.
krowk can now ask the registry to notify your other devices, and a device can register for push notifications.
Nothing calls this yet. Notifications from a host come in a later release. Nothing changes for CLI users.
The iPhone app's core can follow a session live.
The app's viewer screens come next. The phone joins the session through the relay with the same viewer the terminal runs: the handshake, the host's welcome, batches applied in order, gaps caught up, commands queued while no host is there and sent once one welcomes it. The app only opens the socket and keeps the time. Nothing changes for CLI users.
The iPhone app's core can list your synced sessions and open one.
The app's screens for them come next. Each session's record is checked against the device list the phone holds before its title is shown, and an opened session is read from its latest checkpoint, then whatever was written since. Sessions the phone can't open yet are counted, not shown. The session's keys and the phone's signing key never leave the core. Nothing changes for CLI users.
The terminal follows a synced session with the same code the iPhone app will.
krowk sync attach,krowk sync takeand the TUI on a synced session now run krowk-client's viewer, the one the phone will link, with only the sockets, the registry calls and the race for a direct path left in the CLI. Nothing changes for you; the end-to-end sync tests now cover the phone's viewer too.The protocol's types reach Swift.
The iPhone app will read the daemon's lines (log events, live deltas, approval requests, results) and build its commands as Swift enums and structs that UniFFI generates from krowk-client's own protocol types, with JSON only at the edges. A protocol change no longer builds until the app's copy of the types follows it. Nothing changes for CLI users.
krowk-client runs the new device's side of pairing.
Nothing changes for you:
krowk sync joinsends the same steps, waits as long and fails with the same messages. The sequence and its rules (a code is tried once, nothing is retried, keys kept by a join that didn't finish are forgotten) moved from the CLI into krowk-client, so the iPhone app will join the same way and supply only the network.The iPhone app keeps its keys in the Keychain, sealed by the Secure Enclave.
Each key krowk keeps on the phone, and its krowk API key, is a Keychain item that opens only while the phone is unlocked, never syncs to iCloud and never moves to another device. It is sealed to a key that can't leave this iPhone's Secure Enclave. Nothing is written to a file in the app. Reinstalling the app starts with no keys. An iPhone with no Secure Enclave keeps no keys, and the app says so. Nothing changes for CLI users.
The iPhone app's project is in
apps/ios.It is a UIKit shell that shows the protocol version it reads from the Rust core. On a Mac, XcodeGen generates its Xcode project; on Linux, xtool builds the same sources. Nothing changes for CLI users.
krowk-client declares what a synced session's devices send each other.
Nothing changes for you: the frames, answers, welcome and batches a host and its viewers exchange, and the sealed index and chunks kept at rest, are the same JSON byte for byte. Their types moved from the harness into krowk-client, so the iPhone app will read them without a copy of its own.
krowk-client reads a synced session back.
Nothing changes for you: attaching to a session, catching up with it, and opening its key and index read the same chunks, check them the same way and fetch them just as fast. That reader moved from the harness into krowk-client, so the iPhone app will list and open a session without decrypting it in code of its own. Writing the log stays in the harness.
krowk-client decides what a viewer of a synced session shows.
Nothing changes for you:
krowk sync attachand the TUI show the same lines, each logged event and each waiting approval once, ack the relay as often and try a direct path on the same schedule. How a stream batch is applied, how events are deduped, the ack, the catch-ups a gap asks for and the direct-path timings moved from the harness into krowk-client, so the iPhone app will show a session the same way. The live connection stays in the harness.krowk-client joins the relay.
Nothing changes for you:
krowk syncdials the same URL, signs the relay's challenge over the same origin and sends the same join, and a refusal reads as before. The handshake moved from the harness into krowk-client as a state machine with no socket of its own, so the iPhone app will join the relay with the same code. The connection, TLS and the 10-second waits stay in the harness.krowk-client can follow a synced session on its own rules.
Nothing changes for you yet:
krowk sync attachstill runs its own loop. The rules for following a session live (joining the relay, holding batches until the host's welcome, reading the log up to the head it names, acking, catching up on gaps, sending queued prompts at the welcome, the heartbeat and one screen update a frame) now also exist in krowk-client as a state machine you feed the bytes that arrived and the time. It has no socket, thread or clock of its own, so the iPhone app will follow a session with the same rules, using its own connection.The iPhone app's Rust core builds with
make ios-core.It makes a static, arm64-only XCFramework of krowk-ffi for device and simulator, with the release build's size settings, and a local Swift package,
apps/ios/KrowkCore, around it. It runs on a Mac with Xcode, or on Linux with the omarchy-apple-dev toolchain and an iOS SDK.make checkdoesn't build it, and the CLI is unaffected.The iPhone app can sign in to krowk and keep its keys in the Keychain.
krowk-ffi now exports a browser sign-in that polls by the terminal's rules and names the phone on the approval page, an account that makes the device's keys on first use and signs registry calls as that device, and a storage interface the app implements over the Keychain under krowk's file names. No export hands a private key to Swift. The CLI links none of it.
krowk-client checks what a new device receives when it pairs.
Nothing changes for you:
krowk sync joinrefuses the same replies as before. The check that the device list adds exactly the new machine, signed by the device that paired it, moved from the CLI into krowk-client, so the iPhone app will run the same check instead of writing its own.krowk-client's key errors name a key, not always a file.
The terminal's messages are unchanged and still give each key file's full path to move aside. A keystore with no files, like the iPhone's Keychain later, names the key instead of a path that doesn't exist.
krowk-client can keep a device's keys somewhere other than files.
Nothing moves for you: the terminal keeps them in the same files in krowk's home,
0600, with the same contents. The rules that keep them safe stay in Rust, behind a storage seam, so the iPhone app can keep the keys in its Keychain later without writing those rules again.krowk-ffi's API is frozen in a file.
What the iPhone app compiles against is written down in
crates/krowk-ffi/public-api.txt, rendered from the Rust source, and a test fails when the two differ, so a renamed or removed export shows in the Rust change's own diff. Removing or changing an existing export needs a bump ofFFI_API_VERSION, which the app can read at run time throughffi_api_version(); adding one does not.krowk-client has Swift bindings.
A new crate, krowk-ffi, exports it through UniFFI for the iPhone app, starting with the protocol version and pairing-code parsing; a test generates the Swift from the Rust on every
make check. The CLI links none of it and its builds are unchanged.The threat model and crypto design are public.
They are in
docs/security/, andSECURITY.mdlinks them. Until now they lived in krowk's private design repository, so a reader could not check what the encryption claims to protect, from whom, or which risks krowk accepts.The published threat model and crypto design are current again.
docs/security/is republished from the design repository. It now covers push notifications, host announcements and thetakehost command, the pairing invite and what reaches the device list when a pairing ends unconfirmed, the key-storage seam, and on the iPhone the Keychain, Face ID before an allow, how agent output is drawn and the zeroization gaps the FFI adds.scripts/publish_security_docs.shnow makes the copy, so the next one is made the same way.A first prompt survives a dropped connection to the host daemon (ticket 162).
If the connection went after the daemon took a prompt that starts a new session but before its first line came back, krowk used to report
host_gonewhile the turn ran on unseen. The client now tags such a prompt with an id of its own, and on the next connection asks the daemon for the session that prompt started, then follows it from the start to its result. The prompt is never sent twice. A daemon from before this change still answershost_gone, as before. The protocol gains an optionalclientRefonexecuteandattach; the protocol version is unchanged./connectno longer stalls the host daemon's other sessions on a slow disk (ticket 154).The daemon's
reload, which re-reads config.json and the credentials after/connect, used to do that read on the thread that streams every session. It now reads off that thread, one read at a time, and answers once what it read is applied. Reloads sent while one is read share the next read, each still applying its own sign-out or rename, so the last one sent always wins and a flood of them cannot hold anything up for long. A command sent right after a reload, before it is answered (as the TUI sends a prompt), still runs on what the reload read: the daemon holds it until the reload has settled. Tests now also check that a resumed turn sends its prompt to the provider only once, and the four-session load test measures the daemon's lateness until all four sessions end, not only the first./sessionsfollows a session another client started after the TUI opened.With sessions in the host daemon, picking one that another terminal began while this TUI was open used to only replay it, as though it had ended. The TUI now asks the daemon whether it is running and follows the turn live to its end. A session that has ended is still only replayed.
A slow certificate check no longer stalls the host daemon.
Each turn opens a new connection to the provider, and checking its TLS certificate is a blocking call (on macOS, the system trust service). The daemon made it on the one thread every session streams on, so a slow check held up every other session's output and heartbeats. The daemon now makes connections on a separate thread.
krowk -pis unchanged.The iPhone app closes three gaps left by earlier tickets (ticket 145).
An approval request answered on another device while the phone was disconnected now leaves the approval sheet when the phone reconnects. It used to stay there until you answered it and were refused. The host's welcome on rejoining lists the requests still waiting, and the viewer core now reports each one it showed that is missing (
ApprovalGonein krowk-ffi, FFI_API_VERSION 8).krowk sync attachprints it as async.approvalGoneline, and the TUI drops the request too.catching up…now clears as soon as the host answers, not after a 5 s timer. The core used to report a catch-up only when it brought new events, and now reports every catch-up it asked for. An expanded "Thought" that finishes while it streams keeps the text already on screen instead of drawing it all again. A finished answer whose text a later catch-up changes is redrawn; before, it kept showing the old text.make benchmeasures on a machine with Claude Code or Codex installed.The measured krowk inherited your
PATH, so it foundclaudeandcodexthere, had three instances able to run a model, andkrowk -prefused to pick one: the engine, turn, token and redraw rows failed with nothing measured. Each directory holding them is now stood in for by one with everything else it holds, so the bench's own API stand-in is the only instance, andgitand the rest are still found.make bench'ssession.replay_rssrow no longer fails now and then.It looked for the turn's answer in the bytes the TUI wrote, but the TUI redraws only the cells that changed, so the answer could arrive in two pieces with a cursor move between them. It failed with "the next turn never answered" although the answer was on screen. The row now reads the screen.
The daemon's
statussays a session is running whenever a prompt to it would be refused as busy.sessions[].runningwas true only fromturn.startedtoturn.completed. It was false while a turn set up, and after it completed until it let go of the session, though a prompt then gotsession_busy. It now holds from the moment a prompt is accepted until its turn lets go, and while a backend runs the session as an agent. Its readers now count those windows too:krowk host status, the TUI's "still running here" note and a handover's wait. The schema's description of the field says so.The daemon test
r_lag_4_a_done_held_while_behind…no longer fails now and then.It wasn't the catching up: under load the test sent its second prompt before the first turn had started, because the daemon's
statusreports a session running only fromturn.startedtoturn.completed, not for the whole command. That prompt was refused as busy, so there was no second turn to wait for. The test now waits for an attach to say the first turn's command is over. krowk itself is unchanged.The iPhone app says when krowk's registry can't be reached.
With the network down, the session list's footer read "Your sessions couldn't be listed." It now reads "krowk's registry couldn't be reached.", as the app's other screens do. A session whose log can't be read for the same reason now says the relay can't be reached and tries again, rather than stopping. The app library's
Account.listSessions,openSession,resumeSessionandOpenedSession.catchUpnow fail withNetworkwhen the registry can't be reached, rate-limits or fails, or its storage can't be reached, rather thanInternal(no version change).krowk sync sessionsandkrowk hostsnow report a registry failure in the registry's own words and exit with its exit code (6 when it can't be reached), rather than assync_failedwith exit code 1.A model switch made from another terminal or device is kept.
When a second terminal's
/model, or a phone or other device synced to the session, moved it to another model between your turns, the TUI that started the session ran its next prompt on the old model, undoing the switch without saying so. Its next prompt now runs on the model the session is on, unless you picked one in that TUI since its last turn.Narrowing the terminal while an answer streams no longer leaves a piece of it behind.
In the inline screen (
tui.screen: inline), a window made narrower just as a frame was on its way to the terminal could leave a half-written line of the answer in your scrollback and blank the finished line under it. The lines that frame printed are now printed again in place after the resize. A line still streaming that is itself wider than the new window can still leave part of it behind.A prompt from your phone or another device reaches a session the host had stopped syncing.
A session synced automatically used to stop syncing after
sync.idleMinuteswith no turn run on the host itself, even while another device had it open. After that it was read-only elsewhere, and a prompt sent from there waited for the next turn typed on the host, which might never come. Now a session stays synced while another device has it open, for up to an hour with nothing run, and the idle window starts again when the last one closes it. Turning automatic sync off, or opting the directory out, still stops it within about a minute. Once it has stopped, opening it on another device syncs it again within a moment, and a prompt sent from there runs on the host and is answered there. This needs the host daemon still running: a krowk window open on the host, orkrowk host enableon an always-on machine (otherwise the daemon exits afterhost.idleMinutes, as before). It also needs the host's connection to the relay to have stayed up since the session stopped: after the host sleeps or changes network, or past 64 such sessions, a prompt waits for the next turn on the host, as before. A session in a directory opted out withsync.excludeor.krowk/no-sync, or on a machine with automatic sync turned off, is never synced this way. While a session waits for a device to open it, the host keeps one quiet connection to the relay for it, sends a heartbeat every 10 seconds, and rereads its own sync settings about once a minute; it asks the registry nothing. With no session waiting, it does none of this.A registry hiccup no longer drops a device off a synced session.
When a device following a session joins it, it first reads the session's log from the registry. If that read failed, even once, the device stopped following and you had to open the session again. Now it says why, rejoins where it left off, and nothing is lost or shown twice. If the registry stays unreachable it waits longer between tries, up to 30 seconds (on the iPhone, on its usual reconnect backoff). It still stops if the session was deleted, if this device's keys can no longer open it, or if the registry serves an older copy of the log than the host wrote. This applies to
krowk sync attach, a synced session open in the TUI, and the iPhone.A subagent with a worktree shows up as soon as it starts.
A subagent run with
isolation: worktreeused to appear in the status bar and the Agents overlay only once its worktree was fully prepared, which can take minutes when it is seeded or runs a setup command. It now appears as soon as the worktree is made.herdr shows krowk working while its agents are.
An agent still at work after its turn ended, such as a Claude Code agent run in the background, left herdr and the window title saying idle. They now say working until every agent the status bar counts has finished.
A device that fails to move onto a direct path picks up where it was.
When a device following a synced session tried a direct path and the host never welcomed it there, it went back to the relay at the live edge, so text streamed during the attempt could be missing until the host logged it. It now rejoins the relay from the last batch it showed, and the relay fills the gap.
Commands an attached device sends again after a reconnect go in the order you typed them.
A device following a synced session sends every command the host hasn't answered yet again once it reconnects. Once it had sent ten or more in a run, those could go out of order (the tenth before the ninth), so two prompts could run swapped. They now go in the order you typed them.
A prompt sent from
krowk sync attachthat the host refuses now says why.If the host's daemon turned the prompt down before its turn started, for example because the repository was trusted only for one
krowk -p --trustrun, the viewer was told the prompt was taken and then heard nothing more. Now itssync.ackedline carries the refusal, and the TUI shows it as an error. Fix the cause on the host and send the prompt again: nothing needs restarting.A session followed from another machine no longer silently misses events when the relay drops a batch.
If the relay dropped a batch just as
krowk sync attachjoined, while it moved the session onto a direct path, or while it was already catching up on an earlier gap, the events in that batch could never reach the screen, and no gap was shown. Now every gap shows, and the viewer asks the host for what it missed, once any catch-up already under way has finished.A flood of connections to the direct listener no longer piles up tailnet lookups (ticket 155).
With the same-user check on (
KROWK_TAILSCALE_SAME_USER=1), the host's direct listener asks tailscaled who is at the far end of each connection. It now asks at most four at a time and one at a time per address, with that address's waiting connections sharing the answer, and keeps up to 1024 addresses' answers, refusals too, for a minute. A connection is refused asnot_same_tailnet_userif it waits past its join deadline, if too many are already waiting (1024 in all, 32 from one address), or if the lookup fails.Signed registry calls now name the device and the registry.
Every call that acts as this machine's device is signed over v2 lines, sent with
X-Krowk-Signature-Version: 2, which add the device's id and the API origin (https://api.krowk.comby default). A signature can no longer be passed off as another device's or checked by a registry it wasn't made for. Nothing changes for you. Thekrowk-devregistrystand-in checks v2 the same way and still takes v1 without the header.Ready for the registry retiring v1 signing.
Once it does, a krowk from before v2 is refused with
signature_version_retiredand a message naming the release to upgrade to. This release signs v2, so nothing changes for you; should it meet that refusal, it shows the registry's message once, whole, as the fix, and the iOS app asks to be updated. Thekrowk-devregistrystand-in retires v1 the same way withKROWK_DEVREGISTRY_V1_UNTIL(an ISO date; v1 is still taken on that UTC day) and names the release fromKROWK_DEVREGISTRY_V2_RELEASE.Two dependency advisories fixed.
ruzstd 0.9.1 fixes a decompression bomb (RUSTSEC-2026-0344), where a tiny zstd input could exhaust memory. krowk decompresses with it when it restores a vintage and when it reads a compressed WebSocket message. rustls 0.23.46 stops its
Debugoutput from printing TLS session secrets (RUSTSEC-2026-0346). krowk never prints those values, so it wasn't exposed.
12 October 20260.14.0
An agent definition can name the MCP servers its subagent may use.
- 19 added
- 20 changed
- 19 fixed
In its
tools:list,mcp__githubgives the subagent the wholegithubserver andmcp__linear__create_issuethat one tool, as in Claude Code;Mcp(github)andMcp(linear:create_issue)work too, andmcp__*gives it every server.A name krowk can't read, such as the pattern
mcp__github__get_*, is left out with a notice. Such a subagent getsmcp_searchandmcp_callfor those alone: its searches find nothing elsewhere, a call to any other server or tool is refused before it runs, and a server it can't use isn't started for it. Your permission rules and hooks still apply on top. These names used to be dropped, so a definition with atools:line got no MCP at all; one without atools:line still reaches every server.A synced session goes direct on your LAN without Tailscale.
With
KROWK_DIRECT_LAN=1, a host whose Tailscale isn't running now listens on its own LAN addresses instead of leaving everything to the relay, and advertises that listener over mDNS. A viewer on the same network moves onto it, shown as "direct over LAN". When the host's LAN address changes, say after a DHCP renewal or switching Wi-Fi, it listens on the new address within a few seconds, and a viewer whose welcome named the old one finds the new one over mDNS. Getting in still takes the registry's ticket and your device's key, exactly as on the relay. The mDNS name is a hash of the session id, so the network learns that a krowk session is hosted at an address, never which one. A viewer only queries mDNS when its host offered a LAN address, and only dials what it finds there once the host's own addresses have failed, so a device answering on someone else's behalf can't pull it off a working path. Container and VM bridges (Docker, libvirt and the like) are not offered. Two machines behind different NATs without Tailscale still go by the relay.krowk tells your terminal whether it is working or waiting on you.
Beside the window title, the TUI now sends an OSC 7501 report (the Program Status Protocol) each time its state changes: working while a turn runs, blocked while an approval or the agent's questions wait on you, idle otherwise. While working or blocked, its message is the prompt as the title shows it (its first line, cut short). Terminals and agent inboxes that read it, such as Rex, can list krowk with its status without guessing from the title's glyphs. Leaving krowk, stopping it with Ctrl-Z, or handing the terminal to a provider's own sign-in under
/connectclears what it reported, and krowk reports it again once it has the terminal back. A terminal that doesn't know the sequence ignores it./connecttells your terminal it is waiting on your sign-in.While its overlay is up, krowk reports blocked on auth (OSC 7501), with the message "Sign in to" the provider you named or picked, and the window title shows the same (inside herdr, krowk shows as blocked). An approval that comes up meanwhile is reported instead until you answer it. Closing or hiding the overlay, whatever came of it, reports what krowk is doing otherwise; a provider's own sign-in that takes the terminal still clears the record until krowk has it back.
The TUI leaves a turn's end on your terminal until you are back.
A terminal or agent inbox that reads OSC 7501 now shows a turn that completed as done, with the prompt's first line, and one that failed as failed, with the first line of what went wrong, rather than idle, so a finished answer you haven't read stands apart from krowk at rest. Your next key press puts it back to idle. An interrupted turn goes straight to idle. The window title and herdr say idle as before.
Each subagent shows on your terminal as its own record.
When a turn fans out to subagents, the TUI reports each one beside krowk itself over OSC 7501, titled by its description: working, waiting on an approval or a question, done or failed. So a terminal that lists records can show the one subagent that waits on you while the others work. A subagent you stop is removed at once, and every subagent's record is removed when the turn ends, before krowk reports it done or failed.
krowk -pleaves a record of how it ended on your terminal.A terminal that reads OSC 7501, the Program Status Protocol (Ghostty, Rex), now shows a
krowk -pyou started in another tab as working while its turn runs, then done, failed (with the first line of what went wrong) or, after Ctrl-C, idle, and keeps done or failed once krowk has exited. The report goes to stderr, and only when stderr is a terminal: a stderr sent to a file or a pipe gets nothing, and stdout is the same as before in every--output-format. Other terminals ignore the sequence.Background commands.
The agent can run a command in the background (
bashwithrun_in_background) and keep working: a dev server, a long test run, a build. It reads the output later withbash_outputand stops the command withkill_bash. When one ends, the agent is told at its next step. A command runs the way it would in the foreground, in the sandbox when there is one. Up to 8 run at once per session, and they stop when krowk's host does:krowk -p, and a TUI not on the host daemon, name the ones they stop on the way out. On the daemon they outlive the krowk that started them, and the daemon stays up until they end. The status line shows[N background]while any run, and a second krowk following the session in the daemon gets the count at once, not at the next change. A command's end, as the agent is told it, is stored as krowk's in your session history, never as a message of yours (and so is the todo reminder).Background subagents.
The agent can start a subagent in the background (
subagentwithrun_in_background) and go on working while it runs. Its summary reaches the agent at its next step. The turn doesn't finish while a background subagent still runs: the agent waits for it, reads what it found, and answers. Interrupting the turn stops them too. They count in[N background].Each subagent reports what it is doing as it goes.
While a subagent runs, krowk sends a
subagent.statusline each time its state changes: the tool it is in and since when, whether it waits on your approval or answer, the tokens it has used, and how it ended. While it waits on you it names no tool, and a tool you allow counts from your answer, not from when it asked. Programs reading--output-format stream-json, and anything attached to krowk's host, get it without working it out from the raw lines; the TUI will show it next. A subagent's start in the session log now also says who ran it (ranBy); older logs read as krowk's own.Groundwork for reading a subagent's transcript in the TUI.
The view that opens a subagent will keep its transcript's lines and scroll through them itself: arrows, PgUp/PgDn, Home/End, following new lines until you scroll up and again once you're back at the bottom. It keeps the last 20,000 lines and says when earlier ones are not shown. Nothing you see changes yet: the main conversation is printed exactly as before.
A device attached to a synced session can stop one of its subagents.
A device following the session with
krowk sync attach(and the apps, later) may now interrupt a subagent of that session by the subagent's id, and only that subagent stops: the rest of the turn goes on. It reaches only the subagents the session's own log started: another session, an id the device made up, or steering a subagent is refused as before. It works whichever directory the subagent's session was started from.The subagent view can take the whole screen and give it back.
In the inline screen it fills the terminal without switching to the alternate screen, so tmux, SSH and phone terminals still get only plain output. Nothing is printed into your scrollback while it is open, and when it closes, or you quit krowk or suspend it with Ctrl-Z while it is open, the conversation and the prompt are where they were. Lines that arrive in the meantime are printed then. While an approval waits on you, the view says so: in the inline screen Esc closes it to show the approval, and in the fullscreen screen you answer it below as usual. In the fullscreen screen it takes the conversation's area and leaves the prompt and status line where they are, and the conversation comes back scrolled where you left it. Resizing the window while it is open redraws it at the new size. One limit in the inline screen: making the window narrower than the view's lines pushes some of its rows into scrollback on terminals that reflow (tmux among them). Enter on a subagent in the Ctrl-G overlay opens it.
Ctrl-G lists every subagent of the session, finished ones too.
The Agents overlay used to show only the subagents still running, so one that had finished could not be found again. It now lists them all: the running ones first, oldest first, then the finished ones, newest first, each saying how it ended and how long it took (
done in 42s,interrupted after 3.1s,failed after 1m5s). A session you resume lists its earlier subagents the same way; one its log left without an answer is listed as interrupted, not as still running. The selection stays on the subagent you picked as others start and finish, andxon a finished one says there is nothing to interrupt. The area above the prompt still shows only the subagents running now, and a subagent line in the conversation now says how long an interrupted or failed one ran, also in a resumed session, where it used to sayrunning 0.0s.A running subagent's line says whether it is busy, quiet or waiting on you.
Above the prompt and in the Ctrl-G overlay, a running subagent's line now adds the tool it is in once that has run 10 seconds (
bash 2m10s),quiet 45sonce nothing has come from it for 30 seconds (text it is still writing counts), and⚠ waiting on youwhile it waits on your approval or answer. The status line's count says how many wait ([3 subagents · 1 waiting]). The times go on counting every second, also between turns while a background subagent runs. Nothing changes colour: a long build and a hung command read the same until you look.Read a subagent's whole transcript from Ctrl-G.
Enter on a subagent in the Agents overlay now opens its transcript, in the inline screen and the fullscreen screen alike: the prompt its parent gave it first, then every tool call and answer, read from its session log. While it runs, what it does next appears as it happens, its text as it streams, and the view stays at the bottom until you scroll up. Only that subagent's lines are shown, never a sibling's. A finished subagent opens the same way, also in a session you resumed. Esc goes back to the overlay with the same subagent selected, and the conversation behind it has kept up with everything that happened meanwhile.
See whether a subagent is stuck, move between subagents and stop one, from inside its transcript.
The top line of a subagent's transcript now shows its description, its agent, what ran it (krowk, Claude Code or Codex) and where it stands, kept up to date: running for how long, the tool it has been in for over 10 s,
quietonce nothing has come from it for 30 s, and⚠ waiting on youwhile it waits on your approval or answer. ← and → open the subagent before or after it in the Ctrl-G list, and Esc goes back to the list with that one selected.xstops this subagent alone: the top line saysstopping…, theninterrupted, while the others and the turn carry on. When it can't be stopped — it has already finished, or what runs it refuses — the bottom line says why, asxin the Ctrl-G list now does too, instead of nothing happening.Read a subagent's transcript from a device attached to a synced session.
In the TUI that
krowk sync attach(orkrowk --resumeof a synced session) opens, Enter on a subagent in Ctrl-G now shows its transcript as it does on the host: its prompt first, then its calls and answers, read from what the session synced, then what it does next as it happens. It used to open empty, saying its history could not be read there, since that device has no log of the subagent.xin it stops the subagent on the host. Text the subagent was in the middle of writing when you attached shows once that answer is finished.krowk sessions vintagelists the vintages the registry keeps.Each week's current vintage, and the ones a newer vintage replaced, which the registry keeps for a while. Give it an archived session's id to see its week, with the vintage it was archived into marked, or an ISO week like
2026-W40.krowk sessions restore <id> --from <vintage>restores the session from the one you name.krowk upgradechecks the release's signature, not only its checksum.Before it trusts
checksums.txt, it now verifies the release's Sigstore signature the way SECURITY.md'scosign verify-blobdoes: signed by krowk's release workflow at the tag being installed, with a certificate from Sigstore's Fulcio and an entry in the Rekor transparency log. Someone who could swap the files on a GitHub release can no longer swap both the archive and its checksum. A release that fails is not installed (exit code 4,unverified_release). The install script does the same withcosignwhen you have it installed, and without it prints the command to check by hand; withKROWK_REQUIRE_SIGNATURE=1it refuses to install without cosign.Inside the sandbox, a failed
git addorgit commitnow says why.The sandbox keeps
.gitread-only by design, so git can't stage, commit or switch branches from inside it. Until now the agent saw only "Read-only file system" and often tried again another way. It is now told this is on purpose: leave the changes in the working tree and ask you to commit them.Releases are built with one exact Rust compiler, 1.97.1.
CI, the release and
mise.tomlall pin it, since two builds of one tag only match byte for byte on the same compiler.The running turn's label is in your terminal's text colour.
"Thinking…", "Responding…", "Running …" and the rest now show in the normal foreground (white on a dark theme). Only the spinner keeps the accent colour.
A loaded skill looks like a tool call.
"Loaded the X skill" in grey italics is now
◆ Skill X, as when the agent loads one, with a blank line above it.Enter in the Agents overlay opens the subagent's transcript instead of expanding its last line.
Ctrl-G's Enter used to add one line under the selected subagent saying what it did last. The transcript shows that and everything before it, so the one-line expansion is gone.
A synced session keeps playing when a newer host sends something unknown.
A device following a session skips a line it does not understand and shows the rest, where it used to drop the whole batch.
A message you send while a command or subagents run reaches the agent within seconds.
A long build or test run, or a batch of subagents, used to hold your message until the slowest finished, sometimes for minutes. Now, once it has run two seconds with your message waiting, krowk moves it to the background without stopping it. The agent reads your message at once, with what the command printed so far or what the subagents already finished. It can check on the command later with
bash_output, and each subagent still running reports back when it's done. Anything that finishes within two seconds just finishes. The two seconds count from when the agent asked, so a build that waited for a build slot moves as soon as it starts, and once one command has moved, the next ones the agent asked for in the same step move after a moment rather than two seconds.Steering reaches a Claude Code turn while it runs.
A message you send while Claude Code works used to wait until its whole turn ended, then come back into your prompt. Now it goes to Claude Code at once, and the model reads it at its next step, usually as soon as the running tool call returns. It appears in the conversation where the model read it. One sent as the model writes its last answer is read right after, in the same turn. Interrupting still gives back what Claude Code never read. If Claude Code hasn't picked a message up ten seconds after it finished, krowk cancels it and gives it back, so it is never both read and returned to your prompt.
Groundwork for watching and stopping each Claude Code agent from the TUI.
Seeing what each agent Claude Code starts is doing, and stopping one while the others go on, is on its way. It is built against a recording of a real Claude Code run: each agent's prompt and messages, its progress, the approvals it asks for, and one agent stopped alone. How krowk runs Claude Code today is unchanged.
krowk now follows what each Claude Code agent says and does.
Claude Code is asked to pass on each agent's own words as well as its tool calls, and krowk sorts them into one transcript per agent: what it was asked first, then its messages, tool calls and results in order, then how it ended. A sub-agent an agent starts lands in that agent's transcript. Nothing shows these transcripts yet: the next change writes them to each agent's own session. Usage and cost are counted exactly as before, each call once.
Claude Code's agents are subagents of the session, like krowk's own.
Each agent Claude Code starts during a turn gets its own session log, linked to yours: what it was asked first, then its messages, tool calls and results, then how it ended. It shows as a subagent row in the TUI, Ctrl-G lists it, and Enter opens its transcript, live.
[N subagents]counts each agent once. Its log goes wherever the session goes: synced, moved to another machine, and back afterkrowk sessions rebuild. Its spend stays on the session, counted once. Stopping one agent alone, and agents that keep running between turns, come next.Claude Code's background agents are followed after their turn ends.
An agent Claude Code runs in the background keeps working once its turn is over, and krowk now writes what it does meanwhile to its session log as it happens. Its row stays running in the TUI,
[N subagents]counts it, and its transcript fills in live with no turn running, also in another krowk that resumes the session meanwhile, on a device following it, and in what sync uploads. It ends when the agent does, so the turn Claude Code then begins to answer it finds it finished. It used to show as done the moment it was launched. If Claude Code is let go of while the agent runs (the session moved to another account, or krowk quit), the agent's log ends as interrupted and says why. One whose process went without a word (killed, or the machine restarted) shows as interrupted when you resume the session, rather than running for ever.A Claude Code agent's row says what it is doing, and when it waits on you.
Like krowk's own subagents, its row now shows the tool it has been in for a while (
bash 12s) and⚠ waiting on youwhen it asks for an approval, and its tokens rise as Claude Code counts them instead of staying at 0. An approval an agent asks for now says which subagent asks, instead of passing for the conversation's own; answering it clears the wait and the agent goes on. A device following a synced session can answer a subagent's approval too, as it answers the session's own; it used to be told the approval is answered on the host. If nobody answers one from a turn started on that device, it is denied after five minutes, as the session's own are.Stop one Claude Code agent and let the rest carry on.
xon a Claude Code agent, in its transcript or in the Ctrl-G list, now stops that agent alone. It used to say krowk couldn't. Claude Code is asked to stop it: its row readsstopping…, theninterrupted, and the other agents and the turn carry on. It still readsinterruptedwhen the session is resumed later or opened on a device that attaches to it, rather thanfailed. This also works for an agent waiting on your approval (its question is taken back), for an agent still running in the background after its turn ended, and from a device following a synced session. If Claude Code refuses, or the stop can't reach it, the bottom line says why and the agent keeps running.Codex's agents are subagents of the session too.
Each agent Codex spawns during a turn gets its own session log, linked to yours: what it was asked first, then its messages, tool calls and results, then how it ended. It shows as a subagent row in the TUI with the tool it is in and its tokens,
[N subagents]counts it, Ctrl-G lists it and Enter opens its transcript, live. An agent it starts in turn lands in that agent's transcript, not as a row of its own. Its spend stays on the session, counted once, as before. Resuming the session shows each agent as it ended. krowk only reads Codex during a turn, so it stops following an agent still running when the turn ends: its row and log say so (marked interrupted), though Codex may still be running it. What it does after that isn't shown, even if a later turn talks to it again, but its spend is still counted. This is built from Codex's published protocol, not checked against a live Codex yet, so tell us if a Codex agent shows up wrong.Answer a Codex agent's approvals as its own, and stop one Codex agent alone.
When an agent Codex runs asks to run a command or change files, or asks you a question, the request now shows as that agent's: its row and transcript read
⚠ waiting on you, and your answer goes back to that agent. It used to show as the session's own.xon a Codex agent, in its transcript or in the Ctrl-G list, now stops that agent alone, as it does for Claude Code's: Codex is asked to interrupt that agent's turn, its row readsstopping…, theninterrupted, and the other agents and the turn carry on. From another client or a device following the session, it also works while an agent's approval waits on you, that agent's own included (its question is taken back); in the TUI the approval prompt takes your keys until you answer it. If Codex refuses, or hasn't said yet which turn the agent runs, the bottom line says why and the agent keeps running. Like the rest of krowk's Codex agents, this is checked against Codex's published protocol, not against a live Codex.The TUI is fullscreen, and the prompt stays at the bottom.
krowk now takes the terminal's alternate screen. The prompt and status line stay on the bottom rows while you scroll the conversation with the mouse wheel or PgUp/PgDn, so you can read back without losing the prompt. Sending a prompt jumps back to the bottom, and a resize rewraps the conversation. Dragging over the conversation selects it and copies it when you let go, a wrapped line as one line. When you leave, the conversation is printed into your normal scrollback as before. Inside Zellij krowk stays inline. To keep the old inline mode everywhere, which draws at the bottom of the normal screen and streams into scrollback, choose Screen: inline in
/settings, or set"tui": {"screen": "inline"}in~/.krowk/config.json("fullscreen"forces fullscreen, and"auto"is the default). The choice applies the next time krowk starts.The prompt grows to half the terminal, then scrolls.
It used to stop at eight rows whatever the terminal's size. Now its box takes up to half the terminal's height, as Grok Build's does, and scrolls within itself past that, moving only when the caret would leave the rows shown. ↑ and ↓ move through the rows as shown, so a long paragraph the terminal wraps is walked row by row; from the first or last row they still bring back earlier prompts.
An upgrade reaches the host daemon by itself.
The daemon that runs your sessions used to stay on the old version until you ran
krowk host stop. Now a newerkrowkreplaces an older daemon when it starts, or before your next prompt, once nothing runs there: no turn, no background agent, and no turn a backend started by itself. Other openkrowks reconnect to the new one. A newer daemon is never replaced by an olderkrowk, and a daemon run as a service (krowk host enable) is left for you to restart.An archived session is restored even after its week's vintage lost it.
If another machine replaced a week's vintage with one that dropped sessions, restoring one of them used to fail, saying the vintage did not hold it. krowk now reads the vintage the session was archived into first, then the week's current one, then the replaced ones the registry still keeps. A copy older than the stub on this machine records (fewer turns, or last active earlier) is never restored on its own, so a lost or rolled-back vintage can't quietly undo what you said since; name it with
krowk sessions restore <id> --from <vintage>to restore it anyway. When the session comes from any vintage but the one it was archived into, krowk warns and says why it skipped each of the others, including one whose digest didn't match.krowk sessions showshows an archived session on a machine without sync.It used to fail, because the session can't be restored there. It now shows what this machine keeps of it (title, first prompt, models, turns and cost) and says the full session needs sync set up. The same goes when the registry can't be reached. Any other failure to restore, such as a vintage that doesn't check out, still fails.
Both session pickers list and restore archived sessions.
/sessionsin the TUI now lists the archived sessions started in the directory, marked "archived", andkrowk --resumemarks them too. Picking one restores it from its vintage first, askrowk --resume <id>does. In the TUI the restore runs in the background, so typing and scrolling keep working. Esc, Ctrl-C on an empty prompt,/newor picking another session stops waiting for it: it finishes in the background, and the TUI says when it's back without switching to it. If it can't be restored, the TUI says why and keeps the session you were in. Two restores of the same session, from the TUI orkrowk sessions restorein another terminal, take turns rather than writing over each other; the second says it is waiting. Quitting mid-restore never leaves a session half back: the nextkrowk sessions showor resume of it finishes the job.krowk no longer outlives a closed terminal.
Closing the window or losing the SSH link while a turn ran could leave krowk running with nothing to show it on, ignoring
killand using a whole CPU core, untilkill -9. The library krowk reads keys with loops for good on a terminal that has gone, and once krowk waited on it, it stopped noticing anything. krowk now watches the terminal itself and leaves as soon as it goes. A turn running in the host daemon runs on there, forkrowk --resumeto pick up; one running in krowk itself is left as a second Ctrl-C leaves it, and the session is still saved. On SIGHUP or SIGTERM, a turn in krowk itself that hasn't ended 20 seconds after it was interrupted is let go the same way. And should krowk ever get stuck again, a SIGHUP or SIGTERM it doesn't act on within five seconds ends it, with the terminal put back as far as it still can be. A krowk that does act on it stops exactly as before.The host daemon no longer keeps the terminal that started it open.
The daemon
krowkstarts in the background could inherit a terminal, pipe or file its starter had open without close-on-exec, and kept it for its whole life: a terminal tab that wouldn't finish closing, or a script waiting on a pipe that never ended. It now starts with nothing open but its log and/dev/null.krowk's own agent reads your MCP setup as Claude Code does.
A repository's
.mcp.jsonservers now follow Claude Code'senabledMcpjsonServers,disabledMcpjsonServersandenableAllProjectMcpServers, from Claude Code's settings, the project's.claude/settings.jsonand.claude/settings.local.json, and its entry in~/.claude.json: a disabled server stays off, and once an enabled list is set only the servers it names start. Trust is still asked first. The servers you added for a project withclaude mcp addin a subdirectory of a repository are found again, since krowk now looks the project up in~/.claude.jsonby the directory you started in before the repository's root.An MCP server that writes junk can no longer hold a call for ten minutes.
A stdio server that writes line after line that isn't JSON-RPC while krowk waits for its answer is stopped after 1,000 lines or 1 MiB of it, and the call fails naming the server. A banner, a few log lines and its notifications still pass.
A server that krowk leaves out is named.
An MCP server whose name a rule couldn't name one way (
a__b) or whose config doesn't parse is skipped with a notice saying which and why, instead of silently. Andkrowk -pin a repository you haven't trusted now says that its.mcp.jsonservers won't start, and how to trust it, as the TUI does.A
.claude/settings.jsonthat is a FIFO no longer hangs krowk.It is now named as not a plain file, as a
.mcp.jsonalready was, and a settings file over 4 MiB is refused the same way.krowk worktrees removeno longer needs--forceonce a worktree's branch is merged.A commit already on
origin's default branch, or with the same change there (a rebased or rebase-merged PR), no longer counts as ahead, sokrowk worktrees listand a kept worktree's report stop showing merged work as unsaved. Squash-merged branches still read as ahead. Nothing is fetched: rungit fetchfirst if origin moved.A synced session no longer fails to start syncing now and then with "signature_replayed".
Two reads of the same session signed as this machine in the same millisecond carry the same signature, so the registry refused the second as a replay. That happens with two krowk commands on one machine at once, or two parts of one. The sync host then stopped with "the registry did not say whether it holds session …". Within one krowk process each request now has a millisecond of its own, and a read refused this way retries after a short random pause, so two processes don't collide again.
"Copied 2 lines" goes away by itself
after a few seconds, instead of staying in the status bar until the next key.
What you said is on a band across the width again
, instead of a background behind each row's text.
A prompt with images is no longer sent to an older host daemon that drops them.
A daemon from before 0.13.0 sent the model
[Image #N]and no image. Now the prompt comes back to the editor, images and all, to send again once the daemon is replaced."copied … (N lines)" shows as soon as you copy.
After Ctrl-Y picked something to copy, the confirmation only appeared after the next key.
A command in the sandbox can no longer leave a git repository behind.
A sandboxed command could keep a repository it made by locking its parent directory (
chmod 000), making it read-only, or creating a bare repository with no.git, and its config would then run the next time git ran there. krowk now finds and removes all of these after the call, restoring access to what the call itself locked. Directories you locked yourself are left alone. If something still can't be removed, krowk says so.Archiving sessions works on machines set up with
krowk sync initorjoin.krowk sessions archiveandrestoreneeded the old account key, which nothing creates any more, so they said "not set up" and pointed at commands that no longer exist. Vintages are now sealed under your user key, like synced sessions, and keep opening after a device is removed and the key rotates. A vintage sealed the old way is refused by name.A resumed or attached session shows each finished subagent as it ended.
When you resumed a session (
krowk --resume) or opened it on a device that attaches to it (krowk sync attach), its subagents' rows were worked out from the session's own log alone. Subagents that ran side by side all read the time the last of them took, so one you stopped after a minute readinterrupted after 1m40s, and no row showed its tokens. Each row now reads what it read live: how the subagent ended, how long it took and its tokens, from the end of that subagent's own log. A resume reads only the end of each (the newest 256, and the newest 256 still unfinished in the session's log), never a whole log. Claude Code and Codex agents' tokens are kept on that line from now on, so sessions recorded before this still show none for them.A registry that stops answering costs 30 seconds, not five minutes.
A call to the registry or to storage that receives nothing for 30 seconds is now given up. Before, it hung for five minutes, so
krowk sync attachor a host taking a session up looked stuck. A call that is safe to repeat is tried again;sync attachthen carries on. One that isn't, like taking a session's lease, fails with "the registry stopped answering". A large upload or download that keeps moving is not cut for being slow; only the five-minute limit on a whole call still applies.
7 October 20260.13.0
Move a live session to another machine:
krowk sync take SESSION.- 22 added
- 11 changed
- 13 fixed
Run it from a clone of the session's repository on the machine you want to continue on.
krowk first checks the session can run there: its instance connected under the same name and signed in, and for Claude Code the repository trusted. If anything is missing it says how to fix it, and the session stays where it is. Otherwise the host saves a checkpoint, sends the commit it was on, its uncommitted changes and the untracked files the session made, end-to-end encrypted, and hands over its lease. The work lands in a fresh worktree on the new machine, which hosts the session from there. A Claude Code session resumes its own conversation. Anyone attached stays attached and sees the new host take over. Dependencies and build output are not copied; they are rebuilt where the session now runs. Moving a session needs a paid workspace, and waits for a running turn to end.
A subagent can work in a git worktree of its own.
Give the
subagenttoolisolation: "worktree", or putisolation: worktreein an agent definition's frontmatter as in Claude Code's agent files (the call's value wins), and the subagent runs in a new worktree of your repository, on a branchkrowk/<8 hex>, under~/.local/share/krowk/worktrees(or$XDG_DATA_HOME/krowk/worktrees). Subagents started together no longer overwrite each other's files. The worktree starts from your files as they are, uncommitted changes included: modified, new and deleted files, and what you staged (ignored files only if you force-added them, nested repositories never), are put in one commit,krowk: working state for <hex>, on top of yourHEAD, and the branch starts there; with nothing uncommitted it starts atHEAD. Your index,HEADand files are not touched. When it finishes having changed nothing, the worktree and its branch are removed. When it changed something, its changes are applied to your working tree (see below). Outside a git repository the call fails withisolation: worktree needs a git repository. Without the field, or with"none", a subagent runs in your directory as before. Your repository's git hooks do not run when the worktree is made.A subagent's work in its worktree comes back to your working tree.
When a subagent with
isolation: "worktree"finishes having changed something, krowk applies its commits and uncommitted changes, new, deleted and binary files included, to the working tree the parent agent works in, as uncommitted changes: your index andHEADare not touched. The worktree and its branch are then removed, its final state kept asrefs/krowk/snapshots/<hex>for 30 days, and the summary the parent gets ends withChanges applied to your working tree: <files>. Subagents finishing at once apply one after another. When a file doesn't apply cleanly (you, or a sibling, changed the same lines), nothing of it is applied, the worktree and branch are kept, and the summary ends withChanges not applied (conflicts in <files>). Worktree: <path>, branch krowk/<hex>. A subagent that changed a submodule is kept the same way, as krowk doesn't apply submodule changes. So is one that changed files inside a.git,.claude,.codexor.krowkdirectory, which the file tools only change with your say: its summary ends withChanges not applied (they touch protected files: <files>), the worktree and branch, and thekrowk worktrees apply <hex>you run to apply them.krowk worktrees apply <hex|path> [--to <dir>]does the same for any kept worktree, protected files included, into your repository's main checkout by default: it is how you bring a--worktreesession's work home. It refuses (exit 4) while that session is still running, or when a file conflicts, and refuses (exit 1) a--tothat is a checkout of another repository.A subagent's worktree has your submodules checked out.
Before the subagent starts, krowk initialises every submodule of its worktree, submodules inside submodules too, at the commits the worktree records. One you have initialised in your main checkout is copied from there, with no download; its
originstays its own URL. One you haven't is cloned from its URL, with no terminal to prompt on and a 2-minute limit. A submodule that can't be initialised stays empty, and the subagent's first prompt says which and what git said. URLs from.gitmodulesthat would run a command (ext::) or copy a repository from a local path are refused. Your repository's config is not changed, so a submodule you deinitialised stays that way in your checkout. The agent can edit files in a submodule but not commit in it. An edit or a new file in any submodule, at any depth, keeps the worktree; an unchanged one is removed with its submodules' git data.A subagent's worktree starts with your build output.
On a file system that can clone files without copying their blocks (btrfs, XFS with reflink, APFS on macOS), krowk clones your main checkout's
targetandnode_modulesinto a new worktree before the subagent starts, so its firstcargo buildfinds nothing to compile and the clone takes almost no disk.targetis skipped while a build is running in it, andnode_modulesunless the worktree's lockfile (package-lock.json,pnpm-lock.yaml,yarn.lock,bun.lockorbun.lockb) is the same as your checkout's. Anywhere else, and on Windows, nothing is copied. Choose the directories withworktrees.seedinconfig.json, for example{"worktrees": {"seed": ["target", ".venv"]}};[]turns it off. What was skipped and why is inseed.log, beside the repository's worktrees.Worktrees appear almost instantly on btrfs.
When krowk's worktrees directory is on btrfs, on the same file system as your repository, and the
btrfsprogram is installed, a new worktree for a subagent or akrowk --worktreesession is a snapshot of a copy of your source tree that krowk keeps up to date, with your build output already in it: about a tenth of a second whatever the repository's size, and its firstcargo buildcompiles only what differs from your last build. Twenty agents starting at once in one repository each get theirs in under half a second, rather than waiting on each other. Anywhere else, or if a snapshot fails, the worktree is checked out as before.A subagent's worktree gets the ignored files you list in
.worktreeinclude.As in Claude Code, put a
.worktreeincludeat the top of your main checkout, in.gitignoresyntax (.env*,config/local.yml), and every file it matches that git ignores is copied into a new worktree before the subagent starts, with its mode. They are copies, never links, so the agent can't change your real.env; on a file system that clones files they cost no disk. Tracked files are never copied over the worktree's, nothing is read through a symlink or written over a file the worktree has, and theworktrees.seeddirectories are left to seeding. A file that can't be copied is skipped and noted inseed.log. Without a.worktreeinclude, nothing is copied.A subagent's worktree can run your project's setup command first.
Set
worktrees.setupto a shell command (npm ci, a code generator, a database script) and krowk runs it in each new worktree before the subagent starts, so the agent doesn't burn turns finding out the project isn't installed. Put it in~/.krowk/config.jsonfor yourself, or in a repository's.krowk/config.json, where it runs only once you have trusted the repository (the same question that turns its hooks on); a trusted repository's command is the one that runs. It runs in the sandbox: network on, the worktree writable, your main checkout and your home not, so a cloned repository's install can't touch anything else. On a machine with no sandbox it runs only for a trusted repository. It getsKROWK_PROJECT_ROOT(your main checkout),KROWK_WORKTREE_PATHandKROWK_PORT_BASE: each live worktree holds its own ten ports from 20000 up (20000, 20010, …), and the subagent's own commands seeKROWK_PORT_BASEtoo, so dev servers in two worktrees don't collide. A build or install command waits for a build slot as the agent's would. Its output is inkrowk-setup.login the worktree's git directory. When it fails, or runs pastworktrees.setupTimeout(600 seconds by default), the subagent starts anyway and its first prompt says so, with the exit code or "timed out" and the last 50 lines of output.krowk worktreeslists, removes and prunes the worktrees krowk kept.krowk worktreesshows every one, across repositories: its path, repository, branch, base commit, commits ahead of the base, whether it has uncommitted changes, the session that made it, its age, and whether that session is still running (--jsonfor scripts).krowk worktrees remove <hex|path>removes one, and keeps its branch. It refuses while a running session uses it, and refuses one with uncommitted changes or commits ahead of its base unless you add--force. A forced removal first saves the uncommitted changes, new files included, asrefs/krowk/snapshots/<hex>, and aHEADits branch doesn't hold (the agent detached it, or switched branch, and committed) asrefs/krowk/snapshots/<hex>-head, and prints the commands that bring the worktree back. Ignored files, such as build output and the copies.worktreeincludemade, don't count as changes and are deleted with it.krowk worktrees pruneclears git's record of krowk's worktrees whose directory you deleted (only krowk's: your own worktrees' records are left alone, even when their drive isn't mounted), deletes worktree directories git no longer knows when their files match their branch (one with changes is left in place and named), and deletes snapshots older than 30 days. A repository that has moved, or whose drive isn't mounted, is skipped and named. Prune also runs by itself in the background, at most once a day, when a session starts. Worktrees made by an earlier krowk are listed too, with their base shown as unknown, so removing one of them needs--force.krowk --worktreeandkrowk -p --worktreestart a session in a git worktree of its own.Sessions you start in separate terminals no longer share one checkout. krowk makes the worktree from the repository you are in, your uncommitted changes included, on a branch
krowk/<8 hex>, readies it as it does a subagent's (submodules, build output,.worktreeinclude,worktrees.setup), and starts the session there; the TUI's header shows the branch, and the agent's commands getKROWK_PORT_BASE. When the session ends having changed nothing, the worktree and its branch are removed. When it changed something, both are kept and krowk saysWorktree kept: <path> (branch krowk/<hex>)on stderr, with thekrowk worktrees apply <hex>that brings its changes into your checkout;-p --output-format jsonorstream-jsonnames it in the result instead, asworktree: {path, branch, commits, uncommittedChanges}. Resuming such a session runs it in its worktree again; if that directory is gone, krowk says so (exit 2) and points tokrowk worktrees. Outside a git repository--worktreeis refused (exit 1). It can't be combined with--resume, or with-p --daemon: the session runs in krowk's own process, which holds the worktree and finishes it on the way out, and the TUI does the same rather than using the host daemon. A worktree is trusted as the repository it was made from.krowk sessions --worktree <path>filters the listing as before.An agent can commit inside a worktree krowk made for it.
When a sandboxed session runs in a worktree under
~/.local/share/krowk/worktrees(or$XDG_DATA_HOME/krowk/worktrees) on akrowk/…branch,git addandgit commitnow work there, and the commit shows up in your main checkout under your own name and email: krowk readsuser.nameanduser.emailfor that worktree and passes them in, without exposing your.gitconfig. The agent can move only its ownkrowk/…branches. Your other branches, tags, replace refs andpacked-refsstay read-only, and so do the repository's config, hooks andHEAD, and your other worktrees. Sogit tagfails in there. A symlink the agent leaves among those branches, their reflogs or the worktree's git files is removed after the command, and the command fails and says so. Every other repository, your own linked worktrees included, keeps.gitread-only as before.Builds and test runs take turns across every krowk on the machine.
Agents spend most of their time waiting on the model, so one machine can run many of them, until several start
cargo testornpm installat once and it runs out of memory. Now, when the agent's bash command runs a build or test program (cargo,make,npm,pnpm,yarn,go,pytest,gradle,mvn,dotnet,swiftand the like, wherever the command line itself runs one, but not inside a script it calls or abash -c "…"), it first waits for one of a fixed number of build slots that every krowk session and subagent on the machine shares, and holds it until the command ends. Other commands run straight away. While it waits, the command showswaiting for a build slot (N in use), and its result says how long it waited when that was over a second. Interrupting the turn stops the wait. A krowk that is killed or crashes frees its slot at once. A build the command starts in the background (cargo build &) is not held to a slot once the command returns. There are a quarter as many slots as cores by default (at least one); set"builds": {"slots": 2}in~/.krowk/config.jsonto change that. A build also getsCARGO_BUILD_JOBSset to the cores divided by the slots, so even a build running alone gets only that share; setCARGO_BUILD_JOBSyourself, or raisebuilds.slots, to change it. Your own value is passed on in the sandbox too. This applies to krowk's own agent; Claude Code and Codex run their own shells.Agents take turns across every krowk on the machine, and worktrees wait for disk.
subagents.maxParallellimits one turn, so ten sessions each starting four subagents started forty at once. Now every subagent, and every--worktreesession, holds one of a fixed number of agent slots that every krowk on the machine shares, for as long as it runs. When all are held, a subagent showswaiting for an agent slot (N in use)and starts when one frees up; interrupting the turn stops the wait. A--worktreesession prints the same line before it starts, and Ctrl-C stops it. A krowk that is killed or crashes frees its slot at once. Sessions without--worktreenever wait, and a--worktreesession's subagents run on its slot rather than taking more, so a session holding the last slot never waits on its own subagents. The default is twice your cores or twice your memory in GiB, whichever is fewer, between 4 and 64; set"subagents": {"maxHost": 8}in~/.krowk/config.jsonto change it (0 is refused). Before making a worktree, krowk also checks that its disk will have 4 GiB free beyond twice the size the worktree is expected to be (the last one krowk made of that repository, else your tracked files). When it would not, nothing is made, and the session or subagent fails withnot enough disk for a worktree: <free> free, <needed> needed, pointing atkrowk worktrees pruneandkrowk worktrees remove.The README covers worktrees, and
scripts/bench-worktreesmeasures them.The README's new Worktrees section sums up
isolation, applying back,--worktree,.worktreeinclude,worktrees.setup,builds.slots,subagents.maxHostandkrowk worktrees. In a checkout of krowk,scripts/bench-worktreesmakes 20 worktrees of a scratch clone at once, runscargo checkin all of them behind the build slots, applies three subagents' changes back (one a conflict), removes everything and prints creation p50/p95, check time, peak memory, slot wait and leftovers. It calls no model.A host says why a viewer stays on the relay.
When a viewer offered the direct path never reaches it — a firewall on the host, or a tailnet access policy that doesn't allow the port, drops the connection before krowk sees it —
krowk sync hostnow says so once per device, 30 seconds after the viewer joined:krowk: session …: device 0123abcd stays on the relay — nothing it sent reached this machine's direct addresses (100.64.0.1:51915, …); if it is on this tailnet, a firewall here or the tailnet's access policy may be refusing the port. A viewer that reached the direct path once and fell back is never named. The session goes on by the relay, as before.A bare krowk link no longer lands in a pull request or an issue.
On GitHub a bare
krowk.com/a/…link doesn't unfurl. It shows up as a blue link that says nothing about the file. When an agent running in krowk callsgh pr create|edit|commentorgh issue create|edit|commentwith one in the body, krowk refuses that one call and tells the agent to paste the krowk block instead, and where to get it (paste.markdownfromkrowk uploads show <link> --json). The agent rewrites the body and posts again without you stepping in. The body is checked whether it is given inline, through a heredoc, or with--body-filewhen the file can be read. A card link inside a krowk block is fine, and nothing else is touched: otherghcommands, bodies without a card link, and posts to Slack or Basecamp, where a bare link unfurls. This isn't a permission rule, so it holds in every mode,bypassPermissionsandunhingedincluded, on krowk's own models, Claude Code and Codex alike. On Codex, krowk passes the check as a hook, and the first time, has Codex record it as trusted in itsconfig.toml(ahooks.stateentry for that one command), because Codex runs only trusted hooks. krowk's Codex accounts share your~/.codex/config.toml, so that is where the entry lands. On Windows, Codex sessions don't have the check yet. A code span or fenced block that quotes a card link is left alone.The agent can ask you which way to go.
When a choice is yours, the agent asks up to four questions with options to pick from, and you answer over the prompt: a number or Enter picks, Space toggles where several may be picked, Tab moves between questions, and typing gives your own answer instead. Esc declines and the agent carries on with its best judgment. The native agent gets an
ask_usertool for this. Claude Code'sAskUserQuestionand Codex's questions, which krowk used to refuse, now reach you the same way, in plan mode too. Questions are only asked where someone can answer:krowk -pdoesn't offer the tool, and a backend that asks anyway is told to decide and say what it assumed. For protocol clients, anapproval.requestedframe can carryquestions, andapproveanswers them withanswers.Paste a screenshot into the prompt.
Ctrl-V (or Alt-V, where the terminal keeps Ctrl-V for itself) puts the clipboard's image in the prompt as
[Image #1], and the model sees it with the text. Dragging an image file onto the terminal, or pasting its path, does the same, several at once included. A file is read the moment it's dropped, so a macOS screenshot dragged from its thumbnail still works.[Image #N]is one unit to the caret: Backspace takes it whole. Typing goes on while a large screenshot is read, and the image lands where you pasted it. PNG, JPEG, GIF and WebP are taken, scaled down to 2,000 pixels a side and under the providers' size limits as they're pasted, and kept beside the session's log in~/.krowk/sessions/<id>/images/. Every provider and backend gets them (Anthropic, OpenAI, xAI and other Chat Completions servers, Claude Code and Codex), and a model the catalog says can't read images is refused with the prompt handed back. The clipboard is read withwl-pasteorxclipon Linux (krowk names the one to install if neither is there),osascripton macOS, and PowerShell on Windows and under WSL. Ctrl-V with only text on the clipboard pastes the text.On Linux,
krowk -pnow makes edits without asking, inside a sandbox.A
-prun with no--permission-modeand nodefaultModeused to refuse every edit; where bubblewrap works it now runs inacceptEdits, with its commands inside theworkspacesandbox below, and inside a container inacceptEditswith the file tools held to the same fences. Pass--permission-mode defaultto keep the old behaviour.--sandbox workspace|read-only|strict|offputs thebashtool inside bubblewrap. The sandbox allows rather than lists what it hides: your home is replaced by an empty one, and only the workspace and the Rust toolchain's homes come back, so nothing else in it —~/.ssh,.git-credentials,.netrc, agents' logins,~/Documents— is in reach, and programs installed under the home (mise's shims,~/.local/bin) are not on the sandbox'sPATH.workspacewrites the working directory and its added directories and keeps the network;read-onlywrites nothing and has no network, not even DNS;strictwrites the workspace and has no network. Every.gitin the workspace, nested repositories and gitdir files included, and every hooks directory a repository'score.hooksPathnames there — found by searching the workspace once a turn and re-checking only what changed — stays read-only, as do.claude,.codexand.krowk; a.gita command creates is removed after the call. The file tools hold the same lines under every permission mode, and open exactly the path they checked, so a symlink swapped in meanwhile fails the call. A sandboxed command gets onlyPATH,TERM, the locale,USER, a privateHOMEandTMPDIR— no provider key, token or agent socket — no inherited file descriptor, and a session of its own.RUSTUP_HOMEandCARGO_HOMEare bound read-only with cargo'scredentials.tomlhidden, socargo buildof what is already fetched works and fetching a new dependency does not.PreToolUsehooks are your own and run outside the sandbox. A sandbox that cannot be enforced refuses the run with a fix instead of running unsandboxed: bubblewrap missing or blocked, a workspace too large to search for repositories, a Claude Code or Codex backend,--daemon, macOS (Seatbelt is not built yet) and Windows.krowk's own agent uses your MCP servers.
It reads the
mcpServersyou set up for Claude Code (~/.claude.json, itssettings.json), those in~/.krowk/config.json, and a repository's.mcp.jsononce you trust the repository, since a.mcp.jsonnames programs to run. Stdio and streamable-HTTP servers work. The model gets two tools,mcp_searchandmcp_call, instead of every server's tools, so fifty MCP tools cost each turn about 140 tokens. No server starts until the model searches.Mcp(server:tool)permission rules allow, ask about or deny each call, and search leaves out tools a deny rule covers. A repository's servers are asked about again when its.mcp.jsonchanges after you trusted it, and no server inherits your provider keys unless its config sets them.Idle sessions move off the machine as weekly vintages.
krowk sessions archivetakes every native session idle for more than 14 days (--older-than DAYS, orKROWK_ARCHIVE_AFTER_DAYS) and stores each ISO week's sessions in the registry as one vintage: zstd-compressed JSONL, sealed under the account key, so the registry only ever holds ciphertext. An existing vintage for the week is merged, never overwritten.--weeklyruns only when a week has passed since the last run, so it can be put on a schedule. An archived session keeps its title, summary, directory, dates, models and cost on the machine, sokrowk sessionsstill lists it, andkrowk sessions showorkrowk -p --resumefetches its week and restores it into krowk.db first.krowk sessions restore <id>does that on its own.krowk sessions pin <id>keeps a session from ever being archived, andunpinundoes it. It needskrowk syncset up on the machine.The Claude Code plugin brings the MCP server.
Installing
krowk@krowkin Claude Code now adds the krowk MCP server (npx -y @krowk/mcp) beside the skill, so publishing works without a separateclaude mcp add; if you addedkrowk-mcpthat way, runclaude mcp remove krowkin the project where you added it, or the model sees every krowk tool twice there. When krowk drives Claude Code as a backend the plugin's server is not started, and krowk's own MCP server is the only one. The plugin's version now moves with every release: 0.12.0 and 0.12.1 shipped without moving it, so Claude Code offered no update.krowk's own git calls now run with repository hooks, fsmonitor and commit signing turned off.
The git krowk runs itself — the branch on the status line, the commit a synced session is at, the files a search lists — looks for hooks in an empty directory in krowk's home (
~/.krowk/no-hooks), runs nocore.fsmonitorcommand and signs nothing. Filters such as git-lfs still run, as a checkout needs them. Git the agent runs through its bash tool is unchanged.Uploads are now
krowk artifacts, matching the API and the JSON.krowk artifacts create | list | show | attach | delete | claimis the full set, named as/v1/artifactsanddata.artifactsalready were.krowk pushis the short form ofartifacts create, andkrowk claimofartifacts claim; both stay and work as before.krowk uploads …still runs every command it did, andkrowk help uploadsshows the artifacts help, but help no longer lists it. Breadcrumbs and error fixes now namekrowk artifacts …, so an agent that copies them gets the new spelling.krowk's messages read like sentences, and failures say what to try.
An error leads with what went wrong in bold, puts the command that fixes it on a
Try:line of its own, and ends with its code. It no longer drops the alternative a fix offers ("…, or upload anonymously"). A mistyped command, subcommand, flag or help topic gets a "did you mean". Flag errors are plain English (unknown flag --nope,--limit takes a whole number) rather than Go'sflag provided but not defined: -nope, and point at the command's own help. Barekrowk runsnames the subcommands it takes instead of callingrunsunknown. Successes, warnings (a yellow!), labels and empty lists are capitalised, andkrowk doctorshows a checklist instead of raw JSON. Colour followsNO_COLORandTERM=dumb, and an error is coloured only when stderr is a terminal. The JSON envelopes are unchanged except for thefixwording.krowk --helpis the readable page even when piped.An agent running
krowk --helpused to get the whole command catalog as about 50 KB of JSON. It now gets the overview, which has an Examples section and points to the newkrowk help agentspage. That page explains the JSON envelope, breadcrumbs, exit codes and which command answers which task.krowk help --json, or--jq, still prints the catalog. Help headings are in title case and bold on a terminal.krowk hostslists your machines that host, with no Tailscale tag.It used to list only tailnet machines tagged
tag:krowk-host, which took an edit to the tailnet policy in the Tailscale admin console. Now it lists every machine on your device list that hosts a synced session — from the registry's sessions, so it needs this machine's sync keys — with whether it hosts one now and whether this machine's Tailscale reaches it directly. A host names its own tailnet node, sealed, in each session it hosts, so a session hosted by an older krowk shows its host as reachable only once a newer one hosts it again. Machines that aren't yours, and yours that host nothing, aren't listed.tag:krowk-hostis no longer read. Inkrowk hosts --json,nameis now the machine's name on your device list rather than Tailscale's (dnsNameis still Tailscale's), and rows also carrydevice,os,thisMachine,hosting,directandsessions;onlinestill means online on the tailnet.The same-user check refuses to run on a tagged machine.
Tailscale names every tagged machine of a tailnet as one shared user,
tagged-devices, so on a tagged hostKROWK_TAILSCALE_SAME_USER=1would have let in any tagged machine and turned away your own. It now says so and offers no direct path; untag the machine, or leave the check off.A synced session goes direct over Tailscale with no setup.
With Tailscale running on both machines,
krowk sync hostoffers the direct path by itself: it fetches the registry's relay ticket public keys (GET /v1/relay/ticket_keys) at every hosting, so a viewer's session moves off the relay with noKROWK_RELAY_TICKET_KEYSfile to write, and a key the registry rotates in reaches the next session without a reinstall. It keeps them in~/.krowk/cache/for a day, used only when the registry can't be reached. Admission is unchanged: only the registry's ticket and the device's signed challenge get in, and being on the tailnet admits nobody. When there is no direct path, the host says why in one line on stderr, such askrowk: no direct path (Tailscale isn't running: it is Stopped); the session goes by the relay, and the session goes by the relay.KROWK_RELAY_TICKET_KEYSstill names the keys by hand, and wins over the fetched ones, for a stand-in registry.The Gemini extension, the MCP registry entry and
@krowk/mcpdescribe Krowk as a coding agent harness.They used to describe a permalink uploader. Each now says that it's Krowk's publishing, for Gemini CLI or for any MCP client, and what it turns into links. With the Claude Code plugin's, they no longer say links unfurl in GitHub and Linear, which don't unfurl links. Those links unfurl in Slack and Basecamp; in GitHub and Linear, images show inline. The
server.jsonhere was over the MCP registry's 100-character description limit and didn't validate against its schema; it's within it now.make release-checkand the release workflow now hold it to that limit, and the other descriptions to one line.What you say in a session is shown in markdown, as answers are.
`code`is in the code colour,**bold**is bold, and links, lists, quotes and fenced blocks look as they do in an answer, all on the band of your prompt. Ctrl-Y still copies the prompt as you typed it.Reading your synced sessions is signed by this machine's device key.
krowk sync sessions, attaching,--resumeand the host now sign the calls that list a session, show it and list its chunks, as they already signed every write. Once the registry requires it, a copy of your API key without the device's key reads none of your sessions, not even their sizes and times. Two reads signed in the same millisecond on one machine are told apart by signing the second again.The new-release notice speaks up only when the release is worth it.
A major release (before 1.0, a new middle number, like 0.12 → 0.13) is mentioned once and once more a week later, a minor release once, and a patch release never — unless a release you skipped has a security fix, which is mentioned once a day until you upgrade. In the agent it's one dim
Update:row under the session header, never a banner, and Ctrl-O's session details always say whether a newer release is out. The agent never waits on the check: it uses the last answer and asks for the next one in the background. After other commands the line on stderr follows the same rules.KROWK_NO_UPDATE_CHECK=1still turns it all off.A Mac with the Tailscale app can host over the direct path.
The app has no
tailscaledsocket: its LocalAPI is on 127.0.0.1 behind a token. On macOS,krowk sync hostandkrowk hostsnow try the open-sourcetailscaled's sockets, then the App Store app'ssameuserprooffile in its group container, then the standalone app's in/Library/Tailscale.KROWK_TAILSCALE_LOCALAPInames the app's LocalAPI by hand (http://127.0.0.1:<port>withKROWK_TAILSCALE_LOCALAPI_TOKEN, or thesameuserprooffile's path); only loopback is taken.KROWK_TAILSCALE_SOCKETstill names a socket, and wins over it.A synced host no longer hangs on a relay link that stopped working without saying so.
If the relay kept answering heartbeats but acked none of what the host sent, viewers stopped receiving updates while the host kept writing into the void. The host now drops such a link once eight batches have gone unacked for ten seconds, joins the relay again, and resends what was missed.
krowk devices addno longer says "nothing was added" when the new device may have your key.If the answer to the step that sends the key was lost and checking on it failed too, the pairing used to end as if nothing had happened, although the new device might hold your key without being on your list. Now the laptop goes on: it waits for the new device to confirm and adds it, or, if it never confirms, still lists it so
krowk devices removecan take it off.krowk sync hostnotices a device removed while it runs.It used to check your device list only when it started, so a long-running host went on as before after you removed a device. It now reads the list again every minute. If another device was removed, it hosts the session again from the top, under the new list; if this device was removed, or the list was started over, it stops.
The installer says when another krowk would run instead.
If a krowk earlier on your
PATH(an older install, or a build from source) would answer before the one just installed, the installer now names it, says its version, and how to fix it. Before,krowk --versionquietly showed the old one.Pairing refuses a malformed key exchange outright.
If the other side of
krowk devices add/krowk sync joinsends a degenerate SPAKE2 point (one of small order, or one spelled non-canonically), the pairing ends at once instead of carrying on. An honest device never sends one; this only closes the door on a misbehaving peer.Running
krowk sync init --start-overagain says what it did.While the old keys from a start-over are kept, running it again carries on that start-over (sealing any sessions left under the new list) and never begins a new one. It now says so, and that a new start-over needs
krowk sync recovery discard-oldfirst.A new device can't take a name that only looks like one already on your list.
Adding or pairing a device is refused when its name reads like another device's: a Cyrillic
аfor a Latina, full-width letters, or1orIforl. Each name in a removal or recovery review now names exactly one device.A synced session moves to a new key when you host it again after removing a device.
A session published before you removed a device used to go on under the session key that device held, however often it was hosted again. Now the host first moves it to a new key, sealed under your current user key, which the removed device never had; a start-over does the same for the sessions it brings along. Everything written before still reads on all your devices. A host already running when you remove the device keeps its key until the session is next hosted. A session that was never moved is stored exactly as before and still opens on older krowk versions; one that was needs this version, and a viewer that opened it before the move has to open it again.
Copying from the TUI no longer drags the layout along.
Text in the transcript starts at the first column: a mouse selection of your prompt, an answer, a list or a code block comes without the two-column margin, the
▎bar before your prompts, the padding inside code blocks or the spaces that filled a band to the edge. Code blocks are left for the terminal to wrap, so a long line of code copies as one line, the block's language sits on the row above the code, and tabs in code are four spaces rather than one. Prose still wraps between words, so a selection across a wrapped paragraph has a line break where each row ended: Ctrl-Y now offers the last answer, each code block in it and your last prompt, and copies the one you choose exactly as written, tabs included. In Ghostty, and in herdr, which is built on it, text from the first screen of a session used to copy with a break at every row the terminal had wrapped, because the prompt was kept at the bottom by moving the rows above it; the prompt now sits at the bottom from the start, the conversation filling the screen down to it, and nothing printed is ever moved.Two quick Ctrl-Cs right after a prompt still print the resume line.
Leaving that fast could beat the session's start to the TUI, so krowk exited 130 without
krowk --resume <id>although the host had already started the session. The TUI now reads what the host already sent before it leaves.The prompt stays on the bottom row when the window grows taller
, in Ghostty and other terminals that add the new rows at the bottom.
What you said survives a narrower window.
Each row is banded only as wide as its text, so the band no longer wraps onto rows of its own; a row wider than the new window still wraps, as any text does.
4 October 20260.12.1
krowk says what it is: a coding agent harness.
- 2 changed
krowk help, the installer and the package descriptions lead with one session on any machine, model or agent; publishing to a permalink is one of the things it does.syncanddevicesmove up to theAGENTheading inkrowk help. The lean build, which only publishes, still calls itself that.The installer writes the agent skill for every agent that reads one.
Besides Claude Code's
~/.claude/skills, it writes~/.agents/skills, which krowk and Codex read, when that directory exists, and names every place it wrote on one line. Its next steps lead withkrowk,krowk loginandkrowk sync init, thenkrowk push.
4 October 20260.12.0
krowk sync attachopens the TUI.- 33 added
- 9 changed
- 1 removed
- 18 fixed
On a terminal, a session another machine runs is drawn as your own are: its history, then live.
Prompts go from the prompt box, approvals are answered in the usual dialog, and Esc interrupts. The status line says whether the host is there (prompts wait for it when it is not) and whether the session comes by the relay or directly.
krowk --resume <id>of a synced session opens it the same way. The host runs prompts from a viewer in the session's default mode, so/mode,/model,/newand/sessionssay they are the host's, and a viewer allows a call once or for the session, never for the host's project. With--json, or stdout not a terminal, it prints stream-json as before.krowk sync initsets up your device list, with a 12-word recovery kit.It asks you to sign in again in the browser, then makes the list's first entry: this device and the recovery device the kit derives, with your user key wrapped to both. The kit's words are shown once on stderr ([Enter] when written down, [s] to skip) or written to
--save FILE, 0600, and are never typed back.--start-overmakes a new list; every other device on the old one stops syncing and asks to be paired again. Run from a device that holds your key, it keeps the old keys aside and seals the sessions it can open again under the new list; running it again (under another workspace's key, for that workspace's) goes through what is left, andkrowk sync recovery discard-olddrops the old keys when you say so. The 24-word recovery phrase is gone, and so iskrowk sync register: a device is registered by being on the list.krowk devices remove NAMEtakes a device off your list and rotates your key away from it. It names every device the new key goes to before it asks, needs a fresh sign-in, and removes any device revoked on the dashboard in the same post, so no new key reaches one.
krowk sync statusoffers to finish a dashboard Revoke. Your other devices take the new key at their next sync.krowk sync recovergets back in on a new machine from the kit's words, typed at a prompt that doesn't echo them or piped in. It verifies the list from its first entry, goes through every device on it with you to keep or remove, and only then wraps your key, to what you kept.
krowk sync recovery newreplaces the kit at once, with the old kit's words, or from any device when you have none.
krowk sync recovery checktests the words against the list, locally.krowk sync statusverifies the list against the head this device pinned, and says when there is no kit; so does the TUI's status line.Pairing a device by a short code, in the library.
krowk_client::pairingholds both sides ofkrowk devices addas sans-IO state machines: an eight-character code (Crockford base32 less0and1, shownXXXX-XXXX, typed in any case with spaces and dashes ignored), SPAKE2 in asymmetric mode bound to the peer kind, the person and both device ids, and key confirmation both ways before the new device's name is shown or anything is posted. One failed step ends the pairing, and the new device's code is consumed by the attempt, so a hostile registry gets one guess against each side. The SPAKE2 crate is held to magic-wormhole's vectors. Nothing calls it yet.The client crypto for devices you own
, not yet wired to any command: a user key per person with generations, each wrapping the one before; a 12-word recovery kit that derives a recovery device; and a signed, chained device list that every client verifies against the head it last saw, refusing an older or forked list and any removal of the recovery device. Only the current kit can replace the kit, or any device when there is none.
krowk devices addandkrowk sync joinpair a machine by a short code.addshowsXXXX-XXXX, valid ten minutes and once;joinon the new machine takes it at a prompt, never as an argument. Both machines check the code, the paired one asksAdd '<name>' (<os>) to your devices? [Y/n], and the new machine keeps the user key only once the chain it was sent adds exactly its keys. A wrong code, or any failure on the new machine, a dropped connection included, ends the pairing and asks for a new code. A machine that was sent the key but never confirmed it is still listed, sokrowk devices removecan take it off; ^C onaddends the pairing.krowk sync hostseals under the device list as the registry has it now,extended from this machine's pin, and refuses when the registry cannot be asked, rather than sealing under a list a removal left behind.
The stand-in registry holds devices you own.
krowk-devregistryserves a person's signed device list (verified on every post by krowk-client's own verifier), the user key wrapped to each device, keys bound to one device, a fresh sign-in stamp, and the pairing mailbox: one live pairing per person, ten minutes, ended by the first step out of turn. The device approval endpoints answer410 sync_reset.Releases are signed, come with an SBOM, and are proven reproducible.
Each release carries
checksums.txt.sigstore.json, a keyless Sigstore signature over the checksums of every archive, bound to the release workflow at that tag, and a CycloneDX SBOM of the full and lean builds, each signed the same way. Before anything is published, the release builds Linux x86-64 a second time on another runner from another path and stops unless every binary matches byte for byte. The npm packages carry npm provenance.SECURITY.mdsays how to verify a download and rebuild one.SECURITY.md: where to report a vulnerability ([email protected]), what happens then, what is in scope, and every network call krowk makes without being asked. krowk has no telemetry and no crash reporting.
cargo denyon every pull request and at every tag.A dependency with a RustSec advisory, a licence outside
deny.toml's list, or a source other than crates.io fails CI and stops a release.krowk sync attachanswers approvals and steers the turn.Besides prompts, a line typed on its stdin can be
/approve REQUEST_ID,/allow-session REQUEST_IDor/deny REQUEST_ID, answering the tool call anapproval.requestedline names,/interrupt, which stops the running turn, or/steer TEXT, which adds to it. Eachapproval.requestedline carries itsrequestId, and stderr says which command answers it. Any other line starting with/goes as a prompt, so skills and paths still work, and//TEXTsends/TEXT.krowk help sync attachlists them.A synced session goes direct over Tailscale when it can.
krowk sync hostreads this machine's tailnet address, MagicDNS name and LAN address from the localtailscaled, listens there, and names the addresses to each viewer inside the sealed channel. A viewer tries them all beside the relay and moves onto the first that passes the same ticket, challenge and handshake the relay does, mid-session and without losing a frame; if the direct path goes, or its welcome is more than three seconds late, it falls back to the relay by itself and tries again later, less often each time nothing is found (10 seconds, doubling to 5 minutes).krowk sync attachprints the path in use (sync.path:relay,direct over Tailscaleordirect over LAN). Being on the tailnet lets nobody in: direct paths are on only with the registry's ticket keys inKROWK_RELAY_TICKET_KEYS, andKROWK_TAILSCALE_SAME_USER=1also turns away a connection from another tailnet user. The LAN address is offered only withKROWK_DIRECT_LAN=1, and never with the same-user check.krowk hostslists the tailnet's machines taggedtag:krowk-host.A file a session publishes now says what made it.
Besides the session (
krowk.session), each artifactpublishpushes records the engine that ran the turn (krowk.engine:krowk,claude-codeorcodex-app-server), the model (gen_ai.request.model) and its provider (gen_ai.system), so its card on krowk.com can link back to the session with akrowk --resumecommand. A subagent's file names the subagent's model. Nothing from the session's log is sent; the session id, engine, model and provider are, in the clear, even for a synced session.A session running on one machine can be watched and steered from another.
The host keeps the session's lease, renewing it every 20 seconds, streams it over the relay sealed end to end, and writes its log to the registry as sealed chunks with a checkpoint to attach from. Another of your machines attaches from the latest checkpoint in well under half a second, follows the session live, and can prompt it, steer or stop it, and answer its approvals. When the host is away the other machine is read-only, and a prompt typed there waits and runs when the host is back. A dropped connection resumes by itself with nothing lost. Neither the relay nor the registry ever sees the session's content.
krowk sync host <session>syncs a session of this machine,krowk sync sessionslists what another machine can open, andkrowk sync attach <session>— orkrowk --resume <session>on a machine without the session's log — follows it there. The relay isKROWK_RELAY_URL, orkrowk relay serveon this machine.Sync calls that act as this machine are signed by its own key.
Registering or approving a device, a lease call, writing a session or its log, and asking for a relay ticket now carry
X-Krowk-Device,X-Krowk-TimestampandX-Krowk-Signature, an Ed25519 signature by this machine's signing key. The registry refuses them unsigned, signed by another key, more than five minutes off its clock, or sent twice, so a workspace API key alone can no longer act as one of its devices. A clock more than five minutes out makes these calls fail withsignature_stale.A file a session publishes now says what made it.
Besides the session (
krowk.session), each artifactpublishpushes records the engine that ran the turn (krowk.engine:krowk,claude-codeorcodex-app-server), the model (gen_ai.request.model) and its provider (gen_ai.system), so its card on krowk.com can link back to the session with akrowk --resumecommand. A subagent's file names the subagent's model. Nothing from the session's log is sent; the session id, engine, model and provider are, in the clear, even for a synced session.Setting up sync now registers this machine's relay signing key.
krowk sync init,recoverandregister, andkrowk devices approve, send the public half of the signing key beside the device key, andkrowk sync joinsends it with the approval request, so the approval registers it. krowk's hosted relay uses it to tell this machine's connections from anyone else's. The key is set once: a different one for the same device is refused (signing_key_mismatch).The code
krowk sync joinshows to approve a machine changed.It now covers both of the new machine's keys, so a request that copied its device key with someone else's signing key shows a different code, and
krowk devices approveapproves only the one request whose code is exactly the one you typed. Only one approval request per machine may wait at a time.Relays admit devices on tickets the registry signs.
A device joins a relay with a short-lived ticket, which comes with the session's lease for the host and on request for a viewer.
krowk relay servenow takes--ticket-keys FILE, the registry's ticket-signing public keys, instead of--roster. The ticket travels in theX-Krowk-Ticketheader of the WebSocket upgrade, and a connection without a good one is turned away before it takes any room on the channel, so a flood of connections cannot keep a session's devices off it.krowk relay serve --state DIRkeeps each channel's fence across restarts.It is required when
--addris reachable from the network, like--origin, so a restart never lets a machine that lost the lease host again. On loopback the relay may keep it in memory.A relay keeps development sessions apart from production ones.
A relay join now says which it is,
env"production" or "development", andkrowk relay servegives each its own channel of a session, so a developer's session never shares a relay buffer or a viewer with a user's. krowk says "development" for a debug build, forKROWK_ENV=development, or for any registry butapi.krowk.com.krowk relay serveruns a relay of your own.It carries a synced session between the machine running it and the devices watching it, and only ever sealed bytes: it refuses anything not encrypted, and never stores it. A device joins by signing the relay's challenge with a new per-device signing key (
signing.jsonin krowk's home, made the first time it is needed); only the machine holding the session's lease may host it. A device that reconnects picks up where it left off from the relay's short buffer, and the relay answers heartbeats itself, so a busy or quiet host never looks gone. It listens on 127.0.0.1:7790 unless--addrsays otherwise; an address reachable from the network also needs--origin, the URL devices dial it by, and the banner says it is open. Nothing connects to it on its own yet; the host daemon and the terminal will once syncing sessions lands.krowk help --alllists it.A synced session's log can now be stored, encrypted, in the registry.
The machine holding a session's lease seals each piece of the log on its own side and uploads it straight to storage. Each piece is numbered, names the lease it was written under, and is chained to the piece before it, and the last one is marked. A device reading the log back refuses a piece that is repeated, out of order, missing, or spliced in from another machine's copy of the log, and can tell a finished log. A piece is refused unless it comes with the lease's current token, and one a previous lease holder left half-uploaded is replaced rather than blocking the log. Pieces are at most 64 MiB. The registry and storage only ever hold the sealed bytes. The pieces count on your workspace's storage meter, and never show up in
krowk uploads list, on a card, or anywhere else a push's artifacts do. Nothing writes them yet on its own; the host daemon will once syncing sessions lands.A device the workspace's owner revoked by resetting sync can come back.
Run
krowk sync registeron it after the reset. The fix line on adevice_revokedrefusal now says so, where it used to point atkrowk sync recover, which could not help.Add a machine to sync by approving it from one that already syncs, with no recovery phrase.
On the new machine,
krowk sync joinshows a 32-character code and waits. On a machine that already syncs,krowk devices approveasks for that code, shows which machine it belongs to, and hands the account key over, encrypted to the new machine's key, once you say yes. The new machine then asks for the account key idapproveprinted (or takes it askrowk sync join <id>), asks you to confirm, and keeps nothing unless the ids match. Read that id off your other machine, never from an error message or a web page. Both commands need a person at a terminal: an agent told to run them is refused.krowk devices listshows the workspace's machines and the account key id this one holds. All of it needs a key to a Pro workspace; on a free one the commands refuse with a fix line.krowk sync initandrecoverstill work with no account, on a free plan, or with the registry unreachable: the keys stay on this machine, andkrowk sync registerregisters it later. With a Pro key they register this machine themselves, andrecoverthen refuses a phrase that restored a different account key from the workspace's, which is how a mistyped word that happens to pass the checksum is caught.--name(orKROWK_DEVICE_NAME) sets what the device list calls this machine instead of its host name.krowk sync initsets up the end-to-end encryption keys sync will use, and shows your recovery phrase.It makes a key for this machine and an account key, prints the account key as 24 words, and keeps it only once you type the words back (they are not echoed). Write them down, with the key id shown beside them: krowk never stores the phrase and cannot show it again, and it is the only way back to your sessions if every device is lost. On another machine,
krowk sync recovertakes the 24 words — typed at its prompt, or piped from a file (< phrase.txt), never withecho, which keeps them in your shell history — restores the same account key there and shows its key id; if the id differs, a word was wrong, and runningrecoveragain with the right words replaces it. The keys stay in krowk's home,device.jsonandaccount-key.json, both0600, and the wrapped account key opens only with that machine's own device key.The host daemon can serve its sessions over a WebSocket on this machine
, the transport other devices will reach it through once the relay lands. It is off unless
KROWK_HOST_WSorhost.websocketinconfig.jsonnames a loopback address (127.0.0.1:7788; port0picks one, andkrowk host statusshows it); anything but loopback is refused. A client proves it is you with the token inhost.tokenbeside the daemon's socket, which is new each time the daemon starts. The frames are the unix socket's, sent in compressed batches.The TUI's sessions now run in the host daemon, so closing the terminal no longer ends them.
Bare
krowkstarts the daemon if none is running and runs every turn there. When the window closes mid-reply, the turn keeps going. Reopenkrowkin the same directory and it tells you which session is still running;krowk --resume <id>(or/sessions <id>) then shows what happened while you were away and follows the rest live. Several TUIs can follow one session and see the same reply./connectupdates the daemon's providers too. SetKROWK_TUI_HOST=localto keep the TUI's sessions in its own process, as before.krowk host stopstops the daemon once no turn is running.A session can outlive its terminal:
krowk -p --daemonruns the turn in a per-user host daemon.The first
krowkthat needs the daemon starts it in the background; it listens on a private unix socket ($XDG_RUNTIME_DIR/krowk/host.sock, or under$TMPDIRon macOS) and exits after ten idle minutes with no session running —host.idleMinutesinconfig.json, orKROWK_HOST_IDLEin seconds, changes that. Kill the process or close the terminal mid-turn and the turn goes on;krowk host attach <session>shows it — what it has done so far, the reply being typed, then the rest live — and any number of clients can follow one session and see the same events.krowk host statussays whether the daemon runs and what it holds. The daemon asks nobody whether to trust a repository, so a backend runs there only once it is trusted. The TUI still runs its sessions in its own process for now.krowk host enablekeeps the daemon running on an always-on machine, as a systemd user service on Linux or a launchd agent on macOS, with no idle exit;
krowk host disablestops and removes it. A service has no shell variables, so give it keys withkrowk connectrather than an exportedANTHROPIC_API_KEY.A synced session opens on one line, not the splash.
krowk sync attachdraws the session's history, then⇄ Attached to "<title>" on <host>(orAttached to <host>for an untitled session) — or that the host is away and prompts wait — with the host named as the device list names it. The status line says the host in a glyph and its name:● <host>there,○ <host>away,◌ <host>connecting.krowk sync attach --jsonends when its stdin does,once every command sent has been answered. Before, it ran until interrupted.
Nothing asks you to sign in again in the browser any more.
Starting over,
krowk sync recovery new,krowk devices removeandkrowk sync recoveruse the key you're signed in with; a browser login opens only when there is none, and still says what it is for.Sync's device and pairing calls are under
/v1/users/:user_id.The device list, its append and start-over (
…/devices,…/devices/reset), a device's wrapped user key (…/devices/:id/key) and the person's one pairing (…/pairing), for the user the key names. The payloads are the same; the stand-in registry answers the new routes.Synced sessions are sealed under your user key.
krowk sync hostseals a new session's key under the newest user key generation this machine holds, and records the generation in the wrapped key, which stays 74 bytes.sync attach,sync sessionsand--resumeopen any older generation down the chain of wraps. A machine holding only an older generation, such as one removed before a rotation, can't open a newer session, and is told which generation it would need. The user keys a machine holds live inuser-keys.json(0600, wrapped to its device key, replaced by rename), and a save never drops an older generation's wrap it already holds. Each session's record is signed by the machine that published it. Every machine that opens a session —sync host,attach,sessionsand--resume— checks that signature against your verified device list (device-list.json), so any machine of yours can take a session up again, and a record no device of yours signed opens nowhere. A session published by a machine since removed from your devices still opens to read, but no machine hosts it again: start a new one. Sessions sealed under the account key no longer open: clean break. No command puts a user key or a device list on a machine yet, so these commands say it holds none until adding a device does.The client protocol's types live in
krowk-client.The commands, events and log lines, and the daemon's 28-byte frame header, are declared in the crate the desktop app and the phones will link, which pulls in no engine, tokio or reqwest;
krowk_harness::protocolstill names the same types. The generated JSON Schema is unchanged.Leaving the TUI takes two presses, as in Claude Code, so one stray key no longer ends a session.
On an empty prompt, Ctrl-C or Ctrl-D shows "Press Ctrl-C again to exit" (or Ctrl-D) under the prompt, and the same key again within 1.5 seconds quits.
The TUI's prompt sits on the same band as your messages in the chat, edge to edge across the terminal with an empty row either side, instead of between two rules.
The arrow and text stay where they were. The status line lines up with the arrow, with an empty row under it, and the working line reads "12s · esc to interrupt".
Keys the TUI suggests stand out: in hints, the help menu, the status line, approvals and questions, each key (
esc,enter,y,ctrl-g,?) is white instead of grey like the words around it.krowk devices approveand the 32-hex device code.Pairing by a short code replaces them;
krowk sync jointakes no argument.A krowk session has one id.
krowk sessionslisted a krowk session under an id of krowk.db's own, whichkrowk sync hostrefused as no session. A session is now stored under its log's id, the onesync hostand--resumetake;sync hostalso takes the id an older store listed it under (krowk sessions rebuildrelists those under their log's id).krowk sync initwarns about a skipped recovery kit once, where you press [s], rather than again in the line after it.
Sync reaches the hosted relay.
krowk sync hostandkrowk sync attachcould not dial awss://relay, so withKROWK_RELAY_URLset towss://relay.krowk.comthe host was never on it: a viewer replayed the history but saw nothing live, and its prompts stayed queued. They now dial it over TLS with the same trust as every other connection krowk makes, and say on stderr why, once, when the relay cannot be joined.KROWK_RELAY_URLis no longer needed for krowk.com.Signed in to the production registry,
krowk sync hostandkrowk sync attachdialwss://relay.krowk.comby default; a stand-in or customKROWK_API_URLkeeps the local relay, andKROWK_RELAY_URLstill overrides both.A host the relay let go joins again.
When the relay dropped
krowk sync host's link without the close reaching it, or the host was stopped or asleep longer than the relay keeps a silent link, the host stayed off the relay with no error while viewers showed it gone. It now joins again at once, and says why on stderr.A prompt sent as the host went away runs when it is back.
A viewer that sent a command the host never received, because its link was lost just then, now sends it again when the host returns. The host runs it once.
/nameloads the skill on every agent, not only krowk's own.A skill picked from the TUI's slash menu reached Claude Code or Codex as a bare
/implement, and a vendor that did not have that skill answered that there was no such skill. krowk now loads the skill's instructions itself and sends them ahead of your words, whichever agent runs the session.Skills installed with
npx skillsare found.krowk reads
~/.agents/skillsand.agents/skillsfrom the repository's root down to the working directory, beside the.claude/skillsit already read, so a skill in the shared directory is listed and can be used with/name.A viewer that moves to the direct path mid-session keeps receiving the session.
The direct listener replays from where the viewer was when it started looking for the direct path. The viewer had already opened those batches through the relay, so it never acked them, and once the listener's window filled, no further event reached the viewer, though its own prompts and their acks still went through. An approval request waiting while the viewer moved is now shown once, not once per path. A command still running when the viewer moved is answered on the path the viewer is on now. A host that reconnects to the relay no longer drops the viewers on its direct path.
krowk sync hostno longer hangs on a session this machine does not have.It used to take the session's lease and then wait, silent, until interrupted; it now fails at once with
no_sessionand how to start one, before writing anything to the registry. A bridge that stops by itself for any other reason also ends the command then, saying why.A turn sent the moment the host daemon starts no longer stalls every other session.
The daemon waited on its thread for the TLS setup a turn's first request needs, and read a new directory's configuration there too; both now happen off it, so streams and heartbeats keep going. A TLS setup that fails once is tried again, rather than failing every turn until the daemon restarts.
A turn caught up after its client fell behind no longer loses its answer.
A terminal or phone that stopped reading, and was caught up from where it stood just as the turn ended, could get the typing and the end of the turn but not the finished answer. It now always gets it.
A terminal whose connection to the host daemon drops mid-turn picks the turn up where it left off.
It reconnects and follows on from the last thing it had, with nothing shown twice and nothing skipped, instead of reporting the turn lost. A model switch caught up by another terminal also no longer shows up twice.
krowk host stopstraight after a turn keeps that turn on disk.The daemon waits for the turn's log to be flushed before it exits, for up to ten seconds. Stopped by SIGTERM or Ctrl-C, it first interrupts the running turns, a turn still starting included, so each is logged as interrupted and flushed too. The waits add up: up to ten seconds for the turns to end, ten for each backend to close, and ten for the flush. A second SIGTERM or Ctrl-C exits at once. A prompt sent while it exits is refused rather than lost, an idle exit's included.
A terminal suspended while it follows a long session no longer grows the host daemon's memory.
The daemon keeps a few megabytes for each client that stops reading, then drops what it held and, once the client reads again, sends what it missed from where it stopped — nothing twice, nothing lost.
krowk host status --jsoncounts the bytes waiting for clients and how often one was caught up.A slow disk no longer stalls every session in the host daemon.
Each event a turn logs, and its context record, is written off the thread all sessions and heartbeats share, and still before any client sees it.
Quitting the TUI is instant.
On a Claude Code model it took most of a second, waiting on Claude Code to flush its telemetry as it exited; krowk now starts Claude Code with telemetry off (an instance can turn it back on by setting
DISABLE_TELEMETRYin itsenv). The screen is also handed back before anything else is tidied up, and the session is saved intokrowk sessionsafter each turn instead of on the way out, so leaving has nothing left to wait on. A quit now takes about 30 ms, down from 0.9 s.A session resumed in the TUI shows what it has cost so far.
On a model models.dev has no price for yet, such as a new Claude through Claude Code, the status bar showed
$—until the next turn ran; it now counts what the backend reported for each past turn, the way the live figure does.
29 September 20260.11.2
Code in the TUI is in colour, and the chat is calmer: your messages stand on a band of their own, and running calls no longer make it jump.
- 1 added
- 3 changed
Code in the TUI is in colour.
A fenced block in an answer is highlighted by its language, on a faint band across the width with a row of it above and below; its
```fences are no longer shown, and its language is named at the right of the band's top row. Long lines break at the width and keep their spacing. A file a call writes shows its first lines, highlighted, under the call, and, in a terminal with 24-bit colour, an edit's removed and added lines are highlighted on muted red and green bands (GitHub's dark-mode tints) that keep the code readable. The colours are the terminal's own, so they follow its theme.What you say in the TUI is shown on a faint grey band across the width, with a thin blue bar down its left edge and an empty row of it above and below, in normal weight rather than bold after a
❯.Your messages are easy to find when scrolling back, and long ones read as text rather than as a heading.
A prompt sent in the TUI is shown the moment you press Enter.
Before, it appeared only after krowk had chosen the model, read its key and started the backend, which could take a noticeable moment.
In the TUI, a read, search or command that runs while earlier ones are counted on one line (
◆ Ran 3 commands, searched for 2 patterns) stands under that line as a branch, with the bullet orange until it is back.The chat no longer jumps as each call finishes and is taken into the count.
29 September 20260.11.1
Answers in the TUI are easier to read: markdown tables are drawn as tables, and lists hang under their text.
- 2 added
- 1 changed
- 2 fixed
The TUI draws markdown tables in an answer the way psql does: indented, with a blank line either side, a bold header, and dim lines between the columns and under the header, but no box.
Each cell is in the answer's markdown and wraps inside its column, aligned as the delimiter row says; once a row wraps, rows get a rule between them. On a screen too narrow for the columns, each row is shown as a record of
Header │ valuelines. A table is held while it streams and drawn once it ends.Lists in an answer are easier to read in the TUI: a wrapped item's rows line up under its text rather than under its bullet, a list is indented two columns from the text around it, and a nested list is indented by its depth with its own bullet (
•,◦,▪).Markers are washed so the text leads: numbered lists (
1.,1)) keep their number, a task list's[ ]and[x]show as☐and☒, and a line that goes on under an item lines up with it. A quote's│runs down every row it wraps onto.@krowk/clion npm describes krowk as the coding agent it carries, with publishing as one of the things it does;@krowk/mcpsays it publishes from any agent.The build-it-yourself line (npm launcher,
prompt.md) installs the full build (--features harness) rather thansessions, which left the agent out. The Claude plugin's manifest version, stuck at 0.8.2, is 0.11.0.A blank line in an answer no longer goes missing in the TUI when the text streams in with a chunk ending right after it, which ran a heading or a label into the list or paragraph under it.
A finished todo is
☒, not☑:☑has an emoji form, so many terminals drew it larger than the☐beside it.
28 September 20260.11.0
krowk is a coding agent now.
- 6 upgrading
- 18 added
- 3 changed
Bare
krowkopens its TUI,krowk -pruns it headless, and it runs on an API key or on the Claude and ChatGPT subscriptions you already have.Everything krowk keeps moves to
~/.krowk/, on the first run after upgrading. Config, keys, logins, named accounts, sessions and the price cache were spread over
~/.config/krowk,~/.local/share/krowkand~/.cache/krowk. krowk moves your config and keys in one step, says so on stderr, and then deletes the old key files so no secret is left where a dotfiles repository may track it. Only krowk's own files are deleted, by name. Anything it does not move (the oldkrowk.db, a dev build's accounts) is named once with what to do.XDG_*variables no longer move anything; setKROWK_HOME(an absolute path) to keep it all elsewhere.Run
krowk sessions rebuildonce.Costs are now priced per turn by the model each turn ran on, and Claude usage is no longer counted once per content block (it overstated tokens and cost by about 1.8×).
syncdoes not re-read sessions already imported.JSON changes for anyone reading costs
:
sessions showturns dropcost_unknownand gaincost_usd(null when unknown),cost_source,model,providerand reasoning and cache token counts. A session'spriced_cost_usdis nowcost_usd.sessionsrows gainunpriced, and the import report gainsunpriced_models.The release ships two builds, and the installer picks.
The full build (agent, TUI, session store) keeps the archive name every release has used, so npm and
krowk upgradeget it. The lean build,krowk-lean_<version>_…, is installed in CI and containers, and by the GitHub Action.--full/--lean(orKROWK_LEAN=1/0) choose; toolbox and distrobox count as containers, so pass--fullthere.krowk --helpfits on one screen.Everything it used to carry is in
krowk help <command>,krowk help topicsandkrowk help --all.krowk help --jsonkeeps its shape.With
HOMEunset, krowk no longer uses a.krowkbeside you as its home; commands that need one refuse withno_home.On Windows the home is
%USERPROFILE%\.krowk.The TUI.
Bare
krowkon a terminal opens an inline prompt with the conversation in your terminal's own scrollback, so it scrolls, copies and searches like any output, over SSH and in tmux. Answers stream in light markdown with clickable links; tool calls are one quiet line each, with an edit's lines added and removed and a command's last line of output. Typing while a turn runs steers it; Esc or Ctrl-C interrupts. Shift+Enter (or Alt+Enter, Ctrl-J) adds a line, Ctrl-Y copies the last answer, Ctrl-Z suspends.- Commands:
/model,/mode,/settings,/connect,/disconnect,/sessions(or/resume),/new(or/clear), and your skills. - A two-row status line: model, device, task and subagent counts, then the branch, its pull request as a link, and the cost. The branch follows the agent into the worktree it works in.
tui.contentWidthsets the column the conversation reads in:prose(80, the default),prose-wide(120) orfull-width.- The window title and herdr show whether it is waiting, working or needs your yes.
- Commands:
krowk -p "…"runs the agent headless, with
--output-format text|json|stream-json,--resume <id>,--model <instance>/<model>,--effortand--permission-mode. It never waits on a question: a call its rules do not allow is refused, and the model is told why.Every major model, on a key or a subscription.
Native engines for Anthropic, OpenAI (Responses API), xAI, OpenRouter and any Chat Completions server, plus a SuperGrok subscription.
--model claude/…drives your own Claude Code on your Claude subscription, and--model codex/…drives OpenAI'scodex app-serveron your ChatGPT subscription. krowk never reads either vendor's login; their own CLIs sign in. A bare--model sonnetruns on whichever instance is ready here, and when a key and a subscription could both run it, krowk asks you to pick (ambiguous_model) rather than guessing.krowk connectandkrowk disconnectsign providers in and out by vendor and method, with as many accounts as you like (
--name work), and the TUI does the same with/connect. The first connection becomes the default model. An API key can be stored in~/.krowk/credentials.json, or as a$VARor!commandreference.krowk providers renamerenames an instance and everything that names it.krowk statussays which providers can run a turn here and the one command that fixes each of the rest.
providers listanddoctoruse the same check.Switch model, instance or engine mid-session without losing the thread
, with
/modelor-p --resume … --model …. Between accounts of the same vendor, krowk moves the vendor's own transcript across.Rate limits are detected on every engine
, and a limited turn ends with an offer to continue on another instance.
"rollover": "auto"with arolloverOrderdoes it by itself; it is off by default.Claude Code's setup works as it is.
Permission rules (
permissions.allow,ask,denyin Claude Code's syntax),AGENTS.md,CLAUDE.mdand Cursor rules,SKILL.mdskills, command hooks, and agent definitions in.claude/agents/are all read. A deny rule wins in every mode. A repository's own allow rules, hooks and agents count only once you trust it, and krowk asks before Claude Code or Codex runs in a repository you have not trusted.Permission modes
:
default,acceptEdits,plan,bypassPermissions, andunhinged, which runs everything with no approval. The TUI asks before a call its rules do not allow: once, for the session, or for the project.Tools in the model's own edit format
:
read,write,grep,glob,bash, andstr_replace,apply_patchorsearch_replaceby model family. The file tools stay inside the working directory and out of.git,.claude,.codexand~/.krowkunless you allow it.Subagents
, several at once on a cheaper model by default, each a session of its own under its parent. Ctrl-G lists them and
xinterrupts one. Claude Code's background agents are followed too.todo_write, a todo list the agent keeps, counted in the status line and shown with Ctrl-T.
publish: the agent can push screenshots, diffs and logs as krowk artifacts, attached to a krowk run for the session.
Budgets
:
--max-usdand--max-tokensstop a session before the call that would pass the limit, subagents included (exit 4,budget_exceeded).krowk sessions budgetchecks any imported session the same way, for use in a hook.Native sessions are logs you own
, JSONL under
~/.krowk/sessions/, listed inkrowk sessionsbeside imported ones.Provider usage ledgers
: drop a provider's per-request usage export in
~/.krowk/ledger/and imports reconcile it against your transcripts, so a request your agent gave up on but was still billed for shows up.krowk login,logoutandwhoami, short for your krowk account.krowk doctorreports how old the model prices are.A missing price reads
—, never $0, and every listing says where the rates came from.Costs under a cent print to three significant digits.
Claude turns keep thinking tokens apart from output, and opencode subagents are linked to their parent session.
sessionslists in about 25 ms with a full price cache (was about 80 ms).
24 September 20260.10.0
krowk is written in Rust now, and it can read your agents' sessions back.
- 6 changed
- 3 added
- 3 fixed
krowk is written in Rust.
The commands, flags, JSON, error codes and exit codes are the ones 0.9.0 had: every recorded case of the Go build passed against the Rust one before the Go build was removed. What you notice is the size and the speed.
krowkis 4–5 MB depending on the platform (was ~14 MB) andkrowk-mcpabout 2 MB (was ~7 MB). On 707 real sessions,sessions importtakes ~10 s where the Go build took ~14 s, andsessionslists in 12 ms where it took 23 ms.Linux builds are static (musl), so they run in a container with any libc or none.
macOS and Windows builds are native, as before.
The repository is
krowkcom/krowk(was
krowkcom/cli). The old URLs redirect, so an installed krowk keeps upgrading,install.shkeeps working from its old address, anduses: krowkcom/cli@v0still resolves. Point new workflows atuses: krowkcom/krowk@v0.From source it is
cargo install --locked --git https://github.com/krowkcom/krowk --features sessions krowkrather thango install.The GitHub Action installs the release of the repository it was taken from, so a fork's action installs the fork's releases.
Where the two builds differ, it is wording rather than contract: human-readable text, key order and escaping in JSON (
<is written as<, not\u003c), anddoctor'sruntimereadsrust <os>/<arch>.krowk sessions: your agents' transcripts, on this machine, in one local store at
~/.local/share/krowk/krowk.db. The files are private to you (0700/0600), and nothing leaves the machine.krowk sessions import --from <claude|cursor|opencode|all>reads Claude Code, Cursor and opencode transcripts into the store. Running it again inserts nothing new, so re-running is how you keep the store current.--dry-runcounts without writing, and--limit Ncaps how many transcripts each source reads.krowk sessions syncis the version for a schedule. It reads only the transcripts that changed since the last run, and refreshes the model prices once a day (--no-networkskips that).krowk sessionslists every session newest-first, with title, agent, model, turns, cost and recency;--harness,--worktree,--limitand--allnarrow it. On a terminal it opens a picker.krowk sessions show <id>reads one session back — turns, messages, tool calls with their results — from a full id, an 8-character prefix, or the agent's own session id.--thinkingshows thinking in full.krowk sessions rebuilddeletes the store and re-imports everything: the fix when a store is from a version krowk no longer reads. It asks first on a terminal, and needs--yesanywhere else.- One import runs at a time per store; a second one says so at once (exit 6) rather than waiting or colliding.
- Costs are priced from an embedded models.dev snapshot, and
krowk pricing refreshfetches the current prices. A model krowk has no price for shows—, never 0. sessionsis not supported on Windows yet, and says so.
krowk doctorreports the session store's health: its path, schema version and journal mode, with the command to run when it is not healthy.The installer no longer overwrites a Claude Code skill directory it did not write.
It marks the directory it installs (
.managed-by-krowk-cli,.installed-version) and refreshes only a directory carrying its mark, or an empty one; anything else it leaves alone and says why. A skill directory from an earlier installer, holding only itsSKILL.md, is adopted on the next run. If you keep your own~/.claude/skills/krowk/, move it aside and re-run to have krowk manage it.A git remote with credentials in it no longer reaches the run metadata.
A CI checkout clones from
https://x-access-token:<token>@github.com/..., and that URL went intovcs.repository.url.fullverbatim — and run metadata is public on every card. The user and password are now dropped. A token already pushed this way is on the cards it was pushed with: rotate it.The content type a push declares no longer depends on the machine.
It came from the host's
mime.types, so the same file could be declared differently from macOS and from Linux. krowk now carries its own table of the extensions agents produce..mdand.markdownaretext/markdown, and a.webmwithout a video track isaudio/webm; an extension outside the table isapplication/octet-streameverywhere.The installer's log names the repository it downloads from.
6 September 20260.9.0
krowk push --privateuploads where only your workspace can read it, andkrowk_pushtakesprivate: truefor the same thing.- 3 added
- 5 changed
The image still embeds anywhere: a private artifact's bytes sit on the CDN under a key whose secret segment is the whole of the authorization, which is what lets GitHub, Jira or Slack — fetching an embed server-side and anonymously, carrying nobody's session — render it at all.
What changes is the card.
krowk.com/a/{slug}opens only for a signed-in workspace member and answers everyone else exactly as it answers a slug that was never minted, and the API read is gated the same way, so nothing unfurls a private link.It needs an API key and is refused rather than published without one: a keyless upload lands in the shared anonymous workspace, which nobody is a member of, so there is nothing for it to be private to. The refusal comes before anything is sent — an agent told afterwards that its
--privatewas dropped would have already published the file.Every artifact now reports its own
visibility, on every read, as a name rather than a flag.A visibility this build has not heard of is described by name and promised nothing, rather than being described as private: understating who can read an artifact is the dangerous way to be wrong about a privacy feature.
sharedis the visibility whose card a keyless holder of the link does see, viashare_url; this build knows it, links it, and labels what it unfurls.A push that asks for a visibility now checks it was applied before it sends the bytes.
A registry predating the field accepts the declare and answers without it, which is a silent downgrade to public — and once the bytes are on a CDN there is nothing left to refuse. Nothing is uploaded, and the artifact the declare made is a pending row that expires on its own.
Claiming is plan-aware everywhere krowk explains it.
The registry now keeps a claimed artifact only when the workspace is on a paid plan; claiming into a free workspace moves the artifact and restamps a fresh 24-hour expiry, and a keyed upload into a free workspace expires in 24 hours just as an anonymous one does. The
expiredfix line, the claim breadcrumb,krowk help, the MCP tool description and the README no longer promise that a key alone keeps an upload. The stand-in registry behind--devfollows the same rules: a key withfreein it is a free workspace, every other key is a paid one.A
.webmor.mkvfile carrying a video track is declared as video, never audio.Go's extension table answers
audio/webmfor.webm, so a screen recording uploaded on the extension alone landed as audio and previewed as audio. The uploader now sniffs the Matroska head for a video track and declaresvideo/webm(or the.mkvvideo kind) when one is there; audio-only files keep the extension answer.The paste labels stop promising what a private card cannot do.
Paste into Slack, Basecamp — they unfurl the link themselvesis true of a public artifact and false of a private one, so a private push is labelled for the audience that can actually open it, and the breadcrumb that used to say "hand this link on — it is public and needs no key to read" says who it opens for instead. The markdown label still promises the image, because the image still renders. Human output names the visibility beside the size when it is not the public default, andkrowk uploads listnames it per row.--format url, and any--destinationthe registry's table says wants the bare link, warn on stderr when what they printed is a private card.That form exists to be unfurled and a private card unfurls nowhere, so printing one silently would be the same broken promise in a different place. The warning is on stderr rather than in the output, because the output is about to be pasted.
The bundled stand-in registry (
go run ./internal/devregistry) enforces the same contract, so a client developed against it behaves the same in production: visibility is declared, validated and served; a private artifact's metadata answers its own workspace and answers everyone else404; its card page is indistinguishable from a slug that never existed; its byte URL names neither the workspace nor the artifact; andPUT /v1/artifacts/{slug}/visibilitymoves an artifact between public, private and shared, re-keying the bytes and killing the old URL in every direction.A shared artifact carries
share_url({origin}/a/{slug}?share=krowk_share_{24 base36}) on every artifact response, null otherwise; entering shared mints a fresh token and leaving clears it; a keyless declare or visibility change naming shared is refused asshared_needs_key; andGET /v1/artifacts/{slug}?share={token}answers 200 for the matching token and 404 for anything else.One behaviour it had wrong is fixed with it: a public artifact's metadata read is now scoped to no workspace, keyed or not — matching the registry, where a scope a reader escapes by dropping the
Authorizationheader would protect nothing.Its
Idempotency-Keydigest is also now taken over the declared artifact as an object — the permitted parameters, canonicalized with keys sorted at every level — rather than over a list of fields somebody had to remember to extend, which is howmetadatahad fallen out of it. Two things follow that a field list could not express: a parameter left out stays distinct from one sent empty, and a client that re-serialized its own body between attempts gets its first answer back rather than a second artifact.
29 August 20260.8.2
A spinner on the one thing krowk does that takes long enough to look hung.
- 1 added
- 2 changed
An upload of a few hundred kilobytes over a slow link is four seconds of a terminal that has printed nothing, which is indistinguishable from one that has stopped, so a single line on stderr says what is being sent and keeps moving — naming each file in turn when there are several.
It is not progress and does not pretend to be: krowk hands the file to object storage in one request and is never told how much of it has landed, so a percentage would be a number krowk invented. It erases itself before the durable line is printed, so nothing about it reaches the scrollback and a transcript reads as though the wait never happened. Shown only when stderr is a terminal and the answer is prose:
--json,--quiet,--destination, the paste formats and any piped stream are read rather than watched, and escape codes in a captured file help nobody.Human output now reads as a person would say it, while the JSON envelope keeps every code and every fix string exactly as it was — agents parse the envelope, and none of this reaches them.
- A failure leads with the fix as a sentence rather than with the wire code:
✗ Re-encode below 100 MB or push frames separately.where it used to open onartifact_too_large. The code is still there, dimmed, one line down and in the envelope; a command the fix names is pulled onto its own line so it can be copied rather than picked out of prose, and a fix that names two things to do says both, one per line. - A success reads as a confirmation rather than as the record read back at
somebody who already knows what they pushed:
✓ Uploaded shot.png → https://krowk.com/a/art_2e1d, with the size, the run and the expiry dimmed on the line under it.claim,uploads deleteandruns start/runs finishgot the same treatment —✓ Took art_2e1d down,✓ Finished run run_7f, and no wire timestamp read out at a person. - An expiry is said the way somebody would say it out loud:
expires tomorrowrather thanexpires in 24h, counted in midnights and in the reader's own zone, so an upload at eleven at night expires tomorrow however few hours that is. The MCP server still prints the exact duration, since an agent does better with a number.
- A failure leads with the fix as a sentence rather than with the wire code:
krowk helpis now laid out for reading rather than for completeness: the commands are grouped underPUSH & PASTE,RUNS,UPLOADSandACCOUNT & SYSTEMin two aligned columns, under aUSAGEblock that leads with the one command that matters, and it closes on what to type next.The groups are written down once and filled from the same catalog
krowk help --jsonis rendered from, so a command cannot exist in one and not the other. The machine surface is unchanged.
28 August 20260.8.1
The Krowk mark at the top of
krowkandkrowk help: the four-by-four grid of squares from the logo, drawn in half block characters so that two rows of the grid share one row of text — a character cell is twice as tall as it is wide, so a square of the grid drawn as a whole character would stretch the mark, and half a character keeps it square at the smallest size it can be drawn at.- 2 added
- 1 changed
- 1 fixed
A blank line above and below so it is not jammed against the chrome or the words, and no colour, so it takes the foreground of whatever theme is running.
Under it,
Krowkand the version on one line and what krowk is on the next. It opens what a person reads and nothing else — the JSON surface stays a data structure, and one command's help stays an answer to the narrower question.A moving major tag for the GitHub Action:
uses: krowkcom/cli@v0follows the 0.x line rather than freezing a workflow on one patch release, and each release moves it once the archives and the npm packages are up.A release tag still pins the action and the CLI together, and an explicit
versioninput still wins over both. The tag has no release of its own, so it installs the latest — and the action now refuses to install across a major line rather than hand a workflow pinned to@v0a 1.x binary with a changed command surface.krowkon its own now greets rather than printing the manual.Typing the name to see what happens used to answer with every flag, every exit code and every paragraph of prose — about 150 lines, and neither "what is this" nor "what do I type" was any easier to find for it. It is now the mark, what krowk is, and three lines: the first upload, the key that makes uploads keep, and
krowk helpfor the rest. Those three are the ones the installer signs off with, so a first run says what the install said.krowk helpandkrowk --helpare unchanged and still answer in full, and a program readingkrowk— piped,--json, or with a--jqexpression — still gets the whole surface, since prose is no use to it and the surface is what it came for.The release workflow no longer triggers on every
v*tag, only on a three-component version.The moving major tag is a
v*tag too, and a release run forv0would have tried to cut a release of version "0" and publish it to npm.
27 August 20260.8.0
--link, for the links a piece of work is about — the issue it fixes, the spec it implements, the discussion behind it.- 3 added
- 2 fixed
Repeat it for more than one, up to twenty, and label each with
--link-titleand classify it with--link-rel(tracks,fixes,spec,discussion,source,supersedes, or a word of your own); both describe the--linkbefore them.They land on the run as
krowk.links, an array of{url, title, rel}objects, so a reader can name a link instead of showing a raw URL. A link that is not an absolutehttp(s)URL, one with a space in it, a title over 140 characters or a rel over 64, either of them carrying a tab, a newline or another control character, a twenty-first link, or a set of links large enough to crowd out the detected metadata is refused rather than trimmed — metadata is stored verbatim and nothing downstream validates it again, so a shortened URL would be a link to somewhere else for as long as the record lives.--referenceis unchanged and is now the place for identifiers that are not URLs, such as a bare ticket key.The same links on the MCP
krowk_pushtool, as alinksarray whose schema names the suggestedrelvalues, so an agent picks from the vocabulary rather than inventing one.A GitHub Action,
uses: krowkcom/cli@<tag>, wrapping the CLI for CI: give it files or globs, it installs the binary, pushes them, and hands backurls, amarkdownpaste block ready for a PR comment, therun-slugand thejsonenvelope with its claim tokens stripped — with the links also written to the job's step summary.The pull request, repo and commit are detected from the runner's environment, the same way they are locally. Pinning the action to a release tag pins the binary to that release, an explicit
versioninput wins over the tag, a directory a glob swept up is named rather than handed to krowk, and a**glob on a bash too old for one (macOS ships 3.2) fails saying exactly that while plain globs keep working.Run metadata passed to a push that names an existing run is now reported as dropped instead of vanishing.
krowk push shot.png --run run_… --link …records nothing on that run — a run carries the metadata it was opened with — and both the CLI and the MCP tool now say so innotes, naming the flags and the run.--captionand--metadataare unaffected: they land on the artifact. The keyless note gained--titlefor the same reason: it was dropped and unmentioned.The branch a run records in CI.
GitHub checks out a detached HEAD, where git can only answer the literal
HEAD— the branch is read from the runner's environment instead, preferring a pull request's source branch over the synthetic412/mergeref, and taking nothing from a tag push. A local detached HEAD records no branch at all now, which is the truth of it.
26 August 20260.7.0
The
registry servecommand.- 1 removed
It was a development tool, but it sat in the public help and the surface JSON, where an agent reading
krowk --helpwould take it for a way to host uploads — and host them on a process whose links die with it.The stand-in still exists for developing krowk itself: run it with
make mock(go run ./internal/devregistry) and point commands at it with--devas before.24 August 20260.6.0
Upgrading from 0.4.1 over npm?
- 3 changed
- 4 added
This carries everything 0.5.0 did as well —
--jq, pasted links where a slug is asked for, and the rest — because 0.5.0 was released on GitHub but never published to npm.Every paste form krowk prints now comes from the registry verbatim — the block, the bare link, and the
destinationstable beside them in the JSON envelope.Nothing is assembled in the CLI any more, which is what lets the look of a krowk reference change in a single registry deploy, including for the installs that already exist.
--format markdowntherefore prints the whole block rather than a one-line embed, and several files come back as several blocks separated by a blank line rather than one line each.The bundled agent skill now says plainly what it only implied: never paste a bare artifact link anywhere, use
paste.markdown/paste.urland pick between them with the servedpaste.destinationstable, and reach for--destinationwhere the destination is known.It also nudges: an unclaimed artifact pasted into a pull request, an issue or a doc becomes a broken image once it expires, so the claim step is surfaced to the person before the paste rather than after. A test holds the skill to those lines.
--titleno longer relabels a pasted link.It is the title of the work and lands on the run, as it always did; what a pasted link says about a file is now that file's
--caption, which is recorded on the artifact and read back by whatever renders it.krowk_pushover MCP follows the same rule.--destination <tool>onpushprints what that tool wants pasted into it — the krowk block forgithub,linearand the other markdown surfaces, the bare card link forslack,basecampand the others that unfurl one themselves.A tool krowk has not been told about gets the block, and the push still succeeds: a block where it does not render is informative text, a bare link is a link nobody can tell anything about. Which tool wants which form is the registry's table, served with the artifact and readable at
paste.destinations, so a tool proving out reaches installs that predate it — there is no list of tools inside the CLI. It cannot be combined with--format,--jsonor--jq, which ask for a different rendering of the same result; that is refused asbad_flagrather than silently ranked.--caption '<text>'onpushrecords what a file shows on the artifact itself, askrowk.caption, so whatever renders the link later — a card page, a pull request comment, an integration — reads the caption off the record instead of being told it again at every destination.It is per file and repeatable:
krowk push before.png after.png --caption 'Cart before the fix' --caption 'Cart after the fix'captions each one, a single caption covers a whole set, and a count that matches neither is refused asbad_flagrather than guessed at. Distinct from--title, which stays a label for the work and lands on the run. A keyless push drops it as it drops all metadata, and says so innotes.Ordinary
krowk pushoutput now ends with the ready-to-paste krowk block, so the last thing on screen is the thing worth copying rather than a bare link.--quietstill prints the record and nothing suggested.The paste envelope
krowk registry serveanswers with now carries the krowk block itself — the image, the caption fromkrowk.caption, the link through to the card, and the expiry of an unclaimed upload — beside the bare link and the destination table.It is what the production registry serves, so a paste built against the local stand-in looks like a paste built against production.
21 August 20260.5.0
--jq '<expression>'filters a result inside krowk, with jq compiled in — no jq binary to install and no pipe to build.- 3 added
- 4 changed
It works on every command, implies
--json, and reads what the command rendered: the envelope normally, the bare record under--quiet.A string result prints without its quotes, so
URL=$(krowk push shot.png --jq '.data.artifacts[0].url')is the whole ceremony; anything else prints as JSON, one value per line.krowk help --jsonis filterable too, which is the shortest way for an agent to read the surface. A failure is filtered like any other result, in whatever shape the command rendered it:--jq '.error.error'reads the code out of an envelope, and--quiet --jq '.error'reads it out of the bare body. An expression that does not parse is refused asbad_jqbefore the command sends anything, and one that does not fit the result it was pointed at answersjq_failedafterwards, saying that the command itself succeeded so that a wrapper retrying on a non-zero exit does not repeat the work. A failure--jqcaused is always reported whole, since filtering the complaint with the expression behind it would bury it.auth token,registry serveand--versionprint no JSON, and refuse the flag rather than ignore it — the surface says which commands those are, underno_json. Neither can it be combined with--format human,markdownorurl, since one of the two would have to be discarded.doctorandupgradeanswer with a bare record and no envelope, as they always have, so filter those as--jq '.token_source'.Every command that names a record now takes the link as readily as the slug.
Paste the card page,
https://krowk.com/a/art_…, the CDN URL under it, or the markdown line carrying both, intouploads show,uploads attach,uploads delete,claim,runs show,runs finishor--run— the slug is read out of it, and the MCP tools take one the same way. Anything that is not link-shaped is passed on untouched, so slugs behave exactly as they did.A link carrying no slug of the kind the command wants now fails as
bad_artifactorbad_run(exit 1) before anything is sent, instead of going out and coming back as a record that does not exist.A card link handed to
runs shownames the artifact it carries, and a link carrying two different artifacts is refused rather than acted on — the takedown has no undo.A
--formatnobody has heard of is now refused even when--jsonor--jqwas passed as well.It used to be accepted and ignored, so a caller who meant
--format markdownand mistyped it was told nothing.A claim token is trimmed before it is sent, on
claimand onuploads delete, so one copied with a trailing space or newline works instead of failing as an unauthorised claim.A blank record where one is required is now the command's own missing-argument failure rather than a request.
--run " "— a shell expanding an unset variable — no longer reads as "no run at all", where it used to open a fresh run on a push and widenuploads listto the whole workspace. A blank artifact answersno_artifact(exit 1) on both the CLI and the MCP server, which previously answeredmissing_claim(exit 3, a credential to fix).Failures about a pasted value no longer quote it back.
A URL is where credentials travel, and a refusal is written to stderr and into the JSON envelope.
Try it on your own machine.
curl -fsSL https://gruntas.com/install | bash$ gruntas
Signed in to Claude Max and ChatGPT Pro
This machine joined Kestrel4 others online
Readythe next agent can start here