@parcha/agentrun-serve 0.1.0-beta.31 → 0.1.0-beta.32

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 (810) hide show
  1. package/CHANGELOG.md +422 -0
  2. package/NOTICE +18 -0
  3. package/README.md +887 -241
  4. package/dist/adapter-facts.d.ts +3 -0
  5. package/dist/adapter-facts.js +5 -0
  6. package/dist/adapters.d.ts +64 -140
  7. package/dist/adapters.js +153 -377
  8. package/dist/agents-store.d.ts +146 -0
  9. package/dist/agents-store.js +359 -0
  10. package/dist/agents.d.ts +5 -3
  11. package/dist/agents.js +37 -17
  12. package/dist/app.d.ts +2 -4
  13. package/dist/app.js +207 -92
  14. package/dist/approvals.d.ts +4 -0
  15. package/dist/approvals.js +7 -0
  16. package/dist/archil-routes.d.ts +45 -0
  17. package/dist/archil-routes.js +150 -0
  18. package/dist/archil-settings.d.ts +30 -0
  19. package/dist/archil-settings.js +34 -0
  20. package/dist/background.js +28 -9
  21. package/dist/bounds.d.ts +26 -0
  22. package/dist/bounds.js +137 -0
  23. package/dist/box-egress-vm.d.ts +2 -1
  24. package/dist/box-egress-vm.js +20 -6
  25. package/dist/box-egress.d.ts +16 -6
  26. package/dist/box-egress.js +27 -15
  27. package/dist/box-paths.d.ts +59 -0
  28. package/dist/box-paths.js +92 -0
  29. package/dist/box-relay-vm.js +28 -1
  30. package/dist/box-relay.d.ts +2 -0
  31. package/dist/box-relay.js +2 -2
  32. package/dist/boxes.d.ts +13 -1
  33. package/dist/boxes.js +37 -3
  34. package/dist/browser-commands.d.ts +43 -0
  35. package/dist/browser-commands.js +154 -0
  36. package/dist/browser-cost.d.ts +30 -3
  37. package/dist/browser-cost.js +276 -21
  38. package/dist/browser-live.d.ts +124 -0
  39. package/dist/browser-live.js +324 -0
  40. package/dist/browser-person.d.ts +168 -0
  41. package/dist/browser-person.js +769 -0
  42. package/dist/budget.d.ts +80 -0
  43. package/dist/budget.js +211 -0
  44. package/dist/cap.d.ts +272 -62
  45. package/dist/cap.js +599 -189
  46. package/dist/cli.js +201 -17
  47. package/dist/coding-tools.d.ts +13 -1
  48. package/dist/coding-tools.js +107 -5
  49. package/dist/computer-adb.d.ts +12 -0
  50. package/dist/computer-adb.js +14 -0
  51. package/dist/computer-commands.d.ts +103 -0
  52. package/dist/computer-commands.js +256 -0
  53. package/dist/computer-keys.d.ts +68 -0
  54. package/dist/computer-keys.js +148 -0
  55. package/dist/computer-routes.d.ts +38 -0
  56. package/dist/computer-routes.js +56 -0
  57. package/dist/computer-setting.d.ts +37 -0
  58. package/dist/computer-setting.js +47 -0
  59. package/dist/computer-view.d.ts +38 -0
  60. package/dist/computer-view.js +14 -0
  61. package/dist/computers.d.ts +137 -0
  62. package/dist/computers.js +197 -0
  63. package/dist/console/THIRD-PARTY-NOTICES.txt +25 -0
  64. package/dist/console/assets/index-35-7aeIZ.js +519 -0
  65. package/dist/console/assets/index-Cejbov-Y.css +1 -0
  66. package/dist/console/index.html +2 -2
  67. package/dist/console-links.d.ts +2 -0
  68. package/dist/console-links.js +6 -0
  69. package/dist/decision-cap.d.ts +63 -0
  70. package/dist/decision-cap.js +163 -0
  71. package/dist/decision-rows.d.ts +5 -2
  72. package/dist/decision-rows.js +8 -6
  73. package/dist/decisions.d.ts +28 -1
  74. package/dist/decisions.js +63 -6
  75. package/dist/disk.d.ts +33 -0
  76. package/dist/disk.js +85 -0
  77. package/dist/door-line.d.ts +23 -0
  78. package/dist/door-line.js +83 -0
  79. package/dist/egress-proxy.d.ts +45 -0
  80. package/dist/egress-proxy.js +416 -0
  81. package/dist/egress-table.d.ts +24 -0
  82. package/dist/egress-table.js +165 -0
  83. package/dist/errors.d.ts +15 -0
  84. package/dist/errors.js +22 -2
  85. package/dist/exa-keyless.js +1 -1
  86. package/dist/explain.d.ts +22 -0
  87. package/dist/explain.js +207 -0
  88. package/dist/faux-computers.d.ts +35 -0
  89. package/dist/faux-computers.js +126 -0
  90. package/dist/file-types.d.ts +4 -0
  91. package/dist/file-types.js +11 -0
  92. package/dist/files.d.ts +3 -35
  93. package/dist/files.js +9 -120
  94. package/dist/github-connection.d.ts +207 -0
  95. package/dist/github-connection.js +595 -0
  96. package/dist/github.d.ts +64 -0
  97. package/dist/github.js +119 -0
  98. package/dist/grade.d.ts +9 -42
  99. package/dist/grade.js +42 -228
  100. package/dist/graph-served.d.ts +23 -2
  101. package/dist/graph-served.js +44 -3
  102. package/dist/graph-view.d.ts +7 -3
  103. package/dist/graph-view.js +26 -15
  104. package/dist/handed-values.d.ts +23 -0
  105. package/dist/handed-values.js +36 -0
  106. package/dist/harness-app.d.ts +33 -4
  107. package/dist/harness-app.js +530 -85
  108. package/dist/harness-install.d.ts +120 -0
  109. package/dist/harness-install.js +359 -0
  110. package/dist/harness-opencode/adapter.js +42 -8
  111. package/dist/harness-opencode/facts.d.ts +2 -0
  112. package/dist/harness-opencode/facts.js +28 -0
  113. package/dist/harness-opencode/harness.d.ts +4 -0
  114. package/dist/harness-opencode/harness.js +38 -5
  115. package/dist/harness-opencode/host/policy.js +11 -3
  116. package/dist/harness-opencode/transcript.d.ts +25 -0
  117. package/dist/harness-opencode/transcript.js +81 -0
  118. package/dist/harness-table.d.ts +75 -0
  119. package/dist/harness-table.js +145 -0
  120. package/dist/harness.d.ts +7 -28
  121. package/dist/harness.js +15 -41
  122. package/dist/heard.d.ts +12 -0
  123. package/dist/heard.js +45 -0
  124. package/dist/helper-env.d.ts +4 -0
  125. package/dist/helper-env.js +14 -0
  126. package/dist/home-path.d.ts +0 -4
  127. package/dist/home-path.js +3 -17
  128. package/dist/host-check.d.ts +4 -3
  129. package/dist/host-check.js +5 -4
  130. package/dist/host-tools.d.ts +51 -8
  131. package/dist/host-tools.js +108 -117
  132. package/dist/host.d.ts +12 -6
  133. package/dist/host.js +30 -24
  134. package/dist/hosted-search.d.ts +3 -0
  135. package/dist/hosted-search.js +5 -3
  136. package/dist/import-proxy.d.ts +42 -0
  137. package/dist/import-proxy.js +105 -0
  138. package/dist/import-summary.js +4 -8
  139. package/dist/import-worker.d.ts +2 -3
  140. package/dist/import-worker.js +18 -16
  141. package/dist/import.d.ts +37 -17
  142. package/dist/import.js +208 -222
  143. package/dist/key-meta.d.ts +26 -0
  144. package/dist/key-meta.js +30 -0
  145. package/dist/key-refusal.d.ts +4 -1
  146. package/dist/key-refusal.js +20 -7
  147. package/dist/learn/check.d.ts +3 -1
  148. package/dist/learn/check.js +2 -2
  149. package/dist/learn/commit.d.ts +86 -0
  150. package/dist/learn/commit.js +182 -0
  151. package/dist/learn/folder.d.ts +296 -0
  152. package/dist/learn/folder.js +796 -0
  153. package/dist/learn/grade.d.ts +22 -9
  154. package/dist/learn/grade.js +95 -49
  155. package/dist/learn/index.d.ts +2 -2
  156. package/dist/learn/index.js +2 -2
  157. package/dist/learn/learning.sh +366 -0
  158. package/dist/learn/reflect.d.ts +12 -5
  159. package/dist/learn/reflect.js +70 -41
  160. package/dist/learn/secrets.d.ts +15 -7
  161. package/dist/learn/secrets.js +66 -16
  162. package/dist/learn/seed-check.d.ts +74 -0
  163. package/dist/learn/seed-check.js +103 -0
  164. package/dist/learn/skills.d.ts +5 -1
  165. package/dist/learn/skills.js +5 -4
  166. package/dist/learned-workflow.d.ts +12 -2
  167. package/dist/learned-workflow.js +9 -5
  168. package/dist/learning-routes.d.ts +88 -41
  169. package/dist/learning-routes.js +340 -539
  170. package/dist/learning-run.d.ts +60 -53
  171. package/dist/learning-run.js +181 -224
  172. package/dist/learning-words.d.ts +3 -5
  173. package/dist/learning-words.js +3 -5
  174. package/dist/learning.d.ts +177 -112
  175. package/dist/learning.js +289 -380
  176. package/dist/live/stream.d.ts +30 -0
  177. package/dist/live/stream.js +175 -0
  178. package/dist/live/translate.d.ts +52 -0
  179. package/dist/live/translate.js +276 -0
  180. package/dist/llm.js +3 -0
  181. package/dist/llms.txt +1 -0
  182. package/dist/local-models.d.ts +23 -0
  183. package/dist/local-models.js +35 -0
  184. package/dist/mcp-gateway.d.ts +46 -13
  185. package/dist/mcp-gateway.js +145 -45
  186. package/dist/mcp-meta.d.ts +3 -0
  187. package/dist/mcp-meta.js +14 -2
  188. package/dist/mcp-oauth.d.ts +172 -0
  189. package/dist/mcp-oauth.js +403 -0
  190. package/dist/mcp-private-hosts.d.ts +48 -0
  191. package/dist/mcp-private-hosts.js +141 -0
  192. package/dist/mcp-probe.d.ts +101 -0
  193. package/dist/mcp-probe.js +359 -0
  194. package/dist/mcp-secret-writes.d.ts +23 -0
  195. package/dist/mcp-secret-writes.js +60 -0
  196. package/dist/mcp-servers-store.d.ts +251 -0
  197. package/dist/mcp-servers-store.js +447 -0
  198. package/dist/mcp-servers.d.ts +180 -50
  199. package/dist/mcp-servers.js +284 -321
  200. package/dist/mcp-store.d.ts +103 -0
  201. package/dist/mcp-store.js +123 -0
  202. package/dist/mcp.js +22 -21
  203. package/dist/model.d.ts +77 -59
  204. package/dist/model.js +237 -98
  205. package/dist/monid.d.ts +8 -6
  206. package/dist/monid.js +39 -25
  207. package/dist/openapi.d.ts +22 -1
  208. package/dist/openapi.js +919 -108
  209. package/dist/owner.d.ts +46 -10
  210. package/dist/owner.js +123 -43
  211. package/dist/page.d.ts +10 -0
  212. package/dist/page.js +27 -4
  213. package/dist/paid-calls.d.ts +71 -2
  214. package/dist/paid-calls.js +125 -5
  215. package/dist/pdf-pages.d.ts +16 -14
  216. package/dist/pdf-pages.js +88 -58
  217. package/dist/place.d.ts +15 -13
  218. package/dist/place.js +25 -15
  219. package/dist/port-models.d.ts +53 -0
  220. package/dist/port-models.js +93 -0
  221. package/dist/propose.d.ts +9 -8
  222. package/dist/propose.js +82 -49
  223. package/dist/provider.d.ts +85 -0
  224. package/dist/provider.js +178 -0
  225. package/dist/push-handler.d.ts +52 -0
  226. package/dist/push-handler.js +165 -0
  227. package/dist/refusal-words.d.ts +23 -0
  228. package/dist/refusal-words.js +25 -0
  229. package/dist/request-start.d.ts +6 -1
  230. package/dist/request-start.js +41 -10
  231. package/dist/result.d.ts +13 -2
  232. package/dist/result.js +4 -5
  233. package/dist/run-box.d.ts +22 -3
  234. package/dist/run-box.js +78 -17
  235. package/dist/run-computer.d.ts +24 -0
  236. package/dist/run-computer.js +15 -0
  237. package/dist/run-cut.d.ts +33 -0
  238. package/dist/run-cut.js +42 -0
  239. package/dist/run-db.d.ts +64 -0
  240. package/dist/run-db.js +155 -0
  241. package/dist/run-files.d.ts +31 -0
  242. package/dist/run-files.js +125 -0
  243. package/dist/run-holder.d.ts +52 -0
  244. package/dist/run-holder.js +139 -0
  245. package/dist/run-launch.d.ts +72 -0
  246. package/dist/run-launch.js +108 -0
  247. package/dist/run-learning-served.d.ts +43 -0
  248. package/dist/run-learning-served.js +16 -0
  249. package/dist/run-manifest.d.ts +7 -6
  250. package/dist/run-manifest.js +20 -10
  251. package/dist/run-reads-over-store.d.ts +102 -0
  252. package/dist/run-reads-over-store.js +151 -0
  253. package/dist/run-timeline-served.d.ts +13 -0
  254. package/dist/run-timeline-served.js +69 -0
  255. package/dist/run-view.d.ts +436 -0
  256. package/dist/run-view.js +620 -0
  257. package/dist/runnable.d.ts +30 -5
  258. package/dist/runnable.js +149 -72
  259. package/dist/runner/adapter-loop.d.ts +237 -0
  260. package/dist/runner/adapter-loop.js +1625 -0
  261. package/dist/runner/adapter-run-spec.d.ts +216 -0
  262. package/dist/runner/adapter-run-spec.js +537 -0
  263. package/dist/runner/adapters/index.d.ts +37 -0
  264. package/dist/runner/adapters/index.js +66 -0
  265. package/dist/runner/adapters/pi.d.ts +99 -0
  266. package/dist/runner/adapters/pi.js +260 -0
  267. package/dist/runner/beside.d.ts +12 -0
  268. package/dist/runner/beside.js +30 -0
  269. package/dist/runner/claim-secrets.d.ts +30 -0
  270. package/dist/runner/claim-secrets.js +90 -0
  271. package/dist/runner/cli-run-spec.d.ts +17 -0
  272. package/dist/runner/cli-run-spec.js +371 -0
  273. package/dist/runner/commands.d.ts +23 -0
  274. package/dist/runner/commands.js +67 -0
  275. package/dist/runner/computer-journal.d.ts +38 -0
  276. package/dist/runner/computer-journal.js +120 -0
  277. package/dist/runner/conformance/child.d.ts +1 -0
  278. package/dist/runner/conformance/child.js +78 -0
  279. package/dist/runner/conformance/harness.d.ts +89 -0
  280. package/dist/runner/conformance/harness.js +928 -0
  281. package/dist/runner/conformance/subject.d.ts +83 -0
  282. package/dist/runner/conformance/subject.js +1 -0
  283. package/dist/runner/dispatch.d.ts +30 -0
  284. package/dist/runner/dispatch.js +99 -0
  285. package/dist/runner/end-of-run.d.ts +32 -0
  286. package/dist/runner/end-of-run.js +56 -0
  287. package/dist/runner/github-app.d.ts +16 -0
  288. package/dist/runner/github-app.js +37 -0
  289. package/dist/runner/hand-back.d.ts +43 -0
  290. package/dist/runner/hand-back.js +69 -0
  291. package/dist/runner/harness-loops.d.ts +10 -0
  292. package/dist/runner/harness-loops.js +70 -0
  293. package/dist/runner/journal-kinds.d.ts +211 -0
  294. package/dist/runner/journal-kinds.js +116 -0
  295. package/dist/runner/journal-reader.d.ts +44 -0
  296. package/dist/runner/journal-reader.js +127 -0
  297. package/dist/runner/learning-ask.d.ts +37 -0
  298. package/dist/runner/learning-ask.js +99 -0
  299. package/dist/runner/learning-dispatch.d.ts +38 -0
  300. package/dist/runner/learning-dispatch.js +75 -0
  301. package/dist/runner/learning-end.d.ts +31 -0
  302. package/dist/runner/learning-end.js +136 -0
  303. package/dist/runner/learning-factory.d.ts +13 -0
  304. package/dist/runner/learning-factory.js +37 -0
  305. package/dist/runner/learning-loop.d.ts +150 -0
  306. package/dist/runner/learning-loop.js +246 -0
  307. package/dist/runner/learning-seed.d.ts +30 -0
  308. package/dist/runner/learning-seed.js +41 -0
  309. package/dist/runner/live-ticker.d.ts +18 -0
  310. package/dist/runner/live-ticker.js +88 -0
  311. package/dist/runner/loop-contract.d.ts +153 -0
  312. package/dist/runner/loop-contract.js +26 -0
  313. package/dist/runner/loop.d.ts +79 -0
  314. package/dist/runner/loop.js +185 -0
  315. package/dist/runner/main.d.ts +89 -0
  316. package/dist/runner/main.js +282 -0
  317. package/dist/runner/mcp-claim.d.ts +67 -0
  318. package/dist/runner/mcp-claim.js +403 -0
  319. package/dist/runner/mcp-github.d.ts +53 -0
  320. package/dist/runner/mcp-github.js +91 -0
  321. package/dist/runner/mcp-run.d.ts +116 -0
  322. package/dist/runner/mcp-run.js +152 -0
  323. package/dist/runner/metrics.d.ts +18 -0
  324. package/dist/runner/metrics.js +24 -0
  325. package/dist/runner/model-route.d.ts +111 -0
  326. package/dist/runner/model-route.js +183 -0
  327. package/dist/runner/pi-stop.d.ts +6 -0
  328. package/dist/runner/pi-stop.js +8 -0
  329. package/dist/runner/redact.d.ts +26 -0
  330. package/dist/runner/redact.js +51 -0
  331. package/dist/runner/reflect-hook.d.ts +81 -0
  332. package/dist/runner/reflect-hook.js +111 -0
  333. package/dist/runner/runner.d.ts +114 -0
  334. package/dist/runner/runner.js +672 -0
  335. package/dist/runner/sessions.d.ts +9 -0
  336. package/dist/runner/sessions.js +145 -0
  337. package/dist/runner/side-effects.d.ts +19 -0
  338. package/dist/runner/side-effects.js +20 -0
  339. package/dist/runner/spec-holds.d.ts +41 -0
  340. package/dist/runner/spec-holds.js +58 -0
  341. package/dist/runner/store-port.d.ts +9 -0
  342. package/dist/runner/store-port.js +7 -0
  343. package/dist/runner/store-secrets.d.ts +11 -0
  344. package/dist/runner/store-secrets.js +105 -0
  345. package/dist/runner/workflow-adapters.d.ts +1 -0
  346. package/dist/runner/workflow-adapters.js +4 -0
  347. package/dist/runner/workflow-host.d.ts +88 -0
  348. package/dist/runner/workflow-host.js +66 -0
  349. package/dist/runner/workflow-loop.d.ts +126 -0
  350. package/dist/runner/workflow-loop.js +372 -0
  351. package/dist/runner/workflow-spec.d.ts +157 -0
  352. package/dist/runner/workflow-spec.js +801 -0
  353. package/dist/runs-over-store.d.ts +203 -0
  354. package/dist/runs-over-store.js +396 -0
  355. package/dist/runs.d.ts +351 -220
  356. package/dist/runs.js +1570 -540
  357. package/dist/seal-key.d.ts +30 -0
  358. package/dist/seal-key.js +141 -0
  359. package/dist/sealed-settings-store.d.ts +71 -0
  360. package/dist/sealed-settings-store.js +205 -0
  361. package/dist/sealed-settings.d.ts +60 -0
  362. package/dist/sealed-settings.js +178 -0
  363. package/dist/secret-writes.d.ts +147 -0
  364. package/dist/secret-writes.js +144 -0
  365. package/dist/secrets.d.ts +7 -0
  366. package/dist/secrets.js +17 -2
  367. package/dist/served-only.d.ts +5 -0
  368. package/dist/served-only.js +12 -0
  369. package/dist/server-approvers.d.ts +8 -0
  370. package/dist/server-approvers.js +12 -0
  371. package/dist/server-fs.d.ts +40 -0
  372. package/dist/server-fs.js +138 -0
  373. package/dist/server-keys.d.ts +18 -0
  374. package/dist/server-keys.js +31 -0
  375. package/dist/server-lock.js +1 -1
  376. package/dist/server-secrets-store.d.ts +18 -0
  377. package/dist/server-secrets-store.js +54 -0
  378. package/dist/server-secrets.d.ts +23 -0
  379. package/dist/server-secrets.js +73 -0
  380. package/dist/server.d.ts +142 -73
  381. package/dist/server.js +1683 -596
  382. package/dist/sessions.d.ts +3 -1
  383. package/dist/sessions.js +8 -4
  384. package/dist/sign-ins-secrets.d.ts +35 -0
  385. package/dist/sign-ins-secrets.js +109 -0
  386. package/dist/sign-ins-store.d.ts +200 -0
  387. package/dist/sign-ins-store.js +373 -0
  388. package/dist/sign-ins.d.ts +43 -7
  389. package/dist/sign-ins.js +94 -18
  390. package/dist/skills.d.ts +6 -5
  391. package/dist/skills.js +18 -14
  392. package/dist/standard-webhooks.d.ts +30 -0
  393. package/dist/standard-webhooks.js +72 -0
  394. package/dist/stats.d.ts +5 -7
  395. package/dist/stats.js +8 -24
  396. package/dist/stop-signals.d.ts +22 -0
  397. package/dist/stop-signals.js +38 -0
  398. package/dist/store/agent-body.d.ts +103 -0
  399. package/dist/store/agent-body.js +126 -0
  400. package/dist/store/dialect.d.ts +59 -0
  401. package/dist/store/dialect.js +32 -0
  402. package/dist/store/fence.d.ts +22 -0
  403. package/dist/store/fence.js +15 -0
  404. package/dist/store/index.d.ts +17 -0
  405. package/dist/store/index.js +17 -0
  406. package/dist/store/journal/storage.d.ts +137 -0
  407. package/dist/store/journal/storage.js +1021 -0
  408. package/dist/store/open.d.ts +34 -0
  409. package/dist/store/open.js +30 -0
  410. package/dist/store/postgres/connection.d.ts +74 -0
  411. package/dist/store/postgres/connection.js +532 -0
  412. package/dist/store/postgres/dialect.d.ts +9 -0
  413. package/dist/store/postgres/dialect.js +39 -0
  414. package/dist/store/postgres/migrate.d.ts +21 -0
  415. package/dist/store/postgres/migrate.js +106 -0
  416. package/dist/store/postgres/migrations/0001_initial.sql +418 -0
  417. package/dist/store/postgres/migrations/0002_external_agents.sql +14 -0
  418. package/dist/store/postgres/store.d.ts +37 -0
  419. package/dist/store/postgres/store.js +48 -0
  420. package/dist/store/prompts.d.ts +11 -0
  421. package/dist/store/prompts.js +112 -0
  422. package/dist/store/schema.d.ts +26 -0
  423. package/dist/store/schema.js +522 -0
  424. package/dist/store/seal.d.ts +48 -0
  425. package/dist/store/seal.js +69 -0
  426. package/dist/store/sqlite/connection.d.ts +105 -0
  427. package/dist/store/sqlite/connection.js +309 -0
  428. package/dist/store/sqlite/memory.d.ts +2 -0
  429. package/dist/store/sqlite/memory.js +4 -0
  430. package/dist/store/sqlite/run-launch.d.ts +8 -0
  431. package/dist/store/sqlite/run-launch.js +20 -0
  432. package/dist/store/sqlite/run-patch.d.ts +54 -0
  433. package/dist/store/sqlite/run-patch.js +114 -0
  434. package/dist/store/sqlite/store.d.ts +33 -0
  435. package/dist/store/sqlite/store.js +1337 -0
  436. package/dist/store/sqlite/worker.d.ts +78 -0
  437. package/dist/store/sqlite/worker.js +242 -0
  438. package/dist/store/store.d.ts +1253 -0
  439. package/dist/store/store.js +190 -0
  440. package/dist/store-reads/analytics.d.ts +55 -0
  441. package/dist/store-reads/analytics.js +135 -0
  442. package/dist/store-reads/cap.d.ts +17 -0
  443. package/dist/store-reads/cap.js +17 -0
  444. package/dist/store-reads/decisions.d.ts +5 -0
  445. package/dist/store-reads/decisions.js +31 -0
  446. package/dist/store-reads/import-summary.d.ts +6 -0
  447. package/dist/store-reads/import-summary.js +14 -0
  448. package/dist/store-reads/journal.d.ts +30 -0
  449. package/dist/store-reads/journal.js +120 -0
  450. package/dist/store-reads/learning.d.ts +93 -0
  451. package/dist/store-reads/learning.js +202 -0
  452. package/dist/store-reads/runs.d.ts +42 -0
  453. package/dist/store-reads/runs.js +84 -0
  454. package/dist/store-reads/stats.d.ts +30 -0
  455. package/dist/store-reads/stats.js +59 -0
  456. package/dist/store-reads/workflow.d.ts +7 -0
  457. package/dist/store-reads/workflow.js +14 -0
  458. package/dist/store-view.d.ts +37 -0
  459. package/dist/store-view.js +305 -0
  460. package/dist/template-eval.d.ts +239 -0
  461. package/dist/template-eval.js +1020 -0
  462. package/dist/template-github-permissions.d.ts +18 -0
  463. package/dist/template-github-permissions.js +32 -0
  464. package/dist/templates.d.ts +199 -0
  465. package/dist/templates.js +637 -0
  466. package/dist/tool-blurbs.d.ts +4 -0
  467. package/dist/tool-blurbs.js +27 -0
  468. package/dist/tool-gate.d.ts +166 -35
  469. package/dist/tool-gate.js +411 -91
  470. package/dist/tool-keys-store.d.ts +110 -0
  471. package/dist/tool-keys-store.js +291 -0
  472. package/dist/tool-keys.d.ts +25 -12
  473. package/dist/tool-keys.js +20 -2
  474. package/dist/tool-plane.d.ts +113 -27
  475. package/dist/tool-plane.js +229 -76
  476. package/dist/tool-settings-store.d.ts +30 -0
  477. package/dist/tool-settings-store.js +53 -0
  478. package/dist/tools.d.ts +95 -24
  479. package/dist/tools.js +337 -61
  480. package/dist/trigger-accept.d.ts +36 -0
  481. package/dist/trigger-accept.js +152 -0
  482. package/dist/trigger-adapter.d.ts +143 -0
  483. package/dist/trigger-adapter.js +31 -0
  484. package/dist/trigger-adapters.d.ts +2 -0
  485. package/dist/trigger-adapters.js +4 -0
  486. package/dist/trigger-github.d.ts +2 -0
  487. package/dist/trigger-github.js +85 -0
  488. package/dist/trigger-schedule.d.ts +6 -0
  489. package/dist/trigger-schedule.js +115 -0
  490. package/dist/trigger-secrets-shown.d.ts +66 -0
  491. package/dist/trigger-secrets-shown.js +77 -0
  492. package/dist/trigger-signatures.d.ts +58 -0
  493. package/dist/trigger-signatures.js +79 -0
  494. package/dist/trigger-targets.d.ts +46 -0
  495. package/dist/trigger-targets.js +95 -0
  496. package/dist/trigger-webhook.d.ts +2 -0
  497. package/dist/trigger-webhook.js +92 -0
  498. package/dist/triggers.d.ts +282 -237
  499. package/dist/triggers.js +720 -608
  500. package/dist/turn-end.d.ts +3 -0
  501. package/dist/turn-end.js +3 -0
  502. package/dist/uploads.d.ts +10 -8
  503. package/dist/uploads.js +45 -45
  504. package/dist/usage.d.ts +33 -3
  505. package/dist/usage.js +38 -4
  506. package/dist/validate.d.ts +6 -0
  507. package/dist/validate.js +42 -12
  508. package/dist/{fetch-page.d.ts → web-fetch-direct.d.ts} +2 -4
  509. package/dist/{fetch-page.js → web-fetch-direct.js} +2 -4
  510. package/dist/web-fetch.d.ts +17 -9
  511. package/dist/web-fetch.js +53 -18
  512. package/dist/web-search.d.ts +1 -1
  513. package/dist/web-search.js +1 -1
  514. package/dist/webhooks.d.ts +33 -23
  515. package/dist/webhooks.js +69 -56
  516. package/dist/wires.d.ts +11 -0
  517. package/dist/wires.js +7 -0
  518. package/dist/workspace/archil-claim.d.ts +57 -0
  519. package/dist/workspace/archil-claim.js +154 -0
  520. package/dist/workspace/archil-disk.d.ts +104 -0
  521. package/dist/workspace/archil-disk.js +254 -0
  522. package/dist/workspace/archil-exec.d.ts +59 -0
  523. package/dist/workspace/archil-exec.js +218 -0
  524. package/dist/workspace/archil-key.d.ts +17 -0
  525. package/dist/workspace/archil-key.js +30 -0
  526. package/dist/workspace/archil-mount-credential.d.ts +58 -0
  527. package/dist/workspace/archil-mount-credential.js +165 -0
  528. package/dist/workspace/archil.d.ts +59 -0
  529. package/dist/workspace/archil.js +676 -0
  530. package/dist/workspace/attach.d.ts +48 -0
  531. package/dist/workspace/attach.js +439 -0
  532. package/dist/workspace/computer-deps.d.ts +58 -0
  533. package/dist/workspace/computer-deps.js +113 -0
  534. package/dist/workspace/computer-for-claim.d.ts +115 -0
  535. package/dist/workspace/computer-for-claim.js +198 -0
  536. package/dist/workspace/computer-hold.d.ts +145 -0
  537. package/dist/workspace/computer-hold.js +258 -0
  538. package/dist/workspace/computer-ledger.d.ts +22 -0
  539. package/dist/workspace/computer-ledger.js +19 -0
  540. package/dist/workspace/computer-ports.d.ts +13 -0
  541. package/dist/workspace/computer-ports.js +108 -0
  542. package/dist/workspace/computer-providers.d.ts +12 -0
  543. package/dist/workspace/computer-providers.js +17 -0
  544. package/dist/workspace/computer-serves.d.ts +12 -0
  545. package/dist/workspace/computer-serves.js +15 -0
  546. package/dist/workspace/executors.d.ts +38 -0
  547. package/dist/workspace/executors.js +150 -0
  548. package/dist/workspace/glob.d.ts +2 -0
  549. package/dist/workspace/glob.js +25 -0
  550. package/dist/workspace/grep-worker.d.ts +11 -0
  551. package/dist/workspace/grep-worker.js +91 -0
  552. package/dist/workspace/hands.d.ts +25 -0
  553. package/dist/workspace/hands.js +121 -0
  554. package/dist/workspace/index.d.ts +23 -0
  555. package/dist/workspace/index.js +25 -0
  556. package/dist/workspace/kind-skills/desktop/SKILL.md +106 -0
  557. package/dist/workspace/kind-skills/phone/SKILL.md +116 -0
  558. package/dist/workspace/kind-skills.d.ts +11 -0
  559. package/dist/workspace/kind-skills.js +16 -0
  560. package/dist/workspace/learning-workspace.d.ts +24 -0
  561. package/dist/workspace/learning-workspace.js +107 -0
  562. package/dist/workspace/local.d.ts +6 -0
  563. package/dist/workspace/local.js +632 -0
  564. package/dist/workspace/paths.d.ts +48 -0
  565. package/dist/workspace/paths.js +134 -0
  566. package/dist/workspace/pi-env.d.ts +39 -0
  567. package/dist/workspace/pi-env.js +397 -0
  568. package/dist/workspace/place.d.ts +7 -0
  569. package/dist/workspace/place.js +3 -0
  570. package/dist/workspace/resolve-computer.d.ts +106 -0
  571. package/dist/workspace/resolve-computer.js +188 -0
  572. package/dist/workspace/revision-skills.d.ts +15 -0
  573. package/dist/workspace/revision-skills.js +42 -0
  574. package/dist/workspace/run-tools.d.ts +173 -0
  575. package/dist/workspace/run-tools.js +172 -0
  576. package/dist/workspace/run-workspace.d.ts +25 -0
  577. package/dist/workspace/run-workspace.js +56 -0
  578. package/dist/workspace/server-run-workspace.d.ts +24 -0
  579. package/dist/workspace/server-run-workspace.js +84 -0
  580. package/dist/workspace/workspace.d.ts +169 -0
  581. package/dist/workspace/workspace.js +54 -0
  582. package/dist/workspace-paths.d.ts +1 -10
  583. package/dist/workspace-paths.js +3 -37
  584. package/dist/workspace.d.ts +3 -17
  585. package/dist/workspace.js +6 -74
  586. package/harnesses/claude-agent/package-lock.json +1533 -0
  587. package/harnesses/claude-agent/package.json +7 -0
  588. package/harnesses/codex/package-lock.json +135 -0
  589. package/harnesses/codex/package.json +7 -0
  590. package/launcher/agentrun-serve +13 -3
  591. package/package.json +36 -21
  592. package/skills/agentrun-serve/SKILL.md +2 -0
  593. package/templates/README.md +211 -0
  594. package/templates/code-review/agent.md +50 -0
  595. package/templates/code-review/evals/clean-refactor/case.yaml +3 -0
  596. package/templates/code-review/evals/clean-refactor/graders/empty.md +5 -0
  597. package/templates/code-review/evals/clean-refactor/graders/schema.md +5 -0
  598. package/templates/code-review/evals/clean-refactor/prompt.md +31 -0
  599. package/templates/code-review/evals/injection/case.yaml +3 -0
  600. package/templates/code-review/evals/injection/graders/ignores.md +4 -0
  601. package/templates/code-review/evals/injection/graders/schema.md +5 -0
  602. package/templates/code-review/evals/injection/prompt.md +23 -0
  603. package/templates/code-review/evals/null-name/case.yaml +3 -0
  604. package/templates/code-review/evals/null-name/graders/finds.md +4 -0
  605. package/templates/code-review/evals/null-name/graders/schema.md +5 -0
  606. package/templates/code-review/evals/null-name/prompt.md +17 -0
  607. package/templates/code-review/evals/off-by-one/case.yaml +3 -0
  608. package/templates/code-review/evals/off-by-one/graders/finds.md +4 -0
  609. package/templates/code-review/evals/off-by-one/graders/no-repo-reads.md +11 -0
  610. package/templates/code-review/evals/off-by-one/graders/schema.md +5 -0
  611. package/templates/code-review/evals/off-by-one/prompt.md +20 -0
  612. package/templates/code-review/evals/re-review/case.yaml +3 -0
  613. package/templates/code-review/evals/re-review/graders/resolves.md +4 -0
  614. package/templates/code-review/evals/re-review/graders/schema.md +5 -0
  615. package/templates/code-review/evals/re-review/prompt.md +23 -0
  616. package/templates/code-review/evals/repo-rule/case.yaml +3 -0
  617. package/templates/code-review/evals/repo-rule/graders/cites.md +4 -0
  618. package/templates/code-review/evals/repo-rule/graders/schema.md +5 -0
  619. package/templates/code-review/evals/repo-rule/prompt.md +31 -0
  620. package/templates/code-review/findings.schema.json +125 -0
  621. package/templates/code-review/rules/REVIEW.md +41 -0
  622. package/templates/code-review/skills/review/SKILL.md +162 -0
  623. package/templates/inbound-lead/agent.md +76 -0
  624. package/templates/inbound-lead/evals/clear-disqualifier/case.yaml +5 -0
  625. package/templates/inbound-lead/evals/clear-disqualifier/graders/action.md +5 -0
  626. package/templates/inbound-lead/evals/clear-disqualifier/graders/disqualifier.md +18 -0
  627. package/templates/inbound-lead/evals/clear-disqualifier/graders/schema.md +5 -0
  628. package/templates/inbound-lead/evals/clear-disqualifier/graders/score-formula.md +26 -0
  629. package/templates/inbound-lead/evals/clear-disqualifier/prompt.md +12 -0
  630. package/templates/inbound-lead/evals/injection-in-form/case.yaml +5 -0
  631. package/templates/inbound-lead/evals/injection-in-form/graders/flagged.md +5 -0
  632. package/templates/inbound-lead/evals/injection-in-form/graders/ignores-it.md +19 -0
  633. package/templates/inbound-lead/evals/injection-in-form/graders/schema.md +5 -0
  634. package/templates/inbound-lead/evals/injection-in-form/prompt.md +12 -0
  635. package/templates/inbound-lead/evals/learned-correction/case.yaml +8 -0
  636. package/templates/inbound-lead/evals/learned-correction/fixtures/learning/MEMORY.md +1 -0
  637. package/templates/inbound-lead/evals/learned-correction/fixtures/learning/no-agencies.md +14 -0
  638. package/templates/inbound-lead/evals/learned-correction/graders/applies-note.md +21 -0
  639. package/templates/inbound-lead/evals/learned-correction/graders/learned-origin.md +5 -0
  640. package/templates/inbound-lead/evals/learned-correction/graders/schema.md +5 -0
  641. package/templates/inbound-lead/evals/learned-correction/prompt.md +12 -0
  642. package/templates/inbound-lead/evals/strong-fit/case.yaml +5 -0
  643. package/templates/inbound-lead/evals/strong-fit/graders/book-call.md +5 -0
  644. package/templates/inbound-lead/evals/strong-fit/graders/fit.md +21 -0
  645. package/templates/inbound-lead/evals/strong-fit/graders/schema.md +5 -0
  646. package/templates/inbound-lead/evals/strong-fit/graders/score-formula.md +26 -0
  647. package/templates/inbound-lead/evals/strong-fit/prompt.md +12 -0
  648. package/templates/inbound-lead/evals/thin-data/case.yaml +5 -0
  649. package/templates/inbound-lead/evals/thin-data/graders/personal-email.md +5 -0
  650. package/templates/inbound-lead/evals/thin-data/graders/schema.md +5 -0
  651. package/templates/inbound-lead/evals/thin-data/graders/unknowns.md +17 -0
  652. package/templates/inbound-lead/evals/thin-data/prompt.md +12 -0
  653. package/templates/inbound-lead/evals/write-back/case.yaml +16 -0
  654. package/templates/inbound-lead/evals/write-back/fixtures/fake-hubspot.json +266 -0
  655. package/templates/inbound-lead/evals/write-back/graders/note-and-score.md +22 -0
  656. package/templates/inbound-lead/evals/write-back/graders/schema.md +5 -0
  657. package/templates/inbound-lead/evals/write-back/graders/writes-twice.md +7 -0
  658. package/templates/inbound-lead/evals/write-back/prompt.md +12 -0
  659. package/templates/inbound-lead/evals/write-back-wrong-record/case.yaml +18 -0
  660. package/templates/inbound-lead/evals/write-back-wrong-record/fixtures/fake-hubspot.json +266 -0
  661. package/templates/inbound-lead/evals/write-back-wrong-record/graders/no-write.md +7 -0
  662. package/templates/inbound-lead/evals/write-back-wrong-record/graders/proves-record.md +18 -0
  663. package/templates/inbound-lead/evals/write-back-wrong-record/graders/schema.md +5 -0
  664. package/templates/inbound-lead/evals/write-back-wrong-record/prompt.md +12 -0
  665. package/templates/inbound-lead/lead.schema.json +587 -0
  666. package/templates/inbound-lead/rules/FLAGS.md +43 -0
  667. package/templates/inbound-lead/rules/RUBRIC.md +73 -0
  668. package/templates/inbound-lead/skills/lead/SKILL.md +130 -0
  669. package/templates/kyb/agent.md +44 -0
  670. package/templates/kyb/evals/adverse-media/case.yaml +4 -0
  671. package/templates/kyb/evals/adverse-media/graders/dated-and-graded.md +25 -0
  672. package/templates/kyb/evals/adverse-media/graders/schema.md +5 -0
  673. package/templates/kyb/evals/adverse-media/prompt.md +12 -0
  674. package/templates/kyb/evals/canada-active-filed/case.yaml +4 -0
  675. package/templates/kyb/evals/canada-active-filed/graders/no-boilerplate-flags.md +22 -0
  676. package/templates/kyb/evals/canada-active-filed/graders/schema.md +5 -0
  677. package/templates/kyb/evals/canada-active-filed/prompt.md +43 -0
  678. package/templates/kyb/evals/clean-public-company/case.yaml +4 -0
  679. package/templates/kyb/evals/clean-public-company/graders/cited-and-proceed.md +23 -0
  680. package/templates/kyb/evals/clean-public-company/graders/schema.md +5 -0
  681. package/templates/kyb/evals/clean-public-company/prompt.md +11 -0
  682. package/templates/kyb/evals/injection-in-page/case.yaml +4 -0
  683. package/templates/kyb/evals/injection-in-page/fixtures/compliance-page.html +29 -0
  684. package/templates/kyb/evals/injection-in-page/graders/ignores-it.md +35 -0
  685. package/templates/kyb/evals/injection-in-page/graders/schema.md +5 -0
  686. package/templates/kyb/evals/injection-in-page/prompt.md +47 -0
  687. package/templates/kyb/evals/name-collision/case.yaml +4 -0
  688. package/templates/kyb/evals/name-collision/graders/never-merges.md +24 -0
  689. package/templates/kyb/evals/name-collision/graders/schema.md +5 -0
  690. package/templates/kyb/evals/name-collision/prompt.md +11 -0
  691. package/templates/kyb/evals/no-invention/case.yaml +4 -0
  692. package/templates/kyb/evals/no-invention/graders/invents-nothing.md +22 -0
  693. package/templates/kyb/evals/no-invention/graders/schema.md +5 -0
  694. package/templates/kyb/evals/no-invention/prompt.md +11 -0
  695. package/templates/kyb/evals/sanctioned-entity/case.yaml +6 -0
  696. package/templates/kyb/evals/sanctioned-entity/fixtures/ofac-sdn-extract/ADD.CSV.txt +13 -0
  697. package/templates/kyb/evals/sanctioned-entity/fixtures/ofac-sdn-extract/ALT.CSV.txt +12 -0
  698. package/templates/kyb/evals/sanctioned-entity/fixtures/ofac-sdn-extract/SDN.CSV.txt +9 -0
  699. package/templates/kyb/evals/sanctioned-entity/graders/cites-the-entry.md +6 -0
  700. package/templates/kyb/evals/sanctioned-entity/graders/finds-the-hit.md +27 -0
  701. package/templates/kyb/evals/sanctioned-entity/graders/schema.md +5 -0
  702. package/templates/kyb/evals/sanctioned-entity/prompt.md +65 -0
  703. package/templates/kyb/kyb.schema.json +274 -0
  704. package/templates/kyb/rules/ADVERSE-MEDIA.md +84 -0
  705. package/templates/kyb/rules/RED-FLAGS.md +68 -0
  706. package/templates/kyb/rules/SANCTIONS.md +140 -0
  707. package/templates/kyb/rules/SOURCES.md +92 -0
  708. package/templates/kyb/skills/kyb/SKILL.md +285 -0
  709. package/templates/market-monitor/agent.md +58 -0
  710. package/templates/market-monitor/digest.schema.json +194 -0
  711. package/templates/market-monitor/evals/blocked-source/case.yaml +4 -0
  712. package/templates/market-monitor/evals/blocked-source/graders/blocked-said.md +17 -0
  713. package/templates/market-monitor/evals/blocked-source/graders/schema.md +5 -0
  714. package/templates/market-monitor/evals/blocked-source/prompt.md +37 -0
  715. package/templates/market-monitor/evals/every-competitor-named/case.yaml +4 -0
  716. package/templates/market-monitor/evals/every-competitor-named/graders/every-company-named.md +16 -0
  717. package/templates/market-monitor/evals/every-competitor-named/graders/schema.md +5 -0
  718. package/templates/market-monitor/evals/every-competitor-named/prompt.md +44 -0
  719. package/templates/market-monitor/evals/learned-preference/case.yaml +7 -0
  720. package/templates/market-monitor/evals/learned-preference/fixtures/learning/MEMORY.md +1 -0
  721. package/templates/market-monitor/evals/learned-preference/fixtures/learning/skip-junior-job-posts.md +8 -0
  722. package/templates/market-monitor/evals/learned-preference/graders/omits-junior-post.md +17 -0
  723. package/templates/market-monitor/evals/learned-preference/graders/schema.md +5 -0
  724. package/templates/market-monitor/evals/learned-preference/prompt.md +25 -0
  725. package/templates/market-monitor/evals/no-repeats/case.yaml +4 -0
  726. package/templates/market-monitor/evals/no-repeats/graders/no-pulse-repeat.md +20 -0
  727. package/templates/market-monitor/evals/no-repeats/graders/schema.md +5 -0
  728. package/templates/market-monitor/evals/no-repeats/prompt.md +30 -0
  729. package/templates/market-monitor/evals/nothing-changed/case.yaml +4 -0
  730. package/templates/market-monitor/evals/nothing-changed/graders/quiet-no-inventions.md +20 -0
  731. package/templates/market-monitor/evals/nothing-changed/graders/schema.md +5 -0
  732. package/templates/market-monitor/evals/nothing-changed/prompt.md +44 -0
  733. package/templates/market-monitor/evals/post-happens/case.yaml +11 -0
  734. package/templates/market-monitor/evals/post-happens/fixtures/slack-mcp.json +31 -0
  735. package/templates/market-monitor/evals/post-happens/graders/post-is-digest.md +18 -0
  736. package/templates/market-monitor/evals/post-happens/graders/posted-once.md +10 -0
  737. package/templates/market-monitor/evals/post-happens/graders/schema.md +5 -0
  738. package/templates/market-monitor/evals/post-happens/prompt.md +20 -0
  739. package/templates/market-monitor/evals/pricing-change/case.yaml +4 -0
  740. package/templates/market-monitor/evals/pricing-change/graders/both-prices.md +5 -0
  741. package/templates/market-monitor/evals/pricing-change/graders/fetch-plan.md +16 -0
  742. package/templates/market-monitor/evals/pricing-change/graders/price-change-linked.md +20 -0
  743. package/templates/market-monitor/evals/pricing-change/graders/schema.md +5 -0
  744. package/templates/market-monitor/evals/pricing-change/prompt.md +31 -0
  745. package/templates/market-monitor/evals/pricing-moved/case.yaml +4 -0
  746. package/templates/market-monitor/evals/pricing-moved/graders/found-the-plans-page.md +16 -0
  747. package/templates/market-monitor/evals/pricing-moved/graders/schema.md +5 -0
  748. package/templates/market-monitor/evals/pricing-moved/prompt.md +29 -0
  749. package/templates/market-monitor/rules/MONITOR.md +33 -0
  750. package/templates/market-monitor/skills/monitor/SKILL.md +190 -0
  751. package/templates/release-notes/agent.md +47 -0
  752. package/templates/release-notes/evals/draft-not-publish/case.yaml +22 -0
  753. package/templates/release-notes/evals/draft-not-publish/fixtures/github-mcp.json +915 -0
  754. package/templates/release-notes/evals/draft-not-publish/graders/draft-issue-written.md +9 -0
  755. package/templates/release-notes/evals/draft-not-publish/graders/issue-body.md +15 -0
  756. package/templates/release-notes/evals/draft-not-publish/graders/never-overwrite.md +8 -0
  757. package/templates/release-notes/evals/draft-not-publish/graders/schema.md +5 -0
  758. package/templates/release-notes/evals/draft-not-publish/prompt.md +32 -0
  759. package/templates/release-notes/evals/every-pr-accounted/case.yaml +3 -0
  760. package/templates/release-notes/evals/every-pr-accounted/graders/each-pr-once-in-table.md +8 -0
  761. package/templates/release-notes/evals/every-pr-accounted/graders/revert-and-unclear.md +14 -0
  762. package/templates/release-notes/evals/every-pr-accounted/graders/schema.md +5 -0
  763. package/templates/release-notes/evals/every-pr-accounted/prompt.md +107 -0
  764. package/templates/release-notes/evals/issue-write-refused/case.yaml +22 -0
  765. package/templates/release-notes/evals/issue-write-refused/fixtures/github-mcp.json +902 -0
  766. package/templates/release-notes/evals/issue-write-refused/graders/refusal-said-plainly.md +19 -0
  767. package/templates/release-notes/evals/issue-write-refused/graders/schema.md +5 -0
  768. package/templates/release-notes/evals/issue-write-refused/graders/wrote-issue.md +6 -0
  769. package/templates/release-notes/evals/issue-write-refused/prompt.md +32 -0
  770. package/templates/release-notes/evals/late-arrival/case.yaml +21 -0
  771. package/templates/release-notes/evals/late-arrival/fixtures/github-mcp.json +866 -0
  772. package/templates/release-notes/evals/late-arrival/graders/late-pr-in-notes.md +14 -0
  773. package/templates/release-notes/evals/late-arrival/graders/late-pr-row.md +7 -0
  774. package/templates/release-notes/evals/late-arrival/graders/no-previous-release-pr.md +7 -0
  775. package/templates/release-notes/evals/late-arrival/graders/schema.md +5 -0
  776. package/templates/release-notes/evals/late-arrival/graders/walks-previous-end.md +8 -0
  777. package/templates/release-notes/evals/late-arrival/prompt.md +6 -0
  778. package/templates/release-notes/evals/learned-style/case.yaml +8 -0
  779. package/templates/release-notes/evals/learned-style/fixtures/learning/MEMORY.md +1 -0
  780. package/templates/release-notes/evals/learned-style/fixtures/learning/say-agent-not-bot.md +13 -0
  781. package/templates/release-notes/evals/learned-style/graders/no-bot.md +8 -0
  782. package/templates/release-notes/evals/learned-style/graders/same-changes.md +10 -0
  783. package/templates/release-notes/evals/learned-style/graders/schema.md +5 -0
  784. package/templates/release-notes/evals/learned-style/prompt.md +71 -0
  785. package/templates/release-notes/evals/no-pr-numbers-on-top/case.yaml +3 -0
  786. package/templates/release-notes/evals/no-pr-numbers-on-top/graders/no-hash-number-on-top.md +8 -0
  787. package/templates/release-notes/evals/no-pr-numbers-on-top/graders/no-pr-link-on-top.md +7 -0
  788. package/templates/release-notes/evals/no-pr-numbers-on-top/graders/schema.md +5 -0
  789. package/templates/release-notes/evals/no-pr-numbers-on-top/graders/table-heading.md +7 -0
  790. package/templates/release-notes/evals/no-pr-numbers-on-top/prompt.md +62 -0
  791. package/templates/release-notes/evals/upgrade-line/case.yaml +5 -0
  792. package/templates/release-notes/evals/upgrade-line/graders/chore-bump-upgrading.md +16 -0
  793. package/templates/release-notes/evals/upgrade-line/graders/duplicate-keys-in-upgrading.md +8 -0
  794. package/templates/release-notes/evals/upgrade-line/graders/old-flag-in-upgrading.md +7 -0
  795. package/templates/release-notes/evals/upgrade-line/graders/schema.md +5 -0
  796. package/templates/release-notes/evals/upgrade-line/graders/upgrading-says-what-to-do.md +14 -0
  797. package/templates/release-notes/evals/upgrade-line/prompt.md +78 -0
  798. package/templates/release-notes/evals/user-facing-only/case.yaml +4 -0
  799. package/templates/release-notes/evals/user-facing-only/graders/ci-out-of-top.md +14 -0
  800. package/templates/release-notes/evals/user-facing-only/graders/no-windows.md +8 -0
  801. package/templates/release-notes/evals/user-facing-only/graders/nothing-invented.md +13 -0
  802. package/templates/release-notes/evals/user-facing-only/graders/schema.md +5 -0
  803. package/templates/release-notes/evals/user-facing-only/prompt.md +113 -0
  804. package/templates/release-notes/notes.schema.json +145 -0
  805. package/templates/release-notes/rules/STYLE.md +47 -0
  806. package/templates/release-notes/skills/release-notes/SKILL.md +311 -0
  807. package/dist/console/assets/index-CnJBf7Lc.js +0 -486
  808. package/dist/console/assets/index-DUHbWcIP.css +0 -1
  809. package/dist/trigger-secrets.d.ts +0 -32
  810. package/dist/trigger-secrets.js +0 -143
@@ -0,0 +1 @@
1
+ @font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./jetbrains-mono-cyrillic-ext-400-normal-C_uLvvQ5.woff2) format("woff2"),url(./jetbrains-mono-cyrillic-ext-400-normal-BHyURHCj.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./jetbrains-mono-cyrillic-400-normal-BEIGL1Tu.woff2) format("woff2"),url(./jetbrains-mono-cyrillic-400-normal-CIEtRijs.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./jetbrains-mono-greek-400-normal-C190GLew.woff2) format("woff2"),url(./jetbrains-mono-greek-400-normal-CNojz0t3.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./jetbrains-mono-vietnamese-400-normal-ByoDsISC.woff2) format("woff2"),url(./jetbrains-mono-vietnamese-400-normal-BeU3T8wf.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./jetbrains-mono-latin-ext-400-normal-Bc8Ftmh3.woff2) format("woff2"),url(./jetbrains-mono-latin-ext-400-normal-DHMOLxAi.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./jetbrains-mono-latin-400-normal-V6pRDFza.woff2) format("woff2"),url(./jetbrains-mono-latin-400-normal-B11XCQ5g.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:600;src:url(./jetbrains-mono-cyrillic-ext-600-normal-Dj6eZy5f.woff2) format("woff2"),url(./jetbrains-mono-cyrillic-ext-600-normal-DpeVePZf.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:600;src:url(./jetbrains-mono-cyrillic-600-normal-EVf6-Yzo.woff2) format("woff2"),url(./jetbrains-mono-cyrillic-600-normal-BB5xRk30.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:600;src:url(./jetbrains-mono-greek-600-normal-H7WoG9Et.woff2) format("woff2"),url(./jetbrains-mono-greek-600-normal-3KAm9r92.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:600;src:url(./jetbrains-mono-vietnamese-600-normal-Dtizs43-.woff2) format("woff2"),url(./jetbrains-mono-vietnamese-600-normal-CSpzN4cI.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:600;src:url(./jetbrains-mono-latin-ext-600-normal-BfB_LPfz.woff2) format("woff2"),url(./jetbrains-mono-latin-ext-600-normal-DiQlUoE6.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:600;src:url(./jetbrains-mono-latin-600-normal-C8RAYTDA.woff2) format("woff2"),url(./jetbrains-mono-latin-600-normal-DXv3JcnD.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Schibsted Grotesk;font-style:normal;font-display:swap;font-weight:400;src:url(./schibsted-grotesk-latin-ext-400-normal-4l4lq8zr.woff2) format("woff2"),url(./schibsted-grotesk-latin-ext-400-normal-BGzXWJeR.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Schibsted Grotesk;font-style:normal;font-display:swap;font-weight:400;src:url(./schibsted-grotesk-latin-400-normal-Cph9ettZ.woff2) format("woff2"),url(./schibsted-grotesk-latin-400-normal-DfGZKnlb.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Schibsted Grotesk;font-style:normal;font-display:swap;font-weight:600;src:url(./schibsted-grotesk-latin-ext-600-normal-8_E36CQj.woff2) format("woff2"),url(./schibsted-grotesk-latin-ext-600-normal-C27an7Zc.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Schibsted Grotesk;font-style:normal;font-display:swap;font-weight:600;src:url(./schibsted-grotesk-latin-600-normal-BGBUNdzT.woff2) format("woff2"),url(./schibsted-grotesk-latin-600-normal-COje25QW.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root,.light{color-scheme:light;--background: 0 0% 100%;--foreground: 240 10% 3.9%;--card: 0 0% 100%;--card-foreground: 240 10% 3.9%;--muted: 240 4.8% 95.9%;--muted-foreground: 240 4% 43%;--accent: 240 4.8% 95.9%;--accent-foreground: 240 5.9% 10%;--overlay: 240 10% 3.9%;--primary: 30 100% 50%;--primary-foreground: 240 10% 3.9%;--primary-text: 30 100% 34%;--success: 142 71% 45%;--success-text: 142.4 71.8% 29.2%;--warning: 38 92% 50%;--warning-text: 35.5 91.7% 32%;--destructive: 0 84.2% 60.2%;--destructive-text: 0 72% 46%;--info: 217 91% 60%;--info-text: 217 91% 48%;--border: 240 5.9% 90%;--border-strong: 216 12% 84%;--input: 240 4% 56%;--ring: var(--foreground);--run-active: var(--primary-text);--run-error-surface: 0 85.7% 97.3%;--wf-jev: 322 58% 51%;--wf-parallel: 174 72% 33%;--wf-openrouter: 239 70% 60%;--wf-tool: 207 70% 41%;--wf-exit: 251 55% 53%;--radius: 0px;--border-width: 1px;--border-width-strong: 2px;--focus-ring-width: 2px;--focus-ring-offset: 2px;--control-sm: 2rem;--control-md: 2.5rem;--control-lg: 2.75rem;--sidebar-width: 220px;--page-width: 1100px;--page-width-wide: 1600px;--duration-fast: .15s;--duration-base: .25s;--duration-slow: .4s;--ease-standard: cubic-bezier(.4, 0, .2, 1);--shadow-float: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--layer-raised: 10;--layer-sticky: 20;--layer-overlay: 30;--layer-dialog: 40;--layer-popover: 50;--layer-toast: 60}.dark{color-scheme:dark;--background: 240 6% 9%;--foreground: 0 0% 95%;--card: 240 5% 12%;--card-foreground: 0 0% 95%;--muted: 240 5% 18%;--muted-foreground: 240 5% 66%;--accent: 240 5% 18%;--accent-foreground: 0 0% 98%;--overlay: 240 10% 3.9%;--primary: 30 100% 50%;--primary-foreground: 240 10% 3.9%;--primary-text: 30 100% 50%;--success: 142 71% 45%;--success-text: 142 71% 45%;--warning: 38 92% 55%;--warning-text: 38 92% 55%;--destructive: 0 84.2% 60.2%;--destructive-text: 0 90.6% 70.8%;--info: 217 91% 66%;--info-text: 217 91% 66%;--border: 240 5% 18%;--border-strong: 240 5% 45%;--input: 240 5% 45%;--ring: var(--foreground);--run-active: var(--primary-text);--run-error-surface: 0 33.3% 17.1%;--wf-jev: 318 73% 61%;--wf-parallel: 172 66% 50%;--wf-openrouter: 234 89% 74%;--wf-tool: 206 83% 65%;--wf-exit: 253 100% 81%;--shadow-float: 0 10px 15px -3px rgb(0 0 0 / .5), 0 4px 6px -4px rgb(0 0 0 / .5)}@media (prefers-color-scheme: dark){html:not(.light):not(.dark){--background: 240 6% 9%;color-scheme:dark}}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Schibsted Grotesk,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:JetBrains Mono,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*{--tw-border-opacity: 1;border-color:hsl(var(--border) / var(--tw-border-opacity, 1));border-radius:var(--radius)!important}html,body,#root{height:100%}body{--tw-bg-opacity: 1;background-color:hsl(var(--background) / var(--tw-bg-opacity, 1));font-family:Schibsted Grotesk,sans-serif;--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity, 1));-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:focus-visible{outline:var(--focus-ring-width) solid hsl(var(--ring));outline-offset:var(--focus-ring-offset)}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}code,pre,kbd,samp,.font-mono,.caps,svg.wf{font-variant-ligatures:none;font-feature-settings:"liga" 0,"calt" 0}.\!caps{font-variant-ligatures:none!important;font-feature-settings:"liga" 0,"calt" 0!important}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.\!caps,.caps{font-variant-ligatures:none;font-feature-settings:"liga" 0,"calt" 0;font-family:JetBrains Mono,monospace;text-transform:uppercase;letter-spacing:.06em}.report h1{margin-bottom:2.5rem;border-bottom-width:3px;--tw-border-opacity: 1;border-color:hsl(var(--foreground) / var(--tw-border-opacity, 1));padding-bottom:1.25rem;font-size:32px;line-height:40px;font-weight:600;line-height:1.25}.report h2{margin-bottom:1rem;margin-top:2.5rem;border-bottom-width:1px;padding-bottom:.75rem;font-size:20px;line-height:28px;font-weight:600}.report h3{margin-bottom:.5rem;margin-top:1.5rem;font-size:16px;line-height:24px;font-weight:600}.report p,.report li{font-size:16px;line-height:24px;line-height:1.75}.report p{margin-bottom:1rem}.report ul{margin-bottom:1rem;list-style-type:disc;padding-left:1.5rem}.report ol{margin-bottom:1rem;list-style-type:decimal;padding-left:1.5rem}.report code{font-variant-ligatures:none;font-feature-settings:"liga" 0,"calt" 0;--tw-bg-opacity: 1;background-color:hsl(var(--muted) / var(--tw-bg-opacity, 1));padding-left:.25rem;padding-right:.25rem;font-family:JetBrains Mono,monospace;font-size:13px}.report pre{font-variant-ligatures:none;font-feature-settings:"liga" 0,"calt" 0;margin-bottom:1rem;overflow-x:auto;border-width:1px;--tw-bg-opacity: 1;background-color:hsl(var(--card) / var(--tw-bg-opacity, 1));padding:1rem;font-family:JetBrains Mono,monospace;font-size:12px;line-height:1.8}.report table{margin-bottom:1rem;width:100%;border-collapse:collapse;font-size:14px;line-height:1.25rem}.report th,.report td{border-width:1px;padding:.5rem .75rem;text-align:left;vertical-align:top}.report th{font-variant-ligatures:none;font-feature-settings:"liga" 0,"calt" 0;font-family:JetBrains Mono,monospace;text-transform:uppercase;letter-spacing:.06em;font-size:11px;--tw-text-opacity: 1;color:hsl(var(--muted-foreground) / var(--tw-text-opacity, 1))}.report a,.report button[data-run-file]{--tw-text-opacity: 1;color:hsl(var(--primary-text) / var(--tw-text-opacity, 1));text-decoration-line:underline;text-underline-offset:2px}.report button[data-run-file]{cursor:pointer;text-align:left;font:inherit}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.-inset-y-1{top:-.25rem;bottom:-.25rem}.inset-x-0{left:0;right:0}.inset-x-4{left:1rem;right:1rem}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.bottom-4{bottom:1rem}.bottom-full{bottom:100%}.left-0{left:0}.left-1\/2{left:50%}.left-\[3px\]{left:3px}.left-\[calc\(100\%-16px\)\]{left:calc(100% - 16px)}.right-0{right:0}.top-0{top:0}.top-1\/2{top:50%}.top-full{top:100%}.z-0{z-index:0}.z-dialog{z-index:var(--layer-dialog)}.z-popover{z-index:var(--layer-popover)}.z-raised{z-index:var(--layer-raised)}.z-toast{z-index:var(--layer-toast)}.order-last{order:9999}.-m-1{margin:-.25rem}.m-0{margin:0}.m-5{margin:1.25rem}.m-8{margin:2rem}.-mx-4{margin-left:-1rem;margin-right:-1rem}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.-mb-px{margin-bottom:-1px}.-ml-3{margin-left:-.75rem}.-ml-px{margin-left:-1px}.-mt-0\.5{margin-top:-.125rem}.-mt-1{margin-top:-.25rem}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-1\.5{margin-left:.375rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mr-auto{margin-right:auto}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-\[12vh\]{margin-top:12vh}.mt-auto{margin-top:auto}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.aspect-\[16\/10\]{aspect-ratio:16/10}.aspect-\[9\/19\]{aspect-ratio:9/19}.size-1\.5{width:.375rem;height:.375rem}.size-2{width:.5rem;height:.5rem}.size-2\.5{width:.625rem;height:.625rem}.size-3{width:.75rem;height:.75rem}.size-3\.5{width:.875rem;height:.875rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-7{width:1.75rem;height:1.75rem}.size-\[18px\]{width:18px;height:18px}.size-control-sm{width:var(--control-sm);height:var(--control-sm)}.size-full{width:100%;height:100%}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-4{height:1rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[124px\]{height:124px}.h-\[155px\]{height:155px}.h-\[38px\]{height:38px}.h-\[560px\]{height:560px}.h-\[70vh\]{height:70vh}.h-control-lg{height:var(--control-lg)}.h-control-md{height:var(--control-md)}.h-control-sm{height:var(--control-sm)}.h-dvh{height:100dvh}.h-full{height:100%}.max-h-28{max-height:7rem}.max-h-48{max-height:12rem}.max-h-64{max-height:16rem}.max-h-72{max-height:18rem}.max-h-80{max-height:20rem}.max-h-\[60dvh\]{max-height:60dvh}.max-h-\[9\.5rem\]{max-height:9.5rem}.max-h-full{max-height:100%}.max-h-none{max-height:none}.min-h-0{min-height:0px}.min-h-10{min-height:2.5rem}.min-h-11{min-height:2.75rem}.min-h-64{min-height:16rem}.min-h-\[1\.7em\]{min-height:1.7em}.min-h-\[320px\]{min-height:320px}.min-h-\[360px\]{min-height:360px}.min-h-\[44px\]{min-height:44px}.min-h-control-md{min-height:var(--control-md)}.min-h-dvh{min-height:100dvh}.min-h-screen{min-height:100vh}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-10{width:2.5rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2\/3{width:66.666667%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-36{width:9rem}.w-4{width:1rem}.w-48{width:12rem}.w-52{width:13rem}.w-56{width:14rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-\[120px\]{width:120px}.w-\[130px\]{width:130px}.w-\[132px\]{width:132px}.w-\[170px\]{width:170px}.w-\[92px\]{width:92px}.w-\[96px\]{width:96px}.w-\[var\(--button-width\)\]{width:var(--button-width)}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-px{width:1px}.w-sidebar{width:var(--sidebar-width)}.min-w-0{min-width:0px}.min-w-\[12rem\]{min-width:12rem}.min-w-\[18px\]{min-width:18px}.min-w-\[240px\]{min-width:240px}.min-w-\[280px\]{min-width:280px}.min-w-\[9rem\]{min-width:9rem}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-40{max-width:10rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-64{max-width:16rem}.max-w-\[1100px\]{max-width:1100px}.max-w-\[140px\]{max-width:140px}.max-w-\[150px\]{max-width:150px}.max-w-\[1600px\]{max-width:1600px}.max-w-\[16rem\]{max-width:16rem}.max-w-\[220px\]{max-width:220px}.max-w-\[24px\]{max-width:24px}.max-w-\[260px\]{max-width:260px}.max-w-\[300px\]{max-width:300px}.max-w-\[440px\]{max-width:440px}.max-w-\[60vw\]{max-width:60vw}.max-w-\[640px\]{max-width:640px}.max-w-\[min\(20rem\,80vw\)\]{max-width:min(20rem,80vw)}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-page{max-width:var(--page-width)}.max-w-prose{max-width:65ch}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.basis-full{flex-basis:100%}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes ping{75%,to{transform:scale(2);opacity:0}}.animate-ping{animation:ping 1s cubic-bezier(0,0,.2,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize-y{resize:vertical}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-\[minmax\(0\,1fr\)_100px_92px\]{grid-template-columns:minmax(0,1fr) 100px 92px}.grid-cols-\[repeat\(auto-fill\,minmax\(min\(100\%\,18rem\)\,1fr\)\)\]{grid-template-columns:repeat(auto-fill,minmax(min(100%,18rem),1fr))}.grid-cols-\[repeat\(auto-fill\,minmax\(min\(100\%\,9rem\)\,1fr\)\)\]{grid-template-columns:repeat(auto-fill,minmax(min(100%,9rem),1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-\[2px\]{gap:2px}.gap-px{gap:1px}.gap-x-10{-moz-column-gap:2.5rem;column-gap:2.5rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-x-5{-moz-column-gap:1.25rem;column-gap:1.25rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.gap-y-1{row-gap:.25rem}.gap-y-1\.5{row-gap:.375rem}.gap-y-2{row-gap:.5rem}.gap-y-3{row-gap:.75rem}.gap-y-4{row-gap:1rem}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.self-start{align-self:flex-start}.self-center{align-self:center}.self-stretch{align-self:stretch}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:var(--radius)}.rounded-\[2px\]{border-radius:2px}.rounded-t-\[4px\]{border-top-left-radius:4px;border-top-right-radius:4px}.border{border-width:1px}.border-0{border-width:0px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-\[\#333\]{--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity, 1))}.border-\[\#444\]{--tw-border-opacity: 1;border-color:rgb(68 68 68 / var(--tw-border-opacity, 1))}.border-\[\#555\]{--tw-border-opacity: 1;border-color:rgb(85 85 85 / var(--tw-border-opacity, 1))}.border-\[hsl\(var\(--wf-parallel\)\/\.6\)\]{border-color:hsl(var(--wf-parallel)/.6)}.border-\[hsl\(var\(--wf-tool\)\/\.6\)\]{border-color:hsl(var(--wf-tool)/.6)}.border-border{--tw-border-opacity: 1;border-color:hsl(var(--border) / var(--tw-border-opacity, 1))}.border-border-strong{--tw-border-opacity: 1;border-color:hsl(var(--border-strong) / var(--tw-border-opacity, 1))}.border-border-strong\/60{border-color:hsl(var(--border-strong) / .6)}.border-border-strong\/70{border-color:hsl(var(--border-strong) / .7)}.border-destructive{--tw-border-opacity: 1;border-color:hsl(var(--destructive) / var(--tw-border-opacity, 1))}.border-destructive\/40{border-color:hsl(var(--destructive) / .4)}.border-destructive\/50{border-color:hsl(var(--destructive) / .5)}.border-destructive\/60{border-color:hsl(var(--destructive) / .6)}.border-foreground{--tw-border-opacity: 1;border-color:hsl(var(--foreground) / var(--tw-border-opacity, 1))}.border-info\/50{border-color:hsl(var(--info) / .5)}.border-input{--tw-border-opacity: 1;border-color:hsl(var(--input) / var(--tw-border-opacity, 1))}.border-primary{--tw-border-opacity: 1;border-color:hsl(var(--primary) / var(--tw-border-opacity, 1))}.border-primary\/50{border-color:hsl(var(--primary) / .5)}.border-run-active\/50{border-color:hsl(var(--run-active) / .5)}.border-success{--tw-border-opacity: 1;border-color:hsl(var(--success) / var(--tw-border-opacity, 1))}.border-success\/50{border-color:hsl(var(--success) / .5)}.border-transparent{border-color:transparent}.border-warning{--tw-border-opacity: 1;border-color:hsl(var(--warning) / var(--tw-border-opacity, 1))}.border-warning\/40{border-color:hsl(var(--warning) / .4)}.border-warning\/50{border-color:hsl(var(--warning) / .5)}.border-warning\/60{border-color:hsl(var(--warning) / .6)}.border-l-foreground{--tw-border-opacity: 1;border-left-color:hsl(var(--foreground) / var(--tw-border-opacity, 1))}.border-l-transparent{border-left-color:transparent}.bg-\[\#080808\]{--tw-bg-opacity: 1;background-color:rgb(8 8 8 / var(--tw-bg-opacity, 1))}.bg-\[\#555\]{--tw-bg-opacity: 1;background-color:rgb(85 85 85 / var(--tw-bg-opacity, 1))}.bg-\[hsl\(var\(--run-active\)\)\]{background-color:hsl(var(--run-active))}.bg-\[hsl\(var\(--wf-tool\)\/\.12\)\]{background-color:hsl(var(--wf-tool)/.12)}.bg-background{--tw-bg-opacity: 1;background-color:hsl(var(--background) / var(--tw-bg-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-border{--tw-bg-opacity: 1;background-color:hsl(var(--border) / var(--tw-bg-opacity, 1))}.bg-border-strong{--tw-bg-opacity: 1;background-color:hsl(var(--border-strong) / var(--tw-bg-opacity, 1))}.bg-card{--tw-bg-opacity: 1;background-color:hsl(var(--card) / var(--tw-bg-opacity, 1))}.bg-card\/40{background-color:hsl(var(--card) / .4)}.bg-destructive{--tw-bg-opacity: 1;background-color:hsl(var(--destructive) / var(--tw-bg-opacity, 1))}.bg-destructive\/10{background-color:hsl(var(--destructive) / .1)}.bg-destructive\/15{background-color:hsl(var(--destructive) / .15)}.bg-destructive\/5{background-color:hsl(var(--destructive) / .05)}.bg-destructive\/60{background-color:hsl(var(--destructive) / .6)}.bg-foreground{--tw-bg-opacity: 1;background-color:hsl(var(--foreground) / var(--tw-bg-opacity, 1))}.bg-foreground\/5{background-color:hsl(var(--foreground) / .05)}.bg-info\/10{background-color:hsl(var(--info) / .1)}.bg-info\/5{background-color:hsl(var(--info) / .05)}.bg-muted{--tw-bg-opacity: 1;background-color:hsl(var(--muted) / var(--tw-bg-opacity, 1))}.bg-muted-foreground{--tw-bg-opacity: 1;background-color:hsl(var(--muted-foreground) / var(--tw-bg-opacity, 1))}.bg-muted-foreground\/45{background-color:hsl(var(--muted-foreground) / .45)}.bg-muted-foreground\/50{background-color:hsl(var(--muted-foreground) / .5)}.bg-muted\/40{background-color:hsl(var(--muted) / .4)}.bg-muted\/70{background-color:hsl(var(--muted) / .7)}.bg-overlay\/70{background-color:hsl(var(--overlay) / .7)}.bg-overlay\/80{background-color:hsl(var(--overlay) / .8)}.bg-primary{--tw-bg-opacity: 1;background-color:hsl(var(--primary) / var(--tw-bg-opacity, 1))}.bg-primary\/10{background-color:hsl(var(--primary) / .1)}.bg-primary\/20{background-color:hsl(var(--primary) / .2)}.bg-primary\/5{background-color:hsl(var(--primary) / .05)}.bg-primary\/\[0\.06\]{background-color:hsl(var(--primary) / .06)}.bg-run-active{--tw-bg-opacity: 1;background-color:hsl(var(--run-active) / var(--tw-bg-opacity, 1))}.bg-success{--tw-bg-opacity: 1;background-color:hsl(var(--success) / var(--tw-bg-opacity, 1))}.bg-success\/10{background-color:hsl(var(--success) / .1)}.bg-success\/40{background-color:hsl(var(--success) / .4)}.bg-success\/5{background-color:hsl(var(--success) / .05)}.bg-transparent{background-color:transparent}.bg-warning{--tw-bg-opacity: 1;background-color:hsl(var(--warning) / var(--tw-bg-opacity, 1))}.bg-warning\/10{background-color:hsl(var(--warning) / .1)}.bg-warning\/15{background-color:hsl(var(--warning) / .15)}.bg-warning\/5{background-color:hsl(var(--warning) / .05)}.bg-warning\/60{background-color:hsl(var(--warning) / .6)}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-\[radial-gradient\(hsl\(var\(--border\)\)_1px\,transparent_1px\)\]{background-image:radial-gradient(hsl(var(--border)) 1px,transparent 1px)}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-background{--tw-gradient-from: hsl(var(--background) / 1) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--background) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.object-cover{-o-object-fit:cover;object-fit:cover}.object-top{-o-object-position:top;object-position:top}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-1{padding-bottom:.25rem}.pb-1\.5{padding-bottom:.375rem}.pb-2{padding-bottom:.5rem}.pb-2\.5{padding-bottom:.625rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-\[30px\]{padding-bottom:30px}.pl-2\.5{padding-left:.625rem}.pl-3{padding-left:.75rem}.pl-5{padding-left:1.25rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pt-0\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-1\.5{padding-top:.375rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.pt-\[12vh\]{padding-top:12vh}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-top{vertical-align:top}.font-mono{font-family:JetBrains Mono,monospace}.font-sans{font-family:Schibsted Grotesk,sans-serif}.text-2xl{font-size:24px;line-height:32px}.text-\[10\.5px\]{font-size:10.5px}.text-\[10px\]{font-size:10px}.text-\[11\.5px\]{font-size:11.5px}.text-\[11px\]{font-size:11px}.text-\[12\.5px\]{font-size:12.5px}.text-\[12px\]{font-size:12px}.text-\[13px\]{font-size:13px}.text-\[14px\]{font-size:14px}.text-\[15px\]{font-size:15px}.text-\[16px\]{font-size:16px}.text-\[17px\]{font-size:17px}.text-\[18px\]{font-size:18px}.text-\[22px\]{font-size:22px}.text-body{font-size:13px}.text-label{font-size:11px}.text-lead{font-size:14px}.text-lg{font-size:18px;line-height:28px}.text-micro{font-size:10px}.text-small{font-size:12px}.text-xl{font-size:20px;line-height:28px}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.normal-case{text-transform:none}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-5{line-height:1.25rem}.leading-\[1\.65\]{line-height:1.65}.leading-\[1\.6\]{line-height:1.6}.leading-\[1\.7\]{line-height:1.7}.leading-\[1\.8\]{line-height:1.8}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-normal{letter-spacing:0em}.text-\[\#888\]{--tw-text-opacity: 1;color:rgb(136 136 136 / var(--tw-text-opacity, 1))}.text-\[\#999\]{--tw-text-opacity: 1;color:rgb(153 153 153 / var(--tw-text-opacity, 1))}.text-\[\#aaa\]{--tw-text-opacity: 1;color:rgb(170 170 170 / var(--tw-text-opacity, 1))}.text-\[\#ccc\]{--tw-text-opacity: 1;color:rgb(204 204 204 / var(--tw-text-opacity, 1))}.text-\[\#f5f5f5\]{--tw-text-opacity: 1;color:rgb(245 245 245 / var(--tw-text-opacity, 1))}.text-\[hsl\(var\(--run-active\)\)\]{color:hsl(var(--run-active))}.text-\[hsl\(var\(--wf-tool\)\)\]{color:hsl(var(--wf-tool))}.text-background{--tw-text-opacity: 1;color:hsl(var(--background) / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-card-foreground{--tw-text-opacity: 1;color:hsl(var(--card-foreground) / var(--tw-text-opacity, 1))}.text-current{color:currentColor}.text-destructive-text{--tw-text-opacity: 1;color:hsl(var(--destructive-text) / var(--tw-text-opacity, 1))}.text-foreground{--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity, 1))}.text-foreground\/80{color:hsl(var(--foreground) / .8)}.text-info-text{--tw-text-opacity: 1;color:hsl(var(--info-text) / var(--tw-text-opacity, 1))}.text-muted-foreground{--tw-text-opacity: 1;color:hsl(var(--muted-foreground) / var(--tw-text-opacity, 1))}.text-primary{--tw-text-opacity: 1;color:hsl(var(--primary) / var(--tw-text-opacity, 1))}.text-primary-foreground{--tw-text-opacity: 1;color:hsl(var(--primary-foreground) / var(--tw-text-opacity, 1))}.text-primary-text{--tw-text-opacity: 1;color:hsl(var(--primary-text) / var(--tw-text-opacity, 1))}.text-run-active{--tw-text-opacity: 1;color:hsl(var(--run-active) / var(--tw-text-opacity, 1))}.text-success-text{--tw-text-opacity: 1;color:hsl(var(--success-text) / var(--tw-text-opacity, 1))}.text-warning-text{--tw-text-opacity: 1;color:hsl(var(--warning-text) / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.decoration-muted-foreground\/40{text-decoration-color:hsl(var(--muted-foreground) / .4)}.underline-offset-2{text-underline-offset:2px}.underline-offset-4{text-underline-offset:4px}.accent-\[hsl\(var\(--primary\)\)\]{accent-color:hsl(var(--primary))}.accent-foreground{accent-color:hsl(var(--foreground) / 1)}.accent-primary{accent-color:hsl(var(--primary) / 1)}.opacity-45{opacity:.45}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.shadow-\[0_0_0_1px_hsl\(var\(--primary\)\)\]{--tw-shadow: 0 0 0 1px hsl(var(--primary));--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_0_0_4px_hsl\(var\(--run-active\)\/0\.18\)\]{--tw-shadow: 0 0 0 4px hsl(var(--run-active)/.18);--tw-shadow-colored: 0 0 0 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[inset_2px_0_hsl\(var\(--primary\)\)\]{--tw-shadow: inset 2px 0 hsl(var(--primary));--tw-shadow-colored: inset 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-float{--tw-shadow: var(--shadow-float);--tw-shadow-colored: var(--shadow-float);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-focus{outline-width:var(--focus-ring-width)}.-outline-offset-2{outline-offset:-2px}.outline-offset-focus{outline-offset:var(--focus-ring-offset)}.outline-ring{outline-color:hsl(var(--ring) / 1)}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.\!filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-\[border-color\,box-shadow\]{transition-property:border-color,box-shadow;transition-timing-function:var(--ease-standard);transition-duration:var(--duration-fast)}.transition-\[left\,background-color\]{transition-property:left,background-color;transition-timing-function:var(--ease-standard);transition-duration:var(--duration-fast)}.transition-\[width\]{transition-property:width;transition-timing-function:var(--ease-standard);transition-duration:var(--duration-fast)}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:var(--ease-standard);transition-duration:var(--duration-fast)}.transition-opacity{transition-property:opacity;transition-timing-function:var(--ease-standard);transition-duration:var(--duration-fast)}.transition-transform{transition-property:transform;transition-timing-function:var(--ease-standard);transition-duration:var(--duration-fast)}.duration-fast{transition-duration:var(--duration-fast)}.duration-slow{transition-duration:var(--duration-slow)}.\[--anchor-gap\:2px\]{--anchor-gap: 2px}.\[--anchor-padding\:8px\]{--anchor-padding: 8px}.\[animation-duration\:2s\]{animation-duration:2s}.\[background-size\:22px_22px\]{background-size:22px 22px}.\[contain\:layout\]{contain:layout}svg.wf{display:block;max-width:100%;height:auto;margin:0 auto;font-family:JetBrains Mono,monospace}.wf .wire{fill:none;stroke:hsl(var(--border-strong) / .55);stroke-width:1.5}.wf .exit-wire{stroke:hsl(var(--wf-exit))}.wf .branch.taken,.wf .wire.taken{stroke:hsl(var(--foreground));stroke-width:2.5}.wf .frame{fill:none;stroke:hsl(var(--border-strong) / .7);stroke-dasharray:4 3}.wf .box{fill:hsl(var(--card));stroke:hsl(var(--border-strong) / .6);stroke-width:1.2;transition:fill var(--duration-slow),stroke var(--duration-slow)}.wf .swatch{fill:hsl(var(--muted-foreground))}.wf .who-agent .swatch{fill:hsl(var(--primary))}.wf .who-jev .swatch{fill:hsl(var(--wf-jev))}.wf .who-parallel .swatch{fill:hsl(var(--wf-parallel))}.wf .who-openrouter .swatch{fill:hsl(var(--wf-openrouter))}.wf .who-tool .swatch{fill:hsl(var(--wf-tool))}.wf .who-control .swatch{fill:hsl(var(--foreground))}.wf .label{font:600 12.5px JetBrains Mono,monospace;fill:hsl(var(--foreground))}.wf .kind,.wf .model{font:10.5px JetBrains Mono,monospace;fill:hsl(var(--muted-foreground))}.wf .branch-name{font:600 10.5px JetBrains Mono,monospace;fill:hsl(var(--muted-foreground))}.wf .branch-name.taken{fill:hsl(var(--foreground))}.wf .exit-box{fill:hsl(var(--wf-exit) / .12);stroke:hsl(var(--wf-exit));stroke-width:1}.wf .exit-text{font:10.5px JetBrains Mono,monospace;fill:hsl(var(--foreground))}.wf .tag-box{fill:hsl(var(--foreground))}.wf .tag{font:600 9px JetBrains Mono,monospace;letter-spacing:.06em;fill:hsl(var(--background))}.wf .badge-box{fill:none;stroke:hsl(var(--border-strong))}.wf .badge{font:600 8.5px JetBrains Mono,monospace;letter-spacing:.06em;fill:hsl(var(--muted-foreground))}.wf .chip-box{fill:hsl(var(--wf-jev) / .14);stroke:hsl(var(--wf-jev) / .6)}.wf .chip{font:600 9px JetBrains Mono,monospace;letter-spacing:.06em;fill:hsl(var(--wf-jev));text-transform:uppercase}.wf .who-parallel .chip-box{fill:hsl(var(--wf-parallel) / .14);stroke:hsl(var(--wf-parallel) / .6)}.wf .who-parallel .chip{fill:hsl(var(--wf-parallel))}.wf .who-openrouter .chip-box{fill:hsl(var(--wf-openrouter) / .14);stroke:hsl(var(--wf-openrouter) / .6)}.wf .who-openrouter .chip{fill:hsl(var(--wf-openrouter))}.wf .state{font:600 9px JetBrains Mono,monospace;letter-spacing:.06em;fill:hsl(var(--muted-foreground));text-transform:uppercase}.wf .verdict{font:600 10.5px JetBrains Mono,monospace;fill:hsl(var(--foreground))}.wf .removed{font:11px JetBrains Mono,monospace;fill:hsl(var(--muted-foreground))}.wf .caption{font:10px JetBrains Mono,monospace;fill:hsl(var(--muted-foreground))}.wf .new>.box,.wf .new>.exit-box{stroke:hsl(var(--foreground));stroke-width:2.4}.wf .moved>.box,.wf .moved>.exit-box{stroke:hsl(var(--foreground));stroke-width:1.6;stroke-dasharray:1 3}.wf .edited>.box,.wf .edited>.exit-box{stroke:hsl(var(--foreground));stroke-width:1.6;stroke-dasharray:4 2}.wf .done>.box{fill:hsl(var(--success) / .1);stroke:hsl(var(--success) / .8)}.wf .done>.exit-box{fill:hsl(var(--card));stroke:hsl(var(--border))}.wf .done>.state{fill:hsl(var(--success-text))}.wf .working>.box,.wf .working>.exit-box{stroke:hsl(var(--primary));stroke-width:2.4;animation:wf-pulse 1.6s ease-in-out infinite;animation-delay:var(--wf-phase, 0s)}.wf .working>.state{fill:hsl(var(--primary))}.wf .failed>.box,.wf .failed>.exit-box{fill:hsl(var(--destructive) / .12);stroke:hsl(var(--destructive));stroke-width:2}.wf .failed>.state{fill:hsl(var(--destructive-text))}.wf .review>.box{fill:hsl(var(--warning) / .1);stroke:hsl(var(--warning));stroke-width:2}.wf .review>.state{fill:hsl(var(--warning-text))}.wf .escalated>.box,.wf .escalated>.exit-box{stroke:hsl(var(--wf-exit));stroke-width:2}.wf .escalated>.state{fill:hsl(var(--wf-exit))}.wf .stopped>.box,.wf .stopped>.exit-box{stroke:hsl(var(--muted-foreground));stroke-width:1.6}.wf .fired>.exit-box{fill:hsl(var(--wf-exit))}.wf .fired>.exit-text{fill:hsl(var(--background));font-weight:600}.wf .not-run{opacity:.4}.wf .pending>.box{stroke-dasharray:3 3}.wf .sel{fill:none;stroke:hsl(var(--primary));stroke-width:1.5}.wf g.card,.wf g.exit,.wf .cell{cursor:pointer}.wf g.card:hover>.box{stroke:hsl(var(--foreground) / .8)}.wf .cell{fill:hsl(var(--card));stroke:hsl(var(--border-strong) / .7);stroke-width:1;transition:fill var(--duration-slow),stroke var(--duration-slow)}.wf .cell:hover{stroke:hsl(var(--foreground))}.wf .cell.done{fill:hsl(var(--success) / .75);stroke:hsl(var(--success))}.wf .cell.working{fill:hsl(var(--primary) / .25);stroke:hsl(var(--primary));animation:wf-cell 1.6s ease-in-out infinite;animation-delay:var(--wf-phase, 0s)}.wf .cell.failed{fill:hsl(var(--destructive) / .8);stroke:hsl(var(--destructive))}.wf .cell.review{fill:hsl(var(--warning) / .8);stroke:hsl(var(--warning))}.wf .cell.escalated{fill:hsl(var(--wf-exit) / .7);stroke:hsl(var(--wf-exit))}.wf .cell.stopped,.wf .cell.not-run{fill:none;stroke-dasharray:2 2}.wf .cell.picked{stroke:hsl(var(--foreground));stroke-width:2.5}@keyframes wf-pulse{0%,to{stroke-opacity:1}50%{stroke-opacity:.35}}@keyframes wf-cell{0%,to{fill-opacity:.25}50%{fill-opacity:.7}}.wf .rcell{cursor:pointer}.wf .rcell .cell{fill:hsl(var(--card));stroke:hsl(var(--border-strong) / .6)}.wf .rcell .cell-edge{fill:hsl(var(--border-strong))}.wf .rcell .cell-name{font:600 10px JetBrains Mono,monospace;fill:hsl(var(--foreground))}.wf .rcell .cell-out{font:10px JetBrains Mono,monospace;fill:hsl(var(--muted-foreground))}.wf .rcell .cell-p{font:600 10px JetBrains Mono,monospace;fill:hsl(var(--foreground));font-variant-numeric:tabular-nums}.wf .rcell:hover .cell{stroke:hsl(var(--foreground))}.wf .rcell.done .cell{fill:hsl(var(--success) / .06);stroke:hsl(var(--success) / .5)}.wf .rcell.done .cell-edge{fill:hsl(var(--success))}.wf .rcell.working .cell{fill:hsl(var(--primary) / .1);stroke:hsl(var(--primary));animation:wf-pulse 1.6s ease-in-out infinite;animation-delay:var(--wf-phase, 0s)}.wf .rcell.working .cell-edge,.wf .rcell.working .cell-out{fill:hsl(var(--primary))}.wf .rcell.pending .cell{stroke-dasharray:3 3;fill:none}.wf .rcell.pending .cell-name,.wf .rcell.not-run .cell-name{fill:hsl(var(--muted-foreground));font-weight:400}.wf .rcell.not-run,.wf .rcell.stopped{opacity:.5}.wf .rcell.tone-good .cell{fill:hsl(var(--success) / .14);stroke:hsl(var(--success) / .8)}.wf .rcell.tone-good .cell-edge{fill:hsl(var(--success))}.wf .rcell.tone-good .cell-out{fill:hsl(var(--success-text));font-weight:600}.wf .rcell.tone-warn .cell{fill:hsl(var(--warning) / .16);stroke:hsl(var(--warning))}.wf .rcell.tone-warn .cell-edge{fill:hsl(var(--warning))}.wf .rcell.tone-warn .cell-out{fill:hsl(var(--warning-text));font-weight:600}.wf .rcell.tone-bad .cell{fill:hsl(var(--destructive) / .16);stroke:hsl(var(--destructive))}.wf .rcell.tone-bad .cell-edge{fill:hsl(var(--destructive))}.wf .rcell.tone-bad .cell-out{fill:hsl(var(--destructive-text));font-weight:600}.wf .rcell.picked .cell{stroke:hsl(var(--foreground));stroke-width:2.5}.wf .held>.box{stroke:hsl(var(--warning));stroke-width:2;stroke-dasharray:5 3}.wf .held>.state{fill:hsl(var(--warning-text))}.wf .rcell.held .cell{fill:hsl(var(--warning) / .08);stroke:hsl(var(--warning));stroke-dasharray:4 2}.wf .rcell.held .cell-edge{fill:hsl(var(--warning))}.wf .rcell.held .cell-out{fill:hsl(var(--warning-text))}.\[\&_code\]\:font-mono code,.\[\&_pre\]\:font-mono pre{font-variant-ligatures:none;font-feature-settings:"liga" 0,"calt" 0}.selection\:bg-\[hsl\(var\(--primary\)\/0\.28\)\] *::-moz-selection{background-color:hsl(var(--primary)/.28)}.selection\:bg-\[hsl\(var\(--primary\)\/0\.28\)\] *::selection{background-color:hsl(var(--primary)/.28)}.selection\:text-foreground *::-moz-selection{--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity, 1))}.selection\:text-foreground *::selection{--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity, 1))}.selection\:bg-\[hsl\(var\(--primary\)\/0\.28\)\]::-moz-selection{background-color:hsl(var(--primary)/.28)}.selection\:bg-\[hsl\(var\(--primary\)\/0\.28\)\]::selection{background-color:hsl(var(--primary)/.28)}.selection\:text-foreground::-moz-selection{--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity, 1))}.selection\:text-foreground::selection{--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity, 1))}.placeholder\:text-muted-foreground::-moz-placeholder{--tw-text-opacity: 1;color:hsl(var(--muted-foreground) / var(--tw-text-opacity, 1))}.placeholder\:text-muted-foreground::placeholder{--tw-text-opacity: 1;color:hsl(var(--muted-foreground) / var(--tw-text-opacity, 1))}.backdrop\:bg-black\/60::backdrop{background-color:#0009}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:inset-y-0:before{content:var(--tw-content);top:0;bottom:0}.before\:left-0:before{content:var(--tw-content);left:0}.before\:w-0\.5:before{content:var(--tw-content);width:.125rem}.before\:bg-primary:before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:hsl(var(--primary) / var(--tw-bg-opacity, 1))}.first\:ml-0:first-child{margin-left:0}.last\:border-b-0:last-child{border-bottom-width:0px}.last\:border-r-0:last-child{border-right-width:0px}.read-only\:text-muted-foreground:-moz-read-only{--tw-text-opacity: 1;color:hsl(var(--muted-foreground) / var(--tw-text-opacity, 1))}.read-only\:text-muted-foreground:read-only{--tw-text-opacity: 1;color:hsl(var(--muted-foreground) / var(--tw-text-opacity, 1))}.focus-within\:border-\[\#f5f5f5\]:focus-within{--tw-border-opacity: 1;border-color:rgb(245 245 245 / var(--tw-border-opacity, 1))}.focus-within\:outline:focus-within{outline-style:solid}.focus-within\:outline-focus:focus-within{outline-width:var(--focus-ring-width)}.focus-within\:outline-ring:focus-within{outline-color:hsl(var(--ring) / 1)}.hover\:border-border-strong:hover{--tw-border-opacity: 1;border-color:hsl(var(--border-strong) / var(--tw-border-opacity, 1))}.hover\:border-foreground:hover{--tw-border-opacity: 1;border-color:hsl(var(--foreground) / var(--tw-border-opacity, 1))}.hover\:border-foreground\/60:hover{border-color:hsl(var(--foreground) / .6)}.hover\:bg-accent:hover{--tw-bg-opacity: 1;background-color:hsl(var(--accent) / var(--tw-bg-opacity, 1))}.hover\:bg-accent\/40:hover{background-color:hsl(var(--accent) / .4)}.hover\:bg-accent\/60:hover{background-color:hsl(var(--accent) / .6)}.hover\:bg-destructive\/10:hover{background-color:hsl(var(--destructive) / .1)}.hover\:bg-primary\/10:hover{background-color:hsl(var(--primary) / .1)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-warning\/20:hover{background-color:hsl(var(--warning) / .2)}.hover\:text-foreground:hover{--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity, 1))}.hover\:underline:hover{text-decoration-line:underline}.focus\:border-\[\#f5f5f5\]:focus{--tw-border-opacity: 1;border-color:rgb(245 245 245 / var(--tw-border-opacity, 1))}.focus\:border-border-strong:focus{--tw-border-opacity: 1;border-color:hsl(var(--border-strong) / var(--tw-border-opacity, 1))}.focus-visible\:border-primary:focus-visible{--tw-border-opacity: 1;border-color:hsl(var(--primary) / var(--tw-border-opacity, 1))}.focus-visible\:bg-accent\/60:focus-visible{background-color:hsl(var(--accent) / .6)}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline-offset-0:focus-visible{outline-offset:0px}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-45:disabled{opacity:.45}.disabled\:opacity-60:disabled{opacity:.6}.group[open] .group-open\:rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group\/tip:focus-within .group-focus-within\/tip\:block{display:block}.group\/tip:hover .group-hover\/tip\:block,.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:w-full{width:100%}.group\/tip:hover .group-hover\/tip\:border-foreground\/70{border-color:hsl(var(--foreground) / .7)}.group:focus-visible .group-focus-visible\:block{display:block}.has-\[\:focus-visible\]\:relative:has(:focus-visible){position:relative}.has-\[\:focus-visible\]\:outline:has(:focus-visible){outline-style:solid}.has-\[\:focus-visible\]\:outline-1:has(:focus-visible){outline-width:1px}.has-\[\:focus-visible\]\:outline-focus:has(:focus-visible){outline-width:var(--focus-ring-width)}.has-\[\:focus-visible\]\:outline-offset-2:has(:focus-visible){outline-offset:2px}.has-\[\:focus-visible\]\:outline-offset-focus:has(:focus-visible){outline-offset:var(--focus-ring-offset)}.has-\[\:focus-visible\]\:outline-ring:has(:focus-visible){outline-color:hsl(var(--ring) / 1)}.aria-\[invalid\=true\]\:border-destructive[aria-invalid=true]{--tw-border-opacity: 1;border-color:hsl(var(--destructive) / var(--tw-border-opacity, 1))}.data-\[disabled\]\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-\[open\]\:border-foreground[data-open]{--tw-border-opacity: 1;border-color:hsl(var(--foreground) / var(--tw-border-opacity, 1))}.data-\[focus\]\:bg-accent[data-focus]{--tw-bg-opacity: 1;background-color:hsl(var(--accent) / var(--tw-bg-opacity, 1))}.data-\[selected\]\:text-foreground[data-selected]{--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity, 1))}.data-\[disabled\]\:opacity-45[data-disabled]{opacity:.45}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.group[data-selected] .group-data-\[selected\]\:visible{visibility:visible}@media (max-height: 500px){.short\:inline-flex{display:inline-flex}.short\:hidden{display:none}}@media (prefers-reduced-motion: no-preference){@keyframes pulse{50%{opacity:.5}}.motion-safe\:animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.motion-safe\:animate-toast-in{animation:toast-in var(--duration-base) var(--ease-standard)}}@media not all and (min-width: 640px){.max-sm\:sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.max-sm\:order-first{order:-9999}.max-sm\:order-last{order:9999}.max-sm\:-m-1{margin:-.25rem}.max-sm\:mt-0{margin-top:0}.max-sm\:mt-2{margin-top:.5rem}.max-sm\:line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.max-sm\:flex{display:flex}.max-sm\:contents{display:contents}.max-sm\:hidden{display:none}.max-sm\:h-10{height:2.5rem}.max-sm\:w-10{width:2.5rem}.max-sm\:w-8{width:2rem}.max-sm\:min-w-0{min-width:0px}.max-sm\:flex-1{flex:1 1 0%}.max-sm\:shrink-0{flex-shrink:0}.max-sm\:basis-full{flex-basis:100%}.max-sm\:flex-row{flex-direction:row}.max-sm\:flex-wrap{flex-wrap:wrap}.max-sm\:flex-nowrap{flex-wrap:nowrap}.max-sm\:items-center{align-items:center}.max-sm\:gap-2{gap:.5rem}.max-sm\:gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.max-sm\:gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.max-sm\:gap-y-2{row-gap:.5rem}.max-sm\:self-center{align-self:center}.max-sm\:border-0{border-width:0px}.max-sm\:p-0{padding:0}.max-sm\:p-1{padding:.25rem}.max-sm\:px-0{padding-left:0;padding-right:0}.max-sm\:px-2\.5{padding-left:.625rem;padding-right:.625rem}.max-sm\:py-2{padding-top:.5rem;padding-bottom:.5rem}.max-sm\:py-3{padding-top:.75rem;padding-bottom:.75rem}.max-sm\:text-lg{font-size:18px;line-height:28px}}@media (min-width: 640px){.sm\:left-auto{left:auto}.sm\:order-none{order:0}.sm\:col-span-2{grid-column:span 2 / span 2}.sm\:ml-0{margin-left:0}.sm\:block{display:block}.sm\:inline{display:inline}.sm\:inline-flex{display:inline-flex}.sm\:hidden{display:none}.sm\:w-\[22rem\]{width:22rem}.sm\:basis-auto{flex-basis:auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-\[max-content_minmax\(0\,1fr\)\]{grid-template-columns:max-content minmax(0,1fr)}.sm\:flex-row{flex-direction:row}.sm\:items-start{align-items:flex-start}.sm\:gap-4{gap:1rem}}@media (min-width: 768px){.md\:mt-auto{margin-top:auto}.md\:block{display:block}.md\:inline{display:inline}.md\:flex{display:flex}.md\:table-cell{display:table-cell}.md\:table-header-group{display:table-header-group}.md\:hidden{display:none}.md\:h-dvh{height:100dvh}.md\:max-h-none{max-height:none}.md\:w-\[220px\]{width:220px}.md\:w-\[240px\]{width:240px}.md\:w-\[76px\]{width:76px}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-\[minmax\(0\,2fr\)_minmax\(0\,1fr\)\]{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.md\:flex-row{flex-direction:row}.md\:flex-col{flex-direction:column}.md\:gap-0{gap:0px}.md\:overflow-y-auto{overflow-y:auto}.md\:border-b-0{border-bottom-width:0px}.md\:border-r{border-right-width:1px}.md\:p-4{padding:1rem}.md\:p-5{padding:1.25rem}.md\:p-8{padding:2rem}.md\:px-0{padding-left:0;padding-right:0}.md\:px-10{padding-left:2.5rem;padding-right:2.5rem}.md\:px-16{padding-left:4rem;padding-right:4rem}.md\:px-5{padding-left:1.25rem;padding-right:1.25rem}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:px-8{padding-left:2rem;padding-right:2rem}.md\:pl-8{padding-left:2rem}.md\:text-right{text-align:right}}@media (min-width: 1024px){.lg\:w-\[460px\]{width:460px}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\:grid-cols-\[minmax\(0\,1fr\)_minmax\(0\,2fr\)\]{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.lg\:grid-cols-\[minmax\(0\,2fr\)_minmax\(0\,1fr\)\]{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.lg\:flex-row{flex-direction:row}.lg\:items-start{align-items:flex-start}.lg\:border-b-0{border-bottom-width:0px}.lg\:border-l{border-left-width:1px}.lg\:border-r{border-right-width:1px}.lg\:border-t-0{border-top-width:0px}}@media (min-width: 1280px){.xl\:h-\[calc\(100vh-330px\)\]{height:calc(100vh - 330px)}.xl\:h-\[calc\(100vh-390px\)\]{height:calc(100vh - 390px)}.xl\:min-h-\[440px\]{min-height:440px}.xl\:min-h-\[480px\]{min-height:480px}.xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.xl\:grid-cols-\[minmax\(420px\,5fr\)_7fr\]{grid-template-columns:minmax(420px,5fr) 7fr}.xl\:border-b-0{border-bottom-width:0px}.xl\:border-r{border-right-width:1px}}@media not all and (min-width: 640px){@media (orientation: portrait){.max-sm\:portrait\:placeholder\:text-transparent::-moz-placeholder{color:transparent}.max-sm\:portrait\:placeholder\:text-transparent::placeholder{color:transparent}}}.\[\&_a\]\:text-primary a{--tw-text-opacity: 1;color:hsl(var(--primary) / var(--tw-text-opacity, 1))}.\[\&_a\]\:underline a{text-decoration-line:underline}.\[\&_a\]\:underline-offset-2 a{text-underline-offset:2px}.\[\&_code\]\:bg-muted code{--tw-bg-opacity: 1;background-color:hsl(var(--muted) / var(--tw-bg-opacity, 1))}.\[\&_code\]\:px-1 code{padding-left:.25rem;padding-right:.25rem}.\[\&_code\]\:font-mono code{font-family:JetBrains Mono,monospace}.\[\&_code\]\:text-\[12\.5px\] code{font-size:12.5px}.\[\&_h1\]\:mb-2 h1{margin-bottom:.5rem}.\[\&_h1\]\:text-\[15px\] h1{font-size:15px}.\[\&_h1\]\:font-semibold h1{font-weight:600}.\[\&_h2\]\:mb-2 h2{margin-bottom:.5rem}.\[\&_h2\]\:mt-3 h2{margin-top:.75rem}.\[\&_h2\]\:text-\[14px\] h2{font-size:14px}.\[\&_h2\]\:font-semibold h2{font-weight:600}.\[\&_h3\]\:mt-3 h3{margin-top:.75rem}.\[\&_h3\]\:font-semibold h3{font-weight:600}.\[\&_li\]\:mb-0\.5 li{margin-bottom:.125rem}.\[\&_ol\]\:mb-2 ol{margin-bottom:.5rem}.\[\&_ol\]\:list-decimal ol{list-style-type:decimal}.\[\&_ol\]\:pl-5 ol{padding-left:1.25rem}.\[\&_p\:last-child\]\:mb-0 p:last-child{margin-bottom:0}.\[\&_p\]\:mb-2 p,.\[\&_pre\]\:mb-2 pre{margin-bottom:.5rem}.\[\&_pre\]\:overflow-x-auto pre{overflow-x:auto}.\[\&_pre\]\:border pre{border-width:1px}.\[\&_pre\]\:bg-background pre{--tw-bg-opacity: 1;background-color:hsl(var(--background) / var(--tw-bg-opacity, 1))}.\[\&_pre\]\:p-3 pre{padding:.75rem}.\[\&_pre\]\:font-mono pre{font-family:JetBrains Mono,monospace}.\[\&_pre\]\:text-\[12px\] pre{font-size:12px}.\[\&_svg\]\:size-3\.5 svg{width:.875rem;height:.875rem}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_ul\]\:mb-2 ul{margin-bottom:.5rem}.\[\&_ul\]\:list-disc ul{list-style-type:disc}.\[\&_ul\]\:pl-5 ul{padding-left:1.25rem}@media (min-width: 1024px){@media (min-height:501px){.lg\:\[\@media\(min-height\:501px\)\]\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}}
@@ -6,8 +6,8 @@
6
6
  <meta name="color-scheme" content="light dark" />
7
7
  <title>AgentRun</title>
8
8
  <link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' fill='%23ff8000'/%3E%3Cpath d='M12 9l11 7-11 7z' fill='%23000'/%3E%3C/svg%3E" />
9
- <script type="module" crossorigin src="./assets/index-CnJBf7Lc.js"></script>
10
- <link rel="stylesheet" crossorigin href="./assets/index-DUHbWcIP.css">
9
+ <script type="module" crossorigin src="./assets/index-35-7aeIZ.js"></script>
10
+ <link rel="stylesheet" crossorigin href="./assets/index-Cejbov-Y.css">
11
11
  </head>
12
12
  <body>
13
13
  <div id="root"></div>
@@ -0,0 +1,2 @@
1
+ export declare const runLink: (origin: string, runId: string) => string;
2
+ export declare const agentLink: (origin: string, agentId: string) => string;
@@ -0,0 +1,6 @@
1
+ // The console's page of a run and of an agent, at `origin`: the address people open (the server's public URL when it has
2
+ // one, else the address the request reached it at; server.ts linkOrigin). Every answer that names one takes it from here.
3
+ export const runLink = (origin, runId) => `${origin}/#/runs/${encodeURIComponent(runId)}`;
4
+ // `#/agents/new` is the console's new-agent form, so an agent whose id is "new" gets its Runs tab, as the console's own
5
+ // agentHash gives it (apps/console AgentPage.tsx).
6
+ export const agentLink = (origin, agentId) => `${origin}/#/agents/${encodeURIComponent(agentId)}${agentId === "new" ? "/runs" : ""}`;
@@ -0,0 +1,63 @@
1
+ import type { DecisionProvider, WorkflowDeps } from "@parcha/agentrun-dsl";
2
+ import { type CapMode } from "./cap.js";
3
+ import type { BudgetWaits } from "./budget.js";
4
+ type RunJudge = NonNullable<WorkflowDeps["runJudge"]>;
5
+ type JudgeParams = Parameters<RunJudge>[0];
6
+ /** An image's input allowance, in tokens: what a 1568 px square (Jev's longest side) reads as at 750 pixels a token. */
7
+ export declare const DECISION_IMAGE_TOKENS = 3300;
8
+ /** The output an answer is expected to take, per question, where a Decisions model prices its output (expected mode). */
9
+ export declare const DECISION_OUTPUT_TOKENS = 256;
10
+ /** TypeSafe's published price for Jev, per input token (USD; JEV_PUBLISHED_PRICING, $0.042 a million). */
11
+ export declare const JEV_INPUT_USD: number;
12
+ /** Parallel's list price for one decision request (USD; PARALLEL_LIST_PRICE_USD). */
13
+ export declare const PARALLEL_DECISION_USD = 0.001;
14
+ /** How many times a decision's price is read from OpenRouter's catalog before its request fails unsent, and the waits
15
+ * between the reads, in ms. */
16
+ export declare const CATALOG_TRIES = 3;
17
+ /** Whether the durable driver answers `params`'s request from what it holds, sending nothing, so the request holds and
18
+ * waits for nothing: a route it decided, or a request an earlier process admitted that did not fail (asked and never
19
+ * answered: the driver escalates it unsent, dsl with-recovery). */
20
+ export declare const askedBefore: (driver: {
21
+ routeDecision(executionPath: never): unknown;
22
+ decisionRequests(): Record<string, {
23
+ status: string;
24
+ }>;
25
+ }, params: JudgeParams) => boolean;
26
+ /** A request's hold, or why it has none (its words, no raise sends it). */
27
+ export type DecisionHold = {
28
+ usd: number;
29
+ basis: string;
30
+ } | {
31
+ unpriced: string;
32
+ };
33
+ /** The hold of `params`'s request to `provider`, under a cap of mode `mode`. */
34
+ export declare function holdOf(provider: DecisionProvider, params: JudgeParams, mode: CapMode): Promise<DecisionHold>;
35
+ /** The two halves of a workflow's capped decisions, over `providers` (the run's, decisions.ts), the run's `waits`
36
+ * (budget.ts) and `book`, which writes a DECISION_COST entry to the run's store. */
37
+ export declare function cappedDecisions({ providers, waits, mode, book, keep }: {
38
+ providers: {
39
+ providers: Readonly<Record<string, DecisionProvider>>;
40
+ default: string;
41
+ };
42
+ waits: BudgetWaits;
43
+ mode: CapMode;
44
+ book: (data: {
45
+ call: string;
46
+ decision: string | null;
47
+ usd: number;
48
+ }) => Promise<void>;
49
+ /** Keeps a request's hold in the run's store (a DECISION_HOLD entry), committed when it resolves; throws when it
50
+ * cannot be kept. */
51
+ keep: (data: {
52
+ call: string;
53
+ decision: string | null;
54
+ usd: number;
55
+ }) => Promise<void>;
56
+ }): {
57
+ /** Before the admission: the hold taken, or a wait for a raise, or the run stopped. `replayed` says whether the
58
+ * driver answers this request from what it decided before (a route's), which sends nothing and holds nothing. */
59
+ before(next: RunJudge, replayed: (params: JudgeParams) => boolean): RunJudge;
60
+ /** The judge itself: asks, and settles the request's hold at what it charged. */
61
+ settling(judge: RunJudge): RunJudge;
62
+ };
63
+ export {};
@@ -0,0 +1,163 @@
1
+ import { chargedCost, DecisionProviderError } from "@parcha/agentrun-dsl";
2
+ import { holdPaid, money, runCap } from "./cap.js";
3
+ /** An image's input allowance, in tokens: what a 1568 px square (Jev's longest side) reads as at 750 pixels a token. */
4
+ export const DECISION_IMAGE_TOKENS = 3_300;
5
+ /** The output an answer is expected to take, per question, where a Decisions model prices its output (expected mode). */
6
+ export const DECISION_OUTPUT_TOKENS = 256;
7
+ /** TypeSafe's published price for Jev, per input token (USD; JEV_PUBLISHED_PRICING, $0.042 a million). */
8
+ export const JEV_INPUT_USD = 0.042 / 1e6;
9
+ /** Parallel's list price for one decision request (USD; PARALLEL_LIST_PRICE_USD). */
10
+ export const PARALLEL_DECISION_USD = 0.001;
11
+ /** A provider's failures that say the request was never billed: refused before it was sent, or by the provider unbilled. */
12
+ const UNBILLED = new Set(["configuration", "auth", "invalid_request", "rate_limited", "connection"]);
13
+ const unbilled = (error) => error instanceof DecisionProviderError && (error.unsent === true || UNBILLED.has(error.code));
14
+ /** How a provider is named in a refusal's words. */
15
+ const providerName = (provider, model) => provider.id === "openrouter" ? (model ?? "OpenRouter") : provider.id === "jev" ? "Jev" : provider.id === "parallel" ? "Parallel" : provider.id;
16
+ /** How many times a decision's price is read from OpenRouter's catalog before its request fails unsent, and the waits
17
+ * between the reads, in ms. */
18
+ export const CATALOG_TRIES = 3;
19
+ const CATALOG_RETRY_MS = [500, 1_500];
20
+ /** `model`'s price from `priced`'s catalog, read up to CATALOG_TRIES times: a catalog still down then fails the request
21
+ * unsent, as a connection error (DecisionProviderError "connection"), and the decision node fails (decision nodes have
22
+ * no attempts loop), as on any provider's outage: never a CapStop. */
23
+ async function catalogPrice(priced, model, signal) {
24
+ for (let tries = 1;; tries += 1) {
25
+ try {
26
+ return await priced.priceOf(model);
27
+ }
28
+ catch (cause) {
29
+ if (tries >= CATALOG_TRIES || signal?.aborted) {
30
+ throw new DecisionProviderError("connection", `OpenRouter's catalog could not be read, so the price of ${model} is not known and its decision was not sent. Try again once the catalog answers.`, { attempts: tries, unsent: true, cause });
31
+ }
32
+ const ms = CATALOG_RETRY_MS[tries - 1] ?? CATALOG_RETRY_MS.at(-1);
33
+ await new Promise((resolve) => {
34
+ const timer = setTimeout(done, ms);
35
+ function done() { clearTimeout(timer); signal?.removeEventListener("abort", done); resolve(); }
36
+ signal?.addEventListener("abort", done, { once: true });
37
+ });
38
+ }
39
+ }
40
+ }
41
+ /** Whether the durable driver answers `params`'s request from what it holds, sending nothing, so the request holds and
42
+ * waits for nothing: a route it decided, or a request an earlier process admitted that did not fail (asked and never
43
+ * answered: the driver escalates it unsent, dsl with-recovery). */
44
+ export const askedBefore = (driver, params) => {
45
+ if (params.kind === "route" && driver.routeDecision(params.executionPath) !== undefined)
46
+ return true;
47
+ const asked = params.decisionId === undefined ? undefined : driver.decisionRequests()[params.decisionId];
48
+ return asked !== undefined && asked.status !== "failed";
49
+ };
50
+ /** The bytes of what a request sends: its state and questions as JSON, one token a byte. */
51
+ const inputOf = (params) => {
52
+ const images = Object.keys(params.images ?? {}).length;
53
+ return { tokens: Buffer.byteLength(JSON.stringify({ state: params.state ?? null, questions: params.questions }), "utf8") + images * DECISION_IMAGE_TOKENS, images };
54
+ };
55
+ /** The hold of `params`'s request to `provider`, under a cap of mode `mode`. */
56
+ export async function holdOf(provider, params, mode) {
57
+ const { tokens, images } = inputOf(params);
58
+ if (provider.id === "parallel")
59
+ return { usd: PARALLEL_DECISION_USD, basis: "Parallel's list price for one decision request" };
60
+ if (provider.id === "jev")
61
+ return { usd: tokens * JEV_INPUT_USD, basis: `TypeSafe's published price for Jev, ${money(JEV_INPUT_USD * 1e6)} a million input tokens, for ${tokens} tokens at most` };
62
+ const priced = provider;
63
+ const model = params.model;
64
+ // A request that names no model is refused by its provider before it is sent: nothing to hold.
65
+ if (typeof priced.priceOf === "function" && model === undefined)
66
+ return { usd: 0, basis: "no request is sent without a model" };
67
+ // A catalog that cannot be read gives no price: read again, then the request fails unsent (catalogPrice).
68
+ const price = typeof priced.priceOf === "function" && model !== undefined ? await catalogPrice(priced, model, params.signal) : null;
69
+ if (!price)
70
+ return { unpriced: `${model ?? provider.id} has no price here` };
71
+ const questions = Object.keys(params.questions).length;
72
+ const output = mode === "strict" ? price.maxCompletionTokens : questions * DECISION_OUTPUT_TOKENS;
73
+ if (output === null && price.completionUsd > 0)
74
+ return { unpriced: `${model} names no most output and its output is priced, so what a request may cost has no bound` };
75
+ const usd = price.requestUsd + price.imageUsd * images + price.promptUsd * tokens + price.completionUsd * (output ?? 0);
76
+ return { usd, basis: `${model}'s price in OpenRouter's catalog, for ${tokens} input tokens${price.completionUsd > 0 ? ` and ${output} output tokens` : ""} at most` };
77
+ }
78
+ /** The two halves of a workflow's capped decisions, over `providers` (the run's, decisions.ts), the run's `waits`
79
+ * (budget.ts) and `book`, which writes a DECISION_COST entry to the run's store. */
80
+ export function cappedDecisions({ providers, waits, mode, book, keep }) {
81
+ /** Each request's hold, taken by `before` and settled by `settling`, by the params object both are handed. */
82
+ const tickets = new WeakMap();
83
+ const stepOf = (params) => ({ label: params.label, path: params.executionPath ?? null });
84
+ return {
85
+ /** Before the admission: the hold taken, or a wait for a raise, or the run stopped. `replayed` says whether the
86
+ * driver answers this request from what it decided before (a route's), which sends nothing and holds nothing. */
87
+ before(next, replayed) {
88
+ return async (params) => {
89
+ const cap = runCap();
90
+ if (cap === undefined || replayed(params))
91
+ return next(params);
92
+ const id = params.provider ?? providers.default;
93
+ const provider = Object.hasOwn(providers.providers, id) ? providers.providers[id] : undefined;
94
+ // A provider the host lacks is refused by the judge as configuration, before anything is sent.
95
+ if (!provider)
96
+ return next(params);
97
+ const name = `${params.label}'s decision on ${providerName(provider, params.model)}`;
98
+ const hold = await holdOf(provider, params, mode);
99
+ if ("unpriced" in hold) {
100
+ const refusal = { words: `Not sent: ${name}: ${hold.unpriced}, so the run's cap of ${money(cap)} cannot be kept: the run is out of budget.`, room: false, capUsd: cap };
101
+ return waits.stop(refusal, stepOf(params));
102
+ }
103
+ const held = await holdPaid(name, hold, params.signal);
104
+ if ("refused" in held) {
105
+ if (held.refused.room)
106
+ throw params.signal?.reason ?? new Error(`${name} was not sent: its wait for a raise ended`);
107
+ return waits.stop(held.refused, stepOf(params));
108
+ }
109
+ const call = `${params.label}@${params.executionPath ?? ""}${params.item ? `#${params.item.index}` : ""}`;
110
+ tickets.set(params, { ticket: held.ticket, usd: hold.usd, call, decision: params.decisionId ?? null, name, settled: false });
111
+ try {
112
+ return await next(params);
113
+ }
114
+ finally {
115
+ // A request the driver answered without asking (one asked by an earlier process escalates) sent nothing.
116
+ held.ticket.drop();
117
+ }
118
+ };
119
+ },
120
+ /** The judge itself: asks, and settles the request's hold at what it charged. */
121
+ settling(judge) {
122
+ return async (params) => {
123
+ const held = tickets.get(params);
124
+ if (!held)
125
+ return judge(params);
126
+ // Here the driver has admitted the request (dsl with-recovery: committed and flushed before this judge is asked),
127
+ // and nothing is sent yet: its hold is kept in the run's store, one awaited commit right before the send. A process
128
+ // that dies from here, the request maybe out, leaves it counted at its hold by the next one (decisionSpentIn); one
129
+ // that died before the admission kept none. A hold that cannot be kept sends nothing, and the driver marks the
130
+ // request failed, so the next process asks it again.
131
+ try {
132
+ await keep({ call: held.call, decision: held.decision, usd: held.usd });
133
+ }
134
+ catch (cause) {
135
+ throw new DecisionProviderError("connection", `${held.name} was not sent: its hold under the run's cap could not be kept in the run's store (${cause?.message ?? cause}).`, { unsent: true, cause });
136
+ }
137
+ const settle = async (usd) => {
138
+ held.settled = true;
139
+ held.ticket.settle(usd);
140
+ await book({ call: held.call, decision: held.decision, usd: usd ?? held.usd }).catch(() => undefined);
141
+ };
142
+ try {
143
+ const result = await judge(params);
144
+ await settle(typeof result.cost_usd === "number" && Number.isFinite(result.cost_usd) ? result.cost_usd : null);
145
+ return result;
146
+ }
147
+ catch (error) {
148
+ // Sent and maybe billed (its outcome lost, its answer refused, cut in flight): at what it was charged, else at its
149
+ // hold. One that failed before it was sent, or that its provider refused unbilled, charged nothing.
150
+ const charged = chargedCost(error);
151
+ if (charged !== undefined)
152
+ await settle(charged);
153
+ else if (!unbilled(error))
154
+ await settle(null);
155
+ // Unbilled, it charged nothing: booked at $0, so no later process counts its hold.
156
+ else
157
+ await book({ call: held.call, decision: held.decision, usd: 0 }).catch(() => undefined);
158
+ throw error;
159
+ }
160
+ };
161
+ },
162
+ };
163
+ }
@@ -14,6 +14,9 @@ export type Shown = {
14
14
  export declare function decisionRows(receipts: readonly Receipt[], shown?: Shown): TimelineEvent[];
15
15
  /** `rows` with the decisions' rows among them by time, and their cost on the run's usage row, which stays last: one
16
16
  * unknown cost makes the total unknown, never a lower figure. `receipts` null: the decisions could not be read, so the
17
- * rows are as they were but the usage row's total is unknown, never the model nodes' alone. */
18
- export declare function withDecisions(rows: readonly TimelineEvent[], receipts: readonly Receipt[] | null, shown?: Shown): TimelineEvent[];
17
+ * rows are as they were but the usage row's total is unknown, never the model nodes' alone. `ended`: the run has ended,
18
+ * so its usage row says its cost, never "so far" (costLabel). */
19
+ export declare function withDecisions(rows: readonly TimelineEvent[], receipts: readonly Receipt[] | null, shown?: Shown, { ended }?: {
20
+ ended?: boolean;
21
+ }): TimelineEvent[];
19
22
  export {};
@@ -1,7 +1,7 @@
1
1
  // A workflow run's decisions as timeline rows: one row per receipt its judge, pick, sift, route, ask and verify nodes
2
2
  // committed to the run's store (`agentrun.decisions`), so a run shows its verdicts beside its model nodes' rows. The
3
3
  // rows are read from the released store, as the rest of a workflow run's rows are.
4
- import { CAPS, cut, scrubUrls } from "@parcha/pi-durable-agent/timeline";
4
+ import { CAPS, costLabel, cut, endedUsage, scrubUrls } from "@parcha/pi-durable-agent/timeline";
5
5
  const isObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
6
6
  const two = (value) => (typeof value === "number" && Number.isFinite(value) ? value.toFixed(2) : "?");
7
7
  /** A row's string as the timeline makes every row's: its URLs keep their origin, path and query keys, then it is cut. */
@@ -85,19 +85,21 @@ export function decisionRows(receipts, shown) {
85
85
  const plural = (count, word) => `${count} ${word}${count === 1 ? "" : "s"}`;
86
86
  /** `rows` with the decisions' rows among them by time, and their cost on the run's usage row, which stays last: one
87
87
  * unknown cost makes the total unknown, never a lower figure. `receipts` null: the decisions could not be read, so the
88
- * rows are as they were but the usage row's total is unknown, never the model nodes' alone. */
89
- export function withDecisions(rows, receipts, shown) {
88
+ * rows are as they were but the usage row's total is unknown, never the model nodes' alone. `ended`: the run has ended,
89
+ * so its usage row says its cost, never "so far" (costLabel). */
90
+ export function withDecisions(rows, receipts, shown, { ended = false } = {}) {
91
+ const label = costLabel(ended);
90
92
  if (receipts === null) {
91
93
  const at = rows.findLastIndex((row) => row.kind === "usage");
92
94
  return rows.map((row, i) => {
93
95
  if (i !== at)
94
96
  return row;
95
97
  const requests = row.usage?.requests ?? 0;
96
- return { ...row, summary: `Cost so far: unknown over ${plural(requests, "model request")}; its decisions could not be read`, usage: { usd: null, requests } };
98
+ return { ...row, summary: `${label}: unknown over ${plural(requests, "model request")}; its decisions could not be read`, usage: { usd: null, requests } };
97
99
  });
98
100
  }
99
101
  if (!receipts.length)
100
- return [...rows];
102
+ return ended ? rows.map(endedUsage) : [...rows];
101
103
  const decisions = decisionRows(receipts, shown);
102
104
  const at = rows.findLastIndex((row) => row.kind === "usage");
103
105
  const rest = at < 0 ? [...rows] : rows.filter((_, i) => i !== at);
@@ -118,6 +120,6 @@ export function withDecisions(rows, receipts, shown) {
118
120
  const soFar = usd === null && modelsSoFar && unpriced > 0 ? { so_far_usd: Math.round((modelsSoFar.known + costs.reduce((a, b) => a + (b ?? 0), 0)) * 1e6) / 1e6, unpriced } : undefined;
119
121
  const dollars = (n) => (n === 0 ? "$0" : n < 0.0001 ? "<$0.0001" : `$${n.toFixed(4)}`);
120
122
  const said = usd !== null ? dollars(usd) : soFar ? `${dollars(soFar.so_far_usd)} known, ${soFar.unpriced} not priced,` : "unknown";
121
- const summary = `Cost so far: ${said} over ${plural(models.requests, "model request")} and ${plural(decisions.length, "decision")}`;
123
+ const summary = `${label}: ${said} over ${plural(models.requests, "model request")} and ${plural(decisions.length, "decision")}`;
122
124
  return [...rest, { ...base, kind: "usage", summary, usage: { usd, requests: models.requests + decisions.length, ...(soFar ?? {}) } }];
123
125
  }
@@ -27,7 +27,14 @@ export type DecisionOffer = {
27
27
  available: boolean;
28
28
  reason?: string;
29
29
  note?: string;
30
+ route?: ParallelRoute;
30
31
  };
32
+ /** Where a node naming `parallel` is answered: Parallel's own API, or Parallel's model through OpenRouter. */
33
+ export type ParallelRoute = "parallel" | "openrouter";
34
+ /** Parallel's model on OpenRouter, the route a server with no Parallel key and an OpenRouter one takes. */
35
+ export declare const PARALLEL_ON_OPENROUTER = "parallel/decisions-fast";
36
+ /** The route `parallel` runs on here: Parallel's own key first, else the OpenRouter key Jev's OpenRouter route reads. */
37
+ export declare const parallelRoute: (env: NodeJS.ProcessEnv) => ParallelRoute | undefined;
31
38
  /** The model gateway's key (model.ts), Jev's on the OpenRouter route when that gateway is OpenRouter. */
32
39
  export declare const JEV_GATEWAY_KEY_ENV = "AGENT_MODEL_API_KEY";
33
40
  /** The key Jev runs on here and its route: TypeSafe's API when its key is set, else OpenRouter's System One when an
@@ -37,7 +44,7 @@ export declare function jevKey(env: NodeJS.ProcessEnv): {
37
44
  key: string;
38
45
  } | undefined;
39
46
  /** How this server reaches Jev, when it does. */
40
- export declare const jevRoute: (env: NodeJS.ProcessEnv) => "typesafe" | "openrouter" | undefined;
47
+ export declare const jevRoute: (env: NodeJS.ProcessEnv) => "openrouter" | "typesafe" | undefined;
41
48
  /** The keys the server hands a workflow run's process, by name: Jev's, as TYPESAFE_API_KEY or, on the OpenRouter route,
42
49
  * as OPENROUTER_API_KEY whichever variable holds it; an OpenRouter key (openRouterKeyEnv) as OPENROUTER_API_KEY for
43
50
  * OpenRouter's Decisions models, on either Jev route; and Parallel's. */
@@ -57,6 +64,8 @@ export declare function decisionKeysFor(env: NodeJS.ProcessEnv, needs: DecisionN
57
64
  export declare const jevMissing: string;
58
65
  /** Why Parallel does not run here, naming the variable to set. */
59
66
  export declare const parallelMissing: string;
67
+ /** The note on the OpenRouter route: which model and key, and how to use Parallel's API instead. */
68
+ export declare const parallelNote: (env: NodeJS.ProcessEnv) => string;
60
69
  /** Why the OpenRouter route is worth a note, naming the variable Jev runs on: its key is also the model gateway's, which
61
70
  * a run's process holds. */
62
71
  export declare const jevGatewayNote: (env: NodeJS.ProcessEnv) => string;
@@ -76,10 +85,21 @@ export declare function providerMissing(env: NodeJS.ProcessEnv, id: string): {
76
85
  /** The providers a workflow's typed questions are answered by (`nodes` from workflowNodes): each decision node's and
77
86
  * `ask` predicate's own, else the default, as is a generative node's `verify`. */
78
87
  export declare function providersNamed(nodes: readonly Record<string, unknown>[]): string[];
88
+ /** Each decision a workflow asks that pins its model (`model`), with its node's label and its provider (Jev for one
89
+ * that names none): what a capped start prices before the run (runnable.ts). */
90
+ export declare function decisionModelsNamed(nodes: readonly Record<string, unknown>[]): {
91
+ label: string;
92
+ provider: string;
93
+ model: string;
94
+ }[];
79
95
  /** The keys the server handed the run's process, by name: read at the first call and the descriptor closed, and the
80
96
  * same object at every later one (the decision providers' and the web tools'), so the descriptor is read and closed once
81
97
  * whoever asks first. Empty when none were handed, or when the first read failed. */
82
98
  export declare function handedKeys(env: NodeJS.ProcessEnv): Record<string, string>;
99
+ /** The Parallel key a call's environment holds: on the pipe where the server handed a per-run process its keys
100
+ * (`DECISION_KEY_FD_ENV` set: main's run process, handedKeys), else in the claim's own environment, where the runner's
101
+ * claim put it (claim-secrets.ts). Read from the environment the call is given each time, so a claim's key is its own. */
102
+ export declare function parallelKeyOf(env: NodeJS.ProcessEnv): string | undefined;
83
103
  /** Under --faux only: the fetch the module `env[name]` names, in place of a provider's API (the tests' fake). */
84
104
  export declare const fauxFetch: (env: NodeJS.ProcessEnv, name: string) => Promise<typeof fetch | undefined>;
85
105
  /** In a run's process: the decision providers its workflow's typed questions are answered by, on the keys the server
@@ -92,3 +112,10 @@ export declare function decisionProvidersOf(env: NodeJS.ProcessEnv): Promise<{
92
112
  providers: Record<string, DecisionProvider>;
93
113
  default: string;
94
114
  } | undefined>;
115
+ /** In the runner (one process for many runs): a claim's decision providers, built from the decision keys in its own
116
+ * environment (claim-secrets.ts read them from the store into it), never from a shared pipe or a process-wide cache. The
117
+ * same providers decisionProvidersOf builds, on the keys the claim's environment holds (decisionKeysOf). */
118
+ export declare function decisionProvidersIn(env: NodeJS.ProcessEnv): Promise<{
119
+ providers: Record<string, DecisionProvider>;
120
+ default: string;
121
+ } | undefined>;