@vanillagreen/pi-qol 1.0.4 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -6
- package/assets/session-search.gif +0 -0
- package/extensions/qol.ts +710 -259
- package/package.json +10 -23
- package/assets/session-search.png +0 -0
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-

|
|
6
6
|

|
|
7
7
|
|
|
8
8
|
Quality-of-life extension for Pi.
|
|
@@ -26,12 +26,12 @@ Restart Pi after installation.
|
|
|
26
26
|
|
|
27
27
|
## What it provides
|
|
28
28
|
|
|
29
|
-
- Compact statusline and `π` prompt editor: shows repo/project, branch/dirty state, model, colorized thinking level, optional Caveman badge, context window size,
|
|
30
|
-
- Reliable multiline input: `Shift+Enter` / `Shift+Return` inserts a newline when the terminal reports it distinctly; `ctrl+j` is the default fallback newline key. `Alt+Enter` is reserved for Pi follow-up messages. When `pi-caveman` is loaded, `Alt+C` cycles Caveman modes.
|
|
29
|
+
- Compact statusline and `π` prompt editor: shows repo/project, branch/dirty state, model, colorized thinking level, optional Caveman badge, context window size, remaining context percent, and (inside `pi-agents-tmux` child panes) an ANSI-background subagent-name badge while replacing Pi's default footer/editor chrome.
|
|
30
|
+
- Reliable multiline input: `Shift+Enter` / `Shift+Return` inserts a newline when the terminal reports it distinctly; `ctrl+j` is the default fallback newline key. `Alt+Enter` is reserved for Pi follow-up messages. QOL can also style Pi's built-in steering/follow-up pending queue preview with an ANSI green left bar while leaving the restore hint muted. When `pi-caveman` is loaded, `Alt+C` cycles Caveman modes.
|
|
31
31
|
- Compact image placeholders: existing pasted image paths can collapse to `[Image #N]` aliases and are attached on submit.
|
|
32
32
|
- Session naming: `/rename [name]` sets or shows the friendly session name; automatic first-prompt naming is enabled by default.
|
|
33
33
|
- Context usage: `/context` prints an inline Claude-style context-window visualization with estimated Pi/model category breakdowns.
|
|
34
|
-
- Previous-session search: `/search` and optional `
|
|
34
|
+
- Previous-session search: `/search` and optional `F2` overlay search prior sessions, preview snippets, resume, inject summarized context, or start a new session with summarized context.
|
|
35
35
|
- Handoff: `/handoff <goal>` drafts a focused prompt for a new session, preserving the latest compaction summary plus retained branch entries.
|
|
36
36
|
- Optional permission gate: when enabled, prompts before configured `bash` tool command fragments run; default match is `rm -Rf`.
|
|
37
37
|
- Notifications: terminal/tmux/native notifications for ready-for-input, questions, direction needed, task completion, and critical/blocked states.
|
|
@@ -66,6 +66,13 @@ Settings are exposed through `pi-extension-manager` under **QOL**.
|
|
|
66
66
|
- `inputBottomPaddingLines`: blank lines below the compact prompt; default `0`.
|
|
67
67
|
- Git display knobs: `gitRefreshTimeoutMs`, `showDirtyMarker`.
|
|
68
68
|
- If `pi-caveman` is loaded, QOL reads its bridge to show a Caveman icon in the statusline and to make `Alt+C` cycle Caveman modes. The Caveman package's `showStatusBadge` setting also controls this QOL badge.
|
|
69
|
+
- If `pi-agents-tmux` is loaded inside a child pane, QOL reads its bridge/env metadata to show a trailing subagent-name badge after the context percent. The badge uses the agent `color:` frontmatter (`red`, `green`, `yellow`, `blue`, `magenta`, `cyan`; aliases `orange`, `purple`/`violet`, `teal`) or falls back to automatic color cycling.
|
|
70
|
+
|
|
71
|
+
### Input
|
|
72
|
+
|
|
73
|
+
- `newlineOnShiftEnter`: intercept distinguishable `Shift+Enter` / `Shift+Return` and insert a newline; default on.
|
|
74
|
+
- `newlineFallbackKey`: alternate newline key for terminals that cannot distinguish shifted enter; default `ctrl+j`, or `none` to disable.
|
|
75
|
+
- `pendingQueue.asciiGreen`: style Pi's built-in steering/follow-up pending queue preview with an ANSI green heavy left bar while keeping the Alt+Up restore hint in the theme hint color with a two-space indent; default on.
|
|
69
76
|
|
|
70
77
|
### Session auto-rename
|
|
71
78
|
|
|
@@ -78,8 +85,8 @@ Settings are exposed through `pi-extension-manager` under **QOL**.
|
|
|
78
85
|
### Session search
|
|
79
86
|
|
|
80
87
|
- `sessionSearch.enabled`: register `/search` and the overlay.
|
|
81
|
-
- `sessionSearch.shortcutKey`: shortcut to open search; default `
|
|
82
|
-
-
|
|
88
|
+
- `sessionSearch.shortcutKey`: shortcut to open search; default `f2`, set `none` to disable.
|
|
89
|
+
- Search ordering: empty search shows prompts by recency; typed search sorts by match quality, then prompt recency.
|
|
83
90
|
- Result/layout knobs: `resultLimit`, `maxVisible`, `messageMaxVisible`, `previewSnippets`, `overlayWidth`, `cacheTtlSeconds`.
|
|
84
91
|
- Summary knobs: `summaryModel`, `summaryMaxTokens`, `summaryInputMaxChars`.
|
|
85
92
|
|
|
Binary file
|