@parcha/agentrun-serve 0.1.0-beta.36 → 0.1.0-beta.37

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 (325) hide show
  1. package/CHANGELOG.md +170 -0
  2. package/README.md +158 -52
  3. package/dist/attach-conformance-cli.d.ts +1 -0
  4. package/dist/attach-conformance-cli.js +18 -0
  5. package/dist/attach-conformance.d.ts +25 -0
  6. package/dist/attach-conformance.js +343 -0
  7. package/dist/browser-cost.d.ts +1 -1
  8. package/dist/browser-live.d.ts +20 -8
  9. package/dist/browser-live.js +50 -27
  10. package/dist/cap.d.ts +0 -17
  11. package/dist/cap.js +0 -91
  12. package/dist/catalog.d.ts +1 -12
  13. package/dist/catalog.js +3 -33
  14. package/dist/cli.js +13 -4
  15. package/dist/composio-preset.d.ts +36 -0
  16. package/dist/composio-preset.js +179 -0
  17. package/dist/computer-attach.d.ts +125 -0
  18. package/dist/computer-attach.js +330 -0
  19. package/dist/computer-calls.d.ts +48 -0
  20. package/dist/computer-calls.js +126 -0
  21. package/dist/computer-channel.d.ts +57 -0
  22. package/dist/computer-channel.js +115 -0
  23. package/dist/computer-commands.d.ts +1 -1
  24. package/dist/computer-held-routes.d.ts +35 -0
  25. package/dist/computer-held-routes.js +106 -0
  26. package/dist/computer-held.d.ts +48 -0
  27. package/dist/computer-held.js +87 -0
  28. package/dist/computer-keys.d.ts +21 -1
  29. package/dist/computer-keys.js +53 -11
  30. package/dist/computer-live.d.ts +160 -0
  31. package/dist/computer-live.js +643 -0
  32. package/dist/computer-view.d.ts +13 -0
  33. package/dist/computer-view.js +50 -3
  34. package/dist/computer-viewer.d.ts +6 -0
  35. package/dist/computer-viewer.js +297 -0
  36. package/dist/computers.d.ts +33 -7
  37. package/dist/computers.js +50 -8
  38. package/dist/console/assets/index-Cn6JX1uH.js +563 -0
  39. package/dist/console/assets/index-DRN62V5v.css +1 -0
  40. package/dist/console/index.html +2 -2
  41. package/dist/faux-computers.d.ts +9 -20
  42. package/dist/faux-computers.js +53 -25
  43. package/dist/github-connection.d.ts +10 -2
  44. package/dist/github-connection.js +65 -2
  45. package/dist/github-faux.js +1 -1
  46. package/dist/graph-view.d.ts +1 -1
  47. package/dist/harness.d.ts +1 -0
  48. package/dist/harness.js +35 -1
  49. package/dist/host-tools.d.ts +1 -1
  50. package/dist/hosted-search.d.ts +5 -4
  51. package/dist/hosted-search.js +2 -7
  52. package/dist/import-sources.d.ts +10 -0
  53. package/dist/import-sources.js +44 -2
  54. package/dist/import.d.ts +3 -3
  55. package/dist/import.js +37 -6
  56. package/dist/learn/check.d.ts +4 -1
  57. package/dist/learn/check.js +1 -1
  58. package/dist/learn/commit.d.ts +4 -2
  59. package/dist/learn/commit.js +5 -5
  60. package/dist/learn/folder.d.ts +6 -0
  61. package/dist/learn/folder.js +4 -1
  62. package/dist/learn/general.d.ts +66 -0
  63. package/dist/learn/general.js +73 -0
  64. package/dist/learn/grade.d.ts +4 -0
  65. package/dist/learn/grade.js +22 -1
  66. package/dist/learn/reflect.d.ts +10 -1
  67. package/dist/learn/reflect.js +14 -4
  68. package/dist/learn/skills.d.ts +33 -5
  69. package/dist/learn/skills.js +53 -7
  70. package/dist/learned-workflow.d.ts +24 -0
  71. package/dist/learned-workflow.js +66 -3
  72. package/dist/learning-batch.d.ts +283 -0
  73. package/dist/learning-batch.js +574 -0
  74. package/dist/learning-evals.d.ts +33 -0
  75. package/dist/learning-evals.js +98 -0
  76. package/dist/learning-routes.d.ts +25 -2
  77. package/dist/learning-routes.js +39 -6
  78. package/dist/learning-words.d.ts +6 -0
  79. package/dist/learning-words.js +6 -0
  80. package/dist/learning.d.ts +28 -15
  81. package/dist/learning.js +84 -44
  82. package/dist/live/stream.js +6 -3
  83. package/dist/live/translate.d.ts +4 -3
  84. package/dist/live/translate.js +8 -4
  85. package/dist/live-reach.d.ts +37 -0
  86. package/dist/live-reach.js +62 -0
  87. package/dist/mcp-gateway.d.ts +9 -0
  88. package/dist/mcp-gateway.js +60 -11
  89. package/dist/mcp-oauth.d.ts +57 -7
  90. package/dist/mcp-oauth.js +133 -18
  91. package/dist/mcp-private-hosts.d.ts +4 -4
  92. package/dist/mcp-private-hosts.js +20 -12
  93. package/dist/mcp-probe.d.ts +19 -2
  94. package/dist/mcp-probe.js +44 -9
  95. package/dist/mcp-secret-writes.js +4 -0
  96. package/dist/mcp-servers-store.d.ts +38 -15
  97. package/dist/mcp-servers-store.js +112 -20
  98. package/dist/mcp-store.d.ts +10 -4
  99. package/dist/mcp-store.js +17 -6
  100. package/dist/model-form.d.ts +26 -0
  101. package/dist/model-form.js +80 -0
  102. package/dist/model.js +23 -10
  103. package/dist/openapi.js +386 -21
  104. package/dist/page.d.ts +18 -0
  105. package/dist/page.js +48 -20
  106. package/dist/paid-calls.d.ts +1 -1
  107. package/dist/place-offers.d.ts +2 -3
  108. package/dist/place-offers.js +3 -7
  109. package/dist/place.js +1 -2
  110. package/dist/print.d.ts +15 -1
  111. package/dist/print.js +14 -3
  112. package/dist/propose.d.ts +3 -0
  113. package/dist/propose.js +13 -5
  114. package/dist/provider.js +3 -2
  115. package/dist/reflect-range.d.ts +8 -1
  116. package/dist/reflect-range.js +1 -1
  117. package/dist/run-launch.d.ts +14 -2
  118. package/dist/run-launch.js +9 -4
  119. package/dist/run-learning-served.d.ts +2 -2
  120. package/dist/run-reads-over-store.d.ts +1 -1
  121. package/dist/run-repo.d.ts +20 -0
  122. package/dist/run-repo.js +63 -0
  123. package/dist/run-timeline-served.d.ts +1 -1
  124. package/dist/run-view.d.ts +3 -3
  125. package/dist/run-view.js +14 -7
  126. package/dist/runner/adapter-loop.d.ts +23 -7
  127. package/dist/runner/adapter-loop.js +648 -62
  128. package/dist/runner/adapter-run-spec.d.ts +11 -3
  129. package/dist/runner/adapter-run-spec.js +77 -22
  130. package/dist/runner/adapters/pi-computer.d.ts +7 -0
  131. package/dist/runner/adapters/pi-computer.js +43 -0
  132. package/dist/runner/adapters/pi.d.ts +9 -4
  133. package/dist/runner/adapters/pi.js +76 -14
  134. package/dist/runner/beside.d.ts +7 -3
  135. package/dist/runner/beside.js +21 -11
  136. package/dist/runner/claim-secrets.d.ts +4 -0
  137. package/dist/runner/claim-secrets.js +6 -1
  138. package/dist/runner/cli-run-spec.d.ts +20 -3
  139. package/dist/runner/cli-run-spec.js +113 -43
  140. package/dist/runner/commands.d.ts +3 -1
  141. package/dist/runner/commands.js +28 -3
  142. package/dist/runner/computer-channel.d.ts +34 -0
  143. package/dist/runner/computer-channel.js +61 -0
  144. package/dist/runner/conformance/harness.js +80 -14
  145. package/dist/runner/conformance/subject.d.ts +1 -1
  146. package/dist/runner/dispatch.js +3 -0
  147. package/dist/runner/end-of-run.d.ts +22 -12
  148. package/dist/runner/end-of-run.js +38 -16
  149. package/dist/runner/github-app.d.ts +2 -1
  150. package/dist/runner/github-app.js +4 -2
  151. package/dist/runner/harness-loops.js +15 -1
  152. package/dist/runner/held-run.d.ts +65 -0
  153. package/dist/runner/held-run.js +158 -0
  154. package/dist/runner/journal-kinds.d.ts +20 -1
  155. package/dist/runner/journal-kinds.js +14 -0
  156. package/dist/runner/journal-reader.d.ts +5 -4
  157. package/dist/runner/journal-reader.js +12 -10
  158. package/dist/runner/learning-ask.d.ts +7 -1
  159. package/dist/runner/learning-ask.js +21 -6
  160. package/dist/runner/learning-dispatch.d.ts +22 -0
  161. package/dist/runner/learning-dispatch.js +77 -10
  162. package/dist/runner/learning-end.d.ts +22 -1
  163. package/dist/runner/learning-end.js +92 -12
  164. package/dist/runner/learning-factory.d.ts +1 -1
  165. package/dist/runner/learning-factory.js +11 -5
  166. package/dist/runner/learning-loop.d.ts +67 -7
  167. package/dist/runner/learning-loop.js +173 -21
  168. package/dist/runner/learning-seed.d.ts +7 -0
  169. package/dist/runner/learning-seed.js +13 -0
  170. package/dist/runner/live-ticker.js +1 -0
  171. package/dist/runner/loop-contract.d.ts +8 -1
  172. package/dist/runner/loop.d.ts +5 -1
  173. package/dist/runner/loop.js +2 -1
  174. package/dist/runner/main.d.ts +13 -1
  175. package/dist/runner/main.js +27 -5
  176. package/dist/runner/mcp-claim.d.ts +10 -7
  177. package/dist/runner/mcp-claim.js +113 -24
  178. package/dist/runner/mcp-github.js +1 -1
  179. package/dist/runner/mcp-run.d.ts +5 -5
  180. package/dist/runner/mcp-run.js +15 -3
  181. package/dist/runner/metrics.d.ts +11 -2
  182. package/dist/runner/metrics.js +12 -2
  183. package/dist/runner/pr-checkout.d.ts +1 -0
  184. package/dist/runner/pr-checkout.js +1 -1
  185. package/dist/runner/reflect-hook.d.ts +18 -0
  186. package/dist/runner/reflect-hook.js +20 -8
  187. package/dist/runner/runner.d.ts +26 -0
  188. package/dist/runner/runner.js +184 -15
  189. package/dist/runner/scratch-sweep.d.ts +13 -0
  190. package/dist/runner/scratch-sweep.js +62 -0
  191. package/dist/runner/sessions.d.ts +1 -1
  192. package/dist/runner/store-port.d.ts +4 -2
  193. package/dist/runner/store-secrets.js +4 -3
  194. package/dist/runner/subagent.js +3 -1
  195. package/dist/runner/workflow-host.d.ts +6 -1
  196. package/dist/runner/workflow-host.js +1 -1
  197. package/dist/runner/workflow-loop.d.ts +1 -1
  198. package/dist/runner/workflow-spec.d.ts +14 -2
  199. package/dist/runner/workflow-spec.js +56 -20
  200. package/dist/runs-over-store.d.ts +6 -1
  201. package/dist/runs-over-store.js +38 -9
  202. package/dist/seal-key.js +3 -3
  203. package/dist/sealed-settings-store.d.ts +5 -2
  204. package/dist/sealed-settings-store.js +10 -4
  205. package/dist/secret-writes.d.ts +5 -4
  206. package/dist/secret-writes.js +5 -4
  207. package/dist/server-secrets-store.d.ts +4 -3
  208. package/dist/server-secrets-store.js +15 -9
  209. package/dist/server-secrets.js +3 -2
  210. package/dist/server.d.ts +43 -14
  211. package/dist/server.js +472 -126
  212. package/dist/settings-wake.d.ts +21 -0
  213. package/dist/settings-wake.js +59 -0
  214. package/dist/standard-webhooks.d.ts +4 -1
  215. package/dist/standard-webhooks.js +8 -4
  216. package/dist/store/command-wake.d.ts +12 -0
  217. package/dist/store/command-wake.js +37 -0
  218. package/dist/store/dialect.d.ts +6 -0
  219. package/dist/store/dialect.js +5 -0
  220. package/dist/store/index.d.ts +1 -1
  221. package/dist/store/journal/storage.d.ts +3 -2
  222. package/dist/store/journal/storage.js +13 -5
  223. package/dist/store/postgres/dialect.js +4 -0
  224. package/dist/store/postgres/migrations/0005_learning_rounds.sql +14 -0
  225. package/dist/store/postgres/migrations/0006_run_changes_channel_attempts.sql +57 -0
  226. package/dist/store/postgres/migrations/0007_viewer_host.sql +11 -0
  227. package/dist/store/postgres/migrations/0008_paired_computers.sql +30 -0
  228. package/dist/store/postgres/migrations/0009_commands_answer.sql +10 -0
  229. package/dist/store/schema.d.ts +1 -1
  230. package/dist/store/schema.js +77 -8
  231. package/dist/store/sqlite/run-patch.d.ts +7 -5
  232. package/dist/store/sqlite/run-patch.js +28 -13
  233. package/dist/store/sqlite/store.js +272 -54
  234. package/dist/store/store.d.ts +268 -9
  235. package/dist/store/store.js +12 -1
  236. package/dist/store-reads/cap.d.ts +1 -1
  237. package/dist/store-reads/cap.js +8 -1
  238. package/dist/store-reads/decisions.d.ts +2 -2
  239. package/dist/store-reads/decisions.js +1 -1
  240. package/dist/store-reads/import-summary.d.ts +1 -1
  241. package/dist/store-reads/journal.d.ts +5 -4
  242. package/dist/store-reads/journal.js +73 -15
  243. package/dist/store-reads/learning.d.ts +20 -4
  244. package/dist/store-reads/learning.js +74 -18
  245. package/dist/store-reads/runs.d.ts +1 -1
  246. package/dist/store-reads/workflow.d.ts +1 -1
  247. package/dist/store-view.d.ts +5 -0
  248. package/dist/store-view.js +26 -11
  249. package/dist/template-eval.js +6 -4
  250. package/dist/template-github-permissions.d.ts +22 -8
  251. package/dist/template-github-permissions.js +35 -15
  252. package/dist/timeline/timeline.d.ts +27 -0
  253. package/dist/timeline/timeline.js +10 -9
  254. package/dist/timeline/util.d.ts +4 -0
  255. package/dist/timeline/util.js +14 -0
  256. package/dist/tool-budget.d.ts +19 -7
  257. package/dist/tool-budget.js +14 -8
  258. package/dist/tool-gate.d.ts +16 -9
  259. package/dist/tool-gate.js +53 -42
  260. package/dist/tool-plane.d.ts +16 -12
  261. package/dist/tool-plane.js +9 -4
  262. package/dist/tools.d.ts +13 -4
  263. package/dist/tools.js +13 -4
  264. package/dist/trigger-adapter.d.ts +4 -0
  265. package/dist/trigger-secrets-shown.d.ts +2 -2
  266. package/dist/trigger-secrets-shown.js +1 -1
  267. package/dist/trigger-signatures.d.ts +25 -6
  268. package/dist/trigger-signatures.js +41 -7
  269. package/dist/trigger-targets.d.ts +2 -0
  270. package/dist/trigger-targets.js +1 -0
  271. package/dist/trigger-webhook.js +5 -2
  272. package/dist/triggers.d.ts +7 -3
  273. package/dist/triggers.js +35 -5
  274. package/dist/turns.js +16 -1
  275. package/dist/validate.js +11 -1
  276. package/dist/web-fetch.d.ts +1 -1
  277. package/dist/web-search.d.ts +10 -5
  278. package/dist/web-search.js +7 -6
  279. package/dist/webhooks.d.ts +145 -102
  280. package/dist/webhooks.js +559 -322
  281. package/dist/workflow/decisions.d.ts +1 -1
  282. package/dist/workflow/node-runner.d.ts +2 -1
  283. package/dist/workflow/node.d.ts +2 -1
  284. package/dist/workflow/node.js +3 -1
  285. package/dist/workflow/pi-versions.d.ts +23 -0
  286. package/dist/workflow/pi-versions.js +57 -0
  287. package/dist/workflow/record-tool.d.ts +2 -1
  288. package/dist/workflow/store.d.ts +1 -1
  289. package/dist/workflow/task.js +3 -2
  290. package/dist/workflow-run.d.ts +1 -1
  291. package/dist/workspace/attached-computers.d.ts +41 -0
  292. package/dist/workspace/attached-computers.js +114 -0
  293. package/dist/workspace/computer-deps.d.ts +16 -9
  294. package/dist/workspace/computer-deps.js +19 -7
  295. package/dist/workspace/computer-for-claim.d.ts +17 -8
  296. package/dist/workspace/computer-for-claim.js +62 -21
  297. package/dist/workspace/computer-hold.d.ts +11 -27
  298. package/dist/workspace/computer-hold.js +36 -56
  299. package/dist/workspace/computer-ledger.d.ts +3 -1
  300. package/dist/workspace/computer-ledger.js +4 -0
  301. package/dist/workspace/computer-mcp.d.ts +25 -0
  302. package/dist/workspace/computer-mcp.js +41 -0
  303. package/dist/workspace/computer-ports.d.ts +4 -13
  304. package/dist/workspace/computer-ports.js +4 -107
  305. package/dist/workspace/computer-script.d.ts +37 -0
  306. package/dist/workspace/computer-script.js +138 -0
  307. package/dist/workspace/executors.d.ts +1 -1
  308. package/dist/workspace/index.d.ts +4 -2
  309. package/dist/workspace/index.js +3 -1
  310. package/dist/workspace/kind-skills/desktop/SKILL.md +119 -84
  311. package/dist/workspace/kind-skills/phone/SKILL.md +100 -85
  312. package/dist/workspace/resolve-computer.d.ts +3 -0
  313. package/dist/workspace/resolve-computer.js +8 -2
  314. package/dist/workspace/run-tools.d.ts +32 -15
  315. package/dist/workspace/run-tools.js +23 -30
  316. package/package.json +19 -16
  317. package/templates/market-monitor/agent.md +1 -1
  318. package/dist/console/assets/index-BI4Byidu.js +0 -550
  319. package/dist/console/assets/index-C19gUF2n.css +0 -1
  320. package/dist/run-db.d.ts +0 -53
  321. package/dist/run-db.js +0 -116
  322. package/dist/workflow/readers.d.ts +0 -36
  323. package/dist/workflow/readers.js +0 -145
  324. package/dist/workflow/wal.d.ts +0 -11
  325. package/dist/workflow/wal.js +0 -106
package/dist/server.d.ts CHANGED
@@ -5,9 +5,11 @@ import { type Place } from "./place.js";
5
5
  import { type Store } from "./store/index.js";
6
6
  import { type BoxOffer } from "./place-offers.js";
7
7
  import { type StoredKeys } from "./secrets.js";
8
+ import { type ComposioControl } from "./composio-preset.js";
8
9
  import type { TriggerAdapter } from "./trigger-adapter.js";
9
10
  import { type TriggerClock } from "./triggers.js";
10
11
  import { type ToolSettingsMap } from "./tool-plane.js";
12
+ import { AttachHub } from "@parcha/agentrun-computer";
11
13
  export declare const CONTRACT = "agentrun.v2/0";
12
14
  export declare const DEFAULT_PORT = 7340;
13
15
  export type ServeOptions = {
@@ -41,6 +43,10 @@ export type ServeOptions = {
41
43
  * X-Forwarded-For names (the nearest one not itself a trusted proxy). None by default: the header is never read, and
42
44
  * every request counts under the address it came from. */
43
45
  trustedProxies?: readonly string[];
46
+ /** This server is a local install, its operator says (the CLI: AGENTRUN_MCP_ALLOW_LOOPBACK=1, only on a machine they
47
+ * alone use): an MCP server's URL may be on loopback, at its save, preview and sign-in, and for the runner beside it.
48
+ * Never inferred; absent, loopback is refused there in words saying how to say so. */
49
+ mcpLoopback?: boolean;
44
50
  /** The address to listen on (default 127.0.0.1). On any other address every `Host` name is served and the token is
45
51
  * the only lock: put TLS in front of it. */
46
52
  host?: string;
@@ -69,6 +75,8 @@ export type ServeOptions = {
69
75
  readonly baseUrl?: string;
70
76
  readonly fetch?: typeof fetch;
71
77
  };
78
+ /** Another Composio than the real one, and its fetch: a test's fake, for the Composio preset's calls (composio-preset.ts). */
79
+ composioControl?: ComposioControl;
72
80
  /** With `faux` only: a module whose default export gives the `browser` tool's `{ provider, driver }` (the tests' fake
73
81
  * backend), in place of Browserbase's or Kernel's. */
74
82
  fauxBrowser?: string;
@@ -142,6 +150,8 @@ export type ServeOptions = {
142
150
  * definition says `learning: true` starts from what its agent learned. `off`: no run this server starts does, whatever
143
151
  * its agent's definition says, and its `learning` is null. */
144
152
  learning?: LearningMode;
153
+ /** A test's seam: how often a learning batch's loop looks at its run, in ms (learning-batch.ts; default 1000). */
154
+ batchPollMs?: number;
145
155
  /** How much of what a run learned its instructions hold under `# Learned`, in UTF-8 bytes (`--learning-budget`;
146
156
  * default AGENTRUN_SERVE_LEARNING_BUDGET, else 8000): every note whole while they fit, else the notes that bear on
147
157
  * the run's input whole and a line for each of the rest (learning.ts learnedParts, its note selector). */
@@ -160,10 +170,17 @@ export type ServeOptions = {
160
170
  githubMcpOrigin?: string;
161
171
  /** A test's seam: how long a hook's body has to arrive, whole (default 30 s: push-handler.ts HOOK_BODY_MS). */
162
172
  hookBodyMs?: number;
173
+ /** A test's seam: awaited by a message (a person's, or a trigger's firing) once its checks have passed and just before its
174
+ * command row is written, with the run's id and the message's text, so a test can hold a message at the run's door while
175
+ * the run's state changes under it (runs-over-store.ts message). */
176
+ beforeSubmit?: (runId: string, content: string) => Promise<void> | void;
163
177
  /** A test's seam: the folder the template packages are read from, in place of the package's own (templates.ts). */
164
178
  templates?: string;
165
179
  /** The waits before each try again of a webhook delivery (default 5 s, 5 min, 30 min, 2 h, 5 h and 10 h: webhooks.ts RETRY_MS). */
166
180
  webhookRetryMs?: readonly number[];
181
+ /** Whether the outbound webhook may send to a private network or this machine: off by default, so no caller of the API
182
+ * can make the server POST inside its own network. The operator's AGENTRUN_WEBHOOK_PRIVATE_TARGETS=1 turns it on. */
183
+ webhookPrivateTargets?: boolean;
167
184
  };
168
185
  /** The test switches a run's process gets, each module path resolved: empty outside tests. A test's in-process runner
169
186
  * takes the same (test/support.mjs startInProcessRunner). */
@@ -172,6 +189,8 @@ export declare function fauxEnvOf(options: ServeOptions): NodeJS.ProcessEnv;
172
189
  /** `setupUrl`: with accounts and no password yet, the page that sets it (with its code when setup needs one);
173
190
  * `setupOpen`: whether that setup takes no code (open setup on a loopback listener). */
174
191
  /** `boxesLine`: what the start's banner says of the boxes, in words (place.ts boxesLine). */
192
+ /** `launchCode`: with no accounts, the code of the console's link this start prints (`/?launch=<code>`), which gives the
193
+ * browser that opens it a console session (page.ts ConsoleSessions). */
175
194
  export type Serve = {
176
195
  url: string;
177
196
  baseUrl: string;
@@ -181,8 +200,16 @@ export type Serve = {
181
200
  tokenMade: boolean;
182
201
  setupUrl?: string;
183
202
  setupOpen?: boolean;
203
+ launchCode?: string;
184
204
  boxesLine: string;
185
205
  close(): Promise<void>;
206
+ /** The live sockets of the computers paired with this server (computer-attach.ts): a runner beside the server in this
207
+ * process takes it (runner/beside.ts), so its runs can use them. */
208
+ attachHub: AttachHub;
209
+ /** Whether this server is a local install (listening on loopback, reached at no address off it): the one kind whose own
210
+ * runner beside it may reach an MCP server's URL on loopback (runner/beside.ts mcpLoopback). Only that runner is told:
211
+ * it is this process's finding, never a store's, so another host's runner on a shared store never inherits it. */
212
+ localInstall: boolean;
186
213
  /** What a stop waits on: the runs whose processes still finish their turn, and the longest it waits on them. */
187
214
  stopping(): {
188
215
  runs: number;
@@ -248,6 +275,7 @@ export declare function readingOf(base: NodeJS.ProcessEnv, maxRuns: number, stor
248
275
  reason?: string;
249
276
  default_model: string | null;
250
277
  installs?: "on_first_use";
278
+ models: string[];
251
279
  run_memory_mib: number;
252
280
  }[];
253
281
  /** The places a revision may name (`definition.place`), this host's default, and whether this server has each box. */
@@ -287,9 +315,9 @@ export declare function readingOf(base: NodeJS.ProcessEnv, maxRuns: number, stor
287
315
  default_provider?: string | undefined;
288
316
  resolves?: Record<"opencode" | "codex" | "pi" | "claude-agent", import("./tool-plane.js").Resolution> | undefined;
289
317
  why?: Record<"opencode" | "codex" | "pi" | "claude-agent", string> | undefined;
290
- permission: "deny" | "allow" | "ask";
291
- default_permission: "deny" | "allow" | "ask";
292
- permissions: ("deny" | "allow" | "ask")[];
318
+ permission: "deny" | "ask" | "allow";
319
+ default_permission: "deny" | "ask" | "allow";
320
+ permissions: ("deny" | "ask" | "allow")[];
293
321
  harnesses: ("opencode" | "codex" | "pi" | "claude-agent")[];
294
322
  missing?: string[] | undefined;
295
323
  reason?: string | undefined;
@@ -308,9 +336,9 @@ export declare function readingOf(base: NodeJS.ProcessEnv, maxRuns: number, stor
308
336
  default_provider?: string | undefined;
309
337
  resolves?: Record<"opencode" | "codex" | "pi" | "claude-agent", import("./tool-plane.js").Resolution> | undefined;
310
338
  why?: Record<"opencode" | "codex" | "pi" | "claude-agent", string> | undefined;
311
- permission: "deny" | "allow" | "ask";
312
- default_permission: "deny" | "allow" | "ask";
313
- permissions: ("deny" | "allow" | "ask")[];
339
+ permission: "deny" | "ask" | "allow";
340
+ default_permission: "deny" | "ask" | "allow";
341
+ permissions: ("deny" | "ask" | "allow")[];
314
342
  harnesses: ("opencode" | "codex" | "pi" | "claude-agent")[];
315
343
  missing?: string[] | undefined;
316
344
  reason?: string | undefined;
@@ -457,7 +485,7 @@ export declare function readingOf(base: NodeJS.ProcessEnv, maxRuns: number, stor
457
485
  failures_to_pause: number;
458
486
  webhook: {
459
487
  signing: string;
460
- signatures: ("github" | "standard")[];
488
+ signatures: ("github" | "standard" | "composio")[];
461
489
  tolerance_s: number;
462
490
  max_body_bytes: number;
463
491
  payload_kept_bytes: number;
@@ -513,6 +541,7 @@ export declare function capabilities(env?: NodeJS.ProcessEnv, maxRuns?: number,
513
541
  reason?: string;
514
542
  default_model: string | null;
515
543
  installs?: "on_first_use";
544
+ models: string[];
516
545
  run_memory_mib: number;
517
546
  }[];
518
547
  /** The places a revision may name (`definition.place`), this host's default, and whether this server has each box. */
@@ -552,9 +581,9 @@ export declare function capabilities(env?: NodeJS.ProcessEnv, maxRuns?: number,
552
581
  default_provider?: string | undefined;
553
582
  resolves?: Record<"opencode" | "codex" | "pi" | "claude-agent", import("./tool-plane.js").Resolution> | undefined;
554
583
  why?: Record<"opencode" | "codex" | "pi" | "claude-agent", string> | undefined;
555
- permission: "deny" | "allow" | "ask";
556
- default_permission: "deny" | "allow" | "ask";
557
- permissions: ("deny" | "allow" | "ask")[];
584
+ permission: "deny" | "ask" | "allow";
585
+ default_permission: "deny" | "ask" | "allow";
586
+ permissions: ("deny" | "ask" | "allow")[];
558
587
  harnesses: ("opencode" | "codex" | "pi" | "claude-agent")[];
559
588
  missing?: string[] | undefined;
560
589
  reason?: string | undefined;
@@ -573,9 +602,9 @@ export declare function capabilities(env?: NodeJS.ProcessEnv, maxRuns?: number,
573
602
  default_provider?: string | undefined;
574
603
  resolves?: Record<"opencode" | "codex" | "pi" | "claude-agent", import("./tool-plane.js").Resolution> | undefined;
575
604
  why?: Record<"opencode" | "codex" | "pi" | "claude-agent", string> | undefined;
576
- permission: "deny" | "allow" | "ask";
577
- default_permission: "deny" | "allow" | "ask";
578
- permissions: ("deny" | "allow" | "ask")[];
605
+ permission: "deny" | "ask" | "allow";
606
+ default_permission: "deny" | "ask" | "allow";
607
+ permissions: ("deny" | "ask" | "allow")[];
579
608
  harnesses: ("opencode" | "codex" | "pi" | "claude-agent")[];
580
609
  missing?: string[] | undefined;
581
610
  reason?: string | undefined;
@@ -722,7 +751,7 @@ export declare function capabilities(env?: NodeJS.ProcessEnv, maxRuns?: number,
722
751
  failures_to_pause: number;
723
752
  webhook: {
724
753
  signing: string;
725
- signatures: ("github" | "standard")[];
754
+ signatures: ("github" | "standard" | "composio")[];
726
755
  tolerance_s: number;
727
756
  max_body_bytes: number;
728
757
  payload_kept_bytes: number;