@tigerdata/mcp-boilerplate 0.6.0 → 0.7.0

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/index.d.ts CHANGED
@@ -7,3 +7,4 @@ export { StatusError } from './StatusError.js';
7
7
  export type { AdditionalSetupArgs } from './mcpServer.js';
8
8
  export { withSpan, addAiResultToSpan } from './tracing.js';
9
9
  export { registerExitHandlers } from './registerExitHandlers.js';
10
+ export type { InferSchema } from './types.js';
package/dist/types.d.ts CHANGED
@@ -70,3 +70,6 @@ export interface McpFeatureFlags {
70
70
  disabledTools?: Set<string> | null;
71
71
  query?: ParsedQs;
72
72
  }
73
+ export type InferSchema<T extends Record<string, z.ZodType>> = {
74
+ [K in keyof T]: z.infer<T[K]>;
75
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tigerdata/mcp-boilerplate",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "MCP boilerplate code for Node.js",
5
5
  "license": "Apache-2.0",
6
6
  "author": "TigerData",
@@ -34,7 +34,9 @@
34
34
  "prepare": "npm run build",
35
35
  "watch": "tsc --watch",
36
36
  "lint": "eslint",
37
- "lint:fix": "eslint --fix"
37
+ "lint:fix": "eslint --fix",
38
+ "prettier:write": "prettier --write .",
39
+ "prettier:check": "prettier --check ."
38
40
  },
39
41
  "dependencies": {
40
42
  "@modelcontextprotocol/sdk": "^1.22.0",