@bli-cockpit/cli 0.2.188 → 0.2.190
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.
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
*/
|
|
45
45
|
import { runMemoryRules } from "./memory-rules.js";
|
|
46
46
|
import { memoryProjectPrefix } from "./memory-project-label.js";
|
|
47
|
+
import { memorySaveOutsideRoots } from "@bli-cockpit/memory-mcp/dist/recorded-outside-roots.js";
|
|
47
48
|
import { resolveContainerTag } from "@bli-cockpit/memory-mcp/dist/container-tag.js";
|
|
48
49
|
import { askAgentDoor, emitAgentDoor, failAgentDoor, openAgentDoor, } from "./agent-door.js";
|
|
49
50
|
import { isInteractiveStdin, readPipedText, writeLine } from "./cli-io.js";
|
|
@@ -253,6 +254,7 @@ async function saveMemory(command, door) {
|
|
|
253
254
|
// is waiting for the answer, so take the synchronous branch instead of
|
|
254
255
|
// the 202 the Stop hook wants.
|
|
255
256
|
...(command.extract ? { wait: true } : {}),
|
|
257
|
+
outsideRoots: memorySaveOutsideRoots(process.cwd(), { homeDir: door.homeDir, stderr: door.io.stderr }),
|
|
256
258
|
sourceRef: { kind: "cli" },
|
|
257
259
|
},
|
|
258
260
|
});
|
|
@@ -42,7 +42,9 @@ export async function listRecordings(command, door) {
|
|
|
42
42
|
if (recordings.length === 0) {
|
|
43
43
|
if (missed.length > 0)
|
|
44
44
|
return 0;
|
|
45
|
-
writeLine(door.io.stdout,
|
|
45
|
+
writeLine(door.io.stdout, noteId.startsWith("event:")
|
|
46
|
+
? "No recording or missed-meeting record for this calendar event."
|
|
47
|
+
: "No recording is indexed for this note. It was filed before recordings were tracked, or by hand.");
|
|
46
48
|
return 0;
|
|
47
49
|
}
|
|
48
50
|
for (const row of recordings) {
|
|
@@ -21,7 +21,7 @@ export async function runCockpitCli(argv, io) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
if (command === "--version" || command === "-V" || command === "version") {
|
|
24
|
-
writeLine(io?.stdout ?? process.stdout, "0.2.
|
|
24
|
+
writeLine(io?.stdout ?? process.stdout, "0.2.190");
|
|
25
25
|
return 0;
|
|
26
26
|
}
|
|
27
27
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bli-cockpit/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.190",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"test": "node dist/cli.js --help && node ../../scripts/assert-public-cli-routing.mjs && node ../../scripts/assert-public-cli-verb-help.mjs && node ../../scripts/assert-public-cli-surface-doors.mjs && node ../../scripts/assert-public-cli-runtime-files.mjs && node ../../scripts/assert-public-cli-exit-contract.mjs && node ../../scripts/assert-public-cli-no-fleet-posts.mjs && node ../../scripts/assert-public-cli-doctor-json.mjs && node ../../scripts/assert-public-package-pack.mjs --workspace=@bli-cockpit/cli"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@bli-cockpit/memory-mcp": "0.1.
|
|
31
|
-
"@bli-cockpit/mcp": "0.1.
|
|
30
|
+
"@bli-cockpit/memory-mcp": "0.1.57",
|
|
31
|
+
"@bli-cockpit/mcp": "0.1.102",
|
|
32
32
|
"@bli-cockpit/telemetry-core": "0.1.66"
|
|
33
33
|
},
|
|
34
34
|
"repository": {
|