Wrong Binary Path Used during Installation
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- bash
- Lĩnh vực
- cli, developer-experience
Hướng nghiên cứu
Start at the codebase-memory-mcp install command and trace how it detects externally managed binaries and passes the selected path into generated MCP and plugin configuration. Check the install tests for mise-managed binaries and add coverage for this reproduction. Done when generated definitions use the detected mise path instead of $HOME/.local/bin/codebase-memory-mcp.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Version
codebase-memory-mcp 0.12.1
Platform
macOS (Apple Silicon)
Install channel
GitHub release archive / install.sh / install.ps1
Binary variant
ui
What happened, and what did you expect?
When using codebase-memory-mcp install it correctly detects cbm to be managed externally by mise (including the correct path) according to the logs:
❯ codebase-memory-mcp install
codebase-memory-mcp install 0.12.1
Binary is managed elsewhere by mise:
$HOME/.local/share/mise/installs/github-deus-data-codebase-memory-mcp/latest/codebase-memory-mcp
Leaving it and your PATH untouched; configuring agents only.
(use --force-binary to install a copy into $HOME/.local/bin anyway)
But it will still use $HOME/.local/bin/codebase-memory-mcp in all mcp & plugin files afterwards, which is wrong and does not exist.
Related to:
Reproduction
- Install cbm using e.g. mise
- Run
codebase-memory-mcp install - Check one of the generated mcp definitions
- Notice it used
$HOME/.local/bin/codebase-memory-mcpinstead of$HOME/.local/share/mise/installs/github-deus-data-codebase-memory-mcp/latest/codebase-memory-mcp
Logs
❯ codebase-memory-mcp install
codebase-memory-mcp install 0.12.1
Binary is managed elsewhere by mise:
$HOME/.local/share/mise/installs/github-deus-data-codebase-memory-mcp/latest/codebase-memory-mcp
Leaving it and your PATH untouched; configuring agents only.
(use --force-binary to install a copy into $HOME/.local/bin anyway)
Found XX existing index(es). Keeping them. After install, re-index to pick up this version's improvements:
[...]
No CBM session needs to stop for install: the published binary and indexes are unchanged.
Detected agents: OpenCode VS-Code Junie Copilot-CLI
OpenCode:
mcp: $HOME/.config/opencode/opencode.jsonc
instructions: $HOME/.config/opencode/AGENTS.md
skill: $HOME/.config/opencode/skills/codebase-memory/SKILL.md (0 installed)
agent: $HOME/.config/opencode/agents/codebase-memory-scout.md
agent: $HOME/.config/opencode/agents/codebase-memory.md
agent: $HOME/.config/opencode/agents/codebase-memory-auditor.md
extension: $HOME/.config/opencode/plugins/cbm-augment.ts
VS Code:
mcp: $HOME/Library/Application Support/Code/User/mcp.json
VS Code:
mcp: $HOME/Library/Application Support/Code/User/profiles/builtin/mcp.json
Junie:
mcp: $HOME/.junie/mcp/mcp.json
skill: $HOME/.junie/skills/codebase-memory/SKILL.md (0 installed)
agent: $HOME/.junie/agents/codebase-memory-scout.md
agent: $HOME/.junie/agents/codebase-memory.md
agent: $HOME/.junie/agents/codebase-memory-auditor.md
Copilot CLI:
mcp: $HOME/.copilot/mcp-config.json
instructions: $HOME/.copilot/copilot-instructions.md
skill: $HOME/.copilot/skills/codebase-memory/SKILL.md (0 installed)
agent: $HOME/.copilot/agents/codebase-memory-scout.agent.md
agent: $HOME/.copilot/agents/codebase-memory.agent.md
agent: $HOME/.copilot/agents/codebase-memory-auditor.agent.md
hooks: SessionStart + SubagentStart (dynamic graph context)
Install complete. Please restart your coding-agent sessions to properly take this into account.
Restart your shell or run:
source $HOME/.zshrc
Diagnostics trajectory (memory / performance / leak issues)
Project scale (if relevant)
No response
Confirmations
- I searched existing issues and this is not a duplicate.
- My reproduction uses shareable code (a dummy snippet or a public OSS repository), not proprietary code.
- Ngôn ngữ chính
- C
- Star
- 45.8k
- Fork
- 3.8k
- Merge trung bình
- 3 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 208
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DeusData/codebase-memory-mcp
-
bug editor/integration
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
DeusData/codebase-memory-mcp#2787 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
editor/integration parsing/quality
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
DeusData/codebase-memory-mcp#2286 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
install writes an unsupported `args` key into the Claude Code SubagentStart hook, so it never runsĐang mởbug editor/integration priority/high stability/performance ux/behavior
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
DeusData/codebase-memory-mcp#2239 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug priority/high ux/behavior
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
DeusData/codebase-memory-mcp#2232 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
documentation editor/integration parsing/quality priority/normal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
DeusData/codebase-memory-mcp#2169 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của DeusData/codebase-memory-mcp
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
HexaCluster/credcheck#86 ·
-
Wheels for Python 3.15Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
mongodb/winkerberos#175 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
AOMediaCodec/SVT-AV1#3320 ·
-
Add `CPC_TAKE_TILL_CHARS`Đang mởdifficulty: easy
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100