Directories
¶
| Path | Synopsis |
|---|---|
|
Package agent defines the contract between pocketagent and a coding agent backend.
|
Package agent defines the contract between pocketagent and a coding agent backend. |
|
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). |
|
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. |
|
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. |
|
Package argv expands {placeholder} templates in command lines.
|
Package argv expands {placeholder} templates in command lines. |
|
Package bridge serves tools to agent processes over MCP on localhost.
|
Package bridge serves tools to agent processes over MCP on localhost. |
|
Package config loads pocketagent's YAML config file.
|
Package config loads pocketagent's YAML config file. |
|
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. |
|
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. |
|
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. |
|
Package registry maps config type names to implementations.
|
Package registry maps config type names to implementations. |
|
Package store persists per-conversation state as a JSON file.
|
Package store persists per-conversation state as a JSON file. |
|
Package stt turns voice messages into text.
|
Package stt turns voice messages into text. |
|
Package term cleans terminal output for display in chat.
|
Package term cleans terminal output for display in chat. |
|
Package tts turns replies into voice messages.
|
Package tts turns replies into voice messages. |
Click to show internal directories.
Click to hide internal directories.