assistgraph 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -9,7 +9,7 @@ Run `assistgraph build` in any repo (or subfolder) and you get:
9
9
  - **`assistgraph/graph.json`** — a machine-readable dependency graph of every file and every import
10
10
  - **`assistgraph/vault/`** — an Obsidian-compatible knowledge vault with wiki links, pre-configured colour groups, and community pages
11
11
  - **`assistgraph/audit.md`** (via `assistgraph audit`) — cycles, orphans, hubs, and cross-folder coupling
12
- - **An MCP stdio server** (via `assistgraph mcp`) — 11 tools so Claude Code / Codex can query the graph directly
12
+ - **An MCP stdio server** (via `assistgraph mcp`) — 12 tools so Claude Code / Codex can query the graph directly, including a `reload_graph` tool that picks up rebuilds without restarting the session
13
13
 
14
14
  All parsing is deterministic and offline. Zero LLM calls, zero databases, zero Python runtime required.
15
15
 
@@ -158,7 +158,7 @@ Add one of the following to your Claude Code / Codex / Cursor MCP config. The `n
158
158
  }
159
159
  ```
160
160
 
161
- The MCP server reads `./assistgraph/graph.json` from the agent's current working directory and holds it in memory. Re-run `assistgraph build` whenever you want the graph to reflect new or moved files the server picks up the new file on its next spawn.
161
+ The MCP server reads `./assistgraph/graph.json` from the agent's current working directory and holds it in memory. Re-run `assistgraph build` whenever you want the graph to reflect new or moved files, then either restart the agent session or have the agent call the `reload_graph` tool — it swaps the in-memory graph without needing a respawn.
162
162
 
163
163
  ### One-time skill install
164
164
 
@@ -187,6 +187,7 @@ The Claude skill tells Claude Code when to prefer `mcp__assistgraph__*` tools ov
187
187
  | `get_community` | Members of a community |
188
188
  | `find_cycles` | All dependency cycles (Tarjan SCC) |
189
189
  | `find_orphans` | Orphan files, with `isLikelyEntrypoint` flag |
190
+ | `reload_graph` | Re-read `graph.json` after a rebuild; swaps the in-memory graph atomically and returns before/after counts |
190
191
 
191
192
  ## Obsidian integration
192
193