Diffs: add viewer payload validation and presentation defaults

This commit is contained in:
Gustavo Madeira Santana
2026-03-01 22:06:50 -05:00
parent 0202d79df4
commit 6532757cdf
13 changed files with 345 additions and 40 deletions

View File

@@ -92,7 +92,10 @@ Set plugin-wide defaults in `~/.openclaw/openclaw.json`:
defaults: {
fontFamily: "Fira Code",
fontSize: 15,
lineSpacing: 1.6,
layout: "unified",
showLineNumbers: true,
diffIndicators: "bars",
wordWrap: true,
background: true,
theme: "dark",
@@ -109,7 +112,10 @@ Supported defaults:
- `fontFamily`
- `fontSize`
- `lineSpacing`
- `layout`
- `showLineNumbers`
- `diffIndicators`
- `wordWrap`
- `background`
- `theme`