Install
Install with PiG
pig install npm:@zigai/pi-ui-tweaksInstall with Pi
pi install npm:@zigai/pi-ui-tweaksReview before installing
Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./src/index.ts"
]
}README
Written by the package's publisher, shown as published in version 0.8.0 (README.md). PiG does not review it.
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