@parcha/agentrun-serve 0.1.0-beta.45 → 0.1.0-beta.47
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 +180 -0
- package/NOTICE +4 -0
- package/README.md +283 -47
- package/dist/acp-package.d.ts +35 -6
- package/dist/acp-package.js +3 -3
- package/dist/adapter-facts.d.ts +5 -2
- package/dist/adapter-facts.js +6 -3
- package/dist/adapters.d.ts +7 -0
- package/dist/adapters.js +39 -0
- package/dist/agents-store.d.ts +5 -3
- package/dist/agents-store.js +13 -8
- package/dist/api-only.d.ts +7 -10
- package/dist/api-only.js +7 -10
- package/dist/archil-routes.js +2 -1
- package/dist/cap.js +12 -2
- package/dist/chatgpt-plan.js +2 -1
- package/dist/cli.js +119 -44
- package/dist/composio-made.d.ts +19 -2
- package/dist/composio-made.js +17 -5
- package/dist/composio-preset.d.ts +42 -7
- package/dist/composio-preset.js +106 -70
- package/dist/composio-triggers.d.ts +9 -4
- package/dist/composio-triggers.js +20 -13
- package/dist/computer-attach.d.ts +11 -10
- package/dist/computer-attach.js +13 -14
- package/dist/computer-commands.d.ts +3 -0
- package/dist/computer-commands.js +3 -2
- package/dist/computer-lost.d.ts +4 -0
- package/dist/computer-lost.js +8 -3
- package/dist/computer-setting.d.ts +2 -0
- package/dist/computer-setting.js +2 -0
- package/dist/computers.d.ts +9 -75
- package/dist/computers.js +20 -66
- package/dist/console/assets/index-BBFzAxLB.js +715 -0
- package/dist/console/assets/index-BRi-Rgq6.css +1 -0
- package/dist/console/index.html +2 -2
- package/dist/cost-heal.d.ts +13 -0
- package/dist/cost-heal.js +27 -0
- package/dist/dial-relay.d.ts +6 -2
- package/dist/dial-relay.js +9 -12
- package/dist/email/routes.js +2 -1
- package/dist/errors.d.ts +2 -0
- package/dist/errors.js +5 -0
- package/dist/exa-keyless.d.ts +1 -1
- package/dist/exa-keyless.js +1 -1
- package/dist/faux-computers.d.ts +2 -3
- package/dist/faux-computers.js +9 -31
- package/dist/github-connection.js +2 -1
- package/dist/harness-archive.d.ts +19 -2
- package/dist/harness-archive.js +49 -15
- package/dist/harness-check.d.ts +73 -0
- package/dist/harness-check.js +489 -0
- package/dist/harness-cursor.d.ts +45 -0
- package/dist/harness-cursor.js +121 -0
- package/dist/harness-recipe.d.ts +127 -0
- package/dist/harness-recipe.js +357 -0
- package/dist/harness-table.d.ts +12 -0
- package/dist/harness-table.js +62 -2
- package/dist/harness.d.ts +2 -0
- package/dist/harness.js +3 -2
- package/dist/host-check.d.ts +6 -0
- package/dist/host-check.js +14 -0
- package/dist/host.d.ts +10 -3
- package/dist/host.js +17 -3
- package/dist/import-sources.d.ts +2 -0
- package/dist/import-sources.js +2 -0
- package/dist/import-summary.d.ts +15 -5
- package/dist/import-summary.js +24 -8
- package/dist/import.d.ts +34 -4
- package/dist/import.js +134 -32
- package/dist/key-refusal.d.ts +1 -0
- package/dist/key-refusal.js +8 -3
- package/dist/key-words.d.ts +1 -1
- package/dist/key-words.js +4 -4
- package/dist/learn/check.d.ts +3 -0
- package/dist/learn/check.js +31 -20
- package/dist/learn/compile.js +11 -4
- package/dist/learn/promote.d.ts +77 -4
- package/dist/learn/promote.js +123 -2
- package/dist/learned-nodes.d.ts +4 -3
- package/dist/learned-workflow.js +4 -1
- package/dist/learning-cost.d.ts +6 -16
- package/dist/learning-cost.js +6 -12
- package/dist/learning-setting.d.ts +17 -6
- package/dist/learning-setting.js +41 -5
- package/dist/learning-words.d.ts +2 -0
- package/dist/learning-words.js +1 -1
- package/dist/listen-first.d.ts +10 -0
- package/dist/listen-first.js +25 -1
- package/dist/llms.txt +1 -1
- package/dist/mcp-gateway.d.ts +2 -1
- package/dist/mcp-gateway.js +31 -15
- package/dist/mcp-probe.d.ts +18 -6
- package/dist/mcp-probe.js +41 -8
- package/dist/mcp-secret-writes.d.ts +8 -0
- package/dist/mcp-secret-writes.js +104 -4
- package/dist/mcp-servers-store.d.ts +11 -5
- package/dist/mcp-servers-store.js +46 -20
- package/dist/model-form.d.ts +2 -1
- package/dist/model-form.js +22 -8
- package/dist/model-gateway.d.ts +113 -0
- package/dist/model-gateway.js +433 -0
- package/dist/model.d.ts +2 -1
- package/dist/model.js +9 -7
- package/dist/monid.js +1 -1
- package/dist/native/binding.d.ts +4 -0
- package/dist/native/binding.js +9 -0
- package/dist/native/cli.d.ts +3 -2
- package/dist/native/cli.js +6 -5
- package/dist/openapi.d.ts +2 -0
- package/dist/openapi.js +326 -41
- package/dist/owner.d.ts +4 -2
- package/dist/owner.js +10 -4
- package/dist/page.d.ts +8 -0
- package/dist/page.js +9 -1
- package/dist/port-models.js +17 -10
- package/dist/provider.d.ts +3 -3
- package/dist/provider.js +12 -3
- package/dist/public-address.d.ts +28 -0
- package/dist/public-address.js +62 -0
- package/dist/run-launch.d.ts +1 -1
- package/dist/run-launch.js +1 -1
- package/dist/run-secrets.d.ts +3 -2
- package/dist/run-secrets.js +6 -4
- package/dist/runner/adapter-loop.d.ts +10 -7
- package/dist/runner/adapter-loop.js +57 -22
- package/dist/runner/adapter-run-spec.d.ts +12 -0
- package/dist/runner/adapter-run-spec.js +40 -6
- package/dist/runner/adapters/index.js +16 -0
- package/dist/runner/adapters/pi.d.ts +5 -2
- package/dist/runner/adapters/pi.js +7 -4
- package/dist/runner/audit.d.ts +7 -0
- package/dist/runner/audit.js +24 -6
- package/dist/runner/claim-secrets.js +5 -1
- package/dist/runner/cli-run-spec.js +15 -7
- package/dist/runner/compare-end.d.ts +43 -0
- package/dist/runner/compare-end.js +95 -0
- package/dist/runner/computer-journal.d.ts +3 -0
- package/dist/runner/computer-journal.js +22 -2
- package/dist/runner/conformance/harness.js +19 -8
- package/dist/runner/conformance/subject.d.ts +6 -0
- package/dist/runner/harness-loops.d.ts +6 -1
- package/dist/runner/harness-loops.js +94 -54
- package/dist/runner/held.d.ts +5 -4
- package/dist/runner/journal-kinds.d.ts +4 -1
- package/dist/runner/journal-kinds.js +3 -0
- package/dist/runner/loop-contract.d.ts +10 -0
- package/dist/runner/main.d.ts +5 -5
- package/dist/runner/main.js +81 -11
- package/dist/runner/mcp-claim.js +40 -12
- package/dist/runner/metrics.d.ts +26 -0
- package/dist/runner/metrics.js +44 -1
- package/dist/runner/presence.d.ts +41 -0
- package/dist/runner/presence.js +89 -0
- package/dist/runner/promotion.d.ts +10 -3
- package/dist/runner/promotion.js +42 -21
- package/dist/runner/run-child-host.js +52 -14
- package/dist/runner/runner.d.ts +5 -0
- package/dist/runner/runner.js +8 -0
- package/dist/runner/store-port.d.ts +3 -0
- package/dist/runner/store-secrets.js +19 -7
- package/dist/runner/workflow-first.d.ts +5 -2
- package/dist/runner/workflow-first.js +6 -3
- package/dist/runs-over-store.d.ts +6 -2
- package/dist/runs-over-store.js +14 -4
- package/dist/sdk/runs.d.ts +1 -1
- package/dist/sdk/runs.js +6 -1
- package/dist/sdk/schema.js +1 -1
- package/dist/secret-writes.d.ts +16 -3
- package/dist/secret-writes.js +28 -3
- package/dist/server-secrets-store.js +5 -0
- package/dist/server.d.ts +31 -2
- package/dist/server.js +326 -53
- package/dist/sign-ins-secrets.js +4 -1
- package/dist/skills/agentrun-serve/SKILL.md +11 -0
- package/dist/slack-url.d.ts +5 -0
- package/dist/slack-url.js +11 -0
- package/dist/slack.d.ts +107 -0
- package/dist/slack.js +292 -0
- package/dist/start-switches.d.ts +28 -0
- package/dist/start-switches.js +37 -0
- package/dist/stats.d.ts +1 -1
- package/dist/stats.js +2 -1
- package/dist/stop-signals.d.ts +11 -0
- package/dist/stop-signals.js +22 -0
- package/dist/store/agent-body.d.ts +1 -1
- package/dist/store/agent-body.js +2 -2
- package/dist/store/index.d.ts +3 -3
- package/dist/store/index.js +1 -1
- package/dist/store/postgres/migrations/0020_runners.sql +18 -0
- package/dist/store/postgres/store.d.ts +1 -1
- package/dist/store/postgres/store.js +4 -2
- package/dist/store/schema.d.ts +13 -5
- package/dist/store/schema.js +20 -11
- package/dist/store/seal.d.ts +16 -4
- package/dist/store/sqlite/store.d.ts +1 -1
- package/dist/store/sqlite/store.js +106 -27
- package/dist/store/store.d.ts +75 -23
- package/dist/store/store.js +11 -0
- package/dist/store-reads/analytics.js +3 -2
- package/dist/store-reads/cap.d.ts +7 -0
- package/dist/store-reads/cap.js +11 -1
- package/dist/store-reads/journal.js +27 -1
- package/dist/store-reads/learning.d.ts +23 -2
- package/dist/store-reads/learning.js +29 -8
- package/dist/store-reads/runs.d.ts +9 -0
- package/dist/store-reads/runs.js +19 -6
- package/dist/store-reads/stats.d.ts +4 -1
- package/dist/store-reads/stats.js +15 -6
- package/dist/store-view.d.ts +123 -14
- package/dist/store-view.js +154 -21
- package/dist/telemetry.d.ts +7 -7
- package/dist/telemetry.js +38 -15
- package/dist/templates.d.ts +6 -3
- package/dist/templates.js +38 -3
- package/dist/timeline/timeline.js +18 -0
- package/dist/tool-keys-store.js +2 -2
- package/dist/tool-keys.js +2 -1
- package/dist/tool-plane.js +2 -2
- package/dist/trigger-adapter.d.ts +3 -4
- package/dist/trigger-adapter.js +2 -2
- package/dist/trigger-composio.js +3 -3
- package/dist/trigger-email.js +0 -2
- package/dist/trigger-feed.js +0 -2
- package/dist/trigger-schedule.js +3 -0
- package/dist/trigger-secrets-shown.d.ts +6 -3
- package/dist/trigger-secrets-shown.js +22 -13
- package/dist/trigger-targets.d.ts +1 -1
- package/dist/trigger-targets.js +19 -8
- package/dist/triggers.d.ts +7 -3
- package/dist/triggers.js +2 -1
- package/dist/webhooks.d.ts +85 -9
- package/dist/webhooks.js +129 -46
- package/dist/wires.d.ts +6 -1
- package/dist/wires.js +5 -0
- package/dist/workspace/attach.d.ts +3 -2
- package/dist/workspace/attach.js +2 -1
- package/dist/workspace/attached-computers.d.ts +6 -8
- package/dist/workspace/attached-computers.js +27 -24
- package/dist/workspace/computer-deps.d.ts +2 -3
- package/dist/workspace/computer-deps.js +3 -6
- package/dist/workspace/computer-for-claim.js +72 -96
- package/dist/workspace/computer-kept.d.ts +0 -7
- package/dist/workspace/computer-kept.js +0 -17
- package/dist/workspace/resolve-computer.d.ts +18 -14
- package/dist/workspace/resolve-computer.js +47 -60
- package/dist/workspace/synced-folder.d.ts +20 -15
- package/dist/workspace/synced-folder.js +33 -43
- package/launcher/agentrun-serve +4 -1
- package/package.json +10 -10
- package/skills/agentrun-serve/SKILL.md +11 -0
- package/templates/README.md +1 -1
- package/templates/inbound-lead/agent.md +2 -1
- package/templates/kyb/agent.md +2 -1
- package/dist/console/assets/index-3O2Yl6hZ.js +0 -701
- package/dist/console/assets/index-DaFsZuzQ.css +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,186 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## 0.1.0-beta.47 (2026-11-19)
|
|
6
|
+
|
|
7
|
+
**Breaking:**
|
|
8
|
+
|
|
9
|
+
- Daytona no longer offers a desktop on any connect (none ever started: its sandboxes block the tool user's namespaces); `{ kind: "desktop", provider: "daytona" }` is refused with the reason. A descriptor may name the setting kinds it doesn't serve and why (`unserved`). <!-- changes/computer-daytona-no-desktop.md -->
|
|
10
|
+
- Upgrading from 0.1.0-beta.46 or earlier: a run-list row that server cached is not rebuilt for the new `path` and `workflow` fields, so `GET /v2/runs` and `GET /v2/agents/{agent_id}/runs` can show such a run without them until the run changes. `GET /v2/runs/{run_id}` has both. <!-- changes/run-list-rows-not-rebuilt.md -->
|
|
11
|
+
|
|
12
|
+
**Changes:**
|
|
13
|
+
|
|
14
|
+
- `GET /v2/agents/{agent_id}` carries `run_blockers` (this server's own property of the contract's Agent, marked `x-agentrun-serve: "runblockers/1"` in the OpenAPI document, and in the generated client types): what the run's own check would refuse now (`409 agent_not_runnable`), as `{message, fields}`, or null when a run would start. The console's agent page shows each blocker as a warning before Run ("A run of this agent is refused until this is fixed: …"), so an agent that can't run (an agent imported with empty instructions or a model no key here reaches, a harness this server doesn't run, a key a granted tool needs) says why on its page, not only after Run. Native and SDK agents, archived agents, and a revision whose MCP tools its first run would pin read null. The read asks no other service: under the agent's spend cap, an OpenRouter decision model's missing price is named once a save or a start has read OpenRouter's catalog, and a catalog that could not be read is named by the start alone. <!-- changes/agent-page-run-blockers.md -->
|
|
15
|
+
- A Composio preset server saved with `user_id: "per_run"` keeps no account. Each run names one in `mcp_auth.<server>` as `{composio_user_id, connected_account_id?}`, sealed in the run's launch and erased at its end; a binding to the preset's default user `agentrun` is refused `422`. A run that names none has its calls refused unsent. Such a server makes no Composio trigger. <!-- changes/composio-per-run.md -->
|
|
16
|
+
- `PUT /settings/mcp-servers/{name}/composio` takes `price_usd` and `auth_config_id`. `price_usd` prices every granted action at that amount a call, held under the run's cap and booked in `cost.usd` as any priced MCP tool; a re-save that names none keeps the prices. `auth_config_id` (`ac_…`) makes the server and its connect link against an auth config you already have, read first and never deleted; its triggers run as an account under that config. A server saved before this keeps the managed config's link. <!-- changes/composio-save-options.md -->
|
|
17
|
+
- A smol cloud provider: `providerFor("smolcloud", { apiKey })` makes each computer a smol cloud machine, a microVM booted from an OCI image (by default the box image, which its `prepareImage()` answers), as a sandbox. It is a `MachineHost` on the shared adapter: `src/smolcloud.ts` calls smol cloud's REST API with `fetch`, and the daemon runs as a child of a resumable interactive exec, its output read by offset and its stdin sent as numbered frames. The daemon is uploaded through the files API. Network none, open and a list are init's. Its lifetime is the janitor's, by the deadline label; the idle stop is off and smol cloud's delete timer ends every machine at the adapter's backstop. Machines are named `agr-<computer name>` and placed on amd64 nodes. No mount and no desktop yet: smol cloud binds each machine's storage disk at `/workspace`, so the run's folder is not a synced folder there. Settings takes `SMOLCLOUD_API_KEY`. `AGENTRUN_COMPUTER_LIVE_SMOLCLOUD=1 COMPUTER_SMOLCLOUD_API_KEY=... npm run conformance -w @parcha/agentrun-computer -- --provider smolcloud` runs the conformance kit on real smol cloud, and `sweep.js --provider smolcloud` checks it left nothing behind. The shared REST client takes a raw body (`bytes`) for an upload. <!-- changes/computer-smolcloud-provider.md -->
|
|
18
|
+
- `GET /v2/computers` lists each kind's `settings`: the fields an agent's computer of that kind may set beside its kind and provider. The console's Computer step reads what a kind takes from it. <!-- changes/computers-kind-settings.md -->
|
|
19
|
+
- A model gateway can be saved in the console: Settings → Model keys → **Use a model gateway** takes the address of a LiteLLM or other OpenAI-compatible proxy you already run, its key (optional), how it takes model ids, and the default model of each tier, and **Test** lists the models the gateway serves to pick from. It takes effect at once, with no restart, and removing it puts the provider keys back in force. <!-- changes/console-model-gateway.md -->
|
|
20
|
+
- The API: `GET`, `PUT` and `DELETE /v2/settings/model-gateway`, and `POST /v2/settings/model-gateway/test`. Saving, removing and testing take the owner's signed-in session; the API token gets 403, with `details.console_url` linking to Settings → Model keys.
|
|
21
|
+
- The address follows the rule `AGENT_MODEL_BASE_URL` does (https, or http on this machine; no user, query, fragment or dot segment), and the test follows no redirect.
|
|
22
|
+
- The key is sealed under the seal key, never shown again, kept off every run's tool environment, and goes only to the origin it was saved for: it is sealed with that origin, a new origin asks for the key again, and a key read beside an address of another origin (a change caught between its two writes) is not sent. The test leaves out a model id that holds the key, and `api_key: null` tests with no key.
|
|
23
|
+
- `AGENT_MODEL_BASE_URL` set where AgentRun starts still wins, whole: the saved gateway is not used, and its save and removal answer 409 `key_set_by_server`. `AGENT_MODEL`, `AGENT_MODEL_FAST`, `AGENT_MODEL_STRONG` and `AGENT_MODEL_GATEWAY_IDS` set there win over the saved fields; an `AGENT_MODEL_API_KEY` set without a base URL is never sent to the saved gateway.
|
|
24
|
+
- The clients and the CLI treat the save and the test as secret writes: the CLI takes their body from stdin or a file only, and the SDKs cut the body's key from what they show.
|
|
25
|
+
- A finished run's Screen tab plays its screen recording where the live view was: a muted video with controls, sized as the desktop or the phone was, read from the run files route inline so it seeks by byte range. A run with several recordings has a picker beside Export. A run still going keeps its live view and its Recording chip. <!-- changes/console-run-recording-player.md -->
|
|
26
|
+
- Cursor runs as a harness (`cursor`), over ACP, on its owner's own Cursor API key: install its pinned release with `agentrun harness install cursor` (or `agentrun-serve install-harness cursor`), set `CURSOR_API_KEY` where AgentRun starts, and restart. Each run is billed to your Cursor plan, under Cursor's terms, with no spend cap of AgentRun's: it stops after 20 turns or 100 tool calls (`AGENTRUN_CURSOR_MAX_TURNS`, `AGENTRUN_CURSOR_MAX_TOOL_CALLS`), and capabilities show its card (`harnesses[].card`). <!-- changes/cursor-harness.md -->
|
|
27
|
+
- Cursor makes no file edits: every Write is denied in its CLI config until Cursor asks before an edit, as it asks before a shell command or a tool. Its own shell commands, and any other call of its own, are asked first, of a person who can approve them, and refused where no one can (they run on AgentRun's host, never on the run's computer, so bash's setting is not theirs); AgentRun's tools over MCP go through the agent's tool settings.
|
|
28
|
+
- `CURSOR_API_KEY` is handed to Cursor's runs alone, read by name at each start. The credential Cursor derives from it (`auth.json`, which would hold its tokens and the key itself) is never written: its path is a folder Cursor cannot write a file at, and Cursor runs on the key in its environment, so a killed run or server leaves no credential on disk. Cursor's warning that it could not save one is left out of a failed run's words (a recipe's `quiet`). Its whole private HOME is deleted when its process ends.
|
|
29
|
+
- A model is `cursor/<model-id>` (`cursor/gpt-5.4-nano`; `cursor/default` for Cursor's own default), checked against the models Cursor lists for the key (`ACP_MODEL_UNLISTED`). A key whose Cursor team administrator turned headless CLI use off is refused as `CURSOR_HEADLESS_DISABLED`.
|
|
30
|
+
- The release is pinned by its archive's sha256, its launcher's, and a digest of every file it unpacks to; a drift in any of them refuses the run (`ACP_BINARY_MISMATCH`). The archive installer takes tar.gz as well as tar.bz2 (`ARCHIVE_FORMATS`), and so does a harness recipe's loader. A recipe may not take any id the server's harness table already has, `cursor` and `goose` included.
|
|
31
|
+
- Cursor's release is pinned for linux-x86_64 alone. On any other host, a Mac included, Cursor is refused `ACP_BINARY_UNPINNED` before any install is looked at. `cursorRelease(platform)` gives the release pinned for a platform, or none.
|
|
32
|
+
- A new Cursor pin needs a key walk on it first. The walk runs a turn, a hard kill mid-turn and the close on the real binary. At each point it counts the files of the session folder that hold the key or a JWT-shaped token, and it never prints them. CI refuses a pin that the walk's record does not name, so a release that starts saving its key somewhere else fails before it ships.
|
|
33
|
+
- `dial-conformance.mjs` gives a desktop run the computerd-fixture binary, which the server's image now builds into `packages/computer/dist/computerd-fixture-linux-amd64`; without it a desktop's screen and input cases skipped and Core could not pass. <!-- changes/dial-conformance-fixture.md -->
|
|
34
|
+
- An agent's description can be edited. `PUT /v2/agents/{agent_id}/definition` with a new `definition.description` makes the next revision and changes the description in the same commit, so an edit refused by its check or by a stale `If-Match` (`412`) changes neither; an edit that leaves the description out keeps it, and the same description sent again writes nothing. It was refused `422` before, so an agent the setup import made kept its project folder's path as its description for good. The name and id stay fixed: a changed name is still `422 input_invalid` on `definition.name`. In the console, Edit agent's Description field (and the request editor's) is editable and sent with the save. <!-- changes/editable-agent-description.md -->
|
|
35
|
+
- An ended run whose end stored its cost unknown, because its read of the run's booking failed or ran past its bound, no longer reads `cost.usd: null` on `GET /v2/runs/{id}` (and the runs list's `RunSummary`) while that booking is priced. The run read reads the booking itself, as it already does for an ended run's figures since v0.1.0-beta.39, so the next read gives the booked total, with `all_in_usd` beside it. A charge of no known cost still reads `usd: null` with `unpriced` and `so_far_usd`, as before. When the booking has no request to read either, the run's `Cost` says why in a new field, `unknown: "booking_unread"` (costunknown/1), never a bare null: a reader that bills holds the run, as on any null. The console says "Unknown · cost not read" for it. <!-- changes/ended-run-cost-reads-booking.md -->
|
|
36
|
+
|
|
37
|
+
The store heals too. When a run read finds such a run's stored cost unknown and its booking priced, it writes the booked figure back in one conditional write, so `/stats`, `/usage`, the runs list and the learning cost and bill (`unknown_cost_runs`, `unattributed_usd`) read it as well. Only an unknown becomes a figure: a stored figure is never written over, and a run reopened or ended again since keeps what its end wrote. At start the server sweeps the store for ended runs whose stored cost is still unknown, a page at a time and in the background, so a run nobody reads again heals too, and when it read any it logs one `cost_heal` line counting the runs it read, healed and failed to read, with no ids; a run whose read fails is passed, and its next read heals it. A run whose booking cannot be read keeps its unknown cost there, counted unpriced as before. SQLite and Postgres alike; no schema change.
|
|
38
|
+
- Connect an existing eve 1.0.0 agent through an additive extension, preserving its model, tools, <!-- changes/eve-learning-extension.md -->
|
|
39
|
+
permissions and durable execution. AgentRun records the actual eve runtime, compiles workflows from
|
|
40
|
+
complete task evidence, and supplies owner corrections and served workflows to subsequent turns. Stable turn
|
|
41
|
+
keys and bounded event replay handle eve's buffered step writes without duplicate records on retry. Learning Off supplies no
|
|
42
|
+
learning to a new turn. The extension is held from publication while its integration is reviewed.
|
|
43
|
+
|
|
44
|
+
Optionally reuse checked workflows over the existing application's explicitly approved read-only
|
|
45
|
+
callbacks through a private local MCP bridge. Admission remains bound to the current turn and
|
|
46
|
+
pinned revision, with one workflow invocation per turn and Learning Off checked before dispatch.
|
|
47
|
+
Mutating tools and model/judgment callbacks are not supported in this initial eve workflow mode.
|
|
48
|
+
The cookbook includes a fresh-session workflow reuse and Learning Off comparison.
|
|
49
|
+
Workflow context names the original native callbacks found by inspecting each pinned workflow,
|
|
50
|
+
so the agent can compare it with its existing task and standing tool policy.
|
|
51
|
+
Keep host-configured delegation guidance separate from learned reference data. Matching workflows
|
|
52
|
+
are preferred only within the original policy; explicit direct-tool requirements take precedence.
|
|
53
|
+
SDK compilation describes when a workflow matches the task and what its input fields mean, without
|
|
54
|
+
adding a manual-invocation requirement. The existing agent can select it for an ordinary request;
|
|
55
|
+
execution still requires its explicit MCP tool call and the original permissions. This applies to
|
|
56
|
+
new drafts, revisions and compiler retries, not a rewrite of already-committed learning.
|
|
57
|
+
|
|
58
|
+
Show the actual harness mark beside connected agents and observed sessions, including eve,
|
|
59
|
+
Claude Code and Codex. Workflow agents keep a distinct workflow icon.
|
|
60
|
+
|
|
61
|
+
Keep the workflow schema discoverable by production dependency tracers when embedding the interpreter in an eve application.
|
|
62
|
+
|
|
63
|
+
Package the extension with its runtime asset requirements and include it in release archive verification.
|
|
64
|
+
An existing eve application can install the candidate archives and add one extension mount without
|
|
65
|
+
workspace links or changes to its model, tools or build options. Document corrections onboarding and
|
|
66
|
+
the additional explicit read-only bindings required for executable workflows.
|
|
67
|
+
Enabling learning on an Off eve agent preserves the server's current learning model. Without
|
|
68
|
+
workflow bindings, turns receive the owner's corrections; automatic workflow compilation requires
|
|
69
|
+
explicit bindings. Preserve an already-enabled learning configuration when another client saves it
|
|
70
|
+
before the switch's update.
|
|
71
|
+
|
|
72
|
+
Support configurable full-learning settings for Eve registration and workflow execution, and preserve
|
|
73
|
+
an already-enabled loop configuration when the console refreshes before saving. The fresh-agent
|
|
74
|
+
cookbook opts into a five-run compilation threshold without changing acceptance thresholds.
|
|
75
|
+
Resuming the owner-correction example stops before changing learning if the owner has edited
|
|
76
|
+
the saved setting; it does not overwrite a custom schedule with its On or Off control.
|
|
77
|
+
|
|
78
|
+
Scope bounded native evidence to the recorded turn boundary, so an invalid or oversized buffer
|
|
79
|
+
does not disable future turns. Skip unverifiable learning without inventing a completion, and
|
|
80
|
+
resolve workflow input schema references before advertising them in the native context.
|
|
81
|
+
|
|
82
|
+
Label tool credentials as API Keys in console settings and retain all repository and third-party
|
|
83
|
+
attributions in the package archives.
|
|
84
|
+
Browser archive verification recognizes both required vendor provenance manifests and continues
|
|
85
|
+
to reject unlisted files.
|
|
86
|
+
- Bring your own harness, door 1: a recipe. A JSON file names an ACP agent's registry release (the archive's URL and sha256, the binary inside it), its model billing (through AgentRun's model proxy, or the owner's plan with turn and tool-call limits), its literal env, files and session folders in the private HOME, and what it declares. `agentrun harness install --recipe FILE` installs the release, and `agentrun harness-check --recipe FILE --model PROVIDER/MODEL` runs it for real: the agent's own tools off, its environment an allowlist, the cap or plan limits, the pinned binary at every start, no side request (stage 2); a SIGKILL then resume, a denied call, one of AgentRun's tools over MCP, a second runner (stage 3). It writes a JSON report and prints the three facts a harness row carries: `resume`, `tool_gate`, `billing`. See [docs/harness-recipe.md](https://github.com/Parcha-ai/agentrun/blob/main/docs/harness-recipe.md) and [HARNESS-SCORECARD.md](https://github.com/Parcha-ai/agentrun/blob/main/HARNESS-SCORECARD.md), which rates 25 agents. <!-- changes/harness-recipe-door-one.md -->
|
|
87
|
+
|
|
88
|
+
The loader refuses a recipe that breaks one of five rules by its code: a key that is not the harness's own (`RECIPE_KEY_NOT_OWN`), a binary not pinned to a registry archive (`RECIPE_BINARY_UNPINNED`), a file or folder outside the private HOME (`RECIPE_PATH_OUTSIDE`), an install step of its own (`RECIPE_INSTALLS_ITSELF`), an environment beyond the allowlist (`RECIPE_ENV_NOT_ALLOWLIST`). A release whose registry entry lists no binary digest is pinned to the first one its owner's install records; a later binary that differs is refused, at an install and a check alike (`HARNESS_BINARY_MISMATCH`). A recipe's keys reach the agent the way a run's do, read by name at its start: `harness-check` on a host without one is refused before the agent starts (`ACP_KEY_MISSING`). The ACP adapter logs each permission the agent asks for (`acp: the agent asked permission`).
|
|
89
|
+
- A learned workflow's check and its shadow audit compare two answers by their decision when the definition names no `learning.agree_on`: the replay run, or the shadow, asks the agent's fast model (`model_tiers.fast`, else AGENT_MODEL_FAST) once at its end whether its answer and the other one reach the same decision, and its reply `{"same": boolean, "differs_on": string | null}` decides that pair. Answers equal as JSON still agree with no call, and an `agree_on` revision asks no model. The request runs through the run's own session under its cap and is booked as its spend, so it counts as the check's cost (`check_usd`) or the served run's learning cost. A reply that is not the verdict, a request that failed twice, one cut by its 60 s deadline, or a cap refusal counts as a disagreement and says why. A person's stop or cancel of the run cuts the request at once. A verdict holds only for the two answers it read: if the agent's run answers again after its replay was compared, that input counts as a disagreement ("the comparison read an earlier answer"). The check record keeps `grader` (the model) and each disagreement's `differs_on`. A hold says "its answers reached a different decision from the agent's on k of n (for example: …)", and the console's check line says "compared by the fast model". With no fast model the whole answer is compared as before, and the hold words say a learning agent with no `agree_on` wants one. <!-- changes/learning-grader-compare.md -->
|
|
90
|
+
- A run (GET /v2/runs/{id}) and each row of a runs list carry one `path` and a `workflow: { name, digest }` (the learned workflow that served it, null on any other run) in place of `served` and `handed_back`; the cost read's `bill` drops `baseline` and `promoted` (`summary.before` and `summary.takeover` say the same). Upgrading: read `path` and `workflow` where you read `served`/`handed_back`, and `summary.takeover`/`summary.before` where you read `bill.promoted`/`bill.baseline`. <!-- changes/learning-simplify-1119.md -->
|
|
91
|
+
- The server remembers its public address (`AGENTRUN_PUBLIC_URL`) in its data directory once a start serves, and warns when a start changes it. A start that fails remembers nothing. The warning is one log line, `event=public_url_changed from=<old> to=<new>`. It says that the owner signs in again at the new address and that links in earlier webhook messages point to the old one. Before, the change signed the owner out with no word. <!-- changes/public-address-moved.md -->
|
|
92
|
+
When the old name still reaches the server, a browser that opens the console there is redirected (308, `no-store`) to the new address, keeping the link's `#/runs/<id>`. On a loopback listener the rest stays refused, as before. The API and webhooks get a 403 `forbidden` that now names the new address, and another browser page gets a page that links to it. The redirect and the page apply only when the server has a public address now. Every other name is refused as before, and its Host is never repeated.
|
|
93
|
+
- A served run's `workflow.repick` (`found`, `missed`, null) says whether its answer re-picked after a quote miss; its run page shows it. <!-- changes/repick-label.md -->
|
|
94
|
+
- `GET /v2/runs/{run_id}` gains `cost.tools_usd`: the part of `cost.usd` its paid tool calls cost (monid, priced MCP tools, Parallel, browser time), never added to it. A paid call in a learning turn is in `learning_usd` instead. Null while a charge is unknown, while the run is at work, for a learning run a follow-up opened again, and for an imported, native or SDK run. <!-- changes/run-cost-tools-usd.md -->
|
|
95
|
+
- A run's cost (`GET /runs/{id}` and each `GET /runs` row) carries its model requests' `tokens` (`input`, `output`, `cache_read`, `cache_write`, `requests`, `unmetered`), and its `basis` says how the figure was reached instead of always reading `estimate`: `reported` when every priced request had the provider's or gateway's own figure (LiteLLM's `x-litellm-response-cost`, OpenRouter's usage `cost`), `estimate` when any was priced from a price table, `unpriced` when no request was priced. A run through a model gateway (`AGENT_MODEL_BASE_URL`) now shows its tokens, not only an estimated cost. <!-- changes/run-tokens-cost-basis.md -->
|
|
96
|
+
`GET /stats` (`cost.basis`) and `GET /usage` (`basis`) say the same words over the runs they sum. A run that ended before this change counts as `estimate` when it cost anything, and so does an imported session read at the model catalog's estimate; an imported session with neither a recorded cost nor an estimate reads `unpriced`. The console shows the tokens beside a run's cost and marks a reported figure `reported`, as it marks an estimate `est.`.
|
|
97
|
+
A native or SDK run's cost (its harness's own figure for its whole task) reads `estimate`, with that task's tokens and no request count. A client that treated `basis` as always `estimate` (or `charge`) must accept `reported` and `unpriced`. A run with no model request now reads `basis: "unpriced"` (it read `estimate`).
|
|
98
|
+
- A secret write refused to the API token now says where to finish it. The refusal is the same `403 forbidden`; its message ends "Finish it in the console: <link>", and `error.details.console_url` is that link: the console page for the operation (Settings → MCP servers, Model keys, GitHub, Email, Computers, Workspace, Webhook, a trigger's page, an agent's page). For an MCP server's save or sign-in, the link opens the add form (or a saved server's Change form, `?change=<name>`) filled with the server's name, its URL, the kind of credential (`none` for a save that sends no auth) and its toolkit, so the person pastes only the secret and saves; a Composio save opens the Composio form with its toolkit and actions, and one over a saved server's name saves under that name (`?change=<name>&preset=composio`). A save of a kind of credential the form can't fill (`per_run`) links to the page alone. The link never holds a token, a header, a client secret or a key. A URL with a user or password, a query parameter named like a credential, a key-shaped path segment or value, a key that spans path segments or a query's `+`, or a host label that could be an id (20 or more letters and digits with a digit, or a UUID) is left out of the link. The calendar and Claude Code login routes have no console page yet, and their refusal has no link. The setup skills now say that the person saves secrets in the console, and that an assistant opens this link for them instead of asking for the secret in chat. <!-- changes/secret-refusal-console-link.md -->
|
|
99
|
+
Clients that compared the refusal's message to the exact sentence should check that it starts with that sentence: "Saving, replacing or removing a secret takes the owner's signed-in session in the console; the API token can't write secrets."
|
|
100
|
+
- A run a learned workflow answered alone says so where runs are read: `GET /v2/runs/{id}` and every row of `GET /v2/runs` carry `served: { workflow, digest }`, and a run the workflow ran first and handed back carries `handed_back: { workflow, digest }`, both read off the run's record as `GET /v2/agents/{id}/learning/cost` reads its `path`. A run by the agent, a check's replay run and an audit's shadow carry neither. The console's runs list reads "Learned workflow" in the Kind column for a served run, and its run page header reads "Learned workflow <name> · rev N"; a handed-back run reads "agentic · handed back by <name>". <!-- changes/served-run-label.md -->
|
|
101
|
+
In this release `served` and `handed_back` became `path` and `workflow` (the bullet on them above), and a run-list row an earlier server cached is not rebuilt for them until the run changes (Breaking, above).
|
|
102
|
+
- The first visit needs nothing looked up: `--open` (on by default in `npx @parcha/agentrun`) opens the setup page while the server has no owner, with the setup code already filled in when setup takes one, and Settings → Webhook copies its signing secret with one press. Before, the browser opened the console's front page and the person had to find the code in the server's log, and the webhook secret shown once had to be selected by hand. <!-- changes/setup-opens-filled-in.md -->
|
|
103
|
+
- The opener gets the same link the log prints (`Set up this server: <address>/setup#code=<code>`), or `<address>/setup` on loopback, where setup takes no code. The code works once and lasts 30 minutes, so the opener's arguments and the browser's history hold nothing that outlasts the setup; the API token still never goes to the opener. Once the owner is set, `--open` opens the console's address as before.
|
|
104
|
+
- The setup skill (`docs/SKILL.md`) has the assistant open that link in the person's browser itself, with `open`, `xdg-open` or `start` on their computer or with its client's browser tool, instead of handing over a link to click or a command that prints the code. It sends the link only when it can open no browser. For a server the installer or `agentrun service` started, it gets the link from `agentrun open`.
|
|
105
|
+
- The installer (`curl -fsSL https://agentrun.ai/install | sh`) and `agentrun service install|start|restart` end the same way: until the owner's password is set, they open the setup page with the code filled in, and print that link for when no browser opens. `agentrun open` does it at any time, and opens the console once there is an owner; with no server answering (a record a crash left behind included) it says so and exits 1 (`--setup-only` opens nothing then). It reads the code from the service's log (for the server in that service's data folder only; another `--data` opens without a code and says where that server's log is) and asks the server for a new one (`POST /v2/setup/code`) when the last has run out. The opener is started and left running, so a browser that stays open never holds the command; on the tailnet (`--tailscale`) the page opens once `tailscale serve` is on, since the link names that address. The setup page's hint names `agentrun open`, `agentrun service logs` and `journalctl --user -u <unit>`.
|
|
106
|
+
- **Copy secret** beside the secret in Settings → Webhook says Copied, or, where the browser won't copy, to select the text. The console's copy button is now the `CopyButton` primitive, shared with the webhook trigger's Copy URL and Copy secret.
|
|
107
|
+
- The server posts run notices to Slack itself: paste a Slack incoming-webhook URL under Settings → Slack (or `PUT /v2/settings/slack` with `{url}` from the owner's signed-in session), and each run's end (`run.ended`), each wait on a person (`run.needs_input`) and each trigger that could not start its run (`trigger.failed`) is posted as a readable message: the agent's name, the status in a word, the run's title and a link to the run, what a waiting run waits on, or the trigger's name and error. No relay is needed. A message never carries a run's input, its output or a tool's arguments. <!-- changes/slack-destination.md -->
|
|
108
|
+
- The URL is the credential, so saving it is a secret write (the API token is refused `403`, with `details.console_url` opening Settings → Slack); it is sealed, never shown again but for its last four characters, kept out of the log and the deliveries, and cut from what a run shows.
|
|
109
|
+
- Every string of a message (an agent's or a trigger's name, a run's title, an error) is cut of the server's secrets before it is saved or posted.
|
|
110
|
+
- With the outbound webhook set too, each gets its own message for the same moment, under its own id.
|
|
111
|
+
- Every event is on by default; `{"events": {"run.needs_input": false}}` turns one off, and the API token may change events.
|
|
112
|
+
- Delivery is the outbound webhook's outbox: the same retries, one message per moment, deliveries at `GET /v2/settings/slack/deliveries`, redelivery and a test send (`POST /v2/settings/slack/test`). Slack's `404` or `410` (`no_service`, `channel_not_found`, `channel_is_archived`) turns Slack off with Slack's word until a URL is saved again; a test or redelivery is then `409 slack_off`.
|
|
113
|
+
- Only `https://hooks.slack.com/services/...` is taken.
|
|
114
|
+
- `GET /v2/capabilities` lists the switches only the operator sets at the server's start, under `switches`: `AGENTRUN_MCP_ALLOW_LOOPBACK`, `AGENTRUN_WEBHOOK_PRIVATE_TARGETS`, `AGENTRUN_BOX_ALLOW` and `AGENTRUN_BOX_CPUS`, `_MEMORY` and `_PIDS`, each with `on`, the `value` the server read (never a secret) and what it `allows`. A refusal one of them causes now names the variable, the value that allows it and the restart it takes, with the same error code as before: a webhook URL on a private network or this machine (`PUT /v2/settings/webhook`, 422 `input_invalid`) says `...which this server does not send to; restart the server with AGENTRUN_WEBHOOK_PRIVATE_TARGETS=1 to allow it, only on a machine you alone use`, and so does a try's log entry; an MCP server on loopback says `restart the server with AGENTRUN_MCP_ALLOW_LOOPBACK=1 to allow it, only on a machine you alone use.` in place of `set ... when starting the server, ...`; a computer that needs a network under `AGENTRUN_BOX_ALLOW=none` says `restart the server with AGENTRUN_BOX_ALLOW set to a host list`. A client that matched the old words should match the error code, which is unchanged. The switches stay environment-only: no route or console page sets them. The README has a table of them ([start-time switches](https://github.com/Parcha-ai/agentrun/blob/main/packages/serve/README.md#start-time-switches)). `agentrun service install --env` also takes `AGENTRUN_MCP_ALLOW_LOOPBACK=1` and `AGENTRUN_WEBHOOK_PRIVATE_TARGETS=1`, keeps them through restarts, upgrades and later installs as it keeps a local model's variables, and `KEY=` removes one; a switch at any value other than `1` is refused, since the server would read it as off. <!-- changes/start-switches-named.md -->
|
|
115
|
+
- The server now sends anonymous usage counts ([docs/telemetry.md](https://github.com/Parcha-ai/agentrun/blob/main/docs/telemetry.md)): `server_started` from its second start, a `heartbeat` every 24 hours, and `first_run_completed` once per data directory. Each holds a random id made for the data directory, the version, the platform (`os`, `arch`, Node's major version) and how many runs ended there as a range: never prompts, files, keys, names, paths or addresses. <!-- changes/telemetry-on.md -->
|
|
116
|
+
- The first start that can send prints a notice on stderr and sends nothing until its first heartbeat a day later. A first run that completes before then is said with that heartbeat or at the next start, so the notice comes before anything leaves.
|
|
117
|
+
- Turn it off with `AGENTRUN_TELEMETRY=0` or `DO_NOT_TRACK=1` where the server starts. It is already off in CI (`CI` set), under a test runner (`node --test`), under `--faux`, and in every command but the server's start.
|
|
118
|
+
- `agentrun service install` writes `AGENTRUN_TELEMETRY` or `DO_NOT_TRACK` from the shell it runs in into the service, which never sees that shell, and `AGENTRUN_TELEMETRY=0` under CI. `--env` takes both names, and `--env KEY=` removes one. The installer's `--vps` writes them into `/opt/agentrun/.env` the same way: a value set where it runs replaces the line `.env` has, so running it again with `AGENTRUN_TELEMETRY=0` turns the counts off.
|
|
119
|
+
- `AGENTRUN_TELEMETRY=debug` prints each event on stderr in the form it would be sent, sends none and writes nothing.
|
|
120
|
+
- Events go to `telemetry.agentrun.ai`, PostHog's managed proxy under this project's own name, and land in a PostHog project on its US cloud that holds these counts and nothing else. The project is set to discard the sender's address, and its location lookup is off.
|
|
121
|
+
- The console's trigger forms (schedule, webhook, GitHub, app and feed) and a trigger's page warn when the trigger's agent has a tool whose permission is ask and the agent's approvals are not "never": "A run from this trigger stops and waits for you when it calls <tools>." A schedule's warning adds "later firings are skipped while it waits". On a server with accounts off, where no one can approve a call, it says instead that each such call is refused. The warning offers one fix, Run unattended, which saves a new revision of that agent with `approvals: "never"` on the revision the page read (its ETag), as the agent editor saves one. The tools named are those `GET /v2/agents/{id}` lists with `permission: "ask"`; the server's defaults and the gate are unchanged. A workflow agent, which has no approvals to set, is never warned about, and a failed read of the agent shows no warning. <!-- changes/trigger-ask-tools-warning.md -->
|
|
122
|
+
- `@parcha/agentrun-harness-acp`, the adapter that runs an Agent Client Protocol agent as a harness (Goose's among them), is no longer held: the next release publishes it, after the kernel and before the server. `@parcha/agentrun-serve` now depends on it, so a server installed from npm has the Goose row: its owner installs Goose's pinned binary with `agentrun-serve install-harness goose --data <dir>`, restarts the server, and Goose is offered. The package's archive holds `dist`, Goose's recipe (`recipes/goose.json`), the README, LICENSE and NOTICE; `scripts/verify-packages.mjs` imports its root and `./facts` in the clean consumer and reads the recipe from the installed package. <!-- changes/unhold-harness-acp.md -->
|
|
123
|
+
- The outbound webhook's signing secret can be rotated for the same URL: `POST /v2/settings/webhook/secret`, and Rotate secret in the console's Settings → Webhook, which asks first and then shows the new secret once, in the same box a save shows it in, with Copy secret, and moves the focus to it. It is a secret write, so only the owner's signed-in session may make it; the API token gets the same 403 as every other secret write, and the secret is kept. The old secret is retired at once: every try after the rotation is signed with the new one, a message queued before it included, so the receiver needs the new secret before its next message. `404` when no webhook is set; `422` for any body. A `PUT` with the API token now tells the person to rotate the secret in the console, in place of removing the webhook and saving it again. <!-- changes/webhook-rotate-secret.md -->
|
|
124
|
+
- A follow-up to a Codex or Claude Code run a person stopped while a tool call ran is now the run's next turn. Before, the run first finished the stopped turn without the message, then answered the follow-up as one more turn. <!-- changes/cli-stop-follow-up-settles-cut-turn.md -->
|
|
125
|
+
- Only a schedule trigger's run is handed its trigger's last completed `result.output`. A Composio, GitHub or webhook trigger's run no longer is, as an email's or a feed's already wasn't: each of their firings is a different event, so one sender's answer was reaching the next sender's run. A source opts in with its adapter's `previousResult: true`. <!-- changes/composio-no-previous-result.md -->
|
|
126
|
+
- `PUT /settings/mcp-servers/{name}/composio` takes an action slug of at most 128 characters: a longer one is `422 input_invalid` with reason `invalid` under `tools` (and `maxLength: 128` in the schema), before Composio is asked anything, in place of a `not_found` that named it by its first 64 characters and its length. A slug the toolkit doesn't list is still `422` `not_found`, now with a guess only when it is a listed slug in another case ("linear_list_issues (did you mean LINEAR_LIST_ISSUES?)"); a slug a letter or a `_WORD` off is named without one. <!-- changes/composio-slug-bound.md -->
|
|
127
|
+
- The agent editor's Computer step keeps image, persistent, GPU, surface, exec and record across a switch of kind or provider where the new pick can take them; the kind's card names each one it drops. Before, any switch dropped all of them but record. <!-- changes/console-computer-fields-kept.md -->
|
|
128
|
+
- A workflow run's Graph names a map's item by the head of its label when the label is text. Before, a label with a slash in it showed only what came after its last slash: a release note that ended "Send event queries to /v2/events instead." read "events instead.". A file's path or a page's URL still shows as its name alone (`invoices/2026/acme-march.pdf` reads `acme-march`), and the cell's hover still gives the whole label. <!-- changes/console-graph-item-name.md -->
|
|
129
|
+
- The OpenAPI document requires what this server always sends: an agent's `kind`, `revision`, `revisions` and `archived_at` on every agent answer (a read, a list's, a create's and an edit's), and `harnesses` in `GET /v2/capabilities`. The generated TypeScript and Python client types follow. The console reads its agent and capabilities types from the generated ones instead of its own hand-written copies, so a capabilities `models.source` of `managed` or `env` and a save warning's `reason` are typed as the server sends them. <!-- changes/console-served-type-aliases.md -->
|
|
130
|
+
- console: two fixes to the run page's Dev tools tab. <!-- changes/dev-tools-panel-width-cache-finding.md -->
|
|
131
|
+
- With a call's panel open, the calls table no longer scrolls sideways. Beside the panel the table showed its time axis and its Size column from a window 1536 px wide, where it had 740 px and needed some 900, so the tab scrolled sideways until the window was some 1700 px wide. The two columns now show by the width the table has: the time axis from 896 px, Size from 1024 px. Where the panel is under the table (a window under 1280 px), a table wider than its box still scrolls in that box, and the tab no longer scrolls sideways with it.
|
|
132
|
+
- "A request read nothing from cache" no longer names a subagent's first request. A subagent is a conversation of its own, so its first request reads nothing by design. A request is now compared only with earlier requests of its own conversation. A workflow run's trace does not say which requests share a conversation, so the finding is left out there.
|
|
133
|
+
- `agentrun harness-check`'s `tools_off` stage passes when the agent's first model request reached the provider. The model proxy refuses a request that offers a tool its policy does not allow, so the check no longer applies Goose's tool rule a second time, and the report drops `proxyAllows`; the agent's tools that are not AgentRun's are still listed (`notOurs`), and the proxy's refusals beside them (`proxyRefusals`). The variables the adapter and the model proxy set in the agent's environment are one list, by part (inherited from the host, reserved for the private HOME, the proxy's), which the recipe loader refuses and the check's `env_allowlist` expects. <!-- changes/harness-check-one-variable-list.md -->
|
|
134
|
+
- `agentrun harness-check`'s gate refuses every call that is the agent's own (`acp_<kind>`), as a server's gate does, so a call of AgentRun's tool whose title the adapter can't tie fails `mcp_tool` instead of passing; the report's `gate.asked` and `denied_call` drop `about` and `askedAs`. <!-- changes/harness-check-untied-title.md -->
|
|
135
|
+
- `import` says what it is doing and what it did. On a terminal it shows one progress line (looking for sessions, checking them for keys, importing N of M), cleared before the summary. The first Ctrl+C stops it after the session being saved, says so, prints the summary with a `Stopped: imported N sessions …; run the import again for the rest` line, and exits 130; a second Ctrl+C quits at once. A Ctrl+C that comes once the sessions are saved, while the summary is read back and printed, no longer ends the import with nothing printed: the summary is printed whole, and the exit code is 130. The summary says how many sessions this import took and into how many agents (`Imported 76 sessions into 3 of 7 agents`), or `Nothing new to import` when every session is held already, instead of `Imported into 7 agents` on a run that took nothing. With no `--port`, the last line no longer promises port 7340, which a server passes over when it is taken: it says to start the server and open the address it prints. An import refused because a running server holds the store says to stop the server first. <!-- changes/import-cli-progress-stop.md -->
|
|
136
|
+
- An imported session its source did not price, such as a Codex session, now reads at the model catalog's estimate the import kept for it, wherever a run's cost is shown: the run's `cost.usd` (basis `estimate`, "$0.0016 est." in the console), the runs list, its timeline's usage row ("Cost: $0.0016 est. over 2 model requests"), `GET /stats` and its analytics (the cost tile and the per-harness rows), and `GET /usage`. The run's stored cost stays unknown, a recorded cost always wins, and a session the catalog cannot price stays unknown. An imported run's usage row now says the run's own cost: a Claude Code session priced at $0.0421 read "$0 known, 4 not priced" there. <!-- changes/import-cost-estimate-read.md -->
|
|
137
|
+
- `import` no longer says `Stopped: … run the import again for the rest` when a Ctrl+C left nothing to import. A Ctrl+C that comes while the last session is being saved finishes that session, and the summary now says `Imported N sessions into …` as an uninterrupted import does; the exit code is still 130. A Ctrl+C with sessions left (while they are listed, checked for keys, or between two of them) reads `Stopped:` as before. <!-- changes/import-stop-line-last-session.md -->
|
|
138
|
+
- A command running when its sandbox is lost is no longer run a second time on the new sandbox. Before, a bash call cut by a hosted provider's delete (Daytona's `not_found` "was deleted" words) was read as "bash is not there", re-sent as `sh -c` and routed to the replacement sandbox. It then ran from the start and ended `success`, with nothing in the tool result saying so. Now the call in flight when the loss is confirmed, and any call alongside it, fails with code `gone`: `the computer <name> was lost while this call ran, and it was not run again: <the provider's words>. A new computer starts at the next call.` The next tool call starts the new sandbox as before. The bound of 2 new sandboxes a claim and the `computer_unavailable` end past it are unchanged. <!-- changes/lost-sandbox-call-not-replayed.md -->
|
|
139
|
+
- A schedule (or any other) trigger can now start a connected agent's runs (`native connect`, Claude Code or Codex). Before, every trigger run had to be capped in dollars, and a connected agent refuses a cap because its own CLI keeps its own limits, so a trigger on one was refused at creation without a cap and every firing was refused with one. A trigger whose target is a connected agent now needs no `max_cost_usd`, and refuses one (on the target or as the agent's default) with `422 not_allowed`. Its runs start uncapped, as a connected agent's runs started by hand already do. An `effort` on such a target is refused the same way, as the run start refuses one. Every other trigger's runs are still capped. <!-- changes/native-schedule-triggers.md -->
|
|
140
|
+
- A pi run's model requests that answer at about the same time are each priced at their own cost. When one turn started several `subagent` calls, the child whose answer asked first was given every child's booking and the others $0, so the run page's Timeline and Dev tools tab and `GET /v2/runs/{id}/trace` showed one request at the sum (three requests of the same tokens at $0.02163, $0.01266 and $0.04326, say) and others at $0. Each answer now reads the bookings of its own conversation's requests. The run's cost was right throughout and does not change; a run already recorded keeps the per-request figures it was written with. <!-- changes/parallel-request-costs.md -->
|
|
141
|
+
The session's model proxy takes a new request header, `x-agentrun-conversation` (`CONVERSATION_HEADER`, exported from `@parcha/agentrun-kernel/host`): a client may name the conversation a request is asked in, an id-shaped label of its own. The proxy tells the host with the request (`ProxyRequest.conversation`, `ModelRequest.conversation`) and never sends the header to the provider. A request that names none is asked as before.
|
|
142
|
+
- A pi run that compacted its context no longer reads its cost as unknown. pi sends the compaction's summary request through the run's model port, which marks the request and books it at its price, but pi stores no answer for it: the summary's cost rides on the answer pi stores beside it. The Timeline's usage row counted the summary as a request cut with no answer, so it read `usd: null` with `unpriced` equal to the number of compactions. Every reader built on that row read the same: a running run's `cost.usd` on `GET /v2/runs/{id}`, its live spend on the runs list and in `GET /v2/usage`, its `/usage` tokens meter, and the usage line on its run page. pi's compaction entry now answers that summary request. The row reads the run's priced total and counts the summary as a request whose tokens pi did not report. A real charge of no known cost beside a compaction (a request cut with no usage) still reads `usd: null`, with `unpriced` counting it. <!-- changes/pi-compaction-summary-priced.md -->
|
|
143
|
+
The cap's own reading of a run's journal (`spentFrom`, behind the runs list's live spend) is fixed the same way. Where request marks hold the cap's figure for each request, it left the summary's mark open and counted it a second time at its hold, so the spend it read was too high. No runner in this server writes such marks, and a run's cap gate reads its booking instead, so no run here was stopped early by it. A store or host whose marks hold figures read it high.
|
|
144
|
+
- A run whose answer a composed workflow's own quote re-pick wrote reads `workflow.repick` `found` or `missed`, no longer null. <!-- changes/repick-composed.md -->
|
|
145
|
+
- A server whose runners all refuse to claim (their run isolation refused, for one an `AGENTRUN_RUN_USER` the runner does not know, or the image's helper unable to switch users on the platform) now says so instead of queueing runs forever. Before, on Render with `AGENTRUN_RUN_USER` removed, a person started a run, got 202, and watched it sit `queued` for good while `/v2/health` said `ok`; the reason was only in the service's log. Now the start is 503 `runner_refused` with the runner's words and their fix (`set AGENTRUN_RUN_USER=same`), a run already queued ends `failed` with error code `runner_refused`, `GET /v2/capabilities` has the words in `runner_refused`, and `GET /v2/health` answers 200 `degraded` with its `runner` check `refused` (200, so Render's health check does not restart the service in a loop over a setting). A message to a run and a backend SDK run's start are refused the same way. Once a runner that can claim starts, it all clears. Both shapes count: the runner beside the server, and runners in processes of their own, on this host or another over one Postgres store (each runner now keeps a row in the store saying it is there). A runner in a process of its own says on that same row, under the same incarnation, where its relay takes the dials the server relays to it, so the relay's table `runner_relays` becomes `runners`, and whether a relay is there is judged on the store's clock (the database's on Postgres): a runner on another host whose clock drifts from the server's is no longer refused as not running. Postgres migration `0020_runners.sql` renames the table in place and keeps its rows. On SQLite the server's start drops `runner_relays` and makes `runners`, with no store version change: its rows are heartbeats each runner writes again within 10 s, so none is copied. Start this build's server before its runners: a runner waits until the server has done it, and a runner of an earlier build with a relay does not start against a store this build's server opened. A server with `--no-runner` and no runner started yet still queues runs for its runner to come. The failed run's error code `computer_unavailable`, served since the computer-loss end, is now in the OpenAPI document's `RunErrorCode` too. <!-- changes/runner-refused-says-so.md -->
|
|
146
|
+
- A runner started before its server has upgraded the store now stops with exit 3 on SQLite and Postgres alike: `The store in <place> is behind this runner: start the server first, which upgrades the store in place, then the runner.` Before, a Postgres runner said to run a runner of the server's release, and a SQLite runner exited 1 with the store's own words. `agentrun-serve import --dry-run` on such a store now says to start the server first too, not to start on a new, empty data folder. The known issue beta.45 and beta.46 shipped about this no longer applies. <!-- changes/runner-waits-for-server-upgrade.md -->
|
|
147
|
+
- A desktop's or phone's live viewer already open on the run page's Screen tab now hears a Take over and a Hand back made from the page's header, and drives once the person holds the computer, with no reopen. A run in a process of its own committed its hold's changes there, and the viewer, which is the runner's, never heard them: the change now goes to the runner first. <!-- changes/screen-take-over-heard.md -->
|
|
148
|
+
- The SDK compile prompt calls a learned workflow compiled and unchecked and no longer tells the agent to prefer it: the agent decides whether one fits under its original instructions and permissions. The client's workflow context now opens "Compiled workflows for this task (not checked):". <!-- changes/sdk-compiled-wording.md -->
|
|
149
|
+
- A synced folder's new sandbox, started in place of one its provider lost, no longer puts the whole folder back on the run's disk at the next changing call: the claim's sync goes on from the new sandbox's own listing. A loss that a sync finds now starts the new sandbox at the run's next call; before, that call failed on the lost one. <!-- changes/serve-synced-folder-lost-sandbox.md -->
|
|
150
|
+
|
|
151
|
+
Two parts of the synced folder are gone. A run whose folder moves from a synced folder to an Archil mount loses the modes and links the synced claim recorded: the mount never reads sync.json. A kept synced computer whose keep lapses is deleted without a read-back, so writes made while it was parked are lost. A kept computer that holds the run's folder another way than the resuming claim is not taken back: it is let go as one of another kind or provider is.
|
|
152
|
+
- `agentrun import --help`, `agentrun native discover --help`, `agentrun reset-password --help` and `agentrun runner --help` print that command's own usage (and for import, what it reads and what `--dry-run` does), exit 0, and touch nothing in the data folder. Before, the launcher answered every one of them with its own three-line usage, which names none of their flags, and `agentrun-serve <command> --help` failed with "Unknown option '--help'" (exit 2). The same holds for `-h`, and for `agentrun-serve install-harness`, `validate-template` and `eval-template`. `agentrun-serve --help` now lists `native discover|connect` beside the other commands. `native` called wrong answers with that same line, and takes only the flags it names: `--base-url` (the same as `--url`) and `--json` (which changed nothing) are refused, exit 2; use `--url`. <!-- changes/server-command-help.md -->
|
|
153
|
+
- A server listening on every address (`--listen 0.0.0.0` or `::`) with no public URL now prints its setup link at this machine's own IPv4 addresses too, `From another machine: http://192.0.2.10:7401/setup#code=…`, after the loopback `Set up this server:` line, each time a new code is printed. Before, the only link named the loopback address, which does not open from another machine. Loopback, link-local and container-bridge addresses are left out, at most three are printed, and none are printed inside a container, whose addresses are not the ones its host publishes. The launcher passes these lines on as it does the setup line. <!-- changes/setup-link-other-machines.md -->
|
|
154
|
+
- A run stopped while it waited on a person (a tool call waiting for approval, a browser or desktop hand-over) reads `input_required`, `idle` and `pending` kind `stopped` from the stop's answer to its end, in `GET /v2/runs/{id}` and in its item in `GET /v2/runs`. Before, it read `working`, `working` and no `pending` for the half second or so the runner held the run to take the stop, between two reads that said stopped, so a client polling after the stop could see the run start working again. <!-- changes/stop-reads-stopped-while-taken.md -->
|
|
155
|
+
- The serve README and the setup skill say how to run claude-agent through an Anthropic-compatible gateway, such as LiteLLM's `/v1/messages`, with no Anthropic key: set `ANTHROPIC_BASE_URL` to the gateway and `ANTHROPIC_API_KEY` to its key, or any placeholder when the gateway adds its own. The README lists what the gateway must accept (`x-api-key`, Anthropic's own model ids, the CLI's `anthropic-beta` headers) and notes that a run's spend cap holds each request at a size bound there, since Anthropic's token count is asked only on `api.anthropic.com`. <!-- changes/claude-agent-through-a-gateway.md -->
|
|
156
|
+
- The server README's Direct Particle-1 section records that a run's estimated cost matched Particle's own usage page <!-- changes/particle-bill-match.md -->
|
|
157
|
+
(2026-11-19, one workflow run of three requests): the same token counts and the same cost. A rate limit or server
|
|
158
|
+
error from Particle is still not seen live.
|
|
159
|
+
- The OpenAPI document now lists `403 forbidden` on the four secret writes that left it out: `DELETE /v2/agents/{agent_id}/sign-ins/{key}`, `POST /v2/settings/mcp-servers/{name}/oauth/start`, `POST /v2/integrations/github/connect` and `DELETE /v2/integrations/github`. The server already refused each one to the API token. <!-- changes/secret-writes-document-403.md -->
|
|
160
|
+
- A run on a computer that mounts its folder attaches again when the run is a process of its own (every runner since v0.1.0-beta.46). The run's process hands its mount check to the runner's Workspace across the run channel, where the check's read-back is a handle answered as a promise; attach compared the computer's read-back against that unawaited promise, so every such run was refused about 25 seconds in with `does not hold this run's folder at /workspace: it mounts <the right folder> ..., not undefined:/undefined in undefined`. Attach now awaits the expected read-back. <!-- changes/attach-readback-across-run-channel.md -->
|
|
161
|
+
- A run paused at its spend cap shows one raise form in the console. The header's Raise the cap button now takes you to <!-- changes/one-raise-box.md -->
|
|
162
|
+
the form under the pause banner, where it was opening a second form above it. From the Graph and Dev tools tabs,
|
|
163
|
+
which show no banner, the button opens the Timeline and goes to the form there. A working run's header still opens its own.
|
|
164
|
+
- The console's API playground no longer says an empty `max_cost_usd` means no cap. When the agent has a default cap, <!-- changes/playground-cap-default.md -->
|
|
165
|
+
the box shows it (for example `$0.25`) and says an empty box uses it, as the agent page's run bar already did.
|
|
166
|
+
With a revision picked, the box shows that revision's default cap, since a run takes the cap of the revision it runs.
|
|
167
|
+
|
|
168
|
+
## 0.1.0-beta.46 (2026-11-18)
|
|
169
|
+
|
|
170
|
+
- The agent editor's Computer step has a Recording switch for a desktop, a phone or a browser: on, it saves `computer.record: true` (a video of each run), with a note that it records everything on the screen, including what a person types after taking over and any password shown. A switch of provider, or of kind to another that records, keeps the recording on; a switch to a sandbox or to no computer turns it off and says so on that kind's card. Before, any switch dropped `record`. A server without ffmpeg refuses the save, and its words show in the Computer step. <!-- changes/console-computer-record-toggle.md -->
|
|
171
|
+
- console: the Dev tools tab reads as a browser's network panel does. Each row of the table carries its bar on the time axis, the overview above it is compact, and the run's six figures take one line, so more calls show at once. <!-- changes/dev-tools-network-panel.md -->
|
|
172
|
+
- Zoom in, or drag across the overview, and the table lists only the calls that ran in that part of the run.
|
|
173
|
+
- A call's panel has a Timing section: what it waited before it started, how long it ran, and how long the next request or call took to start.
|
|
174
|
+
- The Breakdown view opens with run vitals: first answer, first tool call, largest input, most calls at once and longest pause. It also says when a request read nothing from cache after the cache was written.
|
|
175
|
+
- The table is one stop for the Tab key. The arrow keys move from row to row, Enter opens a row's panel, Tab goes into it, and Escape closes it from the table or the panel and returns to the row.
|
|
176
|
+
- The time axis shows under a forced-colours (contrast) theme, a failed call is striped as well as red, the smallest labels are 11px, and each run-page tab is tied to its panel for a screen reader.
|
|
177
|
+
- A learned workflow's check and its shadow audit compare two answers on the fields that carry the decision, not word for word. A definition's `learning` takes `agree_on`, dotted paths into the answer's JSON object (e.g. `["verdict.decision"]` or `["mcc", "riskTier"]`; 1 to 16 distinct paths, each up to 128 characters and 8 non-empty segments, kept in the order given; a bad one is a 422 under `definition.learning`): each path must resolve in both answers to equal values, and a path missing on either side disagrees. Left out, the whole answer is compared as before, and a check that agreed on none says to name the fields. The kyb template declares `verdict.decision` and inbound-lead `next_step.action`; a template's `learning` takes the same object, each path a required field of its output schema. The check record keeps `agree_on`, and its reason says "said what the agent said on mcc and riskTier"; the console's check line says "compared the whole answer" when there was none. <!-- changes/learning-agree-on.md -->
|
|
178
|
+
- The server README's Direct Particle-1 section records a live pass against Particle's API (2026-11-18): what it covered, <!-- changes/particle-live-pass.md -->
|
|
179
|
+
and what was not seen live (a rate limit or server error, and the estimate against Particle's own bill). It replaces
|
|
180
|
+
the sentence that said live validation was outstanding.
|
|
181
|
+
- A host that won't let the runner start a run as a user of its own (a spawn `EPERM`, as on Render) leaves the server up: the runner says why and claims no runs (`AGENTRUN_RUN_USER=same` lets it), instead of stopping the container. Any refusal of the runner's isolation does: the image's `runner` process says so once and waits, holding no claim and writing no heartbeat, until it is stopped (exit 0), and a server with its runner in its own process says so once on stderr and serves with no runner. A server whose runner refuses still serves its console and API, and its runs wait queued until the setting is fixed and the server restarts. <!-- changes/runner-isolation-refusal-stays-up.md -->
|
|
182
|
+
- An imported agent now runs as imported. Before, a project with no CLAUDE.md or AGENTS.md was imported with empty instructions, and a Codex session's model was pinned as it was named (`openai/gpt-6.1-codex`, the Codex app's own model, which no key here reaches). Every run was refused with 409 `agent_not_runnable`. Now such a project's agent gets short instructions of the import's own ("You work on the project <name>. Your past runs are its Codex sessions, imported. …"), and a session's model is pinned only when a model catalog here lists it. Otherwise the agent runs on the server's default model for its harness, and each imported run still names the model it ran on. The import says so for each one: `model not kept: <project> (codex) ran on openai/gpt-6.1-codex, which no model catalog here lists; its agent runs on the server's default model until you pick one`. Agents imported before this change keep their revisions: set their model and instructions on the agent page, or import into a new data directory. <!-- changes/imported-agent-runs-as-imported.md -->
|
|
183
|
+
- Outbound webhook messages name their agent, so a receiver no longer reads the trigger or the agent back to know whose it is: `trigger.failed` adds `agent_id` and `agent_name`, and `run.ended` and `run.needs_input` add `agent_name` beside `agent_id` (the agent's id when it has no name). No field is removed or renamed, and a message still carries no run output or input (#3130). <!-- changes/webhook-payload-names-agent.md -->
|
|
184
|
+
|
|
5
185
|
## 0.1.0-beta.45 (2026-11-18)
|
|
6
186
|
|
|
7
187
|
**Breaking:**
|
package/NOTICE
CHANGED
|
@@ -23,3 +23,7 @@ licensed under the MIT License:
|
|
|
23
23
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
24
24
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
25
25
|
SOFTWARE.
|
|
26
|
+
|
|
27
|
+
The console includes the eve icon from vercel/eve, copyright Vercel, Inc.,
|
|
28
|
+
licensed under Apache-2.0. Source: apps/docs/registry/channel/web/app/icon.svg
|
|
29
|
+
at commit 7d5340870dd2c75520162963d9ddb84d1580dbff.
|