Directories
¶
| Path | Synopsis |
|---|---|
|
Package anthropic provides a direct-HTTP adapter for the Anthropic Messages API (POST {base}/v1/messages).
|
Package anthropic provides a direct-HTTP adapter for the Anthropic Messages API (POST {base}/v1/messages). |
|
Package avutil isolates audio/video media handling behind a small surface so the rest of the codebase does not depend on the ffmpeg/ffprobe binaries directly.
|
Package avutil isolates audio/video media handling behind a small surface so the rest of the codebase does not depend on the ffmpeg/ffprobe binaries directly. |
|
Package cohere provides a minimal direct-HTTP adapter for the Cohere v2 API: Rerank (POST /v2/rerank), Embed (POST /v2/embed), and Chat (POST /v2/chat).
|
Package cohere provides a minimal direct-HTTP adapter for the Cohere v2 API: Rerank (POST /v2/rerank), Embed (POST /v2/embed), and Chat (POST /v2/chat). |
|
Package colbertrerank is a pure-Go client for a self-hosted late-interaction / multi-vector (ColBERT-style) reranking endpoint (dir2mcp#337).
|
Package colbertrerank is a pure-Go client for a self-hosted late-interaction / multi-vector (ColBERT-style) reranking endpoint (dir2mcp#337). |
|
Package corpusfs abstracts corpus discovery and media reads behind a small interface so callers (ingest scanning, multimodal embedding) work the same against a local filesystem (an NFS mount is just a local path) or a remote object store such as S3, without knowing which.
|
Package corpusfs abstracts corpus discovery and media reads behind a small interface so callers (ingest scanning, multimodal embedding) work the same against a local filesystem (an NFS mount is just a local path) or a remote object store such as S3, without knowing which. |
|
Package embedqueue implements the optional distributed-embedding job queue (SPEC §8.7): a coordinator enqueues embedding jobs for pending chunks and one or more stateless embed-workers lease those jobs, read the referenced corpus bytes directly via CorpusFS (§7.10), embed via the configured provider, and write the resulting vectors + chunk status back to a shared store.
|
Package embedqueue implements the optional distributed-embedding job queue (SPEC §8.7): a coordinator enqueues embedding jobs for pending chunks and one or more stateless embed-workers lease those jobs, read the referenced corpus bytes directly via CorpusFS (§7.10), embed via the configured provider, and write the resulting vectors + chunk status back to a shared store. |
|
Package gemini provides a direct-HTTP adapter for Google Gemini.
|
Package gemini provides a direct-HTTP adapter for Google Gemini. |
|
Package identity derives a stable, unique server name for a dir2mcp instance from the absolute path of the directory it indexes.
|
Package identity derives a stable, unique server name for a dir2mcp instance from the absolute path of the directory it indexes. |
|
diskindex
Package diskindex implements the Tier-B on-disk vector backend (issue #246).
|
Package diskindex implements the Tier-B on-disk vector backend (issue #246). |
|
pgvectorindex
Package pgvectorindex implements the pluggable model.Index contract (issue #269) on top of PostgreSQL + the pgvector extension.
|
Package pgvectorindex implements the pluggable model.Index contract (issue #269) on top of PostgreSQL + the pgvector extension. |
|
qdrantindex
Package qdrantindex implements the pluggable model.Index (issue #247) contract on top of a Qdrant collection (issue #268, epic #250).
|
Package qdrantindex implements the pluggable model.Index (issue #247) contract on top of a Qdrant collection (issue #268, epic #250). |
|
docling
Package docling parses the structured DoclingDocument JSON emitted by `docling --to json` and linearizes it into an ordered sequence of blocks that preserve reading order, the section-heading hierarchy, and per-element provenance (page + bounding box).
|
Package docling parses the structured DoclingDocument JSON emitted by `docling --to json` and linearizes it into an ordered sequence of blocks that preserve reading order, the section-heading hierarchy, and per-element provenance (page + bounding box). |
|
Package latechunk implements the opt-in "late chunking" embedding path (issue #332, Jina's technique).
|
Package latechunk implements the opt-in "late chunking" embedding path (issue #332, Jina's technique). |
|
Package omniembed is a pure-Go client for a self-hosted, unified multimodal embedding endpoint — the off-API multimodal path (dir2mcp#334), extending the self-hosted-endpoint capability (#240) and the GPU-VPS / dual-machine epic (#250) to multimodal embedding.
|
Package omniembed is a pure-Go client for a self-hosted, unified multimodal embedding endpoint — the off-API multimodal path (dir2mcp#334), extending the self-hosted-endpoint capability (#240) and the GPU-VPS / dual-machine epic (#250) to multimodal embedding. |
|
Package openai provides a direct-HTTP adapter for the OpenAI-compatible API surface (POST {base}/embeddings, POST {base}/chat/completions).
|
Package openai provides a direct-HTTP adapter for the OpenAI-compatible API surface (POST {base}/embeddings, POST {base}/chat/completions). |
|
Package pdfutil provides minimal, dependency-isolated PDF helpers for multimodal embedding (SPEC 8.1.7): counting pages and extracting a single page as its own PDF, so each page can be embedded directly with a precise page citation.
|
Package pdfutil provides minimal, dependency-isolated PDF helpers for multimodal embedding (SPEC 8.1.7): counting pages and extracting a single page as its own PDF, so each page can be embedded directly with a precise page citation. |
|
Package provider implements the spec 0.7.0 provider model: the normative capability matrix (SPEC 8.1.2), per-capability provider selection (8.1.3), and the embeddings corpus-lifetime identity (8.1.4).
|
Package provider implements the spec 0.7.0 provider model: the normative capability matrix (SPEC 8.1.2), per-capability provider selection (8.1.3), and the embeddings corpus-lifetime identity (8.1.4). |
|
Package providerfactory constructs concrete model.* adapters from a resolved provider.Profile (SPEC 0.7.0 / Design 0001).
|
Package providerfactory constructs concrete model.* adapters from a resolved provider.Profile (SPEC 0.7.0 / Design 0001). |
|
Package quality provides reusable, content-only gates that detect degenerate or hallucinated STT/OCR/translation output before it is chunked and embedded.
|
Package quality provides reusable, content-only gates that detect degenerate or hallucinated STT/OCR/translation output before it is chunked and embedded. |
|
Package scancache provides an optional, sqlite-backed directory-discovery cache for the corpusfs LocalFS walker (issue #267 item 5).
|
Package scancache provides an optional, sqlite-backed directory-discovery cache for the corpusfs LocalFS walker (issue #267 item 5). |
|
Package secrets provides an OS keychain backend for provider credentials (SPEC §16.1.1: env → keychain → file → session).
|
Package secrets provides an OS keychain backend for provider credentials (SPEC §16.1.1: env → keychain → file → session). |
|
Package setupwizard holds the provider-credential and corpus-profile logic behind `dir2mcp config init` and the `dir2mcp up` first-run flow (SPEC §§ config init / charmbracelet/huh).
|
Package setupwizard holds the provider-credential and corpus-profile logic behind `dir2mcp config init` and the `dir2mcp up` first-run flow (SPEC §§ config init / charmbracelet/huh). |
|
Package subtitle renders WebVTT and SubRip (SRT) subtitle documents from a document's stored transcript chunks.
|
Package subtitle renders WebVTT and SubRip (SRT) subtitle documents from a document's stored transcript chunks. |
|
Package usage provides per-query cost and latency observability primitives for dir2mcp (issue #327).
|
Package usage provides per-query cost and latency observability primitives for dir2mcp (issue #327). |
|
Package whisperapi is a pure-Go client for a self-hosted, OpenAI-compatible speech-to-text endpoint — the GPU-VPS path (dir2mcp#240, epic #250).
|
Package whisperapi is a pure-Go client for a self-hosted, OpenAI-compatible speech-to-text endpoint — the GPU-VPS path (dir2mcp#240, epic #250). |
Click to show internal directories.
Click to hide internal directories.