Repository navigation
AgentRun v0.1.0-beta.75
Pre-release
Pre-release
·
27 commits
to main
since this release
- 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 MiBwith no text at all; it now answers its first 5 MiB as the page's start,cut_byteson 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 anobjectivefor such a page says its chunks are from the page's start alone. Of each, on a run grantedweb_save, the line tells the agent to save the page whole as a file with it and read that file.publicFetchtakescut: truefor this; without it, and inpublicDownload(web_save's), a body over the cap is refused as before.webFetchTexttakes 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-lockfilereplacesnpm ci,pnpm-lock.yamlandapps/console/pnpm-lock.yamlreplace the twopackage-lock.jsonfiles, and CI, the server's image and the source check install with it.node_modulesis 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, neverworkspace:, and they are still packed and published with npm.docs/dependencies.mdnow reads licenses fromscripts/dependency-licenses.json, since pnpm's lockfile records none;node scripts/export-source.mjs --licensesrecords 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.reasonisoutput_limit, with the code stillrun_failedand the same message. A client no longer has to match the message's words to tell this failure from any other.result.final_answerstill holds what the model wrote before the cut.- The reason comes from the answer's own stop (
stopReasonlength), 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.reasonalso listscapacity, whichcomputer_unavailablealready served when the provider refused to create the run's computer for capacity. - The TypeScript and Python clients' types list both values.
- The reason comes from the answer's own stop (
box/build-daytona.pymakes the box snapshotagentrun-box-<recipe hash>from the publishedghcr.io/parcha-ai/agentrun-box:<recipe hash>(its linux/amd64 digest) instead of buildingbox/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-dockerfilebuilds from the Dockerfile as before, for a recipe no release publishes or a target that cannot pull from ghcr.io.--documentsand--gpuare 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