docs: record runtime and release constraints

This commit is contained in:
morluto
2026-07-12 08:45:35 +08:00
parent e32906afb7
commit 62ede515b7
24 changed files with 206 additions and 57 deletions
+2
View File
@@ -1,5 +1,7 @@
#!/usr/bin/env node
// Route production MCP before importing Incur. Incur owns registration helpers
// such as `mcp add`, while only dist/main.js may serve the 42-tool stdio server.
const args = process.argv.slice(2);
const isMcpMode =
args[0] === "--mcp" || (args.length === 1 && args[0] === "mcp");