Files
dgtlmoonandClaude Opus 5.5 e01f965353 Plugin hooks for changing the request and per-watch plugin settings (#4712)
Three new hooks (plugin API 0.7.0), so features like OAuth 2.0 client
credentials (#375), HMAC signing or rotating API keys can live in plugins
instead of core:

- fetch_request_alter: change headers, method and body just before the
  fetch; gets the check's proxy URL. Exceptions fail the check rather than
  sending the request without what the plugin meant to add.
- ui_edit_request_settings: a plugin's WTForms form nested into the edit
  page's Request tab under "Show advanced options", validated with the
  page, saved to {watch data dir}/{plugin_id}.json, never the watch itself.
- watch_settings_files: files "Clear history" keeps, beside the
  processors' {processor}.json.

plugin_api exports load_watch_plugin_settings / save_watch_plugin_settings.
Adds the request/api_key_header example plugin, which uses all three.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:22:08 +01:00
..