midnight-mcp 0.2.17 → 0.2.19
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 +11 -4
- package/dist/bin.js +3 -3
- package/dist/{chunk-GDUMSS3E.js → chunk-4CUN6SQZ.js} +2315 -2234
- package/dist/{chunk-S33OTE35.js → chunk-OYH7MAIC.js} +23 -4
- package/dist/db-3CCKZDB7.js +7 -0
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/db-SWEQRS2S.js +0 -7
|
@@ -1091,6 +1091,25 @@ function parseCompactFile(path, content) {
|
|
|
1091
1091
|
});
|
|
1092
1092
|
}
|
|
1093
1093
|
}
|
|
1094
|
+
const newLedgerRegex = /(?:(export)\s+)?ledger\s+(\w+)\s*:\s*([^;]+);/gm;
|
|
1095
|
+
let newLedgerMatch;
|
|
1096
|
+
while ((newLedgerMatch = newLedgerRegex.exec(content)) !== null) {
|
|
1097
|
+
hasLedger = true;
|
|
1098
|
+
const isExport = newLedgerMatch[1] === "export";
|
|
1099
|
+
const fieldName = newLedgerMatch[2];
|
|
1100
|
+
const fieldType = newLedgerMatch[3].trim();
|
|
1101
|
+
const startLine = content.substring(0, newLedgerMatch.index).split("\n").length;
|
|
1102
|
+
codeUnits.push({
|
|
1103
|
+
type: "ledger",
|
|
1104
|
+
name: fieldName,
|
|
1105
|
+
code: newLedgerMatch[0].trim(),
|
|
1106
|
+
startLine,
|
|
1107
|
+
endLine: startLine,
|
|
1108
|
+
isPublic: isExport,
|
|
1109
|
+
isPrivate: !isExport,
|
|
1110
|
+
returnType: fieldType
|
|
1111
|
+
});
|
|
1112
|
+
}
|
|
1094
1113
|
const circuitRegex = /(export\s+)?circuit\s+(\w+)\s*\(([^)]*)\)\s*(?::\s*(\w+))?\s*\{/g;
|
|
1095
1114
|
let circuitMatch;
|
|
1096
1115
|
while ((circuitMatch = circuitRegex.exec(content)) !== null) {
|
|
@@ -1605,7 +1624,7 @@ var releaseTracker = new ReleaseTracker();
|
|
|
1605
1624
|
|
|
1606
1625
|
// src/utils/health.ts
|
|
1607
1626
|
var startTime = Date.now();
|
|
1608
|
-
var VERSION = "0.2.
|
|
1627
|
+
var VERSION = "0.2.19";
|
|
1609
1628
|
async function checkGitHubAPI() {
|
|
1610
1629
|
const start = Date.now();
|
|
1611
1630
|
try {
|
|
@@ -1633,7 +1652,7 @@ async function checkGitHubAPI() {
|
|
|
1633
1652
|
}
|
|
1634
1653
|
async function checkVectorStore() {
|
|
1635
1654
|
try {
|
|
1636
|
-
const { vectorStore: vectorStore2 } = await import("./db-
|
|
1655
|
+
const { vectorStore: vectorStore2 } = await import("./db-3CCKZDB7.js");
|
|
1637
1656
|
if (vectorStore2) {
|
|
1638
1657
|
return {
|
|
1639
1658
|
status: "pass",
|
|
@@ -2109,7 +2128,7 @@ function serialize(data) {
|
|
|
2109
2128
|
}
|
|
2110
2129
|
|
|
2111
2130
|
// src/utils/version.ts
|
|
2112
|
-
var CURRENT_VERSION = "0.2.
|
|
2131
|
+
var CURRENT_VERSION = "0.2.19";
|
|
2113
2132
|
|
|
2114
2133
|
// src/db/vectorStore.ts
|
|
2115
2134
|
var VectorStore = class {
|
|
@@ -2332,4 +2351,4 @@ export {
|
|
|
2332
2351
|
serialize,
|
|
2333
2352
|
CURRENT_VERSION
|
|
2334
2353
|
};
|
|
2335
|
-
//# sourceMappingURL=chunk-
|
|
2354
|
+
//# sourceMappingURL=chunk-OYH7MAIC.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-4CUN6SQZ.js";
|
|
13
13
|
import {
|
|
14
14
|
logger
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OYH7MAIC.js";
|
|
16
16
|
export {
|
|
17
17
|
allResources,
|
|
18
18
|
allTools,
|
package/package.json
CHANGED