internal/

directory
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT

Directories

Path Synopsis
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.
Package assets embeds static resources shipped with conduit.
Package assets embeds static resources shipped with conduit.
Package attach — ANSI to PNG conversion.
Package attach — ANSI to PNG conversion.
Package buddy implements the companion (tamagotchi) system.
Package buddy implements the companion (tamagotchi) system.
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.
Package commands implements the slash-command registry for conduit.
Package commands implements the slash-command registry for conduit.
Package compact implements conversation history summarization.
Package compact implements conversation history summarization.
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.
Package hooks implements PreToolUse, PostToolUse, SessionStart, and Stop hook runners.
Package hooks implements PreToolUse, PostToolUse, SessionStart, and Stop hook runners.
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.
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 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.
Package memdir manages the auto-memory directory and MEMORY.md file.
Package memdir manages the auto-memory directory and MEMORY.md file.
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.
Package migrations runs one-shot settings upgrades on startup.
Package migrations runs one-shot settings upgrades on startup.
Package model centralises model selection for the agent loop.
Package model centralises model selection for the agent loop.
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.
Package permissions implements Claude Code's permission gate.
Package permissions implements Claude Code's permission gate.
Package plugins discovers and loads conduit plugins.
Package plugins discovers and loads conduit plugins.
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.
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.
Package recorder implements asciinema v2 terminal recording.
Package recorder implements asciinema v2 terminal recording.
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).
track
Package track records RTK filter statistics in a SQLite database.
Package track records RTK filter statistics in a SQLite database.
Package secure abstracts platform-specific secret storage.
Package secure abstracts platform-specific secret storage.
Package session implements conversation persistence.
Package session implements conversation persistence.
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.
Package settings loads and merges Claude Code settings files.
Package settings loads and merges Claude Code settings files.
Package skills provides built-in skills that ship with conduit.
Package skills provides built-in skills that ship with conduit.
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.
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.
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.
askusertool
Package askusertool implements the AskUserQuestion tool.
Package askusertool implements the AskUserQuestion tool.
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.
configtool
Package configtool implements the ConfigTool (get/set conduit settings).
Package configtool implements the ConfigTool (get/set conduit settings).
fileedittool
Package fileedittool implements the Edit tool — targeted string replacement in files.
Package fileedittool implements the Edit tool — targeted string replacement in files.
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.
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.
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.
greptool
Package greptool implements the Grep tool — searches file contents using ripgrep.
Package greptool implements the Grep tool — searches file contents using ripgrep.
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.
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.
mcpresourcetool
Package mcpresourcetool implements ListMcpResources and ReadMcpResource tools.
Package mcpresourcetool implements ListMcpResources and ReadMcpResource 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.
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.
planmodetool
Package planmodetool implements the EnterPlanMode and ExitPlanMode tools.
Package planmodetool implements the EnterPlanMode and ExitPlanMode tools.
repltool
Package repltool implements the REPL tool — an interactive code execution environment.
Package repltool implements the REPL tool — an interactive code execution environment.
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).
sleeptool
Package sleeptool implements the Sleep tool — waits for a specified duration.
Package sleeptool implements the Sleep tool — waits for a specified duration.
syntheticoutputtool
Package syntheticoutputtool implements the StructuredOutput tool.
Package syntheticoutputtool implements the StructuredOutput tool.
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.
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.
toolsearchtool
Package toolsearchtool implements the ToolSearch tool.
Package toolsearchtool implements the ToolSearch tool.
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.
websearchtool
Package websearchtool implements the WebSearch tool.
Package websearchtool implements the WebSearch tool.
worktreeTool
Package worktreeTool implements EnterWorktree and ExitWorktree tools.
Package worktreeTool implements EnterWorktree and ExitWorktree tools.
Package tui implements the Bubble Tea TUI for conduit.
Package tui implements the Bubble Tea TUI for conduit.
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.

Jump to

Keyboard shortcuts

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