midnight-mcp 0.2.11 → 0.2.12

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/dist/bin.js CHANGED
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  startHttpServer,
4
4
  startServer
5
- } from "./chunk-JFPWAWXS.js";
5
+ } from "./chunk-YT6DWZUA.js";
6
6
  import {
7
7
  setOutputFormat
8
- } from "./chunk-Q64R3OLA.js";
8
+ } from "./chunk-B6UJ7ZQY.js";
9
9
 
10
10
  // src/bin.ts
11
11
  import { config } from "dotenv";
@@ -13,7 +13,7 @@ import { resolve } from "path";
13
13
  import yargs from "yargs";
14
14
  import { hideBin } from "yargs/helpers";
15
15
  config({ path: resolve(process.cwd(), ".env") });
16
- var CURRENT_VERSION = "0.2.11";
16
+ var CURRENT_VERSION = "0.2.12";
17
17
  process.on("uncaughtException", (error) => {
18
18
  console.error("Uncaught exception:", error);
19
19
  process.exit(1);
@@ -631,9 +631,6 @@ 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
-
637
634
  // src/pipeline/github.ts
638
635
  import { Octokit } from "octokit";
639
636
  var RETRY_CONFIG = {
@@ -1596,9 +1593,7 @@ var releaseTracker = new ReleaseTracker();
1596
1593
 
1597
1594
  // src/utils/health.ts
1598
1595
  var startTime = Date.now();
1599
- var require2 = createRequire(import.meta.url);
1600
- var packageJson = require2("../../package.json");
1601
- var VERSION = packageJson.version || "0.2.10";
1596
+ var VERSION = "0.2.12";
1602
1597
  async function checkGitHubAPI() {
1603
1598
  const start = Date.now();
1604
1599
  try {
@@ -1626,7 +1621,7 @@ async function checkGitHubAPI() {
1626
1621
  }
1627
1622
  async function checkVectorStore() {
1628
1623
  try {
1629
- const { vectorStore: vectorStore2 } = await import("./db-GPPFF6IJ.js");
1624
+ const { vectorStore: vectorStore2 } = await import("./db-VAJD22EC.js");
1630
1625
  if (vectorStore2) {
1631
1626
  return {
1632
1627
  status: "pass",
@@ -2101,7 +2096,7 @@ function serialize(data) {
2101
2096
  }
2102
2097
 
2103
2098
  // src/utils/version.ts
2104
- var CURRENT_VERSION = "0.2.11";
2099
+ var CURRENT_VERSION = "0.2.12";
2105
2100
 
2106
2101
  // src/db/vectorStore.ts
2107
2102
  var VectorStore = class {
@@ -2310,4 +2305,4 @@ export {
2310
2305
  serialize,
2311
2306
  CURRENT_VERSION
2312
2307
  };
2313
- //# sourceMappingURL=chunk-Q64R3OLA.js.map
2308
+ //# sourceMappingURL=chunk-B6UJ7ZQY.js.map
@@ -25,7 +25,7 @@ import {
25
25
  validateNumber,
26
26
  validateQuery,
27
27
  vectorStore
28
- } from "./chunk-Q64R3OLA.js";
28
+ } from "./chunk-B6UJ7ZQY.js";
29
29
 
30
30
  // src/tools/search/schemas.ts
31
31
  import { z } from "zod";
@@ -10114,4 +10114,4 @@ export {
10114
10114
  startServer,
10115
10115
  startHttpServer
10116
10116
  };
10117
- //# sourceMappingURL=chunk-JFPWAWXS.js.map
10117
+ //# sourceMappingURL=chunk-YT6DWZUA.js.map
@@ -0,0 +1,7 @@
1
+ import {
2
+ vectorStore
3
+ } from "./chunk-B6UJ7ZQY.js";
4
+ export {
5
+ vectorStore
6
+ };
7
+ //# sourceMappingURL=db-VAJD22EC.js.map
package/dist/index.js CHANGED
@@ -9,10 +9,10 @@ import {
9
9
  promptDefinitions,
10
10
  startHttpServer,
11
11
  startServer
12
- } from "./chunk-JFPWAWXS.js";
12
+ } from "./chunk-YT6DWZUA.js";
13
13
  import {
14
14
  logger
15
- } from "./chunk-Q64R3OLA.js";
15
+ } from "./chunk-B6UJ7ZQY.js";
16
16
  export {
17
17
  allResources,
18
18
  allTools,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "midnight-mcp",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "description": "Model Context Protocol Server for Midnight Blockchain Development",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,7 +0,0 @@
1
- import {
2
- vectorStore
3
- } from "./chunk-Q64R3OLA.js";
4
- export {
5
- vectorStore
6
- };
7
- //# sourceMappingURL=db-GPPFF6IJ.js.map