@justmpm/ai-tool 0.3.0 → 0.3.1
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/cli.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
impact,
|
|
8
8
|
map,
|
|
9
9
|
suggest
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4HXWM7PK.js";
|
|
11
11
|
|
|
12
12
|
// src/cli.ts
|
|
13
13
|
var HELP = `
|
|
@@ -71,6 +71,11 @@ async function main() {
|
|
|
71
71
|
positional.push(arg);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
+
if (flags.mcp) {
|
|
75
|
+
const { startMcpServer } = await import("./server-YV4BWISA.js");
|
|
76
|
+
await startMcpServer();
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
74
79
|
if (flags.help || flags.h || positional.length === 0) {
|
|
75
80
|
console.log(HELP);
|
|
76
81
|
process.exit(0);
|
|
@@ -79,11 +84,6 @@ async function main() {
|
|
|
79
84
|
console.log(`ai-tool v${VERSION}`);
|
|
80
85
|
process.exit(0);
|
|
81
86
|
}
|
|
82
|
-
if (flags.mcp) {
|
|
83
|
-
const { startMcpServer } = await import("./server-OAPPO22L.js");
|
|
84
|
-
await startMcpServer();
|
|
85
|
-
return;
|
|
86
|
-
}
|
|
87
87
|
const command = positional[0];
|
|
88
88
|
const target = positional[1];
|
|
89
89
|
const format = flags.format || "text";
|
package/dist/index.d.ts
CHANGED
|
@@ -254,6 +254,6 @@ declare function invalidateCache(cwd: string): void;
|
|
|
254
254
|
* ```
|
|
255
255
|
*/
|
|
256
256
|
|
|
257
|
-
declare const VERSION = "0.3.
|
|
257
|
+
declare const VERSION = "0.3.1";
|
|
258
258
|
|
|
259
259
|
export { type CommandOptions, type ContextOptions, type ContextResult, type DeadFile, type DeadOptions, type DeadResult, type FileCategory, type FileInfo, type FolderStats, type FunctionInfo, type ImpactFile, type ImpactOptions, type ImpactResult, type ImportInfo, type MapOptions, type MapResult, type OutputFormat, type ParamInfo, type RiskInfo, type SuggestOptions, type SuggestResult, type Suggestion, type SuggestionPriority, type TypeInfo, type TypeKind, VERSION, categoryIcons, context, dead, deadFix, detectCategory, getCacheDir, impact, invalidateCache, isCacheValid, isCodeFile, isEntryPoint, map, suggest };
|
package/dist/index.js
CHANGED
package/package.json
CHANGED