You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/gateway/protocol.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,6 +113,11 @@ above). `pluginSurfaceUrls` is optional and maps plugin surface names (e.g.
113
113
`node.pluginSurface.refresh` with `{ "surface": "canvas" }` for a fresh entry.
114
114
The deprecated `canvasHostUrl` / `canvasCapability` / `node.canvas.capability.refresh`
115
115
path is not supported; use plugin surfaces.
116
+
The snapshot's optional `appliedConfigHash` is the resolved source-config revision
117
+
accepted by the active Gateway runtime. Clients can compare it with
118
+
`config.get.configRevisionHash` to determine whether a newer saved config still
119
+
needs a restart. `config.get.hash` remains the raw root-file revision used by
120
+
config write conflict guards.
116
121
117
122
While the gateway is still finishing startup sidecars, `connect` can return a
118
123
retryable `UNAVAILABLE` error with `details.reason: "startup-sidecars"` and
@@ -487,7 +492,7 @@ methods. Treat this as feature discovery, not a full enumeration of
487
492
<Accordiontitle="Secrets, config, update, and wizard">
488
493
- `secrets.reload` re-resolves active SecretRefs and swaps runtime secret state only on full success.
489
494
- `secrets.resolve` resolves command-target secret assignments for a specific command/target set.
490
-
- `config.get` returns the current config snapshot and hash.
495
+
- `config.get` returns the current on-disk config snapshot, raw root-file `hash`, resolved `configRevisionHash`, and optional `appliedConfigHash` for the resolved revision accepted by the active Gateway runtime.
491
496
- `config.set` writes a validated config payload.
492
497
- `config.patch` merges a partial config update. Destructive array replacement requires the affected path in `replacePaths`; nested arrays under array entries use `[]` paths such as `agents.list[].skills`.
493
498
- `config.apply` validates + replaces the full config payload.
0 commit comments