@khorsheed/dsh-local-agent 0.1.0-rc.6

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.
Files changed (99) hide show
  1. package/README.en.md +181 -0
  2. package/README.i18n.yaml +2 -0
  3. package/README.md +181 -0
  4. package/cordis.patch.yml +21 -0
  5. package/lib/client.js +8832 -0
  6. package/lib/index.js +5281 -0
  7. package/lib/invariant.js +85 -0
  8. package/lib/member-bridge.js +298 -0
  9. package/lib/typert.host.d.ts +3 -0
  10. package/lib/typert.host.js +3137 -0
  11. package/lib/typert.remote-client.d.ts +67 -0
  12. package/lib/typert.remote-client.js +1971 -0
  13. package/lib/types/cli-version.d.ts +82 -0
  14. package/lib/types/cli-version.js +165 -0
  15. package/lib/types/client/AuthStatusDot.d.ts +17 -0
  16. package/lib/types/client/AuthStatusDot.js +9 -0
  17. package/lib/types/client/HarnessModelPicker.d.ts +17 -0
  18. package/lib/types/client/HarnessModelPicker.js +48 -0
  19. package/lib/types/client/LocalAgentRecordsAction.d.ts +41 -0
  20. package/lib/types/client/LocalAgentRecordsAction.js +74 -0
  21. package/lib/types/client/MemberComposer.d.ts +79 -0
  22. package/lib/types/client/MemberComposer.js +308 -0
  23. package/lib/types/client/MemberConfiguration.d.ts +9 -0
  24. package/lib/types/client/MemberConfiguration.js +46 -0
  25. package/lib/types/client/MemberInboxView.d.ts +12 -0
  26. package/lib/types/client/MemberInboxView.js +38 -0
  27. package/lib/types/client/MemberLiveNode.d.ts +14 -0
  28. package/lib/types/client/MemberLiveNode.js +74 -0
  29. package/lib/types/client/MemberPaintDiagnostics.d.ts +7 -0
  30. package/lib/types/client/MemberPaintDiagnostics.js +20 -0
  31. package/lib/types/client/ModelConfigurationFields.d.ts +15 -0
  32. package/lib/types/client/ModelConfigurationFields.js +23 -0
  33. package/lib/types/client/ProviderAuthBlock.d.ts +59 -0
  34. package/lib/types/client/ProviderAuthBlock.js +164 -0
  35. package/lib/types/client/auth-status.d.ts +28 -0
  36. package/lib/types/client/auth-status.js +56 -0
  37. package/lib/types/client/icons.d.ts +22 -0
  38. package/lib/types/client/icons.js +6 -0
  39. package/lib/types/client/index.d.ts +62 -0
  40. package/lib/types/client/index.js +135 -0
  41. package/lib/types/client/live-node.d.ts +14 -0
  42. package/lib/types/client/live-node.js +34 -0
  43. package/lib/types/client/live-output.d.ts +34 -0
  44. package/lib/types/client/live-output.js +94 -0
  45. package/lib/types/client/live-paint.d.ts +40 -0
  46. package/lib/types/client/live-paint.js +74 -0
  47. package/lib/types/client/locales.d.ts +120 -0
  48. package/lib/types/client/locales.js +227 -0
  49. package/lib/types/client/member-configuration.d.ts +41 -0
  50. package/lib/types/client/member-configuration.js +114 -0
  51. package/lib/types/client/member-dock.d.ts +94 -0
  52. package/lib/types/client/member-dock.js +102 -0
  53. package/lib/types/client/member-feed.d.ts +24 -0
  54. package/lib/types/client/member-feed.js +134 -0
  55. package/lib/types/client/request-id.d.ts +3 -0
  56. package/lib/types/client/request-id.js +6 -0
  57. package/lib/types/client/settings-scope.d.ts +74 -0
  58. package/lib/types/client/settings-scope.js +98 -0
  59. package/lib/types/client/use-configuration-menu.d.ts +10 -0
  60. package/lib/types/client/use-configuration-menu.js +61 -0
  61. package/lib/types/container.d.ts +69 -0
  62. package/lib/types/container.js +129 -0
  63. package/lib/types/env.d.ts +17 -0
  64. package/lib/types/env.js +89 -0
  65. package/lib/types/gateway.d.ts +162 -0
  66. package/lib/types/gateway.js +470 -0
  67. package/lib/types/index.d.ts +1463 -0
  68. package/lib/types/index.js +2704 -0
  69. package/lib/types/invariant.d.ts +16 -0
  70. package/lib/types/invariant.js +105 -0
  71. package/lib/types/live-flush.d.ts +21 -0
  72. package/lib/types/live-flush.js +59 -0
  73. package/lib/types/live-stream.d.ts +41 -0
  74. package/lib/types/live-stream.js +178 -0
  75. package/lib/types/member-bridge.d.ts +50 -0
  76. package/lib/types/member-bridge.js +216 -0
  77. package/lib/types/member-channel.d.ts +86 -0
  78. package/lib/types/member-channel.js +232 -0
  79. package/lib/types/member-control-storage.d.ts +10 -0
  80. package/lib/types/member-control-storage.js +100 -0
  81. package/lib/types/member-control.d.ts +62 -0
  82. package/lib/types/member-control.js +359 -0
  83. package/lib/types/member-controls.d.ts +23 -0
  84. package/lib/types/member-controls.js +143 -0
  85. package/lib/types/member-feed.d.ts +4 -0
  86. package/lib/types/member-feed.js +45 -0
  87. package/lib/types/member-inbox.d.ts +30 -0
  88. package/lib/types/member-inbox.js +225 -0
  89. package/lib/types/model-directory.d.ts +43 -0
  90. package/lib/types/model-directory.js +192 -0
  91. package/lib/types/prepared-members.d.ts +15 -0
  92. package/lib/types/prepared-members.js +61 -0
  93. package/lib/types/settings-face.d.ts +61 -0
  94. package/lib/types/settings-face.js +61 -0
  95. package/lib/types/types.d.ts +959 -0
  96. package/lib/types/types.js +24 -0
  97. package/locale/en.json +6 -0
  98. package/locale/zh.json +6 -0
  99. package/package.json +112 -0
@@ -0,0 +1,1971 @@
1
+ /* Generated by @deepseek-ai/dsh-typert-generator from the Host FaceModel — do not edit. */
2
+ import { z } from 'zod'
3
+
4
+ let _khorsheed_dsh_local_agent_localAgentGateway_activeDelegations_result$schema$value
5
+ const _khorsheed_dsh_local_agent_localAgentGateway_activeDelegations_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_activeDelegations_result$schema$value ??= z.array(z.string()))
6
+ let _khorsheed_dsh_local_agent_localAgentGateway_cancelMemberConfiguration_parameter_0$schema$value
7
+ const _khorsheed_dsh_local_agent_localAgentGateway_cancelMemberConfiguration_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_cancelMemberConfiguration_parameter_0$schema$value ??= z.string())
8
+ let _khorsheed_dsh_local_agent_localAgentGateway_cancelMemberConfiguration_parameter_1$schema$value
9
+ const _khorsheed_dsh_local_agent_localAgentGateway_cancelMemberConfiguration_parameter_1$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_cancelMemberConfiguration_parameter_1$schema$value ??= z.string())
10
+ let _khorsheed_dsh_local_agent_localAgentGateway_cancelMemberConfiguration_parameter_2$schema$value
11
+ const _khorsheed_dsh_local_agent_localAgentGateway_cancelMemberConfiguration_parameter_2$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_cancelMemberConfiguration_parameter_2$schema$value ??= z.number())
12
+ let _khorsheed_dsh_local_agent_localAgentGateway_cancelMemberConfiguration_result$schema$value
13
+ const _khorsheed_dsh_local_agent_localAgentGateway_cancelMemberConfiguration_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_cancelMemberConfiguration_result$schema$value ??= z.object({
14
+ 'requestId': z.string(),
15
+ 'revision': z.number(),
16
+ 'status': z.union([z.literal("pending"), z.literal("applying"), z.literal("failed"), z.literal("unsupported"), z.literal("applied"), z.literal("cancelled"), z.literal("conflict"), z.literal("locked")]),
17
+ 'error': z.string().optional(),
18
+ }))
19
+ let _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_0$schema$value
20
+ const _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_0$schema$value ??= z.string())
21
+ let _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_1$schema$value
22
+ const _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_1$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_1$schema$value ??= z.union([z.literal("cancel"), z.literal("pause"), z.literal("resume"), z.literal("reconcile")]))
23
+ let _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_2$schema$value
24
+ const _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_2$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_2$schema$value ??= z.union([z.undefined(), z.string()]))
25
+ let _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_3$schema$value
26
+ const _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_3$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_3$schema$value ??= z.union([z.undefined(), z.literal("cancelled"), z.literal("done")]))
27
+ let _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_4$schema$value
28
+ const _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_4$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_4$schema$value ??= z.union([z.undefined(), z.string()]))
29
+ let _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_result$schema$value
30
+ const _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_result$schema$value ??= z.union([z.object({
31
+ 'ok': z.literal(true),
32
+ 'requestId': z.string().optional(),
33
+ }), z.object({
34
+ 'ok': z.literal(false),
35
+ 'error': z.string(),
36
+ })]))
37
+ let _khorsheed_dsh_local_agent_localAgentGateway_followMemberConfiguration_parameter_0$schema$value
38
+ const _khorsheed_dsh_local_agent_localAgentGateway_followMemberConfiguration_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_followMemberConfiguration_parameter_0$schema$value ??= z.string())
39
+ let _khorsheed_dsh_local_agent_localAgentGateway_followMemberConfiguration_result$schema$value
40
+ const _khorsheed_dsh_local_agent_localAgentGateway_followMemberConfiguration_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_followMemberConfiguration_result$schema$value ??= z.object({
41
+ 'memberId': z.string(),
42
+ 'revision': z.number(),
43
+ 'current': z.object({
44
+ 'revision': z.number(),
45
+ 'selection': z.object({
46
+ 'model': z.union([z.object({
47
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
48
+ }), z.object({
49
+ 'mode': z.literal("value"),
50
+ 'value': z.string(),
51
+ })]),
52
+ 'effort': z.union([z.object({
53
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
54
+ }), z.object({
55
+ 'mode': z.literal("value"),
56
+ 'value': z.string(),
57
+ })]),
58
+ }),
59
+ 'resolved': z.object({
60
+ 'model': z.string().optional(),
61
+ 'effort': z.string().optional(),
62
+ }),
63
+ }),
64
+ 'pending': z.object({
65
+ 'revision': z.number(),
66
+ 'requestId': z.string(),
67
+ 'kind': z.union([z.literal("selection"), z.literal("cancel")]),
68
+ 'selection': z.object({
69
+ 'model': z.union([z.object({
70
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
71
+ }), z.object({
72
+ 'mode': z.literal("value"),
73
+ 'value': z.string(),
74
+ })]),
75
+ 'effort': z.union([z.object({
76
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
77
+ }), z.object({
78
+ 'mode': z.literal("value"),
79
+ 'value': z.string(),
80
+ })]),
81
+ }),
82
+ }).optional(),
83
+ 'operation': z.intersection(z.object({
84
+ 'revision': z.number(),
85
+ 'requestId': z.string(),
86
+ 'kind': z.union([z.literal("selection"), z.literal("cancel")]),
87
+ 'selection': z.object({
88
+ 'model': z.union([z.object({
89
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
90
+ }), z.object({
91
+ 'mode': z.literal("value"),
92
+ 'value': z.string(),
93
+ })]),
94
+ 'effort': z.union([z.object({
95
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
96
+ }), z.object({
97
+ 'mode': z.literal("value"),
98
+ 'value': z.string(),
99
+ })]),
100
+ }),
101
+ }), z.object({
102
+ 'previous': z.object({
103
+ 'revision': z.number(),
104
+ 'selection': z.object({
105
+ 'model': z.union([z.object({
106
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
107
+ }), z.object({
108
+ 'mode': z.literal("value"),
109
+ 'value': z.string(),
110
+ })]),
111
+ 'effort': z.union([z.object({
112
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
113
+ }), z.object({
114
+ 'mode': z.literal("value"),
115
+ 'value': z.string(),
116
+ })]),
117
+ }),
118
+ 'resolved': z.object({
119
+ 'model': z.string().optional(),
120
+ 'effort': z.string().optional(),
121
+ }),
122
+ }),
123
+ })).optional(),
124
+ 'status': z.union([z.literal("idle"), z.literal("pending"), z.literal("applying"), z.literal("reconciling"), z.literal("failed")]),
125
+ 'round': z.object({
126
+ 'id': z.string(),
127
+ 'configuration': z.object({
128
+ 'revision': z.number(),
129
+ 'selection': z.object({
130
+ 'model': z.union([z.object({
131
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
132
+ }), z.object({
133
+ 'mode': z.literal("value"),
134
+ 'value': z.string(),
135
+ })]),
136
+ 'effort': z.union([z.object({
137
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
138
+ }), z.object({
139
+ 'mode': z.literal("value"),
140
+ 'value': z.string(),
141
+ })]),
142
+ }),
143
+ 'resolved': z.object({
144
+ 'model': z.string().optional(),
145
+ 'effort': z.string().optional(),
146
+ }),
147
+ }),
148
+ }).optional(),
149
+ 'lockedReason': z.string().optional(),
150
+ 'frozen': z.object({
151
+ 'revision': z.number(),
152
+ 'selection': z.object({
153
+ 'model': z.union([z.object({
154
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
155
+ }), z.object({
156
+ 'mode': z.literal("value"),
157
+ 'value': z.string(),
158
+ })]),
159
+ 'effort': z.union([z.object({
160
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
161
+ }), z.object({
162
+ 'mode': z.literal("value"),
163
+ 'value': z.string(),
164
+ })]),
165
+ }),
166
+ 'resolved': z.object({
167
+ 'model': z.string().optional(),
168
+ 'effort': z.string().optional(),
169
+ }),
170
+ }).optional(),
171
+ 'error': z.string().optional(),
172
+ }))
173
+ let _khorsheed_dsh_local_agent_localAgentGateway_followMemberDirectory_parameter_0$schema$value
174
+ const _khorsheed_dsh_local_agent_localAgentGateway_followMemberDirectory_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_followMemberDirectory_parameter_0$schema$value ??= z.string())
175
+ let _khorsheed_dsh_local_agent_localAgentGateway_followMemberDirectory_result$schema$value
176
+ const _khorsheed_dsh_local_agent_localAgentGateway_followMemberDirectory_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_followMemberDirectory_result$schema$value ??= z.object({
177
+ 'status': z.union([z.literal("loading"), z.literal("ready"), z.literal("stale"), z.literal("error"), z.literal("unsupported")]),
178
+ 'refreshing': z.boolean(),
179
+ 'revision': z.number(),
180
+ 'refreshedAt': z.number().optional(),
181
+ 'entries': z.array(z.object({
182
+ 'value': z.string(),
183
+ 'label': z.string(),
184
+ 'resolvedModel': z.string().optional(),
185
+ 'description': z.string().optional(),
186
+ 'source': z.union([z.literal("configuration"), z.literal("native"), z.literal("history")]),
187
+ 'hidden': z.boolean().optional(),
188
+ 'reasoning': z.object({
189
+ 'options': z.array(z.object({
190
+ 'value': z.string(),
191
+ 'label': z.string(),
192
+ 'description': z.string().optional(),
193
+ })),
194
+ 'default': z.string().optional(),
195
+ }).optional(),
196
+ })),
197
+ 'defaultModel': z.string().optional(),
198
+ 'complete': z.boolean(),
199
+ 'customInput': z.boolean(),
200
+ 'unsupported': z.boolean().optional(),
201
+ 'reason': z.string().optional(),
202
+ }))
203
+ let _khorsheed_dsh_local_agent_localAgentGateway_followMemberOutput_parameter_0$schema$value
204
+ const _khorsheed_dsh_local_agent_localAgentGateway_followMemberOutput_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_followMemberOutput_parameter_0$schema$value ??= z.string())
205
+ let _khorsheed_dsh_local_agent_localAgentGateway_followMemberOutput_result$schema$value
206
+ const _khorsheed_dsh_local_agent_localAgentGateway_followMemberOutput_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_followMemberOutput_result$schema$value ??= z.object({
207
+ 'baseline': z.boolean(),
208
+ 'updates': z.array(z.intersection(z.object({
209
+ 'id': z.string(),
210
+ 'turn': z.number(),
211
+ 'step': z.number(),
212
+ 'kind': z.union([z.literal("think"), z.literal("text")]),
213
+ 'text': z.string(),
214
+ 'revision': z.number(),
215
+ 'receivedAt': z.number(),
216
+ }), z.object({
217
+ 'append': z.boolean(),
218
+ }))),
219
+ 'removed': z.array(z.string()),
220
+ }))
221
+ let _khorsheed_dsh_local_agent_localAgentGateway_followMembers_parameter_0$schema$value
222
+ const _khorsheed_dsh_local_agent_localAgentGateway_followMembers_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_followMembers_parameter_0$schema$value ??= z.array(z.object({
223
+ 'memberId': z.string(),
224
+ 'channel': z.union([z.literal("configuration"), z.literal("directory"), z.literal("output")]),
225
+ })))
226
+ let _khorsheed_dsh_local_agent_localAgentGateway_followMembers_result$schema$value
227
+ const _khorsheed_dsh_local_agent_localAgentGateway_followMembers_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_followMembers_result$schema$value ??= z.union([z.object({
228
+ 'memberId': z.string(),
229
+ 'channel': z.literal("configuration"),
230
+ 'value': z.object({
231
+ 'memberId': z.string(),
232
+ 'revision': z.number(),
233
+ 'current': z.object({
234
+ 'revision': z.number(),
235
+ 'selection': z.object({
236
+ 'model': z.union([z.object({
237
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
238
+ }), z.object({
239
+ 'mode': z.literal("value"),
240
+ 'value': z.string(),
241
+ })]),
242
+ 'effort': z.union([z.object({
243
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
244
+ }), z.object({
245
+ 'mode': z.literal("value"),
246
+ 'value': z.string(),
247
+ })]),
248
+ }),
249
+ 'resolved': z.object({
250
+ 'model': z.string().optional(),
251
+ 'effort': z.string().optional(),
252
+ }),
253
+ }),
254
+ 'pending': z.object({
255
+ 'revision': z.number(),
256
+ 'requestId': z.string(),
257
+ 'kind': z.union([z.literal("selection"), z.literal("cancel")]),
258
+ 'selection': z.object({
259
+ 'model': z.union([z.object({
260
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
261
+ }), z.object({
262
+ 'mode': z.literal("value"),
263
+ 'value': z.string(),
264
+ })]),
265
+ 'effort': z.union([z.object({
266
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
267
+ }), z.object({
268
+ 'mode': z.literal("value"),
269
+ 'value': z.string(),
270
+ })]),
271
+ }),
272
+ }).optional(),
273
+ 'operation': z.intersection(z.object({
274
+ 'revision': z.number(),
275
+ 'requestId': z.string(),
276
+ 'kind': z.union([z.literal("selection"), z.literal("cancel")]),
277
+ 'selection': z.object({
278
+ 'model': z.union([z.object({
279
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
280
+ }), z.object({
281
+ 'mode': z.literal("value"),
282
+ 'value': z.string(),
283
+ })]),
284
+ 'effort': z.union([z.object({
285
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
286
+ }), z.object({
287
+ 'mode': z.literal("value"),
288
+ 'value': z.string(),
289
+ })]),
290
+ }),
291
+ }), z.object({
292
+ 'previous': z.object({
293
+ 'revision': z.number(),
294
+ 'selection': z.object({
295
+ 'model': z.union([z.object({
296
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
297
+ }), z.object({
298
+ 'mode': z.literal("value"),
299
+ 'value': z.string(),
300
+ })]),
301
+ 'effort': z.union([z.object({
302
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
303
+ }), z.object({
304
+ 'mode': z.literal("value"),
305
+ 'value': z.string(),
306
+ })]),
307
+ }),
308
+ 'resolved': z.object({
309
+ 'model': z.string().optional(),
310
+ 'effort': z.string().optional(),
311
+ }),
312
+ }),
313
+ })).optional(),
314
+ 'status': z.union([z.literal("idle"), z.literal("pending"), z.literal("applying"), z.literal("reconciling"), z.literal("failed")]),
315
+ 'round': z.object({
316
+ 'id': z.string(),
317
+ 'configuration': z.object({
318
+ 'revision': z.number(),
319
+ 'selection': z.object({
320
+ 'model': z.union([z.object({
321
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
322
+ }), z.object({
323
+ 'mode': z.literal("value"),
324
+ 'value': z.string(),
325
+ })]),
326
+ 'effort': z.union([z.object({
327
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
328
+ }), z.object({
329
+ 'mode': z.literal("value"),
330
+ 'value': z.string(),
331
+ })]),
332
+ }),
333
+ 'resolved': z.object({
334
+ 'model': z.string().optional(),
335
+ 'effort': z.string().optional(),
336
+ }),
337
+ }),
338
+ }).optional(),
339
+ 'lockedReason': z.string().optional(),
340
+ 'frozen': z.object({
341
+ 'revision': z.number(),
342
+ 'selection': z.object({
343
+ 'model': z.union([z.object({
344
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
345
+ }), z.object({
346
+ 'mode': z.literal("value"),
347
+ 'value': z.string(),
348
+ })]),
349
+ 'effort': z.union([z.object({
350
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
351
+ }), z.object({
352
+ 'mode': z.literal("value"),
353
+ 'value': z.string(),
354
+ })]),
355
+ }),
356
+ 'resolved': z.object({
357
+ 'model': z.string().optional(),
358
+ 'effort': z.string().optional(),
359
+ }),
360
+ }).optional(),
361
+ 'error': z.string().optional(),
362
+ }),
363
+ }), z.object({
364
+ 'memberId': z.string(),
365
+ 'channel': z.literal("directory"),
366
+ 'value': z.object({
367
+ 'status': z.union([z.literal("loading"), z.literal("ready"), z.literal("stale"), z.literal("error"), z.literal("unsupported")]),
368
+ 'refreshing': z.boolean(),
369
+ 'revision': z.number(),
370
+ 'refreshedAt': z.number().optional(),
371
+ 'entries': z.array(z.object({
372
+ 'value': z.string(),
373
+ 'label': z.string(),
374
+ 'resolvedModel': z.string().optional(),
375
+ 'description': z.string().optional(),
376
+ 'source': z.union([z.literal("configuration"), z.literal("native"), z.literal("history")]),
377
+ 'hidden': z.boolean().optional(),
378
+ 'reasoning': z.object({
379
+ 'options': z.array(z.object({
380
+ 'value': z.string(),
381
+ 'label': z.string(),
382
+ 'description': z.string().optional(),
383
+ })),
384
+ 'default': z.string().optional(),
385
+ }).optional(),
386
+ })),
387
+ 'defaultModel': z.string().optional(),
388
+ 'complete': z.boolean(),
389
+ 'customInput': z.boolean(),
390
+ 'unsupported': z.boolean().optional(),
391
+ 'reason': z.string().optional(),
392
+ }),
393
+ }), z.object({
394
+ 'memberId': z.string(),
395
+ 'channel': z.literal("output"),
396
+ 'value': z.object({
397
+ 'baseline': z.boolean(),
398
+ 'updates': z.array(z.intersection(z.object({
399
+ 'id': z.string(),
400
+ 'turn': z.number(),
401
+ 'step': z.number(),
402
+ 'kind': z.union([z.literal("think"), z.literal("text")]),
403
+ 'text': z.string(),
404
+ 'revision': z.number(),
405
+ 'receivedAt': z.number(),
406
+ }), z.object({
407
+ 'append': z.boolean(),
408
+ }))),
409
+ 'removed': z.array(z.string()),
410
+ }),
411
+ }), z.object({
412
+ 'memberId': z.string(),
413
+ 'channel': z.literal("error"),
414
+ 'source': z.union([z.literal("configuration"), z.literal("directory"), z.literal("output")]),
415
+ 'message': z.string(),
416
+ })]))
417
+ let _khorsheed_dsh_local_agent_localAgentGateway_followModelDirectory_parameter_0$schema$value
418
+ const _khorsheed_dsh_local_agent_localAgentGateway_followModelDirectory_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_followModelDirectory_parameter_0$schema$value ??= z.string())
419
+ let _khorsheed_dsh_local_agent_localAgentGateway_followModelDirectory_parameter_1$schema$value
420
+ const _khorsheed_dsh_local_agent_localAgentGateway_followModelDirectory_parameter_1$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_followModelDirectory_parameter_1$schema$value ??= z.union([z.undefined(), z.string()]))
421
+ let _khorsheed_dsh_local_agent_localAgentGateway_followModelDirectory_result$schema$value
422
+ const _khorsheed_dsh_local_agent_localAgentGateway_followModelDirectory_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_followModelDirectory_result$schema$value ??= z.object({
423
+ 'status': z.union([z.literal("loading"), z.literal("ready"), z.literal("stale"), z.literal("error"), z.literal("unsupported")]),
424
+ 'refreshing': z.boolean(),
425
+ 'revision': z.number(),
426
+ 'refreshedAt': z.number().optional(),
427
+ 'entries': z.array(z.object({
428
+ 'value': z.string(),
429
+ 'label': z.string(),
430
+ 'resolvedModel': z.string().optional(),
431
+ 'description': z.string().optional(),
432
+ 'source': z.union([z.literal("configuration"), z.literal("native"), z.literal("history")]),
433
+ 'hidden': z.boolean().optional(),
434
+ 'reasoning': z.object({
435
+ 'options': z.array(z.object({
436
+ 'value': z.string(),
437
+ 'label': z.string(),
438
+ 'description': z.string().optional(),
439
+ })),
440
+ 'default': z.string().optional(),
441
+ }).optional(),
442
+ })),
443
+ 'defaultModel': z.string().optional(),
444
+ 'complete': z.boolean(),
445
+ 'customInput': z.boolean(),
446
+ 'unsupported': z.boolean().optional(),
447
+ 'reason': z.string().optional(),
448
+ }))
449
+ let _khorsheed_dsh_local_agent_localAgentGateway_harnessModel_parameter_0$schema$value
450
+ const _khorsheed_dsh_local_agent_localAgentGateway_harnessModel_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_harnessModel_parameter_0$schema$value ??= z.string())
451
+ let _khorsheed_dsh_local_agent_localAgentGateway_harnessModel_result$schema$value
452
+ const _khorsheed_dsh_local_agent_localAgentGateway_harnessModel_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_harnessModel_result$schema$value ??= z.union([z.literal(null), z.object({
453
+ 'configuration': z.object({
454
+ 'memberId': z.string(),
455
+ 'revision': z.number(),
456
+ 'current': z.object({
457
+ 'revision': z.number(),
458
+ 'selection': z.object({
459
+ 'model': z.union([z.object({
460
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
461
+ }), z.object({
462
+ 'mode': z.literal("value"),
463
+ 'value': z.string(),
464
+ })]),
465
+ 'effort': z.union([z.object({
466
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
467
+ }), z.object({
468
+ 'mode': z.literal("value"),
469
+ 'value': z.string(),
470
+ })]),
471
+ }),
472
+ 'resolved': z.object({
473
+ 'model': z.string().optional(),
474
+ 'effort': z.string().optional(),
475
+ }),
476
+ }),
477
+ 'pending': z.object({
478
+ 'revision': z.number(),
479
+ 'requestId': z.string(),
480
+ 'kind': z.union([z.literal("selection"), z.literal("cancel")]),
481
+ 'selection': z.object({
482
+ 'model': z.union([z.object({
483
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
484
+ }), z.object({
485
+ 'mode': z.literal("value"),
486
+ 'value': z.string(),
487
+ })]),
488
+ 'effort': z.union([z.object({
489
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
490
+ }), z.object({
491
+ 'mode': z.literal("value"),
492
+ 'value': z.string(),
493
+ })]),
494
+ }),
495
+ }).optional(),
496
+ 'operation': z.intersection(z.object({
497
+ 'revision': z.number(),
498
+ 'requestId': z.string(),
499
+ 'kind': z.union([z.literal("selection"), z.literal("cancel")]),
500
+ 'selection': z.object({
501
+ 'model': z.union([z.object({
502
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
503
+ }), z.object({
504
+ 'mode': z.literal("value"),
505
+ 'value': z.string(),
506
+ })]),
507
+ 'effort': z.union([z.object({
508
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
509
+ }), z.object({
510
+ 'mode': z.literal("value"),
511
+ 'value': z.string(),
512
+ })]),
513
+ }),
514
+ }), z.object({
515
+ 'previous': z.object({
516
+ 'revision': z.number(),
517
+ 'selection': z.object({
518
+ 'model': z.union([z.object({
519
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
520
+ }), z.object({
521
+ 'mode': z.literal("value"),
522
+ 'value': z.string(),
523
+ })]),
524
+ 'effort': z.union([z.object({
525
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
526
+ }), z.object({
527
+ 'mode': z.literal("value"),
528
+ 'value': z.string(),
529
+ })]),
530
+ }),
531
+ 'resolved': z.object({
532
+ 'model': z.string().optional(),
533
+ 'effort': z.string().optional(),
534
+ }),
535
+ }),
536
+ })).optional(),
537
+ 'status': z.union([z.literal("idle"), z.literal("pending"), z.literal("applying"), z.literal("reconciling"), z.literal("failed")]),
538
+ 'round': z.object({
539
+ 'id': z.string(),
540
+ 'configuration': z.object({
541
+ 'revision': z.number(),
542
+ 'selection': z.object({
543
+ 'model': z.union([z.object({
544
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
545
+ }), z.object({
546
+ 'mode': z.literal("value"),
547
+ 'value': z.string(),
548
+ })]),
549
+ 'effort': z.union([z.object({
550
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
551
+ }), z.object({
552
+ 'mode': z.literal("value"),
553
+ 'value': z.string(),
554
+ })]),
555
+ }),
556
+ 'resolved': z.object({
557
+ 'model': z.string().optional(),
558
+ 'effort': z.string().optional(),
559
+ }),
560
+ }),
561
+ }).optional(),
562
+ 'lockedReason': z.string().optional(),
563
+ 'frozen': z.object({
564
+ 'revision': z.number(),
565
+ 'selection': z.object({
566
+ 'model': z.union([z.object({
567
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
568
+ }), z.object({
569
+ 'mode': z.literal("value"),
570
+ 'value': z.string(),
571
+ })]),
572
+ 'effort': z.union([z.object({
573
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
574
+ }), z.object({
575
+ 'mode': z.literal("value"),
576
+ 'value': z.string(),
577
+ })]),
578
+ }),
579
+ 'resolved': z.object({
580
+ 'model': z.string().optional(),
581
+ 'effort': z.string().optional(),
582
+ }),
583
+ }).optional(),
584
+ 'error': z.string().optional(),
585
+ }).optional(),
586
+ 'effective': z.string().optional(),
587
+ 'source': z.union([z.literal("override"), z.literal("delegation"), z.literal("settings"), z.literal("cli-config"), z.literal("cli-builtin")]),
588
+ 'override': z.string().optional(),
589
+ 'delegation': z.string().optional(),
590
+ 'settings': z.string().optional(),
591
+ 'cliDefault': z.string().optional(),
592
+ 'lastObserved': z.string().optional(),
593
+ 'choices': z.array(z.string()),
594
+ 'directory': z.object({
595
+ 'status': z.union([z.literal("loading"), z.literal("ready"), z.literal("stale"), z.literal("error"), z.literal("unsupported")]),
596
+ 'refreshing': z.boolean(),
597
+ 'revision': z.number(),
598
+ 'refreshedAt': z.number().optional(),
599
+ 'entries': z.array(z.object({
600
+ 'value': z.string(),
601
+ 'label': z.string(),
602
+ 'resolvedModel': z.string().optional(),
603
+ 'description': z.string().optional(),
604
+ 'source': z.union([z.literal("configuration"), z.literal("native"), z.literal("history")]),
605
+ 'hidden': z.boolean().optional(),
606
+ 'reasoning': z.object({
607
+ 'options': z.array(z.object({
608
+ 'value': z.string(),
609
+ 'label': z.string(),
610
+ 'description': z.string().optional(),
611
+ })),
612
+ 'default': z.string().optional(),
613
+ }).optional(),
614
+ })),
615
+ 'defaultModel': z.string().optional(),
616
+ 'complete': z.boolean(),
617
+ 'customInput': z.boolean(),
618
+ 'unsupported': z.boolean().optional(),
619
+ 'reason': z.string().optional(),
620
+ }).optional(),
621
+ 'live': z.boolean(),
622
+ 'switchable': z.boolean(),
623
+ 'reason': z.string().optional(),
624
+ })]))
625
+ let _khorsheed_dsh_local_agent_localAgentGateway_memberConfiguration_parameter_0$schema$value
626
+ const _khorsheed_dsh_local_agent_localAgentGateway_memberConfiguration_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_memberConfiguration_parameter_0$schema$value ??= z.string())
627
+ let _khorsheed_dsh_local_agent_localAgentGateway_memberConfiguration_result$schema$value
628
+ const _khorsheed_dsh_local_agent_localAgentGateway_memberConfiguration_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_memberConfiguration_result$schema$value ??= z.object({
629
+ 'memberId': z.string(),
630
+ 'revision': z.number(),
631
+ 'current': z.object({
632
+ 'revision': z.number(),
633
+ 'selection': z.object({
634
+ 'model': z.union([z.object({
635
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
636
+ }), z.object({
637
+ 'mode': z.literal("value"),
638
+ 'value': z.string(),
639
+ })]),
640
+ 'effort': z.union([z.object({
641
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
642
+ }), z.object({
643
+ 'mode': z.literal("value"),
644
+ 'value': z.string(),
645
+ })]),
646
+ }),
647
+ 'resolved': z.object({
648
+ 'model': z.string().optional(),
649
+ 'effort': z.string().optional(),
650
+ }),
651
+ }),
652
+ 'pending': z.object({
653
+ 'revision': z.number(),
654
+ 'requestId': z.string(),
655
+ 'kind': z.union([z.literal("selection"), z.literal("cancel")]),
656
+ 'selection': z.object({
657
+ 'model': z.union([z.object({
658
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
659
+ }), z.object({
660
+ 'mode': z.literal("value"),
661
+ 'value': z.string(),
662
+ })]),
663
+ 'effort': z.union([z.object({
664
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
665
+ }), z.object({
666
+ 'mode': z.literal("value"),
667
+ 'value': z.string(),
668
+ })]),
669
+ }),
670
+ }).optional(),
671
+ 'operation': z.intersection(z.object({
672
+ 'revision': z.number(),
673
+ 'requestId': z.string(),
674
+ 'kind': z.union([z.literal("selection"), z.literal("cancel")]),
675
+ 'selection': z.object({
676
+ 'model': z.union([z.object({
677
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
678
+ }), z.object({
679
+ 'mode': z.literal("value"),
680
+ 'value': z.string(),
681
+ })]),
682
+ 'effort': z.union([z.object({
683
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
684
+ }), z.object({
685
+ 'mode': z.literal("value"),
686
+ 'value': z.string(),
687
+ })]),
688
+ }),
689
+ }), z.object({
690
+ 'previous': z.object({
691
+ 'revision': z.number(),
692
+ 'selection': z.object({
693
+ 'model': z.union([z.object({
694
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
695
+ }), z.object({
696
+ 'mode': z.literal("value"),
697
+ 'value': z.string(),
698
+ })]),
699
+ 'effort': z.union([z.object({
700
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
701
+ }), z.object({
702
+ 'mode': z.literal("value"),
703
+ 'value': z.string(),
704
+ })]),
705
+ }),
706
+ 'resolved': z.object({
707
+ 'model': z.string().optional(),
708
+ 'effort': z.string().optional(),
709
+ }),
710
+ }),
711
+ })).optional(),
712
+ 'status': z.union([z.literal("idle"), z.literal("pending"), z.literal("applying"), z.literal("reconciling"), z.literal("failed")]),
713
+ 'round': z.object({
714
+ 'id': z.string(),
715
+ 'configuration': z.object({
716
+ 'revision': z.number(),
717
+ 'selection': z.object({
718
+ 'model': z.union([z.object({
719
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
720
+ }), z.object({
721
+ 'mode': z.literal("value"),
722
+ 'value': z.string(),
723
+ })]),
724
+ 'effort': z.union([z.object({
725
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
726
+ }), z.object({
727
+ 'mode': z.literal("value"),
728
+ 'value': z.string(),
729
+ })]),
730
+ }),
731
+ 'resolved': z.object({
732
+ 'model': z.string().optional(),
733
+ 'effort': z.string().optional(),
734
+ }),
735
+ }),
736
+ }).optional(),
737
+ 'lockedReason': z.string().optional(),
738
+ 'frozen': z.object({
739
+ 'revision': z.number(),
740
+ 'selection': z.object({
741
+ 'model': z.union([z.object({
742
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
743
+ }), z.object({
744
+ 'mode': z.literal("value"),
745
+ 'value': z.string(),
746
+ })]),
747
+ 'effort': z.union([z.object({
748
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
749
+ }), z.object({
750
+ 'mode': z.literal("value"),
751
+ 'value': z.string(),
752
+ })]),
753
+ }),
754
+ 'resolved': z.object({
755
+ 'model': z.string().optional(),
756
+ 'effort': z.string().optional(),
757
+ }),
758
+ }).optional(),
759
+ 'error': z.string().optional(),
760
+ }))
761
+ let _khorsheed_dsh_local_agent_localAgentGateway_memberDirectory_parameter_0$schema$value
762
+ const _khorsheed_dsh_local_agent_localAgentGateway_memberDirectory_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_memberDirectory_parameter_0$schema$value ??= z.string())
763
+ let _khorsheed_dsh_local_agent_localAgentGateway_memberDirectory_parameter_1$schema$value
764
+ const _khorsheed_dsh_local_agent_localAgentGateway_memberDirectory_parameter_1$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_memberDirectory_parameter_1$schema$value ??= z.boolean())
765
+ let _khorsheed_dsh_local_agent_localAgentGateway_memberDirectory_result$schema$value
766
+ const _khorsheed_dsh_local_agent_localAgentGateway_memberDirectory_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_memberDirectory_result$schema$value ??= z.union([z.literal(null), z.object({
767
+ 'status': z.union([z.literal("loading"), z.literal("ready"), z.literal("stale"), z.literal("error"), z.literal("unsupported")]),
768
+ 'refreshing': z.boolean(),
769
+ 'revision': z.number(),
770
+ 'refreshedAt': z.number().optional(),
771
+ 'entries': z.array(z.object({
772
+ 'value': z.string(),
773
+ 'label': z.string(),
774
+ 'resolvedModel': z.string().optional(),
775
+ 'description': z.string().optional(),
776
+ 'source': z.union([z.literal("configuration"), z.literal("native"), z.literal("history")]),
777
+ 'hidden': z.boolean().optional(),
778
+ 'reasoning': z.object({
779
+ 'options': z.array(z.object({
780
+ 'value': z.string(),
781
+ 'label': z.string(),
782
+ 'description': z.string().optional(),
783
+ })),
784
+ 'default': z.string().optional(),
785
+ }).optional(),
786
+ })),
787
+ 'defaultModel': z.string().optional(),
788
+ 'complete': z.boolean(),
789
+ 'customInput': z.boolean(),
790
+ 'unsupported': z.boolean().optional(),
791
+ 'reason': z.string().optional(),
792
+ })]))
793
+ let _khorsheed_dsh_local_agent_localAgentGateway_memberInbox_parameter_0$schema$value
794
+ const _khorsheed_dsh_local_agent_localAgentGateway_memberInbox_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_memberInbox_parameter_0$schema$value ??= z.string())
795
+ let _khorsheed_dsh_local_agent_localAgentGateway_memberInbox_result$schema$value
796
+ const _khorsheed_dsh_local_agent_localAgentGateway_memberInbox_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_memberInbox_result$schema$value ??= z.object({
797
+ 'memberId': z.string(),
798
+ 'paused': z.boolean(),
799
+ 'error': z.string().optional(),
800
+ 'messages': z.array(z.object({
801
+ 'id': z.string(),
802
+ 'text': z.string(),
803
+ 'status': z.union([z.literal("failed"), z.literal("cancelled"), z.literal("queued"), z.literal("running"), z.literal("done"), z.literal("uncertain")]),
804
+ 'createdAt': z.number(),
805
+ 'updatedAt': z.number(),
806
+ 'error': z.string().optional(),
807
+ })),
808
+ }))
809
+ let _khorsheed_dsh_local_agent_localAgentGateway_memberModel_parameter_0$schema$value
810
+ const _khorsheed_dsh_local_agent_localAgentGateway_memberModel_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_memberModel_parameter_0$schema$value ??= z.string())
811
+ let _khorsheed_dsh_local_agent_localAgentGateway_memberModel_result$schema$value
812
+ const _khorsheed_dsh_local_agent_localAgentGateway_memberModel_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_memberModel_result$schema$value ??= z.union([z.literal(null), z.object({
813
+ 'configuration': z.object({
814
+ 'memberId': z.string(),
815
+ 'revision': z.number(),
816
+ 'current': z.object({
817
+ 'revision': z.number(),
818
+ 'selection': z.object({
819
+ 'model': z.union([z.object({
820
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
821
+ }), z.object({
822
+ 'mode': z.literal("value"),
823
+ 'value': z.string(),
824
+ })]),
825
+ 'effort': z.union([z.object({
826
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
827
+ }), z.object({
828
+ 'mode': z.literal("value"),
829
+ 'value': z.string(),
830
+ })]),
831
+ }),
832
+ 'resolved': z.object({
833
+ 'model': z.string().optional(),
834
+ 'effort': z.string().optional(),
835
+ }),
836
+ }),
837
+ 'pending': z.object({
838
+ 'revision': z.number(),
839
+ 'requestId': z.string(),
840
+ 'kind': z.union([z.literal("selection"), z.literal("cancel")]),
841
+ 'selection': z.object({
842
+ 'model': z.union([z.object({
843
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
844
+ }), z.object({
845
+ 'mode': z.literal("value"),
846
+ 'value': z.string(),
847
+ })]),
848
+ 'effort': z.union([z.object({
849
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
850
+ }), z.object({
851
+ 'mode': z.literal("value"),
852
+ 'value': z.string(),
853
+ })]),
854
+ }),
855
+ }).optional(),
856
+ 'operation': z.intersection(z.object({
857
+ 'revision': z.number(),
858
+ 'requestId': z.string(),
859
+ 'kind': z.union([z.literal("selection"), z.literal("cancel")]),
860
+ 'selection': z.object({
861
+ 'model': z.union([z.object({
862
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
863
+ }), z.object({
864
+ 'mode': z.literal("value"),
865
+ 'value': z.string(),
866
+ })]),
867
+ 'effort': z.union([z.object({
868
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
869
+ }), z.object({
870
+ 'mode': z.literal("value"),
871
+ 'value': z.string(),
872
+ })]),
873
+ }),
874
+ }), z.object({
875
+ 'previous': z.object({
876
+ 'revision': z.number(),
877
+ 'selection': z.object({
878
+ 'model': z.union([z.object({
879
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
880
+ }), z.object({
881
+ 'mode': z.literal("value"),
882
+ 'value': z.string(),
883
+ })]),
884
+ 'effort': z.union([z.object({
885
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
886
+ }), z.object({
887
+ 'mode': z.literal("value"),
888
+ 'value': z.string(),
889
+ })]),
890
+ }),
891
+ 'resolved': z.object({
892
+ 'model': z.string().optional(),
893
+ 'effort': z.string().optional(),
894
+ }),
895
+ }),
896
+ })).optional(),
897
+ 'status': z.union([z.literal("idle"), z.literal("pending"), z.literal("applying"), z.literal("reconciling"), z.literal("failed")]),
898
+ 'round': z.object({
899
+ 'id': z.string(),
900
+ 'configuration': z.object({
901
+ 'revision': z.number(),
902
+ 'selection': z.object({
903
+ 'model': z.union([z.object({
904
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
905
+ }), z.object({
906
+ 'mode': z.literal("value"),
907
+ 'value': z.string(),
908
+ })]),
909
+ 'effort': z.union([z.object({
910
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
911
+ }), z.object({
912
+ 'mode': z.literal("value"),
913
+ 'value': z.string(),
914
+ })]),
915
+ }),
916
+ 'resolved': z.object({
917
+ 'model': z.string().optional(),
918
+ 'effort': z.string().optional(),
919
+ }),
920
+ }),
921
+ }).optional(),
922
+ 'lockedReason': z.string().optional(),
923
+ 'frozen': z.object({
924
+ 'revision': z.number(),
925
+ 'selection': z.object({
926
+ 'model': z.union([z.object({
927
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
928
+ }), z.object({
929
+ 'mode': z.literal("value"),
930
+ 'value': z.string(),
931
+ })]),
932
+ 'effort': z.union([z.object({
933
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
934
+ }), z.object({
935
+ 'mode': z.literal("value"),
936
+ 'value': z.string(),
937
+ })]),
938
+ }),
939
+ 'resolved': z.object({
940
+ 'model': z.string().optional(),
941
+ 'effort': z.string().optional(),
942
+ }),
943
+ }).optional(),
944
+ 'error': z.string().optional(),
945
+ }).optional(),
946
+ 'effective': z.string().optional(),
947
+ 'source': z.union([z.literal("override"), z.literal("delegation"), z.literal("settings"), z.literal("cli-config"), z.literal("cli-builtin")]),
948
+ 'override': z.string().optional(),
949
+ 'delegation': z.string().optional(),
950
+ 'settings': z.string().optional(),
951
+ 'cliDefault': z.string().optional(),
952
+ 'lastObserved': z.string().optional(),
953
+ 'choices': z.array(z.string()),
954
+ 'directory': z.object({
955
+ 'status': z.union([z.literal("loading"), z.literal("ready"), z.literal("stale"), z.literal("error"), z.literal("unsupported")]),
956
+ 'refreshing': z.boolean(),
957
+ 'revision': z.number(),
958
+ 'refreshedAt': z.number().optional(),
959
+ 'entries': z.array(z.object({
960
+ 'value': z.string(),
961
+ 'label': z.string(),
962
+ 'resolvedModel': z.string().optional(),
963
+ 'description': z.string().optional(),
964
+ 'source': z.union([z.literal("configuration"), z.literal("native"), z.literal("history")]),
965
+ 'hidden': z.boolean().optional(),
966
+ 'reasoning': z.object({
967
+ 'options': z.array(z.object({
968
+ 'value': z.string(),
969
+ 'label': z.string(),
970
+ 'description': z.string().optional(),
971
+ })),
972
+ 'default': z.string().optional(),
973
+ }).optional(),
974
+ })),
975
+ 'defaultModel': z.string().optional(),
976
+ 'complete': z.boolean(),
977
+ 'customInput': z.boolean(),
978
+ 'unsupported': z.boolean().optional(),
979
+ 'reason': z.string().optional(),
980
+ }).optional(),
981
+ 'live': z.boolean(),
982
+ 'switchable': z.boolean(),
983
+ 'reason': z.string().optional(),
984
+ })]))
985
+ let _khorsheed_dsh_local_agent_localAgentGateway_memberOf_parameter_0$schema$value
986
+ const _khorsheed_dsh_local_agent_localAgentGateway_memberOf_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_memberOf_parameter_0$schema$value ??= z.string())
987
+ let _khorsheed_dsh_local_agent_localAgentGateway_memberOf_result$schema$value
988
+ const _khorsheed_dsh_local_agent_localAgentGateway_memberOf_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_memberOf_result$schema$value ??= z.union([z.literal(null), z.object({
989
+ 'childSessionId': z.string(),
990
+ 'provider': z.string(),
991
+ 'parentSessionId': z.string(),
992
+ 'harnessDisplayName': z.string().optional(),
993
+ })]))
994
+ let _khorsheed_dsh_local_agent_localAgentGateway_modelDirectory_parameter_0$schema$value
995
+ const _khorsheed_dsh_local_agent_localAgentGateway_modelDirectory_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_modelDirectory_parameter_0$schema$value ??= z.string())
996
+ let _khorsheed_dsh_local_agent_localAgentGateway_modelDirectory_parameter_1$schema$value
997
+ const _khorsheed_dsh_local_agent_localAgentGateway_modelDirectory_parameter_1$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_modelDirectory_parameter_1$schema$value ??= z.union([z.undefined(), z.string()]))
998
+ let _khorsheed_dsh_local_agent_localAgentGateway_modelDirectory_parameter_2$schema$value
999
+ const _khorsheed_dsh_local_agent_localAgentGateway_modelDirectory_parameter_2$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_modelDirectory_parameter_2$schema$value ??= z.boolean())
1000
+ let _khorsheed_dsh_local_agent_localAgentGateway_modelDirectory_result$schema$value
1001
+ const _khorsheed_dsh_local_agent_localAgentGateway_modelDirectory_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_modelDirectory_result$schema$value ??= z.union([z.literal(null), z.object({
1002
+ 'status': z.union([z.literal("loading"), z.literal("ready"), z.literal("stale"), z.literal("error"), z.literal("unsupported")]),
1003
+ 'refreshing': z.boolean(),
1004
+ 'revision': z.number(),
1005
+ 'refreshedAt': z.number().optional(),
1006
+ 'entries': z.array(z.object({
1007
+ 'value': z.string(),
1008
+ 'label': z.string(),
1009
+ 'resolvedModel': z.string().optional(),
1010
+ 'description': z.string().optional(),
1011
+ 'source': z.union([z.literal("configuration"), z.literal("native"), z.literal("history")]),
1012
+ 'hidden': z.boolean().optional(),
1013
+ 'reasoning': z.object({
1014
+ 'options': z.array(z.object({
1015
+ 'value': z.string(),
1016
+ 'label': z.string(),
1017
+ 'description': z.string().optional(),
1018
+ })),
1019
+ 'default': z.string().optional(),
1020
+ }).optional(),
1021
+ })),
1022
+ 'defaultModel': z.string().optional(),
1023
+ 'complete': z.boolean(),
1024
+ 'customInput': z.boolean(),
1025
+ 'unsupported': z.boolean().optional(),
1026
+ 'reason': z.string().optional(),
1027
+ })]))
1028
+ let _khorsheed_dsh_local_agent_localAgentGateway_promptMember_parameter_0$schema$value
1029
+ const _khorsheed_dsh_local_agent_localAgentGateway_promptMember_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_promptMember_parameter_0$schema$value ??= z.string())
1030
+ let _khorsheed_dsh_local_agent_localAgentGateway_promptMember_parameter_1$schema$value
1031
+ const _khorsheed_dsh_local_agent_localAgentGateway_promptMember_parameter_1$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_promptMember_parameter_1$schema$value ??= z.string())
1032
+ let _khorsheed_dsh_local_agent_localAgentGateway_promptMember_parameter_2$schema$value
1033
+ const _khorsheed_dsh_local_agent_localAgentGateway_promptMember_parameter_2$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_promptMember_parameter_2$schema$value ??= z.union([z.undefined(), z.string()]))
1034
+ let _khorsheed_dsh_local_agent_localAgentGateway_promptMember_result$schema$value
1035
+ const _khorsheed_dsh_local_agent_localAgentGateway_promptMember_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_promptMember_result$schema$value ??= z.union([z.object({
1036
+ 'ok': z.literal(true),
1037
+ 'requestId': z.string().optional(),
1038
+ }), z.object({
1039
+ 'ok': z.literal(false),
1040
+ 'error': z.string(),
1041
+ })]))
1042
+ let _khorsheed_dsh_local_agent_localAgentGateway_retryMemberConfiguration_parameter_0$schema$value
1043
+ const _khorsheed_dsh_local_agent_localAgentGateway_retryMemberConfiguration_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_retryMemberConfiguration_parameter_0$schema$value ??= z.string())
1044
+ let _khorsheed_dsh_local_agent_localAgentGateway_retryMemberConfiguration_parameter_1$schema$value
1045
+ const _khorsheed_dsh_local_agent_localAgentGateway_retryMemberConfiguration_parameter_1$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_retryMemberConfiguration_parameter_1$schema$value ??= z.number())
1046
+ let _khorsheed_dsh_local_agent_localAgentGateway_retryMemberConfiguration_result$schema$value
1047
+ const _khorsheed_dsh_local_agent_localAgentGateway_retryMemberConfiguration_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_retryMemberConfiguration_result$schema$value ??= z.void())
1048
+ let _khorsheed_dsh_local_agent_localAgentGateway_roster_result$schema$value
1049
+ const _khorsheed_dsh_local_agent_localAgentGateway_roster_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_roster_result$schema$value ??= z.array(z.object({
1050
+ 'name': z.string(),
1051
+ 'displayName': z.string(),
1052
+ })))
1053
+ let _khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_parameter_0$schema$value
1054
+ const _khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_parameter_0$schema$value ??= z.string())
1055
+ let _khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_parameter_1$schema$value
1056
+ const _khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_parameter_1$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_parameter_1$schema$value ??= z.string())
1057
+ let _khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_parameter_2$schema$value
1058
+ const _khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_parameter_2$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_parameter_2$schema$value ??= z.number())
1059
+ let _khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_parameter_3$schema$value
1060
+ const _khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_parameter_3$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_parameter_3$schema$value ??= z.object({
1061
+ 'model': z.union([z.object({
1062
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
1063
+ }), z.object({
1064
+ 'mode': z.literal("value"),
1065
+ 'value': z.string(),
1066
+ })]),
1067
+ 'effort': z.union([z.object({
1068
+ 'mode': z.union([z.literal("inherit"), z.literal("default")]),
1069
+ }), z.object({
1070
+ 'mode': z.literal("value"),
1071
+ 'value': z.string(),
1072
+ })]),
1073
+ }))
1074
+ let _khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_result$schema$value
1075
+ const _khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_result$schema$value ??= z.object({
1076
+ 'requestId': z.string(),
1077
+ 'revision': z.number(),
1078
+ 'status': z.union([z.literal("pending"), z.literal("applying"), z.literal("failed"), z.literal("unsupported"), z.literal("applied"), z.literal("cancelled"), z.literal("conflict"), z.literal("locked")]),
1079
+ 'error': z.string().optional(),
1080
+ }))
1081
+ let _khorsheed_dsh_local_agent_localAgentGateway_sessions_parameter_0$schema$value
1082
+ const _khorsheed_dsh_local_agent_localAgentGateway_sessions_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_sessions_parameter_0$schema$value ??= z.string())
1083
+ let _khorsheed_dsh_local_agent_localAgentGateway_sessions_parameter_1$schema$value
1084
+ const _khorsheed_dsh_local_agent_localAgentGateway_sessions_parameter_1$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_sessions_parameter_1$schema$value ??= z.union([z.undefined(), z.string()]))
1085
+ let _khorsheed_dsh_local_agent_localAgentGateway_sessions_result$schema$value
1086
+ const _khorsheed_dsh_local_agent_localAgentGateway_sessions_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_sessions_result$schema$value ??= z.array(z.object({
1087
+ 'id': z.string(),
1088
+ 'workDir': z.string(),
1089
+ 'title': z.string().optional(),
1090
+ 'startedAt': z.number().optional(),
1091
+ })))
1092
+ let _khorsheed_dsh_local_agent_localAgentGateway_setMemberModel_parameter_0$schema$value
1093
+ const _khorsheed_dsh_local_agent_localAgentGateway_setMemberModel_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_setMemberModel_parameter_0$schema$value ??= z.string())
1094
+ let _khorsheed_dsh_local_agent_localAgentGateway_setMemberModel_parameter_1$schema$value
1095
+ const _khorsheed_dsh_local_agent_localAgentGateway_setMemberModel_parameter_1$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_setMemberModel_parameter_1$schema$value ??= z.union([z.undefined(), z.string()]))
1096
+ let _khorsheed_dsh_local_agent_localAgentGateway_setMemberModel_result$schema$value
1097
+ const _khorsheed_dsh_local_agent_localAgentGateway_setMemberModel_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_setMemberModel_result$schema$value ??= z.union([z.object({
1098
+ 'ok': z.literal(true),
1099
+ 'requestId': z.string().optional(),
1100
+ }), z.object({
1101
+ 'ok': z.literal(false),
1102
+ 'error': z.string(),
1103
+ })]))
1104
+ let _khorsheed_dsh_local_agent_localAgentGateway_status_parameter_0$schema$value
1105
+ const _khorsheed_dsh_local_agent_localAgentGateway_status_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_status_parameter_0$schema$value ??= z.string())
1106
+ let _khorsheed_dsh_local_agent_localAgentGateway_status_parameter_1$schema$value
1107
+ const _khorsheed_dsh_local_agent_localAgentGateway_status_parameter_1$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_status_parameter_1$schema$value ??= z.union([z.undefined(), z.string()]))
1108
+ let _khorsheed_dsh_local_agent_localAgentGateway_status_result$schema$value
1109
+ const _khorsheed_dsh_local_agent_localAgentGateway_status_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_status_result$schema$value ??= z.object({
1110
+ 'name': z.string(),
1111
+ 'displayName': z.string(),
1112
+ 'authenticated': z.boolean(),
1113
+ 'credentialState': z.union([z.literal("absent"), z.literal("present-unverified"), z.literal("verified"), z.literal("rejected")]),
1114
+ 'homeDir': z.string(),
1115
+ 'scope': z.string().optional(),
1116
+ 'delegationProvider': z.string().optional(),
1117
+ 'loginable': z.boolean().optional(),
1118
+ 'loginAwaitingCode': z.boolean().optional(),
1119
+ 'logoutable': z.boolean().optional(),
1120
+ 'effectiveSettings': z.object({
1121
+ 'drive': z.union([z.literal("exec"), z.literal("live")]),
1122
+ 'sandbox': z.string().optional(),
1123
+ 'permissionMode': z.string().optional(),
1124
+ 'autoApprove': z.boolean().optional(),
1125
+ 'reasoningEffort': z.string().optional(),
1126
+ 'baseUrlSet': z.boolean(),
1127
+ 'baseUrlHost': z.string().optional(),
1128
+ 'cliVersion': z.string().optional(),
1129
+ 'model': z.string().optional(),
1130
+ 'containerNodeOptions': z.string().optional(),
1131
+ }).optional(),
1132
+ }))
1133
+ let _khorsheed_dsh_local_agent_localAgentGateway_stopMember_parameter_0$schema$value
1134
+ const _khorsheed_dsh_local_agent_localAgentGateway_stopMember_parameter_0$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_stopMember_parameter_0$schema$value ??= z.string())
1135
+ let _khorsheed_dsh_local_agent_localAgentGateway_stopMember_result$schema$value
1136
+ const _khorsheed_dsh_local_agent_localAgentGateway_stopMember_result$schema = () => (_khorsheed_dsh_local_agent_localAgentGateway_stopMember_result$schema$value ??= z.boolean())
1137
+
1138
+ export const TYPERT_REMOTE = {
1139
+ package: '@khorsheed/dsh-local-agent',
1140
+ descriptors: [
1141
+ {
1142
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/activeDelegations',
1143
+ service: 'localAgentGateway',
1144
+ namespace: 'localAgentGateway',
1145
+ method: 'activeDelegations',
1146
+ invocation: { kind: 'direct' },
1147
+ parameters: [
1148
+ ],
1149
+ result: {
1150
+ mode: 'strict',
1151
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/activeDelegations:result',
1152
+ create: _khorsheed_dsh_local_agent_localAgentGateway_activeDelegations_result$schema,
1153
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_activeDelegations_result$schema(),
1154
+ },
1155
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":173,"column":3},
1156
+ },
1157
+ {
1158
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/cancelMemberConfiguration',
1159
+ service: 'localAgentGateway',
1160
+ namespace: 'localAgentGateway',
1161
+ method: 'cancelMemberConfiguration',
1162
+ invocation: { kind: 'direct' },
1163
+ parameters: [
1164
+ {
1165
+ name: 'childSessionId',
1166
+ wire: 'childSessionId',
1167
+ source: 'json',
1168
+ codec: {
1169
+ mode: 'strict',
1170
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/cancelMemberConfiguration:childSessionId',
1171
+ create: _khorsheed_dsh_local_agent_localAgentGateway_cancelMemberConfiguration_parameter_0$schema,
1172
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_cancelMemberConfiguration_parameter_0$schema(),
1173
+ },
1174
+ },
1175
+ {
1176
+ name: 'requestId',
1177
+ wire: 'requestId',
1178
+ source: 'json',
1179
+ codec: {
1180
+ mode: 'strict',
1181
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/cancelMemberConfiguration:requestId',
1182
+ create: _khorsheed_dsh_local_agent_localAgentGateway_cancelMemberConfiguration_parameter_1$schema,
1183
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_cancelMemberConfiguration_parameter_1$schema(),
1184
+ },
1185
+ },
1186
+ {
1187
+ name: 'expectedRevision',
1188
+ wire: 'expectedRevision',
1189
+ source: 'json',
1190
+ codec: {
1191
+ mode: 'strict',
1192
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/cancelMemberConfiguration:expectedRevision',
1193
+ create: _khorsheed_dsh_local_agent_localAgentGateway_cancelMemberConfiguration_parameter_2$schema,
1194
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_cancelMemberConfiguration_parameter_2$schema(),
1195
+ },
1196
+ },
1197
+ ],
1198
+ result: {
1199
+ mode: 'strict',
1200
+ typeSymbol: '@khorsheed/dsh-local-agent/types#LocalAgentControlReceipt',
1201
+ create: _khorsheed_dsh_local_agent_localAgentGateway_cancelMemberConfiguration_result$schema,
1202
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_cancelMemberConfiguration_result$schema(),
1203
+ },
1204
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":335,"column":9},
1205
+ },
1206
+ {
1207
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/controlMemberInbox',
1208
+ service: 'localAgentGateway',
1209
+ namespace: 'localAgentGateway',
1210
+ method: 'controlMemberInbox',
1211
+ invocation: { kind: 'direct' },
1212
+ parameters: [
1213
+ {
1214
+ name: 'childSessionId',
1215
+ wire: 'childSessionId',
1216
+ source: 'json',
1217
+ codec: {
1218
+ mode: 'strict',
1219
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/controlMemberInbox:childSessionId',
1220
+ create: _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_0$schema,
1221
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_0$schema(),
1222
+ },
1223
+ },
1224
+ {
1225
+ name: 'action',
1226
+ wire: 'action',
1227
+ source: 'json',
1228
+ codec: {
1229
+ mode: 'strict',
1230
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/controlMemberInbox:action',
1231
+ create: _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_1$schema,
1232
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_1$schema(),
1233
+ },
1234
+ },
1235
+ {
1236
+ name: 'requestId',
1237
+ wire: 'requestId',
1238
+ source: 'json',
1239
+ acceptsUndefined: true,
1240
+ codec: {
1241
+ mode: 'strict',
1242
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/controlMemberInbox:requestId',
1243
+ create: _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_2$schema,
1244
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_2$schema(),
1245
+ },
1246
+ },
1247
+ {
1248
+ name: 'outcome',
1249
+ wire: 'outcome',
1250
+ source: 'json',
1251
+ acceptsUndefined: true,
1252
+ codec: {
1253
+ mode: 'strict',
1254
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/controlMemberInbox:outcome',
1255
+ create: _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_3$schema,
1256
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_3$schema(),
1257
+ },
1258
+ },
1259
+ {
1260
+ name: 'evidence',
1261
+ wire: 'evidence',
1262
+ source: 'json',
1263
+ acceptsUndefined: true,
1264
+ codec: {
1265
+ mode: 'strict',
1266
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/controlMemberInbox:evidence',
1267
+ create: _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_4$schema,
1268
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_parameter_4$schema(),
1269
+ },
1270
+ },
1271
+ ],
1272
+ result: {
1273
+ mode: 'strict',
1274
+ typeSymbol: '@khorsheed/dsh-local-agent/types#LocalAgentPromptResult',
1275
+ create: _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_result$schema,
1276
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_controlMemberInbox_result$schema(),
1277
+ },
1278
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":374,"column":3},
1279
+ },
1280
+ {
1281
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/followMemberConfiguration',
1282
+ service: 'localAgentGateway',
1283
+ namespace: 'localAgentGateway',
1284
+ method: 'followMemberConfiguration',
1285
+ mode: 'stream',
1286
+ invocation: { kind: 'direct' },
1287
+ parameters: [
1288
+ {
1289
+ name: 'childSessionId',
1290
+ wire: 'childSessionId',
1291
+ source: 'json',
1292
+ codec: {
1293
+ mode: 'strict',
1294
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/followMemberConfiguration:childSessionId',
1295
+ create: _khorsheed_dsh_local_agent_localAgentGateway_followMemberConfiguration_parameter_0$schema,
1296
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_followMemberConfiguration_parameter_0$schema(),
1297
+ },
1298
+ },
1299
+ ],
1300
+ cancellation: { parameter: 'signal' },
1301
+ result: {
1302
+ mode: 'strict',
1303
+ typeSymbol: '@khorsheed/dsh-local-agent/types#LocalAgentMemberControlState',
1304
+ create: _khorsheed_dsh_local_agent_localAgentGateway_followMemberConfiguration_result$schema,
1305
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_followMemberConfiguration_result$schema(),
1306
+ },
1307
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":345,"column":3},
1308
+ },
1309
+ {
1310
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/followMemberDirectory',
1311
+ service: 'localAgentGateway',
1312
+ namespace: 'localAgentGateway',
1313
+ method: 'followMemberDirectory',
1314
+ mode: 'stream',
1315
+ invocation: { kind: 'direct' },
1316
+ parameters: [
1317
+ {
1318
+ name: 'childSessionId',
1319
+ wire: 'childSessionId',
1320
+ source: 'json',
1321
+ codec: {
1322
+ mode: 'strict',
1323
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/followMemberDirectory:childSessionId',
1324
+ create: _khorsheed_dsh_local_agent_localAgentGateway_followMemberDirectory_parameter_0$schema,
1325
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_followMemberDirectory_parameter_0$schema(),
1326
+ },
1327
+ },
1328
+ ],
1329
+ cancellation: { parameter: 'signal' },
1330
+ result: {
1331
+ mode: 'strict',
1332
+ typeSymbol: '@khorsheed/dsh-local-agent/types#LocalAgentModelDirectory',
1333
+ create: _khorsheed_dsh_local_agent_localAgentGateway_followMemberDirectory_result$schema,
1334
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_followMemberDirectory_result$schema(),
1335
+ },
1336
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":144,"column":10},
1337
+ },
1338
+ {
1339
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/followMemberOutput',
1340
+ service: 'localAgentGateway',
1341
+ namespace: 'localAgentGateway',
1342
+ method: 'followMemberOutput',
1343
+ mode: 'stream',
1344
+ invocation: { kind: 'direct' },
1345
+ parameters: [
1346
+ {
1347
+ name: 'childSessionId',
1348
+ wire: 'childSessionId',
1349
+ source: 'json',
1350
+ codec: {
1351
+ mode: 'strict',
1352
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/followMemberOutput:childSessionId',
1353
+ create: _khorsheed_dsh_local_agent_localAgentGateway_followMemberOutput_parameter_0$schema,
1354
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_followMemberOutput_parameter_0$schema(),
1355
+ },
1356
+ },
1357
+ ],
1358
+ cancellation: { parameter: 'signal' },
1359
+ result: {
1360
+ mode: 'strict',
1361
+ typeSymbol: '@khorsheed/dsh-local-agent/types#LocalAgentStreamFrame',
1362
+ create: _khorsheed_dsh_local_agent_localAgentGateway_followMemberOutput_result$schema,
1363
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_followMemberOutput_result$schema(),
1364
+ },
1365
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":71,"column":3},
1366
+ },
1367
+ {
1368
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/followMembers',
1369
+ service: 'localAgentGateway',
1370
+ namespace: 'localAgentGateway',
1371
+ method: 'followMembers',
1372
+ mode: 'stream',
1373
+ invocation: { kind: 'direct' },
1374
+ parameters: [
1375
+ {
1376
+ name: 'requests',
1377
+ wire: 'requests',
1378
+ source: 'json',
1379
+ codec: {
1380
+ mode: 'strict',
1381
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/followMembers:requests',
1382
+ create: _khorsheed_dsh_local_agent_localAgentGateway_followMembers_parameter_0$schema,
1383
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_followMembers_parameter_0$schema(),
1384
+ },
1385
+ },
1386
+ ],
1387
+ cancellation: { parameter: 'signal' },
1388
+ result: {
1389
+ mode: 'strict',
1390
+ typeSymbol: '@khorsheed/dsh-local-agent/types#LocalAgentMemberFeedEvent',
1391
+ create: _khorsheed_dsh_local_agent_localAgentGateway_followMembers_result$schema,
1392
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_followMembers_result$schema(),
1393
+ },
1394
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":77,"column":3},
1395
+ },
1396
+ {
1397
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/followModelDirectory',
1398
+ service: 'localAgentGateway',
1399
+ namespace: 'localAgentGateway',
1400
+ method: 'followModelDirectory',
1401
+ mode: 'stream',
1402
+ invocation: { kind: 'direct' },
1403
+ parameters: [
1404
+ {
1405
+ name: 'name',
1406
+ wire: 'name',
1407
+ source: 'json',
1408
+ codec: {
1409
+ mode: 'strict',
1410
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/followModelDirectory:name',
1411
+ create: _khorsheed_dsh_local_agent_localAgentGateway_followModelDirectory_parameter_0$schema,
1412
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_followModelDirectory_parameter_0$schema(),
1413
+ },
1414
+ },
1415
+ {
1416
+ name: 'childSessionId',
1417
+ wire: 'childSessionId',
1418
+ source: 'json',
1419
+ acceptsUndefined: true,
1420
+ codec: {
1421
+ mode: 'strict',
1422
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/followModelDirectory:childSessionId',
1423
+ create: _khorsheed_dsh_local_agent_localAgentGateway_followModelDirectory_parameter_1$schema,
1424
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_followModelDirectory_parameter_1$schema(),
1425
+ },
1426
+ },
1427
+ ],
1428
+ cancellation: { parameter: 'signal' },
1429
+ result: {
1430
+ mode: 'strict',
1431
+ typeSymbol: '@khorsheed/dsh-local-agent/types#LocalAgentModelDirectory',
1432
+ create: _khorsheed_dsh_local_agent_localAgentGateway_followModelDirectory_result$schema,
1433
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_followModelDirectory_result$schema(),
1434
+ },
1435
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":126,"column":10},
1436
+ },
1437
+ {
1438
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/harnessModel',
1439
+ service: 'localAgentGateway',
1440
+ namespace: 'localAgentGateway',
1441
+ method: 'harnessModel',
1442
+ invocation: { kind: 'direct' },
1443
+ parameters: [
1444
+ {
1445
+ name: 'name',
1446
+ wire: 'name',
1447
+ source: 'json',
1448
+ codec: {
1449
+ mode: 'strict',
1450
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/harnessModel:name',
1451
+ create: _khorsheed_dsh_local_agent_localAgentGateway_harnessModel_parameter_0$schema,
1452
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_harnessModel_parameter_0$schema(),
1453
+ },
1454
+ },
1455
+ ],
1456
+ result: {
1457
+ mode: 'strict',
1458
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/harnessModel:result',
1459
+ create: _khorsheed_dsh_local_agent_localAgentGateway_harnessModel_result$schema,
1460
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_harnessModel_result$schema(),
1461
+ },
1462
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":246,"column":9},
1463
+ },
1464
+ {
1465
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/memberConfiguration',
1466
+ service: 'localAgentGateway',
1467
+ namespace: 'localAgentGateway',
1468
+ method: 'memberConfiguration',
1469
+ invocation: { kind: 'direct' },
1470
+ parameters: [
1471
+ {
1472
+ name: 'childSessionId',
1473
+ wire: 'childSessionId',
1474
+ source: 'json',
1475
+ codec: {
1476
+ mode: 'strict',
1477
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/memberConfiguration:childSessionId',
1478
+ create: _khorsheed_dsh_local_agent_localAgentGateway_memberConfiguration_parameter_0$schema,
1479
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_memberConfiguration_parameter_0$schema(),
1480
+ },
1481
+ },
1482
+ ],
1483
+ result: {
1484
+ mode: 'strict',
1485
+ typeSymbol: '@khorsheed/dsh-local-agent/types#LocalAgentMemberControlState',
1486
+ create: _khorsheed_dsh_local_agent_localAgentGateway_memberConfiguration_result$schema,
1487
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_memberConfiguration_result$schema(),
1488
+ },
1489
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":325,"column":9},
1490
+ },
1491
+ {
1492
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/memberDirectory',
1493
+ service: 'localAgentGateway',
1494
+ namespace: 'localAgentGateway',
1495
+ method: 'memberDirectory',
1496
+ invocation: { kind: 'direct' },
1497
+ parameters: [
1498
+ {
1499
+ name: 'childSessionId',
1500
+ wire: 'childSessionId',
1501
+ source: 'json',
1502
+ codec: {
1503
+ mode: 'strict',
1504
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/memberDirectory:childSessionId',
1505
+ create: _khorsheed_dsh_local_agent_localAgentGateway_memberDirectory_parameter_0$schema,
1506
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_memberDirectory_parameter_0$schema(),
1507
+ },
1508
+ },
1509
+ {
1510
+ name: 'refresh',
1511
+ wire: 'refresh',
1512
+ source: 'json',
1513
+ codec: {
1514
+ mode: 'strict',
1515
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/memberDirectory:refresh',
1516
+ create: _khorsheed_dsh_local_agent_localAgentGateway_memberDirectory_parameter_1$schema,
1517
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_memberDirectory_parameter_1$schema(),
1518
+ },
1519
+ },
1520
+ ],
1521
+ result: {
1522
+ mode: 'strict',
1523
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/memberDirectory:result',
1524
+ create: _khorsheed_dsh_local_agent_localAgentGateway_memberDirectory_result$schema,
1525
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_memberDirectory_result$schema(),
1526
+ },
1527
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":137,"column":9},
1528
+ },
1529
+ {
1530
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/memberInbox',
1531
+ service: 'localAgentGateway',
1532
+ namespace: 'localAgentGateway',
1533
+ method: 'memberInbox',
1534
+ invocation: { kind: 'direct' },
1535
+ parameters: [
1536
+ {
1537
+ name: 'childSessionId',
1538
+ wire: 'childSessionId',
1539
+ source: 'json',
1540
+ codec: {
1541
+ mode: 'strict',
1542
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/memberInbox:childSessionId',
1543
+ create: _khorsheed_dsh_local_agent_localAgentGateway_memberInbox_parameter_0$schema,
1544
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_memberInbox_parameter_0$schema(),
1545
+ },
1546
+ },
1547
+ ],
1548
+ result: {
1549
+ mode: 'strict',
1550
+ typeSymbol: '@khorsheed/dsh-local-agent/types#LocalAgentMemberInbox',
1551
+ create: _khorsheed_dsh_local_agent_localAgentGateway_memberInbox_result$schema,
1552
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_memberInbox_result$schema(),
1553
+ },
1554
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":371,"column":3},
1555
+ },
1556
+ {
1557
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/memberModel',
1558
+ service: 'localAgentGateway',
1559
+ namespace: 'localAgentGateway',
1560
+ method: 'memberModel',
1561
+ invocation: { kind: 'direct' },
1562
+ parameters: [
1563
+ {
1564
+ name: 'childSessionId',
1565
+ wire: 'childSessionId',
1566
+ source: 'json',
1567
+ codec: {
1568
+ mode: 'strict',
1569
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/memberModel:childSessionId',
1570
+ create: _khorsheed_dsh_local_agent_localAgentGateway_memberModel_parameter_0$schema,
1571
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_memberModel_parameter_0$schema(),
1572
+ },
1573
+ },
1574
+ ],
1575
+ result: {
1576
+ mode: 'strict',
1577
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/memberModel:result',
1578
+ create: _khorsheed_dsh_local_agent_localAgentGateway_memberModel_result$schema,
1579
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_memberModel_result$schema(),
1580
+ },
1581
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":273,"column":9},
1582
+ },
1583
+ {
1584
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/memberOf',
1585
+ service: 'localAgentGateway',
1586
+ namespace: 'localAgentGateway',
1587
+ method: 'memberOf',
1588
+ invocation: { kind: 'direct' },
1589
+ parameters: [
1590
+ {
1591
+ name: 'childSessionId',
1592
+ wire: 'childSessionId',
1593
+ source: 'json',
1594
+ codec: {
1595
+ mode: 'strict',
1596
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/memberOf:childSessionId',
1597
+ create: _khorsheed_dsh_local_agent_localAgentGateway_memberOf_parameter_0$schema,
1598
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_memberOf_parameter_0$schema(),
1599
+ },
1600
+ },
1601
+ ],
1602
+ result: {
1603
+ mode: 'strict',
1604
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/memberOf:result',
1605
+ create: _khorsheed_dsh_local_agent_localAgentGateway_memberOf_result$schema,
1606
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_memberOf_result$schema(),
1607
+ },
1608
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":220,"column":3},
1609
+ },
1610
+ {
1611
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/modelDirectory',
1612
+ service: 'localAgentGateway',
1613
+ namespace: 'localAgentGateway',
1614
+ method: 'modelDirectory',
1615
+ invocation: { kind: 'direct' },
1616
+ parameters: [
1617
+ {
1618
+ name: 'name',
1619
+ wire: 'name',
1620
+ source: 'json',
1621
+ codec: {
1622
+ mode: 'strict',
1623
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/modelDirectory:name',
1624
+ create: _khorsheed_dsh_local_agent_localAgentGateway_modelDirectory_parameter_0$schema,
1625
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_modelDirectory_parameter_0$schema(),
1626
+ },
1627
+ },
1628
+ {
1629
+ name: 'childSessionId',
1630
+ wire: 'childSessionId',
1631
+ source: 'json',
1632
+ acceptsUndefined: true,
1633
+ codec: {
1634
+ mode: 'strict',
1635
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/modelDirectory:childSessionId',
1636
+ create: _khorsheed_dsh_local_agent_localAgentGateway_modelDirectory_parameter_1$schema,
1637
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_modelDirectory_parameter_1$schema(),
1638
+ },
1639
+ },
1640
+ {
1641
+ name: 'refresh',
1642
+ wire: 'refresh',
1643
+ source: 'json',
1644
+ codec: {
1645
+ mode: 'strict',
1646
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/modelDirectory:refresh',
1647
+ create: _khorsheed_dsh_local_agent_localAgentGateway_modelDirectory_parameter_2$schema,
1648
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_modelDirectory_parameter_2$schema(),
1649
+ },
1650
+ },
1651
+ ],
1652
+ result: {
1653
+ mode: 'strict',
1654
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/modelDirectory:result',
1655
+ create: _khorsheed_dsh_local_agent_localAgentGateway_modelDirectory_result$schema,
1656
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_modelDirectory_result$schema(),
1657
+ },
1658
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":113,"column":9},
1659
+ },
1660
+ {
1661
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/promptMember',
1662
+ service: 'localAgentGateway',
1663
+ namespace: 'localAgentGateway',
1664
+ method: 'promptMember',
1665
+ invocation: { kind: 'direct' },
1666
+ parameters: [
1667
+ {
1668
+ name: 'childSessionId',
1669
+ wire: 'childSessionId',
1670
+ source: 'json',
1671
+ codec: {
1672
+ mode: 'strict',
1673
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/promptMember:childSessionId',
1674
+ create: _khorsheed_dsh_local_agent_localAgentGateway_promptMember_parameter_0$schema,
1675
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_promptMember_parameter_0$schema(),
1676
+ },
1677
+ },
1678
+ {
1679
+ name: 'text',
1680
+ wire: 'text',
1681
+ source: 'json',
1682
+ codec: {
1683
+ mode: 'strict',
1684
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/promptMember:text',
1685
+ create: _khorsheed_dsh_local_agent_localAgentGateway_promptMember_parameter_1$schema,
1686
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_promptMember_parameter_1$schema(),
1687
+ },
1688
+ },
1689
+ {
1690
+ name: 'requestId',
1691
+ wire: 'requestId',
1692
+ source: 'json',
1693
+ acceptsUndefined: true,
1694
+ codec: {
1695
+ mode: 'strict',
1696
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/promptMember:requestId',
1697
+ create: _khorsheed_dsh_local_agent_localAgentGateway_promptMember_parameter_2$schema,
1698
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_promptMember_parameter_2$schema(),
1699
+ },
1700
+ },
1701
+ ],
1702
+ result: {
1703
+ mode: 'strict',
1704
+ typeSymbol: '@khorsheed/dsh-local-agent/types#LocalAgentPromptResult',
1705
+ create: _khorsheed_dsh_local_agent_localAgentGateway_promptMember_result$schema,
1706
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_promptMember_result$schema(),
1707
+ },
1708
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":365,"column":9},
1709
+ },
1710
+ {
1711
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/retryMemberConfiguration',
1712
+ service: 'localAgentGateway',
1713
+ namespace: 'localAgentGateway',
1714
+ method: 'retryMemberConfiguration',
1715
+ invocation: { kind: 'direct' },
1716
+ parameters: [
1717
+ {
1718
+ name: 'childSessionId',
1719
+ wire: 'childSessionId',
1720
+ source: 'json',
1721
+ codec: {
1722
+ mode: 'strict',
1723
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/retryMemberConfiguration:childSessionId',
1724
+ create: _khorsheed_dsh_local_agent_localAgentGateway_retryMemberConfiguration_parameter_0$schema,
1725
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_retryMemberConfiguration_parameter_0$schema(),
1726
+ },
1727
+ },
1728
+ {
1729
+ name: 'expectedRevision',
1730
+ wire: 'expectedRevision',
1731
+ source: 'json',
1732
+ codec: {
1733
+ mode: 'strict',
1734
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/retryMemberConfiguration:expectedRevision',
1735
+ create: _khorsheed_dsh_local_agent_localAgentGateway_retryMemberConfiguration_parameter_1$schema,
1736
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_retryMemberConfiguration_parameter_1$schema(),
1737
+ },
1738
+ },
1739
+ ],
1740
+ result: {
1741
+ mode: 'strict',
1742
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/retryMemberConfiguration:result',
1743
+ create: _khorsheed_dsh_local_agent_localAgentGateway_retryMemberConfiguration_result$schema,
1744
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_retryMemberConfiguration_result$schema(),
1745
+ },
1746
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":340,"column":9},
1747
+ },
1748
+ {
1749
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/roster',
1750
+ service: 'localAgentGateway',
1751
+ namespace: 'localAgentGateway',
1752
+ method: 'roster',
1753
+ invocation: { kind: 'direct' },
1754
+ parameters: [
1755
+ ],
1756
+ result: {
1757
+ mode: 'strict',
1758
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/roster:result',
1759
+ create: _khorsheed_dsh_local_agent_localAgentGateway_roster_result$schema,
1760
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_roster_result$schema(),
1761
+ },
1762
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":159,"column":3},
1763
+ },
1764
+ {
1765
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/selectMemberConfiguration',
1766
+ service: 'localAgentGateway',
1767
+ namespace: 'localAgentGateway',
1768
+ method: 'selectMemberConfiguration',
1769
+ invocation: { kind: 'direct' },
1770
+ parameters: [
1771
+ {
1772
+ name: 'childSessionId',
1773
+ wire: 'childSessionId',
1774
+ source: 'json',
1775
+ codec: {
1776
+ mode: 'strict',
1777
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/selectMemberConfiguration:childSessionId',
1778
+ create: _khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_parameter_0$schema,
1779
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_parameter_0$schema(),
1780
+ },
1781
+ },
1782
+ {
1783
+ name: 'requestId',
1784
+ wire: 'requestId',
1785
+ source: 'json',
1786
+ codec: {
1787
+ mode: 'strict',
1788
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/selectMemberConfiguration:requestId',
1789
+ create: _khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_parameter_1$schema,
1790
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_parameter_1$schema(),
1791
+ },
1792
+ },
1793
+ {
1794
+ name: 'expectedRevision',
1795
+ wire: 'expectedRevision',
1796
+ source: 'json',
1797
+ codec: {
1798
+ mode: 'strict',
1799
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/selectMemberConfiguration:expectedRevision',
1800
+ create: _khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_parameter_2$schema,
1801
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_parameter_2$schema(),
1802
+ },
1803
+ },
1804
+ {
1805
+ name: 'selection',
1806
+ wire: 'selection',
1807
+ source: 'json',
1808
+ codec: {
1809
+ mode: 'strict',
1810
+ typeSymbol: '@khorsheed/dsh-local-agent/types#LocalAgentMemberConfiguration',
1811
+ create: _khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_parameter_3$schema,
1812
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_parameter_3$schema(),
1813
+ },
1814
+ },
1815
+ ],
1816
+ result: {
1817
+ mode: 'strict',
1818
+ typeSymbol: '@khorsheed/dsh-local-agent/types#LocalAgentControlReceipt',
1819
+ create: _khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_result$schema,
1820
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_selectMemberConfiguration_result$schema(),
1821
+ },
1822
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":330,"column":9},
1823
+ },
1824
+ {
1825
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/sessions',
1826
+ service: 'localAgentGateway',
1827
+ namespace: 'localAgentGateway',
1828
+ method: 'sessions',
1829
+ invocation: { kind: 'direct' },
1830
+ parameters: [
1831
+ {
1832
+ name: 'name',
1833
+ wire: 'name',
1834
+ source: 'json',
1835
+ codec: {
1836
+ mode: 'strict',
1837
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/sessions:name',
1838
+ create: _khorsheed_dsh_local_agent_localAgentGateway_sessions_parameter_0$schema,
1839
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_sessions_parameter_0$schema(),
1840
+ },
1841
+ },
1842
+ {
1843
+ name: 'sessionId',
1844
+ wire: 'sessionId',
1845
+ source: 'json',
1846
+ acceptsUndefined: true,
1847
+ codec: {
1848
+ mode: 'strict',
1849
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/sessions:sessionId',
1850
+ create: _khorsheed_dsh_local_agent_localAgentGateway_sessions_parameter_1$schema,
1851
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_sessions_parameter_1$schema(),
1852
+ },
1853
+ },
1854
+ ],
1855
+ result: {
1856
+ mode: 'strict',
1857
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/sessions:result',
1858
+ create: _khorsheed_dsh_local_agent_localAgentGateway_sessions_result$schema,
1859
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_sessions_result$schema(),
1860
+ },
1861
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":200,"column":9},
1862
+ },
1863
+ {
1864
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/setMemberModel',
1865
+ service: 'localAgentGateway',
1866
+ namespace: 'localAgentGateway',
1867
+ method: 'setMemberModel',
1868
+ invocation: { kind: 'direct' },
1869
+ parameters: [
1870
+ {
1871
+ name: 'childSessionId',
1872
+ wire: 'childSessionId',
1873
+ source: 'json',
1874
+ codec: {
1875
+ mode: 'strict',
1876
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/setMemberModel:childSessionId',
1877
+ create: _khorsheed_dsh_local_agent_localAgentGateway_setMemberModel_parameter_0$schema,
1878
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_setMemberModel_parameter_0$schema(),
1879
+ },
1880
+ },
1881
+ {
1882
+ name: 'model',
1883
+ wire: 'model',
1884
+ source: 'json',
1885
+ acceptsUndefined: true,
1886
+ codec: {
1887
+ mode: 'strict',
1888
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/setMemberModel:model',
1889
+ create: _khorsheed_dsh_local_agent_localAgentGateway_setMemberModel_parameter_1$schema,
1890
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_setMemberModel_parameter_1$schema(),
1891
+ },
1892
+ },
1893
+ ],
1894
+ result: {
1895
+ mode: 'strict',
1896
+ typeSymbol: '@khorsheed/dsh-local-agent/types#LocalAgentPromptResult',
1897
+ create: _khorsheed_dsh_local_agent_localAgentGateway_setMemberModel_result$schema,
1898
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_setMemberModel_result$schema(),
1899
+ },
1900
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":305,"column":9},
1901
+ },
1902
+ {
1903
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/status',
1904
+ service: 'localAgentGateway',
1905
+ namespace: 'localAgentGateway',
1906
+ method: 'status',
1907
+ invocation: { kind: 'direct' },
1908
+ parameters: [
1909
+ {
1910
+ name: 'name',
1911
+ wire: 'name',
1912
+ source: 'json',
1913
+ codec: {
1914
+ mode: 'strict',
1915
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/status:name',
1916
+ create: _khorsheed_dsh_local_agent_localAgentGateway_status_parameter_0$schema,
1917
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_status_parameter_0$schema(),
1918
+ },
1919
+ },
1920
+ {
1921
+ name: 'scope',
1922
+ wire: 'scope',
1923
+ source: 'json',
1924
+ acceptsUndefined: true,
1925
+ codec: {
1926
+ mode: 'strict',
1927
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/status:scope',
1928
+ create: _khorsheed_dsh_local_agent_localAgentGateway_status_parameter_1$schema,
1929
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_status_parameter_1$schema(),
1930
+ },
1931
+ },
1932
+ ],
1933
+ result: {
1934
+ mode: 'strict',
1935
+ typeSymbol: '@khorsheed/dsh-local-agent/types#LocalAgentStatus',
1936
+ create: _khorsheed_dsh_local_agent_localAgentGateway_status_result$schema,
1937
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_status_result$schema(),
1938
+ },
1939
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":186,"column":3},
1940
+ },
1941
+ {
1942
+ id: '@khorsheed/dsh-local-agent#localAgentGateway/stopMember',
1943
+ service: 'localAgentGateway',
1944
+ namespace: 'localAgentGateway',
1945
+ method: 'stopMember',
1946
+ invocation: { kind: 'direct' },
1947
+ parameters: [
1948
+ {
1949
+ name: 'childSessionId',
1950
+ wire: 'childSessionId',
1951
+ source: 'json',
1952
+ codec: {
1953
+ mode: 'strict',
1954
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/stopMember:childSessionId',
1955
+ create: _khorsheed_dsh_local_agent_localAgentGateway_stopMember_parameter_0$schema,
1956
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_stopMember_parameter_0$schema(),
1957
+ },
1958
+ },
1959
+ ],
1960
+ result: {
1961
+ mode: 'strict',
1962
+ typeSymbol: '@khorsheed/dsh-local-agent#localAgentGateway/stopMember:result',
1963
+ create: _khorsheed_dsh_local_agent_localAgentGateway_stopMember_result$schema,
1964
+ schema: _khorsheed_dsh_local_agent_localAgentGateway_stopMember_result$schema(),
1965
+ },
1966
+ sourceLocation: {"file":"packages/local-agent/src/gateway.ts","line":393,"column":3},
1967
+ },
1968
+ ],
1969
+ }
1970
+
1971
+ export default TYPERT_REMOTE