@dadado/agent-kit-cli 6.29.0 → 6.30.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 (39) hide show
  1. package/cursor-audit/cursor-3-features.md +57 -0
  2. package/cursor-audit/cursor-native-audit.md +292 -0
  3. package/dist/{add-PBOH2ILP.js → add-CMQ3S2GH.js} +3 -3
  4. package/dist/build-stamp.json +2 -2
  5. package/dist/{chunk-XD4MLX7N.js → chunk-2JKKO7FF.js} +4 -4
  6. package/dist/{chunk-CHYROVQB.js → chunk-2PKJOMTI.js} +1 -1
  7. package/dist/{chunk-3AE6JBUC.js → chunk-37INM5QP.js} +3 -3
  8. package/dist/{chunk-AQRUIICR.js → chunk-7HPYWUC7.js} +3 -3
  9. package/dist/{chunk-COKUFSJH.js → chunk-BM5RR7LT.js} +1 -1
  10. package/dist/{chunk-JSQRWJ3W.js → chunk-CY4TDI4S.js} +9 -9
  11. package/dist/{chunk-SOSU22LZ.js → chunk-DQD6KPWJ.js} +1 -1
  12. package/dist/{chunk-WMMFTZ6O.js → chunk-EJJET3CA.js} +6 -1
  13. package/dist/{chunk-HSDIVA4N.js → chunk-GSVUCEMH.js} +1 -1
  14. package/dist/{chunk-D7L7PG7E.js → chunk-GSZ2WZYY.js} +2 -2
  15. package/dist/{chunk-RE27AEF7.js → chunk-HO7VEYAD.js} +1 -1
  16. package/dist/{chunk-QDYYJ6ZP.js → chunk-KNEVGAOO.js} +3 -3
  17. package/dist/{chunk-KAC3UOLE.js → chunk-N7L4ARYK.js} +1 -1
  18. package/dist/{chunk-ZO62NYU5.js → chunk-O3OEYLXW.js} +10 -10
  19. package/dist/{chunk-MCH3E46V.js → chunk-RPJA7Q2F.js} +94 -35
  20. package/dist/{chunk-TADT7EHS.js → chunk-SXMGHRLU.js} +2 -2
  21. package/dist/{commands-6LJACZME.js → commands-WGCC5YOR.js} +2 -2
  22. package/dist/{contribute-E7FP5DT4.js → contribute-E5HOW57P.js} +4 -4
  23. package/dist/{cursor-awareness-TN5JXD2C.js → cursor-awareness-ANT44WHK.js} +1 -1
  24. package/dist/{diff-XPRA5NX2.js → diff-D3S7D6RK.js} +5 -5
  25. package/dist/{doctor-M6E6MQAR.js → doctor-QAWK3NHG.js} +9 -9
  26. package/dist/{dogfood-2JAHSYQA.js → dogfood-2SYGZFTJ.js} +49 -2
  27. package/dist/{hook-5LVP2C7Q.js → hook-DKX7CH6S.js} +8 -8
  28. package/dist/index.js +16 -16
  29. package/dist/{init-P2ZCWU3J.js → init-ZQ56SONI.js} +13 -13
  30. package/dist/{install-ITPM24YI.js → install-FY7337TL.js} +13 -13
  31. package/dist/{paths-PSG64N6P.js → paths-YV6O6JFK.js} +2 -2
  32. package/dist/{promote-H5MIMVEB.js → promote-MAQ44EMD.js} +100 -9
  33. package/dist/{session-start-CCFPULEK.js → session-start-WNVFNJFF.js} +8 -8
  34. package/dist/{sessions-UGUQWLBS.js → sessions-OCJOE6HR.js} +1 -1
  35. package/dist/{setup-global-22YT6RTN.js → setup-global-ZYLEOFLF.js} +6 -6
  36. package/dist/{status-EBLELUSZ.js → status-6OEQTXJE.js} +6 -6
  37. package/dist/{update-WRI4HLY7.js → update-DJG3GR24.js} +11 -11
  38. package/dist/{update-all-KOJPSDAJ.js → update-all-TSF6GZFZ.js} +11 -11
  39. package/package.json +4 -3
@@ -2,19 +2,19 @@ import {
2
2
  nextStepAfterInstall,
3
3
  performInstall,
4
4
  printInstallEpilogue
5
- } from "./chunk-JSQRWJ3W.js";
5
+ } from "./chunk-CY4TDI4S.js";
6
6
  import {
7
7
  NON_INTERACTIVE_ROOT_ARGS
8
- } from "./chunk-XD4MLX7N.js";
8
+ } from "./chunk-2JKKO7FF.js";
9
9
  import {
10
10
  SkippedSymlinkError,
11
11
  logApplyStats
12
12
  } from "./chunk-HS7LVVLO.js";
13
- import "./chunk-COKUFSJH.js";
14
- import "./chunk-QDYYJ6ZP.js";
15
- import "./chunk-RE27AEF7.js";
16
- import "./chunk-SOSU22LZ.js";
17
- import "./chunk-CHYROVQB.js";
13
+ import "./chunk-BM5RR7LT.js";
14
+ import "./chunk-KNEVGAOO.js";
15
+ import "./chunk-HO7VEYAD.js";
16
+ import "./chunk-DQD6KPWJ.js";
17
+ import "./chunk-2PKJOMTI.js";
18
18
  import {
19
19
  feedInstallsRegistry
20
20
  } from "./chunk-NHJ4IAVN.js";
@@ -36,17 +36,17 @@ import {
36
36
  confirmProjectRoot,
37
37
  isNonInteractive,
38
38
  syncPathCliToRuntime
39
- } from "./chunk-KAC3UOLE.js";
39
+ } from "./chunk-N7L4ARYK.js";
40
40
  import {
41
41
  assessEnvironment
42
42
  } from "./chunk-2TW7ENWC.js";
43
- import "./chunk-D7L7PG7E.js";
44
- import "./chunk-3AE6JBUC.js";
45
- import "./chunk-TADT7EHS.js";
43
+ import "./chunk-GSZ2WZYY.js";
44
+ import "./chunk-37INM5QP.js";
45
+ import "./chunk-SXMGHRLU.js";
46
46
  import "./chunk-CGXLR77R.js";
47
47
  import "./chunk-PFEUZXVT.js";
48
- import "./chunk-HSDIVA4N.js";
49
- import "./chunk-WMMFTZ6O.js";
48
+ import "./chunk-GSVUCEMH.js";
49
+ import "./chunk-EJJET3CA.js";
50
50
  import "./chunk-IHVJTGYR.js";
51
51
  import "./chunk-KMK4T4ZM.js";
52
52
  import {
@@ -3,14 +3,14 @@ import {
3
3
  nextStepAfterInstall,
4
4
  performInstall,
5
5
  printInstallEpilogue
6
- } from "./chunk-JSQRWJ3W.js";
7
- import "./chunk-XD4MLX7N.js";
6
+ } from "./chunk-CY4TDI4S.js";
7
+ import "./chunk-2JKKO7FF.js";
8
8
  import "./chunk-HS7LVVLO.js";
9
- import "./chunk-COKUFSJH.js";
10
- import "./chunk-QDYYJ6ZP.js";
11
- import "./chunk-RE27AEF7.js";
12
- import "./chunk-SOSU22LZ.js";
13
- import "./chunk-CHYROVQB.js";
9
+ import "./chunk-BM5RR7LT.js";
10
+ import "./chunk-KNEVGAOO.js";
11
+ import "./chunk-HO7VEYAD.js";
12
+ import "./chunk-DQD6KPWJ.js";
13
+ import "./chunk-2PKJOMTI.js";
14
14
  import "./chunk-NHJ4IAVN.js";
15
15
  import "./chunk-WGLPZXNU.js";
16
16
  import "./chunk-Q35TWISF.js";
@@ -20,15 +20,15 @@ import "./chunk-AXQMVQ6O.js";
20
20
  import "./chunk-F6C3GFKV.js";
21
21
  import "./chunk-2QYWMSI5.js";
22
22
  import "./chunk-ZB43YMHW.js";
23
- import "./chunk-KAC3UOLE.js";
23
+ import "./chunk-N7L4ARYK.js";
24
24
  import "./chunk-2TW7ENWC.js";
25
- import "./chunk-D7L7PG7E.js";
26
- import "./chunk-3AE6JBUC.js";
27
- import "./chunk-TADT7EHS.js";
25
+ import "./chunk-GSZ2WZYY.js";
26
+ import "./chunk-37INM5QP.js";
27
+ import "./chunk-SXMGHRLU.js";
28
28
  import "./chunk-CGXLR77R.js";
29
29
  import "./chunk-PFEUZXVT.js";
30
- import "./chunk-HSDIVA4N.js";
31
- import "./chunk-WMMFTZ6O.js";
30
+ import "./chunk-GSVUCEMH.js";
31
+ import "./chunk-EJJET3CA.js";
32
32
  import "./chunk-IHVJTGYR.js";
33
33
  import "./chunk-KMK4T4ZM.js";
34
34
  import "./chunk-2G4K4ZI5.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CURSOR_COMMANDS_DIR_REL
3
- } from "./chunk-CHYROVQB.js";
4
- import "./chunk-WMMFTZ6O.js";
3
+ } from "./chunk-2PKJOMTI.js";
4
+ import "./chunk-EJJET3CA.js";
5
5
  import {
6
6
  MANIFEST_RELATIVE_PATH
7
7
  } from "./chunk-KMK4T4ZM.js";
@@ -41,7 +41,7 @@ function promoteMergePollDelays(capMs, initialMs = PROMOTE_MERGE_POLL_INITIAL_MS
41
41
  }
42
42
  return delays;
43
43
  }
44
- var PROMOTE_PR_VIEW_FIELDS = "state,mergedAt,mergeCommit,mergeStateStatus,url";
44
+ var PROMOTE_PR_VIEW_FIELDS = "state,mergedAt,mergeCommit,mergeStateStatus,url,headRefOid";
45
45
  function parsePromotePrView(json) {
46
46
  let data;
47
47
  try {
@@ -59,9 +59,49 @@ function parsePromotePrView(json) {
59
59
  mergedAt: str(o.mergedAt),
60
60
  mergeCommit: str(commit?.oid),
61
61
  mergeStateStatus: str(o.mergeStateStatus),
62
- url: str(o.url)
62
+ url: str(o.url),
63
+ headRefOid: str(o.headRefOid)
63
64
  };
64
65
  }
66
+ var PROMOTE_ANCESTRY_BROKEN_EXIT_CODE = 4;
67
+ function promoteCompareArgs(mergeCommit, head, repo) {
68
+ return [
69
+ "api",
70
+ `repos/${repo ?? "{owner}/{repo}"}/compare/${mergeCommit}...${head}`,
71
+ "--jq",
72
+ "{status: .status, ahead_by: .ahead_by}"
73
+ ];
74
+ }
75
+ function parsePromoteCompare(json) {
76
+ let data;
77
+ try {
78
+ data = JSON.parse(json);
79
+ } catch {
80
+ return null;
81
+ }
82
+ if (!data || typeof data !== "object" || Array.isArray(data)) return null;
83
+ const o = data;
84
+ if (typeof o.status !== "string" || typeof o.ahead_by !== "number") return null;
85
+ if (!Number.isInteger(o.ahead_by) || o.ahead_by < 0) return null;
86
+ return { status: o.status, aheadBy: o.ahead_by };
87
+ }
88
+ async function checkPromoteAncestry(opts) {
89
+ const { mergeCommit, headRefOid: head } = opts.pr;
90
+ if (!mergeCommit) return { status: "unknown", note: "the PR has no merge commit" };
91
+ if (!head) return { status: "unknown", note: "the PR has no head SHA" };
92
+ let raw;
93
+ try {
94
+ raw = await opts.readCompare(mergeCommit, head);
95
+ } catch (err) {
96
+ const msg = err instanceof Error ? err.message : String(err);
97
+ const first = msg.split(/\r?\n/).find((l) => l.trim()) ?? "gh api compare failed";
98
+ return { status: "unknown", note: first.trim().slice(0, 200) };
99
+ }
100
+ const cmp = parsePromoteCompare(raw);
101
+ if (!cmp) return { status: "unknown", note: "unreadable compare response" };
102
+ if (cmp.aheadBy === 0) return { status: "ok", head, mergeCommit };
103
+ return { status: "squash_or_rebase", head, mergeCommit, aheadBy: cmp.aheadBy };
104
+ }
65
105
  async function waitForPromoteMerge(opts) {
66
106
  const sleep = opts.sleep ?? ((ms) => new Promise((r) => setTimeout(r, ms)));
67
107
  const delays = promoteMergePollDelays(opts.capMs, opts.initialDelayMs, opts.maxDelayMs);
@@ -105,7 +145,18 @@ function formatPromoteMergeWaitResult(pr, result) {
105
145
  if (result.outcome === "merged") {
106
146
  const sha = result.pr.mergeCommit ? ` as ${result.pr.mergeCommit}` : "";
107
147
  const at = result.pr.mergedAt ? ` at ${result.pr.mergedAt}` : "";
108
- return `PR #${pr} merged${sha}${at}. Continue the promote routine.
148
+ const a = result.ancestry;
149
+ if (a?.status === "squash_or_rebase") {
150
+ return `${[
151
+ `PR #${pr} merged${sha}${at}, but not as a merge commit (exit ${PROMOTE_ANCESTRY_BROKEN_EXIT_CODE}).`,
152
+ `What broke: the PR head ${a.head} (the staging tip) is not a parent of main's merge commit ${a.mergeCommit}; it is ${a.aheadBy} commit(s) outside main's history (squash or rebase merge). origin/staging is no longer an ancestor of origin/main, so the staging fast-forward sync after the promote cannot run.`,
153
+ "Next: main carries the release, so the tag and the post-prod verification still run. Skip only the staging fast-forward sync, do not back-merge in this prod session, and report this repair; the promote is not Done until the repair PR is merged.",
154
+ "Repair (its own staging PR, operator-merged): branch from origin/staging, run `git merge --no-ff origin/main` (empty diff), open a PR to staging and merge it with a merge commit, never squash or rebase. Then staging is an ancestor of main again. Merge the next promote PR with a merge commit; `agent-kit promote rules --base main` warns while the base still allows squash or rebase."
155
+ ].join("\n")}
156
+ `;
157
+ }
158
+ const skipped = a?.status === "unknown" ? ` Ancestry check skipped (${a.note}); the step 10 \`git merge-base --is-ancestor\` test stays the gate.` : "";
159
+ return `PR #${pr} merged${sha}${at}. Continue the promote routine.${skipped}
109
160
  `;
110
161
  }
111
162
  if (result.outcome === "closed") {
@@ -201,22 +252,49 @@ function findUnmodeledRuleParameters(rules) {
201
252
  }
202
253
  return out;
203
254
  }
255
+ var PROMOTE_RISKY_MERGE_METHODS = ["squash", "rebase"];
256
+ function findPromoteMergeMethodRisk(rules) {
257
+ let allowed = null;
258
+ const rulesetIds = [];
259
+ for (const rule of rules) {
260
+ if (rule.type !== "pull_request") continue;
261
+ const methods = rule.parameters?.allowed_merge_methods;
262
+ if (!Array.isArray(methods)) continue;
263
+ const list = methods.filter((m) => typeof m === "string");
264
+ allowed = allowed === null ? [...new Set(list)] : allowed.filter((m) => list.includes(m));
265
+ if (rule.rulesetId !== void 0 && !rulesetIds.includes(rule.rulesetId)) {
266
+ rulesetIds.push(rule.rulesetId);
267
+ }
268
+ }
269
+ if (allowed === null) return null;
270
+ const risky = PROMOTE_RISKY_MERGE_METHODS.filter((m) => allowed.includes(m));
271
+ return { allowed, risky, rulesetIds };
272
+ }
273
+ function formatPromoteMergeMethodWarning(base, rules) {
274
+ const risk = findPromoteMergeMethodRisk(rules);
275
+ if (!risk || risk.risky.length === 0) return null;
276
+ const ruleset = risk.rulesetIds.length === 0 ? "" : ` (ruleset${risk.rulesetIds.length > 1 ? "s" : ""} ${risk.rulesetIds.join(", ")})`;
277
+ return `ruleset warning (${base}): pull_request.allowed_merge_methods = ${JSON.stringify(risk.allowed)}${ruleset} allows ${risk.risky.join(" and ")}; a squash or rebase promote drops the promote PR head from ${base}'s history, so the staging fast-forward sync after it cannot run. Merge the promote PR with a merge commit; restricting ${base} to merge commits is the operator's ruleset change.`;
278
+ }
204
279
  function formatRulesetPreflight(base, result) {
205
280
  if (!result.ok) {
206
281
  return `ruleset preflight (${base}): skipped (${result.note}); advisory only, not a blocker.
207
282
  `;
208
283
  }
284
+ const warning = formatPromoteMergeMethodWarning(base, result.rules);
285
+ const tail = warning ? `${warning}
286
+ ` : "";
209
287
  const unmodeled = findUnmodeledRuleParameters(result.rules);
210
288
  if (unmodeled.length === 0) {
211
289
  return `ruleset preflight (${base}): every rule parameter is modeled by the kit.
212
- `;
290
+ ${tail}`;
213
291
  }
214
292
  return `${unmodeled.map((u) => {
215
293
  const value = u.value === void 0 ? "" : ` = ${JSON.stringify(u.value)}`;
216
294
  const ruleset = u.rulesetId === void 0 ? "" : ` (ruleset ${u.rulesetId})`;
217
295
  return `ruleset advisory (${base}): ${u.name}${value}${ruleset} has no model in the kit; GitHub may refuse the merge while it reports CLEAN.`;
218
296
  }).join("\n")}
219
- `;
297
+ ${tail}`;
220
298
  }
221
299
  function failureNote(err) {
222
300
  const code = err?.code;
@@ -253,7 +331,9 @@ var defaultRunGh = async (args, opts) => {
253
331
  return stdout;
254
332
  };
255
333
  function promoteWaitExitCode(result) {
256
- if (result.outcome === "merged") return 0;
334
+ if (result.outcome === "merged") {
335
+ return result.ancestry?.status === "squash_or_rebase" ? PROMOTE_ANCESTRY_BROKEN_EXIT_CODE : 0;
336
+ }
257
337
  if (result.outcome === "timeout") return 3;
258
338
  return 1;
259
339
  }
@@ -270,12 +350,18 @@ async function runPromoteWait(opts) {
270
350
  sleep: opts.sleep,
271
351
  readPr: async () => parsePromotePrView(await runGh(promotePrViewArgs(opts.pr, opts.repo), { cwd: opts.cwd }))
272
352
  });
353
+ if (result.outcome === "merged") {
354
+ result.ancestry = await checkPromoteAncestry({
355
+ pr: result.pr,
356
+ readCompare: (mergeCommit, head) => runGh(promoteCompareArgs(mergeCommit, head, opts.repo), { cwd: opts.cwd })
357
+ });
358
+ }
273
359
  return { result, capMs };
274
360
  }
275
361
  var waitCommand = defineCommand({
276
362
  meta: {
277
363
  name: "wait",
278
- description: "Wait, read-only and bounded, for the operator merge of a staging\u2192main promote PR; at the cap (config promoteMergeWaitMs, default 60 min) print the promote-merge-wait Ask and exit 3"
364
+ description: "Wait, read-only and bounded, for the operator merge of a staging\u2192main promote PR; at the cap (config promoteMergeWaitMs, default 60 min) print the promote-merge-wait Ask and exit 3; exit 4 when it was merged as a squash or rebase (staging no longer an ancestor of main)"
279
365
  },
280
366
  args: {
281
367
  pr: { type: "string", description: "Promote PR number", required: true },
@@ -321,7 +407,7 @@ async function runPromoteRules(opts) {
321
407
  var rulesCommand = defineCommand({
322
408
  meta: {
323
409
  name: "rules",
324
- description: "Promote preflight: read the base branch rules (gh api .../rules/branches/<base>) and print each rule parameter the kit does not model; advisory, always exit 0"
410
+ description: "Promote preflight: read the base branch rules (gh api .../rules/branches/<base>), print each rule parameter the kit does not model and warn when the base allows a squash or rebase merge; advisory, always exit 0"
325
411
  },
326
412
  args: {
327
413
  base: { type: "string", description: "Promote base branch (default: main)", default: "main" },
@@ -342,7 +428,12 @@ var rulesCommand = defineCommand({
342
428
  repo: typeof args.repo === "string" && args.repo ? args.repo : void 0
343
429
  });
344
430
  if (args.json) {
345
- const payload = result.ok ? { ok: true, base, unmodeled: findUnmodeledRuleParameters(result.rules) } : { ok: false, base, note: result.note };
431
+ const payload = result.ok ? {
432
+ ok: true,
433
+ base,
434
+ unmodeled: findUnmodeledRuleParameters(result.rules),
435
+ mergeMethods: findPromoteMergeMethodRisk(result.rules)
436
+ } : { ok: false, base, note: result.note };
346
437
  process.stdout.write(`${JSON.stringify(payload, null, 2)}
347
438
  `);
348
439
  } else {
@@ -28,22 +28,22 @@ import {
28
28
  updateCheckSection,
29
29
  updateNoticeSection,
30
30
  withDeadline
31
- } from "./chunk-AQRUIICR.js";
31
+ } from "./chunk-7HPYWUC7.js";
32
32
  import "./chunk-XXPI4H4D.js";
33
33
  import "./chunk-2YU2H7I6.js";
34
34
  import "./chunk-FOVHFMSH.js";
35
- import "./chunk-MCH3E46V.js";
35
+ import "./chunk-RPJA7Q2F.js";
36
36
  import "./chunk-4CRBUEJ6.js";
37
37
  import "./chunk-TTUFIE26.js";
38
- import "./chunk-RE27AEF7.js";
38
+ import "./chunk-HO7VEYAD.js";
39
39
  import "./chunk-NHJ4IAVN.js";
40
- import "./chunk-D7L7PG7E.js";
41
- import "./chunk-3AE6JBUC.js";
42
- import "./chunk-TADT7EHS.js";
40
+ import "./chunk-GSZ2WZYY.js";
41
+ import "./chunk-37INM5QP.js";
42
+ import "./chunk-SXMGHRLU.js";
43
43
  import "./chunk-CGXLR77R.js";
44
44
  import "./chunk-PFEUZXVT.js";
45
- import "./chunk-HSDIVA4N.js";
46
- import "./chunk-WMMFTZ6O.js";
45
+ import "./chunk-GSVUCEMH.js";
46
+ import "./chunk-EJJET3CA.js";
47
47
  import "./chunk-IHVJTGYR.js";
48
48
  import "./chunk-KMK4T4ZM.js";
49
49
  import "./chunk-2G4K4ZI5.js";
@@ -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-CCFPULEK.js");
82
+ const { listDetachedAuditSessions } = await import("./session-start-WNVFNJFF.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,17 @@ import {
2
2
  classifyInstallError,
3
3
  isNonInteractive,
4
4
  pathCliStatus
5
- } from "./chunk-KAC3UOLE.js";
5
+ } from "./chunk-N7L4ARYK.js";
6
6
  import {
7
7
  assessEnvironment
8
8
  } from "./chunk-2TW7ENWC.js";
9
- import "./chunk-D7L7PG7E.js";
10
- import "./chunk-3AE6JBUC.js";
11
- import "./chunk-TADT7EHS.js";
9
+ import "./chunk-GSZ2WZYY.js";
10
+ import "./chunk-37INM5QP.js";
11
+ import "./chunk-SXMGHRLU.js";
12
12
  import "./chunk-CGXLR77R.js";
13
13
  import "./chunk-PFEUZXVT.js";
14
- import "./chunk-HSDIVA4N.js";
15
- import "./chunk-WMMFTZ6O.js";
14
+ import "./chunk-GSVUCEMH.js";
15
+ import "./chunk-EJJET3CA.js";
16
16
  import "./chunk-IHVJTGYR.js";
17
17
  import "./chunk-KMK4T4ZM.js";
18
18
  import {
@@ -16,20 +16,20 @@ import {
16
16
  import {
17
17
  npxPinned,
18
18
  pathCliStatus
19
- } from "./chunk-KAC3UOLE.js";
19
+ } from "./chunk-N7L4ARYK.js";
20
20
  import {
21
21
  assessEnvironment
22
22
  } from "./chunk-2TW7ENWC.js";
23
- import "./chunk-D7L7PG7E.js";
24
- import "./chunk-3AE6JBUC.js";
25
- import "./chunk-TADT7EHS.js";
23
+ import "./chunk-GSZ2WZYY.js";
24
+ import "./chunk-37INM5QP.js";
25
+ import "./chunk-SXMGHRLU.js";
26
26
  import "./chunk-CGXLR77R.js";
27
27
  import "./chunk-PFEUZXVT.js";
28
28
  import {
29
29
  loadAgentKitManifest,
30
30
  resolveProtectedGlobs
31
- } from "./chunk-HSDIVA4N.js";
32
- import "./chunk-WMMFTZ6O.js";
31
+ } from "./chunk-GSVUCEMH.js";
32
+ import "./chunk-EJJET3CA.js";
33
33
  import "./chunk-IHVJTGYR.js";
34
34
  import {
35
35
  MANIFEST_RELATIVE_PATH
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  applyUpdateAtRoot,
3
3
  updateCommand
4
- } from "./chunk-ZO62NYU5.js";
4
+ } from "./chunk-O3OEYLXW.js";
5
5
  import "./chunk-FOVHFMSH.js";
6
- import "./chunk-XD4MLX7N.js";
6
+ import "./chunk-2JKKO7FF.js";
7
7
  import "./chunk-HS7LVVLO.js";
8
- import "./chunk-COKUFSJH.js";
9
- import "./chunk-SOSU22LZ.js";
10
- import "./chunk-CHYROVQB.js";
8
+ import "./chunk-BM5RR7LT.js";
9
+ import "./chunk-DQD6KPWJ.js";
10
+ import "./chunk-2PKJOMTI.js";
11
11
  import "./chunk-NHJ4IAVN.js";
12
12
  import "./chunk-Q35TWISF.js";
13
13
  import "./chunk-QTON2GQX.js";
14
14
  import "./chunk-ZB43YMHW.js";
15
- import "./chunk-KAC3UOLE.js";
15
+ import "./chunk-N7L4ARYK.js";
16
16
  import "./chunk-2TW7ENWC.js";
17
- import "./chunk-D7L7PG7E.js";
18
- import "./chunk-3AE6JBUC.js";
19
- import "./chunk-TADT7EHS.js";
17
+ import "./chunk-GSZ2WZYY.js";
18
+ import "./chunk-37INM5QP.js";
19
+ import "./chunk-SXMGHRLU.js";
20
20
  import "./chunk-CGXLR77R.js";
21
21
  import "./chunk-PFEUZXVT.js";
22
- import "./chunk-HSDIVA4N.js";
23
- import "./chunk-WMMFTZ6O.js";
22
+ import "./chunk-GSVUCEMH.js";
23
+ import "./chunk-EJJET3CA.js";
24
24
  import "./chunk-IHVJTGYR.js";
25
25
  import "./chunk-KMK4T4ZM.js";
26
26
  import "./chunk-2G4K4ZI5.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  applyUpdateAtRoot
3
- } from "./chunk-ZO62NYU5.js";
3
+ } from "./chunk-O3OEYLXW.js";
4
4
  import {
5
5
  QUEUE_LEASE_SESSION_ENV,
6
6
  inspectQueueLease
@@ -10,11 +10,11 @@ import {
10
10
  } from "./chunk-3KFLQE6Y.js";
11
11
  import "./chunk-P7732A25.js";
12
12
  import "./chunk-TTUFIE26.js";
13
- import "./chunk-XD4MLX7N.js";
13
+ import "./chunk-2JKKO7FF.js";
14
14
  import "./chunk-HS7LVVLO.js";
15
- import "./chunk-COKUFSJH.js";
16
- import "./chunk-SOSU22LZ.js";
17
- import "./chunk-CHYROVQB.js";
15
+ import "./chunk-BM5RR7LT.js";
16
+ import "./chunk-DQD6KPWJ.js";
17
+ import "./chunk-2PKJOMTI.js";
18
18
  import {
19
19
  InstallsRegistryError,
20
20
  inspectInstall,
@@ -29,24 +29,24 @@ import {
29
29
  import {
30
30
  logger
31
31
  } from "./chunk-ZB43YMHW.js";
32
- import "./chunk-KAC3UOLE.js";
32
+ import "./chunk-N7L4ARYK.js";
33
33
  import "./chunk-2TW7ENWC.js";
34
34
  import {
35
35
  checkRunningCliVsNpmLatest,
36
36
  compareSemver
37
- } from "./chunk-D7L7PG7E.js";
38
- import "./chunk-3AE6JBUC.js";
39
- import "./chunk-TADT7EHS.js";
37
+ } from "./chunk-GSZ2WZYY.js";
38
+ import "./chunk-37INM5QP.js";
39
+ import "./chunk-SXMGHRLU.js";
40
40
  import "./chunk-CGXLR77R.js";
41
41
  import "./chunk-PFEUZXVT.js";
42
42
  import {
43
43
  isProtectedPath,
44
44
  loadAgentKitManifest,
45
45
  resolveProtectedGlobs
46
- } from "./chunk-HSDIVA4N.js";
46
+ } from "./chunk-GSVUCEMH.js";
47
47
  import {
48
48
  MANAGED_HASHES_REL
49
- } from "./chunk-WMMFTZ6O.js";
49
+ } from "./chunk-EJJET3CA.js";
50
50
  import "./chunk-IHVJTGYR.js";
51
51
  import {
52
52
  MANIFEST_RELATIVE_PATH
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dadado/agent-kit-cli",
3
- "version": "6.29.0",
3
+ "version": "6.30.0",
4
4
  "description": "Agent Kit CLI: HITL framework install and tooling for AI-assisted IDEs (rules, skills, plan/handoff, context).",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -24,6 +24,7 @@
24
24
  "files": [
25
25
  "dist",
26
26
  "dashboard",
27
+ "cursor-audit",
27
28
  "pi/agent-kit.ts",
28
29
  "LICENSE",
29
30
  "NOTICE"
@@ -35,9 +36,9 @@
35
36
  },
36
37
  "scripts": {
37
38
  "sync-dashboard": "node ../../scripts/sync-cli-dashboard.mjs",
38
- "prepack": "node ../../scripts/sync-cli-dashboard.mjs",
39
+ "prepack": "node ../../scripts/sync-cli-dashboard.mjs && node ../../scripts/sync-cli-cursor-audit.mjs",
39
40
  "prepublishOnly": "node ../../scripts/verify-cli-dashboard-pack.mjs",
40
- "build": "node ../../scripts/sync-cli-dashboard.mjs && tsup src/index.ts --format esm --dts --clean && (tsx src/lifecycle/write-cli-build-stamp.ts || echo build-stamp: skipped)",
41
+ "build": "node ../../scripts/sync-cli-dashboard.mjs && node ../../scripts/sync-cli-cursor-audit.mjs && tsup src/index.ts --format esm --dts --clean && (tsx src/lifecycle/write-cli-build-stamp.ts || echo build-stamp: skipped)",
41
42
  "dev": "tsx src/index.ts",
42
43
  "start": "tsx src/index.ts",
43
44
  "lint": "biome check src pi",