Repository navigation
feat(cli): manage MCP through local IPC - #335
Merged
Merged
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
本地 Agent 现在可以执行
rssh mcp start,为已打开的 RSSH 前端开启 MCP 并获取连接 JSON,无需手动打开 MCP 和复制地址、token。stop停止服务,status返回开启状态及连接信息;多个候选前端通过返回的 instance / owner 明确选择。外部 CLI 通过 Unix socket(macOS / Linux)或 Named Pipe(Windows)连接现有宿主,以
#[cfg]+ trait 隔离传输差异,共用有长度限制和超时的 JSON 协议。内嵌终端既有通信继续使用 OSC 7337,扩展方式已写入 AGENTS.md。MCP 连接仍使用既有 Streamable HTTP 和终端授权流程。启停复用现有 MCP 生命周期与前端状态同步。关闭 owner 会取消排队中的启动请求,旧 generation 无法重新创建端点;控制服务失效也不会阻断正常 Headless WebSocket 连接。
入口覆盖:
mcp start / stop / status,结果与错误均为 JSON。验证:
npm test:1402 个测试通过;npm run build通过。cargo test --workspace --all-features:1002 个测试通过,1 个 doctest 忽略。cargo fmt --all --check、CLI / Tauri / Headless feature checks 通过。