@remnic/cli 9.3.624 → 9.3.628
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 +49 -1
- 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,
|
|
@@ -11378,6 +11379,48 @@ Other:
|
|
|
11378
11379
|
}
|
|
11379
11380
|
break;
|
|
11380
11381
|
}
|
|
11382
|
+
case "wearables": {
|
|
11383
|
+
const wearablesArgs = rest.length === 0 || rest[0] === "--help" || rest[0] === "-h" ? ["help"] : rest;
|
|
11384
|
+
let wearablesOrchestrator;
|
|
11385
|
+
try {
|
|
11386
|
+
let wearablesService;
|
|
11387
|
+
try {
|
|
11388
|
+
const configPath = resolveConfigPath();
|
|
11389
|
+
const raw = fs7.existsSync(configPath) ? JSON.parse(fs7.readFileSync(configPath, "utf8")) : {};
|
|
11390
|
+
const remnicCfg = raw !== null && typeof raw === "object" ? raw.remnic ?? raw.engram ?? raw : {};
|
|
11391
|
+
const config = parseConfig(remnicCfg);
|
|
11392
|
+
wearablesOrchestrator = new Orchestrator(config);
|
|
11393
|
+
await wearablesOrchestrator.initialize();
|
|
11394
|
+
await wearablesOrchestrator.deferredReady;
|
|
11395
|
+
wearablesService = wearablesOrchestrator.getWearablesService();
|
|
11396
|
+
} catch {
|
|
11397
|
+
console.error(
|
|
11398
|
+
"wearables: failed to load the Remnic config or start the memory engine \u2014 run `remnic doctor` and check the config file for errors"
|
|
11399
|
+
);
|
|
11400
|
+
process.exitCode = 1;
|
|
11401
|
+
break;
|
|
11402
|
+
}
|
|
11403
|
+
const code = await runWearablesCliCommand(wearablesService, wearablesArgs, {
|
|
11404
|
+
stdout: process.stdout,
|
|
11405
|
+
stderr: process.stderr
|
|
11406
|
+
});
|
|
11407
|
+
if (code !== 0) process.exitCode = code;
|
|
11408
|
+
} catch (err) {
|
|
11409
|
+
console.error(err instanceof Error ? err.message : String(err));
|
|
11410
|
+
process.exitCode = 1;
|
|
11411
|
+
} finally {
|
|
11412
|
+
if (wearablesOrchestrator) {
|
|
11413
|
+
const maybeShutdown = wearablesOrchestrator.shutdown;
|
|
11414
|
+
if (typeof maybeShutdown === "function") {
|
|
11415
|
+
try {
|
|
11416
|
+
await maybeShutdown.call(wearablesOrchestrator);
|
|
11417
|
+
} catch {
|
|
11418
|
+
}
|
|
11419
|
+
}
|
|
11420
|
+
}
|
|
11421
|
+
}
|
|
11422
|
+
break;
|
|
11423
|
+
}
|
|
11381
11424
|
case "import": {
|
|
11382
11425
|
if (rest.includes("--help") || rest.includes("-h") || rest.length === 0) {
|
|
11383
11426
|
console.log(IMPORT_USAGE);
|
|
@@ -11569,6 +11612,11 @@ Usage:
|
|
|
11569
11612
|
Run a recall with X-ray capture and print the unified snapshot
|
|
11570
11613
|
(tier + audit + MMR + filters). Part of #570. Defaults to text
|
|
11571
11614
|
output on stdout.
|
|
11615
|
+
remnic wearables <status|check|sync|transcript|search|memories|speakers|corrections>
|
|
11616
|
+
Wearable transcript sources (Limitless / Bee / Omi): pull + clean +
|
|
11617
|
+
store day transcripts, trust-gated memory creation, speaker labels,
|
|
11618
|
+
and per-user corrections. Run "remnic wearables help" for details.
|
|
11619
|
+
Connectors install \xE0 la carte: npm install @remnic/connector-limitless
|
|
11572
11620
|
|
|
11573
11621
|
remnic doctor Run diagnostics
|
|
11574
11622
|
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.628",
|
|
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/server": "^9.3.
|
|
31
|
-
"@remnic/
|
|
29
|
+
"@remnic/core": "^9.3.628",
|
|
30
|
+
"@remnic/server": "^9.3.628",
|
|
31
|
+
"@remnic/plugin-pi": "^9.3.628"
|
|
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.628",
|
|
35
|
+
"@remnic/export-weclone": "^9.3.628",
|
|
36
|
+
"@remnic/import-weclone": "^9.3.628",
|
|
37
|
+
"@remnic/import-chatgpt": "^9.3.628",
|
|
38
|
+
"@remnic/import-claude": "^9.3.628",
|
|
39
|
+
"@remnic/import-gemini": "^9.3.628",
|
|
40
|
+
"@remnic/import-lossless-claw": "^9.3.628",
|
|
41
|
+
"@remnic/import-mem0": "^9.3.628",
|
|
42
|
+
"@remnic/import-supermemory": "^9.3.628",
|
|
43
|
+
"@remnic/connector-limitless": "^9.3.628",
|
|
44
|
+
"@remnic/connector-bee": "^9.3.628",
|
|
45
|
+
"@remnic/connector-omi": "^9.3.628"
|
|
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-chatgpt": "9.3.
|
|
80
|
-
"@remnic/import-
|
|
81
|
-
"@remnic/import-
|
|
82
|
-
"@remnic/import-
|
|
83
|
-
"@remnic/import-
|
|
84
|
-
"@remnic/import-supermemory": "9.3.
|
|
88
|
+
"@remnic/bench": "9.3.628",
|
|
89
|
+
"@remnic/export-weclone": "9.3.628",
|
|
90
|
+
"@remnic/import-weclone": "9.3.628",
|
|
91
|
+
"@remnic/import-chatgpt": "9.3.628",
|
|
92
|
+
"@remnic/import-gemini": "9.3.628",
|
|
93
|
+
"@remnic/import-claude": "9.3.628",
|
|
94
|
+
"@remnic/import-mem0": "9.3.628",
|
|
95
|
+
"@remnic/import-lossless-claw": "9.3.628",
|
|
96
|
+
"@remnic/import-supermemory": "9.3.628",
|
|
97
|
+
"@remnic/connector-bee": "9.3.628",
|
|
98
|
+
"@remnic/connector-omi": "9.3.628",
|
|
99
|
+
"@remnic/connector-limitless": "9.3.628"
|
|
85
100
|
},
|
|
86
101
|
"license": "MIT",
|
|
87
102
|
"repository": {
|