Help us shape the future of Go! Take the 2026 Go Developer Survey

internal/

directory
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2026 License: MIT

Directories

Path Synopsis
Package adapters defines the contract every AI-agent integration implements.
Package adapters defines the contract every AI-agent integration implements.
claude
Package claude adapts Claude Code to graphmaster: it parses Claude's hook payloads, renders decisions as hookSpecificOutput JSON and builds the user-level install plan (~/.claude.json, ~/.claude/settings.json and ~/.claude/CLAUDE.md).
Package claude adapts Claude Code to graphmaster: it parses Claude's hook payloads, renders decisions as hookSpecificOutput JSON and builds the user-level install plan (~/.claude.json, ~/.claude/settings.json and ~/.claude/CLAUDE.md).
codex
Package codex adapts the OpenAI Codex CLI to graphmaster.
Package codex adapts the OpenAI Codex CLI to graphmaster.
cursor
Package cursor adapts graphmaster to the Cursor editor's agent.
Package cursor adapts graphmaster to the Cursor editor's agent.
opencode
Package opencode integrates graphmaster with OpenCode (v1.x).
Package opencode integrates graphmaster with OpenCode (v1.x).
Package config loads graphmaster settings.
Package config loads graphmaster settings.
Package deps pins the module's v1 dependency set.
Package deps pins the module's v1 dependency set.
Package e2e holds end-to-end tests that drive a freshly built graphmaster binary the way agents do: install/doctor/uninstall against a temporary HOME, the MCP server over stdio, hook invocations with synthetic agent payloads, and the UI HTTP server.
Package e2e holds end-to-end tests that drive a freshly built graphmaster binary the way agents do: install/doctor/uninstall against a temporary HOME, the MCP server over stdio, hook invocations with synthetic agent payloads, and the UI HTTP server.
Package hookapi defines the agent-neutral hook contract.
Package hookapi defines the agent-neutral hook contract.
Package hookrun runs graphmaster's short-lived hook processes: dispatch, dedupe, timeouts and payload recording.
Package hookrun runs graphmaster's short-lived hook processes: dispatch, dedupe, timeouts and payload recording.
Package index keeps graph.db in sync with the working tree.
Package index keeps graph.db in sync with the working tree.
Package install is the agent-neutral configuration engine behind `graphmaster install` / `uninstall`.
Package install is the agent-neutral configuration engine behind `graphmaster install` / `uninstall`.
Package instructions holds the agent-neutral steering text that `graphmaster install` places in each agent's instruction file (~/.claude/CLAUDE.md, ~/.codex/AGENTS.md, OpenCode's AGENTS.md and a Cursor rule).
Package instructions holds the agent-neutral steering text that `graphmaster install` places in each agent's instruction file (~/.claude/CLAUDE.md, ~/.codex/AGENTS.md, OpenCode's AGENTS.md and a Cursor rule).
Package mcp serves graphmaster's query tools over the Model Context Protocol (stdio in production, any transport in tests).
Package mcp serves graphmaster's query tools over the Model Context Protocol (stdio in production, any transport in tests).
Package model holds the language-neutral contracts shared by every graphmaster layer: language and kind enums, the per-file Facts produced by parsing, and the LanguageSpec / RepoContext interfaces used by parse and resolve.
Package model holds the language-neutral contracts shared by every graphmaster layer: language and kind enums, the per-file Facts produced by parsing, and the LanguageSpec / RepoContext interfaces used by parse and resolve.
Package parse turns source files into language-neutral model.Facts using tree-sitter grammars and per-language extraction queries.
Package parse turns source files into language-neutral model.Facts using tree-sitter grammars and per-language extraction queries.
Package perfgate compares benchmark results with performance thresholds.
Package perfgate compares benchmark results with performance thresholds.
cmd/perfgate command
Command perfgate checks benchmark results against bench/thresholds.json.
Command perfgate checks benchmark results against bench/thresholds.json.
Package query implements graphmaster's code-graph tools (PLAN "MCP tool'ları") as a plain Go API, independent of MCP: find_symbol, search, repo_map, file_outline, read_symbol, callers, callees, impact, imports, inheritance, tests_for, traverse and status.
Package query implements graphmaster's code-graph tools (PLAN "MCP tool'ları") as a plain Go API, independent of MCP: find_symbol, search, repo_map, file_outline, read_symbol, callers, callees, impact, imports, inheritance, tests_for, traverse and status.
Package replay replays captured agent hook payloads (testdata/hooks) through the real hook dispatcher and compares what graphmaster answers with golden files.
Package replay replays captured agent hook payloads (testdata/hooks) through the real hook dispatcher and compares what graphmaster answers with golden files.
Package repo discovers what is in a git working tree without spawning git on the hot path: it locates the repository (worktrees and submodules included), decodes .git/index for tracked files, walks the tree for untracked-but-not-ignored files with git-compatible ignore semantics and a directory mtime cache, and classifies file contents (size cap, binary, minified, generated, language).
Package repo discovers what is in a git working tree without spawning git on the hot path: it locates the repository (worktrees and submodules included), decodes .git/index for tracked files, walks the tree for untracked-but-not-ignored files with git-compatible ignore semantics and a directory mtime cache, and classifies file contents (size cap, binary, minified, generated, language).
Package resolve turns unresolved reference edges (dst NULL) into graph edges, following PLAN "Name resolution":
Package resolve turns unresolved reference edges (dst NULL) into graph edges, following PLAN "Name resolution":
Package steer decides whether an agent's search (grep, glob, shell) should be redirected to the code graph.
Package steer decides whether an agent's search (grep, glob, shell) should be redirected to the code graph.
Package store is graphmaster's SQLite layer.
Package store is graphmaster's SQLite layer.
Package testutil provides shared test fixtures and harness helpers:
Package testutil provides shared test fixtures and harness helpers:
Package ui serves the graphmaster graph explorer (`graphmaster ui`): a small JSON API over graph.db plus a static, build-free frontend (plain JavaScript and a vendored cytoscape).
Package ui serves the graphmaster graph explorer (`graphmaster ui`): a small JSON API over graph.db plus a static, build-free frontend (plain JavaScript and a vendored cytoscape).
Package version exposes build metadata for the graphmaster binary.
Package version exposes build metadata for the graphmaster binary.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL