@warlock.js/ai 4.8.2 → 4.9.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 (1169) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/cjs/index.cjs +263 -241
  3. package/cjs/index.cjs.map +1 -1
  4. package/cjs/{magic-string.es-BtxW4VqG.cjs → magic-string.es-BoSa5xIt.cjs} +3 -3
  5. package/cjs/magic-string.es-BoSa5xIt.cjs.map +1 -0
  6. package/cjs/{matcher-logic-SBnzYohQ.cjs → matcher-logic-07fFOz7r.cjs} +3 -3
  7. package/cjs/matcher-logic-07fFOz7r.cjs.map +1 -0
  8. package/cjs/{matchers-BBh3gyB-.cjs → matchers-DnV47KR_.cjs} +24 -24
  9. package/cjs/matchers-DnV47KR_.cjs.map +1 -0
  10. package/esm/agent/agent-config.type.d.mts +1 -1
  11. package/esm/agent/agent-config.type.d.mts.map +1 -1
  12. package/esm/agent/agent-input-builder.mjs +1 -1
  13. package/esm/agent/agent-input-builder.mjs.map +1 -1
  14. package/esm/agent/agent-log-event.mjs +1 -1
  15. package/esm/agent/agent-log-event.mjs.map +1 -1
  16. package/esm/agent/agent-stream.d.mts +1 -1
  17. package/esm/agent/agent-stream.d.mts.map +1 -1
  18. package/esm/agent/agent-stream.mjs +1 -1
  19. package/esm/agent/agent-stream.mjs.map +1 -1
  20. package/esm/agent/agent-to-stream-event.mjs +1 -1
  21. package/esm/agent/agent-to-stream-event.mjs.map +1 -1
  22. package/esm/agent/agent.d.mts +1 -1
  23. package/esm/agent/agent.d.mts.map +1 -1
  24. package/esm/agent/agent.mjs +1 -1
  25. package/esm/agent/agent.mjs.map +1 -1
  26. package/esm/agent/json-stream-guard.mjs +1 -1
  27. package/esm/agent/json-stream-guard.mjs.map +1 -1
  28. package/esm/agent/judge-config.type.d.mts +1 -1
  29. package/esm/agent/judge-config.type.d.mts.map +1 -1
  30. package/esm/agent/judge-config.type.mjs +1 -1
  31. package/esm/agent/judge-config.type.mjs.map +1 -1
  32. package/esm/agent/signature.mjs +1 -1
  33. package/esm/agent/signature.mjs.map +1 -1
  34. package/esm/agent/snapshot.mjs +1 -1
  35. package/esm/agent/snapshot.mjs.map +1 -1
  36. package/esm/agent/spawn-sub-agent.d.mts +1 -1
  37. package/esm/agent/spawn-sub-agent.d.mts.map +1 -1
  38. package/esm/agent/spawn-sub-agent.mjs +1 -1
  39. package/esm/agent/spawn-sub-agent.mjs.map +1 -1
  40. package/esm/ai.d.mts +1 -1
  41. package/esm/ai.d.mts.map +1 -1
  42. package/esm/ai.mjs +1 -1
  43. package/esm/ai.mjs.map +1 -1
  44. package/esm/batch/batch.d.mts +1 -1
  45. package/esm/batch/batch.d.mts.map +1 -1
  46. package/esm/batch/batch.mjs +1 -1
  47. package/esm/batch/batch.mjs.map +1 -1
  48. package/esm/batch/batch.type.d.mts +1 -1
  49. package/esm/batch/batch.type.d.mts.map +1 -1
  50. package/esm/batch/run-batch-item.mjs +1 -1
  51. package/esm/batch/run-batch-item.mjs.map +1 -1
  52. package/esm/batch/run-with-concurrency.mjs +1 -1
  53. package/esm/batch/run-with-concurrency.mjs.map +1 -1
  54. package/esm/checkpoint/memory.d.mts +1 -1
  55. package/esm/checkpoint/memory.d.mts.map +1 -1
  56. package/esm/checkpoint/memory.mjs +0 -0
  57. package/esm/checkpoint/memory.mjs.map +1 -1
  58. package/esm/checkpoint/pg.d.mts +1 -1
  59. package/esm/checkpoint/pg.d.mts.map +1 -1
  60. package/esm/checkpoint/pg.mjs +1 -1
  61. package/esm/checkpoint/pg.mjs.map +1 -1
  62. package/esm/checkpoint/redis.d.mts +1 -1
  63. package/esm/checkpoint/redis.d.mts.map +1 -1
  64. package/esm/checkpoint/redis.mjs +1 -1
  65. package/esm/checkpoint/redis.mjs.map +1 -1
  66. package/esm/config.d.mts +1 -1
  67. package/esm/config.d.mts.map +1 -1
  68. package/esm/config.mjs +1 -1
  69. package/esm/config.mjs.map +1 -1
  70. package/esm/contracts/agent/agent-options.type.d.mts +1 -1
  71. package/esm/contracts/agent/agent-options.type.d.mts.map +1 -1
  72. package/esm/contracts/agent/agent-snapshot.type.d.mts +1 -1
  73. package/esm/contracts/agent/agent-snapshot.type.d.mts.map +1 -1
  74. package/esm/contracts/agent/agent.contract.d.mts +1 -1
  75. package/esm/contracts/agent/agent.contract.d.mts.map +1 -1
  76. package/esm/contracts/agent/eval.type.d.mts +1 -1
  77. package/esm/contracts/agent/eval.type.d.mts.map +1 -1
  78. package/esm/contracts/attachment-policy.type.d.mts +1 -1
  79. package/esm/contracts/attachment-policy.type.d.mts.map +1 -1
  80. package/esm/contracts/attachment.type.d.mts +1 -1
  81. package/esm/contracts/attachment.type.d.mts.map +1 -1
  82. package/esm/contracts/content-part.type.d.mts +1 -1
  83. package/esm/contracts/content-part.type.d.mts.map +1 -1
  84. package/esm/contracts/conversation-message.type.d.mts +1 -1
  85. package/esm/contracts/conversation-message.type.d.mts.map +1 -1
  86. package/esm/contracts/embedder.contract.d.mts +1 -1
  87. package/esm/contracts/embedder.contract.d.mts.map +1 -1
  88. package/esm/contracts/end.type.d.mts +1 -1
  89. package/esm/contracts/end.type.d.mts.map +1 -1
  90. package/esm/contracts/end.type.mjs +1 -1
  91. package/esm/contracts/end.type.mjs.map +1 -1
  92. package/esm/contracts/events/agent-events.type.d.mts +1 -1
  93. package/esm/contracts/events/agent-events.type.d.mts.map +1 -1
  94. package/esm/contracts/events/complete-event.type.d.mts +1 -1
  95. package/esm/contracts/events/complete-event.type.d.mts.map +1 -1
  96. package/esm/contracts/events/event-identity.type.d.mts +1 -1
  97. package/esm/contracts/events/event-identity.type.d.mts.map +1 -1
  98. package/esm/contracts/events/event-map.type.d.mts +1 -1
  99. package/esm/contracts/events/event-map.type.d.mts.map +1 -1
  100. package/esm/contracts/events/supervisor-events.type.d.mts +1 -1
  101. package/esm/contracts/events/supervisor-events.type.d.mts.map +1 -1
  102. package/esm/contracts/events/usage-event.type.d.mts +1 -1
  103. package/esm/contracts/events/usage-event.type.d.mts.map +1 -1
  104. package/esm/contracts/events/workflow-events.type.d.mts +1 -1
  105. package/esm/contracts/events/workflow-events.type.d.mts.map +1 -1
  106. package/esm/contracts/executable.contract.d.mts +1 -1
  107. package/esm/contracts/executable.contract.d.mts.map +1 -1
  108. package/esm/contracts/fallback-model.contract.d.mts +1 -1
  109. package/esm/contracts/fallback-model.contract.d.mts.map +1 -1
  110. package/esm/contracts/finish-reason.type.d.mts +1 -1
  111. package/esm/contracts/finish-reason.type.d.mts.map +1 -1
  112. package/esm/contracts/image-model.contract.d.mts +1 -1
  113. package/esm/contracts/image-model.contract.d.mts.map +1 -1
  114. package/esm/contracts/memory/memory-config.type.d.mts +1 -1
  115. package/esm/contracts/memory/memory-config.type.d.mts.map +1 -1
  116. package/esm/contracts/memory/memory-item.type.d.mts +1 -1
  117. package/esm/contracts/memory/memory-item.type.d.mts.map +1 -1
  118. package/esm/contracts/memory/memory.contract.d.mts +1 -1
  119. package/esm/contracts/memory/memory.contract.d.mts.map +1 -1
  120. package/esm/contracts/memory/recall-options.type.d.mts +1 -1
  121. package/esm/contracts/memory/recall-options.type.d.mts.map +1 -1
  122. package/esm/contracts/middleware/middleware-context.type.d.mts +1 -1
  123. package/esm/contracts/middleware/middleware-context.type.d.mts.map +1 -1
  124. package/esm/contracts/middleware/middleware-state.type.d.mts +1 -1
  125. package/esm/contracts/middleware/middleware-state.type.d.mts.map +1 -1
  126. package/esm/contracts/middleware/middleware.contract.d.mts +1 -1
  127. package/esm/contracts/middleware/middleware.contract.d.mts.map +1 -1
  128. package/esm/contracts/model-tool-call-request.type.d.mts +1 -1
  129. package/esm/contracts/model-tool-call-request.type.d.mts.map +1 -1
  130. package/esm/contracts/model.contract.d.mts +9 -1
  131. package/esm/contracts/model.contract.d.mts.map +1 -1
  132. package/esm/contracts/orchestrator/checkpoint-store.contract.d.mts +1 -1
  133. package/esm/contracts/orchestrator/checkpoint-store.contract.d.mts.map +1 -1
  134. package/esm/contracts/orchestrator/orchestrator-commands.type.d.mts +1 -1
  135. package/esm/contracts/orchestrator/orchestrator-commands.type.d.mts.map +1 -1
  136. package/esm/contracts/orchestrator/orchestrator-config.type.d.mts +1 -1
  137. package/esm/contracts/orchestrator/orchestrator-config.type.d.mts.map +1 -1
  138. package/esm/contracts/orchestrator/orchestrator-event.type.d.mts +1 -1
  139. package/esm/contracts/orchestrator/orchestrator-event.type.d.mts.map +1 -1
  140. package/esm/contracts/orchestrator/orchestrator-execute-options.type.d.mts +1 -1
  141. package/esm/contracts/orchestrator/orchestrator-execute-options.type.d.mts.map +1 -1
  142. package/esm/contracts/orchestrator/orchestrator.contract.d.mts +1 -1
  143. package/esm/contracts/orchestrator/orchestrator.contract.d.mts.map +1 -1
  144. package/esm/contracts/orchestrator/session-lock.contract.d.mts +1 -1
  145. package/esm/contracts/orchestrator/session-lock.contract.d.mts.map +1 -1
  146. package/esm/contracts/orchestrator/session.contract.d.mts +1 -1
  147. package/esm/contracts/orchestrator/session.contract.d.mts.map +1 -1
  148. package/esm/contracts/orchestrator/snapshot-store.contract.d.mts +1 -1
  149. package/esm/contracts/orchestrator/snapshot-store.contract.d.mts.map +1 -1
  150. package/esm/contracts/placeholders.type.d.mts +1 -1
  151. package/esm/contracts/placeholders.type.d.mts.map +1 -1
  152. package/esm/contracts/planner/planner-capability.type.d.mts +1 -1
  153. package/esm/contracts/planner/planner-capability.type.d.mts.map +1 -1
  154. package/esm/contracts/planner/planner-config.type.d.mts +1 -1
  155. package/esm/contracts/planner/planner-config.type.d.mts.map +1 -1
  156. package/esm/contracts/planner/planner-execute-options.type.d.mts +1 -1
  157. package/esm/contracts/planner/planner-execute-options.type.d.mts.map +1 -1
  158. package/esm/contracts/planner/planner-plan.type.d.mts +1 -1
  159. package/esm/contracts/planner/planner-plan.type.d.mts.map +1 -1
  160. package/esm/contracts/planner/planner-result.type.d.mts +1 -1
  161. package/esm/contracts/planner/planner-result.type.d.mts.map +1 -1
  162. package/esm/contracts/planner/planner-snapshot.type.d.mts +1 -1
  163. package/esm/contracts/planner/planner-snapshot.type.d.mts.map +1 -1
  164. package/esm/contracts/planner/planner.contract.d.mts +1 -1
  165. package/esm/contracts/planner/planner.contract.d.mts.map +1 -1
  166. package/esm/contracts/result/agent-result.type.d.mts +1 -1
  167. package/esm/contracts/result/agent-result.type.d.mts.map +1 -1
  168. package/esm/contracts/result/attempt-entry.type.d.mts +1 -1
  169. package/esm/contracts/result/attempt-entry.type.d.mts.map +1 -1
  170. package/esm/contracts/result/base-report.type.d.mts +1 -1
  171. package/esm/contracts/result/base-report.type.d.mts.map +1 -1
  172. package/esm/contracts/result/base-report.type.mjs +1 -1
  173. package/esm/contracts/result/base-report.type.mjs.map +1 -1
  174. package/esm/contracts/result/base-result.type.d.mts +1 -1
  175. package/esm/contracts/result/base-result.type.d.mts.map +1 -1
  176. package/esm/contracts/result/execute-result.type.d.mts +1 -1
  177. package/esm/contracts/result/execute-result.type.d.mts.map +1 -1
  178. package/esm/contracts/result/execution-report.type.d.mts +1 -1
  179. package/esm/contracts/result/execution-report.type.d.mts.map +1 -1
  180. package/esm/contracts/result/llm-trip.type.d.mts +1 -1
  181. package/esm/contracts/result/llm-trip.type.d.mts.map +1 -1
  182. package/esm/contracts/result/model-pricing.type.d.mts +1 -1
  183. package/esm/contracts/result/model-pricing.type.d.mts.map +1 -1
  184. package/esm/contracts/result/orchestrator-result.type.d.mts +1 -1
  185. package/esm/contracts/result/orchestrator-result.type.d.mts.map +1 -1
  186. package/esm/contracts/result/session-send-result.type.d.mts +1 -1
  187. package/esm/contracts/result/session-send-result.type.d.mts.map +1 -1
  188. package/esm/contracts/result/step-result.type.d.mts +12 -2
  189. package/esm/contracts/result/step-result.type.d.mts.map +1 -1
  190. package/esm/contracts/result/supervisor-result.type.d.mts +1 -1
  191. package/esm/contracts/result/supervisor-result.type.d.mts.map +1 -1
  192. package/esm/contracts/result/tool-call.type.d.mts +1 -1
  193. package/esm/contracts/result/tool-call.type.d.mts.map +1 -1
  194. package/esm/contracts/result/usage.type.d.mts +1 -1
  195. package/esm/contracts/result/usage.type.d.mts.map +1 -1
  196. package/esm/contracts/result/workflow-result.type.d.mts +1 -1
  197. package/esm/contracts/result/workflow-result.type.d.mts.map +1 -1
  198. package/esm/contracts/sdk-adapter.contract.d.mts +1 -1
  199. package/esm/contracts/sdk-adapter.contract.d.mts.map +1 -1
  200. package/esm/contracts/speech-model.contract.d.mts +1 -1
  201. package/esm/contracts/speech-model.contract.d.mts.map +1 -1
  202. package/esm/contracts/stream/stream-event.type.d.mts +1 -1
  203. package/esm/contracts/stream/stream-event.type.d.mts.map +1 -1
  204. package/esm/contracts/stream/stream.contract.d.mts +1 -1
  205. package/esm/contracts/stream/stream.contract.d.mts.map +1 -1
  206. package/esm/contracts/streaming-tool-guard-config.type.d.mts +1 -1
  207. package/esm/contracts/streaming-tool-guard-config.type.d.mts.map +1 -1
  208. package/esm/contracts/supervisor/ack-entry.type.d.mts +1 -1
  209. package/esm/contracts/supervisor/ack-entry.type.d.mts.map +1 -1
  210. package/esm/contracts/supervisor/classifier-context.type.d.mts +1 -1
  211. package/esm/contracts/supervisor/classifier-context.type.d.mts.map +1 -1
  212. package/esm/contracts/supervisor/dispatch-context.type.d.mts +1 -1
  213. package/esm/contracts/supervisor/dispatch-context.type.d.mts.map +1 -1
  214. package/esm/contracts/supervisor/evaluate-context.type.d.mts +1 -1
  215. package/esm/contracts/supervisor/evaluate-context.type.d.mts.map +1 -1
  216. package/esm/contracts/supervisor/intent-entry.type.d.mts +1 -1
  217. package/esm/contracts/supervisor/intent-entry.type.d.mts.map +1 -1
  218. package/esm/contracts/supervisor/iteration-snapshot.type.d.mts +1 -1
  219. package/esm/contracts/supervisor/iteration-snapshot.type.d.mts.map +1 -1
  220. package/esm/contracts/supervisor/next.type.d.mts +1 -1
  221. package/esm/contracts/supervisor/next.type.d.mts.map +1 -1
  222. package/esm/contracts/supervisor/route-context.type.d.mts +1 -1
  223. package/esm/contracts/supervisor/route-context.type.d.mts.map +1 -1
  224. package/esm/contracts/supervisor/router-entry.type.d.mts +1 -1
  225. package/esm/contracts/supervisor/router-entry.type.d.mts.map +1 -1
  226. package/esm/contracts/supervisor/supervisor-config.type.d.mts +1 -1
  227. package/esm/contracts/supervisor/supervisor-config.type.d.mts.map +1 -1
  228. package/esm/contracts/supervisor/supervisor-execute-options.type.d.mts +1 -1
  229. package/esm/contracts/supervisor/supervisor-execute-options.type.d.mts.map +1 -1
  230. package/esm/contracts/supervisor/supervisor-input.type.d.mts +1 -1
  231. package/esm/contracts/supervisor/supervisor-input.type.d.mts.map +1 -1
  232. package/esm/contracts/supervisor/supervisor-snapshot.type.d.mts +1 -1
  233. package/esm/contracts/supervisor/supervisor-snapshot.type.d.mts.map +1 -1
  234. package/esm/contracts/supervisor/supervisor-stream-event.type.d.mts +1 -1
  235. package/esm/contracts/supervisor/supervisor-stream-event.type.d.mts.map +1 -1
  236. package/esm/contracts/supervisor/supervisor.contract.d.mts +1 -1
  237. package/esm/contracts/supervisor/supervisor.contract.d.mts.map +1 -1
  238. package/esm/contracts/system-prompt.contract.d.mts +1 -1
  239. package/esm/contracts/system-prompt.contract.d.mts.map +1 -1
  240. package/esm/contracts/team/team-config.type.d.mts +1 -1
  241. package/esm/contracts/team/team-config.type.d.mts.map +1 -1
  242. package/esm/contracts/tool.contract.d.mts +1 -1
  243. package/esm/contracts/tool.contract.d.mts.map +1 -1
  244. package/esm/contracts/transcription-model.contract.d.mts +1 -1
  245. package/esm/contracts/transcription-model.contract.d.mts.map +1 -1
  246. package/esm/contracts/workflow/next-step-result.type.d.mts +1 -1
  247. package/esm/contracts/workflow/next-step-result.type.d.mts.map +1 -1
  248. package/esm/contracts/workflow/retry-config.type.d.mts +1 -1
  249. package/esm/contracts/workflow/retry-config.type.d.mts.map +1 -1
  250. package/esm/contracts/workflow/step.contract.d.mts +1 -1
  251. package/esm/contracts/workflow/step.contract.d.mts.map +1 -1
  252. package/esm/contracts/workflow/workflow-context.type.d.mts +1 -1
  253. package/esm/contracts/workflow/workflow-context.type.d.mts.map +1 -1
  254. package/esm/contracts/workflow/workflow-snapshot.type.d.mts +1 -1
  255. package/esm/contracts/workflow/workflow-snapshot.type.d.mts.map +1 -1
  256. package/esm/contracts/workflow/workflow.contract.d.mts +1 -1
  257. package/esm/contracts/workflow/workflow.contract.d.mts.map +1 -1
  258. package/esm/errors/agent-cancelled-error.d.mts +1 -1
  259. package/esm/errors/agent-cancelled-error.d.mts.map +1 -1
  260. package/esm/errors/agent-cancelled-error.mjs +1 -1
  261. package/esm/errors/agent-cancelled-error.mjs.map +1 -1
  262. package/esm/errors/agent-drift-error.d.mts +1 -1
  263. package/esm/errors/agent-drift-error.d.mts.map +1 -1
  264. package/esm/errors/agent-drift-error.mjs +1 -1
  265. package/esm/errors/agent-drift-error.mjs.map +1 -1
  266. package/esm/errors/agent-execution-error.d.mts +1 -1
  267. package/esm/errors/agent-execution-error.d.mts.map +1 -1
  268. package/esm/errors/agent-execution-error.mjs +1 -1
  269. package/esm/errors/agent-execution-error.mjs.map +1 -1
  270. package/esm/errors/agent-max-trips-error.d.mts +1 -1
  271. package/esm/errors/agent-max-trips-error.d.mts.map +1 -1
  272. package/esm/errors/agent-max-trips-error.mjs +1 -1
  273. package/esm/errors/agent-max-trips-error.mjs.map +1 -1
  274. package/esm/errors/ai-error.d.mts +1 -1
  275. package/esm/errors/ai-error.d.mts.map +1 -1
  276. package/esm/errors/ai-error.mjs +1 -1
  277. package/esm/errors/ai-error.mjs.map +1 -1
  278. package/esm/errors/budget-exceeded-error.d.mts +1 -1
  279. package/esm/errors/budget-exceeded-error.d.mts.map +1 -1
  280. package/esm/errors/budget-exceeded-error.mjs +1 -1
  281. package/esm/errors/budget-exceeded-error.mjs.map +1 -1
  282. package/esm/errors/content-filter-error.d.mts +1 -1
  283. package/esm/errors/content-filter-error.d.mts.map +1 -1
  284. package/esm/errors/content-filter-error.mjs +1 -1
  285. package/esm/errors/content-filter-error.mjs.map +1 -1
  286. package/esm/errors/context-length-exceeded-error.d.mts +1 -1
  287. package/esm/errors/context-length-exceeded-error.d.mts.map +1 -1
  288. package/esm/errors/context-length-exceeded-error.mjs +1 -1
  289. package/esm/errors/context-length-exceeded-error.mjs.map +1 -1
  290. package/esm/errors/error-category.type.d.mts +1 -1
  291. package/esm/errors/error-category.type.d.mts.map +1 -1
  292. package/esm/errors/error-code.type.d.mts +1 -1
  293. package/esm/errors/error-code.type.d.mts.map +1 -1
  294. package/esm/errors/guardrail-violation-error.d.mts +1 -1
  295. package/esm/errors/guardrail-violation-error.d.mts.map +1 -1
  296. package/esm/errors/guardrail-violation-error.mjs +1 -1
  297. package/esm/errors/guardrail-violation-error.mjs.map +1 -1
  298. package/esm/errors/invalid-request-error.d.mts +1 -1
  299. package/esm/errors/invalid-request-error.d.mts.map +1 -1
  300. package/esm/errors/invalid-request-error.mjs +1 -1
  301. package/esm/errors/invalid-request-error.mjs.map +1 -1
  302. package/esm/errors/max-iterations-error.d.mts +1 -1
  303. package/esm/errors/max-iterations-error.d.mts.map +1 -1
  304. package/esm/errors/max-iterations-error.mjs +1 -1
  305. package/esm/errors/max-iterations-error.mjs.map +1 -1
  306. package/esm/errors/max-steps-exceeded-error.d.mts +1 -1
  307. package/esm/errors/max-steps-exceeded-error.d.mts.map +1 -1
  308. package/esm/errors/max-steps-exceeded-error.mjs +1 -1
  309. package/esm/errors/max-steps-exceeded-error.mjs.map +1 -1
  310. package/esm/errors/orchestrator-cancelled-error.d.mts +1 -1
  311. package/esm/errors/orchestrator-cancelled-error.d.mts.map +1 -1
  312. package/esm/errors/orchestrator-cancelled-error.mjs +1 -1
  313. package/esm/errors/orchestrator-cancelled-error.mjs.map +1 -1
  314. package/esm/errors/orchestrator-config-error.d.mts +1 -1
  315. package/esm/errors/orchestrator-config-error.d.mts.map +1 -1
  316. package/esm/errors/orchestrator-config-error.mjs +1 -1
  317. package/esm/errors/orchestrator-config-error.mjs.map +1 -1
  318. package/esm/errors/orchestrator-drift-error.d.mts +1 -1
  319. package/esm/errors/orchestrator-drift-error.d.mts.map +1 -1
  320. package/esm/errors/orchestrator-drift-error.mjs +1 -1
  321. package/esm/errors/orchestrator-drift-error.mjs.map +1 -1
  322. package/esm/errors/orchestrator-failed-error.d.mts +1 -1
  323. package/esm/errors/orchestrator-failed-error.d.mts.map +1 -1
  324. package/esm/errors/orchestrator-failed-error.mjs +1 -1
  325. package/esm/errors/orchestrator-failed-error.mjs.map +1 -1
  326. package/esm/errors/outbound-policy-error.d.mts +1 -1
  327. package/esm/errors/outbound-policy-error.d.mts.map +1 -1
  328. package/esm/errors/outbound-policy-error.mjs +1 -1
  329. package/esm/errors/outbound-policy-error.mjs.map +1 -1
  330. package/esm/errors/planner-cancelled-error.d.mts +1 -1
  331. package/esm/errors/planner-cancelled-error.d.mts.map +1 -1
  332. package/esm/errors/planner-cancelled-error.mjs +1 -1
  333. package/esm/errors/planner-cancelled-error.mjs.map +1 -1
  334. package/esm/errors/planner-drift-error.d.mts +1 -1
  335. package/esm/errors/planner-drift-error.d.mts.map +1 -1
  336. package/esm/errors/planner-drift-error.mjs +1 -1
  337. package/esm/errors/planner-drift-error.mjs.map +1 -1
  338. package/esm/errors/planner-failed-error.d.mts +1 -1
  339. package/esm/errors/planner-failed-error.d.mts.map +1 -1
  340. package/esm/errors/planner-failed-error.mjs +1 -1
  341. package/esm/errors/planner-failed-error.mjs.map +1 -1
  342. package/esm/errors/planner-plan-invalid-error.d.mts +1 -1
  343. package/esm/errors/planner-plan-invalid-error.d.mts.map +1 -1
  344. package/esm/errors/planner-plan-invalid-error.mjs +1 -1
  345. package/esm/errors/planner-plan-invalid-error.mjs.map +1 -1
  346. package/esm/errors/prompt-refinement-error.d.mts +1 -1
  347. package/esm/errors/prompt-refinement-error.d.mts.map +1 -1
  348. package/esm/errors/prompt-refinement-error.mjs +1 -1
  349. package/esm/errors/prompt-refinement-error.mjs.map +1 -1
  350. package/esm/errors/provider-auth-error.d.mts +1 -1
  351. package/esm/errors/provider-auth-error.d.mts.map +1 -1
  352. package/esm/errors/provider-auth-error.mjs +1 -1
  353. package/esm/errors/provider-auth-error.mjs.map +1 -1
  354. package/esm/errors/provider-error.d.mts +1 -1
  355. package/esm/errors/provider-error.d.mts.map +1 -1
  356. package/esm/errors/provider-error.mjs +1 -1
  357. package/esm/errors/provider-error.mjs.map +1 -1
  358. package/esm/errors/provider-rate-limit-error.d.mts +1 -1
  359. package/esm/errors/provider-rate-limit-error.d.mts.map +1 -1
  360. package/esm/errors/provider-rate-limit-error.mjs +1 -1
  361. package/esm/errors/provider-rate-limit-error.mjs.map +1 -1
  362. package/esm/errors/provider-timeout-error.d.mts +1 -1
  363. package/esm/errors/provider-timeout-error.d.mts.map +1 -1
  364. package/esm/errors/provider-timeout-error.mjs +1 -1
  365. package/esm/errors/provider-timeout-error.mjs.map +1 -1
  366. package/esm/errors/quota-exceeded-error.d.mts +1 -1
  367. package/esm/errors/quota-exceeded-error.d.mts.map +1 -1
  368. package/esm/errors/quota-exceeded-error.mjs +1 -1
  369. package/esm/errors/quota-exceeded-error.mjs.map +1 -1
  370. package/esm/errors/routing-error.d.mts +1 -1
  371. package/esm/errors/routing-error.d.mts.map +1 -1
  372. package/esm/errors/routing-error.mjs +1 -1
  373. package/esm/errors/routing-error.mjs.map +1 -1
  374. package/esm/errors/schema-validation-error.d.mts +1 -1
  375. package/esm/errors/schema-validation-error.d.mts.map +1 -1
  376. package/esm/errors/schema-validation-error.mjs +1 -1
  377. package/esm/errors/schema-validation-error.mjs.map +1 -1
  378. package/esm/errors/step-failed-error.d.mts +1 -1
  379. package/esm/errors/step-failed-error.d.mts.map +1 -1
  380. package/esm/errors/step-failed-error.mjs +1 -1
  381. package/esm/errors/step-failed-error.mjs.map +1 -1
  382. package/esm/errors/supervisor-cancelled-error.d.mts +1 -1
  383. package/esm/errors/supervisor-cancelled-error.d.mts.map +1 -1
  384. package/esm/errors/supervisor-cancelled-error.mjs +1 -1
  385. package/esm/errors/supervisor-cancelled-error.mjs.map +1 -1
  386. package/esm/errors/supervisor-drift-error.d.mts +1 -1
  387. package/esm/errors/supervisor-drift-error.d.mts.map +1 -1
  388. package/esm/errors/supervisor-drift-error.mjs +1 -1
  389. package/esm/errors/supervisor-drift-error.mjs.map +1 -1
  390. package/esm/errors/supervisor-failed-error.d.mts +1 -1
  391. package/esm/errors/supervisor-failed-error.d.mts.map +1 -1
  392. package/esm/errors/supervisor-failed-error.mjs +1 -1
  393. package/esm/errors/supervisor-failed-error.mjs.map +1 -1
  394. package/esm/errors/supervisor-routing-error.d.mts +1 -1
  395. package/esm/errors/supervisor-routing-error.d.mts.map +1 -1
  396. package/esm/errors/supervisor-routing-error.mjs +1 -1
  397. package/esm/errors/supervisor-routing-error.mjs.map +1 -1
  398. package/esm/errors/tool-execution-error.d.mts +1 -1
  399. package/esm/errors/tool-execution-error.d.mts.map +1 -1
  400. package/esm/errors/tool-execution-error.mjs +1 -1
  401. package/esm/errors/tool-execution-error.mjs.map +1 -1
  402. package/esm/errors/workflow-cancelled-error.d.mts +1 -1
  403. package/esm/errors/workflow-cancelled-error.d.mts.map +1 -1
  404. package/esm/errors/workflow-cancelled-error.mjs +1 -1
  405. package/esm/errors/workflow-cancelled-error.mjs.map +1 -1
  406. package/esm/errors/workflow-drift-error.d.mts +1 -1
  407. package/esm/errors/workflow-drift-error.d.mts.map +1 -1
  408. package/esm/errors/workflow-drift-error.mjs +1 -1
  409. package/esm/errors/workflow-drift-error.mjs.map +1 -1
  410. package/esm/errors/workflow-error.d.mts +1 -1
  411. package/esm/errors/workflow-error.d.mts.map +1 -1
  412. package/esm/errors/workflow-error.mjs +1 -1
  413. package/esm/errors/workflow-error.mjs.map +1 -1
  414. package/esm/eval/dataset.d.mts +1 -1
  415. package/esm/eval/dataset.d.mts.map +1 -1
  416. package/esm/eval/dataset.mjs +1 -1
  417. package/esm/eval/dataset.mjs.map +1 -1
  418. package/esm/eval/dataset.type.d.mts +1 -1
  419. package/esm/eval/dataset.type.d.mts.map +1 -1
  420. package/esm/eval/eval-runner.d.mts +1 -1
  421. package/esm/eval/eval-runner.d.mts.map +1 -1
  422. package/esm/eval/eval-runner.mjs +1 -1
  423. package/esm/eval/eval-runner.mjs.map +1 -1
  424. package/esm/eval/index.d.mts +1 -1
  425. package/esm/eval/index.d.mts.map +1 -1
  426. package/esm/eval/index.mjs +1 -1
  427. package/esm/eval/index.mjs.map +1 -1
  428. package/esm/eval/judge-scorer.d.mts +1 -1
  429. package/esm/eval/judge-scorer.d.mts.map +1 -1
  430. package/esm/eval/judge-scorer.mjs +1 -1
  431. package/esm/eval/judge-scorer.mjs.map +1 -1
  432. package/esm/eval/regression.d.mts +1 -1
  433. package/esm/eval/regression.d.mts.map +1 -1
  434. package/esm/eval/regression.mjs +1 -1
  435. package/esm/eval/regression.mjs.map +1 -1
  436. package/esm/eval/report-json.d.mts +1 -1
  437. package/esm/eval/report-json.d.mts.map +1 -1
  438. package/esm/eval/report-json.mjs +1 -1
  439. package/esm/eval/report-json.mjs.map +1 -1
  440. package/esm/eval/report-junit.d.mts +1 -1
  441. package/esm/eval/report-junit.d.mts.map +1 -1
  442. package/esm/eval/report-junit.mjs +1 -1
  443. package/esm/eval/report-junit.mjs.map +1 -1
  444. package/esm/eval/scorers.d.mts +1 -1
  445. package/esm/eval/scorers.d.mts.map +1 -1
  446. package/esm/eval/scorers.mjs +1 -1
  447. package/esm/eval/scorers.mjs.map +1 -1
  448. package/esm/guard/contracts/guard-options.type.d.mts +1 -1
  449. package/esm/guard/contracts/guard-options.type.d.mts.map +1 -1
  450. package/esm/guard/contracts/guardrail.contract.d.mts +1 -1
  451. package/esm/guard/contracts/guardrail.contract.d.mts.map +1 -1
  452. package/esm/guard/contracts/openai-client.contract.d.mts +1 -1
  453. package/esm/guard/contracts/openai-client.contract.d.mts.map +1 -1
  454. package/esm/guard/contracts/verdict.type.d.mts +1 -1
  455. package/esm/guard/contracts/verdict.type.d.mts.map +1 -1
  456. package/esm/guard/detectors/injection.d.mts +1 -1
  457. package/esm/guard/detectors/injection.d.mts.map +1 -1
  458. package/esm/guard/detectors/injection.mjs +1 -1
  459. package/esm/guard/detectors/injection.mjs.map +1 -1
  460. package/esm/guard/detectors/moderation.d.mts +1 -1
  461. package/esm/guard/detectors/moderation.d.mts.map +1 -1
  462. package/esm/guard/detectors/moderation.mjs +1 -1
  463. package/esm/guard/detectors/moderation.mjs.map +1 -1
  464. package/esm/guard/detectors/pii.d.mts +1 -1
  465. package/esm/guard/detectors/pii.d.mts.map +1 -1
  466. package/esm/guard/detectors/pii.mjs +1 -1
  467. package/esm/guard/detectors/pii.mjs.map +1 -1
  468. package/esm/guard/detectors/topic.d.mts +1 -1
  469. package/esm/guard/detectors/topic.d.mts.map +1 -1
  470. package/esm/guard/detectors/topic.mjs +1 -1
  471. package/esm/guard/detectors/topic.mjs.map +1 -1
  472. package/esm/guard/errors.d.mts +1 -1
  473. package/esm/guard/errors.d.mts.map +1 -1
  474. package/esm/guard/errors.mjs +1 -1
  475. package/esm/guard/errors.mjs.map +1 -1
  476. package/esm/guard/guard.d.mts +1 -1
  477. package/esm/guard/guard.d.mts.map +1 -1
  478. package/esm/guard/guard.mjs +1 -1
  479. package/esm/guard/guard.mjs.map +1 -1
  480. package/esm/guard/guardrail.d.mts +1 -1
  481. package/esm/guard/guardrail.d.mts.map +1 -1
  482. package/esm/guard/guardrail.mjs +1 -1
  483. package/esm/guard/guardrail.mjs.map +1 -1
  484. package/esm/human/contracts/approval.type.d.mts +1 -1
  485. package/esm/human/contracts/approval.type.d.mts.map +1 -1
  486. package/esm/human/contracts/human-approval.type.d.mts +1 -1
  487. package/esm/human/contracts/human-approval.type.d.mts.map +1 -1
  488. package/esm/human/contracts/interrupt-store.contract.d.mts +1 -1
  489. package/esm/human/contracts/interrupt-store.contract.d.mts.map +1 -1
  490. package/esm/human/contracts/resume.type.d.mts +1 -1
  491. package/esm/human/contracts/resume.type.d.mts.map +1 -1
  492. package/esm/human/errors.d.mts +1 -1
  493. package/esm/human/errors.d.mts.map +1 -1
  494. package/esm/human/errors.mjs +1 -1
  495. package/esm/human/errors.mjs.map +1 -1
  496. package/esm/human/human-approval.d.mts +1 -1
  497. package/esm/human/human-approval.d.mts.map +1 -1
  498. package/esm/human/human-approval.mjs +1 -1
  499. package/esm/human/human-approval.mjs.map +1 -1
  500. package/esm/human/policy.d.mts +1 -1
  501. package/esm/human/policy.d.mts.map +1 -1
  502. package/esm/human/policy.mjs +1 -1
  503. package/esm/human/policy.mjs.map +1 -1
  504. package/esm/human/register.mjs +1 -1
  505. package/esm/human/register.mjs.map +1 -1
  506. package/esm/human/resume-seed.mjs +1 -1
  507. package/esm/human/resume-seed.mjs.map +1 -1
  508. package/esm/human/resume.d.mts +1 -1
  509. package/esm/human/resume.d.mts.map +1 -1
  510. package/esm/human/resume.mjs +1 -1
  511. package/esm/human/resume.mjs.map +1 -1
  512. package/esm/human/stores/memory.d.mts +1 -1
  513. package/esm/human/stores/memory.d.mts.map +1 -1
  514. package/esm/human/stores/memory.mjs +1 -1
  515. package/esm/human/stores/memory.mjs.map +1 -1
  516. package/esm/human/stores/pg.d.mts +1 -1
  517. package/esm/human/stores/pg.d.mts.map +1 -1
  518. package/esm/human/stores/pg.mjs +1 -1
  519. package/esm/human/stores/pg.mjs.map +1 -1
  520. package/esm/human/stores/redis.d.mts +1 -1
  521. package/esm/human/stores/redis.d.mts.map +1 -1
  522. package/esm/human/stores/redis.mjs +1 -1
  523. package/esm/human/stores/redis.mjs.map +1 -1
  524. package/esm/image/image-cost.d.mts +1 -1
  525. package/esm/image/image-cost.d.mts.map +1 -1
  526. package/esm/image/image-cost.mjs +1 -1
  527. package/esm/image/image-cost.mjs.map +1 -1
  528. package/esm/image/image.d.mts +1 -1
  529. package/esm/image/image.d.mts.map +1 -1
  530. package/esm/image/image.mjs +1 -1
  531. package/esm/image/image.mjs.map +1 -1
  532. package/esm/memory/derive-id.mjs +1 -1
  533. package/esm/memory/derive-id.mjs.map +1 -1
  534. package/esm/memory/episodic-memory.mjs +1 -1
  535. package/esm/memory/episodic-memory.mjs.map +1 -1
  536. package/esm/memory/memory.d.mts +1 -1
  537. package/esm/memory/memory.d.mts.map +1 -1
  538. package/esm/memory/memory.mjs +1 -1
  539. package/esm/memory/memory.mjs.map +1 -1
  540. package/esm/memory/procedural-memory.mjs +1 -1
  541. package/esm/memory/procedural-memory.mjs.map +1 -1
  542. package/esm/memory/semantic-memory.mjs +1 -1
  543. package/esm/memory/semantic-memory.mjs.map +1 -1
  544. package/esm/memory/working-memory.mjs +1 -1
  545. package/esm/memory/working-memory.mjs.map +1 -1
  546. package/esm/middleware/builtins/budget-contract.type.d.mts +1 -1
  547. package/esm/middleware/builtins/budget-contract.type.d.mts.map +1 -1
  548. package/esm/middleware/builtins/budget.d.mts +1 -1
  549. package/esm/middleware/builtins/budget.d.mts.map +1 -1
  550. package/esm/middleware/builtins/budget.mjs +1 -1
  551. package/esm/middleware/builtins/budget.mjs.map +1 -1
  552. package/esm/middleware/builtins/guardrail.d.mts +1 -1
  553. package/esm/middleware/builtins/guardrail.d.mts.map +1 -1
  554. package/esm/middleware/builtins/guardrail.mjs +1 -1
  555. package/esm/middleware/builtins/guardrail.mjs.map +1 -1
  556. package/esm/middleware/builtins/semantic-cache.d.mts +1 -1
  557. package/esm/middleware/builtins/semantic-cache.d.mts.map +1 -1
  558. package/esm/middleware/builtins/semantic-cache.mjs +1 -1
  559. package/esm/middleware/builtins/semantic-cache.mjs.map +1 -1
  560. package/esm/middleware/helpers/compose.d.mts +1 -1
  561. package/esm/middleware/helpers/compose.d.mts.map +1 -1
  562. package/esm/middleware/helpers/compose.mjs +1 -1
  563. package/esm/middleware/helpers/compose.mjs.map +1 -1
  564. package/esm/middleware/helpers/for-tool.d.mts +1 -1
  565. package/esm/middleware/helpers/for-tool.d.mts.map +1 -1
  566. package/esm/middleware/helpers/for-tool.mjs +1 -1
  567. package/esm/middleware/helpers/for-tool.mjs.map +1 -1
  568. package/esm/middleware/pipeline.d.mts +1 -1
  569. package/esm/middleware/pipeline.d.mts.map +1 -1
  570. package/esm/middleware/pipeline.mjs +1 -1
  571. package/esm/middleware/pipeline.mjs.map +1 -1
  572. package/esm/middleware/utils/extract-user-text.d.mts +1 -1
  573. package/esm/middleware/utils/extract-user-text.d.mts.map +1 -1
  574. package/esm/middleware/utils/extract-user-text.mjs +1 -1
  575. package/esm/middleware/utils/extract-user-text.mjs.map +1 -1
  576. package/esm/middleware/utils/namespaced-state.d.mts +1 -1
  577. package/esm/middleware/utils/namespaced-state.d.mts.map +1 -1
  578. package/esm/middleware/utils/namespaced-state.mjs +1 -1
  579. package/esm/middleware/utils/namespaced-state.mjs.map +1 -1
  580. package/esm/mock/mock-agent.d.mts +1 -1
  581. package/esm/mock/mock-agent.d.mts.map +1 -1
  582. package/esm/mock/mock-agent.mjs +1 -1
  583. package/esm/mock/mock-agent.mjs.map +1 -1
  584. package/esm/mock/mock-config.type.d.mts +1 -1
  585. package/esm/mock/mock-config.type.d.mts.map +1 -1
  586. package/esm/mock/mock-image-model.d.mts +1 -1
  587. package/esm/mock/mock-image-model.d.mts.map +1 -1
  588. package/esm/mock/mock-image-model.mjs +1 -1
  589. package/esm/mock/mock-image-model.mjs.map +1 -1
  590. package/esm/mock/mock-model.d.mts +1 -1
  591. package/esm/mock/mock-model.d.mts.map +1 -1
  592. package/esm/mock/mock-model.mjs +1 -1
  593. package/esm/mock/mock-model.mjs.map +1 -1
  594. package/esm/mock/mock-router.d.mts +1 -1
  595. package/esm/mock/mock-router.d.mts.map +1 -1
  596. package/esm/mock/mock-router.mjs +1 -1
  597. package/esm/mock/mock-router.mjs.map +1 -1
  598. package/esm/mock/mock-sdk.d.mts +1 -1
  599. package/esm/mock/mock-sdk.d.mts.map +1 -1
  600. package/esm/mock/mock-sdk.mjs +1 -1
  601. package/esm/mock/mock-sdk.mjs.map +1 -1
  602. package/esm/mock/mock-speech-model.d.mts +1 -1
  603. package/esm/mock/mock-speech-model.d.mts.map +1 -1
  604. package/esm/mock/mock-speech-model.mjs +1 -1
  605. package/esm/mock/mock-speech-model.mjs.map +1 -1
  606. package/esm/mock/mock-transcription-model.d.mts +1 -1
  607. package/esm/mock/mock-transcription-model.d.mts.map +1 -1
  608. package/esm/mock/mock-transcription-model.mjs +1 -1
  609. package/esm/mock/mock-transcription-model.mjs.map +1 -1
  610. package/esm/model/fallback-model.d.mts +1 -1
  611. package/esm/model/fallback-model.d.mts.map +1 -1
  612. package/esm/model/fallback-model.mjs +1 -1
  613. package/esm/model/fallback-model.mjs.map +1 -1
  614. package/esm/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +1 -1
  615. package/esm/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +1 -1
  616. package/esm/node_modules/@vitest/expect/dist/index.mjs +1 -1
  617. package/esm/node_modules/@vitest/expect/dist/index.mjs.map +1 -1
  618. package/esm/node_modules/@vitest/pretty-format/dist/index.mjs +1 -1
  619. package/esm/node_modules/@vitest/pretty-format/dist/index.mjs.map +1 -1
  620. package/esm/node_modules/@vitest/runner/dist/chunk-artifact.mjs +1 -1
  621. package/esm/node_modules/@vitest/runner/dist/chunk-artifact.mjs.map +1 -1
  622. package/esm/node_modules/@vitest/snapshot/dist/index.mjs +1 -1
  623. package/esm/node_modules/@vitest/snapshot/dist/index.mjs.map +1 -1
  624. package/esm/node_modules/@vitest/spy/dist/index.mjs +1 -1
  625. package/esm/node_modules/@vitest/spy/dist/index.mjs.map +1 -1
  626. package/esm/node_modules/@vitest/utils/dist/chunk-pathe.M-eThtNZ.mjs +1 -1
  627. package/esm/node_modules/@vitest/utils/dist/chunk-pathe.M-eThtNZ.mjs.map +1 -1
  628. package/esm/node_modules/@vitest/utils/dist/diff.mjs +1 -1
  629. package/esm/node_modules/@vitest/utils/dist/diff.mjs.map +1 -1
  630. package/esm/node_modules/@vitest/utils/dist/display.mjs +1 -1
  631. package/esm/node_modules/@vitest/utils/dist/display.mjs.map +1 -1
  632. package/esm/node_modules/@vitest/utils/dist/error.mjs +1 -1
  633. package/esm/node_modules/@vitest/utils/dist/error.mjs.map +1 -1
  634. package/esm/node_modules/@vitest/utils/dist/helpers.mjs +1 -1
  635. package/esm/node_modules/@vitest/utils/dist/helpers.mjs.map +1 -1
  636. package/esm/node_modules/@vitest/utils/dist/offset.mjs +1 -1
  637. package/esm/node_modules/@vitest/utils/dist/offset.mjs.map +1 -1
  638. package/esm/node_modules/@vitest/utils/dist/serialize.mjs +1 -1
  639. package/esm/node_modules/@vitest/utils/dist/serialize.mjs.map +1 -1
  640. package/esm/node_modules/@vitest/utils/dist/source-map.mjs +1 -1
  641. package/esm/node_modules/@vitest/utils/dist/source-map.mjs.map +1 -1
  642. package/esm/node_modules/@vitest/utils/dist/timers.mjs +1 -1
  643. package/esm/node_modules/@vitest/utils/dist/timers.mjs.map +1 -1
  644. package/esm/node_modules/chai/index.mjs +1 -1
  645. package/esm/node_modules/chai/index.mjs.map +1 -1
  646. package/esm/node_modules/magic-string/dist/magic-string.es.mjs +1 -1
  647. package/esm/node_modules/magic-string/dist/magic-string.es.mjs.map +1 -1
  648. package/esm/node_modules/tinyrainbow/dist/index.mjs +1 -1
  649. package/esm/node_modules/tinyrainbow/dist/index.mjs.map +1 -1
  650. package/esm/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.mjs +1 -1
  651. package/esm/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.mjs.map +1 -1
  652. package/esm/node_modules/vitest/dist/chunks/rpc.MzXet3jl.mjs +1 -1
  653. package/esm/node_modules/vitest/dist/chunks/rpc.MzXet3jl.mjs.map +1 -1
  654. package/esm/node_modules/vitest/dist/chunks/test.DNmyFkvJ.mjs +1 -1
  655. package/esm/node_modules/vitest/dist/chunks/test.DNmyFkvJ.mjs.map +1 -1
  656. package/esm/node_modules/vitest/dist/chunks/utils.BX5Fg8C4.mjs +1 -1
  657. package/esm/node_modules/vitest/dist/chunks/utils.BX5Fg8C4.mjs.map +1 -1
  658. package/esm/object-stream/parse-partial-json.d.mts +1 -1
  659. package/esm/object-stream/parse-partial-json.d.mts.map +1 -1
  660. package/esm/object-stream/parse-partial-json.mjs +1 -1
  661. package/esm/object-stream/parse-partial-json.mjs.map +1 -1
  662. package/esm/object-stream/stream-object.d.mts +1 -1
  663. package/esm/object-stream/stream-object.d.mts.map +1 -1
  664. package/esm/object-stream/stream-object.mjs +1 -1
  665. package/esm/object-stream/stream-object.mjs.map +1 -1
  666. package/esm/observe/observer-registry.d.mts +1 -1
  667. package/esm/observe/observer-registry.d.mts.map +1 -1
  668. package/esm/observe/observer-registry.mjs +1 -1
  669. package/esm/observe/observer-registry.mjs.map +1 -1
  670. package/esm/observe/observer.contract.d.mts +1 -1
  671. package/esm/observe/observer.contract.d.mts.map +1 -1
  672. package/esm/observe/resolve-observers.d.mts +1 -1
  673. package/esm/observe/resolve-observers.d.mts.map +1 -1
  674. package/esm/observe/resolve-observers.mjs +1 -1
  675. package/esm/observe/resolve-observers.mjs.map +1 -1
  676. package/esm/orchestrator/as-tool.d.mts +1 -1
  677. package/esm/orchestrator/as-tool.d.mts.map +1 -1
  678. package/esm/orchestrator/as-tool.mjs +1 -1
  679. package/esm/orchestrator/as-tool.mjs.map +1 -1
  680. package/esm/orchestrator/checkpoint.mjs +1 -1
  681. package/esm/orchestrator/checkpoint.mjs.map +1 -1
  682. package/esm/orchestrator/commands.d.mts +1 -1
  683. package/esm/orchestrator/commands.d.mts.map +1 -1
  684. package/esm/orchestrator/commands.mjs +1 -1
  685. package/esm/orchestrator/commands.mjs.map +1 -1
  686. package/esm/orchestrator/compaction.mjs +1 -1
  687. package/esm/orchestrator/compaction.mjs.map +1 -1
  688. package/esm/orchestrator/dispatch.mjs +1 -1
  689. package/esm/orchestrator/dispatch.mjs.map +1 -1
  690. package/esm/orchestrator/emitter-port.type.d.mts +1 -1
  691. package/esm/orchestrator/emitter-port.type.d.mts.map +1 -1
  692. package/esm/orchestrator/emitter.d.mts +1 -1
  693. package/esm/orchestrator/emitter.d.mts.map +1 -1
  694. package/esm/orchestrator/emitter.mjs +1 -1
  695. package/esm/orchestrator/emitter.mjs.map +1 -1
  696. package/esm/orchestrator/engine-context.type.d.mts +1 -1
  697. package/esm/orchestrator/engine-context.type.d.mts.map +1 -1
  698. package/esm/orchestrator/execution.d.mts +1 -1
  699. package/esm/orchestrator/execution.d.mts.map +1 -1
  700. package/esm/orchestrator/execution.mjs +1 -1
  701. package/esm/orchestrator/execution.mjs.map +1 -1
  702. package/esm/orchestrator/load.mjs +1 -1
  703. package/esm/orchestrator/load.mjs.map +1 -1
  704. package/esm/orchestrator/lock.mjs +1 -1
  705. package/esm/orchestrator/lock.mjs.map +1 -1
  706. package/esm/orchestrator/memory.d.mts +1 -1
  707. package/esm/orchestrator/memory.d.mts.map +1 -1
  708. package/esm/orchestrator/memory.mjs +1 -1
  709. package/esm/orchestrator/memory.mjs.map +1 -1
  710. package/esm/orchestrator/orchestrator-stream.d.mts +1 -1
  711. package/esm/orchestrator/orchestrator-stream.d.mts.map +1 -1
  712. package/esm/orchestrator/orchestrator-stream.mjs +1 -1
  713. package/esm/orchestrator/orchestrator-stream.mjs.map +1 -1
  714. package/esm/orchestrator/orchestrator.d.mts +1 -1
  715. package/esm/orchestrator/orchestrator.d.mts.map +1 -1
  716. package/esm/orchestrator/orchestrator.mjs +1 -1
  717. package/esm/orchestrator/orchestrator.mjs.map +1 -1
  718. package/esm/orchestrator/resume.mjs +1 -1
  719. package/esm/orchestrator/resume.mjs.map +1 -1
  720. package/esm/orchestrator/session-lock.d.mts +1 -1
  721. package/esm/orchestrator/session-lock.d.mts.map +1 -1
  722. package/esm/orchestrator/session-lock.mjs +1 -1
  723. package/esm/orchestrator/session-lock.mjs.map +1 -1
  724. package/esm/orchestrator/signature.d.mts +1 -1
  725. package/esm/orchestrator/signature.d.mts.map +1 -1
  726. package/esm/orchestrator/signature.mjs +1 -1
  727. package/esm/orchestrator/signature.mjs.map +1 -1
  728. package/esm/orchestrator/window.mjs +1 -1
  729. package/esm/orchestrator/window.mjs.map +1 -1
  730. package/esm/planner/dag-scheduler.mjs +1 -1
  731. package/esm/planner/dag-scheduler.mjs.map +1 -1
  732. package/esm/planner/plan-prompt.d.mts +1 -1
  733. package/esm/planner/plan-prompt.d.mts.map +1 -1
  734. package/esm/planner/plan-prompt.mjs +1 -1
  735. package/esm/planner/plan-prompt.mjs.map +1 -1
  736. package/esm/planner/plan-schema.d.mts +1 -1
  737. package/esm/planner/plan-schema.d.mts.map +1 -1
  738. package/esm/planner/plan-schema.mjs +1 -1
  739. package/esm/planner/plan-schema.mjs.map +1 -1
  740. package/esm/planner/planner-run.d.mts +1 -1
  741. package/esm/planner/planner-run.d.mts.map +1 -1
  742. package/esm/planner/planner-run.mjs +1 -1
  743. package/esm/planner/planner-run.mjs.map +1 -1
  744. package/esm/planner/planner.d.mts +1 -1
  745. package/esm/planner/planner.d.mts.map +1 -1
  746. package/esm/planner/planner.mjs +1 -1
  747. package/esm/planner/planner.mjs.map +1 -1
  748. package/esm/planner/signature.d.mts +1 -1
  749. package/esm/planner/signature.d.mts.map +1 -1
  750. package/esm/planner/signature.mjs +1 -1
  751. package/esm/planner/signature.mjs.map +1 -1
  752. package/esm/planner/snapshot.mjs +1 -1
  753. package/esm/planner/snapshot.mjs.map +1 -1
  754. package/esm/prompt/errors.d.mts +1 -1
  755. package/esm/prompt/errors.d.mts.map +1 -1
  756. package/esm/prompt/errors.mjs +1 -1
  757. package/esm/prompt/errors.mjs.map +1 -1
  758. package/esm/prompt/prompt-langfuse-sync.mjs +1 -1
  759. package/esm/prompt/prompt-langfuse-sync.mjs.map +1 -1
  760. package/esm/prompt/prompt-langfuse-sync.type.d.mts +1 -1
  761. package/esm/prompt/prompt-langfuse-sync.type.d.mts.map +1 -1
  762. package/esm/prompt/prompt-validate.mjs +1 -1
  763. package/esm/prompt/prompt-validate.mjs.map +1 -1
  764. package/esm/prompt/prompt.d.mts +1 -1
  765. package/esm/prompt/prompt.d.mts.map +1 -1
  766. package/esm/prompt/prompt.mjs +1 -1
  767. package/esm/prompt/prompt.mjs.map +1 -1
  768. package/esm/prompt/prompt.type.d.mts +1 -1
  769. package/esm/prompt/prompt.type.d.mts.map +1 -1
  770. package/esm/prompts/prompts-manager.contract.d.mts +1 -1
  771. package/esm/prompts/prompts-manager.contract.d.mts.map +1 -1
  772. package/esm/prompts/prompts-manager.d.mts +1 -1
  773. package/esm/prompts/prompts-manager.d.mts.map +1 -1
  774. package/esm/prompts/prompts-manager.mjs +1 -1
  775. package/esm/prompts/prompts-manager.mjs.map +1 -1
  776. package/esm/prompts/prompts-manager.type.d.mts +1 -1
  777. package/esm/prompts/prompts-manager.type.d.mts.map +1 -1
  778. package/esm/prompts/prompts-validate.d.mts +1 -1
  779. package/esm/prompts/prompts-validate.d.mts.map +1 -1
  780. package/esm/prompts/prompts-validate.mjs +0 -0
  781. package/esm/prompts/prompts-validate.mjs.map +1 -1
  782. package/esm/rag/as-tool.mjs +1 -1
  783. package/esm/rag/as-tool.mjs.map +1 -1
  784. package/esm/rag/chunk/chunk.d.mts +1 -1
  785. package/esm/rag/chunk/chunk.d.mts.map +1 -1
  786. package/esm/rag/chunk/chunk.mjs +1 -1
  787. package/esm/rag/chunk/chunk.mjs.map +1 -1
  788. package/esm/rag/chunk/fixed.mjs +1 -1
  789. package/esm/rag/chunk/fixed.mjs.map +1 -1
  790. package/esm/rag/chunk/markdown.mjs +1 -1
  791. package/esm/rag/chunk/markdown.mjs.map +1 -1
  792. package/esm/rag/chunk/recursive.mjs +1 -1
  793. package/esm/rag/chunk/recursive.mjs.map +1 -1
  794. package/esm/rag/chunk/sentence.mjs +1 -1
  795. package/esm/rag/chunk/sentence.mjs.map +1 -1
  796. package/esm/rag/contracts/chunk-options.type.d.mts +1 -1
  797. package/esm/rag/contracts/chunk-options.type.d.mts.map +1 -1
  798. package/esm/rag/contracts/citation.type.d.mts +1 -1
  799. package/esm/rag/contracts/citation.type.d.mts.map +1 -1
  800. package/esm/rag/contracts/rag-config.type.d.mts +1 -1
  801. package/esm/rag/contracts/rag-config.type.d.mts.map +1 -1
  802. package/esm/rag/contracts/rag-document.type.d.mts +1 -1
  803. package/esm/rag/contracts/rag-document.type.d.mts.map +1 -1
  804. package/esm/rag/hybrid/bm25.d.mts +1 -1
  805. package/esm/rag/hybrid/bm25.d.mts.map +1 -1
  806. package/esm/rag/hybrid/bm25.mjs +1 -1
  807. package/esm/rag/hybrid/bm25.mjs.map +1 -1
  808. package/esm/rag/hybrid/hybrid-rank.d.mts +1 -1
  809. package/esm/rag/hybrid/hybrid-rank.d.mts.map +1 -1
  810. package/esm/rag/hybrid/hybrid-rank.mjs +1 -1
  811. package/esm/rag/hybrid/hybrid-rank.mjs.map +1 -1
  812. package/esm/rag/hybrid/rrf.d.mts +1 -1
  813. package/esm/rag/hybrid/rrf.d.mts.map +1 -1
  814. package/esm/rag/hybrid/rrf.mjs +1 -1
  815. package/esm/rag/hybrid/rrf.mjs.map +1 -1
  816. package/esm/rag/loaders/errors.d.mts +1 -1
  817. package/esm/rag/loaders/errors.d.mts.map +1 -1
  818. package/esm/rag/loaders/errors.mjs +1 -1
  819. package/esm/rag/loaders/errors.mjs.map +1 -1
  820. package/esm/rag/loaders/load-html.d.mts +1 -1
  821. package/esm/rag/loaders/load-html.d.mts.map +1 -1
  822. package/esm/rag/loaders/load-html.mjs +1 -1
  823. package/esm/rag/loaders/load-html.mjs.map +1 -1
  824. package/esm/rag/loaders/load-pdf.d.mts +1 -1
  825. package/esm/rag/loaders/load-pdf.d.mts.map +1 -1
  826. package/esm/rag/loaders/load-pdf.mjs +1 -1
  827. package/esm/rag/loaders/load-pdf.mjs.map +1 -1
  828. package/esm/rag/loaders/load-text.d.mts +1 -1
  829. package/esm/rag/loaders/load-text.d.mts.map +1 -1
  830. package/esm/rag/loaders/load-text.mjs +1 -1
  831. package/esm/rag/loaders/load-text.mjs.map +1 -1
  832. package/esm/rag/loaders/load-web.d.mts +1 -1
  833. package/esm/rag/loaders/load-web.d.mts.map +1 -1
  834. package/esm/rag/loaders/load-web.mjs +1 -1
  835. package/esm/rag/loaders/load-web.mjs.map +1 -1
  836. package/esm/rag/loaders/loader.type.d.mts +1 -1
  837. package/esm/rag/loaders/loader.type.d.mts.map +1 -1
  838. package/esm/rag/rag.d.mts +1 -1
  839. package/esm/rag/rag.d.mts.map +1 -1
  840. package/esm/rag/rag.mjs +1 -1
  841. package/esm/rag/rag.mjs.map +1 -1
  842. package/esm/rag/rerank/keyword-reranker.d.mts +1 -1
  843. package/esm/rag/rerank/keyword-reranker.d.mts.map +1 -1
  844. package/esm/rag/rerank/keyword-reranker.mjs +1 -1
  845. package/esm/rag/rerank/keyword-reranker.mjs.map +1 -1
  846. package/esm/rag/rerank/llm-reranker.d.mts +1 -1
  847. package/esm/rag/rerank/llm-reranker.d.mts.map +1 -1
  848. package/esm/rag/rerank/llm-reranker.mjs +1 -1
  849. package/esm/rag/rerank/llm-reranker.mjs.map +1 -1
  850. package/esm/rag/rerank/reranker.contract.d.mts +1 -1
  851. package/esm/rag/rerank/reranker.contract.d.mts.map +1 -1
  852. package/esm/rag/retrieve.mjs +1 -1
  853. package/esm/rag/retrieve.mjs.map +1 -1
  854. package/esm/rag/store/cache-vector-store.d.mts +1 -1
  855. package/esm/rag/store/cache-vector-store.d.mts.map +1 -1
  856. package/esm/rag/store/cache-vector-store.mjs +1 -1
  857. package/esm/rag/store/cache-vector-store.mjs.map +1 -1
  858. package/esm/rag/store/pg-vector-store.d.mts +1 -1
  859. package/esm/rag/store/pg-vector-store.d.mts.map +1 -1
  860. package/esm/rag/store/pg-vector-store.mjs +1 -1
  861. package/esm/rag/store/pg-vector-store.mjs.map +1 -1
  862. package/esm/rag/store/vector-store.contract.d.mts +1 -1
  863. package/esm/rag/store/vector-store.contract.d.mts.map +1 -1
  864. package/esm/rag/transforms/multi-query.d.mts +1 -1
  865. package/esm/rag/transforms/multi-query.d.mts.map +1 -1
  866. package/esm/rag/transforms/multi-query.mjs +1 -1
  867. package/esm/rag/transforms/multi-query.mjs.map +1 -1
  868. package/esm/security/outbound-policy.d.mts +1 -1
  869. package/esm/security/outbound-policy.d.mts.map +1 -1
  870. package/esm/security/outbound-policy.mjs +1 -1
  871. package/esm/security/outbound-policy.mjs.map +1 -1
  872. package/esm/security/outbound-policy.type.d.mts +1 -1
  873. package/esm/security/outbound-policy.type.d.mts.map +1 -1
  874. package/esm/security/private-ip.d.mts +1 -1
  875. package/esm/security/private-ip.d.mts.map +1 -1
  876. package/esm/security/private-ip.mjs +1 -1
  877. package/esm/security/private-ip.mjs.map +1 -1
  878. package/esm/security/redact.d.mts +1 -1
  879. package/esm/security/redact.d.mts.map +1 -1
  880. package/esm/security/redact.mjs +1 -1
  881. package/esm/security/redact.mjs.map +1 -1
  882. package/esm/serve/serve.d.mts +1 -1
  883. package/esm/serve/serve.d.mts.map +1 -1
  884. package/esm/serve/serve.mjs +1 -1
  885. package/esm/serve/serve.mjs.map +1 -1
  886. package/esm/serve/sse.d.mts +1 -1
  887. package/esm/serve/sse.d.mts.map +1 -1
  888. package/esm/serve/sse.mjs +1 -1
  889. package/esm/serve/sse.mjs.map +1 -1
  890. package/esm/serve/stream-to-sse.d.mts +1 -1
  891. package/esm/serve/stream-to-sse.d.mts.map +1 -1
  892. package/esm/serve/stream-to-sse.mjs +1 -1
  893. package/esm/serve/stream-to-sse.mjs.map +1 -1
  894. package/esm/skills/catalog.d.mts +1 -1
  895. package/esm/skills/catalog.d.mts.map +1 -1
  896. package/esm/skills/catalog.mjs +1 -1
  897. package/esm/skills/catalog.mjs.map +1 -1
  898. package/esm/skills/contracts/skill-record.type.d.mts +1 -1
  899. package/esm/skills/contracts/skill-record.type.d.mts.map +1 -1
  900. package/esm/skills/contracts/skills-config.type.d.mts +1 -1
  901. package/esm/skills/contracts/skills-config.type.d.mts.map +1 -1
  902. package/esm/skills/contracts/skills-store.contract.d.mts +1 -1
  903. package/esm/skills/contracts/skills-store.contract.d.mts.map +1 -1
  904. package/esm/skills/contracts/skills.contract.d.mts +1 -1
  905. package/esm/skills/contracts/skills.contract.d.mts.map +1 -1
  906. package/esm/skills/load-skill-tool.d.mts +1 -1
  907. package/esm/skills/load-skill-tool.d.mts.map +1 -1
  908. package/esm/skills/load-skill-tool.mjs +1 -1
  909. package/esm/skills/load-skill-tool.mjs.map +1 -1
  910. package/esm/skills/review-gate.d.mts +1 -1
  911. package/esm/skills/review-gate.d.mts.map +1 -1
  912. package/esm/skills/review-gate.mjs +1 -1
  913. package/esm/skills/review-gate.mjs.map +1 -1
  914. package/esm/skills/save-skill-tool.d.mts +1 -1
  915. package/esm/skills/save-skill-tool.d.mts.map +1 -1
  916. package/esm/skills/save-skill-tool.mjs +1 -1
  917. package/esm/skills/save-skill-tool.mjs.map +1 -1
  918. package/esm/skills/skills.d.mts +1 -1
  919. package/esm/skills/skills.d.mts.map +1 -1
  920. package/esm/skills/skills.mjs +1 -1
  921. package/esm/skills/skills.mjs.map +1 -1
  922. package/esm/skills/sources/directory-source.d.mts +1 -1
  923. package/esm/skills/sources/directory-source.d.mts.map +1 -1
  924. package/esm/skills/sources/directory-source.mjs +1 -1
  925. package/esm/skills/sources/directory-source.mjs.map +1 -1
  926. package/esm/skills/sources/index.d.mts +1 -1
  927. package/esm/skills/sources/index.d.mts.map +1 -1
  928. package/esm/skills/sources/index.mjs +1 -1
  929. package/esm/skills/sources/index.mjs.map +1 -1
  930. package/esm/skills/sources/parse-frontmatter.d.mts +1 -1
  931. package/esm/skills/sources/parse-frontmatter.d.mts.map +1 -1
  932. package/esm/skills/sources/parse-frontmatter.mjs +1 -1
  933. package/esm/skills/sources/parse-frontmatter.mjs.map +1 -1
  934. package/esm/skills/sources/store-source.d.mts +1 -1
  935. package/esm/skills/sources/store-source.d.mts.map +1 -1
  936. package/esm/skills/sources/store-source.mjs +1 -1
  937. package/esm/skills/sources/store-source.mjs.map +1 -1
  938. package/esm/skills/sources/url-source.d.mts +1 -1
  939. package/esm/skills/sources/url-source.d.mts.map +1 -1
  940. package/esm/skills/sources/url-source.mjs +1 -1
  941. package/esm/skills/sources/url-source.mjs.map +1 -1
  942. package/esm/skills/store/mock-skills-store.d.mts +1 -1
  943. package/esm/skills/store/mock-skills-store.d.mts.map +1 -1
  944. package/esm/skills/store/mock-skills-store.mjs +1 -1
  945. package/esm/skills/store/mock-skills-store.mjs.map +1 -1
  946. package/esm/skills/store/procedural-skill-store.d.mts +1 -1
  947. package/esm/skills/store/procedural-skill-store.d.mts.map +1 -1
  948. package/esm/skills/store/procedural-skill-store.mjs +1 -1
  949. package/esm/skills/store/procedural-skill-store.mjs.map +1 -1
  950. package/esm/snapshot/memory.d.mts +1 -1
  951. package/esm/snapshot/memory.d.mts.map +1 -1
  952. package/esm/snapshot/memory.mjs +1 -1
  953. package/esm/snapshot/memory.mjs.map +1 -1
  954. package/esm/snapshot/pg.d.mts +1 -1
  955. package/esm/snapshot/pg.d.mts.map +1 -1
  956. package/esm/snapshot/pg.mjs +1 -1
  957. package/esm/snapshot/pg.mjs.map +1 -1
  958. package/esm/snapshot/redis.d.mts +1 -1
  959. package/esm/snapshot/redis.d.mts.map +1 -1
  960. package/esm/snapshot/redis.mjs +1 -1
  961. package/esm/snapshot/redis.mjs.map +1 -1
  962. package/esm/speech/speech.d.mts +1 -1
  963. package/esm/speech/speech.d.mts.map +1 -1
  964. package/esm/speech/speech.mjs +1 -1
  965. package/esm/speech/speech.mjs.map +1 -1
  966. package/esm/supervisor/as-tool.d.mts +1 -1
  967. package/esm/supervisor/as-tool.d.mts.map +1 -1
  968. package/esm/supervisor/as-tool.mjs +1 -1
  969. package/esm/supervisor/as-tool.mjs.map +1 -1
  970. package/esm/supervisor/cancellation.d.mts +1 -1
  971. package/esm/supervisor/cancellation.d.mts.map +1 -1
  972. package/esm/supervisor/cancellation.mjs +1 -1
  973. package/esm/supervisor/cancellation.mjs.map +1 -1
  974. package/esm/supervisor/decide.mjs +1 -1
  975. package/esm/supervisor/decide.mjs.map +1 -1
  976. package/esm/supervisor/emitter.d.mts +1 -1
  977. package/esm/supervisor/emitter.d.mts.map +1 -1
  978. package/esm/supervisor/emitter.mjs +1 -1
  979. package/esm/supervisor/emitter.mjs.map +1 -1
  980. package/esm/supervisor/entries.d.mts +1 -1
  981. package/esm/supervisor/entries.d.mts.map +1 -1
  982. package/esm/supervisor/entries.mjs +1 -1
  983. package/esm/supervisor/entries.mjs.map +1 -1
  984. package/esm/supervisor/execution.d.mts +1 -1
  985. package/esm/supervisor/execution.d.mts.map +1 -1
  986. package/esm/supervisor/execution.mjs +1 -1
  987. package/esm/supervisor/execution.mjs.map +1 -1
  988. package/esm/supervisor/fan-out.d.mts +1 -1
  989. package/esm/supervisor/fan-out.d.mts.map +1 -1
  990. package/esm/supervisor/fan-out.mjs +1 -1
  991. package/esm/supervisor/fan-out.mjs.map +1 -1
  992. package/esm/supervisor/router-factory.d.mts +1 -1
  993. package/esm/supervisor/router-factory.d.mts.map +1 -1
  994. package/esm/supervisor/router-factory.mjs +1 -1
  995. package/esm/supervisor/router-factory.mjs.map +1 -1
  996. package/esm/supervisor/router-prompt.d.mts +1 -1
  997. package/esm/supervisor/router-prompt.d.mts.map +1 -1
  998. package/esm/supervisor/router-prompt.mjs +1 -1
  999. package/esm/supervisor/router-prompt.mjs.map +1 -1
  1000. package/esm/supervisor/signature.d.mts +1 -1
  1001. package/esm/supervisor/signature.d.mts.map +1 -1
  1002. package/esm/supervisor/signature.mjs +1 -1
  1003. package/esm/supervisor/signature.mjs.map +1 -1
  1004. package/esm/supervisor/snapshot.d.mts +1 -1
  1005. package/esm/supervisor/snapshot.d.mts.map +1 -1
  1006. package/esm/supervisor/snapshot.mjs +1 -1
  1007. package/esm/supervisor/snapshot.mjs.map +1 -1
  1008. package/esm/supervisor/supervisor-stream.d.mts +1 -1
  1009. package/esm/supervisor/supervisor-stream.d.mts.map +1 -1
  1010. package/esm/supervisor/supervisor-stream.mjs +1 -1
  1011. package/esm/supervisor/supervisor-stream.mjs.map +1 -1
  1012. package/esm/supervisor/supervisor.d.mts +1 -1
  1013. package/esm/supervisor/supervisor.d.mts.map +1 -1
  1014. package/esm/supervisor/supervisor.mjs +1 -1
  1015. package/esm/supervisor/supervisor.mjs.map +1 -1
  1016. package/esm/system-prompt/instruction.d.mts +1 -1
  1017. package/esm/system-prompt/instruction.d.mts.map +1 -1
  1018. package/esm/system-prompt/instruction.mjs +1 -1
  1019. package/esm/system-prompt/instruction.mjs.map +1 -1
  1020. package/esm/system-prompt/persona.d.mts +1 -1
  1021. package/esm/system-prompt/persona.d.mts.map +1 -1
  1022. package/esm/system-prompt/persona.mjs +1 -1
  1023. package/esm/system-prompt/persona.mjs.map +1 -1
  1024. package/esm/system-prompt/refined-system-prompt.d.mts +1 -1
  1025. package/esm/system-prompt/refined-system-prompt.d.mts.map +1 -1
  1026. package/esm/system-prompt/refined-system-prompt.mjs +1 -1
  1027. package/esm/system-prompt/refined-system-prompt.mjs.map +1 -1
  1028. package/esm/system-prompt/render-placeholders.d.mts +1 -1
  1029. package/esm/system-prompt/render-placeholders.d.mts.map +1 -1
  1030. package/esm/system-prompt/render-placeholders.mjs +1 -1
  1031. package/esm/system-prompt/render-placeholders.mjs.map +1 -1
  1032. package/esm/system-prompt/system-prompt.d.mts +1 -1
  1033. package/esm/system-prompt/system-prompt.d.mts.map +1 -1
  1034. package/esm/system-prompt/system-prompt.mjs +1 -1
  1035. package/esm/system-prompt/system-prompt.mjs.map +1 -1
  1036. package/esm/team/gates.mjs +1 -1
  1037. package/esm/team/gates.mjs.map +1 -1
  1038. package/esm/team/team.d.mts +1 -1
  1039. package/esm/team/team.d.mts.map +1 -1
  1040. package/esm/team/team.mjs +1 -1
  1041. package/esm/team/team.mjs.map +1 -1
  1042. package/esm/testing/matcher-logic.d.mts +1 -1
  1043. package/esm/testing/matcher-logic.d.mts.map +1 -1
  1044. package/esm/testing/matcher-logic.mjs +1 -1
  1045. package/esm/testing/matcher-logic.mjs.map +1 -1
  1046. package/esm/testing/matchers.d.mts +1 -1
  1047. package/esm/testing/matchers.d.mts.map +1 -1
  1048. package/esm/testing/matchers.mjs +1 -1
  1049. package/esm/testing/matchers.mjs.map +1 -1
  1050. package/esm/testing/register-lazy.d.mts +1 -1
  1051. package/esm/testing/register-lazy.d.mts.map +1 -1
  1052. package/esm/testing/register-lazy.mjs +1 -1
  1053. package/esm/testing/register-lazy.mjs.map +1 -1
  1054. package/esm/tool/executable-as-tool.d.mts +1 -1
  1055. package/esm/tool/executable-as-tool.d.mts.map +1 -1
  1056. package/esm/tool/executable-as-tool.mjs +1 -1
  1057. package/esm/tool/executable-as-tool.mjs.map +1 -1
  1058. package/esm/tool/tool.d.mts +1 -1
  1059. package/esm/tool/tool.d.mts.map +1 -1
  1060. package/esm/tool/tool.mjs +1 -1
  1061. package/esm/tool/tool.mjs.map +1 -1
  1062. package/esm/transcribe/audio-input.d.mts +1 -1
  1063. package/esm/transcribe/audio-input.d.mts.map +1 -1
  1064. package/esm/transcribe/audio-input.mjs +1 -1
  1065. package/esm/transcribe/audio-input.mjs.map +1 -1
  1066. package/esm/transcribe/transcribe.d.mts +1 -1
  1067. package/esm/transcribe/transcribe.d.mts.map +1 -1
  1068. package/esm/transcribe/transcribe.mjs +1 -1
  1069. package/esm/transcribe/transcribe.mjs.map +1 -1
  1070. package/esm/utils/compute-cost.d.mts +1 -1
  1071. package/esm/utils/compute-cost.d.mts.map +1 -1
  1072. package/esm/utils/compute-cost.mjs +1 -1
  1073. package/esm/utils/compute-cost.mjs.map +1 -1
  1074. package/esm/utils/extract-json-lenient.d.mts +1 -1
  1075. package/esm/utils/extract-json-lenient.d.mts.map +1 -1
  1076. package/esm/utils/extract-json-lenient.mjs +1 -1
  1077. package/esm/utils/extract-json-lenient.mjs.map +1 -1
  1078. package/esm/utils/extract-json-payload.d.mts +1 -1
  1079. package/esm/utils/extract-json-payload.d.mts.map +1 -1
  1080. package/esm/utils/extract-json-payload.mjs +1 -1
  1081. package/esm/utils/extract-json-payload.mjs.map +1 -1
  1082. package/esm/utils/generate-run-id.d.mts +1 -1
  1083. package/esm/utils/generate-run-id.d.mts.map +1 -1
  1084. package/esm/utils/generate-run-id.mjs +1 -1
  1085. package/esm/utils/generate-run-id.mjs.map +1 -1
  1086. package/esm/utils/json-schema.d.mts +1 -1
  1087. package/esm/utils/json-schema.d.mts.map +1 -1
  1088. package/esm/utils/json-schema.mjs +1 -1
  1089. package/esm/utils/json-schema.mjs.map +1 -1
  1090. package/esm/utils/prepare-attachment-part.d.mts +1 -1
  1091. package/esm/utils/prepare-attachment-part.d.mts.map +1 -1
  1092. package/esm/utils/prepare-attachment-part.mjs +1 -1
  1093. package/esm/utils/prepare-attachment-part.mjs.map +1 -1
  1094. package/esm/utils/resolve-attachment.d.mts +1 -1
  1095. package/esm/utils/resolve-attachment.d.mts.map +1 -1
  1096. package/esm/utils/resolve-attachment.mjs +1 -1
  1097. package/esm/utils/resolve-attachment.mjs.map +1 -1
  1098. package/esm/utils/run-context.d.mts +1 -1
  1099. package/esm/utils/run-context.d.mts.map +1 -1
  1100. package/esm/utils/run-context.mjs +1 -1
  1101. package/esm/utils/run-context.mjs.map +1 -1
  1102. package/esm/utils/safe-json-parse.d.mts +1 -1
  1103. package/esm/utils/safe-json-parse.d.mts.map +1 -1
  1104. package/esm/utils/safe-json-parse.mjs +1 -1
  1105. package/esm/utils/safe-json-parse.mjs.map +1 -1
  1106. package/esm/utils/stamp-report-lineage.d.mts +1 -1
  1107. package/esm/utils/stamp-report-lineage.d.mts.map +1 -1
  1108. package/esm/utils/stamp-report-lineage.mjs +1 -1
  1109. package/esm/utils/stamp-report-lineage.mjs.map +1 -1
  1110. package/esm/utils/token-count.d.mts +1 -1
  1111. package/esm/utils/token-count.d.mts.map +1 -1
  1112. package/esm/utils/token-count.mjs +1 -1
  1113. package/esm/utils/token-count.mjs.map +1 -1
  1114. package/esm/vcr/cassette-io.mjs +1 -1
  1115. package/esm/vcr/cassette-io.mjs.map +1 -1
  1116. package/esm/vcr/errors.d.mts +1 -1
  1117. package/esm/vcr/errors.d.mts.map +1 -1
  1118. package/esm/vcr/errors.mjs +1 -1
  1119. package/esm/vcr/errors.mjs.map +1 -1
  1120. package/esm/vcr/hash-request.d.mts +1 -1
  1121. package/esm/vcr/hash-request.d.mts.map +1 -1
  1122. package/esm/vcr/hash-request.mjs +1 -1
  1123. package/esm/vcr/hash-request.mjs.map +1 -1
  1124. package/esm/vcr/vcr.d.mts +1 -1
  1125. package/esm/vcr/vcr.d.mts.map +1 -1
  1126. package/esm/vcr/vcr.mjs +1 -1
  1127. package/esm/vcr/vcr.mjs.map +1 -1
  1128. package/esm/vcr/vcr.type.d.mts +1 -1
  1129. package/esm/vcr/vcr.type.d.mts.map +1 -1
  1130. package/esm/workflow/as-tool.mjs +1 -1
  1131. package/esm/workflow/as-tool.mjs.map +1 -1
  1132. package/esm/workflow/cancellation.mjs +1 -1
  1133. package/esm/workflow/cancellation.mjs.map +1 -1
  1134. package/esm/workflow/emitter.mjs +1 -1
  1135. package/esm/workflow/emitter.mjs.map +1 -1
  1136. package/esm/workflow/engine.mjs +5 -2
  1137. package/esm/workflow/engine.mjs.map +1 -1
  1138. package/esm/workflow/retry.mjs +1 -1
  1139. package/esm/workflow/retry.mjs.map +1 -1
  1140. package/esm/workflow/router.mjs +1 -1
  1141. package/esm/workflow/router.mjs.map +1 -1
  1142. package/esm/workflow/run-scoped-emitter.mjs +1 -1
  1143. package/esm/workflow/run-scoped-emitter.mjs.map +1 -1
  1144. package/esm/workflow/signature.d.mts +1 -1
  1145. package/esm/workflow/signature.d.mts.map +1 -1
  1146. package/esm/workflow/signature.mjs +1 -1
  1147. package/esm/workflow/signature.mjs.map +1 -1
  1148. package/esm/workflow/snapshot.mjs +1 -1
  1149. package/esm/workflow/snapshot.mjs.map +1 -1
  1150. package/esm/workflow/state.mjs +1 -1
  1151. package/esm/workflow/state.mjs.map +1 -1
  1152. package/esm/workflow/step-runner.mjs +25 -6
  1153. package/esm/workflow/step-runner.mjs.map +1 -1
  1154. package/esm/workflow/step.d.mts +1 -1
  1155. package/esm/workflow/step.d.mts.map +1 -1
  1156. package/esm/workflow/step.mjs +1 -1
  1157. package/esm/workflow/step.mjs.map +1 -1
  1158. package/esm/workflow/workflow.d.mts +1 -1
  1159. package/esm/workflow/workflow.d.mts.map +1 -1
  1160. package/esm/workflow/workflow.mjs +1 -1
  1161. package/esm/workflow/workflow.mjs.map +1 -1
  1162. package/llms-full.txt +23 -2
  1163. package/package.json +4 -4
  1164. package/skills/observe-ai-flows/SKILL.md +2 -2
  1165. package/skills/run-ai-workflow/SKILL.md +19 -0
  1166. package/skills/run-supervisor/SKILL.md +2 -0
  1167. package/cjs/magic-string.es-BtxW4VqG.cjs.map +0 -1
  1168. package/cjs/matcher-logic-SBnzYohQ.cjs.map +0 -1
  1169. package/cjs/matchers-BBh3gyB-.cjs.map +0 -1
package/cjs/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_matcher_logic = require('./matcher-logic-SBnzYohQ.cjs');
2
+ const require_matcher_logic = require('./matcher-logic-07fFOz7r.cjs');
3
3
  let _warlock_js_logger = require("@warlock.js/logger");
4
4
  let node_fs_promises = require("node:fs/promises");
5
5
  let node_path = require("node:path");
@@ -8,7 +8,7 @@ let node_net = require("node:net");
8
8
  let node_async_hooks = require("node:async_hooks");
9
9
  let node_fs = require("node:fs");
10
10
 
11
- //#region ../@warlock.js/ai/src/errors/ai-error.ts
11
+ //#region ../ai/src/errors/ai-error.ts
12
12
  /**
13
13
  * Base class for every error thrown (or surfaced via `result.error`) by
14
14
  * `@warlock.js/ai` and its provider adapter packages.
@@ -74,7 +74,7 @@ var AIError = class extends Error {
74
74
  };
75
75
 
76
76
  //#endregion
77
- //#region ../@warlock.js/ai/src/errors/agent-execution-error.ts
77
+ //#region ../ai/src/errors/agent-execution-error.ts
78
78
  /**
79
79
  * Base for agent runtime failures that aren't schema / tool / provider
80
80
  * problems — runtime-structural issues inside the trip loop or
@@ -105,7 +105,7 @@ var AgentExecutionError = class extends AIError {
105
105
  };
106
106
 
107
107
  //#endregion
108
- //#region ../@warlock.js/ai/src/errors/agent-cancelled-error.ts
108
+ //#region ../ai/src/errors/agent-cancelled-error.ts
109
109
  /**
110
110
  * Agent run was cancelled via `AbortSignal` before it could finish.
111
111
  * Between-trip cancellation is guaranteed; mid-trip cancellation is
@@ -144,7 +144,7 @@ var AgentCancelledError = class extends AgentExecutionError {
144
144
  };
145
145
 
146
146
  //#endregion
147
- //#region ../@warlock.js/ai/src/errors/agent-drift-error.ts
147
+ //#region ../ai/src/errors/agent-drift-error.ts
148
148
  /**
149
149
  * `agent.resume(runId)` loaded a durable snapshot whose structural
150
150
  * fingerprint does not match the current agent definition (model +
@@ -171,7 +171,7 @@ var AgentDriftError = class extends AgentExecutionError {
171
171
  };
172
172
 
173
173
  //#endregion
174
- //#region ../@warlock.js/ai/src/errors/agent-max-trips-error.ts
174
+ //#region ../ai/src/errors/agent-max-trips-error.ts
175
175
  /**
176
176
  * Runaway-loop hard guard: the agent's trip loop ran `maxTrips` round
177
177
  * trips to the model without the model issuing a natural stop. The
@@ -208,7 +208,7 @@ var AgentMaxTripsError = class extends AgentExecutionError {
208
208
  };
209
209
 
210
210
  //#endregion
211
- //#region ../@warlock.js/ai/src/errors/budget-exceeded-error.ts
211
+ //#region ../ai/src/errors/budget-exceeded-error.ts
212
212
  /**
213
213
  * A user- or framework-configured budget was exceeded mid-execution.
214
214
  *
@@ -235,7 +235,7 @@ var BudgetExceededError = class extends AIError {
235
235
  };
236
236
 
237
237
  //#endregion
238
- //#region ../@warlock.js/ai/src/errors/provider-error.ts
238
+ //#region ../ai/src/errors/provider-error.ts
239
239
  /**
240
240
  * Any failure that originated from the model provider (OpenAI, Azure,
241
241
  * OpenRouter, local gateway). Base class for the provider subclasses
@@ -273,7 +273,7 @@ var ProviderError = class extends AIError {
273
273
  };
274
274
 
275
275
  //#endregion
276
- //#region ../@warlock.js/ai/src/errors/content-filter-error.ts
276
+ //#region ../ai/src/errors/content-filter-error.ts
277
277
  /**
278
278
  * Response (or request) was blocked by the provider's safety filter.
279
279
  * Not retryable with the same input — reshape the prompt or lean on
@@ -297,7 +297,7 @@ var ContentFilterError = class extends ProviderError {
297
297
  };
298
298
 
299
299
  //#endregion
300
- //#region ../@warlock.js/ai/src/errors/context-length-exceeded-error.ts
300
+ //#region ../ai/src/errors/context-length-exceeded-error.ts
301
301
  /**
302
302
  * The request's prompt (messages + tools + schema) exceeded the
303
303
  * model's context window. Not retryable without shortening the input.
@@ -324,7 +324,7 @@ var ContextLengthExceededError = class extends ProviderError {
324
324
  };
325
325
 
326
326
  //#endregion
327
- //#region ../@warlock.js/ai/src/errors/guardrail-violation-error.ts
327
+ //#region ../ai/src/errors/guardrail-violation-error.ts
328
328
  /**
329
329
  * A guardrail middleware rejected the prompt or response mid-execution.
330
330
  *
@@ -361,7 +361,7 @@ var GuardrailViolationError = class extends AIError {
361
361
  };
362
362
 
363
363
  //#endregion
364
- //#region ../@warlock.js/ai/src/errors/invalid-request-error.ts
364
+ //#region ../ai/src/errors/invalid-request-error.ts
365
365
  /**
366
366
  * Provider rejected the request as malformed — bad model name,
367
367
  * unsupported feature, missing required field, image attached to a
@@ -388,7 +388,7 @@ var InvalidRequestError = class extends ProviderError {
388
388
  };
389
389
 
390
390
  //#endregion
391
- //#region ../@warlock.js/ai/src/errors/supervisor-failed-error.ts
391
+ //#region ../ai/src/errors/supervisor-failed-error.ts
392
392
  /**
393
393
  * Base class for every supervisor-specific failure surfaced from
394
394
  * `supervisor.execute()` / `supervisor.resume()` / authoring-time
@@ -427,7 +427,7 @@ var SupervisorFailedError = class extends AIError {
427
427
  };
428
428
 
429
429
  //#endregion
430
- //#region ../@warlock.js/ai/src/errors/max-iterations-error.ts
430
+ //#region ../ai/src/errors/max-iterations-error.ts
431
431
  /**
432
432
  * Hard-cap guard: the supervisor ran `maxIterations` loop turns
433
433
  * without reaching a terminal decision (`END`, `satisfied: true`, or
@@ -455,7 +455,7 @@ var MaxIterationsError = class extends SupervisorFailedError {
455
455
  };
456
456
 
457
457
  //#endregion
458
- //#region ../@warlock.js/ai/src/errors/workflow-error.ts
458
+ //#region ../ai/src/errors/workflow-error.ts
459
459
  /**
460
460
  * Base class for all workflow-specific failures. Subclasses carry
461
461
  * precise codes; this base catches everything `workflow.execute()`
@@ -469,7 +469,7 @@ var WorkflowError = class extends AIError {
469
469
  };
470
470
 
471
471
  //#endregion
472
- //#region ../@warlock.js/ai/src/errors/max-steps-exceeded-error.ts
472
+ //#region ../ai/src/errors/max-steps-exceeded-error.ts
473
473
  /**
474
474
  * Runaway-loop hard guard: workflow executed more step transitions
475
475
  * than `maxSteps` allows. Terminates the workflow immediately.
@@ -486,7 +486,7 @@ var MaxStepsExceededError = class extends WorkflowError {
486
486
  };
487
487
 
488
488
  //#endregion
489
- //#region ../@warlock.js/ai/src/errors/orchestrator-failed-error.ts
489
+ //#region ../ai/src/errors/orchestrator-failed-error.ts
490
490
  /**
491
491
  * Base class for every orchestrator-specific failure surfaced from
492
492
  * `orchestrator.execute()` / `orchestrator.resume()` /
@@ -518,7 +518,7 @@ var OrchestratorFailedError = class extends AIError {
518
518
  };
519
519
 
520
520
  //#endregion
521
- //#region ../@warlock.js/ai/src/errors/orchestrator-cancelled-error.ts
521
+ //#region ../ai/src/errors/orchestrator-cancelled-error.ts
522
522
  /**
523
523
  * A turn was cancelled via `AbortSignal` before it could settle
524
524
  * (orchestrator.md §17 — "mid-turn cancel"). The orchestrator returns
@@ -545,7 +545,7 @@ var OrchestratorCancelledError = class extends OrchestratorFailedError {
545
545
  };
546
546
 
547
547
  //#endregion
548
- //#region ../@warlock.js/ai/src/errors/orchestrator-config-error.ts
548
+ //#region ../ai/src/errors/orchestrator-config-error.ts
549
549
  /**
550
550
  * Authoring-time misconfiguration of `ai.orchestrator(config)`
551
551
  * (orchestrator.md §17). Thrown synchronously at construction — never
@@ -571,7 +571,7 @@ var OrchestratorConfigError = class extends OrchestratorFailedError {
571
571
  };
572
572
 
573
573
  //#endregion
574
- //#region ../@warlock.js/ai/src/errors/orchestrator-drift-error.ts
574
+ //#region ../ai/src/errors/orchestrator-drift-error.ts
575
575
  /**
576
576
  * Phase 2 drift guard (orchestrator.md §3 / §10). `execute()` or
577
577
  * `resume()` loaded a checkpoint whose structural fingerprint does not
@@ -604,7 +604,7 @@ var OrchestratorDriftError = class extends OrchestratorFailedError {
604
604
  };
605
605
 
606
606
  //#endregion
607
- //#region ../@warlock.js/ai/src/errors/outbound-policy-error.ts
607
+ //#region ../ai/src/errors/outbound-policy-error.ts
608
608
  /**
609
609
  * A server-side outbound request (attachment fetch, URL skill manifest,
610
610
  * RAG loader, …) was blocked by the shared `OutboundPolicy` before it
@@ -632,7 +632,7 @@ var OutboundPolicyError = class extends AIError {
632
632
  };
633
633
 
634
634
  //#endregion
635
- //#region ../@warlock.js/ai/src/errors/planner-failed-error.ts
635
+ //#region ../ai/src/errors/planner-failed-error.ts
636
636
  /**
637
637
  * Base class for every planner-specific failure surfaced from
638
638
  * `planner.execute()` or thrown at authoring-time by `ai.planner()`
@@ -665,7 +665,7 @@ var PlannerFailedError = class extends AIError {
665
665
  };
666
666
 
667
667
  //#endregion
668
- //#region ../@warlock.js/ai/src/errors/planner-cancelled-error.ts
668
+ //#region ../ai/src/errors/planner-cancelled-error.ts
669
669
  /**
670
670
  * Planner run was cancelled via `AbortSignal` before it could finish.
671
671
  * Between-step cancellation is guaranteed; mid-step cancellation is
@@ -690,7 +690,7 @@ var PlannerCancelledError = class extends PlannerFailedError {
690
690
  };
691
691
 
692
692
  //#endregion
693
- //#region ../@warlock.js/ai/src/errors/planner-drift-error.ts
693
+ //#region ../ai/src/errors/planner-drift-error.ts
694
694
  /**
695
695
  * `planner.resume(runId)` loaded a durable snapshot whose structural
696
696
  * fingerprint does not match the current planner definition (name +
@@ -719,7 +719,7 @@ var PlannerDriftError = class extends PlannerFailedError {
719
719
  };
720
720
 
721
721
  //#endregion
722
- //#region ../@warlock.js/ai/src/errors/planner-plan-invalid-error.ts
722
+ //#region ../ai/src/errors/planner-plan-invalid-error.ts
723
723
  /**
724
724
  * The planner asked the LLM for an execution plan but the response
725
725
  * could not be parsed / validated into a usable {@link PlannerPlan},
@@ -740,7 +740,7 @@ var PlannerPlanInvalidError = class extends PlannerFailedError {
740
740
  };
741
741
 
742
742
  //#endregion
743
- //#region ../@warlock.js/ai/src/errors/prompt-refinement-error.ts
743
+ //#region ../ai/src/errors/prompt-refinement-error.ts
744
744
  /**
745
745
  * An explicit `refine()` / `refinePrompt()` call could not produce an
746
746
  * acceptable compiled prompt. Thrown (not degraded) because the explicit
@@ -763,7 +763,7 @@ var PromptRefinementError = class extends AIError {
763
763
  };
764
764
 
765
765
  //#endregion
766
- //#region ../@warlock.js/ai/src/errors/provider-auth-error.ts
766
+ //#region ../ai/src/errors/provider-auth-error.ts
767
767
  /**
768
768
  * Provider rejected the credential — missing / invalid / expired API
769
769
  * key or insufficient permissions on the underlying account. Not
@@ -785,7 +785,7 @@ var ProviderAuthError = class extends ProviderError {
785
785
  };
786
786
 
787
787
  //#endregion
788
- //#region ../@warlock.js/ai/src/errors/provider-rate-limit-error.ts
788
+ //#region ../ai/src/errors/provider-rate-limit-error.ts
789
789
  /**
790
790
  * Provider refused the call because the account (or key, or window)
791
791
  * is over its rate-limit or quota. Retryable after `retryAfter`
@@ -812,7 +812,7 @@ var ProviderRateLimitError = class extends ProviderError {
812
812
  };
813
813
 
814
814
  //#endregion
815
- //#region ../@warlock.js/ai/src/errors/provider-timeout-error.ts
815
+ //#region ../ai/src/errors/provider-timeout-error.ts
816
816
  /**
817
817
  * Provider call timed out — either at the transport layer (socket
818
818
  * connection) or on the server side (request exceeded the provider's
@@ -834,7 +834,7 @@ var ProviderTimeoutError = class extends ProviderError {
834
834
  };
835
835
 
836
836
  //#endregion
837
- //#region ../@warlock.js/ai/src/errors/quota-exceeded-error.ts
837
+ //#region ../ai/src/errors/quota-exceeded-error.ts
838
838
  /**
839
839
  * Provider refused the call because the account has exhausted its
840
840
  * paid quota (monthly credit, billing cap, subscription tier limit).
@@ -870,7 +870,7 @@ var QuotaExceededError = class extends ProviderError {
870
870
  };
871
871
 
872
872
  //#endregion
873
- //#region ../@warlock.js/ai/src/errors/routing-error.ts
873
+ //#region ../ai/src/errors/routing-error.ts
874
874
  /**
875
875
  * `nextStep` returned an invalid `goto`, or the `nextStep` callback
876
876
  * itself threw. Routing is authoritative and has no recovery path —
@@ -889,7 +889,7 @@ var RoutingError = class extends WorkflowError {
889
889
  };
890
890
 
891
891
  //#endregion
892
- //#region ../@warlock.js/ai/src/errors/schema-validation-error.ts
892
+ //#region ../ai/src/errors/schema-validation-error.ts
893
893
  /**
894
894
  * A `StandardSchemaV1` validation call returned issues, or the input
895
895
  * was not valid JSON before validation could even run.
@@ -922,7 +922,7 @@ var SchemaValidationError = class extends AIError {
922
922
  };
923
923
 
924
924
  //#endregion
925
- //#region ../@warlock.js/ai/src/errors/step-failed-error.ts
925
+ //#region ../ai/src/errors/step-failed-error.ts
926
926
  /**
927
927
  * A workflow step exhausted its retries (or was not retried) and
928
928
  * terminated with an error. `cause` carries the last underlying error.
@@ -937,7 +937,7 @@ var StepFailedError = class extends WorkflowError {
937
937
  };
938
938
 
939
939
  //#endregion
940
- //#region ../@warlock.js/ai/src/errors/supervisor-cancelled-error.ts
940
+ //#region ../ai/src/errors/supervisor-cancelled-error.ts
941
941
  /**
942
942
  * Supervisor run was cancelled via `AbortSignal` before it could
943
943
  * finish. Between-iteration cancellation is guaranteed; mid-iteration
@@ -962,7 +962,7 @@ var SupervisorCancelledError = class extends SupervisorFailedError {
962
962
  };
963
963
 
964
964
  //#endregion
965
- //#region ../@warlock.js/ai/src/errors/supervisor-drift-error.ts
965
+ //#region ../ai/src/errors/supervisor-drift-error.ts
966
966
  /**
967
967
  * `supervisor.resume(runId)` loaded a snapshot whose structural
968
968
  * fingerprint does not match the current supervisor definition
@@ -988,7 +988,7 @@ var SupervisorDriftError = class extends SupervisorFailedError {
988
988
  };
989
989
 
990
990
  //#endregion
991
- //#region ../@warlock.js/ai/src/errors/supervisor-routing-error.ts
991
+ //#region ../ai/src/errors/supervisor-routing-error.ts
992
992
  /**
993
993
  * A `route` callback or router agent returned a value that doesn't
994
994
  * resolve to a configured agent key, a `string[]` of configured keys,
@@ -1023,7 +1023,7 @@ var SupervisorRoutingError = class extends SupervisorFailedError {
1023
1023
  };
1024
1024
 
1025
1025
  //#endregion
1026
- //#region ../@warlock.js/ai/src/errors/tool-execution-error.ts
1026
+ //#region ../ai/src/errors/tool-execution-error.ts
1027
1027
  /**
1028
1028
  * A registered tool's `execute()` threw during dispatch — the tool
1029
1029
  * code itself failed (not its input schema). The model's request was
@@ -1051,7 +1051,7 @@ var ToolExecutionError = class extends AIError {
1051
1051
  };
1052
1052
 
1053
1053
  //#endregion
1054
- //#region ../@warlock.js/ai/src/errors/workflow-cancelled-error.ts
1054
+ //#region ../ai/src/errors/workflow-cancelled-error.ts
1055
1055
  /**
1056
1056
  * Workflow was cancelled via `AbortSignal` before it could finish.
1057
1057
  * `cancelledAt` is ISO timestamp at abort; `reason` carries the
@@ -1070,7 +1070,7 @@ var WorkflowCancelledError = class extends WorkflowError {
1070
1070
  };
1071
1071
 
1072
1072
  //#endregion
1073
- //#region ../@warlock.js/ai/src/errors/workflow-drift-error.ts
1073
+ //#region ../ai/src/errors/workflow-drift-error.ts
1074
1074
  /**
1075
1075
  * `workflow.resume(runId)` found a snapshot whose structural signature
1076
1076
  * doesn't match the current workflow definition. Thrown without
@@ -1090,7 +1090,7 @@ var WorkflowDriftError = class extends WorkflowError {
1090
1090
  };
1091
1091
 
1092
1092
  //#endregion
1093
- //#region ../@warlock.js/ai/src/utils/compute-cost.ts
1093
+ //#region ../ai/src/utils/compute-cost.ts
1094
1094
  /**
1095
1095
  * Compute a per-channel USD cost breakdown for a single `Usage` against
1096
1096
  * a model's pricing table. Returns `undefined` when no pricing is
@@ -1200,7 +1200,7 @@ function mergeUsage(target, child) {
1200
1200
  }
1201
1201
 
1202
1202
  //#endregion
1203
- //#region ../@warlock.js/ai/src/utils/extract-json-payload.ts
1203
+ //#region ../ai/src/utils/extract-json-payload.ts
1204
1204
  /**
1205
1205
  * Strip markdown code fences from an LLM response before JSON parsing.
1206
1206
  *
@@ -1237,7 +1237,7 @@ function extractJsonPayload(text) {
1237
1237
  }
1238
1238
 
1239
1239
  //#endregion
1240
- //#region ../@warlock.js/ai/src/utils/extract-json-lenient.ts
1240
+ //#region ../ai/src/utils/extract-json-lenient.ts
1241
1241
  /**
1242
1242
  * Lenient counterpart to {@link extractJsonPayload}, tuned for the
1243
1243
  * structured-output judges that emit *corrupted* JSON — notably the
@@ -1330,7 +1330,7 @@ function firstOpenerIndex(text) {
1330
1330
  }
1331
1331
 
1332
1332
  //#endregion
1333
- //#region ../@warlock.js/ai/src/utils/generate-run-id.ts
1333
+ //#region ../ai/src/utils/generate-run-id.ts
1334
1334
  /**
1335
1335
  * Generates a stable, human-readable run id for any execution node
1336
1336
  * (tool invocation, agent run, workflow run, supervisor run). Format:
@@ -1351,7 +1351,7 @@ function generateRunId(prefix) {
1351
1351
  }
1352
1352
 
1353
1353
  //#endregion
1354
- //#region ../@warlock.js/ai/src/utils/json-schema.ts
1354
+ //#region ../ai/src/utils/json-schema.ts
1355
1355
  /**
1356
1356
  * Best-effort JSON Schema extraction from a Standard Schema instance.
1357
1357
  *
@@ -1438,7 +1438,7 @@ function extractFromCandidateKeys(schemaRecord) {
1438
1438
  }
1439
1439
 
1440
1440
  //#endregion
1441
- //#region ../@warlock.js/ai/src/security/private-ip.ts
1441
+ //#region ../ai/src/security/private-ip.ts
1442
1442
  /**
1443
1443
  * True when `ip` is a private, loopback, link-local, unique-local,
1444
1444
  * carrier-grade-NAT, unspecified, or otherwise non-public address — the
@@ -1482,7 +1482,7 @@ function isPrivateIpv6(ip) {
1482
1482
  }
1483
1483
 
1484
1484
  //#endregion
1485
- //#region ../@warlock.js/ai/src/security/outbound-policy.ts
1485
+ //#region ../ai/src/security/outbound-policy.ts
1486
1486
  /** 5 MiB — default cap on an outbound response body. */
1487
1487
  const DEFAULT_MAX_BYTES = 5 * 1024 * 1024;
1488
1488
  /** 10s — default per-request timeout. */
@@ -1661,7 +1661,7 @@ async function fetchTextWithPolicy(rawUrl, policyInput, init) {
1661
1661
  }
1662
1662
 
1663
1663
  //#endregion
1664
- //#region ../@warlock.js/ai/src/utils/resolve-attachment.ts
1664
+ //#region ../ai/src/utils/resolve-attachment.ts
1665
1665
  const REMOTE_URL_PATTERN = /^https?:\/\//i;
1666
1666
  /**
1667
1667
  * Normalize a user-supplied `Attachment` (or bare `AttachmentSource`)
@@ -1730,7 +1730,7 @@ function resolveSource$1(source) {
1730
1730
  }
1731
1731
 
1732
1732
  //#endregion
1733
- //#region ../@warlock.js/ai/src/utils/prepare-attachment-part.ts
1733
+ //#region ../ai/src/utils/prepare-attachment-part.ts
1734
1734
  const IMAGE_EXTENSIONS_TO_MEDIA_TYPE = {
1735
1735
  ".png": "image/png",
1736
1736
  ".jpg": "image/jpeg",
@@ -1952,7 +1952,7 @@ function stripQuery(path) {
1952
1952
  }
1953
1953
 
1954
1954
  //#endregion
1955
- //#region ../@warlock.js/ai/src/utils/run-context.ts
1955
+ //#region ../ai/src/utils/run-context.ts
1956
1956
  /**
1957
1957
  * Process-wide async-local store holding the current {@link RunFrame}.
1958
1958
  * A single shared instance so a frame installed by the supervisor is
@@ -2046,7 +2046,7 @@ function captureChildReport(report) {
2046
2046
  }
2047
2047
 
2048
2048
  //#endregion
2049
- //#region ../@warlock.js/ai/src/utils/safe-json-parse.ts
2049
+ //#region ../ai/src/utils/safe-json-parse.ts
2050
2050
  /**
2051
2051
  * Parse a JSON string, returning a caller-supplied fallback when the input
2052
2052
  * is empty or malformed instead of throwing. Useful at provider boundaries
@@ -2066,7 +2066,7 @@ function safeJsonParse(data, defaultValue) {
2066
2066
  }
2067
2067
 
2068
2068
  //#endregion
2069
- //#region ../@warlock.js/ai/src/contracts/result/base-report.type.ts
2069
+ //#region ../ai/src/contracts/result/base-report.type.ts
2070
2070
  /**
2071
2071
  * Wire-format version stamped on every root `BaseReport`. Bumped only
2072
2072
  * when we make a BREAKING change to the report shape (field removed,
@@ -2081,7 +2081,7 @@ function safeJsonParse(data, defaultValue) {
2081
2081
  const REPORT_SCHEMA_VERSION = 1;
2082
2082
 
2083
2083
  //#endregion
2084
- //#region ../@warlock.js/ai/src/utils/stamp-report-lineage.ts
2084
+ //#region ../ai/src/utils/stamp-report-lineage.ts
2085
2085
  /**
2086
2086
  * Walk a freshly-built report tree and stamp lineage fields onto
2087
2087
  * every node:
@@ -2124,7 +2124,7 @@ function walk(node, rootRunId, parentRunId, sessionId) {
2124
2124
  }
2125
2125
 
2126
2126
  //#endregion
2127
- //#region ../@warlock.js/ai/src/utils/token-count.ts
2127
+ //#region ../ai/src/utils/token-count.ts
2128
2128
  /**
2129
2129
  * Approximate the number of tokens in a string.
2130
2130
  *
@@ -2140,7 +2140,7 @@ function approximateTokenCount(text) {
2140
2140
  }
2141
2141
 
2142
2142
  //#endregion
2143
- //#region ../@warlock.js/ai/src/eval/judge-scorer.ts
2143
+ //#region ../ai/src/eval/judge-scorer.ts
2144
2144
  /** Clamp an arbitrary numeric value into the `[0, 1]` score range. */
2145
2145
  function clampScore(value) {
2146
2146
  if (Number.isNaN(value)) return 0;
@@ -2221,7 +2221,7 @@ function judge(config, passThreshold = .5) {
2221
2221
  }
2222
2222
 
2223
2223
  //#endregion
2224
- //#region ../@warlock.js/ai/src/eval/regression.ts
2224
+ //#region ../ai/src/eval/regression.ts
2225
2225
  /**
2226
2226
  * Diff a fresh {@link EvalReport} against a `baseline`, joining cases by
2227
2227
  * name, to produce an {@link EvalRegression} verdict.
@@ -2270,7 +2270,7 @@ function diff(report, baseline, tolerance = 0) {
2270
2270
  }
2271
2271
 
2272
2272
  //#endregion
2273
- //#region ../@warlock.js/ai/src/eval/eval-runner.ts
2273
+ //#region ../ai/src/eval/eval-runner.ts
2274
2274
  /**
2275
2275
  * Narrow `EvalOptions.cases` to the underlying `EvalCase[]`. A
2276
2276
  * `DatasetContract` is identified structurally by its `cases` property
@@ -2397,7 +2397,7 @@ async function runEval(agent, options) {
2397
2397
  }
2398
2398
 
2399
2399
  //#endregion
2400
- //#region ../@warlock.js/ai/src/middleware/utils/extract-user-text.ts
2400
+ //#region ../ai/src/middleware/utils/extract-user-text.ts
2401
2401
  /**
2402
2402
  * Pull the text a content-inspection middleware should care about
2403
2403
  * from the outbound message list.
@@ -2442,7 +2442,7 @@ function extractUserText(messages) {
2442
2442
  }
2443
2443
 
2444
2444
  //#endregion
2445
- //#region ../@warlock.js/ai/src/middleware/utils/namespaced-state.ts
2445
+ //#region ../ai/src/middleware/utils/namespaced-state.ts
2446
2446
  /**
2447
2447
  * Typed accessor over `ctx.state` for a single namespace key. Wraps
2448
2448
  * the raw `Map<string, unknown>` so middleware authors stop typing
@@ -2500,7 +2500,7 @@ function namespacedState(ctx, namespace) {
2500
2500
  }
2501
2501
 
2502
2502
  //#endregion
2503
- //#region ../@warlock.js/ai/src/middleware/builtins/budget.ts
2503
+ //#region ../ai/src/middleware/builtins/budget.ts
2504
2504
  /**
2505
2505
  * The `BudgetUnit` to stamp on the thrown error per contract dimension.
2506
2506
  * Latency has no native unit — it borrows `"requests"` as the least-wrong
@@ -2713,7 +2713,7 @@ async function enforceContract(context, counters, name, mode, contract, dimensio
2713
2713
  }
2714
2714
 
2715
2715
  //#endregion
2716
- //#region ../@warlock.js/ai/src/middleware/builtins/guardrail.ts
2716
+ //#region ../ai/src/middleware/builtins/guardrail.ts
2717
2717
  /**
2718
2718
  * Pre/post content guardrail for an agent run.
2719
2719
  *
@@ -2783,7 +2783,7 @@ function guardrail$1(options) {
2783
2783
  }
2784
2784
 
2785
2785
  //#endregion
2786
- //#region ../@warlock.js/ai/src/config.ts
2786
+ //#region ../ai/src/config.ts
2787
2787
  const aiConfig = {};
2788
2788
  const configListeners = [];
2789
2789
  /**
@@ -2869,7 +2869,7 @@ function resolveDefaultSnapshotStore() {
2869
2869
  }
2870
2870
 
2871
2871
  //#endregion
2872
- //#region ../@warlock.js/ai/src/middleware/builtins/semantic-cache.ts
2872
+ //#region ../ai/src/middleware/builtins/semantic-cache.ts
2873
2873
  const DEFAULT_NAMESPACE = "ai.cache";
2874
2874
  /**
2875
2875
  * Build a stable fingerprint for a prompt covering the full message
@@ -3013,7 +3013,7 @@ function toSyntheticResponse(response) {
3013
3013
  }
3014
3014
 
3015
3015
  //#endregion
3016
- //#region ../@warlock.js/ai/src/middleware/helpers/compose.ts
3016
+ //#region ../ai/src/middleware/helpers/compose.ts
3017
3017
  /**
3018
3018
  * Flatten one or more middleware sources into a single ordered
3019
3019
  * array suitable for `agent({ middleware: [...] })`.
@@ -3063,7 +3063,7 @@ function composeMiddleware(...sources) {
3063
3063
  }
3064
3064
 
3065
3065
  //#endregion
3066
- //#region ../@warlock.js/ai/src/middleware/helpers/for-tool.ts
3066
+ //#region ../ai/src/middleware/helpers/for-tool.ts
3067
3067
  /**
3068
3068
  * Scope a middleware's `tool`-level hooks to only fire for a
3069
3069
  * specific tool name (or a set of names). `execute` and `trip`
@@ -3141,7 +3141,7 @@ function forTool(toolNames, middleware) {
3141
3141
  }
3142
3142
 
3143
3143
  //#endregion
3144
- //#region ../@warlock.js/ai/src/middleware/pipeline.ts
3144
+ //#region ../ai/src/middleware/pipeline.ts
3145
3145
  const LOG_MODULE$2 = "ai.middleware";
3146
3146
  /**
3147
3147
  * Run an inner async operation through a stack of agent middlewares
@@ -3239,7 +3239,7 @@ async function runPipeline(middlewares, level, context, inner, logger) {
3239
3239
  }
3240
3240
 
3241
3241
  //#endregion
3242
- //#region ../@warlock.js/ai/src/observe/observer-registry.ts
3242
+ //#region ../ai/src/observe/observer-registry.ts
3243
3243
  /**
3244
3244
  * Module-level list of globally registered {@link Observer}s. A flow
3245
3245
  * that resolves to "observed" hands its finished report to every entry
@@ -3288,7 +3288,7 @@ function isObserveAll() {
3288
3288
  }
3289
3289
 
3290
3290
  //#endregion
3291
- //#region ../@warlock.js/ai/src/observe/resolve-observers.ts
3291
+ //#region ../ai/src/observe/resolve-observers.ts
3292
3292
  /**
3293
3293
  * Resolve a flow's `observe` option into the concrete list of
3294
3294
  * {@link Observer}s to notify with that flow's completed report:
@@ -3356,7 +3356,7 @@ function surfaceObserverError(observer, error, onError) {
3356
3356
  }
3357
3357
 
3358
3358
  //#endregion
3359
- //#region ../@warlock.js/ai/src/skills/catalog.ts
3359
+ //#region ../ai/src/skills/catalog.ts
3360
3360
  let isEmbedderPeerInstalled = null;
3361
3361
  let loadingPromise$3;
3362
3362
  const EMBEDDER_INSTALL_INSTRUCTIONS = `
@@ -3494,7 +3494,7 @@ function cosineSimilarity(a, b) {
3494
3494
  }
3495
3495
 
3496
3496
  //#endregion
3497
- //#region ../@warlock.js/ai/src/tool/tool.ts
3497
+ //#region ../ai/src/tool/tool.ts
3498
3498
  /**
3499
3499
  * Degraded `ToolContext` supplied when no caller threads one through
3500
3500
  * (`tool.invoke(input)` standalone, batch scripts, tests). Per
@@ -3672,7 +3672,7 @@ function tool(contract) {
3672
3672
  }
3673
3673
 
3674
3674
  //#endregion
3675
- //#region ../@warlock.js/ai/src/skills/load-skill-tool.ts
3675
+ //#region ../ai/src/skills/load-skill-tool.ts
3676
3676
  /**
3677
3677
  * Hand-built, schema-library-agnostic Standard Schema for
3678
3678
  * `{ name: string; version?: number }` — built without `seal` / `zod` so
@@ -3733,7 +3733,7 @@ function loadSkillTool(deps) {
3733
3733
  }
3734
3734
 
3735
3735
  //#endregion
3736
- //#region ../@warlock.js/ai/src/skills/save-skill-tool.ts
3736
+ //#region ../ai/src/skills/save-skill-tool.ts
3737
3737
  /**
3738
3738
  * Hand-built Standard Schema for the `saveSkill` input — dependency-free,
3739
3739
  * mirroring `loadSkillSchema`. Requires `name` / `description` / `body`;
@@ -3794,7 +3794,7 @@ function saveSkillTool(deps) {
3794
3794
  }
3795
3795
 
3796
3796
  //#endregion
3797
- //#region ../@warlock.js/ai/src/skills/sources/parse-frontmatter.ts
3797
+ //#region ../ai/src/skills/sources/parse-frontmatter.ts
3798
3798
  /**
3799
3799
  * Parse simple `key: value` YAML front-matter — the only form `SKILL.md`
3800
3800
  * uses (no nested objects, no block arrays). Ported verbatim from the
@@ -3838,7 +3838,7 @@ function parseTags(value) {
3838
3838
  }
3839
3839
 
3840
3840
  //#endregion
3841
- //#region ../@warlock.js/ai/src/skills/sources/directory-source.ts
3841
+ //#region ../ai/src/skills/sources/directory-source.ts
3842
3842
  /**
3843
3843
  * Lazily-loaded `node:fs/promises`. Core takes no new filesystem
3844
3844
  * dependency — a `store`-only or `url`-only consumer never touches the
@@ -3942,7 +3942,7 @@ function intersects$3(recordTags, wanted) {
3942
3942
  }
3943
3943
 
3944
3944
  //#endregion
3945
- //#region ../@warlock.js/ai/src/skills/sources/store-source.ts
3945
+ //#region ../ai/src/skills/sources/store-source.ts
3946
3946
  /**
3947
3947
  * Adapt a `{ type: "store", store }` source — a pass-through to any
3948
3948
  * {@link SkillsStoreContract} (e.g. `MockSkillsStore`, or the Phase-2
@@ -3955,7 +3955,7 @@ function storeSource(store) {
3955
3955
  }
3956
3956
 
3957
3957
  //#endregion
3958
- //#region ../@warlock.js/ai/src/skills/sources/url-source.ts
3958
+ //#region ../ai/src/skills/sources/url-source.ts
3959
3959
  /**
3960
3960
  * Read skills from a remote JSON manifest at `url`. The manifest is a flat
3961
3961
  * array of {@link SkillRecord}s (bodies inline).
@@ -4068,7 +4068,7 @@ function intersects$2(recordTags, wanted) {
4068
4068
  }
4069
4069
 
4070
4070
  //#endregion
4071
- //#region ../@warlock.js/ai/src/skills/sources/index.ts
4071
+ //#region ../ai/src/skills/sources/index.ts
4072
4072
  /**
4073
4073
  * Resolve a declarative {@link SkillSource} into a concrete
4074
4074
  * {@link SkillsStoreContract} reader. Discriminated by `type` (never
@@ -4088,7 +4088,7 @@ function resolveSource(source) {
4088
4088
  }
4089
4089
 
4090
4090
  //#endregion
4091
- //#region ../@warlock.js/ai/src/skills/skills.ts
4091
+ //#region ../ai/src/skills/skills.ts
4092
4092
  const DEFAULT_MAX_LOADS_PER_RUN = 5;
4093
4093
  /**
4094
4094
  * Create a runtime skills library — the **mechanism** behind the
@@ -4190,7 +4190,7 @@ function skills(config) {
4190
4190
  }
4191
4191
 
4192
4192
  //#endregion
4193
- //#region ../@warlock.js/ai/src/skills/store/mock-skills-store.ts
4193
+ //#region ../ai/src/skills/store/mock-skills-store.ts
4194
4194
  /**
4195
4195
  * In-memory {@link SkillsStoreContract} that ships with the package.
4196
4196
  *
@@ -4288,7 +4288,7 @@ function intersects$1(recordTags, wanted) {
4288
4288
  }
4289
4289
 
4290
4290
  //#endregion
4291
- //#region ../@warlock.js/ai/src/memory/derive-id.ts
4291
+ //#region ../ai/src/memory/derive-id.ts
4292
4292
  /**
4293
4293
  * Derive a stable memory id from its text when the caller didn't supply
4294
4294
  * one. Re-remembering identical text therefore lands on the same id and
@@ -4310,7 +4310,7 @@ function deriveMemoryId(text) {
4310
4310
  }
4311
4311
 
4312
4312
  //#endregion
4313
- //#region ../@warlock.js/ai/src/memory/episodic-memory.ts
4313
+ //#region ../ai/src/memory/episodic-memory.ts
4314
4314
  /**
4315
4315
  * How many extra candidates to pull from `similar()` before re-ranking by
4316
4316
  * the recency-blended score and slicing to `k`. Recency can promote a
@@ -4412,7 +4412,7 @@ var EpisodicMemory = class {
4412
4412
  };
4413
4413
 
4414
4414
  //#endregion
4415
- //#region ../@warlock.js/ai/src/memory/procedural-memory.ts
4415
+ //#region ../ai/src/memory/procedural-memory.ts
4416
4416
  /**
4417
4417
  * Extra candidates pulled from `similar()` before re-ranking by the
4418
4418
  * reinforcement-blended score and slicing to `k` — reinforcement can
@@ -4511,7 +4511,7 @@ var ProceduralMemory = class {
4511
4511
  };
4512
4512
 
4513
4513
  //#endregion
4514
- //#region ../@warlock.js/ai/src/memory/semantic-memory.ts
4514
+ //#region ../ai/src/memory/semantic-memory.ts
4515
4515
  /**
4516
4516
  * Semantic recall tier (memory core M1).
4517
4517
  *
@@ -4587,7 +4587,7 @@ var SemanticMemory = class {
4587
4587
  };
4588
4588
 
4589
4589
  //#endregion
4590
- //#region ../@warlock.js/ai/src/memory/working-memory.ts
4590
+ //#region ../ai/src/memory/working-memory.ts
4591
4591
  /**
4592
4592
  * In-run working memory — the volatile scratch tier (memory core M1).
4593
4593
  *
@@ -4645,7 +4645,7 @@ var WorkingMemory = class {
4645
4645
  };
4646
4646
 
4647
4647
  //#endregion
4648
- //#region ../@warlock.js/ai/src/memory/memory.ts
4648
+ //#region ../ai/src/memory/memory.ts
4649
4649
  const DEFAULT_NAME$3 = "memory";
4650
4650
  const DEFAULT_SEMANTIC_NAMESPACE = "ai.memory.semantic";
4651
4651
  const DEFAULT_EPISODIC_NAMESPACE = "ai.memory.episodic";
@@ -4803,7 +4803,7 @@ function assertTierEnabled(tier, tiers, name) {
4803
4803
  }
4804
4804
 
4805
4805
  //#endregion
4806
- //#region ../@warlock.js/ai/src/skills/store/procedural-skill-store.ts
4806
+ //#region ../ai/src/skills/store/procedural-skill-store.ts
4807
4807
  const RECALL_K = 1e3;
4808
4808
  /**
4809
4809
  * {@link SkillsStoreContract} backed by the procedural memory tier
@@ -4924,7 +4924,7 @@ function intersects(recordTags, wanted) {
4924
4924
  }
4925
4925
 
4926
4926
  //#endregion
4927
- //#region ../@warlock.js/ai/src/skills/review-gate.ts
4927
+ //#region ../ai/src/skills/review-gate.ts
4928
4928
  /**
4929
4929
  * Run a candidate through the **default-DENY** review gate (Phase 2).
4930
4930
  *
@@ -4982,7 +4982,7 @@ async function runReviewGate(candidate, gate, emit) {
4982
4982
  }
4983
4983
 
4984
4984
  //#endregion
4985
- //#region ../@warlock.js/ai/src/tool/executable-as-tool.ts
4985
+ //#region ../ai/src/tool/executable-as-tool.ts
4986
4986
  /**
4987
4987
  * Identity passthrough schema used when an executable is registered as
4988
4988
  * a tool without declaring an `inputSchema`. The model's raw arguments
@@ -5057,7 +5057,7 @@ function normalizeAgentTools(tools) {
5057
5057
  }
5058
5058
 
5059
5059
  //#endregion
5060
- //#region ../@warlock.js/ai/src/agent/judge-config.type.ts
5060
+ //#region ../ai/src/agent/judge-config.type.ts
5061
5061
  /**
5062
5062
  * Default number of repair re-asks the judge preset performs when the
5063
5063
  * model's first verdict fails to parse / validate. Two attempts balances
@@ -5068,7 +5068,7 @@ function normalizeAgentTools(tools) {
5068
5068
  const JUDGE_DEFAULT_REPAIR_ATTEMPTS = 2;
5069
5069
 
5070
5070
  //#endregion
5071
- //#region ../@warlock.js/ai/src/agent/agent-input-builder.ts
5071
+ //#region ../ai/src/agent/agent-input-builder.ts
5072
5072
  /**
5073
5073
  * Assemble the seed conversation for an agent execution. Runs exactly
5074
5074
  * once per run — subsequent trips append to the same message list.
@@ -5193,7 +5193,7 @@ function resolveStructuredOutput(params) {
5193
5193
  }
5194
5194
 
5195
5195
  //#endregion
5196
- //#region ../@warlock.js/ai/src/agent/agent-log-event.ts
5196
+ //#region ../ai/src/agent/agent-log-event.ts
5197
5197
  /**
5198
5198
  * Structured logging for agent lifecycle events. Mirrors
5199
5199
  * `Execution.emit`'s call sites without touching class state — the
@@ -5292,7 +5292,7 @@ function logAgentEvent(logger, ctx, event, payload) {
5292
5292
  }
5293
5293
 
5294
5294
  //#endregion
5295
- //#region ../@warlock.js/ai/src/agent/agent-stream.ts
5295
+ //#region ../ai/src/agent/agent-stream.ts
5296
5296
  function createAgentStream() {
5297
5297
  const queue = [];
5298
5298
  const pending = [];
@@ -5372,7 +5372,7 @@ function createAgentStream() {
5372
5372
  }
5373
5373
 
5374
5374
  //#endregion
5375
- //#region ../@warlock.js/ai/src/agent/agent-to-stream-event.ts
5375
+ //#region ../ai/src/agent/agent-to-stream-event.ts
5376
5376
  /**
5377
5377
  * Map an internal `AgentEventMap` entry into the public `StreamEvent`
5378
5378
  * shape. Event names are the same dot-notation strings on both sides;
@@ -5456,7 +5456,7 @@ function agentEventToStreamEvent(event, payload) {
5456
5456
  }
5457
5457
 
5458
5458
  //#endregion
5459
- //#region ../@warlock.js/ai/src/agent/json-stream-guard.ts
5459
+ //#region ../ai/src/agent/json-stream-guard.ts
5460
5460
  /**
5461
5461
  * Default cap on bytes accumulated in a single suspect buffer before
5462
5462
  * the guard gives up, flushes as text, and resets to pass-through.
@@ -5854,7 +5854,7 @@ function readObject(envelope, key) {
5854
5854
  }
5855
5855
 
5856
5856
  //#endregion
5857
- //#region ../@warlock.js/ai/src/agent/signature.ts
5857
+ //#region ../ai/src/agent/signature.ts
5858
5858
  /**
5859
5859
  * Deterministic structural fingerprint of an agent definition.
5860
5860
  * Persisted on every durable snapshot so `agent.resume()` can detect
@@ -5909,7 +5909,7 @@ function hash$3(input) {
5909
5909
  }
5910
5910
 
5911
5911
  //#endregion
5912
- //#region ../@warlock.js/ai/src/agent/snapshot.ts
5912
+ //#region ../ai/src/agent/snapshot.ts
5913
5913
  /**
5914
5914
  * Resolve the effective {@link SnapshotStore}: the agent's own
5915
5915
  * `durable.store` wins; absent that, fall back to the global default
@@ -6003,7 +6003,7 @@ async function loadAgentSnapshotForResume(params) {
6003
6003
  }
6004
6004
 
6005
6005
  //#endregion
6006
- //#region ../@warlock.js/ai/src/agent/agent.ts
6006
+ //#region ../ai/src/agent/agent.ts
6007
6007
  const LOG_MODULE$1 = "ai.agent";
6008
6008
  /**
6009
6009
  * Duck-type a value as a {@link SkillsContract} (vs a raw `SkillsConfig`).
@@ -7247,7 +7247,7 @@ function resolveToolAction(tool, input) {
7247
7247
  }
7248
7248
 
7249
7249
  //#endregion
7250
- //#region ../@warlock.js/ai/src/agent/spawn-sub-agent.ts
7250
+ //#region ../ai/src/agent/spawn-sub-agent.ts
7251
7251
  /**
7252
7252
  * Build a fresh agent, run a single subtask through it once, and return
7253
7253
  * the unified {@link AgentResult}. Equivalent to
@@ -7310,7 +7310,7 @@ function buildSubAgent(spec) {
7310
7310
  }
7311
7311
 
7312
7312
  //#endregion
7313
- //#region ../@warlock.js/ai/src/workflow/retry.ts
7313
+ //#region ../ai/src/workflow/retry.ts
7314
7314
  const DEFAULT_BACKOFF_CAP_MS = 3e4;
7315
7315
  function resolveBackoff(attempt, backoff) {
7316
7316
  const value = (() => {
@@ -7340,7 +7340,7 @@ function resolveRetryConfig(step, workflowDefault) {
7340
7340
  }
7341
7341
 
7342
7342
  //#endregion
7343
- //#region ../@warlock.js/ai/src/workflow/cancellation.ts
7343
+ //#region ../ai/src/workflow/cancellation.ts
7344
7344
  /**
7345
7345
  * Build a `WorkflowCancelledError` from an `AbortSignal`, extracting
7346
7346
  * a human-readable reason from `signal.reason` (string | Error | any).
@@ -7379,7 +7379,7 @@ function sleep$1(ms, signal) {
7379
7379
  }
7380
7380
 
7381
7381
  //#endregion
7382
- //#region ../@warlock.js/ai/src/workflow/state.ts
7382
+ //#region ../ai/src/workflow/state.ts
7383
7383
  /**
7384
7384
  * Deep-clone workflow state. Uses `structuredClone` — handles Date,
7385
7385
  * Map, Set, ArrayBuffer, nested objects, arrays, primitives. Throws
@@ -7411,7 +7411,7 @@ function deepFreeze(value) {
7411
7411
  }
7412
7412
 
7413
7413
  //#endregion
7414
- //#region ../@warlock.js/ai/src/workflow/step-runner.ts
7414
+ //#region ../ai/src/workflow/step-runner.ts
7415
7415
  /**
7416
7416
  * Narrow an `executionResult` to an `AgentResult` when the step ran
7417
7417
  * an agent. Custom `run` steps return arbitrary values, so the
@@ -7473,6 +7473,7 @@ async function executeStep(params) {
7473
7473
  let executionResult;
7474
7474
  let output;
7475
7475
  let succeeded = false;
7476
+ let stepChildren;
7476
7477
  for (let attempt = 1; attempt <= totalAttempts; attempt++) {
7477
7478
  if (signal?.aborted) throw createCancelledError$1(signal);
7478
7479
  const attemptStart = (/* @__PURE__ */ new Date()).toISOString();
@@ -7490,7 +7491,20 @@ async function executeStep(params) {
7490
7491
  executionResult = result;
7491
7492
  if (result.usage) mergeUsage(params.usage, result.usage);
7492
7493
  if (result.error) throw result.error;
7493
- } else if (step.run) executionResult = await step.run(params.buildContext({ state: attemptState }));
7494
+ } else if (step.run) {
7495
+ const runChildren = [];
7496
+ try {
7497
+ executionResult = await withRunFrame({
7498
+ sink: runChildren,
7499
+ rootRunId: params.runId,
7500
+ parentRunId: params.runId,
7501
+ sessionId: params.sessionId
7502
+ }, () => step.run(params.buildContext({ state: attemptState })));
7503
+ } finally {
7504
+ stepChildren = runChildren.length > 0 ? runChildren : void 0;
7505
+ for (const child of runChildren) mergeUsage(params.usage, child.usage);
7506
+ }
7507
+ }
7494
7508
  if (step.output) {
7495
7509
  const extracted = await step.output.extract(params.buildContext({
7496
7510
  state: attemptState,
@@ -7583,7 +7597,8 @@ async function executeStep(params) {
7583
7597
  state: stepState,
7584
7598
  executionResult: executionResult && typeof executionResult === "object" ? executionResult : void 0,
7585
7599
  agentReport: failedAgentResult?.report,
7586
- agentUsage: failedAgentResult?.usage
7600
+ agentUsage: failedAgentResult?.usage,
7601
+ children: stepChildren
7587
7602
  };
7588
7603
  }
7589
7604
  emitter.emit("workflow.step.completed", {
@@ -7613,7 +7628,8 @@ async function executeStep(params) {
7613
7628
  state: stepState,
7614
7629
  executionResult: executionResult && typeof executionResult === "object" ? executionResult : void 0,
7615
7630
  agentReport: completedAgentResult?.report,
7616
- agentUsage: completedAgentResult?.usage
7631
+ agentUsage: completedAgentResult?.usage,
7632
+ children: stepChildren
7617
7633
  };
7618
7634
  }
7619
7635
  async function runParallelStep(params) {
@@ -7633,7 +7649,9 @@ async function runParallelStep(params) {
7633
7649
  logModule,
7634
7650
  signal,
7635
7651
  buildContext: params.buildContext,
7636
- usage: params.usage
7652
+ usage: params.usage,
7653
+ runId: params.runId,
7654
+ sessionId: params.sessionId
7637
7655
  })
7638
7656
  };
7639
7657
  }));
@@ -7717,6 +7735,7 @@ function finalizeSnapshot(snap) {
7717
7735
  executionResult: snap.executionResult,
7718
7736
  agentReport: snap.agentReport,
7719
7737
  agentUsage: snap.agentUsage,
7738
+ children: snap.children,
7720
7739
  steps: snap.steps
7721
7740
  });
7722
7741
  }
@@ -7767,7 +7786,7 @@ async function validateSchema(schema, value) {
7767
7786
  }
7768
7787
 
7769
7788
  //#endregion
7770
- //#region ../@warlock.js/ai/src/batch/run-batch-item.ts
7789
+ //#region ../ai/src/batch/run-batch-item.ts
7771
7790
  /**
7772
7791
  * Sleep for `ms`, settling early (without throwing) if `signal`
7773
7792
  * aborts during the wait. The caller re-checks `signal.aborted` after
@@ -7862,7 +7881,7 @@ async function runBatchItem(params) {
7862
7881
  }
7863
7882
 
7864
7883
  //#endregion
7865
- //#region ../@warlock.js/ai/src/batch/run-with-concurrency.ts
7884
+ //#region ../ai/src/batch/run-with-concurrency.ts
7866
7885
  /**
7867
7886
  * Run an async `worker` over every index `0..total-1` with at most
7868
7887
  * `limit` workers in flight at any moment, preserving nothing about
@@ -7899,7 +7918,7 @@ async function runWithConcurrency(total, limit, worker) {
7899
7918
  }
7900
7919
 
7901
7920
  //#endregion
7902
- //#region ../@warlock.js/ai/src/batch/batch.ts
7921
+ //#region ../ai/src/batch/batch.ts
7903
7922
  /** Batch size above which an unset (unbounded) concurrency warns once (D5). */
7904
7923
  const BATCH_UNBOUNDED_WARN_THRESHOLD = 50;
7905
7924
  /** Process-lifetime flag so the unbounded-batch warning fires at most once. */
@@ -8089,7 +8108,7 @@ var BatchRun = class {
8089
8108
  };
8090
8109
 
8091
8110
  //#endregion
8092
- //#region ../@warlock.js/ai/src/object-stream/parse-partial-json.ts
8111
+ //#region ../ai/src/object-stream/parse-partial-json.ts
8093
8112
  /**
8094
8113
  * Best-effort parse of a possibly-truncated JSON string into the value it
8095
8114
  * is "on its way to" becoming. Used by {@link streamObject} to emit a
@@ -8165,7 +8184,7 @@ function completePartialJson(text) {
8165
8184
  }
8166
8185
 
8167
8186
  //#endregion
8168
- //#region ../@warlock.js/ai/src/object-stream/stream-object.ts
8187
+ //#region ../ai/src/object-stream/stream-object.ts
8169
8188
  /**
8170
8189
  * Stream a structured object: emit raw token deltas, progressively-parsed
8171
8190
  * partial-object snapshots, and a final strictly-validated object — the
@@ -8263,7 +8282,7 @@ function safeStringify$2(value) {
8263
8282
  }
8264
8283
 
8265
8284
  //#endregion
8266
- //#region ../@warlock.js/ai/src/serve/sse.ts
8285
+ //#region ../ai/src/serve/sse.ts
8267
8286
  /**
8268
8287
  * Encode one Server-Sent-Events frame. Multi-line `data` is split into
8269
8288
  * multiple `data:` lines per the SSE spec, so JSON with embedded newlines
@@ -8286,7 +8305,7 @@ function encodeSSE(frame) {
8286
8305
  const SSE_DONE = "data: [DONE]\n\n";
8287
8306
 
8288
8307
  //#endregion
8289
- //#region ../@warlock.js/ai/src/serve/stream-to-sse.ts
8308
+ //#region ../ai/src/serve/stream-to-sse.ts
8290
8309
  /**
8291
8310
  * Convert a primitive's event stream into an SSE byte stream (A3): each
8292
8311
  * event becomes an SSE frame named by its `type`, then the final `result`
@@ -8319,7 +8338,7 @@ async function* streamToSSE(stream) {
8319
8338
  }
8320
8339
 
8321
8340
  //#endregion
8322
- //#region ../@warlock.js/ai/src/serve/serve.ts
8341
+ //#region ../ai/src/serve/serve.ts
8323
8342
  const SECURITY_HEADERS = {
8324
8343
  "x-content-type-options": "nosniff",
8325
8344
  "x-frame-options": "DENY",
@@ -8405,7 +8424,7 @@ function sendJson(res, status, body) {
8405
8424
  }
8406
8425
 
8407
8426
  //#endregion
8408
- //#region ../@warlock.js/ai/src/checkpoint/memory.ts
8427
+ //#region ../ai/src/checkpoint/memory.ts
8409
8428
  /**
8410
8429
  * Composite key for the in-memory session index — one bucket per
8411
8430
  * `(orchestratorName, sessionId)` pair. The separator can't appear in
@@ -8524,7 +8543,7 @@ function memory() {
8524
8543
  }
8525
8544
 
8526
8545
  //#endregion
8527
- //#region ../@warlock.js/ai/src/checkpoint/pg.ts
8546
+ //#region ../ai/src/checkpoint/pg.ts
8528
8547
  /**
8529
8548
  * Default backing table — matches the §8.6 reference DDL verbatim so a
8530
8549
  * stock migration provisions the store with no extra config.
@@ -8787,7 +8806,7 @@ function pg(options) {
8787
8806
  }
8788
8807
 
8789
8808
  //#endregion
8790
- //#region ../@warlock.js/ai/src/checkpoint/redis.ts
8809
+ //#region ../ai/src/checkpoint/redis.ts
8791
8810
  /**
8792
8811
  * Default key prefix — namespaces the store's keys inside a shared
8793
8812
  * Redis database.
@@ -8985,7 +9004,7 @@ function redis(options) {
8985
9004
  }
8986
9005
 
8987
9006
  //#endregion
8988
- //#region ../@warlock.js/ai/src/eval/report-json.ts
9007
+ //#region ../ai/src/eval/report-json.ts
8989
9008
  /**
8990
9009
  * Serialize an {@link EvalReport} to a pretty-printed JSON string — a
8991
9010
  * round-trippable snapshot suitable for committing as the next run's
@@ -9016,7 +9035,7 @@ function fromJSON(serialized) {
9016
9035
  }
9017
9036
 
9018
9037
  //#endregion
9019
- //#region ../@warlock.js/ai/src/eval/report-junit.ts
9038
+ //#region ../ai/src/eval/report-junit.ts
9020
9039
  /**
9021
9040
  * Escape the five XML predefined entities so arbitrary text (case names,
9022
9041
  * failure reasons, agent names) is safe inside an attribute value or
@@ -9074,7 +9093,7 @@ function toJUnit(report) {
9074
9093
  }
9075
9094
 
9076
9095
  //#endregion
9077
- //#region ../@warlock.js/ai/src/eval/scorers.ts
9096
+ //#region ../ai/src/eval/scorers.ts
9078
9097
  /**
9079
9098
  * Normalize a value for case-insensitive, whitespace-trimmed string
9080
9099
  * comparison. Non-string values are JSON-serialized first so a
@@ -9173,7 +9192,7 @@ function predicate(fn) {
9173
9192
  }
9174
9193
 
9175
9194
  //#endregion
9176
- //#region ../@warlock.js/ai/src/eval/dataset.ts
9195
+ //#region ../ai/src/eval/dataset.ts
9177
9196
  /**
9178
9197
  * Parse a JSONL file's contents into {@link DatasetEntry} rows. Blank
9179
9198
  * lines (and trailing whitespace-only lines) are skipped; every other
@@ -9279,7 +9298,7 @@ function dataset(options) {
9279
9298
  }
9280
9299
 
9281
9300
  //#endregion
9282
- //#region ../@warlock.js/ai/src/eval/index.ts
9301
+ //#region ../ai/src/eval/index.ts
9283
9302
  /**
9284
9303
  * Built-in eval scorer factories plus the CI reporters, surfaced on
9285
9304
  * `ai.eval.*`.
@@ -9317,7 +9336,7 @@ const evalScorers = {
9317
9336
  };
9318
9337
 
9319
9338
  //#endregion
9320
- //#region ../@warlock.js/ai/src/human/errors.ts
9339
+ //#region ../ai/src/human/errors.ts
9321
9340
  /**
9322
9341
  * A durable approval handler suspended the run rather than denying the
9323
9342
  * call.
@@ -9373,7 +9392,7 @@ var ApprovalRejectedError = class extends AIError {
9373
9392
  };
9374
9393
 
9375
9394
  //#endregion
9376
- //#region ../@warlock.js/ai/src/human/policy.ts
9395
+ //#region ../ai/src/human/policy.ts
9377
9396
  /**
9378
9397
  * A verdict that lets a call through untouched. Frozen and shared so the
9379
9398
  * (common) skip path allocates nothing.
@@ -9438,7 +9457,7 @@ function evaluatePolicy(policy, context) {
9438
9457
  }
9439
9458
 
9440
9459
  //#endregion
9441
- //#region ../@warlock.js/ai/src/human/resume-seed.ts
9460
+ //#region ../ai/src/human/resume-seed.ts
9442
9461
  /**
9443
9462
  * Process-local registry of decisions pre-seeded for a durable re-run.
9444
9463
  *
@@ -9489,7 +9508,7 @@ function clearSeededDecision(agentName) {
9489
9508
  }
9490
9509
 
9491
9510
  //#endregion
9492
- //#region ../@warlock.js/ai/src/human/human-approval.ts
9511
+ //#region ../ai/src/human/human-approval.ts
9493
9512
  /** Default middleware name when {@link HumanApprovalOptions.name} is omitted. */
9494
9513
  const DEFAULT_NAME$2 = "human-approval";
9495
9514
  /** Zero usage for a synthetic, no-LLM-spend short-circuit result. */
@@ -9652,7 +9671,7 @@ function humanApproval(options) {
9652
9671
  }
9653
9672
 
9654
9673
  //#endregion
9655
- //#region ../@warlock.js/ai/src/human/resume.ts
9674
+ //#region ../ai/src/human/resume.ts
9656
9675
  /**
9657
9676
  * Validate that a decision is a well-formed {@link ApprovalDecision}.
9658
9677
  *
@@ -9769,7 +9788,7 @@ async function resume(interruptId, decision, options) {
9769
9788
  }
9770
9789
 
9771
9790
  //#endregion
9772
- //#region ../@warlock.js/ai/src/human/stores/memory.ts
9791
+ //#region ../ai/src/human/stores/memory.ts
9773
9792
  /**
9774
9793
  * In-memory {@link InterruptStore} — pending interrupts held in a
9775
9794
  * process-local `Map`, never persisted to disk.
@@ -9858,7 +9877,7 @@ function memory$1() {
9858
9877
  }
9859
9878
 
9860
9879
  //#endregion
9861
- //#region ../@warlock.js/ai/src/human/stores/pg.ts
9880
+ //#region ../ai/src/human/stores/pg.ts
9862
9881
  /**
9863
9882
  * Default backing table — provisions the store with no extra config when
9864
9883
  * the dev runs {@link InterruptStore.schema} through their migration tool.
@@ -10076,7 +10095,7 @@ function pg$1(options) {
10076
10095
  }
10077
10096
 
10078
10097
  //#endregion
10079
- //#region ../@warlock.js/ai/src/human/stores/redis.ts
10098
+ //#region ../ai/src/human/stores/redis.ts
10080
10099
  /**
10081
10100
  * Default key prefix — namespaces the store's keys inside a shared Redis
10082
10101
  * database so interrupt records coexist with other data without collision.
@@ -10275,7 +10294,7 @@ function redis$1(options) {
10275
10294
  }
10276
10295
 
10277
10296
  //#endregion
10278
- //#region ../@warlock.js/ai/src/human/register.ts
10297
+ //#region ../ai/src/human/register.ts
10279
10298
  /**
10280
10299
  * The assembled `ai.human.*` namespace — the human-in-the-loop surface
10281
10300
  * mounted onto the shared `ai` object in `../ai`.
@@ -10303,7 +10322,7 @@ const human = {
10303
10322
  };
10304
10323
 
10305
10324
  //#endregion
10306
- //#region ../@warlock.js/ai/src/image/image-cost.ts
10325
+ //#region ../ai/src/image/image-cost.ts
10307
10326
  /**
10308
10327
  * Price one image-generation `Usage` against an
10309
10328
  * {@link ImageModelPricing}, returning a `ModelPricing`-shaped USD
@@ -10354,7 +10373,7 @@ function resolvePerImageRate(size, pricing) {
10354
10373
  }
10355
10374
 
10356
10375
  //#endregion
10357
- //#region ../@warlock.js/ai/src/image/image.ts
10376
+ //#region ../ai/src/image/image.ts
10358
10377
  /**
10359
10378
  * Generate one or more images from a text prompt — the image-output
10360
10379
  * counterpart to `ai.agent`, and the first verb of the output-modality
@@ -10457,7 +10476,7 @@ function toMessage$2(thrown) {
10457
10476
  }
10458
10477
 
10459
10478
  //#endregion
10460
- //#region ../@warlock.js/ai/src/speech/speech.ts
10479
+ //#region ../ai/src/speech/speech.ts
10461
10480
  /**
10462
10481
  * Synthesize speech from text — the text-to-speech verb of the
10463
10482
  * output-modality track (Theme I), sibling to `ai.image()`. Wraps a
@@ -10570,7 +10589,7 @@ function toMessage$1(thrown) {
10570
10589
  }
10571
10590
 
10572
10591
  //#endregion
10573
- //#region ../@warlock.js/ai/src/transcribe/audio-input.ts
10592
+ //#region ../ai/src/transcribe/audio-input.ts
10574
10593
  /**
10575
10594
  * File-extension → IANA audio media type map covering the formats the
10576
10595
  * common STT providers accept — including the **WhatsApp voice-note**
@@ -10649,7 +10668,7 @@ async function audioFromFile(filePath, options) {
10649
10668
  }
10650
10669
 
10651
10670
  //#endregion
10652
- //#region ../@warlock.js/ai/src/transcribe/transcribe.ts
10671
+ //#region ../ai/src/transcribe/transcribe.ts
10653
10672
  /**
10654
10673
  * Transcribe audio to text — the speech-to-text verb of the
10655
10674
  * output-modality track (Theme I), inverse of `ai.speech()`. Wraps a
@@ -10767,7 +10786,7 @@ function toMessage(thrown) {
10767
10786
  }
10768
10787
 
10769
10788
  //#endregion
10770
- //#region ../@warlock.js/ai/src/guard/detectors/injection.ts
10789
+ //#region ../ai/src/guard/detectors/injection.ts
10771
10790
  const DETECTOR_NAME$3 = "injection";
10772
10791
  /**
10773
10792
  * Built-in jailbreak / prompt-injection marker phrases. Each entry is a
@@ -11019,7 +11038,7 @@ function injection(options) {
11019
11038
  }
11020
11039
 
11021
11040
  //#endregion
11022
- //#region ../@warlock.js/ai/src/guard/detectors/pii.ts
11041
+ //#region ../ai/src/guard/detectors/pii.ts
11023
11042
  /** Detector name, used as the namespace prefix on every {@link GuardrailMatch.rule}. */
11024
11043
  const DETECTOR_NAME$2 = "pii";
11025
11044
  /** Placeholder substituted for a matched span when the caller supplies no `mask`. */
@@ -11216,7 +11235,7 @@ function pii(options = {}) {
11216
11235
  }
11217
11236
 
11218
11237
  //#endregion
11219
- //#region ../@warlock.js/ai/src/guard/detectors/topic.ts
11238
+ //#region ../ai/src/guard/detectors/topic.ts
11220
11239
  /** Detector name, used as the namespace prefix on every {@link GuardrailMatch.rule}. */
11221
11240
  const DETECTOR_NAME$1 = "topic";
11222
11241
  /**
@@ -11313,7 +11332,7 @@ function verdict(action, reason, matches) {
11313
11332
  }
11314
11333
 
11315
11334
  //#endregion
11316
- //#region ../@warlock.js/ai/src/guard/errors.ts
11335
+ //#region ../ai/src/guard/errors.ts
11317
11336
  /**
11318
11337
  * Curated install string thrown by the optional `moderation` detector on
11319
11338
  * first `check()` when the `openai` peer is absent. Mirrors ai-panoptic's
@@ -11327,7 +11346,7 @@ Install it with:
11327
11346
  `.trim();
11328
11347
 
11329
11348
  //#endregion
11330
- //#region ../@warlock.js/ai/src/guard/detectors/moderation.ts
11349
+ //#region ../ai/src/guard/detectors/moderation.ts
11331
11350
  const DETECTOR_NAME = "moderation.openai";
11332
11351
  const DEFAULT_MODEL = "omni-moderation-latest";
11333
11352
  let OpenAiSdk;
@@ -11457,7 +11476,7 @@ function moderation(options) {
11457
11476
  }
11458
11477
 
11459
11478
  //#endregion
11460
- //#region ../@warlock.js/ai/src/guard/guard.ts
11479
+ //#region ../ai/src/guard/guard.ts
11461
11480
  /** Default middleware name when the caller supplies none. */
11462
11481
  const DEFAULT_NAME$1 = "guardrail";
11463
11482
  /**
@@ -11659,7 +11678,7 @@ function guard(options) {
11659
11678
  }
11660
11679
 
11661
11680
  //#endregion
11662
- //#region ../@warlock.js/ai/src/guard/guardrail.ts
11681
+ //#region ../ai/src/guard/guardrail.ts
11663
11682
  /**
11664
11683
  * The `ai.guardrail` value: the {@link guard} factory with the detector
11665
11684
  * factories assigned onto it. Built once and shared.
@@ -11672,7 +11691,7 @@ const guardrail = Object.assign(guard, {
11672
11691
  });
11673
11692
 
11674
11693
  //#endregion
11675
- //#region ../@warlock.js/ai/src/mock/mock-image-model.ts
11694
+ //#region ../ai/src/mock/mock-image-model.ts
11676
11695
  /** A 1×1 transparent PNG — the default mock image payload. */
11677
11696
  const TRANSPARENT_PNG_BASE64 = "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==";
11678
11697
  /**
@@ -11722,7 +11741,7 @@ var MockImageModel = class {
11722
11741
  };
11723
11742
 
11724
11743
  //#endregion
11725
- //#region ../@warlock.js/ai/src/mock/mock-model.ts
11744
+ //#region ../ai/src/mock/mock-model.ts
11726
11745
  /**
11727
11746
  * Deterministic in-memory `ModelContract` implementation for tests.
11728
11747
  *
@@ -11870,7 +11889,7 @@ var MockModel = class {
11870
11889
  };
11871
11890
 
11872
11891
  //#endregion
11873
- //#region ../@warlock.js/ai/src/mock/mock-speech-model.ts
11892
+ //#region ../ai/src/mock/mock-speech-model.ts
11874
11893
  /** Deterministic {@link SpeechModelContract} double for tests — no HTTP. */
11875
11894
  var MockSpeechModel = class {
11876
11895
  constructor(name, responses, pricing) {
@@ -11907,7 +11926,7 @@ var MockSpeechModel = class {
11907
11926
  };
11908
11927
 
11909
11928
  //#endregion
11910
- //#region ../@warlock.js/ai/src/mock/mock-transcription-model.ts
11929
+ //#region ../ai/src/mock/mock-transcription-model.ts
11911
11930
  /** Deterministic {@link TranscriptionModelContract} double for tests — no HTTP. */
11912
11931
  var MockTranscriptionModel = class {
11913
11932
  constructor(name, responses, pricing) {
@@ -11941,7 +11960,7 @@ var MockTranscriptionModel = class {
11941
11960
  };
11942
11961
 
11943
11962
  //#endregion
11944
- //#region ../@warlock.js/ai/src/mock/mock-sdk.ts
11963
+ //#region ../ai/src/mock/mock-sdk.ts
11945
11964
  /**
11946
11965
  * Creates a mock SDK adapter for testing — no HTTP calls, fully configurable.
11947
11966
  *
@@ -11997,7 +12016,7 @@ function MockSDK(config = {}) {
11997
12016
  }
11998
12017
 
11999
12018
  //#endregion
12000
- //#region ../@warlock.js/ai/src/mock/mock-agent.ts
12019
+ //#region ../ai/src/mock/mock-agent.ts
12001
12020
  /**
12002
12021
  * Test helper that wires `MockSDK` → mock model → `agent()` in one call.
12003
12022
  *
@@ -12031,7 +12050,7 @@ function mockAgent(options = {}) {
12031
12050
  }
12032
12051
 
12033
12052
  //#endregion
12034
- //#region ../@warlock.js/ai/src/mock/mock-router.ts
12053
+ //#region ../ai/src/mock/mock-router.ts
12035
12054
  /**
12036
12055
  * Build a deterministic `route` callback that replays a canned
12037
12056
  * sequence of routing decisions — one per supervisor iteration — for
@@ -12085,7 +12104,7 @@ function resolveDecision(decision, context) {
12085
12104
  }
12086
12105
 
12087
12106
  //#endregion
12088
- //#region ../@warlock.js/ai/src/model/fallback-model.ts
12107
+ //#region ../ai/src/model/fallback-model.ts
12089
12108
  /**
12090
12109
  * Error codes treated as transient — and therefore worth falling over
12091
12110
  * to the next model — when the caller does not supply an explicit
@@ -12298,7 +12317,7 @@ var FallbackRun = class {
12298
12317
  };
12299
12318
 
12300
12319
  //#endregion
12301
- //#region ../@warlock.js/ai/src/orchestrator/as-tool.ts
12320
+ //#region ../ai/src/orchestrator/as-tool.ts
12302
12321
  /**
12303
12322
  * Wrap an {@link OrchestratorContract} as a {@link ToolContract} so an
12304
12323
  * outer agent can invoke it from its tool-call loop (design §13).
@@ -12389,7 +12408,7 @@ function coerceInput$1(value) {
12389
12408
  }
12390
12409
 
12391
12410
  //#endregion
12392
- //#region ../@warlock.js/ai/src/orchestrator/commands.ts
12411
+ //#region ../ai/src/orchestrator/commands.ts
12393
12412
  /**
12394
12413
  * Build the typed `command(name, args)` dispatcher backing
12395
12414
  * {@link import("../contracts/orchestrator/orchestrator.contract").OrchestratorContract.command}
@@ -12418,7 +12437,7 @@ function createCommandDispatcher(handlers) {
12418
12437
  }
12419
12438
 
12420
12439
  //#endregion
12421
- //#region ../@warlock.js/ai/src/orchestrator/emitter.ts
12440
+ //#region ../ai/src/orchestrator/emitter.ts
12422
12441
  /**
12423
12442
  * Three-tier orchestrator event emitter — definition (factory) →
12424
12443
  * instance → per-call — for the `orchestrator.*` namespace (design
@@ -12501,7 +12520,7 @@ function invoke$2(handler, payload) {
12501
12520
  }
12502
12521
 
12503
12522
  //#endregion
12504
- //#region ../@warlock.js/ai/src/orchestrator/memory.ts
12523
+ //#region ../ai/src/orchestrator/memory.ts
12505
12524
  /** Default key the recalled memories are injected under in the context bag. */
12506
12525
  const DEFAULT_INJECT_KEY = "memories";
12507
12526
  /**
@@ -12640,7 +12659,7 @@ function stringifyOutcome(value) {
12640
12659
  }
12641
12660
 
12642
12661
  //#endregion
12643
- //#region ../@warlock.js/ai/src/orchestrator/checkpoint.ts
12662
+ //#region ../ai/src/orchestrator/checkpoint.ts
12644
12663
  /** Framework default for snapshot retention per session (§4 Phase 6). */
12645
12664
  const DEFAULT_KEEP_SNAPSHOTS = 100;
12646
12665
  /**
@@ -12713,7 +12732,7 @@ async function prune(ctx, sessionId, latestTurnIndex) {
12713
12732
  }
12714
12733
 
12715
12734
  //#endregion
12716
- //#region ../@warlock.js/ai/src/orchestrator/lock.ts
12735
+ //#region ../ai/src/orchestrator/lock.ts
12717
12736
  /** Framework default for the compaction-lock wait, in ms (§3 / §12.3). */
12718
12737
  const DEFAULT_LOCK_MAX_WAIT = 3e4;
12719
12738
  /** Poll interval while waiting on a held lock, in ms. */
@@ -12786,7 +12805,7 @@ function delay(ms) {
12786
12805
  }
12787
12806
 
12788
12807
  //#endregion
12789
- //#region ../@warlock.js/ai/src/orchestrator/compaction.ts
12808
+ //#region ../ai/src/orchestrator/compaction.ts
12790
12809
  /**
12791
12810
  * Most-recent messages kept verbatim when `summarize.keep` is omitted.
12792
12811
  * Defaulting to 0 would compact the entire history into one memo (losing
@@ -12988,7 +13007,7 @@ async function releaseCompactionLock(ctx, sessionId) {
12988
13007
  }
12989
13008
 
12990
13009
  //#endregion
12991
- //#region ../@warlock.js/ai/src/supervisor/as-tool.ts
13010
+ //#region ../ai/src/supervisor/as-tool.ts
12992
13011
  /**
12993
13012
  * Wrap a `SupervisorContract` as a `ToolContract` so an outer agent
12994
13013
  * can invoke it from its tool-call loop. Mirrors
@@ -13056,7 +13075,7 @@ function coerceInput(value) {
13056
13075
  }
13057
13076
 
13058
13077
  //#endregion
13059
- //#region ../@warlock.js/ai/src/supervisor/emitter.ts
13078
+ //#region ../ai/src/supervisor/emitter.ts
13060
13079
  /**
13061
13080
  * Three-tier supervisor event emitter — factory (definition) → instance
13062
13081
  * → per-execution. Mirrors `WorkflowEmitter` structurally; the only
@@ -13101,7 +13120,7 @@ function invoke$1(handler, payload) {
13101
13120
  }
13102
13121
 
13103
13122
  //#endregion
13104
- //#region ../@warlock.js/ai/src/supervisor/entries.ts
13123
+ //#region ../ai/src/supervisor/entries.ts
13105
13124
  /**
13106
13125
  * Validate and normalize the `intents` map into resolved entries.
13107
13126
  * Runs at factory time — throws `SupervisorFailedError` on the first
@@ -13302,7 +13321,7 @@ function isWorkflowResult(raw) {
13302
13321
  }
13303
13322
 
13304
13323
  //#endregion
13305
- //#region ../@warlock.js/ai/src/supervisor/cancellation.ts
13324
+ //#region ../ai/src/supervisor/cancellation.ts
13306
13325
  /**
13307
13326
  * Build a `SupervisorCancelledError` from an `AbortSignal`. Extracts a
13308
13327
  * human-readable reason from `signal.reason` whether it was a string,
@@ -13319,7 +13338,7 @@ function createCancelledError(signal) {
13319
13338
  }
13320
13339
 
13321
13340
  //#endregion
13322
- //#region ../@warlock.js/ai/src/supervisor/router-prompt.ts
13341
+ //#region ../ai/src/supervisor/router-prompt.ts
13323
13342
  /**
13324
13343
  * Build the per-turn user message the supervisor feeds to the router
13325
13344
  * agent. Carries everything the LLM needs to make a routing decision:
@@ -13367,7 +13386,7 @@ function safeStringify$1(value) {
13367
13386
  }
13368
13387
 
13369
13388
  //#endregion
13370
- //#region ../@warlock.js/ai/src/supervisor/decide.ts
13389
+ //#region ../ai/src/supervisor/decide.ts
13371
13390
  /**
13372
13391
  * Unified dispatch decision entry — calls either the `route` callback
13373
13392
  * or the `router` agent based on the supervisor's configured mode and
@@ -13630,7 +13649,7 @@ function wrapRouteError(supervisorName, thrown) {
13630
13649
  }
13631
13650
 
13632
13651
  //#endregion
13633
- //#region ../@warlock.js/ai/src/supervisor/snapshot.ts
13652
+ //#region ../ai/src/supervisor/snapshot.ts
13634
13653
  /**
13635
13654
  * Resolve the effective {@link SnapshotStore}: the supervisor's own
13636
13655
  * `snapshotStore` field wins; absent that, fall back to the global
@@ -13692,7 +13711,7 @@ async function loadSnapshotForResume(params) {
13692
13711
  }
13693
13712
 
13694
13713
  //#endregion
13695
- //#region ../@warlock.js/ai/src/supervisor/execution.ts
13714
+ //#region ../ai/src/supervisor/execution.ts
13696
13715
  const DEFAULT_MAX_ITERATIONS = 10;
13697
13716
  const LOG_MODULE_BASE$1 = "ai.supervisor";
13698
13717
  /**
@@ -15593,7 +15612,7 @@ async function validateOutput(schema, value) {
15593
15612
  }
15594
15613
 
15595
15614
  //#endregion
15596
- //#region ../@warlock.js/ai/src/supervisor/signature.ts
15615
+ //#region ../ai/src/supervisor/signature.ts
15597
15616
  /**
15598
15617
  * Deterministic structural fingerprint of a supervisor definition.
15599
15618
  * Persisted on every snapshot so `resume()` can detect drift between
@@ -15680,7 +15699,7 @@ function hash$2(input) {
15680
15699
  }
15681
15700
 
15682
15701
  //#endregion
15683
- //#region ../@warlock.js/ai/src/supervisor/supervisor-stream.ts
15702
+ //#region ../ai/src/supervisor/supervisor-stream.ts
15684
15703
  /**
15685
15704
  * Factory mirroring `createAgentStream`. Returns a paired
15686
15705
  * `{ controller, stream }` — the `SupervisorExecution` pushes events
@@ -15767,7 +15786,7 @@ function createSupervisorStream() {
15767
15786
  }
15768
15787
 
15769
15788
  //#endregion
15770
- //#region ../@warlock.js/ai/src/supervisor/supervisor.ts
15789
+ //#region ../ai/src/supervisor/supervisor.ts
15771
15790
  /**
15772
15791
  * `ai.supervisor(config)` — construct a `SupervisorContract`. Validates
15773
15792
  * the config at author time (throws `SupervisorFailedError` on bad
@@ -15898,7 +15917,7 @@ function generateRunId$2() {
15898
15917
  }
15899
15918
 
15900
15919
  //#endregion
15901
- //#region ../@warlock.js/ai/src/orchestrator/dispatch.ts
15920
+ //#region ../ai/src/orchestrator/dispatch.ts
15902
15921
  /**
15903
15922
  * Derive the deterministic supervisor `runId` for an `iterate: true`
15904
15923
  * turn (orchestrator.md §5 Phase 5 / §10.2 / §18.7):
@@ -16065,7 +16084,7 @@ function deriveFinalState(result, seedState) {
16065
16084
  }
16066
16085
 
16067
16086
  //#endregion
16068
- //#region ../@warlock.js/ai/src/orchestrator/load.ts
16087
+ //#region ../ai/src/orchestrator/load.ts
16069
16088
  /**
16070
16089
  * Deep-clone a JSON-serializable value so a rehydrated checkpoint's
16071
16090
  * `state` can be mutated by the turn without aliasing the stored row
@@ -16112,7 +16131,7 @@ async function loadSession(ctx, sessionId) {
16112
16131
  }
16113
16132
 
16114
16133
  //#endregion
16115
- //#region ../@warlock.js/ai/src/orchestrator/resume.ts
16134
+ //#region ../ai/src/orchestrator/resume.ts
16116
16135
  /**
16117
16136
  * §9 resume protocol. Detects and drains an interrupted `iterate: true`
16118
16137
  * turn:
@@ -16180,7 +16199,7 @@ async function resolveResume(ctx, sessionId, options, hooks) {
16180
16199
  }
16181
16200
 
16182
16201
  //#endregion
16183
- //#region ../@warlock.js/ai/src/orchestrator/window.ts
16202
+ //#region ../ai/src/orchestrator/window.ts
16184
16203
  /**
16185
16204
  * Framework-default history windows (orchestrator.md §4 Phase 4 — "5
16186
16205
  * for the router, 15 for intents"). Applied when neither a per-entity
@@ -16234,7 +16253,7 @@ function windowHistory(ctx, sessionId, history) {
16234
16253
  }
16235
16254
 
16236
16255
  //#endregion
16237
- //#region ../@warlock.js/ai/src/orchestrator/execution.ts
16256
+ //#region ../ai/src/orchestrator/execution.ts
16238
16257
  /** Empty rolled-up usage for turns that never dispatched (drift/seed). */
16239
16258
  const ZERO_USAGE = {
16240
16259
  input: 0,
@@ -16625,7 +16644,7 @@ async function streamTurn(ctx, input, options) {
16625
16644
  }
16626
16645
 
16627
16646
  //#endregion
16628
- //#region ../@warlock.js/ai/src/orchestrator/orchestrator-stream.ts
16647
+ //#region ../ai/src/orchestrator/orchestrator-stream.ts
16629
16648
  /**
16630
16649
  * Factory mirroring `createSupervisorStream`. Returns a paired
16631
16650
  * `{ controller, stream }` — the turn pushes events into the controller
@@ -16721,7 +16740,7 @@ function createOrchestratorStream() {
16721
16740
  }
16722
16741
 
16723
16742
  //#endregion
16724
- //#region ../@warlock.js/ai/src/orchestrator/session-lock.ts
16743
+ //#region ../ai/src/orchestrator/session-lock.ts
16725
16744
  /**
16726
16745
  * Reason an aborted lock-wait rejects with — the signal's `reason` when
16727
16746
  * one was supplied to `controller.abort(reason)`, else a generic error.
@@ -16802,7 +16821,7 @@ function noopSessionLock() {
16802
16821
  }
16803
16822
 
16804
16823
  //#endregion
16805
- //#region ../@warlock.js/ai/src/orchestrator/signature.ts
16824
+ //#region ../ai/src/orchestrator/signature.ts
16806
16825
  /**
16807
16826
  * Deterministic structural fingerprint of an orchestrator definition
16808
16827
  * (orchestrator.md §10.1). Persisted on every checkpoint so Phase 2 can
@@ -16920,7 +16939,7 @@ function hash$1(input) {
16920
16939
  }
16921
16940
 
16922
16941
  //#endregion
16923
- //#region ../@warlock.js/ai/src/orchestrator/orchestrator.ts
16942
+ //#region ../ai/src/orchestrator/orchestrator.ts
16924
16943
  /**
16925
16944
  * `ai.orchestrator(config)` — construct an {@link OrchestratorContract}:
16926
16945
  * a session-state manager wrapped around a supervisor (orchestrator.md
@@ -17111,7 +17130,7 @@ function warnOnUnlockedDurableStore(config) {
17111
17130
  }
17112
17131
 
17113
17132
  //#endregion
17114
- //#region ../@warlock.js/ai/src/planner/plan-prompt.ts
17133
+ //#region ../ai/src/planner/plan-prompt.ts
17115
17134
  /**
17116
17135
  * Assemble the plan-generation system prompt: optional caller framing on
17117
17136
  * top, then the mechanical block listing every capability + its
@@ -17140,7 +17159,7 @@ function resolvePrefix$1(prompt) {
17140
17159
  }
17141
17160
 
17142
17161
  //#endregion
17143
- //#region ../@warlock.js/ai/src/planner/dag-scheduler.ts
17162
+ //#region ../ai/src/planner/dag-scheduler.ts
17144
17163
  /**
17145
17164
  * Build the execution DAG from a plan's steps.
17146
17165
  *
@@ -17233,7 +17252,7 @@ function assertAcyclic(nodes, byId, plannerName) {
17233
17252
  }
17234
17253
 
17235
17254
  //#endregion
17236
- //#region ../@warlock.js/ai/src/planner/plan-schema.ts
17255
+ //#region ../ai/src/planner/plan-schema.ts
17237
17256
  /**
17238
17257
  * Build the Standard Schema the planning agent emits — an ordered
17239
17258
  * `{ steps: [...], summary? }` plan whose every step references one of
@@ -17351,7 +17370,7 @@ function normalizeStep(raw) {
17351
17370
  }
17352
17371
 
17353
17372
  //#endregion
17354
- //#region ../@warlock.js/ai/src/planner/snapshot.ts
17373
+ //#region ../ai/src/planner/snapshot.ts
17355
17374
  /**
17356
17375
  * Resolve the effective {@link SnapshotStore}: the planner's own
17357
17376
  * `durable.store` wins; absent that, fall back to the global default set
@@ -17439,7 +17458,7 @@ async function loadPlannerSnapshotForResume(params) {
17439
17458
  }
17440
17459
 
17441
17460
  //#endregion
17442
- //#region ../@warlock.js/ai/src/planner/planner-run.ts
17461
+ //#region ../ai/src/planner/planner-run.ts
17443
17462
  /**
17444
17463
  * Per-call orchestration state for one `planner.execute()` invocation.
17445
17464
  *
@@ -18191,7 +18210,7 @@ var PlannerRun = class {
18191
18210
  };
18192
18211
 
18193
18212
  //#endregion
18194
- //#region ../@warlock.js/ai/src/planner/signature.ts
18213
+ //#region ../ai/src/planner/signature.ts
18195
18214
  /**
18196
18215
  * Delimiter between capability names in a planner signature. A NUL
18197
18216
  * control character can never appear in a real capability name, so it
@@ -18216,7 +18235,7 @@ function computeSignature(name, capabilities) {
18216
18235
  }
18217
18236
 
18218
18237
  //#endregion
18219
- //#region ../@warlock.js/ai/src/planner/planner.ts
18238
+ //#region ../ai/src/planner/planner.ts
18220
18239
  const LOG_MODULE = "ai.planner";
18221
18240
  /**
18222
18241
  * `ai.planner(config)` — construct a {@link PlannerContract}.
@@ -18349,7 +18368,7 @@ function validateConfig(config) {
18349
18368
  }
18350
18369
 
18351
18370
  //#endregion
18352
- //#region ../@warlock.js/ai/src/system-prompt/render-placeholders.ts
18371
+ //#region ../ai/src/system-prompt/render-placeholders.ts
18353
18372
  const PLACEHOLDER_PATTERN$3 = /\{\{\s*([^{}]+?)\s*\}\}/g;
18354
18373
  /**
18355
18374
  * Render a template string against a placeholders map, supporting dot-path
@@ -18405,7 +18424,7 @@ function lookupPath(source, path) {
18405
18424
  }
18406
18425
 
18407
18426
  //#endregion
18408
- //#region ../@warlock.js/ai/src/system-prompt/instruction.ts
18427
+ //#region ../ai/src/system-prompt/instruction.ts
18409
18428
  /**
18410
18429
  * Concrete `InstructionContract` — a reusable directive block.
18411
18430
  *
@@ -18458,7 +18477,7 @@ function instruction(text) {
18458
18477
  }
18459
18478
 
18460
18479
  //#endregion
18461
- //#region ../@warlock.js/ai/src/system-prompt/persona.ts
18480
+ //#region ../ai/src/system-prompt/persona.ts
18462
18481
  /**
18463
18482
  * Concrete `PersonaContract` — a reusable "who the agent is" block.
18464
18483
  *
@@ -18511,7 +18530,7 @@ function persona(text) {
18511
18530
  }
18512
18531
 
18513
18532
  //#endregion
18514
- //#region ../@warlock.js/ai/src/system-prompt/refined-system-prompt.ts
18533
+ //#region ../ai/src/system-prompt/refined-system-prompt.ts
18515
18534
  /**
18516
18535
  * Version of the built-in refinement recipe. Folded into the store key so a
18517
18536
  * recipe upgrade re-compiles every pinned prompt instead of serving text
@@ -18965,7 +18984,7 @@ var RefinedSystemPrompt = class RefinedSystemPrompt {
18965
18984
  };
18966
18985
 
18967
18986
  //#endregion
18968
- //#region ../@warlock.js/ai/src/system-prompt/system-prompt.ts
18987
+ //#region ../ai/src/system-prompt/system-prompt.ts
18969
18988
  /**
18970
18989
  * Monotonic source of the internal, non-registry display id every
18971
18990
  * `SystemPrompt` carries. Anonymous (unnamed) prompts have nothing else to
@@ -19241,7 +19260,7 @@ function systemPromptFactory(input, meta) {
19241
19260
  const systemPrompt = Object.assign(systemPromptFactory, { fromFile: SystemPrompt.fromFile });
19242
19261
 
19243
19262
  //#endregion
19244
- //#region ../@warlock.js/ai/src/prompt/prompt-validate.ts
19263
+ //#region ../ai/src/prompt/prompt-validate.ts
19245
19264
  /**
19246
19265
  * Placeholder matcher — kept in lock-step with the matcher
19247
19266
  * `renderPlaceholders` uses (`src/system-prompt/render-placeholders.ts`) so the
@@ -19407,7 +19426,7 @@ function buildValidationReport(staticNotes, judgeResult) {
19407
19426
  }
19408
19427
 
19409
19428
  //#endregion
19410
- //#region ../@warlock.js/ai/src/prompts/prompts-validate.ts
19429
+ //#region ../ai/src/prompts/prompts-validate.ts
19411
19430
  /**
19412
19431
  * Placeholder matcher — kept in lock-step with the matcher
19413
19432
  * `renderPlaceholders` (`src/system-prompt/render-placeholders.ts`) and the
@@ -19628,7 +19647,7 @@ function describeContractTarget(contract) {
19628
19647
  }
19629
19648
 
19630
19649
  //#endregion
19631
- //#region ../@warlock.js/ai/src/prompts/prompts-manager.ts
19650
+ //#region ../ai/src/prompts/prompts-manager.ts
19632
19651
  /**
19633
19652
  * Build the `name@version` registry key. Centralized so the duplicate check,
19634
19653
  * `get`, and `composedFrom` provenance all agree on one label shape.
@@ -20029,7 +20048,7 @@ function defaultPromptsManager() {
20029
20048
  }
20030
20049
 
20031
20050
  //#endregion
20032
- //#region ../@warlock.js/ai/src/rag/chunk/fixed.ts
20051
+ //#region ../ai/src/rag/chunk/fixed.ts
20033
20052
  /**
20034
20053
  * Fixed-window character splitter.
20035
20054
  *
@@ -20059,7 +20078,7 @@ function fixedChunk(text, size, overlap) {
20059
20078
  }
20060
20079
 
20061
20080
  //#endregion
20062
- //#region ../@warlock.js/ai/src/rag/chunk/recursive.ts
20081
+ //#region ../ai/src/rag/chunk/recursive.ts
20063
20082
  /** Default separators for the recursive splitter, tried largest-unit first. */
20064
20083
  const DEFAULT_SEPARATORS = [
20065
20084
  "\n\n",
@@ -20189,7 +20208,7 @@ function packPieces(text, pieces, size, overlap) {
20189
20208
  }
20190
20209
 
20191
20210
  //#endregion
20192
- //#region ../@warlock.js/ai/src/rag/chunk/markdown.ts
20211
+ //#region ../ai/src/rag/chunk/markdown.ts
20193
20212
  /** Matches an ATX Markdown heading line (`#` … `######`) at line start. */
20194
20213
  const HEADING_LINE = /^#{1,6}[ \t].*$/gm;
20195
20214
  /**
@@ -20260,7 +20279,7 @@ function splitSections(text) {
20260
20279
  }
20261
20280
 
20262
20281
  //#endregion
20263
- //#region ../@warlock.js/ai/src/rag/chunk/sentence.ts
20282
+ //#region ../ai/src/rag/chunk/sentence.ts
20264
20283
  /** Matches a sentence terminator (`.`, `!`, `?`) followed by whitespace. */
20265
20284
  const SENTENCE_BOUNDARY = /([.!?])\s+/g;
20266
20285
  /**
@@ -20331,7 +20350,7 @@ function splitSentences(text) {
20331
20350
  }
20332
20351
 
20333
20352
  //#endregion
20334
- //#region ../@warlock.js/ai/src/rag/chunk/chunk.ts
20353
+ //#region ../ai/src/rag/chunk/chunk.ts
20335
20354
  /** Default target chunk size in characters. */
20336
20355
  const DEFAULT_CHUNK_SIZE = 1e3;
20337
20356
  /** Default character overlap carried between adjacent chunks. */
@@ -20368,7 +20387,7 @@ function chunk(text, options = {}) {
20368
20387
  }
20369
20388
 
20370
20389
  //#endregion
20371
- //#region ../@warlock.js/ai/src/rag/as-tool.ts
20390
+ //#region ../ai/src/rag/as-tool.ts
20372
20391
  /**
20373
20392
  * A minimal, schema-library-agnostic Standard Schema for `{ query: string }`.
20374
20393
  *
@@ -20412,7 +20431,7 @@ function ragAsTool(name, retrieveFn, options = {}) {
20412
20431
  }
20413
20432
 
20414
20433
  //#endregion
20415
- //#region ../@warlock.js/ai/src/rag/retrieve.ts
20434
+ //#region ../ai/src/rag/retrieve.ts
20416
20435
  /** Default number of chunks returned after reranking. */
20417
20436
  const DEFAULT_TOP_K = 5;
20418
20437
  /** Default cosine floor applied at the vector-store stage. */
@@ -20478,7 +20497,7 @@ async function applyReranker(query, candidates, reranker) {
20478
20497
  }
20479
20498
 
20480
20499
  //#endregion
20481
- //#region ../@warlock.js/ai/src/rag/store/cache-vector-store.ts
20500
+ //#region ../ai/src/rag/store/cache-vector-store.ts
20482
20501
  /**
20483
20502
  * Adapt any `@warlock.js/cache` `CacheDriver` to the {@link VectorStore}
20484
20503
  * narrowing the RAG pipeline depends on. The cache driver IS the vector
@@ -20524,7 +20543,7 @@ function cacheVectorStore(driver) {
20524
20543
  }
20525
20544
 
20526
20545
  //#endregion
20527
- //#region ../@warlock.js/ai/src/rag/rag.ts
20546
+ //#region ../ai/src/rag/rag.ts
20528
20547
  const DEFAULT_NAME = "rag";
20529
20548
  const DEFAULT_NAMESPACE_PREFIX = "ai.rag";
20530
20549
  /**
@@ -20642,7 +20661,7 @@ function keyFor(namespace, sourceId, chunkIndex) {
20642
20661
  }
20643
20662
 
20644
20663
  //#endregion
20645
- //#region ../@warlock.js/ai/src/rag/store/pg-vector-store.ts
20664
+ //#region ../ai/src/rag/store/pg-vector-store.ts
20646
20665
  /**
20647
20666
  * Default backing table — provisions the store with no extra config when
20648
20667
  * the dev runs {@link VectorStore.schema | ensureSchema} through their
@@ -20968,7 +20987,7 @@ function pgVectorStore(options) {
20968
20987
  }
20969
20988
 
20970
20989
  //#endregion
20971
- //#region ../@warlock.js/ai/src/rag/loaders/load-text.ts
20990
+ //#region ../ai/src/rag/loaders/load-text.ts
20972
20991
  /** Default `id` when the caller supplies neither `id` nor an item id. */
20973
20992
  const DEFAULT_ID$2 = "document";
20974
20993
  /**
@@ -21026,7 +21045,7 @@ function loadText(input, options = {}) {
21026
21045
  }
21027
21046
 
21028
21047
  //#endregion
21029
- //#region ../@warlock.js/ai/src/rag/loaders/load-html.ts
21048
+ //#region ../ai/src/rag/loaders/load-html.ts
21030
21049
  /** Default `id` when the caller supplies none. */
21031
21050
  const DEFAULT_ID$1 = "document";
21032
21051
  /**
@@ -21162,7 +21181,7 @@ function loadHtml(html, options = {}) {
21162
21181
  }
21163
21182
 
21164
21183
  //#endregion
21165
- //#region ../@warlock.js/ai/src/rag/loaders/load-web.ts
21184
+ //#region ../ai/src/rag/loaders/load-web.ts
21166
21185
  /** Browser-ish UA so servers that gate on it still return prose. */
21167
21186
  const DEFAULT_USER_AGENT = "warlock-ai-rag-loader/1.0 (+https://github.com/warlock-js)";
21168
21187
  /**
@@ -21244,7 +21263,7 @@ async function loadWeb(url, options = {}) {
21244
21263
  }
21245
21264
 
21246
21265
  //#endregion
21247
- //#region ../@warlock.js/ai/src/rag/loaders/errors.ts
21266
+ //#region ../ai/src/rag/loaders/errors.ts
21248
21267
  /**
21249
21268
  * Loader error surface. The only loader-specific failure is a missing
21250
21269
  * OPTIONAL peer (`pdf-parse`), which — like the moderation detector's
@@ -21267,7 +21286,7 @@ Install it with:
21267
21286
  `.trim();
21268
21287
 
21269
21288
  //#endregion
21270
- //#region ../@warlock.js/ai/src/rag/loaders/load-pdf.ts
21289
+ //#region ../ai/src/rag/loaders/load-pdf.ts
21271
21290
  /** Default `id` when the caller supplies none. */
21272
21291
  const DEFAULT_ID = "document";
21273
21292
  let pdfParse;
@@ -21413,7 +21432,7 @@ async function renderPage(page) {
21413
21432
  }
21414
21433
 
21415
21434
  //#endregion
21416
- //#region ../@warlock.js/ai/src/rag/rerank/keyword-reranker.ts
21435
+ //#region ../ai/src/rag/rerank/keyword-reranker.ts
21417
21436
  /** Splits text into lowercase alphanumeric terms. */
21418
21437
  function tokenize$1(text) {
21419
21438
  return text.toLowerCase().split(/[^a-z0-9]+/).filter((term) => term.length > 0);
@@ -21469,7 +21488,7 @@ function keywordReranker(options = {}) {
21469
21488
  }
21470
21489
 
21471
21490
  //#endregion
21472
- //#region ../@warlock.js/ai/src/rag/rerank/llm-reranker.ts
21491
+ //#region ../ai/src/rag/rerank/llm-reranker.ts
21473
21492
  /**
21474
21493
  * Build the scoring prompt — the model rates each candidate's relevance to
21475
21494
  * the query on a `0..1` scale and replies with one `index: score` line per
@@ -21552,7 +21571,7 @@ function llmReranker(options) {
21552
21571
  }
21553
21572
 
21554
21573
  //#endregion
21555
- //#region ../@warlock.js/ai/src/rag/hybrid/rrf.ts
21574
+ //#region ../ai/src/rag/hybrid/rrf.ts
21556
21575
  /**
21557
21576
  * Reciprocal Rank Fusion (A4) — combine several independently-ranked
21558
21577
  * lists of ids into one consensus ranking. Each list contributes
@@ -21580,7 +21599,7 @@ function reciprocalRankFusion(rankedLists, k = 60) {
21580
21599
  }
21581
21600
 
21582
21601
  //#endregion
21583
- //#region ../@warlock.js/ai/src/rag/hybrid/bm25.ts
21602
+ //#region ../ai/src/rag/hybrid/bm25.ts
21584
21603
  const BM25_K1 = 1.5;
21585
21604
  const BM25_B = .75;
21586
21605
  /** Lowercase + split on non-word characters; drop empties. */
@@ -21629,7 +21648,7 @@ function bm25Rank(query, docs) {
21629
21648
  }
21630
21649
 
21631
21650
  //#endregion
21632
- //#region ../@warlock.js/ai/src/rag/hybrid/hybrid-rank.ts
21651
+ //#region ../ai/src/rag/hybrid/hybrid-rank.ts
21633
21652
  /**
21634
21653
  * Hybrid rank (A4) — fuse a dense (vector) ranking with a BM25 lexical
21635
21654
  * ranking over the same candidate set via Reciprocal Rank Fusion. Dense
@@ -21653,7 +21672,7 @@ function hybridRank(params) {
21653
21672
  }
21654
21673
 
21655
21674
  //#endregion
21656
- //#region ../@warlock.js/ai/src/rag/transforms/multi-query.ts
21675
+ //#region ../ai/src/rag/transforms/multi-query.ts
21657
21676
  /**
21658
21677
  * Multi-query expansion (A4) — ask a model for several alternative
21659
21678
  * phrasings of `query`, so retrieval covers vocabulary the original
@@ -21692,7 +21711,7 @@ async function multiQuery(model, query, options = {}) {
21692
21711
  }
21693
21712
 
21694
21713
  //#endregion
21695
- //#region ../@warlock.js/ai/src/prompt/errors.ts
21714
+ //#region ../ai/src/prompt/errors.ts
21696
21715
  /**
21697
21716
  * A prompt name was looked up in the registry but is not registered.
21698
21717
  *
@@ -21761,7 +21780,7 @@ var PromptValidationError = class extends AIError {
21761
21780
  };
21762
21781
 
21763
21782
  //#endregion
21764
- //#region ../@warlock.js/ai/src/prompt/prompt-langfuse-sync.ts
21783
+ //#region ../ai/src/prompt/prompt-langfuse-sync.ts
21765
21784
  let LangfuseSdk;
21766
21785
  let isModuleExists = null;
21767
21786
  let loadingPromise;
@@ -21863,7 +21882,7 @@ async function syncLangfusePrompts(options, names, localEntries, upsert) {
21863
21882
  }
21864
21883
 
21865
21884
  //#endregion
21866
- //#region ../@warlock.js/ai/src/prompt/prompt.ts
21885
+ //#region ../ai/src/prompt/prompt.ts
21867
21886
  /**
21868
21887
  * Build the one-shot judge agent the `validate()` LLM-as-judge pass runs.
21869
21888
  * Name-bearing (the eval `judge` scorer requires a usable agent) and seeded
@@ -22070,7 +22089,7 @@ function promptFactory(first, versionOrTag) {
22070
22089
  const prompt = promptFactory;
22071
22090
 
22072
22091
  //#endregion
22073
- //#region ../@warlock.js/ai/src/security/redact.ts
22092
+ //#region ../ai/src/security/redact.ts
22074
22093
  /**
22075
22094
  * Default set of sensitive key fragments (matched case-insensitively as
22076
22095
  * substrings of an object key). Covers the secrets that leak through
@@ -22196,7 +22215,7 @@ function redactError(error, options = {}) {
22196
22215
  }
22197
22216
 
22198
22217
  //#endregion
22199
- //#region ../@warlock.js/ai/src/vcr/cassette-io.ts
22218
+ //#region ../ai/src/vcr/cassette-io.ts
22200
22219
  let fsModule;
22201
22220
  /**
22202
22221
  * Resolve `node:fs/promises` once and memoize it.
@@ -22251,7 +22270,7 @@ async function saveCassette(path, cassette) {
22251
22270
  }
22252
22271
 
22253
22272
  //#endregion
22254
- //#region ../@warlock.js/ai/src/vcr/errors.ts
22273
+ //#region ../ai/src/vcr/errors.ts
22255
22274
  /**
22256
22275
  * Thrown when a `vcr(model, { mode: "replay" })` call finds no cassette
22257
22276
  * entry matching the request hash.
@@ -22284,7 +22303,7 @@ var VcrCassetteMissError = class extends AIError {
22284
22303
  };
22285
22304
 
22286
22305
  //#endregion
22287
- //#region ../@warlock.js/ai/src/vcr/hash-request.ts
22306
+ //#region ../ai/src/vcr/hash-request.ts
22288
22307
  /**
22289
22308
  * Default `ModelCallOptions` fields folded into the request hash. These are
22290
22309
  * the inputs that materially change the model's output; everything else
@@ -22400,7 +22419,7 @@ function hashRequest(messages, options, hashOptions = DEFAULT_HASH_OPTIONS) {
22400
22419
  }
22401
22420
 
22402
22421
  //#endregion
22403
- //#region ../@warlock.js/ai/src/vcr/vcr.ts
22422
+ //#region ../ai/src/vcr/vcr.ts
22404
22423
  /**
22405
22424
  * Internal decorator that wraps an inner `ModelContract`, intercepting only
22406
22425
  * `complete()`/`stream()` and delegating every identity getter to the inner
@@ -22641,7 +22660,7 @@ function vcr(model, options) {
22641
22660
  }
22642
22661
 
22643
22662
  //#endregion
22644
- //#region ../@warlock.js/ai/src/snapshot/memory.ts
22663
+ //#region ../ai/src/snapshot/memory.ts
22645
22664
  /**
22646
22665
  * In-memory {@link SnapshotStore} — supervisor run snapshots held in a
22647
22666
  * process-local `Map`, keyed by `runId`, never persisted to disk.
@@ -22720,7 +22739,7 @@ function memory$3() {
22720
22739
  }
22721
22740
 
22722
22741
  //#endregion
22723
- //#region ../@warlock.js/ai/src/snapshot/pg.ts
22742
+ //#region ../ai/src/snapshot/pg.ts
22724
22743
  /**
22725
22744
  * Default backing table for the pg snapshot store. Matches the name used
22726
22745
  * in the orchestrator.md §8 reference wiring
@@ -22864,7 +22883,7 @@ function pg$2(options) {
22864
22883
  }
22865
22884
 
22866
22885
  //#endregion
22867
- //#region ../@warlock.js/ai/src/snapshot/redis.ts
22886
+ //#region ../ai/src/snapshot/redis.ts
22868
22887
  /**
22869
22888
  * Default key prefix the redis store prepends to each `runId`. Namespaces
22870
22889
  * the snapshot keys so they coexist with other data in the same Redis
@@ -22963,7 +22982,7 @@ function redis$2(options) {
22963
22982
  }
22964
22983
 
22965
22984
  //#endregion
22966
- //#region ../@warlock.js/ai/src/supervisor/fan-out.ts
22985
+ //#region ../ai/src/supervisor/fan-out.ts
22967
22986
  /**
22968
22987
  * Spread one agent/workflow into `n` distinctly-keyed intent entries
22969
22988
  * for voting / self-consistency under a supervisor.
@@ -23026,7 +23045,7 @@ function readDescription(unit) {
23026
23045
  }
23027
23046
 
23028
23047
  //#endregion
23029
- //#region ../@warlock.js/ai/src/supervisor/router-factory.ts
23048
+ //#region ../ai/src/supervisor/router-factory.ts
23030
23049
  /**
23031
23050
  * Build a routing agent for `ai.supervisor({ router })` without
23032
23051
  * hand-writing the output schema or the "pick one of these intents"
@@ -23162,7 +23181,7 @@ function routerOutputSchema(intentNames) {
23162
23181
  }
23163
23182
 
23164
23183
  //#endregion
23165
- //#region ../@warlock.js/ai/src/team/gates.ts
23184
+ //#region ../ai/src/team/gates.ts
23166
23185
  /**
23167
23186
  * Build the `"quality"` gate — a review-then-fix `evaluate` callback.
23168
23187
  *
@@ -23208,7 +23227,7 @@ function buildVerifyGate(gateKey = "passed", fixerRole = "fixer") {
23208
23227
  }
23209
23228
 
23210
23229
  //#endregion
23211
- //#region ../@warlock.js/ai/src/team/team.ts
23230
+ //#region ../ai/src/team/team.ts
23212
23231
  /**
23213
23232
  * `ai.team(config)` — thin, transparent sugar over `ai.supervisor`.
23214
23233
  *
@@ -23295,7 +23314,7 @@ function isRouteManager(manager) {
23295
23314
  }
23296
23315
 
23297
23316
  //#endregion
23298
- //#region ../@warlock.js/ai/src/workflow/step.ts
23317
+ //#region ../ai/src/workflow/step.ts
23299
23318
  /**
23300
23319
  * `ai.step(def)` — pass-through factory used for authoring. Returns
23301
23320
  * the definition object verbatim so the workflow engine can read it
@@ -23327,7 +23346,7 @@ function validate$1(def) {
23327
23346
  }
23328
23347
 
23329
23348
  //#endregion
23330
- //#region ../@warlock.js/ai/src/workflow/as-tool.ts
23349
+ //#region ../ai/src/workflow/as-tool.ts
23331
23350
  /**
23332
23351
  * Wrap a `WorkflowInstance` as a `ToolContract` so an agent can invoke
23333
23352
  * it inside its tool-call loop. Closes the agent-calls-workflow
@@ -23370,7 +23389,7 @@ function asTool$2(workflowInstance, options) {
23370
23389
  }
23371
23390
 
23372
23391
  //#endregion
23373
- //#region ../@warlock.js/ai/src/workflow/emitter.ts
23392
+ //#region ../ai/src/workflow/emitter.ts
23374
23393
  /**
23375
23394
  * Three-tier workflow event emitter — factory (definition) → instance →
23376
23395
  * per-execution. All matching handlers fire, in layer order. Handler
@@ -23408,7 +23427,7 @@ function invoke(handler, payload) {
23408
23427
  }
23409
23428
 
23410
23429
  //#endregion
23411
- //#region ../@warlock.js/ai/src/workflow/router.ts
23430
+ //#region ../ai/src/workflow/router.ts
23412
23431
  /**
23413
23432
  * Resolve the next step to run after `step` completes. Tries
23414
23433
  * step-level `nextStep` first, then workflow-level, then falls
@@ -23459,7 +23478,7 @@ function nextDeclaredStep(definition, currentName) {
23459
23478
  }
23460
23479
 
23461
23480
  //#endregion
23462
- //#region ../@warlock.js/ai/src/workflow/run-scoped-emitter.ts
23481
+ //#region ../ai/src/workflow/run-scoped-emitter.ts
23463
23482
  /**
23464
23483
  * Bind a factory-scoped `WorkflowEmitter` to one run's identity.
23465
23484
  *
@@ -23489,7 +23508,7 @@ function runScopedEmitter(emitter, identity) {
23489
23508
  }
23490
23509
 
23491
23510
  //#endregion
23492
- //#region ../@warlock.js/ai/src/workflow/snapshot.ts
23511
+ //#region ../ai/src/workflow/snapshot.ts
23493
23512
  /**
23494
23513
  * Resolve the effective {@link SnapshotStore}: the workflow's own
23495
23514
  * `snapshotStore` field wins; absent that, fall back to the global
@@ -23559,7 +23578,7 @@ async function loadSnapshotForResume$1(params) {
23559
23578
  }
23560
23579
 
23561
23580
  //#endregion
23562
- //#region ../@warlock.js/ai/src/workflow/engine.ts
23581
+ //#region ../ai/src/workflow/engine.ts
23563
23582
  const DEFAULT_MAX_STEPS = 100;
23564
23583
  const DEFAULT_LOOP_WARN = 5;
23565
23584
  const LOG_MODULE_BASE = "ai.workflow";
@@ -23646,7 +23665,9 @@ async function runWorkflow(params) {
23646
23665
  signal,
23647
23666
  buildContext,
23648
23667
  usage,
23649
- workflowDefaultRetry: definition.defaultRetry
23668
+ workflowDefaultRetry: definition.defaultRetry,
23669
+ runId,
23670
+ sessionId: params.sessionId
23650
23671
  });
23651
23672
  Object.assign(state, snapshot.state);
23652
23673
  steps[step.name] = finalizeSnapshot(snapshot);
@@ -23792,6 +23813,7 @@ async function runWorkflow(params) {
23792
23813
  for (const stepName in steps) {
23793
23814
  const snap = steps[stepName];
23794
23815
  if (snap.agentReport) children.push(snap.agentReport);
23816
+ if (snap.children) children.push(...snap.children);
23795
23817
  }
23796
23818
  const report = {
23797
23819
  runId,
@@ -23903,7 +23925,7 @@ async function validateWorkflowOutput(schema, value) {
23903
23925
  }
23904
23926
 
23905
23927
  //#endregion
23906
- //#region ../@warlock.js/ai/src/workflow/signature.ts
23928
+ //#region ../ai/src/workflow/signature.ts
23907
23929
  function stepFingerprint(step) {
23908
23930
  const tag = step.parallel ? "parallel" : step.agent ? "agent" : step.run ? "run" : "empty";
23909
23931
  const agentName = step.agent?.name;
@@ -23935,7 +23957,7 @@ function computeSignature$1(definition) {
23935
23957
  }
23936
23958
 
23937
23959
  //#endregion
23938
- //#region ../@warlock.js/ai/src/workflow/workflow.ts
23960
+ //#region ../ai/src/workflow/workflow.ts
23939
23961
  /**
23940
23962
  * `ai.workflow(def)` — construct a `WorkflowInstance`. Validates the
23941
23963
  * definition, computes a stable structural signature, and wires up the
@@ -24046,7 +24068,7 @@ function generateRunId$1() {
24046
24068
  }
24047
24069
 
24048
24070
  //#endregion
24049
- //#region ../@warlock.js/ai/src/ai.ts
24071
+ //#region ../ai/src/ai.ts
24050
24072
  /**
24051
24073
  * Top-level `ai` namespace — holds built-in factories and user-registered SDK adapters.
24052
24074
  *
@@ -24162,7 +24184,7 @@ const ai = {
24162
24184
  };
24163
24185
 
24164
24186
  //#endregion
24165
- //#region ../@warlock.js/ai/src/testing/register-lazy.ts
24187
+ //#region ../ai/src/testing/register-lazy.ts
24166
24188
  /**
24167
24189
  * Register the `@warlock.js/ai` custom Vitest matchers
24168
24190
  * (`toRouteTo` / `toConverge` / `toPassStep` / `toOutputShape`) on the
@@ -24179,7 +24201,7 @@ const ai = {
24179
24201
  * expect(await supervisor.execute(input)).toRouteTo("critic");
24180
24202
  */
24181
24203
  async function registerAiMatchers() {
24182
- const { registerAiMatchers: register } = await Promise.resolve().then(() => require("./matchers-BBh3gyB-.cjs"));
24204
+ const { registerAiMatchers: register } = await Promise.resolve().then(() => require("./matchers-DnV47KR_.cjs"));
24183
24205
  register();
24184
24206
  }
24185
24207