Skip to content

The agent that grows with you

style: unwrap the lane's comment paragraphs

yoniebansc5504c6c0bc3
diff --git a/apps/desktop/src/api/canonical-protocol.ts b/apps/desktop/src/api/canonical-protocol.ts
index f779d195d55..1080c8db139 100644
--- a/apps/desktop/src/api/canonical-protocol.ts
+++ b/apps/desktop/src/api/canonical-protocol.ts
@@ -147,8 +147,7 @@ export function splitRewindSubmit(params: Record<string, unknown>): { rewind: Re
// `preview.restart` is served by the owner (gateway/session_tui_side.py).
const SIDECAR_SESSION_VERBS = new Set(['handoff.request', 'handoff.state', 'handoff.fail'])
-// The manage_connections card's calls the owner serves for a session-owned operation
-// (gateway/session_connections.py); any other session-owned connector call stays refused.
+// The manage_connections card's calls the owner serves for a session-owned operation (gateway/session_connections.py); any other session-owned connector call stays refused.
const OWNER_CONNECTION_VERBS = new Set([
'connection.respond',
'connectors.operation.status',
diff --git a/gateway/local_desktop_ui.py b/gateway/local_desktop_ui.py
index 75ca1d38129..2de0264a63a 100644
--- a/gateway/local_desktop_ui.py
+++ b/gateway/local_desktop_ui.py
@@ -22,10 +22,7 @@ execution stream, and the process sinks route by the process's ``session_key`` t
session's event stream (a background process outlives the turn that started it). The callbacks
are installed per turn on the cached agent and restored with the other turn sinks.
-Card for ``manage_connections``: ``connection_callback`` publishes ``connection.request`` on the turn,
-and each later change of an operation is published as ``connection.update`` on the session that owns
-it (looked up by its session key, the route); the card answers through ``connection.respond``
-(``gateway/session_connections.py``).
+Card for ``manage_connections``: ``connection_callback`` publishes ``connection.request`` on the turn, and each later change of an operation is published as ``connection.update`` on the session that owns it (looked up by its session key, the route); the card answers through ``connection.respond`` (``gateway/session_connections.py``).
"""
from __future__ import annotations
diff --git a/gateway/session_control_actions.py b/gateway/session_control_actions.py
index 48fde484910..1a27557ee23 100644
--- a/gateway/session_control_actions.py
+++ b/gateway/session_control_actions.py
@@ -34,8 +34,7 @@ def _validate(action, args):
async def _subgoal(connection, ref, params, action, args):
- """A criterion button on the session's goal manager. A goal that is gone or an index that no longer
- exists is a refusal the card shows; the typed /subgoal command reports the same cases as text."""
+ """A criterion button on the session's goal manager. A goal that is gone or an index that no longer exists is a refusal the card shows; the typed /subgoal command reports the same cases as text."""
from pathlib import Path
from agent.i18n import t
from gateway.platforms.base import MessageEvent
diff --git a/tests/gateway/fixtures/tui_desktop_routes_peer.py b/tests/gateway/fixtures/tui_desktop_routes_peer.py
index 1a81f28fe66..815ac9627ca 100644
--- a/tests/gateway/fixtures/tui_desktop_routes_peer.py
+++ b/tests/gateway/fixtures/tui_desktop_routes_peer.py
@@ -222,7 +222,7 @@ async def _connection_card(authority, ws, reader, sid, marker, receipt):
from gateway.run import _profile_runtime_scope
from tools.connectors import live
from tools.connectors.contract import Actor, TargetState
- import tools.connectors as connectors
+ from tools import connectors
from tools.connectors.gateway.errors import GatewayAuthError
from tools.connectors.operation import ConnectionOperation, Target