Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
v1
Package v1 contains API Schema definitions for the xray.triageagent.dev v1 API group +kubebuilder:object:generate=true +groupName=xray.triageagent.dev
|
Package v1 contains API Schema definitions for the xray.triageagent.dev v1 API group +kubebuilder:object:generate=true +groupName=xray.triageagent.dev |
|
cmd
|
|
|
xray
command
Command recall is a local code-intelligence substrate: it parses repositories, documentation and Kubernetes manifests into a semantic graph, snapshots that graph to disk, and serves retrieval over MCP so a coding agent can ask structural questions — who calls this, what breaks if I change it, why was this decided — instead of grepping.
|
Command recall is a local code-intelligence substrate: it parses repositories, documentation and Kubernetes manifests into a semantic graph, snapshots that graph to disk, and serves retrieval over MCP so a coding agent can ask structural questions — who calls this, what breaks if I change it, why was this decided — instead of grepping. |
|
examples
|
|
|
agent
command
Command agent shows how to give an agent X-Ray as its memory through the Go SDK.
|
Command agent shows how to give an agent X-Ray as its memory through the Go SDK. |
|
hack
|
|
|
devenv
command
Command devenv boots a local envtest control plane (kube-apiserver + etcd only — no kubelet, scheduler, or controllers), installs the MemoryCell CRD, writes a kubeconfig, and blocks until interrupted.
|
Command devenv boots a local envtest control plane (kube-apiserver + etcd only — no kubelet, scheduler, or controllers), installs the MemoryCell CRD, writes a kubeconfig, and blocks until interrupted. |
|
internal
|
|
|
codegraph/appconfig
Package appconfig ingests an application's own configuration files — Spring Boot's application*.yml / application*.properties and bootstrap*.yml — as Config nodes, one per flattened key (a context path, a service's module URL).
|
Package appconfig ingests an application's own configuration files — Spring Boot's application*.yml / application*.properties and bootstrap*.yml — as Config nodes, one per flattened key (a context path, a service's module URL). |
|
codegraph/compose
Package compose ingests Docker Compose files and the .env files they read into the code graph, so how deployments address each other is graph data rather than something a reader has to go and look up.
|
Package compose ingests Docker Compose files and the .env files they read into the code graph, so how deployments address each other is graph data rather than something a reader has to go and look up. |
|
codegraph/dockerfile
Package dockerfile ingests Dockerfiles as Image nodes, with a references edge for every local path the image copies in.
|
Package dockerfile ingests Dockerfiles as Image nodes, with a references edge for every local path the image copies in. |
|
codegraph/docs
Package docs ingests Markdown documentation (ADRs, todos, READMEs) into the same node/edge model as code.
|
Package docs ingests Markdown documentation (ADRs, todos, READMEs) into the same node/edge model as code. |
|
codegraph/embedder
Package embedder turns text into vectors via an OpenAI-compatible /v1/embeddings endpoint — llama.cpp, Ollama, vLLM, LM Studio or any gateway that speaks the same shape.
|
Package embedder turns text into vectors via an OpenAI-compatible /v1/embeddings endpoint — llama.cpp, Ollama, vLLM, LM Studio or any gateway that speaks the same shape. |
|
codegraph/graph
Package graph is the in-memory code graph: nodes keyed by qualified name, edges, and the adjacency indexes that power callers/callees/impact queries.
|
Package graph is the in-memory code graph: nodes keyed by qualified name, edges, and the adjacency indexes that power callers/callees/impact queries. |
|
codegraph/httpguard
Package httpguard is the access check in front of every route both servers expose: /mcp, /update and /reindex, the UI and the JSON routes it reads, and /ws.
|
Package httpguard is the access check in front of every route both servers expose: /mcp, /update and /reindex, the UI and the JSON routes it reads, and /ws. |
|
codegraph/hub
Package hub is a package-level singleton event hub: it broadcasts graph "hit" (search) and "change" (incremental update) events to connected WebSocket clients so the UI can render a live "graph in use" effect.
|
Package hub is a package-level singleton event hub: it broadcasts graph "hit" (search) and "change" (incremental update) events to connected WebSocket clients so the UI can render a live "graph in use" effect. |
|
codegraph/index
Package index provides semantic search over a recall graph.
|
Package index provides semantic search over a recall graph. |
|
codegraph/k8s
Package k8s ingests Kubernetes manifests (Helm chart templates, CRDs, raw YAML) into the code graph.
|
Package k8s ingests Kubernetes manifests (Helm chart templates, CRDs, raw YAML) into the code graph. |
|
codegraph/mcpserver
Package mcpserver exposes the code graph over MCP so X-Ray's voice/chat layer and external coding agents can search and traverse code as their primary structural + semantic source.
|
Package mcpserver exposes the code graph over MCP so X-Ray's voice/chat layer and external coding agents can search and traverse code as their primary structural + semantic source. |
|
codegraph/parser
Package parser turns source files into structural graph nodes and edges using Tree-sitter.
|
Package parser turns source files into structural graph nodes and edges using Tree-sitter. |
|
codegraph/sqlddl
Package sqlddl ingests SQL schema scripts (migrations, release scripts, DDL dumps) into the code graph.
|
Package sqlddl ingests SQL schema scripts (migrations, release scripts, DDL dumps) into the code graph. |
|
codegraph/ui
Package ui delivers the recall graph as an MCP App (SEP-1865): a tool that renders an interactive d3-force doc/code graph inline in MCP hosts, plus the same page served at GET /ui for browser/debug use.
|
Package ui delivers the recall graph as an MCP App (SEP-1865): a tool that renders an interactive d3-force doc/code graph inline in MCP hosts, plus the same page served at GET /ui for browser/debug use. |
|
headroom
Package headroom reduces the token cost of voice search_memory tool results before they are injected into the Gemini Live context window.
|
Package headroom reduces the token cost of voice search_memory tool results before they are injected into the Gemini Live context window. |
|
webui
Package webui carries the X-Ray web UI inside the binary and serves it.
|
Package webui carries the X-Ray web UI inside the binary and serves it. |
|
pkg
|
|
|
codegraph
Package codegraph is X-Ray's code graph, run inside your own process.
|
Package codegraph is X-Ray's code graph, run inside your own process. |
|
memory
Package memory is X-Ray's memory store, run inside your own process.
|
Package memory is X-Ray's memory store, run inside your own process. |
|
memstore
Package memstore is the memory engine behind X-Ray, for a Go program that wants the same store, search and ranking in its own process.
|
Package memstore is the memory engine behind X-Ray, for a Go program that wants the same store, search and ranking in its own process. |
|
memstore/cellsync
Package cellsync holds the decisions a controller makes when it reconciles a MemoryCell into a memory store: whether the cell is deleted at its deadline, whether it is embedded, seeded or left out of the vector index, when to look at it again.
|
Package cellsync holds the decisions a controller makes when it reconciles a MemoryCell into a memory store: whether the cell is deleted at its deadline, whether it is embedded, seeded or left out of the vector index, when to look at it again. |
|
memstore/hub
Package hub carries memory events to connected clients: a search hit, a change to an item, a metrics snapshot.
|
Package hub carries memory events to connected clients: a search hit, a change to an item, a metrics snapshot. |
|
memstore/memtest
Package memtest holds fixtures the tests of memstore and of its host share: the near-duplicate groups that tune the dedup threshold.
|
Package memtest holds fixtures the tests of memstore and of its host share: the near-duplicate groups that tune the dedup threshold. |
|
xray
Package xray is the Go SDK for X-Ray, an agentic memory substrate for local and Kubernetes-native use.
|
Package xray is the Go SDK for X-Ray, an agentic memory substrate for local and Kubernetes-native use. |
Click to show internal directories.
Click to hide internal directories.