@ceasarxuu/dsh-agent-team 0.0.0-stage → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ /* Generated by @deepseek-ai/dsh-typert-generator from FaceModel — do not edit. */
2
+
3
+ export declare const TYPERT: unknown
@@ -0,0 +1,479 @@
1
+ /* Generated by @deepseek-ai/dsh-typert-generator from FaceModel — do not edit. */
2
+ import { z } from 'zod'
3
+
4
+ import { createTypertRemoteInfo } from '@deepseek-ai/dsh-typert-protocol/remote-info'
5
+
6
+ let _ceasarxuu_dsh_agent_team_teamConfig_deleteTemplate_parameter_0$schema$value
7
+ const _ceasarxuu_dsh_agent_team_teamConfig_deleteTemplate_parameter_0$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_deleteTemplate_parameter_0$schema$value ??= z.string())
8
+ let _ceasarxuu_dsh_agent_team_teamConfig_deleteTemplate_parameter_1$schema$value
9
+ const _ceasarxuu_dsh_agent_team_teamConfig_deleteTemplate_parameter_1$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_deleteTemplate_parameter_1$schema$value ??= z.number())
10
+ let _ceasarxuu_dsh_agent_team_teamConfig_deleteTemplate_result$schema$value
11
+ const _ceasarxuu_dsh_agent_team_teamConfig_deleteTemplate_result$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_deleteTemplate_result$schema$value ??= z.boolean())
12
+ let _ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_0$schema$value
13
+ const _ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_0$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_0$schema$value ??= z.string())
14
+ let _ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_1$schema$value
15
+ const _ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_1$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_1$schema$value ??= z.number())
16
+ let _ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_2$schema$value
17
+ const _ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_2$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_2$schema$value ??= z.string())
18
+ let _ceasarxuu_dsh_agent_team_teamConfig_launch_result$schema$value
19
+ const _ceasarxuu_dsh_agent_team_teamConfig_launch_result$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_launch_result$schema$value ??= z.string())
20
+ let _ceasarxuu_dsh_agent_team_teamConfig_list_result$schema$value
21
+ const _ceasarxuu_dsh_agent_team_teamConfig_list_result$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_list_result$schema$value ??= z.array(z.object({
22
+ 'id': z.string(),
23
+ 'revision': z.number(),
24
+ 'name': z.string(),
25
+ 'roles': z.array(z.object({
26
+ 'id': z.string(),
27
+ 'kind': z.union([z.literal("commander"), z.literal("worker"), z.literal("reviewer"), z.literal("custom")]),
28
+ 'name': z.string(),
29
+ 'description': z.string(),
30
+ 'model': z.union([z.literal(null), z.object({
31
+ 'provider': z.string(),
32
+ 'model': z.string(),
33
+ })]),
34
+ 'maxInstances': z.number(),
35
+ 'promptOverride': z.union([z.literal(null), z.string()]),
36
+ 'preferredSkills': z.array(z.string()),
37
+ })),
38
+ })))
39
+ let _ceasarxuu_dsh_agent_team_teamConfig_listForSession_parameter_0$schema$value
40
+ const _ceasarxuu_dsh_agent_team_teamConfig_listForSession_parameter_0$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_listForSession_parameter_0$schema$value ??= z.string())
41
+ let _ceasarxuu_dsh_agent_team_teamConfig_listForSession_result$schema$value
42
+ const _ceasarxuu_dsh_agent_team_teamConfig_listForSession_result$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_listForSession_result$schema$value ??= z.object({
43
+ 'active': z.union([z.literal(null), z.object({
44
+ 'id': z.string(),
45
+ 'revision': z.number(),
46
+ 'name': z.string(),
47
+ 'assignment': z.string(),
48
+ })]),
49
+ 'templates': z.array(z.object({
50
+ 'id': z.string(),
51
+ 'revision': z.number(),
52
+ 'name': z.string(),
53
+ 'roles': z.array(z.object({
54
+ 'id': z.string(),
55
+ 'kind': z.union([z.literal("commander"), z.literal("worker"), z.literal("reviewer"), z.literal("custom")]),
56
+ 'name': z.string(),
57
+ 'description': z.string(),
58
+ 'model': z.union([z.literal(null), z.object({
59
+ 'provider': z.string(),
60
+ 'model': z.string(),
61
+ })]),
62
+ 'maxInstances': z.number(),
63
+ 'promptOverride': z.union([z.literal(null), z.string()]),
64
+ 'preferredSkills': z.array(z.string()),
65
+ })),
66
+ })),
67
+ }))
68
+ let _ceasarxuu_dsh_agent_team_teamConfig_save_parameter_0$schema$value
69
+ const _ceasarxuu_dsh_agent_team_teamConfig_save_parameter_0$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_save_parameter_0$schema$value ??= z.object({
70
+ 'id': z.union([z.literal(null), z.string()]),
71
+ 'revision': z.number(),
72
+ 'name': z.string(),
73
+ 'roles': z.array(z.object({
74
+ 'id': z.string(),
75
+ 'kind': z.union([z.literal("commander"), z.literal("worker"), z.literal("reviewer"), z.literal("custom")]),
76
+ 'name': z.string(),
77
+ 'description': z.string(),
78
+ 'model': z.union([z.literal(null), z.object({
79
+ 'provider': z.string(),
80
+ 'model': z.string(),
81
+ })]),
82
+ 'maxInstances': z.number(),
83
+ 'promptOverride': z.union([z.literal(null), z.string()]),
84
+ 'preferredSkills': z.array(z.string()),
85
+ })),
86
+ }))
87
+ let _ceasarxuu_dsh_agent_team_teamConfig_save_result$schema$value
88
+ const _ceasarxuu_dsh_agent_team_teamConfig_save_result$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_save_result$schema$value ??= z.object({
89
+ 'id': z.string(),
90
+ 'revision': z.number(),
91
+ 'name': z.string(),
92
+ 'roles': z.array(z.object({
93
+ 'id': z.string(),
94
+ 'kind': z.union([z.literal("commander"), z.literal("worker"), z.literal("reviewer"), z.literal("custom")]),
95
+ 'name': z.string(),
96
+ 'description': z.string(),
97
+ 'model': z.union([z.literal(null), z.object({
98
+ 'provider': z.string(),
99
+ 'model': z.string(),
100
+ })]),
101
+ 'maxInstances': z.number(),
102
+ 'promptOverride': z.union([z.literal(null), z.string()]),
103
+ 'preferredSkills': z.array(z.string()),
104
+ })),
105
+ }))
106
+ let _ceasarxuu_dsh_agent_team_teamConfig_skills_parameter_0$schema$value
107
+ const _ceasarxuu_dsh_agent_team_teamConfig_skills_parameter_0$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_skills_parameter_0$schema$value ??= z.union([z.literal(null), z.string()]))
108
+ let _ceasarxuu_dsh_agent_team_teamConfig_skills_result$schema$value
109
+ const _ceasarxuu_dsh_agent_team_teamConfig_skills_result$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_skills_result$schema$value ??= z.array(z.object({
110
+ 'name': z.string(),
111
+ 'description': z.string(),
112
+ })))
113
+ let _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_0$schema$value
114
+ const _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_0$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_0$schema$value ??= z.string())
115
+ let _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_1$schema$value
116
+ const _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_1$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_1$schema$value ??= z.union([z.literal(null), z.string()]))
117
+ let _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_2$schema$value
118
+ const _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_2$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_2$schema$value ??= z.union([z.literal(null), z.object({
119
+ 'id': z.string(),
120
+ 'revision': z.number(),
121
+ })]))
122
+ let _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_result$schema$value
123
+ const _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_result$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_switchTeam_result$schema$value ??= z.object({
124
+ 'active': z.union([z.literal(null), z.object({
125
+ 'id': z.string(),
126
+ 'revision': z.number(),
127
+ 'name': z.string(),
128
+ 'assignment': z.string(),
129
+ })]),
130
+ 'templates': z.array(z.object({
131
+ 'id': z.string(),
132
+ 'revision': z.number(),
133
+ 'name': z.string(),
134
+ 'roles': z.array(z.object({
135
+ 'id': z.string(),
136
+ 'kind': z.union([z.literal("commander"), z.literal("worker"), z.literal("reviewer"), z.literal("custom")]),
137
+ 'name': z.string(),
138
+ 'description': z.string(),
139
+ 'model': z.union([z.literal(null), z.object({
140
+ 'provider': z.string(),
141
+ 'model': z.string(),
142
+ })]),
143
+ 'maxInstances': z.number(),
144
+ 'promptOverride': z.union([z.literal(null), z.string()]),
145
+ 'preferredSkills': z.array(z.string()),
146
+ })),
147
+ })),
148
+ }))
149
+ let _ceasarxuu_dsh_agent_team_teamConfig_deleteTemplate_parameter_0_strict$schema$value
150
+ const _ceasarxuu_dsh_agent_team_teamConfig_deleteTemplate_parameter_0_strict$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_deleteTemplate_parameter_0_strict$schema$value ??= z.string())
151
+ let _ceasarxuu_dsh_agent_team_teamConfig_deleteTemplate_parameter_1_strict$schema$value
152
+ const _ceasarxuu_dsh_agent_team_teamConfig_deleteTemplate_parameter_1_strict$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_deleteTemplate_parameter_1_strict$schema$value ??= z.number())
153
+ let _ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_0_strict$schema$value
154
+ const _ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_0_strict$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_0_strict$schema$value ??= z.string())
155
+ let _ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_1_strict$schema$value
156
+ const _ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_1_strict$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_1_strict$schema$value ??= z.number())
157
+ let _ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_2_strict$schema$value
158
+ const _ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_2_strict$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_2_strict$schema$value ??= z.string())
159
+ let _ceasarxuu_dsh_agent_team_teamConfig_listForSession_parameter_0_strict$schema$value
160
+ const _ceasarxuu_dsh_agent_team_teamConfig_listForSession_parameter_0_strict$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_listForSession_parameter_0_strict$schema$value ??= z.string())
161
+ let _ceasarxuu_dsh_agent_team_teamConfig_save_parameter_0_strict$schema$value
162
+ const _ceasarxuu_dsh_agent_team_teamConfig_save_parameter_0_strict$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_save_parameter_0_strict$schema$value ??= z.strictObject({
163
+ 'id': z.union([z.literal(null), z.string()]),
164
+ 'revision': z.number(),
165
+ 'name': z.string(),
166
+ 'roles': z.array(z.strictObject({
167
+ 'id': z.string(),
168
+ 'kind': z.union([z.literal("commander"), z.literal("worker"), z.literal("reviewer"), z.literal("custom")]),
169
+ 'name': z.string(),
170
+ 'description': z.string(),
171
+ 'model': z.union([z.literal(null), z.strictObject({
172
+ 'provider': z.string(),
173
+ 'model': z.string(),
174
+ })]),
175
+ 'maxInstances': z.number(),
176
+ 'promptOverride': z.union([z.literal(null), z.string()]),
177
+ 'preferredSkills': z.array(z.string()),
178
+ })),
179
+ }))
180
+ let _ceasarxuu_dsh_agent_team_teamConfig_skills_parameter_0_strict$schema$value
181
+ const _ceasarxuu_dsh_agent_team_teamConfig_skills_parameter_0_strict$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_skills_parameter_0_strict$schema$value ??= z.union([z.literal(null), z.string()]))
182
+ let _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_0_strict$schema$value
183
+ const _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_0_strict$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_0_strict$schema$value ??= z.string())
184
+ let _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_1_strict$schema$value
185
+ const _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_1_strict$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_1_strict$schema$value ??= z.union([z.literal(null), z.string()]))
186
+ let _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_2_strict$schema$value
187
+ const _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_2_strict$schema = () => (_ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_2_strict$schema$value ??= z.union([z.literal(null), z.strictObject({
188
+ 'id': z.string(),
189
+ 'revision': z.number(),
190
+ })]))
191
+
192
+ const $remote = createTypertRemoteInfo({
193
+ package: '@ceasarxuu/dsh-agent-team',
194
+ methods: {
195
+ 'teamConfig/deleteTemplate': {
196
+ service: 'teamConfig',
197
+ invocation: { kind: 'direct' },
198
+ parameters: [
199
+ {
200
+ name: 'teamId',
201
+ source: 'json',
202
+ codec: {
203
+ mode: 'strict',
204
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/deleteTemplate:teamId',
205
+ create: _ceasarxuu_dsh_agent_team_teamConfig_deleteTemplate_parameter_0$schema,
206
+ jsonSchema: {"type":"string"},
207
+ },
208
+ strictCodec: {
209
+ mode: 'strict',
210
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/deleteTemplate:teamId',
211
+ create: _ceasarxuu_dsh_agent_team_teamConfig_deleteTemplate_parameter_0_strict$schema,
212
+ jsonSchema: {"type":"string"},
213
+ },
214
+ },
215
+ {
216
+ name: 'revision',
217
+ source: 'json',
218
+ codec: {
219
+ mode: 'strict',
220
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/deleteTemplate:revision',
221
+ create: _ceasarxuu_dsh_agent_team_teamConfig_deleteTemplate_parameter_1$schema,
222
+ jsonSchema: {"type":"number"},
223
+ },
224
+ strictCodec: {
225
+ mode: 'strict',
226
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/deleteTemplate:revision',
227
+ create: _ceasarxuu_dsh_agent_team_teamConfig_deleteTemplate_parameter_1_strict$schema,
228
+ jsonSchema: {"type":"number"},
229
+ },
230
+ },
231
+ ],
232
+ result: {
233
+ mode: 'strict',
234
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/deleteTemplate:result',
235
+ create: _ceasarxuu_dsh_agent_team_teamConfig_deleteTemplate_result$schema,
236
+ jsonSchema: {"type":"boolean"},
237
+ },
238
+ sourceLocation: {"file":"packages/@ceasarxuu/dsh-agent-team/src/remote.ts","line":43,"column":3},
239
+ },
240
+ 'teamConfig/launch': {
241
+ service: 'teamConfig',
242
+ invocation: { kind: 'direct' },
243
+ parameters: [
244
+ {
245
+ name: 'teamId',
246
+ source: 'json',
247
+ codec: {
248
+ mode: 'strict',
249
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/launch:teamId',
250
+ create: _ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_0$schema,
251
+ jsonSchema: {"type":"string"},
252
+ },
253
+ strictCodec: {
254
+ mode: 'strict',
255
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/launch:teamId',
256
+ create: _ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_0_strict$schema,
257
+ jsonSchema: {"type":"string"},
258
+ },
259
+ },
260
+ {
261
+ name: 'revision',
262
+ source: 'json',
263
+ codec: {
264
+ mode: 'strict',
265
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/launch:revision',
266
+ create: _ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_1$schema,
267
+ jsonSchema: {"type":"number"},
268
+ },
269
+ strictCodec: {
270
+ mode: 'strict',
271
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/launch:revision',
272
+ create: _ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_1_strict$schema,
273
+ jsonSchema: {"type":"number"},
274
+ },
275
+ },
276
+ {
277
+ name: 'workspaceId',
278
+ source: 'json',
279
+ codec: {
280
+ mode: 'strict',
281
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/launch:workspaceId',
282
+ create: _ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_2$schema,
283
+ jsonSchema: {"type":"string"},
284
+ },
285
+ strictCodec: {
286
+ mode: 'strict',
287
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/launch:workspaceId',
288
+ create: _ceasarxuu_dsh_agent_team_teamConfig_launch_parameter_2_strict$schema,
289
+ jsonSchema: {"type":"string"},
290
+ },
291
+ },
292
+ ],
293
+ cancellation: { parameter: 'signal' },
294
+ result: {
295
+ mode: 'strict',
296
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/launch:result',
297
+ create: _ceasarxuu_dsh_agent_team_teamConfig_launch_result$schema,
298
+ jsonSchema: {"type":"string"},
299
+ },
300
+ sourceLocation: {"file":"packages/@ceasarxuu/dsh-agent-team/src/remote.ts","line":53,"column":3},
301
+ },
302
+ 'teamConfig/list': {
303
+ service: 'teamConfig',
304
+ invocation: { kind: 'direct' },
305
+ parameters: [
306
+ ],
307
+ result: {
308
+ mode: 'strict',
309
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/list:result',
310
+ create: _ceasarxuu_dsh_agent_team_teamConfig_list_result$schema,
311
+ jsonSchema: {"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"revision":{"type":"number"},"name":{"type":"string"},"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["commander","worker","reviewer","custom"]},"name":{"type":"string"},"description":{"type":"string"},"model":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"}},"required":["provider","model"],"additionalProperties":true}]},"maxInstances":{"type":"number"},"promptOverride":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"preferredSkills":{"type":"array","items":{"type":"string"}}},"required":["id","kind","name","description","model","maxInstances","promptOverride","preferredSkills"],"additionalProperties":true}}},"required":["id","revision","name","roles"],"additionalProperties":true}},
312
+ },
313
+ sourceLocation: {"file":"packages/@ceasarxuu/dsh-agent-team/src/remote.ts","line":28,"column":3},
314
+ },
315
+ 'teamConfig/listForSession': {
316
+ service: 'teamConfig',
317
+ invocation: { kind: 'direct' },
318
+ parameters: [
319
+ {
320
+ name: 'rootSessionId',
321
+ source: 'json',
322
+ codec: {
323
+ mode: 'strict',
324
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/listForSession:rootSessionId',
325
+ create: _ceasarxuu_dsh_agent_team_teamConfig_listForSession_parameter_0$schema,
326
+ jsonSchema: {"type":"string"},
327
+ },
328
+ strictCodec: {
329
+ mode: 'strict',
330
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/listForSession:rootSessionId',
331
+ create: _ceasarxuu_dsh_agent_team_teamConfig_listForSession_parameter_0_strict$schema,
332
+ jsonSchema: {"type":"string"},
333
+ },
334
+ },
335
+ ],
336
+ result: {
337
+ mode: 'strict',
338
+ typeSymbol: '@ceasarxuu/dsh-agent-team/types#SessionTeams',
339
+ create: _ceasarxuu_dsh_agent_team_teamConfig_listForSession_result$schema,
340
+ jsonSchema: {"type":"object","properties":{"active":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"id":{"type":"string"},"revision":{"type":"number"},"name":{"type":"string"},"assignment":{"type":"string"}},"required":["id","revision","name","assignment"],"additionalProperties":true}]},"templates":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"revision":{"type":"number"},"name":{"type":"string"},"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["commander","worker","reviewer","custom"]},"name":{"type":"string"},"description":{"type":"string"},"model":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"}},"required":["provider","model"],"additionalProperties":true}]},"maxInstances":{"type":"number"},"promptOverride":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"preferredSkills":{"type":"array","items":{"type":"string"}}},"required":["id","kind","name","description","model","maxInstances","promptOverride","preferredSkills"],"additionalProperties":true}}},"required":["id","revision","name","roles"],"additionalProperties":true}}},"required":["active","templates"],"additionalProperties":true},
341
+ },
342
+ sourceLocation: {"file":"packages/@ceasarxuu/dsh-agent-team/src/remote.ts","line":33,"column":3},
343
+ },
344
+ 'teamConfig/save': {
345
+ service: 'teamConfig',
346
+ invocation: { kind: 'direct' },
347
+ parameters: [
348
+ {
349
+ name: 'draft',
350
+ source: 'json',
351
+ codec: {
352
+ mode: 'strict',
353
+ typeSymbol: '@ceasarxuu/dsh-agent-team/types#TeamDraft',
354
+ create: _ceasarxuu_dsh_agent_team_teamConfig_save_parameter_0$schema,
355
+ jsonSchema: {"type":"object","properties":{"id":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"revision":{"type":"number"},"name":{"type":"string"},"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["commander","worker","reviewer","custom"]},"name":{"type":"string"},"description":{"type":"string"},"model":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"}},"required":["provider","model"],"additionalProperties":true}]},"maxInstances":{"type":"number"},"promptOverride":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"preferredSkills":{"type":"array","items":{"type":"string"}}},"required":["id","kind","name","description","model","maxInstances","promptOverride","preferredSkills"],"additionalProperties":true}}},"required":["id","revision","name","roles"],"additionalProperties":true},
356
+ },
357
+ strictCodec: {
358
+ mode: 'strict',
359
+ typeSymbol: '@ceasarxuu/dsh-agent-team/types#TeamDraft',
360
+ create: _ceasarxuu_dsh_agent_team_teamConfig_save_parameter_0_strict$schema,
361
+ jsonSchema: {"type":"object","properties":{"id":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"revision":{"type":"number"},"name":{"type":"string"},"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["commander","worker","reviewer","custom"]},"name":{"type":"string"},"description":{"type":"string"},"model":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"}},"required":["provider","model"],"additionalProperties":false}]},"maxInstances":{"type":"number"},"promptOverride":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"preferredSkills":{"type":"array","items":{"type":"string"}}},"required":["id","kind","name","description","model","maxInstances","promptOverride","preferredSkills"],"additionalProperties":false}}},"required":["id","revision","name","roles"],"additionalProperties":false},
362
+ },
363
+ },
364
+ ],
365
+ result: {
366
+ mode: 'strict',
367
+ typeSymbol: '@ceasarxuu/dsh-agent-team/types#TeamConfig',
368
+ create: _ceasarxuu_dsh_agent_team_teamConfig_save_result$schema,
369
+ jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"revision":{"type":"number"},"name":{"type":"string"},"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["commander","worker","reviewer","custom"]},"name":{"type":"string"},"description":{"type":"string"},"model":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"}},"required":["provider","model"],"additionalProperties":true}]},"maxInstances":{"type":"number"},"promptOverride":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"preferredSkills":{"type":"array","items":{"type":"string"}}},"required":["id","kind","name","description","model","maxInstances","promptOverride","preferredSkills"],"additionalProperties":true}}},"required":["id","revision","name","roles"],"additionalProperties":true},
370
+ },
371
+ sourceLocation: {"file":"packages/@ceasarxuu/dsh-agent-team/src/remote.ts","line":38,"column":3},
372
+ },
373
+ 'teamConfig/skills': {
374
+ service: 'teamConfig',
375
+ invocation: { kind: 'direct' },
376
+ parameters: [
377
+ {
378
+ name: 'workspaceId',
379
+ source: 'json',
380
+ codec: {
381
+ mode: 'strict',
382
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/skills:workspaceId',
383
+ create: _ceasarxuu_dsh_agent_team_teamConfig_skills_parameter_0$schema,
384
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
385
+ },
386
+ strictCodec: {
387
+ mode: 'strict',
388
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/skills:workspaceId',
389
+ create: _ceasarxuu_dsh_agent_team_teamConfig_skills_parameter_0_strict$schema,
390
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
391
+ },
392
+ },
393
+ ],
394
+ cancellation: { parameter: 'signal' },
395
+ result: {
396
+ mode: 'strict',
397
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/skills:result',
398
+ create: _ceasarxuu_dsh_agent_team_teamConfig_skills_result$schema,
399
+ jsonSchema: {"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"}},"required":["name","description"],"additionalProperties":true}},
400
+ },
401
+ sourceLocation: {"file":"packages/@ceasarxuu/dsh-agent-team/src/remote.ts","line":48,"column":3},
402
+ },
403
+ 'teamConfig/switchTeam': {
404
+ service: 'teamConfig',
405
+ invocation: { kind: 'direct' },
406
+ parameters: [
407
+ {
408
+ name: 'sessionId',
409
+ source: 'json',
410
+ codec: {
411
+ mode: 'strict',
412
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/switchTeam:sessionId',
413
+ create: _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_0$schema,
414
+ jsonSchema: {"type":"string"},
415
+ },
416
+ strictCodec: {
417
+ mode: 'strict',
418
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/switchTeam:sessionId',
419
+ create: _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_0_strict$schema,
420
+ jsonSchema: {"type":"string"},
421
+ },
422
+ },
423
+ {
424
+ name: 'assignment',
425
+ source: 'json',
426
+ codec: {
427
+ mode: 'strict',
428
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/switchTeam:assignment',
429
+ create: _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_1$schema,
430
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
431
+ },
432
+ strictCodec: {
433
+ mode: 'strict',
434
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/switchTeam:assignment',
435
+ create: _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_1_strict$schema,
436
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
437
+ },
438
+ },
439
+ {
440
+ name: 'choice',
441
+ source: 'json',
442
+ codec: {
443
+ mode: 'strict',
444
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/switchTeam:choice',
445
+ create: _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_2$schema,
446
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"id":{"type":"string"},"revision":{"type":"number"}},"required":["id","revision"],"additionalProperties":true}]},
447
+ },
448
+ strictCodec: {
449
+ mode: 'strict',
450
+ typeSymbol: '@ceasarxuu/dsh-agent-team#teamConfig/switchTeam:choice',
451
+ create: _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_parameter_2_strict$schema,
452
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"id":{"type":"string"},"revision":{"type":"number"}},"required":["id","revision"],"additionalProperties":false}]},
453
+ },
454
+ },
455
+ ],
456
+ cancellation: { parameter: 'signal' },
457
+ result: {
458
+ mode: 'strict',
459
+ typeSymbol: '@ceasarxuu/dsh-agent-team/types#SessionTeams',
460
+ create: _ceasarxuu_dsh_agent_team_teamConfig_switchTeam_result$schema,
461
+ jsonSchema: {"type":"object","properties":{"active":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"id":{"type":"string"},"revision":{"type":"number"},"name":{"type":"string"},"assignment":{"type":"string"}},"required":["id","revision","name","assignment"],"additionalProperties":true}]},"templates":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"revision":{"type":"number"},"name":{"type":"string"},"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["commander","worker","reviewer","custom"]},"name":{"type":"string"},"description":{"type":"string"},"model":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"}},"required":["provider","model"],"additionalProperties":true}]},"maxInstances":{"type":"number"},"promptOverride":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"preferredSkills":{"type":"array","items":{"type":"string"}}},"required":["id","kind","name","description","model","maxInstances","promptOverride","preferredSkills"],"additionalProperties":true}}},"required":["id","revision","name","roles"],"additionalProperties":true}}},"required":["active","templates"],"additionalProperties":true},
462
+ },
463
+ sourceLocation: {"file":"packages/@ceasarxuu/dsh-agent-team/src/remote.ts","line":58,"column":3},
464
+ },
465
+ },
466
+ }, z)
467
+
468
+ export const TYPERT = {
469
+ package: '@ceasarxuu/dsh-agent-team',
470
+ face: 'host',
471
+ schemas: [
472
+ ],
473
+ get invocations() { return $remote.descriptors },
474
+ model: {
475
+ "services": [],
476
+ "events": [],
477
+ "objects": []
478
+ },
479
+ }
@@ -0,0 +1,43 @@
1
+ /* Generated by @deepseek-ai/dsh-typert-generator from the Host FaceModel — do not edit. */
2
+ import type {
3
+ RemoteResult,
4
+ TypertRemoteInfo,
5
+ TypertRemoteMethod,
6
+ } from '@deepseek-ai/dsh-typert-protocol'
7
+ import type { SessionTeams, SkillChoice, TeamChoice, TeamConfig, TeamDraft } from '@ceasarxuu/dsh-agent-team/types'
8
+
9
+ declare module '@deepseek-ai/dsh-typert-protocol' {
10
+ interface TypertRemoteNamespace$7465616d436f6e666967 {
11
+ deleteTemplate: (teamId: string, revision: number) => Promise<RemoteResult<boolean>>
12
+ launch: (teamId: string, revision: number, workspaceId: string, signal?: AbortSignal) => Promise<RemoteResult<string>>
13
+ list: () => Promise<RemoteResult<TeamConfig[]>>
14
+ listForSession: (rootSessionId: string) => Promise<RemoteResult<SessionTeams>>
15
+ save: (draft: TeamDraft) => Promise<RemoteResult<TeamConfig>>
16
+ skills: (workspaceId: string | null, signal?: AbortSignal) => Promise<RemoteResult<SkillChoice[]>>
17
+ switchTeam: (sessionId: string, assignment: string | null, choice: TeamChoice | null, signal?: AbortSignal) => Promise<RemoteResult<SessionTeams>>
18
+ }
19
+ interface TypertRemoteMap {
20
+ 'teamConfig/deleteTemplate': (teamId: string, revision: number) => Promise<RemoteResult<boolean>>
21
+ 'teamConfig/launch': (teamId: string, revision: number, workspaceId: string, signal?: AbortSignal) => Promise<RemoteResult<string>>
22
+ 'teamConfig/list': () => Promise<RemoteResult<TeamConfig[]>>
23
+ 'teamConfig/listForSession': (rootSessionId: string) => Promise<RemoteResult<SessionTeams>>
24
+ 'teamConfig/save': (draft: TeamDraft) => Promise<RemoteResult<TeamConfig>>
25
+ 'teamConfig/skills': (workspaceId: string | null, signal?: AbortSignal) => Promise<RemoteResult<SkillChoice[]>>
26
+ 'teamConfig/switchTeam': (sessionId: string, assignment: string | null, choice: TeamChoice | null, signal?: AbortSignal) => Promise<RemoteResult<SessionTeams>>
27
+ }
28
+ interface TypertRemoteNamespaceMap {
29
+ 'teamConfig': TypertRemoteNamespace$7465616d436f6e666967
30
+ }
31
+ }
32
+
33
+ export declare const TYPERT_REMOTE: TypertRemoteInfo<{
34
+ readonly 'teamConfig/deleteTemplate': TypertRemoteMethod<{ readonly 'teamId': string; readonly 'revision': number }, boolean>
35
+ readonly 'teamConfig/launch': TypertRemoteMethod<{ readonly 'teamId': string; readonly 'revision': number; readonly 'workspaceId': string }, string>
36
+ readonly 'teamConfig/list': TypertRemoteMethod<{ }, TeamConfig[]>
37
+ readonly 'teamConfig/listForSession': TypertRemoteMethod<{ readonly 'rootSessionId': string }, SessionTeams>
38
+ readonly 'teamConfig/save': TypertRemoteMethod<{ readonly 'draft': TeamDraft }, TeamConfig>
39
+ readonly 'teamConfig/skills': TypertRemoteMethod<{ readonly 'workspaceId': string | null }, SkillChoice[]>
40
+ readonly 'teamConfig/switchTeam': TypertRemoteMethod<{ readonly 'sessionId': string; readonly 'assignment': string | null; readonly 'choice': TeamChoice | null }, SessionTeams>
41
+ }>
42
+ export default TYPERT_REMOTE
43
+ //# sourceMappingURL=typert.remote-client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typert.remote-client.d.ts","names":["deleteTemplate","launch","list","listForSession","save","skills","switchTeam"],"sources":["../src/remote.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;IA0CEA,c;IAUAC,M;IAzBAC,I;IAKAC,c;IAKAC,I;IAUAC,M;IAUAC,U;;;IAfAN,2B;IAUAC,mB;IAzBAC,iB;IAKAC,2B;IAKAC,iB;IAUAC,mB;IAUAC,uB","ignoreList":[]}