Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
bulk
command
bulk — run a shell command across many items in parallel.
|
bulk — run a shell command across many items in parallel. |
|
confirm
command
|
|
|
depgraph
command
|
|
|
fossil
command
fossil — structured git history queries for LLM agents.
|
fossil — structured git history queries for LLM agents. |
|
lspq
command
lspq is a standalone CLI for querying language servers via the lsp package.
|
lspq is a standalone CLI for querying language servers via the lsp package. |
|
memory
command
memory — standalone CLI for per-project key-value memory.
|
memory — standalone CLI for per-project key-value memory. |
|
piglet
command
|
|
|
piglet-cron
command
|
|
|
pipeline
command
pipeline — standalone CLI for running YAML pipeline files.
|
pipeline — standalone CLI for running YAML pipeline files. |
|
repomap
command
repomap — standalone CLI for the repomap package.
|
repomap — standalone CLI for the repomap package. |
|
sift
command
sift — compress text output by collapsing blanks, repeats, and truncating.
|
sift — compress text output by collapsing blanks, repeats, and truncating. |
|
webfetch
command
webfetch — standalone CLI for web fetch and search.
|
webfetch — standalone CLI for web fetch and search. |
|
Package command registers piglet's built-in slash commands via the extension API.
|
Package command registers piglet's built-in slash commands via the extension API. |
|
Package core implements the agent loop, streaming, and message types.
|
Package core implements the agent loop, streaming, and message types. |
|
examples
|
|
|
extensions/git-tool
Package gittool is an example piglet extension that adds a git_status tool.
|
Package gittool is an example piglet extension that adds a git_status tool. |
|
extensions/quicknotes
Package quicknotes is an example piglet extension that adds a /note command.
|
Package quicknotes is an example piglet extension that adds a /note command. |
|
Package ext provides the extension registration surface for piglet.
|
Package ext provides the extension registration surface for piglet. |
|
external
Package external implements the JSON-RPC stdio protocol for external piglet extensions.
|
Package external implements the JSON-RPC stdio protocol for external piglet extensions. |
|
extensions
|
|
|
admin/cmd
command
Admin extension.
|
Admin extension. |
|
autotitle
Package autotitle provides automatic session title generation for piglet.
|
Package autotitle provides automatic session title generation for piglet. |
|
autotitle/cmd
command
Autotitle extension binary.
|
Autotitle extension binary. |
|
background/cmd
command
Background extension.
|
Background extension. |
|
behavior
Package behavior loads behavioral guidelines from ~/.config/piglet/behavior.md and injects them as the earliest system prompt section.
|
Package behavior loads behavioral guidelines from ~/.config/piglet/behavior.md and injects them as the earliest system prompt section. |
|
behavior/cmd
command
Behavior extension.
|
Behavior extension. |
|
bulk/cmd
command
Bulk extension binary.
|
Bulk extension binary. |
|
cache
Package cache provides a file-backed TTL cache for piglet extensions.
|
Package cache provides a file-backed TTL cache for piglet extensions. |
|
cache/cmd
command
Cache extension binary.
|
Cache extension binary. |
|
changelog/cmd
command
|
|
|
clipboard/cmd
command
Clipboard extension binary.
|
Clipboard extension binary. |
|
coordinator/cmd
command
Coordinator extension binary.
|
Coordinator extension binary. |
|
cron/cmd
command
Cron scheduling extension for piglet.
|
Cron scheduling extension for piglet. |
|
distill
Package distill extracts reusable skills from completed sessions.
|
Package distill extracts reusable skills from completed sessions. |
|
export/cmd
command
Export extension.
|
Export extension. |
|
extensions-list/cmd
command
Extensions-list extension.
|
Extensions-list extension. |
|
gitcontext
Package gitcontext injects uncommitted changes, recent commits, and small diffs into the system prompt so the model knows the repo state.
|
Package gitcontext injects uncommitted changes, recent commits, and small diffs into the system prompt so the model knows the repo state. |
|
gitcontext/cmd
command
Git context extension.
|
Git context extension. |
|
inbox
Package inbox provides a file-based message inbox for piglet.
|
Package inbox provides a file-based message inbox for piglet. |
|
inbox/cmd
command
|
|
|
internal/toolresult
Package toolresult provides helpers for reading and modifying the "details" payload that the piglet SDK passes through interceptor After callbacks.
|
Package toolresult provides helpers for reading and modifying the "details" payload that the piglet SDK passes through interceptor After callbacks. |
|
internal/xdg
Package xdg resolves the piglet config directory using the same logic as the piglet host: $XDG_CONFIG_HOME/piglet or $HOME/.config/piglet.
|
Package xdg resolves the piglet config directory using the same logic as the piglet host: $XDG_CONFIG_HOME/piglet or $HOME/.config/piglet. |
|
loop
Package loop provides a recurring-prompt scheduler for the piglet loop extension.
|
Package loop provides a recurring-prompt scheduler for the piglet loop extension. |
|
loop/cmd
command
Loop extension binary.
|
Loop extension binary. |
|
lsp
Package lsp provides an LSP client for code intelligence.
|
Package lsp provides an LSP client for code intelligence. |
|
lsp/cmd
command
|
|
|
mcp
Package mcp provides MCP (Model Context Protocol) server integration for piglet.
|
Package mcp provides MCP (Model Context Protocol) server integration for piglet. |
|
mcp/cmd
command
MCP extension binary.
|
MCP extension binary. |
|
memory/cmd
command
Memory extension binary.
|
Memory extension binary. |
|
modelsdev/cmd
command
Modelsdev extension binary.
|
Modelsdev extension binary. |
|
packs/agent
command
|
|
|
packs/code
command
|
|
|
packs/context
command
|
|
|
packs/core
command
|
|
|
packs/cron
command
|
|
|
packs/eval
command
|
|
|
packs/workflow
command
|
|
|
pipeline/cmd
command
Pipeline extension binary.
|
Pipeline extension binary. |
|
plan
Package plan provides persistent structured task tracking for piglet.
|
Package plan provides persistent structured task tracking for piglet. |
|
plan/cmd
command
|
|
|
prompts
Package prompts scans prompt template directories for .md files and registers each as a slash command with positional argument expansion.
|
Package prompts scans prompt template directories for .md files and registers each as a slash command with positional argument expansion. |
|
prompts/cmd
command
Prompts extension.
|
Prompts extension. |
|
provider/cmd
command
Provider extension binary.
|
Provider extension binary. |
|
recall
Package recall provides cross-session context search via a TF-IDF inverted index.
|
Package recall provides cross-session context search via a TF-IDF inverted index. |
|
repomap/cmd
command
|
|
|
route/cmd
command
Route extension binary.
|
Route extension binary. |
|
rtk
Package rtk provides the RTK bash-rewrite extension for piglet.
|
Package rtk provides the RTK bash-rewrite extension for piglet. |
|
rtk/cmd
command
RTK extension binary.
|
RTK extension binary. |
|
safeguard
Package safeguard blocks dangerous commands before execution.
|
Package safeguard blocks dangerous commands before execution. |
|
safeguard/cmd
command
Safeguard extension binary.
|
Safeguard extension binary. |
|
scaffold/cmd
command
Scaffold extension.
|
Scaffold extension. |
|
session-tools/cmd
command
Session-tools extension.
|
Session-tools extension. |
|
sift/cmd
command
|
|
|
skill/cmd
command
Skill extension binary.
|
Skill extension binary. |
|
subagent
Package subagent provides the tmux-based agent dispatch tool for piglet.
|
Package subagent provides the tmux-based agent dispatch tool for piglet. |
|
subagent/cmd
command
Subagent extension binary.
|
Subagent extension binary. |
|
suggest/cmd
command
|
|
|
tokengate/cmd
command
|
|
|
toolsearch
Package toolsearch provides a tool_search tool for finding extensions by name.
|
Package toolsearch provides a tool_search tool for finding extensions by name. |
|
undo/cmd
command
Undo extension.
|
Undo extension. |
|
usage/cmd
command
Usage extension binary.
|
Usage extension binary. |
|
webfetch
Package webfetch provides web fetch and search capabilities via multiple providers.
|
Package webfetch provides web fetch and search capabilities via multiple providers. |
|
webfetch/cmd
command
Webfetch extension binary.
|
Webfetch extension binary. |
|
Package prompt builds the system prompt from tools, config, and extensions.
|
Package prompt builds the system prompt from tools, config, and extensions. |
|
Package sdk provides the Go Extension SDK for building piglet extensions.
|
Package sdk provides the Go Extension SDK for building piglet extensions. |
|
Package session manages conversation persistence as tree-structured JSONL files.
|
Package session manages conversation persistence as tree-structured JSONL files. |
|
Package tool implements the 7 built-in tools for piglet.
|
Package tool implements the 7 built-in tools for piglet. |
|
Package tui implements the interactive terminal UI using Bubble Tea.
|
Package tui implements the interactive terminal UI using Bubble Tea. |
Click to show internal directories.
Click to hide internal directories.