@dadado/agent-kit-cli 6.10.1 → 6.12.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/dist/{add-7GH3K44T.js → add-CLRIMPN4.js} +3 -3
- package/dist/{chunk-52WYZFP5.js → chunk-2R4HYPQH.js} +2 -2
- package/dist/{chunk-26KXYR5T.js → chunk-2TKPKRHO.js} +2 -2
- package/dist/{chunk-CXDAT76O.js → chunk-4WHPZGF4.js} +17 -6
- package/dist/{chunk-6LRY2CYU.js → chunk-5RWTDCJ7.js} +5 -1
- package/dist/{chunk-75ELVLBY.js → chunk-5T4CHRRR.js} +1 -1
- package/dist/chunk-7ABY6DYH.js +89 -0
- package/dist/{chunk-BZI5G3OZ.js → chunk-7TEEGAED.js} +35 -5
- package/dist/{chunk-BSYQJ5WF.js → chunk-CRLMS2JX.js} +1 -1
- package/dist/{chunk-O5FKTKOW.js → chunk-DVCNJNCF.js} +3 -3
- package/dist/{chunk-BB22FGQ4.js → chunk-EE3LTOBZ.js} +1 -1
- package/dist/{chunk-LPZ2KXVE.js → chunk-FX6BIH4C.js} +1 -1
- package/dist/{chunk-6UKI4CAN.js → chunk-GDKTTV2A.js} +13 -2
- package/dist/{chunk-HIJTNHJE.js → chunk-HWYVLEET.js} +3 -3
- package/dist/{chunk-TZA7MT4I.js → chunk-I2SG2VPJ.js} +2 -2
- package/dist/{chunk-LGSNC4OI.js → chunk-IBE2EJZS.js} +1 -1
- package/dist/{chunk-ZF4YBL7F.js → chunk-LAYMAMPL.js} +1 -1
- package/dist/{chunk-GQ6Q3P7C.js → chunk-ODI2N2BN.js} +2 -2
- package/dist/{chunk-BIFWN6BJ.js → chunk-OKQ3SAHK.js} +1 -1
- package/dist/{chunk-K5OCGZWA.js → chunk-PGCRP5A6.js} +8 -8
- package/dist/chunk-TFKEHC2D.js +273 -0
- package/dist/{chunk-S7XAV6JK.js → chunk-UX6FHSO7.js} +5 -5
- package/dist/{chunk-TUZVOPKY.js → chunk-WAWCS5PJ.js} +75 -122
- package/dist/{chunk-MTLQN57O.js → chunk-WRCXRV2U.js} +114 -6
- package/dist/{chunk-HVH24VRL.js → chunk-XJWCL4PO.js} +1 -1
- package/dist/{commands-EQHK3ZEP.js → commands-DVEZOEEO.js} +5 -5
- package/dist/{contribute-VSVPRHQ7.js → contribute-E3COXKH4.js} +4 -4
- package/dist/{countdown-XYRE4GZU.js → countdown-F6EIHGDR.js} +7 -7
- package/dist/{diff-4P7LMQK5.js → diff-SCGNC4SF.js} +5 -5
- package/dist/{doctor-E6LOBJYK.js → doctor-QGO4QB7R.js} +9 -9
- package/dist/{engine-info-3MQML5I2.js → engine-info-MNCKB55Y.js} +2 -2
- package/dist/{ground-control-726LRB6Q.js → ground-control-DB5RSYAT.js} +4 -4
- package/dist/{hook-HJW5SXQG.js → hook-R7V4NG3C.js} +5 -5
- package/dist/index.js +22 -20
- package/dist/{init-KKVT2RW4.js → init-ONPKZS63.js} +12 -12
- package/dist/{install-BPZTP5KT.js → install-NHTYTVSG.js} +12 -12
- package/dist/queue-XI4HUFLJ.js +172 -0
- package/dist/{run-326EEQYY.js → run-EO5P2YZG.js} +50 -271
- package/dist/{run-plan-2IFO4G4Y.js → run-plan-VMW34QY6.js} +8 -7
- package/dist/{setup-global-BFBSR2RZ.js → setup-global-PMKGHX2S.js} +6 -6
- package/dist/{status-LNXVLDMP.js → status-P2I6LE6Y.js} +7 -7
- package/dist/{update-PX5XFCSG.js → update-K6L24JDP.js} +10 -10
- package/package.json +20 -13
|
@@ -52,10 +52,93 @@ var LineSplitter = class {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
|
|
55
|
+
// src/plan-loop/token-usage.ts
|
|
56
|
+
var isRecord = (v) => typeof v === "object" && v !== null && !Array.isArray(v);
|
|
57
|
+
var count = (v) => typeof v === "number" && Number.isInteger(v) && v >= 0 ? v : void 0;
|
|
58
|
+
var make = (input, cached, output) => ({
|
|
59
|
+
inputTokens: input,
|
|
60
|
+
cachedInputTokens: cached,
|
|
61
|
+
outputTokens: output,
|
|
62
|
+
totalTokens: input + output
|
|
63
|
+
});
|
|
64
|
+
function fromModelUsage(models) {
|
|
65
|
+
if (!isRecord(models)) return null;
|
|
66
|
+
let seen = false;
|
|
67
|
+
let input = 0;
|
|
68
|
+
let cached = 0;
|
|
69
|
+
let output = 0;
|
|
70
|
+
for (const m of Object.values(models)) {
|
|
71
|
+
if (!isRecord(m)) continue;
|
|
72
|
+
const i = count(m.inputTokens);
|
|
73
|
+
const o = count(m.outputTokens);
|
|
74
|
+
if (i === void 0 && o === void 0) continue;
|
|
75
|
+
seen = true;
|
|
76
|
+
const read = count(m.cacheReadInputTokens) ?? 0;
|
|
77
|
+
input += (i ?? 0) + read + (count(m.cacheCreationInputTokens) ?? 0);
|
|
78
|
+
cached += read;
|
|
79
|
+
output += o ?? 0;
|
|
80
|
+
}
|
|
81
|
+
return seen ? make(input, cached, output) : null;
|
|
82
|
+
}
|
|
83
|
+
function readResultUsage(event) {
|
|
84
|
+
const models = fromModelUsage(event.modelUsage);
|
|
85
|
+
if (models) return { usage: models, cumulative: true };
|
|
86
|
+
const u = event.usage;
|
|
87
|
+
if (!isRecord(u)) return null;
|
|
88
|
+
const i = count(u.input_tokens);
|
|
89
|
+
const o = count(u.output_tokens);
|
|
90
|
+
if (i === void 0 && o === void 0) return null;
|
|
91
|
+
const codexCached = count(u.cached_input_tokens);
|
|
92
|
+
if (codexCached !== void 0) {
|
|
93
|
+
return { usage: make(i ?? 0, codexCached, o ?? 0), cumulative: true };
|
|
94
|
+
}
|
|
95
|
+
const read = count(u.cache_read_input_tokens);
|
|
96
|
+
const write = count(u.cache_creation_input_tokens);
|
|
97
|
+
return {
|
|
98
|
+
usage: make((i ?? 0) + (read ?? 0) + (write ?? 0), read ?? null, o ?? 0),
|
|
99
|
+
cumulative: false
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
function sumUsage(a, b) {
|
|
103
|
+
if (!a) return b;
|
|
104
|
+
if (!b) return a;
|
|
105
|
+
const cached = a.cachedInputTokens === null && b.cachedInputTokens === null ? null : (a.cachedInputTokens ?? 0) + (b.cachedInputTokens ?? 0);
|
|
106
|
+
return make(a.inputTokens + b.inputTokens, cached, a.outputTokens + b.outputTokens);
|
|
107
|
+
}
|
|
108
|
+
var UsageTally = class {
|
|
109
|
+
sessions = /* @__PURE__ */ new Map();
|
|
110
|
+
note(sessionId, report) {
|
|
111
|
+
if (!report) return;
|
|
112
|
+
const key = sessionId ?? "";
|
|
113
|
+
const prev = this.sessions.get(key);
|
|
114
|
+
if (report.cumulative || !prev) {
|
|
115
|
+
this.sessions.set(key, report);
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
if (prev.cumulative) return;
|
|
119
|
+
this.sessions.set(key, {
|
|
120
|
+
cumulative: false,
|
|
121
|
+
usage: sumUsage(prev.usage, report.usage)
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
/** Apply another tally's reports after this one's (a resumed child of the same tick). */
|
|
125
|
+
merge(other) {
|
|
126
|
+
for (const [key, report] of other.sessions) this.note(key, report);
|
|
127
|
+
}
|
|
128
|
+
total() {
|
|
129
|
+
let sum = null;
|
|
130
|
+
for (const report of this.sessions.values()) sum = sumUsage(sum, report.usage);
|
|
131
|
+
return sum;
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
|
|
55
135
|
// src/plan-loop/hitl-relay.ts
|
|
56
136
|
var HITL_GATE_LINE_RE = /^HITL_GATE:\s*([a-z0-9-]+)\s*\|\s*(.+)$/;
|
|
57
137
|
var HITL_REPLY_PREFIX = "HITL_REPLY:";
|
|
58
138
|
var RESERVED_GATE_IDS = ["git-prod", "kit-prod"];
|
|
139
|
+
var PREANSWERABLE_GATES = {
|
|
140
|
+
"context-checkpoint": ["Continue queue"]
|
|
141
|
+
};
|
|
59
142
|
var FALLBACK_ASK_ID = "prose-fallback";
|
|
60
143
|
var HITL_UNANSWERED_EXIT_CODE = 4;
|
|
61
144
|
var HITL_SIGINT_EXIT_CODE = 130;
|
|
@@ -147,10 +230,21 @@ function resolveOperatorAnswer(input, labels) {
|
|
|
147
230
|
if (STOP_WORDS.has(lower)) return { kind: "stop", cause: lower };
|
|
148
231
|
return { kind: "other", text };
|
|
149
232
|
}
|
|
150
|
-
function
|
|
233
|
+
function isPreanswerable(askId, label) {
|
|
234
|
+
if (isReservedGateId(askId)) return false;
|
|
235
|
+
return Object.hasOwn(PREANSWERABLE_GATES, askId) && (PREANSWERABLE_GATES[askId] ?? []).includes(label);
|
|
236
|
+
}
|
|
237
|
+
function replyTag(answer, source) {
|
|
151
238
|
if (answer.kind === "reply") {
|
|
152
|
-
return
|
|
239
|
+
return source === "policy" ? `policy pre-answer ${answer.n}` : `operator reply ${answer.n}`;
|
|
153
240
|
}
|
|
241
|
+
return "operator reply other";
|
|
242
|
+
}
|
|
243
|
+
function formatHitlReply(askId, answer, source = "operator") {
|
|
244
|
+
if (answer.kind === "reply") {
|
|
245
|
+
return `${HITL_REPLY_PREFIX} ${askId} | ${replyTag(answer, source)} | ${answer.label}`;
|
|
246
|
+
}
|
|
247
|
+
if (source === "policy") throw new Error("a policy pre-answer is always a listed label");
|
|
154
248
|
if (answer.kind === "other") {
|
|
155
249
|
return `${HITL_REPLY_PREFIX} ${askId} | operator reply other | ${answer.text}`;
|
|
156
250
|
}
|
|
@@ -256,7 +350,7 @@ async function askOperator(gate, opts) {
|
|
|
256
350
|
let raw;
|
|
257
351
|
try {
|
|
258
352
|
opts.write(formatGatePrompt(gate));
|
|
259
|
-
raw = await opts.readAnswer(gate, { signal: opts.signal });
|
|
353
|
+
raw = await opts.readAnswer(gate, { signal: opts.signal, usage: opts.usage ?? null });
|
|
260
354
|
} finally {
|
|
261
355
|
opts.onPromptEnd?.();
|
|
262
356
|
}
|
|
@@ -266,12 +360,22 @@ async function askOperator(gate, opts) {
|
|
|
266
360
|
if (raw.kind === "eof") return { kind: "stop", stop: operatorStop(gate.askId, "EOF") };
|
|
267
361
|
if (raw.kind === "sigint") return { kind: "stop", stop: operatorStop(gate.askId, "SIGINT") };
|
|
268
362
|
if (raw.kind === "stop") return { kind: "stop", stop: driverStop(gate.askId, raw) };
|
|
363
|
+
const source = raw.source ?? "operator";
|
|
269
364
|
const answer = resolveOperatorAnswer(raw.text, gate.labels);
|
|
365
|
+
if (source === "policy" && (answer.kind !== "reply" || !isPreanswerable(gate.askId, answer.label))) {
|
|
366
|
+
return {
|
|
367
|
+
kind: "stop",
|
|
368
|
+
stop: driverStop(gate.askId, {
|
|
369
|
+
cause: "protocol error",
|
|
370
|
+
detail: `policy pre-answer not allowed for ${gate.askId}`
|
|
371
|
+
})
|
|
372
|
+
};
|
|
373
|
+
}
|
|
270
374
|
if (answer.kind === "stop") return { kind: "stop", stop: operatorStop(gate.askId, answer.cause) };
|
|
271
|
-
const line = formatHitlReply(gate.askId, answer);
|
|
375
|
+
const line = formatHitlReply(gate.askId, answer, source);
|
|
272
376
|
const stamp = {
|
|
273
377
|
askId: gate.askId,
|
|
274
|
-
reply: answer
|
|
378
|
+
reply: replyTag(answer, source),
|
|
275
379
|
label: answer.kind === "reply" ? answer.label : answer.text,
|
|
276
380
|
line,
|
|
277
381
|
at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
@@ -354,7 +458,9 @@ var TurnWatcher = class {
|
|
|
354
458
|
isError: ev.is_error === true,
|
|
355
459
|
subtype: typeof ev.subtype === "string" ? ev.subtype : null,
|
|
356
460
|
errors: Array.isArray(ev.errors) ? ev.errors.filter((e) => typeof e === "string") : [],
|
|
357
|
-
backgroundTasks: this.backgroundTasks
|
|
461
|
+
backgroundTasks: this.backgroundTasks,
|
|
462
|
+
usage: readResultUsage(event),
|
|
463
|
+
sessionId: typeof ev.session_id === "string" ? ev.session_id : null
|
|
358
464
|
});
|
|
359
465
|
}
|
|
360
466
|
}
|
|
@@ -362,6 +468,8 @@ var TurnWatcher = class {
|
|
|
362
468
|
|
|
363
469
|
export {
|
|
364
470
|
LineSplitter,
|
|
471
|
+
sumUsage,
|
|
472
|
+
UsageTally,
|
|
365
473
|
RESERVED_GATE_IDS,
|
|
366
474
|
HITL_UNANSWERED_EXIT_CODE,
|
|
367
475
|
formatHitlGateLine,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RUN_CATALOG
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-7TEEGAED.js";
|
|
4
|
+
import "./chunk-GDKTTV2A.js";
|
|
5
|
+
import "./chunk-WRCXRV2U.js";
|
|
6
6
|
import {
|
|
7
7
|
discoverInstalledCommands
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IBE2EJZS.js";
|
|
9
9
|
import "./chunk-WGLPZXNU.js";
|
|
10
10
|
import "./chunk-6RRG3WOE.js";
|
|
11
11
|
import "./chunk-QTON2GQX.js";
|
|
12
12
|
import {
|
|
13
13
|
L0_ARTIFACTS
|
|
14
14
|
} from "./chunk-2KIOZMTV.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-5RWTDCJ7.js";
|
|
16
16
|
import {
|
|
17
17
|
KIT_VERSION
|
|
18
18
|
} from "./chunk-7HDQEK6T.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
REGISTRY_CLI_ARGS,
|
|
3
3
|
resolveRegistryFromCli
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5T4CHRRR.js";
|
|
5
5
|
import {
|
|
6
6
|
logger
|
|
7
7
|
} from "./chunk-ZB43YMHW.js";
|
|
8
8
|
import {
|
|
9
9
|
managedPairs
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FX6BIH4C.js";
|
|
11
11
|
import "./chunk-2KIOZMTV.js";
|
|
12
12
|
import {
|
|
13
13
|
loadAgentKitManifest,
|
|
14
14
|
normalizeRelPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XJWCL4PO.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveContained
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-5RWTDCJ7.js";
|
|
19
19
|
import "./chunk-C4Q77GGJ.js";
|
|
20
20
|
import "./chunk-5B4DVO6C.js";
|
|
21
21
|
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
REVIEW_PACK_SLASH,
|
|
5
5
|
parseReviewPackMaxBytes,
|
|
6
6
|
reviewBackendMessage
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UX6FHSO7.js";
|
|
8
8
|
import {
|
|
9
9
|
detectAgentBackend,
|
|
10
10
|
listDetectBackendIds
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-EE3LTOBZ.js";
|
|
12
|
+
import "./chunk-CRLMS2JX.js";
|
|
13
13
|
import {
|
|
14
14
|
GATE_EXIT_MARKER_RELPATH,
|
|
15
15
|
defaultExec,
|
|
@@ -20,23 +20,23 @@ import {
|
|
|
20
20
|
readGateExitMarker,
|
|
21
21
|
resolveGateExitRefs,
|
|
22
22
|
writeGateExitMarker
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-2TKPKRHO.js";
|
|
24
24
|
import "./chunk-MUTTNRX4.js";
|
|
25
25
|
import {
|
|
26
26
|
classifySlash,
|
|
27
27
|
normalizeSlashName,
|
|
28
28
|
promoteBlockedMessage,
|
|
29
29
|
unknownSlashMessage
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-7TEEGAED.js";
|
|
31
31
|
import {
|
|
32
32
|
CLAUDE_MAX_BUDGET_USD_ENV,
|
|
33
33
|
CLAUDE_MAX_TURNS_ENV,
|
|
34
34
|
RedactingStreamBuffer,
|
|
35
35
|
redactSecrets
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-GDKTTV2A.js";
|
|
37
37
|
import {
|
|
38
38
|
HITL_UNANSWERED_EXIT_CODE
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-WRCXRV2U.js";
|
|
40
40
|
import "./chunk-WGLPZXNU.js";
|
|
41
41
|
import "./chunk-6RRG3WOE.js";
|
|
42
42
|
import "./chunk-QTON2GQX.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
REGISTRY_CLI_ARGS,
|
|
3
3
|
resolveRegistryFromCli
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5T4CHRRR.js";
|
|
5
5
|
import {
|
|
6
6
|
logger
|
|
7
7
|
} from "./chunk-ZB43YMHW.js";
|
|
8
8
|
import {
|
|
9
9
|
diffAgainstRegistry,
|
|
10
10
|
summarizeDiff
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-DVCNJNCF.js";
|
|
12
|
+
import "./chunk-FX6BIH4C.js";
|
|
13
13
|
import "./chunk-2KIOZMTV.js";
|
|
14
14
|
import {
|
|
15
15
|
loadAgentKitManifest
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-XJWCL4PO.js";
|
|
17
|
+
import "./chunk-5RWTDCJ7.js";
|
|
18
18
|
import "./chunk-C4Q77GGJ.js";
|
|
19
19
|
import "./chunk-5B4DVO6C.js";
|
|
20
20
|
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
assessHooksHealth,
|
|
3
3
|
executeSafeReadinessFixes,
|
|
4
4
|
refreshRepositoryProfile
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ODI2N2BN.js";
|
|
6
6
|
import {
|
|
7
7
|
writeReadinessSnapshot
|
|
8
8
|
} from "./chunk-HAFRAXGV.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-LAYMAMPL.js";
|
|
10
|
+
import "./chunk-IBE2EJZS.js";
|
|
11
11
|
import "./chunk-WGLPZXNU.js";
|
|
12
12
|
import "./chunk-6RRG3WOE.js";
|
|
13
13
|
import {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
detectWorkspaceParent,
|
|
18
18
|
workspaceParentAdvisoryLines
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OKQ3SAHK.js";
|
|
20
20
|
import {
|
|
21
21
|
createReadinessReport
|
|
22
22
|
} from "./chunk-PNFF6OU3.js";
|
|
@@ -33,13 +33,13 @@ import {
|
|
|
33
33
|
} from "./chunk-B3VR5YBQ.js";
|
|
34
34
|
import {
|
|
35
35
|
warnIfRunningCliBehindNpm
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-2R4HYPQH.js";
|
|
37
37
|
import "./chunk-PFEUZXVT.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-DVCNJNCF.js";
|
|
39
|
+
import "./chunk-FX6BIH4C.js";
|
|
40
40
|
import "./chunk-2KIOZMTV.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-XJWCL4PO.js";
|
|
42
|
+
import "./chunk-5RWTDCJ7.js";
|
|
43
43
|
import {
|
|
44
44
|
KIT_VERSION
|
|
45
45
|
} from "./chunk-7HDQEK6T.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DRIVER_PROTOCOL_VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4WHPZGF4.js";
|
|
4
4
|
import {
|
|
5
5
|
bundledDashboardCandidates
|
|
6
6
|
} from "./chunk-XDCCYBCJ.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-WRCXRV2U.js";
|
|
8
8
|
import "./chunk-ZB43YMHW.js";
|
|
9
9
|
|
|
10
10
|
// src/commands/engine-info.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
blobId,
|
|
3
3
|
isTicketMerged
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CRLMS2JX.js";
|
|
5
5
|
import {
|
|
6
6
|
GATE_EXIT_BRANCH_PREFIX,
|
|
7
7
|
GATE_EXIT_MARKER_RELPATH,
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
readGateExitMarker,
|
|
17
17
|
resolveGateExitRefs,
|
|
18
18
|
writeGateExitMarker
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-2TKPKRHO.js";
|
|
20
20
|
import "./chunk-MUTTNRX4.js";
|
|
21
21
|
import {
|
|
22
22
|
redactSecrets
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-GDKTTV2A.js";
|
|
24
|
+
import "./chunk-WRCXRV2U.js";
|
|
25
25
|
import {
|
|
26
26
|
findOnPath
|
|
27
27
|
} from "./chunk-WGLPZXNU.js";
|
|
@@ -23,17 +23,17 @@ import {
|
|
|
23
23
|
} from "./chunk-HAFRAXGV.js";
|
|
24
24
|
import {
|
|
25
25
|
stampLastCheckedAt
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2R4HYPQH.js";
|
|
27
27
|
import {
|
|
28
28
|
loadContextConfig
|
|
29
29
|
} from "./chunk-PFEUZXVT.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-DVCNJNCF.js";
|
|
31
|
+
import "./chunk-FX6BIH4C.js";
|
|
32
32
|
import "./chunk-2KIOZMTV.js";
|
|
33
33
|
import {
|
|
34
34
|
MANIFEST_RELATIVE_PATH
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-XJWCL4PO.js";
|
|
36
|
+
import "./chunk-5RWTDCJ7.js";
|
|
37
37
|
import "./chunk-7HDQEK6T.js";
|
|
38
38
|
import {
|
|
39
39
|
HANDOFF_REL
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
rewriteRootArgvToRun
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-7TEEGAED.js";
|
|
5
|
+
import "./chunk-GDKTTV2A.js";
|
|
6
|
+
import "./chunk-WRCXRV2U.js";
|
|
7
7
|
import "./chunk-WGLPZXNU.js";
|
|
8
8
|
import "./chunk-6RRG3WOE.js";
|
|
9
9
|
import {
|
|
@@ -125,6 +125,7 @@ var CLI_HELP_GROUPS = [
|
|
|
125
125
|
"run",
|
|
126
126
|
"run-plan",
|
|
127
127
|
"run-plan-all",
|
|
128
|
+
"queue",
|
|
128
129
|
"countdown",
|
|
129
130
|
"ground-control"
|
|
130
131
|
]
|
|
@@ -231,38 +232,39 @@ var main = defineCommand({
|
|
|
231
232
|
version: KIT_VERSION
|
|
232
233
|
},
|
|
233
234
|
subCommands: {
|
|
234
|
-
init: () => import("./init-
|
|
235
|
-
install: () => import("./install-
|
|
235
|
+
init: () => import("./init-ONPKZS63.js").then((m) => m.initCommand),
|
|
236
|
+
install: () => import("./install-NHTYTVSG.js").then((m) => m.installCommand),
|
|
236
237
|
scan: () => import("./scan-BWA64R7I.js").then((m) => m.scanCommand),
|
|
237
|
-
add: () => import("./add-
|
|
238
|
-
doctor: () => import("./doctor-
|
|
239
|
-
"setup-global": () => import("./setup-global-
|
|
240
|
-
status: () => import("./status-
|
|
241
|
-
update: () => import("./update-
|
|
238
|
+
add: () => import("./add-CLRIMPN4.js").then((m) => m.addCommand),
|
|
239
|
+
doctor: () => import("./doctor-QGO4QB7R.js").then((m) => m.doctorCommand),
|
|
240
|
+
"setup-global": () => import("./setup-global-PMKGHX2S.js").then((m) => m.setupGlobalCommand),
|
|
241
|
+
status: () => import("./status-P2I6LE6Y.js").then((m) => m.statusCommand),
|
|
242
|
+
update: () => import("./update-K6L24JDP.js").then((m) => m.updateCommand),
|
|
242
243
|
"cursor-awareness": () => import("./cursor-awareness-TN5JXD2C.js").then((m) => m.cursorAwarenessCommand),
|
|
243
244
|
"public-inbound-radar": () => import("./public-inbound-radar-5U4JMBRU.js").then((m) => m.publicInboundRadarCommand),
|
|
244
245
|
"remote-issues": () => import("./remote-issues-APYOMIJC.js").then((m) => m.remoteIssuesCommand),
|
|
245
246
|
dogfood: () => import("./dogfood-2JAHSYQA.js").then((m) => m.dogfoodCommand),
|
|
246
|
-
diff: () => import("./diff-
|
|
247
|
-
contribute: () => import("./contribute-
|
|
247
|
+
diff: () => import("./diff-SCGNC4SF.js").then((m) => m.diffCommand),
|
|
248
|
+
contribute: () => import("./contribute-E3COXKH4.js").then((m) => m.contributeCommand),
|
|
248
249
|
handoff: () => import("./handoff-5AGE2D3T.js").then((m) => m.handoffCommand),
|
|
249
250
|
"plan-index": () => import("./plan-index-BNLUU6T5.js").then((m) => m.planIndexCommand),
|
|
250
|
-
run: () => import("./run-
|
|
251
|
-
"run-plan": () => import("./run-plan-
|
|
252
|
-
"run-plan-all": () => import("./run-
|
|
253
|
-
|
|
254
|
-
|
|
251
|
+
run: () => import("./run-EO5P2YZG.js").then((m) => m.runCommand),
|
|
252
|
+
"run-plan": () => import("./run-plan-VMW34QY6.js").then((m) => m.runPlanCommand),
|
|
253
|
+
"run-plan-all": () => import("./run-EO5P2YZG.js").then((m) => m.runPlanAllCommand),
|
|
254
|
+
queue: () => import("./queue-XI4HUFLJ.js").then((m) => m.queueCommand),
|
|
255
|
+
countdown: () => import("./countdown-F6EIHGDR.js").then((m) => m.countdownCommand),
|
|
256
|
+
"ground-control": () => import("./ground-control-DB5RSYAT.js").then((m) => m.groundControlCommand),
|
|
255
257
|
dashboard: () => import("./dashboard-YNCFISNO.js").then((m) => m.dashboardCommand),
|
|
256
258
|
"dashboard-broadcast": () => import("./dashboard-broadcast-NK7PU72L.js").then((m) => m.dashboardBroadcastCommand),
|
|
257
259
|
"mission-control": () => import("./mission-control-C2QV5D25.js").then((m) => m.missionControlCommand),
|
|
258
|
-
hook: () => import("./hook-
|
|
260
|
+
hook: () => import("./hook-R7V4NG3C.js").then((m) => m.hookCommand),
|
|
259
261
|
guard: () => import("./guard-X6FNFZ27.js").then((m) => m.guardCommand),
|
|
260
262
|
monitors: () => import("./monitors-PDXBLB3U.js").then((m) => m.monitorsCommand),
|
|
261
263
|
sessions: () => import("./sessions-O7MYEMCT.js").then((m) => m.sessionsCommand),
|
|
262
264
|
"outcome-ledger": () => import("./outcome-ledger-XLWHWPVQ.js").then((m) => m.outcomeLedgerCommand),
|
|
263
265
|
validate: () => import("./validate-V2CW7J4B.js").then((m) => m.validateCommand),
|
|
264
|
-
"engine-info": () => import("./engine-info-
|
|
265
|
-
commands: () => import("./commands-
|
|
266
|
+
"engine-info": () => import("./engine-info-MNCKB55Y.js").then((m) => m.engineInfoCommand),
|
|
267
|
+
commands: () => import("./commands-DVEZOEEO.js").then((m) => m.commandsCommand)
|
|
266
268
|
},
|
|
267
269
|
async run({ rawArgs }) {
|
|
268
270
|
if (hasCliSubcommand(rawArgs)) return;
|
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
nextStepAfterInstall,
|
|
3
3
|
performInstall,
|
|
4
4
|
printInstallEpilogue
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PGCRP5A6.js";
|
|
6
6
|
import {
|
|
7
7
|
NON_INTERACTIVE_ROOT_ARGS
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HWYVLEET.js";
|
|
9
9
|
import {
|
|
10
10
|
SkippedSymlinkError,
|
|
11
11
|
logApplyStats
|
|
12
12
|
} from "./chunk-HS7LVVLO.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-5T4CHRRR.js";
|
|
14
|
+
import "./chunk-ODI2N2BN.js";
|
|
15
15
|
import "./chunk-HAFRAXGV.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-LAYMAMPL.js";
|
|
17
|
+
import "./chunk-IBE2EJZS.js";
|
|
18
18
|
import "./chunk-WGLPZXNU.js";
|
|
19
19
|
import "./chunk-6RRG3WOE.js";
|
|
20
20
|
import {
|
|
@@ -32,17 +32,17 @@ import {
|
|
|
32
32
|
confirmProjectRoot,
|
|
33
33
|
isNonInteractive,
|
|
34
34
|
syncPathCliToRuntime
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-I2SG2VPJ.js";
|
|
36
36
|
import {
|
|
37
37
|
assessEnvironment
|
|
38
38
|
} from "./chunk-B3VR5YBQ.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-2R4HYPQH.js";
|
|
40
40
|
import "./chunk-PFEUZXVT.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-DVCNJNCF.js";
|
|
42
|
+
import "./chunk-FX6BIH4C.js";
|
|
43
43
|
import "./chunk-2KIOZMTV.js";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-XJWCL4PO.js";
|
|
45
|
+
import "./chunk-5RWTDCJ7.js";
|
|
46
46
|
import {
|
|
47
47
|
KIT_VERSION
|
|
48
48
|
} from "./chunk-7HDQEK6T.js";
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
nextStepAfterInstall,
|
|
4
4
|
performInstall,
|
|
5
5
|
printInstallEpilogue
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-PGCRP5A6.js";
|
|
7
|
+
import "./chunk-HWYVLEET.js";
|
|
8
8
|
import "./chunk-HS7LVVLO.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-5T4CHRRR.js";
|
|
10
|
+
import "./chunk-ODI2N2BN.js";
|
|
11
11
|
import "./chunk-HAFRAXGV.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-LAYMAMPL.js";
|
|
13
|
+
import "./chunk-IBE2EJZS.js";
|
|
14
14
|
import "./chunk-WGLPZXNU.js";
|
|
15
15
|
import "./chunk-6RRG3WOE.js";
|
|
16
16
|
import "./chunk-QTON2GQX.js";
|
|
@@ -18,15 +18,15 @@ import "./chunk-PNFF6OU3.js";
|
|
|
18
18
|
import "./chunk-SC2DBY2R.js";
|
|
19
19
|
import "./chunk-F6C3GFKV.js";
|
|
20
20
|
import "./chunk-ZB43YMHW.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-I2SG2VPJ.js";
|
|
22
22
|
import "./chunk-B3VR5YBQ.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-2R4HYPQH.js";
|
|
24
24
|
import "./chunk-PFEUZXVT.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-DVCNJNCF.js";
|
|
26
|
+
import "./chunk-FX6BIH4C.js";
|
|
27
27
|
import "./chunk-2KIOZMTV.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-XJWCL4PO.js";
|
|
29
|
+
import "./chunk-5RWTDCJ7.js";
|
|
30
30
|
import "./chunk-7HDQEK6T.js";
|
|
31
31
|
import "./chunk-C4Q77GGJ.js";
|
|
32
32
|
import "./chunk-5B4DVO6C.js";
|