Commit Graph
4 Commits
Author SHA1 Message Date
furao 0aaa1abff8 [router] 修复: 同项目双实例不再两个都改名,startedAt 最新者保 base 名
同 projectPath 双实例(spawn 竞态僵尸)进普通撞名改名会被改成
<base>-<路径末段>/-2,没人保住 base 名,<base>__* 前缀路由全部失配
(2026-06-11 forest 96802/26426 事故)。改为组内 startedAt 最新者
作代表参与命名,其余改名 <base>-dup<pid> 并打告警。
2026-06-11 15:56:48 +08:00
furao a0f71ce8f9 [router] 修复: editor 慢启动后激活的工具不推送给 claude
discover 周期重扫已有,但两个 bug 让 claude 永远停在初次 tools/list 旧快照:
1. 已缓存 editor 不 re-probe(146 行 continue)——大项目 editor 慢启动(builder
   worker 没就绪)首次只 probe 到部分工具,asset-db 就绪后工具激活也不刷新
2. 声明 capabilities.tools.listChanged=true 却从不真发 notifications/tools/list_changed

修复:每周期 re-probe(probe 失败保留旧缓存)+ 工具签名变化时发 list_changed
(clientInitialized 后)。spawn router 实测 tools/list 正确暴露 33 工具(25 forest__ + 8 router)。
2026-06-11 11:39:30 +08:00
furao ef642031e6 [mcp] 修复: 支持 CLI 打开项目和资源转发 2026-06-08 15:57:34 +08:00
furao 14c5b00f14 Initial public release: cc-3-8-x-mcp
Cocos Creator 3.8.x MCP bridge extension with a built-in offline CLI.

Components:
- Editor extension: in-process MCP server exposing scene / asset-db /
  preview / local / editor-process-control tools
- stdio router: aggregates multiple editor instances on one machine,
  with shortName dedup
- offline CLI (cocos-mcp-cli): headless prefab read/write + a wrapper
  around the Cocos CLI build

Pure Node.js, zero third-party dependencies. Licensed under Apache-2.0.
2026-06-06 11:33:19 +08:00