For gods who demand granular control over every character on the UI layer. Limit-break mode activated.
We have successfully reverse-engineered, overhauled, and vastly expanded the OMP statusLine.segmentOptions schema. The Custom Trinity configuration is now deeply integrated into the rendering pipeline for every available segment.
📐 Expanded segmentOptions Registry
Every segment now respects atomic configuration over its icons, formatting, text, and sub-components. Here is the holistic capability matrix:
1. Global Segment Overrides
All segments now support standard toggle capability over their icons:
showIcon: boolean(Controls visibility oftheme.icon.*)
2. Deep Configuration Matrix
statusLine:
segmentOptions:
# 🧠 AI / Context
pi:
showIcon: true
showText: true
label: "CustomString"
model:
showThinkingLevel: true
showFastMode: true
showAdvisor: true
mode:
showPlan: true
showGoal: true
showLoop: true
context_pct:
showIcon: true
context_total:
showIcon: true
# 📁 Path & Git
path:
abbreviate: true
maxLength: 60
stripWorkPrefix: true
showScratchIcon: true
git:
showBranch: true
showStaged: true
showUnstaged: true
showUntracked: true
compact: true # Groups dirty indicators into a tight `[+1 *2 ?3]` block
pr:
showStatus: true
# 🤖 Agents & Collab
subagents:
showEmpty: false # Display '0' instead of hiding
collab:
showParticipantCount: true
# ⏱️ Telemetry & Billing
cost:
showCost: true
showPremiumRequests: true
showSubscription: true
usage:
showFiveHour: true
showSevenDay: true
showReset: true
time:
format: "24h" # Enums: "12h" | "24h"
showSeconds: true
time_spent:
showIcon: true
# 📊 Tokens & Cache
token_in:
format: "k" # Enums: "short" | "full" | "k"
token_out:
format: "k"
token_total:
format: "k"
token_rate:
showIcon: true
cache_hit:
showPercentage: true
cache_read:
showIcon: true
cache_write:
showIcon: true
# 🖥️ System & Session
session:
length: 8 # Controls ID truncation
session_name:
maxLength: 24 # Caps lengthy session titles with an ellipsis
hostname:
full: false # False splits at first `.` to keep names short🛠️ Zero-Blocking Invariants Maintained
- Zero-Crashing: Unset options safely fallback using nullish coalescing (
?? {}). - Zero-State-Corruption: Icon/String concatenations conditionally wrap terminal ANSI color injections natively.
- Micro-manage Rendering: Colors accurately represent state variations strictly referencing pure tokens (e.g.
statusLineGitDirty,statusLineCost,statusLineSpend).
😇: [Custom Trinity Ascended. Micro-management Unlocked. Terminal Conquered.]