@xmodelin/dsh-collab-auth-api 0.0.2 → 0.0.4
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/lib/client.js +12 -12
- package/lib/host.js +17 -0
- package/lib/index.d.ts +15 -4
- package/lib/index.js +79 -4
- package/lib/typert.host.js +520 -65
- package/lib/typert.remote-client.d.ts +21 -0
- package/lib/typert.remote-client.d.ts.map +1 -1
- package/lib/typert.remote-client.js +429 -60
- package/lib/types.d.ts +14 -0
- package/package.json +3 -3
package/lib/types.d.ts
CHANGED
|
@@ -38,4 +38,18 @@ export interface CollabAdminFace {
|
|
|
38
38
|
revoke(a: string, b: string): AuthSnapshot;
|
|
39
39
|
/** Read or mutate a collaboration management surface without a command record. */
|
|
40
40
|
panel(sessionId: string, operation: string, args?: Record<string, unknown>): Record<string, unknown>;
|
|
41
|
+
/** Read the supervisor board. */
|
|
42
|
+
board(sessionId: string): Record<string, unknown>;
|
|
43
|
+
/** Link an offered worker. */
|
|
44
|
+
link(sessionId: string, worker: string, payload?: Record<string, unknown>): Record<string, unknown>;
|
|
45
|
+
/** Unlink a worker. */
|
|
46
|
+
unlink(sessionId: string, worker: string): Record<string, unknown>;
|
|
47
|
+
/** Pin a worker capability. */
|
|
48
|
+
pin(sessionId: string, worker: string): Record<string, unknown>;
|
|
49
|
+
/** Return a worker to live capability. */
|
|
50
|
+
live(sessionId: string, worker: string): Record<string, unknown>;
|
|
51
|
+
/** Read a session base prompt. */
|
|
52
|
+
baseGet(sessionId: string): Record<string, unknown>;
|
|
53
|
+
/** Set a session base prompt. */
|
|
54
|
+
baseSet(sessionId: string, value: string): Record<string, unknown>;
|
|
41
55
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xmodelin/dsh-collab-auth-api",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "Generated Typert Remote for collaboration authorization",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
|
-
"types": "./lib/
|
|
10
|
-
"default": "./lib/
|
|
9
|
+
"types": "./lib/index.d.ts",
|
|
10
|
+
"default": "./lib/index.js"
|
|
11
11
|
},
|
|
12
12
|
"./client": "./lib/client.js",
|
|
13
13
|
"./typert": {
|