@urun-sh/core 0.5.0 → 0.5.1
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 +14 -1
- package/dist/{chunk-PAXFCPIL.mjs → chunk-DEL3BEYT.mjs} +1 -1
- package/dist/{chunk-XHXPCJYZ.mjs → chunk-NTMFUGAJ.mjs} +1 -1
- package/dist/index.browser.d.mts +3 -3
- package/dist/index.browser.d.ts +3 -3
- package/dist/index.browser.js +1 -1
- package/dist/index.browser.mjs +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/internal.browser.d.mts +1 -1
- package/dist/internal.browser.d.ts +1 -1
- package/dist/internal.browser.js +1 -1
- package/dist/internal.browser.mjs +1 -1
- package/dist/internal.d.mts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +1 -1
- package/dist/internal.mjs +1 -1
- package/dist/{stream-data-BSG8Cuxh.d.mts → stream-data-DR_uxiuv.d.mts} +2 -1
- package/dist/{stream-data-BSG8Cuxh.d.ts → stream-data-DR_uxiuv.d.ts} +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.5.
|
|
3
|
+
## 0.5.1
|
|
4
|
+
|
|
5
|
+
- **FIX: `end()`'s own transport teardown no longer clobbers the server's confirmed park
|
|
6
|
+
reason.** `Session.end()` → `POST /api/sessions/{id}/end` already answers authoritatively
|
|
7
|
+
(`{status: 'paused', reason: 'client_ended'}`), but the transport teardown that same call
|
|
8
|
+
triggers used to unconditionally re-stamp `session.phase` with a hardcoded
|
|
9
|
+
`client_detached` — so the reactive `session.phase` stream never reflected what the server
|
|
10
|
+
actually said. `TransportSession.disconnect()` now takes an optional `reason` (default
|
|
11
|
+
`client_detached`, unchanged for an unsolicited transport loss); `Session.end()` threads the
|
|
12
|
+
`/end` response's own `reason` through `Session.detach()` into it, so a self-initiated end
|
|
13
|
+
settles at the server's answer instead of a generic client-side detach. Every other caller
|
|
14
|
+
of `disconnect()`/`detach()` (including an unsolicited socket death) is unaffected.
|
|
15
|
+
- Lockstep release of `@urun-sh/core`, `@urun-sh/react`, `@urun-sh/openai`, `@urun-sh/next`
|
|
16
|
+
(peer ranges bumped to `^0.5.1` where they pin core).
|
|
4
17
|
|
|
5
18
|
- **BREAKING: `end()` PARKS, and `cancel()` is the admission-ticket verb** (owner ruling D3,
|
|
6
19
|
2026-09-06; Review A §5.1 "two end verbs", §3.3 residue).
|