@dadado/agent-kit-cli 6.23.0 → 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.
- package/README.md +1 -0
- package/dashboard/dashboard-data.mjs +126 -5
- package/dashboard/dashboard.html +45 -4
- package/dashboard/lib/live-refresh.mjs +1 -0
- package/dist/{add-RKZQX6ZK.js → add-OYLOMCM6.js} +14 -6
- package/dist/chunk-2F6NMQOA.js +519 -0
- package/dist/chunk-2QYWMSI5.js +193 -0
- package/dist/{chunk-B3VR5YBQ.js → chunk-2TW7ENWC.js} +12 -11
- package/dist/{chunk-2IP4OO6R.js → chunk-2XLI7XEY.js} +1 -1
- package/dist/chunk-6M6UKECW.js +176 -0
- package/dist/{chunk-UJCATSYO.js → chunk-7Y74KO7U.js} +45 -16
- package/dist/{chunk-DZCLMIAS.js → chunk-AQLBEEPD.js} +236 -2
- package/dist/{chunk-R4DUO5DA.js → chunk-AXQMVQ6O.js} +61 -237
- package/dist/{chunk-7TYA3GMI.js → chunk-C7SV7UP5.js} +7 -4
- package/dist/{chunk-F7YAAKYP.js → chunk-CIV42JGT.js} +7 -5
- package/dist/{chunk-CQHD6UKB.js → chunk-CXE6ASSX.js} +1 -0
- package/dist/{chunk-6BEFGKCU.js → chunk-EO5NGAYV.js} +1 -1
- package/dist/{chunk-MJJBIOSY.js → chunk-G5MQRP6M.js} +31 -13
- package/dist/chunk-GMG7ZH4E.js +357 -0
- package/dist/{chunk-5EBT3V7G.js → chunk-GQSSXDDK.js} +1 -1
- package/dist/{chunk-5LNHRL5E.js → chunk-H7RAFRRZ.js} +41 -245
- package/dist/{chunk-IESSMKOV.js → chunk-HSIHZWFF.js} +4 -4
- package/dist/{chunk-W3ZJVBNY.js → chunk-IFBIO7VT.js} +449 -418
- package/dist/{chunk-V2H57TFD.js → chunk-JG3CNGQM.js} +78 -170
- package/dist/{chunk-KDJ4ML7I.js → chunk-JGG574RK.js} +3 -3
- package/dist/{chunk-SGTTC2JP.js → chunk-KWYF7QNH.js} +1 -1
- package/dist/{chunk-CVZNSRXV.js → chunk-M4UL422I.js} +80 -15
- package/dist/{chunk-AWQ6KRFV.js → chunk-NJ2SUSWX.js} +1 -1
- package/dist/{chunk-DRZFWIBN.js → chunk-PIMGV3E5.js} +1 -1
- package/dist/{chunk-QNISTPPZ.js → chunk-QACMV46U.js} +3 -3
- package/dist/{chunk-5PSV76CQ.js → chunk-QLTGHJB3.js} +25 -6
- package/dist/{chunk-OYFCBYMP.js → chunk-QX55T4UX.js} +13 -1
- package/dist/chunk-SAQ3EE5R.js +138 -0
- package/dist/{chunk-C4LCOOL4.js → chunk-TOSAAQ5A.js} +1 -1
- package/dist/chunk-WKFE3RUC.js +433 -0
- package/dist/{chunk-BGL5DRK2.js → chunk-XGZOU4DS.js} +1 -1
- package/dist/{commands-SAQEEE6V.js → commands-UW2C2ZN4.js} +4 -4
- package/dist/{conflicts-5JOP4GX2.js → conflicts-RING6AHV.js} +6 -6
- package/dist/{contribute-BQKRT5GN.js → contribute-LSY75JZH.js} +5 -4
- package/dist/{countdown-25E5C7AR.js → countdown-SZ2P4XHB.js} +267 -23
- package/dist/{diff-6JSXBVSX.js → diff-NZVBVQSK.js} +13 -5
- package/dist/{doctor-I3MTHS7F.js → doctor-TJSXBVGV.js} +103 -17
- package/dist/{ground-control-IDCXN5FK.js → ground-control-ZJXPUIQN.js} +3 -3
- package/dist/{guard-RJZEEKSL.js → guard-ZO4Z3LLB.js} +47 -9
- package/dist/{handoff-5AGE2D3T.js → handoff-2OZSWGTE.js} +2 -0
- package/dist/{hook-WNA42CXE.js → hook-3VPKNSOO.js} +12 -10
- package/dist/index.js +27 -26
- package/dist/{init-FZ2UFPO7.js → init-UW2BJBO2.js} +21 -15
- package/dist/{install-CTLT3TSI.js → install-RQSI4CHG.js} +18 -15
- package/dist/installs-7TR4H4QH.js +222 -0
- package/dist/{mission-control-CRMCRZUU.js → mission-control-VSU6NT43.js} +1 -1
- package/dist/{queue-JW4VR33H.js → queue-JHYILLMX.js} +9 -9
- package/dist/{run-X2WOONTB.js → run-CQF5RM5X.js} +21 -21
- package/dist/{run-plan-4MOLLIES.js → run-plan-BEOCOJCF.js} +13 -13
- package/dist/{scan-K3T5RQLC.js → scan-7D3RMO34.js} +2 -1
- package/dist/{session-start-MV7A4263.js → session-start-QV7CEFRX.js} +16 -10
- package/dist/{sessions-UPFDWDMB.js → sessions-AWAAO3DU.js} +1 -1
- package/dist/{setup-global-VNADNTQ2.js → setup-global-ST4TT427.js} +8 -7
- package/dist/{status-SXA3OK5E.js → status-HUBPBGUU.js} +13 -10
- package/dist/update-DD5UZPGG.js +31 -0
- package/dist/update-all-YYUTXHGR.js +695 -0
- package/package.json +1 -1
- package/dist/chunk-4MR4QXMF.js +0 -52
- package/dist/chunk-HAFRAXGV.js +0 -17
- package/dist/update-RMAWXMCV.js +0 -304
|
@@ -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
|
+
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readHandoffText
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QACMV46U.js";
|
|
4
4
|
import "./chunk-6WUKLS4D.js";
|
|
5
5
|
import "./chunk-7ABY6DYH.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-TOSAAQ5A.js";
|
|
7
|
+
import "./chunk-XGZOU4DS.js";
|
|
8
|
+
import {
|
|
9
|
+
extractFieldBlock
|
|
10
|
+
} from "./chunk-L5V3W3DY.js";
|
|
11
|
+
import "./chunk-MUTTNRX4.js";
|
|
8
12
|
import {
|
|
9
13
|
QUEUE_LEASE_RELPATH,
|
|
10
14
|
formatQueueLeaseRefusal,
|
|
11
15
|
inspectQueueLease
|
|
12
16
|
} from "./chunk-MFKHIWEL.js";
|
|
13
|
-
import
|
|
14
|
-
|
|
15
|
-
} from "./chunk-L5V3W3DY.js";
|
|
16
|
-
import "./chunk-MUTTNRX4.js";
|
|
17
|
-
import "./chunk-SGTTC2JP.js";
|
|
18
|
-
import "./chunk-W3ZJVBNY.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,18 +2,7 @@ import {
|
|
|
2
2
|
runPlanLoop,
|
|
3
3
|
shouldUseLiveTui,
|
|
4
4
|
withLiveTui
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-CQHD6UKB.js";
|
|
7
|
-
import {
|
|
8
|
-
negatedFlag
|
|
9
|
-
} from "./chunk-ZMYV6PRE.js";
|
|
10
|
-
import {
|
|
11
|
-
landDispatchOutcome,
|
|
12
|
-
runDispatchDriver
|
|
13
|
-
} from "./chunk-QNISTPPZ.js";
|
|
14
|
-
import {
|
|
15
|
-
DRIVER_EVENTS_FORMATS
|
|
16
|
-
} from "./chunk-6WUKLS4D.js";
|
|
5
|
+
} from "./chunk-H7RAFRRZ.js";
|
|
17
6
|
import {
|
|
18
7
|
CLAUDE_SUBAGENT_MODEL_ENV,
|
|
19
8
|
describeResolvedRoles,
|
|
@@ -21,22 +10,35 @@ import {
|
|
|
21
10
|
resolveReviewJobRole,
|
|
22
11
|
resolveSubworkerModel,
|
|
23
12
|
resolveWorkerRole
|
|
24
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AQLBEEPD.js";
|
|
25
14
|
import {
|
|
26
15
|
REVIEW_PACK_SLASH,
|
|
27
16
|
runReviewJob
|
|
28
|
-
} from "./chunk-
|
|
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";
|
|
29
30
|
import {
|
|
30
31
|
resolveActivePlanPath
|
|
31
32
|
} from "./chunk-7ABY6DYH.js";
|
|
32
33
|
import {
|
|
33
34
|
detectAgentBackend,
|
|
34
35
|
listDetectBackendIds
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-5EBT3V7G.js";
|
|
36
|
+
} from "./chunk-TOSAAQ5A.js";
|
|
37
37
|
import {
|
|
38
38
|
LAND_ON_GATE_DESCRIPTION
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-XGZOU4DS.js";
|
|
40
|
+
import "./chunk-L5V3W3DY.js";
|
|
41
|
+
import "./chunk-MUTTNRX4.js";
|
|
40
42
|
import {
|
|
41
43
|
LEASE_FREE_SLASHES,
|
|
42
44
|
QUEUE_LEASE_INTERRUPT_WAIT_MS,
|
|
@@ -47,8 +49,6 @@ import {
|
|
|
47
49
|
gateCheckIn,
|
|
48
50
|
holdQueueStatus
|
|
49
51
|
} from "./chunk-MFKHIWEL.js";
|
|
50
|
-
import "./chunk-L5V3W3DY.js";
|
|
51
|
-
import "./chunk-MUTTNRX4.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-
|
|
62
|
+
} from "./chunk-KWYF7QNH.js";
|
|
63
63
|
import {
|
|
64
64
|
getBackend
|
|
65
|
-
} from "./chunk-
|
|
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-
|
|
4
|
-
import
|
|
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 {
|
|
12
|
-
loadRolesContext,
|
|
13
|
-
resolveWorkerRole
|
|
14
|
-
} from "./chunk-DZCLMIAS.js";
|
|
15
|
-
import "./chunk-IESSMKOV.js";
|
|
16
17
|
import "./chunk-7ABY6DYH.js";
|
|
17
18
|
import {
|
|
18
19
|
detectAgentBackend,
|
|
19
20
|
listDetectBackendIds
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-5EBT3V7G.js";
|
|
21
|
+
} from "./chunk-TOSAAQ5A.js";
|
|
22
22
|
import {
|
|
23
23
|
LAND_ON_GATE_DESCRIPTION
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-MFKHIWEL.js";
|
|
24
|
+
} from "./chunk-XGZOU4DS.js";
|
|
26
25
|
import "./chunk-L5V3W3DY.js";
|
|
27
26
|
import "./chunk-MUTTNRX4.js";
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-MFKHIWEL.js";
|
|
28
|
+
import "./chunk-KWYF7QNH.js";
|
|
29
29
|
import {
|
|
30
30
|
getBackend
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-IFBIO7VT.js";
|
|
32
32
|
import {
|
|
33
33
|
HITL_UNANSWERED_EXIT_CODE
|
|
34
34
|
} from "./chunk-P7732A25.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-
|
|
29
|
-
import "./chunk-2YU2H7I6.js";
|
|
30
|
+
} from "./chunk-G5MQRP6M.js";
|
|
30
31
|
import "./chunk-JFS4GKP7.js";
|
|
32
|
+
import "./chunk-2YU2H7I6.js";
|
|
33
|
+
import "./chunk-L5V3W3DY.js";
|
|
34
|
+
import "./chunk-MUTTNRX4.js";
|
|
31
35
|
import "./chunk-MFKHIWEL.js";
|
|
32
36
|
import "./chunk-MCH3E46V.js";
|
|
33
37
|
import "./chunk-4CRBUEJ6.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-CVZNSRXV.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-
|
|
40
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-C7SV7UP5.js";
|
|
43
|
+
import "./chunk-SAQ3EE5R.js";
|
|
41
44
|
import "./chunk-CGXLR77R.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
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
|
};
|
|
@@ -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-
|
|
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-
|
|
5
|
+
} from "./chunk-JGG574RK.js";
|
|
6
6
|
import {
|
|
7
7
|
assessEnvironment
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-2TW7ENWC.js";
|
|
9
|
+
import "./chunk-M4UL422I.js";
|
|
10
10
|
import "./chunk-PFEUZXVT.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-C7SV7UP5.js";
|
|
12
|
+
import "./chunk-SAQ3EE5R.js";
|
|
13
13
|
import "./chunk-CGXLR77R.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
19
|
+
} from "./chunk-JGG574RK.js";
|
|
19
20
|
import {
|
|
20
21
|
assessEnvironment
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-2TW7ENWC.js";
|
|
23
|
+
import "./chunk-M4UL422I.js";
|
|
23
24
|
import "./chunk-PFEUZXVT.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-C7SV7UP5.js";
|
|
26
|
+
import "./chunk-SAQ3EE5R.js";
|
|
26
27
|
import "./chunk-CGXLR77R.js";
|
|
27
28
|
import {
|
|
28
|
-
MANIFEST_RELATIVE_PATH,
|
|
29
29
|
loadAgentKitManifest,
|
|
30
30
|
resolveProtectedGlobs
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
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
|
+
};
|