Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
collector
command
|
|
|
eval
command
Command eval runs the nightly evaluation pipeline.
|
Command eval runs the nightly evaluation pipeline. |
|
mcp
command
Package main implements the MCP (Model Context Protocol) server for second-brain.
|
Package main implements the MCP (Model Context Protocol) server for second-brain. |
|
recordingbackfill
command
Command recordingbackfill migrates call-recording audio files (and their JSON sidecars) that were ingested before v0.21.2 (#164) and therefore still carry a raw phone number in plaintext:
|
Command recordingbackfill migrates call-recording audio files (and their JSON sidecars) that were ingested before v0.21.2 (#164) and therefore still carry a raw phone number in plaintext: |
|
scout
command
Command scout is the second-brain knowledge scout.
|
Command scout is the second-brain knowledge scout. |
|
server
command
|
|
|
internal
|
|
|
api
Package api wires together the HTTP router, middleware, and handlers.
|
Package api wires together the HTTP router, middleware, and handlers. |
|
audiovalidate
Package audiovalidate provides lightweight audio-file integrity checks that run before expensive transcription or disk-write operations.
|
Package audiovalidate provides lightweight audio-file integrity checks that run before expensive transcription or disk-write operations. |
|
auth
Package auth provides shared token sources for HTTP-based API clients (embeddings, LLM chat completions, etc.) that authenticate with CliProxyAPI-issued OAuth tokens or static API keys.
|
Package auth provides shared token sources for HTTP-based API clients (embeddings, LLM chat completions, etc.) that authenticate with CliProxyAPI-issued OAuth tokens or static API keys. |
|
chunker
Package chunker — adaptive strategy selection.
|
Package chunker — adaptive strategy selection. |
|
collector
Package collector defines the Collector interface and common types used by all source-specific collectors.
|
Package collector defines the Collector interface and common types used by all source-specific collectors. |
|
collector/extractor
Package extractor provides content extraction for binary and structured file formats (HTML, PDF, Office, etc.) that cannot be read as plain text.
|
Package extractor provides content extraction for binary and structured file formats (HTML, PDF, Office, etc.) that cannot be read as plain text. |
|
collector/smsmap
Package smsmap provides pure functions that map raw SMS and call-log fields to model.Document.
|
Package smsmap provides pure functions that map raw SMS and call-log fields to model.Document. |
|
config
Package config — embedding_check.go
|
Package config — embedding_check.go |
|
durable
Package durable provides reusable helpers for building durable, retry-safe workflows.
|
Package durable provides reusable helpers for building durable, retry-safe workflows. |
|
llm
Package llm provides an OpenAI-compatible chat completion client.
|
Package llm provides an OpenAI-compatible chat completion client. |
|
recordingbackfill
Package recordingbackfill implements the one-time backfill described in issue #166: migrate call-recording audio files and their JSON sidecars that were ingested BEFORE v0.21.2 (#164) and therefore still carry the raw phone number in plaintext — either in the on-disk filename ({rawNumber}_{timestamp}.ext) or in the sidecar's "number" field (instead of the current number_hash-only scheme).
|
Package recordingbackfill implements the one-time backfill described in issue #166: migrate call-recording audio files and their JSON sidecars that were ingested BEFORE v0.21.2 (#164) and therefore still carry the raw phone number in plaintext — either in the on-disk filename ({rawNumber}_{timestamp}.ext) or in the sidecar's "number" field (instead of the current number_hash-only scheme). |
|
scheduler
Package scheduler periodically triggers collectors and persists the resulting documents.
|
Package scheduler periodically triggers collectors and persists the resulting documents. |
|
search
Package search provides the search service and embedding engine abstractions.
|
Package search provides the search service and embedding engine abstractions. |
|
setup
Package setup implements an interactive setup wizard for the collector binary.
|
Package setup implements an interactive setup wizard for the collector binary. |
|
store
Package store provides PostgreSQL-backed persistence for documents and chunks.
|
Package store provides PostgreSQL-backed persistence for documents and chunks. |
|
worker
Package worker provides background goroutine workers for the second-brain service.
|
Package worker provides background goroutine workers for the second-brain service. |
Click to show internal directories.
Click to hide internal directories.

