@robota-sdk/agent-transport-webrtc 3.0.0-beta.86 → 3.0.0-beta.88
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 +27 -4
- package/README.md +3 -3
- package/dist/node/index.cjs +1 -1
- package/dist/node/index.d.cts +4 -2
- package/dist/node/index.d.cts.map +1 -1
- package/dist/node/index.d.ts +4 -2
- 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 +14 -15
- package/src/__tests__/admission-secure-by-default.test.ts +7 -5
- package/src/__tests__/device-mesh-relay.test.ts +6 -4
- package/src/__tests__/device-mesh.test.ts +59 -10
- package/src/__tests__/handoff-grant-gate.test.ts +4 -2
- package/src/__tests__/local-peer-proof-gate.test.ts +4 -2
- package/src/__tests__/mesh-discovery.test.ts +7 -5
- package/src/__tests__/mesh-fixtures.ts +10 -8
- package/src/__tests__/mesh-internet.test.ts +9 -7
- package/src/__tests__/mesh-turn-relay.test.ts +3 -1
- package/src/__tests__/negotiated-certificate.test.ts +1 -1
- package/src/__tests__/operator-approval-gate.test.ts +5 -3
- package/src/__tests__/outbound-delivery-carrier.test.ts +4 -2
- package/src/__tests__/pairing-e2e.test.ts +8 -6
- package/src/__tests__/pairing-gate-e3.test.ts +6 -4
- package/src/__tests__/pairing-gate-e4.test.ts +4 -2
- package/src/__tests__/pairing-gate.test.ts +6 -4
- package/src/__tests__/pairing-relay-in-the-middle.test.ts +6 -4
- package/src/__tests__/turn-test-client.ts +1 -1
- package/src/__tests__/webrtc-implementation.test.ts +3 -1
- package/src/__tests__/webrtc-transport.test.ts +11 -9
- package/src/device-mesh-node.ts +13 -7
- package/src/enrollment-link.ts +1 -1
- package/src/mesh-peer-link.ts +2 -2
- package/src/pairing-controllers.ts +4 -2
- package/src/pairing-gate-options.ts +3 -1
- package/src/rtc-peer.ts +1 -1
- package/src/webrtc-transport-options.ts +2 -0
- package/src/webrtc-transport.ts +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @robota-sdk/agent-transport-webrtc
|
|
2
2
|
|
|
3
|
+
## 3.0.0-beta.88
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @robota-sdk/agent-interface-session@3.0.0-beta.88
|
|
8
|
+
- @robota-sdk/agent-interface-session-mobility@3.0.0-beta.88
|
|
9
|
+
- @robota-sdk/agent-interface-transport@3.0.0-beta.88
|
|
10
|
+
- @robota-sdk/agent-remote-pairing@3.0.0-beta.88
|
|
11
|
+
- @robota-sdk/agent-transport@3.0.0-beta.88
|
|
12
|
+
|
|
13
|
+
## 3.0.0-beta.87
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Release the migrated Robota product with its public SDK namespace, robota command, compatible SDK exports, internal product configuration, and verified CLI startup and delivery corrections.
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
- Updated dependencies [7d9cc66]
|
|
20
|
+
- @robota-sdk/agent-interface-session@3.0.0-beta.87
|
|
21
|
+
- @robota-sdk/agent-interface-session-mobility@3.0.0-beta.87
|
|
22
|
+
- @robota-sdk/agent-interface-transport@3.0.0-beta.87
|
|
23
|
+
- @robota-sdk/agent-remote-pairing@3.0.0-beta.87
|
|
24
|
+
- @robota-sdk/agent-transport@3.0.0-beta.87
|
|
25
|
+
|
|
3
26
|
## 3.0.0-beta.86
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
@@ -124,7 +147,7 @@
|
|
|
124
147
|
- The device lists read from public records are bounded per paired device, each device's newest
|
|
125
148
|
before any device's next, and the chunks of one list carry a shared version, so a read that finds
|
|
126
149
|
chunks of two versions yields no list. Records written before this change are not read as lists.
|
|
127
|
-
- CLI processes that share
|
|
150
|
+
- CLI processes that share `$PRODUCT_USER_STATE_DIR/devices/address-cache.json` apply each change to the file as it
|
|
128
151
|
is on disk, so one process no longer overwrites what another learned.
|
|
129
152
|
|
|
130
153
|
- 4241fc5: Device mesh follow-ups.
|
|
@@ -210,7 +233,7 @@
|
|
|
210
233
|
pairwise secret (`derivePairRendezvous(...).relayInbox()`).
|
|
211
234
|
- `agent-cli` — a device holding the signing key reissues its roster and revocation list before they
|
|
212
235
|
expire while an interactive session runs. The host can open this device's mesh endpoint from the
|
|
213
|
-
identity under
|
|
236
|
+
identity under `$PRODUCT_USER_STATE_DIR/devices`, saving newer lists a peer hands over; no command starts it yet.
|
|
214
237
|
- `agent-command` — `/devices add|join` still reports that enrolment is not available yet.
|
|
215
238
|
|
|
216
239
|
- e15e22b: The Node WebRTC transport runs on `node-datachannel` (libdatachannel, DTLS by OpenSSL). The DTLS stack
|
|
@@ -234,7 +257,7 @@
|
|
|
234
257
|
The tool reaches only files inside the workspace whose path does not look like it holds secrets
|
|
235
258
|
(`.env*`, `~/.ssh`, keys and credentials), and it does not exist in a turn a peer's message started.
|
|
236
259
|
- The receiving operator approves every file. A received file is kept as an inert copy (mode 0600)
|
|
237
|
-
under
|
|
260
|
+
under `$PRODUCT_USER_STATE_DIR/peer-files/<sender>/`. It is never run and never placed in the model's context.
|
|
238
261
|
The conversation is told only its name, size and sha256. A name that leaves that directory is
|
|
239
262
|
refused, a symbolic link is never written through, and nothing is overwritten.
|
|
240
263
|
- Transfers travel on a channel of their own (a separate connection on this host, a separate data
|
|
@@ -326,7 +349,7 @@
|
|
|
326
349
|
rate. Discovery yields candidates only: admission is still the device handshake, and an address is
|
|
327
350
|
remembered only after an admission it carried.
|
|
328
351
|
- `agent-cli` — the device mesh endpoint can look on the local network (`lan` option), remembering
|
|
329
|
-
the addresses that worked in an owner-only
|
|
352
|
+
the addresses that worked in an owner-only `$PRODUCT_USER_STATE_DIR/devices/address-cache.json`; no command starts
|
|
330
353
|
it yet.
|
|
331
354
|
|
|
332
355
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @robota-sdk/agent-transport-webrtc
|
|
2
2
|
|
|
3
|
-
WebRTC peer-to-peer transport for the Robota SDK (Node.js). `WebRtcTransport` carries
|
|
3
|
+
WebRTC peer-to-peer transport for the Robota SDK (Node.js). `WebRtcTransport` carries an agent runtime
|
|
4
4
|
session over an `RTCDataChannel`, so a remote client can drive a live session directly, peer to
|
|
5
5
|
peer, without session content passing through a server. It reuses the transport-neutral session
|
|
6
6
|
bridge and wire protocol from `@robota-sdk/agent-transport`, the same ones the WebSocket transport
|
|
@@ -102,10 +102,10 @@ requires attaching again.
|
|
|
102
102
|
- [`@robota-sdk/agent-transport-webrtc-web`](../agent-transport-webrtc-web/README.md): the browser
|
|
103
103
|
peer that answers this transport's offer (internal).
|
|
104
104
|
|
|
105
|
-
For how the
|
|
105
|
+
For how the agent runtime CLI uses this for remote control and connecting your own devices, see the
|
|
106
106
|
[devices and remote access guide](../../content/guide/devices-and-remote.md). See
|
|
107
107
|
[docs/SPEC.md](docs/SPEC.md) for the package contract.
|
|
108
108
|
|
|
109
109
|
## License
|
|
110
110
|
|
|
111
|
-
|
|
111
|
+
This package is dual-licensed under the [GNU AGPL-3.0](../../LICENSE) or a [commercial license](../../COMMERCIAL.md). See [LICENSING.md](../../LICENSING.md).
|