hippo-memory 1.26.1 → 1.26.3

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.js CHANGED
@@ -7512,6 +7512,17 @@ async function main() {
7512
7512
  process.exit(0);
7513
7513
  }
7514
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
+ }
7515
7526
  switch (command) {
7516
7527
  case 'init':
7517
7528
  cmdInit(hippoRoot, flags);