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 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. |
|
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 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 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). |
Click to show internal directories.
Click to hide internal directories.