@robota-sdk/agent-transport-webrtc 3.0.0-beta.86 → 3.0.0-beta.87

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.
Files changed (38) hide show
  1. package/CHANGELOG.md +17 -4
  2. package/README.md +3 -3
  3. package/dist/node/index.cjs +1 -1
  4. package/dist/node/index.d.cts +4 -2
  5. package/dist/node/index.d.cts.map +1 -1
  6. package/dist/node/index.d.ts +4 -2
  7. package/dist/node/index.d.ts.map +1 -1
  8. package/dist/node/index.js +1 -1
  9. package/dist/node/index.js.map +1 -1
  10. package/package.json +14 -15
  11. package/src/__tests__/admission-secure-by-default.test.ts +7 -5
  12. package/src/__tests__/device-mesh-relay.test.ts +6 -4
  13. package/src/__tests__/device-mesh.test.ts +59 -10
  14. package/src/__tests__/handoff-grant-gate.test.ts +4 -2
  15. package/src/__tests__/local-peer-proof-gate.test.ts +4 -2
  16. package/src/__tests__/mesh-discovery.test.ts +7 -5
  17. package/src/__tests__/mesh-fixtures.ts +10 -8
  18. package/src/__tests__/mesh-internet.test.ts +9 -7
  19. package/src/__tests__/mesh-turn-relay.test.ts +3 -1
  20. package/src/__tests__/negotiated-certificate.test.ts +1 -1
  21. package/src/__tests__/operator-approval-gate.test.ts +5 -3
  22. package/src/__tests__/outbound-delivery-carrier.test.ts +4 -2
  23. package/src/__tests__/pairing-e2e.test.ts +8 -6
  24. package/src/__tests__/pairing-gate-e3.test.ts +6 -4
  25. package/src/__tests__/pairing-gate-e4.test.ts +4 -2
  26. package/src/__tests__/pairing-gate.test.ts +6 -4
  27. package/src/__tests__/pairing-relay-in-the-middle.test.ts +6 -4
  28. package/src/__tests__/turn-test-client.ts +1 -1
  29. package/src/__tests__/webrtc-implementation.test.ts +3 -1
  30. package/src/__tests__/webrtc-transport.test.ts +11 -9
  31. package/src/device-mesh-node.ts +13 -7
  32. package/src/enrollment-link.ts +1 -1
  33. package/src/mesh-peer-link.ts +2 -2
  34. package/src/pairing-controllers.ts +4 -2
  35. package/src/pairing-gate-options.ts +3 -1
  36. package/src/rtc-peer.ts +1 -1
  37. package/src/webrtc-transport-options.ts +2 -0
  38. package/src/webrtc-transport.ts +2 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @robota-sdk/agent-transport-webrtc
2
2
 
3
+ ## 3.0.0-beta.87
4
+
5
+ ### Patch Changes
6
+
7
+ - 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.
8
+ - Updated dependencies
9
+ - Updated dependencies [7d9cc66]
10
+ - @robota-sdk/agent-interface-session@3.0.0-beta.87
11
+ - @robota-sdk/agent-interface-session-mobility@3.0.0-beta.87
12
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.87
13
+ - @robota-sdk/agent-remote-pairing@3.0.0-beta.87
14
+ - @robota-sdk/agent-transport@3.0.0-beta.87
15
+
3
16
  ## 3.0.0-beta.86
4
17
 
5
18
  ### Patch Changes
@@ -124,7 +137,7 @@
124
137
  - The device lists read from public records are bounded per paired device, each device's newest
125
138
  before any device's next, and the chunks of one list carry a shared version, so a read that finds
126
139
  chunks of two versions yields no list. Records written before this change are not read as lists.
127
- - CLI processes that share `~/.robota/devices/address-cache.json` apply each change to the file as it
140
+ - CLI processes that share `$PRODUCT_USER_STATE_DIR/devices/address-cache.json` apply each change to the file as it
128
141
  is on disk, so one process no longer overwrites what another learned.
129
142
 
130
143
  - 4241fc5: Device mesh follow-ups.
@@ -210,7 +223,7 @@
210
223
  pairwise secret (`derivePairRendezvous(...).relayInbox()`).
211
224
  - `agent-cli` — a device holding the signing key reissues its roster and revocation list before they
212
225
  expire while an interactive session runs. The host can open this device's mesh endpoint from the
213
- identity under `~/.robota/devices`, saving newer lists a peer hands over; no command starts it yet.
226
+ identity under `$PRODUCT_USER_STATE_DIR/devices`, saving newer lists a peer hands over; no command starts it yet.
214
227
  - `agent-command` — `/devices add|join` still reports that enrolment is not available yet.
215
228
 
216
229
  - e15e22b: The Node WebRTC transport runs on `node-datachannel` (libdatachannel, DTLS by OpenSSL). The DTLS stack
@@ -234,7 +247,7 @@
234
247
  The tool reaches only files inside the workspace whose path does not look like it holds secrets
235
248
  (`.env*`, `~/.ssh`, keys and credentials), and it does not exist in a turn a peer's message started.
236
249
  - The receiving operator approves every file. A received file is kept as an inert copy (mode 0600)
237
- under `~/.robota/peer-files/<sender>/`. It is never run and never placed in the model's context.
250
+ under `$PRODUCT_USER_STATE_DIR/peer-files/<sender>/`. It is never run and never placed in the model's context.
238
251
  The conversation is told only its name, size and sha256. A name that leaves that directory is
239
252
  refused, a symbolic link is never written through, and nothing is overwritten.
240
253
  - Transfers travel on a channel of their own (a separate connection on this host, a separate data
@@ -326,7 +339,7 @@
326
339
  rate. Discovery yields candidates only: admission is still the device handshake, and an address is
327
340
  remembered only after an admission it carried.
328
341
  - `agent-cli` — the device mesh endpoint can look on the local network (`lan` option), remembering
329
- the addresses that worked in an owner-only `~/.robota/devices/address-cache.json`; no command starts
342
+ the addresses that worked in an owner-only `$PRODUCT_USER_STATE_DIR/devices/address-cache.json`; no command starts
330
343
  it yet.
331
344
 
332
345
  ### 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 a Robota
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 Robota CLI uses this for remote control and connecting your own devices, see 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
- Robota is dual-licensed under the [GNU AGPL-3.0](../../LICENSE) or a [commercial license](../../COMMERCIAL.md). See [LICENSING.md](../../LICENSING.md).
111
+ This package is dual-licensed under the [GNU AGPL-3.0](../../LICENSE) or a [commercial license](../../COMMERCIAL.md). See [LICENSING.md](../../LICENSING.md).