Docs: refresh diffs plugin docs

This commit is contained in:
Gustavo Madeira Santana
2026-04-02 21:47:55 -04:00
parent ebc9784f26
commit 0fdb55c4e4
2 changed files with 30 additions and 4 deletions

View File

@@ -60,11 +60,20 @@ Useful options:
- `fileMaxWidth`: max width override in CSS pixels (`640`-`2400`)
- `expandUnchanged`: expand unchanged sections (per-call option only, not a plugin default key)
- `path`: display name for before and after input
- `lang`: language hint for before/after input; unknown values fall back to plain text
- `title`: explicit viewer title
- `ttlSeconds`: artifact lifetime
- `ttlSeconds`: artifact lifetime for viewer and standalone file outputs
- `baseUrl`: override the gateway base URL used in the returned viewer link (origin or origin+base path only; no query/hash)
- `viewerBaseUrl` plugin config: persistent fallback used when a tool call omits `baseUrl`
Legacy input aliases still accepted for backward compatibility:
- `format` -> `fileFormat`
- `imageFormat` -> `fileFormat`
- `imageQuality` -> `fileQuality`
- `imageScale` -> `fileScale`
- `imageMaxWidth` -> `fileMaxWidth`
Input safety limits:
- `before` and `after`: max 512 KiB each