@comma-agents/core 2.0.0-rc.0 → 2.0.0-rc.1

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 (75) hide show
  1. package/dist/agents/agent/agent.types.d.ts +2 -2
  2. package/dist/agents/loader/index.d.ts +2 -2
  3. package/dist/agents/loader/loader.d.ts +3 -5
  4. package/dist/agents/loader/loader.schema.d.ts +226 -13
  5. package/dist/agents/loader/loader.types.d.ts +9 -8
  6. package/dist/agents/registry/agent-registry.constants.d.ts +1 -0
  7. package/dist/agents/registry/agent-registry.d.ts +38 -0
  8. package/dist/agents/registry/agent-registry.types.d.ts +58 -0
  9. package/dist/agents/registry/index.d.ts +2 -0
  10. package/dist/credentials/backends/json-file.d.ts +1 -1
  11. package/dist/credentials/credentials.constants.d.ts +2 -0
  12. package/dist/credentials/credentials.utils.d.ts +0 -19
  13. package/dist/credentials/index.d.ts +1 -1
  14. package/dist/data-directory/data-directory.d.ts +11 -0
  15. package/dist/data-directory/index.d.ts +1 -0
  16. package/dist/defaults/defaults.d.ts +1 -1
  17. package/dist/flows/index.d.ts +2 -0
  18. package/dist/flows/loader/loader.schema.d.ts +2 -195
  19. package/dist/flows/loader/loader.utils.d.ts +5 -0
  20. package/dist/flows/registry/flow-registry.constants.d.ts +1 -0
  21. package/dist/flows/registry/flow-registry.d.ts +45 -0
  22. package/dist/flows/registry/flow-registry.types.d.ts +31 -0
  23. package/dist/flows/registry/index.d.ts +2 -0
  24. package/dist/hub/archive/archive.d.ts +2 -0
  25. package/dist/hub/archive/index.d.ts +1 -0
  26. package/dist/hub/comma-project.schema.json +171 -0
  27. package/dist/hub/hub.constants.d.ts +5 -0
  28. package/dist/hub/hub.d.ts +13 -0
  29. package/dist/hub/hub.schema.d.ts +1093 -0
  30. package/dist/hub/hub.types.d.ts +50 -0
  31. package/dist/hub/hub.utils.d.ts +3 -0
  32. package/dist/hub/index.d.ts +3 -0
  33. package/dist/hub/index.js +404 -0
  34. package/dist/hub/installed-packages/index.d.ts +2 -0
  35. package/dist/hub/installed-packages/installed-packages.d.ts +3 -0
  36. package/dist/hub/installed-packages/installed-packages.types.d.ts +14 -0
  37. package/dist/hub/package-installer/index.d.ts +2 -0
  38. package/dist/hub/package-installer/package-installer.d.ts +3 -0
  39. package/dist/hub/package-installer/package-installer.types.d.ts +11 -0
  40. package/dist/hub/registry-client/index.d.ts +2 -0
  41. package/dist/hub/registry-client/registry-client.d.ts +3 -0
  42. package/dist/hub/registry-client/registry-client.types.d.ts +10 -0
  43. package/dist/index.d.ts +13 -10
  44. package/dist/index.js +1386 -769
  45. package/dist/model/providers/catalog/catalog.utils.d.ts +2 -9
  46. package/dist/skills/skills.constants.d.ts +2 -2
  47. package/dist/skills/skills.types.d.ts +1 -1
  48. package/dist/skills/skills.utils.d.ts +0 -10
  49. package/dist/strategies/@comma/core-strategies/README.md +9 -0
  50. package/dist/strategies/@comma/core-strategies/build/build.json +69 -0
  51. package/dist/strategies/@comma/core-strategies/build/prompts/coder.md +56 -0
  52. package/dist/strategies/@comma/core-strategies/build/prompts/tester.md +39 -0
  53. package/dist/strategies/@comma/core-strategies/comma-project.json +49 -0
  54. package/dist/strategies/@comma/core-strategies/plan/plan.json +66 -0
  55. package/dist/strategies/@comma/core-strategies/plan/prompts/planner.md +59 -0
  56. package/dist/strategies/@comma/core-strategies/plan/prompts/reviewer.md +34 -0
  57. package/dist/strategies/@comma/core-strategies/qa.json +36 -0
  58. package/dist/strategies/@comma/core-strategies/reduce-complexity/reduce-complexity.jsonc +24 -0
  59. package/dist/strategies/@comma/core-strategies/standardize/manager.jsonc +54 -0
  60. package/dist/strategies/@comma/core-strategies/standardize/prompts/manager.md +278 -0
  61. package/dist/strategies/@comma/core-strategies/standardize/prompts/worker-auditor.md +131 -0
  62. package/dist/strategies/@comma/core-strategies/standardize/prompts/worker-reviewer.md +58 -0
  63. package/dist/strategies/@comma/core-strategies/standardize/worker.jsonc +69 -0
  64. package/dist/strategies/@comma/core-strategies/talk.json +42 -0
  65. package/dist/strategy/discover/discover.d.ts +10 -2
  66. package/dist/strategy/discover/discover.types.d.ts +6 -5
  67. package/dist/strategy/discover/discover.utils.d.ts +2 -13
  68. package/dist/strategy/discover/index.d.ts +1 -1
  69. package/dist/strategy/index.d.ts +3 -3
  70. package/dist/strategy/loader/loader.types.d.ts +2 -70
  71. package/dist/strategy/loader/loader.utils.d.ts +1 -8
  72. package/dist/strategy/loader/project-loader.d.ts +7 -1
  73. package/dist/strategy/schema.d.ts +154 -60
  74. package/dist/tools/built-in/list-strategy/list-strategy.d.ts +2 -2
  75. package/package.json +18 -7
@@ -0,0 +1,1093 @@
1
+ import { z } from "zod";
2
+ export declare const HubPersonSchema: z.ZodObject<{
3
+ name: z.ZodString;
4
+ email: z.ZodOptional<z.ZodString>;
5
+ url: z.ZodOptional<z.ZodString>;
6
+ }, "strict", z.ZodTypeAny, {
7
+ name: string;
8
+ email?: string | undefined;
9
+ url?: string | undefined;
10
+ }, {
11
+ name: string;
12
+ email?: string | undefined;
13
+ url?: string | undefined;
14
+ }>;
15
+ export declare const HubEnvironmentVariableSchema: z.ZodObject<{
16
+ description: z.ZodOptional<z.ZodString>;
17
+ required: z.ZodOptional<z.ZodBoolean>;
18
+ default: z.ZodOptional<z.ZodString>;
19
+ example: z.ZodOptional<z.ZodString>;
20
+ }, "strict", z.ZodTypeAny, {
21
+ description?: string | undefined;
22
+ required?: boolean | undefined;
23
+ default?: string | undefined;
24
+ example?: string | undefined;
25
+ }, {
26
+ description?: string | undefined;
27
+ required?: boolean | undefined;
28
+ default?: string | undefined;
29
+ example?: string | undefined;
30
+ }>;
31
+ export declare const HubPermissionsSchema: z.ZodObject<{
32
+ network: z.ZodOptional<z.ZodBoolean>;
33
+ filesystem: z.ZodOptional<z.ZodBoolean>;
34
+ shell: z.ZodOptional<z.ZodBoolean>;
35
+ executesCode: z.ZodOptional<z.ZodBoolean>;
36
+ }, "strict", z.ZodTypeAny, {
37
+ network?: boolean | undefined;
38
+ filesystem?: boolean | undefined;
39
+ shell?: boolean | undefined;
40
+ executesCode?: boolean | undefined;
41
+ }, {
42
+ network?: boolean | undefined;
43
+ filesystem?: boolean | undefined;
44
+ shell?: boolean | undefined;
45
+ executesCode?: boolean | undefined;
46
+ }>;
47
+ export declare const ProjectArtifactEntrySchema: z.ZodObject<{
48
+ path: z.ZodString;
49
+ expose: z.ZodOptional<z.ZodBoolean>;
50
+ description: z.ZodOptional<z.ZodString>;
51
+ }, "strict", z.ZodTypeAny, {
52
+ path: string;
53
+ description?: string | undefined;
54
+ expose?: boolean | undefined;
55
+ }, {
56
+ path: string;
57
+ description?: string | undefined;
58
+ expose?: boolean | undefined;
59
+ }>;
60
+ export declare const CommaProjectManifestSchema: z.ZodObject<{
61
+ name: z.ZodString;
62
+ version: z.ZodString;
63
+ description: z.ZodOptional<z.ZodString>;
64
+ license: z.ZodOptional<z.ZodString>;
65
+ author: z.ZodOptional<z.ZodObject<{
66
+ name: z.ZodString;
67
+ email: z.ZodOptional<z.ZodString>;
68
+ url: z.ZodOptional<z.ZodString>;
69
+ }, "strict", z.ZodTypeAny, {
70
+ name: string;
71
+ email?: string | undefined;
72
+ url?: string | undefined;
73
+ }, {
74
+ name: string;
75
+ email?: string | undefined;
76
+ url?: string | undefined;
77
+ }>>;
78
+ contributors: z.ZodOptional<z.ZodArray<z.ZodObject<{
79
+ name: z.ZodString;
80
+ email: z.ZodOptional<z.ZodString>;
81
+ url: z.ZodOptional<z.ZodString>;
82
+ }, "strict", z.ZodTypeAny, {
83
+ name: string;
84
+ email?: string | undefined;
85
+ url?: string | undefined;
86
+ }, {
87
+ name: string;
88
+ email?: string | undefined;
89
+ url?: string | undefined;
90
+ }>, "many">>;
91
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
92
+ strategies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
93
+ path: z.ZodString;
94
+ expose: z.ZodOptional<z.ZodBoolean>;
95
+ description: z.ZodOptional<z.ZodString>;
96
+ }, "strict", z.ZodTypeAny, {
97
+ path: string;
98
+ description?: string | undefined;
99
+ expose?: boolean | undefined;
100
+ }, {
101
+ path: string;
102
+ description?: string | undefined;
103
+ expose?: boolean | undefined;
104
+ }>>>;
105
+ agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
106
+ path: z.ZodString;
107
+ expose: z.ZodOptional<z.ZodBoolean>;
108
+ description: z.ZodOptional<z.ZodString>;
109
+ }, "strict", z.ZodTypeAny, {
110
+ path: string;
111
+ description?: string | undefined;
112
+ expose?: boolean | undefined;
113
+ }, {
114
+ path: string;
115
+ description?: string | undefined;
116
+ expose?: boolean | undefined;
117
+ }>>>;
118
+ flows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
119
+ path: z.ZodString;
120
+ expose: z.ZodOptional<z.ZodBoolean>;
121
+ description: z.ZodOptional<z.ZodString>;
122
+ }, "strict", z.ZodTypeAny, {
123
+ path: string;
124
+ description?: string | undefined;
125
+ expose?: boolean | undefined;
126
+ }, {
127
+ path: string;
128
+ description?: string | undefined;
129
+ expose?: boolean | undefined;
130
+ }>>>;
131
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
132
+ path: z.ZodString;
133
+ expose: z.ZodOptional<z.ZodBoolean>;
134
+ description: z.ZodOptional<z.ZodString>;
135
+ }, "strict", z.ZodTypeAny, {
136
+ path: string;
137
+ description?: string | undefined;
138
+ expose?: boolean | undefined;
139
+ }, {
140
+ path: string;
141
+ description?: string | undefined;
142
+ expose?: boolean | undefined;
143
+ }>>>;
144
+ entry: z.ZodOptional<z.ZodString>;
145
+ dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
146
+ environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
147
+ description: z.ZodOptional<z.ZodString>;
148
+ required: z.ZodOptional<z.ZodBoolean>;
149
+ default: z.ZodOptional<z.ZodString>;
150
+ example: z.ZodOptional<z.ZodString>;
151
+ }, "strict", z.ZodTypeAny, {
152
+ description?: string | undefined;
153
+ required?: boolean | undefined;
154
+ default?: string | undefined;
155
+ example?: string | undefined;
156
+ }, {
157
+ description?: string | undefined;
158
+ required?: boolean | undefined;
159
+ default?: string | undefined;
160
+ example?: string | undefined;
161
+ }>>>;
162
+ permissions: z.ZodOptional<z.ZodObject<{
163
+ network: z.ZodOptional<z.ZodBoolean>;
164
+ filesystem: z.ZodOptional<z.ZodBoolean>;
165
+ shell: z.ZodOptional<z.ZodBoolean>;
166
+ executesCode: z.ZodOptional<z.ZodBoolean>;
167
+ }, "strict", z.ZodTypeAny, {
168
+ network?: boolean | undefined;
169
+ filesystem?: boolean | undefined;
170
+ shell?: boolean | undefined;
171
+ executesCode?: boolean | undefined;
172
+ }, {
173
+ network?: boolean | undefined;
174
+ filesystem?: boolean | undefined;
175
+ shell?: boolean | undefined;
176
+ executesCode?: boolean | undefined;
177
+ }>>;
178
+ links: z.ZodOptional<z.ZodObject<{
179
+ homepage: z.ZodOptional<z.ZodString>;
180
+ repository: z.ZodOptional<z.ZodString>;
181
+ docs: z.ZodOptional<z.ZodString>;
182
+ issues: z.ZodOptional<z.ZodString>;
183
+ }, "strict", z.ZodTypeAny, {
184
+ issues?: string | undefined;
185
+ homepage?: string | undefined;
186
+ repository?: string | undefined;
187
+ docs?: string | undefined;
188
+ }, {
189
+ issues?: string | undefined;
190
+ homepage?: string | undefined;
191
+ repository?: string | undefined;
192
+ docs?: string | undefined;
193
+ }>>;
194
+ }, "strict", z.ZodTypeAny, {
195
+ name: string;
196
+ version: string;
197
+ description?: string | undefined;
198
+ license?: string | undefined;
199
+ author?: {
200
+ name: string;
201
+ email?: string | undefined;
202
+ url?: string | undefined;
203
+ } | undefined;
204
+ contributors?: {
205
+ name: string;
206
+ email?: string | undefined;
207
+ url?: string | undefined;
208
+ }[] | undefined;
209
+ keywords?: string[] | undefined;
210
+ strategies?: Record<string, {
211
+ path: string;
212
+ description?: string | undefined;
213
+ expose?: boolean | undefined;
214
+ }> | undefined;
215
+ agents?: Record<string, {
216
+ path: string;
217
+ description?: string | undefined;
218
+ expose?: boolean | undefined;
219
+ }> | undefined;
220
+ flows?: Record<string, {
221
+ path: string;
222
+ description?: string | undefined;
223
+ expose?: boolean | undefined;
224
+ }> | undefined;
225
+ tools?: Record<string, {
226
+ path: string;
227
+ description?: string | undefined;
228
+ expose?: boolean | undefined;
229
+ }> | undefined;
230
+ entry?: string | undefined;
231
+ dependencies?: Record<string, string> | undefined;
232
+ environment?: Record<string, {
233
+ description?: string | undefined;
234
+ required?: boolean | undefined;
235
+ default?: string | undefined;
236
+ example?: string | undefined;
237
+ }> | undefined;
238
+ permissions?: {
239
+ network?: boolean | undefined;
240
+ filesystem?: boolean | undefined;
241
+ shell?: boolean | undefined;
242
+ executesCode?: boolean | undefined;
243
+ } | undefined;
244
+ links?: {
245
+ issues?: string | undefined;
246
+ homepage?: string | undefined;
247
+ repository?: string | undefined;
248
+ docs?: string | undefined;
249
+ } | undefined;
250
+ }, {
251
+ name: string;
252
+ version: string;
253
+ description?: string | undefined;
254
+ license?: string | undefined;
255
+ author?: {
256
+ name: string;
257
+ email?: string | undefined;
258
+ url?: string | undefined;
259
+ } | undefined;
260
+ contributors?: {
261
+ name: string;
262
+ email?: string | undefined;
263
+ url?: string | undefined;
264
+ }[] | undefined;
265
+ keywords?: string[] | undefined;
266
+ strategies?: Record<string, {
267
+ path: string;
268
+ description?: string | undefined;
269
+ expose?: boolean | undefined;
270
+ }> | undefined;
271
+ agents?: Record<string, {
272
+ path: string;
273
+ description?: string | undefined;
274
+ expose?: boolean | undefined;
275
+ }> | undefined;
276
+ flows?: Record<string, {
277
+ path: string;
278
+ description?: string | undefined;
279
+ expose?: boolean | undefined;
280
+ }> | undefined;
281
+ tools?: Record<string, {
282
+ path: string;
283
+ description?: string | undefined;
284
+ expose?: boolean | undefined;
285
+ }> | undefined;
286
+ entry?: string | undefined;
287
+ dependencies?: Record<string, string> | undefined;
288
+ environment?: Record<string, {
289
+ description?: string | undefined;
290
+ required?: boolean | undefined;
291
+ default?: string | undefined;
292
+ example?: string | undefined;
293
+ }> | undefined;
294
+ permissions?: {
295
+ network?: boolean | undefined;
296
+ filesystem?: boolean | undefined;
297
+ shell?: boolean | undefined;
298
+ executesCode?: boolean | undefined;
299
+ } | undefined;
300
+ links?: {
301
+ issues?: string | undefined;
302
+ homepage?: string | undefined;
303
+ repository?: string | undefined;
304
+ docs?: string | undefined;
305
+ } | undefined;
306
+ }>;
307
+ export declare const HubRegistryArtifactSchema: z.ZodObject<{
308
+ id: z.ZodString;
309
+ ref: z.ZodString;
310
+ path: z.ZodString;
311
+ description: z.ZodOptional<z.ZodString>;
312
+ }, "strict", z.ZodTypeAny, {
313
+ path: string;
314
+ id: string;
315
+ ref: string;
316
+ description?: string | undefined;
317
+ }, {
318
+ path: string;
319
+ id: string;
320
+ ref: string;
321
+ description?: string | undefined;
322
+ }>;
323
+ export declare const HubPackageSchema: z.ZodObject<{
324
+ name: z.ZodString;
325
+ version: z.ZodString;
326
+ description: z.ZodOptional<z.ZodString>;
327
+ license: z.ZodOptional<z.ZodString>;
328
+ path: z.ZodString;
329
+ author: z.ZodOptional<z.ZodObject<{
330
+ name: z.ZodString;
331
+ email: z.ZodOptional<z.ZodString>;
332
+ url: z.ZodOptional<z.ZodString>;
333
+ }, "strict", z.ZodTypeAny, {
334
+ name: string;
335
+ email?: string | undefined;
336
+ url?: string | undefined;
337
+ }, {
338
+ name: string;
339
+ email?: string | undefined;
340
+ url?: string | undefined;
341
+ }>>;
342
+ contributors: z.ZodOptional<z.ZodArray<z.ZodObject<{
343
+ name: z.ZodString;
344
+ email: z.ZodOptional<z.ZodString>;
345
+ url: z.ZodOptional<z.ZodString>;
346
+ }, "strict", z.ZodTypeAny, {
347
+ name: string;
348
+ email?: string | undefined;
349
+ url?: string | undefined;
350
+ }, {
351
+ name: string;
352
+ email?: string | undefined;
353
+ url?: string | undefined;
354
+ }>, "many">>;
355
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
356
+ exports: z.ZodObject<{
357
+ strategies: z.ZodArray<z.ZodObject<{
358
+ id: z.ZodString;
359
+ ref: z.ZodString;
360
+ path: z.ZodString;
361
+ description: z.ZodOptional<z.ZodString>;
362
+ }, "strict", z.ZodTypeAny, {
363
+ path: string;
364
+ id: string;
365
+ ref: string;
366
+ description?: string | undefined;
367
+ }, {
368
+ path: string;
369
+ id: string;
370
+ ref: string;
371
+ description?: string | undefined;
372
+ }>, "many">;
373
+ agents: z.ZodArray<z.ZodObject<{
374
+ id: z.ZodString;
375
+ ref: z.ZodString;
376
+ path: z.ZodString;
377
+ description: z.ZodOptional<z.ZodString>;
378
+ }, "strict", z.ZodTypeAny, {
379
+ path: string;
380
+ id: string;
381
+ ref: string;
382
+ description?: string | undefined;
383
+ }, {
384
+ path: string;
385
+ id: string;
386
+ ref: string;
387
+ description?: string | undefined;
388
+ }>, "many">;
389
+ flows: z.ZodArray<z.ZodObject<{
390
+ id: z.ZodString;
391
+ ref: z.ZodString;
392
+ path: z.ZodString;
393
+ description: z.ZodOptional<z.ZodString>;
394
+ }, "strict", z.ZodTypeAny, {
395
+ path: string;
396
+ id: string;
397
+ ref: string;
398
+ description?: string | undefined;
399
+ }, {
400
+ path: string;
401
+ id: string;
402
+ ref: string;
403
+ description?: string | undefined;
404
+ }>, "many">;
405
+ tools: z.ZodArray<z.ZodObject<{
406
+ id: z.ZodString;
407
+ ref: z.ZodString;
408
+ path: z.ZodString;
409
+ description: z.ZodOptional<z.ZodString>;
410
+ }, "strict", z.ZodTypeAny, {
411
+ path: string;
412
+ id: string;
413
+ ref: string;
414
+ description?: string | undefined;
415
+ }, {
416
+ path: string;
417
+ id: string;
418
+ ref: string;
419
+ description?: string | undefined;
420
+ }>, "many">;
421
+ }, "strict", z.ZodTypeAny, {
422
+ strategies: {
423
+ path: string;
424
+ id: string;
425
+ ref: string;
426
+ description?: string | undefined;
427
+ }[];
428
+ agents: {
429
+ path: string;
430
+ id: string;
431
+ ref: string;
432
+ description?: string | undefined;
433
+ }[];
434
+ flows: {
435
+ path: string;
436
+ id: string;
437
+ ref: string;
438
+ description?: string | undefined;
439
+ }[];
440
+ tools: {
441
+ path: string;
442
+ id: string;
443
+ ref: string;
444
+ description?: string | undefined;
445
+ }[];
446
+ }, {
447
+ strategies: {
448
+ path: string;
449
+ id: string;
450
+ ref: string;
451
+ description?: string | undefined;
452
+ }[];
453
+ agents: {
454
+ path: string;
455
+ id: string;
456
+ ref: string;
457
+ description?: string | undefined;
458
+ }[];
459
+ flows: {
460
+ path: string;
461
+ id: string;
462
+ ref: string;
463
+ description?: string | undefined;
464
+ }[];
465
+ tools: {
466
+ path: string;
467
+ id: string;
468
+ ref: string;
469
+ description?: string | undefined;
470
+ }[];
471
+ }>;
472
+ environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
473
+ description: z.ZodOptional<z.ZodString>;
474
+ required: z.ZodOptional<z.ZodBoolean>;
475
+ default: z.ZodOptional<z.ZodString>;
476
+ example: z.ZodOptional<z.ZodString>;
477
+ }, "strict", z.ZodTypeAny, {
478
+ description?: string | undefined;
479
+ required?: boolean | undefined;
480
+ default?: string | undefined;
481
+ example?: string | undefined;
482
+ }, {
483
+ description?: string | undefined;
484
+ required?: boolean | undefined;
485
+ default?: string | undefined;
486
+ example?: string | undefined;
487
+ }>>>;
488
+ permissions: z.ZodOptional<z.ZodObject<{
489
+ network: z.ZodOptional<z.ZodBoolean>;
490
+ filesystem: z.ZodOptional<z.ZodBoolean>;
491
+ shell: z.ZodOptional<z.ZodBoolean>;
492
+ executesCode: z.ZodOptional<z.ZodBoolean>;
493
+ }, "strict", z.ZodTypeAny, {
494
+ network?: boolean | undefined;
495
+ filesystem?: boolean | undefined;
496
+ shell?: boolean | undefined;
497
+ executesCode?: boolean | undefined;
498
+ }, {
499
+ network?: boolean | undefined;
500
+ filesystem?: boolean | undefined;
501
+ shell?: boolean | undefined;
502
+ executesCode?: boolean | undefined;
503
+ }>>;
504
+ links: z.ZodOptional<z.ZodObject<{
505
+ homepage: z.ZodOptional<z.ZodString>;
506
+ repository: z.ZodOptional<z.ZodString>;
507
+ docs: z.ZodOptional<z.ZodString>;
508
+ issues: z.ZodOptional<z.ZodString>;
509
+ }, "strict", z.ZodTypeAny, {
510
+ issues?: string | undefined;
511
+ homepage?: string | undefined;
512
+ repository?: string | undefined;
513
+ docs?: string | undefined;
514
+ }, {
515
+ issues?: string | undefined;
516
+ homepage?: string | undefined;
517
+ repository?: string | undefined;
518
+ docs?: string | undefined;
519
+ }>>;
520
+ }, "strict", z.ZodTypeAny, {
521
+ path: string;
522
+ name: string;
523
+ version: string;
524
+ exports: {
525
+ strategies: {
526
+ path: string;
527
+ id: string;
528
+ ref: string;
529
+ description?: string | undefined;
530
+ }[];
531
+ agents: {
532
+ path: string;
533
+ id: string;
534
+ ref: string;
535
+ description?: string | undefined;
536
+ }[];
537
+ flows: {
538
+ path: string;
539
+ id: string;
540
+ ref: string;
541
+ description?: string | undefined;
542
+ }[];
543
+ tools: {
544
+ path: string;
545
+ id: string;
546
+ ref: string;
547
+ description?: string | undefined;
548
+ }[];
549
+ };
550
+ description?: string | undefined;
551
+ license?: string | undefined;
552
+ author?: {
553
+ name: string;
554
+ email?: string | undefined;
555
+ url?: string | undefined;
556
+ } | undefined;
557
+ contributors?: {
558
+ name: string;
559
+ email?: string | undefined;
560
+ url?: string | undefined;
561
+ }[] | undefined;
562
+ keywords?: string[] | undefined;
563
+ environment?: Record<string, {
564
+ description?: string | undefined;
565
+ required?: boolean | undefined;
566
+ default?: string | undefined;
567
+ example?: string | undefined;
568
+ }> | undefined;
569
+ permissions?: {
570
+ network?: boolean | undefined;
571
+ filesystem?: boolean | undefined;
572
+ shell?: boolean | undefined;
573
+ executesCode?: boolean | undefined;
574
+ } | undefined;
575
+ links?: {
576
+ issues?: string | undefined;
577
+ homepage?: string | undefined;
578
+ repository?: string | undefined;
579
+ docs?: string | undefined;
580
+ } | undefined;
581
+ }, {
582
+ path: string;
583
+ name: string;
584
+ version: string;
585
+ exports: {
586
+ strategies: {
587
+ path: string;
588
+ id: string;
589
+ ref: string;
590
+ description?: string | undefined;
591
+ }[];
592
+ agents: {
593
+ path: string;
594
+ id: string;
595
+ ref: string;
596
+ description?: string | undefined;
597
+ }[];
598
+ flows: {
599
+ path: string;
600
+ id: string;
601
+ ref: string;
602
+ description?: string | undefined;
603
+ }[];
604
+ tools: {
605
+ path: string;
606
+ id: string;
607
+ ref: string;
608
+ description?: string | undefined;
609
+ }[];
610
+ };
611
+ description?: string | undefined;
612
+ license?: string | undefined;
613
+ author?: {
614
+ name: string;
615
+ email?: string | undefined;
616
+ url?: string | undefined;
617
+ } | undefined;
618
+ contributors?: {
619
+ name: string;
620
+ email?: string | undefined;
621
+ url?: string | undefined;
622
+ }[] | undefined;
623
+ keywords?: string[] | undefined;
624
+ environment?: Record<string, {
625
+ description?: string | undefined;
626
+ required?: boolean | undefined;
627
+ default?: string | undefined;
628
+ example?: string | undefined;
629
+ }> | undefined;
630
+ permissions?: {
631
+ network?: boolean | undefined;
632
+ filesystem?: boolean | undefined;
633
+ shell?: boolean | undefined;
634
+ executesCode?: boolean | undefined;
635
+ } | undefined;
636
+ links?: {
637
+ issues?: string | undefined;
638
+ homepage?: string | undefined;
639
+ repository?: string | undefined;
640
+ docs?: string | undefined;
641
+ } | undefined;
642
+ }>;
643
+ export declare const HubRegistrySchema: z.ZodObject<{
644
+ version: z.ZodLiteral<1>;
645
+ packages: z.ZodArray<z.ZodObject<{
646
+ name: z.ZodString;
647
+ version: z.ZodString;
648
+ description: z.ZodOptional<z.ZodString>;
649
+ license: z.ZodOptional<z.ZodString>;
650
+ path: z.ZodString;
651
+ author: z.ZodOptional<z.ZodObject<{
652
+ name: z.ZodString;
653
+ email: z.ZodOptional<z.ZodString>;
654
+ url: z.ZodOptional<z.ZodString>;
655
+ }, "strict", z.ZodTypeAny, {
656
+ name: string;
657
+ email?: string | undefined;
658
+ url?: string | undefined;
659
+ }, {
660
+ name: string;
661
+ email?: string | undefined;
662
+ url?: string | undefined;
663
+ }>>;
664
+ contributors: z.ZodOptional<z.ZodArray<z.ZodObject<{
665
+ name: z.ZodString;
666
+ email: z.ZodOptional<z.ZodString>;
667
+ url: z.ZodOptional<z.ZodString>;
668
+ }, "strict", z.ZodTypeAny, {
669
+ name: string;
670
+ email?: string | undefined;
671
+ url?: string | undefined;
672
+ }, {
673
+ name: string;
674
+ email?: string | undefined;
675
+ url?: string | undefined;
676
+ }>, "many">>;
677
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
678
+ exports: z.ZodObject<{
679
+ strategies: z.ZodArray<z.ZodObject<{
680
+ id: z.ZodString;
681
+ ref: z.ZodString;
682
+ path: z.ZodString;
683
+ description: z.ZodOptional<z.ZodString>;
684
+ }, "strict", z.ZodTypeAny, {
685
+ path: string;
686
+ id: string;
687
+ ref: string;
688
+ description?: string | undefined;
689
+ }, {
690
+ path: string;
691
+ id: string;
692
+ ref: string;
693
+ description?: string | undefined;
694
+ }>, "many">;
695
+ agents: z.ZodArray<z.ZodObject<{
696
+ id: z.ZodString;
697
+ ref: z.ZodString;
698
+ path: z.ZodString;
699
+ description: z.ZodOptional<z.ZodString>;
700
+ }, "strict", z.ZodTypeAny, {
701
+ path: string;
702
+ id: string;
703
+ ref: string;
704
+ description?: string | undefined;
705
+ }, {
706
+ path: string;
707
+ id: string;
708
+ ref: string;
709
+ description?: string | undefined;
710
+ }>, "many">;
711
+ flows: z.ZodArray<z.ZodObject<{
712
+ id: z.ZodString;
713
+ ref: z.ZodString;
714
+ path: z.ZodString;
715
+ description: z.ZodOptional<z.ZodString>;
716
+ }, "strict", z.ZodTypeAny, {
717
+ path: string;
718
+ id: string;
719
+ ref: string;
720
+ description?: string | undefined;
721
+ }, {
722
+ path: string;
723
+ id: string;
724
+ ref: string;
725
+ description?: string | undefined;
726
+ }>, "many">;
727
+ tools: z.ZodArray<z.ZodObject<{
728
+ id: z.ZodString;
729
+ ref: z.ZodString;
730
+ path: z.ZodString;
731
+ description: z.ZodOptional<z.ZodString>;
732
+ }, "strict", z.ZodTypeAny, {
733
+ path: string;
734
+ id: string;
735
+ ref: string;
736
+ description?: string | undefined;
737
+ }, {
738
+ path: string;
739
+ id: string;
740
+ ref: string;
741
+ description?: string | undefined;
742
+ }>, "many">;
743
+ }, "strict", z.ZodTypeAny, {
744
+ strategies: {
745
+ path: string;
746
+ id: string;
747
+ ref: string;
748
+ description?: string | undefined;
749
+ }[];
750
+ agents: {
751
+ path: string;
752
+ id: string;
753
+ ref: string;
754
+ description?: string | undefined;
755
+ }[];
756
+ flows: {
757
+ path: string;
758
+ id: string;
759
+ ref: string;
760
+ description?: string | undefined;
761
+ }[];
762
+ tools: {
763
+ path: string;
764
+ id: string;
765
+ ref: string;
766
+ description?: string | undefined;
767
+ }[];
768
+ }, {
769
+ strategies: {
770
+ path: string;
771
+ id: string;
772
+ ref: string;
773
+ description?: string | undefined;
774
+ }[];
775
+ agents: {
776
+ path: string;
777
+ id: string;
778
+ ref: string;
779
+ description?: string | undefined;
780
+ }[];
781
+ flows: {
782
+ path: string;
783
+ id: string;
784
+ ref: string;
785
+ description?: string | undefined;
786
+ }[];
787
+ tools: {
788
+ path: string;
789
+ id: string;
790
+ ref: string;
791
+ description?: string | undefined;
792
+ }[];
793
+ }>;
794
+ environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
795
+ description: z.ZodOptional<z.ZodString>;
796
+ required: z.ZodOptional<z.ZodBoolean>;
797
+ default: z.ZodOptional<z.ZodString>;
798
+ example: z.ZodOptional<z.ZodString>;
799
+ }, "strict", z.ZodTypeAny, {
800
+ description?: string | undefined;
801
+ required?: boolean | undefined;
802
+ default?: string | undefined;
803
+ example?: string | undefined;
804
+ }, {
805
+ description?: string | undefined;
806
+ required?: boolean | undefined;
807
+ default?: string | undefined;
808
+ example?: string | undefined;
809
+ }>>>;
810
+ permissions: z.ZodOptional<z.ZodObject<{
811
+ network: z.ZodOptional<z.ZodBoolean>;
812
+ filesystem: z.ZodOptional<z.ZodBoolean>;
813
+ shell: z.ZodOptional<z.ZodBoolean>;
814
+ executesCode: z.ZodOptional<z.ZodBoolean>;
815
+ }, "strict", z.ZodTypeAny, {
816
+ network?: boolean | undefined;
817
+ filesystem?: boolean | undefined;
818
+ shell?: boolean | undefined;
819
+ executesCode?: boolean | undefined;
820
+ }, {
821
+ network?: boolean | undefined;
822
+ filesystem?: boolean | undefined;
823
+ shell?: boolean | undefined;
824
+ executesCode?: boolean | undefined;
825
+ }>>;
826
+ links: z.ZodOptional<z.ZodObject<{
827
+ homepage: z.ZodOptional<z.ZodString>;
828
+ repository: z.ZodOptional<z.ZodString>;
829
+ docs: z.ZodOptional<z.ZodString>;
830
+ issues: z.ZodOptional<z.ZodString>;
831
+ }, "strict", z.ZodTypeAny, {
832
+ issues?: string | undefined;
833
+ homepage?: string | undefined;
834
+ repository?: string | undefined;
835
+ docs?: string | undefined;
836
+ }, {
837
+ issues?: string | undefined;
838
+ homepage?: string | undefined;
839
+ repository?: string | undefined;
840
+ docs?: string | undefined;
841
+ }>>;
842
+ }, "strict", z.ZodTypeAny, {
843
+ path: string;
844
+ name: string;
845
+ version: string;
846
+ exports: {
847
+ strategies: {
848
+ path: string;
849
+ id: string;
850
+ ref: string;
851
+ description?: string | undefined;
852
+ }[];
853
+ agents: {
854
+ path: string;
855
+ id: string;
856
+ ref: string;
857
+ description?: string | undefined;
858
+ }[];
859
+ flows: {
860
+ path: string;
861
+ id: string;
862
+ ref: string;
863
+ description?: string | undefined;
864
+ }[];
865
+ tools: {
866
+ path: string;
867
+ id: string;
868
+ ref: string;
869
+ description?: string | undefined;
870
+ }[];
871
+ };
872
+ description?: string | undefined;
873
+ license?: string | undefined;
874
+ author?: {
875
+ name: string;
876
+ email?: string | undefined;
877
+ url?: string | undefined;
878
+ } | undefined;
879
+ contributors?: {
880
+ name: string;
881
+ email?: string | undefined;
882
+ url?: string | undefined;
883
+ }[] | undefined;
884
+ keywords?: string[] | undefined;
885
+ environment?: Record<string, {
886
+ description?: string | undefined;
887
+ required?: boolean | undefined;
888
+ default?: string | undefined;
889
+ example?: string | undefined;
890
+ }> | undefined;
891
+ permissions?: {
892
+ network?: boolean | undefined;
893
+ filesystem?: boolean | undefined;
894
+ shell?: boolean | undefined;
895
+ executesCode?: boolean | undefined;
896
+ } | undefined;
897
+ links?: {
898
+ issues?: string | undefined;
899
+ homepage?: string | undefined;
900
+ repository?: string | undefined;
901
+ docs?: string | undefined;
902
+ } | undefined;
903
+ }, {
904
+ path: string;
905
+ name: string;
906
+ version: string;
907
+ exports: {
908
+ strategies: {
909
+ path: string;
910
+ id: string;
911
+ ref: string;
912
+ description?: string | undefined;
913
+ }[];
914
+ agents: {
915
+ path: string;
916
+ id: string;
917
+ ref: string;
918
+ description?: string | undefined;
919
+ }[];
920
+ flows: {
921
+ path: string;
922
+ id: string;
923
+ ref: string;
924
+ description?: string | undefined;
925
+ }[];
926
+ tools: {
927
+ path: string;
928
+ id: string;
929
+ ref: string;
930
+ description?: string | undefined;
931
+ }[];
932
+ };
933
+ description?: string | undefined;
934
+ license?: string | undefined;
935
+ author?: {
936
+ name: string;
937
+ email?: string | undefined;
938
+ url?: string | undefined;
939
+ } | undefined;
940
+ contributors?: {
941
+ name: string;
942
+ email?: string | undefined;
943
+ url?: string | undefined;
944
+ }[] | undefined;
945
+ keywords?: string[] | undefined;
946
+ environment?: Record<string, {
947
+ description?: string | undefined;
948
+ required?: boolean | undefined;
949
+ default?: string | undefined;
950
+ example?: string | undefined;
951
+ }> | undefined;
952
+ permissions?: {
953
+ network?: boolean | undefined;
954
+ filesystem?: boolean | undefined;
955
+ shell?: boolean | undefined;
956
+ executesCode?: boolean | undefined;
957
+ } | undefined;
958
+ links?: {
959
+ issues?: string | undefined;
960
+ homepage?: string | undefined;
961
+ repository?: string | undefined;
962
+ docs?: string | undefined;
963
+ } | undefined;
964
+ }>, "many">;
965
+ }, "strict", z.ZodTypeAny, {
966
+ version: 1;
967
+ packages: {
968
+ path: string;
969
+ name: string;
970
+ version: string;
971
+ exports: {
972
+ strategies: {
973
+ path: string;
974
+ id: string;
975
+ ref: string;
976
+ description?: string | undefined;
977
+ }[];
978
+ agents: {
979
+ path: string;
980
+ id: string;
981
+ ref: string;
982
+ description?: string | undefined;
983
+ }[];
984
+ flows: {
985
+ path: string;
986
+ id: string;
987
+ ref: string;
988
+ description?: string | undefined;
989
+ }[];
990
+ tools: {
991
+ path: string;
992
+ id: string;
993
+ ref: string;
994
+ description?: string | undefined;
995
+ }[];
996
+ };
997
+ description?: string | undefined;
998
+ license?: string | undefined;
999
+ author?: {
1000
+ name: string;
1001
+ email?: string | undefined;
1002
+ url?: string | undefined;
1003
+ } | undefined;
1004
+ contributors?: {
1005
+ name: string;
1006
+ email?: string | undefined;
1007
+ url?: string | undefined;
1008
+ }[] | undefined;
1009
+ keywords?: string[] | undefined;
1010
+ environment?: Record<string, {
1011
+ description?: string | undefined;
1012
+ required?: boolean | undefined;
1013
+ default?: string | undefined;
1014
+ example?: string | undefined;
1015
+ }> | undefined;
1016
+ permissions?: {
1017
+ network?: boolean | undefined;
1018
+ filesystem?: boolean | undefined;
1019
+ shell?: boolean | undefined;
1020
+ executesCode?: boolean | undefined;
1021
+ } | undefined;
1022
+ links?: {
1023
+ issues?: string | undefined;
1024
+ homepage?: string | undefined;
1025
+ repository?: string | undefined;
1026
+ docs?: string | undefined;
1027
+ } | undefined;
1028
+ }[];
1029
+ }, {
1030
+ version: 1;
1031
+ packages: {
1032
+ path: string;
1033
+ name: string;
1034
+ version: string;
1035
+ exports: {
1036
+ strategies: {
1037
+ path: string;
1038
+ id: string;
1039
+ ref: string;
1040
+ description?: string | undefined;
1041
+ }[];
1042
+ agents: {
1043
+ path: string;
1044
+ id: string;
1045
+ ref: string;
1046
+ description?: string | undefined;
1047
+ }[];
1048
+ flows: {
1049
+ path: string;
1050
+ id: string;
1051
+ ref: string;
1052
+ description?: string | undefined;
1053
+ }[];
1054
+ tools: {
1055
+ path: string;
1056
+ id: string;
1057
+ ref: string;
1058
+ description?: string | undefined;
1059
+ }[];
1060
+ };
1061
+ description?: string | undefined;
1062
+ license?: string | undefined;
1063
+ author?: {
1064
+ name: string;
1065
+ email?: string | undefined;
1066
+ url?: string | undefined;
1067
+ } | undefined;
1068
+ contributors?: {
1069
+ name: string;
1070
+ email?: string | undefined;
1071
+ url?: string | undefined;
1072
+ }[] | undefined;
1073
+ keywords?: string[] | undefined;
1074
+ environment?: Record<string, {
1075
+ description?: string | undefined;
1076
+ required?: boolean | undefined;
1077
+ default?: string | undefined;
1078
+ example?: string | undefined;
1079
+ }> | undefined;
1080
+ permissions?: {
1081
+ network?: boolean | undefined;
1082
+ filesystem?: boolean | undefined;
1083
+ shell?: boolean | undefined;
1084
+ executesCode?: boolean | undefined;
1085
+ } | undefined;
1086
+ links?: {
1087
+ issues?: string | undefined;
1088
+ homepage?: string | undefined;
1089
+ repository?: string | undefined;
1090
+ docs?: string | undefined;
1091
+ } | undefined;
1092
+ }[];
1093
+ }>;