@dadado/agent-kit-cli 6.10.0 → 6.11.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 (46) hide show
  1. package/dashboard/lib/semantic-model.d.mts +14 -0
  2. package/dashboard/lib/semantic-model.mjs +3 -0
  3. package/dist/{add-7GH3K44T.js → add-P4DIZKC2.js} +3 -3
  4. package/dist/{chunk-O5FKTKOW.js → chunk-2B3HHQ3L.js} +3 -3
  5. package/dist/{chunk-6LRY2CYU.js → chunk-47ZJ3S7M.js} +4 -1
  6. package/dist/{chunk-TUZVOPKY.js → chunk-5D5BJZW5.js} +75 -122
  7. package/dist/{chunk-BB22FGQ4.js → chunk-5KDMATUR.js} +1 -1
  8. package/dist/{chunk-6UKI4CAN.js → chunk-5TEXYAGP.js} +10 -1
  9. package/dist/{chunk-LPZ2KXVE.js → chunk-6GM5YUWR.js} +1 -1
  10. package/dist/chunk-7ABY6DYH.js +89 -0
  11. package/dist/{chunk-HVH24VRL.js → chunk-7T4MDNV3.js} +1 -1
  12. package/dist/{chunk-BSYQJ5WF.js → chunk-AOSXKF3M.js} +1 -1
  13. package/dist/{chunk-26KXYR5T.js → chunk-BOZUBCQA.js} +2 -2
  14. package/dist/{chunk-GQ6Q3P7C.js → chunk-CAOQBBP5.js} +2 -2
  15. package/dist/{chunk-LGSNC4OI.js → chunk-FQNAEFTW.js} +1 -1
  16. package/dist/{chunk-BIFWN6BJ.js → chunk-FTLMWPQY.js} +1 -1
  17. package/dist/{chunk-52WYZFP5.js → chunk-H3PQYVFT.js} +2 -2
  18. package/dist/{chunk-MTLQN57O.js → chunk-JPAQOESJ.js} +85 -1
  19. package/dist/{chunk-BZI5G3OZ.js → chunk-KHFPPQJ5.js} +35 -5
  20. package/dist/{chunk-75ELVLBY.js → chunk-MAXEVJCP.js} +1 -1
  21. package/dist/{chunk-ZF4YBL7F.js → chunk-Q4J5UXVQ.js} +1 -1
  22. package/dist/{chunk-CXDAT76O.js → chunk-S4T6KYYA.js} +2 -2
  23. package/dist/{chunk-TZA7MT4I.js → chunk-SZ5REXPD.js} +2 -2
  24. package/dist/chunk-UGJ3YAT2.js +273 -0
  25. package/dist/{chunk-HIJTNHJE.js → chunk-UQSFGLY5.js} +3 -3
  26. package/dist/{chunk-S7XAV6JK.js → chunk-VWDFMXFK.js} +5 -5
  27. package/dist/{chunk-K5OCGZWA.js → chunk-YN5NBMQT.js} +8 -8
  28. package/dist/{commands-EQHK3ZEP.js → commands-F437QCGQ.js} +5 -5
  29. package/dist/{contribute-VSVPRHQ7.js → contribute-G5DFZCH6.js} +4 -4
  30. package/dist/{countdown-XYRE4GZU.js → countdown-6SP7IEJ3.js} +7 -7
  31. package/dist/{diff-4P7LMQK5.js → diff-VCVSR4OV.js} +5 -5
  32. package/dist/{doctor-E6LOBJYK.js → doctor-5LPPWRPI.js} +9 -9
  33. package/dist/{engine-info-3MQML5I2.js → engine-info-LEE37RRK.js} +2 -2
  34. package/dist/{ground-control-726LRB6Q.js → ground-control-IJ5NQVLP.js} +4 -4
  35. package/dist/{guard-M3W3QE62.js → guard-X6FNFZ27.js} +13 -3
  36. package/dist/{hook-HJW5SXQG.js → hook-A22PNYY2.js} +5 -5
  37. package/dist/index.js +23 -21
  38. package/dist/{init-KKVT2RW4.js → init-VCOMQ32C.js} +12 -12
  39. package/dist/{install-BPZTP5KT.js → install-YXOE2U6T.js} +12 -12
  40. package/dist/queue-Q2LEPXSY.js +172 -0
  41. package/dist/{run-326EEQYY.js → run-BOWCPU56.js} +50 -271
  42. package/dist/{run-plan-2IFO4G4Y.js → run-plan-P65QMVCS.js} +8 -7
  43. package/dist/{setup-global-BFBSR2RZ.js → setup-global-QEEW7ASU.js} +6 -6
  44. package/dist/{status-LNXVLDMP.js → status-WGO2O7TR.js} +7 -7
  45. package/dist/{update-PX5XFCSG.js → update-LV335HJU.js} +10 -10
  46. package/package.json +20 -13
@@ -1,33 +1,29 @@
1
1
  import {
2
- readRunQueueState,
3
2
  runPlanLoop,
4
3
  shouldUseLiveTui,
5
4
  withLiveTui
6
- } from "./chunk-TUZVOPKY.js";
5
+ } from "./chunk-5D5BJZW5.js";
6
+ import "./chunk-LFWPB2JR.js";
7
+ import {
8
+ landDispatchOutcome,
9
+ runDispatchDriver
10
+ } from "./chunk-UGJ3YAT2.js";
11
+ import "./chunk-7ABY6DYH.js";
7
12
  import {
8
- DRIVER_EVENTS_FORMATS,
9
- DRIVER_PROTOCOL_VERSION,
10
- DriverAgentSink,
11
- createDriverAnswerReader,
12
- createDriverEmitter,
13
- driverReplies,
14
- driverStop
15
- } from "./chunk-CXDAT76O.js";
13
+ DRIVER_EVENTS_FORMATS
14
+ } from "./chunk-S4T6KYYA.js";
16
15
  import {
17
16
  REVIEW_PACK_SLASH,
18
17
  runReviewJob
19
- } from "./chunk-S7XAV6JK.js";
18
+ } from "./chunk-VWDFMXFK.js";
20
19
  import {
21
20
  detectAgentBackend,
22
21
  listDetectBackendIds
23
- } from "./chunk-BB22FGQ4.js";
24
- import "./chunk-BSYQJ5WF.js";
22
+ } from "./chunk-5KDMATUR.js";
23
+ import "./chunk-AOSXKF3M.js";
25
24
  import {
26
- LAND_ON_GATE_DESCRIPTION,
27
- classifyGateExit,
28
- landGateExit
29
- } from "./chunk-26KXYR5T.js";
30
- import "./chunk-LFWPB2JR.js";
25
+ LAND_ON_GATE_DESCRIPTION
26
+ } from "./chunk-BOZUBCQA.js";
31
27
  import {
32
28
  negatedFlag
33
29
  } from "./chunk-XDCCYBCJ.js";
@@ -40,277 +36,40 @@ import {
40
36
  normalizeSlashName,
41
37
  promoteBlockedMessage,
42
38
  readCommandFile,
39
+ resolveOperatorNote,
43
40
  runHeadlessDispatch,
44
41
  unknownSlashMessage
45
- } from "./chunk-BZI5G3OZ.js";
42
+ } from "./chunk-KHFPPQJ5.js";
46
43
  import {
47
44
  getBackend
48
- } from "./chunk-6UKI4CAN.js";
45
+ } from "./chunk-5TEXYAGP.js";
49
46
  import {
50
47
  HITL_UNANSWERED_EXIT_CODE,
51
48
  formatHitlSummary,
52
49
  hitlExitCode
53
- } from "./chunk-MTLQN57O.js";
50
+ } from "./chunk-JPAQOESJ.js";
54
51
  import "./chunk-WGLPZXNU.js";
55
52
  import "./chunk-6RRG3WOE.js";
56
53
  import "./chunk-QTON2GQX.js";
57
54
  import {
58
55
  logger
59
56
  } from "./chunk-ZB43YMHW.js";
60
- import {
61
- HANDOFF_REL
62
- } from "./chunk-C4Q77GGJ.js";
57
+ import "./chunk-C4Q77GGJ.js";
63
58
  import "./chunk-5B4DVO6C.js";
64
59
 
65
60
  // src/commands/run.ts
66
61
  import { homedir } from "os";
67
- import path2 from "path";
68
- import { defineCommand } from "citty";
69
-
70
- // src/plan-loop/dispatch-driver.ts
71
- import { readFile } from "fs/promises";
72
62
  import path from "path";
73
- var DISPATCH_DRIVER_TICK = 1;
74
- var QUEUE_STATE_POLL_MS = 1e3;
75
- function projectQueueState(handoff) {
76
- const { queue, cursor, current, status } = readRunQueueState(handoff);
77
- if (queue.length === 0) return { cursor: null, total: 0, current: null, status: null };
78
- return { cursor, total: queue.length, current, status };
79
- }
80
- async function readHandoffText(root) {
81
- try {
82
- return await readFile(path.join(root, HANDOFF_REL), "utf8");
83
- } catch {
84
- return null;
85
- }
86
- }
87
- async function readQueueState(root) {
88
- return projectQueueState(await readHandoffText(root) ?? "");
89
- }
90
- function createQueueStateWatcher(opts) {
91
- const read = opts.read ?? (() => readHandoffText(opts.root));
92
- let last = JSON.stringify(opts.initial);
93
- let pending = null;
94
- let busy = null;
95
- let stopped = false;
96
- const emit = (next, key) => {
97
- last = key;
98
- pending = null;
99
- opts.emitter.emit({ type: "queue_state", ...next });
100
- };
101
- const sample = async () => {
102
- const text = await read();
103
- if (text !== null && text.trim() === "") return null;
104
- const next = projectQueueState(text ?? "");
105
- return { next, key: JSON.stringify(next) };
106
- };
107
- const check = async () => {
108
- const got = await sample();
109
- if (!got || stopped) return;
110
- if (got.key === last) {
111
- pending = null;
112
- return;
113
- }
114
- if (got.key !== pending) {
115
- pending = got.key;
116
- return;
117
- }
118
- emit(got.next, got.key);
119
- };
120
- const tick = () => {
121
- if (busy) return busy;
122
- busy = check().finally(() => {
123
- busy = null;
124
- });
125
- return busy;
126
- };
127
- opts.emitter.emit({ type: "queue_state", ...opts.initial });
128
- const timer = setInterval(() => {
129
- void tick();
130
- }, opts.pollMs ?? QUEUE_STATE_POLL_MS);
131
- timer.unref?.();
132
- return {
133
- flush: async () => {
134
- if (busy) await busy;
135
- const got = await sample();
136
- if (!got || stopped || got.key === last) return;
137
- emit(got.next, got.key);
138
- },
139
- stop: () => {
140
- stopped = true;
141
- clearInterval(timer);
142
- }
143
- };
144
- }
145
- async function landDispatchOutcome(opts) {
146
- const { result } = opts;
147
- const stop = result.hitl?.stop;
148
- const trigger = classifyGateExit({ stop, failed: opts.exitCode !== 0 });
149
- if (!trigger) return;
150
- const summary = result.lastResult?.resultText.trim() || result.lastResult?.assistantTexts.at(-1)?.trim() || void 0;
151
- try {
152
- await landGateExit({
153
- root: opts.root,
154
- outcome: {
155
- trigger,
156
- exitCode: opts.exitCode,
157
- reason: stop?.message ?? `${opts.backendId} exited with code ${opts.exitCode}`,
158
- command: `run ${opts.slash}`,
159
- backend: opts.backendId,
160
- logPath: opts.logPath,
161
- ...stop ? { askId: stop.askId } : {},
162
- ...summary ? { summary } : {},
163
- ...result.lastResult ? {
164
- gateText: [result.lastResult.resultText, ...result.lastResult.assistantTexts].join(
165
- "\n"
166
- )
167
- } : {}
168
- },
169
- log: opts.log
170
- });
171
- } catch (err) {
172
- opts.log(`gate-exit: landing failed: ${String(err)}`);
173
- }
174
- }
175
- async function runDispatchDriver(opts) {
176
- const root = path.resolve(opts.root);
177
- const emitter = createDriverEmitter(opts.events.write, opts.events.now);
178
- const reader = createDriverAnswerReader({
179
- input: opts.events.input,
180
- emitter,
181
- tick: () => DISPATCH_DRIVER_TICK
182
- });
183
- const writeErr = opts.events.writeErr ?? ((text) => {
184
- process.stderr.write(text);
185
- });
186
- const say = (message, level = "info") => emitter.emit({ type: "log", level, message });
187
- let ticks = 0;
188
- let queue = null;
189
- const finish = async (exitCode, reason, result) => {
190
- if (queue) {
191
- await queue.flush();
192
- queue.stop();
193
- }
194
- emitter.emit({
195
- type: "run_end",
196
- exitCode,
197
- ticks,
198
- pending: null,
199
- reason,
200
- planExhausted: false,
201
- replies: driverReplies(result?.hitl?.replies),
202
- stop: driverStop(result?.hitl?.stop)
203
- });
204
- reader.close();
205
- return exitCode;
206
- };
207
- const detected = await detectAgentBackend(opts.backend, opts.whichFn);
208
- if (!detected.ok) {
209
- say(detected.message, "error");
210
- return finish(1, detected.message);
211
- }
212
- const file = await readCommandFile(root, opts.slash);
213
- if (!file.ok) {
214
- say(file.message, "error");
215
- return finish(1, file.message);
216
- }
217
- const prompt = buildDispatchPrompt(file.body);
218
- const initialQueue = await readQueueState(root);
219
- emitter.emit({
220
- type: "run_start",
221
- protocol: DRIVER_PROTOCOL_VERSION,
222
- command: opts.slash,
223
- backend: detected.id,
224
- plan: null,
225
- pending: null,
226
- maxTicks: null,
227
- hitl: opts.noHitl ? "off" : "driver",
228
- queue: initialQueue
229
- });
230
- queue = createQueueStateWatcher({
231
- root,
232
- emitter,
233
- initial: initialQueue,
234
- pollMs: opts.queuePollMs
235
- });
236
- say(`Dispatch: ${opts.slash} via ${detected.id}`);
237
- say(`Command file: ${path.relative(root, file.path)}`);
238
- if (opts.dryRun) {
239
- say("--dry-run: no agent will be started. Prompt:");
240
- say(prompt);
241
- return finish(0, "dry-run");
242
- }
243
- const logPath = await ensureDispatchLogPath(root);
244
- say(`Log: ${path.relative(root, logPath)}`);
245
- const onSigInt = () => {
246
- queue?.stop();
247
- emitter.emit({
248
- type: "run_end",
249
- exitCode: 130,
250
- ticks,
251
- pending: null,
252
- reason: "interrupted (SIGINT)",
253
- planExhausted: false
254
- });
255
- process.exit(130);
256
- };
257
- process.on("SIGINT", onSigInt);
258
- try {
259
- ticks = DISPATCH_DRIVER_TICK;
260
- let result;
261
- try {
262
- result = await runHeadlessDispatch({
263
- backendId: detected.id,
264
- bin: detected.bin,
265
- workspace: root,
266
- prompt,
267
- model: opts.model,
268
- logPath,
269
- spawnFn: opts.spawnFn,
270
- versionFn: opts.versionFn,
271
- log: (line) => say(line),
272
- render: new DriverAgentSink(emitter, DISPATCH_DRIVER_TICK),
273
- hitl: {
274
- policy: opts.noHitl ? "off" : "driver",
275
- readAnswer: reader.read,
276
- write: writeErr
277
- }
278
- });
279
- } catch (err) {
280
- say(String(err), "error");
281
- return finish(1, `${opts.slash} failed to start: ${String(err)}`);
282
- }
283
- for (const line of formatHitlSummary(result.hitl)) say(line);
284
- const exitCode = hitlExitCode(result.exitCode, result.hitl);
285
- if (opts.landOnGate) {
286
- await landDispatchOutcome({
287
- root,
288
- slash: opts.slash,
289
- backendId: detected.id,
290
- logPath,
291
- exitCode,
292
- result,
293
- log: (line) => say(line, "warn")
294
- });
295
- }
296
- const stop = result.hitl?.stop;
297
- const reason = stop ? stop.message : exitCode === 0 ? "session ended" : `${detected.id} exited with code ${exitCode}`;
298
- return finish(exitCode, reason, result);
299
- } finally {
300
- process.off("SIGINT", onSigInt);
301
- }
302
- }
303
-
304
- // src/commands/run.ts
63
+ import { defineCommand } from "citty";
305
64
  var DRIVER_DISPATCH_SLASH = "run-plan-all";
306
65
  function displayPath(target, home = homedir()) {
307
- const resolvedHome = path2.resolve(home);
66
+ const resolvedHome = path.resolve(home);
308
67
  if (target === resolvedHome) return "~";
309
- const prefix = resolvedHome.endsWith(path2.sep) ? resolvedHome : `${resolvedHome}${path2.sep}`;
310
- return target.startsWith(prefix) ? `~${path2.sep}${target.slice(prefix.length)}` : target;
68
+ const prefix = resolvedHome.endsWith(path.sep) ? resolvedHome : `${resolvedHome}${path.sep}`;
69
+ return target.startsWith(prefix) ? `~${path.sep}${target.slice(prefix.length)}` : target;
311
70
  }
312
71
  async function executeRun(input) {
313
- const root = path2.resolve(input.cwd);
72
+ const root = path.resolve(input.cwd);
314
73
  const slash = normalizeSlashName(input.slash);
315
74
  if (!slash) {
316
75
  return { exitCode: 1, error: "Provide a slash: agent-kit run <slash>" };
@@ -328,6 +87,9 @@ async function executeRun(input) {
328
87
  if (input.includeReviewed && slash !== REVIEW_PACK_SLASH) {
329
88
  return { exitCode: 1, error: `--include-reviewed only applies to ${REVIEW_PACK_SLASH}` };
330
89
  }
90
+ if (input.note !== void 0 && slash !== DRIVER_DISPATCH_SLASH) {
91
+ return { exitCode: 1, error: `--note only applies to ${DRIVER_DISPATCH_SLASH}` };
92
+ }
331
93
  if (input.events) {
332
94
  if (slash !== DRIVER_DISPATCH_SLASH) {
333
95
  return {
@@ -344,6 +106,7 @@ async function executeRun(input) {
344
106
  noHitl: input.noHitl === true,
345
107
  landOnGate: input.landOnGate === true,
346
108
  events: input.events,
109
+ ...input.note !== void 0 ? { note: input.note } : {},
347
110
  whichFn: input.whichFn
348
111
  });
349
112
  return { exitCode };
@@ -399,12 +162,12 @@ async function executeRun(input) {
399
162
  if (!file.ok) {
400
163
  return { exitCode: 1, error: file.message };
401
164
  }
402
- const prompt = buildDispatchPrompt(file.body);
165
+ const prompt = buildDispatchPrompt(file.body, input.note);
403
166
  if (input.dryRun) {
404
167
  const stdout = [
405
168
  "--dry-run: no agent will be started.",
406
169
  `Slash: ${slash}`,
407
- `Command file: ${path2.relative(root, file.path)}`,
170
+ `Command file: ${path.relative(root, file.path)}`,
408
171
  `Backend: ${detected.id} (${displayPath(detected.bin)})`,
409
172
  "Prompt:",
410
173
  prompt
@@ -413,8 +176,8 @@ async function executeRun(input) {
413
176
  }
414
177
  const logPath = await ensureDispatchLogPath(root);
415
178
  console.log(`Dispatch: ${slash} via ${detected.id}`);
416
- console.log(`Command file: ${path2.relative(root, file.path)}`);
417
- console.log(`Log: ${path2.relative(root, logPath)}`);
179
+ console.log(`Command file: ${path.relative(root, file.path)}`);
180
+ console.log(`Log: ${path.relative(root, logPath)}`);
418
181
  try {
419
182
  const dispatch = {
420
183
  backendId: detected.id,
@@ -531,6 +294,16 @@ async function runSlashCli(slash, args) {
531
294
  process.exitCode = 1;
532
295
  return;
533
296
  }
297
+ let note;
298
+ if (args.note) {
299
+ const resolved = await resolveOperatorNote(String(args.note), path.resolve(String(args.cwd)));
300
+ if (!resolved.ok) {
301
+ logger.error(resolved.message);
302
+ process.exitCode = 1;
303
+ return;
304
+ }
305
+ note = resolved.note;
306
+ }
534
307
  const result = await executeRun({
535
308
  slash,
536
309
  cwd: String(args.cwd),
@@ -544,7 +317,8 @@ async function runSlashCli(slash, args) {
544
317
  landOnGate: Boolean(args["land-on-gate"]),
545
318
  ...args["max-pack-bytes"] ? { maxPackBytes: String(args["max-pack-bytes"]) } : {},
546
319
  ...args["include-reviewed"] ? { includeReviewed: true } : {},
547
- ...events ? { events: {} } : {}
320
+ ...events ? { events: {} } : {},
321
+ ...note !== void 0 ? { note } : {}
548
322
  });
549
323
  if (result.stdout) {
550
324
  console.log(result.stdout);
@@ -582,7 +356,12 @@ var runPlanAllCommand = defineCommand({
582
356
  ...runDispatchArgs,
583
357
  events: {
584
358
  type: "string",
585
- description: "Driver mode for apps: `ndjson` writes only NDJSON events to stdout and reads HITL answers as JSON lines on stdin (no TTY needed; driver protocol 1.2.0, see docs/driver-events-protocol.md)",
359
+ description: "Driver mode for apps: `ndjson` writes only NDJSON events to stdout and reads HITL answers as JSON lines on stdin (no TTY needed; driver protocol 1.3.0, see docs/driver-events-protocol.md)",
360
+ default: ""
361
+ },
362
+ note: {
363
+ type: "string",
364
+ description: "Operator resolution note appended to the session prompt: text or @file (e.g. the output of `agent-kit queue gates --prompt`). Context only, never a gate answer: a HITL_GATE:/HITL_REPLY: line is rejected",
586
365
  default: ""
587
366
  }
588
367
  },
@@ -1,17 +1,18 @@
1
1
  import {
2
2
  runPlanLoop
3
- } from "./chunk-TUZVOPKY.js";
3
+ } from "./chunk-5D5BJZW5.js";
4
+ import "./chunk-LFWPB2JR.js";
5
+ import "./chunk-7ABY6DYH.js";
4
6
  import {
5
7
  DRIVER_EVENTS_FORMATS
6
- } from "./chunk-CXDAT76O.js";
8
+ } from "./chunk-S4T6KYYA.js";
7
9
  import {
8
10
  detectAgentBackend,
9
11
  listDetectBackendIds
10
- } from "./chunk-BB22FGQ4.js";
12
+ } from "./chunk-5KDMATUR.js";
11
13
  import {
12
14
  LAND_ON_GATE_DESCRIPTION
13
- } from "./chunk-26KXYR5T.js";
14
- import "./chunk-LFWPB2JR.js";
15
+ } from "./chunk-BOZUBCQA.js";
15
16
  import {
16
17
  negatedFlag
17
18
  } from "./chunk-XDCCYBCJ.js";
@@ -19,10 +20,10 @@ import "./chunk-L5V3W3DY.js";
19
20
  import "./chunk-MUTTNRX4.js";
20
21
  import {
21
22
  getBackend
22
- } from "./chunk-6UKI4CAN.js";
23
+ } from "./chunk-5TEXYAGP.js";
23
24
  import {
24
25
  HITL_UNANSWERED_EXIT_CODE
25
- } from "./chunk-MTLQN57O.js";
26
+ } from "./chunk-JPAQOESJ.js";
26
27
  import "./chunk-WGLPZXNU.js";
27
28
  import "./chunk-6RRG3WOE.js";
28
29
  import "./chunk-QTON2GQX.js";
@@ -2,17 +2,17 @@ import {
2
2
  classifyInstallError,
3
3
  isNonInteractive,
4
4
  pathCliStatus
5
- } from "./chunk-TZA7MT4I.js";
5
+ } from "./chunk-SZ5REXPD.js";
6
6
  import {
7
7
  assessEnvironment
8
8
  } from "./chunk-B3VR5YBQ.js";
9
- import "./chunk-52WYZFP5.js";
9
+ import "./chunk-H3PQYVFT.js";
10
10
  import "./chunk-PFEUZXVT.js";
11
- import "./chunk-O5FKTKOW.js";
12
- import "./chunk-LPZ2KXVE.js";
11
+ import "./chunk-2B3HHQ3L.js";
12
+ import "./chunk-6GM5YUWR.js";
13
13
  import "./chunk-2KIOZMTV.js";
14
- import "./chunk-HVH24VRL.js";
15
- import "./chunk-6LRY2CYU.js";
14
+ import "./chunk-7T4MDNV3.js";
15
+ import "./chunk-47ZJ3S7M.js";
16
16
  import {
17
17
  KIT_VERSION,
18
18
  pinnedCliSpec
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  detectWorkspaceParent,
3
3
  workspaceParentAdvisoryLines
4
- } from "./chunk-BIFWN6BJ.js";
4
+ } from "./chunk-FTLMWPQY.js";
5
5
  import {
6
6
  createReadinessReport
7
7
  } from "./chunk-PNFF6OU3.js";
@@ -15,21 +15,21 @@ import {
15
15
  import {
16
16
  npxPinned,
17
17
  pathCliStatus
18
- } from "./chunk-TZA7MT4I.js";
18
+ } from "./chunk-SZ5REXPD.js";
19
19
  import {
20
20
  assessEnvironment
21
21
  } from "./chunk-B3VR5YBQ.js";
22
- import "./chunk-52WYZFP5.js";
22
+ import "./chunk-H3PQYVFT.js";
23
23
  import "./chunk-PFEUZXVT.js";
24
- import "./chunk-O5FKTKOW.js";
25
- import "./chunk-LPZ2KXVE.js";
24
+ import "./chunk-2B3HHQ3L.js";
25
+ import "./chunk-6GM5YUWR.js";
26
26
  import "./chunk-2KIOZMTV.js";
27
27
  import {
28
28
  MANIFEST_RELATIVE_PATH,
29
29
  loadAgentKitManifest,
30
30
  resolveProtectedGlobs
31
- } from "./chunk-HVH24VRL.js";
32
- import "./chunk-6LRY2CYU.js";
31
+ } from "./chunk-7T4MDNV3.js";
32
+ import "./chunk-47ZJ3S7M.js";
33
33
  import {
34
34
  KIT_VERSION
35
35
  } from "./chunk-7HDQEK6T.js";
@@ -4,7 +4,7 @@ import {
4
4
  formatRerunFlags,
5
5
  formatStaleCliRefusal,
6
6
  syncFromManifest
7
- } from "./chunk-HIJTNHJE.js";
7
+ } from "./chunk-UQSFGLY5.js";
8
8
  import {
9
9
  formatSkippedSymlinks,
10
10
  logApplyStats
@@ -12,16 +12,16 @@ import {
12
12
  import {
13
13
  REGISTRY_CLI_ARGS,
14
14
  resolveRegistryFromCli
15
- } from "./chunk-75ELVLBY.js";
15
+ } from "./chunk-MAXEVJCP.js";
16
16
  import {
17
17
  CLAUDE_SETTINGS_REL,
18
18
  formatClaudeSettingsDrift,
19
19
  planClaudeSettingsDrift,
20
20
  writeClaudeSessionStartHook
21
- } from "./chunk-ZF4YBL7F.js";
21
+ } from "./chunk-Q4J5UXVQ.js";
22
22
  import {
23
23
  generateClaudeCommandAdapters
24
- } from "./chunk-LGSNC4OI.js";
24
+ } from "./chunk-FQNAEFTW.js";
25
25
  import "./chunk-6RRG3WOE.js";
26
26
  import {
27
27
  withCliProgress
@@ -34,14 +34,14 @@ import {
34
34
  confirmProjectRoot,
35
35
  isNonInteractive,
36
36
  syncPathCliToRuntime
37
- } from "./chunk-TZA7MT4I.js";
37
+ } from "./chunk-SZ5REXPD.js";
38
38
  import "./chunk-B3VR5YBQ.js";
39
39
  import {
40
40
  checkForUpdates
41
- } from "./chunk-52WYZFP5.js";
41
+ } from "./chunk-H3PQYVFT.js";
42
42
  import "./chunk-PFEUZXVT.js";
43
- import "./chunk-O5FKTKOW.js";
44
- import "./chunk-LPZ2KXVE.js";
43
+ import "./chunk-2B3HHQ3L.js";
44
+ import "./chunk-6GM5YUWR.js";
45
45
  import "./chunk-2KIOZMTV.js";
46
46
  import {
47
47
  buildManifest,
@@ -49,10 +49,10 @@ import {
49
49
  loadAgentKitManifest,
50
50
  resolveProtectedGlobs,
51
51
  saveManifest
52
- } from "./chunk-HVH24VRL.js";
52
+ } from "./chunk-7T4MDNV3.js";
53
53
  import {
54
54
  seedManagedHashLedger
55
- } from "./chunk-6LRY2CYU.js";
55
+ } from "./chunk-47ZJ3S7M.js";
56
56
  import {
57
57
  KIT_VERSION
58
58
  } from "./chunk-7HDQEK6T.js";
package/package.json CHANGED
@@ -1,8 +1,13 @@
1
1
  {
2
2
  "name": "@dadado/agent-kit-cli",
3
- "version": "6.10.0",
3
+ "version": "6.11.0",
4
4
  "description": "Agent Kit CLI: HITL framework install and tooling for AI-assisted IDEs (rules, skills, plan/handoff, context).",
5
5
  "license": "Apache-2.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/agent-kit-startup/agent-kit.git",
9
+ "directory": "packages/cli"
10
+ },
6
11
  "type": "module",
7
12
  "bin": {
8
13
  "agent-kit": "./dist/index.js"
@@ -18,6 +23,19 @@
18
23
  "LICENSE",
19
24
  "NOTICE"
20
25
  ],
26
+ "scripts": {
27
+ "sync-dashboard": "node ../../scripts/sync-cli-dashboard.mjs",
28
+ "prepack": "node ../../scripts/sync-cli-dashboard.mjs",
29
+ "prepublishOnly": "node ../../scripts/verify-cli-dashboard-pack.mjs",
30
+ "build": "node ../../scripts/sync-cli-dashboard.mjs && tsup src/index.ts --format esm --dts --clean",
31
+ "dev": "tsx src/index.ts",
32
+ "start": "tsx src/index.ts",
33
+ "lint": "biome check src",
34
+ "overlay:hashes": "tsx src/lifecycle/refresh-known-hashes.ts",
35
+ "overlay:hashes:check": "tsx src/lifecycle/refresh-known-hashes.ts --check",
36
+ "test": "vitest run",
37
+ "typecheck": "tsc --noEmit"
38
+ },
21
39
  "dependencies": {
22
40
  "@clack/prompts": "^1.8.1",
23
41
  "citty": "^0.2.2",
@@ -29,16 +47,5 @@
29
47
  "tsx": "^4.23.15",
30
48
  "vite": "^8.3.3",
31
49
  "vitest": "^5.0.3"
32
- },
33
- "scripts": {
34
- "sync-dashboard": "node ../../scripts/sync-cli-dashboard.mjs",
35
- "build": "node ../../scripts/sync-cli-dashboard.mjs && tsup src/index.ts --format esm --dts --clean",
36
- "dev": "tsx src/index.ts",
37
- "start": "tsx src/index.ts",
38
- "lint": "biome check src",
39
- "overlay:hashes": "tsx src/lifecycle/refresh-known-hashes.ts",
40
- "overlay:hashes:check": "tsx src/lifecycle/refresh-known-hashes.ts --check",
41
- "test": "vitest run",
42
- "typecheck": "tsc --noEmit"
43
50
  }
44
- }
51
+ }