Skip to content

AgentRun v0.1.0-beta.69

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 29 Nov 01:12
· 136 commits to main since this release
1df4ee4
  • scripts/port-osworld.mjs ports OSWorld-Verified tasks to computer-bench folders. port --osworld <checkout> --tree <hf tree json> --sums <sums json> --out <dir> reads an OSWorld checkout and the Hugging Face file-cache tree at a pinned dataset revision and writes <domain>-<uuid8>/ with task.json and osworld.json (OSWorld's JSON, every file-cache URL pinned to the revision, a sha256 on each download and each cloud_file gold). sums fetches the sha256 of the cache files the tree lists only by git blob id. A task ports when every getter and metric reads what the desktop holds; it is refused when it needs an accessibility tree, GNOME settings, a live web host, sudo or a check the image can't run, with each refusal's reason in PORT.md. An infeasible task checks the agent's answer and says the task can't be done, scored with a shared rubric.md. The generated check is an exec check running osw eval as the computer's own user, with no sudo: it runs osw only when its sha256 is the bench's osw.py, which each task pins, and refuses as infra otherwise.
    osw eval removes its cache (OSW_CACHE) and makes it again before it fetches the golds, and OSWorld's server runs under python3 -I. osw no longer switches user when run as root: --user and OSW_USER are gone.
    An exec check's new infra field lists exit codes that mean the check could not run: a listed exit makes the check an error, so the run is infra (run again, never scored), not a fail. The OSWorld checks list 75.
  • The box image's install.sh builds on Ubuntu 24.04, as a vendor whose base is Ubuntu builds it. Ubuntu has no firefox-esr (its firefox is a snap), so where apt-cache policy firefox-esr reads no candidate, the desktop step installs it from Mozilla's APT repository: the signing key is fetched over https and the build stops, naming both fingerprints, unless the file holds that one key, 35BAA0B33E9EB396F59CA838C0BA5CE6DC6315A3; /etc/apt/preferences.d/mozilla lets packages.mozilla.org supply firefox-esr and its firefox-esr-* packages and pins everything else from it at -1. A Debian base, the Dockerfile's, keeps its own firefox-esr and never reaches Mozilla. The box recipe's hash moves to 91bc4d1eed97, so the next release publishes ghcr.io/parcha-ai/agentrun-box:91bc4d1eed97 and its E2B template, a Daytona box snapshot is built again as agentrun-box-91bc4d1eed97, an account-built box image (Morph's snapshot, Render's build, Agent37's template) is built again at its next prepareImage, and the relay's pinned image changes with it (relays/cloudflare/wrangler.json, redeploy the relay).
  • agentrun runs timeline RUN_ID --follow on a terminal prints one line per timeline row instead of JSON: its time (UTC), the subagent that wrote it, its kind, and what it says (a tool call's tool and input, a result's tool, ok or failed, and output, a usage row's dollars, "at most" when that is an upper bound). A row prints again only when its line changes, so a resumed connection repeats nothing, and the run's status prints when it changes, with its cost on the final page (again "at most" for an upper bound). The run's text loses control characters and bidirectional overrides before it reaches the terminal, and a line is cut at 200 characters. Piped, --follow prints one page per line (NDJSON) as before.
  • A tar.pull on a Daytona computer over connect: "exec" now comes through its toolbox's GET files/download, not the stdio bridge, which on Daytona is a session command's log read at about 0.3 MB/s. A synced folder reads each new directory (a git clone's .git, an npm install's node_modules) and each changed file past one chunk (512 KiB) with a tar.pull, so the call that makes them in /workspace no longer waits on the bridge for their bytes. The daemon still begins the pull, so a path its user can't read is refused as before. The tar is then made as the daemon's user (setpriv --reuid --regid --clear-groups, with find and GNU tar from the image) in /run/agentrun-read, a directory only root can enter, named and filtered as the daemon names its entries (relative to the directory, a hard link as a file of its own, sockets, devices and pipes left out). It is downloaded whole, then removed, and the daemon's pull is ended. One connection makes one tar at a time, and the tars it holds at once are at most 256 MiB in all: each is made with what the held ones leave as its file-size limit, and a tar read once and left holds its room until its pull ends. find streams its names to tar, so the tar is the one file the stage writes, and removing it leaves nothing of a stage cut off part way. If a step fails (a directory the user can't read, a file changed while it was read, find or tar missing, the bound), the daemon's pull is read from its first byte, as before.
  • A conformance module may export conformanceClock ({ now(), sleep(ms) }), the clock its provider's timers run on: the conformance CLI and serve's scripts/dial-conformance.mjs run on it, so the deadline case waits out its lifetime on that clock rather than in real time. A module that exports none, every vendor's among them, runs on the wall clock as before. dial-conformance.mjs also reads AGENTRUN_REACH_EVERY_MS, the ms between its asks of AGENTRUN_PUBLIC_URL before a run (unset, 1000 as before; anything but a whole number from 1 is refused in words). Before, a fake host's run sat through the 45 s lifetime in real time, and every run waited at least 2 s for three answers a second apart even on the loopback.
  • A new computer provider, northflank: a Linux sandbox on a Northflank service (a Kata microVM on Northflank's cloud) in your own project, over the Northflank API and its command-exec WebSocket, with no SDK. It takes NORTHFLANK_API_TOKEN, the name Northflank's own client reads, and NORTHFLANK_COMPUTER_PROJECT_ID, which is required and has no default (not NF_PROJECT_ID, which Northflank injects into its own services, nor NORTHFLANK_PROJECT_ID), with NORTHFLANK_COMPUTER_TEAM_ID for an organisation token. It loads from @parcha/agentrun-computer/northflank or providerFor("northflank", { token, projectId }). A computer starts from the box image's public tag, or the spec's image, under sleep infinity, on the plan of its size; it is a sandbox alone for now: no desktop and no Archil mount. Create sets the service's expiry at the backstop, so a computer whose server is gone is paused and deleted by Northflank. The exec is the command-exec socket's JSON messages, bytes as latin1 strings, the token in the first message and never in the URL, and kill the shared pid wrapper's, as Northflank has none. Serve offers it as a box once AGENTRUN_BOXES lists northflank and the token and project are set, and the launcher holds NORTHFLANK_API_TOKEN with the other secrets. No live run has been made yet: latin1 byte for byte, 75 s of exec silence, output trailing the exit message, root, a taken name's 409, the id being the name, annotations read back as given, the scale call after create, a deleted service's 404, amd64 with no vendor agent on TCP, and root's network namespace are unverified until then.
  • boxd's desktop snapshot takes only firefox-esr from Mozilla's APT repository: the recipe pins firefox-esr* from packages.mozilla.org at 500 and every other package from that origin at -1, and writes the pin before the source, where it pinned every package from that origin at 1000 (which let it replace or downgrade any distro package). The recipe's hash moves, so the next boxd desktop start builds a new agentrun-desktop-<12 hex> snapshot; the old one stays in the org until it is deleted.
  • A boxd create no longer fails when boxd reads the machine it just made as not found. boxd can answer "VM not found" for a moment after a create, and the create used to fail on it and delete the machine by its id, a delete that read not found too and could leave the machine running until boxd's delete timer. Create, and the desktop snapshot's build, now wait past a not found within the create's bound; a machine still not found at the end is a timeout, which the provider's sweep by the request's name settles.
  • On an Orgo Linux desktop, a cut or copy of files in a file manager now survives a text selection before the paste. Orgo's desktop runs two autocutsels as root, one for CLIPBOARD and one for PRIMARY, and both sync through the X cut buffer. Selecting text (Ctrl+L selects a file manager's location) set PRIMARY, the PRIMARY one copied that text into the cut buffer, and the CLIPBOARD one then replaced the clipboard with it, so Ctrl+V pasted the location's text instead of the files (linux.files.move failed on Orgo every time). Before any tool runs, create (and an attach that installs the daemon again) now ends the process whose whole command line is autocutsel -fork -selection PRIMARY, and says so in its notes. The CLIPBOARD one keeps running, so the clipboard still reaches Orgo's VNC viewer. If that process outlives SIGTERM, or it can't be looked up, the create goes on and its notes warn that the PRIMARY autocutsel is still running, so a paste after a text selection may paste text.
  • A run given file_ids whose agent has no tool that reads files (no read or bash) is no longer told it can open them. Its first message names the files as "Files attached to this run, but this agent has no tool that reads files", and the create answer (POST /agents/{agent_id}/runs, POST /runs) carries a warnings entry at file_ids, reason no_file_tool, saying so and how to fix it. The run still starts. Before, codex and claude-agent runs said they would read the file, then asked the person to paste it.
  • npx @parcha/agentrun installs one pi-ai, the version the server is tested with. The server takes @earendil-works/pi-ai as a peer at *, and nothing pinned it. npm installed the newest pi-ai, 1.7.0, which the server was never tested with, and nested a copy of the tested 1.5.2 under each of the four pi packages that pin it, each copy with its own OpenAI and Google SDKs. The command now pins pi-ai beside the server: one copy each of pi-ai, openai and @google/genai, and about 190 MB less in node_modules. The release preflight refuses a command whose pin differs from the version package-lock.json installs.
  • Groundbox and Orgo computers now say the size they run at, so their time is priced. Groundbox reads cpus, memory_gb and disk_gb from each sandbox it answers. Orgo reads ram and cpu from its create answer, or from its read of the computer when a create is retried, and falls back to the size it asked for when the answer leaves one out. Before this, both reported no resources, their compute_time line had a null quantity, and their time was booked as nothing even with a price set.
    A provider descriptor gains sized: whether its create answers the size the vendor runs each computer at. A metered provider that isn't sized now has its computer time unpriced for every resource (GET /v2/settings/prices answers usd: null, source: "unpriced"), whatever its AGENTRUN_COMPUTE_USD_PER_* settings say. A size only the spec asked for is not one the vendor said it billed. That applies today to boxd, cloudflare, morph, smolcloud, sprites and vercel. A caller that refuses uncounted time sees them as uncounted until each reports its size.
  • A keyed Firecrawl answer whose body breaks while it is read now reaches the agent as "Firecrawl's search answer broke off" (or fetch), as other providers' do, in place of "failed to connect". Its charge is unchanged.
  • A keyed Firecrawl search or web_fetch answered 408 or 5xx is charged the creditsUsed the answer reports, never above the hold, and 0 credits when it reports none, since Firecrawl does not charge a request that fails outright. Before this, such an answer was charged the hold, which for an uncapped fetch is 10,000 credits ($9.90). A request that fails after it may have left, with no answer, is still charged the hold.
  • Wrapped no longer says "0.0 h at work" for sessions that keep no time for each request (Cursor's chat store dates every request at the chat's start). GET /v2/wrapped and wrappedHome count those requests as time_unknown_requests (timeUnknownRequests in the importer); a reader marks its source with untimed. The page says "Time at work not recorded" for a year where no request has its own time, and adds "+ N requests with no recorded time" beside the hours it knows; the hours card reads "Unknown" time at work.
  • Wrapped no longer says 0 tokens or $0 for requests whose session records no tokens (Cursor keeps none). GET /v2/wrapped and wrappedHome count those requests as tokens_unknown_requests (tokensUnknownRequests in the importer) for the year, each harness and each model. The page says "Tokens not recorded" and "Cursor doesn't record tokens" for a year where no request recorded any, counts the busiest day by requests, and reads "no known price" where no request was priced. A year where only some requests lack tokens keeps its token total and adds "+ N requests with no recorded tokens". The cover and summary cards show "Unknown" tokens and a "Tokens not recorded" row. The console names the Cursor harness "Cursor".
  • The exec pre-check's tests take about a third of the time they did. The tests that sit out the pre-check's own bounds on a broken exec run eight at a time, with every bound and assertion as before; the one that rewrites Date.now and the one that holds the event loop still run alone. The conformance CLI's main() takes execStreamBounds beside providerOptions, bounds over --exec-stream's defaults (longMs over --quick's too), so the CLI's test leaves stdout unread for 200 ms rather than 10 s. With no execStreamBounds, --exec-stream runs as before.
  • The install walk no longer fails between a release pull request and its npm publish. This checkout's launcher pins its server at the release version, which npm doesn't have until the publish, so the install failed with No matching version found, and the daily walk's launcher row went red over a release still waiting for its approval. Now the walk's pack job packs this checkout's own copies of the @parcha packages npm lacks (packages/agentrun/test/walk-unpublished.mjs) and points the launcher at them. The walk says so: a notice and the job summary on the install walk, and on the daily walk's launcher row, "PASS (npm has no @parcha/agentrun-serve@… yet: walked with this checkout's packed …, not npm's)". When npm has the release, nothing changes.
  • The daily npx walk ends with a row "one pi": in the tree npx @parcha/agentrun installed, each pi package the launcher pins (pi-ai) is there once, at the pinned version. The release preflight checks what the launcher declares; this row checks what npm installed from it, so a dependency that pulls in a second pi-ai turns the walk red. A launcher published before the pin is not checked, and the row says how many copies of pi-ai, openai and @google/genai it got.
  • The publish workflow's gate stops a release whose tag is not the code its release gate ran on. The release pull request records the commit the gate passed on a line of its own, Gated cut: <40-hex sha>, and the last such line counts. The tag's tree must be that commit's tree, or differ from it only in the release's own files: version lines moved by the release's versions, changelogs that only gain lines, and deleted changes/ fragments. A refusal names both trees, the files, and the commits under the tag the gate never saw. The merge queue had put pull requests ahead of the release commit in beta.60, beta.63, beta.64 and beta.68. node scripts/release-gated-cut.mjs --tag <tag> --cut <sha> runs the same check before the tag is pushed.
  • The --vps walk's faux model takes the shell command from the person's words alone. The server now appends the computer's reach note to the run's first message as a <system-reminder>, and the model read it as part of the command; the note's "Don't" left bash with an open quote, so the walk failed with "the command's output is not in the run's timeline". The model drops the server's notes first, as serve's faux models do.
  • agentrun race start starts its lanes on a server that does not serve GET /computers to a request in a workspace (403, reason not_scoped; a hosted install before it did). The lanes get no runner shell there, as on a server whose runner runs none. Before, the race stopped before any lane with "No lane was started". Any other refusal of that read still stops the race, and its words no longer end in a doubled period.

Install

  • Server: npx @parcha/agentrun-serve@0.1.0-beta.69; every @parcha/agentrun-* package of this release is 0.1.0-beta.69 on npm
  • Launcher and CLI: npx @parcha/agentrun@0.4.37
  • Python client: pip install parcha-agentrun==0.3.36
  • Server image: docker pull ghcr.io/parcha-ai/agentrun-server:v0.1.0-beta.69 (linux/amd64, linux/arm64)
  • Helm chart: helm install agentrun oci://ghcr.io/parcha-ai/charts/agentrun --version 0.1.0-beta.69