@remnic/cli 9.3.674 → 9.3.676

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 +14 -1
  2. package/package.json +28 -28
package/dist/index.js CHANGED
@@ -664,6 +664,7 @@ var BENCH_VALUE_FLAGS = Object.freeze([
664
664
  "--judge-base-url",
665
665
  "--judge-api-key",
666
666
  "--judge-codex-reasoning-effort",
667
+ "--judge-cache-dir",
667
668
  "--internal-provider",
668
669
  "--internal-model",
669
670
  "--internal-base-url",
@@ -704,6 +705,7 @@ var BENCH_BOOLEAN_FLAGS = Object.freeze([
704
705
  "--internal-disable-thinking",
705
706
  "--dry-run",
706
707
  "--disable-thinking",
708
+ "--no-judge-cache",
707
709
  "--resume",
708
710
  "--retry-failed",
709
711
  "--help",
@@ -740,6 +742,7 @@ var RUN_VALUE_FLAGS = Object.freeze([
740
742
  "--judge-base-url",
741
743
  "--judge-api-key",
742
744
  "--judge-codex-reasoning-effort",
745
+ "--judge-cache-dir",
743
746
  "--internal-provider",
744
747
  "--internal-model",
745
748
  "--internal-base-url",
@@ -772,6 +775,7 @@ var RUN_BOOLEAN_FLAGS = Object.freeze([
772
775
  "--json",
773
776
  "--internal-disable-thinking",
774
777
  "--disable-thinking",
778
+ "--no-judge-cache",
775
779
  "--resume",
776
780
  "--retry-failed",
777
781
  "--help",
@@ -995,6 +999,7 @@ function parseBenchArgs(argv) {
995
999
  const targetRaw = readBenchOptionValue(args, "--target");
996
1000
  const requestTimeoutRaw = readBenchOptionValue(args, "--request-timeout");
997
1001
  const drainTimeoutRaw = readBenchOptionValue(args, "--drain-timeout");
1002
+ const judgeCacheDirRaw = readBenchOptionValue(args, "--judge-cache-dir");
998
1003
  const max429WaitRaw = readBenchOptionValue(args, "--max-429-wait");
999
1004
  const amaBenchJudgeProtocolRaw = readBenchOptionValue(args, "--ama-bench-judge-protocol");
1000
1005
  const amaBenchCrossJudgeProviderRaw = readBenchOptionValue(args, "--ama-bench-cross-judge-provider");
@@ -1396,6 +1401,9 @@ function parseBenchArgs(argv) {
1396
1401
  publishedDryRun: args.includes("--dry-run"),
1397
1402
  requestTimeout,
1398
1403
  drainTimeout,
1404
+ // Issue #1573 PR1: surface judge-cache flags into the runner options.
1405
+ noJudgeCache: args.includes("--no-judge-cache"),
1406
+ judgeCacheDir: judgeCacheDirRaw ? path4.resolve(expandTilde(judgeCacheDirRaw)) : void 0,
1399
1407
  max429WaitMs,
1400
1408
  disableThinking: args.includes("--disable-thinking"),
1401
1409
  amaBenchJudgeProtocol,
@@ -4800,6 +4808,9 @@ async function runBenchViaPackage(parsed, benchmarkId, runtimeProfile, benchStat
4800
4808
  internalProvider: plan.runtime.internalProvider,
4801
4809
  remnicConfig: plan.runtime.effectiveRemnicConfig,
4802
4810
  drainTimeoutMs: plan.runtime.adapterOptions.drainTimeoutMs,
4811
+ // Issue #1573 PR1: judge-result cache controls from the CLI flags.
4812
+ ...parsed.noJudgeCache ? { noJudgeCache: true } : {},
4813
+ ...parsed.judgeCacheDir ? { judgeCacheDir: parsed.judgeCacheDir } : {},
4803
4814
  ...benchmarkOptions ? { benchmarkOptions } : {},
4804
4815
  ...amaBenchProtocol.judgeProtocol ? { amaBenchJudgeProtocol: amaBenchProtocol.judgeProtocol } : {},
4805
4816
  ...amaBenchProtocol.crossJudge ? { amaBenchCrossJudge: amaBenchProtocol.crossJudge } : {},
@@ -5012,7 +5023,9 @@ async function runCustomBenchViaPackage(parsed) {
5012
5023
  judgeProvider: plan.runtime.judgeProvider,
5013
5024
  internalProvider: plan.runtime.internalProvider,
5014
5025
  remnicConfig: plan.runtime.effectiveRemnicConfig,
5015
- system
5026
+ system,
5027
+ ...parsed.noJudgeCache ? { noJudgeCache: true } : {},
5028
+ ...parsed.judgeCacheDir ? { judgeCacheDir: parsed.judgeCacheDir } : {}
5016
5029
  });
5017
5030
  result.config.remnicConfig = plan.runtime.remnicConfig;
5018
5031
  result.config.internalProvider = plan.runtime.internalProvider;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnic/cli",
3
- "version": "9.3.674",
3
+ "version": "9.3.676",
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.3.674",
30
- "@remnic/core": "^9.3.674",
31
- "@remnic/server": "^9.3.674"
29
+ "@remnic/plugin-pi": "^9.3.676",
30
+ "@remnic/server": "^9.3.676",
31
+ "@remnic/core": "^9.3.676"
32
32
  },
33
33
  "peerDependencies": {
34
- "@remnic/bench": "^9.3.674",
35
- "@remnic/export-weclone": "^9.3.674",
36
- "@remnic/import-weclone": "^9.3.674",
37
- "@remnic/import-chatgpt": "^9.3.674",
38
- "@remnic/import-claude": "^9.3.674",
39
- "@remnic/import-gemini": "^9.3.674",
40
- "@remnic/import-lossless-claw": "^9.3.674",
41
- "@remnic/import-mem0": "^9.3.674",
42
- "@remnic/import-supermemory": "^9.3.674",
43
- "@remnic/connector-limitless": "^9.3.674",
44
- "@remnic/connector-bee": "^9.3.674",
45
- "@remnic/connector-omi": "^9.3.674"
34
+ "@remnic/bench": "^9.3.676",
35
+ "@remnic/export-weclone": "^9.3.676",
36
+ "@remnic/import-weclone": "^9.3.676",
37
+ "@remnic/import-chatgpt": "^9.3.676",
38
+ "@remnic/import-claude": "^9.3.676",
39
+ "@remnic/import-gemini": "^9.3.676",
40
+ "@remnic/import-lossless-claw": "^9.3.676",
41
+ "@remnic/import-mem0": "^9.3.676",
42
+ "@remnic/import-supermemory": "^9.3.676",
43
+ "@remnic/connector-limitless": "^9.3.676",
44
+ "@remnic/connector-bee": "^9.3.676",
45
+ "@remnic/connector-omi": "^9.3.676"
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.3.674",
89
- "@remnic/export-weclone": "9.3.674",
90
- "@remnic/import-weclone": "9.3.674",
91
- "@remnic/import-claude": "9.3.674",
92
- "@remnic/import-gemini": "9.3.674",
93
- "@remnic/import-chatgpt": "9.3.674",
94
- "@remnic/import-mem0": "9.3.674",
95
- "@remnic/import-lossless-claw": "9.3.674",
96
- "@remnic/import-supermemory": "9.3.674",
97
- "@remnic/connector-limitless": "9.3.674",
98
- "@remnic/connector-bee": "9.3.674",
99
- "@remnic/connector-omi": "9.3.674"
88
+ "@remnic/export-weclone": "9.3.676",
89
+ "@remnic/bench": "9.3.676",
90
+ "@remnic/import-weclone": "9.3.676",
91
+ "@remnic/import-chatgpt": "9.3.676",
92
+ "@remnic/import-claude": "9.3.676",
93
+ "@remnic/import-gemini": "9.3.676",
94
+ "@remnic/import-lossless-claw": "9.3.676",
95
+ "@remnic/import-supermemory": "9.3.676",
96
+ "@remnic/connector-limitless": "9.3.676",
97
+ "@remnic/import-mem0": "9.3.676",
98
+ "@remnic/connector-bee": "9.3.676",
99
+ "@remnic/connector-omi": "9.3.676"
100
100
  },
101
101
  "license": "MIT",
102
102
  "repository": {