@parcha/agentrun-serve 0.1.0-beta.37 → 0.1.0-beta.39
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 +700 -0
- package/README.md +441 -177
- package/dist/adapters.d.ts +4 -1
- package/dist/adapters.js +4 -2
- package/dist/agent-rows.d.ts +1 -3
- package/dist/agents-store.d.ts +35 -3
- package/dist/agents-store.js +48 -23
- package/dist/answer-json.d.ts +34 -1
- package/dist/answer-json.js +91 -9
- package/dist/api-only.d.ts +1 -1
- package/dist/api-only.js +2 -2
- package/dist/bash-read-only.js +2 -1
- package/dist/browser-cost.js +52 -93
- package/dist/cap-short.d.ts +12 -0
- package/dist/cap-short.js +60 -0
- package/dist/cap.d.ts +3 -400
- package/dist/cap.js +6 -942
- package/dist/catalog.d.ts +0 -5
- package/dist/catalog.js +2 -6
- package/dist/chatgpt-plan.d.ts +163 -0
- package/dist/chatgpt-plan.js +549 -0
- package/dist/cli.js +26 -6
- package/dist/composio-preset.d.ts +25 -0
- package/dist/composio-preset.js +51 -8
- package/dist/composio-triggers.d.ts +113 -0
- package/dist/composio-triggers.js +411 -0
- package/dist/computer-calls.d.ts +36 -24
- package/dist/computer-calls.js +110 -27
- package/dist/computer-commands.d.ts +2 -0
- package/dist/computer-commands.js +7 -3
- package/dist/computer-live.d.ts +12 -2
- package/dist/computer-live.js +21 -5
- package/dist/computer-routes.d.ts +2 -2
- package/dist/computer-routes.js +2 -2
- package/dist/computer-setting.d.ts +15 -2
- package/dist/computer-setting.js +20 -4
- package/dist/computer-view.d.ts +18 -2
- package/dist/computer-view.js +21 -6
- package/dist/computer-viewer.js +40 -13
- package/dist/computers.d.ts +8 -2
- package/dist/computers.js +18 -8
- package/dist/console/assets/index-BNhZs-jp.css +1 -0
- package/dist/console/assets/index-BQv5aOGB.js +700 -0
- package/dist/console/index.html +2 -2
- package/dist/console-links.d.ts +2 -0
- package/dist/console-links.js +6 -3
- package/dist/decision-cap.d.ts +2 -5
- package/dist/decision-cap.js +3 -6
- package/dist/decision-rows.js +11 -11
- package/dist/decisions.js +4 -0
- package/dist/email/account.d.ts +84 -0
- package/dist/email/account.js +159 -0
- package/dist/email/answer.d.ts +10 -0
- package/dist/email/answer.js +182 -0
- package/dist/email/email-faux.d.ts +95 -0
- package/dist/email/email-faux.js +849 -0
- package/dist/email/labels.d.ts +1 -0
- package/dist/email/labels.js +84 -0
- package/dist/email/mail.d.ts +186 -0
- package/dist/email/mail.js +380 -0
- package/dist/email/names.d.ts +20 -0
- package/dist/email/names.js +40 -0
- package/dist/email/routes.d.ts +9 -0
- package/dist/email/routes.js +50 -0
- package/dist/email/tools.d.ts +20 -0
- package/dist/email/tools.js +517 -0
- package/dist/environment.d.ts +17 -2
- package/dist/environment.js +36 -8
- package/dist/errors.d.ts +6 -0
- package/dist/errors.js +12 -0
- package/dist/eval-mailbox.d.ts +103 -0
- package/dist/eval-mailbox.js +236 -0
- package/dist/faux-computers.js +4 -2
- package/dist/graph-view.d.ts +9 -2
- package/dist/graph-view.js +6 -2
- package/dist/harness-install.d.ts +28 -2
- package/dist/harness-install.js +147 -59
- package/dist/harness-opencode/adapter.js +2 -22
- package/dist/harness-opencode/facts.js +5 -4
- package/dist/harness-opencode/host/policy.d.ts +4 -5
- package/dist/harness-opencode/host/policy.js +14 -33
- package/dist/harness-opencode/index.d.ts +1 -1
- package/dist/harness-opencode/index.js +1 -1
- package/dist/harness-opencode/versions.d.ts +6 -0
- package/dist/harness-opencode/versions.js +6 -0
- package/dist/harness-table.d.ts +0 -2
- package/dist/harness-table.js +8 -7
- package/dist/harness.d.ts +12 -0
- package/dist/harness.js +15 -3
- package/dist/host-tools.d.ts +1 -5
- package/dist/host-tools.js +7 -10
- package/dist/hosted-search.d.ts +3 -3
- package/dist/hosted-search.js +51 -32
- package/dist/import-sources.d.ts +1 -1
- package/dist/import-sources.js +3 -3
- package/dist/import.d.ts +21 -0
- package/dist/import.js +186 -1
- package/dist/key-check.d.ts +0 -2
- package/dist/key-check.js +3 -4
- package/dist/key-refusal.d.ts +8 -2
- package/dist/key-refusal.js +16 -13
- package/dist/key-words.d.ts +3 -2
- package/dist/key-words.js +4 -2
- package/dist/learn/check.d.ts +24 -4
- package/dist/learn/check.js +340 -7
- package/dist/learn/commit.d.ts +10 -0
- package/dist/learn/commit.js +18 -4
- package/dist/learn/compile.d.ts +250 -0
- package/dist/learn/compile.js +507 -0
- package/dist/learn/general.d.ts +3 -0
- package/dist/learn/general.js +4 -2
- package/dist/learn/grade.d.ts +5 -1
- package/dist/learn/grade.js +11 -7
- package/dist/learn/notes.d.ts +8 -0
- package/dist/learn/notes.js +18 -0
- package/dist/learn/promote.d.ts +308 -0
- package/dist/learn/promote.js +321 -0
- package/dist/learn/refit.d.ts +48 -0
- package/dist/learn/refit.js +264 -0
- package/dist/learn/reflect.d.ts +5 -25
- package/dist/learn/reflect.js +14 -131
- package/dist/learn/replay-calls.d.ts +63 -0
- package/dist/learn/replay-calls.js +158 -0
- package/dist/learn/skills.d.ts +19 -16
- package/dist/learn/skills.js +157 -53
- package/dist/learn/workflow-nodes.d.ts +15 -0
- package/dist/learn/workflow-nodes.js +44 -0
- package/dist/learned-nodes.d.ts +58 -2
- package/dist/learned-nodes.js +68 -5
- package/dist/learned-workflow.d.ts +58 -32
- package/dist/learned-workflow.js +215 -77
- package/dist/learning-batch.d.ts +2 -2
- package/dist/learning-batch.js +4 -4
- package/dist/learning-cost.d.ts +41 -11
- package/dist/learning-cost.js +31 -13
- package/dist/learning-routes.d.ts +12 -2
- package/dist/learning-routes.js +34 -6
- package/dist/learning-words.d.ts +8 -1
- package/dist/learning-words.js +11 -1
- package/dist/learning.d.ts +26 -1
- package/dist/learning.js +7 -4
- package/dist/link-check.d.ts +27 -0
- package/dist/link-check.js +164 -0
- package/dist/llm.js +0 -3
- package/dist/local-models.d.ts +33 -2
- package/dist/local-models.js +43 -5
- package/dist/mcp-gateway.d.ts +12 -20
- package/dist/mcp-gateway.js +16 -44
- package/dist/mcp-oauth.d.ts +5 -0
- package/dist/mcp-oauth.js +1 -1
- package/dist/mcp-pin-first.d.ts +37 -0
- package/dist/mcp-pin-first.js +113 -0
- package/dist/mcp-probe.d.ts +8 -9
- package/dist/mcp-probe.js +16 -33
- package/dist/mcp-secret-writes.js +3 -0
- package/dist/mcp-servers-store.d.ts +102 -26
- package/dist/mcp-servers-store.js +151 -25
- package/dist/mcp-sources.d.ts +39 -0
- package/dist/mcp-sources.js +74 -0
- package/dist/mcp-store.d.ts +11 -0
- package/dist/mcp-store.js +16 -2
- package/dist/mcp-wire.d.ts +22 -0
- package/dist/mcp-wire.js +36 -0
- package/dist/mcp.js +3 -3
- package/dist/meta-tool-names.d.ts +1 -0
- package/dist/meta-tool-names.js +3 -0
- package/dist/model-form.d.ts +11 -0
- package/dist/model-form.js +17 -1
- package/dist/model.d.ts +39 -6
- package/dist/model.js +171 -32
- package/dist/monid.d.ts +50 -29
- package/dist/monid.js +234 -143
- package/dist/native/binding.d.ts +13 -0
- package/dist/native/binding.js +57 -0
- package/dist/native/cli.d.ts +2 -0
- package/dist/native/cli.js +48 -0
- package/dist/native/connection.d.ts +8 -0
- package/dist/native/connection.js +94 -0
- package/dist/native/context.d.ts +6 -0
- package/dist/native/context.js +22 -0
- package/dist/native/discovery.d.ts +27 -0
- package/dist/native/discovery.js +404 -0
- package/dist/native/environment.d.ts +4 -0
- package/dist/native/environment.js +18 -0
- package/dist/native/history.d.ts +20 -0
- package/dist/native/history.js +147 -0
- package/dist/native/instructions.d.ts +21 -0
- package/dist/native/instructions.js +173 -0
- package/dist/native/remote-worker-bridge.d.ts +3 -0
- package/dist/native/remote-worker-bridge.js +278 -0
- package/dist/native/remote.d.ts +187 -0
- package/dist/native/remote.js +492 -0
- package/dist/native/runtime.d.ts +17 -0
- package/dist/native/runtime.js +316 -0
- package/dist/native/runtimes.d.ts +66 -0
- package/dist/native/runtimes.js +41 -0
- package/dist/native/schema.d.ts +46 -0
- package/dist/native/schema.js +41 -0
- package/dist/native/types.d.ts +87 -0
- package/dist/native/types.js +1 -0
- package/dist/observation/http.d.ts +4 -0
- package/dist/observation/http.js +140 -0
- package/dist/observation/observer.d.ts +301 -0
- package/dist/observation/observer.js +919 -0
- package/dist/observation/schema.d.ts +52 -0
- package/dist/observation/schema.js +154 -0
- package/dist/openapi.d.ts +1 -0
- package/dist/openapi.js +705 -126
- package/dist/paid-calls.d.ts +34 -32
- package/dist/paid-calls.js +52 -104
- package/dist/place-offers.d.ts +4 -8
- package/dist/place-offers.js +4 -9
- package/dist/port-models.d.ts +7 -2
- package/dist/port-models.js +5 -2
- package/dist/print.d.ts +4 -2
- package/dist/print.js +4 -3
- package/dist/propose.d.ts +8 -3
- package/dist/propose.js +28 -7
- package/dist/provider.d.ts +5 -1
- package/dist/provider.js +17 -2
- package/dist/push-handler.d.ts +3 -2
- package/dist/push-handler.js +20 -6
- package/dist/reflect-range.js +2 -1
- package/dist/refusal-words.d.ts +11 -0
- package/dist/refusal-words.js +13 -2
- package/dist/rows.d.ts +5 -3
- package/dist/rows.js +15 -4
- package/dist/run-launch.d.ts +23 -1
- package/dist/run-launch.js +17 -4
- package/dist/run-learning-served.d.ts +84 -0
- package/dist/run-manifest.d.ts +8 -0
- package/dist/run-manifest.js +33 -1
- package/dist/run-reads-over-store.d.ts +3 -3
- package/dist/run-reads-over-store.js +13 -10
- package/dist/run-secrets.js +2 -3
- package/dist/run-timeline-served.d.ts +3 -2
- package/dist/run-timeline-served.js +12 -10
- package/dist/run-view.d.ts +59 -41
- package/dist/run-view.js +128 -64
- package/dist/runnable.d.ts +13 -8
- package/dist/runnable.js +77 -60
- package/dist/runner/adapter-loop.d.ts +60 -15
- package/dist/runner/adapter-loop.js +1406 -464
- package/dist/runner/adapter-run-spec.d.ts +45 -14
- package/dist/runner/adapter-run-spec.js +200 -116
- package/dist/runner/adapters/pi.d.ts +40 -7
- package/dist/runner/adapters/pi.js +149 -38
- package/dist/runner/beside.d.ts +3 -1
- package/dist/runner/beside.js +24 -8
- package/dist/runner/claim-secrets.d.ts +3 -1
- package/dist/runner/claim-secrets.js +28 -4
- package/dist/runner/cli-run-spec.d.ts +30 -0
- package/dist/runner/cli-run-spec.js +150 -66
- package/dist/runner/computer-channel.d.ts +5 -2
- package/dist/runner/computer-channel.js +5 -3
- package/dist/runner/computer-journal.d.ts +6 -0
- package/dist/runner/computer-journal.js +8 -10
- package/dist/runner/conformance/harness.d.ts +3 -0
- package/dist/runner/conformance/harness.js +149 -5
- package/dist/runner/conformance/subject.d.ts +11 -4
- package/dist/runner/end-of-run.d.ts +8 -5
- package/dist/runner/end-of-run.js +11 -6
- package/dist/runner/feedback-round.d.ts +79 -0
- package/dist/runner/feedback-round.js +127 -0
- package/dist/runner/harness-loops.js +17 -0
- package/dist/runner/journal-kinds.d.ts +55 -13
- package/dist/runner/journal-kinds.js +19 -0
- package/dist/runner/learning-dispatch.d.ts +3 -2
- package/dist/runner/learning-dispatch.js +6 -6
- package/dist/runner/learning-end.d.ts +58 -19
- package/dist/runner/learning-end.js +316 -115
- package/dist/runner/learning-factory.d.ts +3 -0
- package/dist/runner/learning-factory.js +8 -2
- package/dist/runner/learning-loop.d.ts +21 -1
- package/dist/runner/learning-loop.js +24 -6
- package/dist/runner/learning-seed.d.ts +4 -0
- package/dist/runner/learning-seed.js +14 -0
- package/dist/runner/loop-contract.d.ts +19 -3
- package/dist/runner/loop.d.ts +34 -1
- package/dist/runner/loop.js +55 -1
- package/dist/runner/main.d.ts +6 -1
- package/dist/runner/main.js +26 -4
- package/dist/runner/mcp-claim.d.ts +5 -1
- package/dist/runner/mcp-claim.js +66 -50
- package/dist/runner/mcp-run.d.ts +20 -53
- package/dist/runner/mcp-run.js +22 -88
- package/dist/runner/meta-tools.d.ts +44 -0
- package/dist/runner/meta-tools.js +344 -0
- package/dist/runner/metrics.d.ts +80 -21
- package/dist/runner/metrics.js +128 -42
- package/dist/runner/model-route.d.ts +12 -3
- package/dist/runner/model-route.js +149 -19
- package/dist/runner/monid-run.d.ts +18 -0
- package/dist/runner/monid-run.js +170 -0
- package/dist/runner/native-loop.d.ts +11 -0
- package/dist/runner/native-loop.js +438 -0
- package/dist/runner/promotion.d.ts +146 -0
- package/dist/runner/promotion.js +803 -0
- package/dist/runner/redact.js +3 -0
- package/dist/runner/reflect-hook.d.ts +36 -21
- package/dist/runner/reflect-hook.js +147 -49
- package/dist/runner/runner.d.ts +7 -1
- package/dist/runner/runner.js +34 -8
- package/dist/runner/sdk-loop.d.ts +7 -0
- package/dist/runner/sdk-loop.js +470 -0
- package/dist/runner/sessions.d.ts +8 -3
- package/dist/runner/sessions.js +5 -1
- package/dist/runner/spec-holds.d.ts +16 -2
- package/dist/runner/spec-holds.js +42 -14
- package/dist/runner/step-guard.d.ts +62 -0
- package/dist/runner/step-guard.js +93 -0
- package/dist/runner/store-secrets.js +17 -2
- package/dist/runner/subagent.d.ts +0 -3
- package/dist/runner/subagent.js +7 -12
- package/dist/runner/workflow-first.d.ts +226 -0
- package/dist/runner/workflow-first.js +293 -0
- package/dist/runner/workflow-loop.d.ts +1 -1
- package/dist/runner/workflow-loop.js +32 -19
- package/dist/runner/workflow-spec.d.ts +5 -1
- package/dist/runner/workflow-spec.js +63 -48
- package/dist/runs-over-store.d.ts +41 -4
- package/dist/runs-over-store.js +64 -22
- package/dist/sdk/runs.d.ts +115 -0
- package/dist/sdk/runs.js +422 -0
- package/dist/sdk/schema.d.ts +175 -0
- package/dist/sdk/schema.js +138 -0
- package/dist/sdk/workflows.d.ts +22 -0
- package/dist/sdk/workflows.js +39 -0
- package/dist/secrets.d.ts +2 -0
- package/dist/secrets.js +19 -1
- package/dist/server.d.ts +108 -20
- package/dist/server.js +874 -157
- package/dist/settings-wake.d.ts +8 -6
- package/dist/settings-wake.js +13 -7
- package/dist/skill-route.d.ts +3 -0
- package/dist/skill-route.js +16 -0
- package/dist/skills/agentrun-serve/SKILL.md +368 -0
- package/dist/stats.d.ts +10 -10
- package/dist/store/agent-body.d.ts +22 -7
- package/dist/store/agent-body.js +23 -14
- package/dist/store/command-wake.d.ts +3 -2
- package/dist/store/command-wake.js +4 -4
- package/dist/store/index.d.ts +1 -1
- package/dist/store/native-command-owner.d.ts +10 -0
- package/dist/store/native-command-owner.js +47 -0
- package/dist/store/postgres/connection.js +3 -1
- package/dist/store/postgres/migrations/0010_imported_templates.sql +18 -0
- package/dist/store/postgres/migrations/0011_revision_mcp_pin.sql +13 -0
- package/dist/store/postgres/migrations/0012_revision_monid_pin.sql +4 -0
- package/dist/store/postgres/migrations/0013_native_command_owner.sql +6 -0
- package/dist/store/postgres/migrations/0014_run_cost_upper_bound.sql +6 -0
- package/dist/store/postgres/store.js +3 -0
- package/dist/store/schema.d.ts +16 -0
- package/dist/store/schema.js +47 -8
- package/dist/store/sqlite/connection.d.ts +2 -2
- package/dist/store/sqlite/connection.js +2 -2
- package/dist/store/sqlite/run-patch.d.ts +8 -1
- package/dist/store/sqlite/run-patch.js +33 -10
- package/dist/store/sqlite/store.js +184 -28
- package/dist/store/store.d.ts +98 -21
- package/dist/store-reads/analytics.d.ts +7 -7
- package/dist/store-reads/analytics.js +23 -5
- package/dist/store-reads/cap.js +8 -6
- package/dist/store-reads/journal.d.ts +30 -1
- package/dist/store-reads/journal.js +141 -83
- package/dist/store-reads/learning.d.ts +179 -13
- package/dist/store-reads/learning.js +230 -68
- package/dist/store-reads/loop.d.ts +61 -0
- package/dist/store-reads/loop.js +111 -0
- package/dist/store-reads/runs.d.ts +5 -0
- package/dist/store-reads/runs.js +3 -2
- package/dist/store-view.d.ts +3 -2
- package/dist/store-view.js +109 -37
- package/dist/template-eval.d.ts +87 -16
- package/dist/template-eval.js +605 -120
- package/dist/template-github-permissions.d.ts +2 -2
- package/dist/template-github-permissions.js +2 -1
- package/dist/template-import.d.ts +31 -0
- package/dist/template-import.js +121 -0
- package/dist/template-source.d.ts +51 -0
- package/dist/template-source.js +371 -0
- package/dist/templates.d.ts +274 -52
- package/dist/templates.js +670 -201
- package/dist/text-urls.d.ts +38 -0
- package/dist/text-urls.js +170 -0
- package/dist/timeline/computer.d.ts +48 -0
- package/dist/timeline/computer.js +169 -0
- package/dist/timeline/index.d.ts +7 -5
- package/dist/timeline/index.js +7 -5
- package/dist/timeline/labels.d.ts +11 -4
- package/dist/timeline/labels.js +122 -8
- package/dist/timeline/origin.d.ts +20 -6
- package/dist/timeline/origin.js +13 -6
- package/dist/timeline/render-text.js +1 -1
- package/dist/timeline/timeline.d.ts +76 -20
- package/dist/timeline/timeline.js +184 -39
- package/dist/timeline/util.d.ts +5 -0
- package/dist/timeline/util.js +44 -8
- package/dist/timeline/web-calls.d.ts +17 -0
- package/dist/timeline/web-calls.js +106 -0
- package/dist/tool-gate.d.ts +103 -76
- package/dist/tool-gate.js +200 -127
- package/dist/tool-keys.d.ts +4 -1
- package/dist/tool-keys.js +8 -3
- package/dist/tool-list.d.ts +29 -0
- package/dist/tool-list.js +50 -0
- package/dist/tool-names.d.ts +76 -0
- package/dist/tool-names.js +101 -0
- package/dist/tool-plane.d.ts +34 -28
- package/dist/tool-plane.js +72 -37
- package/dist/tools.d.ts +59 -15
- package/dist/tools.js +46 -42
- package/dist/trigger-adapter.d.ts +85 -5
- package/dist/trigger-adapter.js +6 -0
- package/dist/trigger-adapters.js +3 -1
- package/dist/trigger-composio.d.ts +10 -0
- package/dist/trigger-composio.js +122 -0
- package/dist/trigger-email.d.ts +4 -0
- package/dist/trigger-email.js +228 -0
- package/dist/trigger-signatures.d.ts +6 -10
- package/dist/trigger-signatures.js +16 -16
- package/dist/trigger-targets.d.ts +1 -1
- package/dist/trigger-targets.js +4 -3
- package/dist/trigger-webhook.js +6 -4
- package/dist/triggers.d.ts +94 -9
- package/dist/triggers.js +263 -62
- package/dist/uploads.d.ts +9 -0
- package/dist/uploads.js +27 -0
- package/dist/validate.d.ts +15 -7
- package/dist/validate.js +91 -50
- package/dist/web-fake.d.ts +56 -0
- package/dist/web-fake.js +102 -0
- package/dist/web-fetch-direct.d.ts +3 -0
- package/dist/web-fetch-direct.js +4 -1
- package/dist/web-fetch.d.ts +6 -8
- package/dist/web-fetch.js +10 -53
- package/dist/web-search.d.ts +51 -2
- package/dist/web-search.js +116 -18
- package/dist/webhooks.d.ts +2 -1
- package/dist/webhooks.js +5 -1
- package/dist/workflow/node-runner.js +10 -2
- package/dist/workspace/archil-claim.d.ts +3 -0
- package/dist/workspace/archil-claim.js +9 -2
- package/dist/workspace/computer-deps.d.ts +25 -9
- package/dist/workspace/computer-deps.js +82 -38
- package/dist/workspace/computer-for-claim.d.ts +60 -4
- package/dist/workspace/computer-for-claim.js +203 -45
- package/dist/workspace/computer-hold.js +7 -1
- package/dist/workspace/computer-janitor.d.ts +10 -3
- package/dist/workspace/computer-janitor.js +96 -29
- package/dist/workspace/computer-kept.d.ts +82 -0
- package/dist/workspace/computer-kept.js +147 -0
- package/dist/workspace/computer-mcp.js +4 -3
- package/dist/workspace/computer-ports.d.ts +23 -3
- package/dist/workspace/computer-ports.js +115 -5
- package/dist/workspace/index.d.ts +2 -3
- package/dist/workspace/index.js +1 -2
- package/dist/workspace/kind-skills/desktop/SKILL.md +31 -11
- package/dist/workspace/kind-skills/phone/SKILL.md +29 -14
- package/dist/workspace/local.js +2 -2
- package/dist/workspace/resolve-computer.d.ts +33 -1
- package/dist/workspace/resolve-computer.js +37 -16
- package/dist/workspace/revision-skills.d.ts +6 -2
- package/dist/workspace/revision-skills.js +12 -5
- package/dist/workspace/run-end-computers.d.ts +30 -0
- package/dist/workspace/run-end-computers.js +137 -0
- package/dist/workspace/run-tools.d.ts +40 -23
- package/dist/workspace/run-tools.js +46 -19
- package/dist/wrap-up.d.ts +35 -0
- package/dist/wrap-up.js +48 -0
- package/launcher/agentrun-serve +4 -2
- package/package.json +13 -9
- package/skills/agentrun-serve/SKILL.md +248 -10
- package/templates/README.md +220 -60
- package/templates/TOOLS.md +168 -0
- package/templates/code-review/agent.md +46 -16
- package/templates/code-review/evals/clean-refactor/case.yaml +2 -1
- package/templates/code-review/evals/clean-refactor/graders/head-sha.md +6 -0
- package/templates/code-review/evals/injection/case.yaml +2 -1
- package/templates/code-review/evals/injection/graders/head-sha.md +6 -0
- package/templates/code-review/evals/mentions-defused/case.yaml +3 -3
- package/templates/code-review/evals/mentions-defused/fixtures/github-mcp.json +0 -23
- package/templates/code-review/evals/mentions-defused/graders/head-sha.md +6 -0
- package/templates/code-review/evals/never-flag/case.yaml +2 -1
- package/templates/code-review/evals/never-flag/graders/head-sha.md +6 -0
- package/templates/code-review/evals/null-name/case.yaml +2 -1
- package/templates/code-review/evals/null-name/graders/head-sha.md +6 -0
- package/templates/code-review/evals/off-by-one/case.yaml +2 -1
- package/templates/code-review/evals/off-by-one/graders/head-sha.md +6 -0
- package/templates/code-review/evals/off-by-one/graders/no-repo-reads.md +2 -1
- package/templates/code-review/evals/other-repo/case.yaml +16 -0
- package/templates/code-review/evals/other-repo/fixtures/github-mcp.json +130 -0
- package/templates/code-review/evals/other-repo/graders/head-sha.md +6 -0
- package/templates/code-review/evals/other-repo/graders/no-canary.md +6 -0
- package/templates/code-review/evals/other-repo/graders/no-other-repo.md +8 -0
- package/templates/code-review/evals/other-repo/graders/refused-not-quoted.md +18 -0
- package/templates/code-review/evals/other-repo/prompt.md +10 -0
- package/templates/code-review/evals/pasted-by-reference/case.yaml +5 -0
- package/templates/code-review/evals/pasted-by-reference/graders/by-reference.md +15 -0
- package/templates/code-review/evals/pasted-by-reference/graders/head-sha.md +6 -0
- package/templates/code-review/evals/pasted-by-reference/prompt.md +31 -0
- package/templates/code-review/evals/re-review/case.yaml +2 -1
- package/templates/code-review/evals/re-review/graders/head-sha.md +6 -0
- package/templates/code-review/evals/re-review-open/case.yaml +2 -1
- package/templates/code-review/evals/re-review-open/graders/head-sha.md +6 -0
- package/templates/code-review/evals/repo-rule/case.yaml +2 -1
- package/templates/code-review/evals/repo-rule/graders/head-sha.md +6 -0
- package/templates/code-review/evals/two-defects/case.yaml +2 -1
- package/templates/code-review/evals/two-defects/graders/head-sha.md +6 -0
- package/templates/code-review/rules/CODEREVIEW.md +1 -1
- package/templates/code-review/skills/review/DEEP.md +5 -4
- package/templates/code-review/skills/review/REVIEWER.md +5 -4
- package/templates/code-review/skills/review/SKILL.md +11 -6
- package/templates/code-review/{findings.schema.json → skills/review/findings.schema.json} +1 -0
- package/templates/inbound-lead/agent.md +26 -16
- package/templates/inbound-lead/evals/injection-in-form/graders/no-exfil.md +16 -0
- package/templates/inbound-lead/evals/injection-in-form/prompt.md +2 -2
- package/templates/inbound-lead/evals/write-back/case.yaml +2 -6
- package/templates/inbound-lead/evals/write-back/fixtures/fake-hubspot.json +34 -225
- package/templates/inbound-lead/evals/write-back/graders/note-and-score.md +10 -14
- package/templates/inbound-lead/evals/write-back/graders/writes-once.md +7 -0
- package/templates/inbound-lead/evals/write-back/prompt.md +1 -1
- package/templates/inbound-lead/evals/write-back-wrong-record/case.yaml +3 -7
- package/templates/inbound-lead/evals/write-back-wrong-record/fixtures/fake-hubspot.json +34 -225
- package/templates/inbound-lead/evals/write-back-wrong-record/graders/form-id.md +17 -0
- package/templates/inbound-lead/evals/write-back-wrong-record/graders/no-write.md +3 -3
- package/templates/inbound-lead/evals/write-back-wrong-record/prompt.md +2 -2
- package/templates/inbound-lead/skills/lead/SKILL.md +23 -27
- package/templates/kyb/agent.md +15 -5
- package/templates/kyb/evals/adverse-media/prompt.md +2 -7
- package/templates/kyb/evals/canada-active-filed/prompt.md +2 -6
- package/templates/kyb/evals/clean-public-company/prompt.md +2 -6
- package/templates/kyb/evals/injection-in-page/prompt.md +3 -7
- package/templates/kyb/evals/name-collision/prompt.md +2 -6
- package/templates/kyb/evals/no-invention/prompt.md +2 -6
- package/templates/kyb/evals/opensanctions-on/prompt.md +2 -6
- package/templates/kyb/evals/sanctioned-entity/prompt.md +2 -6
- package/templates/kyb/kyb.schema.json +8 -7
- package/templates/kyb/skills/kyb/SKILL.md +9 -6
- package/templates/market-monitor/agent.md +19 -12
- package/templates/market-monitor/evals/post-happens/case.yaml +4 -4
- package/templates/market-monitor/evals/post-happens/fixtures/slack-mcp.json +13 -9
- package/templates/market-monitor/evals/post-happens/graders/post-is-digest.md +1 -1
- package/templates/market-monitor/evals/post-happens/graders/posted-once.md +3 -3
- package/templates/market-monitor/skills/monitor/SKILL.md +6 -4
- package/templates/release-notes/agent.md +32 -10
- package/templates/release-notes/evals/draft-not-publish/case.yaml +5 -4
- package/templates/release-notes/evals/draft-not-publish/fixtures/github-mcp.json +29 -51
- package/templates/release-notes/evals/every-pr-accounted/case.yaml +2 -1
- package/templates/release-notes/evals/issue-write-refused/case.yaml +5 -4
- package/templates/release-notes/evals/issue-write-refused/fixtures/github-mcp.json +29 -51
- package/templates/release-notes/evals/late-arrival/case.yaml +6 -5
- package/templates/release-notes/evals/late-arrival/fixtures/github-mcp.json +29 -51
- package/templates/release-notes/evals/learned-style/case.yaml +2 -1
- package/templates/release-notes/evals/no-pr-numbers-on-top/case.yaml +2 -1
- package/templates/release-notes/evals/other-repo/case.yaml +24 -0
- package/templates/release-notes/evals/other-repo/fixtures/github-mcp.json +907 -0
- package/templates/release-notes/evals/other-repo/graders/no-canary.md +7 -0
- package/templates/release-notes/evals/other-repo/graders/no-other-repo.md +8 -0
- package/templates/release-notes/evals/other-repo/graders/refused-not-quoted.md +18 -0
- package/templates/release-notes/evals/other-repo/prompt.md +32 -0
- package/templates/release-notes/evals/upgrade-line/case.yaml +2 -1
- package/templates/release-notes/evals/user-facing-only/case.yaml +2 -1
- package/templates/release-notes/notes.schema.json +1 -1
- package/templates/release-notes/skills/release-notes/SKILL.md +26 -17
- package/dist/console/assets/index-Cn6JX1uH.js +0 -563
- package/dist/console/assets/index-DRN62V5v.css +0 -1
- package/dist/host-calls.d.ts +0 -20
- package/dist/host-calls.js +0 -12
- package/dist/runner/adapters/pi-computer.d.ts +0 -7
- package/dist/runner/adapters/pi-computer.js +0 -43
- package/dist/tool-blurbs.d.ts +0 -4
- package/dist/tool-blurbs.js +0 -28
- package/dist/tool-budget.d.ts +0 -38
- package/dist/tool-budget.js +0 -62
- package/dist/workspace/computer-script.d.ts +0 -37
- package/dist/workspace/computer-script.js +0 -138
- package/templates/code-review/evals/clean-refactor/graders/schema.md +0 -5
- package/templates/code-review/evals/injection/graders/schema.md +0 -5
- package/templates/code-review/evals/mentions-defused/graders/schema.md +0 -5
- package/templates/code-review/evals/never-flag/graders/schema.md +0 -5
- package/templates/code-review/evals/null-name/graders/schema.md +0 -5
- package/templates/code-review/evals/off-by-one/graders/schema.md +0 -5
- package/templates/code-review/evals/re-review/graders/schema.md +0 -5
- package/templates/code-review/evals/re-review-open/graders/schema.md +0 -5
- package/templates/code-review/evals/repo-rule/graders/schema.md +0 -5
- package/templates/code-review/evals/two-defects/graders/schema.md +0 -5
- package/templates/inbound-lead/evals/clear-disqualifier/graders/schema.md +0 -5
- package/templates/inbound-lead/evals/injection-in-form/graders/schema.md +0 -5
- package/templates/inbound-lead/evals/learned-correction/graders/schema.md +0 -5
- package/templates/inbound-lead/evals/strong-fit/graders/schema.md +0 -5
- package/templates/inbound-lead/evals/thin-data/graders/schema.md +0 -5
- package/templates/inbound-lead/evals/write-back/graders/schema.md +0 -5
- package/templates/inbound-lead/evals/write-back/graders/writes-twice.md +0 -7
- package/templates/inbound-lead/evals/write-back-wrong-record/graders/proves-record.md +0 -18
- package/templates/inbound-lead/evals/write-back-wrong-record/graders/schema.md +0 -5
- package/templates/kyb/evals/adverse-media/graders/schema.md +0 -5
- package/templates/kyb/evals/canada-active-filed/graders/schema.md +0 -5
- package/templates/kyb/evals/clean-public-company/graders/schema.md +0 -5
- package/templates/kyb/evals/injection-in-page/graders/schema.md +0 -5
- package/templates/kyb/evals/name-collision/graders/schema.md +0 -5
- package/templates/kyb/evals/no-invention/graders/schema.md +0 -5
- package/templates/kyb/evals/opensanctions-on/graders/schema.md +0 -5
- package/templates/kyb/evals/sanctioned-entity/graders/schema.md +0 -5
- package/templates/market-monitor/evals/blocked-source/graders/schema.md +0 -5
- package/templates/market-monitor/evals/every-competitor-named/graders/schema.md +0 -5
- package/templates/market-monitor/evals/learned-preference/graders/schema.md +0 -5
- package/templates/market-monitor/evals/no-repeats/graders/schema.md +0 -5
- package/templates/market-monitor/evals/nothing-changed/graders/schema.md +0 -5
- package/templates/market-monitor/evals/post-happens/graders/schema.md +0 -5
- package/templates/market-monitor/evals/pricing-change/graders/schema.md +0 -5
- package/templates/market-monitor/evals/pricing-moved/graders/schema.md +0 -5
- package/templates/release-notes/evals/draft-not-publish/graders/schema.md +0 -5
- package/templates/release-notes/evals/every-pr-accounted/graders/schema.md +0 -5
- package/templates/release-notes/evals/issue-write-refused/graders/schema.md +0 -5
- package/templates/release-notes/evals/late-arrival/graders/schema.md +0 -5
- package/templates/release-notes/evals/learned-style/graders/schema.md +0 -5
- package/templates/release-notes/evals/no-pr-numbers-on-top/graders/schema.md +0 -5
- package/templates/release-notes/evals/upgrade-line/graders/schema.md +0 -5
- package/templates/release-notes/evals/user-facing-only/graders/schema.md +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,706 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## 0.1.0-beta.39 (2026-11-16)
|
|
6
|
+
|
|
7
|
+
- Agent37 starts from our public box image in any account. Its provider's `prepareImage()` reads the workspace template `agentrun-box-<recipe hash>` and, when the workspace has none, registers `ghcr.io/parcha-ai/agentrun-box:<recipe hash>` under that name (`POST /v1/templates`, no build). The wait is reported to `onWait` as a pull, so a run's first claim says it is pulling, once per workspace. A refusal is the run's error in Agent37's words.
|
|
8
|
+
- In Mode 2, an Agent37 sandbox and an Agent37 desktop are ready once the keys work: they mount the run's folder from the owner's Archil disk, on the image they register. A Modal or E2B sandbox and an E2B desktop are still refused.
|
|
9
|
+
- A desktop that mounts the run's folder starts the `shell` group's commands and the programs `processes.start` opens in `/workspace`, as `bash` does.
|
|
10
|
+
- Serve's default sandbox image (`AGENTRUN_DOCKER_IMAGE`) and its refusal of a desktop with no image are Docker's alone. A provider that prepares its image gets no image from them.
|
|
11
|
+
- Breaking: `AGENT37_BOX_TEMPLATE` is gone from `@parcha/agentrun-computer`, and Agent37's descriptor has no `defaultImage`. The box template's name carries the recipe's hash; ask the provider's `prepareImage()` for it.
|
|
12
|
+
- Breaking: `box/build-agent37.mjs` is gone from the package. Agent37 never builds the box: `prepareImage()` registers the published image.
|
|
13
|
+
- Near its cap, a run's parallel steps wait for each other instead of parking: a model request, a decision or a paid tool call (a web fetch, a search, a monid call, codemode's among them) that does not fit only because steps still running hold the room it needs waits for them to settle, and is sent once its room is back. It is refused only when what the run has spent and its own least need do not fit with nothing else running. The cap is never passed: every step is admitted by the same rule over the holds as they are then. Eight subagents started at once under a $0.50 cap, or a burst of 25 fetches and searches under a $4 cap that cost about $0.50, now finish where they parked at `spend_cap_reached`.
|
|
14
|
+
- Waiters go first come, first served across the run's sessions, and only the first in line asks, so a small step never takes the room an earlier one waits for. A waiter holds nothing. It leaves the line unsent when its run is stopped, cancelled or loses its claim, and is refused in its own words when the run parks meanwhile. A step it waits on that does not settle within 10 minutes refuses it, and the run parks for a raise as before. The line reads the run's records again on a short timer (50 ms doubling to 1 s), so steps in other processes of the run wake it the same way.
|
|
15
|
+
- Breaking: the budget pause's `spent_usd` is what the run spent, never what its running steps hold. The new `held_usd` says what they held when the step was refused (mostly 0), and `suggested_cap_usd` is `spent_usd` + `held_usd` + 10 × `needs_usd`. A client that read `spent_usd` as everything the cap had taken adds `held_usd`. The generated TypeScript and Python clients gain the field.
|
|
16
|
+
- The refusal words keep spent and held apart: "Not sent: this run has spent $0.45 of its $0.50 cap and is holding $0.03 for steps still running; the next step, web_fetch, could cost up to $0.10 (a fetch), more than the cap leaves even once the steps still running settle. Raise the cap to at least $0.55 to continue." The console's budget pause says what is held beside what is spent.
|
|
17
|
+
- A paid tool call never waits on the model request that asked for it. Claude Code books a request's cost after its calls and Codex starts a call with its response still open, so that request settles only once the call returns. A paid call made in a CLI's tool call is judged beside its session's requests still running: it is sent when it fits beside them, waits only for other steps to settle, and is refused at once when it cannot fit beside them, never left to stall for 10 minutes. It also goes ahead of steps in line that may be waiting on that request.
|
|
18
|
+
- A running run's cost in the runs list is what it has spent: a step still running counts once it is answered, never at its hold.
|
|
19
|
+
- Kernel: `aloneRefusal`, `runBooking`, `RunBookingOptions`, `RECORD_WAIT_MS`, `WAIT_STALL_MS`, `WAIT_POLL_FIRST_MS` and `WAIT_POLL_MOST_MS` are exported; `RunCapOptions` gains `parked`, `waitStallMs` and `stopped`; `Refusal` gains `waits` and `figures.heldUsd`; `InFlight` gains `stays`; `ModelRequest` and `ProxyRequest` gain `signal`; `ModelRequest.paid` and `RunTools.admit` gain `under`, the model session whose tool call a paid call runs in; `BudgetPending` gains `held_usd`.
|
|
20
|
+
- A run's cap is never passed: every model request is held at its worst case, its whole input priced uncached (at the cache-write rate when that is dearer), so a cache miss can no longer take a run past its `max_cost_usd`. The `expected` cap mode, which priced the input from the previous request's cache and let a miss go over by a bound, is gone, and with it the `cap_mode` setting.
|
|
21
|
+
- Breaking, for API clients: remove `cap_mode` from what you send. A run start (`POST /agents/{agent_id}/runs`, `POST /runs`) that still sends it is refused `422` with `{"field": "cap_mode", "reason": "not_allowed"}`, and an agent definition (create or update) that still sends it is refused `422` with `definition.cap_mode` `not_allowed`. The generated clients and the CLI no longer have it (`--cap-mode` is gone). Every run now behaves as `strict` did. A stored agent revision or run launch that still holds a cap mode is read as if it had none. An inline agent's version (`POST /runs` with `external`) that first ran with a cap mode keeps it in its stored body, so running that version again with the field dropped is `409 external_body_conflict`: publish a new version and run that.
|
|
22
|
+
- Breaking: `cost.overshoot_bound_usd` and the budget pause's `overshoot_bound_usd` are gone from the run's view. The generated TypeScript and Python clients and the CLI (`--cap-mode`) lose them too.
|
|
23
|
+
- A request is not parked for want of room to answer: its output is clamped to what the cap has left after its input at the worst case, and it is refused only when that input plus the least answer (1,024 tokens) does not fit. The in-flight hold and the CLI harness's reserve for its answer are counted at the worst case too.
|
|
24
|
+
- A Codex or OpenCode request on an OpenAI model (gpt-4o and later, the o-series, gpt-oss) is held at a local count of its input in place of its bytes, on every route: o200k_base over the body as sent, plus a tenth, 16 tokens an item and 256 a request, with encrypted reasoning at its bytes and each image at its billed size, and never above its bytes. A capped run through a gateway that parked on its bytes (a $0.50 lead list asked for $0.52) now goes on. Any other model keeps its byte bound.
|
|
25
|
+
- The kernel ships OpenAI's o200k_base vocabulary file unchanged (3.6 MB, MIT, `vendor/o200k/`, checked by the sha256 tiktoken pins) and counts with it itself: no tokenizer package is a dependency. Its ranks are loaded on the first count.
|
|
26
|
+
- A run whose requests read the cache spends less than it is held at, so it pauses earlier than under `expected`: raise the cap by the cached share of its input if a run that used to finish now pauses.
|
|
27
|
+
- A capped run on a ChatGPT plan model (`chatgpt/…`) is admitted. Its model requests are billed to the plan: each is held at $0, its output is never limited on dollars, and it adds $0 to the cap's spend and to the wrap-up's reserve. A paid tool beside them still counts and stops the run at the cap. A model with no price that is no plan's model is still refused under a cap.
|
|
28
|
+
- On a ChatGPT plan, a 429 that says the plan's usage limit is reached (`usage_limit_exceeded` or `subscription_sharing_usage_limit_exceeded`) ends the run with "Your ChatGPT plan's limit is reached. Manage usage in your ChatGPT settings, then run it again.": no retry, no switch to a key, no raise-the-cap pause.
|
|
29
|
+
- Kernel: `CapModel.plan`, `PLAN_LIMIT_WORDS`, `PLAN_LIMIT_CODE`, `ProviderPolicy.finalError` and `ModelProxyOptions.onFinal` are new, and so are `ProviderPolicy.countInputLocally`, `responsesLocalInputTokens`, `localInputOf`, `o200kTokens`, `o200kModel` and `LOCAL_COUNT_MARGIN`.
|
|
30
|
+
- Kernel: `CapMode`, `RecentRequest`, `CapOptions.mode`, `Admission.boundUsd`, `RefusalFigures.boundUsd`, `DECISION_OUTPUT_TOKENS` and `ModelRequest.inputTokensCounted` are gone. A decision is held at its model's most completion tokens.
|
|
31
|
+
- The old manual way of taking Composio's events is removed: a webhook trigger with `signature: "composio"`, a webhook subscription made by hand on Composio, and Composio's secret pasted in with Set secret. A Composio trigger (Triggers → New app trigger, source kind `composio`) is now the one way: it makes and keeps the subscription itself. A webhook trigger made the old way stops firing; delete it and make an app trigger for the same event instead.
|
|
32
|
+
- A webhook trigger's create, or a change to it, with `signature: "composio"` is refused `422` under `source.signature`, in words that point to Triggers → New app trigger. `features.triggers.webhook.signatures` is `["standard", "github"]`.
|
|
33
|
+
- `POST /v2/triggers/{id}/secret` takes no body: any body, `{}` too, is refused `422` before the secret changes, and the new secret is always made here. The console sends none.
|
|
34
|
+
- `features.triggers.public_url` on `GET /v2/capabilities` says whether the server has a public address (`AGENTRUN_PUBLIC_URL`), never the address. Without one the console keeps New app trigger in sight but off, with the line "App triggers need this server's public address: set AGENTRUN_PUBLIC_URL and restart."; the create's `409 composio_no_public_url` stays.
|
|
35
|
+
- A Composio subscription at another address (`409 composio_subscription_elsewhere`) can now only be another server's or a tool of the owner's. The refusal and the console's question before Move it here say what a move stops: "Composio sends this project's events to <url> now. Moving them here stops them arriving there: anything listening at <url> (another AgentRun server, or a tool of yours) gets no more events."
|
|
36
|
+
- The README's Composio quickstart, the tutorial docs/tutorials/composio.md and the server's reference teach the app trigger alone.
|
|
37
|
+
- A Codex or OpenCode request straight to OpenAI is no longer counted by OpenAI before it is sent: it is held at the kernel's local o200k_base count with its margin, as a request through a gateway already is, so it never waits up to 3 seconds on `POST /v1/responses/input_tokens` first. A capped run on such a route may pause a little sooner than it did on OpenAI's exact count; the cap is still never passed.
|
|
38
|
+
- Breaking, for a host of the kernel: `OPENAI_INPUT_COUNTER` is gone. A `ProviderPolicy` that named it as `countInput` drops it and sets `countInputLocally: responsesLocalInputTokens`. Anthropic's count (`countInput` on the claude-agent policy) is unchanged.
|
|
39
|
+
- E2B starts from our public box template in any account. Its descriptor says `prepareImage`, and its provider's `prepareImage()` answers the public template `<publishing team>/agentrun-archil-<recipe hash>` by name, with no call and no wait: the release's `box-e2b` job builds that template from the box image and makes it public.
|
|
40
|
+
- In Mode 2, an E2B sandbox and an E2B desktop are ready once the key works: they mount the run's folder from the owner's Archil disk, on the box template.
|
|
41
|
+
- In Mode 1, an E2B desktop starts from the box template too, instead of E2B Desktop's `desktop`: computerd starts Xvfb and xfwm4 there, and the `apps` group lists the box's apps (Firefox ESR, Mousepad, the Xfce terminal).
|
|
42
|
+
- The conformance run keeps E2B's stock templates, `desktop` and `base` for kind linux, or `COMPUTER_E2B_TEMPLATE`.
|
|
43
|
+
- Breaking: `E2B_BASE_TEMPLATE` and `E2B_DESKTOP_TEMPLATE` are gone from `@parcha/agentrun-computer`, and E2B's descriptor has no `defaultImage`. Ask the provider's `prepareImage()` for its template.
|
|
44
|
+
- Modal starts from our public box image in any account. Its descriptor says `prepareImage`, and its provider's `prepareImage()` answers `ghcr.io/parcha-ai/agentrun-box:<recipe hash>` with no call: Modal pulls the registry tag at a computer's first create in a workspace.
|
|
45
|
+
- In Mode 2, a Modal sandbox is ready once the keys work: it mounts the run's folder from the owner's Archil disk, on the box image. A Modal sandbox with GPUs still mounts nothing and is refused in Mode 2, in words.
|
|
46
|
+
- A computer on a host with no `extend` (Modal, Daytona) carries no `agentrun.computer.max-deadline` label: `extend` is its only reader, and the bytes go to Modal's 512 for tags.
|
|
47
|
+
- Breaking: `MODAL_DEFAULT_IMAGE` is gone from `@parcha/agentrun-computer`, and Modal's descriptor has no `defaultImage`. Ask the provider's `prepareImage()` for its image.
|
|
48
|
+
- Learning: a replay's read and its record count its runs' outcomes once. `GET .../revisions/{digest}/replays/{replay_id}` answers them nested as `outcomes: {answered, handed_back, failed, skipped_write}`, the object a promotion record's `replay.outcomes` keeps, in place of the four top-level counts and `alone` (it was `score.n - score.handed_back`). A promotion record's `replay.skipped_write` is gone: read `replay.outcomes.skipped_write`. Upgrading: read the counts from `outcomes`.
|
|
49
|
+
- `POST .../revisions/{digest}/replays` on fewer than 5 graded inputs the revision fits is 409 `replay_conflict`, before anything is reserved: no record, no run. Before, it started a replay that could only end held.
|
|
50
|
+
- A decided replay's read reads its record alone, never its runs and their answers again.
|
|
51
|
+
- `computer_script` is gone: a desktop or phone run scripts its computer through the host's `codemode`, whose script has the computer as `computer` (its types in codemode's description), and each of its calls is a nested call, held to the run's gate and recorded on the timeline. A shell command is held to the agent's `bash` setting, a started process to `bash_background`, a file written to `write`, and a file read to `read`. An agent definition that named `computer_script` uses `codemode` instead. Codex, whose code mode takes no binding, and an MCP client of the claim's computer server (which serves the step tools and `computer_op`, never `codemode`) call the step tools and `computer_op` (`{op, args}`, an op named as `computer`'s method is, `shell.run` or `apps.open`) for what a `computer_script` script's `computer` ran. An earlier run's `computer_script` rows still read as they did.
|
|
52
|
+
- A tool the owner ticks when applying a template is granted, not allowed: apply writes no permission for it, and each call follows this server's tool settings, as for any granted tool. Breaking: under approvals `ask`, a ticked write now asks the owner before it runs, unless the owner allowed that tool in this server's tool settings, where before it ran unasked; a ticked read runs unasked only where the owner turned on Allow reads for its server.
|
|
53
|
+
- Before, apply set every ticked tool to allow in the agent's own tool settings, so under `ask` a ticked write ran without asking, and the allow outranked the server's Allow reads rule.
|
|
54
|
+
- Approvals `never` still runs every granted tool without asking, as before. A deny the owner set on the server still holds, and a template's pins are written as before (a pin whose parameter is not given still sets the tool to deny).
|
|
55
|
+
- The console's apply screen says that a ticked tool is granted, that a write asks unless you allowed it in Settings or choose Never ask, and that a read follows Allow reads. The Never choice now says it runs without asking, even for writes, and that it is the one to pick when a trigger starts the agent while you're away.
|
|
56
|
+
- No migration: an agent applied from a template before this release keeps the allows apply wrote. To have its writes ask, remove the `permission: allow` from those tools in its tool settings.
|
|
57
|
+
- The kernel's `isCatalogName` is now `isCatalogWire`, and it matches a monid endpoint's wire name by `monid__` (the name every harness calls it by), no longer by the old single `monid_`. A host that imported `isCatalogName` from `@parcha/agentrun-kernel` imports `isCatalogWire` instead.
|
|
58
|
+
- An agent's monid pin is kept on its revision beside its MCP pin (`revisions.monid_pin`; Postgres migration `0012_revision_monid_pin.sql`, and a server open adds the column to a SQLite store), no longer inside the revision's body. An edit that leaves an agent's monid grants as they were reads nothing of monid's listing and keeps the pin; a grant it adds is read alone. Nothing reads a pin from an older revision's body (no compatibility path): a revision saved before this, with monid grants and no `monid_pin`, fails closed. Its runs are offered no monid endpoint, so no call runs unheld, until the agent is saved again.
|
|
59
|
+
- One check holds MCP and monid grants at the save and before each run. Its words for a tool the harness would drop or retype are "The tool <catalog name> cannot be offered on <harness>: <why>." for both sources. A workflow's monid grant is refused in the MCP grant's words: "<grant>: a workflow's nodes don't bind monid endpoints here yet; grant it to an agentic agent."
|
|
60
|
+
- A name that is no tool here is refused as "<name> is not a tool here: grant one of <the server's tools>, an MCP server's tool as mcp:<server>/<tool>, or a monid endpoint as monid:<provider>/<endpoint>."
|
|
61
|
+
- The monid key check reads `GET /v1/endpoints?limit=1`, the listing a save pins from, which monid does not charge for.
|
|
62
|
+
- A subagent given a grant gets each of the run's catalog tools that grant gives by the gate's keys, for MCP and monid alike.
|
|
63
|
+
- A learned workflow asks once per call, and its card says what it will do. The `learned_workflow` call's approval card lists each MCP action set to ask that the workflow can call, with the shape of its arguments (`{"tool":"mcp:linear/create_issue","args":{"title":"{title}"}}`; a `{name}` is filled in while the workflow runs). One allow lets those actions run with no second ask.
|
|
64
|
+
- Each MCP node now runs as a call nested in the workflow's call, asked at the gate as its own tool. An action the card did not name (set to ask after the card was shown, or past the card's 2 KB preview) parks the run on a card of its own instead of failing the workflow. An approval passes by tool, so a tool with any action past the preview is left off the card entirely, and each of its actions asks on its own. Each check of a polled MCP node, and each attempt of a retried one, is a call of its own, and a node's call is cut when the node is (a sibling's failure, its deadline). Only the card approved for that same call counts: an earlier call's card, of the same workflow or another, never passes it. A deny of any of the workflow's MCP actions still refuses the whole call before any node runs.
|
|
65
|
+
- A draft is no longer refused at learn time because its ask-set MCP actions would not all fit on one card: the ones past the card ask as they run.
|
|
66
|
+
- A `learned_workflow` call that a park or a crash cut runs again from its start, where a crash used to end it interrupted and hand it back to the model. Its model, decision and call nodes answer what they answered the first time, read from the record without asking the model or the decision provider again, so each is asked and booked on the run's ledger once; an MCP call that already ran answers from its record, so nothing is sent twice. A workflow served first still hands the job back when a crash cuts it, and an ask its card did not name refuses that node.
|
|
67
|
+
- A run's guard rows count the last trace each `learned_workflow` call wrote, so a call run again is counted once.
|
|
68
|
+
- `NestedCalls.memo` (`@parcha/agentrun-kernel`) also takes a function, called only while nothing is recorded for its key: a rerun reads the recorded value and never calls it, and a throw of the function records nothing. `NestedCalls.call` takes an optional fourth `signal`, which the nested call runs on beside the calling one's.
|
|
69
|
+
- Breaking: removed from `@parcha/agentrun-serve`'s modules: `host-calls.js` (`HostCalls`, `withHostCalls`, `hostCalls`), `learnedAskFits`, `LEARNED_ASK_CARD_BYTES` and `learnedMcpTools` (use `learnedMcpCalls`, which returns each action with its arguments), `DraftAsk` and `draftProblems`' `ask` parameter, `learnedDraftTools`' `asked` field, `RunPermissions.decide`, `SpecGate.askedFor` (the gate answers `{ ask: card }` instead) and `LearnedWorkflowRun.decide`. `LearnedWorkflowRun.mcpTools` is now a map from catalog name to the session's tool name, and `nestedOf` hands a call its nested calls.
|
|
70
|
+
- The console signs in with ChatGPT and says what runs without a key.
|
|
71
|
+
- The first screen offers "Continue with ChatGPT" beside "Add a key". The sign-in opens OpenAI's page in a new tab, finishes by itself on the same computer, and takes the pasted address of the sign-in tab from a server elsewhere. A wrong address, an expired sign-in or a taken port reads in the server's words.
|
|
72
|
+
- A waiting sign-in says until when it waits, also after a reload, and says it is finishing while the server reads the plan's models. A paste that lands after the sign-in finished on its own shows the sign-in, not a refusal.
|
|
73
|
+
- Signed in, the console says who is signed in and on which plan, with OpenAI's words on usage and a "Manage usage" link to ChatGPT's settings.
|
|
74
|
+
- Settings → Model keys has a ChatGPT plan row: its state, account, plan and models, and a sign-out that asks first. A sign-out OpenAI didn't confirm still signs out here, and says so in the server's words with a link to ChatGPT's settings.
|
|
75
|
+
- "What runs here" lists each harness, whether it runs on this server and what it needs, on the first screen and in Settings. The no-model bar offers the ChatGPT sign-in first. On a server with no key, Codex and pi read "runs after Continue with ChatGPT".
|
|
76
|
+
- Serve: on a server with no key that is not signed in, capabilities' codex and pi entries say "or sign in with ChatGPT (Settings → Model keys) to run it on your ChatGPT plan" (an expired sign-in: "sign in again"), and so does a run of an agent that names no model. Each harness entry gains `needs` (`key`, `chatgpt`) where it runs nothing for want of a key (no `chatgpt`, and no sign-in in its reason, where AGENT_MODEL names a key's model, which stays the default signed in or not); pi, which runs here with no default model, says why in its `reason`. Claude Agent and OpenCode still say they need a key. Breaking: the capabilities' harness mark is `harness/4`.
|
|
77
|
+
- A run on the plan says its tokens and "Using ChatGPT plan", never $0.00 or unknown; a run that also spent dollars says them, then "+ ChatGPT plan". Plan models read "<model> · on your ChatGPT plan" in the Model picker, on an agent's page (its own model, or its harness's default when that is the plan's) and on what a workflow run's node ran on, and an agent's spend cap says it counts dollars only.
|
|
78
|
+
- Serve: a run's `cost` gains `plan` (`requests`, `tokens`) for its requests on the plan, which leave `unpriced`, so a run on the plan alone has a known cost. `GET /settings/chatgpt` answers a waiting sign-in's `expires_at`.
|
|
79
|
+
- A server with no model key can run codex and pi on a person's ChatGPT plan. The owner signs in under `/settings/chatgpt` (OpenAI's Sign in with ChatGPT through pi-ai's own flow, finished by the loopback callback or by pasting the address the sign-in tab ended on), and models named `chatgpt/<id>` go to OpenAI's Responses API on the plan's token, billed to the plan with no price here.
|
|
80
|
+
- `GET /settings/chatgpt`, `POST /settings/chatgpt/sign-in`, `POST /settings/chatgpt/sign-in/finish` and `DELETE /settings/chatgpt` (owner session only). A bad or stale pasted address is a 400 in words. Sign-out revokes the session at OpenAI, then removes it.
|
|
81
|
+
- The sign-in is sealed in one row and read per request by the server and every runner, in their own processes or containers. A token renews once across all of them, 5 minutes before it ends: one holder takes a lease on the row (a compare-and-set on its sealed bytes, `SealedKeys.replaceIf`), and the others adopt the pair it writes back, so a refresh token is never used twice. A renewal sent with no answer read holds the lease to its end, since its refresh token may be spent; a fault OpenAI answers gives it back. A sign-out during a renewal stays. A refused renewal marks the sign-in expired, and runs on it fail at once in words. A 401 from OpenAI, in a pi turn or a workflow's model node, renews the token on the next request when the row still holds it.
|
|
82
|
+
- Capabilities say per harness whether it runs on the plan: pi and codex do, Claude Agent and OpenCode still need a key. Models list `source: "chatgpt"`.
|
|
83
|
+
- On the plan, the Codex policy sends no `max_output_tokens` and none of the keys the plan does not take, refuses a system-role message in words, and names its originator. Its turns are booked with `billing: "plan"` and no cost.
|
|
84
|
+
- Kernel: a model proxy's credential may throw `CredentialUnavailable` to refuse a request in the host's words (`code: "credential_unavailable"`), and `credentialRefused` tells the host the credential a provider answered 401 to.
|
|
85
|
+
- A compiled workflow's answering step now runs on the agent's own model.
|
|
86
|
+
- The learning checks refuse a workflow draft whose answering step (the model node that writes the key its `output.path` reads, the body step whose result a map collects there, or a composed workflow's own answering step) names tier `fast`, in words the compile turn's retry acts on: drop its tier. Legwork steps may stay on `fast`, an answer on `strong` passes, and decision nodes (judge, pick, sift) are not read. The compile prompt and its worked example say the same.
|
|
87
|
+
- Composio triggers are set up from here, with the key a saved Composio server already holds: "when this happens in that app, run this agent", with no curl and no secret to copy. A trigger of the new source kind `composio` names a saved Composio server, one of its toolkit's events and that event's config (GitHub's new-issue event: `{owner, repo}`), with an optional filter, an agent, what each run is asked and a cap.
|
|
88
|
+
- `GET /v2/settings/mcp-servers/{name}/composio/events` lists the server's toolkit's events: each one's slug, name, description, the JSON schema of its config with the required fields, and whether Composio polls for it.
|
|
89
|
+
- Making the trigger makes, in order, the Composio project's one webhook subscription at this server's address (`/v2/hooks/composio/{hook}`; its secret is sealed here and never answered or logged) when there is none, then the event's trigger instance for the account the server is connected as, then the trigger, and undoes what it made when a later step fails (a subscription whose secret can't be kept here included). A second trigger reuses the subscription. Creates, pauses, deletes, a secret's rotation and the subscription's delete on one Composio project run one at a time, so a failed create undoes only what no other trigger holds by then, the subscription is never deleted under a create still making its instance, and a rotated secret is never overwritten by an older read. The answer's `source` names what was made (`instance_id`, `hook`).
|
|
90
|
+
- A delivery is checked once with the subscription's secret and starts each trigger whose instance it names (Composio's `metadata.trigger_id`) and whose filter takes it, so two triggers on two repositories never cross. A filter's conditions read the delivery, the event's data under `/data/`.
|
|
91
|
+
- Refused before anything is left on Composio: no public address (`409 composio_no_public_url`, before Composio is asked anything); a subscription at another address (`409 composio_subscription_elsewhere`, naming it, unless the create says `move_subscription: true`); an account not connected (`409 composio_not_connected`, with Composio's link to connect it); several connected accounts for the toolkit (`409 composio_account_ambiguous`, naming each with when it was connected: a trigger runs as one account, so disconnect the others in Composio, and none is picked for you); an event or config Composio refuses (422, under `source.event` or `source.config`).
|
|
92
|
+
- Pausing, resuming and deleting follow on Composio once the change holds here. Triggers with the same server, event and config share Composio's one instance: it is turned off only when every one of them is off, set from the triggers as they stand when Composio is asked, so a pause that reaches Composio after a later resume leaves it on (deleting the last one on, while paused ones still hold it, turns it off), and deleted with the last. A server's trigger list reads every page of Composio's instances; a trigger whose instance Composio didn't answer for reads `unknown`, never `missing`. What Composio could not do is answered beside the change (`composio: {done: false, note}`; a delete answers `200 {deleted: true, composio}` then, else 204) with what to do in Composio's dashboard. When the server turns a trigger off itself (its agent archived, five failures in a row, its connection or run gone), its instance is turned off on Composio the same way; what Composio could not do is logged with what to turn off by hand.
|
|
93
|
+
- A saved server that Composio triggers still use can't be deleted (`409 composio_in_use`, naming them), a trigger still being made on it included; a trigger whose saved server was deleted while it was being made is refused and undone on Composio. `GET .../composio/triggers` lists its triggers with their state at Composio and whether the subscription is this server's; `POST .../composio/rotate-secret` rotates the subscription's secret and keeps the new one; `DELETE .../composio/subscription` deletes the subscription once no trigger uses it.
|
|
94
|
+
- A template can't carry what this server sets on a composio trigger (`instance_id`, `hook`, `move_subscription`): reading such a package is refused, saying to leave them out or make the trigger from the console.
|
|
95
|
+
- The console makes one: Triggers → New app trigger (its button: Create app trigger) picks a saved Composio server, one of its events (with its description; a polled one says Composio checks for it every few minutes) and the event's config, each field read from the event's schema with the required ones marked, then an optional filter on the event's data. A subscription at another address is named, and moved here only once the person picks Move it here, which sends the create that was refused; an edit to the form first withdraws the question; an account not connected is said with the link to connect it. A trigger's page shows its app, event, config and filter, and whether Composio still has its instance, and says what Composio could not follow of a pause or a delete. Edit filter changes only what you edit: a rule or condition you leave alone goes back exactly as it was, and a save with no change sends nothing. Settings → MCP servers lists a Composio server's triggers with their state at Composio and where the project's subscription sends its events, with Rotate secret.
|
|
96
|
+
- The console's run page grades a run. An ended run that learns has a Grade control: Right, or Wrong with what was wrong (sent as the grade's `label`; a look-back needs words, and the control says so while they are empty) and, optionally, the correct answer as a JSON object of the fields a right answer holds (`expected`). After the grade it shows "Graded wrong" and "Reviewing" while the feedback round runs, then what the round did; the Timeline shows the grade's words as "Your grade" and the round's look-back. A graded run shows its grade and takes a new one, which replaces it. Runs that don't learn, and runs that only use what was learned, have no Grade control.
|
|
97
|
+
`GET /runs/{id}/learning` answers `graded` (`correct`, `source`, `graded_at`): the run's grade as its agent keeps it, absent when it has none.
|
|
98
|
+
- The console sets a webhook's or GitHub trigger's filter, the `accept` rules the API already took, and edits it on a trigger that exists. A rule names an event, the actions it takes (optional) and conditions on the request's body, each a field (a JSON pointer such as `/title`) and one test: "is one of", "starts with", "exists" or "is missing". A request starts a run when any rule takes it.
|
|
99
|
+
- New webhook: the filter is optional. With none, every signed request starts a run, as before. With one, each request it takes starts its own run, even while an earlier run is still going, and any other request is answered and starts nothing. Under each event field, the form says what the event is for the webhook's signature: a Standard Webhooks body's `type` or GitHub's `X-GitHub-Event`.
|
|
100
|
+
- "Is one of" takes one value a line. A number, `true`, `false` or `null` is that JSON value, and so is a line in double quotes (`"42"` is the text 42); any other line is its text. The trigger's page reads each condition back in the same words.
|
|
101
|
+
- New GitHub trigger: each picked event takes conditions, and events the picker doesn't list can be added by name.
|
|
102
|
+
- A webhook's or GitHub trigger's page has Edit filter. The save changes only the filter: a webhook keeps its URL and secret, and taking its filter away makes every signed request start a run again.
|
|
103
|
+
- Editing a filter changes only what you edit. A rule or condition you leave alone is sent back exactly as it was, even one the form would not write itself (a field name ending in a space, an action with a comma in it, a condition on the whole body, rules in another order), and a save with no change sends nothing.
|
|
104
|
+
- The form checks each rule's shape and the server's limits (20 rules, 20 conditions a rule, 20 values a list) before it sends. A refusal from the server shows under the field it names, in the server's words.
|
|
105
|
+
- The local server reads and sends email through one account of the owner's (IMAP and SMTP with an app password), saved in Settings → Email and sealed like every other secret. The account is kept whole in one sealed row, written once, so a save that fails leaves the previous account, and nothing reads one account's servers with another's password.
|
|
106
|
+
- `GET`, `PUT` and `DELETE /v2/settings/email` keep the account (presets for Gmail, Fastmail and iCloud, or servers of your own; Outlook is refused in words: it needs a Microsoft sign-in this server does not do yet), and `POST /v2/settings/email/test` signs in to both servers without saving or sending anything. All four are the owner's session's alone.
|
|
107
|
+
- An email trigger, `{kind: "email", mailbox?: "INBOX", every_s?: 60, accept?}`, reads the mailbox on a clock and starts a run for each new message its `accept` takes, keyed by its Message-ID. It watches from the moment it is made, its mailbox or account is changed, or it is turned on again: mail from before then starts no run, and that is said; any other edit keeps its place. A mailbox it can't reach then still makes the trigger, which starts watching at the first check that signs in. Another account saved in place of the one it read, or a mailbox the server rebuilt, starts it over from then, and that is said. A message this server sent is left. A run an email started is handed no earlier run's answer, as each message is a different sender's (a schedule's runs still are). A run's input is the message's payload as whole JSON within 16 KiB: a longer text is cut, said to be cut and marked `text_truncated: true`. The trigger shows its last check, and turns itself off (`sign_in_refused`) after the mail server refuses the sign-in three times in a row.
|
|
108
|
+
- Five tools: `email_search`, `email_read`, `email_draft`, `email_send` and `email_file`. `email_send` asks a person by default, and its approval shows who it goes to and what it says; it answers `{sent, message_id, rejected?, note?}`, `rejected` listing the addresses the mail server refused (the rest got it, and nobody is sent to again). `email_read` with `thread: true` reads the thread's newest 20 messages at most, chosen by their headers before any body is fetched, and answers `truncated`, `more` and the earlier ones' ids (`omitted`) to read one at a time. `email_file` files a message under a Gmail label, where it stays in the inbox (`archive: true` takes it out), or, elsewhere, moves it out of the inbox to a folder in one call (an explicit `archive: false` is refused, as a move takes the message out of the inbox), making the label or folder if missing; its description says in one line which the saved account's server does; it answers `{filed, message_id, to, archived, subject, note?}`, the note on a move saying "moved out of the inbox to <folder>", and never deletes mail, so the trash and junk folders are refused. A run an email started reads and files only that email's thread unless the agent's `scope: "mailbox"` setting widens it, and of that thread only the messages its sender took part in (their address in From, To or Cc, as on the account's own mail to them): a Message-ID a sender writes in References, or reuses as their own, grants nothing alone: the thread is read from the message where the trigger found it, or, once it has moved, its copy from the same sender. On Gmail a thread is found by its messages' Message-ID and References; elsewhere by In-Reply-To too, with up to 5 minutes for the search, past which the tool says the server took too long. Every answer stays under the host's result bound.
|
|
109
|
+
- Each email call reads as one line on a run's timeline: `Searched mail for "quarterly report" from:ana@example.com unread`, `Read <subject>`, `Drafted a reply to <to>: <subject>`, `Sent an email to <to> and 2 more: <subject>` (with ` (refused: 1)` when the server refused one), `Filed <subject> under Receipts, out of the inbox`. No message body is in any of them.
|
|
110
|
+
- New dependencies of `@parcha/agentrun-serve`: `imapflow` (IMAP), `mailparser` (parsing a message) and `nodemailer` (composing one and sending it over SMTP). They load only when the account is tested, a trigger checks the mailbox or a run is given an email tool, never when the server starts.
|
|
111
|
+
- A template eval case can set its runs' clock: `now: 2026-11-14T09:00:00Z` in its `case.yaml` (a date and time with its offset, checked before any run) is each run's current date and time. The run's environment line says that day, as does claude-agent's turn date, and each `llm` grader is told the clock the run ran on, so a rubric can say "the run's date". A dated fixture case no longer drifts a day each day it is run. Without `now`, nothing changes.
|
|
112
|
+
- Only the eval's own in-process server honours `now`; no package field, API field, setting or environment variable sets a run's clock, and a case with `now` refuses to run with `--server`.
|
|
113
|
+
- A shell's `date`, a browser's page and Codex's own date still read the machine's clock.
|
|
114
|
+
- A template eval case can say `email: fixtures/mailbox.json`, and its runs read a fake mailbox seeded from that file, never real mail. Each run on each of the fixture's `layouts` (`gmail`, `folders`; default `folders`) gets a fresh fake account, saved as the eval's own server's email account and closed after the run, and the case reports per layout.
|
|
115
|
+
- A run starts as the package's trigger would: the mailboxes are seeded, the package applied (its email trigger takes its start), the fixture's `message` delivered, and the trigger's next poll fires on it, so the run reads only that message's thread. A fixture with no `message` starts the package's schedule's run, which reads the whole account.
|
|
116
|
+
- Graders see each email call with its arguments, a refused one too, and `<mailbox-after>`: the drafts and other messages the run added, what it moved or labelled, and what it sent. A `mailbox` grader checks where one message is after the run (`message_id`, `in`, `not_in`). Any grader of an email case may say `layouts`, and grades only the runs of those layouts.
|
|
117
|
+
- On the gmail layout a label's mailbox lists every message carrying the label, as Gmail's does: searching `Ignored` finds the messages labelled `Ignored`, a label added or taken off shows at once, and a flag set through any mailbox shows in all of them.
|
|
118
|
+
- The fixture is checked when the case is read; the run's clock is the case's `now`, and so is the trigger's: each run of a schedule case fires on the case's date, never the schedule's next time after the run before. The apply checks a trigger's date by that same clock, as POST /triggers does, so a one-time `at` on a past case's date is applied, not refused as passed. Only the eval's own server honours `email`, so a case with it refuses `--server`.
|
|
119
|
+
- The eval runner's per-run fakes (`web`, `monid`, `now`, and now `email`) are one map per agent, read in one place by the runner beside the eval's server.
|
|
120
|
+
- The eval's grader agent runs with no computer: it only reads, and on a server with no sandbox its runs failed at the start.
|
|
121
|
+
- A template eval's llm grader of a run that searched or fetched reads a link check beside the calls (`<link-check untrusted>`): one line per distinct http(s) link the answer cites, in its text or any string of its JSON, saying `matches call N` or `no matching call`. The match is done in code against every url the run's web calls answered: a web_search's results, a web_fetch's asked url, final url and page links. A fragment, a trailing slash, the query's order and the case of scheme and host are ignored. The query's keys must be the same, and a value the timeline elided to "…" matches any value for its key, so a cited link with a query string can match at last. A link that matches nothing names any fetched page whose links were cut (`(call N's links were cut)`). Cited links are shown with their query values, fragment and userinfo elided, as call urls are. A run with no web call is graded on the same prompt as before. A rubric can now say "every cited link must match a call; read the link check" instead of spelling out URL equality.
|
|
122
|
+
- A template eval case can take monid down: `monid: unavailable` in its `case.yaml` answers every call of the package's monid endpoints as monid unreachable does (`<endpoint> was not sent: monid's price for it could not be read before the call (monid could not be reached: fetch failed).`), through the runner's own monid path with a fetch that never connects. No call is sent, nothing is held or charged, and the calls show in the timeline under their monid names, so `tool_used` counts them. It holds on pi, claude-agent and codex, wherever the run's monid endpoints are bound.
|
|
123
|
+
- Only the eval's own in-process runner honours it, by the agent it made for the run: no package field, API field, setting or environment variable turns it on, and a case with `monid` refuses `--server`. The package must grant a monid endpoint.
|
|
124
|
+
- The apply still pins the endpoints from monid's listing (a free read, no run), so the agent's tools are the ones it has live.
|
|
125
|
+
- `agentrun-serve eval-template --on-data DIR` runs the eval's own server on DIR, a stopped server's data folder, in place of a temp one. The runs use what that server keeps, so a package's cases are measured on the owner's ChatGPT plan, and every case's fakes still bind (`now`, `email`, `web`, `monid`), which `--server` refuses. The agents the eval made are archived there and the folder stays, with its tool settings, MCP servers and saved API token (`.token`) as they were; the report says `server: {kind: "in_process", data: DIR}`. It is refused with `--server`, while another server holds DIR, when DIR's server has enabled triggers, runs not ended (its built-in learning runs included) or a learning batch running (the eval's server and runner would take them up), and for an email case when DIR's server keeps an email account, which the case's fake mailbox would replace. `EvalOptions.data` is the same in the API.
|
|
126
|
+
- A template eval case can fake the web: `web: unavailable` in its `case.yaml` fails every `web_search` with the words a rate-limited free search answers with and every `web_fetch` as a page that never answers, and `web: <fixture file>` answers each search from the first answer whose `query` (a regular expression) matches and each page from the answer for its exact URL, else the fixture's default. No call reaches the network, the calls show in the run's timeline and the graders' tool calls, so `tool_used` counts them, and the fixture is checked whole before any run.
|
|
127
|
+
- The same fake holds on pi, claude-agent and codex: on claude-agent and codex a faked case's runs are never offered the harness's own web search, so the run's `web_search` is the one that answers.
|
|
128
|
+
- Only the eval's own in-process server honours `web`; no package field, API field, setting or environment variable turns it on, and a case with `web` refuses to run with `--server`.
|
|
129
|
+
- Fix: a guarded public fetch of a 2xx answer with no body (204, 205) reads as an empty page instead of failing with "Cannot read properties of null".
|
|
130
|
+
- Free OpenRouter models are runnable at $0 and marked Free in the console's Model picker. `openrouter/baidu/ernie-5.5-flash-preview:free` and `openrouter/inclusionai/ling-3.2-flash:free` take tools but are not in pi-ai's catalog, so serve now lists them itself at $0, with OpenRouter's context window and output ceiling. Each one was checked live with a tool call. Capabilities' harness entries carry `free_models` (new, required, `harness/5`): the models in `models` whose catalog price is all zeros, each with its `context_window`. On pi with OpenRouter's key, that is pi-ai's own free models plus these two. A router that picks a model per request (`openrouter/auto`, `openrouter/free`) is not counted as free. The picker tags each free model "Free · <context> context", and a "Free models only" switch narrows the list to them. A template whose `model.prefer` names a model this server does not know now says so in a warning on apply, as it already did for a gateway server, instead of silently taking the tier's model.
|
|
131
|
+
- Breaking: a client that validates capabilities against `harness/4` refuses the new `free_models` field.
|
|
132
|
+
- A run on a free model now stops at 60 requests on free models. A free model's catalog price is all zeros (an OpenRouter `:free` model and the like), so no spend cap could stop one stuck in a loop: a run on a free model made 520 web searches before it ended, burning its provider's shared daily quota. The request after the 60th is not sent, and the run ends `failed`, as one its cap ends, with error `spend_cap_reached`: "Not sent: this run reached its 60-request limit for free models." The limit holds capped or not, on every harness, and no raise lifts it. A server that needs more sets `AGENTRUN_FREE_MODEL_REQUESTS` (a whole number above 0; anything else refuses the start). ChatGPT-plan requests don't count.
|
|
133
|
+
- What counts: each request on a free model the run makes, its subagents' and side calls' included, and one a crash cut. A paid request, a paid tool call and a workflow's decision never count.
|
|
134
|
+
- A free request a crash cut, booked by the next process, is now a known $0 marked `free`, as a free request that ends in its own process already is; it was booked as unknown.
|
|
135
|
+
- Capabilities report the limit as `limits.free_model_requests` (marked `freerequests/1`), and the console says "free model: up to 60 requests" beside the spend cap of an agent on a free model.
|
|
136
|
+
- Kernel: `runCap` takes `freeRequests`, and `kernel/cap` exports `freeModel` and `freeRequest` (one rule for what the cap books at $0 and what the limit counts), `planCapModel`, `freeModelRequestsOf` and `freeCeilingEnd`. A runner's `runner.request` record says `freeRequest: true` for a request the limit counts.
|
|
137
|
+
- A run on a free model is now told when its free-model request limit is near. The request that has 3 requests left (itself included; the limit is 60, or `AGENTRUN_FREE_MODEL_REQUESTS`) carries one note, "AgentRun server note: 3 free-model requests left in this run, this one included: finish now with your answer.", labelled and placed the way the spend cap's wrap-up note is, once per run and shown as the server's row in the timeline. Before, the request past the limit was refused with no warning. A paid model's or a ChatGPT plan's requests never count or carry it. When the dollar cap's note is due on the same request, that one goes first.
|
|
138
|
+
- The Learning tab says "About 7x cheaper at the same accuracy" only when it can back both halves: the ratio, and the replay the serving workflow was promoted on clearing the accuracy bar. Under it, one line: "Replay: workflow 95% vs agent 94% on 40 inputs · served 59 runs, handed back 3". With no replay yet, or one below the bar, it says "7x cheaper" and why accuracy is not claimed.
|
|
139
|
+
`GET /agents/{id}/learning/cost` no longer averages around runs whose cost isn't known. While any run the ratio reads (the agent's runs before the takeover, every run after) has an unknown cost, or a cost known only as an upper bound, `summary.times_cheaper` is null and `summary.withheld` names the counts ("3 runs' cost unknown, 1 known only as at most"). The summary also carries `replay` (the serving promotion's `n`, `workflow_pct`, `agent_pct`, `cleared`), and each run carries `cost_upper_bound` (true when its row stores only a bound, `costAtMostUsd`, with a null cost; `withheld.at_most` counts such runs, `unknown` counts null costs with no bound). `agentrun learning cost` and the CSV read the same rule; the CSV gains a `cost_upper_bound` column after `cost_usd`.
|
|
140
|
+
Upgrading: a script that reads the cost CSV by column position shifts every column after `cost_usd` by one.
|
|
141
|
+
- A template package can offer up to three named model choices (`model.choices`), each a model on one of its harnesses with an optional warning and setup note, and the owner picks one at install. `POST /v2/templates/{id}/apply` takes `overrides.choice: <id>` and runs the agent on exactly that model and harness, or refuses: an unknown id, or a choice sent with `overrides.model`, is `422 overrides.choice`; a choice's missing key is `409 agent_not_runnable`, as a package's is; a model this server can't run on that harness is `409` naming the model, never the tier's model in its place. `GET /v2/templates` lists the choices under `model.choices`.
|
|
142
|
+
- A package's `model.prefer` follows the same rule: where this server can't run it on the chosen harness (no key for its provider, no catalog here lists it, or the harness does not run it), apply is `409 agent_not_runnable` under `model`, naming the model and the fix (save the provider's key in Settings → Model keys, or apply with `overrides.model` or a model choice), and makes nothing. It used to take the tier's model in its place without saying so (or, for an unlisted model, with only a warning). The bundled code-review package no longer has a `prefer`, which would have refused its install on a server with the ChatGPT sign-in and no OpenRouter key. It runs on the server's fast model, and `openrouter/particle-ai/particle-1` is now its model choice `particle`, "Particle 1 (OpenRouter)", whose note says it is the model the package was tuned and measured on, at about 18 cents a review. A server behind a gateway still skips `prefer` with a warning, as before.
|
|
143
|
+
- The console's install form shows one Model group when a package offers choices: its default first, then each choice by label, each warning and note shown word for word under it, and sends the pick as `overrides.choice`. A package with no choices shows no group.
|
|
144
|
+
- Receive polling and native OpenTelemetry observations from independently running Claude Code and Codex sessions using the existing AgentRun CLI protocol. Scoped credentials, selection fences, durable deduplication and bounded retention preserve activity and token accounting across reconnects and restarts. Observation is read-only and does not enable self-improvement or take over execution.
|
|
145
|
+
|
|
146
|
+
Reconnecting a revoked source can adopt its newly approved polling or telemetry mode without losing accepted history. Fresh credentials and selection revisions fence old uploads, and each mode's source clock remains independent. Missing cache usage stays unknown, and receipt capacity is counted once per batch.
|
|
147
|
+
Observation reads and retention scans select their own settings namespace before loading values, avoiding unrelated remote command history.
|
|
148
|
+
|
|
149
|
+
Concurrent enrollments share an atomic store capacity check, keeping the connector namespace at its limit across server handles without replacing an existing installation or blocking revoked-source re-enrollment. Every raw connector key counts conservatively, without decoding unrelated settings.
|
|
150
|
+
|
|
151
|
+
Native OTLP uploads accept the configured Collector's 100-record batches under a separate 1 MiB limit for both wire and decompressed bodies. Polling and owner requests retain their 64 KiB limit; authentication, consent, record-count and retention checks remain in force.
|
|
152
|
+
- A workflow can check in code that the quotes its answer gives are in the pages it fetched: the new `quote_missing` predicate. A compiled workflow whose answer quotes fetched pages must use it as its quote check, never a judge.
|
|
153
|
+
- `{"predicate": "quote_missing", "path": "answer.evidence", "field": "quote", "pages": ["page"]}` holds when a quote at `path` (a string or a list of them; with `field`, records each holding its quote at `field`) is in no string under `pages`, the state paths this run's call steps wrote, each string read alone. Both sides are compared lowercased, with curly quotes straight, en and em dashes as `-` and whitespace runs as one space, then once more as letters and digits alone. A quote under 8 characters is not checked. On an `escalate`, the `escalate.evaluated` event carries `quotes_checked` and `quotes_missed`, counts only, never quote or page text. It is a mechanical predicate, so `not` takes it. Validation refuses an empty `path` or `pages`, a page path that overlaps the quotes' path, a page no input key or earlier node produces, and in a `poll` a page outside the call's declared result.
|
|
154
|
+
- The learning checks refuse a workflow draft whose output schema has a `quote` or `quotes` property and which fetches pages with a call step, unless each place in the answer holding quotes is read by an escalate on `quote_missing` (a quote key whose schema is a union of shapes is a place per shape; quotes no one `path` and `field` read, such as under two lists, are refused), a step of the top-level chain after the answer is written, whose `pages` hold pages as fetched (never a model's summary). The refusal names the predicate to write. The compile prompt says the same: a judge, an `ask` or a guard is never the quote check.
|
|
155
|
+
- An agent's owner can replay a learned workflow's revision on the agent's graded inputs: `POST /v2/agents/{id}/learning/workflows/{name}/revisions/{digest}/replays` starts it, and `GET` the same path plus `/{replay_id}` reads it (`agentrun learning replay`). Before, only a run's claim started a replay, for a new revision only, so a held revision could not be checked again and an edited one waited for a run that fit it.
|
|
156
|
+
- `inputs`: `held` (the default), the graded runs the revision's last replay or hold was decided on, else the agent's newest 20; or a number from 1 to 500, that many of the agent's newest graded runs. 202 with the replay's id and how many inputs it replays.
|
|
157
|
+
- It is the claim's replay: the same reservation and replay runs (handed no per-run MCP credentials), the same records (`source: replay`, now with `replay_id`), promoted within 2 points of the agent or held, then refit, as a claim-started one is. The read decides it once its runs ended, so a revision no run lays is decided too.
|
|
158
|
+
- 404 for an unknown agent, workflow or revision; 409 `replay_conflict` while it replays, while another revision of it replays, once it is promoted, or with no graded input it fits; 400 for any other `inputs`. Only the owner's password session starts one; a token is 403.
|
|
159
|
+
- Fix: a graded run a learned workflow answered alone (path `workflow`) is now a replay input, beside the agent's (`agent`, `handed_back`). It has a recorded answer and a grade, which is all a replay scores against.
|
|
160
|
+
- A revision held on runs it served that were graded wrong keeps them (`held_on`, at most 20). Every replay of it covers them, and it is promoted again only once it answered on each. Promoted again, it is checked only on the runs that promotion served (`since` names it, and each run it serves keeps it), never on the ones it was held on, nor on a run served before it and graded after. A check that read an earlier promotion writes nothing over the new one.
|
|
161
|
+
- A replay none of whose runs started by its deadline (its launch was interrupted) reads `failed` (held), and its owner starts it again with POST. A GET never starts runs: before the deadline such a replay reads `running`.
|
|
162
|
+
- A run's opening message is saved in its folder as `inputs/message.md`, its `content` byte for byte, beside the files it was given, on every harness. An agent can name that file to a subagent instead of copying a long message into the call. A run with no text `content` gets no file, an upload at that path takes `message-2.md`, and the first message's files line never names it. The bundled code-review package uses it: for a pasted diff, each reviewer's prompt names `inputs/message.md` and the reviewer reads the diff there, so the parent no longer writes the diff out eight times (on a 1,000-line diff that copy alone ran into the model's output ceiling).
|
|
163
|
+
- Record tasks executed by existing Claude Agent SDK and Codex SDK backends through scoped, idempotent run receipts. Keep execution and cancellation in the application while the server records bounded evidence, independently checks opt-in notes and skills, pins accepted context for later tasks, and accounts for SDK and reflection usage without inventing unknown counters.
|
|
164
|
+
|
|
165
|
+
Keep completed, failed and cancelled SDK runs in the learning cost series by persisting their canonical execution path with terminal usage. A failed or stalled terminal read leaves cost and metrics unknown, and a stop received during that read is taken with the end rather than lost.
|
|
166
|
+
|
|
167
|
+
When the backend marks its evidence incomplete, retain valid cost and token aggregates but leave its execution path unknown, so the learning cost series counts and excludes that partial trace.
|
|
168
|
+
|
|
169
|
+
Failed or cancelled SDK runs record why learning stopped alongside their final state, without asking a reflection model or leaving learning shown as seeded.
|
|
170
|
+
|
|
171
|
+
Keep the task's original cost and answer time with the first reflection prompt. Recovery reuses that snapshot and the paid answer, preserving the task/reflection breakdown and unknown costs when the run's terminal commit was interrupted.
|
|
172
|
+
|
|
173
|
+
Keep each workflow compilation attempt under its own durable request ID, distinct from reflection and retry attempts. Recover the first task-cost snapshot within the same learning round, including compile-only rounds, without borrowing another round's figures or resending an answered request.
|
|
174
|
+
|
|
175
|
+
SDK callback tools never list or pin tools from AgentRun's managed MCP registry, including when an inline managed launch is refused. Backend starts and evidence recording remain independent of a missing or unavailable managed server.
|
|
176
|
+
|
|
177
|
+
SDK reflection repairs carry their original format instructions and bounded, redacted rejected answer from the same durable learning round. A reclaimed run reuses both answers without another paid dispatch; compiler retries retain their separate context and request IDs.
|
|
178
|
+
|
|
179
|
+
Keep grades of completed SDK runs as evidence without reopening application-owned execution onto managed feedback rounds. Their scoped completion receipts and existing learning remain terminal.
|
|
180
|
+
|
|
181
|
+
Arbitrate SDK completion and deadline/error closure on the same durable evidence inbox, fenced by the runner's current claim. Acknowledged completion keeps its answer and usage for processing or recovery; a closed inbox refuses new evidence while exact retries remain idempotent. Initial read failures settle unknown cost and unasked dropped learning only when closure and the terminal journal can be saved; otherwise the run remains recoverable without replaying the backend task.
|
|
182
|
+
- Let checked backend SDK workflows reuse existing application tool callbacks through an explicit local MCP bridge. The host supplies its workflow engine, tools and live permission policy; run-scoped capabilities, schema checks and cancellation bound execution. Capability-aware reflection and grading propose only runnable workflows, and the cookbook compares fresh-input workflow reuse with a learning-Off control.
|
|
183
|
+
Keep each bridge callback and result under its validated workflow invocation in the run timeline, so successful workflow-only work retains its workflow cost path while failed callbacks and extra agent work remain handed back.
|
|
184
|
+
An explicit `nativeMcpServerName` also correlates duplicate native MCP envelopes against one-use bridge completion receipts with the same session capability, arguments, status and result. Unconfigured or unmatched native calls remain ordinary tool evidence.
|
|
185
|
+
SDK workflow checks and selection refuse automatic tool retries the bridge cannot execute, and evidence cannot close a workflow while one of its nested callbacks is unfinished.
|
|
186
|
+
The SDK callback catalog’s advertised schema uses the runtime MCP tool-name grammar: leading dashes are valid, dots and tools longer than 64 characters are refused.
|
|
187
|
+
Workflow admission and SDK delivery reject repeated scoped step labels while preserving declared backend callbacks and the bridge's retry limits.
|
|
188
|
+
SDK proposal checks and approved workflow delivery honor the bridge’s 128-node static limit, including nested chains and composed workflows, without restricting managed workflows.
|
|
189
|
+
SDK jobs use the ordinary note/run compilation thresholds and a separate compiler turn. Its host contract, examples and checks use only explicitly registered backend callbacks, without hosted workflow-first, model or step-guard authority. Each independent SDK retry carries the bounded, redacted original compiler context and its previous failed answer; durable attempt IDs preserve paid-once recovery and the task-versus-learning cost breakdown.
|
|
190
|
+
|
|
191
|
+
Revised SDK workflows keep the first compiler ask's main commit as their file conflict base across recovery, alongside the original task-cost snapshot and declared callback capabilities.
|
|
192
|
+
- `softEscalates(doc)` in `@parcha/agentrun-dsl` names the escalates of a workflow document that read a judge's output, by label as a run names its step (`parent/child` in a child workflow): the ones a host that measures a check may pass to `WorkflowDeps.softEscalate`. What each node kind writes to the state is one table beside the interpreter's node runner, keyed by every kind, so a new kind says what it writes. An escalate whose `ask` predicate reads only a judge's fields (every `{path}` its `state` and `images` interpolate) is now one of them; an `ask` with no `state` reads the whole state and is not. AgentRun's replay uses it in place of its own copy of the walk.
|
|
193
|
+
- Connect existing Claude Code and Codex setups on this server or another machine, select live jobs or approved history imports, and inspect native readiness. Refresh remote readiness on the agent page while it is open and after verification or disconnect, keeping unavailable workers from enabling run or learning controls. Keep SDK execution controls and retries in the original backend, including on Mission Control, and guide onboarding without requiring a model key to connect. Keep reserved agent ids addressable across console links, and show an owner-disconnected target as unavailable even while its worker stays online. Separate native Codex cache reads and writes from uncached input, keeping unreported counters unknown. Show small positive native task and reflection prices without rounding them to zero, while leaving unreported prices unknown. Keep CSV learning batches available only for server-managed agents; native and SDK agents retain notes and skills review with guidance to start tasks in their source runtime or backend. Managed model setup stays behind the explicit run-here choice and preserves a started sign-in across collapse.
|
|
194
|
+
|
|
195
|
+
Server-issued links for agents named `new` or `connect` open that agent's Runs tab.
|
|
196
|
+
- Build agents from a brief or the full template catalog using a remembered coding-agent dropdown or the API playground. Handoffs preserve complete template settings and prepared requests, and the server serves its matching setup skill. Imported GitHub templates retain their full package identity and reviewed commit across configuration, prompts and prepared requests, alongside publisher trust, pinned installation and visible provenance.
|
|
197
|
+
Setup, build, edit and run prompts read that skill from the selected server, so its instructions match the deployed build.
|
|
198
|
+
Development handoffs reach the same server's setup skill through Vite, and successful skill-file edits disable identical repeat saves while preserving later edits and revision guards.
|
|
199
|
+
Deleting learning or an agent's spend cap from an edit sends the API's explicit reset, including after switching between JSON and Form.
|
|
200
|
+
|
|
201
|
+
Template handoffs retain the owner-selected MCP server for each source and toolkit, including prepared API requests. Unread or ambiguous accounts wait for selection; a removed prepared account requires a fresh request instead of switching accounts. Agent edits preserve explicit model and tool-setting resets when switching between JSON and Form before saving.
|
|
202
|
+
|
|
203
|
+
Keep unfinished Playground requests, selected options, uploaded attachments and displayed responses when setup import refreshes the agent list, including a failed refresh that can be retried. Replacing the authenticated client resets cached console state immediately; signing out also discards the previous session's request. A selected agent removed or archived during refresh requires a fresh choice.
|
|
204
|
+
Template handoffs use the server's compiled parameter schema and shared input fields, retaining false, zero, scalar arrays, defaults and reviewed consent while rejecting unknown or lossy prepared values.
|
|
205
|
+
Complete JSON definition edits preserve removed fields through JSON/Form switches: deleting an unattended approval policy sends no override and restores the server’s asking default. Confirmed default resets become clean without allowing a duplicate revision request; failed edits keep their unsaved-change guard.
|
|
206
|
+
|
|
207
|
+
Editor tool, skill and workflow groups retain their accessible names and linked help, refusal and warning text.
|
|
208
|
+
|
|
209
|
+
Edit and run handoffs follow the loaded agent’s native or SDK binding. They direct changes to the original source or backend, without appending a managed-definition request; editable JSON cannot change that handoff identity. Managed requests keep their full prepared JSON and revision precondition. Prepared template requests retain the selected package model and reject choices no longer offered.
|
|
210
|
+
|
|
211
|
+
Copy confirmation and manual-copy fallback stay associated with the current prompt and coding-agent selection, including when clipboard responses arrive out of order.
|
|
212
|
+
|
|
213
|
+
After clearing an agent's default spend cap, the request is considered saved when the server omits the cleared cap. Repeated sends stay disabled until another setting changes.
|
|
214
|
+
|
|
215
|
+
Complete JSON edits now use supported reset values and explain settings that cannot be removed through this API. Saved-response comparison preserves real computer changes and blocks unchanged repeat saves after canonical readback.
|
|
216
|
+
|
|
217
|
+
Workflow and agentic edits now normalize fields from the requested definition, so changing a workflow into an agentic agent preserves its new instructions and model settings.
|
|
218
|
+
- Inspect an agent's configuration beside its runs and versions, query filtered runs through the shared coding-agent action, and see Mission Control activity and analytics without a model-key gate. Refresh external work when returning to the console. Preserve archived-run scope in coding-agent queries, and keep focused daily analytics readable inside narrow cards. Let slow Mission Control reads finish before automatic refresh, while preserving explicit refresh and scope changes. Keep the server's save warnings visible beside the inspected configuration.
|
|
219
|
+
|
|
220
|
+
Keep a visible Detailed editor action for managed agents, including archived agents, so the existing revision history and Make current controls remain reachable. Native and SDK agents retain their original-source editing handoffs; inspecting Versions remains read-only.
|
|
221
|
+
|
|
222
|
+
Disable Load more while the agent's run history or refresh metadata is still being read, then allow pagination again after the refresh settles. Preserve loaded rows and the existing retry guidance when a refresh fails.
|
|
223
|
+
|
|
224
|
+
Keep the last successfully loaded Mission Control counts, analytics and run links visible beside a refresh error. Preserve the initial error state when no data has loaded, and let retry replace the saved view after a successful read.
|
|
225
|
+
- Add Learning Dojo to inspect retained knowledge and reviews across agents, and show each run's recorded learning outcome and grader decisions. Refresh learning safely without replacing in-progress edits, confirmations, or paginated results. Keep workflow agents with reserved ids addressable from Dojo, and distinguish approved remote-history uploads from maintenance of a local store. Show workflow draft errors alongside recorded validation problems, including runs with no parsed reflection result.
|
|
226
|
+
Manual refresh replies preserve a note opened for editing while the read was pending; a completed write still refreshes its own note list.
|
|
227
|
+
Keep the last successful learning snapshot visible during Dojo refreshes and transient failures, with explicit last-read counts instead of misleading current minimums. Refresh agent metadata, discard removed or unsupported histories, and replace cached learning after a successful read.
|
|
228
|
+
- Show independently running Claude Code and Codex sessions in Connected agents, Runs, and Mission Control with reported model and token/cache usage. Keep observed sessions read-only, preserve their data through temporary refresh failures, and offer existing-application setup through the shared handoff. Keep observed sessions visible through unrelated registered-run loading or failures, label retained session counters separately from range totals, and document confirmed owner-authorized unattended disconnection. Observation reads time out after 30 seconds, cancel when their scope closes, and recover through polling or manual refresh without hiding retained session cards.
|
|
229
|
+
|
|
230
|
+
Show the complete environment-credential disconnect command, including its required destination origin, in the connector guide and served onboarding skill.
|
|
231
|
+
|
|
232
|
+
Keep saved registered-run counts, analytics, and run links visible beside refresh errors and independently loaded observations. Initial registered-run loading or failure still leaves observations visible, and retrying does not discard the saved registered view.
|
|
233
|
+
- Connect local Claude Code and Codex setups without copying their configuration or credentials. Native jobs preserve source permissions, uncertain dispatch and exact UTF-8 output, and can use checked notes and skills when learning is explicitly enabled. They honor typed input and output schemas, ask once more when the final JSON misses its schema, and can be cancelled while another job holds their source project. A stop or cancel received while recording final usage still owns the run's end. Native learning jobs record their agent execution path in the cost series while unknown dollar, token and request counts remain unknown in the API and console analytics. A failed or stalled terminal metrics read leaves cost and path unknown within the shared end-read bound, preserves the actual task outcome or person’s stop, and releases the source project without replaying the task. Native tool inputs and results (including credential-shaped property names and numbers), and final answers are redacted before entering the durable journal, including credentials already opened from the server’s sealed store. Codex uncached input excludes both reported cache components, and remains unknown when either split is missing. Preserve unmetered tool coverage alongside unknown native request counts. Already-admitted trigger messages wait for the person’s answer before delivery, and database fixtures release their connections and yield while removing injected write faults. Claude Desktop-only tools remain advisory and do not change a Code project’s launch fingerprint. Task usage remains unknown when a dispatched retry reports no counters, without mixing in separate reflection usage. Workflow node cleanup preserves the original stop after its owning invocation ends, including late attempts. Restart tests distinguish server recovery from a cut paid request whose charge remains unknown, and independent webhook fixtures keep their secret lifetimes isolated. Webhook test waiters recheck committed state when filesystem notifications arrive before a commit or are coalesced. Native prompts keep text and all typed input fields together, using the same fenced input formatter as managed runs. Native definitions reject removed tool-call settings, and old saved or queued revisions that still record a limit fail before dispatch until saved without that setting. Saved native instructions are passed as additive context from the run’s pinned revision, without rewriting native source policy or permissions. Learning uses the last bounded, redacted combined policy recorded before durable task dispatch; abandoned preparations cannot supply or hide the executed task’s policy. Native connections reject AgentRun model and thinking overrides at registration, save, restore and dispatch, with directions to configure the source CLI. Existing queued overrides fail before execution; explicit native connection management clears only obsolete ignored AgentRun fields without changing source configuration or silently deleting managed-agent settings.
|
|
234
|
+
|
|
235
|
+
Native connections also refuse managed tool permissions, tool or skill grants, unattended approval overrides, model tiers, different harnesses, computers or sandbox locations, pull-request checkouts and spending controls that their source CLI cannot honor. Empty grants and settings, asking by default, the source harness, runner location, no computer or checkout, zero cap and expected cap pricing remain compatible. Source-discovered models, skills and MCP servers remain source metadata. Legacy execution restrictions block restore and queued dispatch, stay intact on disconnect, and must be explicitly removed before reconnecting or verifying. Reconnecting a legacy binding with no stored harness restores its source harness for ordinary definition round trips.
|
|
236
|
+
|
|
237
|
+
Postgres deployment and data-root ownership tests stop their server and runner processes before dropping schemas, keeping teardown DDL from racing live background reads.
|
|
238
|
+
|
|
239
|
+
Native source MCP metadata never lists or pins tools from AgentRun's managed MCP registry, including when a legacy managed grant is refused. Runners require the server to install revision MCP and Monid metadata before opening an older store of the same schema version; only the server upgrades it.
|
|
240
|
+
|
|
241
|
+
Grades on completed native source runs remain recorded without reopening them into managed feedback rounds that the native runner cannot consume. Their CLI fixture's runtime-name selection is reviewed by the entry-point guard without changing symlinked Claude and Codex protocol selection.
|
|
242
|
+
|
|
243
|
+
Codex keeps intermediate messages visible as progress while only its last completed message supplies the final answer, output-schema check and reflection proposal, avoiding an extra task when the final JSON already meets its schema.
|
|
244
|
+
|
|
245
|
+
Native stops kill the source immediately and drain already reported tool and usage events before returning the original stop. Recording has a five-second bound; after it expires no later queued event starts, while any in-flight write remains subject to its claim fence.
|
|
246
|
+
|
|
247
|
+
Learning task snapshots retain unknown booking charges across a runner restart, so a priced retry cannot turn the interrupted task’s subtotal into a known cost. An already recorded task charge stays known when only its later learning request is cut.
|
|
248
|
+
|
|
249
|
+
Codex configurations that select custom model or developer instructions now mark learning evidence incomplete, including quoted TOML keys in user, project and selected profile files. Invalid, changed or unreadable configuration evidence also refuses automatic promotion before grading. Verification makes that limitation visible without disabling ordinary native tasks or changing their source configuration; saved instructions cannot clear the refusal. System Codex configuration is fingerprinted alongside user and project configuration. Older Codex snapshots without configuration inspection remain readable but cannot authorize new automatic learning; a new source run must capture the policy evidence.
|
|
250
|
+
|
|
251
|
+
Claude main-agent policy preserves user and current-directory settings precedence even when `CLAUDE_CONFIG_DIR` is deeper than or inside the project. Unrelated ancestor shared settings and user-global `settings.local.json` do not select the agent or change the launch fingerprint. Agent definitions are scoped by read-only repository-root metadata; project definitions override same-name global definitions and explicit selectors remain selected. Potential ancestor-local settings, worktree policy sources, or agent definitions whose scope or nested contents cannot be fully captured make automatic learning explicitly unavailable and the effective model unknown while ordinary native tasks remain available. Older Claude snapshots that did not preserve source precedence remain readable but cannot authorize new automatic learning.
|
|
252
|
+
|
|
253
|
+
Claude instruction snapshots detect potential imports before redaction and refuse automatic learning when imported policy was not captured. Known additional sources, including active AGENTS.md fallback, user instruction-file selectors, rules directories and managed policy, also refuse learning when their effective policy cannot be captured. Ambiguous multiline code examples and directories exceeding the bounded metadata inspection also refuse learning conservatively. Ordinary native tasks retain their source configuration and remain available. Older snapshots without the new source-coverage check, or without a recorded dispatch runtime, remain readable but cannot authorize new grading or promotion.
|
|
254
|
+
|
|
255
|
+
Normal server shutdown cancels a pending ChatGPT sign-in and releases its loopback callback listener without signing out or changing the saved credential.
|
|
256
|
+
|
|
257
|
+
Stop-withdrawal tests advance their store and runner retry clocks together, so a delayed observer cannot miss the first backoff. Wall-clock test deadlines and the production retry policy remain unchanged.
|
|
258
|
+
- Run explicitly selected native setups on another machine through an outbound Python worker. One-use owner enrollment becomes a connector-scoped credential; leased commands preserve stable event and completion retries, cancel source work on lost leases, and never redispatch an uncertain model call. Source paths, configuration, credentials and permissions remain controlled by the source operator. Opens are pinned to each run’s reviewed configuration fingerprint and cancelled opens release late sessions, files and locks. Independent polling and delivery keep source lease expiry responsive during stalled uploads. Remote seeds omit unsupported skill and resource counts with a visible reason. Scoped command-owner metadata avoids parsing another connector’s retained payloads and preserves escaped NUL in native content. PostgreSQL applies an additive column/index migration; existing SQLite stores install it and backfill on server reopen. Start this build’s server before its runners; a runner refuses an older SQLite store whose metadata is not yet prepared. Remote Codex grading separates uncached input from both cache components, while unknown cache usage keeps grading tokens unknown. An upload rejected after cancellation waits for a newer heartbeat before classifying a missing cancellation, keeping that source stopped without interrupting other commands.
|
|
259
|
+
|
|
260
|
+
An oversized or malformed source bridge response, a stopped event reader or stdout EOF closes the bridge and fails its pending operations. Later commands cannot execute without a reader; the existing four-megabyte frame limit stays unchanged and uncertain native work is never replayed automatically.
|
|
261
|
+
|
|
262
|
+
Authenticated command completions accept the source worker's four-megabyte UTF-8 envelope, including its lease token; other request limits are unchanged. A result that exceeds that envelope becomes a small durable command failure before upload, so acknowledgement retries and worker restarts preserve the same outcome without stopping unrelated jobs or repeating native execution.
|
|
263
|
+
|
|
264
|
+
A command that exhausts the destination's cumulative event capacity stops only its own native source and records a small durable failure. Unrelated jobs continue; late output is discarded, and retries or restarts reuse the recorded failure without executing the command again.
|
|
265
|
+
|
|
266
|
+
PostgreSQL command metadata is migration 0013, after the released 0011 revision-MCP-pin and 0012 revision-Monid-pin migrations. Upgrades preserve existing pins, agent revisions and command payloads. An experimental store that already applied the unpublished native-command migration as 0011 or 0012 refuses startup with a migration-text mismatch; this build does not rewrite that history or reset data. Keep its previous build until a separate preserving migration is available. SQLite stores missing MCP, Monid or native command-owner metadata are upgraded only by the server before runners can open them.
|
|
267
|
+
|
|
268
|
+
Remote preparation retains policy omission reasons and current coverage markers; incomplete or older source evidence disables automatic learning while ordinary native jobs remain available.
|
|
269
|
+
|
|
270
|
+
Final native tool and usage events are acknowledged before command completion. A cancellation that cannot acquire or flush the bridge writer within 250 milliseconds closes the shared bridge through its bounded child cleanup; pending operations fail without automatic replay instead of blocking the lease loop. Healthy per-command cancellation keeps its ordered frame and other sessions.
|
|
271
|
+
|
|
272
|
+
When source preparation withdraws notes and skills or the final source-plus-saved policy evidence is incomplete or truncated, the native run records why automatic learning was skipped before sending a reflection or queuing a grade. Ordinary tasks retain their saved and learned context; complete policy evidence keeps the checked reflection and grading flow.
|
|
273
|
+
- Preview and explicitly import ended sessions for one source project and runtime, with separate owner and source consent for history-only or combined connections. Transfers redact and bound selected content, preserve stable source identities for deduplication, and lock authorization guards inside each run import transaction so acknowledged revocation or disconnection prevents later writes.
|
|
274
|
+
Export the exact approved inventory; changed selections require a fresh preview and consent. Resumed conversations retain their first imported snapshot while later sessions continue importing. Disconnected targets cannot advertise live launch readiness even while their source worker remains online.
|
|
275
|
+
Recheck the approved source identity before and after reading each exported session, including archive replacements that preserve file size and modification time.
|
|
276
|
+
Read complete opening metadata records when discovering remote sessions, so large valid Claude Code prompts are included; report sessions whose project cannot be checked within the bounded read.
|
|
277
|
+
Reject oversized selected transcripts before parsing them during previews and export pages, while still using a bounded metadata probe to identify their project.
|
|
278
|
+
Accept valid history pages through the authenticated route's 2 MB raw-body limit; other JSON requests keep their 1 MiB limit, and oversized history is refused before importing any session.
|
|
279
|
+
Prevent new remote history writes after an agent archive commits, while preserving earlier imported history and ordinary local imports. Project-history previews and pages use bounded session metadata, parsing transcript contents for the requested page and retaining approved-file, source-identity and child-session checks.
|
|
280
|
+
- A template eval's `tool_used` grader takes `at_least: <n>` beside `count`: it passes on n or more matching calls (its `args` filter first, as `count`'s do), so "web_search called at least 4 times" holds for a run that searches 5 times. `count` stays exact; a grader gives one of the two, and one that gives both, an `at_least` under 1, or `at_least` with `expect: not_called` is refused in words.
|
|
281
|
+
- monid endpoints priced by usage (per result, per unit, metered, or a matrix or tier with a usage part) can be granted again, by name and through `monid:<provider>/*`. A run's spend cap is a hard stop for everything except the charge of one such call, which can pass its estimate; when it does, the run stops at once.
|
|
282
|
+
- They are pinned at the save like fixed-price endpoints, and the save's `warnings` name each one (`reason` `priced_by_usage`): "monid:<provider>/<endpoint> is priced by usage: monid can't cap what it charges, so a call can cost more than its estimate and more than the run's cap allows." A wildcard no longer leaves them out, and a provider priced only by usage no longer refuses the save.
|
|
283
|
+
- The approval card reads "Priced by usage: monid estimates the cost when the call runs, and can charge more." The run's `pending.price` is `"priced by usage"`. Nothing is sent to monid while the call waits, and nothing at all when it is denied.
|
|
284
|
+
- Each call is held at monid's estimate for its own input, read once the call may run: after the allow, or at once when it needs no ask. AgentRun reads the estimate by sending the call with `maxCost` 0, which monid refuses unrun and uncharged, naming the estimate. It then sends the call with that estimate as `maxCost`. The read is marked at $0 on the run's ledger before it is sent, so a crash while monid holds it leaves the run's cost unknown rather than missing a charge; a read monid refused unrun is given back with no charge row. A call monid estimates at $0 is run by that read (`maxCost` 0 lets a free run through), and its charge is booked under the call. Under a cap, a read that ends with its charge unknown (no answer, or `FAILED` with no cost) stops the run: "monid may have charged for <name> and did not say how much, so this run's cap can't be kept; the run stopped".
|
|
285
|
+
- A charge above the estimate is booked as charged, and the run ends failed with "monid charged $X, more than the $Y held; the run stopped".
|
|
286
|
+
- An endpoint monid has moved to usage pricing since the save is no longer refused per call. It is held at its pinned price and sent with that as `maxCost`, so monid runs it only at an estimate within the price its card showed. A charge above it stops the run as above. A fixed-price call that does not fit the cap is refused before anything is sent to monid, as before.
|
|
287
|
+
- The controls are which endpoints an agent may call: named grants, `monid:<provider>/*`, and deny or ask per tool.
|
|
288
|
+
- A pi run with a desktop or a phone has the host's one `codemode`, as every other run and harness has. A script calls the computer's actions as ordinary tools (`await tools.computer_observe({app})`, `tools.computer_act({app, steps})`), and each is a call of its own: held to the kind's setting, with its own timeline row and its own `computer_calls`. pi's own computer code mode, with its `computer` global, is gone.
|
|
289
|
+
- A script on the host's `codemode` has no `computer` global. The only state that handle kept was the last observed state, and `computer_act` already defaults to it. `computer_script` still binds `computer` for a multi-step script on the computer, on every harness.
|
|
290
|
+
- pi on a desktop or phone whose `surface` is `code` is now offered `computer_script` beside the hand-over, as claude-agent, codex and opencode are. Before, pi's own code mode stood in for it. With `surface` unset or `tools`, pi is offered the same names as before.
|
|
291
|
+
- A deny on `desktop` or `phone` now refuses the computer call a script meets and ends the script there; the calls before it ran. Before, it refused pi's whole script before anything ran.
|
|
292
|
+
- A template eval grades a `codemode` script's call as `codemode` on every harness, beside the calls the script made. Before, it was graded as `desktop`.
|
|
293
|
+
- When a script stops at a call that is waiting, its answer lists each earlier result as the script read it: a JSON object or array as itself, not as an escaped string, and a string value as that string.
|
|
294
|
+
- A tool's image reaches a `codemode` script with its pixels. `image(shot)` shows a screenshot to the model, and a screenshot the script returns is its answer's image. Before, the script got the screenshot without its data, so neither could show the screen. The answer's text never carries the data.
|
|
295
|
+
- A pi desktop run's first request is offered `codemode` beside the computer's tools. Through a gateway its byte bound grows to 11,496 tokens ($0.058 at the cache-write price, was $0.054). The documented minimums stay at $0.12 through a gateway and $0.09 straight to Anthropic. A run a cent under the gateway minimum now parks before its last step, as it does straight to Anthropic, instead of being told to answer without its last screenshot.
|
|
296
|
+
- A template package's trigger can be on or off by a parameter: `enabled: "${parameters.<name>}"`, one placeholder alone naming a boolean parameter with a default. Apply fills it and makes the trigger enabled or disabled by the owner's answer (the default when it is left out), so a package can ship a second schedule the owner opts into, such as a weekly brief behind `weekly: false`. The owner can switch it later as any trigger. Validate refuses any other text in `enabled`, a parameter that is not a boolean, and one with no default, each in its own words.
|
|
297
|
+
- A capped Claude Agent run on a Claude model reached through a gateway (Sonnet 5.5 through OpenRouter) no longer stops at its second step with most of its cap left. The provider's count is asked for only at Anthropic, and no local tokenizer counts Claude, so each request was bounded by its bytes: about four times its tokens. An inbox agent's second request read as about 32,000 tokens, so at a $0.10 cap the step after one that cost $0.01-0.02 "needs at least $0.10" and the run paused, where a real step costs about $0.03. The model proxy now keeps each model's last request whose answer reported its whole input, and bounds a later request that carries it unchanged by that billed input plus the bytes of the messages it adds, when that is lower. That request must match the earlier one in everything that bills input apart from the added messages (system, tools, thinking, effort, model); a moved cache marker (a `cache_control` key on a tool, a system or message content block, or a block of a tool result's content) does not count as a change, and a `cache_control` key anywhere else is compared as text. The wrap-up note is asked for on that bound. A first request, a request that changes its tools or prompt, one that adds a document, or one that offers the hosted search keeps its byte bound, and a step that does not fit is still refused.
|
|
298
|
+
|
|
299
|
+
pi on a Claude model takes the same bound, through the same policy. Through a gateway, the smallest cap that takes a pi desktop run on Sonnet through its four screenshots to its answer goes from $0.12 to $0.09, the same as straight to Anthropic: the run needs $0.082, where it needed $0.110 on its bytes. Its first request keeps its byte bound ($0.052).
|
|
300
|
+
- A capped run on a model whose tokenizer is o200k_base, reached over Messages without Anthropic's count (pi on GPT-6.1 Sol through OpenRouter, sent through serve's translation), bounds each request's input by a local count with its stated margin, as a Responses request to a gateway already does. Before, its bytes were the bound: after a few long pages the body passed 272,000 bytes, every rate was priced at Sol's long-context tier, and a $1.50 run stopped at $0.10-0.27 because the cap refused to send a step it could pay for. A Claude model, a body with a document, or one that offers the hosted search keeps the provider count or the byte bound.
|
|
301
|
+
When a run's cap is below what its model needs for one more step and an answer, the wrap-up's words now say so with both amounts, and the effort the model's request asked for when it named one ("This run's cap of $0.25 is below what gpt-6.1-sol at medium effort needs for one more step and an answer, about $0.32."), so a run that stopped its tools at its first call shows the cap was the cause. The rule that decides when a run wraps up has not changed.
|
|
302
|
+
Saving an agent with a cap below that figure (POST /agents, an edit of its definition, or a package install with a per-run budget) now saves with a warning on `definition.max_cost_usd` ("This agent's cap of $0.25 is below what gpt-6.1-sol at medium effort needs for one more step and an answer, about $0.32: a run will wrap up at its first tool call."). It is never refused. The figure is priced on the first request the agent's harness sends: the harness's own input before the agent's prompt (Codex about 12,200 tokens, from billing; Claude Agent, OpenCode and pi measured on their pinned builds, each stated beside its pin), the agent's prompt where the model's tokenizer is o200k_base, and the least output at the agent's effort, its thinking included: a pi agent on a Claude model that thinks with a budget is priced with Claude's 1,024-token thinking minimum, as its first request asks for it.
|
|
303
|
+
- Signing out of ChatGPT leaves no token alive behind it.
|
|
304
|
+
- `DELETE /settings/chatgpt` answers 200 `{"revoked": boolean}` instead of 204. `revoked` is true when OpenAI confirmed the revocation, or when nothing was signed in (cancelling a waiting sign-in). When it is false, `message` says "Signed out here. OpenAI didn't confirm the revocation: remove AgentRun in your ChatGPT settings."
|
|
305
|
+
- Sign-out removes the row only while it still holds what it read (`SealedKeys.removeIf`), so a renewal that wrote back meanwhile is removed and revoked too. A renewal that finishes after a sign-out, or loses its write back to a new sign-in, revokes the pair it got and never hands it out. Signing in again revokes the sign-in it replaces.
|
|
306
|
+
- The renewal lease is stamped and judged on the store's clock (`SealedKeys.clock`: the database's on Postgres), not each process's own.
|
|
307
|
+
- A claim gets the plan's reader only when its run can reach a `chatgpt/` model: an agent pinned to a key's model runs on the key while signed in and never holds the sign-in.
|
|
308
|
+
- A runner's redaction lists the sign-in's access and refresh tokens each alone, as renewed by any process. The reader prints its state alone (`util.inspect`, JSON), and the revocation goes only to auth.openai.com.
|
|
309
|
+
- A run's pull request checkout is removed from its folder before the run's end is committed, so a run that reads completed never still holds the pull request's code in its folder. Before, the removal ran at the claim's release, after the end, and for that window a finished run's folder kept the checkout. The run's background commands are stopped first, so one still writing under repo/ cannot race the removal, and a removal that fails is tried again at the release instead of being kept as done.
|
|
310
|
+
- The bundled code-review package's per-run cap is $2.00, up from $0.50. On its default model where the fast tier is GPT-6.1 Sol (an OpenRouter key alone), the eight reviewers' first requests, each held at its worst case, filled the $0.50 cap within seconds and parked even a five-line review waiting for a higher cap. Measured on that model, a review of a pull request up to about 400 lines cost $0.16 to $0.90, and $2.00 is about twice the dearest. A run on particle-1 (the `particle` choice) still costs a few cents.
|
|
311
|
+
- A `codemode` script's calls read as part of that script on the run's timeline, and a script can test for a tool with `typeof`.
|
|
312
|
+
- Each call a script or `tools_call` made now names the outer call in `parent_tool_use_id`, on its `tool_use` and `tool_result` rows. Before, only its `<callId>/s<n>` id tied it to the script.
|
|
313
|
+
- In the default timeline view, a `computer_observe` or `computer_act` row previews the app it names, top-level or nested. What an act types is still never shown there, and neither is a script, which can hold it.
|
|
314
|
+
- A learned workflow or a skill read that a script or `tools_call` made still counts as the model's own call in a run's learning path and cost.
|
|
315
|
+
- In a `codemode` script, `tools.missing` now reads `undefined` for a tool the run doesn't have, so `typeof tools.missing` gives `"undefined"` and `"missing" in tools` gives `false`. Before, the read threw. When the script then fails with a TypeError (calling it, say) or with an error naming it, the error gets one more line: "The script read tools.missing, which this run doesn't have. Its tools are: …".
|
|
316
|
+
- On a computer with no `ui` group, a `computer_act` that names an app still brings it to the front first (one `apps.launch`, then the input). Raw input goes to the focused window, and the focus can change without the run seeing it. An act that names no app makes the one input call.
|
|
317
|
+
- Two fixes to how a Codex code-mode `exec` reads on the timeline, and one line in the desktop and phone skills. An exec that ends ok after its call parked on a person's approval and then ran shows its calls' outcomes alone, without "The exec was cut short after these calls (the session stopped)" or a resumed wait's "that cell's script was cut off". The model is still told those words, and an exec that failed still shows them. An exec the run's end closes, because nothing else ended it (the run stopped while its call waited for approval, or a crash whose next claim never resumed Codex's thread), now reads "Using tool: exec interrupted" with no status (`tool_status` null), never failed: a park or a stop failed nothing. A call a crash cut off still reads failed. The skills' "On Codex" paragraph now says Codex's exec has no top-level `return`, so a script's output goes through `text(...)`.
|
|
318
|
+
- Two fixes to how a Codex code-mode `exec` reads after a park or a crash, and one to pi's wording. A Codex exec's end row now sorts after the rows of the calls its script made: a crash leaves the exec open on the run's record, and Codex's recovered answer to it ends it after the resume. An exec whose call parked on a person's approval and then ran reads ok, with the stopped-and-resumed text, as a codemode script that parked reads on pi and claude-agent, never failed. An exec cut off mid-call still reads failed, after its cut call's row. The same holds for an exec that yielded and was finished by the model's pending `wait` on its cell: it reads ok when its parked call was allowed and ran, and failed when that call was refused or the wait was told the script was cut off. A recovered exec's outcome is saved in the session's log before Codex is answered, so a second crash before its end is recorded still ends it as that outcome says. An exec that no answer of Codex's ends (its run stopped while its call waited for approval, or a crash whose next drive never resumed Codex's thread) is closed with the run, "interrupted", after its calls' rows, never left open or shown failed ahead of them. A computer_op refused before it ran is named on the timeline by its op ("Refused: files.write"), never by "computer_op" or by its arguments, on every harness. On pi, a script's call a crash cut off now reads "interrupted: the process running it stopped before it reported an outcome; it may or may not have taken effect", the words claude-agent, opencode and Codex already give it. On Codex, a computer_op answer stays text, because Codex 0.164.0's code mode hands a script one string and never throws on a tool's reply. The desktop and phone kind skills now say how to read it: an op that ran answers JSON to parse, and a refused op answers the gate's words, which open with `Permission denied:` or `The user denied this`, or give the tool's name then `is read-only for this agent, so this call was refused:` or `can't be called:`.
|
|
319
|
+
- Three fixes to codemode's computer calls. A script call a person allowed carries its computer calls on its own result row only, not on its approval and "ran once you allowed it" rows too, so summing a run's rows counts each computer call once. A script rerun after a crash tells a recorded call whose answer has no value (a file write) by its answer's words, as it was answered live, not as `completed: null`. On Codex, a code-mode `exec` has its own rows, and each host tool call its script makes sits under it (`parent_tool_use_id`, the exec's call id), as a codemode script's calls do on pi, claude-agent and opencode; a host lends this through the new optional `SessionIO.ownCalls`. A Codex script that failed reads failed on its exec's row, never `exec: ok`.
|
|
320
|
+
- The 422 for allowing a destructive MCP call without `confirm_destructive` now reads as one sentence that says what to send: "The tool call <id> is one its MCP server marks destructive. To allow it, confirm a second time and send the allow again with confirm_destructive: true." Before, a generated ", e.g. true" was tacked on after the sentence ended. The field's issue still carries `example: true`.
|
|
321
|
+
- A run whose every model request went to a free model (one whose known price is $0 for every token, such as an OpenRouter `:free` model) now costs a known $0 and says why: its usage row reads "Cost: $0 · free model over N model requests", its `cost` and the usage row carry `free: true` (`x-agentrun-serve: "freemodel/1"`), and the console shows "$0 · free model". A request on such a model that failed once it left, was retried or was cut is booked at $0, where it used to make the run's cost unknown ("not priced"). The booking decides it from the model's known price, so a model with no known price still reads unknown and a paid model is unchanged. OpenRouter's routers (`openrouter/auto` and its kin), which its catalog lists at $0 but which bill the routed model, are never free.
|
|
322
|
+
- An email trigger no longer skips mail when its filter or `every_s` is edited while its start is still being taken. The start (made, moved to another mailbox, or turned on again) forgets the old cursor and then waits on the mail server; an edit that landed meanwhile dropped the start's result if it changed any field of the source, so the trigger was left with no cursor, and its first poll started watching from then. Now only an edit of where it reads (`account`, `mailbox`) or turning it off drops that start, and such an edit takes its own; an edit of `accept` or `every_s` keeps it, and the mail after it starts runs.
|
|
323
|
+
- A run's environment line now tells the date in the run's time zone, by weekday, day, month and year, and names the zone (`Today is Sunday 15 November 2026 (America/Los_Angeles).`), where it told the UTC date, a day ahead of the person's in an evening west of UTC. A run a schedule trigger started takes that trigger's zone; every other run takes the server's zone (`TZ`), and a zone the server does not know reads as UTC. The line carries no hour, so it changes once a day and the prompt cache holds within the day. A template eval's clock line to its graders says its date the same way.
|
|
324
|
+
- A template eval's `llm` grader sees each tool call's arguments and the first 8,000 characters of its result, not a 500-character preview: a rubric can check which URL `web_fetch` read (its query included), what a `web_search` or monid call asked for, or the fifth row of a result. Both go through the run's redaction, so a held value or a key-shaped string reads `[redacted]` in the grader's prompt and the report.
|
|
325
|
+
- `GET /runs/{run_id}/timeline?calls=whole` adds `tool_input` (the call's arguments, each string cut at 2,000 characters) to each `tool_use` row and `tool_result_text` (the output's head, to 8,000 characters) to each `tool_result` row. The eval reads its runs this way, and the report's `runs[].calls` carry `arguments` and the longer `result`.
|
|
326
|
+
- The grader's prompt stays under 120,000 characters: past that, the longest results lose their middle first, then the middle calls, and the list says what was cut. The rubric, task and answer are never cut.
|
|
327
|
+
- A `tool_used` grader's `args` now match any tool's calls, not only a faked MCP tool's.
|
|
328
|
+
- A local eval whose shared harness install is already in place still goes through the server's own installer for it, under its hold. What an eval killed part way through that install left beside it is now swept by the next eval, as a server sweeps what is left beside its own install.
|
|
329
|
+
- A local `eval-template` (no `--server`) installs Claude Code and Codex once, not once per eval. The first local eval that needs one installs its pinned version into `$TMPDIR/agentrun-eval-harnesses/harnesses/<harness>@<version>-<platform>` the way a server's first use does (npm into a fresh directory, checked whole, renamed into place, read-only, one installer at a time across processes), and each eval's scratch data directory gets a link to it instead of a copy. A server's own data directory, its first-use install and its "Installing … (first use)" words are unchanged.
|
|
330
|
+
- A template eval's `tool_used` grader can name a monid endpoint (`monid:<provider>/<endpoint>`) that the package's `tools` grants by name, and counts its calls under that name. A monid name the package does not grant by name is refused when the cases are read, and so is one granted only by its provider's wildcard (`monid:<provider>/*`): the wildcard is filled from monid's listing when the agent is saved, so the eval cannot check the name before the run.
|
|
331
|
+
- A run whose runner was lost, and whose next claim then ended before its own computer started, no longer leaves the lost runner's computer running until its deadline. Before, the earlier claim's sandbox (and a Docker computer's egress volume) ran on for up to a day on Docker, or the vendor's lifetime elsewhere, whenever the next claim's image failed, its computer was refused on that runner, a person stopped or cancelled the run, the claim was refused before its computer, or that claim was lost too. Now, when a run is over, the runner deletes every computer any of its claims made, by the run's label. The computer janitor also ends a finished run's computers on its next sweep, without waiting for their deadline. A persistent computer and a paired computer are never deleted.
|
|
332
|
+
- A web_fetch page's `links` now hold the absolute URLs written out in its text, not only its markdown link targets. A page fetched directly that is not HTML lists the URLs in its body; it listed none before. That covers a JSON API, a plain-text file and an XML feed:
|
|
333
|
+
- a JSON body's URLs are read from its string values, so a Statuspage incident's `shortlink` or a search API hit's `url` counts
|
|
334
|
+
- any other body is read with its entities undone once, so an Atom entry's `<link href>` counts, and so does the escaped `<a href="…">` in its content, instead of a garbage link running to the next space
|
|
335
|
+
- a feed's namespace name (`xmlns`) is not a link
|
|
336
|
+
|
|
337
|
+
A page read through Parallel lists the URLs its markdown writes out as well as its link targets. A template eval's web fake gives a faked page the same links. An HTML page fetched directly keeps its link targets alone, as before. The same dedup, fragment removal, caps and `links_cut` count apply.
|
|
338
|
+
|
|
339
|
+
The eval link check matches a cited link from any of those bodies. Two more fixes there:
|
|
340
|
+
- A URL now ends at `|`, so a Slack-style `<https://x|text>` link is cited as `https://x`. A markdown link's target still runs to its `)`, so `[route](https://maps.example/?markers=a|b)` is cited whole, as a page's links read it.
|
|
341
|
+
- A call that is not a web call counts too: its urls are the URLs its result holds, a JSON string that is a URL whole counted whole (a calendar event's `htmlLink`). The check now shows when the answer cites a link and some call returned URLs, not only when the run made a web call. A grader reads only the head of such a result, so a link that matches nothing names a call whose result was cut, as it names a page whose links were cut.
|
|
342
|
+
|
|
343
|
+
Where a URL in text ends, which trailing punctuation is not its own, and where a markdown link's target ends are now one module, `text-urls.ts`. The link check, a page's links and the timeline's scrub all read through it. The scrub keeps going through a `|`, so a query value holding one is still elided whole.
|
|
344
|
+
- A finished look-back or revise round keeps its outcome sentence after a reload. A run's grade now keeps the feedback round it opened: `GET /runs/{id}/learning`'s `graded` is the grade as `PUT /runs/{id}/grade` answered it, without `expected` (`run_id`, `correct`, `source`, `graded_at`, `path`, `workflow`, `workflow_digest`, `feedback`), plus `feedback_status`, how that round stands as the run's journal and the round's steer row say it (never the server's `graded_at` against the runner's `ended_at`): `running`, `ended`, or `not_run` when the reopened run ended before it took the grade's words (its claim refused, say); null for a grade that opened none. The console's Grade control says what came of a grade from the read alone, stays "Reviewing" until the round ended and its learning settled, says "The review could not run." with Grade again for a round that never ran, and reads the learning again on a backoff when a read fails while the round is unsettled. The round is written on the grade only once the run opened again on it: a reopen that fails leaves a grade with `feedback: null`.
|
|
345
|
+
Upgrading: a client reading `graded` gets the PUT's fields; `correct`, `source` and `graded_at` are unchanged.
|
|
346
|
+
- A wrong grade with no words no longer tells the model the verdict twice in each ask. The round's steer carries only the words, else "A right answer holds: {…}", else "(no words)" (the Timeline's "Your grade" row reads the same); the look-back and revise asks each say the verdict once.
|
|
347
|
+
- A server restarted after a crash during a harness install no longer fails the install. A first-use install removes what an earlier install left beside it only when it can: a leftover the crashed server's orphaned npm still writes into (`ENOTEMPTY`), or one with a folder that can't be read, stays while the new install goes on in its own directory. The same holds for the install it replaces, and a failed install whose staging can't be removed reports why npm failed instead of why the staging stayed. What stays is swept later: a server that finds a harness installed (at its start, or when an agent's save or a run looks) removes what earlier installs left beside it, under the install's hold and never while another process installs, so a leftover doesn't stay on the disk once its npm has finished. That npm is never killed by its process id.
|
|
348
|
+
- Hosted computers (Agent37, E2B, Modal, Daytona) take network `open` and an allowlist, so a hosted desktop's browser and a hosted sandbox's `pip`, `npm` and `git` reach the web. Before, every hosted descriptor declared `none` alone: the server's list was narrowed to `none`, and a provider asked for `open` refused it.
|
|
349
|
+
- The tools' network namespace stays loopback alone. Their one way out is an egress proxy that `computerd init` starts before it leaves the machine's network (`--network open` or `--network allow:<list>`). It runs as `nobody`, listens on a Unix socket only root and the tool user's group reach, and init relays `127.0.0.1:3128` to it and sets the proxy variables.
|
|
350
|
+
- The proxy follows the Docker egress proxy's table: public addresses only. It refuses metadata (169.254.169.254 and the other clouds'), private and link-local ranges, loopback (so the vendor's agent on the machine), and the machine's own addresses, with 403 and an `x-egress-refused` header. A list is checked before any lookup, on ports 80 and 443.
|
|
351
|
+
- The machine gets the vendor's egress for it: Agent37 `allow-all`, E2B `allowInternetAccess`, Modal without `blockNetwork`, Daytona without `networkBlockAll`. Under `none`, nothing changes.
|
|
352
|
+
- A descriptor declares only the network forms its computer enforces. A form it doesn't declare is refused in words naming the provider and the choices, such as "Orgo can't limit the network to a list; choose none". Orgo still declares `none` alone: its adapter starts no proxy.
|
|
353
|
+
- Create and `network()` read the network back from inside: nothing answers directly, init's relay answers, and the policy file beside the proxy's socket holds the form the label records.
|
|
354
|
+
- An Archil computer takes `open` or a list too. Its root still mounts the folder outside the tools' network.
|
|
355
|
+
- `places.boxes` lists a Daytona or Modal box as `allowlist` under a host list, not `none`.
|
|
356
|
+
- Breaking: desktops now reach the public web by default; set none or a list to narrow it. This holds for Docker and hosted desktops alike. Under the default `AGENTRUN_BOX_ALLOW` (a sandbox's package-install list, not a browsing policy), a desktop is `open`: public internet only, through its egress proxy. The operator's or the launch's list is its allowlist, and `none` stays none. A sandbox keeps the default list, Orgo stays `none`, and Settings says what a desktop gets.
|
|
357
|
+
- Breaking: a Docker computer on network `open` now reaches public addresses only, through its egress proxy. It no longer reaches the host's LAN, private ranges or metadata. The computer is `--network none`, and its one way out is its own egress proxy container, started with `--open public`. It gets the same refusals as an allowlist: private, loopback, link-local, metadata and the Docker host's own addresses. A computer on Docker's bridge reads back as `other`. `open` is refused where an allowlist is: on a Docker host that remaps user ids, or one this provider doesn't run on, unless `egress.hostAddresses` is given.
|
|
358
|
+
- A host or LAN service isn't reachable from a computer on any network setting, Docker or hosted. An allowlist can't name one. A private address such as `10.0.0.1` isn't a list entry, and a private CIDR such as `10.0.0.0/24` or `192.168.1.0/24` is refused at check. A listed LAN name that resolves to a private address is refused by the proxy.
|
|
359
|
+
- The model picker's free mark (`harnesses[].free_models` in `GET /capabilities`) now uses the kernel's free-model rule, the same one that decides what a run books at $0, so the two cannot disagree. A catalog price tier that leaves out its input or output price is no longer read as $0.
|
|
360
|
+
- A desktop or phone run gets its kind's skill again. The claim read the computer kind from the run's launch, which never carries it, so no run since the store cutover had `.agents/skills/desktop-computer/` or `.agents/skills/phone-computer/`, and a read of either answered ENOENT. Now the kind comes from the agent's computer setting, the one the claim starts the computer from. The skill is laid beside the revision's own skills and named the same way: pi's system prompt lists it, and Codex, Claude Code and OpenCode get it as one of their own skills (or in the prompt, where the harness refuses it).
|
|
361
|
+
|
|
362
|
+
A phone run's refusal and ask now say phone. A computer tool is still held to the stricter of the desktop and phone settings, and the words name the setting that decided the call, which is the run's own kind when both say the same. Before, a phone run with phone set to deny was refused with "Permission denied: desktop is set to deny for this agent.", and its approval was asked as desktop.
|
|
363
|
+
|
|
364
|
+
Naming the skill makes a desktop run's first request larger. Through a gateway, the smallest cap that takes a pi desktop run on Sonnet through five steps goes from $0.11 to $0.12 (the run needs $0.110), and its first request from $0.05 to $0.06. Straight to Anthropic it stays at $0.09. At $0.11 through a gateway the run still answers, but the wrap-up refuses its last screenshot. The serve README's table says so.
|
|
365
|
+
|
|
366
|
+
The phone skill's scroll is now a point scroll on a call with `foreground: true`, because a swipe is the phone's own input and the phone refuses it otherwise. Its script scrolls Settings until About phone shows, then expects "Device name", which is on screen after the press. The old expect, "Android version", is below the fold, so it never showed.
|
|
367
|
+
- A run that answered and lost its runner's claim while looking back (its end-of-run learning turn) now ends completed with its answer. The claim that takes it over no longer runs the open learning turn as the job's turn: that turn is never told the cap's "finish now" note, and a cap refusal of its requests drops the learning as `no_budget` instead of parking the answered run for a raise. The runner beside a server now logs a lost claim and a failed renew in the runner's name, as the `runner` subcommand does.
|
|
368
|
+
A run's status is now how its job's own turn ended: learning spend that takes the run past its cap (its cut requests booked at their worst case included) drops that learning as `no_budget`, the spend still booked, and never fails the run; a compile turn the cap refuses is dropped the same way.
|
|
369
|
+
A run whose job failed (a tool call that faulted on every restart, an answer cut at the model's limit) and that lost its claim during its end-of-run learning now ends failed in the same words after the takeover, never completed: the job's end is kept before the learning starts and the takeover reads it.
|
|
370
|
+
Upgrading: a run that is in its end-of-run learning while its runner is upgraded, and loses its claim there, ends failed ("the end-of-run turn is open, but the job's end was never kept before it"), because the older runner never kept the job's end. Let running learning settle before upgrading a runner.
|
|
371
|
+
- A replay run's learned_workflow call that was rerun after a park and refused before any node ran no longer drops its earlier attempt's guard rows from the run's `metrics.guards`, which threshold refit and promotion replay read, and its timeline row keeps showing the earlier attempt's `learned_nodes` instead of none.
|
|
372
|
+
- A run its learned workflow answered keeps the path `workflow` when the agent restates the workflow's JSON inside prose (a fenced `json` block with words around it), the same as when it restates it bare.
|
|
373
|
+
- The eval link check now treats a host and the same host with `www.` in front as the same, whether the `www.` is on the cited link or on the call's URL. A citation of `https://www.cpsc.gov/x` now matches a call that returned `https://cpsc.gov/x`, and the reverse. Before, it read "no matching call". No other subdomain is dropped, so `m.`, `amp.` and the rest still have to match exactly.
|
|
374
|
+
- The analytics page's top tools name an MCP tool whose `mcp__<server>__<tool>` is longer than 52 characters by its catalog name (`slack · SLACK_FETCH_MESSAGE_THREAD_FROM_A_CONVERSATION`), as its timeline does, not by the hashed name the harness called it. Runs on claude-agent, codex and opencode now count their tool calls there too; their metrics counted none. Runs that ended before this change keep the metrics they stored.
|
|
375
|
+
- An MCP tool whose `mcp__<server>__<tool>` is longer than 52 characters can be granted. Composio's Slack tool for a thread's replies (`mcp:slack/SLACK_FETCH_MESSAGE_THREAD_FROM_A_CONVERSATION`, 58 characters) was refused at the save, so the templates that need it could not be applied. Every harness now calls such a tool by its name cut to 52 characters with a hash of its catalog name, and its timeline rows, settings and approvals still name it `mcp:<server>/<tool>`. Two grants that would be called by one such name are refused, naming both.
|
|
376
|
+
- Learning: a replay, a threshold refit and a serving revision's graded check score their rows with one function (`scoreRows` over refit rows), so the numbers a refit promotes on are the ones a replay would give its new revision. A refit record's `agree` now counts the revision as it serves, its new guard fit included. No API shape changed.
|
|
377
|
+
- OpenRouter runs book what OpenRouter charged; routers need no cap or a read-back cost; a provider's error inside a stream is booked by what it reported.
|
|
378
|
+
- A request on an OpenRouter model is booked at the cost OpenRouter states in the answer's usage (with your own provider key, its fee plus the provider's charge). The price table's figure is kept beside it (`tableUsd`). A cap still holds each request at list price before it leaves. A stated cost that is missing, not a number, or above that hold is not used: the table's figure is booked instead.
|
|
379
|
+
- OpenRouter's routers (`openrouter/auto`, `openrouter/free` and the others) have no price here, because the model they pick is not known in advance. A run with a spend cap is refused before it starts. A run without one is booked at the cost OpenRouter reports, else unknown, never $0.
|
|
380
|
+
- A provider's error inside a successful (200) stream (Anthropic's `overloaded_error`, `api_error` or `rate_limit_error`, OpenRouter's mid-stream errors, a Responses `response.failed`) is booked by one rule. If the stream reported tokens before the error, they are booked at list price, or at the cost OpenRouter stated, and the run's cost stays known: before, such a request was booked at the cap's hold and made the run's cost unknown. If it reported no tokens, it is booked as refused at $0, and the run's record keeps the provider's message (`refusal`, or `providerError` beside a booked figure). That holds only while the model generated nothing: once the stream shows the model began its output (a content block, a Responses output item, hidden reasoning included, or a text-tools model's reply the runner had not sent yet), an error with no usage is booked at an unknown cost, never $0.
|
|
381
|
+
- Kernel: `startModelProxy` books a cost stated in the answer's usage when its origin is OpenRouter's or serve's translation route's (`statesUsageCost`, `ROUTE_ORIGIN`), on every harness: claude-agent, codex and opencode runs on OpenRouter book what OpenRouter charged too. `Ended` gains `tableUsd` on an answer, `{ end: "answered", label: "error", reason }` and `{ end: "nothing", label: "refused", reason }`. `bookRequest` books the table's figure (rule `answered:over_hold`) when a reported figure is above the hold. The claude-agent policy's usage reads a stream that ends in an `error` event as whole. Routers and in-stream errors are handled on those harnesses too.
|
|
382
|
+
- A desktop or phone run that parks for a person (a tool's approval, a cap raise, a question to a person, a learned workflow's park) keeps its computer for 10 minutes. Before, every park let the computer go, so the run resumed on a new machine and lost what the agent had open on the old one. Now the timeline says "The desktop is kept for 10 minutes while you decide.", and an answer within that time resumes the run on the same machine, with its screen, files and programs as they were. After 10 minutes the kept computer is ended, and a later resume gets a new one that says "The desktop wasn't kept: 10 minutes passed." before the usual replaced-computer words. A stop or cancel while parked lets the kept computer go at once. The end at 10 minutes survives a server restart: the computer janitor reads the kept computers and ends each one at its time. An agent's own computer and a paired computer are unchanged; a sandbox is kept the same way (see park-view-sandbox). The desktop and phone skills now say that app ids come from `apps.list`, so the agent calls it before `apps.open`.
|
|
383
|
+
- While a run is parked, its desktop's or phone's live view says what the run waits for and that the computer is kept, never that it ended. Before, a park closed the viewer page with "This computer's session has ended.", and the console's Screen tab said "This desktop has been released.", though the computer was kept for the resume. Now the viewer page says, for example, "Waiting for your approval. The desktop is kept for 10 minutes, until 14:05.", and the console says "Waiting for your approval. The desktop is kept until 14:05." (or "Waiting for your answer.", "Waiting for you to raise the spend cap."), its time from the park's timeline row. After the 10 minutes both say "The desktop wasn't kept: 10 minutes passed. A new one starts when the run goes on." GET /v2/runs/{run_id}/computer answers a parked run's kept desktop or phone as `none` with `session: "closed"`, then `ended` with the timeout's words once that time passes. Take over stays off while parked. A sandbox run's GET /v2/runs/{run_id}/computer now says "A sandbox has no screen: what the agent runs in it is on the timeline.", where it said "this run's agent has no computer".
|
|
384
|
+
|
|
385
|
+
A sandbox run that parks now keeps its sandbox for 10 minutes too, as a desktop's is kept: the timeline says "The sandbox is kept for 10 minutes while you decide.", an answer within that time goes on on the same sandbox ("It's the same sandbox, as the wait left it."), with its files outside the run folder as they were, and one after it gets a new sandbox that says "The sandbox wasn't kept: 10 minutes passed." The computer janitor ends a kept sandbox at its time across a server restart.
|
|
386
|
+
- On pi, a tool call that is already running beside a call waiting for approval now finishes and keeps its result. Before, when one answer from the model made two MCP calls, a read that runs on its own and a write that asks, the run paused on the write at once and cut the read before it reached its server. Once the write was answered, the model was told the read was interrupted and may have partly run, so it ran the read again.
|
|
387
|
+
- The pause now waits up to 30 seconds for the calls already running beside it to end, so their results are kept and the model gets them with the answer to the waiting call. Nothing runs twice.
|
|
388
|
+
- A call that is still running after 30 seconds is cut, as before, and the model is told it was interrupted.
|
|
389
|
+
- No new call starts while the pause waits. One the model made in the same answer is asked about again when the run goes on, and runs then.
|
|
390
|
+
- A cancel or stop while the pause waits ends the run at once.
|
|
391
|
+
- Claude Code, Codex and OpenCode are unchanged: their pause lets the run go at once, and their resume keeps a finished call's result.
|
|
392
|
+
- Learning: a replay scores a graded run graded wrong against its grade, never as a tie. The workflow's answer is right only when it is the grade's expected answer; with none expected, on a run a learned workflow served, at least not the answer graded wrong, and on a run the agent answered, never (both sides wrong). The agent's side is its own grade when it answered the run, and right on a run a learned workflow answered alone. So a revision held on runs it served wrong is promoted again only once its replay answers them right (or hands them back), never by answering them as wrongly again, and never on gains elsewhere: the runs it was held on are also scored alone and must be within the bar. One expected field that is no text (a number, say) now also reads a bare answer.
|
|
393
|
+
- A run that resumes on a new computer says so. After a lost runner or a crash (any kind), or a server stop (a desktop or a phone), the claim that starts a fresh computer for the run adds to its ready line that it's a new one and what was on the old one is gone (in Mode 2, that the run folder is kept). The model's next request carries one server message saying its computer was replaced, once, and a `computer_act` that names a ref or a state the new computer never gave, or a point before the model looked again, is refused in words and never reaches the computer. An agent's own (persistent) computer and a paired one get neither.
|
|
394
|
+
- A sandbox run resumed after a server stop, and any run resumed after a park, is now told its computer is new. Before, only a desktop or a phone was told after a server stop, and a parked run's resume never was. The ready line says "It's a new <kind>: the one before is gone, with what was on it." The model's note names no cause, and it reads by kind: a desktop or phone is told to look at the screen again, and a sandbox to check its files. The note and the cap's wrap-up note now start with "AgentRun server note:". The timeline row still reads "AgentRun: …" with the label only once. The run's journal now records each computer a claim makes, and a later claim reads that record. A run that made its computer before this upgrade has no record, so if it resumes after the upgrade on a new computer, it isn't told.
|
|
395
|
+
- An ended run's cost is one figure, read from its booking, and no run reads as ended without it. `GET /runs/{id}`, the runs list and the stored `cost_usd` of an ended run now read the same sum of its booked requests, paid tool calls and decisions (each request counted once), where the view used to read pi's own price for an answer whose booking had not landed yet. A run's end waits for every booking whose write has begun (bounded at 30 s, with a warning when it gives up) before it writes the end, so the final request's booking is never left behind. The end's cost is read apart from its metrics, so metrics that time out no longer drop the cost.
|
|
396
|
+
A model request cut with no answer and no usage (its runner lost mid-request) under a cap is booked at what the cap held for it, the most it can have cost (`runner.turn` `rule: "cut"`, `atMost: true`), so the run's cost stays known instead of turning unknown. A cost that counts one says so: the run's `cost` and the timeline's usage row carry `upper_bound: true`, the usage row reads "Cost: at most $0.97 over 2 model requests", and the console shows "at most $0.97". A cut with no hold (no cap) or a paid tool call that was cut stays unknown, as before: a paid call's `runner.request` now says `paid: true`, so a later process that books it cut never reads its fee as a bound. A hold is never counted as spend: when another charge leaves the total unknown, `so_far_usd` sums the exact charges only and each request booked at its hold counts in `unpriced`, and `upper_bound` is set only on a known figure. The usage row of a CLI or workflow run, and a pi run's with side requests, now carries `upper_bound` and "at most" the same way. The run row stores the bound beside its cost: a new `cost_upper_bound` column (SQLite: added when the server opens a store, and a runner refuses a store until then; Postgres: migration 0014), which `GET /runs/{id}` and the runs list read as `cost.upper_bound`, so the view, the list and the column always agree on the figure, the bound and an unknown. A stored bound is never read as spend: `GET /usage` counts a run whose stored cost is a bound as a run of unknown cost (in `unpriced_runs`, with only its exact charges in `total_usd` and its lines, by every grouping and meter), and the runner's `run_ended` log line says `cost_usd=unknown` with `cost_usd_at_most` beside it. An end whose cost read fails reads it again (three tries within its 30 s bound) before it stores the cost unknown, and `GET /runs/{id}` of an ended run reads the stored cost, so it never shows a figure the list and the column do not. Learning's figures say no "at most", so they read a bounded run's cost as unknown: a look-back's `look_back_usd` and `job_cost_usd`, a learning batch row's `cost_usd` and `total_usd` (a batch stops `cost_unknown` on one, as before), the cost series, the money rule's all-in cost, and an agent's learning impact (`median_cost_usd`, `cost_runs`).
|
|
397
|
+
A cost marked `upper_bound` (the run's `cost` and the timeline's usage row) now also carries `so_far_usd`, what it is known to have spent with no hold in it, and `unpriced`, how many requests it counts at their hold, so every reader that adds more charges to it keeps the hold apart: a workflow's usage row joined with its decisions, its `GET /runs/{id}` cost while it runs, and its graph's `totals.cost_usd` (which says no "at most", so a sum with a hold in it reads null there). A charged $0.01 beside a $0.25 hold and a decision of unknown cost reads "$0.01 known, 2 not priced", no longer "$0.26 known". The over-cap row says "Spent" of the known spend only; a bound past the cap reads "At most $0.26 spent, at most $0.06 over the run's cap". Breaking: `so_far_usd` and `unpriced` are no longer absent whenever `usd` is known; a client that took their presence to mean an unknown cost checks `usd === null` instead.
|
|
398
|
+
A request billed to a ChatGPT plan costs the run $0 however it ended: one cut by a crash or stopped is booked `rule: "cut"` (or its stop's rule) at $0 with `billing: "plan"`, never unknown, so a plan run's cost no longer blanks when a request is cut. Its `runner.request` says `plan: true`. The stored `cost_usd` and the runs list of a plan run now read the known figure the view already showed.
|
|
399
|
+
A workflow run's stored `cost_usd` is read from its booking by the same rule (`GET /runs/{id}` of an ended workflow run reads it too), no longer from its cap's figures. Breaking: a workflow request stopped while it streamed now leaves the cost unknown, as on an agent run, where it used to store the cap's estimate; a decision cut by a crash counts at its hold as an upper bound.
|
|
400
|
+
- A URL in a timeline row's text (a tool's result and its preview, a page's title, a decision's sources, a note) never shows a query value after an apostrophe. An apostrophe inside a URL (`https://books.example/O'Reilly?token=…`, a query's `q='rust'`) is now part of the URL, so its whole query is scrubbed; one that closes a quote around a URL stays outside it, as a sentence's punctuation does.
|
|
401
|
+
- A server note (the replaced computer's, the spend cap's wrap-up, the free-model limit's wrap-up) now counts as told only once a request carrying it is answered. Before, it counted as told when the request was admitted, so a request that then failed (an upstream 429, an error status, a lost or cut stream, a runner stopped before the answer) took the note with it, and the harness's retry or the resumed run went out without it: the model never saw it. On a route serve translates (OpenRouter's), a provider's error status counts as a failure too: the model proxy now ends a stream that closes on an error event in words with `label: "error"` and the words as its reason (the session record's `providerError`), booked as before. The failed request gives the note back, the retry carries it, and the timeline row is written once, when the note is answered. One request at a time still carries it.
|
|
402
|
+
- Use consistent rounded action controls and a single translucent primary action, and paste clipboard values into the selected secret field while retaining manual entry when clipboard access is unavailable.
|
|
403
|
+
- A run whose turn a person stopped now says so to an API reader: `GET /v2/runs/{run_id}` and its item in `GET /v2/runs` carry `pending: {kind: "stopped"}` beside status `input_required` and state `idle`, so a stopped run no longer reads like one that is stuck. The `run.needs_input` webhook tells that stop with the same kind, once, across a restart too.
|
|
404
|
+
- A person's stop used to reach the webhook as `run.ended` with status `input_required`. It is a wait the run stands at, so it is now `run.needs_input`; `run.ended` comes when the run ends.
|
|
405
|
+
- A turn its harness ended on its own reads the same status and state with `pending` null, and its `run.needs_input` carries no `pending`. It was told as `stopped` before. The webhook's kind is always the run read's `pending.kind`, `computer` included.
|
|
406
|
+
- `agentrun runs wait` says a stopped run was stopped, and says of a run whose turn ended on its own that it ended its turn.
|
|
407
|
+
- Breaking: a reader that took `pending` null with input_required and idle as stopped reads `pending.kind` `stopped`; a webhook receiver that took `run.ended` with status input_required as a stop gets `run.needs_input` with `pending.kind` `stopped`. The generated TypeScript and Python clients gain the kind.
|
|
408
|
+
- A stop that reaches a run while it parks on a tool approval, and whose end the journal refuses, now waits out its retry backoff. The run was released still parked, and a parked run with an untaken stop is claimed at once whatever its backoff, so the end was tried a second time with no wait and the give-up came one try early. The refused end now releases the run running, as every other refused end does: the next claim comes after the backoff, and the tries count one per step (5 s doubling to the 5 min cap).
|
|
409
|
+
- A tool row on a run's timeline carries the call's catalog name (`mcp:notes5/write_note`, `monid:faux/person/enrich`), not the wire name the harness called it by (`mcp__notes5__write_note`). Runs recorded before this show the same names now: the rename is made when the timeline is read.
|
|
410
|
+
- Each harness's facts state their own map from the model's name for a host tool to the host's (`AdapterFacts.hostName`, replacing OpenCode's `toolAlias`), and the tool gate and the meta tools read it instead of stripping prefixes.
|
|
411
|
+
- One conversion turns a host tool into the tool bridge's (`bridgeTool`, from `@parcha/agentrun-kernel/process`); the Claude Agent, Codex and OpenCode adapters each add only what is theirs.
|
|
412
|
+
- A web_fetch or web_search answer now keeps its `links` and still parses after the run's redactor cuts it. The redactor treats any stretch of more than 8,192 characters with no whitespace as `[redacted]`, and it used to run over the answer's whole JSON line. Escaped newlines in that line are not whitespace, so the end of the page text and the whole links array formed one such stretch, and redacting it broke the line's JSON. The grader's link check then found no links in the stored answer and read a cited link from it (a release from a feed) as "no matching call". This happened on both the pi and the CLI harnesses. Each string inside a web call's JSON is now redacted on its own, along with the lines after the JSON, so a held value is still cut. Any other tool's answer is redacted as one text, as before.
|
|
413
|
+
- web_search stops asking a provider that has said no, for as long as the provider asked. If a run's search provider says the run is out of quota (Parallel's or a model provider's 402, Anthropic's billing_error, OpenAI's insufficient_quota), every later web_search call in that run answers "search is unavailable for the rest of this run; answer from what you have", and the provider isn't called again. If it says the run is rate-limited (keyless Exa's free limit, a 429, rate_limit_error, rate_limit_exceeded, or the hosted search's own too_many_requests, even after another search in the same request found results), each call answers "search is busy; try again in N s, or answer from what you have" without calling the provider, until the wait the provider named has passed. That wait comes from Retry-After, in seconds or as a date, is 60 s when the provider names none, and is capped at 15 minutes. When two calls in flight are both rate-limited, the longer wait holds: a shorter one never shrinks it. After it, the next call goes to the provider again. Keyless Exa answers its daily count running out with the same rate limit and no wait, so for keyless Exa alone a second such limit naming no wait, after a wait has passed, in the same run, is read as quota (a 429 with Retry-After is a timed limit and only waits): that call and every later one answer that search is unavailable for the rest of the run. One that comes while the wait is still open (two calls in flight) doesn't count, and a search that succeeds in between resets the count, since a spent daily count limits every call. A quota answer holds even after a wait passes. The timeline shows each held call as a failed search in those words. One run had kept searching 520 times against Exa's limit. The breaker belongs to the run, so another run on the same server searches as before. Other failures leave it closed: a 5xx, a timeout, or Exa refusing the connection.
|
|
414
|
+
- A capped run's wrap-up note now comes due on the same input count its request is admitted by. The model proxy counts a request (the provider's count, or the local count for a model whose tokenizer is o200k_base) before it asks for the note, so the note's least, its step-0 figure and the reserve it is checked against are priced on that count, never on the body's bytes. Before, the note was priced on the bytes while admission read the count: a $2 code review on pi with GPT-6.1 Sol through OpenRouter, whose script call was cut at the output ceiling, sent an answer request past 272,000 bytes that was told to "finish now" with $1.56 left (its least read as about $1.45 at the long-context rate, $0.25 on its count), and it answered with no review; a $1 run was told its budget was "enough for little work" on its first request. The noted request is bounded by that count plus the note's own bytes, and a client that goes while its request is counted no longer takes the note.
|
|
415
|
+
- Every way to run AgentRun (`npx`, Render, Docker, Compose) starts with no model key and ends the same way: Continue with ChatGPT (Settings → Model keys, or the first screen), then run your first agent. A model key stays the other way, beside it.
|
|
416
|
+
- The deployment guide has one copy-paste `docker run` line: the server and a runner on a named volume, a seal key made once in a file beside it, the port on this machine's loopback, no model key.
|
|
417
|
+
- Where Render and Docker are introduced, the docs say that a ChatGPT sign-in is for the person who runs the server, with OpenAI's words on usage, and how to finish it on a server elsewhere: copy the sign-in tab's whole address into the console.
|
|
418
|
+
- The harness table says which harnesses run on a ChatGPT plan (pi and Codex); Claude Code, OpenCode, Jev decisions and paid tools need their own keys. The server's README documents `/v2/settings/chatgpt` and `models.source: "chatgpt"`, what capabilities say of codex and pi with no key (the sign-in, `needs: ["key", "chatgpt"]`), and that a curl call with the owner's session sends the server's `origin` and `content-type: application/json`, a DELETE too (else 401).
|
|
419
|
+
- The setup skill offers "Continue with ChatGPT" or a model key, and leaves the sign-in to the person.
|
|
420
|
+
- A one-page guide for template authors on giving a template tools (`templates/TOOLS.md`): how to declare built-in tools, a Composio toolkit and monid endpoints (`monid:<provider>/<endpoint>`), how to pin a tool's arguments to the owner's parameters, what asks the owner and what runs unasked (Allow reads, a destructive call's second click), and which toolkits are proven live. The templates README's `tools` row says a package grants monid endpoints there.
|
|
421
|
+
The serve README's "Finding and calling the run's tools" now says that a deny of `tools_search` or `tools_call` turns Claude Code's ToolSearch off and lists every tool, that Settings → Tools lists the three, and that a `codemode` script leaves a harness's prefix off a tool's name.
|
|
422
|
+
|
|
423
|
+
## 0.1.0-beta.38 (2026-11-14)
|
|
424
|
+
|
|
425
|
+
- Daytona no longer takes an Archil mount: Archil's client hangs on its sandboxes (its FUSE session never answers a `statx` of the mountpoint), so a create that asks for one waited out its 120 s mount bound. Breaking: Daytona's descriptor declares `mounts: []` and its `capabilities().mount` is `[]`; `check()` and `create()` refuse an Archil mount up front, code `refused`, in the words "Archil mounts don't work on Daytona yet: Archil's client hangs on its sandboxes", before anything is asked of Daytona. `DAYTONA_ARCHIL_EGRESS` is no longer a Daytona key, and `DaytonaProvider` refuses the `archilEgress` option at construction; drop both. In serve, a Mode 2 agent whose computer is a Daytona sandbox, with GPUs or without, is refused at its save and its run's start with those words: pick a Modal or E2B sandbox instead.
|
|
426
|
+
A descriptor may now say why it takes none of a mount kind, `unmounted: { <kind>: "<one sentence>" }` (`Unmounted`, also a `HostFacts` field and `checkMount`'s third parameter); `check()` refuses a mount of that kind in those words, and `defineProvider` refuses an `unmounted` that names a kind `mounts` declares.
|
|
427
|
+
- A template's `parameters` are read, compiled and checked as its `inputs` are: one grammar, one compiler, one required rule. Breaking: a parameter is required unless it says `required: false`, a `default` is allowed only beside `required: false`, and GET /v2/templates serves `parameters` as a closed JSON Schema object (`type`, `additionalProperties: false`, `required`, `properties`) where it served a map of descriptors. A package that left a parameter optional by omitting `required` adds `required: false`; a client that read `parameters.<name>.required` reads `parameters.required` and `parameters.properties.<name>`.
|
|
428
|
+
- Apply fills a blank parameter (absent, or `""`) with its default, then checks the parameters with the run input check, so a refusal reads as a run's: `parameters.topic is required`, `parameters keeps no field tone`, the validator's own words for a bound or a pattern.
|
|
429
|
+
- A parameter takes the `inputs` keys (`title`, `examples`, `minimum`, `maxLength`, …); `cron` and `timezone` are in the one format list. The console's Apply form is the run form: a parameter's `title` is its label.
|
|
430
|
+
- Template packages lose three parts that repeated what the server already does. A package that uses one must drop it.
|
|
431
|
+
- The `schema` grader is gone. Every completed graded run of a package that declares `output` is now held to its output schema by an `output` verdict, so a case no longer needs a `graders/schema.md`. A case that still has one is refused: "type is one of llm, regex, tool_used, file_exists".
|
|
432
|
+
- The `examples/` folder is refused ("a package's folders are skills/, rules/ and evals/"), and GET /v2/templates no longer serves `examples`.
|
|
433
|
+
- The `checks` field in agent.md is refused ("no field checks").
|
|
434
|
+
- The run read (GET /v2/runs/{run_id}) now serves `input`, the run's input as it was started (null when withheld), and `file_ids`, its files. The console's "Run again" resends both, so a run whose message is over 2,000 characters, has typed fields or was given files now starts again whole instead of being refused.
|
|
435
|
+
- A template's `mcp` needs name where their tools come from, `{source: composio | github | url, toolkit, tools, required?, reason?, allow?, pin?}`, never a saved server's name: `server:` is removed, and a package that still has it is refused with the new shape in the message. To upgrade a package, replace `server: <name>` with its `source` and `toolkit` (`source: github, toolkit: github` for GitHub; `source: composio, toolkit: <slug>` for a Composio toolkit, its tools by their action slugs; else `source: url` with the toolkit you will set on the saved server). Inside the package its tools are `mcp:<toolkit>/<tool>`, and an apply's `grants` name them that way.
|
|
436
|
+
- Apply maps each need to the saved MCP server whose recorded source and toolkit are the need's; where several are, the owner picks one with the apply's new `servers` (`{<toolkit>: <server>}`), and an apply with no pick is `422` naming them: a server is never picked for the owner. When the server's name is not the toolkit, apply renames the package's tool names (`mcp:<toolkit>/<tool>` and `mcp:<toolkit>/*`) to `mcp:<server>/...` in the instructions, the skills, the tool settings and the grants. The answer's `servers` says which server each need used, or null. A need with none is not set up here: its warning (or a required one's `409`) says how to add one, for Composio the preset with the toolkit and actions filled in.
|
|
437
|
+
- Each saved MCP server records `source` and `toolkit`, shown by `GET /v2/settings/mcp-servers`, when it is saved and from what made it: the Composio preset records `composio` and its toolkit, a `github_app` server is `github`, any other is `url` with the toolkit its owner sets (`toolkit` in the `PUT`, or Settings → MCP servers). `POST .../oauth/start` takes `toolkit` too, for the server its sign-in saves.
|
|
438
|
+
- A template eval's fake MCP server stands in for the need it fakes: the eval's own server records it as the need's source and toolkit. With `--server`, a case that fakes a `composio` or `github` need fails, saying to run it on the eval's own server.
|
|
439
|
+
- New display fields: `category` (one of engineering, security, sales, marketing, research, finance, operations, compliance, personal) and `tags` (at most 8).
|
|
440
|
+
- The shipped packages say where their tools come from, with a reason each: code-review and release-notes from GitHub, market-monitor's sends and inbound-lead's HubSpot and Slack tools from Composio by their action slugs (`SLACK_SEND_MESSAGE` pinned to the channel; `GMAIL_SEND_EMAIL` to the one address, `cc`, `bcc`, `extra_recipients` and `from_email` held absent). An alias neither listing declares (Slack's `channel_id`, Gmail's `to`) needs no pin: the gate refuses an undeclared argument of a pinned tool.
|
|
441
|
+
- Security: code-review and release-notes pin every GitHub tool, reads too, to the one repository, so a hostile pull request or release body can't have the agent read another repository the GitHub App reaches. Their `repo` parameter is now `owner` and `repo`, and their trigger is held to `<owner>/<repo>`. The free-text searches that can't be pinned are dropped: code-review's `search_code`, release-notes' `search_issues` and `search_pull_requests` (it lists with `list_pull_requests` and `list_issues` instead). Each has an eval case where the body asks for another repository's file.
|
|
442
|
+
- Security: inbound-lead reads nothing from HubSpot. It runs unattended on a form anyone can submit and holds `web_fetch`, so a CRM read could be sent out in a fetched URL. Its one HubSpot tool is `HUBSPOT_CREATE_NOTE`, optional: one note, the fit score in its text, on the contact a HubSpot CRM event's own payload names (with none, it answers with the brief and says why). The contact update and the `crm_score_property` parameter are dropped too, since a pin can't limit which fields an update sets. A package that holds `web_fetch` now lists no MCP read.
|
|
443
|
+
- The console's apply screen shows each need's source, reason and the saved server it will use, a choice where several match, and a link to add one where none does; Settings → MCP servers shows and edits each server's source and toolkit.
|
|
444
|
+
- A tool-call budget is removed: `max_tool_calls` on an agent definition and `budget.tool_calls` in a template manifest are refused as unknown fields, and the `subagent` tool no longer takes `max_tool_calls`. The count only ever held on pi; the run's spend cap and its wrap-up stop a runaway loop on every harness. Put a call count in the instructions and set `per_run_usd` (a template's `budget` is now `{per_run_usd}`, required when `budget` is given).
|
|
445
|
+
- A run's MCP tools are host tools on every harness: each call passes the run's one tool gate before anything is sent, and the runner calls the server with the credential, books the call and records it, as it does any host tool. opencode now runs MCP tools (`features.mcp_client.harnesses` lists it, and an opencode agent granted `mcp:<server>/<tool>` saves and runs). claude-agent offers a granted tool as `mcp__hands__mcp__<server>__<tool>` and codex as `mcp_<server>__<tool>` (Codex refuses a dynamic tool named `mcp__*`); the Timeline, tool settings and approvals still name it `mcp:<server>/<tool>`. A call set to ask on claude-agent, codex or opencode holds the CLI's call while the run waits (no "waits for a person's approval" result row while it is parked); on the person's allow the resumed session gets the call's own result, no `[tool approval]` message. A codex run no longer fails at its start when a granted server can't be reached: the server's error shows at the first call, as on pi. On a code-mode Codex model, a script's tool call held for a person's approval runs once on their allow, under its own call id, and the script's cut-off `exec` reads its result (or, when the `exec` had yielded, the model's `wait` on its cell); before, the resume told the model the call may have run, and the call the model made again asked again, so the allow never reached a call.
|
|
446
|
+
|
|
447
|
+
Who breaks: a run parked on an MCP call at the MCP door before this version does not resume its call: cancel it and start it again. A Codex thread started before this version loses its MCP tools when it resumes (Codex resumes a thread with the dynamic tools it started with): start a new run. Code built on the kernel's MCP door breaks too. Removed: `SessionSpec.mcp`, `SessionMcp`, `McpClient`, `AdapterCapabilities` and `AgentAdapter.capabilities()`, `AdapterFacts.mcp`, `ModelProxyOptions.mcp`, `mcpRoute`, `McpHandler` and `McpRouteOptions` (`@parcha/agentrun-kernel/host`), and `McpCallResult.parked`. Hand a session its MCP tools as host tools in `SessionSpec.tools` instead.
|
|
448
|
+
- An MCP tool's name is held to one rule wherever it is taken: `mcp:<server>/<tool>`, the server's name in lowercase letters, digits and `-` (at most 32, starting with a letter), the tool's in letters, digits, `_` and `-` (at most 64). The tool settings (`PUT /settings/tools`, an agent's `tool_settings`), a learned workflow's call nodes, a template's `mcp` tools and its eval fixtures now refuse a name the grant always refused (a `.` in a tool's name, a tool's name over 64 characters, a server's name with capitals, `_` or `.`), where before they took it and the agent could never be granted it. Who breaks: a settings key or template naming such a tool, which now gets 422 `not_allowed`; rename it to the server's listed name, or drop it, since no run could call it. Composio actions (`GITHUB_CREATE_AN_ISSUE`) are unaffected.
|
|
449
|
+
- A provider-native web search's fee is one constant, `NATIVE_SEARCH_USD` ($0.01, $10 per 1,000), instead of three copies. The price does not change.
|
|
450
|
+
- Kernel: `@parcha/agentrun-kernel/host` exports `NATIVE_SEARCH_USD`. The Claude and Codex proxy policies and the runner's hosted search all read it.
|
|
451
|
+
- `@parcha/agentrun-harness-claude` no longer exports `CLAUDE_WEB_SEARCH_USD`; read `NATIVE_SEARCH_USD` from `@parcha/agentrun-kernel/host`.
|
|
452
|
+
- An agent's desktop or phone can be driven by code alone or by tools alone, and can have no shell: `definition.computer` takes `surface` ("code" or "tools") and `exec` (false).
|
|
453
|
+
- `surface: "code"`: the run gets its harness's script tool (pi's `codemode`, else `computer_script`) and the hand-over, and no `computer_observe`, `computer_act` or `computer_screenshot`. On pi, the `codemode` tool's description declares `computer` then, since no `computer_script` is listed to declare it.
|
|
454
|
+
- `surface: "tools"`: the per-step tools and the hand-over, and no `computer_script` and no pi `codemode`. Absent, both, as before.
|
|
455
|
+
- `exec: false`: the agent's card has no `exec` or `processes` group, so no tool or script has `computer.shell` or `computer.processes` (a script that reaches for one is refused in words), no folder is mounted in the computer, and the run has no `bash` or background tool anywhere, Archil's exec included. The run's own computer channel (`POST /runs/{run_id}/computer/call`) keeps every group.
|
|
456
|
+
- Both are a desktop's or a phone's alone: on another kind, 422 `not_allowed`. GET /agents/{agent_id} shows them.
|
|
457
|
+
- A template parameter may be a list of a scalar, so a scheduled agent's scope (the companies it watches) is set once at apply and reaches each run as typed input.
|
|
458
|
+
- `parameters.<name>` takes `type: array` with `items`, a scalar in the `inputs` vocabulary. Apply checks each item as an input's are, and the console asks one item a line.
|
|
459
|
+
- A trigger's `target.input` value that is one placeholder alone (`"${parameters.companies}"`) takes the parameter's value with its type: a list stays a list, an integer an integer. One whose parameter was given no value, and has no default, is dropped, so the input schema sees the field absent. Before, every placeholder filled as text.
|
|
460
|
+
- In text (instructions, display name, `content`) a list fills as its items joined by `, `, an empty one as `""`. Apply checks the filled `target.input` against the agent's input schema.
|
|
461
|
+
- A pin value that is a list parameter's placeholder alone pins the list as a one-of.
|
|
462
|
+
- An eval case whose `prompt.md` body holds its own `Input:` block is refused: the server writes that block from the case's `input:`.
|
|
463
|
+
- ask_person runs on Claude Code and Codex. A `claude-agent` or `codex` agent granted `ask_person` is no longer refused as pi's (`409 agent_not_runnable` with `details.unbound`, and the save's warning on the tool): the tool is bound as a host tool, its call passes the run's gate like any host tool's, and the run waits on the person as a pi run does. Its turn ends at the question, the run parks `input_required` with the question pending and the row saying "Waiting for your reply", and the person's answer resumes it as its next turn. A stop while it waits ends it stopped. `GET /v2/capabilities` lists every harness for `ask_person`.
|
|
464
|
+
- A learning agent now writes its whole job as a learned workflow in a compile turn, which replaces the ask that came after a skill had served 3 runs. The turn runs at the end of a completed run when the agent has 3 or more active notes or 5 or more completed runs, has no learned workflow active or waiting, and compiled nothing in its last 4 runs. It also runs when a workflow handed the run back, when the money rule stopped one, or when its promotion holds it (its replay on the agent's graded inputs, or its graded runs, fell under the bar); then it asks for that workflow's next version, and a held one's ask carries the replay's numbers. A held workflow is asked once per hold. The model gets the DSL's own author contract with this server's rules, one worked example (an extract step, a judge step when the run has a decision provider, a decide step, and an escalate step for a case the policy does not cover), the agent's notes, and the last 5 runs' tool calls, answers and follow-up messages. Every step gets a guard that starts at threshold 0.7. When the run can call Jev, judgment steps (decide, agent, judge, pick, sift) get `{"signal": "both"}` and extract and call steps get `{"signal": "jev"}`. Otherwise judgment steps get `{"signal": "self"}` and the others get no guard. For an agent with an output schema, the turn shows the schema whole as the shape the workflow's final output must have, and the dry run holds the draft's answer to it the same way a serving run shapes it, so a draft that answers one field where the schema asks for more fails its dry run in the schema's words. The draft goes through the static checks and then a dry run. Whatever they refuse goes back to the model, up to 3 more times.
|
|
465
|
+
Every attempt is recorded. `GET /runs/{id}/learning` now always has `compiled` (the workflow, the notes it absorbed in `from_notes`, `attempts` with each one's `ok` and `errors`, the kept draft's `digest`, and `promoted`: true once its promotion record promotes it or a refit of it, false while held, null until decided; or null) and `draft_errors`, which holds the errors of a draft that never passed. A draft that fails also goes into the run's `problems`. When a compiled workflow merges, each note it absorbed gets `compiled_into: <workflow>` in its front matter and is still served to runs the agent does by hand. A run's own note may not set `compiled_into`. The end-of-run look-back no longer asks for a workflow draft. The DSL's `dryRunWorkflow` takes `onOutput`, handed the workflow's output when the dry run passed.
|
|
466
|
+
- computer-bench has a Linux desktop suite, `suites/linux-desktop`: ten tasks (five dev, five held out) in Mousepad, xfce4-terminal, Thunar and Firefox, two of them across two apps. Every task denies the agent `exec`; checks read the files, git config and server logs the work leaves, and every oracle is keyboard input only. All ten are verified live on E2B Desktop for seeds 1, 2 and 3 (untouched fails, solved passes), and the eight without Thunar on Agent37. Teardown stops only the apps its run started, by the pids setup kept. Setup places the windows with xdotool, puts the pointer on the one that takes the keys and activates it, so the tasks run with a window manager or without one.
|
|
467
|
+
- serve's `--faux` desktop answers `ping`. computer-bench pings the computer after the agent's turn, so every bench run on a faux desktop was scored infra.
|
|
468
|
+
- A pi code-mode script's computer calls are on its `codemode` tool call's result row, as a direct computer tool call's are: one `computer_calls` record per call, each with its own `started_at`.
|
|
469
|
+
- Each record also names the call's `app`, and each `ui.act` step the element it acted on (`on`: its role, and its name as the last observe read it, at most 60 characters), the chord it pressed (`keys`, only a chord with ⌘, ⌃ or ⌥, or named keys alone) and a `nav` place. A typed or set value is never kept. An element's name goes through the run's redaction.
|
|
470
|
+
- Console: a step with computer calls shows how many it made and how many failed; open, each call in words ("select all (⌘A); type into the text box “Pears: 41”"), when it started after the first, and how long it took. `@timeline/computer`'s `callWords` gives the same words to any reader.
|
|
471
|
+
- Breaking: a `computer_calls` record now always carries `started_at`; a reader of the old shape that built its own start time from the row's timestamp reads it from the record instead.
|
|
472
|
+
- An agent can open an app on a Linux desktop. Before, every app an agent started there closed right away, so a person watching the Screen tab on E2B or Agent37 saw a black desktop for the whole run. `computer.shell.run` passes no `DISPLAY`, and its command's guard ends everything the command started, `setsid` and `&` included. Two changes fix this:
|
|
473
|
+
- `computer.processes.start(command, { cwd, env })` (on a computer with the processes group) starts a program that keeps running after the call. That program, and any app a launcher forks, runs until it exits or the computer ends. It answers `{ pid }`. In a run it is held to bash's setting, as `bash_background` is, so a read-only bash policy refuses it.
|
|
474
|
+
- On a desktop whose hello names a display, the surface adds `DISPLAY` to the env of `shell.run` and `processes.start`, under the call's own variables. An app opens where the screen is, and a tool such as `xdotool` finds it.
|
|
475
|
+
- The desktop-computer skill's Linux section says how to open an app.
|
|
476
|
+
- A Linux desktop has the `apps` group, as a Mac does: `computer.apps.open("mousepad")` and `computer.apps.list()` read the same on both.
|
|
477
|
+
- computerd answers `apps.list`, `apps.launch` and `apps.terminate` on its X display. `apps.list` reads the desktop's `.desktop` files. `apps.launch` takes an id, a name or a program, starts the app with `DISPLAY` so it runs on after the call, and answers `{}` once the app's window shows, raised and focused. It answers `timeout` ("no window within 10 s") when none does. `apps.terminate` ends the app and waits until its windows are gone.
|
|
478
|
+
- E2B's and Agent37's desktops start xfwm4 once the display is up (the host fact `HostFacts.windowManager`; Docker's desktops run none), so the apps an agent opens are framed and focused.
|
|
479
|
+
- A desktop's init names its user (`agentrun-tool`) when the image has no passwd entry for it, as E2B Desktop has none, so the session bus xfwm4 needs and a terminal's shell work. A window manager that ends within a second of its start fails create in its own words.
|
|
480
|
+
- The Agent37 box image (`agentrun-box`) adds xfwm4, Xfce's terminal, Mousepad, Firefox ESR and xdotool.
|
|
481
|
+
- The conformance case `apps.launch-terminate` runs on any Linux desktop that lists Mousepad, Xfce's terminal or xterm.
|
|
482
|
+
- A computer step reads in one voice wherever a person sees it: a computer tool call's Timeline row, the step's computer call list in the console, and a Mac movie's caption all come from `@timeline/computer`'s `callWords`, in the plain past tense ("Opened TextEdit", "Selected all (⌘A), typed into the text box “Pears”", "Pressed “Save”", "Could not press “Save”"), the same on a phone, a Linux desktop and a Mac.
|
|
483
|
+
- An app is named as a person knows it: "org.xfce.mousepad" is Mousepad.
|
|
484
|
+
- The console's call list shows a failed call's code beside its words.
|
|
485
|
+
- A `ui.observe` call that names no app is recorded with the app its answer showed, so its row and its call both read "Looked at Settings".
|
|
486
|
+
- A step refused after an act's first three is still said ("…, +1 more, could not press “Save”"), not counted away.
|
|
487
|
+
- Breaking: `computer_act` and `computer_observe` rows no longer show a typed or set text, a click's point or a scroll's direction, and `computer_observe` no longer names the window ("Looked at Settings", not "Looked at Display in Settings"): a row says what the call's record says. `callWords` and `stepWords` answer the past tense ("Opened TextEdit", was "open TextEdit"), and a failed call no longer carries its code in its words.
|
|
488
|
+
- A run on a desktop or a phone reads plainly to the person watching it.
|
|
489
|
+
- The timeline says what the agent did on the computer: "Pressed “Display”", "Typed “dark”", "Went back", "Looked at Display in Settings", "Took a screenshot", a script's title. These replace "Using tool: computer_act". A finished act says only the steps that ran; a refused step reads "Could not press “Save”", and the act reads failed with the step and the reason. Typed or set text shows whole or not at all, and only for a step that names its field when that field is not a secure field; a type with no field of its own reads "Typed text".
|
|
490
|
+
- An act's answer names each step's element as the outline does (`2. press @e31 generic "Display": semantic, verified`), `[secure]` by the element's own flag. An element with no name of its own, such as an Android settings row, takes the name of the first named element inside it. A type with no element names none.
|
|
491
|
+
- While a new computer boots, the timeline says so ("Starting a phone from Phone harness…") instead of staying blank until "The phone is ready".
|
|
492
|
+
- The console's Screen tab sizes a phone to the page's visible height, so the whole phone shows without scrolling. The live view says a hand-back once, in words that name the phone.
|
|
493
|
+
- The console's Learning tab now walks through the self-learning loop. A strip at the top shows five stages: the notes learned, the workflow they compiled into, the run where it took over, how much cheaper runs got, and where it is unsure. Each stage has a state and says what happens next ("1 of 3 notes, 0 of 5 runs: a workflow compiles at 3 notes or 5 runs"). The cost chart marks each promotion record on the run it first affected, with a lettered flag for a new revision, a promotion, a hold or a refit; the flags have a key, a hover and table rows. Replay runs are drawn as hollow rings and left out of the rolling mean. Runs with an unknown path or cost are counted in a chip. The headline gives the server's own before and after with the hand-back rate since the takeover. The learned workflow card says whether each revision is serving, served, refit, held or replaying, with the replay's numbers in one line, and how many replayed inputs were skipped because they need a write the recording doesn't have. It shows each step's guard on the step in the graph ("jev ≥0.70") and lists the guarded steps: how often each handed back, and each run's p split into right, wrong and not graded. A learning feed lists compile turns (the notes that went in, each attempt, and the checks' own words when a draft was refused) next to the promotion records. A note compiled into a workflow says so. New: `GET /agents/{id}/learning/loop` (the agent's compile turns and guarded steps, `agentrun agents get-learning-loop`), and each workflow revision now has a `digest`. Every count is over every run, never only the newest a read lists: the cost summary's `hand_backs` (since the takeover), and each guarded step's `right` and `wrong`; a replay run (its guards read at a record-only threshold) is counted apart in `replays`, never as a served run, and a step only replays ran has a null `threshold`. Each round a follow-up opened lists its own compile turn (`round`), and the cost per run counts every round's look-back and grade. A compile in the feed says Serving only for the revision that serves now, and Stopped when the money rule stopped it running first. A guarded step inside a composed child workflow reads its runs by the runner's `parent/child` name. A step's `grades_past` counts runs whose grade is no longer kept (the agent keeps its newest 500 grades), so an old revision never reads "none graded". An agent that learns notes only is promised no workflow.
|
|
494
|
+
- A saved MCP server's read says why a tool can't be granted, and a failed MCP save says it in the one credential word.
|
|
495
|
+
- Each tool of GET /v2/settings/mcp-servers/{name} (and the save's answer) may carry `grant_problems`: why a grant of it is refused where it would run, in the words the save's 422 says. `*` is a refusal on every harness (its wire name `mcp__<server>__<tool>` is past the 52 characters every harness's tool names share); a harness id is that harness alone, whose own MCP client would drop or retype the tool's schema (claude-agent drops a tool whose schema's root has `anyOf`, `allOf` or `oneOf`). The console renders these words and keeps no rule of its own; it also disables a known meta tool (`grantable: false`) in the picker, with the server's reason.
|
|
496
|
+
- A preview, save or refresh that fails now cuts every credential value and its bare token, of any header scheme (`Basic`, `Token`, `Bearer`), from the server's words, as a run's call already did; before, only a `Bearer` token was cut, and any other scheme's bare token a server echoed was shown. The cut text reads `[redacted]`, where the preview used to say `[credential]`. A credential value of any length is cut (a run's call used to leave one under 8 characters in the server's words).
|
|
497
|
+
- One credential scrubber, one 4 MiB cap on an upstream answer and one SDK client setup now serve the probe and the run's gateway (packages/serve/src/mcp-wire.ts); every MCP read of the registry from the runner and the server goes through the sealed layer (mcp-store.ts).
|
|
498
|
+
- An agent's MCP tools are pinned when the agent is saved, not when a run starts.
|
|
499
|
+
- Saving an agent (POST /agents, PUT /agents/{agent_id}/definition, an inline agent's first run of a version, a template's apply) lists each MCP server it grants a tool of, once, and keeps the granted tools on the new revision as the server listed them: name, title, description, input schema, annotations, and the prices set for them. Every run of that revision calls those tools, whatever the server lists by then. A call the server no longer takes as pinned is the server's to refuse, as before.
|
|
500
|
+
- A save is refused (422, on the tool's field) when a granted server can't be listed right now (`The MCP server <name> could not be listed to pin its tools: ...`), or no longer lists a granted tool (`The MCP server <name> has no tool <tool>; ...`). Nothing is saved: save again once the server answers. Applying a template with a GitHub tool ticked, whose GitHub MCP server runs on the GitHub App's tokens, on a server with no GitHub App connected, is refused this way too (`... This server has no GitHub App: Connect GitHub in Settings.`), and nothing is made; it used to make an agent whose every run was refused when it started. Connect GitHub and apply again. An edit that grants nothing new from a server that can't be listed (its instructions, say) saves, keeping the agent's current pin for that server; only a tool new to that pin, or an agent with no pin yet, is refused. A server that keeps no credential of its own (`per_run`), or an OAuth server whose access token only a run refreshes, and that refuses the listing for its credential, is pinned as its last save or refresh listed it.
|
|
501
|
+
- Saving the agent again re-pins: an unchanged definition saved after a server changed a granted tool is a new revision with the new tools; saved again with nothing changed, no revision.
|
|
502
|
+
- GET /agents/{agent_id} and GET /agents/{agent_id}/revisions show the pin as `mcp_pin`: per server, the pinned tools and their prices (never the server's URL); null when the revision grants no MCP tool.
|
|
503
|
+
- A run no longer lists an MCP server at its first claim. A run of a revision that grants an MCP tool its pin does not hold is refused before it starts (409 agent_not_runnable), and at its claim, saying to save the agent again.
|
|
504
|
+
- A revision saved before this release that grants an MCP tool has no pin yet. Its first run pins it, once, as a save would (two first runs at once agree on one pin), and every later run uses that pin. This holds for an inline agent's (POST /runs) version stored before this release too. Nothing needs saving again. That first pin covers every server the revision grants a tool of, or none: if one of them can't be listed, or is no longer saved here, nothing is pinned, the run is refused (409 agent_not_runnable at its start; a run picked up at its claim fails) and the next run tries again, so saving that server again lets the revision run. A run picked up at its claim lists a GitHub MCP server that runs on the GitHub App's tokens with a token of the run's repository that can only read its metadata, revoked at GitHub once the listing is done.
|
|
505
|
+
- The store upgrades itself in place. On SQLite the server's start adds the revision's pin column and drops the per-run pin table (the schema stays version 11, so the previous release's data directory still opens). Postgres migrates itself (migration 0011). A run that already existed (queued, or followed up later) pins its revision the same way at its next claim; its old per-run pin is not carried over, so it runs on the revision's pin.
|
|
506
|
+
- An agent with an `output_schema` is told the schema, and asked once more when its answer misses it, on every harness (pi, claude-agent, codex, opencode).
|
|
507
|
+
- The runner appends the schema to the run's instructions: "End your final answer with exactly one ```json block that matches this JSON Schema:", then the schema.
|
|
508
|
+
- When the final answer has no json block meeting the schema, the run gets one more turn in the same session, under the same cap: "Your final JSON did not match the output schema: <why>. Reply again, ending with the corrected json block." It is booked like any other turn and shows on the timeline as a server message. There is never a second retry, and a run that is parked or at its cap ends without one.
|
|
509
|
+
- A completed agentic run whose answer still misses the schema serves `result.output: null` with `result.output_error`, why it missed. The TypeScript and Python clients carry the field.
|
|
510
|
+
- The console's Report reads an agentic run's `result.output` with its revision's schema, not the answer's text: a string property marked `contentMediaType: "text/markdown"` renders as a Markdown section, at any depth, and a property's `title` names its field. A run that missed says why above the answer as written.
|
|
511
|
+
- Templates: applying one no longer copies its answer schema beside a skill's SKILL.md, since the runner now gives the agent the schema itself. A template whose skill reads the schema as a file keeps it inside that skill's folder (code-review's `findings.schema.json` is now `skills/review/findings.schema.json`). The bundled templates' report fields (kyb's `report_markdown`, release-notes' `draft_markdown`, code-review's `summary`) are marked `text/markdown`.
|
|
512
|
+
- A pinned call now carries only what it may: a pin can fence an MCP tool's object argument to named keys, and a pinned tool takes only the arguments its listing declares.
|
|
513
|
+
|
|
514
|
+
Object keys. `{"keys": ["hs_lead_score"]}` on a CRM update's `properties` lets an unattended write set that one field and nothing else.
|
|
515
|
+
- The argument, when given, must be an object whose keys are all in the list. Any values are allowed. Leaving it out, or passing `null`, also holds.
|
|
516
|
+
- A call that sets another key is refused before it is sent or asked about, under approvals `never` too, and the model reads `properties keys in (hs_lead_score)`.
|
|
517
|
+
- When the agent's settings and the server's settings both pin the same argument to keys, only the keys in both are allowed. If no key is in both, every call is refused.
|
|
518
|
+
- Templates can fill the keys from parameters (`{keys: ["${parameters.crm_score_property}"]}`). A key whose parameter is not given sets the tool to deny, as an empty pin does today. A key that is a list parameter alone adds each of its items.
|
|
519
|
+
- Tool settings and template packages refuse a malformed keys pin with a message. The console shows a keys pin as "properties may hold only the key hs_lead_score (any value)".
|
|
520
|
+
|
|
521
|
+
Undeclared arguments. Some servers take an alias for an argument their listing never declares: Slack's `channel_id` for `channel`, Gmail's `to` for `recipient_email`. A pin on the declared name could be walked around through the alias.
|
|
522
|
+
- A call of a tool with a pin in either layer may carry only the top-level arguments its listing declares under `properties`, plus its pinned ones. The listing is the one the run pinned when it started, the same one its model is offered.
|
|
523
|
+
- Any other argument is refused before it is sent or asked about, directly, through `tools_call` and from a codemode script, and the model reads "`to` is not an argument of GMAIL_SEND_EMAIL; a pinned tool takes only its listed arguments (recipient_email is pinned)." Templates no longer need to pin aliases to `null` by hand.
|
|
524
|
+
- A listing with no `properties` object closes nothing. Tools with no pin are unchanged.
|
|
525
|
+
- A learned workflow's new draft or revision now serves first only after it is replayed on the agent's last 20 graded inputs and its accuracy there is within 2 points of the agent's on the same inputs. Grade a finished run with `PUT /runs/{id}/grade` (`{"correct": true | false, "expected"?: {...}, "source"?: "feedback" | "eval"}`); the grades the agent's runs carry are the inputs a replay uses. A replay starts one run per graded input the workflow fits, with `metrics.path` `replay` and `metrics.replay: {of, outcome}`, at the workflow's cost, and meanwhile the revision promoted last (the champion) keeps serving, or the agent when none was promoted yet. A replayed input the workflow hands back (it escalated: an escalate node or a guard) counts as the agent's recorded answer for it, never as a failure; one it failed on (a step failed) is no evidence and is left out of the score, and a replay with fewer than 5 inputs answered or handed back holds the revision. A replay run has the agent's tool credentials as a served run does: an MCP server's `per_run` credential is the one the claimed run was handed, sealed for the replay alone. A replay never sends a write: each tool is a read or a write (an MCP tool by its server's annotations, read only when `readOnlyHint` is true and `destructiveHint` is not; the built-ins `web_fetch`, `web_search`, `pdf_pages` and `llm` read; anything else writes). A read runs live once a replay, through a cache seeded from the graded run's recorded calls on the same tool and arguments. A write is answered from the graded run's recording when a call there has the same tool and arguments, else that input is skipped (`metrics.replay.outcome` `skipped_write`, with `skipped: {tool, step}`), neither right, wrong nor failed; a replay whose every input was skipped holds the revision, its reason saying it needs a write the recording doesn't have. A replay run runs only while its revision replays: a superseded, promoted or held revision's replay run, or one whose claim cannot lay its revision, ends failed without asking the agent. A replay's answer is right when it matches the grade's `expected` fields, or when it says what the graded answer said and that answer was right. With fewer than 5 graded inputs it fits, the workflow serves on its passing dry run, as before, and its record says so.
|
|
526
|
+
`GET /agents/{id}/learning/promotions` lists each decision as `{workflow, digest, at, decided: "promote" | "hold" | "replaying" | "superseded", source: "replay" | "dry_run" | "refit" | "graded", reason, replay?: {of, n, agree, agent_acc, wf_acc, delta, handed_back, skipped_write}, runs?, refit?: {from, guards: [{node, was, threshold, fit?}]}, commit?, superseded_by?}` (`commit`: the learning commit holding that revision's workflow.json), and `serving: [{workflow, digest, replaying}]`: which revision serves and which one replays. A held revision never serves; the champion keeps serving, also on inputs the folder's revision no longer takes (a new required field). One revision replays at a time: the newest revision (the one the learning folder's main holds; a run pinned to an older commit never counts as newer) supersedes the one replaying, whose replay runs are cancelled (what they spent stays on them) and whose record says `superseded` with `superseded_by`. A wrong served grade asks for a revision and never stops the champion. Escalation never holds a workflow. Two things do: the money rule, and graded runs it served more than 2 points under the agent's graded runs by hand, checked once per 20 new graded runs it served (each grade carries a sequence number the check counts from, so the check keeps coming once the 500 kept grades are full).
|
|
527
|
+
At that check, and when a replay holds, each guarded step's threshold is refit to the cheapest one that keeps the replay's accuracy within the bar (a hand-back its guard made, whose answer nobody read, counts wrong at a threshold that would have let it through, so a threshold never comes down on no evidence), and a `both` guard's `fit` is refit (a logistic over its self and Jev reads) when it has 30 graded rows with 5 wrong. A refit that moves a threshold commits the workflow as a new revision, promoted on the rows it was fit on; its money-rule count starts over.
|
|
528
|
+
A run its learned workflow answered alone, on a CLI-shaped record, now reads its booked cost on `GET /runs/{id}` (it read `null`).
|
|
529
|
+
Breaking: a learned workflow draft that gives two steps one label (a child workflow's step read `parent/child`) is refused at learn time and before a call, as a saved workflow already was (`DUPLICATE_LABEL`): a label names one step, its guard's threshold, replay score and refit included.
|
|
530
|
+
- A workflow step can carry a guard: `"guard": {"signal": "self" | "jev" | "both", "threshold": 0.7, "question"?: "...", "fit"?: {"w": [...], "b": 0, "n": 0, "fitted_at": "..."}}` on an agent, decide, extract, code, call, workflow, judge, pick or sift node. After the step runs, the host puts p, the chance the step is right, against the threshold. Below it, the run escalates at that step with kind `guard`. `self` reads the step's own confidence: an agent or decide node submits a `confidence` between 0 and 1 beside its record, kept at `<as>$confidence` and never in its value, and a judge, pick or sift node uses its weakest answer's (a sift's, over every item). `jev` asks Jev once about what the step was asked to do (`GuardStepParams.task`: its instructions, a judge or sift's questions, the schema of its `out`, a code node's code, a call's tool or command), its input and its output, each cut to a bounded length; a pick's input is what its judge chose among (its state, the candidates), a sift's its state and the items. `both` puts the two through the guard's fitted logistic, or takes the lower of the two when it has no fit. `validateWorkflow` refuses a bad signal, threshold, question or fit, and refuses `self` on a node that reports no confidence, with a message that says what to write. A host that runs guarded workflows passes `WorkflowDeps.guardStep`; a run without it refuses a guarded workflow before any node runs.
|
|
531
|
+
In a learned workflow's call, a guard below its threshold hands the job back to the agent in the same run. The agent's input carries the trace and one line per guard: its signal, what it read, p and the threshold. Jev runs on the pinned model `jev-1.14.0` as a decision of the run, the way a decision node's is: the run gets the Jev key for a workflow whose guard reads Jev, the gate's setting for `jev` applies, and the call is admitted on the run's cap and counts toward the run's cost. A guard with no signal to read (no Jev key, `jev` set to deny, or a failed Jev call) hands back and never passes. A learning run's `metrics.guards` lists every check as `{node, signal, self?, jev?, p, threshold, escalated}`, including those of a map over more items than the call's trace keeps.
|
|
532
|
+
- A template package can be installed from GitHub: `POST /v2/templates/import {source, dry_run?, trust_publisher?}` reads `github:<owner>/<repo>[/<path>][@<ref>]` (or a `https://github.com/<owner>/<repo>/tree/<ref>/<path>` address), resolves the ref to a full commit SHA first, downloads that commit's tarball from GitHub's hosts alone, and checks the package with the same checker the bundled ones pass. Nothing in it runs.
|
|
533
|
+
- A dry run answers the package whole (its instructions and every skill file) and stores nothing. A stored import is listed by `GET /v2/templates` beside the bundled packages under its own id, `github:<owner>/<repo>[/<path>]`; importing the id again replaces it, and `DELETE /v2/templates/{id}` removes it.
|
|
534
|
+
- The first package from a publisher (the GitHub owner) is stored only with `trust_publisher: true`; the server remembers the trust.
|
|
535
|
+
- A link, a special file, an oversized package or archive, a redirect off GitHub, or a source on another host is refused, storing nothing. The server reads GitHub with its GitHub App's token when it has one, else anonymously, and its rate-limit error says which.
|
|
536
|
+
- Each template in `GET /v2/templates` now has `id`, `bundled`, `source`, `sha` and `publisher`; `POST /v2/templates/{id}/apply` takes the id (a bundled package's id is its name, as before). An agent applied from a template carries `template: {id, version, sha}` (`sha` null for a bundled one).
|
|
537
|
+
- CLI: `agentrun template install <source> [--dry-run] [--trust]` imports one and prints the console page that applies it.
|
|
538
|
+
- Console: an "Add from URL" box on Templates and a `#/templates/install?src=` page that shows the publisher, the commit, the instructions and every skill file before anything is stored, with an "I trust <owner>" tick for a new publisher.
|
|
539
|
+
- The store keeps imported packages in a new `imported_templates` table: on SQLite a server adds it at its open, with no schema version change; on Postgres it is migration 0010.
|
|
540
|
+
- One discovery system. A run lists every tool until its catalog tools (MCP and monid) pass 20; then they are deferred, found with `tools_search` and run with `tools_call`. Under 20 there is no search or call, and Claude Code's own tool search follows the same threshold and gets neither of ours. `codemode`, `tools_search` and `tools_call` each have a tool-settings key (allow by default); a tool set to deny is not offered at all.
|
|
541
|
+
- Every harness (pi, Claude Code, OpenCode and Codex) now offers three host tools over the run's own tools: `tools_search`, `tools_call` and `codemode`. Codex gets the first two and keeps its own code mode. With MCP servers on a Claude Code run, the CLI's own tool search is on.
|
|
542
|
+
- `tools_search {query, limit?}` ranks the run's tools by what they do (BM25 over each tool's description and argument words) and answers each match's name, description and input schema. It lists only tools the run may call: never one set to deny, and never the three tools themselves.
|
|
543
|
+
- `tools_call {name, args}` calls one of the run's tools by name. The call is asked about, recorded and booked as that tool's own call, under `<callId>/call`. An ask parks the run, and once approved the call runs once. A deny refuses it in the gate's words. A call of an unknown name, of `tools_call` itself, of `tools_search` or of `codemode` is refused in words, and nothing runs.
|
|
544
|
+
- `codemode {script}` runs a JavaScript script in a QuickJS sandbox. Its `await tools.<name>(args)` calls are each the run's own call, gated, recorded and booked under `<callId>/s<n>`. The sandbox has the tools and nothing else of the run: no environment, keys, files, network or timers.
|
|
545
|
+
- A call inside a script that needs approval follows Codex's rule. The run parks. Once a person answers, the script runs again: recorded calls answer from their records, the parked call runs once (or is refused), its outcome is the script's answer, and the rest of the script does not run.
|
|
546
|
+
- A call made through `tools_call` or a script answers what a direct call answers: its text and images to the model, and in a script its value (a tool's structured result, else its text). On pi the harness's own tools (an extension's, the browser's) are found and called the same way as the host's.
|
|
547
|
+
- A refused call inside a script ends the script with the refusal's words.
|
|
548
|
+
- After a crash, a call that was cut off is told as possibly done, and it is not run again.
|
|
549
|
+
- A paid call made through `tools_call` or a script books exactly as a direct call does: held before it is sent, under the cap, and settled once. The cap's wrap-up still refuses the model's own next call.
|
|
550
|
+
- The three tools' definitions ride on every model request: about 2,000 bytes, 639 tokens on Sonnet. So the smallest caps the README measures rise. A pi desktop run on Sonnet through a gateway now needs $0.07 for its first request and $0.13 for five steps in `strict` mode, or $0.07 in `expected` mode (it was $0.06, $0.12 and $0.06). Straight to Anthropic, it needs $0.04 for its first request, and five steps still need $0.09 in `strict` mode and $0.06 in `expected` mode.
|
|
551
|
+
- Claude Code: with an MCP server's tools on the run, the CLI runs with `ENABLE_TOOL_SEARCH=true` and its ToolSearch. The run's MCP tools reach the model through `hands` only once ToolSearch finds them, and every other tool of the session loads as before. The session's proxy admits the tool search's beta (`advanced-tool-use-2025-11-20`), ToolSearch and its placeholder. It also admits a `tool_reference` block, inside a tool result only, that names one of the session's own tools. Without MCP tools, all of these stay refused.
|
|
552
|
+
- A server started by `agentrun-serve` (and so by `npx agentrun`) can start a worker thread from a file. The launcher no longer passes Node `--input-type`, which a worker inherits and Node refuses. Before this, a `codemode` script there failed with "--input-type can only be used with string input via --eval, --print, or STDIN", and so did pi's code mode on a desktop or a phone.
|
|
553
|
+
- An agentic agent can take typed run input: `definition.input_schema`, a JSON Schema object, and every run's `input` is checked against it with the full compiler before the run starts.
|
|
554
|
+
- Every path that starts a run checks it the same way: `POST /v2/agents/{id}/runs`, the CLI, the clients, the MCP `runs_start` tool, a trigger (when it is saved and when it fires), a template's trigger at apply, and the console. An input the schema refuses is `422 input_invalid`, one issue per field, by path (`input.country`, `input.topics.1`) and reason (`missing`, `wrong_type`, `not_allowed`, `not_an_option`, `bad_format`, `too_short`, `too_long`, `too_few`, `too_many`, `duplicate`, `invalid`).
|
|
555
|
+
- `content` is always a string. It is required when the schema requires nothing else. An edit that leaves `input_schema` out keeps it. A workflow agent refuses it (its workflow's own input schema is the one in force).
|
|
556
|
+
- The model is sent the input's `content`, then the other fields as one fenced `json` block under the line `Input:`, on pi, claude-agent and codex alike. A value holding backticks gets a longer fence, so no value ends the block.
|
|
557
|
+
- Templates: a package's `inputs:` (the parameter vocabulary plus `title`, `examples`, bounds and lists of a scalar) compile into the agent's `input_schema`, shown on `GET /v2/templates` as `input_schema`. A template's trigger input and each eval case's `input:` front matter are checked against it.
|
|
558
|
+
- The `kyb` template takes its subject as typed input (`company`, and optionally `website`, `country`, `registration_number`, `reason`), matching its report's `subject.input`. An agent applied from it before keeps its own definition. A newly applied one refuses a run without `company`.
|
|
559
|
+
- Console: an agent with an `input_schema` gets a run form drawn from it, with the same field renderer as the template parameter form, and its issues shown on the fields.
|
|
560
|
+
- A template's webhook trigger may filter its deliveries by a parameter, as a github trigger already could.
|
|
561
|
+
- A `${parameters.<name>}` may go in the `in` values of a webhook trigger's `accept` where conditions, and apply fills it. The parameter must be required or have a default, so the filter never fills empty.
|
|
562
|
+
- A provider that sends every trigger of a project to one URL (Composio) then starts a run only for the repository the owner set: `{pointer: /data/repository_name, in: ["${parameters.repo}"]}`. A delivery for another repository is answered `200 {"ok": "ignored"}` and starts nothing.
|
|
563
|
+
- A learning agent now starts a run on its learned workflow before its own model takes a turn, when exactly one active learned workflow fits the run's input. A workflow fits when its input schema has a required field and the run's input passes that schema. If the workflow answers, its answer is the run's answer and the agent's model is never asked. For an agent with an output schema, the answer is shaped to it first: an object output as it is, a one-field output (a bare code or a line of text) as the schema's object with that field, fenced as the answer's json block so `result.output` meets the schema; an output that cannot meet the schema goes back to the agent with the schema's complaint. If it hands back (an `escalate` node holds, a node fails, or its output fails its schema), the same run goes on to the agent, whose first input says which step handed back and why, what the workflow had, and then the job. The run's `metrics` say which path it took: `path` is `workflow`, `handed_back` or `agent`, with `learned_revision`, `workflow` and `workflow_digest`. Its cost includes the workflow's model nodes. A handed-back run's end-of-run turn asks for the workflow's next revision by its name. The reflect prompt asks that a workflow take the run's input as the run is given it, and that its model nodes name tier `fast` unless a step needs the agent's own judgment.
|
|
564
|
+
A handback is an escalation, not a failure, and never stops a workflow from serving. One money rule does: a workflow runs first while its mean all-in cost over its last 10 runs served at its current version (its `workflow_digest`) stays under the agent's cost by hand, the mean all-in cost of the agent's `agent`-path runs (with none, of its runs before the workflow first ran). All-in is the run's `total_usd` on the cost page: its own cost plus every learning round booked for it (look-backs and grades). A run whose all-in cost is unknown is left out of the mean and counted (`unknown_cost_runs` on each workflow), never read as 0. Fewer than 10 such runs, or no by-hand cost at all (said in the log), and it serves. At or over the line it no longer runs first: the agent takes the run, the run's journal keeps why with the two numbers, its end-of-run turn asks for a new version of the workflow, and `GET /agents/{id}/learning/cost` lists it under `workflows` with `state: "needs_revision"` and both means (the console's Cost per run says so). A new version serves again from zero. The rule does not catch a workflow that answers wrong with confidence. The run's `metrics.path` is the one path the agent's cost per run (`GET /agents/{id}/learning/cost`) shows, including for a run whose agent called the learned workflow itself. `learned_workflow` set to ask still parks the run before any node runs. Set `workflow_first: false` on a run to send it to the agent from its first turn.
|
|
565
|
+
A follow-up to a run its workflow answered goes to the agent with the job, the workflow's answer and then the message, and the run's `path` becomes `handed_back`. A follow-up to a served or handed-back run looks back as a learning round of its own, as on any run that learns.
|
|
566
|
+
A learned workflow with a name only a workflow may have (such as `sort_invoice`) gets its revision ask like any other.
|
|
567
|
+
A message sent while the learned workflow runs first waits for it without holding up the run's other commands: a later stop or cancel cuts the workflow at once, and a raise or hand-back reaches the run while it runs. As with any stop, a message sent before it is the run's next turn; a cancel refuses it.
|
|
568
|
+
- A capped run no longer prices a request as if nothing were cached after an approval, a deny, a raise or a smaller request of its own, and a Codex or Claude Code run no longer has a tool call refused with "Budget nearly spent" while the request that asked for it is still streaming and the cap has room for both.
|
|
569
|
+
- The recent requests: the cap keeps the session's answered requests of the last 4 minutes and prices each request from the one on its model with the biggest body no bigger than its own. A smaller request between two of the conversation's own (Codex sends one while a tool runs; a summary, a child's) no longer resets the history, so the conversation's next request stays warm. Before, a $0.50 Codex run's next request after one was priced all fresh, held all that was left, and was told "About $0.43 left of this run's budget: finish now" on a $0.08 job.
|
|
570
|
+
- Resume: the recent requests are kept with the run, so the first request after a new claim is priced from them, warm when they ended under 4 minutes ago and uncached after that, the same rule as inside one claim, on every harness. Before, a $0.15 Codex run paused after a deny with "needs at least $0.22": its next request was priced all fresh.
|
|
571
|
+
- In flight: a CLI harness's request is now sent with the most output whose worst case still leaves the run's wrap-up reserve (one typical step and one least answer) free, so a call it makes mid-response finds room. A $0.50 Codex request that held $0.36 and a $0.12 bound at its whole 32,000-token ask is now sent with fewer tokens, and its call passes. When the request's least and the reserve do not both fit, it is admitted as before, with the most what is left buys, and a call it makes is refused for the reserve as before. pi starts a tool only once its response is complete, so its requests are sized as before.
|
|
572
|
+
- The cap's guarantees are unchanged: no request is held past what is left, a warm price that guesses wrong costs at most the request's bound beyond its hold (as any cache miss under `expected`), every hold settles to what the request cost, and turns sum to the run's cost.
|
|
573
|
+
- Kernel cap (private, not in the package's index): `ModelCapRequest.previous` is `recent` (a list of `RecentRequest`, was `Previous`), `previousOf` on `beforeRequestOf` and `runCap` is `recentOf`, and `previousAfter` is `recentAfter`, with `warmFrom` picking the request a price reads. `JudgeState.keepUsd`, and `keepBackUsd` on `beforeRequestOf` and `runCap`, tell the rule what the host keeps back beside a request.
|
|
574
|
+
- A learning run on a CLI harness (claude-agent, codex, opencode) whose runner died or lost its claim during the end-of-run look-back no longer pays for that look-back twice on the next claim. The next claim settled nothing: it resumed the open look-back as if it were the job's turn, threw its answer away, and then asked the CLI again. Now the open look-back is settled and asked again once, under the run's cap, and a request the earlier attempt sent is booked once at an unknown price. The run's learning also keeps the job's cost and answer time from the first attempt, so the earlier attempt's spend counts as look-back spend instead of job spend.
|
|
575
|
+
A look-back the next claim skips (its spend unknown under a cap, or the cap reached) keeps the job's cost and answer time from the first attempt, its look-back spend unknown rather than missing. A look-back a person stopped no longer makes a later claim settle the follow-up after it: that follow-up's turn is recovered and answered.
|
|
576
|
+
- A computer's `process.start` call reads "Started a process" in the console's call list and a movie's caption, not the raw method name.
|
|
577
|
+
- The live view's bar wraps on a frame as narrow as a phone's on the Screen tab, so who drives ("the agent has the phone") is never clipped at the frame's edge, and Take over stays on one line.
|
|
578
|
+
- The console's Screen tab shows who drives and the first frame when they happen. It used to show them up to 3 s late. It read the run's computer every 3 s, so the header kept saying "Yours after the agent's step" for up to 3 s after the viewer said "you have the computer". A hand-back's answer, read before the run applies it, kept "You drive" up as well. Measured live on E2B and Agent37, the header followed the viewer by 1.6 to 3.3 s. The tab now reads again every 400 ms while a change is on its way: while the screen is being opened, while a take-over waits for the agent's step, and for 4 s after the page's own take-over or hand-back. Otherwise it keeps reading every 3 s. A take-over's or hand-back's answer reaches the tab when it comes, no longer after the run's re-read that follows it. An ask's Done and Cancel stay off once the answer is taken, until that re-read takes the card away.
|
|
579
|
+
- An agent's cost per run (`GET /agents/{id}/learning/cost`, `agentrun learning cost`, the console's Cost per run) now counts only the agent's own runs, and no longer shows a run as the agent's at $0 when its cost and path are not known. A follow-up's end no longer queues a learning run beside a kept learning that names none, so a `<run>-learning` row never shows up in the series as an agent run. A grade's spend stays booked as its run's `learning_usd`, inside the run's all-in cost. A run's end now waits up to 30 s for its cost and path, not 2 s: with eight runs ending at once, some ends were written without them. An end that still gets neither within that bound writes both as unknown (null) and never keeps what an earlier end stored. The series leaves out a run that learns but has no path on its record, and counts it in the new `unknown_path_runs` field. The console says "N runs' path and cost are not known: left out."
|
|
580
|
+
- A desktop with no ui group (E2B's, Agent37's) can be driven by the tools alone, and its first screen no longer reads as broken.
|
|
581
|
+
- `computer_observe` and `computer_act` with `app` open that app, or bring it in front, before the screenshot or the input (apps.launch, as a script's `computer.apps.open` does). A screenshot with no app in front lists the app ids to name. Before, a tools-only agent had no way to open an app there. Such an observe counts as an app opening. While the person holds the desktop it waits, then is not done. After a crash it is not run again.
|
|
582
|
+
- The desktop's background is one slate colour (xsetroot, run before xfwm4), not black. Agent37's desktop recipe (`box/build-agent37.mjs`) adds x11-xserver-utils for it; rebuild `agentrun-box` once.
|
|
583
|
+
- `computer_act` offers no `expect` on a desktop with no ui group, which can't check one: its schema there has none, so a model is no longer offered a wait that is then refused.
|
|
584
|
+
- `GET /v2/runs/{run_id}/computer` on an ended run says `session: "closed"` for its desktop or phone, and for a browser step the run ended under, not `opening`.
|
|
585
|
+
- A provider's label takes its article: "an E2B sandbox", not "a E2B sandbox".
|
|
586
|
+
- A run starts sooner: a runner in the server's process claims a new run as soon as it is queued (it waited up to a second for its next poll), and a run's first claim makes its desktop, phone, sandbox or browser without first asking the vendor to list older computers of the run (there can be none). On a fake desktop the time from the run's start to the vendor's create went from 0.78-0.93 s to 0.07-0.11 s; on a vendor's desktop it also saves that vendor's list round trip.
|
|
587
|
+
- Behind serve's gateway (`AGENT_MODEL_BASE_URL`), pi sends a Claude model on Anthropic's Messages API (`<base>/v1/messages`) instead of OpenAI's Responses API, so its prompt cache works: the second turn of a run reads the prompt from cache, where every turn used to pay full input. Every other model stays on the Responses API.
|
|
588
|
+
- A model is Claude's when its id names Anthropic as its vendor (`anthropic/claude-sonnet-5.5`, or a revision's `anthropic/...` with bare gateway ids), or names no vendor and pi-ai's catalog lists it under Anthropic (`claude-opus-5-5`). The gateway must serve `/v1/messages` beside `/v1/responses`, as LiteLLM's proxy and OpenRouter do; its key goes as a bearer token, as on Responses.
|
|
589
|
+
- Cache reads and writes are booked at the model's own rates (the catalog's, or the 3rd and 4th numbers of `AGENT_MODEL_PRICE`), so the run's cost is the sum of its turns. With `AGENT_MODEL_PRICE` set for a Claude model, give its cache write price (Anthropic's is 1.25 times input): left out, a write is booked at the input price.
|
|
590
|
+
- The same route serves a learned workflow's model nodes and the learning grader on a Claude gateway model. Claude Code, Codex and opencode send as before.
|
|
591
|
+
- The console's template install and Apply screens say what a package does before you take it: each typed run input (its label and name, what it takes, Required or Optional, its description, in the run form's words), its eval cases by name, and on the install screen each MCP need with the reason the template gives and the tools it asks for. A required text field sent empty (`""` where `minLength` asks for more) is now refused as missing (`input.company is required`, reason `missing`), so the run form says "Company is required"; an optional field or a list item keeps its length issue. A source path with a `%` that starts no escape (`github:…/k%ZZb`) is refused by a sentence that names it; a `github:` source takes no percent escape (each is named), since its source is stored and linked as written. An install refusal shows its sentence once.
|
|
592
|
+
- The kyb template's report uses one set of names for its subject: `subject.input` is the run's typed input as the run received it.
|
|
593
|
+
- `subject.input` holds `company`, `website`, `country`, `registration_number` and `reason`, the names of kyb's inputs, with their values as given; a field the run did not get is left out. It held `name` and `domain`, with nulls and a `reason` of `unspecified` filled in by the skill.
|
|
594
|
+
- The kyb skill copies the input block whole; its field-by-field mapping is gone. An agent applied from the earlier kyb keeps the output schema it was applied with.
|
|
595
|
+
- A saved MCP server's credential is sent only to the address it was saved with. Listing a saved server (preview by name, refresh, a first run's pin listing, a save or a sign-in that keeps the saved credential) reads the server, then checks its address and waits for the listing. If the owner saved the server at another address with a new credential during that wait, the new credential could be sent to the old address. Each of these now opens the credential of the server as it read it.
|
|
596
|
+
- In Mode 2 (run folders on an Archil disk), a Modal, E2B or Agent37 sandbox is no longer shown as ready. It needs Archil's image in your own vendor account, which this server can't put there yet, so it failed at its start. Settings → Computers says so, `capabilities.computers` leaves the sandbox out in Mode 2, an agent's save warns in the same words, and a run's start refuses it (409 `agent_not_runnable`) before any computer is made.
|
|
597
|
+
- On Postgres, the store's pool connections are named for their schema in `pg_stat_activity` (`application_name` `agentrun-store:<schema>`), as its lease (`agentrun-store-lease:<schema>`) and owner lock (`agentrun-store-owner:<schema>`) connections are, so an operator can tell which store holds each connection. Before, every pool connection was `agentrun-store`.
|
|
598
|
+
- A learned workflow held because its replay could not run an MCP tool now says which tools and why. Replay runs an MCP tool live only when its server marks it `readOnlyHint: true`; a tool listed with no annotations was treated as a write the graded run's recording lacked, so every input was skipped and the hold read like a data problem ("needs a write the recording doesn't have"). The hold now names those tools: "nothing was replayed on its 20 graded inputs: browse, fetch_page and 2 more have no readOnlyHint, so replay can't run them: if they only read, mark them read-only in the MCP server". A destructive tool or a built-in write keeps the old words. A promotion record's `replay.skipped_tools` lists each tool that stopped an input, how many it stopped, and `no_read_only_hint`. The console's Learning tab says what a promoted workflow was decided on beside its standing ("Serving · replayed 18/20", "Serving · not replayed" for a dry-run promote, which is no longer shown green, "Held · 0 replays answered"), and a replay line names the tools with no readOnlyHint.
|
|
599
|
+
- A capped Codex, OpenCode or pi (on OpenAI's Responses) run's next-step estimate is closer to its real input, so it pauses for a raise later and less often: the input bound counts the text the model reads (a tool's output, a message, a call's arguments) at its own bytes instead of its JSON-escaped ones, some 4 to 6% less on a code-mode body full of fetched pages, which keeps more requests under the 272k-token long-context tier where every rate doubles. On a route straight to OpenAI the input is counted exactly by OpenAI's `POST /v1/responses/input_tokens`, asked with only the credential and account headers and never through a gateway; a count that fails or takes over 3 seconds leaves the byte bound. The cap still never spends past itself: tool definitions and encrypted reasoning keep every byte.
|
|
600
|
+
- The console's Screen tab and run badge read right at a desktop's or a phone's start and end, and a script's refused shell call on a phone says what to do instead.
|
|
601
|
+
- A desktop or phone that was live and is let go at the run's end reads "This desktop has been released." until the run reads as ended, never "Waiting for the desktop".
|
|
602
|
+
- A queued run whose desktop or phone is starting reads Starting, not Queued.
|
|
603
|
+
- The Screen tab has one Take over (and Hand back): the one in its header. The viewer framed there (its fragment says `hands=page`) shows neither, nor a second line of who drives; a phone's bar keeps its back, home and recents buttons. Opened on its own, the viewer keeps its bar.
|
|
604
|
+
- A script's computer call that the agent's settings refuse starts with what could not be done and where ("could not run a shell command on the phone: …"), says why in a person's words, and what to do instead. On a phone that is the phone's screen (`computer.observe`, `computer.act`), never the bash tool, which does not run on a phone.
|
|
605
|
+
- Applying a template grants only the MCP tools the owner ticks. A tool left unticked is not given to the agent at all, so no harness offers it and a call of it is refused before it reaches the MCP server.
|
|
606
|
+
- Before, an apply gave the agent every tool of each saved MCP server the template uses and set only the ticked ones to allow. Under approvals `never`, which four of the five bundled templates default to, the unticked tools then ran unasked too.
|
|
607
|
+
- `never` only skips asking for a tool the agent was granted. To use a tool left unticked, grant it later in the agent's tools.
|
|
608
|
+
- A template's pin on a tool is still written when the tool is unticked, so it holds if the owner grants the tool later.
|
|
609
|
+
- The apply's GitHub App permission warnings name only the tools the owner ticked.
|
|
610
|
+
- The console's apply screen says that an unticked tool is not given to the agent.
|
|
611
|
+
- Under approvals `ask` too, an unticked tool is no longer offered and asked about on each call: it is not granted.
|
|
612
|
+
- An agent applied from a template before this release may still hold every tool of its MCP servers. Review its tools (or apply the template again) and remove the ones you did not mean to grant, above all on an agent set to `never`.
|
|
613
|
+
- A `monid.run` approval card shows its price, on every harness.
|
|
614
|
+
- Before, the card for a `monid.run` call asked for approval with no price, although the call is held at a known figure.
|
|
615
|
+
- The card now shows what the call is held at: the price an `monid.inspect` in the run quoted for that endpoint, else the $1 allowance a run with no quote is held at. It is the same figure the run's cap and ledger count the call at.
|
|
616
|
+
- Other tools' cards are unchanged.
|
|
617
|
+
- Four tool-plane fixes found by a QA walk of the tools.
|
|
618
|
+
- Behavior: a call waiting for your approval whose tool you then set to deny is refused, and the run says why. The record keeps your answer: an allow sent after the deny is taken and kept as the answer the setting overrode. The call's rows read "Not run: its tool is now set to deny on this server", its approval row reads "Denied by the tool's setting on this server", and the outcome reads "You allowed <tool>, but it is now set to deny on this server, so it was not run". Before, the rows said the run had ended while the call waited and the ask was withdrawn, and the allow was never recorded. The refused call ends as an error on every harness, as before.
|
|
619
|
+
- Behavior: Settings → Tools lists each saved MCP server's tools, read from the MCP servers list, with the permissions the server offers for each (allow, ask, deny). The owner sets a server-wide permission for a tool, and choosing its default again removes it. A server's `mcp:<server>/*` wildcard shows as its tools' default. Tools the server offers no permission for (the meta tools) are not listed.
|
|
620
|
+
- Behavior: a call you allowed, or one its setting allowed while it waited, shows what it did and its result like any call once it ran, with "(ran once you allowed it)" or "(ran, as its setting allows it)" after its result. It no longer reads "Held for your approval" after it ran. A declined call still reads "Held for your approval".
|
|
621
|
+
- Behavior: on Claude Code and OpenCode, `tools_call` and `codemode` each have their own row ("Using tool: tools_call", "Ran a script") with their result, as on pi, and the calls they make read after it.
|
|
622
|
+
- Serve's per-process spend engine in `cap.ts` is gone: the run's one ledger (the kernel cap) holds every model request and paid call, so nothing reads the process-wide spend any more. `cap.ts` keeps what the store readers and the refusal words use: the cap modes, `spentFrom`, `meterFiguresFrom`, `money` and the refusal code. No public export changes.
|
|
623
|
+
- A codex or opencode turn cut by a park (a host tool call held for a person's approval) is booked at the usage its provider reported. Before, the park closed the session while that answer was still streaming, its booking was lost, and the next claim booked the turn cut at an unknown price, so the run's cost read `unpriced`. A park now waits for the session's paid requests to be booked before it lets the claim go, as a run's end does (bounded; past the bound the turn is booked cut, and the spend cap counts it at its hold).
|
|
624
|
+
- Three follow-ups to the tools_search / tools_call / codemode rule, found in a live walk.
|
|
625
|
+
- Claude Code now follows the same switch as every other harness. With `tools_search` or `tools_call` set to deny, its own tool search is off and every tool is listed; before, it deferred a run's catalog tools behind its own ToolSearch whatever the setting said. The server makes the one decision (`SessionSpec.deferCatalog`) and Claude Code's adapter obeys it.
|
|
626
|
+
- Settings → Tools lists `tools_search`, `tools_call` and `codemode`, each allow or deny, allow by default. They are in `capabilities.tools` with `meta: true` (no grant: the agent editor does not offer them) and a one-line blurb.
|
|
627
|
+
- codemode's description names real functions of the run (`tools.<name>`, the first three) and says to leave off the prefix a harness shows in the model's own tool list (`hands_`, `mcp__hands__`). On OpenCode a script wrote `tools.hands_mcp__hn__…` five times in five runs and failed.
|
|
628
|
+
- On pi, a script's or `tools_call`'s nested calls now show in the run's timeline, as they do on every other harness. A script now reads a nested call's JSON result as a value.
|
|
629
|
+
- Behavior: on every harness, `codemode` and `tools_call` each have their own row, and each call they make has its own row with its result after it. A nested call that waits for your approval shows its approval row, as a direct call does. On pi the nested calls were missing from the timeline: only the script's row showed. They are now written to the same call records Claude Code, OpenCode and Codex runs write, and those records do not count toward pi's model requests or cost. A nested call still waiting when you stop the run reads "Not run: the run was stopped while it waited", as on the other harnesses.
|
|
630
|
+
- Behavior: in a `codemode` script, a nested call's value is the tool's structured result when it has one. Otherwise, when its result is one text part that parses as a JSON object or array, the value is the parsed object or array. Otherwise it is the text, as before. What the model sees from the call does not change.
|
|
631
|
+
- A paid tool call books on the run's one ledger or is not sent. A `monid.run`, a search or extract through Parallel (`web_search`, `web_fetch`) and a browser call or a person's browser time that find no run's ledger to book their price under are refused unsent, in words that say so (`monid.run was not sent: this call has no run to book its price under.`), as a priced MCP call already was. Before, each of them was sent and booked off the ledger, against a per-process spend count the run's cap never read. Every run the runner drives has a ledger, so its paid calls book and refuse exactly as before.
|
|
632
|
+
A learned workflow's web nodes (`web_search`, `web_fetch`) now book on the run's ledger like the run's own calls: the run's cap holds their price before they are sent and refuses one that would pass it, in the cap's words.
|
|
633
|
+
- A tool this server does not register defaults to ask, not allow; the tool list is one table.
|
|
634
|
+
- Before, a name that was neither a table tool nor a catalog tool (`monid.<tool>`, `mcp:<server>/<tool>`) defaulted to allow in `defaultPermission`. Now only a built-in (a row of the tool list, `learned_workflow`, a computer kind's key, a decision provider's) allows by default and anything else asks. No tool of today's table changes: the capabilities and agent-tools views are the same.
|
|
635
|
+
- `replay`, `blurb`, `host`, `askable` and `table` are fields of each tool's row in `tool-list.ts`; `TABLE_TOOLS`, `ASKABLE`, `REPLAY`, `TOOL_BLURBS`, `webToolNames` and `tool-blurbs.ts` are gone.
|
|
636
|
+
- A trigger's message that reaches a run just as it comes to wait on a person is now delivered after the person's answer, as a turn of its own, whenever it lands. Before, one that reached the runner between the question's turn end and the park (or while the run waited in its claim) was refused and never ran, while its firing still read `sent`.
|
|
637
|
+
- A run's usage row reads the same on every harness, and says what an owner needs to know about its cost.
|
|
638
|
+
- A run that ended says "Cost: …" in the Timeline and the run's view; only a run still going says "Cost so far: …".
|
|
639
|
+
- Claude Code, Codex and OpenCode runs count their tool calls with no price ("; 1 tool call not metered", and `usage.not_metered`), as pi runs did.
|
|
640
|
+
- A model request that failed with no price (a provider's refusal sends none) says on its row that its cost is unknown and the provider may still bill it. Its cost stays unknown, never $0.
|
|
641
|
+
- A capped run on a CLI harness (Codex, Claude Code) prices its next request from the cache its previous request left warm, at admission, for the wrap-up note and for the room it keeps back to answer, so it is no longer told to finish, or refused a tool call, while what is left still buys many of its steps.
|
|
642
|
+
- Before, a CLI's request names its model as its provider does (`openai/gpt-6.1-sol`, `claude-sonnet-5-5`) while the cap prices it under the run's model id (`gpt-6.1-sol`, `anthropic/claude-sonnet-5.5`). The session's previous request was filed under the first and looked up under the second, so every request was priced as if nothing were cached. The note and the reserve never read the previous request at all, on any harness.
|
|
643
|
+
- Example: a Codex run under $0.50 was told to finish with $0.45 left, because its next request was priced at $0.23 all fresh; read from the cache, it needed about $0.05.
|
|
644
|
+
- Admission's rule is unchanged: a request whose least does not fit what is left is refused. A request with no previous one in hand (a run's first, or one after a compaction) is priced uncached, as before. A CLI request on a warm cache is now held at its warm price, as pi's already was.
|
|
645
|
+
- Kernel: `capRequestOf` builds a request as the cap prices it (its model, and the session's previous request when it continues the conversation, looked up by the priced model's id). `RunCap.asked(request)` returns it with the run's own pricing. `beforeRequestOf` uses the same function.
|
|
646
|
+
- The learning batch restart test no longer ends now and then with the batch `stopped: cost_unknown`. Its in-process runner stopped with no drain, so a stop that landed while a row's model request was out cut it, that request's cost stayed unknown for good, and the batch stopped on the row as its cap rule says. The CLI's runner drains at a stop (`--drain-timeout`, 30 s by default), so a turn in flight finishes and is booked; the test's runner now drains the same way.
|
|
647
|
+
- monid is granted per endpoint: `monid:<provider>/<endpoint>` (one endpoint, such as `monid:apollo/people/match`) or `monid:<provider>/*` (every endpoint monid lists for that provider, at most 50). The tools `monid.discover`, `monid.inspect` and `monid.run` are gone: an agent that grants one is refused at its save (422 `not_an_option`), and its owner grants the endpoints it calls instead.
|
|
648
|
+
- Each grant is read against monid's listing when the agent is saved, and pinned on that revision with the endpoint's description, its input schema and its price. A provider or endpoint monid does not list is refused at the save in words, and so is any monid grant saved with no monid key (Settings → Tool keys). An endpoint whose input schema the agent's harness would drop or retype (Codex's `patternProperties` or `not`, for example) is refused at the save as an MCP tool's is, naming the endpoint and the schema's path.
|
|
649
|
+
- Each pinned endpoint is one tool of its own on every harness, under its wire name (`monid:apollo/people/match` is `monid__apollo__people__match`). Its input is `{body, queryParams, pathParams}`, as monid's endpoint takes it.
|
|
650
|
+
- The gate and tool settings key a call by its endpoint (`monid:apollo/people/match`), or by the provider's wildcard (`monid:apollo/*`). A monid endpoint asks by default.
|
|
651
|
+
- A call is held on the run's ledger at the endpoint's pinned price: a per-call price, the dearest variant of a matrix, or a tiered price's default plus every tier. It is sent with that hold as monid's `maxCost`, so an endpoint monid has re-priced above its pin is refused unrun. Its price is read again from monid before each call, and an endpoint monid has re-priced by usage since the save is refused unsent. The approval card shows that hold, and the charge row names the endpoint: "Tool cost: monid charged $0.0260 for monid:apollo/people/match".
|
|
652
|
+
- An endpoint monid prices by usage (per result, per unit, metered) cannot be granted: monid bounds no such call's charge, so no hold could keep a run's cap. A named grant of one is refused at the save, naming the endpoint and why; a provider's wildcard leaves it out and names it in the save's `warnings`.
|
|
653
|
+
- A workflow's nodes do not bind monid endpoints yet: a workflow granting one is refused at its save.
|
|
654
|
+
- Template packages may grant monid endpoints in `tools`, pinned at the apply's save.
|
|
655
|
+
- The console's agent editor grants monid endpoints. The Tools step has a monid row: type `monid:<provider>/<endpoint>` for one endpoint, or `monid:<provider>/*` for every endpoint of a provider that monid prices per call, and Grant. The row checks the name's shape as the server does and says what is wrong before a save; the save still reads monid's listing and prices and is the judge of the rest.
|
|
656
|
+
- An agent's monid grants show on the row, each as a card. Untick one to take it away; it stays on the row to tick again. An edit that does not touch them keeps them.
|
|
657
|
+
- After a save, what the server said of a grant (each endpoint a wildcard leaves out, because monid prices it by usage) shows on the row and above the form, in the server's words. These no longer read as things that keep the revision from running.
|
|
658
|
+
- A save refused at a grant (an endpoint priced by usage, a provider monid does not list, no monid key on the server) shows the server's reason on the row, beside the grant.
|
|
659
|
+
- The agent's page that opens after a create shows the create's warnings in the server's words.
|
|
660
|
+
- `agentrun-serve eval-template` runs its agents with approvals `never`, whatever the package's own `approvals`, so a template whose tools ask by default (a paid data endpoint, say) is measured instead of stopping at its first ask. The package's default is unchanged. The report says how it was measured: `approvals: {measured: "never", package: "ask" | "never"}` in the JSON, and "Measured with approvals never (the package's own default is ask)." in the markdown.
|
|
661
|
+
- A grade is now the way a label reaches a run's learning, and a label never makes the agent answer the job again. `PUT /runs/{id}/grade` takes `label` (the grade's words, up to 4000 characters) and answers `feedback`: a right grade of a run its learned workflow answered alone is kept and nothing more (`null`, no model request, $0); a wrong one opens the run again on a revision ask for that workflow (`revise`): the agent's end-of-run turn alone, told the job, the workflow's answer and the label; a run the agent finished, graded with a `label`, opens again on a look-back on it (`look_back`). Neither round runs a turn of the job's; the label shows on the run's Timeline as the reviewer's message.
|
|
662
|
+
A run's path is who wrote its final answer: a run its learned workflow answered stays `workflow` after a feedback round or a follow-up that ends on the same answer, and turns `handed_back` only when the agent writes a new or changed one.
|
|
663
|
+
The cost per run (`GET /agents/{id}/learning/cost`) counts every round of a run a follow-up or a grade opened again: the job is what the run cost when its first round answered, and everything after it (each later round's turns and every round's look-back) is its `learning_usd`. It read the newest round's look-back alone and counted a follow-up's turn as the job's.
|
|
664
|
+
Upgrading: a client that sent a label as a follow-up message (`POST /runs/{id}/messages`) sends it as the grade's `label` instead.
|
|
665
|
+
- Allow reads: one switch on a saved MCP server lets each of its read-only tools run with no one asked, while its writes keep asking and a destructive call takes a second click to allow.
|
|
666
|
+
- A tool's effect comes from its server's annotations: read when `readOnlyHint` is true; else destructive only when `destructiveHint` is true; else write (no annotations included, which still asks). The MCP spec's default reads a tool with no `destructiveHint` as destructive; this does not, since every tool of a server that annotates nothing would then need two clicks. A saved server's read gives each tool's `effect`, `allow_reads: true` on a tool whose allow is its server's Allow reads, and `fallback_allow_reads: true` on a read-only tool that Allow reads would let run once its own setting is removed.
|
|
667
|
+
- `allow_reads: true` on an MCP server's wildcard (`mcp:<server>/*`) in the server's tool settings (`PUT /settings/tools`) turns it on; `false`, or leaving it out, turns it off. An agent's own tool settings, or any other key, refuse it (422). It never lifts a deny (the server's or the agent's), the agent's own ask, a tool's own setting (`mcp:<server>/<tool>`) or a pin's refusal.
|
|
668
|
+
- Turning Allow reads on releases a read-only call already waiting for approval: the save wakes its run, and the call runs, its approval row reading allowed by the setting. A write waiting beside it keeps waiting.
|
|
669
|
+
- The run's gate reads each tool's effect from what the run pinned when it started, never from a later listing, so a server that marks a tool read-only mid-run widens nothing for that run. An agent's read (`GET /agents/{id}`) gives each MCP tool's permission by the same marks, the ones its revision pinned when it was saved, so it says what that revision's runs do after a refresh changes them.
|
|
670
|
+
- A destructive call's approval carries `destructive: true` in the run's `pending`, and allowing it needs `confirm_destructive: true` beside the decision (without it, 422 on `confirm_destructive`, and the call still waits). A learned workflow's call is marked the same way when its card names a destructive MCP tool, since its one allow lets that tool run. A deny needs nothing more.
|
|
671
|
+
- Console: Settings, MCP servers shows the Allow reads switch on each server, its tools with a read, write or destructive mark and their permission here (an allow by Allow reads reads "allow (allow reads)", never "default"; a read-only tool set to ask there falls back to "allow (allow reads)", so choosing allow removes its own setting instead of saving a permanent allow), and asks a second time before a destructive tool is set to allow, there and in an agent's tool settings. An approval card marks a destructive call, and its Allow once asks again before it sends the allow. Closing either second question (Back, Keep asking or Esc) puts the keyboard back on the control that opened it. A server's tool settings save one change at a time: a destructive tool's allow waits while a save is out, so two saves never write the whole map over each other.
|
|
672
|
+
- A learned workflow's replay records an escalate that reads a judge's field instead of obeying it, and its refit may switch that escalate, or any guard, off. A replay that hands back every input is held: it would never answer alone.
|
|
673
|
+
- In a replay, an `escalate` node whose `when` reads a field of a `judge` node's output (`not` included) no longer stops the run: the workflow goes on to its answer, and the run's guard rows carry the escalate (`signal: "escalate"`, `p` 0 when it fired) so the replay scores it as a hand-back where it fired. Every other escalate stays hard in a replay, and serving obeys every escalate.
|
|
674
|
+
- The refit keeps its rule (the cheapest setting within 2 points of the agent) and now has "off" among its settings: an escalate or a guard that stops right drafts is dropped from the new revision, one that stops wrong drafts stays. It runs when a recorded escalate is the workflow's only switch. The refit record's `guards` say what changed: `{node, was, threshold: null}` for a guard switched off, `{node, was: null, threshold: null, escalate: true}` for an escalate.
|
|
675
|
+
- A replay or refit that handed back every one of its inputs is held, with the reason "it handed back every one of its N replayed inputs: it would never answer alone". The console shows how many inputs it answered alone, counted from the record (`n` - `handed_back`): "replayed 20/20 · 9 alone".
|
|
676
|
+
- DSL: `WorkflowDeps.softEscalate(label)` makes the named escalate record its `escalate.evaluated` event (`soft: true`) and go on instead of handing back; a child workflow's escalate is asked by its `parent/child` label.
|
|
677
|
+
- Four fixes from the computer milestone's QA: the live view keeps moving while an input batch waits, a script on a vendor desktop may start a process, the linux-desktop bench's count-errors and new-note tasks need their apps, and a computer row on the Timeline says what failed in the same voice as the rest.
|
|
678
|
+
- computerd: a watch's look no longer takes the display's hold. `input.actions` holds the display for its whole batch, waits included, so the live view made no frame for a batch's length (0.3 fps through a batch with waits on E2B). A look's requests all have replies, which go to their own waiter, so it never needed the hold.
|
|
679
|
+
- Serve: a `computer_script`'s calls are decided as on the run's computer. The script guard used the run's host-tool gate, whose `computer` flag says where `bash` runs; on a vendor desktop (shell "none" or "local") that gate denies `bash_background`, so `computer.processes.start` was refused while `shell.run` ran. A script's calls always run on the computer, so they now take the computer's defaults: allowed unless the agent's own settings (`bash: ask`, `bash: deny`) say otherwise. A script's `shell.run` on a vendor desktop under approvals "ask", with no `bash` setting, now runs where it was asked before.
|
|
680
|
+
- Bench: `exec: "deny"` takes programs away, not the files group, so both tasks could pass with `files.write` alone. `linux.terminal.count-errors` (version 2) gzips its log, so counting it takes a program, and its probe asks for gzip and zgrep. `linux.editor.new-note` (version 2) also checks that a Mousepad window is titled with the saved file's name, and its instruction says to leave Mousepad open. The report no longer says an exec-deny task's agent "worked through the UI"; it says the agent kept the files group.
|
|
681
|
+
- Timeline: a failed computer row reads "Could not run the script “…”: …", "Could not take a screenshot: …", not "… failed: …". Firefox ESR and Chrome are named "Firefox" and "Chrome". A no-ui `computer_observe` row names each call it made: "Opened Mousepad, took a screenshot, listed the apps".
|
|
682
|
+
- Deleting a Composio preset server in Settings → MCP servers also deletes the MCP server the preset made in your Composio account, using the saved key, so nothing is left behind there. Composio saying it is already gone is fine; if Composio refuses or does not answer, the server is still forgotten here and the answer (`200 {deleted: true, composio: {removed: false, note}}`) and the console say what to remove in Composio yourself. Any other server is deleted as before (204).
|
|
683
|
+
|
|
684
|
+
Saving a Composio server whose picked actions Composio serves none of (HACKERNEWS_GET_FRONTPAGE, say) now answers 422 naming those actions, instead of a bare 424 "Method not found", and the server it made on Composio is removed again. Only the server's own "Method not found" answer says that: Composio's MCP server being down, slow or erroring still answers 424. A preset server whose saved key can't be opened here is still forgotten, and the answer says to remove it in Composio yourself. The Composio server is deleted only after our row's checked removal succeeds, and is the one that row named.
|
|
685
|
+
|
|
686
|
+
The generated TypeScript and Python clients now type an operation that documents 204 beside a 2xx body as the body or nothing (`X | undefined`, `X | None`).
|
|
687
|
+
|
|
688
|
+
Saving a preset server over to another address (an ordinary save with a different URL) makes it that service's server, no longer Composio's: deleting it never sends the key it holds to Composio, whatever the new path looks like, and the delete is an ordinary one (204). The Composio server the preset made stays in your Composio account until you remove it there.
|
|
689
|
+
- A desktop or phone deleted under a live run (through the vendor's own API, say) now reads "This desktop has been released." on the run's Screen tab, and Take over goes. Before, the tab kept reading "LIVE The agent drives" with Take over until the run ended, because the run's viewer stayed registered after its computer was gone.
|
|
690
|
+
- When the viewer's watch ends gone, or can't start because its computer is not found, the runner reads the computer's provider's listing under the computer's own labels (`list`: read-only, and it leaves out a machine that is going). If the computer is not listed (or, for a phone, which is never stopped and kept, is listed stopped: its session closing), the view closes "released": its row is dropped, so `GET /v2/runs/{id}/computer` stops answering `live`. Measured live, the tab read released 2.6 s after the delete on E2B and 14.9 s after it on Agent37 (3.4 s after the computer's not_found, which waits on the 15 s SSH keepalive bound).
|
|
691
|
+
- A stream that ends while the provider still has the computer leaves the view as it is, so the tab still shows the run as live.
|
|
692
|
+
- The Learning tab no longer says "replayed 20/0" for a promotion record that names no replayed runs; it says "replayed 20".
|
|
693
|
+
- In Mode 2, an E2B or Agent37 desktop is no longer shown as ready. Like their sandboxes, it would mount the run's folder and needs Archil's image in your own vendor account, which this server can't put there yet. An E2B desktop failed at its start after a computer was made. Settings → Computers now says so, an agent's save warns in the same words, and a run's start refuses it (409 `agent_not_runnable`) before any computer is made. Orgo's desktop, a phone and a browser mount nothing and run as before.
|
|
694
|
+
- market-monitor's digest header names the window's `from` date on every harness: its skill now has a worked example (fired 2026-11-09 with a lookback of 7, the header reads `2026-11-02 to 2026-11-09`). Before it, a Codex run could start the header at the first day that counts.
|
|
695
|
+
- A long answer through an OpenAI Responses gateway that writes its JSON with spaces is priced, a request that answered while its runner's claim was lost is booked at its cost when the run resumes, and a run whose spend is unknown never reads as a full cap to its learning.
|
|
696
|
+
- Before, the model proxy read a long answer's usage (its terminal event longer than the 64 KiB it keeps) only when the gateway wrote `"usage":{` with no space. A Python gateway (LiteLLM's `json.dumps`) writes `"usage": {`, so such a request was booked at an unknown cost though the harness counted its tokens: the run's cost read unknown with nothing unmetered. pi on the gateway, Codex and OpenCode read the usage the same way and are all fixed. Kernel: `lastObjectOf(text, key)` reads the last `"<key>": {...}` object of a cut answer, whatever its spacing.
|
|
697
|
+
- Before, a runner that lost a run's claim (its lease lapsed while the box stalled) and took the run again in the same process booked a request that had answered meanwhile as cut, at an unknown cost: the lost claim's write of its cost was refused, so the resumed run read the request unanswered. The run's cost read unknown though the request reported its usage on a priced model. Kernel: `SessionWriter.scope` names a session across claims in one process (serve's `journalSessions` sets the run's id beside the key); a booking whose cost write is refused hands it to the next booking of the same scope, whose `bookCut` waits (at most 10 s) for one still in flight and writes it as it would have been written. A request with no price stays unpriced and counts for the cap at its hold. A process that died hands nothing on: its requests are booked cut, as before. A workflow run's model booking now takes them too: its claim books an earlier claim's requests before the workflow resumes, where before it never did, so a workflow's request that answered under a lost claim stayed counted at its hold.
|
|
698
|
+
- Before, a run cancelled or stopped while its model request was being admitted could still send that request: the proxy forwarded it after its client had left, nothing stopped it, and it was booked only once the provider ended it, after the run had ended, so the run read the request as cut at an unknown cost. The proxy now books such a request at nothing (never left) and never sends it, so a run cancelled before any request reached the model costs $0. A request that reached the model and was cut keeps the cut rule: unpriced, counted for the cap at its hold.
|
|
699
|
+
- Before, a capped run whose shown cost was unknown gave its learning grade a cap of $0 ("Not graded: no room under the cap.") and its look-back a reached cap. The grade's cap and the look-back now read the run's spend as its own cap gates read it: an answer with no price counts at the figure the cap held for it, never $0 and never the whole cap. Only when that figure is unknown too, the grade is not queued and says why: "Not graded: this run's spend is unknown, so its budget can't cover the grade."
|
|
700
|
+
- After a grade's feedback round, or a person's follow-up on an ended run, the Timeline shows the round's rows first and then the learning row ("Learned: …"), as it does after a server restart. Before, the live Timeline kept the learning row where it was when the run first ended, above the reviewer's words.
|
|
701
|
+
- The timeline's change log now serves rows in the order the run's rows come in: a row the rows now hold after a row served later than it gets a new `seq`, sent as a change, so a reader from a cursor and a fresh read from `after=0` agree. The usage row still goes last.
|
|
702
|
+
- A call that waited for approval now reads in the order it happened, on every harness: the call, then the "Asked your approval" row, then the call's result, then what came of it. The approval row carries the time the approval was asked (the run's `pending.requested_at`), not the time of the call's result. Before, it sat below the result and carried the result's time.
|
|
703
|
+
- A monid call that monid charges more than the run held for it now stops the run at once. The charge is booked at what monid charged, never the hold; the run makes no further model request or tool call and ends failed with the error "monid charged $X, more than the $Y held; the run stopped"; and the runner logs one error line naming the run, the endpoint and both amounts. A charge at or under the hold behaves as before. monid's maxCost checks only its estimate, so this can happen when monid re-prices an endpoint between the price check and the call.
|
|
704
|
+
|
|
5
705
|
## 0.1.0-beta.37 (2026-11-13)
|
|
6
706
|
|
|
7
707
|
- The `bwrap` box id is removed from the box enum: it was never in a release and always reported itself unavailable. A place of `{ "mode": "sandbox", "box": "bwrap" }` is now a 422 `not_an_option`, and `capabilities.places.boxes` no longer lists it. A client that named `bwrap` picks `docker`, `modal` or `daytona` instead.
|