mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-21 10:01:37 -06:00
6ccc57b331
* Add ssrf protection to Beam fetches. * Additional robustness following initial comments. * fix(beam): make redirect failures terminal * chore(plugin-sdk): refresh surface budget * docs(beam): define redirect restart behavior * docs(beam): align redirect config help * test(beam): cover warning before redirect block * fix(beam): always report terminal redirect blocks --------- Co-authored-by: joshavant <830519+joshavant@users.noreply.github.com>
50 lines
1.2 KiB
JSON
50 lines
1.2 KiB
JSON
{
|
|
"id": "beam",
|
|
"activation": {
|
|
"onStartup": false,
|
|
"onConfigPaths": ["plugins.entries.beam"]
|
|
},
|
|
"uiHints": {
|
|
"mirror.endpoint": {
|
|
"label": "Mirror Endpoint",
|
|
"help": "Final Beam receiver URL, e.g. https://team.example.com/api/v1/beam/sessions. Redirects are not followed; retries pause until the service restarts or the endpoint changes."
|
|
},
|
|
"mirror.token": {
|
|
"label": "Mirror Token",
|
|
"help": "Gateway credential for the remote receiver, sent as a Bearer token.",
|
|
"sensitive": true
|
|
}
|
|
},
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"mirror": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["endpoint", "catalogs"],
|
|
"properties": {
|
|
"endpoint": {
|
|
"type": "string"
|
|
},
|
|
"token": {
|
|
"type": ["string", "object"]
|
|
},
|
|
"catalogs": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"pollSeconds": {
|
|
"type": "number"
|
|
},
|
|
"activeWindowMinutes": {
|
|
"type": "number"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|