@dadado/agent-kit-cli 6.22.1 → 6.23.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-YVDIFP4N.js → add-RKZQX6ZK.js} +3 -3
- package/dist/{chunk-GT5R7W66.js → chunk-2IP4OO6R.js} +1 -1
- package/dist/{chunk-ZNY32NK2.js → chunk-4MR4QXMF.js} +2 -2
- package/dist/{chunk-EYNSSL6B.js → chunk-5LNHRL5E.js} +9 -9
- package/dist/{chunk-WHBGJ7IJ.js → chunk-5PSV76CQ.js} +4 -4
- package/dist/{chunk-2FKAKFMH.js → chunk-6BEFGKCU.js} +1 -1
- package/dist/{chunk-4SEQ76BQ.js → chunk-7TYA3GMI.js} +3 -3
- package/dist/{chunk-MGIPA6SD.js → chunk-AWQ6KRFV.js} +1 -1
- package/dist/{chunk-WS6OX2IG.js → chunk-CGXLR77R.js} +4 -0
- package/dist/{chunk-5HH3HSUR.js → chunk-CVZNSRXV.js} +2 -2
- package/dist/{chunk-BCU54M2P.js → chunk-DRZFWIBN.js} +1 -1
- package/dist/{chunk-XZQM55BK.js → chunk-F7YAAKYP.js} +2 -2
- package/dist/{chunk-QWTBYXHN.js → chunk-JFS4GKP7.js} +1 -1
- package/dist/{chunk-SDJIMC5S.js → chunk-KDJ4ML7I.js} +2 -2
- package/dist/{chunk-DTSL2RH7.js → chunk-MFKHIWEL.js} +5 -3
- package/dist/{chunk-GV4VKIPO.js → chunk-MJJBIOSY.js} +3 -3
- package/dist/{chunk-ZJDJCMQO.js → chunk-OYFCBYMP.js} +11 -1
- package/dist/{chunk-HJWSOZXS.js → chunk-QNISTPPZ.js} +7 -7
- package/dist/{chunk-YRBRYTM5.js → chunk-UJCATSYO.js} +8 -8
- package/dist/{chunk-LDZAK5DU.js → chunk-V2H57TFD.js} +1 -1
- package/dist/{commands-LEBG6DMD.js → commands-SAQEEE6V.js} +3 -3
- package/dist/{conflicts-FJD3IVPQ.js → conflicts-5JOP4GX2.js} +16 -6
- package/dist/{contribute-XPAR2JER.js → contribute-BQKRT5GN.js} +5 -5
- package/dist/{diff-KFID4SX3.js → diff-6JSXBVSX.js} +6 -6
- package/dist/{doctor-J2GJFTSE.js → doctor-I3MTHS7F.js} +10 -10
- package/dist/{hook-HV6U3ANI.js → hook-WNA42CXE.js} +9 -9
- package/dist/index.js +17 -17
- package/dist/{init-47WA2SCG.js → init-FZ2UFPO7.js} +13 -13
- package/dist/{install-Y63HEM4G.js → install-CTLT3TSI.js} +13 -13
- package/dist/{queue-OJHKFKK3.js → queue-JW4VR33H.js} +5 -5
- package/dist/{run-Z2GHNVBO.js → run-X2WOONTB.js} +12 -12
- package/dist/{run-plan-XA7MYOQ3.js → run-plan-4MOLLIES.js} +2 -2
- package/dist/{session-start-PEVTDMOZ.js → session-start-MV7A4263.js} +9 -9
- package/dist/{sessions-6IGVH467.js → sessions-UPFDWDMB.js} +3 -3
- package/dist/{setup-global-KBJL7QRD.js → setup-global-VNADNTQ2.js} +7 -7
- package/dist/{status-3UGVDIO6.js → status-SXA3OK5E.js} +8 -8
- package/dist/{update-4UQHGENC.js → update-RMAWXMCV.js} +32 -11
- 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-DRZFWIBN.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-V2H57TFD.js";
|
|
26
|
+
import "./chunk-OYFCBYMP.js";
|
|
27
27
|
import {
|
|
28
28
|
KIT_VERSION
|
|
29
29
|
} from "./chunk-7HDQEK6T.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
L0_ARTIFACTS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CGXLR77R.js";
|
|
4
4
|
import {
|
|
5
5
|
allSkills,
|
|
6
6
|
loadPackManifest,
|
|
7
7
|
loadRegistry,
|
|
8
8
|
packMemberFileTargets,
|
|
9
9
|
skillFileTargets
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-V2H57TFD.js";
|
|
11
11
|
|
|
12
12
|
// src/lifecycle/targets.ts
|
|
13
13
|
import path from "path";
|
|
@@ -13,15 +13,6 @@ import {
|
|
|
13
13
|
driverReplies,
|
|
14
14
|
driverStop
|
|
15
15
|
} from "./chunk-6WUKLS4D.js";
|
|
16
|
-
import {
|
|
17
|
-
QUEUE_LEASE_INTERRUPT_WAIT_MS,
|
|
18
|
-
QUEUE_LEASE_SESSION_ENV,
|
|
19
|
-
acquirePlanWriterLease,
|
|
20
|
-
forwardTermination,
|
|
21
|
-
gateCheckIn,
|
|
22
|
-
holdQueueStatus,
|
|
23
|
-
procStart
|
|
24
|
-
} from "./chunk-DTSL2RH7.js";
|
|
25
16
|
import {
|
|
26
17
|
CLAUDE_SUBAGENT_MODEL_ENV,
|
|
27
18
|
describeIdenticalReviewModel,
|
|
@@ -50,6 +41,15 @@ import {
|
|
|
50
41
|
classifyGateExit,
|
|
51
42
|
landGateExit
|
|
52
43
|
} from "./chunk-BGL5DRK2.js";
|
|
44
|
+
import {
|
|
45
|
+
QUEUE_LEASE_INTERRUPT_WAIT_MS,
|
|
46
|
+
QUEUE_LEASE_SESSION_ENV,
|
|
47
|
+
acquirePlanWriterLease,
|
|
48
|
+
forwardTermination,
|
|
49
|
+
gateCheckIn,
|
|
50
|
+
holdQueueStatus,
|
|
51
|
+
procStart
|
|
52
|
+
} from "./chunk-MFKHIWEL.js";
|
|
53
53
|
import {
|
|
54
54
|
parsePlanFrontmatter
|
|
55
55
|
} from "./chunk-L5V3W3DY.js";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
compareSemver,
|
|
3
3
|
normalizeSemver,
|
|
4
4
|
readLocalKitVersion
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CVZNSRXV.js";
|
|
6
6
|
import {
|
|
7
7
|
L0_ARTIFACTS
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CGXLR77R.js";
|
|
9
9
|
import {
|
|
10
10
|
copyRegistryFile,
|
|
11
11
|
emptyStats,
|
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
mergeStats,
|
|
16
16
|
recordOutcome,
|
|
17
17
|
resolveProtectedGlobs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-V2H57TFD.js";
|
|
19
19
|
import {
|
|
20
20
|
loadManagedHashLedger,
|
|
21
21
|
saveManagedHashLedger
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-OYFCBYMP.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-4MR4QXMF.js";
|
|
4
4
|
import {
|
|
5
5
|
isProtectedPath,
|
|
6
6
|
resolveProtectedGlobs
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-V2H57TFD.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveContained
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OYFCBYMP.js";
|
|
11
11
|
|
|
12
12
|
// src/lifecycle/diff.ts
|
|
13
13
|
import { readFile } from "fs/promises";
|
|
@@ -224,6 +224,10 @@ var L0_ARTIFACTS = [
|
|
|
224
224
|
source: ".cursor/context/templates/task-brief.md",
|
|
225
225
|
target: ".cursor/context/templates/task-brief.md"
|
|
226
226
|
},
|
|
227
|
+
{
|
|
228
|
+
source: ".cursor/context/templates/command-worker-prompt.md",
|
|
229
|
+
target: ".cursor/context/templates/command-worker-prompt.md"
|
|
230
|
+
},
|
|
227
231
|
{
|
|
228
232
|
source: ".cursor/context/templates/handoff.md",
|
|
229
233
|
target: ".cursor/context/templates/handoff.md"
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
diffAgainstRegistry,
|
|
8
8
|
summarizeDiff
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7TYA3GMI.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_REGISTRY_URL,
|
|
12
12
|
assertSafeRegistrySource,
|
|
13
13
|
loadAgentKitManifest,
|
|
14
14
|
resolveRegistryRoot
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-V2H57TFD.js";
|
|
16
16
|
import {
|
|
17
17
|
KIT_PACKAGE_SPEC,
|
|
18
18
|
KIT_VERSION
|
|
@@ -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-AWQ6KRFV.js";
|
|
8
8
|
import {
|
|
9
9
|
CLAUDE_COMMANDS_DIR_REL,
|
|
10
10
|
discoverInstalledCommands
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6BEFGKCU.js";
|
|
12
12
|
import {
|
|
13
13
|
findOnPath
|
|
14
14
|
} from "./chunk-WGLPZXNU.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
compareSemver,
|
|
6
6
|
normalizeSemver
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CVZNSRXV.js";
|
|
8
8
|
import {
|
|
9
9
|
MANIFEST_RELATIVE_PATH
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-V2H57TFD.js";
|
|
11
11
|
import {
|
|
12
12
|
KIT_VERSION,
|
|
13
13
|
pinnedCliSpec
|
|
@@ -62,7 +62,7 @@ function decideQueueLease(lease, probe) {
|
|
|
62
62
|
reason: `heartbeat expired (dispatcher pid ${lease.dispatcher.pid})`
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
|
-
function formatQueueLeaseRefusal(v) {
|
|
65
|
+
function formatQueueLeaseRefusal(v, opts = {}) {
|
|
66
66
|
const l = v.lease;
|
|
67
67
|
const who = [
|
|
68
68
|
`dispatcher pid ${l.dispatcher.pid}`,
|
|
@@ -72,8 +72,10 @@ function formatQueueLeaseRefusal(v) {
|
|
|
72
72
|
`started ${l.startedAt}`,
|
|
73
73
|
`last heartbeat ${l.heartbeatAt}`
|
|
74
74
|
].join(", ");
|
|
75
|
-
const
|
|
76
|
-
|
|
75
|
+
const again = opts.next ?? "start /run-plan-all again";
|
|
76
|
+
const next = v.orphan ? `It may still be writing this repository. Check it (ps -o pid,etime,args -p ${l.agent?.pid}), stop it, then ${again}.` : `Wait for that session to end (or stop it from the window that started it), then ${again}.`;
|
|
77
|
+
const what = opts.what ?? "another /run-plan-all owns this queue";
|
|
78
|
+
return `Queue lease held: ${what} (${v.reason}; ${who}). ${next}`;
|
|
77
79
|
}
|
|
78
80
|
function procStart(pid) {
|
|
79
81
|
if (process.platform !== "linux") return null;
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
collectLiveRoster,
|
|
6
6
|
formatRosterLease,
|
|
7
7
|
formatRosterRow
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JFS4GKP7.js";
|
|
9
9
|
import {
|
|
10
10
|
CHANGELOG_FETCH_TIMEOUT_MS,
|
|
11
11
|
resolveInventoryRoot,
|
|
@@ -24,13 +24,13 @@ import {
|
|
|
24
24
|
} from "./chunk-HAFRAXGV.js";
|
|
25
25
|
import {
|
|
26
26
|
stampLastCheckedAt
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-CVZNSRXV.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-V2H57TFD.js";
|
|
34
34
|
import {
|
|
35
35
|
HANDOFF_REL
|
|
36
36
|
} from "./chunk-C4Q77GGJ.js";
|
|
@@ -475,7 +475,17 @@ var KNOWN_SHIPPED_OVERLAY_HASHES = /* @__PURE__ */ new Set([
|
|
|
475
475
|
"b2fb21604ca3cdc4f42a48a6f29873a41ca7decad7133419c982a4a340f733b3",
|
|
476
476
|
"48b3aae36a8baf10d5dcc5a9de441c93782835ce8b87c7e09e0971101c6f1614",
|
|
477
477
|
"82e65afe6d183e9dcad0fbc6c60d381eee4e854e7ddffff56d1996b0f86886bd",
|
|
478
|
-
"9b3e6543d8b3cda4a9a5fe39f3d205b9d466fa7f9a466fd51c0cccf354065a7e"
|
|
478
|
+
"9b3e6543d8b3cda4a9a5fe39f3d205b9d466fa7f9a466fd51c0cccf354065a7e",
|
|
479
|
+
"8aab3f979b9b1fac22b3090dbe82ed5a89466c599d9e2ad6a29447c9d5ad594b",
|
|
480
|
+
"29ad8ea146cfb47ce60644ecd26957d3dbc2009e8aa901f3c8e0d6bdebdddec3",
|
|
481
|
+
"483720b9181196ef45a79a838eecd9a0385c85656b3ca594a84e2b68c48f8795",
|
|
482
|
+
"6def70dacb187587ae81f8ea664cc69233f783084faad7f7eff0d9e7f2afc42a",
|
|
483
|
+
"796c04f23baf2029f2f0d450eb6c6a8f512b97a51894cd19b5992828e13ea58d",
|
|
484
|
+
"8b2be16fd45331efea075058ff63eb50f0a0742e36a28babae6e0f2ec53c6f2f",
|
|
485
|
+
"f7b48efcec313ea4a3962ddb8a0eecf819af9906be79e97692379b0fc701d792",
|
|
486
|
+
"3d29d3d2ac1f38cd69ecf83e4c50de7419b07e853ae865318682a13480542ece",
|
|
487
|
+
"6b48f8ada97dc27288723408d8a9f262ae0d22bba6c2fb08fbd12fa28b22f51a",
|
|
488
|
+
"a137cebc4d7c6a14ed56029c3d11571e73e4eb870984a7f901c0880a0980e70f"
|
|
479
489
|
]);
|
|
480
490
|
|
|
481
491
|
// src/lifecycle/paths.ts
|
|
@@ -6,13 +6,6 @@ import {
|
|
|
6
6
|
driverReplies,
|
|
7
7
|
driverStop
|
|
8
8
|
} from "./chunk-6WUKLS4D.js";
|
|
9
|
-
import {
|
|
10
|
-
QUEUE_LEASE_INTERRUPT_WAIT_MS,
|
|
11
|
-
QUEUE_LEASE_SESSION_ENV,
|
|
12
|
-
acquireQueueLease,
|
|
13
|
-
forwardTermination,
|
|
14
|
-
gateCheckIn
|
|
15
|
-
} from "./chunk-DTSL2RH7.js";
|
|
16
9
|
import {
|
|
17
10
|
readRunQueueState
|
|
18
11
|
} from "./chunk-7ABY6DYH.js";
|
|
@@ -23,6 +16,13 @@ import {
|
|
|
23
16
|
classifyGateExit,
|
|
24
17
|
landGateExit
|
|
25
18
|
} from "./chunk-BGL5DRK2.js";
|
|
19
|
+
import {
|
|
20
|
+
QUEUE_LEASE_INTERRUPT_WAIT_MS,
|
|
21
|
+
QUEUE_LEASE_SESSION_ENV,
|
|
22
|
+
acquireQueueLease,
|
|
23
|
+
forwardTermination,
|
|
24
|
+
gateCheckIn
|
|
25
|
+
} from "./chunk-MFKHIWEL.js";
|
|
26
26
|
import {
|
|
27
27
|
buildDispatchPrompt,
|
|
28
28
|
ensureDispatchLogPath,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
formatStaleCliRefusal,
|
|
7
7
|
installL0,
|
|
8
8
|
syncFromManifest
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5PSV76CQ.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-DRZFWIBN.js";
|
|
19
19
|
import {
|
|
20
20
|
assessClaudeCommandAdapters,
|
|
21
21
|
executeSafeReadinessFixes
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-F7YAAKYP.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-AWQ6KRFV.js";
|
|
29
29
|
import {
|
|
30
30
|
CLAUDE_HITL_FALLBACK,
|
|
31
31
|
generateClaudeCommandAdapters
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-6BEFGKCU.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-KDJ4ML7I.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-CVZNSRXV.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-V2H57TFD.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-6BEFGKCU.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
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-CGXLR77R.js";
|
|
17
|
+
import "./chunk-OYFCBYMP.js";
|
|
18
18
|
import {
|
|
19
19
|
KIT_VERSION
|
|
20
20
|
} from "./chunk-7HDQEK6T.js";
|
|
@@ -970,7 +970,12 @@ async function runConflictsPropose(input) {
|
|
|
970
970
|
}
|
|
971
971
|
resolvedText = spliced;
|
|
972
972
|
if (input.noVerify) {
|
|
973
|
-
verification = {
|
|
973
|
+
verification = {
|
|
974
|
+
status: "skipped",
|
|
975
|
+
reason: "not requested (pass --verify to run it)",
|
|
976
|
+
commands: [],
|
|
977
|
+
notes: []
|
|
978
|
+
};
|
|
974
979
|
} else {
|
|
975
980
|
const commands = input.verifyCommands?.length ? input.verifyCommands : await readVerifyCommands(git);
|
|
976
981
|
say(`verifying in a temporary worktree: ${commands.join(" ; ") || "(no command)"}`);
|
|
@@ -1036,12 +1041,12 @@ var proposeCommand = defineCommand({
|
|
|
1036
1041
|
json: { type: "boolean", description: "Print the full result as JSON", default: false },
|
|
1037
1042
|
verify: {
|
|
1038
1043
|
type: "boolean",
|
|
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
|
|
1040
|
-
default:
|
|
1044
|
+
description: "Off by default. 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. Pass it only for a branch whose code you trust",
|
|
1045
|
+
default: false
|
|
1041
1046
|
},
|
|
1042
1047
|
"verify-cmd": {
|
|
1043
1048
|
type: "string",
|
|
1044
|
-
description: "
|
|
1049
|
+
description: "With --verify: a 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 --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"
|
|
1045
1050
|
},
|
|
1046
1051
|
"verify-timeout": {
|
|
1047
1052
|
type: "string",
|
|
@@ -1055,6 +1060,12 @@ var proposeCommand = defineCommand({
|
|
|
1055
1060
|
},
|
|
1056
1061
|
async run({ args }) {
|
|
1057
1062
|
const cwd = path3.resolve(String(args.cwd));
|
|
1063
|
+
const verifyCmd = args["verify-cmd"] ? String(args["verify-cmd"]).trim() : "";
|
|
1064
|
+
if (verifyCmd && args.verify !== true) {
|
|
1065
|
+
logger.error("--verify-cmd only applies with --verify (verification is off by default)");
|
|
1066
|
+
process.exitCode = 1;
|
|
1067
|
+
return;
|
|
1068
|
+
}
|
|
1058
1069
|
const requested = String(args.backend ?? "auto");
|
|
1059
1070
|
let backendId;
|
|
1060
1071
|
let bin;
|
|
@@ -1092,14 +1103,13 @@ var proposeCommand = defineCommand({
|
|
|
1092
1103
|
}
|
|
1093
1104
|
verifyTimeoutMs = s * 1e3;
|
|
1094
1105
|
}
|
|
1095
|
-
const verifyCmd = args["verify-cmd"] ? String(args["verify-cmd"]).trim() : "";
|
|
1096
1106
|
const out = await runConflictsPropose({
|
|
1097
1107
|
root: cwd,
|
|
1098
1108
|
path: String(args.path),
|
|
1099
1109
|
backendId,
|
|
1100
1110
|
bin,
|
|
1101
1111
|
model: args.model ? String(args.model) : void 0,
|
|
1102
|
-
noVerify: args.verify
|
|
1112
|
+
noVerify: args.verify !== true,
|
|
1103
1113
|
verifyCommands: verifyCmd ? [verifyCmd] : void 0,
|
|
1104
1114
|
verifyTimeoutMs,
|
|
1105
1115
|
dryRun: args["dry-run"] === true
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
REGISTRY_CLI_ARGS,
|
|
3
3
|
resolveRegistryFromCli
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DRZFWIBN.js";
|
|
5
5
|
import {
|
|
6
6
|
logger
|
|
7
7
|
} from "./chunk-ZB43YMHW.js";
|
|
8
8
|
import {
|
|
9
9
|
managedPairs
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-4MR4QXMF.js";
|
|
11
|
+
import "./chunk-CGXLR77R.js";
|
|
12
12
|
import {
|
|
13
13
|
loadAgentKitManifest,
|
|
14
14
|
normalizeRelPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-V2H57TFD.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveContained
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OYFCBYMP.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-DRZFWIBN.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-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-7TYA3GMI.js";
|
|
12
|
+
import "./chunk-4MR4QXMF.js";
|
|
13
|
+
import "./chunk-CGXLR77R.js";
|
|
14
14
|
import {
|
|
15
15
|
loadAgentKitManifest
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-V2H57TFD.js";
|
|
17
|
+
import "./chunk-OYFCBYMP.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-F7YAAKYP.js";
|
|
6
6
|
import {
|
|
7
7
|
writeReadinessSnapshot
|
|
8
8
|
} from "./chunk-HAFRAXGV.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-AWQ6KRFV.js";
|
|
10
|
+
import "./chunk-6BEFGKCU.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-2IP4OO6R.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-CVZNSRXV.js";
|
|
37
37
|
import "./chunk-PFEUZXVT.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-7TYA3GMI.js";
|
|
39
|
+
import "./chunk-4MR4QXMF.js";
|
|
40
|
+
import "./chunk-CGXLR77R.js";
|
|
41
|
+
import "./chunk-V2H57TFD.js";
|
|
42
|
+
import "./chunk-OYFCBYMP.js";
|
|
43
43
|
import {
|
|
44
44
|
KIT_VERSION
|
|
45
45
|
} from "./chunk-7HDQEK6T.js";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildSessionStartAdditionalContext,
|
|
3
3
|
resolveSessionRoot
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MJJBIOSY.js";
|
|
5
5
|
import "./chunk-2YU2H7I6.js";
|
|
6
6
|
import {
|
|
7
7
|
readStdinJson
|
|
8
8
|
} from "./chunk-DE3LQFSJ.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-JFS4GKP7.js";
|
|
10
|
+
import "./chunk-MFKHIWEL.js";
|
|
11
11
|
import "./chunk-MCH3E46V.js";
|
|
12
12
|
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-CVZNSRXV.js";
|
|
17
17
|
import "./chunk-PFEUZXVT.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-7TYA3GMI.js";
|
|
19
|
+
import "./chunk-4MR4QXMF.js";
|
|
20
|
+
import "./chunk-CGXLR77R.js";
|
|
21
|
+
import "./chunk-V2H57TFD.js";
|
|
22
|
+
import "./chunk-OYFCBYMP.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,41 +234,41 @@ 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-FZ2UFPO7.js").then((m) => m.initCommand),
|
|
238
|
+
install: () => import("./install-CTLT3TSI.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-RKZQX6ZK.js").then((m) => m.addCommand),
|
|
241
|
+
doctor: () => import("./doctor-I3MTHS7F.js").then((m) => m.doctorCommand),
|
|
242
|
+
"setup-global": () => import("./setup-global-VNADNTQ2.js").then((m) => m.setupGlobalCommand),
|
|
243
|
+
status: () => import("./status-SXA3OK5E.js").then((m) => m.statusCommand),
|
|
244
|
+
update: () => import("./update-RMAWXMCV.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-6JSXBVSX.js").then((m) => m.diffCommand),
|
|
250
|
+
contribute: () => import("./contribute-BQKRT5GN.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
|
-
run: () => import("./run-
|
|
254
|
-
"run-plan": () => import("./run-plan-
|
|
255
|
-
"run-plan-all": () => import("./run-
|
|
256
|
-
queue: () => import("./queue-
|
|
253
|
+
run: () => import("./run-X2WOONTB.js").then((m) => m.runCommand),
|
|
254
|
+
"run-plan": () => import("./run-plan-4MOLLIES.js").then((m) => m.runPlanCommand),
|
|
255
|
+
"run-plan-all": () => import("./run-X2WOONTB.js").then((m) => m.runPlanAllCommand),
|
|
256
|
+
queue: () => import("./queue-JW4VR33H.js").then((m) => m.queueCommand),
|
|
257
257
|
promote: () => import("./promote-H5MIMVEB.js").then((m) => m.promoteCommand),
|
|
258
258
|
countdown: () => import("./countdown-25E5C7AR.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-5JOP4GX2.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-CRMCRZUU.js").then((m) => m.missionControlCommand),
|
|
264
|
-
hook: () => import("./hook-
|
|
264
|
+
hook: () => import("./hook-WNA42CXE.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-UPFDWDMB.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-SAQEEE6V.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-UJCATSYO.js";
|
|
6
6
|
import {
|
|
7
7
|
NON_INTERACTIVE_ROOT_ARGS
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5PSV76CQ.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-DRZFWIBN.js";
|
|
14
|
+
import "./chunk-F7YAAKYP.js";
|
|
15
15
|
import "./chunk-HAFRAXGV.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-AWQ6KRFV.js";
|
|
17
|
+
import "./chunk-6BEFGKCU.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-KDJ4ML7I.js";
|
|
36
36
|
import {
|
|
37
37
|
assessEnvironment
|
|
38
38
|
} from "./chunk-B3VR5YBQ.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-CVZNSRXV.js";
|
|
40
40
|
import "./chunk-PFEUZXVT.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-7TYA3GMI.js";
|
|
42
|
+
import "./chunk-4MR4QXMF.js";
|
|
43
|
+
import "./chunk-CGXLR77R.js";
|
|
44
|
+
import "./chunk-V2H57TFD.js";
|
|
45
|
+
import "./chunk-OYFCBYMP.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-UJCATSYO.js";
|
|
7
|
+
import "./chunk-5PSV76CQ.js";
|
|
8
8
|
import "./chunk-HS7LVVLO.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-DRZFWIBN.js";
|
|
10
|
+
import "./chunk-F7YAAKYP.js";
|
|
11
11
|
import "./chunk-HAFRAXGV.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-AWQ6KRFV.js";
|
|
13
|
+
import "./chunk-6BEFGKCU.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-KDJ4ML7I.js";
|
|
22
22
|
import "./chunk-B3VR5YBQ.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-CVZNSRXV.js";
|
|
24
24
|
import "./chunk-PFEUZXVT.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-7TYA3GMI.js";
|
|
26
|
+
import "./chunk-4MR4QXMF.js";
|
|
27
|
+
import "./chunk-CGXLR77R.js";
|
|
28
|
+
import "./chunk-V2H57TFD.js";
|
|
29
|
+
import "./chunk-OYFCBYMP.js";
|
|
30
30
|
import "./chunk-7HDQEK6T.js";
|
|
31
31
|
import "./chunk-C4Q77GGJ.js";
|
|
32
32
|
import "./chunk-5B4DVO6C.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readHandoffText
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QNISTPPZ.js";
|
|
4
4
|
import "./chunk-6WUKLS4D.js";
|
|
5
|
+
import "./chunk-7ABY6DYH.js";
|
|
6
|
+
import "./chunk-C4LCOOL4.js";
|
|
7
|
+
import "./chunk-BGL5DRK2.js";
|
|
5
8
|
import {
|
|
6
9
|
QUEUE_LEASE_RELPATH,
|
|
7
10
|
formatQueueLeaseRefusal,
|
|
8
11
|
inspectQueueLease
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-7ABY6DYH.js";
|
|
11
|
-
import "./chunk-C4LCOOL4.js";
|
|
12
|
-
import "./chunk-BGL5DRK2.js";
|
|
12
|
+
} from "./chunk-MFKHIWEL.js";
|
|
13
13
|
import {
|
|
14
14
|
extractFieldBlock
|
|
15
15
|
} from "./chunk-L5V3W3DY.js";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
runPlanLoop,
|
|
3
3
|
shouldUseLiveTui,
|
|
4
4
|
withLiveTui
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5LNHRL5E.js";
|
|
6
6
|
import "./chunk-CQHD6UKB.js";
|
|
7
7
|
import {
|
|
8
8
|
negatedFlag
|
|
@@ -10,20 +10,10 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
landDispatchOutcome,
|
|
12
12
|
runDispatchDriver
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QNISTPPZ.js";
|
|
14
14
|
import {
|
|
15
15
|
DRIVER_EVENTS_FORMATS
|
|
16
16
|
} from "./chunk-6WUKLS4D.js";
|
|
17
|
-
import {
|
|
18
|
-
LEASE_FREE_SLASHES,
|
|
19
|
-
QUEUE_LEASE_INTERRUPT_WAIT_MS,
|
|
20
|
-
QUEUE_LEASE_SESSION_ENV,
|
|
21
|
-
acquirePlanWriterLease,
|
|
22
|
-
acquireQueueLease,
|
|
23
|
-
forwardTermination,
|
|
24
|
-
gateCheckIn,
|
|
25
|
-
holdQueueStatus
|
|
26
|
-
} from "./chunk-DTSL2RH7.js";
|
|
27
17
|
import {
|
|
28
18
|
CLAUDE_SUBAGENT_MODEL_ENV,
|
|
29
19
|
describeResolvedRoles,
|
|
@@ -47,6 +37,16 @@ import "./chunk-5EBT3V7G.js";
|
|
|
47
37
|
import {
|
|
48
38
|
LAND_ON_GATE_DESCRIPTION
|
|
49
39
|
} from "./chunk-BGL5DRK2.js";
|
|
40
|
+
import {
|
|
41
|
+
LEASE_FREE_SLASHES,
|
|
42
|
+
QUEUE_LEASE_INTERRUPT_WAIT_MS,
|
|
43
|
+
QUEUE_LEASE_SESSION_ENV,
|
|
44
|
+
acquirePlanWriterLease,
|
|
45
|
+
acquireQueueLease,
|
|
46
|
+
forwardTermination,
|
|
47
|
+
gateCheckIn,
|
|
48
|
+
holdQueueStatus
|
|
49
|
+
} from "./chunk-MFKHIWEL.js";
|
|
50
50
|
import "./chunk-L5V3W3DY.js";
|
|
51
51
|
import "./chunk-MUTTNRX4.js";
|
|
52
52
|
import {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runPlanLoop
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5LNHRL5E.js";
|
|
4
4
|
import "./chunk-CQHD6UKB.js";
|
|
5
5
|
import {
|
|
6
6
|
negatedFlag
|
|
@@ -8,7 +8,6 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
DRIVER_EVENTS_FORMATS
|
|
10
10
|
} from "./chunk-6WUKLS4D.js";
|
|
11
|
-
import "./chunk-DTSL2RH7.js";
|
|
12
11
|
import {
|
|
13
12
|
loadRolesContext,
|
|
14
13
|
resolveWorkerRole
|
|
@@ -23,6 +22,7 @@ import "./chunk-5EBT3V7G.js";
|
|
|
23
22
|
import {
|
|
24
23
|
LAND_ON_GATE_DESCRIPTION
|
|
25
24
|
} from "./chunk-BGL5DRK2.js";
|
|
25
|
+
import "./chunk-MFKHIWEL.js";
|
|
26
26
|
import "./chunk-L5V3W3DY.js";
|
|
27
27
|
import "./chunk-MUTTNRX4.js";
|
|
28
28
|
import "./chunk-SGTTC2JP.js";
|
|
@@ -25,22 +25,22 @@ import {
|
|
|
25
25
|
shouldEmitCursorAwarenessNudge,
|
|
26
26
|
updateCheckSection,
|
|
27
27
|
withDeadline
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-MJJBIOSY.js";
|
|
29
29
|
import "./chunk-2YU2H7I6.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-JFS4GKP7.js";
|
|
31
|
+
import "./chunk-MFKHIWEL.js";
|
|
32
32
|
import "./chunk-MCH3E46V.js";
|
|
33
33
|
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-CVZNSRXV.js";
|
|
38
38
|
import "./chunk-PFEUZXVT.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-7TYA3GMI.js";
|
|
40
|
+
import "./chunk-4MR4QXMF.js";
|
|
41
|
+
import "./chunk-CGXLR77R.js";
|
|
42
|
+
import "./chunk-V2H57TFD.js";
|
|
43
|
+
import "./chunk-OYFCBYMP.js";
|
|
44
44
|
import "./chunk-7HDQEK6T.js";
|
|
45
45
|
import "./chunk-C4Q77GGJ.js";
|
|
46
46
|
import "./chunk-5B4DVO6C.js";
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
formatChatAge,
|
|
6
6
|
renderLiveRoster,
|
|
7
7
|
shellQuote
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-JFS4GKP7.js";
|
|
9
|
+
import "./chunk-MFKHIWEL.js";
|
|
10
10
|
import "./chunk-C4Q77GGJ.js";
|
|
11
11
|
|
|
12
12
|
// src/commands/sessions.ts
|
|
@@ -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-MV7A4263.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-KDJ4ML7I.js";
|
|
6
6
|
import {
|
|
7
7
|
assessEnvironment
|
|
8
8
|
} from "./chunk-B3VR5YBQ.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-CVZNSRXV.js";
|
|
10
10
|
import "./chunk-PFEUZXVT.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-7TYA3GMI.js";
|
|
12
|
+
import "./chunk-4MR4QXMF.js";
|
|
13
|
+
import "./chunk-CGXLR77R.js";
|
|
14
|
+
import "./chunk-V2H57TFD.js";
|
|
15
|
+
import "./chunk-OYFCBYMP.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-2IP4OO6R.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-KDJ4ML7I.js";
|
|
19
19
|
import {
|
|
20
20
|
assessEnvironment
|
|
21
21
|
} from "./chunk-B3VR5YBQ.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-CVZNSRXV.js";
|
|
23
23
|
import "./chunk-PFEUZXVT.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-7TYA3GMI.js";
|
|
25
|
+
import "./chunk-4MR4QXMF.js";
|
|
26
|
+
import "./chunk-CGXLR77R.js";
|
|
27
27
|
import {
|
|
28
28
|
MANIFEST_RELATIVE_PATH,
|
|
29
29
|
loadAgentKitManifest,
|
|
30
30
|
resolveProtectedGlobs
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-V2H57TFD.js";
|
|
32
|
+
import "./chunk-OYFCBYMP.js";
|
|
33
33
|
import {
|
|
34
34
|
KIT_VERSION
|
|
35
35
|
} from "./chunk-7HDQEK6T.js";
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
formatQueueLeaseRefusal,
|
|
3
|
+
inspectQueueLease
|
|
4
|
+
} from "./chunk-MFKHIWEL.js";
|
|
1
5
|
import {
|
|
2
6
|
NON_INTERACTIVE_ROOT_ARGS,
|
|
3
7
|
detectStaleCli,
|
|
4
8
|
formatRerunFlags,
|
|
5
9
|
formatStaleCliRefusal,
|
|
6
10
|
syncFromManifest
|
|
7
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5PSV76CQ.js";
|
|
8
12
|
import {
|
|
9
13
|
formatSkippedSymlinks,
|
|
10
14
|
logApplyStats
|
|
@@ -12,17 +16,17 @@ import {
|
|
|
12
16
|
import {
|
|
13
17
|
REGISTRY_CLI_ARGS,
|
|
14
18
|
resolveRegistryFromCli
|
|
15
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DRZFWIBN.js";
|
|
16
20
|
import {
|
|
17
21
|
CLAUDE_SETTINGS_REL,
|
|
18
22
|
formatClaudeSettingsDrift,
|
|
19
23
|
formatPermissionsChanged,
|
|
20
24
|
planClaudeSettingsDrift,
|
|
21
25
|
writeClaudeSessionStartHook
|
|
22
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-AWQ6KRFV.js";
|
|
23
27
|
import {
|
|
24
28
|
generateClaudeCommandAdapters
|
|
25
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-6BEFGKCU.js";
|
|
26
30
|
import "./chunk-Q35TWISF.js";
|
|
27
31
|
import {
|
|
28
32
|
withCliProgress
|
|
@@ -35,25 +39,25 @@ import {
|
|
|
35
39
|
confirmProjectRoot,
|
|
36
40
|
isNonInteractive,
|
|
37
41
|
syncPathCliToRuntime
|
|
38
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-KDJ4ML7I.js";
|
|
39
43
|
import "./chunk-B3VR5YBQ.js";
|
|
40
44
|
import {
|
|
41
45
|
checkForUpdates
|
|
42
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-CVZNSRXV.js";
|
|
43
47
|
import "./chunk-PFEUZXVT.js";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-7TYA3GMI.js";
|
|
49
|
+
import "./chunk-4MR4QXMF.js";
|
|
50
|
+
import "./chunk-CGXLR77R.js";
|
|
47
51
|
import {
|
|
48
52
|
buildManifest,
|
|
49
53
|
isProtectedPath,
|
|
50
54
|
loadAgentKitManifest,
|
|
51
55
|
resolveProtectedGlobs,
|
|
52
56
|
saveManifest
|
|
53
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-V2H57TFD.js";
|
|
54
58
|
import {
|
|
55
59
|
seedManagedHashLedger
|
|
56
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-OYFCBYMP.js";
|
|
57
61
|
import {
|
|
58
62
|
KIT_VERSION
|
|
59
63
|
} from "./chunk-7HDQEK6T.js";
|
|
@@ -66,6 +70,7 @@ var UPDATE_RERUN_FLAGS = [
|
|
|
66
70
|
"claude",
|
|
67
71
|
"yes",
|
|
68
72
|
"force-root",
|
|
73
|
+
"force",
|
|
69
74
|
"seed-overlay",
|
|
70
75
|
"cwd",
|
|
71
76
|
"registry",
|
|
@@ -113,6 +118,11 @@ var updateCommand = defineCommand({
|
|
|
113
118
|
description: "Apply even when this CLI is older than the registry it is syncing from; the manifest is then stamped with this CLI's version, not the registry's (factory/dev only)",
|
|
114
119
|
default: false
|
|
115
120
|
},
|
|
121
|
+
force: {
|
|
122
|
+
type: "boolean",
|
|
123
|
+
description: "Apply even while another live writer holds the queue lease (.cursor/context/run-plan-all.lock); an operator choice, never a default",
|
|
124
|
+
default: false
|
|
125
|
+
},
|
|
116
126
|
claude: {
|
|
117
127
|
type: "boolean",
|
|
118
128
|
description: "Also apply the ledger-aware Claude settings merge (.claude/settings.json + ledger) and generate the .claude/commands/* pointer adapters with install --claude authority; operator opt-in, never from hooks or plan-loop",
|
|
@@ -165,6 +175,17 @@ ${err.recovery}
|
|
|
165
175
|
logger.warn("No .cursor/agent-kit.json \u2014 run agent-kit install first.");
|
|
166
176
|
return;
|
|
167
177
|
}
|
|
178
|
+
const lease = inspectQueueLease(projectRoot);
|
|
179
|
+
if (lease.kind === "held" && !args.force) {
|
|
180
|
+
logger.error(
|
|
181
|
+
formatQueueLeaseRefusal(lease, {
|
|
182
|
+
what: "another live session writes this workspace, so update will not rewrite L0",
|
|
183
|
+
next: "run agent-kit update again (--force applies anyway; operator choice)"
|
|
184
|
+
})
|
|
185
|
+
);
|
|
186
|
+
process.exitCode = 1;
|
|
187
|
+
return;
|
|
188
|
+
}
|
|
168
189
|
const registry = await resolveRegistryFromCli({
|
|
169
190
|
cwd: projectRoot,
|
|
170
191
|
registry: args.registry,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dadado/agent-kit-cli",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.23.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/",
|