internal/

directory
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: MIT

Directories

Path Synopsis
Package agent defines the interface every coding agent backend implements.
Package agent defines the interface every coding agent backend implements.
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, ...).
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.
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 bridge runs a localhost MCP server that agent processes connect to.
Package bridge runs a localhost MCP server that agent processes connect to.
Package config loads pocketagent's YAML config file.
Package config loads pocketagent's YAML config file.
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.
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 store persists per-conversation state as a JSON file.
Package store persists per-conversation state as a JSON file.
Package stt turns voice notes into text.
Package stt turns voice notes into text.
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 tts turns replies into voice notes.
Package tts turns replies into voice notes.

Jump to

Keyboard shortcuts

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