@@ -13,7 +13,7 @@ const EventEmitter = require('events');
1313/**
1414 * @typedef {Object } CapabilityFrame
1515 * @property {string|number } [id] - Caller-assigned request id (echoed in reply).
16- * @property {'call'|'publish'|'subscribe'|'unsubscribe'|'action' } [kind] - Request kind (C→S only). `'action'` is reserved ( returns `code: 'not_implemented'` until 2.2.x) .
16+ * @property {'call'|'publish'|'subscribe'|'unsubscribe'|'action' } [kind] - Request kind (C→S only). `'action'` is reserved and currently returns `code: 'not_implemented'`.
1717 * @property {string } [capability] - Capability name, e.g. `/cmd_vel`.
1818 * @property {* } [payload] - Message payload (call request, publish msg, sub event).
1919 * @property {string|number } [subId] - For unsubscribe: id of the original subscribe.
@@ -26,17 +26,17 @@ const EventEmitter = require('events');
2626/**
2727 * Per-connection abstraction handed to the runtime by a transport adapter.
2828 *
29- * The transport owns the wire (WebSocket today; HTTP/SSE planned for 2.2.0 )
29+ * The transport owns the wire (WebSocket today; other adapters may follow )
3030 * and exposes each connection as a `Connection` so the runtime can stay
3131 * transport-agnostic. Concrete adapters subclass `Connection` and call
3232 * `this.emit('message', frame)` / `this.emit('close')` as frames arrive on
3333 * the wire, and implement `send(frame)` / `close(code, reason)` to push
3434 * frames back out.
3535 *
36- * @experimental — the base class shape may grow in 2.2 (e.g. backpressure
37- * hooks for SSE) and is not part of the SemVer-stable surface for
38- * third-party adapter authors. The first-party `WebSocketTransport` is
39- * stable and recommended for production use.
36+ * @experimental — the base class shape may grow (e.g. backpressure hooks)
37+ * and is not part of the SemVer-stable surface for third-party adapter
38+ * authors. The first-party `WebSocketTransport` is stable and recommended
39+ * for production use.
4040 *
4141 * @event Connection#message
4242 * @type {CapabilityFrame }
@@ -74,11 +74,11 @@ class Connection extends EventEmitter {
7474 * 3. Calls `onConnection(conn)` from the start options once per client.
7575 *
7676 * The runtime never speaks to the wire directly — it only consumes the
77- * Connection event surface. This is the seam that lets us add the HTTP/SSE
78- * adapter in 2.2.0 without touching the runtime or the SDK.
77+ * Connection event surface. This is the seam that lets future adapters
78+ * (HTTP, etc.) drop in without touching the runtime or the SDK.
7979 *
8080 * @experimental — same forward-compat caveat as {@link Connection}: the
81- * adapter contract may grow in 2.2 to support new transports. First-party
81+ * adapter contract may grow to support new transports. First-party
8282 * `WebSocketTransport` is stable.
8383 */
8484class TransportAdapter {
0 commit comments