omp packages

@zigai/pi-tree0.7.0

Pi package that improves /tree with timestamps and preview behavior.

zigai Published 8 days ago MIT ~733 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

Pi Tree

npm version npm downloads license

A cleaner, more informative /tree for Pi.

Install

pi install npm:@zigai/pi-tree

Features

  • Shows per-entry timestamps in /tree.
  • Supports off, relative, and absolute timestamp modes.
  • Uses Pi's configured tree label-timestamp keybinding, commonly Shift+T, to cycle timestamp modes.
  • Adds an optional selected-entry preview pane on the right side of /tree when the terminal is wide enough.
  • Toggles the preview pane with Shift+P.
  • Reads timestamp and preview choices from config.
  • Can make /tree taller with treeMaxVisibleLines.
  • Can keep the preview pane at full height or shrink it to fit preview content.

Pi Tree preview demo

Configuration

Global settings are stored in ~/.pi/agent/extension-settings/pi-tree.json.

Option Type Default Description
treeTimestampMode off | relative | absolute "relative" Timestamp style shown in tree entries.
treeSelectedPreview boolean false Show the selected tree entry preview.
treeMaxVisibleLines number — Maximum visible lines in the tree selector.
treePreviewFullHeight boolean true Allow the preview to use the selector's full available height.
{
  "$schema": "./schemas/pi-tree.schema.json",
  "treeTimestampMode": "relative",
  "treeSelectedPreview": false,
  "treePreviewFullHeight": true
}

Development

npm install
npm run check

License

MIT