adding config layer

This commit is contained in:
Gustavo Madeira Santana
2026-02-28 19:20:07 -05:00
parent 1828fdee8b
commit 812a996b2f
13 changed files with 487 additions and 31 deletions

View File

@@ -54,6 +54,35 @@ Useful options:
- `ttlSeconds`: artifact lifetime
- `baseUrl`: override the gateway base URL used in the returned viewer link
## Plugin Defaults
Set plugin-wide defaults in `~/.openclaw/openclaw.json`:
```json5
{
plugins: {
entries: {
diffs: {
enabled: true,
config: {
defaults: {
fontFamily: "Fira Code",
fontSize: 15,
layout: "unified",
wordWrap: true,
background: true,
theme: "dark",
mode: "both",
},
},
},
},
},
}
```
Explicit tool parameters still win over these defaults.
## Example Agent Prompts
Open in canvas: