@anchrd/colab-sdk 0.1.41 → 0.1.43
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.
- package/dist/actions/actions.d.ts +28 -61
- package/dist/actions/actions.js +1 -6
- package/dist/boards/boards.d.ts +32 -167
- package/dist/boards/boards.js +4 -23
- package/dist/card-kinds/card-kinds.js +1 -1
- package/dist/columns/columns.d.ts +4 -4
- package/dist/columns/columns.js +3 -3
- package/dist/documents/documents.d.ts +0 -2
- package/dist/instructions/instructions.d.ts +0 -4
- package/dist/instructions/instructions.js +5 -13
- package/dist/mcps/mcps.d.ts +3 -3
- package/dist/nodes/nodes.d.ts +3 -115
- package/dist/nodes/nodes.js +11 -41
- package/dist/operators/operators.d.ts +0 -7
- package/dist/operators/operators.js +1 -6
- package/dist/roles/roles.d.ts +0 -14
- package/dist/roles/roles.js +2 -10
- package/dist/runs/runs.d.ts +9 -12
- package/dist/runs/runs.js +5 -6
- package/dist/schedule/schedule.js +1 -1
- package/dist/sdk.d.ts +5 -6
- package/dist/sdk.js +5 -6
- package/dist/sources/sources.d.ts +6 -6
- package/dist/versions/versions.d.ts +32 -71
- package/dist/versions/versions.js +0 -6
- package/dist/written/written.d.ts +0 -2
- package/dist/written/written.js +0 -2
- package/package.json +1 -1
- package/dist/validation/validation.d.ts +0 -60
- package/dist/validation/validation.js +0 -26
package/dist/boards/boards.d.ts
CHANGED
|
@@ -21,13 +21,13 @@ export declare const BoardCreateInput: z.ZodObject<{
|
|
|
21
21
|
columnId: z.ZodOptional<z.ZodTemplateLiteral<`column_${string}`>>;
|
|
22
22
|
name: z.ZodString;
|
|
23
23
|
type: z.ZodEnum<{
|
|
24
|
+
archive: "archive";
|
|
25
|
+
done: "done";
|
|
24
26
|
backlog: "backlog";
|
|
25
27
|
open: "open";
|
|
26
28
|
progress: "progress";
|
|
27
|
-
done: "done";
|
|
28
29
|
discarded: "discarded";
|
|
29
30
|
blocked: "blocked";
|
|
30
|
-
archive: "archive";
|
|
31
31
|
}>;
|
|
32
32
|
visible: z.ZodOptional<z.ZodBoolean>;
|
|
33
33
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -94,13 +94,13 @@ export declare const BoardUpdateInput: z.ZodObject<{
|
|
|
94
94
|
columnId: z.ZodOptional<z.ZodTemplateLiteral<`column_${string}`>>;
|
|
95
95
|
name: z.ZodString;
|
|
96
96
|
type: z.ZodEnum<{
|
|
97
|
+
archive: "archive";
|
|
98
|
+
done: "done";
|
|
97
99
|
backlog: "backlog";
|
|
98
100
|
open: "open";
|
|
99
101
|
progress: "progress";
|
|
100
|
-
done: "done";
|
|
101
102
|
discarded: "discarded";
|
|
102
103
|
blocked: "blocked";
|
|
103
|
-
archive: "archive";
|
|
104
104
|
}>;
|
|
105
105
|
visible: z.ZodOptional<z.ZodBoolean>;
|
|
106
106
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -159,17 +159,16 @@ export declare const BoardColumn: z.ZodObject<{
|
|
|
159
159
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
160
160
|
name: z.ZodString;
|
|
161
161
|
type: z.ZodEnum<{
|
|
162
|
+
archive: "archive";
|
|
163
|
+
done: "done";
|
|
162
164
|
backlog: "backlog";
|
|
163
165
|
open: "open";
|
|
164
166
|
progress: "progress";
|
|
165
|
-
done: "done";
|
|
166
167
|
discarded: "discarded";
|
|
167
168
|
blocked: "blocked";
|
|
168
|
-
archive: "archive";
|
|
169
169
|
}>;
|
|
170
170
|
visible: z.ZodBoolean;
|
|
171
171
|
description: z.ZodString;
|
|
172
|
-
system: z.ZodOptional<z.ZodLiteral<"new">>;
|
|
173
172
|
}, z.core.$strip>;
|
|
174
173
|
export type BoardColumn = z.infer<typeof BoardColumn>;
|
|
175
174
|
export declare const BoardLabel: z.ZodObject<{
|
|
@@ -182,36 +181,23 @@ export declare const BoardDetail: z.ZodObject<{
|
|
|
182
181
|
name: z.ZodString;
|
|
183
182
|
kind: z.ZodEnum<{
|
|
184
183
|
board: "board";
|
|
185
|
-
validation: "validation";
|
|
186
184
|
process: "process";
|
|
187
185
|
}>;
|
|
188
|
-
system: z.ZodNullable<z.ZodEnum<{
|
|
189
|
-
validation: "validation";
|
|
190
|
-
}>>;
|
|
191
186
|
instruction: z.ZodNullable<z.ZodString>;
|
|
192
|
-
validator: z.ZodNullable<z.ZodObject<{
|
|
193
|
-
userId: z.ZodString;
|
|
194
|
-
name: z.ZodNullable<z.ZodString>;
|
|
195
|
-
kind: z.ZodNullable<z.ZodEnum<{
|
|
196
|
-
machine: "machine";
|
|
197
|
-
human: "human";
|
|
198
|
-
}>>;
|
|
199
|
-
}, z.core.$strip>>;
|
|
200
187
|
columns: z.ZodArray<z.ZodObject<{
|
|
201
188
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
202
189
|
name: z.ZodString;
|
|
203
190
|
type: z.ZodEnum<{
|
|
191
|
+
archive: "archive";
|
|
192
|
+
done: "done";
|
|
204
193
|
backlog: "backlog";
|
|
205
194
|
open: "open";
|
|
206
195
|
progress: "progress";
|
|
207
|
-
done: "done";
|
|
208
196
|
discarded: "discarded";
|
|
209
197
|
blocked: "blocked";
|
|
210
|
-
archive: "archive";
|
|
211
198
|
}>;
|
|
212
199
|
visible: z.ZodBoolean;
|
|
213
200
|
description: z.ZodString;
|
|
214
|
-
system: z.ZodOptional<z.ZodLiteral<"new">>;
|
|
215
201
|
}, z.core.$strip>>;
|
|
216
202
|
cardKinds: z.ZodArray<z.ZodObject<{
|
|
217
203
|
kindId: z.ZodTemplateLiteral<`kind_${string}`>;
|
|
@@ -275,13 +261,13 @@ export declare const BoardTaskListInput: z.ZodObject<{
|
|
|
275
261
|
runId: z.ZodOptional<z.ZodTemplateLiteral<`run_${string}`>>;
|
|
276
262
|
columnId: z.ZodOptional<z.ZodTemplateLiteral<`column_${string}`>>;
|
|
277
263
|
type: z.ZodOptional<z.ZodEnum<{
|
|
264
|
+
archive: "archive";
|
|
265
|
+
done: "done";
|
|
278
266
|
backlog: "backlog";
|
|
279
267
|
open: "open";
|
|
280
268
|
progress: "progress";
|
|
281
|
-
done: "done";
|
|
282
269
|
discarded: "discarded";
|
|
283
270
|
blocked: "blocked";
|
|
284
|
-
archive: "archive";
|
|
285
271
|
}>>;
|
|
286
272
|
assigneeId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
|
|
287
273
|
labelId: z.ZodOptional<z.ZodTemplateLiteral<`label_${string}`>>;
|
|
@@ -406,13 +392,13 @@ export declare const BoardTaskItem: z.ZodObject<{
|
|
|
406
392
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
407
393
|
name: z.ZodString;
|
|
408
394
|
type: z.ZodEnum<{
|
|
395
|
+
archive: "archive";
|
|
396
|
+
done: "done";
|
|
409
397
|
backlog: "backlog";
|
|
410
398
|
open: "open";
|
|
411
399
|
progress: "progress";
|
|
412
|
-
done: "done";
|
|
413
400
|
discarded: "discarded";
|
|
414
401
|
blocked: "blocked";
|
|
415
|
-
archive: "archive";
|
|
416
402
|
}>;
|
|
417
403
|
}, z.core.$strip>;
|
|
418
404
|
assignee: z.ZodObject<{
|
|
@@ -465,32 +451,6 @@ export declare const BoardTaskItem: z.ZodObject<{
|
|
|
465
451
|
text: z.ZodString;
|
|
466
452
|
done: z.ZodBoolean;
|
|
467
453
|
}, z.core.$strip>>]>>>;
|
|
468
|
-
subject: z.ZodNullable<z.ZodObject<{
|
|
469
|
-
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
470
|
-
kind: z.ZodEnum<{
|
|
471
|
-
file: "file";
|
|
472
|
-
folder: "folder";
|
|
473
|
-
document: "document";
|
|
474
|
-
table: "table";
|
|
475
|
-
board: "board";
|
|
476
|
-
task: "task";
|
|
477
|
-
gadget: "gadget";
|
|
478
|
-
goal: "goal";
|
|
479
|
-
skill: "skill";
|
|
480
|
-
source: "source";
|
|
481
|
-
}>;
|
|
482
|
-
path: z.ZodObject<{
|
|
483
|
-
section: z.ZodEnum<{
|
|
484
|
-
users: "users";
|
|
485
|
-
own: "own";
|
|
486
|
-
shared: "shared";
|
|
487
|
-
}>;
|
|
488
|
-
items: z.ZodArray<z.ZodObject<{
|
|
489
|
-
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
490
|
-
name: z.ZodString;
|
|
491
|
-
}, z.core.$strip>>;
|
|
492
|
-
}, z.core.$strip>;
|
|
493
|
-
}, z.core.$strip>>;
|
|
494
454
|
rights: z.ZodObject<{
|
|
495
455
|
write: z.ZodBoolean;
|
|
496
456
|
}, z.core.$strip>;
|
|
@@ -509,13 +469,13 @@ export declare const BoardTaskList: z.ZodObject<{
|
|
|
509
469
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
510
470
|
name: z.ZodString;
|
|
511
471
|
type: z.ZodEnum<{
|
|
472
|
+
archive: "archive";
|
|
473
|
+
done: "done";
|
|
512
474
|
backlog: "backlog";
|
|
513
475
|
open: "open";
|
|
514
476
|
progress: "progress";
|
|
515
|
-
done: "done";
|
|
516
477
|
discarded: "discarded";
|
|
517
478
|
blocked: "blocked";
|
|
518
|
-
archive: "archive";
|
|
519
479
|
}>;
|
|
520
480
|
}, z.core.$strip>;
|
|
521
481
|
assignee: z.ZodObject<{
|
|
@@ -568,32 +528,6 @@ export declare const BoardTaskList: z.ZodObject<{
|
|
|
568
528
|
text: z.ZodString;
|
|
569
529
|
done: z.ZodBoolean;
|
|
570
530
|
}, z.core.$strip>>]>>>;
|
|
571
|
-
subject: z.ZodNullable<z.ZodObject<{
|
|
572
|
-
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
573
|
-
kind: z.ZodEnum<{
|
|
574
|
-
file: "file";
|
|
575
|
-
folder: "folder";
|
|
576
|
-
document: "document";
|
|
577
|
-
table: "table";
|
|
578
|
-
board: "board";
|
|
579
|
-
task: "task";
|
|
580
|
-
gadget: "gadget";
|
|
581
|
-
goal: "goal";
|
|
582
|
-
skill: "skill";
|
|
583
|
-
source: "source";
|
|
584
|
-
}>;
|
|
585
|
-
path: z.ZodObject<{
|
|
586
|
-
section: z.ZodEnum<{
|
|
587
|
-
users: "users";
|
|
588
|
-
own: "own";
|
|
589
|
-
shared: "shared";
|
|
590
|
-
}>;
|
|
591
|
-
items: z.ZodArray<z.ZodObject<{
|
|
592
|
-
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
593
|
-
name: z.ZodString;
|
|
594
|
-
}, z.core.$strip>>;
|
|
595
|
-
}, z.core.$strip>;
|
|
596
|
-
}, z.core.$strip>>;
|
|
597
531
|
rights: z.ZodObject<{
|
|
598
532
|
write: z.ZodBoolean;
|
|
599
533
|
}, z.core.$strip>;
|
|
@@ -614,35 +548,34 @@ export declare const BoardTaskList: z.ZodObject<{
|
|
|
614
548
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
615
549
|
name: z.ZodString;
|
|
616
550
|
type: z.ZodEnum<{
|
|
551
|
+
archive: "archive";
|
|
552
|
+
done: "done";
|
|
617
553
|
backlog: "backlog";
|
|
618
554
|
open: "open";
|
|
619
555
|
progress: "progress";
|
|
620
|
-
done: "done";
|
|
621
556
|
discarded: "discarded";
|
|
622
557
|
blocked: "blocked";
|
|
623
|
-
archive: "archive";
|
|
624
558
|
}>;
|
|
625
559
|
visible: z.ZodBoolean;
|
|
626
560
|
description: z.ZodString;
|
|
627
|
-
system: z.ZodOptional<z.ZodLiteral<"new">>;
|
|
628
561
|
}, z.core.$strip>>>;
|
|
629
562
|
}, z.core.$strip>;
|
|
630
563
|
export type BoardTaskList = z.infer<typeof BoardTaskList>;
|
|
631
564
|
export declare const BoardTaskBrief: z.ZodObject<{
|
|
565
|
+
title: z.ZodString;
|
|
632
566
|
column: z.ZodObject<{
|
|
633
567
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
634
568
|
name: z.ZodString;
|
|
635
569
|
type: z.ZodEnum<{
|
|
570
|
+
archive: "archive";
|
|
571
|
+
done: "done";
|
|
636
572
|
backlog: "backlog";
|
|
637
573
|
open: "open";
|
|
638
574
|
progress: "progress";
|
|
639
|
-
done: "done";
|
|
640
575
|
discarded: "discarded";
|
|
641
576
|
blocked: "blocked";
|
|
642
|
-
archive: "archive";
|
|
643
577
|
}>;
|
|
644
578
|
}, z.core.$strip>;
|
|
645
|
-
title: z.ZodString;
|
|
646
579
|
rev: z.ZodNumber;
|
|
647
580
|
taskId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
648
581
|
assignee: z.ZodObject<{
|
|
@@ -668,33 +601,32 @@ export declare const BoardTaskBriefList: z.ZodObject<{
|
|
|
668
601
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
669
602
|
name: z.ZodString;
|
|
670
603
|
type: z.ZodEnum<{
|
|
604
|
+
archive: "archive";
|
|
605
|
+
done: "done";
|
|
671
606
|
backlog: "backlog";
|
|
672
607
|
open: "open";
|
|
673
608
|
progress: "progress";
|
|
674
|
-
done: "done";
|
|
675
609
|
discarded: "discarded";
|
|
676
610
|
blocked: "blocked";
|
|
677
|
-
archive: "archive";
|
|
678
611
|
}>;
|
|
679
612
|
visible: z.ZodBoolean;
|
|
680
613
|
description: z.ZodString;
|
|
681
|
-
system: z.ZodOptional<z.ZodLiteral<"new">>;
|
|
682
614
|
}, z.core.$strip>>>;
|
|
683
615
|
items: z.ZodArray<z.ZodObject<{
|
|
616
|
+
title: z.ZodString;
|
|
684
617
|
column: z.ZodObject<{
|
|
685
618
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
686
619
|
name: z.ZodString;
|
|
687
620
|
type: z.ZodEnum<{
|
|
621
|
+
archive: "archive";
|
|
622
|
+
done: "done";
|
|
688
623
|
backlog: "backlog";
|
|
689
624
|
open: "open";
|
|
690
625
|
progress: "progress";
|
|
691
|
-
done: "done";
|
|
692
626
|
discarded: "discarded";
|
|
693
627
|
blocked: "blocked";
|
|
694
|
-
archive: "archive";
|
|
695
628
|
}>;
|
|
696
629
|
}, z.core.$strip>;
|
|
697
|
-
title: z.ZodString;
|
|
698
630
|
rev: z.ZodNumber;
|
|
699
631
|
taskId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
700
632
|
assignee: z.ZodObject<{
|
|
@@ -718,13 +650,13 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
718
650
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
719
651
|
name: z.ZodString;
|
|
720
652
|
type: z.ZodEnum<{
|
|
653
|
+
archive: "archive";
|
|
654
|
+
done: "done";
|
|
721
655
|
backlog: "backlog";
|
|
722
656
|
open: "open";
|
|
723
657
|
progress: "progress";
|
|
724
|
-
done: "done";
|
|
725
658
|
discarded: "discarded";
|
|
726
659
|
blocked: "blocked";
|
|
727
|
-
archive: "archive";
|
|
728
660
|
}>;
|
|
729
661
|
}, z.core.$strip>;
|
|
730
662
|
columnAt: z.ZodISODateTime;
|
|
@@ -758,7 +690,6 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
758
690
|
name: z.ZodString;
|
|
759
691
|
boardKind: z.ZodEnum<{
|
|
760
692
|
board: "board";
|
|
761
|
-
validation: "validation";
|
|
762
693
|
process: "process";
|
|
763
694
|
}>;
|
|
764
695
|
}, z.core.$strip>;
|
|
@@ -775,13 +706,13 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
775
706
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
776
707
|
name: z.ZodString;
|
|
777
708
|
type: z.ZodEnum<{
|
|
709
|
+
archive: "archive";
|
|
710
|
+
done: "done";
|
|
778
711
|
backlog: "backlog";
|
|
779
712
|
open: "open";
|
|
780
713
|
progress: "progress";
|
|
781
|
-
done: "done";
|
|
782
714
|
discarded: "discarded";
|
|
783
715
|
blocked: "blocked";
|
|
784
|
-
archive: "archive";
|
|
785
716
|
}>;
|
|
786
717
|
}, z.core.$strip>;
|
|
787
718
|
kind: z.ZodNullable<z.ZodObject<{
|
|
@@ -817,13 +748,13 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
817
748
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
818
749
|
name: z.ZodString;
|
|
819
750
|
type: z.ZodEnum<{
|
|
751
|
+
archive: "archive";
|
|
752
|
+
done: "done";
|
|
820
753
|
backlog: "backlog";
|
|
821
754
|
open: "open";
|
|
822
755
|
progress: "progress";
|
|
823
|
-
done: "done";
|
|
824
756
|
discarded: "discarded";
|
|
825
757
|
blocked: "blocked";
|
|
826
|
-
archive: "archive";
|
|
827
758
|
}>;
|
|
828
759
|
}, z.core.$strip>;
|
|
829
760
|
kind: z.ZodNullable<z.ZodObject<{
|
|
@@ -897,71 +828,6 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
897
828
|
}>>;
|
|
898
829
|
}, z.core.$strip>;
|
|
899
830
|
}, z.core.$strip>>;
|
|
900
|
-
subject: z.ZodNullable<z.ZodObject<{
|
|
901
|
-
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
902
|
-
kind: z.ZodEnum<{
|
|
903
|
-
file: "file";
|
|
904
|
-
folder: "folder";
|
|
905
|
-
document: "document";
|
|
906
|
-
table: "table";
|
|
907
|
-
board: "board";
|
|
908
|
-
task: "task";
|
|
909
|
-
gadget: "gadget";
|
|
910
|
-
goal: "goal";
|
|
911
|
-
skill: "skill";
|
|
912
|
-
source: "source";
|
|
913
|
-
}>;
|
|
914
|
-
name: z.ZodString;
|
|
915
|
-
path: z.ZodObject<{
|
|
916
|
-
section: z.ZodEnum<{
|
|
917
|
-
users: "users";
|
|
918
|
-
own: "own";
|
|
919
|
-
shared: "shared";
|
|
920
|
-
}>;
|
|
921
|
-
items: z.ZodArray<z.ZodObject<{
|
|
922
|
-
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
923
|
-
name: z.ZodString;
|
|
924
|
-
}, z.core.$strip>>;
|
|
925
|
-
}, z.core.$strip>;
|
|
926
|
-
}, z.core.$strip>>;
|
|
927
|
-
lastMove: z.ZodNullable<z.ZodObject<{
|
|
928
|
-
from: z.ZodNullable<z.ZodObject<{
|
|
929
|
-
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
930
|
-
name: z.ZodNullable<z.ZodString>;
|
|
931
|
-
type: z.ZodNullable<z.ZodEnum<{
|
|
932
|
-
backlog: "backlog";
|
|
933
|
-
open: "open";
|
|
934
|
-
progress: "progress";
|
|
935
|
-
done: "done";
|
|
936
|
-
discarded: "discarded";
|
|
937
|
-
blocked: "blocked";
|
|
938
|
-
archive: "archive";
|
|
939
|
-
}>>;
|
|
940
|
-
}, z.core.$strip>>;
|
|
941
|
-
to: z.ZodObject<{
|
|
942
|
-
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
943
|
-
name: z.ZodNullable<z.ZodString>;
|
|
944
|
-
type: z.ZodNullable<z.ZodEnum<{
|
|
945
|
-
backlog: "backlog";
|
|
946
|
-
open: "open";
|
|
947
|
-
progress: "progress";
|
|
948
|
-
done: "done";
|
|
949
|
-
discarded: "discarded";
|
|
950
|
-
blocked: "blocked";
|
|
951
|
-
archive: "archive";
|
|
952
|
-
}>>;
|
|
953
|
-
}, z.core.$strip>;
|
|
954
|
-
comment: z.ZodNullable<z.ZodString>;
|
|
955
|
-
movedBy: z.ZodObject<{
|
|
956
|
-
userId: z.ZodString;
|
|
957
|
-
name: z.ZodNullable<z.ZodString>;
|
|
958
|
-
kind: z.ZodNullable<z.ZodEnum<{
|
|
959
|
-
machine: "machine";
|
|
960
|
-
human: "human";
|
|
961
|
-
}>>;
|
|
962
|
-
}, z.core.$strip>;
|
|
963
|
-
movedAt: z.ZodISODateTime;
|
|
964
|
-
}, z.core.$strip>>;
|
|
965
831
|
createdBy: z.ZodObject<{
|
|
966
832
|
userId: z.ZodString;
|
|
967
833
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -985,17 +851,16 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
985
851
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
986
852
|
name: z.ZodString;
|
|
987
853
|
type: z.ZodEnum<{
|
|
854
|
+
archive: "archive";
|
|
855
|
+
done: "done";
|
|
988
856
|
backlog: "backlog";
|
|
989
857
|
open: "open";
|
|
990
858
|
progress: "progress";
|
|
991
|
-
done: "done";
|
|
992
859
|
discarded: "discarded";
|
|
993
860
|
blocked: "blocked";
|
|
994
|
-
archive: "archive";
|
|
995
861
|
}>;
|
|
996
862
|
visible: z.ZodBoolean;
|
|
997
863
|
description: z.ZodString;
|
|
998
|
-
system: z.ZodOptional<z.ZodLiteral<"new">>;
|
|
999
864
|
current: z.ZodBoolean;
|
|
1000
865
|
}, z.core.$strip>>>;
|
|
1001
866
|
}, z.core.$strip>;
|
package/dist/boards/boards.js
CHANGED
|
@@ -4,10 +4,8 @@ import { ColumnId, ColumnType, TaskColumn } from "../columns/columns.js";
|
|
|
4
4
|
import { idSchema } from "../ids/ids.js";
|
|
5
5
|
import { InstructionRead, Known } from "../instructions/instructions.js";
|
|
6
6
|
import { Flag } from "../list-input.js";
|
|
7
|
-
import { BoardShownKind,
|
|
7
|
+
import { BoardShownKind, CreateSection, NodeId, NodePerson } from "../nodes/nodes.js";
|
|
8
8
|
import { IdempotencyKey, Rev } from "../primitives/primitives.js";
|
|
9
|
-
import { TicketSubject, TicketSubjectRef } from "../validation/validation.js";
|
|
10
|
-
import { TaskMove } from "../versions/versions.js";
|
|
11
9
|
// Boards, their columns and labels, and tasks (#42, Nodes › Board, Nodes › Aufgabe, E38, E40, E41,
|
|
12
10
|
// E43, E44, E67, E70): the inputs of `intelligence_board_create`, `_get`, `_update`,
|
|
13
11
|
// `intelligence_board_task_list`, `_create`, `intelligence_task_get`, `_update`, and the answers. A
|
|
@@ -66,7 +64,7 @@ export const BoardUpdateInput = z.strictObject({
|
|
|
66
64
|
boardId: BoardId,
|
|
67
65
|
rev: Rev,
|
|
68
66
|
kind: BoardKind.optional().describe("Make a process from before goals a board again. Its runs stay readable with intelligence_run_list."),
|
|
69
|
-
instruction: BoardInstruction.optional().describe("The board's instruction, Markdown: what the board is about and how every AI working on it goes about it. It comes along with every read of the board and its tasks over MCP, as only its digest where the read sends that digest under known.
|
|
67
|
+
instruction: BoardInstruction.optional().describe("The board's instruction, Markdown: what the board is about and how every AI working on it goes about it. It comes along with every read of the board and its tasks over MCP, as only its digest where the read sends that digest under known. An empty text removes it; leaving it out keeps it."),
|
|
70
68
|
columns: Columns.optional(),
|
|
71
69
|
cardKinds: CardKindsInput.optional(),
|
|
72
70
|
labels: z
|
|
@@ -85,22 +83,14 @@ export const BoardColumn = z.object({
|
|
|
85
83
|
visible: z.boolean(),
|
|
86
84
|
// Markdown, empty without one (#624).
|
|
87
85
|
description: z.string(),
|
|
88
|
-
// `new` on the validation board's New only (#814): a column of type open where every ticket starts,
|
|
89
|
-
// shown unchecked (grey, dashed) like the status of its tickets. Absent on every other column.
|
|
90
|
-
system: z.literal("new").optional(),
|
|
91
86
|
});
|
|
92
87
|
export const BoardLabel = z.object({ labelId: LabelId, name: z.string() });
|
|
93
88
|
export const BoardDetail = z.object({
|
|
94
89
|
boardId: NodeId,
|
|
95
90
|
name: z.string(),
|
|
96
91
|
kind: BoardShownKind,
|
|
97
|
-
//
|
|
98
|
-
system: BoardSystem.nullable(),
|
|
99
|
-
// The board's instruction (E87, #354; the validation's since #47), Markdown; null without one.
|
|
92
|
+
// The board's instruction (E87, #354), Markdown; null without one.
|
|
100
93
|
instruction: z.string().nullable(),
|
|
101
|
-
// Who carries the validation (E79, #378): the holder of the role `validator` while they can act,
|
|
102
|
-
// for every reader of the validation board; null without one and for every other board.
|
|
103
|
-
validator: NodePerson.nullable(),
|
|
104
94
|
columns: z.array(BoardColumn),
|
|
105
95
|
// The card kinds with their fields in order (#638, E115); empty on a board of free cards.
|
|
106
96
|
cardKinds: z.array(CardKind),
|
|
@@ -290,11 +280,7 @@ export const BoardTaskItem = z.object({
|
|
|
290
280
|
// without kinds.
|
|
291
281
|
kind: TaskKind.nullable(),
|
|
292
282
|
fields: TaskFields,
|
|
293
|
-
//
|
|
294
|
-
subject: TicketSubjectRef.nullable(),
|
|
295
|
-
// Whether the caller may change this task, as intelligence_task_update decides it: the board's
|
|
296
|
-
// right for a task, its node's for a ticket (#47: the node's responsible person, the holder of
|
|
297
|
-
// `validator` (#334), an admin in admin mode; only reading while the node is archived).
|
|
283
|
+
// Whether the caller may change this task, as intelligence_task_update decides it: the board's right.
|
|
298
284
|
rights: z.object({ write: z.boolean() }),
|
|
299
285
|
position: z.string(),
|
|
300
286
|
rev: z.number().int(),
|
|
@@ -366,11 +352,6 @@ export const TaskDetail = z.object({
|
|
|
366
352
|
// The task waits (#377, E77): its assignee lacks something, a right above all, and asked in the
|
|
367
353
|
// chat. Shown in place of the column; null while it does not wait.
|
|
368
354
|
waiting: z.object({ since: z.iso.datetime(), by: NodePerson }).nullable(),
|
|
369
|
-
// A ticket of the validation board (#47): the node it validates with its path, and its last move
|
|
370
|
-
// from its versions (E117), null before its first. Both null for every other task; the history of
|
|
371
|
-
// every task stands in intelligence_node_version_list.
|
|
372
|
-
subject: TicketSubject.nullable(),
|
|
373
|
-
lastMove: TaskMove.nullable(),
|
|
374
355
|
createdBy: NodePerson,
|
|
375
356
|
rev: z.number().int(),
|
|
376
357
|
archivedAt: z.iso.datetime().nullable(),
|
|
@@ -97,7 +97,7 @@ export const CardKindInput = z.strictObject({
|
|
|
97
97
|
export const CardKindsInput = z
|
|
98
98
|
.array(CardKindInput)
|
|
99
99
|
.max(20)
|
|
100
|
-
.describe("The board's card kinds, all of them, in their order: a kind with kindId is kept, one without is made, one left out is removed, which only a kind no card has can be. Once a board has kinds, every card has exactly one: the cards that stand get the standard kind when the first kind is made, and a card never changes its kind.
|
|
100
|
+
.describe("The board's card kinds, all of them, in their order: a kind with kindId is kept, one without is made, one left out is removed, which only a kind no card has can be. Once a board has kinds, every card has exactly one: the cards that stand get the standard kind when the first kind is made, and a card never changes its kind.");
|
|
101
101
|
export const CardFieldOption = z.object({ optionId: CardOptionId, name: z.string() });
|
|
102
102
|
export const CardField = z.object({
|
|
103
103
|
fieldId: CardFieldId,
|
|
@@ -3,26 +3,26 @@ export declare const ColumnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
|
3
3
|
export type ColumnId = z.infer<typeof ColumnId>;
|
|
4
4
|
export declare const columnTypes: readonly ["backlog", "open", "progress", "done", "discarded", "blocked", "archive"];
|
|
5
5
|
export declare const ColumnType: z.ZodEnum<{
|
|
6
|
+
archive: "archive";
|
|
7
|
+
done: "done";
|
|
6
8
|
backlog: "backlog";
|
|
7
9
|
open: "open";
|
|
8
10
|
progress: "progress";
|
|
9
|
-
done: "done";
|
|
10
11
|
discarded: "discarded";
|
|
11
12
|
blocked: "blocked";
|
|
12
|
-
archive: "archive";
|
|
13
13
|
}>;
|
|
14
14
|
export type ColumnType = z.infer<typeof ColumnType>;
|
|
15
15
|
export declare const TaskColumn: z.ZodObject<{
|
|
16
16
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
17
17
|
name: z.ZodString;
|
|
18
18
|
type: z.ZodEnum<{
|
|
19
|
+
archive: "archive";
|
|
20
|
+
done: "done";
|
|
19
21
|
backlog: "backlog";
|
|
20
22
|
open: "open";
|
|
21
23
|
progress: "progress";
|
|
22
|
-
done: "done";
|
|
23
24
|
discarded: "discarded";
|
|
24
25
|
blocked: "blocked";
|
|
25
|
-
archive: "archive";
|
|
26
26
|
}>;
|
|
27
27
|
}, z.core.$strip>;
|
|
28
28
|
export type TaskColumn = z.infer<typeof TaskColumn>;
|
package/dist/columns/columns.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
// A board's columns as other domains name them (#42
|
|
3
|
-
//
|
|
4
|
-
//
|
|
2
|
+
// A board's columns as other domains name them (#42): the id, the seven types and a column as a task
|
|
3
|
+
// shows it. A base file of its own, so Actions can name a column without importing `boards.ts`
|
|
4
|
+
// (trap C009).
|
|
5
5
|
// A ULID in Crockford base32, as `ids.ts` takes it.
|
|
6
6
|
const ulid = z.string().regex(/^[0-9A-HJKMNP-TV-Z]{26}$/);
|
|
7
7
|
// `column_…` is no word of the grammar (#42): a row of a board, not a resource.
|
|
@@ -58,7 +58,6 @@ export declare const DocumentDetail: z.ZodObject<{
|
|
|
58
58
|
instructions: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
59
59
|
chain: z.ZodArray<z.ZodObject<{
|
|
60
60
|
path: z.ZodString;
|
|
61
|
-
status: z.ZodNullable<z.ZodString>;
|
|
62
61
|
markdown: z.ZodString;
|
|
63
62
|
}, z.core.$strip>>;
|
|
64
63
|
hint: z.ZodOptional<z.ZodString>;
|
|
@@ -103,7 +102,6 @@ export declare const DocumentExcerpt: z.ZodObject<{
|
|
|
103
102
|
instructions: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
104
103
|
chain: z.ZodArray<z.ZodObject<{
|
|
105
104
|
path: z.ZodString;
|
|
106
|
-
status: z.ZodNullable<z.ZodString>;
|
|
107
105
|
markdown: z.ZodString;
|
|
108
106
|
}, z.core.$strip>>;
|
|
109
107
|
hint: z.ZodOptional<z.ZodString>;
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const validationSection = "Validation";
|
|
3
2
|
export declare const instructionsNames: readonly ["INSTRUCTIONS", ".INSTRUCTIONS"];
|
|
4
3
|
export declare function isInstructionsName(name: string): boolean;
|
|
5
4
|
export declare const InstructionsLink: z.ZodObject<{
|
|
6
5
|
path: z.ZodString;
|
|
7
|
-
status: z.ZodNullable<z.ZodString>;
|
|
8
6
|
markdown: z.ZodString;
|
|
9
7
|
}, z.core.$strip>;
|
|
10
8
|
export type InstructionsLink = z.infer<typeof InstructionsLink>;
|
|
11
9
|
export declare const Instructions: z.ZodObject<{
|
|
12
10
|
chain: z.ZodArray<z.ZodObject<{
|
|
13
11
|
path: z.ZodString;
|
|
14
|
-
status: z.ZodNullable<z.ZodString>;
|
|
15
12
|
markdown: z.ZodString;
|
|
16
13
|
}, z.core.$strip>>;
|
|
17
14
|
hint: z.ZodOptional<z.ZodString>;
|
|
@@ -43,7 +40,6 @@ export type InstructionRead = z.infer<typeof InstructionRead>;
|
|
|
43
40
|
export declare const InstructionsRead: z.ZodUnion<readonly [z.ZodObject<{
|
|
44
41
|
chain: z.ZodArray<z.ZodObject<{
|
|
45
42
|
path: z.ZodString;
|
|
46
|
-
status: z.ZodNullable<z.ZodString>;
|
|
47
43
|
markdown: z.ZodString;
|
|
48
44
|
}, z.core.$strip>>;
|
|
49
45
|
hint: z.ZodOptional<z.ZodString>;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
// The INSTRUCTIONS a person or machine gets over MCP (#39, Nodes › Ordner › INSTRUCTIONS, E31, E67,
|
|
3
|
-
// E93): every INSTRUCTIONS on the way from the top down to a folder, each
|
|
4
|
-
//
|
|
5
|
-
// (trap P033): never an id, an owner or a right. HTTP carries none of it; a person reads the
|
|
3
|
+
// E93): every INSTRUCTIONS on the way from the top down to a folder, and of each only the part meant
|
|
4
|
+
// for the caller (#356). Only text and a path reach a model (trap P033): never an id, an owner or a right. HTTP carries none of it; a person reads the
|
|
6
5
|
// documents themselves.
|
|
7
|
-
// The one
|
|
8
|
-
//
|
|
9
|
-
// `## Operator` of E30 are gone; besides it, only a level-one heading `# @name` opens a section, one
|
|
10
|
-
// machine's own. Everything else counts for every AI.
|
|
11
|
-
export const validationSection = "Validation";
|
|
6
|
+
// The one kind of section (E93, #356): a level-one heading `# @name` opens a section, one machine's
|
|
7
|
+
// own. Everything else counts for every AI.
|
|
12
8
|
// The two names an INSTRUCTIONS document may carry in a folder: hidden by default, visible only in a
|
|
13
9
|
// machine's root folder. A folder holds at most one of them.
|
|
14
10
|
export const instructionsNames = ["INSTRUCTIONS", ".INSTRUCTIONS"];
|
|
@@ -20,12 +16,8 @@ export const InstructionsLink = z.object({
|
|
|
20
16
|
// Where it stands, as the caller can read it, from the first readable folder below a root folder
|
|
21
17
|
// down to the document itself: `Vertrieb/Leads/.INSTRUCTIONS`.
|
|
22
18
|
path: z.string(),
|
|
23
|
-
// Its validation status, the type of the column its ticket stands in (#47); null without a
|
|
24
|
-
// ticket. Every link is handed over, whatever its status (E31).
|
|
25
|
-
status: z.string().nullable(),
|
|
26
19
|
// The document's Markdown as its current version holds it, cut to what the caller gets (#356):
|
|
27
|
-
// the text under no heading
|
|
28
|
-
// `# @name` sections.
|
|
20
|
+
// the text under no heading and a machine's own `# @name` sections.
|
|
29
21
|
markdown: z.string(),
|
|
30
22
|
});
|
|
31
23
|
export const Instructions = z.object({
|
package/dist/mcps/mcps.d.ts
CHANGED
|
@@ -340,11 +340,11 @@ export declare const McpList: z.ZodObject<{
|
|
|
340
340
|
}, z.core.$strip>;
|
|
341
341
|
export type McpList = z.infer<typeof McpList>;
|
|
342
342
|
export declare const McpCallAction: z.ZodEnum<{
|
|
343
|
-
blocked: "blocked";
|
|
344
343
|
update: "update";
|
|
345
344
|
test: "test";
|
|
346
345
|
revoke: "revoke";
|
|
347
346
|
call: "call";
|
|
347
|
+
blocked: "blocked";
|
|
348
348
|
connect: "connect";
|
|
349
349
|
signin: "signin";
|
|
350
350
|
expire: "expire";
|
|
@@ -353,11 +353,11 @@ export type McpCallAction = z.infer<typeof McpCallAction>;
|
|
|
353
353
|
export declare const McpCall: z.ZodObject<{
|
|
354
354
|
callId: z.ZodTemplateLiteral<`call_${string}`>;
|
|
355
355
|
action: z.ZodEnum<{
|
|
356
|
-
blocked: "blocked";
|
|
357
356
|
update: "update";
|
|
358
357
|
test: "test";
|
|
359
358
|
revoke: "revoke";
|
|
360
359
|
call: "call";
|
|
360
|
+
blocked: "blocked";
|
|
361
361
|
connect: "connect";
|
|
362
362
|
signin: "signin";
|
|
363
363
|
expire: "expire";
|
|
@@ -372,11 +372,11 @@ export declare const McpCallList: z.ZodObject<{
|
|
|
372
372
|
items: z.ZodArray<z.ZodObject<{
|
|
373
373
|
callId: z.ZodTemplateLiteral<`call_${string}`>;
|
|
374
374
|
action: z.ZodEnum<{
|
|
375
|
-
blocked: "blocked";
|
|
376
375
|
update: "update";
|
|
377
376
|
test: "test";
|
|
378
377
|
revoke: "revoke";
|
|
379
378
|
call: "call";
|
|
379
|
+
blocked: "blocked";
|
|
380
380
|
connect: "connect";
|
|
381
381
|
signin: "signin";
|
|
382
382
|
expire: "expire";
|