{"modulePath":"github.com/svetlovtech/capsa","version":"v0.1.0","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/svetlovtech/capsa","name":"capsa","synopsis":"Package capsa wires the server together: its configuration, the HTTP routes (the MCP endpoint, the admin API, health) and the indexing worker.","isRedistributable":true},{"path":"github.com/svetlovtech/capsa/cmd/capsa","name":"main","synopsis":"Command capsa is an encrypted memory and knowledge base for AI agents: OKF v0.3 bundles in PostgreSQL + pgvector, semantic search over MCP (/mcp), an admin API (/api/admin), bearer tokens with scopes, audit and query logs.","isRedistributable":true},{"path":"github.com/svetlovtech/capsa/internal/adminui","name":"adminui","synopsis":"Package adminui serves the self-hosted admin console: one page with its script, stylesheet and icon, embedded in the binary.","isRedistributable":true},{"path":"github.com/svetlovtech/capsa/internal/api","name":"api","synopsis":"Package api holds the admin HTTP handlers under /api/admin: the bundles, concepts, tokens, statistics, the query log and the audit log.","isRedistributable":true},{"path":"github.com/svetlovtech/capsa/internal/bearer","name":"bearer","synopsis":"Package bearer authenticates HTTP requests with the service's bearer tokens.","isRedistributable":true},{"path":"github.com/svetlovtech/capsa/internal/database","name":"database","synopsis":"Package database opens the PostgreSQL pool and applies the embedded migrations.","isRedistributable":true},{"path":"github.com/svetlovtech/capsa/internal/embed","name":"embed","synopsis":"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.","isRedistributable":true},{"path":"github.com/svetlovtech/capsa/internal/httpx","name":"httpx","synopsis":"Package httpx holds the HTTP helpers the handlers share: the JSON and error writers and the query parsers.","isRedistributable":true},{"path":"github.com/svetlovtech/capsa/internal/mcp","name":"mcp","synopsis":"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.","isRedistributable":true},{"path":"github.com/svetlovtech/capsa/internal/rerank","name":"rerank","synopsis":"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.","isRedistributable":true},{"path":"github.com/svetlovtech/capsa/internal/service","name":"service","synopsis":"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.","isRedistributable":true},{"path":"github.com/svetlovtech/capsa/internal/store","name":"store","synopsis":"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.","isRedistributable":true},{"path":"github.com/svetlovtech/capsa/internal/testdb","name":"testdb","synopsis":"Package testdb gives the tests a scratch database with the pgvector extension and the migrations applied — the way the binary applies them at start.","isRedistributable":true},{"path":"github.com/svetlovtech/capsa/migrations","name":"migrations","synopsis":"Package migrations embeds the SQL migrations, so the binary carries its own schema wherever it runs: a release, a wheel, a container.","isRedistributable":true},{"path":"github.com/svetlovtech/capsa/okf","name":"okf","synopsis":"Package okf is a consumer of Open Knowledge Format (OKF) v0.3 bundles.","isRedistributable":true}],"total":15}}
