@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 {
|
|
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-
|
|
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-
|
|
90
|
+
const { startMcpServer } = await import("./server-5ZBF3F6D.js");
|
|
91
91
|
await startMcpServer();
|
|
92
92
|
return;
|
|
93
93
|
}
|
package/dist/index.js
CHANGED
package/package.json
CHANGED