@dadado/agent-kit-cli 6.19.0 → 6.20.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.
- package/dist/{add-MRI5BXHH.js → add-47WDZNCP.js} +3 -3
- package/dist/{chunk-QBYJNGCD.js → chunk-2QGH6YCT.js} +2 -2
- package/dist/{chunk-EOQMAU2J.js → chunk-3ROLNGCM.js} +1 -1
- package/dist/{chunk-IQQQDEQ4.js → chunk-4W2BD3BI.js} +2 -2
- package/dist/{chunk-EBDQYFA4.js → chunk-52TVPSBL.js} +3 -3
- package/dist/{chunk-G2Z37XFM.js → chunk-6GNVGHH4.js} +3 -3
- package/dist/{chunk-2TX6NJEG.js → chunk-BVQRECND.js} +1 -1
- package/dist/{chunk-VJWWJA36.js → chunk-CFQYATWP.js} +3 -3
- package/dist/{chunk-7MUTZHWP.js → chunk-DEEOPP2G.js} +2 -2
- package/dist/{chunk-UXQH2CNC.js → chunk-PCJR7STN.js} +1 -1
- package/dist/{chunk-NL3I2BWA.js → chunk-PHSXV6WI.js} +2 -2
- package/dist/{chunk-677W4QO3.js → chunk-TU4UG4DB.js} +18 -1
- package/dist/{chunk-3HNTNYPR.js → chunk-VLT7UHI2.js} +1 -1
- package/dist/{chunk-GTP224FI.js → chunk-XBK654NO.js} +1 -1
- package/dist/{chunk-OKQ37A7E.js → chunk-XIWJL57Q.js} +8 -8
- package/dist/{commands-NL6UOEP7.js → commands-7QFWLW3V.js} +2 -2
- package/dist/{conflicts-XMN4PBCZ.js → conflicts-7T7KKQOY.js} +74 -20
- package/dist/{contribute-QDTEJ42W.js → contribute-3HWO3HVM.js} +4 -4
- package/dist/{diff-RLB7R2NE.js → diff-Y2SWY73V.js} +5 -5
- package/dist/{doctor-OXMDSOXL.js → doctor-5HD6HWGA.js} +9 -9
- package/dist/{hook-B4VUQOQF.js → hook-R3IUBLCU.js} +6 -6
- package/dist/index.js +13 -13
- package/dist/{init-BYONEUCW.js → init-UZU2UU5J.js} +12 -12
- package/dist/{install-HOR6VR44.js → install-QZSYPAH6.js} +12 -12
- package/dist/{session-start-OSFSF4OZ.js → session-start-UJ7GUO5V.js} +6 -6
- package/dist/{sessions-WQU5DONU.js → sessions-MQ3TXULD.js} +1 -1
- package/dist/{setup-global-O34KFL2C.js → setup-global-BQZKKXZY.js} +6 -6
- package/dist/{status-QB2FFYUP.js → status-2FEGHEF6.js} +7 -7
- package/dist/{update-N2EKKSE7.js → update-IKLNUSEE.js} +10 -10
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
REGISTRY_CLI_ARGS,
|
|
7
7
|
resolveRegistryFromCli
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XBK654NO.js";
|
|
9
9
|
import {
|
|
10
10
|
logger
|
|
11
11
|
} from "./chunk-ZB43YMHW.js";
|
|
@@ -22,8 +22,8 @@ import {
|
|
|
22
22
|
resolveProtectedGlobs,
|
|
23
23
|
saveManifest,
|
|
24
24
|
upsertIdList
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-VLT7UHI2.js";
|
|
26
|
+
import "./chunk-TU4UG4DB.js";
|
|
27
27
|
import {
|
|
28
28
|
KIT_VERSION
|
|
29
29
|
} from "./chunk-7HDQEK6T.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
compareSemver,
|
|
6
6
|
normalizeSemver
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4W2BD3BI.js";
|
|
8
8
|
import {
|
|
9
9
|
MANIFEST_RELATIVE_PATH
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VLT7UHI2.js";
|
|
11
11
|
import {
|
|
12
12
|
KIT_VERSION,
|
|
13
13
|
pinnedCliSpec
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
diffAgainstRegistry,
|
|
8
8
|
summarizeDiff
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CFQYATWP.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_REGISTRY_URL,
|
|
12
12
|
assertSafeRegistrySource,
|
|
13
13
|
loadAgentKitManifest,
|
|
14
14
|
resolveRegistryRoot
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VLT7UHI2.js";
|
|
16
16
|
import {
|
|
17
17
|
KIT_PACKAGE_SPEC,
|
|
18
18
|
KIT_VERSION
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
assertRealParentContained,
|
|
10
10
|
isRealWriteTargetContained,
|
|
11
11
|
resolveContained
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TU4UG4DB.js";
|
|
13
13
|
import {
|
|
14
14
|
ensureDir
|
|
15
15
|
} from "./chunk-5B4DVO6C.js";
|
|
@@ -132,10 +132,10 @@ async function saveClaudeSettingsLedger(root, additions, opts = {}) {
|
|
|
132
132
|
var CLAUDE_SETTINGS_REL = ".claude/settings.json";
|
|
133
133
|
var RESOLVE_AGENT_KIT_REL = ".cursor/hooks/agent/resolve-agent-kit.sh";
|
|
134
134
|
var SESSION_START_HOOK_MARKER = "hook session-start --format claude";
|
|
135
|
-
var SESSION_START_DEGRADED_TEXT = "Agent Kit hooks are running in degraded fail-open mode: the agent-kit CLI could not be resolved (checked AGENT_KIT_HOOK_BIN, node_modules/.bin/agent-kit, PATH),
|
|
135
|
+
var SESSION_START_DEGRADED_TEXT = "Agent Kit hooks are running in degraded fail-open mode: the agent-kit CLI could not be resolved (checked AGENT_KIT_HOOK_BIN, node_modules/.bin/agent-kit, PATH), it resolved to a node script and node is not on PATH, or it ran and exited non-zero with no output (a mise or asdf shim does this when the Node version active in this workspace has no agent-kit installed). Slash command adapters still work; session-context injection and the Bash shell guard are inactive. Fix: install the CLI (npm i -D @dadado/agent-kit-cli, or npm i -g @dadado/agent-kit-cli then mise reshim under mise), put node on PATH, or set AGENT_KIT_HOOK_BIN.";
|
|
136
136
|
function buildSessionStartHookCommand() {
|
|
137
137
|
const run = `{ if command -v run_agent_kit >/dev/null 2>&1; then run_agent_kit ${SESSION_START_HOOK_MARKER}; else exec $AGENT_KIT_RESOLVED ${SESSION_START_HOOK_MARKER}; fi; }`;
|
|
138
|
-
return `_AGENT_KIT_HOOK_ROOT="\${CLAUDE_PROJECT_DIR}"; . "\${CLAUDE_PROJECT_DIR}/${RESOLVE_AGENT_KIT_REL}" 2>/dev/null && resolve_agent_kit && ${run}; printf '%s' ${shellSingleQuote(SESSION_START_DEGRADED_TEXT)}`;
|
|
138
|
+
return `_AGENT_KIT_HOOK_ROOT="\${CLAUDE_PROJECT_DIR}"; AGENT_KIT_RUN_FAILURE=; . "\${CLAUDE_PROJECT_DIR}/${RESOLVE_AGENT_KIT_REL}" 2>/dev/null && resolve_agent_kit && ${run}; printf '%s%s' ${shellSingleQuote(SESSION_START_DEGRADED_TEXT)} "\${AGENT_KIT_RUN_FAILURE:+ Cause: $AGENT_KIT_RUN_FAILURE.}"`;
|
|
139
139
|
}
|
|
140
140
|
var GUARD_SHELL_HOOK_MARKER = "guard shell --format claude";
|
|
141
141
|
function buildGuardShellHookCommand() {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
compareSemver,
|
|
3
3
|
normalizeSemver,
|
|
4
4
|
readLocalKitVersion
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4W2BD3BI.js";
|
|
6
6
|
import {
|
|
7
7
|
L0_ARTIFACTS
|
|
8
8
|
} from "./chunk-WS6OX2IG.js";
|
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
mergeStats,
|
|
16
16
|
recordOutcome,
|
|
17
17
|
resolveProtectedGlobs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VLT7UHI2.js";
|
|
19
19
|
import {
|
|
20
20
|
loadManagedHashLedger,
|
|
21
21
|
saveManagedHashLedger
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-TU4UG4DB.js";
|
|
23
23
|
import {
|
|
24
24
|
KIT_PACKAGE_SPEC,
|
|
25
25
|
KIT_VERSION
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
managedPairs
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3ROLNGCM.js";
|
|
4
4
|
import {
|
|
5
5
|
isProtectedPath,
|
|
6
6
|
resolveProtectedGlobs
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VLT7UHI2.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveContained
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TU4UG4DB.js";
|
|
11
11
|
|
|
12
12
|
// src/lifecycle/diff.ts
|
|
13
13
|
import { readFile } from "fs/promises";
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
RESOLVE_AGENT_KIT_REL,
|
|
5
5
|
SESSION_START_HOOK_MARKER,
|
|
6
6
|
mergeAllowRowsWithoutGuard
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-52TVPSBL.js";
|
|
8
8
|
import {
|
|
9
9
|
CLAUDE_COMMANDS_DIR_REL,
|
|
10
10
|
discoverInstalledCommands
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PCJR7STN.js";
|
|
12
12
|
import {
|
|
13
13
|
findOnPath
|
|
14
14
|
} from "./chunk-WGLPZXNU.js";
|
|
@@ -24,13 +24,13 @@ import {
|
|
|
24
24
|
} from "./chunk-HAFRAXGV.js";
|
|
25
25
|
import {
|
|
26
26
|
stampLastCheckedAt
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4W2BD3BI.js";
|
|
28
28
|
import {
|
|
29
29
|
loadContextConfig
|
|
30
30
|
} from "./chunk-PFEUZXVT.js";
|
|
31
31
|
import {
|
|
32
32
|
MANIFEST_RELATIVE_PATH
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VLT7UHI2.js";
|
|
34
34
|
import {
|
|
35
35
|
HANDOFF_REL
|
|
36
36
|
} from "./chunk-C4Q77GGJ.js";
|
|
@@ -450,7 +450,24 @@ var KNOWN_SHIPPED_OVERLAY_HASHES = /* @__PURE__ */ new Set([
|
|
|
450
450
|
"e96e3362611663fa0bb839e827170f8958ed24fc484b491d90ae3f51c5699332",
|
|
451
451
|
"ea780d4ed8902f3f8fb83696718f070a24192c5654686ae34437d197a339599a",
|
|
452
452
|
"ed6108dc8cdd666d1182059cb6675f55986dc181e376d09a14e678ce37ac1845",
|
|
453
|
-
"f2ba9bac4d507367adbf1a531eb16cb70e4aff937866515858c36381c7e6ea4a"
|
|
453
|
+
"f2ba9bac4d507367adbf1a531eb16cb70e4aff937866515858c36381c7e6ea4a",
|
|
454
|
+
"52ac218ac4a46235a1eba3ccbd9eeede96077e2aff74e9da15c34b0ff67206cd",
|
|
455
|
+
"5404cc85e711302fdd2a6df3f836794622ec2a7c0e93127f0ee671d683fb54ff",
|
|
456
|
+
"57da9c554ff52330eaf58e3217ba0b12467aa230fef2ca28d143ec78836d5b0e",
|
|
457
|
+
"b255ea4edfc60c4f501cdb11880c612f7381f76dd19cc5833e00dca887cdb494",
|
|
458
|
+
"bb49bccda1d54fdae2c645c1a528c5711392b1965e559c5e2b10137a795b702f",
|
|
459
|
+
"c874ced44a45dd13189478a4b3873062cd781ea8dbff0dfe27983e7354763ca3",
|
|
460
|
+
"46301e15122d8b459be5f43f627aa4252866daf9f898d203c7d0d89360b0c424",
|
|
461
|
+
"6e7dd242e9fc65bc02c686992b89c8274b0d74b60240cb303a85afc621e5622a",
|
|
462
|
+
"7250d8cdddb0d7152d7e35483e312f132d452a2f64d8e302454fa6c3536221a4",
|
|
463
|
+
"9a932fa0f081915c5d5d6654f2964fe7e295a01b956757b9179da365c357498a",
|
|
464
|
+
"ad4a5ea78f606468e286a8357cc4e847e92254ca1bad9a6e77a4ebe060d2efb6",
|
|
465
|
+
"d454279a15eaac90f891e532edd03e9fdbb3d4f2e70f364412bfeafe264a8f62",
|
|
466
|
+
"c2eb5c2008a60efc4166736526f2d533f5f9065ca61bbfc4cd232e016a38199c",
|
|
467
|
+
"a39d60c0040e249a9cb096414f67366939121eceda5c9087ec0f7896a1e2cbc1",
|
|
468
|
+
"be813d8741a05ebeea13db5576f4e2893da1a43316ad45e9361391e58be3393c",
|
|
469
|
+
// mission-kit-comms/SKILL.md (release mirror exception, 2026-11-22)
|
|
470
|
+
"daf5d4d1cb1c0920f00f1e483316ededccd29da9bcd3e92b3f0d64702e78f329"
|
|
454
471
|
]);
|
|
455
472
|
|
|
456
473
|
// src/lifecycle/paths.ts
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
formatStaleCliRefusal,
|
|
7
7
|
installL0,
|
|
8
8
|
syncFromManifest
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6GNVGHH4.js";
|
|
10
10
|
import {
|
|
11
11
|
SkippedSymlinkError,
|
|
12
12
|
formatPersonalizationSkippedSymlinks,
|
|
@@ -15,21 +15,21 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
REGISTRY_CLI_ARGS,
|
|
17
17
|
resolveRegistryFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XBK654NO.js";
|
|
19
19
|
import {
|
|
20
20
|
assessClaudeCommandAdapters,
|
|
21
21
|
executeSafeReadinessFixes
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-DEEOPP2G.js";
|
|
23
23
|
import {
|
|
24
24
|
writeReadinessSnapshot
|
|
25
25
|
} from "./chunk-HAFRAXGV.js";
|
|
26
26
|
import {
|
|
27
27
|
writeClaudeSessionStartHook
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-52TVPSBL.js";
|
|
29
29
|
import {
|
|
30
30
|
CLAUDE_HITL_FALLBACK,
|
|
31
31
|
generateClaudeCommandAdapters
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-PCJR7STN.js";
|
|
33
33
|
import {
|
|
34
34
|
shouldUseWelcomeColor,
|
|
35
35
|
withCliProgress
|
|
@@ -56,13 +56,13 @@ import {
|
|
|
56
56
|
npxPinned,
|
|
57
57
|
pathCliStatus,
|
|
58
58
|
syncPathCliToRuntime
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-2QGH6YCT.js";
|
|
60
60
|
import {
|
|
61
61
|
assessEnvironment
|
|
62
62
|
} from "./chunk-B3VR5YBQ.js";
|
|
63
63
|
import {
|
|
64
64
|
warnIfRunningCliBehindNpm
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-4W2BD3BI.js";
|
|
66
66
|
import {
|
|
67
67
|
DOMAIN_PACK_IDS,
|
|
68
68
|
allPacks,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
resolveProtectedGlobs,
|
|
80
80
|
saveManifest,
|
|
81
81
|
skillTargetDir
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-VLT7UHI2.js";
|
|
83
83
|
import {
|
|
84
84
|
KIT_VERSION,
|
|
85
85
|
pinnedCliSpec
|
|
@@ -7,14 +7,14 @@ import "./chunk-P7732A25.js";
|
|
|
7
7
|
import {
|
|
8
8
|
CURSOR_COMMANDS_DIR_REL,
|
|
9
9
|
discoverInstalledCommands
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PCJR7STN.js";
|
|
11
11
|
import "./chunk-WGLPZXNU.js";
|
|
12
12
|
import "./chunk-Q35TWISF.js";
|
|
13
13
|
import "./chunk-QTON2GQX.js";
|
|
14
14
|
import {
|
|
15
15
|
L0_ARTIFACTS
|
|
16
16
|
} from "./chunk-WS6OX2IG.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-TU4UG4DB.js";
|
|
18
18
|
import {
|
|
19
19
|
KIT_VERSION
|
|
20
20
|
} from "./chunk-7HDQEK6T.js";
|
|
@@ -271,6 +271,43 @@ function withContext(file, n = CONFLICT_CONTEXT_LINES) {
|
|
|
271
271
|
];
|
|
272
272
|
});
|
|
273
273
|
}
|
|
274
|
+
function alignBases(working, rendition) {
|
|
275
|
+
const run = [];
|
|
276
|
+
rendition.segments.forEach((seg, i) => {
|
|
277
|
+
if (seg.kind !== "hunk") return;
|
|
278
|
+
const next = rendition.segments[i + 1];
|
|
279
|
+
const gap = next?.kind === "hunk" ? "" : next?.kind === "text" && rendition.segments.slice(i + 2).some((s) => s.kind === "hunk") ? next.text : null;
|
|
280
|
+
run.push({ hunk: seg.hunk, gap });
|
|
281
|
+
});
|
|
282
|
+
const bases = [];
|
|
283
|
+
let r = 0;
|
|
284
|
+
for (const w of working) {
|
|
285
|
+
let ours = "";
|
|
286
|
+
let theirs = "";
|
|
287
|
+
let base = "";
|
|
288
|
+
let matched = false;
|
|
289
|
+
while (r < run.length) {
|
|
290
|
+
const { hunk, gap } = run[r];
|
|
291
|
+
if (hunk.base === null) return null;
|
|
292
|
+
ours += hunk.ours;
|
|
293
|
+
theirs += hunk.theirs;
|
|
294
|
+
base += hunk.base;
|
|
295
|
+
r++;
|
|
296
|
+
if (ours === w.ours && theirs === w.theirs) {
|
|
297
|
+
matched = true;
|
|
298
|
+
break;
|
|
299
|
+
}
|
|
300
|
+
if (gap === null) return null;
|
|
301
|
+
ours += gap;
|
|
302
|
+
theirs += gap;
|
|
303
|
+
base += gap;
|
|
304
|
+
if (!w.ours.startsWith(ours) || !w.theirs.startsWith(theirs)) return null;
|
|
305
|
+
}
|
|
306
|
+
if (!matched) return null;
|
|
307
|
+
bases.push(base);
|
|
308
|
+
}
|
|
309
|
+
return r === run.length ? bases : null;
|
|
310
|
+
}
|
|
274
311
|
async function fillBaseFromIndex(opts) {
|
|
275
312
|
const { base, ours, theirs } = opts.entry.stages;
|
|
276
313
|
if (!base) return { ok: false, reason: "no base in the index (both sides added the file)" };
|
|
@@ -307,16 +344,14 @@ async function fillBaseFromIndex(opts) {
|
|
|
307
344
|
);
|
|
308
345
|
if (r.code < 0 || r.code > 127) continue;
|
|
309
346
|
const parsed = parseConflictText(r.stdout);
|
|
310
|
-
if (!parsed.ok
|
|
311
|
-
const
|
|
312
|
-
|
|
313
|
-
);
|
|
314
|
-
if (!matches) continue;
|
|
347
|
+
if (!parsed.ok) continue;
|
|
348
|
+
const bases = alignBases(opts.hunks, parsed.file);
|
|
349
|
+
if (!bases) continue;
|
|
315
350
|
return {
|
|
316
351
|
ok: true,
|
|
317
352
|
hunks: opts.hunks.map((h, i) => ({
|
|
318
353
|
...h,
|
|
319
|
-
base:
|
|
354
|
+
base: bases[i] ?? "",
|
|
320
355
|
baseLabel: "index stage 1"
|
|
321
356
|
}))
|
|
322
357
|
};
|
|
@@ -651,6 +686,25 @@ ${String(err)}` });
|
|
|
651
686
|
});
|
|
652
687
|
});
|
|
653
688
|
});
|
|
689
|
+
var LOCKFILES = [
|
|
690
|
+
"pnpm-lock.yaml",
|
|
691
|
+
"package-lock.json",
|
|
692
|
+
"npm-shrinkwrap.json",
|
|
693
|
+
"yarn.lock"
|
|
694
|
+
];
|
|
695
|
+
function installStep(lockfiles) {
|
|
696
|
+
if (lockfiles.has("pnpm-lock.yaml")) return "pnpm install --frozen-lockfile --prefer-offline";
|
|
697
|
+
if (lockfiles.has("package-lock.json") || lockfiles.has("npm-shrinkwrap.json")) {
|
|
698
|
+
return "npm ci --prefer-offline";
|
|
699
|
+
}
|
|
700
|
+
if (lockfiles.has("yarn.lock")) return "yarn install --frozen-lockfile --prefer-offline";
|
|
701
|
+
return null;
|
|
702
|
+
}
|
|
703
|
+
function dependencyNote(lockfiles, commands) {
|
|
704
|
+
const install = installStep(lockfiles) ?? "<your install command>";
|
|
705
|
+
const recipe = [install, ...commands].join(" && ").replaceAll("'", "'\\''");
|
|
706
|
+
return `dependencies are not installed in the temporary worktree (no node_modules), so a failure may come from that; to install first: --verify-cmd '${recipe}'`;
|
|
707
|
+
}
|
|
654
708
|
async function readVerifyCommands(git) {
|
|
655
709
|
const r = await git(["show", `HEAD:${AGENT_KIT_CONFIG_RELPATH}`]);
|
|
656
710
|
if (r.code !== 0) return [];
|
|
@@ -734,17 +788,16 @@ async function verifyResolution(opts) {
|
|
|
734
788
|
}
|
|
735
789
|
await mkdir(path2.dirname(target), { recursive: true });
|
|
736
790
|
await writeFile2(target, opts.resolvedText, "utf8");
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
}
|
|
747
|
-
}
|
|
791
|
+
const exists = (rel) => lstat(path2.join(tree, rel)).then(
|
|
792
|
+
() => true,
|
|
793
|
+
() => false
|
|
794
|
+
);
|
|
795
|
+
const missingDependencies = async () => {
|
|
796
|
+
if (!await exists("package.json") || await exists("node_modules")) return null;
|
|
797
|
+
const present = /* @__PURE__ */ new Set();
|
|
798
|
+
for (const f of LOCKFILES) if (await exists(f)) present.add(f);
|
|
799
|
+
return dependencyNote(present, opts.commands);
|
|
800
|
+
};
|
|
748
801
|
const run = opts.runShell ?? defaultRunShell;
|
|
749
802
|
const reports = [];
|
|
750
803
|
for (const command of opts.commands) {
|
|
@@ -755,11 +808,12 @@ async function verifyResolution(opts) {
|
|
|
755
808
|
});
|
|
756
809
|
reports.push({ command, exitCode: r.code, tail: red(r.output.slice(-VERIFY_TAIL_BYTES)) });
|
|
757
810
|
if (r.code !== 0) {
|
|
811
|
+
const deps = await missingDependencies();
|
|
758
812
|
return {
|
|
759
813
|
status: "failed",
|
|
760
814
|
reason: `\`${command}\` exited ${r.code}`,
|
|
761
815
|
commands: reports,
|
|
762
|
-
notes
|
|
816
|
+
notes: deps ? [...notes, deps] : notes
|
|
763
817
|
};
|
|
764
818
|
}
|
|
765
819
|
}
|
|
@@ -982,12 +1036,12 @@ var proposeCommand = defineCommand({
|
|
|
982
1036
|
json: { type: "boolean", description: "Print the full result as JSON", default: false },
|
|
983
1037
|
verify: {
|
|
984
1038
|
type: "boolean",
|
|
985
|
-
description: "Verify the resolved file in a temporary worktree
|
|
1039
|
+
description: "Verify the resolved file in a temporary worktree: runs stack.validationCommands and stack.testCommands from HEAD's .cursor/agent-kit.config.json (or --verify-cmd) on the model's text and the files the merge brought in, before anyone has reviewed them, unsandboxed, as you, with your environment and network; --no-verify skips",
|
|
986
1040
|
default: true
|
|
987
1041
|
},
|
|
988
1042
|
"verify-cmd": {
|
|
989
1043
|
type: "string",
|
|
990
|
-
description: "Shell command to verify with instead of the configured ones"
|
|
1044
|
+
description: "Shell command to verify with instead of the configured ones. The temporary worktree has no dependencies installed: on a Node repository put the install first, e.g. --verify-cmd 'pnpm install --frozen-lockfile --prefer-offline && pnpm test' (npm: 'npm ci --prefer-offline && npm test'); a failed verification without node_modules prints the one for your lockfile and commands"
|
|
991
1045
|
},
|
|
992
1046
|
"verify-timeout": {
|
|
993
1047
|
type: "string",
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
REGISTRY_CLI_ARGS,
|
|
3
3
|
resolveRegistryFromCli
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XBK654NO.js";
|
|
5
5
|
import {
|
|
6
6
|
logger
|
|
7
7
|
} from "./chunk-ZB43YMHW.js";
|
|
8
8
|
import {
|
|
9
9
|
managedPairs
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3ROLNGCM.js";
|
|
11
11
|
import "./chunk-WS6OX2IG.js";
|
|
12
12
|
import {
|
|
13
13
|
loadAgentKitManifest,
|
|
14
14
|
normalizeRelPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VLT7UHI2.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveContained
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TU4UG4DB.js";
|
|
19
19
|
import "./chunk-C4Q77GGJ.js";
|
|
20
20
|
import "./chunk-5B4DVO6C.js";
|
|
21
21
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
REGISTRY_CLI_ARGS,
|
|
3
3
|
resolveRegistryFromCli
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XBK654NO.js";
|
|
5
5
|
import {
|
|
6
6
|
logger
|
|
7
7
|
} from "./chunk-ZB43YMHW.js";
|
|
8
8
|
import {
|
|
9
9
|
diffAgainstRegistry,
|
|
10
10
|
summarizeDiff
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-CFQYATWP.js";
|
|
12
|
+
import "./chunk-3ROLNGCM.js";
|
|
13
13
|
import "./chunk-WS6OX2IG.js";
|
|
14
14
|
import {
|
|
15
15
|
loadAgentKitManifest
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-VLT7UHI2.js";
|
|
17
|
+
import "./chunk-TU4UG4DB.js";
|
|
18
18
|
import "./chunk-C4Q77GGJ.js";
|
|
19
19
|
import "./chunk-5B4DVO6C.js";
|
|
20
20
|
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
assessHooksHealth,
|
|
3
3
|
executeSafeReadinessFixes,
|
|
4
4
|
refreshRepositoryProfile
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DEEOPP2G.js";
|
|
6
6
|
import {
|
|
7
7
|
writeReadinessSnapshot
|
|
8
8
|
} from "./chunk-HAFRAXGV.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-52TVPSBL.js";
|
|
10
|
+
import "./chunk-PCJR7STN.js";
|
|
11
11
|
import "./chunk-WGLPZXNU.js";
|
|
12
12
|
import "./chunk-Q35TWISF.js";
|
|
13
13
|
import {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
detectWorkspaceParent,
|
|
18
18
|
workspaceParentAdvisoryLines
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BVQRECND.js";
|
|
20
20
|
import {
|
|
21
21
|
createReadinessReport
|
|
22
22
|
} from "./chunk-PNFF6OU3.js";
|
|
@@ -33,13 +33,13 @@ import {
|
|
|
33
33
|
} from "./chunk-B3VR5YBQ.js";
|
|
34
34
|
import {
|
|
35
35
|
warnIfRunningCliBehindNpm
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-4W2BD3BI.js";
|
|
37
37
|
import "./chunk-PFEUZXVT.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-CFQYATWP.js";
|
|
39
|
+
import "./chunk-3ROLNGCM.js";
|
|
40
40
|
import "./chunk-WS6OX2IG.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-VLT7UHI2.js";
|
|
42
|
+
import "./chunk-TU4UG4DB.js";
|
|
43
43
|
import {
|
|
44
44
|
KIT_VERSION
|
|
45
45
|
} from "./chunk-7HDQEK6T.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildSessionStartAdditionalContext,
|
|
3
3
|
resolveSessionRoot
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PHSXV6WI.js";
|
|
5
5
|
import "./chunk-2YU2H7I6.js";
|
|
6
6
|
import {
|
|
7
7
|
readStdinJson
|
|
@@ -13,13 +13,13 @@ import "./chunk-4CRBUEJ6.js";
|
|
|
13
13
|
import "./chunk-L5V3W3DY.js";
|
|
14
14
|
import "./chunk-MUTTNRX4.js";
|
|
15
15
|
import "./chunk-HAFRAXGV.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-4W2BD3BI.js";
|
|
17
17
|
import "./chunk-PFEUZXVT.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-CFQYATWP.js";
|
|
19
|
+
import "./chunk-3ROLNGCM.js";
|
|
20
20
|
import "./chunk-WS6OX2IG.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-VLT7UHI2.js";
|
|
22
|
+
import "./chunk-TU4UG4DB.js";
|
|
23
23
|
import "./chunk-7HDQEK6T.js";
|
|
24
24
|
import "./chunk-C4Q77GGJ.js";
|
|
25
25
|
import "./chunk-5B4DVO6C.js";
|
package/dist/index.js
CHANGED
|
@@ -234,20 +234,20 @@ var main = defineCommand({
|
|
|
234
234
|
version: KIT_VERSION
|
|
235
235
|
},
|
|
236
236
|
subCommands: {
|
|
237
|
-
init: () => import("./init-
|
|
238
|
-
install: () => import("./install-
|
|
237
|
+
init: () => import("./init-UZU2UU5J.js").then((m) => m.initCommand),
|
|
238
|
+
install: () => import("./install-QZSYPAH6.js").then((m) => m.installCommand),
|
|
239
239
|
scan: () => import("./scan-K3T5RQLC.js").then((m) => m.scanCommand),
|
|
240
|
-
add: () => import("./add-
|
|
241
|
-
doctor: () => import("./doctor-
|
|
242
|
-
"setup-global": () => import("./setup-global-
|
|
243
|
-
status: () => import("./status-
|
|
244
|
-
update: () => import("./update-
|
|
240
|
+
add: () => import("./add-47WDZNCP.js").then((m) => m.addCommand),
|
|
241
|
+
doctor: () => import("./doctor-5HD6HWGA.js").then((m) => m.doctorCommand),
|
|
242
|
+
"setup-global": () => import("./setup-global-BQZKKXZY.js").then((m) => m.setupGlobalCommand),
|
|
243
|
+
status: () => import("./status-2FEGHEF6.js").then((m) => m.statusCommand),
|
|
244
|
+
update: () => import("./update-IKLNUSEE.js").then((m) => m.updateCommand),
|
|
245
245
|
"cursor-awareness": () => import("./cursor-awareness-TN5JXD2C.js").then((m) => m.cursorAwarenessCommand),
|
|
246
246
|
"public-inbound-radar": () => import("./public-inbound-radar-5U4JMBRU.js").then((m) => m.publicInboundRadarCommand),
|
|
247
247
|
"remote-issues": () => import("./remote-issues-APYOMIJC.js").then((m) => m.remoteIssuesCommand),
|
|
248
248
|
dogfood: () => import("./dogfood-2JAHSYQA.js").then((m) => m.dogfoodCommand),
|
|
249
|
-
diff: () => import("./diff-
|
|
250
|
-
contribute: () => import("./contribute-
|
|
249
|
+
diff: () => import("./diff-Y2SWY73V.js").then((m) => m.diffCommand),
|
|
250
|
+
contribute: () => import("./contribute-3HWO3HVM.js").then((m) => m.contributeCommand),
|
|
251
251
|
handoff: () => import("./handoff-5AGE2D3T.js").then((m) => m.handoffCommand),
|
|
252
252
|
"plan-index": () => import("./plan-index-BNLUU6T5.js").then((m) => m.planIndexCommand),
|
|
253
253
|
run: () => import("./run-PFANZJ5Y.js").then((m) => m.runCommand),
|
|
@@ -257,18 +257,18 @@ var main = defineCommand({
|
|
|
257
257
|
promote: () => import("./promote-H5MIMVEB.js").then((m) => m.promoteCommand),
|
|
258
258
|
countdown: () => import("./countdown-7ONIVAG6.js").then((m) => m.countdownCommand),
|
|
259
259
|
"ground-control": () => import("./ground-control-IDCXN5FK.js").then((m) => m.groundControlCommand),
|
|
260
|
-
conflicts: () => import("./conflicts-
|
|
260
|
+
conflicts: () => import("./conflicts-7T7KKQOY.js").then((m) => m.conflictsCommand),
|
|
261
261
|
dashboard: () => import("./dashboard-P65XHYCU.js").then((m) => m.dashboardCommand),
|
|
262
262
|
"dashboard-broadcast": () => import("./dashboard-broadcast-GYK34QYL.js").then((m) => m.dashboardBroadcastCommand),
|
|
263
263
|
"mission-control": () => import("./mission-control-QJBSZVNI.js").then((m) => m.missionControlCommand),
|
|
264
|
-
hook: () => import("./hook-
|
|
264
|
+
hook: () => import("./hook-R3IUBLCU.js").then((m) => m.hookCommand),
|
|
265
265
|
guard: () => import("./guard-RJZEEKSL.js").then((m) => m.guardCommand),
|
|
266
266
|
monitors: () => import("./monitors-PDXBLB3U.js").then((m) => m.monitorsCommand),
|
|
267
|
-
sessions: () => import("./sessions-
|
|
267
|
+
sessions: () => import("./sessions-MQ3TXULD.js").then((m) => m.sessionsCommand),
|
|
268
268
|
"outcome-ledger": () => import("./outcome-ledger-XLWHWPVQ.js").then((m) => m.outcomeLedgerCommand),
|
|
269
269
|
validate: () => import("./validate-V2CW7J4B.js").then((m) => m.validateCommand),
|
|
270
270
|
"engine-info": () => import("./engine-info-BBI5QO5Y.js").then((m) => m.engineInfoCommand),
|
|
271
|
-
commands: () => import("./commands-
|
|
271
|
+
commands: () => import("./commands-7QFWLW3V.js").then((m) => m.commandsCommand)
|
|
272
272
|
},
|
|
273
273
|
async run({ rawArgs }) {
|
|
274
274
|
if (hasCliSubcommand(rawArgs)) return;
|
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
nextStepAfterInstall,
|
|
3
3
|
performInstall,
|
|
4
4
|
printInstallEpilogue
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XIWJL57Q.js";
|
|
6
6
|
import {
|
|
7
7
|
NON_INTERACTIVE_ROOT_ARGS
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6GNVGHH4.js";
|
|
9
9
|
import {
|
|
10
10
|
SkippedSymlinkError,
|
|
11
11
|
logApplyStats
|
|
12
12
|
} from "./chunk-HS7LVVLO.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-XBK654NO.js";
|
|
14
|
+
import "./chunk-DEEOPP2G.js";
|
|
15
15
|
import "./chunk-HAFRAXGV.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-52TVPSBL.js";
|
|
17
|
+
import "./chunk-PCJR7STN.js";
|
|
18
18
|
import "./chunk-WGLPZXNU.js";
|
|
19
19
|
import "./chunk-Q35TWISF.js";
|
|
20
20
|
import {
|
|
@@ -32,17 +32,17 @@ import {
|
|
|
32
32
|
confirmProjectRoot,
|
|
33
33
|
isNonInteractive,
|
|
34
34
|
syncPathCliToRuntime
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-2QGH6YCT.js";
|
|
36
36
|
import {
|
|
37
37
|
assessEnvironment
|
|
38
38
|
} from "./chunk-B3VR5YBQ.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-4W2BD3BI.js";
|
|
40
40
|
import "./chunk-PFEUZXVT.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-CFQYATWP.js";
|
|
42
|
+
import "./chunk-3ROLNGCM.js";
|
|
43
43
|
import "./chunk-WS6OX2IG.js";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-VLT7UHI2.js";
|
|
45
|
+
import "./chunk-TU4UG4DB.js";
|
|
46
46
|
import {
|
|
47
47
|
KIT_VERSION
|
|
48
48
|
} from "./chunk-7HDQEK6T.js";
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
nextStepAfterInstall,
|
|
4
4
|
performInstall,
|
|
5
5
|
printInstallEpilogue
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-XIWJL57Q.js";
|
|
7
|
+
import "./chunk-6GNVGHH4.js";
|
|
8
8
|
import "./chunk-HS7LVVLO.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-XBK654NO.js";
|
|
10
|
+
import "./chunk-DEEOPP2G.js";
|
|
11
11
|
import "./chunk-HAFRAXGV.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-52TVPSBL.js";
|
|
13
|
+
import "./chunk-PCJR7STN.js";
|
|
14
14
|
import "./chunk-WGLPZXNU.js";
|
|
15
15
|
import "./chunk-Q35TWISF.js";
|
|
16
16
|
import "./chunk-QTON2GQX.js";
|
|
@@ -18,15 +18,15 @@ import "./chunk-PNFF6OU3.js";
|
|
|
18
18
|
import "./chunk-R4DUO5DA.js";
|
|
19
19
|
import "./chunk-F6C3GFKV.js";
|
|
20
20
|
import "./chunk-ZB43YMHW.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-2QGH6YCT.js";
|
|
22
22
|
import "./chunk-B3VR5YBQ.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-4W2BD3BI.js";
|
|
24
24
|
import "./chunk-PFEUZXVT.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-CFQYATWP.js";
|
|
26
|
+
import "./chunk-3ROLNGCM.js";
|
|
27
27
|
import "./chunk-WS6OX2IG.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-VLT7UHI2.js";
|
|
29
|
+
import "./chunk-TU4UG4DB.js";
|
|
30
30
|
import "./chunk-7HDQEK6T.js";
|
|
31
31
|
import "./chunk-C4Q77GGJ.js";
|
|
32
32
|
import "./chunk-5B4DVO6C.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
shouldEmitCursorAwarenessNudge,
|
|
26
26
|
updateCheckSection,
|
|
27
27
|
withDeadline
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-PHSXV6WI.js";
|
|
29
29
|
import "./chunk-2YU2H7I6.js";
|
|
30
30
|
import "./chunk-QWTBYXHN.js";
|
|
31
31
|
import "./chunk-DTSL2RH7.js";
|
|
@@ -34,13 +34,13 @@ import "./chunk-4CRBUEJ6.js";
|
|
|
34
34
|
import "./chunk-L5V3W3DY.js";
|
|
35
35
|
import "./chunk-MUTTNRX4.js";
|
|
36
36
|
import "./chunk-HAFRAXGV.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-4W2BD3BI.js";
|
|
38
38
|
import "./chunk-PFEUZXVT.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-CFQYATWP.js";
|
|
40
|
+
import "./chunk-3ROLNGCM.js";
|
|
41
41
|
import "./chunk-WS6OX2IG.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-VLT7UHI2.js";
|
|
43
|
+
import "./chunk-TU4UG4DB.js";
|
|
44
44
|
import "./chunk-7HDQEK6T.js";
|
|
45
45
|
import "./chunk-C4Q77GGJ.js";
|
|
46
46
|
import "./chunk-5B4DVO6C.js";
|
|
@@ -79,7 +79,7 @@ var sessionsCommand = defineCommand({
|
|
|
79
79
|
const cwd = process.cwd();
|
|
80
80
|
const workspace = path.resolve(cwd, typeof args.cwd === "string" && args.cwd ? args.cwd : ".");
|
|
81
81
|
if (args.live) {
|
|
82
|
-
const { listDetachedAuditSessions } = await import("./session-start-
|
|
82
|
+
const { listDetachedAuditSessions } = await import("./session-start-UJ7GUO5V.js");
|
|
83
83
|
const roster = await collectLiveRoster(workspace, { listAudit: listDetachedAuditSessions });
|
|
84
84
|
process.stdout.write(
|
|
85
85
|
args.json ? `${JSON.stringify(roster, null, 2)}
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
classifyInstallError,
|
|
3
3
|
isNonInteractive,
|
|
4
4
|
pathCliStatus
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2QGH6YCT.js";
|
|
6
6
|
import {
|
|
7
7
|
assessEnvironment
|
|
8
8
|
} from "./chunk-B3VR5YBQ.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-4W2BD3BI.js";
|
|
10
10
|
import "./chunk-PFEUZXVT.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-CFQYATWP.js";
|
|
12
|
+
import "./chunk-3ROLNGCM.js";
|
|
13
13
|
import "./chunk-WS6OX2IG.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-VLT7UHI2.js";
|
|
15
|
+
import "./chunk-TU4UG4DB.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-
|
|
4
|
+
} from "./chunk-BVQRECND.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-
|
|
18
|
+
} from "./chunk-2QGH6YCT.js";
|
|
19
19
|
import {
|
|
20
20
|
assessEnvironment
|
|
21
21
|
} from "./chunk-B3VR5YBQ.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-4W2BD3BI.js";
|
|
23
23
|
import "./chunk-PFEUZXVT.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-CFQYATWP.js";
|
|
25
|
+
import "./chunk-3ROLNGCM.js";
|
|
26
26
|
import "./chunk-WS6OX2IG.js";
|
|
27
27
|
import {
|
|
28
28
|
MANIFEST_RELATIVE_PATH,
|
|
29
29
|
loadAgentKitManifest,
|
|
30
30
|
resolveProtectedGlobs
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-VLT7UHI2.js";
|
|
32
|
+
import "./chunk-TU4UG4DB.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-
|
|
7
|
+
} from "./chunk-6GNVGHH4.js";
|
|
8
8
|
import {
|
|
9
9
|
formatSkippedSymlinks,
|
|
10
10
|
logApplyStats
|
|
@@ -12,17 +12,17 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
REGISTRY_CLI_ARGS,
|
|
14
14
|
resolveRegistryFromCli
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XBK654NO.js";
|
|
16
16
|
import {
|
|
17
17
|
CLAUDE_SETTINGS_REL,
|
|
18
18
|
formatClaudeSettingsDrift,
|
|
19
19
|
formatPermissionsChanged,
|
|
20
20
|
planClaudeSettingsDrift,
|
|
21
21
|
writeClaudeSessionStartHook
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-52TVPSBL.js";
|
|
23
23
|
import {
|
|
24
24
|
generateClaudeCommandAdapters
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-PCJR7STN.js";
|
|
26
26
|
import "./chunk-Q35TWISF.js";
|
|
27
27
|
import {
|
|
28
28
|
withCliProgress
|
|
@@ -35,14 +35,14 @@ import {
|
|
|
35
35
|
confirmProjectRoot,
|
|
36
36
|
isNonInteractive,
|
|
37
37
|
syncPathCliToRuntime
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2QGH6YCT.js";
|
|
39
39
|
import "./chunk-B3VR5YBQ.js";
|
|
40
40
|
import {
|
|
41
41
|
checkForUpdates
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-4W2BD3BI.js";
|
|
43
43
|
import "./chunk-PFEUZXVT.js";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-CFQYATWP.js";
|
|
45
|
+
import "./chunk-3ROLNGCM.js";
|
|
46
46
|
import "./chunk-WS6OX2IG.js";
|
|
47
47
|
import {
|
|
48
48
|
buildManifest,
|
|
@@ -50,10 +50,10 @@ import {
|
|
|
50
50
|
loadAgentKitManifest,
|
|
51
51
|
resolveProtectedGlobs,
|
|
52
52
|
saveManifest
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-VLT7UHI2.js";
|
|
54
54
|
import {
|
|
55
55
|
seedManagedHashLedger
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-TU4UG4DB.js";
|
|
57
57
|
import {
|
|
58
58
|
KIT_VERSION
|
|
59
59
|
} from "./chunk-7HDQEK6T.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dadado/agent-kit-cli",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.20.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
6
|
"homepage": "https://agent.missionkit.io/",
|