@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.
@@ -1832,7 +1832,7 @@ function levenshteinDistance3(a, b) {
1832
1832
  }
1833
1833
 
1834
1834
  // src/index.ts
1835
- var VERSION = "0.3.0";
1835
+ var VERSION = "0.3.1";
1836
1836
 
1837
1837
  export {
1838
1838
  detectCategory,
package/dist/cli.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  impact,
8
8
  map,
9
9
  suggest
10
- } from "./chunk-BIT47QXF.js";
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.0";
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
@@ -13,7 +13,7 @@ import {
13
13
  isEntryPoint,
14
14
  map,
15
15
  suggest
16
- } from "./chunk-BIT47QXF.js";
16
+ } from "./chunk-4HXWM7PK.js";
17
17
  export {
18
18
  VERSION,
19
19
  categoryIcons,
@@ -5,7 +5,7 @@ import {
5
5
  impact,
6
6
  map,
7
7
  suggest
8
- } from "./chunk-BIT47QXF.js";
8
+ } from "./chunk-4HXWM7PK.js";
9
9
 
10
10
  // src/mcp/server.ts
11
11
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justmpm/ai-tool",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Ferramenta de análise de dependências e impacto para projetos TypeScript/JavaScript. Usa Skott + Knip internamente.",
5
5
  "keywords": [
6
6
  "dependency-analysis",