Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
pocketagent
command
Command pocketagent drives coding agents (Claude Code, Codex, Gemini, Kiro, Aider and anything else) from Telegram.
|
Command pocketagent drives coding agents (Claude Code, Codex, Gemini, Kiro, Aider and anything else) from Telegram. |
|
internal
|
|
|
agent
Package agent defines the interface every coding agent backend implements.
|
Package agent defines the interface every coding agent backend implements. |
|
agent/acp
Package acp drives any agent that speaks the Agent Client Protocol (Gemini CLI, Claude Code and Codex via adapters, Kiro, Goose, Copilot, OpenCode, ...).
|
Package acp drives any agent that speaks the Agent Client Protocol (Gemini CLI, Claude Code and Codex via adapters, Kiro, Goose, Copilot, OpenCode, ...). |
|
agent/claude
Package claude runs the Claude Code CLI headless with stream-json I/O. Approvals arrive through the pocketagent MCP bridge, which Claude Code calls as its --permission-prompt-tool.
|
Package claude runs the Claude Code CLI headless with stream-json I/O. Approvals arrive through the pocketagent MCP bridge, which Claude Code calls as its --permission-prompt-tool. |
|
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. |
|
bridge
Package bridge runs a localhost MCP server that agent processes connect to.
|
Package bridge runs a localhost MCP server that agent processes connect to. |
|
config
Package config loads pocketagent's YAML config file.
|
Package config loads pocketagent's YAML config file. |
|
core
Package core runs conversations: it picks the agent, queues prompts, applies the permission policy, tracks cost and takes git checkpoints.
|
Package core runs conversations: it picks the agent, queues prompts, applies the permission policy, tracks cost and takes git checkpoints. |
|
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. |
|
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 notes into text.
|
Package stt turns voice notes into text. |
|
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. |
|
tts
Package tts turns replies into voice notes.
|
Package tts turns replies into voice notes. |
Click to show internal directories.
Click to hide internal directories.