Skip to content

feat(server): extension calls and MCP App routes; hide Windows console windows - #180

Merged
its-janghoon merged 4 commits into
developfrom
feat/engine-extensions
Oct 28, 2026
Merged

its-janghoon merged 4 commits into
developfrom
feat/engine-extensions

Conversation

@its-janghoon

Copy link
Copy Markdown
Member

POST /experimental/extensions/call (image generate/edit/blend billed to the Redrob account) and the MCP App routes the desktop calls. Hide console windows of the last unhidden spawns on Windows.

Redrob Desktop calls three engine routes that answered 404:

- POST /experimental/extensions/call { extensionId, action, args }
  The image extension (openai-image-gen: generate, edit, blend) through the
  Redrob gateway on the engine's Redrob key, the same path the image_generate
  tool uses. args: prompt, size ("1536x1024", sent as image_config.aspect_ratio),
  images (file:// paths or data URLs, 1 for edit, 2-4 for blend), model.
  Answers 200 { ok, result: { b64, mime, model, costUsd? } } or { ok: false, error }.
- POST /mcp-apps/resolve { server, uri } -> { html, mimeType?, server }
  Reads a connector's ui:// resource (text/html only, 2 MB cap).
- POST /mcp-apps/call { server, name, arguments? } -> the MCP CallToolResult.

server matches a connected client by exact name, sanitised name, or the
single client whose tool-name prefix it is. Unknown server is 400, MCP
failures 502, so a host can tell them from a missing route (404).

Unblocks Image Studio (CH-075), image result actions (CH-119), the image
settings test (CH-232) and MCP App views (CH-148).
The shared spawn helpers already pass windowsHide on Windows
(core cross-spawn-spawner, redrob util/process, MCP SDK stdio transport),
so shell, ripgrep, git, LSP, formatters and MCP stdio servers stay hidden.
The remaining gaps were the detached daemon started by `connect` (a
detached child gets its own console) and the SDK's `redrob serve` launch.
@its-janghoon
its-janghoon merged commit ec9f22e into develop Oct 28, 2026
12 checks passed
@its-janghoon
its-janghoon deleted the feat/engine-extensions branch October 28, 2026 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant