v0.4.0
Added
- JSON, CSS, HTML, and Bash language packs. JSON object keys and CSS
rules/keyframes become nested symbols the same way code does; HTML surfaces
landmark tags,<script>/<style>blocks, and any element with anid
(narrow by design — every<div>as a symbol would be noise); Bash extracts
function definitions and resolves calls between them. A YAML pack ships
alongside these but is not yet registered: the bundled tree-sitter grammar
fails to parse under the pinnedweb-tree-sitterversion, so YAML files
still fall back to being indexed as unparsed stubs until that combination is
fixed upstream. packs.strictconfig option. Off by default. A project can turn off the
"load an unpredicted language on first sight" fallback, so only packs for
languages its own manifests actually named are ever used — a vendored
script in an unexpected language becomes a stub instead of silently pulling
in a grammar+pack for it.cgraph initpre-approves its own MCP tools for Claude Code. Previously
initregistered the MCP server and wrote the tool-usage instructions, but
the tools still sat behind a permission prompt in the checked-in project
config — fine for an interactive session where a human clears it once, but
a subagent spawned non-interactively has nobody to click "allow", so a
denied call looked exactly like a missing tool and the model fell back to
grep.initnow also writes the approval into.claude/settings.json
(shared, not the gitignoredsettings.local.json), additively and without
touching anything a user already set there.
Install
npm install -g cgraphPublished to npm as cgraph@0.4.0 with build provenance.