@parcha/agentrun-serve 0.1.0-beta.58 → 0.1.0-beta.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +325 -1
- package/README.md +332 -88
- package/dist/acp-package.d.ts +5 -1
- package/dist/acp-package.js +19 -2
- package/dist/adapters.d.ts +23 -2
- package/dist/adapters.js +106 -33
- package/dist/agents-store.js +1 -1
- package/dist/answer-text.d.ts +3 -0
- package/dist/answer-text.js +22 -0
- package/dist/attach-conformance.js +5 -4
- package/dist/box-paths.d.ts +3 -2
- package/dist/box-paths.js +5 -4
- package/dist/browser-computer.d.ts +3 -8
- package/dist/browser-computer.js +12 -35
- package/dist/browser-cost.js +94 -20
- package/dist/capacity.d.ts +1 -1
- package/dist/capacity.js +3 -3
- package/dist/chatgpt-plan.d.ts +5 -0
- package/dist/chatgpt-plan.js +25 -11
- package/dist/claude-login-token.d.ts +15 -11
- package/dist/claude-login-token.js +167 -107
- package/dist/claude-login.d.ts +76 -31
- package/dist/claude-login.js +426 -79
- package/dist/claude-sign-in.d.ts +3 -0
- package/dist/claude-sign-in.js +10 -1
- package/dist/cli.js +323 -292
- package/dist/composio-made.d.ts +1 -6
- package/dist/composio-made.js +1 -6
- package/dist/composio-owners.d.ts +26 -0
- package/dist/composio-owners.js +36 -0
- package/dist/composio-preset.d.ts +56 -23
- package/dist/composio-preset.js +173 -77
- package/dist/composio-triggers.d.ts +4 -4
- package/dist/composio-triggers.js +6 -7
- package/dist/compute-cost.js +11 -2
- package/dist/computer-attach.d.ts +6 -3
- package/dist/computer-attach.js +41 -29
- package/dist/computer-held-routes.d.ts +1 -1
- package/dist/computer-held-routes.js +9 -4
- package/dist/computer-keys.d.ts +11 -1
- package/dist/computer-keys.js +26 -1
- package/dist/computer-record.js +3 -1
- package/dist/computer-view.d.ts +5 -3
- package/dist/computer-view.js +10 -6
- package/dist/computer-viewer.js +36 -7
- package/dist/computers.d.ts +2 -1
- package/dist/computers.js +6 -3
- package/dist/console/THIRD-PARTY-NOTICES.txt +50 -0
- package/dist/console/assets/backend-BztxEAvb.js +166 -0
- package/dist/console/assets/index-LwNL4L9q.js +619 -0
- package/dist/console/assets/share-L84tlUDW.js +6 -0
- package/dist/console/assets/styles-CaRKlHke.js +291 -0
- package/dist/console/assets/styles-DQo8rzY-.css +1 -0
- package/dist/console/index.html +4 -3
- package/dist/console/share.html +17 -0
- package/dist/decisions.d.ts +17 -7
- package/dist/decisions.js +41 -15
- package/dist/dial-relay.js +10 -4
- package/dist/docker-daemon.js +4 -5
- package/dist/docker-host-addresses.js +29 -11
- package/dist/email/account.d.ts +6 -0
- package/dist/email/account.js +6 -0
- package/dist/email/authentication.d.ts +21 -0
- package/dist/email/authentication.js +106 -0
- package/dist/email/email-faux.d.ts +11 -2
- package/dist/email/email-faux.js +21 -5
- package/dist/email/mail.d.ts +25 -0
- package/dist/email/mail.js +58 -2
- package/dist/email/names.js +2 -2
- package/dist/email/tools.d.ts +9 -4
- package/dist/email/tools.js +95 -13
- package/dist/env-switch.d.ts +12 -2
- package/dist/env-switch.js +23 -3
- package/dist/errors.d.ts +1 -0
- package/dist/errors.js +2 -0
- package/dist/fal-price.d.ts +11 -1
- package/dist/fal-price.js +33 -0
- package/dist/faux-computers.js +1 -1
- package/dist/filed-answer.d.ts +2 -2
- package/dist/filed-answer.js +2 -2
- package/dist/graph-served.d.ts +10 -5
- package/dist/graph-served.js +40 -10
- package/dist/handed-values.js +1 -2
- package/dist/harness-check.d.ts +2 -1
- package/dist/harness-check.js +45 -12
- package/dist/harness-keys.js +9 -6
- package/dist/harness-opencode/facts.js +2 -0
- package/dist/harness-recipe-entry.d.ts +9 -3
- package/dist/harness-recipe-entry.js +18 -9
- package/dist/harness-recipe.d.ts +21 -0
- package/dist/harness-recipe.js +25 -3
- package/dist/harness-table.d.ts +8 -0
- package/dist/harness-table.js +17 -6
- package/dist/helper-env.d.ts +4 -1
- package/dist/helper-env.js +4 -1
- package/dist/host-check.d.ts +2 -3
- package/dist/host-check.js +13 -7
- package/dist/hosted-search.js +1 -1
- package/dist/import.d.ts +11 -8
- package/dist/import.js +437 -186
- package/dist/key-refusal.d.ts +9 -2
- package/dist/key-refusal.js +86 -32
- package/dist/learn/audit.d.ts +8 -5
- package/dist/learn/audit.js +15 -7
- package/dist/learn/compile.d.ts +5 -2
- package/dist/learn/compile.js +45 -21
- package/dist/learn/field-check.d.ts +111 -0
- package/dist/learn/field-check.js +174 -0
- package/dist/learn/ledger.d.ts +32 -29
- package/dist/learn/ledger.js +26 -19
- package/dist/learn/promote.d.ts +79 -36
- package/dist/learn/promote.js +60 -65
- package/dist/learn/secrets.d.ts +4 -0
- package/dist/learn/secrets.js +12 -0
- package/dist/learned-nodes.d.ts +8 -5
- package/dist/learned-nodes.js +8 -5
- package/dist/learned-workflow.d.ts +2 -1
- package/dist/learned-workflow.js +13 -10
- package/dist/learning-cost.d.ts +25 -8
- package/dist/learning-cost.js +23 -8
- package/dist/learning-setting.d.ts +6 -0
- package/dist/learning-setting.js +11 -1
- package/dist/listen-first.d.ts +5 -4
- package/dist/listen-first.js +4 -5
- package/dist/live-reach.d.ts +7 -0
- package/dist/live-reach.js +7 -0
- package/dist/mcp-api-only-origins.d.ts +15 -0
- package/dist/mcp-api-only-origins.js +40 -0
- package/dist/mcp-gateway.d.ts +16 -2
- package/dist/mcp-gateway.js +41 -3
- package/dist/mcp-oauth.d.ts +1 -1
- package/dist/mcp-oauth.js +3 -2
- package/dist/mcp-probe.d.ts +3 -0
- package/dist/mcp-probe.js +3 -0
- package/dist/mcp-secret-writes.d.ts +24 -2
- package/dist/mcp-secret-writes.js +30 -2
- package/dist/mcp-servers-store.d.ts +52 -14
- package/dist/mcp-servers-store.js +165 -61
- package/dist/mcp-sources.d.ts +1 -2
- package/dist/mcp-sources.js +1 -2
- package/dist/mcp-store.d.ts +5 -5
- package/dist/mcp-store.js +3 -3
- package/dist/mcp.js +1 -1
- package/dist/model-gateway.d.ts +1 -1
- package/dist/model-gateway.js +20 -36
- package/dist/ollama-provider.d.ts +23 -9
- package/dist/ollama-provider.js +49 -20
- package/dist/openapi.js +202 -51
- package/dist/otel/genai.d.ts +83 -7
- package/dist/otel/genai.js +69 -9
- package/dist/otel/tracer.d.ts +42 -13
- package/dist/otel/tracer.js +241 -56
- package/dist/page.d.ts +7 -1
- package/dist/page.js +76 -22
- package/dist/paid-calls.d.ts +6 -4
- package/dist/paid-calls.js +15 -7
- package/dist/place-offers.d.ts +55 -34
- package/dist/place-offers.js +93 -54
- package/dist/place.d.ts +13 -14
- package/dist/place.js +56 -41
- package/dist/print.js +1 -1
- package/dist/provider.d.ts +3 -2
- package/dist/provider.js +17 -8
- package/dist/redact/match.d.ts +27 -9
- package/dist/redact/match.js +266 -57
- package/dist/run-census.d.ts +1 -1
- package/dist/run-census.js +4 -5
- package/dist/run-cut.js +4 -5
- package/dist/run-export-store.d.ts +15 -0
- package/dist/run-export-store.js +30 -0
- package/dist/run-export.d.ts +139 -0
- package/dist/run-export.js +379 -0
- package/dist/run-file-cut.d.ts +5 -0
- package/dist/run-file-cut.js +13 -0
- package/dist/run-launch.js +16 -3
- package/dist/run-model-key.d.ts +15 -6
- package/dist/run-model-key.js +30 -31
- package/dist/run-reads-over-store.js +4 -4
- package/dist/run-secrets.js +3 -5
- package/dist/run-timeline-served.js +3 -1
- package/dist/runnable.js +2 -2
- package/dist/runner/adapter-loop.d.ts +35 -18
- package/dist/runner/adapter-loop.js +94 -47
- package/dist/runner/adapter-run-spec.d.ts +14 -1
- package/dist/runner/adapter-run-spec.js +64 -28
- package/dist/runner/adapters/pi.js +4 -2
- package/dist/runner/audit.d.ts +8 -5
- package/dist/runner/audit.js +37 -17
- package/dist/runner/beside.js +5 -6
- package/dist/runner/claim-secrets.d.ts +10 -3
- package/dist/runner/claim-secrets.js +29 -13
- package/dist/runner/cli-run-spec.d.ts +18 -0
- package/dist/runner/cli-run-spec.js +81 -46
- package/dist/runner/compare-end.d.ts +2 -1
- package/dist/runner/compare-end.js +25 -10
- package/dist/runner/conformance/harness.js +2 -3
- package/dist/runner/conformance/subject.d.ts +4 -1
- package/dist/runner/harness-loops.js +3 -3
- package/dist/runner/held.d.ts +5 -2
- package/dist/runner/journal-kinds.d.ts +4 -1
- package/dist/runner/journal-kinds.js +22 -4
- package/dist/runner/learned-first.js +20 -4
- package/dist/runner/learning-end.d.ts +2 -8
- package/dist/runner/learning-end.js +11 -19
- package/dist/runner/live-ticker.js +7 -5
- package/dist/runner/loop-contract.d.ts +0 -2
- package/dist/runner/loop.d.ts +7 -0
- package/dist/runner/loop.js +1 -0
- package/dist/runner/main.js +12 -11
- package/dist/runner/mcp-claim.js +21 -5
- package/dist/runner/meta-tools.js +3 -2
- package/dist/runner/metrics.d.ts +7 -0
- package/dist/runner/metrics.js +19 -0
- package/dist/runner/model-route.d.ts +10 -7
- package/dist/runner/model-route.js +79 -15
- package/dist/runner/native-loop.js +10 -8
- package/dist/runner/presence.d.ts +1 -4
- package/dist/runner/presence.js +6 -8
- package/dist/runner/promotion.d.ts +25 -13
- package/dist/runner/promotion.js +125 -50
- package/dist/runner/redact.d.ts +3 -1
- package/dist/runner/redact.js +5 -3
- package/dist/runner/responses-fetch.d.ts +36 -0
- package/dist/runner/responses-fetch.js +511 -0
- package/dist/runner/run-child-host.d.ts +20 -5
- package/dist/runner/run-child-host.js +179 -77
- package/dist/runner/run-child.js +11 -4
- package/dist/runner/runner-check.js +5 -1
- package/dist/runner/runner.d.ts +2 -3
- package/dist/runner/runner.js +13 -9
- package/dist/runner/sdk-loop.js +8 -8
- package/dist/runner/spec-holds.d.ts +8 -1
- package/dist/runner/spec-holds.js +9 -4
- package/dist/runner/workflow-calls.d.ts +9 -0
- package/dist/runner/workflow-calls.js +150 -0
- package/dist/runner/workflow-first.d.ts +120 -32
- package/dist/runner/workflow-first.js +218 -94
- package/dist/runner/workflow-spec.js +1 -1
- package/dist/runs-over-store.js +8 -7
- package/dist/save-once.d.ts +14 -0
- package/dist/save-once.js +31 -0
- package/dist/scrub-command.d.ts +34 -31
- package/dist/scrub-command.js +116 -147
- package/dist/sdk/runs.d.ts +6 -0
- package/dist/sdk/runs.js +89 -10
- package/dist/seal-key.js +4 -4
- package/dist/secret-cut.d.ts +3 -0
- package/dist/secret-cut.js +7 -1
- package/dist/secret-rules.d.ts +8 -1
- package/dist/secret-rules.js +482 -53
- package/dist/secrets.d.ts +51 -9
- package/dist/secrets.js +311 -21
- package/dist/server-keys.d.ts +4 -3
- package/dist/server-keys.js +4 -3
- package/dist/server-secrets-store.js +2 -4
- package/dist/server.d.ts +15 -3
- package/dist/server.js +312 -80
- package/dist/share-context.d.ts +22 -0
- package/dist/share-context.js +76 -0
- package/dist/shell-lex.d.ts +105 -0
- package/dist/shell-lex.js +646 -0
- package/dist/sign-ins-store.d.ts +5 -7
- package/dist/sign-ins-store.js +12 -16
- package/dist/sign-ins.d.ts +7 -11
- package/dist/sign-ins.js +40 -41
- package/dist/skills/agentrun-serve/SKILL.md +5 -2
- package/dist/start-switches.d.ts +6 -5
- package/dist/start-switches.js +8 -4
- package/dist/stats.d.ts +5 -1
- package/dist/stats.js +1 -1
- package/dist/store/agent-body.js +2 -2
- package/dist/store/dialect.d.ts +4 -0
- package/dist/store/dialect.js +1 -0
- package/dist/store/index.d.ts +2 -2
- package/dist/store/index.js +1 -1
- package/dist/store/mcp-record-keys.d.ts +10 -0
- package/dist/store/mcp-record-keys.js +13 -0
- package/dist/store/postgres/dialect.js +2 -0
- package/dist/store/postgres/migrations/0029_run_launch_census_settle.sql +28 -0
- package/dist/store/postgres/migrations/0030_learning_ledger_epoch.sql +40 -0
- package/dist/store/postgres/migrations/0031_learning_ledger_calls.sql +12 -0
- package/dist/store/postgres/store.js +4 -0
- package/dist/store/schema.d.ts +33 -10
- package/dist/store/schema.js +70 -16
- package/dist/store/seal.d.ts +4 -1
- package/dist/store/sqlite/run-launch.d.ts +3 -10
- package/dist/store/sqlite/run-launch.js +12 -23
- package/dist/store/sqlite/run-patch.d.ts +17 -10
- package/dist/store/sqlite/run-patch.js +50 -13
- package/dist/store/sqlite/store.d.ts +3 -0
- package/dist/store/sqlite/store.js +116 -34
- package/dist/store/store-schema.js +3 -4
- package/dist/store/store.d.ts +67 -32
- package/dist/store/store.js +14 -11
- package/dist/store-reads/analytics.d.ts +2 -1
- package/dist/store-reads/analytics.js +7 -5
- package/dist/store-reads/learning.d.ts +35 -26
- package/dist/store-reads/learning.js +120 -92
- package/dist/store-reads/stats.d.ts +2 -2
- package/dist/store-reads/stats.js +13 -7
- package/dist/store-view.js +10 -7
- package/dist/suggestions.d.ts +1 -1
- package/dist/suggestions.js +29 -13
- package/dist/template-eval.d.ts +72 -9
- package/dist/template-eval.js +358 -64
- package/dist/timeline/labels.d.ts +1 -1
- package/dist/timeline/labels.js +4 -3
- package/dist/timeline/timeline.d.ts +23 -11
- package/dist/timeline/timeline.js +115 -31
- package/dist/timeline/web-calls.d.ts +8 -6
- package/dist/timeline/web-calls.js +10 -6
- package/dist/tool-gate.d.ts +13 -1
- package/dist/tool-gate.js +43 -3
- package/dist/tool-keys-store.js +2 -4
- package/dist/tool-keys.d.ts +11 -0
- package/dist/tool-keys.js +16 -0
- package/dist/tool-plane.d.ts +50 -11
- package/dist/tool-plane.js +94 -30
- package/dist/tools.d.ts +5 -1
- package/dist/tools.js +7 -7
- package/dist/trigger-email.js +12 -6
- package/dist/triggers.d.ts +15 -34
- package/dist/triggers.js +119 -126
- package/dist/validate.d.ts +8 -1
- package/dist/validate.js +163 -23
- package/dist/web-fake.d.ts +2 -1
- package/dist/web-fake.js +8 -6
- package/dist/web-fetch.d.ts +8 -6
- package/dist/web-fetch.js +13 -11
- package/dist/web-holds.d.ts +32 -0
- package/dist/web-holds.js +86 -0
- package/dist/web-run.d.ts +32 -5
- package/dist/web-run.js +75 -28
- package/dist/web-save.js +23 -12
- package/dist/web-search.js +14 -25
- package/dist/wires.d.ts +4 -3
- package/dist/wires.js +5 -4
- package/dist/workspace/archil-claim.d.ts +12 -5
- package/dist/workspace/archil-claim.js +45 -5
- package/dist/workspace/attach.js +52 -19
- package/dist/workspace/attached-computers.d.ts +6 -2
- package/dist/workspace/attached-computers.js +5 -4
- package/dist/workspace/computer-deps.d.ts +23 -6
- package/dist/workspace/computer-deps.js +35 -17
- package/dist/workspace/computer-for-claim.d.ts +21 -4
- package/dist/workspace/computer-for-claim.js +160 -54
- package/dist/workspace/computer-intervals.d.ts +2 -0
- package/dist/workspace/computer-intervals.js +1 -1
- package/dist/workspace/computer-janitor.d.ts +48 -14
- package/dist/workspace/computer-janitor.js +153 -44
- package/dist/workspace/computer-kept.d.ts +158 -32
- package/dist/workspace/computer-kept.js +288 -63
- package/dist/workspace/computer-providers.d.ts +8 -3
- package/dist/workspace/computer-providers.js +12 -5
- package/dist/workspace/index.d.ts +1 -1
- package/dist/workspace/index.js +1 -1
- package/dist/workspace/local.js +41 -1
- package/dist/workspace/mount-revoke-left.d.ts +31 -0
- package/dist/workspace/mount-revoke-left.js +72 -0
- package/dist/workspace/paired-route.js +4 -5
- package/dist/workspace/resolve-computer.d.ts +5 -2
- package/dist/workspace/resolve-computer.js +9 -3
- package/dist/workspace/run-end-computers.d.ts +11 -5
- package/dist/workspace/run-end-computers.js +153 -28
- package/dist/workspace/run-tools.d.ts +22 -3
- package/dist/workspace/run-tools.js +17 -5
- package/dist/workspace/run-workspace.d.ts +14 -1
- package/dist/workspace/run-workspace.js +34 -1
- package/dist/workspace/workspace.d.ts +6 -0
- package/package.json +12 -13
- package/skills/agentrun-serve/SKILL.md +5 -2
- package/templates/README.md +22 -6
- package/dist/console/assets/backend-CSAWUqtZ.js +0 -166
- package/dist/console/assets/index-Bwn1oTem.css +0 -1
- package/dist/console/assets/index-DPh29cyz.js +0 -747
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,330 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## 0.1.0-beta.59 (2026-11-25)
|
|
6
|
+
|
|
7
|
+
**Breaking:**
|
|
8
|
+
|
|
9
|
+
- Ollama models run only on a harness that forwards the route, an output schema beside tools on Ollama is refused, and an ACP agent's permission requests for AgentRun's tools are no longer answered from their titles. What to change on upgrade: <!-- changes/b51-breaking.md -->
|
|
10
|
+
- A harness module on Messages or Responses that should keep running Ollama models must forward its model requests with the `fetch` its launch hands it (`ModuleLaunch.fetch`, given to `startModelProxy`'s `fetch`) and set `forwardsRoute: true` in its facts. Without the fact it is offered no Ollama model, and a run of it that names one is refused before it starts, in words that name these two steps.
|
|
11
|
+
- A claude-agent node with an output schema on an Ollama model now stops with a 400 `invalid_request_error`, since the claude-agent harness sends its tools on every turn and Ollama can't hold an answer to a format and also call tools. Drop the schema, or run the node on a model with a key.
|
|
12
|
+
- A recipe for an agent that asks permission before every tool call needs an `allowFile` in a form its agent reads, or the title tie (`quirks.permissionTie: "title"`). Without either, every request for an AgentRun tool goes to the host's gate as the agent's own call, and its runs stop there.
|
|
13
|
+
- An agent's `tool_call` title no longer names the AgentRun tool it calls. A recipe without `announces` (the new field where its agent's `tool_call` names the tool) has every call matched to its MCP call by its arguments alone, a call with no arguments included. A call announced with no input at all is matched to an MCP call that nothing else matches, the oldest first, until the agent reports it ended, so two such calls in flight can trade ids. Declare `announces` to tie each call to its own.
|
|
14
|
+
- Goose's offer promises `tool_gate: "config"` (was `"permission"`): its calls of AgentRun's tools are held by its permission file and the host's gate at the MCP call.
|
|
15
|
+
- `agentrun harness-check` fails `mcp_tool` for an agent that asks permission for `check_echo` on a recipe with neither field. A recipe whose check passed before can fail its next one.
|
|
16
|
+
- `examples/harness-recipe/antigravity.json` declares `announces` and the title tie (`quirks.permissionTie: "title"`), since agy asks permission for every MCP call: its requests for the AgentRun calls it announced are answered allow once, and the host's gate decides at the MCP call. A copy of the recipe made before this release has neither and needs both, or its runs stop at the gate.
|
|
17
|
+
- The exported test helper `fakeAgentRecipe` (`@parcha/agentrun-harness-acp/testing`) now gives its recipe an `allowFile` (style "goose", the default) or the title tie (style "cursor"), and each style's `announces`, as each shipped recipe does. The fake's style "cursor" now announces its MCP calls late, as Cursor 2026.11.13 does (`announce: "early"` for the old shape). A suite that relied on the fake asking for AgentRun's tools and being answered from the title gets neither by default.
|
|
18
|
+
- A run's census (0.1.0-beta.57) no longer keeps a "pending" state. A launch's census is null until a run's end writes one, and 0.1.0-beta.57's Postgres trigger, which marked a launch "pending" when it first held sealed secrets, is gone. Each "pending" left is settled once, as this release reads it: null on a launch still holding its secrets, so its end counts them, and "unscanned" on one an end erased, so its files stay withheld. Postgres does this in migration 0029 `run_launch_census_settle`, and SQLite at the first server open of this release. <!-- changes/run-census-pending-settled.md -->
|
|
19
|
+
- One narrower rule stays in the store, on Postgres and SQLite alike: an update that erases a launch's sealed secrets and leaves its census null writes "unscanned". This release's ends always write a census when they erase, so only a runner of 0.1.0-beta.51 to beta.56 (which ends with none) does that, and that run's files are withheld, never read cut of the server's values alone. A beta.57 runner writes its own census.
|
|
20
|
+
- Postgres migration 0029 is marked as breaking runners, and with 0030 (below) this release raises the runner floor to 30. Drain and stop every runner of beta.58 or earlier before this release's server starts. Don't wait for such a runner to stop at its next floor read: a beta.58 runner's end still writes `learning_ledger.epoch`, which 0030 drops, so a run it ends after the server moved fails to save. On SQLite the store goes to schema version 16; a runner of an earlier release refuses it at its start, or stops at its next schema read if it is already running. On both, the rule above covers the runs this release's runners end.
|
|
21
|
+
- A "pending" written after the upgrade, by a 0.1.0-beta.57 server still running during a rolling deploy, reads as no census this release knows: the run's files are withheld, live and after its end, never read uncut.
|
|
22
|
+
- The adapter loop takes a run's end-of-run step from the run's spec only (`AdapterRunSpec.endOfRun`), never from the deps a runner hands the loop. A conformance subject (`@parcha/agentrun-serve/conformance`) now puts `setup.endOfRun` on its spec, as it puts `setup.agentId`; one that drops it fails the `end-of-run-answer` case. <!-- changes/end-of-run-step-from-spec.md -->
|
|
23
|
+
- API-only (`AGENTRUN_API_ONLY=1`): the token's Composio save now stands on nothing the owner's does, and its Composio users, a run's included, have a namespace of their own. The token's save (`PUT /settings/mcp-servers/{name}/composio`) that is not `per_run` reaches Composio, and its server calls, as `agentrun.token.<user_id>` (no `user_id`: `agentrun.token.agentrun`), a user that, through this install, only the token's own connect link connects; its `user_id` is at most 113 characters. No save names a `user_id` starting `agentrun.token.` in any letter case, the owner's included: `422` under `user_id`, before anything is sent. A run's binding of a per-run Composio server (`mcp_auth.<server>`) never calls as a user the owner calls as here: its `composio_user_id`, in any letter case, is not the preset's default user (`agentrun`), its tool-listing user, or any user a server the owner saved stands on (by its preset record, its kept account or its address), else `422` `not_allowed` under it before any account is looked up; any other user, a backend's own bare user id or one starting `agentrun.token.`, is the caller's. A `connected_account_id` it names is one Composio lists as that user's (one it answers with no `user_id` never is), read at the start or message that hands it (50 a page, at most 10 pages), else `422` `not_allowed` under it, as is one past those pages; Composio not answering that read is `424`, each refusal says which check refused it, and nothing is started. A backend keeps binding its users by their own ids. A run's claim reads the same check again. The per-run server lends the install's Composio key, so a binding can still name a user the owner connected only at Composio, outside this install: save a per-run Composio server only with a Composio project whose users are all the backend's. A server the token saved in 0.1.0-beta.56 or earlier calls as a user outside the namespace, which may be the owner's: every run's claim of it is now refused unsent, in words that say to delete it, and the start names each in one log line (`api_only_composio_outside_namespace`). Delete it and save it again, then connect its account through the new connect link. Where a server the owner saved stands on its auth config, a save over it is `403` and says it can only be deleted; where none does, a save over it moves it to the namespaced user and deletes at Composio every account its record holds as made here under the bare user unless another saved server stands on it. The token's save never uses an auth config a server the owner saved uses: naming one (`auth_config_id`) is `403`, and so is a save whose toolkit's own auth config, as Composio answers it, is that one, before anything is made at Composio. An `auth_config_id` Composio answers under another id (another letter case, say) is `422` under it, for any save. Nor does the token's save stand on an ACTIVE connected account it did not connect: each one Composio already has for that user under its auth config (never one it answers under another user or with no `user_id`) is `403` before anything is made, unless a server the token saved holds it as one it made. The lookup reads 50 accounts a page, at most 10 pages: past that the token's save is `403`, and an owner's save goes on with the ones it read. `GET /capabilities` lists `AGENTRUN_API_ONLY_MCP_ORIGINS` under `switches`, saying only whether the list is set and that plain http is for a loopback host alone, and the start banner names the per_run save it serves. An `AGENTRUN_API_ONLY_MCP_ORIGINS` entry that is plain `http://` to a host other than a loopback one (127.0.0.0/8, ::1, localhost) now stops the start, naming the entry by its place: list that host's origin as https. <!-- changes/api-only-token-composio.md -->
|
|
24
|
+
- A script's `computer.files.write` (`computer_op` with `files.write`) needs `write` among the agent's tools: an agent not given `write`, or naming no tools, is refused it in words whatever `write`'s setting says. Before, `write`'s default (allow) let it through, so on a desktop that mounts the run's folder such an agent could write into the run's files. <!-- changes/computer-files-write-needs-write.md -->
|
|
25
|
+
- Breaking for runners: Postgres migration 0030 drops `learning_ledger.epoch` and raises the runner floor to 30. Stop runners of earlier builds before this build's server starts; they fail on the new schema. On SQLite the store goes to schema version 16: the server drops the column at its start, a runner of this build waits for that server, and a runner of an earlier build refuses the store at its start, or stops at its next schema read if it is already running. <!-- changes/learning-ledger-epoch.md -->
|
|
26
|
+
- The server records a ledger row for each ended run that has none at its open, 64 runs per transaction, locking each run before it reads it again, so a heal or end another server commits meanwhile stands. A stop partway resumes at the next open. Once every run has its row, the store is marked and later opens skip the scan. Reads no longer record rows.
|
|
27
|
+
- Before dropping the column, the upgrade deletes the rows the earlier build could leave wrong, and the open records them again from their runs: a row with no path, a row behind its run's epoch, an unknown cost the run now has, and an audit shadow on another path.
|
|
28
|
+
- The read of runs by hand before the money rule's window uses a new index, `learning_ledger_by_hand`, instead of sorting every ledger row of the agent.
|
|
29
|
+
- A run's OpenTelemetry trace names the agent that ran: `gen_ai.agent.name` is the agent's name as you gave it and `gen_ai.agent.id` its id, on every span, and the run's span is `invoke_agent {agent name}`. Before, `gen_ai.agent.name` was the harness (`pi`) and the span was `invoke_agent pi`, so a trace never said which agent ran. The harness stays on `agentrun.harness`. A dashboard, alert or saved query that filters on `gen_ai.agent.name` being a harness, or on a span named `invoke_agent <harness>`, must filter on `agentrun.harness` instead. <!-- changes/otel-agent-name.md -->
|
|
30
|
+
- An agent with no name gets no `gen_ai.agent.name` (never the harness in its place) and a span named `invoke_agent` alone, as the GenAI semantic conventions ask; so does a run whose agent the runner can't read from the store, which runs as before, with the agent's id alone on its trace. The name and id are cut as other names are, and a name written like a key is `[redacted]` whatever the runner holds. A run in a process of its own is named by the agent its runner reads from the store, never one the process posts.
|
|
31
|
+
- A runner with tracing on now says so once as it starts: `[otel] tracing is on: spans export to <origin>`, the endpoint's origin alone (scheme, host and port), never its user, password, path, query or fragment, nor a header. Off, nothing is said.
|
|
32
|
+
- A failed export's line names the endpoint's origin and the time, and a collector that keeps failing is said again at most once a minute, by the next failure once a minute has passed, with the count of failures since the last line (`[otel] 25 more trace exports to <origin> failed since <time>, the last at <time>; ...`). Before, the first failure was one line with neither, and nothing more until an export succeeded and failed again. A run's end still never waits on an export.
|
|
33
|
+
- On macOS, signing Claude Code in from the console now saves the login's Keychain item under the Mac user the server runs as, so `claude auth status` in that person's terminal reads it signed in, as AgentRun's badge does. Before, the claude CLI that AgentRun starts for the sign-in, the status check and a run got no `USER`. The CLI names the Keychain item's account by `USER`, and without it the account was `unknown`. The badge, asked the same way, read signed in, while the person's own `claude`, which has `USER`, looked under their name and read signed out. Those three now carry `USER` and `LOGNAME` set to the user the server runs as, as the system names it (`os.userInfo()`), even when the server itself was started without `USER`, as a service launchd starts may be, or with another user's. <!-- changes/claude-keychain-account-user.md -->
|
|
34
|
+
|
|
35
|
+
Who breaks: anyone who signed Claude in from the console on macOS before this release. That login reads signed out once the server is updated, since its item is under `unknown`. What to do: sign in again under Settings → Model keys. The old item stays in the Keychain under the account `unknown` and still holds a valid login, which nothing reads any more. Delete it in Terminal with `security delete-generic-password -a unknown -s "Claude Code-credentials-<hash>"`, where `<hash>` is the first 8 hex characters of the SHA-256 of the login folder's path: for AgentRun's own folder, `D="<data>/claude-login"` (`<data>` is the server's `--data`, `~/.local/share/agentrun/agents` by default), then `security delete-generic-password -a unknown -s "Claude Code-credentials-$(printf %s "$D" | shasum -a 256 | cut -c1-8)"`. Keychain Access can delete it too.
|
|
36
|
+
- Behaviour change: on a run a trigger started (schedule, webhook, Slack, GitHub, Composio, email or feed), `email_send` now asks a person before it sends to an address this account has never sent to, even with `email_send` set to allow. Who breaks: an agent a trigger runs that emails new people unattended. Its send now waits for approval, naming them ("someone@example.com: this account has never sent to them"), and with accounts off, where no one can approve, it is refused in those words. To let it through, approve the first send to each new person; the run's later sends to them go unasked. <!-- changes/email-trigger-ask.md -->
|
|
37
|
+
|
|
38
|
+
- Never sent to means no message in the account's own Sent folder (Gmail's Sent Mail), from the account's own address and not a draft, has the address in its To, Cc or Bcc: the exact address, blind to the case of ASCII letters only, as far back as Sent goes. Mail received from someone doesn't count, so a scheduled run replying to a first-time sender asks once.
|
|
39
|
+
- What doesn't ask: the account's own address, an address the run already sent to (unasked or approved), on an email run its thread's starter (the From of the message that started it) when the receiving server's own Authentication-Results says `dmarc=pass` for the From's domain, and every send of a playground or API run, which only the 5-send cap holds, as before.
|
|
40
|
+
- The starter's pass is read only from the message's topmost Authentication-Results, and only under the account provider's authserv-id: Gmail's `mx.google.com`, the one known so far. On any other provider, or with no pass (no header, `dmarc=fail` or `none`, `dkim=pass` alone, a pass for another domain), the starter asks like any new address.
|
|
41
|
+
- An email run on its thread now asks too: it keeps the outside-the-thread ask, and a reply-all that reaches someone the starter Cc'd and the account never wrote to asks, naming them. `scope: "mailbox"` turns the outside-the-thread ask off and exempts no starter.
|
|
42
|
+
- `email_file` now refuses Sent and Drafts as targets ("email_file never files into Sent or Drafts: ..."), so a run can't move a draft or someone else's mail into Sent to make an address look written to.
|
|
43
|
+
- A Sent folder that can't be read, an account with none, and a send checked while no account is saved all ask, saying "its recipients couldn't be checked against this account's sent mail" and why.
|
|
44
|
+
- The setup skill's Local model step says to start Ollama: the server lists its models itself, so the service gets no gateway and no key for it. The first-run walks run on a fake Ollama. On a server with a public address (`--tailscale`, `--public-url`), the skill and the launcher's README say to set `OLLAMA_HOST`, the default address too: only one person's own server asks it unset. <!-- changes/ollama-walks.md -->
|
|
45
|
+
- Breaking: `agentrun service install --env AGENT_MODEL_API_KEY=none` is refused, and a re-install drops it from a service that has it. A service that reached Ollama through `AGENT_MODEL_BASE_URL` then gets `model_key_required`. Remove the gateway with `agentrun service install --env AGENT_MODEL_BASE_URL= --env AGENT_MODEL_GATEWAY_IDS= --env AGENT_MODEL= --env AGENT_MODEL_PRICE=`, start Ollama, and pick the model as `ollama/<tag>`. A service with `--tailscale` or `--public-url`, or an Ollama off port 11434 on this machine, also needs `--env OLLAMA_HOST=<host:port>` set to Ollama's address (port 11434 on that machine by default): such a server lists Ollama only where `OLLAMA_HOST` names it. A re-install that drops the key says so in one line naming this move, and never the key's value. `--env AGENT_MODEL_API_KEY=...` gets its own refusal naming the same move. Where the gateway is on this machine, that refusal and `model_key_required` both say to remove `AGENT_MODEL_BASE_URL`, since AgentRun lists Ollama itself, and add `OLLAMA_HOST=<host:port>` where the server would otherwise lose Ollama's address. A pair given to `--env` with no name before `=` is refused without being repeated.
|
|
46
|
+
|
|
47
|
+
**Changes:**
|
|
48
|
+
|
|
49
|
+
- A desktop's or a phone's agent can keep what it sees: `computer_screenshot` takes `save_as`, a path relative to the run's folder ending `.png`, and saves the screenshot there through the run's own files, whatever disk the computer has. The answer is the image as before, plus `saved as <path> in the run's files` (and `saved` in its structured value). A path outside the folder, an absolute one or one not ending `.png` is refused in words before the computer is asked. A screenshot with `save_as` is held to `write`'s setting as well as the computer's: `write` set to deny refuses it before the computer is asked, set to ask puts it to a person. `save_as` needs `write` among the agent's tools: an agent not given `write` is not offered `save_as`, and a screenshot with one anyway is refused in words, whatever `write`'s setting says. Nor is it offered with `write` set to deny, or set to ask on a server where no one can approve. <!-- changes/desktop-screenshot-save-as.md -->
|
|
50
|
+
A desktop or a phone the run's folder is not mounted in (one with `exec: false`, or a provider that mounts none) tells its model once in the run, as the server's note, that the computer's own disk is not the run's files and is deleted at the end, and that the file tools and `save_as` keep what the user should get. A run not given `write`, with `write` set to deny, or with it set to ask where no one can approve, is told instead that screenshots can't be saved to the run's files. The note goes after a due cap wrap-up, never ahead of it, and a resumed claim does not tell it again. The note is part of such a run's first request: on a pi desktop run on Sonnet it needs $0.055 through a gateway (from $0.052; its byte bound 10,445 tokens) and $0.031 straight to Anthropic (from $0.030, so the README's first-request figure there is $0.04); the documented $0.09 minimums for the five-step run do not change.
|
|
51
|
+
- A completed fal job's `result` is kept in the run's files at `evidence/fal/<request_id>.json`, so a step that needs the whole result (an audio clip's timestamp chunks, say) reads it from the file instead of the model retyping it. The run's MCP gateway files it when an answer of a fal server (`run_model`, `submit_jobs`, `wait_for_jobs`) carries a job whose `status` is `completed` and which has a `result`. The answer the model reads is unchanged, byte for byte. Only a request_id in fal's UUID shape names a file; any other id (a path, `..`, a plain name, a UUID with a suffix) is not filed, and the call works as before. A file is saved once: whatever is already at the path (a file, a folder, a link) is kept, and a link on the way is never followed. A file that lands at the path after the check is kept too: the file is made in one step that never replaces (`Workspace.writeNew`, on the local Workspace and on one attached to the run's computer). A result that can't be filed never fails the call. In Mode 2 the gateway files through the run's computer when it mounts the run's folder. With no computer mounting it, the gateway files over the Archil disk's file API, which has no `writeNew`: nothing is filed, and the call works as before (follow-up Parcha-ai/agentrun#3777). `web_save` now saves through the same helper. Where the Workspace has `writeNew` it also keeps a file that landed after its check. Where it doesn't (an Archil run disk), web_save keeps its check then a write, as before (follow-up Parcha-ai/agentrun#3777). The parsing is fal's meter's (`McpMeter.results`), so the gateway stays the same for every server. <!-- changes/fal-results-filed.md -->
|
|
52
|
+
- `@parcha/agentrun-import` reads GitHub Copilot CLI, a new source (`copilot`): each session's `$COPILOT_HOME/session-state/<id>/events.jsonl` (`~/.copilot` without `COPILOT_HOME`), and an older CLI's `session-state/<id>.jsonl`. `normalizeUsage("copilot", …)` takes the cache read and write out of `inputTokens` and keeps `reasoningTokens` as `reasoning`. <!-- changes/import-copilot.md -->
|
|
53
|
+
- Copilot writes no request's tokens to disk (`assistant.usage` is ephemeral). A session's tokens are the per-model totals of the `session.shutdown` each CLI process writes as it exits; a shutdown that holds the session's whole total (a CLI that keeps its accounting across processes) counts only what it adds. Each model's total goes on its last request in that process; the model's earlier requests there are `folded` into it (zeros, known), so the run is metered and the catalog prices it. A session with no shutdown, still running or killed, has tokens 0 and its requests unmetered. Copilot writes no dollar cost, so `cost` is `null` unless each request's tokens are known.
|
|
54
|
+
- Each model call is one request, keyed by its first `assistant.message`'s `messageId`; a response split into chunks (each its own `messageId`, one `apiCallId`) is one. Each event counts once by its `id` and each message by its `messageId`, so a copied session adds no request; a copied shutdown adds no tokens but moves the copy's baseline, so its next whole total adds only its own. Each turn keeps the ids it was read by (`uuids` its events', the shutdown's on the requests it fed; a request's new `keys` its later chunks' `messageId`s), so a later import of a copy counts it as one import of both would. A rotated journal's `checkpoint: true` records are copies. Subagent, autopilot, skill and agent-written user messages are not the person's turns.
|
|
55
|
+
- `agentrun-serve import` (and `--from copilot`) imports Copilot CLI sessions as runs. An imported run's entries keep those ids (`record_uuids`, and `record_keys` for a request's later chunks), and a later import restores them, as it does Claude Code's: a fork or copy of a session imported already counts none of it again. A turn's `folded: true` (its zeros counted in a later request of the session) is read as known tokens, never unmetered, so the run's estimate prices it. `imported_from.source` and the stats analytics' `by_source` take `copilot`, in the OpenAPI document and the generated clients.
|
|
56
|
+
- `@parcha/agentrun-import` reads OpenCode, its fourth source (`opencode`, run by serve's `opencode` harness). It reads every session in `$XDG_DATA_HOME/opencode` (`~/.local/share/opencode`): the `opencode*.db` databases (1.x and 2.x schemas), the one `OPENCODE_DB` names, and the JSON storage OpenCode kept before SQLite. SQLite goes through `node:sqlite` on Node and `bun:sqlite` under Bun. <!-- changes/import-opencode.md -->
|
|
57
|
+
- One locator per session: `{ file: <db>, id }`, or a storage session's JSON file. A session in several databases is listed once, from the one that wrote it last (its rows' latest `time_updated`; a tie, the first). A 2.x session wins over the 1.x copy beside it, and a 2.x fork's rows copied from its source count nothing.
|
|
58
|
+
- A 1.x fork's copies count once. OpenCode 1.x's `fork()` copies each message under a new id with its time, tokens and cost, and marks nothing, so the reader keys each request by a fingerprint (time, step, model, tokens and cost as written) and each prompt by its time and text, and passes over one the import has read. A 2.x row without a fork mark is keyed the same way. OpenCode's reader orders a home's sessions oldest first (`LocatorSize.created`, a reader's `order` takes an `OrderKey`), so a source is read before its forks. The cursor keeps its read's fingerprints (`owned`), so a session read again is no copy of itself. A prompt's fingerprint is its turn's `uuids` (serve's `record_uuids`). serve seeds the request and prompt fingerprints of the OpenCode runs in its store, so a fork imported after its source counts its own requests and prompts alone. The known-answer key of a database session is the sha256 of `<db path relative to the home>#<session id>`.
|
|
59
|
+
- The cursor holds the database's device and inode and a stamp of the session's rows. An unchanged session is not read again, a changed one is read again whole, and a replaced database is read from its start. A turns: false cursor (parseHome's state) holds no prompt, title or working directory, as a line source's does, so a read resumed from it gives none.
|
|
60
|
+
- Each step of an OpenCode message is one request, at its `step-finish` usage. `normalizeUsage("opencode", …)` adds the reasoning to `output` and keeps it as `reasoning`. OpenCode wrote the reasoning into `output` until 1.3.16 (anomalyco/opencode#21047), so `normalizeUsage(format, raw, { version })` keeps the output as written for a session whose `version` is older; the options are optional, and no version reads as today's. Where a step records `total`, the total says it whatever the version.
|
|
61
|
+
- A request OpenCode ran on its claude-agent provider names the Claude Code session that also holds it (`mirrors`, per request and per session). When `parseHome` reads that Claude Code session in the same call, the request counts there and not again in OpenCode's totals (tokens, calls, cost). Otherwise it counts in OpenCode's.
|
|
62
|
+
- `parseHome` adds a subagent's own written cost to its parent's for every source except Claude Code, whose `cost-state` already holds it. OpenCode's subagents are sessions of their own.
|
|
63
|
+
- A reader may give `stat(locator)`: the session's own size and last write. OpenCode's is the session's rows' (their `data` bytes, their latest `time_updated`), not its database's. `locatorSize` exports it, falling back to the file's, and `inOrder` returns it with each locator.
|
|
64
|
+
- The mirror rule is one export, `mirroredIn` with `sessionKey` and `ownRequests`, which `parseHome` and serve both use.
|
|
65
|
+
- serve's import goes by each session's own size and last write: the 10-minute "still being written" check, the per-session cap and the run's 256 MiB budget. One live OpenCode session leaves the rest of its database importable, and a database over the budget imports every session that fits.
|
|
66
|
+
- serve's import holds back an OpenCode run whose request ran through a Claude Code session that is on disk and not imported now (still written, held back with a live subagent, in a project not chosen, or of a source this import does not read: with `--from opencode` alone it lists Claude Code's sessions to know), said under a new left-out kind, `mirror`. It comes in with that session, so the request counts once in either order. A session no import brings in as it is (over the cap, unreadable, a temp or gone folder, none of the person's messages) does not hold it.
|
|
67
|
+
- serve's import counts a mirrored request once: when the Claude Code session it mirrors is already in the store, or this import saved it, the OpenCode run's metrics, cost and estimate leave it out. The import writes Claude Code's runs first, so the session a request mirrors (an OpenCode run's own or a subagent's at any depth) is saved before the run that leaves it the request. Every other source's runs follow in their own order, so an OpenCode session comes before its later forks and keeps the records they copied, its subagents read with it. One that is not saved (unreadable, too large, a stop before it) leaves the request in the OpenCode run. The turn stays in the OpenCode transcript either way. When it counts elsewhere, its answer carries `data.mirrors`, and the timeline shows it and counts no request. A Claude Code session imported later cannot reach back into the OpenCode run, so that run waits for it (above).
|
|
68
|
+
- A `turns: false` read of OpenCode keeps no answer text, in its requests or its cursor, as the other readers do. A request's error reads as `failed` (`FAILED`), never the provider's message.
|
|
69
|
+
- A time OpenCode wrote past now (a clock set ahead, or past what a Date holds) reads as its database's last write (its file's or its `-wal`'s, never past now), in a session's times and its `stat`. That is the same at each look, so the session ages out of the 10-minute "still being written" window as its database does, and never holds back its parent run for ever.
|
|
70
|
+
- OpenCode's databases are opened read-only with a 5 s busy timeout, so a read waits out OpenCode's write lock instead of failing. A database OpenCode has closed (no `-wal`, no `-shm` beside it) is opened `immutable`, as a read-only open of a WAL database would create both in OpenCode's folder and leave them there, owned by whoever read. A read that finds OpenCode opened or wrote the database meanwhile (its `-wal` or `-shm` there after, or the file's size, time or inode changed) fails, and the next import reads it again. A read adds its fingerprints to `seen` only once it ends clean, so one that fails partway takes none of its records from a later fork. With either file there, OpenCode has it open and it is opened as before, its `-wal` rows read.
|
|
71
|
+
- The JSON storage is read by its own files' names: a session's messages under `message/<its file's name>`, a message's parts under `part/<its file's name>`. Never by an id a file holds, and never through a linked folder. A session whose id is not an OpenCode id (`[A-Za-z0-9_-]`) is passed over.
|
|
72
|
+
- A session OpenCode is still running is live (its `stat` says written now), whatever its rows' times say: a 2.x session whose `time_busy` is after its `time_idle`, and a 1.x or storage session whose last message is a request not completed or has a tool part pending or running. A request its error ended (failed, or aborted: stopped, as its read says) has ended, completed or not. One parked on a permission prompt past 10 minutes is not imported as finished.
|
|
73
|
+
- An OpenCode database that cannot be listed (not a database, unreadable) is a locator of its own, whose read fails: `parseHome` hands it back among its `failures` and the known-answer CLI exits 1, never an OpenCode history of no sessions. A storage session is told from a database by its name (`.json`), never by reading the file's header. A storage session whose file or folder cannot be read (no access, an I/O error) fails its read whole, never read as fewer messages. A record that is gone mid-read, or is malformed JSON, is passed over.
|
|
74
|
+
- A session whose own size cannot be had (its database locked or damaged since it was listed) is no longer dropped from `inOrder`. It is kept, marked `failed`. `parseHome` reads it, and a read that fails too lands among its `failures`. serve's plan leaves it out as `unread`, said. Only a session that is gone (its reader's `stat` says none, or its file is missing) is passed over.
|
|
75
|
+
- The store's SQL guard (`scripts/store-sql-guard.test.mjs`) allows SQL outside the store in one named file, the OpenCode reader. It reads OpenCode's own database, not agentrun's. The guard holds it to SELECT statements (and its busy timeout) only and to read-only opens: `bun:sqlite`'s `{ readonly: true }`, or SQLite's read-only and URI flags alone, for the `immutable` URI. The guard also finds a driver module named through a const (`const NODE_SQLITE = "node:sqlite"; await import(NODE_SQLITE)`) and counts `bun:sqlite` as a driver.
|
|
76
|
+
- serve finds each source's folders where its environment puts them (`CLAUDE_CONFIG_DIR`, `CODEX_HOME`, OpenCode's `XDG_DATA_HOME` and `OPENCODE_DB`), as `parseHome` does.
|
|
77
|
+
- An imported run's cost holds its subagents' costs where the source writes them on the subagent's session (every source but Claude Code, whose cost already holds them): `withSubagentCosts`, which `parseHome` uses too. One unknown makes the run's unknown.
|
|
78
|
+
- serve's import brings a run in only when every subagent it has, at any depth, can be read now. The plan walks the import's children relation (Claude Code's subagent files, Codex child threads, OpenCode child sessions). If any one is still being written or is over the cap, the run is left out with it, said as `live` (or `large`), and it comes in whole later. A live subagent's listing ties it to its run. One over the cap is not read, so it is tied by `locatorParent`: the parent its reader's `stat` names (OpenCode's), else its reader's `parentOf`, a bounded head read (Codex's: a rollout's first line, `session_meta`, read 256 KiB at a time up to 64 MiB, so a long `session_meta` still names its parent).
|
|
79
|
+
- serve imports OpenCode runs under an `opencode` revision whose instructions are the project's AGENTS.md, else its CLAUDE.md. The project's `.opencode/skills` and `.opencode/skill` folders, where OpenCode reads a project's skills, are among its skill folders. A home's global skills (`~/.config/opencode/skill(s)`, `OPENCODE_CONFIG_DIR`) are not imported, as no harness's are.
|
|
80
|
+
- serve: the `imported_from.source` and `by_source` enums and `ImportSource` include `opencode`, and `agentrun-serve import --from` takes it.
|
|
81
|
+
- A learned workflow's check now judges each `agree_on` field (else the whole answer) against a grade's expected answer where one exists, else the agent's answer, and a hold names the fields that failed and the known answers the draft missed. <!-- changes/learning-check-per-field.md -->
|
|
82
|
+
- The models of this machine's Ollama run on codex and opencode too, and on a harness module on OpenAI's Responses. A Responses request goes through the same translation as pi's and the Messages harnesses' (`/api/chat`, `num_ctx`, tools as text where a model needs it), at $0, never counted toward `AGENTRUN_FREE_MODEL_REQUESTS`. They are listed in those harnesses' models and free models. The trust rules are unchanged: Ollama at the default address only on one owner's own server, and elsewhere only where `OLLAMA_HOST` names it. <!-- changes/responses-wire-ollama.md -->
|
|
83
|
+
- On upgrade: on a server with no model key and Ollama running, codex and opencode now start the runs they refused before, on Ollama's first model that calls tools. A saved agent on either harness that names no model follows that default. Name the model to pin it. Any key wins.
|
|
84
|
+
- Each request is the whole conversation. `store: true` and `previous_response_id` are refused with a 400 that says so. Replayed reasoning, OpenAI's encrypted reasoning included, is dropped.
|
|
85
|
+
- Function tools only. A custom (freeform) tool, `local_shell` and `web_search` are refused with a 400 naming the tool, never dropped. codex offers no live web search on these models.
|
|
86
|
+
- A `tool_choice` that forces a call (`"required"`, or one naming a function) is refused with a 400: Ollama can't be made to call a tool. `"auto"` and `"none"` are taken.
|
|
87
|
+
- `text.format` `json_schema` is Ollama's own `format`: the answer is held to the schema. `json_object` is held to any JSON object. Beside tools sent, a format is refused with a 400, since a model held to a format can't call a tool: codex's `--output-schema` (an output schema on every turn, with its tools) stops running on these models. Drop the output schema, or use a model route that takes tools with a format. A format of another type is refused too.
|
|
88
|
+
- `temperature` and `top_p` reach Ollama's options. On a thinking model, `reasoning.effort` turns Ollama's thinking on, and `"none"` turns it off. An effort the route doesn't know is refused.
|
|
89
|
+
- `parallel_tool_calls: false` (codex sends it for a model it doesn't know) gets an answer's first tool call alone: Ollama has no switch for one call per answer. The calls it drops are logged by count and tool name.
|
|
90
|
+
- A request streams only with `stream: true`. One that names no stream gets the whole response as one JSON body, as OpenAI's API answers it.
|
|
91
|
+
- codex and opencode are told the model's window as the route runs it (its `num_ctx`: the model's trained context, at most 64k, at most `OLLAMA_CONTEXT_LENGTH`), not their 272,000 default, so they compact before Ollama would cut the prompt.
|
|
92
|
+
- Their output ceiling is the route's too (half the window, at most 16,384), not their 32,000 default.
|
|
93
|
+
- An answer cut at its output limit ends `response.incomplete` (`max_output_tokens`) with its usage: it is booked, and codex ends the turn instead of asking again.
|
|
94
|
+
- Every model id a client sends (codex's title and compaction requests, opencode's small model) runs the one tag.
|
|
95
|
+
- `GET /v2/runs` takes `from`, `to` and `model`, for any run, whether made here or imported. `from` and `to` are RFC 3339 date-times with their zone (`2026-11-01T00:00:00Z`, or an offset such as `+01:00`). They list the runs started in [from, to): a run that started exactly at `from` is in, and one that started exactly at `to` is out. Either one can be given alone. An imported run starts when its session did. `model` lists the runs that sent at least one request to that model, named exactly as a run's metrics name it (no prefix, no case folding), `provider/model` (`anthropic/claude-sonnet-5`, `openai/gpt-5`). A run counts from its first finished turn: its metrics are written each time a turn ends, covering every turn so far, so a run in its first turn is not listed yet, and a model it first uses in a later turn counts once that turn ends. The server reads no time zone; the console turns its own dates into instants. The console's runs list keeps all three in the address (`#/runs?from=...&to=...&model=...`, each with a button that clears it). The CLI, the TypeScript client and the Python client send them as `--from`/`--to`/`--model`, `from`/`to`/`model` and `from_=`/`to=`/`model=`. A window or a model that no run has lists none. These are 400: a `from` after `to`, a value that is not a date-time with its zone, an empty model, and a second value for any of the three. <!-- changes/runs-filters.md -->
|
|
96
|
+
- Goose 1.59.2 no longer asks permission for a call of one of AgentRun's tools, and the ACP adapter no longer reads Goose's titles. Before, it tied `agentrun: <tool>` (with or without Goose's summary, `agentrun: write · proof.txt`) to our tool and answered `allow_once`, and a title in a form it did not read reached the tool gate as Goose's own call and stopped the run at input_required. <!-- changes/acp-announces.md -->
|
|
97
|
+
- A recipe's new `allowFile` (`{ path, form }`) is written into the private HOME at each start from the tools that start lists. Goose's recipe declares its permission file, `.config/goose/permission.yaml` in the form `goose-permission`, every tool allowed as `agentrun__<tool>` and nothing else, so the gate asks once, at the MCP call.
|
|
98
|
+
- The adapter answers a permission request `allow_once` without the gate only where the recipe declares `quirks.permissionTie: "title"`: Cursor's recipe, since its allowlist asks for every MCP call, and the Antigravity example's, since agy asks for every one too. Every other request goes to the host's gate, journaled, whatever its title says.
|
|
99
|
+
- A recipe's new `announces` field says where the agent's `tool_call` names the tool it calls: Goose 1.59.2's `_meta.goose.toolCall.toolName` (`agentrun__<tool>`), Cursor's late update's `rawInput` (`providerIdentifier`, `toolName`, `args`), agy's `name` (`mcp_agentrun_<tool>`, its `prefix`). Its `extras` names fields an agent writes beside the arguments that the MCP call never carries (agy's `toolSummary`), left out before the two are matched. A path that starts at the `tool_call`'s `title`, `toolCallId`, `kind`, `status`, `rawOutput`, `content`, `locations` or `sessionUpdate` is refused (the agent's text or a tool's output), and a recipe with the title tie and no `announces` is refused. A call is matched to its MCP call by that tool and its arguments, never by a title. A call it names as another tool (Goose's own `load_skill` with the same arguments) never takes our call's id, so the resume memo keys our call under its own id.
|
|
100
|
+
- A title naming our tool on a call of the agent's own (a read titled `agentrun__write`) no longer marks it ours, so Cursor's tie never answers its request; the host's gate does.
|
|
101
|
+
- The host gate's question about an agent's permission request carries the request's `toolCallId` in its `args`. `agentrun harness-check` matches a permission request to `check_echo` by that `toolCallId` or by the check's nonce as its input's `text`, never by its title. Its `mcp_tool` row counts every request (`permissionAsks`) and those for `check_echo` (`ourAsks`); a request for the agent's own call fails no stage. A recipe file passes `allowFile`, `announces` and `quirks` through.
|
|
102
|
+
- `AGENTRUN_LOG=debug` makes serve write into a run's log one line per call an ACP agent announces, on a recipe that declares `announces`: `acp: the agent announced a call`, with the call's `toolCallId`, its `kind`, the tool name the recipe's field holds when it names an AgentRun tool (at most 200 characters; `native` for any other call, since a recipe's field may sit inside the call's input) and the AgentRun tool it named, never the call's input. A call announced with no name (Cursor's) gets the line again when a later update names it. Unset or `quiet`, no such line is written.
|
|
103
|
+
- A server's address has one name in an app's environment, `AGENTRUN_BASE_URL`, the name AgentRun's clients and CLI read. A suggested agent's pull request and client file, the two lines the console's AgentRun API keys page copies, and the Suggested agents page's "Set in your app's environment" list all named it `AGENTRUN_URL`, so an app that also used the SDK or the CLI held the same address under two names. <!-- changes/agentrun-base-url-one-name.md -->
|
|
104
|
+
|
|
105
|
+
- Each of them now gives the value the server prints when it starts: the address ending in `/v2`. The page of HTTP calls written for a language with no client adds no `/v2` to its paths.
|
|
106
|
+
- A suggested agent's client (TypeScript, JavaScript or Python) reads `AGENTRUN_BASE_URL` and takes it with or without `/v2`, trailing slashes cut, as the SDK does. An address that is no `http` or `https` URL is refused by the variable's name before anything is sent.
|
|
107
|
+
- A client file from a pull request opened before this release still reads `AGENTRUN_URL`, as its own header and its pull request say. An app with one of each sets both: `AGENTRUN_URL` stays the address without `/v2`, which that file adds itself. A create whose branch was pushed before this release and whose pull request GitHub refused opens that pull request when Create is sent again: its text says `AGENTRUN_BASE_URL` while the pushed file reads `AGENTRUN_URL`. For that file, set `AGENTRUN_URL` to the address without `/v2`.
|
|
108
|
+
- The Antigravity example recipe names agy's calls of AgentRun's tools by the field agy writes them in, `name` (`mcp_agentrun_<tool>`): `announces` with `prefix: "mcp_agentrun_"`, and `extras: ["toolSummary"]`, so the summary agy adds to the arguments it reports is left out when the call is matched to its MCP call. agy asks permission for every MCP call, so the recipe declares the title tie: a request titled `Run mcp_agentrun_<tool>`, the whole text, for a call `announces` named as that same tool, is answered allow once, with the host's gate asked at the MCP call itself, as for Cursor. The Antigravity example recipe now passes `harness-check` (agy 1.5.14): it declares MCP over stdio, since agy advertises no MCP over HTTP, and names `.gemini/antigravity-cli/conversations` as its state, so a resume after a kill and another runner both load the conversation. <!-- changes/antigravity-recipe-check.md -->
|
|
109
|
+
- A change for callers: an approval's note (`POST /runs/{run_id}/approvals/{approval_id}`) is now cut of the keys the run holds before it is written into the run, as a message is. A run whose launch's sealed part won't open under this server's seal key now refuses a note with `409 not_continuable`, `details.reason` `withheld`, and nothing is written. Before, the note was written whole, so a deny note that repeated one of the run's keys kept it in the run's command rows, and the run's view showed it once its end erased the key. An answer with no note is taken as before. <!-- changes/approval-note-cut.md -->
|
|
110
|
+
|
|
111
|
+
`template eval` no longer cancels a run at one claim read that finds no runner when a runner already took the run and its view later reads queued again (a workflow run between steps, a run waiting for a place after a cap raise, a steer not yet taken). A page that isn't queued now counts as the run held, so the queue bound starts over from there.
|
|
112
|
+
- A read of the ChatGPT sign-in that was out while a sign-in was kept, or while a sign-out removed it, no longer undoes their state: the server stays signed in or signed out as they left it. A server that stops while a pasted sign-in is still listing its models waits up to 2 seconds for it, so the sign-in is saved before the store closes. <!-- changes/b50-plan-close-followups.md -->
|
|
113
|
+
|
|
114
|
+
`agentrun start` keeps in `start.log` only a line in the server's exact shape of a sign-in's failure, at most 64 KiB of them after the start. A second start on the same data folder no longer leaves the first's later lines over its log or after a run of NUL bytes.
|
|
115
|
+
- A model the runner's route translates onto a harness's wire (this machine's Ollama models on Anthropic's Messages and OpenAI's Responses) is offered only to a harness whose proxy forwards with the route's `fetch`, and the Messages translation no longer drops what it can't run. Before, any harness on the wire was offered those models, including a module that sends its requests to the network, where nothing answers. <!-- changes/b51-route-hints.md -->
|
|
116
|
+
- `AdapterFacts` gains `forwardsRoute`. claude-agent, Goose, codex and opencode set it, and so does every recipe that builds on Goose's facts. A harness without it is offered none of the route's models, takes none as its default, and its words say to add a key ("No model yet for <harness>: add an OpenRouter or Anthropic key"). A run that names one is refused before it starts.
|
|
117
|
+
- An output schema (`output_config.format` of type `json_schema`) on a Messages request with no tools now reaches Ollama as its `format`. Before, it was dropped and the answer came back unconstrained. Beside tools it is refused with a 400 `invalid_request_error` that says to drop the output schema or use a model route that takes tools with a format, because Ollama holds the whole answer to the format and leaves the model no way to call a tool.
|
|
118
|
+
- The Messages translation answers `POST /v1/messages` and `POST /v1/messages/count_tokens` alone. Any other method or path is a 404 `not_found_error` in Anthropic's error shape, and nothing reaches Ollama.
|
|
119
|
+
- `agentrun harness-check` on a model the route translates (`--model ollama/<tag>`) now reaches it. Its recorder wraps the route's own fetch, so the recipe's agent gets the same route a server's run gets and the check still sees every request. Before, every request went to the route's placeholder origin and `mcp_tool` failed.
|
|
120
|
+
- A server in AgentRun's image with no Docker socket (Fly.io, Render, a Kubernetes pod) now says what Settings → Computers says: use a vendor computer, or, on a machine you run, give it the host's socket with compose.yaml. A `--faux` server in the image says the image's words too. <!-- changes/box-reason-hosted.md -->
|
|
121
|
+
- A browser session kept across a reopen no longer holds its down time twice under a spend cap: once its first charge after the reopen books that time, its reserve on the run's ledger is one stretch again, so the run's next call is no longer refused for room the run never spends. <!-- changes/browser-reserve-one-stretch.md -->
|
|
122
|
+
A new browser session whose reserve the cap refuses now pauses the run in the cap's words and logs `browser_reserve_refused`, where before the refusal went unread and the session ran on with its next stretch held nowhere.
|
|
123
|
+
- Capabilities now mark a tool that runs only on the server `runner_only: true` (the browser), as they mark a box-only one `sandbox_only`. The console's Tools step reads it. A tool card now states every rule that keeps its tool off here, together: the harnesses that run it, where it runs, and what it lacks. For the browser on Claude, in a box place, it says "Runs on Pi here, not on Claude; Server-only: it runs on the server, and this agent's place is the docker box". Before, a card stated one rule at a time. On Claude it named only the harness. On pi, in a box place, it said nothing, and the save was then refused. <!-- changes/browser-states-every-rule.md -->
|
|
124
|
+
- A stopped or cancelled run's kept desktop, phone or sandbox is now deleted when the run ends, by whichever runner ends it, instead of staying up until its 10 minutes pass; a Docker container on another runner's host is deleted by that runner, as before. When the runner that kept a machine refuses new runs, the run resumes on another runner with a new machine, the timeline says the runner that kept the old one ends it, and that runner does. The timeline says a park kept its machine only once the keep is saved, GET /v2/runs/{run_id}/computer says a machine whose keep ended early wasn't kept, and the 10 minutes run on the store's clock, so a runner whose clock is off no longer moves them and GET /v2/runs/{run_id} on a server whose clock is off no longer says the machine released while it is still kept. <!-- changes/claim-affinity-followups.md -->
|
|
125
|
+
- Capabilities' `features.claude_login` and the Claude Code login routes now read one answer, so they can't disagree. In Settings → API Keys, a login turn-on or turn-off that answers after capabilities hid the row no longer puts the row back. <!-- changes/claude-login-served-secretlint-pins.md -->
|
|
126
|
+
- The runner's hold of Claude Code's refresh lock on AgentRun's own login folder, where each run is a user of its own, is steadier. A runner whose new lock is gone at its first touch (another holder took it) waits for that holder and takes its renewal, instead of failing the ask. A runner whose read of its own lock or `.takeover` directory fails on release (an I/O error, not the lock gone) reads it once more and removes it while it is still its own, instead of leaving it for the 60 s stale time. A failed read of the lock just before or after the renewal is sent is logged as `lock_unread`, no longer as `lock_lost`, which now means only that another holder took the lock. A renewal whose save could not read the login's file (an I/O error, not the file gone) keeps the renewed pair in memory and saves it at the next ask, logged as `file_unread`, instead of forgetting it: when Anthropic rotated the refresh token, that pair held the only one left, and later asks could not renew. An ask that reads the login's file while a renewal that got a new refresh token is still saving it now waits for that renewal and is handed its token, instead of being refused for the refresh token the renewal just spent; so is one whose read ends just after a renewal that could not save its new pair settled, handed the pair held in memory. The runner's reader of the login now says each renewal's outcome on the runner's log, as `event=claude_login` lines with no token in them (a renewal that failed or was refused, a save held, a lock lost or unread); before, it said none. A renewal writes its new pair back before it says a lock lost or unread after its post, so a log that fails there never loses the pair, and a second ask's save of a held pair another ask already saved is said as `reason=already_saved`, never as `reason=newer`, which means another holder's pair. And a run that is a process of its own runs on the login only if its claim read it on, so turning the login on just after such a run is claimed never moves it onto a login its claim did not check. <!-- changes/claude-login-token-followups.md -->
|
|
127
|
+
- A claude-agent or codex run paused at its cap and raised now shows the server's follow-up ("The cap was raised to …; continue the task.", as the server's) on its timeline and in its record, as a pi run does. <!-- changes/cli-raise-follow-up-row.md -->
|
|
128
|
+
- Add from Composio takes a typed toolkit slug again when Composio's toolkit list fails or leaves the toolkit out, and **Cancel** works while a list loads. A key edit or Cancel stops the load. The toolkit listing gives up after 30 seconds in all, and any Composio answer over 4 MiB is refused. Only an account Composio names as the server's user's connects a server, labels it, or runs its trigger: one Composio answers as another user's, or with no user at all, never does (`composio_not_connected`), and the user connects one again. A trigger on a server whose saved Composio user is blank is refused before Composio is asked anything; the server's own Composio routes (its events, its triggers, the project's subscription) and its delete still work. An account a refresh kept on 0.1.0-beta.57 or beta.58, which could be another user's, isn't shown: the server shows no account line until its next **Refresh**. <!-- changes/composio-picker-fallback.md -->
|
|
129
|
+
- A desktop, phone or sandbox turned off for the rest of a run (its tools refused for a deny) is no longer kept when the run parks: it is deleted at the park, as at the run's end, and its mount credential for the run's folder is revoked. Before, it was kept and billed for 10 minutes that no later part of the run could use. <!-- changes/computer-off-followups.md -->
|
|
130
|
+
- A plain `npm install` of the server now brings the vendor SDKs its computer providers load (e2b, modal, @boxd-sh/sdk, ssh2 and Archil's `disk`), as pinned optional dependencies of `@parcha/agentrun-computer`, so E2B's "Test connection" no longer fails with "Cannot find package 'e2b'". Installed without them (`--omit=optional`), a provider says the package and its install step, such as `E2B needs the e2b package: npm install e2b@2.63.0`. In Mode 1, a sandbox provider that could hold the run's folder on an Archil disk now says to turn on Archil in Settings → Workspace. <!-- changes/computer-vendor-sdk-deps.md -->
|
|
131
|
+
- A desktop's or a phone's live view draws its screen at your display's own pixels, so it stays sharp at any size, the console's full-window view and a high-density display included. The view used to draw each frame at the frame's size and let the browser stretch it to fit, which blurred text. A view whose box has the screen's shape is filled to its edges, and resizing it redraws the screen at the new size at once. <!-- changes/computer-viewer-sharp.md -->
|
|
132
|
+
- On a server that sends its models to a gateway, the first screen's card no longer offers the ChatGPT sign-in or a provider key where neither runs an agent: with no gateway model named it says to name one (AGENT_MODEL, or Settings → Model keys → Use a model gateway), and with a gateway address AgentRun refuses it says why, in the server's words. `GET /v2/settings/model-gateway`'s `problem`, which Settings → Model keys → Use a model gateway shows too, now gives every refusal a run meets, Particle's API among them, not only the address rule's, and saving or testing a gateway there refuses Particle's API the same way. The card reads that view again with each new read of the capabilities, so an address fixed at a restart stops showing refused. Where the gateway server's own default is a plan model (`AGENT_MODEL=chatgpt/…`), the card offers the ChatGPT sign-in, which runs it. A plan model a gateway names under its prefix (`agent-model/chatgpt/…`) reads as the plan's ("… · on your ChatGPT plan") wherever a model is labelled. <!-- changes/console-gateway-card.md -->
|
|
133
|
+
- A Docker computer's egress proxy no longer outlives it. A delete now finds the proxy first and removes the computer and its proxy in one `docker rm`, so a teardown cut off partway (the process running it ended, as a one-shot server's close can) never leaves a proxy running with no computer. A computer whose own removal fails, on a release or after a create that was cut off or whose computer never started, still has its proxy and volume removed, and the computer's failure is still the answer. Before, a failure or an exit between the two calls left the proxy running until its 24 hour deadline. <!-- changes/docker-egress-teardown.md -->
|
|
134
|
+
|
|
135
|
+
- `sweepLeftovers` and the janitor's `sweep` take `mine`: given a leftover's labels, whether it is the caller's to remove. Without it, every leftover with the sweep's labels goes, as before.
|
|
136
|
+
- serve's computer janitor now sweeps Docker's leftovers at the runner's start and on its interval, for this server's alone: a proxy or volume whose `agentrun.run` label (or its hash) names a run in this store that no claim holds. Another server's on the same Docker host is left for that server's own sweep.
|
|
137
|
+
- Docker's `sweepLeftovers` never removes a proxy or volume whose computer is there: it reads the computer by name right before each removal, after `mine`, and a read that fails keeps the part. A past deadline no longer overrides a running computer, and a computer made while the sweep runs keeps its proxy. A part with an owner label is never removed.
|
|
138
|
+
- A release (delete) now runs `docker ps` for the proxy before its `docker rm`, and a stop looks for the proxy before it stops the computer.
|
|
139
|
+
- A saved harness key with no binding to any recipe file now says so: `reenter.why` is `not_bound`, not `recipe_changed`. That covers a key saved before keys were bound and one whose binding write was cut off. Upgrading from 0.1.0-beta.56 or earlier: every harness key saved then has read as not saved since 0.1.0-beta.57, the first release that binds keys (there as `recipe_changed`, now `not_bound`), and its runs have been refused since; paste each such key again on the Harness keys page. The Harness keys page says "Not tied to a recipe file" beside it. Such a key reads as not saved and no run gets it, so a scheduled or triggered run of that recipe is refused until each of its keys is pasted again on the Harness keys page; the old value stays sealed and cut until then. `GET /capabilities` with a bearer the server does not take still answers, with no kept ids, and now also writes an `auth_failed` line (`reason=wrong_token`) like every other route. A `DELETE` of a key the harness doesn't hold is refused with the keys it does hold ("acme's keys are ACME_API_KEY."), never "acme runs on …" for an id no recipe runs. <!-- changes/harness-keys-followups.md -->
|
|
140
|
+
- Behaviour change for Mode 2: MCP evidence (`evidence/mcp`) now lands on the run's disk instead of the runner's local folder for the run. Before, a claim's MCP gateway wrote to that local folder, outside the run's files. Where nothing had made the folder, it told the model a long answer "could not be saved". In pi's spec it wrote over the disk's file API instead, which the run's computer's mount refuses while it holds the disk's write delegation. Each claim path now hands the gateway the run's active Workspace: the one attached to the run's computer once that computer mounts the folder, otherwise the disk's file API. A Mode 2 run with no computer mounting its folder files no fal results (`evidence/fal`) until Parcha-ai/agentrun#3777. With one, they are filed through the computer. Mode 1 is unchanged: the run's folder on this machine, which a Docker box bind-mounts. <!-- changes/mcp-evidence-mode2-disk.md -->
|
|
141
|
+
- The owner's MCP server edits are no longer lost to a write that read the server earlier. A tools refresh (the owner's or the API token's) used to write back the address, auth type and prices it read over a save that landed while it listed, including a repricing in the same millisecond. Now it lands only on the server as it read it, and otherwise retries on the fresh row or is refused in words with nothing written. The owner's OAuth sign-in over a server an API token saved now makes it the owner's, as the owner's save already did. Over a server an API token saved, whose reads show only its origin, the owner's save, sign-in and preview no longer take that shown address (`https://host/…`) for the saved one: they answer `422` on `url` (`not_an_option`), so the owner's credential goes only to an address the owner named in full. <!-- changes/mcp-owner-data-guards.md -->
|
|
142
|
+
- An MCP server saved under a name is now always made after every earlier server of that name that a record still describes. This holds even within the same millisecond, after the clock stepped back, or when another server process sharing the database made the earlier one. Before, the new server could get the same creation time, and an owner's removal of the earlier server could then drop the record saying the API token saved the new one, so the new server read as the owner's. <!-- changes/mcp-server-made-after-records.md -->
|
|
143
|
+
- An MCP server the API token saves under a new name is the token's from the moment it exists. The token's first save used to write the server, then the record saying the token saved it, in two writes. An owner's preview, save or sign-in start that landed between them, sent at the address reads show (its origin), was taken as the owner naming the token's address, and the owner's credential went there. Both are now written in one store transaction, so such a request is refused under `url` (`422`), as it is once the save is done. An owner's delete of a server under that name that lands while the token saves the name again no longer drops the token's new record either: the delete removes a server's records only while they are still the ones it read. <!-- changes/mcp-token-first-save-mark.md -->
|
|
144
|
+
- A run's trace no longer costs or carries what it should not. Under `agentrun-serve runner`, where each run is a process of its own, a run's end waited up to 3 s on the collector, since that process flushed its own spans before it exited: now it sends its trace to its runner, which exports it in the background, and a run's process never holds an `OTEL_*` setting at all. The runner reads that trace as untrusted: every string it carries (a provider, a host, a call id, a request's or turn's end, a failure) is cut of every secret the runner holds, or taken only from values the runner knows, and a call's id, its parent's or a route's name longer than 128 characters is kept as its SHA-256, so a run's process can't hold megabytes of ids open in its runner. A name the model wrote no longer reaches a span as written: a call the harness refused (a tool the session does not have; the kernel's `tool_start` event says `refused: true`, which claude-agent now sets) is `execute_tool` with `error.type=tool_refused` and no tool name, a model the run does not know (not a route's model, nor one its price table names by that same id) is named by its route's model, and every name is cut of every secret the runner holds and at 64 characters. Each value of `OTEL_EXPORTER_OTLP_HEADERS` and `OTEL_EXPORTER_OTLP_TRACES_HEADERS` of 8 characters or more is now a secret the server and the runner hold, under any header name, an unknown one too, but a `Content-Type`, `Accept`, `Content-Encoding` or `User-Agent` header's value, and a dataset or tenant header's (`x-honeycomb-dataset`, `x-axiom-dataset`, `x-scope-orgid`), which is only cut from the tracer's `[otel]` lines, so a dataset named `production` refuses no source capture. A credential is held without the word before it too, after a known auth scheme (`Bearer`, `Basic`, `Api-Key`, `Api-Token`, `Token`, `sentry`, `Splunk`, `GenieKey`) or under a credential-named header (`authorization`, `x-sentry-auth`, `x-api-key`); any other header's value is held whole, never its tail alone. So are an OTLP endpoint's user, password and each query parameter named like a credential: a word of its name is a credential word or ends in key, token, secret, password, auth, sig, signature or credential (`api_key`, `access_token`, `apiKey`, `accesstoken`, `writekey`; never `authority` or `keyspace`). A comma inside a header value must be written `%2C`. The tracer's own `[otel]` lines, where an exporter's error may quote a header it sent, are cut of each such value at any length, a short one too, and of what follows any header value's first word; everywhere else (the runner's logs, what a run writes, a served run, a source capture) a held value is still cut at 8 characters or more and a shorter header value is on no held list, on purpose, since a needle of a few characters would cut ordinary text, turn a served number such as `1` into `[redacted]`, or refuse a source capture of any project that holds it. <!-- changes/otel-trace-names-and-child-export.md -->
|
|
145
|
+
- A run whose loop runs in a process of its own (the runner's default) now reports its browser to the server: a browser its owner took over reads `computer.state: "taken_over"` (Running now's "You drive"), and a browser let go while the run waited for its person shows the Screen tab's ended state. The run's process writes both rows itself, and the store a run's process reaches refused every settings write, so neither ever reached the server outside a test. It may now write and remove those two rows of its own run, and no other. <!-- changes/run-process-browser-rows.md -->
|
|
146
|
+
- The console's trigger forms (a schedule, a webhook, a GitHub trigger, an app trigger, a feed trigger and an email trigger) now take the picked agent's typed input as the run bar does. An agent whose input_schema has fields shows them under the message and sends them in `target.input` beside `content`, and the server's refusal of one of them is said at that field. An agent whose schema the fields can't show takes its whole input as JSON. Editing a schedule keeps its typed input and anything else in it the form doesn't show, saves a field left alone exactly as stored (a list item's spaces, a blank item or an empty value included), and a schedule whose input has no message can be edited again. A message left blank beside typed fields is sent as `""`, so each run still gets what the server adds to `content` (a trigger's event, a schedule's last answer); a whole JSON input goes exactly as written, and the form says what comes in its `content`. An agent whose schema limits its input's keys (`maxProperties`, `propertyNames`) takes its whole input as JSON in a trigger's form, where the message is the person's to keep or leave out. A trigger's page lists its typed input beside the message. In every trigger form's Agent picker, agents that share a name each show their id beside it. <!-- changes/schedule-typed-input.md -->
|
|
147
|
+
- A `codemode` script that stops at a call the run refused (a tool set to deny, a person's deny) now reads Refused on the run's Timeline, as the refused call inside it does. Before, the script's own row read as a call that ran and failed, so the console showed a red Error chip on it and a neutral Refused chip on every other refused step. The same holds for `tools_call` of a refused tool. A host tool that `nests` may now answer `refused: true` with its error; pi marks that result refused, and the other harnesses end the call refused. The console's Refused chip on a script says it stopped at a refused call, its calls before that one having run. The script's text, and what the model reads, are unchanged. <!-- changes/script-refused-reads-refused.md -->
|
|
148
|
+
- A missing or malformed `AGENTRUN_SEAL_KEY` is refused in one wording wherever the key is read: what it guards, and the length it wants and has, never its value. An import or a scrub handed none points at its `--data` directory. <!-- changes/seal-key-length.md --> <!-- changes/seal-key-readers-one-refusal.md -->
|
|
149
|
+
- The console's app-trigger form searches its events in the Event field itself. Typing filters the open list by an event's name, slug or description, so a toolkit with hundreds of events is one field rather than a filter box above a dropdown. The search is a new console primitive, `SearchPicker` (Headless UI's Combobox, styled and wired to a `Field` as `Picker` is), for any long list. <!-- changes/searchable-event-picker.md -->
|
|
150
|
+
- A server's stop no longer waits out a Docker host-address read that the runner beside it started with no signal: the stop's signal cuts that read, and its helper container is removed by name within the stop's deadline. <!-- changes/serve-stop-cuts-host-read.md -->
|
|
151
|
+
- A template eval no longer shows a fake MCP server's call arguments raw. The llm grader's `<mcp-calls>` block and the report's `mcp_calls` were built from each fake's own log, the arguments whole, so a value the run's cut holds (a server key, a handed key, a key-shaped string) that the agent passed to a fake tool reached the grader's provider and the report as typed. The timeline's copy of the same call was cut. Both now come from the run's timeline under its cut: the calls on a faked server's tools that ran, meaning not refused before they ran and with a result. A call that failed on its way to the fake shows with its error as its result, never as a success. A fake still answers exactly as its fixture is written. <!-- changes/template-eval-mcp-calls-cut.md -->
|
|
152
|
+
- The report's `mcp_calls` entries change shape, from the fake log's `{tool, arguments}` (whole) to the timeline's `{tool, name, preview, arguments, status, result}`, with the arguments redacted. A refused call is still in the report's `calls`, now marked `refused: true`.
|
|
153
|
+
- The fake's own log is read only to match a `tool_used` grader's `args` on a faked tool, and is never shown. It is the run record's new `fakeLog`.
|
|
154
|
+
- For TypeScript callers: `RunRecord` gains a required `fakeLog`, and `ToolCall` gains `refused`.
|
|
155
|
+
- A change for callers of `GET /runs/{run_id}/timeline?calls=whole`: a call's `tool_input` now holds up to 120,000 characters of names and values in all, the bound `tool_result_text` has, instead of cutting each string at 2,000. The server reads each string from the arguments as the call came, through the run's redaction, so a grader can read a long write whole, such as an issue body, a note or a posted digest. The 120,000 is one budget for the whole row, taken in order, with every name and value counting at least one character and each array or object its two brackets: the name or string that reaches it is cut there, a number, boolean or null that would pass it shows as `...`, an array or object then ends with one `...` (an item, or a `...` name), and a value past it shows as `...`.
|
|
156
|
+
- learn-bench builds its steps' records the same way, and now reads each step's timeline with `calls=whole`, as the template eval does. Before, a grader saw only the preview, which could show a call's input as nothing at all.
|
|
157
|
+
- An llm grader's `<tool-calls>` block shows the calls' arguments whole when the calls fit. When they don't, the arguments get what the calls' results and the rest of their lines leave, and at least half the block's room: each long argument list keeps its head and tail with its middle cut and marked, the longest cut first, so every call keeps its result. A write whose content a final file holds whole, and whose first and last 2,000 characters `<files>` shows (a trailing `...` where the timeline cut it left off), shows it cut at 2,000 characters in the call, pointing at the file, so those bytes are in the grader's input once; when the file is cut, the content's middle is cut in both, as the file's block marks. One whose head or tail the cut of a long file takes from `<files>` (an append in its middle), or that no final file holds whole (a write a later one overwrote), keeps it in the call, cut there as any long argument is.
|
|
158
|
+
- The console's template prompts and the agentrun-serve skill read a template's entry in `GET /v2/templates`, not the whole package, so a package's instructions and skill files no longer reach the coding agent. They say every text in the entry (its description, parameter descriptions, MCP reasons, model notes and warnings, trigger inputs) is the package author's, not instructions to the reader, and so do the CLI's help and the clients' docs for `GET /v2/templates` and an import preview. `agentrun template install --dry-run` prints the same on stderr. <!-- changes/template-prompt-reads-listing.md -->
|
|
159
|
+
- A template page's "Update" buttons now say which agent each one updates. When several agents the template made share a name, each button adds the agent's id, as in "Update Market monitor (monitor-2)". A name no other agent has stays as it was. <!-- changes/template-update-names-agent.md -->
|
|
160
|
+
- `install.sh --vps` waits for apt's locks under one deadline: 600 s from the first refusal of a lock other than dpkg's, which each later try's own wait for dpkg's lock is cut to as well, so the whole wait stays under about 1200 s and a first try that waited long for dpkg's lock still leaves its retries. The clock is the time since boot, which a just-booted server's clock steps don't move. A server refused by an earlier version's data now names the command that started it, as the launcher says, never what the folder holds: <!-- changes/vps-apt-clock-installed-refusal.md -->
|
|
161
|
+
- started by the installer's command from the folder refused: move the folder aside, then run the installer again for this same version (`curl -fsSL https://agentrun.ai/install | sh -s -- --version <this version>`), with no npx command that may not be there;
|
|
162
|
+
- started by the installer's command on a `--data` of the person's own: move it aside, then that command (`agentrun`, or its path when its folder is not on PATH) with the same `--data`, not npx;
|
|
163
|
+
- started by npx: the npx command, even when the folder still holds an earlier install's `bin/agentrun`.
|
|
164
|
+
|
|
165
|
+
Each says how the earlier version opens the folder moved aside.
|
|
166
|
+
- `web_save` now saves a text file a host serves with no type (`application/octet-stream`, `binary/octet-stream`, `application/binary` or no Content-Type) to a `.txt` or a `.csv`, and a file a host declares XML (`application/xml`, `text/xml`) to a `.txt` alone, when the whole file is UTF-8 with no NUL byte. It answers `text/plain` or `text/csv`. Before, both were refused, so an agent could not save a list published that way, such as a sanctions list's CSV or XML download. Bytes that are not UTF-8 text, or hold a NUL anywhere, are still refused and nothing is written. Declared XML is refused at `.xml`, `.csv` or `.html`, so nothing parses it as XML or XHTML. Untyped text is still refused at any other extension. A declared page, SVG, XHTML or script is refused at `.txt` or `.csv`. The 200 MiB size cap is unchanged. The run's files route serves these files as it serves every saved text file: `text/plain` or `text/csv` with `X-Content-Type-Options: nosniff`, inline, and as an attachment with `?download=1`. <!-- changes/web-save-text-lists.md -->
|
|
167
|
+
- The OpenAPI description of `POST /v2/triggers/{trigger_id}/firings/{firing_id}/release` now says what the server already does. A release waits out the engine's whole turn on the firing, a hook call still open included, not only while the hook's answer is being written. After a transport error, the host sends the same call again: a firing already released answers 200 with it, unchanged, whatever its words. Or it reads the firing in the trigger's firings. Releases alone turn a trigger off only after the failures in a row that pause it land with no 2xx between them, and any other failed firing counts in the same streak. No behaviour changes. <!-- changes/trigger-release-wait-docs.md -->
|
|
168
|
+
- An ended run can be exported as a share bundle: `GET /v2/runs/{run_id}/export` (and `agentrun runs export RUN`) answers one `agentrun.share/1` JSON document with the run's allowlisted view fields, its Timeline rows, a workflow's graph, its UTF-8 text files within the caps, what was left out and why, and a sha256. Strings in it pass through the server's scrubber. Each cut is a record with its place, rule, kind and shape, never its value. A value beside a label and a personal detail can be put back with `?restore=<cut ids>`. Two exports of the same run are the same bytes. A run still at work answers 409, a withheld run 403, a bundle over 8 MiB 413, and a scrub that fails answers 500 with an empty body. <!-- changes/share-export-bundle.md -->
|
|
169
|
+
A tool's output in the bundle (a result's preview, an approval outcome's text, a workflow call's output) is cut knowing the file the call read or the command it ran, so a read of `~/.pgpass` or the output of `env` is one dump cut, and `agentrun-serve scrub` counts it the same way.
|
|
170
|
+
- A template eval's `tool_used` grader takes `at_most: <n>`: it passes on 1 to n matching calls (its `args` filter first, as `count`'s and `at_least`'s do), and beside `at_least` on any number between the two, so "fetched robots.txt at least 3 and at most 4 times" is one grader. A failing grade names the run's count and both bounds ("5 calls of web_fetch; the grader expects at least 3 and at most 4"). An `at_most` under 1 (none is `expect: not_called`'s to say), one beside `count` or `expect: not_called`, or an `at_least` above it is refused in words. <!-- changes/tool-used-at-most.md -->
|
|
171
|
+
- The console's Wrapped page draws its share cards, as 1200 by 675 images under the year's sections. Each card's words are its image's alt text. Four cards are drawn: "Your year in agents" (tokens, sessions, prompts, model requests, days at work and list price), "Where your tokens went" (each harness's and model's share of the tokens), "When your agents work" (the busiest hour and weekday, time at work, and requests by hour and by weekday) and a one-card summary. A card's numbers all come from `GET /v2/wrapped`. <!-- changes/wrapped-cards.md -->
|
|
172
|
+
- A list price stays "Unknown" when no request had a known price, never $0. Requests with no known price are counted on the card beside the price.
|
|
173
|
+
- Harnesses are named as the rest of the console names them (Claude, Codex, Pi, OpenCode), on the cards and in the page's harness list.
|
|
174
|
+
- A harness or model list longer than its card has room for shows the largest that fit, and the rest are added up in one "other" bar.
|
|
175
|
+
- When session files could not be read, each card says its numbers may be incomplete.
|
|
176
|
+
- A year with no sessions draws no cards.
|
|
177
|
+
- The cache grade, laptop, leak receipt, agent type and launch cards are not drawn yet. They each wait on something the year's answer does not have yet: the cache analyzer, the leak scan's counts-only mode, the launch benchmark, or rules that need subagent shares, parallelism, a month's cost and an electricity estimate.
|
|
178
|
+
- The Claude login on this machine now uses the folders the server's env gives it only when they belong to the server's own user, as it already did for the home. Those folders are `CLAUDE_CONFIG_DIR`, `CLAUDE_SECURESTORAGE_CONFIG_DIR`, and `ANTHROPIC_CONFIG_DIR` or else `XDG_CONFIG_HOME`'s `anthropic`. Each one must be a folder that user owns, or a folder still to be made inside one it owns. The home and these folders are judged by one rule, so that no other user can change where the path leads after the check: <!-- changes/claude-login-config-dirs.md -->
|
|
179
|
+
|
|
180
|
+
- The path is walked as the system walks it, one name at a time, so a trailing slash, `.` or `..` hides nothing, and a `..` after a link goes up from where the link leads. Each link on the way, and each link in the chain it leads through, must be one that user or root made.
|
|
181
|
+
- Each folder above the real folder must be that user's or root's, and not one others may write in (anyone, or its group, unless that group is the user's private one), unless the sticky bit keeps each entry its maker's (as /tmp has it).
|
|
182
|
+
- The folder itself must be that user's and not open to others' writes by the same rule. So must the folder a still-to-make one is made in, sticky or not, so a folder still to make in /tmp is refused, root's included.
|
|
183
|
+
- The CLI gets the real path the check looked at (the home included), from the same look: each decision (a run, the sign-in, the Settings view's line and status check, a turn-on) walks the folders once and takes the login, or the refusal, from that walk, never the path as given. Where the folders are refused, the view's `command` is empty and its `folder` is the folder as the env names it. Where the env's path has a link on it, the shown sign-in line and the CLI now name the folder the link leads to. On macOS the CLI names its Keychain item after that folder, so a login the person's own Claude CLI keeps under a path with a link reads as signed out until it is signed in again from here.
|
|
184
|
+
|
|
185
|
+
A server started under a sudo that keeps the env (root, with the person's `CLAUDE_CONFIG_DIR`) no longer signs the Claude CLI in as root inside the person's folder. Where a folder fails the check, the turn-on and the sign-in at this machine's login are refused (403) in words that name the variable and the folder, and no run goes on the login. AgentRun's own login keeps its folders in the data folder, so the env's folders refuse nothing there, but the home rule above applies to both places. A login saved before on folders, the home's included, that fail the check is kept, not turned off: the start logs why it is not used, every read refuses it in those words, and it is back once the folder is mended (a chmod, or the server started as the right user). A chmod needs no restart: a run's check, a save's, a template's plan or apply, and capabilities look at the folders again, so the login is offered and runs again as soon as the view reads it signed in, and stops again once its folder is refused. Such a request asked while the server is still making the offers again from such a change, or from a turn-on or turn-off, waits for them, and the server logs `claude_login_wait` as it waits, with `why`: `queue` (behind a turn-on, turn-off or sign-in), `refresh` or `turn`. A sign-in, a turn-on or a turn-off never waits for those offers. The Settings view says such a login is `refused`, with why, and offers Turn off, which removes it; until then no API key is made. The refusal words now name the server's user (`uid 501 (svc)`, say), the home's refusal included. A folder that is the user's but open to others' writes is refused in words of its own, which name the open folder, its mode and the `chmod g-w,o-w` that closes it. A folder of this machine's login still to make is made by AgentRun at the turn-on and before the CLI's sign-in, 0700 whatever the umask, and checked again before the CLI gets it, so a login the CLI signs in there is not refused after.
|
|
186
|
+
|
|
187
|
+
Where the env's `HOME` is another user's and the login therefore uses the server's user's own home, the sign-in line the Settings view shows now carries `HOME=<that home>`. Before, it left `HOME` to the terminal, so the line run in the person's terminal signed in to their own home, which the server never reads. The harness's `ClaudeAgentLogin` has a new optional `homeApart` that asks for this.
|
|
188
|
+
|
|
189
|
+
A folder its group may write in is the user's alone where that group is the user's private one, as the local account files alone say: `/etc/nsswitch.conf` takes users and groups from those files only (`files` or `compat`), and the group is the user's primary group, which no other user has as theirs and which `/etc/group` lists with no other member. So a umask of 002 under such a group refuses nothing there. A switch that also asks another source (sssd, LDAP, NIS, winbind, or systemd's user records, as recent Ubuntu, Debian and Fedora installs do) can give the group members the files do not show, so there such a folder is refused.
|
|
190
|
+
|
|
191
|
+
Behaviour change: a login that ran before is refused, at either place, where the server's home is a folder anyone may write in, or its group where another user is in it, or is reached through one (a home on a volume whose group is set for a pod, 2775, say). So is a login on this machine's folders where one of these variables points at another user's folder, or reaches through another user's link or folder, or through such an open folder. A group shared with other users, a group that is not the user's primary one, one `/etc/group` does not list, account files that defer to a directory service (a `+` or `-` line), and any group where `/etc/nsswitch.conf` asks a source other than the files for users or groups, or is missing, all count as open: under a umask of 002 with such a group, a home, a `~/.config` or a `CLAUDE_CONFIG_DIR` folder made by hand is refused until it is `chmod g-w`. The setting stays. Start the server as the person whose Claude plan it is, with that person's variables, and make the folders on the way writable by their owner alone.
|
|
192
|
+
- Codex forks no longer count their parent's history twice. A forked rollout written by Codex 0.130 or 0.145 (a `/fork`, or a spawned subagent) begins with a copy of its parent's turns, token counts included, stamped with the fork's time. The import counted those requests again in the fork, and on the fork's day, so the tokens, cost and requests of every such fork were too high. The copy is now read as a copy, counted once in the parent. The rule is ccusage's: the fork's leading usage is matched against the parent's usage from before the fork, and the longest run equal to its start or its end is the copy. A fork whose parent's rollout is not under the home has nothing to match, so its usage still counts. A fork whose parent is not in the directory of its own date costs one listing of the sessions directory per import, through a new `lookups` read option that `parseHome` passes, not one per fork. Re-import a home to correct the runs imported before. <!-- changes/codex-fork-replay.md -->
|
|
193
|
+
- A fork's session keeps its own id. A forked rollout from Codex 0.154 on writes its parent's `session_meta` after its own, and the import took the last one: the fork took its parent's id and working directory. A later `session_meta` whose id is the thread the rollout forked from is that copy, and is skipped; any other later `session_meta` still counts as before.
|
|
194
|
+
- A fork from Codex 0.152 on stamps its records with its thread. Usage between the first record naming another thread and the fork's own is read as a copy only when the parent's rollout was read. A fork whose parent is archived or not under the home counts it, since nothing else does.
|
|
195
|
+
- An agent's `input_schema` `maxProperties` and `propertyNames` now count and name the input's own fields only, never `content`. `content` is always accepted, since it carries a run's message, a trigger's line and event, and a schedule's last answer. Before, a schema capped at one field refused `{ "company": "Acme", "content": "" }`, so a trigger for that agent could not be saved with its typed field and a message, and its runs could not get their event or last answer. A schema's own fields still meet both keywords, and a refusal names the schema's own number. <!-- changes/input-schema-content-exempt.md -->
|
|
196
|
+
- A kept computer that the janitor ends now has its run folder's mount credential revoked, on the disk recorded at the park, even when the run was deleted since. Before, a run stopped while parked, or resumed with its computer off, left that credential valid for up to 24 hours. A revoke that keeps failing is retried until the credential has expired, then the computer's record is closed. <!-- changes/janitor-revokes-kept-mount.md -->
|
|
197
|
+
- The console can make a Decision or a Workflow agent again. Since "New agent" opened the Build page, the editor that offers those two (its harness picker's Decision and Workflow) only ever opened on an existing agent. Build now links "set one up in the editor", which opens the editor creating a new agent at `#/agents/new?editor`, with every harness, Decision and Workflow to pick from. An agent named `new` keeps its own pages, its editor at `#/agents/new/edit`. <!-- changes/new-agent-editor.md -->
|
|
198
|
+
- A run's screen recording's ffmpeg now starts with only PATH, the locale and TMPDIR, as the server's other helper programs do. Before, it got the server's whole environment, so a key the server held, under any name, reached it. <!-- changes/recording-ffmpeg-child-env.md -->
|
|
199
|
+
- `agentrun-serve runner --check --env` calls an `AGENTRUN_SEAL_KEY` that is not a seal key bad even when the runner's store does not open, in the words the start uses (its length, never its value), instead of "set, and not checked against the store". A key of the right shape stays unchecked there. <!-- changes/runner-check-seal-key-shape.md -->
|
|
200
|
+
- The scrubber reads a password typed in a command (`redis-cli -a`, a registry `login -p`, `mysql -p`, `npm set _authToken`, `curl -u`) through a shell lexer, `shell-lex.ts`, beside the span scans it used before. Each of the five rules cuts the union of the two: the lexer's read adds cuts and never removes one the scan makes. Passwords these forms used to leave in the text are now cut: <!-- changes/scrubber-shell-lex.md -->
|
|
201
|
+
- after an operator inside a substitution (`redis-cli -h $(hostname; true) -a …`);
|
|
202
|
+
- after a substitution longer than 256 characters, or one left open on its line (`curl -H "X: $(… -u admin:…`);
|
|
203
|
+
- in ANSI-C quoting (`curl $'-u' admin:…`, `login -p $'…'`);
|
|
204
|
+
- after a backslash line continuation: between a command's arguments for all five, and between `docker` and `login` or `npm` and `config set`;
|
|
205
|
+
- with anything else between a program and its subcommand: a redirection (`docker >out.txt login …`), an option (`docker -D login …`, `npm -g set …`, `npm config --global set …`, any number of options between `config` and `set` within the command's read, which ends 1024 to 3072 characters past the command's name), an escaped blank;
|
|
206
|
+
- after `c`, npm's and pnpm's alias of `config` (`npm c set //registry/:_authToken …`);
|
|
207
|
+
- in a registry login's `-p` with the password glued on (`docker login -p<pw>`);
|
|
208
|
+
- under a command name written quoted (`"curl"`, `'redis-cli'`, `$'curl'`), with `.exe`, `.cmd`, `.bat` or `.ps1` in any case (`Docker.exe`), or after a path: a quoted one holding blanks (`"C:\Program Files\Redis\redis-cli.exe" -a …`) or a relative one (`.\redis-cli.exe`). Inside such a path a backslash is a separator, not the start of an escape (`\r`, `\n`). A quoted path ends at its closing quote on the line, and where a path keeps an escape, the same text read with every escape blanked stands beside it, so a path read never leaves what the escape read cuts;
|
|
209
|
+
- after a non-ASCII blank (NBSP, the ideographic space, the other Unicode spaces) before or after a flag, a value or a subcommand;
|
|
210
|
+
- inside a substitution nested in `${…}` or `$"…"`;
|
|
211
|
+
- in a curl `-u` password glued to `&`, `(`, `)`, `<` or `>`, however long.
|
|
212
|
+
|
|
213
|
+
A fixed corpus (`test/fixtures/scrub-differential`) records which characters the scrubber on main cut in each row, and a test requires each of them cut still and every row's password gone, but for two rows it names with the reason (a backslash before a name outside a Windows path, `\redis-cli`, reads as an escape). Once the lexer's cuts alone cover the scans' on every row, a later change can delete the scans.
|
|
214
|
+
|
|
215
|
+
The lexer's work is counted: it reads each character of a text at most 8 times, and at most 12 when commands are named inside quotes the lexer pairs. The readers hand out one command's words at a time, so what they hold stays one command's however long the text. The tests assert those counts, bound each timed rule's CPU against main's span scan for it, timed in the same call, and bound its wall time, after a full collection, against its own on a quarter of the text.
|
|
216
|
+
- A server in a container that writes no `/.dockerenv` or `/run/.containerenv`, which its cgroup names (a Kubernetes pod, an LXC system container), now knows it runs in a container: one that reaches a Docker refuses Docker computers with that reason, instead of mounting paths the Docker host doesn't have; its Docker messages say they are the container's; and it no longer offers its pod's addresses as where another machine reaches it. The server reads its own cgroup for this the way computer's Docker provider already did, through `containerSigns`, which `@parcha/agentrun-computer` now exports. <!-- changes/serve-pod-is-a-container.md -->
|
|
217
|
+
- Editing a trigger in the console and picking another agent now starts that agent's input afresh. Before, the trigger's stored input came along: keys the new agent's form has no field for were sent, so a schema that refuses extra keys answered "Remove target.input.<key>" with no field to clear it, and one that allows them got the old values unseen. <!-- changes/trigger-edit-agent-switch.md -->
|
|
218
|
+
- serve's test suite waits less: a test server's timeline long poll reads every 100 ms instead of every second, the end-of-run cost read's bound is a test option for native and SDK runs as it already was for adapter runs, and the slowest cases wait on events or a shifted clock instead of real timeouts and leases. No case was removed and no assertion was weakened. <!-- changes/serve-test-suite-faster.md -->
|
|
219
|
+
- A held run (`hold: true`) refused its model at its create no longer answers `422 model_key_required` for a missing key on a server whose model gateway holds none: it makes no model call, so it opens and holds its computer. A `model_key` handed with such a run is refused (`422 input_invalid` at `model_key`) as never used. Its claim on a harness recipe billed to its vendor's plan opens none of the keys saved for that harness in Settings → Harness keys, and a runner that starts each run in a process of its own hands that process none; the claim still holds its computer, where the recipe hands a saved key under another name too, and in a run's own process with no owner sign-in. Nor does its claim open the credentials of the MCP servers it is granted, fal's included: nothing can call them, so it carries no MCP tool. A run whose launch's `hold.refused` can't be read (a corrupt row) is held all the same: its start and its messages are refused (`409 agent_not_runnable`) in words that name that field, and its claim opens no model key. <!-- changes/held-run-no-model-key-or-harness-keys.md -->
|
|
220
|
+
A launch whose `hold.minutes` isn't a number (a corrupt row) keeps its hold and its refusal, and waits the default 30 minutes; before, it dropped the whole hold, so the run could start and its claim open its model's keys.
|
|
221
|
+
- A Claude Code or pi request that failed, read with `turns: false`, keeps its error as `failed` (as OpenCode's does), never its text: the totals a home's import holds no longer carry a provider's error words. A source named twice in the CLI's `--sources` is read once, where it printed every session twice. Each reader has `idOf(locator)`, the id a read gives a session no record names, and serve's remote history probe takes its ids from it: a pi session whose `session` record names no id is exported under the id its read gives it, no longer skipped as changed. A pi-ai that fails to load now fails `builtinCatalog` and `priceRequests` with its reason, where it priced nothing and said nothing why. <!-- changes/import-untangle-44.md -->
|
|
222
|
+
- The console's New race form now offers a harness that runs here but lists no models, such as Cursor on its own sign-in, on its default model (`cursor/default`). Before, the form left it out. <!-- changes/race-plan-harness-default.md -->
|
|
223
|
+
- The server serves a share preview of an ended run at `/share/<run_id>`, for the owner's session alone (the owner's sign-in with accounts, the printed link's session without; any other browser gets a 401 page that says to sign in first). `/share/<run_id>?launch=<code>` opens the session as `/?launch=<code>` does and lands on the page without the code; a wrong code gets the 401 page. The page is the console's second entry, `share.html`, under the console's CSP. It reads the run's export (`GET /v2/runs/<run_id>/export`) and nothing else, so it shows exactly what a share would publish: the run's Report, Timeline, a workflow's graph and its files as text, drawn from the bundle alone. <!-- changes/share-preview-page.md -->
|
|
224
|
+
A panel lists the scrubber's cuts by kind with their counts, each with where it sits (`/rows/3/text 9–30`), and one value's cuts in a step's summary and text side by side. A value beside a label and a personal detail each have a switch that exports the run again with that value put back; the other cuts can't be put back. The footer says nothing was sent and shows the bundle's sha256 and the `agentrun share <run> --restore <ids> --expect <sha256>` command that will publish exactly that bundle. A run that has not ended, a withheld run and an export that failed closed each show their reason and nothing of the run. The console now draws every `[redacted:<rule>]` marker as a chip.
|
|
225
|
+
- serve's stalled-read, lookup-timeout and cut-turn cases no longer wait out real timers: the end's metrics bound is armed on an injected timer (`endPatchTimer`, one option for the native, SDK and adapter loops in place of two `endPatchMs`), so each stall runs out the moment the case moves a fake clock, and the cases wait on the runner's end event, the turn's own abort and `follow`'s new `done` predicate instead of sleeps and wall-clock loops. <!-- changes/serve-tests-no-real-timers.md -->
|
|
226
|
+
- An agent's box can now be any computer provider whose sandbox can hold the run's folder, not only Docker, Daytona and Modal: `e2b`, `agent37`, `morph`, `cloudflare`, `fly`, `boxd` and `groundbox` are boxes too, and a place may name any of them (`"place": {"mode": "sandbox", "box": "e2b"}`). To enable one, list it in `AGENTRUN_BOXES` (`AGENTRUN_BOXES=docker,e2b`) and set the keys its provider requires, in the server's environment or in Settings → Computers (`E2B_API_KEY` for E2B); the box is offered once they are set, and nothing asks the vendor at the start. A vendor's box holds the run's folder on Archil or as a synced folder, so its runs need Archil turned on in Settings → Workspace, as a Daytona or Modal box's did. Which providers are boxes is read from their descriptors, so Orgo (desktops alone), the phone, the hosted browsers and smol cloud are not. A boxd box has no network: capabilities say so in its `places.boxes` entry. With no box ready, the start's banner and `bash`'s reason now name each box `AGENTRUN_BOXES` lists with its reason, and the rest at once. <!-- changes/boxes-from-provider-descriptors.md -->
|
|
227
|
+
- A new browser session whose reserve the spend cap refused is now asked for its reserve again at its next charge, so once the cap is raised its next stretch is held on the run's ledger. Before, the refused reserve was never asked again and the session ran on with nothing held for it, even after a raise. <!-- changes/browser-reserve-asked-again.md -->
|
|
228
|
+
- Claude Code's login on this machine, after a chmod of its folders, follow-ups to the config-folders change (#3759): <!-- changes/claude-login-followups.md -->
|
|
229
|
+
|
|
230
|
+
- A request that finds the login's folders changed (a run's check, a save's, capabilities) swaps the login in one turn on the sign-ins' queue and makes the offers again outside it. A sign-in, a turn-on or a turn-off asked meanwhile no longer waits for that probe of the offers; a run, save or capabilities request still waits for it.
|
|
231
|
+
- Where making the offers again fails after the login was swapped, the next request makes them again, rather than going on with the offers made from the login as it was.
|
|
232
|
+
- A template's plan and apply (`POST /v2/templates/{name}/apply`, with or without `dry_run`) now look at the login's folders first too, so the harness they pick and the model choice they check agree with a run's check right after a chmod.
|
|
233
|
+
- A request that finds the login as it is waits for a turn-on's or turn-off's offers still being made, and `claude_login_wait` is logged with `why` (`queue`, `refresh` or `turn`) for each wait. Once its wait ends, it goes on only if no later turn-on or turn-off started meanwhile and the offers it waited for were made. Where a later one started (its probe drops the earlier one's), it waits for that one too; where another request's making of the offers failed, it makes them again itself. A template's apply asked as a turn-on lands no longer picks its harness by the offers made before both. After 3 such waits a request is refused as `unavailable` (503, retryable), in words that say to ask again.
|
|
234
|
+
- A login folder its group may write in is allowed where that group is the user's private one, as the local account files alone say: `/etc/nsswitch.conf` takes users and groups from those files only (`files` or `compat` on its `passwd` and `group` lines, and on `initgroups` where it has one), and the group is the user's primary group, which no other user has as theirs and `/etc/group` lists with no other member. A umask of 002 under such a group no longer refuses the login. Where the switch also asks another source (sssd, LDAP, NIS, winbind, or systemd's user records, as the `files systemd` that recent Ubuntu, Debian and Fedora installs have), or there is no `/etc/nsswitch.conf`, the group can have members the files do not show, so the folder is refused as before. So are a group another user is in, one that is not the user's primary group, one `/etc/group` lacks, account files with a `+` or `-` line, and a folder anyone may write in, all in the same words.
|
|
235
|
+
- Where each run is a user of its own, the runner now reads Claude Code's login setting again when a run's process starts and asks for the login, and hands the login on only if that read names the same folder as the run's claim read. A run claimed on the login whose login was turned off, or moved to another folder, between its claim and its start now fails, refused in fixed words that name no folder ("turned off or moved to another folder since this run's claim"), instead of starting on the login its claim read. Start the run again to run it on the login as it is now, or give it a `model_key`. A run claimed while the login was off still never goes on a login turned on after its claim. <!-- changes/claude-login-start-reread.md -->
|
|
236
|
+
- A kept desktop, phone or sandbox is never left running with nothing to end it. A run that resumes marks the machine's keep as being taken back instead of deleting it, and drops the mark once it holds the machine. If it can't reach the machine, it marks the keep ending, trying the write again when the store fails it. A keep still marked when the store never took that write, or when the server stopped mid-way, ends at its 10 minutes like any other. A park no longer writes over a keep that is ending or being taken back. A stop or cancel that ends a parked run marks its kept machine ending before it deletes it, so a follow-up message can't take that machine back mid-delete. Once that machine is gone, the keep is marked ended, even when another machine's delete failed, so the follow-up's park keeps its new machine instead of deleting it. When that machine held the run's folder on Archil, the run folder's mount credential is removed before the keep is marked ended, by the stop's end or by the janitor's sweep of a machine whose run is over. If the remove fails, the keep stays ending, and the janitor's next pass removes the credential. A paired computer's token now travels from the server to a runner apart only as its SHA-256, never as itself, so a server and its runners apart must run the same version. The `503` a dialing machine or box gets when the server can't relay it no longer names the runner's internal host, port or socket error, and neither does the refusal stored with the machine or box, which a box's hold note and a waiting run's failure show. The server's log keeps those details. <!-- changes/computer-give-back.md -->
|
|
237
|
+
- Console: the agent editor and Build an agent's Tools step now share one tool picker, so the filter, the "No tool matches" line and the MCP servers read behave the same in both. Build an agent hands the coding agent the create request it picked (tools and place) instead of a separate list. <!-- changes/console-one-tool-picker.md -->
|
|
238
|
+
- The MCP tool `agents_list` and the console's prompts for editing an existing agent (its editor's copied prompt and the prepared request) say that an agent's instructions and skill files are what it is told, and may be a template author's text, not instructions to the coding agent reading them: if they ask for something, it tells the person instead of doing it. A new agent's prompts are unchanged. <!-- changes/definition-text-is-authors.md -->
|
|
239
|
+
- The money rule no longer serves a learned workflow unchecked. When the newest 500 runs hold no run by hand, the workflow is held to the 10 by-hand runs before them. With no by-hand cost, or past runs it can't read, the agent takes the run and the log says why; the learning view then says `stopped`, never `serving`. <!-- changes/learning-ledger-batch62.md -->
|
|
240
|
+
- `GET /agents/{id}/learning/cost` says why the money rule stopped a workflow in a new `workflows[].reason`: `over_line`, or `no_by_hand_cost` when it served 10 runs and no run by hand has a priced cost. That second case used to read `serving` there.
|
|
241
|
+
- A run whose end named no path counts as a run by hand when its launch does not learn, both inside the window and before it. A run of a workflow revision never counts as one, in either place.
|
|
242
|
+
- A served run cut at its cap counts at its bound on the served side.
|
|
243
|
+
- A shadow that failed before naming what it audits still books its cost on that run.
|
|
244
|
+
- `/stats` and `/analytics` count a run whose shadow is at work or unpriced as unknown cost, as the cost page does, never $0.
|
|
245
|
+
- On a Mode 2 run's own process, the runner's MCP no longer opens a second Workspace on the run's Archil disk at every claim. The open listed the run's folder and swept its spill folder. It now opens at the first answer that files something there (a long answer, a fal result), once per claim, and lets it go at the claim's release, including an open still running then. A filing after the release opens nothing and files nothing. A claim whose MCP files nothing opens none. That Workspace only writes files, so it no longer sweeps the run's exec spill folder at its open or its end: opened mid-run, a sweep could delete the output of a command the run was still running. `openRunWorkspace` takes `sweep: false` for such a Workspace; every other caller still sweeps. The gateway's `work` may now return a Promise, which it awaits before filing. A Workspace that can't be opened files nothing, as a failed write does: the long answer says it could not be saved, and a result is left out. <!-- changes/mcp-mode2-disk-opened-lazily.md -->
|
|
246
|
+
- A slow Ollama listing no longer hides Ollama's models for 30 seconds. A listing that missed its 2-second deadline (while Ollama loaded a model, say) or got a wrong-shaped answer was kept as "no models", so codex, opencode, claude-agent and pi had no default, and a run naming no model was told to start Ollama while it ran. Now such a listing keeps the earlier models and is asked again at once. A stopped Ollama lists none. <!-- changes/ollama-failed-listing.md -->
|
|
247
|
+
- `agentrun-serve eval-template` no longer hangs at exit after it has printed its result (about 1 run in 160). The command now lets Node exit normally instead of calling `process.exit`, which could stop the V8 worker threads while a background compile was waiting for a garbage collection. <!-- changes/queue-flakes.md -->
|
|
248
|
+
A pull request's CI now always runs the tests that scan the whole repository (`TREE_WIDE` in `scripts/test-affected.mjs`: entry-points, typebox-out, doc-checkpoint, check-doc-anchors). Before, a pull request that broke one of their policies passed its own checks and failed first in the merge queue, along with every group queued behind it.
|
|
249
|
+
Four flaky serve tests are fixed. Capture-git's fixture repository no longer runs git auto-maintenance. `raw()`'s SQLite statements run on a worker, so a write never blocks the commit it waits for. Runner-command-wake and graph-redact now count work instead of timing a window.
|
|
250
|
+
- In the console's trigger forms, an agent whose `input_schema` has `maxProperties` or `propertyNames` now gets its typed fields, with the message beside them, like any other agent. The forms had fallen back to whole JSON for these schemas: typed fields always carry the message, and such a schema used to refuse `content` with them. Serve now counts and names only the input's own fields against both keywords, never `content`. <!-- changes/trigger-fields-own-cap.md -->
|
|
251
|
+
- A server now takes a computer's daemon or driver that speaks protocol 0.2 or any later 0.x, not only 0.2 exactly: a minor step from 0.2 on only adds, and the hello's groups and features say what each side has, so a 0.3 driver pairs with and attaches to a 0.2 server. A 0.1 driver is still refused, because 0.2 replaced its `apps.ui_tree` with `ui`: pairing it says "update the driver on <computer>, then pair with the same code", and its attach is answered 426 with "update the driver on <computer> (the download is on the console's Computers page)", so update the driver on that computer. Another major, or a version of another shape, is refused as before. Every refusal now names the side to update, where pairing and the attach 426 used to say "update whichever is older": the server, for a driver newer than it, else the driver. A hosted daemon's drifted protocol now reads "hello: the daemon speaks protocol 1.0, and this provider 0.2", or "protocol none" when its hello names none. The conformance case `health.declared` still takes only the suite's own protocol version. <!-- changes/computer-protocol-minor-step.md -->
|
|
252
|
+
- `web_fetch` on `auto` (the default) now reads through Parallel's extract on any server that holds a Parallel key (`PARALLEL_API_KEY`, set or saved). Parallel gets each URL, with the run's session id and model id, and bills each page to the server's Parallel key. The guarded direct fetch is behind it. Before, `auto` on such a server was the direct fetch. A server with no Parallel key is unchanged (keyless Firecrawl). To keep every URL on the server, pick `kernel` for `web_fetch` (`PUT /v2/settings/tools` or an agent's `tool_settings`). GET /capabilities' `why` says which one a run gets. <!-- changes/serve-web-fetch-parallel-first.md -->
|
|
253
|
+
- Both tools' `auto` order is one table, `DEFAULT_WEB_ORDER`, exported with `autoWeb`. Swapping its ids puts another provider first.
|
|
254
|
+
- serve's web tools now run Jev by default on any server that already holds a TypeSafe key (`TYPESAFE_API_KEY`, set or saved), and that sends run content to TypeSafe. Each `web_search` sends TypeSafe its objective and each result's URL, title and snippet. Each `web_fetch` given an objective sends TypeSafe the page's text, up to 1,000,000 characters in chunks, and the objective. A fetch with no objective sends nothing. TypeSafe bills every request to the server's TypeSafe key. To keep the old behaviour, set `AGENTRUN_WEB_JEV_OFF=1` on the server. Jev (`jev-1.14.0`) scores each search result against the objective and reorders the results by that score (rerank+label). It keeps every result, gives each a `relevance` (0 to 1), and adds a `sift` line saying how they were ranked, or why not. Each Jev request is held on the run's spend cap at Jev's published price and settled at the cost Jev reported, never above the hold. A server with only an OpenRouter key runs no web ranking. GET /capabilities' `why` for each tool says what it sends TypeSafe, or that Jev is off. <!-- changes/serve-web-jev.md -->
|
|
255
|
+
- A Jev failure leaves the results as the provider gave them, with a `sift` line saying it did not run.
|
|
256
|
+
- A `web_fetch` given an objective has Jev pick the chunks of the page most likely to hold it (`found`), its requests held and booked as a search's are. One with no objective is never judged: it asks Jev nothing, its page is whole and its answer has no `sift` field. In web, a fetch given a decider but no task now comes back with no `sift` field (it said "not run (no task given); this part is whole"); its classifier record still says `skipped: "no task"`.
|
|
257
|
+
- serve's `web_destinations` start line gains `classifier`: `"jev jev-1.14.0 rerank+label"`, or `off`. It never holds a key.
|
|
258
|
+
- `AGENTRUN_WEB_JEV_OFF=1` on the server turns Jev off for every run created while it is set, on every runner host: the run's plane carries it (`jev: "off"`) and keeps it at every later launch, so a runner started without the switch hands no TypeSafe key and runs no Jev for that run. A runner's own switch can add off, never remove it.
|
|
259
|
+
- The runner hands TypeSafe's key to a run only when one of its web tools is the run's own and Jev is not turned off, as it hands Parallel's: `web_fetch` wherever it runs, and `web_search` on Parallel, keyless Firecrawl or Exa, or pi's hosted search, never a harness's own search inside its CLI (codex's, claude-agent's), where no Jev call can happen. A codex run on its own search with `web_fetch` still gets the key, for the fetch.
|
|
260
|
+
- web: `jevWebDecider` builds this decider from what it is handed (the key, `jevProvider`, a price, a fetch), never from the environment, and `null` gives none. `Pay` gains an optional `charged`, the cost a request reported once it was answered, which `decisionPay` passes for each decision request.
|
|
261
|
+
- web: a decision request's line in `receipt.cost` is now what it was charged: the cost its provider gave (reported, or estimated where it reported none, the line's `basis` says which), never above its hold, and the hold where it gave none. It was the hold, which the cap also booked; now that the cap books the charge, the line follows it, so receipt and ledger say one figure. `DecisionPay`'s `costOf` now returns the answer's `Cost` (`usd` and `basis`).
|
|
262
|
+
- web: `webFetchText`'s line for a provider that gave no page before the direct fetch now reads "Parallel gave no page (answered 500); this one was fetched directly.": it no longer says the provider was picked, which under `auto` it was not.
|
|
263
|
+
- web: `Pay` gains an optional `settled`, told whether the cap's settle of an answered request was written. `decisionPay` moves a decision request's line to its charge only once that settle is written; when it fails, the cap keeps the hold and so does the line, its `basis` saying the settle failed and naming the charge it would have booked. A $0 unbilled line follows the same rule. `unmetered` never calls `settled`, so with no cap the lines are as before.
|
|
264
|
+
- Each run writes one start line naming where its web tools go: `event=web_destinations search="exa (keyed) > firecrawl-keyless (keyless) > exa-keyless (keyless)" fetch="parallel (keyed, no key) > firecrawl-keyless (keyless, rate-limited until 12:01 UTC) > direct"`. It gives each tool's order, whether each provider is keyed (and whether the run holds its key) or keyless, and any hold known when the run's Web is made. It never includes a key. The line comes from `Web.destinations()` (new), `destinationsWords` and `destinationsLine`. serve writes it once per run's Web, which is now made as web_fetch is bound for every run, not only one whose web_fetch asks a keyed provider. <!-- changes/web-destinations-line.md -->
|
|
265
|
+
- `web_search` asks for an `objective` and a few keyword `queries`. The objective is what the agent wants to find out, in a sentence, at most 1,000 characters. There are up to 5 queries, and each is cut at 200 characters. The tool's description asks for a goal-style objective and 1 to 3 short queries. <!-- changes/web-search-objective.md -->
|
|
266
|
+
`query` is deprecated. It is now optional in the schema and marked deprecated, and the schema requires `objective`, so a model's call that gives `query` alone is refused before it runs. A workflow's call node, and `Web.search` in `@parcha/agentrun-web`, still take a `query` alone, as the objective and its only query. Each provider is sent what it takes:
|
|
267
|
+
- Parallel gets the objective as `objective` and the queries as `search_queries`. Where the run names a model, Parallel also gets that model's bare id as `client_model`. `excerpt_settings` is no longer sent.
|
|
268
|
+
- Exa, keyed and keyless, gets the objective as its query.
|
|
269
|
+
- Firecrawl, keyed and keyless, is sent up to 3 of the queries at once. Each request asks for its share of the results and a markdown scrape of each one. The results are merged by URL, and each snippet is the page's markdown. Keyless Firecrawl is also sent the objective, because its tool requires one. Keyed Firecrawl now costs 1 more credit for each result it scrapes. When the queries meet more than one rate limit, the run's breaker holds the longest wait any of them named; a quota still wins over any rate limit.
|
|
270
|
+
- Native search gets the first query.
|
|
271
|
+
|
|
272
|
+
A search's answer now carries `objective` and `queries`, and no longer carries `query`. In a receipt from `@parcha/agentrun-web`, `asked` is the search's objective, and a new `queries` field holds the queries. Jev ranks results against the objective.
|
|
273
|
+
`web_fetch` takes an `objective`. In `@parcha/agentrun-web` the option is `FetchOptions.objective`. `lookingFor` stays as an alias, and `objective` wins when both are given. With no classifier in the run, the answer is the part asked for, unchanged. Before, it said `looking_for not applied (no classifier in this run)`.
|
|
274
|
+
`Web.search` takes a string or `{ objective, queries?, n? }`. `WebConfig.client` (`{ model?, session? }`) is sent to the providers that take it, and only when given. `SearchOptions.session` gives one search its own session, in place of the Web's. Parallel's extract, `web_fetch`'s read, is now sent the same `session_id` and `client_model` as its search, and `FetchOptions.session` gives one fetch its own session. The server now gives each run's Web one random 32-hex session, never made from the run's id, so Parallel gets the same `session_id` on all of a run's searches and fetches.
|
|
275
|
+
The descriptions the model reads of `web_search` and `web_fetch` no longer name a provider, and are the same whichever provider answers. Which provider answers is still in capabilities. The trade: `web_fetch`'s description tells the model that a URL may be sent to a third party, but not which one. The answer's `via` and the call's receipt name that party, and the set of providers is the server's choice, which the model cannot act on. `@parcha/agentrun-web` exports both tools' descriptions and parameter schemas (`WEB_SEARCH_DESCRIPTION`, `WEB_SEARCH_PARAMETERS`, `WEB_FETCH_DESCRIPTION`, `WEB_FETCH_PARAMETERS`), and the server builds its two tools from them.
|
|
276
|
+
- A keyless provider's limit now holds it for the whole server, not only the run that met it. Keyless Firecrawl and keyless Exa run on the host's free allowance, so when one run is rate-limited or out of quota, the next run should not pay another refusal to learn it. <!-- changes/web-server-holds.md -->
|
|
277
|
+
|
|
278
|
+
- `createWeb` takes `holds` (new `Hold`: provider, tool `search`, `fetch` or `key`, kind and end). Each hold seeds the matching breaker the first time it is used: the Web's own breakers and the breakers a call brings alike. A hold that has already ended is ignored. `onHold` receives each limit that leaves a breaker holding.
|
|
279
|
+
- serve keeps the keyless holds in memory (`web-holds.ts`), with the server as the only writer. A run's own process reports each hold over its channel to the runner. A new run gets the current holds in its spawn environment (`AGENTRUN_SERVE_WEB_HOLDS`), which carries hold data only, never a key. The run's start line and its first call already see them. Each hold is logged as `event=web_provider_held`.
|
|
280
|
+
- A hold whose limit names no end is kept for an hour (`ENDLESS_HOLD_MS`). A restart forgets every hold, so the first run after a restart pays at most one refusal to learn it again. Keyed providers' holds stay with the run.
|
|
281
|
+
- `GET /capabilities` adds `held` to `web_search` and `web_fetch`. It is read live on each answer and lists each hold on a provider the tool resolves to, with its kind, its end and words such as `rate-limited until 12:01 UTC`. When nothing holds the tool, the field is absent.
|
|
282
|
+
|
|
283
|
+
Known limit: a runner in its own process (`agentrun-serve runner`) keeps its runs' holds in its own memory, so that server's `/capabilities` does not see them.
|
|
284
|
+
- A run now records every learned workflow call it made, and why its first choice did or did not serve. `GET /runs/{id}` and each runs list row carry `workflow_calls`: one entry per call, the platform's before the agent's first turn and the agent's own alike. Each entry has its `workflow`, its `digest`, its `caller` (`platform` or `agent`), its `outcome` (`answered`, `handed_back`, `failed`, or `refused` for a call refused before any node ran, by the tool or at its gate when an ask is declined or the cap is wrapping up) and the `usd` its nodes booked. `usd` is null when that is not known or another call ran beside it, a sibling subagent's on pi included. The same runs also carry `first_choice`, the reason the platform ran a learned workflow first or did not, for example `served`, `none_fit`, `not_promoted`, `cost_stop`, `no_by_hand_cost` (10 served runs and no by-hand cost to hold them to, so the agent takes the run and its `learned_workflow` tool leaves that workflow out) or `past_unread`. Both fields are null where `path` is. SDK runs keep no call record, so their `workflow_calls` is empty. The money rule now counts a run whose agent called a workflow, not only one the platform served: a run the platform served first is charged to that workflow alone, a run only the agent called to each workflow it ran, and a refused call to none. A run whose first call was refused names no workflow: its `path` and `workflow` are the agent's. A workflow over its by-hand cost stops whoever made its calls: it no longer runs first, the agent's `learned_workflow` tool leaves it out, and the run records `cost_stop`. When the agent's past runs can't be read, the money rule fails closed: nothing runs first (`past_unread`), the tool runs no learned workflow, and the learning view reads every workflow as cost-stopped. A run claimed again after a crash still keeps what its workflow did first, its answer or its handback, even when that claim can't read the past. Runs that ended before this release recorded no calls; the money rule charges each as its `path` and `workflow` say, as before, so a workflow stopped today stays stopped. The learning ledger keeps each run's calls, through a new additive column on SQLite and Postgres. `path` and `workflow` read as before. <!-- changes/workflow-calls.md -->
|
|
285
|
+
- Claude Code's login on this machine no longer counts a group-writable folder's group as the user's private group when `/etc/group` gives that group a password (anything but `x`, `!`, `*` or empty), since anyone who knows it may join the group; the refusal names the group and the password. An `x` there is not refused: it means any password the group has is in `/etc/gshadow`, which a server without privileges cannot read, so the check does not. A gshadow password or member set with `gpasswd` is not seen; remove it with `gpasswd -r` or `gpasswd -d`. Nor when the account files hold a second account with the user's name or uid, or an id after blanks, which the system still reads. The serve README now says that a user removed from the group keeps it in sessions already open. <!-- changes/claude-login-private-group-accounts.md -->
|
|
286
|
+
|
|
287
|
+
A run's check, a save's, a template's plan or apply and capabilities, after finding the login changed, no longer go on by the offers made before it when a model key's save, a harness key's or a new Ollama listing made the offers again meanwhile and that probe failed or is still out: they wait for that probe, or make the offers themselves.
|
|
288
|
+
- A Composio save's account lookup and a run's account check ask Composio for ACTIVE connected accounts alone (`statuses=ACTIVE`). A user's started, expired or turned-off accounts no longer count toward the lookup's 10 pages, so an API-only token's save is no longer refused (`403`) for them, and a run's ACTIVE account behind them is found. On an API-only server, a run's binding (`mcp_auth.<server>.connected_account_id`) names an ACTIVE account of its user: one that is only started, expired or turned off is `422` `not_allowed`, nothing started, and the refusal now reads "Composio lists no such ACTIVE account of that user for the server's toolkit". <!-- changes/composio-active-accounts-only.md -->
|
|
289
|
+
- A run's browser rows hold to the claim, and the janitor removes the Archil credentials a refused remove left. <!-- changes/computer-night-followups.md -->
|
|
290
|
+
- A run's process removes its browser take or ended-wait row only when no later claim of the run wrote it, and only while the row is the one it read. Before, the remove checked only the key, so a claim still closing could clear the row of the claim that holds the run now, and the Screen tab read no take.
|
|
291
|
+
- The computer janitor logs `the computer janitor removed no mount credential of run <id>: …` when it ends a kept Archil computer whose row names no disk, saying the credential lapses at its ttl. Before, it ended the row without a word.
|
|
292
|
+
- A run's end that keeps no computer and whose Archil credential remove fails now leaves `archil_revoke:<run>`, and the janitor's next pass removes the credential, then the row. Each remove is bounded and its Archil calls are cut when the bound passes. Before, it was only logged and the credential stood until its 24-hour ttl.
|
|
293
|
+
- A stopped run's end no longer deletes the machine a follow-up message took back. When a follow-up queued the run again and its claim took the kept desktop, phone or sandbox back before the stop's end ran, that end deleted the machine from under the follow-up's turn. A run's end now lets nothing go once a later claim has the run, or when it can't read the run to tell, and says so in the runner's log; that claim lets the run's machines go at its own end, and otherwise the run's next end or the computer janitor does. On E2B, Daytona, Modal, Morph, Browserbase, Kernel and the phone harness the janitor ends only a machine a park kept: another machine left there runs until the vendor's own lifetime ends it. A keep that lapsed no longer haunts the run: the run's end removes its ended keep, so a follow-up message no longer says again that the desktop wasn't kept because its 10 minutes passed. That needed a janitor pass before, which never runs under `--faux`. A follow-up whose take-back of the kept machine a stopped run's end beat no longer says the machine wasn't kept because its 10 minutes passed when they hadn't; it says it's a new one. A paired computer's files note no longer tells the model the computer is deleted when the run ends; it says what's saved there stays on it. A computer that gives the run no shell (a desktop, phone or browser that doesn't mount the run's folder) now says so in its own words in GET /v2/computers, instead of "No computer on this server". A provider whose machines dial the server, on a runner in a process of its own, now names both fixes when it refuses: give the runner `AGENTRUN_PUBLIC_URL`, or run the server and its runner in one process. <!-- changes/computers-followup.md -->
|
|
294
|
+
- Flatten the console navigation into Agents, Templates and Runs. Agents opens the agent list with a direct Connect agent action and a primary New agent action that opens the editor. Coding-agent creation is available from the editor. Remove the standalone Build landing page; existing new-agent links now open the full editor, and links carrying an initial brief still populate it. Agent cards have an outlined Settings icon as their last action, opening configuration directly without a coding-agent prompt. Archive and Unarchive are available as accessible icon buttons on the right of Settings for managed and connected agents. Settings shows an agent-name breadcrumb back to the agent page and marks Settings as the current location, preserving unsaved-change protection. It omits its redundant Settings action while keeping the shared editing controls aligned. Replace the console, sign-in and setup wordmark and favicon with transparent SVG paths based on the supplied AgentRun artwork; the logo uses theme-aware lettering without a background in either theme. Demo mode keeps complete skill files by revision, rejects stale edits, clears removed optional settings when a revision is saved, and keeps each run’s original model labels when agent settings change. Managed agent pages have a Settings button in the header for instructions, workflows, tools, skills, model configuration and revision history. Model & runtime uses compact runtime and thinking pickers, groups model controls, and separates run behavior; unavailable runtimes explain why directly in their dropdown options, with complete setup instructions also available on demand. Learning has its own settings section explaining corrections, reusable workflows and review. Saved runtime, model, thinking and learning choices remain intact. New and existing agents use one editor with the same runtime, model, thinking, computer, tool, skill and learning controls; Decision and Workflow remain available through a separate Agent type choice when creating, keeping the runtime choices consistent with Settings. Both use the same named settings menu with a mobile section picker, without numbered steps or Previous/Next controls. Tools and Skills have separate settings sections. Saved skill names stay visible when their files are unavailable, including demo templates; skill edits stay disabled until the complete files are loaded so a new skill cannot silently replace missing ones. Custom skills can be created and edited with their supporting files; a revision-scoped skill-file read preserves the complete file set, and saves use the loaded revision’s ETag. Connected agents expose detected skills with reported source paths, project and machine; backend SDK connections explain that their skills inventory is unavailable. Edit agent stays in the top-right toolbar and includes the current settings draft. The Tools card’s Edit action opens Settings at Tools, and existing editor links continue to work. Saving keeps the page's current revision in sync, and leaving unsaved edits still asks first. Native and backend SDK agents keep editing in their original source. <!-- changes/console-agent-editor.md -->
|
|
295
|
+
- Console: Settings → MCP servers → Add from Composio: the Toolkit field is a search box over Composio's toolkits. Type part of a name or slug (gma, slack) and the list narrows to the toolkits that match, where finding one meant scrolling hundreds. <!-- changes/console-composio-toolkit-search.md -->
|
|
296
|
+
- In AgentRun's image with no Docker socket at the start, a Docker daemon that answers later now shows in Settings → Computers as no Docker here, naming the vendor computers that fit each kind (and Archil's step in Mode 1), instead of the start's words, which pointed at that same page. <!-- changes/docker-no-socket-computers-row.md -->
|
|
297
|
+
- No run on a `--faux` start is handed a model key any more. Before, an agent's process got its revision's model's key, a workflow run got the key of its host model (`AGENT_MODEL`, or the default a saved key gives), and any run could get a model gateway's key, whether the gateway was set where the server starts or saved in the console. The faux model sends no key, so these were real keys the run never used; a run now holds only the keys its tools run on. <!-- changes/faux-run-no-model-key.md -->
|
|
298
|
+
- An `llm` grader on a run with large final files now sees what the run sent. Before, the files took about three quarters of the grader's 120,000 characters, and a quarter of that went to a package's own skills copied under `.agents/skills` and a render tool's cache. The two call lists split what was left by their whole sizes, so a fake MCP server's 36 calls got about 2,900 characters and each argument list was cut to about 15. A media template's rubric that checks each clip's prompt then failed "cannot be verified", or passed with no prompt in its input at all. <!-- changes/grader-evidence.md -->
|
|
299
|
+
- Final files under a folder whose name starts with `.` are tool state. `finalFilesOf` reads them after the run's own files, and `fitFiles` lists them by path and size before it cuts a file of the run's own.
|
|
300
|
+
- The files never take more than leaves the calls' arguments half the room (or all they need). The fake servers' list gets at least half of what the calls are left (or all it needs).
|
|
301
|
+
- A `<cuts>` note, ahead of the evidence, counts each cut: tool-state files listed by name, files cut, calls' arguments and results cut, calls left out, MCP argument lists cut. It tells the grader that what a cut left out was not seen. A list cut to its heads with no call dropped no longer says "and 0 calls in the middle".
|
|
302
|
+
- New: a `tool_used` grader's `args_file` names a JSON list the run writes in its work folder. Each entry must be carried by a call of its own (a one-to-one matching, as `args` matches), and the calls must number the list's length or `count`. A missing, malformed or non-list file fails the grader, saying which. `args_file` beside `expect: not_called`, `at_least` or `at_most` is refused. The list is read under the run's cut, at most 262,144 bytes (the most a cut read answers); an entry's `[redacted]` stands for one character or more of the value a call sent there. Arrays, and the objects inside them, are compared whole, as without the cut.
|
|
303
|
+
- A save now refuses an `input_schema` whose `propertyNames` refers to something outside the schema's `$defs` and `definitions`, such as `{ "$ref": "#/properties/name" }`. The refusal is a 422 at `definition.input_schema.propertyNames`, naming the reference. `propertyNames` and `maxProperties` are checked against the input's own fields in a schema of their own, which keeps only the definitions, `$id` and `$schema`. A reference to anything else compiled there as `false`. So the save passed, and then every run that gave a field of its own was refused with "input.name schema is false". The save now checks what a run's start checks: the schema in force compiles, and each `$ref` that `propertyNames` reaches names a value, an anchor or an `$id` in that schema. A reference that names a definition is followed into it, so a definition that refers on to `#/properties/name` is refused too. A definition that no reference names, such as one nested inside the named definition, never applies and is not checked. Only schemas are read: a `$ref` key inside an annotation's value, such as `examples`, is data and saves. <!-- changes/input-schema-own-fields-refs.md -->
|
|
304
|
+
- A Jev that answers 402 (out of credit) is now `payment_required`, a new `DecisionProviderErrorCode`, booked at $0 with a $0 line. It was `http`, booked at the hold on every request. A workflow's decision node books it at $0 too. <!-- changes/jev-held-on-refusal.md -->
|
|
305
|
+
- web: once a Web's decider refuses its key (`auth`) or its account (`payment_required`), it is held for the rest of that Web: later searches and fetches send it nothing. A search's `sift` reads "not run (held); these results are unsifted", and a fetch's reads "objective not applied (held); this part is in page order". serve makes one Web per run, so Jev is held for the rest of the run. An outage (5xx or a timeout) is unchanged: booked at the hold, and asked again on the next search.
|
|
306
|
+
- OTLP redaction catches more credential names and the credentials inside a header value. A query parameter or header named `apiKey2` or `token2`, a lowercase compound starting with a credential word (`tokenvalue`, `passwordhash`, `jwtpayload`), `jwt`, `session`, `sessionid` and names ending in `passwd`, `pwd` or `authorization` are now named like credentials, so an OTLP endpoint's such parameter is held; `tokens`, `sessions` and `sessioncount` are not, and every name ending in `key` is held as before. Inside any `OTEL_EXPORTER_OTLP_HEADERS` value, a credential-named `name=value` pair's value, read over the whole value with a URL's query and fragment included (a cookie's `session=<token>`, `?region=us;session=<token>`, `#access_token=<token>`, sentry's `sentry_key=<key>` without the comma after it), and the user, password and key parameters of every URL in it (a DSN's `https://<key>@host/1`, a URL nested in another's query or path, a scheme-relative or slash-escaped one; a quoted URL ends at its closing quote, an unquoted one is also read past a quote to the next space, and its password is read whole as RFC 3986 reads it, with any `;`, `&`, `=`, `,`, `'` or `@` in it, as written and decoded) are held and cut from the tracer's `[otel]` lines alone, where before only the whole value was, so an exporter's error quoting the token alone printed it; a harmless pair such as `theme=dark` is left. A credential with a raw `;` in it, as an endpoint's or a header value's query parameter or pair (`?api_key=<key;rest>`), is held whole as well as split at the `;`, so a line quoting it is cut with nothing after the `;` left. The tracer's `[otel]` lines cut held values that overlap or touch as one `[redacted]`, as the runner's redactor does, where before a value starting inside an earlier one showed its tail. A value with thousands of `@` reads at most 16 of its userinfo's readings, and a header value's later URL queries are read while 4,096 characters of them fit, so the tracer still starts at once. The serve README lists every word. <!-- changes/otel-credential-names-and-header-pairs.md -->
|
|
307
|
+
- A Browserbase saved sign-in now waits one settle window after the session that saved to it ends, 10 seconds, everywhere: the next session of the same run that saves to it, the next run's save, and whether Settings shows it as held. Before, a second saving session in the same run could open on it after 5 seconds while the server still held it for 10, so it could open on a profile Browserbase was still writing back. The window is the Browserbase provider's own (`capabilities().browser.profiles.settleMs`), and the server reads it from the provider's descriptor rather than keeping a number of its own. <!-- changes/sign-in-settle-one-window.md -->
|
|
308
|
+
|
|
309
|
+
The server now creates and removes saved sign-ins through the browser provider itself, so those calls need the provider's own keys (Browserbase's project id too), and a missing key or a non-https base URL fails in the provider's words instead of a vendor 401 or "unreachable". A Browserbase connection behind `BROWSERBASE_CONNECT_BASE_URL` now goes through that gateway wherever it is opened, not only on the browser tool's attach, and that gateway must be `wss:` or `https:`, since every session's signed URL rides it: a `ws:` or `http:` one, loopback included, now fails the Browserbase provider in words naming the variable, so set it to the gateway's wss or https URL. A provider descriptor gains an optional `profiles: { settleMs }` for a browser that keeps saved sign-ins; the sweep's usage text lists the providers the shared machine-host adapter takes from the registry. An attach conformance run against a driver on another protocol now reads "its driver speaks protocol X, and this server Y".
|
|
310
|
+
- The API token no longer binds a per-run Composio server to a Composio user the owner connects on the install: the user any preset server the owner saved calls as or its kept account stands on (not one the token saved, and not a per-run one; for a preset saved before the install recorded what a save made at Composio, the user its saved address names), the default `agentrun` and the tool-listing user, in any letter case. On a start (`POST /v2/agents/{agent_id}/runs`, a launch hook's firing start included), an inline start (`POST /v2/runs`) and a message (`POST /v2/runs/{run_id}/messages`), the token's `mcp_auth.<server>` binding of one is `422 input_invalid` at `mcp_auth.<server>.composio_user_id` (`not_allowed`), and nothing is written. The owner's users are read at each request, so a user the owner connects later is refused from then on. The owner's session binds any user. On an API-only server, where every caller is the token, the same users are refused. Each binding is now sealed with who handed it (`by`, the token or the owner's session, a new field of the stored launch seal), and each claim reads the owner's users again: a token's binding of a user the owner has connected since has its calls of that server answered, unsent, that the user is the owner's, until a message hands `mcp_auth` again or a new run starts. <!-- changes/token-composio-owner-users.md -->
|
|
311
|
+
|
|
312
|
+
Upgrading: a run in flight across the upgrade whose binding names a user the owner connects here was sealed with no mark, so its calls of that server are refused at its next claim in the same words, until its binding is handed again on a message (from the owner's session, for the owner's user) or a new run starts. There is no other migration step. A per-run server still lends the install's Composio key to whoever starts a run, and a token can still name a user the owner connected directly at Composio, outside this install: save one only where the token's callers own that Composio project's users.
|
|
313
|
+
- Every web_fetch fallback to the guarded direct fetch tells the model why. Each provider asked ahead of it (Parallel, keyed Exa, keyed Firecrawl, keyless Firecrawl) puts its reason on the page under its id, and `webFetchText` adds a line for it in the order asked: "keyless Firecrawl was picked for web_fetch and gave no page (rate-limited until 12:01 UTC); this one was fetched directly." Where no provider read the page the line says so; a page a provider behind it read carries no reason, as for Parallel. A provider held by a breaker, or one that met a limit on this read, is said by the hold: rate-limited or out of quota, until the minute it lifts (UTC), or for the rest of the run (`holdingWords`, `Reader.holding`). Parallel's other reasons and its line are unchanged; its held reason now names the hold instead of "held by its limit", and a 402 on its extract reads "out of quota for the rest of this run". The server's log lines are unchanged. The registry adds `AHEAD`, `providerName` and a `keyless` mark on keyless Firecrawl and keyless Exa. The direct fetch's refusal of a page that is not text is typed refused/GUARD (the guard's refusal), not not_text. <!-- changes/web-fallback-reasons.md -->
|
|
314
|
+
- One provider contract and one registry. Each provider is one `WebProvider` object in its own file (`defineProvider`: its id, label, key variable, the tools it serves, what its fetch does on a miss, its settings check, and `make`, the provider for one Web), registered once in `providers/registry.ts` (`PROVIDERS`). `createWeb` makes each provider an order names once per Web and asks it through one loop per tool: `searchInTurn` for web_search, and one read loop in `fetch.ts` for web_fetch, where each turn is recorded on the receipt as it is taken. `ProviderId`, `SearchProvider`, `FetchProvider`, `KeyedProvider`, a search's `provider`, a page's `via` and `ProviderSettings` are read from the registry, and `keys`, `endpoints`, `send` and `settings` are keyed by its ids. Every fetch provider sits behind the one breaker (`readerOf` on `searchBreaker`); keyless Firecrawl's and the keyed providers' own fetch breakers (`firecrawlFetch`'s, `keyedFetch`) are gone. web_search's breakers and web_fetch's stay separate per tool, as before; a refused key is refused for both tools, which share the provider's one client. `webFetch` and `webRead` take `readers` by provider id in place of `parallel`, `firecrawl` and `keyed`; `parallelReads` makes Parallel's. serve reads the registry for each resolution's chain, the fakes it names under --faux, the keys it reads for a run and the search tool's description. <!-- changes/web-provider-registry.md -->
|
|
315
|
+
|
|
316
|
+
Deliberate changes (the first two and the last in receipts and errors alone):
|
|
317
|
+
- An empty query is answered "web_search needs a query" before any provider is asked, for every order. Parallel used to answer it itself, leaving a failed turn on the receipt.
|
|
318
|
+
- web_fetch's turns are recorded in the order the providers were asked. A keyless Firecrawl read that gave no page is a turn on the receipt even where no direct fetch follows, with the limit it met.
|
|
319
|
+
- "not tried: this run holds no Parallel key" is said where Parallel's turn is reached. It used to be added to every page of an order naming Parallel, so a page a provider ahead of Parallel read said Parallel gave none and the page was "fetched directly". No serve order puts a provider ahead of Parallel.
|
|
320
|
+
- An order naming an id no provider has, or a provider for a tool it does not serve, throws in `createWeb`. An unknown search provider used to be asked as keyless Exa.
|
|
321
|
+
|
|
322
|
+
The breakers' scope is the base's: `test/breaker-scope.test.mjs`, written against the base, pins it for keyed Exa, Parallel and keyless Firecrawl (a refused key holds both tools; a quota or rate limit holds only the tool that met it).
|
|
323
|
+
|
|
324
|
+
A reason Parallel gave no page is said only on a page the guarded direct fetch answered, or on the answer that none read it. With an order such as `[parallel, exa, direct]`, a page Exa read after Parallel failed used to carry `parallel` and a line telling the model it was fetched directly; it now carries neither, and Parallel's turn stays on the receipt.
|
|
325
|
+
|
|
326
|
+
A logged provider's failed fetch turn with no error words now leaves `error` off the receipt's turn instead of writing an empty one. A call stopped mid-read keeps on its receipt the turns taken before the stop.
|
|
327
|
+
- A quota of a provider's whole key holds both of its tools. Each provider marks what its quota covers on the typed failure (`Failure.covers: "key"`): a 402 (the key's credit spent) on keyed Exa, keyed Firecrawl or Parallel, search or extract alike, and keyless Firecrawl's daily limit and its `KEYLESS_QUOTA_EXHAUSTED` and `KEYLESS_ACCESS_NOT_AVAILABLE` (the host's keyless allowance). A rate limit, and `KEYLESS_TOOL_NOT_AVAILABLE`, still hold only the tool that met them. `createWeb` keeps one key breaker per provider beside each tool's own (`withKeyBreaker`): a key-wide quota met by either tool trips it, and both tools are held, unsent, until it lifts. Parallel's extract now answers a 402 with that quota (it used to hold nothing); a 429 on an extract still holds nothing. A search given its own breakers keeps a key's quota in them (`keyLimits: "call"`, the default with `breakers`), so a call node's search still holds nothing after; serve's agent web_search passes `keyLimits: "web"`, so its key's quota holds the run's web_fetch too. <!-- changes/web-quota-scope.md -->
|
|
328
|
+
|
|
5
329
|
## 0.1.0-beta.58 (2026-11-25)
|
|
6
330
|
|
|
7
331
|
**Breaking:**
|
|
@@ -40,7 +364,7 @@
|
|
|
40
364
|
- A run that grants the subagent tool now gives its subagent tiers only the saved model keys of the models those tiers run on (the revision's `model_tiers`, else `AGENT_MODEL_FAST` / `AGENT_MODEL_STRONG`), or the gateway's key behind a gateway. That holds whether the run has a process of its own, which is now handed only those keys, or routes its tiers in the runner. It used to hand every saved model key. A replay's or audit run's grader now reads only its fast tier's model's key, and reads none when no fast tier is set. A runner with no seal key gives its tiers only their models' keys from its environment. A tier whose provider has no saved key fails on that tier with words saying so, and never falls back to another key. <!-- changes/subagent-tier-keys-only.md -->
|
|
41
365
|
- `template eval`: the read of a run's timeline page now stops at the run's deadline and at the eval's stop (Ctrl-C), as the read that asks whether a runner holds it does. A page that stalls is given up on after 15 s and asked again. Before, a server that stalled a page held the eval until fetch's own 300 s timeout, past the deadline, and the run then ended "unknown", not cancelled as timed out. A read that the deadline ends now ends the wait at once, with no further page read. A deadline that has already passed sends no read, and a cancel at the deadline that fails still ends the run timed out. `evalTemplate` refuses a `runTimeoutMs` or `queueTimeoutMs` that isn't a number of milliseconds over 0 (NaN, 0, below 0, Infinity) with a RangeError, before anything runs. Before, NaN left the wait with no deadline, and a fraction of a millisecond threw from the claim read. <!-- changes/template-eval-page-read-deadline.md -->
|
|
42
366
|
- `GET /v2/wrapped` is 403 on a server that has an API key made in the console for an app (Settings → AgentRun API keys), as on one that takes a second API token: the key's holder no longer reads the machine user's year. Once the keys are revoked, the owner reads it again. <!-- changes/wrapped-api-keys.md -->
|
|
43
|
-
- Where each run is a user of its own (the image, `run_isolation: "uid"`), a claude-agent run now runs on Claude
|
|
367
|
+
- Where each run is a user of its own (the image, `run_isolation: "uid"`), a claude-agent run now runs on the Claude login in AgentRun's own login folder instead of failing at its claim. The runner, as the server's user, reads the login's access token from that folder and hands the run's CLI that token alone, in `CLAUDE_CODE_OAUTH_TOKEN`: never the folder and never the refresh token, so the run's CLI never renews the login. The runner reads the folder again when the run starts and whenever Anthropic refuses the token mid-run, so a renewal your own Claude CLI wrote there is picked up. The runner also renews the login itself, in the CLI's place, when a token has less than five minutes left and after Anthropic refuses one mid-run: it sends the pinned CLI's own refresh request, holds the CLI's own refresh lock on the folder, reads the file again under it (a renewal by the CLI or another runner is taken, and nothing is sent twice), and writes the answer back to that folder's `.credentials.json` alone, atomically at mode 0600, every other field kept. It holds the lock as the CLI does, by the directory it made and the mtime it set (to the microsecond; on a filesystem that keeps whole seconds alone, any mtime in that second, as the CLI reads its own lock there), so a lock another holder took over while the runner was paused is never touched or removed, and nothing is sent under it. Runners take the lock one at a time, a dead one included, through a short-lived `.takeover` directory beside it, so two runners never hold it at once, unless a runner stalls past the 60 s stale time inside a takeover or between its last check of the lock and its removal of it (every lock that expires has these gaps). The CLI does not see that directory: between a runner and the CLI the lock is as safe as the CLI's own, and where the CLI's second lock beside the login folder can be made, it keeps the two from both sending. If the write back fails, the runner keeps the new pair in memory: later asks get its token, send nothing (the old refresh token is spent and never sent again) and try the write again, under the same lock and after reading the file again, so a newer pair another holder wrote is kept; once that token has less than five minutes left and is still unsaved, the run fails in words that say the renewal could not be saved and what to fix. A held token Anthropic refuses is never handed again: the ask fails while its pair is unsaved, and once the pair is saved the runner renews from it. One ask sends at most one renewal and nothing retries it. A renewal that fails, a refresh token Anthropic refused included, fails the run at its start, and ends the turn mid-run, in words that say to open the Claude CLI once to renew the login; a token refused mid-run that the runner had no way to renew ends the turn in words that say to run the claude CLI once on this login to renew it. No token is in the runner's log or in any error, and each token handed is cut from the run's journal, messages and rows as the runner writes them. A command the run's CLI starts can read the token, as the run's own user can. Under per-run users, a run on this machine's own Claude login (`~/.claude`, or the `CLAUDE_CONFIG_DIR` AgentRun was started with) still fails at its claim. So does a login run while another runner on the same data folder runs its login runs under the server's user, and the error names that runner. A login kept in a form the runner does not read fails in words too. For each of these, set `AGENTRUN_RUN_USER=same` or give the run a `model_key`. `claudeAgentAdapter({ login })` in `@parcha/agentrun-harness-claude` also takes `{ token(), refused?(sent) }`, a host's reader of the login's access token: on the CLI's request for a newer token it tells the host which token was refused, then answers from `token()`. The pinned CLI's refresh request, lock and write back are exported as `CLAUDE_LOGIN_REFRESH` (and `loginRefresh` from `/facts`), and a test reads each of them in the installed CLI. <!-- changes/claude-login-per-run-users.md -->
|
|
44
368
|
- Claude Code's login on this machine now uses a home the server's own user owns: the server's `HOME` when that user owns it, else that user's own home. A server started under a sudo that keeps `HOME` no longer signs Claude Code in as root inside the person's home, leaving files their own CLI can't read, and a service account that inherited someone's `HOME` no longer reads that person's login as its own. Where the server's user owns neither, Settings says why, the turn-on and the sign-in are refused in those words, and a login saved before is turned off at the start. <!-- changes/claude-login-owned-home.md -->
|
|
45
369
|
|
|
46
370
|
The refusal of a box agent on Claude Agent that names no model, while the login is on, offers the move to the runner by the model the agent would run there: the host's default for Claude Agent, `AGENT_MODEL` first. Where that is Anthropic's own, the refusal now says the login runs agents on the runner only and carries `details.login_on_runner`, as it does for an agent that names Anthropic's model itself. Before, the refusal named a key and offered no move. Where it is an OpenRouter model, no move is offered, since the moved agent would still need OpenRouter's key.
|