Personal Pi config repo. Safe allowlist Git setup. Track chosen config + extensions. Ignore secrets, sessions, cache, history by default.
.gitignore— ignore all by default; allowlist safe files only.LICENSE— Apache-2.0 license.README.md— this map.agent/settings.json— Pi defaults: provider, model, thinking, compaction, packages.agent/mcp.json— MCP server config.agent/extensions/*.ts— custom Pi extensions.agent/themes/vague.json— Pi theme ported from vague.nvim palette.
agent/auth.json— secrets/auth. Never commit.agent/sessions/— chat/session logs. Private/local.agent/run-history.jsonl— run history. Private/local.agent/mcp-cache.json— generated cache.agent/mcp-npx-cache.json— generated npx cache.
Names new sessions from first prompt.
- Uses small Codex/OpenAI model when auth available.
- Falls back to cleaned prompt text when model/auth missing.
- Keeps title short: 2–6-ish words, no quotes/punctuation.
Adds copy-all command.
- Waits until agent idle.
- Collects user + assistant messages from current branch.
- Converts text/image blocks into readable transcript.
- Copies transcript to clipboard using platform clipboard CLI.
Uses pbcopy on macOS. Uses wl-copy on Linux/Wayland. If neither program exists, shows: cannot copy because program not found: pbcopy, wl-copy.
Custom single-line Pi footer, fish-shell style.
Shows:
- shortened cwd, like fish
prompt_pwd - git branch
- session name
- context usage bar
- model/mode
- thinking level
- spinner while agent works
Custom prompt editor with nerd-font prefix + reverse history search.
Adds:
- prompt prefix from
PI_PROMPT_PREFIX, default - prompt history from previous Pi sessions
Ctrl-rreverse search panel- up/down navigation inside search
- enter accept, escape cancel
Dark Pi theme based on local vague.nvim palette from:
Design choices:
#141415base bg for export page.#1c1c24/#252530for message + tool surfaces.#7e98e8hint blue as main accent.#7fa563,#d8647e,#f3be7cfor success/error/warning.- terminal default text preserved for main message text.
- full
fgused for dense tool output/code blocks for readability.
Enabled by:
"theme": "vague"From agent/settings.json:
Pi package for MCP adapter support. Lets Pi talk to MCP servers/tools.
Subagent workflows for Pi.
Purpose:
- delegate tasks to specialist agents
- run chains/parallel agents
- async/background agent runs
- review/advisory flows
Web access tools/skills for Pi.
Purpose:
- web search
- fetch web content
- code/docs search
- library/source research
Interactive user-question tool package.
Purpose:
- structured clarification prompts
- single/multi choice questions
- richer decision UI during agent runs
From agent/mcp.json:
Runs via:
npx -y @upstash/context7-mcpPurpose: fetch current library docs/API references through Context7 MCP.
Lifecycle: lazy. Starts only when needed.
Run before commit:
git status --short
grep -R "token\|key\|secret\|password" README.md agent/settings.json agent/mcp.json agent/extensions agent/themes || true