docs(desktop): align getGateway docstring with $gateway atom subscription

Residual hunk from PR #84832's picker-rebind commit; the functional
surfaces.tsx change landed on main via #86250.

(cherry picked from commit 990936d6f6e752ddb474787c1f7fdc3ad4f4dc60, docstring hunk only)
This commit is contained in:
mj
2026-08-14 23:03:31 -07:00
committed by Teknium
parent 20e5d78f54
commit 73e9b1a124
+2 -2
View File
@@ -59,8 +59,8 @@ export type ChatActions = Pick<
* the latest closure.
*/
export interface WiringActions extends SidebarActions, ChatActions {
/** The live gateway instance (held in a controller ref). Surfaces recapture
* it by subscribing to `$gatewayState`, so no gateway prop needs threading. */
/** Imperative access to the live gateway for controller-owned callbacks.
* Rendered surfaces subscribe to the active `$gateway` atom directly. */
getGateway: () => ComponentProps<typeof ChatView>['gateway']
openAgents: () => void
openCommandCenterSection: (section: CommandCenterSection) => void