@dadado/agent-kit-cli 6.25.0 → 6.26.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 (75) hide show
  1. package/dashboard/dashboard.html +3 -3
  2. package/dashboard/lib/guards.mjs +1 -0
  3. package/dist/{add-OYLOMCM6.js → add-G7KEZLWP.js} +7 -6
  4. package/dist/{chunk-7HDQEK6T.js → chunk-2G4K4ZI5.js} +7 -3
  5. package/dist/{chunk-QLTGHJB3.js → chunk-2GXN7HVG.js} +5 -5
  6. package/dist/{chunk-HSIHZWFF.js → chunk-5A72LTR3.js} +7 -7
  7. package/dist/{chunk-6WUKLS4D.js → chunk-BIFTTL2O.js} +1 -1
  8. package/dist/{chunk-NJ2SUSWX.js → chunk-BVZDPVUL.js} +1 -1
  9. package/dist/{chunk-QACMV46U.js → chunk-ENRXS5O6.js} +19 -12
  10. package/dist/{chunk-2F6NMQOA.js → chunk-FB6G6OD6.js} +3 -3
  11. package/dist/{chunk-MFKHIWEL.js → chunk-FOVHFMSH.js} +1 -1
  12. package/dist/{chunk-EO5NGAYV.js → chunk-FUSNEYGU.js} +29 -3
  13. package/dist/{chunk-GMG7ZH4E.js → chunk-H7KAXI5R.js} +13 -13
  14. package/dist/{chunk-SAQ3EE5R.js → chunk-HGB4DHXV.js} +3 -3
  15. package/dist/{chunk-IFBIO7VT.js → chunk-HXV6VQD4.js} +1402 -42
  16. package/dist/{chunk-XGZOU4DS.js → chunk-I3FGWNU5.js} +4 -4
  17. package/dist/{chunk-6M6UKECW.js → chunk-IHVJTGYR.js} +0 -32
  18. package/dist/{chunk-H7RAFRRZ.js → chunk-IUY24WPE.js} +68 -34
  19. package/dist/chunk-JG5MKMOM.js +248 -0
  20. package/dist/{chunk-KWYF7QNH.js → chunk-JWIJHO67.js} +17 -2
  21. package/dist/chunk-KMK4T4ZM.js +34 -0
  22. package/dist/{chunk-ZMYV6PRE.js → chunk-LEVNLHH3.js} +2 -1
  23. package/dist/{chunk-2XLI7XEY.js → chunk-MGVV6YC4.js} +1 -1
  24. package/dist/{chunk-C7SV7UP5.js → chunk-MWRYQLEG.js} +3 -3
  25. package/dist/{chunk-WKFE3RUC.js → chunk-NHJ4IAVN.js} +5 -3
  26. package/dist/{chunk-C4Q77GGJ.js → chunk-O7VMHCNN.js} +6 -0
  27. package/dist/{chunk-GQSSXDDK.js → chunk-OVRGTHZD.js} +1 -1
  28. package/dist/{chunk-CIV42JGT.js → chunk-PCIYXGB3.js} +2 -2
  29. package/dist/{chunk-7Y74KO7U.js → chunk-PLLXFSN2.js} +12 -12
  30. package/dist/{chunk-QX55T4UX.js → chunk-RJP47EGS.js} +6 -1
  31. package/dist/{chunk-JGG574RK.js → chunk-RRJVC35Y.js} +3 -3
  32. package/dist/{chunk-PIMGV3E5.js → chunk-SWJJW624.js} +1 -1
  33. package/dist/{chunk-G5MQRP6M.js → chunk-SYRJ5TTK.js} +13 -9
  34. package/dist/{chunk-L5V3W3DY.js → chunk-TTUFIE26.js} +60 -14
  35. package/dist/{chunk-JFS4GKP7.js → chunk-XXPI4H4D.js} +2 -2
  36. package/dist/{chunk-M4UL422I.js → chunk-Y5526WCN.js} +6 -6
  37. package/dist/{chunk-CXE6ASSX.js → chunk-Y575INEC.js} +1 -1
  38. package/dist/{chunk-JG3CNGQM.js → chunk-ZNZHDPS3.js} +6 -4
  39. package/dist/{commands-UW2C2ZN4.js → commands-K4HSDML5.js} +8 -6
  40. package/dist/{conflicts-RING6AHV.js → conflicts-4SUWIPWP.js} +9 -10
  41. package/dist/{contribute-LSY75JZH.js → contribute-HE4WCBRY.js} +7 -6
  42. package/dist/{countdown-SZ2P4XHB.js → countdown-TYQHVAIX.js} +74 -45
  43. package/dist/{dashboard-P65XHYCU.js → dashboard-6V6PCNYF.js} +1 -1
  44. package/dist/{dashboard-broadcast-GYK34QYL.js → dashboard-broadcast-PMVQ7PXU.js} +1 -1
  45. package/dist/{diff-NZVBVQSK.js → diff-3XUZM7ZT.js} +8 -7
  46. package/dist/{doctor-TJSXBVGV.js → doctor-KGUWU5SN.js} +16 -15
  47. package/dist/{engine-info-BBI5QO5Y.js → engine-info-VM4VPGQM.js} +2 -2
  48. package/dist/{ground-control-ZJXPUIQN.js → ground-control-ZIDHEOPW.js} +7 -4
  49. package/dist/{handoff-2OZSWGTE.js → handoff-LLT4CI6H.js} +2 -3
  50. package/dist/{hook-3VPKNSOO.js → hook-UPZ3CPYS.js} +22 -22
  51. package/dist/index.js +49 -32
  52. package/dist/{init-UW2BJBO2.js → init-ZHLVXEVT.js} +19 -18
  53. package/dist/{install-RQSI4CHG.js → install-XWOG64W3.js} +19 -18
  54. package/dist/{installs-7TR4H4QH.js → installs-2ROXPO6M.js} +5 -4
  55. package/dist/{mission-control-VSU6NT43.js → mission-control-IGOI3WHS.js} +2 -2
  56. package/dist/models-5BDXREWM.js +45 -0
  57. package/dist/paths-JTPV6SXH.js +107 -0
  58. package/dist/pi-DCMDOY65.js +248 -0
  59. package/dist/{plan-index-BNLUU6T5.js → plan-index-5QZJK4AG.js} +2 -3
  60. package/dist/{queue-JHYILLMX.js → queue-Z5VNNHM6.js} +11 -13
  61. package/dist/{run-CQF5RM5X.js → run-QURAXAR2.js} +24 -30
  62. package/dist/{run-plan-BEOCOJCF.js → run-plan-4MMHVCTS.js} +35 -23
  63. package/dist/{session-start-QV7CEFRX.js → session-start-NC2HE5X5.js} +16 -16
  64. package/dist/{sessions-AWAAO3DU.js → sessions-WWWLYPW6.js} +4 -4
  65. package/dist/{setup-global-ST4TT427.js → setup-global-WDMARD4Z.js} +11 -10
  66. package/dist/{status-HUBPBGUU.js → status-2WNJL7PP.js} +12 -11
  67. package/dist/update-YSVOYYK5.js +32 -0
  68. package/dist/{update-all-YYUTXHGR.js → update-all-5XLTCHPX.js} +20 -18
  69. package/package.json +14 -4
  70. package/pi/agent-kit.ts +224 -0
  71. package/dist/chunk-7ABY6DYH.js +0 -89
  72. package/dist/chunk-AQLBEEPD.js +0 -625
  73. package/dist/chunk-MUTTNRX4.js +0 -53
  74. package/dist/chunk-TOSAAQ5A.js +0 -71
  75. package/dist/update-DD5UZPGG.js +0 -31
@@ -4,11 +4,11 @@ import {
4
4
  RESOLVE_AGENT_KIT_REL,
5
5
  SESSION_START_HOOK_MARKER,
6
6
  mergeAllowRowsWithoutGuard
7
- } from "./chunk-NJ2SUSWX.js";
7
+ } from "./chunk-BVZDPVUL.js";
8
8
  import {
9
9
  CLAUDE_COMMANDS_DIR_REL,
10
10
  discoverInstalledCommands
11
- } from "./chunk-EO5NGAYV.js";
11
+ } from "./chunk-FUSNEYGU.js";
12
12
  import {
13
13
  findOnPath
14
14
  } from "./chunk-WGLPZXNU.js";
@@ -6,7 +6,7 @@ import {
6
6
  formatStaleCliRefusal,
7
7
  installL0,
8
8
  syncFromManifest
9
- } from "./chunk-QLTGHJB3.js";
9
+ } from "./chunk-2GXN7HVG.js";
10
10
  import {
11
11
  SkippedSymlinkError,
12
12
  formatPersonalizationSkippedSymlinks,
@@ -15,25 +15,25 @@ import {
15
15
  import {
16
16
  REGISTRY_CLI_ARGS,
17
17
  resolveRegistryFromCli
18
- } from "./chunk-PIMGV3E5.js";
18
+ } from "./chunk-SWJJW624.js";
19
19
  import {
20
20
  assessClaudeCommandAdapters,
21
21
  executeSafeReadinessFixes
22
- } from "./chunk-CIV42JGT.js";
22
+ } from "./chunk-PCIYXGB3.js";
23
23
  import {
24
24
  cachedCliNpmLatest,
25
25
  writeReadinessSnapshot
26
- } from "./chunk-2F6NMQOA.js";
26
+ } from "./chunk-FB6G6OD6.js";
27
27
  import {
28
28
  writeClaudeSessionStartHook
29
- } from "./chunk-NJ2SUSWX.js";
29
+ } from "./chunk-BVZDPVUL.js";
30
30
  import {
31
31
  CLAUDE_HITL_FALLBACK,
32
32
  generateClaudeCommandAdapters
33
- } from "./chunk-EO5NGAYV.js";
33
+ } from "./chunk-FUSNEYGU.js";
34
34
  import {
35
35
  feedInstallsRegistry
36
- } from "./chunk-WKFE3RUC.js";
36
+ } from "./chunk-NHJ4IAVN.js";
37
37
  import {
38
38
  shouldUseWelcomeColor,
39
39
  withCliProgress
@@ -62,13 +62,13 @@ import {
62
62
  npxPinned,
63
63
  pathCliStatus,
64
64
  syncPathCliToRuntime
65
- } from "./chunk-JGG574RK.js";
65
+ } from "./chunk-RRJVC35Y.js";
66
66
  import {
67
67
  assessEnvironment
68
68
  } from "./chunk-2TW7ENWC.js";
69
69
  import {
70
70
  warnIfRunningCliBehindNpm
71
- } from "./chunk-M4UL422I.js";
71
+ } from "./chunk-Y5526WCN.js";
72
72
  import {
73
73
  UnknownPackError,
74
74
  allPacks,
@@ -88,14 +88,14 @@ import {
88
88
  resolveProtectedGlobs,
89
89
  saveManifest,
90
90
  skillTargetDir
91
- } from "./chunk-JG3CNGQM.js";
91
+ } from "./chunk-ZNZHDPS3.js";
92
92
  import {
93
93
  DOMAIN_PACK_IDS
94
- } from "./chunk-6M6UKECW.js";
94
+ } from "./chunk-KMK4T4ZM.js";
95
95
  import {
96
96
  KIT_VERSION,
97
97
  pinnedCliSpec
98
- } from "./chunk-7HDQEK6T.js";
98
+ } from "./chunk-2G4K4ZI5.js";
99
99
  import {
100
100
  ensureDir,
101
101
  fileExists,
@@ -496,7 +496,12 @@ var KNOWN_SHIPPED_OVERLAY_HASHES = /* @__PURE__ */ new Set([
496
496
  "ec8b8f4b3a12813a6cba9c5a417f5f1ef8ed34e27ea0c1cdc7d2987ce32e0d00",
497
497
  "f0555c4a43c3cfd5e6c9fdc9ce14922aaf927d1251d98465f8bc50e6a992d547",
498
498
  "9d419d86204df507806fb96dc9e2ba14335b11a1d1a584fbefb1bd31799f1edb",
499
- "cb7dc49acdf3d4bcce0fc6df938fe6f7867ee548147049cae840d92759a7e665"
499
+ "cb7dc49acdf3d4bcce0fc6df938fe6f7867ee548147049cae840d92759a7e665",
500
+ "3ac7992930166e8ffcfa648f01009e956bc6c6df49083c5f32a32e62186d16b7",
501
+ "5c91baae02679b8339f5347e038a1ee45fd785eec8ed5d1865b8139d88f53e74",
502
+ "5d8f9da50239efb7322d314ea2e6fae90e20942d0d4e325f35b7a59e4b2b8150",
503
+ "885ae1082642136b1324bf2d8b3bb9924eed693f10ec7b08e7a59c636d8d5007",
504
+ "eafbc96739f333138df4fbb2f1be8bd5b67681748ccbf02895f337b5edd29f37"
500
505
  ]);
501
506
 
502
507
  // src/lifecycle/paths.ts
@@ -4,14 +4,14 @@ import {
4
4
  import {
5
5
  compareSemver,
6
6
  normalizeSemver
7
- } from "./chunk-M4UL422I.js";
7
+ } from "./chunk-Y5526WCN.js";
8
8
  import {
9
9
  MANIFEST_RELATIVE_PATH
10
- } from "./chunk-6M6UKECW.js";
10
+ } from "./chunk-KMK4T4ZM.js";
11
11
  import {
12
12
  KIT_VERSION,
13
13
  pinnedCliSpec
14
- } from "./chunk-7HDQEK6T.js";
14
+ } from "./chunk-2G4K4ZI5.js";
15
15
  import {
16
16
  fileExists
17
17
  } from "./chunk-5B4DVO6C.js";
@@ -5,7 +5,7 @@ import {
5
5
  DEFAULT_REGISTRY_REF,
6
6
  DEFAULT_REGISTRY_URL,
7
7
  resolveRegistryRoot
8
- } from "./chunk-JG3CNGQM.js";
8
+ } from "./chunk-ZNZHDPS3.js";
9
9
 
10
10
  // src/lifecycle/resolve-cli.ts
11
11
  async function resolveRegistryFromCli(options) {
@@ -2,14 +2,10 @@ import {
2
2
  collectLiveRoster,
3
3
  formatRosterLease,
4
4
  formatRosterRow
5
- } from "./chunk-JFS4GKP7.js";
5
+ } from "./chunk-XXPI4H4D.js";
6
6
  import {
7
7
  validateHandoffText
8
8
  } from "./chunk-2YU2H7I6.js";
9
- import {
10
- formatPlanIndexSection,
11
- writePlanIndex
12
- } from "./chunk-L5V3W3DY.js";
13
9
  import {
14
10
  CHANGELOG_FETCH_TIMEOUT_MS,
15
11
  resolveInventoryRoot,
@@ -19,23 +15,27 @@ import {
19
15
  shouldEmitPublicInboundNudge,
20
16
  stampPublicInboundCheck
21
17
  } from "./chunk-4CRBUEJ6.js";
18
+ import {
19
+ formatPlanIndexSection,
20
+ writePlanIndex
21
+ } from "./chunk-TTUFIE26.js";
22
22
  import {
23
23
  READINESS_SNAPSHOT_RELATIVE_PATH,
24
24
  UPDATE_NOTICE_SESSION_FETCH_TIMEOUT_MS,
25
25
  computeUpdateNotice
26
- } from "./chunk-2F6NMQOA.js";
26
+ } from "./chunk-FB6G6OD6.js";
27
27
  import {
28
28
  stampLastCheckedAt
29
- } from "./chunk-M4UL422I.js";
29
+ } from "./chunk-Y5526WCN.js";
30
30
  import {
31
31
  loadContextConfig
32
32
  } from "./chunk-PFEUZXVT.js";
33
33
  import {
34
34
  MANIFEST_RELATIVE_PATH
35
- } from "./chunk-6M6UKECW.js";
35
+ } from "./chunk-KMK4T4ZM.js";
36
36
  import {
37
37
  HANDOFF_REL
38
- } from "./chunk-C4Q77GGJ.js";
38
+ } from "./chunk-O7VMHCNN.js";
39
39
  import {
40
40
  fileExists
41
41
  } from "./chunk-5B4DVO6C.js";
@@ -302,6 +302,9 @@ var HARD_RULES = `# Agent Kit session hard rules (manual mode default)
302
302
  10. **Backlog CRUD never activates.** \`/backlog-add\` enqueues (Broad Intake + write Ask + plan file + HANDOFF Backlog) without park, activate, or Gate B. \`/backlog-edit\` / \`/backlog-delete\` / \`/backlog-cancel\` require Ask confirm before mutate; delete archives from Backlog, cancel is soft in place. No Field Report cards for routine backlog CRUD.
303
303
  11. **HANDOFF machine fields are bullet fields, not \`##\` headings.** Mission Control parses \`- **Plan:**\`, \`- **Backlog plans:**\`, \`- **Parked plans:**\`, \`- **Run queue:**\` (etc.). Canonical Plan: \`- **Plan:** \\\`name.plan.md\\\`\` or \`none\`. Nested backlog/parked rows: \`- \\\`other.plan.md\\\`\`. Never invent \`## Backlog plans\` / \`## Parked plans\` / \`## Run queue\` headings in place of those fields (Checklist / Current mission go empty or idle).
304
304
  12. **Plans inventory is index + HANDOFF.** \`/continue-plan\`, \`/run-plan-all\`, and Broad Intake read \`.cursor/context/plan-index.json\` and \`.cursor/HANDOFF.md\` only. Do not glob \`.cursor/plans/*.plan.md\`. Named single-file reads of a known basename remain OK. Delegation stays (ADR \`decisions/2026-07-26_command-orchestration-delegation-pattern.md\`).`;
305
+ var PI_HOST_HITL = `## Host: pi (HITL is the numbered list)
306
+
307
+ This session runs in pi, which has no structured question tool. Wherever these rules, a slash command, a skill, AGENTS.md or CLAUDE.md say to confirm or ask through Ask questions, an Ask or a question tool, use the numbered-list fallback instead: print one line \`HITL_GATE: <ask-id> | <label 1> | <label 2> | ...\` immediately followed by the same labels as one numbered list, one list per message, then WAIT for the operator's answer (ask-id and labels: \`.cursor/skills/core/hitl-gates/SKILL.md\`). Skip or cancel means stop. Never \`/git-prod\` without the operator's explicit yes.`;
305
308
  var DOGFOOD_INBOX_HINT = `## Dogfood inbox
306
309
 
307
310
  Unprocessed files are listed under \`dogfood/README.md\` (factory) or \`.cursor/dogfood/README.md\` (consumer). To file a new note, use \`/dogfood <topic> [summary]\`. Follow the ingest ritual (detect \u2192 analyze \u2192 memory WRITE \u2192 triage). Do not auto-start analysis unless the user asks.`;
@@ -962,6 +965,7 @@ async function buildSessionStartAdditionalContext(rootDir, _payload = {}, deps =
962
965
  const handoffFull = await readFull(handoffPath);
963
966
  const handoff = capHandoffExcerpt(handoffFull);
964
967
  const parts = [HARD_RULES];
968
+ if (deps.host === "pi") parts.push(PI_HOST_HITL);
965
969
  if (await l0Present(root)) {
966
970
  const readiness = await readinessSection(root);
967
971
  if (readiness) parts.push(readiness);
@@ -1,17 +1,62 @@
1
- import {
2
- ensurePathIgnored,
3
- gitAt
4
- } from "./chunk-MUTTNRX4.js";
5
1
  import {
6
2
  HANDOFF_REL
7
- } from "./chunk-C4Q77GGJ.js";
3
+ } from "./chunk-O7VMHCNN.js";
8
4
  import {
9
5
  ensureDir
10
6
  } from "./chunk-5B4DVO6C.js";
11
7
 
12
- // src/plan-index/plan-index.ts
13
- import { readFile, writeFile } from "fs/promises";
8
+ // src/utils/git-local-exclude.ts
9
+ import { execFile } from "child_process";
10
+ import { appendFile, mkdir, readFile } from "fs/promises";
14
11
  import path from "path";
12
+ function gitAt(cwd) {
13
+ return (args) => new Promise((resolve) => {
14
+ execFile(
15
+ "git",
16
+ [...args],
17
+ {
18
+ cwd,
19
+ env: { ...process.env, GIT_TERMINAL_PROMPT: "0" },
20
+ encoding: "utf8",
21
+ timeout: 3e4
22
+ },
23
+ (err, stdout, stderr) => {
24
+ resolve({
25
+ code: err ? typeof err.code === "number" ? err.code : 1 : 0,
26
+ stdout: String(stdout ?? ""),
27
+ stderr: String(stderr ?? err?.message ?? "")
28
+ });
29
+ }
30
+ );
31
+ });
32
+ }
33
+ async function ensurePathIgnored(git, root, relPath) {
34
+ try {
35
+ const check = () => git(["check-ignore", "-q", "--", relPath]);
36
+ const first = await check();
37
+ if (first.code === 0) return true;
38
+ if (first.code !== 1) return false;
39
+ const prefix = await git(["rev-parse", "--show-prefix"]);
40
+ const where = await git(["rev-parse", "--git-path", "info/exclude"]);
41
+ if (prefix.code !== 0 || where.code !== 0 || !where.stdout.trim()) return false;
42
+ const line = `/${prefix.stdout.trim()}${relPath}`;
43
+ const exclude = path.resolve(root, where.stdout.trim());
44
+ const current = await readFile(exclude, "utf8").catch(() => "");
45
+ if (!current.split("\n").some((l) => l.trim() === line)) {
46
+ await mkdir(path.dirname(exclude), { recursive: true });
47
+ const sep = current && !current.endsWith("\n") ? "\n" : "";
48
+ await appendFile(exclude, `${sep}${line}
49
+ `, "utf8");
50
+ }
51
+ return (await check()).code === 0;
52
+ } catch {
53
+ return false;
54
+ }
55
+ }
56
+
57
+ // src/plan-index/plan-index.ts
58
+ import { readFile as readFile2, writeFile } from "fs/promises";
59
+ import path2 from "path";
15
60
  var PLAN_INDEX_REL = ".cursor/context/plan-index.json";
16
61
  var NONE = /^(none|n\/a|empty|nil)$/i;
17
62
  var OPEN_STATUSES = /* @__PURE__ */ new Set(["pending", "in_progress"]);
@@ -20,13 +65,13 @@ function defaultPlanIndexIo() {
20
65
  return {
21
66
  async readFile(absPath) {
22
67
  try {
23
- return await readFile(absPath, "utf8");
68
+ return await readFile2(absPath, "utf8");
24
69
  } catch {
25
70
  return null;
26
71
  }
27
72
  },
28
73
  async writeFile(absPath, body) {
29
- await ensureDir(path.dirname(absPath));
74
+ await ensureDir(path2.dirname(absPath));
30
75
  await writeFile(absPath, body, "utf8");
31
76
  },
32
77
  ensureIgnored(root, relPath) {
@@ -55,11 +100,11 @@ function collectNamedPlanBasenames(named) {
55
100
  return out;
56
101
  }
57
102
  function namedPlanCandidatePaths(root, basename) {
58
- const safe = path.basename(basename);
103
+ const safe = path2.basename(basename);
59
104
  if (!/^[A-Za-z0-9._-]+\.plan\.md$/i.test(safe)) return [];
60
105
  return [
61
- path.join(root, ".cursor", "plans", safe),
62
- path.join(root, ".cursor", "plans", "archive", safe)
106
+ path2.join(root, ".cursor", "plans", safe),
107
+ path2.join(root, ".cursor", "plans", "archive", safe)
63
108
  ];
64
109
  }
65
110
  function classifyPlanRole(file, named, openTodos) {
@@ -101,7 +146,7 @@ function parsePlanFrontmatter(raw) {
101
146
  return { name, todos };
102
147
  }
103
148
  async function buildPlanIndex(root, io = defaultPlanIndexIo(), now = () => /* @__PURE__ */ new Date()) {
104
- const handoffPath = path.join(root, HANDOFF_REL);
149
+ const handoffPath = path2.join(root, HANDOFF_REL);
105
150
  const handoffText = await io.readFile(handoffPath) ?? "";
106
151
  const named = extractHandoffNamedPlans(handoffText);
107
152
  const plans = [];
@@ -132,7 +177,7 @@ async function buildPlanIndex(root, io = defaultPlanIndexIo(), now = () => /* @_
132
177
  }
133
178
  async function writePlanIndex(root, io = defaultPlanIndexIo(), now = () => /* @__PURE__ */ new Date()) {
134
179
  const index = await buildPlanIndex(root, io, now);
135
- const dest = path.join(root, PLAN_INDEX_REL);
180
+ const dest = path2.join(root, PLAN_INDEX_REL);
136
181
  const write = io.writeFile ?? defaultPlanIndexIo().writeFile;
137
182
  const ensureIgnored = io.ensureIgnored ?? (io.writeFile ? void 0 : defaultPlanIndexIo().ensureIgnored);
138
183
  if (write) {
@@ -215,6 +260,7 @@ function extractPlanBasenames(raw) {
215
260
  }
216
261
 
217
262
  export {
263
+ ensurePathIgnored,
218
264
  extractHandoffNamedPlans,
219
265
  namedPlanCandidatePaths,
220
266
  parsePlanFrontmatter,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  inspectQueueLease
3
- } from "./chunk-MFKHIWEL.js";
3
+ } from "./chunk-FOVHFMSH.js";
4
4
  import {
5
5
  HANDOFF_REL
6
- } from "./chunk-C4Q77GGJ.js";
6
+ } from "./chunk-O7VMHCNN.js";
7
7
 
8
8
  // ../../dashboard/lib/chat-sessions.mjs
9
9
  import {
@@ -1,22 +1,22 @@
1
+ import {
2
+ diffAgainstRegistry,
3
+ summarizeDiff
4
+ } from "./chunk-MWRYQLEG.js";
1
5
  import {
2
6
  contextConfigPath,
3
7
  intervalElapsed,
4
8
  loadContextConfig
5
9
  } from "./chunk-PFEUZXVT.js";
6
- import {
7
- diffAgainstRegistry,
8
- summarizeDiff
9
- } from "./chunk-C7SV7UP5.js";
10
10
  import {
11
11
  DEFAULT_REGISTRY_URL,
12
12
  assertSafeRegistrySource,
13
13
  loadAgentKitManifest,
14
14
  resolveRegistryRoot
15
- } from "./chunk-JG3CNGQM.js";
15
+ } from "./chunk-ZNZHDPS3.js";
16
16
  import {
17
17
  KIT_PACKAGE_SPEC,
18
18
  KIT_VERSION
19
- } from "./chunk-7HDQEK6T.js";
19
+ } from "./chunk-2G4K4ZI5.js";
20
20
  import {
21
21
  readJson,
22
22
  writeJson
@@ -2,7 +2,7 @@ import {
2
2
  REPO_ROOT_ENV,
3
3
  bundledDashboardCandidates,
4
4
  findDashboardStart
5
- } from "./chunk-ZMYV6PRE.js";
5
+ } from "./chunk-LEVNLHH3.js";
6
6
  import {
7
7
  HELMET_ACCENT,
8
8
  HELMET_FILL,
@@ -8,14 +8,16 @@ import {
8
8
  saveManagedHashLedger,
9
9
  shouldPreserveCustomizedOverlay,
10
10
  toPosixRel
11
- } from "./chunk-QX55T4UX.js";
11
+ } from "./chunk-RJP47EGS.js";
12
+ import {
13
+ acquireDirLock
14
+ } from "./chunk-IHVJTGYR.js";
12
15
  import {
13
16
  DEFAULT_PROTECTED_PATHS,
14
17
  LEGACY_CONTEXT_PROTECTED_GLOB,
15
18
  MANIFEST_RELATIVE_PATH,
16
- MANIFEST_SCHEMA_VERSION,
17
- acquireDirLock
18
- } from "./chunk-6M6UKECW.js";
19
+ MANIFEST_SCHEMA_VERSION
20
+ } from "./chunk-KMK4T4ZM.js";
19
21
  import {
20
22
  fileExists,
21
23
  readJson,
@@ -1,24 +1,26 @@
1
1
  import {
2
2
  RUN_CATALOG,
3
3
  RUN_PROMOTE_BLOCKED
4
- } from "./chunk-KWYF7QNH.js";
5
- import "./chunk-IFBIO7VT.js";
4
+ } from "./chunk-JWIJHO67.js";
5
+ import "./chunk-HXV6VQD4.js";
6
6
  import "./chunk-P7732A25.js";
7
+ import "./chunk-TTUFIE26.js";
7
8
  import {
8
9
  CURSOR_COMMANDS_DIR_REL,
9
10
  discoverInstalledCommands
10
- } from "./chunk-EO5NGAYV.js";
11
+ } from "./chunk-FUSNEYGU.js";
11
12
  import "./chunk-WGLPZXNU.js";
12
13
  import "./chunk-Q35TWISF.js";
13
14
  import "./chunk-QTON2GQX.js";
14
15
  import {
15
16
  L0_ARTIFACTS
16
17
  } from "./chunk-CGXLR77R.js";
17
- import "./chunk-QX55T4UX.js";
18
+ import "./chunk-PFEUZXVT.js";
19
+ import "./chunk-RJP47EGS.js";
18
20
  import {
19
21
  KIT_VERSION
20
- } from "./chunk-7HDQEK6T.js";
21
- import "./chunk-C4Q77GGJ.js";
22
+ } from "./chunk-2G4K4ZI5.js";
23
+ import "./chunk-O7VMHCNN.js";
22
24
  import "./chunk-5B4DVO6C.js";
23
25
 
24
26
  // src/commands/commands.ts
@@ -1,33 +1,32 @@
1
1
  import {
2
2
  REVIEW_PACK_DEFAULT_MAX_BYTES
3
- } from "./chunk-HSIHZWFF.js";
4
- import "./chunk-GQSSXDDK.js";
5
- import {
6
- detectAgentBackend
7
- } from "./chunk-TOSAAQ5A.js";
3
+ } from "./chunk-5A72LTR3.js";
4
+ import "./chunk-OVRGTHZD.js";
8
5
  import {
9
6
  defaultExec,
10
7
  gateExitRedactions,
11
8
  isOutside
12
- } from "./chunk-XGZOU4DS.js";
13
- import "./chunk-MUTTNRX4.js";
9
+ } from "./chunk-I3FGWNU5.js";
14
10
  import {
15
11
  ensureDispatchLogPath,
16
12
  readCommandFile,
17
13
  runHeadlessDispatch
18
- } from "./chunk-KWYF7QNH.js";
14
+ } from "./chunk-JWIJHO67.js";
19
15
  import {
20
16
  createStreamRenderer,
17
+ detectAgentBackend,
21
18
  redactSecrets
22
- } from "./chunk-IFBIO7VT.js";
19
+ } from "./chunk-HXV6VQD4.js";
23
20
  import "./chunk-P7732A25.js";
21
+ import "./chunk-TTUFIE26.js";
24
22
  import "./chunk-WGLPZXNU.js";
25
23
  import "./chunk-Q35TWISF.js";
26
24
  import "./chunk-QTON2GQX.js";
27
25
  import {
28
26
  logger
29
27
  } from "./chunk-ZB43YMHW.js";
30
- import "./chunk-C4Q77GGJ.js";
28
+ import "./chunk-PFEUZXVT.js";
29
+ import "./chunk-O7VMHCNN.js";
31
30
  import "./chunk-5B4DVO6C.js";
32
31
 
33
32
  // src/commands/conflicts.ts
@@ -1,23 +1,24 @@
1
1
  import {
2
2
  REGISTRY_CLI_ARGS,
3
3
  resolveRegistryFromCli
4
- } from "./chunk-PIMGV3E5.js";
4
+ } from "./chunk-SWJJW624.js";
5
5
  import {
6
6
  logger
7
7
  } from "./chunk-ZB43YMHW.js";
8
8
  import {
9
9
  managedPairs
10
- } from "./chunk-SAQ3EE5R.js";
10
+ } from "./chunk-HGB4DHXV.js";
11
11
  import "./chunk-CGXLR77R.js";
12
12
  import {
13
13
  loadAgentKitManifest,
14
14
  normalizeRelPath
15
- } from "./chunk-JG3CNGQM.js";
15
+ } from "./chunk-ZNZHDPS3.js";
16
16
  import {
17
17
  resolveContained
18
- } from "./chunk-QX55T4UX.js";
19
- import "./chunk-6M6UKECW.js";
20
- import "./chunk-C4Q77GGJ.js";
18
+ } from "./chunk-RJP47EGS.js";
19
+ import "./chunk-IHVJTGYR.js";
20
+ import "./chunk-KMK4T4ZM.js";
21
+ import "./chunk-O7VMHCNN.js";
21
22
  import "./chunk-5B4DVO6C.js";
22
23
 
23
24
  // src/commands/contribute.ts