# Changelog ## Unreleased ## 0.1.0-beta.56 (2026-11-24) This release gives a template eval's graders each call's result whole, up to 120,000 characters, and counts an answer that is one JSON object as its json block. The server's redactor finds secret shapes and held values with one matcher whose work grows with a text's length alone. It withholds a held value a cut only partly covers, a value of several lines across the edge of an answer's pieces among them. A ChatGPT sign-in that ends unsigned says why, and the console's Claude sign-in signs in where AgentRun reads and says how it ended. A parked run's kept computer stays with the runner that kept it. `install.sh --vps` waits out apt's locks on a server that just booted. The console draws share cards as images. The store does not move on either backend, so beta.55 opens a store this release opened. The box image is beta.50's. **Upgrading and going back:** - The store does not move: Postgres stays at migration `0026_run_disk.sql`, with no migration added, and a SQLite store stays at version 15. A beta.55 server or runner opens a store this release opened, and the runner floor does not rise. Going back to beta.55 is its image or package. - Roll the runners with the server: a parked run's kept computer resuming on the runner that kept it (#3604) and a run on "this machine's" Claude login on macOS (#3606) are in the runner. - The Python client `parcha-agentrun` is 0.3.24: it adds the ChatGPT sign-in's `problem` and the Claude login's `sign_in`, `folder` and `machine` (#3600, #3606). No name it exported is gone. - The box image's recipe did not move since beta.50 (hash `ed5aee54d3ea`), so a Daytona snapshot or a relay set up for beta.50 to beta.55 holds. **Known issues:** - Under the image's default command, no run can use a paired computer, a paired Linux sandbox included. Start the image with the server's options alone for one. - A learned workflow refused for a host setting (a tool gated, denied or missing) still reads `serving`, while every run it is given hands back to the agent. A workflow this release's DSL refuses is held. - For up to about 10 minutes after the release is published, an install can fail while npm shows the new packages one by one. Try again a few minutes later. - An API token's `GET /v2/settings/calendar` is refused 403 in the words for saving a secret. Reading the calendar's settings takes the owner's signed-in session in the console, as saving them does. - On Postgres a purge does not reach the database's bytes: `VACUUM` only makes a purged row's space reusable, `VACUUM FULL` rewrites the table, and Postgres's WAL, archived WAL and backups keep the old values for their own lifetimes. - A Daytona sandbox kept while the listing still leaves it out is found by a retry of its request on the same provider instance alone; `list()` leaves it out until the listing shows it (#3488). - A template eval's grader input carries the run's final-file paths uncut (#3556), so a file named after a held value reaches the grader's model with that name. A fix is in progress. - An agent's "Edit" buttons open the coding-agent menu, not the tools editor. To edit an agent's tools, open DETAILED EDITOR, then TOOLS & SKILLS. **Changes:** Templates and evals - An `llm` grader in `agentrun-serve eval-template` reads each call's result whole, to 120,000 characters, instead of its first 8,000, so a rubric that checks a cited figure deep in a fetched page sees it; past 120,000 the longest results lose their middle first, as before. A call's result is redacted as it came, then its URLs lose their query values. A timeline read with `calls=whole` returns the same whole results, at most 100 rows a page (a `limit` over 100 is refused, 400). An answer that is one JSON object and nothing else, after trimming, counts as its json block, for `output`, `result.output_error`, a grader's `target` and an `llm` grader's own verdict. Compact JSON past 8,192 characters without whitespace is no longer withheld for its length: it is read in pieces cut at the end of a JSON string, and a held value or a secret shape a piece's edge splits withholds the text whole (#3528). Redaction - The server's redactor finds secret shapes and held values with one matcher (`redact/match.ts`) whose work grows with a text's length alone. What it cuts is what it cut before, widened: a text that holds a held value only part of which a cut covers is withheld whole, as with a credential parameter's value cut in place and the rest of the same value past a line break, or a value split at the edge of an answer's or a call result's pieces. A held value of several lines (a saved PEM key, a pretty-printed service-account JSON) across that edge no longer shows. An answer or a call's result read in pieces is checked once more as it is about to be shown. A JWT glued to a word (`id_eyJ...`) is found at every site that looks for one, so the console's build gate can now fail a bundle holding one, and the computer's phone words cut it too (#3622). Sign-in and models - A ChatGPT sign-in that ends without signing in says why: `GET /settings/chatgpt` carries `problem` in fixed words (a plan with no use here, a workspace whose admin turned off open-source apps, a refusal a Free plan may explain, a sign-in that waited out its 10 minutes), Settings → API Keys shows it, and the server logs `event=chatgpt chatgpt=sign_in_failed reason=…`, never a token or a code, which `agentrun` started from a terminal now prints. A sign-in saved whose change the server failed to take is taken again at its next read, not after a restart (#3600). - Settings → Model keys' "Open the CLI's sign-in here" signs the claude CLI in at the login's own folder, so the login reads signed in afterwards. `GET /v2/settings/claude-login` says what became of a sign-in the server started (`sign_in`: `waiting`, `signed_in`, `timed_out`, `failed`, `not_started`), one no browser answers within 10 minutes is ended and says so, and the view names the folder it checks (`folder`, and `machine`, which follows `CLAUDE_CONFIG_DIR`). "This machine's" login is signed in and checked as the person's own claude CLI runs, in their home, so on macOS it no longer reads signed out while `claude auth status` says signed in. The status check never runs the CLI on the person's own `.claude.json`: it reads a copy without its secret fields (#3606). - The approvals route's description says what an allowed call does when the runner loses its claim mid-call: a read may run again on the next claim; a call with a side effect never does, and is answered as interrupted. A test pins both (#3548). Computers - A parked run whose desktop, phone or sandbox was kept at its park on a Docker engine, or on a machine that dials the server, resumes on the runner that kept it while that runner is live, so a server with several runners gets the same machine back and no longer leaves the kept container running. A stop or a cancel never waits for that runner. Once it is gone, any runner claims the run and starts a new machine, and the timeline says so. No schema change (#3604). - The Docker reason a server in a container gives depends on which container it is: AgentRun's image says so itself (`AGENTRUN_IN_IMAGE=1`), so a Kubernetes pod gets the socket advice too, which now says the host's Docker socket is root on the host; any other container gets the host's words, prefixed "This server runs in a container." (#3625). Import - `wrappedHome(home, year)` reports a year of work under a home: tokens, requests, days, hours of the day, weekdays and time at work, by model, harness and source, each bucketed by its request's time in the machine's local zone, with cost at the catalog's list price and `unpricedRequests` counting the rest. It holds counts, names and times only. `parseHome` takes a `requests` option, called with each session's totals and its requests (#3559). Install and deploy - `install.sh --vps` waits again for apt's other locks on a server that has just booted, the archives lock apt-daily's download holds included, which made the Docker install fail at once; it still stops on dpkg's lock after apt-get's own 600 s wait, and apt-get runs under `LC_ALL=C`, so the lock messages match on a server set to any language (#3621). - `deploy/fly/launch.sh` stops before it makes a secret when `fly secrets list --json` has entries without a `name`; `install.sh --vps` no longer tries dpkg's lock again after apt-get's own 600 s wait; a start refused for an earlier version's data in a folder the installer set up says moving it takes the installed agentrun with it; `GET /v2/openapi.json` names the owner's session cookie as the console sets it (#3615). Console - The console draws a share card as an image, with one renderer for every picture card, a free run's receipt and each Wrapped card among them: a 1200 by 675 SVG and data URL in the console's tokens and fonts that loads nothing, dark unless asked for light, and a PNG for a download in the browser (#3582). - The build composer on `#/agents/new` has a 14px corner, down from 16px (#3586). Tests and CI - CI reports its required checks sooner: a branch's pull request runs its test shards on Blacksmith, the `any` pool has sixteen shards, `lean` waits for its two shards alone, the store's suite on Postgres runs as four jobs (`npm run test:pg -- --shard=/`), and `npm run test:affected` no longer picks tests by a file name alone (#3618). The fake Slack and store-mcp-claim's M7 are steadied (#3587, #3571). ## 0.1.0-beta.55 (2026-11-23) This release runs agents on the models of the machine's own Ollama, with no key and at $0, and gives a server with no Parallel key web search and fetch out of the box, through Firecrawl's keyless endpoint with keyless Exa behind it (see Breaking). A plan-billed harness recipe's own keys are saved on the server, sealed for that harness, so its scheduled and triggered runs run. The session readers behind import are a package of their own, `@parcha/agentrun-import`, published for the first time. The console gains a demo mode filled with a sample company's agents and runs, a race view of runs side by side, and a Running now list of every run holding a computer, read through the new `GET /v2/computers/running`. A launch hook's host start now keeps the trigger's target, cap and effort, `agentrun deploy` no longer makes a second agent on a target it has no lock for, and every command takes the server's address with or without `/v2`. A template eval's grader reads the run's files whole, cut on the server through the new `?cut=run`, and AgentRun Server deploys to Fly.io in one command and to a DigitalOcean Droplet from its first boot. The store does not move on either backend, so beta.54 opens a store this release opened. The box image is beta.50's. **Upgrading and going back:** - The store does not move: Postgres stays at migration `0026_run_disk.sql`, with no migration added, and a SQLite store stays at version 15. A beta.54 server or runner opens a store this release opened, and the runner floor does not rise. Going back to beta.54 is its image or package. - Roll the runners with the server: a trigger's message held until a pi turn ends (#3526), a harness's saved keys opened at a run's claim (#3473) and the web tools' new defaults (#3496) are in the runner. - A server with no Parallel key now sends `web_search` queries and `web_fetch` URLs to Firecrawl's keyless endpoint, and Exa's behind it. To keep URLs on the server, `PUT /v2/settings/tools` with `{"web_fetch":{"provider":"kernel"}}` and every other tool setting the server holds, since the PUT replaces the whole map (#3496). - A launch hook host: drop `revision`, `hold` and `hold_minutes` from the start of a handed firing, now 422 `not_allowed` (#3470); a program that passed `launchHook.timeoutMs` to `serve()` drops it (#3512). - A server with no model key and Ollama running on the same machine now starts the runs it refused before, on Ollama's first model that calls tools. A saved agent that names no model follows that default; name the model to pin it (#3492). - `agentrun deploy AGENT_ID` does not read a lock beta.53 wrote: its next deploy finds the agent it made on the target, stops with exit 2 and names it, and `--agent ID` deploys onto it (#3476). - A server opened at a port other than its socket's (a published container port, an `ssh -L` tunnel) asks for one sign-in again after the upgrade: on plain http its session cookie is now named for the port the browser opened (#3599). - The Python client `parcha-agentrun` is 0.3.23: it adds the harness keys and running computers reads and `cut` on a run file's read, and a refusal's message carries the server's reason (#3473, #3509, #3556, #3506). No name it exported is gone. - The box image's recipe did not move since beta.50 (hash `ed5aee54d3ea`), so a Daytona snapshot or a relay set up for beta.50 to beta.54 holds. **Breaking:** - `web_search` and `web_fetch` default to Firecrawl's public keyless MCP endpoint where the server holds no Parallel key and the harness has no native search; no key and no header of ours is sent, and a Parallel key, when set, still wins. `web_search` asks keyless Exa when Firecrawl's free limit is spent or it refuses. `web_fetch` gains `auto`, the new default, and `firecrawl-keyless`: Firecrawl sees each URL it reads, query string included, but never a private, loopback, link-local or intranet URL, or one holding a user name or password. Who breaks: a server with no Parallel key that kept URLs on the server; the Upgrading block above says how to keep them (#3496). - Launch hook: a host's start for a handed firing (`trigger_firing`) with `revision`, `hold` or `hold_minutes` is refused with 422 `not_allowed`, naming the field. In beta.53 they were taken, so a host could start the firing's run on another revision or hold its computer (#3470). - `serve()`'s `launchHook` option no longer takes `timeoutMs`: the host always has 10 seconds to answer a firing, as with `AGENTRUN_LAUNCH_HOOK_URL` (#3512). **Known issues:** - Under the image's default command, no run can use a paired computer, a paired Linux sandbox included. Start the image with the server's options alone for one. - A learned workflow refused for a host setting (a tool gated, denied or missing) still reads `serving`, while every run it is given hands back to the agent. A workflow this release's DSL refuses is held. - For up to about 10 minutes after the release is published, an install can fail while npm shows the new packages one by one. Try again a few minutes later. - An API token's `GET /v2/settings/calendar` is refused 403 in the words for saving a secret. Reading the calendar's settings takes the owner's signed-in session in the console, as saving them does. - On Postgres a purge does not reach the database's bytes: `VACUUM` only makes a purged row's space reusable, `VACUUM FULL` rewrites the table, and Postgres's WAL, archived WAL and backups keep the old values for their own lifetimes. - A Daytona sandbox kept while the listing still leaves it out is found by a retry of its request on the same provider instance alone; `list()` leaves it out until the listing shows it (#3488). - A template eval's grader input carries the run's final-file paths uncut (#3556), so a file named after a held value reaches the grader's model with that name. A fix is in progress. **Changes:** Models and harnesses - The server lists the models of this machine's Ollama itself, as `ollama/` on pi, with no key and no gateway. Start Ollama and its models are in capabilities, the Model picker and pi's free models within half a minute, with no restart. `OLLAMA_HOST` says where it listens, read as the ollama CLI reads it (plain http to loopback alone). Unset, it is 127.0.0.1:11434 only on one owner's own server on their own machine (the rule `--harness-sign-in` starts under); a shared server asks Ollama only where `OLLAMA_HOST` names it. A refused `OLLAMA_HOST` is said once in the server's log, never its value. Requests go to Ollama's own `/api/chat` with `num_ctx` the least of 65,536, the model's trained context and `OLLAMA_CONTEXT_LENGTH` when it is set. A model without the `tools` capability takes its tools as text. They cost $0 and never count toward `AGENTRUN_FREE_MODEL_REQUESTS`, and the console shows no request limit for them. With no model key held, pi's default is the first Ollama model that calls tools; any key wins. A down or stuck Ollama lists nothing and stalls nothing (#3492). - On upgrade: a server with no model key and Ollama running now starts the runs it refused before, on Ollama's first model that calls tools. On a server with an OpenRouter key, Ollama's models head pi's `free_models`, before OpenRouter's free ones. Pulling a model can change the no-key default, and a saved agent that names no model follows it: name the model to pin it. - `agentrun service install --env OLLAMA_HOST=` gives the service an Ollama off its default address. A service that reaches Ollama through `AGENT_MODEL_BASE_URL` keeps working as before; under a gateway, Ollama is never asked. - A run's page names the model it ran on, a run on the host default included, read from its `tokens` usage line: "qwen3:8b · local (Ollama)" for an Ollama model. - A run that names no model, on the host's Ollama default, no longer stays refused once that tag is removed from Ollama. Past the listing's half minute, a tag that no longer answers lists Ollama again once, and the run goes to the next model that calls tools, or gets the no-model words. An agent that names `ollama/` keeps it. - A model without the `thinking` capability whose answer opens with `` has that part as thinking up to ``, so the tags stay out of the answer. - `CapModel.local` marks a model on the host's own machine: free, and never counted toward the server's free-model limit (`limitedFree`). An agent's own `max_requests` still counts its requests, beside the run's other free ones, so a run on Ollama stops there. - Capabilities show pi as available only when a run started now has a model: a key, the gateway's model, the ChatGPT plan, the faux model, or an Ollama model that calls tools. An Ollama whose models take no tools keeps them in the picker, but pi reads not available. With no model, pi's words name Ollama first where the server asks one: "No model yet: start Ollama and pull a model with tools, or add a model key in Settings → Model keys". A shared server with no `OLLAMA_HOST` asks no Ollama, so its words name a key alone. A key saved or an Ollama started later turns it available with no restart. - A server saves a plan-billed harness recipe's own keys, sealed in its store for that harness alone. The owner pastes them in the console's new Settings → Harness keys page (`agentrun harness keys` prints its link), or through `PUT`/`DELETE /v2/settings/harness-keys/{harness_id}/{key}` from the owner's signed-in session; the API token reads `GET /v2/settings/harness-keys` and never writes one. Each claim of a run on the harness opens that harness's keys and no other's, lays them on the agent's start alone, never on its tools, and cuts them from the timeline, errors and the agent's output, a replaced or removed value too. With every key saved, the recipe's runs run on them ahead of the owner's own sign-in, and its scheduled and triggered runs and `message_run` trigger turns, refused until now with `HARNESS_KEYS_NOT_SAVED`, run too. A start runs only on the keys its claim opened, all or none: a run no person started (a scheduled or triggered run, a learned workflow's audit shadow or replay) whose claim opened not every one is refused at its claim, never put on the sign-in, a trigger's message to a person's run that started on the sign-in is refused in that run, keys saved since or not, and a variable of a key's name in the server's own environment is never handed to a run. `harness-check` still reads its keys from the shell's environment alone (#3473). - A run on your Claude or ChatGPT plan counts each plan request once in its cost's `plan` even when its booking was written twice, its spend cap no longer reads a plan request in flight as not priced, and a workflow decision on such a run is charged what its provider charged instead of the plan's $0. A decision whose charge was lost reads as unknown (`cost.usd` null), never as a known $0. New runs only: nothing is backfilled (#3510). - `GET /capabilities` no longer serves pi as available on a server with no model key and no ChatGPT sign-in, and its `needs` says what the default model lacks; `features.sdk_runs.max_open_s` says it bounds a run that keeps sending batches, and an SDK run that gets no batch closes an hour after its start (#3506). - A trigger's message that reaches a pi run while the turn that calls `ask_person` is still running waits for the turn to end, as it already did on Claude Code, Codex and OpenCode, so the run parks on the question and the message runs after the person's answer. Before, pi ran it at once and the run ended with the question unanswered (#3526). - `GET /v2/capabilities` says whether the Claude Code login routes answer here (`features.claude_login`), and the console's Settings → API Keys asks for the login only where they do, so a Docker server's Keys page no longer logs a 404 at every visit (#3501). Triggers and the launch hook - A run the host starts for a handed firing starts on the trigger's target, as a run the server starts for it does: its cap is the lower of the target's and the host's, the target's effort wins, and the trigger's last result follows its input. A hook that does not take a firing is a failed try under the trigger's retry policy (`hook_failed`, its reason never the hook's URL), a firing counts once toward its trigger's failure streak, and a firing the host took with no run yet holds its trigger's room until its run starts or its `start_by` passes (#3470). - A firing the server is still handing over, or whose run the host is starting, holds its trigger's room as a run in progress: a late host start that would pass `max_active_runs` is 422 `not_due`, two host starts at once for one place or one firing start one run (the second firing's 202 is `idempotent-replayed: true`), and clearing `max_active_runs` no longer leaves a waiting firing held behind one run (#3507). - A key a run brings in `keys` or `model_key` is visible ASCII alone (`!` to `~`); anything else is 422 `invalid`, the value never echoed (#3470). - With `AGENTRUN_RUN_KEYS=1`, a `message_run` trigger whose run owes a tool key the server does not hold fails each firing with 409 `agent_not_runnable` naming the key, and a message refused for a key gives the same `details` as a refused start (#3512). - An update apply that skips a template's trigger and leaves an enabled one of that name says it is kept and still fires, and how to turn it off (#3512). - `agentrun-serve eval-template --server URL` stops before any run, exit 2, when that server runs with `AGENTRUN_RUN_KEYS=1` and lacks a tool key the package declares, naming the key (#3512). - The README no longer says every run on an API-only server starts through the backend: without the launch hook, a schedule or feed trigger the agent had before the profile still fires on the server, on its keys, until the agent is archived (#3470). API-only servers and purges - An API-only server saves Composio MCP servers with its token by the key's name (`"api_key_env": "COMPOSIO_API_KEY"`), never the secret, and deletes only the servers its token saved; an owner's server stays the owner's, the key goes only to Composio's own origin, and a run of a server whose variable is unset is refused before it starts (#3460). - An API-only server's token purges a run of an agent made here, a deployed agent's included, as the full server does: `204`, `409 run_not_final` while it or a run made from it is live, every other route of it `410 purged`. Before it was the profile's `404`, though the same token could delete the whole agent (#3538). - A run's purge takes off main only what that run put there: a learned workflow it revised goes back to the version before it, so another run's champion keeps serving, and a check that ends after the purge records a hold, never a promote. A workflow still on main that a purged run wrote reads `410 purged`; a purge that can't read the learning folder's history answers 503 and takes nothing off main (#3458). - A run read whose costs were counted without the purge gate's answer now says so with `cost.degraded: true` (absent on every other read), and a learning folder that fails to close after the gate's ask is logged wherever the gate is asked, never dropped (#3510). Computers - `GET /v2/computers/running` lists every run still going whose agent has a computer, newest first, each as `GET /v2/runs/{run_id}` answers it, with its `computer`; it takes the server's token and an API-only server serves it. The console's Settings → Computers opens on it as Running now, read every 10 seconds while shown (#3509). - The Groundbox provider's `apiUrl` must be https, a loopback host's included: an `http://` URL is refused, so the key never crosses in the clear (#3487). - A write to a command on a Groundbox computer no longer fails with "the process has ended" when the command reads it and ends at once. The write checked for the command's fifo after writing to it. A line the command ends on (`exit`, the last line of a `while read` loop) reached the command, and the write still failed whenever the command's shell had removed the fifo first. The write now checks the fifo after opening it and before writing, and once every byte is in the fifo the write is made. A write to a command that ended before it, or while it was writing, still fails with "the process has ended". A fifo gone before the write opened it now gets none of the write's bytes; before, they went into a file the write then removed (#3508). - computerd's tar extract makes a directory an entry's path needs, but the archive doesn't name, `0755` whatever the umask (under init's `umask 077` it came out `0700`), so a `FolderSync.push` of files without their directories no longer records a `0700` mode in the folder's meta (#3487). - A server in a container whose read of the Docker host's addresses failed at its start reads them again in the background (15 s, 30 s, 60 s, 120 s, then every 4 minutes), and offers Docker once one answers, with no restart; the read's helper containers no longer pile up (#3483). - A server in a container says why it has no Docker box in words a container can act on: with no Docker socket, that its agents get file tools and `web_fetch` but no shell and that `docker compose up -d` from `compose.yaml` gives it one; with a socket it may not use, to set `DOCKER_GID` in `.env` (#3603). Import - New package `@parcha/agentrun-import`: the session readers serve's import used (Claude Code, Codex, pi), as a library of their own, with a registry a new source joins in one line. A reader discovers locators (`{ file, id? }`, the id for a file that holds many sessions) under a home and reads one into sessions from a cursor it owns. serve's import, its summary, eval-previous and the remote history export now read through it; `import-sources.ts` is gone from serve (#3498). What changed in the numbers: - Claude Code: a session's id is its file's name, as Claude Code names it; serve took the first record's `sessionId`, which put a resumed session's file that opens with a copied record under the session it copied from. A record copied into a later file counts only in the first, and a file holding nothing but copies is no session. A request's key is now its message id with its request id; a store imported before holds the bare message id, which still marks a later file's copy of that request, so it is not counted twice. - Claude Code: a request written as several lines (one per content block, same `message.id` and `requestId`) counts at its last line's usage, which holds the final counts; serve took each field's largest value across the lines (`most()`), which could pair one line's input with another's output. - One usage reading for every source, `normalizeUsage`: `input` is the input neither read from nor written to the cache (Anthropic's `input_tokens` as written; OpenAI's and Codex's with `cached_input_tokens` taken out), `cacheWrite1h` its own bucket, and `reasoning` kept beside `output` where the source gives it. Codex counts each request's `last_token_usage`, never `total_token_usage`. - `parseHome(home, { sources })` returns each session's totals, its subagents' requests counted under it and not again as sessions of their own (a subagent whose session is not under the home is a line of its own, with no turns of the person's). A JSONL file's cursor (device, inode, byte offset) lets a second pass read only the bytes appended since; a truncated or replaced file is read from its start, and a last line still being written is not consumed. A second pass returns what a fresh one would: when a file holding a copied record now comes before the file it counts in, the source is read again. - `node packages/import/dist/cli.js [--sources claude-code,codex,pi] --known-answer` prints one JSONL line per session, sorted by key (the sha256 of its path relative to the home): tokens, cost (null when unknown), turns and calls. Numbers only: no content, titles, directories or paths. `--help` prints the usage and exits 0. A file that cannot be read prints no answer: one stderr line per file (source, key, error code) and exit 1; `parseHome` hands such files back in `failures`, or throws `ReadFailures` without it. The CLI imports pi-ai statically for its prices (a dependency of the package, so `npx @parcha/agentrun-import` runs it), so it compiles with `bun build --compile` (pi-ai bundled) and prints the same bytes as under Node; without pi-ai the build or the run fails instead of pricing nothing. - `parseHome` and `agentrun-import` import a large history at node's default heap: each read's sessions are packed into the counts the totals need, so a history that peaked at 4.16 GiB peaks at 2.4 GiB, 3.6 times faster, with the same answers. A `HomeState` an earlier version kept is rebuilt from the start (#3601). Templates and evals - A template eval's llm grader reads the files the run left whole, ahead of its calls, each text file in its own `` block up to 120,000 bytes in all, where before it saw a file only through the calls that made it, cut at 2,000 and 8,000 characters. It reads them through `GET /v2/runs/{run_id}/files/{path}?cut=run`, new here: the file's UTF-8 text with every value the run's timeline is cut of, and every secret shape, replaced by `[redacted]` on the server that holds them (`x-agentrun-cut: run`; 403 when the run's cut can't be read, 415 for a file that isn't UTF-8 text, 413 over 256 KiB). The clients and the CLI take `cut` (`agentrun runs read-file RUN_ID PATH --cut run`). The JWT and private-key shapes no longer hold the event loop over a long run of their prefix: under 100 ms over 256 KiB, finding what they found before (#3556). - A template eval no longer gives up on a run a runner holds just because its first rows haven't shown yet. A run's view reads `queued` until then, and the eval used to cancel any run still `queued` after 2 minutes, saying "no runner took it (state working)" about a run a runner had claimed. Now, when a run reads `queued` past that limit, the eval checks the run's `claim`. While a runner holds the run, the limit starts again and the run gets its own 30-minute limit. A run no runner holds is cancelled with "the run stayed queued for 120 s with no runner holding it". The cost: a run a runner holds that never shows a first row now waits the full 30 minutes instead of 2. That covers a runner that keeps renewing its lease while stuck starting a box or computer, a claimed workflow run waiting for a slot, and a raised run waiting to start. A paid box can be held that long, and the run's own limit is what ends it. `agentrun template eval` now passes a stop on to the eval through the same code as the other server commands. A launch that fails, or a signal it didn't pass on, is now explained, as for those commands (#3489). - `agentrun template eval DIR --case NAME` now refuses a case the package doesn't have (no folder `evals/NAME`) by itself, before it starts the server's launcher, and exits 2. It uses the server's wording, and both list the package's cases in name order: the server's refusal now sorts them itself instead of depending on the order the folder listing comes back in. The server still checks each case it runs. One change: when a package is malformed and a case name is also mistyped, the case error now comes first, and the package's problems show once the case name is right (#3505). - `GET /v2/templates/{template}` now says, in its OpenAPI summary, that the package's instructions and skill files are what the new agent will be told, not instructions to whoever reads them. An imported package's text is a third party's. Every surface generated from that summary carries it: `agentrun template get`'s help, the TypeScript client's and Python client's `template.get`, and the CLI skill's command reference (#3489). CLI, clients and deploy - Every command takes the server's address with or without `/v2`: `--base-url`, `AGENTRUN_BASE_URL` and the config file's `base_url` get `/v2` added when the address's path holds no `v2` segment, as `--to` already did, and a path prefix is kept (`https://host/prefix` is `https://host/prefix/v2`). Before, an address without `/v2` sent every command but `deploy --to` and `login --to` to the wrong path (#3500). - The token in the config file is found for its address with or without `/v2` (a config written by `agentrun login --base-url https://host` still works with `https://host/v2`), and only for that origin and path. `agentrun login` now keeps the address with `/v2`. - The device sign-in takes only a short user code: 1 to 32 printable characters with no space. A server that sends anything else is refused before any code is shown, and nothing is written. - On a terminal, `agentrun login --base-url` to a server that can't be reached (exit 3), that offers its sign-in over http off this machine (exit 2), or that redirects or sends a malformed offer (exit 1) exits with that code, as `--to` does. Before, each exited 2 with a second line about typing a token. - A hidden file or folder inside a package's `skills/`, `rules/` or `evals/` (a `.env`, a `.DS_Store`) is no part of the package: `agentrun deploy` does not send it, and the server's package reader leaves it out of an upload, a GitHub import and a folder alike. That holds directly under each tree too: `rules/.private.md` is not copied beside each skill, and `skills/.DS_Store` or `evals/.cache/` no longer gets the package refused. A hidden folder at the package's top (a repository's `.github/`) is left out as a hidden file there already was, where it was refused as a folder other than `skills/`, `rules/` and `evals/` (#3476). - Deleting an agent removes its uploaded package only when the upload stored under that name is still the one the agent was applied from (its sha256): a newer upload of the same name, waiting for its apply, stays. - `agentrun deploy` prints a target's 501 as every command prints one, the unsupported error with its reason, and exits 5. - `agentrun deploy AGENT_ID` from an install that refuses its trigger routes, or is not reached once the deploy is applied, exits 0 as deployed: it says the agent's schedules there could not be read (with `--pause-source`, read or paused), with the install's status and message, and never says a schedule it did not turn off is paused. It used to stop there, exit 1 with no answer on stdout, the agent already deployed. An install whose answer stops after its headers (its connection closed) is one not reached. - `agentrun deploy AGENT_ID` keeps each lock in a file of its own in the CLI's config (`deploy..json`, 0600), and each address it deployed to as an empty file under `deploy-targets/`, so two CLIs deploying at once never write back what the other changed, and none waits on another's save. - A lock 0.1.0-beta.53 wrote for `agentrun deploy AGENT_ID` is not read: the next deploy finds the agent it made on the target by its package and parameters and stops, exit 2, naming it, and `--agent ID` deploys onto it. A folder's lock is read as before; a folder deployed to an address other than cloud needs `--to` once. With 0.1.0-beta.53, `agentrun deploy AGENT_ID --to URL` with no lock made a second agent there, whose schedules fire beside the first's. - `agentrun deploy` with no lock for its target, where the target already has an agent this package made with these parameters, stops (exit 2, nothing applied) and names it: `--agent ID` deploys onto that agent and the lock names it after, `--agent new` makes another on purpose. With a lock, `--agent` may name only the lock's agent. The apply's plan (`dry_run`) lists those agents as `twins`, by the same rule as the apply's `duplicate` warning; empty for a revise. - `agentrun deploy` to an install that never makes one of the package's triggers (a webhook on an API-only install) prints it as skipped and no longer counts it as made later: the lock names the package, the next deploy of the same files is up to date, and "Not made on ... yet" names only a trigger the install makes once it is set up. Each skipped trigger in the apply's plan has a `code` beside its `reason`: `not_set_up_here` or `not_an_option`, as the apply's warning for it. - An agent's export names the keys its apply kept on the revision; the export report no longer has a `secrets` entry, and `report.blocked[].kind` and `report.remade[].kind` no longer list it. - The skill's command reference names each route a hand-written command calls (`agentrun export`, `agentrun deploy`, `deploy rollback`, `deploy delete`). - A correction to 0.1.0-beta.53's note, which said an export "no longer copies a credential in the clear into a package": it no longer copies a field named like a credential, or an address with a user part or a credential-named query parameter. A credential under any other name is copied as it is. - The TypeScript and Python clients' refusal messages now include the server's reason. Before: `The server refused GET /agents: 422 invalid_input.` After: `… 422 invalid_input: name is taken`. The reason comes from the error object the client already keeps (the API key cut from it), on one line, at most 300 characters. After a request whose body carried a secret, it stays the code alone (#3506). - `npx @parcha/agentrun` no longer opens with a deprecation warning for secretlint's preset: serve takes secretlint 14.1.0, whose core holds the same 28 rules (#3502). - `npx @parcha/agentrun` started over an earlier version's `~/.agentrun` gives the two ways on as commands to paste: move the old folder aside whole, or start on a new folder with `--data`; nothing is deleted either way. On plain http the console's session cookie is named for the port the browser opened, so two servers on one machine no longer sign each other out (#3599). - Two more ways to run AgentRun Server: on Fly.io, `sh deploy/fly/launch.sh ` deploys the release's image on one Machine with a 10 GB volume, making the token and the seal key once as Fly secrets; on DigitalOcean, `deploy/digitalocean/user-data.sh` as a new Droplet's startup script runs the `--vps` install on its first boot (#3533). - The image stops before it starts the server, in one line, when its `--data` directory is there but its user can't write it, as with a volume mounted as root's (#3533). - `install.sh --vps` waits up to 600 s for another apt-get to finish before it installs Docker, as on a server that just booted with cloud-init or unattended-upgrades running (#3533). Console - Settings has a Demo page whose switch fills the console with a sample company's nine agents and a month of their runs, in this browser alone: no run starts on the server, nothing is spent, and every action the tour reaches works on the sample data in the page's memory. A strip across every page says it is sample data and turns it off (#3511, #3558). - A race at `#/races/