@rezamonangg/pi-transcript

View pi session transcript in bat via tmux split.

Packages

Package details

extension

Install @rezamonangg/pi-transcript from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@rezamonangg/pi-transcript
Package
@rezamonangg/pi-transcript
Version
0.1.0
Published
Jun 4, 2026
Downloads
not available
Author
monangg
License
unknown
Types
extension
Size
5.6 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./extensions/index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-transcript

View your Pi session transcript in a tmux split pane using glow or bat.

Why

Pi is a TUI application that renders differentially — it does not produce normal terminal scrollback. This means you cannot scroll up in tmux to review earlier conversation. This extension works around that limitation by exporting the session to a markdown file and opening it in a side pane.

Requirements

  • tmux — for the split pane
  • glow (recommended) or bat — for viewing the markdown transcript

Install on macOS:

brew install glow bat

Install

pi install npm:@rezamonangg/pi-transcript

Or local:

pi install /path/to/pi-transcript

Usage

Inside a tmux session running Pi, type:

/transcript

This opens a horizontal split (40% width) showing the full session transcript rendered with glow (or bat/less as fallback). Press q in the pane to close it. Re-running /transcript refreshes the content.

Fallback chain

  1. glow — renders markdown (bold, headers)
  2. bat — syntax-highlights markdown
  3. less — plain text pager

License

MIT