Skip to content

AgentRun v0.1.0-beta.75

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Nov 06:50
· 27 commits to main since this release
0ba9573
  • A page web_fetch can't read whole now gives the agent its start and a way to the rest. A page whose body is over 5 MiB, fetched directly, used to answer refused: the page is over 5 MiB with no text at all; it now answers its first 5 MiB as the page's start, cut_bytes on every part, and the last part's line says the rest wasn't read. A page's text past the first 1,000,000 characters is still out of paging's reach, and every part that shows it now says so. An answer to an objective for such a page says its chunks are from the page's start alone. Of each, on a run granted web_save, the line tells the agent to save the page whole as a file with it and read that file. publicFetch takes cut: true for this; without it, and in publicDownload (web_save's), a body over the cap is refused as before. webFetchText takes the save tool's name as an optional third argument.
  • The repository installs with pnpm 12.22.0 (package.json's packageManager) instead of npm workspaces: pnpm install --frozen-lockfile replaces npm ci, pnpm-lock.yaml and apps/console/pnpm-lock.yaml replace the two package-lock.json files, and CI, the server's image and the source check install with it. node_modules is laid out as npm laid it out (nodeLinker: hoisted) and every file is a hard link into pnpm's one store, so a second checkout costs links instead of another copy of the tree. The published packages do not change: their manifests name each other at exact versions, never workspace:, and they are still packed and published with npm. docs/dependencies.md now reads licenses from scripts/dependency-licenses.json, since pnpm's lockfile records none; node scripts/export-source.mjs --licenses records the ones a dependency change adds.
  • A failed run's error now says, in a typed field, when the model's output limit cut the answer it would end on: error.details.reason is output_limit, with the code still run_failed and the same message. A client no longer has to match the message's words to tell this failure from any other. result.final_answer still holds what the model wrote before the cut.
    • The reason comes from the answer's own stop (stopReason length), which the run's end now keeps (stop: "output_limit"), never from the error's words. A run that fails in the same words for another reason gets no reason.
    • A cut at the output the run's cap left (the cap's words, naming the least cap that lets it finish) is not output_limit, and has no reason.
    • Only runs that end after this change have the reason; a run that ended before reads as it did. A run's list item that was built before keeps the error it was built with.
    • The contract's RunError.details.reason also lists capacity, which computer_unavailable already served when the provider refused to create the run's computer for capacity.
    • The TypeScript and Python clients' types list both values.
  • box/build-daytona.py makes the box snapshot agentrun-box-<recipe hash> from the published ghcr.io/parcha-ai/agentrun-box:<recipe hash> (its linux/amd64 digest) instead of building box/Dockerfile, and refuses when that image is not published. A deploy that registers the snapshot from the published image reuses one of the same name only when it holds that image, so a snapshot built from the Dockerfile stopped it. --from-dockerfile builds from the Dockerfile as before, for a recipe no release publishes or a target that cannot pull from ghcr.io. --documents and --gpu are unchanged.

Install

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