Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
pocketagent
command
Command pocketagent drives coding agents from a chat app.
|
Command pocketagent drives coding agents from a chat app. |
|
internal
|
|
|
agent
Package agent defines the contract between pocketagent and a coding agent backend.
|
Package agent defines the contract between pocketagent and a coding agent backend. |
|
agent/acp
Package acp drives any agent that speaks the Agent Client Protocol (https://agentclientprotocol.com).
|
Package acp drives any agent that speaks the Agent Client Protocol (https://agentclientprotocol.com). |
|
agent/claudecode
Package claudecode drives the Claude Code CLI headless, using its stream-json input and output.
|
Package claudecode drives the Claude Code CLI headless, using its stream-json input and output. |
|
agent/command
Package command wraps any CLI that takes a prompt and prints a reply, configured as an argv template.
|
Package command wraps any CLI that takes a prompt and prints a reply, configured as an argv template. |
|
argv
Package argv expands {placeholder} templates in command lines.
|
Package argv expands {placeholder} templates in command lines. |
|
bridge
Package bridge serves tools to agent processes over MCP on localhost.
|
Package bridge serves tools to agent processes over MCP on localhost. |
|
config
Package config loads pocketagent's YAML config file.
|
Package config loads pocketagent's YAML config file. |
|
core
Package core runs conversations: it chooses the agent, queues prompts, applies the permission policy, tracks cost and takes checkpoints.
|
Package core runs conversations: it chooses the agent, queues prompts, applies the permission policy, tracks cost and takes checkpoints. |
|
discover
Package discover suggests folders the user probably wants as projects: folders where coding agents have run before, and the folders inside the usual code directories.
|
Package discover suggests folders the user probably wants as projects: folders where coding agents have run before, and the folders inside the usual code directories. |
|
frontend/telegram
Package telegram is the Telegram frontend: it turns updates into core calls and implements core.UI.
|
Package telegram is the Telegram frontend: it turns updates into core calls and implements core.UI. |
|
gitcp
Package gitcp takes git snapshots of a working tree before each agent turn, so changes can be shown (/diff) and rolled back (/undo) without touching the user's branch, index or stash.
|
Package gitcp takes git snapshots of a working tree before each agent turn, so changes can be shown (/diff) and rolled back (/undo) without touching the user's branch, index or stash. |
|
registry
Package registry maps config type names to implementations.
|
Package registry maps config type names to implementations. |
|
store
Package store persists per-conversation state as a JSON file.
|
Package store persists per-conversation state as a JSON file. |
|
stt
Package stt turns voice messages into text.
|
Package stt turns voice messages into text. |
|
term
Package term cleans terminal output for display in chat.
|
Package term cleans terminal output for display in chat. |
|
tts
Package tts turns replies into voice messages.
|
Package tts turns replies into voice messages. |
Click to show internal directories.
Click to hide internal directories.