@dadado/agent-kit-cli 5.17.0 → 6.0.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/LICENSE +201 -74
- package/NOTICE +2 -0
- package/README.md +3 -3
- package/dashboard/README.md +10 -1
- package/dashboard/dashboard-data.mjs +23 -13
- package/dashboard/dashboard.html +58 -0
- package/dashboard/lib/processes.mjs +1 -1
- package/dashboard/lib/run-logs.d.mts +34 -0
- package/dashboard/lib/run-logs.mjs +218 -0
- package/dashboard/lib/semantic-model.mjs +4 -3
- package/dashboard/serve.mjs +4 -4
- package/dashboard/start-broadcast.mjs +1 -1
- package/dashboard/start.mjs +1 -1
- package/dist/{add-HTYIFKMN.js → add-YTCDLPUS.js} +4 -4
- package/dist/{chunk-SMGFN3Z4.js → chunk-2FQX2O4I.js} +4 -4
- package/dist/{chunk-PNG7LO2F.js → chunk-3DGTPONS.js} +1 -1
- package/dist/{chunk-VY7MTPJ2.js → chunk-426GITN7.js} +1 -1
- package/dist/{chunk-2IPXQFJE.js → chunk-4CRBUEJ6.js} +2 -2
- package/dist/{chunk-STGFBAYT.js → chunk-4U7DLAQH.js} +11 -19
- package/dist/{chunk-77V75A7O.js → chunk-5B4DVO6C.js} +1 -1
- package/dist/{chunk-4IWG5CVE.js → chunk-B3VR5YBQ.js} +10 -5
- package/dist/{chunk-OUQZC744.js → chunk-B5CH47OS.js} +852 -74
- package/dist/{chunk-2RDRMGD3.js → chunk-BBVBYQJO.js} +2 -2
- package/dist/chunk-C26I6HTO.js +39 -0
- package/dist/{chunk-AW74INUW.js → chunk-DBPNGZNH.js} +6 -5
- package/dist/{chunk-DQA434Y4.js → chunk-DBXDV5O7.js} +3 -3
- package/dist/{chunk-S6GMFDKV.js → chunk-DRND2KYV.js} +2 -2
- package/dist/{chunk-F4VMYR7U.js → chunk-GN4SAZF2.js} +4 -4
- package/dist/{chunk-ZXKZBTXE.js → chunk-HAFRAXGV.js} +1 -1
- package/dist/{chunk-CBCW5R5J.js → chunk-MCH3E46V.js} +2 -2
- package/dist/{chunk-WW3YZKHW.js → chunk-NDIGZXFF.js} +26 -5
- package/dist/{chunk-TFZ2JUXH.js → chunk-PAB35H27.js} +523 -73
- package/dist/{chunk-NQ7IQ5XT.js → chunk-PFEUZXVT.js} +1 -1
- package/dist/{chunk-W24CMQ32.js → chunk-PPKX55GI.js} +3 -3
- package/dist/{chunk-ZCTSUQRR.js → chunk-T6P5ZMG2.js} +3 -3
- package/dist/{chunk-N3HTJVBR.js → chunk-VTOUQAVR.js} +1 -1
- package/dist/{chunk-B73KQ5KX.js → chunk-WFXHMP47.js} +11 -11
- package/dist/chunk-WGLPZXNU.js +45 -0
- package/dist/{chunk-KD2MYBB6.js → chunk-WUWRGOUV.js} +2 -2
- package/dist/{contribute-C6AW2P6J.js → contribute-A7NCWTUM.js} +5 -5
- package/dist/{cursor-awareness-KTL2RGKD.js → cursor-awareness-TN5JXD2C.js} +3 -3
- package/dist/{diff-VHNR62SI.js → diff-4MDU5SLE.js} +6 -6
- package/dist/{doctor-PET2HRRJ.js → doctor-MQAXOFKM.js} +16 -14
- package/dist/{dogfood-KKFVRWT6.js → dogfood-2JAHSYQA.js} +4 -4
- package/dist/{handoff-3UI6VKVG.js → handoff-MK5JG3J5.js} +4 -4
- package/dist/{hook-DYIMKJYL.js → hook-D2WHBKRN.js} +12 -12
- package/dist/index.js +26 -24
- package/dist/{init-Q4LBM6KT.js → init-7T6KNDFE.js} +17 -16
- package/dist/install-6G3D7J4U.js +35 -0
- package/dist/{monitors-QV2IS3MP.js → monitors-PDXBLB3U.js} +1 -1
- package/dist/{plan-index-JMC7Z4DW.js → plan-index-V7T5MKL6.js} +3 -3
- package/dist/{public-inbound-radar-WP3XF7GS.js → public-inbound-radar-5U4JMBRU.js} +3 -3
- package/dist/{remote-issues-SZ4HDQL5.js → remote-issues-APYOMIJC.js} +4 -4
- package/dist/{run-I3BFGULT.js → run-MWOI7UW5.js} +7 -6
- package/dist/{run-plan-FO7CL4M3.js → run-plan-UWQD3BIJ.js} +37 -6
- package/dist/{scan-NI2SWJ2E.js → scan-3MIUE7OR.js} +2 -2
- package/dist/{setup-global-M42GEODI.js → setup-global-AT4DD3MG.js} +9 -9
- package/dist/{status-XPVQVQMX.js → status-MXNTBKPL.js} +11 -11
- package/dist/{update-FJ2EBZVO.js → update-P62637ZI.js} +12 -12
- package/package.json +10 -6
- package/dist/chunk-5VCOWTTP.js +0 -6
- package/dist/install-RHOS3OYZ.js +0 -34
|
@@ -10,14 +10,14 @@ import {
|
|
|
10
10
|
resolveContained,
|
|
11
11
|
saveManagedHashLedger,
|
|
12
12
|
shouldPreserveCustomizedOverlay
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DBPNGZNH.js";
|
|
14
14
|
import {
|
|
15
15
|
ensureDir,
|
|
16
16
|
fileExists
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-5B4DVO6C.js";
|
|
18
18
|
|
|
19
19
|
// src/generator/claude-command-adapters.ts
|
|
20
|
-
import {
|
|
20
|
+
import { readdir, readFile, writeFile } from "fs/promises";
|
|
21
21
|
import path from "path";
|
|
22
22
|
var CURSOR_COMMANDS_DIR_REL = ".cursor/commands";
|
|
23
23
|
var CLAUDE_COMMANDS_DIR_REL = ".claude/commands";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
fileExists,
|
|
6
6
|
listDirectory,
|
|
7
7
|
readJson
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5B4DVO6C.js";
|
|
9
9
|
|
|
10
10
|
// src/scanner/scan.ts
|
|
11
11
|
import path7 from "path";
|
|
@@ -204,7 +204,7 @@ async function detectIde(rootDir) {
|
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
// src/scanner/detect-infra.ts
|
|
207
|
-
import {
|
|
207
|
+
import { readdir, readFile } from "fs/promises";
|
|
208
208
|
import path3 from "path";
|
|
209
209
|
function extractRunCommands(yaml) {
|
|
210
210
|
const lines = yaml.split(/\r?\n/);
|
|
@@ -534,7 +534,7 @@ async function detectServices(rootDir) {
|
|
|
534
534
|
}
|
|
535
535
|
|
|
536
536
|
// src/scanner/detect-stack.ts
|
|
537
|
-
import {
|
|
537
|
+
import { readdir as readdir2, readFile as readFile4 } from "fs/promises";
|
|
538
538
|
import path6 from "path";
|
|
539
539
|
var PROJECT_MARKERS = [
|
|
540
540
|
"package.json",
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
NON_INTERACTIVE_ROOT_ARGS,
|
|
3
3
|
installL0,
|
|
4
4
|
syncFromManifest
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DBXDV5O7.js";
|
|
6
6
|
import {
|
|
7
7
|
SkippedSymlinkError,
|
|
8
8
|
formatPersonalizationSkippedSymlinks,
|
|
@@ -11,19 +11,19 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
REGISTRY_CLI_ARGS,
|
|
13
13
|
resolveRegistryFromCli
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3DGTPONS.js";
|
|
15
15
|
import {
|
|
16
16
|
assessClaudeCommandAdapters,
|
|
17
17
|
executeSafeReadinessFixes
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4U7DLAQH.js";
|
|
19
19
|
import {
|
|
20
20
|
writeReadinessSnapshot
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HAFRAXGV.js";
|
|
22
22
|
import {
|
|
23
23
|
CLAUDE_HITL_FALLBACK,
|
|
24
24
|
generateClaudeCommandAdapters,
|
|
25
25
|
writeClaudeSessionStartHook
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PPKX55GI.js";
|
|
27
27
|
import {
|
|
28
28
|
shouldUseWelcomeColor,
|
|
29
29
|
withCliProgress
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
REPOSITORY_PROFILE_REL,
|
|
36
36
|
detectIde,
|
|
37
37
|
runScanner
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-T6P5ZMG2.js";
|
|
39
39
|
import {
|
|
40
40
|
GIT_PLATFORM_META
|
|
41
41
|
} from "./chunk-F6C3GFKV.js";
|
|
@@ -50,13 +50,13 @@ import {
|
|
|
50
50
|
npxPinned,
|
|
51
51
|
pathCliStatus,
|
|
52
52
|
syncPathCliToRuntime
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-GN4SAZF2.js";
|
|
54
54
|
import {
|
|
55
55
|
assessEnvironment
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-B3VR5YBQ.js";
|
|
57
57
|
import {
|
|
58
58
|
warnIfRunningCliBehindNpm
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-2FQX2O4I.js";
|
|
60
60
|
import {
|
|
61
61
|
DOMAIN_PACK_IDS,
|
|
62
62
|
allPacks,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
resolveProtectedGlobs,
|
|
74
74
|
saveManifest,
|
|
75
75
|
skillTargetDir
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-DBPNGZNH.js";
|
|
77
77
|
import {
|
|
78
78
|
KIT_VERSION,
|
|
79
79
|
pinnedCliSpec
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
ensureDir,
|
|
83
83
|
fileExists,
|
|
84
84
|
writeJson
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-5B4DVO6C.js";
|
|
86
86
|
|
|
87
87
|
// src/commands/install.ts
|
|
88
88
|
import path4 from "path";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// src/utils/find-on-path.ts
|
|
2
|
+
import { constants } from "fs";
|
|
3
|
+
import { access, stat } from "fs/promises";
|
|
4
|
+
import path from "path";
|
|
5
|
+
var DEFAULT_PATHEXT = ".COM;.EXE;.BAT;.CMD";
|
|
6
|
+
async function findOnPath(bin, opts = {}) {
|
|
7
|
+
const env = opts.env ?? process.env;
|
|
8
|
+
const platform = opts.platform ?? process.platform;
|
|
9
|
+
const win = platform === "win32";
|
|
10
|
+
const pathApi = win ? path.win32 : path.posix;
|
|
11
|
+
const check = opts.accessFn ?? (async (file, mode2) => {
|
|
12
|
+
await access(file, mode2);
|
|
13
|
+
if (!(await stat(file)).isFile()) throw new Error("not a file");
|
|
14
|
+
});
|
|
15
|
+
const mode = win ? constants.F_OK : constants.X_OK;
|
|
16
|
+
if (!bin.trim()) return null;
|
|
17
|
+
const pathValue = (win ? env.Path ?? env.PATH ?? env.path : env.PATH) ?? "";
|
|
18
|
+
const exts = win ? (env.PATHEXT ?? DEFAULT_PATHEXT).split(";").filter(Boolean) : [""];
|
|
19
|
+
const hasExt = win && exts.some((ext) => bin.toLowerCase().endsWith(ext.toLowerCase()));
|
|
20
|
+
const suffixes = hasExt ? [""] : exts;
|
|
21
|
+
const tryFile = async (file) => {
|
|
22
|
+
for (const ext of suffixes) {
|
|
23
|
+
const candidate = `${file}${ext}`;
|
|
24
|
+
try {
|
|
25
|
+
await check(candidate, mode);
|
|
26
|
+
return candidate;
|
|
27
|
+
} catch {
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return null;
|
|
31
|
+
};
|
|
32
|
+
if (bin.includes("/") || win && bin.includes("\\")) return tryFile(bin);
|
|
33
|
+
const delimiter = win ? ";" : ":";
|
|
34
|
+
for (const raw of pathValue.split(delimiter)) {
|
|
35
|
+
const dir = raw.trim().replace(/^"(.*)"$/, "$1");
|
|
36
|
+
if (!dir) continue;
|
|
37
|
+
const hit = await tryFile(pathApi.join(dir, bin));
|
|
38
|
+
if (hit) return hit;
|
|
39
|
+
}
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export {
|
|
44
|
+
findOnPath
|
|
45
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HANDOFF_REL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C26I6HTO.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureDir
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5B4DVO6C.js";
|
|
7
7
|
|
|
8
8
|
// src/plan-index/plan-index.ts
|
|
9
9
|
import { readFile, writeFile } from "fs/promises";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
REGISTRY_CLI_ARGS,
|
|
3
3
|
resolveRegistryFromCli
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3DGTPONS.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-VTOUQAVR.js";
|
|
11
11
|
import {
|
|
12
12
|
loadAgentKitManifest,
|
|
13
13
|
normalizeRelPath,
|
|
14
14
|
resolveContained
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-DBPNGZNH.js";
|
|
16
|
+
import "./chunk-C26I6HTO.js";
|
|
17
|
+
import "./chunk-5B4DVO6C.js";
|
|
18
18
|
|
|
19
19
|
// src/commands/contribute.ts
|
|
20
20
|
import { defineCommand } from "citty";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkCursorUpdateAwareness
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MCH3E46V.js";
|
|
4
4
|
import {
|
|
5
5
|
logger
|
|
6
6
|
} from "./chunk-ZB43YMHW.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-PFEUZXVT.js";
|
|
8
|
+
import "./chunk-5B4DVO6C.js";
|
|
9
9
|
|
|
10
10
|
// src/commands/cursor-awareness.ts
|
|
11
11
|
import { defineCommand } from "citty";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
REGISTRY_CLI_ARGS,
|
|
3
3
|
resolveRegistryFromCli
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3DGTPONS.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-BBVBYQJO.js";
|
|
12
|
+
import "./chunk-VTOUQAVR.js";
|
|
13
13
|
import {
|
|
14
14
|
loadAgentKitManifest
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-DBPNGZNH.js";
|
|
16
|
+
import "./chunk-C26I6HTO.js";
|
|
17
|
+
import "./chunk-5B4DVO6C.js";
|
|
18
18
|
|
|
19
19
|
// src/commands/diff.ts
|
|
20
20
|
import { defineCommand } from "citty";
|
|
@@ -2,11 +2,12 @@ import {
|
|
|
2
2
|
assessHooksHealth,
|
|
3
3
|
executeSafeReadinessFixes,
|
|
4
4
|
refreshRepositoryProfile
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4U7DLAQH.js";
|
|
6
6
|
import {
|
|
7
7
|
writeReadinessSnapshot
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-HAFRAXGV.js";
|
|
9
|
+
import "./chunk-PPKX55GI.js";
|
|
10
|
+
import "./chunk-WGLPZXNU.js";
|
|
10
11
|
import "./chunk-MAPOQEA2.js";
|
|
11
12
|
import {
|
|
12
13
|
withCliProgress
|
|
@@ -14,34 +15,35 @@ import {
|
|
|
14
15
|
import {
|
|
15
16
|
detectWorkspaceParent,
|
|
16
17
|
workspaceParentAdvisoryLines
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DRND2KYV.js";
|
|
18
19
|
import {
|
|
19
20
|
createReadinessReport
|
|
20
21
|
} from "./chunk-PNFF6OU3.js";
|
|
21
22
|
import {
|
|
22
23
|
runScanner
|
|
23
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-T6P5ZMG2.js";
|
|
24
25
|
import "./chunk-F6C3GFKV.js";
|
|
25
26
|
import {
|
|
26
27
|
logger
|
|
27
28
|
} from "./chunk-ZB43YMHW.js";
|
|
28
29
|
import {
|
|
30
|
+
MIN_NODE_VERSION_LABEL,
|
|
29
31
|
assessEnvironment
|
|
30
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-B3VR5YBQ.js";
|
|
31
33
|
import {
|
|
32
34
|
warnIfRunningCliBehindNpm
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-5VCOWTTP.js";
|
|
35
|
+
} from "./chunk-2FQX2O4I.js";
|
|
36
|
+
import "./chunk-PFEUZXVT.js";
|
|
37
|
+
import "./chunk-BBVBYQJO.js";
|
|
38
|
+
import "./chunk-VTOUQAVR.js";
|
|
39
|
+
import "./chunk-DBPNGZNH.js";
|
|
39
40
|
import {
|
|
40
41
|
KIT_VERSION
|
|
41
42
|
} from "./chunk-7HDQEK6T.js";
|
|
43
|
+
import "./chunk-C26I6HTO.js";
|
|
42
44
|
import {
|
|
43
45
|
readJson
|
|
44
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-5B4DVO6C.js";
|
|
45
47
|
|
|
46
48
|
// src/commands/doctor.ts
|
|
47
49
|
import path from "path";
|
|
@@ -173,7 +175,7 @@ function printDoctorSummary(result, rootDir) {
|
|
|
173
175
|
console.log(` - ${result.env.npmPrefix.reason}`);
|
|
174
176
|
}
|
|
175
177
|
console.log(
|
|
176
|
-
` - node version >=
|
|
178
|
+
` - node version >= ${MIN_NODE_VERSION_LABEL}: ${result.env.nodeVersionOk ? "ok" : "TOO OLD"} (${result.env.nodeVersion})`
|
|
177
179
|
);
|
|
178
180
|
console.log(
|
|
179
181
|
` - shell profile: ${result.env.shellProfile ?? "not detected (zsh/bash only)"}${result.env.shell ? ` (shell: ${result.env.shell})` : ""}`
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
REMOTE_ISSUE_TITLE_PREFIX,
|
|
3
3
|
parseRemoteUrl
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-426GITN7.js";
|
|
5
5
|
import {
|
|
6
6
|
PUBLIC_INBOUND_REPO
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4CRBUEJ6.js";
|
|
8
8
|
import {
|
|
9
9
|
logger
|
|
10
10
|
} from "./chunk-ZB43YMHW.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-PFEUZXVT.js";
|
|
12
|
+
import "./chunk-5B4DVO6C.js";
|
|
13
13
|
|
|
14
14
|
// src/commands/dogfood.ts
|
|
15
15
|
import { defineCommand } from "citty";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
extractHandoffNamedPlans,
|
|
7
7
|
namedPlanCandidatePaths,
|
|
8
8
|
parsePlanFrontmatter
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WUWRGOUV.js";
|
|
10
10
|
import {
|
|
11
11
|
PM_TOOL_LABELS
|
|
12
12
|
} from "./chunk-F6C3GFKV.js";
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
} from "./chunk-ZB43YMHW.js";
|
|
16
16
|
import {
|
|
17
17
|
HANDOFF_REL
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-C26I6HTO.js";
|
|
19
19
|
import {
|
|
20
20
|
ensureDir,
|
|
21
21
|
fileExists,
|
|
22
22
|
readJson
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5B4DVO6C.js";
|
|
24
24
|
|
|
25
25
|
// src/commands/handoff.ts
|
|
26
26
|
import { spawn } from "child_process";
|
|
27
|
-
import { appendFile,
|
|
27
|
+
import { appendFile, readdir, readFile, writeFile } from "fs/promises";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { defineCommand } from "citty";
|
|
30
30
|
var HANDOFF_PRUNE_DEFAULT_KEEP = 5;
|
|
@@ -8,36 +8,36 @@ import {
|
|
|
8
8
|
CHANGELOG_FETCH_TIMEOUT_MS,
|
|
9
9
|
resolveInventoryRoot,
|
|
10
10
|
stampCursorUpdateCheck
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MCH3E46V.js";
|
|
12
12
|
import {
|
|
13
13
|
shouldEmitPublicInboundNudge,
|
|
14
14
|
stampPublicInboundCheck
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4CRBUEJ6.js";
|
|
16
16
|
import {
|
|
17
17
|
formatPlanIndexSection,
|
|
18
18
|
writePlanIndex
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WUWRGOUV.js";
|
|
20
20
|
import {
|
|
21
21
|
READINESS_SNAPSHOT_RELATIVE_PATH
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HAFRAXGV.js";
|
|
23
23
|
import {
|
|
24
24
|
stampLastCheckedAt
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-2FQX2O4I.js";
|
|
26
26
|
import {
|
|
27
27
|
loadContextConfig
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-PFEUZXVT.js";
|
|
29
|
+
import "./chunk-BBVBYQJO.js";
|
|
30
|
+
import "./chunk-VTOUQAVR.js";
|
|
31
31
|
import {
|
|
32
32
|
MANIFEST_RELATIVE_PATH
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-DBPNGZNH.js";
|
|
34
|
+
import "./chunk-7HDQEK6T.js";
|
|
34
35
|
import {
|
|
35
36
|
HANDOFF_REL
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-7HDQEK6T.js";
|
|
37
|
+
} from "./chunk-C26I6HTO.js";
|
|
38
38
|
import {
|
|
39
39
|
fileExists
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-5B4DVO6C.js";
|
|
41
41
|
|
|
42
42
|
// src/commands/hook.ts
|
|
43
43
|
import path2 from "path";
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
rewriteRootArgvToRun
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-NDIGZXFF.js";
|
|
5
|
+
import "./chunk-B5CH47OS.js";
|
|
6
|
+
import "./chunk-WGLPZXNU.js";
|
|
6
7
|
import "./chunk-MAPOQEA2.js";
|
|
7
8
|
import {
|
|
8
9
|
HELMET_OUTLINE,
|
|
@@ -15,7 +16,8 @@ import {
|
|
|
15
16
|
import {
|
|
16
17
|
KIT_VERSION
|
|
17
18
|
} from "./chunk-7HDQEK6T.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-C26I6HTO.js";
|
|
20
|
+
import "./chunk-5B4DVO6C.js";
|
|
19
21
|
|
|
20
22
|
// src/index.ts
|
|
21
23
|
import { defineCommand, runMain, showUsage } from "citty";
|
|
@@ -211,31 +213,31 @@ var main = defineCommand({
|
|
|
211
213
|
version: KIT_VERSION
|
|
212
214
|
},
|
|
213
215
|
subCommands: {
|
|
214
|
-
init: () => import("./init-
|
|
215
|
-
install: () => import("./install-
|
|
216
|
-
scan: () => import("./scan-
|
|
217
|
-
add: () => import("./add-
|
|
218
|
-
doctor: () => import("./doctor-
|
|
219
|
-
"setup-global": () => import("./setup-global-
|
|
220
|
-
status: () => import("./status-
|
|
221
|
-
update: () => import("./update-
|
|
222
|
-
"cursor-awareness": () => import("./cursor-awareness-
|
|
223
|
-
"public-inbound-radar": () => import("./public-inbound-radar-
|
|
224
|
-
"remote-issues": () => import("./remote-issues-
|
|
225
|
-
dogfood: () => import("./dogfood-
|
|
226
|
-
diff: () => import("./diff-
|
|
227
|
-
contribute: () => import("./contribute-
|
|
228
|
-
handoff: () => import("./handoff-
|
|
229
|
-
"plan-index": () => import("./plan-index-
|
|
230
|
-
run: () => import("./run-
|
|
231
|
-
"run-plan": () => import("./run-plan-
|
|
232
|
-
"run-plan-all": () => import("./run-
|
|
216
|
+
init: () => import("./init-7T6KNDFE.js").then((m) => m.initCommand),
|
|
217
|
+
install: () => import("./install-6G3D7J4U.js").then((m) => m.installCommand),
|
|
218
|
+
scan: () => import("./scan-3MIUE7OR.js").then((m) => m.scanCommand),
|
|
219
|
+
add: () => import("./add-YTCDLPUS.js").then((m) => m.addCommand),
|
|
220
|
+
doctor: () => import("./doctor-MQAXOFKM.js").then((m) => m.doctorCommand),
|
|
221
|
+
"setup-global": () => import("./setup-global-AT4DD3MG.js").then((m) => m.setupGlobalCommand),
|
|
222
|
+
status: () => import("./status-MXNTBKPL.js").then((m) => m.statusCommand),
|
|
223
|
+
update: () => import("./update-P62637ZI.js").then((m) => m.updateCommand),
|
|
224
|
+
"cursor-awareness": () => import("./cursor-awareness-TN5JXD2C.js").then((m) => m.cursorAwarenessCommand),
|
|
225
|
+
"public-inbound-radar": () => import("./public-inbound-radar-5U4JMBRU.js").then((m) => m.publicInboundRadarCommand),
|
|
226
|
+
"remote-issues": () => import("./remote-issues-APYOMIJC.js").then((m) => m.remoteIssuesCommand),
|
|
227
|
+
dogfood: () => import("./dogfood-2JAHSYQA.js").then((m) => m.dogfoodCommand),
|
|
228
|
+
diff: () => import("./diff-4MDU5SLE.js").then((m) => m.diffCommand),
|
|
229
|
+
contribute: () => import("./contribute-A7NCWTUM.js").then((m) => m.contributeCommand),
|
|
230
|
+
handoff: () => import("./handoff-MK5JG3J5.js").then((m) => m.handoffCommand),
|
|
231
|
+
"plan-index": () => import("./plan-index-V7T5MKL6.js").then((m) => m.planIndexCommand),
|
|
232
|
+
run: () => import("./run-MWOI7UW5.js").then((m) => m.runCommand),
|
|
233
|
+
"run-plan": () => import("./run-plan-UWQD3BIJ.js").then((m) => m.runPlanCommand),
|
|
234
|
+
"run-plan-all": () => import("./run-MWOI7UW5.js").then((m) => m.runPlanAllCommand),
|
|
233
235
|
dashboard: () => import("./dashboard-YSNUGBFY.js").then((m) => m.dashboardCommand),
|
|
234
236
|
"dashboard-broadcast": () => import("./dashboard-broadcast-M4CMW7RX.js").then((m) => m.dashboardBroadcastCommand),
|
|
235
237
|
"mission-control": () => import("./mission-control-LJACEVVN.js").then((m) => m.missionControlCommand),
|
|
236
|
-
hook: () => import("./hook-
|
|
238
|
+
hook: () => import("./hook-D2WHBKRN.js").then((m) => m.hookCommand),
|
|
237
239
|
guard: () => import("./guard-EHXF76ID.js").then((m) => m.guardCommand),
|
|
238
|
-
monitors: () => import("./monitors-
|
|
240
|
+
monitors: () => import("./monitors-PDXBLB3U.js").then((m) => m.monitorsCommand),
|
|
239
241
|
validate: () => import("./validate-V2CW7J4B.js").then((m) => m.validateCommand)
|
|
240
242
|
},
|
|
241
243
|
async run({ rawArgs }) {
|
|
@@ -2,24 +2,25 @@ import {
|
|
|
2
2
|
nextStepAfterInstall,
|
|
3
3
|
performInstall,
|
|
4
4
|
printInstallEpilogue
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WFXHMP47.js";
|
|
6
6
|
import {
|
|
7
7
|
NON_INTERACTIVE_ROOT_ARGS
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DBXDV5O7.js";
|
|
9
9
|
import {
|
|
10
10
|
SkippedSymlinkError,
|
|
11
11
|
logApplyStats
|
|
12
12
|
} from "./chunk-HS7LVVLO.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-3DGTPONS.js";
|
|
14
|
+
import "./chunk-4U7DLAQH.js";
|
|
15
|
+
import "./chunk-HAFRAXGV.js";
|
|
16
|
+
import "./chunk-PPKX55GI.js";
|
|
17
|
+
import "./chunk-WGLPZXNU.js";
|
|
17
18
|
import "./chunk-MAPOQEA2.js";
|
|
18
19
|
import {
|
|
19
20
|
withCliProgress
|
|
20
21
|
} from "./chunk-QTON2GQX.js";
|
|
21
22
|
import "./chunk-PNFF6OU3.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-T6P5ZMG2.js";
|
|
23
24
|
import "./chunk-F6C3GFKV.js";
|
|
24
25
|
import {
|
|
25
26
|
logger
|
|
@@ -30,20 +31,20 @@ import {
|
|
|
30
31
|
confirmProjectRoot,
|
|
31
32
|
isNonInteractive,
|
|
32
33
|
syncPathCliToRuntime
|
|
33
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-GN4SAZF2.js";
|
|
34
35
|
import {
|
|
35
36
|
assessEnvironment
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-5VCOWTTP.js";
|
|
37
|
+
} from "./chunk-B3VR5YBQ.js";
|
|
38
|
+
import "./chunk-2FQX2O4I.js";
|
|
39
|
+
import "./chunk-PFEUZXVT.js";
|
|
40
|
+
import "./chunk-BBVBYQJO.js";
|
|
41
|
+
import "./chunk-VTOUQAVR.js";
|
|
42
|
+
import "./chunk-DBPNGZNH.js";
|
|
43
43
|
import {
|
|
44
44
|
KIT_VERSION
|
|
45
45
|
} from "./chunk-7HDQEK6T.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-C26I6HTO.js";
|
|
47
|
+
import "./chunk-5B4DVO6C.js";
|
|
47
48
|
|
|
48
49
|
// src/commands/init.ts
|
|
49
50
|
import { intro, outro } from "@clack/prompts";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import {
|
|
2
|
+
installCommand,
|
|
3
|
+
nextStepAfterInstall,
|
|
4
|
+
performInstall,
|
|
5
|
+
printInstallEpilogue
|
|
6
|
+
} from "./chunk-WFXHMP47.js";
|
|
7
|
+
import "./chunk-DBXDV5O7.js";
|
|
8
|
+
import "./chunk-HS7LVVLO.js";
|
|
9
|
+
import "./chunk-3DGTPONS.js";
|
|
10
|
+
import "./chunk-4U7DLAQH.js";
|
|
11
|
+
import "./chunk-HAFRAXGV.js";
|
|
12
|
+
import "./chunk-PPKX55GI.js";
|
|
13
|
+
import "./chunk-WGLPZXNU.js";
|
|
14
|
+
import "./chunk-MAPOQEA2.js";
|
|
15
|
+
import "./chunk-QTON2GQX.js";
|
|
16
|
+
import "./chunk-PNFF6OU3.js";
|
|
17
|
+
import "./chunk-T6P5ZMG2.js";
|
|
18
|
+
import "./chunk-F6C3GFKV.js";
|
|
19
|
+
import "./chunk-ZB43YMHW.js";
|
|
20
|
+
import "./chunk-GN4SAZF2.js";
|
|
21
|
+
import "./chunk-B3VR5YBQ.js";
|
|
22
|
+
import "./chunk-2FQX2O4I.js";
|
|
23
|
+
import "./chunk-PFEUZXVT.js";
|
|
24
|
+
import "./chunk-BBVBYQJO.js";
|
|
25
|
+
import "./chunk-VTOUQAVR.js";
|
|
26
|
+
import "./chunk-DBPNGZNH.js";
|
|
27
|
+
import "./chunk-7HDQEK6T.js";
|
|
28
|
+
import "./chunk-C26I6HTO.js";
|
|
29
|
+
import "./chunk-5B4DVO6C.js";
|
|
30
|
+
export {
|
|
31
|
+
installCommand,
|
|
32
|
+
nextStepAfterInstall,
|
|
33
|
+
performInstall,
|
|
34
|
+
printInstallEpilogue
|
|
35
|
+
};
|
|
@@ -4,7 +4,7 @@ import { defineCommand } from "citty";
|
|
|
4
4
|
|
|
5
5
|
// src/invariants/monitors-untriaged.ts
|
|
6
6
|
import { execFile } from "child_process";
|
|
7
|
-
import {
|
|
7
|
+
import { readdir, readFile, stat } from "fs/promises";
|
|
8
8
|
import path from "path";
|
|
9
9
|
import { promisify } from "util";
|
|
10
10
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formatPlanIndexLines,
|
|
3
3
|
writePlanIndex
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-WUWRGOUV.js";
|
|
5
|
+
import "./chunk-C26I6HTO.js";
|
|
6
|
+
import "./chunk-5B4DVO6C.js";
|
|
7
7
|
|
|
8
8
|
// src/commands/plan-index.ts
|
|
9
9
|
import path from "path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkPublicInbound
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4CRBUEJ6.js";
|
|
4
4
|
import {
|
|
5
5
|
logger
|
|
6
6
|
} from "./chunk-ZB43YMHW.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-PFEUZXVT.js";
|
|
8
|
+
import "./chunk-5B4DVO6C.js";
|
|
9
9
|
|
|
10
10
|
// src/commands/public-inbound-radar.ts
|
|
11
11
|
import { defineCommand } from "citty";
|