Skip to content

Commit 899bf93

Browse files
kamathclaude
andcommitted
Move dotenv to local.ts entry point for V8 compatibility
- Create src/local.ts that imports dotenv and re-exports from index - Remove dotenv import from src/index.ts (Smithery entry point) - Update src/program.ts to import from local.js for CLI usage This keeps src/index.ts clean for Smithery's serverless environment while preserving dotenv functionality for local development. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent 9099871 commit 899bf93

5 files changed

Lines changed: 3372 additions & 4114 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"build": "tsc && shx chmod +x dist/*.js",
2727
"prepare": "husky && pnpm build",
2828
"watch": "tsc --watch",
29-
"smithery": "npx @smithery/cli dev src/index.ts",
29+
"smithery": "smithery dev src/index.ts",
3030
"inspector": "npx @modelcontextprotocol/inspector build/index.js",
3131
"evals": "tsx evals/run-evals.ts run --config evals/mcp-eval-basic.config.json && tsx evals/run-evals.ts run --config evals/mcp-eval-minimal.config.json && tsx evals/run-evals.ts run --config evals/mcp-eval.config.json",
3232
"lint": "eslint . --ext .ts",
@@ -56,7 +56,7 @@
5656
"devDependencies": {
5757
"@changesets/cli": "^2.29.6",
5858
"@eslint/js": "^9.29.0",
59-
"@smithery/cli": "^1.2.15",
59+
"@smithery/cli": "^3.1.2",
6060
"@types/node": "^24.10.1",
6161
"chalk": "^5.3.0",
6262
"eslint": "^9.29.0",

0 commit comments

Comments
 (0)