Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Wrong Binary Path Used during Installation

Đang mở
#2,722 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ả

bug editor/integration ux/behavior
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
  1. Install cbm using e.g. mise
  2. Run codebase-memory-mcp install
  3. Check one of the generated mcp definitions
  4. Notice it used $HOME/.local/bin/codebase-memory-mcp instead 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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DeusData/codebase-memory-mcp

Tất cả issue của DeusData/codebase-memory-mcp

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.