← Catalog

@fyeeme/pi-thinking-ui

Faithful, terminal-native three-mode thinking visualization for Pi.

Package

Install

Install with PiG

pig install npm:@fyeeme/pi-thinking-ui

Install with Pi

pi install npm:@fyeeme/pi-thinking-ui
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 1.1.5 (README.md). PiG does not review it.

pi-thinking-ui

Faithful, terminal-native thinking visualization for pi. Replaces pi's built-in thinking renderer with a three-mode (collapsed / summary / expanded) view that summarizes, classifies, and renders reasoning blocks as they stream.

Features

  • Three view modes — collapsed (one line), summary (key steps), expanded (full reasoning)
  • Semantic step roles — each step is classified (inspect, plan, compare, verify, write, search, error) with a matching icon and color
  • Extractive summaries — surfaces failures, decisions, and concrete artifacts (file paths, commands, symbols) instead of meta-chatter
  • Per-scope state — view mode is tracked per working directory so different projects keep their own preference
  • Persistent defaults — save a default mode for the current project or globally
  • Live mode switching — cycle modes mid-session without restarting
  • Redacted-reasoning fallback — shows a stable placeholder when the provider hides reasoning

Install

Requires the pi CLI.

# Global (user) install — available in every project
pi install npm:@fyeeme/pi-thinking-ui

# Project-local — written to .pi/settings.json, shareable with your team
pi install -l npm:@fyeeme/pi-thinking-ui

# Pinned version — skipped by `pi update`
pi install npm:@fyeeme/pi-thinking-ui@1.0.0

# Try it once without saving (current run only)
pi -e npm:@fyeeme/pi-thinking-ui

From GitHub

Source: fyeeme/pi-packages.

# HTTPS shorthand
pi install git:github.com/fyeeme/pi-packages
# Pin to a tag or commit (skipped by `pi update`)
pi install git:github.com/fyeeme/pi-packages@v1.0.0
# Raw URL form
pi install https://github.com/fyeeme/pi-packages

See the Pi Packages guide on pi.dev for the full list of source types, scopes, and pi update behavior.

Usage

ActionEffect
Alt+TCycle the current session's view: collapsed → summary → expanded
/thinking-uiCycle the view, or open a mode picker in interactive mode
/thinking-ui collapsedSet the session view to collapsed (also: summary, expanded)
/thinking-ui project expandedSave expanded as the default for this project
/thinking-ui global summarySave summary as the default everywhere
/thinking-ui project clearRemove the saved project default

Aliases are accepted for modes: c/collapse → collapsed, s/summaries → summary, e/expand/full → expanded.

On startup the view mode is restored from (in order): the current session's saved mode, the project default, the global default, then collapsed.

Requirements

Uses pi's official registerMarkdownTransformer hook (since 1.1.0 — the earlier runtime monkeypatch of pi's internal assistant-message component is gone). No fallback path is needed; if the host API changes shape the transformer simply stops applying.