@agent-earth/shared 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/index.d.ts +10 -0
  2. package/dist/index.js +1 -0
  3. package/dist/schemas/agent-system.schema.d.ts +11661 -0
  4. package/dist/schemas/agent-system.schema.js +1 -0
  5. package/dist/schemas/agent.schema.d.ts +901 -0
  6. package/dist/schemas/agent.schema.js +1 -0
  7. package/dist/schemas/cesium.schema.d.ts +517 -0
  8. package/dist/schemas/cesium.schema.js +1 -0
  9. package/dist/schemas/index.d.ts +10 -0
  10. package/dist/schemas/index.js +1 -0
  11. package/dist/schemas/mcp.schema.d.ts +1791 -0
  12. package/dist/schemas/mcp.schema.js +1 -0
  13. package/dist/schemas/service-config.schema.d.ts +1302 -0
  14. package/dist/schemas/service-config.schema.js +1 -0
  15. package/dist/schemas/skill.schema.d.ts +392 -0
  16. package/dist/schemas/skill.schema.js +1 -0
  17. package/dist/schemas/store.schema.d.ts +1242 -0
  18. package/dist/schemas/store.schema.js +1 -0
  19. package/dist/schemas/user.schema.d.ts +541 -0
  20. package/dist/schemas/user.schema.js +1 -0
  21. package/dist/schemas/websocket.schema.d.ts +1186 -0
  22. package/dist/schemas/websocket.schema.js +1 -0
  23. package/dist/schemas/wiki.schema.d.ts +865 -0
  24. package/dist/schemas/wiki.schema.js +1 -0
  25. package/dist/types/agent.d.ts +45 -0
  26. package/dist/types/agent.js +1 -0
  27. package/dist/types/at-file.d.ts +42 -0
  28. package/dist/types/at-file.js +1 -0
  29. package/dist/types/cesium.d.ts +116 -0
  30. package/dist/types/cesium.js +1 -0
  31. package/dist/types/hermes.d.ts +95 -0
  32. package/dist/types/hermes.js +1 -0
  33. package/dist/types/mcp.d.ts +202 -0
  34. package/dist/types/mcp.js +1 -0
  35. package/dist/types/skill.d.ts +29 -0
  36. package/dist/types/skill.js +1 -0
  37. package/dist/types/slash-command.d.ts +26 -0
  38. package/dist/types/slash-command.js +1 -0
  39. package/dist/types/websocket.d.ts +301 -0
  40. package/dist/types/websocket.js +1 -0
  41. package/dist/types/wiki.d.ts +66 -0
  42. package/dist/types/wiki.js +1 -0
  43. package/package.json +33 -0
@@ -0,0 +1,901 @@
1
+ import { z } from 'zod';
2
+ export declare const AgentTriggerSchema: z.ZodObject<{
3
+ type: z.ZodEnum<["event", "message", "schedule", "condition"]>;
4
+ source: z.ZodString;
5
+ condition: z.ZodOptional<z.ZodString>;
6
+ targetAgentId: z.ZodOptional<z.ZodString>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ source: string;
9
+ type: "event" | "message" | "schedule" | "condition";
10
+ condition?: string | undefined;
11
+ targetAgentId?: string | undefined;
12
+ }, {
13
+ source: string;
14
+ type: "event" | "message" | "schedule" | "condition";
15
+ condition?: string | undefined;
16
+ targetAgentId?: string | undefined;
17
+ }>;
18
+ export declare const AgentOutputConfigSchema: z.ZodObject<{
19
+ type: z.ZodEnum<["websocket", "api", "skill"]>;
20
+ destination: z.ZodString;
21
+ format: z.ZodEnum<["text", "json", "cesium_command"]>;
22
+ }, "strip", z.ZodTypeAny, {
23
+ type: "websocket" | "api" | "skill";
24
+ destination: string;
25
+ format: "cesium_command" | "json" | "text";
26
+ }, {
27
+ type: "websocket" | "api" | "skill";
28
+ destination: string;
29
+ format: "cesium_command" | "json" | "text";
30
+ }>;
31
+ export declare const AgentConfigSchema: z.ZodObject<{
32
+ id: z.ZodString;
33
+ name: z.ZodString;
34
+ description: z.ZodString;
35
+ type: z.ZodEnum<["main", "sub"]>;
36
+ skills: z.ZodArray<z.ZodAny, "many">;
37
+ mcps: z.ZodArray<z.ZodAny, "many">;
38
+ modelConfig: z.ZodAny;
39
+ agentConfig: z.ZodAny;
40
+ triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
41
+ type: z.ZodEnum<["event", "message", "schedule", "condition"]>;
42
+ source: z.ZodString;
43
+ condition: z.ZodOptional<z.ZodString>;
44
+ targetAgentId: z.ZodOptional<z.ZodString>;
45
+ }, "strip", z.ZodTypeAny, {
46
+ source: string;
47
+ type: "event" | "message" | "schedule" | "condition";
48
+ condition?: string | undefined;
49
+ targetAgentId?: string | undefined;
50
+ }, {
51
+ source: string;
52
+ type: "event" | "message" | "schedule" | "condition";
53
+ condition?: string | undefined;
54
+ targetAgentId?: string | undefined;
55
+ }>, "many">>;
56
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
57
+ type: z.ZodEnum<["websocket", "api", "skill"]>;
58
+ destination: z.ZodString;
59
+ format: z.ZodEnum<["text", "json", "cesium_command"]>;
60
+ }, "strip", z.ZodTypeAny, {
61
+ type: "websocket" | "api" | "skill";
62
+ destination: string;
63
+ format: "cesium_command" | "json" | "text";
64
+ }, {
65
+ type: "websocket" | "api" | "skill";
66
+ destination: string;
67
+ format: "cesium_command" | "json" | "text";
68
+ }>, "many">>;
69
+ }, "strip", z.ZodTypeAny, {
70
+ id: string;
71
+ type: "main" | "sub";
72
+ name: string;
73
+ description: string;
74
+ skills: any[];
75
+ mcps: any[];
76
+ modelConfig?: any;
77
+ agentConfig?: any;
78
+ triggers?: {
79
+ source: string;
80
+ type: "event" | "message" | "schedule" | "condition";
81
+ condition?: string | undefined;
82
+ targetAgentId?: string | undefined;
83
+ }[] | undefined;
84
+ outputs?: {
85
+ type: "websocket" | "api" | "skill";
86
+ destination: string;
87
+ format: "cesium_command" | "json" | "text";
88
+ }[] | undefined;
89
+ }, {
90
+ id: string;
91
+ type: "main" | "sub";
92
+ name: string;
93
+ description: string;
94
+ skills: any[];
95
+ mcps: any[];
96
+ modelConfig?: any;
97
+ agentConfig?: any;
98
+ triggers?: {
99
+ source: string;
100
+ type: "event" | "message" | "schedule" | "condition";
101
+ condition?: string | undefined;
102
+ targetAgentId?: string | undefined;
103
+ }[] | undefined;
104
+ outputs?: {
105
+ type: "websocket" | "api" | "skill";
106
+ destination: string;
107
+ format: "cesium_command" | "json" | "text";
108
+ }[] | undefined;
109
+ }>;
110
+ export declare const OrchestrationTriggerSchema: z.ZodObject<{
111
+ id: z.ZodString;
112
+ sourceAgentId: z.ZodString;
113
+ targetAgentId: z.ZodString;
114
+ eventType: z.ZodString;
115
+ condition: z.ZodOptional<z.ZodString>;
116
+ }, "strip", z.ZodTypeAny, {
117
+ id: string;
118
+ targetAgentId: string;
119
+ sourceAgentId: string;
120
+ eventType: string;
121
+ condition?: string | undefined;
122
+ }, {
123
+ id: string;
124
+ targetAgentId: string;
125
+ sourceAgentId: string;
126
+ eventType: string;
127
+ condition?: string | undefined;
128
+ }>;
129
+ export declare const MessageRoutingConfigSchema: z.ZodObject<{
130
+ fromAgentId: z.ZodString;
131
+ toAgentId: z.ZodString;
132
+ messageType: z.ZodString;
133
+ transform: z.ZodOptional<z.ZodString>;
134
+ }, "strip", z.ZodTypeAny, {
135
+ fromAgentId: string;
136
+ toAgentId: string;
137
+ messageType: string;
138
+ transform?: string | undefined;
139
+ }, {
140
+ fromAgentId: string;
141
+ toAgentId: string;
142
+ messageType: string;
143
+ transform?: string | undefined;
144
+ }>;
145
+ export declare const AgentOrchestrationConfigSchema: z.ZodObject<{
146
+ mainAgent: z.ZodObject<{
147
+ id: z.ZodString;
148
+ name: z.ZodString;
149
+ description: z.ZodString;
150
+ type: z.ZodEnum<["main", "sub"]>;
151
+ skills: z.ZodArray<z.ZodAny, "many">;
152
+ mcps: z.ZodArray<z.ZodAny, "many">;
153
+ modelConfig: z.ZodAny;
154
+ agentConfig: z.ZodAny;
155
+ triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
156
+ type: z.ZodEnum<["event", "message", "schedule", "condition"]>;
157
+ source: z.ZodString;
158
+ condition: z.ZodOptional<z.ZodString>;
159
+ targetAgentId: z.ZodOptional<z.ZodString>;
160
+ }, "strip", z.ZodTypeAny, {
161
+ source: string;
162
+ type: "event" | "message" | "schedule" | "condition";
163
+ condition?: string | undefined;
164
+ targetAgentId?: string | undefined;
165
+ }, {
166
+ source: string;
167
+ type: "event" | "message" | "schedule" | "condition";
168
+ condition?: string | undefined;
169
+ targetAgentId?: string | undefined;
170
+ }>, "many">>;
171
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
172
+ type: z.ZodEnum<["websocket", "api", "skill"]>;
173
+ destination: z.ZodString;
174
+ format: z.ZodEnum<["text", "json", "cesium_command"]>;
175
+ }, "strip", z.ZodTypeAny, {
176
+ type: "websocket" | "api" | "skill";
177
+ destination: string;
178
+ format: "cesium_command" | "json" | "text";
179
+ }, {
180
+ type: "websocket" | "api" | "skill";
181
+ destination: string;
182
+ format: "cesium_command" | "json" | "text";
183
+ }>, "many">>;
184
+ }, "strip", z.ZodTypeAny, {
185
+ id: string;
186
+ type: "main" | "sub";
187
+ name: string;
188
+ description: string;
189
+ skills: any[];
190
+ mcps: any[];
191
+ modelConfig?: any;
192
+ agentConfig?: any;
193
+ triggers?: {
194
+ source: string;
195
+ type: "event" | "message" | "schedule" | "condition";
196
+ condition?: string | undefined;
197
+ targetAgentId?: string | undefined;
198
+ }[] | undefined;
199
+ outputs?: {
200
+ type: "websocket" | "api" | "skill";
201
+ destination: string;
202
+ format: "cesium_command" | "json" | "text";
203
+ }[] | undefined;
204
+ }, {
205
+ id: string;
206
+ type: "main" | "sub";
207
+ name: string;
208
+ description: string;
209
+ skills: any[];
210
+ mcps: any[];
211
+ modelConfig?: any;
212
+ agentConfig?: any;
213
+ triggers?: {
214
+ source: string;
215
+ type: "event" | "message" | "schedule" | "condition";
216
+ condition?: string | undefined;
217
+ targetAgentId?: string | undefined;
218
+ }[] | undefined;
219
+ outputs?: {
220
+ type: "websocket" | "api" | "skill";
221
+ destination: string;
222
+ format: "cesium_command" | "json" | "text";
223
+ }[] | undefined;
224
+ }>;
225
+ subAgents: z.ZodArray<z.ZodObject<{
226
+ id: z.ZodString;
227
+ name: z.ZodString;
228
+ description: z.ZodString;
229
+ type: z.ZodEnum<["main", "sub"]>;
230
+ skills: z.ZodArray<z.ZodAny, "many">;
231
+ mcps: z.ZodArray<z.ZodAny, "many">;
232
+ modelConfig: z.ZodAny;
233
+ agentConfig: z.ZodAny;
234
+ triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
235
+ type: z.ZodEnum<["event", "message", "schedule", "condition"]>;
236
+ source: z.ZodString;
237
+ condition: z.ZodOptional<z.ZodString>;
238
+ targetAgentId: z.ZodOptional<z.ZodString>;
239
+ }, "strip", z.ZodTypeAny, {
240
+ source: string;
241
+ type: "event" | "message" | "schedule" | "condition";
242
+ condition?: string | undefined;
243
+ targetAgentId?: string | undefined;
244
+ }, {
245
+ source: string;
246
+ type: "event" | "message" | "schedule" | "condition";
247
+ condition?: string | undefined;
248
+ targetAgentId?: string | undefined;
249
+ }>, "many">>;
250
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
251
+ type: z.ZodEnum<["websocket", "api", "skill"]>;
252
+ destination: z.ZodString;
253
+ format: z.ZodEnum<["text", "json", "cesium_command"]>;
254
+ }, "strip", z.ZodTypeAny, {
255
+ type: "websocket" | "api" | "skill";
256
+ destination: string;
257
+ format: "cesium_command" | "json" | "text";
258
+ }, {
259
+ type: "websocket" | "api" | "skill";
260
+ destination: string;
261
+ format: "cesium_command" | "json" | "text";
262
+ }>, "many">>;
263
+ }, "strip", z.ZodTypeAny, {
264
+ id: string;
265
+ type: "main" | "sub";
266
+ name: string;
267
+ description: string;
268
+ skills: any[];
269
+ mcps: any[];
270
+ modelConfig?: any;
271
+ agentConfig?: any;
272
+ triggers?: {
273
+ source: string;
274
+ type: "event" | "message" | "schedule" | "condition";
275
+ condition?: string | undefined;
276
+ targetAgentId?: string | undefined;
277
+ }[] | undefined;
278
+ outputs?: {
279
+ type: "websocket" | "api" | "skill";
280
+ destination: string;
281
+ format: "cesium_command" | "json" | "text";
282
+ }[] | undefined;
283
+ }, {
284
+ id: string;
285
+ type: "main" | "sub";
286
+ name: string;
287
+ description: string;
288
+ skills: any[];
289
+ mcps: any[];
290
+ modelConfig?: any;
291
+ agentConfig?: any;
292
+ triggers?: {
293
+ source: string;
294
+ type: "event" | "message" | "schedule" | "condition";
295
+ condition?: string | undefined;
296
+ targetAgentId?: string | undefined;
297
+ }[] | undefined;
298
+ outputs?: {
299
+ type: "websocket" | "api" | "skill";
300
+ destination: string;
301
+ format: "cesium_command" | "json" | "text";
302
+ }[] | undefined;
303
+ }>, "many">;
304
+ triggers: z.ZodArray<z.ZodObject<{
305
+ id: z.ZodString;
306
+ sourceAgentId: z.ZodString;
307
+ targetAgentId: z.ZodString;
308
+ eventType: z.ZodString;
309
+ condition: z.ZodOptional<z.ZodString>;
310
+ }, "strip", z.ZodTypeAny, {
311
+ id: string;
312
+ targetAgentId: string;
313
+ sourceAgentId: string;
314
+ eventType: string;
315
+ condition?: string | undefined;
316
+ }, {
317
+ id: string;
318
+ targetAgentId: string;
319
+ sourceAgentId: string;
320
+ eventType: string;
321
+ condition?: string | undefined;
322
+ }>, "many">;
323
+ routing: z.ZodArray<z.ZodObject<{
324
+ fromAgentId: z.ZodString;
325
+ toAgentId: z.ZodString;
326
+ messageType: z.ZodString;
327
+ transform: z.ZodOptional<z.ZodString>;
328
+ }, "strip", z.ZodTypeAny, {
329
+ fromAgentId: string;
330
+ toAgentId: string;
331
+ messageType: string;
332
+ transform?: string | undefined;
333
+ }, {
334
+ fromAgentId: string;
335
+ toAgentId: string;
336
+ messageType: string;
337
+ transform?: string | undefined;
338
+ }>, "many">;
339
+ }, "strip", z.ZodTypeAny, {
340
+ triggers: {
341
+ id: string;
342
+ targetAgentId: string;
343
+ sourceAgentId: string;
344
+ eventType: string;
345
+ condition?: string | undefined;
346
+ }[];
347
+ mainAgent: {
348
+ id: string;
349
+ type: "main" | "sub";
350
+ name: string;
351
+ description: string;
352
+ skills: any[];
353
+ mcps: any[];
354
+ modelConfig?: any;
355
+ agentConfig?: any;
356
+ triggers?: {
357
+ source: string;
358
+ type: "event" | "message" | "schedule" | "condition";
359
+ condition?: string | undefined;
360
+ targetAgentId?: string | undefined;
361
+ }[] | undefined;
362
+ outputs?: {
363
+ type: "websocket" | "api" | "skill";
364
+ destination: string;
365
+ format: "cesium_command" | "json" | "text";
366
+ }[] | undefined;
367
+ };
368
+ subAgents: {
369
+ id: string;
370
+ type: "main" | "sub";
371
+ name: string;
372
+ description: string;
373
+ skills: any[];
374
+ mcps: any[];
375
+ modelConfig?: any;
376
+ agentConfig?: any;
377
+ triggers?: {
378
+ source: string;
379
+ type: "event" | "message" | "schedule" | "condition";
380
+ condition?: string | undefined;
381
+ targetAgentId?: string | undefined;
382
+ }[] | undefined;
383
+ outputs?: {
384
+ type: "websocket" | "api" | "skill";
385
+ destination: string;
386
+ format: "cesium_command" | "json" | "text";
387
+ }[] | undefined;
388
+ }[];
389
+ routing: {
390
+ fromAgentId: string;
391
+ toAgentId: string;
392
+ messageType: string;
393
+ transform?: string | undefined;
394
+ }[];
395
+ }, {
396
+ triggers: {
397
+ id: string;
398
+ targetAgentId: string;
399
+ sourceAgentId: string;
400
+ eventType: string;
401
+ condition?: string | undefined;
402
+ }[];
403
+ mainAgent: {
404
+ id: string;
405
+ type: "main" | "sub";
406
+ name: string;
407
+ description: string;
408
+ skills: any[];
409
+ mcps: any[];
410
+ modelConfig?: any;
411
+ agentConfig?: any;
412
+ triggers?: {
413
+ source: string;
414
+ type: "event" | "message" | "schedule" | "condition";
415
+ condition?: string | undefined;
416
+ targetAgentId?: string | undefined;
417
+ }[] | undefined;
418
+ outputs?: {
419
+ type: "websocket" | "api" | "skill";
420
+ destination: string;
421
+ format: "cesium_command" | "json" | "text";
422
+ }[] | undefined;
423
+ };
424
+ subAgents: {
425
+ id: string;
426
+ type: "main" | "sub";
427
+ name: string;
428
+ description: string;
429
+ skills: any[];
430
+ mcps: any[];
431
+ modelConfig?: any;
432
+ agentConfig?: any;
433
+ triggers?: {
434
+ source: string;
435
+ type: "event" | "message" | "schedule" | "condition";
436
+ condition?: string | undefined;
437
+ targetAgentId?: string | undefined;
438
+ }[] | undefined;
439
+ outputs?: {
440
+ type: "websocket" | "api" | "skill";
441
+ destination: string;
442
+ format: "cesium_command" | "json" | "text";
443
+ }[] | undefined;
444
+ }[];
445
+ routing: {
446
+ fromAgentId: string;
447
+ toAgentId: string;
448
+ messageType: string;
449
+ transform?: string | undefined;
450
+ }[];
451
+ }>;
452
+ export declare const AgentMetadataSchema: z.ZodObject<{
453
+ id: z.ZodString;
454
+ name: z.ZodString;
455
+ displayName: z.ZodString;
456
+ description: z.ZodString;
457
+ category: z.ZodEnum<["industry", "domain", "general"]>;
458
+ tags: z.ZodArray<z.ZodString, "many">;
459
+ author: z.ZodString;
460
+ version: z.ZodString;
461
+ createdAt: z.ZodString;
462
+ updatedAt: z.ZodString;
463
+ status: z.ZodEnum<["draft", "published", "deprecated"]>;
464
+ skills: z.ZodArray<z.ZodString, "many">;
465
+ mcps: z.ZodArray<z.ZodString, "many">;
466
+ wikiRequired: z.ZodDefault<z.ZodBoolean>;
467
+ smartEarthEnabled: z.ZodDefault<z.ZodBoolean>;
468
+ capabilities: z.ZodArray<z.ZodString, "many">;
469
+ limitations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
470
+ useCases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
471
+ requirements: z.ZodOptional<z.ZodObject<{
472
+ minContextLength: z.ZodOptional<z.ZodNumber>;
473
+ recommendedModel: z.ZodOptional<z.ZodString>;
474
+ requiredSkills: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
475
+ requiredMCPs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
476
+ }, "strip", z.ZodTypeAny, {
477
+ minContextLength?: number | undefined;
478
+ recommendedModel?: string | undefined;
479
+ requiredSkills?: string[] | undefined;
480
+ requiredMCPs?: string[] | undefined;
481
+ }, {
482
+ minContextLength?: number | undefined;
483
+ recommendedModel?: string | undefined;
484
+ requiredSkills?: string[] | undefined;
485
+ requiredMCPs?: string[] | undefined;
486
+ }>>;
487
+ }, "strip", z.ZodTypeAny, {
488
+ status: "draft" | "published" | "deprecated";
489
+ id: string;
490
+ name: string;
491
+ description: string;
492
+ skills: string[];
493
+ mcps: string[];
494
+ displayName: string;
495
+ category: "industry" | "domain" | "general";
496
+ tags: string[];
497
+ author: string;
498
+ version: string;
499
+ createdAt: string;
500
+ updatedAt: string;
501
+ wikiRequired: boolean;
502
+ smartEarthEnabled: boolean;
503
+ capabilities: string[];
504
+ limitations?: string[] | undefined;
505
+ useCases?: string[] | undefined;
506
+ requirements?: {
507
+ minContextLength?: number | undefined;
508
+ recommendedModel?: string | undefined;
509
+ requiredSkills?: string[] | undefined;
510
+ requiredMCPs?: string[] | undefined;
511
+ } | undefined;
512
+ }, {
513
+ status: "draft" | "published" | "deprecated";
514
+ id: string;
515
+ name: string;
516
+ description: string;
517
+ skills: string[];
518
+ mcps: string[];
519
+ displayName: string;
520
+ category: "industry" | "domain" | "general";
521
+ tags: string[];
522
+ author: string;
523
+ version: string;
524
+ createdAt: string;
525
+ updatedAt: string;
526
+ capabilities: string[];
527
+ wikiRequired?: boolean | undefined;
528
+ smartEarthEnabled?: boolean | undefined;
529
+ limitations?: string[] | undefined;
530
+ useCases?: string[] | undefined;
531
+ requirements?: {
532
+ minContextLength?: number | undefined;
533
+ recommendedModel?: string | undefined;
534
+ requiredSkills?: string[] | undefined;
535
+ requiredMCPs?: string[] | undefined;
536
+ } | undefined;
537
+ }>;
538
+ export declare const AgentTemplateSchema: z.ZodObject<{
539
+ id: z.ZodString;
540
+ name: z.ZodString;
541
+ description: z.ZodString;
542
+ category: z.ZodEnum<["industry", "domain", "demo", "starter"]>;
543
+ baseConfig: z.ZodObject<{
544
+ id: z.ZodOptional<z.ZodString>;
545
+ name: z.ZodOptional<z.ZodString>;
546
+ description: z.ZodOptional<z.ZodString>;
547
+ type: z.ZodOptional<z.ZodEnum<["main", "sub"]>>;
548
+ skills: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
549
+ mcps: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
550
+ modelConfig: z.ZodOptional<z.ZodAny>;
551
+ agentConfig: z.ZodOptional<z.ZodAny>;
552
+ triggers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
553
+ type: z.ZodEnum<["event", "message", "schedule", "condition"]>;
554
+ source: z.ZodString;
555
+ condition: z.ZodOptional<z.ZodString>;
556
+ targetAgentId: z.ZodOptional<z.ZodString>;
557
+ }, "strip", z.ZodTypeAny, {
558
+ source: string;
559
+ type: "event" | "message" | "schedule" | "condition";
560
+ condition?: string | undefined;
561
+ targetAgentId?: string | undefined;
562
+ }, {
563
+ source: string;
564
+ type: "event" | "message" | "schedule" | "condition";
565
+ condition?: string | undefined;
566
+ targetAgentId?: string | undefined;
567
+ }>, "many">>>;
568
+ outputs: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
569
+ type: z.ZodEnum<["websocket", "api", "skill"]>;
570
+ destination: z.ZodString;
571
+ format: z.ZodEnum<["text", "json", "cesium_command"]>;
572
+ }, "strip", z.ZodTypeAny, {
573
+ type: "websocket" | "api" | "skill";
574
+ destination: string;
575
+ format: "cesium_command" | "json" | "text";
576
+ }, {
577
+ type: "websocket" | "api" | "skill";
578
+ destination: string;
579
+ format: "cesium_command" | "json" | "text";
580
+ }>, "many">>>;
581
+ }, "strip", z.ZodTypeAny, {
582
+ id?: string | undefined;
583
+ type?: "main" | "sub" | undefined;
584
+ name?: string | undefined;
585
+ description?: string | undefined;
586
+ skills?: any[] | undefined;
587
+ mcps?: any[] | undefined;
588
+ modelConfig?: any;
589
+ agentConfig?: any;
590
+ triggers?: {
591
+ source: string;
592
+ type: "event" | "message" | "schedule" | "condition";
593
+ condition?: string | undefined;
594
+ targetAgentId?: string | undefined;
595
+ }[] | undefined;
596
+ outputs?: {
597
+ type: "websocket" | "api" | "skill";
598
+ destination: string;
599
+ format: "cesium_command" | "json" | "text";
600
+ }[] | undefined;
601
+ }, {
602
+ id?: string | undefined;
603
+ type?: "main" | "sub" | undefined;
604
+ name?: string | undefined;
605
+ description?: string | undefined;
606
+ skills?: any[] | undefined;
607
+ mcps?: any[] | undefined;
608
+ modelConfig?: any;
609
+ agentConfig?: any;
610
+ triggers?: {
611
+ source: string;
612
+ type: "event" | "message" | "schedule" | "condition";
613
+ condition?: string | undefined;
614
+ targetAgentId?: string | undefined;
615
+ }[] | undefined;
616
+ outputs?: {
617
+ type: "websocket" | "api" | "skill";
618
+ destination: string;
619
+ format: "cesium_command" | "json" | "text";
620
+ }[] | undefined;
621
+ }>;
622
+ defaultSkills: z.ZodArray<z.ZodString, "many">;
623
+ defaultMCPs: z.ZodArray<z.ZodString, "many">;
624
+ customizableFields: z.ZodArray<z.ZodString, "many">;
625
+ previewImage: z.ZodOptional<z.ZodString>;
626
+ documentationUrl: z.ZodOptional<z.ZodString>;
627
+ setupGuide: z.ZodOptional<z.ZodString>;
628
+ exampleConfigs: z.ZodOptional<z.ZodArray<z.ZodObject<{
629
+ id: z.ZodString;
630
+ name: z.ZodString;
631
+ description: z.ZodString;
632
+ type: z.ZodEnum<["main", "sub"]>;
633
+ skills: z.ZodArray<z.ZodAny, "many">;
634
+ mcps: z.ZodArray<z.ZodAny, "many">;
635
+ modelConfig: z.ZodAny;
636
+ agentConfig: z.ZodAny;
637
+ triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
638
+ type: z.ZodEnum<["event", "message", "schedule", "condition"]>;
639
+ source: z.ZodString;
640
+ condition: z.ZodOptional<z.ZodString>;
641
+ targetAgentId: z.ZodOptional<z.ZodString>;
642
+ }, "strip", z.ZodTypeAny, {
643
+ source: string;
644
+ type: "event" | "message" | "schedule" | "condition";
645
+ condition?: string | undefined;
646
+ targetAgentId?: string | undefined;
647
+ }, {
648
+ source: string;
649
+ type: "event" | "message" | "schedule" | "condition";
650
+ condition?: string | undefined;
651
+ targetAgentId?: string | undefined;
652
+ }>, "many">>;
653
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
654
+ type: z.ZodEnum<["websocket", "api", "skill"]>;
655
+ destination: z.ZodString;
656
+ format: z.ZodEnum<["text", "json", "cesium_command"]>;
657
+ }, "strip", z.ZodTypeAny, {
658
+ type: "websocket" | "api" | "skill";
659
+ destination: string;
660
+ format: "cesium_command" | "json" | "text";
661
+ }, {
662
+ type: "websocket" | "api" | "skill";
663
+ destination: string;
664
+ format: "cesium_command" | "json" | "text";
665
+ }>, "many">>;
666
+ }, "strip", z.ZodTypeAny, {
667
+ id: string;
668
+ type: "main" | "sub";
669
+ name: string;
670
+ description: string;
671
+ skills: any[];
672
+ mcps: any[];
673
+ modelConfig?: any;
674
+ agentConfig?: any;
675
+ triggers?: {
676
+ source: string;
677
+ type: "event" | "message" | "schedule" | "condition";
678
+ condition?: string | undefined;
679
+ targetAgentId?: string | undefined;
680
+ }[] | undefined;
681
+ outputs?: {
682
+ type: "websocket" | "api" | "skill";
683
+ destination: string;
684
+ format: "cesium_command" | "json" | "text";
685
+ }[] | undefined;
686
+ }, {
687
+ id: string;
688
+ type: "main" | "sub";
689
+ name: string;
690
+ description: string;
691
+ skills: any[];
692
+ mcps: any[];
693
+ modelConfig?: any;
694
+ agentConfig?: any;
695
+ triggers?: {
696
+ source: string;
697
+ type: "event" | "message" | "schedule" | "condition";
698
+ condition?: string | undefined;
699
+ targetAgentId?: string | undefined;
700
+ }[] | undefined;
701
+ outputs?: {
702
+ type: "websocket" | "api" | "skill";
703
+ destination: string;
704
+ format: "cesium_command" | "json" | "text";
705
+ }[] | undefined;
706
+ }>, "many">>;
707
+ }, "strip", z.ZodTypeAny, {
708
+ id: string;
709
+ name: string;
710
+ description: string;
711
+ category: "industry" | "domain" | "demo" | "starter";
712
+ baseConfig: {
713
+ id?: string | undefined;
714
+ type?: "main" | "sub" | undefined;
715
+ name?: string | undefined;
716
+ description?: string | undefined;
717
+ skills?: any[] | undefined;
718
+ mcps?: any[] | undefined;
719
+ modelConfig?: any;
720
+ agentConfig?: any;
721
+ triggers?: {
722
+ source: string;
723
+ type: "event" | "message" | "schedule" | "condition";
724
+ condition?: string | undefined;
725
+ targetAgentId?: string | undefined;
726
+ }[] | undefined;
727
+ outputs?: {
728
+ type: "websocket" | "api" | "skill";
729
+ destination: string;
730
+ format: "cesium_command" | "json" | "text";
731
+ }[] | undefined;
732
+ };
733
+ defaultSkills: string[];
734
+ defaultMCPs: string[];
735
+ customizableFields: string[];
736
+ previewImage?: string | undefined;
737
+ documentationUrl?: string | undefined;
738
+ setupGuide?: string | undefined;
739
+ exampleConfigs?: {
740
+ id: string;
741
+ type: "main" | "sub";
742
+ name: string;
743
+ description: string;
744
+ skills: any[];
745
+ mcps: any[];
746
+ modelConfig?: any;
747
+ agentConfig?: any;
748
+ triggers?: {
749
+ source: string;
750
+ type: "event" | "message" | "schedule" | "condition";
751
+ condition?: string | undefined;
752
+ targetAgentId?: string | undefined;
753
+ }[] | undefined;
754
+ outputs?: {
755
+ type: "websocket" | "api" | "skill";
756
+ destination: string;
757
+ format: "cesium_command" | "json" | "text";
758
+ }[] | undefined;
759
+ }[] | undefined;
760
+ }, {
761
+ id: string;
762
+ name: string;
763
+ description: string;
764
+ category: "industry" | "domain" | "demo" | "starter";
765
+ baseConfig: {
766
+ id?: string | undefined;
767
+ type?: "main" | "sub" | undefined;
768
+ name?: string | undefined;
769
+ description?: string | undefined;
770
+ skills?: any[] | undefined;
771
+ mcps?: any[] | undefined;
772
+ modelConfig?: any;
773
+ agentConfig?: any;
774
+ triggers?: {
775
+ source: string;
776
+ type: "event" | "message" | "schedule" | "condition";
777
+ condition?: string | undefined;
778
+ targetAgentId?: string | undefined;
779
+ }[] | undefined;
780
+ outputs?: {
781
+ type: "websocket" | "api" | "skill";
782
+ destination: string;
783
+ format: "cesium_command" | "json" | "text";
784
+ }[] | undefined;
785
+ };
786
+ defaultSkills: string[];
787
+ defaultMCPs: string[];
788
+ customizableFields: string[];
789
+ previewImage?: string | undefined;
790
+ documentationUrl?: string | undefined;
791
+ setupGuide?: string | undefined;
792
+ exampleConfigs?: {
793
+ id: string;
794
+ type: "main" | "sub";
795
+ name: string;
796
+ description: string;
797
+ skills: any[];
798
+ mcps: any[];
799
+ modelConfig?: any;
800
+ agentConfig?: any;
801
+ triggers?: {
802
+ source: string;
803
+ type: "event" | "message" | "schedule" | "condition";
804
+ condition?: string | undefined;
805
+ targetAgentId?: string | undefined;
806
+ }[] | undefined;
807
+ outputs?: {
808
+ type: "websocket" | "api" | "skill";
809
+ destination: string;
810
+ format: "cesium_command" | "json" | "text";
811
+ }[] | undefined;
812
+ }[] | undefined;
813
+ }>;
814
+ export declare const AgentInstanceSchema: z.ZodObject<{
815
+ id: z.ZodString;
816
+ agentId: z.ZodString;
817
+ agentName: z.ZodString;
818
+ instanceId: z.ZodString;
819
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
820
+ status: z.ZodEnum<["running", "idle", "error", "stopped"]>;
821
+ startedAt: z.ZodOptional<z.ZodString>;
822
+ lastActivityAt: z.ZodOptional<z.ZodString>;
823
+ currentSession: z.ZodOptional<z.ZodString>;
824
+ metrics: z.ZodOptional<z.ZodObject<{
825
+ totalSessions: z.ZodDefault<z.ZodNumber>;
826
+ totalMessages: z.ZodDefault<z.ZodNumber>;
827
+ averageResponseTime: z.ZodOptional<z.ZodNumber>;
828
+ errorCount: z.ZodDefault<z.ZodNumber>;
829
+ memoryUsage: z.ZodOptional<z.ZodNumber>;
830
+ cpuUsage: z.ZodOptional<z.ZodNumber>;
831
+ }, "strip", z.ZodTypeAny, {
832
+ totalSessions: number;
833
+ totalMessages: number;
834
+ errorCount: number;
835
+ averageResponseTime?: number | undefined;
836
+ memoryUsage?: number | undefined;
837
+ cpuUsage?: number | undefined;
838
+ }, {
839
+ totalSessions?: number | undefined;
840
+ totalMessages?: number | undefined;
841
+ averageResponseTime?: number | undefined;
842
+ errorCount?: number | undefined;
843
+ memoryUsage?: number | undefined;
844
+ cpuUsage?: number | undefined;
845
+ }>>;
846
+ }, "strip", z.ZodTypeAny, {
847
+ status: "error" | "idle" | "running" | "stopped";
848
+ agentId: string;
849
+ id: string;
850
+ tags: string[];
851
+ agentName: string;
852
+ instanceId: string;
853
+ startedAt?: string | undefined;
854
+ lastActivityAt?: string | undefined;
855
+ currentSession?: string | undefined;
856
+ metrics?: {
857
+ totalSessions: number;
858
+ totalMessages: number;
859
+ errorCount: number;
860
+ averageResponseTime?: number | undefined;
861
+ memoryUsage?: number | undefined;
862
+ cpuUsage?: number | undefined;
863
+ } | undefined;
864
+ }, {
865
+ status: "error" | "idle" | "running" | "stopped";
866
+ agentId: string;
867
+ id: string;
868
+ agentName: string;
869
+ instanceId: string;
870
+ tags?: string[] | undefined;
871
+ startedAt?: string | undefined;
872
+ lastActivityAt?: string | undefined;
873
+ currentSession?: string | undefined;
874
+ metrics?: {
875
+ totalSessions?: number | undefined;
876
+ totalMessages?: number | undefined;
877
+ averageResponseTime?: number | undefined;
878
+ errorCount?: number | undefined;
879
+ memoryUsage?: number | undefined;
880
+ cpuUsage?: number | undefined;
881
+ } | undefined;
882
+ }>;
883
+ export declare const AgentSmartAssistantConfigSchema: z.ZodObject<{
884
+ enabled: z.ZodDefault<z.ZodBoolean>;
885
+ model: z.ZodOptional<z.ZodString>;
886
+ systemPrompt: z.ZodOptional<z.ZodString>;
887
+ capabilities: z.ZodArray<z.ZodEnum<["generate_agent_config", "suggest_skills", "suggest_mcps", "configure_triggers", "setup_routing", "create_workflow"]>, "many">;
888
+ contextWindowSize: z.ZodDefault<z.ZodNumber>;
889
+ }, "strip", z.ZodTypeAny, {
890
+ capabilities: ("generate_agent_config" | "suggest_skills" | "suggest_mcps" | "configure_triggers" | "setup_routing" | "create_workflow")[];
891
+ enabled: boolean;
892
+ contextWindowSize: number;
893
+ model?: string | undefined;
894
+ systemPrompt?: string | undefined;
895
+ }, {
896
+ capabilities: ("generate_agent_config" | "suggest_skills" | "suggest_mcps" | "configure_triggers" | "setup_routing" | "create_workflow")[];
897
+ enabled?: boolean | undefined;
898
+ model?: string | undefined;
899
+ systemPrompt?: string | undefined;
900
+ contextWindowSize?: number | undefined;
901
+ }>;