@t2000/mcp 0.20.18 → 0.20.19

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
@@ -1728,6 +1728,8 @@ ${context}
1728
1728
  }
1729
1729
 
1730
1730
  // src/index.ts
1731
+ console.log = (...args) => console.error("[log]", ...args);
1732
+ console.warn = (...args) => console.error("[warn]", ...args);
1731
1733
  async function startMcpServer(opts) {
1732
1734
  const agent = await createAgent(opts?.keyPath);
1733
1735
  if (!agent.enforcer.isConfigured()) {