@dadado/agent-kit-cli 6.22.1 → 6.25.0

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.
Files changed (69) hide show
  1. package/README.md +1 -0
  2. package/dashboard/dashboard-data.mjs +126 -5
  3. package/dashboard/dashboard.html +45 -4
  4. package/dashboard/lib/live-refresh.mjs +1 -0
  5. package/dist/{add-YVDIFP4N.js → add-OYLOMCM6.js} +14 -6
  6. package/dist/chunk-2F6NMQOA.js +519 -0
  7. package/dist/chunk-2QYWMSI5.js +193 -0
  8. package/dist/{chunk-B3VR5YBQ.js → chunk-2TW7ENWC.js} +12 -11
  9. package/dist/{chunk-GT5R7W66.js → chunk-2XLI7XEY.js} +1 -1
  10. package/dist/chunk-6M6UKECW.js +176 -0
  11. package/dist/{chunk-YRBRYTM5.js → chunk-7Y74KO7U.js} +45 -16
  12. package/dist/{chunk-DZCLMIAS.js → chunk-AQLBEEPD.js} +236 -2
  13. package/dist/{chunk-R4DUO5DA.js → chunk-AXQMVQ6O.js} +61 -237
  14. package/dist/{chunk-4SEQ76BQ.js → chunk-C7SV7UP5.js} +7 -4
  15. package/dist/{chunk-WS6OX2IG.js → chunk-CGXLR77R.js} +4 -0
  16. package/dist/{chunk-XZQM55BK.js → chunk-CIV42JGT.js} +7 -5
  17. package/dist/{chunk-CQHD6UKB.js → chunk-CXE6ASSX.js} +1 -0
  18. package/dist/{chunk-2FKAKFMH.js → chunk-EO5NGAYV.js} +1 -1
  19. package/dist/{chunk-GV4VKIPO.js → chunk-G5MQRP6M.js} +32 -14
  20. package/dist/chunk-GMG7ZH4E.js +357 -0
  21. package/dist/{chunk-5EBT3V7G.js → chunk-GQSSXDDK.js} +1 -1
  22. package/dist/{chunk-EYNSSL6B.js → chunk-H7RAFRRZ.js} +47 -251
  23. package/dist/{chunk-IESSMKOV.js → chunk-HSIHZWFF.js} +4 -4
  24. package/dist/{chunk-W3ZJVBNY.js → chunk-IFBIO7VT.js} +449 -418
  25. package/dist/{chunk-QWTBYXHN.js → chunk-JFS4GKP7.js} +1 -1
  26. package/dist/{chunk-LDZAK5DU.js → chunk-JG3CNGQM.js} +78 -170
  27. package/dist/{chunk-SDJIMC5S.js → chunk-JGG574RK.js} +3 -3
  28. package/dist/{chunk-SGTTC2JP.js → chunk-KWYF7QNH.js} +1 -1
  29. package/dist/{chunk-5HH3HSUR.js → chunk-M4UL422I.js} +80 -15
  30. package/dist/{chunk-DTSL2RH7.js → chunk-MFKHIWEL.js} +5 -3
  31. package/dist/{chunk-MGIPA6SD.js → chunk-NJ2SUSWX.js} +1 -1
  32. package/dist/{chunk-BCU54M2P.js → chunk-PIMGV3E5.js} +1 -1
  33. package/dist/{chunk-HJWSOZXS.js → chunk-QACMV46U.js} +10 -10
  34. package/dist/{chunk-WHBGJ7IJ.js → chunk-QLTGHJB3.js} +26 -7
  35. package/dist/{chunk-ZJDJCMQO.js → chunk-QX55T4UX.js} +23 -1
  36. package/dist/chunk-SAQ3EE5R.js +138 -0
  37. package/dist/{chunk-C4LCOOL4.js → chunk-TOSAAQ5A.js} +1 -1
  38. package/dist/chunk-WKFE3RUC.js +433 -0
  39. package/dist/{chunk-BGL5DRK2.js → chunk-XGZOU4DS.js} +1 -1
  40. package/dist/{commands-LEBG6DMD.js → commands-UW2C2ZN4.js} +5 -5
  41. package/dist/{conflicts-FJD3IVPQ.js → conflicts-RING6AHV.js} +22 -12
  42. package/dist/{contribute-XPAR2JER.js → contribute-LSY75JZH.js} +6 -5
  43. package/dist/{countdown-25E5C7AR.js → countdown-SZ2P4XHB.js} +267 -23
  44. package/dist/{diff-KFID4SX3.js → diff-NZVBVQSK.js} +14 -6
  45. package/dist/{doctor-J2GJFTSE.js → doctor-TJSXBVGV.js} +104 -18
  46. package/dist/{ground-control-IDCXN5FK.js → ground-control-ZJXPUIQN.js} +3 -3
  47. package/dist/{guard-RJZEEKSL.js → guard-ZO4Z3LLB.js} +47 -9
  48. package/dist/{handoff-5AGE2D3T.js → handoff-2OZSWGTE.js} +2 -0
  49. package/dist/{hook-HV6U3ANI.js → hook-3VPKNSOO.js} +14 -12
  50. package/dist/index.js +27 -26
  51. package/dist/{init-47WA2SCG.js → init-UW2BJBO2.js} +22 -16
  52. package/dist/install-RQSI4CHG.js +41 -0
  53. package/dist/installs-7TR4H4QH.js +222 -0
  54. package/dist/{mission-control-CRMCRZUU.js → mission-control-VSU6NT43.js} +1 -1
  55. package/dist/{queue-OJHKFKK3.js → queue-JHYILLMX.js} +10 -10
  56. package/dist/{run-Z2GHNVBO.js → run-CQF5RM5X.js} +29 -29
  57. package/dist/{run-plan-XA7MYOQ3.js → run-plan-BEOCOJCF.js} +13 -13
  58. package/dist/{scan-K3T5RQLC.js → scan-7D3RMO34.js} +2 -1
  59. package/dist/{session-start-PEVTDMOZ.js → session-start-QV7CEFRX.js} +18 -12
  60. package/dist/{sessions-6IGVH467.js → sessions-AWAAO3DU.js} +3 -3
  61. package/dist/{setup-global-KBJL7QRD.js → setup-global-ST4TT427.js} +9 -8
  62. package/dist/{status-3UGVDIO6.js → status-HUBPBGUU.js} +14 -11
  63. package/dist/update-DD5UZPGG.js +31 -0
  64. package/dist/update-all-YYUTXHGR.js +695 -0
  65. package/package.json +1 -1
  66. package/dist/chunk-HAFRAXGV.js +0 -17
  67. package/dist/chunk-ZNY32NK2.js +0 -52
  68. package/dist/install-Y63HEM4G.js +0 -38
  69. package/dist/update-4UQHGENC.js +0 -283
@@ -0,0 +1,222 @@
1
+ import {
2
+ DEFAULT_SCAN_DEPTH,
3
+ DEFAULT_SCAN_MAX_DIRS,
4
+ InstallsRegistryError,
5
+ listInstalls,
6
+ pruneMissingInstalls,
7
+ recordInstalls,
8
+ resolveInstallsFile,
9
+ scanForInstalls
10
+ } from "./chunk-WKFE3RUC.js";
11
+ import {
12
+ logger
13
+ } from "./chunk-ZB43YMHW.js";
14
+ import "./chunk-6M6UKECW.js";
15
+ import "./chunk-7HDQEK6T.js";
16
+ import "./chunk-C4Q77GGJ.js";
17
+ import "./chunk-5B4DVO6C.js";
18
+
19
+ // src/commands/installs.ts
20
+ import { homedir } from "os";
21
+ import path from "path";
22
+ import { defineCommand } from "citty";
23
+ function collectRepeatedFlag(rawArgs, flag) {
24
+ const values = [];
25
+ const long = `--${flag}`;
26
+ for (let i = 0; i < rawArgs.length; i += 1) {
27
+ const arg = rawArgs[i];
28
+ if (arg === long) {
29
+ const value = rawArgs[i + 1];
30
+ if (value !== void 0 && !value.startsWith("--")) {
31
+ values.push(value);
32
+ i += 1;
33
+ }
34
+ } else if (arg.startsWith(`${long}=`)) {
35
+ values.push(arg.slice(long.length + 1));
36
+ }
37
+ }
38
+ return values.filter((v) => v.trim() !== "");
39
+ }
40
+ function parsePositiveInt(value, fallback, name) {
41
+ if (value === void 0 || value === "") return fallback;
42
+ const n = Number(value);
43
+ if (!Number.isInteger(n) || n < 0) {
44
+ throw new Error(`--${name} must be a non-negative integer (got ${String(value)})`);
45
+ }
46
+ return n;
47
+ }
48
+ var EMPTY_LIST = "No installs recorded yet. Run `agent-kit installs scan` or any install, update or doctor.";
49
+ function renderInstallsTable(entries, home = homedir(), empty = EMPTY_LIST) {
50
+ if (entries.length === 0) return empty;
51
+ const display = (p) => p === home ? "~" : p.startsWith(`${home}${path.sep}`) ? `~${p.slice(home.length)}` : p;
52
+ const rows = entries.map((e) => [
53
+ e.kind,
54
+ e.kitVersion ?? "?",
55
+ display(e.path),
56
+ e.remote ?? "(no remote)",
57
+ e.lastSeen.slice(0, 10)
58
+ ]);
59
+ const header = ["KIND", "KIT", "PATH", "REMOTE", "SEEN"];
60
+ const widths = header.map((h, i) => Math.max(h.length, ...rows.map((r) => (r[i] ?? "").length)));
61
+ const fmt = (r) => r.map((c, i) => i === r.length - 1 ? c : c.padEnd(widths[i] ?? 0)).join(" ").trimEnd();
62
+ return [fmt(header), ...rows.map(fmt)].join("\n");
63
+ }
64
+ function reportRegistryError(err) {
65
+ if (err instanceof InstallsRegistryError) {
66
+ logger.error(err.message);
67
+ process.exitCode = 1;
68
+ return true;
69
+ }
70
+ return false;
71
+ }
72
+ async function printInstallsList(json) {
73
+ let entries;
74
+ try {
75
+ entries = await listInstalls();
76
+ } catch (err) {
77
+ if (reportRegistryError(err)) return;
78
+ throw err;
79
+ }
80
+ if (json) {
81
+ process.stdout.write(
82
+ `${JSON.stringify({ file: resolveInstallsFile(), installs: entries }, null, 2)}
83
+ `
84
+ );
85
+ return;
86
+ }
87
+ process.stdout.write(`${renderInstallsTable(entries)}
88
+ `);
89
+ }
90
+ var listCommand = defineCommand({
91
+ meta: { name: "list", description: "List the installs recorded on this machine (default)" },
92
+ args: {
93
+ json: { type: "boolean", description: "Print the rows as JSON", default: false }
94
+ },
95
+ run({ args }) {
96
+ return printInstallsList(args.json);
97
+ }
98
+ });
99
+ var scanCommand = defineCommand({
100
+ meta: {
101
+ name: "scan",
102
+ description: "Find kit installs (.cursor/agent-kit.json) under bounded roots and record them (default root: $HOME)"
103
+ },
104
+ args: {
105
+ root: {
106
+ type: "string",
107
+ description: "Directory to walk; repeat for several roots (default: $HOME)"
108
+ },
109
+ depth: {
110
+ type: "string",
111
+ description: `Maximum directory depth below each root (default ${DEFAULT_SCAN_DEPTH})`
112
+ },
113
+ "max-dirs": {
114
+ type: "string",
115
+ description: `Stop after visiting this many directories (default ${DEFAULT_SCAN_MAX_DIRS})`
116
+ },
117
+ json: { type: "boolean", description: "Print the result as JSON", default: false }
118
+ },
119
+ async run({ args, rawArgs }) {
120
+ const roots = collectRepeatedFlag(rawArgs, "root");
121
+ const scanRoots = roots.length > 0 ? roots.map((r) => path.resolve(r)) : [homedir()];
122
+ let maxDepth;
123
+ let maxDirs;
124
+ try {
125
+ maxDepth = parsePositiveInt(args.depth, DEFAULT_SCAN_DEPTH, "depth");
126
+ maxDirs = parsePositiveInt(args["max-dirs"], DEFAULT_SCAN_MAX_DIRS, "max-dirs");
127
+ } catch (err) {
128
+ logger.error(err.message);
129
+ process.exitCode = 2;
130
+ return;
131
+ }
132
+ const scan = await scanForInstalls(scanRoots, { maxDepth, maxDirs });
133
+ let written;
134
+ try {
135
+ written = await recordInstalls(scan.found);
136
+ } catch (err) {
137
+ if (reportRegistryError(err)) return;
138
+ throw err;
139
+ }
140
+ if (args.json) {
141
+ process.stdout.write(
142
+ `${JSON.stringify(
143
+ {
144
+ roots: scanRoots,
145
+ visited: scan.visited,
146
+ truncated: scan.truncated,
147
+ recorded: written
148
+ },
149
+ null,
150
+ 2
151
+ )}
152
+ `
153
+ );
154
+ return;
155
+ }
156
+ process.stdout.write(
157
+ `${renderInstallsTable(written, homedir(), "No kit installs (.cursor/agent-kit.json) found.")}
158
+ `
159
+ );
160
+ logger.info(
161
+ `Scanned ${scan.visited} directories under ${scanRoots.join(", ")} (depth ${maxDepth}); recorded ${written.length} install(s) in ${resolveInstallsFile()}.`
162
+ );
163
+ if (scan.truncated) {
164
+ logger.warn(
165
+ `Stopped at ${maxDirs} directories; pass --root for a narrower folder or --max-dirs to raise the cap.`
166
+ );
167
+ }
168
+ }
169
+ });
170
+ var pruneCommand = defineCommand({
171
+ meta: {
172
+ name: "prune",
173
+ description: "Remove recorded installs whose folder or .cursor/agent-kit.json is gone"
174
+ },
175
+ args: {
176
+ json: { type: "boolean", description: "Print the removed rows as JSON", default: false }
177
+ },
178
+ async run({ args }) {
179
+ let removed;
180
+ try {
181
+ removed = await pruneMissingInstalls();
182
+ } catch (err) {
183
+ if (reportRegistryError(err)) return;
184
+ throw err;
185
+ }
186
+ if (args.json) {
187
+ process.stdout.write(`${JSON.stringify({ removed }, null, 2)}
188
+ `);
189
+ return;
190
+ }
191
+ if (removed.length === 0) {
192
+ logger.info("Nothing to prune: every recorded install still exists.");
193
+ return;
194
+ }
195
+ for (const entry of removed) console.log(`pruned ${entry.path}`);
196
+ }
197
+ });
198
+ var SUBCOMMANDS = /* @__PURE__ */ new Set(["list", "scan", "prune"]);
199
+ var installsCommand = defineCommand({
200
+ meta: {
201
+ name: "installs",
202
+ description: "List, scan and prune the kit installs recorded on this machine (~/.config/agent-kit/installs.json)"
203
+ },
204
+ args: {
205
+ json: { type: "boolean", description: "Print the rows as JSON", default: false }
206
+ },
207
+ subCommands: {
208
+ list: listCommand,
209
+ scan: scanCommand,
210
+ prune: pruneCommand
211
+ },
212
+ async run({ args, rawArgs }) {
213
+ const first = rawArgs.find((a) => !a.startsWith("-"));
214
+ if (first && SUBCOMMANDS.has(first)) return;
215
+ await printInstallsList(args.json);
216
+ }
217
+ });
218
+ export {
219
+ collectRepeatedFlag,
220
+ installsCommand,
221
+ renderInstallsTable
222
+ };
@@ -3,7 +3,7 @@ import {
3
3
  findDashboardDataScript,
4
4
  loadDashboardSnapshot,
5
5
  runMcTuiLoop
6
- } from "./chunk-CQHD6UKB.js";
6
+ } from "./chunk-CXE6ASSX.js";
7
7
  import {
8
8
  resolveDashboardSnapshotRoot
9
9
  } from "./chunk-ZMYV6PRE.js";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  readHandoffText
3
- } from "./chunk-HJWSOZXS.js";
3
+ } from "./chunk-QACMV46U.js";
4
4
  import "./chunk-6WUKLS4D.js";
5
- import {
6
- QUEUE_LEASE_RELPATH,
7
- formatQueueLeaseRefusal,
8
- inspectQueueLease
9
- } from "./chunk-DTSL2RH7.js";
10
5
  import "./chunk-7ABY6DYH.js";
11
- import "./chunk-C4LCOOL4.js";
12
- import "./chunk-BGL5DRK2.js";
6
+ import "./chunk-TOSAAQ5A.js";
7
+ import "./chunk-XGZOU4DS.js";
13
8
  import {
14
9
  extractFieldBlock
15
10
  } from "./chunk-L5V3W3DY.js";
16
11
  import "./chunk-MUTTNRX4.js";
17
- import "./chunk-SGTTC2JP.js";
18
- import "./chunk-W3ZJVBNY.js";
12
+ import {
13
+ QUEUE_LEASE_RELPATH,
14
+ formatQueueLeaseRefusal,
15
+ inspectQueueLease
16
+ } from "./chunk-MFKHIWEL.js";
17
+ import "./chunk-KWYF7QNH.js";
18
+ import "./chunk-IFBIO7VT.js";
19
19
  import "./chunk-P7732A25.js";
20
20
  import "./chunk-WGLPZXNU.js";
21
21
  import "./chunk-Q35TWISF.js";
@@ -2,28 +2,7 @@ import {
2
2
  runPlanLoop,
3
3
  shouldUseLiveTui,
4
4
  withLiveTui
5
- } from "./chunk-EYNSSL6B.js";
6
- import "./chunk-CQHD6UKB.js";
7
- import {
8
- negatedFlag
9
- } from "./chunk-ZMYV6PRE.js";
10
- import {
11
- landDispatchOutcome,
12
- runDispatchDriver
13
- } from "./chunk-HJWSOZXS.js";
14
- import {
15
- DRIVER_EVENTS_FORMATS
16
- } from "./chunk-6WUKLS4D.js";
17
- import {
18
- LEASE_FREE_SLASHES,
19
- QUEUE_LEASE_INTERRUPT_WAIT_MS,
20
- QUEUE_LEASE_SESSION_ENV,
21
- acquirePlanWriterLease,
22
- acquireQueueLease,
23
- forwardTermination,
24
- gateCheckIn,
25
- holdQueueStatus
26
- } from "./chunk-DTSL2RH7.js";
5
+ } from "./chunk-H7RAFRRZ.js";
27
6
  import {
28
7
  CLAUDE_SUBAGENT_MODEL_ENV,
29
8
  describeResolvedRoles,
@@ -31,24 +10,45 @@ import {
31
10
  resolveReviewJobRole,
32
11
  resolveSubworkerModel,
33
12
  resolveWorkerRole
34
- } from "./chunk-DZCLMIAS.js";
13
+ } from "./chunk-AQLBEEPD.js";
35
14
  import {
36
15
  REVIEW_PACK_SLASH,
37
16
  runReviewJob
38
- } from "./chunk-IESSMKOV.js";
17
+ } from "./chunk-HSIHZWFF.js";
18
+ import "./chunk-GQSSXDDK.js";
19
+ import "./chunk-CXE6ASSX.js";
20
+ import {
21
+ negatedFlag
22
+ } from "./chunk-ZMYV6PRE.js";
23
+ import {
24
+ landDispatchOutcome,
25
+ runDispatchDriver
26
+ } from "./chunk-QACMV46U.js";
27
+ import {
28
+ DRIVER_EVENTS_FORMATS
29
+ } from "./chunk-6WUKLS4D.js";
39
30
  import {
40
31
  resolveActivePlanPath
41
32
  } from "./chunk-7ABY6DYH.js";
42
33
  import {
43
34
  detectAgentBackend,
44
35
  listDetectBackendIds
45
- } from "./chunk-C4LCOOL4.js";
46
- import "./chunk-5EBT3V7G.js";
36
+ } from "./chunk-TOSAAQ5A.js";
47
37
  import {
48
38
  LAND_ON_GATE_DESCRIPTION
49
- } from "./chunk-BGL5DRK2.js";
39
+ } from "./chunk-XGZOU4DS.js";
50
40
  import "./chunk-L5V3W3DY.js";
51
41
  import "./chunk-MUTTNRX4.js";
42
+ import {
43
+ LEASE_FREE_SLASHES,
44
+ QUEUE_LEASE_INTERRUPT_WAIT_MS,
45
+ QUEUE_LEASE_SESSION_ENV,
46
+ acquirePlanWriterLease,
47
+ acquireQueueLease,
48
+ forwardTermination,
49
+ gateCheckIn,
50
+ holdQueueStatus
51
+ } from "./chunk-MFKHIWEL.js";
52
52
  import {
53
53
  buildDispatchPrompt,
54
54
  classifySlash,
@@ -59,10 +59,10 @@ import {
59
59
  resolveOperatorNote,
60
60
  runHeadlessDispatch,
61
61
  unknownSlashMessage
62
- } from "./chunk-SGTTC2JP.js";
62
+ } from "./chunk-KWYF7QNH.js";
63
63
  import {
64
64
  getBackend
65
- } from "./chunk-W3ZJVBNY.js";
65
+ } from "./chunk-IFBIO7VT.js";
66
66
  import {
67
67
  HITL_UNANSWERED_EXIT_CODE,
68
68
  formatHitlSummary,
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  runPlanLoop
3
- } from "./chunk-EYNSSL6B.js";
4
- import "./chunk-CQHD6UKB.js";
3
+ } from "./chunk-H7RAFRRZ.js";
4
+ import {
5
+ loadRolesContext,
6
+ resolveWorkerRole
7
+ } from "./chunk-AQLBEEPD.js";
8
+ import "./chunk-HSIHZWFF.js";
9
+ import "./chunk-GQSSXDDK.js";
10
+ import "./chunk-CXE6ASSX.js";
5
11
  import {
6
12
  negatedFlag
7
13
  } from "./chunk-ZMYV6PRE.js";
8
14
  import {
9
15
  DRIVER_EVENTS_FORMATS
10
16
  } from "./chunk-6WUKLS4D.js";
11
- import "./chunk-DTSL2RH7.js";
12
- import {
13
- loadRolesContext,
14
- resolveWorkerRole
15
- } from "./chunk-DZCLMIAS.js";
16
- import "./chunk-IESSMKOV.js";
17
17
  import "./chunk-7ABY6DYH.js";
18
18
  import {
19
19
  detectAgentBackend,
20
20
  listDetectBackendIds
21
- } from "./chunk-C4LCOOL4.js";
22
- import "./chunk-5EBT3V7G.js";
21
+ } from "./chunk-TOSAAQ5A.js";
23
22
  import {
24
23
  LAND_ON_GATE_DESCRIPTION
25
- } from "./chunk-BGL5DRK2.js";
24
+ } from "./chunk-XGZOU4DS.js";
26
25
  import "./chunk-L5V3W3DY.js";
27
26
  import "./chunk-MUTTNRX4.js";
28
- import "./chunk-SGTTC2JP.js";
27
+ import "./chunk-MFKHIWEL.js";
28
+ import "./chunk-KWYF7QNH.js";
29
29
  import {
30
30
  getBackend
31
- } from "./chunk-W3ZJVBNY.js";
31
+ } from "./chunk-IFBIO7VT.js";
32
32
  import {
33
33
  HITL_UNANSWERED_EXIT_CODE
34
34
  } from "./chunk-P7732A25.js";
@@ -1,7 +1,8 @@
1
1
  import {
2
2
  runScanner
3
- } from "./chunk-R4DUO5DA.js";
3
+ } from "./chunk-AXQMVQ6O.js";
4
4
  import "./chunk-F6C3GFKV.js";
5
+ import "./chunk-2QYWMSI5.js";
5
6
  import {
6
7
  logger
7
8
  } from "./chunk-ZB43YMHW.js";
@@ -7,6 +7,7 @@ import {
7
7
  LIVE_AGENTS_SECTION_MAX_WORKTREES,
8
8
  PUBLIC_INBOUND_SPAWN_TIMEOUT_MS,
9
9
  SESSION_START_SECTION_DEADLINE_MS,
10
+ UPDATE_NOTICE_SECTION_DEADLINE_MS,
10
11
  buildSessionStartAdditionalContext,
11
12
  colonyHostSection,
12
13
  cursorAwarenessSection,
@@ -24,23 +25,26 @@ import {
24
25
  sectionAttemptNeedsStamp,
25
26
  shouldEmitCursorAwarenessNudge,
26
27
  updateCheckSection,
28
+ updateNoticeSection,
27
29
  withDeadline
28
- } from "./chunk-GV4VKIPO.js";
30
+ } from "./chunk-G5MQRP6M.js";
31
+ import "./chunk-JFS4GKP7.js";
29
32
  import "./chunk-2YU2H7I6.js";
30
- import "./chunk-QWTBYXHN.js";
31
- import "./chunk-DTSL2RH7.js";
32
- import "./chunk-MCH3E46V.js";
33
- import "./chunk-4CRBUEJ6.js";
34
33
  import "./chunk-L5V3W3DY.js";
35
34
  import "./chunk-MUTTNRX4.js";
36
- import "./chunk-HAFRAXGV.js";
37
- import "./chunk-5HH3HSUR.js";
35
+ import "./chunk-MFKHIWEL.js";
36
+ import "./chunk-MCH3E46V.js";
37
+ import "./chunk-4CRBUEJ6.js";
38
+ import "./chunk-2F6NMQOA.js";
39
+ import "./chunk-WKFE3RUC.js";
40
+ import "./chunk-M4UL422I.js";
38
41
  import "./chunk-PFEUZXVT.js";
39
- import "./chunk-4SEQ76BQ.js";
40
- import "./chunk-ZNY32NK2.js";
41
- import "./chunk-WS6OX2IG.js";
42
- import "./chunk-LDZAK5DU.js";
43
- import "./chunk-ZJDJCMQO.js";
42
+ import "./chunk-C7SV7UP5.js";
43
+ import "./chunk-SAQ3EE5R.js";
44
+ import "./chunk-CGXLR77R.js";
45
+ import "./chunk-JG3CNGQM.js";
46
+ import "./chunk-QX55T4UX.js";
47
+ import "./chunk-6M6UKECW.js";
44
48
  import "./chunk-7HDQEK6T.js";
45
49
  import "./chunk-C4Q77GGJ.js";
46
50
  import "./chunk-5B4DVO6C.js";
@@ -53,6 +57,7 @@ export {
53
57
  LIVE_AGENTS_SECTION_MAX_WORKTREES,
54
58
  PUBLIC_INBOUND_SPAWN_TIMEOUT_MS,
55
59
  SESSION_START_SECTION_DEADLINE_MS,
60
+ UPDATE_NOTICE_SECTION_DEADLINE_MS,
56
61
  buildSessionStartAdditionalContext,
57
62
  colonyHostSection,
58
63
  cursorAwarenessSection,
@@ -70,5 +75,6 @@ export {
70
75
  sectionAttemptNeedsStamp,
71
76
  shouldEmitCursorAwarenessNudge,
72
77
  updateCheckSection,
78
+ updateNoticeSection,
73
79
  withDeadline
74
80
  };
@@ -5,8 +5,8 @@ import {
5
5
  formatChatAge,
6
6
  renderLiveRoster,
7
7
  shellQuote
8
- } from "./chunk-QWTBYXHN.js";
9
- import "./chunk-DTSL2RH7.js";
8
+ } from "./chunk-JFS4GKP7.js";
9
+ import "./chunk-MFKHIWEL.js";
10
10
  import "./chunk-C4Q77GGJ.js";
11
11
 
12
12
  // src/commands/sessions.ts
@@ -79,7 +79,7 @@ var sessionsCommand = defineCommand({
79
79
  const cwd = process.cwd();
80
80
  const workspace = path.resolve(cwd, typeof args.cwd === "string" && args.cwd ? args.cwd : ".");
81
81
  if (args.live) {
82
- const { listDetachedAuditSessions } = await import("./session-start-PEVTDMOZ.js");
82
+ const { listDetachedAuditSessions } = await import("./session-start-QV7CEFRX.js");
83
83
  const roster = await collectLiveRoster(workspace, { listAudit: listDetachedAuditSessions });
84
84
  process.stdout.write(
85
85
  args.json ? `${JSON.stringify(roster, null, 2)}
@@ -2,17 +2,18 @@ import {
2
2
  classifyInstallError,
3
3
  isNonInteractive,
4
4
  pathCliStatus
5
- } from "./chunk-SDJIMC5S.js";
5
+ } from "./chunk-JGG574RK.js";
6
6
  import {
7
7
  assessEnvironment
8
- } from "./chunk-B3VR5YBQ.js";
9
- import "./chunk-5HH3HSUR.js";
8
+ } from "./chunk-2TW7ENWC.js";
9
+ import "./chunk-M4UL422I.js";
10
10
  import "./chunk-PFEUZXVT.js";
11
- import "./chunk-4SEQ76BQ.js";
12
- import "./chunk-ZNY32NK2.js";
13
- import "./chunk-WS6OX2IG.js";
14
- import "./chunk-LDZAK5DU.js";
15
- import "./chunk-ZJDJCMQO.js";
11
+ import "./chunk-C7SV7UP5.js";
12
+ import "./chunk-SAQ3EE5R.js";
13
+ import "./chunk-CGXLR77R.js";
14
+ import "./chunk-JG3CNGQM.js";
15
+ import "./chunk-QX55T4UX.js";
16
+ import "./chunk-6M6UKECW.js";
16
17
  import {
17
18
  KIT_VERSION,
18
19
  pinnedCliSpec
@@ -1,35 +1,38 @@
1
1
  import {
2
2
  detectWorkspaceParent,
3
3
  workspaceParentAdvisoryLines
4
- } from "./chunk-GT5R7W66.js";
4
+ } from "./chunk-2XLI7XEY.js";
5
5
  import {
6
6
  createReadinessReport
7
7
  } from "./chunk-PNFF6OU3.js";
8
8
  import {
9
9
  runScanner
10
- } from "./chunk-R4DUO5DA.js";
10
+ } from "./chunk-AXQMVQ6O.js";
11
11
  import "./chunk-F6C3GFKV.js";
12
+ import "./chunk-2QYWMSI5.js";
12
13
  import {
13
14
  logger
14
15
  } from "./chunk-ZB43YMHW.js";
15
16
  import {
16
17
  npxPinned,
17
18
  pathCliStatus
18
- } from "./chunk-SDJIMC5S.js";
19
+ } from "./chunk-JGG574RK.js";
19
20
  import {
20
21
  assessEnvironment
21
- } from "./chunk-B3VR5YBQ.js";
22
- import "./chunk-5HH3HSUR.js";
22
+ } from "./chunk-2TW7ENWC.js";
23
+ import "./chunk-M4UL422I.js";
23
24
  import "./chunk-PFEUZXVT.js";
24
- import "./chunk-4SEQ76BQ.js";
25
- import "./chunk-ZNY32NK2.js";
26
- import "./chunk-WS6OX2IG.js";
25
+ import "./chunk-C7SV7UP5.js";
26
+ import "./chunk-SAQ3EE5R.js";
27
+ import "./chunk-CGXLR77R.js";
27
28
  import {
28
- MANIFEST_RELATIVE_PATH,
29
29
  loadAgentKitManifest,
30
30
  resolveProtectedGlobs
31
- } from "./chunk-LDZAK5DU.js";
32
- import "./chunk-ZJDJCMQO.js";
31
+ } from "./chunk-JG3CNGQM.js";
32
+ import "./chunk-QX55T4UX.js";
33
+ import {
34
+ MANIFEST_RELATIVE_PATH
35
+ } from "./chunk-6M6UKECW.js";
33
36
  import {
34
37
  KIT_VERSION
35
38
  } from "./chunk-7HDQEK6T.js";
@@ -0,0 +1,31 @@
1
+ import {
2
+ applyUpdateAtRoot,
3
+ updateCommand
4
+ } from "./chunk-GMG7ZH4E.js";
5
+ import "./chunk-MFKHIWEL.js";
6
+ import "./chunk-QLTGHJB3.js";
7
+ import "./chunk-HS7LVVLO.js";
8
+ import "./chunk-PIMGV3E5.js";
9
+ import "./chunk-NJ2SUSWX.js";
10
+ import "./chunk-EO5NGAYV.js";
11
+ import "./chunk-WKFE3RUC.js";
12
+ import "./chunk-Q35TWISF.js";
13
+ import "./chunk-QTON2GQX.js";
14
+ import "./chunk-ZB43YMHW.js";
15
+ import "./chunk-JGG574RK.js";
16
+ import "./chunk-2TW7ENWC.js";
17
+ import "./chunk-M4UL422I.js";
18
+ import "./chunk-PFEUZXVT.js";
19
+ import "./chunk-C7SV7UP5.js";
20
+ import "./chunk-SAQ3EE5R.js";
21
+ import "./chunk-CGXLR77R.js";
22
+ import "./chunk-JG3CNGQM.js";
23
+ import "./chunk-QX55T4UX.js";
24
+ import "./chunk-6M6UKECW.js";
25
+ import "./chunk-7HDQEK6T.js";
26
+ import "./chunk-C4Q77GGJ.js";
27
+ import "./chunk-5B4DVO6C.js";
28
+ export {
29
+ applyUpdateAtRoot,
30
+ updateCommand
31
+ };