From 73e9b1a12448db9834de6ba876cf56ea44ece55b Mon Sep 17 00:00:00 2001 From: mj Date: Fri, 14 Aug 2026 23:03:31 -0700 Subject: [PATCH] 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) --- apps/desktop/src/app/contrib/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/desktop/src/app/contrib/types.ts b/apps/desktop/src/app/contrib/types.ts index bc9142c8e4..44b8df9a4b 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['gateway'] openAgents: () => void openCommandCenterSection: (section: CommandCenterSection) => void