Repository navigation
AgentRun v0.1.0-beta.74
Pre-release
Pre-release
·
40 commits
to main
since this release
agentrun deploynames the workspace it deploys to, and links the agent's console page. Where the target servesGET /v2/caller, the plan's header, the apply question and theDeployedline sayin the workspace "NAME" (ID), the workspace the key acts in. After the apply, anOpen it:line gives the agent'sconsole_url. The JSON on stdout gainsworkspace({id, name}, else null) and, on a deploy,console_url(else null).- The caller is read after the upload and its plan, so a deploy refused before them still sends nothing. A target that serves no caller, names no workspace, or fails the read gets no workspace words, and the deploy goes on. A console page read that fails takes nothing back from an applied deploy. Each of the two reads gets 5 s, its answer's body included; one that takes longer is read as failed. With
--pause-source, the source's schedules are paused before the console page is read.
- The caller is read after the upload and its plan, so a deploy refused before them still sends nothing. A target that serves no caller, names no workspace, or fails the read gets no workspace words, and the deploy goes on. A console page read that fails takes nothing back from an applied deploy. Each of the two reads gets 5 s, its answer's body included; one that takes longer is read as failed. With
- New command
agentrun whoami. It prints the server the CLI talks to, where the key it sends comes from and, where the server says, who that key is:{base_url, key, key_file, accepted, caller}.keynames the source only (AGENTRUN_API_KEY,agentrun login,AGENTRUN_TOKEN, or this machine's server token) andkey_fileis the file that holds it, or null. No part of the key is printed: no prefix, no last characters, no hash.- Where the server's capabilities say
features.caller: true, the key is checked onGET /v2/caller, andcalleris its answer:{kind, key, workspace}, the credential's kind, its key's id and name, and the workspace the request acts in. Only those fields are printed. - Elsewhere the key is checked on
GET /v2/agents?limit=1, the readagentrun loginchecks a token with, andcalleris null.accepted: truecomes only from one of those two reads. Capabilities answers any caller, with no key or a revoked one, so it can't vouch for a key; whoami reads it with no key. - The address and key are chosen as every other command chooses them, so this machine's server token goes only to this machine's server.
- Exit codes match the other commands: 4 for no key or a refused key (with the same words as a refused key elsewhere), 3 for a server not reached, 1 when the check answers 200 with something other than a caller or an agents list.
- Where the server's capabilities say
- A race in the console is judged, two ways, and every lane shows its final answer under its timeline once it ends.
- The quick judge starts on its own when every lane has ended. It is a workflow of two Jev decisions over the lanes' final answers, blind (each lane is a letter): a
siftscores each answer 0 to 2 on correct, grounded (its claims tied to a source it names) and complete, and apickchooses the best, with each answer's chance of being it. It answers in seconds, for well under a cent. - The deep judge runs when asked, on a harness and model picked beside the button (Claude Code on an Opus model where it runs). It is an agent that reads every lane's whole run (the run's export, given to it as files, blind) and returns a schema-checked evaluation: each lane scored 1 to 5 on correct, grounded, complete and efficient, its strengths, its issues by severity with the record row that shows each, a ranking, a winner and a written report. It runs live under the race, like a lane, and can be asked again.
- Both show as a scorecard: the winner, a table of scores, each lane's findings and the report, with each letter shown as its lane's harness and model.
- A judge is a run with the race's label and a
rolelabel (quick-judgeordeep-judge); itsblind.<letter>labels say which lane each letter was.agentrun race showlists lanes only and leaves a race's judges out.
- The quick judge starts on its own when every lane has ended. It is a workflow of two Jev decisions over the lanes' final answers, blind (each lane is a letter): a
POST /v2/runsandPOST /v2/agents/{agent_id}/runstakeAgentRun-Replay-Only: true(replayonly/1): the create reads the answer itsIdempotency-Keyholds and starts nothing. A caller that lost a create's answer learns whether that create started a run without sending the create again. Capabilities says a server takes it withfeatures.replay_only: true.- The body is not read (send
{}), and nothing is checked, saved, held or started: no agent, revision, run, computer or folder. 202withIdempotent-Replayed: true: the key's kept answer, or the run the store started under the key as it reads now (its answer lost to a restart), with itsLocation.inputis null: the read holds no body to give back.- The body is the run's read (
GET /v2/runs/{run_id}): none of the launch secrets the create was handed (mcp_auth,model_key,keys), and their values cut from its words. - With no run in the store under the key,
409 idempotency_in_progress(retryable) while a create under the key is at work on any server on the store, from before its body is read until it answers. Each create sent under a key now marks itself at work in the store (one settings row, removed on every exit); a mark older than 10 minutes, left by a server that went down mid-create, counts for nothing and the next read removes it. The mark never decides the create: one the store refuses to write is logged and the create goes on unmarked (a read on another server then answers 404 until the run is in the store), one it refuses to remove is logged and counts for 10 minutes at most. 404 not_foundwhen no run was started under the key. A create that reaches the server after the read is not seen by it.- The key is the route's and the workspace's, as the create's is: a key sent to the other create route, or in another workspace, is 404.
Idempotency-Keyis required with it, and any value buttrueis 400. A server withoutfeatures.replay_onlyignores the header and creates: check capabilities first.- The generated clients and the CLI take it as each create's header:
agentrun runs start AGENT_IDandagentrun runs create-inline-runwith--agentrun-replay-only true.
- The body is not read (send
agentrun loginandagentrun login --shareno longer answer a token the server knows but refuses its check (403) with the words for a secret write ("A secret is saved, replaced or removed only from the owner's signed-in session in the console"). They now say the token lacks the scope the check needs and name it from the server's answer (details.required_scope, as hosted AgentRun sendsexperts:read or agentrun:deploy). A scope is named only when it is plain and holds no piece of the token; otherwise the CLI says the token is not allowed the check and names none. A 403 on a secret write keeps its words. The exit code stays 4 and nothing is written.agentrun runs start --wait --timeout Nno longer gives up on a start it has already sent. A server can make the run before it answers the start (hosted/v2does), so a start answered after N seconds used to leave a running, billing run that the CLI never named. Now, when N is under 45, the CLI waits for that answer until 45 s after the command began (a longer N keeps its whole length), prints the run, and ends the wait as any wait past--timeoutends: exit 1 andwait again with agentrun runs wait <id>.- No start is sent again once
--timeouthas passed: a retryable refusal that arrives after it ends the command, exit 1, naming the Idempotency-Key. - A server that never answers the start is now given up on at the later of N and 45 s, not at N, with the same exit 1 and words that name the bound.
- A started run whose later reads fail (a refusal, or no server reached) is named on stderr, with how to wait for it again, whatever
--timeoutis.
- No start is sent again once
- A keyed Parallel extract is charged the URLs Parallel's own
usagesays it billed, at its list price, never above the hold. Parallel bills no URL it lists inerrors: for a page it could not read (a PDF, say) it answers 200 with no results, the URL inerrors, and an emptyusage. Such aweb_fetchread nothing but was booked $0.001 all the same; it now books nothing. An extract whose answer has nousagefield, or one this server can't be sure of (a SKU it doesn't know, a count that isn't whole), is charged the hold as before: an unknown is never free. A search is charged as before.parallelChargeOfis exported besideparallelFeeOf. agentrun sharenow names the values a run's text already held redacted where the run was stored, before the export cut anything. A bundle with 9 such marks and no new cuts used to print "0 cuts; 0 restorable, 0 restored", which read as nothing sensitive found. It now prints "9 already redacted where the run was stored; 0 new cuts; 0 restorable, 0 restored." The JSON summary carries the same count asalready_redacted, counted the wayagentrun-serve scrub --countcounts it.agentrun share RUN --dry-runagainst a hosted API no longer prints and opens a share preview link that answers 404. The CLI first asks the server for the run's preview page, with no token. It names and opens the page only when the server serves it, as a localagentrun-servedoes. A server that serves no page gets no browser and no link: the CLI says the preview is local-only and that the printed summary is the run's review. The JSON summary'spageisnullthere, with--outas well.- Publish a Discord release card after the verified GitHub release and celebrate new 100-star milestones in the community announcements channel, starting at 1,300.
Install
- Server:
npx @parcha/agentrun-serve@0.1.0-beta.74; every@parcha/agentrun-*package of this release is 0.1.0-beta.74 on npm - Launcher and CLI:
npx @parcha/agentrun@0.4.42 - Python client:
pip install parcha-agentrun==0.3.41 - Server image:
docker pull ghcr.io/parcha-ai/agentrun-server:v0.1.0-beta.74(linux/amd64, linux/arm64) - Helm chart:
helm install agentrun oci://ghcr.io/parcha-ai/charts/agentrun --version 0.1.0-beta.74