midnight-mcp 0.1.31 → 0.1.32

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/server.js CHANGED
@@ -8,7 +8,7 @@ import { allResources, getDocumentation, getCode, getSchema, } from "./resources
8
8
  import { promptDefinitions, generatePrompt } from "./prompts/index.js";
9
9
  import { registerSamplingCallback } from "./services/index.js";
10
10
  // Server information - version should match package.json
11
- const CURRENT_VERSION = "0.1.31";
11
+ const CURRENT_VERSION = "0.1.32";
12
12
  const SERVER_INFO = {
13
13
  name: "midnight-mcp",
14
14
  version: CURRENT_VERSION,
@@ -379,7 +379,7 @@ export const analyzeTools = [
379
379
  name: "midnight-analyze-contract",
380
380
  description: "⚠️ STATIC ANALYSIS ONLY - Analyze contract structure and patterns. " +
381
381
  "🚫 THIS DOES NOT COMPILE THE CONTRACT. Cannot catch: sealed field rules, disclose() requirements, semantic errors. " +
382
- "👉 ALWAYS call 'midnight-validate-contract' FIRST to verify the code actually compiles. " +
382
+ "👉 Use 'midnight-extract-contract-structure' for pre-compilation checks. " +
383
383
  "Use this for: understanding structure, security pattern analysis, recommendations. " +
384
384
  "NEVER claim a contract 'works' or 'compiles' based on this tool alone.",
385
385
  inputSchema: {
@@ -101,9 +101,9 @@ export async function checkVersion(_input) {
101
101
  newFeatures: isUpToDate
102
102
  ? null
103
103
  : [
104
- "midnight-validate-contract - Compile with REAL Compact compiler",
104
+ "Auto-update config tool - AI agents update your config automatically",
105
105
  "midnight-extract-contract-structure - Static analysis with 10 pre-compilation checks",
106
- "Pre-compilation detection: division operator, Counter.value, overflow, disclose() requirements",
106
+ "MCP Logging, Progress, Completions capabilities",
107
107
  ],
108
108
  };
109
109
  }
@@ -292,7 +292,7 @@ export const healthTools = [
292
292
  name: "midnight-check-version",
293
293
  description: "🔄 Check if you're running the latest version of midnight-mcp. " +
294
294
  "Compares your installed version against npm registry and provides update instructions if outdated. " +
295
- "Use this if tools seem missing or you want to ensure you have the latest features like midnight-validate-contract.",
295
+ "Use this if tools seem missing or you want to ensure you have the latest features.",
296
296
  inputSchema: {
297
297
  type: "object",
298
298
  properties: {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "midnight-mcp",
3
- "version": "0.1.31",
3
+ "version": "0.1.32",
4
4
  "description": "Model Context Protocol Server for Midnight Blockchain Development",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",