docs: refresh gateway rpc safe-flow mirrors

This commit is contained in:
Peter Steinberger
2026-04-04 20:32:28 +01:00
parent 13396fa99e
commit 976bc47458
3 changed files with 15 additions and 1 deletions

View File

@@ -522,6 +522,17 @@ Most fields hot-apply without downtime. In `hybrid` mode, restart-required chang
Control-plane write RPCs (`config.apply`, `config.patch`, `update.run`) are rate-limited to **3 requests per 60 seconds** per `deviceId+clientIp`. When limited, the RPC returns `UNAVAILABLE` with `retryAfterMs`.
</Note>
Safe/default flow:
- `config.schema.lookup`: inspect one path-scoped config subtree with field docs
- `config.get`: fetch the current snapshot + hash
- `config.patch`: preferred partial update path
- `config.apply`: full-config replacement only
- `update.run`: explicit self-update + restart
When you are not replacing the entire config, prefer `config.schema.lookup`
then `config.patch`.
<AccordionGroup>
<Accordion title="config.apply (full replace)">
Validates + writes the full config and restarts the Gateway in one step.

View File

@@ -542,7 +542,7 @@ change other sessions.
Two built-in tools can make persistent control-plane changes:
- `gateway` can call `config.apply`, `config.patch`, and `update.run`.
- `gateway` can inspect config with `config.schema.lookup` / `config.get`, and can make persistent changes with `config.apply`, `config.patch`, and `update.run`.
- `cron` can create scheduled jobs that keep running after the original chat/task ends.
For any agent/surface that handles untrusted content, deny these by default: