← Catalog

@zigai/pi-ui-tweaks

Pi package for small configurable UI tweaks.

Extension

Install

Install with PiG

pig install npm:@zigai/pi-ui-tweaks

Install with Pi

pi install npm:@zigai/pi-ui-tweaks
Review 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

npm version npm downloads license

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.

OptionTypeDefaultDescription
enabledbooleantrueEnable all UI tweaks.
autocompleteAboveInputbooleantrueRender autocomplete above the input editor.
bashExecPromptSpacingbooleantrueAdd spacing around bash execution prompts.
anchorInputToBottombooleanfalseAnchor the input editor to the terminal bottom.
compactModelSelectorbooleantrueUse compact model-selector rows.
hideAutocompleteScrollInfobooleantrueHide autocomplete scroll-position text.
hideModelChangeStatusbooleantrueHide model-change status messages.
hideModelProviderHintbooleantrueHide provider hints in the model selector.
hideSlashCommandSourceTagsbooleantrueHide source tags in slash-command completion.
highlightSelectedModelProviderbooleantrueHighlight the selected model provider.
inputPromptPrefixstring"> "Prefix displayed before input text.
neutralBorderColorbooleantrueUse a neutral border color when Pi is idle.
pasteCollapseCharThresholdinteger1000Character threshold that collapses pasted content.
pasteCollapseEnabledbooleantrueCollapse large pasted content.
pasteCollapseExpandKeystring | nullnullExplicit key used to expand collapsed pasted content.
pasteCollapseLineThresholdinteger10Line threshold that collapses pasted content.
pasteCollapseUseToolExpandKeybooleantrueReuse Pi's configured tool-expansion key for pasted content.
preserveCompactionHistorybooleanfalseKeep pre-compaction messages visible in transcript history.
restoreContentAfterAutocompleteClosebooleantrueRestore editor content after closing autocomplete.
refreshTmuxHyperlinksbooleantrueRefresh Markdown links when a tmux client attaches or detaches.
selectedOptionPrefixstring"→ "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