The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
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.tsindex 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.pyindex 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`` tsession's event stream (a background process outlives the turn that started it). The callbacksare 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 annotationsdiff --git a/gateway/session_control_actions.py b/gateway/session_control_actions.pyindex 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 Pathfrom agent.i18n import tfrom gateway.platforms.base import MessageEventdiff --git a/tests/gateway/fixtures/tui_desktop_routes_peer.py b/tests/gateway/fixtures/tui_desktop_routes_peer.pyindex 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_scopefrom tools.connectors import livefrom tools.connectors.contract import Actor, TargetState- import tools.connectors as connectors+ from tools import connectorsfrom tools.connectors.gateway.errors import GatewayAuthErrorfrom tools.connectors.operation import ConnectionOperation, Target