hippo-memory 1.26.0 → 1.26.2

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.
package/dist/cli.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAyBH,OAAO,EASL,WAAW,EAEZ,MAAM,aAAa,CAAC;AAwGrB,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AA4ChC,kFAAkF;AAClF,wBAAgB,8BAA8B,IAAI,IAAI,CAErD;AA4zED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,GAAE,MAAqB,GAAG,MAAM,CAyE3F;AAyGD;;;GAGG;AACH,oHAAoH;AACpH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAuD/D;AA8vFD,oHAAoH;AACpH,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,KAAK,CAAC;IAAE,KAAK,EAAE,WAAW,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAC,EACtF,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,MAAkB,GAC1B,IAAI,CA6BN"}
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAyBH,OAAO,EASL,WAAW,EAEZ,MAAM,aAAa,CAAC;AAwGrB,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AA4ChC,kFAAkF;AAClF,wBAAgB,8BAA8B,IAAI,IAAI,CAErD;AA+zED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,GAAE,MAAqB,GAAG,MAAM,CAyE3F;AAyGD;;;GAGG;AACH,oHAAoH;AACpH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAuD/D;AA8vFD,oHAAoH;AACpH,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,KAAK,CAAC;IAAE,KAAK,EAAE,WAAW,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAC,EACtF,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,MAAkB,GAC1B,IAAI,CA6BN"}
package/dist/cli.js CHANGED
@@ -949,6 +949,9 @@ async function cmdRecall(hippoRoot, query, flags) {
949
949
  asOf,
950
950
  budget,
951
951
  minResults: minResults ?? 1,
952
+ recallScope: recallExplicitScope
953
+ ? { requested: recallExplicitScope, additive: true }
954
+ : {},
952
955
  });
953
956
  }
954
957
  }
@@ -7509,6 +7512,17 @@ async function main() {
7509
7512
  process.exit(0);
7510
7513
  }
7511
7514
  maybeAutoInstallCodexWrapper(command, args);
7515
+ /** Global --scope well-formedness guard (v1.26.2). parseArgs stores a value-less
7516
+ * flag as boolean true; downstream the 14 consumer sites either coerced that to
7517
+ * the literal scope string 'true' (recall filter/unlock input, wm session scope,
7518
+ * the remember scope-tag dual-write) or silently dropped the user's scoping
7519
+ * intent (the remember envelope WRITE). Reject it once here, mirroring the
7520
+ * --hops value-less guard, so every current and future command - including the
7521
+ * thin-client dispatch relays - sees --scope only as a non-empty string. */
7522
+ if ('scope' in flags && (typeof flags['scope'] !== 'string' || !flags['scope'].trim())) {
7523
+ console.error('--scope requires a non-empty value (e.g. --scope slack:private:C1).');
7524
+ process.exit(1);
7525
+ }
7512
7526
  switch (command) {
7513
7527
  case 'init':
7514
7528
  cmdInit(hippoRoot, flags);