@remnic/cli 9.69.7 → 9.69.9
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 +24 -4
- package/package.json +32 -32
package/dist/index.js
CHANGED
|
@@ -384,8 +384,18 @@ async function runExportOkfBinaryCommand(rest) {
|
|
|
384
384
|
if (!out) throw new Error("Missing --out");
|
|
385
385
|
const namespace = takeFlag(args, "--namespace") ?? "";
|
|
386
386
|
const configPath = resolveConfigPath();
|
|
387
|
-
|
|
388
|
-
|
|
387
|
+
let config;
|
|
388
|
+
try {
|
|
389
|
+
const rawConfig = fs6.existsSync(configPath) ? JSON.parse(fs6.readFileSync(configPath, "utf8")) : {};
|
|
390
|
+
config = parseConfig6(resolveRemnicConfigRecord6(rawConfig));
|
|
391
|
+
} catch (err) {
|
|
392
|
+
console.error(
|
|
393
|
+
`export-okf: failed to load config at ${configPath} (${err instanceof Error ? err.name : "unknown error"})`
|
|
394
|
+
);
|
|
395
|
+
console.error(" config values are never printed; inspect the file directly");
|
|
396
|
+
process.exitCode = 1;
|
|
397
|
+
return;
|
|
398
|
+
}
|
|
389
399
|
orchestrator = new Orchestrator4(config);
|
|
390
400
|
await orchestrator.initialize();
|
|
391
401
|
await orchestrator.deferredReady;
|
|
@@ -448,8 +458,18 @@ async function runCodegraphBinaryCommand(rest) {
|
|
|
448
458
|
if (!project) throw new Error("Missing --project");
|
|
449
459
|
if (!out) throw new Error("Missing --out");
|
|
450
460
|
const configPath = resolveConfigPath();
|
|
451
|
-
|
|
452
|
-
|
|
461
|
+
let config;
|
|
462
|
+
try {
|
|
463
|
+
const rawConfig = fs7.existsSync(configPath) ? JSON.parse(fs7.readFileSync(configPath, "utf8")) : {};
|
|
464
|
+
config = parseConfig7(resolveRemnicConfigRecord7(rawConfig));
|
|
465
|
+
} catch (err) {
|
|
466
|
+
console.error(
|
|
467
|
+
`codegraph export-okf: failed to load config at ${configPath} (${err instanceof Error ? err.name : "unknown error"})`
|
|
468
|
+
);
|
|
469
|
+
console.error(" config values are never printed; inspect the file directly");
|
|
470
|
+
process.exitCode = 1;
|
|
471
|
+
return;
|
|
472
|
+
}
|
|
453
473
|
orchestrator = new Orchestrator5(config);
|
|
454
474
|
await orchestrator.initialize();
|
|
455
475
|
await orchestrator.deferredReady;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/cli",
|
|
3
|
-
"version": "9.69.
|
|
3
|
+
"version": "9.69.9",
|
|
4
4
|
"description": "CLI for Remnic memory — init, query, doctor, daemon management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -26,26 +26,26 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"yaml": "^2.4.2",
|
|
29
|
-
"@remnic/plugin-pi": "^9.69.
|
|
30
|
-
"@remnic/server": "^9.69.
|
|
31
|
-
"@remnic/core": "^9.69.
|
|
29
|
+
"@remnic/plugin-pi": "^9.69.9",
|
|
30
|
+
"@remnic/server": "^9.69.9",
|
|
31
|
+
"@remnic/core": "^9.69.9"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@remnic/bench": "^9.69.
|
|
35
|
-
"@remnic/plugin-openclaw": "^9.69.
|
|
36
|
-
"@remnic/export-weclone": "^9.69.
|
|
37
|
-
"@remnic/import-weclone": "^9.69.
|
|
38
|
-
"@remnic/import-chatgpt": "^9.69.
|
|
39
|
-
"@remnic/import-claude": "^9.69.
|
|
40
|
-
"@remnic/import-gemini": "^9.69.
|
|
41
|
-
"@remnic/import-lossless-claw": "^9.69.
|
|
42
|
-
"@remnic/import-mem0": "^9.69.
|
|
43
|
-
"@remnic/import-supermemory": "^9.69.
|
|
44
|
-
"@remnic/import-okf": "^9.69.
|
|
45
|
-
"@remnic/connector-limitless": "^9.69.
|
|
46
|
-
"@remnic/connector-bee": "^9.69.
|
|
47
|
-
"@remnic/connector-omi": "^9.69.
|
|
48
|
-
"@remnic/capture-audio": "^9.69.
|
|
34
|
+
"@remnic/bench": "^9.69.9",
|
|
35
|
+
"@remnic/plugin-openclaw": "^9.69.9",
|
|
36
|
+
"@remnic/export-weclone": "^9.69.9",
|
|
37
|
+
"@remnic/import-weclone": "^9.69.9",
|
|
38
|
+
"@remnic/import-chatgpt": "^9.69.9",
|
|
39
|
+
"@remnic/import-claude": "^9.69.9",
|
|
40
|
+
"@remnic/import-gemini": "^9.69.9",
|
|
41
|
+
"@remnic/import-lossless-claw": "^9.69.9",
|
|
42
|
+
"@remnic/import-mem0": "^9.69.9",
|
|
43
|
+
"@remnic/import-supermemory": "^9.69.9",
|
|
44
|
+
"@remnic/import-okf": "^9.69.9",
|
|
45
|
+
"@remnic/connector-limitless": "^9.69.9",
|
|
46
|
+
"@remnic/connector-bee": "^9.69.9",
|
|
47
|
+
"@remnic/connector-omi": "^9.69.9",
|
|
48
|
+
"@remnic/capture-audio": "^9.69.9"
|
|
49
49
|
},
|
|
50
50
|
"peerDependenciesMeta": {
|
|
51
51
|
"@remnic/bench": {
|
|
@@ -97,19 +97,19 @@
|
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"tsup": "^8.5.1",
|
|
99
99
|
"typescript": "^5.9.3",
|
|
100
|
-
"@remnic/
|
|
101
|
-
"@remnic/
|
|
102
|
-
"@remnic/export-weclone": "9.69.
|
|
103
|
-
"@remnic/import-
|
|
104
|
-
"@remnic/import-
|
|
105
|
-
"@remnic/import-
|
|
106
|
-
"@remnic/import-
|
|
107
|
-
"@remnic/import-
|
|
108
|
-
"@remnic/import-
|
|
109
|
-
"@remnic/
|
|
110
|
-
"@remnic/
|
|
111
|
-
"@remnic/connector-bee": "9.69.
|
|
112
|
-
"@remnic/connector-omi": "9.69.
|
|
100
|
+
"@remnic/bench": "9.69.9",
|
|
101
|
+
"@remnic/plugin-openclaw": "9.69.9",
|
|
102
|
+
"@remnic/export-weclone": "9.69.9",
|
|
103
|
+
"@remnic/import-chatgpt": "9.69.9",
|
|
104
|
+
"@remnic/import-gemini": "9.69.9",
|
|
105
|
+
"@remnic/import-lossless-claw": "9.69.9",
|
|
106
|
+
"@remnic/import-weclone": "9.69.9",
|
|
107
|
+
"@remnic/import-claude": "9.69.9",
|
|
108
|
+
"@remnic/import-mem0": "9.69.9",
|
|
109
|
+
"@remnic/import-supermemory": "9.69.9",
|
|
110
|
+
"@remnic/connector-limitless": "9.69.9",
|
|
111
|
+
"@remnic/connector-bee": "9.69.9",
|
|
112
|
+
"@remnic/connector-omi": "9.69.9"
|
|
113
113
|
},
|
|
114
114
|
"license": "MIT",
|
|
115
115
|
"repository": {
|