MooTool

Handy tool set for developers

View on GitHub

DIFF-459:AI testConnection 真 MCP 子进程 + spaces: 0 紧凑 JSON

背景

docs/fixtures/electron-next-aiIntegration-vitest.md 标「未镜像:testConnection 真子进程」。生产 AiIntegrationService.testConnection 会拉起当前 JVM --mcp,并调用 mootool_json_formatspaces: 0)校验工具可用性;Electron 同参期望 {"moo":true}(见 aiIntegrationService.ts / mcp/server.test.ts)。

Compose JsonEngine.formatAdvancedspaces == 0 仍走 pretty printer,输出带换行,导致 MCP 校验失败。

行为

验证