@locusai/cli 0.26.4 → 0.26.6
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/bin/locus.js +9 -4
- package/package.json +3 -3
package/bin/locus.js
CHANGED
|
@@ -9196,7 +9196,8 @@ async function captureMemoryFromSession(projectRoot, transcript, config) {
|
|
|
9196
9196
|
});
|
|
9197
9197
|
return { captured: validEntries.length };
|
|
9198
9198
|
} catch (e) {
|
|
9199
|
-
log.warn(
|
|
9199
|
+
log.warn(`
|
|
9200
|
+
${yellow2("⚠")} Memory capture: unexpected error`, {
|
|
9200
9201
|
error: e instanceof Error ? e.message : String(e)
|
|
9201
9202
|
});
|
|
9202
9203
|
return { captured: 0 };
|
|
@@ -9204,6 +9205,7 @@ async function captureMemoryFromSession(projectRoot, transcript, config) {
|
|
|
9204
9205
|
}
|
|
9205
9206
|
var TRANSCRIPT_MAX_CHARS = 32000, VALID_CATEGORIES;
|
|
9206
9207
|
var init_memory_capture = __esm(() => {
|
|
9208
|
+
init_terminal();
|
|
9207
9209
|
init_logger();
|
|
9208
9210
|
init_memory();
|
|
9209
9211
|
VALID_CATEGORIES = new Set(Object.keys(MEMORY_CATEGORIES));
|
|
@@ -10503,7 +10505,8 @@ async function startRepl(options) {
|
|
|
10503
10505
|
model: config.ai?.model
|
|
10504
10506
|
}).then((result) => {
|
|
10505
10507
|
if (result.captured > 0)
|
|
10506
|
-
log.info(`
|
|
10508
|
+
log.info(`
|
|
10509
|
+
${green("✓")} Captured ${result.captured} memory entries`);
|
|
10507
10510
|
}).catch(() => {});
|
|
10508
10511
|
}
|
|
10509
10512
|
return;
|
|
@@ -10704,7 +10707,8 @@ ${red2("✗")} ${msg}
|
|
|
10704
10707
|
model: config.ai?.model
|
|
10705
10708
|
}).then((result) => {
|
|
10706
10709
|
if (result.captured > 0)
|
|
10707
|
-
log.info(`
|
|
10710
|
+
log.info(`
|
|
10711
|
+
${green("✓")} Captured ${result.captured} memory entries`);
|
|
10708
10712
|
}).catch(() => {});
|
|
10709
10713
|
}
|
|
10710
10714
|
const shouldPersistOnExit = session.messages.length > 0 || sessionManager.isPersisted(session);
|
|
@@ -11294,7 +11298,8 @@ ${issue.body}`
|
|
|
11294
11298
|
]);
|
|
11295
11299
|
captureMemoryFromSession(projectRoot, transcript, { model: config.ai?.model }).then((result) => {
|
|
11296
11300
|
if (result.captured > 0)
|
|
11297
|
-
log.info(`
|
|
11301
|
+
log.info(`
|
|
11302
|
+
${green("✓")} Captured ${result.captured} memory entries`);
|
|
11298
11303
|
}).catch(() => {});
|
|
11299
11304
|
return {
|
|
11300
11305
|
issueNumber,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@locusai/cli",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.6",
|
|
4
4
|
"description": "GitHub-native AI engineering assistant",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"dependencies": {},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@locusai/locus-mcp": "^0.26.
|
|
40
|
-
"@locusai/sdk": "^0.26.
|
|
39
|
+
"@locusai/locus-mcp": "^0.26.6",
|
|
40
|
+
"@locusai/sdk": "^0.26.6",
|
|
41
41
|
"@types/bun": "latest",
|
|
42
42
|
"typescript": "^5.8.3"
|
|
43
43
|
},
|