internal/

directory
v0.1.0 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 adminui serves the self-hosted admin console: one page with its script, stylesheet and icon, embedded in the binary.
Package adminui serves the self-hosted admin console: one page with its script, stylesheet and icon, embedded in the binary.
Package api holds the admin HTTP handlers under /api/admin: the bundles, concepts, tokens, statistics, the query log and the audit log.
Package api holds the admin HTTP handlers under /api/admin: the bundles, concepts, tokens, statistics, the query log and the audit log.
Package bearer authenticates HTTP requests with the service's bearer tokens.
Package bearer authenticates HTTP requests with the service's bearer tokens.
Package database opens the PostgreSQL pool and applies the embedded migrations.
Package database opens the PostgreSQL pool and applies the embedded migrations.
Package embed defines the embedding providers the memory service uses to turn text into vectors: a search query on one side, the chunks of a concept on the other.
Package embed defines the embedding providers the memory service uses to turn text into vectors: a search query on one side, the chunks of a concept on the other.
Package httpx holds the HTTP helpers the handlers share: the JSON and error writers and the query parsers.
Package httpx holds the HTTP helpers the handlers share: the JSON and error writers and the query parsers.
Package mcp is the capsa MCP server mounted at /mcp: a Streamable HTTP endpoint, bearer-token protected, through which agents search, read and write the knowledge bases.
Package mcp is the capsa MCP server mounted at /mcp: a Streamable HTTP endpoint, bearer-token protected, through which agents search, read and write the knowledge bases.
Package rerank scores search candidates with a cross-encoder: the second stage of retrieval, after the vector search has picked the candidates and before anything is truncated to the requested limit.
Package rerank scores search candidates with a cross-encoder: the second stage of retrieval, after the vector search has picked the candidates and before anything is truncated to the requested limit.
Package service is the memory service's domain logic: OKF bundles in and out, concepts with their chunks and edges, search with its full-text fallback, agent tokens, and the audit trail behind every write.
Package service is the memory service's domain logic: OKF bundles in and out, concepts with their chunks and edges, search with its full-text fallback, agent tokens, and the audit trail behind every write.
Package store is the memory service's PostgreSQL repository: OKF bundles and concepts with their chunks and edges, search (vector and full-text), agent tokens, and the audit and query logs.
Package store is the memory service's PostgreSQL repository: OKF bundles and concepts with their chunks and edges, search (vector and full-text), agent tokens, and the audit and query logs.
Package testdb gives the tests a scratch database with the pgvector extension and the migrations applied — the way the binary applies them at start.
Package testdb gives the tests a scratch database with the pgvector extension and the migrations applied — the way the binary applies them at start.

Jump to

Keyboard shortcuts

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