@dadado/agent-kit-cli 6.11.0 → 6.13.1

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 (50) hide show
  1. package/dashboard/dashboard-data.mjs +19 -3
  2. package/dashboard/lib/live-refresh.mjs +1 -0
  3. package/dashboard/lib/workspace-docs.d.mts +49 -0
  4. package/dashboard/lib/workspace-docs.mjs +231 -0
  5. package/dist/{add-P4DIZKC2.js → add-FTPXOOZD.js} +3 -3
  6. package/dist/{chunk-SZ5REXPD.js → chunk-2KATW2O4.js} +2 -2
  7. package/dist/{chunk-BOZUBCQA.js → chunk-2TKPKRHO.js} +2 -2
  8. package/dist/{chunk-2KIOZMTV.js → chunk-4PL57BZ5.js} +4 -0
  9. package/dist/{chunk-2B3HHQ3L.js → chunk-6QBU4DQF.js} +3 -3
  10. package/dist/{chunk-47ZJ3S7M.js → chunk-A4PHFHYO.js} +5 -1
  11. package/dist/{chunk-VWDFMXFK.js → chunk-AEUE74EZ.js} +5 -5
  12. package/dist/{chunk-5D5BJZW5.js → chunk-CFJRCJWD.js} +15 -5
  13. package/dist/{chunk-AOSXKF3M.js → chunk-CRLMS2JX.js} +1 -1
  14. package/dist/{chunk-H3PQYVFT.js → chunk-DONKV6MA.js} +2 -2
  15. package/dist/{chunk-7T4MDNV3.js → chunk-DQLIEJFK.js} +1 -1
  16. package/dist/{chunk-5KDMATUR.js → chunk-EE3LTOBZ.js} +1 -1
  17. package/dist/{chunk-5TEXYAGP.js → chunk-GDKTTV2A.js} +4 -2
  18. package/dist/{chunk-UGJ3YAT2.js → chunk-GYPCR4UO.js} +11 -7
  19. package/dist/{chunk-Q4J5UXVQ.js → chunk-JGEGTOF6.js} +1 -1
  20. package/dist/{chunk-FTLMWPQY.js → chunk-JRCI2GNS.js} +1 -1
  21. package/dist/{chunk-FQNAEFTW.js → chunk-LQJNGECA.js} +2 -1
  22. package/dist/{chunk-UQSFGLY5.js → chunk-N7HMTWS5.js} +4 -4
  23. package/dist/{chunk-KHFPPQJ5.js → chunk-NDKSOPP7.js} +3 -2
  24. package/dist/{chunk-6GM5YUWR.js → chunk-OVRWRZ5S.js} +2 -2
  25. package/dist/{chunk-MAXEVJCP.js → chunk-PHH3H5EQ.js} +1 -1
  26. package/dist/{chunk-CAOQBBP5.js → chunk-PXURVVVO.js} +2 -2
  27. package/dist/{chunk-S4T6KYYA.js → chunk-SKC6QZW4.js} +46 -10
  28. package/dist/{chunk-YN5NBMQT.js → chunk-W6U3Z2RU.js} +8 -8
  29. package/dist/{chunk-JPAQOESJ.js → chunk-WRCXRV2U.js} +29 -5
  30. package/dist/{chunk-LFWPB2JR.js → chunk-ZFJIJUZ4.js} +1 -0
  31. package/dist/{commands-F437QCGQ.js → commands-MVUJZEJ6.js} +6 -6
  32. package/dist/{contribute-G5DFZCH6.js → contribute-EKTMMEYU.js} +5 -5
  33. package/dist/{countdown-6SP7IEJ3.js → countdown-TFKPAYIQ.js} +7 -7
  34. package/dist/{diff-VCVSR4OV.js → diff-RFW6K4X5.js} +6 -6
  35. package/dist/{doctor-5LPPWRPI.js → doctor-3KNZI3CK.js} +10 -10
  36. package/dist/{engine-info-LEE37RRK.js → engine-info-CYDRD7SW.js} +2 -2
  37. package/dist/{ground-control-IJ5NQVLP.js → ground-control-DB5RSYAT.js} +4 -4
  38. package/dist/{guard-X6FNFZ27.js → guard-RJZEEKSL.js} +50 -8
  39. package/dist/{hook-A22PNYY2.js → hook-VXHZ4ICK.js} +6 -6
  40. package/dist/index.js +23 -23
  41. package/dist/{init-VCOMQ32C.js → init-BDWKZGMP.js} +13 -13
  42. package/dist/{install-YXOE2U6T.js → install-NXNO4RTU.js} +13 -13
  43. package/dist/{mission-control-C2QV5D25.js → mission-control-JIF6GFSV.js} +1 -1
  44. package/dist/{queue-Q2LEPXSY.js → queue-VLIWWVKM.js} +7 -7
  45. package/dist/{run-BOWCPU56.js → run-NKCDKMTC.js} +12 -12
  46. package/dist/{run-plan-P65QMVCS.js → run-plan-3PCINKTY.js} +7 -7
  47. package/dist/{setup-global-QEEW7ASU.js → setup-global-K53H3ZEH.js} +7 -7
  48. package/dist/{status-WGO2O7TR.js → status-GFV3KCUR.js} +8 -8
  49. package/dist/{update-LV335HJU.js → update-25WSBSWM.js} +11 -11
  50. package/package.json +2 -2
@@ -157,6 +157,32 @@ var GIT_GLOBAL_OPTS = /* @__PURE__ */ new Map([
157
157
  ["-P", false],
158
158
  ["--literal-pathspecs", false]
159
159
  ]);
160
+ var SHELL_RESERVED_HEADS = /* @__PURE__ */ new Set([
161
+ "do",
162
+ "then",
163
+ "else",
164
+ "elif",
165
+ "if",
166
+ "while",
167
+ "until",
168
+ "!"
169
+ ]);
170
+ var SHELL_C_RE = /^(?:[\w./-]+\/)?(?:ba|z|da)?sh$/;
171
+ var SHELL_ARG_FLAGS = /* @__PURE__ */ new Set(["-o", "+o", "-O", "+O"]);
172
+ function shellCScriptIndex(tokens) {
173
+ let i = 1;
174
+ let hasC = false;
175
+ while (i < tokens.length && /^[-+]/.test(tokens[i])) {
176
+ const f = tokens[i];
177
+ if (SHELL_ARG_FLAGS.has(f)) {
178
+ i += 2;
179
+ continue;
180
+ }
181
+ if (/^-[a-zA-Z]+$/.test(f) && f.includes("c")) hasC = true;
182
+ i++;
183
+ }
184
+ return hasC ? i : -1;
185
+ }
160
186
  function canonicalGitHead(segment) {
161
187
  let tokens = normalizeShellCommand(segment).split(" ").filter(Boolean);
162
188
  for (; ; ) {
@@ -167,10 +193,17 @@ function canonicalGitHead(segment) {
167
193
  tokens = rest ? [rest, ...tokens.slice(1)] : tokens.slice(1);
168
194
  continue;
169
195
  }
170
- if (/^\w+=/.test(t)) {
196
+ if (/^\w+=/.test(t) || SHELL_RESERVED_HEADS.has(t)) {
171
197
  tokens = tokens.slice(1);
172
198
  continue;
173
199
  }
200
+ if (SHELL_C_RE.test(t)) {
201
+ const i = shellCScriptIndex(tokens);
202
+ if (i < 0) break;
203
+ const script = (tokens[i] ?? "").replace(/^\$?['"]/, "");
204
+ tokens = script ? [script, ...tokens.slice(i + 1)] : tokens.slice(i + 1);
205
+ continue;
206
+ }
174
207
  const argFlags = WRAPPER_ARG_FLAGS.get(t);
175
208
  if (argFlags) {
176
209
  let i = 1;
@@ -183,7 +216,7 @@ function canonicalGitHead(segment) {
183
216
  break;
184
217
  }
185
218
  if (tokens.length > 0) {
186
- const last = tokens[tokens.length - 1].replace(/[)}]+$/, "");
219
+ const last = tokens[tokens.length - 1].replace(/[)}'"]+$/, "");
187
220
  tokens = last ? [...tokens.slice(0, -1), last] : tokens.slice(0, -1);
188
221
  }
189
222
  if (tokens.length > 0 && /^(?:[\w./-]+\/)?git$/.test(tokens[0])) {
@@ -327,14 +360,22 @@ var PR_MERGE_CALL_RE = /(?:^|[\s'"(;|&`$!{])(?:[\w./-]+\/)?(?:gh\s+pr|glab\s+mr)
327
360
  function unresolvedPrMergeCall(command) {
328
361
  if (!PR_MERGE_CALL_RE.test(command)) return false;
329
362
  return shellSegments(command).some(
330
- (segment) => PR_MERGE_CALL_RE.test(segment) && !segmentHasAllowMainPushEnv(segment) && parsePrMergeHead(canonicalGitHead(segment)) === null
363
+ (segment) => PR_MERGE_CALL_RE.test(segment) && !segmentHasAllowMainPushEnv(segment) && literalPrMergeTarget(segment) === null
331
364
  );
332
365
  }
366
+ var SHELL_EXPANSION_RE = /[$`'"\\]/;
367
+ function literalPrMergeTarget(segment) {
368
+ const target = parsePrMergeHead(canonicalGitHead(segment));
369
+ if (!target) return null;
370
+ if (SHELL_EXPANSION_RE.test(target.selector ?? "")) return null;
371
+ if (SHELL_EXPANSION_RE.test(target.repo ?? "")) return null;
372
+ return target;
373
+ }
333
374
  function prMergeKey(target) {
334
375
  return `${target.forge}\0${target.repo ?? ""}\0${target.selector ?? ""}`;
335
376
  }
336
377
  function prMergeTargets(command) {
337
- return shellSegments(command).map((segment) => parsePrMergeHead(canonicalGitHead(segment))).filter((t) => t !== null);
378
+ return shellSegments(command).map(literalPrMergeTarget).filter((t) => t !== null);
338
379
  }
339
380
  function anyHeadMatches(command, re) {
340
381
  return shellInvocationHeads(command).some((head) => re.test(head));
@@ -448,10 +489,11 @@ var SHELL_DENY_RULES = [
448
489
  // A forge API merge (`gh api … pulls/<n>/merge`, a GraphQL merge mutation) has no base
449
490
  // to resolve and no /git-staging use: it is denied outright, so neither the API nor
450
491
  // Colony's host path (typed yes for main) can be bypassed that way. A merge behind a head
451
- // the parser does not read (loop body, `then`, `!`, `xargs`, `bash -c`) has no target
452
- // either: denied outright too, so an unrecognized head cannot skip the base check.
492
+ // the parser does not read (`xargs`) has no target either: denied outright too, so an
493
+ // unrecognized head cannot skip the base check. Loop bodies, `then`, `!` and `bash -c`
494
+ // are read by `canonicalGitHead` and go through the base check.
453
495
  id: "pr-merge-protected-base",
454
- description: "merging a PR/MR into main/master/prod bypasses /git-prod; an unresolved base (gh/glab could not read the PR/MR: not logged in, wrong selector, or no such PR) is denied too, and so is any gh api / glab api merge call (REST merge endpoint or GraphQL merge mutation) and any gh pr merge / glab mr merge the guard cannot resolve to a literal target (inside a loop, if, xargs, bash -c or sh -c, or after !: run a literal `gh pr merge <n>` at the head of its own segment; text that only mentions the command is denied too)",
496
+ description: "merging a PR/MR into main/master/prod bypasses /git-prod; an unresolved base (gh/glab could not read the PR/MR: not logged in, wrong selector, or no such PR) is denied too, and so is any gh api / glab api merge call (REST merge endpoint or GraphQL merge mutation) and any gh pr merge / glab mr merge the guard cannot resolve to a literal target (one run by xargs, or a loop over `$n`: run a literal `gh pr merge <n>` at the head of its own segment; text that only mentions the command is denied too)",
455
497
  test: (cmd, opts) => {
456
498
  if (forgeApiMergeCall(cmd)) return true;
457
499
  if (unresolvedPrMergeCall(cmd)) return true;
@@ -459,7 +501,7 @@ var SHELL_DENY_RULES = [
459
501
  if (!bases) return false;
460
502
  return shellSegments(cmd).some((segment) => {
461
503
  if (segmentHasAllowMainPushEnv(segment)) return false;
462
- const target = parsePrMergeHead(canonicalGitHead(segment));
504
+ const target = literalPrMergeTarget(segment);
463
505
  if (!target) return false;
464
506
  const base = bases[prMergeKey(target)];
465
507
  return typeof base !== "string" || isProtectedBranch(base);
@@ -23,17 +23,17 @@ import {
23
23
  } from "./chunk-HAFRAXGV.js";
24
24
  import {
25
25
  stampLastCheckedAt
26
- } from "./chunk-H3PQYVFT.js";
26
+ } from "./chunk-DONKV6MA.js";
27
27
  import {
28
28
  loadContextConfig
29
29
  } from "./chunk-PFEUZXVT.js";
30
- import "./chunk-2B3HHQ3L.js";
31
- import "./chunk-6GM5YUWR.js";
32
- import "./chunk-2KIOZMTV.js";
30
+ import "./chunk-6QBU4DQF.js";
31
+ import "./chunk-OVRWRZ5S.js";
32
+ import "./chunk-4PL57BZ5.js";
33
33
  import {
34
34
  MANIFEST_RELATIVE_PATH
35
- } from "./chunk-7T4MDNV3.js";
36
- import "./chunk-47ZJ3S7M.js";
35
+ } from "./chunk-DQLIEJFK.js";
36
+ import "./chunk-A4PHFHYO.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-KHFPPQJ5.js";
5
- import "./chunk-5TEXYAGP.js";
6
- import "./chunk-JPAQOESJ.js";
4
+ } from "./chunk-NDKSOPP7.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 {
@@ -232,39 +232,39 @@ var main = defineCommand({
232
232
  version: KIT_VERSION
233
233
  },
234
234
  subCommands: {
235
- init: () => import("./init-VCOMQ32C.js").then((m) => m.initCommand),
236
- install: () => import("./install-YXOE2U6T.js").then((m) => m.installCommand),
235
+ init: () => import("./init-BDWKZGMP.js").then((m) => m.initCommand),
236
+ install: () => import("./install-NXNO4RTU.js").then((m) => m.installCommand),
237
237
  scan: () => import("./scan-BWA64R7I.js").then((m) => m.scanCommand),
238
- add: () => import("./add-P4DIZKC2.js").then((m) => m.addCommand),
239
- doctor: () => import("./doctor-5LPPWRPI.js").then((m) => m.doctorCommand),
240
- "setup-global": () => import("./setup-global-QEEW7ASU.js").then((m) => m.setupGlobalCommand),
241
- status: () => import("./status-WGO2O7TR.js").then((m) => m.statusCommand),
242
- update: () => import("./update-LV335HJU.js").then((m) => m.updateCommand),
238
+ add: () => import("./add-FTPXOOZD.js").then((m) => m.addCommand),
239
+ doctor: () => import("./doctor-3KNZI3CK.js").then((m) => m.doctorCommand),
240
+ "setup-global": () => import("./setup-global-K53H3ZEH.js").then((m) => m.setupGlobalCommand),
241
+ status: () => import("./status-GFV3KCUR.js").then((m) => m.statusCommand),
242
+ update: () => import("./update-25WSBSWM.js").then((m) => m.updateCommand),
243
243
  "cursor-awareness": () => import("./cursor-awareness-TN5JXD2C.js").then((m) => m.cursorAwarenessCommand),
244
244
  "public-inbound-radar": () => import("./public-inbound-radar-5U4JMBRU.js").then((m) => m.publicInboundRadarCommand),
245
245
  "remote-issues": () => import("./remote-issues-APYOMIJC.js").then((m) => m.remoteIssuesCommand),
246
246
  dogfood: () => import("./dogfood-2JAHSYQA.js").then((m) => m.dogfoodCommand),
247
- diff: () => import("./diff-VCVSR4OV.js").then((m) => m.diffCommand),
248
- contribute: () => import("./contribute-G5DFZCH6.js").then((m) => m.contributeCommand),
247
+ diff: () => import("./diff-RFW6K4X5.js").then((m) => m.diffCommand),
248
+ contribute: () => import("./contribute-EKTMMEYU.js").then((m) => m.contributeCommand),
249
249
  handoff: () => import("./handoff-5AGE2D3T.js").then((m) => m.handoffCommand),
250
250
  "plan-index": () => import("./plan-index-BNLUU6T5.js").then((m) => m.planIndexCommand),
251
- run: () => import("./run-BOWCPU56.js").then((m) => m.runCommand),
252
- "run-plan": () => import("./run-plan-P65QMVCS.js").then((m) => m.runPlanCommand),
253
- "run-plan-all": () => import("./run-BOWCPU56.js").then((m) => m.runPlanAllCommand),
254
- queue: () => import("./queue-Q2LEPXSY.js").then((m) => m.queueCommand),
255
- countdown: () => import("./countdown-6SP7IEJ3.js").then((m) => m.countdownCommand),
256
- "ground-control": () => import("./ground-control-IJ5NQVLP.js").then((m) => m.groundControlCommand),
251
+ run: () => import("./run-NKCDKMTC.js").then((m) => m.runCommand),
252
+ "run-plan": () => import("./run-plan-3PCINKTY.js").then((m) => m.runPlanCommand),
253
+ "run-plan-all": () => import("./run-NKCDKMTC.js").then((m) => m.runPlanAllCommand),
254
+ queue: () => import("./queue-VLIWWVKM.js").then((m) => m.queueCommand),
255
+ countdown: () => import("./countdown-TFKPAYIQ.js").then((m) => m.countdownCommand),
256
+ "ground-control": () => import("./ground-control-DB5RSYAT.js").then((m) => m.groundControlCommand),
257
257
  dashboard: () => import("./dashboard-YNCFISNO.js").then((m) => m.dashboardCommand),
258
258
  "dashboard-broadcast": () => import("./dashboard-broadcast-NK7PU72L.js").then((m) => m.dashboardBroadcastCommand),
259
- "mission-control": () => import("./mission-control-C2QV5D25.js").then((m) => m.missionControlCommand),
260
- hook: () => import("./hook-A22PNYY2.js").then((m) => m.hookCommand),
261
- guard: () => import("./guard-X6FNFZ27.js").then((m) => m.guardCommand),
259
+ "mission-control": () => import("./mission-control-JIF6GFSV.js").then((m) => m.missionControlCommand),
260
+ hook: () => import("./hook-VXHZ4ICK.js").then((m) => m.hookCommand),
261
+ guard: () => import("./guard-RJZEEKSL.js").then((m) => m.guardCommand),
262
262
  monitors: () => import("./monitors-PDXBLB3U.js").then((m) => m.monitorsCommand),
263
263
  sessions: () => import("./sessions-O7MYEMCT.js").then((m) => m.sessionsCommand),
264
264
  "outcome-ledger": () => import("./outcome-ledger-XLWHWPVQ.js").then((m) => m.outcomeLedgerCommand),
265
265
  validate: () => import("./validate-V2CW7J4B.js").then((m) => m.validateCommand),
266
- "engine-info": () => import("./engine-info-LEE37RRK.js").then((m) => m.engineInfoCommand),
267
- commands: () => import("./commands-F437QCGQ.js").then((m) => m.commandsCommand)
266
+ "engine-info": () => import("./engine-info-CYDRD7SW.js").then((m) => m.engineInfoCommand),
267
+ commands: () => import("./commands-MVUJZEJ6.js").then((m) => m.commandsCommand)
268
268
  },
269
269
  async run({ rawArgs }) {
270
270
  if (hasCliSubcommand(rawArgs)) return;
@@ -2,19 +2,19 @@ import {
2
2
  nextStepAfterInstall,
3
3
  performInstall,
4
4
  printInstallEpilogue
5
- } from "./chunk-YN5NBMQT.js";
5
+ } from "./chunk-W6U3Z2RU.js";
6
6
  import {
7
7
  NON_INTERACTIVE_ROOT_ARGS
8
- } from "./chunk-UQSFGLY5.js";
8
+ } from "./chunk-N7HMTWS5.js";
9
9
  import {
10
10
  SkippedSymlinkError,
11
11
  logApplyStats
12
12
  } from "./chunk-HS7LVVLO.js";
13
- import "./chunk-MAXEVJCP.js";
14
- import "./chunk-CAOQBBP5.js";
13
+ import "./chunk-PHH3H5EQ.js";
14
+ import "./chunk-PXURVVVO.js";
15
15
  import "./chunk-HAFRAXGV.js";
16
- import "./chunk-Q4J5UXVQ.js";
17
- import "./chunk-FQNAEFTW.js";
16
+ import "./chunk-JGEGTOF6.js";
17
+ import "./chunk-LQJNGECA.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-SZ5REXPD.js";
35
+ } from "./chunk-2KATW2O4.js";
36
36
  import {
37
37
  assessEnvironment
38
38
  } from "./chunk-B3VR5YBQ.js";
39
- import "./chunk-H3PQYVFT.js";
39
+ import "./chunk-DONKV6MA.js";
40
40
  import "./chunk-PFEUZXVT.js";
41
- import "./chunk-2B3HHQ3L.js";
42
- import "./chunk-6GM5YUWR.js";
43
- import "./chunk-2KIOZMTV.js";
44
- import "./chunk-7T4MDNV3.js";
45
- import "./chunk-47ZJ3S7M.js";
41
+ import "./chunk-6QBU4DQF.js";
42
+ import "./chunk-OVRWRZ5S.js";
43
+ import "./chunk-4PL57BZ5.js";
44
+ import "./chunk-DQLIEJFK.js";
45
+ import "./chunk-A4PHFHYO.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-YN5NBMQT.js";
7
- import "./chunk-UQSFGLY5.js";
6
+ } from "./chunk-W6U3Z2RU.js";
7
+ import "./chunk-N7HMTWS5.js";
8
8
  import "./chunk-HS7LVVLO.js";
9
- import "./chunk-MAXEVJCP.js";
10
- import "./chunk-CAOQBBP5.js";
9
+ import "./chunk-PHH3H5EQ.js";
10
+ import "./chunk-PXURVVVO.js";
11
11
  import "./chunk-HAFRAXGV.js";
12
- import "./chunk-Q4J5UXVQ.js";
13
- import "./chunk-FQNAEFTW.js";
12
+ import "./chunk-JGEGTOF6.js";
13
+ import "./chunk-LQJNGECA.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-SZ5REXPD.js";
21
+ import "./chunk-2KATW2O4.js";
22
22
  import "./chunk-B3VR5YBQ.js";
23
- import "./chunk-H3PQYVFT.js";
23
+ import "./chunk-DONKV6MA.js";
24
24
  import "./chunk-PFEUZXVT.js";
25
- import "./chunk-2B3HHQ3L.js";
26
- import "./chunk-6GM5YUWR.js";
27
- import "./chunk-2KIOZMTV.js";
28
- import "./chunk-7T4MDNV3.js";
29
- import "./chunk-47ZJ3S7M.js";
25
+ import "./chunk-6QBU4DQF.js";
26
+ import "./chunk-OVRWRZ5S.js";
27
+ import "./chunk-4PL57BZ5.js";
28
+ import "./chunk-DQLIEJFK.js";
29
+ import "./chunk-A4PHFHYO.js";
30
30
  import "./chunk-7HDQEK6T.js";
31
31
  import "./chunk-C4Q77GGJ.js";
32
32
  import "./chunk-5B4DVO6C.js";
@@ -3,7 +3,7 @@ import {
3
3
  findDashboardDataScript,
4
4
  loadDashboardSnapshot,
5
5
  runMcTuiLoop
6
- } from "./chunk-LFWPB2JR.js";
6
+ } from "./chunk-ZFJIJUZ4.js";
7
7
  import {
8
8
  resolveDashboardSnapshotRoot
9
9
  } from "./chunk-XDCCYBCJ.js";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  readHandoffText
3
- } from "./chunk-UGJ3YAT2.js";
3
+ } from "./chunk-GYPCR4UO.js";
4
4
  import "./chunk-7ABY6DYH.js";
5
- import "./chunk-S4T6KYYA.js";
6
- import "./chunk-5KDMATUR.js";
7
- import "./chunk-BOZUBCQA.js";
5
+ import "./chunk-SKC6QZW4.js";
6
+ import "./chunk-EE3LTOBZ.js";
7
+ import "./chunk-2TKPKRHO.js";
8
8
  import {
9
9
  extractFieldBlock
10
10
  } from "./chunk-L5V3W3DY.js";
11
11
  import "./chunk-MUTTNRX4.js";
12
- import "./chunk-KHFPPQJ5.js";
13
- import "./chunk-5TEXYAGP.js";
14
- import "./chunk-JPAQOESJ.js";
12
+ import "./chunk-NDKSOPP7.js";
13
+ import "./chunk-GDKTTV2A.js";
14
+ import "./chunk-WRCXRV2U.js";
15
15
  import "./chunk-WGLPZXNU.js";
16
16
  import "./chunk-6RRG3WOE.js";
17
17
  import "./chunk-QTON2GQX.js";
@@ -2,28 +2,28 @@ import {
2
2
  runPlanLoop,
3
3
  shouldUseLiveTui,
4
4
  withLiveTui
5
- } from "./chunk-5D5BJZW5.js";
6
- import "./chunk-LFWPB2JR.js";
5
+ } from "./chunk-CFJRCJWD.js";
6
+ import "./chunk-ZFJIJUZ4.js";
7
7
  import {
8
8
  landDispatchOutcome,
9
9
  runDispatchDriver
10
- } from "./chunk-UGJ3YAT2.js";
10
+ } from "./chunk-GYPCR4UO.js";
11
11
  import "./chunk-7ABY6DYH.js";
12
12
  import {
13
13
  DRIVER_EVENTS_FORMATS
14
- } from "./chunk-S4T6KYYA.js";
14
+ } from "./chunk-SKC6QZW4.js";
15
15
  import {
16
16
  REVIEW_PACK_SLASH,
17
17
  runReviewJob
18
- } from "./chunk-VWDFMXFK.js";
18
+ } from "./chunk-AEUE74EZ.js";
19
19
  import {
20
20
  detectAgentBackend,
21
21
  listDetectBackendIds
22
- } from "./chunk-5KDMATUR.js";
23
- import "./chunk-AOSXKF3M.js";
22
+ } from "./chunk-EE3LTOBZ.js";
23
+ import "./chunk-CRLMS2JX.js";
24
24
  import {
25
25
  LAND_ON_GATE_DESCRIPTION
26
- } from "./chunk-BOZUBCQA.js";
26
+ } from "./chunk-2TKPKRHO.js";
27
27
  import {
28
28
  negatedFlag
29
29
  } from "./chunk-XDCCYBCJ.js";
@@ -39,15 +39,15 @@ import {
39
39
  resolveOperatorNote,
40
40
  runHeadlessDispatch,
41
41
  unknownSlashMessage
42
- } from "./chunk-KHFPPQJ5.js";
42
+ } from "./chunk-NDKSOPP7.js";
43
43
  import {
44
44
  getBackend
45
- } from "./chunk-5TEXYAGP.js";
45
+ } from "./chunk-GDKTTV2A.js";
46
46
  import {
47
47
  HITL_UNANSWERED_EXIT_CODE,
48
48
  formatHitlSummary,
49
49
  hitlExitCode
50
- } from "./chunk-JPAQOESJ.js";
50
+ } from "./chunk-WRCXRV2U.js";
51
51
  import "./chunk-WGLPZXNU.js";
52
52
  import "./chunk-6RRG3WOE.js";
53
53
  import "./chunk-QTON2GQX.js";
@@ -356,7 +356,7 @@ var runPlanAllCommand = defineCommand({
356
356
  ...runDispatchArgs,
357
357
  events: {
358
358
  type: "string",
359
- description: "Driver mode for apps: `ndjson` writes only NDJSON events to stdout and reads HITL answers as JSON lines on stdin (no TTY needed; driver protocol 1.3.0, see docs/driver-events-protocol.md)",
359
+ description: "Driver mode for apps: `ndjson` writes only NDJSON events to stdout and reads HITL answers as JSON lines on stdin (no TTY needed; driver protocol 1.5.0, see docs/driver-events-protocol.md)",
360
360
  default: ""
361
361
  },
362
362
  note: {
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  runPlanLoop
3
- } from "./chunk-5D5BJZW5.js";
4
- import "./chunk-LFWPB2JR.js";
3
+ } from "./chunk-CFJRCJWD.js";
4
+ import "./chunk-ZFJIJUZ4.js";
5
5
  import "./chunk-7ABY6DYH.js";
6
6
  import {
7
7
  DRIVER_EVENTS_FORMATS
8
- } from "./chunk-S4T6KYYA.js";
8
+ } from "./chunk-SKC6QZW4.js";
9
9
  import {
10
10
  detectAgentBackend,
11
11
  listDetectBackendIds
12
- } from "./chunk-5KDMATUR.js";
12
+ } from "./chunk-EE3LTOBZ.js";
13
13
  import {
14
14
  LAND_ON_GATE_DESCRIPTION
15
- } from "./chunk-BOZUBCQA.js";
15
+ } from "./chunk-2TKPKRHO.js";
16
16
  import {
17
17
  negatedFlag
18
18
  } from "./chunk-XDCCYBCJ.js";
@@ -20,10 +20,10 @@ import "./chunk-L5V3W3DY.js";
20
20
  import "./chunk-MUTTNRX4.js";
21
21
  import {
22
22
  getBackend
23
- } from "./chunk-5TEXYAGP.js";
23
+ } from "./chunk-GDKTTV2A.js";
24
24
  import {
25
25
  HITL_UNANSWERED_EXIT_CODE
26
- } from "./chunk-JPAQOESJ.js";
26
+ } from "./chunk-WRCXRV2U.js";
27
27
  import "./chunk-WGLPZXNU.js";
28
28
  import "./chunk-6RRG3WOE.js";
29
29
  import "./chunk-QTON2GQX.js";
@@ -2,17 +2,17 @@ import {
2
2
  classifyInstallError,
3
3
  isNonInteractive,
4
4
  pathCliStatus
5
- } from "./chunk-SZ5REXPD.js";
5
+ } from "./chunk-2KATW2O4.js";
6
6
  import {
7
7
  assessEnvironment
8
8
  } from "./chunk-B3VR5YBQ.js";
9
- import "./chunk-H3PQYVFT.js";
9
+ import "./chunk-DONKV6MA.js";
10
10
  import "./chunk-PFEUZXVT.js";
11
- import "./chunk-2B3HHQ3L.js";
12
- import "./chunk-6GM5YUWR.js";
13
- import "./chunk-2KIOZMTV.js";
14
- import "./chunk-7T4MDNV3.js";
15
- import "./chunk-47ZJ3S7M.js";
11
+ import "./chunk-6QBU4DQF.js";
12
+ import "./chunk-OVRWRZ5S.js";
13
+ import "./chunk-4PL57BZ5.js";
14
+ import "./chunk-DQLIEJFK.js";
15
+ import "./chunk-A4PHFHYO.js";
16
16
  import {
17
17
  KIT_VERSION,
18
18
  pinnedCliSpec
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  detectWorkspaceParent,
3
3
  workspaceParentAdvisoryLines
4
- } from "./chunk-FTLMWPQY.js";
4
+ } from "./chunk-JRCI2GNS.js";
5
5
  import {
6
6
  createReadinessReport
7
7
  } from "./chunk-PNFF6OU3.js";
@@ -15,21 +15,21 @@ import {
15
15
  import {
16
16
  npxPinned,
17
17
  pathCliStatus
18
- } from "./chunk-SZ5REXPD.js";
18
+ } from "./chunk-2KATW2O4.js";
19
19
  import {
20
20
  assessEnvironment
21
21
  } from "./chunk-B3VR5YBQ.js";
22
- import "./chunk-H3PQYVFT.js";
22
+ import "./chunk-DONKV6MA.js";
23
23
  import "./chunk-PFEUZXVT.js";
24
- import "./chunk-2B3HHQ3L.js";
25
- import "./chunk-6GM5YUWR.js";
26
- import "./chunk-2KIOZMTV.js";
24
+ import "./chunk-6QBU4DQF.js";
25
+ import "./chunk-OVRWRZ5S.js";
26
+ import "./chunk-4PL57BZ5.js";
27
27
  import {
28
28
  MANIFEST_RELATIVE_PATH,
29
29
  loadAgentKitManifest,
30
30
  resolveProtectedGlobs
31
- } from "./chunk-7T4MDNV3.js";
32
- import "./chunk-47ZJ3S7M.js";
31
+ } from "./chunk-DQLIEJFK.js";
32
+ import "./chunk-A4PHFHYO.js";
33
33
  import {
34
34
  KIT_VERSION
35
35
  } from "./chunk-7HDQEK6T.js";
@@ -4,7 +4,7 @@ import {
4
4
  formatRerunFlags,
5
5
  formatStaleCliRefusal,
6
6
  syncFromManifest
7
- } from "./chunk-UQSFGLY5.js";
7
+ } from "./chunk-N7HMTWS5.js";
8
8
  import {
9
9
  formatSkippedSymlinks,
10
10
  logApplyStats
@@ -12,16 +12,16 @@ import {
12
12
  import {
13
13
  REGISTRY_CLI_ARGS,
14
14
  resolveRegistryFromCli
15
- } from "./chunk-MAXEVJCP.js";
15
+ } from "./chunk-PHH3H5EQ.js";
16
16
  import {
17
17
  CLAUDE_SETTINGS_REL,
18
18
  formatClaudeSettingsDrift,
19
19
  planClaudeSettingsDrift,
20
20
  writeClaudeSessionStartHook
21
- } from "./chunk-Q4J5UXVQ.js";
21
+ } from "./chunk-JGEGTOF6.js";
22
22
  import {
23
23
  generateClaudeCommandAdapters
24
- } from "./chunk-FQNAEFTW.js";
24
+ } from "./chunk-LQJNGECA.js";
25
25
  import "./chunk-6RRG3WOE.js";
26
26
  import {
27
27
  withCliProgress
@@ -34,25 +34,25 @@ import {
34
34
  confirmProjectRoot,
35
35
  isNonInteractive,
36
36
  syncPathCliToRuntime
37
- } from "./chunk-SZ5REXPD.js";
37
+ } from "./chunk-2KATW2O4.js";
38
38
  import "./chunk-B3VR5YBQ.js";
39
39
  import {
40
40
  checkForUpdates
41
- } from "./chunk-H3PQYVFT.js";
41
+ } from "./chunk-DONKV6MA.js";
42
42
  import "./chunk-PFEUZXVT.js";
43
- import "./chunk-2B3HHQ3L.js";
44
- import "./chunk-6GM5YUWR.js";
45
- import "./chunk-2KIOZMTV.js";
43
+ import "./chunk-6QBU4DQF.js";
44
+ import "./chunk-OVRWRZ5S.js";
45
+ import "./chunk-4PL57BZ5.js";
46
46
  import {
47
47
  buildManifest,
48
48
  isProtectedPath,
49
49
  loadAgentKitManifest,
50
50
  resolveProtectedGlobs,
51
51
  saveManifest
52
- } from "./chunk-7T4MDNV3.js";
52
+ } from "./chunk-DQLIEJFK.js";
53
53
  import {
54
54
  seedManagedHashLedger
55
- } from "./chunk-47ZJ3S7M.js";
55
+ } from "./chunk-A4PHFHYO.js";
56
56
  import {
57
57
  KIT_VERSION
58
58
  } from "./chunk-7HDQEK6T.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dadado/agent-kit-cli",
3
- "version": "6.11.0",
3
+ "version": "6.13.1",
4
4
  "description": "Agent Kit CLI: HITL framework install and tooling for AI-assisted IDEs (rules, skills, plan/handoff, context).",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/node": "^22.14.1",
46
- "tsup": "^8.4.0",
46
+ "tsup": "^9.0.0",
47
47
  "tsx": "^4.23.15",
48
48
  "vite": "^8.3.3",
49
49
  "vitest": "^5.0.3"