@khorsheed/dsh-room 0.2.2 → 0.2.3
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 +53 -0
- package/README.en.md +29 -62
- package/README.i18n.yaml +2 -2
- package/README.md +28 -61
- package/lib/client.js +13097 -4182
- package/lib/index.js +4045 -730
- package/lib/journal-B4FOGO6S.js +482 -0
- package/lib/journal-Rid9AAnD.js +485 -0
- package/lib/tool.js +112 -166
- package/lib/typert.host.js +2031 -374
- package/lib/typert.remote-client.d.ts +34 -10
- package/lib/typert.remote-client.js +1599 -210
- package/lib/types/agent-setup.d.ts +1 -1
- package/lib/types/client/InviteAgentAction.js +4 -16
- package/lib/types/client/InviteDialog.d.ts +28 -6
- package/lib/types/client/InviteDialog.js +76 -12
- package/lib/types/client/MemberCard.d.ts +5 -1
- package/lib/types/client/MemberCard.js +4 -4
- package/lib/types/client/MembersView.d.ts +1 -1
- package/lib/types/client/MembersView.js +58 -22
- package/lib/types/client/RemoveMemberConfirm.d.ts +40 -0
- package/lib/types/client/RemoveMemberConfirm.js +85 -0
- package/lib/types/client/RoomApprovalView.d.ts +11 -0
- package/lib/types/client/RoomApprovalView.js +28 -0
- package/lib/types/client/RoomComposer.d.ts +1 -1
- package/lib/types/client/RoomComposer.js +195 -29
- package/lib/types/client/RoomDecisionView.d.ts +22 -0
- package/lib/types/client/RoomDecisionView.js +35 -0
- package/lib/types/client/RoomHelpView.d.ts +17 -0
- package/lib/types/client/RoomHelpView.js +56 -0
- package/lib/types/client/RoomInboxView.d.ts +10 -0
- package/lib/types/client/RoomInboxView.js +14 -0
- package/lib/types/client/RoomQuestionView.d.ts +13 -0
- package/lib/types/client/RoomQuestionView.js +61 -0
- package/lib/types/client/RoomRelayView.js +1 -1
- package/lib/types/client/RoomRunView.d.ts +3 -1
- package/lib/types/client/RoomRunView.js +12 -5
- package/lib/types/client/RoomSettingsView.d.ts +19 -0
- package/lib/types/client/RoomSettingsView.js +30 -0
- package/lib/types/client/RoomSpeechView.d.ts +22 -8
- package/lib/types/client/RoomSpeechView.js +94 -11
- package/lib/types/client/RoomStatsLine.d.ts +26 -5
- package/lib/types/client/RoomStatsLine.js +53 -7
- package/lib/types/client/RoomTaskCapsule.d.ts +19 -0
- package/lib/types/client/RoomTaskCapsule.js +37 -0
- package/lib/types/client/TasksTab.d.ts +41 -0
- package/lib/types/client/TasksTab.js +43 -0
- package/lib/types/client/TasksView.d.ts +44 -0
- package/lib/types/client/TasksView.js +149 -0
- package/lib/types/client/TeamView.d.ts +33 -0
- package/lib/types/client/TeamView.js +210 -0
- package/lib/types/client/at-menu.d.ts +127 -0
- package/lib/types/client/at-menu.js +173 -0
- package/lib/types/client/draft-chips.d.ts +67 -0
- package/lib/types/client/draft-chips.js +95 -0
- package/lib/types/client/executions.d.ts +0 -30
- package/lib/types/client/executions.js +4 -34
- package/lib/types/client/icons-local.d.ts +25 -0
- package/lib/types/client/icons-local.js +10 -0
- package/lib/types/client/icons.d.ts +2 -1
- package/lib/types/client/icons.js +1 -0
- package/lib/types/client/index.js +276 -72
- package/lib/types/client/locales.d.ts +482 -52
- package/lib/types/client/locales.js +490 -60
- package/lib/types/client/nodes.d.ts +112 -17
- package/lib/types/client/nodes.js +197 -26
- package/lib/types/client/slots.d.ts +117 -47
- package/lib/types/client/task-tag.d.ts +32 -0
- package/lib/types/client/task-tag.js +33 -0
- package/lib/types/client/tasks.d.ts +50 -0
- package/lib/types/client/tasks.js +82 -0
- package/lib/types/client/team.d.ts +73 -0
- package/lib/types/client/team.js +187 -0
- package/lib/types/decisions.d.ts +49 -0
- package/lib/types/decisions.js +101 -0
- package/lib/types/deliveries.d.ts +17 -1
- package/lib/types/deliveries.js +82 -6
- package/lib/types/dispatch.d.ts +92 -4
- package/lib/types/dispatch.js +477 -109
- package/lib/types/help.d.ts +137 -0
- package/lib/types/help.js +216 -0
- package/lib/types/helps.d.ts +26 -0
- package/lib/types/helps.js +47 -0
- package/lib/types/index.d.ts +292 -52
- package/lib/types/index.js +1415 -199
- package/lib/types/jobs.d.ts +22 -0
- package/lib/types/jobs.js +77 -0
- package/lib/types/journal.d.ts +17 -27
- package/lib/types/journal.js +120 -43
- package/lib/types/messaging.d.ts +65 -0
- package/lib/types/messaging.js +160 -0
- package/lib/types/plan-service.js +7 -1
- package/lib/types/report-gate.d.ts +81 -0
- package/lib/types/report-gate.js +89 -0
- package/lib/types/tool-definition.d.ts +43 -20
- package/lib/types/tool-definition.js +145 -212
- package/lib/types/tool.d.ts +2 -2
- package/lib/types/tool.js +3 -2
- package/lib/types/types.d.ts +755 -78
- package/locale/zh.json +1 -1
- package/package.json +3 -3
- package/lib/types/client/RoomActivityDock.d.ts +0 -19
- package/lib/types/client/RoomActivityDock.js +0 -105
- package/lib/types/client/RoomDockCapsules.d.ts +0 -64
- package/lib/types/client/RoomDockCapsules.js +0 -277
- package/lib/types/client/RoomPlanTab.d.ts +0 -15
- package/lib/types/client/RoomPlanTab.js +0 -13
- package/lib/types/client/RoomTaskLineView.d.ts +0 -13
- package/lib/types/client/RoomTaskLineView.js +0 -21
|
@@ -5,19 +5,109 @@ import { createTypertRemoteInfo } from '@deepseek-ai/dsh-typert-protocol/remote-
|
|
|
5
5
|
|
|
6
6
|
let RoomJsonValueRemoteCodec$schema$value
|
|
7
7
|
const RoomJsonValueRemoteCodec$schema = () => (RoomJsonValueRemoteCodec$schema$value ??= z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => RoomJsonValueRemoteCodec$schema())), z.record(z.string(), z.lazy(() => RoomJsonValueRemoteCodec$schema()))]))
|
|
8
|
-
let
|
|
9
|
-
const
|
|
10
|
-
'sessionId': z.string().readonly()
|
|
11
|
-
'
|
|
12
|
-
'
|
|
13
|
-
'blockedBy': z.string().readonly().optional().describe('Optional member this task waits on ("等 ada" — display only, never an automatic dispatch). Must name a roster member when present.'),
|
|
8
|
+
let _khorsheed_dsh_room_room_answerApproval_parameter_0$schema$value
|
|
9
|
+
const _khorsheed_dsh_room_room_answerApproval_parameter_0$schema = () => (_khorsheed_dsh_room_room_answerApproval_parameter_0$schema$value ??= z.object({
|
|
10
|
+
'sessionId': z.string().readonly(),
|
|
11
|
+
'id': z.string().readonly(),
|
|
12
|
+
'outcome': z.union([z.literal("rejected"), z.literal("allowed-once")]).readonly(),
|
|
14
13
|
}))
|
|
15
|
-
let
|
|
16
|
-
const
|
|
14
|
+
let _khorsheed_dsh_room_room_answerApproval_result$schema$value
|
|
15
|
+
const _khorsheed_dsh_room_room_answerApproval_result$schema = () => (_khorsheed_dsh_room_room_answerApproval_result$schema$value ??= z.union([z.object({
|
|
17
16
|
'ok': z.literal(true).readonly(),
|
|
18
|
-
|
|
17
|
+
}), z.object({
|
|
18
|
+
'ok': z.literal(false).readonly(),
|
|
19
|
+
'error': z.union([z.object({
|
|
20
|
+
'code': z.literal("request-conflict").readonly(),
|
|
21
|
+
}), z.object({
|
|
22
|
+
'code': z.literal("member-cwd-bound").readonly(),
|
|
23
|
+
}), z.object({
|
|
24
|
+
'code': z.literal("not-coordinator").readonly(),
|
|
25
|
+
}), z.object({
|
|
26
|
+
'code': z.literal("delivery-not-uncertain").readonly(),
|
|
27
|
+
}), z.object({
|
|
28
|
+
'code': z.literal("plan-reconciliation-required").readonly(),
|
|
29
|
+
}), z.object({
|
|
30
|
+
'code': z.literal("coordinator-busy").readonly(),
|
|
31
|
+
}), z.object({
|
|
32
|
+
'code': z.literal("coordinator-not-ready").readonly(),
|
|
33
|
+
'message': z.string().readonly(),
|
|
34
|
+
}), z.object({
|
|
35
|
+
'code': z.literal("coordinator-conflict").readonly(),
|
|
36
|
+
}), z.object({
|
|
37
|
+
'code': z.literal("active-coordinator").readonly(),
|
|
38
|
+
}), z.object({
|
|
39
|
+
'code': z.literal("configuration-owned-by-core").readonly(),
|
|
40
|
+
}), z.object({
|
|
41
|
+
'code': z.literal("session-not-found").readonly(),
|
|
42
|
+
}), z.object({
|
|
43
|
+
'code': z.literal("not-a-room").readonly(),
|
|
44
|
+
}), z.object({
|
|
45
|
+
'code': z.literal("invalid-name").readonly(),
|
|
46
|
+
}), z.object({
|
|
47
|
+
'code': z.literal("duplicate-name").readonly(),
|
|
48
|
+
}), z.object({
|
|
49
|
+
'code': z.literal("empty-provider").readonly(),
|
|
50
|
+
}), z.object({
|
|
51
|
+
'code': z.literal("member-not-found").readonly(),
|
|
52
|
+
}), z.object({
|
|
53
|
+
'code': z.literal("empty-text").readonly(),
|
|
54
|
+
}), z.object({
|
|
55
|
+
'code': z.literal("role-too-long").readonly(),
|
|
56
|
+
}), z.object({
|
|
57
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
58
|
+
}), z.object({
|
|
59
|
+
'code': z.literal("self-message").readonly(),
|
|
60
|
+
}), z.object({
|
|
61
|
+
'code': z.literal("unknown-task").readonly(),
|
|
62
|
+
}), z.object({
|
|
63
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
64
|
+
'preset': z.string().readonly(),
|
|
65
|
+
'available': z.array(z.string()).readonly(),
|
|
66
|
+
}), z.object({
|
|
67
|
+
'code': z.literal("nothing-to-update").readonly(),
|
|
68
|
+
}), z.object({
|
|
69
|
+
'code': z.literal("local-agent-unavailable").readonly(),
|
|
70
|
+
}), z.object({
|
|
71
|
+
'code': z.literal("unknown-provider").readonly(),
|
|
72
|
+
'provider': z.string().readonly(),
|
|
73
|
+
'available': z.array(z.string()).readonly(),
|
|
74
|
+
}), z.object({
|
|
75
|
+
'code': z.literal("unknown-targets").readonly(),
|
|
76
|
+
'names': z.array(z.string()).readonly(),
|
|
77
|
+
}), z.object({
|
|
78
|
+
'code': z.literal("no-targets").readonly(),
|
|
79
|
+
}), z.object({
|
|
80
|
+
'code': z.literal("relay-not-found").readonly(),
|
|
81
|
+
}), z.object({
|
|
82
|
+
'code': z.literal("relay-not-pending").readonly(),
|
|
83
|
+
}), z.object({
|
|
84
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
85
|
+
}), z.object({
|
|
86
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
87
|
+
}), z.object({
|
|
88
|
+
'code': z.literal("main-member").readonly(),
|
|
89
|
+
}), z.object({
|
|
90
|
+
'code': z.literal("task-not-found").readonly(),
|
|
91
|
+
}), z.object({
|
|
92
|
+
'code': z.literal("task-closed").readonly(),
|
|
93
|
+
}), z.object({
|
|
94
|
+
'code': z.literal("resume-failed").readonly(),
|
|
95
|
+
'message': z.string().readonly(),
|
|
96
|
+
})]).readonly(),
|
|
97
|
+
})]))
|
|
98
|
+
let _khorsheed_dsh_room_room_answerQuestion_parameter_0$schema$value
|
|
99
|
+
const _khorsheed_dsh_room_room_answerQuestion_parameter_0$schema = () => (_khorsheed_dsh_room_room_answerQuestion_parameter_0$schema$value ??= z.object({
|
|
100
|
+
'sessionId': z.string().readonly(),
|
|
19
101
|
'id': z.string().readonly(),
|
|
20
|
-
|
|
102
|
+
'answers': z.array(z.object({
|
|
103
|
+
'id': z.string().readonly(),
|
|
104
|
+
'selected': z.array(z.string()).readonly(),
|
|
105
|
+
'custom': z.string().readonly().optional(),
|
|
106
|
+
})).readonly(),
|
|
107
|
+
}))
|
|
108
|
+
let _khorsheed_dsh_room_room_answerQuestion_result$schema$value
|
|
109
|
+
const _khorsheed_dsh_room_room_answerQuestion_result$schema = () => (_khorsheed_dsh_room_room_answerQuestion_result$schema$value ??= z.union([z.object({
|
|
110
|
+
'ok': z.literal(true).readonly(),
|
|
21
111
|
}), z.object({
|
|
22
112
|
'ok': z.literal(false).readonly(),
|
|
23
113
|
'error': z.union([z.object({
|
|
@@ -55,6 +145,18 @@ const _khorsheed_dsh_room_room_addTask_result$schema = () => (_khorsheed_dsh_roo
|
|
|
55
145
|
'code': z.literal("member-not-found").readonly(),
|
|
56
146
|
}), z.object({
|
|
57
147
|
'code': z.literal("empty-text").readonly(),
|
|
148
|
+
}), z.object({
|
|
149
|
+
'code': z.literal("role-too-long").readonly(),
|
|
150
|
+
}), z.object({
|
|
151
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
152
|
+
}), z.object({
|
|
153
|
+
'code': z.literal("self-message").readonly(),
|
|
154
|
+
}), z.object({
|
|
155
|
+
'code': z.literal("unknown-task").readonly(),
|
|
156
|
+
}), z.object({
|
|
157
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
158
|
+
'preset': z.string().readonly(),
|
|
159
|
+
'available': z.array(z.string()).readonly(),
|
|
58
160
|
}), z.object({
|
|
59
161
|
'code': z.literal("nothing-to-update").readonly(),
|
|
60
162
|
}), z.object({
|
|
@@ -72,6 +174,10 @@ const _khorsheed_dsh_room_room_addTask_result$schema = () => (_khorsheed_dsh_roo
|
|
|
72
174
|
'code': z.literal("relay-not-found").readonly(),
|
|
73
175
|
}), z.object({
|
|
74
176
|
'code': z.literal("relay-not-pending").readonly(),
|
|
177
|
+
}), z.object({
|
|
178
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
179
|
+
}), z.object({
|
|
180
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
75
181
|
}), z.object({
|
|
76
182
|
'code': z.literal("main-member").readonly(),
|
|
77
183
|
}), z.object({
|
|
@@ -133,6 +239,18 @@ const _khorsheed_dsh_room_room_cancel_result$schema = () => (_khorsheed_dsh_room
|
|
|
133
239
|
'code': z.literal("member-not-found").readonly(),
|
|
134
240
|
}), z.object({
|
|
135
241
|
'code': z.literal("empty-text").readonly(),
|
|
242
|
+
}), z.object({
|
|
243
|
+
'code': z.literal("role-too-long").readonly(),
|
|
244
|
+
}), z.object({
|
|
245
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
246
|
+
}), z.object({
|
|
247
|
+
'code': z.literal("self-message").readonly(),
|
|
248
|
+
}), z.object({
|
|
249
|
+
'code': z.literal("unknown-task").readonly(),
|
|
250
|
+
}), z.object({
|
|
251
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
252
|
+
'preset': z.string().readonly(),
|
|
253
|
+
'available': z.array(z.string()).readonly(),
|
|
136
254
|
}), z.object({
|
|
137
255
|
'code': z.literal("nothing-to-update").readonly(),
|
|
138
256
|
}), z.object({
|
|
@@ -150,6 +268,10 @@ const _khorsheed_dsh_room_room_cancel_result$schema = () => (_khorsheed_dsh_room
|
|
|
150
268
|
'code': z.literal("relay-not-found").readonly(),
|
|
151
269
|
}), z.object({
|
|
152
270
|
'code': z.literal("relay-not-pending").readonly(),
|
|
271
|
+
}), z.object({
|
|
272
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
273
|
+
}), z.object({
|
|
274
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
153
275
|
}), z.object({
|
|
154
276
|
'code': z.literal("main-member").readonly(),
|
|
155
277
|
}), z.object({
|
|
@@ -209,6 +331,18 @@ const _khorsheed_dsh_room_room_cancelChild_result$schema = () => (_khorsheed_dsh
|
|
|
209
331
|
'code': z.literal("member-not-found").readonly(),
|
|
210
332
|
}), z.object({
|
|
211
333
|
'code': z.literal("empty-text").readonly(),
|
|
334
|
+
}), z.object({
|
|
335
|
+
'code': z.literal("role-too-long").readonly(),
|
|
336
|
+
}), z.object({
|
|
337
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
338
|
+
}), z.object({
|
|
339
|
+
'code': z.literal("self-message").readonly(),
|
|
340
|
+
}), z.object({
|
|
341
|
+
'code': z.literal("unknown-task").readonly(),
|
|
342
|
+
}), z.object({
|
|
343
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
344
|
+
'preset': z.string().readonly(),
|
|
345
|
+
'available': z.array(z.string()).readonly(),
|
|
212
346
|
}), z.object({
|
|
213
347
|
'code': z.literal("nothing-to-update").readonly(),
|
|
214
348
|
}), z.object({
|
|
@@ -226,6 +360,10 @@ const _khorsheed_dsh_room_room_cancelChild_result$schema = () => (_khorsheed_dsh
|
|
|
226
360
|
'code': z.literal("relay-not-found").readonly(),
|
|
227
361
|
}), z.object({
|
|
228
362
|
'code': z.literal("relay-not-pending").readonly(),
|
|
363
|
+
}), z.object({
|
|
364
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
365
|
+
}), z.object({
|
|
366
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
229
367
|
}), z.object({
|
|
230
368
|
'code': z.literal("main-member").readonly(),
|
|
231
369
|
}), z.object({
|
|
@@ -237,17 +375,16 @@ const _khorsheed_dsh_room_room_cancelChild_result$schema = () => (_khorsheed_dsh
|
|
|
237
375
|
'message': z.string().readonly(),
|
|
238
376
|
})]).readonly(),
|
|
239
377
|
})]))
|
|
240
|
-
let
|
|
241
|
-
const
|
|
378
|
+
let _khorsheed_dsh_room_room_confirmRelay_parameter_0$schema$value
|
|
379
|
+
const _khorsheed_dsh_room_room_confirmRelay_parameter_0$schema = () => (_khorsheed_dsh_room_room_confirmRelay_parameter_0$schema$value ??= z.object({
|
|
242
380
|
'sessionId': z.string().readonly().describe('Room session.'),
|
|
243
|
-
'
|
|
244
|
-
'status': z.union([z.literal("cancelled"), z.literal("done")]).readonly().optional().describe('Closing status (default \'done\').'),
|
|
381
|
+
'relayId': z.string().readonly().describe('The relay to resolve.'),
|
|
245
382
|
}))
|
|
246
|
-
let
|
|
247
|
-
const
|
|
383
|
+
let _khorsheed_dsh_room_room_confirmRelay_result$schema$value
|
|
384
|
+
const _khorsheed_dsh_room_room_confirmRelay_result$schema = () => (_khorsheed_dsh_room_room_confirmRelay_result$schema$value ??= z.union([z.object({
|
|
248
385
|
'ok': z.literal(true).readonly(),
|
|
249
386
|
'value': z.object({
|
|
250
|
-
'
|
|
387
|
+
'relayId': z.string().readonly(),
|
|
251
388
|
}).readonly(),
|
|
252
389
|
}), z.object({
|
|
253
390
|
'ok': z.literal(false).readonly(),
|
|
@@ -286,6 +423,18 @@ const _khorsheed_dsh_room_room_closeTask_result$schema = () => (_khorsheed_dsh_r
|
|
|
286
423
|
'code': z.literal("member-not-found").readonly(),
|
|
287
424
|
}), z.object({
|
|
288
425
|
'code': z.literal("empty-text").readonly(),
|
|
426
|
+
}), z.object({
|
|
427
|
+
'code': z.literal("role-too-long").readonly(),
|
|
428
|
+
}), z.object({
|
|
429
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
430
|
+
}), z.object({
|
|
431
|
+
'code': z.literal("self-message").readonly(),
|
|
432
|
+
}), z.object({
|
|
433
|
+
'code': z.literal("unknown-task").readonly(),
|
|
434
|
+
}), z.object({
|
|
435
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
436
|
+
'preset': z.string().readonly(),
|
|
437
|
+
'available': z.array(z.string()).readonly(),
|
|
289
438
|
}), z.object({
|
|
290
439
|
'code': z.literal("nothing-to-update").readonly(),
|
|
291
440
|
}), z.object({
|
|
@@ -303,6 +452,10 @@ const _khorsheed_dsh_room_room_closeTask_result$schema = () => (_khorsheed_dsh_r
|
|
|
303
452
|
'code': z.literal("relay-not-found").readonly(),
|
|
304
453
|
}), z.object({
|
|
305
454
|
'code': z.literal("relay-not-pending").readonly(),
|
|
455
|
+
}), z.object({
|
|
456
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
457
|
+
}), z.object({
|
|
458
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
306
459
|
}), z.object({
|
|
307
460
|
'code': z.literal("main-member").readonly(),
|
|
308
461
|
}), z.object({
|
|
@@ -314,17 +467,15 @@ const _khorsheed_dsh_room_room_closeTask_result$schema = () => (_khorsheed_dsh_r
|
|
|
314
467
|
'message': z.string().readonly(),
|
|
315
468
|
})]).readonly(),
|
|
316
469
|
})]))
|
|
317
|
-
let
|
|
318
|
-
const
|
|
319
|
-
'sessionId': z.string().readonly()
|
|
320
|
-
'
|
|
470
|
+
let _khorsheed_dsh_room_room_dismissHelpNudge_parameter_0$schema$value
|
|
471
|
+
const _khorsheed_dsh_room_room_dismissHelpNudge_parameter_0$schema = () => (_khorsheed_dsh_room_room_dismissHelpNudge_parameter_0$schema$value ??= z.object({
|
|
472
|
+
'sessionId': z.string().readonly(),
|
|
473
|
+
'target': z.string().readonly().describe('The outside session.'),
|
|
474
|
+
'title': z.string().readonly().optional().describe('Its title (link only).'),
|
|
321
475
|
}))
|
|
322
|
-
let
|
|
323
|
-
const
|
|
476
|
+
let _khorsheed_dsh_room_room_dismissHelpNudge_result$schema$value
|
|
477
|
+
const _khorsheed_dsh_room_room_dismissHelpNudge_result$schema = () => (_khorsheed_dsh_room_room_dismissHelpNudge_result$schema$value ??= z.union([z.object({
|
|
324
478
|
'ok': z.literal(true).readonly(),
|
|
325
|
-
'value': z.object({
|
|
326
|
-
'relayId': z.string().readonly(),
|
|
327
|
-
}).readonly(),
|
|
328
479
|
}), z.object({
|
|
329
480
|
'ok': z.literal(false).readonly(),
|
|
330
481
|
'error': z.union([z.object({
|
|
@@ -362,6 +513,18 @@ const _khorsheed_dsh_room_room_confirmRelay_result$schema = () => (_khorsheed_ds
|
|
|
362
513
|
'code': z.literal("member-not-found").readonly(),
|
|
363
514
|
}), z.object({
|
|
364
515
|
'code': z.literal("empty-text").readonly(),
|
|
516
|
+
}), z.object({
|
|
517
|
+
'code': z.literal("role-too-long").readonly(),
|
|
518
|
+
}), z.object({
|
|
519
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
520
|
+
}), z.object({
|
|
521
|
+
'code': z.literal("self-message").readonly(),
|
|
522
|
+
}), z.object({
|
|
523
|
+
'code': z.literal("unknown-task").readonly(),
|
|
524
|
+
}), z.object({
|
|
525
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
526
|
+
'preset': z.string().readonly(),
|
|
527
|
+
'available': z.array(z.string()).readonly(),
|
|
365
528
|
}), z.object({
|
|
366
529
|
'code': z.literal("nothing-to-update").readonly(),
|
|
367
530
|
}), z.object({
|
|
@@ -379,6 +542,10 @@ const _khorsheed_dsh_room_room_confirmRelay_result$schema = () => (_khorsheed_ds
|
|
|
379
542
|
'code': z.literal("relay-not-found").readonly(),
|
|
380
543
|
}), z.object({
|
|
381
544
|
'code': z.literal("relay-not-pending").readonly(),
|
|
545
|
+
}), z.object({
|
|
546
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
547
|
+
}), z.object({
|
|
548
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
382
549
|
}), z.object({
|
|
383
550
|
'code': z.literal("main-member").readonly(),
|
|
384
551
|
}), z.object({
|
|
@@ -438,6 +605,18 @@ const _khorsheed_dsh_room_room_dismissRelay_result$schema = () => (_khorsheed_ds
|
|
|
438
605
|
'code': z.literal("member-not-found").readonly(),
|
|
439
606
|
}), z.object({
|
|
440
607
|
'code': z.literal("empty-text").readonly(),
|
|
608
|
+
}), z.object({
|
|
609
|
+
'code': z.literal("role-too-long").readonly(),
|
|
610
|
+
}), z.object({
|
|
611
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
612
|
+
}), z.object({
|
|
613
|
+
'code': z.literal("self-message").readonly(),
|
|
614
|
+
}), z.object({
|
|
615
|
+
'code': z.literal("unknown-task").readonly(),
|
|
616
|
+
}), z.object({
|
|
617
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
618
|
+
'preset': z.string().readonly(),
|
|
619
|
+
'available': z.array(z.string()).readonly(),
|
|
441
620
|
}), z.object({
|
|
442
621
|
'code': z.literal("nothing-to-update").readonly(),
|
|
443
622
|
}), z.object({
|
|
@@ -455,6 +634,10 @@ const _khorsheed_dsh_room_room_dismissRelay_result$schema = () => (_khorsheed_ds
|
|
|
455
634
|
'code': z.literal("relay-not-found").readonly(),
|
|
456
635
|
}), z.object({
|
|
457
636
|
'code': z.literal("relay-not-pending").readonly(),
|
|
637
|
+
}), z.object({
|
|
638
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
639
|
+
}), z.object({
|
|
640
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
458
641
|
}), z.object({
|
|
459
642
|
'code': z.literal("main-member").readonly(),
|
|
460
643
|
}), z.object({
|
|
@@ -478,10 +661,18 @@ const _khorsheed_dsh_room_room_getState_result$schema = () => (_khorsheed_dsh_ro
|
|
|
478
661
|
'id': z.string().readonly(),
|
|
479
662
|
'memberId': z.string().readonly().optional(),
|
|
480
663
|
'childSessionId': z.string().readonly().optional(),
|
|
664
|
+
'childTurn': z.number().readonly().optional().describe('The child session round the run reached, as recorded by its terminal run-state edge.'),
|
|
481
665
|
'provider': z.string().readonly().optional(),
|
|
482
666
|
'model': z.string().readonly().optional(),
|
|
483
667
|
'effort': z.string().readonly().optional(),
|
|
484
668
|
'tokens': z.number().readonly().optional(),
|
|
669
|
+
'usage': z.object({
|
|
670
|
+
'inputTokens': z.number().readonly(),
|
|
671
|
+
'outputTokens': z.number().readonly(),
|
|
672
|
+
'cacheReadTokens': z.number().readonly().optional(),
|
|
673
|
+
'cacheWriteTokens': z.number().readonly().optional(),
|
|
674
|
+
'reasoningTokens': z.number().readonly().optional(),
|
|
675
|
+
}).readonly().optional(),
|
|
485
676
|
'runId': z.string().readonly().optional().describe('Stable execution identity; legacy journals use startedAt.'),
|
|
486
677
|
'member': z.string().readonly(),
|
|
487
678
|
'state': z.union([z.literal("cancelled"), z.literal("failed"), z.literal("running"), z.literal("done")]).readonly(),
|
|
@@ -559,8 +750,11 @@ const _khorsheed_dsh_room_room_getState_result$schema = () => (_khorsheed_dsh_ro
|
|
|
559
750
|
'id': z.string().readonly(),
|
|
560
751
|
'dispatchSeq': z.number().readonly(),
|
|
561
752
|
'memberId': z.string().readonly(),
|
|
562
|
-
'status': z.union([z.literal("cancelled"), z.literal("failed"), z.literal("running"), z.literal("done"), z.literal("queued"), z.literal("uncertain")]).readonly(),
|
|
563
|
-
'origin': z.union([z.literal("human"), z.literal("coordinator"), z.literal("report"), z.literal("relay")]).readonly(),
|
|
753
|
+
'status': z.union([z.literal("cancelled"), z.literal("failed"), z.literal("running"), z.literal("done"), z.literal("queued"), z.literal("uncertain"), z.literal("held")]).readonly().describe('`held`: a report the gate keeps for a later round (never run on its own).'),
|
|
754
|
+
'origin': z.union([z.literal("human"), z.literal("coordinator"), z.literal("member"), z.literal("report"), z.literal("relay"), z.literal("help")]).readonly(),
|
|
755
|
+
'replyTo': z.string().readonly().optional().describe('The member id this delivery\'s outcome is reported to, when any.'),
|
|
756
|
+
'from': z.string().readonly().optional().describe('The sending member\'s id (coordinator/member origins).'),
|
|
757
|
+
'kind': z.union([z.literal("task"), z.literal("notify")]).readonly().optional().describe('`task` or `notify` (member sends); absent on human and legacy dispatches.'),
|
|
564
758
|
'text': z.string().readonly(),
|
|
565
759
|
'error': z.string().readonly().optional(),
|
|
566
760
|
'plan': z.union([z.undefined(), z.object({
|
|
@@ -568,6 +762,13 @@ const _khorsheed_dsh_room_room_getState_result$schema = () => (_khorsheed_dsh_ro
|
|
|
568
762
|
'taskId': z.string().readonly().optional(),
|
|
569
763
|
'attemptId': z.string().readonly().optional(),
|
|
570
764
|
})]).readonly().optional(),
|
|
765
|
+
'task': z.string().readonly().optional().describe('The task this delivery belongs to (see RoomDispatchEvent.task).'),
|
|
766
|
+
'parent': z.string().readonly().optional().describe('The sender\'s own delivery this was sent from (the task tree\'s parent).'),
|
|
767
|
+
'queuedAt': z.number().readonly().describe('Epoch ms: dispatched, admitted (first running edge), settled.'),
|
|
768
|
+
'startedAt': z.number().readonly().optional(),
|
|
769
|
+
'endedAt': z.number().readonly().optional(),
|
|
770
|
+
'heldAt': z.number().readonly().optional().describe('Epoch ms the report gate held this report, and released it.'),
|
|
771
|
+
'releasedAt': z.number().readonly().optional(),
|
|
571
772
|
})).readonly().optional(),
|
|
572
773
|
'coordinator': z.object({
|
|
573
774
|
'version': z.literal(1).readonly(),
|
|
@@ -579,12 +780,15 @@ const _khorsheed_dsh_room_room_getState_result$schema = () => (_khorsheed_dsh_ro
|
|
|
579
780
|
'members': z.array(z.object({
|
|
580
781
|
'id': z.string().readonly().optional(),
|
|
581
782
|
'name': z.string().readonly(),
|
|
582
|
-
'kind': z.union([z.literal("main-agent"), z.literal("cli")]).readonly(),
|
|
783
|
+
'kind': z.union([z.literal("native"), z.literal("main-agent"), z.literal("cli")]).readonly(),
|
|
583
784
|
'provider': z.string().readonly().optional(),
|
|
584
785
|
'instructions': z.string().readonly().optional(),
|
|
786
|
+
'role': z.string().readonly().optional().describe('Short public role shown to the other members (see {@link RoomMemberAddedEvent.role}).'),
|
|
787
|
+
'preset': z.string().readonly().optional().describe('Native members: the host agent preset (see {@link RoomMemberAddedEvent.preset}).'),
|
|
585
788
|
'invitedBy': z.union([z.literal("agent"), z.literal("human")]).readonly(),
|
|
586
789
|
'cwd': z.string().readonly().optional().describe('Member-level working directory (roster record; not yet passed to the facade).'),
|
|
587
790
|
'model': z.string().readonly().optional().describe('The member\'s intended model (roster record; the facade start\'s `model` option on the first dispatch).'),
|
|
791
|
+
'effort': z.string().readonly().optional().describe('The member\'s intended reasoning effort (roster record; the facade start\'s `effort` option on the first dispatch).'),
|
|
588
792
|
'childSessionId': z.string().readonly().optional(),
|
|
589
793
|
})).readonly(),
|
|
590
794
|
'relays': z.array(z.object({
|
|
@@ -594,7 +798,51 @@ const _khorsheed_dsh_room_room_getState_result$schema = () => (_khorsheed_dsh_ro
|
|
|
594
798
|
'content': z.string().readonly(),
|
|
595
799
|
'provenance': z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => RoomJsonValueRemoteCodec$schema())), z.record(z.string(), z.lazy(() => RoomJsonValueRemoteCodec$schema()))])).readonly().optional(),
|
|
596
800
|
'state': z.union([z.literal("pending"), z.literal("confirmed"), z.literal("dismissed"), z.literal("sent")]).readonly(),
|
|
801
|
+
'reason': z.union([z.literal("paused"), z.literal("confirm"), z.literal("hop-limit")]).readonly().optional(),
|
|
802
|
+
'intent': z.object({
|
|
803
|
+
'origin': z.union([z.literal("coordinator"), z.literal("member"), z.literal("report"), z.literal("help")]).readonly(),
|
|
804
|
+
'help': z.object({
|
|
805
|
+
'id': z.string().readonly().describe('The thread id in the asking room.'),
|
|
806
|
+
'room': z.string().readonly(),
|
|
807
|
+
'roomTitle': z.string().readonly(),
|
|
808
|
+
'from': z.string().readonly().describe('The asking member\'s name.'),
|
|
809
|
+
}).readonly().optional().describe('A help request from another room (origin `help`): its final reply goes back there.'),
|
|
810
|
+
'from': z.string().readonly().optional(),
|
|
811
|
+
'kind': z.union([z.literal("task"), z.literal("notify")]).readonly().optional(),
|
|
812
|
+
'hop': z.number().readonly(),
|
|
813
|
+
'inReplyTo': z.number().readonly().optional(),
|
|
814
|
+
'replyTo': z.string().readonly().optional(),
|
|
815
|
+
'reportFor': z.string().readonly().optional(),
|
|
816
|
+
'plan': z.object({
|
|
817
|
+
'goalId': z.string().readonly(),
|
|
818
|
+
}).readonly().optional(),
|
|
819
|
+
'note': z.string().readonly().optional(),
|
|
820
|
+
'task': z.string().readonly().optional(),
|
|
821
|
+
'parent': z.string().readonly().optional(),
|
|
822
|
+
}).readonly().optional(),
|
|
823
|
+
})).readonly(),
|
|
824
|
+
'approvals': z.array(z.object({
|
|
825
|
+
'id': z.string().readonly(),
|
|
826
|
+
'member': z.string().readonly(),
|
|
827
|
+
'tool': z.string().readonly(),
|
|
828
|
+
'reason': z.string().readonly().optional(),
|
|
829
|
+
'time': z.number().readonly(),
|
|
830
|
+
})).readonly().optional().describe('Members\' tool approvals still waiting for the human.'),
|
|
831
|
+
'questions': z.array(z.object({
|
|
832
|
+
'id': z.string().readonly(),
|
|
833
|
+
'member': z.string().readonly(),
|
|
834
|
+
'questions': z.array(z.object({
|
|
835
|
+
'id': z.string().readonly(),
|
|
836
|
+
'question': z.string().readonly(),
|
|
837
|
+
'header': z.string().readonly().optional(),
|
|
838
|
+
'options': z.array(z.object({
|
|
839
|
+
'label': z.string().readonly(),
|
|
840
|
+
'description': z.string().readonly().optional(),
|
|
841
|
+
})).readonly().optional(),
|
|
842
|
+
'multiSelect': z.boolean().readonly().optional(),
|
|
597
843
|
})).readonly(),
|
|
844
|
+
'time': z.number().readonly(),
|
|
845
|
+
})).readonly().optional().describe('Members\' questions still waiting for the human.'),
|
|
598
846
|
'tasks': z.array(z.object({
|
|
599
847
|
'deliveryId': z.string().readonly().optional().describe('Only this delivery may automatically settle this legacy chat task row.'),
|
|
600
848
|
'id': z.string().readonly(),
|
|
@@ -613,6 +861,66 @@ const _khorsheed_dsh_room_room_getState_result$schema = () => (_khorsheed_dsh_ro
|
|
|
613
861
|
'error': z.string().readonly().optional().describe('Why the run failed (failed edges only), when the edge carried one.'),
|
|
614
862
|
})).readonly(),
|
|
615
863
|
'goal': z.string().readonly().optional().describe('The current goal text (the latest `room/goal` event), undefined when unset.'),
|
|
864
|
+
'latestReplySeq': z.number().readonly().optional().describe('Seq of the newest member speech addressed to the room (no `reportedTo`): the reply the human is reading, shown unfolded.'),
|
|
865
|
+
'latestSpeechSeq': z.number().readonly().optional().describe('Seq of the newest member speech of any kind: its action row stays shown, older rows reveal on hover.'),
|
|
866
|
+
'settings': z.object({
|
|
867
|
+
'memberMessages': z.union([z.literal("free"), z.literal("confirm")]).readonly(),
|
|
868
|
+
'hopLimit': z.number().readonly(),
|
|
869
|
+
'paused': z.boolean().readonly(),
|
|
870
|
+
'reportTiming': z.union([z.literal("judge"), z.literal("each")]).readonly(),
|
|
871
|
+
'autoTaskFiling': z.boolean().readonly(),
|
|
872
|
+
'reportThreshold': z.number().readonly(),
|
|
873
|
+
'reportWaitMinutes': z.number().readonly(),
|
|
874
|
+
'helpReminderMinutes': z.number().readonly(),
|
|
875
|
+
}).readonly().optional().describe('Collaboration settings (defaults when never set).'),
|
|
876
|
+
'jobs': z.array(z.object({
|
|
877
|
+
'id': z.string().readonly().describe('Root message id (or the root human dispatch\'s id).'),
|
|
878
|
+
'number': z.number().readonly().describe('1-based ordinal in the room, for 「任务 N」 and the coordinator\'s `task` argument.'),
|
|
879
|
+
'title': z.string().readonly(),
|
|
880
|
+
'messages': z.array(z.object({
|
|
881
|
+
'id': z.string().readonly(),
|
|
882
|
+
'time': z.number().readonly(),
|
|
883
|
+
'text': z.string().readonly(),
|
|
884
|
+
'by': z.union([z.literal("model"), z.literal("human"), z.literal("coordinator")]).readonly().optional(),
|
|
885
|
+
'probability': z.number().readonly().optional(),
|
|
886
|
+
})).readonly(),
|
|
887
|
+
'status': z.union([z.literal("running"), z.literal("stopped"), z.literal("done"), z.literal("attention")]).readonly(),
|
|
888
|
+
'startedAt': z.number().readonly(),
|
|
889
|
+
'endedAt': z.number().readonly().optional().describe('Last settlement, when nothing is open any more.'),
|
|
890
|
+
'deliveries': z.array(z.string()).readonly().describe('Delivery ids, in dispatch order.'),
|
|
891
|
+
'members': z.array(z.string()).readonly().describe('Member ids that took part.'),
|
|
892
|
+
'goalId': z.string().readonly().optional().describe('The formal goal (room_plan) this task\'s work belongs to, when any.'),
|
|
893
|
+
})).readonly().optional().describe('Tasks, newest first (absent in rooms that never dispatched work).'),
|
|
894
|
+
'helps': z.array(z.object({
|
|
895
|
+
'state': z.union([z.literal("failed"), z.literal("running"), z.literal("queued"), z.literal("asking"), z.literal("replied")]).readonly(),
|
|
896
|
+
'since': z.number().readonly().describe('When the thread entered its current state (epoch ms).'),
|
|
897
|
+
'error': z.string().readonly().optional(),
|
|
898
|
+
'messages': z.array(z.object({
|
|
899
|
+
'help': z.string().readonly(),
|
|
900
|
+
'kind': z.union([z.literal("question"), z.literal("reply"), z.literal("message")]).readonly().describe('`question`: the helper asks the asker. `reply`: the helper\'s answer (its final reply plus a short handoff). `message`: the asker writes again (an answer to a question, or a follow-up).'),
|
|
901
|
+
'text': z.string().readonly(),
|
|
902
|
+
'handoff': z.string().readonly().optional().describe('The helper\'s short handoff note on a reply.'),
|
|
903
|
+
'fallback': z.literal(true).readonly().optional().describe('A reply taken from the helper\'s last answer because it never called the reply tool.'),
|
|
904
|
+
'time': z.number().readonly(),
|
|
905
|
+
})).readonly(),
|
|
906
|
+
'time': z.number().readonly(),
|
|
907
|
+
'id': z.string().readonly(),
|
|
908
|
+
'from': z.string().readonly().describe('The asking member\'s id and name.'),
|
|
909
|
+
'fromName': z.string().readonly(),
|
|
910
|
+
'target': z.object({
|
|
911
|
+
'sessionId': z.string().readonly(),
|
|
912
|
+
'title': z.string().readonly(),
|
|
913
|
+
'room': z.literal(true).readonly().optional(),
|
|
914
|
+
'member': z.string().readonly().optional(),
|
|
915
|
+
}).readonly().describe('The helper\'s session. A room target (`room`) routes through that room: to the named `member`, else to its coordinator.'),
|
|
916
|
+
'text': z.string().readonly().describe('The request as the helper reads it.'),
|
|
917
|
+
})).readonly().optional().describe('Cross-session help threads this room opened (absent when none).'),
|
|
918
|
+
'linked': z.array(z.object({
|
|
919
|
+
'sessionId': z.string().readonly(),
|
|
920
|
+
'title': z.string().readonly(),
|
|
921
|
+
'time': z.number().readonly(),
|
|
922
|
+
})).readonly().optional().describe('Outside sessions kept on the member list (absent when none).'),
|
|
923
|
+
'helpNudgesDismissed': z.array(z.string()).readonly().optional().describe('Sessions whose 加入房间成员 hint was dismissed (absent when none).'),
|
|
616
924
|
}).readonly(),
|
|
617
925
|
}), z.object({
|
|
618
926
|
'ok': z.literal(false).readonly(),
|
|
@@ -651,6 +959,18 @@ const _khorsheed_dsh_room_room_getState_result$schema = () => (_khorsheed_dsh_ro
|
|
|
651
959
|
'code': z.literal("member-not-found").readonly(),
|
|
652
960
|
}), z.object({
|
|
653
961
|
'code': z.literal("empty-text").readonly(),
|
|
962
|
+
}), z.object({
|
|
963
|
+
'code': z.literal("role-too-long").readonly(),
|
|
964
|
+
}), z.object({
|
|
965
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
966
|
+
}), z.object({
|
|
967
|
+
'code': z.literal("self-message").readonly(),
|
|
968
|
+
}), z.object({
|
|
969
|
+
'code': z.literal("unknown-task").readonly(),
|
|
970
|
+
}), z.object({
|
|
971
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
972
|
+
'preset': z.string().readonly(),
|
|
973
|
+
'available': z.array(z.string()).readonly(),
|
|
654
974
|
}), z.object({
|
|
655
975
|
'code': z.literal("nothing-to-update").readonly(),
|
|
656
976
|
}), z.object({
|
|
@@ -668,6 +988,10 @@ const _khorsheed_dsh_room_room_getState_result$schema = () => (_khorsheed_dsh_ro
|
|
|
668
988
|
'code': z.literal("relay-not-found").readonly(),
|
|
669
989
|
}), z.object({
|
|
670
990
|
'code': z.literal("relay-not-pending").readonly(),
|
|
991
|
+
}), z.object({
|
|
992
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
993
|
+
}), z.object({
|
|
994
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
671
995
|
}), z.object({
|
|
672
996
|
'code': z.literal("main-member").readonly(),
|
|
673
997
|
}), z.object({
|
|
@@ -682,12 +1006,18 @@ const _khorsheed_dsh_room_room_getState_result$schema = () => (_khorsheed_dsh_ro
|
|
|
682
1006
|
let _khorsheed_dsh_room_room_invite_parameter_0$schema$value
|
|
683
1007
|
const _khorsheed_dsh_room_room_invite_parameter_0$schema = () => (_khorsheed_dsh_room_room_invite_parameter_0$schema$value ??= z.object({
|
|
684
1008
|
'sessionId': z.string().readonly().describe('Room session.'),
|
|
1009
|
+
'kind': z.union([z.literal("native"), z.literal("cli")]).readonly().optional().describe('`cli` (default): an external CLI through the local-agent family. `native`: a DSH child agent in this host process, composing `preset`.'),
|
|
1010
|
+
'preset': z.string().readonly().optional().describe('The member\'s mode: the host agent preset id. A native member composes it (omitted = the host default); a CLI member reaches its plugin tools through the bridge (omitted = no mode).'),
|
|
1011
|
+
'inheritPreset': z.boolean().readonly().optional().describe('With no `preset`: take the room session\'s own mode (the coordinator\'s invite default).'),
|
|
685
1012
|
'provider': z.string().readonly().describe('CLI provider id (non-blank).'),
|
|
686
1013
|
'name': z.string().readonly().describe('Addressing/display name: unique in the room, no whitespace, no `@`.'),
|
|
687
1014
|
'instructions': z.string().readonly().optional().describe('Role instructions, prepended to the member\'s first dispatch.'),
|
|
1015
|
+
'role': z.string().readonly().optional().describe('Short public role (≤ 30 chars); blank/omitted = none.'),
|
|
688
1016
|
'cwd': z.string().readonly().optional().describe('Member-level working directory (empty/omitted = inherits the room session\'s cwd). Recorded on the roster; not yet passed to the delegation facade (family need R2 pending).'),
|
|
689
1017
|
'firstTask': z.string().readonly().optional().describe('Optional first task, dispatched to the member as soon as it joins.'),
|
|
1018
|
+
'note': z.string().readonly().optional().describe('What the inviter waits for when the first task reports (see RoomDispatchEvent.note).'),
|
|
690
1019
|
'model': z.string().readonly().optional().describe('The delegation\'s model (blank/omitted = follow the harness default). Applies to local-agent harness providers only: it lands as the facade `start` call\'s `model` option, bound at spawn for exec and live alike.'),
|
|
1020
|
+
'effort': z.string().readonly().optional().describe('The delegation\'s reasoning effort (blank/omitted = follow the harness default): the facade `start` call\'s `effort` option, bound at spawn alongside the model.'),
|
|
691
1021
|
}))
|
|
692
1022
|
let _khorsheed_dsh_room_room_invite_result$schema$value
|
|
693
1023
|
const _khorsheed_dsh_room_room_invite_result$schema = () => (_khorsheed_dsh_room_room_invite_result$schema$value ??= z.union([z.object({
|
|
@@ -695,6 +1025,7 @@ const _khorsheed_dsh_room_room_invite_result$schema = () => (_khorsheed_dsh_room
|
|
|
695
1025
|
'value': z.object({
|
|
696
1026
|
'name': z.string().readonly().describe('The accepted member name.'),
|
|
697
1027
|
'pendingFirstTask': z.boolean().readonly().describe('True when a first task was supplied and dispatched with the invitation.'),
|
|
1028
|
+
'preset': z.string().readonly().optional().describe('The member\'s mode (preset id), when it has one.'),
|
|
698
1029
|
}).readonly(),
|
|
699
1030
|
}), z.object({
|
|
700
1031
|
'ok': z.literal(false).readonly(),
|
|
@@ -733,6 +1064,18 @@ const _khorsheed_dsh_room_room_invite_result$schema = () => (_khorsheed_dsh_room
|
|
|
733
1064
|
'code': z.literal("member-not-found").readonly(),
|
|
734
1065
|
}), z.object({
|
|
735
1066
|
'code': z.literal("empty-text").readonly(),
|
|
1067
|
+
}), z.object({
|
|
1068
|
+
'code': z.literal("role-too-long").readonly(),
|
|
1069
|
+
}), z.object({
|
|
1070
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
1071
|
+
}), z.object({
|
|
1072
|
+
'code': z.literal("self-message").readonly(),
|
|
1073
|
+
}), z.object({
|
|
1074
|
+
'code': z.literal("unknown-task").readonly(),
|
|
1075
|
+
}), z.object({
|
|
1076
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
1077
|
+
'preset': z.string().readonly(),
|
|
1078
|
+
'available': z.array(z.string()).readonly(),
|
|
736
1079
|
}), z.object({
|
|
737
1080
|
'code': z.literal("nothing-to-update").readonly(),
|
|
738
1081
|
}), z.object({
|
|
@@ -750,6 +1093,10 @@ const _khorsheed_dsh_room_room_invite_result$schema = () => (_khorsheed_dsh_room
|
|
|
750
1093
|
'code': z.literal("relay-not-found").readonly(),
|
|
751
1094
|
}), z.object({
|
|
752
1095
|
'code': z.literal("relay-not-pending").readonly(),
|
|
1096
|
+
}), z.object({
|
|
1097
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
1098
|
+
}), z.object({
|
|
1099
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
753
1100
|
}), z.object({
|
|
754
1101
|
'code': z.literal("main-member").readonly(),
|
|
755
1102
|
}), z.object({
|
|
@@ -767,47 +1114,15 @@ const _khorsheed_dsh_room_room_isRoom_parameter_0$schema = () => (_khorsheed_dsh
|
|
|
767
1114
|
}))
|
|
768
1115
|
let _khorsheed_dsh_room_room_isRoom_result$schema$value
|
|
769
1116
|
const _khorsheed_dsh_room_room_isRoom_result$schema = () => (_khorsheed_dsh_room_room_isRoom_result$schema$value ??= z.boolean())
|
|
770
|
-
let
|
|
771
|
-
const
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
'
|
|
775
|
-
'providers': z.array(z.object({
|
|
776
|
-
'provider': z.string().readonly().describe('The provider id invite/dispatch uses (the harness\'s delegationProvider).'),
|
|
777
|
-
'displayName': z.string().readonly(),
|
|
778
|
-
'harness': z.string().readonly().optional().describe('The roster harness name — the lookup key for the localAgentGateway `harnessModel` read (the invite dialog\'s model picker). Absent only on a pre-model-broker family core; the dialog then serves a plain text input.'),
|
|
779
|
-
'authenticated': z.boolean().readonly().describe('Whether the harness\'s scoped home holds usable credentials.'),
|
|
780
|
-
})).readonly(),
|
|
781
|
-
}))
|
|
782
|
-
let _khorsheed_dsh_room_room_planCommand_parameter_0$schema$value
|
|
783
|
-
const _khorsheed_dsh_room_room_planCommand_parameter_0$schema = () => (_khorsheed_dsh_room_room_planCommand_parameter_0$schema$value ??= z.object({
|
|
784
|
-
'sessionId': z.string(),
|
|
785
|
-
'command': z.string(),
|
|
786
|
-
}))
|
|
787
|
-
let _khorsheed_dsh_room_room_planCommand_result$schema$value
|
|
788
|
-
const _khorsheed_dsh_room_room_planCommand_result$schema = () => (_khorsheed_dsh_room_room_planCommand_result$schema$value ??= z.union([z.object({
|
|
789
|
-
'ok': z.literal(true),
|
|
790
|
-
}), z.object({
|
|
791
|
-
'ok': z.literal(false),
|
|
792
|
-
'message': z.string(),
|
|
793
|
-
})]))
|
|
794
|
-
let _khorsheed_dsh_room_room_postMessage_parameter_0$schema$value
|
|
795
|
-
const _khorsheed_dsh_room_room_postMessage_parameter_0$schema = () => (_khorsheed_dsh_room_room_postMessage_parameter_0$schema$value ??= z.object({
|
|
796
|
-
'requestId': z.string().readonly().optional(),
|
|
797
|
-
'sessionId': z.string().readonly().describe('Room session.'),
|
|
798
|
-
'text': z.string().readonly().describe('Raw composer text: leading `@name` tokens address members.'),
|
|
799
|
-
'targets': z.array(z.string()).readonly().optional().describe('Menu-picked addressees (the room composer\'s mention menu records a pick as explicit addressing even when the `@name` sits mid-sentence). Unioned with the parsed leading tokens and validated against the roster the same way; the text itself is dispatched verbatim either way.'),
|
|
1117
|
+
let _khorsheed_dsh_room_room_linkSession_parameter_0$schema$value
|
|
1118
|
+
const _khorsheed_dsh_room_room_linkSession_parameter_0$schema = () => (_khorsheed_dsh_room_room_linkSession_parameter_0$schema$value ??= z.object({
|
|
1119
|
+
'sessionId': z.string().readonly(),
|
|
1120
|
+
'target': z.string().readonly().describe('The outside session.'),
|
|
1121
|
+
'title': z.string().readonly().optional().describe('Its title (link only).'),
|
|
800
1122
|
}))
|
|
801
|
-
let
|
|
802
|
-
const
|
|
1123
|
+
let _khorsheed_dsh_room_room_linkSession_result$schema$value
|
|
1124
|
+
const _khorsheed_dsh_room_room_linkSession_result$schema = () => (_khorsheed_dsh_room_room_linkSession_result$schema$value ??= z.union([z.object({
|
|
803
1125
|
'ok': z.literal(true).readonly(),
|
|
804
|
-
'value': z.object({
|
|
805
|
-
'parsed': z.object({
|
|
806
|
-
'targets': z.array(z.string()).readonly().describe('Addressed members (never empty — a bare message is a `no-targets` rejection).'),
|
|
807
|
-
'text': z.string().readonly().describe('The message body with the leading'),
|
|
808
|
-
}).readonly(),
|
|
809
|
-
'seq': z.number().readonly().describe('Seq of the appended journal event.'),
|
|
810
|
-
}).readonly(),
|
|
811
1126
|
}), z.object({
|
|
812
1127
|
'ok': z.literal(false).readonly(),
|
|
813
1128
|
'error': z.union([z.object({
|
|
@@ -845,6 +1160,18 @@ const _khorsheed_dsh_room_room_postMessage_result$schema = () => (_khorsheed_dsh
|
|
|
845
1160
|
'code': z.literal("member-not-found").readonly(),
|
|
846
1161
|
}), z.object({
|
|
847
1162
|
'code': z.literal("empty-text").readonly(),
|
|
1163
|
+
}), z.object({
|
|
1164
|
+
'code': z.literal("role-too-long").readonly(),
|
|
1165
|
+
}), z.object({
|
|
1166
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
1167
|
+
}), z.object({
|
|
1168
|
+
'code': z.literal("self-message").readonly(),
|
|
1169
|
+
}), z.object({
|
|
1170
|
+
'code': z.literal("unknown-task").readonly(),
|
|
1171
|
+
}), z.object({
|
|
1172
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
1173
|
+
'preset': z.string().readonly(),
|
|
1174
|
+
'available': z.array(z.string()).readonly(),
|
|
848
1175
|
}), z.object({
|
|
849
1176
|
'code': z.literal("nothing-to-update").readonly(),
|
|
850
1177
|
}), z.object({
|
|
@@ -862,6 +1189,10 @@ const _khorsheed_dsh_room_room_postMessage_result$schema = () => (_khorsheed_dsh
|
|
|
862
1189
|
'code': z.literal("relay-not-found").readonly(),
|
|
863
1190
|
}), z.object({
|
|
864
1191
|
'code': z.literal("relay-not-pending").readonly(),
|
|
1192
|
+
}), z.object({
|
|
1193
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
1194
|
+
}), z.object({
|
|
1195
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
865
1196
|
}), z.object({
|
|
866
1197
|
'code': z.literal("main-member").readonly(),
|
|
867
1198
|
}), z.object({
|
|
@@ -873,26 +1204,159 @@ const _khorsheed_dsh_room_room_postMessage_result$schema = () => (_khorsheed_dsh
|
|
|
873
1204
|
'message': z.string().readonly(),
|
|
874
1205
|
})]).readonly(),
|
|
875
1206
|
})]))
|
|
876
|
-
let
|
|
877
|
-
const
|
|
878
|
-
'sessionId': z.string().readonly(),
|
|
879
|
-
'name': z.string().readonly(),
|
|
1207
|
+
let _khorsheed_dsh_room_room_listProviders_parameter_0$schema$value
|
|
1208
|
+
const _khorsheed_dsh_room_room_listProviders_parameter_0$schema = () => (_khorsheed_dsh_room_room_listProviders_parameter_0$schema$value ??= z.object({
|
|
1209
|
+
'sessionId': z.string().readonly().optional().describe('The session the invite is for: the result then carries its mode (`sessionPreset`).'),
|
|
880
1210
|
}))
|
|
881
|
-
let
|
|
882
|
-
const
|
|
883
|
-
'
|
|
884
|
-
'
|
|
885
|
-
'
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
'
|
|
889
|
-
|
|
890
|
-
'
|
|
891
|
-
|
|
892
|
-
'
|
|
893
|
-
|
|
894
|
-
'
|
|
895
|
-
|
|
1211
|
+
let _khorsheed_dsh_room_room_listProviders_result$schema$value
|
|
1212
|
+
const _khorsheed_dsh_room_room_listProviders_result$schema = () => (_khorsheed_dsh_room_room_listProviders_result$schema$value ??= z.object({
|
|
1213
|
+
'localAgentAvailable': z.boolean().readonly().describe('False when the local-agent delegation facade is absent (CLI members undispatchable).'),
|
|
1214
|
+
'providers': z.array(z.object({
|
|
1215
|
+
'provider': z.string().readonly().describe('The provider id invite/dispatch uses (the harness\'s delegationProvider).'),
|
|
1216
|
+
'displayName': z.string().readonly(),
|
|
1217
|
+
'harness': z.string().readonly().optional().describe('The roster harness name — the lookup key for the localAgentGateway `harnessModel` read (the invite dialog\'s model picker). Absent only on a pre-model-broker family core; the dialog then serves a plain text input.'),
|
|
1218
|
+
'authenticated': z.boolean().readonly().describe('Whether the harness\'s scoped home holds usable credentials.'),
|
|
1219
|
+
})).readonly(),
|
|
1220
|
+
'presets': z.array(z.object({
|
|
1221
|
+
'id': z.string().readonly(),
|
|
1222
|
+
'name': z.string().readonly().optional(),
|
|
1223
|
+
'description': z.string().readonly().optional(),
|
|
1224
|
+
'isDefault': z.boolean().readonly(),
|
|
1225
|
+
'broken': z.string().readonly().optional().describe('Why the preset cannot be composed right now.'),
|
|
1226
|
+
})).readonly().optional().describe('The host\'s agent presets a native DSH member may compose; absent when the composition mounts no preset registry (native members then run the plain composition).'),
|
|
1227
|
+
'sessionPreset': z.string().readonly().optional().describe('The requested session\'s own mode (preset id), when known: the dialog\'s default mode.'),
|
|
1228
|
+
}))
|
|
1229
|
+
let _khorsheed_dsh_room_room_planCommand_parameter_0$schema$value
|
|
1230
|
+
const _khorsheed_dsh_room_room_planCommand_parameter_0$schema = () => (_khorsheed_dsh_room_room_planCommand_parameter_0$schema$value ??= z.object({
|
|
1231
|
+
'sessionId': z.string(),
|
|
1232
|
+
'command': z.string(),
|
|
1233
|
+
}))
|
|
1234
|
+
let _khorsheed_dsh_room_room_planCommand_result$schema$value
|
|
1235
|
+
const _khorsheed_dsh_room_room_planCommand_result$schema = () => (_khorsheed_dsh_room_room_planCommand_result$schema$value ??= z.union([z.object({
|
|
1236
|
+
'ok': z.literal(true),
|
|
1237
|
+
}), z.object({
|
|
1238
|
+
'ok': z.literal(false),
|
|
1239
|
+
'message': z.string(),
|
|
1240
|
+
})]))
|
|
1241
|
+
let _khorsheed_dsh_room_room_postMessage_parameter_0$schema$value
|
|
1242
|
+
const _khorsheed_dsh_room_room_postMessage_parameter_0$schema = () => (_khorsheed_dsh_room_room_postMessage_parameter_0$schema$value ??= z.object({
|
|
1243
|
+
'requestId': z.string().readonly().optional(),
|
|
1244
|
+
'sessionId': z.string().readonly().describe('Room session.'),
|
|
1245
|
+
'text': z.string().readonly().describe('Raw composer text: leading `@name` tokens address members.'),
|
|
1246
|
+
'targets': z.array(z.string()).readonly().optional().describe('Menu-picked addressees (the room composer\'s mention menu records a pick as explicit addressing even when the `@name` sits mid-sentence). Unioned with the parsed leading tokens and validated against the roster the same way; the text itself is dispatched verbatim either way.'),
|
|
1247
|
+
'task': z.string().readonly().optional().describe('The composer\'s task tag: `new` or a task root id (see RoomSetTaskHintRequest).'),
|
|
1248
|
+
}))
|
|
1249
|
+
let _khorsheed_dsh_room_room_postMessage_result$schema$value
|
|
1250
|
+
const _khorsheed_dsh_room_room_postMessage_result$schema = () => (_khorsheed_dsh_room_room_postMessage_result$schema$value ??= z.union([z.object({
|
|
1251
|
+
'ok': z.literal(true).readonly(),
|
|
1252
|
+
'value': z.object({
|
|
1253
|
+
'parsed': z.object({
|
|
1254
|
+
'targets': z.array(z.string()).readonly().describe('Addressed members (never empty — a bare message is a `no-targets` rejection).'),
|
|
1255
|
+
'text': z.string().readonly().describe('The message body with the leading'),
|
|
1256
|
+
}).readonly(),
|
|
1257
|
+
'seq': z.number().readonly().describe('Seq of the appended journal event.'),
|
|
1258
|
+
}).readonly(),
|
|
1259
|
+
}), z.object({
|
|
1260
|
+
'ok': z.literal(false).readonly(),
|
|
1261
|
+
'error': z.union([z.object({
|
|
1262
|
+
'code': z.literal("request-conflict").readonly(),
|
|
1263
|
+
}), z.object({
|
|
1264
|
+
'code': z.literal("member-cwd-bound").readonly(),
|
|
1265
|
+
}), z.object({
|
|
1266
|
+
'code': z.literal("not-coordinator").readonly(),
|
|
1267
|
+
}), z.object({
|
|
1268
|
+
'code': z.literal("delivery-not-uncertain").readonly(),
|
|
1269
|
+
}), z.object({
|
|
1270
|
+
'code': z.literal("plan-reconciliation-required").readonly(),
|
|
1271
|
+
}), z.object({
|
|
1272
|
+
'code': z.literal("coordinator-busy").readonly(),
|
|
1273
|
+
}), z.object({
|
|
1274
|
+
'code': z.literal("coordinator-not-ready").readonly(),
|
|
1275
|
+
'message': z.string().readonly(),
|
|
1276
|
+
}), z.object({
|
|
1277
|
+
'code': z.literal("coordinator-conflict").readonly(),
|
|
1278
|
+
}), z.object({
|
|
1279
|
+
'code': z.literal("active-coordinator").readonly(),
|
|
1280
|
+
}), z.object({
|
|
1281
|
+
'code': z.literal("configuration-owned-by-core").readonly(),
|
|
1282
|
+
}), z.object({
|
|
1283
|
+
'code': z.literal("session-not-found").readonly(),
|
|
1284
|
+
}), z.object({
|
|
1285
|
+
'code': z.literal("not-a-room").readonly(),
|
|
1286
|
+
}), z.object({
|
|
1287
|
+
'code': z.literal("invalid-name").readonly(),
|
|
1288
|
+
}), z.object({
|
|
1289
|
+
'code': z.literal("duplicate-name").readonly(),
|
|
1290
|
+
}), z.object({
|
|
1291
|
+
'code': z.literal("empty-provider").readonly(),
|
|
1292
|
+
}), z.object({
|
|
1293
|
+
'code': z.literal("member-not-found").readonly(),
|
|
1294
|
+
}), z.object({
|
|
1295
|
+
'code': z.literal("empty-text").readonly(),
|
|
1296
|
+
}), z.object({
|
|
1297
|
+
'code': z.literal("role-too-long").readonly(),
|
|
1298
|
+
}), z.object({
|
|
1299
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
1300
|
+
}), z.object({
|
|
1301
|
+
'code': z.literal("self-message").readonly(),
|
|
1302
|
+
}), z.object({
|
|
1303
|
+
'code': z.literal("unknown-task").readonly(),
|
|
1304
|
+
}), z.object({
|
|
1305
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
1306
|
+
'preset': z.string().readonly(),
|
|
1307
|
+
'available': z.array(z.string()).readonly(),
|
|
1308
|
+
}), z.object({
|
|
1309
|
+
'code': z.literal("nothing-to-update").readonly(),
|
|
1310
|
+
}), z.object({
|
|
1311
|
+
'code': z.literal("local-agent-unavailable").readonly(),
|
|
1312
|
+
}), z.object({
|
|
1313
|
+
'code': z.literal("unknown-provider").readonly(),
|
|
1314
|
+
'provider': z.string().readonly(),
|
|
1315
|
+
'available': z.array(z.string()).readonly(),
|
|
1316
|
+
}), z.object({
|
|
1317
|
+
'code': z.literal("unknown-targets").readonly(),
|
|
1318
|
+
'names': z.array(z.string()).readonly(),
|
|
1319
|
+
}), z.object({
|
|
1320
|
+
'code': z.literal("no-targets").readonly(),
|
|
1321
|
+
}), z.object({
|
|
1322
|
+
'code': z.literal("relay-not-found").readonly(),
|
|
1323
|
+
}), z.object({
|
|
1324
|
+
'code': z.literal("relay-not-pending").readonly(),
|
|
1325
|
+
}), z.object({
|
|
1326
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
1327
|
+
}), z.object({
|
|
1328
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
1329
|
+
}), z.object({
|
|
1330
|
+
'code': z.literal("main-member").readonly(),
|
|
1331
|
+
}), z.object({
|
|
1332
|
+
'code': z.literal("task-not-found").readonly(),
|
|
1333
|
+
}), z.object({
|
|
1334
|
+
'code': z.literal("task-closed").readonly(),
|
|
1335
|
+
}), z.object({
|
|
1336
|
+
'code': z.literal("resume-failed").readonly(),
|
|
1337
|
+
'message': z.string().readonly(),
|
|
1338
|
+
})]).readonly(),
|
|
1339
|
+
})]))
|
|
1340
|
+
let _khorsheed_dsh_room_room_prepareMember_parameter_0$schema$value
|
|
1341
|
+
const _khorsheed_dsh_room_room_prepareMember_parameter_0$schema = () => (_khorsheed_dsh_room_room_prepareMember_parameter_0$schema$value ??= z.object({
|
|
1342
|
+
'sessionId': z.string().readonly(),
|
|
1343
|
+
'name': z.string().readonly(),
|
|
1344
|
+
}))
|
|
1345
|
+
let _khorsheed_dsh_room_room_prepareMember_result$schema$value
|
|
1346
|
+
const _khorsheed_dsh_room_room_prepareMember_result$schema = () => (_khorsheed_dsh_room_room_prepareMember_result$schema$value ??= z.union([z.object({
|
|
1347
|
+
'ok': z.literal(true).readonly(),
|
|
1348
|
+
'value': z.object({
|
|
1349
|
+
'childSessionId': z.string().readonly(),
|
|
1350
|
+
}).readonly(),
|
|
1351
|
+
}), z.object({
|
|
1352
|
+
'ok': z.literal(false).readonly(),
|
|
1353
|
+
'error': z.union([z.object({
|
|
1354
|
+
'code': z.literal("request-conflict").readonly(),
|
|
1355
|
+
}), z.object({
|
|
1356
|
+
'code': z.literal("member-cwd-bound").readonly(),
|
|
1357
|
+
}), z.object({
|
|
1358
|
+
'code': z.literal("not-coordinator").readonly(),
|
|
1359
|
+
}), z.object({
|
|
896
1360
|
'code': z.literal("delivery-not-uncertain").readonly(),
|
|
897
1361
|
}), z.object({
|
|
898
1362
|
'code': z.literal("plan-reconciliation-required").readonly(),
|
|
@@ -921,6 +1385,18 @@ const _khorsheed_dsh_room_room_prepareMember_result$schema = () => (_khorsheed_d
|
|
|
921
1385
|
'code': z.literal("member-not-found").readonly(),
|
|
922
1386
|
}), z.object({
|
|
923
1387
|
'code': z.literal("empty-text").readonly(),
|
|
1388
|
+
}), z.object({
|
|
1389
|
+
'code': z.literal("role-too-long").readonly(),
|
|
1390
|
+
}), z.object({
|
|
1391
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
1392
|
+
}), z.object({
|
|
1393
|
+
'code': z.literal("self-message").readonly(),
|
|
1394
|
+
}), z.object({
|
|
1395
|
+
'code': z.literal("unknown-task").readonly(),
|
|
1396
|
+
}), z.object({
|
|
1397
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
1398
|
+
'preset': z.string().readonly(),
|
|
1399
|
+
'available': z.array(z.string()).readonly(),
|
|
924
1400
|
}), z.object({
|
|
925
1401
|
'code': z.literal("nothing-to-update").readonly(),
|
|
926
1402
|
}), z.object({
|
|
@@ -938,6 +1414,10 @@ const _khorsheed_dsh_room_room_prepareMember_result$schema = () => (_khorsheed_d
|
|
|
938
1414
|
'code': z.literal("relay-not-found").readonly(),
|
|
939
1415
|
}), z.object({
|
|
940
1416
|
'code': z.literal("relay-not-pending").readonly(),
|
|
1417
|
+
}), z.object({
|
|
1418
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
1419
|
+
}), z.object({
|
|
1420
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
941
1421
|
}), z.object({
|
|
942
1422
|
'code': z.literal("main-member").readonly(),
|
|
943
1423
|
}), z.object({
|
|
@@ -996,6 +1476,110 @@ const _khorsheed_dsh_room_room_reconcileDelivery_result$schema = () => (_khorshe
|
|
|
996
1476
|
'code': z.literal("member-not-found").readonly(),
|
|
997
1477
|
}), z.object({
|
|
998
1478
|
'code': z.literal("empty-text").readonly(),
|
|
1479
|
+
}), z.object({
|
|
1480
|
+
'code': z.literal("role-too-long").readonly(),
|
|
1481
|
+
}), z.object({
|
|
1482
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
1483
|
+
}), z.object({
|
|
1484
|
+
'code': z.literal("self-message").readonly(),
|
|
1485
|
+
}), z.object({
|
|
1486
|
+
'code': z.literal("unknown-task").readonly(),
|
|
1487
|
+
}), z.object({
|
|
1488
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
1489
|
+
'preset': z.string().readonly(),
|
|
1490
|
+
'available': z.array(z.string()).readonly(),
|
|
1491
|
+
}), z.object({
|
|
1492
|
+
'code': z.literal("nothing-to-update").readonly(),
|
|
1493
|
+
}), z.object({
|
|
1494
|
+
'code': z.literal("local-agent-unavailable").readonly(),
|
|
1495
|
+
}), z.object({
|
|
1496
|
+
'code': z.literal("unknown-provider").readonly(),
|
|
1497
|
+
'provider': z.string().readonly(),
|
|
1498
|
+
'available': z.array(z.string()).readonly(),
|
|
1499
|
+
}), z.object({
|
|
1500
|
+
'code': z.literal("unknown-targets").readonly(),
|
|
1501
|
+
'names': z.array(z.string()).readonly(),
|
|
1502
|
+
}), z.object({
|
|
1503
|
+
'code': z.literal("no-targets").readonly(),
|
|
1504
|
+
}), z.object({
|
|
1505
|
+
'code': z.literal("relay-not-found").readonly(),
|
|
1506
|
+
}), z.object({
|
|
1507
|
+
'code': z.literal("relay-not-pending").readonly(),
|
|
1508
|
+
}), z.object({
|
|
1509
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
1510
|
+
}), z.object({
|
|
1511
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
1512
|
+
}), z.object({
|
|
1513
|
+
'code': z.literal("main-member").readonly(),
|
|
1514
|
+
}), z.object({
|
|
1515
|
+
'code': z.literal("task-not-found").readonly(),
|
|
1516
|
+
}), z.object({
|
|
1517
|
+
'code': z.literal("task-closed").readonly(),
|
|
1518
|
+
}), z.object({
|
|
1519
|
+
'code': z.literal("resume-failed").readonly(),
|
|
1520
|
+
'message': z.string().readonly(),
|
|
1521
|
+
})]).readonly(),
|
|
1522
|
+
})]))
|
|
1523
|
+
let _khorsheed_dsh_room_room_releaseReports_parameter_0$schema$value
|
|
1524
|
+
const _khorsheed_dsh_room_room_releaseReports_parameter_0$schema = () => (_khorsheed_dsh_room_room_releaseReports_parameter_0$schema$value ??= z.object({
|
|
1525
|
+
'sessionId': z.string().readonly(),
|
|
1526
|
+
'name': z.string().readonly(),
|
|
1527
|
+
}))
|
|
1528
|
+
let _khorsheed_dsh_room_room_releaseReports_result$schema$value
|
|
1529
|
+
const _khorsheed_dsh_room_room_releaseReports_result$schema = () => (_khorsheed_dsh_room_room_releaseReports_result$schema$value ??= z.union([z.object({
|
|
1530
|
+
'ok': z.literal(true).readonly(),
|
|
1531
|
+
'value': z.object({
|
|
1532
|
+
'released': z.boolean().readonly(),
|
|
1533
|
+
}).readonly(),
|
|
1534
|
+
}), z.object({
|
|
1535
|
+
'ok': z.literal(false).readonly(),
|
|
1536
|
+
'error': z.union([z.object({
|
|
1537
|
+
'code': z.literal("request-conflict").readonly(),
|
|
1538
|
+
}), z.object({
|
|
1539
|
+
'code': z.literal("member-cwd-bound").readonly(),
|
|
1540
|
+
}), z.object({
|
|
1541
|
+
'code': z.literal("not-coordinator").readonly(),
|
|
1542
|
+
}), z.object({
|
|
1543
|
+
'code': z.literal("delivery-not-uncertain").readonly(),
|
|
1544
|
+
}), z.object({
|
|
1545
|
+
'code': z.literal("plan-reconciliation-required").readonly(),
|
|
1546
|
+
}), z.object({
|
|
1547
|
+
'code': z.literal("coordinator-busy").readonly(),
|
|
1548
|
+
}), z.object({
|
|
1549
|
+
'code': z.literal("coordinator-not-ready").readonly(),
|
|
1550
|
+
'message': z.string().readonly(),
|
|
1551
|
+
}), z.object({
|
|
1552
|
+
'code': z.literal("coordinator-conflict").readonly(),
|
|
1553
|
+
}), z.object({
|
|
1554
|
+
'code': z.literal("active-coordinator").readonly(),
|
|
1555
|
+
}), z.object({
|
|
1556
|
+
'code': z.literal("configuration-owned-by-core").readonly(),
|
|
1557
|
+
}), z.object({
|
|
1558
|
+
'code': z.literal("session-not-found").readonly(),
|
|
1559
|
+
}), z.object({
|
|
1560
|
+
'code': z.literal("not-a-room").readonly(),
|
|
1561
|
+
}), z.object({
|
|
1562
|
+
'code': z.literal("invalid-name").readonly(),
|
|
1563
|
+
}), z.object({
|
|
1564
|
+
'code': z.literal("duplicate-name").readonly(),
|
|
1565
|
+
}), z.object({
|
|
1566
|
+
'code': z.literal("empty-provider").readonly(),
|
|
1567
|
+
}), z.object({
|
|
1568
|
+
'code': z.literal("member-not-found").readonly(),
|
|
1569
|
+
}), z.object({
|
|
1570
|
+
'code': z.literal("empty-text").readonly(),
|
|
1571
|
+
}), z.object({
|
|
1572
|
+
'code': z.literal("role-too-long").readonly(),
|
|
1573
|
+
}), z.object({
|
|
1574
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
1575
|
+
}), z.object({
|
|
1576
|
+
'code': z.literal("self-message").readonly(),
|
|
1577
|
+
}), z.object({
|
|
1578
|
+
'code': z.literal("unknown-task").readonly(),
|
|
1579
|
+
}), z.object({
|
|
1580
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
1581
|
+
'preset': z.string().readonly(),
|
|
1582
|
+
'available': z.array(z.string()).readonly(),
|
|
999
1583
|
}), z.object({
|
|
1000
1584
|
'code': z.literal("nothing-to-update").readonly(),
|
|
1001
1585
|
}), z.object({
|
|
@@ -1013,6 +1597,10 @@ const _khorsheed_dsh_room_room_reconcileDelivery_result$schema = () => (_khorshe
|
|
|
1013
1597
|
'code': z.literal("relay-not-found").readonly(),
|
|
1014
1598
|
}), z.object({
|
|
1015
1599
|
'code': z.literal("relay-not-pending").readonly(),
|
|
1600
|
+
}), z.object({
|
|
1601
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
1602
|
+
}), z.object({
|
|
1603
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
1016
1604
|
}), z.object({
|
|
1017
1605
|
'code': z.literal("main-member").readonly(),
|
|
1018
1606
|
}), z.object({
|
|
@@ -1034,6 +1622,9 @@ const _khorsheed_dsh_room_room_removeMember_result$schema = () => (_khorsheed_ds
|
|
|
1034
1622
|
'ok': z.literal(true).readonly(),
|
|
1035
1623
|
'value': z.object({
|
|
1036
1624
|
'name': z.string().readonly(),
|
|
1625
|
+
'stopped': z.boolean().readonly().describe('True when a running round was stopped first.'),
|
|
1626
|
+
'cancelledDeliveries': z.number().readonly().describe('Queued messages that will never be delivered.'),
|
|
1627
|
+
'notified': z.array(z.string()).readonly().describe('Members that were waiting for a report and were told instead.'),
|
|
1037
1628
|
}).readonly(),
|
|
1038
1629
|
}), z.object({
|
|
1039
1630
|
'ok': z.literal(false).readonly(),
|
|
@@ -1072,6 +1663,18 @@ const _khorsheed_dsh_room_room_removeMember_result$schema = () => (_khorsheed_ds
|
|
|
1072
1663
|
'code': z.literal("member-not-found").readonly(),
|
|
1073
1664
|
}), z.object({
|
|
1074
1665
|
'code': z.literal("empty-text").readonly(),
|
|
1666
|
+
}), z.object({
|
|
1667
|
+
'code': z.literal("role-too-long").readonly(),
|
|
1668
|
+
}), z.object({
|
|
1669
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
1670
|
+
}), z.object({
|
|
1671
|
+
'code': z.literal("self-message").readonly(),
|
|
1672
|
+
}), z.object({
|
|
1673
|
+
'code': z.literal("unknown-task").readonly(),
|
|
1674
|
+
}), z.object({
|
|
1675
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
1676
|
+
'preset': z.string().readonly(),
|
|
1677
|
+
'available': z.array(z.string()).readonly(),
|
|
1075
1678
|
}), z.object({
|
|
1076
1679
|
'code': z.literal("nothing-to-update").readonly(),
|
|
1077
1680
|
}), z.object({
|
|
@@ -1089,6 +1692,10 @@ const _khorsheed_dsh_room_room_removeMember_result$schema = () => (_khorsheed_ds
|
|
|
1089
1692
|
'code': z.literal("relay-not-found").readonly(),
|
|
1090
1693
|
}), z.object({
|
|
1091
1694
|
'code': z.literal("relay-not-pending").readonly(),
|
|
1695
|
+
}), z.object({
|
|
1696
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
1697
|
+
}), z.object({
|
|
1698
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
1092
1699
|
}), z.object({
|
|
1093
1700
|
'code': z.literal("main-member").readonly(),
|
|
1094
1701
|
}), z.object({
|
|
@@ -1100,21 +1707,412 @@ const _khorsheed_dsh_room_room_removeMember_result$schema = () => (_khorsheed_ds
|
|
|
1100
1707
|
'message': z.string().readonly(),
|
|
1101
1708
|
})]).readonly(),
|
|
1102
1709
|
})]))
|
|
1103
|
-
let
|
|
1104
|
-
const
|
|
1710
|
+
let _khorsheed_dsh_room_room_restoreMember_parameter_0$schema$value
|
|
1711
|
+
const _khorsheed_dsh_room_room_restoreMember_parameter_0$schema = () => (_khorsheed_dsh_room_room_restoreMember_parameter_0$schema$value ??= z.object({
|
|
1712
|
+
'sessionId': z.string().readonly(),
|
|
1713
|
+
'name': z.string().readonly(),
|
|
1714
|
+
}))
|
|
1715
|
+
let _khorsheed_dsh_room_room_restoreMember_result$schema$value
|
|
1716
|
+
const _khorsheed_dsh_room_room_restoreMember_result$schema = () => (_khorsheed_dsh_room_room_restoreMember_result$schema$value ??= z.union([z.object({
|
|
1717
|
+
'ok': z.literal(true).readonly(),
|
|
1718
|
+
'value': z.object({
|
|
1719
|
+
'name': z.string().readonly(),
|
|
1720
|
+
}).readonly(),
|
|
1721
|
+
}), z.object({
|
|
1722
|
+
'ok': z.literal(false).readonly(),
|
|
1723
|
+
'error': z.union([z.object({
|
|
1724
|
+
'code': z.literal("request-conflict").readonly(),
|
|
1725
|
+
}), z.object({
|
|
1726
|
+
'code': z.literal("member-cwd-bound").readonly(),
|
|
1727
|
+
}), z.object({
|
|
1728
|
+
'code': z.literal("not-coordinator").readonly(),
|
|
1729
|
+
}), z.object({
|
|
1730
|
+
'code': z.literal("delivery-not-uncertain").readonly(),
|
|
1731
|
+
}), z.object({
|
|
1732
|
+
'code': z.literal("plan-reconciliation-required").readonly(),
|
|
1733
|
+
}), z.object({
|
|
1734
|
+
'code': z.literal("coordinator-busy").readonly(),
|
|
1735
|
+
}), z.object({
|
|
1736
|
+
'code': z.literal("coordinator-not-ready").readonly(),
|
|
1737
|
+
'message': z.string().readonly(),
|
|
1738
|
+
}), z.object({
|
|
1739
|
+
'code': z.literal("coordinator-conflict").readonly(),
|
|
1740
|
+
}), z.object({
|
|
1741
|
+
'code': z.literal("active-coordinator").readonly(),
|
|
1742
|
+
}), z.object({
|
|
1743
|
+
'code': z.literal("configuration-owned-by-core").readonly(),
|
|
1744
|
+
}), z.object({
|
|
1745
|
+
'code': z.literal("session-not-found").readonly(),
|
|
1746
|
+
}), z.object({
|
|
1747
|
+
'code': z.literal("not-a-room").readonly(),
|
|
1748
|
+
}), z.object({
|
|
1749
|
+
'code': z.literal("invalid-name").readonly(),
|
|
1750
|
+
}), z.object({
|
|
1751
|
+
'code': z.literal("duplicate-name").readonly(),
|
|
1752
|
+
}), z.object({
|
|
1753
|
+
'code': z.literal("empty-provider").readonly(),
|
|
1754
|
+
}), z.object({
|
|
1755
|
+
'code': z.literal("member-not-found").readonly(),
|
|
1756
|
+
}), z.object({
|
|
1757
|
+
'code': z.literal("empty-text").readonly(),
|
|
1758
|
+
}), z.object({
|
|
1759
|
+
'code': z.literal("role-too-long").readonly(),
|
|
1760
|
+
}), z.object({
|
|
1761
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
1762
|
+
}), z.object({
|
|
1763
|
+
'code': z.literal("self-message").readonly(),
|
|
1764
|
+
}), z.object({
|
|
1765
|
+
'code': z.literal("unknown-task").readonly(),
|
|
1766
|
+
}), z.object({
|
|
1767
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
1768
|
+
'preset': z.string().readonly(),
|
|
1769
|
+
'available': z.array(z.string()).readonly(),
|
|
1770
|
+
}), z.object({
|
|
1771
|
+
'code': z.literal("nothing-to-update").readonly(),
|
|
1772
|
+
}), z.object({
|
|
1773
|
+
'code': z.literal("local-agent-unavailable").readonly(),
|
|
1774
|
+
}), z.object({
|
|
1775
|
+
'code': z.literal("unknown-provider").readonly(),
|
|
1776
|
+
'provider': z.string().readonly(),
|
|
1777
|
+
'available': z.array(z.string()).readonly(),
|
|
1778
|
+
}), z.object({
|
|
1779
|
+
'code': z.literal("unknown-targets").readonly(),
|
|
1780
|
+
'names': z.array(z.string()).readonly(),
|
|
1781
|
+
}), z.object({
|
|
1782
|
+
'code': z.literal("no-targets").readonly(),
|
|
1783
|
+
}), z.object({
|
|
1784
|
+
'code': z.literal("relay-not-found").readonly(),
|
|
1785
|
+
}), z.object({
|
|
1786
|
+
'code': z.literal("relay-not-pending").readonly(),
|
|
1787
|
+
}), z.object({
|
|
1788
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
1789
|
+
}), z.object({
|
|
1790
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
1791
|
+
}), z.object({
|
|
1792
|
+
'code': z.literal("main-member").readonly(),
|
|
1793
|
+
}), z.object({
|
|
1794
|
+
'code': z.literal("task-not-found").readonly(),
|
|
1795
|
+
}), z.object({
|
|
1796
|
+
'code': z.literal("task-closed").readonly(),
|
|
1797
|
+
}), z.object({
|
|
1798
|
+
'code': z.literal("resume-failed").readonly(),
|
|
1799
|
+
'message': z.string().readonly(),
|
|
1800
|
+
})]).readonly(),
|
|
1801
|
+
})]))
|
|
1802
|
+
let _khorsheed_dsh_room_room_setCoordinator_parameter_0$schema$value
|
|
1803
|
+
const _khorsheed_dsh_room_room_setCoordinator_parameter_0$schema = () => (_khorsheed_dsh_room_room_setCoordinator_parameter_0$schema$value ??= z.object({
|
|
1804
|
+
'sessionId': z.string().readonly(),
|
|
1805
|
+
'memberId': z.string().readonly(),
|
|
1806
|
+
'expectedRevision': z.number().readonly(),
|
|
1807
|
+
}))
|
|
1808
|
+
let _khorsheed_dsh_room_room_setCoordinator_result$schema$value
|
|
1809
|
+
const _khorsheed_dsh_room_room_setCoordinator_result$schema = () => (_khorsheed_dsh_room_room_setCoordinator_result$schema$value ??= z.union([z.object({
|
|
1810
|
+
'ok': z.literal(true).readonly(),
|
|
1811
|
+
'value': z.object({
|
|
1812
|
+
'version': z.literal(1).readonly(),
|
|
1813
|
+
'memberId': z.string().readonly(),
|
|
1814
|
+
'revision': z.number().readonly(),
|
|
1815
|
+
'previousMemberId': z.string().readonly(),
|
|
1816
|
+
'handoff': z.string().readonly(),
|
|
1817
|
+
}).readonly(),
|
|
1818
|
+
}), z.object({
|
|
1819
|
+
'ok': z.literal(false).readonly(),
|
|
1820
|
+
'error': z.union([z.object({
|
|
1821
|
+
'code': z.literal("request-conflict").readonly(),
|
|
1822
|
+
}), z.object({
|
|
1823
|
+
'code': z.literal("member-cwd-bound").readonly(),
|
|
1824
|
+
}), z.object({
|
|
1825
|
+
'code': z.literal("not-coordinator").readonly(),
|
|
1826
|
+
}), z.object({
|
|
1827
|
+
'code': z.literal("delivery-not-uncertain").readonly(),
|
|
1828
|
+
}), z.object({
|
|
1829
|
+
'code': z.literal("plan-reconciliation-required").readonly(),
|
|
1830
|
+
}), z.object({
|
|
1831
|
+
'code': z.literal("coordinator-busy").readonly(),
|
|
1832
|
+
}), z.object({
|
|
1833
|
+
'code': z.literal("coordinator-not-ready").readonly(),
|
|
1834
|
+
'message': z.string().readonly(),
|
|
1835
|
+
}), z.object({
|
|
1836
|
+
'code': z.literal("coordinator-conflict").readonly(),
|
|
1837
|
+
}), z.object({
|
|
1838
|
+
'code': z.literal("active-coordinator").readonly(),
|
|
1839
|
+
}), z.object({
|
|
1840
|
+
'code': z.literal("configuration-owned-by-core").readonly(),
|
|
1841
|
+
}), z.object({
|
|
1842
|
+
'code': z.literal("session-not-found").readonly(),
|
|
1843
|
+
}), z.object({
|
|
1844
|
+
'code': z.literal("not-a-room").readonly(),
|
|
1845
|
+
}), z.object({
|
|
1846
|
+
'code': z.literal("invalid-name").readonly(),
|
|
1847
|
+
}), z.object({
|
|
1848
|
+
'code': z.literal("duplicate-name").readonly(),
|
|
1849
|
+
}), z.object({
|
|
1850
|
+
'code': z.literal("empty-provider").readonly(),
|
|
1851
|
+
}), z.object({
|
|
1852
|
+
'code': z.literal("member-not-found").readonly(),
|
|
1853
|
+
}), z.object({
|
|
1854
|
+
'code': z.literal("empty-text").readonly(),
|
|
1855
|
+
}), z.object({
|
|
1856
|
+
'code': z.literal("role-too-long").readonly(),
|
|
1857
|
+
}), z.object({
|
|
1858
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
1859
|
+
}), z.object({
|
|
1860
|
+
'code': z.literal("self-message").readonly(),
|
|
1861
|
+
}), z.object({
|
|
1862
|
+
'code': z.literal("unknown-task").readonly(),
|
|
1863
|
+
}), z.object({
|
|
1864
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
1865
|
+
'preset': z.string().readonly(),
|
|
1866
|
+
'available': z.array(z.string()).readonly(),
|
|
1867
|
+
}), z.object({
|
|
1868
|
+
'code': z.literal("nothing-to-update").readonly(),
|
|
1869
|
+
}), z.object({
|
|
1870
|
+
'code': z.literal("local-agent-unavailable").readonly(),
|
|
1871
|
+
}), z.object({
|
|
1872
|
+
'code': z.literal("unknown-provider").readonly(),
|
|
1873
|
+
'provider': z.string().readonly(),
|
|
1874
|
+
'available': z.array(z.string()).readonly(),
|
|
1875
|
+
}), z.object({
|
|
1876
|
+
'code': z.literal("unknown-targets").readonly(),
|
|
1877
|
+
'names': z.array(z.string()).readonly(),
|
|
1878
|
+
}), z.object({
|
|
1879
|
+
'code': z.literal("no-targets").readonly(),
|
|
1880
|
+
}), z.object({
|
|
1881
|
+
'code': z.literal("relay-not-found").readonly(),
|
|
1882
|
+
}), z.object({
|
|
1883
|
+
'code': z.literal("relay-not-pending").readonly(),
|
|
1884
|
+
}), z.object({
|
|
1885
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
1886
|
+
}), z.object({
|
|
1887
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
1888
|
+
}), z.object({
|
|
1889
|
+
'code': z.literal("main-member").readonly(),
|
|
1890
|
+
}), z.object({
|
|
1891
|
+
'code': z.literal("task-not-found").readonly(),
|
|
1892
|
+
}), z.object({
|
|
1893
|
+
'code': z.literal("task-closed").readonly(),
|
|
1894
|
+
}), z.object({
|
|
1895
|
+
'code': z.literal("resume-failed").readonly(),
|
|
1896
|
+
'message': z.string().readonly(),
|
|
1897
|
+
})]).readonly(),
|
|
1898
|
+
})]))
|
|
1899
|
+
let _khorsheed_dsh_room_room_setGoal_parameter_0$schema$value
|
|
1900
|
+
const _khorsheed_dsh_room_room_setGoal_parameter_0$schema = () => (_khorsheed_dsh_room_room_setGoal_parameter_0$schema$value ??= z.object({
|
|
1901
|
+
'sessionId': z.string().readonly().describe('Room session.'),
|
|
1902
|
+
'text': z.string().readonly().describe('Goal text; blank clears the goal.'),
|
|
1903
|
+
}))
|
|
1904
|
+
let _khorsheed_dsh_room_room_setGoal_result$schema$value
|
|
1905
|
+
const _khorsheed_dsh_room_room_setGoal_result$schema = () => (_khorsheed_dsh_room_room_setGoal_result$schema$value ??= z.union([z.object({
|
|
1906
|
+
'ok': z.literal(true).readonly(),
|
|
1907
|
+
'value': z.object({
|
|
1908
|
+
'goal': z.string().readonly().optional(),
|
|
1909
|
+
}).readonly(),
|
|
1910
|
+
}), z.object({
|
|
1911
|
+
'ok': z.literal(false).readonly(),
|
|
1912
|
+
'error': z.union([z.object({
|
|
1913
|
+
'code': z.literal("request-conflict").readonly(),
|
|
1914
|
+
}), z.object({
|
|
1915
|
+
'code': z.literal("member-cwd-bound").readonly(),
|
|
1916
|
+
}), z.object({
|
|
1917
|
+
'code': z.literal("not-coordinator").readonly(),
|
|
1918
|
+
}), z.object({
|
|
1919
|
+
'code': z.literal("delivery-not-uncertain").readonly(),
|
|
1920
|
+
}), z.object({
|
|
1921
|
+
'code': z.literal("plan-reconciliation-required").readonly(),
|
|
1922
|
+
}), z.object({
|
|
1923
|
+
'code': z.literal("coordinator-busy").readonly(),
|
|
1924
|
+
}), z.object({
|
|
1925
|
+
'code': z.literal("coordinator-not-ready").readonly(),
|
|
1926
|
+
'message': z.string().readonly(),
|
|
1927
|
+
}), z.object({
|
|
1928
|
+
'code': z.literal("coordinator-conflict").readonly(),
|
|
1929
|
+
}), z.object({
|
|
1930
|
+
'code': z.literal("active-coordinator").readonly(),
|
|
1931
|
+
}), z.object({
|
|
1932
|
+
'code': z.literal("configuration-owned-by-core").readonly(),
|
|
1933
|
+
}), z.object({
|
|
1934
|
+
'code': z.literal("session-not-found").readonly(),
|
|
1935
|
+
}), z.object({
|
|
1936
|
+
'code': z.literal("not-a-room").readonly(),
|
|
1937
|
+
}), z.object({
|
|
1938
|
+
'code': z.literal("invalid-name").readonly(),
|
|
1939
|
+
}), z.object({
|
|
1940
|
+
'code': z.literal("duplicate-name").readonly(),
|
|
1941
|
+
}), z.object({
|
|
1942
|
+
'code': z.literal("empty-provider").readonly(),
|
|
1943
|
+
}), z.object({
|
|
1944
|
+
'code': z.literal("member-not-found").readonly(),
|
|
1945
|
+
}), z.object({
|
|
1946
|
+
'code': z.literal("empty-text").readonly(),
|
|
1947
|
+
}), z.object({
|
|
1948
|
+
'code': z.literal("role-too-long").readonly(),
|
|
1949
|
+
}), z.object({
|
|
1950
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
1951
|
+
}), z.object({
|
|
1952
|
+
'code': z.literal("self-message").readonly(),
|
|
1953
|
+
}), z.object({
|
|
1954
|
+
'code': z.literal("unknown-task").readonly(),
|
|
1955
|
+
}), z.object({
|
|
1956
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
1957
|
+
'preset': z.string().readonly(),
|
|
1958
|
+
'available': z.array(z.string()).readonly(),
|
|
1959
|
+
}), z.object({
|
|
1960
|
+
'code': z.literal("nothing-to-update").readonly(),
|
|
1961
|
+
}), z.object({
|
|
1962
|
+
'code': z.literal("local-agent-unavailable").readonly(),
|
|
1963
|
+
}), z.object({
|
|
1964
|
+
'code': z.literal("unknown-provider").readonly(),
|
|
1965
|
+
'provider': z.string().readonly(),
|
|
1966
|
+
'available': z.array(z.string()).readonly(),
|
|
1967
|
+
}), z.object({
|
|
1968
|
+
'code': z.literal("unknown-targets").readonly(),
|
|
1969
|
+
'names': z.array(z.string()).readonly(),
|
|
1970
|
+
}), z.object({
|
|
1971
|
+
'code': z.literal("no-targets").readonly(),
|
|
1972
|
+
}), z.object({
|
|
1973
|
+
'code': z.literal("relay-not-found").readonly(),
|
|
1974
|
+
}), z.object({
|
|
1975
|
+
'code': z.literal("relay-not-pending").readonly(),
|
|
1976
|
+
}), z.object({
|
|
1977
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
1978
|
+
}), z.object({
|
|
1979
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
1980
|
+
}), z.object({
|
|
1981
|
+
'code': z.literal("main-member").readonly(),
|
|
1982
|
+
}), z.object({
|
|
1983
|
+
'code': z.literal("task-not-found").readonly(),
|
|
1984
|
+
}), z.object({
|
|
1985
|
+
'code': z.literal("task-closed").readonly(),
|
|
1986
|
+
}), z.object({
|
|
1987
|
+
'code': z.literal("resume-failed").readonly(),
|
|
1988
|
+
'message': z.string().readonly(),
|
|
1989
|
+
})]).readonly(),
|
|
1990
|
+
})]))
|
|
1991
|
+
let _khorsheed_dsh_room_room_setSettings_parameter_0$schema$value
|
|
1992
|
+
const _khorsheed_dsh_room_room_setSettings_parameter_0$schema = () => (_khorsheed_dsh_room_room_setSettings_parameter_0$schema$value ??= z.object({
|
|
1993
|
+
'sessionId': z.string().readonly(),
|
|
1994
|
+
'reportTiming': z.union([z.literal("judge"), z.literal("each")]).readonly().optional(),
|
|
1995
|
+
'autoTaskFiling': z.boolean().readonly().optional(),
|
|
1996
|
+
'reportThreshold': z.number().readonly().optional(),
|
|
1997
|
+
'reportWaitMinutes': z.number().readonly().optional(),
|
|
1998
|
+
'helpReminderMinutes': z.number().readonly().optional().describe('10–120, in steps of 10.'),
|
|
1999
|
+
'memberMessages': z.union([z.literal("free"), z.literal("confirm")]).readonly().optional(),
|
|
2000
|
+
'hopLimit': z.number().readonly().optional().describe('2–50.'),
|
|
2001
|
+
'paused': z.boolean().readonly().optional(),
|
|
2002
|
+
}))
|
|
2003
|
+
let _khorsheed_dsh_room_room_setSettings_result$schema$value
|
|
2004
|
+
const _khorsheed_dsh_room_room_setSettings_result$schema = () => (_khorsheed_dsh_room_room_setSettings_result$schema$value ??= z.union([z.object({
|
|
2005
|
+
'ok': z.literal(true).readonly(),
|
|
2006
|
+
'value': z.object({
|
|
2007
|
+
'memberMessages': z.union([z.literal("free"), z.literal("confirm")]).readonly(),
|
|
2008
|
+
'hopLimit': z.number().readonly(),
|
|
2009
|
+
'paused': z.boolean().readonly(),
|
|
2010
|
+
'reportTiming': z.union([z.literal("judge"), z.literal("each")]).readonly(),
|
|
2011
|
+
'autoTaskFiling': z.boolean().readonly(),
|
|
2012
|
+
'reportThreshold': z.number().readonly(),
|
|
2013
|
+
'reportWaitMinutes': z.number().readonly(),
|
|
2014
|
+
'helpReminderMinutes': z.number().readonly(),
|
|
2015
|
+
}).readonly(),
|
|
2016
|
+
}), z.object({
|
|
2017
|
+
'ok': z.literal(false).readonly(),
|
|
2018
|
+
'error': z.union([z.object({
|
|
2019
|
+
'code': z.literal("request-conflict").readonly(),
|
|
2020
|
+
}), z.object({
|
|
2021
|
+
'code': z.literal("member-cwd-bound").readonly(),
|
|
2022
|
+
}), z.object({
|
|
2023
|
+
'code': z.literal("not-coordinator").readonly(),
|
|
2024
|
+
}), z.object({
|
|
2025
|
+
'code': z.literal("delivery-not-uncertain").readonly(),
|
|
2026
|
+
}), z.object({
|
|
2027
|
+
'code': z.literal("plan-reconciliation-required").readonly(),
|
|
2028
|
+
}), z.object({
|
|
2029
|
+
'code': z.literal("coordinator-busy").readonly(),
|
|
2030
|
+
}), z.object({
|
|
2031
|
+
'code': z.literal("coordinator-not-ready").readonly(),
|
|
2032
|
+
'message': z.string().readonly(),
|
|
2033
|
+
}), z.object({
|
|
2034
|
+
'code': z.literal("coordinator-conflict").readonly(),
|
|
2035
|
+
}), z.object({
|
|
2036
|
+
'code': z.literal("active-coordinator").readonly(),
|
|
2037
|
+
}), z.object({
|
|
2038
|
+
'code': z.literal("configuration-owned-by-core").readonly(),
|
|
2039
|
+
}), z.object({
|
|
2040
|
+
'code': z.literal("session-not-found").readonly(),
|
|
2041
|
+
}), z.object({
|
|
2042
|
+
'code': z.literal("not-a-room").readonly(),
|
|
2043
|
+
}), z.object({
|
|
2044
|
+
'code': z.literal("invalid-name").readonly(),
|
|
2045
|
+
}), z.object({
|
|
2046
|
+
'code': z.literal("duplicate-name").readonly(),
|
|
2047
|
+
}), z.object({
|
|
2048
|
+
'code': z.literal("empty-provider").readonly(),
|
|
2049
|
+
}), z.object({
|
|
2050
|
+
'code': z.literal("member-not-found").readonly(),
|
|
2051
|
+
}), z.object({
|
|
2052
|
+
'code': z.literal("empty-text").readonly(),
|
|
2053
|
+
}), z.object({
|
|
2054
|
+
'code': z.literal("role-too-long").readonly(),
|
|
2055
|
+
}), z.object({
|
|
2056
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
2057
|
+
}), z.object({
|
|
2058
|
+
'code': z.literal("self-message").readonly(),
|
|
2059
|
+
}), z.object({
|
|
2060
|
+
'code': z.literal("unknown-task").readonly(),
|
|
2061
|
+
}), z.object({
|
|
2062
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
2063
|
+
'preset': z.string().readonly(),
|
|
2064
|
+
'available': z.array(z.string()).readonly(),
|
|
2065
|
+
}), z.object({
|
|
2066
|
+
'code': z.literal("nothing-to-update").readonly(),
|
|
2067
|
+
}), z.object({
|
|
2068
|
+
'code': z.literal("local-agent-unavailable").readonly(),
|
|
2069
|
+
}), z.object({
|
|
2070
|
+
'code': z.literal("unknown-provider").readonly(),
|
|
2071
|
+
'provider': z.string().readonly(),
|
|
2072
|
+
'available': z.array(z.string()).readonly(),
|
|
2073
|
+
}), z.object({
|
|
2074
|
+
'code': z.literal("unknown-targets").readonly(),
|
|
2075
|
+
'names': z.array(z.string()).readonly(),
|
|
2076
|
+
}), z.object({
|
|
2077
|
+
'code': z.literal("no-targets").readonly(),
|
|
2078
|
+
}), z.object({
|
|
2079
|
+
'code': z.literal("relay-not-found").readonly(),
|
|
2080
|
+
}), z.object({
|
|
2081
|
+
'code': z.literal("relay-not-pending").readonly(),
|
|
2082
|
+
}), z.object({
|
|
2083
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
2084
|
+
}), z.object({
|
|
2085
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
2086
|
+
}), z.object({
|
|
2087
|
+
'code': z.literal("main-member").readonly(),
|
|
2088
|
+
}), z.object({
|
|
2089
|
+
'code': z.literal("task-not-found").readonly(),
|
|
2090
|
+
}), z.object({
|
|
2091
|
+
'code': z.literal("task-closed").readonly(),
|
|
2092
|
+
}), z.object({
|
|
2093
|
+
'code': z.literal("resume-failed").readonly(),
|
|
2094
|
+
'message': z.string().readonly(),
|
|
2095
|
+
})]).readonly(),
|
|
2096
|
+
})]))
|
|
2097
|
+
let _khorsheed_dsh_room_room_setTaskHint_parameter_0$schema$value
|
|
2098
|
+
const _khorsheed_dsh_room_room_setTaskHint_parameter_0$schema = () => (_khorsheed_dsh_room_room_setTaskHint_parameter_0$schema$value ??= z.object({
|
|
1105
2099
|
'sessionId': z.string().readonly(),
|
|
1106
|
-
'
|
|
1107
|
-
'expectedRevision': z.number().readonly(),
|
|
2100
|
+
'task': z.union([z.literal(null), z.string()]).readonly().describe('`new`, a task root id, or null to clear.'),
|
|
1108
2101
|
}))
|
|
1109
|
-
let
|
|
1110
|
-
const
|
|
2102
|
+
let _khorsheed_dsh_room_room_setTaskHint_result$schema$value
|
|
2103
|
+
const _khorsheed_dsh_room_room_setTaskHint_result$schema = () => (_khorsheed_dsh_room_room_setTaskHint_result$schema$value ??= z.object({
|
|
2104
|
+
'ok': z.literal(true).readonly(),
|
|
2105
|
+
}))
|
|
2106
|
+
let _khorsheed_dsh_room_room_stopJob_parameter_0$schema$value
|
|
2107
|
+
const _khorsheed_dsh_room_room_stopJob_parameter_0$schema = () => (_khorsheed_dsh_room_room_stopJob_parameter_0$schema$value ??= z.object({
|
|
2108
|
+
'sessionId': z.string().readonly(),
|
|
2109
|
+
'task': z.string().readonly().describe('The task\'s root id.'),
|
|
2110
|
+
}))
|
|
2111
|
+
let _khorsheed_dsh_room_room_stopJob_result$schema$value
|
|
2112
|
+
const _khorsheed_dsh_room_room_stopJob_result$schema = () => (_khorsheed_dsh_room_room_stopJob_result$schema$value ??= z.union([z.object({
|
|
1111
2113
|
'ok': z.literal(true).readonly(),
|
|
1112
2114
|
'value': z.object({
|
|
1113
|
-
'
|
|
1114
|
-
'memberId': z.string().readonly(),
|
|
1115
|
-
'revision': z.number().readonly(),
|
|
1116
|
-
'previousMemberId': z.string().readonly(),
|
|
1117
|
-
'handoff': z.string().readonly(),
|
|
2115
|
+
'stopped': z.number().readonly(),
|
|
1118
2116
|
}).readonly(),
|
|
1119
2117
|
}), z.object({
|
|
1120
2118
|
'ok': z.literal(false).readonly(),
|
|
@@ -1153,6 +2151,18 @@ const _khorsheed_dsh_room_room_setCoordinator_result$schema = () => (_khorsheed_
|
|
|
1153
2151
|
'code': z.literal("member-not-found").readonly(),
|
|
1154
2152
|
}), z.object({
|
|
1155
2153
|
'code': z.literal("empty-text").readonly(),
|
|
2154
|
+
}), z.object({
|
|
2155
|
+
'code': z.literal("role-too-long").readonly(),
|
|
2156
|
+
}), z.object({
|
|
2157
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
2158
|
+
}), z.object({
|
|
2159
|
+
'code': z.literal("self-message").readonly(),
|
|
2160
|
+
}), z.object({
|
|
2161
|
+
'code': z.literal("unknown-task").readonly(),
|
|
2162
|
+
}), z.object({
|
|
2163
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
2164
|
+
'preset': z.string().readonly(),
|
|
2165
|
+
'available': z.array(z.string()).readonly(),
|
|
1156
2166
|
}), z.object({
|
|
1157
2167
|
'code': z.literal("nothing-to-update").readonly(),
|
|
1158
2168
|
}), z.object({
|
|
@@ -1170,6 +2180,10 @@ const _khorsheed_dsh_room_room_setCoordinator_result$schema = () => (_khorsheed_
|
|
|
1170
2180
|
'code': z.literal("relay-not-found").readonly(),
|
|
1171
2181
|
}), z.object({
|
|
1172
2182
|
'code': z.literal("relay-not-pending").readonly(),
|
|
2183
|
+
}), z.object({
|
|
2184
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
2185
|
+
}), z.object({
|
|
2186
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
1173
2187
|
}), z.object({
|
|
1174
2188
|
'code': z.literal("main-member").readonly(),
|
|
1175
2189
|
}), z.object({
|
|
@@ -1181,17 +2195,15 @@ const _khorsheed_dsh_room_room_setCoordinator_result$schema = () => (_khorsheed_
|
|
|
1181
2195
|
'message': z.string().readonly(),
|
|
1182
2196
|
})]).readonly(),
|
|
1183
2197
|
})]))
|
|
1184
|
-
let
|
|
1185
|
-
const
|
|
1186
|
-
'sessionId': z.string().readonly()
|
|
1187
|
-
'
|
|
2198
|
+
let _khorsheed_dsh_room_room_unlinkSession_parameter_0$schema$value
|
|
2199
|
+
const _khorsheed_dsh_room_room_unlinkSession_parameter_0$schema = () => (_khorsheed_dsh_room_room_unlinkSession_parameter_0$schema$value ??= z.object({
|
|
2200
|
+
'sessionId': z.string().readonly(),
|
|
2201
|
+
'target': z.string().readonly().describe('The outside session.'),
|
|
2202
|
+
'title': z.string().readonly().optional().describe('Its title (link only).'),
|
|
1188
2203
|
}))
|
|
1189
|
-
let
|
|
1190
|
-
const
|
|
2204
|
+
let _khorsheed_dsh_room_room_unlinkSession_result$schema$value
|
|
2205
|
+
const _khorsheed_dsh_room_room_unlinkSession_result$schema = () => (_khorsheed_dsh_room_room_unlinkSession_result$schema$value ??= z.union([z.object({
|
|
1191
2206
|
'ok': z.literal(true).readonly(),
|
|
1192
|
-
'value': z.object({
|
|
1193
|
-
'goal': z.string().readonly().optional(),
|
|
1194
|
-
}).readonly(),
|
|
1195
2207
|
}), z.object({
|
|
1196
2208
|
'ok': z.literal(false).readonly(),
|
|
1197
2209
|
'error': z.union([z.object({
|
|
@@ -1229,6 +2241,18 @@ const _khorsheed_dsh_room_room_setGoal_result$schema = () => (_khorsheed_dsh_roo
|
|
|
1229
2241
|
'code': z.literal("member-not-found").readonly(),
|
|
1230
2242
|
}), z.object({
|
|
1231
2243
|
'code': z.literal("empty-text").readonly(),
|
|
2244
|
+
}), z.object({
|
|
2245
|
+
'code': z.literal("role-too-long").readonly(),
|
|
2246
|
+
}), z.object({
|
|
2247
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
2248
|
+
}), z.object({
|
|
2249
|
+
'code': z.literal("self-message").readonly(),
|
|
2250
|
+
}), z.object({
|
|
2251
|
+
'code': z.literal("unknown-task").readonly(),
|
|
2252
|
+
}), z.object({
|
|
2253
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
2254
|
+
'preset': z.string().readonly(),
|
|
2255
|
+
'available': z.array(z.string()).readonly(),
|
|
1232
2256
|
}), z.object({
|
|
1233
2257
|
'code': z.literal("nothing-to-update").readonly(),
|
|
1234
2258
|
}), z.object({
|
|
@@ -1246,6 +2270,10 @@ const _khorsheed_dsh_room_room_setGoal_result$schema = () => (_khorsheed_dsh_roo
|
|
|
1246
2270
|
'code': z.literal("relay-not-found").readonly(),
|
|
1247
2271
|
}), z.object({
|
|
1248
2272
|
'code': z.literal("relay-not-pending").readonly(),
|
|
2273
|
+
}), z.object({
|
|
2274
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
2275
|
+
}), z.object({
|
|
2276
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
1249
2277
|
}), z.object({
|
|
1250
2278
|
'code': z.literal("main-member").readonly(),
|
|
1251
2279
|
}), z.object({
|
|
@@ -1263,8 +2291,10 @@ const _khorsheed_dsh_room_room_updateMember_parameter_0$schema = () => (_khorshe
|
|
|
1263
2291
|
'name': z.string().readonly().describe('Member to update (its CURRENT name).'),
|
|
1264
2292
|
'rename': z.string().readonly().optional().describe('Rename: the new'),
|
|
1265
2293
|
'instructions': z.union([z.literal(null), z.string()]).readonly().optional().describe('New role instructions; null (or a blank string) CLEARS them.'),
|
|
2294
|
+
'role': z.union([z.literal(null), z.string()]).readonly().optional().describe('New public role; null (or a blank string) CLEARS it.'),
|
|
1266
2295
|
'cwd': z.union([z.literal(null), z.string()]).readonly().optional().describe('New member-level cwd; null (or a blank string) CLEARS the override back to inheriting the room cwd.'),
|
|
1267
2296
|
'model': z.union([z.literal(null), z.string()]).readonly().optional().describe('New intended model (roster-recorded; the first dispatch binds it as the facade start\'s `model` option); null (or a blank string) CLEARS it back to following the harness default.'),
|
|
2297
|
+
'effort': z.union([z.literal(null), z.string()]).readonly().optional().describe('New intended reasoning effort (roster-recorded, bound like the model on the first dispatch); null (or a blank string) CLEARS it back to following the harness default.'),
|
|
1268
2298
|
}))
|
|
1269
2299
|
let _khorsheed_dsh_room_room_updateMember_result$schema$value
|
|
1270
2300
|
const _khorsheed_dsh_room_room_updateMember_result$schema = () => (_khorsheed_dsh_room_room_updateMember_result$schema$value ??= z.union([z.object({
|
|
@@ -1309,6 +2339,18 @@ const _khorsheed_dsh_room_room_updateMember_result$schema = () => (_khorsheed_ds
|
|
|
1309
2339
|
'code': z.literal("member-not-found").readonly(),
|
|
1310
2340
|
}), z.object({
|
|
1311
2341
|
'code': z.literal("empty-text").readonly(),
|
|
2342
|
+
}), z.object({
|
|
2343
|
+
'code': z.literal("role-too-long").readonly(),
|
|
2344
|
+
}), z.object({
|
|
2345
|
+
'code': z.literal("invalid-settings").readonly(),
|
|
2346
|
+
}), z.object({
|
|
2347
|
+
'code': z.literal("self-message").readonly(),
|
|
2348
|
+
}), z.object({
|
|
2349
|
+
'code': z.literal("unknown-task").readonly(),
|
|
2350
|
+
}), z.object({
|
|
2351
|
+
'code': z.literal("unknown-preset").readonly(),
|
|
2352
|
+
'preset': z.string().readonly(),
|
|
2353
|
+
'available': z.array(z.string()).readonly(),
|
|
1312
2354
|
}), z.object({
|
|
1313
2355
|
'code': z.literal("nothing-to-update").readonly(),
|
|
1314
2356
|
}), z.object({
|
|
@@ -1326,6 +2368,10 @@ const _khorsheed_dsh_room_room_updateMember_result$schema = () => (_khorsheed_ds
|
|
|
1326
2368
|
'code': z.literal("relay-not-found").readonly(),
|
|
1327
2369
|
}), z.object({
|
|
1328
2370
|
'code': z.literal("relay-not-pending").readonly(),
|
|
2371
|
+
}), z.object({
|
|
2372
|
+
'code': z.literal("approval-not-pending").readonly(),
|
|
2373
|
+
}), z.object({
|
|
2374
|
+
'code': z.literal("question-not-pending").readonly(),
|
|
1329
2375
|
}), z.object({
|
|
1330
2376
|
'code': z.literal("main-member").readonly(),
|
|
1331
2377
|
}), z.object({
|
|
@@ -1337,12 +2383,21 @@ const _khorsheed_dsh_room_room_updateMember_result$schema = () => (_khorsheed_ds
|
|
|
1337
2383
|
'message': z.string().readonly(),
|
|
1338
2384
|
})]).readonly(),
|
|
1339
2385
|
})]))
|
|
1340
|
-
let
|
|
1341
|
-
const
|
|
1342
|
-
'sessionId': z.string().readonly()
|
|
1343
|
-
'
|
|
1344
|
-
'
|
|
1345
|
-
|
|
2386
|
+
let _khorsheed_dsh_room_room_answerApproval_parameter_0_strict$schema$value
|
|
2387
|
+
const _khorsheed_dsh_room_room_answerApproval_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_answerApproval_parameter_0_strict$schema$value ??= z.strictObject({
|
|
2388
|
+
'sessionId': z.string().readonly(),
|
|
2389
|
+
'id': z.string().readonly(),
|
|
2390
|
+
'outcome': z.union([z.literal("rejected"), z.literal("allowed-once")]).readonly(),
|
|
2391
|
+
}))
|
|
2392
|
+
let _khorsheed_dsh_room_room_answerQuestion_parameter_0_strict$schema$value
|
|
2393
|
+
const _khorsheed_dsh_room_room_answerQuestion_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_answerQuestion_parameter_0_strict$schema$value ??= z.strictObject({
|
|
2394
|
+
'sessionId': z.string().readonly(),
|
|
2395
|
+
'id': z.string().readonly(),
|
|
2396
|
+
'answers': z.array(z.strictObject({
|
|
2397
|
+
'id': z.string().readonly(),
|
|
2398
|
+
'selected': z.array(z.string()).readonly(),
|
|
2399
|
+
'custom': z.string().readonly().optional(),
|
|
2400
|
+
})).readonly(),
|
|
1346
2401
|
}))
|
|
1347
2402
|
let _khorsheed_dsh_room_room_cancel_parameter_0_strict$schema$value
|
|
1348
2403
|
const _khorsheed_dsh_room_room_cancel_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_cancel_parameter_0_strict$schema$value ??= z.strictObject({
|
|
@@ -1356,17 +2411,17 @@ const _khorsheed_dsh_room_room_cancelChild_parameter_0_strict$schema = () => (_k
|
|
|
1356
2411
|
'sessionId': z.string(),
|
|
1357
2412
|
'childSessionId': z.string(),
|
|
1358
2413
|
}))
|
|
1359
|
-
let _khorsheed_dsh_room_room_closeTask_parameter_0_strict$schema$value
|
|
1360
|
-
const _khorsheed_dsh_room_room_closeTask_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_closeTask_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1361
|
-
'sessionId': z.string().readonly().describe('Room session.'),
|
|
1362
|
-
'taskId': z.string().readonly().describe('The task to close.'),
|
|
1363
|
-
'status': z.union([z.literal("cancelled"), z.literal("done")]).readonly().optional().describe('Closing status (default \'done\').'),
|
|
1364
|
-
}))
|
|
1365
2414
|
let _khorsheed_dsh_room_room_confirmRelay_parameter_0_strict$schema$value
|
|
1366
2415
|
const _khorsheed_dsh_room_room_confirmRelay_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_confirmRelay_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1367
2416
|
'sessionId': z.string().readonly().describe('Room session.'),
|
|
1368
2417
|
'relayId': z.string().readonly().describe('The relay to resolve.'),
|
|
1369
2418
|
}))
|
|
2419
|
+
let _khorsheed_dsh_room_room_dismissHelpNudge_parameter_0_strict$schema$value
|
|
2420
|
+
const _khorsheed_dsh_room_room_dismissHelpNudge_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_dismissHelpNudge_parameter_0_strict$schema$value ??= z.strictObject({
|
|
2421
|
+
'sessionId': z.string().readonly(),
|
|
2422
|
+
'target': z.string().readonly().describe('The outside session.'),
|
|
2423
|
+
'title': z.string().readonly().optional().describe('Its title (link only).'),
|
|
2424
|
+
}))
|
|
1370
2425
|
let _khorsheed_dsh_room_room_dismissRelay_parameter_0_strict$schema$value
|
|
1371
2426
|
const _khorsheed_dsh_room_room_dismissRelay_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_dismissRelay_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1372
2427
|
'sessionId': z.string().readonly().describe('Room session.'),
|
|
@@ -1379,19 +2434,33 @@ const _khorsheed_dsh_room_room_getState_parameter_0_strict$schema = () => (_khor
|
|
|
1379
2434
|
let _khorsheed_dsh_room_room_invite_parameter_0_strict$schema$value
|
|
1380
2435
|
const _khorsheed_dsh_room_room_invite_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_invite_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1381
2436
|
'sessionId': z.string().readonly().describe('Room session.'),
|
|
2437
|
+
'kind': z.union([z.literal("native"), z.literal("cli")]).readonly().optional().describe('`cli` (default): an external CLI through the local-agent family. `native`: a DSH child agent in this host process, composing `preset`.'),
|
|
2438
|
+
'preset': z.string().readonly().optional().describe('The member\'s mode: the host agent preset id. A native member composes it (omitted = the host default); a CLI member reaches its plugin tools through the bridge (omitted = no mode).'),
|
|
2439
|
+
'inheritPreset': z.boolean().readonly().optional().describe('With no `preset`: take the room session\'s own mode (the coordinator\'s invite default).'),
|
|
1382
2440
|
'provider': z.string().readonly().describe('CLI provider id (non-blank).'),
|
|
1383
2441
|
'name': z.string().readonly().describe('Addressing/display name: unique in the room, no whitespace, no `@`.'),
|
|
1384
2442
|
'instructions': z.string().readonly().optional().describe('Role instructions, prepended to the member\'s first dispatch.'),
|
|
2443
|
+
'role': z.string().readonly().optional().describe('Short public role (≤ 30 chars); blank/omitted = none.'),
|
|
1385
2444
|
'cwd': z.string().readonly().optional().describe('Member-level working directory (empty/omitted = inherits the room session\'s cwd). Recorded on the roster; not yet passed to the delegation facade (family need R2 pending).'),
|
|
1386
2445
|
'firstTask': z.string().readonly().optional().describe('Optional first task, dispatched to the member as soon as it joins.'),
|
|
2446
|
+
'note': z.string().readonly().optional().describe('What the inviter waits for when the first task reports (see RoomDispatchEvent.note).'),
|
|
1387
2447
|
'model': z.string().readonly().optional().describe('The delegation\'s model (blank/omitted = follow the harness default). Applies to local-agent harness providers only: it lands as the facade `start` call\'s `model` option, bound at spawn for exec and live alike.'),
|
|
2448
|
+
'effort': z.string().readonly().optional().describe('The delegation\'s reasoning effort (blank/omitted = follow the harness default): the facade `start` call\'s `effort` option, bound at spawn alongside the model.'),
|
|
1388
2449
|
}))
|
|
1389
2450
|
let _khorsheed_dsh_room_room_isRoom_parameter_0_strict$schema$value
|
|
1390
2451
|
const _khorsheed_dsh_room_room_isRoom_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_isRoom_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1391
2452
|
'sessionId': z.string().readonly().describe('Session to probe.'),
|
|
1392
2453
|
}))
|
|
2454
|
+
let _khorsheed_dsh_room_room_linkSession_parameter_0_strict$schema$value
|
|
2455
|
+
const _khorsheed_dsh_room_room_linkSession_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_linkSession_parameter_0_strict$schema$value ??= z.strictObject({
|
|
2456
|
+
'sessionId': z.string().readonly(),
|
|
2457
|
+
'target': z.string().readonly().describe('The outside session.'),
|
|
2458
|
+
'title': z.string().readonly().optional().describe('Its title (link only).'),
|
|
2459
|
+
}))
|
|
1393
2460
|
let _khorsheed_dsh_room_room_listProviders_parameter_0_strict$schema$value
|
|
1394
|
-
const _khorsheed_dsh_room_room_listProviders_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_listProviders_parameter_0_strict$schema$value ??= z.strictObject({
|
|
2461
|
+
const _khorsheed_dsh_room_room_listProviders_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_listProviders_parameter_0_strict$schema$value ??= z.strictObject({
|
|
2462
|
+
'sessionId': z.string().readonly().optional().describe('The session the invite is for: the result then carries its mode (`sessionPreset`).'),
|
|
2463
|
+
}))
|
|
1395
2464
|
let _khorsheed_dsh_room_room_planCommand_parameter_0_strict$schema$value
|
|
1396
2465
|
const _khorsheed_dsh_room_room_planCommand_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_planCommand_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1397
2466
|
'sessionId': z.string(),
|
|
@@ -1403,6 +2472,7 @@ const _khorsheed_dsh_room_room_postMessage_parameter_0_strict$schema = () => (_k
|
|
|
1403
2472
|
'sessionId': z.string().readonly().describe('Room session.'),
|
|
1404
2473
|
'text': z.string().readonly().describe('Raw composer text: leading `@name` tokens address members.'),
|
|
1405
2474
|
'targets': z.array(z.string()).readonly().optional().describe('Menu-picked addressees (the room composer\'s mention menu records a pick as explicit addressing even when the `@name` sits mid-sentence). Unioned with the parsed leading tokens and validated against the roster the same way; the text itself is dispatched verbatim either way.'),
|
|
2475
|
+
'task': z.string().readonly().optional().describe('The composer\'s task tag: `new` or a task root id (see RoomSetTaskHintRequest).'),
|
|
1406
2476
|
}))
|
|
1407
2477
|
let _khorsheed_dsh_room_room_prepareMember_parameter_0_strict$schema$value
|
|
1408
2478
|
const _khorsheed_dsh_room_room_prepareMember_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_prepareMember_parameter_0_strict$schema$value ??= z.strictObject({
|
|
@@ -1416,11 +2486,21 @@ const _khorsheed_dsh_room_room_reconcileDelivery_parameter_0_strict$schema = ()
|
|
|
1416
2486
|
'outcome': z.union([z.literal("cancelled"), z.literal("done")]).readonly(),
|
|
1417
2487
|
'evidence': z.string().readonly(),
|
|
1418
2488
|
}))
|
|
2489
|
+
let _khorsheed_dsh_room_room_releaseReports_parameter_0_strict$schema$value
|
|
2490
|
+
const _khorsheed_dsh_room_room_releaseReports_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_releaseReports_parameter_0_strict$schema$value ??= z.strictObject({
|
|
2491
|
+
'sessionId': z.string().readonly(),
|
|
2492
|
+
'name': z.string().readonly(),
|
|
2493
|
+
}))
|
|
1419
2494
|
let _khorsheed_dsh_room_room_removeMember_parameter_0_strict$schema$value
|
|
1420
2495
|
const _khorsheed_dsh_room_room_removeMember_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_removeMember_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1421
2496
|
'sessionId': z.string().readonly().describe('Room session.'),
|
|
1422
2497
|
'name': z.string().readonly().describe('Member to remove.'),
|
|
1423
2498
|
}))
|
|
2499
|
+
let _khorsheed_dsh_room_room_restoreMember_parameter_0_strict$schema$value
|
|
2500
|
+
const _khorsheed_dsh_room_room_restoreMember_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_restoreMember_parameter_0_strict$schema$value ??= z.strictObject({
|
|
2501
|
+
'sessionId': z.string().readonly(),
|
|
2502
|
+
'name': z.string().readonly(),
|
|
2503
|
+
}))
|
|
1424
2504
|
let _khorsheed_dsh_room_room_setCoordinator_parameter_0_strict$schema$value
|
|
1425
2505
|
const _khorsheed_dsh_room_room_setCoordinator_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_setCoordinator_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1426
2506
|
'sessionId': z.string().readonly(),
|
|
@@ -1432,53 +2512,118 @@ const _khorsheed_dsh_room_room_setGoal_parameter_0_strict$schema = () => (_khors
|
|
|
1432
2512
|
'sessionId': z.string().readonly().describe('Room session.'),
|
|
1433
2513
|
'text': z.string().readonly().describe('Goal text; blank clears the goal.'),
|
|
1434
2514
|
}))
|
|
2515
|
+
let _khorsheed_dsh_room_room_setSettings_parameter_0_strict$schema$value
|
|
2516
|
+
const _khorsheed_dsh_room_room_setSettings_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_setSettings_parameter_0_strict$schema$value ??= z.strictObject({
|
|
2517
|
+
'sessionId': z.string().readonly(),
|
|
2518
|
+
'reportTiming': z.union([z.literal("judge"), z.literal("each")]).readonly().optional(),
|
|
2519
|
+
'autoTaskFiling': z.boolean().readonly().optional(),
|
|
2520
|
+
'reportThreshold': z.number().readonly().optional(),
|
|
2521
|
+
'reportWaitMinutes': z.number().readonly().optional(),
|
|
2522
|
+
'helpReminderMinutes': z.number().readonly().optional().describe('10–120, in steps of 10.'),
|
|
2523
|
+
'memberMessages': z.union([z.literal("free"), z.literal("confirm")]).readonly().optional(),
|
|
2524
|
+
'hopLimit': z.number().readonly().optional().describe('2–50.'),
|
|
2525
|
+
'paused': z.boolean().readonly().optional(),
|
|
2526
|
+
}))
|
|
2527
|
+
let _khorsheed_dsh_room_room_setTaskHint_parameter_0_strict$schema$value
|
|
2528
|
+
const _khorsheed_dsh_room_room_setTaskHint_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_setTaskHint_parameter_0_strict$schema$value ??= z.strictObject({
|
|
2529
|
+
'sessionId': z.string().readonly(),
|
|
2530
|
+
'task': z.union([z.literal(null), z.string()]).readonly().describe('`new`, a task root id, or null to clear.'),
|
|
2531
|
+
}))
|
|
2532
|
+
let _khorsheed_dsh_room_room_stopJob_parameter_0_strict$schema$value
|
|
2533
|
+
const _khorsheed_dsh_room_room_stopJob_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_stopJob_parameter_0_strict$schema$value ??= z.strictObject({
|
|
2534
|
+
'sessionId': z.string().readonly(),
|
|
2535
|
+
'task': z.string().readonly().describe('The task\'s root id.'),
|
|
2536
|
+
}))
|
|
2537
|
+
let _khorsheed_dsh_room_room_unlinkSession_parameter_0_strict$schema$value
|
|
2538
|
+
const _khorsheed_dsh_room_room_unlinkSession_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_unlinkSession_parameter_0_strict$schema$value ??= z.strictObject({
|
|
2539
|
+
'sessionId': z.string().readonly(),
|
|
2540
|
+
'target': z.string().readonly().describe('The outside session.'),
|
|
2541
|
+
'title': z.string().readonly().optional().describe('Its title (link only).'),
|
|
2542
|
+
}))
|
|
1435
2543
|
let _khorsheed_dsh_room_room_updateMember_parameter_0_strict$schema$value
|
|
1436
2544
|
const _khorsheed_dsh_room_room_updateMember_parameter_0_strict$schema = () => (_khorsheed_dsh_room_room_updateMember_parameter_0_strict$schema$value ??= z.strictObject({
|
|
1437
2545
|
'sessionId': z.string().readonly().describe('Room session.'),
|
|
1438
2546
|
'name': z.string().readonly().describe('Member to update (its CURRENT name).'),
|
|
1439
2547
|
'rename': z.string().readonly().optional().describe('Rename: the new'),
|
|
1440
2548
|
'instructions': z.union([z.literal(null), z.string()]).readonly().optional().describe('New role instructions; null (or a blank string) CLEARS them.'),
|
|
2549
|
+
'role': z.union([z.literal(null), z.string()]).readonly().optional().describe('New public role; null (or a blank string) CLEARS it.'),
|
|
1441
2550
|
'cwd': z.union([z.literal(null), z.string()]).readonly().optional().describe('New member-level cwd; null (or a blank string) CLEARS the override back to inheriting the room cwd.'),
|
|
1442
2551
|
'model': z.union([z.literal(null), z.string()]).readonly().optional().describe('New intended model (roster-recorded; the first dispatch binds it as the facade start\'s `model` option); null (or a blank string) CLEARS it back to following the harness default.'),
|
|
2552
|
+
'effort': z.union([z.literal(null), z.string()]).readonly().optional().describe('New intended reasoning effort (roster-recorded, bound like the model on the first dispatch); null (or a blank string) CLEARS it back to following the harness default.'),
|
|
1443
2553
|
}))
|
|
1444
2554
|
|
|
1445
2555
|
export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
1446
2556
|
package: '@khorsheed/dsh-room',
|
|
1447
2557
|
methods: {
|
|
1448
|
-
'room/
|
|
2558
|
+
'room/answerApproval': {
|
|
2559
|
+
service: 'room',
|
|
2560
|
+
description: 'The human answers a member\'s tool approval from the room.',
|
|
2561
|
+
invocation: { kind: 'direct' },
|
|
2562
|
+
parameters: [
|
|
2563
|
+
{
|
|
2564
|
+
name: 'request',
|
|
2565
|
+
description: 'room session, approval id, allow once or reject.',
|
|
2566
|
+
source: 'json',
|
|
2567
|
+
codec: {
|
|
2568
|
+
mode: 'strict',
|
|
2569
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomAnswerApprovalRequest',
|
|
2570
|
+
create: _khorsheed_dsh_room_room_answerApproval_parameter_0$schema,
|
|
2571
|
+
schema: _khorsheed_dsh_room_room_answerApproval_parameter_0$schema(),
|
|
2572
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"id":{"type":"string"},"outcome":{"type":"string","enum":["rejected","allowed-once"]}},"required":["sessionId","id","outcome"],"additionalProperties":true},
|
|
2573
|
+
},
|
|
2574
|
+
strictCodec: {
|
|
2575
|
+
mode: 'strict',
|
|
2576
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomAnswerApprovalRequest',
|
|
2577
|
+
create: _khorsheed_dsh_room_room_answerApproval_parameter_0_strict$schema,
|
|
2578
|
+
schema: _khorsheed_dsh_room_room_answerApproval_parameter_0_strict$schema(),
|
|
2579
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"id":{"type":"string"},"outcome":{"type":"string","enum":["rejected","allowed-once"]}},"required":["sessionId","id","outcome"],"additionalProperties":false},
|
|
2580
|
+
},
|
|
2581
|
+
},
|
|
2582
|
+
],
|
|
2583
|
+
result: {
|
|
2584
|
+
mode: 'strict',
|
|
2585
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomAnswerApprovalResult',
|
|
2586
|
+
create: _khorsheed_dsh_room_room_answerApproval_result$schema,
|
|
2587
|
+
schema: _khorsheed_dsh_room_room_answerApproval_result$schema(),
|
|
2588
|
+
description: 'ok, or `approval-not-pending` when it already ended.',
|
|
2589
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
2590
|
+
},
|
|
2591
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":1766,"column":9},
|
|
2592
|
+
},
|
|
2593
|
+
'room/answerQuestion': {
|
|
1449
2594
|
service: 'room',
|
|
1450
|
-
description: '
|
|
2595
|
+
description: 'The human answers a member\'s question card from the room.',
|
|
1451
2596
|
invocation: { kind: 'direct' },
|
|
1452
2597
|
parameters: [
|
|
1453
2598
|
{
|
|
1454
2599
|
name: 'request',
|
|
1455
|
-
description: 'room session,
|
|
2600
|
+
description: 'room session, card id, one answer per question.',
|
|
1456
2601
|
source: 'json',
|
|
1457
2602
|
codec: {
|
|
1458
2603
|
mode: 'strict',
|
|
1459
|
-
typeSymbol: '@khorsheed/dsh-room/types#
|
|
1460
|
-
create:
|
|
1461
|
-
schema:
|
|
1462
|
-
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","
|
|
2604
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomAnswerQuestionRequest',
|
|
2605
|
+
create: _khorsheed_dsh_room_room_answerQuestion_parameter_0$schema,
|
|
2606
|
+
schema: _khorsheed_dsh_room_room_answerQuestion_parameter_0$schema(),
|
|
2607
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"id":{"type":"string"},"answers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"selected":{"type":"array","items":{"type":"string"}},"custom":{"type":"string"}},"required":["id","selected"],"additionalProperties":true}}},"required":["sessionId","id","answers"],"additionalProperties":true},
|
|
1463
2608
|
},
|
|
1464
2609
|
strictCodec: {
|
|
1465
2610
|
mode: 'strict',
|
|
1466
|
-
typeSymbol: '@khorsheed/dsh-room/types#
|
|
1467
|
-
create:
|
|
1468
|
-
schema:
|
|
1469
|
-
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","
|
|
2611
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomAnswerQuestionRequest',
|
|
2612
|
+
create: _khorsheed_dsh_room_room_answerQuestion_parameter_0_strict$schema,
|
|
2613
|
+
schema: _khorsheed_dsh_room_room_answerQuestion_parameter_0_strict$schema(),
|
|
2614
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"id":{"type":"string"},"answers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"selected":{"type":"array","items":{"type":"string"}},"custom":{"type":"string"}},"required":["id","selected"],"additionalProperties":false}}},"required":["sessionId","id","answers"],"additionalProperties":false},
|
|
1470
2615
|
},
|
|
1471
2616
|
},
|
|
1472
2617
|
],
|
|
1473
2618
|
result: {
|
|
1474
2619
|
mode: 'strict',
|
|
1475
|
-
typeSymbol: '@khorsheed/dsh-room/types#
|
|
1476
|
-
create:
|
|
1477
|
-
schema:
|
|
1478
|
-
description: '
|
|
1479
|
-
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true}
|
|
2620
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomAnswerQuestionResult',
|
|
2621
|
+
create: _khorsheed_dsh_room_room_answerQuestion_result$schema,
|
|
2622
|
+
schema: _khorsheed_dsh_room_room_answerQuestion_result$schema(),
|
|
2623
|
+
description: 'ok, or `question-not-pending` when it already ended.',
|
|
2624
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
1480
2625
|
},
|
|
1481
|
-
sourceLocation: {"file":"packages/room/src/index.ts","line":
|
|
2626
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":1820,"column":9},
|
|
1482
2627
|
},
|
|
1483
2628
|
'room/cancel': {
|
|
1484
2629
|
service: 'room',
|
|
@@ -1511,9 +2656,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1511
2656
|
create: _khorsheed_dsh_room_room_cancel_result$schema,
|
|
1512
2657
|
schema: _khorsheed_dsh_room_room_cancel_result$schema(),
|
|
1513
2658
|
description: 'the cancellation receipt, or a rejection.',
|
|
1514
|
-
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"cancelled":{"type":"boolean","description":"True when an in-flight run was found and cancelled."}},"required":["cancelled"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
2659
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"cancelled":{"type":"boolean","description":"True when an in-flight run was found and cancelled."}},"required":["cancelled"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
1515
2660
|
},
|
|
1516
|
-
sourceLocation: {"file":"packages/room/src/index.ts","line":
|
|
2661
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":2166,"column":9},
|
|
1517
2662
|
},
|
|
1518
2663
|
'room/cancelChild': {
|
|
1519
2664
|
service: 'room',
|
|
@@ -1544,79 +2689,79 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1544
2689
|
typeSymbol: '@khorsheed/dsh-room/types#RoomCancelResult',
|
|
1545
2690
|
create: _khorsheed_dsh_room_room_cancelChild_result$schema,
|
|
1546
2691
|
schema: _khorsheed_dsh_room_room_cancelChild_result$schema(),
|
|
1547
|
-
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"cancelled":{"type":"boolean","description":"True when an in-flight run was found and cancelled."}},"required":["cancelled"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
2692
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"cancelled":{"type":"boolean","description":"True when an in-flight run was found and cancelled."}},"required":["cancelled"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
1548
2693
|
},
|
|
1549
|
-
sourceLocation: {"file":"packages/room/src/index.ts","line":
|
|
2694
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":2201,"column":9},
|
|
1550
2695
|
},
|
|
1551
|
-
'room/
|
|
2696
|
+
'room/confirmRelay': {
|
|
1552
2697
|
service: 'room',
|
|
1553
|
-
description: '
|
|
2698
|
+
description: 'Confirm a pending relay: journal the confirmed edge and dispatch the notification to the recipient as a continuation (`{from} 给你的通知: {content}`); the engine marks the relay sent once the recipient\'s own session receives the prompt.',
|
|
1554
2699
|
invocation: { kind: 'direct' },
|
|
1555
2700
|
parameters: [
|
|
1556
2701
|
{
|
|
1557
2702
|
name: 'request',
|
|
1558
|
-
description: 'room session,
|
|
2703
|
+
description: 'room session, relay id.',
|
|
1559
2704
|
source: 'json',
|
|
1560
2705
|
codec: {
|
|
1561
2706
|
mode: 'strict',
|
|
1562
|
-
typeSymbol: '@khorsheed/dsh-room/types#
|
|
1563
|
-
create:
|
|
1564
|
-
schema:
|
|
1565
|
-
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","description":"Room session."},"
|
|
2707
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomRelayResolveRequest',
|
|
2708
|
+
create: _khorsheed_dsh_room_room_confirmRelay_parameter_0$schema,
|
|
2709
|
+
schema: _khorsheed_dsh_room_room_confirmRelay_parameter_0$schema(),
|
|
2710
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","description":"Room session."},"relayId":{"type":"string","description":"The relay to resolve."}},"required":["sessionId","relayId"],"additionalProperties":true},
|
|
1566
2711
|
},
|
|
1567
2712
|
strictCodec: {
|
|
1568
2713
|
mode: 'strict',
|
|
1569
|
-
typeSymbol: '@khorsheed/dsh-room/types#
|
|
1570
|
-
create:
|
|
1571
|
-
schema:
|
|
1572
|
-
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","description":"Room session."},"
|
|
2714
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomRelayResolveRequest',
|
|
2715
|
+
create: _khorsheed_dsh_room_room_confirmRelay_parameter_0_strict$schema,
|
|
2716
|
+
schema: _khorsheed_dsh_room_room_confirmRelay_parameter_0_strict$schema(),
|
|
2717
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","description":"Room session."},"relayId":{"type":"string","description":"The relay to resolve."}},"required":["sessionId","relayId"],"additionalProperties":false},
|
|
1573
2718
|
},
|
|
1574
2719
|
},
|
|
1575
2720
|
],
|
|
1576
2721
|
result: {
|
|
1577
2722
|
mode: 'strict',
|
|
1578
|
-
typeSymbol: '@khorsheed/dsh-room/types#
|
|
1579
|
-
create:
|
|
1580
|
-
schema:
|
|
1581
|
-
description: 'the
|
|
1582
|
-
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"
|
|
2723
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomRelayResolveResult',
|
|
2724
|
+
create: _khorsheed_dsh_room_room_confirmRelay_result$schema,
|
|
2725
|
+
schema: _khorsheed_dsh_room_room_confirmRelay_result$schema(),
|
|
2726
|
+
description: 'the resolution receipt, or a rejection.',
|
|
2727
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"relayId":{"type":"string"}},"required":["relayId"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
1583
2728
|
},
|
|
1584
|
-
sourceLocation: {"file":"packages/room/src/index.ts","line":
|
|
2729
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":1956,"column":9},
|
|
1585
2730
|
},
|
|
1586
|
-
'room/
|
|
2731
|
+
'room/dismissHelpNudge': {
|
|
1587
2732
|
service: 'room',
|
|
1588
|
-
description: '
|
|
2733
|
+
description: 'Dismiss the 加入房间成员 hint for one outside session (it never shows again).',
|
|
1589
2734
|
invocation: { kind: 'direct' },
|
|
1590
2735
|
parameters: [
|
|
1591
2736
|
{
|
|
1592
2737
|
name: 'request',
|
|
1593
|
-
description: 'room session,
|
|
2738
|
+
description: 'room session, the outside session.',
|
|
1594
2739
|
source: 'json',
|
|
1595
2740
|
codec: {
|
|
1596
2741
|
mode: 'strict',
|
|
1597
|
-
typeSymbol: '@khorsheed/dsh-room/types#
|
|
1598
|
-
create:
|
|
1599
|
-
schema:
|
|
1600
|
-
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","description":"
|
|
2742
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomHelpLinkRequest',
|
|
2743
|
+
create: _khorsheed_dsh_room_room_dismissHelpNudge_parameter_0$schema,
|
|
2744
|
+
schema: _khorsheed_dsh_room_room_dismissHelpNudge_parameter_0$schema(),
|
|
2745
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"target":{"type":"string","description":"The outside session."},"title":{"type":"string","description":"Its title (link only)."}},"required":["sessionId","target"],"additionalProperties":true},
|
|
1601
2746
|
},
|
|
1602
2747
|
strictCodec: {
|
|
1603
2748
|
mode: 'strict',
|
|
1604
|
-
typeSymbol: '@khorsheed/dsh-room/types#
|
|
1605
|
-
create:
|
|
1606
|
-
schema:
|
|
1607
|
-
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","description":"
|
|
2749
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomHelpLinkRequest',
|
|
2750
|
+
create: _khorsheed_dsh_room_room_dismissHelpNudge_parameter_0_strict$schema,
|
|
2751
|
+
schema: _khorsheed_dsh_room_room_dismissHelpNudge_parameter_0_strict$schema(),
|
|
2752
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"target":{"type":"string","description":"The outside session."},"title":{"type":"string","description":"Its title (link only)."}},"required":["sessionId","target"],"additionalProperties":false},
|
|
1608
2753
|
},
|
|
1609
2754
|
},
|
|
1610
2755
|
],
|
|
1611
2756
|
result: {
|
|
1612
2757
|
mode: 'strict',
|
|
1613
|
-
typeSymbol: '@khorsheed/dsh-room/types#
|
|
1614
|
-
create:
|
|
1615
|
-
schema:
|
|
1616
|
-
description: '
|
|
1617
|
-
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true}
|
|
2758
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomHelpLinkResult',
|
|
2759
|
+
create: _khorsheed_dsh_room_room_dismissHelpNudge_result$schema,
|
|
2760
|
+
schema: _khorsheed_dsh_room_room_dismissHelpNudge_result$schema(),
|
|
2761
|
+
description: 'ok.',
|
|
2762
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
1618
2763
|
},
|
|
1619
|
-
sourceLocation: {"file":"packages/room/src/index.ts","line":
|
|
2764
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":2103,"column":9},
|
|
1620
2765
|
},
|
|
1621
2766
|
'room/dismissRelay': {
|
|
1622
2767
|
service: 'room',
|
|
@@ -1649,9 +2794,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1649
2794
|
create: _khorsheed_dsh_room_room_dismissRelay_result$schema,
|
|
1650
2795
|
schema: _khorsheed_dsh_room_room_dismissRelay_result$schema(),
|
|
1651
2796
|
description: 'the resolution receipt, or a rejection.',
|
|
1652
|
-
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"relayId":{"type":"string"}},"required":["relayId"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
2797
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"relayId":{"type":"string"}},"required":["relayId"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
1653
2798
|
},
|
|
1654
|
-
sourceLocation: {"file":"packages/room/src/index.ts","line":
|
|
2799
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":2118,"column":9},
|
|
1655
2800
|
},
|
|
1656
2801
|
'room/getState': {
|
|
1657
2802
|
service: 'room',
|
|
@@ -1686,7 +2831,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1686
2831
|
description: 'the replayed state, or a rejection from the closed failure union.',
|
|
1687
2832
|
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1688
2833
|
},
|
|
1689
|
-
sourceLocation: {"file":"packages/room/src/index.ts","line":
|
|
2834
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":767,"column":9},
|
|
1690
2835
|
},
|
|
1691
2836
|
'room/invite': {
|
|
1692
2837
|
service: 'room',
|
|
@@ -1702,14 +2847,14 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1702
2847
|
typeSymbol: '@khorsheed/dsh-room/types#RoomInviteRequest',
|
|
1703
2848
|
create: _khorsheed_dsh_room_room_invite_parameter_0$schema,
|
|
1704
2849
|
schema: _khorsheed_dsh_room_room_invite_parameter_0$schema(),
|
|
1705
|
-
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","description":"Room session."},"provider":{"type":"string","description":"CLI provider id (non-blank)."},"name":{"type":"string","description":"Addressing/display name: unique in the room, no whitespace, no `@`."},"instructions":{"type":"string","description":"Role instructions, prepended to the member's first dispatch."},"cwd":{"type":"string","description":"Member-level working directory (empty/omitted = inherits the room session's cwd). Recorded on the roster; not yet passed to the delegation facade (family need R2 pending)."},"firstTask":{"type":"string","description":"Optional first task, dispatched to the member as soon as it joins."},"model":{"type":"string","description":"The delegation's model (blank/omitted = follow the harness default). Applies to local-agent harness providers only: it lands as the facade `start` call's `model` option, bound at spawn for exec and live alike."}},"required":["sessionId","provider","name"],"additionalProperties":true},
|
|
2850
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","description":"Room session."},"kind":{"type":"string","enum":["native","cli"],"description":"`cli` (default): an external CLI through the local-agent family. `native`: a DSH child agent in this host process, composing `preset`."},"preset":{"type":"string","description":"The member's mode: the host agent preset id. A native member composes it (omitted = the host default); a CLI member reaches its plugin tools through the bridge (omitted = no mode)."},"inheritPreset":{"type":"boolean","description":"With no `preset`: take the room session's own mode (the coordinator's invite default)."},"provider":{"type":"string","description":"CLI provider id (non-blank)."},"name":{"type":"string","description":"Addressing/display name: unique in the room, no whitespace, no `@`."},"instructions":{"type":"string","description":"Role instructions, prepended to the member's first dispatch."},"role":{"type":"string","description":"Short public role (≤ 30 chars); blank/omitted = none."},"cwd":{"type":"string","description":"Member-level working directory (empty/omitted = inherits the room session's cwd). Recorded on the roster; not yet passed to the delegation facade (family need R2 pending)."},"firstTask":{"type":"string","description":"Optional first task, dispatched to the member as soon as it joins."},"note":{"type":"string","description":"What the inviter waits for when the first task reports (see RoomDispatchEvent.note)."},"model":{"type":"string","description":"The delegation's model (blank/omitted = follow the harness default). Applies to local-agent harness providers only: it lands as the facade `start` call's `model` option, bound at spawn for exec and live alike."},"effort":{"type":"string","description":"The delegation's reasoning effort (blank/omitted = follow the harness default): the facade `start` call's `effort` option, bound at spawn alongside the model."}},"required":["sessionId","provider","name"],"additionalProperties":true},
|
|
1706
2851
|
},
|
|
1707
2852
|
strictCodec: {
|
|
1708
2853
|
mode: 'strict',
|
|
1709
2854
|
typeSymbol: '@khorsheed/dsh-room/types#RoomInviteRequest',
|
|
1710
2855
|
create: _khorsheed_dsh_room_room_invite_parameter_0_strict$schema,
|
|
1711
2856
|
schema: _khorsheed_dsh_room_room_invite_parameter_0_strict$schema(),
|
|
1712
|
-
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","description":"Room session."},"provider":{"type":"string","description":"CLI provider id (non-blank)."},"name":{"type":"string","description":"Addressing/display name: unique in the room, no whitespace, no `@`."},"instructions":{"type":"string","description":"Role instructions, prepended to the member's first dispatch."},"cwd":{"type":"string","description":"Member-level working directory (empty/omitted = inherits the room session's cwd). Recorded on the roster; not yet passed to the delegation facade (family need R2 pending)."},"firstTask":{"type":"string","description":"Optional first task, dispatched to the member as soon as it joins."},"model":{"type":"string","description":"The delegation's model (blank/omitted = follow the harness default). Applies to local-agent harness providers only: it lands as the facade `start` call's `model` option, bound at spawn for exec and live alike."}},"required":["sessionId","provider","name"],"additionalProperties":false},
|
|
2857
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","description":"Room session."},"kind":{"type":"string","enum":["native","cli"],"description":"`cli` (default): an external CLI through the local-agent family. `native`: a DSH child agent in this host process, composing `preset`."},"preset":{"type":"string","description":"The member's mode: the host agent preset id. A native member composes it (omitted = the host default); a CLI member reaches its plugin tools through the bridge (omitted = no mode)."},"inheritPreset":{"type":"boolean","description":"With no `preset`: take the room session's own mode (the coordinator's invite default)."},"provider":{"type":"string","description":"CLI provider id (non-blank)."},"name":{"type":"string","description":"Addressing/display name: unique in the room, no whitespace, no `@`."},"instructions":{"type":"string","description":"Role instructions, prepended to the member's first dispatch."},"role":{"type":"string","description":"Short public role (≤ 30 chars); blank/omitted = none."},"cwd":{"type":"string","description":"Member-level working directory (empty/omitted = inherits the room session's cwd). Recorded on the roster; not yet passed to the delegation facade (family need R2 pending)."},"firstTask":{"type":"string","description":"Optional first task, dispatched to the member as soon as it joins."},"note":{"type":"string","description":"What the inviter waits for when the first task reports (see RoomDispatchEvent.note)."},"model":{"type":"string","description":"The delegation's model (blank/omitted = follow the harness default). Applies to local-agent harness providers only: it lands as the facade `start` call's `model` option, bound at spawn for exec and live alike."},"effort":{"type":"string","description":"The delegation's reasoning effort (blank/omitted = follow the harness default): the facade `start` call's `effort` option, bound at spawn alongside the model."}},"required":["sessionId","provider","name"],"additionalProperties":false},
|
|
1713
2858
|
},
|
|
1714
2859
|
},
|
|
1715
2860
|
],
|
|
@@ -1719,9 +2864,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1719
2864
|
create: _khorsheed_dsh_room_room_invite_result$schema,
|
|
1720
2865
|
schema: _khorsheed_dsh_room_room_invite_result$schema(),
|
|
1721
2866
|
description: 'the invitation receipt, or a rejection.',
|
|
1722
|
-
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"name":{"type":"string","description":"The accepted member name."},"pendingFirstTask":{"type":"boolean","description":"True when a first task was supplied and dispatched with the invitation."}},"required":["name","pendingFirstTask"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
2867
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"name":{"type":"string","description":"The accepted member name."},"pendingFirstTask":{"type":"boolean","description":"True when a first task was supplied and dispatched with the invitation."},"preset":{"type":"string","description":"The member's mode (preset id), when it has one."}},"required":["name","pendingFirstTask"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
1723
2868
|
},
|
|
1724
|
-
sourceLocation: {"file":"packages/room/src/index.ts","line":
|
|
2869
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":909,"column":3},
|
|
1725
2870
|
},
|
|
1726
2871
|
'room/isRoom': {
|
|
1727
2872
|
service: 'room',
|
|
@@ -1756,7 +2901,42 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1756
2901
|
description: 'true when the session carries the marker (false for unknown sessions too).',
|
|
1757
2902
|
jsonSchema: {"type":"boolean"},
|
|
1758
2903
|
},
|
|
1759
|
-
sourceLocation: {"file":"packages/room/src/index.ts","line":
|
|
2904
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":444,"column":9},
|
|
2905
|
+
},
|
|
2906
|
+
'room/linkSession': {
|
|
2907
|
+
service: 'room',
|
|
2908
|
+
description: 'Keep an outside session on the member list (「加入房间成员」): only a shortcut for asking it — it stays in its own session, asks still go through room_help, and its usage stays its own.',
|
|
2909
|
+
invocation: { kind: 'direct' },
|
|
2910
|
+
parameters: [
|
|
2911
|
+
{
|
|
2912
|
+
name: 'request',
|
|
2913
|
+
description: 'room session, the outside session and its title.',
|
|
2914
|
+
source: 'json',
|
|
2915
|
+
codec: {
|
|
2916
|
+
mode: 'strict',
|
|
2917
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomHelpLinkRequest',
|
|
2918
|
+
create: _khorsheed_dsh_room_room_linkSession_parameter_0$schema,
|
|
2919
|
+
schema: _khorsheed_dsh_room_room_linkSession_parameter_0$schema(),
|
|
2920
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"target":{"type":"string","description":"The outside session."},"title":{"type":"string","description":"Its title (link only)."}},"required":["sessionId","target"],"additionalProperties":true},
|
|
2921
|
+
},
|
|
2922
|
+
strictCodec: {
|
|
2923
|
+
mode: 'strict',
|
|
2924
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomHelpLinkRequest',
|
|
2925
|
+
create: _khorsheed_dsh_room_room_linkSession_parameter_0_strict$schema,
|
|
2926
|
+
schema: _khorsheed_dsh_room_room_linkSession_parameter_0_strict$schema(),
|
|
2927
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"target":{"type":"string","description":"The outside session."},"title":{"type":"string","description":"Its title (link only)."}},"required":["sessionId","target"],"additionalProperties":false},
|
|
2928
|
+
},
|
|
2929
|
+
},
|
|
2930
|
+
],
|
|
2931
|
+
result: {
|
|
2932
|
+
mode: 'strict',
|
|
2933
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomHelpLinkResult',
|
|
2934
|
+
create: _khorsheed_dsh_room_room_linkSession_result$schema,
|
|
2935
|
+
schema: _khorsheed_dsh_room_room_linkSession_result$schema(),
|
|
2936
|
+
description: 'ok, or a rejection.',
|
|
2937
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
2938
|
+
},
|
|
2939
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":2069,"column":9},
|
|
1760
2940
|
},
|
|
1761
2941
|
'room/listProviders': {
|
|
1762
2942
|
service: 'room',
|
|
@@ -1764,22 +2944,21 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1764
2944
|
invocation: { kind: 'direct' },
|
|
1765
2945
|
parameters: [
|
|
1766
2946
|
{
|
|
1767
|
-
name: '
|
|
1768
|
-
description: 'no parameters.',
|
|
2947
|
+
name: 'request',
|
|
1769
2948
|
source: 'json',
|
|
1770
2949
|
codec: {
|
|
1771
2950
|
mode: 'strict',
|
|
1772
2951
|
typeSymbol: '@khorsheed/dsh-room/types#RoomListProvidersRequest',
|
|
1773
2952
|
create: _khorsheed_dsh_room_room_listProviders_parameter_0$schema,
|
|
1774
2953
|
schema: _khorsheed_dsh_room_room_listProviders_parameter_0$schema(),
|
|
1775
|
-
jsonSchema: {"type":"object","properties":{},"required":[],"additionalProperties":true},
|
|
2954
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","description":"The session the invite is for: the result then carries its mode (`sessionPreset`)."}},"required":[],"additionalProperties":true},
|
|
1776
2955
|
},
|
|
1777
2956
|
strictCodec: {
|
|
1778
2957
|
mode: 'strict',
|
|
1779
2958
|
typeSymbol: '@khorsheed/dsh-room/types#RoomListProvidersRequest',
|
|
1780
2959
|
create: _khorsheed_dsh_room_room_listProviders_parameter_0_strict$schema,
|
|
1781
2960
|
schema: _khorsheed_dsh_room_room_listProviders_parameter_0_strict$schema(),
|
|
1782
|
-
jsonSchema: {"type":"object","properties":{},"required":[],"additionalProperties":false},
|
|
2961
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","description":"The session the invite is for: the result then carries its mode (`sessionPreset`)."}},"required":[],"additionalProperties":false},
|
|
1783
2962
|
},
|
|
1784
2963
|
},
|
|
1785
2964
|
],
|
|
@@ -1789,9 +2968,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1789
2968
|
create: _khorsheed_dsh_room_room_listProviders_result$schema,
|
|
1790
2969
|
schema: _khorsheed_dsh_room_room_listProviders_result$schema(),
|
|
1791
2970
|
description: 'the provider list and the facade verdict.',
|
|
1792
|
-
jsonSchema: {"type":"object","properties":{"localAgentAvailable":{"type":"boolean","description":"False when the local-agent delegation facade is absent (CLI members undispatchable)."},"providers":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","description":"The provider id invite/dispatch uses (the harness's delegationProvider)."},"displayName":{"type":"string"},"harness":{"type":"string","description":"The roster harness name — the lookup key for the localAgentGateway `harnessModel` read (the invite dialog's model picker). Absent only on a pre-model-broker family core; the dialog then serves a plain text input."},"authenticated":{"type":"boolean","description":"Whether the harness's scoped home holds usable credentials."}},"required":["provider","displayName","authenticated"],"additionalProperties":true}}},"required":["localAgentAvailable","providers"],"additionalProperties":true},
|
|
2971
|
+
jsonSchema: {"type":"object","properties":{"localAgentAvailable":{"type":"boolean","description":"False when the local-agent delegation facade is absent (CLI members undispatchable)."},"providers":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","description":"The provider id invite/dispatch uses (the harness's delegationProvider)."},"displayName":{"type":"string"},"harness":{"type":"string","description":"The roster harness name — the lookup key for the localAgentGateway `harnessModel` read (the invite dialog's model picker). Absent only on a pre-model-broker family core; the dialog then serves a plain text input."},"authenticated":{"type":"boolean","description":"Whether the harness's scoped home holds usable credentials."}},"required":["provider","displayName","authenticated"],"additionalProperties":true}},"presets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"isDefault":{"type":"boolean"},"broken":{"type":"string","description":"Why the preset cannot be composed right now."}},"required":["id","isDefault"],"additionalProperties":true},"description":"The host's agent presets a native DSH member may compose; absent when the composition mounts no preset registry (native members then run the plain composition)."},"sessionPreset":{"type":"string","description":"The requested session's own mode (preset id), when known: the dialog's default mode."}},"required":["localAgentAvailable","providers"],"additionalProperties":true},
|
|
1793
2972
|
},
|
|
1794
|
-
sourceLocation: {"file":"packages/room/src/index.ts","line":
|
|
2973
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":493,"column":9},
|
|
1795
2974
|
},
|
|
1796
2975
|
'room/planCommand': {
|
|
1797
2976
|
service: 'room',
|
|
@@ -1824,7 +3003,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1824
3003
|
schema: _khorsheed_dsh_room_room_planCommand_result$schema(),
|
|
1825
3004
|
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"message":{"type":"string"}},"required":["ok","message"],"additionalProperties":true}]},
|
|
1826
3005
|
},
|
|
1827
|
-
sourceLocation: {"file":"packages/room/src/index.ts","line":
|
|
3006
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":1666,"column":9},
|
|
1828
3007
|
},
|
|
1829
3008
|
'room/postMessage': {
|
|
1830
3009
|
service: 'room',
|
|
@@ -1840,14 +3019,14 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1840
3019
|
typeSymbol: '@khorsheed/dsh-room/types#RoomPostMessageRequest',
|
|
1841
3020
|
create: _khorsheed_dsh_room_room_postMessage_parameter_0$schema,
|
|
1842
3021
|
schema: _khorsheed_dsh_room_room_postMessage_parameter_0$schema(),
|
|
1843
|
-
jsonSchema: {"type":"object","properties":{"requestId":{"type":"string"},"sessionId":{"type":"string","description":"Room session."},"text":{"type":"string","description":"Raw composer text: leading `@name` tokens address members."},"targets":{"type":"array","items":{"type":"string"},"description":"Menu-picked addressees (the room composer's mention menu records a pick as explicit addressing even when the `@name` sits mid-sentence). Unioned with the parsed leading tokens and validated against the roster the same way; the text itself is dispatched verbatim either way."}},"required":["sessionId","text"],"additionalProperties":true},
|
|
3022
|
+
jsonSchema: {"type":"object","properties":{"requestId":{"type":"string"},"sessionId":{"type":"string","description":"Room session."},"text":{"type":"string","description":"Raw composer text: leading `@name` tokens address members."},"targets":{"type":"array","items":{"type":"string"},"description":"Menu-picked addressees (the room composer's mention menu records a pick as explicit addressing even when the `@name` sits mid-sentence). Unioned with the parsed leading tokens and validated against the roster the same way; the text itself is dispatched verbatim either way."},"task":{"type":"string","description":"The composer's task tag: `new` or a task root id (see RoomSetTaskHintRequest)."}},"required":["sessionId","text"],"additionalProperties":true},
|
|
1844
3023
|
},
|
|
1845
3024
|
strictCodec: {
|
|
1846
3025
|
mode: 'strict',
|
|
1847
3026
|
typeSymbol: '@khorsheed/dsh-room/types#RoomPostMessageRequest',
|
|
1848
3027
|
create: _khorsheed_dsh_room_room_postMessage_parameter_0_strict$schema,
|
|
1849
3028
|
schema: _khorsheed_dsh_room_room_postMessage_parameter_0_strict$schema(),
|
|
1850
|
-
jsonSchema: {"type":"object","properties":{"requestId":{"type":"string"},"sessionId":{"type":"string","description":"Room session."},"text":{"type":"string","description":"Raw composer text: leading `@name` tokens address members."},"targets":{"type":"array","items":{"type":"string"},"description":"Menu-picked addressees (the room composer's mention menu records a pick as explicit addressing even when the `@name` sits mid-sentence). Unioned with the parsed leading tokens and validated against the roster the same way; the text itself is dispatched verbatim either way."}},"required":["sessionId","text"],"additionalProperties":false},
|
|
3029
|
+
jsonSchema: {"type":"object","properties":{"requestId":{"type":"string"},"sessionId":{"type":"string","description":"Room session."},"text":{"type":"string","description":"Raw composer text: leading `@name` tokens address members."},"targets":{"type":"array","items":{"type":"string"},"description":"Menu-picked addressees (the room composer's mention menu records a pick as explicit addressing even when the `@name` sits mid-sentence). Unioned with the parsed leading tokens and validated against the roster the same way; the text itself is dispatched verbatim either way."},"task":{"type":"string","description":"The composer's task tag: `new` or a task root id (see RoomSetTaskHintRequest)."}},"required":["sessionId","text"],"additionalProperties":false},
|
|
1851
3030
|
},
|
|
1852
3031
|
},
|
|
1853
3032
|
],
|
|
@@ -1857,9 +3036,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1857
3036
|
create: _khorsheed_dsh_room_room_postMessage_result$schema,
|
|
1858
3037
|
schema: _khorsheed_dsh_room_room_postMessage_result$schema(),
|
|
1859
3038
|
description: 'the parse receipt, or a rejection.',
|
|
1860
|
-
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"parsed":{"type":"object","properties":{"targets":{"type":"array","items":{"type":"string"},"description":"Addressed members (never empty — a bare message is a `no-targets` rejection)."},"text":{"type":"string","description":"The message body with the leading"}},"required":["targets","text"],"additionalProperties":true},"seq":{"type":"number","description":"Seq of the appended journal event."}},"required":["parsed","seq"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
3039
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"parsed":{"type":"object","properties":{"targets":{"type":"array","items":{"type":"string"},"description":"Addressed members (never empty — a bare message is a `no-targets` rejection)."},"text":{"type":"string","description":"The message body with the leading"}},"required":["targets","text"],"additionalProperties":true},"seq":{"type":"number","description":"Seq of the appended journal event."}},"required":["parsed","seq"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
1861
3040
|
},
|
|
1862
|
-
sourceLocation: {"file":"packages/room/src/index.ts","line":
|
|
3041
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":1187,"column":9},
|
|
1863
3042
|
},
|
|
1864
3043
|
'room/prepareMember': {
|
|
1865
3044
|
service: 'room',
|
|
@@ -1890,9 +3069,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1890
3069
|
typeSymbol: '@khorsheed/dsh-room/types#RoomPrepareMemberResult',
|
|
1891
3070
|
create: _khorsheed_dsh_room_room_prepareMember_result$schema,
|
|
1892
3071
|
schema: _khorsheed_dsh_room_room_prepareMember_result$schema(),
|
|
1893
|
-
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"childSessionId":{"type":"string"}},"required":["childSessionId"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
3072
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"childSessionId":{"type":"string"}},"required":["childSessionId"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
1894
3073
|
},
|
|
1895
|
-
sourceLocation: {"file":"packages/room/src/index.ts","line":
|
|
3074
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":987,"column":9},
|
|
1896
3075
|
},
|
|
1897
3076
|
'room/reconcileDelivery': {
|
|
1898
3077
|
service: 'room',
|
|
@@ -1923,13 +3102,48 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1923
3102
|
typeSymbol: '@khorsheed/dsh-room/types#RoomReconcileDeliveryResult',
|
|
1924
3103
|
create: _khorsheed_dsh_room_room_reconcileDelivery_result$schema,
|
|
1925
3104
|
schema: _khorsheed_dsh_room_room_reconcileDelivery_result$schema(),
|
|
1926
|
-
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
3105
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
3106
|
+
},
|
|
3107
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":1013,"column":9},
|
|
3108
|
+
},
|
|
3109
|
+
'room/releaseReports': {
|
|
3110
|
+
service: 'room',
|
|
3111
|
+
description: 'Hand a member the reports the gate holds for it now (the room\'s 「现在交给」 button).',
|
|
3112
|
+
invocation: { kind: 'direct' },
|
|
3113
|
+
parameters: [
|
|
3114
|
+
{
|
|
3115
|
+
name: 'request',
|
|
3116
|
+
description: 'room session, member name.',
|
|
3117
|
+
source: 'json',
|
|
3118
|
+
codec: {
|
|
3119
|
+
mode: 'strict',
|
|
3120
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomReleaseReportsRequest',
|
|
3121
|
+
create: _khorsheed_dsh_room_room_releaseReports_parameter_0$schema,
|
|
3122
|
+
schema: _khorsheed_dsh_room_room_releaseReports_parameter_0$schema(),
|
|
3123
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"name":{"type":"string"}},"required":["sessionId","name"],"additionalProperties":true},
|
|
3124
|
+
},
|
|
3125
|
+
strictCodec: {
|
|
3126
|
+
mode: 'strict',
|
|
3127
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomReleaseReportsRequest',
|
|
3128
|
+
create: _khorsheed_dsh_room_room_releaseReports_parameter_0_strict$schema,
|
|
3129
|
+
schema: _khorsheed_dsh_room_room_releaseReports_parameter_0_strict$schema(),
|
|
3130
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"name":{"type":"string"}},"required":["sessionId","name"],"additionalProperties":false},
|
|
3131
|
+
},
|
|
3132
|
+
},
|
|
3133
|
+
],
|
|
3134
|
+
result: {
|
|
3135
|
+
mode: 'strict',
|
|
3136
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomReleaseReportsResult',
|
|
3137
|
+
create: _khorsheed_dsh_room_room_releaseReports_result$schema,
|
|
3138
|
+
schema: _khorsheed_dsh_room_room_releaseReports_result$schema(),
|
|
3139
|
+
description: 'whether anything was held.',
|
|
3140
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"released":{"type":"boolean"}},"required":["released"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
1927
3141
|
},
|
|
1928
|
-
sourceLocation: {"file":"packages/room/src/index.ts","line":
|
|
3142
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":2001,"column":9},
|
|
1929
3143
|
},
|
|
1930
3144
|
'room/removeMember': {
|
|
1931
3145
|
service: 'room',
|
|
1932
|
-
description: 'Remove a member
|
|
3146
|
+
description: 'Remove a member and settle everything that depended on it, so the confirmation\'s promises hold: a running round is stopped first (the same cancel the stop button uses), queued messages to it are cancelled, every member waiting for one of its reports is told it will not come, and only then does it leave the roster. Its own session and history stay; {@link restoreMember} brings it back onto them.',
|
|
1933
3147
|
invocation: { kind: 'direct' },
|
|
1934
3148
|
parameters: [
|
|
1935
3149
|
{
|
|
@@ -1957,10 +3171,45 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1957
3171
|
typeSymbol: '@khorsheed/dsh-room/types#RoomRemoveMemberResult',
|
|
1958
3172
|
create: _khorsheed_dsh_room_room_removeMember_result$schema,
|
|
1959
3173
|
schema: _khorsheed_dsh_room_room_removeMember_result$schema(),
|
|
1960
|
-
description: 'the removal
|
|
1961
|
-
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
3174
|
+
description: 'what the removal did, or a rejection.',
|
|
3175
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"name":{"type":"string"},"stopped":{"type":"boolean","description":"True when a running round was stopped first."},"cancelledDeliveries":{"type":"number","description":"Queued messages that will never be delivered."},"notified":{"type":"array","items":{"type":"string"},"description":"Members that were waiting for a report and were told instead."}},"required":["name","stopped","cancelledDeliveries","notified"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
3176
|
+
},
|
|
3177
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":1098,"column":9},
|
|
3178
|
+
},
|
|
3179
|
+
'room/restoreMember': {
|
|
3180
|
+
service: 'room',
|
|
3181
|
+
description: 'Undo a removal: the member rejoins under its old identity, provider, role, instructions and native session, so its memory carries on. Work the removal cancelled stays cancelled. Rejected when the name was taken in between or the member was never removed.',
|
|
3182
|
+
invocation: { kind: 'direct' },
|
|
3183
|
+
parameters: [
|
|
3184
|
+
{
|
|
3185
|
+
name: 'request',
|
|
3186
|
+
description: 'room session, the removed member\'s name.',
|
|
3187
|
+
source: 'json',
|
|
3188
|
+
codec: {
|
|
3189
|
+
mode: 'strict',
|
|
3190
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomRestoreMemberRequest',
|
|
3191
|
+
create: _khorsheed_dsh_room_room_restoreMember_parameter_0$schema,
|
|
3192
|
+
schema: _khorsheed_dsh_room_room_restoreMember_parameter_0$schema(),
|
|
3193
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"name":{"type":"string"}},"required":["sessionId","name"],"additionalProperties":true},
|
|
3194
|
+
},
|
|
3195
|
+
strictCodec: {
|
|
3196
|
+
mode: 'strict',
|
|
3197
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomRestoreMemberRequest',
|
|
3198
|
+
create: _khorsheed_dsh_room_room_restoreMember_parameter_0_strict$schema,
|
|
3199
|
+
schema: _khorsheed_dsh_room_room_restoreMember_parameter_0_strict$schema(),
|
|
3200
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"name":{"type":"string"}},"required":["sessionId","name"],"additionalProperties":false},
|
|
3201
|
+
},
|
|
3202
|
+
},
|
|
3203
|
+
],
|
|
3204
|
+
result: {
|
|
3205
|
+
mode: 'strict',
|
|
3206
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomRestoreMemberResult',
|
|
3207
|
+
create: _khorsheed_dsh_room_room_restoreMember_result$schema,
|
|
3208
|
+
schema: _khorsheed_dsh_room_room_restoreMember_result$schema(),
|
|
3209
|
+
description: 'the restored name, or a rejection.',
|
|
3210
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
1962
3211
|
},
|
|
1963
|
-
sourceLocation: {"file":"packages/room/src/index.ts","line":
|
|
3212
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":1137,"column":9},
|
|
1964
3213
|
},
|
|
1965
3214
|
'room/setCoordinator': {
|
|
1966
3215
|
service: 'room',
|
|
@@ -1991,9 +3240,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1991
3240
|
typeSymbol: '@khorsheed/dsh-room/types#RoomSetCoordinatorResult',
|
|
1992
3241
|
create: _khorsheed_dsh_room_room_setCoordinator_result$schema,
|
|
1993
3242
|
schema: _khorsheed_dsh_room_room_setCoordinator_result$schema(),
|
|
1994
|
-
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"version":{"type":"number","const":1},"memberId":{"type":"string"},"revision":{"type":"number"},"previousMemberId":{"type":"string"},"handoff":{"type":"string"}},"required":["version","memberId","revision","previousMemberId","handoff"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
3243
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"version":{"type":"number","const":1},"memberId":{"type":"string"},"revision":{"type":"number"},"previousMemberId":{"type":"string"},"handoff":{"type":"string"}},"required":["version","memberId","revision","previousMemberId","handoff"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
1995
3244
|
},
|
|
1996
|
-
sourceLocation: {"file":"packages/room/src/index.ts","line":
|
|
3245
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":1030,"column":9},
|
|
1997
3246
|
},
|
|
1998
3247
|
'room/setGoal': {
|
|
1999
3248
|
service: 'room',
|
|
@@ -2026,9 +3275,149 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
2026
3275
|
create: _khorsheed_dsh_room_room_setGoal_result$schema,
|
|
2027
3276
|
schema: _khorsheed_dsh_room_room_setGoal_result$schema(),
|
|
2028
3277
|
description: 'the now-current goal (absent after a clear), or a rejection.',
|
|
2029
|
-
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"goal":{"type":"string"}},"required":[],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
3278
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"goal":{"type":"string"}},"required":[],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
3279
|
+
},
|
|
3280
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":2147,"column":9},
|
|
3281
|
+
},
|
|
3282
|
+
'room/setSettings': {
|
|
3283
|
+
service: 'room',
|
|
3284
|
+
description: 'Change the room\'s collaboration settings (any subset). Resuming a paused room releases everything the pause held, in order.',
|
|
3285
|
+
invocation: { kind: 'direct' },
|
|
3286
|
+
parameters: [
|
|
3287
|
+
{
|
|
3288
|
+
name: 'request',
|
|
3289
|
+
description: 'room session and the fields to change.',
|
|
3290
|
+
source: 'json',
|
|
3291
|
+
codec: {
|
|
3292
|
+
mode: 'strict',
|
|
3293
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomSetSettingsRequest',
|
|
3294
|
+
create: _khorsheed_dsh_room_room_setSettings_parameter_0$schema,
|
|
3295
|
+
schema: _khorsheed_dsh_room_room_setSettings_parameter_0$schema(),
|
|
3296
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"reportTiming":{"type":"string","enum":["judge","each"]},"autoTaskFiling":{"type":"boolean"},"reportThreshold":{"type":"number"},"reportWaitMinutes":{"type":"number"},"helpReminderMinutes":{"type":"number","description":"10–120, in steps of 10."},"memberMessages":{"type":"string","enum":["free","confirm"]},"hopLimit":{"type":"number","description":"2–50."},"paused":{"type":"boolean"}},"required":["sessionId"],"additionalProperties":true},
|
|
3297
|
+
},
|
|
3298
|
+
strictCodec: {
|
|
3299
|
+
mode: 'strict',
|
|
3300
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomSetSettingsRequest',
|
|
3301
|
+
create: _khorsheed_dsh_room_room_setSettings_parameter_0_strict$schema,
|
|
3302
|
+
schema: _khorsheed_dsh_room_room_setSettings_parameter_0_strict$schema(),
|
|
3303
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"reportTiming":{"type":"string","enum":["judge","each"]},"autoTaskFiling":{"type":"boolean"},"reportThreshold":{"type":"number"},"reportWaitMinutes":{"type":"number"},"helpReminderMinutes":{"type":"number","description":"10–120, in steps of 10."},"memberMessages":{"type":"string","enum":["free","confirm"]},"hopLimit":{"type":"number","description":"2–50."},"paused":{"type":"boolean"}},"required":["sessionId"],"additionalProperties":false},
|
|
3304
|
+
},
|
|
3305
|
+
},
|
|
3306
|
+
],
|
|
3307
|
+
result: {
|
|
3308
|
+
mode: 'strict',
|
|
3309
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomSetSettingsResult',
|
|
3310
|
+
create: _khorsheed_dsh_room_room_setSettings_result$schema,
|
|
3311
|
+
schema: _khorsheed_dsh_room_room_setSettings_result$schema(),
|
|
3312
|
+
description: 'the settings after the change, or a rejection.',
|
|
3313
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"memberMessages":{"type":"string","enum":["free","confirm"]},"hopLimit":{"type":"number"},"paused":{"type":"boolean"},"reportTiming":{"type":"string","enum":["judge","each"]},"autoTaskFiling":{"type":"boolean"},"reportThreshold":{"type":"number"},"reportWaitMinutes":{"type":"number"},"helpReminderMinutes":{"type":"number"}},"required":["memberMessages","hopLimit","paused","reportTiming","autoTaskFiling","reportThreshold","reportWaitMinutes","helpReminderMinutes"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
3314
|
+
},
|
|
3315
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":2017,"column":9},
|
|
3316
|
+
},
|
|
3317
|
+
'room/setTaskHint': {
|
|
3318
|
+
service: 'room',
|
|
3319
|
+
description: 'Tag the human\'s next message with a task (the task page\'s 追问 / 新任务), or clear the tag.',
|
|
3320
|
+
invocation: { kind: 'direct' },
|
|
3321
|
+
parameters: [
|
|
3322
|
+
{
|
|
3323
|
+
name: 'request',
|
|
3324
|
+
description: 'room session and the task root id, `new`, or null.',
|
|
3325
|
+
source: 'json',
|
|
3326
|
+
codec: {
|
|
3327
|
+
mode: 'strict',
|
|
3328
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomSetTaskHintRequest',
|
|
3329
|
+
create: _khorsheed_dsh_room_room_setTaskHint_parameter_0$schema,
|
|
3330
|
+
schema: _khorsheed_dsh_room_room_setTaskHint_parameter_0$schema(),
|
|
3331
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"task":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"`new`, a task root id, or null to clear."}},"required":["sessionId","task"],"additionalProperties":true},
|
|
3332
|
+
},
|
|
3333
|
+
strictCodec: {
|
|
3334
|
+
mode: 'strict',
|
|
3335
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomSetTaskHintRequest',
|
|
3336
|
+
create: _khorsheed_dsh_room_room_setTaskHint_parameter_0_strict$schema,
|
|
3337
|
+
schema: _khorsheed_dsh_room_room_setTaskHint_parameter_0_strict$schema(),
|
|
3338
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"task":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"`new`, a task root id, or null to clear."}},"required":["sessionId","task"],"additionalProperties":false},
|
|
3339
|
+
},
|
|
3340
|
+
},
|
|
3341
|
+
],
|
|
3342
|
+
result: {
|
|
3343
|
+
mode: 'strict',
|
|
3344
|
+
typeSymbol: '@khorsheed/dsh-room#room/setTaskHint:result',
|
|
3345
|
+
create: _khorsheed_dsh_room_room_setTaskHint_result$schema,
|
|
3346
|
+
schema: _khorsheed_dsh_room_room_setTaskHint_result$schema(),
|
|
3347
|
+
description: 'acknowledgement.',
|
|
3348
|
+
jsonSchema: {"type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":true},
|
|
3349
|
+
},
|
|
3350
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":599,"column":9},
|
|
3351
|
+
},
|
|
3352
|
+
'room/stopJob': {
|
|
3353
|
+
service: 'room',
|
|
3354
|
+
description: 'Stop a whole task: running rounds of its deliveries are cancelled (the same cancel the stop button uses), queued and held ones never run, and ordinary rounds whose outcome a restart lost close as cancelled — the human gave up on them — which unblocks those members\' later messages.',
|
|
3355
|
+
invocation: { kind: 'direct' },
|
|
3356
|
+
parameters: [
|
|
3357
|
+
{
|
|
3358
|
+
name: 'request',
|
|
3359
|
+
description: 'room session and the task root id.',
|
|
3360
|
+
source: 'json',
|
|
3361
|
+
codec: {
|
|
3362
|
+
mode: 'strict',
|
|
3363
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomStopJobRequest',
|
|
3364
|
+
create: _khorsheed_dsh_room_room_stopJob_parameter_0$schema,
|
|
3365
|
+
schema: _khorsheed_dsh_room_room_stopJob_parameter_0$schema(),
|
|
3366
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"task":{"type":"string","description":"The task's root id."}},"required":["sessionId","task"],"additionalProperties":true},
|
|
3367
|
+
},
|
|
3368
|
+
strictCodec: {
|
|
3369
|
+
mode: 'strict',
|
|
3370
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomStopJobRequest',
|
|
3371
|
+
create: _khorsheed_dsh_room_room_stopJob_parameter_0_strict$schema,
|
|
3372
|
+
schema: _khorsheed_dsh_room_room_stopJob_parameter_0_strict$schema(),
|
|
3373
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"task":{"type":"string","description":"The task's root id."}},"required":["sessionId","task"],"additionalProperties":false},
|
|
3374
|
+
},
|
|
3375
|
+
},
|
|
3376
|
+
],
|
|
3377
|
+
result: {
|
|
3378
|
+
mode: 'strict',
|
|
3379
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomStopJobResult',
|
|
3380
|
+
create: _khorsheed_dsh_room_room_stopJob_result$schema,
|
|
3381
|
+
schema: _khorsheed_dsh_room_room_stopJob_result$schema(),
|
|
3382
|
+
description: 'how many deliveries were stopped.',
|
|
3383
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"stopped":{"type":"number"}},"required":["stopped"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
3384
|
+
},
|
|
3385
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":614,"column":9},
|
|
3386
|
+
},
|
|
3387
|
+
'room/unlinkSession': {
|
|
3388
|
+
service: 'room',
|
|
3389
|
+
description: 'Take an outside session off the member list (its own session is untouched).',
|
|
3390
|
+
invocation: { kind: 'direct' },
|
|
3391
|
+
parameters: [
|
|
3392
|
+
{
|
|
3393
|
+
name: 'request',
|
|
3394
|
+
description: 'room session, the outside session.',
|
|
3395
|
+
source: 'json',
|
|
3396
|
+
codec: {
|
|
3397
|
+
mode: 'strict',
|
|
3398
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomHelpLinkRequest',
|
|
3399
|
+
create: _khorsheed_dsh_room_room_unlinkSession_parameter_0$schema,
|
|
3400
|
+
schema: _khorsheed_dsh_room_room_unlinkSession_parameter_0$schema(),
|
|
3401
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"target":{"type":"string","description":"The outside session."},"title":{"type":"string","description":"Its title (link only)."}},"required":["sessionId","target"],"additionalProperties":true},
|
|
3402
|
+
},
|
|
3403
|
+
strictCodec: {
|
|
3404
|
+
mode: 'strict',
|
|
3405
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomHelpLinkRequest',
|
|
3406
|
+
create: _khorsheed_dsh_room_room_unlinkSession_parameter_0_strict$schema,
|
|
3407
|
+
schema: _khorsheed_dsh_room_room_unlinkSession_parameter_0_strict$schema(),
|
|
3408
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"target":{"type":"string","description":"The outside session."},"title":{"type":"string","description":"Its title (link only)."}},"required":["sessionId","target"],"additionalProperties":false},
|
|
3409
|
+
},
|
|
3410
|
+
},
|
|
3411
|
+
],
|
|
3412
|
+
result: {
|
|
3413
|
+
mode: 'strict',
|
|
3414
|
+
typeSymbol: '@khorsheed/dsh-room/types#RoomHelpLinkResult',
|
|
3415
|
+
create: _khorsheed_dsh_room_room_unlinkSession_result$schema,
|
|
3416
|
+
schema: _khorsheed_dsh_room_room_unlinkSession_result$schema(),
|
|
3417
|
+
description: 'ok, or `member-not-found` when it was not on the list.',
|
|
3418
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
2030
3419
|
},
|
|
2031
|
-
sourceLocation: {"file":"packages/room/src/index.ts","line":
|
|
3420
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":2088,"column":9},
|
|
2032
3421
|
},
|
|
2033
3422
|
'room/updateMember': {
|
|
2034
3423
|
service: 'room',
|
|
@@ -2044,14 +3433,14 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
2044
3433
|
typeSymbol: '@khorsheed/dsh-room/types#RoomUpdateMemberRequest',
|
|
2045
3434
|
create: _khorsheed_dsh_room_room_updateMember_parameter_0$schema,
|
|
2046
3435
|
schema: _khorsheed_dsh_room_room_updateMember_parameter_0$schema(),
|
|
2047
|
-
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","description":"Room session."},"name":{"type":"string","description":"Member to update (its CURRENT name)."},"rename":{"type":"string","description":"Rename: the new"},"instructions":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"New role instructions; null (or a blank string) CLEARS them."},"cwd":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"New member-level cwd; null (or a blank string) CLEARS the override back to inheriting the room cwd."},"model":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"New intended model (roster-recorded; the first dispatch binds it as the facade start's `model` option); null (or a blank string) CLEARS it back to following the harness default."}},"required":["sessionId","name"],"additionalProperties":true},
|
|
3436
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","description":"Room session."},"name":{"type":"string","description":"Member to update (its CURRENT name)."},"rename":{"type":"string","description":"Rename: the new"},"instructions":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"New role instructions; null (or a blank string) CLEARS them."},"role":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"New public role; null (or a blank string) CLEARS it."},"cwd":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"New member-level cwd; null (or a blank string) CLEARS the override back to inheriting the room cwd."},"model":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"New intended model (roster-recorded; the first dispatch binds it as the facade start's `model` option); null (or a blank string) CLEARS it back to following the harness default."},"effort":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"New intended reasoning effort (roster-recorded, bound like the model on the first dispatch); null (or a blank string) CLEARS it back to following the harness default."}},"required":["sessionId","name"],"additionalProperties":true},
|
|
2048
3437
|
},
|
|
2049
3438
|
strictCodec: {
|
|
2050
3439
|
mode: 'strict',
|
|
2051
3440
|
typeSymbol: '@khorsheed/dsh-room/types#RoomUpdateMemberRequest',
|
|
2052
3441
|
create: _khorsheed_dsh_room_room_updateMember_parameter_0_strict$schema,
|
|
2053
3442
|
schema: _khorsheed_dsh_room_room_updateMember_parameter_0_strict$schema(),
|
|
2054
|
-
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","description":"Room session."},"name":{"type":"string","description":"Member to update (its CURRENT name)."},"rename":{"type":"string","description":"Rename: the new"},"instructions":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"New role instructions; null (or a blank string) CLEARS them."},"cwd":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"New member-level cwd; null (or a blank string) CLEARS the override back to inheriting the room cwd."},"model":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"New intended model (roster-recorded; the first dispatch binds it as the facade start's `model` option); null (or a blank string) CLEARS it back to following the harness default."}},"required":["sessionId","name"],"additionalProperties":false},
|
|
3443
|
+
jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","description":"Room session."},"name":{"type":"string","description":"Member to update (its CURRENT name)."},"rename":{"type":"string","description":"Rename: the new"},"instructions":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"New role instructions; null (or a blank string) CLEARS them."},"role":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"New public role; null (or a blank string) CLEARS it."},"cwd":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"New member-level cwd; null (or a blank string) CLEARS the override back to inheriting the room cwd."},"model":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"New intended model (roster-recorded; the first dispatch binds it as the facade start's `model` option); null (or a blank string) CLEARS it back to following the harness default."},"effort":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"New intended reasoning effort (roster-recorded, bound like the model on the first dispatch); null (or a blank string) CLEARS it back to following the harness default."}},"required":["sessionId","name"],"additionalProperties":false},
|
|
2055
3444
|
},
|
|
2056
3445
|
},
|
|
2057
3446
|
],
|
|
@@ -2061,9 +3450,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
2061
3450
|
create: _khorsheed_dsh_room_room_updateMember_result$schema,
|
|
2062
3451
|
schema: _khorsheed_dsh_room_room_updateMember_result$schema(),
|
|
2063
3452
|
description: 'the update receipt (the CURRENT name), or a rejection.',
|
|
2064
|
-
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
3453
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"value":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"],"additionalProperties":true}},"required":["ok","value"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"request-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-cwd-bound"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"delivery-not-uncertain"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"plan-reconciliation-required"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-busy"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-not-ready"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"coordinator-conflict"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"active-coordinator"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"configuration-owned-by-core"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"session-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"not-a-room"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"duplicate-name"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-provider"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"member-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"empty-text"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"role-too-long"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"invalid-settings"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"self-message"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-task"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-preset"},"preset":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","preset","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"nothing-to-update"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"local-agent-unavailable"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-provider"},"provider":{"type":"string"},"available":{"type":"array","items":{"type":"string"}}},"required":["code","provider","available"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"unknown-targets"},"names":{"type":"array","items":{"type":"string"}}},"required":["code","names"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"no-targets"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"relay-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"approval-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"question-not-pending"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"main-member"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-not-found"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"task-closed"}},"required":["code"],"additionalProperties":true},{"type":"object","properties":{"code":{"type":"string","const":"resume-failed"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":true}]}},"required":["ok","error"],"additionalProperties":true}]},
|
|
2065
3454
|
},
|
|
2066
|
-
sourceLocation: {"file":"packages/room/src/index.ts","line":
|
|
3455
|
+
sourceLocation: {"file":"packages/room/src/index.ts","line":932,"column":9},
|
|
2067
3456
|
},
|
|
2068
3457
|
},
|
|
2069
3458
|
}, z)
|