Roadmap 0.12, Fixes

FX.496 Studio on Windows: an empty "claude" console window keeps opening while an assistant uses CadCraft

  • Fix
  • Built · in the lab
  • Studio

Reported on /suggest (#1985, email, Portuguese, 2026-11): with Studio + CivilCraft open and an AI app using the cadcraft MCP server, an empty console window titled "claude" keeps opening, again on each click; early on the server said "Internal error", then "Server unavailable" for minutes.

Cause (ours): Studio › Connect your AI looks for Claude Code by running `claude mcp list` (connect.rs cc_connect_run, cmd /C) WITHOUT CREATE_NO_WINDOW, so Windows gave each run a console window named after the program; the hub ran it again on every control.status, i.e. each time an app window takes focus or an assistant connects. The command was sync, so it ran on the main thread while `claude mcp list` started and checked every MCP server (ours too, whose requests need that thread): Studio answered "Internal error" and the AI app gave up.

Fixed 2026-11-24 (not committed): connect.rs runs it async, CREATE_NO_WINDOW, at most 45 s; engines.rs --version checks also without a window; control.rs says what "Internal error" means; studio/hub/connect-ai.js keeps the list answer 5 min and renders one at a time; @getcadcraft/mcp bridge tries initialize/tools/list (and calls the hub never got) again after 0.5/1.5/3 s and says plainly what to do; setup.mjs and the CLI's merge spawn with windowsHide.

Tests: connect.mjs 73/0, hub.mjs 25/0, seams 52/0, connect-table 11/0, studio test-hub 124/0 (old hub ran the CLI 6 times for 6 renders, now once); Windows (ws11a): connect:: 4/4, control:: 4/4, xwin check clean.

Waits for: a Studio build and an @getcadcraft/mcp publish (owner).

fx-planned 2026-11-25: code checked in place (connect.rs CREATE_NO_WINDOW and async, hub connect-ai.js); session work is finished. Not committed, not in any Studio build or npm release yet; suggestion #1985 is left open until then.

Waits on: Owner: a Studio build and the @getcadcraft/mcp npm publish; then tell the reporter (#1985)

Add a comment

Community comments

No comments yet

Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.

Sign in or create a free account to add a comment.