pi-proactive 0.2.0-beta.5 → 0.2.0-beta.6

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 (1395) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/README.md +32 -14
  3. package/daemon/run-daemon.mjs +268 -0
  4. package/package.json +9 -6
  5. package/skills/pi-proactive/SKILL.md +11 -16
  6. package/tools/daemon-common.mjs +289 -0
  7. package/tools/daemon-install.mjs +488 -0
  8. package/tools/daemon-uninstall.mjs +302 -0
  9. package/tools/enumerate-residue.mjs +487 -0
  10. package/tools/verify-windows.mjs +358 -0
  11. package/node_modules/typebox/build/compile/code.d.mts +0 -12
  12. package/node_modules/typebox/build/compile/code.mjs +0 -65
  13. package/node_modules/typebox/build/compile/compile.d.mts +0 -6
  14. package/node_modules/typebox/build/compile/compile.mjs +0 -12
  15. package/node_modules/typebox/build/compile/index.d.mts +0 -8
  16. package/node_modules/typebox/build/compile/index.mjs +0 -14
  17. package/node_modules/typebox/build/compile/validator.d.mts +0 -35
  18. package/node_modules/typebox/build/compile/validator.mjs +0 -91
  19. package/node_modules/typebox/build/error/errors.d.mts +0 -208
  20. package/node_modules/typebox/build/error/errors.mjs +0 -18
  21. package/node_modules/typebox/build/error/index.d.mts +0 -1
  22. package/node_modules/typebox/build/error/index.mjs +0 -1
  23. package/node_modules/typebox/build/format/_registry.d.mts +0 -15
  24. package/node_modules/typebox/build/format/_registry.mjs +0 -96
  25. package/node_modules/typebox/build/format/date.d.mts +0 -6
  26. package/node_modules/typebox/build/format/date.mjs +0 -19
  27. package/node_modules/typebox/build/format/date_time.d.mts +0 -6
  28. package/node_modules/typebox/build/format/date_time.mjs +0 -11
  29. package/node_modules/typebox/build/format/duration.d.mts +0 -5
  30. package/node_modules/typebox/build/format/duration.mjs +0 -8
  31. package/node_modules/typebox/build/format/email.d.mts +0 -5
  32. package/node_modules/typebox/build/format/email.mjs +0 -8
  33. package/node_modules/typebox/build/format/format.d.mts +0 -22
  34. package/node_modules/typebox/build/format/format.mjs +0 -22
  35. package/node_modules/typebox/build/format/hostname.d.mts +0 -7
  36. package/node_modules/typebox/build/format/hostname.mjs +0 -10
  37. package/node_modules/typebox/build/format/idn_email.d.mts +0 -5
  38. package/node_modules/typebox/build/format/idn_email.mjs +0 -8
  39. package/node_modules/typebox/build/format/idn_hostname.d.mts +0 -8
  40. package/node_modules/typebox/build/format/idn_hostname.mjs +0 -11
  41. package/node_modules/typebox/build/format/idna/format/bidi.d.mts +0 -3
  42. package/node_modules/typebox/build/format/idna/format/bidi.mjs +0 -98
  43. package/node_modules/typebox/build/format/idna/format/puny.d.mts +0 -3
  44. package/node_modules/typebox/build/format/idna/format/puny.mjs +0 -144
  45. package/node_modules/typebox/build/format/idna/hostname.d.mts +0 -1
  46. package/node_modules/typebox/build/format/idna/hostname.mjs +0 -16
  47. package/node_modules/typebox/build/format/idna/idn-hostname.d.mts +0 -1
  48. package/node_modules/typebox/build/format/idna/idn-hostname.mjs +0 -43
  49. package/node_modules/typebox/build/format/idna/index.d.mts +0 -2
  50. package/node_modules/typebox/build/format/idna/index.mjs +0 -2
  51. package/node_modules/typebox/build/format/idna/label/ascii.d.mts +0 -1
  52. package/node_modules/typebox/build/format/idna/label/ascii.mjs +0 -9
  53. package/node_modules/typebox/build/format/idna/label/puny.d.mts +0 -1
  54. package/node_modules/typebox/build/format/idna/label/puny.mjs +0 -28
  55. package/node_modules/typebox/build/format/idna/label/unicode.d.mts +0 -1
  56. package/node_modules/typebox/build/format/idna/label/unicode.mjs +0 -106
  57. package/node_modules/typebox/build/format/idna/pattern/pattern.d.mts +0 -30
  58. package/node_modules/typebox/build/format/idna/pattern/pattern.mjs +0 -70
  59. package/node_modules/typebox/build/format/index.d.mts +0 -4
  60. package/node_modules/typebox/build/format/index.mjs +0 -4
  61. package/node_modules/typebox/build/format/ipv4.d.mts +0 -5
  62. package/node_modules/typebox/build/format/ipv4.mjs +0 -8
  63. package/node_modules/typebox/build/format/ipv6.d.mts +0 -5
  64. package/node_modules/typebox/build/format/ipv6.mjs +0 -8
  65. package/node_modules/typebox/build/format/iri.d.mts +0 -5
  66. package/node_modules/typebox/build/format/iri.mjs +0 -35
  67. package/node_modules/typebox/build/format/iri_reference.d.mts +0 -5
  68. package/node_modules/typebox/build/format/iri_reference.mjs +0 -14
  69. package/node_modules/typebox/build/format/json_pointer.d.mts +0 -6
  70. package/node_modules/typebox/build/format/json_pointer.mjs +0 -9
  71. package/node_modules/typebox/build/format/json_pointer_uri_fragment.d.mts +0 -6
  72. package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +0 -9
  73. package/node_modules/typebox/build/format/regex.d.mts +0 -5
  74. package/node_modules/typebox/build/format/regex.mjs +0 -13
  75. package/node_modules/typebox/build/format/relative_json_pointer.d.mts +0 -6
  76. package/node_modules/typebox/build/format/relative_json_pointer.mjs +0 -9
  77. package/node_modules/typebox/build/format/time.d.mts +0 -5
  78. package/node_modules/typebox/build/format/time.mjs +0 -32
  79. package/node_modules/typebox/build/format/uri.d.mts +0 -5
  80. package/node_modules/typebox/build/format/uri.mjs +0 -8
  81. package/node_modules/typebox/build/format/uri_reference.d.mts +0 -5
  82. package/node_modules/typebox/build/format/uri_reference.mjs +0 -8
  83. package/node_modules/typebox/build/format/uri_template.d.mts +0 -5
  84. package/node_modules/typebox/build/format/uri_template.mjs +0 -9
  85. package/node_modules/typebox/build/format/url.d.mts +0 -6
  86. package/node_modules/typebox/build/format/url.mjs +0 -8
  87. package/node_modules/typebox/build/format/uuid.d.mts +0 -6
  88. package/node_modules/typebox/build/format/uuid.mjs +0 -9
  89. package/node_modules/typebox/build/guard/emit.d.mts +0 -56
  90. package/node_modules/typebox/build/guard/emit.mjs +0 -191
  91. package/node_modules/typebox/build/guard/globals.d.mts +0 -35
  92. package/node_modules/typebox/build/guard/globals.mjs +0 -90
  93. package/node_modules/typebox/build/guard/guard.d.mts +0 -71
  94. package/node_modules/typebox/build/guard/guard.mjs +0 -221
  95. package/node_modules/typebox/build/guard/index.d.mts +0 -6
  96. package/node_modules/typebox/build/guard/index.mjs +0 -6
  97. package/node_modules/typebox/build/guard/native.d.mts +0 -20
  98. package/node_modules/typebox/build/guard/native.mjs +0 -60
  99. package/node_modules/typebox/build/guard/string.d.mts +0 -6
  100. package/node_modules/typebox/build/guard/string.mjs +0 -168
  101. package/node_modules/typebox/build/index.d.mts +0 -8
  102. package/node_modules/typebox/build/index.mjs +0 -14
  103. package/node_modules/typebox/build/schema/build.d.mts +0 -39
  104. package/node_modules/typebox/build/schema/build.mjs +0 -118
  105. package/node_modules/typebox/build/schema/check.d.mts +0 -6
  106. package/node_modules/typebox/build/schema/check.mjs +0 -14
  107. package/node_modules/typebox/build/schema/compile.d.mts +0 -23
  108. package/node_modules/typebox/build/schema/compile.mjs +0 -46
  109. package/node_modules/typebox/build/schema/engine/_context.d.mts +0 -30
  110. package/node_modules/typebox/build/schema/engine/_context.mjs +0 -124
  111. package/node_modules/typebox/build/schema/engine/_exact_optional.d.mts +0 -3
  112. package/node_modules/typebox/build/schema/engine/_exact_optional.mjs +0 -20
  113. package/node_modules/typebox/build/schema/engine/_externals.d.mts +0 -7
  114. package/node_modules/typebox/build/schema/engine/_externals.mjs +0 -25
  115. package/node_modules/typebox/build/schema/engine/_functions.d.mts +0 -6
  116. package/node_modules/typebox/build/schema/engine/_functions.mjs +0 -65
  117. package/node_modules/typebox/build/schema/engine/_reducer.d.mts +0 -4
  118. package/node_modules/typebox/build/schema/engine/_reducer.mjs +0 -45
  119. package/node_modules/typebox/build/schema/engine/_refine.d.mts +0 -6
  120. package/node_modules/typebox/build/schema/engine/_refine.mjs +0 -29
  121. package/node_modules/typebox/build/schema/engine/_regexp.d.mts +0 -2
  122. package/node_modules/typebox/build/schema/engine/_regexp.mjs +0 -4
  123. package/node_modules/typebox/build/schema/engine/_stack.d.mts +0 -22
  124. package/node_modules/typebox/build/schema/engine/_stack.mjs +0 -209
  125. package/node_modules/typebox/build/schema/engine/_unique.d.mts +0 -2
  126. package/node_modules/typebox/build/schema/engine/_unique.mjs +0 -5
  127. package/node_modules/typebox/build/schema/engine/additionalItems.d.mts +0 -6
  128. package/node_modules/typebox/build/schema/engine/additionalItems.mjs +0 -60
  129. package/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +0 -9
  130. package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +0 -123
  131. package/node_modules/typebox/build/schema/engine/allOf.d.mts +0 -6
  132. package/node_modules/typebox/build/schema/engine/allOf.mjs +0 -47
  133. package/node_modules/typebox/build/schema/engine/anyOf.d.mts +0 -6
  134. package/node_modules/typebox/build/schema/engine/anyOf.mjs +0 -52
  135. package/node_modules/typebox/build/schema/engine/boolean.d.mts +0 -5
  136. package/node_modules/typebox/build/schema/engine/boolean.mjs +0 -25
  137. package/node_modules/typebox/build/schema/engine/const.d.mts +0 -6
  138. package/node_modules/typebox/build/schema/engine/const.mjs +0 -30
  139. package/node_modules/typebox/build/schema/engine/contains.d.mts +0 -6
  140. package/node_modules/typebox/build/schema/engine/contains.mjs +0 -54
  141. package/node_modules/typebox/build/schema/engine/dependencies.d.mts +0 -6
  142. package/node_modules/typebox/build/schema/engine/dependencies.mjs +0 -45
  143. package/node_modules/typebox/build/schema/engine/dependentRequired.d.mts +0 -6
  144. package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +0 -40
  145. package/node_modules/typebox/build/schema/engine/dependentSchemas.d.mts +0 -6
  146. package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +0 -38
  147. package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +0 -6
  148. package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +0 -25
  149. package/node_modules/typebox/build/schema/engine/enum.d.mts +0 -6
  150. package/node_modules/typebox/build/schema/engine/enum.mjs +0 -33
  151. package/node_modules/typebox/build/schema/engine/exclusiveMaximum.d.mts +0 -6
  152. package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +0 -25
  153. package/node_modules/typebox/build/schema/engine/exclusiveMinimum.d.mts +0 -6
  154. package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +0 -25
  155. package/node_modules/typebox/build/schema/engine/format.d.mts +0 -6
  156. package/node_modules/typebox/build/schema/engine/format.mjs +0 -26
  157. package/node_modules/typebox/build/schema/engine/if.d.mts +0 -6
  158. package/node_modules/typebox/build/schema/engine/if.mjs +0 -47
  159. package/node_modules/typebox/build/schema/engine/index.d.mts +0 -48
  160. package/node_modules/typebox/build/schema/engine/index.mjs +0 -54
  161. package/node_modules/typebox/build/schema/engine/items.d.mts +0 -6
  162. package/node_modules/typebox/build/schema/engine/items.mjs +0 -88
  163. package/node_modules/typebox/build/schema/engine/maxContains.d.mts +0 -6
  164. package/node_modules/typebox/build/schema/engine/maxContains.mjs +0 -42
  165. package/node_modules/typebox/build/schema/engine/maxItems.d.mts +0 -6
  166. package/node_modules/typebox/build/schema/engine/maxItems.mjs +0 -25
  167. package/node_modules/typebox/build/schema/engine/maxLength.d.mts +0 -6
  168. package/node_modules/typebox/build/schema/engine/maxLength.mjs +0 -25
  169. package/node_modules/typebox/build/schema/engine/maxProperties.d.mts +0 -6
  170. package/node_modules/typebox/build/schema/engine/maxProperties.mjs +0 -25
  171. package/node_modules/typebox/build/schema/engine/maximum.d.mts +0 -6
  172. package/node_modules/typebox/build/schema/engine/maximum.mjs +0 -25
  173. package/node_modules/typebox/build/schema/engine/minContains.d.mts +0 -6
  174. package/node_modules/typebox/build/schema/engine/minContains.mjs +0 -51
  175. package/node_modules/typebox/build/schema/engine/minItems.d.mts +0 -6
  176. package/node_modules/typebox/build/schema/engine/minItems.mjs +0 -25
  177. package/node_modules/typebox/build/schema/engine/minLength.d.mts +0 -6
  178. package/node_modules/typebox/build/schema/engine/minLength.mjs +0 -25
  179. package/node_modules/typebox/build/schema/engine/minProperties.d.mts +0 -6
  180. package/node_modules/typebox/build/schema/engine/minProperties.mjs +0 -25
  181. package/node_modules/typebox/build/schema/engine/minimum.d.mts +0 -6
  182. package/node_modules/typebox/build/schema/engine/minimum.mjs +0 -25
  183. package/node_modules/typebox/build/schema/engine/multipleOf.d.mts +0 -6
  184. package/node_modules/typebox/build/schema/engine/multipleOf.mjs +0 -25
  185. package/node_modules/typebox/build/schema/engine/not.d.mts +0 -6
  186. package/node_modules/typebox/build/schema/engine/not.mjs +0 -39
  187. package/node_modules/typebox/build/schema/engine/oneOf.d.mts +0 -6
  188. package/node_modules/typebox/build/schema/engine/oneOf.mjs +0 -59
  189. package/node_modules/typebox/build/schema/engine/pattern.d.mts +0 -6
  190. package/node_modules/typebox/build/schema/engine/pattern.mjs +0 -29
  191. package/node_modules/typebox/build/schema/engine/patternProperties.d.mts +0 -6
  192. package/node_modules/typebox/build/schema/engine/patternProperties.mjs +0 -45
  193. package/node_modules/typebox/build/schema/engine/prefixItems.d.mts +0 -6
  194. package/node_modules/typebox/build/schema/engine/prefixItems.mjs +0 -35
  195. package/node_modules/typebox/build/schema/engine/properties.d.mts +0 -6
  196. package/node_modules/typebox/build/schema/engine/properties.mjs +0 -75
  197. package/node_modules/typebox/build/schema/engine/propertyNames.d.mts +0 -6
  198. package/node_modules/typebox/build/schema/engine/propertyNames.mjs +0 -37
  199. package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +0 -6
  200. package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +0 -25
  201. package/node_modules/typebox/build/schema/engine/ref.d.mts +0 -6
  202. package/node_modules/typebox/build/schema/engine/ref.mjs +0 -52
  203. package/node_modules/typebox/build/schema/engine/required.d.mts +0 -6
  204. package/node_modules/typebox/build/schema/engine/required.mjs +0 -32
  205. package/node_modules/typebox/build/schema/engine/schema.d.mts +0 -9
  206. package/node_modules/typebox/build/schema/engine/schema.mjs +0 -362
  207. package/node_modules/typebox/build/schema/engine/type.d.mts +0 -6
  208. package/node_modules/typebox/build/schema/engine/type.mjs +0 -70
  209. package/node_modules/typebox/build/schema/engine/unevaluatedItems.d.mts +0 -6
  210. package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +0 -51
  211. package/node_modules/typebox/build/schema/engine/unevaluatedProperties.d.mts +0 -6
  212. package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +0 -51
  213. package/node_modules/typebox/build/schema/engine/uniqueItems.d.mts +0 -6
  214. package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +0 -51
  215. package/node_modules/typebox/build/schema/errors.d.mts +0 -6
  216. package/node_modules/typebox/build/schema/errors.mjs +0 -18
  217. package/node_modules/typebox/build/schema/index.d.mts +0 -3
  218. package/node_modules/typebox/build/schema/index.mjs +0 -9
  219. package/node_modules/typebox/build/schema/intern/index.d.mts +0 -1
  220. package/node_modules/typebox/build/schema/intern/index.mjs +0 -1
  221. package/node_modules/typebox/build/schema/intern/intern.d.mts +0 -14
  222. package/node_modules/typebox/build/schema/intern/intern.mjs +0 -259
  223. package/node_modules/typebox/build/schema/parse.d.mts +0 -14
  224. package/node_modules/typebox/build/schema/parse.mjs +0 -32
  225. package/node_modules/typebox/build/schema/pointer/index.d.mts +0 -2
  226. package/node_modules/typebox/build/schema/pointer/index.mjs +0 -2
  227. package/node_modules/typebox/build/schema/pointer/pointer.d.mts +0 -10
  228. package/node_modules/typebox/build/schema/pointer/pointer.mjs +0 -106
  229. package/node_modules/typebox/build/schema/pointer/pointer_get.d.mts +0 -9
  230. package/node_modules/typebox/build/schema/pointer/pointer_get.mjs +0 -2
  231. package/node_modules/typebox/build/schema/resolve/index.d.mts +0 -1
  232. package/node_modules/typebox/build/schema/resolve/index.mjs +0 -1
  233. package/node_modules/typebox/build/schema/resolve/resolve.d.mts +0 -35
  234. package/node_modules/typebox/build/schema/resolve/resolve.mjs +0 -327
  235. package/node_modules/typebox/build/schema/schema.d.mts +0 -11
  236. package/node_modules/typebox/build/schema/schema.mjs +0 -11
  237. package/node_modules/typebox/build/schema/static/_canonical.d.mts +0 -7
  238. package/node_modules/typebox/build/schema/static/_canonical.mjs +0 -2
  239. package/node_modules/typebox/build/schema/static/_comparer.d.mts +0 -6
  240. package/node_modules/typebox/build/schema/static/_comparer.mjs +0 -2
  241. package/node_modules/typebox/build/schema/static/_elements.d.mts +0 -18
  242. package/node_modules/typebox/build/schema/static/_elements.mjs +0 -2
  243. package/node_modules/typebox/build/schema/static/additionalProperties.d.mts +0 -7
  244. package/node_modules/typebox/build/schema/static/additionalProperties.mjs +0 -3
  245. package/node_modules/typebox/build/schema/static/allOf.d.mts +0 -3
  246. package/node_modules/typebox/build/schema/static/allOf.mjs +0 -2
  247. package/node_modules/typebox/build/schema/static/anyOf.d.mts +0 -3
  248. package/node_modules/typebox/build/schema/static/anyOf.mjs +0 -2
  249. package/node_modules/typebox/build/schema/static/const.d.mts +0 -1
  250. package/node_modules/typebox/build/schema/static/const.mjs +0 -2
  251. package/node_modules/typebox/build/schema/static/enum.d.mts +0 -1
  252. package/node_modules/typebox/build/schema/static/enum.mjs +0 -2
  253. package/node_modules/typebox/build/schema/static/if.d.mts +0 -15
  254. package/node_modules/typebox/build/schema/static/if.mjs +0 -2
  255. package/node_modules/typebox/build/schema/static/index.d.mts +0 -1
  256. package/node_modules/typebox/build/schema/static/index.mjs +0 -1
  257. package/node_modules/typebox/build/schema/static/items.d.mts +0 -7
  258. package/node_modules/typebox/build/schema/static/items.mjs +0 -2
  259. package/node_modules/typebox/build/schema/static/oneOf.d.mts +0 -3
  260. package/node_modules/typebox/build/schema/static/oneOf.mjs +0 -2
  261. package/node_modules/typebox/build/schema/static/patternProperties.d.mts +0 -7
  262. package/node_modules/typebox/build/schema/static/patternProperties.mjs +0 -2
  263. package/node_modules/typebox/build/schema/static/prefixItems.d.mts +0 -3
  264. package/node_modules/typebox/build/schema/static/prefixItems.mjs +0 -2
  265. package/node_modules/typebox/build/schema/static/properties.d.mts +0 -32
  266. package/node_modules/typebox/build/schema/static/properties.mjs +0 -2
  267. package/node_modules/typebox/build/schema/static/propertyNames.d.mts +0 -5
  268. package/node_modules/typebox/build/schema/static/propertyNames.mjs +0 -3
  269. package/node_modules/typebox/build/schema/static/ref.d.mts +0 -8
  270. package/node_modules/typebox/build/schema/static/ref.mjs +0 -3
  271. package/node_modules/typebox/build/schema/static/required.d.mts +0 -3
  272. package/node_modules/typebox/build/schema/static/required.mjs +0 -3
  273. package/node_modules/typebox/build/schema/static/schema.d.mts +0 -59
  274. package/node_modules/typebox/build/schema/static/schema.mjs +0 -2
  275. package/node_modules/typebox/build/schema/static/static.d.mts +0 -4
  276. package/node_modules/typebox/build/schema/static/static.mjs +0 -3
  277. package/node_modules/typebox/build/schema/static/type.d.mts +0 -4
  278. package/node_modules/typebox/build/schema/static/type.mjs +0 -3
  279. package/node_modules/typebox/build/schema/static/unevaluatedProperties.d.mts +0 -7
  280. package/node_modules/typebox/build/schema/static/unevaluatedProperties.mjs +0 -3
  281. package/node_modules/typebox/build/schema/types/_refine.d.mts +0 -13
  282. package/node_modules/typebox/build/schema/types/_refine.mjs +0 -18
  283. package/node_modules/typebox/build/schema/types/additionalItems.d.mts +0 -9
  284. package/node_modules/typebox/build/schema/types/additionalItems.mjs +0 -14
  285. package/node_modules/typebox/build/schema/types/additionalProperties.d.mts +0 -9
  286. package/node_modules/typebox/build/schema/types/additionalProperties.mjs +0 -14
  287. package/node_modules/typebox/build/schema/types/allOf.d.mts +0 -9
  288. package/node_modules/typebox/build/schema/types/allOf.mjs +0 -15
  289. package/node_modules/typebox/build/schema/types/anchor.d.mts +0 -8
  290. package/node_modules/typebox/build/schema/types/anchor.mjs +0 -12
  291. package/node_modules/typebox/build/schema/types/anyOf.d.mts +0 -9
  292. package/node_modules/typebox/build/schema/types/anyOf.mjs +0 -15
  293. package/node_modules/typebox/build/schema/types/const.d.mts +0 -9
  294. package/node_modules/typebox/build/schema/types/const.mjs +0 -12
  295. package/node_modules/typebox/build/schema/types/contains.d.mts +0 -9
  296. package/node_modules/typebox/build/schema/types/contains.mjs +0 -14
  297. package/node_modules/typebox/build/schema/types/default.d.mts +0 -9
  298. package/node_modules/typebox/build/schema/types/default.mjs +0 -12
  299. package/node_modules/typebox/build/schema/types/defs.d.mts +0 -6
  300. package/node_modules/typebox/build/schema/types/defs.mjs +0 -12
  301. package/node_modules/typebox/build/schema/types/dependencies.d.mts +0 -11
  302. package/node_modules/typebox/build/schema/types/dependencies.mjs +0 -16
  303. package/node_modules/typebox/build/schema/types/dependentRequired.d.mts +0 -9
  304. package/node_modules/typebox/build/schema/types/dependentRequired.mjs +0 -15
  305. package/node_modules/typebox/build/schema/types/dependentSchemas.d.mts +0 -9
  306. package/node_modules/typebox/build/schema/types/dependentSchemas.mjs +0 -15
  307. package/node_modules/typebox/build/schema/types/dynamicAnchor.d.mts +0 -8
  308. package/node_modules/typebox/build/schema/types/dynamicAnchor.mjs +0 -12
  309. package/node_modules/typebox/build/schema/types/dynamicRef.d.mts +0 -8
  310. package/node_modules/typebox/build/schema/types/dynamicRef.mjs +0 -12
  311. package/node_modules/typebox/build/schema/types/else.d.mts +0 -9
  312. package/node_modules/typebox/build/schema/types/else.mjs +0 -14
  313. package/node_modules/typebox/build/schema/types/enum.d.mts +0 -9
  314. package/node_modules/typebox/build/schema/types/enum.mjs +0 -13
  315. package/node_modules/typebox/build/schema/types/exclusiveMaximum.d.mts +0 -9
  316. package/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs +0 -13
  317. package/node_modules/typebox/build/schema/types/exclusiveMinimum.d.mts +0 -9
  318. package/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs +0 -13
  319. package/node_modules/typebox/build/schema/types/format.d.mts +0 -9
  320. package/node_modules/typebox/build/schema/types/format.mjs +0 -13
  321. package/node_modules/typebox/build/schema/types/id.d.mts +0 -9
  322. package/node_modules/typebox/build/schema/types/id.mjs +0 -13
  323. package/node_modules/typebox/build/schema/types/if.d.mts +0 -9
  324. package/node_modules/typebox/build/schema/types/if.mjs +0 -14
  325. package/node_modules/typebox/build/schema/types/index.d.mts +0 -51
  326. package/node_modules/typebox/build/schema/types/index.mjs +0 -57
  327. package/node_modules/typebox/build/schema/types/items.d.mts +0 -19
  328. package/node_modules/typebox/build/schema/types/items.mjs +0 -26
  329. package/node_modules/typebox/build/schema/types/maxContains.d.mts +0 -9
  330. package/node_modules/typebox/build/schema/types/maxContains.mjs +0 -13
  331. package/node_modules/typebox/build/schema/types/maxItems.d.mts +0 -9
  332. package/node_modules/typebox/build/schema/types/maxItems.mjs +0 -13
  333. package/node_modules/typebox/build/schema/types/maxLength.d.mts +0 -9
  334. package/node_modules/typebox/build/schema/types/maxLength.mjs +0 -13
  335. package/node_modules/typebox/build/schema/types/maxProperties.d.mts +0 -9
  336. package/node_modules/typebox/build/schema/types/maxProperties.mjs +0 -13
  337. package/node_modules/typebox/build/schema/types/maximum.d.mts +0 -9
  338. package/node_modules/typebox/build/schema/types/maximum.mjs +0 -13
  339. package/node_modules/typebox/build/schema/types/minContains.d.mts +0 -9
  340. package/node_modules/typebox/build/schema/types/minContains.mjs +0 -13
  341. package/node_modules/typebox/build/schema/types/minItems.d.mts +0 -9
  342. package/node_modules/typebox/build/schema/types/minItems.mjs +0 -13
  343. package/node_modules/typebox/build/schema/types/minLength.d.mts +0 -9
  344. package/node_modules/typebox/build/schema/types/minLength.mjs +0 -13
  345. package/node_modules/typebox/build/schema/types/minProperties.d.mts +0 -9
  346. package/node_modules/typebox/build/schema/types/minProperties.mjs +0 -13
  347. package/node_modules/typebox/build/schema/types/minimum.d.mts +0 -9
  348. package/node_modules/typebox/build/schema/types/minimum.mjs +0 -13
  349. package/node_modules/typebox/build/schema/types/multipleOf.d.mts +0 -9
  350. package/node_modules/typebox/build/schema/types/multipleOf.mjs +0 -13
  351. package/node_modules/typebox/build/schema/types/not.d.mts +0 -9
  352. package/node_modules/typebox/build/schema/types/not.mjs +0 -14
  353. package/node_modules/typebox/build/schema/types/oneOf.d.mts +0 -9
  354. package/node_modules/typebox/build/schema/types/oneOf.mjs +0 -15
  355. package/node_modules/typebox/build/schema/types/pattern.d.mts +0 -9
  356. package/node_modules/typebox/build/schema/types/pattern.mjs +0 -14
  357. package/node_modules/typebox/build/schema/types/patternProperties.d.mts +0 -9
  358. package/node_modules/typebox/build/schema/types/patternProperties.mjs +0 -15
  359. package/node_modules/typebox/build/schema/types/prefixItems.d.mts +0 -8
  360. package/node_modules/typebox/build/schema/types/prefixItems.mjs +0 -14
  361. package/node_modules/typebox/build/schema/types/properties.d.mts +0 -9
  362. package/node_modules/typebox/build/schema/types/properties.mjs +0 -15
  363. package/node_modules/typebox/build/schema/types/propertyNames.d.mts +0 -9
  364. package/node_modules/typebox/build/schema/types/propertyNames.mjs +0 -15
  365. package/node_modules/typebox/build/schema/types/recursiveAnchor.d.mts +0 -12
  366. package/node_modules/typebox/build/schema/types/recursiveAnchor.mjs +0 -19
  367. package/node_modules/typebox/build/schema/types/recursiveRef.d.mts +0 -8
  368. package/node_modules/typebox/build/schema/types/recursiveRef.mjs +0 -12
  369. package/node_modules/typebox/build/schema/types/ref.d.mts +0 -9
  370. package/node_modules/typebox/build/schema/types/ref.mjs +0 -13
  371. package/node_modules/typebox/build/schema/types/required.d.mts +0 -9
  372. package/node_modules/typebox/build/schema/types/required.mjs +0 -14
  373. package/node_modules/typebox/build/schema/types/schema.d.mts +0 -9
  374. package/node_modules/typebox/build/schema/types/schema.mjs +0 -14
  375. package/node_modules/typebox/build/schema/types/then.d.mts +0 -9
  376. package/node_modules/typebox/build/schema/types/then.mjs +0 -14
  377. package/node_modules/typebox/build/schema/types/type.d.mts +0 -9
  378. package/node_modules/typebox/build/schema/types/type.mjs +0 -15
  379. package/node_modules/typebox/build/schema/types/unevaluatedItems.d.mts +0 -9
  380. package/node_modules/typebox/build/schema/types/unevaluatedItems.mjs +0 -14
  381. package/node_modules/typebox/build/schema/types/unevaluatedProperties.d.mts +0 -9
  382. package/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs +0 -14
  383. package/node_modules/typebox/build/schema/types/uniqueItems.d.mts +0 -9
  384. package/node_modules/typebox/build/schema/types/uniqueItems.mjs +0 -13
  385. package/node_modules/typebox/build/system/arguments/arguments.d.mts +0 -5
  386. package/node_modules/typebox/build/system/arguments/arguments.mjs +0 -9
  387. package/node_modules/typebox/build/system/arguments/index.d.mts +0 -1
  388. package/node_modules/typebox/build/system/arguments/index.mjs +0 -1
  389. package/node_modules/typebox/build/system/environment/environment.d.mts +0 -1
  390. package/node_modules/typebox/build/system/environment/environment.mjs +0 -1
  391. package/node_modules/typebox/build/system/environment/evaluate.d.mts +0 -9
  392. package/node_modules/typebox/build/system/environment/evaluate.mjs +0 -37
  393. package/node_modules/typebox/build/system/environment/index.d.mts +0 -1
  394. package/node_modules/typebox/build/system/environment/index.mjs +0 -1
  395. package/node_modules/typebox/build/system/hashing/hash.d.mts +0 -4
  396. package/node_modules/typebox/build/system/hashing/hash.mjs +0 -232
  397. package/node_modules/typebox/build/system/hashing/index.d.mts +0 -1
  398. package/node_modules/typebox/build/system/hashing/index.mjs +0 -1
  399. package/node_modules/typebox/build/system/index.d.mts +0 -4
  400. package/node_modules/typebox/build/system/index.mjs +0 -4
  401. package/node_modules/typebox/build/system/locale/_config.d.mts +0 -7
  402. package/node_modules/typebox/build/system/locale/_config.mjs +0 -15
  403. package/node_modules/typebox/build/system/locale/_locale.d.mts +0 -40
  404. package/node_modules/typebox/build/system/locale/_locale.mjs +0 -40
  405. package/node_modules/typebox/build/system/locale/ar_001.d.mts +0 -3
  406. package/node_modules/typebox/build/system/locale/ar_001.mjs +0 -40
  407. package/node_modules/typebox/build/system/locale/bn_BD.d.mts +0 -3
  408. package/node_modules/typebox/build/system/locale/bn_BD.mjs +0 -40
  409. package/node_modules/typebox/build/system/locale/cs_CZ.d.mts +0 -3
  410. package/node_modules/typebox/build/system/locale/cs_CZ.mjs +0 -40
  411. package/node_modules/typebox/build/system/locale/de_DE.d.mts +0 -3
  412. package/node_modules/typebox/build/system/locale/de_DE.mjs +0 -40
  413. package/node_modules/typebox/build/system/locale/el_GR.d.mts +0 -3
  414. package/node_modules/typebox/build/system/locale/el_GR.mjs +0 -40
  415. package/node_modules/typebox/build/system/locale/en_US.d.mts +0 -3
  416. package/node_modules/typebox/build/system/locale/en_US.mjs +0 -39
  417. package/node_modules/typebox/build/system/locale/es_419.d.mts +0 -3
  418. package/node_modules/typebox/build/system/locale/es_419.mjs +0 -40
  419. package/node_modules/typebox/build/system/locale/es_AR.d.mts +0 -3
  420. package/node_modules/typebox/build/system/locale/es_AR.mjs +0 -40
  421. package/node_modules/typebox/build/system/locale/es_ES.d.mts +0 -3
  422. package/node_modules/typebox/build/system/locale/es_ES.mjs +0 -40
  423. package/node_modules/typebox/build/system/locale/es_MX.d.mts +0 -3
  424. package/node_modules/typebox/build/system/locale/es_MX.mjs +0 -40
  425. package/node_modules/typebox/build/system/locale/fa_IR.d.mts +0 -3
  426. package/node_modules/typebox/build/system/locale/fa_IR.mjs +0 -40
  427. package/node_modules/typebox/build/system/locale/fil_PH.d.mts +0 -3
  428. package/node_modules/typebox/build/system/locale/fil_PH.mjs +0 -40
  429. package/node_modules/typebox/build/system/locale/fr_CA.d.mts +0 -3
  430. package/node_modules/typebox/build/system/locale/fr_CA.mjs +0 -40
  431. package/node_modules/typebox/build/system/locale/fr_FR.d.mts +0 -3
  432. package/node_modules/typebox/build/system/locale/fr_FR.mjs +0 -40
  433. package/node_modules/typebox/build/system/locale/ha_NG.d.mts +0 -3
  434. package/node_modules/typebox/build/system/locale/ha_NG.mjs +0 -40
  435. package/node_modules/typebox/build/system/locale/hi_IN.d.mts +0 -3
  436. package/node_modules/typebox/build/system/locale/hi_IN.mjs +0 -40
  437. package/node_modules/typebox/build/system/locale/hu_HU.d.mts +0 -3
  438. package/node_modules/typebox/build/system/locale/hu_HU.mjs +0 -40
  439. package/node_modules/typebox/build/system/locale/id_ID.d.mts +0 -3
  440. package/node_modules/typebox/build/system/locale/id_ID.mjs +0 -40
  441. package/node_modules/typebox/build/system/locale/index.d.mts +0 -1
  442. package/node_modules/typebox/build/system/locale/index.mjs +0 -1
  443. package/node_modules/typebox/build/system/locale/it_IT.d.mts +0 -3
  444. package/node_modules/typebox/build/system/locale/it_IT.mjs +0 -40
  445. package/node_modules/typebox/build/system/locale/ja_JP.d.mts +0 -3
  446. package/node_modules/typebox/build/system/locale/ja_JP.mjs +0 -40
  447. package/node_modules/typebox/build/system/locale/ko_KR.d.mts +0 -3
  448. package/node_modules/typebox/build/system/locale/ko_KR.mjs +0 -40
  449. package/node_modules/typebox/build/system/locale/ms_MY.d.mts +0 -3
  450. package/node_modules/typebox/build/system/locale/ms_MY.mjs +0 -40
  451. package/node_modules/typebox/build/system/locale/nl_NL.d.mts +0 -3
  452. package/node_modules/typebox/build/system/locale/nl_NL.mjs +0 -40
  453. package/node_modules/typebox/build/system/locale/pl_PL.d.mts +0 -3
  454. package/node_modules/typebox/build/system/locale/pl_PL.mjs +0 -40
  455. package/node_modules/typebox/build/system/locale/pt_BR.d.mts +0 -3
  456. package/node_modules/typebox/build/system/locale/pt_BR.mjs +0 -40
  457. package/node_modules/typebox/build/system/locale/pt_PT.d.mts +0 -3
  458. package/node_modules/typebox/build/system/locale/pt_PT.mjs +0 -40
  459. package/node_modules/typebox/build/system/locale/ro_RO.d.mts +0 -3
  460. package/node_modules/typebox/build/system/locale/ro_RO.mjs +0 -40
  461. package/node_modules/typebox/build/system/locale/ru_RU.d.mts +0 -3
  462. package/node_modules/typebox/build/system/locale/ru_RU.mjs +0 -40
  463. package/node_modules/typebox/build/system/locale/sv_SE.d.mts +0 -3
  464. package/node_modules/typebox/build/system/locale/sv_SE.mjs +0 -40
  465. package/node_modules/typebox/build/system/locale/sw_TZ.d.mts +0 -3
  466. package/node_modules/typebox/build/system/locale/sw_TZ.mjs +0 -40
  467. package/node_modules/typebox/build/system/locale/th_TH.d.mts +0 -3
  468. package/node_modules/typebox/build/system/locale/th_TH.mjs +0 -40
  469. package/node_modules/typebox/build/system/locale/tr_TR.d.mts +0 -3
  470. package/node_modules/typebox/build/system/locale/tr_TR.mjs +0 -40
  471. package/node_modules/typebox/build/system/locale/uk_UA.d.mts +0 -3
  472. package/node_modules/typebox/build/system/locale/uk_UA.mjs +0 -40
  473. package/node_modules/typebox/build/system/locale/ur_PK.d.mts +0 -3
  474. package/node_modules/typebox/build/system/locale/ur_PK.mjs +0 -40
  475. package/node_modules/typebox/build/system/locale/vi_VN.d.mts +0 -3
  476. package/node_modules/typebox/build/system/locale/vi_VN.mjs +0 -40
  477. package/node_modules/typebox/build/system/locale/yo_NG.d.mts +0 -3
  478. package/node_modules/typebox/build/system/locale/yo_NG.mjs +0 -40
  479. package/node_modules/typebox/build/system/locale/zh_Hans.d.mts +0 -3
  480. package/node_modules/typebox/build/system/locale/zh_Hans.mjs +0 -40
  481. package/node_modules/typebox/build/system/locale/zh_Hant.d.mts +0 -3
  482. package/node_modules/typebox/build/system/locale/zh_Hant.mjs +0 -40
  483. package/node_modules/typebox/build/system/memory/assign.d.mts +0 -14
  484. package/node_modules/typebox/build/system/memory/assign.mjs +0 -12
  485. package/node_modules/typebox/build/system/memory/clone.d.mts +0 -5
  486. package/node_modules/typebox/build/system/memory/clone.mjs +0 -113
  487. package/node_modules/typebox/build/system/memory/create.d.mts +0 -8
  488. package/node_modules/typebox/build/system/memory/create.mjs +0 -29
  489. package/node_modules/typebox/build/system/memory/discard.d.mts +0 -4
  490. package/node_modules/typebox/build/system/memory/discard.mjs +0 -18
  491. package/node_modules/typebox/build/system/memory/freeze.d.mts +0 -4
  492. package/node_modules/typebox/build/system/memory/freeze.mjs +0 -6
  493. package/node_modules/typebox/build/system/memory/index.d.mts +0 -1
  494. package/node_modules/typebox/build/system/memory/index.mjs +0 -1
  495. package/node_modules/typebox/build/system/memory/memory.d.mts +0 -6
  496. package/node_modules/typebox/build/system/memory/memory.mjs +0 -7
  497. package/node_modules/typebox/build/system/memory/metrics.d.mts +0 -14
  498. package/node_modules/typebox/build/system/memory/metrics.mjs +0 -8
  499. package/node_modules/typebox/build/system/memory/update.d.mts +0 -7
  500. package/node_modules/typebox/build/system/memory/update.mjs +0 -33
  501. package/node_modules/typebox/build/system/settings/index.d.mts +0 -1
  502. package/node_modules/typebox/build/system/settings/index.mjs +0 -1
  503. package/node_modules/typebox/build/system/settings/settings.d.mts +0 -80
  504. package/node_modules/typebox/build/system/settings/settings.mjs +0 -36
  505. package/node_modules/typebox/build/system/system.d.mts +0 -6
  506. package/node_modules/typebox/build/system/system.mjs +0 -6
  507. package/node_modules/typebox/build/system/unreachable/index.d.mts +0 -1
  508. package/node_modules/typebox/build/system/unreachable/index.mjs +0 -1
  509. package/node_modules/typebox/build/system/unreachable/unreachable.d.mts +0 -3
  510. package/node_modules/typebox/build/system/unreachable/unreachable.mjs +0 -6
  511. package/node_modules/typebox/build/type/action/_add_immutable.d.mts +0 -11
  512. package/node_modules/typebox/build/type/action/_add_immutable.mjs +0 -11
  513. package/node_modules/typebox/build/type/action/_add_optional.d.mts +0 -11
  514. package/node_modules/typebox/build/type/action/_add_optional.mjs +0 -11
  515. package/node_modules/typebox/build/type/action/_add_readonly.d.mts +0 -11
  516. package/node_modules/typebox/build/type/action/_add_readonly.mjs +0 -11
  517. package/node_modules/typebox/build/type/action/_remove_immutable.d.mts +0 -11
  518. package/node_modules/typebox/build/type/action/_remove_immutable.mjs +0 -11
  519. package/node_modules/typebox/build/type/action/_remove_optional.d.mts +0 -11
  520. package/node_modules/typebox/build/type/action/_remove_optional.mjs +0 -11
  521. package/node_modules/typebox/build/type/action/_remove_readonly.d.mts +0 -11
  522. package/node_modules/typebox/build/type/action/_remove_readonly.mjs +0 -11
  523. package/node_modules/typebox/build/type/action/capitalize.d.mts +0 -11
  524. package/node_modules/typebox/build/type/action/capitalize.mjs +0 -11
  525. package/node_modules/typebox/build/type/action/conditional.d.mts +0 -12
  526. package/node_modules/typebox/build/type/action/conditional.mjs +0 -13
  527. package/node_modules/typebox/build/type/action/constructor_parameters.d.mts +0 -11
  528. package/node_modules/typebox/build/type/action/constructor_parameters.mjs +0 -11
  529. package/node_modules/typebox/build/type/action/evaluate.d.mts +0 -11
  530. package/node_modules/typebox/build/type/action/evaluate.mjs +0 -11
  531. package/node_modules/typebox/build/type/action/exclude.d.mts +0 -11
  532. package/node_modules/typebox/build/type/action/exclude.mjs +0 -11
  533. package/node_modules/typebox/build/type/action/extract.d.mts +0 -11
  534. package/node_modules/typebox/build/type/action/extract.mjs +0 -11
  535. package/node_modules/typebox/build/type/action/index.d.mts +0 -30
  536. package/node_modules/typebox/build/type/action/index.mjs +0 -30
  537. package/node_modules/typebox/build/type/action/indexed.d.mts +0 -14
  538. package/node_modules/typebox/build/type/action/indexed.mjs +0 -14
  539. package/node_modules/typebox/build/type/action/instance_type.d.mts +0 -11
  540. package/node_modules/typebox/build/type/action/instance_type.mjs +0 -11
  541. package/node_modules/typebox/build/type/action/interface.d.mts +0 -14
  542. package/node_modules/typebox/build/type/action/interface.mjs +0 -22
  543. package/node_modules/typebox/build/type/action/keyof.d.mts +0 -11
  544. package/node_modules/typebox/build/type/action/keyof.mjs +0 -11
  545. package/node_modules/typebox/build/type/action/lowercase.d.mts +0 -11
  546. package/node_modules/typebox/build/type/action/lowercase.mjs +0 -11
  547. package/node_modules/typebox/build/type/action/mapped.d.mts +0 -13
  548. package/node_modules/typebox/build/type/action/mapped.mjs +0 -13
  549. package/node_modules/typebox/build/type/action/module.d.mts +0 -13
  550. package/node_modules/typebox/build/type/action/module.mjs +0 -13
  551. package/node_modules/typebox/build/type/action/non_nullable.d.mts +0 -11
  552. package/node_modules/typebox/build/type/action/non_nullable.mjs +0 -11
  553. package/node_modules/typebox/build/type/action/omit.d.mts +0 -14
  554. package/node_modules/typebox/build/type/action/omit.mjs +0 -14
  555. package/node_modules/typebox/build/type/action/parameters.d.mts +0 -11
  556. package/node_modules/typebox/build/type/action/parameters.mjs +0 -11
  557. package/node_modules/typebox/build/type/action/partial.d.mts +0 -11
  558. package/node_modules/typebox/build/type/action/partial.mjs +0 -11
  559. package/node_modules/typebox/build/type/action/pick.d.mts +0 -14
  560. package/node_modules/typebox/build/type/action/pick.mjs +0 -14
  561. package/node_modules/typebox/build/type/action/readonly_object.d.mts +0 -16
  562. package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -19
  563. package/node_modules/typebox/build/type/action/required.d.mts +0 -11
  564. package/node_modules/typebox/build/type/action/required.mjs +0 -11
  565. package/node_modules/typebox/build/type/action/return_type.d.mts +0 -11
  566. package/node_modules/typebox/build/type/action/return_type.mjs +0 -11
  567. package/node_modules/typebox/build/type/action/uncapitalize.d.mts +0 -11
  568. package/node_modules/typebox/build/type/action/uncapitalize.mjs +0 -11
  569. package/node_modules/typebox/build/type/action/uppercase.d.mts +0 -11
  570. package/node_modules/typebox/build/type/action/uppercase.mjs +0 -11
  571. package/node_modules/typebox/build/type/action/with.d.mts +0 -11
  572. package/node_modules/typebox/build/type/action/with.mjs +0 -11
  573. package/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +0 -20
  574. package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +0 -66
  575. package/node_modules/typebox/build/type/engine/call/instantiate.d.mts +0 -21
  576. package/node_modules/typebox/build/type/engine/call/instantiate.mjs +0 -79
  577. package/node_modules/typebox/build/type/engine/call/resolve_arguments.d.mts +0 -13
  578. package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +0 -33
  579. package/node_modules/typebox/build/type/engine/call/resolve_target.d.mts +0 -25
  580. package/node_modules/typebox/build/type/engine/call/resolve_target.mjs +0 -27
  581. package/node_modules/typebox/build/type/engine/conditional/index.d.mts +0 -1
  582. package/node_modules/typebox/build/type/engine/conditional/index.mjs +0 -1
  583. package/node_modules/typebox/build/type/engine/conditional/instantiate.d.mts +0 -12
  584. package/node_modules/typebox/build/type/engine/conditional/instantiate.mjs +0 -23
  585. package/node_modules/typebox/build/type/engine/constructor_parameters/index.d.mts +0 -1
  586. package/node_modules/typebox/build/type/engine/constructor_parameters/index.mjs +0 -1
  587. package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +0 -14
  588. package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +0 -25
  589. package/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +0 -8
  590. package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +0 -16
  591. package/node_modules/typebox/build/type/engine/cyclic/check.d.mts +0 -21
  592. package/node_modules/typebox/build/type/engine/cyclic/check.mjs +0 -45
  593. package/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +0 -22
  594. package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +0 -47
  595. package/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +0 -28
  596. package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +0 -47
  597. package/node_modules/typebox/build/type/engine/cyclic/index.d.mts +0 -6
  598. package/node_modules/typebox/build/type/engine/cyclic/index.mjs +0 -6
  599. package/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +0 -17
  600. package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +0 -31
  601. package/node_modules/typebox/build/type/engine/cyclic/target.d.mts +0 -10
  602. package/node_modules/typebox/build/type/engine/cyclic/target.mjs +0 -16
  603. package/node_modules/typebox/build/type/engine/enum/index.d.mts +0 -1
  604. package/node_modules/typebox/build/type/engine/enum/index.mjs +0 -1
  605. package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.d.mts +0 -8
  606. package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs +0 -9
  607. package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +0 -15
  608. package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +0 -37
  609. package/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +0 -11
  610. package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +0 -18
  611. package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +0 -37
  612. package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +0 -60
  613. package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +0 -12
  614. package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +0 -33
  615. package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +0 -26
  616. package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +0 -56
  617. package/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +0 -6
  618. package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +0 -10
  619. package/node_modules/typebox/build/type/engine/evaluate/index.d.mts +0 -8
  620. package/node_modules/typebox/build/type/engine/evaluate/index.mjs +0 -8
  621. package/node_modules/typebox/build/type/engine/evaluate/instantiate.d.mts +0 -8
  622. package/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs +0 -12
  623. package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +0 -20
  624. package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +0 -31
  625. package/node_modules/typebox/build/type/engine/exclude/index.d.mts +0 -1
  626. package/node_modules/typebox/build/type/engine/exclude/index.mjs +0 -1
  627. package/node_modules/typebox/build/type/engine/exclude/instantiate.d.mts +0 -9
  628. package/node_modules/typebox/build/type/engine/exclude/instantiate.mjs +0 -16
  629. package/node_modules/typebox/build/type/engine/exclude/operation.d.mts +0 -10
  630. package/node_modules/typebox/build/type/engine/exclude/operation.mjs +0 -22
  631. package/node_modules/typebox/build/type/engine/extract/index.d.mts +0 -1
  632. package/node_modules/typebox/build/type/engine/extract/index.mjs +0 -1
  633. package/node_modules/typebox/build/type/engine/extract/instantiate.d.mts +0 -9
  634. package/node_modules/typebox/build/type/engine/extract/instantiate.mjs +0 -16
  635. package/node_modules/typebox/build/type/engine/extract/operation.d.mts +0 -10
  636. package/node_modules/typebox/build/type/engine/extract/operation.mjs +0 -22
  637. package/node_modules/typebox/build/type/engine/helpers/index.d.mts +0 -3
  638. package/node_modules/typebox/build/type/engine/helpers/index.mjs +0 -3
  639. package/node_modules/typebox/build/type/engine/helpers/keys.d.mts +0 -3
  640. package/node_modules/typebox/build/type/engine/helpers/keys.mjs +0 -8
  641. package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.d.mts +0 -7
  642. package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs +0 -15
  643. package/node_modules/typebox/build/type/engine/helpers/union.d.mts +0 -7
  644. package/node_modules/typebox/build/type/engine/helpers/union.mjs +0 -3
  645. package/node_modules/typebox/build/type/engine/immutable/instantiate_add.d.mts +0 -10
  646. package/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs +0 -14
  647. package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.d.mts +0 -10
  648. package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.mjs +0 -14
  649. package/node_modules/typebox/build/type/engine/index.d.mts +0 -31
  650. package/node_modules/typebox/build/type/engine/index.mjs +0 -37
  651. package/node_modules/typebox/build/type/engine/indexable/from_cyclic.d.mts +0 -6
  652. package/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs +0 -8
  653. package/node_modules/typebox/build/type/engine/indexable/from_dependent.d.mts +0 -5
  654. package/node_modules/typebox/build/type/engine/indexable/from_dependent.mjs +0 -8
  655. package/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts +0 -6
  656. package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +0 -8
  657. package/node_modules/typebox/build/type/engine/indexable/from_intersect.d.mts +0 -5
  658. package/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs +0 -8
  659. package/node_modules/typebox/build/type/engine/indexable/from_literal.d.mts +0 -3
  660. package/node_modules/typebox/build/type/engine/indexable/from_literal.mjs +0 -5
  661. package/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts +0 -5
  662. package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +0 -8
  663. package/node_modules/typebox/build/type/engine/indexable/from_type.d.mts +0 -19
  664. package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +0 -25
  665. package/node_modules/typebox/build/type/engine/indexable/from_union.d.mts +0 -4
  666. package/node_modules/typebox/build/type/engine/indexable/from_union.mjs +0 -7
  667. package/node_modules/typebox/build/type/engine/indexable/to_indexable.d.mts +0 -9
  668. package/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs +0 -14
  669. package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.d.mts +0 -10
  670. package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs +0 -12
  671. package/node_modules/typebox/build/type/engine/indexed/array_indexer.d.mts +0 -12
  672. package/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs +0 -18
  673. package/node_modules/typebox/build/type/engine/indexed/from_array.d.mts +0 -15
  674. package/node_modules/typebox/build/type/engine/indexed/from_array.mjs +0 -35
  675. package/node_modules/typebox/build/type/engine/indexed/from_object.d.mts +0 -16
  676. package/node_modules/typebox/build/type/engine/indexed/from_object.mjs +0 -40
  677. package/node_modules/typebox/build/type/engine/indexed/from_tuple.d.mts +0 -13
  678. package/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs +0 -35
  679. package/node_modules/typebox/build/type/engine/indexed/from_type.d.mts +0 -11
  680. package/node_modules/typebox/build/type/engine/indexed/from_type.mjs +0 -14
  681. package/node_modules/typebox/build/type/engine/indexed/index.d.mts +0 -1
  682. package/node_modules/typebox/build/type/engine/indexed/index.mjs +0 -1
  683. package/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts +0 -16
  684. package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +0 -28
  685. package/node_modules/typebox/build/type/engine/instance_type/index.d.mts +0 -1
  686. package/node_modules/typebox/build/type/engine/instance_type/index.mjs +0 -1
  687. package/node_modules/typebox/build/type/engine/instance_type/instantiate.d.mts +0 -12
  688. package/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs +0 -21
  689. package/node_modules/typebox/build/type/engine/instantiate.d.mts +0 -178
  690. package/node_modules/typebox/build/type/engine/instantiate.mjs +0 -158
  691. package/node_modules/typebox/build/type/engine/interface/index.d.mts +0 -1
  692. package/node_modules/typebox/build/type/engine/interface/index.mjs +0 -1
  693. package/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +0 -15
  694. package/node_modules/typebox/build/type/engine/interface/instantiate.mjs +0 -23
  695. package/node_modules/typebox/build/type/engine/intrinsics/from_literal.d.mts +0 -5
  696. package/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs +0 -9
  697. package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts +0 -6
  698. package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +0 -8
  699. package/node_modules/typebox/build/type/engine/intrinsics/from_type.d.mts +0 -10
  700. package/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs +0 -13
  701. package/node_modules/typebox/build/type/engine/intrinsics/from_union.d.mts +0 -6
  702. package/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs +0 -7
  703. package/node_modules/typebox/build/type/engine/intrinsics/index.d.mts +0 -1
  704. package/node_modules/typebox/build/type/engine/intrinsics/index.mjs +0 -1
  705. package/node_modules/typebox/build/type/engine/intrinsics/instantiate.d.mts +0 -38
  706. package/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs +0 -52
  707. package/node_modules/typebox/build/type/engine/intrinsics/mapping.d.mts +0 -9
  708. package/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs +0 -4
  709. package/node_modules/typebox/build/type/engine/keyof/from_any.d.mts +0 -6
  710. package/node_modules/typebox/build/type/engine/keyof/from_any.mjs +0 -8
  711. package/node_modules/typebox/build/type/engine/keyof/from_array.d.mts +0 -4
  712. package/node_modules/typebox/build/type/engine/keyof/from_array.mjs +0 -5
  713. package/node_modules/typebox/build/type/engine/keyof/from_object.d.mts +0 -10
  714. package/node_modules/typebox/build/type/engine/keyof/from_object.mjs +0 -20
  715. package/node_modules/typebox/build/type/engine/keyof/from_record.d.mts +0 -4
  716. package/node_modules/typebox/build/type/engine/keyof/from_record.mjs +0 -5
  717. package/node_modules/typebox/build/type/engine/keyof/from_tuple.d.mts +0 -5
  718. package/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs +0 -7
  719. package/node_modules/typebox/build/type/engine/keyof/from_type.d.mts +0 -15
  720. package/node_modules/typebox/build/type/engine/keyof/from_type.mjs +0 -23
  721. package/node_modules/typebox/build/type/engine/keyof/index.d.mts +0 -1
  722. package/node_modules/typebox/build/type/engine/keyof/index.mjs +0 -1
  723. package/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts +0 -16
  724. package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +0 -29
  725. package/node_modules/typebox/build/type/engine/mapped/index.d.mts +0 -1
  726. package/node_modules/typebox/build/type/engine/mapped/index.mjs +0 -1
  727. package/node_modules/typebox/build/type/engine/mapped/instantiate.d.mts +0 -10
  728. package/node_modules/typebox/build/type/engine/mapped/instantiate.mjs +0 -15
  729. package/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts +0 -22
  730. package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +0 -42
  731. package/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts +0 -17
  732. package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +0 -39
  733. package/node_modules/typebox/build/type/engine/module/index.d.mts +0 -1
  734. package/node_modules/typebox/build/type/engine/module/index.mjs +0 -1
  735. package/node_modules/typebox/build/type/engine/module/instantiate.d.mts +0 -19
  736. package/node_modules/typebox/build/type/engine/module/instantiate.mjs +0 -36
  737. package/node_modules/typebox/build/type/engine/non_nullable/index.d.mts +0 -1
  738. package/node_modules/typebox/build/type/engine/non_nullable/index.mjs +0 -1
  739. package/node_modules/typebox/build/type/engine/non_nullable/instantiate.d.mts +0 -14
  740. package/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs +0 -22
  741. package/node_modules/typebox/build/type/engine/object/collapse.d.mts +0 -12
  742. package/node_modules/typebox/build/type/engine/object/collapse.mjs +0 -14
  743. package/node_modules/typebox/build/type/engine/object/from_cyclic.d.mts +0 -6
  744. package/node_modules/typebox/build/type/engine/object/from_cyclic.mjs +0 -8
  745. package/node_modules/typebox/build/type/engine/object/from_dependent.d.mts +0 -5
  746. package/node_modules/typebox/build/type/engine/object/from_dependent.mjs +0 -8
  747. package/node_modules/typebox/build/type/engine/object/from_intersect.d.mts +0 -17
  748. package/node_modules/typebox/build/type/engine/object/from_intersect.mjs +0 -22
  749. package/node_modules/typebox/build/type/engine/object/from_object.d.mts +0 -3
  750. package/node_modules/typebox/build/type/engine/object/from_object.mjs +0 -4
  751. package/node_modules/typebox/build/type/engine/object/from_tuple.d.mts +0 -6
  752. package/node_modules/typebox/build/type/engine/object/from_tuple.mjs +0 -9
  753. package/node_modules/typebox/build/type/engine/object/from_type.d.mts +0 -16
  754. package/node_modules/typebox/build/type/engine/object/from_type.mjs +0 -23
  755. package/node_modules/typebox/build/type/engine/object/from_union.d.mts +0 -12
  756. package/node_modules/typebox/build/type/engine/object/from_union.mjs +0 -19
  757. package/node_modules/typebox/build/type/engine/object/index.d.mts +0 -1
  758. package/node_modules/typebox/build/type/engine/object/index.mjs +0 -1
  759. package/node_modules/typebox/build/type/engine/omit/from_type.d.mts +0 -12
  760. package/node_modules/typebox/build/type/engine/omit/from_type.mjs +0 -18
  761. package/node_modules/typebox/build/type/engine/omit/index.d.mts +0 -1
  762. package/node_modules/typebox/build/type/engine/omit/index.mjs +0 -1
  763. package/node_modules/typebox/build/type/engine/omit/instantiate.d.mts +0 -9
  764. package/node_modules/typebox/build/type/engine/omit/instantiate.mjs +0 -16
  765. package/node_modules/typebox/build/type/engine/optional/instantiate_add.d.mts +0 -10
  766. package/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs +0 -14
  767. package/node_modules/typebox/build/type/engine/optional/instantiate_remove.d.mts +0 -10
  768. package/node_modules/typebox/build/type/engine/optional/instantiate_remove.mjs +0 -14
  769. package/node_modules/typebox/build/type/engine/parameters/index.d.mts +0 -1
  770. package/node_modules/typebox/build/type/engine/parameters/index.mjs +0 -1
  771. package/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +0 -14
  772. package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +0 -25
  773. package/node_modules/typebox/build/type/engine/partial/from_cyclic.d.mts +0 -10
  774. package/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs +0 -11
  775. package/node_modules/typebox/build/type/engine/partial/from_dependent.d.mts +0 -5
  776. package/node_modules/typebox/build/type/engine/partial/from_dependent.mjs +0 -8
  777. package/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts +0 -5
  778. package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +0 -8
  779. package/node_modules/typebox/build/type/engine/partial/from_object.d.mts +0 -8
  780. package/node_modules/typebox/build/type/engine/partial/from_object.mjs +0 -11
  781. package/node_modules/typebox/build/type/engine/partial/from_type.d.mts +0 -14
  782. package/node_modules/typebox/build/type/engine/partial/from_type.mjs +0 -20
  783. package/node_modules/typebox/build/type/engine/partial/from_union.d.mts +0 -5
  784. package/node_modules/typebox/build/type/engine/partial/from_union.mjs +0 -7
  785. package/node_modules/typebox/build/type/engine/partial/index.d.mts +0 -1
  786. package/node_modules/typebox/build/type/engine/partial/index.mjs +0 -1
  787. package/node_modules/typebox/build/type/engine/partial/instantiate.d.mts +0 -9
  788. package/node_modules/typebox/build/type/engine/partial/instantiate.mjs +0 -15
  789. package/node_modules/typebox/build/type/engine/patterns/index.d.mts +0 -2
  790. package/node_modules/typebox/build/type/engine/patterns/index.mjs +0 -2
  791. package/node_modules/typebox/build/type/engine/patterns/pattern.d.mts +0 -6
  792. package/node_modules/typebox/build/type/engine/patterns/pattern.mjs +0 -11
  793. package/node_modules/typebox/build/type/engine/patterns/template.d.mts +0 -7
  794. package/node_modules/typebox/build/type/engine/patterns/template.mjs +0 -20
  795. package/node_modules/typebox/build/type/engine/pick/from_type.d.mts +0 -13
  796. package/node_modules/typebox/build/type/engine/pick/from_type.mjs +0 -20
  797. package/node_modules/typebox/build/type/engine/pick/index.d.mts +0 -1
  798. package/node_modules/typebox/build/type/engine/pick/index.mjs +0 -1
  799. package/node_modules/typebox/build/type/engine/pick/instantiate.d.mts +0 -9
  800. package/node_modules/typebox/build/type/engine/pick/instantiate.mjs +0 -16
  801. package/node_modules/typebox/build/type/engine/priority/index.d.mts +0 -1
  802. package/node_modules/typebox/build/type/engine/priority/index.mjs +0 -1
  803. package/node_modules/typebox/build/type/engine/priority/priority.d.mts +0 -20
  804. package/node_modules/typebox/build/type/engine/priority/priority.mjs +0 -27
  805. package/node_modules/typebox/build/type/engine/readonly/instantiate_add.d.mts +0 -10
  806. package/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs +0 -14
  807. package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.d.mts +0 -10
  808. package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.mjs +0 -14
  809. package/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +0 -5
  810. package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +0 -7
  811. package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.d.mts +0 -10
  812. package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs +0 -11
  813. package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.d.mts +0 -5
  814. package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.mjs +0 -8
  815. package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts +0 -5
  816. package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +0 -8
  817. package/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +0 -8
  818. package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +0 -11
  819. package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +0 -5
  820. package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +0 -7
  821. package/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts +0 -18
  822. package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +0 -25
  823. package/node_modules/typebox/build/type/engine/readonly_object/from_union.d.mts +0 -5
  824. package/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs +0 -7
  825. package/node_modules/typebox/build/type/engine/readonly_object/index.d.mts +0 -1
  826. package/node_modules/typebox/build/type/engine/readonly_object/index.mjs +0 -1
  827. package/node_modules/typebox/build/type/engine/readonly_object/instantiate.d.mts +0 -9
  828. package/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs +0 -15
  829. package/node_modules/typebox/build/type/engine/record/from_key.d.mts +0 -24
  830. package/node_modules/typebox/build/type/engine/record/from_key.mjs +0 -40
  831. package/node_modules/typebox/build/type/engine/record/from_key_any.d.mts +0 -4
  832. package/node_modules/typebox/build/type/engine/record/from_key_any.mjs +0 -6
  833. package/node_modules/typebox/build/type/engine/record/from_key_boolean.d.mts +0 -7
  834. package/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs +0 -5
  835. package/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts +0 -6
  836. package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +0 -8
  837. package/node_modules/typebox/build/type/engine/record/from_key_integer.d.mts +0 -5
  838. package/node_modules/typebox/build/type/engine/record/from_key_integer.mjs +0 -7
  839. package/node_modules/typebox/build/type/engine/record/from_key_intersect.d.mts +0 -5
  840. package/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs +0 -8
  841. package/node_modules/typebox/build/type/engine/record/from_key_literal.d.mts +0 -11
  842. package/node_modules/typebox/build/type/engine/record/from_key_literal.mjs +0 -10
  843. package/node_modules/typebox/build/type/engine/record/from_key_number.d.mts +0 -5
  844. package/node_modules/typebox/build/type/engine/record/from_key_number.mjs +0 -7
  845. package/node_modules/typebox/build/type/engine/record/from_key_string.d.mts +0 -5
  846. package/node_modules/typebox/build/type/engine/record/from_key_string.mjs +0 -12
  847. package/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts +0 -8
  848. package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +0 -12
  849. package/node_modules/typebox/build/type/engine/record/from_key_union.d.mts +0 -20
  850. package/node_modules/typebox/build/type/engine/record/from_key_union.mjs +0 -39
  851. package/node_modules/typebox/build/type/engine/record/index.d.mts +0 -1
  852. package/node_modules/typebox/build/type/engine/record/index.mjs +0 -1
  853. package/node_modules/typebox/build/type/engine/record/instantiate.d.mts +0 -9
  854. package/node_modules/typebox/build/type/engine/record/instantiate.mjs +0 -17
  855. package/node_modules/typebox/build/type/engine/record/record_create.d.mts +0 -3
  856. package/node_modules/typebox/build/type/engine/record/record_create.mjs +0 -7
  857. package/node_modules/typebox/build/type/engine/ref/index.d.mts +0 -1
  858. package/node_modules/typebox/build/type/engine/ref/index.mjs +0 -1
  859. package/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +0 -6
  860. package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +0 -10
  861. package/node_modules/typebox/build/type/engine/required/from_cyclic.d.mts +0 -10
  862. package/node_modules/typebox/build/type/engine/required/from_cyclic.mjs +0 -11
  863. package/node_modules/typebox/build/type/engine/required/from_dependent.d.mts +0 -5
  864. package/node_modules/typebox/build/type/engine/required/from_dependent.mjs +0 -8
  865. package/node_modules/typebox/build/type/engine/required/from_intersect.d.mts +0 -5
  866. package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +0 -8
  867. package/node_modules/typebox/build/type/engine/required/from_object.d.mts +0 -8
  868. package/node_modules/typebox/build/type/engine/required/from_object.mjs +0 -11
  869. package/node_modules/typebox/build/type/engine/required/from_type.d.mts +0 -14
  870. package/node_modules/typebox/build/type/engine/required/from_type.mjs +0 -20
  871. package/node_modules/typebox/build/type/engine/required/from_union.d.mts +0 -5
  872. package/node_modules/typebox/build/type/engine/required/from_union.mjs +0 -7
  873. package/node_modules/typebox/build/type/engine/required/index.d.mts +0 -1
  874. package/node_modules/typebox/build/type/engine/required/index.mjs +0 -1
  875. package/node_modules/typebox/build/type/engine/required/instantiate.d.mts +0 -9
  876. package/node_modules/typebox/build/type/engine/required/instantiate.mjs +0 -15
  877. package/node_modules/typebox/build/type/engine/rest/index.d.mts +0 -1
  878. package/node_modules/typebox/build/type/engine/rest/index.mjs +0 -1
  879. package/node_modules/typebox/build/type/engine/rest/spread.d.mts +0 -12
  880. package/node_modules/typebox/build/type/engine/rest/spread.mjs +0 -19
  881. package/node_modules/typebox/build/type/engine/return_type/index.d.mts +0 -1
  882. package/node_modules/typebox/build/type/engine/return_type/index.mjs +0 -1
  883. package/node_modules/typebox/build/type/engine/return_type/instantiate.d.mts +0 -12
  884. package/node_modules/typebox/build/type/engine/return_type/instantiate.mjs +0 -21
  885. package/node_modules/typebox/build/type/engine/template_literal/create.d.mts +0 -1
  886. package/node_modules/typebox/build/type/engine/template_literal/create.mjs +0 -5
  887. package/node_modules/typebox/build/type/engine/template_literal/decode.d.mts +0 -30
  888. package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +0 -81
  889. package/node_modules/typebox/build/type/engine/template_literal/encode.d.mts +0 -33
  890. package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +0 -81
  891. package/node_modules/typebox/build/type/engine/template_literal/index.d.mts +0 -6
  892. package/node_modules/typebox/build/type/engine/template_literal/index.mjs +0 -6
  893. package/node_modules/typebox/build/type/engine/template_literal/instantiate.d.mts +0 -9
  894. package/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs +0 -15
  895. package/node_modules/typebox/build/type/engine/template_literal/is_finite.d.mts +0 -12
  896. package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +0 -26
  897. package/node_modules/typebox/build/type/engine/template_literal/is_pattern.d.mts +0 -6
  898. package/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +0 -10
  899. package/node_modules/typebox/build/type/engine/template_literal/static.d.mts +0 -18
  900. package/node_modules/typebox/build/type/engine/template_literal/static.mjs +0 -2
  901. package/node_modules/typebox/build/type/engine/this/expand_this.d.mts +0 -16
  902. package/node_modules/typebox/build/type/engine/this/expand_this.mjs +0 -26
  903. package/node_modules/typebox/build/type/engine/tuple/to_object.d.mts +0 -12
  904. package/node_modules/typebox/build/type/engine/tuple/to_object.mjs +0 -14
  905. package/node_modules/typebox/build/type/engine/with/index.d.mts +0 -1
  906. package/node_modules/typebox/build/type/engine/with/index.mjs +0 -1
  907. package/node_modules/typebox/build/type/engine/with/instantiate.d.mts +0 -8
  908. package/node_modules/typebox/build/type/engine/with/instantiate.mjs +0 -14
  909. package/node_modules/typebox/build/type/extends/any.d.mts +0 -9
  910. package/node_modules/typebox/build/type/extends/any.mjs +0 -12
  911. package/node_modules/typebox/build/type/extends/array.d.mts +0 -20
  912. package/node_modules/typebox/build/type/extends/array.mjs +0 -21
  913. package/node_modules/typebox/build/type/extends/bigint.d.mts +0 -7
  914. package/node_modules/typebox/build/type/extends/bigint.mjs +0 -9
  915. package/node_modules/typebox/build/type/extends/boolean.d.mts +0 -7
  916. package/node_modules/typebox/build/type/extends/boolean.mjs +0 -9
  917. package/node_modules/typebox/build/type/extends/constructor.d.mts +0 -10
  918. package/node_modules/typebox/build/type/extends/constructor.mjs +0 -17
  919. package/node_modules/typebox/build/type/extends/dependent.d.mts +0 -6
  920. package/node_modules/typebox/build/type/extends/dependent.mjs +0 -6
  921. package/node_modules/typebox/build/type/extends/enum.d.mts +0 -7
  922. package/node_modules/typebox/build/type/extends/enum.mjs +0 -7
  923. package/node_modules/typebox/build/type/extends/extends.d.mts +0 -13
  924. package/node_modules/typebox/build/type/extends/extends.mjs +0 -17
  925. package/node_modules/typebox/build/type/extends/extends_left.d.mts +0 -53
  926. package/node_modules/typebox/build/type/extends/extends_left.mjs +0 -80
  927. package/node_modules/typebox/build/type/extends/extends_right.d.mts +0 -27
  928. package/node_modules/typebox/build/type/extends/extends_right.mjs +0 -49
  929. package/node_modules/typebox/build/type/extends/function.d.mts +0 -10
  930. package/node_modules/typebox/build/type/extends/function.mjs +0 -17
  931. package/node_modules/typebox/build/type/extends/index.d.mts +0 -2
  932. package/node_modules/typebox/build/type/extends/index.mjs +0 -2
  933. package/node_modules/typebox/build/type/extends/inference.d.mts +0 -34
  934. package/node_modules/typebox/build/type/extends/inference.mjs +0 -62
  935. package/node_modules/typebox/build/type/extends/integer.d.mts +0 -8
  936. package/node_modules/typebox/build/type/extends/integer.mjs +0 -10
  937. package/node_modules/typebox/build/type/extends/intersect.d.mts +0 -6
  938. package/node_modules/typebox/build/type/extends/intersect.mjs +0 -15
  939. package/node_modules/typebox/build/type/extends/literal.d.mts +0 -18
  940. package/node_modules/typebox/build/type/extends/literal.mjs +0 -44
  941. package/node_modules/typebox/build/type/extends/never.d.mts +0 -8
  942. package/node_modules/typebox/build/type/extends/never.mjs +0 -9
  943. package/node_modules/typebox/build/type/extends/null.d.mts +0 -7
  944. package/node_modules/typebox/build/type/extends/null.mjs +0 -9
  945. package/node_modules/typebox/build/type/extends/number.d.mts +0 -7
  946. package/node_modules/typebox/build/type/extends/number.mjs +0 -9
  947. package/node_modules/typebox/build/type/extends/object.d.mts +0 -32
  948. package/node_modules/typebox/build/type/extends/object.mjs +0 -109
  949. package/node_modules/typebox/build/type/extends/parameters.d.mts +0 -15
  950. package/node_modules/typebox/build/type/extends/parameters.mjs +0 -28
  951. package/node_modules/typebox/build/type/extends/record.d.mts +0 -13
  952. package/node_modules/typebox/build/type/extends/record.mjs +0 -23
  953. package/node_modules/typebox/build/type/extends/result.d.mts +0 -24
  954. package/node_modules/typebox/build/type/extends/result.mjs +0 -36
  955. package/node_modules/typebox/build/type/extends/return_type.d.mts +0 -7
  956. package/node_modules/typebox/build/type/extends/return_type.mjs +0 -9
  957. package/node_modules/typebox/build/type/extends/string.d.mts +0 -7
  958. package/node_modules/typebox/build/type/extends/string.mjs +0 -9
  959. package/node_modules/typebox/build/type/extends/symbol.d.mts +0 -7
  960. package/node_modules/typebox/build/type/extends/symbol.mjs +0 -9
  961. package/node_modules/typebox/build/type/extends/template_literal.d.mts +0 -6
  962. package/node_modules/typebox/build/type/extends/template_literal.mjs +0 -7
  963. package/node_modules/typebox/build/type/extends/tuple.d.mts +0 -22
  964. package/node_modules/typebox/build/type/extends/tuple.mjs +0 -61
  965. package/node_modules/typebox/build/type/extends/undefined.d.mts +0 -8
  966. package/node_modules/typebox/build/type/extends/undefined.mjs +0 -10
  967. package/node_modules/typebox/build/type/extends/union.d.mts +0 -11
  968. package/node_modules/typebox/build/type/extends/union.mjs +0 -24
  969. package/node_modules/typebox/build/type/extends/unknown.d.mts +0 -9
  970. package/node_modules/typebox/build/type/extends/unknown.mjs +0 -12
  971. package/node_modules/typebox/build/type/extends/void.d.mts +0 -7
  972. package/node_modules/typebox/build/type/extends/void.mjs +0 -9
  973. package/node_modules/typebox/build/type/index.d.mts +0 -5
  974. package/node_modules/typebox/build/type/index.mjs +0 -5
  975. package/node_modules/typebox/build/type/script/index.d.mts +0 -1
  976. package/node_modules/typebox/build/type/script/index.mjs +0 -1
  977. package/node_modules/typebox/build/type/script/mapping.d.mts +0 -356
  978. package/node_modules/typebox/build/type/script/mapping.mjs +0 -528
  979. package/node_modules/typebox/build/type/script/parser.d.mts +0 -256
  980. package/node_modules/typebox/build/type/script/parser.mjs +0 -140
  981. package/node_modules/typebox/build/type/script/script.d.mts +0 -16
  982. package/node_modules/typebox/build/type/script/script.mjs +0 -22
  983. package/node_modules/typebox/build/type/script/token/bigint.d.mts +0 -8
  984. package/node_modules/typebox/build/type/script/token/bigint.mjs +0 -14
  985. package/node_modules/typebox/build/type/script/token/const.d.mts +0 -11
  986. package/node_modules/typebox/build/type/script/token/const.mjs +0 -18
  987. package/node_modules/typebox/build/type/script/token/ident.d.mts +0 -16
  988. package/node_modules/typebox/build/type/script/token/ident.mjs +0 -26
  989. package/node_modules/typebox/build/type/script/token/index.d.mts +0 -12
  990. package/node_modules/typebox/build/type/script/token/index.mjs +0 -12
  991. package/node_modules/typebox/build/type/script/token/integer.d.mts +0 -11
  992. package/node_modules/typebox/build/type/script/token/integer.mjs +0 -19
  993. package/node_modules/typebox/build/type/script/token/internal/char.d.mts +0 -75
  994. package/node_modules/typebox/build/type/script/token/internal/char.mjs +0 -26
  995. package/node_modules/typebox/build/type/script/token/internal/guard.d.mts +0 -1
  996. package/node_modules/typebox/build/type/script/token/internal/guard.mjs +0 -15
  997. package/node_modules/typebox/build/type/script/token/internal/many.d.mts +0 -7
  998. package/node_modules/typebox/build/type/script/token/internal/many.mjs +0 -14
  999. package/node_modules/typebox/build/type/script/token/internal/match.d.mts +0 -6
  1000. package/node_modules/typebox/build/type/script/token/internal/match.mjs +0 -11
  1001. package/node_modules/typebox/build/type/script/token/internal/optional.d.mts +0 -5
  1002. package/node_modules/typebox/build/type/script/token/internal/optional.mjs +0 -9
  1003. package/node_modules/typebox/build/type/script/token/internal/take.d.mts +0 -6
  1004. package/node_modules/typebox/build/type/script/token/internal/take.mjs +0 -30
  1005. package/node_modules/typebox/build/type/script/token/internal/trim.d.mts +0 -19
  1006. package/node_modules/typebox/build/type/script/token/internal/trim.mjs +0 -34
  1007. package/node_modules/typebox/build/type/script/token/number.d.mts +0 -11
  1008. package/node_modules/typebox/build/type/script/token/number.mjs +0 -19
  1009. package/node_modules/typebox/build/type/script/token/rest.d.mts +0 -4
  1010. package/node_modules/typebox/build/type/script/token/rest.mjs +0 -9
  1011. package/node_modules/typebox/build/type/script/token/span.d.mts +0 -11
  1012. package/node_modules/typebox/build/type/script/token/span.mjs +0 -24
  1013. package/node_modules/typebox/build/type/script/token/string.d.mts +0 -11
  1014. package/node_modules/typebox/build/type/script/token/string.mjs +0 -20
  1015. package/node_modules/typebox/build/type/script/token/unsigned_integer.d.mts +0 -16
  1016. package/node_modules/typebox/build/type/script/token/unsigned_integer.mjs +0 -26
  1017. package/node_modules/typebox/build/type/script/token/unsigned_number.d.mts +0 -17
  1018. package/node_modules/typebox/build/type/script/token/unsigned_number.mjs +0 -38
  1019. package/node_modules/typebox/build/type/script/token/until.d.mts +0 -7
  1020. package/node_modules/typebox/build/type/script/token/until.mjs +0 -21
  1021. package/node_modules/typebox/build/type/script/token/until_1.d.mts +0 -5
  1022. package/node_modules/typebox/build/type/script/token/until_1.mjs +0 -12
  1023. package/node_modules/typebox/build/type/types/_codec.d.mts +0 -30
  1024. package/node_modules/typebox/build/type/types/_codec.mjs +0 -60
  1025. package/node_modules/typebox/build/type/types/_immutable.d.mts +0 -9
  1026. package/node_modules/typebox/build/type/types/_immutable.mjs +0 -18
  1027. package/node_modules/typebox/build/type/types/_optional.d.mts +0 -9
  1028. package/node_modules/typebox/build/type/types/_optional.mjs +0 -18
  1029. package/node_modules/typebox/build/type/types/_readonly.d.mts +0 -9
  1030. package/node_modules/typebox/build/type/types/_readonly.mjs +0 -18
  1031. package/node_modules/typebox/build/type/types/_refine.d.mts +0 -24
  1032. package/node_modules/typebox/build/type/types/_refine.mjs +0 -36
  1033. package/node_modules/typebox/build/type/types/any.d.mts +0 -10
  1034. package/node_modules/typebox/build/type/types/any.mjs +0 -18
  1035. package/node_modules/typebox/build/type/types/array.d.mts +0 -18
  1036. package/node_modules/typebox/build/type/types/array.mjs +0 -25
  1037. package/node_modules/typebox/build/type/types/bigint.d.mts +0 -12
  1038. package/node_modules/typebox/build/type/types/bigint.mjs +0 -21
  1039. package/node_modules/typebox/build/type/types/boolean.d.mts +0 -11
  1040. package/node_modules/typebox/build/type/types/boolean.mjs +0 -17
  1041. package/node_modules/typebox/build/type/types/call.d.mts +0 -16
  1042. package/node_modules/typebox/build/type/types/call.mjs +0 -23
  1043. package/node_modules/typebox/build/type/types/constructor.d.mts +0 -18
  1044. package/node_modules/typebox/build/type/types/constructor.mjs +0 -24
  1045. package/node_modules/typebox/build/type/types/cyclic.d.mts +0 -16
  1046. package/node_modules/typebox/build/type/types/cyclic.mjs +0 -29
  1047. package/node_modules/typebox/build/type/types/deferred.d.mts +0 -13
  1048. package/node_modules/typebox/build/type/types/deferred.mjs +0 -16
  1049. package/node_modules/typebox/build/type/types/dependent.d.mts +0 -17
  1050. package/node_modules/typebox/build/type/types/dependent.mjs +0 -24
  1051. package/node_modules/typebox/build/type/types/enum.d.mts +0 -18
  1052. package/node_modules/typebox/build/type/types/enum.mjs +0 -22
  1053. package/node_modules/typebox/build/type/types/function.d.mts +0 -21
  1054. package/node_modules/typebox/build/type/types/function.mjs +0 -25
  1055. package/node_modules/typebox/build/type/types/generic.d.mts +0 -13
  1056. package/node_modules/typebox/build/type/types/generic.mjs +0 -17
  1057. package/node_modules/typebox/build/type/types/identifier.d.mts +0 -11
  1058. package/node_modules/typebox/build/type/types/identifier.mjs +0 -17
  1059. package/node_modules/typebox/build/type/types/index.d.mts +0 -45
  1060. package/node_modules/typebox/build/type/types/index.mjs +0 -51
  1061. package/node_modules/typebox/build/type/types/infer.d.mts +0 -15
  1062. package/node_modules/typebox/build/type/types/infer.mjs +0 -20
  1063. package/node_modules/typebox/build/type/types/integer.d.mts +0 -12
  1064. package/node_modules/typebox/build/type/types/integer.mjs +0 -21
  1065. package/node_modules/typebox/build/type/types/intersect.d.mts +0 -15
  1066. package/node_modules/typebox/build/type/types/intersect.mjs +0 -24
  1067. package/node_modules/typebox/build/type/types/literal.d.mts +0 -31
  1068. package/node_modules/typebox/build/type/types/literal.mjs +0 -62
  1069. package/node_modules/typebox/build/type/types/never.d.mts +0 -12
  1070. package/node_modules/typebox/build/type/types/never.mjs +0 -22
  1071. package/node_modules/typebox/build/type/types/null.d.mts +0 -11
  1072. package/node_modules/typebox/build/type/types/null.mjs +0 -17
  1073. package/node_modules/typebox/build/type/types/number.d.mts +0 -12
  1074. package/node_modules/typebox/build/type/types/number.mjs +0 -21
  1075. package/node_modules/typebox/build/type/types/object.d.mts +0 -18
  1076. package/node_modules/typebox/build/type/types/object.mjs +0 -28
  1077. package/node_modules/typebox/build/type/types/parameter.d.mts +0 -17
  1078. package/node_modules/typebox/build/type/types/parameter.mjs +0 -21
  1079. package/node_modules/typebox/build/type/types/properties.d.mts +0 -43
  1080. package/node_modules/typebox/build/type/types/properties.mjs +0 -15
  1081. package/node_modules/typebox/build/type/types/record.d.mts +0 -52
  1082. package/node_modules/typebox/build/type/types/record.mjs +0 -66
  1083. package/node_modules/typebox/build/type/types/ref.d.mts +0 -19
  1084. package/node_modules/typebox/build/type/types/ref.mjs +0 -18
  1085. package/node_modules/typebox/build/type/types/rest.d.mts +0 -11
  1086. package/node_modules/typebox/build/type/types/rest.mjs +0 -17
  1087. package/node_modules/typebox/build/type/types/schema.d.mts +0 -176
  1088. package/node_modules/typebox/build/type/types/schema.mjs +0 -15
  1089. package/node_modules/typebox/build/type/types/static.d.mts +0 -45
  1090. package/node_modules/typebox/build/type/types/static.mjs +0 -3
  1091. package/node_modules/typebox/build/type/types/string.d.mts +0 -12
  1092. package/node_modules/typebox/build/type/types/string.mjs +0 -22
  1093. package/node_modules/typebox/build/type/types/symbol.d.mts +0 -11
  1094. package/node_modules/typebox/build/type/types/symbol.mjs +0 -17
  1095. package/node_modules/typebox/build/type/types/template_literal.d.mts +0 -28
  1096. package/node_modules/typebox/build/type/types/template_literal.mjs +0 -37
  1097. package/node_modules/typebox/build/type/types/this.d.mts +0 -14
  1098. package/node_modules/typebox/build/type/types/this.mjs +0 -17
  1099. package/node_modules/typebox/build/type/types/tuple.d.mts +0 -38
  1100. package/node_modules/typebox/build/type/types/tuple.mjs +0 -25
  1101. package/node_modules/typebox/build/type/types/undefined.d.mts +0 -11
  1102. package/node_modules/typebox/build/type/types/undefined.mjs +0 -17
  1103. package/node_modules/typebox/build/type/types/union.d.mts +0 -15
  1104. package/node_modules/typebox/build/type/types/union.mjs +0 -24
  1105. package/node_modules/typebox/build/type/types/unknown.d.mts +0 -10
  1106. package/node_modules/typebox/build/type/types/unknown.mjs +0 -17
  1107. package/node_modules/typebox/build/type/types/unsafe.d.mts +0 -10
  1108. package/node_modules/typebox/build/type/types/unsafe.mjs +0 -20
  1109. package/node_modules/typebox/build/type/types/void.d.mts +0 -11
  1110. package/node_modules/typebox/build/type/types/void.mjs +0 -17
  1111. package/node_modules/typebox/build/typebox.d.mts +0 -69
  1112. package/node_modules/typebox/build/typebox.mjs +0 -85
  1113. package/node_modules/typebox/build/value/assert/assert.d.mts +0 -14
  1114. package/node_modules/typebox/build/value/assert/assert.mjs +0 -28
  1115. package/node_modules/typebox/build/value/assert/index.d.mts +0 -1
  1116. package/node_modules/typebox/build/value/assert/index.mjs +0 -1
  1117. package/node_modules/typebox/build/value/check/check.d.mts +0 -5
  1118. package/node_modules/typebox/build/value/check/check.mjs +0 -11
  1119. package/node_modules/typebox/build/value/check/index.d.mts +0 -1
  1120. package/node_modules/typebox/build/value/check/index.mjs +0 -1
  1121. package/node_modules/typebox/build/value/clean/additional.d.mts +0 -2
  1122. package/node_modules/typebox/build/value/clean/additional.mjs +0 -6
  1123. package/node_modules/typebox/build/value/clean/clean.d.mts +0 -15
  1124. package/node_modules/typebox/build/value/clean/clean.mjs +0 -17
  1125. package/node_modules/typebox/build/value/clean/from_array.d.mts +0 -2
  1126. package/node_modules/typebox/build/value/clean/from_array.mjs +0 -8
  1127. package/node_modules/typebox/build/value/clean/from_cyclic.d.mts +0 -2
  1128. package/node_modules/typebox/build/value/clean/from_cyclic.mjs +0 -6
  1129. package/node_modules/typebox/build/value/clean/from_intersect.d.mts +0 -2
  1130. package/node_modules/typebox/build/value/clean/from_intersect.mjs +0 -26
  1131. package/node_modules/typebox/build/value/clean/from_object.d.mts +0 -2
  1132. package/node_modules/typebox/build/value/clean/from_object.mjs +0 -31
  1133. package/node_modules/typebox/build/value/clean/from_record.d.mts +0 -2
  1134. package/node_modules/typebox/build/value/clean/from_record.mjs +0 -32
  1135. package/node_modules/typebox/build/value/clean/from_ref.d.mts +0 -2
  1136. package/node_modules/typebox/build/value/clean/from_ref.mjs +0 -8
  1137. package/node_modules/typebox/build/value/clean/from_tuple.d.mts +0 -2
  1138. package/node_modules/typebox/build/value/clean/from_tuple.mjs +0 -14
  1139. package/node_modules/typebox/build/value/clean/from_type.d.mts +0 -2
  1140. package/node_modules/typebox/build/value/clean/from_type.mjs +0 -21
  1141. package/node_modules/typebox/build/value/clean/from_union.d.mts +0 -2
  1142. package/node_modules/typebox/build/value/clean/from_union.mjs +0 -12
  1143. package/node_modules/typebox/build/value/clean/index.d.mts +0 -1
  1144. package/node_modules/typebox/build/value/clean/index.mjs +0 -1
  1145. package/node_modules/typebox/build/value/clone/clone.d.mts +0 -5
  1146. package/node_modules/typebox/build/value/clone/clone.mjs +0 -12
  1147. package/node_modules/typebox/build/value/clone/index.d.mts +0 -1
  1148. package/node_modules/typebox/build/value/clone/index.mjs +0 -1
  1149. package/node_modules/typebox/build/value/codec/callback.d.mts +0 -2
  1150. package/node_modules/typebox/build/value/codec/callback.mjs +0 -25
  1151. package/node_modules/typebox/build/value/codec/decode.d.mts +0 -12
  1152. package/node_modules/typebox/build/value/codec/decode.mjs +0 -52
  1153. package/node_modules/typebox/build/value/codec/encode.d.mts +0 -12
  1154. package/node_modules/typebox/build/value/codec/encode.mjs +0 -52
  1155. package/node_modules/typebox/build/value/codec/from_array.d.mts +0 -2
  1156. package/node_modules/typebox/build/value/codec/from_array.mjs +0 -35
  1157. package/node_modules/typebox/build/value/codec/from_cyclic.d.mts +0 -2
  1158. package/node_modules/typebox/build/value/codec/from_cyclic.mjs +0 -8
  1159. package/node_modules/typebox/build/value/codec/from_intersect.d.mts +0 -2
  1160. package/node_modules/typebox/build/value/codec/from_intersect.mjs +0 -58
  1161. package/node_modules/typebox/build/value/codec/from_object.d.mts +0 -2
  1162. package/node_modules/typebox/build/value/codec/from_object.mjs +0 -42
  1163. package/node_modules/typebox/build/value/codec/from_record.d.mts +0 -2
  1164. package/node_modules/typebox/build/value/codec/from_record.mjs +0 -39
  1165. package/node_modules/typebox/build/value/codec/from_ref.d.mts +0 -2
  1166. package/node_modules/typebox/build/value/codec/from_ref.mjs +0 -31
  1167. package/node_modules/typebox/build/value/codec/from_tuple.d.mts +0 -2
  1168. package/node_modules/typebox/build/value/codec/from_tuple.mjs +0 -32
  1169. package/node_modules/typebox/build/value/codec/from_type.d.mts +0 -2
  1170. package/node_modules/typebox/build/value/codec/from_type.mjs +0 -22
  1171. package/node_modules/typebox/build/value/codec/from_union.d.mts +0 -2
  1172. package/node_modules/typebox/build/value/codec/from_union.mjs +0 -39
  1173. package/node_modules/typebox/build/value/codec/has.d.mts +0 -5
  1174. package/node_modules/typebox/build/value/codec/has.mjs +0 -93
  1175. package/node_modules/typebox/build/value/codec/index.d.mts +0 -3
  1176. package/node_modules/typebox/build/value/codec/index.mjs +0 -3
  1177. package/node_modules/typebox/build/value/convert/convert.d.mts +0 -13
  1178. package/node_modules/typebox/build/value/convert/convert.mjs +0 -15
  1179. package/node_modules/typebox/build/value/convert/from_additional.d.mts +0 -6
  1180. package/node_modules/typebox/build/value/convert/from_additional.mjs +0 -18
  1181. package/node_modules/typebox/build/value/convert/from_array.d.mts +0 -2
  1182. package/node_modules/typebox/build/value/convert/from_array.mjs +0 -7
  1183. package/node_modules/typebox/build/value/convert/from_bigint.d.mts +0 -2
  1184. package/node_modules/typebox/build/value/convert/from_bigint.mjs +0 -6
  1185. package/node_modules/typebox/build/value/convert/from_boolean.d.mts +0 -2
  1186. package/node_modules/typebox/build/value/convert/from_boolean.mjs +0 -6
  1187. package/node_modules/typebox/build/value/convert/from_cyclic.d.mts +0 -2
  1188. package/node_modules/typebox/build/value/convert/from_cyclic.mjs +0 -6
  1189. package/node_modules/typebox/build/value/convert/from_enum.d.mts +0 -2
  1190. package/node_modules/typebox/build/value/convert/from_enum.mjs +0 -6
  1191. package/node_modules/typebox/build/value/convert/from_integer.d.mts +0 -2
  1192. package/node_modules/typebox/build/value/convert/from_integer.mjs +0 -6
  1193. package/node_modules/typebox/build/value/convert/from_intersect.d.mts +0 -2
  1194. package/node_modules/typebox/build/value/convert/from_intersect.mjs +0 -8
  1195. package/node_modules/typebox/build/value/convert/from_literal.d.mts +0 -2
  1196. package/node_modules/typebox/build/value/convert/from_literal.mjs +0 -44
  1197. package/node_modules/typebox/build/value/convert/from_null.d.mts +0 -2
  1198. package/node_modules/typebox/build/value/convert/from_null.mjs +0 -6
  1199. package/node_modules/typebox/build/value/convert/from_number.d.mts +0 -2
  1200. package/node_modules/typebox/build/value/convert/from_number.mjs +0 -6
  1201. package/node_modules/typebox/build/value/convert/from_object.d.mts +0 -2
  1202. package/node_modules/typebox/build/value/convert/from_object.mjs +0 -28
  1203. package/node_modules/typebox/build/value/convert/from_record.d.mts +0 -2
  1204. package/node_modules/typebox/build/value/convert/from_record.mjs +0 -23
  1205. package/node_modules/typebox/build/value/convert/from_ref.d.mts +0 -2
  1206. package/node_modules/typebox/build/value/convert/from_ref.mjs +0 -8
  1207. package/node_modules/typebox/build/value/convert/from_string.d.mts +0 -2
  1208. package/node_modules/typebox/build/value/convert/from_string.mjs +0 -6
  1209. package/node_modules/typebox/build/value/convert/from_template_literal.d.mts +0 -2
  1210. package/node_modules/typebox/build/value/convert/from_template_literal.mjs +0 -6
  1211. package/node_modules/typebox/build/value/convert/from_tuple.d.mts +0 -2
  1212. package/node_modules/typebox/build/value/convert/from_tuple.mjs +0 -11
  1213. package/node_modules/typebox/build/value/convert/from_type.d.mts +0 -2
  1214. package/node_modules/typebox/build/value/convert/from_type.mjs +0 -43
  1215. package/node_modules/typebox/build/value/convert/from_undefined.d.mts +0 -2
  1216. package/node_modules/typebox/build/value/convert/from_undefined.mjs +0 -6
  1217. package/node_modules/typebox/build/value/convert/from_union.d.mts +0 -2
  1218. package/node_modules/typebox/build/value/convert/from_union.mjs +0 -13
  1219. package/node_modules/typebox/build/value/convert/from_void.d.mts +0 -2
  1220. package/node_modules/typebox/build/value/convert/from_void.mjs +0 -6
  1221. package/node_modules/typebox/build/value/convert/index.d.mts +0 -1
  1222. package/node_modules/typebox/build/value/convert/index.mjs +0 -1
  1223. package/node_modules/typebox/build/value/convert/try/index.d.mts +0 -1
  1224. package/node_modules/typebox/build/value/convert/try/index.mjs +0 -1
  1225. package/node_modules/typebox/build/value/convert/try/try.d.mts +0 -8
  1226. package/node_modules/typebox/build/value/convert/try/try.mjs +0 -8
  1227. package/node_modules/typebox/build/value/convert/try/try_array.d.mts +0 -2
  1228. package/node_modules/typebox/build/value/convert/try/try_array.mjs +0 -6
  1229. package/node_modules/typebox/build/value/convert/try/try_bigint.d.mts +0 -2
  1230. package/node_modules/typebox/build/value/convert/try/try_bigint.mjs +0 -45
  1231. package/node_modules/typebox/build/value/convert/try/try_boolean.d.mts +0 -2
  1232. package/node_modules/typebox/build/value/convert/try/try_boolean.mjs +0 -41
  1233. package/node_modules/typebox/build/value/convert/try/try_null.d.mts +0 -2
  1234. package/node_modules/typebox/build/value/convert/try/try_null.mjs +0 -44
  1235. package/node_modules/typebox/build/value/convert/try/try_number.d.mts +0 -2
  1236. package/node_modules/typebox/build/value/convert/try/try_number.mjs +0 -44
  1237. package/node_modules/typebox/build/value/convert/try/try_result.d.mts +0 -8
  1238. package/node_modules/typebox/build/value/convert/try/try_result.mjs +0 -17
  1239. package/node_modules/typebox/build/value/convert/try/try_string.d.mts +0 -2
  1240. package/node_modules/typebox/build/value/convert/try/try_string.mjs +0 -12
  1241. package/node_modules/typebox/build/value/convert/try/try_undefined.d.mts +0 -2
  1242. package/node_modules/typebox/build/value/convert/try/try_undefined.mjs +0 -44
  1243. package/node_modules/typebox/build/value/create/create.d.mts +0 -5
  1244. package/node_modules/typebox/build/value/create/create.mjs +0 -11
  1245. package/node_modules/typebox/build/value/create/error.d.mts +0 -5
  1246. package/node_modules/typebox/build/value/create/error.mjs +0 -7
  1247. package/node_modules/typebox/build/value/create/from_array.d.mts +0 -2
  1248. package/node_modules/typebox/build/value/create/from_array.mjs +0 -10
  1249. package/node_modules/typebox/build/value/create/from_bigint.d.mts +0 -2
  1250. package/node_modules/typebox/build/value/create/from_bigint.mjs +0 -7
  1251. package/node_modules/typebox/build/value/create/from_boolean.d.mts +0 -2
  1252. package/node_modules/typebox/build/value/create/from_boolean.mjs +0 -4
  1253. package/node_modules/typebox/build/value/create/from_constructor.d.mts +0 -2
  1254. package/node_modules/typebox/build/value/create/from_constructor.mjs +0 -10
  1255. package/node_modules/typebox/build/value/create/from_cyclic.d.mts +0 -2
  1256. package/node_modules/typebox/build/value/create/from_cyclic.mjs +0 -6
  1257. package/node_modules/typebox/build/value/create/from_default.d.mts +0 -3
  1258. package/node_modules/typebox/build/value/create/from_default.mjs +0 -10
  1259. package/node_modules/typebox/build/value/create/from_enum.d.mts +0 -2
  1260. package/node_modules/typebox/build/value/create/from_enum.mjs +0 -6
  1261. package/node_modules/typebox/build/value/create/from_function.d.mts +0 -2
  1262. package/node_modules/typebox/build/value/create/from_function.mjs +0 -6
  1263. package/node_modules/typebox/build/value/create/from_integer.d.mts +0 -2
  1264. package/node_modules/typebox/build/value/create/from_integer.mjs +0 -8
  1265. package/node_modules/typebox/build/value/create/from_intersect.d.mts +0 -2
  1266. package/node_modules/typebox/build/value/create/from_intersect.mjs +0 -8
  1267. package/node_modules/typebox/build/value/create/from_literal.d.mts +0 -2
  1268. package/node_modules/typebox/build/value/create/from_literal.mjs +0 -4
  1269. package/node_modules/typebox/build/value/create/from_never.d.mts +0 -2
  1270. package/node_modules/typebox/build/value/create/from_never.mjs +0 -5
  1271. package/node_modules/typebox/build/value/create/from_null.d.mts +0 -2
  1272. package/node_modules/typebox/build/value/create/from_null.mjs +0 -4
  1273. package/node_modules/typebox/build/value/create/from_number.d.mts +0 -2
  1274. package/node_modules/typebox/build/value/create/from_number.mjs +0 -8
  1275. package/node_modules/typebox/build/value/create/from_object.d.mts +0 -2
  1276. package/node_modules/typebox/build/value/create/from_object.mjs +0 -9
  1277. package/node_modules/typebox/build/value/create/from_record.d.mts +0 -2
  1278. package/node_modules/typebox/build/value/create/from_record.mjs +0 -8
  1279. package/node_modules/typebox/build/value/create/from_ref.d.mts +0 -2
  1280. package/node_modules/typebox/build/value/create/from_ref.mjs +0 -9
  1281. package/node_modules/typebox/build/value/create/from_string.d.mts +0 -2
  1282. package/node_modules/typebox/build/value/create/from_string.mjs +0 -9
  1283. package/node_modules/typebox/build/value/create/from_symbol.d.mts +0 -2
  1284. package/node_modules/typebox/build/value/create/from_symbol.mjs +0 -4
  1285. package/node_modules/typebox/build/value/create/from_template_literal.d.mts +0 -2
  1286. package/node_modules/typebox/build/value/create/from_template_literal.mjs +0 -11
  1287. package/node_modules/typebox/build/value/create/from_tuple.d.mts +0 -2
  1288. package/node_modules/typebox/build/value/create/from_tuple.mjs +0 -5
  1289. package/node_modules/typebox/build/value/create/from_type.d.mts +0 -2
  1290. package/node_modules/typebox/build/value/create/from_type.mjs +0 -61
  1291. package/node_modules/typebox/build/value/create/from_undefined.d.mts +0 -2
  1292. package/node_modules/typebox/build/value/create/from_undefined.mjs +0 -4
  1293. package/node_modules/typebox/build/value/create/from_union.d.mts +0 -2
  1294. package/node_modules/typebox/build/value/create/from_union.mjs +0 -9
  1295. package/node_modules/typebox/build/value/create/from_void.d.mts +0 -2
  1296. package/node_modules/typebox/build/value/create/from_void.mjs +0 -4
  1297. package/node_modules/typebox/build/value/create/index.d.mts +0 -2
  1298. package/node_modules/typebox/build/value/create/index.mjs +0 -2
  1299. package/node_modules/typebox/build/value/default/default.d.mts +0 -13
  1300. package/node_modules/typebox/build/value/default/default.mjs +0 -15
  1301. package/node_modules/typebox/build/value/default/from_array.d.mts +0 -2
  1302. package/node_modules/typebox/build/value/default/from_array.mjs +0 -12
  1303. package/node_modules/typebox/build/value/default/from_cyclic.d.mts +0 -2
  1304. package/node_modules/typebox/build/value/default/from_cyclic.mjs +0 -7
  1305. package/node_modules/typebox/build/value/default/from_default.d.mts +0 -3
  1306. package/node_modules/typebox/build/value/default/from_default.mjs +0 -13
  1307. package/node_modules/typebox/build/value/default/from_intersect.d.mts +0 -2
  1308. package/node_modules/typebox/build/value/default/from_intersect.mjs +0 -9
  1309. package/node_modules/typebox/build/value/default/from_object.d.mts +0 -2
  1310. package/node_modules/typebox/build/value/default/from_object.mjs +0 -32
  1311. package/node_modules/typebox/build/value/default/from_record.d.mts +0 -2
  1312. package/node_modules/typebox/build/value/default/from_record.mjs +0 -26
  1313. package/node_modules/typebox/build/value/default/from_ref.d.mts +0 -2
  1314. package/node_modules/typebox/build/value/default/from_ref.mjs +0 -9
  1315. package/node_modules/typebox/build/value/default/from_tuple.d.mts +0 -2
  1316. package/node_modules/typebox/build/value/default/from_tuple.mjs +0 -14
  1317. package/node_modules/typebox/build/value/default/from_type.d.mts +0 -2
  1318. package/node_modules/typebox/build/value/default/from_type.mjs +0 -25
  1319. package/node_modules/typebox/build/value/default/from_union.d.mts +0 -2
  1320. package/node_modules/typebox/build/value/default/from_union.mjs +0 -14
  1321. package/node_modules/typebox/build/value/default/index.d.mts +0 -1
  1322. package/node_modules/typebox/build/value/default/index.mjs +0 -1
  1323. package/node_modules/typebox/build/value/delta/diff.d.mts +0 -10
  1324. package/node_modules/typebox/build/value/delta/diff.mjs +0 -135
  1325. package/node_modules/typebox/build/value/delta/edit.d.mts +0 -24
  1326. package/node_modules/typebox/build/value/delta/edit.mjs +0 -17
  1327. package/node_modules/typebox/build/value/delta/index.d.mts +0 -3
  1328. package/node_modules/typebox/build/value/delta/index.mjs +0 -3
  1329. package/node_modules/typebox/build/value/delta/patch.d.mts +0 -8
  1330. package/node_modules/typebox/build/value/delta/patch.mjs +0 -42
  1331. package/node_modules/typebox/build/value/equal/equal.d.mts +0 -2
  1332. package/node_modules/typebox/build/value/equal/equal.mjs +0 -6
  1333. package/node_modules/typebox/build/value/equal/index.d.mts +0 -1
  1334. package/node_modules/typebox/build/value/equal/index.mjs +0 -1
  1335. package/node_modules/typebox/build/value/errors/errors.d.mts +0 -6
  1336. package/node_modules/typebox/build/value/errors/errors.mjs +0 -12
  1337. package/node_modules/typebox/build/value/errors/index.d.mts +0 -1
  1338. package/node_modules/typebox/build/value/errors/index.mjs +0 -1
  1339. package/node_modules/typebox/build/value/hash/hash.d.mts +0 -6
  1340. package/node_modules/typebox/build/value/hash/hash.mjs +0 -10
  1341. package/node_modules/typebox/build/value/hash/index.d.mts +0 -1
  1342. package/node_modules/typebox/build/value/hash/index.mjs +0 -1
  1343. package/node_modules/typebox/build/value/index.d.mts +0 -20
  1344. package/node_modules/typebox/build/value/index.mjs +0 -29
  1345. package/node_modules/typebox/build/value/parse/index.d.mts +0 -1
  1346. package/node_modules/typebox/build/value/parse/index.mjs +0 -1
  1347. package/node_modules/typebox/build/value/parse/parse.d.mts +0 -11
  1348. package/node_modules/typebox/build/value/parse/parse.mjs +0 -47
  1349. package/node_modules/typebox/build/value/pipeline/index.d.mts +0 -1
  1350. package/node_modules/typebox/build/value/pipeline/index.mjs +0 -1
  1351. package/node_modules/typebox/build/value/pipeline/pipeline.d.mts +0 -10
  1352. package/node_modules/typebox/build/value/pipeline/pipeline.mjs +0 -15
  1353. package/node_modules/typebox/build/value/pointer/index.d.mts +0 -1
  1354. package/node_modules/typebox/build/value/pointer/index.mjs +0 -1
  1355. package/node_modules/typebox/build/value/repair/error.d.mts +0 -7
  1356. package/node_modules/typebox/build/value/repair/error.mjs +0 -8
  1357. package/node_modules/typebox/build/value/repair/from_array.d.mts +0 -2
  1358. package/node_modules/typebox/build/value/repair/from_array.mjs +0 -39
  1359. package/node_modules/typebox/build/value/repair/from_enum.d.mts +0 -2
  1360. package/node_modules/typebox/build/value/repair/from_enum.mjs +0 -6
  1361. package/node_modules/typebox/build/value/repair/from_intersect.d.mts +0 -2
  1362. package/node_modules/typebox/build/value/repair/from_intersect.mjs +0 -8
  1363. package/node_modules/typebox/build/value/repair/from_object.d.mts +0 -2
  1364. package/node_modules/typebox/build/value/repair/from_object.mjs +0 -33
  1365. package/node_modules/typebox/build/value/repair/from_record.d.mts +0 -2
  1366. package/node_modules/typebox/build/value/repair/from_record.mjs +0 -33
  1367. package/node_modules/typebox/build/value/repair/from_ref.d.mts +0 -2
  1368. package/node_modules/typebox/build/value/repair/from_ref.mjs +0 -9
  1369. package/node_modules/typebox/build/value/repair/from_template_literal.d.mts +0 -2
  1370. package/node_modules/typebox/build/value/repair/from_template_literal.mjs +0 -7
  1371. package/node_modules/typebox/build/value/repair/from_tuple.d.mts +0 -2
  1372. package/node_modules/typebox/build/value/repair/from_tuple.mjs +0 -12
  1373. package/node_modules/typebox/build/value/repair/from_type.d.mts +0 -2
  1374. package/node_modules/typebox/build/value/repair/from_type.mjs +0 -88
  1375. package/node_modules/typebox/build/value/repair/from_union.d.mts +0 -2
  1376. package/node_modules/typebox/build/value/repair/from_union.mjs +0 -24
  1377. package/node_modules/typebox/build/value/repair/from_unknown.d.mts +0 -2
  1378. package/node_modules/typebox/build/value/repair/from_unknown.mjs +0 -12
  1379. package/node_modules/typebox/build/value/repair/index.d.mts +0 -1
  1380. package/node_modules/typebox/build/value/repair/index.mjs +0 -1
  1381. package/node_modules/typebox/build/value/repair/repair.d.mts +0 -17
  1382. package/node_modules/typebox/build/value/repair/repair.mjs +0 -20
  1383. package/node_modules/typebox/build/value/shared/index.d.mts +0 -3
  1384. package/node_modules/typebox/build/value/shared/index.mjs +0 -4
  1385. package/node_modules/typebox/build/value/shared/optional_undefined.d.mts +0 -2
  1386. package/node_modules/typebox/build/value/shared/optional_undefined.mjs +0 -15
  1387. package/node_modules/typebox/build/value/shared/union_priority_sort.d.mts +0 -7
  1388. package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +0 -72
  1389. package/node_modules/typebox/build/value/shared/union_score_select.d.mts +0 -3
  1390. package/node_modules/typebox/build/value/shared/union_score_select.mjs +0 -51
  1391. package/node_modules/typebox/build/value/value.d.mts +0 -15
  1392. package/node_modules/typebox/build/value/value.mjs +0 -15
  1393. package/node_modules/typebox/license +0 -23
  1394. package/node_modules/typebox/package.json +0 -87
  1395. package/node_modules/typebox/readme.md +0 -371
package/CHANGELOG.md CHANGED
@@ -7,6 +7,72 @@
7
7
 
8
8
  ---
9
9
 
10
+
11
+ ### 0.2.0-beta.6 — 用户可见新增:跨平台常驻安装 + 独立枚举器
12
+
13
+ **新增能力(可直接用)**
14
+ - `tools/daemon-install.mjs` / `tools/daemon-uninstall.mjs` / `daemon/run-daemon.mjs`:
15
+ 跨平台常驻助理安装/卸载/保活 —— macOS(launchd) · Linux(systemd --user) · **Windows(计划任务)**
16
+ (不再依赖 bash;agent 根取短路径,端点路径 <100B;幂等;卸载零残留)
17
+ - `tools/enumerate-residue.mjs`:跨项目残留枚举器(零依赖)—— 七字段 + pidAlive 三值 + expired/unreachable/inflight 三态
18
+ - `tools/verify-windows.mjs`:Windows 一键验证(W1–W6 逐项证据表,支持 `--selftest` 离线自检)
19
+
20
+ **文档更正**
21
+ - `--legacy-peer-deps` 仅在【混合安装目录】需要;干净空目录不需要(typebox 已随包 bundled)
22
+ - 未知配置项 → 整份配置回落默认值(fail-closed):一次拼错会连带关掉空闲触发
23
+ - `pi -g` 全局安装会多出第二份副本 → 宿主报 duplicate runtime modules;宿主实际加载的是 pi 包路径那份
24
+
25
+ **发布内容**
26
+ - 判据脚本 sha256 随版本登记于 `docs/project/cp010-evidence/PROVENANCE.md`
27
+ - 仍在验证中、尚未宣称通过:Windows 真机 W1–W6(需真机通道)、Linux systemd 真机
28
+
29
+ 重要:未知配置项会【整份回落默认值】(fail-closed)
30
+ 一个拼错的键会导致**整份配置回落默认**(例如 idleTrigger 回到"未开启")→ 一次拼错可能连带关掉空闲触发。
31
+ 报错信息会指名该键(CONFIG_UNKNOWN_KEY),请按它修正而不是删配置。
32
+
33
+ ### 安装路径(三者不等价,勿混用)
34
+ - **pi 包路径(宿主实际加载的那份)**:`cd ~/.pi/agent/npm && npm install pi-proactive@latest`
35
+ - 独立全局安装:会多出第二份副本 → 宿主报 duplicate runtime modules
36
+ - `--legacy-peer-deps` 仅在【混合安装目录】需要(该目录有与 pi-proactive 无关的 peer 冲突);干净空目录不需要(typebox 已 bundled)
37
+
38
+ ### 升级指引(2026-10-31 实测校正)
39
+ 本机的**实际全局根是 `~/.npm-global`**(`pi` 本身就在那里),而 `npm prefix -g` 报的是 `/usr/local`
40
+ → 按通用文档写 `npm i -g pi-proactive` 会因 `/usr/local/lib/node_modules` 无写权限而失败。
41
+ **请用用户级写法**:
42
+ ```bash
43
+ npm i -g --prefix ~/.npm-global pi-proactive@latest --legacy-peer-deps
44
+ # 或(pi 包存储方式)
45
+ npm install pi-proactive@latest --legacy-peer-deps
46
+ ```
47
+ `--legacy-peer-deps` 是必需的:本机该目录存在无关的 peer 冲突。
48
+
49
+ ## 未发布(Windows 交付切片·第一批)
50
+
51
+ ### 新增
52
+ - **跨平台用户侧入口**(零第三方依赖 · 纯 Node ≥ 22.19 · 三平台同源):
53
+ - `tools/daemon-install.mjs` —— 一键安装:macOS **launchd** / Linux **systemd --user** / Windows **计划任务**
54
+ (`schtasks /Create /SC MINUTE /MO n ... /F`);三个平台分支复用既有 `daemon/launchd.plist` 与
55
+ `daemon/pi-proactive-daemon.service` 模板(模板本身未改,渲染时把 `ProgramArguments`/`ExecStart` 换成**直接调 node**)。
56
+ - `tools/daemon-uninstall.mjs` —— 对称卸载(三处归零:任务/单元、进程、目录)。
57
+ - `daemon/run-daemon.mjs` —— 跨平台保活监督器(心跳新鲜度 + 值班锁互斥 + 崩溃自愈;`daemon/run-daemon.sh` 保留供 unix 维护侧)。
58
+ - `tools/daemon-common.mjs` —— 三者共用的平台/路径/模板口径(同一口径只写一份)。
59
+ - `tools/verify-windows.mjs` —— Windows 验收脚本(W1..W6 逐项证据表;非 Windows 上跑只做离线自检,真机项标「未验证」)。
60
+ - Windows 特有硬约束落地:**短路径**(agent 根自动降到 < 100B 端点路径的候选)、**引号化**(含空格的 node/脚本路径逐个加引号)、
61
+ **幂等**(`/Query` 先探测 + `/F` 覆盖同名任务 → 重复安装不产生第二份任务/进程)。
62
+
63
+ ### 修复
64
+ - 重复安装时「心跳不前进」:旧心跳来自**刚被停掉的进程** → 监督器误判「有人在值班」而白等 20s。
65
+ 修复:心跳新鲜度增加**进程存活**判定(`heartbeatFresh(..., { checkPid: true })`)。
66
+ - launchd 重载竞态:`launchctl bootout` 是异步的 → 紧接着 `bootstrap` 可能返回 0 但随后被挂起的 bootout 摘掉(单元根本没加载)。
67
+ 修复:bootout 后等目标**真正从域里消失**再 bootstrap,并加多次回退尝试。
68
+
69
+ ### 证据来源
70
+ - `bash pi-proactive/tests/run.sh` → 63/64 文件通过(唯一失败文件 `enumeration-selfimpl.test.ts` 属于另一并行切片的**既存红**,
71
+ 其所需实现文件 `tools/enumerate-residue.mjs` 在 git 全历史中都不存在,与本切片无关)。
72
+ - `node --experimental-strip-types --test pi-proactive/tests/windows-port.test.ts` → 13/13 通过(Windows 分支计划生成 / 短路径 / 引号化 / 幂等 / 监督器 / 打包契约)。
73
+ - `node --experimental-strip-types --test pi-proactive/tests/daemon-install-mjs-e2e.test.ts` → macOS launchd **真装 → 回执「已常驻」→ 三证据 → 重复安装幂等 → 真卸零残留** 全通过。
74
+ - **未验证**:Windows 真机(W1..W6 全部)—— 当前无可脚本化的 Windows 执行通道(见 `docs/project/windows-porting.md` §一/§二)。
75
+
10
76
  ## 0.2.0-beta.5 — 2026-10-31(hotfix)
11
77
 
12
78
  ### 修复
package/README.md CHANGED
@@ -73,24 +73,29 @@ pi --extension ./pi-proactive/extensions/proactive.ts
73
73
  ```
74
74
 
75
75
  - `on` **立即回执「正在安装…」**(不等 launchd/systemd 冷启动)→ 装完用 `assistant status` 看结果;
76
- - 会话内与终端 CLI **共用同一套安装/卸载实现**(`tools/daemon-install.sh` / `tools/daemon-uninstall.sh`);
76
+ - 会话内与终端 CLI **共用同一套安装/卸载实现**(跨平台 `.mjs`:`tools/daemon-install.mjs` / `tools/daemon-uninstall.mjs`);
77
77
  - 装不上时回执会给出**缺什么、怎么手动跑、怎么清理**三条可操作信息。
78
78
 
79
79
  **在终端里开 / 关(等价路径)**:
80
80
 
81
81
  ```bash
82
- # 安装(幂等;macOS 用 launchd,Linux 用 systemd --user)
83
- bash <安装目录>/tools/daemon-install.sh
82
+ # 安装(幂等;macOS 用 launchd,Linux 用 systemd --user,Windows 用计划任务)
83
+ node <安装目录>/tools/daemon-install.mjs
84
84
 
85
85
  # 看看它昨晚干了什么 + 有什么等你确认
86
86
  /proactive doctor
87
87
  ```
88
88
 
89
+ > **`.sh` 入口的适用范围**:`tools/daemon-install.sh` / `tools/daemon-uninstall.sh` **仅供 unix 维护侧使用**
90
+ > (保留是为了与既有运维流程兼容);**Windows 用户请用上面的 `.mjs` 入口**(`.sh` 依赖 bash,Windows 装不了)。
91
+ > 两个 `.mjs` 入口零第三方依赖、纯 Node(≥ 22.19),三平台同源。
92
+
89
93
  - **默认 `enabled=false` + 干跑** → 装了不花钱、不投递任何任务;
90
94
  - 开启后仍受**预算硬上限**约束(每小时/每日动作数;token 只做估算)→ 超限自动**降级为只观察**并记账;
91
95
  - **不可逆动作绝不自动执行** → 进人工确认队列,早间交班时呈现;
92
- - 形态:macOS `launchd`(KeepAlive)/ Linux `systemd --user`(Restart=always);
93
- - 自愈:崩溃自动重启、幂等认领、半成品不重放;卸载用 `tools/daemon-uninstall.sh`(幂等、无残留)。
96
+ - 形态:macOS `launchd`(KeepAlive)/ Linux `systemd --user`(Restart=always)/ Windows **计划任务**(`schtasks /Create /SC MINUTE`,重复安装覆盖同名任务、不产生第二份);
97
+ - 自愈:崩溃自动重启、幂等认领、半成品不重放;卸载用 `tools/daemon-uninstall.mjs`(幂等、无残留);
98
+ - Windows 验收(逐项证据表 W1..W6):`node <安装目录>/tools/verify-windows.mjs`(非 Windows 上跑同一脚本只做离线自检,真机项标「未验证」)。
94
99
 
95
100
 
96
101
 
@@ -437,15 +442,15 @@ Usage: `/proactive <子命令>`。下表**逐条对应实现里实际注册的
437
442
  <!-- BEGIN:GEN tools -->
438
443
  | 工具 | 参数 | 作用 | 定义位置 |
439
444
  | --- | --- | --- | --- |
440
- | `schedule_task` | prompt(必填):任务提示词<br>intent(可选):投递意图,默认 wake(取值:wake \| interrupt \| queue \| notify)<br>askUser(可选):触发时是否向用户提问(仅本地)<br>when(可选):触发时间:时长(10m)/ 时刻(18:30)/ ISO 8601;缺省按 10m 处理 | 预约一个稍后触发的任务(真正落库到任务表,到点由调度器投递)。when 支持时长(10m)、时刻(18:30)或 ISO 时间;缺省按 10m 处理。 | `pi-proactive/extensions/proactive.ts:647` |
441
- | `message_agent` | to(必填):目标 agent 的名字或 agentId<br>kind(可选):消息语义(对方要不要回我);缺省 notify(取值:notify \| ask \| task \| reply \| broadcast)<br>subject(可选):标题<br>body(必填):正文<br>intent(可选):投递意图(怎么投给对方);缺省 wake(取值:wake \| interrupt \| queue \| notify)<br>threadId(可选):话题 / 会话 id(可选) | 给另一个正在运行的 agent 会话发消息(跨进程协作)。对端在线时走 socket 直达;不在线时消息落盘到对端邮箱,待其上线后处理。 | `pi-proactive/extensions/proactive.ts:692` |
442
- | `list_peers` | name(可选):名字子串(大小写敏感;也命中 agentId)。同名歧义时返回与 message_agent 报错完全一致的候选<br>status(可选):按在场状态过滤(online = 在线 = 空闲 ∪ 忙碌)(取值:online \| idle \| busy \| offline)<br>capability(可选):按能力标签过滤(如 message_agent)<br>includeOffline(可选):是否包含离线对端(缺省 false = 只给在线) | 列出本机可见的其它 agent 对端(名字 / agentId / 在场状态 / 心跳龄 / 能力标签 / 在途任务数 / 传输方式),可按名字、状态、能力过滤。**只读**:不产生任何对外行为。发消息前先查它(先查后发),别盲发 —— 离线对端现在打扰它不合适。 | `pi-proactive/extensions/proactive.ts:766` |
443
- | `proactive_query` | action(必填):查询动作(与 /proactive 子命令同名)(取值:peers \| history \| status \| tasks \| doctor \| help \| config \| supervisor)<br>name(可选):peers:名字子串过滤<br>all(可选):peers:是否包含离线对端<br>idle(可选):peers:只看空闲对端<br>detail(可选):peers:只看这一个 agentId<br>scope(可选):history:范围(对端 / 我)(取值:peer \| me)<br>peer(可选):history:按对端 agentId 过滤<br>limit(可选):history:条数(1-200 的整数)<br>json(可选):doctor / config:输出 JSON | 查询域:查对端(peers)/ 看主动行为历史(history)/ 看状态(status)/ 看任务(tasks)/ 只读体检(doctor)/ 看命令手册(help)/ 查配置清单(config)/ 看监督面(supervisor)。**只读**:不产生任何对外行为。 | `pi-proactive/extensions/proactive.ts:803` |
444
- | `progress_query` | | 查项目进度与 ETA:返回**区间 + 置信度 + 归因 + 阻塞项**(不给单点数字)。口径唯一(scripts/progress-clock.py),与人侧 `/proactive progress` 同源同口径、逐字一致。**只读**:不产生任何对外行为。 | `pi-proactive/extensions/proactive.ts:841` |
445
- | `proactive_schedule` | action(必填):排程动作(与 /proactive 子命令同名)(取值:in \| at \| every \| cancel)<br>when(可选):in/at/every:触发时间(时长 10m / 时刻 18:30)<br>content(可选):in/at/every:任务内容<br>id(可选):cancel:任务 id | 排程域:定时(in)/ 定点(at)/ 周期(every)/ 取消(cancel)。落到真实任务表,到点由调度器投递;与命令面 `/proactive in\|at\|every\|cancel` 同源。 | `pi-proactive/extensions/proactive.ts:855` |
446
- | `proactive_peer` | action(必填):对端动作(与 /proactive 子命令同名)(取值:tell \| spawn)<br>peer(可选):tell:目标对端(名字或 agentId)<br>content(可选):tell:指令内容<br>kind(可选):tell:指令类型(缺省 ask)(取值:ask \| task \| notify)<br>subject(可选):tell:标题<br>thread(可选):tell:线程 id<br>name(可选):spawn:对端名字 | 对端协作域:给对端下指令(tell)/ 创建对端会话(spawn,受同时存活数上限)。tell 的目标解析与回执三态与命令面 `/proactive tell` 完全同源。 | `pi-proactive/extensions/proactive.ts:874` |
447
- | `proactive_manage` | action(必填):管理动作(与 /proactive 子命令同名)(取值:on \| off \| idle \| test)<br>state(可选):idle:开 / 关(取值:on \| off) | 管理域:主动性总开关(on/off)、空闲触发开关(idle)、自检(test)。这些能力属 human-gated:调用只会回报「需人工确认」并给出可复制的人工指令,**不会**自行改动全局开关。 | `pi-proactive/extensions/proactive.ts:913` |
448
- | `proactive_assistant` | action(必填):常驻助理动作:on 打开 / off 关闭 / status 看状态 / restart 重装(与 /proactive assistant 同名)(取值:on \| off \| status \| restart) | 常驻助理(7×24)控制:on 打开 / off 关闭 / status 看状态 / restart 重装。与人侧 `/proactive assistant …` 同源同分派 → 逐字一致;安装**不阻塞**(立即回执「正在安装…」,结果用 status 查)。装上默认 enabled=false + 干跑 → 不花钱、不主动打扰。 | `pi-proactive/extensions/proactive.ts:925` |
445
+ | `schedule_task` | prompt(必填):任务提示词<br>intent(可选):投递意图,默认 wake(取值:wake \| interrupt \| queue \| notify)<br>askUser(可选):触发时是否向用户提问(仅本地)<br>when(可选):触发时间:时长(10m)/ 时刻(18:30)/ ISO 8601;缺省按 10m 处理 | 预约一个稍后触发的任务(真正落库到任务表,到点由调度器投递)。when 支持时长(10m)、时刻(18:30)或 ISO 时间;缺省按 10m 处理。 | `pi-proactive/extensions/proactive.ts:648` |
446
+ | `message_agent` | to(必填):目标 agent 的名字或 agentId<br>kind(可选):消息语义(对方要不要回我);缺省 notify(取值:notify \| ask \| task \| reply \| broadcast)<br>subject(可选):标题<br>body(必填):正文<br>intent(可选):投递意图(怎么投给对方);缺省 wake(取值:wake \| interrupt \| queue \| notify)<br>threadId(可选):话题 / 会话 id(可选) | 给另一个正在运行的 agent 会话发消息(跨进程协作)。对端在线时走 socket 直达;不在线时消息落盘到对端邮箱,待其上线后处理。 | `pi-proactive/extensions/proactive.ts:693` |
447
+ | `list_peers` | name(可选):名字子串(大小写敏感;也命中 agentId)。同名歧义时返回与 message_agent 报错完全一致的候选<br>status(可选):按在场状态过滤(online = 在线 = 空闲 ∪ 忙碌)(取值:online \| idle \| busy \| offline)<br>capability(可选):按能力标签过滤(如 message_agent)<br>includeOffline(可选):是否包含离线对端(缺省 false = 只给在线) | 列出本机可见的其它 agent 对端(名字 / agentId / 在场状态 / 心跳龄 / 能力标签 / 在途任务数 / 传输方式),可按名字、状态、能力过滤。**只读**:不产生任何对外行为。发消息前先查它(先查后发),别盲发 —— 离线对端现在打扰它不合适。 | `pi-proactive/extensions/proactive.ts:767` |
448
+ | `proactive_query` | action(必填):查询动作(与 /proactive 子命令同名)(取值:peers \| history \| status \| tasks \| doctor \| help \| config \| supervisor)<br>name(可选):peers:名字子串过滤<br>all(可选):peers:是否包含离线对端<br>idle(可选):peers:只看空闲对端<br>detail(可选):peers:只看这一个 agentId<br>scope(可选):history:范围(对端 / 我)(取值:peer \| me)<br>peer(可选):history:按对端 agentId 过滤<br>limit(可选):history:条数(1-200 的整数)<br>json(可选):doctor / config:输出 JSON | 查询域:查对端(peers)/ 看主动行为历史(history)/ 看状态(status)/ 看任务(tasks)/ 只读体检(doctor)/ 看命令手册(help)/ 查配置清单(config)/ 看监督面(supervisor)。**只读**:不产生任何对外行为。 | `pi-proactive/extensions/proactive.ts:804` |
449
+ | `progress_query` | | 查项目进度与 ETA:返回**区间 + 置信度 + 归因 + 阻塞项**(不给单点数字)。口径唯一(scripts/progress-clock.py),与人侧 `/proactive progress` 同源同口径、逐字一致。**只读**:不产生任何对外行为。 | `pi-proactive/extensions/proactive.ts:842` |
450
+ | `proactive_schedule` | action(必填):排程动作(与 /proactive 子命令同名)(取值:in \| at \| every \| cancel)<br>when(可选):in/at/every:触发时间(时长 10m / 时刻 18:30)<br>content(可选):in/at/every:任务内容<br>id(可选):cancel:任务 id | 排程域:定时(in)/ 定点(at)/ 周期(every)/ 取消(cancel)。落到真实任务表,到点由调度器投递;与命令面 `/proactive in\|at\|every\|cancel` 同源。 | `pi-proactive/extensions/proactive.ts:856` |
451
+ | `proactive_peer` | action(必填):对端动作(与 /proactive 子命令同名)(取值:tell \| spawn)<br>peer(可选):tell:目标对端(名字或 agentId)<br>content(可选):tell:指令内容<br>kind(可选):tell:指令类型(缺省 ask)(取值:ask \| task \| notify)<br>subject(可选):tell:标题<br>thread(可选):tell:线程 id<br>name(可选):spawn:对端名字 | 对端协作域:给对端下指令(tell)/ 创建对端会话(spawn,受同时存活数上限)。tell 的目标解析与回执三态与命令面 `/proactive tell` 完全同源。 | `pi-proactive/extensions/proactive.ts:875` |
452
+ | `proactive_manage` | action(必填):管理动作(与 /proactive 子命令同名)(取值:on \| off \| idle \| test)<br>state(可选):idle:开 / 关(取值:on \| off) | 管理域:主动性总开关(on/off)、空闲触发开关(idle)、自检(test)。这些能力属 human-gated:调用只会回报「需人工确认」并给出可复制的人工指令,**不会**自行改动全局开关。 | `pi-proactive/extensions/proactive.ts:914` |
453
+ | `proactive_assistant` | action(必填):常驻助理动作:on 打开 / off 关闭 / status 看状态 / restart 重装(与 /proactive assistant 同名)(取值:on \| off \| status \| restart) | 常驻助理(7×24)控制:on 打开 / off 关闭 / status 看状态 / restart 重装。与人侧 `/proactive assistant …` 同源同分派 → 逐字一致;安装**不阻塞**(立即回执「正在安装…」,结果用 status 查)。装上默认 enabled=false + 干跑 → 不花钱、不主动打扰。 | `pi-proactive/extensions/proactive.ts:926` |
449
454
  <!-- END:GEN tools -->
450
455
 
451
456
  > **模型工具面真源 = 实现**:上表由 `scripts/gen-doc-tables.sh` 从 `pi-proactive/extensions/proactive.ts` 的
@@ -725,3 +730,16 @@ agents/<ref>.md # agent 定义
725
730
  | 长时驻留(>10 分钟) | 长时间运行下的资源 / 孤儿进程 / 内存行为 | **未验证**(实测每个宿主生命周期 ≤ 4 分钟) |
726
731
  | `every` 小时级节拍 | 小时级运行下的节拍漂移是否累积 | **未验证**(短时实测节拍正常) |
727
732
  | 门禁 G11(文档↔实现一致性断言) | 机器化的文档↔实现一致性门禁 | **已存在**(判据在 `scripts/merge-gate.sh` 的 G11 段,默认零容忍;含**反向断言**:文档的否定式声明若指向仓库里已存在的对象 → 判为违规;回归自测在 `scripts/tests/gate-doc-consistency.test.sh`) |
733
+
734
+ ### 升级
735
+
736
+ ```bash
737
+ # ① pi 包路径(宿主实际加载的就是这一份 —— settings.json 记 npm:pi-proactive)
738
+ cd ~/.pi/agent/npm && npm install pi-proactive@latest
739
+ # ② 独立全局安装(会多出第二份副本 → 宿主会报 duplicate runtime modules,慎用)
740
+ npm i -g --prefix ~/.npm-global pi-proactive@latest
741
+ # ③ --legacy-peer-deps 只在【混合安装目录】才需要(该目录有与 pi-proactive 无关的 peer 冲突);
742
+ # 在干净空目录里【不需要】(typebox 已随包 bundled)
743
+ # ⚠️ 不要用 npm i -g 覆盖宿主加载的那一份 —— 那是两个不同的副本
744
+ # ⚠️ 未知配置项会让整份配置回落默认值(fail-closed):一次拼错会连带关掉空闲触发
745
+ ```
@@ -0,0 +1,268 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * pi-proactive 常驻助理的**跨平台保活监督器**(supervisor)。
4
+ *
5
+ * 角色:**同时**充当两个宿主里的「保活容器」——
6
+ * ① 系统宿主:macOS launchd / Linux systemd --user / **Windows 计划任务** 跑的就是它;
7
+ * ② 另一实例(重复安装 / 手工起)跑的是同一个脚本 → 谁先拿到「值班锁」谁当值班进程。
8
+ *
9
+ * 为什么必须这样(形态选型 §2.5):
10
+ * - 「装了服务」≠「有常驻」:进程崩了 / 被回收 → 助理就没了;
11
+ * - 所以:**宿主没了,另一个实例立刻接管**(助理不会随宿主一起消失);
12
+ * - 判定(**可判定**,不猜):
13
+ * · 心跳新鲜(< STALE_MS)→ 已有实例在值班 → 本实例待命;
14
+ * · 心跳陈旧/缺失 → 抢 `daemon.lock`(mkdir 原子锁)→ 拿到锁的成为值班进程。
15
+ *
16
+ * 与旧版 `daemon/run-daemon.sh` 的差异:**同一份逻辑的跨平台实现**(Windows 用户装不到 bash)。
17
+ * 行为口径保持一致(心跳 5s 周期 → 20s 判定陈旧;锁目录原子创建;崩溃后自动重启)。
18
+ *
19
+ * 用法(由安装器生成调用参数):
20
+ * node run-daemon.mjs --agent-dir <dir> --agent-id <id> --entry <daemon.ts|daemon.js> \
21
+ * --log-dir <dir> [--node <nodeBin>] [--work-dir <dir>]
22
+ */
23
+ import fs from "node:fs";
24
+ import path from "node:path";
25
+ import { spawn } from "node:child_process";
26
+ import { fileURLToPath } from "node:url";
27
+
28
+ /** 心跳陈旧阈值(src/daemon.ts 的心跳周期是 5s → 20s 没更新即判定没在跑)。 */
29
+ export const STALE_MS = 20_000;
30
+ /** 待命/重启的轮询间隔。 */
31
+ export const LOOP_INTERVAL_MS = 3_000;
32
+
33
+ /** 解析命令行参数。 */
34
+ export function parseArgs(argv) {
35
+ const o = {
36
+ agentDir: "",
37
+ agentId: "",
38
+ entry: "",
39
+ logDir: "",
40
+ node: process.execPath,
41
+ workDir: "",
42
+ };
43
+ for (let i = 0; i < argv.length; i++) {
44
+ const a = argv[i];
45
+ const next = () => argv[++i] ?? "";
46
+ if (a === "--agent-dir") o.agentDir = next();
47
+ else if (a === "--agent-id") o.agentId = next();
48
+ else if (a === "--entry") o.entry = next();
49
+ else if (a === "--log-dir") o.logDir = next();
50
+ else if (a === "--node") o.node = next();
51
+ else if (a === "--work-dir") o.workDir = next();
52
+ }
53
+ if (o.logDir) o.logDir = path.resolve(o.logDir);
54
+ return o;
55
+ }
56
+
57
+ /** 心跳文件路径(与 `src/daemon-config.ts` 同口径)。 */
58
+ export function heartbeatPathFor(agentDir) {
59
+ return path.join(agentDir, "proactive", "daemon", "heartbeat.json");
60
+ }
61
+
62
+ /** 值班锁目录。 */
63
+ export function lockPathFor(agentDir) {
64
+ return path.join(agentDir, "proactive", "daemon", "daemon.lock");
65
+ }
66
+
67
+ /** 读心跳(坏数据 → null;巡检脚本不能被脏输入搞崩)。 */
68
+ export function readHeartbeat(file) {
69
+ try {
70
+ return JSON.parse(fs.readFileSync(file, "utf8"));
71
+ } catch {
72
+ return null;
73
+ }
74
+ }
75
+
76
+ /**
77
+ * 心跳是否新鲜(= 已经有实例在值班)。
78
+ *
79
+ * `opts.checkPid`:心跳里的进程**已经不在**时不算新鲜 —— 否则「刚被杀掉的旧心跳」
80
+ * 会让新监督器白等 20s(重启延迟);这正是重复安装时「心跳不前进」的根因。
81
+ *
82
+ * @param {string} file
83
+ * @param {number} [nowMs]
84
+ * @param {number} [staleMs]
85
+ * @param {{ checkPid?: boolean }} [opts]
86
+ * @returns {boolean}
87
+ */
88
+ export function heartbeatFresh(file, nowMs = Date.now(), staleMs = STALE_MS, opts = {}) {
89
+ const hb = readHeartbeat(file);
90
+ if (!hb || typeof hb.ts !== "number") return false;
91
+ if (nowMs - hb.ts >= staleMs) return false;
92
+ if (opts.checkPid && typeof hb.pid === "number" && hb.pid > 0) {
93
+ try {
94
+ process.kill(hb.pid, 0);
95
+ } catch {
96
+ return false; // 心跳是死的(进程已退出)→ 立刻接管
97
+ }
98
+ }
99
+ return true;
100
+ }
101
+
102
+ /**
103
+ * 抢值班锁(mkdir 是原子的 → 两个监督器同时启动也只有一个能当值班进程)。
104
+ *
105
+ * 锁可能是上次崩溃留下的 → 锁里的 pid 不在了就清掉重抢。
106
+ */
107
+ export function acquireLock(lockDir) {
108
+ const pidFile = path.join(lockDir, "pid");
109
+ try {
110
+ fs.mkdirSync(lockDir);
111
+ } catch {
112
+ // 已存在 → 看锁主人还活着没
113
+ let owner = 0;
114
+ try {
115
+ owner = Number(fs.readFileSync(pidFile, "utf8").trim()) || 0;
116
+ } catch {
117
+ owner = 0;
118
+ }
119
+ if (owner > 0) {
120
+ try {
121
+ process.kill(owner, 0);
122
+ return false; // 主人还活着 → 不抢
123
+ } catch {
124
+ // 主人已死 → 清理后重抢
125
+ }
126
+ }
127
+ try {
128
+ fs.rmSync(lockDir, { recursive: true, force: true });
129
+ } catch {
130
+ return false;
131
+ }
132
+ try {
133
+ fs.mkdirSync(lockDir);
134
+ } catch {
135
+ return false;
136
+ }
137
+ }
138
+ try {
139
+ fs.writeFileSync(pidFile, String(process.pid));
140
+ } catch {
141
+ /* 写不进锁里的 pid 不致命(只是失去「主人已死」的自愈线索) */
142
+ }
143
+ return true;
144
+ }
145
+
146
+ /** 释放值班锁。 */
147
+ export function releaseLock(lockDir) {
148
+ try {
149
+ fs.rmSync(lockDir, { recursive: true, force: true });
150
+ } catch {
151
+ /* 忽略 */
152
+ }
153
+ }
154
+
155
+ /** 拉起值班进程的命令行(.ts 入口需要类型擦除)。 */
156
+ export function daemonCommand(entry, agentDir) {
157
+ const args = entry.endsWith(".ts") ? ["--experimental-strip-types", entry] : [entry];
158
+ return [...args, "--agent-dir", agentDir];
159
+ }
160
+
161
+ /** 睡一会儿(可被打断)。 */
162
+ function sleep(ms) {
163
+ return new Promise((r) => setTimeout(r, ms));
164
+ }
165
+
166
+ /**
167
+ * 监督器主循环。
168
+ *
169
+ * @param opts.agentDir agent 根(心跳/锁/日志都落在这里)
170
+ * @param opts.entry 值班进程入口(`src/daemon.ts` 或 `build/src/daemon.js`)
171
+ * @param opts.logDir 日志目录(stdout/stderr 落盘)
172
+ * @param opts.signal 收到该信号即退出(清理子进程 + 释放锁)
173
+ */
174
+ export async function runSupervisor(opts) {
175
+ const agentDir = opts.agentDir;
176
+ const nodeBin = opts.nodeBin || process.execPath;
177
+ const hbFile = heartbeatPathFor(agentDir);
178
+ const lockDir = lockPathFor(agentDir);
179
+ const logDir = opts.logDir || path.join(agentDir, "proactive", "daemon");
180
+ let child;
181
+ let stopping = false;
182
+
183
+ const stop = () => {
184
+ stopping = true;
185
+ if (child && child.exitCode === null) {
186
+ try {
187
+ child.kill("SIGTERM");
188
+ } catch {
189
+ /* 忽略 */
190
+ }
191
+ }
192
+ };
193
+ process.on(opts.signal ?? "SIGTERM", stop);
194
+
195
+ fs.mkdirSync(logDir, { recursive: true });
196
+ fs.mkdirSync(path.dirname(hbFile), { recursive: true });
197
+
198
+ while (!stopping) {
199
+ if (heartbeatFresh(hbFile, Date.now(), STALE_MS, { checkPid: true })) {
200
+ // 已有实例在值班 → 本实例待命,不重复拉起(避免双开 → 避免重复打扰)
201
+ await sleep(LOOP_INTERVAL_MS);
202
+ continue;
203
+ }
204
+ if (acquireLock(lockDir)) {
205
+ const out = fs.openSync(path.join(logDir, "daemon.out.log"), "a");
206
+ const err = fs.openSync(path.join(logDir, "daemon.err.log"), "a");
207
+ try {
208
+ child = spawn(nodeBin, daemonCommand(opts.entry, agentDir), {
209
+ cwd: opts.workDir || agentDir,
210
+ stdio: ["ignore", out, err],
211
+ env: { ...process.env, PI_PROACTIVE_AGENT_ID: process.env.PI_PROACTIVE_AGENT_ID ?? "" },
212
+ });
213
+ await new Promise((resolve) => {
214
+ child?.once("exit", () => resolve());
215
+ child?.once("error", () => resolve());
216
+ });
217
+ } finally {
218
+ child = undefined;
219
+ try {
220
+ fs.closeSync(out);
221
+ fs.closeSync(err);
222
+ } catch {
223
+ /* 忽略 */
224
+ }
225
+ // 值班进程退出 → 释放锁,稍后重试(崩溃自愈)
226
+ releaseLock(lockDir);
227
+ }
228
+ }
229
+ if (!stopping) await sleep(LOOP_INTERVAL_MS);
230
+ }
231
+
232
+ if (child && child.exitCode === null) {
233
+ try {
234
+ child.kill("SIGTERM");
235
+ } catch {
236
+ /* 忽略 */
237
+ }
238
+ }
239
+ releaseLock(lockDir);
240
+ }
241
+
242
+ // ------------------------------------------------------------------ 入口 ----
243
+
244
+ const invokedDirectly =
245
+ process.argv[1] && path.resolve(process.argv[1]) === path.resolve(fileURLToPath(import.meta.url));
246
+
247
+ if (invokedDirectly) {
248
+ const args = parseArgs(process.argv.slice(2));
249
+ if (!args.agentDir || !args.entry) {
250
+ console.error("用法:node run-daemon.mjs --agent-dir <dir> --agent-id <id> --entry <daemonEntry> --log-dir <dir>");
251
+ process.exit(2);
252
+ }
253
+ if (args.workDir) {
254
+ try {
255
+ process.chdir(args.workDir);
256
+ } catch {
257
+ /* 工作目录不存在不影响值班 */
258
+ }
259
+ }
260
+ process.env.PI_PROACTIVE_AGENT_ID = args.agentId || process.env.PI_PROACTIVE_AGENT_ID || "";
261
+ await runSupervisor({
262
+ agentDir: args.agentDir,
263
+ entry: args.entry,
264
+ logDir: args.logDir,
265
+ nodeBin: args.node,
266
+ workDir: args.workDir,
267
+ });
268
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-proactive",
3
- "version": "0.2.0-beta.5",
3
+ "version": "0.2.0-beta.6",
4
4
  "description": "给 Pi 增加主动性:空闲时主动推进或提问、按时间点主动发起任务、多个会话之间对话协作。(专有软件:分发物不含源码,使用条款见包内 LICENSE)",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {
@@ -23,11 +23,17 @@
23
23
  "README.md",
24
24
  "CHANGELOG.md",
25
25
  "LICENSE",
26
+ "tools/daemon-install.mjs",
27
+ "tools/daemon-uninstall.mjs",
28
+ "tools/daemon-common.mjs",
29
+ "tools/verify-windows.mjs",
30
+ "tools/enumerate-residue.mjs",
26
31
  "tools/daemon-install.sh",
27
32
  "tools/daemon-uninstall.sh",
28
33
  "daemon/",
29
34
  "build/cli.mjs",
30
- "tools/cli.mjs"
35
+ "tools/cli.mjs",
36
+ "daemon/run-daemon.mjs"
31
37
  ],
32
38
  "pi": {
33
39
  "extensions": [
@@ -55,8 +61,5 @@
55
61
  },
56
62
  "bundledDependencies": [
57
63
  "typebox"
58
- ],
59
- "dependencies": {
60
- "typebox": "^1.3.27"
61
- }
64
+ ]
62
65
  }
@@ -21,15 +21,15 @@ description: >-
21
21
  <!-- BEGIN:GEN tools -->
22
22
  | 工具 | 参数 | 作用 | 定义位置 |
23
23
  | --- | --- | --- | --- |
24
- | `schedule_task` | prompt(必填):任务提示词<br>intent(可选):投递意图,默认 wake(取值:wake \| interrupt \| queue \| notify)<br>askUser(可选):触发时是否向用户提问(仅本地)<br>when(可选):触发时间:时长(10m)/ 时刻(18:30)/ ISO 8601;缺省按 10m 处理 | 预约一个稍后触发的任务(真正落库到任务表,到点由调度器投递)。when 支持时长(10m)、时刻(18:30)或 ISO 时间;缺省按 10m 处理。 | `pi-proactive/extensions/proactive.ts:647` |
25
- | `message_agent` | to(必填):目标 agent 的名字或 agentId<br>kind(可选):消息语义(对方要不要回我);缺省 notify(取值:notify \| ask \| task \| reply \| broadcast)<br>subject(可选):标题<br>body(必填):正文<br>intent(可选):投递意图(怎么投给对方);缺省 wake(取值:wake \| interrupt \| queue \| notify)<br>threadId(可选):话题 / 会话 id(可选) | 给另一个正在运行的 agent 会话发消息(跨进程协作)。对端在线时走 socket 直达;不在线时消息落盘到对端邮箱,待其上线后处理。 | `pi-proactive/extensions/proactive.ts:692` |
26
- | `list_peers` | name(可选):名字子串(大小写敏感;也命中 agentId)。同名歧义时返回与 message_agent 报错完全一致的候选<br>status(可选):按在场状态过滤(online = 在线 = 空闲 ∪ 忙碌)(取值:online \| idle \| busy \| offline)<br>capability(可选):按能力标签过滤(如 message_agent)<br>includeOffline(可选):是否包含离线对端(缺省 false = 只给在线) | 列出本机可见的其它 agent 对端(名字 / agentId / 在场状态 / 心跳龄 / 能力标签 / 在途任务数 / 传输方式),可按名字、状态、能力过滤。**只读**:不产生任何对外行为。发消息前先查它(先查后发),别盲发 —— 离线对端现在打扰它不合适。 | `pi-proactive/extensions/proactive.ts:766` |
27
- | `proactive_query` | action(必填):查询动作(与 /proactive 子命令同名)(取值:peers \| history \| status \| tasks \| doctor \| help \| config \| supervisor)<br>name(可选):peers:名字子串过滤<br>all(可选):peers:是否包含离线对端<br>idle(可选):peers:只看空闲对端<br>detail(可选):peers:只看这一个 agentId<br>scope(可选):history:范围(对端 / 我)(取值:peer \| me)<br>peer(可选):history:按对端 agentId 过滤<br>limit(可选):history:条数(1-200 的整数)<br>json(可选):doctor / config:输出 JSON | 查询域:查对端(peers)/ 看主动行为历史(history)/ 看状态(status)/ 看任务(tasks)/ 只读体检(doctor)/ 看命令手册(help)/ 查配置清单(config)/ 看监督面(supervisor)。**只读**:不产生任何对外行为。 | `pi-proactive/extensions/proactive.ts:803` |
28
- | `progress_query` | | 查项目进度与 ETA:返回**区间 + 置信度 + 归因 + 阻塞项**(不给单点数字)。口径唯一(scripts/progress-clock.py),与人侧 `/proactive progress` 同源同口径、逐字一致。**只读**:不产生任何对外行为。 | `pi-proactive/extensions/proactive.ts:841` |
29
- | `proactive_schedule` | action(必填):排程动作(与 /proactive 子命令同名)(取值:in \| at \| every \| cancel)<br>when(可选):in/at/every:触发时间(时长 10m / 时刻 18:30)<br>content(可选):in/at/every:任务内容<br>id(可选):cancel:任务 id | 排程域:定时(in)/ 定点(at)/ 周期(every)/ 取消(cancel)。落到真实任务表,到点由调度器投递;与命令面 `/proactive in\|at\|every\|cancel` 同源。 | `pi-proactive/extensions/proactive.ts:855` |
30
- | `proactive_peer` | action(必填):对端动作(与 /proactive 子命令同名)(取值:tell \| spawn)<br>peer(可选):tell:目标对端(名字或 agentId)<br>content(可选):tell:指令内容<br>kind(可选):tell:指令类型(缺省 ask)(取值:ask \| task \| notify)<br>subject(可选):tell:标题<br>thread(可选):tell:线程 id<br>name(可选):spawn:对端名字 | 对端协作域:给对端下指令(tell)/ 创建对端会话(spawn,受同时存活数上限)。tell 的目标解析与回执三态与命令面 `/proactive tell` 完全同源。 | `pi-proactive/extensions/proactive.ts:874` |
31
- | `proactive_manage` | action(必填):管理动作(与 /proactive 子命令同名)(取值:on \| off \| idle \| test)<br>state(可选):idle:开 / 关(取值:on \| off) | 管理域:主动性总开关(on/off)、空闲触发开关(idle)、自检(test)。这些能力属 human-gated:调用只会回报「需人工确认」并给出可复制的人工指令,**不会**自行改动全局开关。 | `pi-proactive/extensions/proactive.ts:913` |
32
- | `proactive_assistant` | action(必填):常驻助理动作:on 打开 / off 关闭 / status 看状态 / restart 重装(与 /proactive assistant 同名)(取值:on \| off \| status \| restart) | 常驻助理(7×24)控制:on 打开 / off 关闭 / status 看状态 / restart 重装。与人侧 `/proactive assistant …` 同源同分派 → 逐字一致;安装**不阻塞**(立即回执「正在安装…」,结果用 status 查)。装上默认 enabled=false + 干跑 → 不花钱、不主动打扰。 | `pi-proactive/extensions/proactive.ts:925` |
24
+ | `schedule_task` | prompt(必填):任务提示词<br>intent(可选):投递意图,默认 wake(取值:wake \| interrupt \| queue \| notify)<br>askUser(可选):触发时是否向用户提问(仅本地)<br>when(可选):触发时间:时长(10m)/ 时刻(18:30)/ ISO 8601;缺省按 10m 处理 | 预约一个稍后触发的任务(真正落库到任务表,到点由调度器投递)。when 支持时长(10m)、时刻(18:30)或 ISO 时间;缺省按 10m 处理。 | `pi-proactive/extensions/proactive.ts:648` |
25
+ | `message_agent` | to(必填):目标 agent 的名字或 agentId<br>kind(可选):消息语义(对方要不要回我);缺省 notify(取值:notify \| ask \| task \| reply \| broadcast)<br>subject(可选):标题<br>body(必填):正文<br>intent(可选):投递意图(怎么投给对方);缺省 wake(取值:wake \| interrupt \| queue \| notify)<br>threadId(可选):话题 / 会话 id(可选) | 给另一个正在运行的 agent 会话发消息(跨进程协作)。对端在线时走 socket 直达;不在线时消息落盘到对端邮箱,待其上线后处理。 | `pi-proactive/extensions/proactive.ts:693` |
26
+ | `list_peers` | name(可选):名字子串(大小写敏感;也命中 agentId)。同名歧义时返回与 message_agent 报错完全一致的候选<br>status(可选):按在场状态过滤(online = 在线 = 空闲 ∪ 忙碌)(取值:online \| idle \| busy \| offline)<br>capability(可选):按能力标签过滤(如 message_agent)<br>includeOffline(可选):是否包含离线对端(缺省 false = 只给在线) | 列出本机可见的其它 agent 对端(名字 / agentId / 在场状态 / 心跳龄 / 能力标签 / 在途任务数 / 传输方式),可按名字、状态、能力过滤。**只读**:不产生任何对外行为。发消息前先查它(先查后发),别盲发 —— 离线对端现在打扰它不合适。 | `pi-proactive/extensions/proactive.ts:767` |
27
+ | `proactive_query` | action(必填):查询动作(与 /proactive 子命令同名)(取值:peers \| history \| status \| tasks \| doctor \| help \| config \| supervisor)<br>name(可选):peers:名字子串过滤<br>all(可选):peers:是否包含离线对端<br>idle(可选):peers:只看空闲对端<br>detail(可选):peers:只看这一个 agentId<br>scope(可选):history:范围(对端 / 我)(取值:peer \| me)<br>peer(可选):history:按对端 agentId 过滤<br>limit(可选):history:条数(1-200 的整数)<br>json(可选):doctor / config:输出 JSON | 查询域:查对端(peers)/ 看主动行为历史(history)/ 看状态(status)/ 看任务(tasks)/ 只读体检(doctor)/ 看命令手册(help)/ 查配置清单(config)/ 看监督面(supervisor)。**只读**:不产生任何对外行为。 | `pi-proactive/extensions/proactive.ts:804` |
28
+ | `progress_query` | | 查项目进度与 ETA:返回**区间 + 置信度 + 归因 + 阻塞项**(不给单点数字)。口径唯一(scripts/progress-clock.py),与人侧 `/proactive progress` 同源同口径、逐字一致。**只读**:不产生任何对外行为。 | `pi-proactive/extensions/proactive.ts:842` |
29
+ | `proactive_schedule` | action(必填):排程动作(与 /proactive 子命令同名)(取值:in \| at \| every \| cancel)<br>when(可选):in/at/every:触发时间(时长 10m / 时刻 18:30)<br>content(可选):in/at/every:任务内容<br>id(可选):cancel:任务 id | 排程域:定时(in)/ 定点(at)/ 周期(every)/ 取消(cancel)。落到真实任务表,到点由调度器投递;与命令面 `/proactive in\|at\|every\|cancel` 同源。 | `pi-proactive/extensions/proactive.ts:856` |
30
+ | `proactive_peer` | action(必填):对端动作(与 /proactive 子命令同名)(取值:tell \| spawn)<br>peer(可选):tell:目标对端(名字或 agentId)<br>content(可选):tell:指令内容<br>kind(可选):tell:指令类型(缺省 ask)(取值:ask \| task \| notify)<br>subject(可选):tell:标题<br>thread(可选):tell:线程 id<br>name(可选):spawn:对端名字 | 对端协作域:给对端下指令(tell)/ 创建对端会话(spawn,受同时存活数上限)。tell 的目标解析与回执三态与命令面 `/proactive tell` 完全同源。 | `pi-proactive/extensions/proactive.ts:875` |
31
+ | `proactive_manage` | action(必填):管理动作(与 /proactive 子命令同名)(取值:on \| off \| idle \| test)<br>state(可选):idle:开 / 关(取值:on \| off) | 管理域:主动性总开关(on/off)、空闲触发开关(idle)、自检(test)。这些能力属 human-gated:调用只会回报「需人工确认」并给出可复制的人工指令,**不会**自行改动全局开关。 | `pi-proactive/extensions/proactive.ts:914` |
32
+ | `proactive_assistant` | action(必填):常驻助理动作:on 打开 / off 关闭 / status 看状态 / restart 重装(与 /proactive assistant 同名)(取值:on \| off \| status \| restart) | 常驻助理(7×24)控制:on 打开 / off 关闭 / status 看状态 / restart 重装。与人侧 `/proactive assistant …` 同源同分派 → 逐字一致;安装**不阻塞**(立即回执「正在安装…」,结果用 status 查)。装上默认 enabled=false + 干跑 → 不花钱、不主动打扰。 | `pi-proactive/extensions/proactive.ts:926` |
33
33
  <!-- END:GEN tools -->
34
34
 
35
35
  > 工具面真源 = 实现:上表由 `scripts/gen-doc-tables.sh` 从扩展的 `registerTool` 注册项与参数 schema 自动生成,**不要手改**。
@@ -202,13 +202,8 @@ description: >-
202
202
  ★ 不要让用户手改配置文件、不要让用户装系统服务 —— 这些由上面一条命令完成。
203
203
 
204
204
  ### 托付("帮我盯着 X,Y 发生时告诉我")
205
- ```
206
- /proactive trust add "<目标>" [--when <条件>] [--notify <渠道>] 登记托付
207
- /proactive trust list 看托付:状态(活跃/已达成/已撤销)/ 下次检查 / 进度
208
- /proactive trust cancel <id> 撤销托付
209
- /proactive inbox 它问我、我还没答的
210
- /proactive ask "<问题>" [--wait] 主动问它(默认异步回执;--wait 会等,超时也回执)
211
- ```
205
+ 托付(trust)相关能力的实现已在仓内,但**尚未接到命令分派** —— 在接入并通过独立验收前,
206
+ 命令面不宣称它可用(宣称了却调不出来,等于给用户一个不存在的入口)。
212
207
  人话映射示例:
213
208
  "帮我盯着 CI 变绿" → trust add(并回执"记下了,我会在变绿时告诉你")
214
209
  "我托付的事怎么样了" → trust list | "这个不用盯了" → trust cancel