@remnic/cli 10.0.49 → 10.0.51
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 +12 -13
- package/package.json +32 -32
package/dist/index.js
CHANGED
|
@@ -531,6 +531,7 @@ import {
|
|
|
531
531
|
migrateFromEngram,
|
|
532
532
|
rollbackFromEngramMigration,
|
|
533
533
|
buildBriefing,
|
|
534
|
+
withBriefingDeadline,
|
|
534
535
|
parseBriefingWindow,
|
|
535
536
|
parseBriefingFocus,
|
|
536
537
|
validateBriefingFormat,
|
|
@@ -14991,7 +14992,7 @@ Root: ${root}`);
|
|
|
14991
14992
|
break;
|
|
14992
14993
|
}
|
|
14993
14994
|
}
|
|
14994
|
-
async function cmdBriefing(rest) {
|
|
14995
|
+
async function cmdBriefing(rest, abortSignal) {
|
|
14995
14996
|
initLogger5();
|
|
14996
14997
|
const configPath = resolveConfigPath();
|
|
14997
14998
|
const raw = fs32.existsSync(configPath) ? JSON.parse(fs32.readFileSync(configPath, "utf8")) : {};
|
|
@@ -15052,10 +15053,13 @@ async function cmdBriefing(rest) {
|
|
|
15052
15053
|
const format = effectiveFormatFlag === "json" ? "json" : effectiveFormatFlag === "markdown" ? "markdown" : config.briefing.defaultFormat;
|
|
15053
15054
|
const orchestrator = new Orchestrator11(config);
|
|
15054
15055
|
await orchestrator.initialize();
|
|
15056
|
+
abortSignal.throwIfAborted();
|
|
15055
15057
|
const storage = await orchestrator.getStorage(config.defaultNamespace);
|
|
15056
15058
|
const calendarSource = config.briefing.calendarSource ? new FileCalendarSource(config.briefing.calendarSource) : void 0;
|
|
15059
|
+
const locationSection = includeLocation && locationTaggingEnabled(config.location) ? await briefingLocationSection(storage.dir, window.from.toISOString(), config.location) : void 0;
|
|
15057
15060
|
const result = await buildBriefing({
|
|
15058
15061
|
storage,
|
|
15062
|
+
abortSignal,
|
|
15059
15063
|
window,
|
|
15060
15064
|
focus,
|
|
15061
15065
|
namespace: config.defaultNamespace,
|
|
@@ -15070,20 +15074,15 @@ async function cmdBriefing(rest) {
|
|
|
15070
15074
|
// service so CLI and server briefings behave identically.
|
|
15071
15075
|
followupGenerator: config.openaiApiKey ? void 0 : orchestrator.briefingChainFollowupGenerator
|
|
15072
15076
|
});
|
|
15073
|
-
|
|
15074
|
-
|
|
15075
|
-
|
|
15076
|
-
window.from.toISOString(),
|
|
15077
|
-
config.location
|
|
15078
|
-
);
|
|
15079
|
-
if (section) {
|
|
15080
|
-
result.markdown += `
|
|
15077
|
+
abortSignal.throwIfAborted();
|
|
15078
|
+
if (locationSection) {
|
|
15079
|
+
result.markdown += `
|
|
15081
15080
|
|
|
15082
|
-
${
|
|
15081
|
+
${locationSection}
|
|
15083
15082
|
`;
|
|
15084
|
-
|
|
15085
|
-
}
|
|
15083
|
+
result.json = { ...result.json, locationContext: locationSection };
|
|
15086
15084
|
}
|
|
15085
|
+
abortSignal.throwIfAborted();
|
|
15087
15086
|
const payload = format === "json" ? JSON.stringify(result.json, null, 2) : result.markdown;
|
|
15088
15087
|
console.log(payload);
|
|
15089
15088
|
if (save) {
|
|
@@ -20590,7 +20589,7 @@ Options:
|
|
|
20590
20589
|
break;
|
|
20591
20590
|
}
|
|
20592
20591
|
case "briefing": {
|
|
20593
|
-
await cmdBriefing(rest);
|
|
20592
|
+
await withBriefingDeadline((signal) => cmdBriefing(rest, signal));
|
|
20594
20593
|
break;
|
|
20595
20594
|
}
|
|
20596
20595
|
case "versions": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/cli",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.51",
|
|
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/
|
|
30
|
-
"@remnic/
|
|
31
|
-
"@remnic/core": "^10.0.
|
|
29
|
+
"@remnic/plugin-pi": "^10.0.51",
|
|
30
|
+
"@remnic/server": "^10.0.51",
|
|
31
|
+
"@remnic/core": "^10.0.51"
|
|
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.51",
|
|
35
|
+
"@remnic/plugin-openclaw": "^10.0.51",
|
|
36
|
+
"@remnic/export-weclone": "^10.0.51",
|
|
37
|
+
"@remnic/import-weclone": "^10.0.51",
|
|
38
|
+
"@remnic/import-chatgpt": "^10.0.51",
|
|
39
|
+
"@remnic/import-claude": "^10.0.51",
|
|
40
|
+
"@remnic/import-gemini": "^10.0.51",
|
|
41
|
+
"@remnic/import-lossless-claw": "^10.0.51",
|
|
42
|
+
"@remnic/import-mem0": "^10.0.51",
|
|
43
|
+
"@remnic/import-supermemory": "^10.0.51",
|
|
44
|
+
"@remnic/import-okf": "^10.0.51",
|
|
45
|
+
"@remnic/connector-limitless": "^10.0.51",
|
|
46
|
+
"@remnic/connector-bee": "^10.0.51",
|
|
47
|
+
"@remnic/connector-omi": "^10.0.51",
|
|
48
|
+
"@remnic/capture-audio": "^10.0.51"
|
|
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-
|
|
104
|
-
"@remnic/import-claude": "10.0.
|
|
105
|
-
"@remnic/import-gemini": "10.0.
|
|
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.51",
|
|
101
|
+
"@remnic/plugin-openclaw": "10.0.51",
|
|
102
|
+
"@remnic/export-weclone": "10.0.51",
|
|
103
|
+
"@remnic/import-chatgpt": "10.0.51",
|
|
104
|
+
"@remnic/import-claude": "10.0.51",
|
|
105
|
+
"@remnic/import-gemini": "10.0.51",
|
|
106
|
+
"@remnic/import-weclone": "10.0.51",
|
|
107
|
+
"@remnic/import-mem0": "10.0.51",
|
|
108
|
+
"@remnic/import-lossless-claw": "10.0.51",
|
|
109
|
+
"@remnic/import-supermemory": "10.0.51",
|
|
110
|
+
"@remnic/connector-limitless": "10.0.51",
|
|
111
|
+
"@remnic/connector-bee": "10.0.51",
|
|
112
|
+
"@remnic/connector-omi": "10.0.51"
|
|
113
113
|
},
|
|
114
114
|
"license": "MIT",
|
|
115
115
|
"repository": {
|