@talex-touch/touch-pie
One-command Talex Touch Pi experience kit: startup UI, powerline footer, quiet WeChat bridge, 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.27- Published
- Jun 19, 2026
- Downloads
- 3,354/mo · 2,108/wk
- Author
- talexds
- License
- MIT
- Types
- extension
- Size
- 905.2 KB
- Dependencies
- 1 dependency · 4 peers
Pi manifest JSON
{
"extensions": [
"./index.ts",
"./sub2api.ts",
"./tool-output.ts",
"./weixin-bridge.ts",
"./subagents/src/index.ts"
]
}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 @talex-touch/touch-pie
The global install creates pie / touch-pie command shims, saves an uninstall restore point, and adds the shim directory to user PATH. Open a new terminal, then run:
touch-pie
This installs the package into Pi, creates a backup/restore point, installs a safe default AGENTS.md only when missing, removes conflicting old pi-powerline-footer / zlab-weixin-bridge / @narumitw/pi-plan-mode packages from settings, sets quietStartup: true, refreshes the persistent commands, prints a first-run change notice, and verifies the setup.
After install, use:
pie
pie --help
pie -p "hello"
pie touchx info
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. - Real effective thinking level badge.
- Effort / thinking level switching with
Ctrl+Alt+E,/effort, and the footer badge. - Dynamic shimmer for
think:xhighandthink:ultra. - Quiet WeChat bridge startup.
- TouchX account, subscription, quota, and masked API key usage via
pie touchx infoor/touchx-sub status. /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.- Built-in Plan mode with image reading and instant
Shift+Tabtoggle. - Safe default
AGENTS.mdtemplate installed only when the user has no global agent instructions. - Tool-output preference via
/tool-output; active renderer ownership stays with dedicated extensions such aspi-tool-display. - 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
pie touchx info
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:
/about
/touch-pie # tabbed settings center
/touch-pie reload
/pie-settings # same tabbed settings center
/pie-reload
/persona
/persona salutation 老板
/persona tone professional|friendly|cute
/persona reset
/tool-output
/tool-output compact
/tool-output hidden
/tool-output normal
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, move Pi's thinking-cycle keybinding toCtrl+Shift+E, 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. 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.
- Global npm
postinstallrunstouch-pie path --update-path; manual PATH changes also require explicit--update-pathand apply to user PATH/profile only. pie updateprefers Pi's package updater (pi update --extension npm:@talex-touch/touch-pie) and only falls back to npm global sync if that fails./tool-outputonly records Touch Pie's output preference and does not override built-in tool renderers, so it can coexist with Atuin andpi-tool-display.- Touch Pie does not modify Pi core or installed package dist files.
- Backup avoids token, cache, history, and log directories.