@remnic/cli 9.3.624 → 9.3.629
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 +54 -2
- package/package.json +37 -22
package/dist/index.js
CHANGED
|
@@ -111,7 +111,8 @@ import {
|
|
|
111
111
|
renderActionConfidenceText,
|
|
112
112
|
expandTildePath,
|
|
113
113
|
forkCapsule,
|
|
114
|
-
readForkLineage
|
|
114
|
+
readForkLineage,
|
|
115
|
+
runWearablesCliCommand
|
|
115
116
|
} from "@remnic/core";
|
|
116
117
|
import {
|
|
117
118
|
AUTH_TAG_LENGTH,
|
|
@@ -6301,7 +6302,11 @@ async function cmdBriefing(rest) {
|
|
|
6301
6302
|
allowLlm: config.briefing.llmFollowups,
|
|
6302
6303
|
openaiApiKey: config.openaiApiKey,
|
|
6303
6304
|
openaiBaseUrl: config.openaiBaseUrl,
|
|
6304
|
-
model: config.model
|
|
6305
|
+
model: config.model,
|
|
6306
|
+
// Without a direct OpenAI key, route follow-ups through the configured
|
|
6307
|
+
// LLM chain (gateway model source or local LLM) — mirrors the access
|
|
6308
|
+
// service so CLI and server briefings behave identically.
|
|
6309
|
+
followupGenerator: config.openaiApiKey ? void 0 : orchestrator.briefingChainFollowupGenerator
|
|
6305
6310
|
});
|
|
6306
6311
|
const payload = format === "json" ? JSON.stringify(result.json, null, 2) : result.markdown;
|
|
6307
6312
|
console.log(payload);
|
|
@@ -11378,6 +11383,48 @@ Other:
|
|
|
11378
11383
|
}
|
|
11379
11384
|
break;
|
|
11380
11385
|
}
|
|
11386
|
+
case "wearables": {
|
|
11387
|
+
const wearablesArgs = rest.length === 0 || rest[0] === "--help" || rest[0] === "-h" ? ["help"] : rest;
|
|
11388
|
+
let wearablesOrchestrator;
|
|
11389
|
+
try {
|
|
11390
|
+
let wearablesService;
|
|
11391
|
+
try {
|
|
11392
|
+
const configPath = resolveConfigPath();
|
|
11393
|
+
const raw = fs7.existsSync(configPath) ? JSON.parse(fs7.readFileSync(configPath, "utf8")) : {};
|
|
11394
|
+
const remnicCfg = raw !== null && typeof raw === "object" ? raw.remnic ?? raw.engram ?? raw : {};
|
|
11395
|
+
const config = parseConfig(remnicCfg);
|
|
11396
|
+
wearablesOrchestrator = new Orchestrator(config);
|
|
11397
|
+
await wearablesOrchestrator.initialize();
|
|
11398
|
+
await wearablesOrchestrator.deferredReady;
|
|
11399
|
+
wearablesService = wearablesOrchestrator.getWearablesService();
|
|
11400
|
+
} catch {
|
|
11401
|
+
console.error(
|
|
11402
|
+
"wearables: failed to load the Remnic config or start the memory engine \u2014 run `remnic doctor` and check the config file for errors"
|
|
11403
|
+
);
|
|
11404
|
+
process.exitCode = 1;
|
|
11405
|
+
break;
|
|
11406
|
+
}
|
|
11407
|
+
const code = await runWearablesCliCommand(wearablesService, wearablesArgs, {
|
|
11408
|
+
stdout: process.stdout,
|
|
11409
|
+
stderr: process.stderr
|
|
11410
|
+
});
|
|
11411
|
+
if (code !== 0) process.exitCode = code;
|
|
11412
|
+
} catch (err) {
|
|
11413
|
+
console.error(err instanceof Error ? err.message : String(err));
|
|
11414
|
+
process.exitCode = 1;
|
|
11415
|
+
} finally {
|
|
11416
|
+
if (wearablesOrchestrator) {
|
|
11417
|
+
const maybeShutdown = wearablesOrchestrator.shutdown;
|
|
11418
|
+
if (typeof maybeShutdown === "function") {
|
|
11419
|
+
try {
|
|
11420
|
+
await maybeShutdown.call(wearablesOrchestrator);
|
|
11421
|
+
} catch {
|
|
11422
|
+
}
|
|
11423
|
+
}
|
|
11424
|
+
}
|
|
11425
|
+
}
|
|
11426
|
+
break;
|
|
11427
|
+
}
|
|
11381
11428
|
case "import": {
|
|
11382
11429
|
if (rest.includes("--help") || rest.includes("-h") || rest.length === 0) {
|
|
11383
11430
|
console.log(IMPORT_USAGE);
|
|
@@ -11569,6 +11616,11 @@ Usage:
|
|
|
11569
11616
|
Run a recall with X-ray capture and print the unified snapshot
|
|
11570
11617
|
(tier + audit + MMR + filters). Part of #570. Defaults to text
|
|
11571
11618
|
output on stdout.
|
|
11619
|
+
remnic wearables <status|check|sync|transcript|search|memories|speakers|corrections>
|
|
11620
|
+
Wearable transcript sources (Limitless / Bee / Omi): pull + clean +
|
|
11621
|
+
store day transcripts, trust-gated memory creation, speaker labels,
|
|
11622
|
+
and per-user corrections. Run "remnic wearables help" for details.
|
|
11623
|
+
Connectors install \xE0 la carte: npm install @remnic/connector-limitless
|
|
11572
11624
|
|
|
11573
11625
|
remnic doctor Run diagnostics
|
|
11574
11626
|
remnic config Show current config
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/cli",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.629",
|
|
4
4
|
"description": "CLI for Remnic memory — init, query, doctor, daemon management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -26,20 +26,23 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"yaml": "^2.4.2",
|
|
29
|
-
"@remnic/
|
|
30
|
-
"@remnic/
|
|
31
|
-
"@remnic/
|
|
29
|
+
"@remnic/core": "^9.3.629",
|
|
30
|
+
"@remnic/plugin-pi": "^9.3.629",
|
|
31
|
+
"@remnic/server": "^9.3.629"
|
|
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.
|
|
34
|
+
"@remnic/bench": "^9.3.629",
|
|
35
|
+
"@remnic/export-weclone": "^9.3.629",
|
|
36
|
+
"@remnic/import-weclone": "^9.3.629",
|
|
37
|
+
"@remnic/import-chatgpt": "^9.3.629",
|
|
38
|
+
"@remnic/import-claude": "^9.3.629",
|
|
39
|
+
"@remnic/import-gemini": "^9.3.629",
|
|
40
|
+
"@remnic/import-lossless-claw": "^9.3.629",
|
|
41
|
+
"@remnic/import-mem0": "^9.3.629",
|
|
42
|
+
"@remnic/import-supermemory": "^9.3.629",
|
|
43
|
+
"@remnic/connector-limitless": "^9.3.629",
|
|
44
|
+
"@remnic/connector-bee": "^9.3.629",
|
|
45
|
+
"@remnic/connector-omi": "^9.3.629"
|
|
43
46
|
},
|
|
44
47
|
"peerDependenciesMeta": {
|
|
45
48
|
"@remnic/bench": {
|
|
@@ -68,20 +71,32 @@
|
|
|
68
71
|
},
|
|
69
72
|
"@remnic/import-supermemory": {
|
|
70
73
|
"optional": true
|
|
74
|
+
},
|
|
75
|
+
"@remnic/connector-limitless": {
|
|
76
|
+
"optional": true
|
|
77
|
+
},
|
|
78
|
+
"@remnic/connector-bee": {
|
|
79
|
+
"optional": true
|
|
80
|
+
},
|
|
81
|
+
"@remnic/connector-omi": {
|
|
82
|
+
"optional": true
|
|
71
83
|
}
|
|
72
84
|
},
|
|
73
85
|
"devDependencies": {
|
|
74
86
|
"tsup": "^8.5.1",
|
|
75
87
|
"typescript": "^5.9.3",
|
|
76
|
-
"@remnic/bench": "9.3.
|
|
77
|
-
"@remnic/export-weclone": "9.3.
|
|
78
|
-
"@remnic/import-weclone": "9.3.
|
|
79
|
-
"@remnic/import-
|
|
80
|
-
"@remnic/import-
|
|
81
|
-
"@remnic/import-
|
|
82
|
-
"@remnic/import-
|
|
83
|
-
"@remnic/import-
|
|
84
|
-
"@remnic/
|
|
88
|
+
"@remnic/bench": "9.3.629",
|
|
89
|
+
"@remnic/export-weclone": "9.3.629",
|
|
90
|
+
"@remnic/import-weclone": "9.3.629",
|
|
91
|
+
"@remnic/import-claude": "9.3.629",
|
|
92
|
+
"@remnic/import-gemini": "9.3.629",
|
|
93
|
+
"@remnic/import-lossless-claw": "9.3.629",
|
|
94
|
+
"@remnic/import-mem0": "9.3.629",
|
|
95
|
+
"@remnic/import-chatgpt": "9.3.629",
|
|
96
|
+
"@remnic/connector-limitless": "9.3.629",
|
|
97
|
+
"@remnic/import-supermemory": "9.3.629",
|
|
98
|
+
"@remnic/connector-omi": "9.3.629",
|
|
99
|
+
"@remnic/connector-bee": "9.3.629"
|
|
85
100
|
},
|
|
86
101
|
"license": "MIT",
|
|
87
102
|
"repository": {
|