@remnic/cli 10.0.165 → 10.0.166

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 +10 -0
  2. 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.165",
3
+ "version": "10.0.166",
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.165",
30
- "@remnic/server": "^10.0.165",
31
- "@remnic/core": "^10.0.165"
29
+ "@remnic/plugin-pi": "^10.0.166",
30
+ "@remnic/server": "^10.0.166",
31
+ "@remnic/core": "^10.0.166"
32
32
  },
33
33
  "peerDependencies": {
34
- "@remnic/bench": "^10.0.165",
35
- "@remnic/plugin-openclaw": "^10.0.165",
36
- "@remnic/export-weclone": "^10.0.165",
37
- "@remnic/import-weclone": "^10.0.165",
38
- "@remnic/import-chatgpt": "^10.0.165",
39
- "@remnic/import-claude": "^10.0.165",
40
- "@remnic/import-gemini": "^10.0.165",
41
- "@remnic/import-lossless-claw": "^10.0.165",
42
- "@remnic/import-mem0": "^10.0.165",
43
- "@remnic/import-supermemory": "^10.0.165",
44
- "@remnic/import-okf": "^10.0.165",
45
- "@remnic/connector-limitless": "^10.0.165",
46
- "@remnic/connector-bee": "^10.0.165",
47
- "@remnic/connector-omi": "^10.0.165",
48
- "@remnic/capture-audio": "^10.0.165"
34
+ "@remnic/bench": "^10.0.166",
35
+ "@remnic/plugin-openclaw": "^10.0.166",
36
+ "@remnic/export-weclone": "^10.0.166",
37
+ "@remnic/import-weclone": "^10.0.166",
38
+ "@remnic/import-chatgpt": "^10.0.166",
39
+ "@remnic/import-claude": "^10.0.166",
40
+ "@remnic/import-gemini": "^10.0.166",
41
+ "@remnic/import-lossless-claw": "^10.0.166",
42
+ "@remnic/import-mem0": "^10.0.166",
43
+ "@remnic/import-supermemory": "^10.0.166",
44
+ "@remnic/import-okf": "^10.0.166",
45
+ "@remnic/connector-limitless": "^10.0.166",
46
+ "@remnic/connector-bee": "^10.0.166",
47
+ "@remnic/connector-omi": "^10.0.166",
48
+ "@remnic/capture-audio": "^10.0.166"
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/plugin-openclaw": "10.0.165",
101
- "@remnic/bench": "10.0.165",
102
- "@remnic/export-weclone": "10.0.165",
103
- "@remnic/import-weclone": "10.0.165",
104
- "@remnic/import-chatgpt": "10.0.165",
105
- "@remnic/import-claude": "10.0.165",
106
- "@remnic/import-gemini": "10.0.165",
107
- "@remnic/import-lossless-claw": "10.0.165",
108
- "@remnic/import-mem0": "10.0.165",
109
- "@remnic/import-supermemory": "10.0.165",
110
- "@remnic/connector-limitless": "10.0.165",
111
- "@remnic/connector-bee": "10.0.165",
112
- "@remnic/connector-omi": "10.0.165"
100
+ "@remnic/bench": "10.0.166",
101
+ "@remnic/plugin-openclaw": "10.0.166",
102
+ "@remnic/export-weclone": "10.0.166",
103
+ "@remnic/import-chatgpt": "10.0.166",
104
+ "@remnic/import-claude": "10.0.166",
105
+ "@remnic/import-weclone": "10.0.166",
106
+ "@remnic/import-lossless-claw": "10.0.166",
107
+ "@remnic/import-mem0": "10.0.166",
108
+ "@remnic/import-supermemory": "10.0.166",
109
+ "@remnic/import-gemini": "10.0.166",
110
+ "@remnic/connector-limitless": "10.0.166",
111
+ "@remnic/connector-bee": "10.0.166",
112
+ "@remnic/connector-omi": "10.0.166"
113
113
  },
114
114
  "license": "MIT",
115
115
  "repository": {