@vanillagreen/pi-qol
Pi quality-of-life extension: compact statusline/π prompt, reliable multiline input, styled pasted-image chips, session naming/search/context import, scheduled prompts, handoff, permission prompts, notifications, custom compaction, and a collapsed-thinkin
Package details
Install @vanillagreen/pi-qol from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@vanillagreen/pi-qol- Package
@vanillagreen/pi-qol- Version
2.5.2- Published
- Nov 24, 2026
- Downloads
- 755/mo · 59/wk
- Author
- vanillagreencom
- License
- MIT
- Types
- extension
- Size
- 4.9 MB
- Dependencies
- 0 dependencies · 4 peers
Pi manifest JSON
{
"image": "https://raw.githubusercontent.com/vanillagreencom/kendex/main/pi-extensions/pi-qol/assets/settings-panel.png",
"extensions": [
"./extensions/qol.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@vanillagreen/pi-qol
A Pi extension for session controls, prompt editing and notifications. Users can configure each feature separately.

Features
- Show repository, model and context information beside the editor, with the working spinner before the project name.
- Name and search sessions.
- Schedule prompts and prepare handoff drafts.
- Ask before configured shell commands run.
- Send terminal and desktop notifications.
- Configure summaries and compaction for long sessions.
Install
- npm:
pi install npm:@vanillagreen/pi-qol. - kendex:
- Add the declaration below to the project's
kendex.toml, or to~/.config/kendex/kendex.tomlfor user scope. - Run
kendex update-pi.
- Add the declaration below to the project's
[pi-extensions."@vanillagreen/pi-qol"]
source = "kendex"
- Requires Pi 0.86.0 or newer.
- Restart Pi after installation.
- Use
kendex update-pi --checkto preview the installation.
How it works
The extension reads your enabled features when Pi starts. It adds their editor controls, commands and event handlers. Session actions update the session or queue messages for the agent. Notifications report events through your selected channels. Compaction settings control when long conversations are summarized.
Memory use
- A session without a UI loads no session-search index. With a UI, the index is loaded shortly after start and kept for
sessionSearch.cacheTtlSeconds(default 300 seconds; 0 keeps it until the session ends). A search after the index was released opens at once and fills in when the index has loaded again. - The index keeps at most 32,768 characters of message text per session and 8,388,608 characters in total, newest session first. A session past the total is searched by name, path and first prompt only.
- Searchable user prompts share those per-session and total limits.
- Search skips saved records above 2,097,152 characters; these limits count UTF-16 code units.
- Copy and Fork use the complete selected prompt.
- A newer search cancels the previous one.
- A regex search reports an error in the popup if matching exceeds 25 ms or startup exceeds 1 second.
- Submitted image paths and existing clipboard images share a 20 MiB raw-byte limit.
- The extension checks all file sizes before reading any image.
- A refusal blocks submission and reports an error.
- It restores the rejected prompt only if the editor is empty; a newer draft stays unchanged.
- Print and JSON callers receive the diagnostic on stderr.
- Where Pi cannot switch sessions directly, a chosen resume or fork waits as one
/search:resume-pendingcommand in the editor. Only the latest one is kept, and it is dropped when the session ends. - The search popup retains full user prompts for at most 64 sessions.
- Searchable text has the separate character limits above.
- Thinking times are retained for at most 256 finished blocks.
- Thinking labels are released when the agent run ends.
- Notification cooldowns are released when they expire or the session ends.
Saved files
At session start, the extension deletes budget handoff files whose recorded working directory no longer exists. It also deletes files older than 5 days. Both timestamped snapshots and latest.json follow this rule.
Setup
The settings editor writes project values to .pi/settings.json. The default user file is ~/.pi/agent/settings.json. PI_CODING_AGENT_DIR changes the user directory. Package values are stored under kendex.extensionManager.config["@vanillagreen/pi-qol"].
Open /extensions:settings; settings appear under the QOL tab. Project settings in .pi/settings.json apply only after Pi marks the workspace trusted. glyphStyle picks unicode or ascii symbols, and @vanillagreen/pi-tool-renderer's globalGlyphStyleOverride wins when set.
enabled: package toggle for everything below.gatewayPrivacy.enabled: require zero data retention and no prompt training for main-agent and QOL model requests through OpenRouter and Vercel AI Gateway.- Covers QOL compaction, branch summaries, imported-session summaries, handoff and session naming.
- Keeps other routing options and overrides weaker privacy values.
- Pi's built-in compaction and branch summaries cannot carry these fields, so on a gateway session model QOL writes them in place of Pi's, whatever
compaction.customEnabledandcompaction.branchSummaryEnabledsay, and a failed or refused summary cancels the compaction or tree move instead of falling back to Pi's. - Custom remote compaction endpoints keep their own privacy policy.
- Statusline and editor:
statusline.enabled,statusline.showProvider,statusline.showAccount,replaceFooter,compactPrompt,showSessionNameTitle,showSessionNameWindow,inputBottomPaddingLines,gitRefreshTimeoutMs,showDirtyMarker,newlineOnShiftEnter,newlineFallbackKey,pendingQueue.asciiGreen,showImageChips,showAttachmentCountInStatus. - Commands:
enableSessionNameCommand,enableHandoffCommand,enableScheduleCommand,enableContextCommand,handoffReviewPrompt. - Session naming:
sessionAutoRename.*(model, fallback model, deterministic fallback, prefix, prompt, limits, notify, debug).sessionAutoRename.maxTokensincludes the naming model's reasoning tokens. The naming request asks for the lowest reasoning effort the model accepts, and turns reasoning off where the model allows it.sessionAutoRename.maxNameCharslimits the title length. - Session search:
sessionSearch.*(shortcut, result and row limits, snippets, overlay width, cache TTL, summary model and limits). - Rate limits:
rateLimitAutoResume.*. - Permission gate:
permissionGate.enabled,permissionGate.commands(comma-separated literal fragments or/regex/flags),permissionGate.previewLines,permissionGate.previewChars. - Notifications:
notification.*(triggers, channels, tmux options, protocol, cooldown, title and body). - Compaction and budget guard:
compaction.*(custom summaries, model, profile, remote endpoint, branch summaries, idle trigger, budget guard thresholds, chunk input cap, handoff artifact, transcript-risk budget).compaction.maxTokenscaps budget-guard, custom and branch summaries.- Pi's own
compaction.enabled(the top-levelcompactionobject in the same settings files, not a QOL key) turns off every automatic compaction: when it isfalse, neither the budget guard nor the idle trigger starts one, and/qolreports both as disabled by that key. A manual/compactstill runs. While it istrueor absent, both keep the defaults and thresholds above: the budget guard on atcompaction.budgetPercent85, the idle trigger off untilcompaction.idleEnabledis set.
- Pi's own
- Thinking:
thinkingLabel.text,thinkingTimer.enabled,workingIndicator.mode.workingIndicator.modedefaults tostatic, a dot with no animation timer;animatedrestores Pi's spinner.thinkingTimer.enabledcontrols the thinking duration display.
Show model provider displays a readable provider name before the model, such as Copilot / GPT 6 Astra. It is on by default; changes apply on the next render without reloading. Disabling the QOL statusline leaves Pi's standalone working indicator in place.
Maintainer notes are in DEVELOPMENT.md.