claude-memory-layer 1.0.21 → 1.0.23

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/index.js CHANGED
@@ -2676,7 +2676,8 @@ var Embedder = class {
2676
2676
  }
2677
2677
  const output = await this.pipeline(text, {
2678
2678
  pooling: "mean",
2679
- normalize: true
2679
+ normalize: true,
2680
+ truncation: true
2680
2681
  });
2681
2682
  const vector = Array.from(output.data);
2682
2683
  return {
@@ -2700,7 +2701,8 @@ var Embedder = class {
2700
2701
  for (const text of batch) {
2701
2702
  const output = await this.pipeline(text, {
2702
2703
  pooling: "mean",
2703
- normalize: true
2704
+ normalize: true,
2705
+ truncation: true
2704
2706
  });
2705
2707
  const vector = Array.from(output.data);
2706
2708
  results.push({
@@ -9709,7 +9711,7 @@ function getHooksConfig(pluginPath) {
9709
9711
  };
9710
9712
  }
9711
9713
  var program = new Command();
9712
- program.name("claude-memory-layer").description("Claude Code Memory Plugin CLI").version("1.0.21");
9714
+ program.name("claude-memory-layer").description("Claude Code Memory Plugin CLI").version("1.0.23");
9713
9715
  program.command("install").description("Install hooks into Claude Code settings").option("--path <path>", "Custom plugin path (defaults to auto-detect)").action(async (options) => {
9714
9716
  try {
9715
9717
  const pluginPath = options.path || getPluginPath();