@ulpi/cli 0.1.4 → 0.1.5
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/{auth-ECQ3IB4E.js → auth-BFFBUJUC.js} +1 -1
- package/dist/{chunk-YM2HV4IA.js → chunk-26LLDX2T.js} +50 -2
- package/dist/{chunk-QJ5GSMEC.js → chunk-5SCG7UYM.js} +2 -1
- package/dist/{chunk-5J6NLQUN.js → chunk-6OURRFP7.js} +8 -8
- package/dist/chunk-AV5RB3N2.js +173 -0
- package/dist/{chunk-7LXY5UVC.js → chunk-DDRLI6JU.js} +2 -1
- package/dist/{chunk-ZLYRPD7I.js → chunk-DOIKS6C5.js} +1 -1
- package/dist/{chunk-SPOI23SB.js → chunk-EIWYSP3A.js} +1 -1
- package/dist/{chunk-7AL4DOEJ.js → chunk-ELTGWMDE.js} +3 -3
- package/dist/{chunk-6OCEY7JY.js → chunk-IFATANHR.js} +34 -3
- package/dist/{chunk-2HEE5OKX.js → chunk-K4OVPFY2.js} +1 -1
- package/dist/{chunk-JGBXM5NC.js → chunk-L3PWNHSA.js} +2 -2
- package/dist/{chunk-2VYFVYJL.js → chunk-LD52XG3X.js} +24 -24
- package/dist/{chunk-BZL5H4YQ.js → chunk-P2RESJRN.js} +2 -2
- package/dist/{chunk-3SBPZRB5.js → chunk-RJIRWQJD.js} +1 -1
- package/dist/{chunk-2CLNOKPA.js → chunk-RSFJ6QSR.js} +18 -0
- package/dist/{chunk-PDR55ZNW.js → chunk-UCMT5OKP.js} +4 -4
- package/dist/{chunk-2MZER6ND.js → chunk-YYZOFYS6.js} +2 -2
- package/dist/ci-JQ56YIKC.js +756 -0
- package/dist/{codemap-RKSD4MIE.js → codemap-HMYBXJL2.js} +36 -36
- package/dist/{config-EGAXXCGL.js → config-YYWEN7U2.js} +1 -1
- package/dist/dist-2K7IEVTA.js +43 -0
- package/dist/{dist-UKMCJBB2.js → dist-4XTJ6HLM.js} +7 -7
- package/dist/{dist-QAU3LGJN.js → dist-5R4RYNQO.js} +3 -3
- package/dist/{dist-CB5D5LMO.js → dist-6MFVWIFF.js} +8 -8
- package/dist/{dist-GJYT2OQV.js → dist-7WLLPWWB.js} +8 -8
- package/dist/{dist-RKOGLK7R.js → dist-GWGTAHNM.js} +1 -1
- package/dist/{dist-CS2VKNYS.js → dist-U7ZIJMZD.js} +8 -8
- package/dist/{dist-YA2BWZB2.js → dist-WAMAQVPK.js} +2 -2
- package/dist/dist-XD4YI27T.js +26 -0
- package/dist/dist-XG2GG5SD.js +36 -0
- package/dist/{history-3MOBX4MA.js → history-RNUWO4JZ.js} +7 -7
- package/dist/hooks-installer-K2JXEBNN.js +19 -0
- package/dist/index.js +42 -42
- package/dist/{init-6CH4HV5T.js → init-NQWFZPKO.js} +11 -11
- package/dist/{launchd-LF2QMSKZ.js → launchd-OYXUAVW6.js} +2 -2
- package/dist/{mcp-installer-NQCGKQ23.js → mcp-installer-TOYDP77X.js} +1 -1
- package/dist/{memory-Y6OZTXJ2.js → memory-D6ZFFCI2.js} +17 -17
- package/dist/{openai-E7G2YAHU-UYY4ZWON.js → openai-E7G2YAHU-IG33BFYF.js} +2 -2
- package/dist/{projects-ATHDD3D6.js → projects-COUJP4ZC.js} +3 -3
- package/dist/{review-ADUPV3PN.js → review-KMGP2S25.js} +2 -2
- package/dist/{rules-E427DKYJ.js → rules-3OFGWHP4.js} +1 -1
- package/dist/server-USLHY6GH-F4JSXCWA.js +18 -0
- package/dist/server-X5P6WH2M-ULZF5WHZ.js +11 -0
- package/dist/{skills-CX73O3IV.js → skills-GY2CTPWN.js} +2 -2
- package/dist/{status-4DFHDJMN.js → status-SE43TIFJ.js} +2 -2
- package/dist/{templates-U7T6MARD.js → templates-O2XDKB5R.js} +5 -5
- package/dist/{ui-OWXZ3YSR.js → ui-4SM2SUI6.js} +13 -13
- package/dist/{ulpi-RMMCUAGP-JCJ273T6.js → ulpi-RMMCUAGP-EWYUE7RU.js} +1 -1
- package/dist/{uninstall-6SW35IK4.js → uninstall-KWGSGZTI.js} +3 -3
- package/dist/{update-M6IBJNYP.js → update-QYZA4D23.js} +3 -3
- package/dist/{version-checker-Q6YTYAGP.js → version-checker-MVB74DEX.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-B55DDP24.js +0 -136
- package/dist/ci-STSL2LSP.js +0 -370
- package/dist/server-USLHY6GH-AEOJC5ST.js +0 -18
- package/dist/server-X5P6WH2M-7K2RY34N.js +0 -11
|
@@ -67,12 +67,12 @@ Subcommands:
|
|
|
67
67
|
}
|
|
68
68
|
async function initSubcommand(projectDir) {
|
|
69
69
|
console.log(chalk.bold("\nCodeMap \u2014 Index Project\n"));
|
|
70
|
-
const { getCurrentBranch } = await import("./dist-
|
|
70
|
+
const { getCurrentBranch } = await import("./dist-GWGTAHNM.js");
|
|
71
71
|
const branch = getCurrentBranch(projectDir);
|
|
72
|
-
const { runInitPipeline, loadCodemapConfig } = await import("./dist-
|
|
72
|
+
const { runInitPipeline, loadCodemapConfig } = await import("./dist-6MFVWIFF.js");
|
|
73
73
|
const config = loadCodemapConfig(projectDir);
|
|
74
74
|
if (config.embedding.provider === "openai") {
|
|
75
|
-
const { resolveApiKey } = await import("./dist-
|
|
75
|
+
const { resolveApiKey } = await import("./dist-GWGTAHNM.js");
|
|
76
76
|
if (!resolveApiKey("openai")) {
|
|
77
77
|
console.error(chalk.red("Error: OpenAI API key not found.\n"));
|
|
78
78
|
console.error(chalk.dim(" Set it: ulpi config set openai-key <your-key>"));
|
|
@@ -80,7 +80,7 @@ async function initSubcommand(projectDir) {
|
|
|
80
80
|
process.exit(1);
|
|
81
81
|
}
|
|
82
82
|
} else if (config.embedding.provider === "ulpi") {
|
|
83
|
-
const { resolveApiKey } = await import("./dist-
|
|
83
|
+
const { resolveApiKey } = await import("./dist-GWGTAHNM.js");
|
|
84
84
|
if (!resolveApiKey("ulpi")) {
|
|
85
85
|
console.error(chalk.red("Error: ULPI API key not found.\n"));
|
|
86
86
|
console.error(chalk.dim(" Set it: ulpi config set ulpi-key <your-key>"));
|
|
@@ -99,7 +99,7 @@ async function initSubcommand(projectDir) {
|
|
|
99
99
|
console.log(chalk.dim(` Provider: ${result.embeddingProvider} (${result.embeddingModel})`));
|
|
100
100
|
console.log(chalk.dim(` Duration: ${(result.durationMs / 1e3).toFixed(1)}s`));
|
|
101
101
|
console.log(chalk.dim(` Branch: ${branch}`));
|
|
102
|
-
const { installMcpServer } = await import("./mcp-installer-
|
|
102
|
+
const { installMcpServer } = await import("./mcp-installer-TOYDP77X.js");
|
|
103
103
|
const mcp = installMcpServer(projectDir);
|
|
104
104
|
if (mcp.installed) {
|
|
105
105
|
console.log(chalk.green("\u2713 MCP server registered"));
|
|
@@ -129,9 +129,9 @@ async function searchSubcommand(args, projectDir) {
|
|
|
129
129
|
}
|
|
130
130
|
const noTests = args.includes("--no-tests");
|
|
131
131
|
const noDocs = args.includes("--no-docs");
|
|
132
|
-
const { getCurrentBranch } = await import("./dist-
|
|
132
|
+
const { getCurrentBranch } = await import("./dist-GWGTAHNM.js");
|
|
133
133
|
const branch = getCurrentBranch(projectDir);
|
|
134
|
-
const { searchCode, getCodemapStatus } = await import("./dist-
|
|
134
|
+
const { searchCode, getCodemapStatus } = await import("./dist-6MFVWIFF.js");
|
|
135
135
|
const status = getCodemapStatus(projectDir, branch);
|
|
136
136
|
if (!status.initialized) {
|
|
137
137
|
console.log(chalk.red("Error: CodeMap index not initialized."));
|
|
@@ -175,9 +175,9 @@ CodeMap Search \u2014 "${query}"
|
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
async function statusSubcommand(projectDir) {
|
|
178
|
-
const { getCurrentBranch } = await import("./dist-
|
|
178
|
+
const { getCurrentBranch } = await import("./dist-GWGTAHNM.js");
|
|
179
179
|
const branch = getCurrentBranch(projectDir);
|
|
180
|
-
const { getCodemapStatus } = await import("./dist-
|
|
180
|
+
const { getCodemapStatus } = await import("./dist-6MFVWIFF.js");
|
|
181
181
|
const status = getCodemapStatus(projectDir, branch);
|
|
182
182
|
console.log(chalk.bold("\nCodeMap Status\n"));
|
|
183
183
|
if (!status.initialized) {
|
|
@@ -206,9 +206,9 @@ async function statusSubcommand(projectDir) {
|
|
|
206
206
|
}
|
|
207
207
|
async function reindexSubcommand(projectDir) {
|
|
208
208
|
console.log(chalk.bold("\nCodeMap \u2014 Re-index Project\n"));
|
|
209
|
-
const { getCurrentBranch } = await import("./dist-
|
|
209
|
+
const { getCurrentBranch } = await import("./dist-GWGTAHNM.js");
|
|
210
210
|
const branch = getCurrentBranch(projectDir);
|
|
211
|
-
const { getCodemapStatus } = await import("./dist-
|
|
211
|
+
const { getCodemapStatus } = await import("./dist-6MFVWIFF.js");
|
|
212
212
|
const status = getCodemapStatus(projectDir, branch);
|
|
213
213
|
if (!status.initialized) {
|
|
214
214
|
console.log(chalk.yellow("Index not initialized. Running init instead..."));
|
|
@@ -217,9 +217,9 @@ async function reindexSubcommand(projectDir) {
|
|
|
217
217
|
}
|
|
218
218
|
async function depgraphSubcommand(projectDir) {
|
|
219
219
|
console.log(chalk.bold("\nCodeMap \u2014 Rebuild Dependency Graph\n"));
|
|
220
|
-
const { getCurrentBranch } = await import("./dist-
|
|
220
|
+
const { getCurrentBranch } = await import("./dist-GWGTAHNM.js");
|
|
221
221
|
const branch = getCurrentBranch(projectDir);
|
|
222
|
-
const { getCodemapStatus, rebuildDepgraph } = await import("./dist-
|
|
222
|
+
const { getCodemapStatus, rebuildDepgraph } = await import("./dist-6MFVWIFF.js");
|
|
223
223
|
const status = getCodemapStatus(projectDir, branch);
|
|
224
224
|
if (!status.initialized) {
|
|
225
225
|
console.log(chalk.red("Error: CodeMap index not initialized. Run 'ulpi codemap init' first."));
|
|
@@ -245,7 +245,7 @@ async function depgraphSubcommand(projectDir) {
|
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
async function configSubcommand(args, projectDir) {
|
|
248
|
-
const { loadCodemapConfig, saveCodemapConfig } = await import("./dist-
|
|
248
|
+
const { loadCodemapConfig, saveCodemapConfig } = await import("./dist-6MFVWIFF.js");
|
|
249
249
|
const config = loadCodemapConfig(projectDir);
|
|
250
250
|
if (args.length === 0) {
|
|
251
251
|
console.log(chalk.bold("\nCodeMap Configuration\n"));
|
|
@@ -316,9 +316,9 @@ function setNestedValue(obj, path, value) {
|
|
|
316
316
|
}
|
|
317
317
|
async function watchSubcommand(projectDir) {
|
|
318
318
|
console.log(chalk.bold("\nCodeMap \u2014 Watch Mode\n"));
|
|
319
|
-
const { getCurrentBranch } = await import("./dist-
|
|
319
|
+
const { getCurrentBranch } = await import("./dist-GWGTAHNM.js");
|
|
320
320
|
const branch = getCurrentBranch(projectDir);
|
|
321
|
-
const { getCodemapStatus, CodemapWatcher } = await import("./dist-
|
|
321
|
+
const { getCodemapStatus, CodemapWatcher } = await import("./dist-6MFVWIFF.js");
|
|
322
322
|
const status = getCodemapStatus(projectDir, branch);
|
|
323
323
|
if (!status.initialized) {
|
|
324
324
|
console.log(chalk.yellow("Index not initialized. Running init first..."));
|
|
@@ -347,9 +347,9 @@ async function watchSubcommand(projectDir) {
|
|
|
347
347
|
}
|
|
348
348
|
async function exportSubcommand(projectDir) {
|
|
349
349
|
console.log(chalk.bold("\nCodeMap \u2014 Export Index\n"));
|
|
350
|
-
const { getCurrentBranch } = await import("./dist-
|
|
350
|
+
const { getCurrentBranch } = await import("./dist-GWGTAHNM.js");
|
|
351
351
|
const branch = getCurrentBranch(projectDir);
|
|
352
|
-
const { exportIndex } = await import("./dist-
|
|
352
|
+
const { exportIndex } = await import("./dist-6MFVWIFF.js");
|
|
353
353
|
try {
|
|
354
354
|
const result = await exportIndex(projectDir, branch);
|
|
355
355
|
console.log(chalk.green("\u2713 Export complete"));
|
|
@@ -366,9 +366,9 @@ async function exportSubcommand(projectDir) {
|
|
|
366
366
|
}
|
|
367
367
|
async function importSubcommand(projectDir) {
|
|
368
368
|
console.log(chalk.bold("\nCodeMap \u2014 Import Index\n"));
|
|
369
|
-
const { getCurrentBranch } = await import("./dist-
|
|
369
|
+
const { getCurrentBranch } = await import("./dist-GWGTAHNM.js");
|
|
370
370
|
const branch = getCurrentBranch(projectDir);
|
|
371
|
-
const { importIndex } = await import("./dist-
|
|
371
|
+
const { importIndex } = await import("./dist-6MFVWIFF.js");
|
|
372
372
|
try {
|
|
373
373
|
const result = await importIndex(projectDir, branch);
|
|
374
374
|
if (!result.success) {
|
|
@@ -390,9 +390,9 @@ async function importSubcommand(projectDir) {
|
|
|
390
390
|
}
|
|
391
391
|
}
|
|
392
392
|
async function serveSubcommand(projectDir) {
|
|
393
|
-
const { getCurrentBranch } = await import("./dist-
|
|
393
|
+
const { getCurrentBranch } = await import("./dist-GWGTAHNM.js");
|
|
394
394
|
const branch = getCurrentBranch(projectDir);
|
|
395
|
-
const { getCodemapStatus } = await import("./dist-
|
|
395
|
+
const { getCodemapStatus } = await import("./dist-6MFVWIFF.js");
|
|
396
396
|
const status = getCodemapStatus(projectDir, branch);
|
|
397
397
|
if (!status.initialized) {
|
|
398
398
|
console.error(chalk.red("Error: CodeMap index not initialized. Run 'ulpi codemap init' first."));
|
|
@@ -401,18 +401,18 @@ async function serveSubcommand(projectDir) {
|
|
|
401
401
|
console.error(chalk.dim("[codemap-mcp] Starting MCP server..."));
|
|
402
402
|
console.error(chalk.dim(`[codemap-mcp] Project: ${projectDir}`));
|
|
403
403
|
console.error(chalk.dim(`[codemap-mcp] Index: ${status.totalFiles} files, ${status.totalChunks} chunks`));
|
|
404
|
-
const { startMcpServer } = await import("./dist-
|
|
404
|
+
const { startMcpServer } = await import("./dist-4XTJ6HLM.js");
|
|
405
405
|
await startMcpServer({ projectDir, branch });
|
|
406
406
|
}
|
|
407
407
|
async function evalSubcommand(args, projectDir) {
|
|
408
|
-
const { runEvalHarness } = await import("./dist-
|
|
408
|
+
const { runEvalHarness } = await import("./dist-6MFVWIFF.js");
|
|
409
409
|
const path = await import("path");
|
|
410
410
|
const datasetIdx = args.indexOf("--dataset");
|
|
411
411
|
let datasetPath;
|
|
412
412
|
if (datasetIdx !== -1 && args[datasetIdx + 1]) {
|
|
413
413
|
datasetPath = path.resolve(args[datasetIdx + 1]);
|
|
414
414
|
} else {
|
|
415
|
-
const { projectCodemapDir } = await import("./dist-
|
|
415
|
+
const { projectCodemapDir } = await import("./dist-GWGTAHNM.js");
|
|
416
416
|
datasetPath = path.join(projectCodemapDir(projectDir), "eval", "queries.json");
|
|
417
417
|
}
|
|
418
418
|
const jsonOutput = args.includes("--json");
|
|
@@ -448,7 +448,7 @@ async function evalSubcommand(args, projectDir) {
|
|
|
448
448
|
}
|
|
449
449
|
async function migrateIndexSubcommand(projectDir) {
|
|
450
450
|
console.log(chalk.bold("\nCodeMap \u2014 Migrate Legacy Index\n"));
|
|
451
|
-
const { migrateFromLegacy } = await import("./dist-
|
|
451
|
+
const { migrateFromLegacy } = await import("./dist-6MFVWIFF.js");
|
|
452
452
|
try {
|
|
453
453
|
const result = await migrateFromLegacy(projectDir);
|
|
454
454
|
if (!result.migrated) {
|
|
@@ -474,9 +474,9 @@ async function depsSubcommand(args, projectDir) {
|
|
|
474
474
|
const transitive = args.includes("--transitive") || args.includes("-t");
|
|
475
475
|
const depthIdx = args.indexOf("--depth");
|
|
476
476
|
const maxDepth = depthIdx >= 0 ? parseInt(args[depthIdx + 1], 10) || 5 : 5;
|
|
477
|
-
const { getCurrentBranch } = await import("./dist-
|
|
477
|
+
const { getCurrentBranch } = await import("./dist-GWGTAHNM.js");
|
|
478
478
|
const branch = getCurrentBranch(projectDir);
|
|
479
|
-
const { loadGraph, getOutgoingEdges, getTransitiveDeps } = await import("./dist-
|
|
479
|
+
const { loadGraph, getOutgoingEdges, getTransitiveDeps } = await import("./dist-WAMAQVPK.js");
|
|
480
480
|
const graph = loadGraph(projectDir, branch);
|
|
481
481
|
if (!graph) {
|
|
482
482
|
console.log(chalk.yellow("No dependency graph found. Run 'ulpi codemap init' first."));
|
|
@@ -525,9 +525,9 @@ async function dependentsSubcommand(args, projectDir) {
|
|
|
525
525
|
const transitive = args.includes("--transitive") || args.includes("-t");
|
|
526
526
|
const depthIdx = args.indexOf("--depth");
|
|
527
527
|
const maxDepth = depthIdx >= 0 ? parseInt(args[depthIdx + 1], 10) || 5 : 5;
|
|
528
|
-
const { getCurrentBranch } = await import("./dist-
|
|
528
|
+
const { getCurrentBranch } = await import("./dist-GWGTAHNM.js");
|
|
529
529
|
const branch = getCurrentBranch(projectDir);
|
|
530
|
-
const { loadGraph, getIncomingEdges, getTransitiveRdeps } = await import("./dist-
|
|
530
|
+
const { loadGraph, getIncomingEdges, getTransitiveRdeps } = await import("./dist-WAMAQVPK.js");
|
|
531
531
|
const graph = loadGraph(projectDir, branch);
|
|
532
532
|
if (!graph) {
|
|
533
533
|
console.log(chalk.yellow("No dependency graph found. Run 'ulpi codemap init' first."));
|
|
@@ -570,9 +570,9 @@ Direct dependents of ${filePath}:
|
|
|
570
570
|
async function rankSubcommand(args, projectDir) {
|
|
571
571
|
const limitIdx = args.indexOf("--limit");
|
|
572
572
|
const limit = limitIdx >= 0 ? parseInt(args[limitIdx + 1], 10) || 20 : 20;
|
|
573
|
-
const { getCurrentBranch } = await import("./dist-
|
|
573
|
+
const { getCurrentBranch } = await import("./dist-GWGTAHNM.js");
|
|
574
574
|
const branch = getCurrentBranch(projectDir);
|
|
575
|
-
const { loadPageRank, loadGraph } = await import("./dist-
|
|
575
|
+
const { loadPageRank, loadGraph } = await import("./dist-WAMAQVPK.js");
|
|
576
576
|
const result = loadPageRank(projectDir, branch);
|
|
577
577
|
if (!result) {
|
|
578
578
|
console.log(chalk.yellow("No PageRank data found. Run 'ulpi codemap init' first."));
|
|
@@ -602,9 +602,9 @@ Top ${sorted.length} files by PageRank
|
|
|
602
602
|
${Object.keys(result.ranks).length} total files`));
|
|
603
603
|
}
|
|
604
604
|
async function cyclesSubcommand(projectDir) {
|
|
605
|
-
const { getCurrentBranch } = await import("./dist-
|
|
605
|
+
const { getCurrentBranch } = await import("./dist-GWGTAHNM.js");
|
|
606
606
|
const branch = getCurrentBranch(projectDir);
|
|
607
|
-
const { loadMetrics, loadGraph, detectCycles } = await import("./dist-
|
|
607
|
+
const { loadMetrics, loadGraph, detectCycles } = await import("./dist-WAMAQVPK.js");
|
|
608
608
|
let cycles;
|
|
609
609
|
const metrics = loadMetrics(projectDir, branch);
|
|
610
610
|
if (metrics) {
|
|
@@ -635,9 +635,9 @@ Found ${cycles.length} circular dependency cycle${cycles.length === 1 ? "" : "s"
|
|
|
635
635
|
}
|
|
636
636
|
async function couplingSubcommand(args, projectDir) {
|
|
637
637
|
const modulePath = args.filter((a) => !a.startsWith("--"))[0] || "";
|
|
638
|
-
const { getCurrentBranch } = await import("./dist-
|
|
638
|
+
const { getCurrentBranch } = await import("./dist-GWGTAHNM.js");
|
|
639
639
|
const branch = getCurrentBranch(projectDir);
|
|
640
|
-
const { loadGraph, computeCoupling } = await import("./dist-
|
|
640
|
+
const { loadGraph, computeCoupling } = await import("./dist-WAMAQVPK.js");
|
|
641
641
|
const graph = loadGraph(projectDir, branch);
|
|
642
642
|
if (!graph) {
|
|
643
643
|
console.log(chalk.yellow("No dependency graph found. Run 'ulpi codemap init' first."));
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import {
|
|
2
|
+
detectFormatter,
|
|
3
|
+
detectFramework,
|
|
4
|
+
detectGitWorkflow,
|
|
5
|
+
detectLanguage,
|
|
6
|
+
detectLinter,
|
|
7
|
+
detectOrm,
|
|
8
|
+
detectPackageManager,
|
|
9
|
+
detectRuntime,
|
|
10
|
+
detectStack,
|
|
11
|
+
detectTestRunner,
|
|
12
|
+
getCargoDependencies,
|
|
13
|
+
getComposerDependencies,
|
|
14
|
+
getGemDependencies,
|
|
15
|
+
getGoDependencies,
|
|
16
|
+
getMixDependencies,
|
|
17
|
+
getNodeDependencies,
|
|
18
|
+
getPythonDependencies,
|
|
19
|
+
readJsonFile,
|
|
20
|
+
readTextFile
|
|
21
|
+
} from "./chunk-RSFJ6QSR.js";
|
|
22
|
+
import "./chunk-4VNS5WPM.js";
|
|
23
|
+
export {
|
|
24
|
+
detectFormatter,
|
|
25
|
+
detectFramework,
|
|
26
|
+
detectGitWorkflow,
|
|
27
|
+
detectLanguage,
|
|
28
|
+
detectLinter,
|
|
29
|
+
detectOrm,
|
|
30
|
+
detectPackageManager,
|
|
31
|
+
detectRuntime,
|
|
32
|
+
detectStack,
|
|
33
|
+
detectTestRunner,
|
|
34
|
+
getCargoDependencies,
|
|
35
|
+
getComposerDependencies,
|
|
36
|
+
getGemDependencies,
|
|
37
|
+
getGoDependencies,
|
|
38
|
+
getMixDependencies,
|
|
39
|
+
getNodeDependencies,
|
|
40
|
+
getPythonDependencies,
|
|
41
|
+
readJsonFile,
|
|
42
|
+
readTextFile
|
|
43
|
+
};
|
|
@@ -12,9 +12,11 @@ import {
|
|
|
12
12
|
runInitPipeline,
|
|
13
13
|
searchCode,
|
|
14
14
|
searchSymbols
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-6OURRFP7.js";
|
|
16
|
+
import "./chunk-K4OVPFY2.js";
|
|
17
|
+
import "./chunk-KLEASXUR.js";
|
|
18
|
+
import "./chunk-L3PWNHSA.js";
|
|
19
|
+
import "./chunk-26LLDX2T.js";
|
|
18
20
|
import "./chunk-74WVVWJ4.js";
|
|
19
21
|
import "./chunk-KIKPIH6N.js";
|
|
20
22
|
import {
|
|
@@ -25,12 +27,10 @@ import {
|
|
|
25
27
|
loadGraph,
|
|
26
28
|
loadMetrics,
|
|
27
29
|
loadPageRank
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-2HEE5OKX.js";
|
|
30
|
+
} from "./chunk-DOIKS6C5.js";
|
|
30
31
|
import {
|
|
31
32
|
getCurrentBranch
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-KLEASXUR.js";
|
|
33
|
+
} from "./chunk-DDRLI6JU.js";
|
|
34
34
|
import "./chunk-4VNS5WPM.js";
|
|
35
35
|
|
|
36
36
|
// ../../packages/codemap-mcp/dist/index.js
|
|
@@ -40,9 +40,9 @@ import {
|
|
|
40
40
|
withWorktree,
|
|
41
41
|
writeAndStage,
|
|
42
42
|
writeHistoryEntry
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-L3PWNHSA.js";
|
|
44
|
+
import "./chunk-26LLDX2T.js";
|
|
45
|
+
import "./chunk-DDRLI6JU.js";
|
|
46
46
|
import "./chunk-4VNS5WPM.js";
|
|
47
47
|
export {
|
|
48
48
|
DEFAULT_HISTORY_CONFIG,
|
|
@@ -61,19 +61,19 @@ import {
|
|
|
61
61
|
searchCode,
|
|
62
62
|
searchSymbols,
|
|
63
63
|
tokenize
|
|
64
|
-
} from "./chunk-
|
|
65
|
-
import "./chunk-JGBXM5NC.js";
|
|
66
|
-
import "./chunk-YM2HV4IA.js";
|
|
67
|
-
import "./chunk-74WVVWJ4.js";
|
|
68
|
-
import "./chunk-KIKPIH6N.js";
|
|
69
|
-
import "./chunk-ZLYRPD7I.js";
|
|
64
|
+
} from "./chunk-6OURRFP7.js";
|
|
70
65
|
import {
|
|
71
66
|
OpenAIEmbedder
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import "./chunk-7LXY5UVC.js";
|
|
67
|
+
} from "./chunk-K4OVPFY2.js";
|
|
74
68
|
import {
|
|
75
69
|
OllamaEmbedder
|
|
76
70
|
} from "./chunk-KLEASXUR.js";
|
|
71
|
+
import "./chunk-L3PWNHSA.js";
|
|
72
|
+
import "./chunk-26LLDX2T.js";
|
|
73
|
+
import "./chunk-74WVVWJ4.js";
|
|
74
|
+
import "./chunk-KIKPIH6N.js";
|
|
75
|
+
import "./chunk-DOIKS6C5.js";
|
|
76
|
+
import "./chunk-DDRLI6JU.js";
|
|
77
77
|
import "./chunk-4VNS5WPM.js";
|
|
78
78
|
export {
|
|
79
79
|
CodemapStore,
|
|
@@ -49,16 +49,16 @@ import {
|
|
|
49
49
|
updateEntry,
|
|
50
50
|
writeClassifyBatchProgress,
|
|
51
51
|
writeMemoryStats
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-UCMT5OKP.js";
|
|
53
|
+
import "./chunk-6OURRFP7.js";
|
|
54
|
+
import "./chunk-K4OVPFY2.js";
|
|
55
|
+
import "./chunk-KLEASXUR.js";
|
|
56
|
+
import "./chunk-L3PWNHSA.js";
|
|
57
|
+
import "./chunk-26LLDX2T.js";
|
|
56
58
|
import "./chunk-74WVVWJ4.js";
|
|
57
59
|
import "./chunk-KIKPIH6N.js";
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-7LXY5UVC.js";
|
|
61
|
-
import "./chunk-KLEASXUR.js";
|
|
60
|
+
import "./chunk-DOIKS6C5.js";
|
|
61
|
+
import "./chunk-DDRLI6JU.js";
|
|
62
62
|
import "./chunk-4VNS5WPM.js";
|
|
63
63
|
export {
|
|
64
64
|
DEFAULT_MEMORY_CONFIG,
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
removeEntry,
|
|
16
16
|
searchMemory,
|
|
17
17
|
updateEntry
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-UCMT5OKP.js";
|
|
19
|
+
import "./chunk-6OURRFP7.js";
|
|
20
|
+
import "./chunk-K4OVPFY2.js";
|
|
21
|
+
import "./chunk-KLEASXUR.js";
|
|
22
|
+
import "./chunk-L3PWNHSA.js";
|
|
23
|
+
import "./chunk-26LLDX2T.js";
|
|
22
24
|
import "./chunk-74WVVWJ4.js";
|
|
23
25
|
import "./chunk-KIKPIH6N.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-7LXY5UVC.js";
|
|
27
|
-
import "./chunk-KLEASXUR.js";
|
|
26
|
+
import "./chunk-DOIKS6C5.js";
|
|
27
|
+
import "./chunk-DDRLI6JU.js";
|
|
28
28
|
import "./chunk-4VNS5WPM.js";
|
|
29
29
|
|
|
30
30
|
// ../../packages/memory-mcp/dist/index.js
|
|
@@ -24,8 +24,8 @@ import {
|
|
|
24
24
|
savePageRank,
|
|
25
25
|
saveTagsCache,
|
|
26
26
|
updateCacheEntry
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-DOIKS6C5.js";
|
|
28
|
+
import "./chunk-DDRLI6JU.js";
|
|
29
29
|
import "./chunk-4VNS5WPM.js";
|
|
30
30
|
export {
|
|
31
31
|
TAG_QUERIES,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
JsonSessionStore,
|
|
3
|
+
appendEvent,
|
|
4
|
+
createEmptyState,
|
|
5
|
+
createInitialState,
|
|
6
|
+
detectNewCommit,
|
|
7
|
+
nextPhase,
|
|
8
|
+
projectDirToSlug,
|
|
9
|
+
readEvents,
|
|
10
|
+
updateStateFromInput,
|
|
11
|
+
validateSessionId
|
|
12
|
+
} from "./chunk-26LLDX2T.js";
|
|
13
|
+
import "./chunk-DDRLI6JU.js";
|
|
14
|
+
import "./chunk-4VNS5WPM.js";
|
|
15
|
+
export {
|
|
16
|
+
JsonSessionStore,
|
|
17
|
+
appendEvent,
|
|
18
|
+
createEmptyState,
|
|
19
|
+
createInitialState,
|
|
20
|
+
detectNewCommit,
|
|
21
|
+
nextPhase,
|
|
22
|
+
projectDirToSlug,
|
|
23
|
+
readEvents,
|
|
24
|
+
updateStateFromInput,
|
|
25
|
+
validateSessionId
|
|
26
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BUNDLED_SKILLS,
|
|
3
|
+
composeTemplates,
|
|
4
|
+
deleteUserTemplate,
|
|
5
|
+
exportUserTemplate,
|
|
6
|
+
getBundledSkillInfo,
|
|
7
|
+
getBundledTemplate,
|
|
8
|
+
importUserTemplate,
|
|
9
|
+
injectSkill,
|
|
10
|
+
listUserTemplates,
|
|
11
|
+
loadBundledTemplates,
|
|
12
|
+
loadSkillSync,
|
|
13
|
+
loadTemplates,
|
|
14
|
+
loadUserTemplate,
|
|
15
|
+
resolveTemplate,
|
|
16
|
+
saveUserTemplate
|
|
17
|
+
} from "./chunk-IFATANHR.js";
|
|
18
|
+
import "./chunk-DDRLI6JU.js";
|
|
19
|
+
import "./chunk-4VNS5WPM.js";
|
|
20
|
+
export {
|
|
21
|
+
BUNDLED_SKILLS,
|
|
22
|
+
composeTemplates,
|
|
23
|
+
deleteUserTemplate,
|
|
24
|
+
exportUserTemplate,
|
|
25
|
+
getBundledSkillInfo,
|
|
26
|
+
getBundledTemplate,
|
|
27
|
+
importUserTemplate,
|
|
28
|
+
injectSkill,
|
|
29
|
+
listUserTemplates,
|
|
30
|
+
loadBundledTemplates,
|
|
31
|
+
loadSkillSync,
|
|
32
|
+
loadTemplates,
|
|
33
|
+
loadUserTemplate,
|
|
34
|
+
resolveTemplate,
|
|
35
|
+
saveUserTemplate
|
|
36
|
+
};
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
readTimeline,
|
|
20
20
|
updateEntryEnrichment,
|
|
21
21
|
writeHistoryEntry
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-L3PWNHSA.js";
|
|
23
|
+
import "./chunk-26LLDX2T.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_AI_MODEL,
|
|
26
26
|
REVIEWS_DIR,
|
|
27
27
|
getHistoryBranch
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-DDRLI6JU.js";
|
|
29
29
|
import "./chunk-4VNS5WPM.js";
|
|
30
30
|
|
|
31
31
|
// src/commands/history.ts
|
|
@@ -416,7 +416,7 @@ async function initSubcommand(projectDir) {
|
|
|
416
416
|
}
|
|
417
417
|
const projectName = path2.basename(projectDir);
|
|
418
418
|
try {
|
|
419
|
-
initHistoryBranch(projectDir, projectName, "0.1.
|
|
419
|
+
initHistoryBranch(projectDir, projectName, "0.1.5");
|
|
420
420
|
} catch (err) {
|
|
421
421
|
const message = err instanceof Error ? err.message : String(err);
|
|
422
422
|
console.log(chalk.red(`Error: ${message}`));
|
|
@@ -424,7 +424,7 @@ async function initSubcommand(projectDir) {
|
|
|
424
424
|
}
|
|
425
425
|
if (collectReviewPlans) {
|
|
426
426
|
try {
|
|
427
|
-
const { withWorktree, writeAndStage, commitInWorktree } = await import("./dist-
|
|
427
|
+
const { withWorktree, writeAndStage, commitInWorktree } = await import("./dist-5R4RYNQO.js");
|
|
428
428
|
const meta = readBranchMeta(projectDir);
|
|
429
429
|
if (meta) {
|
|
430
430
|
meta.config.collectReviewPlans = true;
|
|
@@ -447,8 +447,8 @@ async function initSubcommand(projectDir) {
|
|
|
447
447
|
);
|
|
448
448
|
if (installHooksAnswer.trim().toLowerCase() !== "n") {
|
|
449
449
|
try {
|
|
450
|
-
const { installGitHooks } = await import("./dist-
|
|
451
|
-
const { getBinaryPath } = await import("./dist-
|
|
450
|
+
const { installGitHooks } = await import("./dist-5R4RYNQO.js");
|
|
451
|
+
const { getBinaryPath } = await import("./dist-GWGTAHNM.js");
|
|
452
452
|
const binaryPath = getBinaryPath();
|
|
453
453
|
const result = installGitHooks(projectDir, binaryPath);
|
|
454
454
|
if (result.installed.length > 0) {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
findSkillSource,
|
|
3
|
+
installGlobalSkill,
|
|
4
|
+
installHooks,
|
|
5
|
+
installLocalSkill,
|
|
6
|
+
uninstallHooks
|
|
7
|
+
} from "./chunk-5SCG7UYM.js";
|
|
8
|
+
import {
|
|
9
|
+
getBinaryPath
|
|
10
|
+
} from "./chunk-DDRLI6JU.js";
|
|
11
|
+
import "./chunk-4VNS5WPM.js";
|
|
12
|
+
export {
|
|
13
|
+
findSkillSource,
|
|
14
|
+
getBinaryPath,
|
|
15
|
+
installGlobalSkill,
|
|
16
|
+
installHooks,
|
|
17
|
+
installLocalSkill,
|
|
18
|
+
uninstallHooks
|
|
19
|
+
};
|