chore(sync): mirror docs from openclaw/openclaw@9c0975c1c2
This commit is contained in:
parent
ccbab4faf7
commit
e437b192d6
@ -1,5 +1,5 @@
|
||||
{
|
||||
"repository": "openclaw/openclaw",
|
||||
"sha": "42584964ac08d824c5ce12cb196e70920a3e2f49",
|
||||
"syncedAt": "2026-05-01T14:44:49.777Z"
|
||||
"sha": "9c0975c1c20ed635532c7aa0f510154224adee7f",
|
||||
"syncedAt": "2026-05-01T15:11:34.815Z"
|
||||
}
|
||||
|
||||
@ -93,7 +93,9 @@ Native slash commands are opt-in. When enabled, OpenClaw registers `oc_*` slash
|
||||
- If `callbackUrl` is omitted, OpenClaw derives one from gateway host/port + `callbackPath`.
|
||||
- For multi-account setups, `commands` can be set at the top level or under `channels.mattermost.accounts.<id>.commands` (account values override top-level fields).
|
||||
- Command callbacks are validated with the per-command tokens returned by Mattermost when OpenClaw registers `oc_*` commands.
|
||||
- Slash callbacks fail closed when registration failed, startup was partial, or the callback token does not match one of the registered commands.
|
||||
- OpenClaw refreshes current Mattermost command registration before accepting each callback so stale tokens from deleted or regenerated slash commands stop being accepted without a gateway restart.
|
||||
- Callback validation fails closed if the Mattermost API cannot confirm the command is still current; failed validations are cached briefly, concurrent lookups are coalesced, and fresh lookup starts are rate-limited per command to bound replay pressure.
|
||||
- Slash callbacks fail closed when registration failed, startup was partial, or the callback token does not match the resolved command's registered token (a token valid for one command cannot reach upstream validation for a different command).
|
||||
|
||||
</Accordion>
|
||||
<Accordion title="Reachability requirement">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user