@justmpm/ai-tool 0.5.4 → 0.5.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.
@@ -860,7 +860,14 @@ function formatAreaDetailText(result, options = {}) {
860
860
  }
861
861
 
862
862
  // src/cache/index.ts
863
- import { existsSync as existsSync2, mkdirSync, readFileSync as readFileSync2, writeFileSync, statSync, readdirSync } from "fs";
863
+ import {
864
+ existsSync as existsSync2,
865
+ mkdirSync,
866
+ readFileSync as readFileSync2,
867
+ writeFileSync,
868
+ statSync,
869
+ readdirSync
870
+ } from "fs";
864
871
  import { join as join2, extname } from "path";
865
872
 
866
873
  // src/utils/firebase.ts
@@ -985,6 +992,14 @@ function calculateFilesHash(cwd) {
985
992
  }
986
993
  }
987
994
  scanDir(cwd);
995
+ try {
996
+ const configPath = join2(cwd, CACHE_DIR, "areas.config.json");
997
+ if (existsSync2(configPath)) {
998
+ const stat = statSync(configPath);
999
+ timestamps.push(stat.mtimeMs);
1000
+ }
1001
+ } catch {
1002
+ }
988
1003
  const sum = timestamps.reduce((a, b) => a + b, 0);
989
1004
  return `${timestamps.length}-${Math.floor(sum)}`;
990
1005
  }
package/dist/cli.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  impact,
11
11
  map,
12
12
  suggest
13
- } from "./chunk-PHTWZ2JT.js";
13
+ } from "./chunk-XVNZLNUT.js";
14
14
 
15
15
  // src/cli.ts
16
16
  var HELP = `
@@ -87,7 +87,7 @@ async function main() {
87
87
  }
88
88
  }
89
89
  if (flags.mcp) {
90
- const { startMcpServer } = await import("./server-NIEAOPLJ.js");
90
+ const { startMcpServer } = await import("./server-5ZBF3F6D.js");
91
91
  await startMcpServer();
92
92
  return;
93
93
  }
package/dist/index.js CHANGED
@@ -45,7 +45,7 @@ import {
45
45
  setFileDescription,
46
46
  suggest,
47
47
  writeConfig
48
- } from "./chunk-PHTWZ2JT.js";
48
+ } from "./chunk-XVNZLNUT.js";
49
49
  export {
50
50
  AREA_DESCRIPTIONS,
51
51
  AREA_NAMES,
@@ -8,7 +8,7 @@ import {
8
8
  impact,
9
9
  map,
10
10
  suggest
11
- } from "./chunk-PHTWZ2JT.js";
11
+ } from "./chunk-XVNZLNUT.js";
12
12
 
13
13
  // src/mcp/server.ts
14
14
  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.5.4",
3
+ "version": "0.5.5",
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",