@psiclawops/hypermem 0.8.3 → 0.8.5

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 (739) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/INSTALL.md +107 -44
  3. package/README.md +95 -14
  4. package/dist/background-indexer.js +9 -9
  5. package/dist/cache.d.ts +3 -0
  6. package/dist/cache.d.ts.map +1 -1
  7. package/dist/compaction-fence.d.ts +9 -1
  8. package/dist/compaction-fence.d.ts.map +1 -1
  9. package/dist/compaction-fence.js +25 -4
  10. package/dist/compositor.js +1 -1
  11. package/dist/cross-agent.d.ts +1 -1
  12. package/dist/cross-agent.js +17 -17
  13. package/dist/dreaming-promoter.d.ts +1 -1
  14. package/dist/dreaming-promoter.js +2 -2
  15. package/dist/index.d.ts +3 -3
  16. package/dist/index.js +5 -5
  17. package/dist/seed.d.ts +1 -1
  18. package/dist/seed.js +1 -1
  19. package/dist/session-flusher.d.ts +2 -2
  20. package/dist/session-flusher.js +2 -2
  21. package/dist/spawn-context.d.ts +1 -1
  22. package/dist/spawn-context.js +1 -1
  23. package/dist/topic-store.js +5 -5
  24. package/dist/topic-synthesizer.js +1 -1
  25. package/dist/trigger-registry.d.ts +1 -1
  26. package/dist/trigger-registry.js +4 -4
  27. package/dist/types.d.ts +2 -2
  28. package/docs/TUNING.md +12 -2
  29. package/install.sh +7 -7
  30. package/memory-plugin/package.json +2 -2
  31. package/node_modules/sqlite-vec/README.md +1 -0
  32. package/node_modules/sqlite-vec/index.cjs +46 -0
  33. package/node_modules/sqlite-vec/index.d.ts +17 -0
  34. package/node_modules/sqlite-vec/index.mjs +47 -0
  35. package/node_modules/sqlite-vec/package.json +1 -0
  36. package/node_modules/sqlite-vec-linux-x64/README.md +1 -0
  37. package/node_modules/sqlite-vec-linux-x64/package.json +1 -0
  38. package/node_modules/sqlite-vec-linux-x64/vec0.so +0 -0
  39. package/node_modules/zod/LICENSE +21 -0
  40. package/node_modules/zod/README.md +208 -0
  41. package/node_modules/zod/index.cjs +33 -0
  42. package/node_modules/zod/index.d.cts +4 -0
  43. package/node_modules/zod/index.d.ts +4 -0
  44. package/node_modules/zod/index.js +4 -0
  45. package/node_modules/zod/locales/index.cjs +17 -0
  46. package/node_modules/zod/locales/index.d.cts +1 -0
  47. package/node_modules/zod/locales/index.d.ts +1 -0
  48. package/node_modules/zod/locales/index.js +1 -0
  49. package/node_modules/zod/locales/package.json +6 -0
  50. package/node_modules/zod/mini/index.cjs +32 -0
  51. package/node_modules/zod/mini/index.d.cts +3 -0
  52. package/node_modules/zod/mini/index.d.ts +3 -0
  53. package/node_modules/zod/mini/index.js +3 -0
  54. package/node_modules/zod/mini/package.json +6 -0
  55. package/node_modules/zod/package.json +135 -0
  56. package/node_modules/zod/src/index.ts +4 -0
  57. package/node_modules/zod/src/locales/index.ts +1 -0
  58. package/node_modules/zod/src/mini/index.ts +3 -0
  59. package/node_modules/zod/src/v3/ZodError.ts +330 -0
  60. package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  61. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  62. package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  63. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  64. package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  65. package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  66. package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  67. package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  68. package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  69. package/node_modules/zod/src/v3/errors.ts +13 -0
  70. package/node_modules/zod/src/v3/external.ts +6 -0
  71. package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  72. package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  73. package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  74. package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  75. package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  76. package/node_modules/zod/src/v3/helpers/util.ts +224 -0
  77. package/node_modules/zod/src/v3/index.ts +4 -0
  78. package/node_modules/zod/src/v3/locales/en.ts +124 -0
  79. package/node_modules/zod/src/v3/standard-schema.ts +113 -0
  80. package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  81. package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  82. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  83. package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  84. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  85. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  86. package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  87. package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  88. package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  89. package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  90. package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  91. package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
  92. package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  93. package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  94. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  95. package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  96. package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  97. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  98. package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  99. package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
  100. package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  101. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  102. package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
  103. package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  104. package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  105. package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
  106. package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  107. package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
  108. package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  109. package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  110. package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  111. package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  112. package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
  113. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  114. package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  115. package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  116. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  117. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  118. package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
  119. package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  120. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  121. package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  122. package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  123. package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  124. package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  125. package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  126. package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  127. package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  128. package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
  129. package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  130. package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  131. package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  132. package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  133. package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  134. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  135. package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
  136. package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  137. package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  138. package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  139. package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  140. package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  141. package/node_modules/zod/src/v3/types.ts +5138 -0
  142. package/node_modules/zod/src/v4/classic/checks.ts +32 -0
  143. package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  144. package/node_modules/zod/src/v4/classic/compat.ts +70 -0
  145. package/node_modules/zod/src/v4/classic/errors.ts +82 -0
  146. package/node_modules/zod/src/v4/classic/external.ts +51 -0
  147. package/node_modules/zod/src/v4/classic/from-json-schema.ts +643 -0
  148. package/node_modules/zod/src/v4/classic/index.ts +5 -0
  149. package/node_modules/zod/src/v4/classic/iso.ts +90 -0
  150. package/node_modules/zod/src/v4/classic/parse.ts +82 -0
  151. package/node_modules/zod/src/v4/classic/schemas.ts +2409 -0
  152. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  153. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
  154. package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  155. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
  156. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  157. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  158. package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  159. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  160. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
  161. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +276 -0
  162. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  163. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
  164. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +562 -0
  165. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  166. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
  167. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  168. package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
  169. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
  170. package/node_modules/zod/src/v4/classic/tests/default.test.ts +365 -0
  171. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  172. package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  173. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +661 -0
  174. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
  175. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +595 -0
  176. package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
  177. package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
  178. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
  179. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  180. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +734 -0
  181. package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
  182. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  183. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
  184. package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
  185. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
  186. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
  187. package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
  188. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  189. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
  190. package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
  191. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  192. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  193. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
  194. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  195. package/node_modules/zod/src/v4/classic/tests/number.test.ts +270 -0
  196. package/node_modules/zod/src/v4/classic/tests/object.test.ts +640 -0
  197. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +223 -0
  198. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +427 -0
  199. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
  200. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
  201. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
  202. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +282 -0
  203. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  204. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  205. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  206. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  207. package/node_modules/zod/src/v4/classic/tests/record.test.ts +632 -0
  208. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +582 -0
  209. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +570 -0
  210. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
  211. package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
  212. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
  213. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
  214. package/node_modules/zod/src/v4/classic/tests/string.test.ts +1175 -0
  215. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
  216. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
  217. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  218. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2990 -0
  219. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +361 -0
  220. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +183 -0
  221. package/node_modules/zod/src/v4/classic/tests/union.test.ts +219 -0
  222. package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  223. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  224. package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  225. package/node_modules/zod/src/v4/core/api.ts +1798 -0
  226. package/node_modules/zod/src/v4/core/checks.ts +1293 -0
  227. package/node_modules/zod/src/v4/core/config.ts +15 -0
  228. package/node_modules/zod/src/v4/core/core.ts +138 -0
  229. package/node_modules/zod/src/v4/core/doc.ts +44 -0
  230. package/node_modules/zod/src/v4/core/errors.ts +448 -0
  231. package/node_modules/zod/src/v4/core/index.ts +16 -0
  232. package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
  233. package/node_modules/zod/src/v4/core/json-schema-processors.ts +667 -0
  234. package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
  235. package/node_modules/zod/src/v4/core/parse.ts +195 -0
  236. package/node_modules/zod/src/v4/core/regexes.ts +183 -0
  237. package/node_modules/zod/src/v4/core/registries.ts +105 -0
  238. package/node_modules/zod/src/v4/core/schemas.ts +4538 -0
  239. package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  240. package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  241. package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  242. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  243. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  244. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
  245. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  246. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  247. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  248. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  249. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +83 -0
  250. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +67 -0
  251. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  252. package/node_modules/zod/src/v4/core/to-json-schema.ts +613 -0
  253. package/node_modules/zod/src/v4/core/util.ts +966 -0
  254. package/node_modules/zod/src/v4/core/versions.ts +5 -0
  255. package/node_modules/zod/src/v4/core/zsf.ts +323 -0
  256. package/node_modules/zod/src/v4/index.ts +4 -0
  257. package/node_modules/zod/src/v4/locales/ar.ts +115 -0
  258. package/node_modules/zod/src/v4/locales/az.ts +111 -0
  259. package/node_modules/zod/src/v4/locales/be.ts +176 -0
  260. package/node_modules/zod/src/v4/locales/bg.ts +128 -0
  261. package/node_modules/zod/src/v4/locales/ca.ts +116 -0
  262. package/node_modules/zod/src/v4/locales/cs.ts +118 -0
  263. package/node_modules/zod/src/v4/locales/da.ts +123 -0
  264. package/node_modules/zod/src/v4/locales/de.ts +116 -0
  265. package/node_modules/zod/src/v4/locales/en.ts +119 -0
  266. package/node_modules/zod/src/v4/locales/eo.ts +118 -0
  267. package/node_modules/zod/src/v4/locales/es.ts +141 -0
  268. package/node_modules/zod/src/v4/locales/fa.ts +126 -0
  269. package/node_modules/zod/src/v4/locales/fi.ts +121 -0
  270. package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
  271. package/node_modules/zod/src/v4/locales/fr.ts +116 -0
  272. package/node_modules/zod/src/v4/locales/he.ts +246 -0
  273. package/node_modules/zod/src/v4/locales/hu.ts +117 -0
  274. package/node_modules/zod/src/v4/locales/hy.ts +164 -0
  275. package/node_modules/zod/src/v4/locales/id.ts +115 -0
  276. package/node_modules/zod/src/v4/locales/index.ts +49 -0
  277. package/node_modules/zod/src/v4/locales/is.ts +119 -0
  278. package/node_modules/zod/src/v4/locales/it.ts +116 -0
  279. package/node_modules/zod/src/v4/locales/ja.ts +114 -0
  280. package/node_modules/zod/src/v4/locales/ka.ts +123 -0
  281. package/node_modules/zod/src/v4/locales/kh.ts +7 -0
  282. package/node_modules/zod/src/v4/locales/km.ts +119 -0
  283. package/node_modules/zod/src/v4/locales/ko.ts +121 -0
  284. package/node_modules/zod/src/v4/locales/lt.ts +239 -0
  285. package/node_modules/zod/src/v4/locales/mk.ts +118 -0
  286. package/node_modules/zod/src/v4/locales/ms.ts +115 -0
  287. package/node_modules/zod/src/v4/locales/nl.ts +121 -0
  288. package/node_modules/zod/src/v4/locales/no.ts +116 -0
  289. package/node_modules/zod/src/v4/locales/ota.ts +117 -0
  290. package/node_modules/zod/src/v4/locales/pl.ts +118 -0
  291. package/node_modules/zod/src/v4/locales/ps.ts +126 -0
  292. package/node_modules/zod/src/v4/locales/pt.ts +116 -0
  293. package/node_modules/zod/src/v4/locales/ru.ts +176 -0
  294. package/node_modules/zod/src/v4/locales/sl.ts +118 -0
  295. package/node_modules/zod/src/v4/locales/sv.ts +119 -0
  296. package/node_modules/zod/src/v4/locales/ta.ts +118 -0
  297. package/node_modules/zod/src/v4/locales/th.ts +119 -0
  298. package/node_modules/zod/src/v4/locales/tr.ts +111 -0
  299. package/node_modules/zod/src/v4/locales/ua.ts +7 -0
  300. package/node_modules/zod/src/v4/locales/uk.ts +117 -0
  301. package/node_modules/zod/src/v4/locales/ur.ts +119 -0
  302. package/node_modules/zod/src/v4/locales/uz.ts +116 -0
  303. package/node_modules/zod/src/v4/locales/vi.ts +117 -0
  304. package/node_modules/zod/src/v4/locales/yo.ts +124 -0
  305. package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
  306. package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
  307. package/node_modules/zod/src/v4/mini/checks.ts +32 -0
  308. package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  309. package/node_modules/zod/src/v4/mini/external.ts +40 -0
  310. package/node_modules/zod/src/v4/mini/index.ts +3 -0
  311. package/node_modules/zod/src/v4/mini/iso.ts +66 -0
  312. package/node_modules/zod/src/v4/mini/parse.ts +14 -0
  313. package/node_modules/zod/src/v4/mini/schemas.ts +1916 -0
  314. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
  315. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  316. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
  317. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
  318. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +529 -0
  319. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  320. package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
  321. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
  322. package/node_modules/zod/src/v4/mini/tests/index.test.ts +963 -0
  323. package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
  324. package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
  325. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  326. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
  327. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  328. package/node_modules/zod/src/v4/mini/tests/string.test.ts +347 -0
  329. package/node_modules/zod/src/v4-mini/index.ts +3 -0
  330. package/node_modules/zod/v3/ZodError.cjs +138 -0
  331. package/node_modules/zod/v3/ZodError.d.cts +164 -0
  332. package/node_modules/zod/v3/ZodError.d.ts +164 -0
  333. package/node_modules/zod/v3/ZodError.js +133 -0
  334. package/node_modules/zod/v3/errors.cjs +17 -0
  335. package/node_modules/zod/v3/errors.d.cts +5 -0
  336. package/node_modules/zod/v3/errors.d.ts +5 -0
  337. package/node_modules/zod/v3/errors.js +9 -0
  338. package/node_modules/zod/v3/external.cjs +22 -0
  339. package/node_modules/zod/v3/external.d.cts +6 -0
  340. package/node_modules/zod/v3/external.d.ts +6 -0
  341. package/node_modules/zod/v3/external.js +6 -0
  342. package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  343. package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  344. package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  345. package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  346. package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  347. package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  348. package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  349. package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  350. package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  351. package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  352. package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  353. package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  354. package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  355. package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  356. package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  357. package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  358. package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  359. package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  360. package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  361. package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  362. package/node_modules/zod/v3/helpers/util.cjs +137 -0
  363. package/node_modules/zod/v3/helpers/util.d.cts +85 -0
  364. package/node_modules/zod/v3/helpers/util.d.ts +85 -0
  365. package/node_modules/zod/v3/helpers/util.js +133 -0
  366. package/node_modules/zod/v3/index.cjs +33 -0
  367. package/node_modules/zod/v3/index.d.cts +4 -0
  368. package/node_modules/zod/v3/index.d.ts +4 -0
  369. package/node_modules/zod/v3/index.js +4 -0
  370. package/node_modules/zod/v3/locales/en.cjs +112 -0
  371. package/node_modules/zod/v3/locales/en.d.cts +3 -0
  372. package/node_modules/zod/v3/locales/en.d.ts +3 -0
  373. package/node_modules/zod/v3/locales/en.js +109 -0
  374. package/node_modules/zod/v3/package.json +6 -0
  375. package/node_modules/zod/v3/standard-schema.cjs +2 -0
  376. package/node_modules/zod/v3/standard-schema.d.cts +102 -0
  377. package/node_modules/zod/v3/standard-schema.d.ts +102 -0
  378. package/node_modules/zod/v3/standard-schema.js +1 -0
  379. package/node_modules/zod/v3/types.cjs +3777 -0
  380. package/node_modules/zod/v3/types.d.cts +1034 -0
  381. package/node_modules/zod/v3/types.d.ts +1034 -0
  382. package/node_modules/zod/v3/types.js +3695 -0
  383. package/node_modules/zod/v4/classic/checks.cjs +33 -0
  384. package/node_modules/zod/v4/classic/checks.d.cts +1 -0
  385. package/node_modules/zod/v4/classic/checks.d.ts +1 -0
  386. package/node_modules/zod/v4/classic/checks.js +1 -0
  387. package/node_modules/zod/v4/classic/coerce.cjs +47 -0
  388. package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  389. package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  390. package/node_modules/zod/v4/classic/coerce.js +17 -0
  391. package/node_modules/zod/v4/classic/compat.cjs +61 -0
  392. package/node_modules/zod/v4/classic/compat.d.cts +50 -0
  393. package/node_modules/zod/v4/classic/compat.d.ts +50 -0
  394. package/node_modules/zod/v4/classic/compat.js +31 -0
  395. package/node_modules/zod/v4/classic/errors.cjs +74 -0
  396. package/node_modules/zod/v4/classic/errors.d.cts +30 -0
  397. package/node_modules/zod/v4/classic/errors.d.ts +30 -0
  398. package/node_modules/zod/v4/classic/errors.js +48 -0
  399. package/node_modules/zod/v4/classic/external.cjs +73 -0
  400. package/node_modules/zod/v4/classic/external.d.cts +15 -0
  401. package/node_modules/zod/v4/classic/external.d.ts +15 -0
  402. package/node_modules/zod/v4/classic/external.js +20 -0
  403. package/node_modules/zod/v4/classic/from-json-schema.cjs +610 -0
  404. package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  405. package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  406. package/node_modules/zod/v4/classic/from-json-schema.js +584 -0
  407. package/node_modules/zod/v4/classic/index.cjs +33 -0
  408. package/node_modules/zod/v4/classic/index.d.cts +4 -0
  409. package/node_modules/zod/v4/classic/index.d.ts +4 -0
  410. package/node_modules/zod/v4/classic/index.js +4 -0
  411. package/node_modules/zod/v4/classic/iso.cjs +60 -0
  412. package/node_modules/zod/v4/classic/iso.d.cts +22 -0
  413. package/node_modules/zod/v4/classic/iso.d.ts +22 -0
  414. package/node_modules/zod/v4/classic/iso.js +30 -0
  415. package/node_modules/zod/v4/classic/package.json +6 -0
  416. package/node_modules/zod/v4/classic/parse.cjs +41 -0
  417. package/node_modules/zod/v4/classic/parse.d.cts +31 -0
  418. package/node_modules/zod/v4/classic/parse.d.ts +31 -0
  419. package/node_modules/zod/v4/classic/parse.js +15 -0
  420. package/node_modules/zod/v4/classic/schemas.cjs +1272 -0
  421. package/node_modules/zod/v4/classic/schemas.d.cts +739 -0
  422. package/node_modules/zod/v4/classic/schemas.d.ts +739 -0
  423. package/node_modules/zod/v4/classic/schemas.js +1157 -0
  424. package/node_modules/zod/v4/core/api.cjs +1222 -0
  425. package/node_modules/zod/v4/core/api.d.cts +304 -0
  426. package/node_modules/zod/v4/core/api.d.ts +304 -0
  427. package/node_modules/zod/v4/core/api.js +1082 -0
  428. package/node_modules/zod/v4/core/checks.cjs +601 -0
  429. package/node_modules/zod/v4/core/checks.d.cts +278 -0
  430. package/node_modules/zod/v4/core/checks.d.ts +278 -0
  431. package/node_modules/zod/v4/core/checks.js +575 -0
  432. package/node_modules/zod/v4/core/core.cjs +83 -0
  433. package/node_modules/zod/v4/core/core.d.cts +70 -0
  434. package/node_modules/zod/v4/core/core.d.ts +70 -0
  435. package/node_modules/zod/v4/core/core.js +76 -0
  436. package/node_modules/zod/v4/core/doc.cjs +39 -0
  437. package/node_modules/zod/v4/core/doc.d.cts +14 -0
  438. package/node_modules/zod/v4/core/doc.d.ts +14 -0
  439. package/node_modules/zod/v4/core/doc.js +35 -0
  440. package/node_modules/zod/v4/core/errors.cjs +213 -0
  441. package/node_modules/zod/v4/core/errors.d.cts +220 -0
  442. package/node_modules/zod/v4/core/errors.d.ts +220 -0
  443. package/node_modules/zod/v4/core/errors.js +182 -0
  444. package/node_modules/zod/v4/core/index.cjs +47 -0
  445. package/node_modules/zod/v4/core/index.d.cts +16 -0
  446. package/node_modules/zod/v4/core/index.d.ts +16 -0
  447. package/node_modules/zod/v4/core/index.js +16 -0
  448. package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
  449. package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  450. package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  451. package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
  452. package/node_modules/zod/v4/core/json-schema-processors.cjs +648 -0
  453. package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
  454. package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
  455. package/node_modules/zod/v4/core/json-schema-processors.js +605 -0
  456. package/node_modules/zod/v4/core/json-schema.cjs +2 -0
  457. package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
  458. package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
  459. package/node_modules/zod/v4/core/json-schema.js +1 -0
  460. package/node_modules/zod/v4/core/package.json +6 -0
  461. package/node_modules/zod/v4/core/parse.cjs +131 -0
  462. package/node_modules/zod/v4/core/parse.d.cts +49 -0
  463. package/node_modules/zod/v4/core/parse.d.ts +49 -0
  464. package/node_modules/zod/v4/core/parse.js +93 -0
  465. package/node_modules/zod/v4/core/regexes.cjs +166 -0
  466. package/node_modules/zod/v4/core/regexes.d.cts +79 -0
  467. package/node_modules/zod/v4/core/regexes.d.ts +79 -0
  468. package/node_modules/zod/v4/core/regexes.js +133 -0
  469. package/node_modules/zod/v4/core/registries.cjs +56 -0
  470. package/node_modules/zod/v4/core/registries.d.cts +35 -0
  471. package/node_modules/zod/v4/core/registries.d.ts +35 -0
  472. package/node_modules/zod/v4/core/registries.js +51 -0
  473. package/node_modules/zod/v4/core/schemas.cjs +2124 -0
  474. package/node_modules/zod/v4/core/schemas.d.cts +1146 -0
  475. package/node_modules/zod/v4/core/schemas.d.ts +1146 -0
  476. package/node_modules/zod/v4/core/schemas.js +2093 -0
  477. package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  478. package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  479. package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  480. package/node_modules/zod/v4/core/standard-schema.js +1 -0
  481. package/node_modules/zod/v4/core/to-json-schema.cjs +446 -0
  482. package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
  483. package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
  484. package/node_modules/zod/v4/core/to-json-schema.js +437 -0
  485. package/node_modules/zod/v4/core/util.cjs +710 -0
  486. package/node_modules/zod/v4/core/util.d.cts +199 -0
  487. package/node_modules/zod/v4/core/util.d.ts +199 -0
  488. package/node_modules/zod/v4/core/util.js +651 -0
  489. package/node_modules/zod/v4/core/versions.cjs +8 -0
  490. package/node_modules/zod/v4/core/versions.d.cts +5 -0
  491. package/node_modules/zod/v4/core/versions.d.ts +5 -0
  492. package/node_modules/zod/v4/core/versions.js +5 -0
  493. package/node_modules/zod/v4/index.cjs +22 -0
  494. package/node_modules/zod/v4/index.d.cts +3 -0
  495. package/node_modules/zod/v4/index.d.ts +3 -0
  496. package/node_modules/zod/v4/index.js +3 -0
  497. package/node_modules/zod/v4/locales/ar.cjs +133 -0
  498. package/node_modules/zod/v4/locales/ar.d.cts +5 -0
  499. package/node_modules/zod/v4/locales/ar.d.ts +4 -0
  500. package/node_modules/zod/v4/locales/ar.js +106 -0
  501. package/node_modules/zod/v4/locales/az.cjs +132 -0
  502. package/node_modules/zod/v4/locales/az.d.cts +5 -0
  503. package/node_modules/zod/v4/locales/az.d.ts +4 -0
  504. package/node_modules/zod/v4/locales/az.js +105 -0
  505. package/node_modules/zod/v4/locales/be.cjs +183 -0
  506. package/node_modules/zod/v4/locales/be.d.cts +5 -0
  507. package/node_modules/zod/v4/locales/be.d.ts +4 -0
  508. package/node_modules/zod/v4/locales/be.js +156 -0
  509. package/node_modules/zod/v4/locales/bg.cjs +147 -0
  510. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  511. package/node_modules/zod/v4/locales/bg.d.ts +4 -0
  512. package/node_modules/zod/v4/locales/bg.js +120 -0
  513. package/node_modules/zod/v4/locales/ca.cjs +134 -0
  514. package/node_modules/zod/v4/locales/ca.d.cts +5 -0
  515. package/node_modules/zod/v4/locales/ca.d.ts +4 -0
  516. package/node_modules/zod/v4/locales/ca.js +107 -0
  517. package/node_modules/zod/v4/locales/cs.cjs +138 -0
  518. package/node_modules/zod/v4/locales/cs.d.cts +5 -0
  519. package/node_modules/zod/v4/locales/cs.d.ts +4 -0
  520. package/node_modules/zod/v4/locales/cs.js +111 -0
  521. package/node_modules/zod/v4/locales/da.cjs +142 -0
  522. package/node_modules/zod/v4/locales/da.d.cts +5 -0
  523. package/node_modules/zod/v4/locales/da.d.ts +4 -0
  524. package/node_modules/zod/v4/locales/da.js +115 -0
  525. package/node_modules/zod/v4/locales/de.cjs +135 -0
  526. package/node_modules/zod/v4/locales/de.d.cts +5 -0
  527. package/node_modules/zod/v4/locales/de.d.ts +4 -0
  528. package/node_modules/zod/v4/locales/de.js +108 -0
  529. package/node_modules/zod/v4/locales/en.cjs +136 -0
  530. package/node_modules/zod/v4/locales/en.d.cts +5 -0
  531. package/node_modules/zod/v4/locales/en.d.ts +4 -0
  532. package/node_modules/zod/v4/locales/en.js +109 -0
  533. package/node_modules/zod/v4/locales/eo.cjs +136 -0
  534. package/node_modules/zod/v4/locales/eo.d.cts +5 -0
  535. package/node_modules/zod/v4/locales/eo.d.ts +4 -0
  536. package/node_modules/zod/v4/locales/eo.js +109 -0
  537. package/node_modules/zod/v4/locales/es.cjs +159 -0
  538. package/node_modules/zod/v4/locales/es.d.cts +5 -0
  539. package/node_modules/zod/v4/locales/es.d.ts +4 -0
  540. package/node_modules/zod/v4/locales/es.js +132 -0
  541. package/node_modules/zod/v4/locales/fa.cjs +141 -0
  542. package/node_modules/zod/v4/locales/fa.d.cts +5 -0
  543. package/node_modules/zod/v4/locales/fa.d.ts +4 -0
  544. package/node_modules/zod/v4/locales/fa.js +114 -0
  545. package/node_modules/zod/v4/locales/fi.cjs +139 -0
  546. package/node_modules/zod/v4/locales/fi.d.cts +5 -0
  547. package/node_modules/zod/v4/locales/fi.d.ts +4 -0
  548. package/node_modules/zod/v4/locales/fi.js +112 -0
  549. package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
  550. package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  551. package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  552. package/node_modules/zod/v4/locales/fr-CA.js +107 -0
  553. package/node_modules/zod/v4/locales/fr.cjs +135 -0
  554. package/node_modules/zod/v4/locales/fr.d.cts +5 -0
  555. package/node_modules/zod/v4/locales/fr.d.ts +4 -0
  556. package/node_modules/zod/v4/locales/fr.js +108 -0
  557. package/node_modules/zod/v4/locales/he.cjs +241 -0
  558. package/node_modules/zod/v4/locales/he.d.cts +5 -0
  559. package/node_modules/zod/v4/locales/he.d.ts +4 -0
  560. package/node_modules/zod/v4/locales/he.js +214 -0
  561. package/node_modules/zod/v4/locales/hu.cjs +135 -0
  562. package/node_modules/zod/v4/locales/hu.d.cts +5 -0
  563. package/node_modules/zod/v4/locales/hu.d.ts +4 -0
  564. package/node_modules/zod/v4/locales/hu.js +108 -0
  565. package/node_modules/zod/v4/locales/hy.cjs +174 -0
  566. package/node_modules/zod/v4/locales/hy.d.cts +5 -0
  567. package/node_modules/zod/v4/locales/hy.d.ts +4 -0
  568. package/node_modules/zod/v4/locales/hy.js +147 -0
  569. package/node_modules/zod/v4/locales/id.cjs +133 -0
  570. package/node_modules/zod/v4/locales/id.d.cts +5 -0
  571. package/node_modules/zod/v4/locales/id.d.ts +4 -0
  572. package/node_modules/zod/v4/locales/id.js +106 -0
  573. package/node_modules/zod/v4/locales/index.cjs +104 -0
  574. package/node_modules/zod/v4/locales/index.d.cts +49 -0
  575. package/node_modules/zod/v4/locales/index.d.ts +49 -0
  576. package/node_modules/zod/v4/locales/index.js +49 -0
  577. package/node_modules/zod/v4/locales/is.cjs +136 -0
  578. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  579. package/node_modules/zod/v4/locales/is.d.ts +4 -0
  580. package/node_modules/zod/v4/locales/is.js +109 -0
  581. package/node_modules/zod/v4/locales/it.cjs +135 -0
  582. package/node_modules/zod/v4/locales/it.d.cts +5 -0
  583. package/node_modules/zod/v4/locales/it.d.ts +4 -0
  584. package/node_modules/zod/v4/locales/it.js +108 -0
  585. package/node_modules/zod/v4/locales/ja.cjs +134 -0
  586. package/node_modules/zod/v4/locales/ja.d.cts +5 -0
  587. package/node_modules/zod/v4/locales/ja.d.ts +4 -0
  588. package/node_modules/zod/v4/locales/ja.js +107 -0
  589. package/node_modules/zod/v4/locales/ka.cjs +139 -0
  590. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  591. package/node_modules/zod/v4/locales/ka.d.ts +4 -0
  592. package/node_modules/zod/v4/locales/ka.js +112 -0
  593. package/node_modules/zod/v4/locales/kh.cjs +12 -0
  594. package/node_modules/zod/v4/locales/kh.d.cts +5 -0
  595. package/node_modules/zod/v4/locales/kh.d.ts +5 -0
  596. package/node_modules/zod/v4/locales/kh.js +5 -0
  597. package/node_modules/zod/v4/locales/km.cjs +137 -0
  598. package/node_modules/zod/v4/locales/km.d.cts +5 -0
  599. package/node_modules/zod/v4/locales/km.d.ts +4 -0
  600. package/node_modules/zod/v4/locales/km.js +110 -0
  601. package/node_modules/zod/v4/locales/ko.cjs +138 -0
  602. package/node_modules/zod/v4/locales/ko.d.cts +5 -0
  603. package/node_modules/zod/v4/locales/ko.d.ts +4 -0
  604. package/node_modules/zod/v4/locales/ko.js +111 -0
  605. package/node_modules/zod/v4/locales/lt.cjs +230 -0
  606. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  607. package/node_modules/zod/v4/locales/lt.d.ts +4 -0
  608. package/node_modules/zod/v4/locales/lt.js +203 -0
  609. package/node_modules/zod/v4/locales/mk.cjs +136 -0
  610. package/node_modules/zod/v4/locales/mk.d.cts +5 -0
  611. package/node_modules/zod/v4/locales/mk.d.ts +4 -0
  612. package/node_modules/zod/v4/locales/mk.js +109 -0
  613. package/node_modules/zod/v4/locales/ms.cjs +134 -0
  614. package/node_modules/zod/v4/locales/ms.d.cts +5 -0
  615. package/node_modules/zod/v4/locales/ms.d.ts +4 -0
  616. package/node_modules/zod/v4/locales/ms.js +107 -0
  617. package/node_modules/zod/v4/locales/nl.cjs +137 -0
  618. package/node_modules/zod/v4/locales/nl.d.cts +5 -0
  619. package/node_modules/zod/v4/locales/nl.d.ts +4 -0
  620. package/node_modules/zod/v4/locales/nl.js +110 -0
  621. package/node_modules/zod/v4/locales/no.cjs +135 -0
  622. package/node_modules/zod/v4/locales/no.d.cts +5 -0
  623. package/node_modules/zod/v4/locales/no.d.ts +4 -0
  624. package/node_modules/zod/v4/locales/no.js +108 -0
  625. package/node_modules/zod/v4/locales/ota.cjs +136 -0
  626. package/node_modules/zod/v4/locales/ota.d.cts +5 -0
  627. package/node_modules/zod/v4/locales/ota.d.ts +4 -0
  628. package/node_modules/zod/v4/locales/ota.js +109 -0
  629. package/node_modules/zod/v4/locales/package.json +6 -0
  630. package/node_modules/zod/v4/locales/pl.cjs +136 -0
  631. package/node_modules/zod/v4/locales/pl.d.cts +5 -0
  632. package/node_modules/zod/v4/locales/pl.d.ts +4 -0
  633. package/node_modules/zod/v4/locales/pl.js +109 -0
  634. package/node_modules/zod/v4/locales/ps.cjs +141 -0
  635. package/node_modules/zod/v4/locales/ps.d.cts +5 -0
  636. package/node_modules/zod/v4/locales/ps.d.ts +4 -0
  637. package/node_modules/zod/v4/locales/ps.js +114 -0
  638. package/node_modules/zod/v4/locales/pt.cjs +135 -0
  639. package/node_modules/zod/v4/locales/pt.d.cts +5 -0
  640. package/node_modules/zod/v4/locales/pt.d.ts +4 -0
  641. package/node_modules/zod/v4/locales/pt.js +108 -0
  642. package/node_modules/zod/v4/locales/ru.cjs +183 -0
  643. package/node_modules/zod/v4/locales/ru.d.cts +5 -0
  644. package/node_modules/zod/v4/locales/ru.d.ts +4 -0
  645. package/node_modules/zod/v4/locales/ru.js +156 -0
  646. package/node_modules/zod/v4/locales/sl.cjs +136 -0
  647. package/node_modules/zod/v4/locales/sl.d.cts +5 -0
  648. package/node_modules/zod/v4/locales/sl.d.ts +4 -0
  649. package/node_modules/zod/v4/locales/sl.js +109 -0
  650. package/node_modules/zod/v4/locales/sv.cjs +137 -0
  651. package/node_modules/zod/v4/locales/sv.d.cts +5 -0
  652. package/node_modules/zod/v4/locales/sv.d.ts +4 -0
  653. package/node_modules/zod/v4/locales/sv.js +110 -0
  654. package/node_modules/zod/v4/locales/ta.cjs +137 -0
  655. package/node_modules/zod/v4/locales/ta.d.cts +5 -0
  656. package/node_modules/zod/v4/locales/ta.d.ts +4 -0
  657. package/node_modules/zod/v4/locales/ta.js +110 -0
  658. package/node_modules/zod/v4/locales/th.cjs +137 -0
  659. package/node_modules/zod/v4/locales/th.d.cts +5 -0
  660. package/node_modules/zod/v4/locales/th.d.ts +4 -0
  661. package/node_modules/zod/v4/locales/th.js +110 -0
  662. package/node_modules/zod/v4/locales/tr.cjs +132 -0
  663. package/node_modules/zod/v4/locales/tr.d.cts +5 -0
  664. package/node_modules/zod/v4/locales/tr.d.ts +4 -0
  665. package/node_modules/zod/v4/locales/tr.js +105 -0
  666. package/node_modules/zod/v4/locales/ua.cjs +12 -0
  667. package/node_modules/zod/v4/locales/ua.d.cts +5 -0
  668. package/node_modules/zod/v4/locales/ua.d.ts +5 -0
  669. package/node_modules/zod/v4/locales/ua.js +5 -0
  670. package/node_modules/zod/v4/locales/uk.cjs +135 -0
  671. package/node_modules/zod/v4/locales/uk.d.cts +5 -0
  672. package/node_modules/zod/v4/locales/uk.d.ts +4 -0
  673. package/node_modules/zod/v4/locales/uk.js +108 -0
  674. package/node_modules/zod/v4/locales/ur.cjs +137 -0
  675. package/node_modules/zod/v4/locales/ur.d.cts +5 -0
  676. package/node_modules/zod/v4/locales/ur.d.ts +4 -0
  677. package/node_modules/zod/v4/locales/ur.js +110 -0
  678. package/node_modules/zod/v4/locales/uz.cjs +136 -0
  679. package/node_modules/zod/v4/locales/uz.d.cts +5 -0
  680. package/node_modules/zod/v4/locales/uz.d.ts +4 -0
  681. package/node_modules/zod/v4/locales/uz.js +109 -0
  682. package/node_modules/zod/v4/locales/vi.cjs +135 -0
  683. package/node_modules/zod/v4/locales/vi.d.cts +5 -0
  684. package/node_modules/zod/v4/locales/vi.d.ts +4 -0
  685. package/node_modules/zod/v4/locales/vi.js +108 -0
  686. package/node_modules/zod/v4/locales/yo.cjs +134 -0
  687. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  688. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  689. package/node_modules/zod/v4/locales/yo.js +107 -0
  690. package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
  691. package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  692. package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  693. package/node_modules/zod/v4/locales/zh-CN.js +109 -0
  694. package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
  695. package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  696. package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  697. package/node_modules/zod/v4/locales/zh-TW.js +107 -0
  698. package/node_modules/zod/v4/mini/checks.cjs +34 -0
  699. package/node_modules/zod/v4/mini/checks.d.cts +1 -0
  700. package/node_modules/zod/v4/mini/checks.d.ts +1 -0
  701. package/node_modules/zod/v4/mini/checks.js +1 -0
  702. package/node_modules/zod/v4/mini/coerce.cjs +52 -0
  703. package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  704. package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  705. package/node_modules/zod/v4/mini/coerce.js +22 -0
  706. package/node_modules/zod/v4/mini/external.cjs +63 -0
  707. package/node_modules/zod/v4/mini/external.d.cts +12 -0
  708. package/node_modules/zod/v4/mini/external.d.ts +12 -0
  709. package/node_modules/zod/v4/mini/external.js +14 -0
  710. package/node_modules/zod/v4/mini/index.cjs +32 -0
  711. package/node_modules/zod/v4/mini/index.d.cts +3 -0
  712. package/node_modules/zod/v4/mini/index.d.ts +3 -0
  713. package/node_modules/zod/v4/mini/index.js +3 -0
  714. package/node_modules/zod/v4/mini/iso.cjs +64 -0
  715. package/node_modules/zod/v4/mini/iso.d.cts +22 -0
  716. package/node_modules/zod/v4/mini/iso.d.ts +22 -0
  717. package/node_modules/zod/v4/mini/iso.js +34 -0
  718. package/node_modules/zod/v4/mini/package.json +6 -0
  719. package/node_modules/zod/v4/mini/parse.cjs +16 -0
  720. package/node_modules/zod/v4/mini/parse.d.cts +1 -0
  721. package/node_modules/zod/v4/mini/parse.d.ts +1 -0
  722. package/node_modules/zod/v4/mini/parse.js +1 -0
  723. package/node_modules/zod/v4/mini/schemas.cjs +1046 -0
  724. package/node_modules/zod/v4/mini/schemas.d.cts +427 -0
  725. package/node_modules/zod/v4/mini/schemas.d.ts +427 -0
  726. package/node_modules/zod/v4/mini/schemas.js +925 -0
  727. package/node_modules/zod/v4/package.json +6 -0
  728. package/node_modules/zod/v4-mini/index.cjs +32 -0
  729. package/node_modules/zod/v4-mini/index.d.cts +3 -0
  730. package/node_modules/zod/v4-mini/index.d.ts +3 -0
  731. package/node_modules/zod/v4-mini/index.js +3 -0
  732. package/node_modules/zod/v4-mini/package.json +6 -0
  733. package/package.json +7 -2
  734. package/plugin/dist/index.d.ts +26 -0
  735. package/plugin/dist/index.d.ts.map +1 -1
  736. package/plugin/dist/index.js +103 -21
  737. package/plugin/dist/index.js.map +1 -1
  738. package/plugin/package.json +6 -6
  739. package/scripts/install-runtime.mjs +2 -3
package/CHANGELOG.md CHANGED
@@ -2,6 +2,21 @@
2
2
 
3
3
  All notable changes to hypermem are documented here.
4
4
 
5
+ ## 0.8.5 — provider/model-aware failover detection, release parity
6
+
7
+ - **Provider + model identity is now tracked explicitly in HyperCompositor model state.** Mid-session routing changes are detected on the full `provider/model` key, not budget alone, so `github-copilot/claude-sonnet-4-6` and `anthropic/claude-sonnet-4-6` are treated as different operational envelopes.
8
+ - **Downshift detection now keys off provider/model-aware state.** Budget-downshift handling still stays conservative, but verbose logs now surface provider swaps, model swaps, and budget deltas clearly during `context:assemble`.
9
+ - **Install docs now declare the full operator path.** README, INSTALL.md, and TUNING.md now separate staging from activation, document install states explicitly, add merge-safe wiring guidance, and clarify what healthy-but-empty looks like on a first run.
10
+ - **0.8.5 release parity.** Package versions are aligned for the next publish while preserving the npm-first installer and merge-safe config guidance landed from Pylon's install review.
11
+
12
+ ## 0.8.4 — compaction fence fix, install-path fixes, zod runtime packaging
13
+
14
+ - **Compaction fence tail preservation fixed.** The recent-tail preservation fix is included so compaction no longer drops the protected recent tail during fence advancement.
15
+ - **`afterTurn` token count persistence fixed.** Token accounting now persists correctly after turn completion, which keeps follow-on pressure and compaction decisions honest.
16
+ - **Registry install docs corrected and hardened.** Installation guidance now fixes the shipped `ocplatform` typo, clarifies older package behavior around missing `install:runtime`, improves `plugins.load.paths` quoting, and removes the dangerous overwrite-style `plugins.allow` example in favor of merge-safe guidance.
17
+ - **Install tracks clarified.** Docs now distinguish source-clone plugin setup from older npm package behavior so first-run operators do not follow the wrong path.
18
+ - **`zod` now ships for plugin runtime use.** The published package now includes the runtime `zod` dependency required by the HyperCompositor plugin, fixing `Cannot find module 'zod'` on package-based installs.
19
+
5
20
  ## 0.8.2 — npm packaging & install path clarity
6
21
 
7
22
  - **INSTALL.md and CHANGELOG.md now ship in the npm package.** Previously missing from `package.json` `files` array, so `npm pack` / `npm publish` excluded them. Users installing from the registry now get the full install guide without cloning the repo.
package/INSTALL.md CHANGED
@@ -17,18 +17,25 @@ If `gateway status` shows "disabled" or "not configured", complete OpenClaw onbo
17
17
 
18
18
  ## Quick Start
19
19
 
20
+ This guide is deliberately declarative. Follow the steps in order and verify each install state before moving on.
21
+
22
+ > **Release note:** if the npm package you installed does not contain `hypermem-install` or `install:runtime`, you are on an older public release. Use the source-clone path in this guide or wait for `0.8.4+`.
23
+
20
24
  ```bash
21
25
  npm install @psiclawops/hypermem
22
26
  npx hypermem-install
23
27
  ```
24
28
 
25
- `hypermem-install` stages the plugin runtime into `~/.openclaw/plugins/hypermem`. It does **not** modify your OpenClaw config and does **not** restart the gateway.
29
+ `hypermem-install` stages the plugin runtime into `~/.openclaw/plugins/hypermem`. It does **not** modify your OpenClaw config and does **not** restart the gateway. That means a successful `npx hypermem-install` is **not** a completed install. It is only a completed staging step.
26
30
 
27
31
  > **Prerequisites:** OpenClaw must be installed and onboarded. Run `openclaw gateway status` to confirm. If the gateway is not configured, complete OpenClaw setup first.
28
32
  >
29
33
  > **Config merge warning:** if you already have values in `plugins.load.paths` or `plugins.allow`, merge them instead of overwriting blindly.
30
34
 
31
- Create the config directory and set the embedding provider:
35
+ Create the config directory and write the current recommended fresh-install starter config. This does 2 things:
36
+
37
+ 1. sets `embedding.provider` to `none` so a clean install does not try to use Ollama by default
38
+ 2. applies the current recommended lean compositor settings so fresh installs start from the same OpenClaw and HyperMem guidance we want operators to use
32
39
 
33
40
  ```bash
34
41
  mkdir -p ~/.openclaw/hypermem
@@ -36,11 +43,41 @@ cat > ~/.openclaw/hypermem/config.json <<'JSON'
36
43
  {
37
44
  "embedding": {
38
45
  "provider": "none"
46
+ },
47
+ "compositor": {
48
+ "budgetFraction": 0.55,
49
+ "contextWindowReserve": 0.25,
50
+ "targetBudgetFraction": 0.50,
51
+ "warmHistoryBudgetFraction": 0.27,
52
+ "maxFacts": 25,
53
+ "maxHistoryMessages": 500,
54
+ "maxCrossSessionContext": 4000,
55
+ "maxRecentToolPairs": 3,
56
+ "maxProseToolPairs": 10,
57
+ "keystoneHistoryFraction": 0.15,
58
+ "keystoneMaxMessages": 12,
59
+ "wikiTokenCap": 500
39
60
  }
40
61
  }
41
62
  JSON
42
63
  ```
43
64
 
65
+ If you want a lighter or richer memory profile later, adjust from this baseline using the tuning guidance below instead of starting from the older code defaults.
66
+
67
+ ### Install states
68
+
69
+ Treat the install as 5 explicit states:
70
+
71
+ | State | Meaning | Success signal |
72
+ |---|---|---|
73
+ | 1. Package installed | npm package is present | `npm install` succeeds |
74
+ | 2. Runtime staged | plugin payload copied into `~/.openclaw/plugins/hypermem` | `npx hypermem-install` succeeds and files exist |
75
+ | 3. OpenClaw wired | config points at HyperMem plugins | `plugins.load.paths` and `plugins.slots.*` are set correctly |
76
+ | 4. Runtime loaded | gateway restarted and loaded both plugins | `openclaw plugins list` shows both plugins loaded |
77
+ | 5. Runtime active | HyperMem is actually composing turns | logs show `hypermem initialized` and compose activity |
78
+
79
+ Do not stop at state 2 and call the install done.
80
+
44
81
  Wire both plugins into OpenClaw:
45
82
 
46
83
  **Step 1: Check your existing config (mandatory — do this before wiring).**
@@ -50,24 +87,26 @@ openclaw config get plugins.load.paths
50
87
  openclaw config get plugins.allow
51
88
  ```
52
89
 
53
- Note any existing values. You must include them in the commands below.
90
+ Note any existing values. You must include them in the commands below. If `plugins.allow` is null, unset, or empty, skip the allowlist step entirely.
54
91
 
55
92
  **Step 2: Wire plugins.**
56
93
 
57
94
  ```bash
58
- # Wire plugin load paths — merge with any existing paths from Step 1:
59
- openclaw config set plugins.load.paths "[\"${HOME}/.openclaw/plugins/hypermem/plugin\",\"${HOME}/.openclaw/plugins/hypermem/memory-plugin\"]" --strict-json
95
+ # Wire plugin load paths — use a variable to avoid shell quoting problems, then merge if needed:
96
+ HYPERMEM_PATHS="[\"${HOME}/.openclaw/plugins/hypermem/plugin\",\"${HOME}/.openclaw/plugins/hypermem/memory-plugin\"]"
97
+ openclaw config set plugins.load.paths "$HYPERMEM_PATHS" --strict-json
60
98
 
61
99
  # Set the context engine and memory slots:
62
100
  openclaw config set plugins.slots.contextEngine hypercompositor
63
101
  openclaw config set plugins.slots.memory hypermem
64
102
 
65
- # Allow both plugins merge with any existing allowed plugins from Step 1.
66
- # Example (if "my-plugin" was already allowed):
67
- ocplatform config set plugins.allow '["my-plugin","hypercompositor","hypermem"]' --strict-json
103
+ # Only set plugins.allow if your OpenClaw config already uses an allowlist.
104
+ # If `openclaw config get plugins.allow` returns null, empty, or unset, skip this step.
105
+ # If it returns an array, copy that array and append "hypercompositor" and "hypermem".
106
+ openclaw config set plugins.allow '["existing-plugin","hypercompositor","hypermem"]' --strict-json
68
107
  ```
69
108
 
70
- > **⚠️ Merge, don't replace.** The command above sets `plugins.allow` to whatever you specify. If `plugins.allow` was non-empty in Step 1, include those entries in the array. Replacing it drops existing plugins (including bundled OpenClaw CLI surfaces and channel plugins).
109
+ > **⚠️ Merge, don't replace.** Do not set `plugins.allow` to only `['hypercompositor','hypermem']`. That can disable bundled CLI surfaces and channel plugins. If your system already has a non-empty allowlist, append the HyperMem plugin ids to that existing array.
71
110
 
72
111
  **Step 3: Restart.**
73
112
 
@@ -79,30 +118,50 @@ OpenClaw loads the plugin runtime from `~/.openclaw/plugins/hypermem/`.
79
118
 
80
119
  ### Verification checkpoints
81
120
 
82
- 1. **Build verified**
83
- - root build succeeds
84
- - `plugin` build succeeds
85
- - `memory-plugin` build succeeds
86
-
87
- 2. **Wiring verified**
88
- - OpenClaw accepts `plugins.load.paths`
89
- - slots are set to `hypercompositor` and `hypermem`
90
- - gateway restart succeeds
91
-
92
- 3. **Runtime verified active**
93
-
94
- Send a message to any agent, then verify:
95
-
96
- ```bash
97
- openclaw logs --limit 100 | grep -E 'hypermem|context-engine'
98
- ```
121
+ Walk the install state machine explicitly:
99
122
 
100
- Expected lightweight-mode lines:
101
- - `[hypermem] hypermem initialized`
102
- - `[hypermem] Embedding provider: none — semantic search disabled, using FTS5 fallback`
103
- - `[hypermem:compose]`
123
+ 1. **Runtime staged**
124
+ ```bash
125
+ ls ~/.openclaw/plugins/hypermem
126
+ ```
127
+ Expected: `dist`, `plugin`, `memory-plugin`, and package metadata exist.
104
128
 
105
- If you see a fallback like `falling back to default engine "legacy"`, the install is **not** fully active yet even if the build and wiring steps succeeded.
129
+ 2. **Wiring verified**
130
+ ```bash
131
+ openclaw config get plugins.load.paths
132
+ openclaw config get plugins.slots.contextEngine
133
+ openclaw config get plugins.slots.memory
134
+ openclaw config get plugins.allow
135
+ ```
136
+ Expected: HyperMem paths are present, slots point to `hypercompositor` and `hypermem`, and allowlist entries were merged only if the install already used an allowlist.
137
+
138
+ 3. **Runtime loaded**
139
+ ```bash
140
+ openclaw plugins list
141
+ ```
142
+ Expected: both `hypercompositor` and `hypermem` show as loaded.
143
+
144
+ 4. **Runtime healthy**
145
+ Run from the repo clone directory, because `bin/` is a relative path:
146
+ ```bash
147
+ node bin/hypermem-status.mjs --health
148
+ ```
149
+ Expected on fresh installs: the plugin may report `no sessions ingested` or empty counts. That means healthy but unused, not broken.
150
+
151
+ 5. **Runtime active**
152
+
153
+ Send a message to any agent, then verify:
154
+
155
+ ```bash
156
+ openclaw logs --limit 100 | grep -E 'hypermem|context-engine'
157
+ ```
158
+
159
+ Expected lightweight-mode lines:
160
+ - `[hypermem] hypermem initialized`
161
+ - `[hypermem] Embedding provider: none — semantic search disabled, using FTS5 fallback`
162
+ - `[hypermem:compose]`
163
+
164
+ If you see a fallback like `falling back to default engine "legacy"`, the install is **not** fully active yet even if staging and wiring succeeded.
106
165
 
107
166
  ---
108
167
 
@@ -135,7 +194,7 @@ Everything runs in-process on SQLite memory databases. No external database serv
135
194
 
136
195
  > **Package versions:** the root package (`hypermem`) and the two plugins (`hypercompositor`, `hypermem-memory`) are versioned independently. Plugin versions trail the core by one minor version when no plugin-facing API changes ship in a release — this is expected.
137
196
 
138
- The **embedding layer** (L3 semantic search) requires a configured provider. Without one, hypermem falls back to FTS5 keyword matching. This is functional but degrades recall quality. See [Setup Styles](#setup-styles) below.
197
+ The **embedding layer** (L3 semantic search) requires a configured provider. Without one, hypermem falls back to FTS5 keyword matching. This is functional but degrades recall quality. Fresh installs should start with `provider: "none"` explicitly so the runtime behavior is intentional and easy to verify, then upgrade later. See [Setup Styles](#setup-styles) below.
139
198
 
140
199
  ---
141
200
 
@@ -374,7 +433,7 @@ npm install
374
433
  npm run build
375
434
  ```
376
435
 
377
- Build both plugins, then install the runtime payload into OCPlatform's durable plugin directory:
436
+ Build both plugins, then install the runtime payload into 's durable plugin directory:
378
437
 
379
438
  ```bash
380
439
  npm --prefix plugin install && npm --prefix plugin run build
@@ -396,21 +455,23 @@ Use the OpenClaw CLI. **Do not edit `openclaw.json` directly.**
396
455
 
397
456
  ```bash
398
457
  # Check existing values first — merge if non-empty:
399
- ocplatform config get plugins.load.paths
458
+ openclaw config get plugins.load.paths
400
459
  openclaw config get plugins.allow
401
460
 
402
- # Wire plugin load paths (merge with any existing paths):
403
- openclaw config set plugins.load.paths "[\"${HOME}/.openclaw/plugins/hypermem/plugin\",\"${HOME}/.openclaw/plugins/hypermem/memory-plugin\"]" --strict-json
461
+ # Wire plugin load paths (use a variable to avoid shell quoting problems):
462
+ HYPERMEM_PATHS="[\"${HOME}/.openclaw/plugins/hypermem/plugin\",\"${HOME}/.openclaw/plugins/hypermem/memory-plugin\"]"
463
+ openclaw config set plugins.load.paths "$HYPERMEM_PATHS" --strict-json
404
464
 
405
465
  # Set the context engine and memory slots:
406
466
  openclaw config set plugins.slots.contextEngine hypercompositor
407
467
  openclaw config set plugins.slots.memory hypermem
408
468
 
409
- # Allow both plugins merge with any existing allowed plugins (example includes "my-plugin"):
410
- ocplatform config set plugins.allow '["my-plugin","hypercompositor","hypermem"]' --strict-json
469
+ # Only set plugins.allow if your OpenClaw config already uses an allowlist.
470
+ # If it returns an array, append the HyperMem plugin ids to that existing array.
471
+ openclaw config set plugins.allow '["existing-plugin","hypercompositor","hypermem"]' --strict-json
411
472
  ```
412
473
 
413
- > **⚠️ Merge, don't replace.** Check `openclaw config get plugins.allow` before running this command and include all existing entries in the array.
474
+ > **⚠️ Merge, don't replace.** Never replace a working `plugins.allow` list with only HyperMem entries. If `plugins.allow` is unset or empty, leave it alone.
414
475
 
415
476
  ### Step 3 — Choose embedding provider
416
477
 
@@ -422,6 +483,8 @@ See [Embedding Providers](#embedding-providers) above.
422
483
 
423
484
  ### Step 4 — Restart and verify
424
485
 
486
+ Do not start tuning before this section passes. If HyperMem is not loaded and composing, the next problem is installation, not tuning.
487
+
425
488
  ```bash
426
489
  openclaw gateway restart
427
490
  ```
@@ -603,7 +666,7 @@ This gives agents 4 days of working memory at startup (~12k chars total). Still
603
666
  Controls the maximum size of bootstrap files (AGENTS.md, SOUL.md, etc.) injected on session start. The default (12000) is tight for agents with governance rules, tool references, and identity docs:
604
667
 
605
668
  ```bash
606
- ocplatform config set agents.defaults.bootstrapMaxChars 20000 --strict-json
669
+ openclaw config set agents.defaults.bootstrapMaxChars 20000 --strict-json
607
670
  ```
608
671
 
609
672
  ### Compaction safety net
@@ -611,10 +674,10 @@ ocplatform config set agents.defaults.bootstrapMaxChars 20000 --strict-json
611
674
  OpenClaw's built-in compaction (`safeguard` mode) serves as a last-resort safety net. Keep it enabled but tuned so it only fires when HyperMem's own pressure management is insufficient:
612
675
 
613
676
  ```bash
614
- ocplatform config set agents.defaults.compaction.mode safeguard
677
+ openclaw config set agents.defaults.compaction.mode safeguard
615
678
  openclaw config set agents.defaults.compaction.reserveTokens 16384 --strict-json
616
- ocplatform config set agents.defaults.compaction.keepRecentTokens 6000 --strict-json
617
- ocplatform config set agents.defaults.compaction.reserveTokensFloor 15000 --strict-json
679
+ openclaw config set agents.defaults.compaction.keepRecentTokens 6000 --strict-json
680
+ openclaw config set agents.defaults.compaction.reserveTokensFloor 15000 --strict-json
618
681
  openclaw config set agents.defaults.compaction.maxHistoryShare 0.65 --strict-json
619
682
  ```
620
683
 
@@ -811,7 +874,7 @@ Expected on fresh installs. Facts and episodes accumulate over real conversation
811
874
 
812
875
  **Lost bundled plugins after setting `plugins.allow`**
813
876
 
814
- If you set `plugins.allow` to only `["hypercompositor","hypermem"]` without including your pre-existing allowed plugins, OpenClaw will stop loading everything else (including built-in CLI surfaces and bundled channel plugins). Fix: re-read your OpenClaw defaults (`openclaw config get plugins.allow`), merge hypermem entries back into the full list, and `openclaw gateway restart`.
877
+ If you set `plugins.allow` to only `["hypercompositor","hypermem"]` without including your pre-existing allowed plugins, OpenClaw can stop loading bundled CLI surfaces and channel plugins. Fix: restore the prior allowlist, append `hypercompositor` and `hypermem`, then `openclaw gateway restart`. If `plugins.allow` was previously unset or empty, remove the HyperMem-only allowlist instead of keeping it.
815
878
 
816
879
  **Plugin not found**
817
880
 
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  hypermem is a SQLite-backed runtime context engine for OpenClaw agents.
10
10
 
11
- **Quick install** (interactive, detects hardware, writes config):
11
+ **Quick install** (runtime staging + guided OpenClaw wiring):
12
12
 
13
13
  ```bash
14
14
  npm install @psiclawops/hypermem && npx hypermem-install
@@ -20,7 +20,7 @@ Or via the shell installer:
20
20
  curl -fsSL https://raw.githubusercontent.com/PsiClawOps/hypermem/main/install.sh | bash
21
21
  ```
22
22
 
23
- Or install manually via `npm install @psiclawops/hypermem` — see [Installation](#installation) for plugin wiring, embedding setup, and step-by-step paths.
23
+ Or install manually via `npm install @psiclawops/hypermem` — see [Installation](#installation) for the full declarative plugin path, verification checkpoints, and setup variants.
24
24
 
25
25
 
26
26
  ---
@@ -386,7 +386,7 @@ Slot-level budget allocation is shown in the [hypercompositor diagram](#what-the
386
386
 
387
387
  ## Requirements
388
388
 
389
- **Current release: hypermem 0.8.2.** Changelog: [CHANGELOG.md](./CHANGELOG.md)
389
+ **Current release: hypermem 0.8.5.** Changelog: [CHANGELOG.md](./CHANGELOG.md)
390
390
 
391
391
  | Requirement | Version | Notes |
392
392
  |---|---|---|
@@ -399,7 +399,7 @@ SQLite is a library, not a service. All four layers run in-process with no exter
399
399
  **Runtime version constants** (importable from the package):
400
400
  ```typescript
401
401
  import {
402
- ENGINE_VERSION, // '0.8.2'
402
+ ENGINE_VERSION, // '0.8.5'
403
403
  MIN_NODE_VERSION, // '22.0.0'
404
404
  SQLITE_VEC_VERSION, // '0.1.9'
405
405
  MAIN_SCHEMA_VERSION, // 10 (messages.db)
@@ -447,7 +447,29 @@ const composed = await hm.compose({
447
447
 
448
448
  That's it. No gateway, no plugins, no config files. See [API](#api) for the full interface.
449
449
 
450
- ### OpenClaw plugin install (from source)
450
+ ### OpenClaw plugin install
451
+
452
+ **Install contract:** HyperMem plugin install has 4 distinct states. Treat them separately.
453
+
454
+ 1. **Package installed**: `npm install @psiclawops/hypermem`
455
+ 2. **Runtime staged**: `npx hypermem-install` or `npm run install:runtime`
456
+ 3. **OpenClaw wired**: plugin paths, slots, and optional allowlist merged into config
457
+ 4. **Runtime verified active**: gateway restarted, plugins loaded, compose logs visible
458
+
459
+ If you only finish step 2, HyperMem is **not installed yet**. It is only staged.
460
+
461
+ > **Release note:** if the npm package you installed does not contain `hypermem-install` or `install:runtime`, you are on an older public release. Use the source-clone path below or wait for `0.8.5+`.
462
+
463
+ #### Path A: npm package, recommended for operators
464
+
465
+ ```bash
466
+ npm install @psiclawops/hypermem
467
+ npx hypermem-install
468
+ ```
469
+
470
+ `hypermem-install` stages the runtime payload into `~/.openclaw/plugins/hypermem`. It does **not** modify OpenClaw config and does **not** restart the gateway.
471
+
472
+ #### Path B: source clone, recommended for contributors
451
473
 
452
474
  ```bash
453
475
  git clone https://github.com/PsiClawOps/hypermem.git
@@ -458,7 +480,11 @@ npm --prefix memory-plugin install && npm --prefix memory-plugin run build
458
480
  npm run install:runtime
459
481
  ```
460
482
 
461
- `install:runtime` stages the runtime payload into `~/.openclaw/plugins/hypermem` and prints the exact config commands to wire the plugins. Before running them, create the data directory and config:
483
+ Both install paths converge here. The runtime payload is now staged under `~/.openclaw/plugins/hypermem`, but HyperMem is still **not active** until OpenClaw is wired and restarted.
484
+
485
+ #### Step 1, write the starter config
486
+
487
+ Before wiring the plugins, create the data directory and write the current recommended starter config:
462
488
 
463
489
  ```bash
464
490
  mkdir -p ~/.openclaw/hypermem
@@ -466,14 +492,37 @@ cat > ~/.openclaw/hypermem/config.json <<'JSON'
466
492
  {
467
493
  "embedding": {
468
494
  "provider": "none"
495
+ },
496
+ "compositor": {
497
+ "budgetFraction": 0.55,
498
+ "contextWindowReserve": 0.25,
499
+ "targetBudgetFraction": 0.50,
500
+ "warmHistoryBudgetFraction": 0.27,
501
+ "maxFacts": 25,
502
+ "maxHistoryMessages": 500,
503
+ "maxCrossSessionContext": 4000,
504
+ "maxRecentToolPairs": 3,
505
+ "maxProseToolPairs": 10,
506
+ "keystoneHistoryFraction": 0.15,
507
+ "keystoneMaxMessages": 12,
508
+ "wikiTokenCap": 500
469
509
  }
470
510
  }
471
511
  JSON
472
512
  ```
473
513
 
474
- This sets lightweight mode (FTS5 keyword search, no embedding provider needed). Add an embedding provider later for semantic search without losing stored data. See [INSTALL.md](./INSTALL.md#embedding-providers) for options.
514
+ This keeps a fresh install in lightweight embedding mode while also applying the current recommended lean compositor baseline for OpenClaw operators. Add an embedding provider later for semantic search without losing stored data. See [INSTALL.md](./INSTALL.md#embedding-providers) and [docs/TUNING.md](./docs/TUNING.md) for adjustments.
515
+
516
+ #### Step 2, inspect current OpenClaw plugin config
475
517
 
476
- Wire the plugins into OpenClaw:
518
+ ```bash
519
+ openclaw config get plugins.load.paths
520
+ openclaw config get plugins.allow
521
+ ```
522
+
523
+ Record what is already there. You are going to **merge**, not replace.
524
+
525
+ #### Step 3, wire the plugins into OpenClaw
477
526
 
478
527
  > **⚠️ Merge, don't overwrite.** If you already have values in `plugins.load.paths` or `plugins.allow`, check them first and include your existing entries alongside the new ones. Replacing the list drops whatever was there before.
479
528
  >
@@ -491,14 +540,37 @@ openclaw config set plugins.load.paths "$HYPERMEM_PATHS" --strict-json
491
540
  openclaw config set plugins.slots.contextEngine hypercompositor
492
541
  openclaw config set plugins.slots.memory hypermem
493
542
 
494
- # ⚠️ Add to your existing plugins.allow do not replace your current list.
495
- # Edit the array below to include any plugins you already have allowed:
496
- openclaw config set plugins.allow '["hypercompositor","hypermem"]' --strict-json
543
+ # Only set plugins.allow if your OpenClaw config already uses an allowlist.
544
+ # If `openclaw config get plugins.allow` returns null, empty, or unset, skip this step.
545
+ # If it returns an array, copy that array and append "hypercompositor" and "hypermem".
546
+ openclaw config set plugins.allow '["existing-plugin","hypercompositor","hypermem"]' --strict-json
547
+
548
+ openclaw gateway restart
549
+ ```
550
+
551
+ Do **not** replace a working `plugins.allow` list with only `['hypercompositor','hypermem']`. That can disable bundled CLI surfaces and channel plugins.
552
+
553
+ If `plugins.allow` is unset, null, or empty, leave it alone. Do **not** create a new allowlist unless your OpenClaw install already uses one.
554
+
555
+ #### Step 4, restart the gateway
497
556
 
557
+ ```bash
498
558
  openclaw gateway restart
499
559
  ```
500
560
 
501
- Verify (run these commands from the repo clone directory — `bin/` is a relative path):
561
+ #### Step 5, verify install state
562
+
563
+ Verification should answer which state you are in, not just whether one command succeeded.
564
+
565
+ | State | What it means | How to verify |
566
+ |---|---|---|
567
+ | Runtime staged | files copied into plugin runtime dir | `ls ~/.openclaw/plugins/hypermem` |
568
+ | Wired | OpenClaw config points at HyperMem | `openclaw config get plugins.slots.contextEngine`, `openclaw config get plugins.slots.memory` |
569
+ | Loaded | gateway actually loaded both plugins | `openclaw plugins list` |
570
+ | Healthy but empty | plugin active, no real session data yet | `node bin/hypermem-status.mjs --health` may report no sessions ingested |
571
+ | Active | HyperMem is composing live turns | `openclaw logs --limit 50 | grep hypermem` shows compose activity |
572
+
573
+ Run these commands from the repo clone directory when using `bin/hypermem-status.mjs`, because `bin/` is a relative path:
502
574
 
503
575
  ```bash
504
576
  openclaw plugins list # hypercompositor and hypermem should show as loaded
@@ -506,7 +578,14 @@ node bin/hypermem-status.mjs --health # confirms database initialization
506
578
  openclaw logs --limit 50 | grep hypermem # should show "hypermem initialized"
507
579
  ```
508
580
 
509
- If you see `falling back to default engine "legacy"` in the logs, the install is not active. Check [INSTALL.md troubleshooting](./INSTALL.md#troubleshooting-clean-installs).
581
+ Expected first-run outcomes:
582
+
583
+ - `openclaw plugins list` shows `hypercompositor` and `hypermem` loaded
584
+ - `node bin/hypermem-status.mjs --health` may say `no sessions ingested` on a fresh install, which is normal
585
+ - logs should show `hypermem initialized`
586
+ - logs should show compose activity after you send a real message to any agent
587
+
588
+ If you see `falling back to default engine "legacy"` in the logs, the install is **not active**. Check [INSTALL.md troubleshooting](./INSTALL.md#troubleshooting-clean-installs).
510
589
 
511
590
  ### One-line installer
512
591
 
@@ -516,7 +595,7 @@ curl -fsSL https://raw.githubusercontent.com/PsiClawOps/hypermem/main/install.sh
516
595
 
517
596
  Interactive: detects hardware, selects embedding tier, writes config, registers plugins.
518
597
 
519
- Full guide with embedding tiers, reranker setup, fleet config, and tuning: **[INSTALL.md](./INSTALL.md)**
598
+ Full guide with installation states, merge-safe config wiring, embedding tiers, reranker setup, fleet config, and tuning: **[INSTALL.md](./INSTALL.md)**
520
599
 
521
600
  ### Agent-assisted install
522
601
 
@@ -532,6 +611,8 @@ If you prefer, hand the install to your OpenClaw agent:
532
611
 
533
612
  ### Tuning
534
613
 
614
+ Do tuning **after** the install is verified active. If logs still show `legacy` fallback or no compose activity, you do not have a tuning problem yet. You have an install problem.
615
+
535
616
  Two independent surfaces: **context assembly** (what fills the context window) and **output shaping** (how the model writes). Pick a profile first. Most deployments adjust one or two settings on top.
536
617
 
537
618
  | Profile | Target window | Best for |
@@ -37,27 +37,27 @@ import { isSafeForSharedVisibility } from './secret-scanner.js';
37
37
  // returns results. New agents default to 'general'.
38
38
  //
39
39
  // ── EXAMPLE DATA ──────────────────────────────────────────────────
40
- // The agent names below (agent1, director1, etc.) are PLACEHOLDERS.
40
+ // The agent names below (alice, director1, etc.) are PLACEHOLDERS.
41
41
  // Replace them with your own agent IDs and domain labels to match
42
42
  // your fleet. Single-agent installs don't need to edit this:
43
43
  // unknown agents fall through to 'general' automatically.
44
44
  // See INSTALL.md § "Configure your fleet" for details.
45
45
  // ─────────────────────────────────────────────────────────────────
46
46
  const AGENT_DOMAIN_MAP = {
47
- agent1: 'infrastructure',
47
+ alice: 'infrastructure',
48
48
  director2: 'infrastructure',
49
49
  director1: 'infrastructure',
50
50
  director3: 'infrastructure',
51
- agent2: 'product',
51
+ bob: 'product',
52
52
  director4: 'product',
53
53
  director5: 'product',
54
54
  director6: 'product',
55
- agent3: 'security',
55
+ dave: 'security',
56
56
  director7: 'security',
57
57
  director8: 'security',
58
58
  agent4: 'ux',
59
- agent6: 'governance',
60
- agent5: 'strategy',
59
+ carol: 'governance',
60
+ oscar: 'strategy',
61
61
  specialist1: 'development',
62
62
  specialist2: 'communications',
63
63
  main: 'general',
@@ -94,7 +94,7 @@ function extractFactCandidates(content) {
94
94
  // Preference patterns — medium confidence (0.60)
95
95
  const preferencePatterns = [
96
96
  /(?:prefer|always use|never use|don't use|avoid) (.{10,150})/gi,
97
- /(?:operator|operator) (?:wants|prefers|likes|hates|dislikes) (.{10,150})/gi,
97
+ /(?:operator) (?:wants|prefers|likes|hates|dislikes) (.{10,150})/gi,
98
98
  ];
99
99
  // Operational patterns: deployments, incidents, fixes — high confidence (0.70)
100
100
  const operationalPatterns = [
@@ -148,7 +148,7 @@ const OPERATIONAL_BOILERPLATE = [
148
148
  /still\s*waiting/i,
149
149
  /will\s*pick\s*(it\s*)?up\s*(on\s*(next|the))?/i,
150
150
  /message\s*is\s*in\s*(his|her|their|the)\s*queue/i,
151
- /sent\s+to\s+(agent6|agent2|agent4|agent3|agent5|agent1)/i,
151
+ /sent\s+to\s+(carol|bob|agent4|dave|oscar|alice)/i,
152
152
  /dispatched\s+(it\s+)?to/i,
153
153
  /timed\s*out\s*after/i,
154
154
  /\bNO_REPLY\b/,
@@ -393,7 +393,7 @@ function detectTopic(content) {
393
393
  if (!content || content.length < 50)
394
394
  return null;
395
395
  // Product/project name detection
396
- const productMatch = content.match(/\b(HyperMem|ClawText|ClawDash|ClawCanvas|ClawCouncil|ClawTomation|OpenClaw|ClawDispatch)\b/i);
396
+ const productMatch = content.match(/\b(HyperMem|ClawText|dashboard|canvas|council|automation|OpenClaw|dispatch)\b/i);
397
397
  if (productMatch)
398
398
  return productMatch[1];
399
399
  // Infrastructure topic detection
package/dist/cache.d.ts CHANGED
@@ -8,6 +8,9 @@ import { DatabaseSync } from 'node:sqlite';
8
8
  import type { CacheConfig, ComposeDiagnostics, SessionMeta, SessionCursor, StoredMessage, NeutralMessage } from './types.js';
9
9
  export interface ModelState {
10
10
  model: string;
11
+ modelKey?: string;
12
+ provider?: string;
13
+ modelId?: string;
11
14
  tokenBudget: number;
12
15
  composedAt: string;
13
16
  historyDepth: number;
@@ -1 +1 @@
1
- {"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../src/cache.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,YAAY,EAAiB,MAAM,aAAa,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE7H,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,WAAW,EAAE,kBAAkB,CAAC;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,eAAe,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M,GAAG,IAAI,CAAC;IAMxG,cAAc,CAClB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,cAAc,EAAE,EAC1B,GAAG,GAAE,MAAY,GAChB,OAAO,CAAC,IAAI,CAAC;IAKV,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,EAAE,GAAG,IAAI,CAAC;IAMtG,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAK1F,gBAAgB,CACpB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,KAAK,EAAE;QACL,OAAO,CAAC,EAAE,aAAa,EAAE,CAAC;QAC1B,MAAM,CAAC,EAAE,cAAc,EAAE,CAAC;QAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,GACA,OAAO,CAAC,IAAI,CAAC;IAmBV,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IASpF,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC;IAS9E,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;CAIlC"}
@@ -41,6 +41,14 @@ export interface CompactionEligibility {
41
41
  /** The fence itself */
42
42
  fence: CompactionFence | null;
43
43
  }
44
+ export interface UpdateCompactionFenceOptions {
45
+ /**
46
+ * Minimum number of most-recent non-system messages that must remain above
47
+ * the fence. Prevents compaction from fencing off the live conversational
48
+ * tail under pressure.
49
+ */
50
+ minTailMessages?: number;
51
+ }
44
52
  /**
45
53
  * Add the compaction_fences table to an existing messages.db.
46
54
  * Idempotent — safe to call on every startup.
@@ -57,7 +65,7 @@ export declare function ensureCompactionFenceSchema(db: DatabaseSync): void;
57
65
  * This prevents a short compose window from accidentally exposing
58
66
  * already-compacted messages.
59
67
  */
60
- export declare function updateCompactionFence(db: DatabaseSync, conversationId: number, oldestVisibleMessageId: number): void;
68
+ export declare function updateCompactionFence(db: DatabaseSync, conversationId: number, oldestVisibleMessageId: number, opts?: UpdateCompactionFenceOptions): void;
61
69
  /**
62
70
  * Get the current compaction fence for a conversation.
63
71
  * Returns null if no fence has been set (meaning: no compaction allowed).
@@ -1 +1 @@
1
- {"version":3,"file":"compaction-fence.d.ts","sourceRoot":"","sources":["../src/compaction-fence.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAIhD,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,MAAM,CAAC;IACvB,oEAAoE;IACpE,cAAc,EAAE,MAAM,CAAC;IACvB,yCAAyC;IACzC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,MAAM,CAAC;IACvB,+DAA+D;IAC/D,aAAa,EAAE,MAAM,CAAC;IACtB,gDAAgD;IAChD,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,mEAAmE;IACnE,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,uBAAuB;IACvB,KAAK,EAAE,eAAe,GAAG,IAAI,CAAC;CAC/B;AAID;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,EAAE,EAAE,YAAY,GAAG,IAAI,CAQlE;AAID;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACnC,EAAE,EAAE,YAAY,EAChB,cAAc,EAAE,MAAM,EACtB,s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