@unotest/viewer 0.15.0 → 0.16.0
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 +29 -0
- package/dist/server/main.js +1 -1
- package/dist/server/session.d.ts +59 -0
- package/dist/server/session.js +1 -0
- package/dist/web/assets/{DslEditor-BtxKBe0w.js → DslEditor-CtUUDaoL.js} +3 -3
- package/dist/web/assets/{index-BPip77qC.css → index-BcNinsKN.css} +1 -1
- package/dist/web/assets/index-DSk7Kbzw.js +55 -0
- package/dist/web/index.html +2 -2
- package/package.json +9 -5
- package/dist/web/assets/index-B7cta1Sh.js +0 -55
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.16.0] - 2026-08-19
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 1327a52: Capability-aware UI when the viewer runs behind a proxy.
|
|
8
|
+
|
|
9
|
+
New `GET /api/session` reports what the current session may do
|
|
10
|
+
(`canRun` / `canEditFiles` / `canTerminal` / `canBrowseFs`) plus a
|
|
11
|
+
display-only identity. A fronting proxy stamps the answer on every
|
|
12
|
+
request it forwards via the `x-unotest-viewer-session` header; the
|
|
13
|
+
contract and its codec ship as the new `@unotest/viewer/session`
|
|
14
|
+
subpath export.
|
|
15
|
+
|
|
16
|
+
The frontend greys out Run/Debug, the terminal (button AND the ⌃`
|
|
17
|
+
chord), scenario/collection/snapshot mutations and the Save button when
|
|
18
|
+
the session lacks the matching capability, and the status bar names the
|
|
19
|
+
session with a Log out entry.
|
|
20
|
+
|
|
21
|
+
No change for plain localhost usage: with no header the endpoint answers
|
|
22
|
+
full capabilities and no identity, and a failed lookup keeps the UI
|
|
23
|
+
permissive. The viewer still authorizes nothing itself — the header can
|
|
24
|
+
only narrow what the UI offers, never grant access.
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [bf92e6f]
|
|
29
|
+
- @unotest/dsl@0.16.0
|
|
30
|
+
- @unotest/protocol@0.16.0
|
|
31
|
+
|
|
3
32
|
## [0.15.0] - 2026-08-17
|
|
4
33
|
|
|
5
34
|
### Minor Changes
|