@harrylabsj/kiwi-merchant-cloud 0.12.6 → 0.12.8

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 (1292) hide show
  1. package/app/a2a/access/workbuddy-address.d.ts +45 -0
  2. package/app/a2a/access/workbuddy-address.js +88 -0
  3. package/app/a2a/access/workbuddy-address.js.map +1 -0
  4. package/app/a2a/client/client.d.ts +6 -0
  5. package/app/a2a/client/client.js +27 -2
  6. package/app/a2a/client/client.js.map +1 -1
  7. package/app/a2a/client/types.d.ts +5 -0
  8. package/app/a2a/server/server.d.ts +5 -0
  9. package/app/a2a/server/server.js +10 -2
  10. package/app/a2a/server/server.js.map +1 -1
  11. package/app/agent/merchant/merchant-client.js +2 -1
  12. package/app/agent/merchant/merchant-client.js.map +1 -1
  13. package/app/buyer-core/a2a-knp.d.ts +18 -1
  14. package/app/buyer-core/a2a-knp.js +29 -5
  15. package/app/buyer-core/a2a-knp.js.map +1 -1
  16. package/app/buyer-core/a2a-negotiator.d.ts +4 -0
  17. package/app/buyer-core/a2a-negotiator.js +3 -0
  18. package/app/buyer-core/a2a-negotiator.js.map +1 -1
  19. package/app/buyer-core/a2a-quote-fetcher.d.ts +47 -0
  20. package/app/buyer-core/a2a-quote-fetcher.js +109 -11
  21. package/app/buyer-core/a2a-quote-fetcher.js.map +1 -1
  22. package/app/buyer-core/build-service.d.ts +7 -0
  23. package/app/buyer-core/build-service.js +67 -0
  24. package/app/buyer-core/build-service.js.map +1 -1
  25. package/app/buyer-core/merchant-index.js +3 -0
  26. package/app/buyer-core/merchant-index.js.map +1 -1
  27. package/app/buyer-core/protocol-recovery.js +7 -0
  28. package/app/buyer-core/protocol-recovery.js.map +1 -1
  29. package/app/buyer-core/service.d.ts +14 -0
  30. package/app/buyer-core/service.js.map +1 -1
  31. package/app/cloud/access/workbuddy-share-link.d.ts +92 -0
  32. package/app/cloud/access/workbuddy-share-link.js +150 -0
  33. package/app/cloud/access/workbuddy-share-link.js.map +1 -0
  34. package/app/cloud/bootstrap.js +33 -0
  35. package/app/cloud/bootstrap.js.map +1 -1
  36. package/app/cloud/catalog-client.d.ts +66 -0
  37. package/app/cloud/catalog-client.js +155 -0
  38. package/app/cloud/catalog-client.js.map +1 -1
  39. package/app/cloud/config.d.ts +6 -0
  40. package/app/cloud/config.js +4 -0
  41. package/app/cloud/config.js.map +1 -1
  42. package/app/cloud/connect-service.d.ts +68 -0
  43. package/app/cloud/connect-service.js +198 -0
  44. package/app/cloud/connect-service.js.map +1 -1
  45. package/app/cloud/http-router.d.ts +5 -0
  46. package/app/cloud/http-router.js +7 -0
  47. package/app/cloud/http-router.js.map +1 -1
  48. package/app/cloud-sample/products.json +3 -3
  49. package/app/discovery/catalog-source/kiwi-record.d.ts +10 -0
  50. package/app/discovery/catalog-source/kiwi-record.js.map +1 -1
  51. package/app/discovery/catalog-source/merchant-access.d.ts +77 -0
  52. package/app/discovery/catalog-source/merchant-access.js +279 -0
  53. package/app/discovery/catalog-source/merchant-access.js.map +1 -0
  54. package/app/http/merchant-management/api.d.ts +21 -0
  55. package/app/http/merchant-management/api.js +79 -0
  56. package/app/http/merchant-management/api.js.map +1 -1
  57. package/app/http/merchant-management/page.js +81 -1
  58. package/app/http/merchant-management/page.js.map +1 -1
  59. package/app/merchant-runtime/manager.d.ts +13 -1
  60. package/app/merchant-runtime/manager.js +19 -3
  61. package/app/merchant-runtime/manager.js.map +1 -1
  62. package/app/tools/trusted-buyer-keys.d.ts +31 -0
  63. package/app/tools/trusted-buyer-keys.js +98 -0
  64. package/app/tools/trusted-buyer-keys.js.map +1 -0
  65. package/app/tools/workbuddy-echo.d.ts +69 -0
  66. package/app/tools/workbuddy-echo.js +132 -0
  67. package/app/tools/workbuddy-echo.js.map +1 -0
  68. package/build-manifest.json +42782 -41752
  69. package/contracts/kiwi-catalog/1.0/agent-record.schema.json +21 -0
  70. package/contracts/kiwi-contracts.lock.json +2 -2
  71. package/contracts/manifest.json +2 -2
  72. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/README.md +356 -0
  73. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/cloudflare.d.ts +53 -0
  74. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/cloudflare.d.ts.map +1 -0
  75. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/cloudflare.js +64 -0
  76. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/cloudflare.js.map +1 -0
  77. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/declarations.d.ts +43 -0
  78. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/declarations.d.ts.map +1 -0
  79. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/declarations.js +320 -0
  80. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/declarations.js.map +1 -0
  81. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/identifier.d.ts +6 -0
  82. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/identifier.d.ts.map +1 -0
  83. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/identifier.js +13 -0
  84. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/identifier.js.map +1 -0
  85. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/index.d.ts +11 -0
  86. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/index.d.ts.map +1 -0
  87. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/index.js +10 -0
  88. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/index.js.map +1 -0
  89. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/portable.d.ts +15 -0
  90. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/portable.d.ts.map +1 -0
  91. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/portable.js +12 -0
  92. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/portable.js.map +1 -0
  93. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/execution.d.ts +66 -0
  94. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/execution.d.ts.map +1 -0
  95. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/execution.js +494 -0
  96. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/execution.js.map +1 -0
  97. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/host.d.ts +13 -0
  98. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/host.d.ts.map +1 -0
  99. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/host.js +72 -0
  100. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/host.js.map +1 -0
  101. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/inline.d.ts +63 -0
  102. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/inline.d.ts.map +1 -0
  103. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/inline.js +80 -0
  104. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/inline.js.map +1 -0
  105. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/prelude-source.d.ts +45 -0
  106. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/prelude-source.d.ts.map +1 -0
  107. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/prelude-source.js +520 -0
  108. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/prelude-source.js.map +1 -0
  109. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/protocol.d.ts +110 -0
  110. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/protocol.d.ts.map +1 -0
  111. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/protocol.js +15 -0
  112. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/protocol.js.map +1 -0
  113. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/remote.d.ts +102 -0
  114. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/remote.d.ts.map +1 -0
  115. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/remote.js +175 -0
  116. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/remote.js.map +1 -0
  117. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/vm.d.ts +24 -0
  118. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/vm.d.ts.map +1 -0
  119. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/vm.js +293 -0
  120. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/vm.js.map +1 -0
  121. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/worker.d.ts +2 -0
  122. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/worker.d.ts.map +1 -0
  123. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/worker.js +38 -0
  124. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/worker.js.map +1 -0
  125. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/source.d.ts +36 -0
  126. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/source.d.ts.map +1 -0
  127. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/source.js +98 -0
  128. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/source.js.map +1 -0
  129. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/types.d.ts +232 -0
  130. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/types.d.ts.map +1 -0
  131. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/types.js +2 -0
  132. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/types.js.map +1 -0
  133. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/wasm.d.ts +12 -0
  134. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/wasm.d.ts.map +1 -0
  135. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/wasm.js +24 -0
  136. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/wasm.js.map +1 -0
  137. package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/package.json +76 -0
  138. package/node_modules/body-parser/README.md +17 -13
  139. package/node_modules/body-parser/lib/read.js +74 -57
  140. package/node_modules/body-parser/lib/types/json.js +11 -11
  141. package/node_modules/body-parser/lib/types/urlencoded.js +5 -5
  142. package/node_modules/body-parser/lib/utils.js +0 -15
  143. package/node_modules/body-parser/package.json +7 -12
  144. package/node_modules/fast-uri/.github/workflows/release.yml +35 -0
  145. package/node_modules/fast-uri/README.md +8 -0
  146. package/node_modules/fast-uri/index.js +98 -18
  147. package/node_modules/fast-uri/lib/utils.js +52 -0
  148. package/node_modules/fast-uri/package.json +1 -1
  149. package/node_modules/fast-uri/test/host-delimiter-security.test.js +94 -0
  150. package/node_modules/fast-uri/test/relative-normalization-security.test.js +156 -0
  151. package/node_modules/fast-uri/test/reserved-path-normalization.test.js +32 -4
  152. package/node_modules/fast-uri/test/scheme-validation.test.js +53 -14
  153. package/node_modules/ip-address/README.md +104 -104
  154. package/node_modules/ip-address/dist/common.js +2 -2
  155. package/node_modules/ip-address/dist/common.js.map +1 -1
  156. package/node_modules/ip-address/dist/ipv4.js +7 -0
  157. package/node_modules/ip-address/dist/ipv4.js.map +1 -1
  158. package/node_modules/ip-address/dist/ipv6.js +7 -4
  159. package/node_modules/ip-address/dist/ipv6.js.map +1 -1
  160. package/node_modules/ip-address/dist/v6/constants.d.ts +3 -0
  161. package/node_modules/ip-address/dist/v6/constants.js +3 -0
  162. package/node_modules/ip-address/dist/v6/constants.js.map +1 -1
  163. package/node_modules/ip-address/package.json +3 -2
  164. package/node_modules/qs/.editorconfig +1 -1
  165. package/node_modules/qs/.github/THREAT_MODEL.md +4 -2
  166. package/node_modules/qs/CHANGELOG.md +61 -14
  167. package/node_modules/qs/README.md +57 -4
  168. package/node_modules/qs/dist/qs.js +19 -19
  169. package/node_modules/qs/eslint.config.mjs +61 -50
  170. package/node_modules/qs/lib/formats.js +7 -2
  171. package/node_modules/qs/lib/parse.js +105 -8
  172. package/node_modules/qs/lib/stringify.js +9 -7
  173. package/node_modules/qs/lib/utils.js +145 -13
  174. package/node_modules/qs/package.json +8 -8
  175. package/node_modules/qs/test/parse.js +440 -2
  176. package/node_modules/qs/test/stringify.js +485 -33
  177. package/node_modules/qs/test/utils.js +245 -3
  178. package/node_modules/zod/README.md +29 -2
  179. package/node_modules/zod/compile.cjs +96 -0
  180. package/node_modules/zod/compile.d.cts +1 -0
  181. package/node_modules/zod/compile.d.ts +1 -0
  182. package/node_modules/zod/compile.js +52 -0
  183. package/node_modules/zod/index.cjs +21 -2
  184. package/node_modules/zod/index.d.cts +1 -2
  185. package/node_modules/zod/index.d.ts +1 -2
  186. package/node_modules/zod/index.js +5 -2
  187. package/node_modules/zod/locales/index.cjs +19 -0
  188. package/node_modules/zod/mini/index.cjs +19 -0
  189. package/node_modules/zod/package.json +20 -8
  190. package/node_modules/zod/src/compile.ts +56 -0
  191. package/node_modules/zod/src/index.ts +5 -2
  192. package/node_modules/zod/src/v3/ZodError.ts +22 -12
  193. package/node_modules/zod/src/v3/helpers/errorUtil.ts +1 -1
  194. package/node_modules/zod/src/v3/tests/error.test.ts +35 -0
  195. package/node_modules/zod/src/v3/tests/intersection.test.ts +18 -0
  196. package/node_modules/zod/src/v3/tests/language-server.test.ts +1 -2
  197. package/node_modules/zod/src/v3/tests/object.test.ts +3 -6
  198. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -80
  199. package/node_modules/zod/src/v3/tests/string.test.ts +6 -0
  200. package/node_modules/zod/src/v3/types.ts +5 -5
  201. package/node_modules/zod/src/v4/classic/checks.ts +1 -0
  202. package/node_modules/zod/src/v4/classic/compat.ts +26 -18
  203. package/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
  204. package/node_modules/zod/src/v4/classic/errors.ts +59 -44
  205. package/node_modules/zod/src/v4/classic/external.ts +14 -9
  206. package/node_modules/zod/src/v4/classic/from-json-schema.ts +363 -78
  207. package/node_modules/zod/src/v4/classic/in-out.ts +45 -0
  208. package/node_modules/zod/src/v4/classic/index.ts +2 -2
  209. package/node_modules/zod/src/v4/classic/iso.ts +2 -72
  210. package/node_modules/zod/src/v4/classic/parse.ts +10 -4
  211. package/node_modules/zod/src/v4/classic/schemas.ts +640 -375
  212. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +27 -0
  213. package/node_modules/zod/src/v4/classic/tests/array.test.ts +29 -2
  214. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +186 -0
  215. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +36 -1
  216. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +278 -0
  217. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +1 -2
  218. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +2 -1
  219. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +3 -3
  220. package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
  221. package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +985 -0
  222. package/node_modules/zod/src/v4/classic/tests/date.test.ts +30 -0
  223. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +32 -18
  224. package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
  225. package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
  226. package/node_modules/zod/src/v4/classic/tests/default.test.ts +46 -0
  227. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +31 -7
  228. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +261 -13
  229. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +20 -0
  230. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +112 -2
  231. package/node_modules/zod/src/v4/classic/tests/error.test.ts +403 -6
  232. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +582 -10
  233. package/node_modules/zod/src/v4/classic/tests/function.test.ts +31 -0
  234. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +2 -9
  235. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +1 -2
  236. package/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
  237. package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
  238. package/node_modules/zod/src/v4/classic/tests/index.test.ts +21 -2
  239. package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +319 -0
  240. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +67 -0
  241. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +136 -0
  242. package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +215 -0
  243. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +3 -10
  244. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +36 -1
  245. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +12 -1
  246. package/node_modules/zod/src/v4/classic/tests/map.test.ts +19 -0
  247. package/node_modules/zod/src/v4/classic/tests/number.test.ts +85 -9
  248. package/node_modules/zod/src/v4/classic/tests/object.test.ts +301 -12
  249. package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +235 -0
  250. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +49 -16
  251. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +51 -4
  252. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +70 -0
  253. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +20 -2
  254. package/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
  255. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -68
  256. package/node_modules/zod/src/v4/classic/tests/record.test.ts +186 -18
  257. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +79 -3
  258. package/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
  259. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +60 -0
  260. package/node_modules/zod/src/v4/classic/tests/set.test.ts +15 -0
  261. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +19 -0
  262. package/node_modules/zod/src/v4/classic/tests/string.test.ts +222 -6
  263. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +18 -0
  264. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +44 -3
  265. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +1812 -204
  266. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +45 -30
  267. package/node_modules/zod/src/v4/classic/tests/union.test.ts +39 -2
  268. package/node_modules/zod/src/v4/classic/tests/validate.test.ts +645 -0
  269. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +2 -2
  270. package/node_modules/zod/src/v4/core/api.ts +87 -35
  271. package/node_modules/zod/src/v4/core/checks.ts +119 -146
  272. package/node_modules/zod/src/v4/core/compile.ts +2322 -0
  273. package/node_modules/zod/src/v4/core/core.ts +99 -22
  274. package/node_modules/zod/src/v4/core/doc.ts +17 -9
  275. package/node_modules/zod/src/v4/core/errors.ts +113 -25
  276. package/node_modules/zod/src/v4/core/index.ts +3 -0
  277. package/node_modules/zod/src/v4/core/json-schema-generator.ts +8 -3
  278. package/node_modules/zod/src/v4/core/json-schema-processors.ts +424 -156
  279. package/node_modules/zod/src/v4/core/json-schema.ts +2 -1
  280. package/node_modules/zod/src/v4/core/memoizer.ts +331 -0
  281. package/node_modules/zod/src/v4/core/parse.ts +164 -50
  282. package/node_modules/zod/src/v4/core/regexes.ts +42 -15
  283. package/node_modules/zod/src/v4/core/registries.ts +2 -2
  284. package/node_modules/zod/src/v4/core/schemas.ts +1035 -539
  285. package/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
  286. package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +1004 -0
  287. package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
  288. package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
  289. package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
  290. package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
  291. package/node_modules/zod/src/v4/core/tests/compile.test.ts +2036 -0
  292. package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
  293. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +1 -2
  294. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +1 -2
  295. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +3 -3
  296. package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
  297. package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
  298. package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
  299. package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
  300. package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
  301. package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +133 -0
  302. package/node_modules/zod/src/v4/core/to-json-schema.ts +283 -48
  303. package/node_modules/zod/src/v4/core/util.ts +467 -157
  304. package/node_modules/zod/src/v4/core/versions.ts +2 -2
  305. package/node_modules/zod/src/v4/core/visit.ts +193 -0
  306. package/node_modules/zod/src/v4/index.ts +3 -3
  307. package/node_modules/zod/src/v4/locales/ar.ts +5 -0
  308. package/node_modules/zod/src/v4/locales/az.ts +5 -0
  309. package/node_modules/zod/src/v4/locales/be.ts +12 -0
  310. package/node_modules/zod/src/v4/locales/bg.ts +5 -0
  311. package/node_modules/zod/src/v4/locales/bn.ts +123 -0
  312. package/node_modules/zod/src/v4/locales/ca.ts +5 -0
  313. package/node_modules/zod/src/v4/locales/ckb.ts +140 -0
  314. package/node_modules/zod/src/v4/locales/cs.ts +5 -0
  315. package/node_modules/zod/src/v4/locales/da.ts +7 -2
  316. package/node_modules/zod/src/v4/locales/de.ts +5 -0
  317. package/node_modules/zod/src/v4/locales/el.ts +3 -0
  318. package/node_modules/zod/src/v4/locales/en.ts +17 -4
  319. package/node_modules/zod/src/v4/locales/eo.ts +5 -0
  320. package/node_modules/zod/src/v4/locales/es.ts +4 -0
  321. package/node_modules/zod/src/v4/locales/fa.ts +5 -0
  322. package/node_modules/zod/src/v4/locales/fi.ts +5 -0
  323. package/node_modules/zod/src/v4/locales/fr-CA.ts +5 -0
  324. package/node_modules/zod/src/v4/locales/fr.ts +21 -14
  325. package/node_modules/zod/src/v4/locales/gu.ts +123 -0
  326. package/node_modules/zod/src/v4/locales/he.ts +8 -1
  327. package/node_modules/zod/src/v4/locales/hi.ts +126 -0
  328. package/node_modules/zod/src/v4/locales/hr.ts +4 -0
  329. package/node_modules/zod/src/v4/locales/hu.ts +5 -0
  330. package/node_modules/zod/src/v4/locales/hy.ts +11 -0
  331. package/node_modules/zod/src/v4/locales/id.ts +5 -0
  332. package/node_modules/zod/src/v4/locales/index.ts +11 -0
  333. package/node_modules/zod/src/v4/locales/is.ts +5 -0
  334. package/node_modules/zod/src/v4/locales/it.ts +5 -0
  335. package/node_modules/zod/src/v4/locales/ja.ts +5 -0
  336. package/node_modules/zod/src/v4/locales/ka.ts +5 -0
  337. package/node_modules/zod/src/v4/locales/km.ts +5 -0
  338. package/node_modules/zod/src/v4/locales/kn.ts +126 -0
  339. package/node_modules/zod/src/v4/locales/ko.ts +5 -0
  340. package/node_modules/zod/src/v4/locales/lt.ts +4 -0
  341. package/node_modules/zod/src/v4/locales/mk.ts +5 -0
  342. package/node_modules/zod/src/v4/locales/ms.ts +5 -0
  343. package/node_modules/zod/src/v4/locales/ne.ts +128 -0
  344. package/node_modules/zod/src/v4/locales/nl.ts +5 -0
  345. package/node_modules/zod/src/v4/locales/nn.ts +121 -0
  346. package/node_modules/zod/src/v4/locales/no.ts +7 -2
  347. package/node_modules/zod/src/v4/locales/ota.ts +5 -0
  348. package/node_modules/zod/src/v4/locales/pl.ts +5 -0
  349. package/node_modules/zod/src/v4/locales/ps.ts +5 -0
  350. package/node_modules/zod/src/v4/locales/pt-BR.ts +161 -0
  351. package/node_modules/zod/src/v4/locales/pt.ts +101 -58
  352. package/node_modules/zod/src/v4/locales/ro.ts +3 -0
  353. package/node_modules/zod/src/v4/locales/ru.ts +12 -0
  354. package/node_modules/zod/src/v4/locales/sk.ts +123 -0
  355. package/node_modules/zod/src/v4/locales/sl.ts +5 -0
  356. package/node_modules/zod/src/v4/locales/sv.ts +7 -2
  357. package/node_modules/zod/src/v4/locales/ta.ts +5 -0
  358. package/node_modules/zod/src/v4/locales/tg.ts +135 -0
  359. package/node_modules/zod/src/v4/locales/th.ts +5 -0
  360. package/node_modules/zod/src/v4/locales/tk.ts +113 -0
  361. package/node_modules/zod/src/v4/locales/tr.ts +5 -0
  362. package/node_modules/zod/src/v4/locales/uk.ts +5 -0
  363. package/node_modules/zod/src/v4/locales/ur.ts +5 -0
  364. package/node_modules/zod/src/v4/locales/uz.ts +3 -0
  365. package/node_modules/zod/src/v4/locales/vi.ts +5 -0
  366. package/node_modules/zod/src/v4/locales/yo.ts +5 -0
  367. package/node_modules/zod/src/v4/locales/zh-CN.ts +5 -0
  368. package/node_modules/zod/src/v4/locales/zh-TW.ts +5 -0
  369. package/node_modules/zod/src/v4/mini/checks.ts +1 -0
  370. package/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
  371. package/node_modules/zod/src/v4/mini/external.ts +12 -1
  372. package/node_modules/zod/src/v4/mini/in-out.ts +45 -0
  373. package/node_modules/zod/src/v4/mini/parse.ts +2 -0
  374. package/node_modules/zod/src/v4/mini/schemas.ts +167 -63
  375. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +33 -0
  376. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +62 -1
  377. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +14 -0
  378. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +35 -1
  379. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +11 -17
  380. package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
  381. package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
  382. package/node_modules/zod/src/v4/mini/tests/error.test.ts +23 -4
  383. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +9 -0
  384. package/node_modules/zod/src/v4/mini/tests/index.test.ts +158 -5
  385. package/node_modules/zod/src/v4/mini/tests/number.test.ts +14 -0
  386. package/node_modules/zod/src/v4/mini/tests/object.test.ts +65 -0
  387. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +16 -0
  388. package/node_modules/zod/src/v4/mini/tests/string.test.ts +44 -0
  389. package/node_modules/zod/v3/ZodError.cjs +41 -12
  390. package/node_modules/zod/v3/ZodError.d.cts +1 -1
  391. package/node_modules/zod/v3/ZodError.d.ts +1 -1
  392. package/node_modules/zod/v3/ZodError.js +22 -12
  393. package/node_modules/zod/v3/errors.cjs +19 -0
  394. package/node_modules/zod/v3/external.cjs +19 -0
  395. package/node_modules/zod/v3/helpers/enumUtil.cjs +19 -0
  396. package/node_modules/zod/v3/helpers/errorUtil.cjs +20 -1
  397. package/node_modules/zod/v3/helpers/errorUtil.js +1 -1
  398. package/node_modules/zod/v3/helpers/parseUtil.cjs +19 -0
  399. package/node_modules/zod/v3/helpers/partialUtil.cjs +19 -0
  400. package/node_modules/zod/v3/helpers/typeAliases.cjs +19 -0
  401. package/node_modules/zod/v3/helpers/util.cjs +19 -0
  402. package/node_modules/zod/v3/index.cjs +19 -0
  403. package/node_modules/zod/v3/standard-schema.cjs +19 -0
  404. package/node_modules/zod/v3/types.cjs +26 -5
  405. package/node_modules/zod/v3/types.js +7 -5
  406. package/node_modules/zod/v4/classic/checks.cjs +21 -1
  407. package/node_modules/zod/v4/classic/checks.d.cts +1 -1
  408. package/node_modules/zod/v4/classic/checks.d.ts +1 -1
  409. package/node_modules/zod/v4/classic/checks.js +1 -1
  410. package/node_modules/zod/v4/classic/coerce.cjs +19 -0
  411. package/node_modules/zod/v4/classic/compat.cjs +19 -0
  412. package/node_modules/zod/v4/classic/compat.d.cts +9 -11
  413. package/node_modules/zod/v4/classic/compat.d.ts +9 -11
  414. package/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
  415. package/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
  416. package/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
  417. package/node_modules/zod/v4/classic/deep-partial.js +13 -0
  418. package/node_modules/zod/v4/classic/errors.cjs +62 -34
  419. package/node_modules/zod/v4/classic/errors.d.cts +3 -4
  420. package/node_modules/zod/v4/classic/errors.d.ts +3 -4
  421. package/node_modules/zod/v4/classic/errors.js +43 -34
  422. package/node_modules/zod/v4/classic/external.cjs +51 -27
  423. package/node_modules/zod/v4/classic/external.d.cts +5 -2
  424. package/node_modules/zod/v4/classic/external.d.ts +5 -2
  425. package/node_modules/zod/v4/classic/external.js +5 -8
  426. package/node_modules/zod/v4/classic/from-json-schema.cjs +376 -75
  427. package/node_modules/zod/v4/classic/from-json-schema.js +357 -75
  428. package/node_modules/zod/v4/classic/in-out.cjs +82 -0
  429. package/node_modules/zod/v4/classic/in-out.d.cts +8 -0
  430. package/node_modules/zod/v4/classic/in-out.d.ts +8 -0
  431. package/node_modules/zod/v4/classic/in-out.js +36 -0
  432. package/node_modules/zod/v4/classic/index.cjs +21 -2
  433. package/node_modules/zod/v4/classic/index.d.cts +1 -2
  434. package/node_modules/zod/v4/classic/index.d.ts +1 -2
  435. package/node_modules/zod/v4/classic/index.js +2 -2
  436. package/node_modules/zod/v4/classic/iso.cjs +30 -22
  437. package/node_modules/zod/v4/classic/iso.d.cts +2 -17
  438. package/node_modules/zod/v4/classic/iso.d.ts +2 -17
  439. package/node_modules/zod/v4/classic/iso.js +2 -17
  440. package/node_modules/zod/v4/classic/parse.cjs +23 -1
  441. package/node_modules/zod/v4/classic/parse.d.cts +17 -4
  442. package/node_modules/zod/v4/classic/parse.d.ts +17 -4
  443. package/node_modules/zod/v4/classic/parse.js +1 -0
  444. package/node_modules/zod/v4/classic/schemas.cjs +591 -426
  445. package/node_modules/zod/v4/classic/schemas.d.cts +68 -19
  446. package/node_modules/zod/v4/classic/schemas.d.ts +68 -19
  447. package/node_modules/zod/v4/classic/schemas.js +564 -424
  448. package/node_modules/zod/v4/core/api.cjs +66 -24
  449. package/node_modules/zod/v4/core/api.d.cts +22 -12
  450. package/node_modules/zod/v4/core/api.d.ts +22 -12
  451. package/node_modules/zod/v4/core/api.js +44 -24
  452. package/node_modules/zod/v4/core/checks.cjs +88 -128
  453. package/node_modules/zod/v4/core/checks.d.cts +29 -13
  454. package/node_modules/zod/v4/core/checks.d.ts +29 -13
  455. package/node_modules/zod/v4/core/checks.js +68 -127
  456. package/node_modules/zod/v4/core/compile.cjs +1916 -0
  457. package/node_modules/zod/v4/core/compile.d.cts +65 -0
  458. package/node_modules/zod/v4/core/compile.d.ts +65 -0
  459. package/node_modules/zod/v4/core/compile.js +1866 -0
  460. package/node_modules/zod/v4/core/core.cjs +101 -19
  461. package/node_modules/zod/v4/core/core.d.cts +16 -4
  462. package/node_modules/zod/v4/core/core.d.ts +16 -4
  463. package/node_modules/zod/v4/core/core.js +83 -20
  464. package/node_modules/zod/v4/core/doc.cjs +31 -9
  465. package/node_modules/zod/v4/core/doc.d.cts +3 -1
  466. package/node_modules/zod/v4/core/doc.d.ts +3 -1
  467. package/node_modules/zod/v4/core/doc.js +12 -9
  468. package/node_modules/zod/v4/core/errors.cjs +126 -25
  469. package/node_modules/zod/v4/core/errors.d.cts +4 -0
  470. package/node_modules/zod/v4/core/errors.d.ts +4 -0
  471. package/node_modules/zod/v4/core/errors.js +107 -25
  472. package/node_modules/zod/v4/core/index.cjs +24 -1
  473. package/node_modules/zod/v4/core/index.d.cts +3 -0
  474. package/node_modules/zod/v4/core/index.d.ts +3 -0
  475. package/node_modules/zod/v4/core/index.js +3 -0
  476. package/node_modules/zod/v4/core/json-schema-generator.cjs +24 -1
  477. package/node_modules/zod/v4/core/json-schema-generator.d.cts +2 -2
  478. package/node_modules/zod/v4/core/json-schema-generator.d.ts +2 -2
  479. package/node_modules/zod/v4/core/json-schema-generator.js +6 -2
  480. package/node_modules/zod/v4/core/json-schema-processors.cjs +441 -156
  481. package/node_modules/zod/v4/core/json-schema-processors.d.cts +16 -0
  482. package/node_modules/zod/v4/core/json-schema-processors.d.ts +16 -0
  483. package/node_modules/zod/v4/core/json-schema-processors.js +400 -158
  484. package/node_modules/zod/v4/core/json-schema.cjs +19 -0
  485. package/node_modules/zod/v4/core/json-schema.d.cts +2 -1
  486. package/node_modules/zod/v4/core/json-schema.d.ts +2 -1
  487. package/node_modules/zod/v4/core/memoizer.cjs +360 -0
  488. package/node_modules/zod/v4/core/memoizer.d.cts +15 -0
  489. package/node_modules/zod/v4/core/memoizer.d.ts +15 -0
  490. package/node_modules/zod/v4/core/memoizer.js +311 -0
  491. package/node_modules/zod/v4/core/parse.cjs +148 -46
  492. package/node_modules/zod/v4/core/parse.d.cts +14 -11
  493. package/node_modules/zod/v4/core/parse.d.ts +14 -11
  494. package/node_modules/zod/v4/core/parse.js +127 -45
  495. package/node_modules/zod/v4/core/regexes.cjs +54 -17
  496. package/node_modules/zod/v4/core/regexes.d.cts +5 -0
  497. package/node_modules/zod/v4/core/regexes.d.ts +5 -0
  498. package/node_modules/zod/v4/core/regexes.js +32 -15
  499. package/node_modules/zod/v4/core/registries.cjs +19 -0
  500. package/node_modules/zod/v4/core/registries.js +2 -2
  501. package/node_modules/zod/v4/core/schemas.cjs +815 -386
  502. package/node_modules/zod/v4/core/schemas.d.cts +126 -35
  503. package/node_modules/zod/v4/core/schemas.d.ts +126 -35
  504. package/node_modules/zod/v4/core/schemas.js +783 -386
  505. package/node_modules/zod/v4/core/standard-schema.cjs +19 -0
  506. package/node_modules/zod/v4/core/to-json-schema.cjs +269 -45
  507. package/node_modules/zod/v4/core/to-json-schema.d.cts +45 -5
  508. package/node_modules/zod/v4/core/to-json-schema.d.ts +45 -5
  509. package/node_modules/zod/v4/core/to-json-schema.js +247 -44
  510. package/node_modules/zod/v4/core/util.cjs +387 -157
  511. package/node_modules/zod/v4/core/util.d.cts +81 -1
  512. package/node_modules/zod/v4/core/util.d.ts +81 -1
  513. package/node_modules/zod/v4/core/util.js +355 -156
  514. package/node_modules/zod/v4/core/versions.cjs +21 -2
  515. package/node_modules/zod/v4/core/versions.d.cts +1 -1
  516. package/node_modules/zod/v4/core/versions.d.ts +1 -1
  517. package/node_modules/zod/v4/core/versions.js +2 -2
  518. package/node_modules/zod/v4/core/visit.cjs +214 -0
  519. package/node_modules/zod/v4/core/visit.d.cts +30 -0
  520. package/node_modules/zod/v4/core/visit.d.ts +30 -0
  521. package/node_modules/zod/v4/core/visit.js +169 -0
  522. package/node_modules/zod/v4/index.cjs +34 -5
  523. package/node_modules/zod/v4/index.d.cts +2 -2
  524. package/node_modules/zod/v4/index.d.ts +2 -2
  525. package/node_modules/zod/v4/index.js +3 -2
  526. package/node_modules/zod/v4/locales/ar.cjs +5 -0
  527. package/node_modules/zod/v4/locales/ar.js +5 -0
  528. package/node_modules/zod/v4/locales/az.cjs +5 -0
  529. package/node_modules/zod/v4/locales/az.js +5 -0
  530. package/node_modules/zod/v4/locales/be.cjs +12 -0
  531. package/node_modules/zod/v4/locales/be.js +12 -0
  532. package/node_modules/zod/v4/locales/bg.cjs +5 -0
  533. package/node_modules/zod/v4/locales/bg.js +5 -0
  534. package/node_modules/zod/v4/locales/bn.cjs +140 -0
  535. package/node_modules/zod/v4/locales/bn.d.cts +5 -0
  536. package/node_modules/zod/v4/locales/bn.d.ts +4 -0
  537. package/node_modules/zod/v4/locales/bn.js +113 -0
  538. package/node_modules/zod/v4/locales/ca.cjs +5 -0
  539. package/node_modules/zod/v4/locales/ca.js +5 -0
  540. package/node_modules/zod/v4/locales/ckb.cjs +160 -0
  541. package/node_modules/zod/v4/locales/ckb.d.cts +5 -0
  542. package/node_modules/zod/v4/locales/ckb.d.ts +4 -0
  543. package/node_modules/zod/v4/locales/ckb.js +133 -0
  544. package/node_modules/zod/v4/locales/cs.cjs +5 -0
  545. package/node_modules/zod/v4/locales/cs.js +5 -0
  546. package/node_modules/zod/v4/locales/da.cjs +7 -2
  547. package/node_modules/zod/v4/locales/da.js +7 -2
  548. package/node_modules/zod/v4/locales/de.cjs +5 -0
  549. package/node_modules/zod/v4/locales/de.js +5 -0
  550. package/node_modules/zod/v4/locales/el.cjs +3 -0
  551. package/node_modules/zod/v4/locales/el.js +3 -0
  552. package/node_modules/zod/v4/locales/en.cjs +16 -4
  553. package/node_modules/zod/v4/locales/en.js +16 -4
  554. package/node_modules/zod/v4/locales/eo.cjs +5 -0
  555. package/node_modules/zod/v4/locales/eo.js +5 -0
  556. package/node_modules/zod/v4/locales/es.cjs +4 -0
  557. package/node_modules/zod/v4/locales/es.js +4 -0
  558. package/node_modules/zod/v4/locales/fa.cjs +5 -0
  559. package/node_modules/zod/v4/locales/fa.js +5 -0
  560. package/node_modules/zod/v4/locales/fi.cjs +5 -0
  561. package/node_modules/zod/v4/locales/fi.js +5 -0
  562. package/node_modules/zod/v4/locales/fr-CA.cjs +5 -0
  563. package/node_modules/zod/v4/locales/fr-CA.js +5 -0
  564. package/node_modules/zod/v4/locales/fr.cjs +18 -14
  565. package/node_modules/zod/v4/locales/fr.js +18 -14
  566. package/node_modules/zod/v4/locales/gu.cjs +140 -0
  567. package/node_modules/zod/v4/locales/gu.d.cts +5 -0
  568. package/node_modules/zod/v4/locales/gu.d.ts +4 -0
  569. package/node_modules/zod/v4/locales/gu.js +113 -0
  570. package/node_modules/zod/v4/locales/he.cjs +7 -0
  571. package/node_modules/zod/v4/locales/he.js +7 -0
  572. package/node_modules/zod/v4/locales/hi.cjs +138 -0
  573. package/node_modules/zod/v4/locales/hi.d.cts +5 -0
  574. package/node_modules/zod/v4/locales/hi.d.ts +4 -0
  575. package/node_modules/zod/v4/locales/hi.js +111 -0
  576. package/node_modules/zod/v4/locales/hr.cjs +4 -0
  577. package/node_modules/zod/v4/locales/hr.js +4 -0
  578. package/node_modules/zod/v4/locales/hu.cjs +5 -0
  579. package/node_modules/zod/v4/locales/hu.js +5 -0
  580. package/node_modules/zod/v4/locales/hy.cjs +11 -0
  581. package/node_modules/zod/v4/locales/hy.js +11 -0
  582. package/node_modules/zod/v4/locales/id.cjs +5 -0
  583. package/node_modules/zod/v4/locales/id.js +5 -0
  584. package/node_modules/zod/v4/locales/index.cjs +43 -2
  585. package/node_modules/zod/v4/locales/index.d.cts +11 -0
  586. package/node_modules/zod/v4/locales/index.d.ts +11 -0
  587. package/node_modules/zod/v4/locales/index.js +11 -0
  588. package/node_modules/zod/v4/locales/is.cjs +5 -0
  589. package/node_modules/zod/v4/locales/is.js +5 -0
  590. package/node_modules/zod/v4/locales/it.cjs +5 -0
  591. package/node_modules/zod/v4/locales/it.js +5 -0
  592. package/node_modules/zod/v4/locales/ja.cjs +5 -0
  593. package/node_modules/zod/v4/locales/ja.js +5 -0
  594. package/node_modules/zod/v4/locales/ka.cjs +5 -0
  595. package/node_modules/zod/v4/locales/ka.js +5 -0
  596. package/node_modules/zod/v4/locales/km.cjs +5 -0
  597. package/node_modules/zod/v4/locales/km.js +5 -0
  598. package/node_modules/zod/v4/locales/kn.cjs +143 -0
  599. package/node_modules/zod/v4/locales/kn.d.cts +5 -0
  600. package/node_modules/zod/v4/locales/kn.d.ts +4 -0
  601. package/node_modules/zod/v4/locales/kn.js +116 -0
  602. package/node_modules/zod/v4/locales/ko.cjs +5 -0
  603. package/node_modules/zod/v4/locales/ko.js +5 -0
  604. package/node_modules/zod/v4/locales/lt.cjs +4 -0
  605. package/node_modules/zod/v4/locales/lt.js +4 -0
  606. package/node_modules/zod/v4/locales/mk.cjs +5 -0
  607. package/node_modules/zod/v4/locales/mk.js +5 -0
  608. package/node_modules/zod/v4/locales/ms.cjs +5 -0
  609. package/node_modules/zod/v4/locales/ms.js +5 -0
  610. package/node_modules/zod/v4/locales/ne.cjs +138 -0
  611. package/node_modules/zod/v4/locales/ne.d.cts +5 -0
  612. package/node_modules/zod/v4/locales/ne.d.ts +4 -0
  613. package/node_modules/zod/v4/locales/ne.js +111 -0
  614. package/node_modules/zod/v4/locales/nl.cjs +5 -0
  615. package/node_modules/zod/v4/locales/nl.js +5 -0
  616. package/node_modules/zod/v4/locales/nn.cjs +140 -0
  617. package/node_modules/zod/v4/locales/nn.d.cts +5 -0
  618. package/node_modules/zod/v4/locales/nn.d.ts +4 -0
  619. package/node_modules/zod/v4/locales/nn.js +113 -0
  620. package/node_modules/zod/v4/locales/no.cjs +7 -2
  621. package/node_modules/zod/v4/locales/no.js +7 -2
  622. package/node_modules/zod/v4/locales/ota.cjs +5 -0
  623. package/node_modules/zod/v4/locales/ota.js +5 -0
  624. package/node_modules/zod/v4/locales/pl.cjs +5 -0
  625. package/node_modules/zod/v4/locales/pl.js +5 -0
  626. package/node_modules/zod/v4/locales/ps.cjs +5 -0
  627. package/node_modules/zod/v4/locales/ps.js +5 -0
  628. package/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
  629. package/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
  630. package/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
  631. package/node_modules/zod/v4/locales/pt-BR.js +143 -0
  632. package/node_modules/zod/v4/locales/pt.cjs +89 -55
  633. package/node_modules/zod/v4/locales/pt.js +89 -55
  634. package/node_modules/zod/v4/locales/ro.cjs +3 -0
  635. package/node_modules/zod/v4/locales/ro.js +3 -0
  636. package/node_modules/zod/v4/locales/ru.cjs +12 -0
  637. package/node_modules/zod/v4/locales/ru.js +12 -0
  638. package/node_modules/zod/v4/locales/sk.cjs +143 -0
  639. package/node_modules/zod/v4/locales/sk.d.cts +5 -0
  640. package/node_modules/zod/v4/locales/sk.d.ts +4 -0
  641. package/node_modules/zod/v4/locales/sk.js +116 -0
  642. package/node_modules/zod/v4/locales/sl.cjs +5 -0
  643. package/node_modules/zod/v4/locales/sl.js +5 -0
  644. package/node_modules/zod/v4/locales/sv.cjs +7 -2
  645. package/node_modules/zod/v4/locales/sv.js +7 -2
  646. package/node_modules/zod/v4/locales/ta.cjs +5 -0
  647. package/node_modules/zod/v4/locales/ta.js +5 -0
  648. package/node_modules/zod/v4/locales/tg.cjs +144 -0
  649. package/node_modules/zod/v4/locales/tg.d.cts +5 -0
  650. package/node_modules/zod/v4/locales/tg.d.ts +4 -0
  651. package/node_modules/zod/v4/locales/tg.js +117 -0
  652. package/node_modules/zod/v4/locales/th.cjs +5 -0
  653. package/node_modules/zod/v4/locales/th.js +5 -0
  654. package/node_modules/zod/v4/locales/tk.cjs +134 -0
  655. package/node_modules/zod/v4/locales/tk.d.cts +5 -0
  656. package/node_modules/zod/v4/locales/tk.d.ts +4 -0
  657. package/node_modules/zod/v4/locales/tk.js +107 -0
  658. package/node_modules/zod/v4/locales/tr.cjs +5 -0
  659. package/node_modules/zod/v4/locales/tr.js +5 -0
  660. package/node_modules/zod/v4/locales/uk.cjs +5 -0
  661. package/node_modules/zod/v4/locales/uk.js +5 -0
  662. package/node_modules/zod/v4/locales/ur.cjs +5 -0
  663. package/node_modules/zod/v4/locales/ur.js +5 -0
  664. package/node_modules/zod/v4/locales/uz.cjs +3 -0
  665. package/node_modules/zod/v4/locales/uz.js +3 -0
  666. package/node_modules/zod/v4/locales/vi.cjs +5 -0
  667. package/node_modules/zod/v4/locales/vi.js +5 -0
  668. package/node_modules/zod/v4/locales/yo.cjs +5 -0
  669. package/node_modules/zod/v4/locales/yo.js +5 -0
  670. package/node_modules/zod/v4/locales/zh-CN.cjs +5 -0
  671. package/node_modules/zod/v4/locales/zh-CN.js +5 -0
  672. package/node_modules/zod/v4/locales/zh-TW.cjs +5 -0
  673. package/node_modules/zod/v4/locales/zh-TW.js +5 -0
  674. package/node_modules/zod/v4/mini/checks.cjs +21 -1
  675. package/node_modules/zod/v4/mini/checks.d.cts +1 -1
  676. package/node_modules/zod/v4/mini/checks.d.ts +1 -1
  677. package/node_modules/zod/v4/mini/checks.js +1 -1
  678. package/node_modules/zod/v4/mini/coerce.cjs +19 -0
  679. package/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
  680. package/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
  681. package/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
  682. package/node_modules/zod/v4/mini/deep-partial.js +13 -0
  683. package/node_modules/zod/v4/mini/external.cjs +33 -1
  684. package/node_modules/zod/v4/mini/external.d.cts +5 -2
  685. package/node_modules/zod/v4/mini/external.d.ts +5 -2
  686. package/node_modules/zod/v4/mini/external.js +3 -1
  687. package/node_modules/zod/v4/mini/in-out.cjs +82 -0
  688. package/node_modules/zod/v4/mini/in-out.d.cts +8 -0
  689. package/node_modules/zod/v4/mini/in-out.d.ts +8 -0
  690. package/node_modules/zod/v4/mini/in-out.js +36 -0
  691. package/node_modules/zod/v4/mini/index.cjs +19 -0
  692. package/node_modules/zod/v4/mini/iso.cjs +19 -0
  693. package/node_modules/zod/v4/mini/parse.cjs +22 -1
  694. package/node_modules/zod/v4/mini/parse.d.cts +1 -1
  695. package/node_modules/zod/v4/mini/parse.d.ts +1 -1
  696. package/node_modules/zod/v4/mini/parse.js +1 -1
  697. package/node_modules/zod/v4/mini/schemas.cjs +117 -53
  698. package/node_modules/zod/v4/mini/schemas.d.cts +49 -14
  699. package/node_modules/zod/v4/mini/schemas.d.ts +49 -14
  700. package/node_modules/zod/v4/mini/schemas.js +92 -51
  701. package/node_modules/zod/v4-mini/index.cjs +19 -0
  702. package/package.json +7 -7
  703. package/runtime-package.json +13 -8
  704. package/shipping-sbom.cdx.json +159 -160
  705. package/shipping-source.json +12 -12
  706. package/node_modules/zod/src/v4/core/config.ts +0 -15
  707. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/README.md +0 -0
  708. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/index.d.ts +0 -0
  709. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/index.d.ts.map +0 -0
  710. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/index.js +0 -0
  711. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/index.js.map +0 -0
  712. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/memory.d.ts +0 -0
  713. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/memory.d.ts.map +0 -0
  714. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/memory.js +0 -0
  715. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/memory.js.map +0 -0
  716. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/noop.d.ts +0 -0
  717. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/noop.d.ts.map +0 -0
  718. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/noop.js +0 -0
  719. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/noop.js.map +0 -0
  720. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/conformance.d.ts +0 -0
  721. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/conformance.d.ts.map +0 -0
  722. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/conformance.js +0 -0
  723. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/conformance.js.map +0 -0
  724. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/index.d.ts +0 -0
  725. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/index.d.ts.map +0 -0
  726. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/index.js +0 -0
  727. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/index.js.map +0 -0
  728. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/types.d.ts +0 -0
  729. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/types.d.ts.map +0 -0
  730. /package/node_modules/@earendil-works/{pi-codemode/dist → pi-ai/node_modules/@earendil-works/pi-telemetry/dist/testing}/types.js +0 -0
  731. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/types.js.map +0 -0
  732. /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/package.json +0 -0
  733. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/README.md +0 -0
  734. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/cloudflare.d.ts +0 -0
  735. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/cloudflare.d.ts.map +0 -0
  736. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/cloudflare.js +0 -0
  737. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/cloudflare.js.map +0 -0
  738. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/declarations.d.ts +0 -0
  739. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/declarations.d.ts.map +0 -0
  740. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/declarations.js +0 -0
  741. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/declarations.js.map +0 -0
  742. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/identifier.d.ts +0 -0
  743. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/identifier.d.ts.map +0 -0
  744. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/identifier.js +0 -0
  745. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/identifier.js.map +0 -0
  746. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/index.d.ts +0 -0
  747. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/index.d.ts.map +0 -0
  748. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/index.js +0 -0
  749. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/index.js.map +0 -0
  750. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/portable.d.ts +0 -0
  751. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/portable.d.ts.map +0 -0
  752. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/portable.js +0 -0
  753. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/portable.js.map +0 -0
  754. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/execution.d.ts +0 -0
  755. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/execution.d.ts.map +0 -0
  756. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/execution.js +0 -0
  757. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/execution.js.map +0 -0
  758. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/host.d.ts +0 -0
  759. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/host.d.ts.map +0 -0
  760. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/host.js +0 -0
  761. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/host.js.map +0 -0
  762. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/inline.d.ts +0 -0
  763. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/inline.d.ts.map +0 -0
  764. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/inline.js +0 -0
  765. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/inline.js.map +0 -0
  766. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/prelude-source.d.ts +0 -0
  767. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/prelude-source.d.ts.map +0 -0
  768. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/prelude-source.js +0 -0
  769. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/prelude-source.js.map +0 -0
  770. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/protocol.d.ts +0 -0
  771. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/protocol.d.ts.map +0 -0
  772. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/protocol.js +0 -0
  773. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/protocol.js.map +0 -0
  774. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/remote.d.ts +0 -0
  775. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/remote.d.ts.map +0 -0
  776. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/remote.js +0 -0
  777. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/remote.js.map +0 -0
  778. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/vm.d.ts +0 -0
  779. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/vm.d.ts.map +0 -0
  780. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/vm.js +0 -0
  781. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/vm.js.map +0 -0
  782. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/worker.d.ts +0 -0
  783. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/worker.d.ts.map +0 -0
  784. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/worker.js +0 -0
  785. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/worker.js.map +0 -0
  786. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/source.d.ts +0 -0
  787. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/source.d.ts.map +0 -0
  788. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/source.js +0 -0
  789. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/source.js.map +0 -0
  790. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/types.d.ts +0 -0
  791. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/types.d.ts.map +0 -0
  792. /package/node_modules/@earendil-works/{pi-telemetry/dist/testing → pi-coding-agent/node_modules/@earendil-works/pi-codemode/dist}/types.js +0 -0
  793. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/types.js.map +0 -0
  794. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/wasm.d.ts +0 -0
  795. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/wasm.d.ts.map +0 -0
  796. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/wasm.js +0 -0
  797. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/wasm.js.map +0 -0
  798. /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/package.json +0 -0
  799. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/CHANGELOG.md +0 -0
  800. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/LICENSES/modelcontextprotocol-typescript-sdk.txt +0 -0
  801. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/README.md +0 -0
  802. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/auth-provider.d.ts +0 -0
  803. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/auth-provider.d.ts.map +0 -0
  804. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/auth-provider.js +0 -0
  805. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/auth-provider.js.map +0 -0
  806. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/client.d.ts +0 -0
  807. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/client.d.ts.map +0 -0
  808. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/client.js +0 -0
  809. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/client.js.map +0 -0
  810. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/index.d.ts +0 -0
  811. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/index.d.ts.map +0 -0
  812. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/index.js +0 -0
  813. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/index.js.map +0 -0
  814. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/callback.d.ts +0 -0
  815. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/callback.d.ts.map +0 -0
  816. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/callback.js +0 -0
  817. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/callback.js.map +0 -0
  818. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/discovery.d.ts +0 -0
  819. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/discovery.d.ts.map +0 -0
  820. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/discovery.js +0 -0
  821. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/discovery.js.map +0 -0
  822. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/errors.d.ts +0 -0
  823. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/errors.d.ts.map +0 -0
  824. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/errors.js +0 -0
  825. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/errors.js.map +0 -0
  826. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/flow.d.ts +0 -0
  827. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/flow.d.ts.map +0 -0
  828. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/flow.js +0 -0
  829. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/flow.js.map +0 -0
  830. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/index.d.ts +0 -0
  831. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/index.d.ts.map +0 -0
  832. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/index.js +0 -0
  833. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/index.js.map +0 -0
  834. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/provider.d.ts +0 -0
  835. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/provider.d.ts.map +0 -0
  836. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/provider.js +0 -0
  837. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/provider.js.map +0 -0
  838. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/types.d.ts +0 -0
  839. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/types.d.ts.map +0 -0
  840. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/types.js +0 -0
  841. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/types.js.map +0 -0
  842. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/content.d.ts +0 -0
  843. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/content.d.ts.map +0 -0
  844. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/content.js +0 -0
  845. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/content.js.map +0 -0
  846. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/jsonrpc.d.ts +0 -0
  847. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/jsonrpc.d.ts.map +0 -0
  848. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/jsonrpc.js +0 -0
  849. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/jsonrpc.js.map +0 -0
  850. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/types.d.ts +0 -0
  851. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/types.d.ts.map +0 -0
  852. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/types.js +0 -0
  853. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/types.js.map +0 -0
  854. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/testing/index.d.ts +0 -0
  855. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/testing/index.d.ts.map +0 -0
  856. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/testing/index.js +0 -0
  857. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/testing/index.js.map +0 -0
  858. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/in-memory.d.ts +0 -0
  859. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/in-memory.d.ts.map +0 -0
  860. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/in-memory.js +0 -0
  861. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/in-memory.js.map +0 -0
  862. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/stdio.d.ts +0 -0
  863. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/stdio.d.ts.map +0 -0
  864. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/stdio.js +0 -0
  865. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/stdio.js.map +0 -0
  866. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/streamable-http.d.ts +0 -0
  867. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/streamable-http.d.ts.map +0 -0
  868. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/streamable-http.js +0 -0
  869. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/streamable-http.js.map +0 -0
  870. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/transport.d.ts +0 -0
  871. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/transport.d.ts.map +0 -0
  872. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/transport.js +0 -0
  873. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/transport.js.map +0 -0
  874. /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/package.json +0 -0
  875. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/README.md +0 -0
  876. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/alt-screen-search.d.ts +0 -0
  877. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/alt-screen-search.d.ts.map +0 -0
  878. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/alt-screen-search.js +0 -0
  879. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/alt-screen-search.js.map +0 -0
  880. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/autocomplete.d.ts +0 -0
  881. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/autocomplete.d.ts.map +0 -0
  882. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/autocomplete.js +0 -0
  883. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/autocomplete.js.map +0 -0
  884. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/colors.d.ts +0 -0
  885. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/colors.d.ts.map +0 -0
  886. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/colors.js +0 -0
  887. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/colors.js.map +0 -0
  888. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/alt-screen-flash.d.ts +0 -0
  889. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/alt-screen-flash.d.ts.map +0 -0
  890. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/alt-screen-flash.js +0 -0
  891. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/alt-screen-flash.js.map +0 -0
  892. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/box.d.ts +0 -0
  893. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/box.d.ts.map +0 -0
  894. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/box.js +0 -0
  895. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/box.js.map +0 -0
  896. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/cancellable-loader.d.ts +0 -0
  897. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/cancellable-loader.d.ts.map +0 -0
  898. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/cancellable-loader.js +0 -0
  899. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/cancellable-loader.js.map +0 -0
  900. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/editor.d.ts +0 -0
  901. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/editor.d.ts.map +0 -0
  902. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/editor.js +0 -0
  903. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/editor.js.map +0 -0
  904. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/h-stack.d.ts +0 -0
  905. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/h-stack.d.ts.map +0 -0
  906. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/h-stack.js +0 -0
  907. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/h-stack.js.map +0 -0
  908. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/image.d.ts +0 -0
  909. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/image.d.ts.map +0 -0
  910. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/image.js +0 -0
  911. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/image.js.map +0 -0
  912. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/input.d.ts +0 -0
  913. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/input.d.ts.map +0 -0
  914. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/input.js +0 -0
  915. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/input.js.map +0 -0
  916. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/loader.d.ts +0 -0
  917. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/loader.d.ts.map +0 -0
  918. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/loader.js +0 -0
  919. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/loader.js.map +0 -0
  920. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/markdown.d.ts +0 -0
  921. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/markdown.d.ts.map +0 -0
  922. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/markdown.js +0 -0
  923. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/markdown.js.map +0 -0
  924. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/mouse-region.d.ts +0 -0
  925. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/mouse-region.d.ts.map +0 -0
  926. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/mouse-region.js +0 -0
  927. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/mouse-region.js.map +0 -0
  928. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/scroll-view.d.ts +0 -0
  929. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/scroll-view.d.ts.map +0 -0
  930. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/scroll-view.js +0 -0
  931. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/scroll-view.js.map +0 -0
  932. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/select-list.d.ts +0 -0
  933. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/select-list.d.ts.map +0 -0
  934. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/select-list.js +0 -0
  935. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/select-list.js.map +0 -0
  936. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/settings-list.d.ts +0 -0
  937. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/settings-list.d.ts.map +0 -0
  938. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/settings-list.js +0 -0
  939. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/settings-list.js.map +0 -0
  940. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/spacer.d.ts +0 -0
  941. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/spacer.d.ts.map +0 -0
  942. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/spacer.js +0 -0
  943. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/spacer.js.map +0 -0
  944. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/stack.d.ts +0 -0
  945. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/stack.d.ts.map +0 -0
  946. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/stack.js +0 -0
  947. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/stack.js.map +0 -0
  948. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/text.d.ts +0 -0
  949. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/text.d.ts.map +0 -0
  950. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/text.js +0 -0
  951. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/text.js.map +0 -0
  952. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/truncated-text.d.ts +0 -0
  953. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/truncated-text.d.ts.map +0 -0
  954. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/truncated-text.js +0 -0
  955. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/truncated-text.js.map +0 -0
  956. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/v-stack.d.ts +0 -0
  957. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/v-stack.d.ts.map +0 -0
  958. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/v-stack.js +0 -0
  959. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/v-stack.js.map +0 -0
  960. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/editor-component.d.ts +0 -0
  961. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/editor-component.d.ts.map +0 -0
  962. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/editor-component.js +0 -0
  963. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/editor-component.js.map +0 -0
  964. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/fuzzy.d.ts +0 -0
  965. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/fuzzy.d.ts.map +0 -0
  966. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/fuzzy.js +0 -0
  967. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/fuzzy.js.map +0 -0
  968. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/index.d.ts +0 -0
  969. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/index.d.ts.map +0 -0
  970. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/index.js +0 -0
  971. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/index.js.map +0 -0
  972. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/keybindings.d.ts +0 -0
  973. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/keybindings.d.ts.map +0 -0
  974. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/keybindings.js +0 -0
  975. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/keybindings.js.map +0 -0
  976. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/keys.d.ts +0 -0
  977. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/keys.d.ts.map +0 -0
  978. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/keys.js +0 -0
  979. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/keys.js.map +0 -0
  980. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/kill-ring.d.ts +0 -0
  981. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/kill-ring.d.ts.map +0 -0
  982. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/kill-ring.js +0 -0
  983. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/kill-ring.js.map +0 -0
  984. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/latex.d.ts +0 -0
  985. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/latex.d.ts.map +0 -0
  986. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/latex.js +0 -0
  987. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/latex.js.map +0 -0
  988. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/layout-node.d.ts +0 -0
  989. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/layout-node.d.ts.map +0 -0
  990. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/layout-node.js +0 -0
  991. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/layout-node.js.map +0 -0
  992. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/layout.d.ts +0 -0
  993. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/layout.d.ts.map +0 -0
  994. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/layout.js +0 -0
  995. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/layout.js.map +0 -0
  996. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-modifiers.d.ts +0 -0
  997. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-modifiers.d.ts.map +0 -0
  998. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-modifiers.js +0 -0
  999. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-modifiers.js.map +0 -0
  1000. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-module-path.d.ts +0 -0
  1001. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-module-path.d.ts.map +0 -0
  1002. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-module-path.js +0 -0
  1003. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-module-path.js.map +0 -0
  1004. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-platform.d.ts +0 -0
  1005. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-platform.d.ts.map +0 -0
  1006. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-platform.js +0 -0
  1007. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-platform.js.map +0 -0
  1008. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/oklab.d.ts +0 -0
  1009. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/oklab.d.ts.map +0 -0
  1010. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/oklab.js +0 -0
  1011. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/oklab.js.map +0 -0
  1012. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/program-status.d.ts +0 -0
  1013. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/program-status.d.ts.map +0 -0
  1014. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/program-status.js +0 -0
  1015. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/program-status.js.map +0 -0
  1016. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/stdin-buffer.d.ts +0 -0
  1017. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/stdin-buffer.d.ts.map +0 -0
  1018. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/stdin-buffer.js +0 -0
  1019. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/stdin-buffer.js.map +0 -0
  1020. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal-colors.d.ts +0 -0
  1021. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal-colors.d.ts.map +0 -0
  1022. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal-colors.js +0 -0
  1023. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal-colors.js.map +0 -0
  1024. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal-image.d.ts +0 -0
  1025. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal-image.d.ts.map +0 -0
  1026. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal-image.js +0 -0
  1027. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal-image.js.map +0 -0
  1028. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal.d.ts +0 -0
  1029. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal.d.ts.map +0 -0
  1030. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal.js +0 -0
  1031. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal.js.map +0 -0
  1032. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui-alt-screen.d.ts +0 -0
  1033. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui-alt-screen.d.ts.map +0 -0
  1034. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui-alt-screen.js +0 -0
  1035. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui-alt-screen.js.map +0 -0
  1036. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui-main-screen.d.ts +0 -0
  1037. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui-main-screen.d.ts.map +0 -0
  1038. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui-main-screen.js +0 -0
  1039. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui-main-screen.js.map +0 -0
  1040. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui.d.ts +0 -0
  1041. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui.d.ts.map +0 -0
  1042. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui.js +0 -0
  1043. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui.js.map +0 -0
  1044. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/undo-stack.d.ts +0 -0
  1045. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/undo-stack.d.ts.map +0 -0
  1046. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/undo-stack.js +0 -0
  1047. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/undo-stack.js.map +0 -0
  1048. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/utils.d.ts +0 -0
  1049. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/utils.d.ts.map +0 -0
  1050. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/utils.js +0 -0
  1051. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/utils.js.map +0 -0
  1052. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/wheel-scroll.d.ts +0 -0
  1053. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/wheel-scroll.d.ts.map +0 -0
  1054. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/wheel-scroll.js +0 -0
  1055. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/wheel-scroll.js.map +0 -0
  1056. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/word-navigation.d.ts +0 -0
  1057. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/word-navigation.d.ts.map +0 -0
  1058. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/word-navigation.js +0 -0
  1059. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/word-navigation.js.map +0 -0
  1060. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/clipboard.h +0 -0
  1061. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/darwin/README.md +0 -0
  1062. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/darwin/build.sh +0 -0
  1063. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/darwin/prebuilds/darwin-arm64/darwin-platform.node +0 -0
  1064. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/darwin/prebuilds/darwin-x64/darwin-platform.node +0 -0
  1065. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/darwin/src/darwin-platform.m +0 -0
  1066. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/linux/README.md +0 -0
  1067. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/linux/build.sh +0 -0
  1068. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/linux/prebuilds/linux-arm64/linux-platform-x11.node +0 -0
  1069. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/linux/prebuilds/linux-x64/linux-platform-x11.node +0 -0
  1070. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/linux/src/clipboard-worker.h +0 -0
  1071. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/linux/src/linux-platform-x11.c +0 -0
  1072. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/napi.h +0 -0
  1073. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/win32/README.md +0 -0
  1074. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/win32/build.mjs +0 -0
  1075. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/win32/prebuilds/win32-arm64/win32-platform.node +0 -0
  1076. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/win32/prebuilds/win32-x64/win32-platform.node +0 -0
  1077. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/win32/src/win32-platform.c +0 -0
  1078. /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/package.json +0 -0
  1079. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/LICENSE +0 -0
  1080. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/README.md +0 -0
  1081. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Agent.md +0 -0
  1082. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/BalancedPool.md +0 -0
  1083. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/CacheStorage.md +0 -0
  1084. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/CacheStore.md +0 -0
  1085. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Client.md +0 -0
  1086. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/ClientStats.md +0 -0
  1087. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Connector.md +0 -0
  1088. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/ContentType.md +0 -0
  1089. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Cookies.md +0 -0
  1090. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Debug.md +0 -0
  1091. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/DiagnosticsChannel.md +0 -0
  1092. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Dispatcher.md +0 -0
  1093. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/EnvHttpProxyAgent.md +0 -0
  1094. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Errors.md +0 -0
  1095. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/EventSource.md +0 -0
  1096. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Fetch.md +0 -0
  1097. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/GlobalInstallation.md +0 -0
  1098. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/H2CClient.md +0 -0
  1099. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Interceptors.md +0 -0
  1100. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/MockAgent.md +0 -0
  1101. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/MockCallHistory.md +0 -0
  1102. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/MockCallHistoryLog.md +0 -0
  1103. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/MockClient.md +0 -0
  1104. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/MockErrors.md +0 -0
  1105. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/MockPool.md +0 -0
  1106. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Pool.md +0 -0
  1107. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/PoolStats.md +0 -0
  1108. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/ProxyAgent.md +0 -0
  1109. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/RedirectHandler.md +0 -0
  1110. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/RetryAgent.md +0 -0
  1111. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/RetryHandler.md +0 -0
  1112. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/RoundRobinPool.md +0 -0
  1113. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/SnapshotAgent.md +0 -0
  1114. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Socks5ProxyAgent.md +0 -0
  1115. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Util.md +0 -0
  1116. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/WebSocket.md +0 -0
  1117. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/api-lifecycle.md +0 -0
  1118. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/best-practices/client-certificate.md +0 -0
  1119. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/best-practices/crawling.md +0 -0
  1120. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/best-practices/migrating-from-v7-to-v8.md +0 -0
  1121. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/best-practices/mocking-request.md +0 -0
  1122. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/best-practices/proxy.md +0 -0
  1123. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/best-practices/undici-vs-builtin-fetch.md +0 -0
  1124. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/best-practices/writing-tests.md +0 -0
  1125. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/getting-started.md +0 -0
  1126. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/index.md +0 -0
  1127. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/site.json +0 -0
  1128. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/type-map.json +0 -0
  1129. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/index-fetch.js +0 -0
  1130. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/index.d.ts +0 -0
  1131. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/index.js +0 -0
  1132. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/api/abort-signal.js +0 -0
  1133. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/api/api-connect.js +0 -0
  1134. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/api/api-pipeline.js +0 -0
  1135. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/api/api-request.js +0 -0
  1136. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/api/api-stream.js +0 -0
  1137. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/api/api-upgrade.js +0 -0
  1138. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/api/index.js +0 -0
  1139. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/api/readable.js +0 -0
  1140. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/cache/memory-cache-store.js +0 -0
  1141. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/cache/sqlite-cache-store.js +0 -0
  1142. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/core/connect.js +0 -0
  1143. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/core/constants.js +0 -0
  1144. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/core/diagnostics.js +0 -0
  1145. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/core/errors.js +0 -0
  1146. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/core/request.js +0 -0
  1147. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/core/socks5-client.js +0 -0
  1148. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/core/socks5-utils.js +0 -0
  1149. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/core/symbols.js +0 -0
  1150. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/core/tree.js +0 -0
  1151. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/core/util.js +0 -0
  1152. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/agent.js +0 -0
  1153. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/balanced-pool.js +0 -0
  1154. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/client-h1.js +0 -0
  1155. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/client-h2.js +0 -0
  1156. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/client.js +0 -0
  1157. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/dispatcher-base.js +0 -0
  1158. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/dispatcher.js +0 -0
  1159. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/dispatcher1-wrapper.js +0 -0
  1160. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/env-http-proxy-agent.js +0 -0
  1161. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/fixed-queue.js +0 -0
  1162. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/h2c-client.js +0 -0
  1163. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/pool-base.js +0 -0
  1164. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/pool.js +0 -0
  1165. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/proxy-agent.js +0 -0
  1166. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/retry-agent.js +0 -0
  1167. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/round-robin-pool.js +0 -0
  1168. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/socks5-proxy-agent.js +0 -0
  1169. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/encoding/index.js +0 -0
  1170. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/global.js +0 -0
  1171. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/handler/cache-handler.js +0 -0
  1172. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/handler/cache-revalidation-handler.js +0 -0
  1173. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/handler/decorator-handler.js +0 -0
  1174. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/handler/deduplication-handler.js +0 -0
  1175. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/handler/redirect-handler.js +0 -0
  1176. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/handler/retry-handler.js +0 -0
  1177. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/interceptor/cache.js +0 -0
  1178. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/interceptor/decompress.js +0 -0
  1179. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/interceptor/deduplicate.js +0 -0
  1180. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/interceptor/dns.js +0 -0
  1181. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/interceptor/dump.js +0 -0
  1182. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/interceptor/redirect.js +0 -0
  1183. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/interceptor/response-error.js +0 -0
  1184. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/interceptor/retry.js +0 -0
  1185. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/llhttp/constants.d.ts +0 -0
  1186. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/llhttp/constants.js +0 -0
  1187. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/llhttp/llhttp-wasm.js +0 -0
  1188. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/llhttp/llhttp_simd-wasm.js +0 -0
  1189. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/llhttp/utils.d.ts +0 -0
  1190. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/llhttp/utils.js +0 -0
  1191. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/mock-agent.js +0 -0
  1192. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/mock-call-history.js +0 -0
  1193. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/mock-client.js +0 -0
  1194. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/mock-errors.js +0 -0
  1195. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/mock-interceptor.js +0 -0
  1196. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/mock-pool.js +0 -0
  1197. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/mock-symbols.js +0 -0
  1198. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/mock-utils.js +0 -0
  1199. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/pending-interceptors-formatter.js +0 -0
  1200. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/snapshot-agent.js +0 -0
  1201. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/snapshot-recorder.js +0 -0
  1202. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/snapshot-utils.js +0 -0
  1203. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/util/cache.js +0 -0
  1204. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/util/date.js +0 -0
  1205. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/util/runtime-features.js +0 -0
  1206. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/util/stats.js +0 -0
  1207. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/util/timers.js +0 -0
  1208. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/cache/cache.js +0 -0
  1209. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/cache/cachestorage.js +0 -0
  1210. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/cache/util.js +0 -0
  1211. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/cookies/constants.js +0 -0
  1212. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/cookies/index.js +0 -0
  1213. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/cookies/parse.js +0 -0
  1214. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/cookies/util.js +0 -0
  1215. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/eventsource/eventsource-stream.js +0 -0
  1216. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/eventsource/eventsource.js +0 -0
  1217. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/eventsource/util.js +0 -0
  1218. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/LICENSE +0 -0
  1219. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/body.js +0 -0
  1220. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/constants.js +0 -0
  1221. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/data-url.js +0 -0
  1222. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/formdata-parser.js +0 -0
  1223. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/formdata.js +0 -0
  1224. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/global.js +0 -0
  1225. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/headers.js +0 -0
  1226. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/index.js +0 -0
  1227. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/request.js +0 -0
  1228. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/response.js +0 -0
  1229. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/util.js +0 -0
  1230. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/infra/index.js +0 -0
  1231. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/subresource-integrity/Readme.md +0 -0
  1232. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/subresource-integrity/subresource-integrity.js +0 -0
  1233. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/webidl/index.js +0 -0
  1234. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/connection.js +0 -0
  1235. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/constants.js +0 -0
  1236. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/events.js +0 -0
  1237. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/frame.js +0 -0
  1238. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/permessage-deflate.js +0 -0
  1239. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/receiver.js +0 -0
  1240. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/sender.js +0 -0
  1241. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/stream/websocketerror.js +0 -0
  1242. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/stream/websocketstream.js +0 -0
  1243. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/util.js +0 -0
  1244. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/websocket.js +0 -0
  1245. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/package.json +0 -0
  1246. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/scripts/strip-comments.js +0 -0
  1247. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/README.md +0 -0
  1248. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/agent.d.ts +0 -0
  1249. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/api.d.ts +0 -0
  1250. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/balanced-pool.d.ts +0 -0
  1251. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/cache-interceptor.d.ts +0 -0
  1252. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/cache.d.ts +0 -0
  1253. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/client-stats.d.ts +0 -0
  1254. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/client.d.ts +0 -0
  1255. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/connector.d.ts +0 -0
  1256. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/content-type.d.ts +0 -0
  1257. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/cookies.d.ts +0 -0
  1258. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/diagnostics-channel.d.ts +0 -0
  1259. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/dispatcher.d.ts +0 -0
  1260. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/dispatcher1-wrapper.d.ts +0 -0
  1261. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/env-http-proxy-agent.d.ts +0 -0
  1262. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/errors.d.ts +0 -0
  1263. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/eventsource.d.ts +0 -0
  1264. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/fetch.d.ts +0 -0
  1265. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/formdata.d.ts +0 -0
  1266. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/global-dispatcher.d.ts +0 -0
  1267. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/global-origin.d.ts +0 -0
  1268. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/h2c-client.d.ts +0 -0
  1269. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/handlers.d.ts +0 -0
  1270. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/header.d.ts +0 -0
  1271. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/index.d.ts +0 -0
  1272. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/interceptors.d.ts +0 -0
  1273. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/mock-agent.d.ts +0 -0
  1274. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/mock-call-history.d.ts +0 -0
  1275. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/mock-client.d.ts +0 -0
  1276. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/mock-errors.d.ts +0 -0
  1277. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/mock-interceptor.d.ts +0 -0
  1278. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/mock-pool.d.ts +0 -0
  1279. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/patch.d.ts +0 -0
  1280. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/pool-stats.d.ts +0 -0
  1281. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/pool.d.ts +0 -0
  1282. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/proxy-agent.d.ts +0 -0
  1283. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/readable.d.ts +0 -0
  1284. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/retry-agent.d.ts +0 -0
  1285. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/retry-handler.d.ts +0 -0
  1286. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/round-robin-pool.d.ts +0 -0
  1287. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/snapshot-agent.d.ts +0 -0
  1288. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/socks5-proxy-agent.d.ts +0 -0
  1289. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/util.d.ts +0 -0
  1290. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/utility.d.ts +0 -0
  1291. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/webidl.d.ts +0 -0
  1292. /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/websocket.d.ts +0 -0
@@ -161,6 +161,10 @@ var ROLE = "";
161
161
  var API = "/merchant/api/v1";
162
162
  var FILE_PRODUCTS = ${options.productAuthority === "file"};
163
163
  var CATALOG_CONNECT = ${options.catalogConnection === true};
164
+ // 与 cloud/access/workbuddy-share-link 的 WORKBUDDY_CUSTODY_TERMS_VERSION 同值;
165
+ // 浏览器产物必须自包含(verify:browser-artifact 禁止模块导入),所以这里是字面量,
166
+ // 由 tests/merchant-management-api 断言两者一致。
167
+ var ACCESS_CONSENT_TERMS = "workbuddy-share-v1-2026-10-27";
164
168
  var catalogBeginKey = "";
165
169
  var catalogBeginPending = false;
166
170
  var publicationDraft = null;
@@ -279,6 +283,82 @@ function appendCatalogConnection(html) {
279
283
  return html + '<div class="card"><h2>连接 Kiwi 目录</h2><p>暂时无法读取连接状态,请稍后刷新。</p></div>';
280
284
  });
281
285
  }
286
+ function accessStatusText(a) {
287
+ if (!a) return "暂时无法读取访问配置状态";
288
+ if (a.status === "active") return "已生效(配置版本 " + a.configVersion + ")";
289
+ if (a.status === "pending") return "已提交,等待平台校验";
290
+ if (a.status === "invalid") return "校验未通过,请重新提交分享链接";
291
+ if (a.status === "revoked") {
292
+ return a.statusReason === "superseded"
293
+ ? "已被新版本替换(旧码不再发放)"
294
+ : "已撤回,采购方当前无法经平台网关访问";
295
+ }
296
+ return "未配置:WorkBuddy 上的采购方无法访问本店";
297
+ }
298
+ function appendCatalogAccess(html) {
299
+ if (!CATALOG_CONNECT || ROLE !== "owner") return html;
300
+ return call("GET", "/catalog/access").then(function (result) {
301
+ var a = result.access || {};
302
+ return html + '<div class="card"><h2>WorkBuddy 分享码(平台门禁)</h2>' +
303
+ '<p id="access-status">' + esc(accessStatusText(a)) + '</p>' +
304
+ '<p class="muted">分享码只用于通过 WorkBuddy 网关,不是商家身份或业务授权。本页不会显示分享码;请从平台复制分享链接后粘贴在此。</p>' +
305
+ '<p class="muted">平台口径:关闭「发布为网站」后链接立即失效;<b>删除源任务或源文件不会</b>让已分享链接失效,需要主动下线;平台不承诺分享码有固定有效期或自动轮换。若平台侧换了码,请重新粘贴新的分享链接。</p>' +
306
+ (a.custodyEnabled === false
307
+ ? '<p class="warn">目录代管当前已被运营关闭,无法新建或更新;你仍可撤回授权。</p>'
308
+ : '') +
309
+ '<div class="row"><input id="access-link" type="text" autocomplete="off" spellcheck="false" aria-label="WorkBuddy 分享链接" placeholder="粘贴 WorkBuddy 分享链接">' +
310
+ '<button class="act primary" onclick="submitAccessLink()">提交或更新</button>' +
311
+ '<button class="act" onclick="refreshAccess()">刷新状态</button>' +
312
+ (a.consentGranted ? '<button class="act danger" onclick="revokeAccess()">撤回授权并撤销</button>' : '') + '</div>' +
313
+ '<label class="row"><input id="access-consent" type="checkbox" aria-label="同意分享码代管授权">' +
314
+ ' 我确认:允许 Kiwi 目录<b>代为保管</b>此分享码,并仅在我已接受的采购方关注我时自动出示;我可随时撤回,撤回后目录会清空已保存的分享码。</label>' +
315
+ (a.recentFaults > 0
316
+ ? '<p class="warn">最近 24 小时有 ' + a.recentFaults +
317
+ ' 次采购方报告门禁失败' + (a.recentFaultsLastAt ? '(最后一次 ' + esc(a.recentFaultsLastAt) + ')' : '') +
318
+ '。请核对分享码是否已在平台侧更换或失效,必要时重新粘贴分享链接。</p>'
319
+ : '') +
320
+ (a.consentGranted ? '<p class="muted">授权已生效' + (a.consentTermsVersion ? '(条款 ' + esc(a.consentTermsVersion) + ')' : '') + '</p>' : '') +
321
+ (a.authMode ? '<p class="muted">业务认证:' + esc(a.authMode) + ' · 适配版本:' + esc(a.adapterVersion || "-") + '</p>' : '') +
322
+ '</div>';
323
+ }).catch(function () {
324
+ return html + '<div class="card"><h2>WorkBuddy 分享码(平台门禁)</h2><p>暂时无法读取访问配置状态,请稍后刷新。</p></div>';
325
+ });
326
+ }
327
+ function accessSummaryBar(a, verb) {
328
+ bar(verb + ":" + accessStatusText(a), a && a.status === "invalid");
329
+ }
330
+ function submitAccessLink() {
331
+ var input = $("access-link");
332
+ var consent = $("access-consent");
333
+ var link = input ? String(input.value || "").trim() : "";
334
+ if (!link) { bar("请先粘贴 WorkBuddy 分享链接。", true); return; }
335
+ if (!consent || !consent.checked) {
336
+ bar("请先勾选并同意《分享码代管授权》。", true);
337
+ return;
338
+ }
339
+ call("POST", "/catalog/access/share-link", {
340
+ link: link,
341
+ consent_terms_version: ACCESS_CONSENT_TERMS
342
+ }).then(function (result) {
343
+ if (input) input.value = "";
344
+ if (consent) consent.checked = false;
345
+ accessSummaryBar(result.access, "已提交");
346
+ }).catch(function (e) {
347
+ // 错误文本由服务端给自有码说明;不把链接回显到页面。
348
+ bar(e && e.message ? e.message : "提交未完成,请稍后重试。", true);
349
+ });
350
+ }
351
+ function refreshAccess() {
352
+ call("POST", "/catalog/access/refresh", {}).then(function (result) {
353
+ accessSummaryBar(result.access, "已刷新");
354
+ }).catch(function () { bar("刷新访问配置状态失败。", true); });
355
+ }
356
+ function revokeAccess() {
357
+ if (!window.confirm("撤回授权后:采购方将无法经 WorkBuddy 访问本店,目录会清空已保存的分享码。确定撤回?")) return;
358
+ call("POST", "/catalog/access/revoke", {}).then(function (result) {
359
+ accessSummaryBar(result.access, "已撤销");
360
+ }).catch(function () { bar("撤销未完成,请稍后重试。", true); });
361
+ }
282
362
  function beginCatalogConnect() {
283
363
  if (catalogBeginPending) return;
284
364
  catalogBeginPending = true;
@@ -336,7 +416,7 @@ var views = {
336
416
  html += '<p class="muted">恢复接待需要 owner 角色。</p>';
337
417
  }
338
418
  }
339
- return appendCatalogConnection(html + "</div>");
419
+ return appendCatalogConnection(html + "</div>").then(appendCatalogAccess);
340
420
  });
341
421
  },
342
422
  products: function () {
@@ -1 +1 @@
1
- {"version":3,"file":"page.js","sourceRoot":"","sources":["../../../src/http/merchant-management/page.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;;;;;;;;;;GAWG;AAEH,8CAA8C;AAC9C,MAAM,UAAU,4BAA4B,CAAC,UAGzC,EAAE;IACJ,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAoIa,OAAO,CAAC,gBAAgB,KAAK,MAAM;wBACjC,OAAO,CAAC,iBAAiB,KAAK,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAsyBlD,CAAC;AACT,CAAC"}
@@ -84,6 +84,14 @@ export declare class MerchantRuntimeManager {
84
84
  private launch;
85
85
  /** 停止服务(SIGTERM;显式停止后不自动重启)。 */
86
86
  stop(name: string): Promise<ManagedServiceState>;
87
+ /**
88
+ * 停止服务本体。`persistIntent=false` 用于**优雅关闭**(supervisor 收到
89
+ * SIGTERM 后停全部子进程):此时不写 `<name>.stopped`,否则下一次
90
+ * `runtime start` 的 supervise() 会把它们当成操作员显式停止而不拉起——
91
+ * systemd `Restart=always` 重启一次就把 A2A/MCP 永久停掉(生产事故:
92
+ * 2026-10-28 重启 kiwi-merchant-v2 后 A2A 502)。
93
+ */
94
+ private terminate;
87
95
  /** 重启(停止 → 启动);停止 A2A 后管理入口可重启它(阶段一验收项)。 */
88
96
  restart(name: string): Promise<ManagedServiceState>;
89
97
  private stateOf;
@@ -92,6 +100,10 @@ export declare class MerchantRuntimeManager {
92
100
  /** 监控模式(runtime start 前台运行):启动全部服务并保持,异常退出自动重启。 */
93
101
  private supervising;
94
102
  supervise(): Promise<void>;
95
- /** 停止监控并停掉全部服务(优雅关闭)。 */
103
+ /**
104
+ * 停止监控并停掉全部服务(优雅关闭)。**不写显式停止意图**:进程退出后
105
+ * 由 systemd 重新拉起本进程,supervise() 必须能把子服务重新启动;显式
106
+ * `runtime stop` 的意图仍由 stop() 保留(见 terminate 注释)。
107
+ */
96
108
  shutdown(): Promise<void>;
97
109
  }
@@ -228,8 +228,20 @@ export class MerchantRuntimeManager {
228
228
  }
229
229
  /** 停止服务(SIGTERM;显式停止后不自动重启)。 */
230
230
  async stop(name) {
231
+ return await this.terminate(name, { persistIntent: true });
232
+ }
233
+ /**
234
+ * 停止服务本体。`persistIntent=false` 用于**优雅关闭**(supervisor 收到
235
+ * SIGTERM 后停全部子进程):此时不写 `<name>.stopped`,否则下一次
236
+ * `runtime start` 的 supervise() 会把它们当成操作员显式停止而不拉起——
237
+ * systemd `Restart=always` 重启一次就把 A2A/MCP 永久停掉(生产事故:
238
+ * 2026-10-28 重启 kiwi-merchant-v2 后 A2A 502)。
239
+ */
240
+ async terminate(name, options) {
231
241
  this.spec(name);
232
- writeFileAtomic(this.stoppedFile(name), JSON.stringify({ stopped: true, token: randomUUID() }) + "\n", { mode: 0o600 });
242
+ if (options.persistIntent) {
243
+ writeFileAtomic(this.stoppedFile(name), JSON.stringify({ stopped: true, token: randomUUID() }) + "\n", { mode: 0o600 });
244
+ }
233
245
  const current = this.children.get(name);
234
246
  if (current !== undefined)
235
247
  current.stopped = true;
@@ -323,11 +335,15 @@ export class MerchantRuntimeManager {
323
335
  await this.launch(name, false);
324
336
  }
325
337
  }
326
- /** 停止监控并停掉全部服务(优雅关闭)。 */
338
+ /**
339
+ * 停止监控并停掉全部服务(优雅关闭)。**不写显式停止意图**:进程退出后
340
+ * 由 systemd 重新拉起本进程,supervise() 必须能把子服务重新启动;显式
341
+ * `runtime stop` 的意图仍由 stop() 保留(见 terminate 注释)。
342
+ */
327
343
  async shutdown() {
328
344
  this.supervising = false;
329
345
  for (const name of [...this.services.keys()].reverse()) {
330
- await this.stop(name);
346
+ await this.terminate(name, { persistIntent: false });
331
347
  }
332
348
  }
333
349
  }
@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AAC,IAAI,CAAC,CAAC,CAAC;IACrE,CAAC;IAED,mDAAmD;IAC3C,WAAW,GAAG,KAAK,CAAC;IAE5B,KAAK,CAAC,SAAS;QACb,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QACxB,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC;YACxC,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YAC/B,IAAI,GAAG,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,OAAO;gBAAE,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAC1F,CAAC;IACH,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,QAAQ;QACZ,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QACzB,KAAK,MAAM,IAAI,IAAI,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC;YACvD,MAAM,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,CAAC;QACvD,CAAC;IACH,CAAC;CACF"}
@@ -0,0 +1,31 @@
1
+ export declare const TRUSTED_KEYS_FILE = "a2a-trusted-keys.json";
2
+ export interface TrustedBuyerKey {
3
+ keyid: string;
4
+ /** PEM 文本(SPKI,Ed25519)。 */
5
+ publicKeyPem: string;
6
+ profile?: {
7
+ identity?: string;
8
+ organization?: string;
9
+ role?: "buyer" | "merchant";
10
+ trustLevel?: "T0" | "T1" | "T2" | "T3";
11
+ };
12
+ }
13
+ export declare class TrustedKeysError extends Error {
14
+ readonly code: "INVALID_PEM" | "INVALID_KEYID" | "DUPLICATE_KEYID" | "MALFORMED_FILE" | "NOT_ED25519";
15
+ constructor(code: TrustedKeysError["code"], message: string);
16
+ }
17
+ /** 校验公钥 PEM:必须是 Ed25519。返回规范化后的 PEM。 */
18
+ export declare function normalizeEd25519Pem(pem: string): string;
19
+ export declare function trustedKeysPath(dataDir: string): string;
20
+ /** 读取现有条目;文件不存在视为空列表,格式不对抛错(不改写坏文件)。 */
21
+ export declare function readTrustedKeys(file: string): TrustedBuyerKey[];
22
+ /**
23
+ * 追加一条可信买家公钥并原子写入。返回是否新增(重复 keyid 直接拒绝,
24
+ * 不静默覆盖——运营要改就用 `--replace`)。
25
+ */
26
+ export declare function addTrustedBuyerKey(file: string, entry: TrustedBuyerKey, options?: {
27
+ replace?: boolean;
28
+ }): {
29
+ added: boolean;
30
+ path: string;
31
+ };
@@ -0,0 +1,98 @@
1
+ // Copyright 2026 harrylabsj
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+ /**
15
+ * 商家侧可信买家公钥登记(B-05 的运维闭环)。
16
+ *
17
+ * 受保护操作(`GetTask` / `ListTasks` / `CancelTask` / `GetExtendedAgentCard`)
18
+ * 需要已验证身份;买家配了 `a2aSigningKeyDir` 就会用自持 Ed25519 密钥签名,
19
+ * 但商家得先认识这把钥匙——条目写进运行时数据目录下的
20
+ * `a2a-trusted-keys.json`(运行时**每次请求重新读**,登记后立即生效)。
21
+ *
22
+ * 本模块只做"校验 + 原子写入",不联网、不猜:
23
+ * - 公钥必须是可解析的 Ed25519 SPKI PEM;
24
+ * - keyid 不能与已有条目冲突(冲突即拒绝,不覆盖);
25
+ * - 文件必须是数组(运行时 fail-closed,这里同样不让它变坏)。
26
+ */
27
+ import { createPublicKey } from "node:crypto";
28
+ import { existsSync, readFileSync } from "node:fs";
29
+ import path from "node:path";
30
+ import { writeFileAtomic } from "../fs/atomic-write.js";
31
+ export const TRUSTED_KEYS_FILE = "a2a-trusted-keys.json";
32
+ export class TrustedKeysError extends Error {
33
+ code;
34
+ constructor(code, message) {
35
+ super(message);
36
+ this.name = "TrustedKeysError";
37
+ this.code = code;
38
+ }
39
+ }
40
+ const KEYID_RE = /^[A-Za-z0-9._:@/-]{1,255}$/;
41
+ /** 校验公钥 PEM:必须是 Ed25519。返回规范化后的 PEM。 */
42
+ export function normalizeEd25519Pem(pem) {
43
+ let key;
44
+ try {
45
+ key = createPublicKey(pem);
46
+ }
47
+ catch {
48
+ throw new TrustedKeysError("INVALID_PEM", "公钥不是可解析的 PEM");
49
+ }
50
+ if (key.asymmetricKeyType !== "ed25519") {
51
+ throw new TrustedKeysError("NOT_ED25519", "只接受 Ed25519 公钥(RFC 9421 出站签名用)");
52
+ }
53
+ return key.export({ type: "spki", format: "pem" }).toString();
54
+ }
55
+ export function trustedKeysPath(dataDir) {
56
+ return path.join(dataDir, TRUSTED_KEYS_FILE);
57
+ }
58
+ /** 读取现有条目;文件不存在视为空列表,格式不对抛错(不改写坏文件)。 */
59
+ export function readTrustedKeys(file) {
60
+ if (!existsSync(file))
61
+ return [];
62
+ let parsed;
63
+ try {
64
+ parsed = JSON.parse(readFileSync(file, "utf8"));
65
+ }
66
+ catch {
67
+ throw new TrustedKeysError("MALFORMED_FILE", "a2a-trusted-keys.json 不是合法 JSON");
68
+ }
69
+ if (!Array.isArray(parsed)) {
70
+ throw new TrustedKeysError("MALFORMED_FILE", "a2a-trusted-keys.json 必须是数组");
71
+ }
72
+ return parsed;
73
+ }
74
+ /**
75
+ * 追加一条可信买家公钥并原子写入。返回是否新增(重复 keyid 直接拒绝,
76
+ * 不静默覆盖——运营要改就用 `--replace`)。
77
+ */
78
+ export function addTrustedBuyerKey(file, entry, options = {}) {
79
+ const keyid = String(entry.keyid ?? "").trim();
80
+ if (!KEYID_RE.test(keyid)) {
81
+ throw new TrustedKeysError("INVALID_KEYID", "keyid 非法(1–255 个字母数字或 ._:@/-)");
82
+ }
83
+ const publicKeyPem = normalizeEd25519Pem(String(entry.publicKeyPem ?? ""));
84
+ const existing = readTrustedKeys(file);
85
+ const index = existing.findIndex((item) => item.keyid === keyid);
86
+ if (index >= 0 && options.replace !== true) {
87
+ throw new TrustedKeysError("DUPLICATE_KEYID", `keyid 已存在:${keyid}(如需更换请显式 --replace)`);
88
+ }
89
+ const next = {
90
+ keyid,
91
+ publicKeyPem,
92
+ ...(entry.profile !== undefined ? { profile: entry.profile } : {}),
93
+ };
94
+ const merged = index >= 0 ? existing.map((item, i) => (i === index ? next : item)) : [...existing, next];
95
+ writeFileAtomic(file, `${JSON.stringify(merged, null, 2)}\n`, { mode: 0o600 });
96
+ return { added: index < 0, path: file };
97
+ }
98
+ //# sourceMappingURL=trusted-buyer-keys.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trusted-buyer-keys.js","sourceRoot":"","sources":["../../src/tools/trusted-buyer-keys.ts"],"names":[],"mappings":"AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,MAAM,CAAC,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;AAczD,MAAM,OAAO,gBAAiB,SAAQ,KAAK;IAChC,IAAI,CAKK;IAElB,YAAY,IAA8B,EAAE,OAAe;QACzD,KAAK,CAAC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C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,QAAQ,EAAE,IAAI,CAAC,CAAC;IACzG,eAAe,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;IAC/E,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAC1C,CAAC"}
@@ -0,0 +1,69 @@
1
+ /**
2
+ * Copyright 2026 harrylabsj
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export declare const ECHO_PATH = "/__probe/echo";
17
+ export declare const HEALTH_PATH = "/__probe/health";
18
+ export declare const MAX_BODY_BYTES: number;
19
+ export interface ProbeSummaryInput {
20
+ method: string;
21
+ url: string;
22
+ headers: Record<string, string | string[] | undefined>;
23
+ body: Buffer;
24
+ receivedAt: string;
25
+ }
26
+ export interface ProbeSummary {
27
+ method: string;
28
+ /** 平台转发到源站时所见路径(用于判断网关是否改写路径)。 */
29
+ path: string;
30
+ /** 查询参数名列表,按到达顺序(判断顺序/重复是否保留)。 */
31
+ query_names: string[];
32
+ /** 原始 query 串(分享参数值以占位符替换,其余原样)。 */
33
+ raw_query: string;
34
+ sharecode: {
35
+ present: boolean;
36
+ length: number;
37
+ };
38
+ headers: Array<{
39
+ name: string;
40
+ /** 多值头按到达顺序给出值摘要。 */
41
+ values_sha256: string[];
42
+ /** 仅 `authorization` 给出:认证方案名(值本身永不出现)。 */
43
+ scheme?: string;
44
+ }>;
45
+ body: {
46
+ length: number;
47
+ sha256: string;
48
+ };
49
+ received_at: string;
50
+ }
51
+ /**
52
+ * 把一次入站请求压成**可公开**的摘要。纯函数,便于单测;调用方负责提供
53
+ * 已解析的 URL 与已读满的请求体。
54
+ */
55
+ export declare function summarizeProbeRequest(input: ProbeSummaryInput): ProbeSummary;
56
+ /** 供脚本与测试使用的极简请求处理器(不引入任何依赖)。 */
57
+ export declare function createProbeHandler(options?: {
58
+ now?: () => Date;
59
+ }): (request: {
60
+ method?: string;
61
+ url?: string;
62
+ headers: Record<string, string | string[] | undefined>;
63
+ on(event: "data", listener: (chunk: Buffer) => void): unknown;
64
+ on(event: "end", listener: () => void): unknown;
65
+ on(event: "error", listener: (error: Error) => void): unknown;
66
+ }) => Promise<{
67
+ status: number;
68
+ body: unknown;
69
+ }>;
@@ -0,0 +1,132 @@
1
+ /**
2
+ * Copyright 2026 harrylabsj
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ /**
17
+ * WorkBuddy 平台行为回显探针(I-01 的服务端一半)。
18
+ *
19
+ * 把本模块起成一个小服务、作为 WorkBuddy 网站应用发布,再从外部按不同方式
20
+ * 调用,就能**自己**量出平台网关到底做了什么:分享参数是否被剥除、其它查询
21
+ * 参数是否保留/重排/重编码、`Authorization` 是否被改写或注入、签名头是否原样
22
+ * 透传。这样 P0-01 里"网关如何改写入站请求"的部分不必等平台答复。
23
+ *
24
+ * 安全设计(这个端点对公网开放):
25
+ * - **不回显任何请求头的值**。只报名称、是否存在、以及值的 sha256 前缀;
26
+ * `authorization` 另报认证方案名(Bearer/Basic/…)与前缀,不报令牌。
27
+ * - `sharecode` 只报"存在 + 长度",不回显值。
28
+ * - 请求体只报长度与 sha256,不回显内容。
29
+ * - 请求体大小有上限;除 GET/POST/HEAD 外的方法返回 405。
30
+ */
31
+ import { createHash } from "node:crypto";
32
+ export const ECHO_PATH = "/__probe/echo";
33
+ export const HEALTH_PATH = "/__probe/health";
34
+ export const MAX_BODY_BYTES = 64 * 1024;
35
+ function digestShort(value) {
36
+ return `sha256:${createHash("sha256").update(value, "utf8").digest("hex").slice(0, 16)}`;
37
+ }
38
+ function headerValues(raw) {
39
+ if (raw === undefined)
40
+ return [];
41
+ return Array.isArray(raw) ? raw.map(String) : [String(raw)];
42
+ }
43
+ /**
44
+ * 把一次入站请求压成**可公开**的摘要。纯函数,便于单测;调用方负责提供
45
+ * 已解析的 URL 与已读满的请求体。
46
+ */
47
+ export function summarizeProbeRequest(input) {
48
+ const url = new URL(input.url, "http://probe.internal");
49
+ const rawQuery = url.search.startsWith("?") ? url.search.slice(1) : url.search;
50
+ const pairs = [...url.searchParams];
51
+ const sharecodes = url.searchParams.getAll("sharecode");
52
+ // 原始串按字节保留(用于判断平台是否重排/重编码业务参数),只把分享参数
53
+ // 的值替换掉——包括重复参数与畸形编码片段,避免任何泄漏。
54
+ const safeRawQuery = rawQuery.replace(/(^|&)sharecode=[^&]*/g, (_match, separator) => `${separator}sharecode=<redacted>`);
55
+ const headers = Object.entries(input.headers)
56
+ .filter(([name]) => name !== "")
57
+ .sort(([a], [b]) => a.localeCompare(b))
58
+ .map(([name, raw]) => {
59
+ const values = headerValues(raw);
60
+ const entry = {
61
+ name: name.toLowerCase(),
62
+ values_sha256: values.map(digestShort),
63
+ };
64
+ if (name.toLowerCase() === "authorization") {
65
+ // 只保留认证方案名(Bearer / Basic / …),令牌本身不进摘要。
66
+ const scheme = /^\s*([A-Za-z][A-Za-z0-9-]{0,15})(\s|$)/.exec(values[0] ?? "")?.[1];
67
+ if (scheme !== undefined)
68
+ entry.scheme = scheme;
69
+ }
70
+ return entry;
71
+ });
72
+ return {
73
+ method: input.method,
74
+ path: url.pathname,
75
+ query_names: pairs.map(([name]) => name),
76
+ raw_query: safeRawQuery,
77
+ sharecode: { present: sharecodes.length > 0, length: sharecodes[0]?.length ?? 0 },
78
+ headers,
79
+ body: {
80
+ length: input.body.length,
81
+ sha256: `sha256:${createHash("sha256").update(input.body).digest("hex")}`,
82
+ },
83
+ received_at: input.receivedAt,
84
+ };
85
+ }
86
+ /** 供脚本与测试使用的极简请求处理器(不引入任何依赖)。 */
87
+ export function createProbeHandler(options = {}) {
88
+ const now = options.now ?? (() => new Date());
89
+ return (request) => {
90
+ return new Promise((resolve) => {
91
+ const method = (request.method ?? "GET").toUpperCase();
92
+ if (method !== "GET" && method !== "POST" && method !== "HEAD") {
93
+ resolve({ status: 405, body: { error: "method_not_allowed", allow: "GET, POST, HEAD" } });
94
+ return;
95
+ }
96
+ const url = request.url ?? "/";
97
+ if (url.split("?")[0] === HEALTH_PATH) {
98
+ resolve({ status: 200, body: { ok: true } });
99
+ return;
100
+ }
101
+ const chunks = [];
102
+ let size = 0;
103
+ let tooLarge = false;
104
+ request.on("data", (chunk) => {
105
+ size += chunk.length;
106
+ if (size > MAX_BODY_BYTES) {
107
+ tooLarge = true;
108
+ return;
109
+ }
110
+ chunks.push(chunk);
111
+ });
112
+ request.on("error", () => resolve({ status: 400, body: { error: "read_failed" } }));
113
+ request.on("end", () => {
114
+ if (tooLarge) {
115
+ resolve({ status: 413, body: { error: "body_too_large", limit: MAX_BODY_BYTES } });
116
+ return;
117
+ }
118
+ resolve({
119
+ status: 200,
120
+ body: summarizeProbeRequest({
121
+ method,
122
+ url,
123
+ headers: request.headers,
124
+ body: Buffer.concat(chunks),
125
+ receivedAt: now().toISOString(),
126
+ }),
127
+ });
128
+ });
129
+ });
130
+ };
131
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