midnight-mcp 0.2.9 → 0.2.11
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/README.md +18 -11
- package/dist/bin.js +3 -3
- package/dist/{chunk-5PGBYGCG.js → chunk-JFPWAWXS.js} +957 -473
- package/dist/{chunk-WZVWUFLH.js → chunk-Q64R3OLA.js} +22 -8
- package/dist/db-GPPFF6IJ.js +7 -0
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/db-2VUY2I5E.js +0 -7
|
@@ -631,6 +631,9 @@ function validateNumber(value, options) {
|
|
|
631
631
|
return { isValid: true, value: num };
|
|
632
632
|
}
|
|
633
633
|
|
|
634
|
+
// src/utils/health.ts
|
|
635
|
+
import { createRequire } from "module";
|
|
636
|
+
|
|
634
637
|
// src/pipeline/github.ts
|
|
635
638
|
import { Octokit } from "octokit";
|
|
636
639
|
var RETRY_CONFIG = {
|
|
@@ -1042,10 +1045,19 @@ function parseCompactFile(path, content) {
|
|
|
1042
1045
|
let hasLedger = false;
|
|
1043
1046
|
let hasCircuits = false;
|
|
1044
1047
|
let hasWitnesses = false;
|
|
1045
|
-
const
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1048
|
+
const importPatterns = [
|
|
1049
|
+
/^import\s+([A-Za-z_][A-Za-z0-9_]*)\s*;/gm,
|
|
1050
|
+
// import CompactStandardLibrary;
|
|
1051
|
+
/^import\s+["']([^"']+)["']\s*(?:prefix\s+\w+_)?\s*;?/gm,
|
|
1052
|
+
// import "path" prefix X_;
|
|
1053
|
+
/^include\s+["']([^"']+)["'];?/gm
|
|
1054
|
+
// legacy: include "std";
|
|
1055
|
+
];
|
|
1056
|
+
for (const importRegex of importPatterns) {
|
|
1057
|
+
let importMatch;
|
|
1058
|
+
while ((importMatch = importRegex.exec(content)) !== null) {
|
|
1059
|
+
imports.push(importMatch[1]);
|
|
1060
|
+
}
|
|
1049
1061
|
}
|
|
1050
1062
|
const ledgerRegex = /ledger\s*\{([^}]*(?:\{[^}]*\}[^}]*)*)\}/gs;
|
|
1051
1063
|
let ledgerMatch;
|
|
@@ -1584,7 +1596,9 @@ var releaseTracker = new ReleaseTracker();
|
|
|
1584
1596
|
|
|
1585
1597
|
// src/utils/health.ts
|
|
1586
1598
|
var startTime = Date.now();
|
|
1587
|
-
var
|
|
1599
|
+
var require2 = createRequire(import.meta.url);
|
|
1600
|
+
var packageJson = require2("../../package.json");
|
|
1601
|
+
var VERSION = packageJson.version || "0.2.10";
|
|
1588
1602
|
async function checkGitHubAPI() {
|
|
1589
1603
|
const start = Date.now();
|
|
1590
1604
|
try {
|
|
@@ -1612,7 +1626,7 @@ async function checkGitHubAPI() {
|
|
|
1612
1626
|
}
|
|
1613
1627
|
async function checkVectorStore() {
|
|
1614
1628
|
try {
|
|
1615
|
-
const { vectorStore: vectorStore2 } = await import("./db-
|
|
1629
|
+
const { vectorStore: vectorStore2 } = await import("./db-GPPFF6IJ.js");
|
|
1616
1630
|
if (vectorStore2) {
|
|
1617
1631
|
return {
|
|
1618
1632
|
status: "pass",
|
|
@@ -2087,7 +2101,7 @@ function serialize(data) {
|
|
|
2087
2101
|
}
|
|
2088
2102
|
|
|
2089
2103
|
// src/utils/version.ts
|
|
2090
|
-
var CURRENT_VERSION = "0.2.
|
|
2104
|
+
var CURRENT_VERSION = "0.2.11";
|
|
2091
2105
|
|
|
2092
2106
|
// src/db/vectorStore.ts
|
|
2093
2107
|
var VectorStore = class {
|
|
@@ -2296,4 +2310,4 @@ export {
|
|
|
2296
2310
|
serialize,
|
|
2297
2311
|
CURRENT_VERSION
|
|
2298
2312
|
};
|
|
2299
|
-
//# sourceMappingURL=chunk-
|
|
2313
|
+
//# sourceMappingURL=chunk-Q64R3OLA.js.map
|
package/dist/index.js
CHANGED
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
promptDefinitions,
|
|
10
10
|
startHttpServer,
|
|
11
11
|
startServer
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JFPWAWXS.js";
|
|
13
13
|
import {
|
|
14
14
|
logger
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Q64R3OLA.js";
|
|
16
16
|
export {
|
|
17
17
|
allResources,
|
|
18
18
|
allTools,
|
package/package.json
CHANGED