Skip to content

Navigation Menu

Sign in
Sign up

fix(build): use mcp[cli] extra - #2

Merged
CoderMoray merged 2 commits into
main from
fix/requirements-mcp-cli
Aug 24, 2026
Merged

fix(build): use mcp[cli] extra #2
CoderMoray merged 2 commits into
main from
fix/requirements-mcp-cli

Conversation

@chenyida7-prog

@chenyida7-prog chenyida7-prog commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

打包时 requirements 缺 typer,改用 mcp[cli] extra 修复。已本地验证打包通过。

pip install -e . (editable/dev install path) reads pyproject.toml's
dependency list, not requirements.txt — same missing-typer failure mode
as the previous commit if that's the install path the build environment
uses.
CoderMoray merged commit 48602da into main Aug 24, 2026
1 check passed
CoderMoray deleted the fix/requirements-mcp-cli branch September 2, 2026 11:54
chenyida7-prog added a commit that referenced this pull request Sep 2, 2026
MVP 平台 = ClaudeCode + CodeBuddyIDE(client_config.py 注释),共用同一套
configureClient / write_kind / remove_kind / detect_platform,仅落盘目录不同:
 ClaudeCode → ~/.claude.json / ~/.claude/settings.json / ~/.claude/agents/
 CodeBuddyIDE → ~/.codebuddy/mcp.json / ~/.codebuddy/settings.json / ~/.codebuddy/agents/
 hooks matcher: ClaudeCode "Bash|Write|Edit" + curl -d @-;CodeBuddyIDE "*" + hooks_forward
 agent frontmatter: CodeBuddyIDE 额外带 agentMode/enabled/enabledAutoRun/mcpServers
改动:
- 重命名(去平台名,与 tests/test_client_config.py 对齐):
 tests/test_claude_code_config_verify.py → tests/test_client_config_verify.py
 tests/frontend/test_claude_code_config.py → tests/frontend/test_client_config_toggle.py
- test_client_config_verify.py:platform fixture 参数化 ["ClaudeCode","CodeBuddyIDE"],
 三次核心检验 + 开关独立性 8 组合矩阵对两平台各跑一遍;新增 TestCrossPlatformIsolation
 (同一 home 下两平台配置互不干扰)。27 → 56 例。
- test_client_config_toggle.py:TestConfigToggleBrowser 用 @parametrize("plat",[...])
 对两平台跑开关 UI 双向/独立/关开循环/guideExecute 回归;新增 test_full_off_on_cycle_via_ui。
 静态断言补两平台 kinds + toggle markup 平台无关。14 → 24 例。
- docs/test-plan-claude-code-config.md:新增 §2.1b CodeBuddy IDE 对照表、§6 打包产物;
 三次检验表格补 CodeBuddyIDE 列;发现的问题补「CodeBuddy IDE 未发现新问题」
 (问题 #1/#2 同样影响 CodeBuddyIDE,已由同一处 store.js 修复覆盖,新用例参数化验证)。
CodeBuddy IDE 三次检验 + 独立性全部通过,未发现平台专属 bug。
不改动任何既有测试文件。测试结果:
 tests/test_client_config_verify.py 56 passed
 tests/frontend/test_client_config_toggle.py 24 passed
 后端全量 787 passed;tests/frontend/ 88 passed / 115 skipped / 3 pre-existing failed
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SSMDrsmrXR5kr68SUS5D5P 
CoderMoray pushed a commit that referenced this pull request Sep 3, 2026
...ute 两处缺陷
修复 #1 初始化引导 kind 传对象导致 URL 为 [object Object]、三份配置写不进去;修复 #2 重跑引导误删已配置项(已开启的 kind 跳过)。新增后端 56 例 + 前端 24 例自动化测试
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /