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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user