Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
pigo
command
This file implements the /btw command (对标 Claude Code's /btw and the pi agent extension @narumitw/pi-btw): a throwaway "side thread" for asking the model a quick side question that must NOT pollute the main conversation.
|
This file implements the /btw command (对标 Claude Code's /btw and the pi agent extension @narumitw/pi-btw): a throwaway "side thread" for asking the model a quick side question that must NOT pollute the main conversation. |
|
internal
|
|
|
agentcore
Package agentcore defines the core "leaf" data types and control flow for the pigo agent harness, a Go reimplementation of the pi agent loop.
|
Package agentcore defines the core "leaf" data types and control flow for the pigo agent harness, a Go reimplementation of the pi agent loop. |
|
agenttool
This file implements the bash tool (US-018): run a shell command, streaming stdout/stderr back as tool_execution_update partials, honoring a timeout and context cancellation (which kills the child process group).
|
This file implements the bash tool (US-018): run a shell command, streaming stdout/stderr back as tool_execution_update partials, honoring a timeout and context cancellation (which kills the child process group). |
|
builtinskills
This file holds the first-run bootstrap: on the first launch (per pigo home), the built-in skill collections in Manifest are copied into the user's skills directory so they load as /skill-name commands with no manual install.
|
This file holds the first-run bootstrap: on the first launch (per pigo home), the built-in skill collections in Manifest are copied into the user's skills directory so they load as /skill-name commands with no manual install. |
|
clipboard
Package clipboard writes text to the system clipboard by shelling out to the platform's clipboard utility (US-009, #125).
|
Package clipboard writes text to the system clipboard by shelling out to the platform's clipboard utility (US-009, #125). |
|
compaction
This file (US-003) ties the compaction pieces together: given a message list and settings, it finds the cut point, extracts file operations from the summarized range, generates the structured summary, and returns a CompactionResult ready to be persisted as a session compaction entry and used to rebuild the agent context.
|
This file (US-003) ties the compaction pieces together: given a message list and settings, it finds the cut point, extracts file operations from the summarized range, generates the structured summary, and returns a CompactionResult ready to be persisted as a session compaction entry and used to rebuild the agent context. |
|
jsonrpc
Package jsonrpc implements a minimal JSON-RPC 2.0 client over a subprocess's stdio (US-014/#116).
|
Package jsonrpc implements a minimal JSON-RPC 2.0 client over a subprocess's stdio (US-014/#116). |
|
pihost
Package pihost embeds the pi-extension host program (pihost.mjs) into the pigo binary.
|
Package pihost embeds the pi-extension host program (pihost.mjs) into the pigo binary. |
|
pkgmgr
This file classifies a fetched pi package into its type(s) — extension, skill, prompt, or theme (#157).
|
This file classifies a fetched pi package into its type(s) — extension, skill, prompt, or theme (#157). |
|
plugin
This file bridges the agent's event stream to subscribed plugins (US-017, #133).
|
This file bridges the agent's event stream to subscribed plugins (US-017, #133). |
|
provider
This file implements the Anthropic Messages API streaming decoder (US-008).
|
This file implements the Anthropic Messages API streaming decoder (US-008). |
|
runtime
This file implements the layered configuration system (US-023, #42), the pigo port of pi/zero's config resolution.
|
This file implements the layered configuration system (US-023, #42), the pigo port of pi/zero's config resolution. |
|
session
This file implements session export/import (US-008, #124): a session can be exported to a self-contained JSONL or HTML file, and a JSONL export can be imported back as a fresh, resumable session.
|
This file implements session export/import (US-008, #124): a session can be exported to a self-contained JSONL or HTML file, and a JSONL export can be imported back as a fresh, resumable session. |
|
trust
Package trust persists per-directory trust decisions so pigo can avoid running side-effect tools (bash/write/edit) in directories the user has not trusted (US-018, #134).
|
Package trust persists per-directory trust decisions so pigo can avoid running side-effect tools (bash/write/edit) in directories the user has not trusted (US-018, #134). |
Click to show internal directories.
Click to hide internal directories.
