@talex-touch/touch-pie
One-command Talex Touch Pi experience kit: latest Pi install, startup UI, powerline footer, setup, verify, and rollback tools.
Package details
Install @talex-touch/touch-pie from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@talex-touch/touch-pie- Package
@talex-touch/touch-pie- Version
0.1.37- Published
- Aug 3, 2026
- Downloads
- 1,505/mo · 662/wk
- Author
- talexds
- License
- MIT
- Types
- extension, skill, prompt
- Size
- 1.2 MB
- Dependencies
- 0 dependencies · 4 peers
Pi manifest JSON
{
"extensions": [
"./index.ts",
"./tool-output.ts",
"./subagents/src/index.ts"
],
"prompts": [
"./prompts"
],
"skills": [
"./skills"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@talex-touch/touch-pie
One-command Talex Touch Pi experience package.
Install
npm install -g --ignore-scripts @earendil-works/pi-coding-agent@latest
npm install -g @talex-touch/touch-pie@latest
touch-pie
The first command installs the latest Pi release without package lifecycle scripts. touch-pie also refreshes Pi to npm latest before installing the Touch Pie extension package, so a stale or missing Pi installation is repaired automatically.
Setup creates pie / touch-pie command shims, saves an uninstall restore point, adds the shim directory to user PATH, installs a safe default AGENTS.md only when missing, removes known conflicting legacy packages, sets quietStartup: true, and verifies the result.
After install, use:
pie
pie --help
pie -p "hello"
pie update
Local development:
node /absolute/path/to/pi-experience-kit/packages/touch-pie/bin/touch-pie.mjs
What It Includes
- Customized powerline footer and startup welcome.
- Compact Pie Code startup summary with model, subscription/billing state, and current path.
- Expanded welcome panel with tips, loaded resources, and recent sessions.
- Tabbed Touch Pie settings via
/touch-pieor/pie-settings, with Native Pi settings as a second-level tab. - Touch Pie reload via
/touch-pie reloador/pie-reloadwhile preserving Pi's native/reload. - Clipboard paste reads text or images through Pi with
Ctrl+V, WindowsAlt+V, andCmd+Vwhen the terminal forwards the Command key. - Real effective thinking level badge.
- Thinking level switching with
Shift+Tab,/effort, and the footer badge. - Dynamic shimmer for
think:xhighandthink:max. - Model loading through Pi's native models/modelRegistry only; Touch Pie does not register a custom provider.
- Bundled subagents inherit the active parent model by default.
Agent({ model: "provider/modelId" })can override an agent's configured model for one invocation, and/agentsonly offers models available in the current Pi scope. - Active subagents appear in a below-editor target dock. Use
Alt+[/Alt+]to switch between Parent and ready child sessions; child-targeted submissions interrupt and redirect that child, whileEscstops the selected child and resets input to Parent.Alt+Xprovides the same targeted stop when the Powerline editor is disabled. /updateupgrades Pi core and Touch Pie through the same workflow aspie update, then hot-reloads Touch Pie and asks for a restart when the Pi core changed./aboutshows app, build, author, and base package information without reading runtime.git./personastores local startup title/message, Agent salutation, and tone in~/.pi/agent/touch-pie/persona.json.- Interactive Agent questions through
ask_user_question: tabbed question sets, single-select, multi-select, free-form input, and Markdown previews. /qnaextracts actionable questions from the last complete Agent response through the shared question tool; the guarded automatic fallback is configurable as a global preference in General settings and defaults off.- Built-in Plan mode with image reading, entered and managed manually through
/plan, using the same shared question tool. - Built-in Goal mode through
/goal: reviewable Goal Brief, visible mutable plan, ask-before command gates, non-interrupting side questions, pause/resume, turn budget, and fail-closed completion judging. - Persistent Todo widgets show the complete task list in source order and wrap long titles to terminal width; the active item alternates between
○/●with a restrained monochrome shimmer, Steering messages sit immediately below Todos, and/todosopens a scrollable full-list view when the fixed area is shorter than the list. /review [scope]performs a review-only, severity-ranked audit of working-tree changes, staged/unstaged/untracked changes, commits, ranges, or paths.- Bundled
tds-skillfor TalexDreamSoul's concise communication style, conservative engineering choices, risk-based testing, Cloudflare delivery, and safe macOS maintenance. - Bundled
generate-imageskill for reviewed still-image generation, a 24-item holiday mascot catalog, and consistent PNG-frame/animated-WebP workflows. Generation and review use the optionalpi-image-gencompanion installed withpi install git:github.com/justhil/pi-image-gen. - Safe default
AGENTS.mdtemplate installed only when the user has no global agent instructions. - Restrained built-in tool rendering uses an icon plus accent-colored
Execute, text-colored tool names, and dim arguments without bold text. Non-Bash partial/final previews keep the latest five/three lines, Bash uses a fixed ten-line sliding window, andCtrl+Oexpands only the latest tool or prompt-hook detail. - The default live working row rotates through a shuffled 50-message deck without repeats before exhaustion, while combining elapsed time, response tokens, and effective thinking effort; custom
/vibethemes replace only the thinking/generating vocabulary. - Completed turns use an independent shuffled 32-verb deck for messages such as
Crunched for 1m 05s, followed by the existing token, speed, cost, and session summary. - Any active tool, including third-party tools such as
ffgrepandfffind, switches the live working row to a high-contrast shimmer onExecuting <tool>..., with one blank row separating it from Jobs/widgets in fixed-editor mode. Touch Pie still leaves third-party result panels to their owning renderer. - Every built-in
Execute <tool>row has its own live elapsed timer, frozen at completion; tool rows remain static while the separate Working/Thinking loader keeps its shimmer animation. - Language selection via the General settings tab,
touch-pie language, or--lang. - CLI for setup, verify, backup, rollback, and daily
pieusage.
Commands
touch-pie
pie [pi args...]
pie update
touch-pie language zh
touch-pie --lang zh doctor
touch-pie doctor
touch-pie backup
touch-pie setup --write-settings
touch-pie setup --write-settings --update-path
touch-pie path --update-path
touch-pie uninstall
touch-pie verify
touch-pie rollback --backup <manifest-path>
In Pi TUI:
/update # upgrade Pi core and Touch Pie, then reload extensions
/goal ship the parser # draft a Goal Brief, then approve and run
/goal status
/goal tasks
/goal ask what changed?
/goal pause
/goal resume
/goal budget 40
/goal cancel
/review # staged + unstaged + untracked working tree
/review staged
/review HEAD~1..HEAD
/review packages/touch-pie
/skill:tds-skill # concise delivery, risk-based testing, Cloudflare, and macOS maintenance
/skill:generate-image # reviewed stills, holiday variants, and animation frames
/about
/touch-pie # tabbed settings center
/touch-pie reload
/pie-settings # same tabbed settings center
/pie-reload
/qna
/persona
/persona salutation 老板
/persona tone professional|friendly|cute
/persona reset
/tool-output
/tool-output compact
/tool-output hidden
/tool-output normal
/pie-tool-display
Safety
postinstallonly creates command shims, saves a restore point, and updates user PATH; it does not modify Pi settings, AGENTS, core files, installed package dist files, tokens, or history./touch-pieand/pie-settingsexpose a keyboard-driven, tabbed Touch Pie settings center while preserving Pi's native/settingspage as a Native Pi submenu jump./touch-pie reloadand/pie-reloadreload Touch Pie through extension APIs while preserving Pi's native plain/reloadbehavior.- Set
TOUCH_PIE_NO_POSTINSTALL=1to skip postinstall PATH setup. setupcreates a backup first.- Settings changes are field-level and only set
quietStartup: true, bind Pi's thinking-cycle action toShift+Tab, plus remove known conflicting legacy package entries. - Touch Pie owns
/planand--plan; the installer removes the older external@narumitw/pi-plan-modepackage to avoid extension conflicts. - Touch Pie owns
/goaland--goal; setup removespi-until-doneand@qhn/pi-goal. Legacyuntil-done.statesession entries are read once and persisted in the newtouch-pie.goal.stateformat. - Active Goal state is mirrored atomically to
.goal/state.json; completion fails closed unless all tasks are settled, verify output is quoted, and the configured or active-model judge approves. AGENTS.mdis installed only if missing and never overwrites an existing file.- Persona settings are local-only and limited to startup title/message, salutation, and controlled tone; users cannot edit the full system prompt.
- Automatic Q&A is a global preference and is off by default. When enabled, it runs only after the Agent settles in TUI mode, skips responses that already used
ask_user_question, preserves non-empty editor drafts, blocks every non-question tool during extraction, and deduplicates processed responses. - Global npm
postinstallrunstouch-pie path --update-path; manual PATH changes also require explicit--update-pathand apply to user PATH/profile only. pie updateand TUI/updateuse the same updater. Both upgrade Pi core, refresh the Pi package and global CLI, then synchronize Touch Pie settings and command shims./tool-output hiddenhides successful built-in result summaries while retaining the call row and all failures;normalandcompactkeep the compact summary./pie-tool-displayexplains the Touch Pie rendering model. Touch Pie owns final rendering for built-in tools; other renderer extensions can continue to render their own tool families.- Touch Pie does not modify Pi core or installed package dist files.
- Backup avoids token, cache, history, and log directories.