@volter/supercode-teams 0.2.175 → 0.2.176
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/README.md +7 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -61,7 +61,13 @@ anything else, for a wildcard (`pane:*`) or for the whole filesystem (`root:/`)
|
|
|
61
61
|
token must carry `iat` and live at most 15 minutes (`exp - iat` and `exp - now`). The hosted viewer
|
|
62
62
|
at `/view#token=…` opens it; the server turns the token into a machine grant on exactly that target
|
|
63
63
|
(a pane: `observe`, and `control` to type; a folder: `observe` to read, `files` to change) that
|
|
64
|
-
expires with the token, and closes the channel then.
|
|
64
|
+
expires with the token, and closes the channel then. Before it writes that grant, and while the
|
|
65
|
+
channel is open every 15 seconds, the server asks the workplace whether the token still admits what it was issued for
|
|
66
|
+
(`POST <issuer>/api/v3/delegated/status`); when the workplace answers that it does not (the member's
|
|
67
|
+
binding revoked, their Task closed, their contract ended), the grant is deleted and the channel closes
|
|
68
|
+
with `access_revoked`, which the viewer shows rather than reconnecting; an open with such a token is
|
|
69
|
+
refused (403 `access_revoked`) and writes no grant. An unreachable workplace leaves the channel to
|
|
70
|
+
the token's expiry. A page embedding the viewer sends it a fresh
|
|
65
71
|
token by `postMessage({ type: 'delegated-token', token })`, which the viewer asks for with
|
|
66
72
|
`delegated-token-needed`.
|
|
67
73
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volter/supercode-teams",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.176",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A machine daemon serving this machine's doors, and a local or remote Teams server for shared session discovery, OpenTelemetry ingestion and access to enrolled machines.",
|
|
6
6
|
"license": "MIT",
|