@explyt/ai-agent 0.1.0-rc.1

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 (3633) hide show
  1. package/LICENSE +19 -0
  2. package/README.md +24 -0
  3. package/THIRD-PARTY-NOTICES.md +321 -0
  4. package/dist/acp/index.js +62 -0
  5. package/dist/cli/engine.js +377 -0
  6. package/dist/cli/index.js +315 -0
  7. package/dist/extensions/hello.js +1 -0
  8. package/dist/extensions/policy.js +1 -0
  9. package/dist/extensions/tool-gradle.js +1 -0
  10. package/dist/extensions/usage.js +1 -0
  11. package/node_modules/@modelcontextprotocol/client/LICENSE +216 -0
  12. package/node_modules/@modelcontextprotocol/client/README.md +26 -0
  13. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-1b6pVpkg.cjs +7531 -0
  14. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-1b6pVpkg.cjs.map +1 -0
  15. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-97rDpkRx.mjs +7514 -0
  16. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-97rDpkRx.mjs.map +1 -0
  17. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-FOQRM7up.d.cts +1071 -0
  18. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-FOQRM7up.d.cts.map +1 -0
  19. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-INpkxUi1.d.mts +1071 -0
  20. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-INpkxUi1.d.mts.map +1 -0
  21. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-B3ZJEoRM.d.mts +74 -0
  22. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-B3ZJEoRM.d.mts.map +1 -0
  23. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-B3dvjU3F.cjs +986 -0
  24. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-B3dvjU3F.cjs.map +1 -0
  25. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-BylNJ1R5.mjs +981 -0
  26. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-BylNJ1R5.mjs.map +1 -0
  27. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-doTkZbTr.d.cts +74 -0
  28. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-doTkZbTr.d.cts.map +1 -0
  29. package/node_modules/@modelcontextprotocol/client/dist/chunk-Bnu9O96Y.cjs +60 -0
  30. package/node_modules/@modelcontextprotocol/client/dist/chunk-Br0eD_fh.mjs +42 -0
  31. package/node_modules/@modelcontextprotocol/client/dist/dialects-BGO_ZrYF.cjs +46 -0
  32. package/node_modules/@modelcontextprotocol/client/dist/dialects-BGO_ZrYF.cjs.map +1 -0
  33. package/node_modules/@modelcontextprotocol/client/dist/dialects-BOhdv1Fc.mjs +34 -0
  34. package/node_modules/@modelcontextprotocol/client/dist/dialects-BOhdv1Fc.mjs.map +1 -0
  35. package/node_modules/@modelcontextprotocol/client/dist/index-CHhhk6PQ.d.cts +2526 -0
  36. package/node_modules/@modelcontextprotocol/client/dist/index-CHhhk6PQ.d.cts.map +1 -0
  37. package/node_modules/@modelcontextprotocol/client/dist/index-D4xIIEF6.d.mts +2523 -0
  38. package/node_modules/@modelcontextprotocol/client/dist/index-D4xIIEF6.d.mts.map +1 -0
  39. package/node_modules/@modelcontextprotocol/client/dist/index.cjs +5690 -0
  40. package/node_modules/@modelcontextprotocol/client/dist/index.cjs.map +1 -0
  41. package/node_modules/@modelcontextprotocol/client/dist/index.d.cts +3252 -0
  42. package/node_modules/@modelcontextprotocol/client/dist/index.d.cts.map +1 -0
  43. package/node_modules/@modelcontextprotocol/client/dist/index.d.mts +3252 -0
  44. package/node_modules/@modelcontextprotocol/client/dist/index.d.mts.map +1 -0
  45. package/node_modules/@modelcontextprotocol/client/dist/index.mjs +5481 -0
  46. package/node_modules/@modelcontextprotocol/client/dist/index.mjs.map +1 -0
  47. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.cjs +14 -0
  48. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.cjs.map +1 -0
  49. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.cts +13 -0
  50. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.cts.map +1 -0
  51. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.mts +13 -0
  52. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.mts.map +1 -0
  53. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.mjs +13 -0
  54. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.mjs.map +1 -0
  55. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.cjs +14 -0
  56. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.cjs.map +1 -0
  57. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.cts +13 -0
  58. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.cts.map +1 -0
  59. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.mts +13 -0
  60. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.mts.map +1 -0
  61. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.mjs +13 -0
  62. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.mjs.map +1 -0
  63. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.cjs +21 -0
  64. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.cjs.map +1 -0
  65. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.cts +13 -0
  66. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.cts.map +1 -0
  67. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.mts +13 -0
  68. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.mts.map +1 -0
  69. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.mjs +20 -0
  70. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.mjs.map +1 -0
  71. package/node_modules/@modelcontextprotocol/client/dist/src-D_zzAWoS.mjs +7063 -0
  72. package/node_modules/@modelcontextprotocol/client/dist/src-D_zzAWoS.mjs.map +1 -0
  73. package/node_modules/@modelcontextprotocol/client/dist/src-NAgB4Mp8.cjs +7431 -0
  74. package/node_modules/@modelcontextprotocol/client/dist/src-NAgB4Mp8.cjs.map +1 -0
  75. package/node_modules/@modelcontextprotocol/client/dist/stdio.cjs +217 -0
  76. package/node_modules/@modelcontextprotocol/client/dist/stdio.cjs.map +1 -0
  77. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.cts +96 -0
  78. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.cts.map +1 -0
  79. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.mts +96 -0
  80. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.mts.map +1 -0
  81. package/node_modules/@modelcontextprotocol/client/dist/stdio.mjs +212 -0
  82. package/node_modules/@modelcontextprotocol/client/dist/stdio.mjs.map +1 -0
  83. package/node_modules/@modelcontextprotocol/client/dist/types-DsbMXNFL.d.cts +1099 -0
  84. package/node_modules/@modelcontextprotocol/client/dist/types-DsbMXNFL.d.cts.map +1 -0
  85. package/node_modules/@modelcontextprotocol/client/dist/types-mS0yxCL0.d.mts +1099 -0
  86. package/node_modules/@modelcontextprotocol/client/dist/types-mS0yxCL0.d.mts.map +1 -0
  87. package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.cjs +5 -0
  88. package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.d.cts +2 -0
  89. package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.d.mts +2 -0
  90. package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.mjs +3 -0
  91. package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.cjs +3 -0
  92. package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.d.cts +2 -0
  93. package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.d.mts +2 -0
  94. package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.mjs +3 -0
  95. package/node_modules/@modelcontextprotocol/client/package.json +166 -0
  96. package/node_modules/@modelcontextprotocol/core/LICENSE +216 -0
  97. package/node_modules/@modelcontextprotocol/core/README.md +40 -0
  98. package/node_modules/@modelcontextprotocol/core/dist/auth-BWdKR39I.d.mts +8501 -0
  99. package/node_modules/@modelcontextprotocol/core/dist/auth-BWdKR39I.d.mts.map +1 -0
  100. package/node_modules/@modelcontextprotocol/core/dist/auth-CUe6YdwF.mjs +1678 -0
  101. package/node_modules/@modelcontextprotocol/core/dist/auth-CUe6YdwF.mjs.map +1 -0
  102. package/node_modules/@modelcontextprotocol/core/dist/auth-CfDMXiII.cjs +2899 -0
  103. package/node_modules/@modelcontextprotocol/core/dist/auth-CfDMXiII.cjs.map +1 -0
  104. package/node_modules/@modelcontextprotocol/core/dist/auth-hYtaIUZm.d.cts +8501 -0
  105. package/node_modules/@modelcontextprotocol/core/dist/auth-hYtaIUZm.d.cts.map +1 -0
  106. package/node_modules/@modelcontextprotocol/core/dist/index.cjs +175 -0
  107. package/node_modules/@modelcontextprotocol/core/dist/index.d.cts +2 -0
  108. package/node_modules/@modelcontextprotocol/core/dist/index.d.mts +2 -0
  109. package/node_modules/@modelcontextprotocol/core/dist/index.mjs +3 -0
  110. package/node_modules/@modelcontextprotocol/core/dist/internal.cjs +201 -0
  111. package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts +99 -0
  112. package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts.map +1 -0
  113. package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts +99 -0
  114. package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts.map +1 -0
  115. package/node_modules/@modelcontextprotocol/core/dist/internal.mjs +3 -0
  116. package/node_modules/@modelcontextprotocol/core/package.json +85 -0
  117. package/node_modules/@modelcontextprotocol/ext-apps/LICENSE +216 -0
  118. package/node_modules/@modelcontextprotocol/ext-apps/README.md +259 -0
  119. package/node_modules/@modelcontextprotocol/ext-apps/dist/docs/patterns.d.ts +9 -0
  120. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app-bridge.d.ts +1320 -0
  121. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app-bridge.examples.d.ts +9 -0
  122. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app-bridge.js +39 -0
  123. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app-bridge.test.d.ts +1 -0
  124. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app-with-deps.js +78 -0
  125. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app.d.ts +1449 -0
  126. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app.examples.d.ts +9 -0
  127. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app.js +39 -0
  128. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/events.d.ts +130 -0
  129. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/generated/schema.d.ts +1041 -0
  130. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/generated/schema.json +6090 -0
  131. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/generated/schema.test.d.ts +41 -0
  132. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/message-transport.d.ts +127 -0
  133. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/message-transport.examples.d.ts +9 -0
  134. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/message-transport.test.d.ts +1 -0
  135. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/index.d.ts +37 -0
  136. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/index.examples.d.ts +6 -0
  137. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/index.js +39 -0
  138. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/react-with-deps.js +78 -0
  139. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useApp.d.ts +115 -0
  140. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useApp.examples.d.ts +6 -0
  141. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useAutoResize.d.ts +54 -0
  142. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useAutoResize.examples.d.ts +6 -0
  143. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useDocumentTheme.d.ts +44 -0
  144. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useDocumentTheme.examples.d.ts +6 -0
  145. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useHostStyles.d.ts +113 -0
  146. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useHostStyles.examples.d.ts +6 -0
  147. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/server/index.d.ts +361 -0
  148. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/server/index.examples.d.ts +9 -0
  149. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/server/index.js +39 -0
  150. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/server/index.test.d.ts +1 -0
  151. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/spec.types.d.ts +698 -0
  152. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/standard-schema.d.ts +35 -0
  153. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/styles.d.ts +184 -0
  154. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/styles.examples.d.ts +9 -0
  155. package/node_modules/@modelcontextprotocol/ext-apps/dist/src/types.d.ts +43 -0
  156. package/node_modules/@modelcontextprotocol/ext-apps/package.json +133 -0
  157. package/node_modules/@napi-rs/keyring/LICENSE +21 -0
  158. package/node_modules/@napi-rs/keyring/README.md +19 -0
  159. package/node_modules/@napi-rs/keyring/index.d.ts +166 -0
  160. package/node_modules/@napi-rs/keyring/index.js +514 -0
  161. package/node_modules/@napi-rs/keyring/keytar.d.ts +53 -0
  162. package/node_modules/@napi-rs/keyring/keytar.js +26 -0
  163. package/node_modules/@napi-rs/keyring/package.json +125 -0
  164. package/node_modules/@pkgr/core/lib/constants.d.ts +3 -0
  165. package/node_modules/@pkgr/core/lib/constants.js +5 -0
  166. package/node_modules/@pkgr/core/lib/constants.js.map +1 -0
  167. package/node_modules/@pkgr/core/lib/helpers.d.ts +5 -0
  168. package/node_modules/@pkgr/core/lib/helpers.js +51 -0
  169. package/node_modules/@pkgr/core/lib/helpers.js.map +1 -0
  170. package/node_modules/@pkgr/core/lib/index.cjs +66 -0
  171. package/node_modules/@pkgr/core/lib/index.d.ts +2 -0
  172. package/node_modules/@pkgr/core/lib/index.js +3 -0
  173. package/node_modules/@pkgr/core/lib/index.js.map +1 -0
  174. package/node_modules/@pkgr/core/package.json +29 -0
  175. package/node_modules/@standard-schema/spec/LICENSE +21 -0
  176. package/node_modules/@standard-schema/spec/README.md +198 -0
  177. package/node_modules/@standard-schema/spec/dist/index.cjs +18 -0
  178. package/node_modules/@standard-schema/spec/dist/index.d.cts +119 -0
  179. package/node_modules/@standard-schema/spec/dist/index.d.ts +119 -0
  180. package/node_modules/@standard-schema/spec/dist/index.js +0 -0
  181. package/node_modules/@standard-schema/spec/package.json +52 -0
  182. package/node_modules/ajv/.runkit_example.js +23 -0
  183. package/node_modules/ajv/LICENSE +22 -0
  184. package/node_modules/ajv/README.md +207 -0
  185. package/node_modules/ajv/dist/2019.d.ts +19 -0
  186. package/node_modules/ajv/dist/2019.js +61 -0
  187. package/node_modules/ajv/dist/2019.js.map +1 -0
  188. package/node_modules/ajv/dist/2020.d.ts +19 -0
  189. package/node_modules/ajv/dist/2020.js +55 -0
  190. package/node_modules/ajv/dist/2020.js.map +1 -0
  191. package/node_modules/ajv/dist/ajv.d.ts +18 -0
  192. package/node_modules/ajv/dist/ajv.js +50 -0
  193. package/node_modules/ajv/dist/ajv.js.map +1 -0
  194. package/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
  195. package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
  196. package/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
  197. package/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
  198. package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
  199. package/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
  200. package/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
  201. package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
  202. package/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
  203. package/node_modules/ajv/dist/compile/errors.d.ts +13 -0
  204. package/node_modules/ajv/dist/compile/errors.js +123 -0
  205. package/node_modules/ajv/dist/compile/errors.js.map +1 -0
  206. package/node_modules/ajv/dist/compile/index.d.ts +80 -0
  207. package/node_modules/ajv/dist/compile/index.js +242 -0
  208. package/node_modules/ajv/dist/compile/index.js.map +1 -0
  209. package/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
  210. package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
  211. package/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
  212. package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
  213. package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
  214. package/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
  215. package/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
  216. package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
  217. package/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
  218. package/node_modules/ajv/dist/compile/names.d.ts +20 -0
  219. package/node_modules/ajv/dist/compile/names.js +28 -0
  220. package/node_modules/ajv/dist/compile/names.js.map +1 -0
  221. package/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
  222. package/node_modules/ajv/dist/compile/ref_error.js +12 -0
  223. package/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
  224. package/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
  225. package/node_modules/ajv/dist/compile/resolve.js +155 -0
  226. package/node_modules/ajv/dist/compile/resolve.js.map +1 -0
  227. package/node_modules/ajv/dist/compile/rules.d.ts +28 -0
  228. package/node_modules/ajv/dist/compile/rules.js +26 -0
  229. package/node_modules/ajv/dist/compile/rules.js.map +1 -0
  230. package/node_modules/ajv/dist/compile/util.d.ts +40 -0
  231. package/node_modules/ajv/dist/compile/util.js +178 -0
  232. package/node_modules/ajv/dist/compile/util.js.map +1 -0
  233. package/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
  234. package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
  235. package/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
  236. package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
  237. package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
  238. package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
  239. package/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
  240. package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
  241. package/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
  242. package/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
  243. package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
  244. package/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
  245. package/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
  246. package/node_modules/ajv/dist/compile/validate/index.js +520 -0
  247. package/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
  248. package/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
  249. package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
  250. package/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
  251. package/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
  252. package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
  253. package/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
  254. package/node_modules/ajv/dist/core.d.ts +174 -0
  255. package/node_modules/ajv/dist/core.js +618 -0
  256. package/node_modules/ajv/dist/core.js.map +1 -0
  257. package/node_modules/ajv/dist/jtd.d.ts +47 -0
  258. package/node_modules/ajv/dist/jtd.js +72 -0
  259. package/node_modules/ajv/dist/jtd.js.map +1 -0
  260. package/node_modules/ajv/dist/refs/data.json +13 -0
  261. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
  262. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
  263. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
  264. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
  265. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
  266. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
  267. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
  268. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  269. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
  270. package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
  271. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
  272. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
  273. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
  274. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
  275. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
  276. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
  277. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  278. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  279. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  280. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
  281. package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
  282. package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
  283. package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
  284. package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
  285. package/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
  286. package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
  287. package/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
  288. package/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
  289. package/node_modules/ajv/dist/runtime/equal.js +7 -0
  290. package/node_modules/ajv/dist/runtime/equal.js.map +1 -0
  291. package/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
  292. package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
  293. package/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
  294. package/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
  295. package/node_modules/ajv/dist/runtime/quote.js +30 -0
  296. package/node_modules/ajv/dist/runtime/quote.js.map +1 -0
  297. package/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
  298. package/node_modules/ajv/dist/runtime/re2.js +6 -0
  299. package/node_modules/ajv/dist/runtime/re2.js.map +1 -0
  300. package/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
  301. package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
  302. package/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
  303. package/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
  304. package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
  305. package/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
  306. package/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
  307. package/node_modules/ajv/dist/runtime/uri.js +6 -0
  308. package/node_modules/ajv/dist/runtime/uri.js.map +1 -0
  309. package/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
  310. package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
  311. package/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
  312. package/node_modules/ajv/dist/standalone/index.d.ts +6 -0
  313. package/node_modules/ajv/dist/standalone/index.js +90 -0
  314. package/node_modules/ajv/dist/standalone/index.js.map +1 -0
  315. package/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
  316. package/node_modules/ajv/dist/standalone/instance.js +35 -0
  317. package/node_modules/ajv/dist/standalone/instance.js.map +1 -0
  318. package/node_modules/ajv/dist/types/index.d.ts +183 -0
  319. package/node_modules/ajv/dist/types/index.js +3 -0
  320. package/node_modules/ajv/dist/types/index.js.map +1 -0
  321. package/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
  322. package/node_modules/ajv/dist/types/json-schema.js +3 -0
  323. package/node_modules/ajv/dist/types/json-schema.js.map +1 -0
  324. package/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
  325. package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
  326. package/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
  327. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
  328. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
  329. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
  330. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
  331. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
  332. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
  333. package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
  334. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
  335. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
  336. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
  337. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
  338. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
  339. package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
  340. package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
  341. package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
  342. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
  343. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
  344. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
  345. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
  346. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
  347. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
  348. package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
  349. package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
  350. package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
  351. package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
  352. package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
  353. package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
  354. package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
  355. package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
  356. package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
  357. package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
  358. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
  359. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
  360. package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
  361. package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
  362. package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
  363. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
  364. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
  365. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
  366. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
  367. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
  368. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
  369. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
  370. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
  371. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
  372. package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
  373. package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
  374. package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
  375. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
  376. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
  377. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
  378. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
  379. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
  380. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
  381. package/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
  382. package/node_modules/ajv/dist/vocabularies/code.js +131 -0
  383. package/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
  384. package/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
  385. package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
  386. package/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
  387. package/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
  388. package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
  389. package/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
  390. package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
  391. package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
  392. package/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
  393. package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
  394. package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
  395. package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
  396. package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
  397. package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
  398. package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
  399. package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
  400. package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
  401. package/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
  402. package/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
  403. package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
  404. package/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
  405. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
  406. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
  407. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
  408. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
  409. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
  410. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
  411. package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
  412. package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
  413. package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
  414. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
  415. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
  416. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
  417. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
  418. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
  419. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
  420. package/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
  421. package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
  422. package/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
  423. package/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
  424. package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
  425. package/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
  426. package/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
  427. package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
  428. package/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
  429. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
  430. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
  431. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
  432. package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
  433. package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
  434. package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
  435. package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
  436. package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
  437. package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
  438. package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
  439. package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
  440. package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
  441. package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
  442. package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
  443. package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
  444. package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
  445. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
  446. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
  447. package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
  448. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
  449. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
  450. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
  451. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
  452. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
  453. package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
  454. package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
  455. package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
  456. package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
  457. package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
  458. package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
  459. package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
  460. package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
  461. package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
  462. package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
  463. package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
  464. package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
  465. package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
  466. package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
  467. package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
  468. package/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
  469. package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
  470. package/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
  471. package/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
  472. package/node_modules/ajv/dist/vocabularies/next.js +8 -0
  473. package/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
  474. package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
  475. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
  476. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
  477. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
  478. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
  479. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
  480. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
  481. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
  482. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
  483. package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
  484. package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
  485. package/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
  486. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
  487. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
  488. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
  489. package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
  490. package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
  491. package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
  492. package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
  493. package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
  494. package/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
  495. package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
  496. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
  497. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
  498. package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
  499. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
  500. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
  501. package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
  502. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
  503. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
  504. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
  505. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
  506. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
  507. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
  508. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
  509. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
  510. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
  511. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
  512. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
  513. package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
  514. package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
  515. package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
  516. package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
  517. package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
  518. package/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
  519. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
  520. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
  521. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
  522. package/node_modules/ajv/lib/2019.ts +81 -0
  523. package/node_modules/ajv/lib/2020.ts +75 -0
  524. package/node_modules/ajv/lib/ajv.ts +70 -0
  525. package/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
  526. package/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
  527. package/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
  528. package/node_modules/ajv/lib/compile/errors.ts +184 -0
  529. package/node_modules/ajv/lib/compile/index.ts +324 -0
  530. package/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
  531. package/node_modules/ajv/lib/compile/jtd/serialize.ts +277 -0
  532. package/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
  533. package/node_modules/ajv/lib/compile/names.ts +27 -0
  534. package/node_modules/ajv/lib/compile/ref_error.ts +13 -0
  535. package/node_modules/ajv/lib/compile/resolve.ts +149 -0
  536. package/node_modules/ajv/lib/compile/rules.ts +50 -0
  537. package/node_modules/ajv/lib/compile/util.ts +213 -0
  538. package/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
  539. package/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
  540. package/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
  541. package/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
  542. package/node_modules/ajv/lib/compile/validate/index.ts +582 -0
  543. package/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
  544. package/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
  545. package/node_modules/ajv/lib/core.ts +892 -0
  546. package/node_modules/ajv/lib/jtd.ts +132 -0
  547. package/node_modules/ajv/lib/refs/data.json +13 -0
  548. package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
  549. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
  550. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
  551. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
  552. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
  553. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  554. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
  555. package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
  556. package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
  557. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
  558. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
  559. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
  560. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  561. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  562. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  563. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
  564. package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
  565. package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
  566. package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
  567. package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
  568. package/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
  569. package/node_modules/ajv/lib/runtime/equal.ts +7 -0
  570. package/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
  571. package/node_modules/ajv/lib/runtime/quote.ts +31 -0
  572. package/node_modules/ajv/lib/runtime/re2.ts +6 -0
  573. package/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
  574. package/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
  575. package/node_modules/ajv/lib/runtime/uri.ts +6 -0
  576. package/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
  577. package/node_modules/ajv/lib/standalone/index.ts +100 -0
  578. package/node_modules/ajv/lib/standalone/instance.ts +36 -0
  579. package/node_modules/ajv/lib/types/index.ts +244 -0
  580. package/node_modules/ajv/lib/types/json-schema.ts +187 -0
  581. package/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
  582. package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
  583. package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
  584. package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
  585. package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
  586. package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
  587. package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
  588. package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
  589. package/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
  590. package/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
  591. package/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
  592. package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
  593. package/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
  594. package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
  595. package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
  596. package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
  597. package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
  598. package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
  599. package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
  600. package/node_modules/ajv/lib/vocabularies/code.ts +168 -0
  601. package/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
  602. package/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
  603. package/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
  604. package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
  605. package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
  606. package/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
  607. package/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
  608. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
  609. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
  610. package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
  611. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
  612. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
  613. package/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
  614. package/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
  615. package/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
  616. package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
  617. package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
  618. package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
  619. package/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
  620. package/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
  621. package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
  622. package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
  623. package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
  624. package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
  625. package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
  626. package/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
  627. package/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
  628. package/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
  629. package/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
  630. package/node_modules/ajv/lib/vocabularies/next.ts +8 -0
  631. package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
  632. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
  633. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
  634. package/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
  635. package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
  636. package/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
  637. package/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
  638. package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
  639. package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
  640. package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
  641. package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
  642. package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
  643. package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
  644. package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +39 -0
  645. package/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
  646. package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
  647. package/node_modules/ajv/package.json +126 -0
  648. package/node_modules/ajv-formats/LICENSE +21 -0
  649. package/node_modules/ajv-formats/README.md +125 -0
  650. package/node_modules/ajv-formats/dist/formats.d.ts +9 -0
  651. package/node_modules/ajv-formats/dist/formats.js +208 -0
  652. package/node_modules/ajv-formats/dist/formats.js.map +1 -0
  653. package/node_modules/ajv-formats/dist/index.d.ts +15 -0
  654. package/node_modules/ajv-formats/dist/index.js +37 -0
  655. package/node_modules/ajv-formats/dist/index.js.map +1 -0
  656. package/node_modules/ajv-formats/dist/limit.d.ts +10 -0
  657. package/node_modules/ajv-formats/dist/limit.js +69 -0
  658. package/node_modules/ajv-formats/dist/limit.js.map +1 -0
  659. package/node_modules/ajv-formats/package.json +74 -0
  660. package/node_modules/ajv-formats/src/formats.ts +269 -0
  661. package/node_modules/ajv-formats/src/index.ts +62 -0
  662. package/node_modules/ajv-formats/src/limit.ts +99 -0
  663. package/node_modules/bundle-name/index.js +5 -0
  664. package/node_modules/bundle-name/license +9 -0
  665. package/node_modules/bundle-name/package.json +45 -0
  666. package/node_modules/bundle-name/readme.md +23 -0
  667. package/node_modules/cross-spawn/LICENSE +21 -0
  668. package/node_modules/cross-spawn/README.md +89 -0
  669. package/node_modules/cross-spawn/index.js +39 -0
  670. package/node_modules/cross-spawn/lib/enoent.js +59 -0
  671. package/node_modules/cross-spawn/lib/parse.js +91 -0
  672. package/node_modules/cross-spawn/lib/util/escape.js +47 -0
  673. package/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
  674. package/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
  675. package/node_modules/cross-spawn/package.json +73 -0
  676. package/node_modules/default-browser/index.d.ts +29 -0
  677. package/node_modules/default-browser/index.js +34 -0
  678. package/node_modules/default-browser/license +9 -0
  679. package/node_modules/default-browser/package.json +54 -0
  680. package/node_modules/default-browser/readme.md +24 -0
  681. package/node_modules/default-browser/windows.js +57 -0
  682. package/node_modules/default-browser-id/index.js +25 -0
  683. package/node_modules/default-browser-id/license +9 -0
  684. package/node_modules/default-browser-id/package.json +41 -0
  685. package/node_modules/default-browser-id/readme.md +19 -0
  686. package/node_modules/define-lazy-prop/index.d.ts +31 -0
  687. package/node_modules/define-lazy-prop/index.js +18 -0
  688. package/node_modules/define-lazy-prop/license +9 -0
  689. package/node_modules/define-lazy-prop/package.json +51 -0
  690. package/node_modules/define-lazy-prop/readme.md +55 -0
  691. package/node_modules/eventsource/LICENSE +22 -0
  692. package/node_modules/eventsource/README.md +167 -0
  693. package/node_modules/eventsource/dist/index.cjs +273 -0
  694. package/node_modules/eventsource/dist/index.cjs.map +1 -0
  695. package/node_modules/eventsource/dist/index.d.cts +332 -0
  696. package/node_modules/eventsource/dist/index.d.ts +332 -0
  697. package/node_modules/eventsource/dist/index.js +273 -0
  698. package/node_modules/eventsource/dist/index.js.map +1 -0
  699. package/node_modules/eventsource/package.json +130 -0
  700. package/node_modules/eventsource/src/EventSource.ts +596 -0
  701. package/node_modules/eventsource/src/errors.ts +141 -0
  702. package/node_modules/eventsource/src/index.ts +3 -0
  703. package/node_modules/eventsource/src/types.ts +152 -0
  704. package/node_modules/eventsource-parser/LICENSE +21 -0
  705. package/node_modules/eventsource-parser/README.md +157 -0
  706. package/node_modules/eventsource-parser/dist/index.cjs +177 -0
  707. package/node_modules/eventsource-parser/dist/index.cjs.map +1 -0
  708. package/node_modules/eventsource-parser/dist/index.d.cts +169 -0
  709. package/node_modules/eventsource-parser/dist/index.d.ts +169 -0
  710. package/node_modules/eventsource-parser/dist/index.js +177 -0
  711. package/node_modules/eventsource-parser/dist/index.js.map +1 -0
  712. package/node_modules/eventsource-parser/dist/stream.cjs +29 -0
  713. package/node_modules/eventsource-parser/dist/stream.cjs.map +1 -0
  714. package/node_modules/eventsource-parser/dist/stream.d.cts +134 -0
  715. package/node_modules/eventsource-parser/dist/stream.d.ts +134 -0
  716. package/node_modules/eventsource-parser/dist/stream.js +30 -0
  717. package/node_modules/eventsource-parser/dist/stream.js.map +1 -0
  718. package/node_modules/eventsource-parser/package.json +92 -0
  719. package/node_modules/eventsource-parser/src/errors.ts +44 -0
  720. package/node_modules/eventsource-parser/src/index.ts +8 -0
  721. package/node_modules/eventsource-parser/src/parse.ts +439 -0
  722. package/node_modules/eventsource-parser/src/stream.ts +107 -0
  723. package/node_modules/eventsource-parser/src/types.ts +122 -0
  724. package/node_modules/eventsource-parser/stream.js +2 -0
  725. package/node_modules/fast-deep-equal/LICENSE +21 -0
  726. package/node_modules/fast-deep-equal/README.md +96 -0
  727. package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
  728. package/node_modules/fast-deep-equal/es6/index.js +72 -0
  729. package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
  730. package/node_modules/fast-deep-equal/es6/react.js +79 -0
  731. package/node_modules/fast-deep-equal/index.d.ts +4 -0
  732. package/node_modules/fast-deep-equal/index.js +46 -0
  733. package/node_modules/fast-deep-equal/package.json +61 -0
  734. package/node_modules/fast-deep-equal/react.d.ts +2 -0
  735. package/node_modules/fast-deep-equal/react.js +53 -0
  736. package/node_modules/fast-uri/.gitattributes +2 -0
  737. package/node_modules/fast-uri/.github/dependabot.yml +13 -0
  738. package/node_modules/fast-uri/.github/workflows/ci.yml +106 -0
  739. package/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
  740. package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
  741. package/node_modules/fast-uri/LICENSE +30 -0
  742. package/node_modules/fast-uri/README.md +152 -0
  743. package/node_modules/fast-uri/benchmark/benchmark.mjs +159 -0
  744. package/node_modules/fast-uri/benchmark/equal.mjs +51 -0
  745. package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +22 -0
  746. package/node_modules/fast-uri/benchmark/package.json +17 -0
  747. package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +24 -0
  748. package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +65 -0
  749. package/node_modules/fast-uri/eslint.config.js +6 -0
  750. package/node_modules/fast-uri/index.js +459 -0
  751. package/node_modules/fast-uri/lib/schemes.js +267 -0
  752. package/node_modules/fast-uri/lib/utils.js +443 -0
  753. package/node_modules/fast-uri/package.json +68 -0
  754. package/node_modules/fast-uri/test/ajv.test.js +43 -0
  755. package/node_modules/fast-uri/test/equal.test.js +117 -0
  756. package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +501 -0
  757. package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +120 -0
  758. package/node_modules/fast-uri/test/parse.test.js +323 -0
  759. package/node_modules/fast-uri/test/resolve.test.js +87 -0
  760. package/node_modules/fast-uri/test/rfc-3986.test.js +90 -0
  761. package/node_modules/fast-uri/test/security-normalization.test.js +39 -0
  762. package/node_modules/fast-uri/test/security.test.js +359 -0
  763. package/node_modules/fast-uri/test/serialize.test.js +151 -0
  764. package/node_modules/fast-uri/test/uri-js-compatibility.test.js +33 -0
  765. package/node_modules/fast-uri/test/uri-js.test.js +912 -0
  766. package/node_modules/fast-uri/test/util.test.js +38 -0
  767. package/node_modules/fast-uri/tsconfig.json +9 -0
  768. package/node_modules/fast-uri/types/index.d.ts +60 -0
  769. package/node_modules/fast-uri/types/index.test-d.ts +17 -0
  770. package/node_modules/is-docker/cli.js +5 -0
  771. package/node_modules/is-docker/index.d.ts +13 -0
  772. package/node_modules/is-docker/index.js +29 -0
  773. package/node_modules/is-docker/license +9 -0
  774. package/node_modules/is-docker/package.json +44 -0
  775. package/node_modules/is-docker/readme.md +27 -0
  776. package/node_modules/is-inside-container/cli.js +5 -0
  777. package/node_modules/is-inside-container/index.d.ts +13 -0
  778. package/node_modules/is-inside-container/index.js +23 -0
  779. package/node_modules/is-inside-container/license +9 -0
  780. package/node_modules/is-inside-container/package.json +51 -0
  781. package/node_modules/is-inside-container/readme.md +36 -0
  782. package/node_modules/is-wsl/index.d.ts +15 -0
  783. package/node_modules/is-wsl/index.js +36 -0
  784. package/node_modules/is-wsl/license +9 -0
  785. package/node_modules/is-wsl/package.json +58 -0
  786. package/node_modules/is-wsl/readme.md +21 -0
  787. package/node_modules/isexe/.npmignore +2 -0
  788. package/node_modules/isexe/LICENSE +15 -0
  789. package/node_modules/isexe/README.md +51 -0
  790. package/node_modules/isexe/index.js +57 -0
  791. package/node_modules/isexe/mode.js +41 -0
  792. package/node_modules/isexe/package.json +31 -0
  793. package/node_modules/isexe/test/basic.js +221 -0
  794. package/node_modules/isexe/windows.js +42 -0
  795. package/node_modules/jiti/LICENSE +21 -0
  796. package/node_modules/jiti/README.md +258 -0
  797. package/node_modules/jiti/dist/babel.cjs +257 -0
  798. package/node_modules/jiti/dist/jiti.cjs +1 -0
  799. package/node_modules/jiti/lib/jiti-cli.mjs +34 -0
  800. package/node_modules/jiti/lib/jiti-hooks.mjs +124 -0
  801. package/node_modules/jiti/lib/jiti-native.mjs +121 -0
  802. package/node_modules/jiti/lib/jiti-register.d.mts +1 -0
  803. package/node_modules/jiti/lib/jiti-register.mjs +4 -0
  804. package/node_modules/jiti/lib/jiti-static.mjs +23 -0
  805. package/node_modules/jiti/lib/jiti.cjs +30 -0
  806. package/node_modules/jiti/lib/jiti.d.cts +8 -0
  807. package/node_modules/jiti/lib/jiti.d.mts +8 -0
  808. package/node_modules/jiti/lib/jiti.mjs +29 -0
  809. package/node_modules/jiti/lib/types.d.ts +420 -0
  810. package/node_modules/jiti/package.json +146 -0
  811. package/node_modules/jose/LICENSE.md +21 -0
  812. package/node_modules/jose/README.md +150 -0
  813. package/node_modules/jose/dist/types/index.d.ts +56 -0
  814. package/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +37 -0
  815. package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +53 -0
  816. package/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +37 -0
  817. package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +71 -0
  818. package/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +43 -0
  819. package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +73 -0
  820. package/node_modules/jose/dist/types/jwk/embedded.d.ts +13 -0
  821. package/node_modules/jose/dist/types/jwk/thumbprint.d.ts +17 -0
  822. package/node_modules/jose/dist/types/jwks/local.d.ts +20 -0
  823. package/node_modules/jose/dist/types/jwks/remote.d.ts +106 -0
  824. package/node_modules/jose/dist/types/jws/compact/sign.d.ts +25 -0
  825. package/node_modules/jose/dist/types/jws/compact/verify.d.ts +37 -0
  826. package/node_modules/jose/dist/types/jws/flattened/sign.d.ts +31 -0
  827. package/node_modules/jose/dist/types/jws/flattened/verify.d.ts +37 -0
  828. package/node_modules/jose/dist/types/jws/general/sign.d.ts +52 -0
  829. package/node_modules/jose/dist/types/jws/general/verify.d.ts +44 -0
  830. package/node_modules/jose/dist/types/jwt/decrypt.d.ts +41 -0
  831. package/node_modules/jose/dist/types/jwt/encrypt.d.ts +67 -0
  832. package/node_modules/jose/dist/types/jwt/sign.d.ts +32 -0
  833. package/node_modules/jose/dist/types/jwt/unsecured.d.ts +34 -0
  834. package/node_modules/jose/dist/types/jwt/verify.d.ts +38 -0
  835. package/node_modules/jose/dist/types/key/export.d.ts +19 -0
  836. package/node_modules/jose/dist/types/key/generate_key_pair.d.ts +40 -0
  837. package/node_modules/jose/dist/types/key/generate_secret.d.ts +37 -0
  838. package/node_modules/jose/dist/types/key/import.d.ts +73 -0
  839. package/node_modules/jose/dist/types/types.d.ts +869 -0
  840. package/node_modules/jose/dist/types/util/base64url.d.ts +16 -0
  841. package/node_modules/jose/dist/types/util/decode_jwt.d.ts +10 -0
  842. package/node_modules/jose/dist/types/util/decode_protected_header.d.ts +9 -0
  843. package/node_modules/jose/dist/types/util/errors.d.ts +220 -0
  844. package/node_modules/jose/dist/webapi/index.js +32 -0
  845. package/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +9 -0
  846. package/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +27 -0
  847. package/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +11 -0
  848. package/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +72 -0
  849. package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +51 -0
  850. package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +166 -0
  851. package/node_modules/jose/dist/webapi/jwk/embedded.js +19 -0
  852. package/node_modules/jose/dist/webapi/jwk/thumbprint.js +68 -0
  853. package/node_modules/jose/dist/webapi/jwks/local.js +78 -0
  854. package/node_modules/jose/dist/webapi/jwks/remote.js +170 -0
  855. package/node_modules/jose/dist/webapi/jws/compact/sign.js +21 -0
  856. package/node_modules/jose/dist/webapi/jws/compact/verify.js +9 -0
  857. package/node_modules/jose/dist/webapi/jws/flattened/sign.js +31 -0
  858. package/node_modules/jose/dist/webapi/jws/flattened/verify.js +24 -0
  859. package/node_modules/jose/dist/webapi/jws/general/sign.js +74 -0
  860. package/node_modules/jose/dist/webapi/jws/general/verify.js +44 -0
  861. package/node_modules/jose/dist/webapi/jwt/decrypt.js +23 -0
  862. package/node_modules/jose/dist/webapi/jwt/encrypt.js +101 -0
  863. package/node_modules/jose/dist/webapi/jwt/sign.js +51 -0
  864. package/node_modules/jose/dist/webapi/jwt/unsecured.js +64 -0
  865. package/node_modules/jose/dist/webapi/jwt/verify.js +15 -0
  866. package/node_modules/jose/dist/webapi/key/export.js +44 -0
  867. package/node_modules/jose/dist/webapi/key/generate_key_pair.js +48 -0
  868. package/node_modules/jose/dist/webapi/key/generate_secret.js +40 -0
  869. package/node_modules/jose/dist/webapi/key/import.js +57 -0
  870. package/node_modules/jose/dist/webapi/lib/asn1.js +174 -0
  871. package/node_modules/jose/dist/webapi/lib/base64.js +22 -0
  872. package/node_modules/jose/dist/webapi/lib/buffer_utils.js +44 -0
  873. package/node_modules/jose/dist/webapi/lib/content_encryption.js +142 -0
  874. package/node_modules/jose/dist/webapi/lib/crypto_key.js +28 -0
  875. package/node_modules/jose/dist/webapi/lib/deflate.js +44 -0
  876. package/node_modules/jose/dist/webapi/lib/helpers.js +42 -0
  877. package/node_modules/jose/dist/webapi/lib/invalid_key_input.js +26 -0
  878. package/node_modules/jose/dist/webapi/lib/is_key_like.js +17 -0
  879. package/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +107 -0
  880. package/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +186 -0
  881. package/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +110 -0
  882. package/node_modules/jose/dist/webapi/lib/jwk_to_key.js +17 -0
  883. package/node_modules/jose/dist/webapi/lib/jws_algorithms.js +73 -0
  884. package/node_modules/jose/dist/webapi/lib/jws_sign.js +74 -0
  885. package/node_modules/jose/dist/webapi/lib/jws_verify.js +107 -0
  886. package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +197 -0
  887. package/node_modules/jose/dist/webapi/lib/key.js +132 -0
  888. package/node_modules/jose/dist/webapi/lib/key_algorithm.js +10 -0
  889. package/node_modules/jose/dist/webapi/lib/key_descriptor.js +7 -0
  890. package/node_modules/jose/dist/webapi/lib/key_management.js +256 -0
  891. package/node_modules/jose/dist/webapi/lib/options.js +48 -0
  892. package/node_modules/jose/dist/webapi/lib/signing.js +26 -0
  893. package/node_modules/jose/dist/webapi/lib/type_checks.js +35 -0
  894. package/node_modules/jose/dist/webapi/util/base64url.js +39 -0
  895. package/node_modules/jose/dist/webapi/util/decode_jwt.js +32 -0
  896. package/node_modules/jose/dist/webapi/util/decode_protected_header.js +24 -0
  897. package/node_modules/jose/dist/webapi/util/errors.js +99 -0
  898. package/node_modules/jose/package.json +198 -0
  899. package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
  900. package/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
  901. package/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
  902. package/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
  903. package/node_modules/json-schema-traverse/LICENSE +21 -0
  904. package/node_modules/json-schema-traverse/README.md +95 -0
  905. package/node_modules/json-schema-traverse/index.d.ts +40 -0
  906. package/node_modules/json-schema-traverse/index.js +93 -0
  907. package/node_modules/json-schema-traverse/package.json +43 -0
  908. package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
  909. package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
  910. package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
  911. package/node_modules/open/index.d.ts +158 -0
  912. package/node_modules/open/index.js +366 -0
  913. package/node_modules/open/license +9 -0
  914. package/node_modules/open/package.json +68 -0
  915. package/node_modules/open/readme.md +183 -0
  916. package/node_modules/open/xdg-open +1267 -0
  917. package/node_modules/path-key/index.d.ts +40 -0
  918. package/node_modules/path-key/index.js +16 -0
  919. package/node_modules/path-key/license +9 -0
  920. package/node_modules/path-key/package.json +39 -0
  921. package/node_modules/path-key/readme.md +61 -0
  922. package/node_modules/pi-mcp-adapter/CHANGELOG.md +635 -0
  923. package/node_modules/pi-mcp-adapter/LICENSE +21 -0
  924. package/node_modules/pi-mcp-adapter/README.md +702 -0
  925. package/node_modules/pi-mcp-adapter/abort.ts +34 -0
  926. package/node_modules/pi-mcp-adapter/agent-dir.ts +60 -0
  927. package/node_modules/pi-mcp-adapter/agent-plugin-loader.ts +377 -0
  928. package/node_modules/pi-mcp-adapter/app-bridge.bundle.js +67 -0
  929. package/node_modules/pi-mcp-adapter/banner.png +0 -0
  930. package/node_modules/pi-mcp-adapter/cli.js +209 -0
  931. package/node_modules/pi-mcp-adapter/commands.ts +619 -0
  932. package/node_modules/pi-mcp-adapter/config.ts +1226 -0
  933. package/node_modules/pi-mcp-adapter/consent-manager.ts +64 -0
  934. package/node_modules/pi-mcp-adapter/direct-tools.ts +557 -0
  935. package/node_modules/pi-mcp-adapter/elicitation-handler.ts +348 -0
  936. package/node_modules/pi-mcp-adapter/error-signal.ts +21 -0
  937. package/node_modules/pi-mcp-adapter/errors.ts +223 -0
  938. package/node_modules/pi-mcp-adapter/glimpse-ui.ts +80 -0
  939. package/node_modules/pi-mcp-adapter/host-html-template.ts +469 -0
  940. package/node_modules/pi-mcp-adapter/index.ts +893 -0
  941. package/node_modules/pi-mcp-adapter/init.ts +625 -0
  942. package/node_modules/pi-mcp-adapter/json-schema-validator.ts +69 -0
  943. package/node_modules/pi-mcp-adapter/lifecycle.ts +151 -0
  944. package/node_modules/pi-mcp-adapter/logger.ts +169 -0
  945. package/node_modules/pi-mcp-adapter/mcp-auth-flow.ts +994 -0
  946. package/node_modules/pi-mcp-adapter/mcp-auth.ts +942 -0
  947. package/node_modules/pi-mcp-adapter/mcp-callback-server.ts +510 -0
  948. package/node_modules/pi-mcp-adapter/mcp-code.ts +354 -0
  949. package/node_modules/pi-mcp-adapter/mcp-keyring-helper.cjs +89 -0
  950. package/node_modules/pi-mcp-adapter/mcp-oauth-provider.ts +616 -0
  951. package/node_modules/pi-mcp-adapter/mcp-output-guard.ts +408 -0
  952. package/node_modules/pi-mcp-adapter/mcp-panel.ts +979 -0
  953. package/node_modules/pi-mcp-adapter/mcp-probe.ts +187 -0
  954. package/node_modules/pi-mcp-adapter/mcp-script-worker.mjs +128 -0
  955. package/node_modules/pi-mcp-adapter/mcp-setup-panel.ts +666 -0
  956. package/node_modules/pi-mcp-adapter/mcp-status.ts +109 -0
  957. package/node_modules/pi-mcp-adapter/mcp-trace.ts +306 -0
  958. package/node_modules/pi-mcp-adapter/metadata-cache.ts +330 -0
  959. package/node_modules/pi-mcp-adapter/npx-resolver.ts +488 -0
  960. package/node_modules/pi-mcp-adapter/oauth-handler.ts +30 -0
  961. package/node_modules/pi-mcp-adapter/oauth.ts +48 -0
  962. package/node_modules/pi-mcp-adapter/onboarding-state.ts +76 -0
  963. package/node_modules/pi-mcp-adapter/package.json +178 -0
  964. package/node_modules/pi-mcp-adapter/panel-keys.ts +53 -0
  965. package/node_modules/pi-mcp-adapter/prompts.ts +353 -0
  966. package/node_modules/pi-mcp-adapter/proxy-modes.ts +1249 -0
  967. package/node_modules/pi-mcp-adapter/resource-tools.ts +17 -0
  968. package/node_modules/pi-mcp-adapter/runtime-owner.ts +91 -0
  969. package/node_modules/pi-mcp-adapter/sampling-handler.ts +284 -0
  970. package/node_modules/pi-mcp-adapter/search-ranking.ts +127 -0
  971. package/node_modules/pi-mcp-adapter/server-manager.ts +1095 -0
  972. package/node_modules/pi-mcp-adapter/session-recovery.ts +145 -0
  973. package/node_modules/pi-mcp-adapter/skills/mcp-scripting/SKILL.md +38 -0
  974. package/node_modules/pi-mcp-adapter/state.ts +62 -0
  975. package/node_modules/pi-mcp-adapter/tool-approval.ts +141 -0
  976. package/node_modules/pi-mcp-adapter/tool-metadata.ts +238 -0
  977. package/node_modules/pi-mcp-adapter/tool-registrar.ts +253 -0
  978. package/node_modules/pi-mcp-adapter/tool-result-renderer.ts +297 -0
  979. package/node_modules/pi-mcp-adapter/ts-shape.ts +149 -0
  980. package/node_modules/pi-mcp-adapter/types.ts +793 -0
  981. package/node_modules/pi-mcp-adapter/ui-app-bridge-helpers.ts +40 -0
  982. package/node_modules/pi-mcp-adapter/ui-resource-handler.ts +250 -0
  983. package/node_modules/pi-mcp-adapter/ui-server.ts +847 -0
  984. package/node_modules/pi-mcp-adapter/ui-session.ts +570 -0
  985. package/node_modules/pi-mcp-adapter/ui-stream-types.ts +89 -0
  986. package/node_modules/pi-mcp-adapter/ui-tool-visibility.ts +25 -0
  987. package/node_modules/pi-mcp-adapter/unix-socket-transport.ts +85 -0
  988. package/node_modules/pi-mcp-adapter/utils.ts +310 -0
  989. package/node_modules/pi-subagents/CHANGELOG.md +1700 -0
  990. package/node_modules/pi-subagents/LICENSE +21 -0
  991. package/node_modules/pi-subagents/README.md +120 -0
  992. package/node_modules/pi-subagents/agents/delegate.md +14 -0
  993. package/node_modules/pi-subagents/agents/oracle.md +74 -0
  994. package/node_modules/pi-subagents/agents/researcher.md +52 -0
  995. package/node_modules/pi-subagents/agents/reviewer.md +78 -0
  996. package/node_modules/pi-subagents/agents/scout.md +50 -0
  997. package/node_modules/pi-subagents/agents/worker.md +58 -0
  998. package/node_modules/pi-subagents/docs/agents.md +342 -0
  999. package/node_modules/pi-subagents/docs/configuration.md +328 -0
  1000. package/node_modules/pi-subagents/docs/extension-api.md +308 -0
  1001. package/node_modules/pi-subagents/docs/missions.md +119 -0
  1002. package/node_modules/pi-subagents/docs/models.md +192 -0
  1003. package/node_modules/pi-subagents/docs/observability.md +174 -0
  1004. package/node_modules/pi-subagents/docs/tool-reference.md +343 -0
  1005. package/node_modules/pi-subagents/docs/watchdog.md +176 -0
  1006. package/node_modules/pi-subagents/docs/workflows.md +163 -0
  1007. package/node_modules/pi-subagents/index.ts +1 -0
  1008. package/node_modules/pi-subagents/inspector-runner.mjs +11 -0
  1009. package/node_modules/pi-subagents/install.mjs +93 -0
  1010. package/node_modules/pi-subagents/node_modules/typebox/build/compile/code.d.mts +12 -0
  1011. package/node_modules/pi-subagents/node_modules/typebox/build/compile/code.mjs +65 -0
  1012. package/node_modules/pi-subagents/node_modules/typebox/build/compile/compile.d.mts +6 -0
  1013. package/node_modules/pi-subagents/node_modules/typebox/build/compile/compile.mjs +12 -0
  1014. package/node_modules/pi-subagents/node_modules/typebox/build/compile/index.d.mts +8 -0
  1015. package/node_modules/pi-subagents/node_modules/typebox/build/compile/index.mjs +14 -0
  1016. package/node_modules/pi-subagents/node_modules/typebox/build/compile/validator.d.mts +43 -0
  1017. package/node_modules/pi-subagents/node_modules/typebox/build/compile/validator.mjs +121 -0
  1018. package/node_modules/pi-subagents/node_modules/typebox/build/error/errors.d.mts +214 -0
  1019. package/node_modules/pi-subagents/node_modules/typebox/build/error/errors.mjs +18 -0
  1020. package/node_modules/pi-subagents/node_modules/typebox/build/error/index.d.mts +1 -0
  1021. package/node_modules/pi-subagents/node_modules/typebox/build/error/index.mjs +1 -0
  1022. package/node_modules/pi-subagents/node_modules/typebox/build/format/_idna.d.mts +2 -0
  1023. package/node_modules/pi-subagents/node_modules/typebox/build/format/_idna.mjs +216 -0
  1024. package/node_modules/pi-subagents/node_modules/typebox/build/format/_puny.d.mts +1 -0
  1025. package/node_modules/pi-subagents/node_modules/typebox/build/format/_puny.mjs +74 -0
  1026. package/node_modules/pi-subagents/node_modules/typebox/build/format/_registry.d.mts +15 -0
  1027. package/node_modules/pi-subagents/node_modules/typebox/build/format/_registry.mjs +96 -0
  1028. package/node_modules/pi-subagents/node_modules/typebox/build/format/date.d.mts +6 -0
  1029. package/node_modules/pi-subagents/node_modules/typebox/build/format/date.mjs +19 -0
  1030. package/node_modules/pi-subagents/node_modules/typebox/build/format/date_time.d.mts +6 -0
  1031. package/node_modules/pi-subagents/node_modules/typebox/build/format/date_time.mjs +11 -0
  1032. package/node_modules/pi-subagents/node_modules/typebox/build/format/duration.d.mts +5 -0
  1033. package/node_modules/pi-subagents/node_modules/typebox/build/format/duration.mjs +8 -0
  1034. package/node_modules/pi-subagents/node_modules/typebox/build/format/email.d.mts +5 -0
  1035. package/node_modules/pi-subagents/node_modules/typebox/build/format/email.mjs +8 -0
  1036. package/node_modules/pi-subagents/node_modules/typebox/build/format/format.d.mts +22 -0
  1037. package/node_modules/pi-subagents/node_modules/typebox/build/format/format.mjs +22 -0
  1038. package/node_modules/pi-subagents/node_modules/typebox/build/format/hostname.d.mts +7 -0
  1039. package/node_modules/pi-subagents/node_modules/typebox/build/format/hostname.mjs +18 -0
  1040. package/node_modules/pi-subagents/node_modules/typebox/build/format/idn_email.d.mts +5 -0
  1041. package/node_modules/pi-subagents/node_modules/typebox/build/format/idn_email.mjs +8 -0
  1042. package/node_modules/pi-subagents/node_modules/typebox/build/format/idn_hostname.d.mts +7 -0
  1043. package/node_modules/pi-subagents/node_modules/typebox/build/format/idn_hostname.mjs +19 -0
  1044. package/node_modules/pi-subagents/node_modules/typebox/build/format/index.d.mts +4 -0
  1045. package/node_modules/pi-subagents/node_modules/typebox/build/format/index.mjs +4 -0
  1046. package/node_modules/pi-subagents/node_modules/typebox/build/format/ipv4.d.mts +6 -0
  1047. package/node_modules/pi-subagents/node_modules/typebox/build/format/ipv4.mjs +38 -0
  1048. package/node_modules/pi-subagents/node_modules/typebox/build/format/ipv6.d.mts +5 -0
  1049. package/node_modules/pi-subagents/node_modules/typebox/build/format/ipv6.mjs +67 -0
  1050. package/node_modules/pi-subagents/node_modules/typebox/build/format/iri.d.mts +5 -0
  1051. package/node_modules/pi-subagents/node_modules/typebox/build/format/iri.mjs +13 -0
  1052. package/node_modules/pi-subagents/node_modules/typebox/build/format/iri_reference.d.mts +5 -0
  1053. package/node_modules/pi-subagents/node_modules/typebox/build/format/iri_reference.mjs +60 -0
  1054. package/node_modules/pi-subagents/node_modules/typebox/build/format/json_pointer.d.mts +6 -0
  1055. package/node_modules/pi-subagents/node_modules/typebox/build/format/json_pointer.mjs +9 -0
  1056. package/node_modules/pi-subagents/node_modules/typebox/build/format/json_pointer_uri_fragment.d.mts +6 -0
  1057. package/node_modules/pi-subagents/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +9 -0
  1058. package/node_modules/pi-subagents/node_modules/typebox/build/format/regex.d.mts +6 -0
  1059. package/node_modules/pi-subagents/node_modules/typebox/build/format/regex.mjs +17 -0
  1060. package/node_modules/pi-subagents/node_modules/typebox/build/format/relative_json_pointer.d.mts +6 -0
  1061. package/node_modules/pi-subagents/node_modules/typebox/build/format/relative_json_pointer.mjs +9 -0
  1062. package/node_modules/pi-subagents/node_modules/typebox/build/format/time.d.mts +5 -0
  1063. package/node_modules/pi-subagents/node_modules/typebox/build/format/time.mjs +27 -0
  1064. package/node_modules/pi-subagents/node_modules/typebox/build/format/uri.d.mts +5 -0
  1065. package/node_modules/pi-subagents/node_modules/typebox/build/format/uri.mjs +135 -0
  1066. package/node_modules/pi-subagents/node_modules/typebox/build/format/uri_reference.d.mts +5 -0
  1067. package/node_modules/pi-subagents/node_modules/typebox/build/format/uri_reference.mjs +9 -0
  1068. package/node_modules/pi-subagents/node_modules/typebox/build/format/uri_template.d.mts +6 -0
  1069. package/node_modules/pi-subagents/node_modules/typebox/build/format/uri_template.mjs +10 -0
  1070. package/node_modules/pi-subagents/node_modules/typebox/build/format/url.d.mts +6 -0
  1071. package/node_modules/pi-subagents/node_modules/typebox/build/format/url.mjs +9 -0
  1072. package/node_modules/pi-subagents/node_modules/typebox/build/format/uuid.d.mts +6 -0
  1073. package/node_modules/pi-subagents/node_modules/typebox/build/format/uuid.mjs +9 -0
  1074. package/node_modules/pi-subagents/node_modules/typebox/build/guard/emit.d.mts +58 -0
  1075. package/node_modules/pi-subagents/node_modules/typebox/build/guard/emit.mjs +194 -0
  1076. package/node_modules/pi-subagents/node_modules/typebox/build/guard/globals.d.mts +35 -0
  1077. package/node_modules/pi-subagents/node_modules/typebox/build/guard/globals.mjs +90 -0
  1078. package/node_modules/pi-subagents/node_modules/typebox/build/guard/guard.d.mts +69 -0
  1079. package/node_modules/pi-subagents/node_modules/typebox/build/guard/guard.mjs +217 -0
  1080. package/node_modules/pi-subagents/node_modules/typebox/build/guard/index.d.mts +6 -0
  1081. package/node_modules/pi-subagents/node_modules/typebox/build/guard/index.mjs +6 -0
  1082. package/node_modules/pi-subagents/node_modules/typebox/build/guard/native.d.mts +20 -0
  1083. package/node_modules/pi-subagents/node_modules/typebox/build/guard/native.mjs +60 -0
  1084. package/node_modules/pi-subagents/node_modules/typebox/build/guard/string.d.mts +6 -0
  1085. package/node_modules/pi-subagents/node_modules/typebox/build/guard/string.mjs +164 -0
  1086. package/node_modules/pi-subagents/node_modules/typebox/build/index.d.mts +8 -0
  1087. package/node_modules/pi-subagents/node_modules/typebox/build/index.mjs +14 -0
  1088. package/node_modules/pi-subagents/node_modules/typebox/build/schema/build.d.mts +39 -0
  1089. package/node_modules/pi-subagents/node_modules/typebox/build/schema/build.mjs +118 -0
  1090. package/node_modules/pi-subagents/node_modules/typebox/build/schema/check.d.mts +6 -0
  1091. package/node_modules/pi-subagents/node_modules/typebox/build/schema/check.mjs +14 -0
  1092. package/node_modules/pi-subagents/node_modules/typebox/build/schema/compile.d.mts +22 -0
  1093. package/node_modules/pi-subagents/node_modules/typebox/build/schema/compile.mjs +46 -0
  1094. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_context.d.mts +35 -0
  1095. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_context.mjs +129 -0
  1096. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_exact_optional.d.mts +3 -0
  1097. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_exact_optional.mjs +20 -0
  1098. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_externals.d.mts +7 -0
  1099. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_externals.mjs +25 -0
  1100. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_functions.d.mts +6 -0
  1101. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_functions.mjs +47 -0
  1102. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_guard.d.mts +6 -0
  1103. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_guard.mjs +26 -0
  1104. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_reducer.d.mts +4 -0
  1105. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_reducer.mjs +45 -0
  1106. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_refine.d.mts +6 -0
  1107. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_refine.mjs +29 -0
  1108. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_stack.d.mts +18 -0
  1109. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_stack.mjs +107 -0
  1110. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_unique.d.mts +2 -0
  1111. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_unique.mjs +5 -0
  1112. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/additionalItems.d.mts +6 -0
  1113. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/additionalItems.mjs +50 -0
  1114. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +9 -0
  1115. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/additionalProperties.mjs +110 -0
  1116. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/allOf.d.mts +6 -0
  1117. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/allOf.mjs +47 -0
  1118. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/anyOf.d.mts +6 -0
  1119. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/anyOf.mjs +52 -0
  1120. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/boolean.d.mts +5 -0
  1121. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/boolean.mjs +25 -0
  1122. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/const.d.mts +6 -0
  1123. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/const.mjs +30 -0
  1124. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/contains.d.mts +6 -0
  1125. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/contains.mjs +42 -0
  1126. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/dependencies.d.mts +6 -0
  1127. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/dependencies.mjs +45 -0
  1128. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/dependentRequired.d.mts +6 -0
  1129. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/dependentRequired.mjs +40 -0
  1130. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/dependentSchemas.d.mts +6 -0
  1131. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +38 -0
  1132. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +6 -0
  1133. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/dynamicRef.mjs +25 -0
  1134. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/enum.d.mts +6 -0
  1135. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/enum.mjs +33 -0
  1136. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/exclusiveMaximum.d.mts +6 -0
  1137. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +25 -0
  1138. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/exclusiveMinimum.d.mts +6 -0
  1139. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +25 -0
  1140. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/format.d.mts +6 -0
  1141. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/format.mjs +26 -0
  1142. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/if.d.mts +6 -0
  1143. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/if.mjs +47 -0
  1144. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/index.d.mts +49 -0
  1145. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/index.mjs +55 -0
  1146. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/items.d.mts +6 -0
  1147. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/items.mjs +68 -0
  1148. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/maxContains.d.mts +6 -0
  1149. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/maxContains.mjs +42 -0
  1150. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/maxItems.d.mts +6 -0
  1151. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/maxItems.mjs +25 -0
  1152. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/maxLength.d.mts +6 -0
  1153. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/maxLength.mjs +25 -0
  1154. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/maxProperties.d.mts +6 -0
  1155. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/maxProperties.mjs +25 -0
  1156. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/maximum.d.mts +6 -0
  1157. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/maximum.mjs +25 -0
  1158. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/minContains.d.mts +6 -0
  1159. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/minContains.mjs +41 -0
  1160. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/minItems.d.mts +6 -0
  1161. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/minItems.mjs +25 -0
  1162. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/minLength.d.mts +6 -0
  1163. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/minLength.mjs +25 -0
  1164. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/minProperties.d.mts +6 -0
  1165. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/minProperties.mjs +25 -0
  1166. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/minimum.d.mts +6 -0
  1167. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/minimum.mjs +25 -0
  1168. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/multipleOf.d.mts +6 -0
  1169. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/multipleOf.mjs +25 -0
  1170. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/not.d.mts +6 -0
  1171. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/not.mjs +37 -0
  1172. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/oneOf.d.mts +6 -0
  1173. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/oneOf.mjs +58 -0
  1174. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/pattern.d.mts +6 -0
  1175. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/pattern.mjs +28 -0
  1176. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/patternProperties.d.mts +6 -0
  1177. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/patternProperties.mjs +44 -0
  1178. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/prefixItems.d.mts +6 -0
  1179. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/prefixItems.mjs +35 -0
  1180. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/properties.d.mts +6 -0
  1181. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/properties.mjs +75 -0
  1182. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/propertyNames.d.mts +6 -0
  1183. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/propertyNames.mjs +39 -0
  1184. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +6 -0
  1185. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/recursiveRef.mjs +25 -0
  1186. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/ref.d.mts +6 -0
  1187. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/ref.mjs +58 -0
  1188. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/required.d.mts +6 -0
  1189. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/required.mjs +32 -0
  1190. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/schema.d.mts +9 -0
  1191. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/schema.mjs +352 -0
  1192. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/type.d.mts +6 -0
  1193. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/type.mjs +74 -0
  1194. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/unevaluatedItems.d.mts +6 -0
  1195. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +51 -0
  1196. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/unevaluatedProperties.d.mts +6 -0
  1197. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +51 -0
  1198. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/uniqueItems.d.mts +6 -0
  1199. package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/uniqueItems.mjs +51 -0
  1200. package/node_modules/pi-subagents/node_modules/typebox/build/schema/errors.d.mts +6 -0
  1201. package/node_modules/pi-subagents/node_modules/typebox/build/schema/errors.mjs +24 -0
  1202. package/node_modules/pi-subagents/node_modules/typebox/build/schema/index.d.mts +3 -0
  1203. package/node_modules/pi-subagents/node_modules/typebox/build/schema/index.mjs +9 -0
  1204. package/node_modules/pi-subagents/node_modules/typebox/build/schema/parse.d.mts +13 -0
  1205. package/node_modules/pi-subagents/node_modules/typebox/build/schema/parse.mjs +27 -0
  1206. package/node_modules/pi-subagents/node_modules/typebox/build/schema/pointer/index.d.mts +2 -0
  1207. package/node_modules/pi-subagents/node_modules/typebox/build/schema/pointer/index.mjs +2 -0
  1208. package/node_modules/pi-subagents/node_modules/typebox/build/schema/pointer/pointer.d.mts +10 -0
  1209. package/node_modules/pi-subagents/node_modules/typebox/build/schema/pointer/pointer.mjs +106 -0
  1210. package/node_modules/pi-subagents/node_modules/typebox/build/schema/pointer/pointer_get.d.mts +9 -0
  1211. package/node_modules/pi-subagents/node_modules/typebox/build/schema/pointer/pointer_get.mjs +2 -0
  1212. package/node_modules/pi-subagents/node_modules/typebox/build/schema/resolve/index.d.mts +1 -0
  1213. package/node_modules/pi-subagents/node_modules/typebox/build/schema/resolve/index.mjs +1 -0
  1214. package/node_modules/pi-subagents/node_modules/typebox/build/schema/resolve/ref.d.mts +3 -0
  1215. package/node_modules/pi-subagents/node_modules/typebox/build/schema/resolve/ref.mjs +146 -0
  1216. package/node_modules/pi-subagents/node_modules/typebox/build/schema/resolve/resolve.d.mts +1 -0
  1217. package/node_modules/pi-subagents/node_modules/typebox/build/schema/resolve/resolve.mjs +1 -0
  1218. package/node_modules/pi-subagents/node_modules/typebox/build/schema/schema.d.mts +10 -0
  1219. package/node_modules/pi-subagents/node_modules/typebox/build/schema/schema.mjs +10 -0
  1220. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/_canonical.d.mts +7 -0
  1221. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/_canonical.mjs +2 -0
  1222. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/_comparer.d.mts +6 -0
  1223. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/_comparer.mjs +2 -0
  1224. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/_elements.d.mts +18 -0
  1225. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/_elements.mjs +2 -0
  1226. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/additionalProperties.d.mts +7 -0
  1227. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/additionalProperties.mjs +3 -0
  1228. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/allOf.d.mts +3 -0
  1229. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/allOf.mjs +2 -0
  1230. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/anyOf.d.mts +3 -0
  1231. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/anyOf.mjs +2 -0
  1232. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/const.d.mts +1 -0
  1233. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/const.mjs +2 -0
  1234. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/enum.d.mts +1 -0
  1235. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/enum.mjs +2 -0
  1236. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/if.d.mts +15 -0
  1237. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/if.mjs +2 -0
  1238. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/index.d.mts +1 -0
  1239. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/index.mjs +1 -0
  1240. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/items.d.mts +7 -0
  1241. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/items.mjs +2 -0
  1242. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/oneOf.d.mts +3 -0
  1243. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/oneOf.mjs +2 -0
  1244. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/patternProperties.d.mts +7 -0
  1245. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/patternProperties.mjs +2 -0
  1246. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/prefixItems.d.mts +3 -0
  1247. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/prefixItems.mjs +2 -0
  1248. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/properties.d.mts +32 -0
  1249. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/properties.mjs +2 -0
  1250. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/ref.d.mts +8 -0
  1251. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/ref.mjs +3 -0
  1252. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/required.d.mts +3 -0
  1253. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/required.mjs +3 -0
  1254. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/schema.d.mts +56 -0
  1255. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/schema.mjs +2 -0
  1256. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/static.d.mts +4 -0
  1257. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/static.mjs +3 -0
  1258. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/type.d.mts +4 -0
  1259. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/type.mjs +3 -0
  1260. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/unevaluatedProperties.d.mts +7 -0
  1261. package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/unevaluatedProperties.mjs +3 -0
  1262. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/_guard.d.mts +10 -0
  1263. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/_guard.mjs +16 -0
  1264. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/_refine.d.mts +13 -0
  1265. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/_refine.mjs +18 -0
  1266. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/additionalItems.d.mts +9 -0
  1267. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/additionalItems.mjs +14 -0
  1268. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/additionalProperties.d.mts +9 -0
  1269. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/additionalProperties.mjs +14 -0
  1270. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/allOf.d.mts +9 -0
  1271. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/allOf.mjs +15 -0
  1272. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/anchor.d.mts +8 -0
  1273. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/anchor.mjs +12 -0
  1274. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/anyOf.d.mts +9 -0
  1275. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/anyOf.mjs +15 -0
  1276. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/const.d.mts +9 -0
  1277. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/const.mjs +12 -0
  1278. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/contains.d.mts +9 -0
  1279. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/contains.mjs +14 -0
  1280. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/contentEncoding.d.mts +9 -0
  1281. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/contentEncoding.mjs +13 -0
  1282. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/contentMediaType.d.mts +9 -0
  1283. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/contentMediaType.mjs +13 -0
  1284. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/default.d.mts +9 -0
  1285. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/default.mjs +12 -0
  1286. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/defs.d.mts +6 -0
  1287. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/defs.mjs +12 -0
  1288. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/dependencies.d.mts +11 -0
  1289. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/dependencies.mjs +16 -0
  1290. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/dependentRequired.d.mts +9 -0
  1291. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/dependentRequired.mjs +15 -0
  1292. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/dependentSchemas.d.mts +9 -0
  1293. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/dependentSchemas.mjs +15 -0
  1294. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/dynamicAnchor.d.mts +8 -0
  1295. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/dynamicAnchor.mjs +12 -0
  1296. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/dynamicRef.d.mts +8 -0
  1297. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/dynamicRef.mjs +12 -0
  1298. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/else.d.mts +9 -0
  1299. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/else.mjs +14 -0
  1300. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/enum.d.mts +9 -0
  1301. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/enum.mjs +13 -0
  1302. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/exclusiveMaximum.d.mts +9 -0
  1303. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs +13 -0
  1304. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/exclusiveMinimum.d.mts +9 -0
  1305. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs +13 -0
  1306. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/format.d.mts +9 -0
  1307. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/format.mjs +13 -0
  1308. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/id.d.mts +9 -0
  1309. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/id.mjs +13 -0
  1310. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/if.d.mts +9 -0
  1311. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/if.mjs +14 -0
  1312. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/index.d.mts +54 -0
  1313. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/index.mjs +60 -0
  1314. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/items.d.mts +19 -0
  1315. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/items.mjs +26 -0
  1316. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/maxContains.d.mts +9 -0
  1317. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/maxContains.mjs +13 -0
  1318. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/maxItems.d.mts +9 -0
  1319. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/maxItems.mjs +13 -0
  1320. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/maxLength.d.mts +9 -0
  1321. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/maxLength.mjs +13 -0
  1322. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/maxProperties.d.mts +9 -0
  1323. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/maxProperties.mjs +13 -0
  1324. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/maximum.d.mts +9 -0
  1325. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/maximum.mjs +13 -0
  1326. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/minContains.d.mts +9 -0
  1327. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/minContains.mjs +13 -0
  1328. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/minItems.d.mts +9 -0
  1329. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/minItems.mjs +13 -0
  1330. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/minLength.d.mts +9 -0
  1331. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/minLength.mjs +13 -0
  1332. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/minProperties.d.mts +9 -0
  1333. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/minProperties.mjs +13 -0
  1334. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/minimum.d.mts +9 -0
  1335. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/minimum.mjs +13 -0
  1336. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/multipleOf.d.mts +9 -0
  1337. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/multipleOf.mjs +13 -0
  1338. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/not.d.mts +9 -0
  1339. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/not.mjs +14 -0
  1340. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/oneOf.d.mts +9 -0
  1341. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/oneOf.mjs +15 -0
  1342. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/pattern.d.mts +9 -0
  1343. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/pattern.mjs +14 -0
  1344. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/patternProperties.d.mts +9 -0
  1345. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/patternProperties.mjs +15 -0
  1346. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/prefixItems.d.mts +8 -0
  1347. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/prefixItems.mjs +14 -0
  1348. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/properties.d.mts +9 -0
  1349. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/properties.mjs +15 -0
  1350. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/propertyNames.d.mts +9 -0
  1351. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/propertyNames.mjs +15 -0
  1352. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/recursiveAnchor.d.mts +12 -0
  1353. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/recursiveAnchor.mjs +19 -0
  1354. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/recursiveRef.d.mts +8 -0
  1355. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/recursiveRef.mjs +12 -0
  1356. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/ref.d.mts +9 -0
  1357. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/ref.mjs +13 -0
  1358. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/required.d.mts +9 -0
  1359. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/required.mjs +14 -0
  1360. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/schema.d.mts +9 -0
  1361. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/schema.mjs +14 -0
  1362. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/then.d.mts +9 -0
  1363. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/then.mjs +14 -0
  1364. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/type.d.mts +9 -0
  1365. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/type.mjs +15 -0
  1366. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/unevaluatedItems.d.mts +9 -0
  1367. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/unevaluatedItems.mjs +14 -0
  1368. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/unevaluatedProperties.d.mts +9 -0
  1369. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs +14 -0
  1370. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/uniqueItems.d.mts +9 -0
  1371. package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/uniqueItems.mjs +13 -0
  1372. package/node_modules/pi-subagents/node_modules/typebox/build/system/arguments/arguments.d.mts +5 -0
  1373. package/node_modules/pi-subagents/node_modules/typebox/build/system/arguments/arguments.mjs +9 -0
  1374. package/node_modules/pi-subagents/node_modules/typebox/build/system/arguments/index.d.mts +1 -0
  1375. package/node_modules/pi-subagents/node_modules/typebox/build/system/arguments/index.mjs +1 -0
  1376. package/node_modules/pi-subagents/node_modules/typebox/build/system/environment/environment.d.mts +1 -0
  1377. package/node_modules/pi-subagents/node_modules/typebox/build/system/environment/environment.mjs +1 -0
  1378. package/node_modules/pi-subagents/node_modules/typebox/build/system/environment/evaluate.d.mts +9 -0
  1379. package/node_modules/pi-subagents/node_modules/typebox/build/system/environment/evaluate.mjs +37 -0
  1380. package/node_modules/pi-subagents/node_modules/typebox/build/system/environment/index.d.mts +1 -0
  1381. package/node_modules/pi-subagents/node_modules/typebox/build/system/environment/index.mjs +1 -0
  1382. package/node_modules/pi-subagents/node_modules/typebox/build/system/hashing/hash.d.mts +4 -0
  1383. package/node_modules/pi-subagents/node_modules/typebox/build/system/hashing/hash.mjs +232 -0
  1384. package/node_modules/pi-subagents/node_modules/typebox/build/system/hashing/index.d.mts +1 -0
  1385. package/node_modules/pi-subagents/node_modules/typebox/build/system/hashing/index.mjs +1 -0
  1386. package/node_modules/pi-subagents/node_modules/typebox/build/system/index.d.mts +4 -0
  1387. package/node_modules/pi-subagents/node_modules/typebox/build/system/index.mjs +4 -0
  1388. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/_config.d.mts +7 -0
  1389. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/_config.mjs +15 -0
  1390. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/_locale.d.mts +40 -0
  1391. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/_locale.mjs +40 -0
  1392. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ar_001.d.mts +3 -0
  1393. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ar_001.mjs +41 -0
  1394. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/bn_BD.d.mts +3 -0
  1395. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/bn_BD.mjs +41 -0
  1396. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/cs_CZ.d.mts +3 -0
  1397. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/cs_CZ.mjs +41 -0
  1398. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/de_DE.d.mts +3 -0
  1399. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/de_DE.mjs +41 -0
  1400. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/el_GR.d.mts +3 -0
  1401. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/el_GR.mjs +41 -0
  1402. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/en_US.d.mts +3 -0
  1403. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/en_US.mjs +40 -0
  1404. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/es_419.d.mts +3 -0
  1405. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/es_419.mjs +41 -0
  1406. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/es_AR.d.mts +3 -0
  1407. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/es_AR.mjs +41 -0
  1408. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/es_ES.d.mts +3 -0
  1409. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/es_ES.mjs +41 -0
  1410. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/es_MX.d.mts +3 -0
  1411. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/es_MX.mjs +41 -0
  1412. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/fa_IR.d.mts +3 -0
  1413. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/fa_IR.mjs +41 -0
  1414. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/fil_PH.d.mts +3 -0
  1415. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/fil_PH.mjs +41 -0
  1416. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/fr_CA.d.mts +3 -0
  1417. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/fr_CA.mjs +41 -0
  1418. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/fr_FR.d.mts +3 -0
  1419. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/fr_FR.mjs +41 -0
  1420. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ha_NG.d.mts +3 -0
  1421. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ha_NG.mjs +41 -0
  1422. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/hi_IN.d.mts +3 -0
  1423. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/hi_IN.mjs +41 -0
  1424. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/hu_HU.d.mts +3 -0
  1425. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/hu_HU.mjs +41 -0
  1426. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/id_ID.d.mts +3 -0
  1427. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/id_ID.mjs +41 -0
  1428. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/index.d.mts +1 -0
  1429. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/index.mjs +1 -0
  1430. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/it_IT.d.mts +3 -0
  1431. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/it_IT.mjs +41 -0
  1432. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ja_JP.d.mts +3 -0
  1433. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ja_JP.mjs +41 -0
  1434. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ko_KR.d.mts +3 -0
  1435. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ko_KR.mjs +41 -0
  1436. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ms_MY.d.mts +3 -0
  1437. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ms_MY.mjs +41 -0
  1438. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/nl_NL.d.mts +3 -0
  1439. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/nl_NL.mjs +41 -0
  1440. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/pl_PL.d.mts +3 -0
  1441. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/pl_PL.mjs +41 -0
  1442. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/pt_BR.d.mts +3 -0
  1443. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/pt_BR.mjs +41 -0
  1444. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/pt_PT.d.mts +3 -0
  1445. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/pt_PT.mjs +41 -0
  1446. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ro_RO.d.mts +3 -0
  1447. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ro_RO.mjs +41 -0
  1448. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ru_RU.d.mts +3 -0
  1449. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ru_RU.mjs +41 -0
  1450. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/sv_SE.d.mts +3 -0
  1451. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/sv_SE.mjs +41 -0
  1452. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/sw_TZ.d.mts +3 -0
  1453. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/sw_TZ.mjs +41 -0
  1454. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/th_TH.d.mts +3 -0
  1455. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/th_TH.mjs +41 -0
  1456. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/tr_TR.d.mts +3 -0
  1457. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/tr_TR.mjs +41 -0
  1458. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/uk_UA.d.mts +3 -0
  1459. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/uk_UA.mjs +41 -0
  1460. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ur_PK.d.mts +3 -0
  1461. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ur_PK.mjs +41 -0
  1462. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/vi_VN.d.mts +3 -0
  1463. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/vi_VN.mjs +41 -0
  1464. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/yo_NG.d.mts +3 -0
  1465. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/yo_NG.mjs +41 -0
  1466. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/zh_Hans.d.mts +3 -0
  1467. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/zh_Hans.mjs +41 -0
  1468. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/zh_Hant.d.mts +3 -0
  1469. package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/zh_Hant.mjs +41 -0
  1470. package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/assign.d.mts +14 -0
  1471. package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/assign.mjs +11 -0
  1472. package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/clone.d.mts +6 -0
  1473. package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/clone.mjs +63 -0
  1474. package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/create.d.mts +8 -0
  1475. package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/create.mjs +30 -0
  1476. package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/discard.d.mts +4 -0
  1477. package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/discard.mjs +17 -0
  1478. package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/index.d.mts +1 -0
  1479. package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/index.mjs +1 -0
  1480. package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/memory.d.mts +6 -0
  1481. package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/memory.mjs +7 -0
  1482. package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/metrics.d.mts +14 -0
  1483. package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/metrics.mjs +8 -0
  1484. package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/update.d.mts +7 -0
  1485. package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/update.mjs +32 -0
  1486. package/node_modules/pi-subagents/node_modules/typebox/build/system/settings/index.d.mts +1 -0
  1487. package/node_modules/pi-subagents/node_modules/typebox/build/system/settings/index.mjs +1 -0
  1488. package/node_modules/pi-subagents/node_modules/typebox/build/system/settings/settings.d.mts +56 -0
  1489. package/node_modules/pi-subagents/node_modules/typebox/build/system/settings/settings.mjs +32 -0
  1490. package/node_modules/pi-subagents/node_modules/typebox/build/system/system.d.mts +6 -0
  1491. package/node_modules/pi-subagents/node_modules/typebox/build/system/system.mjs +6 -0
  1492. package/node_modules/pi-subagents/node_modules/typebox/build/system/unreachable/index.d.mts +1 -0
  1493. package/node_modules/pi-subagents/node_modules/typebox/build/system/unreachable/index.mjs +1 -0
  1494. package/node_modules/pi-subagents/node_modules/typebox/build/system/unreachable/unreachable.d.mts +3 -0
  1495. package/node_modules/pi-subagents/node_modules/typebox/build/system/unreachable/unreachable.mjs +6 -0
  1496. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/_optional.d.mts +19 -0
  1497. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/_optional.mjs +40 -0
  1498. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/_readonly.d.mts +19 -0
  1499. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/_readonly.mjs +40 -0
  1500. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/awaited.d.mts +15 -0
  1501. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/awaited.mjs +15 -0
  1502. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/capitalize.d.mts +11 -0
  1503. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/capitalize.mjs +11 -0
  1504. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/conditional.d.mts +13 -0
  1505. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/conditional.mjs +12 -0
  1506. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/constructor_parameters.d.mts +11 -0
  1507. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/constructor_parameters.mjs +11 -0
  1508. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/evaluate.d.mts +11 -0
  1509. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/evaluate.mjs +11 -0
  1510. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/exclude.d.mts +11 -0
  1511. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/exclude.mjs +11 -0
  1512. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/extract.d.mts +11 -0
  1513. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/extract.mjs +11 -0
  1514. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/index.d.mts +27 -0
  1515. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/index.mjs +27 -0
  1516. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/indexed.d.mts +14 -0
  1517. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/indexed.mjs +14 -0
  1518. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/instance_type.d.mts +11 -0
  1519. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/instance_type.mjs +11 -0
  1520. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/interface.d.mts +14 -0
  1521. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/interface.mjs +22 -0
  1522. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/keyof.d.mts +11 -0
  1523. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/keyof.mjs +11 -0
  1524. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/lowercase.d.mts +11 -0
  1525. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/lowercase.mjs +11 -0
  1526. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/mapped.d.mts +14 -0
  1527. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/mapped.mjs +12 -0
  1528. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/module.d.mts +12 -0
  1529. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/module.mjs +12 -0
  1530. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/non_nullable.d.mts +11 -0
  1531. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/non_nullable.mjs +11 -0
  1532. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/omit.d.mts +14 -0
  1533. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/omit.mjs +14 -0
  1534. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/options.d.mts +11 -0
  1535. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/options.mjs +11 -0
  1536. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/parameters.d.mts +11 -0
  1537. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/parameters.mjs +11 -0
  1538. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/partial.d.mts +11 -0
  1539. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/partial.mjs +11 -0
  1540. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/pick.d.mts +14 -0
  1541. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/pick.mjs +14 -0
  1542. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/readonly_object.d.mts +16 -0
  1543. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/readonly_object.mjs +16 -0
  1544. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/required.d.mts +11 -0
  1545. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/required.mjs +11 -0
  1546. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/return_type.d.mts +11 -0
  1547. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/return_type.mjs +11 -0
  1548. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/uncapitalize.d.mts +11 -0
  1549. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/uncapitalize.mjs +11 -0
  1550. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/uppercase.d.mts +11 -0
  1551. package/node_modules/pi-subagents/node_modules/typebox/build/type/action/uppercase.mjs +11 -0
  1552. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/awaited/index.d.mts +1 -0
  1553. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/awaited/index.mjs +1 -0
  1554. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/awaited/instantiate.d.mts +11 -0
  1555. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/awaited/instantiate.mjs +20 -0
  1556. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +15 -0
  1557. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +53 -0
  1558. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/call/instantiate.d.mts +23 -0
  1559. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/call/instantiate.mjs +48 -0
  1560. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/call/resolve_arguments.d.mts +13 -0
  1561. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +33 -0
  1562. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/call/resolve_target.d.mts +25 -0
  1563. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/call/resolve_target.mjs +27 -0
  1564. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/conditional/index.d.mts +1 -0
  1565. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/conditional/index.mjs +1 -0
  1566. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/conditional/instantiate.d.mts +12 -0
  1567. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/conditional/instantiate.mjs +23 -0
  1568. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/constructor_parameters/index.d.mts +1 -0
  1569. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/constructor_parameters/index.mjs +1 -0
  1570. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +15 -0
  1571. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +24 -0
  1572. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +9 -0
  1573. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +19 -0
  1574. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/check.d.mts +24 -0
  1575. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/check.mjs +51 -0
  1576. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +25 -0
  1577. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +53 -0
  1578. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +31 -0
  1579. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/extends.mjs +53 -0
  1580. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/index.d.mts +6 -0
  1581. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/index.mjs +6 -0
  1582. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +20 -0
  1583. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +30 -0
  1584. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/target.d.mts +10 -0
  1585. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/target.mjs +16 -0
  1586. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/enum/enum_to_union.d.mts +14 -0
  1587. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/enum/enum_to_union.mjs +24 -0
  1588. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/enum/index.d.mts +2 -0
  1589. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/enum/index.mjs +2 -0
  1590. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.d.mts +8 -0
  1591. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs +9 -0
  1592. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +16 -0
  1593. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +47 -0
  1594. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +15 -0
  1595. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/compare.mjs +22 -0
  1596. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +30 -0
  1597. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/composite.mjs +63 -0
  1598. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +27 -0
  1599. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +45 -0
  1600. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +14 -0
  1601. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +27 -0
  1602. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +6 -0
  1603. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +11 -0
  1604. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/index.d.mts +8 -0
  1605. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/index.mjs +8 -0
  1606. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/instantiate.d.mts +8 -0
  1607. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs +12 -0
  1608. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +5 -0
  1609. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +11 -0
  1610. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/exclude/index.d.mts +1 -0
  1611. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/exclude/index.mjs +1 -0
  1612. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/exclude/instantiate.d.mts +9 -0
  1613. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/exclude/instantiate.mjs +16 -0
  1614. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/exclude/operation.d.mts +11 -0
  1615. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/exclude/operation.mjs +24 -0
  1616. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/extract/index.d.mts +1 -0
  1617. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/extract/index.mjs +1 -0
  1618. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/extract/instantiate.d.mts +9 -0
  1619. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/extract/instantiate.mjs +16 -0
  1620. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/extract/operation.d.mts +11 -0
  1621. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/extract/operation.mjs +24 -0
  1622. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/helpers/index.d.mts +3 -0
  1623. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/helpers/index.mjs +3 -0
  1624. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/helpers/keys.d.mts +3 -0
  1625. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/helpers/keys.mjs +8 -0
  1626. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.d.mts +7 -0
  1627. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs +15 -0
  1628. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/helpers/union.d.mts +7 -0
  1629. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/helpers/union.mjs +3 -0
  1630. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/index.d.mts +31 -0
  1631. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/index.mjs +37 -0
  1632. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_cyclic.d.mts +6 -0
  1633. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs +8 -0
  1634. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts +6 -0
  1635. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +8 -0
  1636. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_intersect.d.mts +5 -0
  1637. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs +8 -0
  1638. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_literal.d.mts +3 -0
  1639. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_literal.mjs +5 -0
  1640. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts +5 -0
  1641. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +8 -0
  1642. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_type.d.mts +17 -0
  1643. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_type.mjs +22 -0
  1644. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_union.d.mts +4 -0
  1645. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_union.mjs +7 -0
  1646. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/to_indexable.d.mts +9 -0
  1647. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs +14 -0
  1648. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.d.mts +10 -0
  1649. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs +12 -0
  1650. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/array_indexer.d.mts +12 -0
  1651. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs +18 -0
  1652. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/from_array.d.mts +15 -0
  1653. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/from_array.mjs +35 -0
  1654. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/from_object.d.mts +16 -0
  1655. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/from_object.mjs +40 -0
  1656. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/from_tuple.d.mts +13 -0
  1657. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs +35 -0
  1658. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/from_type.d.mts +11 -0
  1659. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/from_type.mjs +14 -0
  1660. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/index.d.mts +1 -0
  1661. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/index.mjs +1 -0
  1662. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts +15 -0
  1663. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +25 -0
  1664. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/instance_type/index.d.mts +1 -0
  1665. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/instance_type/index.mjs +1 -0
  1666. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/instance_type/instantiate.d.mts +12 -0
  1667. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs +21 -0
  1668. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/instantiate.d.mts +165 -0
  1669. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/instantiate.mjs +159 -0
  1670. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/interface/index.d.mts +1 -0
  1671. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/interface/index.mjs +1 -0
  1672. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +18 -0
  1673. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/interface/instantiate.mjs +23 -0
  1674. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/from_literal.d.mts +5 -0
  1675. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs +9 -0
  1676. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts +6 -0
  1677. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +8 -0
  1678. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/from_type.d.mts +10 -0
  1679. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs +13 -0
  1680. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/from_union.d.mts +6 -0
  1681. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs +7 -0
  1682. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/index.d.mts +1 -0
  1683. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/index.mjs +1 -0
  1684. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/instantiate.d.mts +38 -0
  1685. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs +52 -0
  1686. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/mapping.d.mts +9 -0
  1687. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs +4 -0
  1688. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_any.d.mts +6 -0
  1689. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_any.mjs +8 -0
  1690. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_array.d.mts +4 -0
  1691. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_array.mjs +5 -0
  1692. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_object.d.mts +10 -0
  1693. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_object.mjs +20 -0
  1694. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_record.d.mts +4 -0
  1695. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_record.mjs +5 -0
  1696. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_tuple.d.mts +5 -0
  1697. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs +7 -0
  1698. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_type.d.mts +15 -0
  1699. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_type.mjs +23 -0
  1700. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/index.d.mts +1 -0
  1701. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/index.mjs +1 -0
  1702. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts +15 -0
  1703. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +25 -0
  1704. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/mapped/index.d.mts +1 -0
  1705. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/mapped/index.mjs +1 -0
  1706. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/mapped/instantiate.d.mts +10 -0
  1707. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/mapped/instantiate.mjs +15 -0
  1708. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts +22 -0
  1709. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +42 -0
  1710. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts +16 -0
  1711. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +34 -0
  1712. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/module/index.d.mts +1 -0
  1713. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/module/index.mjs +1 -0
  1714. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/module/instantiate.d.mts +21 -0
  1715. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/module/instantiate.mjs +34 -0
  1716. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/non_nullable/index.d.mts +1 -0
  1717. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/non_nullable/index.mjs +1 -0
  1718. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/non_nullable/instantiate.d.mts +14 -0
  1719. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs +22 -0
  1720. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/collapse.d.mts +12 -0
  1721. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/collapse.mjs +14 -0
  1722. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_cyclic.d.mts +6 -0
  1723. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_cyclic.mjs +8 -0
  1724. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_intersect.d.mts +17 -0
  1725. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_intersect.mjs +22 -0
  1726. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_object.d.mts +3 -0
  1727. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_object.mjs +4 -0
  1728. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_tuple.d.mts +6 -0
  1729. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_tuple.mjs +9 -0
  1730. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_type.d.mts +14 -0
  1731. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_type.mjs +20 -0
  1732. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_union.d.mts +12 -0
  1733. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_union.mjs +19 -0
  1734. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/index.d.mts +1 -0
  1735. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/index.mjs +1 -0
  1736. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/omit/from_type.d.mts +12 -0
  1737. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/omit/from_type.mjs +18 -0
  1738. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/omit/index.d.mts +1 -0
  1739. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/omit/index.mjs +1 -0
  1740. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/omit/instantiate.d.mts +9 -0
  1741. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/omit/instantiate.mjs +16 -0
  1742. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/options/index.d.mts +1 -0
  1743. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/options/index.mjs +1 -0
  1744. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/options/instantiate.d.mts +8 -0
  1745. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/options/instantiate.mjs +14 -0
  1746. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/parameters/index.d.mts +1 -0
  1747. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/parameters/index.mjs +1 -0
  1748. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +15 -0
  1749. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +24 -0
  1750. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/from_cyclic.d.mts +10 -0
  1751. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs +11 -0
  1752. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts +5 -0
  1753. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +7 -0
  1754. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/from_object.d.mts +8 -0
  1755. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/from_object.mjs +11 -0
  1756. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/from_type.d.mts +12 -0
  1757. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/from_type.mjs +17 -0
  1758. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/from_union.d.mts +5 -0
  1759. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/from_union.mjs +7 -0
  1760. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/index.d.mts +1 -0
  1761. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/index.mjs +1 -0
  1762. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/instantiate.d.mts +9 -0
  1763. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/instantiate.mjs +15 -0
  1764. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/patterns/index.d.mts +2 -0
  1765. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/patterns/index.mjs +2 -0
  1766. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/patterns/pattern.d.mts +6 -0
  1767. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/patterns/pattern.mjs +11 -0
  1768. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/patterns/template.d.mts +7 -0
  1769. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/patterns/template.mjs +20 -0
  1770. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/pick/from_type.d.mts +13 -0
  1771. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/pick/from_type.mjs +20 -0
  1772. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/pick/index.d.mts +1 -0
  1773. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/pick/index.mjs +1 -0
  1774. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/pick/instantiate.d.mts +9 -0
  1775. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/pick/instantiate.mjs +16 -0
  1776. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +5 -0
  1777. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +7 -0
  1778. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.d.mts +10 -0
  1779. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs +11 -0
  1780. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts +5 -0
  1781. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +7 -0
  1782. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +8 -0
  1783. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +11 -0
  1784. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +5 -0
  1785. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +7 -0
  1786. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts +16 -0
  1787. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +22 -0
  1788. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_union.d.mts +5 -0
  1789. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs +7 -0
  1790. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/index.d.mts +1 -0
  1791. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/index.mjs +1 -0
  1792. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/instantiate.d.mts +9 -0
  1793. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs +15 -0
  1794. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key.d.mts +24 -0
  1795. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key.mjs +40 -0
  1796. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_any.d.mts +4 -0
  1797. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_any.mjs +6 -0
  1798. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_boolean.d.mts +7 -0
  1799. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs +5 -0
  1800. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts +6 -0
  1801. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +8 -0
  1802. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_integer.d.mts +5 -0
  1803. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_integer.mjs +7 -0
  1804. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_intersect.d.mts +5 -0
  1805. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs +8 -0
  1806. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_literal.d.mts +11 -0
  1807. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_literal.mjs +10 -0
  1808. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_number.d.mts +5 -0
  1809. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_number.mjs +7 -0
  1810. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_string.d.mts +5 -0
  1811. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_string.mjs +12 -0
  1812. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts +8 -0
  1813. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +12 -0
  1814. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_union.d.mts +20 -0
  1815. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_union.mjs +39 -0
  1816. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/index.d.mts +1 -0
  1817. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/index.mjs +1 -0
  1818. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/instantiate.d.mts +9 -0
  1819. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/instantiate.mjs +17 -0
  1820. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/record_create.d.mts +3 -0
  1821. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/record_create.mjs +7 -0
  1822. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/ref/index.d.mts +1 -0
  1823. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/ref/index.mjs +1 -0
  1824. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +6 -0
  1825. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/ref/instantiate.mjs +10 -0
  1826. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/from_cyclic.d.mts +10 -0
  1827. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/from_cyclic.mjs +11 -0
  1828. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/from_intersect.d.mts +5 -0
  1829. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/from_intersect.mjs +7 -0
  1830. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/from_object.d.mts +8 -0
  1831. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/from_object.mjs +11 -0
  1832. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/from_type.d.mts +12 -0
  1833. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/from_type.mjs +17 -0
  1834. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/from_union.d.mts +5 -0
  1835. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/from_union.mjs +7 -0
  1836. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/index.d.mts +1 -0
  1837. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/index.mjs +1 -0
  1838. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/instantiate.d.mts +9 -0
  1839. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/instantiate.mjs +15 -0
  1840. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/rest/index.d.mts +1 -0
  1841. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/rest/index.mjs +1 -0
  1842. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/rest/spread.d.mts +12 -0
  1843. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/rest/spread.mjs +19 -0
  1844. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/return_type/index.d.mts +1 -0
  1845. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/return_type/index.mjs +1 -0
  1846. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/return_type/instantiate.d.mts +12 -0
  1847. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/return_type/instantiate.mjs +21 -0
  1848. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/create.d.mts +1 -0
  1849. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/create.mjs +5 -0
  1850. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/decode.d.mts +30 -0
  1851. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/decode.mjs +81 -0
  1852. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/encode.d.mts +33 -0
  1853. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/encode.mjs +81 -0
  1854. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/index.d.mts +6 -0
  1855. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/index.mjs +6 -0
  1856. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/instantiate.d.mts +9 -0
  1857. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs +15 -0
  1858. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/is_finite.d.mts +12 -0
  1859. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +26 -0
  1860. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/is_pattern.d.mts +6 -0
  1861. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +9 -0
  1862. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/static.d.mts +18 -0
  1863. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/static.mjs +2 -0
  1864. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/this/expand_this.d.mts +19 -0
  1865. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/this/expand_this.mjs +32 -0
  1866. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/tuple/to_object.d.mts +12 -0
  1867. package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/tuple/to_object.mjs +14 -0
  1868. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/any.d.mts +9 -0
  1869. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/any.mjs +12 -0
  1870. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/array.d.mts +20 -0
  1871. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/array.mjs +21 -0
  1872. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/async_iterator.d.mts +7 -0
  1873. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/async_iterator.mjs +9 -0
  1874. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/bigint.d.mts +7 -0
  1875. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/bigint.mjs +9 -0
  1876. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/boolean.d.mts +7 -0
  1877. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/boolean.mjs +9 -0
  1878. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/constructor.d.mts +10 -0
  1879. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/constructor.mjs +17 -0
  1880. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/enum.d.mts +7 -0
  1881. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/enum.mjs +6 -0
  1882. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/extends.d.mts +13 -0
  1883. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/extends.mjs +17 -0
  1884. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/extends_left.d.mts +55 -0
  1885. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/extends_left.mjs +83 -0
  1886. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/extends_right.d.mts +25 -0
  1887. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/extends_right.mjs +44 -0
  1888. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/function.d.mts +10 -0
  1889. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/function.mjs +17 -0
  1890. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/index.d.mts +2 -0
  1891. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/index.mjs +2 -0
  1892. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/inference.d.mts +34 -0
  1893. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/inference.mjs +62 -0
  1894. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/integer.d.mts +8 -0
  1895. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/integer.mjs +10 -0
  1896. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/intersect.d.mts +6 -0
  1897. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/intersect.mjs +15 -0
  1898. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/iterator.d.mts +7 -0
  1899. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/iterator.mjs +9 -0
  1900. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/literal.d.mts +18 -0
  1901. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/literal.mjs +44 -0
  1902. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/never.d.mts +8 -0
  1903. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/never.mjs +9 -0
  1904. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/null.d.mts +7 -0
  1905. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/null.mjs +9 -0
  1906. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/number.d.mts +7 -0
  1907. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/number.mjs +9 -0
  1908. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/object.d.mts +25 -0
  1909. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/object.mjs +87 -0
  1910. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/parameters.d.mts +15 -0
  1911. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/parameters.mjs +28 -0
  1912. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/promise.d.mts +7 -0
  1913. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/promise.mjs +9 -0
  1914. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/result.d.mts +24 -0
  1915. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/result.mjs +36 -0
  1916. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/return_type.d.mts +7 -0
  1917. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/return_type.mjs +9 -0
  1918. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/string.d.mts +7 -0
  1919. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/string.mjs +9 -0
  1920. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/symbol.d.mts +7 -0
  1921. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/symbol.mjs +9 -0
  1922. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/template_literal.d.mts +6 -0
  1923. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/template_literal.mjs +7 -0
  1924. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/tuple.d.mts +25 -0
  1925. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/tuple.mjs +60 -0
  1926. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/undefined.d.mts +8 -0
  1927. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/undefined.mjs +10 -0
  1928. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/union.d.mts +11 -0
  1929. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/union.mjs +24 -0
  1930. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/unknown.d.mts +9 -0
  1931. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/unknown.mjs +12 -0
  1932. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/void.d.mts +7 -0
  1933. package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/void.mjs +9 -0
  1934. package/node_modules/pi-subagents/node_modules/typebox/build/type/index.d.mts +5 -0
  1935. package/node_modules/pi-subagents/node_modules/typebox/build/type/index.mjs +5 -0
  1936. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/index.d.mts +1 -0
  1937. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/index.mjs +1 -0
  1938. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/mapping.d.mts +365 -0
  1939. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/mapping.mjs +532 -0
  1940. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/parser.d.mts +260 -0
  1941. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/parser.mjs +135 -0
  1942. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/script.d.mts +17 -0
  1943. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/script.mjs +21 -0
  1944. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/bigint.d.mts +8 -0
  1945. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/bigint.mjs +14 -0
  1946. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/const.d.mts +11 -0
  1947. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/const.mjs +18 -0
  1948. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/ident.d.mts +16 -0
  1949. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/ident.mjs +26 -0
  1950. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/index.d.mts +12 -0
  1951. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/index.mjs +12 -0
  1952. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/integer.d.mts +11 -0
  1953. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/integer.mjs +19 -0
  1954. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/char.d.mts +75 -0
  1955. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/char.mjs +26 -0
  1956. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/guard.d.mts +1 -0
  1957. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/guard.mjs +15 -0
  1958. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/many.d.mts +7 -0
  1959. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/many.mjs +14 -0
  1960. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/match.d.mts +6 -0
  1961. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/match.mjs +11 -0
  1962. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/optional.d.mts +5 -0
  1963. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/optional.mjs +9 -0
  1964. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/take.d.mts +6 -0
  1965. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/take.mjs +30 -0
  1966. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/trim.d.mts +19 -0
  1967. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/trim.mjs +34 -0
  1968. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/number.d.mts +11 -0
  1969. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/number.mjs +19 -0
  1970. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/rest.d.mts +4 -0
  1971. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/rest.mjs +9 -0
  1972. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/span.d.mts +11 -0
  1973. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/span.mjs +24 -0
  1974. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/string.d.mts +11 -0
  1975. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/string.mjs +20 -0
  1976. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/unsigned_integer.d.mts +16 -0
  1977. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/unsigned_integer.mjs +26 -0
  1978. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/unsigned_number.d.mts +17 -0
  1979. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/unsigned_number.mjs +38 -0
  1980. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/until.d.mts +7 -0
  1981. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/until.mjs +21 -0
  1982. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/until_1.d.mts +5 -0
  1983. package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/until_1.mjs +12 -0
  1984. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/_codec.d.mts +30 -0
  1985. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/_codec.mjs +61 -0
  1986. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/_immutable.d.mts +16 -0
  1987. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/_immutable.mjs +26 -0
  1988. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/_optional.d.mts +16 -0
  1989. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/_optional.mjs +27 -0
  1990. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/_readonly.d.mts +16 -0
  1991. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/_readonly.mjs +26 -0
  1992. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/_refine.d.mts +26 -0
  1993. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/_refine.mjs +37 -0
  1994. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/any.d.mts +10 -0
  1995. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/any.mjs +18 -0
  1996. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/array.d.mts +18 -0
  1997. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/array.mjs +25 -0
  1998. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/async_iterator.d.mts +20 -0
  1999. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/async_iterator.mjs +28 -0
  2000. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/base.d.mts +50 -0
  2001. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/base.mjs +84 -0
  2002. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/bigint.d.mts +12 -0
  2003. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/bigint.mjs +21 -0
  2004. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/boolean.d.mts +11 -0
  2005. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/boolean.mjs +17 -0
  2006. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/call.d.mts +16 -0
  2007. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/call.mjs +22 -0
  2008. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/constructor.d.mts +18 -0
  2009. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/constructor.mjs +24 -0
  2010. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/cyclic.d.mts +16 -0
  2011. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/cyclic.mjs +29 -0
  2012. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/deferred.d.mts +12 -0
  2013. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/deferred.mjs +16 -0
  2014. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/enum.d.mts +16 -0
  2015. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/enum.mjs +17 -0
  2016. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/function.d.mts +21 -0
  2017. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/function.mjs +25 -0
  2018. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/generic.d.mts +13 -0
  2019. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/generic.mjs +17 -0
  2020. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/identifier.d.mts +11 -0
  2021. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/identifier.mjs +17 -0
  2022. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/index.d.mts +48 -0
  2023. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/index.mjs +54 -0
  2024. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/infer.d.mts +15 -0
  2025. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/infer.mjs +20 -0
  2026. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/integer.d.mts +12 -0
  2027. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/integer.mjs +21 -0
  2028. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/intersect.d.mts +15 -0
  2029. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/intersect.mjs +24 -0
  2030. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/iterator.d.mts +20 -0
  2031. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/iterator.mjs +28 -0
  2032. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/literal.d.mts +31 -0
  2033. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/literal.mjs +62 -0
  2034. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/never.d.mts +12 -0
  2035. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/never.mjs +22 -0
  2036. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/null.d.mts +11 -0
  2037. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/null.mjs +17 -0
  2038. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/number.d.mts +12 -0
  2039. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/number.mjs +21 -0
  2040. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/object.d.mts +18 -0
  2041. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/object.mjs +28 -0
  2042. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/parameter.d.mts +17 -0
  2043. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/parameter.mjs +21 -0
  2044. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/promise.d.mts +21 -0
  2045. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/promise.mjs +29 -0
  2046. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/properties.d.mts +43 -0
  2047. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/properties.mjs +15 -0
  2048. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/record.d.mts +46 -0
  2049. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/record.mjs +60 -0
  2050. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/ref.d.mts +19 -0
  2051. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/ref.mjs +18 -0
  2052. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/rest.d.mts +11 -0
  2053. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/rest.mjs +17 -0
  2054. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/schema.d.mts +176 -0
  2055. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/schema.mjs +15 -0
  2056. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/static.d.mts +48 -0
  2057. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/static.mjs +3 -0
  2058. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/string.d.mts +12 -0
  2059. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/string.mjs +22 -0
  2060. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/symbol.d.mts +11 -0
  2061. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/symbol.mjs +17 -0
  2062. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/template_literal.d.mts +28 -0
  2063. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/template_literal.mjs +37 -0
  2064. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/this.d.mts +14 -0
  2065. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/this.mjs +17 -0
  2066. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/tuple.d.mts +38 -0
  2067. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/tuple.mjs +25 -0
  2068. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/undefined.d.mts +11 -0
  2069. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/undefined.mjs +17 -0
  2070. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/union.d.mts +15 -0
  2071. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/union.mjs +24 -0
  2072. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/unknown.d.mts +10 -0
  2073. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/unknown.mjs +17 -0
  2074. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/unsafe.d.mts +10 -0
  2075. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/unsafe.mjs +20 -0
  2076. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/void.d.mts +11 -0
  2077. package/node_modules/pi-subagents/node_modules/typebox/build/type/types/void.mjs +17 -0
  2078. package/node_modules/pi-subagents/node_modules/typebox/build/typebox.d.mts +73 -0
  2079. package/node_modules/pi-subagents/node_modules/typebox/build/typebox.mjs +89 -0
  2080. package/node_modules/pi-subagents/node_modules/typebox/build/value/assert/assert.d.mts +14 -0
  2081. package/node_modules/pi-subagents/node_modules/typebox/build/value/assert/assert.mjs +28 -0
  2082. package/node_modules/pi-subagents/node_modules/typebox/build/value/assert/index.d.mts +1 -0
  2083. package/node_modules/pi-subagents/node_modules/typebox/build/value/assert/index.mjs +1 -0
  2084. package/node_modules/pi-subagents/node_modules/typebox/build/value/check/check.d.mts +5 -0
  2085. package/node_modules/pi-subagents/node_modules/typebox/build/value/check/check.mjs +11 -0
  2086. package/node_modules/pi-subagents/node_modules/typebox/build/value/check/index.d.mts +1 -0
  2087. package/node_modules/pi-subagents/node_modules/typebox/build/value/check/index.mjs +1 -0
  2088. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/additional.d.mts +2 -0
  2089. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/additional.mjs +6 -0
  2090. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/clean.d.mts +15 -0
  2091. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/clean.mjs +15 -0
  2092. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_array.d.mts +2 -0
  2093. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_array.mjs +8 -0
  2094. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_base.d.mts +2 -0
  2095. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_base.mjs +4 -0
  2096. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_cyclic.d.mts +2 -0
  2097. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_cyclic.mjs +6 -0
  2098. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_intersect.d.mts +2 -0
  2099. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_intersect.mjs +26 -0
  2100. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_object.d.mts +2 -0
  2101. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_object.mjs +31 -0
  2102. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_record.d.mts +2 -0
  2103. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_record.mjs +32 -0
  2104. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_ref.d.mts +2 -0
  2105. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_ref.mjs +8 -0
  2106. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_tuple.d.mts +2 -0
  2107. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_tuple.mjs +14 -0
  2108. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_type.d.mts +2 -0
  2109. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_type.mjs +23 -0
  2110. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_union.d.mts +2 -0
  2111. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_union.mjs +13 -0
  2112. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/index.d.mts +1 -0
  2113. package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/index.mjs +1 -0
  2114. package/node_modules/pi-subagents/node_modules/typebox/build/value/clone/clone.d.mts +5 -0
  2115. package/node_modules/pi-subagents/node_modules/typebox/build/value/clone/clone.mjs +83 -0
  2116. package/node_modules/pi-subagents/node_modules/typebox/build/value/clone/index.d.mts +1 -0
  2117. package/node_modules/pi-subagents/node_modules/typebox/build/value/clone/index.mjs +1 -0
  2118. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/callback.d.mts +2 -0
  2119. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/callback.mjs +25 -0
  2120. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/decode.d.mts +12 -0
  2121. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/decode.mjs +50 -0
  2122. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/encode.d.mts +12 -0
  2123. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/encode.mjs +50 -0
  2124. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_array.d.mts +2 -0
  2125. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_array.mjs +38 -0
  2126. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_cyclic.d.mts +2 -0
  2127. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_cyclic.mjs +8 -0
  2128. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_intersect.d.mts +2 -0
  2129. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_intersect.mjs +58 -0
  2130. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_object.d.mts +2 -0
  2131. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_object.mjs +45 -0
  2132. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_record.d.mts +2 -0
  2133. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_record.mjs +44 -0
  2134. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_ref.d.mts +2 -0
  2135. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_ref.mjs +31 -0
  2136. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_tuple.d.mts +2 -0
  2137. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_tuple.mjs +35 -0
  2138. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_type.d.mts +2 -0
  2139. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_type.mjs +22 -0
  2140. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_union.d.mts +2 -0
  2141. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_union.mjs +40 -0
  2142. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/has.d.mts +5 -0
  2143. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/has.mjs +93 -0
  2144. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/index.d.mts +3 -0
  2145. package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/index.mjs +3 -0
  2146. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/convert.d.mts +13 -0
  2147. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/convert.mjs +15 -0
  2148. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_additional.d.mts +6 -0
  2149. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_additional.mjs +18 -0
  2150. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_array.d.mts +2 -0
  2151. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_array.mjs +7 -0
  2152. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_base.d.mts +2 -0
  2153. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_base.mjs +4 -0
  2154. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_bigint.d.mts +2 -0
  2155. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_bigint.mjs +6 -0
  2156. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_boolean.d.mts +2 -0
  2157. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_boolean.mjs +6 -0
  2158. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_cyclic.d.mts +2 -0
  2159. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_cyclic.mjs +6 -0
  2160. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_enum.d.mts +2 -0
  2161. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_enum.mjs +7 -0
  2162. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_integer.d.mts +2 -0
  2163. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_integer.mjs +6 -0
  2164. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_intersect.d.mts +2 -0
  2165. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_intersect.mjs +8 -0
  2166. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_literal.d.mts +2 -0
  2167. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_literal.mjs +44 -0
  2168. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_null.d.mts +2 -0
  2169. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_null.mjs +6 -0
  2170. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_number.d.mts +2 -0
  2171. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_number.mjs +6 -0
  2172. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_object.d.mts +2 -0
  2173. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_object.mjs +28 -0
  2174. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_record.d.mts +2 -0
  2175. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_record.mjs +23 -0
  2176. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_ref.d.mts +2 -0
  2177. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_ref.mjs +8 -0
  2178. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_string.d.mts +2 -0
  2179. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_string.mjs +6 -0
  2180. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_template_literal.d.mts +2 -0
  2181. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_template_literal.mjs +7 -0
  2182. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_tuple.d.mts +2 -0
  2183. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_tuple.mjs +11 -0
  2184. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_type.d.mts +2 -0
  2185. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_type.mjs +45 -0
  2186. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_undefined.d.mts +2 -0
  2187. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_undefined.mjs +6 -0
  2188. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_union.d.mts +2 -0
  2189. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_union.mjs +13 -0
  2190. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_void.d.mts +2 -0
  2191. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_void.mjs +6 -0
  2192. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/index.d.mts +1 -0
  2193. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/index.mjs +1 -0
  2194. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/index.d.mts +1 -0
  2195. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/index.mjs +1 -0
  2196. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try.d.mts +8 -0
  2197. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try.mjs +8 -0
  2198. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_array.d.mts +2 -0
  2199. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_array.mjs +6 -0
  2200. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_bigint.d.mts +2 -0
  2201. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_bigint.mjs +45 -0
  2202. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_boolean.d.mts +2 -0
  2203. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_boolean.mjs +41 -0
  2204. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_null.d.mts +2 -0
  2205. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_null.mjs +44 -0
  2206. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_number.d.mts +2 -0
  2207. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_number.mjs +44 -0
  2208. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_result.d.mts +8 -0
  2209. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_result.mjs +17 -0
  2210. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_string.d.mts +2 -0
  2211. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_string.mjs +12 -0
  2212. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_undefined.d.mts +2 -0
  2213. package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_undefined.mjs +44 -0
  2214. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/create.d.mts +5 -0
  2215. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/create.mjs +11 -0
  2216. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/error.d.mts +5 -0
  2217. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/error.mjs +7 -0
  2218. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_array.d.mts +2 -0
  2219. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_array.mjs +10 -0
  2220. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_async_iterator.d.mts +2 -0
  2221. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_async_iterator.mjs +5 -0
  2222. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_base.d.mts +2 -0
  2223. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_base.mjs +4 -0
  2224. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_bigint.d.mts +2 -0
  2225. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_bigint.mjs +7 -0
  2226. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_boolean.d.mts +2 -0
  2227. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_boolean.mjs +4 -0
  2228. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_constructor.d.mts +2 -0
  2229. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_constructor.mjs +10 -0
  2230. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_cyclic.d.mts +2 -0
  2231. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_cyclic.mjs +6 -0
  2232. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_default.d.mts +3 -0
  2233. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_default.mjs +10 -0
  2234. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_enum.d.mts +2 -0
  2235. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_enum.mjs +6 -0
  2236. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_function.d.mts +2 -0
  2237. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_function.mjs +6 -0
  2238. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_integer.d.mts +2 -0
  2239. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_integer.mjs +8 -0
  2240. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_intersect.d.mts +2 -0
  2241. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_intersect.mjs +8 -0
  2242. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_iterator.d.mts +2 -0
  2243. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_iterator.mjs +5 -0
  2244. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_literal.d.mts +2 -0
  2245. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_literal.mjs +4 -0
  2246. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_never.d.mts +2 -0
  2247. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_never.mjs +5 -0
  2248. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_null.d.mts +2 -0
  2249. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_null.mjs +4 -0
  2250. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_number.d.mts +2 -0
  2251. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_number.mjs +8 -0
  2252. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_object.d.mts +2 -0
  2253. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_object.mjs +9 -0
  2254. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_promise.d.mts +2 -0
  2255. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_promise.mjs +5 -0
  2256. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_record.d.mts +2 -0
  2257. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_record.mjs +8 -0
  2258. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_ref.d.mts +2 -0
  2259. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_ref.mjs +9 -0
  2260. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_string.d.mts +2 -0
  2261. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_string.mjs +9 -0
  2262. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_symbol.d.mts +2 -0
  2263. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_symbol.mjs +4 -0
  2264. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_template_literal.d.mts +2 -0
  2265. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_template_literal.mjs +11 -0
  2266. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_tuple.d.mts +2 -0
  2267. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_tuple.mjs +5 -0
  2268. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_type.d.mts +2 -0
  2269. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_type.mjs +69 -0
  2270. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_undefined.d.mts +2 -0
  2271. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_undefined.mjs +4 -0
  2272. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_union.d.mts +2 -0
  2273. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_union.mjs +9 -0
  2274. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_void.d.mts +2 -0
  2275. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_void.mjs +4 -0
  2276. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/index.d.mts +2 -0
  2277. package/node_modules/pi-subagents/node_modules/typebox/build/value/create/index.mjs +2 -0
  2278. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/default.d.mts +13 -0
  2279. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/default.mjs +15 -0
  2280. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_array.d.mts +2 -0
  2281. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_array.mjs +12 -0
  2282. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_base.d.mts +2 -0
  2283. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_base.mjs +5 -0
  2284. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_cyclic.d.mts +2 -0
  2285. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_cyclic.mjs +7 -0
  2286. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_default.d.mts +3 -0
  2287. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_default.mjs +13 -0
  2288. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_intersect.d.mts +2 -0
  2289. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_intersect.mjs +9 -0
  2290. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_object.d.mts +2 -0
  2291. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_object.mjs +32 -0
  2292. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_record.d.mts +2 -0
  2293. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_record.mjs +26 -0
  2294. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_ref.d.mts +2 -0
  2295. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_ref.mjs +9 -0
  2296. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_tuple.d.mts +2 -0
  2297. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_tuple.mjs +14 -0
  2298. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_type.d.mts +2 -0
  2299. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_type.mjs +27 -0
  2300. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_union.d.mts +2 -0
  2301. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_union.mjs +14 -0
  2302. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/index.d.mts +1 -0
  2303. package/node_modules/pi-subagents/node_modules/typebox/build/value/default/index.mjs +1 -0
  2304. package/node_modules/pi-subagents/node_modules/typebox/build/value/delta/diff.d.mts +10 -0
  2305. package/node_modules/pi-subagents/node_modules/typebox/build/value/delta/diff.mjs +135 -0
  2306. package/node_modules/pi-subagents/node_modules/typebox/build/value/delta/edit.d.mts +24 -0
  2307. package/node_modules/pi-subagents/node_modules/typebox/build/value/delta/edit.mjs +17 -0
  2308. package/node_modules/pi-subagents/node_modules/typebox/build/value/delta/index.d.mts +3 -0
  2309. package/node_modules/pi-subagents/node_modules/typebox/build/value/delta/index.mjs +3 -0
  2310. package/node_modules/pi-subagents/node_modules/typebox/build/value/delta/patch.d.mts +8 -0
  2311. package/node_modules/pi-subagents/node_modules/typebox/build/value/delta/patch.mjs +42 -0
  2312. package/node_modules/pi-subagents/node_modules/typebox/build/value/equal/equal.d.mts +2 -0
  2313. package/node_modules/pi-subagents/node_modules/typebox/build/value/equal/equal.mjs +6 -0
  2314. package/node_modules/pi-subagents/node_modules/typebox/build/value/equal/index.d.mts +1 -0
  2315. package/node_modules/pi-subagents/node_modules/typebox/build/value/equal/index.mjs +1 -0
  2316. package/node_modules/pi-subagents/node_modules/typebox/build/value/errors/errors.d.mts +16 -0
  2317. package/node_modules/pi-subagents/node_modules/typebox/build/value/errors/errors.mjs +17 -0
  2318. package/node_modules/pi-subagents/node_modules/typebox/build/value/errors/index.d.mts +1 -0
  2319. package/node_modules/pi-subagents/node_modules/typebox/build/value/errors/index.mjs +1 -0
  2320. package/node_modules/pi-subagents/node_modules/typebox/build/value/hash/hash.d.mts +6 -0
  2321. package/node_modules/pi-subagents/node_modules/typebox/build/value/hash/hash.mjs +10 -0
  2322. package/node_modules/pi-subagents/node_modules/typebox/build/value/hash/index.d.mts +1 -0
  2323. package/node_modules/pi-subagents/node_modules/typebox/build/value/hash/index.mjs +1 -0
  2324. package/node_modules/pi-subagents/node_modules/typebox/build/value/index.d.mts +21 -0
  2325. package/node_modules/pi-subagents/node_modules/typebox/build/value/index.mjs +30 -0
  2326. package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/error.d.mts +3 -0
  2327. package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/error.mjs +6 -0
  2328. package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/from_array.d.mts +2 -0
  2329. package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/from_array.mjs +16 -0
  2330. package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/from_object.d.mts +2 -0
  2331. package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/from_object.mjs +40 -0
  2332. package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/from_unknown.d.mts +2 -0
  2333. package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/from_unknown.mjs +7 -0
  2334. package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/from_value.d.mts +2 -0
  2335. package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/from_value.mjs +12 -0
  2336. package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/index.d.mts +1 -0
  2337. package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/index.mjs +1 -0
  2338. package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/mutate.d.mts +11 -0
  2339. package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/mutate.mjs +41 -0
  2340. package/node_modules/pi-subagents/node_modules/typebox/build/value/parse/index.d.mts +1 -0
  2341. package/node_modules/pi-subagents/node_modules/typebox/build/value/parse/index.mjs +1 -0
  2342. package/node_modules/pi-subagents/node_modules/typebox/build/value/parse/parse.d.mts +11 -0
  2343. package/node_modules/pi-subagents/node_modules/typebox/build/value/parse/parse.mjs +47 -0
  2344. package/node_modules/pi-subagents/node_modules/typebox/build/value/pipeline/index.d.mts +1 -0
  2345. package/node_modules/pi-subagents/node_modules/typebox/build/value/pipeline/index.mjs +1 -0
  2346. package/node_modules/pi-subagents/node_modules/typebox/build/value/pipeline/pipeline.d.mts +10 -0
  2347. package/node_modules/pi-subagents/node_modules/typebox/build/value/pipeline/pipeline.mjs +15 -0
  2348. package/node_modules/pi-subagents/node_modules/typebox/build/value/pointer/index.d.mts +1 -0
  2349. package/node_modules/pi-subagents/node_modules/typebox/build/value/pointer/index.mjs +1 -0
  2350. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/error.d.mts +7 -0
  2351. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/error.mjs +8 -0
  2352. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_array.d.mts +2 -0
  2353. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_array.mjs +39 -0
  2354. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_base.d.mts +2 -0
  2355. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_base.mjs +8 -0
  2356. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_enum.d.mts +2 -0
  2357. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_enum.mjs +7 -0
  2358. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_intersect.d.mts +2 -0
  2359. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_intersect.mjs +8 -0
  2360. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_object.d.mts +2 -0
  2361. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_object.mjs +33 -0
  2362. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_record.d.mts +2 -0
  2363. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_record.mjs +33 -0
  2364. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_ref.d.mts +2 -0
  2365. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_ref.mjs +9 -0
  2366. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_template_literal.d.mts +2 -0
  2367. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_template_literal.mjs +7 -0
  2368. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_tuple.d.mts +2 -0
  2369. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_tuple.mjs +12 -0
  2370. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_type.d.mts +2 -0
  2371. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_type.mjs +86 -0
  2372. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_union.d.mts +2 -0
  2373. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_union.mjs +24 -0
  2374. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_unknown.d.mts +2 -0
  2375. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_unknown.mjs +12 -0
  2376. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/index.d.mts +1 -0
  2377. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/index.mjs +1 -0
  2378. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/repair.d.mts +17 -0
  2379. package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/repair.mjs +20 -0
  2380. package/node_modules/pi-subagents/node_modules/typebox/build/value/shared/index.d.mts +3 -0
  2381. package/node_modules/pi-subagents/node_modules/typebox/build/value/shared/index.mjs +4 -0
  2382. package/node_modules/pi-subagents/node_modules/typebox/build/value/shared/optional_undefined.d.mts +2 -0
  2383. package/node_modules/pi-subagents/node_modules/typebox/build/value/shared/optional_undefined.mjs +15 -0
  2384. package/node_modules/pi-subagents/node_modules/typebox/build/value/shared/union_priority_sort.d.mts +3 -0
  2385. package/node_modules/pi-subagents/node_modules/typebox/build/value/shared/union_priority_sort.mjs +36 -0
  2386. package/node_modules/pi-subagents/node_modules/typebox/build/value/shared/union_score_select.d.mts +3 -0
  2387. package/node_modules/pi-subagents/node_modules/typebox/build/value/shared/union_score_select.mjs +51 -0
  2388. package/node_modules/pi-subagents/node_modules/typebox/build/value/value.d.mts +16 -0
  2389. package/node_modules/pi-subagents/node_modules/typebox/build/value/value.mjs +16 -0
  2390. package/node_modules/pi-subagents/node_modules/typebox/license +23 -0
  2391. package/node_modules/pi-subagents/node_modules/typebox/package.json +87 -0
  2392. package/node_modules/pi-subagents/node_modules/typebox/readme.md +356 -0
  2393. package/node_modules/pi-subagents/package.json +104 -0
  2394. package/node_modules/pi-subagents/prompts/gather-context-and-clarify.md +13 -0
  2395. package/node_modules/pi-subagents/prompts/parallel-cleanup.md +59 -0
  2396. package/node_modules/pi-subagents/prompts/parallel-research.md +50 -0
  2397. package/node_modules/pi-subagents/prompts/parallel-review.md +54 -0
  2398. package/node_modules/pi-subagents/prompts/review-loop.md +43 -0
  2399. package/node_modules/pi-subagents/skills/pi-subagents/SKILL.md +41 -0
  2400. package/node_modules/pi-subagents/skills/pi-subagents/references/constraints-and-recipes.md +251 -0
  2401. package/node_modules/pi-subagents/skills/pi-subagents/references/execution-controls.md +428 -0
  2402. package/node_modules/pi-subagents/skills/pi-subagents/references/management-authoring-rpc.md +161 -0
  2403. package/node_modules/pi-subagents/skills/pi-subagents/references/prompting-and-roles.md +242 -0
  2404. package/node_modules/pi-subagents/src/agents/agent-management.ts +1256 -0
  2405. package/node_modules/pi-subagents/src/agents/agent-memory.ts +254 -0
  2406. package/node_modules/pi-subagents/src/agents/agent-refinements.ts +624 -0
  2407. package/node_modules/pi-subagents/src/agents/agent-scope.ts +6 -0
  2408. package/node_modules/pi-subagents/src/agents/agent-selection.ts +25 -0
  2409. package/node_modules/pi-subagents/src/agents/agent-serializer.ts +163 -0
  2410. package/node_modules/pi-subagents/src/agents/agents.ts +1898 -0
  2411. package/node_modules/pi-subagents/src/agents/chain-serializer.ts +280 -0
  2412. package/node_modules/pi-subagents/src/agents/frontmatter.ts +153 -0
  2413. package/node_modules/pi-subagents/src/agents/identity.ts +30 -0
  2414. package/node_modules/pi-subagents/src/agents/proactive-skills.ts +194 -0
  2415. package/node_modules/pi-subagents/src/agents/skills.ts +754 -0
  2416. package/node_modules/pi-subagents/src/api/background-work.ts +197 -0
  2417. package/node_modules/pi-subagents/src/api/capability-ceiling.ts +17 -0
  2418. package/node_modules/pi-subagents/src/api/control-channel.ts +4 -0
  2419. package/node_modules/pi-subagents/src/api/delegation.ts +119 -0
  2420. package/node_modules/pi-subagents/src/api/external-runs.ts +129 -0
  2421. package/node_modules/pi-subagents/src/api/intercom-bridge.ts +3 -0
  2422. package/node_modules/pi-subagents/src/api/pi-args.ts +5 -0
  2423. package/node_modules/pi-subagents/src/api/preflight.ts +403 -0
  2424. package/node_modules/pi-subagents/src/api/project-panes.ts +30 -0
  2425. package/node_modules/pi-subagents/src/api/shared-types.ts +19 -0
  2426. package/node_modules/pi-subagents/src/extension/config.ts +103 -0
  2427. package/node_modules/pi-subagents/src/extension/control-notices.ts +58 -0
  2428. package/node_modules/pi-subagents/src/extension/doctor.ts +230 -0
  2429. package/node_modules/pi-subagents/src/extension/fanout-child.ts +202 -0
  2430. package/node_modules/pi-subagents/src/extension/index.ts +850 -0
  2431. package/node_modules/pi-subagents/src/extension/public-execution.ts +71 -0
  2432. package/node_modules/pi-subagents/src/extension/rpc.ts +654 -0
  2433. package/node_modules/pi-subagents/src/extension/schemas.ts +396 -0
  2434. package/node_modules/pi-subagents/src/extension/steering-notices.ts +35 -0
  2435. package/node_modules/pi-subagents/src/extension/subagent-guide.ts +39 -0
  2436. package/node_modules/pi-subagents/src/extension/tool-description.ts +182 -0
  2437. package/node_modules/pi-subagents/src/inspectors/herdr/actions.ts +229 -0
  2438. package/node_modules/pi-subagents/src/inspectors/herdr/client.ts +130 -0
  2439. package/node_modules/pi-subagents/src/inspectors/herdr/inspector-runner.ts +141 -0
  2440. package/node_modules/pi-subagents/src/inspectors/herdr/project-panes.ts +550 -0
  2441. package/node_modules/pi-subagents/src/integrations/herdr-status.ts +330 -0
  2442. package/node_modules/pi-subagents/src/intercom/intercom-bridge.ts +187 -0
  2443. package/node_modules/pi-subagents/src/intercom/native-supervisor-channel.ts +813 -0
  2444. package/node_modules/pi-subagents/src/intercom/result-intercom.ts +421 -0
  2445. package/node_modules/pi-subagents/src/missions/actions.ts +433 -0
  2446. package/node_modules/pi-subagents/src/missions/goal-driver.ts +162 -0
  2447. package/node_modules/pi-subagents/src/missions/lifecycle.ts +365 -0
  2448. package/node_modules/pi-subagents/src/missions/store.ts +584 -0
  2449. package/node_modules/pi-subagents/src/missions/types.ts +190 -0
  2450. package/node_modules/pi-subagents/src/missions/workflow-state.ts +256 -0
  2451. package/node_modules/pi-subagents/src/policy/authority.ts +46 -0
  2452. package/node_modules/pi-subagents/src/profiles/profiles.ts +661 -0
  2453. package/node_modules/pi-subagents/src/runs/background/active-run-index.ts +42 -0
  2454. package/node_modules/pi-subagents/src/runs/background/async-execution.ts +1585 -0
  2455. package/node_modules/pi-subagents/src/runs/background/async-job-tracker.ts +671 -0
  2456. package/node_modules/pi-subagents/src/runs/background/async-resume.ts +555 -0
  2457. package/node_modules/pi-subagents/src/runs/background/async-status.ts +570 -0
  2458. package/node_modules/pi-subagents/src/runs/background/auto-drain.ts +67 -0
  2459. package/node_modules/pi-subagents/src/runs/background/chain-append.ts +328 -0
  2460. package/node_modules/pi-subagents/src/runs/background/chain-root-attachment.ts +199 -0
  2461. package/node_modules/pi-subagents/src/runs/background/completion-batcher.ts +168 -0
  2462. package/node_modules/pi-subagents/src/runs/background/completion-dedupe.ts +54 -0
  2463. package/node_modules/pi-subagents/src/runs/background/completion-replay.ts +267 -0
  2464. package/node_modules/pi-subagents/src/runs/background/control-channel.ts +733 -0
  2465. package/node_modules/pi-subagents/src/runs/background/fleet-view.ts +540 -0
  2466. package/node_modules/pi-subagents/src/runs/background/notify.ts +332 -0
  2467. package/node_modules/pi-subagents/src/runs/background/parallel-groups.ts +45 -0
  2468. package/node_modules/pi-subagents/src/runs/background/process-terminal.ts +280 -0
  2469. package/node_modules/pi-subagents/src/runs/background/result-watcher.ts +517 -0
  2470. package/node_modules/pi-subagents/src/runs/background/resume-guidance.ts +33 -0
  2471. package/node_modules/pi-subagents/src/runs/background/retained-children.ts +68 -0
  2472. package/node_modules/pi-subagents/src/runs/background/run-id-resolver.ts +167 -0
  2473. package/node_modules/pi-subagents/src/runs/background/run-status.ts +522 -0
  2474. package/node_modules/pi-subagents/src/runs/background/scheduled-runs.ts +777 -0
  2475. package/node_modules/pi-subagents/src/runs/background/stale-run-reconciler.ts +384 -0
  2476. package/node_modules/pi-subagents/src/runs/background/steering.ts +239 -0
  2477. package/node_modules/pi-subagents/src/runs/background/subagent-runner.ts +4776 -0
  2478. package/node_modules/pi-subagents/src/runs/background/subagent-wait.ts +664 -0
  2479. package/node_modules/pi-subagents/src/runs/background/top-level-async.ts +14 -0
  2480. package/node_modules/pi-subagents/src/runs/background/wait-completions.ts +146 -0
  2481. package/node_modules/pi-subagents/src/runs/background/wait-config.ts +36 -0
  2482. package/node_modules/pi-subagents/src/runs/background/wait-subscriptions.ts +269 -0
  2483. package/node_modules/pi-subagents/src/runs/background/wait-tool.ts +34 -0
  2484. package/node_modules/pi-subagents/src/runs/foreground/async-dismiss-action.ts +85 -0
  2485. package/node_modules/pi-subagents/src/runs/foreground/async-steering-action.ts +255 -0
  2486. package/node_modules/pi-subagents/src/runs/foreground/async-stop-action.ts +65 -0
  2487. package/node_modules/pi-subagents/src/runs/foreground/chain-clarify.ts +1354 -0
  2488. package/node_modules/pi-subagents/src/runs/foreground/chain-execution.ts +1530 -0
  2489. package/node_modules/pi-subagents/src/runs/foreground/execution.ts +1875 -0
  2490. package/node_modules/pi-subagents/src/runs/foreground/foreground-control.ts +132 -0
  2491. package/node_modules/pi-subagents/src/runs/foreground/foreground-history.ts +137 -0
  2492. package/node_modules/pi-subagents/src/runs/foreground/subagent-executor.ts +5937 -0
  2493. package/node_modules/pi-subagents/src/runs/foreground/workflow-foreground-steering.ts +187 -0
  2494. package/node_modules/pi-subagents/src/runs/shared/acceptance.ts +1365 -0
  2495. package/node_modules/pi-subagents/src/runs/shared/agent-contract.ts +38 -0
  2496. package/node_modules/pi-subagents/src/runs/shared/capability-ceiling.ts +209 -0
  2497. package/node_modules/pi-subagents/src/runs/shared/chain-outputs.ts +118 -0
  2498. package/node_modules/pi-subagents/src/runs/shared/child-protocol.ts +401 -0
  2499. package/node_modules/pi-subagents/src/runs/shared/completion-guard.ts +95 -0
  2500. package/node_modules/pi-subagents/src/runs/shared/context-mode.ts +44 -0
  2501. package/node_modules/pi-subagents/src/runs/shared/dynamic-fanout.ts +297 -0
  2502. package/node_modules/pi-subagents/src/runs/shared/external-cli-runner.ts +130 -0
  2503. package/node_modules/pi-subagents/src/runs/shared/long-running-guard.ts +220 -0
  2504. package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-allowlist.ts +406 -0
  2505. package/node_modules/pi-subagents/src/runs/shared/model-fallback.ts +340 -0
  2506. package/node_modules/pi-subagents/src/runs/shared/model-scope.ts +138 -0
  2507. package/node_modules/pi-subagents/src/runs/shared/nested-events.ts +1076 -0
  2508. package/node_modules/pi-subagents/src/runs/shared/nested-path.ts +52 -0
  2509. package/node_modules/pi-subagents/src/runs/shared/nested-render.ts +123 -0
  2510. package/node_modules/pi-subagents/src/runs/shared/parallel-handoff.ts +238 -0
  2511. package/node_modules/pi-subagents/src/runs/shared/parallel-utils.ts +257 -0
  2512. package/node_modules/pi-subagents/src/runs/shared/permissions.ts +95 -0
  2513. package/node_modules/pi-subagents/src/runs/shared/pi-args.ts +798 -0
  2514. package/node_modules/pi-subagents/src/runs/shared/pi-spawn.ts +163 -0
  2515. package/node_modules/pi-subagents/src/runs/shared/process-signal.ts +19 -0
  2516. package/node_modules/pi-subagents/src/runs/shared/run-history.ts +181 -0
  2517. package/node_modules/pi-subagents/src/runs/shared/runtime-acknowledged-extensions.ts +71 -0
  2518. package/node_modules/pi-subagents/src/runs/shared/session-lease.ts +299 -0
  2519. package/node_modules/pi-subagents/src/runs/shared/single-output.ts +235 -0
  2520. package/node_modules/pi-subagents/src/runs/shared/spawn-budget.ts +128 -0
  2521. package/node_modules/pi-subagents/src/runs/shared/structured-output.ts +182 -0
  2522. package/node_modules/pi-subagents/src/runs/shared/subagent-control.ts +231 -0
  2523. package/node_modules/pi-subagents/src/runs/shared/subagent-prompt-runtime.ts +673 -0
  2524. package/node_modules/pi-subagents/src/runs/shared/subagent-startup-retry.ts +104 -0
  2525. package/node_modules/pi-subagents/src/runs/shared/task-intent.ts +181 -0
  2526. package/node_modules/pi-subagents/src/runs/shared/tool-availability.ts +83 -0
  2527. package/node_modules/pi-subagents/src/runs/shared/tool-budget.ts +80 -0
  2528. package/node_modules/pi-subagents/src/runs/shared/turn-budget.ts +98 -0
  2529. package/node_modules/pi-subagents/src/runs/shared/usage-budget.ts +65 -0
  2530. package/node_modules/pi-subagents/src/runs/shared/workflow-graph.ts +231 -0
  2531. package/node_modules/pi-subagents/src/runs/shared/worktree.ts +760 -0
  2532. package/node_modules/pi-subagents/src/shared/accessible-dir.ts +47 -0
  2533. package/node_modules/pi-subagents/src/shared/artifacts.ts +285 -0
  2534. package/node_modules/pi-subagents/src/shared/atomic-json.ts +61 -0
  2535. package/node_modules/pi-subagents/src/shared/child-transcript.ts +264 -0
  2536. package/node_modules/pi-subagents/src/shared/display-text.ts +100 -0
  2537. package/node_modules/pi-subagents/src/shared/file-coalescer.ts +49 -0
  2538. package/node_modules/pi-subagents/src/shared/file-system-retry.ts +47 -0
  2539. package/node_modules/pi-subagents/src/shared/fork-context.ts +226 -0
  2540. package/node_modules/pi-subagents/src/shared/formatters.ts +131 -0
  2541. package/node_modules/pi-subagents/src/shared/jsonl-writer.ts +81 -0
  2542. package/node_modules/pi-subagents/src/shared/launch-contract.ts +124 -0
  2543. package/node_modules/pi-subagents/src/shared/model-info.ts +81 -0
  2544. package/node_modules/pi-subagents/src/shared/post-exit-stdio-guard.ts +85 -0
  2545. package/node_modules/pi-subagents/src/shared/prompt-resources.ts +51 -0
  2546. package/node_modules/pi-subagents/src/shared/session-identity.ts +10 -0
  2547. package/node_modules/pi-subagents/src/shared/session-tokens.ts +44 -0
  2548. package/node_modules/pi-subagents/src/shared/settings.ts +514 -0
  2549. package/node_modules/pi-subagents/src/shared/status-format.ts +55 -0
  2550. package/node_modules/pi-subagents/src/shared/types.ts +2112 -0
  2551. package/node_modules/pi-subagents/src/shared/utf8.ts +11 -0
  2552. package/node_modules/pi-subagents/src/shared/utils.ts +623 -0
  2553. package/node_modules/pi-subagents/src/slash/delegation-adapters.ts +434 -0
  2554. package/node_modules/pi-subagents/src/slash/delegation-json.ts +108 -0
  2555. package/node_modules/pi-subagents/src/slash/delegation-request.ts +166 -0
  2556. package/node_modules/pi-subagents/src/slash/prompt-template-bridge.ts +383 -0
  2557. package/node_modules/pi-subagents/src/slash/prompt-workflows.ts +287 -0
  2558. package/node_modules/pi-subagents/src/slash/selector.ts +147 -0
  2559. package/node_modules/pi-subagents/src/slash/slash-bridge.ts +192 -0
  2560. package/node_modules/pi-subagents/src/slash/slash-commands.ts +1014 -0
  2561. package/node_modules/pi-subagents/src/slash/slash-live-state.ts +296 -0
  2562. package/node_modules/pi-subagents/src/slash/subagents-admin.ts +432 -0
  2563. package/node_modules/pi-subagents/src/tui/fleet-status.ts +574 -0
  2564. package/node_modules/pi-subagents/src/tui/fleet-transcript.ts +577 -0
  2565. package/node_modules/pi-subagents/src/tui/fleet.ts +989 -0
  2566. package/node_modules/pi-subagents/src/tui/render-helpers.ts +80 -0
  2567. package/node_modules/pi-subagents/src/tui/render.ts +2146 -0
  2568. package/node_modules/pi-subagents/src/types/pi-runtime-compat.d.ts +8 -0
  2569. package/node_modules/pi-subagents/src/watchdog/change-signature.ts +221 -0
  2570. package/node_modules/pi-subagents/src/watchdog/child-status.ts +205 -0
  2571. package/node_modules/pi-subagents/src/watchdog/emission-guard.ts +123 -0
  2572. package/node_modules/pi-subagents/src/watchdog/lsp-diagnostics.ts +537 -0
  2573. package/node_modules/pi-subagents/src/watchdog/model-selection.ts +167 -0
  2574. package/node_modules/pi-subagents/src/watchdog/permission-arbiter.ts +145 -0
  2575. package/node_modules/pi-subagents/src/watchdog/register-child.ts +117 -0
  2576. package/node_modules/pi-subagents/src/watchdog/register-main.ts +440 -0
  2577. package/node_modules/pi-subagents/src/watchdog/render.ts +54 -0
  2578. package/node_modules/pi-subagents/src/watchdog/review.ts +302 -0
  2579. package/node_modules/pi-subagents/src/watchdog/runtime.ts +868 -0
  2580. package/node_modules/pi-subagents/src/watchdog/scope.ts +62 -0
  2581. package/node_modules/pi-subagents/src/watchdog/settings.ts +568 -0
  2582. package/node_modules/pi-subagents/src/watchdog/tool-actions.ts +155 -0
  2583. package/node_modules/pi-subagents/src/watchdog/turn-delta.ts +161 -0
  2584. package/node_modules/pi-subagents/src/watchdog/types.ts +198 -0
  2585. package/node_modules/pi-subagents/src/watchdog/warning-format.ts +73 -0
  2586. package/node_modules/pi-subagents/src/workflows/chat-progress.ts +140 -0
  2587. package/node_modules/pi-subagents/src/workflows/scripted-workflow.ts +703 -0
  2588. package/node_modules/pkce-challenge/CHANGELOG.md +114 -0
  2589. package/node_modules/pkce-challenge/LICENSE +21 -0
  2590. package/node_modules/pkce-challenge/README.md +55 -0
  2591. package/node_modules/pkce-challenge/dist/index.browser.d.ts +19 -0
  2592. package/node_modules/pkce-challenge/dist/index.browser.js +75 -0
  2593. package/node_modules/pkce-challenge/dist/index.node.cjs +83 -0
  2594. package/node_modules/pkce-challenge/dist/index.node.d.cts +19 -0
  2595. package/node_modules/pkce-challenge/dist/index.node.d.ts +19 -0
  2596. package/node_modules/pkce-challenge/dist/index.node.js +78 -0
  2597. package/node_modules/pkce-challenge/package.json +59 -0
  2598. package/node_modules/recheck/LICENSE +9 -0
  2599. package/node_modules/recheck/README.md +5 -0
  2600. package/node_modules/recheck/index.d.ts +400 -0
  2601. package/node_modules/recheck/index.js +4 -0
  2602. package/node_modules/recheck/lib/browser.js +124 -0
  2603. package/node_modules/recheck/lib/main.js +127 -0
  2604. package/node_modules/recheck/lib/synckit-worker.js +1 -0
  2605. package/node_modules/recheck/package.json +62 -0
  2606. package/node_modules/require-from-string/index.js +34 -0
  2607. package/node_modules/require-from-string/license +21 -0
  2608. package/node_modules/require-from-string/package.json +28 -0
  2609. package/node_modules/require-from-string/readme.md +56 -0
  2610. package/node_modules/run-applescript/index.d.ts +66 -0
  2611. package/node_modules/run-applescript/index.js +37 -0
  2612. package/node_modules/run-applescript/license +9 -0
  2613. package/node_modules/run-applescript/package.json +42 -0
  2614. package/node_modules/run-applescript/readme.md +78 -0
  2615. package/node_modules/shebang-command/index.js +19 -0
  2616. package/node_modules/shebang-command/license +9 -0
  2617. package/node_modules/shebang-command/package.json +34 -0
  2618. package/node_modules/shebang-command/readme.md +34 -0
  2619. package/node_modules/shebang-regex/index.d.ts +22 -0
  2620. package/node_modules/shebang-regex/index.js +2 -0
  2621. package/node_modules/shebang-regex/license +9 -0
  2622. package/node_modules/shebang-regex/package.json +35 -0
  2623. package/node_modules/shebang-regex/readme.md +33 -0
  2624. package/node_modules/smol-toml/LICENSE +24 -0
  2625. package/node_modules/smol-toml/README.md +418 -0
  2626. package/node_modules/smol-toml/dist/date.d.ts +41 -0
  2627. package/node_modules/smol-toml/dist/date.js +127 -0
  2628. package/node_modules/smol-toml/dist/error.d.ts +38 -0
  2629. package/node_modules/smol-toml/dist/error.js +63 -0
  2630. package/node_modules/smol-toml/dist/extract.js +69 -0
  2631. package/node_modules/smol-toml/dist/index.cjs +734 -0
  2632. package/node_modules/smol-toml/dist/index.d.ts +43 -0
  2633. package/node_modules/smol-toml/dist/index.js +33 -0
  2634. package/node_modules/smol-toml/dist/parse.d.ts +36 -0
  2635. package/node_modules/smol-toml/dist/parse.js +149 -0
  2636. package/node_modules/smol-toml/dist/primitive.js +238 -0
  2637. package/node_modules/smol-toml/dist/stringify.d.ts +31 -0
  2638. package/node_modules/smol-toml/dist/stringify.js +181 -0
  2639. package/node_modules/smol-toml/dist/struct.js +179 -0
  2640. package/node_modules/smol-toml/dist/util.d.ts +38 -0
  2641. package/node_modules/smol-toml/dist/util.js +89 -0
  2642. package/node_modules/smol-toml/package.json +68 -0
  2643. package/node_modules/strip-json-comments/index.d.ts +41 -0
  2644. package/node_modules/strip-json-comments/index.js +113 -0
  2645. package/node_modules/strip-json-comments/license +9 -0
  2646. package/node_modules/strip-json-comments/package.json +56 -0
  2647. package/node_modules/strip-json-comments/readme.md +75 -0
  2648. package/node_modules/synckit/LICENSE +21 -0
  2649. package/node_modules/synckit/README.md +191 -0
  2650. package/node_modules/synckit/lib/index.cjs +472 -0
  2651. package/node_modules/synckit/lib/index.d.ts +32 -0
  2652. package/node_modules/synckit/lib/index.js +380 -0
  2653. package/node_modules/synckit/lib/index.js.map +1 -0
  2654. package/node_modules/synckit/lib/types.d.ts +35 -0
  2655. package/node_modules/synckit/lib/types.js +2 -0
  2656. package/node_modules/synckit/lib/types.js.map +1 -0
  2657. package/node_modules/synckit/package.json +40 -0
  2658. package/node_modules/tslib/CopyrightNotice.txt +15 -0
  2659. package/node_modules/tslib/LICENSE.txt +12 -0
  2660. package/node_modules/tslib/README.md +164 -0
  2661. package/node_modules/tslib/SECURITY.md +41 -0
  2662. package/node_modules/tslib/modules/index.d.ts +38 -0
  2663. package/node_modules/tslib/modules/index.js +70 -0
  2664. package/node_modules/tslib/modules/package.json +3 -0
  2665. package/node_modules/tslib/package.json +47 -0
  2666. package/node_modules/tslib/tslib.d.ts +460 -0
  2667. package/node_modules/tslib/tslib.es6.html +1 -0
  2668. package/node_modules/tslib/tslib.es6.js +402 -0
  2669. package/node_modules/tslib/tslib.es6.mjs +401 -0
  2670. package/node_modules/tslib/tslib.html +1 -0
  2671. package/node_modules/tslib/tslib.js +484 -0
  2672. package/node_modules/which/LICENSE +15 -0
  2673. package/node_modules/which/README.md +54 -0
  2674. package/node_modules/which/bin/node-which +52 -0
  2675. package/node_modules/which/package.json +43 -0
  2676. package/node_modules/which/which.js +125 -0
  2677. package/node_modules/wsl-utils/index.d.ts +21 -0
  2678. package/node_modules/wsl-utils/index.js +57 -0
  2679. package/node_modules/wsl-utils/license +9 -0
  2680. package/node_modules/wsl-utils/package.json +46 -0
  2681. package/node_modules/wsl-utils/readme.md +50 -0
  2682. package/node_modules/yaml/LICENSE +13 -0
  2683. package/node_modules/yaml/README.md +172 -0
  2684. package/node_modules/yaml/bin.mjs +11 -0
  2685. package/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
  2686. package/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
  2687. package/node_modules/yaml/browser/dist/compose/compose-node.js +109 -0
  2688. package/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
  2689. package/node_modules/yaml/browser/dist/compose/composer.js +217 -0
  2690. package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
  2691. package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
  2692. package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
  2693. package/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
  2694. package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
  2695. package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +223 -0
  2696. package/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
  2697. package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
  2698. package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
  2699. package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
  2700. package/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
  2701. package/node_modules/yaml/browser/dist/doc/Document.js +335 -0
  2702. package/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
  2703. package/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
  2704. package/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
  2705. package/node_modules/yaml/browser/dist/doc/directives.js +176 -0
  2706. package/node_modules/yaml/browser/dist/errors.js +57 -0
  2707. package/node_modules/yaml/browser/dist/index.js +17 -0
  2708. package/node_modules/yaml/browser/dist/log.js +11 -0
  2709. package/node_modules/yaml/browser/dist/nodes/Alias.js +114 -0
  2710. package/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
  2711. package/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
  2712. package/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
  2713. package/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
  2714. package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
  2715. package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
  2716. package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
  2717. package/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
  2718. package/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
  2719. package/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
  2720. package/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
  2721. package/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
  2722. package/node_modules/yaml/browser/dist/parse/cst.js +98 -0
  2723. package/node_modules/yaml/browser/dist/parse/lexer.js +717 -0
  2724. package/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
  2725. package/node_modules/yaml/browser/dist/parse/parser.js +967 -0
  2726. package/node_modules/yaml/browser/dist/public-api.js +102 -0
  2727. package/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
  2728. package/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
  2729. package/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
  2730. package/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
  2731. package/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
  2732. package/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
  2733. package/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
  2734. package/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
  2735. package/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
  2736. package/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
  2737. package/node_modules/yaml/browser/dist/schema/tags.js +96 -0
  2738. package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
  2739. package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
  2740. package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
  2741. package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
  2742. package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +64 -0
  2743. package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
  2744. package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
  2745. package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
  2746. package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
  2747. package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
  2748. package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
  2749. package/node_modules/yaml/browser/dist/stringify/stringify.js +129 -0
  2750. package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +153 -0
  2751. package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
  2752. package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
  2753. package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +24 -0
  2754. package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
  2755. package/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
  2756. package/node_modules/yaml/browser/dist/util.js +11 -0
  2757. package/node_modules/yaml/browser/dist/visit.js +233 -0
  2758. package/node_modules/yaml/browser/index.js +5 -0
  2759. package/node_modules/yaml/browser/package.json +3 -0
  2760. package/node_modules/yaml/dist/cli.d.ts +8 -0
  2761. package/node_modules/yaml/dist/cli.mjs +201 -0
  2762. package/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
  2763. package/node_modules/yaml/dist/compose/compose-collection.js +90 -0
  2764. package/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
  2765. package/node_modules/yaml/dist/compose/compose-doc.js +45 -0
  2766. package/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
  2767. package/node_modules/yaml/dist/compose/compose-node.js +112 -0
  2768. package/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
  2769. package/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
  2770. package/node_modules/yaml/dist/compose/composer.d.ts +63 -0
  2771. package/node_modules/yaml/dist/compose/composer.js +222 -0
  2772. package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
  2773. package/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
  2774. package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
  2775. package/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
  2776. package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
  2777. package/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
  2778. package/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
  2779. package/node_modules/yaml/dist/compose/resolve-end.js +39 -0
  2780. package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
  2781. package/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
  2782. package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
  2783. package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +225 -0
  2784. package/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
  2785. package/node_modules/yaml/dist/compose/resolve-props.js +148 -0
  2786. package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
  2787. package/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
  2788. package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
  2789. package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
  2790. package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
  2791. package/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
  2792. package/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
  2793. package/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
  2794. package/node_modules/yaml/dist/doc/Document.d.ts +141 -0
  2795. package/node_modules/yaml/dist/doc/Document.js +337 -0
  2796. package/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
  2797. package/node_modules/yaml/dist/doc/anchors.js +76 -0
  2798. package/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
  2799. package/node_modules/yaml/dist/doc/applyReviver.js +57 -0
  2800. package/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
  2801. package/node_modules/yaml/dist/doc/createNode.js +90 -0
  2802. package/node_modules/yaml/dist/doc/directives.d.ts +49 -0
  2803. package/node_modules/yaml/dist/doc/directives.js +178 -0
  2804. package/node_modules/yaml/dist/errors.d.ts +21 -0
  2805. package/node_modules/yaml/dist/errors.js +62 -0
  2806. package/node_modules/yaml/dist/index.d.ts +25 -0
  2807. package/node_modules/yaml/dist/index.js +50 -0
  2808. package/node_modules/yaml/dist/log.d.ts +3 -0
  2809. package/node_modules/yaml/dist/log.js +19 -0
  2810. package/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
  2811. package/node_modules/yaml/dist/nodes/Alias.js +116 -0
  2812. package/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
  2813. package/node_modules/yaml/dist/nodes/Collection.js +151 -0
  2814. package/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
  2815. package/node_modules/yaml/dist/nodes/Node.js +40 -0
  2816. package/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
  2817. package/node_modules/yaml/dist/nodes/Pair.js +39 -0
  2818. package/node_modules/yaml/dist/nodes/Scalar.d.ts +43 -0
  2819. package/node_modules/yaml/dist/nodes/Scalar.js +27 -0
  2820. package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
  2821. package/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
  2822. package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
  2823. package/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
  2824. package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
  2825. package/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
  2826. package/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
  2827. package/node_modules/yaml/dist/nodes/identity.js +53 -0
  2828. package/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
  2829. package/node_modules/yaml/dist/nodes/toJS.js +39 -0
  2830. package/node_modules/yaml/dist/options.d.ts +350 -0
  2831. package/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
  2832. package/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
  2833. package/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
  2834. package/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
  2835. package/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
  2836. package/node_modules/yaml/dist/parse/cst-visit.js +99 -0
  2837. package/node_modules/yaml/dist/parse/cst.d.ts +109 -0
  2838. package/node_modules/yaml/dist/parse/cst.js +112 -0
  2839. package/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
  2840. package/node_modules/yaml/dist/parse/lexer.js +719 -0
  2841. package/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
  2842. package/node_modules/yaml/dist/parse/line-counter.js +41 -0
  2843. package/node_modules/yaml/dist/parse/parser.d.ts +84 -0
  2844. package/node_modules/yaml/dist/parse/parser.js +972 -0
  2845. package/node_modules/yaml/dist/public-api.d.ts +44 -0
  2846. package/node_modules/yaml/dist/public-api.js +107 -0
  2847. package/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
  2848. package/node_modules/yaml/dist/schema/Schema.js +39 -0
  2849. package/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
  2850. package/node_modules/yaml/dist/schema/common/map.js +19 -0
  2851. package/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
  2852. package/node_modules/yaml/dist/schema/common/null.js +17 -0
  2853. package/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
  2854. package/node_modules/yaml/dist/schema/common/seq.js +19 -0
  2855. package/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
  2856. package/node_modules/yaml/dist/schema/common/string.js +16 -0
  2857. package/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
  2858. package/node_modules/yaml/dist/schema/core/bool.js +21 -0
  2859. package/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
  2860. package/node_modules/yaml/dist/schema/core/float.js +47 -0
  2861. package/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
  2862. package/node_modules/yaml/dist/schema/core/int.js +42 -0
  2863. package/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
  2864. package/node_modules/yaml/dist/schema/core/schema.js +25 -0
  2865. package/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
  2866. package/node_modules/yaml/dist/schema/json/schema.js +64 -0
  2867. package/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
  2868. package/node_modules/yaml/dist/schema/tags.d.ts +48 -0
  2869. package/node_modules/yaml/dist/schema/tags.js +99 -0
  2870. package/node_modules/yaml/dist/schema/types.d.ts +92 -0
  2871. package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
  2872. package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
  2873. package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
  2874. package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
  2875. package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
  2876. package/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
  2877. package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
  2878. package/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
  2879. package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
  2880. package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +68 -0
  2881. package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
  2882. package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
  2883. package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
  2884. package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
  2885. package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
  2886. package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
  2887. package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
  2888. package/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
  2889. package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
  2890. package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
  2891. package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
  2892. package/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
  2893. package/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
  2894. package/node_modules/yaml/dist/stringify/stringify.js +132 -0
  2895. package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
  2896. package/node_modules/yaml/dist/stringify/stringifyCollection.js +155 -0
  2897. package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
  2898. package/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
  2899. package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
  2900. package/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
  2901. package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
  2902. package/node_modules/yaml/dist/stringify/stringifyNumber.js +26 -0
  2903. package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
  2904. package/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
  2905. package/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
  2906. package/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
  2907. package/node_modules/yaml/dist/test-events.d.ts +4 -0
  2908. package/node_modules/yaml/dist/test-events.js +134 -0
  2909. package/node_modules/yaml/dist/util.d.ts +16 -0
  2910. package/node_modules/yaml/dist/util.js +28 -0
  2911. package/node_modules/yaml/dist/visit.d.ts +102 -0
  2912. package/node_modules/yaml/dist/visit.js +236 -0
  2913. package/node_modules/yaml/package.json +97 -0
  2914. package/node_modules/yaml/util.js +2 -0
  2915. package/node_modules/zod/LICENSE +21 -0
  2916. package/node_modules/zod/README.md +191 -0
  2917. package/node_modules/zod/index.cjs +33 -0
  2918. package/node_modules/zod/index.d.cts +4 -0
  2919. package/node_modules/zod/index.d.ts +4 -0
  2920. package/node_modules/zod/index.js +4 -0
  2921. package/node_modules/zod/locales/index.cjs +17 -0
  2922. package/node_modules/zod/locales/index.d.cts +1 -0
  2923. package/node_modules/zod/locales/index.d.ts +1 -0
  2924. package/node_modules/zod/locales/index.js +1 -0
  2925. package/node_modules/zod/locales/package.json +7 -0
  2926. package/node_modules/zod/mini/index.cjs +32 -0
  2927. package/node_modules/zod/mini/index.d.cts +3 -0
  2928. package/node_modules/zod/mini/index.d.ts +3 -0
  2929. package/node_modules/zod/mini/index.js +3 -0
  2930. package/node_modules/zod/mini/package.json +7 -0
  2931. package/node_modules/zod/package.json +135 -0
  2932. package/node_modules/zod/src/index.ts +4 -0
  2933. package/node_modules/zod/src/locales/index.ts +1 -0
  2934. package/node_modules/zod/src/mini/index.ts +3 -0
  2935. package/node_modules/zod/src/v3/ZodError.ts +330 -0
  2936. package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  2937. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  2938. package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  2939. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  2940. package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  2941. package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  2942. package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  2943. package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  2944. package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  2945. package/node_modules/zod/src/v3/errors.ts +13 -0
  2946. package/node_modules/zod/src/v3/external.ts +6 -0
  2947. package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  2948. package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  2949. package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  2950. package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  2951. package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  2952. package/node_modules/zod/src/v3/helpers/util.ts +224 -0
  2953. package/node_modules/zod/src/v3/index.ts +4 -0
  2954. package/node_modules/zod/src/v3/locales/en.ts +124 -0
  2955. package/node_modules/zod/src/v3/standard-schema.ts +113 -0
  2956. package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  2957. package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  2958. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  2959. package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  2960. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  2961. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  2962. package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  2963. package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  2964. package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  2965. package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  2966. package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  2967. package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
  2968. package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  2969. package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  2970. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  2971. package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  2972. package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  2973. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  2974. package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  2975. package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
  2976. package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  2977. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  2978. package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
  2979. package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  2980. package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  2981. package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
  2982. package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  2983. package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
  2984. package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  2985. package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  2986. package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  2987. package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  2988. package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
  2989. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  2990. package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  2991. package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  2992. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  2993. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  2994. package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
  2995. package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  2996. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  2997. package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  2998. package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  2999. package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  3000. package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  3001. package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  3002. package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  3003. package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  3004. package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
  3005. package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  3006. package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  3007. package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  3008. package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  3009. package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  3010. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  3011. package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
  3012. package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  3013. package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  3014. package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  3015. package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  3016. package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  3017. package/node_modules/zod/src/v3/types.ts +5138 -0
  3018. package/node_modules/zod/src/v4/classic/checks.ts +32 -0
  3019. package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  3020. package/node_modules/zod/src/v4/classic/compat.ts +70 -0
  3021. package/node_modules/zod/src/v4/classic/errors.ts +82 -0
  3022. package/node_modules/zod/src/v4/classic/external.ts +52 -0
  3023. package/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
  3024. package/node_modules/zod/src/v4/classic/index.ts +5 -0
  3025. package/node_modules/zod/src/v4/classic/iso.ts +90 -0
  3026. package/node_modules/zod/src/v4/classic/parse.ts +82 -0
  3027. package/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
  3028. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  3029. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
  3030. package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  3031. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
  3032. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  3033. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  3034. package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  3035. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  3036. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
  3037. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
  3038. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  3039. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
  3040. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
  3041. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  3042. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
  3043. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  3044. package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
  3045. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
  3046. package/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
  3047. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  3048. package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  3049. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
  3050. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
  3051. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
  3052. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
  3053. package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
  3054. package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
  3055. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
  3056. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  3057. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
  3058. package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
  3059. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  3060. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
  3061. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
  3062. package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
  3063. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
  3064. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
  3065. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
  3066. package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
  3067. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  3068. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
  3069. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
  3070. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
  3071. package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
  3072. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  3073. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  3074. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
  3075. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  3076. package/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
  3077. package/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
  3078. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
  3079. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
  3080. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
  3081. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
  3082. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
  3083. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
  3084. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
  3085. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  3086. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  3087. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  3088. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  3089. package/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
  3090. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
  3091. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
  3092. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
  3093. package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
  3094. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
  3095. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
  3096. package/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
  3097. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
  3098. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
  3099. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  3100. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
  3101. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
  3102. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
  3103. package/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
  3104. package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  3105. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  3106. package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  3107. package/node_modules/zod/src/v4/core/api.ts +1823 -0
  3108. package/node_modules/zod/src/v4/core/checks.ts +1293 -0
  3109. package/node_modules/zod/src/v4/core/config.ts +15 -0
  3110. package/node_modules/zod/src/v4/core/core.ts +153 -0
  3111. package/node_modules/zod/src/v4/core/doc.ts +44 -0
  3112. package/node_modules/zod/src/v4/core/errors.ts +455 -0
  3113. package/node_modules/zod/src/v4/core/index.ts +16 -0
  3114. package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
  3115. package/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
  3116. package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
  3117. package/node_modules/zod/src/v4/core/parse.ts +195 -0
  3118. package/node_modules/zod/src/v4/core/regexes.ts +190 -0
  3119. package/node_modules/zod/src/v4/core/registries.ts +105 -0
  3120. package/node_modules/zod/src/v4/core/schemas.ts +4730 -0
  3121. package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  3122. package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  3123. package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  3124. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  3125. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
  3126. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  3127. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
  3128. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
  3129. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  3130. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
  3131. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  3132. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  3133. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  3134. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
  3135. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
  3136. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  3137. package/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
  3138. package/node_modules/zod/src/v4/core/util.ts +983 -0
  3139. package/node_modules/zod/src/v4/core/versions.ts +5 -0
  3140. package/node_modules/zod/src/v4/core/zsf.ts +323 -0
  3141. package/node_modules/zod/src/v4/index.ts +4 -0
  3142. package/node_modules/zod/src/v4/locales/ar.ts +115 -0
  3143. package/node_modules/zod/src/v4/locales/az.ts +111 -0
  3144. package/node_modules/zod/src/v4/locales/be.ts +176 -0
  3145. package/node_modules/zod/src/v4/locales/bg.ts +128 -0
  3146. package/node_modules/zod/src/v4/locales/ca.ts +116 -0
  3147. package/node_modules/zod/src/v4/locales/cs.ts +118 -0
  3148. package/node_modules/zod/src/v4/locales/da.ts +123 -0
  3149. package/node_modules/zod/src/v4/locales/de.ts +116 -0
  3150. package/node_modules/zod/src/v4/locales/el.ts +121 -0
  3151. package/node_modules/zod/src/v4/locales/en.ts +123 -0
  3152. package/node_modules/zod/src/v4/locales/eo.ts +118 -0
  3153. package/node_modules/zod/src/v4/locales/es.ts +141 -0
  3154. package/node_modules/zod/src/v4/locales/fa.ts +126 -0
  3155. package/node_modules/zod/src/v4/locales/fi.ts +121 -0
  3156. package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
  3157. package/node_modules/zod/src/v4/locales/fr.ts +132 -0
  3158. package/node_modules/zod/src/v4/locales/he.ts +246 -0
  3159. package/node_modules/zod/src/v4/locales/hr.ts +131 -0
  3160. package/node_modules/zod/src/v4/locales/hu.ts +117 -0
  3161. package/node_modules/zod/src/v4/locales/hy.ts +164 -0
  3162. package/node_modules/zod/src/v4/locales/id.ts +115 -0
  3163. package/node_modules/zod/src/v4/locales/index.ts +52 -0
  3164. package/node_modules/zod/src/v4/locales/is.ts +119 -0
  3165. package/node_modules/zod/src/v4/locales/it.ts +116 -0
  3166. package/node_modules/zod/src/v4/locales/ja.ts +114 -0
  3167. package/node_modules/zod/src/v4/locales/ka.ts +123 -0
  3168. package/node_modules/zod/src/v4/locales/kh.ts +7 -0
  3169. package/node_modules/zod/src/v4/locales/km.ts +119 -0
  3170. package/node_modules/zod/src/v4/locales/ko.ts +121 -0
  3171. package/node_modules/zod/src/v4/locales/lt.ts +239 -0
  3172. package/node_modules/zod/src/v4/locales/mk.ts +118 -0
  3173. package/node_modules/zod/src/v4/locales/ms.ts +115 -0
  3174. package/node_modules/zod/src/v4/locales/nl.ts +121 -0
  3175. package/node_modules/zod/src/v4/locales/no.ts +116 -0
  3176. package/node_modules/zod/src/v4/locales/ota.ts +117 -0
  3177. package/node_modules/zod/src/v4/locales/pl.ts +118 -0
  3178. package/node_modules/zod/src/v4/locales/ps.ts +126 -0
  3179. package/node_modules/zod/src/v4/locales/pt.ts +116 -0
  3180. package/node_modules/zod/src/v4/locales/ro.ts +129 -0
  3181. package/node_modules/zod/src/v4/locales/ru.ts +176 -0
  3182. package/node_modules/zod/src/v4/locales/sl.ts +118 -0
  3183. package/node_modules/zod/src/v4/locales/sv.ts +119 -0
  3184. package/node_modules/zod/src/v4/locales/ta.ts +118 -0
  3185. package/node_modules/zod/src/v4/locales/th.ts +119 -0
  3186. package/node_modules/zod/src/v4/locales/tr.ts +111 -0
  3187. package/node_modules/zod/src/v4/locales/ua.ts +7 -0
  3188. package/node_modules/zod/src/v4/locales/uk.ts +117 -0
  3189. package/node_modules/zod/src/v4/locales/ur.ts +119 -0
  3190. package/node_modules/zod/src/v4/locales/uz.ts +117 -0
  3191. package/node_modules/zod/src/v4/locales/vi.ts +117 -0
  3192. package/node_modules/zod/src/v4/locales/yo.ts +124 -0
  3193. package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
  3194. package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
  3195. package/node_modules/zod/src/v4/mini/checks.ts +32 -0
  3196. package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  3197. package/node_modules/zod/src/v4/mini/external.ts +41 -0
  3198. package/node_modules/zod/src/v4/mini/index.ts +3 -0
  3199. package/node_modules/zod/src/v4/mini/iso.ts +66 -0
  3200. package/node_modules/zod/src/v4/mini/parse.ts +14 -0
  3201. package/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
  3202. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
  3203. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  3204. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
  3205. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
  3206. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
  3207. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  3208. package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
  3209. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
  3210. package/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
  3211. package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
  3212. package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
  3213. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  3214. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
  3215. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  3216. package/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
  3217. package/node_modules/zod/src/v4-mini/index.ts +3 -0
  3218. package/node_modules/zod/v3/ZodError.cjs +138 -0
  3219. package/node_modules/zod/v3/ZodError.d.cts +164 -0
  3220. package/node_modules/zod/v3/ZodError.d.ts +164 -0
  3221. package/node_modules/zod/v3/ZodError.js +133 -0
  3222. package/node_modules/zod/v3/errors.cjs +17 -0
  3223. package/node_modules/zod/v3/errors.d.cts +5 -0
  3224. package/node_modules/zod/v3/errors.d.ts +5 -0
  3225. package/node_modules/zod/v3/errors.js +9 -0
  3226. package/node_modules/zod/v3/external.cjs +22 -0
  3227. package/node_modules/zod/v3/external.d.cts +6 -0
  3228. package/node_modules/zod/v3/external.d.ts +6 -0
  3229. package/node_modules/zod/v3/external.js +6 -0
  3230. package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  3231. package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  3232. package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  3233. package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  3234. package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  3235. package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  3236. package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  3237. package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  3238. package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  3239. package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  3240. package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  3241. package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  3242. package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  3243. package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  3244. package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  3245. package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  3246. package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  3247. package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  3248. package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  3249. package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  3250. package/node_modules/zod/v3/helpers/util.cjs +137 -0
  3251. package/node_modules/zod/v3/helpers/util.d.cts +85 -0
  3252. package/node_modules/zod/v3/helpers/util.d.ts +85 -0
  3253. package/node_modules/zod/v3/helpers/util.js +133 -0
  3254. package/node_modules/zod/v3/index.cjs +33 -0
  3255. package/node_modules/zod/v3/index.d.cts +4 -0
  3256. package/node_modules/zod/v3/index.d.ts +4 -0
  3257. package/node_modules/zod/v3/index.js +4 -0
  3258. package/node_modules/zod/v3/locales/en.cjs +112 -0
  3259. package/node_modules/zod/v3/locales/en.d.cts +3 -0
  3260. package/node_modules/zod/v3/locales/en.d.ts +3 -0
  3261. package/node_modules/zod/v3/locales/en.js +109 -0
  3262. package/node_modules/zod/v3/package.json +7 -0
  3263. package/node_modules/zod/v3/standard-schema.cjs +2 -0
  3264. package/node_modules/zod/v3/standard-schema.d.cts +102 -0
  3265. package/node_modules/zod/v3/standard-schema.d.ts +102 -0
  3266. package/node_modules/zod/v3/standard-schema.js +1 -0
  3267. package/node_modules/zod/v3/types.cjs +3777 -0
  3268. package/node_modules/zod/v3/types.d.cts +1034 -0
  3269. package/node_modules/zod/v3/types.d.ts +1034 -0
  3270. package/node_modules/zod/v3/types.js +3695 -0
  3271. package/node_modules/zod/v4/classic/checks.cjs +33 -0
  3272. package/node_modules/zod/v4/classic/checks.d.cts +1 -0
  3273. package/node_modules/zod/v4/classic/checks.d.ts +1 -0
  3274. package/node_modules/zod/v4/classic/checks.js +1 -0
  3275. package/node_modules/zod/v4/classic/coerce.cjs +47 -0
  3276. package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  3277. package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  3278. package/node_modules/zod/v4/classic/coerce.js +17 -0
  3279. package/node_modules/zod/v4/classic/compat.cjs +61 -0
  3280. package/node_modules/zod/v4/classic/compat.d.cts +50 -0
  3281. package/node_modules/zod/v4/classic/compat.d.ts +50 -0
  3282. package/node_modules/zod/v4/classic/compat.js +31 -0
  3283. package/node_modules/zod/v4/classic/errors.cjs +74 -0
  3284. package/node_modules/zod/v4/classic/errors.d.cts +30 -0
  3285. package/node_modules/zod/v4/classic/errors.d.ts +30 -0
  3286. package/node_modules/zod/v4/classic/errors.js +48 -0
  3287. package/node_modules/zod/v4/classic/external.cjs +73 -0
  3288. package/node_modules/zod/v4/classic/external.d.cts +16 -0
  3289. package/node_modules/zod/v4/classic/external.d.ts +16 -0
  3290. package/node_modules/zod/v4/classic/external.js +20 -0
  3291. package/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
  3292. package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  3293. package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  3294. package/node_modules/zod/v4/classic/from-json-schema.js +599 -0
  3295. package/node_modules/zod/v4/classic/index.cjs +33 -0
  3296. package/node_modules/zod/v4/classic/index.d.cts +4 -0
  3297. package/node_modules/zod/v4/classic/index.d.ts +4 -0
  3298. package/node_modules/zod/v4/classic/index.js +4 -0
  3299. package/node_modules/zod/v4/classic/iso.cjs +60 -0
  3300. package/node_modules/zod/v4/classic/iso.d.cts +22 -0
  3301. package/node_modules/zod/v4/classic/iso.d.ts +22 -0
  3302. package/node_modules/zod/v4/classic/iso.js +30 -0
  3303. package/node_modules/zod/v4/classic/package.json +7 -0
  3304. package/node_modules/zod/v4/classic/parse.cjs +41 -0
  3305. package/node_modules/zod/v4/classic/parse.d.cts +31 -0
  3306. package/node_modules/zod/v4/classic/parse.d.ts +31 -0
  3307. package/node_modules/zod/v4/classic/parse.js +15 -0
  3308. package/node_modules/zod/v4/classic/schemas.cjs +1511 -0
  3309. package/node_modules/zod/v4/classic/schemas.d.cts +767 -0
  3310. package/node_modules/zod/v4/classic/schemas.d.ts +767 -0
  3311. package/node_modules/zod/v4/classic/schemas.js +1395 -0
  3312. package/node_modules/zod/v4/core/api.cjs +1227 -0
  3313. package/node_modules/zod/v4/core/api.d.cts +325 -0
  3314. package/node_modules/zod/v4/core/api.d.ts +325 -0
  3315. package/node_modules/zod/v4/core/api.js +1087 -0
  3316. package/node_modules/zod/v4/core/checks.cjs +601 -0
  3317. package/node_modules/zod/v4/core/checks.d.cts +278 -0
  3318. package/node_modules/zod/v4/core/checks.d.ts +278 -0
  3319. package/node_modules/zod/v4/core/checks.js +575 -0
  3320. package/node_modules/zod/v4/core/core.cjs +85 -0
  3321. package/node_modules/zod/v4/core/core.d.cts +70 -0
  3322. package/node_modules/zod/v4/core/core.d.ts +70 -0
  3323. package/node_modules/zod/v4/core/core.js +78 -0
  3324. package/node_modules/zod/v4/core/doc.cjs +39 -0
  3325. package/node_modules/zod/v4/core/doc.d.cts +14 -0
  3326. package/node_modules/zod/v4/core/doc.d.ts +14 -0
  3327. package/node_modules/zod/v4/core/doc.js +35 -0
  3328. package/node_modules/zod/v4/core/errors.cjs +216 -0
  3329. package/node_modules/zod/v4/core/errors.d.cts +221 -0
  3330. package/node_modules/zod/v4/core/errors.d.ts +221 -0
  3331. package/node_modules/zod/v4/core/errors.js +185 -0
  3332. package/node_modules/zod/v4/core/index.cjs +47 -0
  3333. package/node_modules/zod/v4/core/index.d.cts +16 -0
  3334. package/node_modules/zod/v4/core/index.d.ts +16 -0
  3335. package/node_modules/zod/v4/core/index.js +16 -0
  3336. package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
  3337. package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  3338. package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  3339. package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
  3340. package/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
  3341. package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
  3342. package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
  3343. package/node_modules/zod/v4/core/json-schema-processors.js +601 -0
  3344. package/node_modules/zod/v4/core/json-schema.cjs +2 -0
  3345. package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
  3346. package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
  3347. package/node_modules/zod/v4/core/json-schema.js +1 -0
  3348. package/node_modules/zod/v4/core/package.json +7 -0
  3349. package/node_modules/zod/v4/core/parse.cjs +131 -0
  3350. package/node_modules/zod/v4/core/parse.d.cts +49 -0
  3351. package/node_modules/zod/v4/core/parse.d.ts +49 -0
  3352. package/node_modules/zod/v4/core/parse.js +93 -0
  3353. package/node_modules/zod/v4/core/regexes.cjs +172 -0
  3354. package/node_modules/zod/v4/core/regexes.d.cts +85 -0
  3355. package/node_modules/zod/v4/core/regexes.d.ts +85 -0
  3356. package/node_modules/zod/v4/core/regexes.js +139 -0
  3357. package/node_modules/zod/v4/core/registries.cjs +56 -0
  3358. package/node_modules/zod/v4/core/registries.d.cts +35 -0
  3359. package/node_modules/zod/v4/core/registries.d.ts +35 -0
  3360. package/node_modules/zod/v4/core/registries.js +51 -0
  3361. package/node_modules/zod/v4/core/schemas.cjs +2270 -0
  3362. package/node_modules/zod/v4/core/schemas.d.cts +1184 -0
  3363. package/node_modules/zod/v4/core/schemas.d.ts +1184 -0
  3364. package/node_modules/zod/v4/core/schemas.js +2239 -0
  3365. package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  3366. package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  3367. package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  3368. package/node_modules/zod/v4/core/standard-schema.js +1 -0
  3369. package/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
  3370. package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
  3371. package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
  3372. package/node_modules/zod/v4/core/to-json-schema.js +448 -0
  3373. package/node_modules/zod/v4/core/util.cjs +734 -0
  3374. package/node_modules/zod/v4/core/util.d.cts +200 -0
  3375. package/node_modules/zod/v4/core/util.d.ts +200 -0
  3376. package/node_modules/zod/v4/core/util.js +674 -0
  3377. package/node_modules/zod/v4/core/versions.cjs +8 -0
  3378. package/node_modules/zod/v4/core/versions.d.cts +5 -0
  3379. package/node_modules/zod/v4/core/versions.d.ts +5 -0
  3380. package/node_modules/zod/v4/core/versions.js +5 -0
  3381. package/node_modules/zod/v4/index.cjs +22 -0
  3382. package/node_modules/zod/v4/index.d.cts +3 -0
  3383. package/node_modules/zod/v4/index.d.ts +3 -0
  3384. package/node_modules/zod/v4/index.js +3 -0
  3385. package/node_modules/zod/v4/locales/ar.cjs +133 -0
  3386. package/node_modules/zod/v4/locales/ar.d.cts +5 -0
  3387. package/node_modules/zod/v4/locales/ar.d.ts +4 -0
  3388. package/node_modules/zod/v4/locales/ar.js +106 -0
  3389. package/node_modules/zod/v4/locales/az.cjs +132 -0
  3390. package/node_modules/zod/v4/locales/az.d.cts +5 -0
  3391. package/node_modules/zod/v4/locales/az.d.ts +4 -0
  3392. package/node_modules/zod/v4/locales/az.js +105 -0
  3393. package/node_modules/zod/v4/locales/be.cjs +183 -0
  3394. package/node_modules/zod/v4/locales/be.d.cts +5 -0
  3395. package/node_modules/zod/v4/locales/be.d.ts +4 -0
  3396. package/node_modules/zod/v4/locales/be.js +156 -0
  3397. package/node_modules/zod/v4/locales/bg.cjs +147 -0
  3398. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  3399. package/node_modules/zod/v4/locales/bg.d.ts +4 -0
  3400. package/node_modules/zod/v4/locales/bg.js +120 -0
  3401. package/node_modules/zod/v4/locales/ca.cjs +134 -0
  3402. package/node_modules/zod/v4/locales/ca.d.cts +5 -0
  3403. package/node_modules/zod/v4/locales/ca.d.ts +4 -0
  3404. package/node_modules/zod/v4/locales/ca.js +107 -0
  3405. package/node_modules/zod/v4/locales/cs.cjs +138 -0
  3406. package/node_modules/zod/v4/locales/cs.d.cts +5 -0
  3407. package/node_modules/zod/v4/locales/cs.d.ts +4 -0
  3408. package/node_modules/zod/v4/locales/cs.js +111 -0
  3409. package/node_modules/zod/v4/locales/da.cjs +142 -0
  3410. package/node_modules/zod/v4/locales/da.d.cts +5 -0
  3411. package/node_modules/zod/v4/locales/da.d.ts +4 -0
  3412. package/node_modules/zod/v4/locales/da.js +115 -0
  3413. package/node_modules/zod/v4/locales/de.cjs +135 -0
  3414. package/node_modules/zod/v4/locales/de.d.cts +5 -0
  3415. package/node_modules/zod/v4/locales/de.d.ts +4 -0
  3416. package/node_modules/zod/v4/locales/de.js +108 -0
  3417. package/node_modules/zod/v4/locales/el.cjs +136 -0
  3418. package/node_modules/zod/v4/locales/el.d.cts +5 -0
  3419. package/node_modules/zod/v4/locales/el.d.ts +4 -0
  3420. package/node_modules/zod/v4/locales/el.js +109 -0
  3421. package/node_modules/zod/v4/locales/en.cjs +140 -0
  3422. package/node_modules/zod/v4/locales/en.d.cts +5 -0
  3423. package/node_modules/zod/v4/locales/en.d.ts +4 -0
  3424. package/node_modules/zod/v4/locales/en.js +113 -0
  3425. package/node_modules/zod/v4/locales/eo.cjs +136 -0
  3426. package/node_modules/zod/v4/locales/eo.d.cts +5 -0
  3427. package/node_modules/zod/v4/locales/eo.d.ts +4 -0
  3428. package/node_modules/zod/v4/locales/eo.js +109 -0
  3429. package/node_modules/zod/v4/locales/es.cjs +159 -0
  3430. package/node_modules/zod/v4/locales/es.d.cts +5 -0
  3431. package/node_modules/zod/v4/locales/es.d.ts +4 -0
  3432. package/node_modules/zod/v4/locales/es.js +132 -0
  3433. package/node_modules/zod/v4/locales/fa.cjs +141 -0
  3434. package/node_modules/zod/v4/locales/fa.d.cts +5 -0
  3435. package/node_modules/zod/v4/locales/fa.d.ts +4 -0
  3436. package/node_modules/zod/v4/locales/fa.js +114 -0
  3437. package/node_modules/zod/v4/locales/fi.cjs +139 -0
  3438. package/node_modules/zod/v4/locales/fi.d.cts +5 -0
  3439. package/node_modules/zod/v4/locales/fi.d.ts +4 -0
  3440. package/node_modules/zod/v4/locales/fi.js +112 -0
  3441. package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
  3442. package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  3443. package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  3444. package/node_modules/zod/v4/locales/fr-CA.js +107 -0
  3445. package/node_modules/zod/v4/locales/fr.cjs +152 -0
  3446. package/node_modules/zod/v4/locales/fr.d.cts +5 -0
  3447. package/node_modules/zod/v4/locales/fr.d.ts +4 -0
  3448. package/node_modules/zod/v4/locales/fr.js +125 -0
  3449. package/node_modules/zod/v4/locales/he.cjs +241 -0
  3450. package/node_modules/zod/v4/locales/he.d.cts +5 -0
  3451. package/node_modules/zod/v4/locales/he.d.ts +4 -0
  3452. package/node_modules/zod/v4/locales/he.js +214 -0
  3453. package/node_modules/zod/v4/locales/hr.cjs +149 -0
  3454. package/node_modules/zod/v4/locales/hr.d.cts +5 -0
  3455. package/node_modules/zod/v4/locales/hr.d.ts +4 -0
  3456. package/node_modules/zod/v4/locales/hr.js +122 -0
  3457. package/node_modules/zod/v4/locales/hu.cjs +135 -0
  3458. package/node_modules/zod/v4/locales/hu.d.cts +5 -0
  3459. package/node_modules/zod/v4/locales/hu.d.ts +4 -0
  3460. package/node_modules/zod/v4/locales/hu.js +108 -0
  3461. package/node_modules/zod/v4/locales/hy.cjs +174 -0
  3462. package/node_modules/zod/v4/locales/hy.d.cts +5 -0
  3463. package/node_modules/zod/v4/locales/hy.d.ts +4 -0
  3464. package/node_modules/zod/v4/locales/hy.js +147 -0
  3465. package/node_modules/zod/v4/locales/id.cjs +133 -0
  3466. package/node_modules/zod/v4/locales/id.d.cts +5 -0
  3467. package/node_modules/zod/v4/locales/id.d.ts +4 -0
  3468. package/node_modules/zod/v4/locales/id.js +106 -0
  3469. package/node_modules/zod/v4/locales/index.cjs +111 -0
  3470. package/node_modules/zod/v4/locales/index.d.cts +52 -0
  3471. package/node_modules/zod/v4/locales/index.d.ts +52 -0
  3472. package/node_modules/zod/v4/locales/index.js +52 -0
  3473. package/node_modules/zod/v4/locales/is.cjs +136 -0
  3474. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  3475. package/node_modules/zod/v4/locales/is.d.ts +4 -0
  3476. package/node_modules/zod/v4/locales/is.js +109 -0
  3477. package/node_modules/zod/v4/locales/it.cjs +135 -0
  3478. package/node_modules/zod/v4/locales/it.d.cts +5 -0
  3479. package/node_modules/zod/v4/locales/it.d.ts +4 -0
  3480. package/node_modules/zod/v4/locales/it.js +108 -0
  3481. package/node_modules/zod/v4/locales/ja.cjs +134 -0
  3482. package/node_modules/zod/v4/locales/ja.d.cts +5 -0
  3483. package/node_modules/zod/v4/locales/ja.d.ts +4 -0
  3484. package/node_modules/zod/v4/locales/ja.js +107 -0
  3485. package/node_modules/zod/v4/locales/ka.cjs +139 -0
  3486. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  3487. package/node_modules/zod/v4/locales/ka.d.ts +4 -0
  3488. package/node_modules/zod/v4/locales/ka.js +112 -0
  3489. package/node_modules/zod/v4/locales/kh.cjs +12 -0
  3490. package/node_modules/zod/v4/locales/kh.d.cts +5 -0
  3491. package/node_modules/zod/v4/locales/kh.d.ts +5 -0
  3492. package/node_modules/zod/v4/locales/kh.js +5 -0
  3493. package/node_modules/zod/v4/locales/km.cjs +137 -0
  3494. package/node_modules/zod/v4/locales/km.d.cts +5 -0
  3495. package/node_modules/zod/v4/locales/km.d.ts +4 -0
  3496. package/node_modules/zod/v4/locales/km.js +110 -0
  3497. package/node_modules/zod/v4/locales/ko.cjs +138 -0
  3498. package/node_modules/zod/v4/locales/ko.d.cts +5 -0
  3499. package/node_modules/zod/v4/locales/ko.d.ts +4 -0
  3500. package/node_modules/zod/v4/locales/ko.js +111 -0
  3501. package/node_modules/zod/v4/locales/lt.cjs +230 -0
  3502. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  3503. package/node_modules/zod/v4/locales/lt.d.ts +4 -0
  3504. package/node_modules/zod/v4/locales/lt.js +203 -0
  3505. package/node_modules/zod/v4/locales/mk.cjs +136 -0
  3506. package/node_modules/zod/v4/locales/mk.d.cts +5 -0
  3507. package/node_modules/zod/v4/locales/mk.d.ts +4 -0
  3508. package/node_modules/zod/v4/locales/mk.js +109 -0
  3509. package/node_modules/zod/v4/locales/ms.cjs +134 -0
  3510. package/node_modules/zod/v4/locales/ms.d.cts +5 -0
  3511. package/node_modules/zod/v4/locales/ms.d.ts +4 -0
  3512. package/node_modules/zod/v4/locales/ms.js +107 -0
  3513. package/node_modules/zod/v4/locales/nl.cjs +137 -0
  3514. package/node_modules/zod/v4/locales/nl.d.cts +5 -0
  3515. package/node_modules/zod/v4/locales/nl.d.ts +4 -0
  3516. package/node_modules/zod/v4/locales/nl.js +110 -0
  3517. package/node_modules/zod/v4/locales/no.cjs +135 -0
  3518. package/node_modules/zod/v4/locales/no.d.cts +5 -0
  3519. package/node_modules/zod/v4/locales/no.d.ts +4 -0
  3520. package/node_modules/zod/v4/locales/no.js +108 -0
  3521. package/node_modules/zod/v4/locales/ota.cjs +136 -0
  3522. package/node_modules/zod/v4/locales/ota.d.cts +5 -0
  3523. package/node_modules/zod/v4/locales/ota.d.ts +4 -0
  3524. package/node_modules/zod/v4/locales/ota.js +109 -0
  3525. package/node_modules/zod/v4/locales/package.json +7 -0
  3526. package/node_modules/zod/v4/locales/pl.cjs +136 -0
  3527. package/node_modules/zod/v4/locales/pl.d.cts +5 -0
  3528. package/node_modules/zod/v4/locales/pl.d.ts +4 -0
  3529. package/node_modules/zod/v4/locales/pl.js +109 -0
  3530. package/node_modules/zod/v4/locales/ps.cjs +141 -0
  3531. package/node_modules/zod/v4/locales/ps.d.cts +5 -0
  3532. package/node_modules/zod/v4/locales/ps.d.ts +4 -0
  3533. package/node_modules/zod/v4/locales/ps.js +114 -0
  3534. package/node_modules/zod/v4/locales/pt.cjs +135 -0
  3535. package/node_modules/zod/v4/locales/pt.d.cts +5 -0
  3536. package/node_modules/zod/v4/locales/pt.d.ts +4 -0
  3537. package/node_modules/zod/v4/locales/pt.js +108 -0
  3538. package/node_modules/zod/v4/locales/ro.cjs +146 -0
  3539. package/node_modules/zod/v4/locales/ro.d.cts +5 -0
  3540. package/node_modules/zod/v4/locales/ro.d.ts +4 -0
  3541. package/node_modules/zod/v4/locales/ro.js +119 -0
  3542. package/node_modules/zod/v4/locales/ru.cjs +183 -0
  3543. package/node_modules/zod/v4/locales/ru.d.cts +5 -0
  3544. package/node_modules/zod/v4/locales/ru.d.ts +4 -0
  3545. package/node_modules/zod/v4/locales/ru.js +156 -0
  3546. package/node_modules/zod/v4/locales/sl.cjs +136 -0
  3547. package/node_modules/zod/v4/locales/sl.d.cts +5 -0
  3548. package/node_modules/zod/v4/locales/sl.d.ts +4 -0
  3549. package/node_modules/zod/v4/locales/sl.js +109 -0
  3550. package/node_modules/zod/v4/locales/sv.cjs +137 -0
  3551. package/node_modules/zod/v4/locales/sv.d.cts +5 -0
  3552. package/node_modules/zod/v4/locales/sv.d.ts +4 -0
  3553. package/node_modules/zod/v4/locales/sv.js +110 -0
  3554. package/node_modules/zod/v4/locales/ta.cjs +137 -0
  3555. package/node_modules/zod/v4/locales/ta.d.cts +5 -0
  3556. package/node_modules/zod/v4/locales/ta.d.ts +4 -0
  3557. package/node_modules/zod/v4/locales/ta.js +110 -0
  3558. package/node_modules/zod/v4/locales/th.cjs +137 -0
  3559. package/node_modules/zod/v4/locales/th.d.cts +5 -0
  3560. package/node_modules/zod/v4/locales/th.d.ts +4 -0
  3561. package/node_modules/zod/v4/locales/th.js +110 -0
  3562. package/node_modules/zod/v4/locales/tr.cjs +132 -0
  3563. package/node_modules/zod/v4/locales/tr.d.cts +5 -0
  3564. package/node_modules/zod/v4/locales/tr.d.ts +4 -0
  3565. package/node_modules/zod/v4/locales/tr.js +105 -0
  3566. package/node_modules/zod/v4/locales/ua.cjs +12 -0
  3567. package/node_modules/zod/v4/locales/ua.d.cts +5 -0
  3568. package/node_modules/zod/v4/locales/ua.d.ts +5 -0
  3569. package/node_modules/zod/v4/locales/ua.js +5 -0
  3570. package/node_modules/zod/v4/locales/uk.cjs +135 -0
  3571. package/node_modules/zod/v4/locales/uk.d.cts +5 -0
  3572. package/node_modules/zod/v4/locales/uk.d.ts +4 -0
  3573. package/node_modules/zod/v4/locales/uk.js +108 -0
  3574. package/node_modules/zod/v4/locales/ur.cjs +137 -0
  3575. package/node_modules/zod/v4/locales/ur.d.cts +5 -0
  3576. package/node_modules/zod/v4/locales/ur.d.ts +4 -0
  3577. package/node_modules/zod/v4/locales/ur.js +110 -0
  3578. package/node_modules/zod/v4/locales/uz.cjs +137 -0
  3579. package/node_modules/zod/v4/locales/uz.d.cts +5 -0
  3580. package/node_modules/zod/v4/locales/uz.d.ts +4 -0
  3581. package/node_modules/zod/v4/locales/uz.js +110 -0
  3582. package/node_modules/zod/v4/locales/vi.cjs +135 -0
  3583. package/node_modules/zod/v4/locales/vi.d.cts +5 -0
  3584. package/node_modules/zod/v4/locales/vi.d.ts +4 -0
  3585. package/node_modules/zod/v4/locales/vi.js +108 -0
  3586. package/node_modules/zod/v4/locales/yo.cjs +134 -0
  3587. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  3588. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  3589. package/node_modules/zod/v4/locales/yo.js +107 -0
  3590. package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
  3591. package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  3592. package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  3593. package/node_modules/zod/v4/locales/zh-CN.js +109 -0
  3594. package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
  3595. package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  3596. package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  3597. package/node_modules/zod/v4/locales/zh-TW.js +107 -0
  3598. package/node_modules/zod/v4/mini/checks.cjs +34 -0
  3599. package/node_modules/zod/v4/mini/checks.d.cts +1 -0
  3600. package/node_modules/zod/v4/mini/checks.d.ts +1 -0
  3601. package/node_modules/zod/v4/mini/checks.js +1 -0
  3602. package/node_modules/zod/v4/mini/coerce.cjs +52 -0
  3603. package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  3604. package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  3605. package/node_modules/zod/v4/mini/coerce.js +22 -0
  3606. package/node_modules/zod/v4/mini/external.cjs +63 -0
  3607. package/node_modules/zod/v4/mini/external.d.cts +13 -0
  3608. package/node_modules/zod/v4/mini/external.d.ts +13 -0
  3609. package/node_modules/zod/v4/mini/external.js +14 -0
  3610. package/node_modules/zod/v4/mini/index.cjs +32 -0
  3611. package/node_modules/zod/v4/mini/index.d.cts +3 -0
  3612. package/node_modules/zod/v4/mini/index.d.ts +3 -0
  3613. package/node_modules/zod/v4/mini/index.js +3 -0
  3614. package/node_modules/zod/v4/mini/iso.cjs +64 -0
  3615. package/node_modules/zod/v4/mini/iso.d.cts +22 -0
  3616. package/node_modules/zod/v4/mini/iso.d.ts +22 -0
  3617. package/node_modules/zod/v4/mini/iso.js +34 -0
  3618. package/node_modules/zod/v4/mini/package.json +7 -0
  3619. package/node_modules/zod/v4/mini/parse.cjs +16 -0
  3620. package/node_modules/zod/v4/mini/parse.d.cts +1 -0
  3621. package/node_modules/zod/v4/mini/parse.d.ts +1 -0
  3622. package/node_modules/zod/v4/mini/parse.js +1 -0
  3623. package/node_modules/zod/v4/mini/schemas.cjs +1083 -0
  3624. package/node_modules/zod/v4/mini/schemas.d.cts +445 -0
  3625. package/node_modules/zod/v4/mini/schemas.d.ts +445 -0
  3626. package/node_modules/zod/v4/mini/schemas.js +961 -0
  3627. package/node_modules/zod/v4/package.json +7 -0
  3628. package/node_modules/zod/v4-mini/index.cjs +32 -0
  3629. package/node_modules/zod/v4-mini/index.d.cts +3 -0
  3630. package/node_modules/zod/v4-mini/index.d.ts +3 -0
  3631. package/node_modules/zod/v4-mini/index.js +3 -0
  3632. package/node_modules/zod/v4-mini/package.json +7 -0
  3633. package/package.json +67 -0
@@ -0,0 +1,1875 @@
1
+ /**
2
+ * Core execution logic for running subagents
3
+ */
4
+
5
+ import { spawn } from "node:child_process";
6
+ import { existsSync, unlinkSync } from "node:fs";
7
+ import * as path from "node:path";
8
+ import type { Message } from "@earendil-works/pi-ai";
9
+ import type { AgentConfig } from "../../agents/agents.ts";
10
+ import { appendAgentRefinementOverlay } from "../../agents/agent-refinements.ts";
11
+ import { alignForkedSessionCwd } from "../../shared/fork-context.ts";
12
+ import {
13
+ ensureArtifactsDir,
14
+ formatOutputArtifactContent,
15
+ getArtifactPaths,
16
+ writeArtifact,
17
+ writeMetadata,
18
+ } from "../../shared/artifacts.ts";
19
+ import { createChildTranscriptWriter, type ChildTranscriptWriter } from "../../shared/child-transcript.ts";
20
+ import {
21
+ type AgentProgress,
22
+ type ArtifactPaths,
23
+ type ControlEvent,
24
+ type ModelAttempt,
25
+ type RunSyncOptions,
26
+ type SingleResult,
27
+ type Usage,
28
+ DEFAULT_MAX_OUTPUT,
29
+ INTERCOM_DETACH_REQUEST_EVENT,
30
+ INTERCOM_DETACH_RESPONSE_EVENT,
31
+ type AcceptanceLedger,
32
+ type ResolvedAcceptanceConfig,
33
+ truncateOutput,
34
+ getSubagentDepthEnv,
35
+ } from "../../shared/types.ts";
36
+ import {
37
+ DEFAULT_CONTROL_CONFIG,
38
+ buildControlEvent,
39
+ claimControlNotification,
40
+ deriveActivityState,
41
+ shouldNotifyControlEvent,
42
+ } from "../shared/subagent-control.ts";
43
+ import {
44
+ getFinalOutput,
45
+ findLatestSessionFile,
46
+ detectSubagentError,
47
+ hasEmptyTerminalAssistantResponse,
48
+ extractToolArgsPreview,
49
+ extractTextFromContent,
50
+ boundStreamedRecentTools,
51
+ boundStreamedRecentOutput,
52
+ boundStreamedToolCalls,
53
+ } from "../../shared/utils.ts";
54
+ import { buildSkillInjection, resolveSkillsWithFallback } from "../../agents/skills.ts";
55
+ import { buildAgentMemoryInjection } from "../../agents/agent-memory.ts";
56
+ import { evaluateCompletionMutationGuard } from "../shared/completion-guard.ts";
57
+ import { getPiSpawnCommand } from "../shared/pi-spawn.ts";
58
+ import { createJsonlWriter } from "../../shared/jsonl-writer.ts";
59
+ import { attachPostExitStdioGuard, trySignalChild } from "../../shared/post-exit-stdio-guard.ts";
60
+ import { resolvePermissionRules } from "../shared/permissions.ts";
61
+ import { applyThinkingSuffix, buildPiArgs, cleanupTempDir, projectLaunchResolvedChildExtensions, resolvePiLaunchToolPlan } from "../shared/pi-args.ts";
62
+ import { readRuntimeAcknowledgedExtensions } from "../shared/runtime-acknowledged-extensions.ts";
63
+ import { assertAgentAllowedByCapabilityCeiling, decodeSubagentCapabilityCeiling, intersectSubagentCapabilityCeilings, resolveCurrentSubagentCapabilityCeiling, SUBAGENT_CAPABILITY_CEILING_ENV } from "../shared/capability-ceiling.ts";
64
+ import { resolveEffectiveThinking } from "../../shared/model-info.ts";
65
+ import { MISSING_STRUCTURED_OUTPUT_CALL_ERROR, readStructuredOutput } from "../shared/structured-output.ts";
66
+ import { formatProcessSignalError, isUnexplainedProcessSignal } from "../shared/process-signal.ts";
67
+ import { readChildToolDiagnosticError } from "../shared/tool-availability.ts";
68
+ import { captureSingleOutputSnapshot, extractChildWrittenOutput, formatSavedOutputReference, injectOutputPathSystemPrompt, resolveSingleOutput, validateFileOnlyOutputMode, type SingleOutputSnapshot } from "../shared/single-output.ts";
69
+ import {
70
+ buildModelCandidates,
71
+ formatModelAttemptNote,
72
+ isRetryableModelFailure,
73
+ } from "../shared/model-fallback.ts";
74
+ import {
75
+ SUBAGENT_STARTUP_RETRY_DELAYS_MS,
76
+ formatSubagentStartupRetryExhaustedError,
77
+ formatSubagentStartupRetryNote,
78
+ isRetryableSubagentStartupFailure,
79
+ waitForSubagentStartupRetry,
80
+ } from "../shared/subagent-startup-retry.ts";
81
+ import {
82
+ createMutatingFailureState,
83
+ didMutatingToolFail,
84
+ isMutatingTool,
85
+ nextLongRunningTrigger,
86
+ recordMutatingFailure,
87
+ resetMutatingFailureState,
88
+ resolveCurrentPath,
89
+ shouldEscalateMutatingFailures,
90
+ summarizeRecentMutatingFailures,
91
+ } from "../shared/long-running-guard.ts";
92
+ import { acceptanceFailureMessage, buildSkippedAcceptanceLedger, evaluateAcceptance, formatAcceptancePrompt, resolveEffectiveAcceptance, stripAcceptanceReport, validateAcceptanceInput } from "../shared/acceptance.ts";
93
+ import { attachContractProjections, isAgentContractV1 } from "../shared/agent-contract.ts";
94
+ import { appendTurnBudgetSystemPrompt, formatTurnBudgetOutput, initialTurnBudgetState, turnBudgetDecision, turnBudgetDeferredNote, turnBudgetDeferredState, turnBudgetExceededMessage, turnBudgetSoftNote, turnBudgetState } from "../shared/turn-budget.ts";
95
+ import { initialToolBudgetState, toolBudgetState } from "../shared/tool-budget.ts";
96
+ import { resolveWatchdogConfig } from "../../watchdog/settings.ts";
97
+ import { agentDefinitionDigest, launchBindingDigest } from "../../shared/launch-contract.ts";
98
+ import { createBoundedByteTail, createBoundedLineReader, formatProtocolOutputLimit, MAX_CHILD_STDERR_BYTES, PI_AGGREGATE_EVENT_PROJECTOR, projectChildLifecycle, type ChildLifecycleAction, type ProtocolOutputLimit } from "../shared/child-protocol.ts";
99
+ import {
100
+ acceptChildWatchdogEvent,
101
+ childWatchdogIsActive,
102
+ isChildWatchdogStatusEvent,
103
+ resolveChildWatchdogConfig,
104
+ type ChildWatchdogStateSnapshot,
105
+ } from "../../watchdog/child-status.ts";
106
+
107
+ const artifactOutputByResult = new WeakMap<SingleResult, string>();
108
+ const acceptanceOutputByResult = new WeakMap<SingleResult, string>();
109
+
110
+ function emptyUsage(): Usage {
111
+ return { input: 0, output: 0, cacheRead: 0, cacheWrite: 0, cost: 0, turns: 0 };
112
+ }
113
+
114
+ function withRunContext<T extends SingleResult>(result: T, context: RunSyncOptions["context"]): T {
115
+ if (!context) return result;
116
+ result.context = context;
117
+ return result;
118
+ }
119
+
120
+ function sumUsage(target: Usage, source: Usage): void {
121
+ target.input += source.input;
122
+ target.output += source.output;
123
+ target.cacheRead += source.cacheRead;
124
+ target.cacheWrite += source.cacheWrite;
125
+ target.cost += source.cost;
126
+ target.turns += source.turns;
127
+ }
128
+
129
+ function persistSingleResultMetadata(input: {
130
+ metadataPath?: string;
131
+ enabled: boolean;
132
+ runId?: string;
133
+ agent: string;
134
+ task: string;
135
+ result: SingleResult;
136
+ }): void {
137
+ if (!input.enabled || !input.metadataPath) return;
138
+ const target = input.result;
139
+ writeMetadata(input.metadataPath, {
140
+ runId: input.runId,
141
+ agent: input.agent,
142
+ task: input.task,
143
+ exitCode: target.exitCode,
144
+ processSignal: target.processSignal,
145
+ usage: target.usage,
146
+ model: target.model,
147
+ attemptedModels: target.attemptedModels,
148
+ modelAttempts: target.modelAttempts,
149
+ durationMs: target.progressSummary?.durationMs,
150
+ toolCount: target.progressSummary?.toolCount,
151
+ error: target.error,
152
+ agentContract: target.agentContract,
153
+ launchContractDigest: target.launchContractDigest,
154
+ launchResolvedExtensions: target.launchResolvedExtensions,
155
+ runtimeAcknowledgedExtensions: target.runtimeAcknowledgedExtensions,
156
+ execution: target.execution,
157
+ acceptance: target.acceptance,
158
+ capabilityCeiling: target.capabilityCeiling,
159
+ capabilityAudit: target.capabilityAudit,
160
+ review: target.review,
161
+ effects: target.effects,
162
+ transcriptPath: target.transcriptPath,
163
+ transcriptError: target.transcriptError,
164
+ skills: target.skills,
165
+ skillsWarning: target.skillsWarning,
166
+ timestamp: Date.now(),
167
+ });
168
+ }
169
+
170
+ function formatTimeoutMessage(timeoutMs: number): string {
171
+ return `Subagent timed out after ${timeoutMs}ms.`;
172
+ }
173
+
174
+ function resolveAttemptTimeout(options: RunSyncOptions): { timeoutMs: number; remainingMs: number; message: string } | undefined {
175
+ if (options.timeoutMs === undefined) return undefined;
176
+ const deadlineAt = options.deadlineAt ?? Date.now() + options.timeoutMs;
177
+ return {
178
+ timeoutMs: options.timeoutMs,
179
+ remainingMs: Math.max(0, deadlineAt - Date.now()),
180
+ message: formatTimeoutMessage(options.timeoutMs),
181
+ };
182
+ }
183
+
184
+ function buildPendingAcceptanceLedger(acceptance: ResolvedAcceptanceConfig): AcceptanceLedger {
185
+ return {
186
+ status: "pending",
187
+ evidenceStatus: "pending",
188
+ explicit: acceptance.explicit,
189
+ effectiveAcceptance: acceptance,
190
+ inferredReason: acceptance.inferredReason,
191
+ criteria: acceptance.criteria,
192
+ runtimeChecks: [],
193
+ verifyRuns: [],
194
+ };
195
+ }
196
+
197
+ function buildInterruptedAcceptanceLedger(acceptance: ResolvedAcceptanceConfig): AcceptanceLedger {
198
+ const pending = buildPendingAcceptanceLedger(acceptance);
199
+ if (acceptance.level === "none") {
200
+ pending.status = "not-required";
201
+ pending.evidenceStatus = "not-required";
202
+ } else {
203
+ pending.runtimeChecks = [{
204
+ id: "interrupted",
205
+ status: "not-applicable",
206
+ message: "Acceptance was not evaluated because the subagent was interrupted.",
207
+ }];
208
+ }
209
+ return pending;
210
+ }
211
+
212
+ function appendRecentOutput(progress: AgentProgress, lines: string[]): void {
213
+ if (lines.length === 0) return;
214
+ progress.recentOutput.push(...lines.filter((line) => line.trim()));
215
+ if (progress.recentOutput.length > 50) {
216
+ progress.recentOutput.splice(0, progress.recentOutput.length - 50);
217
+ }
218
+ }
219
+
220
+ function stripAcceptanceReportsFromMessages(messages: Message[] | undefined): void {
221
+ for (const message of messages ?? []) {
222
+ if (message.role !== "assistant" || !Array.isArray(message.content)) continue;
223
+ for (const part of message.content) {
224
+ if (part.type === "text" && "text" in part && typeof part.text === "string") {
225
+ part.text = stripAcceptanceReport(part.text);
226
+ }
227
+ }
228
+ }
229
+ }
230
+
231
+ function snapshotProgress(progress: AgentProgress): AgentProgress {
232
+ return {
233
+ ...progress,
234
+ skills: progress.skills ? [...progress.skills] : undefined,
235
+ recentTools: boundStreamedRecentTools(progress.recentTools),
236
+ recentOutput: boundStreamedRecentOutput(progress.recentOutput),
237
+ };
238
+ }
239
+
240
+ function snapshotResult(result: SingleResult, progress: AgentProgress): SingleResult {
241
+ return {
242
+ ...result,
243
+ messages: result.outputMode === "file-only" && result.savedOutputPath ? undefined : result.messages ? [...result.messages] : undefined,
244
+ usage: { ...result.usage },
245
+ skills: result.skills ? [...result.skills] : undefined,
246
+ attemptedModels: result.attemptedModels ? [...result.attemptedModels] : undefined,
247
+ modelAttempts: result.modelAttempts
248
+ ? result.modelAttempts.map((attempt) => ({
249
+ ...attempt,
250
+ usage: attempt.usage ? { ...attempt.usage } : undefined,
251
+ }))
252
+ : undefined,
253
+ controlEvents: result.controlEvents ? result.controlEvents.map((event) => ({ ...event })) : undefined,
254
+ progress,
255
+ progressSummary: result.progressSummary ? { ...result.progressSummary } : undefined,
256
+ artifactPaths: result.artifactPaths ? { ...result.artifactPaths } : undefined,
257
+ truncation: result.truncation ? { ...result.truncation } : undefined,
258
+ outputReference: result.outputReference ? { ...result.outputReference } : undefined,
259
+ };
260
+ }
261
+
262
+ /**
263
+ * Streaming variant of snapshotResult for `onUpdate` progress events: it drops the
264
+ * unbounded `messages` transcript in favour of compact tool-call summaries so a
265
+ * single `tool_execution_update` line stays well under the child-stdout protocol
266
+ * cap (`MAX_CHILD_PENDING_LINE_BYTES`). Non-streaming consumers such as
267
+ * foreground detach receipts and terminal consumers use snapshotResult directly.
268
+ */
269
+ function snapshotStreamResult(result: SingleResult, progress: AgentProgress): SingleResult {
270
+ const snapshot = snapshotResult(result, progress);
271
+ snapshot.messages = undefined;
272
+ snapshot.toolCalls = boundStreamedToolCalls(result);
273
+ return snapshot;
274
+ }
275
+
276
+ async function runSingleAttempt(
277
+ runtimeCwd: string,
278
+ agent: AgentConfig,
279
+ task: string,
280
+ model: string | undefined,
281
+ options: RunSyncOptions,
282
+ shared: {
283
+ sessionEnabled: boolean;
284
+ systemPrompt: string;
285
+ resolvedSkillNames?: string[];
286
+ modelCandidates?: string[];
287
+ skillsWarning?: string;
288
+ jsonlPath?: string;
289
+ artifactPaths?: ArtifactPaths;
290
+ transcriptWriter?: ChildTranscriptWriter;
291
+ attemptNotes: string[];
292
+ outputSnapshot?: SingleOutputSnapshot;
293
+ originalTask?: string;
294
+ },
295
+ ): Promise<SingleResult> {
296
+ const effectiveThinking = options.thinkingOverride ?? agent.thinking;
297
+ const modelArg = applyThinkingSuffix(model, effectiveThinking, options.thinkingOverride !== undefined);
298
+ const resolvedThinking = resolveEffectiveThinking(modelArg, effectiveThinking);
299
+ const watchdogConfig = resolveWatchdogConfig(options.cwd ?? runtimeCwd);
300
+ const childWatchdog = watchdogConfig.ok
301
+ ? resolveChildWatchdogConfig({
302
+ config: watchdogConfig.config,
303
+ agent: agent.name,
304
+ runId: options.runId,
305
+ childIndex: options.index ?? 0,
306
+ })
307
+ : undefined;
308
+ const permissionRules = resolvePermissionRules(options.permissions, agent.permissions);
309
+ const permissionAuditPath = permissionRules && options.artifactsDir
310
+ ? path.join(options.artifactsDir, "permission-audit", `${options.runId}-${options.index ?? 0}.jsonl`)
311
+ : undefined;
312
+ const { args, env: sharedEnv, tempDir, toolDiagnosticPath, runtimeAcknowledgedExtensionsPath, capabilityAudit } = buildPiArgs({
313
+ baseArgs: ["--mode", "json", "-p"],
314
+ task,
315
+ sessionEnabled: shared.sessionEnabled,
316
+ sessionDir: options.sessionDir,
317
+ sessionFile: options.sessionFile,
318
+ model: modelArg,
319
+ thinking: effectiveThinking,
320
+ systemPromptMode: agent.systemPromptMode,
321
+ inheritProjectContext: agent.inheritProjectContext,
322
+ inheritSkills: agent.inheritSkills,
323
+ requireReadTool: Boolean(shared.resolvedSkillNames?.length),
324
+ tools: agent.tools,
325
+ extensions: agent.extensions,
326
+ subagentOnlyExtensions: agent.subagentOnlyExtensions,
327
+ systemPrompt: appendTurnBudgetSystemPrompt(shared.systemPrompt, options.turnBudget),
328
+ mcpDirectTools: agent.mcpDirectTools,
329
+ cwd: options.cwd ?? runtimeCwd,
330
+ promptFileStem: agent.name,
331
+ intercomSessionName: options.intercomSessionName,
332
+ orchestratorIntercomTarget: options.orchestratorIntercomTarget,
333
+ runId: options.runId,
334
+ childAgentName: agent.name,
335
+ childIndex: options.index ?? 0,
336
+ parentEventSink: options.nestedRoute?.eventSink,
337
+ parentControlInbox: options.nestedRoute?.controlInbox,
338
+ parentRootRunId: options.nestedRoute?.rootRunId,
339
+ parentCapabilityToken: options.nestedRoute?.capabilityToken,
340
+ parentSessionId: options.parentSessionId,
341
+ steerInboxDir: options.steerInboxDir,
342
+ steerCapabilityPath: options.steerCapabilityPath,
343
+ steerAckDir: options.steerAckDir,
344
+ structuredOutput: options.structuredOutput,
345
+ toolBudget: options.toolBudget,
346
+ allowZeroToolBudget: options.allowZeroToolBudget,
347
+ permissionRules,
348
+ permissionAuditPath,
349
+ childWatchdog,
350
+ waitToolEnabled: options.waitToolEnabled,
351
+ capabilityCeiling: options.capabilityCeiling,
352
+ });
353
+
354
+ const effectiveSystemPrompt = appendTurnBudgetSystemPrompt(shared.systemPrompt, options.turnBudget);
355
+ const toolPlan = resolvePiLaunchToolPlan({
356
+ tools: agent.tools,
357
+ extensions: agent.extensions,
358
+ subagentOnlyExtensions: agent.subagentOnlyExtensions,
359
+ mcpDirectTools: agent.mcpDirectTools,
360
+ cwd: options.cwd ?? runtimeCwd,
361
+ requireReadTool: Boolean(shared.resolvedSkillNames?.length),
362
+ structuredOutput: Boolean(options.structuredOutput),
363
+ capabilityCeiling: options.capabilityCeiling,
364
+ inheritedCapabilityCeiling: decodeSubagentCapabilityCeiling(process.env[SUBAGENT_CAPABILITY_CEILING_ENV]),
365
+ agentName: agent.name,
366
+ });
367
+ const launchResolvedExtensions = projectLaunchResolvedChildExtensions(toolPlan);
368
+ const launchContractDigest = launchBindingDigest({
369
+ definitionDigest: agentDefinitionDigest(agent),
370
+ task: shared.originalTask ?? task,
371
+ ...(modelArg ? { model: modelArg } : {}),
372
+ modelCandidates: shared.modelCandidates,
373
+ ...(resolvedThinking ? { thinking: resolvedThinking } : {}),
374
+ systemPrompt: effectiveSystemPrompt,
375
+ systemPromptMode: agent.systemPromptMode,
376
+ inheritProjectContext: agent.inheritProjectContext,
377
+ inheritSkills: agent.inheritSkills,
378
+ skills: shared.resolvedSkillNames ?? [],
379
+ tools: toolPlan.effectiveToolAllowlist,
380
+ extensions: toolPlan.extensionArgs,
381
+ mcpDirectTools: toolPlan.effectiveMcpTools,
382
+ ...(options.outputPath ? { outputPath: options.outputPath } : {}),
383
+ outputMode: options.outputMode ?? "inline",
384
+ ...(options.structuredOutput ? { structuredOutputSchema: options.structuredOutput.schema } : {}),
385
+ });
386
+ const result: SingleResult = withRunContext({
387
+ index: options.index ?? 0,
388
+ agent: agent.name,
389
+ task: shared.originalTask ?? task,
390
+ ...(options.agentContract ? { agentContract: options.agentContract } : {}),
391
+ launchContractDigest,
392
+ launchResolvedExtensions,
393
+ exitCode: 0,
394
+ outputState: "absent",
395
+ messages: [],
396
+ usage: emptyUsage(),
397
+ model: modelArg,
398
+ ...(resolvedThinking ? { thinking: resolvedThinking } : {}),
399
+ artifactPaths: shared.artifactPaths,
400
+ transcriptPath: shared.transcriptWriter ? shared.artifactPaths?.transcriptPath : undefined,
401
+ skills: shared.resolvedSkillNames,
402
+ skillsWarning: shared.skillsWarning,
403
+ ...(options.turnBudget ? { turnBudget: initialTurnBudgetState(options.turnBudget) } : {}),
404
+ ...(options.toolBudget ? { toolBudget: initialToolBudgetState(options.toolBudget) } : {}),
405
+ ...(options.capabilityCeiling ? { capabilityCeiling: options.capabilityCeiling } : {}),
406
+ ...(capabilityAudit ? { capabilityAudit } : {}),
407
+ }, options.context);
408
+ const startTime = Date.now();
409
+ if (options.structuredOutput) {
410
+ try {
411
+ if (existsSync(options.structuredOutput.outputPath)) unlinkSync(options.structuredOutput.outputPath);
412
+ } catch {
413
+ // Missing/stale structured-output files are handled after the child exits.
414
+ }
415
+ }
416
+ const controlConfig = options.controlConfig ?? DEFAULT_CONTROL_CONFIG;
417
+ let interruptedByControl = false;
418
+ const allControlEvents: ControlEvent[] = [];
419
+ let pendingControlEvents: ControlEvent[] = [];
420
+ const emittedControlEventKeys = new Set<string>();
421
+ const emitControlEvent = (event: ControlEvent) => {
422
+ if (!shouldNotifyControlEvent(controlConfig, event)) return;
423
+ if (!claimControlNotification(controlConfig, event, emittedControlEventKeys)) return;
424
+ allControlEvents.push(event);
425
+ pendingControlEvents.push(event);
426
+ options.onControlEvent?.(event);
427
+ };
428
+
429
+ const progress: AgentProgress = {
430
+ index: options.index ?? 0,
431
+ agent: agent.name,
432
+ status: "running",
433
+ task,
434
+ skills: shared.resolvedSkillNames,
435
+ recentTools: [],
436
+ recentOutput: [...shared.attemptNotes],
437
+ toolCount: 0,
438
+ tokens: 0,
439
+ ...(modelArg ? { model: modelArg } : {}),
440
+ ...(resolvedThinking ? { thinking: resolvedThinking } : {}),
441
+ inputTokens: 0,
442
+ outputTokens: 0,
443
+ durationMs: 0,
444
+ lastActivityAt: startTime,
445
+ };
446
+ result.progress = progress;
447
+ const attemptTimeout = resolveAttemptTimeout(options);
448
+ if (attemptTimeout?.remainingMs === 0) {
449
+ cleanupTempDir(tempDir);
450
+ result.exitCode = 1;
451
+ result.timedOut = true;
452
+ result.error = attemptTimeout.message;
453
+ result.finalOutput = attemptTimeout.message;
454
+ progress.status = "failed";
455
+ progress.error = attemptTimeout.message;
456
+ result.progressSummary = {
457
+ toolCount: progress.toolCount,
458
+ tokens: progress.tokens,
459
+ durationMs: progress.durationMs,
460
+ };
461
+ return result;
462
+ }
463
+ const spawnEnv = { ...process.env, ...sharedEnv, ...getSubagentDepthEnv(options.maxSubagentDepth) };
464
+ let observedMutationAttempt = false;
465
+ let structuredOutputToolInvoked = false;
466
+ let structuredOutputMessageStartIndex: number | undefined;
467
+
468
+ const exitCode = await new Promise<number>((resolve) => {
469
+ const spawnSpec = getPiSpawnCommand(args);
470
+ const proc = spawn(spawnSpec.command, spawnSpec.args, {
471
+ cwd: options.cwd ?? runtimeCwd,
472
+ env: spawnEnv,
473
+ stdio: ["ignore", "pipe", "pipe"],
474
+ windowsHide: true,
475
+ });
476
+ const jsonlWriter = createJsonlWriter(shared.jsonlPath, proc.stdout);
477
+ let processClosed = false;
478
+ let lifecycleFinished = false;
479
+ let detached = false;
480
+ let intercomStarted = false;
481
+ let assistantError: string | undefined;
482
+ let removeAbortListener: (() => void) | undefined;
483
+ let removeInterruptListener: (() => void) | undefined;
484
+ let activityTimer: NodeJS.Timeout | undefined;
485
+ let timeoutTimer: NodeJS.Timeout | undefined;
486
+ let timeoutTerminationTimer: NodeJS.Timeout | undefined;
487
+ let timeoutHardKillTimer: NodeJS.Timeout | undefined;
488
+ let turnBudgetSoftReached = false;
489
+ let turnBudgetTerminationTimer: NodeJS.Timeout | undefined;
490
+ let turnBudgetHardKillTimer: NodeJS.Timeout | undefined;
491
+ let protocolHardKillTimer: NodeJS.Timeout | undefined;
492
+ const clearTurnBudgetTimers = () => {
493
+ if (turnBudgetTerminationTimer) {
494
+ clearTimeout(turnBudgetTerminationTimer);
495
+ turnBudgetTerminationTimer = undefined;
496
+ }
497
+ if (turnBudgetHardKillTimer) {
498
+ clearTimeout(turnBudgetHardKillTimer);
499
+ turnBudgetHardKillTimer = undefined;
500
+ }
501
+ };
502
+ const clearTimeoutTimers = () => {
503
+ if (timeoutTimer) {
504
+ clearTimeout(timeoutTimer);
505
+ timeoutTimer = undefined;
506
+ }
507
+ if (timeoutTerminationTimer) {
508
+ clearTimeout(timeoutTerminationTimer);
509
+ timeoutTerminationTimer = undefined;
510
+ }
511
+ if (timeoutHardKillTimer) {
512
+ clearTimeout(timeoutHardKillTimer);
513
+ timeoutHardKillTimer = undefined;
514
+ }
515
+ };
516
+
517
+ const detachForeground = (reason: string): boolean => {
518
+ if (detached || processClosed || lifecycleFinished || options.signal?.aborted) return false;
519
+ const receiptProgress = snapshotProgress(progress);
520
+ receiptProgress.status = "detached";
521
+ receiptProgress.durationMs = Date.now() - startTime;
522
+ const receipt = snapshotResult(result, receiptProgress);
523
+ receipt.exitCode = -2;
524
+ receipt.detached = true;
525
+ receipt.detachedReason = reason;
526
+ receipt.finalOutput = reason === "intercom coordination"
527
+ ? "Detached for intercom coordination before task completion."
528
+ : reason === "user request"
529
+ ? "Detached at user request before task completion."
530
+ : `Detached for ${reason} before task completion.`;
531
+ receipt.outputMode = options.outputMode ?? "inline";
532
+ if (options.outputPath) {
533
+ receipt.outputSaveError = reason === "user request"
534
+ ? "Output file was not finalized because the subagent detached at user request."
535
+ : `Output file was not finalized because the subagent detached for ${reason}.`;
536
+ }
537
+ receipt.progressSummary = {
538
+ toolCount: receiptProgress.toolCount,
539
+ tokens: receiptProgress.tokens,
540
+ durationMs: receiptProgress.durationMs,
541
+ };
542
+ // The attempt is not detached until the outer coordinator has accepted and
543
+ // synchronously published the receipt. A persistence/callback failure must
544
+ // leave this attempt attached and abortable rather than orphaning it.
545
+ let accepted = false;
546
+ try {
547
+ accepted = options.onDetachReceipt?.(receipt) === true;
548
+ } catch {
549
+ return false;
550
+ }
551
+ if (!accepted) return false;
552
+ detached = true;
553
+ return true;
554
+ };
555
+
556
+ // If the child emits a terminal assistant stop but never exits,
557
+ // give it a short grace period to flush naturally, then clean it up.
558
+ const FINAL_STOP_GRACE_MS = 1000;
559
+ const HARD_KILL_MS = 3000;
560
+ let childExited = false;
561
+ let forcedTerminationSignal = false;
562
+ let cleanTerminalAssistantStopReceived = false;
563
+ let agentSettledReceived = false;
564
+ let finalDrainTimer: NodeJS.Timeout | undefined;
565
+ let finalHardKillTimer: NodeJS.Timeout | undefined;
566
+ let watchdogTailTimer: NodeJS.Timeout | undefined;
567
+ let childWatchdogState: ChildWatchdogStateSnapshot | undefined;
568
+ const updateChildWatchdogState = (snapshot: ChildWatchdogStateSnapshot): void => {
569
+ childWatchdogState = snapshot;
570
+ result.watchdog = snapshot;
571
+ progress.watchdog = snapshot;
572
+ };
573
+ const clearWatchdogTailTimer = () => {
574
+ if (watchdogTailTimer) {
575
+ clearTimeout(watchdogTailTimer);
576
+ watchdogTailTimer = undefined;
577
+ }
578
+ };
579
+ const clearFinalDrainTimers = () => {
580
+ if (finalDrainTimer) {
581
+ clearTimeout(finalDrainTimer);
582
+ finalDrainTimer = undefined;
583
+ }
584
+ if (finalHardKillTimer) {
585
+ clearTimeout(finalHardKillTimer);
586
+ finalHardKillTimer = undefined;
587
+ }
588
+ };
589
+ const startFinalDrain = () => {
590
+ if (childWatchdogIsActive(childWatchdogState)) {
591
+ armWatchdogTail();
592
+ return;
593
+ }
594
+ if (childExited || finalDrainTimer || lifecycleFinished || processClosed) return;
595
+ finalDrainTimer = setTimeout(() => {
596
+ if (lifecycleFinished || processClosed) return;
597
+ const termSent = trySignalChild(proc, "SIGTERM");
598
+ if (!termSent) return;
599
+ forcedTerminationSignal = true;
600
+ if (!cleanTerminalAssistantStopReceived && !agentSettledReceived && !assistantError) {
601
+ result.error = result.error ?? `Subagent process did not exit within ${FINAL_STOP_GRACE_MS}ms after its terminal event. Forcing termination.`;
602
+ }
603
+ finalHardKillTimer = setTimeout(() => {
604
+ if (lifecycleFinished || processClosed) return;
605
+ forcedTerminationSignal = trySignalChild(proc, "SIGKILL") || forcedTerminationSignal;
606
+ }, HARD_KILL_MS);
607
+ finalHardKillTimer.unref?.();
608
+ }, FINAL_STOP_GRACE_MS);
609
+ finalDrainTimer.unref?.();
610
+ };
611
+ function armWatchdogTail(): void {
612
+ if ((!cleanTerminalAssistantStopReceived && !agentSettledReceived) || watchdogTailTimer || lifecycleFinished || processClosed) return;
613
+ watchdogTailTimer = setTimeout(() => {
614
+ watchdogTailTimer = undefined;
615
+ updateChildWatchdogState({
616
+ phase: "stale",
617
+ seq: (childWatchdogState?.seq ?? 0) + 1,
618
+ lastUpdate: Date.now(),
619
+ followUpPending: false,
620
+ reason: "child watchdog tail timeout",
621
+ timedOut: true,
622
+ });
623
+ startFinalDrain();
624
+ fireUpdate();
625
+ }, childWatchdog?.watchdogTailTimeoutMs ?? 120_000);
626
+ watchdogTailTimer.unref?.();
627
+ }
628
+ const applyChildLifecycle = (action: ChildLifecycleAction): void => {
629
+ if (action === "cancel-drain") {
630
+ clearFinalDrainTimers();
631
+ clearWatchdogTailTimer();
632
+ return;
633
+ }
634
+ if (action === "start-drain") startFinalDrain();
635
+ };
636
+
637
+ const unsubscribeIntercomDetach = options.intercomEvents?.on?.(INTERCOM_DETACH_REQUEST_EVENT, (payload) => {
638
+ if (!options.allowIntercomDetach || processClosed) return;
639
+ if (!payload || typeof payload !== "object") return;
640
+ const event = payload as { requestId?: unknown; runId?: unknown; agent?: unknown; childIndex?: unknown };
641
+ const requestId = event.requestId;
642
+ if (typeof requestId !== "string" || requestId.length === 0) return;
643
+ const hasRoute = event.runId !== undefined || event.agent !== undefined || event.childIndex !== undefined;
644
+ if (hasRoute) {
645
+ if (typeof event.runId === "string" && event.runId !== options.runId) return;
646
+ if (typeof event.agent === "string" && event.agent !== agent.name) return;
647
+ if (typeof event.childIndex === "number" && event.childIndex !== (options.index ?? 0)) return;
648
+ } else if (!intercomStarted) return;
649
+ const accepted = detachForeground("intercom coordination");
650
+ options.intercomEvents?.emit(INTERCOM_DETACH_RESPONSE_EVENT, { requestId, accepted, runId: options.runId, agent: agent.name, childIndex: options.index ?? 0 });
651
+ });
652
+
653
+ const finish = (code: number) => {
654
+ if (lifecycleFinished) return;
655
+ lifecycleFinished = true;
656
+ clearFinalDrainTimers();
657
+ clearWatchdogTailTimer();
658
+ clearStdioGuard();
659
+ clearTimeoutTimers();
660
+ clearTurnBudgetTimers();
661
+ if (protocolHardKillTimer) {
662
+ clearTimeout(protocolHardKillTimer);
663
+ protocolHardKillTimer = undefined;
664
+ }
665
+ if (activityTimer) {
666
+ clearInterval(activityTimer);
667
+ activityTimer = undefined;
668
+ }
669
+ unsubscribeIntercomDetach?.();
670
+ removeAbortListener?.();
671
+ removeInterruptListener?.();
672
+ resolve(code);
673
+ };
674
+
675
+ const drainPendingControlEvents = (): ControlEvent[] | undefined => {
676
+ if (pendingControlEvents.length === 0) return undefined;
677
+ const events = pendingControlEvents;
678
+ pendingControlEvents = [];
679
+ return events;
680
+ };
681
+
682
+ let activeLongRunningNotified = false;
683
+ let pendingToolResult: { tool: string; path?: string; mutates: boolean; startedAt?: number } | undefined;
684
+ const mutatingFailures = createMutatingFailureState();
685
+ const mutatingFailureWindowMs = 5 * 60_000;
686
+ const currentToolDurationMs = (now: number) => progress.currentToolStartedAt ? Math.max(0, now - progress.currentToolStartedAt) : undefined;
687
+ const emitNeedsAttention = (now: number, input: { message?: string; reason?: ControlEvent["reason"]; recentFailureSummary?: string; currentTool?: string; currentPath?: string; currentToolDurationMs?: number } = {}): boolean => {
688
+ if (!controlConfig.enabled) return false;
689
+ const previous = progress.activityState;
690
+ progress.activityState = "needs_attention";
691
+ const event = buildControlEvent({
692
+ type: "needs_attention",
693
+ from: previous,
694
+ to: "needs_attention",
695
+ runId: options.runId,
696
+ agent: agent.name,
697
+ index: options.index,
698
+ ts: now,
699
+ lastActivityAt: progress.lastActivityAt,
700
+ message: input.message,
701
+ reason: input.reason ?? "idle",
702
+ turns: result.usage.turns,
703
+ tokens: progress.tokens,
704
+ toolCount: progress.toolCount,
705
+ currentTool: input.currentTool ?? progress.currentTool,
706
+ currentToolDurationMs: input.currentToolDurationMs ?? currentToolDurationMs(now),
707
+ currentPath: input.currentPath ?? progress.currentPath,
708
+ recentFailureSummary: input.recentFailureSummary,
709
+ });
710
+ emitControlEvent(event);
711
+ return previous !== "needs_attention";
712
+ };
713
+ const emitActiveLongRunning = (now: number, reason: ControlEvent["reason"]): boolean => {
714
+ if (!controlConfig.enabled || activeLongRunningNotified || progress.activityState === "needs_attention") return false;
715
+ activeLongRunningNotified = true;
716
+ const previous = progress.activityState;
717
+ progress.activityState = "active_long_running";
718
+ emitControlEvent(buildControlEvent({
719
+ type: "active_long_running",
720
+ from: previous,
721
+ to: "active_long_running",
722
+ runId: options.runId,
723
+ agent: agent.name,
724
+ index: options.index,
725
+ ts: now,
726
+ message: `${agent.name} is still active but long-running`,
727
+ reason,
728
+ turns: result.usage.turns,
729
+ tokens: progress.tokens,
730
+ toolCount: progress.toolCount,
731
+ currentTool: progress.currentTool,
732
+ currentToolDurationMs: currentToolDurationMs(now),
733
+ currentPath: progress.currentPath,
734
+ elapsedMs: now - startTime,
735
+ }));
736
+ return true;
737
+ };
738
+ const requestTurnBudgetAbort = (turnCount: number) => {
739
+ const budget = options.turnBudget;
740
+ if (!budget || result.timedOut || result.turnBudgetExceeded || interruptedByControl || processClosed || lifecycleFinished) return;
741
+ const message = turnBudgetExceededMessage(budget, turnCount);
742
+ result.turnBudgetExceeded = true;
743
+ result.wrapUpRequested = true;
744
+ result.turnBudget = turnBudgetState(budget, turnCount, true);
745
+ result.error = message;
746
+ result.finalOutput = message;
747
+ progress.status = "failed";
748
+ progress.error = message;
749
+ progress.durationMs = Date.now() - startTime;
750
+ fireUpdate();
751
+ trySignalChild(proc, "SIGINT");
752
+ turnBudgetTerminationTimer = setTimeout(() => {
753
+ if (processClosed || lifecycleFinished || result.timedOut) return;
754
+ trySignalChild(proc, "SIGTERM");
755
+ }, 1000);
756
+ turnBudgetTerminationTimer.unref?.();
757
+ turnBudgetHardKillTimer = setTimeout(() => {
758
+ if (processClosed || lifecycleFinished || result.timedOut) return;
759
+ trySignalChild(proc, "SIGKILL");
760
+ }, 4000);
761
+ turnBudgetHardKillTimer.unref?.();
762
+ };
763
+
764
+ const updateTurnBudget = (turnCount: number, terminalAssistantStop: boolean, toolWorkActiveOrStarting: boolean) => {
765
+ const budget = options.turnBudget;
766
+ if (!budget || result.timedOut || result.turnBudgetExceeded) return;
767
+ if (turnCount < budget.maxTurns) {
768
+ result.turnBudget = { ...budget, outcome: "within-budget", turnCount };
769
+ return;
770
+ }
771
+ if (!turnBudgetSoftReached) {
772
+ turnBudgetSoftReached = true;
773
+ result.wrapUpRequested = true;
774
+ appendRecentOutput(progress, [turnBudgetSoftNote(budget, turnCount)]);
775
+ }
776
+ const decision = turnBudgetDecision(budget, turnCount, terminalAssistantStop, toolWorkActiveOrStarting, options.enforceHardTurnLimit);
777
+ if (decision === "defer") {
778
+ result.turnBudget = turnBudgetDeferredState(
779
+ budget,
780
+ turnCount,
781
+ result.turnBudget?.terminationDeferredAtTurn,
782
+ );
783
+ return;
784
+ }
785
+ result.turnBudget = turnBudgetState(budget, turnCount, false);
786
+ if (decision === "abort") requestTurnBudgetAbort(turnCount);
787
+ };
788
+
789
+ const updateActivityState = (now: number): boolean => {
790
+ if (!controlConfig.enabled) return false;
791
+ const idleState = deriveActivityState({
792
+ config: controlConfig,
793
+ startedAt: startTime,
794
+ lastActivityAt: progress.lastActivityAt,
795
+ currentTool: progress.currentTool,
796
+ now,
797
+ });
798
+ if (idleState === "needs_attention") {
799
+ return progress.activityState === "needs_attention" ? false : emitNeedsAttention(now);
800
+ }
801
+ const activeReason = nextLongRunningTrigger(controlConfig, {
802
+ startedAt: startTime,
803
+ now,
804
+ turns: result.usage.turns,
805
+ tokens: progress.tokens,
806
+ });
807
+ return activeReason ? emitActiveLongRunning(now, activeReason) : false;
808
+ };
809
+
810
+
811
+ const emitUpdateSnapshot = (text: string) => {
812
+ if (!options.onUpdate || processClosed) return;
813
+ const progressSnapshot = snapshotProgress(progress);
814
+ const resultSnapshot = snapshotStreamResult(result, progressSnapshot);
815
+ const controlEvents = drainPendingControlEvents();
816
+ options.onUpdate({
817
+ content: [{ type: "text", text }],
818
+ details: {
819
+ mode: "single",
820
+ results: [resultSnapshot],
821
+ progress: [progressSnapshot],
822
+ controlEvents,
823
+ },
824
+ });
825
+ };
826
+
827
+ const fireUpdate = () => {
828
+ if (!options.onUpdate || processClosed) return;
829
+ progress.durationMs = Date.now() - startTime;
830
+ const output = (result.timedOut || result.turnBudgetExceeded) && result.finalOutput ? result.finalOutput : getFinalOutput(result.messages ?? []);
831
+ emitUpdateSnapshot(output || "(running...)");
832
+ };
833
+
834
+ const rawStdoutTail = createBoundedByteTail();
835
+ const processLine = (line: string) => {
836
+ if (!line.trim()) return;
837
+ jsonlWriter.writeLine(line);
838
+ let evt: { type?: string; message?: Message; toolName?: string; args?: unknown; willRetry?: unknown };
839
+ try {
840
+ evt = JSON.parse(line) as { type?: string; message?: Message; toolName?: string; args?: unknown; willRetry?: unknown };
841
+ } catch {
842
+ rawStdoutTail.push(`${line}\n`);
843
+ shared.transcriptWriter?.writeStdoutLine(line);
844
+ // Non-JSON stdout lines are expected; only structured events are parsed.
845
+ return;
846
+ }
847
+ shared.transcriptWriter?.writeChildEvent(evt);
848
+ if (evt.type === "agent_settled") agentSettledReceived = true;
849
+ applyChildLifecycle(projectChildLifecycle(evt));
850
+
851
+ if (isChildWatchdogStatusEvent(evt)) {
852
+ if (!childWatchdog) return;
853
+ const next = acceptChildWatchdogEvent({
854
+ current: childWatchdogState,
855
+ event: evt,
856
+ runId: options.runId,
857
+ agent: agent.name,
858
+ childIndex: options.index ?? 0,
859
+ });
860
+ if (!next) return;
861
+ updateChildWatchdogState(next);
862
+ if (childWatchdogIsActive(next)) {
863
+ clearFinalDrainTimers();
864
+ armWatchdogTail();
865
+ } else {
866
+ clearWatchdogTailTimer();
867
+ if (cleanTerminalAssistantStopReceived || agentSettledReceived) startFinalDrain();
868
+ }
869
+ fireUpdate();
870
+ return;
871
+ }
872
+
873
+ const now = Date.now();
874
+ progress.durationMs = now - startTime;
875
+ progress.lastActivityAt = now;
876
+ updateActivityState(now);
877
+
878
+ if (evt.type === "tool_execution_start") {
879
+ const toolArgs = evt.args && typeof evt.args === "object" && !Array.isArray(evt.args)
880
+ ? evt.args as Record<string, unknown>
881
+ : {};
882
+ if (options.structuredOutput && evt.toolName === "structured_output") {
883
+ structuredOutputToolInvoked = true;
884
+ structuredOutputMessageStartIndex = result.messages?.length ?? 0;
885
+ }
886
+ if (options.allowIntercomDetach && (evt.toolName === "intercom" || evt.toolName === "contact_supervisor")) {
887
+ intercomStarted = true;
888
+ }
889
+ progress.toolCount++;
890
+ if (options.toolBudget) {
891
+ result.toolBudget = toolBudgetState(options.toolBudget, progress.toolCount);
892
+ }
893
+ progress.currentTool = evt.toolName;
894
+ progress.currentToolArgs = extractToolArgsPreview(toolArgs);
895
+ progress.currentToolStartedAt = now;
896
+ progress.currentPath = resolveCurrentPath(evt.toolName, toolArgs);
897
+ const mutates = isMutatingTool(evt.toolName, toolArgs);
898
+ observedMutationAttempt = observedMutationAttempt || mutates;
899
+ pendingToolResult = { tool: evt.toolName ?? "tool", path: progress.currentPath, mutates, startedAt: now };
900
+ fireUpdate();
901
+ }
902
+
903
+ if (evt.type === "tool_execution_end") {
904
+ if (progress.currentTool) {
905
+ progress.recentTools.push({
906
+ tool: progress.currentTool,
907
+ args: progress.currentToolArgs || "",
908
+ endMs: now,
909
+ });
910
+ }
911
+ progress.currentTool = undefined;
912
+ progress.currentToolArgs = undefined;
913
+ progress.currentToolStartedAt = undefined;
914
+ progress.currentPath = undefined;
915
+ fireUpdate();
916
+ }
917
+
918
+ if (evt.type === "message_end" && evt.message) {
919
+ result.messages!.push(evt.message);
920
+ if (evt.message.role === "assistant") {
921
+ result.usage.turns++;
922
+ progress.turnCount = result.usage.turns;
923
+ const stopReason = (evt.message as { stopReason?: string }).stopReason;
924
+ const toolCalls = Array.isArray(evt.message.content)
925
+ ? evt.message.content.filter((part) => (part as { type?: string }).type === "toolCall")
926
+ : [];
927
+ const hasToolCall = toolCalls.length > 0;
928
+ const terminalAssistantStop = stopReason === "stop" && !hasToolCall;
929
+ const terminalStructuredOutputCall = Boolean(options.structuredOutput)
930
+ && toolCalls.length === 1
931
+ && (toolCalls[0] as { name?: string }).name === "structured_output";
932
+ updateTurnBudget(result.usage.turns, terminalAssistantStop || terminalStructuredOutputCall, hasToolCall || Boolean(progress.currentTool));
933
+ const u = evt.message.usage;
934
+ if (u) {
935
+ result.usage.input += u.input || 0;
936
+ result.usage.output += u.output || 0;
937
+ result.usage.cacheRead += u.cacheRead || 0;
938
+ result.usage.cacheWrite += u.cacheWrite || 0;
939
+ result.usage.cost += u.cost?.total || 0;
940
+ progress.tokens = result.usage.input + result.usage.output;
941
+ progress.inputTokens = result.usage.input;
942
+ progress.outputTokens = result.usage.output;
943
+ }
944
+ if (evt.message.model) {
945
+ progress.model = evt.message.model;
946
+ if (!result.model) result.model = evt.message.model;
947
+ }
948
+ if (evt.message.errorMessage) assistantError = evt.message.errorMessage;
949
+ const assistantText = extractTextFromContent(evt.message.content);
950
+ appendRecentOutput(progress, assistantText.split("\n").slice(-10));
951
+ // Final assistant message: start the exit drain window.
952
+ if (terminalAssistantStop) {
953
+ if (!evt.message.errorMessage && assistantText.trim()) assistantError = undefined;
954
+ cleanTerminalAssistantStopReceived ||= !evt.message.errorMessage;
955
+ applyChildLifecycle(projectChildLifecycle(evt, true));
956
+ }
957
+ }
958
+ updateActivityState(now);
959
+ fireUpdate();
960
+ }
961
+
962
+ if (evt.type === "tool_result_end" && evt.message) {
963
+ result.messages!.push(evt.message);
964
+ const resultText = extractTextFromContent(evt.message.content);
965
+ if (options.toolBudget && pendingToolResult && resultText.includes("Tool budget hard limit reached")) {
966
+ result.toolBudgetBlocked = true;
967
+ result.toolBudget = toolBudgetState(options.toolBudget, progress.toolCount, pendingToolResult.tool);
968
+ }
969
+ appendRecentOutput(progress, resultText.split("\n").slice(-10));
970
+ const toolSnapshot = pendingToolResult;
971
+ pendingToolResult = undefined;
972
+ if (toolSnapshot?.mutates && didMutatingToolFail(resultText)) {
973
+ recordMutatingFailure(mutatingFailures, {
974
+ tool: toolSnapshot.tool,
975
+ path: toolSnapshot.path,
976
+ error: resultText.split("\n").find((line) => line.trim())?.trim().slice(0, 180) ?? "mutating tool failed",
977
+ ts: now,
978
+ }, mutatingFailureWindowMs);
979
+ if (shouldEscalateMutatingFailures(mutatingFailures, controlConfig.failedToolAttemptsBeforeAttention)) {
980
+ emitNeedsAttention(now, {
981
+ message: `${agent.name} needs attention after repeated mutating tool failures`,
982
+ reason: "tool_failures",
983
+ currentTool: toolSnapshot.tool,
984
+ currentPath: toolSnapshot.path,
985
+ currentToolDurationMs: toolSnapshot.startedAt ? Math.max(0, now - toolSnapshot.startedAt) : undefined,
986
+ recentFailureSummary: summarizeRecentMutatingFailures(mutatingFailures),
987
+ });
988
+ }
989
+ } else if (toolSnapshot?.mutates) {
990
+ resetMutatingFailureState(mutatingFailures);
991
+ }
992
+ fireUpdate();
993
+ }
994
+ };
995
+
996
+ fireUpdate();
997
+ if (controlConfig.enabled || options.onUpdate) {
998
+ activityTimer = setInterval(() => {
999
+ if (processClosed || lifecycleFinished) {
1000
+ return;
1001
+ }
1002
+ updateActivityState(Date.now());
1003
+ fireUpdate();
1004
+ }, 1000);
1005
+ activityTimer.unref?.();
1006
+ }
1007
+
1008
+ if (attemptTimeout) {
1009
+ timeoutTimer = setTimeout(() => {
1010
+ if (processClosed || lifecycleFinished || interruptedByControl) return;
1011
+ result.timedOut = true;
1012
+ result.error = attemptTimeout.message;
1013
+ result.finalOutput = attemptTimeout.message;
1014
+ progress.status = "failed";
1015
+ progress.error = attemptTimeout.message;
1016
+ progress.durationMs = Date.now() - startTime;
1017
+ fireUpdate();
1018
+ trySignalChild(proc, "SIGINT");
1019
+ timeoutTerminationTimer = setTimeout(() => {
1020
+ if (processClosed || lifecycleFinished) return;
1021
+ trySignalChild(proc, "SIGTERM");
1022
+ }, 1000);
1023
+ timeoutTerminationTimer.unref?.();
1024
+ timeoutHardKillTimer = setTimeout(() => {
1025
+ if (processClosed || lifecycleFinished) return;
1026
+ trySignalChild(proc, "SIGKILL");
1027
+ }, 4000);
1028
+ timeoutHardKillTimer.unref?.();
1029
+ }, attemptTimeout.remainingMs);
1030
+ timeoutTimer.unref?.();
1031
+ }
1032
+
1033
+ const stderrTail = createBoundedByteTail();
1034
+ const failProtocol = (limit: ProtocolOutputLimit): void => {
1035
+ if (result.protocolError) return;
1036
+ result.protocolError = limit;
1037
+ result.error = formatProtocolOutputLimit(limit);
1038
+ progress.status = "failed";
1039
+ progress.error = result.error;
1040
+ progress.durationMs = Date.now() - startTime;
1041
+ fireUpdate();
1042
+ if (!childExited) {
1043
+ trySignalChild(proc, "SIGTERM");
1044
+ protocolHardKillTimer = setTimeout(() => {
1045
+ if (!childExited) trySignalChild(proc, "SIGKILL");
1046
+ }, 3000);
1047
+ protocolHardKillTimer.unref?.();
1048
+ }
1049
+ };
1050
+ const stdoutReader = createBoundedLineReader({
1051
+ oversizedLineProjector: PI_AGGREGATE_EVENT_PROJECTOR,
1052
+ onLine: processLine,
1053
+ onLimit: failProtocol,
1054
+ });
1055
+ const stderrReader = createBoundedLineReader({
1056
+ stream: "stderr",
1057
+ maxPendingLineBytes: MAX_CHILD_STDERR_BYTES,
1058
+ onLine: (line) => shared.transcriptWriter?.writeStderrLine(line),
1059
+ onLimit: (limit) => shared.transcriptWriter?.writeStderrLine(formatProtocolOutputLimit(limit)),
1060
+ });
1061
+
1062
+ const clearStdioGuard = attachPostExitStdioGuard(proc, { idleMs: 2000, hardMs: 8000 });
1063
+ proc.stdout.on("data", (chunk: Buffer) => stdoutReader.push(chunk));
1064
+ proc.stderr.on("data", (chunk: Buffer) => {
1065
+ stderrTail.push(chunk);
1066
+ stderrReader.push(chunk);
1067
+ });
1068
+ proc.on("exit", () => {
1069
+ childExited = true;
1070
+ clearFinalDrainTimers();
1071
+ });
1072
+ proc.on("close", (code, signal) => {
1073
+ if (lifecycleFinished) return;
1074
+ processClosed = true;
1075
+ clearFinalDrainTimers();
1076
+ clearStdioGuard();
1077
+ void jsonlWriter.close().catch(() => {
1078
+ // JSONL artifact flush is best effort.
1079
+ });
1080
+ const toolDiagnosticError = readChildToolDiagnosticError(toolDiagnosticPath);
1081
+ result.runtimeAcknowledgedExtensions = readRuntimeAcknowledgedExtensions(runtimeAcknowledgedExtensionsPath);
1082
+ cleanupTempDir(tempDir);
1083
+ stdoutReader.end();
1084
+ stderrReader.end();
1085
+ const stderr = stderrTail.text();
1086
+ const rawStdout = rawStdoutTail.text();
1087
+ let closeError = result.error ?? toolDiagnosticError ?? assistantError;
1088
+ const forcedDrainAfterFinalSuccess = Boolean(forcedTerminationSignal || signal) && (cleanTerminalAssistantStopReceived || agentSettledReceived) && !closeError;
1089
+ if (signal) result.processSignal = signal;
1090
+ if (!closeError && isUnexplainedProcessSignal({
1091
+ processSignal: signal,
1092
+ interrupted: result.interrupted,
1093
+ timedOut: result.timedOut,
1094
+ stopped: result.stopped,
1095
+ turnBudgetExceeded: result.turnBudgetExceeded,
1096
+ forcedDrainAfterFinalSuccess,
1097
+ })) {
1098
+ closeError = formatProcessSignalError(signal!);
1099
+ }
1100
+ if (code !== 0 && rawStdout.trim() && !closeError && !forcedDrainAfterFinalSuccess) {
1101
+ closeError = rawStdout.trim();
1102
+ }
1103
+ if (code !== 0 && stderr.trim() && !closeError && !forcedDrainAfterFinalSuccess) {
1104
+ closeError = stderr.trim();
1105
+ }
1106
+ const finalCode = forcedDrainAfterFinalSuccess ? 0 : forcedTerminationSignal || signal ? (code ?? 1) : (code ?? 0);
1107
+ if (!result.error && closeError) result.error = closeError;
1108
+ finish(finalCode);
1109
+ });
1110
+ proc.on("error", (error) => {
1111
+ if (lifecycleFinished) return;
1112
+ processClosed = true;
1113
+ clearFinalDrainTimers();
1114
+ clearStdioGuard();
1115
+ void jsonlWriter.close().catch(() => {
1116
+ // JSONL artifact flush is best effort.
1117
+ });
1118
+ cleanupTempDir(tempDir);
1119
+ stdoutReader.end();
1120
+ stderrReader.end();
1121
+ if (!result.error) {
1122
+ result.error = error instanceof Error ? error.message : String(error);
1123
+ }
1124
+ finish(1);
1125
+ });
1126
+
1127
+ if (options.signal) {
1128
+ const kill = () => {
1129
+ if (processClosed || lifecycleFinished) return;
1130
+ proc.kill("SIGTERM");
1131
+ setTimeout(() => !proc.killed && proc.kill("SIGKILL"), 3000);
1132
+ };
1133
+ if (options.signal.aborted) kill();
1134
+ else {
1135
+ options.signal.addEventListener("abort", kill, { once: true });
1136
+ removeAbortListener = () => options.signal?.removeEventListener("abort", kill);
1137
+ }
1138
+ }
1139
+
1140
+ if (options.interruptSignal) {
1141
+ const interrupt = () => {
1142
+ if (processClosed || lifecycleFinished) return;
1143
+ if (result.timedOut) return;
1144
+ interruptedByControl = true;
1145
+ clearTimeoutTimers();
1146
+ progress.status = "running";
1147
+ progress.durationMs = Date.now() - startTime;
1148
+ result.interrupted = true;
1149
+ result.finalOutput = "Interrupted. Waiting for explicit next action.";
1150
+ progress.activityState = undefined;
1151
+ fireUpdate();
1152
+ trySignalChild(proc, "SIGINT");
1153
+ setTimeout(() => {
1154
+ if (lifecycleFinished || processClosed) return;
1155
+ trySignalChild(proc, "SIGTERM");
1156
+ }, 1000).unref?.();
1157
+ };
1158
+ if (options.interruptSignal.aborted) interrupt();
1159
+ else {
1160
+ options.interruptSignal.addEventListener("abort", interrupt, { once: true });
1161
+ removeInterruptListener = () => options.interruptSignal?.removeEventListener("abort", interrupt);
1162
+ }
1163
+ }
1164
+
1165
+ // Publish only after every callback and cleanup guard captured by detach or
1166
+ // later lifecycle events has initialized. Consumers may invoke synchronously.
1167
+ try {
1168
+ options.onDetachReady?.((reason = "user request") => detachForeground(reason));
1169
+ } catch (error) {
1170
+ // A consumer callback is advisory. Keep the child attached and observable
1171
+ // rather than rejecting this attempt and orphaning its live process.
1172
+ appendRecentOutput(progress, [`Foreground detach callback failed: ${error instanceof Error ? error.message : String(error)}`]);
1173
+ }
1174
+ });
1175
+ result.exitCode = exitCode;
1176
+ if (interruptedByControl) {
1177
+ result.exitCode = 0;
1178
+ result.interrupted = true;
1179
+ result.error = undefined;
1180
+ result.finalOutput = result.finalOutput || "Interrupted. Waiting for explicit next action.";
1181
+ result.controlEvents = allControlEvents.length ? allControlEvents : undefined;
1182
+ progress.activityState = undefined;
1183
+ progress.durationMs = Date.now() - startTime;
1184
+ result.progressSummary = {
1185
+ toolCount: progress.toolCount,
1186
+ tokens: progress.tokens,
1187
+ durationMs: progress.durationMs,
1188
+ };
1189
+ return result;
1190
+ }
1191
+ if (result.error && result.exitCode === 0) {
1192
+ result.exitCode = 1;
1193
+ }
1194
+ let validatedStructuredOutput = false;
1195
+ if (options.structuredOutput && result.exitCode === 0 && !result.error) {
1196
+ result.structuredOutputSchemaPath = options.structuredOutput.schemaPath;
1197
+ result.structuredOutputPath = options.structuredOutput.outputPath;
1198
+ if (!structuredOutputToolInvoked) {
1199
+ result.exitCode = 1;
1200
+ result.error = MISSING_STRUCTURED_OUTPUT_CALL_ERROR;
1201
+ result.structuredOutputFailed = true;
1202
+ } else {
1203
+ const structured = await readStructuredOutput({
1204
+ schema: options.structuredOutput.schema,
1205
+ schemaPath: options.structuredOutput.schemaPath,
1206
+ outputPath: options.structuredOutput.outputPath,
1207
+ });
1208
+ if (structured.error) {
1209
+ result.exitCode = 1;
1210
+ result.error = structured.error;
1211
+ result.structuredOutputFailed = true;
1212
+ } else {
1213
+ result.structuredOutput = structured.value;
1214
+ validatedStructuredOutput = true;
1215
+ }
1216
+ }
1217
+ }
1218
+ if (result.exitCode === 0 && !result.error) {
1219
+ const messages = result.messages ?? [];
1220
+ const finalText = getFinalOutput(messages);
1221
+ const errorMessages = validatedStructuredOutput
1222
+ ? messages.slice(structuredOutputMessageStartIndex ?? messages.length)
1223
+ : messages;
1224
+ const errInfo = detectSubagentError(errorMessages);
1225
+ const missingOutput = !finalText?.trim() && !validatedStructuredOutput;
1226
+ if (missingOutput && (!errInfo.hasError || hasEmptyTerminalAssistantResponse(messages))) {
1227
+ result.exitCode = 1;
1228
+ result.error = "Subagent produced no output (possible model cold-start or empty response).";
1229
+ } else if (errInfo.hasError) {
1230
+ result.exitCode = errInfo.exitCode ?? 1;
1231
+ result.error = errInfo.details
1232
+ ? `${errInfo.errorType} failed (exit ${errInfo.exitCode}): ${errInfo.details}`
1233
+ : `${errInfo.errorType} failed with exit code ${errInfo.exitCode}`;
1234
+ }
1235
+ }
1236
+
1237
+ progress.status = result.exitCode === 0 ? "completed" : "failed";
1238
+ progress.durationMs = Date.now() - startTime;
1239
+ if (result.error) {
1240
+ progress.error = result.error;
1241
+ if (progress.currentTool) {
1242
+ progress.failedTool = progress.currentTool;
1243
+ }
1244
+ }
1245
+
1246
+ result.progressSummary = {
1247
+ toolCount: progress.toolCount,
1248
+ tokens: progress.tokens,
1249
+ durationMs: progress.durationMs,
1250
+ };
1251
+
1252
+ const acceptanceOutput = getFinalOutput(result.messages ?? []);
1253
+ let fullOutput = stripAcceptanceReport(acceptanceOutput);
1254
+ if (!fullOutput.trim() && result.structuredOutput !== undefined) fullOutput = JSON.stringify(result.structuredOutput, null, 2);
1255
+ result.outputState = fullOutput.trim() || result.structuredOutput !== undefined ? "present" : "absent";
1256
+ if (result.timedOut) {
1257
+ const timeoutMessage = formatTimeoutMessage(options.timeoutMs ?? 0);
1258
+ fullOutput = fullOutput.trim()
1259
+ ? `${timeoutMessage}\n\nPartial output before timeout:\n${fullOutput}`
1260
+ : timeoutMessage;
1261
+ } else if (result.turnBudgetExceeded && result.turnBudget) {
1262
+ fullOutput = formatTurnBudgetOutput(turnBudgetExceededMessage(result.turnBudget, result.turnBudget.turnCount), fullOutput);
1263
+ } else if (result.turnBudget?.outcome === "termination-deferred") {
1264
+ const note = turnBudgetDeferredNote(result.turnBudget, result.turnBudget.terminationDeferredAtTurn ?? result.turnBudget.turnCount);
1265
+ fullOutput = fullOutput.trim() ? `${note}\n\n${fullOutput}` : note;
1266
+ } else if (result.wrapUpRequested && result.turnBudget?.outcome === "wrap-up-requested") {
1267
+ const note = turnBudgetSoftNote(result.turnBudget, result.turnBudget.wrapUpRequestedAtTurn ?? result.turnBudget.turnCount);
1268
+ fullOutput = fullOutput.trim() ? `${note}\n\n${fullOutput}` : note;
1269
+ }
1270
+ const completionGuardEnabled = isAgentContractV1(options.agentContract) ? agent.completionGuard === true : agent.completionGuard !== false;
1271
+ const completionGuard = result.exitCode === 0 && !result.error && completionGuardEnabled
1272
+ ? evaluateCompletionMutationGuard({
1273
+ agent: agent.name,
1274
+ task: shared.originalTask ?? task,
1275
+ messages: result.messages ?? [],
1276
+ tools: agent.tools,
1277
+ mcpDirectTools: agent.mcpDirectTools,
1278
+ })
1279
+ : undefined;
1280
+ const completionGuardTriggered = completionGuard?.triggered === true && !observedMutationAttempt;
1281
+ if (completionGuard) {
1282
+ result.effects = {
1283
+ ...(result.effects ?? {}),
1284
+ fileMutation: {
1285
+ status: completionGuard.expectedMutation ? completionGuardTriggered ? "missing" : "observed" : "not-applicable",
1286
+ expected: completionGuard.expectedMutation,
1287
+ attempted: completionGuard.attemptedMutation || observedMutationAttempt,
1288
+ ...(completionGuardTriggered ? { message: "Subagent completed without making edits for an implementation task." } : {}),
1289
+ },
1290
+ };
1291
+ }
1292
+ if (completionGuardTriggered && !isAgentContractV1(options.agentContract)) {
1293
+ result.exitCode = 1;
1294
+ result.error = "Subagent completed without making edits for an implementation task.\nIt appears to have returned planning or scratchpad output instead of applying changes.";
1295
+ progress.status = "failed";
1296
+ progress.error = result.error;
1297
+ emitControlEvent(buildControlEvent({
1298
+ from: progress.activityState,
1299
+ to: "needs_attention",
1300
+ runId: options.runId ?? agent.name,
1301
+ agent: agent.name,
1302
+ index: options.index,
1303
+ ts: Date.now(),
1304
+ message: `${agent.name} completed without making edits for an implementation task`,
1305
+ reason: "completion_guard",
1306
+ }));
1307
+ }
1308
+ if (options.outputPath && result.exitCode === 0) {
1309
+ const resolvedOutput = resolveSingleOutput(options.outputPath, fullOutput, shared.outputSnapshot);
1310
+ fullOutput = stripAcceptanceReport(resolvedOutput.fullOutput);
1311
+ result.savedOutputPath = resolvedOutput.savedPath;
1312
+ result.outputSaveError = resolvedOutput.saveError;
1313
+ if (resolvedOutput.savedPath) {
1314
+ result.outputReference = formatSavedOutputReference(resolvedOutput.savedPath, fullOutput);
1315
+ if (result.outputState === "absent") result.outputState = "unknown";
1316
+ }
1317
+ }
1318
+ artifactOutputByResult.set(result, fullOutput);
1319
+ acceptanceOutputByResult.set(result, acceptanceOutput);
1320
+ result.outputMode = options.outputMode ?? "inline";
1321
+ result.finalOutput = options.outputMode === "file-only" && result.savedOutputPath && result.outputReference
1322
+ ? result.outputReference.message
1323
+ : fullOutput;
1324
+ result.controlEvents = allControlEvents.length ? allControlEvents : undefined;
1325
+ if (options.onUpdate) {
1326
+ const finalText = result.finalOutput || result.error || "(no output)";
1327
+ const progressSnapshot = snapshotProgress(progress);
1328
+ const resultSnapshot = snapshotStreamResult(result, progressSnapshot);
1329
+ options.onUpdate({
1330
+ content: [{ type: "text", text: finalText }],
1331
+ details: {
1332
+ mode: "single",
1333
+ results: [resultSnapshot],
1334
+ progress: [progressSnapshot],
1335
+ controlEvents: allControlEvents.length ? allControlEvents : undefined,
1336
+ },
1337
+ });
1338
+ }
1339
+ return result;
1340
+ }
1341
+
1342
+ /**
1343
+ * Run a subagent synchronously (blocking until complete)
1344
+ */
1345
+ async function runSyncCompletion(
1346
+ runtimeCwd: string,
1347
+ agents: AgentConfig[],
1348
+ agentName: string,
1349
+ task: string,
1350
+ options: RunSyncOptions,
1351
+ ): Promise<SingleResult> {
1352
+ options = {
1353
+ ...options,
1354
+ capabilityCeiling: intersectSubagentCapabilityCeilings(options.capabilityCeiling ?? resolveCurrentSubagentCapabilityCeiling(options.parentSessionId), decodeSubagentCapabilityCeiling(process.env[SUBAGENT_CAPABILITY_CEILING_ENV])),
1355
+ };
1356
+ const agent = agents.find((a) => a.name === agentName);
1357
+ if (!agent) {
1358
+ return withRunContext({
1359
+ index: options.index ?? 0,
1360
+ agent: agentName,
1361
+ task,
1362
+ exitCode: 1,
1363
+ messages: [],
1364
+ usage: emptyUsage(),
1365
+ error: `Unknown agent: ${agentName}`,
1366
+ }, options.context);
1367
+ }
1368
+ try {
1369
+ assertAgentAllowedByCapabilityCeiling(agent.name, options.capabilityCeiling);
1370
+ } catch (error) {
1371
+ return withRunContext({
1372
+ index: options.index ?? 0,
1373
+ agent: agent.name,
1374
+ task,
1375
+ exitCode: 1,
1376
+ messages: [],
1377
+ usage: emptyUsage(),
1378
+ error: error instanceof Error ? error.message : String(error),
1379
+ ...(options.capabilityCeiling ? { capabilityCeiling: options.capabilityCeiling } : {}),
1380
+ }, options.context);
1381
+ }
1382
+ const acceptanceErrors = validateAcceptanceInput(options.acceptance);
1383
+ if (acceptanceErrors.length > 0) {
1384
+ return withRunContext({
1385
+ index: options.index ?? 0,
1386
+ agent: agentName,
1387
+ task,
1388
+ exitCode: 1,
1389
+ messages: [],
1390
+ usage: emptyUsage(),
1391
+ error: acceptanceErrors.join(" "),
1392
+ }, options.context);
1393
+ }
1394
+ const outputModeValidationError = validateFileOnlyOutputMode(options.outputMode, options.outputPath, `Single run (${agentName})`);
1395
+ if (outputModeValidationError) {
1396
+ return withRunContext({
1397
+ index: options.index ?? 0,
1398
+ agent: agentName,
1399
+ task,
1400
+ exitCode: 1,
1401
+ messages: [],
1402
+ usage: emptyUsage(),
1403
+ outputMode: options.outputMode,
1404
+ error: outputModeValidationError,
1405
+ }, options.context);
1406
+ }
1407
+
1408
+ const shareEnabled = options.share === true;
1409
+ const effectiveAcceptance = resolveEffectiveAcceptance({
1410
+ explicit: options.acceptance,
1411
+ agentName,
1412
+ acceptanceRole: agent.acceptanceRole,
1413
+ task,
1414
+ mode: options.acceptanceContext?.mode ?? "single",
1415
+ async: options.acceptanceContext?.async,
1416
+ dynamic: options.acceptanceContext?.dynamic,
1417
+ dynamicGroup: options.acceptanceContext?.dynamicGroup,
1418
+ agentContract: options.agentContract,
1419
+ });
1420
+ const acceptancePrompt = formatAcceptancePrompt(effectiveAcceptance, { reportOptional: isAgentContractV1(options.agentContract) });
1421
+ const taskWithAcceptance = acceptancePrompt ? `${task}\n${acceptancePrompt}` : task;
1422
+ const sessionEnabled = Boolean(options.sessionFile || options.sessionDir) || shareEnabled;
1423
+ if (options.context === "fork" && options.sessionFile && existsSync(options.sessionFile)) {
1424
+ alignForkedSessionCwd(options.sessionFile, options.cwd ?? runtimeCwd);
1425
+ }
1426
+ const skillNames = options.skills ?? agent.skills ?? [];
1427
+ const skillCwd = options.cwd ?? runtimeCwd;
1428
+ const { resolved: resolvedSkills, missing: missingSkills } = resolveSkillsWithFallback(
1429
+ skillNames,
1430
+ skillCwd,
1431
+ runtimeCwd,
1432
+ agent.skillPath,
1433
+ agent.filePath ? path.dirname(agent.filePath) : skillCwd,
1434
+ );
1435
+ if (skillNames.some((skill) => skill.trim() === "pi-subagents") && missingSkills.includes("pi-subagents")) {
1436
+ return withRunContext({
1437
+ index: options.index ?? 0,
1438
+ agent: agentName,
1439
+ task,
1440
+ exitCode: 1,
1441
+ messages: [],
1442
+ usage: emptyUsage(),
1443
+ error: "Skills not found: pi-subagents",
1444
+ }, options.context);
1445
+ }
1446
+ let systemPrompt = agent.systemPrompt?.trim() || "";
1447
+ if (resolvedSkills.length > 0) {
1448
+ const skillInjection = buildSkillInjection(resolvedSkills);
1449
+ systemPrompt = systemPrompt ? `${systemPrompt}\n\n${skillInjection}` : skillInjection;
1450
+ }
1451
+ const memoryInjection = buildAgentMemoryInjection(agent, skillCwd);
1452
+ if (memoryInjection) {
1453
+ systemPrompt = systemPrompt ? `${systemPrompt}\n\n${memoryInjection}` : memoryInjection;
1454
+ }
1455
+ systemPrompt = appendAgentRefinementOverlay(systemPrompt, { cwd: skillCwd, agentName });
1456
+ systemPrompt = injectOutputPathSystemPrompt(systemPrompt, options.outputPath, agent);
1457
+
1458
+ const candidates = buildModelCandidates(
1459
+ options.modelOverride ?? agent.model,
1460
+ agent.fallbackModels,
1461
+ options.availableModels,
1462
+ options.preferredModelProvider,
1463
+ { scope: options.modelScope },
1464
+ );
1465
+ const attemptedModels: string[] = [];
1466
+ const modelAttempts: ModelAttempt[] = [];
1467
+ const aggregateUsage = emptyUsage();
1468
+ const attemptNotes: string[] = [];
1469
+ let totalToolCount = 0;
1470
+ let totalDurationMs = 0;
1471
+
1472
+ let artifactPathsResult: ArtifactPaths | undefined;
1473
+ let jsonlPath: string | undefined;
1474
+ let transcriptWriter: ChildTranscriptWriter | undefined;
1475
+ if (options.artifactsDir && options.artifactConfig?.enabled !== false) {
1476
+ artifactPathsResult = getArtifactPaths(options.artifactsDir, options.runId, agentName, options.index);
1477
+ ensureArtifactsDir(options.artifactsDir);
1478
+ if (options.artifactConfig?.includeInput !== false) {
1479
+ writeArtifact(artifactPathsResult.inputPath, `# Task for ${agentName}\n\n${taskWithAcceptance}`);
1480
+ }
1481
+ if (options.artifactConfig?.includeJsonl !== false) {
1482
+ jsonlPath = artifactPathsResult.jsonlPath;
1483
+ }
1484
+ if (options.artifactConfig?.includeTranscript !== false) {
1485
+ transcriptWriter = createChildTranscriptWriter({
1486
+ transcriptPath: artifactPathsResult.transcriptPath,
1487
+ source: "foreground",
1488
+ runId: options.runId,
1489
+ agent: agentName,
1490
+ childIndex: options.index,
1491
+ cwd: options.cwd ?? runtimeCwd,
1492
+ });
1493
+ transcriptWriter.writeInitialUserMessage(taskWithAcceptance);
1494
+ }
1495
+ }
1496
+
1497
+ const persistResultMetadata = (target: SingleResult): void => {
1498
+ persistSingleResultMetadata({
1499
+ metadataPath: artifactPathsResult?.metadataPath,
1500
+ enabled: options.artifactConfig?.enabled !== false && options.artifactConfig?.includeMetadata !== false,
1501
+ runId: options.runId,
1502
+ agent: agentName,
1503
+ task,
1504
+ result: target,
1505
+ });
1506
+ };
1507
+
1508
+ let intercomDetached = false;
1509
+ let detachedReason: string | undefined;
1510
+ const attemptOptions: RunSyncOptions = {
1511
+ ...options,
1512
+ onDetachReceipt: (receipt) => {
1513
+ receipt.acceptance = buildPendingAcceptanceLedger(effectiveAcceptance);
1514
+ try {
1515
+ persistResultMetadata(receipt);
1516
+ } catch (error) {
1517
+ receipt.metadataSaveError = error instanceof Error ? error.message : String(error);
1518
+ }
1519
+ const accepted = options.onDetachReceipt?.(receipt) === true;
1520
+ if (accepted) {
1521
+ detachedReason = receipt.detachedReason;
1522
+ if (receipt.detachedReason === "intercom coordination") intercomDetached = true;
1523
+ }
1524
+ return accepted;
1525
+ },
1526
+ };
1527
+ let lastResult: SingleResult | undefined;
1528
+ const modelsToTry = candidates.length > 0 ? candidates : [undefined];
1529
+ modelAttemptsLoop: for (let modelIndex = 0; modelIndex < modelsToTry.length; modelIndex++) {
1530
+ const candidate = modelsToTry[modelIndex];
1531
+ for (let startupAttemptIndex = 0; ; startupAttemptIndex++) {
1532
+ const outputSnapshot = captureSingleOutputSnapshot(options.outputPath);
1533
+ const result = await runSingleAttempt(runtimeCwd, agent, taskWithAcceptance, candidate, attemptOptions, {
1534
+ sessionEnabled,
1535
+ systemPrompt,
1536
+ resolvedSkillNames: resolvedSkills.length > 0 ? resolvedSkills.map((skill) => skill.name) : undefined,
1537
+ skillsWarning: missingSkills.length > 0 ? `Skills not found: ${missingSkills.join(", ")}` : undefined,
1538
+ jsonlPath,
1539
+ artifactPaths: artifactPathsResult,
1540
+ transcriptWriter,
1541
+ attemptNotes,
1542
+ modelCandidates: candidates
1543
+ .map((modelCandidate) => applyThinkingSuffix(modelCandidate, options.thinkingOverride ?? agent.thinking, options.thinkingOverride !== undefined))
1544
+ .filter((modelCandidate): modelCandidate is string => Boolean(modelCandidate)),
1545
+ outputSnapshot,
1546
+ originalTask: task,
1547
+ });
1548
+ lastResult = result;
1549
+ if (startupAttemptIndex === 0) {
1550
+ if (result.model) attemptedModels.push(result.model);
1551
+ else if (candidate) attemptedModels.push(candidate);
1552
+ }
1553
+ sumUsage(aggregateUsage, result.usage);
1554
+ totalToolCount += result.progressSummary?.toolCount ?? 0;
1555
+ totalDurationMs += result.progressSummary?.durationMs ?? 0;
1556
+ const attemptSucceeded = result.exitCode === 0 && !result.error;
1557
+ const attempt: ModelAttempt = {
1558
+ model: result.model ?? candidate ?? agent.model ?? "default",
1559
+ success: attemptSucceeded,
1560
+ exitCode: result.exitCode,
1561
+ error: result.error,
1562
+ usage: { ...result.usage },
1563
+ };
1564
+ modelAttempts.push(attempt);
1565
+ // Preserve the legacy intercom handoff contract: once this logical run has
1566
+ // been handed to a supervisor, terminating that attempt must not launch a
1567
+ // startup retry or model fallback. Explicit user detach retains fallback.
1568
+ if (intercomDetached || result.timedOut || result.turnBudgetExceeded) break modelAttemptsLoop;
1569
+ if (attemptSucceeded) break modelAttemptsLoop;
1570
+
1571
+ const startupFailure = isRetryableSubagentStartupFailure({
1572
+ exitCode: result.exitCode,
1573
+ error: result.error,
1574
+ finalOutput: result.finalOutput,
1575
+ messageCount: result.messages?.length ?? 0,
1576
+ toolCount: result.progressSummary?.toolCount ?? 0,
1577
+ usage: result.usage,
1578
+ durationMs: result.progressSummary?.durationMs ?? Number.POSITIVE_INFINITY,
1579
+ protocolError: result.protocolError,
1580
+ processSignal: result.processSignal,
1581
+ detached: result.detached,
1582
+ interrupted: result.interrupted,
1583
+ timedOut: result.timedOut,
1584
+ stopped: result.stopped,
1585
+ turnBudgetExceeded: result.turnBudgetExceeded,
1586
+ });
1587
+ const retryDelayMs = SUBAGENT_STARTUP_RETRY_DELAYS_MS[startupAttemptIndex];
1588
+ if (startupFailure && retryDelayMs !== undefined) {
1589
+ const retryNote = formatSubagentStartupRetryNote({
1590
+ model: attempt.model,
1591
+ attempt: startupAttemptIndex + 1,
1592
+ maxAttempts: SUBAGENT_STARTUP_RETRY_DELAYS_MS.length + 1,
1593
+ delayMs: retryDelayMs,
1594
+ });
1595
+ const shouldRetry = await waitForSubagentStartupRetry(retryDelayMs, [options.signal, options.interruptSignal]);
1596
+ if (!shouldRetry) {
1597
+ if (options.interruptSignal?.aborted) {
1598
+ result.exitCode = 0;
1599
+ result.interrupted = true;
1600
+ result.error = undefined;
1601
+ result.finalOutput = "Interrupted. Waiting for explicit next action.";
1602
+ if (result.progress) {
1603
+ result.progress.status = "running";
1604
+ result.progress.error = undefined;
1605
+ }
1606
+ } else {
1607
+ const cancellationError = "Subagent startup retry cancelled before relaunch.";
1608
+ result.error = cancellationError;
1609
+ result.finalOutput = cancellationError;
1610
+ attempt.error = cancellationError;
1611
+ if (result.progress) result.progress.error = cancellationError;
1612
+ }
1613
+ break modelAttemptsLoop;
1614
+ }
1615
+ attempt.error = retryNote;
1616
+ attemptNotes.push(retryNote);
1617
+ continue;
1618
+ }
1619
+ if (startupFailure) {
1620
+ const startupError = formatSubagentStartupRetryExhaustedError({
1621
+ model: attempt.model,
1622
+ attempts: startupAttemptIndex + 1,
1623
+ });
1624
+ result.error = startupError;
1625
+ result.finalOutput = startupError;
1626
+ if (result.progress) {
1627
+ result.progress.error = startupError;
1628
+ result.progress.status = "failed";
1629
+ }
1630
+ attempt.error = startupError;
1631
+ break modelAttemptsLoop;
1632
+ }
1633
+ if (!isRetryableModelFailure(result.error) || modelIndex === modelsToTry.length - 1) break modelAttemptsLoop;
1634
+ attemptNotes.push(formatModelAttemptNote(attempt, modelsToTry[modelIndex + 1]));
1635
+ break;
1636
+ }
1637
+ }
1638
+
1639
+ const result = withRunContext(lastResult ?? {
1640
+ index: options.index ?? 0,
1641
+ agent: agentName,
1642
+ task,
1643
+ exitCode: 1,
1644
+ messages: [],
1645
+ usage: emptyUsage(),
1646
+ error: "Subagent did not produce a result.",
1647
+ } satisfies SingleResult, options.context);
1648
+
1649
+ result.usage = aggregateUsage;
1650
+ result.attemptedModels = attemptedModels.length > 0 ? attemptedModels : undefined;
1651
+ result.modelAttempts = modelAttempts.length > 0 ? modelAttempts : undefined;
1652
+ result.progressSummary = {
1653
+ toolCount: totalToolCount,
1654
+ tokens: aggregateUsage.input + aggregateUsage.output,
1655
+ durationMs: totalDurationMs,
1656
+ };
1657
+ if (transcriptWriter) result.transcriptPath = artifactPathsResult?.transcriptPath;
1658
+ if (transcriptWriter?.getError()) result.transcriptError = transcriptWriter.getError();
1659
+
1660
+ try {
1661
+ if (artifactPathsResult && options.artifactConfig?.enabled !== false) {
1662
+ result.artifactPaths = artifactPathsResult;
1663
+ if (options.artifactConfig?.includeOutput !== false) {
1664
+ writeArtifact(artifactPathsResult.outputPath, formatOutputArtifactContent({
1665
+ output: artifactOutputByResult.get(result) ?? result.finalOutput ?? "",
1666
+ error: result.error,
1667
+ transcriptPath: result.transcriptPath,
1668
+ metadataPath: options.artifactConfig?.includeMetadata === false ? undefined : artifactPathsResult.metadataPath,
1669
+ }));
1670
+ }
1671
+ if (options.maxOutput) {
1672
+ const config = { ...DEFAULT_MAX_OUTPUT, ...options.maxOutput };
1673
+ const truncationResult = truncateOutput(result.finalOutput ?? "", config, artifactPathsResult.outputPath);
1674
+ if (truncationResult.truncated) result.truncation = truncationResult;
1675
+ }
1676
+ } else if (options.maxOutput) {
1677
+ const config = { ...DEFAULT_MAX_OUTPUT, ...options.maxOutput };
1678
+ const truncationResult = truncateOutput(result.finalOutput ?? "", config);
1679
+ if (truncationResult.truncated) result.truncation = truncationResult;
1680
+ }
1681
+ } catch (error) {
1682
+ const message = `Artifact output post-processing failed: ${error instanceof Error ? error.message : String(error)}`;
1683
+ result.outputSaveError = result.outputSaveError ? `${result.outputSaveError}\n${message}` : message;
1684
+ }
1685
+
1686
+ if (options.sessionFile && (existsSync(options.sessionFile) || result.messages?.length)) {
1687
+ result.sessionFile = options.sessionFile;
1688
+ } else if (shareEnabled && options.sessionDir) {
1689
+ const sessionFile = findLatestSessionFile(options.sessionDir);
1690
+ if (sessionFile) result.sessionFile = sessionFile;
1691
+ }
1692
+
1693
+ const childWrittenOutput = options.outputPath
1694
+ ? extractChildWrittenOutput(result.messages, options.outputPath, options.cwd ?? runtimeCwd)
1695
+ : undefined;
1696
+ try {
1697
+ if (result.interrupted && detachedReason === "user request") {
1698
+ // Only an accepted user-detach receipt needs a non-rejecting terminal
1699
+ // ledger. Attached and background execution retain their baseline
1700
+ // acceptance behavior.
1701
+ result.acceptance = buildInterruptedAcceptanceLedger(effectiveAcceptance);
1702
+ } else if (result.stopped) {
1703
+ result.acceptance = buildSkippedAcceptanceLedger(effectiveAcceptance, { id: "stopped", message: "Acceptance was not evaluated because the subagent was stopped." });
1704
+ } else if (result.timedOut) {
1705
+ result.acceptance = buildSkippedAcceptanceLedger(effectiveAcceptance, { id: "timeout", message: "Acceptance was not evaluated because the subagent timed out." });
1706
+ } else if (result.turnBudgetExceeded) {
1707
+ result.acceptance = buildSkippedAcceptanceLedger(effectiveAcceptance, { id: "turn-budget", message: "Acceptance was not evaluated because the subagent exceeded its turn budget." });
1708
+ } else {
1709
+ result.acceptance = await evaluateAcceptance({
1710
+ acceptance: effectiveAcceptance,
1711
+ output: acceptanceOutputByResult.get(result) ?? result.finalOutput ?? "",
1712
+ fileOutput: childWrittenOutput !== undefined && options.outputPath
1713
+ ? { content: childWrittenOutput, path: options.outputPath, authoritative: options.outputMode === "file-only" }
1714
+ : undefined,
1715
+ cwd: options.cwd ?? runtimeCwd,
1716
+ reportOptional: isAgentContractV1(options.agentContract),
1717
+ artifactsDir: options.artifactsDir,
1718
+ runId: options.runId,
1719
+ });
1720
+ }
1721
+ } catch (error) {
1722
+ const message = `Acceptance evaluation failed: ${error instanceof Error ? error.message : String(error)}`;
1723
+ result.acceptance = buildSkippedAcceptanceLedger(effectiveAcceptance, { id: "acceptance-evaluation", message });
1724
+ }
1725
+ const acceptanceFailure = acceptanceFailureMessage(result.acceptance);
1726
+ stripAcceptanceReportsFromMessages(result.messages);
1727
+ if (acceptanceFailure && result.acceptance.explicit && result.exitCode === 0 && !result.interrupted && !result.timedOut && !isAgentContractV1(options.agentContract)) {
1728
+ result.exitCode = 1;
1729
+ result.error = result.error ? `${result.error}\n${acceptanceFailure}` : acceptanceFailure;
1730
+ if (result.progress) {
1731
+ result.progress.status = "failed";
1732
+ result.progress.error = result.error;
1733
+ }
1734
+ }
1735
+ if (isAgentContractV1(options.agentContract)) attachContractProjections(result);
1736
+ try {
1737
+ persistResultMetadata(result);
1738
+ } catch (error) {
1739
+ result.metadataSaveError = error instanceof Error ? error.message : String(error);
1740
+ }
1741
+
1742
+ return result;
1743
+ }
1744
+
1745
+ /**
1746
+ * Runs the authoritative completion pipeline independently from the foreground
1747
+ * receipt. Detachment is same-runtime only: it does not adopt or daemonize work.
1748
+ */
1749
+ export async function runSync(
1750
+ runtimeCwd: string,
1751
+ agents: AgentConfig[],
1752
+ agentName: string,
1753
+ task: string,
1754
+ options: RunSyncOptions,
1755
+ ): Promise<SingleResult> {
1756
+ // Capture the strict contract before consumer-owned objects can be mutated
1757
+ // after a detached receipt is published.
1758
+ const strictContract = isAgentContractV1(options.agentContract);
1759
+ let detachedReason: string | undefined;
1760
+ let publishedReceipt: SingleResult | undefined;
1761
+ let activeDetachAttempt: ((reason?: string) => boolean) | undefined;
1762
+ let detachReadyPublished = false;
1763
+ let resolveReceipt!: (result: SingleResult) => void;
1764
+ const receipt = new Promise<SingleResult>((resolve) => { resolveReceipt = resolve; });
1765
+ const originSignal = options.signal;
1766
+ const originController = new AbortController();
1767
+ const forwardOriginAbort = () => {
1768
+ if (!detachedReason) originController.abort(originSignal?.reason);
1769
+ };
1770
+ if (originSignal?.aborted) forwardOriginAbort();
1771
+ else originSignal?.addEventListener("abort", forwardOriginAbort, { once: true });
1772
+
1773
+ const completion = runSyncCompletion(runtimeCwd, agents, agentName, task, {
1774
+ ...options,
1775
+ signal: originController.signal,
1776
+ onDetachedExit: undefined,
1777
+ onDetachReceipt: (detachedReceipt) => {
1778
+ if (detachedReason || publishedReceipt) return false;
1779
+ // Keep the authoritative result, fallback snapshot, and caller receipt
1780
+ // separately owned while the completion pipeline remains live.
1781
+ publishedReceipt = structuredClone(detachedReceipt);
1782
+ const callerReceipt = structuredClone(detachedReceipt);
1783
+ // A strict contract was already validated before detach; normalize private
1784
+ // and caller snapshots to the only safely known version.
1785
+ publishedReceipt.agentContract = strictContract ? { version: 1 } : undefined;
1786
+ callerReceipt.agentContract = strictContract ? { version: 1 } : undefined;
1787
+ detachedReason = detachedReceipt.detachedReason ?? "user request";
1788
+ resolveReceipt(callerReceipt);
1789
+ return true;
1790
+ },
1791
+ onDetachReady: (detachAttempt) => {
1792
+ activeDetachAttempt = detachAttempt;
1793
+ if (detachReadyPublished) return;
1794
+ detachReadyPublished = true;
1795
+ options.onDetachReady?.((reason = "user request") => {
1796
+ if (detachedReason || originController.signal.aborted) return false;
1797
+ return activeDetachAttempt?.(reason) ?? false;
1798
+ });
1799
+ },
1800
+ });
1801
+
1802
+ const authoritativeCompletion = completion.catch((error: unknown) => {
1803
+ if (!publishedReceipt || !detachedReason) throw error;
1804
+ const message = error instanceof Error ? error.message : String(error);
1805
+ const failureMessage = `Detached completion pipeline failed after receipt: ${message}`;
1806
+ const failedProgress: AgentProgress = publishedReceipt.progress
1807
+ ? { ...publishedReceipt.progress, status: "failed", error: failureMessage }
1808
+ : {
1809
+ index: options.index ?? 0,
1810
+ agent: publishedReceipt.agent,
1811
+ status: "failed",
1812
+ task: publishedReceipt.task,
1813
+ recentTools: [],
1814
+ recentOutput: [],
1815
+ toolCount: publishedReceipt.progressSummary?.toolCount ?? 0,
1816
+ tokens: publishedReceipt.progressSummary?.tokens ?? 0,
1817
+ durationMs: publishedReceipt.progressSummary?.durationMs ?? 0,
1818
+ error: failureMessage,
1819
+ };
1820
+ const failedResult: SingleResult = {
1821
+ ...publishedReceipt,
1822
+ detached: undefined,
1823
+ detachedReason,
1824
+ exitCode: 1,
1825
+ error: failureMessage,
1826
+ finalOutput: failureMessage,
1827
+ progress: failedProgress,
1828
+ progressSummary: {
1829
+ toolCount: failedProgress.toolCount,
1830
+ tokens: failedProgress.tokens,
1831
+ durationMs: failedProgress.durationMs,
1832
+ },
1833
+ acceptance: publishedReceipt.acceptance
1834
+ ? buildSkippedAcceptanceLedger(publishedReceipt.acceptance.effectiveAcceptance, { id: "completion-pipeline", message: failureMessage })
1835
+ : undefined,
1836
+ };
1837
+ if (strictContract) attachContractProjections(failedResult);
1838
+ try {
1839
+ // Replace the provisional detach receipt metadata with the authoritative
1840
+ // terminal failure. Persistence remains best-effort and cannot orphan work.
1841
+ persistSingleResultMetadata({
1842
+ metadataPath: failedResult.artifactPaths?.metadataPath,
1843
+ enabled: options.artifactConfig?.enabled !== false && options.artifactConfig?.includeMetadata !== false,
1844
+ runId: options.runId,
1845
+ agent: failedResult.agent,
1846
+ task: failedResult.task,
1847
+ result: failedResult,
1848
+ });
1849
+ } catch (metadataError) {
1850
+ failedResult.metadataSaveError = metadataError instanceof Error ? metadataError.message : String(metadataError);
1851
+ }
1852
+ return failedResult;
1853
+ });
1854
+
1855
+ let terminalCallbackInvoked = false;
1856
+ void authoritativeCompletion.then((terminalResult) => {
1857
+ if (!detachedReason || terminalCallbackInvoked) return;
1858
+ terminalCallbackInvoked = true;
1859
+ terminalResult.detached = undefined;
1860
+ terminalResult.detachedReason = detachedReason;
1861
+ try {
1862
+ options.onDetachedExit?.(terminalResult);
1863
+ } catch {
1864
+ // The authoritative result has settled. Consumer callback failures are
1865
+ // contained here; each consumer owns cleanup through its own finally block.
1866
+ }
1867
+ }).catch(() => {
1868
+ // Attached completion rejection remains observable through the returned
1869
+ // promise without becoming an unhandled side-channel rejection.
1870
+ }).finally(() => {
1871
+ originSignal?.removeEventListener("abort", forwardOriginAbort);
1872
+ });
1873
+
1874
+ return Promise.race([authoritativeCompletion, receipt]);
1875
+ }