Skip to content

Preserve MCP argument boundaries - #141

Open
dajiaohuang wants to merge 2 commits into
Richasy:mainfrom
dajiaohuang:fix/issue-128-mcp-arguments
Open

dajiaohuang wants to merge 2 commits into
Richasy:mainfrom
dajiaohuang:fix/issue-128-mcp-arguments

Conversation

@dajiaohuang

@dajiaohuang dajiaohuang commented Oct 4, 2026 •

Copy link
Copy Markdown

Fixes #128

Description

Keep command and arguments separate and represent arguments as a JSON string array, preserving spaces and empty strings. Reject JSON null roots and null members at this external parsing boundary using the existing JsonException user error path.

PR type

  • Bug fix

PR checklist

  • Application successfully launched
  • Existing source copyright headers retained; dated modification notices added.
  • No breaking changes intended.

Validation and limits

This update publishes the previously completed local correction. Its complete normalized source files match the exact isolated candidate successfully compiled in the earlier reassessment (Desktop x64, MSIX packaging disabled, 0 warnings/0 errors), apart from the newly added dated comment notice. The earlier isolated JSON boundary component checks passed 6 cases. No tests/builds, application launch, WinUI interaction, MCP connection or model/provider/audio/image generation were run in this publication unit. Historical compilation is not current hosted CI or end-to-end acceptance. Existing notices and GPL license retained.

AI disclosure: Codex prepared this publication update under user direction to deliver already-completed work. No human review, personal certification or legal signature is claimed.

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.

[Bug] MCP 配置编辑框无法保留参数中的空格

1 participant