@robota-sdk/agent-transport-webrtc 3.0.0-beta.83 → 3.0.0-beta.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -0
- package/README.md +9 -3
- package/dist/node/index.cjs +1 -1
- package/dist/node/index.d.cts.map +1 -1
- package/dist/node/index.d.ts.map +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node/index.js.map +1 -1
- package/package.json +8 -8
- package/src/pairing-gate-options.ts +2 -0
- package/src/session-attachment.ts +4 -0
- package/src/webrtc-transport.ts +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
# @robota-sdk/agent-transport-webrtc
|
|
2
2
|
|
|
3
|
+
## 3.0.0-beta.85
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [9a01e78]
|
|
8
|
+
- @robota-sdk/agent-transport@3.0.0-beta.85
|
|
9
|
+
- @robota-sdk/agent-interface-session@3.0.0-beta.85
|
|
10
|
+
- @robota-sdk/agent-interface-session-mobility@3.0.0-beta.85
|
|
11
|
+
- @robota-sdk/agent-interface-transport@3.0.0-beta.85
|
|
12
|
+
- @robota-sdk/agent-remote-pairing@3.0.0-beta.85
|
|
13
|
+
|
|
14
|
+
## 3.0.0-beta.84
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 9c6a8db: The wire protocol gained several request/reply pairs so a GUI never has to scrape command output for
|
|
19
|
+
data it can read directly.
|
|
20
|
+
|
|
21
|
+
`get-settings`/`update-settings` read and write the Settings screen; a patch applies through the same
|
|
22
|
+
function its matching slash command uses, so the two paths cannot drift. `list-models` returns the
|
|
23
|
+
configured models grouped by provider profile, with the current profile and model. `get-agent-definitions`
|
|
24
|
+
returns the agent switcher's roster and current selection. `project-status`, `project-diff` and
|
|
25
|
+
`project-memory` back the Project panel's git status, one file's diff, and project memory; a host
|
|
26
|
+
without this capability answers `protocol_error` instead of hanging. `rename-session` and
|
|
27
|
+
`delete-session` rename or remove a stored session from the list, current or not, each with its own
|
|
28
|
+
success/failure reply.
|
|
29
|
+
|
|
30
|
+
The `messages` frame gained an optional `display` field — the same history projected into display
|
|
31
|
+
segments (text runs and finished tool calls, diffs included) — and the connection's own `driverId`, so
|
|
32
|
+
a reload, reconnect or resume shows tool rows and tells a co-driver's turns from its own. The `error`
|
|
33
|
+
frame gained optional `code`, `provider`, `retryAfterSeconds` and `model` fields so a renderer can say
|
|
34
|
+
what kind of failure happened (`auth`, `rate_limit`, `model_unavailable`, `network`, `provider`) instead
|
|
35
|
+
of showing only raw text; a session error this classification does not recognize is unchanged.
|
|
36
|
+
|
|
37
|
+
`TCommandSurfaceLocality` names whether a `'remote'`-sourced command is provably on this machine. The
|
|
38
|
+
WebRTC/device-mesh transport now forwards `'remote'` for it (it proves no locality, the same rule
|
|
39
|
+
already applied to pairing), and both the WS and WebRTC transports forward it into the Settings
|
|
40
|
+
read/write path, so a command that refuses a remote surface (installing a plugin) refuses identically
|
|
41
|
+
regardless of which transport carried it.
|
|
42
|
+
|
|
43
|
+
- Updated dependencies [e8d70ac]
|
|
44
|
+
- Updated dependencies [9c6a8db]
|
|
45
|
+
- @robota-sdk/agent-interface-session@3.0.0-beta.84
|
|
46
|
+
- @robota-sdk/agent-transport@3.0.0-beta.84
|
|
47
|
+
- @robota-sdk/agent-interface-session-mobility@3.0.0-beta.84
|
|
48
|
+
- @robota-sdk/agent-interface-transport@3.0.0-beta.84
|
|
49
|
+
- @robota-sdk/agent-remote-pairing@3.0.0-beta.84
|
|
50
|
+
|
|
3
51
|
## 3.0.0-beta.83
|
|
4
52
|
|
|
5
53
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ uses. The package also contains the building blocks for connecting one user's de
|
|
|
13
13
|
npm install @robota-sdk/agent-transport-webrtc @robota-sdk/agent-transport node-datachannel
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
Requires Node.js 22 or later. The WebRTC implementation, `node-datachannel` (libdatachannel, a
|
|
16
|
+
Requires Node.js 22.12 or later. The WebRTC implementation, `node-datachannel` (libdatachannel, a
|
|
17
17
|
native module), is an optional peer dependency loaded lazily. If it is not installed or has no
|
|
18
18
|
prebuilt binary for the platform, `start()` fails with an explicit `WebRTC transport unavailable`
|
|
19
19
|
error; there is no fallback implementation. `@robota-sdk/agent-transport` provides the
|
|
@@ -87,7 +87,9 @@ requires attaching again.
|
|
|
87
87
|
- Relay: `TurnServer` and `MeshTurnRelay`, a TURN relay one of the user's devices can run for its
|
|
88
88
|
paired devices.
|
|
89
89
|
- Enrollment: `dialEnrollment` and `listenForEnrollment` open the channel used to enroll a new
|
|
90
|
-
device
|
|
90
|
+
device; they fail with `EnrollmentLinkError`.
|
|
91
|
+
- Admission frames: `localProofFrame` (the local-peer nonce) and `handoffGrantFrame` /
|
|
92
|
+
`judgeHandoffGrant` (a signed cross-device hand-off grant, verified by a host-supplied verifier).
|
|
91
93
|
|
|
92
94
|
## Related packages
|
|
93
95
|
|
|
@@ -97,8 +99,12 @@ requires attaching again.
|
|
|
97
99
|
DTLS-fingerprint channel binding the pairing gate uses.
|
|
98
100
|
- [`@robota-sdk/agent-transport-ws`](../agent-transport-ws/README.md): the WebSocket transport for
|
|
99
101
|
the same protocol.
|
|
102
|
+
- [`@robota-sdk/agent-transport-webrtc-web`](../agent-transport-webrtc-web/README.md): the browser
|
|
103
|
+
peer that answers this transport's offer (internal).
|
|
100
104
|
|
|
101
|
-
|
|
105
|
+
For how the Robota CLI uses this for remote control and connecting your own devices, see the
|
|
106
|
+
[devices and remote access guide](../../content/guide/devices-and-remote.md). See
|
|
107
|
+
[docs/SPEC.md](docs/SPEC.md) for the package contract.
|
|
102
108
|
|
|
103
109
|
## License
|
|
104
110
|
|