You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(v0.2.1): multi-level binary discovery, auto-download, and Rust CLI hardening
Plugin infrastructure:
- Rewrite codegraph/codegraph.cmd wrappers with 5-level binary lookup
(PATH > ~/.codemap/bin/ > plugin dir > dev build > auto-download)
- Update detect-codemap.sh hook with same discovery logic
- Update README with new installation workflow
Rust CLI improvements:
- Convert walk_nodes from recursive to iterative (prevent stack overflow)
- Add Default impl to all language adapters (clippy compliance)
- Unify convert_types: exclude class/struct for all languages
- Fix posix_normalize handling of leading ".."
- Add loop protection in unix_to_datetime (year < 10000)
- Sanitize module names in slicer to prevent path traversal
- Use HashSet for dedup check in differ
- Proper error handling for parser set_language
- Remove unused parser module
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The pre-compiled binary is included in `ccplugin/bin/`— no additional dependencies required:
39
+
The plugin **automatically downloads** the platform-specific binary from GitHub Releases to `~/.codemap/bin/`on first command execution. No manual steps required.
40
40
41
-
```bash
42
-
# Linux / macOS
43
-
ccplugin/bin/codegraph-linux --version # Linux x64
> If no binary matches your platform in `ccplugin/bin/`, download from [GitHub Releases](https://github.com/killvxk/CodeMap/releases) or see "Build from Source" below.
69
+
> Customize the directory via `CODEMAP_HOME` env var (default `~/.codemap`).
53
70
54
71
#### 3. 安装为 Claude Code 插件 / Install as Claude Code plugin
55
72
@@ -99,23 +116,27 @@ If the plugin is installed correctly, this command will trigger the code scan wo
Download the binary for your platform from [GitHub Releases](https://github.com/killvxk/CodeMap/releases):
121
+
Download the binary for your platform from [GitHub Releases](https://github.com/killvxk/CodeMap/releases) and place it in `~/.codemap/bin/` or anywhere in your PATH:
0 commit comments