@remnic/cli 10.0.93 → 10.0.94
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.
|
@@ -19746,6 +19746,8 @@ Options:
|
|
|
19746
19746
|
--session <key> Only drain this session (repeatable)
|
|
19747
19747
|
--namespace <ns> Only drain sessions captured for this namespace
|
|
19748
19748
|
--dry-run Report what would be drained; change nothing
|
|
19749
|
+
--fold-inboxes Fold every claim's hand-in inbox into its claim file and
|
|
19750
|
+
exit; run before rolling back to a build without inboxes
|
|
19749
19751
|
--json Print the summary as JSON
|
|
19750
19752
|
-h, --help Show this help
|
|
19751
19753
|
|
|
@@ -19768,6 +19770,10 @@ function parseBufferDrainArgs(argv) {
|
|
|
19768
19770
|
options.json = true;
|
|
19769
19771
|
continue;
|
|
19770
19772
|
}
|
|
19773
|
+
if (arg === "--fold-inboxes") {
|
|
19774
|
+
options.foldInboxes = true;
|
|
19775
|
+
continue;
|
|
19776
|
+
}
|
|
19771
19777
|
if (arg === "--concurrency") {
|
|
19772
19778
|
const value = Number(argv[index + 1]);
|
|
19773
19779
|
if (!Number.isInteger(value) || value < 1 || value > MAX_CONCURRENCY) {
|
|
@@ -19835,6 +19841,16 @@ async function runBufferDrain(argv, deps) {
|
|
|
19835
19841
|
deps.stderr(`remnic buffer drain: cannot open the memory store: ${err instanceof Error ? err.message : String(err)}`);
|
|
19836
19842
|
return 2;
|
|
19837
19843
|
}
|
|
19844
|
+
if (options.foldInboxes) {
|
|
19845
|
+
try {
|
|
19846
|
+
const folded = await storage.bufferDrainClaims().foldAllInboxes();
|
|
19847
|
+
deps.stdout(`Folded ${folded} claim inbox(es) into their claim files.`);
|
|
19848
|
+
return 0;
|
|
19849
|
+
} catch (err) {
|
|
19850
|
+
deps.stderr(`remnic buffer drain: fold failed: ${err instanceof Error ? err.message : String(err)}`);
|
|
19851
|
+
return 1;
|
|
19852
|
+
}
|
|
19853
|
+
}
|
|
19838
19854
|
if (options.dryRun) {
|
|
19839
19855
|
const plan = await planDrain(storage, options, sessionNamespaceResolver(loadDrainConfig(deps.configPath)));
|
|
19840
19856
|
if (options.json) {
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/cli",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.94",
|
|
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.94",
|
|
30
|
+
"@remnic/server": "^10.0.94",
|
|
31
|
+
"@remnic/core": "^10.0.94"
|
|
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.94",
|
|
35
|
+
"@remnic/plugin-openclaw": "^10.0.94",
|
|
36
|
+
"@remnic/export-weclone": "^10.0.94",
|
|
37
|
+
"@remnic/import-weclone": "^10.0.94",
|
|
38
|
+
"@remnic/import-chatgpt": "^10.0.94",
|
|
39
|
+
"@remnic/import-claude": "^10.0.94",
|
|
40
|
+
"@remnic/import-gemini": "^10.0.94",
|
|
41
|
+
"@remnic/import-lossless-claw": "^10.0.94",
|
|
42
|
+
"@remnic/import-mem0": "^10.0.94",
|
|
43
|
+
"@remnic/import-supermemory": "^10.0.94",
|
|
44
|
+
"@remnic/import-okf": "^10.0.94",
|
|
45
|
+
"@remnic/connector-limitless": "^10.0.94",
|
|
46
|
+
"@remnic/connector-bee": "^10.0.94",
|
|
47
|
+
"@remnic/connector-omi": "^10.0.94",
|
|
48
|
+
"@remnic/capture-audio": "^10.0.94"
|
|
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-chatgpt": "10.0.
|
|
105
|
-
"@remnic/import-
|
|
106
|
-
"@remnic/import-
|
|
107
|
-
"@remnic/import-
|
|
108
|
-
"@remnic/
|
|
109
|
-
"@remnic/
|
|
110
|
-
"@remnic/connector-
|
|
111
|
-
"@remnic/
|
|
112
|
-
"@remnic/
|
|
100
|
+
"@remnic/plugin-openclaw": "10.0.94",
|
|
101
|
+
"@remnic/bench": "10.0.94",
|
|
102
|
+
"@remnic/export-weclone": "10.0.94",
|
|
103
|
+
"@remnic/import-weclone": "10.0.94",
|
|
104
|
+
"@remnic/import-chatgpt": "10.0.94",
|
|
105
|
+
"@remnic/import-gemini": "10.0.94",
|
|
106
|
+
"@remnic/import-claude": "10.0.94",
|
|
107
|
+
"@remnic/import-lossless-claw": "10.0.94",
|
|
108
|
+
"@remnic/connector-limitless": "10.0.94",
|
|
109
|
+
"@remnic/connector-bee": "10.0.94",
|
|
110
|
+
"@remnic/connector-omi": "10.0.94",
|
|
111
|
+
"@remnic/import-supermemory": "10.0.94",
|
|
112
|
+
"@remnic/import-mem0": "10.0.94"
|
|
113
113
|
},
|
|
114
114
|
"license": "MIT",
|
|
115
115
|
"repository": {
|