@zigai/pi-ui-tweaks0.8.0
Pi package for small configurable UI tweaks.
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.
Reports 0
No reports yet.
Readme
Pi UI Tweaks
Small configurable UI tweaks for polishing Pi's interface.
Install
pi install npm:@zigai/pi-ui-tweaks
Configuration
Global settings are stored in ~/.pi/agent/extension-settings/pi-ui-tweaks.json.
| Option | Type | Default | Description |
|---|---|---|---|
enabled |
boolean | true |
Enable all UI tweaks. |
autocompleteAboveInput |
boolean | true |
Render autocomplete above the input editor. |
bashExecPromptSpacing |
boolean | true |
Add spacing around bash execution prompts. |
anchorInputToBottom |
boolean | false |
Anchor the input editor to the terminal bottom. |
compactModelSelector |
boolean | true |
Use compact model-selector rows. |
hideAutocompleteScrollInfo |
boolean | true |
Hide autocomplete scroll-position text. |
hideModelChangeStatus |
boolean | true |
Hide model-change status messages. |
hideModelProviderHint |
boolean | true |
Hide provider hints in the model selector. |
hideSlashCommandSourceTags |
boolean | true |
Hide source tags in slash-command completion. |
highlightSelectedModelProvider |
boolean | true |
Highlight the selected model provider. |
inputPromptPrefix |
string | "> " |
Prefix displayed before input text. |
neutralBorderColor |
boolean | true |
Use a neutral border color when Pi is idle. |
pasteCollapseCharThreshold |
integer | 1000 |
Character threshold that collapses pasted content. |
pasteCollapseEnabled |
boolean | true |
Collapse large pasted content. |
pasteCollapseExpandKey |
string | null | null |
Explicit key used to expand collapsed pasted content. |
pasteCollapseLineThreshold |
integer | 10 |
Line threshold that collapses pasted content. |
pasteCollapseUseToolExpandKey |
boolean | true |
Reuse Pi's configured tool-expansion key for pasted content. |
preserveCompactionHistory |
boolean | false |
Keep pre-compaction messages visible in transcript history. |
restoreContentAfterAutocompleteClose |
boolean | true |
Restore editor content after closing autocomplete. |
refreshTmuxHyperlinks |
boolean | true |
Refresh Markdown links when a tmux client attaches or detaches. |
selectedOptionPrefix |
string | "→ " |
Prefix displayed before selected list options. |
{
"$schema": "./schemas/pi-ui-tweaks.schema.json",
"enabled": true,
"autocompleteAboveInput": true,
"bashExecPromptSpacing": true,
"anchorInputToBottom": false,
"compactModelSelector": true,
"hideAutocompleteScrollInfo": true,
"hideModelChangeStatus": true,
"hideModelProviderHint": true,
"hideSlashCommandSourceTags": true,
"highlightSelectedModelProvider": true,
"inputPromptPrefix": "> ",
"neutralBorderColor": true,
"pasteCollapseCharThreshold": 1000,
"pasteCollapseEnabled": true,
"pasteCollapseExpandKey": null,
"pasteCollapseLineThreshold": 10,
"pasteCollapseUseToolExpandKey": true,
"preserveCompactionHistory": false,
"restoreContentAfterAutocompleteClose": true,
"refreshTmuxHyperlinks": true,
"selectedOptionPrefix": "→ "
}
License
MIT