pi-compact-thinking0.3.1
Compact animated reasoning previews for Pi
Reported broken on omp
1 of 1 report says this package does not work on omp. Read the notes before you install it.
0 works1 broken
Reports 1
- broken
OMP 19.0.1 $ omp plugin install pi-compact-thinking ✘ Failed to install pi-compact-thinking: Error: Plugin pi-compact-thinking extension validation failed: /home/X/.omp/plugins/node_modules/pi-compact-thinking/index.ts: Failed to load extension: Export named 'colorToOklch' not found in module 'omp-legacy-pi-bundled:@oh-my-pi/pi-tui'.
Readme
pi-compact-thinking
A Pi extension that replaces the built-in Thinking blocks: hidden renderer with a compact, animated thinking preview.
Installation
pi install npm:pi-compact-thinking
Restart Pi after installation.
Compatibility
Tested with Pi 1.6.0.
This extension monkey-patches Pi's internal assistant-message renderer. Internal UI APIs may change in future Pi releases, so the extension may require updates after upgrading Pi.
Configuration
The configuration file is created automatically the first time the extension loads. Its location is:
$PI_CODING_AGENT_DIR/compact-thinking.json, whenPI_CODING_AGENT_DIRis set; otherwise~/.pi/agent/compact-thinking.json.
{
"useSummaryTitlesAsThinkingTitle": true,
"previewLines": 3,
"animationIntervalMs": 90,
"animationStyle": "solid"
}
useSummaryTitlesAsThinkingTitle: For OpenAI models, uses the latest reasoning-summary heading as the live compact thinking title.previewLines: Maximum number of rendered reasoning-preview lines to retain inThinking blocks: hiddenmode. Set to0to hide the preview.animationIntervalMs: Interval, in milliseconds, between animation frames while the model is reasoning.animationStyle:solid(default) orgradient, the style of the thinking animation.
It is also recommended to set hideThinkingBlock to true in Pi's settings to enable compact thinking by default.
Restart Pi or reload the extension after changing the configuration.