@remnic/cli 10.0.165 → 10.0.167
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 +10 -0
- package/package.json +32 -32
package/dist/index.js
CHANGED
|
@@ -857,6 +857,14 @@ function initCliLogger(jsonMode = false) {
|
|
|
857
857
|
initLogger();
|
|
858
858
|
}
|
|
859
859
|
|
|
860
|
+
// src/startup-sync-join.ts
|
|
861
|
+
async function joinStartupSyncOrWarn(orchestrator, warn = (message) => console.warn(`WARNING: ${message}`)) {
|
|
862
|
+
const synced = await orchestrator.joinStartupSearchSync();
|
|
863
|
+
if (!synced) {
|
|
864
|
+
warn("startup corpus sync did not complete; results may reflect a stale index");
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
|
|
860
868
|
// src/commands/okf.ts
|
|
861
869
|
import fs6 from "fs";
|
|
862
870
|
import { Orchestrator as Orchestrator3, parseConfig as parseConfig5, resolveRemnicConfigRecord as resolveRemnicConfigRecord5, runOkfCliCommand } from "@remnic/core";
|
|
@@ -14472,6 +14480,7 @@ async function cmdXray(rest) {
|
|
|
14472
14480
|
const orchestrator = new Orchestrator11(config);
|
|
14473
14481
|
await orchestrator.initialize();
|
|
14474
14482
|
await orchestrator.deferredReady;
|
|
14483
|
+
await joinStartupSyncOrWarn(orchestrator);
|
|
14475
14484
|
const service = new EngramAccessService2(orchestrator);
|
|
14476
14485
|
try {
|
|
14477
14486
|
await runXrayCommand(rest, xrayCliIo((request) => service.recallXray(request)));
|
|
@@ -14548,6 +14557,7 @@ async function cmdWhy(rest) {
|
|
|
14548
14557
|
const orchestrator = new Orchestrator11(config);
|
|
14549
14558
|
await orchestrator.initialize();
|
|
14550
14559
|
await orchestrator.deferredReady;
|
|
14560
|
+
await joinStartupSyncOrWarn(orchestrator);
|
|
14551
14561
|
const service = new EngramAccessService2(orchestrator);
|
|
14552
14562
|
try {
|
|
14553
14563
|
await runWhyCommand(rest, whyCliIo((request) => service.recallWhy(request)));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/cli",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.167",
|
|
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": "^10.0.
|
|
30
|
-
"@remnic/server": "^10.0.
|
|
31
|
-
"@remnic/core": "^10.0.
|
|
29
|
+
"@remnic/plugin-pi": "^10.0.167",
|
|
30
|
+
"@remnic/server": "^10.0.167",
|
|
31
|
+
"@remnic/core": "^10.0.167"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@remnic/bench": "^10.0.
|
|
35
|
-
"@remnic/plugin-openclaw": "^10.0.
|
|
36
|
-
"@remnic/export-weclone": "^10.0.
|
|
37
|
-
"@remnic/import-weclone": "^10.0.
|
|
38
|
-
"@remnic/import-chatgpt": "^10.0.
|
|
39
|
-
"@remnic/import-claude": "^10.0.
|
|
40
|
-
"@remnic/import-gemini": "^10.0.
|
|
41
|
-
"@remnic/import-lossless-claw": "^10.0.
|
|
42
|
-
"@remnic/import-mem0": "^10.0.
|
|
43
|
-
"@remnic/import-supermemory": "^10.0.
|
|
44
|
-
"@remnic/import-okf": "^10.0.
|
|
45
|
-
"@remnic/connector-limitless": "^10.0.
|
|
46
|
-
"@remnic/connector-bee": "^10.0.
|
|
47
|
-
"@remnic/connector-omi": "^10.0.
|
|
48
|
-
"@remnic/capture-audio": "^10.0.
|
|
34
|
+
"@remnic/bench": "^10.0.167",
|
|
35
|
+
"@remnic/plugin-openclaw": "^10.0.167",
|
|
36
|
+
"@remnic/export-weclone": "^10.0.167",
|
|
37
|
+
"@remnic/import-weclone": "^10.0.167",
|
|
38
|
+
"@remnic/import-chatgpt": "^10.0.167",
|
|
39
|
+
"@remnic/import-claude": "^10.0.167",
|
|
40
|
+
"@remnic/import-gemini": "^10.0.167",
|
|
41
|
+
"@remnic/import-lossless-claw": "^10.0.167",
|
|
42
|
+
"@remnic/import-mem0": "^10.0.167",
|
|
43
|
+
"@remnic/import-supermemory": "^10.0.167",
|
|
44
|
+
"@remnic/import-okf": "^10.0.167",
|
|
45
|
+
"@remnic/connector-limitless": "^10.0.167",
|
|
46
|
+
"@remnic/connector-bee": "^10.0.167",
|
|
47
|
+
"@remnic/connector-omi": "^10.0.167",
|
|
48
|
+
"@remnic/capture-audio": "^10.0.167"
|
|
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": "10.0.
|
|
103
|
-
"@remnic/import-weclone": "10.0.
|
|
104
|
-
"@remnic/import-
|
|
105
|
-
"@remnic/import-
|
|
106
|
-
"@remnic/import-
|
|
107
|
-
"@remnic/import-
|
|
108
|
-
"@remnic/import-
|
|
109
|
-
"@remnic/import-supermemory": "10.0.
|
|
110
|
-
"@remnic/connector-limitless": "10.0.
|
|
111
|
-
"@remnic/connector-
|
|
112
|
-
"@remnic/connector-
|
|
100
|
+
"@remnic/bench": "10.0.167",
|
|
101
|
+
"@remnic/plugin-openclaw": "10.0.167",
|
|
102
|
+
"@remnic/export-weclone": "10.0.167",
|
|
103
|
+
"@remnic/import-weclone": "10.0.167",
|
|
104
|
+
"@remnic/import-claude": "10.0.167",
|
|
105
|
+
"@remnic/import-lossless-claw": "10.0.167",
|
|
106
|
+
"@remnic/import-mem0": "10.0.167",
|
|
107
|
+
"@remnic/import-gemini": "10.0.167",
|
|
108
|
+
"@remnic/import-chatgpt": "10.0.167",
|
|
109
|
+
"@remnic/import-supermemory": "10.0.167",
|
|
110
|
+
"@remnic/connector-limitless": "10.0.167",
|
|
111
|
+
"@remnic/connector-omi": "10.0.167",
|
|
112
|
+
"@remnic/connector-bee": "10.0.167"
|
|
113
113
|
},
|
|
114
114
|
"license": "MIT",
|
|
115
115
|
"repository": {
|