internal/

directory
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0

Directories

Path Synopsis
Package assist is the model-agnostic harness: a natural-language task is routed by ANY chat model (local Ollama, Anthropic, OpenAI) to prism's deterministic code-graph operations.
Package assist is the model-agnostic harness: a natural-language task is routed by ANY chat model (local Ollama, Anthropic, OpenAI) to prism's deterministic code-graph operations.
Package cli implements the Prism command tree (flat dispatch, no cobra dependency — keeps Prism a true single binary with zero runtime deps).
Package cli implements the Prism command tree (flat dispatch, no cobra dependency — keeps Prism a true single binary with zero runtime deps).
Package compression implements the file-read compression pipeline that produces a token-optimized rendering of a file given Grove's symbols and the current session state.
Package compression implements the file-read compression pipeline that produces a token-optimized rendering of a file given Grove's symbols and the current session state.
Package config loads Prism configuration from prism.yaml and environment.
Package config loads Prism configuration from prism.yaml and environment.
prism_drift — the delivery half of the stale-context loop.
prism_drift — the delivery half of the stale-context loop.
Package graphui serves the interactive graph explorer behind `prism graph`: a local web page that renders the indexed code graph at one level at a time (directories -> files -> symbols -> one symbol's neighbourhood) and lets the user drill down, search, and inspect the evidence behind an edge.
Package graphui serves the interactive graph explorer behind `prism graph`: a local web page that renders the indexed code graph at one level at a time (directories -> files -> symbols -> one symbol's neighbourhood) and lets the user drill down, search, and inspect the evidence behind an edge.
Package grove is Prism's adapter to the in-process Grove engine.
Package grove is Prism's adapter to the in-process Grove engine.
Package httpapi exposes the Prism MCP tools over plain HTTP for clients that don't speak JSON-RPC stdio, for example curl or custom automation.
Package httpapi exposes the Prism MCP tools over plain HTTP for clients that don't speak JSON-RPC stdio, for example curl or custom automation.
Package httpguard protects Prism's local HTTP listeners (prism serve, prism graph) from other origins on the same machine: DNS rebinding, cross-site form posts, and other local users (SEC-02).
Package httpguard protects Prism's local HTTP listeners (prism serve, prism graph) from other origins on the same machine: DNS rebinding, cross-site form posts, and other local users (SEC-02).
Package linkserver holds what a shared Prism link server stores and answers: per repository and commit, where that repository references symbols other repositories declare, and what it declares itself.
Package linkserver holds what a shared Prism link server stores and answers: per repository and commit, where that repository references symbols other repositories declare, and what it declares itself.
loadtest command
Command loadtest drives a running Prism link server with synthetic repositories and concurrent queries, and reports latency percentiles.
Command loadtest drives a running Prism link server with synthetic repositories and concurrent queries, and reports latency percentiles.
Package lru is a small least-recently-used map with a fixed entry limit, for per-session caches in long-running servers.
Package lru is a small least-recently-used map with a fixed entry limit, for per-session caches in long-running servers.
Package mcp is Prism's MCP stdio transport: message framing, the request loop (concurrency, cancellation, panics) and the handoff to an upgraded binary.
Package mcp is Prism's MCP stdio transport: message framing, the request loop (concurrency, cancellation, panics) and the handoff to an upgraded binary.
Package ranking orders symbols by verified relation to task anchors and then by stable retrieval order, before applying a shared delivery budget.
Package ranking orders symbols by verified relation to task anchors and then by stable retrieval order, before applying a shared delivery budget.
Package sensitive names the files whose contents Prism does not hand to an agent unless asked: credentials, keys, environment files (SEC-03).
Package sensitive names the files whose contents Prism does not hand to an agent unless asked: credentials, keys, environment files (SEC-03).
Package session implements Prism's per-session state: an O(1) LRU file tracker (for delivery deduplication) and a token ledger (for savings reporting).
Package session implements Prism's per-session state: an O(1) LRU file tracker (for delivery deduplication) and a token ledger (for savings reporting).
Package testtool gates tests on host tools (git, rg, python3, go).
Package testtool gates tests on host tools (git, rg, python3, go).
Package textsearch gives Prism a real full-text search: the literal/substring search an agent would otherwise reach for grep to do.
Package textsearch gives Prism a real full-text search: the literal/substring search an agent would otherwise reach for grep to do.
Package trust decides whether Prism may run a repository's own build tools while indexing it (SEC-01).
Package trust decides whether Prism may run a repository's own build tools while indexing it (SEC-01).
Package version exposes the prism build version.
Package version exposes the prism build version.
Package view builds component-level projections (quotient graphs) of the code graph: a deterministic partition of symbols into components plus induced edges aggregated from the primitive edges that cross it.
Package view builds component-level projections (quotient graphs) of the code graph: a deterministic partition of symbols into components plus induced edges aggregated from the primitive edges that cross it.
Package workspace models the set of repositories linked to the one a command answers for.
Package workspace models the set of repositories linked to the one a command answers for.

Jump to

Keyboard shortcuts

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