Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
conduit
command
Package main is the conduit entrypoint.
|
Package main is the conduit entrypoint. |
|
internal
|
|
|
agent
Package agent implements the M2 query loop — the streaming agentic turn cycle that drives tool dispatch and multi-turn conversation.
|
Package agent implements the M2 query loop — the streaming agentic turn cycle that drives tool dispatch and multi-turn conversation. |
|
assets
Package assets embeds static resources shipped with conduit.
|
Package assets embeds static resources shipped with conduit. |
|
attach
Package attach — ANSI to PNG conversion.
|
Package attach — ANSI to PNG conversion. |
|
buddy
Package buddy implements the companion (tamagotchi) system.
|
Package buddy implements the companion (tamagotchi) system. |
|
claudemd
Package claudemd loads CLAUDE.md instruction files from the project directory hierarchy and injects them into the agent system prompt.
|
Package claudemd loads CLAUDE.md instruction files from the project directory hierarchy and injects them into the agent system prompt. |
|
commands
Package commands implements the slash-command registry for conduit.
|
Package commands implements the slash-command registry for conduit. |
|
compact
Package compact implements conversation history summarization.
|
Package compact implements conversation history summarization. |
|
coordinator
Package coordinator implements coordinator mode — the orchestrator persona that manages sub-agent workers.
|
Package coordinator implements coordinator mode — the orchestrator persona that manages sub-agent workers. |
|
hooks
Package hooks implements PreToolUse, PostToolUse, SessionStart, and Stop hook runners.
|
Package hooks implements PreToolUse, PostToolUse, SessionStart, and Stop hook runners. |
|
keybindings
Package keybindings ports the user-customizable keybinding layer from src/keybindings/ in CC.
|
Package keybindings ports the user-customizable keybinding layer from src/keybindings/ in CC. |
|
lsp
Package lsp provides a JSON-RPC 2.0 client for Language Server Protocol servers (gopls, typescript-language-server, rust-analyzer, etc.).
|
Package lsp provides a JSON-RPC 2.0 client for Language Server Protocol servers (gopls, typescript-language-server, rust-analyzer, etc.). |
|
mcp
MCP OAuth 2.0 + PKCE flow for HTTP/SSE servers that gate tool calls behind a bearer token.
|
MCP OAuth 2.0 + PKCE flow for HTTP/SSE servers that gate tool calls behind a bearer token. |
|
memdir
Package memdir manages the auto-memory directory and MEMORY.md file.
|
Package memdir manages the auto-memory directory and MEMORY.md file. |
|
microcompact
Package microcompact implements time-based micro-compaction: when the gap since the last assistant message exceeds a threshold (cache TTL), replace older tool_result content with a placeholder before sending the next request.
|
Package microcompact implements time-based micro-compaction: when the gap since the last assistant message exceeds a threshold (cache TTL), replace older tool_result content with a placeholder before sending the next request. |
|
migrations
Package migrations runs one-shot settings upgrades on startup.
|
Package migrations runs one-shot settings upgrades on startup. |
|
model
Package model centralises model selection for the agent loop.
|
Package model centralises model selection for the agent loop. |
|
outputstyles
Package outputstyles loads user/project output style definitions from markdown files in .claude/output-styles/ directories.
|
Package outputstyles loads user/project output style definitions from markdown files in .claude/output-styles/ directories. |
|
permissions
Package permissions implements Claude Code's permission gate.
|
Package permissions implements Claude Code's permission gate. |
|
plugins
Package plugins discovers and loads conduit plugins.
|
Package plugins discovers and loads conduit plugins. |
|
profile
Package profile fetches the authenticated user's account and subscription info from the Anthropic oauth profile endpoint.
|
Package profile fetches the authenticated user's account and subscription info from the Anthropic oauth profile endpoint. |
|
ratelimit
Package ratelimit parses Anthropic rate-limit response headers and surfaces warnings when quota is running low.
|
Package ratelimit parses Anthropic rate-limit response headers and surfaces warnings when quota is running low. |
|
recorder
Package recorder implements asciinema v2 terminal recording.
|
Package recorder implements asciinema v2 terminal recording. |
|
ripgrep
Package ripgrep is a shared wrapper around the rg binary.
|
Package ripgrep is a shared wrapper around the rg binary. |
|
rtk
Package rtk is an in-process port of RTK (Rust Token Killer).
|
Package rtk is an in-process port of RTK (Rust Token Killer). |
|
rtk/track
Package track records RTK filter statistics in a SQLite database.
|
Package track records RTK filter statistics in a SQLite database. |
|
secure
Package secure abstracts platform-specific secret storage.
|
Package secure abstracts platform-specific secret storage. |
|
session
Package session implements conversation persistence.
|
Package session implements conversation persistence. |
|
sessionmem
Package sessionmem implements per-session memory: a markdown file at <projectDir>/<sessionID>/session-memory/summary.md that a sub-agent updates periodically with notes about the current conversation.
|
Package sessionmem implements per-session memory: a markdown file at <projectDir>/<sessionID>/session-memory/summary.md that a sub-agent updates periodically with notes about the current conversation. |
|
settings
Package settings loads and merges Claude Code settings files.
|
Package settings loads and merges Claude Code settings files. |
|
skills
Package skills provides built-in skills that ship with conduit.
|
Package skills provides built-in skills that ship with conduit. |
|
theme
Package theme is the single source of truth for conduit's color palette.
|
Package theme is the single source of truth for conduit's color palette. |
|
tokens
Package tokens estimates Claude token counts using cl100k_base — the same tokenizer Claude approximates for billing.
|
Package tokens estimates Claude token counts using cl100k_base — the same tokenizer Claude approximates for billing. |
|
tool
Package tool defines the interface every Claude Code tool implements.
|
Package tool defines the interface every Claude Code tool implements. |
|
tools/agenttool
Package agenttool implements the AgentTool — the agent's way to spawn a nested sub-agent with a specific prompt.
|
Package agenttool implements the AgentTool — the agent's way to spawn a nested sub-agent with a specific prompt. |
|
tools/askusertool
Package askusertool implements the AskUserQuestion tool.
|
Package askusertool implements the AskUserQuestion tool. |
|
tools/bashtool
Package bashtool implements the M2 reference port of Claude Code's Bash tool.
|
Package bashtool implements the M2 reference port of Claude Code's Bash tool. |
|
tools/configtool
Package configtool implements the ConfigTool (get/set conduit settings).
|
Package configtool implements the ConfigTool (get/set conduit settings). |
|
tools/fileedittool
Package fileedittool implements the Edit tool — targeted string replacement in files.
|
Package fileedittool implements the Edit tool — targeted string replacement in files. |
|
tools/filereadtool
Package filereadtool implements the FileRead tool — reads a file from the local filesystem and returns its contents with line numbers.
|
Package filereadtool implements the FileRead tool — reads a file from the local filesystem and returns its contents with line numbers. |
|
tools/filewritetool
Package filewritetool implements the Write tool — writes a file to the local filesystem.
|
Package filewritetool implements the Write tool — writes a file to the local filesystem. |
|
tools/globtool
Package globtool implements the Glob tool — finds files matching a glob pattern.
|
Package globtool implements the Glob tool — finds files matching a glob pattern. |
|
tools/greptool
Package greptool implements the Grep tool — searches file contents using ripgrep.
|
Package greptool implements the Grep tool — searches file contents using ripgrep. |
|
tools/lsp
Package lsp implements the LSPTool — lets Claude query a Language Server for hover info, definitions, references, and diagnostics.
|
Package lsp implements the LSPTool — lets Claude query a Language Server for hover info, definitions, references, and diagnostics. |
|
tools/mcpauthtool
Package mcpauthtool provides a per-server pseudo-tool that triggers the OAuth flow for an MCP server in the StatusNeedsAuth state.
|
Package mcpauthtool provides a per-server pseudo-tool that triggers the OAuth flow for an MCP server in the StatusNeedsAuth state. |
|
tools/mcpresourcetool
Package mcpresourcetool implements ListMcpResources and ReadMcpResource tools.
|
Package mcpresourcetool implements ListMcpResources and ReadMcpResource tools. |
|
tools/mcptool
Package mcptool provides a tool.Tool implementation that proxies calls to an MCP server tool through the conduit MCP manager.
|
Package mcptool provides a tool.Tool implementation that proxies calls to an MCP server tool through the conduit MCP manager. |
|
tools/notebookedittool
Package notebookedittool implements the NotebookEdit tool — reads and edits Jupyter notebook (.ipynb) cell source code.
|
Package notebookedittool implements the NotebookEdit tool — reads and edits Jupyter notebook (.ipynb) cell source code. |
|
tools/planmodetool
Package planmodetool implements the EnterPlanMode and ExitPlanMode tools.
|
Package planmodetool implements the EnterPlanMode and ExitPlanMode tools. |
|
tools/repltool
Package repltool implements the REPL tool — an interactive code execution environment.
|
Package repltool implements the REPL tool — an interactive code execution environment. |
|
tools/skilltool
Package skilltool implements the SkillTool — the agent's way to invoke slash-command skills (plugin commands and ~/.claude/commands/*.md files).
|
Package skilltool implements the SkillTool — the agent's way to invoke slash-command skills (plugin commands and ~/.claude/commands/*.md files). |
|
tools/sleeptool
Package sleeptool implements the Sleep tool — waits for a specified duration.
|
Package sleeptool implements the Sleep tool — waits for a specified duration. |
|
tools/syntheticoutputtool
Package syntheticoutputtool implements the StructuredOutput tool.
|
Package syntheticoutputtool implements the StructuredOutput tool. |
|
tools/tasktool
Package tasktool implements TaskCreate, TaskGet, TaskList, TaskUpdate, TaskOutput, and TaskStop tools backed by an in-process task store.
|
Package tasktool implements TaskCreate, TaskGet, TaskList, TaskUpdate, TaskOutput, and TaskStop tools backed by an in-process task store. |
|
tools/todowritetool
Package todowritetool implements the TodoWrite tool — manages the session task checklist the model uses to track multi-step work.
|
Package todowritetool implements the TodoWrite tool — manages the session task checklist the model uses to track multi-step work. |
|
tools/toolsearchtool
Package toolsearchtool implements the ToolSearch tool.
|
Package toolsearchtool implements the ToolSearch tool. |
|
tools/webfetchtool
Package webfetchtool implements the WebFetch tool — fetches a URL and returns its content as Markdown text.
|
Package webfetchtool implements the WebFetch tool — fetches a URL and returns its content as Markdown text. |
|
tools/websearchtool
Package websearchtool implements the WebSearch tool.
|
Package websearchtool implements the WebSearch tool. |
|
tools/worktreeTool
Package worktreeTool implements EnterWorktree and ExitWorktree tools.
|
Package worktreeTool implements EnterWorktree and ExitWorktree tools. |
|
tui
Package tui implements the Bubble Tea TUI for conduit.
|
Package tui implements the Bubble Tea TUI for conduit. |
|
undercover
Package undercover implements undercover mode — safety instructions for commits/PRs to public repos, preventing AI attribution leaks.
|
Package undercover implements undercover mode — safety instructions for commits/PRs to public repos, preventing AI attribution leaks. |
Click to show internal directories.
Click to hide internal directories.