Router Messages route: chats with device tools on always fall back to the Codex client

未关闭 适合新手
#866 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
62/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
typescript
领域
ai

调研方向

从 packages/agent-app/src/runtime/claude-lane.ts 开始,比较 LANE_SERVERS 和 LANE_DROPPED_SERVERS 如何处理 browser、canvas、office 和 delegation 服务器,然后以相同方式添加 DEVICE_MCP。第二部分位于 claude-messages-lane 测试中,该测试从环境变量中读取 MUSTER_DEVICE_MCP_LAUNCHER;让测试自己设置或取消该变量。完成的标准是:在设置该变量的情况下测试通过,并且 Messages 路由在该轮对话中排除 device 服务器。

由索引模型根据 Issue 内容生成。

描述

bug

What happens: when "Let agents use devices" is on, the device MCP server (DEVICE_MCP) is added to the chat. It isn't in LANE_SERVERS / LANE_DROPPED_SERVERS in packages/agent-app/src/runtime/claude-lane.ts, so the Messages route (#688) never takes those turns, and every Claude-on-router chat goes back to the Codex client.

Expected: the same handling as the browser, canvas, office and delegation servers. The Messages route drops the device server for that turn, and the Claude Code route keeps it.

Also: with MUSTER_DEVICE_MCP_LAUNCHER set in the environment (as it is inside Muster), the claude-messages-lane test fails locally unless that variable is unset. The test should not depend on the caller's environment.

Found while landing #858.

主要语言
TypeScript
星标
3
派生
0
平均合并
17 小时 33 分钟
30 天内合并 PR
163

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

musterhq/muster-code 的其他 Issue

查看 musterhq/muster-code 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。