pi-proactive 0.2.0-beta.2 → 0.2.0-beta.4

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 (1462) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/README.md +49 -28
  3. package/build/cli.mjs +185 -0
  4. package/build/extensions/proactive.js +231 -6
  5. package/build/src/assistant.js +572 -0
  6. package/build/src/commands.js +91 -2
  7. package/build/src/config.js +531 -4
  8. package/build/src/content.js +2 -0
  9. package/build/src/daemon-config.js +221 -0
  10. package/build/src/daemon-contact.js +103 -0
  11. package/build/src/daemon-host.js +86 -0
  12. package/build/src/daemon.js +195 -3
  13. package/build/src/dedupe.js +2 -0
  14. package/build/src/health.js +86 -0
  15. package/build/src/lineage.js +43 -2
  16. package/build/src/mailbox.js +2 -0
  17. package/build/src/notify.js +185 -0
  18. package/build/src/peer-spawn.js +2 -0
  19. package/build/src/peer.js +2 -0
  20. package/build/src/progress-eta.js +134 -0
  21. package/build/src/registry.js +2 -0
  22. package/build/src/socket.js +2 -0
  23. package/build/src/supervisor-state.js +355 -0
  24. package/build/src/supervisor-tui.js +85 -0
  25. package/build/src/supervisor-web.js +262 -0
  26. package/build/src/task-store.js +2 -0
  27. package/build/src/thread.js +2 -0
  28. package/build/src/trigger.js +43 -0
  29. package/build/src/trust-loop.js +321 -0
  30. package/build/src/trust-metrics.js +236 -0
  31. package/build/src/trust-notify.js +73 -0
  32. package/build/src/trust-policy.js +58 -0
  33. package/build/src/trust-registry.js +323 -0
  34. package/daemon/launchd.plist +48 -0
  35. package/daemon/pi-proactive-daemon.service +29 -0
  36. package/daemon/run-daemon.sh +84 -0
  37. package/package.json +12 -9
  38. package/skills/pi-proactive/SKILL.md +29 -24
  39. package/tools/cli.mjs +185 -0
  40. package/tools/daemon-install.sh +397 -0
  41. package/tools/daemon-uninstall.sh +226 -0
  42. package/node_modules/typebox/build/compile/code.d.mts +0 -12
  43. package/node_modules/typebox/build/compile/code.mjs +0 -64
  44. package/node_modules/typebox/build/compile/compile.d.mts +0 -6
  45. package/node_modules/typebox/build/compile/compile.mjs +0 -12
  46. package/node_modules/typebox/build/compile/index.d.mts +0 -8
  47. package/node_modules/typebox/build/compile/index.mjs +0 -14
  48. package/node_modules/typebox/build/compile/validator.d.mts +0 -35
  49. package/node_modules/typebox/build/compile/validator.mjs +0 -95
  50. package/node_modules/typebox/build/error/errors.d.mts +0 -208
  51. package/node_modules/typebox/build/error/errors.mjs +0 -18
  52. package/node_modules/typebox/build/error/index.d.mts +0 -1
  53. package/node_modules/typebox/build/error/index.mjs +0 -1
  54. package/node_modules/typebox/build/format/_registry.d.mts +0 -15
  55. package/node_modules/typebox/build/format/_registry.mjs +0 -96
  56. package/node_modules/typebox/build/format/date.d.mts +0 -6
  57. package/node_modules/typebox/build/format/date.mjs +0 -19
  58. package/node_modules/typebox/build/format/date_time.d.mts +0 -7
  59. package/node_modules/typebox/build/format/date_time.mjs +0 -20
  60. package/node_modules/typebox/build/format/duration.d.mts +0 -5
  61. package/node_modules/typebox/build/format/duration.mjs +0 -8
  62. package/node_modules/typebox/build/format/email.d.mts +0 -5
  63. package/node_modules/typebox/build/format/email.mjs +0 -8
  64. package/node_modules/typebox/build/format/format.d.mts +0 -22
  65. package/node_modules/typebox/build/format/format.mjs +0 -22
  66. package/node_modules/typebox/build/format/hostname.d.mts +0 -7
  67. package/node_modules/typebox/build/format/hostname.mjs +0 -10
  68. package/node_modules/typebox/build/format/idn_email.d.mts +0 -6
  69. package/node_modules/typebox/build/format/idn_email.mjs +0 -9
  70. package/node_modules/typebox/build/format/idn_hostname.d.mts +0 -8
  71. package/node_modules/typebox/build/format/idn_hostname.mjs +0 -11
  72. package/node_modules/typebox/build/format/idna/format/bidi.d.mts +0 -3
  73. package/node_modules/typebox/build/format/idna/format/bidi.mjs +0 -98
  74. package/node_modules/typebox/build/format/idna/format/puny.d.mts +0 -3
  75. package/node_modules/typebox/build/format/idna/format/puny.mjs +0 -144
  76. package/node_modules/typebox/build/format/idna/hostname.d.mts +0 -1
  77. package/node_modules/typebox/build/format/idna/hostname.mjs +0 -16
  78. package/node_modules/typebox/build/format/idna/idn-hostname.d.mts +0 -1
  79. package/node_modules/typebox/build/format/idna/idn-hostname.mjs +0 -43
  80. package/node_modules/typebox/build/format/idna/index.d.mts +0 -2
  81. package/node_modules/typebox/build/format/idna/index.mjs +0 -2
  82. package/node_modules/typebox/build/format/idna/label/ascii.d.mts +0 -1
  83. package/node_modules/typebox/build/format/idna/label/ascii.mjs +0 -9
  84. package/node_modules/typebox/build/format/idna/label/puny.d.mts +0 -1
  85. package/node_modules/typebox/build/format/idna/label/puny.mjs +0 -28
  86. package/node_modules/typebox/build/format/idna/label/unicode.d.mts +0 -1
  87. package/node_modules/typebox/build/format/idna/label/unicode.mjs +0 -106
  88. package/node_modules/typebox/build/format/idna/pattern/pattern.d.mts +0 -30
  89. package/node_modules/typebox/build/format/idna/pattern/pattern.mjs +0 -70
  90. package/node_modules/typebox/build/format/index.d.mts +0 -4
  91. package/node_modules/typebox/build/format/index.mjs +0 -4
  92. package/node_modules/typebox/build/format/ipv4.d.mts +0 -5
  93. package/node_modules/typebox/build/format/ipv4.mjs +0 -8
  94. package/node_modules/typebox/build/format/ipv6.d.mts +0 -5
  95. package/node_modules/typebox/build/format/ipv6.mjs +0 -8
  96. package/node_modules/typebox/build/format/iri.d.mts +0 -5
  97. package/node_modules/typebox/build/format/iri.mjs +0 -42
  98. package/node_modules/typebox/build/format/iri_reference.d.mts +0 -5
  99. package/node_modules/typebox/build/format/iri_reference.mjs +0 -14
  100. package/node_modules/typebox/build/format/json_pointer.d.mts +0 -6
  101. package/node_modules/typebox/build/format/json_pointer.mjs +0 -9
  102. package/node_modules/typebox/build/format/json_pointer_uri_fragment.d.mts +0 -6
  103. package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +0 -9
  104. package/node_modules/typebox/build/format/regex.d.mts +0 -5
  105. package/node_modules/typebox/build/format/regex.mjs +0 -13
  106. package/node_modules/typebox/build/format/relative_json_pointer.d.mts +0 -6
  107. package/node_modules/typebox/build/format/relative_json_pointer.mjs +0 -9
  108. package/node_modules/typebox/build/format/time.d.mts +0 -5
  109. package/node_modules/typebox/build/format/time.mjs +0 -32
  110. package/node_modules/typebox/build/format/uri.d.mts +0 -5
  111. package/node_modules/typebox/build/format/uri.mjs +0 -8
  112. package/node_modules/typebox/build/format/uri_reference.d.mts +0 -5
  113. package/node_modules/typebox/build/format/uri_reference.mjs +0 -8
  114. package/node_modules/typebox/build/format/uri_template.d.mts +0 -5
  115. package/node_modules/typebox/build/format/uri_template.mjs +0 -9
  116. package/node_modules/typebox/build/format/url.d.mts +0 -6
  117. package/node_modules/typebox/build/format/url.mjs +0 -8
  118. package/node_modules/typebox/build/format/uuid.d.mts +0 -6
  119. package/node_modules/typebox/build/format/uuid.mjs +0 -9
  120. package/node_modules/typebox/build/guard/emit.d.mts +0 -56
  121. package/node_modules/typebox/build/guard/emit.mjs +0 -191
  122. package/node_modules/typebox/build/guard/globals.d.mts +0 -35
  123. package/node_modules/typebox/build/guard/globals.mjs +0 -90
  124. package/node_modules/typebox/build/guard/guard.d.mts +0 -73
  125. package/node_modules/typebox/build/guard/guard.mjs +0 -226
  126. package/node_modules/typebox/build/guard/index.d.mts +0 -6
  127. package/node_modules/typebox/build/guard/index.mjs +0 -12
  128. package/node_modules/typebox/build/guard/native.d.mts +0 -20
  129. package/node_modules/typebox/build/guard/native.mjs +0 -60
  130. package/node_modules/typebox/build/guard/unicode/unicode.d.mts +0 -6
  131. package/node_modules/typebox/build/guard/unicode/unicode.mjs +0 -35
  132. package/node_modules/typebox/build/guard/unicode/unicode_segment.d.mts +0 -6
  133. package/node_modules/typebox/build/guard/unicode/unicode_segment.mjs +0 -165
  134. package/node_modules/typebox/build/index.d.mts +0 -8
  135. package/node_modules/typebox/build/index.mjs +0 -14
  136. package/node_modules/typebox/build/schema/build.d.mts +0 -39
  137. package/node_modules/typebox/build/schema/build.mjs +0 -118
  138. package/node_modules/typebox/build/schema/check.d.mts +0 -6
  139. package/node_modules/typebox/build/schema/check.mjs +0 -14
  140. package/node_modules/typebox/build/schema/compile.d.mts +0 -23
  141. package/node_modules/typebox/build/schema/compile.mjs +0 -46
  142. package/node_modules/typebox/build/schema/engine/_context.d.mts +0 -34
  143. package/node_modules/typebox/build/schema/engine/_context.mjs +0 -137
  144. package/node_modules/typebox/build/schema/engine/_exact_optional.d.mts +0 -3
  145. package/node_modules/typebox/build/schema/engine/_exact_optional.mjs +0 -20
  146. package/node_modules/typebox/build/schema/engine/_externals.d.mts +0 -7
  147. package/node_modules/typebox/build/schema/engine/_externals.mjs +0 -25
  148. package/node_modules/typebox/build/schema/engine/_functions.d.mts +0 -6
  149. package/node_modules/typebox/build/schema/engine/_functions.mjs +0 -65
  150. package/node_modules/typebox/build/schema/engine/_pathing.d.mts +0 -1
  151. package/node_modules/typebox/build/schema/engine/_pathing.mjs +0 -11
  152. package/node_modules/typebox/build/schema/engine/_reducer.d.mts +0 -4
  153. package/node_modules/typebox/build/schema/engine/_reducer.mjs +0 -45
  154. package/node_modules/typebox/build/schema/engine/_refine.d.mts +0 -6
  155. package/node_modules/typebox/build/schema/engine/_refine.mjs +0 -34
  156. package/node_modules/typebox/build/schema/engine/_regexp.d.mts +0 -2
  157. package/node_modules/typebox/build/schema/engine/_regexp.mjs +0 -4
  158. package/node_modules/typebox/build/schema/engine/_stack.d.mts +0 -36
  159. package/node_modules/typebox/build/schema/engine/_stack.mjs +0 -150
  160. package/node_modules/typebox/build/schema/engine/_unique.d.mts +0 -4
  161. package/node_modules/typebox/build/schema/engine/_unique.mjs +0 -9
  162. package/node_modules/typebox/build/schema/engine/additionalItems.d.mts +0 -6
  163. package/node_modules/typebox/build/schema/engine/additionalItems.mjs +0 -60
  164. package/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +0 -6
  165. package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +0 -118
  166. package/node_modules/typebox/build/schema/engine/allOf.d.mts +0 -6
  167. package/node_modules/typebox/build/schema/engine/allOf.mjs +0 -47
  168. package/node_modules/typebox/build/schema/engine/anyOf.d.mts +0 -6
  169. package/node_modules/typebox/build/schema/engine/anyOf.mjs +0 -47
  170. package/node_modules/typebox/build/schema/engine/boolean.d.mts +0 -5
  171. package/node_modules/typebox/build/schema/engine/boolean.mjs +0 -21
  172. package/node_modules/typebox/build/schema/engine/const.d.mts +0 -6
  173. package/node_modules/typebox/build/schema/engine/const.mjs +0 -26
  174. package/node_modules/typebox/build/schema/engine/contains.d.mts +0 -6
  175. package/node_modules/typebox/build/schema/engine/contains.mjs +0 -50
  176. package/node_modules/typebox/build/schema/engine/dependencies.d.mts +0 -6
  177. package/node_modules/typebox/build/schema/engine/dependencies.mjs +0 -43
  178. package/node_modules/typebox/build/schema/engine/dependentRequired.d.mts +0 -6
  179. package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +0 -36
  180. package/node_modules/typebox/build/schema/engine/dependentSchemas.d.mts +0 -6
  181. package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +0 -39
  182. package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +0 -6
  183. package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +0 -29
  184. package/node_modules/typebox/build/schema/engine/enum.d.mts +0 -6
  185. package/node_modules/typebox/build/schema/engine/enum.mjs +0 -29
  186. package/node_modules/typebox/build/schema/engine/exclusiveMaximum.d.mts +0 -6
  187. package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +0 -21
  188. package/node_modules/typebox/build/schema/engine/exclusiveMinimum.d.mts +0 -6
  189. package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +0 -21
  190. package/node_modules/typebox/build/schema/engine/format.d.mts +0 -6
  191. package/node_modules/typebox/build/schema/engine/format.mjs +0 -29
  192. package/node_modules/typebox/build/schema/engine/if.d.mts +0 -6
  193. package/node_modules/typebox/build/schema/engine/if.mjs +0 -39
  194. package/node_modules/typebox/build/schema/engine/index.d.mts +0 -49
  195. package/node_modules/typebox/build/schema/engine/index.mjs +0 -55
  196. package/node_modules/typebox/build/schema/engine/items.d.mts +0 -6
  197. package/node_modules/typebox/build/schema/engine/items.mjs +0 -91
  198. package/node_modules/typebox/build/schema/engine/maxContains.d.mts +0 -6
  199. package/node_modules/typebox/build/schema/engine/maxContains.mjs +0 -38
  200. package/node_modules/typebox/build/schema/engine/maxItems.d.mts +0 -6
  201. package/node_modules/typebox/build/schema/engine/maxItems.mjs +0 -21
  202. package/node_modules/typebox/build/schema/engine/maxLength.d.mts +0 -6
  203. package/node_modules/typebox/build/schema/engine/maxLength.mjs +0 -21
  204. package/node_modules/typebox/build/schema/engine/maxProperties.d.mts +0 -6
  205. package/node_modules/typebox/build/schema/engine/maxProperties.mjs +0 -21
  206. package/node_modules/typebox/build/schema/engine/maximum.d.mts +0 -6
  207. package/node_modules/typebox/build/schema/engine/maximum.mjs +0 -21
  208. package/node_modules/typebox/build/schema/engine/minContains.d.mts +0 -6
  209. package/node_modules/typebox/build/schema/engine/minContains.mjs +0 -47
  210. package/node_modules/typebox/build/schema/engine/minItems.d.mts +0 -6
  211. package/node_modules/typebox/build/schema/engine/minItems.mjs +0 -21
  212. package/node_modules/typebox/build/schema/engine/minLength.d.mts +0 -6
  213. package/node_modules/typebox/build/schema/engine/minLength.mjs +0 -21
  214. package/node_modules/typebox/build/schema/engine/minProperties.d.mts +0 -6
  215. package/node_modules/typebox/build/schema/engine/minProperties.mjs +0 -21
  216. package/node_modules/typebox/build/schema/engine/minimum.d.mts +0 -6
  217. package/node_modules/typebox/build/schema/engine/minimum.mjs +0 -21
  218. package/node_modules/typebox/build/schema/engine/multipleOf.d.mts +0 -6
  219. package/node_modules/typebox/build/schema/engine/multipleOf.mjs +0 -21
  220. package/node_modules/typebox/build/schema/engine/not.d.mts +0 -6
  221. package/node_modules/typebox/build/schema/engine/not.mjs +0 -35
  222. package/node_modules/typebox/build/schema/engine/oneOf.d.mts +0 -6
  223. package/node_modules/typebox/build/schema/engine/oneOf.mjs +0 -54
  224. package/node_modules/typebox/build/schema/engine/pattern.d.mts +0 -6
  225. package/node_modules/typebox/build/schema/engine/pattern.mjs +0 -25
  226. package/node_modules/typebox/build/schema/engine/patternProperties.d.mts +0 -6
  227. package/node_modules/typebox/build/schema/engine/patternProperties.mjs +0 -46
  228. package/node_modules/typebox/build/schema/engine/prefixItems.d.mts +0 -6
  229. package/node_modules/typebox/build/schema/engine/prefixItems.mjs +0 -35
  230. package/node_modules/typebox/build/schema/engine/properties.d.mts +0 -6
  231. package/node_modules/typebox/build/schema/engine/properties.mjs +0 -76
  232. package/node_modules/typebox/build/schema/engine/propertyNames.d.mts +0 -6
  233. package/node_modules/typebox/build/schema/engine/propertyNames.mjs +0 -34
  234. package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +0 -6
  235. package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +0 -29
  236. package/node_modules/typebox/build/schema/engine/ref.d.mts +0 -6
  237. package/node_modules/typebox/build/schema/engine/ref.mjs +0 -56
  238. package/node_modules/typebox/build/schema/engine/required.d.mts +0 -6
  239. package/node_modules/typebox/build/schema/engine/required.mjs +0 -28
  240. package/node_modules/typebox/build/schema/engine/schema.d.mts +0 -9
  241. package/node_modules/typebox/build/schema/engine/schema.mjs +0 -360
  242. package/node_modules/typebox/build/schema/engine/type.d.mts +0 -6
  243. package/node_modules/typebox/build/schema/engine/type.mjs +0 -66
  244. package/node_modules/typebox/build/schema/engine/unevaluatedItems.d.mts +0 -6
  245. package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +0 -47
  246. package/node_modules/typebox/build/schema/engine/unevaluatedProperties.d.mts +0 -6
  247. package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +0 -47
  248. package/node_modules/typebox/build/schema/engine/uniqueItems.d.mts +0 -6
  249. package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +0 -47
  250. package/node_modules/typebox/build/schema/errors.d.mts +0 -6
  251. package/node_modules/typebox/build/schema/errors.mjs +0 -18
  252. package/node_modules/typebox/build/schema/index.d.mts +0 -3
  253. package/node_modules/typebox/build/schema/index.mjs +0 -9
  254. package/node_modules/typebox/build/schema/intern/index.d.mts +0 -1
  255. package/node_modules/typebox/build/schema/intern/index.mjs +0 -1
  256. package/node_modules/typebox/build/schema/intern/intern.d.mts +0 -11
  257. package/node_modules/typebox/build/schema/intern/intern.mjs +0 -293
  258. package/node_modules/typebox/build/schema/meta/draft_2019_09.d.mts +0 -2
  259. package/node_modules/typebox/build/schema/meta/draft_2019_09.mjs +0 -288
  260. package/node_modules/typebox/build/schema/meta/draft_2020_12.d.mts +0 -2
  261. package/node_modules/typebox/build/schema/meta/draft_2020_12.mjs +0 -300
  262. package/node_modules/typebox/build/schema/meta/draft_3.d.mts +0 -2
  263. package/node_modules/typebox/build/schema/meta/draft_3.mjs +0 -143
  264. package/node_modules/typebox/build/schema/meta/draft_4.d.mts +0 -2
  265. package/node_modules/typebox/build/schema/meta/draft_4.mjs +0 -149
  266. package/node_modules/typebox/build/schema/meta/draft_6.d.mts +0 -2
  267. package/node_modules/typebox/build/schema/meta/draft_6.mjs +0 -155
  268. package/node_modules/typebox/build/schema/meta/draft_7.d.mts +0 -2
  269. package/node_modules/typebox/build/schema/meta/draft_7.mjs +0 -172
  270. package/node_modules/typebox/build/schema/meta/index.d.mts +0 -2
  271. package/node_modules/typebox/build/schema/meta/index.mjs +0 -2
  272. package/node_modules/typebox/build/schema/meta/meta.d.mts +0 -9
  273. package/node_modules/typebox/build/schema/meta/meta.mjs +0 -15
  274. package/node_modules/typebox/build/schema/meta/schema.d.mts +0 -6
  275. package/node_modules/typebox/build/schema/meta/schema.mjs +0 -1
  276. package/node_modules/typebox/build/schema/parse.d.mts +0 -14
  277. package/node_modules/typebox/build/schema/parse.mjs +0 -35
  278. package/node_modules/typebox/build/schema/pointer/index.d.mts +0 -2
  279. package/node_modules/typebox/build/schema/pointer/index.mjs +0 -2
  280. package/node_modules/typebox/build/schema/pointer/pointer.d.mts +0 -5
  281. package/node_modules/typebox/build/schema/pointer/pointer.mjs +0 -89
  282. package/node_modules/typebox/build/schema/pointer/pointer_get.d.mts +0 -9
  283. package/node_modules/typebox/build/schema/pointer/pointer_get.mjs +0 -2
  284. package/node_modules/typebox/build/schema/resolve/index.d.mts +0 -1
  285. package/node_modules/typebox/build/schema/resolve/index.mjs +0 -1
  286. package/node_modules/typebox/build/schema/resolve/resolve.d.mts +0 -9
  287. package/node_modules/typebox/build/schema/resolve/resolve.mjs +0 -331
  288. package/node_modules/typebox/build/schema/schema.d.mts +0 -12
  289. package/node_modules/typebox/build/schema/schema.mjs +0 -12
  290. package/node_modules/typebox/build/schema/static/_canonical.d.mts +0 -7
  291. package/node_modules/typebox/build/schema/static/_canonical.mjs +0 -2
  292. package/node_modules/typebox/build/schema/static/_comparer.d.mts +0 -6
  293. package/node_modules/typebox/build/schema/static/_comparer.mjs +0 -2
  294. package/node_modules/typebox/build/schema/static/_elements.d.mts +0 -18
  295. package/node_modules/typebox/build/schema/static/_elements.mjs +0 -2
  296. package/node_modules/typebox/build/schema/static/additionalProperties.d.mts +0 -7
  297. package/node_modules/typebox/build/schema/static/additionalProperties.mjs +0 -3
  298. package/node_modules/typebox/build/schema/static/allOf.d.mts +0 -3
  299. package/node_modules/typebox/build/schema/static/allOf.mjs +0 -2
  300. package/node_modules/typebox/build/schema/static/anyOf.d.mts +0 -3
  301. package/node_modules/typebox/build/schema/static/anyOf.mjs +0 -2
  302. package/node_modules/typebox/build/schema/static/const.d.mts +0 -1
  303. package/node_modules/typebox/build/schema/static/const.mjs +0 -2
  304. package/node_modules/typebox/build/schema/static/enum.d.mts +0 -1
  305. package/node_modules/typebox/build/schema/static/enum.mjs +0 -2
  306. package/node_modules/typebox/build/schema/static/if.d.mts +0 -15
  307. package/node_modules/typebox/build/schema/static/if.mjs +0 -2
  308. package/node_modules/typebox/build/schema/static/index.d.mts +0 -1
  309. package/node_modules/typebox/build/schema/static/index.mjs +0 -1
  310. package/node_modules/typebox/build/schema/static/items.d.mts +0 -7
  311. package/node_modules/typebox/build/schema/static/items.mjs +0 -2
  312. package/node_modules/typebox/build/schema/static/oneOf.d.mts +0 -3
  313. package/node_modules/typebox/build/schema/static/oneOf.mjs +0 -2
  314. package/node_modules/typebox/build/schema/static/patternProperties.d.mts +0 -7
  315. package/node_modules/typebox/build/schema/static/patternProperties.mjs +0 -2
  316. package/node_modules/typebox/build/schema/static/prefixItems.d.mts +0 -3
  317. package/node_modules/typebox/build/schema/static/prefixItems.mjs +0 -2
  318. package/node_modules/typebox/build/schema/static/properties.d.mts +0 -32
  319. package/node_modules/typebox/build/schema/static/properties.mjs +0 -2
  320. package/node_modules/typebox/build/schema/static/propertyNames.d.mts +0 -5
  321. package/node_modules/typebox/build/schema/static/propertyNames.mjs +0 -3
  322. package/node_modules/typebox/build/schema/static/ref.d.mts +0 -8
  323. package/node_modules/typebox/build/schema/static/ref.mjs +0 -3
  324. package/node_modules/typebox/build/schema/static/required.d.mts +0 -3
  325. package/node_modules/typebox/build/schema/static/required.mjs +0 -3
  326. package/node_modules/typebox/build/schema/static/schema.d.mts +0 -59
  327. package/node_modules/typebox/build/schema/static/schema.mjs +0 -2
  328. package/node_modules/typebox/build/schema/static/static.d.mts +0 -4
  329. package/node_modules/typebox/build/schema/static/static.mjs +0 -3
  330. package/node_modules/typebox/build/schema/static/type.d.mts +0 -4
  331. package/node_modules/typebox/build/schema/static/type.mjs +0 -3
  332. package/node_modules/typebox/build/schema/static/unevaluatedProperties.d.mts +0 -7
  333. package/node_modules/typebox/build/schema/static/unevaluatedProperties.mjs +0 -3
  334. package/node_modules/typebox/build/schema/types/_refine.d.mts +0 -13
  335. package/node_modules/typebox/build/schema/types/_refine.mjs +0 -18
  336. package/node_modules/typebox/build/schema/types/additionalItems.d.mts +0 -9
  337. package/node_modules/typebox/build/schema/types/additionalItems.mjs +0 -14
  338. package/node_modules/typebox/build/schema/types/additionalProperties.d.mts +0 -9
  339. package/node_modules/typebox/build/schema/types/additionalProperties.mjs +0 -14
  340. package/node_modules/typebox/build/schema/types/allOf.d.mts +0 -9
  341. package/node_modules/typebox/build/schema/types/allOf.mjs +0 -15
  342. package/node_modules/typebox/build/schema/types/anchor.d.mts +0 -8
  343. package/node_modules/typebox/build/schema/types/anchor.mjs +0 -12
  344. package/node_modules/typebox/build/schema/types/anyOf.d.mts +0 -9
  345. package/node_modules/typebox/build/schema/types/anyOf.mjs +0 -15
  346. package/node_modules/typebox/build/schema/types/const.d.mts +0 -9
  347. package/node_modules/typebox/build/schema/types/const.mjs +0 -12
  348. package/node_modules/typebox/build/schema/types/contains.d.mts +0 -9
  349. package/node_modules/typebox/build/schema/types/contains.mjs +0 -14
  350. package/node_modules/typebox/build/schema/types/default.d.mts +0 -9
  351. package/node_modules/typebox/build/schema/types/default.mjs +0 -12
  352. package/node_modules/typebox/build/schema/types/defs.d.mts +0 -6
  353. package/node_modules/typebox/build/schema/types/defs.mjs +0 -12
  354. package/node_modules/typebox/build/schema/types/dependencies.d.mts +0 -11
  355. package/node_modules/typebox/build/schema/types/dependencies.mjs +0 -16
  356. package/node_modules/typebox/build/schema/types/dependentRequired.d.mts +0 -9
  357. package/node_modules/typebox/build/schema/types/dependentRequired.mjs +0 -15
  358. package/node_modules/typebox/build/schema/types/dependentSchemas.d.mts +0 -9
  359. package/node_modules/typebox/build/schema/types/dependentSchemas.mjs +0 -15
  360. package/node_modules/typebox/build/schema/types/dynamicAnchor.d.mts +0 -8
  361. package/node_modules/typebox/build/schema/types/dynamicAnchor.mjs +0 -12
  362. package/node_modules/typebox/build/schema/types/dynamicRef.d.mts +0 -8
  363. package/node_modules/typebox/build/schema/types/dynamicRef.mjs +0 -12
  364. package/node_modules/typebox/build/schema/types/else.d.mts +0 -9
  365. package/node_modules/typebox/build/schema/types/else.mjs +0 -14
  366. package/node_modules/typebox/build/schema/types/enum.d.mts +0 -9
  367. package/node_modules/typebox/build/schema/types/enum.mjs +0 -13
  368. package/node_modules/typebox/build/schema/types/exclusiveMaximum.d.mts +0 -9
  369. package/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs +0 -13
  370. package/node_modules/typebox/build/schema/types/exclusiveMinimum.d.mts +0 -9
  371. package/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs +0 -13
  372. package/node_modules/typebox/build/schema/types/format.d.mts +0 -9
  373. package/node_modules/typebox/build/schema/types/format.mjs +0 -13
  374. package/node_modules/typebox/build/schema/types/id.d.mts +0 -9
  375. package/node_modules/typebox/build/schema/types/id.mjs +0 -13
  376. package/node_modules/typebox/build/schema/types/if.d.mts +0 -9
  377. package/node_modules/typebox/build/schema/types/if.mjs +0 -14
  378. package/node_modules/typebox/build/schema/types/index.d.mts +0 -51
  379. package/node_modules/typebox/build/schema/types/index.mjs +0 -57
  380. package/node_modules/typebox/build/schema/types/items.d.mts +0 -19
  381. package/node_modules/typebox/build/schema/types/items.mjs +0 -26
  382. package/node_modules/typebox/build/schema/types/maxContains.d.mts +0 -9
  383. package/node_modules/typebox/build/schema/types/maxContains.mjs +0 -13
  384. package/node_modules/typebox/build/schema/types/maxItems.d.mts +0 -9
  385. package/node_modules/typebox/build/schema/types/maxItems.mjs +0 -13
  386. package/node_modules/typebox/build/schema/types/maxLength.d.mts +0 -9
  387. package/node_modules/typebox/build/schema/types/maxLength.mjs +0 -13
  388. package/node_modules/typebox/build/schema/types/maxProperties.d.mts +0 -9
  389. package/node_modules/typebox/build/schema/types/maxProperties.mjs +0 -13
  390. package/node_modules/typebox/build/schema/types/maximum.d.mts +0 -9
  391. package/node_modules/typebox/build/schema/types/maximum.mjs +0 -13
  392. package/node_modules/typebox/build/schema/types/minContains.d.mts +0 -9
  393. package/node_modules/typebox/build/schema/types/minContains.mjs +0 -13
  394. package/node_modules/typebox/build/schema/types/minItems.d.mts +0 -9
  395. package/node_modules/typebox/build/schema/types/minItems.mjs +0 -13
  396. package/node_modules/typebox/build/schema/types/minLength.d.mts +0 -9
  397. package/node_modules/typebox/build/schema/types/minLength.mjs +0 -13
  398. package/node_modules/typebox/build/schema/types/minProperties.d.mts +0 -9
  399. package/node_modules/typebox/build/schema/types/minProperties.mjs +0 -13
  400. package/node_modules/typebox/build/schema/types/minimum.d.mts +0 -9
  401. package/node_modules/typebox/build/schema/types/minimum.mjs +0 -13
  402. package/node_modules/typebox/build/schema/types/multipleOf.d.mts +0 -9
  403. package/node_modules/typebox/build/schema/types/multipleOf.mjs +0 -13
  404. package/node_modules/typebox/build/schema/types/not.d.mts +0 -9
  405. package/node_modules/typebox/build/schema/types/not.mjs +0 -14
  406. package/node_modules/typebox/build/schema/types/oneOf.d.mts +0 -9
  407. package/node_modules/typebox/build/schema/types/oneOf.mjs +0 -15
  408. package/node_modules/typebox/build/schema/types/pattern.d.mts +0 -9
  409. package/node_modules/typebox/build/schema/types/pattern.mjs +0 -14
  410. package/node_modules/typebox/build/schema/types/patternProperties.d.mts +0 -9
  411. package/node_modules/typebox/build/schema/types/patternProperties.mjs +0 -15
  412. package/node_modules/typebox/build/schema/types/prefixItems.d.mts +0 -8
  413. package/node_modules/typebox/build/schema/types/prefixItems.mjs +0 -14
  414. package/node_modules/typebox/build/schema/types/properties.d.mts +0 -9
  415. package/node_modules/typebox/build/schema/types/properties.mjs +0 -15
  416. package/node_modules/typebox/build/schema/types/propertyNames.d.mts +0 -9
  417. package/node_modules/typebox/build/schema/types/propertyNames.mjs +0 -15
  418. package/node_modules/typebox/build/schema/types/recursiveAnchor.d.mts +0 -12
  419. package/node_modules/typebox/build/schema/types/recursiveAnchor.mjs +0 -19
  420. package/node_modules/typebox/build/schema/types/recursiveRef.d.mts +0 -8
  421. package/node_modules/typebox/build/schema/types/recursiveRef.mjs +0 -12
  422. package/node_modules/typebox/build/schema/types/ref.d.mts +0 -9
  423. package/node_modules/typebox/build/schema/types/ref.mjs +0 -13
  424. package/node_modules/typebox/build/schema/types/required.d.mts +0 -9
  425. package/node_modules/typebox/build/schema/types/required.mjs +0 -14
  426. package/node_modules/typebox/build/schema/types/schema.d.mts +0 -9
  427. package/node_modules/typebox/build/schema/types/schema.mjs +0 -14
  428. package/node_modules/typebox/build/schema/types/then.d.mts +0 -9
  429. package/node_modules/typebox/build/schema/types/then.mjs +0 -14
  430. package/node_modules/typebox/build/schema/types/type.d.mts +0 -9
  431. package/node_modules/typebox/build/schema/types/type.mjs +0 -15
  432. package/node_modules/typebox/build/schema/types/unevaluatedItems.d.mts +0 -9
  433. package/node_modules/typebox/build/schema/types/unevaluatedItems.mjs +0 -14
  434. package/node_modules/typebox/build/schema/types/unevaluatedProperties.d.mts +0 -9
  435. package/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs +0 -14
  436. package/node_modules/typebox/build/schema/types/uniqueItems.d.mts +0 -9
  437. package/node_modules/typebox/build/schema/types/uniqueItems.mjs +0 -13
  438. package/node_modules/typebox/build/system/arguments/arguments.d.mts +0 -5
  439. package/node_modules/typebox/build/system/arguments/arguments.mjs +0 -9
  440. package/node_modules/typebox/build/system/arguments/index.d.mts +0 -1
  441. package/node_modules/typebox/build/system/arguments/index.mjs +0 -1
  442. package/node_modules/typebox/build/system/environment/environment.d.mts +0 -1
  443. package/node_modules/typebox/build/system/environment/environment.mjs +0 -1
  444. package/node_modules/typebox/build/system/environment/evaluate.d.mts +0 -9
  445. package/node_modules/typebox/build/system/environment/evaluate.mjs +0 -37
  446. package/node_modules/typebox/build/system/environment/index.d.mts +0 -1
  447. package/node_modules/typebox/build/system/environment/index.mjs +0 -1
  448. package/node_modules/typebox/build/system/hashing/hash.d.mts +0 -4
  449. package/node_modules/typebox/build/system/hashing/hash.mjs +0 -261
  450. package/node_modules/typebox/build/system/hashing/index.d.mts +0 -1
  451. package/node_modules/typebox/build/system/hashing/index.mjs +0 -1
  452. package/node_modules/typebox/build/system/index.d.mts +0 -4
  453. package/node_modules/typebox/build/system/index.mjs +0 -4
  454. package/node_modules/typebox/build/system/locale/_config.d.mts +0 -7
  455. package/node_modules/typebox/build/system/locale/_config.mjs +0 -15
  456. package/node_modules/typebox/build/system/locale/_locale.d.mts +0 -40
  457. package/node_modules/typebox/build/system/locale/_locale.mjs +0 -40
  458. package/node_modules/typebox/build/system/locale/ar_001.d.mts +0 -3
  459. package/node_modules/typebox/build/system/locale/ar_001.mjs +0 -40
  460. package/node_modules/typebox/build/system/locale/bn_BD.d.mts +0 -3
  461. package/node_modules/typebox/build/system/locale/bn_BD.mjs +0 -40
  462. package/node_modules/typebox/build/system/locale/cs_CZ.d.mts +0 -3
  463. package/node_modules/typebox/build/system/locale/cs_CZ.mjs +0 -40
  464. package/node_modules/typebox/build/system/locale/de_DE.d.mts +0 -3
  465. package/node_modules/typebox/build/system/locale/de_DE.mjs +0 -40
  466. package/node_modules/typebox/build/system/locale/el_GR.d.mts +0 -3
  467. package/node_modules/typebox/build/system/locale/el_GR.mjs +0 -40
  468. package/node_modules/typebox/build/system/locale/en_US.d.mts +0 -3
  469. package/node_modules/typebox/build/system/locale/en_US.mjs +0 -40
  470. package/node_modules/typebox/build/system/locale/es_419.d.mts +0 -3
  471. package/node_modules/typebox/build/system/locale/es_419.mjs +0 -40
  472. package/node_modules/typebox/build/system/locale/es_AR.d.mts +0 -3
  473. package/node_modules/typebox/build/system/locale/es_AR.mjs +0 -40
  474. package/node_modules/typebox/build/system/locale/es_ES.d.mts +0 -3
  475. package/node_modules/typebox/build/system/locale/es_ES.mjs +0 -40
  476. package/node_modules/typebox/build/system/locale/es_MX.d.mts +0 -3
  477. package/node_modules/typebox/build/system/locale/es_MX.mjs +0 -40
  478. package/node_modules/typebox/build/system/locale/fa_IR.d.mts +0 -3
  479. package/node_modules/typebox/build/system/locale/fa_IR.mjs +0 -40
  480. package/node_modules/typebox/build/system/locale/fil_PH.d.mts +0 -3
  481. package/node_modules/typebox/build/system/locale/fil_PH.mjs +0 -40
  482. package/node_modules/typebox/build/system/locale/fr_CA.d.mts +0 -3
  483. package/node_modules/typebox/build/system/locale/fr_CA.mjs +0 -40
  484. package/node_modules/typebox/build/system/locale/fr_FR.d.mts +0 -3
  485. package/node_modules/typebox/build/system/locale/fr_FR.mjs +0 -40
  486. package/node_modules/typebox/build/system/locale/ha_NG.d.mts +0 -3
  487. package/node_modules/typebox/build/system/locale/ha_NG.mjs +0 -40
  488. package/node_modules/typebox/build/system/locale/hi_IN.d.mts +0 -3
  489. package/node_modules/typebox/build/system/locale/hi_IN.mjs +0 -40
  490. package/node_modules/typebox/build/system/locale/hu_HU.d.mts +0 -3
  491. package/node_modules/typebox/build/system/locale/hu_HU.mjs +0 -40
  492. package/node_modules/typebox/build/system/locale/id_ID.d.mts +0 -3
  493. package/node_modules/typebox/build/system/locale/id_ID.mjs +0 -40
  494. package/node_modules/typebox/build/system/locale/index.d.mts +0 -1
  495. package/node_modules/typebox/build/system/locale/index.mjs +0 -1
  496. package/node_modules/typebox/build/system/locale/it_IT.d.mts +0 -3
  497. package/node_modules/typebox/build/system/locale/it_IT.mjs +0 -40
  498. package/node_modules/typebox/build/system/locale/ja_JP.d.mts +0 -3
  499. package/node_modules/typebox/build/system/locale/ja_JP.mjs +0 -40
  500. package/node_modules/typebox/build/system/locale/ko_KR.d.mts +0 -3
  501. package/node_modules/typebox/build/system/locale/ko_KR.mjs +0 -40
  502. package/node_modules/typebox/build/system/locale/ms_MY.d.mts +0 -3
  503. package/node_modules/typebox/build/system/locale/ms_MY.mjs +0 -40
  504. package/node_modules/typebox/build/system/locale/nl_NL.d.mts +0 -3
  505. package/node_modules/typebox/build/system/locale/nl_NL.mjs +0 -40
  506. package/node_modules/typebox/build/system/locale/pl_PL.d.mts +0 -3
  507. package/node_modules/typebox/build/system/locale/pl_PL.mjs +0 -40
  508. package/node_modules/typebox/build/system/locale/pt_BR.d.mts +0 -3
  509. package/node_modules/typebox/build/system/locale/pt_BR.mjs +0 -40
  510. package/node_modules/typebox/build/system/locale/pt_PT.d.mts +0 -3
  511. package/node_modules/typebox/build/system/locale/pt_PT.mjs +0 -40
  512. package/node_modules/typebox/build/system/locale/ro_RO.d.mts +0 -3
  513. package/node_modules/typebox/build/system/locale/ro_RO.mjs +0 -40
  514. package/node_modules/typebox/build/system/locale/ru_RU.d.mts +0 -3
  515. package/node_modules/typebox/build/system/locale/ru_RU.mjs +0 -40
  516. package/node_modules/typebox/build/system/locale/sv_SE.d.mts +0 -3
  517. package/node_modules/typebox/build/system/locale/sv_SE.mjs +0 -40
  518. package/node_modules/typebox/build/system/locale/sw_TZ.d.mts +0 -3
  519. package/node_modules/typebox/build/system/locale/sw_TZ.mjs +0 -40
  520. package/node_modules/typebox/build/system/locale/th_TH.d.mts +0 -3
  521. package/node_modules/typebox/build/system/locale/th_TH.mjs +0 -40
  522. package/node_modules/typebox/build/system/locale/tr_TR.d.mts +0 -3
  523. package/node_modules/typebox/build/system/locale/tr_TR.mjs +0 -40
  524. package/node_modules/typebox/build/system/locale/uk_UA.d.mts +0 -3
  525. package/node_modules/typebox/build/system/locale/uk_UA.mjs +0 -40
  526. package/node_modules/typebox/build/system/locale/ur_PK.d.mts +0 -3
  527. package/node_modules/typebox/build/system/locale/ur_PK.mjs +0 -40
  528. package/node_modules/typebox/build/system/locale/vi_VN.d.mts +0 -3
  529. package/node_modules/typebox/build/system/locale/vi_VN.mjs +0 -40
  530. package/node_modules/typebox/build/system/locale/yo_NG.d.mts +0 -3
  531. package/node_modules/typebox/build/system/locale/yo_NG.mjs +0 -40
  532. package/node_modules/typebox/build/system/locale/zh_Hans.d.mts +0 -3
  533. package/node_modules/typebox/build/system/locale/zh_Hans.mjs +0 -40
  534. package/node_modules/typebox/build/system/locale/zh_Hant.d.mts +0 -3
  535. package/node_modules/typebox/build/system/locale/zh_Hant.mjs +0 -40
  536. package/node_modules/typebox/build/system/memory/assign.d.mts +0 -8
  537. package/node_modules/typebox/build/system/memory/assign.mjs +0 -19
  538. package/node_modules/typebox/build/system/memory/clone.d.mts +0 -4
  539. package/node_modules/typebox/build/system/memory/clone.mjs +0 -25
  540. package/node_modules/typebox/build/system/memory/create.d.mts +0 -4
  541. package/node_modules/typebox/build/system/memory/create.mjs +0 -34
  542. package/node_modules/typebox/build/system/memory/deep.d.mts +0 -2
  543. package/node_modules/typebox/build/system/memory/deep.mjs +0 -108
  544. package/node_modules/typebox/build/system/memory/discard.d.mts +0 -4
  545. package/node_modules/typebox/build/system/memory/discard.mjs +0 -19
  546. package/node_modules/typebox/build/system/memory/finalize.d.mts +0 -4
  547. package/node_modules/typebox/build/system/memory/finalize.mjs +0 -30
  548. package/node_modules/typebox/build/system/memory/index.d.mts +0 -1
  549. package/node_modules/typebox/build/system/memory/index.mjs +0 -1
  550. package/node_modules/typebox/build/system/memory/keys.d.mts +0 -2
  551. package/node_modules/typebox/build/system/memory/keys.mjs +0 -8
  552. package/node_modules/typebox/build/system/memory/memory.d.mts +0 -6
  553. package/node_modules/typebox/build/system/memory/memory.mjs +0 -7
  554. package/node_modules/typebox/build/system/memory/metrics.d.mts +0 -14
  555. package/node_modules/typebox/build/system/memory/metrics.mjs +0 -8
  556. package/node_modules/typebox/build/system/memory/update.d.mts +0 -4
  557. package/node_modules/typebox/build/system/memory/update.mjs +0 -60
  558. package/node_modules/typebox/build/system/settings/index.d.mts +0 -1
  559. package/node_modules/typebox/build/system/settings/index.mjs +0 -1
  560. package/node_modules/typebox/build/system/settings/internal.d.mts +0 -2
  561. package/node_modules/typebox/build/system/settings/internal.mjs +0 -20
  562. package/node_modules/typebox/build/system/settings/settings.d.mts +0 -91
  563. package/node_modules/typebox/build/system/settings/settings.mjs +0 -50
  564. package/node_modules/typebox/build/system/system.d.mts +0 -6
  565. package/node_modules/typebox/build/system/system.mjs +0 -6
  566. package/node_modules/typebox/build/system/unreachable/index.d.mts +0 -1
  567. package/node_modules/typebox/build/system/unreachable/index.mjs +0 -1
  568. package/node_modules/typebox/build/system/unreachable/unreachable.d.mts +0 -3
  569. package/node_modules/typebox/build/system/unreachable/unreachable.mjs +0 -6
  570. package/node_modules/typebox/build/type/action/_add_immutable.d.mts +0 -11
  571. package/node_modules/typebox/build/type/action/_add_immutable.mjs +0 -11
  572. package/node_modules/typebox/build/type/action/_add_optional.d.mts +0 -11
  573. package/node_modules/typebox/build/type/action/_add_optional.mjs +0 -11
  574. package/node_modules/typebox/build/type/action/_add_readonly.d.mts +0 -11
  575. package/node_modules/typebox/build/type/action/_add_readonly.mjs +0 -11
  576. package/node_modules/typebox/build/type/action/_remove_immutable.d.mts +0 -11
  577. package/node_modules/typebox/build/type/action/_remove_immutable.mjs +0 -11
  578. package/node_modules/typebox/build/type/action/_remove_optional.d.mts +0 -11
  579. package/node_modules/typebox/build/type/action/_remove_optional.mjs +0 -11
  580. package/node_modules/typebox/build/type/action/_remove_readonly.d.mts +0 -11
  581. package/node_modules/typebox/build/type/action/_remove_readonly.mjs +0 -11
  582. package/node_modules/typebox/build/type/action/capitalize.d.mts +0 -11
  583. package/node_modules/typebox/build/type/action/capitalize.mjs +0 -11
  584. package/node_modules/typebox/build/type/action/conditional.d.mts +0 -12
  585. package/node_modules/typebox/build/type/action/conditional.mjs +0 -13
  586. package/node_modules/typebox/build/type/action/constructor_parameters.d.mts +0 -11
  587. package/node_modules/typebox/build/type/action/constructor_parameters.mjs +0 -11
  588. package/node_modules/typebox/build/type/action/evaluate.d.mts +0 -11
  589. package/node_modules/typebox/build/type/action/evaluate.mjs +0 -11
  590. package/node_modules/typebox/build/type/action/exclude.d.mts +0 -11
  591. package/node_modules/typebox/build/type/action/exclude.mjs +0 -11
  592. package/node_modules/typebox/build/type/action/extract.d.mts +0 -11
  593. package/node_modules/typebox/build/type/action/extract.mjs +0 -11
  594. package/node_modules/typebox/build/type/action/index.d.mts +0 -30
  595. package/node_modules/typebox/build/type/action/index.mjs +0 -30
  596. package/node_modules/typebox/build/type/action/indexed.d.mts +0 -14
  597. package/node_modules/typebox/build/type/action/indexed.mjs +0 -14
  598. package/node_modules/typebox/build/type/action/instance_type.d.mts +0 -11
  599. package/node_modules/typebox/build/type/action/instance_type.mjs +0 -11
  600. package/node_modules/typebox/build/type/action/interface.d.mts +0 -14
  601. package/node_modules/typebox/build/type/action/interface.mjs +0 -22
  602. package/node_modules/typebox/build/type/action/keyof.d.mts +0 -11
  603. package/node_modules/typebox/build/type/action/keyof.mjs +0 -11
  604. package/node_modules/typebox/build/type/action/lowercase.d.mts +0 -11
  605. package/node_modules/typebox/build/type/action/lowercase.mjs +0 -11
  606. package/node_modules/typebox/build/type/action/mapped.d.mts +0 -13
  607. package/node_modules/typebox/build/type/action/mapped.mjs +0 -13
  608. package/node_modules/typebox/build/type/action/module.d.mts +0 -13
  609. package/node_modules/typebox/build/type/action/module.mjs +0 -13
  610. package/node_modules/typebox/build/type/action/non_nullable.d.mts +0 -11
  611. package/node_modules/typebox/build/type/action/non_nullable.mjs +0 -11
  612. package/node_modules/typebox/build/type/action/omit.d.mts +0 -14
  613. package/node_modules/typebox/build/type/action/omit.mjs +0 -14
  614. package/node_modules/typebox/build/type/action/parameters.d.mts +0 -11
  615. package/node_modules/typebox/build/type/action/parameters.mjs +0 -11
  616. package/node_modules/typebox/build/type/action/partial.d.mts +0 -11
  617. package/node_modules/typebox/build/type/action/partial.mjs +0 -11
  618. package/node_modules/typebox/build/type/action/pick.d.mts +0 -14
  619. package/node_modules/typebox/build/type/action/pick.mjs +0 -14
  620. package/node_modules/typebox/build/type/action/readonly_object.d.mts +0 -16
  621. package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -19
  622. package/node_modules/typebox/build/type/action/required.d.mts +0 -11
  623. package/node_modules/typebox/build/type/action/required.mjs +0 -11
  624. package/node_modules/typebox/build/type/action/return_type.d.mts +0 -11
  625. package/node_modules/typebox/build/type/action/return_type.mjs +0 -11
  626. package/node_modules/typebox/build/type/action/uncapitalize.d.mts +0 -11
  627. package/node_modules/typebox/build/type/action/uncapitalize.mjs +0 -11
  628. package/node_modules/typebox/build/type/action/uppercase.d.mts +0 -11
  629. package/node_modules/typebox/build/type/action/uppercase.mjs +0 -11
  630. package/node_modules/typebox/build/type/action/with.d.mts +0 -11
  631. package/node_modules/typebox/build/type/action/with.mjs +0 -11
  632. package/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +0 -20
  633. package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +0 -66
  634. package/node_modules/typebox/build/type/engine/call/index.d.mts +0 -1
  635. package/node_modules/typebox/build/type/engine/call/index.mjs +0 -1
  636. package/node_modules/typebox/build/type/engine/call/instantiate.d.mts +0 -21
  637. package/node_modules/typebox/build/type/engine/call/instantiate.mjs +0 -79
  638. package/node_modules/typebox/build/type/engine/call/resolve_arguments.d.mts +0 -13
  639. package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +0 -33
  640. package/node_modules/typebox/build/type/engine/call/resolve_target.d.mts +0 -25
  641. package/node_modules/typebox/build/type/engine/call/resolve_target.mjs +0 -27
  642. package/node_modules/typebox/build/type/engine/conditional/index.d.mts +0 -1
  643. package/node_modules/typebox/build/type/engine/conditional/index.mjs +0 -1
  644. package/node_modules/typebox/build/type/engine/conditional/instantiate.d.mts +0 -12
  645. package/node_modules/typebox/build/type/engine/conditional/instantiate.mjs +0 -23
  646. package/node_modules/typebox/build/type/engine/constructor_parameters/index.d.mts +0 -1
  647. package/node_modules/typebox/build/type/engine/constructor_parameters/index.mjs +0 -1
  648. package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +0 -14
  649. package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +0 -25
  650. package/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +0 -8
  651. package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +0 -16
  652. package/node_modules/typebox/build/type/engine/cyclic/check.d.mts +0 -21
  653. package/node_modules/typebox/build/type/engine/cyclic/check.mjs +0 -45
  654. package/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +0 -22
  655. package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +0 -47
  656. package/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +0 -28
  657. package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +0 -47
  658. package/node_modules/typebox/build/type/engine/cyclic/index.d.mts +0 -6
  659. package/node_modules/typebox/build/type/engine/cyclic/index.mjs +0 -6
  660. package/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +0 -17
  661. package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +0 -31
  662. package/node_modules/typebox/build/type/engine/cyclic/target.d.mts +0 -10
  663. package/node_modules/typebox/build/type/engine/cyclic/target.mjs +0 -16
  664. package/node_modules/typebox/build/type/engine/enum/index.d.mts +0 -1
  665. package/node_modules/typebox/build/type/engine/enum/index.mjs +0 -1
  666. package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.d.mts +0 -8
  667. package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs +0 -9
  668. package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +0 -15
  669. package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +0 -37
  670. package/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +0 -11
  671. package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +0 -18
  672. package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +0 -15
  673. package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +0 -33
  674. package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +0 -12
  675. package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +0 -33
  676. package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +0 -26
  677. package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +0 -56
  678. package/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +0 -6
  679. package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +0 -10
  680. package/node_modules/typebox/build/type/engine/evaluate/index.d.mts +0 -9
  681. package/node_modules/typebox/build/type/engine/evaluate/index.mjs +0 -9
  682. package/node_modules/typebox/build/type/engine/evaluate/instantiate.d.mts +0 -8
  683. package/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs +0 -12
  684. package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +0 -24
  685. package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +0 -36
  686. package/node_modules/typebox/build/type/engine/evaluate/property.d.mts +0 -30
  687. package/node_modules/typebox/build/type/engine/evaluate/property.mjs +0 -29
  688. package/node_modules/typebox/build/type/engine/exclude/index.d.mts +0 -1
  689. package/node_modules/typebox/build/type/engine/exclude/index.mjs +0 -1
  690. package/node_modules/typebox/build/type/engine/exclude/instantiate.d.mts +0 -9
  691. package/node_modules/typebox/build/type/engine/exclude/instantiate.mjs +0 -16
  692. package/node_modules/typebox/build/type/engine/exclude/operation.d.mts +0 -10
  693. package/node_modules/typebox/build/type/engine/exclude/operation.mjs +0 -22
  694. package/node_modules/typebox/build/type/engine/extract/index.d.mts +0 -1
  695. package/node_modules/typebox/build/type/engine/extract/index.mjs +0 -1
  696. package/node_modules/typebox/build/type/engine/extract/instantiate.d.mts +0 -9
  697. package/node_modules/typebox/build/type/engine/extract/instantiate.mjs +0 -16
  698. package/node_modules/typebox/build/type/engine/extract/operation.d.mts +0 -10
  699. package/node_modules/typebox/build/type/engine/extract/operation.mjs +0 -22
  700. package/node_modules/typebox/build/type/engine/helpers/index.d.mts +0 -3
  701. package/node_modules/typebox/build/type/engine/helpers/index.mjs +0 -3
  702. package/node_modules/typebox/build/type/engine/helpers/keys.d.mts +0 -3
  703. package/node_modules/typebox/build/type/engine/helpers/keys.mjs +0 -8
  704. package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.d.mts +0 -7
  705. package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs +0 -15
  706. package/node_modules/typebox/build/type/engine/helpers/union.d.mts +0 -7
  707. package/node_modules/typebox/build/type/engine/helpers/union.mjs +0 -3
  708. package/node_modules/typebox/build/type/engine/immutable/instantiate_add.d.mts +0 -8
  709. package/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs +0 -11
  710. package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.d.mts +0 -10
  711. package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.mjs +0 -14
  712. package/node_modules/typebox/build/type/engine/index.d.mts +0 -31
  713. package/node_modules/typebox/build/type/engine/index.mjs +0 -37
  714. package/node_modules/typebox/build/type/engine/indexable/from_cyclic.d.mts +0 -6
  715. package/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs +0 -8
  716. package/node_modules/typebox/build/type/engine/indexable/from_dependent.d.mts +0 -5
  717. package/node_modules/typebox/build/type/engine/indexable/from_dependent.mjs +0 -8
  718. package/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts +0 -6
  719. package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +0 -8
  720. package/node_modules/typebox/build/type/engine/indexable/from_intersect.d.mts +0 -5
  721. package/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs +0 -8
  722. package/node_modules/typebox/build/type/engine/indexable/from_literal.d.mts +0 -3
  723. package/node_modules/typebox/build/type/engine/indexable/from_literal.mjs +0 -5
  724. package/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts +0 -5
  725. package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +0 -8
  726. package/node_modules/typebox/build/type/engine/indexable/from_type.d.mts +0 -19
  727. package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +0 -25
  728. package/node_modules/typebox/build/type/engine/indexable/from_union.d.mts +0 -4
  729. package/node_modules/typebox/build/type/engine/indexable/from_union.mjs +0 -7
  730. package/node_modules/typebox/build/type/engine/indexable/to_indexable.d.mts +0 -9
  731. package/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs +0 -14
  732. package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.d.mts +0 -10
  733. package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs +0 -12
  734. package/node_modules/typebox/build/type/engine/indexed/array_indexer.d.mts +0 -12
  735. package/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs +0 -18
  736. package/node_modules/typebox/build/type/engine/indexed/from_array.d.mts +0 -15
  737. package/node_modules/typebox/build/type/engine/indexed/from_array.mjs +0 -35
  738. package/node_modules/typebox/build/type/engine/indexed/from_object.d.mts +0 -16
  739. package/node_modules/typebox/build/type/engine/indexed/from_object.mjs +0 -40
  740. package/node_modules/typebox/build/type/engine/indexed/from_tuple.d.mts +0 -13
  741. package/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs +0 -35
  742. package/node_modules/typebox/build/type/engine/indexed/from_type.d.mts +0 -11
  743. package/node_modules/typebox/build/type/engine/indexed/from_type.mjs +0 -14
  744. package/node_modules/typebox/build/type/engine/indexed/index.d.mts +0 -1
  745. package/node_modules/typebox/build/type/engine/indexed/index.mjs +0 -1
  746. package/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts +0 -16
  747. package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +0 -28
  748. package/node_modules/typebox/build/type/engine/instance_type/index.d.mts +0 -1
  749. package/node_modules/typebox/build/type/engine/instance_type/index.mjs +0 -1
  750. package/node_modules/typebox/build/type/engine/instance_type/instantiate.d.mts +0 -12
  751. package/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs +0 -21
  752. package/node_modules/typebox/build/type/engine/instantiate.d.mts +0 -178
  753. package/node_modules/typebox/build/type/engine/instantiate.mjs +0 -158
  754. package/node_modules/typebox/build/type/engine/interface/index.d.mts +0 -1
  755. package/node_modules/typebox/build/type/engine/interface/index.mjs +0 -1
  756. package/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +0 -15
  757. package/node_modules/typebox/build/type/engine/interface/instantiate.mjs +0 -23
  758. package/node_modules/typebox/build/type/engine/intrinsics/from_literal.d.mts +0 -5
  759. package/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs +0 -9
  760. package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts +0 -6
  761. package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +0 -8
  762. package/node_modules/typebox/build/type/engine/intrinsics/from_type.d.mts +0 -10
  763. package/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs +0 -13
  764. package/node_modules/typebox/build/type/engine/intrinsics/from_union.d.mts +0 -6
  765. package/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs +0 -7
  766. package/node_modules/typebox/build/type/engine/intrinsics/index.d.mts +0 -1
  767. package/node_modules/typebox/build/type/engine/intrinsics/index.mjs +0 -1
  768. package/node_modules/typebox/build/type/engine/intrinsics/instantiate.d.mts +0 -38
  769. package/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs +0 -52
  770. package/node_modules/typebox/build/type/engine/intrinsics/mapping.d.mts +0 -9
  771. package/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs +0 -4
  772. package/node_modules/typebox/build/type/engine/keyof/from_any.d.mts +0 -6
  773. package/node_modules/typebox/build/type/engine/keyof/from_any.mjs +0 -8
  774. package/node_modules/typebox/build/type/engine/keyof/from_array.d.mts +0 -4
  775. package/node_modules/typebox/build/type/engine/keyof/from_array.mjs +0 -5
  776. package/node_modules/typebox/build/type/engine/keyof/from_object.d.mts +0 -10
  777. package/node_modules/typebox/build/type/engine/keyof/from_object.mjs +0 -20
  778. package/node_modules/typebox/build/type/engine/keyof/from_record.d.mts +0 -4
  779. package/node_modules/typebox/build/type/engine/keyof/from_record.mjs +0 -5
  780. package/node_modules/typebox/build/type/engine/keyof/from_tuple.d.mts +0 -5
  781. package/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs +0 -7
  782. package/node_modules/typebox/build/type/engine/keyof/from_type.d.mts +0 -15
  783. package/node_modules/typebox/build/type/engine/keyof/from_type.mjs +0 -23
  784. package/node_modules/typebox/build/type/engine/keyof/index.d.mts +0 -1
  785. package/node_modules/typebox/build/type/engine/keyof/index.mjs +0 -1
  786. package/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts +0 -16
  787. package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +0 -29
  788. package/node_modules/typebox/build/type/engine/mapped/index.d.mts +0 -1
  789. package/node_modules/typebox/build/type/engine/mapped/index.mjs +0 -1
  790. package/node_modules/typebox/build/type/engine/mapped/instantiate.d.mts +0 -10
  791. package/node_modules/typebox/build/type/engine/mapped/instantiate.mjs +0 -15
  792. package/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts +0 -22
  793. package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +0 -42
  794. package/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts +0 -17
  795. package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +0 -39
  796. package/node_modules/typebox/build/type/engine/module/index.d.mts +0 -1
  797. package/node_modules/typebox/build/type/engine/module/index.mjs +0 -1
  798. package/node_modules/typebox/build/type/engine/module/instantiate.d.mts +0 -19
  799. package/node_modules/typebox/build/type/engine/module/instantiate.mjs +0 -36
  800. package/node_modules/typebox/build/type/engine/non_nullable/index.d.mts +0 -1
  801. package/node_modules/typebox/build/type/engine/non_nullable/index.mjs +0 -1
  802. package/node_modules/typebox/build/type/engine/non_nullable/instantiate.d.mts +0 -14
  803. package/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs +0 -22
  804. package/node_modules/typebox/build/type/engine/object/collapse.d.mts +0 -12
  805. package/node_modules/typebox/build/type/engine/object/collapse.mjs +0 -14
  806. package/node_modules/typebox/build/type/engine/object/from_cyclic.d.mts +0 -6
  807. package/node_modules/typebox/build/type/engine/object/from_cyclic.mjs +0 -8
  808. package/node_modules/typebox/build/type/engine/object/from_dependent.d.mts +0 -5
  809. package/node_modules/typebox/build/type/engine/object/from_dependent.mjs +0 -8
  810. package/node_modules/typebox/build/type/engine/object/from_intersect.d.mts +0 -17
  811. package/node_modules/typebox/build/type/engine/object/from_intersect.mjs +0 -22
  812. package/node_modules/typebox/build/type/engine/object/from_object.d.mts +0 -3
  813. package/node_modules/typebox/build/type/engine/object/from_object.mjs +0 -4
  814. package/node_modules/typebox/build/type/engine/object/from_tuple.d.mts +0 -6
  815. package/node_modules/typebox/build/type/engine/object/from_tuple.mjs +0 -9
  816. package/node_modules/typebox/build/type/engine/object/from_type.d.mts +0 -16
  817. package/node_modules/typebox/build/type/engine/object/from_type.mjs +0 -23
  818. package/node_modules/typebox/build/type/engine/object/from_union.d.mts +0 -12
  819. package/node_modules/typebox/build/type/engine/object/from_union.mjs +0 -19
  820. package/node_modules/typebox/build/type/engine/object/index.d.mts +0 -1
  821. package/node_modules/typebox/build/type/engine/object/index.mjs +0 -1
  822. package/node_modules/typebox/build/type/engine/omit/from_type.d.mts +0 -12
  823. package/node_modules/typebox/build/type/engine/omit/from_type.mjs +0 -18
  824. package/node_modules/typebox/build/type/engine/omit/index.d.mts +0 -1
  825. package/node_modules/typebox/build/type/engine/omit/index.mjs +0 -1
  826. package/node_modules/typebox/build/type/engine/omit/instantiate.d.mts +0 -9
  827. package/node_modules/typebox/build/type/engine/omit/instantiate.mjs +0 -16
  828. package/node_modules/typebox/build/type/engine/optional/instantiate_add.d.mts +0 -8
  829. package/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs +0 -11
  830. package/node_modules/typebox/build/type/engine/optional/instantiate_remove.d.mts +0 -10
  831. package/node_modules/typebox/build/type/engine/optional/instantiate_remove.mjs +0 -14
  832. package/node_modules/typebox/build/type/engine/parameters/index.d.mts +0 -1
  833. package/node_modules/typebox/build/type/engine/parameters/index.mjs +0 -1
  834. package/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +0 -14
  835. package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +0 -25
  836. package/node_modules/typebox/build/type/engine/partial/from_cyclic.d.mts +0 -10
  837. package/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs +0 -11
  838. package/node_modules/typebox/build/type/engine/partial/from_dependent.d.mts +0 -5
  839. package/node_modules/typebox/build/type/engine/partial/from_dependent.mjs +0 -8
  840. package/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts +0 -5
  841. package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +0 -8
  842. package/node_modules/typebox/build/type/engine/partial/from_object.d.mts +0 -8
  843. package/node_modules/typebox/build/type/engine/partial/from_object.mjs +0 -11
  844. package/node_modules/typebox/build/type/engine/partial/from_type.d.mts +0 -14
  845. package/node_modules/typebox/build/type/engine/partial/from_type.mjs +0 -20
  846. package/node_modules/typebox/build/type/engine/partial/from_union.d.mts +0 -5
  847. package/node_modules/typebox/build/type/engine/partial/from_union.mjs +0 -7
  848. package/node_modules/typebox/build/type/engine/partial/index.d.mts +0 -1
  849. package/node_modules/typebox/build/type/engine/partial/index.mjs +0 -1
  850. package/node_modules/typebox/build/type/engine/partial/instantiate.d.mts +0 -9
  851. package/node_modules/typebox/build/type/engine/partial/instantiate.mjs +0 -15
  852. package/node_modules/typebox/build/type/engine/patterns/index.d.mts +0 -2
  853. package/node_modules/typebox/build/type/engine/patterns/index.mjs +0 -2
  854. package/node_modules/typebox/build/type/engine/patterns/pattern.d.mts +0 -6
  855. package/node_modules/typebox/build/type/engine/patterns/pattern.mjs +0 -11
  856. package/node_modules/typebox/build/type/engine/patterns/template.d.mts +0 -7
  857. package/node_modules/typebox/build/type/engine/patterns/template.mjs +0 -20
  858. package/node_modules/typebox/build/type/engine/pick/from_type.d.mts +0 -13
  859. package/node_modules/typebox/build/type/engine/pick/from_type.mjs +0 -20
  860. package/node_modules/typebox/build/type/engine/pick/index.d.mts +0 -1
  861. package/node_modules/typebox/build/type/engine/pick/index.mjs +0 -1
  862. package/node_modules/typebox/build/type/engine/pick/instantiate.d.mts +0 -9
  863. package/node_modules/typebox/build/type/engine/pick/instantiate.mjs +0 -16
  864. package/node_modules/typebox/build/type/engine/priority/index.d.mts +0 -1
  865. package/node_modules/typebox/build/type/engine/priority/index.mjs +0 -1
  866. package/node_modules/typebox/build/type/engine/priority/priority.d.mts +0 -20
  867. package/node_modules/typebox/build/type/engine/priority/priority.mjs +0 -27
  868. package/node_modules/typebox/build/type/engine/readonly/instantiate_add.d.mts +0 -8
  869. package/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs +0 -11
  870. package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.d.mts +0 -10
  871. package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.mjs +0 -14
  872. package/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +0 -5
  873. package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +0 -7
  874. package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.d.mts +0 -10
  875. package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs +0 -11
  876. package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.d.mts +0 -5
  877. package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.mjs +0 -8
  878. package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts +0 -5
  879. package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +0 -8
  880. package/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +0 -8
  881. package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +0 -11
  882. package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +0 -5
  883. package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +0 -7
  884. package/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts +0 -18
  885. package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +0 -25
  886. package/node_modules/typebox/build/type/engine/readonly_object/from_union.d.mts +0 -5
  887. package/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs +0 -7
  888. package/node_modules/typebox/build/type/engine/readonly_object/index.d.mts +0 -1
  889. package/node_modules/typebox/build/type/engine/readonly_object/index.mjs +0 -1
  890. package/node_modules/typebox/build/type/engine/readonly_object/instantiate.d.mts +0 -9
  891. package/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs +0 -15
  892. package/node_modules/typebox/build/type/engine/record/from_key.d.mts +0 -24
  893. package/node_modules/typebox/build/type/engine/record/from_key.mjs +0 -40
  894. package/node_modules/typebox/build/type/engine/record/from_key_any.d.mts +0 -4
  895. package/node_modules/typebox/build/type/engine/record/from_key_any.mjs +0 -6
  896. package/node_modules/typebox/build/type/engine/record/from_key_boolean.d.mts +0 -7
  897. package/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs +0 -5
  898. package/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts +0 -6
  899. package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +0 -8
  900. package/node_modules/typebox/build/type/engine/record/from_key_integer.d.mts +0 -5
  901. package/node_modules/typebox/build/type/engine/record/from_key_integer.mjs +0 -7
  902. package/node_modules/typebox/build/type/engine/record/from_key_intersect.d.mts +0 -5
  903. package/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs +0 -8
  904. package/node_modules/typebox/build/type/engine/record/from_key_literal.d.mts +0 -11
  905. package/node_modules/typebox/build/type/engine/record/from_key_literal.mjs +0 -10
  906. package/node_modules/typebox/build/type/engine/record/from_key_number.d.mts +0 -5
  907. package/node_modules/typebox/build/type/engine/record/from_key_number.mjs +0 -7
  908. package/node_modules/typebox/build/type/engine/record/from_key_string.d.mts +0 -5
  909. package/node_modules/typebox/build/type/engine/record/from_key_string.mjs +0 -12
  910. package/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts +0 -8
  911. package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +0 -12
  912. package/node_modules/typebox/build/type/engine/record/from_key_union.d.mts +0 -20
  913. package/node_modules/typebox/build/type/engine/record/from_key_union.mjs +0 -39
  914. package/node_modules/typebox/build/type/engine/record/index.d.mts +0 -1
  915. package/node_modules/typebox/build/type/engine/record/index.mjs +0 -1
  916. package/node_modules/typebox/build/type/engine/record/instantiate.d.mts +0 -9
  917. package/node_modules/typebox/build/type/engine/record/instantiate.mjs +0 -17
  918. package/node_modules/typebox/build/type/engine/record/record_create.d.mts +0 -3
  919. package/node_modules/typebox/build/type/engine/record/record_create.mjs +0 -7
  920. package/node_modules/typebox/build/type/engine/ref/index.d.mts +0 -1
  921. package/node_modules/typebox/build/type/engine/ref/index.mjs +0 -1
  922. package/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +0 -6
  923. package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +0 -10
  924. package/node_modules/typebox/build/type/engine/required/from_cyclic.d.mts +0 -10
  925. package/node_modules/typebox/build/type/engine/required/from_cyclic.mjs +0 -11
  926. package/node_modules/typebox/build/type/engine/required/from_dependent.d.mts +0 -5
  927. package/node_modules/typebox/build/type/engine/required/from_dependent.mjs +0 -8
  928. package/node_modules/typebox/build/type/engine/required/from_intersect.d.mts +0 -5
  929. package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +0 -8
  930. package/node_modules/typebox/build/type/engine/required/from_object.d.mts +0 -8
  931. package/node_modules/typebox/build/type/engine/required/from_object.mjs +0 -11
  932. package/node_modules/typebox/build/type/engine/required/from_type.d.mts +0 -14
  933. package/node_modules/typebox/build/type/engine/required/from_type.mjs +0 -20
  934. package/node_modules/typebox/build/type/engine/required/from_union.d.mts +0 -5
  935. package/node_modules/typebox/build/type/engine/required/from_union.mjs +0 -7
  936. package/node_modules/typebox/build/type/engine/required/index.d.mts +0 -1
  937. package/node_modules/typebox/build/type/engine/required/index.mjs +0 -1
  938. package/node_modules/typebox/build/type/engine/required/instantiate.d.mts +0 -9
  939. package/node_modules/typebox/build/type/engine/required/instantiate.mjs +0 -15
  940. package/node_modules/typebox/build/type/engine/rest/index.d.mts +0 -1
  941. package/node_modules/typebox/build/type/engine/rest/index.mjs +0 -1
  942. package/node_modules/typebox/build/type/engine/rest/spread.d.mts +0 -12
  943. package/node_modules/typebox/build/type/engine/rest/spread.mjs +0 -19
  944. package/node_modules/typebox/build/type/engine/return_type/index.d.mts +0 -1
  945. package/node_modules/typebox/build/type/engine/return_type/index.mjs +0 -1
  946. package/node_modules/typebox/build/type/engine/return_type/instantiate.d.mts +0 -12
  947. package/node_modules/typebox/build/type/engine/return_type/instantiate.mjs +0 -21
  948. package/node_modules/typebox/build/type/engine/template_literal/create.d.mts +0 -1
  949. package/node_modules/typebox/build/type/engine/template_literal/create.mjs +0 -5
  950. package/node_modules/typebox/build/type/engine/template_literal/decode.d.mts +0 -30
  951. package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +0 -81
  952. package/node_modules/typebox/build/type/engine/template_literal/encode.d.mts +0 -33
  953. package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +0 -81
  954. package/node_modules/typebox/build/type/engine/template_literal/index.d.mts +0 -6
  955. package/node_modules/typebox/build/type/engine/template_literal/index.mjs +0 -6
  956. package/node_modules/typebox/build/type/engine/template_literal/instantiate.d.mts +0 -9
  957. package/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs +0 -15
  958. package/node_modules/typebox/build/type/engine/template_literal/is_finite.d.mts +0 -12
  959. package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +0 -26
  960. package/node_modules/typebox/build/type/engine/template_literal/is_pattern.d.mts +0 -6
  961. package/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +0 -10
  962. package/node_modules/typebox/build/type/engine/template_literal/static.d.mts +0 -18
  963. package/node_modules/typebox/build/type/engine/template_literal/static.mjs +0 -2
  964. package/node_modules/typebox/build/type/engine/this/expand_this.d.mts +0 -16
  965. package/node_modules/typebox/build/type/engine/this/expand_this.mjs +0 -26
  966. package/node_modules/typebox/build/type/engine/this/index.d.mts +0 -1
  967. package/node_modules/typebox/build/type/engine/this/index.mjs +0 -1
  968. package/node_modules/typebox/build/type/engine/tuple/to_object.d.mts +0 -12
  969. package/node_modules/typebox/build/type/engine/tuple/to_object.mjs +0 -14
  970. package/node_modules/typebox/build/type/engine/with/index.d.mts +0 -1
  971. package/node_modules/typebox/build/type/engine/with/index.mjs +0 -1
  972. package/node_modules/typebox/build/type/engine/with/instantiate.d.mts +0 -8
  973. package/node_modules/typebox/build/type/engine/with/instantiate.mjs +0 -14
  974. package/node_modules/typebox/build/type/extends/any.d.mts +0 -9
  975. package/node_modules/typebox/build/type/extends/any.mjs +0 -12
  976. package/node_modules/typebox/build/type/extends/array.d.mts +0 -20
  977. package/node_modules/typebox/build/type/extends/array.mjs +0 -21
  978. package/node_modules/typebox/build/type/extends/bigint.d.mts +0 -7
  979. package/node_modules/typebox/build/type/extends/bigint.mjs +0 -9
  980. package/node_modules/typebox/build/type/extends/boolean.d.mts +0 -7
  981. package/node_modules/typebox/build/type/extends/boolean.mjs +0 -9
  982. package/node_modules/typebox/build/type/extends/constructor.d.mts +0 -10
  983. package/node_modules/typebox/build/type/extends/constructor.mjs +0 -17
  984. package/node_modules/typebox/build/type/extends/dependent.d.mts +0 -6
  985. package/node_modules/typebox/build/type/extends/dependent.mjs +0 -6
  986. package/node_modules/typebox/build/type/extends/enum.d.mts +0 -7
  987. package/node_modules/typebox/build/type/extends/enum.mjs +0 -7
  988. package/node_modules/typebox/build/type/extends/extends.d.mts +0 -13
  989. package/node_modules/typebox/build/type/extends/extends.mjs +0 -17
  990. package/node_modules/typebox/build/type/extends/extends_left.d.mts +0 -53
  991. package/node_modules/typebox/build/type/extends/extends_left.mjs +0 -80
  992. package/node_modules/typebox/build/type/extends/extends_right.d.mts +0 -27
  993. package/node_modules/typebox/build/type/extends/extends_right.mjs +0 -49
  994. package/node_modules/typebox/build/type/extends/function.d.mts +0 -10
  995. package/node_modules/typebox/build/type/extends/function.mjs +0 -17
  996. package/node_modules/typebox/build/type/extends/index.d.mts +0 -2
  997. package/node_modules/typebox/build/type/extends/index.mjs +0 -2
  998. package/node_modules/typebox/build/type/extends/inference.d.mts +0 -34
  999. package/node_modules/typebox/build/type/extends/inference.mjs +0 -75
  1000. package/node_modules/typebox/build/type/extends/integer.d.mts +0 -8
  1001. package/node_modules/typebox/build/type/extends/integer.mjs +0 -10
  1002. package/node_modules/typebox/build/type/extends/intersect.d.mts +0 -6
  1003. package/node_modules/typebox/build/type/extends/intersect.mjs +0 -15
  1004. package/node_modules/typebox/build/type/extends/literal.d.mts +0 -18
  1005. package/node_modules/typebox/build/type/extends/literal.mjs +0 -44
  1006. package/node_modules/typebox/build/type/extends/never.d.mts +0 -8
  1007. package/node_modules/typebox/build/type/extends/never.mjs +0 -9
  1008. package/node_modules/typebox/build/type/extends/null.d.mts +0 -7
  1009. package/node_modules/typebox/build/type/extends/null.mjs +0 -9
  1010. package/node_modules/typebox/build/type/extends/number.d.mts +0 -7
  1011. package/node_modules/typebox/build/type/extends/number.mjs +0 -9
  1012. package/node_modules/typebox/build/type/extends/object.d.mts +0 -32
  1013. package/node_modules/typebox/build/type/extends/object.mjs +0 -109
  1014. package/node_modules/typebox/build/type/extends/parameters.d.mts +0 -15
  1015. package/node_modules/typebox/build/type/extends/parameters.mjs +0 -28
  1016. package/node_modules/typebox/build/type/extends/record.d.mts +0 -13
  1017. package/node_modules/typebox/build/type/extends/record.mjs +0 -23
  1018. package/node_modules/typebox/build/type/extends/result.d.mts +0 -24
  1019. package/node_modules/typebox/build/type/extends/result.mjs +0 -36
  1020. package/node_modules/typebox/build/type/extends/return_type.d.mts +0 -7
  1021. package/node_modules/typebox/build/type/extends/return_type.mjs +0 -9
  1022. package/node_modules/typebox/build/type/extends/string.d.mts +0 -7
  1023. package/node_modules/typebox/build/type/extends/string.mjs +0 -9
  1024. package/node_modules/typebox/build/type/extends/symbol.d.mts +0 -7
  1025. package/node_modules/typebox/build/type/extends/symbol.mjs +0 -9
  1026. package/node_modules/typebox/build/type/extends/template_literal.d.mts +0 -6
  1027. package/node_modules/typebox/build/type/extends/template_literal.mjs +0 -7
  1028. package/node_modules/typebox/build/type/extends/tuple.d.mts +0 -23
  1029. package/node_modules/typebox/build/type/extends/tuple.mjs +0 -81
  1030. package/node_modules/typebox/build/type/extends/undefined.d.mts +0 -8
  1031. package/node_modules/typebox/build/type/extends/undefined.mjs +0 -10
  1032. package/node_modules/typebox/build/type/extends/union.d.mts +0 -11
  1033. package/node_modules/typebox/build/type/extends/union.mjs +0 -24
  1034. package/node_modules/typebox/build/type/extends/unknown.d.mts +0 -9
  1035. package/node_modules/typebox/build/type/extends/unknown.mjs +0 -12
  1036. package/node_modules/typebox/build/type/extends/void.d.mts +0 -7
  1037. package/node_modules/typebox/build/type/extends/void.mjs +0 -9
  1038. package/node_modules/typebox/build/type/index.d.mts +0 -5
  1039. package/node_modules/typebox/build/type/index.mjs +0 -5
  1040. package/node_modules/typebox/build/type/script/index.d.mts +0 -1
  1041. package/node_modules/typebox/build/type/script/index.mjs +0 -1
  1042. package/node_modules/typebox/build/type/script/mapping.d.mts +0 -356
  1043. package/node_modules/typebox/build/type/script/mapping.mjs +0 -528
  1044. package/node_modules/typebox/build/type/script/parser.d.mts +0 -256
  1045. package/node_modules/typebox/build/type/script/parser.mjs +0 -140
  1046. package/node_modules/typebox/build/type/script/script.d.mts +0 -16
  1047. package/node_modules/typebox/build/type/script/script.mjs +0 -22
  1048. package/node_modules/typebox/build/type/script/token/bigint.d.mts +0 -8
  1049. package/node_modules/typebox/build/type/script/token/bigint.mjs +0 -14
  1050. package/node_modules/typebox/build/type/script/token/const.d.mts +0 -11
  1051. package/node_modules/typebox/build/type/script/token/const.mjs +0 -18
  1052. package/node_modules/typebox/build/type/script/token/ident.d.mts +0 -16
  1053. package/node_modules/typebox/build/type/script/token/ident.mjs +0 -26
  1054. package/node_modules/typebox/build/type/script/token/index.d.mts +0 -12
  1055. package/node_modules/typebox/build/type/script/token/index.mjs +0 -12
  1056. package/node_modules/typebox/build/type/script/token/integer.d.mts +0 -11
  1057. package/node_modules/typebox/build/type/script/token/integer.mjs +0 -19
  1058. package/node_modules/typebox/build/type/script/token/internal/char.d.mts +0 -75
  1059. package/node_modules/typebox/build/type/script/token/internal/char.mjs +0 -26
  1060. package/node_modules/typebox/build/type/script/token/internal/guard.d.mts +0 -1
  1061. package/node_modules/typebox/build/type/script/token/internal/guard.mjs +0 -15
  1062. package/node_modules/typebox/build/type/script/token/internal/many.d.mts +0 -7
  1063. package/node_modules/typebox/build/type/script/token/internal/many.mjs +0 -14
  1064. package/node_modules/typebox/build/type/script/token/internal/match.d.mts +0 -6
  1065. package/node_modules/typebox/build/type/script/token/internal/match.mjs +0 -11
  1066. package/node_modules/typebox/build/type/script/token/internal/optional.d.mts +0 -5
  1067. package/node_modules/typebox/build/type/script/token/internal/optional.mjs +0 -9
  1068. package/node_modules/typebox/build/type/script/token/internal/take.d.mts +0 -6
  1069. package/node_modules/typebox/build/type/script/token/internal/take.mjs +0 -30
  1070. package/node_modules/typebox/build/type/script/token/internal/trim.d.mts +0 -19
  1071. package/node_modules/typebox/build/type/script/token/internal/trim.mjs +0 -34
  1072. package/node_modules/typebox/build/type/script/token/number.d.mts +0 -11
  1073. package/node_modules/typebox/build/type/script/token/number.mjs +0 -19
  1074. package/node_modules/typebox/build/type/script/token/rest.d.mts +0 -4
  1075. package/node_modules/typebox/build/type/script/token/rest.mjs +0 -9
  1076. package/node_modules/typebox/build/type/script/token/span.d.mts +0 -11
  1077. package/node_modules/typebox/build/type/script/token/span.mjs +0 -24
  1078. package/node_modules/typebox/build/type/script/token/string.d.mts +0 -11
  1079. package/node_modules/typebox/build/type/script/token/string.mjs +0 -20
  1080. package/node_modules/typebox/build/type/script/token/unsigned_integer.d.mts +0 -16
  1081. package/node_modules/typebox/build/type/script/token/unsigned_integer.mjs +0 -26
  1082. package/node_modules/typebox/build/type/script/token/unsigned_number.d.mts +0 -17
  1083. package/node_modules/typebox/build/type/script/token/unsigned_number.mjs +0 -38
  1084. package/node_modules/typebox/build/type/script/token/until.d.mts +0 -7
  1085. package/node_modules/typebox/build/type/script/token/until.mjs +0 -21
  1086. package/node_modules/typebox/build/type/script/token/until_1.d.mts +0 -5
  1087. package/node_modules/typebox/build/type/script/token/until_1.mjs +0 -12
  1088. package/node_modules/typebox/build/type/types/_codec.d.mts +0 -30
  1089. package/node_modules/typebox/build/type/types/_codec.mjs +0 -60
  1090. package/node_modules/typebox/build/type/types/_immutable.d.mts +0 -9
  1091. package/node_modules/typebox/build/type/types/_immutable.mjs +0 -18
  1092. package/node_modules/typebox/build/type/types/_optional.d.mts +0 -9
  1093. package/node_modules/typebox/build/type/types/_optional.mjs +0 -18
  1094. package/node_modules/typebox/build/type/types/_readonly.d.mts +0 -9
  1095. package/node_modules/typebox/build/type/types/_readonly.mjs +0 -18
  1096. package/node_modules/typebox/build/type/types/_refine.d.mts +0 -24
  1097. package/node_modules/typebox/build/type/types/_refine.mjs +0 -36
  1098. package/node_modules/typebox/build/type/types/any.d.mts +0 -10
  1099. package/node_modules/typebox/build/type/types/any.mjs +0 -18
  1100. package/node_modules/typebox/build/type/types/array.d.mts +0 -18
  1101. package/node_modules/typebox/build/type/types/array.mjs +0 -25
  1102. package/node_modules/typebox/build/type/types/bigint.d.mts +0 -12
  1103. package/node_modules/typebox/build/type/types/bigint.mjs +0 -21
  1104. package/node_modules/typebox/build/type/types/boolean.d.mts +0 -11
  1105. package/node_modules/typebox/build/type/types/boolean.mjs +0 -17
  1106. package/node_modules/typebox/build/type/types/call.d.mts +0 -16
  1107. package/node_modules/typebox/build/type/types/call.mjs +0 -23
  1108. package/node_modules/typebox/build/type/types/constructor.d.mts +0 -18
  1109. package/node_modules/typebox/build/type/types/constructor.mjs +0 -24
  1110. package/node_modules/typebox/build/type/types/cyclic.d.mts +0 -16
  1111. package/node_modules/typebox/build/type/types/cyclic.mjs +0 -29
  1112. package/node_modules/typebox/build/type/types/deferred.d.mts +0 -13
  1113. package/node_modules/typebox/build/type/types/deferred.mjs +0 -16
  1114. package/node_modules/typebox/build/type/types/dependent.d.mts +0 -17
  1115. package/node_modules/typebox/build/type/types/dependent.mjs +0 -24
  1116. package/node_modules/typebox/build/type/types/enum.d.mts +0 -18
  1117. package/node_modules/typebox/build/type/types/enum.mjs +0 -22
  1118. package/node_modules/typebox/build/type/types/function.d.mts +0 -21
  1119. package/node_modules/typebox/build/type/types/function.mjs +0 -25
  1120. package/node_modules/typebox/build/type/types/generic.d.mts +0 -13
  1121. package/node_modules/typebox/build/type/types/generic.mjs +0 -17
  1122. package/node_modules/typebox/build/type/types/identifier.d.mts +0 -11
  1123. package/node_modules/typebox/build/type/types/identifier.mjs +0 -17
  1124. package/node_modules/typebox/build/type/types/index.d.mts +0 -45
  1125. package/node_modules/typebox/build/type/types/index.mjs +0 -51
  1126. package/node_modules/typebox/build/type/types/infer.d.mts +0 -15
  1127. package/node_modules/typebox/build/type/types/infer.mjs +0 -20
  1128. package/node_modules/typebox/build/type/types/integer.d.mts +0 -12
  1129. package/node_modules/typebox/build/type/types/integer.mjs +0 -21
  1130. package/node_modules/typebox/build/type/types/intersect.d.mts +0 -15
  1131. package/node_modules/typebox/build/type/types/intersect.mjs +0 -24
  1132. package/node_modules/typebox/build/type/types/literal.d.mts +0 -31
  1133. package/node_modules/typebox/build/type/types/literal.mjs +0 -62
  1134. package/node_modules/typebox/build/type/types/never.d.mts +0 -12
  1135. package/node_modules/typebox/build/type/types/never.mjs +0 -22
  1136. package/node_modules/typebox/build/type/types/null.d.mts +0 -11
  1137. package/node_modules/typebox/build/type/types/null.mjs +0 -17
  1138. package/node_modules/typebox/build/type/types/number.d.mts +0 -12
  1139. package/node_modules/typebox/build/type/types/number.mjs +0 -21
  1140. package/node_modules/typebox/build/type/types/object.d.mts +0 -18
  1141. package/node_modules/typebox/build/type/types/object.mjs +0 -28
  1142. package/node_modules/typebox/build/type/types/parameter.d.mts +0 -17
  1143. package/node_modules/typebox/build/type/types/parameter.mjs +0 -21
  1144. package/node_modules/typebox/build/type/types/properties.d.mts +0 -43
  1145. package/node_modules/typebox/build/type/types/properties.mjs +0 -15
  1146. package/node_modules/typebox/build/type/types/record.d.mts +0 -52
  1147. package/node_modules/typebox/build/type/types/record.mjs +0 -66
  1148. package/node_modules/typebox/build/type/types/ref.d.mts +0 -19
  1149. package/node_modules/typebox/build/type/types/ref.mjs +0 -18
  1150. package/node_modules/typebox/build/type/types/rest.d.mts +0 -11
  1151. package/node_modules/typebox/build/type/types/rest.mjs +0 -17
  1152. package/node_modules/typebox/build/type/types/schema.d.mts +0 -176
  1153. package/node_modules/typebox/build/type/types/schema.mjs +0 -15
  1154. package/node_modules/typebox/build/type/types/static.d.mts +0 -45
  1155. package/node_modules/typebox/build/type/types/static.mjs +0 -3
  1156. package/node_modules/typebox/build/type/types/string.d.mts +0 -12
  1157. package/node_modules/typebox/build/type/types/string.mjs +0 -22
  1158. package/node_modules/typebox/build/type/types/symbol.d.mts +0 -11
  1159. package/node_modules/typebox/build/type/types/symbol.mjs +0 -17
  1160. package/node_modules/typebox/build/type/types/template_literal.d.mts +0 -28
  1161. package/node_modules/typebox/build/type/types/template_literal.mjs +0 -37
  1162. package/node_modules/typebox/build/type/types/this.d.mts +0 -14
  1163. package/node_modules/typebox/build/type/types/this.mjs +0 -17
  1164. package/node_modules/typebox/build/type/types/tuple.d.mts +0 -38
  1165. package/node_modules/typebox/build/type/types/tuple.mjs +0 -25
  1166. package/node_modules/typebox/build/type/types/undefined.d.mts +0 -11
  1167. package/node_modules/typebox/build/type/types/undefined.mjs +0 -17
  1168. package/node_modules/typebox/build/type/types/union.d.mts +0 -15
  1169. package/node_modules/typebox/build/type/types/union.mjs +0 -24
  1170. package/node_modules/typebox/build/type/types/unknown.d.mts +0 -10
  1171. package/node_modules/typebox/build/type/types/unknown.mjs +0 -17
  1172. package/node_modules/typebox/build/type/types/unsafe.d.mts +0 -10
  1173. package/node_modules/typebox/build/type/types/unsafe.mjs +0 -20
  1174. package/node_modules/typebox/build/type/types/void.d.mts +0 -11
  1175. package/node_modules/typebox/build/type/types/void.mjs +0 -17
  1176. package/node_modules/typebox/build/typebox.d.mts +0 -69
  1177. package/node_modules/typebox/build/typebox.mjs +0 -85
  1178. package/node_modules/typebox/build/value/assert/assert.d.mts +0 -14
  1179. package/node_modules/typebox/build/value/assert/assert.mjs +0 -28
  1180. package/node_modules/typebox/build/value/assert/index.d.mts +0 -1
  1181. package/node_modules/typebox/build/value/assert/index.mjs +0 -1
  1182. package/node_modules/typebox/build/value/check/check.d.mts +0 -5
  1183. package/node_modules/typebox/build/value/check/check.mjs +0 -11
  1184. package/node_modules/typebox/build/value/check/index.d.mts +0 -1
  1185. package/node_modules/typebox/build/value/check/index.mjs +0 -1
  1186. package/node_modules/typebox/build/value/clean/additional.d.mts +0 -2
  1187. package/node_modules/typebox/build/value/clean/additional.mjs +0 -6
  1188. package/node_modules/typebox/build/value/clean/clean.d.mts +0 -15
  1189. package/node_modules/typebox/build/value/clean/clean.mjs +0 -17
  1190. package/node_modules/typebox/build/value/clean/from_array.d.mts +0 -2
  1191. package/node_modules/typebox/build/value/clean/from_array.mjs +0 -8
  1192. package/node_modules/typebox/build/value/clean/from_cyclic.d.mts +0 -2
  1193. package/node_modules/typebox/build/value/clean/from_cyclic.mjs +0 -6
  1194. package/node_modules/typebox/build/value/clean/from_intersect.d.mts +0 -2
  1195. package/node_modules/typebox/build/value/clean/from_intersect.mjs +0 -26
  1196. package/node_modules/typebox/build/value/clean/from_object.d.mts +0 -2
  1197. package/node_modules/typebox/build/value/clean/from_object.mjs +0 -31
  1198. package/node_modules/typebox/build/value/clean/from_record.d.mts +0 -2
  1199. package/node_modules/typebox/build/value/clean/from_record.mjs +0 -32
  1200. package/node_modules/typebox/build/value/clean/from_ref.d.mts +0 -2
  1201. package/node_modules/typebox/build/value/clean/from_ref.mjs +0 -8
  1202. package/node_modules/typebox/build/value/clean/from_tuple.d.mts +0 -2
  1203. package/node_modules/typebox/build/value/clean/from_tuple.mjs +0 -14
  1204. package/node_modules/typebox/build/value/clean/from_type.d.mts +0 -2
  1205. package/node_modules/typebox/build/value/clean/from_type.mjs +0 -21
  1206. package/node_modules/typebox/build/value/clean/from_union.d.mts +0 -2
  1207. package/node_modules/typebox/build/value/clean/from_union.mjs +0 -12
  1208. package/node_modules/typebox/build/value/clean/index.d.mts +0 -1
  1209. package/node_modules/typebox/build/value/clean/index.mjs +0 -1
  1210. package/node_modules/typebox/build/value/clone/clone.d.mts +0 -6
  1211. package/node_modules/typebox/build/value/clone/clone.mjs +0 -10
  1212. package/node_modules/typebox/build/value/clone/index.d.mts +0 -1
  1213. package/node_modules/typebox/build/value/clone/index.mjs +0 -1
  1214. package/node_modules/typebox/build/value/codec/callback.d.mts +0 -2
  1215. package/node_modules/typebox/build/value/codec/callback.mjs +0 -25
  1216. package/node_modules/typebox/build/value/codec/decode.d.mts +0 -12
  1217. package/node_modules/typebox/build/value/codec/decode.mjs +0 -52
  1218. package/node_modules/typebox/build/value/codec/encode.d.mts +0 -12
  1219. package/node_modules/typebox/build/value/codec/encode.mjs +0 -52
  1220. package/node_modules/typebox/build/value/codec/from_array.d.mts +0 -2
  1221. package/node_modules/typebox/build/value/codec/from_array.mjs +0 -35
  1222. package/node_modules/typebox/build/value/codec/from_cyclic.d.mts +0 -2
  1223. package/node_modules/typebox/build/value/codec/from_cyclic.mjs +0 -8
  1224. package/node_modules/typebox/build/value/codec/from_intersect.d.mts +0 -2
  1225. package/node_modules/typebox/build/value/codec/from_intersect.mjs +0 -58
  1226. package/node_modules/typebox/build/value/codec/from_object.d.mts +0 -2
  1227. package/node_modules/typebox/build/value/codec/from_object.mjs +0 -42
  1228. package/node_modules/typebox/build/value/codec/from_record.d.mts +0 -2
  1229. package/node_modules/typebox/build/value/codec/from_record.mjs +0 -39
  1230. package/node_modules/typebox/build/value/codec/from_ref.d.mts +0 -2
  1231. package/node_modules/typebox/build/value/codec/from_ref.mjs +0 -31
  1232. package/node_modules/typebox/build/value/codec/from_tuple.d.mts +0 -2
  1233. package/node_modules/typebox/build/value/codec/from_tuple.mjs +0 -32
  1234. package/node_modules/typebox/build/value/codec/from_type.d.mts +0 -2
  1235. package/node_modules/typebox/build/value/codec/from_type.mjs +0 -22
  1236. package/node_modules/typebox/build/value/codec/from_union.d.mts +0 -2
  1237. package/node_modules/typebox/build/value/codec/from_union.mjs +0 -39
  1238. package/node_modules/typebox/build/value/codec/has.d.mts +0 -5
  1239. package/node_modules/typebox/build/value/codec/has.mjs +0 -93
  1240. package/node_modules/typebox/build/value/codec/index.d.mts +0 -3
  1241. package/node_modules/typebox/build/value/codec/index.mjs +0 -3
  1242. package/node_modules/typebox/build/value/convert/convert.d.mts +0 -13
  1243. package/node_modules/typebox/build/value/convert/convert.mjs +0 -15
  1244. package/node_modules/typebox/build/value/convert/from_additional.d.mts +0 -6
  1245. package/node_modules/typebox/build/value/convert/from_additional.mjs +0 -18
  1246. package/node_modules/typebox/build/value/convert/from_array.d.mts +0 -2
  1247. package/node_modules/typebox/build/value/convert/from_array.mjs +0 -7
  1248. package/node_modules/typebox/build/value/convert/from_bigint.d.mts +0 -2
  1249. package/node_modules/typebox/build/value/convert/from_bigint.mjs +0 -6
  1250. package/node_modules/typebox/build/value/convert/from_boolean.d.mts +0 -2
  1251. package/node_modules/typebox/build/value/convert/from_boolean.mjs +0 -6
  1252. package/node_modules/typebox/build/value/convert/from_cyclic.d.mts +0 -2
  1253. package/node_modules/typebox/build/value/convert/from_cyclic.mjs +0 -6
  1254. package/node_modules/typebox/build/value/convert/from_enum.d.mts +0 -2
  1255. package/node_modules/typebox/build/value/convert/from_enum.mjs +0 -6
  1256. package/node_modules/typebox/build/value/convert/from_integer.d.mts +0 -2
  1257. package/node_modules/typebox/build/value/convert/from_integer.mjs +0 -6
  1258. package/node_modules/typebox/build/value/convert/from_intersect.d.mts +0 -2
  1259. package/node_modules/typebox/build/value/convert/from_intersect.mjs +0 -8
  1260. package/node_modules/typebox/build/value/convert/from_literal.d.mts +0 -2
  1261. package/node_modules/typebox/build/value/convert/from_literal.mjs +0 -44
  1262. package/node_modules/typebox/build/value/convert/from_null.d.mts +0 -2
  1263. package/node_modules/typebox/build/value/convert/from_null.mjs +0 -6
  1264. package/node_modules/typebox/build/value/convert/from_number.d.mts +0 -2
  1265. package/node_modules/typebox/build/value/convert/from_number.mjs +0 -6
  1266. package/node_modules/typebox/build/value/convert/from_object.d.mts +0 -2
  1267. package/node_modules/typebox/build/value/convert/from_object.mjs +0 -28
  1268. package/node_modules/typebox/build/value/convert/from_record.d.mts +0 -2
  1269. package/node_modules/typebox/build/value/convert/from_record.mjs +0 -23
  1270. package/node_modules/typebox/build/value/convert/from_ref.d.mts +0 -2
  1271. package/node_modules/typebox/build/value/convert/from_ref.mjs +0 -8
  1272. package/node_modules/typebox/build/value/convert/from_string.d.mts +0 -2
  1273. package/node_modules/typebox/build/value/convert/from_string.mjs +0 -6
  1274. package/node_modules/typebox/build/value/convert/from_template_literal.d.mts +0 -2
  1275. package/node_modules/typebox/build/value/convert/from_template_literal.mjs +0 -6
  1276. package/node_modules/typebox/build/value/convert/from_tuple.d.mts +0 -2
  1277. package/node_modules/typebox/build/value/convert/from_tuple.mjs +0 -11
  1278. package/node_modules/typebox/build/value/convert/from_type.d.mts +0 -2
  1279. package/node_modules/typebox/build/value/convert/from_type.mjs +0 -43
  1280. package/node_modules/typebox/build/value/convert/from_undefined.d.mts +0 -2
  1281. package/node_modules/typebox/build/value/convert/from_undefined.mjs +0 -6
  1282. package/node_modules/typebox/build/value/convert/from_union.d.mts +0 -2
  1283. package/node_modules/typebox/build/value/convert/from_union.mjs +0 -13
  1284. package/node_modules/typebox/build/value/convert/from_void.d.mts +0 -2
  1285. package/node_modules/typebox/build/value/convert/from_void.mjs +0 -6
  1286. package/node_modules/typebox/build/value/convert/index.d.mts +0 -1
  1287. package/node_modules/typebox/build/value/convert/index.mjs +0 -1
  1288. package/node_modules/typebox/build/value/convert/try/index.d.mts +0 -1
  1289. package/node_modules/typebox/build/value/convert/try/index.mjs +0 -1
  1290. package/node_modules/typebox/build/value/convert/try/try.d.mts +0 -8
  1291. package/node_modules/typebox/build/value/convert/try/try.mjs +0 -8
  1292. package/node_modules/typebox/build/value/convert/try/try_array.d.mts +0 -2
  1293. package/node_modules/typebox/build/value/convert/try/try_array.mjs +0 -6
  1294. package/node_modules/typebox/build/value/convert/try/try_bigint.d.mts +0 -2
  1295. package/node_modules/typebox/build/value/convert/try/try_bigint.mjs +0 -45
  1296. package/node_modules/typebox/build/value/convert/try/try_boolean.d.mts +0 -2
  1297. package/node_modules/typebox/build/value/convert/try/try_boolean.mjs +0 -41
  1298. package/node_modules/typebox/build/value/convert/try/try_null.d.mts +0 -2
  1299. package/node_modules/typebox/build/value/convert/try/try_null.mjs +0 -44
  1300. package/node_modules/typebox/build/value/convert/try/try_number.d.mts +0 -2
  1301. package/node_modules/typebox/build/value/convert/try/try_number.mjs +0 -44
  1302. package/node_modules/typebox/build/value/convert/try/try_result.d.mts +0 -8
  1303. package/node_modules/typebox/build/value/convert/try/try_result.mjs +0 -17
  1304. package/node_modules/typebox/build/value/convert/try/try_string.d.mts +0 -2
  1305. package/node_modules/typebox/build/value/convert/try/try_string.mjs +0 -12
  1306. package/node_modules/typebox/build/value/convert/try/try_undefined.d.mts +0 -2
  1307. package/node_modules/typebox/build/value/convert/try/try_undefined.mjs +0 -44
  1308. package/node_modules/typebox/build/value/create/create.d.mts +0 -5
  1309. package/node_modules/typebox/build/value/create/create.mjs +0 -11
  1310. package/node_modules/typebox/build/value/create/error.d.mts +0 -5
  1311. package/node_modules/typebox/build/value/create/error.mjs +0 -7
  1312. package/node_modules/typebox/build/value/create/from_array.d.mts +0 -2
  1313. package/node_modules/typebox/build/value/create/from_array.mjs +0 -10
  1314. package/node_modules/typebox/build/value/create/from_bigint.d.mts +0 -2
  1315. package/node_modules/typebox/build/value/create/from_bigint.mjs +0 -7
  1316. package/node_modules/typebox/build/value/create/from_boolean.d.mts +0 -2
  1317. package/node_modules/typebox/build/value/create/from_boolean.mjs +0 -4
  1318. package/node_modules/typebox/build/value/create/from_constructor.d.mts +0 -2
  1319. package/node_modules/typebox/build/value/create/from_constructor.mjs +0 -10
  1320. package/node_modules/typebox/build/value/create/from_cyclic.d.mts +0 -2
  1321. package/node_modules/typebox/build/value/create/from_cyclic.mjs +0 -6
  1322. package/node_modules/typebox/build/value/create/from_default.d.mts +0 -3
  1323. package/node_modules/typebox/build/value/create/from_default.mjs +0 -10
  1324. package/node_modules/typebox/build/value/create/from_enum.d.mts +0 -2
  1325. package/node_modules/typebox/build/value/create/from_enum.mjs +0 -6
  1326. package/node_modules/typebox/build/value/create/from_function.d.mts +0 -2
  1327. package/node_modules/typebox/build/value/create/from_function.mjs +0 -6
  1328. package/node_modules/typebox/build/value/create/from_integer.d.mts +0 -2
  1329. package/node_modules/typebox/build/value/create/from_integer.mjs +0 -8
  1330. package/node_modules/typebox/build/value/create/from_intersect.d.mts +0 -2
  1331. package/node_modules/typebox/build/value/create/from_intersect.mjs +0 -8
  1332. package/node_modules/typebox/build/value/create/from_literal.d.mts +0 -2
  1333. package/node_modules/typebox/build/value/create/from_literal.mjs +0 -4
  1334. package/node_modules/typebox/build/value/create/from_never.d.mts +0 -2
  1335. package/node_modules/typebox/build/value/create/from_never.mjs +0 -5
  1336. package/node_modules/typebox/build/value/create/from_null.d.mts +0 -2
  1337. package/node_modules/typebox/build/value/create/from_null.mjs +0 -4
  1338. package/node_modules/typebox/build/value/create/from_number.d.mts +0 -2
  1339. package/node_modules/typebox/build/value/create/from_number.mjs +0 -8
  1340. package/node_modules/typebox/build/value/create/from_object.d.mts +0 -2
  1341. package/node_modules/typebox/build/value/create/from_object.mjs +0 -9
  1342. package/node_modules/typebox/build/value/create/from_record.d.mts +0 -2
  1343. package/node_modules/typebox/build/value/create/from_record.mjs +0 -8
  1344. package/node_modules/typebox/build/value/create/from_ref.d.mts +0 -2
  1345. package/node_modules/typebox/build/value/create/from_ref.mjs +0 -9
  1346. package/node_modules/typebox/build/value/create/from_string.d.mts +0 -2
  1347. package/node_modules/typebox/build/value/create/from_string.mjs +0 -9
  1348. package/node_modules/typebox/build/value/create/from_symbol.d.mts +0 -2
  1349. package/node_modules/typebox/build/value/create/from_symbol.mjs +0 -4
  1350. package/node_modules/typebox/build/value/create/from_template_literal.d.mts +0 -2
  1351. package/node_modules/typebox/build/value/create/from_template_literal.mjs +0 -11
  1352. package/node_modules/typebox/build/value/create/from_tuple.d.mts +0 -2
  1353. package/node_modules/typebox/build/value/create/from_tuple.mjs +0 -5
  1354. package/node_modules/typebox/build/value/create/from_type.d.mts +0 -2
  1355. package/node_modules/typebox/build/value/create/from_type.mjs +0 -61
  1356. package/node_modules/typebox/build/value/create/from_undefined.d.mts +0 -2
  1357. package/node_modules/typebox/build/value/create/from_undefined.mjs +0 -4
  1358. package/node_modules/typebox/build/value/create/from_union.d.mts +0 -2
  1359. package/node_modules/typebox/build/value/create/from_union.mjs +0 -9
  1360. package/node_modules/typebox/build/value/create/from_void.d.mts +0 -2
  1361. package/node_modules/typebox/build/value/create/from_void.mjs +0 -4
  1362. package/node_modules/typebox/build/value/create/index.d.mts +0 -2
  1363. package/node_modules/typebox/build/value/create/index.mjs +0 -2
  1364. package/node_modules/typebox/build/value/default/default.d.mts +0 -13
  1365. package/node_modules/typebox/build/value/default/default.mjs +0 -15
  1366. package/node_modules/typebox/build/value/default/from_array.d.mts +0 -2
  1367. package/node_modules/typebox/build/value/default/from_array.mjs +0 -12
  1368. package/node_modules/typebox/build/value/default/from_cyclic.d.mts +0 -2
  1369. package/node_modules/typebox/build/value/default/from_cyclic.mjs +0 -7
  1370. package/node_modules/typebox/build/value/default/from_default.d.mts +0 -3
  1371. package/node_modules/typebox/build/value/default/from_default.mjs +0 -13
  1372. package/node_modules/typebox/build/value/default/from_intersect.d.mts +0 -2
  1373. package/node_modules/typebox/build/value/default/from_intersect.mjs +0 -9
  1374. package/node_modules/typebox/build/value/default/from_object.d.mts +0 -2
  1375. package/node_modules/typebox/build/value/default/from_object.mjs +0 -32
  1376. package/node_modules/typebox/build/value/default/from_record.d.mts +0 -2
  1377. package/node_modules/typebox/build/value/default/from_record.mjs +0 -26
  1378. package/node_modules/typebox/build/value/default/from_ref.d.mts +0 -2
  1379. package/node_modules/typebox/build/value/default/from_ref.mjs +0 -9
  1380. package/node_modules/typebox/build/value/default/from_tuple.d.mts +0 -2
  1381. package/node_modules/typebox/build/value/default/from_tuple.mjs +0 -14
  1382. package/node_modules/typebox/build/value/default/from_type.d.mts +0 -2
  1383. package/node_modules/typebox/build/value/default/from_type.mjs +0 -25
  1384. package/node_modules/typebox/build/value/default/from_union.d.mts +0 -2
  1385. package/node_modules/typebox/build/value/default/from_union.mjs +0 -14
  1386. package/node_modules/typebox/build/value/default/index.d.mts +0 -1
  1387. package/node_modules/typebox/build/value/default/index.mjs +0 -1
  1388. package/node_modules/typebox/build/value/delta/diff.d.mts +0 -10
  1389. package/node_modules/typebox/build/value/delta/diff.mjs +0 -135
  1390. package/node_modules/typebox/build/value/delta/edit.d.mts +0 -24
  1391. package/node_modules/typebox/build/value/delta/edit.mjs +0 -17
  1392. package/node_modules/typebox/build/value/delta/index.d.mts +0 -3
  1393. package/node_modules/typebox/build/value/delta/index.mjs +0 -3
  1394. package/node_modules/typebox/build/value/delta/patch.d.mts +0 -8
  1395. package/node_modules/typebox/build/value/delta/patch.mjs +0 -42
  1396. package/node_modules/typebox/build/value/equal/equal.d.mts +0 -2
  1397. package/node_modules/typebox/build/value/equal/equal.mjs +0 -6
  1398. package/node_modules/typebox/build/value/equal/index.d.mts +0 -1
  1399. package/node_modules/typebox/build/value/equal/index.mjs +0 -1
  1400. package/node_modules/typebox/build/value/errors/errors.d.mts +0 -6
  1401. package/node_modules/typebox/build/value/errors/errors.mjs +0 -12
  1402. package/node_modules/typebox/build/value/errors/index.d.mts +0 -1
  1403. package/node_modules/typebox/build/value/errors/index.mjs +0 -1
  1404. package/node_modules/typebox/build/value/hash/hash.d.mts +0 -6
  1405. package/node_modules/typebox/build/value/hash/hash.mjs +0 -10
  1406. package/node_modules/typebox/build/value/hash/index.d.mts +0 -1
  1407. package/node_modules/typebox/build/value/hash/index.mjs +0 -1
  1408. package/node_modules/typebox/build/value/index.d.mts +0 -20
  1409. package/node_modules/typebox/build/value/index.mjs +0 -29
  1410. package/node_modules/typebox/build/value/parse/index.d.mts +0 -1
  1411. package/node_modules/typebox/build/value/parse/index.mjs +0 -1
  1412. package/node_modules/typebox/build/value/parse/parse.d.mts +0 -11
  1413. package/node_modules/typebox/build/value/parse/parse.mjs +0 -53
  1414. package/node_modules/typebox/build/value/pipeline/index.d.mts +0 -1
  1415. package/node_modules/typebox/build/value/pipeline/index.mjs +0 -1
  1416. package/node_modules/typebox/build/value/pipeline/pipeline.d.mts +0 -10
  1417. package/node_modules/typebox/build/value/pipeline/pipeline.mjs +0 -15
  1418. package/node_modules/typebox/build/value/pointer/index.d.mts +0 -1
  1419. package/node_modules/typebox/build/value/pointer/index.mjs +0 -1
  1420. package/node_modules/typebox/build/value/repair/error.d.mts +0 -7
  1421. package/node_modules/typebox/build/value/repair/error.mjs +0 -8
  1422. package/node_modules/typebox/build/value/repair/from_array.d.mts +0 -2
  1423. package/node_modules/typebox/build/value/repair/from_array.mjs +0 -39
  1424. package/node_modules/typebox/build/value/repair/from_cyclic.d.mts +0 -2
  1425. package/node_modules/typebox/build/value/repair/from_cyclic.mjs +0 -6
  1426. package/node_modules/typebox/build/value/repair/from_enum.d.mts +0 -2
  1427. package/node_modules/typebox/build/value/repair/from_enum.mjs +0 -6
  1428. package/node_modules/typebox/build/value/repair/from_intersect.d.mts +0 -2
  1429. package/node_modules/typebox/build/value/repair/from_intersect.mjs +0 -8
  1430. package/node_modules/typebox/build/value/repair/from_object.d.mts +0 -2
  1431. package/node_modules/typebox/build/value/repair/from_object.mjs +0 -33
  1432. package/node_modules/typebox/build/value/repair/from_record.d.mts +0 -2
  1433. package/node_modules/typebox/build/value/repair/from_record.mjs +0 -33
  1434. package/node_modules/typebox/build/value/repair/from_ref.d.mts +0 -2
  1435. package/node_modules/typebox/build/value/repair/from_ref.mjs +0 -9
  1436. package/node_modules/typebox/build/value/repair/from_template_literal.d.mts +0 -2
  1437. package/node_modules/typebox/build/value/repair/from_template_literal.mjs +0 -7
  1438. package/node_modules/typebox/build/value/repair/from_tuple.d.mts +0 -2
  1439. package/node_modules/typebox/build/value/repair/from_tuple.mjs +0 -12
  1440. package/node_modules/typebox/build/value/repair/from_type.d.mts +0 -2
  1441. package/node_modules/typebox/build/value/repair/from_type.mjs +0 -88
  1442. package/node_modules/typebox/build/value/repair/from_union.d.mts +0 -2
  1443. package/node_modules/typebox/build/value/repair/from_union.mjs +0 -24
  1444. package/node_modules/typebox/build/value/repair/from_unknown.d.mts +0 -2
  1445. package/node_modules/typebox/build/value/repair/from_unknown.mjs +0 -12
  1446. package/node_modules/typebox/build/value/repair/index.d.mts +0 -1
  1447. package/node_modules/typebox/build/value/repair/index.mjs +0 -1
  1448. package/node_modules/typebox/build/value/repair/repair.d.mts +0 -17
  1449. package/node_modules/typebox/build/value/repair/repair.mjs +0 -20
  1450. package/node_modules/typebox/build/value/shared/index.d.mts +0 -3
  1451. package/node_modules/typebox/build/value/shared/index.mjs +0 -4
  1452. package/node_modules/typebox/build/value/shared/optional_undefined.d.mts +0 -2
  1453. package/node_modules/typebox/build/value/shared/optional_undefined.mjs +0 -15
  1454. package/node_modules/typebox/build/value/shared/union_priority_sort.d.mts +0 -7
  1455. package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +0 -83
  1456. package/node_modules/typebox/build/value/shared/union_score_select.d.mts +0 -3
  1457. package/node_modules/typebox/build/value/shared/union_score_select.mjs +0 -51
  1458. package/node_modules/typebox/build/value/value.d.mts +0 -15
  1459. package/node_modules/typebox/build/value/value.mjs +0 -15
  1460. package/node_modules/typebox/license +0 -23
  1461. package/node_modules/typebox/package.json +0 -87
  1462. package/node_modules/typebox/readme.md +0 -339
@@ -0,0 +1,236 @@
1
+ /**
2
+ * 信任层的**指标与守恒等式**(卡 D1 的四段闭环 + 卡 D4 的三项指标)。
3
+ *
4
+ * 口径唯一源:**只读事件流**(`src/lineage.ts` 的 JSONL)——
5
+ * 不读登记册、不读内存状态 → 指标可由第三方**独立复算**(同一份账本 → 同一组数)。
6
+ *
7
+ * 三项指标(承 `docs/product/assistant-trust-model.md` §4 的口径):
8
+ * ```
9
+ * 回应率 = answered / delivered (它主动的 → 我回应的)
10
+ * 托付闭环率 = settled / registered (托付 → 到达 → 知会 → 结账)
11
+ * 守候时长 = 平均(知会时刻 − 登记时刻) (我不用守着的时间)
12
+ * ```
13
+ *
14
+ * 守恒等式(每条托付一条链,**不得跳段、不得重复**):
15
+ * ```
16
+ * registered → arrived → notified → settled
17
+ * 每条链缺一段 → 记一条违规(少一段 = 红)
18
+ * 聚合等式:登记数 = 结账数 + 撤销数 + 在途数(重复登记 / 悬空都会破坏它)
19
+ * ```
20
+ *
21
+ * @capability: trust-metrics
22
+ * @observable: pi-proactive/src/trust-metrics.ts:computeTrustMetrics
23
+ * @attribution: pi-proactive/src/trust-metrics.ts:computeTrustMetrics
24
+ * @outcome: pi-proactive/src/trust-metrics.ts:ConservationReport
25
+ * @checked: test:pi-proactive/tests/trust-metrics.test.ts#D4-1 三项指标可从事件流算出
26
+ */
27
+ import fs from "node:fs";
28
+ import path from "node:path";
29
+ /** 托付链的阶段顺序(**不得跳段**)。 */
30
+ const CHAIN = ["registered", "arrived", "notified", "settled"];
31
+ /** 只取信任层事件(`type === "trust"`)。 */
32
+ function trustEvents(events) {
33
+ const out = [];
34
+ for (const e of events) {
35
+ if (e.type !== "trust" || e.trust === undefined)
36
+ continue;
37
+ const id = e.trust.entrustmentId;
38
+ if (id === undefined || id === "")
39
+ continue;
40
+ out.push({ id, stage: e.trust.stage, ts: e.ts, event: e });
41
+ }
42
+ return out;
43
+ }
44
+ /**
45
+ * 托付四段的守恒等式。
46
+ *
47
+ * 判据(可机检、能红):
48
+ * - 每条托付的阶段链必须是 `registered → arrived → notified → settled` 的**子序列**;
49
+ * - **跳段即违规**(例如有 `settled` 却没有 `notified` → 「少一段」→ 红);
50
+ * - **重复即违规**(同一阶段两条 → 记一条;聚合等式也会因此失衡);
51
+ * - 聚合等式:`登记数 == 结账数 + 撤销数 + 在途数`。
52
+ */
53
+ export function evaluateEntrustmentConservation(events) {
54
+ const rows = trustEvents(events);
55
+ const byEntrustment = new Map();
56
+ for (const r of rows) {
57
+ const list = byEntrustment.get(r.id) ?? [];
58
+ list.push({ stage: r.stage, ts: r.ts });
59
+ byEntrustment.set(r.id, list);
60
+ }
61
+ const violations = [];
62
+ let registered = 0;
63
+ let arrived = 0;
64
+ let notified = 0;
65
+ let settled = 0;
66
+ let revoked = 0;
67
+ let humanGated = 0;
68
+ let inFlight = 0;
69
+ for (const [id, list] of byEntrustment) {
70
+ list.sort((a, b) => a.ts - b.ts);
71
+ const stages = list.map((l) => l.stage);
72
+ const countOf = (s) => stages.filter((x) => x === s).length;
73
+ registered += countOf("registered");
74
+ arrived += countOf("arrived");
75
+ notified += countOf("notified");
76
+ settled += countOf("settled");
77
+ revoked += countOf("revoked");
78
+ humanGated += countOf("human-gated");
79
+ // 重复阶段(去重失效 → 清单里同一件事出现两次)。
80
+ for (const s of CHAIN) {
81
+ if (countOf(s) > 1)
82
+ violations.push(`${id}: 重复阶段 ${s} ×${countOf(s)}`);
83
+ }
84
+ // 起始阶段必须是登记。
85
+ if (countOf("registered") === 0)
86
+ violations.push(`${id}: 缺阶段 registered`);
87
+ // 跳段检查:出现了靠后的阶段,就必须有它前面的阶段。
88
+ for (let i = 1; i < CHAIN.length; i += 1) {
89
+ const s = CHAIN[i];
90
+ if (countOf(s) === 0)
91
+ continue;
92
+ for (let j = 0; j < i; j += 1) {
93
+ const prev = CHAIN[j];
94
+ if (countOf(prev) === 0)
95
+ violations.push(`${id}: 缺阶段 ${prev}(但已有 ${s})`);
96
+ }
97
+ }
98
+ // 顺序检查:阶段必须按链的顺序出现(时间序)。
99
+ const orderIdx = new Map(CHAIN.map((s, i) => [s, i]));
100
+ let last = -1;
101
+ for (const s of stages) {
102
+ const idx = orderIdx.get(s);
103
+ if (idx === undefined)
104
+ continue; // revoked / human-gated 不在主链上
105
+ if (idx < last)
106
+ violations.push(`${id}: 阶段乱序 ${s}`);
107
+ last = Math.max(last, idx);
108
+ }
109
+ // 撤销与结账互斥。
110
+ if (countOf("settled") > 0 && countOf("revoked") > 0)
111
+ violations.push(`${id}: 同时结账与撤销`);
112
+ // 终态判定:在途 = 既没结账也没撤销。
113
+ if (countOf("settled") === 0 && countOf("revoked") === 0)
114
+ inFlight += 1;
115
+ }
116
+ const equationHolds = registered === settled + revoked + inFlight;
117
+ if (!equationHolds) {
118
+ violations.push(`聚合等式不成立:登记 ${registered} ≠ 结账 ${settled} + 撤销 ${revoked} + 在途 ${inFlight}`);
119
+ }
120
+ return {
121
+ registered,
122
+ arrived,
123
+ notified,
124
+ settled,
125
+ revoked,
126
+ humanGated,
127
+ inFlight,
128
+ equationHolds,
129
+ violations,
130
+ balanced: violations.length === 0 && equationHolds,
131
+ };
132
+ }
133
+ /**
134
+ * 三项指标(回应率 / 托付闭环率 / 守候时长)+ 守恒等式。
135
+ *
136
+ * 全部从**事件流**算 → 可由第三方用同一份账本复算。
137
+ */
138
+ export function computeTrustMetrics(events) {
139
+ let delivered = 0;
140
+ let answered = 0;
141
+ for (const e of events) {
142
+ if (e.type === "delivered" && e.result === "delivered")
143
+ delivered += 1;
144
+ if (e.type === "answered")
145
+ answered += 1;
146
+ }
147
+ const conservation = evaluateEntrustmentConservation(events);
148
+ // 守候时长:登记 → 知会(同一托付的第一条 registered 与 notified)。
149
+ const firstRegistered = new Map();
150
+ const firstNotified = new Map();
151
+ for (const e of events) {
152
+ if (e.type !== "trust" || e.trust === undefined)
153
+ continue;
154
+ const id = e.trust.entrustmentId;
155
+ if (id === undefined)
156
+ continue;
157
+ if (e.trust.stage === "registered" && !firstRegistered.has(id))
158
+ firstRegistered.set(id, e.ts);
159
+ if (e.trust.stage === "notified" && !firstNotified.has(id))
160
+ firstNotified.set(id, e.ts);
161
+ }
162
+ let totalMs = 0;
163
+ let count = 0;
164
+ for (const [id, at] of firstNotified) {
165
+ const from = firstRegistered.get(id);
166
+ if (from === undefined)
167
+ continue;
168
+ totalMs += Math.max(0, at - from);
169
+ count += 1;
170
+ }
171
+ const rate = (n, d) => (d === 0 ? 0 : n / d);
172
+ return {
173
+ responseRate: { numerator: answered, denominator: delivered, value: rate(answered, delivered) },
174
+ entrustmentClosureRate: { numerator: conservation.settled, denominator: conservation.registered, value: rate(conservation.settled, conservation.registered) },
175
+ watchDuration: { averageMs: count === 0 ? 0 : totalMs / count, totalMs, count },
176
+ conservation,
177
+ };
178
+ }
179
+ /**
180
+ * 读一个目录下的全部事件流文件(`*.jsonl`)→ 事件列表。
181
+ *
182
+ * 坏行跳过(不抛错)——与 `src/lineage.ts` 的读方口径一致。
183
+ */
184
+ export function readLineageEvents(dir) {
185
+ let files;
186
+ try {
187
+ files = fs.readdirSync(dir).filter((f) => f.endsWith(".jsonl"));
188
+ }
189
+ catch {
190
+ return [];
191
+ }
192
+ const events = [];
193
+ for (const f of files) {
194
+ let raw;
195
+ try {
196
+ raw = fs.readFileSync(path.join(dir, f), "utf8");
197
+ }
198
+ catch {
199
+ continue;
200
+ }
201
+ for (const line of raw.split("\n")) {
202
+ if (line.trim().length === 0)
203
+ continue;
204
+ try {
205
+ const parsed = JSON.parse(line);
206
+ if (typeof parsed?.ts === "number" && typeof parsed?.type === "string")
207
+ events.push(parsed);
208
+ }
209
+ catch {
210
+ // 坏行跳过
211
+ }
212
+ }
213
+ }
214
+ return events;
215
+ }
216
+ /**
217
+ * CLI:打印指标 JSON(供 `scripts/team/progress-snapshot.sh` 调用 → **同一份实现算指标**,
218
+ * 避免「脚本里另写一套口径」导致漂移)。
219
+ *
220
+ * 用法:`node --experimental-strip-types pi-proactive/src/trust-metrics.ts --dir <lineageDir>`
221
+ */
222
+ export function main(argv) {
223
+ const idx = argv.indexOf("--dir");
224
+ const dir = idx >= 0 ? argv[idx + 1] : undefined;
225
+ if (dir === undefined) {
226
+ console.error("用法:trust-metrics.ts --dir <lineageDir>");
227
+ return 2;
228
+ }
229
+ const metrics = computeTrustMetrics(readLineageEvents(dir));
230
+ console.log(JSON.stringify(metrics));
231
+ return 0;
232
+ }
233
+ const invokedDirectly = process.argv[1] !== undefined && process.argv[1].endsWith("trust-metrics.ts");
234
+ if (invokedDirectly) {
235
+ process.exitCode = main(process.argv.slice(2));
236
+ }
@@ -0,0 +1,73 @@
1
+ /**
2
+ * 通道判定(纯函数)。
3
+ *
4
+ * - 空闲 → `wake`(用户不在 → 直接起一轮);
5
+ * - 忙 → `queue`(排队,不打断正在做的事);
6
+ * - 需人立刻决定(urgent)→ `interrupt`(担责的事不能等)。
7
+ */
8
+ export function resolveTrustChannels(input) {
9
+ const session = input.urgent ? "interrupt" : input.idle ? "wake" : "queue";
10
+ // 设备级通知**一律发**(托付达成 = 用户明确交代过的事 → 值得一条设备通知;
11
+ // 会话通道决定「什么时候起一轮」,设备通道决定「用户不在电脑前也能收到」)。
12
+ const channels = [`session-${session}`, "device"];
13
+ return { session, device: true, channels };
14
+ }
15
+ /**
16
+ * 托付知会器。
17
+ *
18
+ * 幂等:同一条托付**只**知会一次(第二次 → `duplicate`,不再投递、不再落事件)。
19
+ */
20
+ export class TrustNotifier {
21
+ deps;
22
+ constructor(deps) {
23
+ this.deps = deps;
24
+ }
25
+ /**
26
+ * 知会一条**已到达**的托付。
27
+ *
28
+ * 顺序:查状态(已知会 → 重复,返回)→ 投递(会话 + 设备)→ 标记知会 → 落 `notified` 事件。
29
+ * 需要人决定的托付 → **不投递**(只产出 human-gated 记录):担责的事不代劳。
30
+ */
31
+ async notifyEntrustment(entrustmentId, opts = {}) {
32
+ const e = this.deps.registry.getEntrustment(entrustmentId);
33
+ if (e === undefined)
34
+ return { entrustmentId, delivered: false, reason: "not-found", channels: [] };
35
+ if (e.status === "notified" || e.status === "settled") {
36
+ return { entrustmentId, delivered: false, reason: "duplicate", channels: [] };
37
+ }
38
+ if (e.status !== "arrived") {
39
+ return { entrustmentId, delivered: false, reason: "not-arrived", channels: [] };
40
+ }
41
+ if (e.needsHuman === true) {
42
+ const reason = e.humanReason ?? "需要人决定";
43
+ this.deps.registry.markNeedsHuman(entrustmentId, reason);
44
+ this.deps.lineage?.noteTrust({ stage: "human-gated", entrustmentId, goalId: e.goalId, reason });
45
+ return { entrustmentId, delivered: false, reason: "needs-human", channels: [] };
46
+ }
47
+ const plan = resolveTrustChannels({ idle: opts.idle ?? true, urgent: opts.urgent ?? false });
48
+ const title = "托付达成";
49
+ const body = `${e.target} —— 条件已满足。`;
50
+ const channels = [];
51
+ if (this.deps.deliverSession !== undefined) {
52
+ await this.deps.deliverSession({ title, body, intent: plan.session });
53
+ channels.push(`session-${plan.session}`);
54
+ }
55
+ if (plan.device && this.deps.notifyDevice !== undefined) {
56
+ this.deps.notifyDevice(title, body);
57
+ channels.push("device");
58
+ }
59
+ const marked = this.deps.registry.markNotified(entrustmentId);
60
+ if (marked === undefined) {
61
+ return { entrustmentId, delivered: false, reason: "duplicate", channels };
62
+ }
63
+ const waitedMs = marked.notifiedAt !== undefined && marked.createdAt !== undefined ? marked.notifiedAt - marked.createdAt : undefined;
64
+ this.deps.lineage?.noteTrust({
65
+ stage: "notified",
66
+ entrustmentId,
67
+ goalId: e.goalId,
68
+ channel: channels.join("+"),
69
+ ...(waitedMs !== undefined ? { waitedMs } : {}),
70
+ });
71
+ return { entrustmentId, delivered: true, channels };
72
+ }
73
+ }
@@ -0,0 +1,58 @@
1
+ /**
2
+ * 主动性策略:**空闲触发降级为默认浅层**(卡 D2)。
3
+ *
4
+ * 依据 `docs/product/assistant-trust-model.md` §3:
5
+ * > 空闲触发只是**默认浅层用法**(应默认静默、能等就等);主动性的真正来源是**用户的托付**。
6
+ *
7
+ * 判据(两条闸门,缺一即不开口):
8
+ * 1. **有用户交代**:没有任何托付 / 未竟目标支撑 → 不开口(默认静默);
9
+ * 2. **确有价值**:DECIDE1 分数低于阈值 → 不开口(不产生无价值打扰)。
10
+ *
11
+ * 分数**复用 DECIDE1**(`src/idle.ts:scoreDecision` —— 同一把尺子,不另立公式),
12
+ * 输入的三个分量各自带**来源**(可复核「这个数从哪来」)。
13
+ *
14
+ * @capability: trust-shallow-idle
15
+ * @observable: pi-proactive/src/trust-policy.ts:evaluateShallowIdle
16
+ * @attribution: pi-proactive/src/trust-policy.ts:evaluateShallowIdle
17
+ * @outcome: pi-proactive/src/trigger.ts:Trigger
18
+ * @checked: test:pi-proactive/tests/trust-policy.test.ts#D2-4 接线实证
19
+ */
20
+ import { scoreDecision } from "./idle.js";
21
+ /** 浅层策略的缺省值(**默认静默**)。 */
22
+ export const DEFAULT_SHALLOW_IDLE_POLICY = {
23
+ enabled: true,
24
+ requireUserBacking: true,
25
+ threshold: 1,
26
+ observeRatio: 0.5,
27
+ };
28
+ /**
29
+ * 浅层空闲判定(纯函数)。
30
+ *
31
+ * - **默认静默**:没有用户交代 → `speak=false`(reason = `no-backing`);
32
+ * - **不产生无价值打扰**:分数 < 阈值 → `speak=false`(reason = `below-threshold`);
33
+ * - 两条都过 → `speak=true`(reason = `speak`)。
34
+ */
35
+ export function evaluateShallowIdle(input) {
36
+ const scoring = scoreDecision({
37
+ value: { score: input.value, source: input.valueSource },
38
+ urgency: { score: input.urgency, source: input.urgencySource },
39
+ interruptionCost: { score: input.interruptionCost, source: input.interruptionCostSource },
40
+ }, input.policy.threshold, input.policy.observeRatio);
41
+ if (input.policy.requireUserBacking && !input.backedByUserRequest) {
42
+ return { speak: false, reason: "no-backing", score: scoring.score };
43
+ }
44
+ if (scoring.band !== "trigger") {
45
+ return { speak: false, reason: "below-threshold", score: scoring.score };
46
+ }
47
+ return { speak: true, reason: "speak", score: scoring.score };
48
+ }
49
+ /**
50
+ * 这条信封是不是**空闲触发**(`src/idle.ts:buildIdleEnvelope` 造出来的)。
51
+ *
52
+ * 为什么用信封标记而不是 `cause`:既有空闲路径**没有**把 `cause:"idle"` 传给投递层
53
+ * (`src/idle.ts` 的 `fireIdle` → `deliverToModel` 不带 cause)→ 投递层只能靠信封自身
54
+ * 的确定性标记识别(`id` 前缀 + `subject`),两者都由 `buildIdleEnvelope` 固定生成。
55
+ */
56
+ export function isIdleTriggerEnvelope(msg) {
57
+ return msg.id.startsWith("idle-") || msg.subject === "空闲触发";
58
+ }
@@ -0,0 +1,323 @@
1
+ /**
2
+ * 托付与目标的**登记册**(信任层的事实源 · 卡 D1/D6)。
3
+ *
4
+ * 为什么要有登记册:托付("盯着 X")与目标("把发布流程跑通")若只存在于对话里,
5
+ * 就**无法查、无法撤、无法结账** → 主动性的价值无从证明。登记册把二者变成
6
+ * **有状态、可查、可撤销**的记录,每次状态变化都落成**只追加**的事件(`src/lineage.ts`)。
7
+ *
8
+ * 设计要点(对齐 `docs/product/agentic-loop.md` 与 `docs/product/assistant-trust-model.md`):
9
+ * - **托付 = 目标 + 条件**(L-B 是 L-C 的一个实例):托付带一个**可判定**的到达条件;
10
+ * - **目标必须可判定完成**:`doneWhen` 缺失或不可判定 → 目标**不得**进入自主推进(护栏①);
11
+ * - **状态机是显式的**:托付 `active → arrived → notified → settled`(或 `revoked`);
12
+ * 目标 `open → achieved | abandoned | needs-human` —— 「需人决策」是**一等状态**,
13
+ * 不允许被静默折叠成「完成」;
14
+ * - **落盘是原子的**:临时文件 + rename(避免半截 JSON 读坏整个登记册);
15
+ * - **不越界**:目标带 `scope`(范围标签)—— 自主推进只能改变范围内的状态。
16
+ *
17
+ * 落盘位置:`<agentDir>/proactive/trust/registry.json`(与邮箱 / 线程 / 事件流同族目录)。
18
+ *
19
+ * @capability: trust-entrust
20
+ * @observable: pi-proactive/src/trust-registry.ts:TrustRegistry
21
+ * @attribution: pi-proactive/src/trust-registry.ts:TrustRegistry.registerEntrustment
22
+ * @outcome: pi-proactive/src/trust-metrics.ts:ConservationReport
23
+ * @checked: test:pi-proactive/tests/trust-registry.test.ts#D1-2 四段闭环成立
24
+ */
25
+ import fs from "node:fs";
26
+ import path from "node:path";
27
+ import { randomUUID } from "node:crypto";
28
+ import { ensureDir, writeAtomicFile } from "./config.js";
29
+ /** 登记册文件格式版本。 */
30
+ export const REGISTRY_SCHEMA_VERSION = 1;
31
+ /** 目标是否**可判定完成**(护栏①的判据)。 */
32
+ export function isDecidable(goal) {
33
+ const d = goal.doneWhen;
34
+ if (d === undefined)
35
+ return false;
36
+ if (d.type === "checklist")
37
+ return d.items.length > 0;
38
+ return Number.isFinite(d.target);
39
+ }
40
+ /** 目标是否**已达成**(按完成定义判定,缺省定义 → 未达成)。 */
41
+ export function goalSatisfied(goal) {
42
+ const d = goal.doneWhen;
43
+ if (d === undefined)
44
+ return false;
45
+ if (d.type === "checklist")
46
+ return d.items.length > 0 && d.items.every((i) => i.done);
47
+ if (d.op === ">=")
48
+ return d.current >= d.target;
49
+ if (d.op === "<=")
50
+ return d.current <= d.target;
51
+ return d.current === d.target;
52
+ }
53
+ /** 目标差距(还差多少 / 哪些没做完)—— 候选行动的来源。 */
54
+ export function goalGap(goal) {
55
+ const d = goal.doneWhen;
56
+ if (d === undefined)
57
+ return { remaining: 1, total: 1, ratio: 1, items: [] };
58
+ if (d.type === "checklist") {
59
+ const undone = d.items.filter((i) => !i.done);
60
+ return {
61
+ remaining: undone.length,
62
+ total: d.items.length,
63
+ ratio: d.items.length === 0 ? 1 : undone.length / d.items.length,
64
+ items: undone.map((i) => i.text),
65
+ };
66
+ }
67
+ const span = Math.abs(d.target - d.current);
68
+ const step = span === 0 ? 1 : Math.max(1, Math.abs(d.target));
69
+ return { remaining: span, total: step, ratio: Math.min(1, span / step), items: [`${d.name} → ${d.op} ${d.target}`] };
70
+ }
71
+ /**
72
+ * 托付与目标的登记册(单一事实源)。
73
+ *
74
+ * 状态迁移全部走**显式方法**(`markArrived` / `markNotified` / `settle` / `revoke`),
75
+ * 不允许调用方直接改状态 → 状态机只有一处实现,事件流与登记册不会漂移。
76
+ */
77
+ export class TrustRegistry {
78
+ agentDir;
79
+ ownerAgentId;
80
+ now;
81
+ goals = [];
82
+ entrustments = [];
83
+ /** 载入时的坏数据计数(读不动的记录被跳过,不抛错)。 */
84
+ stale = 0;
85
+ constructor(opts) {
86
+ this.agentDir = opts.agentDir;
87
+ this.ownerAgentId = opts.agentId;
88
+ this.now = opts.now ?? Date.now;
89
+ this.load();
90
+ }
91
+ /** 登记册文件绝对路径。 */
92
+ path() {
93
+ return path.join(this.agentDir, "proactive", "trust", "registry.json");
94
+ }
95
+ /** 载入登记册(文件缺失 → 空册;坏记录 → 跳过并计数,绝不抛错)。 */
96
+ load() {
97
+ let raw;
98
+ try {
99
+ raw = fs.readFileSync(this.path(), "utf8");
100
+ }
101
+ catch {
102
+ return;
103
+ }
104
+ let parsed;
105
+ try {
106
+ parsed = JSON.parse(raw);
107
+ }
108
+ catch {
109
+ this.stale += 1;
110
+ return;
111
+ }
112
+ const file = parsed;
113
+ this.goals = Array.isArray(file.goals) ? file.goals.filter((g) => g && typeof g.id === "string") : [];
114
+ this.entrustments = Array.isArray(file.entrustments)
115
+ ? file.entrustments.filter((e) => e && typeof e.id === "string")
116
+ : [];
117
+ }
118
+ /** 落盘(临时文件 + rename → 原子;失败不抛错,只记日志)。 */
119
+ save() {
120
+ const file = this.path();
121
+ const payload = { schemaVersion: REGISTRY_SCHEMA_VERSION, goals: this.goals, entrustments: this.entrustments };
122
+ try {
123
+ ensureDir(path.dirname(file));
124
+ writeAtomicFile(file, `${JSON.stringify(payload, null, 2)}\n`);
125
+ }
126
+ catch (err) {
127
+ console.error("[proactive] 托付登记册落盘失败", err);
128
+ }
129
+ }
130
+ /** 载入时跳过的坏记录数(审计用)。 */
131
+ staleRecords() {
132
+ return this.stale;
133
+ }
134
+ // ---- 目标 ----
135
+ /** 登记一个目标(**完成定义缺省 = 不可判定** → 由护栏拦住自主推进)。 */
136
+ registerGoal(input) {
137
+ const at = this.now();
138
+ const goal = {
139
+ id: input.id ?? randomUUID(),
140
+ title: input.title,
141
+ ...(input.doneWhen !== undefined ? { doneWhen: input.doneWhen } : {}),
142
+ status: "open",
143
+ scope: input.scope ?? [],
144
+ budget: { maxActions: input.maxActions ?? 8, usedActions: 0 },
145
+ permission: input.permission ?? "auto",
146
+ progressSteps: 0,
147
+ createdAt: at,
148
+ updatedAt: at,
149
+ };
150
+ this.goals = [...this.goals.filter((g) => g.id !== goal.id), goal];
151
+ this.save();
152
+ return goal;
153
+ }
154
+ /** 取目标(不存在 → undefined)。 */
155
+ getGoal(id) {
156
+ return this.goals.find((g) => g.id === id);
157
+ }
158
+ /** 全部目标(按登记顺序)。 */
159
+ listGoals() {
160
+ return [...this.goals];
161
+ }
162
+ /** 未竟目标(`open`;自主推进的发现来源之一)。 */
163
+ listOpenGoals() {
164
+ return this.goals.filter((g) => g.status === "open");
165
+ }
166
+ /** 勾选清单项 / 更新指标当前值(完成定义的推进)。 */
167
+ updateDoneWhen(goalId, update) {
168
+ const goal = this.getGoal(goalId);
169
+ if (goal === undefined || goal.doneWhen === undefined)
170
+ return undefined;
171
+ if (goal.doneWhen.type === "checklist" && update.itemId !== undefined) {
172
+ goal.doneWhen.items = goal.doneWhen.items.map((i) => i.id === update.itemId ? { ...i, done: update.itemDone === true } : i);
173
+ }
174
+ if (goal.doneWhen.type === "metric" && update.metricCurrent !== undefined) {
175
+ goal.doneWhen.current = update.metricCurrent;
176
+ }
177
+ goal.updatedAt = this.now();
178
+ this.save();
179
+ return goal;
180
+ }
181
+ /** 归因推进:这次行动让目标前进了 `delta` 步(可追溯⑤的载体)。 */
182
+ recordProgress(goalId, delta) {
183
+ const goal = this.getGoal(goalId);
184
+ if (goal === undefined)
185
+ return undefined;
186
+ goal.progressSteps += delta;
187
+ goal.updatedAt = this.now();
188
+ this.save();
189
+ return goal;
190
+ }
191
+ /** 消耗预算(护栏②):超出上限 → 返回 false(调用方必须停)。 */
192
+ consumeBudget(goalId, amount = 1) {
193
+ const goal = this.getGoal(goalId);
194
+ if (goal === undefined)
195
+ return false;
196
+ if (goal.budget.usedActions + amount > goal.budget.maxActions)
197
+ return false;
198
+ goal.budget.usedActions += amount;
199
+ goal.updatedAt = this.now();
200
+ this.save();
201
+ return true;
202
+ }
203
+ /**
204
+ * 设置目标状态。
205
+ *
206
+ * `needs-human` **必须**带原因(否则就是「静默结账」的变体 → 违反红线)。
207
+ */
208
+ setGoalStatus(goalId, status, humanReason) {
209
+ const goal = this.getGoal(goalId);
210
+ if (goal === undefined)
211
+ return undefined;
212
+ if (status === "needs-human" && (humanReason === undefined || humanReason.trim() === "")) {
213
+ return undefined;
214
+ }
215
+ goal.status = status;
216
+ if (status === "needs-human")
217
+ goal.humanReason = humanReason;
218
+ goal.updatedAt = this.now();
219
+ this.save();
220
+ return goal;
221
+ }
222
+ // ---- 托付 ----
223
+ /** 登记一条托付("盯着 X")。 */
224
+ registerEntrustment(input) {
225
+ const at = this.now();
226
+ const e = {
227
+ id: input.id ?? randomUUID(),
228
+ target: input.target,
229
+ condition: input.condition,
230
+ status: "active",
231
+ ...(input.goalId !== undefined ? { goalId: input.goalId } : {}),
232
+ ...(input.needsHuman !== undefined ? { needsHuman: input.needsHuman } : {}),
233
+ ...(input.humanReason !== undefined ? { humanReason: input.humanReason } : {}),
234
+ createdAt: at,
235
+ };
236
+ this.entrustments = [...this.entrustments.filter((x) => x.id !== e.id), e];
237
+ this.save();
238
+ return e;
239
+ }
240
+ /** 取托付(不存在 → undefined)。 */
241
+ getEntrustment(id) {
242
+ return this.entrustments.find((e) => e.id === id);
243
+ }
244
+ /** 全部托付。 */
245
+ listEntrustments() {
246
+ return [...this.entrustments];
247
+ }
248
+ /** 未闭合托付(`active` / `arrived` / `notified` —— 自主推进的发现来源之二)。 */
249
+ listUnclosedEntrustments() {
250
+ return this.entrustments.filter((e) => e.status === "active" || e.status === "arrived" || e.status === "notified");
251
+ }
252
+ /** 到达(第二段):条件已满足。 */
253
+ markArrived(id) {
254
+ const e = this.getEntrustment(id);
255
+ if (e === undefined || e.status !== "active")
256
+ return undefined;
257
+ e.status = "arrived";
258
+ e.arrivedAt = this.now();
259
+ this.save();
260
+ return e;
261
+ }
262
+ /**
263
+ * 知会(第三段)。
264
+ *
265
+ * **幂等**:已 `notified` 的托付再调用 → 返回 undefined(不重复知会、不重复落事件)。
266
+ * (双通道去重的账本侧:通知器与登记册任一方被重复调用都不会产生第二次知会。)
267
+ */
268
+ markNotified(id) {
269
+ const e = this.getEntrustment(id);
270
+ if (e === undefined || e.status !== "arrived")
271
+ return undefined;
272
+ e.status = "notified";
273
+ e.notifiedAt = this.now();
274
+ this.save();
275
+ return e;
276
+ }
277
+ /**
278
+ * 结账(第四段)。
279
+ *
280
+ * **需要人决定的托付不得自动结账**(D3)→ `needsHuman` 的托付调用本方法 → 返回 undefined。
281
+ */
282
+ settle(id) {
283
+ const e = this.getEntrustment(id);
284
+ if (e === undefined)
285
+ return undefined;
286
+ if (e.needsHuman === true)
287
+ return undefined;
288
+ if (e.status !== "notified" && e.status !== "arrived")
289
+ return undefined;
290
+ e.status = "settled";
291
+ e.settledAt = this.now();
292
+ this.save();
293
+ return e;
294
+ }
295
+ /** 撤销(任何时候可撤 —— 护栏④)。 */
296
+ revoke(id) {
297
+ const e = this.getEntrustment(id);
298
+ if (e === undefined || e.status === "settled" || e.status === "revoked")
299
+ return undefined;
300
+ e.status = "revoked";
301
+ e.revokedAt = this.now();
302
+ this.save();
303
+ return e;
304
+ }
305
+ /**
306
+ * 标记「需人决策」(human-gated)。
307
+ *
308
+ * 记录**原因**;托付**不**被结账(保持 `arrived`/`notified`)→ 可查、可继续。
309
+ */
310
+ markNeedsHuman(id, reason) {
311
+ const e = this.getEntrustment(id);
312
+ if (e === undefined)
313
+ return undefined;
314
+ e.needsHuman = true;
315
+ e.humanReason = reason;
316
+ this.save();
317
+ return e;
318
+ }
319
+ /** 本 agent id(事件流用)。 */
320
+ get agentId() {
321
+ return this.ownerAgentId;
322
+ }
323
+ }