@bli-cockpit/cli 0.2.221 → 0.2.222

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.
@@ -16,6 +16,8 @@ import { writeLine } from "./cli-io.js";
16
16
  import { ask, emit, fail, TAG } from "./notes-door.js";
17
17
  /** One door call is a bounded pass (under a minute); the terminal allows twice that. */
18
18
  const WRITE_DEADLINE_MS = 120_000;
19
+ /** A repair pass plans for 200 s (the route allows 300), BLI-18006. */
20
+ const REPAIR_DEADLINE_MS = 290_000;
19
21
  /** BLI-17974: bounds on the sync loop, so a stuck account ends in a reason, not a hang. */
20
22
  const MAX_SYNC_PASSES = 200;
21
23
  const MAX_STALLED_PASSES = 3;
@@ -59,7 +61,7 @@ export async function syncNotetaker(command, door) {
59
61
  path: `/api/notes/accounts/${encodeURIComponent(accountId)}/sync`,
60
62
  method: "POST",
61
63
  label: repairing ? "notes sync (repair truncated)" : "notes sync",
62
- timeoutMs: WRITE_DEADLINE_MS,
64
+ timeoutMs: repairing ? REPAIR_DEADLINE_MS : WRITE_DEADLINE_MS,
63
65
  ...(repairing ? { body: { repair: "truncated_transcripts" } } : {}),
64
66
  });
65
67
  if (!answer.ok) {
@@ -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.221");
24
+ writeLine(io?.stdout ?? process.stdout, "0.2.222");
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.221",
3
+ "version": "0.2.222",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@bli-cockpit/memory-mcp": "0.1.66",
31
- "@bli-cockpit/mcp": "0.1.128",
31
+ "@bli-cockpit/mcp": "0.1.129",
32
32
  "@bli-cockpit/telemetry-core": "0.1.75"
33
33
  },
34
34
  "repository": {