@remnic/cli 9.3.728 → 9.3.730
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/index.js +42 -4
- package/package.json +28 -28
package/dist/index.js
CHANGED
|
@@ -609,13 +609,33 @@ var BENCH_PROVIDER_ALLOWED = Object.freeze([
|
|
|
609
609
|
"ollama",
|
|
610
610
|
"litellm",
|
|
611
611
|
"local-llm",
|
|
612
|
-
"codex-cli"
|
|
612
|
+
"codex-cli",
|
|
613
|
+
"claude-cli"
|
|
613
614
|
]);
|
|
615
|
+
var BENCH_INTERNAL_PROVIDER_ALLOWED = Object.freeze(
|
|
616
|
+
BENCH_PROVIDER_ALLOWED.filter((provider) => provider !== "claude-cli")
|
|
617
|
+
);
|
|
614
618
|
function isBuiltInProvider(value) {
|
|
615
619
|
return BENCH_PROVIDER_ALLOWED.includes(value);
|
|
616
620
|
}
|
|
621
|
+
function isBuiltInInternalProvider(value) {
|
|
622
|
+
return BENCH_INTERNAL_PROVIDER_ALLOWED.includes(value);
|
|
623
|
+
}
|
|
617
624
|
function parseBenchProvider(raw, flag) {
|
|
618
625
|
if (!isBuiltInProvider(raw)) {
|
|
626
|
+
throw new Error(
|
|
627
|
+
`ERROR: ${flag} must be one of "openai", "anthropic", "ollama", "litellm", "local-llm", "codex-cli", or "claude-cli".`
|
|
628
|
+
);
|
|
629
|
+
}
|
|
630
|
+
return raw;
|
|
631
|
+
}
|
|
632
|
+
function parseBenchInternalProvider(raw, flag) {
|
|
633
|
+
if (!isBuiltInInternalProvider(raw)) {
|
|
634
|
+
if (raw === "claude-cli") {
|
|
635
|
+
throw new Error(
|
|
636
|
+
`ERROR: ${flag} does not support "claude-cli" (no @remnic/core gateway wiring); use --provider, --system-provider, or --judge-provider instead.`
|
|
637
|
+
);
|
|
638
|
+
}
|
|
619
639
|
throw new Error(
|
|
620
640
|
`ERROR: ${flag} must be one of "openai", "anthropic", "ollama", "litellm", "local-llm", or "codex-cli".`
|
|
621
641
|
);
|
|
@@ -1070,7 +1090,7 @@ function parseBenchArgs(argv) {
|
|
|
1070
1090
|
);
|
|
1071
1091
|
let internalProvider;
|
|
1072
1092
|
if (internalProviderRaw !== void 0) {
|
|
1073
|
-
internalProvider =
|
|
1093
|
+
internalProvider = parseBenchInternalProvider(internalProviderRaw, "--internal-provider");
|
|
1074
1094
|
}
|
|
1075
1095
|
const internalCodexReasoningEffort = internalCodexReasoningEffortRaw === void 0 ? void 0 : parseCodexReasoningEffort(
|
|
1076
1096
|
internalCodexReasoningEffortRaw,
|
|
@@ -3285,7 +3305,7 @@ Options:
|
|
|
3285
3305
|
--gateway-agent-id <id> OpenClaw agent persona id for gateway model routing
|
|
3286
3306
|
--fast-gateway-agent-id <id>
|
|
3287
3307
|
OpenClaw fast-tier agent persona id for gateway model routing
|
|
3288
|
-
--system-provider <openai|anthropic|ollama|litellm|local-llm|codex-cli>
|
|
3308
|
+
--system-provider <openai|anthropic|ollama|litellm|local-llm|codex-cli|claude-cli>
|
|
3289
3309
|
Use a direct provider-backed answering path
|
|
3290
3310
|
--system-model <model> Model name for the direct answering provider
|
|
3291
3311
|
--system-base-url <url> Base URL for the direct answering provider
|
|
@@ -3295,7 +3315,7 @@ Options:
|
|
|
3295
3315
|
Compact recalled memory context before sending it to the direct answerer
|
|
3296
3316
|
--system-responder-prompt-budget-chars <n>
|
|
3297
3317
|
Compact repeated benchmark prompt instructions before sending them to the direct answerer
|
|
3298
|
-
--judge-provider <openai|anthropic|ollama|litellm|local-llm|codex-cli>
|
|
3318
|
+
--judge-provider <openai|anthropic|ollama|litellm|local-llm|codex-cli|claude-cli>
|
|
3299
3319
|
Use a direct provider-backed judge
|
|
3300
3320
|
--judge-model <model> Model name for the judge provider
|
|
3301
3321
|
--judge-base-url <url> Base URL for the judge provider
|
|
@@ -3303,6 +3323,7 @@ Options:
|
|
|
3303
3323
|
Codex CLI reasoning effort for the judge
|
|
3304
3324
|
--internal-provider <openai|anthropic|ollama|litellm|local-llm|codex-cli>
|
|
3305
3325
|
Provider for Remnic's internal extraction/summarization LLM
|
|
3326
|
+
(claude-cli is not supported here \u2014 use --provider/--judge-provider)
|
|
3306
3327
|
--internal-model <model> Model name for Remnic's internal LLM provider
|
|
3307
3328
|
--internal-base-url <url>
|
|
3308
3329
|
Base URL for Remnic's internal LLM provider
|
|
@@ -6844,6 +6865,23 @@ async function cmdDoctor() {
|
|
|
6844
6865
|
}
|
|
6845
6866
|
} catch {
|
|
6846
6867
|
}
|
|
6868
|
+
try {
|
|
6869
|
+
const core = await import("@remnic/core");
|
|
6870
|
+
if (typeof core.probeStructuralProviderForDoctor === "function") {
|
|
6871
|
+
const status = standaloneConfig ? await core.probeStructuralProviderForDoctor(standaloneConfig) : { active: false, mode: "none" };
|
|
6872
|
+
const fullLine = typeof core.renderStructuralProviderStatusLine === "function" ? core.renderStructuralProviderStatusLine(status) : `structural-context provider: ${status.mode}`;
|
|
6873
|
+
const detail = fullLine.replace(/^structural-context provider: /, "");
|
|
6874
|
+
const probeUnavailable = status.active === true && status.probed !== void 0 && status.probed.available === false;
|
|
6875
|
+
checks.push({
|
|
6876
|
+
name: "Structural-context provider",
|
|
6877
|
+
ok: true,
|
|
6878
|
+
warn: probeUnavailable ? true : void 0,
|
|
6879
|
+
detail,
|
|
6880
|
+
remediation: probeUnavailable ? "review-context falls back to file-path-only boosting; check the configured binary path or provider install" : void 0
|
|
6881
|
+
});
|
|
6882
|
+
}
|
|
6883
|
+
} catch {
|
|
6884
|
+
}
|
|
6847
6885
|
for (const check of checks) {
|
|
6848
6886
|
const icon = check.ok ? check.warn ? "\u26A0" : "\u2713" : check.warn ? "\u26A0" : "\u2717";
|
|
6849
6887
|
console.log(` ${icon} ${check.name}: ${check.detail}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/cli",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.730",
|
|
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.
|
|
30
|
-
"@remnic/server": "^9.3.
|
|
31
|
-
"@remnic/core": "^9.3.
|
|
29
|
+
"@remnic/plugin-pi": "^9.3.730",
|
|
30
|
+
"@remnic/server": "^9.3.730",
|
|
31
|
+
"@remnic/core": "^9.3.730"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@remnic/bench": "^9.3.
|
|
35
|
-
"@remnic/export-weclone": "^9.3.
|
|
36
|
-
"@remnic/import-weclone": "^9.3.
|
|
37
|
-
"@remnic/import-chatgpt": "^9.3.
|
|
38
|
-
"@remnic/import-claude": "^9.3.
|
|
39
|
-
"@remnic/import-gemini": "^9.3.
|
|
40
|
-
"@remnic/import-lossless-claw": "^9.3.
|
|
41
|
-
"@remnic/import-mem0": "^9.3.
|
|
42
|
-
"@remnic/import-supermemory": "^9.3.
|
|
43
|
-
"@remnic/connector-limitless": "^9.3.
|
|
44
|
-
"@remnic/connector-bee": "^9.3.
|
|
45
|
-
"@remnic/connector-omi": "^9.3.
|
|
34
|
+
"@remnic/bench": "^9.3.730",
|
|
35
|
+
"@remnic/export-weclone": "^9.3.730",
|
|
36
|
+
"@remnic/import-weclone": "^9.3.730",
|
|
37
|
+
"@remnic/import-chatgpt": "^9.3.730",
|
|
38
|
+
"@remnic/import-claude": "^9.3.730",
|
|
39
|
+
"@remnic/import-gemini": "^9.3.730",
|
|
40
|
+
"@remnic/import-lossless-claw": "^9.3.730",
|
|
41
|
+
"@remnic/import-mem0": "^9.3.730",
|
|
42
|
+
"@remnic/import-supermemory": "^9.3.730",
|
|
43
|
+
"@remnic/connector-limitless": "^9.3.730",
|
|
44
|
+
"@remnic/connector-bee": "^9.3.730",
|
|
45
|
+
"@remnic/connector-omi": "^9.3.730"
|
|
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.
|
|
89
|
-
"@remnic/export-weclone": "9.3.
|
|
90
|
-
"@remnic/import-weclone": "9.3.
|
|
91
|
-
"@remnic/import-claude": "9.3.
|
|
92
|
-
"@remnic/import-chatgpt": "9.3.
|
|
93
|
-
"@remnic/import-gemini": "9.3.
|
|
94
|
-
"@remnic/import-lossless-claw": "9.3.
|
|
95
|
-
"@remnic/import-mem0": "9.3.
|
|
96
|
-
"@remnic/import-supermemory": "9.3.
|
|
97
|
-
"@remnic/connector-
|
|
98
|
-
"@remnic/connector-
|
|
99
|
-
"@remnic/connector-omi": "9.3.
|
|
88
|
+
"@remnic/bench": "9.3.730",
|
|
89
|
+
"@remnic/export-weclone": "9.3.730",
|
|
90
|
+
"@remnic/import-weclone": "9.3.730",
|
|
91
|
+
"@remnic/import-claude": "9.3.730",
|
|
92
|
+
"@remnic/import-chatgpt": "9.3.730",
|
|
93
|
+
"@remnic/import-gemini": "9.3.730",
|
|
94
|
+
"@remnic/import-lossless-claw": "9.3.730",
|
|
95
|
+
"@remnic/import-mem0": "9.3.730",
|
|
96
|
+
"@remnic/import-supermemory": "9.3.730",
|
|
97
|
+
"@remnic/connector-bee": "9.3.730",
|
|
98
|
+
"@remnic/connector-limitless": "9.3.730",
|
|
99
|
+
"@remnic/connector-omi": "9.3.730"
|
|
100
100
|
},
|
|
101
101
|
"license": "MIT",
|
|
102
102
|
"repository": {
|