@urun-sh/core 0.5.0 → 0.5.2

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 CHANGED
@@ -1,6 +1,27 @@
1
1
  # Changelog
2
2
 
3
- ## 0.5.0
3
+ ## 0.5.2
4
+
5
+ - Preserve the active WT microphone reader and encoder when page recovery
6
+ reattaches the same live track. Queued audio, frame sequence and timestamps
7
+ continue without a capture restart. Ended tracks are not mistaken for a live
8
+ capture even before the reader's completion callback runs; replacement,
9
+ stop, failure and fresh uplink instances still follow the existing lifecycle.
10
+
11
+ ## 0.5.1
12
+
13
+ - **FIX: `end()`'s own transport teardown no longer clobbers the server's confirmed park
14
+ reason.** `Session.end()` → `POST /api/sessions/{id}/end` already answers authoritatively
15
+ (`{status: 'paused', reason: 'client_ended'}`), but the transport teardown that same call
16
+ triggers used to unconditionally re-stamp `session.phase` with a hardcoded
17
+ `client_detached` — so the reactive `session.phase` stream never reflected what the server
18
+ actually said. `TransportSession.disconnect()` now takes an optional `reason` (default
19
+ `client_detached`, unchanged for an unsolicited transport loss); `Session.end()` threads the
20
+ `/end` response's own `reason` through `Session.detach()` into it, so a self-initiated end
21
+ settles at the server's answer instead of a generic client-side detach. Every other caller
22
+ of `disconnect()`/`detach()` (including an unsolicited socket death) is unaffected.
23
+ - Lockstep release of `@urun-sh/core`, `@urun-sh/react`, `@urun-sh/openai`, `@urun-sh/next`
24
+ (peer ranges bumped to `^0.5.1` where they pin core).
4
25
 
5
26
  - **BREAKING: `end()` PARKS, and `cancel()` is the admission-ticket verb** (owner ruling D3,
6
27
  2026-09-06; Review A §5.1 "two end verbs", §3.3 residue).