@parcha/agentrun-serve 0.1.0-beta.59 → 0.1.0-beta.61

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.
Files changed (250) hide show
  1. package/CHANGELOG.md +135 -0
  2. package/README.md +230 -120
  3. package/dist/acp-package.d.ts +4 -0
  4. package/dist/agent-delete.d.ts +6 -9
  5. package/dist/agent-delete.js +5 -3
  6. package/dist/agent-package.js +11 -1
  7. package/dist/api-only.d.ts +21 -3
  8. package/dist/api-only.js +41 -6
  9. package/dist/archil-routes.d.ts +4 -1
  10. package/dist/archil-routes.js +15 -12
  11. package/dist/archil-settings.d.ts +18 -8
  12. package/dist/archil-settings.js +35 -17
  13. package/dist/browser-person.d.ts +1 -1
  14. package/dist/browser-person.js +1 -1
  15. package/dist/calendar/tools.js +1 -1
  16. package/dist/chatgpt-plan.d.ts +4 -2
  17. package/dist/chatgpt-plan.js +13 -3
  18. package/dist/claude-login-token.d.ts +5 -0
  19. package/dist/claude-login-token.js +8 -0
  20. package/dist/claude-login.d.ts +49 -3
  21. package/dist/claude-login.js +140 -10
  22. package/dist/cli-learning/connections.js +1 -1
  23. package/dist/cli.js +42 -10
  24. package/dist/console/assets/{backend-BztxEAvb.js → backend-C9ffXUR5.js} +1 -1
  25. package/dist/console/assets/index-BnZV3lvW.js +639 -0
  26. package/dist/console/assets/{share-L84tlUDW.js → share-B1o5mJ56.js} +2 -2
  27. package/dist/console/assets/{styles-CaRKlHke.js → styles-D_znYrHR.js} +31 -31
  28. package/dist/console/assets/styles-fjQBFfMv.css +1 -0
  29. package/dist/console/index.html +3 -3
  30. package/dist/console/share.html +3 -3
  31. package/dist/decisions.d.ts +1 -1
  32. package/dist/decisions.js +2 -2
  33. package/dist/errors.d.ts +1 -0
  34. package/dist/errors.js +2 -0
  35. package/dist/factory-activity.d.ts +68 -0
  36. package/dist/factory-activity.js +153 -0
  37. package/dist/factory-runs.d.ts +11 -0
  38. package/dist/factory-runs.js +52 -0
  39. package/dist/filed-tool.d.ts +32 -0
  40. package/dist/filed-tool.js +122 -0
  41. package/dist/harness-check.js +2 -1
  42. package/dist/harness-keys.d.ts +1 -2
  43. package/dist/harness-keys.js +1 -2
  44. package/dist/harness-recipe.d.ts +13 -2
  45. package/dist/harness-recipe.js +30 -7
  46. package/dist/harness-sign-in.js +2 -1
  47. package/dist/harness-table.d.ts +9 -3
  48. package/dist/harness-table.js +11 -5
  49. package/dist/harness.js +6 -2
  50. package/dist/import-worker.js +2 -2
  51. package/dist/import.d.ts +9 -0
  52. package/dist/import.js +11 -1
  53. package/dist/key-refusal.d.ts +5 -0
  54. package/dist/key-refusal.js +30 -18
  55. package/dist/learn/audit.d.ts +20 -22
  56. package/dist/learn/audit.js +72 -55
  57. package/dist/learn/check.js +1 -1
  58. package/dist/learn/commit.d.ts +35 -43
  59. package/dist/learn/commit.js +62 -270
  60. package/dist/learn/compile.d.ts +4 -4
  61. package/dist/learn/compile.js +6 -7
  62. package/dist/learn/corrections.js +1 -1
  63. package/dist/learn/delete.d.ts +5 -12
  64. package/dist/learn/delete.js +17 -30
  65. package/dist/learn/forget-run.d.ts +16 -0
  66. package/dist/learn/forget-run.js +53 -0
  67. package/dist/learn/index.js +1 -1
  68. package/dist/learn/learning-of.d.ts +0 -4
  69. package/dist/learn/learning-of.js +0 -5
  70. package/dist/learn/{folder.d.ts → legacy/folder.d.ts} +2 -1
  71. package/dist/learn/{folder.js → legacy/folder.js} +4 -7
  72. package/dist/learn/legacy/place.d.ts +16 -0
  73. package/dist/{workspace/learning-workspace.js → learn/legacy/place.js} +12 -42
  74. package/dist/learn/legacy/scrub.d.ts +28 -0
  75. package/dist/learn/legacy/scrub.js +258 -0
  76. package/dist/learn/promote.d.ts +40 -66
  77. package/dist/learn/promote.js +69 -207
  78. package/dist/learn/reset-ledger.d.ts +18 -0
  79. package/dist/learn/reset-ledger.js +14 -0
  80. package/dist/learn/rows.d.ts +186 -0
  81. package/dist/learn/rows.js +376 -0
  82. package/dist/learn/secrets.d.ts +2 -1
  83. package/dist/learn/secrets.js +2 -2
  84. package/dist/learn/workflow-draft.d.ts +4 -1
  85. package/dist/learn/workflow-draft.js +12 -2
  86. package/dist/learned-nodes.d.ts +36 -0
  87. package/dist/learned-nodes.js +23 -0
  88. package/dist/learning-reset.d.ts +1 -1
  89. package/dist/learning-reset.js +9 -11
  90. package/dist/learning-routes.d.ts +60 -81
  91. package/dist/learning-routes.js +187 -360
  92. package/dist/learning-words.d.ts +2 -0
  93. package/dist/learning-words.js +2 -0
  94. package/dist/learning.d.ts +18 -24
  95. package/dist/learning.js +35 -66
  96. package/dist/local-model.d.ts +144 -0
  97. package/dist/local-model.js +214 -0
  98. package/dist/mcp-gateway.d.ts +6 -0
  99. package/dist/mcp-gateway.js +44 -8
  100. package/dist/mcp-probe.d.ts +7 -0
  101. package/dist/mcp-probe.js +7 -0
  102. package/dist/mcp-resources.d.ts +1 -1
  103. package/dist/native/discovery.d.ts +6 -0
  104. package/dist/native/discovery.js +14 -1
  105. package/dist/native/remote.d.ts +5 -0
  106. package/dist/native/remote.js +16 -0
  107. package/dist/native/runtime.js +3 -2
  108. package/dist/observation/observer.d.ts +6 -6
  109. package/dist/ollama-provider.d.ts +35 -0
  110. package/dist/ollama-provider.js +108 -2
  111. package/dist/openapi.js +147 -35
  112. package/dist/place-offers.d.ts +3 -0
  113. package/dist/place-offers.js +3 -0
  114. package/dist/place.d.ts +35 -12
  115. package/dist/place.js +67 -29
  116. package/dist/print.js +1 -1
  117. package/dist/purged-workflow.d.ts +0 -33
  118. package/dist/purged-workflow.js +3 -71
  119. package/dist/redact/match.d.ts +36 -8
  120. package/dist/redact/match.js +179 -44
  121. package/dist/run-export.js +4 -2
  122. package/dist/run-launch.d.ts +3 -3
  123. package/dist/run-learning-served.d.ts +3 -3
  124. package/dist/run-learning-served.js +1 -1
  125. package/dist/run-listing.d.ts +1 -1
  126. package/dist/run-timeline-served.d.ts +1 -1
  127. package/dist/run-timeline-served.js +6 -5
  128. package/dist/run-usage.js +3 -2
  129. package/dist/runnable.js +25 -8
  130. package/dist/runner/adapter-loop.d.ts +8 -1
  131. package/dist/runner/adapter-loop.js +100 -20
  132. package/dist/runner/adapter-run-spec.d.ts +3 -5
  133. package/dist/runner/adapter-run-spec.js +35 -61
  134. package/dist/runner/adapters/pi.d.ts +3 -2
  135. package/dist/runner/adapters/pi.js +3 -1
  136. package/dist/runner/audit.d.ts +3 -5
  137. package/dist/runner/audit.js +28 -51
  138. package/dist/runner/cli-run-spec.js +19 -22
  139. package/dist/runner/compare-end.d.ts +1 -3
  140. package/dist/runner/compare-end.js +6 -2
  141. package/dist/runner/disk-free.d.ts +15 -4
  142. package/dist/runner/disk-free.js +25 -7
  143. package/dist/runner/dispatch.js +2 -2
  144. package/dist/runner/feedback-round.d.ts +1 -1
  145. package/dist/runner/feedback-round.js +2 -2
  146. package/dist/runner/harness-loops.d.ts +9 -0
  147. package/dist/runner/harness-loops.js +49 -7
  148. package/dist/runner/held.d.ts +4 -11
  149. package/dist/runner/held.js +0 -25
  150. package/dist/runner/journal-kinds.d.ts +4 -1
  151. package/dist/runner/journal-kinds.js +1 -1
  152. package/dist/runner/learned-first.d.ts +0 -2
  153. package/dist/runner/learned-first.js +3 -3
  154. package/dist/runner/learning-end.d.ts +12 -16
  155. package/dist/runner/learning-end.js +41 -75
  156. package/dist/runner/learning-seed.d.ts +13 -16
  157. package/dist/runner/learning-seed.js +13 -23
  158. package/dist/runner/live-ticker.js +3 -4
  159. package/dist/runner/main.js +1 -1
  160. package/dist/runner/mcp-claim.js +3 -2
  161. package/dist/runner/mcp-run.d.ts +23 -4
  162. package/dist/runner/mcp-run.js +31 -2
  163. package/dist/runner/metrics.d.ts +4 -0
  164. package/dist/runner/metrics.js +9 -3
  165. package/dist/runner/monid-run.js +3 -1
  166. package/dist/runner/native-loop.js +3 -4
  167. package/dist/runner/promotion.d.ts +19 -28
  168. package/dist/runner/promotion.js +50 -69
  169. package/dist/runner/redact.d.ts +3 -0
  170. package/dist/runner/redact.js +7 -0
  171. package/dist/runner/reflect-hook.d.ts +2 -2
  172. package/dist/runner/reflect-hook.js +4 -1
  173. package/dist/runner/run-child-host.d.ts +1 -9
  174. package/dist/runner/run-child-host.js +12 -68
  175. package/dist/runner/runner.d.ts +1 -1
  176. package/dist/runner/sdk-loop.js +7 -7
  177. package/dist/runner/workflow-calls.d.ts +4 -1
  178. package/dist/runner/workflow-calls.js +35 -18
  179. package/dist/runner/workflow-loop.d.ts +1 -1
  180. package/dist/runner/workflow-loop.js +3 -1
  181. package/dist/runner/workflow-spec.d.ts +4 -0
  182. package/dist/runner/workflow-spec.js +18 -13
  183. package/dist/runs-over-store.d.ts +2 -2
  184. package/dist/runs-over-store.js +1 -1
  185. package/dist/sdk/check.d.ts +1 -4
  186. package/dist/sdk/check.js +2 -3
  187. package/dist/sdk/runs.d.ts +20 -7
  188. package/dist/sdk/runs.js +105 -68
  189. package/dist/secret-cut.js +7 -4
  190. package/dist/secret-rules.js +97 -83
  191. package/dist/secrets.d.ts +4 -0
  192. package/dist/secrets.js +44 -10
  193. package/dist/server-fs.d.ts +1 -1
  194. package/dist/server-fs.js +1 -1
  195. package/dist/server-keys.d.ts +6 -0
  196. package/dist/server-keys.js +12 -0
  197. package/dist/server.d.ts +22 -15
  198. package/dist/server.js +311 -198
  199. package/dist/slack.js +2 -1
  200. package/dist/source-sync/auxiliary.js +2 -2
  201. package/dist/store/index.d.ts +1 -1
  202. package/dist/store/index.js +1 -1
  203. package/dist/store/postgres/migrate.js +3 -1
  204. package/dist/store/postgres/migrations/0032_learning_rows.sql +65 -0
  205. package/dist/store/schema.d.ts +28 -2
  206. package/dist/store/schema.js +81 -5
  207. package/dist/store/sqlite/learning-rows.d.ts +23 -0
  208. package/dist/store/sqlite/learning-rows.js +559 -0
  209. package/dist/store/sqlite/store.d.ts +7 -1
  210. package/dist/store/sqlite/store.js +84 -18
  211. package/dist/store/store.d.ts +219 -6
  212. package/dist/store/store.js +13 -0
  213. package/dist/store-reads/journal.d.ts +33 -3
  214. package/dist/store-reads/journal.js +99 -4
  215. package/dist/store-reads/learning.d.ts +23 -26
  216. package/dist/store-reads/learning.js +42 -30
  217. package/dist/store-reads/loop.js +1 -1
  218. package/dist/store-view.d.ts +24 -2
  219. package/dist/store-view.js +40 -11
  220. package/dist/templates.d.ts +10 -2
  221. package/dist/templates.js +31 -4
  222. package/dist/tool-plane.d.ts +27 -3
  223. package/dist/tool-plane.js +79 -4
  224. package/dist/tools.d.ts +12 -2
  225. package/dist/tools.js +42 -7
  226. package/dist/trigger-launch-hook.d.ts +2 -2
  227. package/dist/trigger-launch-hook.js +1 -1
  228. package/dist/triggers.d.ts +7 -4
  229. package/dist/triggers.js +4 -4
  230. package/dist/web-holds.d.ts +2 -0
  231. package/dist/web-holds.js +5 -2
  232. package/dist/web-run.js +2 -1
  233. package/dist/workspace/archil-exec.js +1 -1
  234. package/dist/workspace/archil.d.ts +1 -1
  235. package/dist/workspace/archil.js +1 -1
  236. package/dist/workspace/computer-deps.js +5 -3
  237. package/dist/workspace/computer-providers.d.ts +11 -1
  238. package/dist/workspace/computer-providers.js +29 -2
  239. package/dist/workspace/index.d.ts +1 -2
  240. package/dist/workspace/index.js +1 -2
  241. package/dist/workspace/paths.d.ts +0 -4
  242. package/dist/workspace/paths.js +0 -6
  243. package/dist/workspace/workspace.d.ts +1 -1
  244. package/dist/workspace/workspace.js +1 -1
  245. package/package.json +13 -13
  246. package/templates/TOOLS.md +46 -0
  247. package/dist/console/assets/index-LwNL4L9q.js +0 -619
  248. package/dist/console/assets/styles-DQo8rzY-.css +0 -1
  249. package/dist/workspace/learning-workspace.d.ts +0 -24
  250. /package/dist/learn/{learning.sh → legacy/learning.sh} +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,141 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## 0.1.0-beta.61 (2026-11-26)
6
+
7
+ **Breaking:**
8
+
9
+ - Who breaks: an agent whose own `tool_settings` pick `firecrawl-keyless`, `exa-keyless`, `auto` or `parallel` for `web_search` or `web_fetch` on a server set to `kernel` for `web_fetch`, or to `native` or `off` for `web_search`, and an agent that picks `native` for `web_search` on a server set to `off`. The server's setting is now a ceiling the agent's pick cannot raise: the pick resolves as the server's setting does, so its URLs and queries go to no keyless service and not to Parallel. A server's `deny` stays absolute. <!-- changes/web-tools-server-ceiling.md -->
10
+ - To let agents use Parallel, set it server-wide (`PUT /v2/settings/tools` with `parallel`); a server pick of `auto`, `firecrawl-keyless`, `exa-keyless` or `parallel` is still only a default an agent's pick replaces.
11
+ - Where the harness has no native search, such an agent's `web_search` under `native` is unavailable, and its new runs are refused (409). A run that already exists is not refused: its follow-up, resume or reclaim goes on with `web_search` unavailable, each call answering that it does not run here.
12
+ - The way back for `web_search`: set the server's `web_search` to `auto`, `firecrawl-keyless`, `exa-keyless` or `parallel`. For `web_fetch`: set the server's `web_fetch` to `auto`, `firecrawl-keyless` or `parallel`.
13
+ - A server setting applies at a run's next claim (its start, a follow-up, a resume or a reclaim). A claim keeps the plane it began with to its end, through any approval it waits on while it holds the run.
14
+ - Tool settings a claim cannot read fail closed: a capability kept on a keyless service or on Parallel runs nothing, its tool saying the server's tool settings could not be read. One a claim finds past a ceiling with nothing the setting allows in its place runs nothing either, never the value it was kept with.
15
+ - Capabilities' `why` says when the server's setting is a ceiling over an agent's pick ("the server's setting, kernel, is a ceiling over this agent's pick of auto").
16
+
17
+ **Changes:**
18
+
19
+ - Google Antigravity's recipe ships with the ACP adapter, and every command takes its name where it takes a recipe file: `agentrun harness install antigravity`, `agentrun harness-check --recipe antigravity`, `agentrun harness sign-in --recipe antigravity` and `agentrun-serve --harness-recipe antigravity` (or `AGENTRUN_SERVE_HARNESS_RECIPES=antigravity`). It is still a recipe, with the same pins, check, keys page and sign-in. Each command says which recipe it resolved. A file of that name in the directory is never passed over: the command is refused, saying both, and `./antigravity` names the file. The hints a recipe prints (install, check, sign-in) name a shipped recipe by its name, not by where the package is installed. The recipe file moved from `examples/harness-recipe/antigravity.json` to the package's `recipes/bundled/antigravity.json`. An AgentRun release that changes it asks for a new check and the keys to be saved again, as an edit of your own recipe file would. <!-- changes/antigravity-bundled.md -->
20
+
21
+ agy joins server and tool with a single `_`, so another MCP server's tool could spell one of AgentRun's (a server `agentrun_look` with a tool `up` reads as `mcp_agentrun_look_up`), be taken as AgentRun's by the recipe's `announces.prefix`, and have its permission request allowed once on the title tie without the host's gate. Under a recipe whose `announces.prefix` joins `agentrun` to the tool's name with one `_` or `-`, as the Antigravity recipe's `mcp_agentrun_` does, the agent is now given AgentRun's MCP server under a name of each start's own, `agentrun` and 8 random hex digits, and the prefix and the title tie read that name alone: any other server's call goes to the host's gate. Goose's and Cursor's recipes keep `agentrun`. agy caps a tool's name at 64 characters, so under that name a tool of AgentRun's may be named at most 43: a longer one refuses the start, naming it. An agent that announces a call with a field the tool's schema declares but the model left out has that announcement matched to its MCP call with the field or without it, so two such calls in flight keep their own ids. An `announces.extras` field that a tool's own input schema declares (a `toolSummary` argument of the tool's, at its top, in `allOf`, `anyOf` or `oneOf`, or behind a local `$ref`) is kept as that call's argument, never left out as agy's. Two calls in flight whose arguments differ only in that field, one sending it and one leaving it out, keep their own ids whichever reaches MCP first: a call matching more than one announcement only without the field waits while another call may still need one of them.
22
+ - The console has a Free page (`#/free`) that shows what runs for $0 on the server. It lists the free models, with the ones on this machine's Ollama first and each with its context size. A free catalog model also shows the server's request limit a run. It shows what `web_search` and `web_fetch` go through now, in the server's own `why` words. It lists the templates that run on a free model and ask for nothing else that costs money (no key, no MCP toolkit, no browser tool, and no computer but this server's own Docker sandbox), whatever tags their package gives them, each with "Use free", which opens the template's Apply screen with the agent on the free default model of the harness Apply makes it on (apply's `overrides.model`). Where that harness has no free model, "Use free" is off and the card says so. With no local model, the page says so and shows the Free local model card, which pulls the model that fits this machine through its own Ollama. Once a pull there ends, "Use free" opens Apply on that pulled model, though the server's default is another free model. <!-- changes/free-shelf.md -->
23
+ A completed run that cost $0 on free models shows a receipt on its page. The receipt gives the model, why the run was free (a local model on Ollama, a free model with its request limit a run, or both), the requests and tokens, each tool's calls and what they went through, the run's time and its $0 cost. For a run whose trace was cut at its cap, each tool's count reads "at least" and the receipt says how many rows it did not read. A failed or cancelled run, a run whose cost is unknown, and one that cost money show none. Nor does a run whose usage has anything unpriced or unbooked beside its free model requests: a usage total that is not exactly $0 (browser time with no booked charge), a line with no figure (computer time no price was set for), MCP calls no price meters, or computer time no claim held. GET /v2/runs/{id}/usage reads a `compute_time` line's `unheld_quantity` as 0 on a provider that bills nothing (Docker), so a free run on Docker keeps its receipt.
24
+ - A server with no model can pull a free local model in one click. The console's first screen shows a "Free local model" card beside the model key card: this machine in one line (system, memory, GPU, Ollama version), the model recommended for it and why, and a Pull button with a progress bar. Once the pull ends the model is in the picker with no restart, and the first screen's templates run on it: a template's agent made earlier on another model is left as it is, and a new one is made on the pulled model. A progress read that fails is followed by another, so the card still reaches ready. <!-- changes/ollama-fit.md -->
25
+ - `GET /settings/local-model` reads the machine (platform, arch, total memory, Apple silicon or the first NVIDIA GPU `nvidia-smi` names), whether the Ollama here answers `/api/version` and its version, the recommendation, and the pull here with its progress. `POST /settings/local-model/pull` with `{ "tag": "<tag>" }` starts a pull through that Ollama's `/api/pull`. Both take the owner's session alone, never the API token.
26
+ - The recommendation: `inkling-2-mini` on Apple silicon with Ollama 0.40.17 or later; everyone else gets `qwen3:8b`, or `qwen3:4b` where memory is short, or none with what to do instead. Each tag's memory floor is named in the why. Apple silicon on an older Ollama is told to update it for `inkling-2-mini`. With no Ollama running, the card says where to install it. A tag already pulled needs no pull.
27
+ - A pull takes only a tag the recommendation can name (422 for any other), runs only on one owner's own server on their own machine, never under the faux model or a model gateway, and never into an Ollama that `OLLAMA_HOST` puts on another machine (403 in words), and runs one at a time (409 `local_model_pulling`). The server logs its start, end and failure with the tag, the bytes and the milliseconds alone.
28
+ - With `OLLAMA_HOST` on another machine, the server recommends nothing: it reads only its own memory and GPU, so it says to pull where that Ollama runs.
29
+ - The card stays up from a pull's start until its Done, on the first screen and on `#/free`, so a capabilities read that lists the model first never takes it down before the pulled tag is picked.
30
+ - A pull says done only once this server's Ollama lists the pulled tag, so a template the card runs next runs on it: a listing that missed it is read again, and a tag never listed ends the pull failed, saying to pull again.
31
+ - With no Ollama running, the card offers Check again, and reads the machine again when the page is back in view, so Ollama installed or started meanwhile shows the Pull button with no reload.
32
+ - Under the faux model or a model gateway this server asks no Ollama: the read surface says so (`ollama.asked` false), and the card shows only why no pull is made here.
33
+ - A pull that gets no byte from Ollama for two minutes (a registry that stalls, an Ollama that wedges) ends failed, saying to press Pull again, and frees the one pull here, so the next starts instead of answering 409. A progress line over 64 KiB ends it too. The pull's `tag` in the API description is the enum of tags a recommendation names.
34
+ - API-only server (`AGENTRUN_API_ONLY=1`): a trigger that turned itself off after 5 failed firings in a row (`disabled.reason` `auto_paused`) can be turned on again. Before, every trigger route was `404` there and there is no console, so nothing could turn it back on: a redeploy left it as it was, and an unarchive turned on only the triggers the archive had turned off. The token now reads the triggers (`GET /triggers`, `GET /triggers/{id}`, `GET /triggers/{id}/firings`) and turns one on or off with `PATCH /triggers/{id}`. On this profile the PATCH takes `enabled` alone (any other field is `422 not_allowed`), and turns on only what the apply makes here: a schedule or a feed trigger, with the launch hook set. Anything else is `422` under `enabled`, since its firings would start runs on the server's keys or wait on a hook this profile refuses. That includes a schedule or feed trigger that messages a run (a `message_run` target, made before the profile): its firings never go to the launch hook, so on, each would open that run on the server's keys. The agent's unarchive leaves such a trigger off too, and names it. Making, deleting or firing a trigger, and its secret, are still `404`. <!-- changes/api-only-trigger-resume.md -->
35
+
36
+ The CLI's `agentrun triggers update <id> --enabled` (or `--no-enabled`) sends the same PATCH and works against an API-only server too. The Slack message for an auto-paused trigger now names each way to turn it on: the console, `agentrun triggers update <id> --enabled`, or `PATCH /v2/triggers/{id}` with `{"enabled": true}`. An API-only redeploy that skips a trigger the agent still has on now says that PATCH with `{"enabled": false}` turns it off. Before, it said to archive the agent.
37
+ - A refresh of Claude Code's login that finds its offers dropped by another probe makes the offers again without relisting runs or reading the keys again, since no key changed. A new Ollama listing does the same, and still works out again what a revision that names no model runs on, which reads that listing. <!-- changes/claude-login-offers-now.md -->
38
+ - In the console, an agent card's Run and Edit now go where that agent runs. For an agent this server runs, Run opens the agent's page, where its Run box is, and Edit opens its settings; before, both opened the coding-agent menu. Native, SDK and CLI agents keep the coding-agent menu. The runs list of an agent with no runs now points to the page's Run box when that agent runs here, instead of a Run agent button the page does not show. <!-- changes/console-card-run-here.md -->
39
+ - In Mode 2 (workspaces on Archil) a new agent that names no place now runs on the runner, with bash on Archil's serverless exec, even where Docker answers. Before, it got Docker's box, which can't mount Archil's workspaces, so every run was refused: a race could not start, and neither could an agent made with the form's default tools. `capabilities.places.default_place` is `{"mode": "runner"}` in Mode 2, and the start's Boxes line says so. A race lane whose run the server refuses now has its agent archived at once, so a refused race leaves no agents behind. <!-- changes/mode2-new-agents-on-runner.md -->
40
+ - MCP: when a run was handed no credential for a per_run server (no `mcp_auth` for it), or no account for a per-run Composio server, the model is no longer offered that server's tools. Before, the model saw the tools and every call came back refused. The run's timeline now says which server was left out and why, in the same words the refusal used. A message that hands the credential brings the tools back the next time the run picks up work, and a run handed the credential at the start gets them as before. A message that hands it while a turn is still going isn't put into that turn, whose tools can't change: it runs as the run's next turn, which has the tools, and the timeline says so. Every message sent after it waits behind it, so none runs first. If the run is waiting on a person's answer with a browser open, it stops waiting at once and parks on its question, so the answer is never held until the browser's time runs out; when it resumes, the messages run in the order they came. This applies to pi, Claude Code, OpenCode and the ACP agents, which take their tools again each time a run picks up work. Codex is the exception: it keeps the tools its thread started with, and a resume can't add new ones. A Codex run therefore keeps listing the server's tools, and their calls are refused, with nothing sent, until the credential comes. <!-- changes/per-run-mcp-left-out.md -->
41
+ - A saved secret now stays hidden when control characters that show as nothing (a NUL, an escape, a delete, a C1 control), or a U+FFFF that shows as a box at most, sit between its characters, whether raw, written as a JSON or Python escape, percent-encoded or as an HTML character reference, in a tool's output, a call's arguments, an answer or an imported transcript. Text with such characters and no secret in it is shown as before. <!-- changes/redact-control-characters.md -->
42
+ - With `AGENTRUN_RUN_KEYS=1`, an update apply that skips a template's trigger and keeps the agent's trigger of that name on now says, in the skip's warning, which of its firings are refused: one that would start a run of the new revision is refused 409 for the keys it owes and starts no run, but a `message_run` firing aimed at a run of an earlier revision that owes no keys still reaches that run, which may spend. Turning the trigger off stops both. In 0.1.0-beta.55 the warning said only that the trigger is kept and still fires. <!-- changes/run-keys-kept-trigger-spend.md -->
43
+ - `serve()`'s launch hook keeps its 10-second bound on every POST: the hook's `bound` signal, a test's seam, can cut a POST sooner, never later. In 0.1.0-beta.55 a `bound` given replaced the 10 seconds.
44
+ - A note on 0.1.0-beta.55's refusal of a `message_run` firing to a run that owes a key: a firing is checked as one that brings no keys, whatever the run holds then. So a `message_run` firing to a run mid-turn, still holding the keys its start or a person's message carried, is refused, while a person's message to that run passes on those keys. For a run whose template's keys the server does not hold, that is the safe side: a trigger's message never spends the keys a person handed that run. A run that owes no keys (an agent from no template, or one whose keys the server holds) is not checked, so a `message_run` firing to it mid-turn still runs on the keys its start or a person's message carried.
45
+ - The scrubber reads a call's command for an environment dump by its tokens, not by the shape of the command. It drops the line's quotes and escapes, lower-cases it, and splits it on anything but a letter, a digit, `_` or `-`. The call's whole output is one `env-dump` cut when any of these holds: <!-- changes/scrubber-env-words.md -->
46
+ - a token runs, names or reads the environment, wherever it stands: `env`, `printenv`, `envsubst`, `environ`, `getenv`, `$_ENV`, `$_SERVER`, `compgen`, `show-environment`, `inspect` or `xtrace`. This covers `sudo -n env`, `env FOO=1 printenv A`, `ssh host env`, `kubectl exec p -- env`, `cat</proc/self/environ`, `node -p 'process["env"]'`, `jq -rn 'env.A'` and shells nested to any depth;
47
+ - a print (`echo`, `printf`, an awk program's `print`) or a here-string stands in a line that expands a variable anywhere (`$A`, any `${…}`, cmd's `%A%`);
48
+ - `set` has nothing after it, or `set` or a shell has an xtrace flag (`set -x`, `bash -x`);
49
+ - `export`, `declare`, `typeset` or `readonly` has flags only or `-p`;
50
+ - `ps` has an `e` option;
51
+ - the line is longer than is read.
52
+
53
+ An env token in an argument or a file's name is read the same way (`grep env notes.txt`, `ls src/env.ts`, a commit message naming `env`). That over-cut is kept on purpose: it fails closed. A dotfile `.env` named in the command (`cat .env.example`, `source .env`) is a file, which `env-file` reads, not an env read; `process.env` and `Bun.env` are still read.
54
+
55
+ In a transcript with no command given, a `$`, `%` or `❯` prompt line whose command prints the environment cuts everything after it up to the next such prompt or a cut marker. A multi-line value, or a `#` or `>` line inside the output, no longer ends the cut.
56
+
57
+ A run's export cuts a file's content knowing the path the run wrote, and writes only the cut path into the bundle. A `.env.<held value>` file is still cut as an env file.
58
+ - A learned workflow call in a run's `workflow_calls` reads `refused` (`usd` 0) only while nothing was booked under its call id. A call whose earlier attempt spent before a crash cut it, and whose rerun was then refused (at the gate, or because a tool one of its call nodes runs was set to deny), now reads `failed` at what it booked, or `usd` null when a request of it has no known cost. Before, it read `refused` at $0, and a run whose calls all read so took the agent's path. <!-- changes/workflow-calls-booked.md -->
59
+ - An agent's `learned_workflow` call that the run's gate refuses (the tool set to deny, a person's deny of its ask, or the cap's wrap-up) is now on the run's `workflow_calls`, as the agent's, with outcome `refused` and `usd` 0, on pi and on every CLI harness. Before, it never reached the tool, kept no record and dropped out of `workflow_calls` and the learning ledger. A run whose learned calls were all refused ran no workflow: its `path` is now `agent` and it names no `workflow`, where it read `handed_back` with none. A Postgres open refused because an applied migration's text differs from this build's now names both files, the applied one and this build's, each with the start of its sha256, so a renamed or renumbered migration is plain to see. <!-- changes/workflow-calls-refused.md -->
60
+ - Workflow runs: a model node's tool answer (`web_search`, `web_fetch`) now passes the run's redactor before the node's model or the run's journal sees it, as an agentic run's tool answers do. Before, a search result or a page that echoed a key the run holds reached the node's model and was stored uncut. A web call's JSON is cut string by string, so it still parses and keeps its links. <!-- changes/workflow-node-tool-cut.md -->
61
+ - Each card on the Wrapped page has a "Download PNG" button that saves it as a PNG named for its year and card (`wrapped-2026-cover.png`); a browser that can't draw one gets a note beside the button instead. Setup's list of this machine's sessions names the tools it found, each by its own name, OpenCode included, where it used to say "from Claude Code, Codex and pi" whatever it found; while it counts, it says it is looking for coding-agent sessions. <!-- changes/wrapped-card-png-and-setup-sources.md -->
62
+
63
+ ## 0.1.0-beta.60 (2026-11-26)
64
+
65
+ **Breaking:**
66
+
67
+ - Turning on Claude Code's login on this machine at AgentRun's own login (`place` `agentrun`) is refused (403 `forbidden`) where `<data>/claude-login` is a link, in words that name the link and what it leads to: the new Sign out removes that folder whole, so it is a folder AgentRun keeps itself and never a link into another tree. Who breaks: a server whose `<data>/claude-login` was made a link to a folder elsewhere. What to do: remove the link (move what it led to into `<data>/claude-login` if you want that login kept), then turn the mode on again. <!-- changes/claude-login-folder-link-refused.md -->
68
+ - `GET /capabilities` no longer has `features.harness_keys.kept`, and its `features.harness_keys` is now the same for every caller. The console offers Settings → Harness keys wherever the server serves the keys' routes (`features.harness_keys.routes`), as it does Tool keys, so the tab now shows on a server started with no plan-billed recipe too, empty there. `GET /settings/harness-keys`, which any authenticated caller can read (saving and removing a key still take the owner's session), still lists each id whose recipe the server no longer names (`named: false`), so its keys can be removed. A client that read `kept` should read that list instead. <!-- changes/harness-keys-tab-routes.md -->
69
+ - An agent's learning (its corrections, learned workflows, promotions, grades and audits) is now kept as versioned rows in the server's store, SQLite or Postgres, in place of a git folder on the agent's disk and settings keys. Runners must be upgraded with the server: a server upgrade adds the tables (Postgres migration 0032, which raises the runner floor to 32, and SQLite schema version 17), and a runner of an earlier release is refused at its open (on Postgres, `RunnerBelowFloor`, naming the version it must know), since it would still keep learning in the folder and settings keys. Each agent starts again from nothing learned. Learning kept before the upgrade (a learning folder on disk or on an Archil disk, and the old settings keys) is not migrated, nothing reads it, and nothing removes it at the upgrade, but `DELETE /runs/{id}` still scrubs that run from it as before: its corrections line and learned workflows come off the local folder's current files in a host commit (its merges stay in the folder's git history until the agent's purge), its diff files go, the agent's learning folder goes from an Archil disk the run's launch named, and its grade and its promotion copies come off the old `learning.grades` and `learning.promotions` keys. An agent's purge removes the folder and those two keys whole, as before. Nothing else of it is removed, and `learning` stays a reserved folder name in an agent's home. Version ids (`main`, `commit`, a run's `learning.seed`) are now opaque save ids, still 40 hex characters. A run's purge deletes its learning rows in the same transaction (its notes, workflow versions, grades, and the promotions and audits of what it alone wrote), so nothing of it is refused or served later. The purge is itself a save, so a change computed before it is computed again, and a run that read the agent's learning before another run's purge has its learned files dropped (reason `purged_since_seed`, new in the closed list of a run's learning reasons); an owner's correction alone still lands. The purge also blanks what other promotion records and SDK runs' inboxes copied from the run (an inbox names every run that wrote a file of a workflow it delivered, its `README.md` as well as its `workflow.json`). An SDK start pinned by a server before the upgrade names none of those runs, so its receipt sent again (the same `Idempotency-Key`) answers `409 not_continuable`, and any run's purge empties its inbox: start a new run with a new key. A revision whose promotions the purge deletes keeps its K in the agent's reset ledger while another run is still billed against it, so the runs that carry its spend keep the same `share_usd`, `learning_usd` and `all_in_usd`; the entry goes with the purge of the last such run. Its learning diff goes too, and like every route of a purged run, `GET /runs/{id}/learning/diff` answers `410 purged`. The agent cost read drops its `degraded` field, and learning no longer runs git or a learning script except for that scrub. An API-only server (`AGENTRUN_API_ONLY=1`) now serves `GET /agents/{id}/learning/audits` with its token too, beside the loop, promotions and cost reads, so a backend's Learning tab can read an agent's audit ledger. <!-- changes/learning-store-rows.md -->
70
+ - On a server with no Docker box whose runner has no shell (Mode 1), a new agent with no place is refused, never sent to the runner or to another box, and `capabilities.places.default_place` is `null` there. Two things break. A create that used to succeed now fails: an agentic definition that names no place and would get the Docker box (it names no tools, or names a shell tool such as `bash` or a background tool) is `422 input_invalid` with `{field: "definition.place", reason: "missing"}`, and the message `name a box: this server has no Docker box for a new agent. Set place to {mode: sandbox, box: <one of: …>}, or to {mode: runner} to run without a shell.` The message lists the boxes this server has, or `<none is set up>`, and ends with why the Docker box is not here, in its own words with their fix (`docker: <why>.`, such as joining the docker group, then a restart); the `fix` names the place to set alone. Before, such an agent was saved with no place and ran on the runner with no shell. An edit that would save such a revision is refused the same way, and so is a template apply, or an `agentrun deploy`, of a package that names no `tools` and no `computer` list, whatever MCP tools the apply ticks: with Docker such an apply gets the Docker box and its shell tools, as a create does. Its `dry_run` is refused alike, in the same field, reason and words, with no plan, so `agentrun deploy` stops at the preview: no plan printed, no confirmation asked, no apply sent. And `capabilities.places.default_place`, still always sent, can be `null`: no default, so a new agent names its place. `default_reason` is there exactly when it is `null`, with the refusal's words. A client tells the cases apart by `default_place === null`, never by reading `default_reason`. <!-- changes/no-box-new-agent-names-a-box.md -->
71
+
72
+ Upgrading: by mode, where a new agent with no place goes now. Agents saved before the upgrade with no place and no tools keep running on the runner, in every mode: the store holds their tools as `[]`, the same as an agent that named none, so they are not refused.
73
+ - Refused (`name a box`; `default_place` is `null`): no Docker box, and the runner has no shell (Mode 1).
74
+ - Not refused: where Docker's box is available, a new agent gets it (`default_place` is `{"mode": "sandbox", "box": "docker"}`, no `default_reason`). In Mode 2, the runner's shell is Archil's serverless exec: a new agent with no place saves for the runner as before, and `default_place` is `{"mode": "runner"}`, no `default_reason`.
75
+
76
+ What to do on a Mode 1 server with no Docker: name the place, `"place": {"mode": "sandbox", "box": "<a box this server has>"}`, or `"place": {"mode": "runner"}` with no shell tool. To keep the runner without naming it, name the tools, with no shell tool among them (`"tools": []`, or `["read", "write"]`). A client that catches the refusal keys on `field` `definition.place` and `reason` `missing` (no new error code). A client that read `places.default_place.mode` checks for `null` first; the OpenAPI document marks the field `x-agentrun-serve: "place/5"`.
77
+ - The default box is the one whose provider descriptor sets `defaultBox` (Docker's). Another box that answers is never picked for a new agent.
78
+ - On Mode 1, a run of an agent saved earlier with no place and a shell tool, once Docker is gone, is `409 agent_not_runnable` in the same words. That run was already refused; only the words change.
79
+ - A package for an apply or a deploy on Mode 1 with no Docker names its tools (`tools: []` keeps the runner) or its computer list (`computer: [shell, none]`). One that already names either applies as before.
80
+ - A definition with no place that names a shell tool and the browser, on Mode 1 with no Docker, is refused at the shell tool (`not_an_option`): no place runs both, since a box refuses the browser, so the words say to remove one, never to name a box.
81
+ - Unchanged: a workflow, a definition that names its place (the runner included), and one whose tools need no shell.
82
+ - On Mode 1 with no Docker, the start's `Boxes:` line reads `Boxes: none, so a new agent must name its place: a box, or the runner.`, followed by Docker's reason. In Mode 2 it still reads `Boxes: none, so new agents run on the runner.` `agentrun doctor` reads `places.default_place`: with `null` it says a new agent must name its place, a box (listing the ready ones) or the runner, never that it runs in another box instead; otherwise it says what it said before.
83
+ - The console reads a `null` `default_place`: its new-agent form starts on neither the server nor a box (in the Computer step, no kind is picked), and Create waits until one is chosen, None included; on a server with no box, its place picker says to set one up for the agent, or choose On the server to run it without a shell.
84
+
85
+ **Changes:**
86
+
87
+ - Add Agent Factory, a kanban view of sessions reported to the server: waiting, working, needing attention, or with unknown source activity. Cards link to the existing run viewer and to GitHub work established by launch or trigger provenance. Reported active child conversations stay visible, SDK sessions and connected CLI sessions are labeled observed, with no stop or cancel offered, and ended failures and escalations needing attention appear separately. The same sessions also read as a list grouped by state, one row each, where a state's heading folds its rows away: a List and Cards switch beside the totals picks the view, and the browser keeps the pick. <!-- changes/agent-factory-visibility.md -->
88
+
89
+ Active and review scopes on the runs API filter before keyset pagination, including archived active executions and an audit's shadow run while it runs, while excluding imported history. A scoped page reads each run from the listing its row keeps, built once per change of the run as the runs list's items are, so a refresh builds no view of a run that has not changed; its journal is read again only to say who drives a desktop or phone that is up, or where a computer held for its owner stands. A GitHub link is what the server saved of the delivery that fired the run, so an example payload in a trigger's instructions is never taken for the event. The console refreshes bounded pages every 10 seconds, says beside Refresh when the sessions were last read, exposes remaining coverage, and keeps last-known cards visibly stale when a refresh fails. Its Control filter offers Managed and Observed whichever the loaded sessions have, and its top bar stays while the sessions scroll under it. This visibility layer does not schedule work, grant new controls, or infer verification or merge state.
90
+ - Agent37 needs only `AGENT37_API_KEY`. The server makes its own Ed25519 SSH key on first use, seals it in its store as it seals every saved key (the row `computer.agent37.ssh_key`, under `AGENTRUN_SEAL_KEY`), and registers its public half on the workspace (`POST /v1/ssh-keys`, named `agentrun-<hash>`) before its first instance, so the instance has it from boot. The one key serves every instance and outlives a restart on the same store. Claims or servers that reach first use together on one store make one key between them: the row is written only where none is, every one takes the key kept there, and only that key is registered. Before, a server took Agent37 only with `AGENT37_SSH_KEY` set to a key you made and registered yourself. <!-- changes/agent37-own-ssh-key.md -->
91
+ - `AGENT37_SSH_KEY` is now optional. When set, it is used as before, and nothing is made, stored or registered.
92
+ - A workspace that already holds Agent37's 20 SSH keys is refused before any instance, code `limit`, in words that name the cap and the way out: delete keys the workspace no longer needs (`agentrun-…` keys are ones AgentRun registered), or set `AGENT37_SSH_KEY`. No key is deleted. Any other 400 to the registration is a vendor error in Agent37's words.
93
+ - An instance made before the key was registered is tried again for up to three minutes after the registration (Agent37 hands a key to running instances within about two), within each call's own time. Past that the call is `denied`, and its words name the instance, the key's fingerprint and when it was registered.
94
+ - With no seal key, the server keeps its key in memory, so it makes and registers a new key each time it restarts. The conformance module does the same, so `COMPUTER_AGENT37_SSH_KEY` is optional. A key made that way stays on the workspace and counts toward the 20.
95
+ - The registration is a note naming the key by its fingerprint. The private key appears in no call, note, error or log.
96
+ - For callers of the package: a descriptor may declare `secrets: { option }`, the store (`ProviderSecrets`, `get` and `putIfAbsent`) where a provider keeps secrets it makes for itself. Serve passes its sealed store. Given no store, Agent37's provider keeps its key in the process's memory.
97
+ - Turning Archil on no longer asks for the region's S3 URL when serve knows the region. For `aws-us-east-1`, `aws-us-west-2`, `aws-eu-west-1` and `gcp-us-central1` (the regions Archil's SDK names a control plane for), `PUT /v2/workspace/archil` takes the region alone and saves that region's S3 endpoint (the control plane's host with `control.` made `s3.`, such as `https://s3.green.us-east-1.aws.prod.archil.com`); an `s3Url` given is still checked as https and used instead. The same holds where the server is started: `AGENTRUN_ARCHIL_REGION` alone is enough for a known region, and `AGENTRUN_ARCHIL_S3_URL` is needed only for another one. <!-- changes/archil-s3-url-from-region.md -->
98
+ - A region serve doesn't know, with no `s3Url`, is `422 input_invalid` at `s3Url` saying the region needs one and naming the regions serve knows; a server started that way stops in the same words. An `s3Url` that is not https, or empty, for a known region is refused naming that region's URL.
99
+ - `GET /v2/workspace/archil` (`x-agentrun-serve: "archil/2"`) adds `regions`, each region serve knows with its S3 URL, and, while on, `s3UrlFrom`: `region` when `s3Url` is the region's own, `given` otherwise.
100
+ - Settings → Workspace offers the known regions in the Region field, and leaves S3 URL empty for one of them, showing the region's URL as its placeholder.
101
+ - A disk-free runner reads a server started with `AGENTRUN_ARCHIL_REGION` alone as in Archil mode.
102
+ - A runner given `AGENTRUN_ARCHIL_REGION` without `AGENTRUN_ARCHIL_S3_URL` claims nothing while the server's S3 URL may be another (the server is started with `AGENTRUN_ARCHIL_S3_URL`, or its saved settings hold an `s3Url` other than the region's), and says on its presence row to hand it the server's S3 URL, so a runner and its server never reach a run's folder at two endpoints. `runner --check` lists `AGENTRUN_ARCHIL_S3_URL` as missing on such a runner when the server is started with it.
103
+ - Sign out of Claude Code's login on this machine: `POST /v2/settings/claude-login/sign-out` (operation `signOutClaudeLogin`), and a Sign out button on Settings → Model keys' Claude login row. Before, the row had no way to sign out or switch accounts: Turn off kept the login as the CLI holds it, so Turn on read the same account again with no sign-in page. <!-- changes/claude-login-sign-out.md -->
104
+ - On AgentRun's own login (`<data>/claude-login`) the sign-out ends a sign-in that waits, turns the mode off, runs the pinned CLI's own `claude auth logout` there (its credentials file and, on macOS, its Keychain item for that folder), then removes the folder, the login's signed-in note and the runner's token reader whatever the CLI said. The next Turn on reads not signed in and offers the CLI's sign-in, for the same account or another. Each removal stands alone: one that fails is named in the answer, and the rest, the reader's drop and the server's reread of the keys still happen. `confirmed` false adds a `message` saying what may remain: the CLI didn't confirm its own sign-out, or its step failed (named), or a file could not be removed. A link found at `<data>/claude-login` is removed alone, with the login's signed-in note, no CLI run through it and nothing it leads to touched.
105
+ - This machine's own login (`place` `machine`, the person's `~/.claude` or `CLAUDE_CONFIG_DIR`) is never signed out: the route answers 403 in words that say to run `claude auth logout` in a terminal there, and the console offers no Sign out on it.
106
+ - Runs already going on the login are left as a turn-off leaves them: each fails saying the login is signed out at its next read of it. Where each run is a user of its own, a run claimed on the login and started while the mode is off is refused at its start ("turned off or moved to another folder since this run's claim"), as after a turn-off. The claim checks the login's folder, not its account: a run claimed before Sign out and started after a new sign-in may run on the new account.
107
+ - Not guaranteed for a run still going where runs stay in the runner's process: its CLI holds the refresh token and may write a renewed pair back into `<data>/claude-login` after the sign-out, and nothing removes it when the run ends. Once such runs end, a turn-on that reads signed in again means Sign out again.
108
+ - The harness exports `claudeLogout(cli, login, { timeoutMs, path, platform })`: the CLI's `auth logout` with the sign-in's variables in the person's home, true when it exited 0 within its limit (15 s), false otherwise; it never throws.
109
+ - An MCP tool's answers can go to the run's files, for the skill's code, instead of coming back as the tool's result. A template sets it per tool with `mcp[].file: {<tool>: {folder, show}}` beside `pin`, and apply writes it into the agent's own tool settings as `mcp:<server>/<tool>: {file: {folder, show}}`. Each answer is written whole, credentials scrubbed, at `<folder>/<tool>-<time>-<id>.json` before the model gets its turn back. The tool's result is three lines: the answer's size and path, the value at each `show` path (at most 8, a string cut at 200 characters), and the answer's shape (keys and types to depth 2, array lengths, never a value). The shape names only keys that read as short names (a letter or `_` first, at most 32 letters, digits or `_`) and counts the rest, so a map keyed by emails shows none of them. The answer goes through neither the 60,000-character clip nor `evidence/mcp/`, however long it is. <!-- changes/mcp-filed-tool-results.md -->
110
+ - This keeps the answer out of the tool's result, not out of the model's reach. The model's own file tools (`read`, `grep`, `ls`, and `bash` on a computer) can still open the folder. A template that must keep the model off the answer shouldn't grant those tools, or should run its skill's code where the model can't read the output.
111
+ - An answer that is an error is filed the same way, and the tool's result is the same summary with `isError: true`, so the model can still react through a shown field such as `error.code`. Without the setting, error answers are shown as before.
112
+ - If the file can't be written, the call answers an error in the Workspace's words and shows none of the answer.
113
+ - A stored setting that no longer reads (a rule tightened since it was written, or a runner older than the server that wrote it) fails closed: every call of the tool is refused with an error naming the setting, and nothing is sent to the server. The owner sets it again or removes it.
114
+ - `folder` is 1 to 3 segments, none starting with a dot. A `show` path is 1 to 6 segments, each a key, an index or `-1` (the last item). A path that names a free-text field shows that text and defeats the option, so name only what the model needs to go on, such as the next page's cursor.
115
+ - The owner may change or remove the setting like any other in the agent's tool settings. With it removed, the tool's answers reach the model whole again, as before. The server's own tool settings and an MCP server's wildcard take no `file`.
116
+ - `GET /v2/templates` shows the setting on each tool that has one, and `GET /v2/agents/{id}/package` carries it back into the package's `mcp[].file`.
117
+ - An older serve refuses a package with `file` (an unknown field of its `mcp` entry), so a template that uses it needs this release.
118
+ - On macOS, a native Claude Code runtime now finds the person's login when the server was started without `USER`, as a service launchd starts may be. The `claude` it starts for the sign-in check and for each turn names its Keychain item's account by `USER`, and without one it looked under `unknown`, read signed out and refused every turn. Where the server's environment has no `USER` or `LOGNAME`, or an empty one, they are now set to the user the server runs as; a `USER` it has is kept as it is. <!-- changes/claude-keychain-native-user.md -->
119
+
120
+ At AgentRun's own login folder, the Keychain item an earlier console sign-in left under the account `unknown` is now deleted once the item under the Mac user is there: after a sign-in from the console, or at the first status check that reads signed in. Items of this machine's own Claude Code login, and items under any other account, are never touched.
121
+ - Every console page with a top bar now keeps the bar in view while the page scrolls under it. Before, these pages scrolled as a whole, bar and all: Agents, Templates and a template's page, Triggers, the Learning Dojo, Suggested agents, a connected agent's page, New race, a race, and Compare runs. Settings → Demo now scrolls under the Settings tabs as the other Settings pages do. <!-- changes/console-page-bars-pinned.md -->
122
+ - OpenRouter, Anthropic and Parallel now map a 402 (the account is out of credit) to `payment_required`, as Jev does. It was `http`. A workflow decision on an out-of-credit account is now booked at $0, and serve's run cost says $0, where it booked the hold. <!-- changes/decisions-payment-required.md -->
123
+ - dsl: in a map with `onItemFailure: "collect"`, a decision that answers `payment_required` now fails the run, as `auth` does, since every item would get the same 402. Before, a 402 was `http`, so each item failed on its own, booked at its hold, and the map went on.
124
+ - A recipe the server is started with (`--harness-recipe`) is now always in `GET /v2/capabilities`. Until it is installed, checked and has its keys or sign-in, its offer says `available: false` and its `reason` holds the code (`HARNESS_NOT_INSTALLED`, `HARNESS_NOT_CHECKED`, `HARNESS_KEYS_NOT_SAVED` or `HARNESS_NOT_SIGNED_IN`) and the command that fixes it. Before, it was left out of the list, so the console showed nothing to say why it was missing. A definition naming it still saves with a warning, and its run is refused with the same reason, as before. <!-- changes/harness-unchecked-listed.md -->
125
+ - OTLP redaction now also holds a credential that `OTEL_EXPORTER_OTLP_HEADERS` or an endpoint writes percent-encoded. A line quoting such a credential, as written or decoded, no longer prints it. The forms covered: <!-- changes/otel-encoded-credentials-held.md -->
126
+ - a credential with `%2C` in it, kept whole rather than cut at the encoded comma;
127
+ - a credential before an `&` written `%26`, or with a `%20` in it before one;
128
+ - a credential inside quotes written `%22` or `%27`;
129
+ - a pair value that follows an empty first `;`.
130
+ - Two reads of the ChatGPT sign-in that overlap no longer answer oldest last. Before, a server could read signed in again after it had found the sign-in expired (another process's renewal refused for good), until its next read. Now the newest read's state stays. <!-- changes/plan-read-newest.md -->
131
+ - A saved secret now stays hidden in more spellings: HTML references such as `&amp;`, zero-padded or unterminated numeric references, a "+" between halves split across strings, and a single-quoted dict. A run whose learned workflow start was withheld still records that workflow's name. The run graph now says when its node states are withheld. A console polling a run no longer re-checks unchanged tool arguments on every read. <!-- changes/redact-followup-spellings.md -->
132
+ - A run's rows are cut of its held values once per text, not once per read. A reader that follows a run (the console's live Timeline, a run's view polled) renders its rows on each change, and each render cut every text of the run again, so a long run cost the server work that grew with the square of its turns and slowed the run itself: a run of 61 web searches spent most of its time redacting what it had already redacted. A second read now cuts no text again; a key saved, rotated or reordered since cuts them all again, what is kept is bounded at 32 MiB per store (the oldest dropped first), and a deleted or purged run's texts are dropped from memory with its answer. <!-- changes/run-rows-cut-once.md -->
133
+ - An agent in a sandbox box is no longer refused for want of a model key that is set, on a machine where Claude Code is signed in. With Claude Code's login on, an agent in a box (a pi agent on an OpenRouter model in E2B, say) read as having no model key at all, saved in Settings → Model keys or set where AgentRun starts: its run was refused with "No OpenRouter key here …", its save warned the same, and its learning page read no model, while the same agent on the runner ran. <!-- changes/sandbox-place-keeps-model-keys.md -->
134
+ - Each `web_search` with Jev on also sends TypeSafe each result's published date, when the provider gives one, along with its URL, title and snippet. Searches already sent the date, but GET /capabilities' `why` and the README left it out. Both now name it. <!-- changes/serve-jev-search-published-date.md -->
135
+ - The web tools' Jev requests no longer follow a redirect. A 307 from the TypeSafe host fails the sift or the passage pick, so the key never goes to another address, and the search or fetch answers as it does when Jev is down. <!-- changes/serve-jev-web-redirect-refused.md -->
136
+ - In the console, editing a trigger, picking another agent and then picking the trigger's own agent again now brings back the input the trigger had. Before, the first pick discarded the stored input, so saving after the switch back sent the target again with the typed fields blank and without the keys no field shows (a `note` written through the API), and nothing on the page said so. <!-- changes/trigger-edit-agent-switch-back.md -->
137
+ - A provider setting named `constructor` or `__proto__` is now reported as a setting the provider does not take; before, checking it threw. The server holds a keyless provider for at most 25 hours from now, even when its Retry-After or reset names a later time. <!-- changes/web-settings-own-checks-hold-bound.md -->
138
+ - `DELETE /runs/{id}` empties an SDK start pinned before the learning-rows upgrade only when that start belongs to the purged run's agent. Before, a run's purge emptied every such inbox on the server, including other agents' and other tenants'. Those receipts already answer `409 not_continuable`, so nothing was disclosed; the purge now writes only its own agent's rows. <!-- changes/sdk-legacy-inbox-scrub-agent.md -->
139
+
5
140
  ## 0.1.0-beta.59 (2026-11-25)
6
141
 
7
142
  **Breaking:**