@dadado/agent-kit-cli 6.23.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 (86) hide show
  1. package/README.md +1 -0
  2. package/dashboard/dashboard-data.mjs +126 -5
  3. package/dashboard/dashboard.html +48 -7
  4. package/dashboard/lib/guards.mjs +1 -0
  5. package/dashboard/lib/live-refresh.mjs +1 -0
  6. package/dist/{add-RKZQX6ZK.js → add-G7KEZLWP.js} +17 -8
  7. package/dist/{chunk-7HDQEK6T.js → chunk-2G4K4ZI5.js} +7 -3
  8. package/dist/{chunk-5PSV76CQ.js → chunk-2GXN7HVG.js} +26 -7
  9. package/dist/chunk-2QYWMSI5.js +193 -0
  10. package/dist/{chunk-B3VR5YBQ.js → chunk-2TW7ENWC.js} +12 -11
  11. package/dist/{chunk-IESSMKOV.js → chunk-5A72LTR3.js} +7 -7
  12. package/dist/{chunk-R4DUO5DA.js → chunk-AXQMVQ6O.js} +61 -237
  13. package/dist/{chunk-6WUKLS4D.js → chunk-BIFTTL2O.js} +1 -1
  14. package/dist/{chunk-AWQ6KRFV.js → chunk-BVZDPVUL.js} +1 -1
  15. package/dist/{chunk-QNISTPPZ.js → chunk-ENRXS5O6.js} +19 -12
  16. package/dist/chunk-FB6G6OD6.js +519 -0
  17. package/dist/{chunk-MFKHIWEL.js → chunk-FOVHFMSH.js} +1 -1
  18. package/dist/{chunk-6BEFGKCU.js → chunk-FUSNEYGU.js} +29 -3
  19. package/dist/chunk-H7KAXI5R.js +357 -0
  20. package/dist/chunk-HGB4DHXV.js +138 -0
  21. package/dist/{chunk-W3ZJVBNY.js → chunk-HXV6VQD4.js} +2374 -983
  22. package/dist/{chunk-BGL5DRK2.js → chunk-I3FGWNU5.js} +4 -4
  23. package/dist/chunk-IHVJTGYR.js +144 -0
  24. package/dist/{chunk-5LNHRL5E.js → chunk-IUY24WPE.js} +93 -263
  25. package/dist/chunk-JG5MKMOM.js +248 -0
  26. package/dist/{chunk-SGTTC2JP.js → chunk-JWIJHO67.js} +17 -2
  27. package/dist/chunk-KMK4T4ZM.js +34 -0
  28. package/dist/{chunk-ZMYV6PRE.js → chunk-LEVNLHH3.js} +2 -1
  29. package/dist/{chunk-2IP4OO6R.js → chunk-MGVV6YC4.js} +1 -1
  30. package/dist/{chunk-7TYA3GMI.js → chunk-MWRYQLEG.js} +7 -4
  31. package/dist/chunk-NHJ4IAVN.js +435 -0
  32. package/dist/{chunk-C4Q77GGJ.js → chunk-O7VMHCNN.js} +6 -0
  33. package/dist/{chunk-5EBT3V7G.js → chunk-OVRGTHZD.js} +1 -1
  34. package/dist/{chunk-F7YAAKYP.js → chunk-PCIYXGB3.js} +7 -5
  35. package/dist/{chunk-UJCATSYO.js → chunk-PLLXFSN2.js} +46 -17
  36. package/dist/{chunk-OYFCBYMP.js → chunk-RJP47EGS.js} +18 -1
  37. package/dist/{chunk-KDJ4ML7I.js → chunk-RRJVC35Y.js} +4 -4
  38. package/dist/{chunk-DRZFWIBN.js → chunk-SWJJW624.js} +1 -1
  39. package/dist/{chunk-MJJBIOSY.js → chunk-SYRJ5TTK.js} +34 -12
  40. package/dist/{chunk-L5V3W3DY.js → chunk-TTUFIE26.js} +60 -14
  41. package/dist/{chunk-JFS4GKP7.js → chunk-XXPI4H4D.js} +2 -2
  42. package/dist/{chunk-CVZNSRXV.js → chunk-Y5526WCN.js} +84 -19
  43. package/dist/{chunk-CQHD6UKB.js → chunk-Y575INEC.js} +2 -1
  44. package/dist/{chunk-V2H57TFD.js → chunk-ZNZHDPS3.js} +80 -170
  45. package/dist/{commands-SAQEEE6V.js → commands-K4HSDML5.js} +8 -6
  46. package/dist/{conflicts-5JOP4GX2.js → conflicts-4SUWIPWP.js} +9 -10
  47. package/dist/{contribute-BQKRT5GN.js → contribute-HE4WCBRY.js} +7 -5
  48. package/dist/{countdown-25E5C7AR.js → countdown-TYQHVAIX.js} +305 -32
  49. package/dist/{dashboard-P65XHYCU.js → dashboard-6V6PCNYF.js} +1 -1
  50. package/dist/{dashboard-broadcast-GYK34QYL.js → dashboard-broadcast-PMVQ7PXU.js} +1 -1
  51. package/dist/{diff-6JSXBVSX.js → diff-3XUZM7ZT.js} +15 -6
  52. package/dist/{doctor-I3MTHS7F.js → doctor-KGUWU5SN.js} +106 -19
  53. package/dist/{engine-info-BBI5QO5Y.js → engine-info-VM4VPGQM.js} +2 -2
  54. package/dist/{ground-control-IDCXN5FK.js → ground-control-ZIDHEOPW.js} +7 -4
  55. package/dist/{guard-RJZEEKSL.js → guard-ZO4Z3LLB.js} +47 -9
  56. package/dist/{handoff-5AGE2D3T.js → handoff-LLT4CI6H.js} +4 -3
  57. package/dist/{hook-WNA42CXE.js → hook-UPZ3CPYS.js} +22 -20
  58. package/dist/index.js +51 -33
  59. package/dist/{init-FZ2UFPO7.js → init-ZHLVXEVT.js} +25 -18
  60. package/dist/install-XWOG64W3.js +42 -0
  61. package/dist/installs-2ROXPO6M.js +223 -0
  62. package/dist/{mission-control-CRMCRZUU.js → mission-control-IGOI3WHS.js} +2 -2
  63. package/dist/models-5BDXREWM.js +45 -0
  64. package/dist/paths-JTPV6SXH.js +107 -0
  65. package/dist/pi-DCMDOY65.js +248 -0
  66. package/dist/{plan-index-BNLUU6T5.js → plan-index-5QZJK4AG.js} +2 -3
  67. package/dist/{queue-JW4VR33H.js → queue-Z5VNNHM6.js} +10 -12
  68. package/dist/{run-X2WOONTB.js → run-QURAXAR2.js} +27 -33
  69. package/dist/{run-plan-4MOLLIES.js → run-plan-4MMHVCTS.js} +35 -23
  70. package/dist/{scan-K3T5RQLC.js → scan-7D3RMO34.js} +2 -1
  71. package/dist/{session-start-MV7A4263.js → session-start-NC2HE5X5.js} +20 -14
  72. package/dist/{sessions-UPFDWDMB.js → sessions-WWWLYPW6.js} +4 -4
  73. package/dist/{setup-global-VNADNTQ2.js → setup-global-WDMARD4Z.js} +12 -10
  74. package/dist/{status-SXA3OK5E.js → status-2WNJL7PP.js} +17 -13
  75. package/dist/update-YSVOYYK5.js +32 -0
  76. package/dist/update-all-5XLTCHPX.js +697 -0
  77. package/package.json +14 -4
  78. package/pi/agent-kit.ts +224 -0
  79. package/dist/chunk-4MR4QXMF.js +0 -52
  80. package/dist/chunk-7ABY6DYH.js +0 -89
  81. package/dist/chunk-C4LCOOL4.js +0 -71
  82. package/dist/chunk-DZCLMIAS.js +0 -391
  83. package/dist/chunk-HAFRAXGV.js +0 -17
  84. package/dist/chunk-MUTTNRX4.js +0 -53
  85. package/dist/install-CTLT3TSI.js +0 -38
  86. package/dist/update-RMAWXMCV.js +0 -304
@@ -0,0 +1,248 @@
1
+ import {
2
+ RedactingStreamBuffer,
3
+ claudeRedactions,
4
+ redactSecrets
5
+ } from "./chunk-HXV6VQD4.js";
6
+ import {
7
+ fileExists
8
+ } from "./chunk-5B4DVO6C.js";
9
+
10
+ // src/plan-loop/external-review.ts
11
+ import { spawn } from "child_process";
12
+ import path from "path";
13
+ var CANONICAL_REL = path.join(".cursor", "scripts", "plan-external-review.sh");
14
+ var FALLBACK_REL = path.join("scripts", "plan-external-review.sh");
15
+ function isPlanExhaustedReason(reason) {
16
+ const r = reason.trim().toLowerCase();
17
+ if (!r) return false;
18
+ if (r.includes("plan exhausted")) return true;
19
+ if (r.includes("nothing to do")) return true;
20
+ if (r.includes("no implementable")) return true;
21
+ if (/\ball\s+(implementable\s+)?to-?dos?\b/.test(r) && (r.includes("completed") || r.includes("done") || r.includes("exhausted"))) {
22
+ return true;
23
+ }
24
+ return false;
25
+ }
26
+ function shouldArmExternalPlanReview(input) {
27
+ if (input.pending === 0) return true;
28
+ if (input.stopReason && isPlanExhaustedReason(input.stopReason)) return true;
29
+ return false;
30
+ }
31
+ async function armExternalPlanReview(root, options = {}) {
32
+ const spawnFn = options.spawnFn ?? spawn;
33
+ const existsFn = options.existsFn ?? fileExists;
34
+ const log = options.log ?? ((line) => console.log(line));
35
+ const force = options.force === true;
36
+ const canonicalPath = path.join(root, CANONICAL_REL);
37
+ const fallbackPath = path.join(root, FALLBACK_REL);
38
+ let scriptPath = null;
39
+ let scriptRel = CANONICAL_REL;
40
+ if (await existsFn(canonicalPath)) {
41
+ scriptPath = canonicalPath;
42
+ scriptRel = CANONICAL_REL;
43
+ } else if (await existsFn(fallbackPath)) {
44
+ scriptPath = fallbackPath;
45
+ scriptRel = FALLBACK_REL;
46
+ }
47
+ if (!scriptPath) {
48
+ log(
49
+ `tip: ${CANONICAL_REL} missing (optional wrapper: ${FALLBACK_REL}). Manual: /plan-external-review (enable externalPlanReview in .cursor/context/config.json).`
50
+ );
51
+ return { invoked: false, exitCode: null, output: "" };
52
+ }
53
+ log("Plan exhausted: arming optional external plan review (opt-in handled by script)...");
54
+ const args = force ? [scriptPath, "--force", "--print"] : [scriptPath, "--print"];
55
+ const implementerModel = options.implementerModel?.trim();
56
+ if (implementerModel) args.push("--implementer-model", implementerModel);
57
+ return new Promise((resolve) => {
58
+ const child = spawnFn("bash", args, {
59
+ cwd: root,
60
+ env: { ...process.env, AGENT_KIT_HEADLESS: "1" }
61
+ });
62
+ const redact = claudeRedactions(process.env);
63
+ const outBuffer = new RedactingStreamBuffer(redact);
64
+ const errBuffer = new RedactingStreamBuffer(redact);
65
+ let output = "";
66
+ const emitOut = (s) => {
67
+ if (!s) return;
68
+ output += s;
69
+ if (options.writeOut) options.writeOut(s);
70
+ else process.stdout.write(s);
71
+ };
72
+ const emitErr = (s) => {
73
+ if (!s) return;
74
+ output += s;
75
+ process.stderr.write(s);
76
+ };
77
+ let flushed = false;
78
+ const flush = () => {
79
+ if (flushed) return;
80
+ flushed = true;
81
+ emitOut(outBuffer.flush());
82
+ emitErr(errBuffer.flush());
83
+ };
84
+ child.stdout?.on("data", (chunk) => emitOut(outBuffer.push(chunk)));
85
+ child.stderr?.on("data", (chunk) => emitErr(errBuffer.push(chunk)));
86
+ child.on("error", (err) => {
87
+ flush();
88
+ log(
89
+ `tip: external plan review launcher failed (${redactSecrets(err.message, redact)}). Manual: ${scriptRel} or /plan-external-review`
90
+ );
91
+ resolve({ invoked: true, exitCode: null, output });
92
+ });
93
+ child.on("close", (code) => {
94
+ flush();
95
+ if (code !== 0 && code !== null) {
96
+ log(
97
+ `tip: external plan review exited ${code} (ignored; does not fail the loop). Manual: ${scriptRel} or /plan-external-review`
98
+ );
99
+ }
100
+ resolve({ invoked: true, exitCode: code, output });
101
+ });
102
+ });
103
+ }
104
+
105
+ // src/plan-loop/sentinel.ts
106
+ import { readFile } from "fs/promises";
107
+ var SENTINEL_RE = /LOOP_TICK_RESULT:\s*(continue|stop(?:\s*[—-].*)?)/i;
108
+ function takeFromText(text) {
109
+ if (!text) return null;
110
+ const m = SENTINEL_RE.exec(text);
111
+ if (!m?.[1]) return null;
112
+ const raw = m[1].trim();
113
+ if (raw.toLowerCase().startsWith("stop")) {
114
+ const reason = raw.slice(4).replace(/^[—\-\s]+/, "").trim() || "requested by agent";
115
+ return { kind: "stop", reason };
116
+ }
117
+ return { kind: "continue" };
118
+ }
119
+ function parseSentinelFromLog(content) {
120
+ let lastJson = null;
121
+ let lastText = null;
122
+ let sawJson = false;
123
+ for (const line of content.split(/\r?\n/)) {
124
+ const trimmed = line.trim();
125
+ if (!trimmed) continue;
126
+ if (!trimmed.startsWith("{")) {
127
+ const hit = takeFromText(trimmed);
128
+ if (hit) lastText = hit;
129
+ continue;
130
+ }
131
+ try {
132
+ const ev = JSON.parse(trimmed);
133
+ sawJson = true;
134
+ if (ev.type === "result" && typeof ev.result === "string") {
135
+ const hit = takeFromText(ev.result);
136
+ if (hit) lastJson = hit;
137
+ }
138
+ const parts = ev.type === "assistant" ? ev.message?.content : void 0;
139
+ if (Array.isArray(parts)) {
140
+ for (const part of parts) {
141
+ if (part && typeof part === "object" && part.type === "text" && typeof part.text === "string") {
142
+ const hit = takeFromText(part.text);
143
+ if (hit) lastJson = hit;
144
+ }
145
+ }
146
+ }
147
+ } catch {
148
+ const hit = takeFromText(trimmed);
149
+ if (hit) lastText = hit;
150
+ }
151
+ }
152
+ return (sawJson ? lastJson : lastText) ?? { kind: "missing" };
153
+ }
154
+ function parseTickResultStatus(content) {
155
+ let last = null;
156
+ for (const line of content.split(/\r?\n/)) {
157
+ const trimmed = line.trim();
158
+ if (!trimmed.startsWith("{")) continue;
159
+ try {
160
+ const ev = JSON.parse(trimmed);
161
+ if (ev.type !== "result") continue;
162
+ const errors = Array.isArray(ev.errors) ? ev.errors.filter((e) => typeof e === "string") : [];
163
+ last = {
164
+ isError: ev.is_error === true,
165
+ ...typeof ev.subtype === "string" ? { subtype: ev.subtype } : {},
166
+ errors
167
+ };
168
+ } catch {
169
+ }
170
+ }
171
+ return last;
172
+ }
173
+ async function parseTickResultStatusFromLogFile(logPath) {
174
+ try {
175
+ return parseTickResultStatus(await readFile(logPath, "utf8"));
176
+ } catch {
177
+ return null;
178
+ }
179
+ }
180
+ async function parseSentinelFromLogFile(logPath) {
181
+ try {
182
+ const content = await readFile(logPath, "utf8");
183
+ return parseSentinelFromLog(content);
184
+ } catch {
185
+ return { kind: "missing" };
186
+ }
187
+ }
188
+ function formatSentinelLine(sentinel) {
189
+ if (sentinel.kind === "continue") return "LOOP_TICK_RESULT: continue";
190
+ if (sentinel.kind === "stop") return `LOOP_TICK_RESULT: stop - ${sentinel.reason}`;
191
+ return "";
192
+ }
193
+ var AGENT_STOP_LINE_PREFIX = "Agent requested stop: ";
194
+ function formatAgentStopLine(sentinel) {
195
+ return `${AGENT_STOP_LINE_PREFIX}${formatSentinelLine(sentinel)}`;
196
+ }
197
+ var AGENT_STOP_LINE_RE = /^Agent requested stop: LOOP_TICK_RESULT: stop - (.*)$/;
198
+ function parseAgentStopLine(line) {
199
+ const m = AGENT_STOP_LINE_RE.exec(line.replace(/\r$/, ""));
200
+ if (!m) return null;
201
+ return m[1]?.trim() || "requested by agent";
202
+ }
203
+ var NO_PROGRESS_REASON = "tick reported continue without progress";
204
+ function formatNoProgressLine(input) {
205
+ return `Tick reported continue without progress (pending ${input.before} -> ${input.after}; plan and HANDOFF unchanged) - stopping for safety. See log: ${input.log}`;
206
+ }
207
+ var NO_PROGRESS_LINE_RE = /^Tick reported continue without progress \(pending \d+ -> \d+; plan and HANDOFF unchanged\) - stopping for safety\./;
208
+ function isNoProgressLine(line) {
209
+ return NO_PROGRESS_LINE_RE.test(line.replace(/\r$/, ""));
210
+ }
211
+ function sentinelFromTurn(turn) {
212
+ const fromResult = takeFromText(turn.resultText);
213
+ if (fromResult) return fromResult;
214
+ for (let i = turn.assistantTexts.length - 1; i >= 0; i--) {
215
+ const hit = takeFromText(turn.assistantTexts[i] ?? "");
216
+ if (hit) return hit;
217
+ }
218
+ return null;
219
+ }
220
+ function tickResultStatusFromTurn(turn) {
221
+ return {
222
+ isError: turn.isError,
223
+ ...turn.subtype !== null ? { subtype: turn.subtype } : {},
224
+ errors: turn.errors
225
+ };
226
+ }
227
+ async function resolveTickResultStatus(lastResult, logPath, fromFile = parseTickResultStatusFromLogFile) {
228
+ if (lastResult) return tickResultStatusFromTurn(lastResult);
229
+ return fromFile(logPath);
230
+ }
231
+ async function resolveTickSentinel(lastResult, logPath, fromFile = parseSentinelFromLogFile) {
232
+ const fromTurn = lastResult ? sentinelFromTurn(lastResult) : null;
233
+ return fromTurn ?? fromFile(logPath);
234
+ }
235
+
236
+ export {
237
+ isPlanExhaustedReason,
238
+ shouldArmExternalPlanReview,
239
+ armExternalPlanReview,
240
+ formatSentinelLine,
241
+ formatAgentStopLine,
242
+ parseAgentStopLine,
243
+ NO_PROGRESS_REASON,
244
+ formatNoProgressLine,
245
+ isNoProgressLine,
246
+ resolveTickResultStatus,
247
+ resolveTickSentinel
248
+ };
@@ -9,18 +9,19 @@ import {
9
9
  cursorAcpBackend,
10
10
  cursorAgentHeadlessArgs,
11
11
  cursorAgentReviewArgs,
12
+ localBackend,
12
13
  openrouterArgs,
13
14
  redactSecrets,
14
15
  resolveHitlRunOptions,
15
16
  spawnLogged
16
- } from "./chunk-W3ZJVBNY.js";
17
+ } from "./chunk-HXV6VQD4.js";
17
18
  import {
18
19
  RESERVED_GATE_IDS
19
20
  } from "./chunk-P7732A25.js";
20
21
  import {
21
22
  ensureLoopLogsDir,
22
23
  runnerStatePaths
23
- } from "./chunk-C4Q77GGJ.js";
24
+ } from "./chunk-O7VMHCNN.js";
24
25
  import {
25
26
  fileExists
26
27
  } from "./chunk-5B4DVO6C.js";
@@ -158,6 +159,20 @@ async function runHeadlessDispatch(opts) {
158
159
  onSpawn: opts.onSpawn
159
160
  });
160
161
  }
162
+ if (opts.backendId === "local") {
163
+ return localBackend.run({
164
+ workspace: opts.workspace,
165
+ prompt: opts.prompt,
166
+ model: opts.model,
167
+ logPath: opts.logPath,
168
+ spawnFn: opts.spawnFn,
169
+ log: opts.log,
170
+ hitl: opts.hitl,
171
+ render: opts.render,
172
+ onSpawn: opts.onSpawn,
173
+ ...opts.onProgress ? { onProgress: opts.onProgress } : {}
174
+ });
175
+ }
161
176
  if (opts.backendId === "openrouter") {
162
177
  const log = opts.log ?? ((line) => console.log(line));
163
178
  const env = claudeChildEnv();
@@ -0,0 +1,34 @@
1
+ import {
2
+ HANDOFF_REL
3
+ } from "./chunk-O7VMHCNN.js";
4
+
5
+ // src/manifest/types.ts
6
+ var MANIFEST_FILENAME = "agent-kit.json";
7
+ var MANIFEST_RELATIVE_PATH = `.cursor/${MANIFEST_FILENAME}`;
8
+ var MANIFEST_SCHEMA_VERSION = 1;
9
+ var DEFAULT_PROTECTED_PATHS = [
10
+ HANDOFF_REL,
11
+ ".cursor/plans/**",
12
+ ".cursor/memory/**",
13
+ ".cursor/context/config.json",
14
+ ".cursor/context/current/**",
15
+ ".cursor/context/backups/**"
16
+ ];
17
+ var LEGACY_CONTEXT_PROTECTED_GLOB = ".cursor/context/**";
18
+ var DOMAIN_PACK_IDS = [
19
+ "cybersec",
20
+ "devops",
21
+ "engineering-architecture",
22
+ "clean-code",
23
+ "project-management",
24
+ "context-management",
25
+ "quality"
26
+ ];
27
+
28
+ export {
29
+ MANIFEST_RELATIVE_PATH,
30
+ MANIFEST_SCHEMA_VERSION,
31
+ DEFAULT_PROTECTED_PATHS,
32
+ LEGACY_CONTEXT_PROTECTED_GLOB,
33
+ DOMAIN_PACK_IDS
34
+ };
@@ -27,7 +27,8 @@ var ROLE_CAPABILITIES = Object.freeze({
27
27
  "cursor-agent": Object.freeze({ workerModel: true, subworkerModel: false, reviewer: true }),
28
28
  codex: Object.freeze({ workerModel: true, subworkerModel: false, reviewer: false }),
29
29
  openrouter: Object.freeze({ workerModel: true, subworkerModel: false, reviewer: false }),
30
- "cursor-acp": Object.freeze({ workerModel: false, subworkerModel: false, reviewer: false })
30
+ "cursor-acp": Object.freeze({ workerModel: false, subworkerModel: false, reviewer: false }),
31
+ local: Object.freeze({ workerModel: true, subworkerModel: false, reviewer: false })
31
32
  });
32
33
  var CONFIG_ROLE_WORKER_BACKENDS = Object.freeze([
33
34
  "auto",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MANIFEST_RELATIVE_PATH
3
- } from "./chunk-V2H57TFD.js";
3
+ } from "./chunk-KMK4T4ZM.js";
4
4
  import {
5
5
  fileExists
6
6
  } from "./chunk-5B4DVO6C.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  managedPairs
3
- } from "./chunk-4MR4QXMF.js";
3
+ } from "./chunk-HGB4DHXV.js";
4
4
  import {
5
5
  isProtectedPath,
6
6
  resolveProtectedGlobs
7
- } from "./chunk-V2H57TFD.js";
7
+ } from "./chunk-ZNZHDPS3.js";
8
8
  import {
9
9
  resolveContained
10
- } from "./chunk-OYFCBYMP.js";
10
+ } from "./chunk-RJP47EGS.js";
11
11
 
12
12
  // src/lifecycle/diff.ts
13
13
  import { readFile } from "fs/promises";
@@ -57,10 +57,13 @@ async function diffAgainstRegistry(registryRoot, projectRoot, manifest) {
57
57
  await comparePair(registryRoot, projectRoot, sourceRel, targetRel, protectedGlobs)
58
58
  );
59
59
  };
60
- const { pairs, missingSkills } = await managedPairs(registryRoot, manifest);
60
+ const { pairs, missingSkills, missingPacks } = await managedPairs(registryRoot, manifest);
61
61
  for (const { sourceRel, targetRel } of pairs) {
62
62
  await pushUnique(sourceRel, targetRel);
63
63
  }
64
+ for (const id of missingPacks) {
65
+ entries.push({ path: `pack:${id}`, status: "missing-registry" });
66
+ }
64
67
  for (const id of missingSkills) {
65
68
  entries.push({ path: `skill:${id}`, status: "missing-registry" });
66
69
  }