diff --git a/README.md b/README.md index e25e789..6e64d7c 100644 --- a/README.md +++ b/README.md @@ -516,13 +516,13 @@ The formula installs all four executables from the current release archive. The Download the current Linux x64 release and build your first graph: ```sh -mkdir -p "$HOME/.local/lib/cgraph/bin-v0.9.6" "$HOME/.local/bin" -curl -fL https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.6/cgraph-linux-x64.tar.gz \ - -o "$HOME/.local/lib/cgraph/bin-v0.9.6/cgraph.tar.gz" -tar -xzf "$HOME/.local/lib/cgraph/bin-v0.9.6/cgraph.tar.gz" \ - -C "$HOME/.local/lib/cgraph/bin-v0.9.6" +mkdir -p "$HOME/.local/lib/cgraph/bin-v0.9.7" "$HOME/.local/bin" +curl -fL https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.7/cgraph-linux-x64.tar.gz \ + -o "$HOME/.local/lib/cgraph/bin-v0.9.7/cgraph.tar.gz" +tar -xzf "$HOME/.local/lib/cgraph/bin-v0.9.7/cgraph.tar.gz" \ + -C "$HOME/.local/lib/cgraph/bin-v0.9.7" for name in cgraph graphd cgraph-client cgraph-mcp; do - ln -sf "$HOME/.local/lib/cgraph/bin-v0.9.6/$name" "$HOME/.local/bin/$name" + ln -sf "$HOME/.local/lib/cgraph/bin-v0.9.7/$name" "$HOME/.local/bin/$name" done export PATH="$HOME/.local/bin:$PATH" @@ -534,16 +534,16 @@ Open `cgraph-out/graph.html` in a browser (`open cgraph-out/graph.html` on macOS ## Install & Setup -Release `bin-v0.9.6` provides all four executables (`cgraph`, `graphd`, `cgraph-client`, and `cgraph-mcp`) in each archive: +Release `bin-v0.9.7` provides all four executables (`cgraph`, `graphd`, `cgraph-client`, and `cgraph-mcp`) in each archive: | Platform | Architecture | Archive | | --- | --- | --- | -| Linux | x86_64 / amd64 | [`cgraph-linux-x64.tar.gz`](https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.6/cgraph-linux-x64.tar.gz) | -| Linux | arm64 / aarch64 | [`cgraph-linux-arm64.tar.gz`](https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.6/cgraph-linux-arm64.tar.gz) | -| macOS | Apple silicon / arm64 | [`cgraph-macos-arm64.tar.gz`](https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.6/cgraph-macos-arm64.tar.gz) | -| macOS | Intel / x86_64 | [`cgraph-macos-x64.tar.gz`](https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.6/cgraph-macos-x64.tar.gz) | +| Linux | x86_64 / amd64 | [`cgraph-linux-x64.tar.gz`](https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.7/cgraph-linux-x64.tar.gz) | +| Linux | arm64 / aarch64 | [`cgraph-linux-arm64.tar.gz`](https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.7/cgraph-linux-arm64.tar.gz) | +| macOS | Apple silicon / arm64 | [`cgraph-macos-arm64.tar.gz`](https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.7/cgraph-macos-arm64.tar.gz) | +| macOS | Intel / x86_64 | [`cgraph-macos-x64.tar.gz`](https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.7/cgraph-macos-x64.tar.gz) | -Use `uname -s` and `uname -m` to select the archive. The quick start installs versioned files under `~/.local/lib/cgraph/bin-v0.9.6` and puts stable symlinks in `~/.local/bin`; add that directory to your `PATH` if needed. MCP client configs should use the absolute versioned path, because clients may not inherit your shell's `PATH`. +Use `uname -s` and `uname -m` to select the archive. The quick start installs versioned files under `~/.local/lib/cgraph/bin-v0.9.7` and puts stable symlinks in `~/.local/bin`; add that directory to your `PATH` if needed. MCP client configs should use the absolute versioned path, because clients may not inherit your shell's `PATH`. ### Build from source @@ -640,8 +640,8 @@ Claude Code sets `CLAUDE_PROJECT_DIR` per session, so a single registration work ```sh claude mcp add --scope user --transport stdio cgraph \ - -- /home/you/.local/lib/cgraph/bin-v0.9.6/cgraph-mcp \ - --daemon /home/you/.local/lib/cgraph/bin-v0.9.6/graphd + -- /home/you/.local/lib/cgraph/bin-v0.9.7/cgraph-mcp \ + --daemon /home/you/.local/lib/cgraph/bin-v0.9.7/graphd ``` Or commit a project-scoped `.mcp.json` at the repo root to share it with collaborators: @@ -650,8 +650,8 @@ Or commit a project-scoped `.mcp.json` at the repo root to share it with collabo { "mcpServers": { "cgraph": { - "command": "/home/you/.local/lib/cgraph/bin-v0.9.6/cgraph-mcp", - "args": ["--daemon", "/home/you/.local/lib/cgraph/bin-v0.9.6/graphd"] + "command": "/home/you/.local/lib/cgraph/bin-v0.9.7/cgraph-mcp", + "args": ["--daemon", "/home/you/.local/lib/cgraph/bin-v0.9.7/graphd"] } } } @@ -665,16 +665,16 @@ Codex does not set `CLAUDE_PROJECT_DIR`, so the server falls back to the working ```sh codex mcp add cgraph \ - -- /home/you/.local/lib/cgraph/bin-v0.9.6/cgraph-mcp \ - --daemon /home/you/.local/lib/cgraph/bin-v0.9.6/graphd + -- /home/you/.local/lib/cgraph/bin-v0.9.7/cgraph-mcp \ + --daemon /home/you/.local/lib/cgraph/bin-v0.9.7/graphd ``` …or edit `~/.codex/config.toml` directly (add `"--root", "/abs/path/to/your/project"` to `args` to pin a project regardless of working directory): ```toml [mcp_servers.cgraph] -command = "/home/you/.local/lib/cgraph/bin-v0.9.6/cgraph-mcp" -args = ["--daemon", "/home/you/.local/lib/cgraph/bin-v0.9.6/graphd"] +command = "/home/you/.local/lib/cgraph/bin-v0.9.7/cgraph-mcp" +args = ["--daemon", "/home/you/.local/lib/cgraph/bin-v0.9.7/graphd"] ``` Restart Codex and run `/mcp` in the TUI to confirm. diff --git a/README.zh-CN.md b/README.zh-CN.md index aeafc82..26ac71a 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -130,13 +130,13 @@ vendor/ 内置的 tree-sitter core 与语法 下载当前 Linux x64 版本并构建第一个图谱: ```sh -mkdir -p "$HOME/.local/lib/cgraph/bin-v0.9.6" "$HOME/.local/bin" -curl -fL https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.6/cgraph-linux-x64.tar.gz \ - -o "$HOME/.local/lib/cgraph/bin-v0.9.6/cgraph.tar.gz" -tar -xzf "$HOME/.local/lib/cgraph/bin-v0.9.6/cgraph.tar.gz" \ - -C "$HOME/.local/lib/cgraph/bin-v0.9.6" +mkdir -p "$HOME/.local/lib/cgraph/bin-v0.9.7" "$HOME/.local/bin" +curl -fL https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.7/cgraph-linux-x64.tar.gz \ + -o "$HOME/.local/lib/cgraph/bin-v0.9.7/cgraph.tar.gz" +tar -xzf "$HOME/.local/lib/cgraph/bin-v0.9.7/cgraph.tar.gz" \ + -C "$HOME/.local/lib/cgraph/bin-v0.9.7" for name in cgraph graphd cgraph-client cgraph-mcp; do - ln -sf "$HOME/.local/lib/cgraph/bin-v0.9.6/$name" "$HOME/.local/bin/$name" + ln -sf "$HOME/.local/lib/cgraph/bin-v0.9.7/$name" "$HOME/.local/bin/$name" done export PATH="$HOME/.local/bin:$PATH" @@ -148,16 +148,16 @@ cgraph --root . --out cgraph-out ## 安装与配置 -`bin-v0.9.6` 发布版的每个压缩包都包含四个可执行文件(`cgraph`、`graphd`、`cgraph-client` 和 `cgraph-mcp`): +`bin-v0.9.7` 发布版的每个压缩包都包含四个可执行文件(`cgraph`、`graphd`、`cgraph-client` 和 `cgraph-mcp`): | 平台 | 架构 | 压缩包 | | --- | --- | --- | -| Linux | x86_64 / amd64 | [`cgraph-linux-x64.tar.gz`](https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.6/cgraph-linux-x64.tar.gz) | -| Linux | arm64 / aarch64 | [`cgraph-linux-arm64.tar.gz`](https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.6/cgraph-linux-arm64.tar.gz) | -| macOS | Apple 芯片 / arm64 | [`cgraph-macos-arm64.tar.gz`](https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.6/cgraph-macos-arm64.tar.gz) | -| macOS | Intel / x86_64 | [`cgraph-macos-x64.tar.gz`](https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.6/cgraph-macos-x64.tar.gz) | +| Linux | x86_64 / amd64 | [`cgraph-linux-x64.tar.gz`](https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.7/cgraph-linux-x64.tar.gz) | +| Linux | arm64 / aarch64 | [`cgraph-linux-arm64.tar.gz`](https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.7/cgraph-linux-arm64.tar.gz) | +| macOS | Apple 芯片 / arm64 | [`cgraph-macos-arm64.tar.gz`](https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.7/cgraph-macos-arm64.tar.gz) | +| macOS | Intel / x86_64 | [`cgraph-macos-x64.tar.gz`](https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.7/cgraph-macos-x64.tar.gz) | -用 `uname -s` 和 `uname -m` 选择压缩包。快速开始把带版本的文件安装到 `~/.local/lib/cgraph/bin-v0.9.6`,并在 `~/.local/bin` 中创建稳定的软链接;如有需要,请把该目录加入 `PATH`。MCP 客户端配置应使用带版本的绝对路径,因为客户端未必继承 shell 的 `PATH`。 +用 `uname -s` 和 `uname -m` 选择压缩包。快速开始把带版本的文件安装到 `~/.local/lib/cgraph/bin-v0.9.7`,并在 `~/.local/bin` 中创建稳定的软链接;如有需要,请把该目录加入 `PATH`。MCP 客户端配置应使用带版本的绝对路径,因为客户端未必继承 shell 的 `PATH`。 ### 从源码构建 @@ -244,8 +244,8 @@ Claude Code 会按会话设置 `CLAUDE_PROJECT_DIR`,因此一次注册即可 ```sh claude mcp add --scope user --transport stdio cgraph \ - -- /home/you/.local/lib/cgraph/bin-v0.9.6/cgraph-mcp \ - --daemon /home/you/.local/lib/cgraph/bin-v0.9.6/graphd + -- /home/you/.local/lib/cgraph/bin-v0.9.7/cgraph-mcp \ + --daemon /home/you/.local/lib/cgraph/bin-v0.9.7/graphd ``` 或在仓库根目录提交一个按项目作用域的 `.mcp.json`,以便与协作者共享: @@ -254,8 +254,8 @@ claude mcp add --scope user --transport stdio cgraph \ { "mcpServers": { "cgraph": { - "command": "/home/you/.local/lib/cgraph/bin-v0.9.6/cgraph-mcp", - "args": ["--daemon", "/home/you/.local/lib/cgraph/bin-v0.9.6/graphd"] + "command": "/home/you/.local/lib/cgraph/bin-v0.9.7/cgraph-mcp", + "args": ["--daemon", "/home/you/.local/lib/cgraph/bin-v0.9.7/graphd"] } } } @@ -269,16 +269,16 @@ Codex 不设置 `CLAUDE_PROJECT_DIR`,因此服务器回退到 Codex 启动它 ```sh codex mcp add cgraph \ - -- /home/you/.local/lib/cgraph/bin-v0.9.6/cgraph-mcp \ - --daemon /home/you/.local/lib/cgraph/bin-v0.9.6/graphd + -- /home/you/.local/lib/cgraph/bin-v0.9.7/cgraph-mcp \ + --daemon /home/you/.local/lib/cgraph/bin-v0.9.7/graphd ``` ……或直接编辑 `~/.codex/config.toml`(在 `args` 中加入 `"--root", "/abs/path/to/your/project"` 可无视工作目录锁定某个项目): ```toml [mcp_servers.cgraph] -command = "/home/you/.local/lib/cgraph/bin-v0.9.6/cgraph-mcp" -args = ["--daemon", "/home/you/.local/lib/cgraph/bin-v0.9.6/graphd"] +command = "/home/you/.local/lib/cgraph/bin-v0.9.7/cgraph-mcp" +args = ["--daemon", "/home/you/.local/lib/cgraph/bin-v0.9.7/graphd"] ``` 编辑后重启 Codex,在 TUI 中运行 `/mcp` 确认。 diff --git a/integrations/.claude-plugin/plugin.json b/integrations/.claude-plugin/plugin.json index 44c54bc..b029691 100644 --- a/integrations/.claude-plugin/plugin.json +++ b/integrations/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "cgraph", "displayName": "CGraph", - "version": "0.9.6", + "version": "0.9.7", "description": "Code graph for coding agents: ranked symbol search, callers and callees, blast radius, token-budgeted context and cross-service impact, served by a resident per-project daemon over MCP.", "author": { "name": "Nxtsoft", diff --git a/integrations/launcher/release.json b/integrations/launcher/release.json index 4ca93a0..1a4e44d 100644 --- a/integrations/launcher/release.json +++ b/integrations/launcher/release.json @@ -1,22 +1,22 @@ { "repository": "Nxtsoft/CGraph", - "tag": "bin-v0.9.6", + "tag": "bin-v0.9.7", "assets": { "linux-arm64": { "name": "cgraph-linux-arm64.tar.gz", - "sha256": "f970a332e46918fe2358077826f48af1badafd6351cce68bc2c21dd90e27d296" + "sha256": "e640d5966c8c27e691c14f49e7377d34b834ae0c86e4951b4253b112c410accf" }, "linux-x64": { "name": "cgraph-linux-x64.tar.gz", - "sha256": "afdcb4da4f6bc42ec9a28d55a29cab068413f9991e7a96a0c54098ac07cca5cc" + "sha256": "8fd38c25b1d02a6659e55b5fb4a63b841a92cb13d6a5892d8777aea84a2ac924" }, "macos-arm64": { "name": "cgraph-macos-arm64.tar.gz", - "sha256": "55414b665fd8dcf98dd700c9034a5ebac8e2e19e8c4e2e106bbf56310c810cac" + "sha256": "e12322ce780b45ffa0264758a325bab956aaa57658142d9db801cbecf688e4d4" }, "macos-x64": { "name": "cgraph-macos-x64.tar.gz", - "sha256": "7dea72c4d848adce94fb5931c3964760d451a9a2b22daa30645987fc2514dc5e" + "sha256": "db7cc6c36721f0c5607d714ac7a1471cb894481474002df881d0ddd6ae79b27f" } } } diff --git a/packaging/homebrew/cgraph.rb b/packaging/homebrew/cgraph.rb index f60c4ff..102799e 100644 --- a/packaging/homebrew/cgraph.rb +++ b/packaging/homebrew/cgraph.rb @@ -1,28 +1,28 @@ class Cgraph < Formula desc "Code graph and change-context engine for coding agents" homepage "https://github.com/Nxtsoft/CGraph" - version "0.9.6" + version "0.9.7" license "MIT" on_macos do on_arm do - url "https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.6/cgraph-macos-arm64.tar.gz" - sha256 "55414b665fd8dcf98dd700c9034a5ebac8e2e19e8c4e2e106bbf56310c810cac" + url "https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.7/cgraph-macos-arm64.tar.gz" + sha256 "e12322ce780b45ffa0264758a325bab956aaa57658142d9db801cbecf688e4d4" end on_intel do - url "https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.6/cgraph-macos-x64.tar.gz" - sha256 "7dea72c4d848adce94fb5931c3964760d451a9a2b22daa30645987fc2514dc5e" + url "https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.7/cgraph-macos-x64.tar.gz" + sha256 "db7cc6c36721f0c5607d714ac7a1471cb894481474002df881d0ddd6ae79b27f" end end on_linux do on_arm do - url "https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.6/cgraph-linux-arm64.tar.gz" - sha256 "f970a332e46918fe2358077826f48af1badafd6351cce68bc2c21dd90e27d296" + url "https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.7/cgraph-linux-arm64.tar.gz" + sha256 "e640d5966c8c27e691c14f49e7377d34b834ae0c86e4951b4253b112c410accf" end on_intel do - url "https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.6/cgraph-linux-x64.tar.gz" - sha256 "afdcb4da4f6bc42ec9a28d55a29cab068413f9991e7a96a0c54098ac07cca5cc" + url "https://github.com/Nxtsoft/CGraph/releases/download/bin-v0.9.7/cgraph-linux-x64.tar.gz" + sha256 "8fd38c25b1d02a6659e55b5fb4a63b841a92cb13d6a5892d8777aea84a2ac924" end end diff --git a/packaging/npm/package.json b/packaging/npm/package.json index e194254..6f79af0 100644 --- a/packaging/npm/package.json +++ b/packaging/npm/package.json @@ -1,6 +1,6 @@ { "name": "cgraph-mcp", - "version": "0.9.6", + "version": "0.9.7", "description": "CGraph code graph MCP server for coding agents; runs the verified native release for your platform", "mcpName": "io.github.Nxtsoft/cgraph", "license": "MIT", diff --git a/server.json b/server.json index 88c47d1..21aff4f 100644 --- a/server.json +++ b/server.json @@ -7,12 +7,12 @@ "url": "https://github.com/Nxtsoft/CGraph", "source": "github" }, - "version": "0.9.6", + "version": "0.9.7", "packages": [ { "registryType": "npm", "identifier": "cgraph-mcp", - "version": "0.9.6", + "version": "0.9.7", "runtimeHint": "npx", "transport": { "type": "stdio"