@remnic/plugin-openclaw 1.0.10 → 1.0.11

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 (69) hide show
  1. package/dist/{calibration-674TDQNV.js → calibration-WCHOK6DX.js} +12 -4
  2. package/dist/capsule-cli-TFKLAG3S.js +329 -0
  3. package/dist/capsule-crypto-K3IRTKRH.js +17 -0
  4. package/dist/capsule-export-CVA3CKUQ.js +265 -0
  5. package/dist/capsule-import-CFX7BY5W.js +16 -0
  6. package/dist/capsule-merge-7RVOHJK3.js +189 -0
  7. package/dist/{causal-chain-OKDZSDEB.js → causal-chain-WYN5QOPS.js} +3 -2
  8. package/dist/{causal-consolidation-5BEXLQV5.js → causal-consolidation-JD6KJJH6.js} +16 -12
  9. package/dist/{causal-retrieval-3BKBXVXD.js → causal-retrieval-NZHQOZOE.js} +6 -5
  10. package/dist/{causal-trajectory-graph-RQIT37DN.js → causal-trajectory-graph-VBPE2WPM.js} +1 -1
  11. package/dist/chunk-37NKFWSO.js +233 -0
  12. package/dist/chunk-3G7FAF6S.js +60 -0
  13. package/dist/{chunk-Z7GRLVK3.js → chunk-3GUF7RQI.js} +235 -19
  14. package/dist/chunk-3I7RHWYT.js +214 -0
  15. package/dist/chunk-4G2XCSD2.js +186 -0
  16. package/dist/chunk-6IWEAUN6.js +148 -0
  17. package/dist/{chunk-LN5UZQVG.js → chunk-6UFI73TJ.js} +5 -3
  18. package/dist/chunk-7OQEPGQF.js +529 -0
  19. package/dist/chunk-B52XADV3.js +244 -0
  20. package/dist/chunk-BU5KJVWF.js +78 -0
  21. package/dist/chunk-CXM7EBAO.js +289 -0
  22. package/dist/chunk-ETJZRIAM.js +227 -0
  23. package/dist/chunk-FQRSVYY4.js +110 -0
  24. package/dist/chunk-HRGFO6AW.js +349 -0
  25. package/dist/chunk-I6B2W2IY.js +47 -0
  26. package/dist/chunk-JZBOXOUC.js +259 -0
  27. package/dist/chunk-K7EUBNDD.js +185 -0
  28. package/dist/chunk-L4PRBB2A.js +1860 -0
  29. package/dist/chunk-MBIFE6SA.js +250 -0
  30. package/dist/chunk-N7EOZY6F.js +400 -0
  31. package/dist/chunk-NKVIN6RD.js +118 -0
  32. package/dist/chunk-OEI7GLV2.js +17 -0
  33. package/dist/{chunk-S2ISS4AH.js → chunk-P3DIW2SD.js} +10 -10
  34. package/dist/{chunk-7TENHBV2.js → chunk-RQCTMECT.js} +10 -48
  35. package/dist/chunk-SSFTU6LP.js +182 -0
  36. package/dist/{chunk-BXTMZDRT.js → chunk-SVSQAG6M.js} +7 -5
  37. package/dist/chunk-TLVIQLB4.js +874 -0
  38. package/dist/{chunk-JJSNPSCD.js → chunk-TNH24SF6.js} +352 -50
  39. package/dist/chunk-TVKKIS53.js +720 -0
  40. package/dist/{chunk-YHH3SXKD.js → chunk-WPINX4MF.js} +1 -59
  41. package/dist/{chunk-HCFFXBLV.js → chunk-XMSDA5WA.js} +5 -1861
  42. package/dist/chunk-YGGGUTG3.js +125 -0
  43. package/dist/chunk-YGXXBRV7.js +10 -0
  44. package/dist/cipher-VHAFCG7Z.js +27 -0
  45. package/dist/dreams-ledger-3I52ISYR.js +285 -0
  46. package/dist/{engine-65C2J63X.js → engine-VMTFKFGO.js} +5 -2
  47. package/dist/{fallback-llm-LVK5PDIM.js → fallback-llm-WCWNGIQ3.js} +2 -1
  48. package/dist/first-start-migration-I24M2JEE.js +258 -0
  49. package/dist/forget-NI4RBDPB.js +68 -0
  50. package/dist/fs-utils-PZRI2HDZ.js +29 -0
  51. package/dist/graph-edge-decay-5CVKWBYH.js +203 -0
  52. package/dist/index.js +9775 -2900
  53. package/dist/kdf-H5B23ZM2.js +25 -0
  54. package/dist/memory-governance-DWGFV4FX.js +25 -0
  55. package/dist/metadata-JAGIWHEA.js +20 -0
  56. package/dist/migrate-from-identity-anchor-N3354WMP.js +7 -0
  57. package/dist/path-5LCUBAAZ.js +8 -0
  58. package/dist/peers-JF2I6RCR.js +43 -0
  59. package/dist/purge-XN2VSPZ2.js +204 -0
  60. package/dist/secure-store-FWJ7LBPH.js +149 -0
  61. package/dist/state-PVISYXRH.js +7 -0
  62. package/dist/state-store-LP5BO6SF.js +15 -0
  63. package/dist/{storage-DM4ZGOCN.js → storage-T2OGFUF4.js} +3 -1
  64. package/dist/tier-stats-IZNW66NC.js +147 -0
  65. package/dist/trace-NJESSGH7.js +289 -0
  66. package/dist/tui-MGK2LYJY.js +12 -0
  67. package/dist/types-H5R5D3WF.js +30 -0
  68. package/openclaw.plugin.json +519 -4
  69. package/package.json +1 -1
@@ -368,67 +368,9 @@ function countRecallTokenOverlap(queryTokens, value, extraStopWords = []) {
368
368
  return matches;
369
369
  }
370
370
 
371
- // ../remnic-core/src/store-contract.ts
372
- function isRecord(value) {
373
- return typeof value === "object" && value !== null && !Array.isArray(value);
374
- }
375
- function assertString(value, field) {
376
- if (typeof value !== "string" || value.trim().length === 0) {
377
- throw new Error(`${field} must be a non-empty string`);
378
- }
379
- return value.trim();
380
- }
381
- function optionalString(value) {
382
- if (typeof value !== "string" || value.trim().length === 0) return void 0;
383
- return value.trim();
384
- }
385
- function assertSafePathSegment(value, field) {
386
- if (value === "." || value === ".." || value.includes("/") || value.includes("\\")) {
387
- throw new Error(`${field} must be a safe path segment`);
388
- }
389
- return value;
390
- }
391
- function assertIsoRecordedAt(value, field = "recordedAt") {
392
- if (!/^\d{4}-\d{2}-\d{2}T/.test(value)) {
393
- throw new Error(`${field} must be an ISO timestamp`);
394
- }
395
- return value;
396
- }
397
- function recordStoreDay(recordedAt) {
398
- const day = recordedAt.slice(0, 10);
399
- if (!/^\d{4}-\d{2}-\d{2}$/.test(day)) {
400
- throw new Error("recordedAt must start with a valid YYYY-MM-DD date");
401
- }
402
- return day;
403
- }
404
- function optionalStringArray(value, field) {
405
- if (value === void 0) return void 0;
406
- if (!Array.isArray(value)) throw new Error(`${field} must be an array of strings`);
407
- const items = value.map((item, index) => assertString(item, `${field}[${index}]`));
408
- return items.length > 0 ? items : void 0;
409
- }
410
- function validateStringRecord(raw, field = "metadata") {
411
- if (raw === void 0) return void 0;
412
- if (!isRecord(raw)) throw new Error(`${field} must be an object of strings`);
413
- const out = {};
414
- for (const [key, value] of Object.entries(raw)) {
415
- if (typeof value !== "string") throw new Error(`${field} must be an object of strings`);
416
- out[key] = value;
417
- }
418
- return Object.keys(out).length > 0 ? out : void 0;
419
- }
420
-
421
371
  export {
422
372
  topicOverlapScore,
423
373
  BoxBuilder,
424
374
  normalizeRecallTokens,
425
- countRecallTokenOverlap,
426
- isRecord,
427
- assertString,
428
- optionalString,
429
- assertSafePathSegment,
430
- assertIsoRecordedAt,
431
- recordStoreDay,
432
- optionalStringArray,
433
- validateStringRecord
375
+ countRecallTokenOverlap
434
376
  };