@caddis/cli 0.4.75 → 0.4.77

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,733 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "Hub collect output",
4
+ "type": "object",
5
+ "required": [
6
+ "schema",
7
+ "generated_at",
8
+ "repos",
9
+ "spend",
10
+ "guide"
11
+ ],
12
+ "properties": {
13
+ "schema": {
14
+ "type": "integer"
15
+ },
16
+ "generated_at": {
17
+ "type": "string"
18
+ },
19
+ "repos": {
20
+ "type": "array",
21
+ "items": {
22
+ "oneOf": [
23
+ {
24
+ "type": "object",
25
+ "required": [
26
+ "path",
27
+ "fingerprint",
28
+ "roadmaps",
29
+ "plans",
30
+ "relays"
31
+ ],
32
+ "properties": {
33
+ "path": {
34
+ "type": "string"
35
+ },
36
+ "fingerprint": {
37
+ "type": "string"
38
+ },
39
+ "roadmaps": {
40
+ "oneOf": [
41
+ {
42
+ "type": "object",
43
+ "required": [
44
+ "schema",
45
+ "roadmaps"
46
+ ],
47
+ "properties": {
48
+ "schema": {
49
+ "type": "integer"
50
+ },
51
+ "roadmaps": {
52
+ "type": "array",
53
+ "items": {
54
+ "oneOf": [
55
+ {
56
+ "type": "object",
57
+ "required": [
58
+ "roadmap",
59
+ "branch",
60
+ "runner_host",
61
+ "done",
62
+ "total",
63
+ "next",
64
+ "milestones",
65
+ "line"
66
+ ],
67
+ "properties": {
68
+ "roadmap": {
69
+ "type": "string"
70
+ },
71
+ "branch": {
72
+ "type": [
73
+ "string",
74
+ "null"
75
+ ]
76
+ },
77
+ "runner_host": {
78
+ "type": [
79
+ "string",
80
+ "null"
81
+ ]
82
+ },
83
+ "done": {
84
+ "type": "integer"
85
+ },
86
+ "total": {
87
+ "type": "integer"
88
+ },
89
+ "next": {
90
+ "type": [
91
+ "object",
92
+ "null"
93
+ ],
94
+ "required": [
95
+ "milestone",
96
+ "plan",
97
+ "phase"
98
+ ],
99
+ "properties": {
100
+ "milestone": {
101
+ "type": "string"
102
+ },
103
+ "plan": {
104
+ "type": "string"
105
+ },
106
+ "phase": {
107
+ "type": "integer"
108
+ }
109
+ }
110
+ },
111
+ "milestones": {
112
+ "type": "array",
113
+ "items": {
114
+ "type": "object",
115
+ "required": [
116
+ "id",
117
+ "status",
118
+ "owner",
119
+ "target",
120
+ "depends",
121
+ "phases",
122
+ "blockers"
123
+ ],
124
+ "properties": {
125
+ "id": {
126
+ "type": "string"
127
+ },
128
+ "status": {
129
+ "type": "string",
130
+ "enum": [
131
+ "todo",
132
+ "in-progress",
133
+ "code-done/data-pending",
134
+ "done",
135
+ "not-needed"
136
+ ]
137
+ },
138
+ "owner": {
139
+ "type": "string"
140
+ },
141
+ "target": {
142
+ "type": [
143
+ "string",
144
+ "null"
145
+ ]
146
+ },
147
+ "depends": {
148
+ "type": "array",
149
+ "items": {
150
+ "type": "string"
151
+ }
152
+ },
153
+ "phases": {
154
+ "type": "array",
155
+ "items": {
156
+ "type": "object",
157
+ "required": [
158
+ "ref",
159
+ "state"
160
+ ],
161
+ "properties": {
162
+ "ref": {
163
+ "type": "string"
164
+ },
165
+ "state": {
166
+ "type": "string"
167
+ }
168
+ }
169
+ }
170
+ },
171
+ "blockers": {
172
+ "type": "array",
173
+ "items": {
174
+ "type": "object",
175
+ "required": [
176
+ "type",
177
+ "reason",
178
+ "check"
179
+ ],
180
+ "properties": {
181
+ "type": {
182
+ "type": "string"
183
+ },
184
+ "reason": {
185
+ "type": "string"
186
+ },
187
+ "check": {
188
+ "type": [
189
+ "string",
190
+ "null"
191
+ ]
192
+ }
193
+ }
194
+ }
195
+ }
196
+ }
197
+ }
198
+ },
199
+ "line": {
200
+ "type": "string"
201
+ }
202
+ }
203
+ },
204
+ {
205
+ "type": "object",
206
+ "required": [
207
+ "roadmap",
208
+ "error"
209
+ ],
210
+ "properties": {
211
+ "roadmap": {
212
+ "type": "string"
213
+ },
214
+ "error": {
215
+ "type": "string"
216
+ }
217
+ }
218
+ }
219
+ ]
220
+ }
221
+ }
222
+ }
223
+ },
224
+ {
225
+ "type": "object",
226
+ "required": [
227
+ "error"
228
+ ],
229
+ "properties": {
230
+ "error": {
231
+ "type": "string"
232
+ }
233
+ }
234
+ }
235
+ ]
236
+ },
237
+ "plans": {
238
+ "oneOf": [
239
+ {
240
+ "type": "object",
241
+ "required": [
242
+ "schema",
243
+ "plans"
244
+ ],
245
+ "properties": {
246
+ "schema": {
247
+ "type": "integer"
248
+ },
249
+ "plans": {
250
+ "type": "array",
251
+ "items": {
252
+ "oneOf": [
253
+ {
254
+ "type": "object",
255
+ "required": [
256
+ "path",
257
+ "title",
258
+ "status",
259
+ "feature",
260
+ "tracker",
261
+ "open_rows"
262
+ ],
263
+ "properties": {
264
+ "path": {
265
+ "type": "string"
266
+ },
267
+ "title": {
268
+ "type": [
269
+ "string",
270
+ "null"
271
+ ]
272
+ },
273
+ "status": {
274
+ "type": [
275
+ "string",
276
+ "null"
277
+ ]
278
+ },
279
+ "feature": {
280
+ "type": [
281
+ "string",
282
+ "null"
283
+ ]
284
+ },
285
+ "tracker": {
286
+ "type": "array",
287
+ "items": {
288
+ "type": "object",
289
+ "required": [
290
+ "phase",
291
+ "status"
292
+ ],
293
+ "properties": {
294
+ "phase": {
295
+ "type": "string"
296
+ },
297
+ "status": {
298
+ "type": "string"
299
+ }
300
+ }
301
+ }
302
+ },
303
+ "open_rows": {
304
+ "type": "integer"
305
+ }
306
+ }
307
+ },
308
+ {
309
+ "type": "object",
310
+ "required": [
311
+ "path",
312
+ "error"
313
+ ],
314
+ "properties": {
315
+ "path": {
316
+ "type": "string"
317
+ },
318
+ "error": {
319
+ "type": "string"
320
+ }
321
+ }
322
+ }
323
+ ]
324
+ }
325
+ }
326
+ }
327
+ },
328
+ {
329
+ "type": "object",
330
+ "required": [
331
+ "error"
332
+ ],
333
+ "properties": {
334
+ "error": {
335
+ "type": "string"
336
+ }
337
+ }
338
+ }
339
+ ]
340
+ },
341
+ "relays": {
342
+ "oneOf": [
343
+ {
344
+ "type": "object",
345
+ "required": [
346
+ "schema",
347
+ "relays"
348
+ ],
349
+ "properties": {
350
+ "schema": {
351
+ "type": "integer"
352
+ },
353
+ "relays": {
354
+ "type": "array",
355
+ "items": {
356
+ "type": "object",
357
+ "required": [
358
+ "name",
359
+ "branch",
360
+ "plan",
361
+ "session_id",
362
+ "updated_at",
363
+ "age_min",
364
+ "status",
365
+ "status_arg",
366
+ "next_step"
367
+ ],
368
+ "properties": {
369
+ "name": {
370
+ "type": "string"
371
+ },
372
+ "branch": {
373
+ "type": [
374
+ "string",
375
+ "null"
376
+ ]
377
+ },
378
+ "plan": {
379
+ "type": [
380
+ "string",
381
+ "null"
382
+ ]
383
+ },
384
+ "session_id": {
385
+ "type": [
386
+ "string",
387
+ "null"
388
+ ]
389
+ },
390
+ "updated_at": {
391
+ "type": "string"
392
+ },
393
+ "age_min": {
394
+ "type": "integer"
395
+ },
396
+ "status": {
397
+ "type": "string",
398
+ "enum": [
399
+ "CONTINUE",
400
+ "OWNER-GATE",
401
+ "BLOCKED",
402
+ "FAILED",
403
+ "INVALID"
404
+ ]
405
+ },
406
+ "status_arg": {
407
+ "type": "string"
408
+ },
409
+ "next_step": {
410
+ "type": [
411
+ "string",
412
+ "null"
413
+ ]
414
+ }
415
+ }
416
+ }
417
+ }
418
+ }
419
+ },
420
+ {
421
+ "type": "object",
422
+ "required": [
423
+ "error"
424
+ ],
425
+ "properties": {
426
+ "error": {
427
+ "type": "string"
428
+ }
429
+ }
430
+ }
431
+ ]
432
+ }
433
+ }
434
+ },
435
+ {
436
+ "type": "object",
437
+ "required": [
438
+ "path",
439
+ "error"
440
+ ],
441
+ "properties": {
442
+ "path": {
443
+ "type": "string"
444
+ },
445
+ "error": {
446
+ "type": "string"
447
+ }
448
+ }
449
+ }
450
+ ]
451
+ }
452
+ },
453
+ "spend": {
454
+ "oneOf": [
455
+ {
456
+ "type": "object",
457
+ "required": [
458
+ "schema",
459
+ "configured",
460
+ "cap_eur",
461
+ "committed_eur",
462
+ "reserve_eur",
463
+ "window_h"
464
+ ],
465
+ "properties": {
466
+ "schema": {
467
+ "type": "integer"
468
+ },
469
+ "configured": {
470
+ "type": "boolean"
471
+ },
472
+ "cap_eur": {
473
+ "type": [
474
+ "number",
475
+ "null"
476
+ ]
477
+ },
478
+ "committed_eur": {
479
+ "type": "number"
480
+ },
481
+ "reserve_eur": {
482
+ "type": [
483
+ "number",
484
+ "null"
485
+ ]
486
+ },
487
+ "window_h": {
488
+ "type": "integer"
489
+ }
490
+ }
491
+ },
492
+ {
493
+ "type": "object",
494
+ "required": [
495
+ "error"
496
+ ],
497
+ "properties": {
498
+ "error": {
499
+ "type": "string"
500
+ }
501
+ }
502
+ }
503
+ ]
504
+ },
505
+ "guide": {
506
+ "oneOf": [
507
+ {
508
+ "type": "object",
509
+ "required": [
510
+ "schema",
511
+ "version",
512
+ "generated",
513
+ "commands",
514
+ "agents",
515
+ "skills",
516
+ "hooks",
517
+ "coverage",
518
+ "counts"
519
+ ],
520
+ "properties": {
521
+ "schema": {
522
+ "type": "integer"
523
+ },
524
+ "version": {
525
+ "type": "string"
526
+ },
527
+ "generated": {
528
+ "type": "string"
529
+ },
530
+ "commands": {
531
+ "type": "array",
532
+ "items": {
533
+ "type": "object",
534
+ "required": [
535
+ "name",
536
+ "description",
537
+ "hint",
538
+ "steps",
539
+ "scripts",
540
+ "noArgs",
541
+ "stage",
542
+ "daily"
543
+ ],
544
+ "properties": {
545
+ "name": {
546
+ "type": "string"
547
+ },
548
+ "description": {
549
+ "type": "string"
550
+ },
551
+ "hint": {
552
+ "type": "string"
553
+ },
554
+ "steps": {
555
+ "type": "array",
556
+ "items": {
557
+ "type": "array",
558
+ "items": {
559
+ "type": "string"
560
+ }
561
+ }
562
+ },
563
+ "scripts": {
564
+ "type": "array",
565
+ "items": {
566
+ "type": "string"
567
+ }
568
+ },
569
+ "noArgs": {
570
+ "type": "boolean"
571
+ },
572
+ "stage": {
573
+ "type": "string"
574
+ },
575
+ "daily": {
576
+ "type": "boolean"
577
+ }
578
+ }
579
+ }
580
+ },
581
+ "agents": {
582
+ "type": "array",
583
+ "items": {
584
+ "type": "object",
585
+ "required": [
586
+ "name",
587
+ "description",
588
+ "tools",
589
+ "model",
590
+ "writes"
591
+ ],
592
+ "properties": {
593
+ "name": {
594
+ "type": "string"
595
+ },
596
+ "description": {
597
+ "type": "string"
598
+ },
599
+ "tools": {
600
+ "type": "array",
601
+ "items": {
602
+ "type": "string"
603
+ }
604
+ },
605
+ "model": {
606
+ "type": "string"
607
+ },
608
+ "writes": {
609
+ "type": "boolean"
610
+ }
611
+ }
612
+ }
613
+ },
614
+ "skills": {
615
+ "type": "array",
616
+ "items": {
617
+ "type": "object",
618
+ "required": [
619
+ "name",
620
+ "category",
621
+ "description",
622
+ "core"
623
+ ],
624
+ "properties": {
625
+ "name": {
626
+ "type": "string"
627
+ },
628
+ "category": {
629
+ "type": "string"
630
+ },
631
+ "description": {
632
+ "type": "string"
633
+ },
634
+ "core": {
635
+ "type": "boolean"
636
+ }
637
+ }
638
+ }
639
+ },
640
+ "hooks": {
641
+ "type": "array",
642
+ "items": {
643
+ "type": "object",
644
+ "required": [
645
+ "event",
646
+ "matcher",
647
+ "handler"
648
+ ],
649
+ "properties": {
650
+ "event": {
651
+ "type": "string"
652
+ },
653
+ "matcher": {
654
+ "type": "string"
655
+ },
656
+ "handler": {
657
+ "type": "string"
658
+ }
659
+ }
660
+ }
661
+ },
662
+ "coverage": {
663
+ "type": "object",
664
+ "required": [
665
+ "commands",
666
+ "skills",
667
+ "agents"
668
+ ],
669
+ "properties": {
670
+ "commands": {
671
+ "type": "array",
672
+ "items": {
673
+ "type": "string"
674
+ }
675
+ },
676
+ "skills": {
677
+ "type": "array",
678
+ "items": {
679
+ "type": "string"
680
+ }
681
+ },
682
+ "agents": {
683
+ "type": "array",
684
+ "items": {
685
+ "type": "string"
686
+ }
687
+ }
688
+ }
689
+ },
690
+ "counts": {
691
+ "type": "object",
692
+ "required": [
693
+ "commands",
694
+ "agents",
695
+ "skills",
696
+ "core",
697
+ "hooks"
698
+ ],
699
+ "properties": {
700
+ "commands": {
701
+ "type": "integer"
702
+ },
703
+ "agents": {
704
+ "type": "integer"
705
+ },
706
+ "skills": {
707
+ "type": "integer"
708
+ },
709
+ "core": {
710
+ "type": "integer"
711
+ },
712
+ "hooks": {
713
+ "type": "integer"
714
+ }
715
+ }
716
+ }
717
+ }
718
+ },
719
+ {
720
+ "type": "object",
721
+ "required": [
722
+ "error"
723
+ ],
724
+ "properties": {
725
+ "error": {
726
+ "type": "string"
727
+ }
728
+ }
729
+ }
730
+ ]
731
+ }
732
+ }
733
+ }