Skip to content

The agent that grows with you

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

mj73e9b1a12448
diff --git a/apps/desktop/src/app/contrib/types.ts b/apps/desktop/src/app/contrib/types.ts
index bc9142c8e4e..44b8df9a4b3 100644
--- a/apps/desktop/src/app/contrib/types.ts
+++ b/apps/desktop/src/app/contrib/types.ts
@@ -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