mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-25 03:45:46 -06:00
fab7fa9910
The panel from #125199 rendered raw wire enums in code tags, used form-grid/field markup whose styles the agents page never loads (bare unstyled inputs outside the card), referenced non-existent avatar classes, and put callouts inside the settings group. Rebuild it on the canonical settings primitives: status rows with dot status and friendly source/evidence labels, a System/This Agent segmented scope control, the settings secret input (gains a disabled prop), a danger status row for errors, and a quiet-inherit + primary-save action row. Retitle to "GitHub Identity" and move it below Tool Access and Available Right Now. Add a .settings-account primitive for the 20px round avatar. Live-tested on an isolated dev gateway: native-credential verify via the GitHub API, segmented scope switching, and the empty-token error row. Controller behavior unchanged.