@dadado/agent-kit-cli 6.27.0 → 6.29.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 (47) hide show
  1. package/dashboard/lib/guards.d.mts +16 -5
  2. package/dashboard/lib/guards.mjs +55 -7
  3. package/dashboard/serve.mjs +1 -0
  4. package/dashboard/start.mjs +8 -1
  5. package/dist/{add-G7KEZLWP.js → add-PBOH2ILP.js} +3 -3
  6. package/dist/build-stamp.json +2 -2
  7. package/dist/{chunk-MWRYQLEG.js → chunk-3AE6JBUC.js} +3 -3
  8. package/dist/{chunk-ZYQKNAFD.js → chunk-AQRUIICR.js} +3 -3
  9. package/dist/{chunk-FUSNEYGU.js → chunk-CHYROVQB.js} +1 -1
  10. package/dist/{chunk-SWJJW624.js → chunk-COKUFSJH.js} +3 -2
  11. package/dist/{chunk-Y5526WCN.js → chunk-D7L7PG7E.js} +2 -2
  12. package/dist/{chunk-Y575INEC.js → chunk-DA5VLMNL.js} +1 -1
  13. package/dist/{chunk-ZNZHDPS3.js → chunk-HSDIVA4N.js} +3 -1
  14. package/dist/{chunk-WV2TVUIB.js → chunk-JSQRWJ3W.js} +9 -9
  15. package/dist/{chunk-RRJVC35Y.js → chunk-KAC3UOLE.js} +1 -1
  16. package/dist/{chunk-EAUWR55Q.js → chunk-QDYYJ6ZP.js} +3 -3
  17. package/dist/{chunk-D2ZE5ET2.js → chunk-RE27AEF7.js} +1 -1
  18. package/dist/{chunk-BVZDPVUL.js → chunk-SOSU22LZ.js} +1 -1
  19. package/dist/{chunk-YFRG3CMS.js → chunk-SZMIKKSA.js} +1 -1
  20. package/dist/{chunk-HGB4DHXV.js → chunk-TADT7EHS.js} +2 -2
  21. package/dist/{chunk-RJP47EGS.js → chunk-WMMFTZ6O.js} +3 -1
  22. package/dist/{chunk-2GXN7HVG.js → chunk-XD4MLX7N.js} +4 -4
  23. package/dist/{chunk-DOMBVLI4.js → chunk-ZO62NYU5.js} +10 -10
  24. package/dist/{commands-SCFSX4U4.js → commands-6LJACZME.js} +2 -2
  25. package/dist/{contribute-HE4WCBRY.js → contribute-E7FP5DT4.js} +4 -4
  26. package/dist/{dashboard-6V6PCNYF.js → dashboard-3RBOYKZW.js} +1 -1
  27. package/dist/{dashboard-broadcast-PMVQ7PXU.js → dashboard-broadcast-K3PAGFBO.js} +1 -1
  28. package/dist/{diff-3XUZM7ZT.js → diff-XPRA5NX2.js} +5 -5
  29. package/dist/{doctor-TVO44D2E.js → doctor-M6E6MQAR.js} +85 -15
  30. package/dist/{engine-info-VM4VPGQM.js → engine-info-OTYCQUQB.js} +1 -1
  31. package/dist/{guard-ZO4Z3LLB.js → guard-SSDUD7CH.js} +32 -13
  32. package/dist/{hook-Q3GNZHFH.js → hook-5LVP2C7Q.js} +7 -7
  33. package/dist/index.js +21 -21
  34. package/dist/{init-J6UZERKY.js → init-P2ZCWU3J.js} +13 -13
  35. package/dist/{install-6QLJIS64.js → install-ITPM24YI.js} +13 -13
  36. package/dist/{mission-control-IGOI3WHS.js → mission-control-3D46DA2Z.js} +2 -2
  37. package/dist/{paths-JTPV6SXH.js → paths-PSG64N6P.js} +2 -2
  38. package/dist/{run-RGIY5JTX.js → run-2MN2HRUC.js} +3 -3
  39. package/dist/{run-plan-DHB3ZXJS.js → run-plan-MYAVTBY4.js} +3 -3
  40. package/dist/{session-start-2OXPYVLE.js → session-start-CCFPULEK.js} +7 -7
  41. package/dist/{sessions-TUNLCHMK.js → sessions-UGUQWLBS.js} +1 -1
  42. package/dist/{setup-global-WDMARD4Z.js → setup-global-22YT6RTN.js} +6 -6
  43. package/dist/{status-2WNJL7PP.js → status-EBLELUSZ.js} +6 -6
  44. package/dist/{update-OXCWYN3Y.js → update-WRI4HLY7.js} +11 -11
  45. package/dist/{update-all-E2MV6KME.js → update-all-KOJPSDAJ.js} +11 -11
  46. package/package.json +7 -5
  47. /package/dist/{chunk-LEVNLHH3.js → chunk-7Z2E2PWM.js} +0 -0
@@ -16,6 +16,7 @@ type GitStatusFile = {
16
16
 
17
17
  export const DEFAULT_HOST: "127.0.0.1";
18
18
  export const BROADCAST_TOKEN_ENV: "MISSION_CONTROL_TOKEN";
19
+ export const EDITOR_FORWARD_ENV: "MISSION_CONTROL_EDITOR_FORWARD";
19
20
  export const REPO_ROOT_ENV: "MISSION_CONTROL_REPO_ROOT";
20
21
  export const KIT_ROOT_ENV_KEYS: readonly ["MISSION_CONTROL_KIT_ROOT", "AGENT_KIT_HOME"];
21
22
  export const BROADCAST_TOKEN_MIN_LEN: 16;
@@ -112,10 +113,15 @@ export function normalizeAuthToken(raw: unknown): string;
112
113
  export function isValidBroadcastToken(token: unknown): boolean;
113
114
  export function generateBroadcastToken(): string;
114
115
  export function tokensMatch(a: unknown, b: unknown): boolean;
115
- export function resolveBroadcastAuth(
116
- env?: ProcessEnvLike,
117
- ):
118
- | { ok: true; host: string; tokenRequired: boolean; token: string | null; broadcast: boolean }
116
+ export function resolveBroadcastAuth(env?: ProcessEnvLike):
117
+ | {
118
+ ok: true;
119
+ host: string;
120
+ tokenRequired: boolean;
121
+ token: string | null;
122
+ broadcast: boolean;
123
+ editorForward: boolean;
124
+ }
119
125
  | { ok: false; error: string };
120
126
  export function extractRequestToken(req: GuardRequest, url: URL): string;
121
127
  export function authorizeMissionControlRequest(
@@ -152,7 +158,12 @@ export function isAllowedOrigin(origin: unknown, port: unknown): boolean;
152
158
  export function isAllowedHostHeader(
153
159
  hostHeader: unknown,
154
160
  port: unknown,
155
- opts?: { broadcast?: boolean; lanAddresses?: string[]; bindHost?: string },
161
+ opts?: {
162
+ broadcast?: boolean;
163
+ editorForward?: boolean;
164
+ lanAddresses?: string[];
165
+ bindHost?: string;
166
+ },
156
167
  ): boolean;
157
168
  export function applyCorsHeaders(
158
169
  req: GuardRequest,
@@ -8,6 +8,16 @@ import { resolve } from "node:path";
8
8
  export const DEFAULT_HOST = "127.0.0.1";
9
9
  /** Env key for the opt-in LAN broadcast session token. */
10
10
  export const BROADCAST_TOKEN_ENV = "MISSION_CONTROL_TOKEN";
11
+
12
+ /**
13
+ * Opt-in editor-forward mode (ADR 2026-11-20_mission-control-cursor-extension-host,
14
+ * accepted 2026-11-29; local-only ADR amend 2026-11-26). Set only by the Cursor
15
+ * side panel extension's starter env and valid only with a loopback bind:
16
+ * the Host guard accepts a loopback-literal hostname on any port (the editor's
17
+ * asExternalUri forward may land on a different local port) and a session
18
+ * token becomes required on loopback. Everything else stays as it is.
19
+ */
20
+ export const EDITOR_FORWARD_ENV = "MISSION_CONTROL_EDITOR_FORWARD";
11
21
  /**
12
22
  * Env key for the repo whose `.cursor/`, git, and plans Mission Control snapshots.
13
23
  * Static assets still load from the kit tree that contains `dashboard/`.
@@ -400,25 +410,52 @@ export function tokensMatch(a, b) {
400
410
  /**
401
411
  * Resolve bind + token gate for Mission Control serve.
402
412
  * Non-loopback bind requires a valid MISSION_CONTROL_TOKEN (no warn-only 0.0.0.0).
413
+ * Editor-forward mode (MISSION_CONTROL_EDITOR_FORWARD=1) is valid only with a
414
+ * loopback bind and makes the session token required on loopback: through the
415
+ * editor's forward every request arrives from 127.0.0.1, so a loopback socket
416
+ * stops identifying the operator (ADR 2026-11-20 point 4).
403
417
  * @param {NodeJS.ProcessEnv | Record<string, string | undefined> | undefined} env - `undefined` falls back to `process.env`
404
418
  * @returns
405
- * | { ok: true, host: string, tokenRequired: boolean, token: string | null, broadcast: boolean }
419
+ * | { ok: true, host: string, tokenRequired: boolean, token: string | null, broadcast: boolean, editorForward: boolean }
406
420
  * | { ok: false, error: string }
407
421
  */
408
422
  export function resolveBroadcastAuth(env = process.env) {
409
423
  const host = resolveBindHost(env?.HOST);
410
424
  const loopback = isLoopbackBindHost(host);
411
425
  const token = normalizeAuthToken(env?.[BROADCAST_TOKEN_ENV]);
426
+ const editorForward = env?.[EDITOR_FORWARD_ENV] === "1";
412
427
  if (!loopback) {
428
+ if (editorForward) {
429
+ return {
430
+ ok: false,
431
+ error: `${EDITOR_FORWARD_ENV} requires a loopback bind (got ${host}); it only covers the editor's own asExternalUri forward.`,
432
+ };
433
+ }
413
434
  if (!isValidBroadcastToken(token)) {
414
435
  return {
415
436
  ok: false,
416
437
  error: `Non-loopback bind (${host}) requires ${BROADCAST_TOKEN_ENV} (min ${BROADCAST_TOKEN_MIN_LEN} chars). Use /dashboard-broadcast or agent-kit dashboard-broadcast.`,
417
438
  };
418
439
  }
419
- return { ok: true, host, tokenRequired: true, token, broadcast: true };
440
+ return { ok: true, host, tokenRequired: true, token, broadcast: true, editorForward: false };
420
441
  }
421
- return { ok: true, host, tokenRequired: false, token: null, broadcast: false };
442
+ if (editorForward) {
443
+ if (!isValidBroadcastToken(token)) {
444
+ return {
445
+ ok: false,
446
+ error: `Loopback bind with ${EDITOR_FORWARD_ENV}=1 requires ${BROADCAST_TOKEN_ENV} (min ${BROADCAST_TOKEN_MIN_LEN} chars); through the editor's forward a loopback socket no longer identifies the operator.`,
447
+ };
448
+ }
449
+ return { ok: true, host, tokenRequired: true, token, broadcast: false, editorForward: true };
450
+ }
451
+ return {
452
+ ok: true,
453
+ host,
454
+ tokenRequired: false,
455
+ token: null,
456
+ broadcast: false,
457
+ editorForward: false,
458
+ };
422
459
  }
423
460
 
424
461
  /**
@@ -1385,9 +1422,15 @@ export function isAllowedOrigin(origin, port) {
1385
1422
  * loopback literal (`localhost`, `127.0.0.1`, `[::1]`) on `port`. In broadcast
1386
1423
  * mode a LAN IPv4 literal of this machine (or the IPv4 bind host) on `port` is
1387
1424
  * accepted too. A hostname that merely resolves here (rebinding) never is.
1425
+ * In editor-forward mode (ADR 2026-11-20 point 4, accepted 2026-11-29) the
1426
+ * loopback literals are accepted on any port, because the editor's
1427
+ * asExternalUri forward may land on a different local port; a hostname that is
1428
+ * not a loopback literal still answers 421, so the DNS-rebinding defence
1429
+ * (which rests on the name) holds. The token gate (tokenRequired on loopback
1430
+ * in that mode) covers the rest.
1388
1431
  * @param {unknown} hostHeader
1389
1432
  * @param {unknown} port
1390
- * @param {{ broadcast?: boolean, lanAddresses?: string[], bindHost?: string }} [opts]
1433
+ * @param {{ broadcast?: boolean, editorForward?: boolean, lanAddresses?: string[], bindHost?: string }} [opts]
1391
1434
  */
1392
1435
  export function isAllowedHostHeader(hostHeader, port, opts = {}) {
1393
1436
  if (!hostHeader || typeof hostHeader !== "string") return false;
@@ -1398,10 +1441,15 @@ export function isAllowedHostHeader(hostHeader, port, opts = {}) {
1398
1441
  return false;
1399
1442
  }
1400
1443
  if (url.username || url.password || url.pathname !== "/") return false;
1401
- const resolvedPort = url.port || "80";
1402
- if (resolvedPort !== String(port)) return false;
1403
1444
  const name = url.hostname.toLowerCase();
1404
- if (name === "localhost" || name === "127.0.0.1" || name === "[::1]") return true;
1445
+ const loopbackLiteral = name === "localhost" || name === "127.0.0.1" || name === "[::1]";
1446
+ const resolvedPort = url.port || "80";
1447
+ if (resolvedPort !== String(port)) {
1448
+ // Editor-forward mode: the editor's forward may land on a different
1449
+ // local port, but only a loopback literal is ever relaxed.
1450
+ return opts.editorForward === true && loopbackLiteral;
1451
+ }
1452
+ if (loopbackLiteral) return true;
1405
1453
  if (!opts.broadcast) return false;
1406
1454
  // The operator-chosen bind host (not a wildcard) names this server by definition.
1407
1455
  const bind = typeof opts.bindHost === "string" ? opts.bindHost.trim().toLowerCase() : "";
@@ -452,6 +452,7 @@ const server = createServer((req, res) => {
452
452
  if (
453
453
  !isAllowedHostHeader(req.headers?.host, PORT, {
454
454
  broadcast: authResolved.broadcast,
455
+ editorForward: authResolved.editorForward === true,
455
456
  bindHost: HOST,
456
457
  lanAddresses: LAN_ADDRESSES,
457
458
  })
@@ -21,6 +21,7 @@ import { existsSync, openSync, realpathSync } from "node:fs";
21
21
  import { basename, dirname, join, resolve } from "node:path";
22
22
  import { fileURLToPath } from "node:url";
23
23
  import {
24
+ BROADCAST_TOKEN_ENV,
24
25
  escapePerlDoubleQuoted,
25
26
  REPO_ROOT_ENV,
26
27
  repoRootLogId,
@@ -84,7 +85,13 @@ function listeningPids(port = PORT) {
84
85
 
85
86
  /** @returns {string | null} */
86
87
  function runningSnapshotRoot(port = PORT) {
87
- return probeListenerRoot(`http://${DISPLAY_HOST}:${port}`);
88
+ // A listener in editor-forward mode (ADR 2026-11-20 point 4) requires the
89
+ // session token even from loopback; carry it so our own listener is not
90
+ // mistaken for a foreign one.
91
+ const token = process.env[BROADCAST_TOKEN_ENV];
92
+ const query =
93
+ typeof token === "string" && token.trim() ? `?token=${encodeURIComponent(token.trim())}` : "";
94
+ return probeListenerRoot(`http://${DISPLAY_HOST}:${port}`, query);
88
95
  }
89
96
 
90
97
  /**
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  REGISTRY_CLI_ARGS,
7
7
  resolveRegistryFromCli
8
- } from "./chunk-SWJJW624.js";
8
+ } from "./chunk-COKUFSJH.js";
9
9
  import {
10
10
  logger
11
11
  } from "./chunk-ZB43YMHW.js";
@@ -23,8 +23,8 @@ import {
23
23
  resolveProtectedGlobs,
24
24
  saveManifest,
25
25
  upsertIdList
26
- } from "./chunk-ZNZHDPS3.js";
27
- import "./chunk-RJP47EGS.js";
26
+ } from "./chunk-HSDIVA4N.js";
27
+ import "./chunk-WMMFTZ6O.js";
28
28
  import "./chunk-IHVJTGYR.js";
29
29
  import "./chunk-KMK4T4ZM.js";
30
30
  import {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "sourceCommit": "5c077977004c8c08bd93b4e06f3b81505e2556a8",
3
+ "sourceCommit": "f2b73f6bb91df217cd79b61ba4814c98d11cf784",
4
4
  "sourceDirty": false,
5
- "builtAt": "2026-11-30T22:21:51.082Z"
5
+ "builtAt": "2026-12-05T18:17:15.682Z"
6
6
  }
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  managedPairs
3
- } from "./chunk-HGB4DHXV.js";
3
+ } from "./chunk-TADT7EHS.js";
4
4
  import {
5
5
  isProtectedPath,
6
6
  resolveProtectedGlobs
7
- } from "./chunk-ZNZHDPS3.js";
7
+ } from "./chunk-HSDIVA4N.js";
8
8
  import {
9
9
  resolveContained
10
- } from "./chunk-RJP47EGS.js";
10
+ } from "./chunk-WMMFTZ6O.js";
11
11
 
12
12
  // src/lifecycle/diff.ts
13
13
  import { readFile } from "fs/promises";
@@ -27,10 +27,10 @@ import {
27
27
  computeUpdateNotice,
28
28
  describeCliDistFreshness,
29
29
  factoryRootFromScript
30
- } from "./chunk-D2ZE5ET2.js";
30
+ } from "./chunk-RE27AEF7.js";
31
31
  import {
32
32
  stampLastCheckedAt
33
- } from "./chunk-Y5526WCN.js";
33
+ } from "./chunk-D7L7PG7E.js";
34
34
  import {
35
35
  loadContextConfig
36
36
  } from "./chunk-PFEUZXVT.js";
@@ -325,7 +325,7 @@ Advisory gaps vs \`docs/cursor-native-audit.md\` (check-only; no apply; no Field
325
325
  Run \`/cursor-update-awareness\` (or \`agent-kit cursor-awareness --check\`) and confirm routing via Ask \u2192 \`/backlog-add\` or \`/dogfood\`.`;
326
326
  var PUBLIC_INBOUND_NUDGE = `## Public inbound radar
327
327
 
328
- Open issues or pull requests on \`agent-kit-startup/agent-kit\` (inspect-only; no merge/close).
328
+ Open issues or pull requests on the public mirror \`agent-kit-startup/agent-kit\` (\`mission-kit/cli\` after the mission-kit rename; inspect-only; no merge/close).
329
329
 
330
330
  Run \`/public-inbound-radar\` (or \`agent-kit public-inbound-radar --json\`) and confirm routing via Ask \u2192 \`/backlog-add\`, Memory WRITE, \`/dogfood\`, \`/public-issue-triage\`, or Dismiss. Dependabot is one batch.`;
331
331
 
@@ -5,7 +5,7 @@ import {
5
5
  resolveContained,
6
6
  saveManagedHashLedger,
7
7
  shouldPreserveCustomizedOverlay
8
- } from "./chunk-RJP47EGS.js";
8
+ } from "./chunk-WMMFTZ6O.js";
9
9
  import {
10
10
  ensureDir,
11
11
  fileExists
@@ -4,8 +4,9 @@ import {
4
4
  import {
5
5
  DEFAULT_REGISTRY_REF,
6
6
  DEFAULT_REGISTRY_URL,
7
+ RENAMED_REGISTRY_URL,
7
8
  resolveRegistryRoot
8
- } from "./chunk-ZNZHDPS3.js";
9
+ } from "./chunk-HSDIVA4N.js";
9
10
 
10
11
  // src/lifecycle/resolve-cli.ts
11
12
  async function resolveRegistryFromCli(options) {
@@ -13,7 +14,7 @@ async function resolveRegistryFromCli(options) {
13
14
  if (!options.registry && !options.url && fromManifest?.url) {
14
15
  const ref = options.ref ?? fromManifest.ref ?? DEFAULT_REGISTRY_REF;
15
16
  logger.info(`registry: ${fromManifest.url}@${ref} (from manifest)`);
16
- if (fromManifest.url !== DEFAULT_REGISTRY_URL) {
17
+ if (fromManifest.url !== DEFAULT_REGISTRY_URL && fromManifest.url !== RENAMED_REGISTRY_URL) {
17
18
  logger.warn(
18
19
  `registry url from .cursor/agent-kit.json is not the default ${DEFAULT_REGISTRY_URL}; verify you trust ${fromManifest.url}`
19
20
  );
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  diffAgainstRegistry,
3
3
  summarizeDiff
4
- } from "./chunk-MWRYQLEG.js";
4
+ } from "./chunk-3AE6JBUC.js";
5
5
  import {
6
6
  contextConfigPath,
7
7
  intervalElapsed,
@@ -12,7 +12,7 @@ import {
12
12
  assertSafeRegistrySource,
13
13
  loadAgentKitManifest,
14
14
  resolveRegistryRoot
15
- } from "./chunk-ZNZHDPS3.js";
15
+ } from "./chunk-HSDIVA4N.js";
16
16
  import {
17
17
  KIT_PACKAGE_SPEC,
18
18
  KIT_VERSION
@@ -2,7 +2,7 @@ import {
2
2
  REPO_ROOT_ENV,
3
3
  bundledDashboardCandidates,
4
4
  findDashboardStart
5
- } from "./chunk-LEVNLHH3.js";
5
+ } from "./chunk-7Z2E2PWM.js";
6
6
  import {
7
7
  HELMET_ACCENT,
8
8
  HELMET_FILL,
@@ -8,7 +8,7 @@ import {
8
8
  saveManagedHashLedger,
9
9
  shouldPreserveCustomizedOverlay,
10
10
  toPosixRel
11
- } from "./chunk-RJP47EGS.js";
11
+ } from "./chunk-WMMFTZ6O.js";
12
12
  import {
13
13
  acquireDirLock
14
14
  } from "./chunk-IHVJTGYR.js";
@@ -726,6 +726,7 @@ function acquireCacheLock(cacheDir) {
726
726
  }
727
727
  var DEFAULT_REGISTRY_URL = "https://github.com/agent-kit-startup/agent-kit";
728
728
  var DEFAULT_REGISTRY_REF = "main";
729
+ var RENAMED_REGISTRY_URL = "https://github.com/mission-kit/cli";
729
730
  var SAFE_URL = /^https:\/\/[^\s]+$/;
730
731
  var SAFE_REF = /^[A-Za-z0-9][A-Za-z0-9._/-]*$/;
731
732
  function assertSafeRegistrySource(url, ref) {
@@ -844,6 +845,7 @@ export {
844
845
  loadAgentKitManifest,
845
846
  DEFAULT_REGISTRY_URL,
846
847
  DEFAULT_REGISTRY_REF,
848
+ RENAMED_REGISTRY_URL,
847
849
  assertSafeRegistrySource,
848
850
  resolveRegistryRoot,
849
851
  normalizeRelPath,
@@ -6,7 +6,7 @@ import {
6
6
  formatStaleCliRefusal,
7
7
  installL0,
8
8
  syncFromManifest
9
- } from "./chunk-2GXN7HVG.js";
9
+ } from "./chunk-XD4MLX7N.js";
10
10
  import {
11
11
  SkippedSymlinkError,
12
12
  formatPersonalizationSkippedSymlinks,
@@ -15,22 +15,22 @@ import {
15
15
  import {
16
16
  REGISTRY_CLI_ARGS,
17
17
  resolveRegistryFromCli
18
- } from "./chunk-SWJJW624.js";
18
+ } from "./chunk-COKUFSJH.js";
19
19
  import {
20
20
  assessClaudeCommandAdapters,
21
21
  executeSafeReadinessFixes
22
- } from "./chunk-EAUWR55Q.js";
22
+ } from "./chunk-QDYYJ6ZP.js";
23
23
  import {
24
24
  cachedCliNpmLatest,
25
25
  writeReadinessSnapshot
26
- } from "./chunk-D2ZE5ET2.js";
26
+ } from "./chunk-RE27AEF7.js";
27
27
  import {
28
28
  writeClaudeSessionStartHook
29
- } from "./chunk-BVZDPVUL.js";
29
+ } from "./chunk-SOSU22LZ.js";
30
30
  import {
31
31
  CLAUDE_HITL_FALLBACK,
32
32
  generateClaudeCommandAdapters
33
- } from "./chunk-FUSNEYGU.js";
33
+ } from "./chunk-CHYROVQB.js";
34
34
  import {
35
35
  feedInstallsRegistry
36
36
  } from "./chunk-NHJ4IAVN.js";
@@ -62,13 +62,13 @@ import {
62
62
  npxPinned,
63
63
  pathCliStatus,
64
64
  syncPathCliToRuntime
65
- } from "./chunk-RRJVC35Y.js";
65
+ } from "./chunk-KAC3UOLE.js";
66
66
  import {
67
67
  assessEnvironment
68
68
  } from "./chunk-2TW7ENWC.js";
69
69
  import {
70
70
  warnIfRunningCliBehindNpm
71
- } from "./chunk-Y5526WCN.js";
71
+ } from "./chunk-D7L7PG7E.js";
72
72
  import {
73
73
  UnknownPackError,
74
74
  allPacks,
@@ -88,7 +88,7 @@ import {
88
88
  resolveProtectedGlobs,
89
89
  saveManifest,
90
90
  skillTargetDir
91
- } from "./chunk-ZNZHDPS3.js";
91
+ } from "./chunk-HSDIVA4N.js";
92
92
  import {
93
93
  DOMAIN_PACK_IDS
94
94
  } from "./chunk-KMK4T4ZM.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  compareSemver,
6
6
  normalizeSemver
7
- } from "./chunk-Y5526WCN.js";
7
+ } from "./chunk-D7L7PG7E.js";
8
8
  import {
9
9
  MANIFEST_RELATIVE_PATH
10
10
  } from "./chunk-KMK4T4ZM.js";
@@ -2,18 +2,18 @@ import {
2
2
  CLI_DIST_STALE_FIX,
3
3
  assessCliDistFreshness,
4
4
  describeCliDistFreshness
5
- } from "./chunk-D2ZE5ET2.js";
5
+ } from "./chunk-RE27AEF7.js";
6
6
  import {
7
7
  CLAUDE_SETTINGS_REL,
8
8
  GUARD_SHELL_HOOK_MARKER,
9
9
  RESOLVE_AGENT_KIT_REL,
10
10
  SESSION_START_HOOK_MARKER,
11
11
  mergeAllowRowsWithoutGuard
12
- } from "./chunk-BVZDPVUL.js";
12
+ } from "./chunk-SOSU22LZ.js";
13
13
  import {
14
14
  CLAUDE_COMMANDS_DIR_REL,
15
15
  discoverInstalledCommands
16
- } from "./chunk-FUSNEYGU.js";
16
+ } from "./chunk-CHYROVQB.js";
17
17
  import {
18
18
  findOnPath
19
19
  } from "./chunk-WGLPZXNU.js";
@@ -9,7 +9,7 @@ import {
9
9
  isFactoryOrDevRegistry,
10
10
  normalizeSemver,
11
11
  updateCheckAllowed
12
- } from "./chunk-Y5526WCN.js";
12
+ } from "./chunk-D7L7PG7E.js";
13
13
  import {
14
14
  loadContextConfig
15
15
  } from "./chunk-PFEUZXVT.js";
@@ -9,7 +9,7 @@ import {
9
9
  assertRealParentContained,
10
10
  isRealWriteTargetContained,
11
11
  resolveContained
12
- } from "./chunk-RJP47EGS.js";
12
+ } from "./chunk-WMMFTZ6O.js";
13
13
  import {
14
14
  ensureDir
15
15
  } from "./chunk-5B4DVO6C.js";
@@ -18,7 +18,7 @@ import {
18
18
  ScrollRegion,
19
19
  renderMcLive,
20
20
  runMcTuiLoop
21
- } from "./chunk-Y575INEC.js";
21
+ } from "./chunk-DA5VLMNL.js";
22
22
  import {
23
23
  DRIVER_PROTOCOL_VERSION,
24
24
  DriverAgentSink,
@@ -9,11 +9,11 @@ import {
9
9
  loadRegistry,
10
10
  packMemberFileTargets,
11
11
  skillFileTargets
12
- } from "./chunk-ZNZHDPS3.js";
12
+ } from "./chunk-HSDIVA4N.js";
13
13
  import {
14
14
  contentHash,
15
15
  resolveContained
16
- } from "./chunk-RJP47EGS.js";
16
+ } from "./chunk-WMMFTZ6O.js";
17
17
  import {
18
18
  MANIFEST_RELATIVE_PATH
19
19
  } from "./chunk-KMK4T4ZM.js";
@@ -501,7 +501,9 @@ var KNOWN_SHIPPED_OVERLAY_HASHES = /* @__PURE__ */ new Set([
501
501
  "5c91baae02679b8339f5347e038a1ee45fd785eec8ed5d1865b8139d88f53e74",
502
502
  "5d8f9da50239efb7322d314ea2e6fae90e20942d0d4e325f35b7a59e4b2b8150",
503
503
  "885ae1082642136b1324bf2d8b3bb9924eed693f10ec7b08e7a59c636d8d5007",
504
- "eafbc96739f333138df4fbb2f1be8bd5b67681748ccbf02895f337b5edd29f37"
504
+ "eafbc96739f333138df4fbb2f1be8bd5b67681748ccbf02895f337b5edd29f37",
505
+ "41257d7384ba7751592beabd1c8505537a51f03e960a8a05760f1976e14f89c4",
506
+ "e37f33401799a1e26cbe9f922c629a47ad639946b6aa23050fdb554f02c689f5"
505
507
  ]);
506
508
 
507
509
  // src/lifecycle/paths.ts
@@ -5,11 +5,11 @@ import {
5
5
  compareSemver,
6
6
  normalizeSemver,
7
7
  readLocalKitVersion
8
- } from "./chunk-Y5526WCN.js";
8
+ } from "./chunk-D7L7PG7E.js";
9
9
  import {
10
10
  isRetiredSkillId,
11
11
  retireManagedFiles
12
- } from "./chunk-HGB4DHXV.js";
12
+ } from "./chunk-TADT7EHS.js";
13
13
  import {
14
14
  L0_ARTIFACTS
15
15
  } from "./chunk-CGXLR77R.js";
@@ -23,11 +23,11 @@ import {
23
23
  mergeStats,
24
24
  recordOutcome,
25
25
  resolveProtectedGlobs
26
- } from "./chunk-ZNZHDPS3.js";
26
+ } from "./chunk-HSDIVA4N.js";
27
27
  import {
28
28
  loadManagedHashLedger,
29
29
  saveManagedHashLedger
30
- } from "./chunk-RJP47EGS.js";
30
+ } from "./chunk-WMMFTZ6O.js";
31
31
  import {
32
32
  KIT_PACKAGE_SPEC,
33
33
  KIT_VERSION
@@ -8,7 +8,7 @@ import {
8
8
  formatRerunFlags,
9
9
  formatStaleCliRefusal,
10
10
  syncFromManifest
11
- } from "./chunk-2GXN7HVG.js";
11
+ } from "./chunk-XD4MLX7N.js";
12
12
  import {
13
13
  formatSkippedSymlinks,
14
14
  logApplyStats
@@ -16,17 +16,17 @@ import {
16
16
  import {
17
17
  REGISTRY_CLI_ARGS,
18
18
  resolveRegistryFromCli
19
- } from "./chunk-SWJJW624.js";
19
+ } from "./chunk-COKUFSJH.js";
20
20
  import {
21
21
  CLAUDE_SETTINGS_REL,
22
22
  formatClaudeSettingsDrift,
23
23
  formatPermissionsChanged,
24
24
  planClaudeSettingsDrift,
25
25
  writeClaudeSessionStartHook
26
- } from "./chunk-BVZDPVUL.js";
26
+ } from "./chunk-SOSU22LZ.js";
27
27
  import {
28
28
  generateClaudeCommandAdapters
29
- } from "./chunk-FUSNEYGU.js";
29
+ } from "./chunk-CHYROVQB.js";
30
30
  import {
31
31
  feedInstallsRegistry
32
32
  } from "./chunk-NHJ4IAVN.js";
@@ -41,14 +41,14 @@ import {
41
41
  confirmProjectRoot,
42
42
  isNonInteractive,
43
43
  syncPathCliToRuntime
44
- } from "./chunk-RRJVC35Y.js";
44
+ } from "./chunk-KAC3UOLE.js";
45
45
  import {
46
46
  checkForUpdates
47
- } from "./chunk-Y5526WCN.js";
47
+ } from "./chunk-D7L7PG7E.js";
48
48
  import {
49
49
  dropRetiredSkillIds,
50
50
  formatRetiredSkillDrop
51
- } from "./chunk-HGB4DHXV.js";
51
+ } from "./chunk-TADT7EHS.js";
52
52
  import {
53
53
  buildManifest,
54
54
  canonicalizePackIds,
@@ -57,10 +57,10 @@ import {
57
57
  loadAgentKitManifest,
58
58
  resolveProtectedGlobs,
59
59
  saveManifest
60
- } from "./chunk-ZNZHDPS3.js";
60
+ } from "./chunk-HSDIVA4N.js";
61
61
  import {
62
62
  seedManagedHashLedger
63
- } from "./chunk-RJP47EGS.js";
63
+ } from "./chunk-WMMFTZ6O.js";
64
64
  import {
65
65
  KIT_VERSION
66
66
  } from "./chunk-2G4K4ZI5.js";
@@ -151,7 +151,7 @@ var updateCommand = defineCommand({
151
151
  process.exitCode = 1;
152
152
  return;
153
153
  }
154
- const { runUpdateAll } = await import("./update-all-E2MV6KME.js");
154
+ const { runUpdateAll } = await import("./update-all-KOJPSDAJ.js");
155
155
  const result2 = await runUpdateAll({
156
156
  includeWorktrees: args["include-worktrees"],
157
157
  applyOptions: {
@@ -8,7 +8,7 @@ import "./chunk-TTUFIE26.js";
8
8
  import {
9
9
  CURSOR_COMMANDS_DIR_REL,
10
10
  discoverInstalledCommands
11
- } from "./chunk-FUSNEYGU.js";
11
+ } from "./chunk-CHYROVQB.js";
12
12
  import "./chunk-WGLPZXNU.js";
13
13
  import "./chunk-Q35TWISF.js";
14
14
  import "./chunk-QTON2GQX.js";
@@ -16,7 +16,7 @@ import {
16
16
  L0_ARTIFACTS
17
17
  } from "./chunk-CGXLR77R.js";
18
18
  import "./chunk-PFEUZXVT.js";
19
- import "./chunk-RJP47EGS.js";
19
+ import "./chunk-WMMFTZ6O.js";
20
20
  import {
21
21
  KIT_VERSION
22
22
  } from "./chunk-2G4K4ZI5.js";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  REGISTRY_CLI_ARGS,
3
3
  resolveRegistryFromCli
4
- } from "./chunk-SWJJW624.js";
4
+ } from "./chunk-COKUFSJH.js";
5
5
  import {
6
6
  logger
7
7
  } from "./chunk-ZB43YMHW.js";
8
8
  import {
9
9
  managedPairs
10
- } from "./chunk-HGB4DHXV.js";
10
+ } from "./chunk-TADT7EHS.js";
11
11
  import "./chunk-CGXLR77R.js";
12
12
  import {
13
13
  loadAgentKitManifest,
14
14
  normalizeRelPath
15
- } from "./chunk-ZNZHDPS3.js";
15
+ } from "./chunk-HSDIVA4N.js";
16
16
  import {
17
17
  resolveContained
18
- } from "./chunk-RJP47EGS.js";
18
+ } from "./chunk-WMMFTZ6O.js";
19
19
  import "./chunk-IHVJTGYR.js";
20
20
  import "./chunk-KMK4T4ZM.js";
21
21
  import "./chunk-O7VMHCNN.js";
@@ -7,7 +7,7 @@ import {
7
7
  findDashboardStart,
8
8
  readPreferredBrowserFromWorkspace,
9
9
  resolveDashboardSnapshotRoot
10
- } from "./chunk-LEVNLHH3.js";
10
+ } from "./chunk-7Z2E2PWM.js";
11
11
  import "./chunk-ZB43YMHW.js";
12
12
  export {
13
13
  applyDashboardOpenEnv,
@@ -5,7 +5,7 @@ import {
5
5
  findDashboardStart,
6
6
  negatedFlag,
7
7
  resolveDashboardSnapshotRoot
8
- } from "./chunk-LEVNLHH3.js";
8
+ } from "./chunk-7Z2E2PWM.js";
9
9
  import {
10
10
  logger
11
11
  } from "./chunk-ZB43YMHW.js";