@remnic/cli 9.6.9 → 9.6.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 (2) hide show
  1. package/dist/index.js +24 -2
  2. package/package.json +28 -28
package/dist/index.js CHANGED
@@ -721,7 +721,8 @@ var BENCH_VALUE_FLAGS = Object.freeze([
721
721
  "--ama-bench-cross-judge-base-url",
722
722
  "--ama-bench-cross-judge-api-key",
723
723
  "--ama-bench-cross-judge-codex-reasoning-effort",
724
- "--local-lab-manifest"
724
+ "--local-lab-manifest",
725
+ "--memcorrect-adapter"
725
726
  ]);
726
727
  var BENCH_BOOLEAN_FLAGS = Object.freeze([
727
728
  "--quick",
@@ -794,7 +795,8 @@ var RUN_VALUE_FLAGS = Object.freeze([
794
795
  "--ama-bench-cross-judge-base-url",
795
796
  "--ama-bench-cross-judge-api-key",
796
797
  "--ama-bench-cross-judge-codex-reasoning-effort",
797
- "--local-lab-manifest"
798
+ "--local-lab-manifest",
799
+ "--memcorrect-adapter"
798
800
  ]);
799
801
  var RUN_BOOLEAN_FLAGS = Object.freeze([
800
802
  "--quick",
@@ -1303,6 +1305,22 @@ function parseBenchArgs(argv) {
1303
1305
  }
1304
1306
  publishedTaskFilter = trimmed;
1305
1307
  }
1308
+ const memcorrectAdapterRaw = readBenchOptionValue(args, "--memcorrect-adapter");
1309
+ let memcorrectAdapter;
1310
+ if (memcorrectAdapterRaw !== void 0) {
1311
+ if (memcorrectAdapterRaw !== "remnic" && memcorrectAdapterRaw !== "prompt-only") {
1312
+ throw new Error(
1313
+ 'ERROR: --memcorrect-adapter must be "remnic" or "prompt-only".'
1314
+ );
1315
+ }
1316
+ const targetsMemcorrect = action !== "published" && !args.includes("--all") && benchmarks.length === 1 && benchmarks[0] === "memcorrect-v1";
1317
+ if (!targetsMemcorrect) {
1318
+ throw new Error(
1319
+ "ERROR: --memcorrect-adapter is only supported for a single-benchmark memcorrect-v1 run."
1320
+ );
1321
+ }
1322
+ memcorrectAdapter = memcorrectAdapterRaw;
1323
+ }
1306
1324
  let publishedSeed;
1307
1325
  if (publishedSeedRaw !== void 0) {
1308
1326
  const parsed = Number(publishedSeedRaw);
@@ -1437,6 +1455,7 @@ function parseBenchArgs(argv) {
1437
1455
  publishedTrialConcurrency,
1438
1456
  publishedIngestConcurrency,
1439
1457
  publishedTaskFilter,
1458
+ memcorrectAdapter,
1440
1459
  publishedOut: publishedOutRaw ? path4.resolve(expandTilde(publishedOutRaw)) : void 0,
1441
1460
  publishedDryRun: args.includes("--dry-run"),
1442
1461
  requestTimeout,
@@ -4849,6 +4868,9 @@ function buildPublishedBenchmarkOptions(benchmarkId, args) {
4849
4868
  if (benchmarkId === "beam" && args.publishedTaskFilter !== void 0) {
4850
4869
  return { taskFilter: args.publishedTaskFilter };
4851
4870
  }
4871
+ if (benchmarkId === "memcorrect-v1" && args.memcorrectAdapter !== void 0) {
4872
+ return { adapter: args.memcorrectAdapter };
4873
+ }
4852
4874
  return void 0;
4853
4875
  }
4854
4876
  async function validateRunnerManagedPublishedDryRunDataset(benchModule, benchmarkId, mode, datasetDir, limit, seed, benchmarkOptions) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnic/cli",
3
- "version": "9.6.9",
3
+ "version": "9.6.11",
4
4
  "description": "CLI for Remnic memory — init, query, doctor, daemon management",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -26,23 +26,23 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "yaml": "^2.4.2",
29
- "@remnic/plugin-pi": "^9.6.9",
30
- "@remnic/server": "^9.6.9",
31
- "@remnic/core": "^9.6.9"
29
+ "@remnic/plugin-pi": "^9.6.11",
30
+ "@remnic/core": "^9.6.11",
31
+ "@remnic/server": "^9.6.11"
32
32
  },
33
33
  "peerDependencies": {
34
- "@remnic/bench": "^9.6.9",
35
- "@remnic/export-weclone": "^9.6.9",
36
- "@remnic/import-weclone": "^9.6.9",
37
- "@remnic/import-chatgpt": "^9.6.9",
38
- "@remnic/import-claude": "^9.6.9",
39
- "@remnic/import-gemini": "^9.6.9",
40
- "@remnic/import-lossless-claw": "^9.6.9",
41
- "@remnic/import-mem0": "^9.6.9",
42
- "@remnic/import-supermemory": "^9.6.9",
43
- "@remnic/connector-limitless": "^9.6.9",
44
- "@remnic/connector-bee": "^9.6.9",
45
- "@remnic/connector-omi": "^9.6.9"
34
+ "@remnic/bench": "^9.6.11",
35
+ "@remnic/export-weclone": "^9.6.11",
36
+ "@remnic/import-weclone": "^9.6.11",
37
+ "@remnic/import-chatgpt": "^9.6.11",
38
+ "@remnic/import-claude": "^9.6.11",
39
+ "@remnic/import-gemini": "^9.6.11",
40
+ "@remnic/import-lossless-claw": "^9.6.11",
41
+ "@remnic/import-mem0": "^9.6.11",
42
+ "@remnic/import-supermemory": "^9.6.11",
43
+ "@remnic/connector-limitless": "^9.6.11",
44
+ "@remnic/connector-bee": "^9.6.11",
45
+ "@remnic/connector-omi": "^9.6.11"
46
46
  },
47
47
  "peerDependenciesMeta": {
48
48
  "@remnic/bench": {
@@ -85,18 +85,18 @@
85
85
  "devDependencies": {
86
86
  "tsup": "^8.5.1",
87
87
  "typescript": "^5.9.3",
88
- "@remnic/bench": "9.6.9",
89
- "@remnic/export-weclone": "9.6.9",
90
- "@remnic/import-weclone": "9.6.9",
91
- "@remnic/import-chatgpt": "9.6.9",
92
- "@remnic/import-claude": "9.6.9",
93
- "@remnic/import-gemini": "9.6.9",
94
- "@remnic/connector-limitless": "9.6.9",
95
- "@remnic/import-supermemory": "9.6.9",
96
- "@remnic/import-mem0": "9.6.9",
97
- "@remnic/import-lossless-claw": "9.6.9",
98
- "@remnic/connector-bee": "9.6.9",
99
- "@remnic/connector-omi": "9.6.9"
88
+ "@remnic/bench": "9.6.11",
89
+ "@remnic/export-weclone": "9.6.11",
90
+ "@remnic/import-weclone": "9.6.11",
91
+ "@remnic/import-chatgpt": "9.6.11",
92
+ "@remnic/import-claude": "9.6.11",
93
+ "@remnic/import-gemini": "9.6.11",
94
+ "@remnic/import-lossless-claw": "9.6.11",
95
+ "@remnic/import-mem0": "9.6.11",
96
+ "@remnic/connector-limitless": "9.6.11",
97
+ "@remnic/import-supermemory": "9.6.11",
98
+ "@remnic/connector-bee": "9.6.11",
99
+ "@remnic/connector-omi": "9.6.11"
100
100
  },
101
101
  "license": "MIT",
102
102
  "repository": {