@open-everywhere/core 0.1.0

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 (3606) hide show
  1. package/LICENSE +201 -0
  2. package/NOTICE +21 -0
  3. package/README.md +67 -0
  4. package/agent/access/access-referenced-link-sets.ts +23 -0
  5. package/agent/access/admin-read-venue.ts +159 -0
  6. package/agent/access/admin-standing.ts +98 -0
  7. package/agent/access/analytics-scope.ts +84 -0
  8. package/agent/access/approval-dedupe.ts +144 -0
  9. package/agent/access/approval-judge.ts +639 -0
  10. package/agent/access/approval-preview.ts +118 -0
  11. package/agent/access/approval-scenarios.ts +48 -0
  12. package/agent/access/approver-chain.ts +779 -0
  13. package/agent/access/audience-floor.ts +270 -0
  14. package/agent/access/aws-output.ts +132 -0
  15. package/agent/access/aws-screen.ts +198 -0
  16. package/agent/access/background-tasks.ts +364 -0
  17. package/agent/access/browser-hosts.ts +151 -0
  18. package/agent/access/browser-toolkit.ts +271 -0
  19. package/agent/access/bundle.ts +716 -0
  20. package/agent/access/capabilities.ts +11 -0
  21. package/agent/access/chat-dm-grant.ts +241 -0
  22. package/agent/access/chat-write-grant.ts +194 -0
  23. package/agent/access/config.ts +132 -0
  24. package/agent/access/connector-content-origin-state.ts +72 -0
  25. package/agent/access/connector-credentials.ts +449 -0
  26. package/agent/access/connector-disclosure.ts +253 -0
  27. package/agent/access/connector-op-gating.ts +224 -0
  28. package/agent/access/connector-scope.ts +302 -0
  29. package/agent/access/consequence.ts +1208 -0
  30. package/agent/access/credential-bindings-codemod.ts +242 -0
  31. package/agent/access/credential-endpoints.ts +279 -0
  32. package/agent/access/credential-grant-ask.ts +115 -0
  33. package/agent/access/credential-grant-broker.ts +359 -0
  34. package/agent/access/credential-grant-card.ts +521 -0
  35. package/agent/access/credential-grant-click.ts +246 -0
  36. package/agent/access/credential-grant-copy.ts +338 -0
  37. package/agent/access/credential-grant-flow.ts +735 -0
  38. package/agent/access/credential-grant-key-shape.ts +59 -0
  39. package/agent/access/credential-grant-notice.ts +219 -0
  40. package/agent/access/credential-grant-owner.ts +23 -0
  41. package/agent/access/credential-grant-reach.ts +81 -0
  42. package/agent/access/credential-grant-resolution.ts +119 -0
  43. package/agent/access/credential-grant-revoke.ts +95 -0
  44. package/agent/access/credential-grant-scope.ts +306 -0
  45. package/agent/access/credential-grant.ts +284 -0
  46. package/agent/access/credentials.ts +159 -0
  47. package/agent/access/dated-read.ts +18 -0
  48. package/agent/access/delegation-flag.ts +12 -0
  49. package/agent/access/delegation-mount.ts +28 -0
  50. package/agent/access/delta.ts +386 -0
  51. package/agent/access/dispatch-origin-signal.ts +133 -0
  52. package/agent/access/domain-credentials.ts +115 -0
  53. package/agent/access/egress-denial-log.ts +111 -0
  54. package/agent/access/egress-denial-poller.ts +239 -0
  55. package/agent/access/egress-status.ts +195 -0
  56. package/agent/access/egress.ts +321 -0
  57. package/agent/access/enforcement.ts +25 -0
  58. package/agent/access/eve-patch-probe-boot.ts +91 -0
  59. package/agent/access/eve-patch-probe.ts +276 -0
  60. package/agent/access/external-policy.ts +209 -0
  61. package/agent/access/extra-hosts.ts +31 -0
  62. package/agent/access/grant-borrow-transport-registry.internal.ts +81 -0
  63. package/agent/access/grant-room-notice-registry.internal.ts +77 -0
  64. package/agent/access/grant-schema-pin.ts +38 -0
  65. package/agent/access/grants-codemod.ts +352 -0
  66. package/agent/access/group-request.ts +76 -0
  67. package/agent/access/halt-state.ts +24 -0
  68. package/agent/access/halt.ts +276 -0
  69. package/agent/access/host-egress.ts +432 -0
  70. package/agent/access/human-only-invariants-manifest.ts +172 -0
  71. package/agent/access/ingestion-binding-manifest.ts +263 -0
  72. package/agent/access/ingestion-route-inventory.generated.ts +58 -0
  73. package/agent/access/instructions.ts +89 -0
  74. package/agent/access/invoker-posture-state.ts +25 -0
  75. package/agent/access/invoker-posture.ts +96 -0
  76. package/agent/access/job-posture.ts +83 -0
  77. package/agent/access/job-session-state.ts +58 -0
  78. package/agent/access/lean-seat-state.ts +45 -0
  79. package/agent/access/lean-seat.ts +83 -0
  80. package/agent/access/lint.ts +638 -0
  81. package/agent/access/live-delegated-tasks.ts +95 -0
  82. package/agent/access/loop-breaker.ts +88 -0
  83. package/agent/access/mcp-call-fence.ts +179 -0
  84. package/agent/access/member-grant.ts +45 -0
  85. package/agent/access/member-plane.ts +212 -0
  86. package/agent/access/native-admin.ts +35 -0
  87. package/agent/access/native-delegation-state.ts +40 -0
  88. package/agent/access/network-access.ts +132 -0
  89. package/agent/access/nullable-optional-fields.ts +184 -0
  90. package/agent/access/overlay-module.ts +70 -0
  91. package/agent/access/own-account-gate-manifest.ts +134 -0
  92. package/agent/access/pane-venue.ts +238 -0
  93. package/agent/access/pending-delegation-signal.ts +282 -0
  94. package/agent/access/permission-evidence.ts +627 -0
  95. package/agent/access/permission-proposal.ts +362 -0
  96. package/agent/access/platform.ts +14 -0
  97. package/agent/access/pre-approval-rules.ts +135 -0
  98. package/agent/access/principal-gate-manifest.ts +830 -0
  99. package/agent/access/provider-selection-check.ts +130 -0
  100. package/agent/access/provider-selection.ts +96 -0
  101. package/agent/access/read-grant.ts +104 -0
  102. package/agent/access/repo-capabilities.ts +74 -0
  103. package/agent/access/request.ts +126 -0
  104. package/agent/access/requester-identity.ts +305 -0
  105. package/agent/access/requester-messages.ts +52 -0
  106. package/agent/access/reserved-hosts.ts +11 -0
  107. package/agent/access/resolver.ts +604 -0
  108. package/agent/access/resource-capabilities.ts +103 -0
  109. package/agent/access/resource-grant-manifest.ts +136 -0
  110. package/agent/access/resource-grant.ts +163 -0
  111. package/agent/access/result-cap.ts +34 -0
  112. package/agent/access/result-reduce-model-arm.ts +94 -0
  113. package/agent/access/result-reduce.ts +104 -0
  114. package/agent/access/roles.ts +106 -0
  115. package/agent/access/scope-key.ts +50 -0
  116. package/agent/access/seat-read-budget.ts +57 -0
  117. package/agent/access/self-host-egress.ts +103 -0
  118. package/agent/access/settlement-dispatch-signal.ts +96 -0
  119. package/agent/access/skill-taint-envelope.ts +94 -0
  120. package/agent/access/source-gate-manifest.ts +148 -0
  121. package/agent/access/source-scoped-mount.ts +27 -0
  122. package/agent/access/subagent-taint.ts +225 -0
  123. package/agent/access/surface-work-grant.ts +91 -0
  124. package/agent/access/taint-enforcement.ts +183 -0
  125. package/agent/access/taint-signal.ts +297 -0
  126. package/agent/access/taint-tiers.ts +168 -0
  127. package/agent/access/task-wake-signal.ts +94 -0
  128. package/agent/access/tenant-admission.ts +191 -0
  129. package/agent/access/untrusted-projection.ts +273 -0
  130. package/agent/access/untrusted.ts +132 -0
  131. package/agent/access/wake-mapping.ts +38 -0
  132. package/agent/access/web-fetch-fence.ts +81 -0
  133. package/agent/access/window-gate-manifest.ts +543 -0
  134. package/agent/access/window-gated.ts +668 -0
  135. package/agent/access/window-routing.ts +23 -0
  136. package/agent/access/work-grant.ts +119 -0
  137. package/agent/access/work-mount-manifest.ts +203 -0
  138. package/agent/access/worker-capabilities.ts +379 -0
  139. package/agent/access/worker-capability-index.generated.ts +189 -0
  140. package/agent/access/worker-continuation.ts +200 -0
  141. package/agent/access/worker-seat-state.ts +25 -0
  142. package/agent/access/worker-seat.ts +54 -0
  143. package/agent/access/worker-toolset-state.ts +65 -0
  144. package/agent/adapter-api.ts +1795 -0
  145. package/agent/analytics/compile.ts +461 -0
  146. package/agent/analytics/execute.ts +166 -0
  147. package/agent/analytics/registry.ts +302 -0
  148. package/agent/approvals/access-request.ts +255 -0
  149. package/agent/approvals/actions.ts +398 -0
  150. package/agent/approvals/agent-create.ts +272 -0
  151. package/agent/approvals/arming-context.ts +26 -0
  152. package/agent/approvals/card-disclosure.ts +53 -0
  153. package/agent/approvals/card-signal.ts +151 -0
  154. package/agent/approvals/card-venue.ts +152 -0
  155. package/agent/approvals/card.ts +121 -0
  156. package/agent/approvals/chat-dm.ts +63 -0
  157. package/agent/approvals/chat-post.ts +60 -0
  158. package/agent/approvals/clicker-floor.ts +106 -0
  159. package/agent/approvals/decision-authority.internal.ts +114 -0
  160. package/agent/approvals/decision-wake.ts +122 -0
  161. package/agent/approvals/domain-exposure.ts +182 -0
  162. package/agent/approvals/eve-response-policy.ts +48 -0
  163. package/agent/approvals/flow.ts +2185 -0
  164. package/agent/approvals/input-response-floor.ts +104 -0
  165. package/agent/approvals/judge-contradiction.ts +156 -0
  166. package/agent/approvals/memory-purge.ts +149 -0
  167. package/agent/approvals/pr-open.ts +172 -0
  168. package/agent/approvals/review-surface.ts +7 -0
  169. package/agent/approvals/routine-cancel.ts +57 -0
  170. package/agent/approvals/routine-create.ts +213 -0
  171. package/agent/approvals/routine-lifecycle.ts +206 -0
  172. package/agent/approvals/routine-permission-offer.ts +131 -0
  173. package/agent/approvals/routine-permission.ts +214 -0
  174. package/agent/approvals/routine-policy.ts +174 -0
  175. package/agent/approvals/scope-label.ts +48 -0
  176. package/agent/approvals/session-checkpoint.ts +80 -0
  177. package/agent/approvals/session-grant.ts +173 -0
  178. package/agent/approvals/skill-create.ts +60 -0
  179. package/agent/approvals/skill-delete.ts +50 -0
  180. package/agent/approvals/taint-disclosure.ts +42 -0
  181. package/agent/approvals/ticket-actions.ts +86 -0
  182. package/agent/approvals/ticket-create.ts +67 -0
  183. package/agent/approvals/types.ts +48 -0
  184. package/agent/approvals/webhook-declare.ts +297 -0
  185. package/agent/approvals/webhook.ts +205 -0
  186. package/agent/audit/action-registry.ts +1094 -0
  187. package/agent/audit/audit.ts +105 -0
  188. package/agent/audit/chain.ts +568 -0
  189. package/agent/audit/tool-action.ts +286 -0
  190. package/agent/audit/window-tool-gate.ts +54 -0
  191. package/agent/audit/worker-toolset.ts +117 -0
  192. package/agent/blob/hosting.ts +180 -0
  193. package/agent/channels/access-request-ledger.ts +139 -0
  194. package/agent/channels/ambient-skip.ts +102 -0
  195. package/agent/channels/answered-container-ledger.ts +76 -0
  196. package/agent/channels/approval-card.ts +454 -0
  197. package/agent/channels/approval-claim-guard.ts +384 -0
  198. package/agent/channels/attachments.ts +243 -0
  199. package/agent/channels/aws-sso-callback.ts +9 -0
  200. package/agent/channels/backscroll-window.ts +145 -0
  201. package/agent/channels/cancel-note.ts +127 -0
  202. package/agent/channels/channel-key.ts +56 -0
  203. package/agent/channels/channel-read.ts +501 -0
  204. package/agent/channels/chat-turn-audit.ts +23 -0
  205. package/agent/channels/closing-prose-drop.ts +53 -0
  206. package/agent/channels/command-registration.ts +165 -0
  207. package/agent/channels/context-render.ts +206 -0
  208. package/agent/channels/control-mcp.ts +44 -0
  209. package/agent/channels/control-read.ts +37 -0
  210. package/agent/channels/credential-intake-page.ts +12 -0
  211. package/agent/channels/delegated-provenance.ts +506 -0
  212. package/agent/channels/dm-audience.ts +346 -0
  213. package/agent/channels/dm-seat.ts +138 -0
  214. package/agent/channels/domain-fingerprint.ts +90 -0
  215. package/agent/channels/egress-spoof.ts +35 -0
  216. package/agent/channels/engaged-wake.ts +158 -0
  217. package/agent/channels/engagement.ts +254 -0
  218. package/agent/channels/entity-actions.ts +186 -0
  219. package/agent/channels/front-queue.ts +78 -0
  220. package/agent/channels/generation-retirement.ts +557 -0
  221. package/agent/channels/halt-per-wake.ts +166 -0
  222. package/agent/channels/memory-claim-guard.ts +425 -0
  223. package/agent/channels/name-drop-wake-audit.ts +162 -0
  224. package/agent/channels/native-wake-retry.ts +62 -0
  225. package/agent/channels/no-reply-signal.ts +49 -0
  226. package/agent/channels/normalized-wake.ts +285 -0
  227. package/agent/channels/oe-oauth-callback.ts +13 -0
  228. package/agent/channels/own-post-ledger.ts +76 -0
  229. package/agent/channels/platform-failure.ts +45 -0
  230. package/agent/channels/policy-pages.ts +15 -0
  231. package/agent/channels/post-arms.ts +321 -0
  232. package/agent/channels/proactive-dm-manifest.ts +113 -0
  233. package/agent/channels/propose-scope.ts +90 -0
  234. package/agent/channels/question-bridge.ts +594 -0
  235. package/agent/channels/rate-limit-retry.ts +355 -0
  236. package/agent/channels/react-signal.ts +26 -0
  237. package/agent/channels/reaction-ingest.ts +221 -0
  238. package/agent/channels/read-author-trust.ts +71 -0
  239. package/agent/channels/read-reach.ts +339 -0
  240. package/agent/channels/read-scope-audit.ts +127 -0
  241. package/agent/channels/read-scope-error.ts +5 -0
  242. package/agent/channels/read-spool.ts +131 -0
  243. package/agent/channels/reply-edit.ts +208 -0
  244. package/agent/channels/reply-fold.ts +517 -0
  245. package/agent/channels/reply-freshness.ts +253 -0
  246. package/agent/channels/reply-post.ts +502 -0
  247. package/agent/channels/reply-provenance.ts +804 -0
  248. package/agent/channels/reply-signal.ts +723 -0
  249. package/agent/channels/request-claim-guard.ts +532 -0
  250. package/agent/channels/runtime-code-fingerprint.generated.ts +10 -0
  251. package/agent/channels/runtime-rotation.ts +224 -0
  252. package/agent/channels/seat-admission.ts +103 -0
  253. package/agent/channels/seat-catch-up.ts +482 -0
  254. package/agent/channels/self-dispatch.ts +349 -0
  255. package/agent/channels/session-park.ts +252 -0
  256. package/agent/channels/session-resume.ts +36 -0
  257. package/agent/channels/session-tail-record.ts +172 -0
  258. package/agent/channels/session-tail.ts +140 -0
  259. package/agent/channels/slack-bridge.ts +125 -0
  260. package/agent/channels/stand-down-silence.ts +110 -0
  261. package/agent/channels/standing-authority.ts +237 -0
  262. package/agent/channels/stranded-seat.ts +155 -0
  263. package/agent/channels/supervisor-complete.ts +141 -0
  264. package/agent/channels/surface-message-ops.ts +217 -0
  265. package/agent/channels/task-wake.ts +528 -0
  266. package/agent/channels/teams-bridge.ts +85 -0
  267. package/agent/channels/test-wake.ts +12 -0
  268. package/agent/channels/thread-ownership.ts +70 -0
  269. package/agent/channels/thread-seat-state.ts +90 -0
  270. package/agent/channels/ticket-create.ts +171 -0
  271. package/agent/channels/transcript-relay.ts +9 -0
  272. package/agent/channels/turn-cancel.ts +431 -0
  273. package/agent/channels/turn-delivery.ts +484 -0
  274. package/agent/channels/turn-registry.ts +117 -0
  275. package/agent/channels/turn-terminal-actions.ts +134 -0
  276. package/agent/channels/unified-redrive.ts +215 -0
  277. package/agent/channels/unified-reply.ts +300 -0
  278. package/agent/channels/unified-supervisor.ts +193 -0
  279. package/agent/channels/unified-window.ts +1075 -0
  280. package/agent/channels/unified.ts +1575 -0
  281. package/agent/channels/wake-accounting.ts +121 -0
  282. package/agent/channels/wake-arm.ts +244 -0
  283. package/agent/channels/wake-container.ts +50 -0
  284. package/agent/channels/wake-envelope.ts +632 -0
  285. package/agent/channels/wake-origin-codec.ts +96 -0
  286. package/agent/channels/wake-origin-codecs.ts +4 -0
  287. package/agent/channels/wake-timing.ts +401 -0
  288. package/agent/channels/webhook-reveal-page.ts +12 -0
  289. package/agent/channels/webhooks.ts +216 -0
  290. package/agent/channels/window-key.ts +439 -0
  291. package/agent/channels/window-sources.ts +88 -0
  292. package/agent/channels/work-destinations.ts +48 -0
  293. package/agent/channels/work-registry.ts +26 -0
  294. package/agent/channels/work-search.ts +92 -0
  295. package/agent/commands/core.ts +737 -0
  296. package/agent/commands/rate.ts +173 -0
  297. package/agent/connections/auth-retry-memo.ts +115 -0
  298. package/agent/connections/aws-exec.ts +52 -0
  299. package/agent/connections/aws-identity.ts +297 -0
  300. package/agent/connections/aws-sso-callback.ts +103 -0
  301. package/agent/connections/aws-sso-identity-binding.ts +115 -0
  302. package/agent/connections/aws-sso-link.ts +40 -0
  303. package/agent/connections/connector-auth.ts +984 -0
  304. package/agent/connections/connector-card.ts +447 -0
  305. package/agent/connections/connector-flags.ts +44 -0
  306. package/agent/connections/connector-offer.ts +241 -0
  307. package/agent/connections/connector-transport.ts +131 -0
  308. package/agent/connections/consent-resume.ts +205 -0
  309. package/agent/connections/grant-mcp-borrow.ts +334 -0
  310. package/agent/connections/grant-mcp-transport.ts +64 -0
  311. package/agent/connections/notion.ts +42 -0
  312. package/agent/connections/oe-oauth-callback.ts +207 -0
  313. package/agent/connections/own-account-ask.ts +302 -0
  314. package/agent/connections/own-account-carriage.ts +99 -0
  315. package/agent/connections/own-account-gate.ts +361 -0
  316. package/agent/connections/own-account-vendors.ts +117 -0
  317. package/agent/connections/user-auth-flow.ts +102 -0
  318. package/agent/contributions.ts +197 -0
  319. package/agent/control/auth.ts +663 -0
  320. package/agent/control/capture-window-read.ts +382 -0
  321. package/agent/control/delivery-history.ts +558 -0
  322. package/agent/control/http.ts +169 -0
  323. package/agent/control/mcp-route.ts +105 -0
  324. package/agent/control/oauth-clients.ts +278 -0
  325. package/agent/control/oauth-resource.ts +200 -0
  326. package/agent/control/oauth-route.ts +397 -0
  327. package/agent/control/oauth-tokens.ts +222 -0
  328. package/agent/control/read-route.ts +841 -0
  329. package/agent/control/server.ts +540 -0
  330. package/agent/control/test-route.ts +527 -0
  331. package/agent/control/transcript-export.ts +197 -0
  332. package/agent/control/transcript-relay.ts +381 -0
  333. package/agent/control/transcript-render.ts +164 -0
  334. package/agent/control/views.ts +1289 -0
  335. package/agent/control/writes.ts +1431 -0
  336. package/agent/credentials/binding-pr.ts +247 -0
  337. package/agent/credentials/config-pr-github.ts +197 -0
  338. package/agent/credentials/config-pr.ts +180 -0
  339. package/agent/credentials/db-broker.ts +270 -0
  340. package/agent/credentials/home.ts +83 -0
  341. package/agent/credentials/intake-page.ts +302 -0
  342. package/agent/credentials/intake.ts +550 -0
  343. package/agent/credentials/kv-vault.ts +180 -0
  344. package/agent/credentials/operator-secrets.ts +396 -0
  345. package/agent/credentials/page-chrome.ts +59 -0
  346. package/agent/credentials/page-token.ts +219 -0
  347. package/agent/credentials/purge.ts +113 -0
  348. package/agent/credentials/ref.ts +151 -0
  349. package/agent/credentials/reserved-refs.ts +76 -0
  350. package/agent/credentials/self-secrets.ts +165 -0
  351. package/agent/credentials/warm.ts +209 -0
  352. package/agent/docs/approver-policy.ts +234 -0
  353. package/agent/docs/capability-map.ts +180 -0
  354. package/agent/docs/counted-claims.ts +433 -0
  355. package/agent/docs/registry.ts +184 -0
  356. package/agent/docs/source-map.ts +174 -0
  357. package/agent/hooks/approval-raised.ts +37 -0
  358. package/agent/hooks/approval-settlement.ts +109 -0
  359. package/agent/hooks/binding-bridge.ts +77 -0
  360. package/agent/hooks/connector-audit.ts +111 -0
  361. package/agent/hooks/egress.ts +694 -0
  362. package/agent/hooks/eve-patch-gate.ts +52 -0
  363. package/agent/hooks/fire-carriage.ts +44 -0
  364. package/agent/hooks/fire-toolset.ts +306 -0
  365. package/agent/hooks/job-posture.ts +82 -0
  366. package/agent/hooks/lean-seat.ts +233 -0
  367. package/agent/hooks/learn.ts +199 -0
  368. package/agent/hooks/link-claim.ts +269 -0
  369. package/agent/hooks/log-flush.ts +32 -0
  370. package/agent/hooks/loop-breaker.ts +17 -0
  371. package/agent/hooks/memory.ts +1250 -0
  372. package/agent/hooks/native-input-audit.ts +41 -0
  373. package/agent/hooks/own-account-ask.ts +172 -0
  374. package/agent/hooks/requester-identity.ts +30 -0
  375. package/agent/hooks/requester-messages.ts +55 -0
  376. package/agent/hooks/routine-outcome.ts +252 -0
  377. package/agent/hooks/routine-silence.ts +38 -0
  378. package/agent/hooks/session-park.ts +48 -0
  379. package/agent/hooks/settlement-flush.ts +173 -0
  380. package/agent/hooks/spawn-taint.ts +1312 -0
  381. package/agent/hooks/spend.ts +368 -0
  382. package/agent/hooks/stall-guard.ts +22 -0
  383. package/agent/hooks/telemetry.ts +90 -0
  384. package/agent/hooks/turn-anchor.ts +682 -0
  385. package/agent/hooks/turn-tally.ts +98 -0
  386. package/agent/hooks/wake-accounting-turn.ts +96 -0
  387. package/agent/hooks/wake-turn-start.ts +44 -0
  388. package/agent/hooks/window-routing.ts +51 -0
  389. package/agent/identity/account-directory.ts +138 -0
  390. package/agent/identity/account-display-name.ts +178 -0
  391. package/agent/identity/author-trust.ts +297 -0
  392. package/agent/identity/binding-bridge.ts +88 -0
  393. package/agent/identity/binding.ts +1308 -0
  394. package/agent/identity/bot-display-name.ts +50 -0
  395. package/agent/identity/bot-name.ts +79 -0
  396. package/agent/identity/capabilities.ts +79 -0
  397. package/agent/identity/delegated-binding.ts +130 -0
  398. package/agent/identity/deployment-identity.ts +105 -0
  399. package/agent/identity/directory-sync.ts +777 -0
  400. package/agent/identity/directory.ts +89 -0
  401. package/agent/identity/display-title.ts +19 -0
  402. package/agent/identity/frozen-surface-binding.internal.ts +83 -0
  403. package/agent/identity/group-sync.ts +169 -0
  404. package/agent/identity/groups-codemod.ts +142 -0
  405. package/agent/identity/groups-delivery.ts +156 -0
  406. package/agent/identity/groups.ts +174 -0
  407. package/agent/identity/link-challenge.ts +147 -0
  408. package/agent/identity/link-consent.ts +216 -0
  409. package/agent/identity/link-flow.ts +380 -0
  410. package/agent/identity/link-initiator.ts +27 -0
  411. package/agent/identity/link-resolve.ts +227 -0
  412. package/agent/identity/link-set-ref.ts +33 -0
  413. package/agent/identity/link-store.ts +889 -0
  414. package/agent/identity/link-tenant-backfill.ts +79 -0
  415. package/agent/identity/link-tenant.ts +54 -0
  416. package/agent/identity/oauth-vault-share.ts +40 -0
  417. package/agent/identity/platform.ts +48 -0
  418. package/agent/identity/principal-key-rules.ts +113 -0
  419. package/agent/identity/principal-key.ts +210 -0
  420. package/agent/identity/principals.ts +354 -0
  421. package/agent/identity/surface-key-grammar.ts +142 -0
  422. package/agent/identity/surface-parity.ts +427 -0
  423. package/agent/identity/trust-preflight.ts +271 -0
  424. package/agent/identity/trust.ts +433 -0
  425. package/agent/identity/wake-trust.ts +217 -0
  426. package/agent/instructions/access.ts +1239 -0
  427. package/agent/instructions/seat-prompt.ts +1286 -0
  428. package/agent/lib/process-registry.ts +52 -0
  429. package/agent/memory/agents-codemod.ts +443 -0
  430. package/agent/memory/connector-memory.ts +137 -0
  431. package/agent/memory/domain.ts +1276 -0
  432. package/agent/memory/dream/candidates.ts +187 -0
  433. package/agent/memory/dream/correction.ts +133 -0
  434. package/agent/memory/dream/judge.ts +174 -0
  435. package/agent/memory/dream/learn.ts +299 -0
  436. package/agent/memory/dream/mode3-cluster.ts +151 -0
  437. package/agent/memory/dream/mode3-last-mile.ts +365 -0
  438. package/agent/memory/dream/mode3.ts +311 -0
  439. package/agent/memory/dream/ops.ts +321 -0
  440. package/agent/memory/dream/proposal.ts +83 -0
  441. package/agent/memory/dream/recurrence.ts +132 -0
  442. package/agent/memory/dream/salience.ts +24 -0
  443. package/agent/memory/dream/skill-proposal-pr.ts +323 -0
  444. package/agent/memory/dream/supersede-apply.ts +94 -0
  445. package/agent/memory/dream/tidy.ts +162 -0
  446. package/agent/memory/graph.ts +178 -0
  447. package/agent/memory/host-owned-files.ts +3 -0
  448. package/agent/memory/layout.ts +85 -0
  449. package/agent/memory/listing.ts +199 -0
  450. package/agent/memory/markdown.ts +211 -0
  451. package/agent/memory/partition.ts +66 -0
  452. package/agent/memory/postgres.ts +497 -0
  453. package/agent/memory/provenance-mark.ts +318 -0
  454. package/agent/memory/provenance.ts +28 -0
  455. package/agent/memory/provider.ts +186 -0
  456. package/agent/memory/purge-redaction.ts +68 -0
  457. package/agent/memory/readonly.ts +57 -0
  458. package/agent/memory/resolve.ts +181 -0
  459. package/agent/memory/root-fence.ts +54 -0
  460. package/agent/memory/sandbox-sync.ts +84 -0
  461. package/agent/memory/selection.ts +120 -0
  462. package/agent/memory/silo.ts +71 -0
  463. package/agent/memory/sqlite.ts +206 -0
  464. package/agent/memory/store.ts +162 -0
  465. package/agent/memory/sync-timing.ts +223 -0
  466. package/agent/memory/wake-delta.ts +239 -0
  467. package/agent/memory/write-evidence.ts +150 -0
  468. package/agent/memory/write-fence.ts +145 -0
  469. package/agent/memory/write-intent.ts +205 -0
  470. package/agent/memory/write-road.ts +159 -0
  471. package/agent/model/ab-test.ts +374 -0
  472. package/agent/model/call-capture.ts +414 -0
  473. package/agent/model/default-model.ts +63 -0
  474. package/agent/model/model-stamp.ts +162 -0
  475. package/agent/model/policy.ts +378 -0
  476. package/agent/model/routing.ts +834 -0
  477. package/agent/model/step-boundary.ts +560 -0
  478. package/agent/model/stream-drop-retry.ts +334 -0
  479. package/agent/model/turn-closeout.ts +299 -0
  480. package/agent/model/turn-state.ts +461 -0
  481. package/agent/model/vision.ts +112 -0
  482. package/agent/observability/ship.ts +394 -0
  483. package/agent/observability/telemetry.ts +819 -0
  484. package/agent/observability/turn-clock.ts +96 -0
  485. package/agent/onboarding/onboarding.ts +98 -0
  486. package/agent/operational/credential-grant-rows.ts +944 -0
  487. package/agent/operational/pglite-client.ts +282 -0
  488. package/agent/operational/post-once.ts +146 -0
  489. package/agent/operational/postgres.ts +5030 -0
  490. package/agent/operational/provider.ts +190 -0
  491. package/agent/operational/sqlite.ts +4007 -0
  492. package/agent/operational/store.ts +2346 -0
  493. package/agent/ops/census.ts +1076 -0
  494. package/agent/ops/probes.ts +69 -0
  495. package/agent/ops/quickstart.ts +296 -0
  496. package/agent/ops/server.ts +485 -0
  497. package/agent/ops/surface-manifest.ts +111 -0
  498. package/agent/ops/two-role.ts +75 -0
  499. package/agent/pages/policy-pages.ts +79 -0
  500. package/agent/plugins/extract.ts +381 -0
  501. package/agent/plugins/parse.ts +122 -0
  502. package/agent/plugins/types.ts +147 -0
  503. package/agent/publish/eve-patch-pack.ts +461 -0
  504. package/agent/review/blast-radius.ts +282 -0
  505. package/agent/review/config-facts.ts +200 -0
  506. package/agent/review/facts-artifact.ts +377 -0
  507. package/agent/review/facts-cloud-status.ts +288 -0
  508. package/agent/review/pr-walkthrough.ts +772 -0
  509. package/agent/review/zip.ts +154 -0
  510. package/agent/roles/role.ts +228 -0
  511. package/agent/routines/bound.ts +262 -0
  512. package/agent/routines/check-in.ts +54 -0
  513. package/agent/routines/collector.ts +497 -0
  514. package/agent/routines/declared-permissions.ts +578 -0
  515. package/agent/routines/disable-notice.ts +181 -0
  516. package/agent/routines/entity-read.ts +305 -0
  517. package/agent/routines/event-authz.ts +268 -0
  518. package/agent/routines/event-match.ts +200 -0
  519. package/agent/routines/event-model.ts +744 -0
  520. package/agent/routines/events.ts +201 -0
  521. package/agent/routines/fire-audit.ts +823 -0
  522. package/agent/routines/fire-auth.ts +280 -0
  523. package/agent/routines/fire-carriage.ts +126 -0
  524. package/agent/routines/fire-creator.ts +86 -0
  525. package/agent/routines/fire-disclosure.ts +233 -0
  526. package/agent/routines/fire-eligibility.ts +280 -0
  527. package/agent/routines/fire-halt.ts +57 -0
  528. package/agent/routines/fire-message.ts +76 -0
  529. package/agent/routines/fire-toolset.ts +179 -0
  530. package/agent/routines/fire-window.ts +604 -0
  531. package/agent/routines/follow-ups.ts +173 -0
  532. package/agent/routines/gate.ts +251 -0
  533. package/agent/routines/github-entity-read.ts +120 -0
  534. package/agent/routines/github-fanout.ts +88 -0
  535. package/agent/routines/github-normalizer.ts +248 -0
  536. package/agent/routines/ingress.ts +855 -0
  537. package/agent/routines/job.ts +140 -0
  538. package/agent/routines/jq-filter.ts +387 -0
  539. package/agent/routines/lifecycle.ts +248 -0
  540. package/agent/routines/match-stamp.ts +131 -0
  541. package/agent/routines/outcome-fold.ts +302 -0
  542. package/agent/routines/partition.ts +27 -0
  543. package/agent/routines/permission-card-wait.ts +281 -0
  544. package/agent/routines/permission-card.ts +496 -0
  545. package/agent/routines/permission-key.ts +54 -0
  546. package/agent/routines/permission-review.ts +318 -0
  547. package/agent/routines/policy.ts +304 -0
  548. package/agent/routines/pre-fire.ts +133 -0
  549. package/agent/routines/provider-events.ts +430 -0
  550. package/agent/routines/report.ts +148 -0
  551. package/agent/routines/routine.ts +949 -0
  552. package/agent/routines/schedule.ts +209 -0
  553. package/agent/routines/scheme-name.ts +96 -0
  554. package/agent/routines/stall.ts +153 -0
  555. package/agent/routines/store.ts +100 -0
  556. package/agent/routines/watch.ts +328 -0
  557. package/agent/sandbox/backend-select.ts +58 -0
  558. package/agent/sandbox/vercel-create.ts +211 -0
  559. package/agent/scaffold/app-root.ts +104 -0
  560. package/agent/scaffold/roster-config.ts +187 -0
  561. package/agent/scaffold/roster-fs.ts +202 -0
  562. package/agent/scaffold/roster-plan.ts +880 -0
  563. package/agent/scaffold/templates.ts +85 -0
  564. package/agent/scaffold/tool-roster-read.ts +79 -0
  565. package/agent/scaffold/tool-roster.ts +214 -0
  566. package/agent/schedules/directory-sync.ts +37 -0
  567. package/agent/schedules/dispatch.ts +798 -0
  568. package/agent/schedules/dream-mode3.ts +311 -0
  569. package/agent/schedules/routine-dispatch.ts +213 -0
  570. package/agent/schedules/tidy.ts +321 -0
  571. package/agent/scm/app.ts +150 -0
  572. package/agent/scm/broker-audit.ts +107 -0
  573. package/agent/scm/broker.ts +130 -0
  574. package/agent/scm/capability-fit.ts +164 -0
  575. package/agent/scm/config-repo-token.ts +44 -0
  576. package/agent/scm/config.ts +37 -0
  577. package/agent/scm/contents.ts +162 -0
  578. package/agent/scm/git.ts +383 -0
  579. package/agent/scm/github-acting-identity.ts +127 -0
  580. package/agent/scm/github-search.ts +144 -0
  581. package/agent/scm/github-work.ts +44 -0
  582. package/agent/scm/installations.ts +155 -0
  583. package/agent/scm/issue-actions.ts +234 -0
  584. package/agent/scm/mint.ts +299 -0
  585. package/agent/scm/pr-activity.ts +130 -0
  586. package/agent/scm/pr-diff.ts +143 -0
  587. package/agent/scm/pr-feedback.ts +335 -0
  588. package/agent/scm/pr-status.ts +299 -0
  589. package/agent/scm/pr-watch.ts +162 -0
  590. package/agent/scm/pr.ts +114 -0
  591. package/agent/scm/provider.ts +46 -0
  592. package/agent/scm/refs.ts +142 -0
  593. package/agent/scm/repo-skills.ts +212 -0
  594. package/agent/scm/types.ts +50 -0
  595. package/agent/scm/write-token.ts +41 -0
  596. package/agent/settings/settings.ts +1525 -0
  597. package/agent/skills/domain-skills.ts +206 -0
  598. package/agent/skills/scoped.ts +172 -0
  599. package/agent/spend/bypass.ts +133 -0
  600. package/agent/spend/caps.ts +361 -0
  601. package/agent/spend/check.ts +164 -0
  602. package/agent/spend/checkpoint.ts +673 -0
  603. package/agent/spend/dm-mask.ts +134 -0
  604. package/agent/spend/ingress-gate.ts +349 -0
  605. package/agent/spend/pricing.ts +584 -0
  606. package/agent/spend/reporting.ts +900 -0
  607. package/agent/spend/sandbox-pricing.ts +53 -0
  608. package/agent/spend/spend.ts +480 -0
  609. package/agent/spend/stack-pricing.ts +205 -0
  610. package/agent/spend/store.ts +263 -0
  611. package/agent/spend/subagent-runs.ts +166 -0
  612. package/agent/spend/usage-events.ts +144 -0
  613. package/agent/stall/bash-hang-guard.ts +326 -0
  614. package/agent/stall/guard.ts +285 -0
  615. package/agent/status/status.ts +128 -0
  616. package/agent/subagents/contracts.ts +147 -0
  617. package/agent/subagents/declared.ts +201 -0
  618. package/agent/testing/driver-allowlist.ts +239 -0
  619. package/agent/tools/add_label.ts +68 -0
  620. package/agent/tools/add_routine_rule.ts +215 -0
  621. package/agent/tools/agent_version.ts +46 -0
  622. package/agent/tools/assign.ts +182 -0
  623. package/agent/tools/aws.ts +175 -0
  624. package/agent/tools/browser_tools.ts +22 -0
  625. package/agent/tools/cancel_routine.ts +133 -0
  626. package/agent/tools/capture_events.ts +54 -0
  627. package/agent/tools/check_pr_status.ts +72 -0
  628. package/agent/tools/checkout_repo.ts +172 -0
  629. package/agent/tools/clear_connector_override.ts +159 -0
  630. package/agent/tools/clear_spend_limit.ts +199 -0
  631. package/agent/tools/complete_job.ts +64 -0
  632. package/agent/tools/complete_thread.ts +134 -0
  633. package/agent/tools/confirm_link.ts +503 -0
  634. package/agent/tools/connector.ts +230 -0
  635. package/agent/tools/create_agent.ts +305 -0
  636. package/agent/tools/create_routine.ts +487 -0
  637. package/agent/tools/create_skill.ts +178 -0
  638. package/agent/tools/create_ticket.ts +187 -0
  639. package/agent/tools/declare_webhook.ts +362 -0
  640. package/agent/tools/delete_skill.ts +135 -0
  641. package/agent/tools/describe_image.ts +302 -0
  642. package/agent/tools/dm_person.ts +203 -0
  643. package/agent/tools/edit_reply.ts +195 -0
  644. package/agent/tools/edit_routine.ts +159 -0
  645. package/agent/tools/enable_routine.ts +162 -0
  646. package/agent/tools/explain_permission.ts +59 -0
  647. package/agent/tools/get_pr_feedback.ts +84 -0
  648. package/agent/tools/grant_tools.ts +443 -0
  649. package/agent/tools/halt.ts +172 -0
  650. package/agent/tools/link_identity.ts +308 -0
  651. package/agent/tools/list_recent_events.ts +58 -0
  652. package/agent/tools/list_repos.ts +24 -0
  653. package/agent/tools/list_routines.ts +152 -0
  654. package/agent/tools/list_skills.ts +38 -0
  655. package/agent/tools/list_webhooks.ts +72 -0
  656. package/agent/tools/memory_admin_list.ts +79 -0
  657. package/agent/tools/memory_admin_read.ts +95 -0
  658. package/agent/tools/message_thread_seat.ts +145 -0
  659. package/agent/tools/no_reply.ts +272 -0
  660. package/agent/tools/open_pull_request.ts +348 -0
  661. package/agent/tools/permission_fit_report.ts +190 -0
  662. package/agent/tools/post_file.ts +416 -0
  663. package/agent/tools/post_message.ts +169 -0
  664. package/agent/tools/post_pr_walkthrough.ts +220 -0
  665. package/agent/tools/purge_memory.ts +361 -0
  666. package/agent/tools/query_analytics.ts +83 -0
  667. package/agent/tools/react.ts +201 -0
  668. package/agent/tools/read_channel.ts +121 -0
  669. package/agent/tools/read_docs.ts +50 -0
  670. package/agent/tools/read_file_upload.ts +190 -0
  671. package/agent/tools/read_routine_transcript.ts +88 -0
  672. package/agent/tools/read_thread.ts +103 -0
  673. package/agent/tools/read_thread_seat.ts +91 -0
  674. package/agent/tools/read_webhook_history.ts +46 -0
  675. package/agent/tools/read_work_channel.ts +109 -0
  676. package/agent/tools/read_work_thread.ts +90 -0
  677. package/agent/tools/record_follow_up.ts +84 -0
  678. package/agent/tools/record_job_state.ts +49 -0
  679. package/agent/tools/record_watch_state.ts +47 -0
  680. package/agent/tools/remove_routine_rule.ts +158 -0
  681. package/agent/tools/reply.ts +757 -0
  682. package/agent/tools/report_run_failed.ts +79 -0
  683. package/agent/tools/request_access.ts +518 -0
  684. package/agent/tools/request_credential_grant.ts +550 -0
  685. package/agent/tools/resume.ts +148 -0
  686. package/agent/tools/revoke_connector.ts +155 -0
  687. package/agent/tools/revoke_credential_grant.ts +108 -0
  688. package/agent/tools/revoke_routine_permissions.ts +81 -0
  689. package/agent/tools/rotate_webhook.ts +185 -0
  690. package/agent/tools/run_routine_now.ts +120 -0
  691. package/agent/tools/sandbox_tools.ts +94 -0
  692. package/agent/tools/search.ts +121 -0
  693. package/agent/tools/session_cost.ts +135 -0
  694. package/agent/tools/set_dm_delivery.ts +115 -0
  695. package/agent/tools/set_spend_limit.ts +529 -0
  696. package/agent/tools/set_state.ts +179 -0
  697. package/agent/tools/spawn_thread_session.ts +223 -0
  698. package/agent/tools/spend_report.ts +440 -0
  699. package/agent/tools/stand_down.ts +260 -0
  700. package/agent/tools/subscribe_pr.ts +253 -0
  701. package/agent/tools/unlink_identity.ts +100 -0
  702. package/agent/tools/update_status.ts +65 -0
  703. package/agent/tools/usage_report.ts +103 -0
  704. package/agent/tools/walk_pr.ts +150 -0
  705. package/agent/webhooks/achievability.ts +235 -0
  706. package/agent/webhooks/capture-window.ts +220 -0
  707. package/agent/webhooks/config.ts +556 -0
  708. package/agent/webhooks/dispatch.ts +418 -0
  709. package/agent/webhooks/gate.ts +392 -0
  710. package/agent/webhooks/handshake-capture.ts +189 -0
  711. package/agent/webhooks/hooks-codemod.ts +266 -0
  712. package/agent/webhooks/oe-standard-webhook.ts +563 -0
  713. package/agent/webhooks/reject-audit.ts +134 -0
  714. package/agent/webhooks/replay-dedupe.ts +183 -0
  715. package/agent/webhooks/reveal-page.ts +507 -0
  716. package/agent/webhooks/secrets.ts +81 -0
  717. package/agent/webhooks/source-vocabulary.ts +333 -0
  718. package/agent/webhooks/verifier.ts +324 -0
  719. package/bin/oe-eve-patch.js +205 -0
  720. package/bin/oe.js +19 -0
  721. package/dist/agent/access/access-referenced-link-sets.d.ts +8 -0
  722. package/dist/agent/access/access-referenced-link-sets.d.ts.map +1 -0
  723. package/dist/agent/access/access-referenced-link-sets.js +20 -0
  724. package/dist/agent/access/access-referenced-link-sets.js.map +1 -0
  725. package/dist/agent/access/admin-read-venue.d.ts +48 -0
  726. package/dist/agent/access/admin-read-venue.d.ts.map +1 -0
  727. package/dist/agent/access/admin-read-venue.js +109 -0
  728. package/dist/agent/access/admin-read-venue.js.map +1 -0
  729. package/dist/agent/access/admin-standing.d.ts +16 -0
  730. package/dist/agent/access/admin-standing.d.ts.map +1 -0
  731. package/dist/agent/access/admin-standing.js +89 -0
  732. package/dist/agent/access/admin-standing.js.map +1 -0
  733. package/dist/agent/access/analytics-scope.d.ts +24 -0
  734. package/dist/agent/access/analytics-scope.d.ts.map +1 -0
  735. package/dist/agent/access/analytics-scope.js +62 -0
  736. package/dist/agent/access/analytics-scope.js.map +1 -0
  737. package/dist/agent/access/approval-dedupe.d.ts +29 -0
  738. package/dist/agent/access/approval-dedupe.d.ts.map +1 -0
  739. package/dist/agent/access/approval-dedupe.js +99 -0
  740. package/dist/agent/access/approval-dedupe.js.map +1 -0
  741. package/dist/agent/access/approval-judge.d.ts +186 -0
  742. package/dist/agent/access/approval-judge.d.ts.map +1 -0
  743. package/dist/agent/access/approval-judge.js +482 -0
  744. package/dist/agent/access/approval-judge.js.map +1 -0
  745. package/dist/agent/access/approval-preview.d.ts +27 -0
  746. package/dist/agent/access/approval-preview.d.ts.map +1 -0
  747. package/dist/agent/access/approval-preview.js +90 -0
  748. package/dist/agent/access/approval-preview.js.map +1 -0
  749. package/dist/agent/access/approval-scenarios.d.ts +18 -0
  750. package/dist/agent/access/approval-scenarios.d.ts.map +1 -0
  751. package/dist/agent/access/approval-scenarios.js +27 -0
  752. package/dist/agent/access/approval-scenarios.js.map +1 -0
  753. package/dist/agent/access/approver-chain.d.ts +210 -0
  754. package/dist/agent/access/approver-chain.d.ts.map +1 -0
  755. package/dist/agent/access/approver-chain.js +585 -0
  756. package/dist/agent/access/approver-chain.js.map +1 -0
  757. package/dist/agent/access/audience-floor.d.ts +69 -0
  758. package/dist/agent/access/audience-floor.d.ts.map +1 -0
  759. package/dist/agent/access/audience-floor.js +189 -0
  760. package/dist/agent/access/audience-floor.js.map +1 -0
  761. package/dist/agent/access/aws-output.d.ts +39 -0
  762. package/dist/agent/access/aws-output.d.ts.map +1 -0
  763. package/dist/agent/access/aws-output.js +94 -0
  764. package/dist/agent/access/aws-output.js.map +1 -0
  765. package/dist/agent/access/aws-screen.d.ts +24 -0
  766. package/dist/agent/access/aws-screen.d.ts.map +1 -0
  767. package/dist/agent/access/aws-screen.js +177 -0
  768. package/dist/agent/access/aws-screen.js.map +1 -0
  769. package/dist/agent/access/background-tasks.d.ts +100 -0
  770. package/dist/agent/access/background-tasks.d.ts.map +1 -0
  771. package/dist/agent/access/background-tasks.js +288 -0
  772. package/dist/agent/access/background-tasks.js.map +1 -0
  773. package/dist/agent/access/browser-hosts.d.ts +37 -0
  774. package/dist/agent/access/browser-hosts.d.ts.map +1 -0
  775. package/dist/agent/access/browser-hosts.js +127 -0
  776. package/dist/agent/access/browser-hosts.js.map +1 -0
  777. package/dist/agent/access/browser-toolkit.d.ts +48 -0
  778. package/dist/agent/access/browser-toolkit.d.ts.map +1 -0
  779. package/dist/agent/access/browser-toolkit.js +240 -0
  780. package/dist/agent/access/browser-toolkit.js.map +1 -0
  781. package/dist/agent/access/bundle.d.ts +239 -0
  782. package/dist/agent/access/bundle.d.ts.map +1 -0
  783. package/dist/agent/access/bundle.js +454 -0
  784. package/dist/agent/access/bundle.js.map +1 -0
  785. package/dist/agent/access/capabilities.d.ts +5 -0
  786. package/dist/agent/access/capabilities.d.ts.map +1 -0
  787. package/dist/agent/access/capabilities.js +9 -0
  788. package/dist/agent/access/capabilities.js.map +1 -0
  789. package/dist/agent/access/chat-dm-grant.d.ts +47 -0
  790. package/dist/agent/access/chat-dm-grant.d.ts.map +1 -0
  791. package/dist/agent/access/chat-dm-grant.js +185 -0
  792. package/dist/agent/access/chat-dm-grant.js.map +1 -0
  793. package/dist/agent/access/chat-write-grant.d.ts +35 -0
  794. package/dist/agent/access/chat-write-grant.d.ts.map +1 -0
  795. package/dist/agent/access/chat-write-grant.js +153 -0
  796. package/dist/agent/access/chat-write-grant.js.map +1 -0
  797. package/dist/agent/access/config.d.ts +117 -0
  798. package/dist/agent/access/config.d.ts.map +1 -0
  799. package/dist/agent/access/config.js +16 -0
  800. package/dist/agent/access/config.js.map +1 -0
  801. package/dist/agent/access/connector-content-origin-state.d.ts +17 -0
  802. package/dist/agent/access/connector-content-origin-state.d.ts.map +1 -0
  803. package/dist/agent/access/connector-content-origin-state.js +73 -0
  804. package/dist/agent/access/connector-content-origin-state.js.map +1 -0
  805. package/dist/agent/access/connector-credentials.d.ts +186 -0
  806. package/dist/agent/access/connector-credentials.d.ts.map +1 -0
  807. package/dist/agent/access/connector-credentials.js +258 -0
  808. package/dist/agent/access/connector-credentials.js.map +1 -0
  809. package/dist/agent/access/connector-disclosure.d.ts +66 -0
  810. package/dist/agent/access/connector-disclosure.d.ts.map +1 -0
  811. package/dist/agent/access/connector-disclosure.js +194 -0
  812. package/dist/agent/access/connector-disclosure.js.map +1 -0
  813. package/dist/agent/access/connector-op-gating.d.ts +32 -0
  814. package/dist/agent/access/connector-op-gating.d.ts.map +1 -0
  815. package/dist/agent/access/connector-op-gating.js +178 -0
  816. package/dist/agent/access/connector-op-gating.js.map +1 -0
  817. package/dist/agent/access/connector-scope.d.ts +42 -0
  818. package/dist/agent/access/connector-scope.d.ts.map +1 -0
  819. package/dist/agent/access/connector-scope.js +258 -0
  820. package/dist/agent/access/connector-scope.js.map +1 -0
  821. package/dist/agent/access/consequence.d.ts +205 -0
  822. package/dist/agent/access/consequence.d.ts.map +1 -0
  823. package/dist/agent/access/consequence.js +816 -0
  824. package/dist/agent/access/consequence.js.map +1 -0
  825. package/dist/agent/access/credential-bindings-codemod.d.ts +63 -0
  826. package/dist/agent/access/credential-bindings-codemod.d.ts.map +1 -0
  827. package/dist/agent/access/credential-bindings-codemod.js +179 -0
  828. package/dist/agent/access/credential-bindings-codemod.js.map +1 -0
  829. package/dist/agent/access/credential-endpoints.d.ts +47 -0
  830. package/dist/agent/access/credential-endpoints.d.ts.map +1 -0
  831. package/dist/agent/access/credential-endpoints.js +211 -0
  832. package/dist/agent/access/credential-endpoints.js.map +1 -0
  833. package/dist/agent/access/credential-grant-ask.d.ts +22 -0
  834. package/dist/agent/access/credential-grant-ask.d.ts.map +1 -0
  835. package/dist/agent/access/credential-grant-ask.js +82 -0
  836. package/dist/agent/access/credential-grant-ask.js.map +1 -0
  837. package/dist/agent/access/credential-grant-broker.d.ts +85 -0
  838. package/dist/agent/access/credential-grant-broker.d.ts.map +1 -0
  839. package/dist/agent/access/credential-grant-broker.js +252 -0
  840. package/dist/agent/access/credential-grant-broker.js.map +1 -0
  841. package/dist/agent/access/credential-grant-card.d.ts +98 -0
  842. package/dist/agent/access/credential-grant-card.d.ts.map +1 -0
  843. package/dist/agent/access/credential-grant-card.js +447 -0
  844. package/dist/agent/access/credential-grant-card.js.map +1 -0
  845. package/dist/agent/access/credential-grant-click.d.ts +43 -0
  846. package/dist/agent/access/credential-grant-click.d.ts.map +1 -0
  847. package/dist/agent/access/credential-grant-click.js +190 -0
  848. package/dist/agent/access/credential-grant-click.js.map +1 -0
  849. package/dist/agent/access/credential-grant-copy.d.ts +135 -0
  850. package/dist/agent/access/credential-grant-copy.d.ts.map +1 -0
  851. package/dist/agent/access/credential-grant-copy.js +276 -0
  852. package/dist/agent/access/credential-grant-copy.js.map +1 -0
  853. package/dist/agent/access/credential-grant-flow.d.ts +174 -0
  854. package/dist/agent/access/credential-grant-flow.d.ts.map +1 -0
  855. package/dist/agent/access/credential-grant-flow.js +503 -0
  856. package/dist/agent/access/credential-grant-flow.js.map +1 -0
  857. package/dist/agent/access/credential-grant-key-shape.d.ts +37 -0
  858. package/dist/agent/access/credential-grant-key-shape.d.ts.map +1 -0
  859. package/dist/agent/access/credential-grant-key-shape.js +51 -0
  860. package/dist/agent/access/credential-grant-key-shape.js.map +1 -0
  861. package/dist/agent/access/credential-grant-notice.d.ts +29 -0
  862. package/dist/agent/access/credential-grant-notice.d.ts.map +1 -0
  863. package/dist/agent/access/credential-grant-notice.js +187 -0
  864. package/dist/agent/access/credential-grant-notice.js.map +1 -0
  865. package/dist/agent/access/credential-grant-owner.d.ts +10 -0
  866. package/dist/agent/access/credential-grant-owner.d.ts.map +1 -0
  867. package/dist/agent/access/credential-grant-owner.js +16 -0
  868. package/dist/agent/access/credential-grant-owner.js.map +1 -0
  869. package/dist/agent/access/credential-grant-reach.d.ts +46 -0
  870. package/dist/agent/access/credential-grant-reach.d.ts.map +1 -0
  871. package/dist/agent/access/credential-grant-reach.js +77 -0
  872. package/dist/agent/access/credential-grant-reach.js.map +1 -0
  873. package/dist/agent/access/credential-grant-resolution.d.ts +30 -0
  874. package/dist/agent/access/credential-grant-resolution.d.ts.map +1 -0
  875. package/dist/agent/access/credential-grant-resolution.js +107 -0
  876. package/dist/agent/access/credential-grant-resolution.js.map +1 -0
  877. package/dist/agent/access/credential-grant-revoke.d.ts +33 -0
  878. package/dist/agent/access/credential-grant-revoke.d.ts.map +1 -0
  879. package/dist/agent/access/credential-grant-revoke.js +62 -0
  880. package/dist/agent/access/credential-grant-revoke.js.map +1 -0
  881. package/dist/agent/access/credential-grant-scope.d.ts +206 -0
  882. package/dist/agent/access/credential-grant-scope.d.ts.map +1 -0
  883. package/dist/agent/access/credential-grant-scope.js +282 -0
  884. package/dist/agent/access/credential-grant-scope.js.map +1 -0
  885. package/dist/agent/access/credential-grant.d.ts +94 -0
  886. package/dist/agent/access/credential-grant.d.ts.map +1 -0
  887. package/dist/agent/access/credential-grant.js +198 -0
  888. package/dist/agent/access/credential-grant.js.map +1 -0
  889. package/dist/agent/access/credentials.d.ts +41 -0
  890. package/dist/agent/access/credentials.d.ts.map +1 -0
  891. package/dist/agent/access/credentials.js +112 -0
  892. package/dist/agent/access/credentials.js.map +1 -0
  893. package/dist/agent/access/dated-read.d.ts +3 -0
  894. package/dist/agent/access/dated-read.d.ts.map +1 -0
  895. package/dist/agent/access/dated-read.js +24 -0
  896. package/dist/agent/access/dated-read.js.map +1 -0
  897. package/dist/agent/access/delegation-flag.d.ts +5 -0
  898. package/dist/agent/access/delegation-flag.d.ts.map +1 -0
  899. package/dist/agent/access/delegation-flag.js +10 -0
  900. package/dist/agent/access/delegation-flag.js.map +1 -0
  901. package/dist/agent/access/delegation-mount.d.ts +6 -0
  902. package/dist/agent/access/delegation-mount.d.ts.map +1 -0
  903. package/dist/agent/access/delegation-mount.js +30 -0
  904. package/dist/agent/access/delegation-mount.js.map +1 -0
  905. package/dist/agent/access/delta.d.ts +103 -0
  906. package/dist/agent/access/delta.d.ts.map +1 -0
  907. package/dist/agent/access/delta.js +267 -0
  908. package/dist/agent/access/delta.js.map +1 -0
  909. package/dist/agent/access/dispatch-origin-signal.d.ts +19 -0
  910. package/dist/agent/access/dispatch-origin-signal.d.ts.map +1 -0
  911. package/dist/agent/access/dispatch-origin-signal.js +130 -0
  912. package/dist/agent/access/dispatch-origin-signal.js.map +1 -0
  913. package/dist/agent/access/domain-credentials.d.ts +32 -0
  914. package/dist/agent/access/domain-credentials.d.ts.map +1 -0
  915. package/dist/agent/access/domain-credentials.js +78 -0
  916. package/dist/agent/access/domain-credentials.js.map +1 -0
  917. package/dist/agent/access/egress-denial-log.d.ts +28 -0
  918. package/dist/agent/access/egress-denial-log.d.ts.map +1 -0
  919. package/dist/agent/access/egress-denial-log.js +96 -0
  920. package/dist/agent/access/egress-denial-log.js.map +1 -0
  921. package/dist/agent/access/egress-denial-poller.d.ts +56 -0
  922. package/dist/agent/access/egress-denial-poller.d.ts.map +1 -0
  923. package/dist/agent/access/egress-denial-poller.js +184 -0
  924. package/dist/agent/access/egress-denial-poller.js.map +1 -0
  925. package/dist/agent/access/egress-status.d.ts +61 -0
  926. package/dist/agent/access/egress-status.d.ts.map +1 -0
  927. package/dist/agent/access/egress-status.js +130 -0
  928. package/dist/agent/access/egress-status.js.map +1 -0
  929. package/dist/agent/access/egress.d.ts +86 -0
  930. package/dist/agent/access/egress.d.ts.map +1 -0
  931. package/dist/agent/access/egress.js +236 -0
  932. package/dist/agent/access/egress.js.map +1 -0
  933. package/dist/agent/access/enforcement.d.ts +8 -0
  934. package/dist/agent/access/enforcement.d.ts.map +1 -0
  935. package/dist/agent/access/enforcement.js +24 -0
  936. package/dist/agent/access/enforcement.js.map +1 -0
  937. package/dist/agent/access/eve-patch-probe-boot.d.ts +2 -0
  938. package/dist/agent/access/eve-patch-probe-boot.d.ts.map +1 -0
  939. package/dist/agent/access/eve-patch-probe-boot.js +91 -0
  940. package/dist/agent/access/eve-patch-probe-boot.js.map +1 -0
  941. package/dist/agent/access/eve-patch-probe.d.ts +57 -0
  942. package/dist/agent/access/eve-patch-probe.d.ts.map +1 -0
  943. package/dist/agent/access/eve-patch-probe.js +225 -0
  944. package/dist/agent/access/eve-patch-probe.js.map +1 -0
  945. package/dist/agent/access/external-policy.d.ts +95 -0
  946. package/dist/agent/access/external-policy.d.ts.map +1 -0
  947. package/dist/agent/access/external-policy.js +154 -0
  948. package/dist/agent/access/external-policy.js.map +1 -0
  949. package/dist/agent/access/extra-hosts.d.ts +10 -0
  950. package/dist/agent/access/extra-hosts.d.ts.map +1 -0
  951. package/dist/agent/access/extra-hosts.js +28 -0
  952. package/dist/agent/access/extra-hosts.js.map +1 -0
  953. package/dist/agent/access/grant-borrow-transport-registry.internal.d.ts +21 -0
  954. package/dist/agent/access/grant-borrow-transport-registry.internal.d.ts.map +1 -0
  955. package/dist/agent/access/grant-borrow-transport-registry.internal.js +63 -0
  956. package/dist/agent/access/grant-borrow-transport-registry.internal.js.map +1 -0
  957. package/dist/agent/access/grant-room-notice-registry.internal.d.ts +20 -0
  958. package/dist/agent/access/grant-room-notice-registry.internal.d.ts.map +1 -0
  959. package/dist/agent/access/grant-room-notice-registry.internal.js +59 -0
  960. package/dist/agent/access/grant-room-notice-registry.internal.js.map +1 -0
  961. package/dist/agent/access/grant-schema-pin.d.ts +15 -0
  962. package/dist/agent/access/grant-schema-pin.d.ts.map +1 -0
  963. package/dist/agent/access/grant-schema-pin.js +29 -0
  964. package/dist/agent/access/grant-schema-pin.js.map +1 -0
  965. package/dist/agent/access/grants-codemod.d.ts +32 -0
  966. package/dist/agent/access/grants-codemod.d.ts.map +1 -0
  967. package/dist/agent/access/grants-codemod.js +306 -0
  968. package/dist/agent/access/grants-codemod.js.map +1 -0
  969. package/dist/agent/access/group-request.d.ts +13 -0
  970. package/dist/agent/access/group-request.d.ts.map +1 -0
  971. package/dist/agent/access/group-request.js +67 -0
  972. package/dist/agent/access/group-request.js.map +1 -0
  973. package/dist/agent/access/halt-state.d.ts +7 -0
  974. package/dist/agent/access/halt-state.d.ts.map +1 -0
  975. package/dist/agent/access/halt-state.js +23 -0
  976. package/dist/agent/access/halt-state.js.map +1 -0
  977. package/dist/agent/access/halt.d.ts +90 -0
  978. package/dist/agent/access/halt.d.ts.map +1 -0
  979. package/dist/agent/access/halt.js +239 -0
  980. package/dist/agent/access/halt.js.map +1 -0
  981. package/dist/agent/access/host-egress.d.ts +71 -0
  982. package/dist/agent/access/host-egress.d.ts.map +1 -0
  983. package/dist/agent/access/host-egress.js +384 -0
  984. package/dist/agent/access/host-egress.js.map +1 -0
  985. package/dist/agent/access/human-only-invariants-manifest.d.ts +20 -0
  986. package/dist/agent/access/human-only-invariants-manifest.d.ts.map +1 -0
  987. package/dist/agent/access/human-only-invariants-manifest.js +144 -0
  988. package/dist/agent/access/human-only-invariants-manifest.js.map +1 -0
  989. package/dist/agent/access/ingestion-binding-manifest.d.ts +41 -0
  990. package/dist/agent/access/ingestion-binding-manifest.d.ts.map +1 -0
  991. package/dist/agent/access/ingestion-binding-manifest.js +214 -0
  992. package/dist/agent/access/ingestion-binding-manifest.js.map +1 -0
  993. package/dist/agent/access/ingestion-route-inventory.generated.d.ts +13 -0
  994. package/dist/agent/access/ingestion-route-inventory.generated.d.ts.map +1 -0
  995. package/dist/agent/access/ingestion-route-inventory.generated.js +46 -0
  996. package/dist/agent/access/ingestion-route-inventory.generated.js.map +1 -0
  997. package/dist/agent/access/instructions.d.ts +5 -0
  998. package/dist/agent/access/instructions.d.ts.map +1 -0
  999. package/dist/agent/access/instructions.js +72 -0
  1000. package/dist/agent/access/instructions.js.map +1 -0
  1001. package/dist/agent/access/invoker-posture-state.d.ts +8 -0
  1002. package/dist/agent/access/invoker-posture-state.d.ts.map +1 -0
  1003. package/dist/agent/access/invoker-posture-state.js +23 -0
  1004. package/dist/agent/access/invoker-posture-state.js.map +1 -0
  1005. package/dist/agent/access/invoker-posture.d.ts +29 -0
  1006. package/dist/agent/access/invoker-posture.d.ts.map +1 -0
  1007. package/dist/agent/access/invoker-posture.js +70 -0
  1008. package/dist/agent/access/invoker-posture.js.map +1 -0
  1009. package/dist/agent/access/job-posture.d.ts +37 -0
  1010. package/dist/agent/access/job-posture.d.ts.map +1 -0
  1011. package/dist/agent/access/job-posture.js +65 -0
  1012. package/dist/agent/access/job-posture.js.map +1 -0
  1013. package/dist/agent/access/job-session-state.d.ts +13 -0
  1014. package/dist/agent/access/job-session-state.d.ts.map +1 -0
  1015. package/dist/agent/access/job-session-state.js +57 -0
  1016. package/dist/agent/access/job-session-state.js.map +1 -0
  1017. package/dist/agent/access/lean-seat-state.d.ts +12 -0
  1018. package/dist/agent/access/lean-seat-state.d.ts.map +1 -0
  1019. package/dist/agent/access/lean-seat-state.js +35 -0
  1020. package/dist/agent/access/lean-seat-state.js.map +1 -0
  1021. package/dist/agent/access/lean-seat.d.ts +25 -0
  1022. package/dist/agent/access/lean-seat.d.ts.map +1 -0
  1023. package/dist/agent/access/lean-seat.js +66 -0
  1024. package/dist/agent/access/lean-seat.js.map +1 -0
  1025. package/dist/agent/access/lint.d.ts +39 -0
  1026. package/dist/agent/access/lint.d.ts.map +1 -0
  1027. package/dist/agent/access/lint.js +556 -0
  1028. package/dist/agent/access/lint.js.map +1 -0
  1029. package/dist/agent/access/live-delegated-tasks.d.ts +20 -0
  1030. package/dist/agent/access/live-delegated-tasks.d.ts.map +1 -0
  1031. package/dist/agent/access/live-delegated-tasks.js +96 -0
  1032. package/dist/agent/access/live-delegated-tasks.js.map +1 -0
  1033. package/dist/agent/access/loop-breaker.d.ts +26 -0
  1034. package/dist/agent/access/loop-breaker.d.ts.map +1 -0
  1035. package/dist/agent/access/loop-breaker.js +77 -0
  1036. package/dist/agent/access/loop-breaker.js.map +1 -0
  1037. package/dist/agent/access/mcp-call-fence.d.ts +19 -0
  1038. package/dist/agent/access/mcp-call-fence.d.ts.map +1 -0
  1039. package/dist/agent/access/mcp-call-fence.js +180 -0
  1040. package/dist/agent/access/mcp-call-fence.js.map +1 -0
  1041. package/dist/agent/access/member-grant.d.ts +16 -0
  1042. package/dist/agent/access/member-grant.d.ts.map +1 -0
  1043. package/dist/agent/access/member-grant.js +34 -0
  1044. package/dist/agent/access/member-grant.js.map +1 -0
  1045. package/dist/agent/access/member-plane.d.ts +91 -0
  1046. package/dist/agent/access/member-plane.d.ts.map +1 -0
  1047. package/dist/agent/access/member-plane.js +114 -0
  1048. package/dist/agent/access/member-plane.js.map +1 -0
  1049. package/dist/agent/access/native-admin.d.ts +13 -0
  1050. package/dist/agent/access/native-admin.d.ts.map +1 -0
  1051. package/dist/agent/access/native-admin.js +23 -0
  1052. package/dist/agent/access/native-admin.js.map +1 -0
  1053. package/dist/agent/access/native-delegation-state.d.ts +16 -0
  1054. package/dist/agent/access/native-delegation-state.d.ts.map +1 -0
  1055. package/dist/agent/access/native-delegation-state.js +26 -0
  1056. package/dist/agent/access/native-delegation-state.js.map +1 -0
  1057. package/dist/agent/access/network-access.d.ts +23 -0
  1058. package/dist/agent/access/network-access.d.ts.map +1 -0
  1059. package/dist/agent/access/network-access.js +108 -0
  1060. package/dist/agent/access/network-access.js.map +1 -0
  1061. package/dist/agent/access/nullable-optional-fields.d.ts +13 -0
  1062. package/dist/agent/access/nullable-optional-fields.d.ts.map +1 -0
  1063. package/dist/agent/access/nullable-optional-fields.js +190 -0
  1064. package/dist/agent/access/nullable-optional-fields.js.map +1 -0
  1065. package/dist/agent/access/overlay-module.d.ts +20 -0
  1066. package/dist/agent/access/overlay-module.d.ts.map +1 -0
  1067. package/dist/agent/access/overlay-module.js +47 -0
  1068. package/dist/agent/access/overlay-module.js.map +1 -0
  1069. package/dist/agent/access/own-account-gate-manifest.d.ts +23 -0
  1070. package/dist/agent/access/own-account-gate-manifest.d.ts.map +1 -0
  1071. package/dist/agent/access/own-account-gate-manifest.js +109 -0
  1072. package/dist/agent/access/own-account-gate-manifest.js.map +1 -0
  1073. package/dist/agent/access/pane-venue.d.ts +58 -0
  1074. package/dist/agent/access/pane-venue.d.ts.map +1 -0
  1075. package/dist/agent/access/pane-venue.js +177 -0
  1076. package/dist/agent/access/pane-venue.js.map +1 -0
  1077. package/dist/agent/access/pending-delegation-signal.d.ts +38 -0
  1078. package/dist/agent/access/pending-delegation-signal.d.ts.map +1 -0
  1079. package/dist/agent/access/pending-delegation-signal.js +268 -0
  1080. package/dist/agent/access/pending-delegation-signal.js.map +1 -0
  1081. package/dist/agent/access/permission-evidence.d.ts +184 -0
  1082. package/dist/agent/access/permission-evidence.d.ts.map +1 -0
  1083. package/dist/agent/access/permission-evidence.js +412 -0
  1084. package/dist/agent/access/permission-evidence.js.map +1 -0
  1085. package/dist/agent/access/permission-proposal.d.ts +33 -0
  1086. package/dist/agent/access/permission-proposal.d.ts.map +1 -0
  1087. package/dist/agent/access/permission-proposal.js +319 -0
  1088. package/dist/agent/access/permission-proposal.js.map +1 -0
  1089. package/dist/agent/access/platform.d.ts +5 -0
  1090. package/dist/agent/access/platform.d.ts.map +1 -0
  1091. package/dist/agent/access/platform.js +15 -0
  1092. package/dist/agent/access/platform.js.map +1 -0
  1093. package/dist/agent/access/pre-approval-rules.d.ts +44 -0
  1094. package/dist/agent/access/pre-approval-rules.d.ts.map +1 -0
  1095. package/dist/agent/access/pre-approval-rules.js +86 -0
  1096. package/dist/agent/access/pre-approval-rules.js.map +1 -0
  1097. package/dist/agent/access/principal-gate-manifest.d.ts +111 -0
  1098. package/dist/agent/access/principal-gate-manifest.d.ts.map +1 -0
  1099. package/dist/agent/access/principal-gate-manifest.js +718 -0
  1100. package/dist/agent/access/principal-gate-manifest.js.map +1 -0
  1101. package/dist/agent/access/provider-selection-check.d.ts +24 -0
  1102. package/dist/agent/access/provider-selection-check.d.ts.map +1 -0
  1103. package/dist/agent/access/provider-selection-check.js +97 -0
  1104. package/dist/agent/access/provider-selection-check.js.map +1 -0
  1105. package/dist/agent/access/provider-selection.d.ts +21 -0
  1106. package/dist/agent/access/provider-selection.d.ts.map +1 -0
  1107. package/dist/agent/access/provider-selection.js +76 -0
  1108. package/dist/agent/access/provider-selection.js.map +1 -0
  1109. package/dist/agent/access/read-grant.d.ts +13 -0
  1110. package/dist/agent/access/read-grant.d.ts.map +1 -0
  1111. package/dist/agent/access/read-grant.js +96 -0
  1112. package/dist/agent/access/read-grant.js.map +1 -0
  1113. package/dist/agent/access/repo-capabilities.d.ts +30 -0
  1114. package/dist/agent/access/repo-capabilities.d.ts.map +1 -0
  1115. package/dist/agent/access/repo-capabilities.js +60 -0
  1116. package/dist/agent/access/repo-capabilities.js.map +1 -0
  1117. package/dist/agent/access/request.d.ts +17 -0
  1118. package/dist/agent/access/request.d.ts.map +1 -0
  1119. package/dist/agent/access/request.js +110 -0
  1120. package/dist/agent/access/request.js.map +1 -0
  1121. package/dist/agent/access/requester-identity.d.ts +82 -0
  1122. package/dist/agent/access/requester-identity.d.ts.map +1 -0
  1123. package/dist/agent/access/requester-identity.js +275 -0
  1124. package/dist/agent/access/requester-identity.js.map +1 -0
  1125. package/dist/agent/access/requester-messages.d.ts +7 -0
  1126. package/dist/agent/access/requester-messages.d.ts.map +1 -0
  1127. package/dist/agent/access/requester-messages.js +45 -0
  1128. package/dist/agent/access/requester-messages.js.map +1 -0
  1129. package/dist/agent/access/reserved-hosts.d.ts +5 -0
  1130. package/dist/agent/access/reserved-hosts.d.ts.map +1 -0
  1131. package/dist/agent/access/reserved-hosts.js +9 -0
  1132. package/dist/agent/access/reserved-hosts.js.map +1 -0
  1133. package/dist/agent/access/resolver.d.ts +120 -0
  1134. package/dist/agent/access/resolver.d.ts.map +1 -0
  1135. package/dist/agent/access/resolver.js +447 -0
  1136. package/dist/agent/access/resolver.js.map +1 -0
  1137. package/dist/agent/access/resource-capabilities.d.ts +37 -0
  1138. package/dist/agent/access/resource-capabilities.d.ts.map +1 -0
  1139. package/dist/agent/access/resource-capabilities.js +77 -0
  1140. package/dist/agent/access/resource-capabilities.js.map +1 -0
  1141. package/dist/agent/access/resource-grant-manifest.d.ts +21 -0
  1142. package/dist/agent/access/resource-grant-manifest.d.ts.map +1 -0
  1143. package/dist/agent/access/resource-grant-manifest.js +93 -0
  1144. package/dist/agent/access/resource-grant-manifest.js.map +1 -0
  1145. package/dist/agent/access/resource-grant.d.ts +33 -0
  1146. package/dist/agent/access/resource-grant.d.ts.map +1 -0
  1147. package/dist/agent/access/resource-grant.js +131 -0
  1148. package/dist/agent/access/resource-grant.js.map +1 -0
  1149. package/dist/agent/access/result-cap.d.ts +11 -0
  1150. package/dist/agent/access/result-cap.d.ts.map +1 -0
  1151. package/dist/agent/access/result-cap.js +31 -0
  1152. package/dist/agent/access/result-cap.js.map +1 -0
  1153. package/dist/agent/access/result-reduce-model-arm.d.ts +25 -0
  1154. package/dist/agent/access/result-reduce-model-arm.d.ts.map +1 -0
  1155. package/dist/agent/access/result-reduce-model-arm.js +73 -0
  1156. package/dist/agent/access/result-reduce-model-arm.js.map +1 -0
  1157. package/dist/agent/access/result-reduce.d.ts +13 -0
  1158. package/dist/agent/access/result-reduce.d.ts.map +1 -0
  1159. package/dist/agent/access/result-reduce.js +86 -0
  1160. package/dist/agent/access/result-reduce.js.map +1 -0
  1161. package/dist/agent/access/roles.d.ts +26 -0
  1162. package/dist/agent/access/roles.d.ts.map +1 -0
  1163. package/dist/agent/access/roles.js +78 -0
  1164. package/dist/agent/access/roles.js.map +1 -0
  1165. package/dist/agent/access/scope-key.d.ts +43 -0
  1166. package/dist/agent/access/scope-key.d.ts.map +1 -0
  1167. package/dist/agent/access/scope-key.js +36 -0
  1168. package/dist/agent/access/scope-key.js.map +1 -0
  1169. package/dist/agent/access/seat-read-budget.d.ts +17 -0
  1170. package/dist/agent/access/seat-read-budget.d.ts.map +1 -0
  1171. package/dist/agent/access/seat-read-budget.js +53 -0
  1172. package/dist/agent/access/seat-read-budget.js.map +1 -0
  1173. package/dist/agent/access/self-host-egress.d.ts +37 -0
  1174. package/dist/agent/access/self-host-egress.d.ts.map +1 -0
  1175. package/dist/agent/access/self-host-egress.js +63 -0
  1176. package/dist/agent/access/self-host-egress.js.map +1 -0
  1177. package/dist/agent/access/settlement-dispatch-signal.d.ts +22 -0
  1178. package/dist/agent/access/settlement-dispatch-signal.d.ts.map +1 -0
  1179. package/dist/agent/access/settlement-dispatch-signal.js +76 -0
  1180. package/dist/agent/access/settlement-dispatch-signal.js.map +1 -0
  1181. package/dist/agent/access/skill-taint-envelope.d.ts +31 -0
  1182. package/dist/agent/access/skill-taint-envelope.d.ts.map +1 -0
  1183. package/dist/agent/access/skill-taint-envelope.js +80 -0
  1184. package/dist/agent/access/skill-taint-envelope.js.map +1 -0
  1185. package/dist/agent/access/source-gate-manifest.d.ts +14 -0
  1186. package/dist/agent/access/source-gate-manifest.d.ts.map +1 -0
  1187. package/dist/agent/access/source-gate-manifest.js +111 -0
  1188. package/dist/agent/access/source-gate-manifest.js.map +1 -0
  1189. package/dist/agent/access/source-scoped-mount.d.ts +7 -0
  1190. package/dist/agent/access/source-scoped-mount.d.ts.map +1 -0
  1191. package/dist/agent/access/source-scoped-mount.js +26 -0
  1192. package/dist/agent/access/source-scoped-mount.js.map +1 -0
  1193. package/dist/agent/access/subagent-taint.d.ts +44 -0
  1194. package/dist/agent/access/subagent-taint.d.ts.map +1 -0
  1195. package/dist/agent/access/subagent-taint.js +175 -0
  1196. package/dist/agent/access/subagent-taint.js.map +1 -0
  1197. package/dist/agent/access/surface-work-grant.d.ts +20 -0
  1198. package/dist/agent/access/surface-work-grant.d.ts.map +1 -0
  1199. package/dist/agent/access/surface-work-grant.js +84 -0
  1200. package/dist/agent/access/surface-work-grant.js.map +1 -0
  1201. package/dist/agent/access/taint-enforcement.d.ts +46 -0
  1202. package/dist/agent/access/taint-enforcement.d.ts.map +1 -0
  1203. package/dist/agent/access/taint-enforcement.js +141 -0
  1204. package/dist/agent/access/taint-enforcement.js.map +1 -0
  1205. package/dist/agent/access/taint-signal.d.ts +100 -0
  1206. package/dist/agent/access/taint-signal.d.ts.map +1 -0
  1207. package/dist/agent/access/taint-signal.js +236 -0
  1208. package/dist/agent/access/taint-signal.js.map +1 -0
  1209. package/dist/agent/access/taint-tiers.d.ts +64 -0
  1210. package/dist/agent/access/taint-tiers.d.ts.map +1 -0
  1211. package/dist/agent/access/taint-tiers.js +93 -0
  1212. package/dist/agent/access/taint-tiers.js.map +1 -0
  1213. package/dist/agent/access/task-wake-signal.d.ts +9 -0
  1214. package/dist/agent/access/task-wake-signal.d.ts.map +1 -0
  1215. package/dist/agent/access/task-wake-signal.js +86 -0
  1216. package/dist/agent/access/task-wake-signal.js.map +1 -0
  1217. package/dist/agent/access/tenant-admission.d.ts +52 -0
  1218. package/dist/agent/access/tenant-admission.d.ts.map +1 -0
  1219. package/dist/agent/access/tenant-admission.js +154 -0
  1220. package/dist/agent/access/tenant-admission.js.map +1 -0
  1221. package/dist/agent/access/untrusted-projection.d.ts +23 -0
  1222. package/dist/agent/access/untrusted-projection.d.ts.map +1 -0
  1223. package/dist/agent/access/untrusted-projection.js +258 -0
  1224. package/dist/agent/access/untrusted-projection.js.map +1 -0
  1225. package/dist/agent/access/untrusted.d.ts +34 -0
  1226. package/dist/agent/access/untrusted.d.ts.map +1 -0
  1227. package/dist/agent/access/untrusted.js +100 -0
  1228. package/dist/agent/access/untrusted.js.map +1 -0
  1229. package/dist/agent/access/wake-mapping.d.ts +22 -0
  1230. package/dist/agent/access/wake-mapping.d.ts.map +1 -0
  1231. package/dist/agent/access/wake-mapping.js +19 -0
  1232. package/dist/agent/access/wake-mapping.js.map +1 -0
  1233. package/dist/agent/access/web-fetch-fence.d.ts +8 -0
  1234. package/dist/agent/access/web-fetch-fence.d.ts.map +1 -0
  1235. package/dist/agent/access/web-fetch-fence.js +55 -0
  1236. package/dist/agent/access/web-fetch-fence.js.map +1 -0
  1237. package/dist/agent/access/window-gate-manifest.d.ts +75 -0
  1238. package/dist/agent/access/window-gate-manifest.d.ts.map +1 -0
  1239. package/dist/agent/access/window-gate-manifest.js +474 -0
  1240. package/dist/agent/access/window-gate-manifest.js.map +1 -0
  1241. package/dist/agent/access/window-gated.d.ts +111 -0
  1242. package/dist/agent/access/window-gated.d.ts.map +1 -0
  1243. package/dist/agent/access/window-gated.js +611 -0
  1244. package/dist/agent/access/window-gated.js.map +1 -0
  1245. package/dist/agent/access/window-routing.d.ts +16 -0
  1246. package/dist/agent/access/window-routing.d.ts.map +1 -0
  1247. package/dist/agent/access/window-routing.js +11 -0
  1248. package/dist/agent/access/window-routing.js.map +1 -0
  1249. package/dist/agent/access/work-grant.d.ts +39 -0
  1250. package/dist/agent/access/work-grant.d.ts.map +1 -0
  1251. package/dist/agent/access/work-grant.js +76 -0
  1252. package/dist/agent/access/work-grant.js.map +1 -0
  1253. package/dist/agent/access/work-mount-manifest.d.ts +21 -0
  1254. package/dist/agent/access/work-mount-manifest.d.ts.map +1 -0
  1255. package/dist/agent/access/work-mount-manifest.js +149 -0
  1256. package/dist/agent/access/work-mount-manifest.js.map +1 -0
  1257. package/dist/agent/access/worker-capabilities.d.ts +60 -0
  1258. package/dist/agent/access/worker-capabilities.d.ts.map +1 -0
  1259. package/dist/agent/access/worker-capabilities.js +318 -0
  1260. package/dist/agent/access/worker-capabilities.js.map +1 -0
  1261. package/dist/agent/access/worker-capability-index.generated.d.ts +7 -0
  1262. package/dist/agent/access/worker-capability-index.generated.d.ts.map +1 -0
  1263. package/dist/agent/access/worker-capability-index.generated.js +188 -0
  1264. package/dist/agent/access/worker-capability-index.generated.js.map +1 -0
  1265. package/dist/agent/access/worker-continuation.d.ts +7 -0
  1266. package/dist/agent/access/worker-continuation.d.ts.map +1 -0
  1267. package/dist/agent/access/worker-continuation.js +180 -0
  1268. package/dist/agent/access/worker-continuation.js.map +1 -0
  1269. package/dist/agent/access/worker-seat-state.d.ts +8 -0
  1270. package/dist/agent/access/worker-seat-state.d.ts.map +1 -0
  1271. package/dist/agent/access/worker-seat-state.js +24 -0
  1272. package/dist/agent/access/worker-seat-state.js.map +1 -0
  1273. package/dist/agent/access/worker-seat.d.ts +23 -0
  1274. package/dist/agent/access/worker-seat.d.ts.map +1 -0
  1275. package/dist/agent/access/worker-seat.js +47 -0
  1276. package/dist/agent/access/worker-seat.js.map +1 -0
  1277. package/dist/agent/access/worker-toolset-state.d.ts +32 -0
  1278. package/dist/agent/access/worker-toolset-state.d.ts.map +1 -0
  1279. package/dist/agent/access/worker-toolset-state.js +40 -0
  1280. package/dist/agent/access/worker-toolset-state.js.map +1 -0
  1281. package/dist/agent/adapter-api.d.ts +416 -0
  1282. package/dist/agent/adapter-api.d.ts.map +1 -0
  1283. package/dist/agent/adapter-api.js +1147 -0
  1284. package/dist/agent/adapter-api.js.map +1 -0
  1285. package/dist/agent/analytics/compile.d.ts +127 -0
  1286. package/dist/agent/analytics/compile.d.ts.map +1 -0
  1287. package/dist/agent/analytics/compile.js +406 -0
  1288. package/dist/agent/analytics/compile.js.map +1 -0
  1289. package/dist/agent/analytics/execute.d.ts +20 -0
  1290. package/dist/agent/analytics/execute.d.ts.map +1 -0
  1291. package/dist/agent/analytics/execute.js +146 -0
  1292. package/dist/agent/analytics/execute.js.map +1 -0
  1293. package/dist/agent/analytics/registry.d.ts +89 -0
  1294. package/dist/agent/analytics/registry.d.ts.map +1 -0
  1295. package/dist/agent/analytics/registry.js +216 -0
  1296. package/dist/agent/analytics/registry.js.map +1 -0
  1297. package/dist/agent/approvals/access-request.d.ts +53 -0
  1298. package/dist/agent/approvals/access-request.d.ts.map +1 -0
  1299. package/dist/agent/approvals/access-request.js +186 -0
  1300. package/dist/agent/approvals/access-request.js.map +1 -0
  1301. package/dist/agent/approvals/actions.d.ts +95 -0
  1302. package/dist/agent/approvals/actions.d.ts.map +1 -0
  1303. package/dist/agent/approvals/actions.js +293 -0
  1304. package/dist/agent/approvals/actions.js.map +1 -0
  1305. package/dist/agent/approvals/agent-create.d.ts +44 -0
  1306. package/dist/agent/approvals/agent-create.d.ts.map +1 -0
  1307. package/dist/agent/approvals/agent-create.js +205 -0
  1308. package/dist/agent/approvals/agent-create.js.map +1 -0
  1309. package/dist/agent/approvals/arming-context.d.ts +13 -0
  1310. package/dist/agent/approvals/arming-context.d.ts.map +1 -0
  1311. package/dist/agent/approvals/arming-context.js +17 -0
  1312. package/dist/agent/approvals/arming-context.js.map +1 -0
  1313. package/dist/agent/approvals/card-disclosure.d.ts +28 -0
  1314. package/dist/agent/approvals/card-disclosure.d.ts.map +1 -0
  1315. package/dist/agent/approvals/card-disclosure.js +31 -0
  1316. package/dist/agent/approvals/card-disclosure.js.map +1 -0
  1317. package/dist/agent/approvals/card-signal.d.ts +41 -0
  1318. package/dist/agent/approvals/card-signal.d.ts.map +1 -0
  1319. package/dist/agent/approvals/card-signal.js +115 -0
  1320. package/dist/agent/approvals/card-signal.js.map +1 -0
  1321. package/dist/agent/approvals/card-venue.d.ts +55 -0
  1322. package/dist/agent/approvals/card-venue.d.ts.map +1 -0
  1323. package/dist/agent/approvals/card-venue.js +106 -0
  1324. package/dist/agent/approvals/card-venue.js.map +1 -0
  1325. package/dist/agent/approvals/card.d.ts +23 -0
  1326. package/dist/agent/approvals/card.d.ts.map +1 -0
  1327. package/dist/agent/approvals/card.js +99 -0
  1328. package/dist/agent/approvals/card.js.map +1 -0
  1329. package/dist/agent/approvals/chat-dm.d.ts +19 -0
  1330. package/dist/agent/approvals/chat-dm.d.ts.map +1 -0
  1331. package/dist/agent/approvals/chat-dm.js +41 -0
  1332. package/dist/agent/approvals/chat-dm.js.map +1 -0
  1333. package/dist/agent/approvals/chat-post.d.ts +15 -0
  1334. package/dist/agent/approvals/chat-post.d.ts.map +1 -0
  1335. package/dist/agent/approvals/chat-post.js +43 -0
  1336. package/dist/agent/approvals/chat-post.js.map +1 -0
  1337. package/dist/agent/approvals/clicker-floor.d.ts +48 -0
  1338. package/dist/agent/approvals/clicker-floor.d.ts.map +1 -0
  1339. package/dist/agent/approvals/clicker-floor.js +58 -0
  1340. package/dist/agent/approvals/clicker-floor.js.map +1 -0
  1341. package/dist/agent/approvals/decision-authority.internal.d.ts +19 -0
  1342. package/dist/agent/approvals/decision-authority.internal.d.ts.map +1 -0
  1343. package/dist/agent/approvals/decision-authority.internal.js +107 -0
  1344. package/dist/agent/approvals/decision-authority.internal.js.map +1 -0
  1345. package/dist/agent/approvals/decision-wake.d.ts +28 -0
  1346. package/dist/agent/approvals/decision-wake.d.ts.map +1 -0
  1347. package/dist/agent/approvals/decision-wake.js +84 -0
  1348. package/dist/agent/approvals/decision-wake.js.map +1 -0
  1349. package/dist/agent/approvals/domain-exposure.d.ts +27 -0
  1350. package/dist/agent/approvals/domain-exposure.d.ts.map +1 -0
  1351. package/dist/agent/approvals/domain-exposure.js +145 -0
  1352. package/dist/agent/approvals/domain-exposure.js.map +1 -0
  1353. package/dist/agent/approvals/eve-response-policy.d.ts +22 -0
  1354. package/dist/agent/approvals/eve-response-policy.d.ts.map +1 -0
  1355. package/dist/agent/approvals/eve-response-policy.js +27 -0
  1356. package/dist/agent/approvals/eve-response-policy.js.map +1 -0
  1357. package/dist/agent/approvals/flow.d.ts +398 -0
  1358. package/dist/agent/approvals/flow.d.ts.map +1 -0
  1359. package/dist/agent/approvals/flow.js +1722 -0
  1360. package/dist/agent/approvals/flow.js.map +1 -0
  1361. package/dist/agent/approvals/input-response-floor.d.ts +47 -0
  1362. package/dist/agent/approvals/input-response-floor.d.ts.map +1 -0
  1363. package/dist/agent/approvals/input-response-floor.js +56 -0
  1364. package/dist/agent/approvals/input-response-floor.js.map +1 -0
  1365. package/dist/agent/approvals/judge-contradiction.d.ts +56 -0
  1366. package/dist/agent/approvals/judge-contradiction.d.ts.map +1 -0
  1367. package/dist/agent/approvals/judge-contradiction.js +90 -0
  1368. package/dist/agent/approvals/judge-contradiction.js.map +1 -0
  1369. package/dist/agent/approvals/memory-purge.d.ts +2 -0
  1370. package/dist/agent/approvals/memory-purge.d.ts.map +1 -0
  1371. package/dist/agent/approvals/memory-purge.js +128 -0
  1372. package/dist/agent/approvals/memory-purge.js.map +1 -0
  1373. package/dist/agent/approvals/pr-open.d.ts +36 -0
  1374. package/dist/agent/approvals/pr-open.d.ts.map +1 -0
  1375. package/dist/agent/approvals/pr-open.js +134 -0
  1376. package/dist/agent/approvals/pr-open.js.map +1 -0
  1377. package/dist/agent/approvals/review-surface.d.ts +3 -0
  1378. package/dist/agent/approvals/review-surface.d.ts.map +1 -0
  1379. package/dist/agent/approvals/review-surface.js +7 -0
  1380. package/dist/agent/approvals/review-surface.js.map +1 -0
  1381. package/dist/agent/approvals/routine-cancel.d.ts +2 -0
  1382. package/dist/agent/approvals/routine-cancel.d.ts.map +1 -0
  1383. package/dist/agent/approvals/routine-cancel.js +39 -0
  1384. package/dist/agent/approvals/routine-cancel.js.map +1 -0
  1385. package/dist/agent/approvals/routine-create.d.ts +38 -0
  1386. package/dist/agent/approvals/routine-create.d.ts.map +1 -0
  1387. package/dist/agent/approvals/routine-create.js +171 -0
  1388. package/dist/agent/approvals/routine-create.js.map +1 -0
  1389. package/dist/agent/approvals/routine-lifecycle.d.ts +2 -0
  1390. package/dist/agent/approvals/routine-lifecycle.d.ts.map +1 -0
  1391. package/dist/agent/approvals/routine-lifecycle.js +135 -0
  1392. package/dist/agent/approvals/routine-lifecycle.js.map +1 -0
  1393. package/dist/agent/approvals/routine-permission-offer.d.ts +35 -0
  1394. package/dist/agent/approvals/routine-permission-offer.d.ts.map +1 -0
  1395. package/dist/agent/approvals/routine-permission-offer.js +90 -0
  1396. package/dist/agent/approvals/routine-permission-offer.js.map +1 -0
  1397. package/dist/agent/approvals/routine-permission.d.ts +51 -0
  1398. package/dist/agent/approvals/routine-permission.d.ts.map +1 -0
  1399. package/dist/agent/approvals/routine-permission.js +173 -0
  1400. package/dist/agent/approvals/routine-permission.js.map +1 -0
  1401. package/dist/agent/approvals/routine-policy.d.ts +2 -0
  1402. package/dist/agent/approvals/routine-policy.d.ts.map +1 -0
  1403. package/dist/agent/approvals/routine-policy.js +133 -0
  1404. package/dist/agent/approvals/routine-policy.js.map +1 -0
  1405. package/dist/agent/approvals/scope-label.d.ts +11 -0
  1406. package/dist/agent/approvals/scope-label.d.ts.map +1 -0
  1407. package/dist/agent/approvals/scope-label.js +43 -0
  1408. package/dist/agent/approvals/scope-label.js.map +1 -0
  1409. package/dist/agent/approvals/session-checkpoint.d.ts +11 -0
  1410. package/dist/agent/approvals/session-checkpoint.d.ts.map +1 -0
  1411. package/dist/agent/approvals/session-checkpoint.js +60 -0
  1412. package/dist/agent/approvals/session-checkpoint.js.map +1 -0
  1413. package/dist/agent/approvals/session-grant.d.ts +46 -0
  1414. package/dist/agent/approvals/session-grant.d.ts.map +1 -0
  1415. package/dist/agent/approvals/session-grant.js +153 -0
  1416. package/dist/agent/approvals/session-grant.js.map +1 -0
  1417. package/dist/agent/approvals/skill-create.d.ts +2 -0
  1418. package/dist/agent/approvals/skill-create.d.ts.map +1 -0
  1419. package/dist/agent/approvals/skill-create.js +42 -0
  1420. package/dist/agent/approvals/skill-create.js.map +1 -0
  1421. package/dist/agent/approvals/skill-delete.d.ts +2 -0
  1422. package/dist/agent/approvals/skill-delete.d.ts.map +1 -0
  1423. package/dist/agent/approvals/skill-delete.js +38 -0
  1424. package/dist/agent/approvals/skill-delete.js.map +1 -0
  1425. package/dist/agent/approvals/taint-disclosure.d.ts +10 -0
  1426. package/dist/agent/approvals/taint-disclosure.d.ts.map +1 -0
  1427. package/dist/agent/approvals/taint-disclosure.js +36 -0
  1428. package/dist/agent/approvals/taint-disclosure.js.map +1 -0
  1429. package/dist/agent/approvals/ticket-actions.d.ts +27 -0
  1430. package/dist/agent/approvals/ticket-actions.d.ts.map +1 -0
  1431. package/dist/agent/approvals/ticket-actions.js +47 -0
  1432. package/dist/agent/approvals/ticket-actions.js.map +1 -0
  1433. package/dist/agent/approvals/ticket-create.d.ts +19 -0
  1434. package/dist/agent/approvals/ticket-create.d.ts.map +1 -0
  1435. package/dist/agent/approvals/ticket-create.js +46 -0
  1436. package/dist/agent/approvals/ticket-create.js.map +1 -0
  1437. package/dist/agent/approvals/types.d.ts +42 -0
  1438. package/dist/agent/approvals/types.d.ts.map +1 -0
  1439. package/dist/agent/approvals/types.js +3 -0
  1440. package/dist/agent/approvals/types.js.map +1 -0
  1441. package/dist/agent/approvals/webhook-declare.d.ts +55 -0
  1442. package/dist/agent/approvals/webhook-declare.d.ts.map +1 -0
  1443. package/dist/agent/approvals/webhook-declare.js +239 -0
  1444. package/dist/agent/approvals/webhook-declare.js.map +1 -0
  1445. package/dist/agent/approvals/webhook.d.ts +25 -0
  1446. package/dist/agent/approvals/webhook.d.ts.map +1 -0
  1447. package/dist/agent/approvals/webhook.js +156 -0
  1448. package/dist/agent/approvals/webhook.js.map +1 -0
  1449. package/dist/agent/audit/action-registry.d.ts +78 -0
  1450. package/dist/agent/audit/action-registry.d.ts.map +1 -0
  1451. package/dist/agent/audit/action-registry.js +996 -0
  1452. package/dist/agent/audit/action-registry.js.map +1 -0
  1453. package/dist/agent/audit/audit.d.ts +32 -0
  1454. package/dist/agent/audit/audit.d.ts.map +1 -0
  1455. package/dist/agent/audit/audit.js +100 -0
  1456. package/dist/agent/audit/audit.js.map +1 -0
  1457. package/dist/agent/audit/chain.d.ts +196 -0
  1458. package/dist/agent/audit/chain.d.ts.map +1 -0
  1459. package/dist/agent/audit/chain.js +462 -0
  1460. package/dist/agent/audit/chain.js.map +1 -0
  1461. package/dist/agent/audit/tool-action.d.ts +26 -0
  1462. package/dist/agent/audit/tool-action.d.ts.map +1 -0
  1463. package/dist/agent/audit/tool-action.js +271 -0
  1464. package/dist/agent/audit/tool-action.js.map +1 -0
  1465. package/dist/agent/audit/window-tool-gate.d.ts +21 -0
  1466. package/dist/agent/audit/window-tool-gate.d.ts.map +1 -0
  1467. package/dist/agent/audit/window-tool-gate.js +40 -0
  1468. package/dist/agent/audit/window-tool-gate.js.map +1 -0
  1469. package/dist/agent/audit/worker-toolset.d.ts +25 -0
  1470. package/dist/agent/audit/worker-toolset.d.ts.map +1 -0
  1471. package/dist/agent/audit/worker-toolset.js +108 -0
  1472. package/dist/agent/audit/worker-toolset.js.map +1 -0
  1473. package/dist/agent/blob/hosting.d.ts +61 -0
  1474. package/dist/agent/blob/hosting.d.ts.map +1 -0
  1475. package/dist/agent/blob/hosting.js +142 -0
  1476. package/dist/agent/blob/hosting.js.map +1 -0
  1477. package/dist/agent/channels/access-request-ledger.d.ts +36 -0
  1478. package/dist/agent/channels/access-request-ledger.d.ts.map +1 -0
  1479. package/dist/agent/channels/access-request-ledger.js +123 -0
  1480. package/dist/agent/channels/access-request-ledger.js.map +1 -0
  1481. package/dist/agent/channels/ambient-skip.d.ts +19 -0
  1482. package/dist/agent/channels/ambient-skip.d.ts.map +1 -0
  1483. package/dist/agent/channels/ambient-skip.js +88 -0
  1484. package/dist/agent/channels/ambient-skip.js.map +1 -0
  1485. package/dist/agent/channels/answered-container-ledger.d.ts +32 -0
  1486. package/dist/agent/channels/answered-container-ledger.d.ts.map +1 -0
  1487. package/dist/agent/channels/answered-container-ledger.js +70 -0
  1488. package/dist/agent/channels/answered-container-ledger.js.map +1 -0
  1489. package/dist/agent/channels/approval-card.d.ts +266 -0
  1490. package/dist/agent/channels/approval-card.d.ts.map +1 -0
  1491. package/dist/agent/channels/approval-card.js +328 -0
  1492. package/dist/agent/channels/approval-card.js.map +1 -0
  1493. package/dist/agent/channels/approval-claim-guard.d.ts +112 -0
  1494. package/dist/agent/channels/approval-claim-guard.d.ts.map +1 -0
  1495. package/dist/agent/channels/approval-claim-guard.js +324 -0
  1496. package/dist/agent/channels/approval-claim-guard.js.map +1 -0
  1497. package/dist/agent/channels/attachments.d.ts +113 -0
  1498. package/dist/agent/channels/attachments.d.ts.map +1 -0
  1499. package/dist/agent/channels/attachments.js +157 -0
  1500. package/dist/agent/channels/attachments.js.map +1 -0
  1501. package/dist/agent/channels/aws-sso-callback.d.ts +3 -0
  1502. package/dist/agent/channels/aws-sso-callback.d.ts.map +1 -0
  1503. package/dist/agent/channels/aws-sso-callback.js +8 -0
  1504. package/dist/agent/channels/aws-sso-callback.js.map +1 -0
  1505. package/dist/agent/channels/backscroll-window.d.ts +76 -0
  1506. package/dist/agent/channels/backscroll-window.d.ts.map +1 -0
  1507. package/dist/agent/channels/backscroll-window.js +106 -0
  1508. package/dist/agent/channels/backscroll-window.js.map +1 -0
  1509. package/dist/agent/channels/cancel-note.d.ts +45 -0
  1510. package/dist/agent/channels/cancel-note.d.ts.map +1 -0
  1511. package/dist/agent/channels/cancel-note.js +99 -0
  1512. package/dist/agent/channels/cancel-note.js.map +1 -0
  1513. package/dist/agent/channels/channel-key.d.ts +19 -0
  1514. package/dist/agent/channels/channel-key.d.ts.map +1 -0
  1515. package/dist/agent/channels/channel-key.js +53 -0
  1516. package/dist/agent/channels/channel-key.js.map +1 -0
  1517. package/dist/agent/channels/channel-read.d.ts +203 -0
  1518. package/dist/agent/channels/channel-read.d.ts.map +1 -0
  1519. package/dist/agent/channels/channel-read.js +294 -0
  1520. package/dist/agent/channels/channel-read.js.map +1 -0
  1521. package/dist/agent/channels/chat-turn-audit.d.ts +9 -0
  1522. package/dist/agent/channels/chat-turn-audit.d.ts.map +1 -0
  1523. package/dist/agent/channels/chat-turn-audit.js +18 -0
  1524. package/dist/agent/channels/chat-turn-audit.js.map +1 -0
  1525. package/dist/agent/channels/closing-prose-drop.d.ts +34 -0
  1526. package/dist/agent/channels/closing-prose-drop.d.ts.map +1 -0
  1527. package/dist/agent/channels/closing-prose-drop.js +29 -0
  1528. package/dist/agent/channels/closing-prose-drop.js.map +1 -0
  1529. package/dist/agent/channels/command-registration.d.ts +62 -0
  1530. package/dist/agent/channels/command-registration.d.ts.map +1 -0
  1531. package/dist/agent/channels/command-registration.js +128 -0
  1532. package/dist/agent/channels/command-registration.js.map +1 -0
  1533. package/dist/agent/channels/context-render.d.ts +111 -0
  1534. package/dist/agent/channels/context-render.d.ts.map +1 -0
  1535. package/dist/agent/channels/context-render.js +148 -0
  1536. package/dist/agent/channels/context-render.js.map +1 -0
  1537. package/dist/agent/channels/control-mcp.d.ts +3 -0
  1538. package/dist/agent/channels/control-mcp.d.ts.map +1 -0
  1539. package/dist/agent/channels/control-mcp.js +35 -0
  1540. package/dist/agent/channels/control-mcp.js.map +1 -0
  1541. package/dist/agent/channels/control-read.d.ts +3 -0
  1542. package/dist/agent/channels/control-read.d.ts.map +1 -0
  1543. package/dist/agent/channels/control-read.js +21 -0
  1544. package/dist/agent/channels/control-read.js.map +1 -0
  1545. package/dist/agent/channels/credential-intake-page.d.ts +3 -0
  1546. package/dist/agent/channels/credential-intake-page.d.ts.map +1 -0
  1547. package/dist/agent/channels/credential-intake-page.js +11 -0
  1548. package/dist/agent/channels/credential-intake-page.js.map +1 -0
  1549. package/dist/agent/channels/delegated-provenance.d.ts +129 -0
  1550. package/dist/agent/channels/delegated-provenance.d.ts.map +1 -0
  1551. package/dist/agent/channels/delegated-provenance.js +418 -0
  1552. package/dist/agent/channels/delegated-provenance.js.map +1 -0
  1553. package/dist/agent/channels/dm-audience.d.ts +157 -0
  1554. package/dist/agent/channels/dm-audience.d.ts.map +1 -0
  1555. package/dist/agent/channels/dm-audience.js +234 -0
  1556. package/dist/agent/channels/dm-audience.js.map +1 -0
  1557. package/dist/agent/channels/dm-seat.d.ts +68 -0
  1558. package/dist/agent/channels/dm-seat.d.ts.map +1 -0
  1559. package/dist/agent/channels/dm-seat.js +87 -0
  1560. package/dist/agent/channels/dm-seat.js.map +1 -0
  1561. package/dist/agent/channels/domain-fingerprint.d.ts +40 -0
  1562. package/dist/agent/channels/domain-fingerprint.d.ts.map +1 -0
  1563. package/dist/agent/channels/domain-fingerprint.js +94 -0
  1564. package/dist/agent/channels/domain-fingerprint.js.map +1 -0
  1565. package/dist/agent/channels/egress-spoof.d.ts +11 -0
  1566. package/dist/agent/channels/egress-spoof.d.ts.map +1 -0
  1567. package/dist/agent/channels/egress-spoof.js +36 -0
  1568. package/dist/agent/channels/egress-spoof.js.map +1 -0
  1569. package/dist/agent/channels/engaged-wake.d.ts +86 -0
  1570. package/dist/agent/channels/engaged-wake.d.ts.map +1 -0
  1571. package/dist/agent/channels/engaged-wake.js +146 -0
  1572. package/dist/agent/channels/engaged-wake.js.map +1 -0
  1573. package/dist/agent/channels/engagement.d.ts +132 -0
  1574. package/dist/agent/channels/engagement.d.ts.map +1 -0
  1575. package/dist/agent/channels/engagement.js +182 -0
  1576. package/dist/agent/channels/engagement.js.map +1 -0
  1577. package/dist/agent/channels/entity-actions.d.ts +80 -0
  1578. package/dist/agent/channels/entity-actions.d.ts.map +1 -0
  1579. package/dist/agent/channels/entity-actions.js +94 -0
  1580. package/dist/agent/channels/entity-actions.js.map +1 -0
  1581. package/dist/agent/channels/front-queue.d.ts +31 -0
  1582. package/dist/agent/channels/front-queue.d.ts.map +1 -0
  1583. package/dist/agent/channels/front-queue.js +86 -0
  1584. package/dist/agent/channels/front-queue.js.map +1 -0
  1585. package/dist/agent/channels/generation-retirement.d.ts +189 -0
  1586. package/dist/agent/channels/generation-retirement.d.ts.map +1 -0
  1587. package/dist/agent/channels/generation-retirement.js +473 -0
  1588. package/dist/agent/channels/generation-retirement.js.map +1 -0
  1589. package/dist/agent/channels/halt-per-wake.d.ts +53 -0
  1590. package/dist/agent/channels/halt-per-wake.d.ts.map +1 -0
  1591. package/dist/agent/channels/halt-per-wake.js +148 -0
  1592. package/dist/agent/channels/halt-per-wake.js.map +1 -0
  1593. package/dist/agent/channels/memory-claim-guard.d.ts +77 -0
  1594. package/dist/agent/channels/memory-claim-guard.d.ts.map +1 -0
  1595. package/dist/agent/channels/memory-claim-guard.js +389 -0
  1596. package/dist/agent/channels/memory-claim-guard.js.map +1 -0
  1597. package/dist/agent/channels/name-drop-wake-audit.d.ts +93 -0
  1598. package/dist/agent/channels/name-drop-wake-audit.d.ts.map +1 -0
  1599. package/dist/agent/channels/name-drop-wake-audit.js +92 -0
  1600. package/dist/agent/channels/name-drop-wake-audit.js.map +1 -0
  1601. package/dist/agent/channels/native-wake-retry.d.ts +16 -0
  1602. package/dist/agent/channels/native-wake-retry.d.ts.map +1 -0
  1603. package/dist/agent/channels/native-wake-retry.js +44 -0
  1604. package/dist/agent/channels/native-wake-retry.js.map +1 -0
  1605. package/dist/agent/channels/no-reply-signal.d.ts +12 -0
  1606. package/dist/agent/channels/no-reply-signal.d.ts.map +1 -0
  1607. package/dist/agent/channels/no-reply-signal.js +37 -0
  1608. package/dist/agent/channels/no-reply-signal.js.map +1 -0
  1609. package/dist/agent/channels/normalized-wake.d.ts +129 -0
  1610. package/dist/agent/channels/normalized-wake.d.ts.map +1 -0
  1611. package/dist/agent/channels/normalized-wake.js +153 -0
  1612. package/dist/agent/channels/normalized-wake.js.map +1 -0
  1613. package/dist/agent/channels/oe-oauth-callback.d.ts +3 -0
  1614. package/dist/agent/channels/oe-oauth-callback.d.ts.map +1 -0
  1615. package/dist/agent/channels/oe-oauth-callback.js +8 -0
  1616. package/dist/agent/channels/oe-oauth-callback.js.map +1 -0
  1617. package/dist/agent/channels/own-post-ledger.d.ts +35 -0
  1618. package/dist/agent/channels/own-post-ledger.d.ts.map +1 -0
  1619. package/dist/agent/channels/own-post-ledger.js +57 -0
  1620. package/dist/agent/channels/own-post-ledger.js.map +1 -0
  1621. package/dist/agent/channels/platform-failure.d.ts +20 -0
  1622. package/dist/agent/channels/platform-failure.d.ts.map +1 -0
  1623. package/dist/agent/channels/platform-failure.js +42 -0
  1624. package/dist/agent/channels/platform-failure.js.map +1 -0
  1625. package/dist/agent/channels/policy-pages.d.ts +3 -0
  1626. package/dist/agent/channels/policy-pages.d.ts.map +1 -0
  1627. package/dist/agent/channels/policy-pages.js +14 -0
  1628. package/dist/agent/channels/policy-pages.js.map +1 -0
  1629. package/dist/agent/channels/post-arms.d.ts +202 -0
  1630. package/dist/agent/channels/post-arms.d.ts.map +1 -0
  1631. package/dist/agent/channels/post-arms.js +146 -0
  1632. package/dist/agent/channels/post-arms.js.map +1 -0
  1633. package/dist/agent/channels/proactive-dm-manifest.d.ts +28 -0
  1634. package/dist/agent/channels/proactive-dm-manifest.d.ts.map +1 -0
  1635. package/dist/agent/channels/proactive-dm-manifest.js +80 -0
  1636. package/dist/agent/channels/proactive-dm-manifest.js.map +1 -0
  1637. package/dist/agent/channels/propose-scope.d.ts +18 -0
  1638. package/dist/agent/channels/propose-scope.d.ts.map +1 -0
  1639. package/dist/agent/channels/propose-scope.js +91 -0
  1640. package/dist/agent/channels/propose-scope.js.map +1 -0
  1641. package/dist/agent/channels/question-bridge.d.ts +291 -0
  1642. package/dist/agent/channels/question-bridge.d.ts.map +1 -0
  1643. package/dist/agent/channels/question-bridge.js +412 -0
  1644. package/dist/agent/channels/question-bridge.js.map +1 -0
  1645. package/dist/agent/channels/rate-limit-retry.d.ts +157 -0
  1646. package/dist/agent/channels/rate-limit-retry.d.ts.map +1 -0
  1647. package/dist/agent/channels/rate-limit-retry.js +256 -0
  1648. package/dist/agent/channels/rate-limit-retry.js.map +1 -0
  1649. package/dist/agent/channels/react-signal.d.ts +5 -0
  1650. package/dist/agent/channels/react-signal.d.ts.map +1 -0
  1651. package/dist/agent/channels/react-signal.js +25 -0
  1652. package/dist/agent/channels/react-signal.js.map +1 -0
  1653. package/dist/agent/channels/reaction-ingest.d.ts +87 -0
  1654. package/dist/agent/channels/reaction-ingest.d.ts.map +1 -0
  1655. package/dist/agent/channels/reaction-ingest.js +138 -0
  1656. package/dist/agent/channels/reaction-ingest.js.map +1 -0
  1657. package/dist/agent/channels/read-author-trust.d.ts +26 -0
  1658. package/dist/agent/channels/read-author-trust.d.ts.map +1 -0
  1659. package/dist/agent/channels/read-author-trust.js +56 -0
  1660. package/dist/agent/channels/read-author-trust.js.map +1 -0
  1661. package/dist/agent/channels/read-reach.d.ts +156 -0
  1662. package/dist/agent/channels/read-reach.d.ts.map +1 -0
  1663. package/dist/agent/channels/read-reach.js +293 -0
  1664. package/dist/agent/channels/read-reach.js.map +1 -0
  1665. package/dist/agent/channels/read-scope-audit.d.ts +39 -0
  1666. package/dist/agent/channels/read-scope-audit.d.ts.map +1 -0
  1667. package/dist/agent/channels/read-scope-audit.js +88 -0
  1668. package/dist/agent/channels/read-scope-audit.js.map +1 -0
  1669. package/dist/agent/channels/read-scope-error.d.ts +4 -0
  1670. package/dist/agent/channels/read-scope-error.d.ts.map +1 -0
  1671. package/dist/agent/channels/read-scope-error.js +6 -0
  1672. package/dist/agent/channels/read-scope-error.js.map +1 -0
  1673. package/dist/agent/channels/read-spool.d.ts +38 -0
  1674. package/dist/agent/channels/read-spool.d.ts.map +1 -0
  1675. package/dist/agent/channels/read-spool.js +97 -0
  1676. package/dist/agent/channels/read-spool.js.map +1 -0
  1677. package/dist/agent/channels/reply-edit.d.ts +47 -0
  1678. package/dist/agent/channels/reply-edit.d.ts.map +1 -0
  1679. package/dist/agent/channels/reply-edit.js +173 -0
  1680. package/dist/agent/channels/reply-edit.js.map +1 -0
  1681. package/dist/agent/channels/reply-fold.d.ts +186 -0
  1682. package/dist/agent/channels/reply-fold.d.ts.map +1 -0
  1683. package/dist/agent/channels/reply-fold.js +427 -0
  1684. package/dist/agent/channels/reply-fold.js.map +1 -0
  1685. package/dist/agent/channels/reply-freshness.d.ts +69 -0
  1686. package/dist/agent/channels/reply-freshness.d.ts.map +1 -0
  1687. package/dist/agent/channels/reply-freshness.js +208 -0
  1688. package/dist/agent/channels/reply-freshness.js.map +1 -0
  1689. package/dist/agent/channels/reply-post.d.ts +176 -0
  1690. package/dist/agent/channels/reply-post.d.ts.map +1 -0
  1691. package/dist/agent/channels/reply-post.js +407 -0
  1692. package/dist/agent/channels/reply-post.js.map +1 -0
  1693. package/dist/agent/channels/reply-provenance.d.ts +172 -0
  1694. package/dist/agent/channels/reply-provenance.d.ts.map +1 -0
  1695. package/dist/agent/channels/reply-provenance.js +662 -0
  1696. package/dist/agent/channels/reply-provenance.js.map +1 -0
  1697. package/dist/agent/channels/reply-signal.d.ts +141 -0
  1698. package/dist/agent/channels/reply-signal.d.ts.map +1 -0
  1699. package/dist/agent/channels/reply-signal.js +554 -0
  1700. package/dist/agent/channels/reply-signal.js.map +1 -0
  1701. package/dist/agent/channels/request-claim-guard.d.ts +91 -0
  1702. package/dist/agent/channels/request-claim-guard.d.ts.map +1 -0
  1703. package/dist/agent/channels/request-claim-guard.js +457 -0
  1704. package/dist/agent/channels/request-claim-guard.js.map +1 -0
  1705. package/dist/agent/channels/runtime-code-fingerprint.generated.d.ts +2 -0
  1706. package/dist/agent/channels/runtime-code-fingerprint.generated.d.ts.map +1 -0
  1707. package/dist/agent/channels/runtime-code-fingerprint.generated.js +9 -0
  1708. package/dist/agent/channels/runtime-code-fingerprint.generated.js.map +1 -0
  1709. package/dist/agent/channels/runtime-rotation.d.ts +98 -0
  1710. package/dist/agent/channels/runtime-rotation.d.ts.map +1 -0
  1711. package/dist/agent/channels/runtime-rotation.js +178 -0
  1712. package/dist/agent/channels/runtime-rotation.js.map +1 -0
  1713. package/dist/agent/channels/seat-admission.d.ts +61 -0
  1714. package/dist/agent/channels/seat-admission.d.ts.map +1 -0
  1715. package/dist/agent/channels/seat-admission.js +64 -0
  1716. package/dist/agent/channels/seat-admission.js.map +1 -0
  1717. package/dist/agent/channels/seat-catch-up.d.ts +240 -0
  1718. package/dist/agent/channels/seat-catch-up.d.ts.map +1 -0
  1719. package/dist/agent/channels/seat-catch-up.js +353 -0
  1720. package/dist/agent/channels/seat-catch-up.js.map +1 -0
  1721. package/dist/agent/channels/self-dispatch.d.ts +89 -0
  1722. package/dist/agent/channels/self-dispatch.d.ts.map +1 -0
  1723. package/dist/agent/channels/self-dispatch.js +310 -0
  1724. package/dist/agent/channels/self-dispatch.js.map +1 -0
  1725. package/dist/agent/channels/session-park.d.ts +120 -0
  1726. package/dist/agent/channels/session-park.d.ts.map +1 -0
  1727. package/dist/agent/channels/session-park.js +170 -0
  1728. package/dist/agent/channels/session-park.js.map +1 -0
  1729. package/dist/agent/channels/session-resume.d.ts +26 -0
  1730. package/dist/agent/channels/session-resume.d.ts.map +1 -0
  1731. package/dist/agent/channels/session-resume.js +34 -0
  1732. package/dist/agent/channels/session-resume.js.map +1 -0
  1733. package/dist/agent/channels/session-tail-record.d.ts +65 -0
  1734. package/dist/agent/channels/session-tail-record.d.ts.map +1 -0
  1735. package/dist/agent/channels/session-tail-record.js +129 -0
  1736. package/dist/agent/channels/session-tail-record.js.map +1 -0
  1737. package/dist/agent/channels/session-tail.d.ts +90 -0
  1738. package/dist/agent/channels/session-tail.d.ts.map +1 -0
  1739. package/dist/agent/channels/session-tail.js +79 -0
  1740. package/dist/agent/channels/session-tail.js.map +1 -0
  1741. package/dist/agent/channels/slack-bridge.d.ts +56 -0
  1742. package/dist/agent/channels/slack-bridge.d.ts.map +1 -0
  1743. package/dist/agent/channels/slack-bridge.js +80 -0
  1744. package/dist/agent/channels/slack-bridge.js.map +1 -0
  1745. package/dist/agent/channels/stand-down-silence.d.ts +49 -0
  1746. package/dist/agent/channels/stand-down-silence.d.ts.map +1 -0
  1747. package/dist/agent/channels/stand-down-silence.js +101 -0
  1748. package/dist/agent/channels/stand-down-silence.js.map +1 -0
  1749. package/dist/agent/channels/standing-authority.d.ts +69 -0
  1750. package/dist/agent/channels/standing-authority.d.ts.map +1 -0
  1751. package/dist/agent/channels/standing-authority.js +205 -0
  1752. package/dist/agent/channels/standing-authority.js.map +1 -0
  1753. package/dist/agent/channels/stranded-seat.d.ts +73 -0
  1754. package/dist/agent/channels/stranded-seat.d.ts.map +1 -0
  1755. package/dist/agent/channels/stranded-seat.js +107 -0
  1756. package/dist/agent/channels/stranded-seat.js.map +1 -0
  1757. package/dist/agent/channels/supervisor-complete.d.ts +61 -0
  1758. package/dist/agent/channels/supervisor-complete.d.ts.map +1 -0
  1759. package/dist/agent/channels/supervisor-complete.js +86 -0
  1760. package/dist/agent/channels/supervisor-complete.js.map +1 -0
  1761. package/dist/agent/channels/surface-message-ops.d.ts +100 -0
  1762. package/dist/agent/channels/surface-message-ops.d.ts.map +1 -0
  1763. package/dist/agent/channels/surface-message-ops.js +156 -0
  1764. package/dist/agent/channels/surface-message-ops.js.map +1 -0
  1765. package/dist/agent/channels/task-wake.d.ts +116 -0
  1766. package/dist/agent/channels/task-wake.d.ts.map +1 -0
  1767. package/dist/agent/channels/task-wake.js +390 -0
  1768. package/dist/agent/channels/task-wake.js.map +1 -0
  1769. package/dist/agent/channels/teams-bridge.d.ts +55 -0
  1770. package/dist/agent/channels/teams-bridge.d.ts.map +1 -0
  1771. package/dist/agent/channels/teams-bridge.js +25 -0
  1772. package/dist/agent/channels/teams-bridge.js.map +1 -0
  1773. package/dist/agent/channels/test-wake.d.ts +3 -0
  1774. package/dist/agent/channels/test-wake.d.ts.map +1 -0
  1775. package/dist/agent/channels/test-wake.js +11 -0
  1776. package/dist/agent/channels/test-wake.js.map +1 -0
  1777. package/dist/agent/channels/thread-ownership.d.ts +38 -0
  1778. package/dist/agent/channels/thread-ownership.d.ts.map +1 -0
  1779. package/dist/agent/channels/thread-ownership.js +53 -0
  1780. package/dist/agent/channels/thread-ownership.js.map +1 -0
  1781. package/dist/agent/channels/thread-seat-state.d.ts +35 -0
  1782. package/dist/agent/channels/thread-seat-state.d.ts.map +1 -0
  1783. package/dist/agent/channels/thread-seat-state.js +64 -0
  1784. package/dist/agent/channels/thread-seat-state.js.map +1 -0
  1785. package/dist/agent/channels/ticket-create.d.ts +77 -0
  1786. package/dist/agent/channels/ticket-create.d.ts.map +1 -0
  1787. package/dist/agent/channels/ticket-create.js +83 -0
  1788. package/dist/agent/channels/ticket-create.js.map +1 -0
  1789. package/dist/agent/channels/transcript-relay.d.ts +3 -0
  1790. package/dist/agent/channels/transcript-relay.d.ts.map +1 -0
  1791. package/dist/agent/channels/transcript-relay.js +8 -0
  1792. package/dist/agent/channels/transcript-relay.js.map +1 -0
  1793. package/dist/agent/channels/turn-cancel.d.ts +188 -0
  1794. package/dist/agent/channels/turn-cancel.d.ts.map +1 -0
  1795. package/dist/agent/channels/turn-cancel.js +310 -0
  1796. package/dist/agent/channels/turn-cancel.js.map +1 -0
  1797. package/dist/agent/channels/turn-delivery.d.ts +213 -0
  1798. package/dist/agent/channels/turn-delivery.d.ts.map +1 -0
  1799. package/dist/agent/channels/turn-delivery.js +384 -0
  1800. package/dist/agent/channels/turn-delivery.js.map +1 -0
  1801. package/dist/agent/channels/turn-registry.d.ts +47 -0
  1802. package/dist/agent/channels/turn-registry.d.ts.map +1 -0
  1803. package/dist/agent/channels/turn-registry.js +93 -0
  1804. package/dist/agent/channels/turn-registry.js.map +1 -0
  1805. package/dist/agent/channels/turn-terminal-actions.d.ts +22 -0
  1806. package/dist/agent/channels/turn-terminal-actions.d.ts.map +1 -0
  1807. package/dist/agent/channels/turn-terminal-actions.js +128 -0
  1808. package/dist/agent/channels/turn-terminal-actions.js.map +1 -0
  1809. package/dist/agent/channels/unified-redrive.d.ts +74 -0
  1810. package/dist/agent/channels/unified-redrive.d.ts.map +1 -0
  1811. package/dist/agent/channels/unified-redrive.js +141 -0
  1812. package/dist/agent/channels/unified-redrive.js.map +1 -0
  1813. package/dist/agent/channels/unified-reply.d.ts +102 -0
  1814. package/dist/agent/channels/unified-reply.d.ts.map +1 -0
  1815. package/dist/agent/channels/unified-reply.js +247 -0
  1816. package/dist/agent/channels/unified-reply.js.map +1 -0
  1817. package/dist/agent/channels/unified-supervisor.d.ts +100 -0
  1818. package/dist/agent/channels/unified-supervisor.d.ts.map +1 -0
  1819. package/dist/agent/channels/unified-supervisor.js +143 -0
  1820. package/dist/agent/channels/unified-supervisor.js.map +1 -0
  1821. package/dist/agent/channels/unified-window.d.ts +550 -0
  1822. package/dist/agent/channels/unified-window.d.ts.map +1 -0
  1823. package/dist/agent/channels/unified-window.js +731 -0
  1824. package/dist/agent/channels/unified-window.js.map +1 -0
  1825. package/dist/agent/channels/unified.d.ts +251 -0
  1826. package/dist/agent/channels/unified.d.ts.map +1 -0
  1827. package/dist/agent/channels/unified.js +1333 -0
  1828. package/dist/agent/channels/unified.js.map +1 -0
  1829. package/dist/agent/channels/wake-accounting.d.ts +57 -0
  1830. package/dist/agent/channels/wake-accounting.d.ts.map +1 -0
  1831. package/dist/agent/channels/wake-accounting.js +87 -0
  1832. package/dist/agent/channels/wake-accounting.js.map +1 -0
  1833. package/dist/agent/channels/wake-arm.d.ts +80 -0
  1834. package/dist/agent/channels/wake-arm.d.ts.map +1 -0
  1835. package/dist/agent/channels/wake-arm.js +173 -0
  1836. package/dist/agent/channels/wake-arm.js.map +1 -0
  1837. package/dist/agent/channels/wake-container.d.ts +27 -0
  1838. package/dist/agent/channels/wake-container.d.ts.map +1 -0
  1839. package/dist/agent/channels/wake-container.js +33 -0
  1840. package/dist/agent/channels/wake-container.js.map +1 -0
  1841. package/dist/agent/channels/wake-envelope.d.ts +252 -0
  1842. package/dist/agent/channels/wake-envelope.d.ts.map +1 -0
  1843. package/dist/agent/channels/wake-envelope.js +364 -0
  1844. package/dist/agent/channels/wake-envelope.js.map +1 -0
  1845. package/dist/agent/channels/wake-origin-codec.d.ts +77 -0
  1846. package/dist/agent/channels/wake-origin-codec.d.ts.map +1 -0
  1847. package/dist/agent/channels/wake-origin-codec.js +21 -0
  1848. package/dist/agent/channels/wake-origin-codec.js.map +1 -0
  1849. package/dist/agent/channels/wake-origin-codecs.d.ts +2 -0
  1850. package/dist/agent/channels/wake-origin-codecs.d.ts.map +1 -0
  1851. package/dist/agent/channels/wake-origin-codecs.js +4 -0
  1852. package/dist/agent/channels/wake-origin-codecs.js.map +1 -0
  1853. package/dist/agent/channels/wake-timing.d.ts +230 -0
  1854. package/dist/agent/channels/wake-timing.d.ts.map +1 -0
  1855. package/dist/agent/channels/wake-timing.js +256 -0
  1856. package/dist/agent/channels/wake-timing.js.map +1 -0
  1857. package/dist/agent/channels/webhook-reveal-page.d.ts +3 -0
  1858. package/dist/agent/channels/webhook-reveal-page.d.ts.map +1 -0
  1859. package/dist/agent/channels/webhook-reveal-page.js +11 -0
  1860. package/dist/agent/channels/webhook-reveal-page.js.map +1 -0
  1861. package/dist/agent/channels/webhooks.d.ts +5 -0
  1862. package/dist/agent/channels/webhooks.d.ts.map +1 -0
  1863. package/dist/agent/channels/webhooks.js +197 -0
  1864. package/dist/agent/channels/webhooks.js.map +1 -0
  1865. package/dist/agent/channels/window-key.d.ts +187 -0
  1866. package/dist/agent/channels/window-key.d.ts.map +1 -0
  1867. package/dist/agent/channels/window-key.js +379 -0
  1868. package/dist/agent/channels/window-key.js.map +1 -0
  1869. package/dist/agent/channels/window-sources.d.ts +17 -0
  1870. package/dist/agent/channels/window-sources.d.ts.map +1 -0
  1871. package/dist/agent/channels/window-sources.js +86 -0
  1872. package/dist/agent/channels/window-sources.js.map +1 -0
  1873. package/dist/agent/channels/work-destinations.d.ts +8 -0
  1874. package/dist/agent/channels/work-destinations.d.ts.map +1 -0
  1875. package/dist/agent/channels/work-destinations.js +45 -0
  1876. package/dist/agent/channels/work-destinations.js.map +1 -0
  1877. package/dist/agent/channels/work-registry.d.ts +13 -0
  1878. package/dist/agent/channels/work-registry.d.ts.map +1 -0
  1879. package/dist/agent/channels/work-registry.js +23 -0
  1880. package/dist/agent/channels/work-registry.js.map +1 -0
  1881. package/dist/agent/channels/work-search.d.ts +52 -0
  1882. package/dist/agent/channels/work-search.d.ts.map +1 -0
  1883. package/dist/agent/channels/work-search.js +54 -0
  1884. package/dist/agent/channels/work-search.js.map +1 -0
  1885. package/dist/agent/commands/core.d.ts +184 -0
  1886. package/dist/agent/commands/core.d.ts.map +1 -0
  1887. package/dist/agent/commands/core.js +541 -0
  1888. package/dist/agent/commands/core.js.map +1 -0
  1889. package/dist/agent/commands/rate.d.ts +55 -0
  1890. package/dist/agent/commands/rate.d.ts.map +1 -0
  1891. package/dist/agent/commands/rate.js +146 -0
  1892. package/dist/agent/commands/rate.js.map +1 -0
  1893. package/dist/agent/connections/auth-retry-memo.d.ts +28 -0
  1894. package/dist/agent/connections/auth-retry-memo.d.ts.map +1 -0
  1895. package/dist/agent/connections/auth-retry-memo.js +109 -0
  1896. package/dist/agent/connections/auth-retry-memo.js.map +1 -0
  1897. package/dist/agent/connections/aws-exec.d.ts +27 -0
  1898. package/dist/agent/connections/aws-exec.d.ts.map +1 -0
  1899. package/dist/agent/connections/aws-exec.js +22 -0
  1900. package/dist/agent/connections/aws-exec.js.map +1 -0
  1901. package/dist/agent/connections/aws-identity.d.ts +138 -0
  1902. package/dist/agent/connections/aws-identity.d.ts.map +1 -0
  1903. package/dist/agent/connections/aws-identity.js +163 -0
  1904. package/dist/agent/connections/aws-identity.js.map +1 -0
  1905. package/dist/agent/connections/aws-sso-callback.d.ts +33 -0
  1906. package/dist/agent/connections/aws-sso-callback.d.ts.map +1 -0
  1907. package/dist/agent/connections/aws-sso-callback.js +68 -0
  1908. package/dist/agent/connections/aws-sso-callback.js.map +1 -0
  1909. package/dist/agent/connections/aws-sso-identity-binding.d.ts +30 -0
  1910. package/dist/agent/connections/aws-sso-identity-binding.d.ts.map +1 -0
  1911. package/dist/agent/connections/aws-sso-identity-binding.js +95 -0
  1912. package/dist/agent/connections/aws-sso-identity-binding.js.map +1 -0
  1913. package/dist/agent/connections/aws-sso-link.d.ts +18 -0
  1914. package/dist/agent/connections/aws-sso-link.d.ts.map +1 -0
  1915. package/dist/agent/connections/aws-sso-link.js +22 -0
  1916. package/dist/agent/connections/aws-sso-link.js.map +1 -0
  1917. package/dist/agent/connections/connector-auth.d.ts +216 -0
  1918. package/dist/agent/connections/connector-auth.d.ts.map +1 -0
  1919. package/dist/agent/connections/connector-auth.js +745 -0
  1920. package/dist/agent/connections/connector-auth.js.map +1 -0
  1921. package/dist/agent/connections/connector-card.d.ts +61 -0
  1922. package/dist/agent/connections/connector-card.d.ts.map +1 -0
  1923. package/dist/agent/connections/connector-card.js +361 -0
  1924. package/dist/agent/connections/connector-card.js.map +1 -0
  1925. package/dist/agent/connections/connector-flags.d.ts +22 -0
  1926. package/dist/agent/connections/connector-flags.d.ts.map +1 -0
  1927. package/dist/agent/connections/connector-flags.js +40 -0
  1928. package/dist/agent/connections/connector-flags.js.map +1 -0
  1929. package/dist/agent/connections/connector-offer.d.ts +122 -0
  1930. package/dist/agent/connections/connector-offer.d.ts.map +1 -0
  1931. package/dist/agent/connections/connector-offer.js +145 -0
  1932. package/dist/agent/connections/connector-offer.js.map +1 -0
  1933. package/dist/agent/connections/connector-transport.d.ts +55 -0
  1934. package/dist/agent/connections/connector-transport.d.ts.map +1 -0
  1935. package/dist/agent/connections/connector-transport.js +80 -0
  1936. package/dist/agent/connections/connector-transport.js.map +1 -0
  1937. package/dist/agent/connections/consent-resume.d.ts +81 -0
  1938. package/dist/agent/connections/consent-resume.d.ts.map +1 -0
  1939. package/dist/agent/connections/consent-resume.js +142 -0
  1940. package/dist/agent/connections/consent-resume.js.map +1 -0
  1941. package/dist/agent/connections/grant-mcp-borrow.d.ts +116 -0
  1942. package/dist/agent/connections/grant-mcp-borrow.d.ts.map +1 -0
  1943. package/dist/agent/connections/grant-mcp-borrow.js +256 -0
  1944. package/dist/agent/connections/grant-mcp-borrow.js.map +1 -0
  1945. package/dist/agent/connections/grant-mcp-transport.d.ts +13 -0
  1946. package/dist/agent/connections/grant-mcp-transport.d.ts.map +1 -0
  1947. package/dist/agent/connections/grant-mcp-transport.js +50 -0
  1948. package/dist/agent/connections/grant-mcp-transport.js.map +1 -0
  1949. package/dist/agent/connections/notion.d.ts +3 -0
  1950. package/dist/agent/connections/notion.d.ts.map +1 -0
  1951. package/dist/agent/connections/notion.js +35 -0
  1952. package/dist/agent/connections/notion.js.map +1 -0
  1953. package/dist/agent/connections/oe-oauth-callback.d.ts +61 -0
  1954. package/dist/agent/connections/oe-oauth-callback.d.ts.map +1 -0
  1955. package/dist/agent/connections/oe-oauth-callback.js +142 -0
  1956. package/dist/agent/connections/oe-oauth-callback.js.map +1 -0
  1957. package/dist/agent/connections/own-account-ask.d.ts +120 -0
  1958. package/dist/agent/connections/own-account-ask.d.ts.map +1 -0
  1959. package/dist/agent/connections/own-account-ask.js +204 -0
  1960. package/dist/agent/connections/own-account-ask.js.map +1 -0
  1961. package/dist/agent/connections/own-account-carriage.d.ts +33 -0
  1962. package/dist/agent/connections/own-account-carriage.d.ts.map +1 -0
  1963. package/dist/agent/connections/own-account-carriage.js +102 -0
  1964. package/dist/agent/connections/own-account-carriage.js.map +1 -0
  1965. package/dist/agent/connections/own-account-gate.d.ts +105 -0
  1966. package/dist/agent/connections/own-account-gate.d.ts.map +1 -0
  1967. package/dist/agent/connections/own-account-gate.js +305 -0
  1968. package/dist/agent/connections/own-account-gate.js.map +1 -0
  1969. package/dist/agent/connections/own-account-vendors.d.ts +40 -0
  1970. package/dist/agent/connections/own-account-vendors.d.ts.map +1 -0
  1971. package/dist/agent/connections/own-account-vendors.js +106 -0
  1972. package/dist/agent/connections/own-account-vendors.js.map +1 -0
  1973. package/dist/agent/connections/user-auth-flow.d.ts +78 -0
  1974. package/dist/agent/connections/user-auth-flow.d.ts.map +1 -0
  1975. package/dist/agent/connections/user-auth-flow.js +41 -0
  1976. package/dist/agent/connections/user-auth-flow.js.map +1 -0
  1977. package/dist/agent/contributions.d.ts +671 -0
  1978. package/dist/agent/contributions.d.ts.map +1 -0
  1979. package/dist/agent/contributions.js +192 -0
  1980. package/dist/agent/contributions.js.map +1 -0
  1981. package/dist/agent/control/auth.d.ts +291 -0
  1982. package/dist/agent/control/auth.d.ts.map +1 -0
  1983. package/dist/agent/control/auth.js +533 -0
  1984. package/dist/agent/control/auth.js.map +1 -0
  1985. package/dist/agent/control/capture-window-read.d.ts +115 -0
  1986. package/dist/agent/control/capture-window-read.d.ts.map +1 -0
  1987. package/dist/agent/control/capture-window-read.js +302 -0
  1988. package/dist/agent/control/capture-window-read.js.map +1 -0
  1989. package/dist/agent/control/delivery-history.d.ts +163 -0
  1990. package/dist/agent/control/delivery-history.d.ts.map +1 -0
  1991. package/dist/agent/control/delivery-history.js +397 -0
  1992. package/dist/agent/control/delivery-history.js.map +1 -0
  1993. package/dist/agent/control/http.d.ts +13 -0
  1994. package/dist/agent/control/http.d.ts.map +1 -0
  1995. package/dist/agent/control/http.js +131 -0
  1996. package/dist/agent/control/http.js.map +1 -0
  1997. package/dist/agent/control/mcp-route.d.ts +13 -0
  1998. package/dist/agent/control/mcp-route.d.ts.map +1 -0
  1999. package/dist/agent/control/mcp-route.js +100 -0
  2000. package/dist/agent/control/mcp-route.js.map +1 -0
  2001. package/dist/agent/control/oauth-clients.d.ts +145 -0
  2002. package/dist/agent/control/oauth-clients.d.ts.map +1 -0
  2003. package/dist/agent/control/oauth-clients.js +229 -0
  2004. package/dist/agent/control/oauth-clients.js.map +1 -0
  2005. package/dist/agent/control/oauth-resource.d.ts +59 -0
  2006. package/dist/agent/control/oauth-resource.d.ts.map +1 -0
  2007. package/dist/agent/control/oauth-resource.js +168 -0
  2008. package/dist/agent/control/oauth-resource.js.map +1 -0
  2009. package/dist/agent/control/oauth-route.d.ts +50 -0
  2010. package/dist/agent/control/oauth-route.d.ts.map +1 -0
  2011. package/dist/agent/control/oauth-route.js +343 -0
  2012. package/dist/agent/control/oauth-route.js.map +1 -0
  2013. package/dist/agent/control/oauth-tokens.d.ts +88 -0
  2014. package/dist/agent/control/oauth-tokens.d.ts.map +1 -0
  2015. package/dist/agent/control/oauth-tokens.js +171 -0
  2016. package/dist/agent/control/oauth-tokens.js.map +1 -0
  2017. package/dist/agent/control/read-route.d.ts +278 -0
  2018. package/dist/agent/control/read-route.d.ts.map +1 -0
  2019. package/dist/agent/control/read-route.js +761 -0
  2020. package/dist/agent/control/read-route.js.map +1 -0
  2021. package/dist/agent/control/server.d.ts +49 -0
  2022. package/dist/agent/control/server.d.ts.map +1 -0
  2023. package/dist/agent/control/server.js +405 -0
  2024. package/dist/agent/control/server.js.map +1 -0
  2025. package/dist/agent/control/test-route.d.ts +85 -0
  2026. package/dist/agent/control/test-route.d.ts.map +1 -0
  2027. package/dist/agent/control/test-route.js +426 -0
  2028. package/dist/agent/control/test-route.js.map +1 -0
  2029. package/dist/agent/control/transcript-export.d.ts +68 -0
  2030. package/dist/agent/control/transcript-export.d.ts.map +1 -0
  2031. package/dist/agent/control/transcript-export.js +145 -0
  2032. package/dist/agent/control/transcript-export.js.map +1 -0
  2033. package/dist/agent/control/transcript-relay.d.ts +104 -0
  2034. package/dist/agent/control/transcript-relay.d.ts.map +1 -0
  2035. package/dist/agent/control/transcript-relay.js +314 -0
  2036. package/dist/agent/control/transcript-relay.js.map +1 -0
  2037. package/dist/agent/control/transcript-render.d.ts +43 -0
  2038. package/dist/agent/control/transcript-render.d.ts.map +1 -0
  2039. package/dist/agent/control/transcript-render.js +142 -0
  2040. package/dist/agent/control/transcript-render.js.map +1 -0
  2041. package/dist/agent/control/views.d.ts +511 -0
  2042. package/dist/agent/control/views.d.ts.map +1 -0
  2043. package/dist/agent/control/views.js +743 -0
  2044. package/dist/agent/control/views.js.map +1 -0
  2045. package/dist/agent/control/writes.d.ts +15 -0
  2046. package/dist/agent/control/writes.d.ts.map +1 -0
  2047. package/dist/agent/control/writes.js +1309 -0
  2048. package/dist/agent/control/writes.js.map +1 -0
  2049. package/dist/agent/credentials/binding-pr.d.ts +51 -0
  2050. package/dist/agent/credentials/binding-pr.d.ts.map +1 -0
  2051. package/dist/agent/credentials/binding-pr.js +178 -0
  2052. package/dist/agent/credentials/binding-pr.js.map +1 -0
  2053. package/dist/agent/credentials/config-pr-github.d.ts +24 -0
  2054. package/dist/agent/credentials/config-pr-github.d.ts.map +1 -0
  2055. package/dist/agent/credentials/config-pr-github.js +160 -0
  2056. package/dist/agent/credentials/config-pr-github.js.map +1 -0
  2057. package/dist/agent/credentials/config-pr.d.ts +148 -0
  2058. package/dist/agent/credentials/config-pr.d.ts.map +1 -0
  2059. package/dist/agent/credentials/config-pr.js +45 -0
  2060. package/dist/agent/credentials/config-pr.js.map +1 -0
  2061. package/dist/agent/credentials/db-broker.d.ts +82 -0
  2062. package/dist/agent/credentials/db-broker.d.ts.map +1 -0
  2063. package/dist/agent/credentials/db-broker.js +231 -0
  2064. package/dist/agent/credentials/db-broker.js.map +1 -0
  2065. package/dist/agent/credentials/home.d.ts +51 -0
  2066. package/dist/agent/credentials/home.d.ts.map +1 -0
  2067. package/dist/agent/credentials/home.js +43 -0
  2068. package/dist/agent/credentials/home.js.map +1 -0
  2069. package/dist/agent/credentials/intake-page.d.ts +54 -0
  2070. package/dist/agent/credentials/intake-page.d.ts.map +1 -0
  2071. package/dist/agent/credentials/intake-page.js +238 -0
  2072. package/dist/agent/credentials/intake-page.js.map +1 -0
  2073. package/dist/agent/credentials/intake.d.ts +147 -0
  2074. package/dist/agent/credentials/intake.d.ts.map +1 -0
  2075. package/dist/agent/credentials/intake.js +404 -0
  2076. package/dist/agent/credentials/intake.js.map +1 -0
  2077. package/dist/agent/credentials/kv-vault.d.ts +69 -0
  2078. package/dist/agent/credentials/kv-vault.d.ts.map +1 -0
  2079. package/dist/agent/credentials/kv-vault.js +121 -0
  2080. package/dist/agent/credentials/kv-vault.js.map +1 -0
  2081. package/dist/agent/credentials/operator-secrets.d.ts +169 -0
  2082. package/dist/agent/credentials/operator-secrets.d.ts.map +1 -0
  2083. package/dist/agent/credentials/operator-secrets.js +316 -0
  2084. package/dist/agent/credentials/operator-secrets.js.map +1 -0
  2085. package/dist/agent/credentials/page-chrome.d.ts +11 -0
  2086. package/dist/agent/credentials/page-chrome.d.ts.map +1 -0
  2087. package/dist/agent/credentials/page-chrome.js +52 -0
  2088. package/dist/agent/credentials/page-chrome.js.map +1 -0
  2089. package/dist/agent/credentials/page-token.d.ts +73 -0
  2090. package/dist/agent/credentials/page-token.d.ts.map +1 -0
  2091. package/dist/agent/credentials/page-token.js +197 -0
  2092. package/dist/agent/credentials/page-token.js.map +1 -0
  2093. package/dist/agent/credentials/purge.d.ts +54 -0
  2094. package/dist/agent/credentials/purge.d.ts.map +1 -0
  2095. package/dist/agent/credentials/purge.js +82 -0
  2096. package/dist/agent/credentials/purge.js.map +1 -0
  2097. package/dist/agent/credentials/ref.d.ts +72 -0
  2098. package/dist/agent/credentials/ref.d.ts.map +1 -0
  2099. package/dist/agent/credentials/ref.js +110 -0
  2100. package/dist/agent/credentials/ref.js.map +1 -0
  2101. package/dist/agent/credentials/reserved-refs.d.ts +31 -0
  2102. package/dist/agent/credentials/reserved-refs.d.ts.map +1 -0
  2103. package/dist/agent/credentials/reserved-refs.js +70 -0
  2104. package/dist/agent/credentials/reserved-refs.js.map +1 -0
  2105. package/dist/agent/credentials/self-secrets.d.ts +24 -0
  2106. package/dist/agent/credentials/self-secrets.d.ts.map +1 -0
  2107. package/dist/agent/credentials/self-secrets.js +138 -0
  2108. package/dist/agent/credentials/self-secrets.js.map +1 -0
  2109. package/dist/agent/credentials/warm.d.ts +77 -0
  2110. package/dist/agent/credentials/warm.d.ts.map +1 -0
  2111. package/dist/agent/credentials/warm.js +136 -0
  2112. package/dist/agent/credentials/warm.js.map +1 -0
  2113. package/dist/agent/docs/approver-policy.d.ts +70 -0
  2114. package/dist/agent/docs/approver-policy.d.ts.map +1 -0
  2115. package/dist/agent/docs/approver-policy.js +193 -0
  2116. package/dist/agent/docs/approver-policy.js.map +1 -0
  2117. package/dist/agent/docs/capability-map.d.ts +69 -0
  2118. package/dist/agent/docs/capability-map.d.ts.map +1 -0
  2119. package/dist/agent/docs/capability-map.js +142 -0
  2120. package/dist/agent/docs/capability-map.js.map +1 -0
  2121. package/dist/agent/docs/counted-claims.d.ts +61 -0
  2122. package/dist/agent/docs/counted-claims.d.ts.map +1 -0
  2123. package/dist/agent/docs/counted-claims.js +363 -0
  2124. package/dist/agent/docs/counted-claims.js.map +1 -0
  2125. package/dist/agent/docs/registry.d.ts +73 -0
  2126. package/dist/agent/docs/registry.d.ts.map +1 -0
  2127. package/dist/agent/docs/registry.js +157 -0
  2128. package/dist/agent/docs/registry.js.map +1 -0
  2129. package/dist/agent/docs/source-map.d.ts +69 -0
  2130. package/dist/agent/docs/source-map.d.ts.map +1 -0
  2131. package/dist/agent/docs/source-map.js +156 -0
  2132. package/dist/agent/docs/source-map.js.map +1 -0
  2133. package/dist/agent/hooks/approval-raised.d.ts +3 -0
  2134. package/dist/agent/hooks/approval-raised.d.ts.map +1 -0
  2135. package/dist/agent/hooks/approval-raised.js +31 -0
  2136. package/dist/agent/hooks/approval-raised.js.map +1 -0
  2137. package/dist/agent/hooks/approval-settlement.d.ts +5 -0
  2138. package/dist/agent/hooks/approval-settlement.d.ts.map +1 -0
  2139. package/dist/agent/hooks/approval-settlement.js +90 -0
  2140. package/dist/agent/hooks/approval-settlement.js.map +1 -0
  2141. package/dist/agent/hooks/binding-bridge.d.ts +3 -0
  2142. package/dist/agent/hooks/binding-bridge.d.ts.map +1 -0
  2143. package/dist/agent/hooks/binding-bridge.js +63 -0
  2144. package/dist/agent/hooks/binding-bridge.js.map +1 -0
  2145. package/dist/agent/hooks/connector-audit.d.ts +3 -0
  2146. package/dist/agent/hooks/connector-audit.d.ts.map +1 -0
  2147. package/dist/agent/hooks/connector-audit.js +103 -0
  2148. package/dist/agent/hooks/connector-audit.js.map +1 -0
  2149. package/dist/agent/hooks/egress.d.ts +150 -0
  2150. package/dist/agent/hooks/egress.d.ts.map +1 -0
  2151. package/dist/agent/hooks/egress.js +546 -0
  2152. package/dist/agent/hooks/egress.js.map +1 -0
  2153. package/dist/agent/hooks/eve-patch-gate.d.ts +3 -0
  2154. package/dist/agent/hooks/eve-patch-gate.d.ts.map +1 -0
  2155. package/dist/agent/hooks/eve-patch-gate.js +51 -0
  2156. package/dist/agent/hooks/eve-patch-gate.js.map +1 -0
  2157. package/dist/agent/hooks/fire-carriage.d.ts +3 -0
  2158. package/dist/agent/hooks/fire-carriage.d.ts.map +1 -0
  2159. package/dist/agent/hooks/fire-carriage.js +32 -0
  2160. package/dist/agent/hooks/fire-carriage.js.map +1 -0
  2161. package/dist/agent/hooks/fire-toolset.d.ts +48 -0
  2162. package/dist/agent/hooks/fire-toolset.d.ts.map +1 -0
  2163. package/dist/agent/hooks/fire-toolset.js +275 -0
  2164. package/dist/agent/hooks/fire-toolset.js.map +1 -0
  2165. package/dist/agent/hooks/job-posture.d.ts +3 -0
  2166. package/dist/agent/hooks/job-posture.d.ts.map +1 -0
  2167. package/dist/agent/hooks/job-posture.js +82 -0
  2168. package/dist/agent/hooks/job-posture.js.map +1 -0
  2169. package/dist/agent/hooks/lean-seat.d.ts +3 -0
  2170. package/dist/agent/hooks/lean-seat.d.ts.map +1 -0
  2171. package/dist/agent/hooks/lean-seat.js +229 -0
  2172. package/dist/agent/hooks/lean-seat.js.map +1 -0
  2173. package/dist/agent/hooks/learn.d.ts +3 -0
  2174. package/dist/agent/hooks/learn.d.ts.map +1 -0
  2175. package/dist/agent/hooks/learn.js +193 -0
  2176. package/dist/agent/hooks/learn.js.map +1 -0
  2177. package/dist/agent/hooks/link-claim.d.ts +63 -0
  2178. package/dist/agent/hooks/link-claim.d.ts.map +1 -0
  2179. package/dist/agent/hooks/link-claim.js +215 -0
  2180. package/dist/agent/hooks/link-claim.js.map +1 -0
  2181. package/dist/agent/hooks/log-flush.d.ts +3 -0
  2182. package/dist/agent/hooks/log-flush.d.ts.map +1 -0
  2183. package/dist/agent/hooks/log-flush.js +28 -0
  2184. package/dist/agent/hooks/log-flush.js.map +1 -0
  2185. package/dist/agent/hooks/loop-breaker.d.ts +3 -0
  2186. package/dist/agent/hooks/loop-breaker.d.ts.map +1 -0
  2187. package/dist/agent/hooks/loop-breaker.js +16 -0
  2188. package/dist/agent/hooks/loop-breaker.js.map +1 -0
  2189. package/dist/agent/hooks/memory.d.ts +112 -0
  2190. package/dist/agent/hooks/memory.d.ts.map +1 -0
  2191. package/dist/agent/hooks/memory.js +1191 -0
  2192. package/dist/agent/hooks/memory.js.map +1 -0
  2193. package/dist/agent/hooks/native-input-audit.d.ts +7 -0
  2194. package/dist/agent/hooks/native-input-audit.d.ts.map +1 -0
  2195. package/dist/agent/hooks/native-input-audit.js +44 -0
  2196. package/dist/agent/hooks/native-input-audit.js.map +1 -0
  2197. package/dist/agent/hooks/own-account-ask.d.ts +52 -0
  2198. package/dist/agent/hooks/own-account-ask.d.ts.map +1 -0
  2199. package/dist/agent/hooks/own-account-ask.js +162 -0
  2200. package/dist/agent/hooks/own-account-ask.js.map +1 -0
  2201. package/dist/agent/hooks/requester-identity.d.ts +3 -0
  2202. package/dist/agent/hooks/requester-identity.d.ts.map +1 -0
  2203. package/dist/agent/hooks/requester-identity.js +24 -0
  2204. package/dist/agent/hooks/requester-identity.js.map +1 -0
  2205. package/dist/agent/hooks/requester-messages.d.ts +9 -0
  2206. package/dist/agent/hooks/requester-messages.d.ts.map +1 -0
  2207. package/dist/agent/hooks/requester-messages.js +57 -0
  2208. package/dist/agent/hooks/requester-messages.js.map +1 -0
  2209. package/dist/agent/hooks/routine-outcome.d.ts +29 -0
  2210. package/dist/agent/hooks/routine-outcome.d.ts.map +1 -0
  2211. package/dist/agent/hooks/routine-outcome.js +211 -0
  2212. package/dist/agent/hooks/routine-outcome.js.map +1 -0
  2213. package/dist/agent/hooks/routine-silence.d.ts +3 -0
  2214. package/dist/agent/hooks/routine-silence.d.ts.map +1 -0
  2215. package/dist/agent/hooks/routine-silence.js +30 -0
  2216. package/dist/agent/hooks/routine-silence.js.map +1 -0
  2217. package/dist/agent/hooks/session-park.d.ts +3 -0
  2218. package/dist/agent/hooks/session-park.d.ts.map +1 -0
  2219. package/dist/agent/hooks/session-park.js +43 -0
  2220. package/dist/agent/hooks/session-park.js.map +1 -0
  2221. package/dist/agent/hooks/settlement-flush.d.ts +45 -0
  2222. package/dist/agent/hooks/settlement-flush.d.ts.map +1 -0
  2223. package/dist/agent/hooks/settlement-flush.js +146 -0
  2224. package/dist/agent/hooks/settlement-flush.js.map +1 -0
  2225. package/dist/agent/hooks/spawn-taint.d.ts +154 -0
  2226. package/dist/agent/hooks/spawn-taint.d.ts.map +1 -0
  2227. package/dist/agent/hooks/spawn-taint.js +1200 -0
  2228. package/dist/agent/hooks/spawn-taint.js.map +1 -0
  2229. package/dist/agent/hooks/spend.d.ts +92 -0
  2230. package/dist/agent/hooks/spend.d.ts.map +1 -0
  2231. package/dist/agent/hooks/spend.js +343 -0
  2232. package/dist/agent/hooks/spend.js.map +1 -0
  2233. package/dist/agent/hooks/stall-guard.d.ts +3 -0
  2234. package/dist/agent/hooks/stall-guard.d.ts.map +1 -0
  2235. package/dist/agent/hooks/stall-guard.js +22 -0
  2236. package/dist/agent/hooks/stall-guard.js.map +1 -0
  2237. package/dist/agent/hooks/telemetry.d.ts +3 -0
  2238. package/dist/agent/hooks/telemetry.d.ts.map +1 -0
  2239. package/dist/agent/hooks/telemetry.js +93 -0
  2240. package/dist/agent/hooks/telemetry.js.map +1 -0
  2241. package/dist/agent/hooks/turn-anchor.d.ts +35 -0
  2242. package/dist/agent/hooks/turn-anchor.d.ts.map +1 -0
  2243. package/dist/agent/hooks/turn-anchor.js +647 -0
  2244. package/dist/agent/hooks/turn-anchor.js.map +1 -0
  2245. package/dist/agent/hooks/turn-tally.d.ts +32 -0
  2246. package/dist/agent/hooks/turn-tally.d.ts.map +1 -0
  2247. package/dist/agent/hooks/turn-tally.js +69 -0
  2248. package/dist/agent/hooks/turn-tally.js.map +1 -0
  2249. package/dist/agent/hooks/wake-accounting-turn.d.ts +8 -0
  2250. package/dist/agent/hooks/wake-accounting-turn.d.ts.map +1 -0
  2251. package/dist/agent/hooks/wake-accounting-turn.js +88 -0
  2252. package/dist/agent/hooks/wake-accounting-turn.js.map +1 -0
  2253. package/dist/agent/hooks/wake-turn-start.d.ts +3 -0
  2254. package/dist/agent/hooks/wake-turn-start.d.ts.map +1 -0
  2255. package/dist/agent/hooks/wake-turn-start.js +44 -0
  2256. package/dist/agent/hooks/wake-turn-start.js.map +1 -0
  2257. package/dist/agent/hooks/window-routing.d.ts +3 -0
  2258. package/dist/agent/hooks/window-routing.d.ts.map +1 -0
  2259. package/dist/agent/hooks/window-routing.js +52 -0
  2260. package/dist/agent/hooks/window-routing.js.map +1 -0
  2261. package/dist/agent/identity/account-directory.d.ts +52 -0
  2262. package/dist/agent/identity/account-directory.d.ts.map +1 -0
  2263. package/dist/agent/identity/account-directory.js +110 -0
  2264. package/dist/agent/identity/account-directory.js.map +1 -0
  2265. package/dist/agent/identity/account-display-name.d.ts +65 -0
  2266. package/dist/agent/identity/account-display-name.d.ts.map +1 -0
  2267. package/dist/agent/identity/account-display-name.js +156 -0
  2268. package/dist/agent/identity/account-display-name.js.map +1 -0
  2269. package/dist/agent/identity/author-trust.d.ts +106 -0
  2270. package/dist/agent/identity/author-trust.d.ts.map +1 -0
  2271. package/dist/agent/identity/author-trust.js +209 -0
  2272. package/dist/agent/identity/author-trust.js.map +1 -0
  2273. package/dist/agent/identity/binding-bridge.d.ts +26 -0
  2274. package/dist/agent/identity/binding-bridge.d.ts.map +1 -0
  2275. package/dist/agent/identity/binding-bridge.js +75 -0
  2276. package/dist/agent/identity/binding-bridge.js.map +1 -0
  2277. package/dist/agent/identity/binding.d.ts +567 -0
  2278. package/dist/agent/identity/binding.d.ts.map +1 -0
  2279. package/dist/agent/identity/binding.js +1050 -0
  2280. package/dist/agent/identity/binding.js.map +1 -0
  2281. package/dist/agent/identity/bot-display-name.d.ts +19 -0
  2282. package/dist/agent/identity/bot-display-name.d.ts.map +1 -0
  2283. package/dist/agent/identity/bot-display-name.js +47 -0
  2284. package/dist/agent/identity/bot-display-name.js.map +1 -0
  2285. package/dist/agent/identity/bot-name.d.ts +39 -0
  2286. package/dist/agent/identity/bot-name.d.ts.map +1 -0
  2287. package/dist/agent/identity/bot-name.js +77 -0
  2288. package/dist/agent/identity/bot-name.js.map +1 -0
  2289. package/dist/agent/identity/capabilities.d.ts +52 -0
  2290. package/dist/agent/identity/capabilities.d.ts.map +1 -0
  2291. package/dist/agent/identity/capabilities.js +39 -0
  2292. package/dist/agent/identity/capabilities.js.map +1 -0
  2293. package/dist/agent/identity/delegated-binding.d.ts +59 -0
  2294. package/dist/agent/identity/delegated-binding.d.ts.map +1 -0
  2295. package/dist/agent/identity/delegated-binding.js +116 -0
  2296. package/dist/agent/identity/delegated-binding.js.map +1 -0
  2297. package/dist/agent/identity/deployment-identity.d.ts +61 -0
  2298. package/dist/agent/identity/deployment-identity.d.ts.map +1 -0
  2299. package/dist/agent/identity/deployment-identity.js +75 -0
  2300. package/dist/agent/identity/deployment-identity.js.map +1 -0
  2301. package/dist/agent/identity/directory-sync.d.ts +195 -0
  2302. package/dist/agent/identity/directory-sync.d.ts.map +1 -0
  2303. package/dist/agent/identity/directory-sync.js +623 -0
  2304. package/dist/agent/identity/directory-sync.js.map +1 -0
  2305. package/dist/agent/identity/directory.d.ts +73 -0
  2306. package/dist/agent/identity/directory.d.ts.map +1 -0
  2307. package/dist/agent/identity/directory.js +19 -0
  2308. package/dist/agent/identity/directory.js.map +1 -0
  2309. package/dist/agent/identity/display-title.d.ts +12 -0
  2310. package/dist/agent/identity/display-title.d.ts.map +1 -0
  2311. package/dist/agent/identity/display-title.js +14 -0
  2312. package/dist/agent/identity/display-title.js.map +1 -0
  2313. package/dist/agent/identity/frozen-surface-binding.internal.d.ts +8 -0
  2314. package/dist/agent/identity/frozen-surface-binding.internal.d.ts.map +1 -0
  2315. package/dist/agent/identity/frozen-surface-binding.internal.js +90 -0
  2316. package/dist/agent/identity/frozen-surface-binding.internal.js.map +1 -0
  2317. package/dist/agent/identity/group-sync.d.ts +77 -0
  2318. package/dist/agent/identity/group-sync.d.ts.map +1 -0
  2319. package/dist/agent/identity/group-sync.js +128 -0
  2320. package/dist/agent/identity/group-sync.js.map +1 -0
  2321. package/dist/agent/identity/groups-codemod.d.ts +52 -0
  2322. package/dist/agent/identity/groups-codemod.d.ts.map +1 -0
  2323. package/dist/agent/identity/groups-codemod.js +129 -0
  2324. package/dist/agent/identity/groups-codemod.js.map +1 -0
  2325. package/dist/agent/identity/groups-delivery.d.ts +56 -0
  2326. package/dist/agent/identity/groups-delivery.d.ts.map +1 -0
  2327. package/dist/agent/identity/groups-delivery.js +116 -0
  2328. package/dist/agent/identity/groups-delivery.js.map +1 -0
  2329. package/dist/agent/identity/groups.d.ts +74 -0
  2330. package/dist/agent/identity/groups.d.ts.map +1 -0
  2331. package/dist/agent/identity/groups.js +124 -0
  2332. package/dist/agent/identity/groups.js.map +1 -0
  2333. package/dist/agent/identity/link-challenge.d.ts +58 -0
  2334. package/dist/agent/identity/link-challenge.d.ts.map +1 -0
  2335. package/dist/agent/identity/link-challenge.js +136 -0
  2336. package/dist/agent/identity/link-challenge.js.map +1 -0
  2337. package/dist/agent/identity/link-consent.d.ts +79 -0
  2338. package/dist/agent/identity/link-consent.d.ts.map +1 -0
  2339. package/dist/agent/identity/link-consent.js +179 -0
  2340. package/dist/agent/identity/link-consent.js.map +1 -0
  2341. package/dist/agent/identity/link-flow.d.ts +260 -0
  2342. package/dist/agent/identity/link-flow.d.ts.map +1 -0
  2343. package/dist/agent/identity/link-flow.js +327 -0
  2344. package/dist/agent/identity/link-flow.js.map +1 -0
  2345. package/dist/agent/identity/link-initiator.d.ts +16 -0
  2346. package/dist/agent/identity/link-initiator.d.ts.map +1 -0
  2347. package/dist/agent/identity/link-initiator.js +25 -0
  2348. package/dist/agent/identity/link-initiator.js.map +1 -0
  2349. package/dist/agent/identity/link-resolve.d.ts +40 -0
  2350. package/dist/agent/identity/link-resolve.d.ts.map +1 -0
  2351. package/dist/agent/identity/link-resolve.js +195 -0
  2352. package/dist/agent/identity/link-resolve.js.map +1 -0
  2353. package/dist/agent/identity/link-set-ref.d.ts +16 -0
  2354. package/dist/agent/identity/link-set-ref.d.ts.map +1 -0
  2355. package/dist/agent/identity/link-set-ref.js +32 -0
  2356. package/dist/agent/identity/link-set-ref.js.map +1 -0
  2357. package/dist/agent/identity/link-store.d.ts +400 -0
  2358. package/dist/agent/identity/link-store.d.ts.map +1 -0
  2359. package/dist/agent/identity/link-store.js +725 -0
  2360. package/dist/agent/identity/link-store.js.map +1 -0
  2361. package/dist/agent/identity/link-tenant-backfill.d.ts +39 -0
  2362. package/dist/agent/identity/link-tenant-backfill.d.ts.map +1 -0
  2363. package/dist/agent/identity/link-tenant-backfill.js +67 -0
  2364. package/dist/agent/identity/link-tenant-backfill.js.map +1 -0
  2365. package/dist/agent/identity/link-tenant.d.ts +28 -0
  2366. package/dist/agent/identity/link-tenant.d.ts.map +1 -0
  2367. package/dist/agent/identity/link-tenant.js +51 -0
  2368. package/dist/agent/identity/link-tenant.js.map +1 -0
  2369. package/dist/agent/identity/oauth-vault-share.d.ts +29 -0
  2370. package/dist/agent/identity/oauth-vault-share.d.ts.map +1 -0
  2371. package/dist/agent/identity/oauth-vault-share.js +36 -0
  2372. package/dist/agent/identity/oauth-vault-share.js.map +1 -0
  2373. package/dist/agent/identity/platform.d.ts +9 -0
  2374. package/dist/agent/identity/platform.d.ts.map +1 -0
  2375. package/dist/agent/identity/platform.js +48 -0
  2376. package/dist/agent/identity/platform.js.map +1 -0
  2377. package/dist/agent/identity/principal-key-rules.d.ts +23 -0
  2378. package/dist/agent/identity/principal-key-rules.d.ts.map +1 -0
  2379. package/dist/agent/identity/principal-key-rules.js +91 -0
  2380. package/dist/agent/identity/principal-key-rules.js.map +1 -0
  2381. package/dist/agent/identity/principal-key.d.ts +92 -0
  2382. package/dist/agent/identity/principal-key.d.ts.map +1 -0
  2383. package/dist/agent/identity/principal-key.js +197 -0
  2384. package/dist/agent/identity/principal-key.js.map +1 -0
  2385. package/dist/agent/identity/principals.d.ts +145 -0
  2386. package/dist/agent/identity/principals.d.ts.map +1 -0
  2387. package/dist/agent/identity/principals.js +303 -0
  2388. package/dist/agent/identity/principals.js.map +1 -0
  2389. package/dist/agent/identity/surface-key-grammar.d.ts +83 -0
  2390. package/dist/agent/identity/surface-key-grammar.d.ts.map +1 -0
  2391. package/dist/agent/identity/surface-key-grammar.js +138 -0
  2392. package/dist/agent/identity/surface-key-grammar.js.map +1 -0
  2393. package/dist/agent/identity/surface-parity.d.ts +274 -0
  2394. package/dist/agent/identity/surface-parity.d.ts.map +1 -0
  2395. package/dist/agent/identity/surface-parity.js +357 -0
  2396. package/dist/agent/identity/surface-parity.js.map +1 -0
  2397. package/dist/agent/identity/trust-preflight.d.ts +83 -0
  2398. package/dist/agent/identity/trust-preflight.d.ts.map +1 -0
  2399. package/dist/agent/identity/trust-preflight.js +196 -0
  2400. package/dist/agent/identity/trust-preflight.js.map +1 -0
  2401. package/dist/agent/identity/trust.d.ts +217 -0
  2402. package/dist/agent/identity/trust.d.ts.map +1 -0
  2403. package/dist/agent/identity/trust.js +300 -0
  2404. package/dist/agent/identity/trust.js.map +1 -0
  2405. package/dist/agent/identity/wake-trust.d.ts +129 -0
  2406. package/dist/agent/identity/wake-trust.d.ts.map +1 -0
  2407. package/dist/agent/identity/wake-trust.js +159 -0
  2408. package/dist/agent/identity/wake-trust.js.map +1 -0
  2409. package/dist/agent/instructions/access.d.ts +252 -0
  2410. package/dist/agent/instructions/access.d.ts.map +1 -0
  2411. package/dist/agent/instructions/access.js +1200 -0
  2412. package/dist/agent/instructions/access.js.map +1 -0
  2413. package/dist/agent/instructions/seat-prompt.d.ts +354 -0
  2414. package/dist/agent/instructions/seat-prompt.d.ts.map +1 -0
  2415. package/dist/agent/instructions/seat-prompt.js +1143 -0
  2416. package/dist/agent/instructions/seat-prompt.js.map +1 -0
  2417. package/dist/agent/lib/process-registry.d.ts +8 -0
  2418. package/dist/agent/lib/process-registry.d.ts.map +1 -0
  2419. package/dist/agent/lib/process-registry.js +53 -0
  2420. package/dist/agent/lib/process-registry.js.map +1 -0
  2421. package/dist/agent/memory/agents-codemod.d.ts +92 -0
  2422. package/dist/agent/memory/agents-codemod.d.ts.map +1 -0
  2423. package/dist/agent/memory/agents-codemod.js +366 -0
  2424. package/dist/agent/memory/agents-codemod.js.map +1 -0
  2425. package/dist/agent/memory/connector-memory.d.ts +54 -0
  2426. package/dist/agent/memory/connector-memory.d.ts.map +1 -0
  2427. package/dist/agent/memory/connector-memory.js +80 -0
  2428. package/dist/agent/memory/connector-memory.js.map +1 -0
  2429. package/dist/agent/memory/domain.d.ts +384 -0
  2430. package/dist/agent/memory/domain.d.ts.map +1 -0
  2431. package/dist/agent/memory/domain.js +911 -0
  2432. package/dist/agent/memory/domain.js.map +1 -0
  2433. package/dist/agent/memory/dream/candidates.d.ts +35 -0
  2434. package/dist/agent/memory/dream/candidates.d.ts.map +1 -0
  2435. package/dist/agent/memory/dream/candidates.js +149 -0
  2436. package/dist/agent/memory/dream/candidates.js.map +1 -0
  2437. package/dist/agent/memory/dream/correction.d.ts +56 -0
  2438. package/dist/agent/memory/dream/correction.d.ts.map +1 -0
  2439. package/dist/agent/memory/dream/correction.js +109 -0
  2440. package/dist/agent/memory/dream/correction.js.map +1 -0
  2441. package/dist/agent/memory/dream/judge.d.ts +47 -0
  2442. package/dist/agent/memory/dream/judge.d.ts.map +1 -0
  2443. package/dist/agent/memory/dream/judge.js +135 -0
  2444. package/dist/agent/memory/dream/judge.js.map +1 -0
  2445. package/dist/agent/memory/dream/learn.d.ts +79 -0
  2446. package/dist/agent/memory/dream/learn.d.ts.map +1 -0
  2447. package/dist/agent/memory/dream/learn.js +243 -0
  2448. package/dist/agent/memory/dream/learn.js.map +1 -0
  2449. package/dist/agent/memory/dream/mode3-cluster.d.ts +37 -0
  2450. package/dist/agent/memory/dream/mode3-cluster.d.ts.map +1 -0
  2451. package/dist/agent/memory/dream/mode3-cluster.js +123 -0
  2452. package/dist/agent/memory/dream/mode3-cluster.js.map +1 -0
  2453. package/dist/agent/memory/dream/mode3-last-mile.d.ts +134 -0
  2454. package/dist/agent/memory/dream/mode3-last-mile.d.ts.map +1 -0
  2455. package/dist/agent/memory/dream/mode3-last-mile.js +262 -0
  2456. package/dist/agent/memory/dream/mode3-last-mile.js.map +1 -0
  2457. package/dist/agent/memory/dream/mode3.d.ts +82 -0
  2458. package/dist/agent/memory/dream/mode3.d.ts.map +1 -0
  2459. package/dist/agent/memory/dream/mode3.js +236 -0
  2460. package/dist/agent/memory/dream/mode3.js.map +1 -0
  2461. package/dist/agent/memory/dream/ops.d.ts +75 -0
  2462. package/dist/agent/memory/dream/ops.d.ts.map +1 -0
  2463. package/dist/agent/memory/dream/ops.js +302 -0
  2464. package/dist/agent/memory/dream/ops.js.map +1 -0
  2465. package/dist/agent/memory/dream/proposal.d.ts +22 -0
  2466. package/dist/agent/memory/dream/proposal.d.ts.map +1 -0
  2467. package/dist/agent/memory/dream/proposal.js +66 -0
  2468. package/dist/agent/memory/dream/proposal.js.map +1 -0
  2469. package/dist/agent/memory/dream/recurrence.d.ts +38 -0
  2470. package/dist/agent/memory/dream/recurrence.d.ts.map +1 -0
  2471. package/dist/agent/memory/dream/recurrence.js +106 -0
  2472. package/dist/agent/memory/dream/recurrence.js.map +1 -0
  2473. package/dist/agent/memory/dream/salience.d.ts +10 -0
  2474. package/dist/agent/memory/dream/salience.d.ts.map +1 -0
  2475. package/dist/agent/memory/dream/salience.js +16 -0
  2476. package/dist/agent/memory/dream/salience.js.map +1 -0
  2477. package/dist/agent/memory/dream/skill-proposal-pr.d.ts +63 -0
  2478. package/dist/agent/memory/dream/skill-proposal-pr.d.ts.map +1 -0
  2479. package/dist/agent/memory/dream/skill-proposal-pr.js +245 -0
  2480. package/dist/agent/memory/dream/skill-proposal-pr.js.map +1 -0
  2481. package/dist/agent/memory/dream/supersede-apply.d.ts +40 -0
  2482. package/dist/agent/memory/dream/supersede-apply.d.ts.map +1 -0
  2483. package/dist/agent/memory/dream/supersede-apply.js +78 -0
  2484. package/dist/agent/memory/dream/supersede-apply.js.map +1 -0
  2485. package/dist/agent/memory/dream/tidy.d.ts +60 -0
  2486. package/dist/agent/memory/dream/tidy.d.ts.map +1 -0
  2487. package/dist/agent/memory/dream/tidy.js +96 -0
  2488. package/dist/agent/memory/dream/tidy.js.map +1 -0
  2489. package/dist/agent/memory/graph.d.ts +46 -0
  2490. package/dist/agent/memory/graph.d.ts.map +1 -0
  2491. package/dist/agent/memory/graph.js +130 -0
  2492. package/dist/agent/memory/graph.js.map +1 -0
  2493. package/dist/agent/memory/host-owned-files.d.ts +2 -0
  2494. package/dist/agent/memory/host-owned-files.d.ts.map +1 -0
  2495. package/dist/agent/memory/host-owned-files.js +4 -0
  2496. package/dist/agent/memory/host-owned-files.js.map +1 -0
  2497. package/dist/agent/memory/layout.d.ts +8 -0
  2498. package/dist/agent/memory/layout.d.ts.map +1 -0
  2499. package/dist/agent/memory/layout.js +77 -0
  2500. package/dist/agent/memory/layout.js.map +1 -0
  2501. package/dist/agent/memory/listing.d.ts +11 -0
  2502. package/dist/agent/memory/listing.d.ts.map +1 -0
  2503. package/dist/agent/memory/listing.js +169 -0
  2504. package/dist/agent/memory/listing.js.map +1 -0
  2505. package/dist/agent/memory/markdown.d.ts +73 -0
  2506. package/dist/agent/memory/markdown.d.ts.map +1 -0
  2507. package/dist/agent/memory/markdown.js +190 -0
  2508. package/dist/agent/memory/markdown.js.map +1 -0
  2509. package/dist/agent/memory/partition.d.ts +34 -0
  2510. package/dist/agent/memory/partition.d.ts.map +1 -0
  2511. package/dist/agent/memory/partition.js +41 -0
  2512. package/dist/agent/memory/partition.js.map +1 -0
  2513. package/dist/agent/memory/postgres.d.ts +73 -0
  2514. package/dist/agent/memory/postgres.d.ts.map +1 -0
  2515. package/dist/agent/memory/postgres.js +411 -0
  2516. package/dist/agent/memory/postgres.js.map +1 -0
  2517. package/dist/agent/memory/provenance-mark.d.ts +77 -0
  2518. package/dist/agent/memory/provenance-mark.d.ts.map +1 -0
  2519. package/dist/agent/memory/provenance-mark.js +276 -0
  2520. package/dist/agent/memory/provenance-mark.js.map +1 -0
  2521. package/dist/agent/memory/provenance.d.ts +8 -0
  2522. package/dist/agent/memory/provenance.d.ts.map +1 -0
  2523. package/dist/agent/memory/provenance.js +25 -0
  2524. package/dist/agent/memory/provenance.js.map +1 -0
  2525. package/dist/agent/memory/provider.d.ts +76 -0
  2526. package/dist/agent/memory/provider.d.ts.map +1 -0
  2527. package/dist/agent/memory/provider.js +96 -0
  2528. package/dist/agent/memory/provider.js.map +1 -0
  2529. package/dist/agent/memory/purge-redaction.d.ts +29 -0
  2530. package/dist/agent/memory/purge-redaction.d.ts.map +1 -0
  2531. package/dist/agent/memory/purge-redaction.js +65 -0
  2532. package/dist/agent/memory/purge-redaction.js.map +1 -0
  2533. package/dist/agent/memory/readonly.d.ts +25 -0
  2534. package/dist/agent/memory/readonly.d.ts.map +1 -0
  2535. package/dist/agent/memory/readonly.js +46 -0
  2536. package/dist/agent/memory/readonly.js.map +1 -0
  2537. package/dist/agent/memory/resolve.d.ts +49 -0
  2538. package/dist/agent/memory/resolve.d.ts.map +1 -0
  2539. package/dist/agent/memory/resolve.js +136 -0
  2540. package/dist/agent/memory/resolve.js.map +1 -0
  2541. package/dist/agent/memory/root-fence.d.ts +24 -0
  2542. package/dist/agent/memory/root-fence.d.ts.map +1 -0
  2543. package/dist/agent/memory/root-fence.js +46 -0
  2544. package/dist/agent/memory/root-fence.js.map +1 -0
  2545. package/dist/agent/memory/sandbox-sync.d.ts +17 -0
  2546. package/dist/agent/memory/sandbox-sync.d.ts.map +1 -0
  2547. package/dist/agent/memory/sandbox-sync.js +61 -0
  2548. package/dist/agent/memory/sandbox-sync.js.map +1 -0
  2549. package/dist/agent/memory/selection.d.ts +29 -0
  2550. package/dist/agent/memory/selection.d.ts.map +1 -0
  2551. package/dist/agent/memory/selection.js +82 -0
  2552. package/dist/agent/memory/selection.js.map +1 -0
  2553. package/dist/agent/memory/silo.d.ts +39 -0
  2554. package/dist/agent/memory/silo.d.ts.map +1 -0
  2555. package/dist/agent/memory/silo.js +36 -0
  2556. package/dist/agent/memory/silo.js.map +1 -0
  2557. package/dist/agent/memory/sqlite.d.ts +4 -0
  2558. package/dist/agent/memory/sqlite.d.ts.map +1 -0
  2559. package/dist/agent/memory/sqlite.js +196 -0
  2560. package/dist/agent/memory/sqlite.js.map +1 -0
  2561. package/dist/agent/memory/store.d.ts +36 -0
  2562. package/dist/agent/memory/store.d.ts.map +1 -0
  2563. package/dist/agent/memory/store.js +144 -0
  2564. package/dist/agent/memory/store.js.map +1 -0
  2565. package/dist/agent/memory/sync-timing.d.ts +83 -0
  2566. package/dist/agent/memory/sync-timing.d.ts.map +1 -0
  2567. package/dist/agent/memory/sync-timing.js +166 -0
  2568. package/dist/agent/memory/sync-timing.js.map +1 -0
  2569. package/dist/agent/memory/wake-delta.d.ts +96 -0
  2570. package/dist/agent/memory/wake-delta.d.ts.map +1 -0
  2571. package/dist/agent/memory/wake-delta.js +176 -0
  2572. package/dist/agent/memory/wake-delta.js.map +1 -0
  2573. package/dist/agent/memory/write-evidence.d.ts +30 -0
  2574. package/dist/agent/memory/write-evidence.d.ts.map +1 -0
  2575. package/dist/agent/memory/write-evidence.js +137 -0
  2576. package/dist/agent/memory/write-evidence.js.map +1 -0
  2577. package/dist/agent/memory/write-fence.d.ts +30 -0
  2578. package/dist/agent/memory/write-fence.d.ts.map +1 -0
  2579. package/dist/agent/memory/write-fence.js +123 -0
  2580. package/dist/agent/memory/write-fence.js.map +1 -0
  2581. package/dist/agent/memory/write-intent.d.ts +72 -0
  2582. package/dist/agent/memory/write-intent.d.ts.map +1 -0
  2583. package/dist/agent/memory/write-intent.js +197 -0
  2584. package/dist/agent/memory/write-intent.js.map +1 -0
  2585. package/dist/agent/memory/write-road.d.ts +60 -0
  2586. package/dist/agent/memory/write-road.d.ts.map +1 -0
  2587. package/dist/agent/memory/write-road.js +96 -0
  2588. package/dist/agent/memory/write-road.js.map +1 -0
  2589. package/dist/agent/model/ab-test.d.ts +132 -0
  2590. package/dist/agent/model/ab-test.d.ts.map +1 -0
  2591. package/dist/agent/model/ab-test.js +321 -0
  2592. package/dist/agent/model/ab-test.js.map +1 -0
  2593. package/dist/agent/model/call-capture.d.ts +140 -0
  2594. package/dist/agent/model/call-capture.d.ts.map +1 -0
  2595. package/dist/agent/model/call-capture.js +374 -0
  2596. package/dist/agent/model/call-capture.js.map +1 -0
  2597. package/dist/agent/model/default-model.d.ts +13 -0
  2598. package/dist/agent/model/default-model.d.ts.map +1 -0
  2599. package/dist/agent/model/default-model.js +58 -0
  2600. package/dist/agent/model/default-model.js.map +1 -0
  2601. package/dist/agent/model/model-stamp.d.ts +41 -0
  2602. package/dist/agent/model/model-stamp.d.ts.map +1 -0
  2603. package/dist/agent/model/model-stamp.js +160 -0
  2604. package/dist/agent/model/model-stamp.js.map +1 -0
  2605. package/dist/agent/model/policy.d.ts +150 -0
  2606. package/dist/agent/model/policy.d.ts.map +1 -0
  2607. package/dist/agent/model/policy.js +309 -0
  2608. package/dist/agent/model/policy.js.map +1 -0
  2609. package/dist/agent/model/routing.d.ts +210 -0
  2610. package/dist/agent/model/routing.d.ts.map +1 -0
  2611. package/dist/agent/model/routing.js +694 -0
  2612. package/dist/agent/model/routing.js.map +1 -0
  2613. package/dist/agent/model/step-boundary.d.ts +163 -0
  2614. package/dist/agent/model/step-boundary.d.ts.map +1 -0
  2615. package/dist/agent/model/step-boundary.js +491 -0
  2616. package/dist/agent/model/step-boundary.js.map +1 -0
  2617. package/dist/agent/model/stream-drop-retry.d.ts +24 -0
  2618. package/dist/agent/model/stream-drop-retry.d.ts.map +1 -0
  2619. package/dist/agent/model/stream-drop-retry.js +316 -0
  2620. package/dist/agent/model/stream-drop-retry.js.map +1 -0
  2621. package/dist/agent/model/turn-closeout.d.ts +61 -0
  2622. package/dist/agent/model/turn-closeout.d.ts.map +1 -0
  2623. package/dist/agent/model/turn-closeout.js +289 -0
  2624. package/dist/agent/model/turn-closeout.js.map +1 -0
  2625. package/dist/agent/model/turn-state.d.ts +119 -0
  2626. package/dist/agent/model/turn-state.d.ts.map +1 -0
  2627. package/dist/agent/model/turn-state.js +423 -0
  2628. package/dist/agent/model/turn-state.js.map +1 -0
  2629. package/dist/agent/model/vision.d.ts +75 -0
  2630. package/dist/agent/model/vision.d.ts.map +1 -0
  2631. package/dist/agent/model/vision.js +39 -0
  2632. package/dist/agent/model/vision.js.map +1 -0
  2633. package/dist/agent/observability/ship.d.ts +87 -0
  2634. package/dist/agent/observability/ship.d.ts.map +1 -0
  2635. package/dist/agent/observability/ship.js +354 -0
  2636. package/dist/agent/observability/ship.js.map +1 -0
  2637. package/dist/agent/observability/telemetry.d.ts +154 -0
  2638. package/dist/agent/observability/telemetry.d.ts.map +1 -0
  2639. package/dist/agent/observability/telemetry.js +764 -0
  2640. package/dist/agent/observability/telemetry.js.map +1 -0
  2641. package/dist/agent/observability/turn-clock.d.ts +41 -0
  2642. package/dist/agent/observability/turn-clock.d.ts.map +1 -0
  2643. package/dist/agent/observability/turn-clock.js +75 -0
  2644. package/dist/agent/observability/turn-clock.js.map +1 -0
  2645. package/dist/agent/onboarding/onboarding.d.ts +30 -0
  2646. package/dist/agent/onboarding/onboarding.d.ts.map +1 -0
  2647. package/dist/agent/onboarding/onboarding.js +94 -0
  2648. package/dist/agent/onboarding/onboarding.js.map +1 -0
  2649. package/dist/agent/operational/credential-grant-rows.d.ts +626 -0
  2650. package/dist/agent/operational/credential-grant-rows.d.ts.map +1 -0
  2651. package/dist/agent/operational/credential-grant-rows.js +634 -0
  2652. package/dist/agent/operational/credential-grant-rows.js.map +1 -0
  2653. package/dist/agent/operational/pglite-client.d.ts +81 -0
  2654. package/dist/agent/operational/pglite-client.d.ts.map +1 -0
  2655. package/dist/agent/operational/pglite-client.js +255 -0
  2656. package/dist/agent/operational/pglite-client.js.map +1 -0
  2657. package/dist/agent/operational/post-once.d.ts +74 -0
  2658. package/dist/agent/operational/post-once.d.ts.map +1 -0
  2659. package/dist/agent/operational/post-once.js +92 -0
  2660. package/dist/agent/operational/post-once.js.map +1 -0
  2661. package/dist/agent/operational/postgres.d.ts +55 -0
  2662. package/dist/agent/operational/postgres.d.ts.map +1 -0
  2663. package/dist/agent/operational/postgres.js +4052 -0
  2664. package/dist/agent/operational/postgres.js.map +1 -0
  2665. package/dist/agent/operational/provider.d.ts +52 -0
  2666. package/dist/agent/operational/provider.d.ts.map +1 -0
  2667. package/dist/agent/operational/provider.js +166 -0
  2668. package/dist/agent/operational/provider.js.map +1 -0
  2669. package/dist/agent/operational/sqlite.d.ts +21 -0
  2670. package/dist/agent/operational/sqlite.d.ts.map +1 -0
  2671. package/dist/agent/operational/sqlite.js +3170 -0
  2672. package/dist/agent/operational/sqlite.js.map +1 -0
  2673. package/dist/agent/operational/store.d.ts +1953 -0
  2674. package/dist/agent/operational/store.d.ts.map +1 -0
  2675. package/dist/agent/operational/store.js +302 -0
  2676. package/dist/agent/operational/store.js.map +1 -0
  2677. package/dist/agent/ops/census.d.ts +411 -0
  2678. package/dist/agent/ops/census.d.ts.map +1 -0
  2679. package/dist/agent/ops/census.js +701 -0
  2680. package/dist/agent/ops/census.js.map +1 -0
  2681. package/dist/agent/ops/probes.d.ts +20 -0
  2682. package/dist/agent/ops/probes.d.ts.map +1 -0
  2683. package/dist/agent/ops/probes.js +59 -0
  2684. package/dist/agent/ops/probes.js.map +1 -0
  2685. package/dist/agent/ops/quickstart.d.ts +53 -0
  2686. package/dist/agent/ops/quickstart.d.ts.map +1 -0
  2687. package/dist/agent/ops/quickstart.js +247 -0
  2688. package/dist/agent/ops/quickstart.js.map +1 -0
  2689. package/dist/agent/ops/server.d.ts +16 -0
  2690. package/dist/agent/ops/server.d.ts.map +1 -0
  2691. package/dist/agent/ops/server.js +414 -0
  2692. package/dist/agent/ops/server.js.map +1 -0
  2693. package/dist/agent/ops/surface-manifest.d.ts +60 -0
  2694. package/dist/agent/ops/surface-manifest.d.ts.map +1 -0
  2695. package/dist/agent/ops/surface-manifest.js +79 -0
  2696. package/dist/agent/ops/surface-manifest.js.map +1 -0
  2697. package/dist/agent/ops/two-role.d.ts +26 -0
  2698. package/dist/agent/ops/two-role.d.ts.map +1 -0
  2699. package/dist/agent/ops/two-role.js +71 -0
  2700. package/dist/agent/ops/two-role.js.map +1 -0
  2701. package/dist/agent/pages/policy-pages.d.ts +14 -0
  2702. package/dist/agent/pages/policy-pages.d.ts.map +1 -0
  2703. package/dist/agent/pages/policy-pages.js +69 -0
  2704. package/dist/agent/pages/policy-pages.js.map +1 -0
  2705. package/dist/agent/plugins/extract.d.ts +31 -0
  2706. package/dist/agent/plugins/extract.d.ts.map +1 -0
  2707. package/dist/agent/plugins/extract.js +328 -0
  2708. package/dist/agent/plugins/extract.js.map +1 -0
  2709. package/dist/agent/plugins/parse.d.ts +3 -0
  2710. package/dist/agent/plugins/parse.d.ts.map +1 -0
  2711. package/dist/agent/plugins/parse.js +112 -0
  2712. package/dist/agent/plugins/parse.js.map +1 -0
  2713. package/dist/agent/plugins/types.d.ts +105 -0
  2714. package/dist/agent/plugins/types.d.ts.map +1 -0
  2715. package/dist/agent/plugins/types.js +30 -0
  2716. package/dist/agent/plugins/types.js.map +1 -0
  2717. package/dist/agent/publish/eve-patch-pack.d.ts +210 -0
  2718. package/dist/agent/publish/eve-patch-pack.d.ts.map +1 -0
  2719. package/dist/agent/publish/eve-patch-pack.js +377 -0
  2720. package/dist/agent/publish/eve-patch-pack.js.map +1 -0
  2721. package/dist/agent/review/blast-radius.d.ts +83 -0
  2722. package/dist/agent/review/blast-radius.d.ts.map +1 -0
  2723. package/dist/agent/review/blast-radius.js +224 -0
  2724. package/dist/agent/review/blast-radius.js.map +1 -0
  2725. package/dist/agent/review/config-facts.d.ts +69 -0
  2726. package/dist/agent/review/config-facts.d.ts.map +1 -0
  2727. package/dist/agent/review/config-facts.js +155 -0
  2728. package/dist/agent/review/config-facts.js.map +1 -0
  2729. package/dist/agent/review/facts-artifact.d.ts +108 -0
  2730. package/dist/agent/review/facts-artifact.d.ts.map +1 -0
  2731. package/dist/agent/review/facts-artifact.js +288 -0
  2732. package/dist/agent/review/facts-artifact.js.map +1 -0
  2733. package/dist/agent/review/facts-cloud-status.d.ts +90 -0
  2734. package/dist/agent/review/facts-cloud-status.d.ts.map +1 -0
  2735. package/dist/agent/review/facts-cloud-status.js +226 -0
  2736. package/dist/agent/review/facts-cloud-status.js.map +1 -0
  2737. package/dist/agent/review/pr-walkthrough.d.ts +134 -0
  2738. package/dist/agent/review/pr-walkthrough.d.ts.map +1 -0
  2739. package/dist/agent/review/pr-walkthrough.js +641 -0
  2740. package/dist/agent/review/pr-walkthrough.js.map +1 -0
  2741. package/dist/agent/review/zip.d.ts +26 -0
  2742. package/dist/agent/review/zip.d.ts.map +1 -0
  2743. package/dist/agent/review/zip.js +147 -0
  2744. package/dist/agent/review/zip.js.map +1 -0
  2745. package/dist/agent/roles/role.d.ts +95 -0
  2746. package/dist/agent/roles/role.d.ts.map +1 -0
  2747. package/dist/agent/roles/role.js +188 -0
  2748. package/dist/agent/roles/role.js.map +1 -0
  2749. package/dist/agent/routines/bound.d.ts +90 -0
  2750. package/dist/agent/routines/bound.d.ts.map +1 -0
  2751. package/dist/agent/routines/bound.js +233 -0
  2752. package/dist/agent/routines/bound.js.map +1 -0
  2753. package/dist/agent/routines/check-in.d.ts +10 -0
  2754. package/dist/agent/routines/check-in.d.ts.map +1 -0
  2755. package/dist/agent/routines/check-in.js +50 -0
  2756. package/dist/agent/routines/check-in.js.map +1 -0
  2757. package/dist/agent/routines/collector.d.ts +214 -0
  2758. package/dist/agent/routines/collector.d.ts.map +1 -0
  2759. package/dist/agent/routines/collector.js +389 -0
  2760. package/dist/agent/routines/collector.js.map +1 -0
  2761. package/dist/agent/routines/declared-permissions.d.ts +302 -0
  2762. package/dist/agent/routines/declared-permissions.d.ts.map +1 -0
  2763. package/dist/agent/routines/declared-permissions.js +548 -0
  2764. package/dist/agent/routines/declared-permissions.js.map +1 -0
  2765. package/dist/agent/routines/disable-notice.d.ts +75 -0
  2766. package/dist/agent/routines/disable-notice.d.ts.map +1 -0
  2767. package/dist/agent/routines/disable-notice.js +152 -0
  2768. package/dist/agent/routines/disable-notice.js.map +1 -0
  2769. package/dist/agent/routines/entity-read.d.ts +177 -0
  2770. package/dist/agent/routines/entity-read.d.ts.map +1 -0
  2771. package/dist/agent/routines/entity-read.js +178 -0
  2772. package/dist/agent/routines/entity-read.js.map +1 -0
  2773. package/dist/agent/routines/event-authz.d.ts +76 -0
  2774. package/dist/agent/routines/event-authz.d.ts.map +1 -0
  2775. package/dist/agent/routines/event-authz.js +229 -0
  2776. package/dist/agent/routines/event-authz.js.map +1 -0
  2777. package/dist/agent/routines/event-match.d.ts +50 -0
  2778. package/dist/agent/routines/event-match.d.ts.map +1 -0
  2779. package/dist/agent/routines/event-match.js +190 -0
  2780. package/dist/agent/routines/event-match.js.map +1 -0
  2781. package/dist/agent/routines/event-model.d.ts +463 -0
  2782. package/dist/agent/routines/event-model.d.ts.map +1 -0
  2783. package/dist/agent/routines/event-model.js +367 -0
  2784. package/dist/agent/routines/event-model.js.map +1 -0
  2785. package/dist/agent/routines/events.d.ts +85 -0
  2786. package/dist/agent/routines/events.d.ts.map +1 -0
  2787. package/dist/agent/routines/events.js +167 -0
  2788. package/dist/agent/routines/events.js.map +1 -0
  2789. package/dist/agent/routines/fire-audit.d.ts +409 -0
  2790. package/dist/agent/routines/fire-audit.d.ts.map +1 -0
  2791. package/dist/agent/routines/fire-audit.js +571 -0
  2792. package/dist/agent/routines/fire-audit.js.map +1 -0
  2793. package/dist/agent/routines/fire-auth.d.ts +114 -0
  2794. package/dist/agent/routines/fire-auth.d.ts.map +1 -0
  2795. package/dist/agent/routines/fire-auth.js +254 -0
  2796. package/dist/agent/routines/fire-auth.js.map +1 -0
  2797. package/dist/agent/routines/fire-carriage.d.ts +37 -0
  2798. package/dist/agent/routines/fire-carriage.d.ts.map +1 -0
  2799. package/dist/agent/routines/fire-carriage.js +115 -0
  2800. package/dist/agent/routines/fire-carriage.js.map +1 -0
  2801. package/dist/agent/routines/fire-creator.d.ts +26 -0
  2802. package/dist/agent/routines/fire-creator.d.ts.map +1 -0
  2803. package/dist/agent/routines/fire-creator.js +78 -0
  2804. package/dist/agent/routines/fire-creator.js.map +1 -0
  2805. package/dist/agent/routines/fire-disclosure.d.ts +70 -0
  2806. package/dist/agent/routines/fire-disclosure.d.ts.map +1 -0
  2807. package/dist/agent/routines/fire-disclosure.js +193 -0
  2808. package/dist/agent/routines/fire-disclosure.js.map +1 -0
  2809. package/dist/agent/routines/fire-eligibility.d.ts +87 -0
  2810. package/dist/agent/routines/fire-eligibility.d.ts.map +1 -0
  2811. package/dist/agent/routines/fire-eligibility.js +220 -0
  2812. package/dist/agent/routines/fire-eligibility.js.map +1 -0
  2813. package/dist/agent/routines/fire-halt.d.ts +16 -0
  2814. package/dist/agent/routines/fire-halt.d.ts.map +1 -0
  2815. package/dist/agent/routines/fire-halt.js +49 -0
  2816. package/dist/agent/routines/fire-halt.js.map +1 -0
  2817. package/dist/agent/routines/fire-message.d.ts +31 -0
  2818. package/dist/agent/routines/fire-message.d.ts.map +1 -0
  2819. package/dist/agent/routines/fire-message.js +51 -0
  2820. package/dist/agent/routines/fire-message.js.map +1 -0
  2821. package/dist/agent/routines/fire-toolset.d.ts +94 -0
  2822. package/dist/agent/routines/fire-toolset.d.ts.map +1 -0
  2823. package/dist/agent/routines/fire-toolset.js +128 -0
  2824. package/dist/agent/routines/fire-toolset.js.map +1 -0
  2825. package/dist/agent/routines/fire-window.d.ts +230 -0
  2826. package/dist/agent/routines/fire-window.d.ts.map +1 -0
  2827. package/dist/agent/routines/fire-window.js +517 -0
  2828. package/dist/agent/routines/fire-window.js.map +1 -0
  2829. package/dist/agent/routines/follow-ups.d.ts +77 -0
  2830. package/dist/agent/routines/follow-ups.d.ts.map +1 -0
  2831. package/dist/agent/routines/follow-ups.js +134 -0
  2832. package/dist/agent/routines/follow-ups.js.map +1 -0
  2833. package/dist/agent/routines/gate.d.ts +133 -0
  2834. package/dist/agent/routines/gate.d.ts.map +1 -0
  2835. package/dist/agent/routines/gate.js +196 -0
  2836. package/dist/agent/routines/gate.js.map +1 -0
  2837. package/dist/agent/routines/github-entity-read.d.ts +26 -0
  2838. package/dist/agent/routines/github-entity-read.d.ts.map +1 -0
  2839. package/dist/agent/routines/github-entity-read.js +107 -0
  2840. package/dist/agent/routines/github-entity-read.js.map +1 -0
  2841. package/dist/agent/routines/github-fanout.d.ts +23 -0
  2842. package/dist/agent/routines/github-fanout.d.ts.map +1 -0
  2843. package/dist/agent/routines/github-fanout.js +67 -0
  2844. package/dist/agent/routines/github-fanout.js.map +1 -0
  2845. package/dist/agent/routines/github-normalizer.d.ts +20 -0
  2846. package/dist/agent/routines/github-normalizer.d.ts.map +1 -0
  2847. package/dist/agent/routines/github-normalizer.js +253 -0
  2848. package/dist/agent/routines/github-normalizer.js.map +1 -0
  2849. package/dist/agent/routines/ingress.d.ts +128 -0
  2850. package/dist/agent/routines/ingress.d.ts.map +1 -0
  2851. package/dist/agent/routines/ingress.js +703 -0
  2852. package/dist/agent/routines/ingress.js.map +1 -0
  2853. package/dist/agent/routines/job.d.ts +49 -0
  2854. package/dist/agent/routines/job.d.ts.map +1 -0
  2855. package/dist/agent/routines/job.js +122 -0
  2856. package/dist/agent/routines/job.js.map +1 -0
  2857. package/dist/agent/routines/jq-filter.d.ts +94 -0
  2858. package/dist/agent/routines/jq-filter.d.ts.map +1 -0
  2859. package/dist/agent/routines/jq-filter.js +322 -0
  2860. package/dist/agent/routines/jq-filter.js.map +1 -0
  2861. package/dist/agent/routines/lifecycle.d.ts +101 -0
  2862. package/dist/agent/routines/lifecycle.d.ts.map +1 -0
  2863. package/dist/agent/routines/lifecycle.js +231 -0
  2864. package/dist/agent/routines/lifecycle.js.map +1 -0
  2865. package/dist/agent/routines/match-stamp.d.ts +26 -0
  2866. package/dist/agent/routines/match-stamp.d.ts.map +1 -0
  2867. package/dist/agent/routines/match-stamp.js +121 -0
  2868. package/dist/agent/routines/match-stamp.js.map +1 -0
  2869. package/dist/agent/routines/outcome-fold.d.ts +115 -0
  2870. package/dist/agent/routines/outcome-fold.d.ts.map +1 -0
  2871. package/dist/agent/routines/outcome-fold.js +244 -0
  2872. package/dist/agent/routines/outcome-fold.js.map +1 -0
  2873. package/dist/agent/routines/partition.d.ts +5 -0
  2874. package/dist/agent/routines/partition.d.ts.map +1 -0
  2875. package/dist/agent/routines/partition.js +24 -0
  2876. package/dist/agent/routines/partition.js.map +1 -0
  2877. package/dist/agent/routines/permission-card-wait.d.ts +150 -0
  2878. package/dist/agent/routines/permission-card-wait.d.ts.map +1 -0
  2879. package/dist/agent/routines/permission-card-wait.js +213 -0
  2880. package/dist/agent/routines/permission-card-wait.js.map +1 -0
  2881. package/dist/agent/routines/permission-card.d.ts +196 -0
  2882. package/dist/agent/routines/permission-card.d.ts.map +1 -0
  2883. package/dist/agent/routines/permission-card.js +397 -0
  2884. package/dist/agent/routines/permission-card.js.map +1 -0
  2885. package/dist/agent/routines/permission-key.d.ts +25 -0
  2886. package/dist/agent/routines/permission-key.d.ts.map +1 -0
  2887. package/dist/agent/routines/permission-key.js +53 -0
  2888. package/dist/agent/routines/permission-key.js.map +1 -0
  2889. package/dist/agent/routines/permission-review.d.ts +108 -0
  2890. package/dist/agent/routines/permission-review.d.ts.map +1 -0
  2891. package/dist/agent/routines/permission-review.js +215 -0
  2892. package/dist/agent/routines/permission-review.js.map +1 -0
  2893. package/dist/agent/routines/policy.d.ts +146 -0
  2894. package/dist/agent/routines/policy.d.ts.map +1 -0
  2895. package/dist/agent/routines/policy.js +241 -0
  2896. package/dist/agent/routines/policy.js.map +1 -0
  2897. package/dist/agent/routines/pre-fire.d.ts +46 -0
  2898. package/dist/agent/routines/pre-fire.d.ts.map +1 -0
  2899. package/dist/agent/routines/pre-fire.js +111 -0
  2900. package/dist/agent/routines/pre-fire.js.map +1 -0
  2901. package/dist/agent/routines/provider-events.d.ts +115 -0
  2902. package/dist/agent/routines/provider-events.d.ts.map +1 -0
  2903. package/dist/agent/routines/provider-events.js +307 -0
  2904. package/dist/agent/routines/provider-events.js.map +1 -0
  2905. package/dist/agent/routines/report.d.ts +33 -0
  2906. package/dist/agent/routines/report.d.ts.map +1 -0
  2907. package/dist/agent/routines/report.js +122 -0
  2908. package/dist/agent/routines/report.js.map +1 -0
  2909. package/dist/agent/routines/routine.d.ts +774 -0
  2910. package/dist/agent/routines/routine.d.ts.map +1 -0
  2911. package/dist/agent/routines/routine.js +385 -0
  2912. package/dist/agent/routines/routine.js.map +1 -0
  2913. package/dist/agent/routines/schedule.d.ts +70 -0
  2914. package/dist/agent/routines/schedule.d.ts.map +1 -0
  2915. package/dist/agent/routines/schedule.js +187 -0
  2916. package/dist/agent/routines/schedule.js.map +1 -0
  2917. package/dist/agent/routines/scheme-name.d.ts +43 -0
  2918. package/dist/agent/routines/scheme-name.d.ts.map +1 -0
  2919. package/dist/agent/routines/scheme-name.js +73 -0
  2920. package/dist/agent/routines/scheme-name.js.map +1 -0
  2921. package/dist/agent/routines/stall.d.ts +46 -0
  2922. package/dist/agent/routines/stall.d.ts.map +1 -0
  2923. package/dist/agent/routines/stall.js +143 -0
  2924. package/dist/agent/routines/stall.js.map +1 -0
  2925. package/dist/agent/routines/store.d.ts +47 -0
  2926. package/dist/agent/routines/store.d.ts.map +1 -0
  2927. package/dist/agent/routines/store.js +82 -0
  2928. package/dist/agent/routines/store.js.map +1 -0
  2929. package/dist/agent/routines/watch.d.ts +134 -0
  2930. package/dist/agent/routines/watch.d.ts.map +1 -0
  2931. package/dist/agent/routines/watch.js +266 -0
  2932. package/dist/agent/routines/watch.js.map +1 -0
  2933. package/dist/agent/sandbox/backend-select.d.ts +19 -0
  2934. package/dist/agent/sandbox/backend-select.d.ts.map +1 -0
  2935. package/dist/agent/sandbox/backend-select.js +46 -0
  2936. package/dist/agent/sandbox/backend-select.js.map +1 -0
  2937. package/dist/agent/sandbox/vercel-create.d.ts +99 -0
  2938. package/dist/agent/sandbox/vercel-create.d.ts.map +1 -0
  2939. package/dist/agent/sandbox/vercel-create.js +151 -0
  2940. package/dist/agent/sandbox/vercel-create.js.map +1 -0
  2941. package/dist/agent/scaffold/app-root.d.ts +18 -0
  2942. package/dist/agent/scaffold/app-root.d.ts.map +1 -0
  2943. package/dist/agent/scaffold/app-root.js +97 -0
  2944. package/dist/agent/scaffold/app-root.js.map +1 -0
  2945. package/dist/agent/scaffold/roster-config.d.ts +130 -0
  2946. package/dist/agent/scaffold/roster-config.d.ts.map +1 -0
  2947. package/dist/agent/scaffold/roster-config.js +46 -0
  2948. package/dist/agent/scaffold/roster-config.js.map +1 -0
  2949. package/dist/agent/scaffold/roster-fs.d.ts +45 -0
  2950. package/dist/agent/scaffold/roster-fs.d.ts.map +1 -0
  2951. package/dist/agent/scaffold/roster-fs.js +195 -0
  2952. package/dist/agent/scaffold/roster-fs.js.map +1 -0
  2953. package/dist/agent/scaffold/roster-plan.d.ts +167 -0
  2954. package/dist/agent/scaffold/roster-plan.d.ts.map +1 -0
  2955. package/dist/agent/scaffold/roster-plan.js +668 -0
  2956. package/dist/agent/scaffold/roster-plan.js.map +1 -0
  2957. package/dist/agent/scaffold/templates.d.ts +13 -0
  2958. package/dist/agent/scaffold/templates.d.ts.map +1 -0
  2959. package/dist/agent/scaffold/templates.js +73 -0
  2960. package/dist/agent/scaffold/templates.js.map +1 -0
  2961. package/dist/agent/scaffold/tool-roster-read.d.ts +24 -0
  2962. package/dist/agent/scaffold/tool-roster-read.d.ts.map +1 -0
  2963. package/dist/agent/scaffold/tool-roster-read.js +68 -0
  2964. package/dist/agent/scaffold/tool-roster-read.js.map +1 -0
  2965. package/dist/agent/scaffold/tool-roster.d.ts +90 -0
  2966. package/dist/agent/scaffold/tool-roster.d.ts.map +1 -0
  2967. package/dist/agent/scaffold/tool-roster.js +128 -0
  2968. package/dist/agent/scaffold/tool-roster.js.map +1 -0
  2969. package/dist/agent/schedules/directory-sync.d.ts +6 -0
  2970. package/dist/agent/schedules/directory-sync.d.ts.map +1 -0
  2971. package/dist/agent/schedules/directory-sync.js +36 -0
  2972. package/dist/agent/schedules/directory-sync.js.map +1 -0
  2973. package/dist/agent/schedules/dispatch.d.ts +34 -0
  2974. package/dist/agent/schedules/dispatch.d.ts.map +1 -0
  2975. package/dist/agent/schedules/dispatch.js +749 -0
  2976. package/dist/agent/schedules/dispatch.js.map +1 -0
  2977. package/dist/agent/schedules/dream-mode3.d.ts +28 -0
  2978. package/dist/agent/schedules/dream-mode3.d.ts.map +1 -0
  2979. package/dist/agent/schedules/dream-mode3.js +261 -0
  2980. package/dist/agent/schedules/dream-mode3.js.map +1 -0
  2981. package/dist/agent/schedules/routine-dispatch.d.ts +125 -0
  2982. package/dist/agent/schedules/routine-dispatch.d.ts.map +1 -0
  2983. package/dist/agent/schedules/routine-dispatch.js +139 -0
  2984. package/dist/agent/schedules/routine-dispatch.js.map +1 -0
  2985. package/dist/agent/schedules/tidy.d.ts +39 -0
  2986. package/dist/agent/schedules/tidy.d.ts.map +1 -0
  2987. package/dist/agent/schedules/tidy.js +292 -0
  2988. package/dist/agent/schedules/tidy.js.map +1 -0
  2989. package/dist/agent/scm/app.d.ts +55 -0
  2990. package/dist/agent/scm/app.d.ts.map +1 -0
  2991. package/dist/agent/scm/app.js +120 -0
  2992. package/dist/agent/scm/app.js.map +1 -0
  2993. package/dist/agent/scm/broker-audit.d.ts +35 -0
  2994. package/dist/agent/scm/broker-audit.d.ts.map +1 -0
  2995. package/dist/agent/scm/broker-audit.js +94 -0
  2996. package/dist/agent/scm/broker-audit.js.map +1 -0
  2997. package/dist/agent/scm/broker.d.ts +56 -0
  2998. package/dist/agent/scm/broker.d.ts.map +1 -0
  2999. package/dist/agent/scm/broker.js +113 -0
  3000. package/dist/agent/scm/broker.js.map +1 -0
  3001. package/dist/agent/scm/capability-fit.d.ts +59 -0
  3002. package/dist/agent/scm/capability-fit.d.ts.map +1 -0
  3003. package/dist/agent/scm/capability-fit.js +122 -0
  3004. package/dist/agent/scm/capability-fit.js.map +1 -0
  3005. package/dist/agent/scm/config-repo-token.d.ts +3 -0
  3006. package/dist/agent/scm/config-repo-token.d.ts.map +1 -0
  3007. package/dist/agent/scm/config-repo-token.js +43 -0
  3008. package/dist/agent/scm/config-repo-token.js.map +1 -0
  3009. package/dist/agent/scm/config.d.ts +3 -0
  3010. package/dist/agent/scm/config.d.ts.map +1 -0
  3011. package/dist/agent/scm/config.js +36 -0
  3012. package/dist/agent/scm/config.js.map +1 -0
  3013. package/dist/agent/scm/contents.d.ts +54 -0
  3014. package/dist/agent/scm/contents.d.ts.map +1 -0
  3015. package/dist/agent/scm/contents.js +117 -0
  3016. package/dist/agent/scm/contents.js.map +1 -0
  3017. package/dist/agent/scm/git.d.ts +157 -0
  3018. package/dist/agent/scm/git.d.ts.map +1 -0
  3019. package/dist/agent/scm/git.js +318 -0
  3020. package/dist/agent/scm/git.js.map +1 -0
  3021. package/dist/agent/scm/github-acting-identity.d.ts +38 -0
  3022. package/dist/agent/scm/github-acting-identity.d.ts.map +1 -0
  3023. package/dist/agent/scm/github-acting-identity.js +121 -0
  3024. package/dist/agent/scm/github-acting-identity.js.map +1 -0
  3025. package/dist/agent/scm/github-search.d.ts +23 -0
  3026. package/dist/agent/scm/github-search.d.ts.map +1 -0
  3027. package/dist/agent/scm/github-search.js +122 -0
  3028. package/dist/agent/scm/github-search.js.map +1 -0
  3029. package/dist/agent/scm/github-work.d.ts +17 -0
  3030. package/dist/agent/scm/github-work.d.ts.map +1 -0
  3031. package/dist/agent/scm/github-work.js +43 -0
  3032. package/dist/agent/scm/github-work.js.map +1 -0
  3033. package/dist/agent/scm/installations.d.ts +46 -0
  3034. package/dist/agent/scm/installations.d.ts.map +1 -0
  3035. package/dist/agent/scm/installations.js +144 -0
  3036. package/dist/agent/scm/installations.js.map +1 -0
  3037. package/dist/agent/scm/issue-actions.d.ts +41 -0
  3038. package/dist/agent/scm/issue-actions.d.ts.map +1 -0
  3039. package/dist/agent/scm/issue-actions.js +173 -0
  3040. package/dist/agent/scm/issue-actions.js.map +1 -0
  3041. package/dist/agent/scm/mint.d.ts +76 -0
  3042. package/dist/agent/scm/mint.d.ts.map +1 -0
  3043. package/dist/agent/scm/mint.js +253 -0
  3044. package/dist/agent/scm/mint.js.map +1 -0
  3045. package/dist/agent/scm/pr-activity.d.ts +50 -0
  3046. package/dist/agent/scm/pr-activity.d.ts.map +1 -0
  3047. package/dist/agent/scm/pr-activity.js +102 -0
  3048. package/dist/agent/scm/pr-activity.js.map +1 -0
  3049. package/dist/agent/scm/pr-diff.d.ts +61 -0
  3050. package/dist/agent/scm/pr-diff.d.ts.map +1 -0
  3051. package/dist/agent/scm/pr-diff.js +104 -0
  3052. package/dist/agent/scm/pr-diff.js.map +1 -0
  3053. package/dist/agent/scm/pr-feedback.d.ts +87 -0
  3054. package/dist/agent/scm/pr-feedback.d.ts.map +1 -0
  3055. package/dist/agent/scm/pr-feedback.js +230 -0
  3056. package/dist/agent/scm/pr-feedback.js.map +1 -0
  3057. package/dist/agent/scm/pr-status.d.ts +120 -0
  3058. package/dist/agent/scm/pr-status.d.ts.map +1 -0
  3059. package/dist/agent/scm/pr-status.js +199 -0
  3060. package/dist/agent/scm/pr-status.js.map +1 -0
  3061. package/dist/agent/scm/pr-watch.d.ts +26 -0
  3062. package/dist/agent/scm/pr-watch.d.ts.map +1 -0
  3063. package/dist/agent/scm/pr-watch.js +165 -0
  3064. package/dist/agent/scm/pr-watch.js.map +1 -0
  3065. package/dist/agent/scm/pr.d.ts +42 -0
  3066. package/dist/agent/scm/pr.d.ts.map +1 -0
  3067. package/dist/agent/scm/pr.js +73 -0
  3068. package/dist/agent/scm/pr.js.map +1 -0
  3069. package/dist/agent/scm/provider.d.ts +13 -0
  3070. package/dist/agent/scm/provider.d.ts.map +1 -0
  3071. package/dist/agent/scm/provider.js +39 -0
  3072. package/dist/agent/scm/provider.js.map +1 -0
  3073. package/dist/agent/scm/refs.d.ts +65 -0
  3074. package/dist/agent/scm/refs.d.ts.map +1 -0
  3075. package/dist/agent/scm/refs.js +89 -0
  3076. package/dist/agent/scm/refs.js.map +1 -0
  3077. package/dist/agent/scm/repo-skills.d.ts +69 -0
  3078. package/dist/agent/scm/repo-skills.d.ts.map +1 -0
  3079. package/dist/agent/scm/repo-skills.js +170 -0
  3080. package/dist/agent/scm/repo-skills.js.map +1 -0
  3081. package/dist/agent/scm/types.d.ts +40 -0
  3082. package/dist/agent/scm/types.d.ts.map +1 -0
  3083. package/dist/agent/scm/types.js +9 -0
  3084. package/dist/agent/scm/types.js.map +1 -0
  3085. package/dist/agent/scm/write-token.d.ts +10 -0
  3086. package/dist/agent/scm/write-token.d.ts.map +1 -0
  3087. package/dist/agent/scm/write-token.js +40 -0
  3088. package/dist/agent/scm/write-token.js.map +1 -0
  3089. package/dist/agent/settings/settings.d.ts +935 -0
  3090. package/dist/agent/settings/settings.d.ts.map +1 -0
  3091. package/dist/agent/settings/settings.js +1104 -0
  3092. package/dist/agent/settings/settings.js.map +1 -0
  3093. package/dist/agent/skills/domain-skills.d.ts +61 -0
  3094. package/dist/agent/skills/domain-skills.d.ts.map +1 -0
  3095. package/dist/agent/skills/domain-skills.js +174 -0
  3096. package/dist/agent/skills/domain-skills.js.map +1 -0
  3097. package/dist/agent/skills/scoped.d.ts +21 -0
  3098. package/dist/agent/skills/scoped.d.ts.map +1 -0
  3099. package/dist/agent/skills/scoped.js +152 -0
  3100. package/dist/agent/skills/scoped.js.map +1 -0
  3101. package/dist/agent/spend/bypass.d.ts +30 -0
  3102. package/dist/agent/spend/bypass.d.ts.map +1 -0
  3103. package/dist/agent/spend/bypass.js +117 -0
  3104. package/dist/agent/spend/bypass.js.map +1 -0
  3105. package/dist/agent/spend/caps.d.ts +173 -0
  3106. package/dist/agent/spend/caps.d.ts.map +1 -0
  3107. package/dist/agent/spend/caps.js +323 -0
  3108. package/dist/agent/spend/caps.js.map +1 -0
  3109. package/dist/agent/spend/check.d.ts +54 -0
  3110. package/dist/agent/spend/check.d.ts.map +1 -0
  3111. package/dist/agent/spend/check.js +157 -0
  3112. package/dist/agent/spend/check.js.map +1 -0
  3113. package/dist/agent/spend/checkpoint.d.ts +158 -0
  3114. package/dist/agent/spend/checkpoint.d.ts.map +1 -0
  3115. package/dist/agent/spend/checkpoint.js +559 -0
  3116. package/dist/agent/spend/checkpoint.js.map +1 -0
  3117. package/dist/agent/spend/dm-mask.d.ts +61 -0
  3118. package/dist/agent/spend/dm-mask.d.ts.map +1 -0
  3119. package/dist/agent/spend/dm-mask.js +113 -0
  3120. package/dist/agent/spend/dm-mask.js.map +1 -0
  3121. package/dist/agent/spend/ingress-gate.d.ts +143 -0
  3122. package/dist/agent/spend/ingress-gate.d.ts.map +1 -0
  3123. package/dist/agent/spend/ingress-gate.js +217 -0
  3124. package/dist/agent/spend/ingress-gate.js.map +1 -0
  3125. package/dist/agent/spend/pricing.d.ts +251 -0
  3126. package/dist/agent/spend/pricing.d.ts.map +1 -0
  3127. package/dist/agent/spend/pricing.js +454 -0
  3128. package/dist/agent/spend/pricing.js.map +1 -0
  3129. package/dist/agent/spend/reporting.d.ts +313 -0
  3130. package/dist/agent/spend/reporting.d.ts.map +1 -0
  3131. package/dist/agent/spend/reporting.js +674 -0
  3132. package/dist/agent/spend/reporting.js.map +1 -0
  3133. package/dist/agent/spend/sandbox-pricing.d.ts +19 -0
  3134. package/dist/agent/spend/sandbox-pricing.d.ts.map +1 -0
  3135. package/dist/agent/spend/sandbox-pricing.js +50 -0
  3136. package/dist/agent/spend/sandbox-pricing.js.map +1 -0
  3137. package/dist/agent/spend/spend.d.ts +283 -0
  3138. package/dist/agent/spend/spend.d.ts.map +1 -0
  3139. package/dist/agent/spend/spend.js +255 -0
  3140. package/dist/agent/spend/spend.js.map +1 -0
  3141. package/dist/agent/spend/stack-pricing.d.ts +94 -0
  3142. package/dist/agent/spend/stack-pricing.d.ts.map +1 -0
  3143. package/dist/agent/spend/stack-pricing.js +123 -0
  3144. package/dist/agent/spend/stack-pricing.js.map +1 -0
  3145. package/dist/agent/spend/store.d.ts +139 -0
  3146. package/dist/agent/spend/store.d.ts.map +1 -0
  3147. package/dist/agent/spend/store.js +180 -0
  3148. package/dist/agent/spend/store.js.map +1 -0
  3149. package/dist/agent/spend/subagent-runs.d.ts +79 -0
  3150. package/dist/agent/spend/subagent-runs.d.ts.map +1 -0
  3151. package/dist/agent/spend/subagent-runs.js +124 -0
  3152. package/dist/agent/spend/subagent-runs.js.map +1 -0
  3153. package/dist/agent/spend/usage-events.d.ts +79 -0
  3154. package/dist/agent/spend/usage-events.d.ts.map +1 -0
  3155. package/dist/agent/spend/usage-events.js +132 -0
  3156. package/dist/agent/spend/usage-events.js.map +1 -0
  3157. package/dist/agent/stall/bash-hang-guard.d.ts +133 -0
  3158. package/dist/agent/stall/bash-hang-guard.d.ts.map +1 -0
  3159. package/dist/agent/stall/bash-hang-guard.js +303 -0
  3160. package/dist/agent/stall/bash-hang-guard.js.map +1 -0
  3161. package/dist/agent/stall/guard.d.ts +68 -0
  3162. package/dist/agent/stall/guard.d.ts.map +1 -0
  3163. package/dist/agent/stall/guard.js +248 -0
  3164. package/dist/agent/stall/guard.js.map +1 -0
  3165. package/dist/agent/status/status.d.ts +32 -0
  3166. package/dist/agent/status/status.d.ts.map +1 -0
  3167. package/dist/agent/status/status.js +116 -0
  3168. package/dist/agent/status/status.js.map +1 -0
  3169. package/dist/agent/subagents/contracts.d.ts +82 -0
  3170. package/dist/agent/subagents/contracts.d.ts.map +1 -0
  3171. package/dist/agent/subagents/contracts.js +114 -0
  3172. package/dist/agent/subagents/contracts.js.map +1 -0
  3173. package/dist/agent/subagents/declared.d.ts +44 -0
  3174. package/dist/agent/subagents/declared.d.ts.map +1 -0
  3175. package/dist/agent/subagents/declared.js +152 -0
  3176. package/dist/agent/subagents/declared.js.map +1 -0
  3177. package/dist/agent/testing/driver-allowlist.d.ts +103 -0
  3178. package/dist/agent/testing/driver-allowlist.d.ts.map +1 -0
  3179. package/dist/agent/testing/driver-allowlist.js +193 -0
  3180. package/dist/agent/testing/driver-allowlist.js.map +1 -0
  3181. package/dist/agent/tools/add_label.d.ts +52 -0
  3182. package/dist/agent/tools/add_label.d.ts.map +1 -0
  3183. package/dist/agent/tools/add_label.js +63 -0
  3184. package/dist/agent/tools/add_label.js.map +1 -0
  3185. package/dist/agent/tools/add_routine_rule.d.ts +38 -0
  3186. package/dist/agent/tools/add_routine_rule.d.ts.map +1 -0
  3187. package/dist/agent/tools/add_routine_rule.js +182 -0
  3188. package/dist/agent/tools/add_routine_rule.js.map +1 -0
  3189. package/dist/agent/tools/agent_version.d.ts +17 -0
  3190. package/dist/agent/tools/agent_version.d.ts.map +1 -0
  3191. package/dist/agent/tools/agent_version.js +38 -0
  3192. package/dist/agent/tools/agent_version.js.map +1 -0
  3193. package/dist/agent/tools/assign.d.ts +74 -0
  3194. package/dist/agent/tools/assign.d.ts.map +1 -0
  3195. package/dist/agent/tools/assign.js +167 -0
  3196. package/dist/agent/tools/assign.js.map +1 -0
  3197. package/dist/agent/tools/aws.d.ts +33 -0
  3198. package/dist/agent/tools/aws.d.ts.map +1 -0
  3199. package/dist/agent/tools/aws.js +164 -0
  3200. package/dist/agent/tools/aws.js.map +1 -0
  3201. package/dist/agent/tools/browser_tools.d.ts +3 -0
  3202. package/dist/agent/tools/browser_tools.d.ts.map +1 -0
  3203. package/dist/agent/tools/browser_tools.js +21 -0
  3204. package/dist/agent/tools/browser_tools.js.map +1 -0
  3205. package/dist/agent/tools/cancel_routine.d.ts +27 -0
  3206. package/dist/agent/tools/cancel_routine.d.ts.map +1 -0
  3207. package/dist/agent/tools/cancel_routine.js +123 -0
  3208. package/dist/agent/tools/cancel_routine.js.map +1 -0
  3209. package/dist/agent/tools/capture_events.d.ts +17 -0
  3210. package/dist/agent/tools/capture_events.d.ts.map +1 -0
  3211. package/dist/agent/tools/capture_events.js +51 -0
  3212. package/dist/agent/tools/capture_events.js.map +1 -0
  3213. package/dist/agent/tools/check_pr_status.d.ts +52 -0
  3214. package/dist/agent/tools/check_pr_status.d.ts.map +1 -0
  3215. package/dist/agent/tools/check_pr_status.js +66 -0
  3216. package/dist/agent/tools/check_pr_status.js.map +1 -0
  3217. package/dist/agent/tools/checkout_repo.d.ts +3 -0
  3218. package/dist/agent/tools/checkout_repo.d.ts.map +1 -0
  3219. package/dist/agent/tools/checkout_repo.js +158 -0
  3220. package/dist/agent/tools/checkout_repo.js.map +1 -0
  3221. package/dist/agent/tools/clear_connector_override.d.ts +48 -0
  3222. package/dist/agent/tools/clear_connector_override.d.ts.map +1 -0
  3223. package/dist/agent/tools/clear_connector_override.js +134 -0
  3224. package/dist/agent/tools/clear_connector_override.js.map +1 -0
  3225. package/dist/agent/tools/clear_spend_limit.d.ts +51 -0
  3226. package/dist/agent/tools/clear_spend_limit.d.ts.map +1 -0
  3227. package/dist/agent/tools/clear_spend_limit.js +162 -0
  3228. package/dist/agent/tools/clear_spend_limit.js.map +1 -0
  3229. package/dist/agent/tools/complete_job.d.ts +15 -0
  3230. package/dist/agent/tools/complete_job.d.ts.map +1 -0
  3231. package/dist/agent/tools/complete_job.js +59 -0
  3232. package/dist/agent/tools/complete_job.js.map +1 -0
  3233. package/dist/agent/tools/complete_thread.d.ts +8 -0
  3234. package/dist/agent/tools/complete_thread.d.ts.map +1 -0
  3235. package/dist/agent/tools/complete_thread.js +125 -0
  3236. package/dist/agent/tools/complete_thread.js.map +1 -0
  3237. package/dist/agent/tools/confirm_link.d.ts +84 -0
  3238. package/dist/agent/tools/confirm_link.d.ts.map +1 -0
  3239. package/dist/agent/tools/confirm_link.js +437 -0
  3240. package/dist/agent/tools/confirm_link.js.map +1 -0
  3241. package/dist/agent/tools/connector.d.ts +34 -0
  3242. package/dist/agent/tools/connector.d.ts.map +1 -0
  3243. package/dist/agent/tools/connector.js +212 -0
  3244. package/dist/agent/tools/connector.js.map +1 -0
  3245. package/dist/agent/tools/create_agent.d.ts +77 -0
  3246. package/dist/agent/tools/create_agent.d.ts.map +1 -0
  3247. package/dist/agent/tools/create_agent.js +261 -0
  3248. package/dist/agent/tools/create_agent.js.map +1 -0
  3249. package/dist/agent/tools/create_routine.d.ts +95 -0
  3250. package/dist/agent/tools/create_routine.d.ts.map +1 -0
  3251. package/dist/agent/tools/create_routine.js +437 -0
  3252. package/dist/agent/tools/create_routine.js.map +1 -0
  3253. package/dist/agent/tools/create_skill.d.ts +3 -0
  3254. package/dist/agent/tools/create_skill.d.ts.map +1 -0
  3255. package/dist/agent/tools/create_skill.js +157 -0
  3256. package/dist/agent/tools/create_skill.js.map +1 -0
  3257. package/dist/agent/tools/create_ticket.d.ts +70 -0
  3258. package/dist/agent/tools/create_ticket.d.ts.map +1 -0
  3259. package/dist/agent/tools/create_ticket.js +171 -0
  3260. package/dist/agent/tools/create_ticket.js.map +1 -0
  3261. package/dist/agent/tools/declare_webhook.d.ts +70 -0
  3262. package/dist/agent/tools/declare_webhook.d.ts.map +1 -0
  3263. package/dist/agent/tools/declare_webhook.js +321 -0
  3264. package/dist/agent/tools/declare_webhook.js.map +1 -0
  3265. package/dist/agent/tools/delete_skill.d.ts +3 -0
  3266. package/dist/agent/tools/delete_skill.d.ts.map +1 -0
  3267. package/dist/agent/tools/delete_skill.js +125 -0
  3268. package/dist/agent/tools/delete_skill.js.map +1 -0
  3269. package/dist/agent/tools/describe_image.d.ts +72 -0
  3270. package/dist/agent/tools/describe_image.d.ts.map +1 -0
  3271. package/dist/agent/tools/describe_image.js +269 -0
  3272. package/dist/agent/tools/describe_image.js.map +1 -0
  3273. package/dist/agent/tools/dm_person.d.ts +43 -0
  3274. package/dist/agent/tools/dm_person.d.ts.map +1 -0
  3275. package/dist/agent/tools/dm_person.js +190 -0
  3276. package/dist/agent/tools/dm_person.js.map +1 -0
  3277. package/dist/agent/tools/edit_reply.d.ts +56 -0
  3278. package/dist/agent/tools/edit_reply.d.ts.map +1 -0
  3279. package/dist/agent/tools/edit_reply.js +169 -0
  3280. package/dist/agent/tools/edit_reply.js.map +1 -0
  3281. package/dist/agent/tools/edit_routine.d.ts +32 -0
  3282. package/dist/agent/tools/edit_routine.d.ts.map +1 -0
  3283. package/dist/agent/tools/edit_routine.js +143 -0
  3284. package/dist/agent/tools/edit_routine.js.map +1 -0
  3285. package/dist/agent/tools/enable_routine.d.ts +30 -0
  3286. package/dist/agent/tools/enable_routine.d.ts.map +1 -0
  3287. package/dist/agent/tools/enable_routine.js +148 -0
  3288. package/dist/agent/tools/enable_routine.js.map +1 -0
  3289. package/dist/agent/tools/explain_permission.d.ts +27 -0
  3290. package/dist/agent/tools/explain_permission.d.ts.map +1 -0
  3291. package/dist/agent/tools/explain_permission.js +51 -0
  3292. package/dist/agent/tools/explain_permission.js.map +1 -0
  3293. package/dist/agent/tools/get_pr_feedback.d.ts +184 -0
  3294. package/dist/agent/tools/get_pr_feedback.d.ts.map +1 -0
  3295. package/dist/agent/tools/get_pr_feedback.js +77 -0
  3296. package/dist/agent/tools/get_pr_feedback.js.map +1 -0
  3297. package/dist/agent/tools/grant_tools.d.ts +27 -0
  3298. package/dist/agent/tools/grant_tools.d.ts.map +1 -0
  3299. package/dist/agent/tools/grant_tools.js +417 -0
  3300. package/dist/agent/tools/grant_tools.js.map +1 -0
  3301. package/dist/agent/tools/halt.d.ts +71 -0
  3302. package/dist/agent/tools/halt.d.ts.map +1 -0
  3303. package/dist/agent/tools/halt.js +157 -0
  3304. package/dist/agent/tools/halt.js.map +1 -0
  3305. package/dist/agent/tools/link_identity.d.ts +48 -0
  3306. package/dist/agent/tools/link_identity.d.ts.map +1 -0
  3307. package/dist/agent/tools/link_identity.js +283 -0
  3308. package/dist/agent/tools/link_identity.js.map +1 -0
  3309. package/dist/agent/tools/list_recent_events.d.ts +19 -0
  3310. package/dist/agent/tools/list_recent_events.d.ts.map +1 -0
  3311. package/dist/agent/tools/list_recent_events.js +55 -0
  3312. package/dist/agent/tools/list_recent_events.js.map +1 -0
  3313. package/dist/agent/tools/list_repos.d.ts +11 -0
  3314. package/dist/agent/tools/list_repos.d.ts.map +1 -0
  3315. package/dist/agent/tools/list_repos.js +22 -0
  3316. package/dist/agent/tools/list_repos.js.map +1 -0
  3317. package/dist/agent/tools/list_routines.d.ts +88 -0
  3318. package/dist/agent/tools/list_routines.d.ts.map +1 -0
  3319. package/dist/agent/tools/list_routines.js +143 -0
  3320. package/dist/agent/tools/list_routines.js.map +1 -0
  3321. package/dist/agent/tools/list_skills.d.ts +21 -0
  3322. package/dist/agent/tools/list_skills.d.ts.map +1 -0
  3323. package/dist/agent/tools/list_skills.js +34 -0
  3324. package/dist/agent/tools/list_skills.js.map +1 -0
  3325. package/dist/agent/tools/list_webhooks.d.ts +27 -0
  3326. package/dist/agent/tools/list_webhooks.d.ts.map +1 -0
  3327. package/dist/agent/tools/list_webhooks.js +66 -0
  3328. package/dist/agent/tools/list_webhooks.js.map +1 -0
  3329. package/dist/agent/tools/memory_admin_list.d.ts +10 -0
  3330. package/dist/agent/tools/memory_admin_list.d.ts.map +1 -0
  3331. package/dist/agent/tools/memory_admin_list.js +72 -0
  3332. package/dist/agent/tools/memory_admin_list.js.map +1 -0
  3333. package/dist/agent/tools/memory_admin_read.d.ts +17 -0
  3334. package/dist/agent/tools/memory_admin_read.d.ts.map +1 -0
  3335. package/dist/agent/tools/memory_admin_read.js +85 -0
  3336. package/dist/agent/tools/memory_admin_read.js.map +1 -0
  3337. package/dist/agent/tools/message_thread_seat.d.ts +7 -0
  3338. package/dist/agent/tools/message_thread_seat.d.ts.map +1 -0
  3339. package/dist/agent/tools/message_thread_seat.js +133 -0
  3340. package/dist/agent/tools/message_thread_seat.js.map +1 -0
  3341. package/dist/agent/tools/no_reply.d.ts +31 -0
  3342. package/dist/agent/tools/no_reply.d.ts.map +1 -0
  3343. package/dist/agent/tools/no_reply.js +251 -0
  3344. package/dist/agent/tools/no_reply.js.map +1 -0
  3345. package/dist/agent/tools/open_pull_request.d.ts +23 -0
  3346. package/dist/agent/tools/open_pull_request.d.ts.map +1 -0
  3347. package/dist/agent/tools/open_pull_request.js +323 -0
  3348. package/dist/agent/tools/open_pull_request.js.map +1 -0
  3349. package/dist/agent/tools/permission_fit_report.d.ts +63 -0
  3350. package/dist/agent/tools/permission_fit_report.d.ts.map +1 -0
  3351. package/dist/agent/tools/permission_fit_report.js +173 -0
  3352. package/dist/agent/tools/permission_fit_report.js.map +1 -0
  3353. package/dist/agent/tools/post_file.d.ts +7 -0
  3354. package/dist/agent/tools/post_file.d.ts.map +1 -0
  3355. package/dist/agent/tools/post_file.js +372 -0
  3356. package/dist/agent/tools/post_file.js.map +1 -0
  3357. package/dist/agent/tools/post_message.d.ts +32 -0
  3358. package/dist/agent/tools/post_message.d.ts.map +1 -0
  3359. package/dist/agent/tools/post_message.js +158 -0
  3360. package/dist/agent/tools/post_message.js.map +1 -0
  3361. package/dist/agent/tools/post_pr_walkthrough.d.ts +126 -0
  3362. package/dist/agent/tools/post_pr_walkthrough.d.ts.map +1 -0
  3363. package/dist/agent/tools/post_pr_walkthrough.js +200 -0
  3364. package/dist/agent/tools/post_pr_walkthrough.js.map +1 -0
  3365. package/dist/agent/tools/purge_memory.d.ts +105 -0
  3366. package/dist/agent/tools/purge_memory.d.ts.map +1 -0
  3367. package/dist/agent/tools/purge_memory.js +271 -0
  3368. package/dist/agent/tools/purge_memory.js.map +1 -0
  3369. package/dist/agent/tools/query_analytics.d.ts +59 -0
  3370. package/dist/agent/tools/query_analytics.d.ts.map +1 -0
  3371. package/dist/agent/tools/query_analytics.js +80 -0
  3372. package/dist/agent/tools/query_analytics.js.map +1 -0
  3373. package/dist/agent/tools/react.d.ts +23 -0
  3374. package/dist/agent/tools/react.d.ts.map +1 -0
  3375. package/dist/agent/tools/react.js +185 -0
  3376. package/dist/agent/tools/react.js.map +1 -0
  3377. package/dist/agent/tools/read_channel.d.ts +28 -0
  3378. package/dist/agent/tools/read_channel.d.ts.map +1 -0
  3379. package/dist/agent/tools/read_channel.js +118 -0
  3380. package/dist/agent/tools/read_channel.js.map +1 -0
  3381. package/dist/agent/tools/read_docs.d.ts +27 -0
  3382. package/dist/agent/tools/read_docs.d.ts.map +1 -0
  3383. package/dist/agent/tools/read_docs.js +43 -0
  3384. package/dist/agent/tools/read_docs.js.map +1 -0
  3385. package/dist/agent/tools/read_file_upload.d.ts +32 -0
  3386. package/dist/agent/tools/read_file_upload.d.ts.map +1 -0
  3387. package/dist/agent/tools/read_file_upload.js +175 -0
  3388. package/dist/agent/tools/read_file_upload.js.map +1 -0
  3389. package/dist/agent/tools/read_routine_transcript.d.ts +31 -0
  3390. package/dist/agent/tools/read_routine_transcript.d.ts.map +1 -0
  3391. package/dist/agent/tools/read_routine_transcript.js +79 -0
  3392. package/dist/agent/tools/read_routine_transcript.js.map +1 -0
  3393. package/dist/agent/tools/read_thread.d.ts +29 -0
  3394. package/dist/agent/tools/read_thread.d.ts.map +1 -0
  3395. package/dist/agent/tools/read_thread.js +100 -0
  3396. package/dist/agent/tools/read_thread.js.map +1 -0
  3397. package/dist/agent/tools/read_thread_seat.d.ts +7 -0
  3398. package/dist/agent/tools/read_thread_seat.d.ts.map +1 -0
  3399. package/dist/agent/tools/read_thread_seat.js +84 -0
  3400. package/dist/agent/tools/read_thread_seat.js.map +1 -0
  3401. package/dist/agent/tools/read_webhook_history.d.ts +17 -0
  3402. package/dist/agent/tools/read_webhook_history.d.ts.map +1 -0
  3403. package/dist/agent/tools/read_webhook_history.js +45 -0
  3404. package/dist/agent/tools/read_webhook_history.js.map +1 -0
  3405. package/dist/agent/tools/read_work_channel.d.ts +26 -0
  3406. package/dist/agent/tools/read_work_channel.d.ts.map +1 -0
  3407. package/dist/agent/tools/read_work_channel.js +108 -0
  3408. package/dist/agent/tools/read_work_channel.js.map +1 -0
  3409. package/dist/agent/tools/read_work_thread.d.ts +27 -0
  3410. package/dist/agent/tools/read_work_thread.d.ts.map +1 -0
  3411. package/dist/agent/tools/read_work_thread.js +89 -0
  3412. package/dist/agent/tools/read_work_thread.js.map +1 -0
  3413. package/dist/agent/tools/record_follow_up.d.ts +19 -0
  3414. package/dist/agent/tools/record_follow_up.d.ts.map +1 -0
  3415. package/dist/agent/tools/record_follow_up.js +74 -0
  3416. package/dist/agent/tools/record_follow_up.js.map +1 -0
  3417. package/dist/agent/tools/record_job_state.d.ts +15 -0
  3418. package/dist/agent/tools/record_job_state.d.ts.map +1 -0
  3419. package/dist/agent/tools/record_job_state.js +47 -0
  3420. package/dist/agent/tools/record_job_state.js.map +1 -0
  3421. package/dist/agent/tools/record_watch_state.d.ts +15 -0
  3422. package/dist/agent/tools/record_watch_state.d.ts.map +1 -0
  3423. package/dist/agent/tools/record_watch_state.js +45 -0
  3424. package/dist/agent/tools/record_watch_state.js.map +1 -0
  3425. package/dist/agent/tools/remove_routine_rule.d.ts +32 -0
  3426. package/dist/agent/tools/remove_routine_rule.d.ts.map +1 -0
  3427. package/dist/agent/tools/remove_routine_rule.js +142 -0
  3428. package/dist/agent/tools/remove_routine_rule.js.map +1 -0
  3429. package/dist/agent/tools/reply.d.ts +73 -0
  3430. package/dist/agent/tools/reply.d.ts.map +1 -0
  3431. package/dist/agent/tools/reply.js +664 -0
  3432. package/dist/agent/tools/reply.js.map +1 -0
  3433. package/dist/agent/tools/report_run_failed.d.ts +17 -0
  3434. package/dist/agent/tools/report_run_failed.d.ts.map +1 -0
  3435. package/dist/agent/tools/report_run_failed.js +71 -0
  3436. package/dist/agent/tools/report_run_failed.js.map +1 -0
  3437. package/dist/agent/tools/request_access.d.ts +118 -0
  3438. package/dist/agent/tools/request_access.d.ts.map +1 -0
  3439. package/dist/agent/tools/request_access.js +408 -0
  3440. package/dist/agent/tools/request_access.js.map +1 -0
  3441. package/dist/agent/tools/request_credential_grant.d.ts +101 -0
  3442. package/dist/agent/tools/request_credential_grant.d.ts.map +1 -0
  3443. package/dist/agent/tools/request_credential_grant.js +525 -0
  3444. package/dist/agent/tools/request_credential_grant.js.map +1 -0
  3445. package/dist/agent/tools/resume.d.ts +27 -0
  3446. package/dist/agent/tools/resume.d.ts.map +1 -0
  3447. package/dist/agent/tools/resume.js +137 -0
  3448. package/dist/agent/tools/resume.js.map +1 -0
  3449. package/dist/agent/tools/revoke_connector.d.ts +52 -0
  3450. package/dist/agent/tools/revoke_connector.d.ts.map +1 -0
  3451. package/dist/agent/tools/revoke_connector.js +129 -0
  3452. package/dist/agent/tools/revoke_connector.js.map +1 -0
  3453. package/dist/agent/tools/revoke_credential_grant.d.ts +12 -0
  3454. package/dist/agent/tools/revoke_credential_grant.d.ts.map +1 -0
  3455. package/dist/agent/tools/revoke_credential_grant.js +97 -0
  3456. package/dist/agent/tools/revoke_credential_grant.js.map +1 -0
  3457. package/dist/agent/tools/revoke_routine_permissions.d.ts +21 -0
  3458. package/dist/agent/tools/revoke_routine_permissions.d.ts.map +1 -0
  3459. package/dist/agent/tools/revoke_routine_permissions.js +72 -0
  3460. package/dist/agent/tools/revoke_routine_permissions.js.map +1 -0
  3461. package/dist/agent/tools/rotate_webhook.d.ts +37 -0
  3462. package/dist/agent/tools/rotate_webhook.d.ts.map +1 -0
  3463. package/dist/agent/tools/rotate_webhook.js +170 -0
  3464. package/dist/agent/tools/rotate_webhook.js.map +1 -0
  3465. package/dist/agent/tools/run_routine_now.d.ts +23 -0
  3466. package/dist/agent/tools/run_routine_now.d.ts.map +1 -0
  3467. package/dist/agent/tools/run_routine_now.js +106 -0
  3468. package/dist/agent/tools/run_routine_now.js.map +1 -0
  3469. package/dist/agent/tools/sandbox_tools.d.ts +11 -0
  3470. package/dist/agent/tools/sandbox_tools.d.ts.map +1 -0
  3471. package/dist/agent/tools/sandbox_tools.js +75 -0
  3472. package/dist/agent/tools/sandbox_tools.js.map +1 -0
  3473. package/dist/agent/tools/search.d.ts +65 -0
  3474. package/dist/agent/tools/search.d.ts.map +1 -0
  3475. package/dist/agent/tools/search.js +114 -0
  3476. package/dist/agent/tools/search.js.map +1 -0
  3477. package/dist/agent/tools/session_cost.d.ts +39 -0
  3478. package/dist/agent/tools/session_cost.d.ts.map +1 -0
  3479. package/dist/agent/tools/session_cost.js +124 -0
  3480. package/dist/agent/tools/session_cost.js.map +1 -0
  3481. package/dist/agent/tools/set_dm_delivery.d.ts +23 -0
  3482. package/dist/agent/tools/set_dm_delivery.d.ts.map +1 -0
  3483. package/dist/agent/tools/set_dm_delivery.js +106 -0
  3484. package/dist/agent/tools/set_dm_delivery.js.map +1 -0
  3485. package/dist/agent/tools/set_spend_limit.d.ts +156 -0
  3486. package/dist/agent/tools/set_spend_limit.d.ts.map +1 -0
  3487. package/dist/agent/tools/set_spend_limit.js +437 -0
  3488. package/dist/agent/tools/set_spend_limit.js.map +1 -0
  3489. package/dist/agent/tools/set_state.d.ts +74 -0
  3490. package/dist/agent/tools/set_state.d.ts.map +1 -0
  3491. package/dist/agent/tools/set_state.js +166 -0
  3492. package/dist/agent/tools/set_state.js.map +1 -0
  3493. package/dist/agent/tools/spawn_thread_session.d.ts +9 -0
  3494. package/dist/agent/tools/spawn_thread_session.d.ts.map +1 -0
  3495. package/dist/agent/tools/spawn_thread_session.js +204 -0
  3496. package/dist/agent/tools/spawn_thread_session.js.map +1 -0
  3497. package/dist/agent/tools/spend_report.d.ts +180 -0
  3498. package/dist/agent/tools/spend_report.d.ts.map +1 -0
  3499. package/dist/agent/tools/spend_report.js +372 -0
  3500. package/dist/agent/tools/spend_report.js.map +1 -0
  3501. package/dist/agent/tools/stand_down.d.ts +91 -0
  3502. package/dist/agent/tools/stand_down.d.ts.map +1 -0
  3503. package/dist/agent/tools/stand_down.js +245 -0
  3504. package/dist/agent/tools/stand_down.js.map +1 -0
  3505. package/dist/agent/tools/subscribe_pr.d.ts +104 -0
  3506. package/dist/agent/tools/subscribe_pr.d.ts.map +1 -0
  3507. package/dist/agent/tools/subscribe_pr.js +213 -0
  3508. package/dist/agent/tools/subscribe_pr.js.map +1 -0
  3509. package/dist/agent/tools/unlink_identity.d.ts +19 -0
  3510. package/dist/agent/tools/unlink_identity.d.ts.map +1 -0
  3511. package/dist/agent/tools/unlink_identity.js +97 -0
  3512. package/dist/agent/tools/unlink_identity.js.map +1 -0
  3513. package/dist/agent/tools/update_status.d.ts +17 -0
  3514. package/dist/agent/tools/update_status.d.ts.map +1 -0
  3515. package/dist/agent/tools/update_status.js +59 -0
  3516. package/dist/agent/tools/update_status.js.map +1 -0
  3517. package/dist/agent/tools/usage_report.d.ts +59 -0
  3518. package/dist/agent/tools/usage_report.d.ts.map +1 -0
  3519. package/dist/agent/tools/usage_report.js +91 -0
  3520. package/dist/agent/tools/usage_report.js.map +1 -0
  3521. package/dist/agent/tools/walk_pr.d.ts +79 -0
  3522. package/dist/agent/tools/walk_pr.d.ts.map +1 -0
  3523. package/dist/agent/tools/walk_pr.js +133 -0
  3524. package/dist/agent/tools/walk_pr.js.map +1 -0
  3525. package/dist/agent/webhooks/achievability.d.ts +80 -0
  3526. package/dist/agent/webhooks/achievability.d.ts.map +1 -0
  3527. package/dist/agent/webhooks/achievability.js +216 -0
  3528. package/dist/agent/webhooks/achievability.js.map +1 -0
  3529. package/dist/agent/webhooks/capture-window.d.ts +86 -0
  3530. package/dist/agent/webhooks/capture-window.d.ts.map +1 -0
  3531. package/dist/agent/webhooks/capture-window.js +194 -0
  3532. package/dist/agent/webhooks/capture-window.js.map +1 -0
  3533. package/dist/agent/webhooks/config.d.ts +326 -0
  3534. package/dist/agent/webhooks/config.d.ts.map +1 -0
  3535. package/dist/agent/webhooks/config.js +280 -0
  3536. package/dist/agent/webhooks/config.js.map +1 -0
  3537. package/dist/agent/webhooks/dispatch.d.ts +103 -0
  3538. package/dist/agent/webhooks/dispatch.d.ts.map +1 -0
  3539. package/dist/agent/webhooks/dispatch.js +358 -0
  3540. package/dist/agent/webhooks/dispatch.js.map +1 -0
  3541. package/dist/agent/webhooks/gate.d.ts +128 -0
  3542. package/dist/agent/webhooks/gate.d.ts.map +1 -0
  3543. package/dist/agent/webhooks/gate.js +296 -0
  3544. package/dist/agent/webhooks/gate.js.map +1 -0
  3545. package/dist/agent/webhooks/handshake-capture.d.ts +66 -0
  3546. package/dist/agent/webhooks/handshake-capture.d.ts.map +1 -0
  3547. package/dist/agent/webhooks/handshake-capture.js +126 -0
  3548. package/dist/agent/webhooks/handshake-capture.js.map +1 -0
  3549. package/dist/agent/webhooks/hooks-codemod.d.ts +73 -0
  3550. package/dist/agent/webhooks/hooks-codemod.d.ts.map +1 -0
  3551. package/dist/agent/webhooks/hooks-codemod.js +231 -0
  3552. package/dist/agent/webhooks/hooks-codemod.js.map +1 -0
  3553. package/dist/agent/webhooks/oe-standard-webhook.d.ts +153 -0
  3554. package/dist/agent/webhooks/oe-standard-webhook.d.ts.map +1 -0
  3555. package/dist/agent/webhooks/oe-standard-webhook.js +498 -0
  3556. package/dist/agent/webhooks/oe-standard-webhook.js.map +1 -0
  3557. package/dist/agent/webhooks/reject-audit.d.ts +40 -0
  3558. package/dist/agent/webhooks/reject-audit.d.ts.map +1 -0
  3559. package/dist/agent/webhooks/reject-audit.js +99 -0
  3560. package/dist/agent/webhooks/reject-audit.js.map +1 -0
  3561. package/dist/agent/webhooks/replay-dedupe.d.ts +58 -0
  3562. package/dist/agent/webhooks/replay-dedupe.d.ts.map +1 -0
  3563. package/dist/agent/webhooks/replay-dedupe.js +159 -0
  3564. package/dist/agent/webhooks/replay-dedupe.js.map +1 -0
  3565. package/dist/agent/webhooks/reveal-page.d.ts +116 -0
  3566. package/dist/agent/webhooks/reveal-page.d.ts.map +1 -0
  3567. package/dist/agent/webhooks/reveal-page.js +443 -0
  3568. package/dist/agent/webhooks/reveal-page.js.map +1 -0
  3569. package/dist/agent/webhooks/secrets.d.ts +17 -0
  3570. package/dist/agent/webhooks/secrets.d.ts.map +1 -0
  3571. package/dist/agent/webhooks/secrets.js +73 -0
  3572. package/dist/agent/webhooks/secrets.js.map +1 -0
  3573. package/dist/agent/webhooks/source-vocabulary.d.ts +131 -0
  3574. package/dist/agent/webhooks/source-vocabulary.d.ts.map +1 -0
  3575. package/dist/agent/webhooks/source-vocabulary.js +315 -0
  3576. package/dist/agent/webhooks/source-vocabulary.js.map +1 -0
  3577. package/dist/agent/webhooks/verifier.d.ts +251 -0
  3578. package/dist/agent/webhooks/verifier.d.ts.map +1 -0
  3579. package/dist/agent/webhooks/verifier.js +109 -0
  3580. package/dist/agent/webhooks/verifier.js.map +1 -0
  3581. package/dist/scripts/operator-store-connect.d.ts +86 -0
  3582. package/dist/scripts/operator-store-connect.d.ts.map +1 -0
  3583. package/dist/scripts/operator-store-connect.js +218 -0
  3584. package/dist/scripts/operator-store-connect.js.map +1 -0
  3585. package/package.json +3397 -0
  3586. package/patches/eve+0.54.3.patch +129 -0
  3587. package/scripts/eve-framework-tools.ts +367 -0
  3588. package/scripts/oe-cli.ts +293 -0
  3589. package/scripts/oe-secret.ts +278 -0
  3590. package/scripts/oe-wrap-untrusted.ts +63 -0
  3591. package/scripts/operator-store-connect.ts +246 -0
  3592. package/templates/subagents/fresh_eyes_review/agent.ts +37 -0
  3593. package/templates/subagents/fresh_eyes_review/hooks/spend.ts +16 -0
  3594. package/templates/subagents/fresh_eyes_review/instructions.md +52 -0
  3595. package/templates/subagents/fresh_eyes_review/tools/ask_question.ts +13 -0
  3596. package/templates/subagents/fresh_eyes_review/tools/bash.ts +13 -0
  3597. package/templates/subagents/fresh_eyes_review/tools/connection_search.ts +52 -0
  3598. package/templates/subagents/fresh_eyes_review/tools/load_skill.ts +13 -0
  3599. package/templates/subagents/fresh_eyes_review/tools/read_file.ts +13 -0
  3600. package/templates/subagents/fresh_eyes_review/tools/task_cancel.ts +20 -0
  3601. package/templates/subagents/fresh_eyes_review/tools/todo.ts +13 -0
  3602. package/templates/subagents/fresh_eyes_review/tools/web_fetch.ts +13 -0
  3603. package/templates/subagents/fresh_eyes_review/tools/web_search.ts +13 -0
  3604. package/templates/subagents/fresh_eyes_review/tools/write_file.ts +13 -0
  3605. package/tsconfig.build.json +24 -0
  3606. package/tsconfig.json +15 -0
@@ -0,0 +1,1200 @@
1
+ // The turn boundary lives in ONE hook file because eve gives no ordering guarantee BETWEEN hook files: the reset must provably precede every taint seed.
2
+ // Any future taint producer that fires at turn.started must be an attribute in TAINT_SEED_ATTRS, never a markUntrustedIngestedThisTurn call in another hook file.
3
+ import { defineHook } from "eve/hooks";
4
+ import { defineState } from "eve/context";
5
+ import { OE_SPAWN_TAINTED_ATTR } from "../channels/unified.js";
6
+ import { beginTaintTurn, markUntrustedIngestedThisTurn, registerTaintFlipObserver, registerTaintKindObserver, taintKindsThisTurn, untrustedIngestedThisTurn, OE_TAINTED_FIRE_ATTR, OE_CHAT_NONMEMBER_ATTR, } from "../access/taint-signal.js";
7
+ import { INGESTION_KINDS } from "../access/taint-tiers.js";
8
+ import { markSubagentTainted, claimSubagentCallClean, markSubagentCallTainted, subagentCallTaintRecord, rememberTaskCall, rememberTaskAgent, taskCallLink, taskAgentLink, } from "../access/subagent-taint.js";
9
+ import { readDelegationFailure, readTaskReceipt, taskNotificationFailure, taskNotificationStartsWithTerminal, taskViewsOf, terminalTaskNotifications, terminalTaskViewsOf, } from "../access/background-tasks.js";
10
+ import { JOB_TAINT_ATTR } from "../access/job-posture.js";
11
+ import { beginTaintVerdictTurn, registerTaintVerdictSink, taintEnabled, taintMode } from "../access/taint-enforcement.js";
12
+ import { appendAudit } from "../audit/audit.js";
13
+ import { auditErrorDetail, auditErrorFrames } from "../audit/tool-action.js";
14
+ import { bindFrom, currentSessionId, currentTurnId, deliveryStampOf, deploymentOrg, inheritedWakeStampOf, isSubagentChildContext, isUnifiedWindowContext, } from "../identity/binding.js";
15
+ import { resolveOwnWindowToken } from "../access/delegation-mount.js";
16
+ import { advanceDelegatedTaskWake, delegatedTaskDispatchAuthority, installTaskWake, openTaskWake, rememberDelegatedTaskBinding, rememberDelegatedTaskWake } from "../channels/task-wake.js";
17
+ import { noteTurnBoundary, taskWakeThisTurn, uningressedTurn } from "../access/task-wake-signal.js";
18
+ import { clearStreamDropRetries, streamDropRetriesThisTurn } from "../model/stream-drop-retry.js";
19
+ import { addressedWakeThisTurn, exactDispatchWakeThisTurn, noteTaskDispatchedThisTurn } from "../access/dispatch-origin-signal.js";
20
+ import { requesterThisTurn } from "../access/requester-identity.js";
21
+ import { noteSettlementDispatchAuthority, settlementDispatchAuthorityThisTurn } from "../access/settlement-dispatch-signal.js";
22
+ import { claimPromisedReport, notePendingDelegation, noteDelegationSettled, noteSettlementReportOwed } from "../access/pending-delegation-signal.js";
23
+ import { clearGenerationDelegation, noteGenerationDelegation } from "../channels/generation-retirement.js";
24
+ import { delegatedSecondAddress, delegatingParentLink, settleDelegatedReads } from "../channels/delegated-provenance.js";
25
+ import { stampReadReach } from "../channels/read-reach.js";
26
+ import { resolvePartition } from "../memory/partition.js";
27
+ import { flushDirtyTreeAtTurnEnd, flushSettledMemory, noteTaskDispatched, noteTaskSettled, noteTaskViews } from "./settlement-flush.js";
28
+ // This sink is the LOG, never the control: decideIngestion classifies with no reference to it, so a process that never loaded this hook still enforces and simply writes no rows. Nothing here may grow into the decision path.
29
+ const TAINT_VERDICT_ACTION = "taint.verdict";
30
+ /**
31
+ * WHICH TURN WROTE A VERDICT ROW (OPE-1907) — ids only, and every one of them OPTIONAL.
32
+ *
33
+ * 🔴 WHY THE ROW NEEDS IT. A `taint.verdict` row carried no session identity at all, so the only
34
+ * way to attribute one to a particular wake was to scan a time window and hope nothing else ran in
35
+ * it. S-TAINT-DRYRUN's Notion arm did exactly that, and could not tell its own forged replay's
36
+ * verdict from an ambient one. `sessionId` + `turnId` join the row to the `wake.turn_start` row of
37
+ * the turn that ingested, which is already keyed by `wakeId`.
38
+ *
39
+ * 🔴 `parentSessionId` IS THE IMMEDIATE DELEGATING PARENT, NOT A TRANSITIVE ROOT. The seat delegates
40
+ * the read to a worker, so the verdict is written under the WORKER's session while the wake joins
41
+ * to the SEAT's. One hop is what `delegatingParentLink` can establish, and claiming a root over a
42
+ * deeper chain would be a claim this data does not support.
43
+ *
44
+ * Absent values are OMITTED, never written as `undefined`: a key with no value reads, to anyone
45
+ * querying the trail, like a value that was looked for and found empty. IDS ONLY — the content
46
+ * invariant on this row (names, tiers and reasons, never a byte of what was ingested) is unchanged.
47
+ */
48
+ export function taintVerdictIdentityDetail(turn, subagent) {
49
+ const out = {};
50
+ if (turn?.sessionId)
51
+ out.sessionId = turn.sessionId;
52
+ if (turn?.turnId)
53
+ out.turnId = turn.turnId;
54
+ const parent = subagent?.parent?.sessionId;
55
+ // A session is never its own parent — a self-link would make the join look like a delegation.
56
+ if (parent && parent !== turn?.sessionId)
57
+ out.parentSessionId = parent;
58
+ return out;
59
+ }
60
+ /** Read the two identity slots without letting an unreadable one cost the row. The sink runs on the
61
+ * ingestion path, where a missing eve context is a normal shape, so this fails to `{}`. */
62
+ function liveTaintVerdictIdentity() {
63
+ try {
64
+ return taintVerdictIdentityDetail(turnIdentity.get(), subagentIdentity.get());
65
+ }
66
+ catch {
67
+ return {};
68
+ }
69
+ }
70
+ registerTaintVerdictSink((row) => {
71
+ void appendAudit({
72
+ org: deploymentOrg(),
73
+ // No platform or workspace is reachable at an ingestion site, and inventing one would be a lie in a taint-clean field; `ingest` names the plane the row came from.
74
+ platform: "ingest",
75
+ workspace: row.kind,
76
+ action: TAINT_VERDICT_ACTION,
77
+ // Names, tiers and reasons ONLY — never a byte of what was ingested. Plus the turn's own ids,
78
+ // which are what makes one row attributable to one wake.
79
+ detail: { ...row, ...liveTaintVerdictIdentity() },
80
+ }).catch(() => undefined);
81
+ });
82
+ /** Additive-only: a new taint producer adds its attribute name here, and the one consumer below is unchanged. */
83
+ export const TAINT_SEED_ATTRS = [
84
+ OE_SPAWN_TAINTED_ATTR,
85
+ OE_TAINTED_FIRE_ATTR,
86
+ JOB_TAINT_ATTR,
87
+ OE_CHAT_NONMEMBER_ATTR,
88
+ ];
89
+ /** Read `current` ONLY, never the session's `initiator`: initiator attributes are session-invariant, so seeding off them would re-taint every turn of a child or job session forever. */
90
+ function currentAttrs(ctx) {
91
+ return ctx.session?.auth?.current?.attributes;
92
+ }
93
+ /** eve can hand an attribute back as `string[]` (the same collapse routines/routine.ts's
94
+ * routineMarker and access/job-posture.ts's stamp readers do) — so a seed check that only matched
95
+ * the scalar spelling would silently miss the array one. */
96
+ function stampedTrue(v) {
97
+ const first = Array.isArray(v) ? v[0] : v;
98
+ return first === "true" || first === true;
99
+ }
100
+ export function seedIfTainted(ctx) {
101
+ try {
102
+ const attrs = currentAttrs(ctx);
103
+ for (const name of TAINT_SEED_ATTRS) {
104
+ if (stampedTrue(attrs?.[name])) {
105
+ markUntrustedIngestedThisTurn();
106
+ return;
107
+ }
108
+ }
109
+ }
110
+ catch {
111
+ // Best-effort: seeding the belt must never disturb the turn (the approval-card control is primary).
112
+ }
113
+ }
114
+ /** When the turn id is UNREADABLE the two resets go opposite ways — the taint signal keeps its state, the verdict memo clears. The memo governs audit rows only, so a missed reset can never cost an ingestion its verdict. */
115
+ export function openTaintTurn(ctx) {
116
+ // Identity FIRST: `seedIfTainted` below can fire the flip observer synchronously on this same turn, and the observer reads this slot, so an unset slot would lose the child's own mark.
117
+ rememberSubagentIdentity(ctx);
118
+ rememberTurnIdentity(ctx);
119
+ let turnId;
120
+ try {
121
+ turnId = currentTurnId(ctx);
122
+ }
123
+ catch {
124
+ turnId = undefined; // unreadable ⇒ beginTaintTurn keeps the stricter (unreset) state
125
+ }
126
+ beginTaintTurn(turnId);
127
+ beginTaintVerdictTurn(turnId);
128
+ seedIfTainted(ctx);
129
+ adoptParentTurnTaint(ctx);
130
+ // OPE-1467, and it must sit AFTER the line above rather than beside `rememberTurnIdentity`: this
131
+ // write overwrites the pin this session's own parent put in the bag, and the adoption reads that
132
+ // pin. See {@link recordDispatchTurnForChildren}.
133
+ recordDispatchTurnForChildren();
134
+ announceTaintOff(ctx);
135
+ }
136
+ const TAINT_MODE_ACTION = "taint.mode";
137
+ const taintModeAnnounced = defineState("open-everywhere.taint-mode-announced", () => false);
138
+ /** Write the once-per-session `taint.mode` row when — and only when — the model is OFF, so an audit trail with the security model disabled never reads identically to a clean one. */
139
+ export function announceTaintOff(ctx) {
140
+ try {
141
+ if (taintEnabled())
142
+ return false;
143
+ let first = false;
144
+ taintModeAnnounced.update((cur) => {
145
+ if (cur === true)
146
+ return true;
147
+ first = true;
148
+ return true;
149
+ });
150
+ if (!first)
151
+ return false;
152
+ const sessionId = ctx.session?.id;
153
+ void appendAudit({
154
+ org: deploymentOrg(),
155
+ platform: "ingest",
156
+ workspace: "taint",
157
+ action: TAINT_MODE_ACTION,
158
+ detail: {
159
+ mode: taintMode(),
160
+ ...(typeof sessionId === "string" && sessionId.length > 0 ? { session: sessionId } : {}),
161
+ marking: "disabled",
162
+ fencing: "unchanged",
163
+ },
164
+ }).catch(() => undefined);
165
+ return true;
166
+ }
167
+ catch {
168
+ /* the stamp is a recorder, never a gate — a turn may not fail because its posture went unlogged */
169
+ return false;
170
+ }
171
+ }
172
+ // eve never delivers `subagent.called` through hook dispatch, so the CHILD writes a call-keyed marker under a key the parent reconstructs from its own session id and the `callId` on the result.
173
+ /** Resolved at `turn.started`, where a ctx exists, and read by the flip observer, where one does not. `parent` is null for a root session and for a child eve gave no usable link. */
174
+ const subagentIdentity = defineState("open-everywhere.subagent-taint.identity", () => null);
175
+ /** Second source: the child's `subagent:<parentSessionId>:<callId>` continuation token, parsed only on that exact shape with colon-free ids — anything ambiguous is declined.
176
+ * ONE implementation, in `channels/delegated-provenance.ts`: the provenance plane keys its own per-delegation row on the same pair, and two copies of this parse drifting apart would let the two planes disagree about which delegation a worker belongs to. */
177
+ function readParentLink(ctx) {
178
+ return delegatingParentLink(ctx);
179
+ }
180
+ /**
181
+ * CLEAR-FIRST on every turn, so a slot can never outlive the session shape that wrote it.
182
+ * On the first turn a session is identified as a child, claim the call-keyed marker CLEAN (put-if-absent, fire-and-forget), so an absent marker later means lost, not clean.
183
+ */
184
+ function rememberSubagentIdentity(ctx) {
185
+ try {
186
+ const c = ctx;
187
+ const sessionId = c.session?.id;
188
+ const child = isSubagentChildContext(c) && typeof sessionId === "string" && sessionId.length > 0;
189
+ const parent = child ? readParentLink(ctx) : null;
190
+ let firstSightingWithParent = false;
191
+ subagentIdentity.update((cur) => {
192
+ if (!child)
193
+ return null;
194
+ firstSightingWithParent = cur === null && parent !== null;
195
+ return { org: deploymentOrg(), sessionId, parent };
196
+ });
197
+ if (firstSightingWithParent && parent !== null) {
198
+ void claimSubagentCallClean(deploymentOrg(), parent.sessionId, parent.callId);
199
+ }
200
+ }
201
+ catch {
202
+ /* no eve context — nothing to remember, and the observer's null read is the inert answer */
203
+ }
204
+ }
205
+ registerTaintFlipObserver(() => {
206
+ recordTurnTaintForChildren();
207
+ let who = null;
208
+ try {
209
+ who = subagentIdentity.get();
210
+ }
211
+ catch {
212
+ who = null;
213
+ }
214
+ if (who === null)
215
+ return; // not a child (the overwhelmingly common case) — one slot read, no I/O
216
+ void markSubagentTainted(who.org, who.sessionId);
217
+ writeCallTaintMarker();
218
+ });
219
+ /** Every write to the call-keyed marker is chained here so the row settles on the LAST list issued: three writes land on one key in an ordinary two-source turn and they carry DIFFERENT payloads, so a late-landing first write would overwrite the superset. */
220
+ let callTaintMarkerQueue = Promise.resolve();
221
+ /** The kind list is read here rather than passed in, so both seams that issue this write carry the full list the turn has reached. Fire-and-forget. */
222
+ function writeCallTaintMarker() {
223
+ let who = null;
224
+ try {
225
+ who = subagentIdentity.get();
226
+ }
227
+ catch {
228
+ who = null;
229
+ }
230
+ if (who === null || who.parent === null)
231
+ return;
232
+ let kinds = [];
233
+ try {
234
+ kinds = taintKindsThisTurn();
235
+ }
236
+ catch {
237
+ kinds = []; // unreadable ⇒ the bare marker, which is what this row carried before OPE-1251
238
+ }
239
+ const link = who.parent;
240
+ const org = who.org;
241
+ callTaintMarkerQueue = callTaintMarkerQueue.then(() => markSubagentCallTainted(org, link.sessionId, link.callId, kinds)).catch(() => undefined);
242
+ }
243
+ // Re-stamp when the kind list GROWS: the flip observer fires on the turn's first mark only, so a turn that read two sources handed its child one.
244
+ registerTaintKindObserver(() => {
245
+ recordTurnTaintForChildren();
246
+ writeCallTaintMarker();
247
+ });
248
+ // FAIL DIRECTION OPEN: an unreadable or unwritable auth bag means no stamp, and no stamp reads as a clean parent turn.
249
+ // FRAGILITY TRIPWIRE: this leg mutates an eve-owned auth object, so an eve bump that freezes `attributes` or gives `AuthKey` a copying codec turns it silently OFF; `scripts/native-subagent-test.ts` §D9 asserts those facts against the installed bytes.
250
+ const TAINT_FORWARD_ACTION = "taint.forward";
251
+ /** Deliberately NOT in TAINT_SEED_ATTRS: that table means the bare value `true`, and this discriminated stamp must be read through matchingForwardStamp instead. */
252
+ export const OE_PARENT_TURN_TAINTED_ATTR = "oe_parent_turn_tainted";
253
+ /**
254
+ * Names the turn that DISPATCHED a native child, `<sessionId>|<turnId>`, written by every turn of every session, tainted or clean. eve's `session.parent.turn` is not read: eve 0.51.0 re-pointed it to the dispatching turn PLUS ONE.
255
+ * It is an identity fact and never a taint signal, and it is deliberately absent from TAINT_SEED_ATTRS. Written AFTER the adoption reads it — see recordDispatchTurnForChildren.
256
+ */
257
+ export const OE_DISPATCH_TURN_ATTR = "oe_dispatch_turn";
258
+ function renderForwardStamp(sessionId, turnId, kinds) {
259
+ const named = kinds.filter((k) => INGESTION_KINDS.includes(k));
260
+ return named.length > 0 ? `${sessionId}|${turnId}|${named.join(",")}` : `${sessionId}|${turnId}`;
261
+ }
262
+ /** The kind tail is admitted BY TABLE, never by shape: a name that is not in INGESTION_KINDS is dropped, so nothing reaching an auth bag can put a name of its own choosing into a memory bullet or an approval card. */
263
+ function parseForwardStamp(value) {
264
+ if (typeof value !== "string" || value.length === 0)
265
+ return null;
266
+ const parts = value.split("|");
267
+ if (parts.length < 2 || parts.length > 3)
268
+ return null;
269
+ const [sessionId, turnId, tail] = parts;
270
+ if (sessionId === undefined || sessionId.length === 0 || turnId === undefined || turnId.length === 0)
271
+ return null;
272
+ const kinds = (tail ?? "").split(",").filter((k) => INGESTION_KINDS.includes(k));
273
+ return { sessionId, turnId, kinds, raw: value };
274
+ }
275
+ /** `attrs` is the LIVE auth-attributes object held by reference — that reference is the carriage. Null when the bag is unreachable, which makes the stamp a no-op and the leg fail OPEN. */
276
+ const turnIdentity = defineState("open-everywhere.taint-forward.turn-identity", () => null);
277
+ /** Holds the TURN ID rather than a boolean, so a long-lived window re-arms on every new turn without needing its own reset at the boundary. Only the audit row is deduped. */
278
+ const turnTaintRecorded = defineState("open-everywhere.taint-forward.recorded", () => null);
279
+ /** The live auth-attributes bag for this delivery, creating it when `auth.current` exists without
280
+ * one. Returns `null` when there is no writable bag — the fail-OPEN direction. */
281
+ function writableAuthAttrs(ctx) {
282
+ try {
283
+ const current = ctx.session?.auth?.current;
284
+ if (current === undefined || current === null)
285
+ return null;
286
+ const attrs = current.attributes;
287
+ if (typeof attrs === "object" && attrs !== null)
288
+ return attrs;
289
+ // eve populates `attributes` on every delivery OE mints, so this arm is the unmeasured shape
290
+ // (another channel, a future eve). Creating the bag is still the propagating direction.
291
+ const fresh = {};
292
+ current.attributes = fresh;
293
+ return current.attributes === fresh ? fresh : null;
294
+ }
295
+ catch {
296
+ return null;
297
+ }
298
+ }
299
+ function rememberTurnIdentity(ctx) {
300
+ try {
301
+ const c = ctx;
302
+ const sessionId = c.session?.id;
303
+ const turnId = currentTurnId(c);
304
+ const attrs = writableAuthAttrs(ctx);
305
+ turnIdentity.update(() => typeof sessionId === "string" && sessionId.length > 0 && typeof turnId === "string" && turnId.length > 0
306
+ ? { org: deploymentOrg(), sessionId, turnId, attrs }
307
+ : null);
308
+ }
309
+ catch {
310
+ /* no eve context — nothing to remember, and the writer's null read is the inert answer */
311
+ }
312
+ }
313
+ /** SYNCHRONOUS AND I/O-FREE by design, and it never throws: it runs on the ingestion path, and neither side of this hop may add a store read to a turn preamble. */
314
+ export function recordTurnTaintForChildren() {
315
+ try {
316
+ if (!untrustedIngestedThisTurn())
317
+ return false; // only a tainted turn has anything to hand on
318
+ const who = turnIdentity.get();
319
+ if (who === null || who.attrs === null)
320
+ return false; // no readable identity or bag ⇒ fail OPEN
321
+ const stamp = renderForwardStamp(who.sessionId, who.turnId, taintKindsThisTurn());
322
+ who.attrs[OE_PARENT_TURN_TAINTED_ATTR] = stamp;
323
+ if (who.attrs[OE_PARENT_TURN_TAINTED_ATTR] !== stamp)
324
+ return false; // a frozen bag: the tripwire case
325
+ let first = false;
326
+ turnTaintRecorded.update((cur) => {
327
+ if (cur === who.turnId)
328
+ return cur;
329
+ first = true;
330
+ return who.turnId;
331
+ });
332
+ if (first) {
333
+ void appendAudit({
334
+ org: who.org,
335
+ platform: "ingest",
336
+ workspace: "taint",
337
+ action: TAINT_FORWARD_ACTION,
338
+ // Identifiers only — never a byte of what was ingested.
339
+ detail: { leg: "mark", session: who.sessionId, turn: who.turnId },
340
+ }).catch(() => undefined);
341
+ }
342
+ return true;
343
+ }
344
+ catch {
345
+ return false;
346
+ }
347
+ }
348
+ /** eve's pinned `session.parent.turn` is deliberately never read on this leg: it names the FIRST dispatch, and since eve 0.51.0 it names the dispatching turn plus one. */
349
+ function readParentSession(ctx) {
350
+ const sessionId = ctx.session?.parent?.sessionId;
351
+ if (typeof sessionId === "string" && sessionId.length > 0)
352
+ return sessionId;
353
+ return readParentLink(ctx)?.sessionId ?? null;
354
+ }
355
+ /** A child's own `turn.sequence` is 0 on its first turn only. An UNREADABLE sequence answers false, which keeps the narrower pin comparison in force. */
356
+ function laterTurnOfSameChild(ctx) {
357
+ const seq = ctx.session?.turn?.sequence;
358
+ return typeof seq === "number" && seq > 0;
359
+ }
360
+ /** Keyed `<stamp>@<the turn id that consumed it>`, because eve re-executes an uncommitted `turn.started` body on redelivery: keyed on the stamp alone, the replay would refuse its own adoption and the child would write an unmarked bullet. Bounded, oldest dropped first. */
361
+ const adoptedForwardStamps = defineState("open-everywhere.taint-forward.adopted-stamps", () => []);
362
+ /** An unreadable turn id yields the bare stamp, which is the stricter refuse-on-replay behaviour and the only honest answer when the turn cannot be named. */
363
+ function memoKey(raw, turnId) {
364
+ return typeof turnId === "string" && turnId.length > 0 ? `${raw}@${turnId}` : raw;
365
+ }
366
+ const MAX_REMEMBERED_STAMPS = 16;
367
+ /** A PURE READ whose answer is valid only BEFORE this turn's own adoption runs — the adoption's mark fires the flip observer, which re-stamps the same bag — so any later reader must use adoptedParentTurnTaintThisTurn instead. */
368
+ function matchingForwardStamp(ctx) {
369
+ try {
370
+ const parentSession = readParentSession(ctx);
371
+ if (parentSession === null)
372
+ return null;
373
+ const raw = currentAttrs(ctx)?.[OE_PARENT_TURN_TAINTED_ATTR];
374
+ const stamp = parseForwardStamp(Array.isArray(raw) ? raw[0] : raw);
375
+ if (stamp === null || stamp.sessionId !== parentSession)
376
+ return null;
377
+ // The turn half is compared only on the child's FIRST turn, where the pin names the turn that really dispatched it; on a later turn no pin can be shown to describe the delivery, so the adopted-stamp memo discriminates instead.
378
+ // An absent or unparseable pin REFUSES, which on this leg is the OPEN direction — a refused adoption is an UNTAINTED child. It inverts every other unreadable-signal arm here, so a parent on an older build stamps a taint with no pin and its first-turn children do not adopt.
379
+ if (!laterTurnOfSameChild(ctx)) {
380
+ const rawPin = currentAttrs(ctx)?.[OE_DISPATCH_TURN_ATTR];
381
+ const pin = parseForwardStamp(Array.isArray(rawPin) ? rawPin[0] : rawPin);
382
+ if (pin === null || pin.sessionId !== parentSession || pin.turnId !== stamp.turnId)
383
+ return null;
384
+ }
385
+ // The memo is consulted with THIS turn's key, so a redelivered body meets its own entry and
386
+ // re-adopts, while a later turn of the same child meets the earlier turn's entry and refuses.
387
+ let ownTurnId;
388
+ try {
389
+ ownTurnId = currentTurnId(ctx);
390
+ }
391
+ catch {
392
+ ownTurnId = undefined;
393
+ }
394
+ const memo = adoptedForwardStamps.get();
395
+ if (memo.includes(memoKey(stamp.raw, ownTurnId)))
396
+ return stamp; // this turn's own replay ⇒ re-adopt
397
+ return memo.some((k) => k === stamp.raw || k.startsWith(`${stamp.raw}@`)) ? null : stamp;
398
+ }
399
+ catch {
400
+ return null;
401
+ }
402
+ }
403
+ /** Written on EVERY turn, tainted or clean, and on a `taint.mode: "off"` deployment too: gating it would make its absence mean two things, and flipping the mode on would leave every live parent's children unable to discriminate. */
404
+ function recordDispatchTurnForChildren() {
405
+ try {
406
+ const who = turnIdentity.get();
407
+ if (who === null || who.attrs === null)
408
+ return false; // no readable identity or bag
409
+ // The same two-field rendering the taint stamp uses, with no kind tail — this attribute carries
410
+ // an identity, never a disclosure.
411
+ const pin = renderForwardStamp(who.sessionId, who.turnId, []);
412
+ who.attrs[OE_DISPATCH_TURN_ATTR] = pin;
413
+ return who.attrs[OE_DISPATCH_TURN_ATTR] === pin; // a frozen bag: the same tripwire case
414
+ }
415
+ catch {
416
+ return false;
417
+ }
418
+ }
419
+ /** The bag is a CARRIAGE, not a durable record of the adoption: the same turn that reads it also overwrites it, so a later reader gets a confident `false` from it. */
420
+ const parentTurnTaintAdopted = defineState("open-everywhere.taint-forward.adopted", () => null);
421
+ /**
422
+ * Do NOT re-derive this from the auth bag: eve awaits `turn.started` before it emits `message.received`, so every later hook edge reads the bag after the flip observer re-stamped it with this session's own pair, and a bag-reading fence never fires.
423
+ * Scoped to the CURRENT turn; an unreadable turn id on either side answers `true`, the direction that refuses capture.
424
+ */
425
+ export function adoptedParentTurnTaintThisTurn(ctx) {
426
+ try {
427
+ const recorded = parentTurnTaintAdopted.get();
428
+ if (recorded === null)
429
+ return false; // no adoption in this session at all — the common case
430
+ let turnId;
431
+ try {
432
+ turnId = currentTurnId(ctx);
433
+ }
434
+ catch {
435
+ turnId = undefined;
436
+ }
437
+ if (recorded.length === 0 || typeof turnId !== "string" || turnId.length === 0)
438
+ return true;
439
+ return recorded === turnId;
440
+ }
441
+ catch {
442
+ // No eve context ⇒ no session, so there is no turn to capture a message for either. Unreachable
443
+ // from the one caller, which always holds a hook context.
444
+ return false;
445
+ }
446
+ }
447
+ /** An EMPTY list still marks, with no class named: that is what a leg honestly knows when the carrier said tainted and nothing more. */
448
+ function adoptKinds(kinds) {
449
+ if (kinds.length === 0)
450
+ markUntrustedIngestedThisTurn();
451
+ else
452
+ for (const kind of kinds)
453
+ markUntrustedIngestedThisTurn(kind);
454
+ }
455
+ /** SYNCHRONOUS AND I/O-FREE, which is the property the design exists for: eve re-executes an uncommitted step body on redelivery, so a store read in a child's turn preamble re-runs with it. */
456
+ export function adoptParentTurnTaint(ctx) {
457
+ if (!taintEnabled())
458
+ return false;
459
+ try {
460
+ const stamp = matchingForwardStamp(ctx);
461
+ if (stamp === null)
462
+ return false;
463
+ // Written BEFORE the mark: the mark re-stamps the bag through the flip observer, so this slot is the only record of the adoption, and no observer may see a half-set state.
464
+ let ownTurnId;
465
+ try {
466
+ ownTurnId = currentTurnId(ctx);
467
+ }
468
+ catch {
469
+ ownTurnId = undefined; // unreadable ⇒ the empty sentinel, which reads as "this turn" downstream
470
+ }
471
+ parentTurnTaintAdopted.update(() => (typeof ownTurnId === "string" ? ownTurnId : ""));
472
+ adoptedForwardStamps.update((cur) => {
473
+ const key = memoKey(stamp.raw, ownTurnId);
474
+ return cur.includes(key) ? cur : [...cur, key].slice(-MAX_REMEMBERED_STAMPS);
475
+ });
476
+ adoptKinds(stamp.kinds);
477
+ const sessionId = ctx.session?.id;
478
+ void appendAudit({
479
+ org: deploymentOrg(),
480
+ platform: "ingest",
481
+ workspace: "taint",
482
+ action: TAINT_FORWARD_ACTION,
483
+ detail: {
484
+ leg: "adopt",
485
+ ...(typeof sessionId === "string" && sessionId.length > 0 ? { session: sessionId } : {}),
486
+ parentSession: stamp.sessionId,
487
+ parentTurn: stamp.turnId,
488
+ kinds: [...stamp.kinds],
489
+ },
490
+ }).catch(() => undefined);
491
+ return true;
492
+ }
493
+ catch {
494
+ // Fail-OPEN, matching this leg's documented direction: an unreadable forward signal cannot be
495
+ // told apart from a genuinely clean parent turn, and the alternative taints every worker.
496
+ return false;
497
+ }
498
+ }
499
+ /** `ownSessionId` must be the PARENT's own session id, read straight off `ctx` and never off an eve event. Returns whether the parent's turn was marked, for the test. */
500
+ export async function adoptSubagentTaint(callId, ownSessionId) {
501
+ // The switch is checked here too: the mark below is already inert when the model is off, but the marker READ is a store round trip on every delegation result.
502
+ if (!taintEnabled())
503
+ return false;
504
+ try {
505
+ const record = await subagentCallTaintRecord(deploymentOrg(), ownSessionId, callId);
506
+ if (record?.tainted === false)
507
+ return false; // a positively-known CLEAN child — the common case
508
+ // FAIL CLOSED: a TAINTED row and a missing row are treated the same, because a missing record can only mean the record was lost.
509
+ // That premise holds only while the caller intercepts every background receipt ahead of the sync branch — a parked receipt is also a `subagent-result` with a real callId, and reaching this read on one fails closed on every clean delegation. Do not weaken that ordering.
510
+ adoptKinds(record?.kinds ?? []);
511
+ return true;
512
+ }
513
+ catch {
514
+ // OPE-437 FAIL CLOSED: the read itself threw — same reasoning as the `undefined` branch above.
515
+ markUntrustedIngestedThisTurn();
516
+ return true;
517
+ }
518
+ }
519
+ // A background delegation has TWO edges: the DISPATCH receipt, where no child has run and nothing may be adopted, and the SETTLEMENT, where the marker is read and adopted fail-closed.
520
+ // Two edges prove a settlement — a terminal task view and the settlement notification — and both run applyTaskSettlement. A path that delivers a child's output with no view would need its own branch here.
521
+ /** Ids only — never the brief, never the child's output. */
522
+ export const TASK_STARTED_ACTION = "delegation.task_started";
523
+ // A settled task's WORKER parks as a live but inert durable session until its seat generation is retired (channels/generation-retirement.ts); the audit rows below are the only census of that population.
524
+ /** Ids and the marker verdict only. Also the parked-worker census: one row per settled task, naming the agent handle whose worker parks at that moment. */
525
+ export const TASK_SETTLED_ACTION = "delegation.task_settled";
526
+ /**
527
+ * The row that says a settlement moved a WORKER's connector reads onto the SEAT's provenance ledger
528
+ * (OPE-1849). Ids and COUNTS only — which delegation, how many sources, and the proof the seat could
529
+ * offer — never a connection name: the reader learns that through the reply's own `reply.provenance`
530
+ * row, under the reach rule, and this row must not become a second disclosure surface for it.
531
+ *
532
+ * It is written whenever the worker recorded ANYTHING, carried or withheld, and `detail.outcome` says
533
+ * which: `carried`, `not-completed` (the worker died or was reaped) or `wake-unprovable` (the turn's
534
+ * address names another conversation). So its absence on a settlement means the worker read no
535
+ * connector, or the dispatch join row this carriage joins through was not written — a
536
+ * `taint.mode: "off"` deployment writes none. That is the countable difference between "the footer
537
+ * had nothing to say" and "the carriage never ran", which is the question ship #211 could not answer.
538
+ */
539
+ export const DELEGATED_PROVENANCE_ACTION = "delegation.provenance_carried";
540
+ /**
541
+ * The row an operator counts dead delegations from and then diagnoses them by: ids, the tool, eve's error class and eve's error TEXT, scrubbed and truncated. It never carries the child's output.
542
+ * Two edges write it — a failure result, which names no task, and a settlement whose status is `failed`. `cancelled` is not a death on the settlement edge: there it is the deployment's own reaper.
543
+ * Each row also names the EDGE that wrote it and how its `error` was read ({@link DelegationFailureEdge}, {@link DelegationFailureParse}). A settlement whose dispatch row was lost records no `call` and no `tool`, and still records the error.
544
+ */
545
+ export const TASK_FAILED_ACTION = "delegation.task_failed";
546
+ /** AWAITED by both call sites, unlike the fire-and-forget rows next door: both sites already await store work, so the row costs no extra round trip, and awaiting means a failure that ends the turn still leaves its row. */
547
+ async function noteDelegationFailure(failure, taskId, ownSessionId, turnId, edge, parse) {
548
+ await appendAudit({
549
+ org: deploymentOrg(),
550
+ platform: "ingest",
551
+ workspace: "delegation",
552
+ action: TASK_FAILED_ACTION,
553
+ // Every key is written, empty or not: a failure result names no task, and a settlement whose dispatch row was lost names no call and no tool. A reader must not have to tell absent from unknown.
554
+ detail: {
555
+ task: taskId,
556
+ call: failure.callId ?? "",
557
+ tool: failure.tool ?? "",
558
+ // The error text is upstream-authored — on the settlement edge it is read off a member-visible notification — so it is scrubbed of credential shapes and capped by the one audit redaction in audit/tool-action.ts, and nothing keys on it.
559
+ error: auditErrorDetail(failure.errorText ?? "").error,
560
+ // eve's own class, kept as its own field rather than folded into `error`: an operator counts
561
+ // deaths by class and diagnoses them by text, and one field cannot do both.
562
+ //
563
+ // 🔴 SCRUBBED AND CAPPED THE SAME WAY `error` IS, because it is the same kind of string. eve's
564
+ // PASS-THROUGH arm forwards the CHILD's own object verbatim, so `code` can be any text the
565
+ // child wrote; on the notification edge a forged line can choose it outright. `appendAudit`
566
+ // applies no scrub of its own, so without this call the class reached the row unstruck and
567
+ // unbounded while three doc sites said it was struck. A real class word
568
+ // (`SUBAGENT_EXECUTION_FAILED`) passes through untouched.
569
+ errorClass: auditErrorDetail(failure.errorClass ?? "").error,
570
+ // OPE-1737 round 2: HOW `error` was obtained, so an empty-looking row is never ambiguous.
571
+ // `json`/`text` — read off eve's own payload; `raw` — the notification's own paragraph,
572
+ // because no payload read; `result` — off eve's result envelope on the failure-result edge;
573
+ // `none` — no text existed on this edge at all, which only the task-VIEW edge can report.
574
+ parse,
575
+ // 🔴 WHICH EDGE WROTE THIS ROW, and it is NOT eve's status word any more (OPE-1737, round 2).
576
+ // Ship #201's three rows all said `outcome: "failed"` — the settlement edge's only possible
577
+ // value AND the failure-result edge's fallback — so the row could not say which reader
578
+ // produced its empty fields. The three values are disjoint by construction and each names one
579
+ // call site below.
580
+ outcome: edge,
581
+ // eve's own status word, which `outcome` used to carry. `failed` on every settlement row;
582
+ // `failed` or `cancelled` on the failure-result edge.
583
+ status: failure.status,
584
+ ...(ownSessionId.length > 0 ? { session: ownSessionId } : {}),
585
+ ...(turnId !== undefined && turnId.length > 0 ? { turn: turnId } : {}),
586
+ },
587
+ }).catch(() => undefined);
588
+ }
589
+ /**
590
+ * The row that says WHICH LINE killed a delegated worker, written by the worker itself.
591
+ *
592
+ * WHY IT EXISTS (OPE-1751). {@link TASK_FAILED_ACTION} is written by the PARENT and can only carry
593
+ * what eve's settlement payload holds, which is `{code, message}` — no stack, by construction. On
594
+ * ship #199, #203 and #205 that left three deploys of dead workers naming one class
595
+ * (`SUBAGENT_EXECUTION_FAILED`) and one message (`Cannot read properties of undefined (reading
596
+ * 'push')`) with nothing to place it against, and two root-cause runs failed on exactly that gap.
597
+ * This row is the worker's own side of the same death, and it carries the stack FRAMES.
598
+ *
599
+ * 🔴 WHAT IT DOES NOT COVER, and the honest bound: eve's TERMINAL failure site — the outer catch in
600
+ * `execution/workflow-entry.js`, which is where an error that escapes the turn loop lands —
601
+ * dispatches to NO hook (measured and recorded in hooks/learn.ts and hooks/routine-outcome.ts). So a
602
+ * throw that never reaches a classified turn failure still writes nothing here. This arm covers the
603
+ * classified path, where eve emits `turn.failed` before finalizing the task as errored.
604
+ */
605
+ const WORKER_TURN_FAILED_ACTION = "delegation.worker_turn_failed";
606
+ /** Lets a settlement read the marker under the session that DISPATCHED the child, not the session that happens to be peeking. Conservative, like readParentLink: colon-free ids only. */
607
+ function parentSessionOfChildToken(childToken) {
608
+ const m = /^subagent:([^:]+):([^:]+)$/.exec(childToken);
609
+ return m === null ? undefined : m[1];
610
+ }
611
+ /** The child token is RESOLVED, not derived (a continuation reaches the same child under a NEW callId), and the task-keyed row is read FIRST, so a redelivered receipt returns the recorded link and writes nothing twice. */
612
+ export async function noteTaskReceipt(receipt, ownSessionId) {
613
+ const org = deploymentOrg();
614
+ let link = null;
615
+ let continuation = false;
616
+ let replay = false;
617
+ try {
618
+ // The join rows serve the taint read at settlement only, so an opted-out deployment must not pay a store round trip for them; the audit row below is a delegation trail, not a taint control, and is written either way.
619
+ if (taintEnabled() && ownSessionId.length > 0) {
620
+ const already = await taskCallLink(org, receipt.taskId);
621
+ if (already !== undefined) {
622
+ // OPE-586: a prior pass over this exact receipt already recorded the join (and, by the same
623
+ // pass, already wrote the audit row below) — a redelivered step, not a new dispatch.
624
+ replay = true;
625
+ link = already;
626
+ }
627
+ else {
628
+ const pinned = receipt.agentId === null ? undefined : await taskAgentLink(org, ownSessionId, receipt.agentId);
629
+ // A continuation always arrives under a NEW callId, so a pinned row whose callId equals this receipt's own is this same dispatch replaying after a crash between the two writes below — never a genuine continuation.
630
+ continuation = pinned !== undefined && pinned.callId !== receipt.callId;
631
+ // The worker's AGENT HANDLE rides the join row from here on, because a notification-driven settlement has no task view to read it off. A pinned continuation row keeps whatever it already holds.
632
+ const fresh = {
633
+ callId: receipt.callId,
634
+ childToken: `subagent:${ownSessionId}:${receipt.callId}`,
635
+ ...(receipt.tool.length > 0 ? { tool: receipt.tool } : {}),
636
+ };
637
+ link = pinned ?? fresh;
638
+ if (link.agentId === undefined && receipt.agentId !== null)
639
+ link = { ...link, agentId: receipt.agentId };
640
+ if (link.tool === undefined && receipt.tool.length > 0)
641
+ link = { ...link, tool: receipt.tool };
642
+ // BOTH writes are AWAITED: the settlement that reads these rows can be a whole turn later, so a write still in flight when the handler returns would fail closed for no reason.
643
+ if (receipt.agentId !== null && !continuation)
644
+ await rememberTaskAgent(org, ownSessionId, receipt.agentId, link);
645
+ await rememberTaskCall(org, receipt.taskId, link);
646
+ }
647
+ }
648
+ }
649
+ catch {
650
+ /* best-effort: a lost join degrades settlement to the fail-CLOSED read, never to fail-open */
651
+ }
652
+ if (replay)
653
+ return link; // OPE-586: already recorded by an earlier pass — no second audit row
654
+ void appendAudit({
655
+ org,
656
+ platform: "ingest",
657
+ workspace: "delegation",
658
+ action: TASK_STARTED_ACTION,
659
+ detail: {
660
+ task: receipt.taskId,
661
+ call: receipt.callId,
662
+ agent: receipt.agentId ?? "",
663
+ ...(ownSessionId.length > 0 ? { session: ownSessionId } : {}),
664
+ continuation,
665
+ },
666
+ }).catch(() => undefined);
667
+ return link;
668
+ }
669
+ /** Fails CLOSED on a lost join row and on a lost marker: a terminal view is eve's own proof that a child ran to a final state, so an absent record can only mean it was lost. */
670
+ export async function adoptTaskTaint(view, ownSessionId) {
671
+ const org = deploymentOrg();
672
+ let marker = "off";
673
+ let adopted = false;
674
+ let kinds = [];
675
+ try {
676
+ if (taintEnabled()) {
677
+ const link = await taskCallLink(org, view.taskId);
678
+ if (link === undefined) {
679
+ marker = "lost";
680
+ }
681
+ else {
682
+ const parentSession = parentSessionOfChildToken(link.childToken) ?? ownSessionId;
683
+ const record = await subagentCallTaintRecord(org, parentSession, link.callId);
684
+ marker = record === undefined ? "lost" : record.tainted ? "tainted" : "clean";
685
+ if (record?.tainted === true)
686
+ kinds = record.kinds;
687
+ }
688
+ if (marker !== "clean") {
689
+ adoptKinds(kinds);
690
+ adopted = true;
691
+ }
692
+ }
693
+ }
694
+ catch {
695
+ // Same fail-closed direction as the sync branch: the read itself threw, which is a lost record.
696
+ marker = "lost";
697
+ kinds = [];
698
+ markUntrustedIngestedThisTurn();
699
+ adopted = true;
700
+ }
701
+ void appendAudit({
702
+ org,
703
+ platform: "ingest",
704
+ workspace: "delegation",
705
+ action: TASK_SETTLED_ACTION,
706
+ // Ids and the verdict only — `lastOutput` holds the child's prose and is never read here.
707
+ // `agent` is the worker's AGENT HANDLE, not its session id, and cannot address the worker: eve strips the session id out of every view OE sees. It joins this row to the dispatch row.
708
+ detail: {
709
+ task: view.taskId,
710
+ status: view.status,
711
+ ...(ownSessionId.length > 0 ? { session: ownSessionId } : {}),
712
+ agent: view.agentId ?? "",
713
+ marker,
714
+ adopted,
715
+ kinds: [...kinds],
716
+ },
717
+ }).catch(() => undefined);
718
+ return adopted;
719
+ }
720
+ /**
721
+ * The settlement side effects for one batch of TERMINAL task views, shared by the task-view edge and the notification edge so the two cannot drift apart.
722
+ * The ORDER inside is load-bearing: the wake identity installs BEFORE the taint adoption, whose row records the stale inherited address, and the adoption runs last so its auth stamp reaches a child dispatched later in the same turn. It does not flush memory — each caller owns that.
723
+ */
724
+ export async function applyTaskSettlement(views, ownSessionId, ctx, settlement = {}) {
725
+ if (views.length === 0)
726
+ return false;
727
+ // The error belongs to the ONE notification that carried it, so it is spent only on a single-view batch; a task view's `lastOutput` is the child's prose and no audit row may hold it.
728
+ const failure = views.length === 1 ? settlement.failure : undefined;
729
+ // The notification edge is explicit because a multi-notification batch has no one failure
730
+ // payload to act as its discriminator. `failure` remains narrowed to one view so its parse/error
731
+ // fields can never be attributed to another task in the batch.
732
+ const edge = settlement.notification === true || failure !== undefined ? "notification" : "settlement";
733
+ // A legacy single link is narrowed with its one failure. Notification batches instead pass the
734
+ // per-task `links` map so provenance and failure handling consume the same one read for each task.
735
+ const settlementLink = views.length === 1 ? settlement.link : undefined;
736
+ const bind = ctx;
737
+ // The RAW delivery stamp, never `currentWakeId`: this field records the stale id the turn WOULD have replied under, and `currentWakeId` now answers `undefined` on exactly these turns.
738
+ const inheritedWakeId = inheritedWakeStampOf(bind);
739
+ const wakeTurnId = currentTurnId(bind);
740
+ // FIRST and never throwing: a task the model has now seen finish no longer holds this turn's wake open. It matters only for a settlement inside the dispatching turn.
741
+ for (const view of views)
742
+ noteDelegationSettled(wakeTurnId, view.taskId);
743
+ // The durable twin of the line above. Found through the task's own reverse pointer, never through this seat's token: this turn's seat may already be a later generation.
744
+ for (const view of views)
745
+ await clearGenerationDelegation(deploymentOrg(), view.taskId);
746
+ // THE SEAT'S OWN PARTITION, resolved ONCE for the whole batch: it is a property of the settling
747
+ // turn, not of any one task. Unreadable ⇒ `undefined`, which `stampReadReach` reads as "the host
748
+ // could not place this seat" and stamps `"none"` — counted by kind, never named.
749
+ let seatSurfaceKey;
750
+ try {
751
+ seatSurfaceKey = resolvePartition(bind).surfaceKey;
752
+ }
753
+ catch {
754
+ seatSurfaceKey = undefined;
755
+ }
756
+ for (const view of views) {
757
+ // ONE join read per view, shared by the provenance carriage and the failure row below. It used to
758
+ // sit inside the `failed` arm; hoisting it costs the common settlement one store read and buys
759
+ // both readers the SAME answer, which a second read on a transient store error could not.
760
+ const link = settlement.links?.has(view.taskId)
761
+ ? settlement.links.get(view.taskId)
762
+ : settlementLink !== undefined
763
+ ? settlementLink
764
+ : await taskCallLink(deploymentOrg(), view.taskId);
765
+ const install = await installTaskWake({
766
+ org: deploymentOrg(),
767
+ taskId: view.taskId,
768
+ status: view.status,
769
+ sessionId: ownSessionId,
770
+ turnId: wakeTurnId,
771
+ inheritedWakeId,
772
+ });
773
+ if (edge === "notification" && settlement.authorizeRedispatch === true) {
774
+ // A terminal task view selected by the model retains reply/taint handling but never becomes
775
+ // dispatch origin. The flattened notification must also start with the terminal header. Every
776
+ // header participates in ambiguity: a second missing, legacy or wrong-session row blocks the
777
+ // whole batch instead of silently leaving the first task authoritative.
778
+ noteSettlementDispatchAuthority(wakeTurnId, view.taskId, install.outcome === "installed" || install.outcome === "already" ? install.dispatchAuthority : undefined);
779
+ }
780
+ // THE FOLLOW-THROUGH DUTY arms only where the seat PROMISED a report for this task AND the wake install landed, so the turn holds the address to post it under; a duty with no route is a loop the model cannot win.
781
+ if (install.outcome === "installed" && claimPromisedReport(view.taskId)) {
782
+ noteSettlementReportOwed(wakeTurnId, view.taskId, install.wakeId ?? undefined);
783
+ }
784
+ // OPE-1849 — THE WORKER'S CONNECTOR READS BECOME THIS SEAT'S PROVENANCE, and it runs AFTER the
785
+ // wake install deliberately: the install is what gives this turn its own address. Stamped with
786
+ // `stampReadReach`, the one expression a seat-turn read is stamped with, so the reach rule cannot
787
+ // tell a carried read from a seat-turn one. A settlement with no join row spends nothing — see
788
+ // `channels/delegated-provenance.ts`.
789
+ if (link !== undefined) {
790
+ // Stamped ONCE and used for both the attribution and the row that counts it, so the row can
791
+ // never report a proof the ledger entries do not hold.
792
+ const reach = stampReadReach(bind, wakeTurnId, seatSurfaceKey);
793
+ // 🔴 THE WAKE PROOF MUST NAME THIS TASK'S OWN CONVERSATION, AND THE TURN'S ADDRESS DOES NOT
794
+ // ALWAYS DO SO. `stampReadReach` reads `currentWakeId`, which answers the wake this TURN
795
+ // adopted — and two ordinary paths make that another conversation's:
796
+ // • `adoptTaskWakeThisTurn` is FIRST-WRITE-WINS (access/task-wake-signal.ts), so when two
797
+ // tasks settle into one turn every task after the first is stamped with the FIRST one's
798
+ // wake;
799
+ // • `installTaskWake` refuses on an INGRESSED turn, so a settlement seen through a task VIEW
800
+ // on a member's own turn falls back to that member's delivery stamp.
801
+ // On a unified seat both name a SIBLING conversation, and `provenanceForReply` names a
802
+ // `"wake"`-proved read on any reply answering that wake — which is exactly the disclosure
803
+ // OPE-1713 closed for a seat-turn read ("a unified reply answering wake B named a read made
804
+ // under wake A"). So the wake arm carries ONLY where the turn's address is this task's own
805
+ // minted wake, which `installTaskWake` hands back whatever its outcome. The surface arm needs
806
+ // no such check: a per-surface seat holds ONE conversation, so its partition is exact.
807
+ //
808
+ // 🔴 AND ONLY A COMPLETED DELEGATION IS A SOURCE. A worker that read Notion and then died gives
809
+ // the seat a failure to report, not an answer drawn on Notion, so footing its reads would print
810
+ // a receipt for an answer with no sources. `failed` and `cancelled` are spent, never carried.
811
+ const wakeProvable = reach.proof !== "wake" || (install.wakeId !== null && reach.wakeId === install.wakeId);
812
+ const provable = view.status === "completed" && wakeProvable;
813
+ // 🔴 AND THE SEAT REPLIES UNDER THE OTHER ONE (OPE-1869). Everything above proves the carriage
814
+ // against the task's own MINTED wake, which is the id this turn now answers under. It is not
815
+ // the id the reply carries: the `reply` tool fences the wake the turn was DELIVERED with — the
816
+ // stamp recorded just above as `inheritedWakeId` — so `provenanceForReply` compared the minted
817
+ // id against the delivered one and named nothing. Ship #213 is the whole measurement: six
818
+ // replies whose reads the settle had carried (`delegation.provenance_carried … found:4
819
+ // outcome:"carried"`) each footed none (`reply.provenance … reads:4 named:0 withheld:1`).
820
+ // 🔴 AND IT IS PROVED, NOT ASSUMED. `installTaskWake` adopts only on an UNINGRESSED turn, whose
821
+ // inherited stamp is by OPE-585's own finding "whichever conversation happened to run last" —
822
+ // on a unified seat, routinely a SIBLING. So `delegatedSecondAddress` compares the two ids by
823
+ // ORIGIN against the wake map and withholds anything it cannot place in this task's own room.
824
+ // Fail-closed: no row, no store, no origin ⇒ `undefined`, and the read keeps one address.
825
+ // Asked only where the answer can matter: the wake arm, on a settlement that is carrying. A
826
+ // per-surface seat holds ONE conversation, so its proof is already exact and a second wake id
827
+ // is dropped by `noteConnectorRead` — computing one there would buy two store reads per
828
+ // settlement and change nothing.
829
+ const alsoWakeId = provable && reach.proof === "wake"
830
+ ? await delegatedSecondAddress({
831
+ org: deploymentOrg(),
832
+ taskWakeId: install.wakeId,
833
+ inheritedWakeId,
834
+ outcome: install.outcome,
835
+ })
836
+ : undefined;
837
+ const spend = await settleDelegatedReads({
838
+ org: deploymentOrg(),
839
+ childToken: link.childToken,
840
+ // THE SEAT'S OWN SESSION, read the same way the reply reads it (`replyAuditFor` takes
841
+ // `ctx.session?.id`) rather than from this hook's own `ownSessionId` argument: a carried
842
+ // record's label is stored under (session, turn) and resolved under the reply's (session,
843
+ // turn), so the two ends must read ONE expression or a label lands under a key nothing looks
844
+ // up. Absent stores no label, which foots the connection alone.
845
+ sessionId: currentSessionId(bind),
846
+ turnId: wakeTurnId,
847
+ // 🔴 WITHHELD STILL SPENDS THE ROW. Reads this seat cannot place must reach NO reply, and
848
+ // leaving them in the row only moves the wrong attribution onto the worker's next brief.
849
+ reach: provable ? { ...reach, ...(alsoWakeId !== undefined ? { alsoWakeId } : {}) } : undefined,
850
+ });
851
+ if (spend.found > 0) {
852
+ void appendAudit({
853
+ org: deploymentOrg(),
854
+ platform: "ingest",
855
+ workspace: "delegation",
856
+ action: DELEGATED_PROVENANCE_ACTION,
857
+ // Ids and COUNTS only: which delegation, how many sources the worker recorded, how many
858
+ // this seat could attribute, and why. Never a connection name — that reaches the reader
859
+ // through the reply's own `reply.provenance` row, under the reach rule, and this row is not
860
+ // a second disclosure surface for it.
861
+ detail: {
862
+ task: view.taskId,
863
+ call: link.callId,
864
+ reads: spend.carried,
865
+ found: spend.found,
866
+ // `carried` / `not-completed` / `wake-unprovable` — a withheld settlement is a decision,
867
+ // and an operator asking "why does this reply name nothing" must be able to read which.
868
+ outcome: provable ? "carried" : view.status !== "completed" ? "not-completed" : "wake-unprovable",
869
+ proof: reach.proof,
870
+ ...(ownSessionId.length > 0 ? { session: ownSessionId } : {}),
871
+ ...(wakeTurnId !== undefined && wakeTurnId.length > 0 ? { turn: wakeTurnId } : {}),
872
+ },
873
+ }).catch(() => undefined);
874
+ }
875
+ }
876
+ // OPE-1654, the settlement half of the failure row. `failed` only: `cancelled` is the
877
+ // deployment's own reaper, not a dead read — see {@link TASK_FAILED_ACTION}.
878
+ //
879
+ // OPE-1737 — AND IT NAMES THE CALL, THE TOOL AND THE ERROR. The first two come off OE's own
880
+ // dispatch row, never off the notification, so a row with no join records neither. The third is
881
+ // the notification's own error paragraph, which is the only place eve puts a dead child's error
882
+ // where OE can reach it. A forged notification for an id this org never minted therefore still
883
+ // puts one scrubbed, capped string in a row that this settlement writes either way — round 2 of
884
+ // OPE-1737 accepted that, because the gate that used to prevent it also silenced every real
885
+ // failure whose join row was lost.
886
+ if (view.status === "failed") {
887
+ // `link` is the loop's own single read, taken above: a second read on a turn-preamble edge costs a round trip and can disagree with the first on a transient store error, printing a settled row that names the worker beside a failure row claiming the join was lost.
888
+ await noteDelegationFailure({
889
+ status: view.status,
890
+ // 🔴 THE ERROR IS NO LONGER GATED ON THE JOIN ROW (OPE-1737, round 2). It used to sit
891
+ // inside the `link !== undefined` arm, so a settlement whose dispatch row was lost — or a
892
+ // deployment with the taint plane off, which writes no dispatch row at all — recorded NO
893
+ // reason for the death. That is the undiagnosable row this ticket exists to remove, and
894
+ // the gate bought nothing: the text is upstream-authored on this edge whatever the join
895
+ // says, and it lands scrubbed and capped in a DETAIL field nothing keys on.
896
+ errorText: failure?.errorText ?? "",
897
+ errorClass: failure?.errorClass ?? "",
898
+ // The CALL and the TOOL stay gated, because they are OE's own facts. A forged settlement
899
+ // for a task this org never minted must never put a call id in the audit log.
900
+ ...(link !== undefined ? { callId: link.callId, tool: link.tool ?? "" } : {}),
901
+ }, view.taskId, ownSessionId, wakeTurnId, edge, failure?.parse ?? "none");
902
+ }
903
+ }
904
+ let any = false;
905
+ for (const view of views)
906
+ any = (await adoptTaskTaint(view, ownSessionId)) || any;
907
+ // Same belt as the sync branch, for the same reason: an adopted taint must reach the auth bag
908
+ // before the seat's next model call can delegate again.
909
+ if (any)
910
+ recordTurnTaintForChildren();
911
+ return any;
912
+ }
913
+ /**
914
+ * THE NOTIFICATION SETTLEMENT EDGE (OPE-904) — the settlement route that survives eve 0.40.0.
915
+ *
916
+ * ── WHY IT HAD TO EXIST ─────────────────────────────────────────────────────────────────────────
917
+ * Every settlement side effect above used to key on a task-VIEW tool result. eve 0.40.0 DELETES
918
+ * `task_peek`, which leaves `task_cancel` as the only view-bearing tool — and nobody cancels a task
919
+ * that finished on its own. So an ordinary settlement would reach NO OE edge: no wake identity, so
920
+ * the turn answers under the previous conversation's address or not at all; no taint adoption, so a
921
+ * child that read untrusted content hands its parent a clean signal; and no live-set clear, so the
922
+ * fan-out guard holds the memory flush closed until the hold bound retires the id.
923
+ *
924
+ * ── IT IS ALSO STRICTLY WIDER THAN THE EDGE IT REPLACES ─────────────────────────────────────────
925
+ * The view edge only ever fired when the model chose to look. Three shipped limits were written
926
+ * down as consequences of that and are closed by this edge, not merely preserved:
927
+ * • OPE-597 — a settlement turn that read no view held NO address and could only `no_reply`;
928
+ * • OPE-592's stated limit — such a turn reached no persist route either;
929
+ * • OPE-563's stated limit — and adopted no taint.
930
+ * A notification arrives on EVERY settlement, so all three now have a route with no tool call in it.
931
+ *
932
+ * ── THE FENCES, AND WHY A FORGED NOTIFICATION IS INERT ──────────────────────────────────────────
933
+ * The text is model-visible and a member could type it. Three independent fences, each sufficient:
934
+ * 1. {@link installTaskWake} installs only on an UNINGRESSED turn. A member's message is an
935
+ * ingressed turn carrying its own delivery stamp, so the install refuses it;
936
+ * 2. every consequence is BOUNDED. The match is LINE-anchored, not message-anchored
937
+ * ({@link readTaskNotification}'s own header states why: eve folds a task COMPLETION COHORT of
938
+ * caller-less deliveries into one string — the one merge arm still live on 0.54.3 (OPE-2042) —
939
+ * so a message-anchored match would miss real settlements and fail OPEN on the
940
+ * taint plane). So a member CAN put this sentence on a line of their own message. What that
941
+ * buys is fenced everywhere it lands: the taint adoption only tightens, the address install is
942
+ * refused by fence 1, and the OPE-1737 failure row records a call and a tool only for a task
943
+ * with a dispatch row this org minted. Its `error` is recorded whatever the join says — one
944
+ * scrubbed string capped at 300 characters, in a DETAIL field nothing keys on, in a row the
945
+ * settlement writes anyway;
946
+ * 3. every consequence keys on a durable row THIS org minted at dispatch. An id with no row takes
947
+ * the `no-row` outcome, which is audited and already handled.
948
+ * The taint adoption is the one act with no row of its own to key on — and it fails CLOSED (an
949
+ * unknown task id reads as a lost marker and MARKS the turn), so a forged notification can only
950
+ * make the deployment stricter.
951
+ *
952
+ * ── THE MEMORY FLUSH IS DEFERRED, ON PURPOSE ────────────────────────────────────────────────────
953
+ * A persist reads the sandbox and a provider. This edge is in the turn PREAMBLE, where this file's
954
+ * 🔴 rule keeps I/O light. So the notification does the two cheap bookkeeping acts instead —
955
+ * {@link noteTaskSettled} drops the settled id from the fan-out guard's live set and re-marks the
956
+ * tree dirty — and OPE-611's `turn.completed` backstop, which already runs on every turn of a
957
+ * session that has delegated, then performs the persist with the guard open. The child's edits
958
+ * reach the store on the SAME turn the notification arrived, which is one turn earlier than the
959
+ * view edge managed even when the model did peek.
960
+ *
961
+ * Returns whether the turn adopted a taint, purely so the test can assert on it.
962
+ */
963
+ export async function settleFromTaskNotification(message, ownSessionId, ctx) {
964
+ const views = terminalTaskNotifications(message);
965
+ if (views.length === 0)
966
+ return false;
967
+ const settled = [];
968
+ const links = new Map();
969
+ for (const view of views) {
970
+ let next = view;
971
+ if (!links.has(view.taskId)) {
972
+ try {
973
+ links.set(view.taskId, await taskCallLink(deploymentOrg(), view.taskId));
974
+ }
975
+ catch {
976
+ links.set(view.taskId, undefined);
977
+ /* the census field degrades to "" — never a reason to skip a settlement */
978
+ }
979
+ }
980
+ const link = links.get(view.taskId);
981
+ if (link?.agentId !== undefined)
982
+ next = { ...view, agentId: link.agentId };
983
+ // BEFORE the side effects, and synchronous: the fan-out guard must stop counting this child as
984
+ // a live writer before the turn-end backstop asks.
985
+ noteTaskSettled(next);
986
+ settled.push(next);
987
+ }
988
+ return applyTaskSettlement(settled, ownSessionId, ctx, {
989
+ notification: true,
990
+ links,
991
+ authorizeRedispatch: taskNotificationStartsWithTerminal(message),
992
+ ...(settled.length === 1 ? { failure: taskNotificationFailure(message) } : {}),
993
+ });
994
+ }
995
+ export default defineHook({
996
+ events: {
997
+ // DO NOT READ THE STORE HERE: eve re-executes an uncommitted inline step body on redelivery, and the forward leg's first cut reproduced it under load — 4429 re-executions of one step, then CorruptedEventLogError, and the turn was lost (OPE-465).
998
+ // The whole handler is synchronous, and the dispatch pin is written LAST because the adoption one line above is the reader of the pin this session arrived with.
999
+ "turn.started": (_event, ctx) => {
1000
+ openTaintTurn(ctx);
1001
+ // The RAW delivery stamp, never `currentWakeId`: `currentWakeId` answers `undefined` on an uningressed turn, so passing it here would feed the comparison its own output and classify the next turn on a cleared value.
1002
+ const bind = ctx;
1003
+ noteTurnBoundary(currentTurnId(bind), deliveryStampOf(bind));
1004
+ // The stream-drop retry count is PER TURN (OPE-2132), so it is cleared at the same boundary the
1005
+ // taint turn opens at. Without the clear, a session's second failing turn would report the
1006
+ // first turn's retry and the row would name a re-send that turn never made.
1007
+ clearStreamDropRetries();
1008
+ },
1009
+ // This handler runs on EVERY message in the deployment, so the pure pre-filter comes first and nothing touches the store until it matches; the persist stays on the `turn.completed` backstop.
1010
+ "message.received": async (event, ctx) => {
1011
+ try {
1012
+ if (isSubagentChildContext(ctx))
1013
+ return;
1014
+ const ownSessionId = ctx.session?.id;
1015
+ if (typeof ownSessionId !== "string" || ownSessionId.length === 0)
1016
+ return;
1017
+ await settleFromTaskNotification(event.data?.message, ownSessionId, ctx);
1018
+ }
1019
+ catch {
1020
+ /* the belt is best-effort; the parent's approval controls are unchanged */
1021
+ }
1022
+ },
1023
+ // The memory backstop runs on `turn.completed` because `session.completed` fires for NO session on this build (measured on prod over 36 h: 9 sessions, 67 turns, zero).
1024
+ "turn.completed": async (_event, ctx) => {
1025
+ try {
1026
+ await flushDirtyTreeAtTurnEnd(ctx);
1027
+ }
1028
+ catch {
1029
+ /* the next settlement or turn-end backstop still persists this tree */
1030
+ }
1031
+ },
1032
+ // The WORKER's own side of a death. It is the mirror of the parent's `delegation.task_failed`: that row names the class, this one names the LINE. Restricted to a delegated child, because a seat's own failed turn is another plane's business and this row's whole readership is "which worker died where".
1033
+ "turn.failed": async (event, ctx) => {
1034
+ try {
1035
+ const bind = ctx;
1036
+ if (!isSubagentChildContext(bind))
1037
+ return;
1038
+ const ownSessionId = ctx.session?.id;
1039
+ const data = event.data;
1040
+ const turnId = currentTurnId(bind);
1041
+ await appendAudit({
1042
+ org: deploymentOrg(),
1043
+ // Same partition as the parent's failure row, so one query answers both sides of a death.
1044
+ platform: "ingest",
1045
+ workspace: "delegation",
1046
+ action: WORKER_TURN_FAILED_ACTION,
1047
+ // Ids, eve's own class and message, and the stack FRAMES — never a byte the worker read or wrote. `frames` is empty when eve's payload carried no stack, which is itself the diagnosis on a row whose error came back as a bare value.
1048
+ detail: {
1049
+ code: auditErrorDetail(typeof data?.code === "string" ? data.code : "").error,
1050
+ error: auditErrorDetail(typeof data?.message === "string" ? data.message : "").error,
1051
+ frames: auditErrorFrames(data?.details),
1052
+ ...(typeof ownSessionId === "string" && ownSessionId.length > 0 ? { session: ownSessionId } : {}),
1053
+ ...(turnId !== undefined && turnId.length > 0 ? { turn: turnId } : {}),
1054
+ // 🔴 HOW MANY TIMES THIS TURN'S MODEL STEP WAS RE-SENT (OPE-2132). A worker retries one
1055
+ // transient stream drop and then fails on the second, so a row carrying `retried: 1` is
1056
+ // the SECOND drop and a row without the field is a death nothing re-ran. Without it the
1057
+ // two are the same row, and "the retry did not help" reads as "the retry never ran".
1058
+ ...(streamDropRetriesThisTurn() > 0 ? { retried: streamDropRetriesThisTurn() } : {}),
1059
+ },
1060
+ }).catch(() => undefined);
1061
+ }
1062
+ catch {
1063
+ /* a diagnostic row is never worth failing a turn that is already failing */
1064
+ }
1065
+ },
1066
+ // PRE-DISPATCH POINTER. `action.result` is too late to be the child's only address: a lightly
1067
+ // loaded runtime may launch the child as soon as the action starts. Record the parent wake under
1068
+ // the host call id first; the receipt below advances it to the task's retargetable wake.
1069
+ "actions.requested": async (event, ctx) => {
1070
+ if (isSubagentChildContext(ctx))
1071
+ return;
1072
+ const ownSessionId = ctx.session?.id;
1073
+ if (typeof ownSessionId !== "string" || ownSessionId.length === 0)
1074
+ return;
1075
+ const bind = ctx;
1076
+ const turnId = currentTurnId(bind);
1077
+ const actions = event.data?.actions ?? [];
1078
+ for (const action of actions) {
1079
+ const delegated = action.kind === "subagent-call" || (action.kind === "tool-call" && action.toolName === "agent");
1080
+ if (delegated && typeof action.callId === "string" && action.callId.length > 0) {
1081
+ const settlement = settlementDispatchAuthorityThisTurn(turnId);
1082
+ const uningressedUnifiedTurn = isUnifiedWindowContext(bind) && uningressedTurn(turnId);
1083
+ // Routine/job host wakes can also be unified and uningressed. They retain the exact wake
1084
+ // already recorded by their host path. This stricter branch belongs only to turns where
1085
+ // settlement handling left an explicit authority verdict or installed a task reply wake.
1086
+ const settlementTurn = uningressedUnifiedTurn && (settlement.kind !== "none" || taskWakeThisTurn(turnId) !== undefined);
1087
+ // An uningressed unified settlement turn has no human delivery to authorize a fallback.
1088
+ // Refuse only delegation: ordinary reply and bookkeeping actions retain their existing
1089
+ // first-write-wins address behavior on view-only or ambiguous settlement turns.
1090
+ if (settlementTurn && settlement.kind !== "single") {
1091
+ throw new Error("delegated task dispatch authority is missing or ambiguous — refusing child launch before an exact wake is addressed");
1092
+ }
1093
+ const settlementAuthority = settlement.kind === "single" ? settlement.authority : undefined;
1094
+ const wakeId = settlementTurn
1095
+ ? settlementAuthority?.wakeId
1096
+ : addressedWakeThisTurn(turnId) ?? exactDispatchWakeThisTurn(turnId);
1097
+ // This is the last edge before Eve may launch the child. If the pointer cannot be made
1098
+ // durable, abort the dispatch instead of allowing a worker with unbound authority. The
1099
+ // unified pointer resolves requester/member/binding atomically from that wake's row; the
1100
+ // mutable last-delivery auth is never paired with an addressed sibling wake.
1101
+ if (wakeId !== undefined) {
1102
+ try {
1103
+ await rememberDelegatedTaskWake(deploymentOrg(), ownSessionId, action.callId, wakeId);
1104
+ }
1105
+ catch {
1106
+ throw new Error("delegated task dispatch authority is missing or ambiguous — refusing child launch before an exact wake is addressed");
1107
+ }
1108
+ }
1109
+ else if (!isUnifiedWindowContext(bind)) {
1110
+ const requester = requesterThisTurn(turnId);
1111
+ const nonMemberWake = bind.session?.auth?.current?.attributes?.[OE_CHAT_NONMEMBER_ATTR] === "true";
1112
+ await rememberDelegatedTaskBinding(deploymentOrg(), ownSessionId, action.callId, bindFrom(bind), requester, nonMemberWake);
1113
+ }
1114
+ else
1115
+ throw new Error("delegated task dispatch authority is missing or ambiguous — refusing child launch before an exact wake is addressed");
1116
+ }
1117
+ }
1118
+ },
1119
+ // THREE BRANCHES, AND THEIR ORDER IS LOAD-BEARING: a parked task receipt is ALSO a `subagent-result` with a real callId, so the receipt branch must run BEFORE the sync branch or every clean delegation fails closed at dispatch.
1120
+ "action.result": async (event, ctx) => {
1121
+ try {
1122
+ if (isSubagentChildContext(ctx))
1123
+ return;
1124
+ const result = event.data?.result;
1125
+ const ownSessionId = ctx.session?.id;
1126
+ if (typeof ownSessionId !== "string" || ownSessionId.length === 0)
1127
+ return;
1128
+ // BRANCH 1 — DISPATCH. Remember the join and adopt nothing; the child has not run.
1129
+ const receipt = readTaskReceipt(result);
1130
+ if (receipt !== null) {
1131
+ await noteTaskReceipt(receipt, ownSessionId);
1132
+ // Mint the wake identity HERE from the exact parent-session + call pointer written before
1133
+ // launch. The receipt never reselects from mutable turn/session state.
1134
+ const bind = ctx;
1135
+ const dispatchTurnId = currentTurnId(bind);
1136
+ // This pointer is the sole unified receipt authority. A missing row refuses before mint;
1137
+ // native binding-only delegation retains its existing non-unified path.
1138
+ const prelaunchAuthority = await delegatedTaskDispatchAuthority(deploymentOrg(), ownSessionId, receipt.callId);
1139
+ if (isUnifiedWindowContext(bind) && prelaunchAuthority === undefined) {
1140
+ throw new Error("delegated task authority disappeared before receipt");
1141
+ }
1142
+ const dispatchWakeId = prelaunchAuthority?.wakeId;
1143
+ const ownWindowToken = resolveOwnWindowToken(bind);
1144
+ const minted = await openTaskWake({
1145
+ org: deploymentOrg(),
1146
+ taskId: receipt.taskId,
1147
+ parentWakeId: dispatchWakeId,
1148
+ windowToken: ownWindowToken,
1149
+ });
1150
+ if (minted !== null) {
1151
+ if (prelaunchAuthority === undefined)
1152
+ throw new Error("delegated task authority disappeared before receipt");
1153
+ await advanceDelegatedTaskWake(deploymentOrg(), ownSessionId, receipt.callId, receipt.taskId, minted, prelaunchAuthority);
1154
+ }
1155
+ // From here this seat generation owes a worker its answer. The ledger is durable and keyed on the generation's own continuation token, because the retirement drain runs in a different session on a later wake.
1156
+ await noteGenerationDelegation(deploymentOrg(), ownWindowToken, receipt.taskId);
1157
+ if (minted !== null)
1158
+ noteTaskDispatchedThisTurn(dispatchTurnId, receipt.taskId, minted);
1159
+ // From this instant the turn has asked a worker for an answer it does not hold, and the reply plane reads this to refuse a `done:true` that would close the conversation first.
1160
+ notePendingDelegation(dispatchTurnId, receipt.taskId, dispatchWakeId);
1161
+ // OPE-592: from this instant a child holds the parent's memory tree. Counting it live is
1162
+ // what stops a LATER sibling's settlement from flushing a file this one is mid-write in.
1163
+ noteTaskDispatched(receipt.taskId);
1164
+ return;
1165
+ }
1166
+ // Only TERMINAL views adopt: a `working` or `input_required` child can still read untrusted content.
1167
+ // The fan-out guard is reconciled against EVERY view first, ahead of the early return, because a `working` sibling in the same peek is the sharpest evidence another child still holds the tree.
1168
+ noteTaskViews(taskViewsOf(result));
1169
+ const terminal = terminalTaskViewsOf(result);
1170
+ if (terminal.length > 0) {
1171
+ await applyTaskSettlement(terminal, ownSessionId, ctx);
1172
+ // LAST on this branch: the flush awaits I/O, and an adopted taint must reach the auth bag before anything else can delegate.
1173
+ await flushSettledMemory(ctx, "task-settled");
1174
+ return;
1175
+ }
1176
+ // Written here rather than as a branch of its own so it falls through to BRANCH 3: a dead delegation is still a `subagent-result` with a real callId, and a child that read a hostile page and then crashed has still put its taint in the marker.
1177
+ const failure = readDelegationFailure(result);
1178
+ if (failure !== null) {
1179
+ // OPE-1737 round 2: `parse: "result"` — this edge reads every field off eve's own result
1180
+ // envelope and never touches a notification text, so neither the payload reader nor its
1181
+ // raw fallback applies here.
1182
+ await noteDelegationFailure(failure, "", ownSessionId, currentTurnId(ctx), "result", "result");
1183
+ }
1184
+ if (result?.kind !== "subagent-result" || typeof result.callId !== "string")
1185
+ return;
1186
+ if (await adoptSubagentTaint(result.callId, ownSessionId)) {
1187
+ // The flip observer has already stamped the bag; this call is the explicit belt, so an adopted taint is in the auth bag before the seat's next model call can delegate again.
1188
+ recordTurnTaintForChildren();
1189
+ }
1190
+ // WHETHER THIS BRANCH IS STILL REACHED ON A 0.51.0 BUILD IS UNPROVEN (OPE-1440): every delegation parks, and the receipt branch intercepts it. It is kept as a durability BELT, not a gate — do not read its presence as evidence that it runs.
1191
+ // It runs on every sync return, not only a tainted one: durability is not a taint control.
1192
+ await flushSettledMemory(ctx, "delegation-returned");
1193
+ }
1194
+ catch {
1195
+ /* the belt is best-effort; the parent's approval controls are unchanged */
1196
+ }
1197
+ },
1198
+ },
1199
+ });
1200
+ //# sourceMappingURL=spawn-taint.js.map