internal/

directory
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2026 License: Apache-2.0

Directories

Path Synopsis
Package daemon runs continuous ingestion: an initial catch-up pass over each source's whole tree, then live incremental re-ingestion as session files change, watched via fsnotify.
Package daemon runs continuous ingestion: an initial catch-up pass over each source's whole tree, then live incremental re-ingestion as session files change, watched via fsnotify.
Package embed generates and stores chunk embeddings for semantic search.
Package embed generates and stores chunk embeddings for semantic search.
Package ingest is the agent-agnostic ingest driver: byte-offset bookkeeping per source file, session upsert, message insertion, and chunking.
Package ingest is the agent-agnostic ingest driver: byte-offset bookkeeping per source file, session upsert, message insertion, and chunking.
claudecode
Package claudecode adapts Claude Code's session JSONL format (one JSON object per line under ~/.claude/projects/<sanitized-cwd>/<session-id>.jsonl) into the shapes internal/ingest knows how to store.
Package claudecode adapts Claude Code's session JSONL format (one JSON object per line under ~/.claude/projects/<sanitized-cwd>/<session-id>.jsonl) into the shapes internal/ingest knows how to store.
codex
Package codex adapts Codex CLI's rollout JSONL format (one JSON object per line under ~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl) into the shapes internal/ingest knows how to store.
Package codex adapts Codex CLI's rollout JSONL format (one JSON object per line under ~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl) into the shapes internal/ingest knows how to store.
Package mcpserver exposes ctx's retrieval and note-taking tools over MCP, so an agent can pull its own (or another agent's) past context mid-session instead of re-deriving it.
Package mcpserver exposes ctx's retrieval and note-taking tools over MCP, so an agent can pull its own (or another agent's) past context mid-session instead of re-deriving it.
Package redact scrubs secrets out of text before it's written to the database.
Package redact scrubs secrets out of text before it's written to the database.
Package search runs the retrieval queries defined in queries/retrieval.sql against the store.
Package search runs the retrieval queries defined in queries/retrieval.sql against the store.
Package store manages the ctx SQLite database: opening it with the connection pragmas every ctx component depends on, and applying the embedded schema migrations.
Package store manages the ctx SQLite database: opening it with the connection pragmas every ctx component depends on, and applying the embedded schema migrations.
Package vecext makes SQLite's vec0 virtual table module (from github.com/asg017/sqlite-vec) available to mattn/go-sqlite3 connections.
Package vecext makes SQLite's vec0 virtual table module (from github.com/asg017/sqlite-vec) available to mattn/go-sqlite3 connections.

Jump to

Keyboard shortcuts

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