@zinn-dev/cli 0.43.0 → 0.45.0
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/README.md +1 -1
- package/index.js +3 -3
- package/package.json +7 -4
- package/skills/zinn/SKILL.md +7 -9
- package/src/actor.d.ts +8 -0
- package/src/actor.js +5 -1
- package/src/capabilities-schema.d.ts +6 -2
- package/src/column-hint.js +2 -5
- package/src/database.d.ts +1 -2
- package/src/database.js +1 -6
- package/src/duration-input.d.ts +7 -0
- package/src/duration-input.js +31 -0
- package/src/errors.d.ts +34 -3
- package/src/errors.js +49 -7
- package/src/expected-values.d.ts +48 -0
- package/src/expected-values.js +60 -0
- package/src/failure-log.d.ts +6 -0
- package/src/failure-log.js +167 -0
- package/src/follow.d.ts +9 -0
- package/src/follow.js +58 -0
- package/src/input.d.ts +10 -7
- package/src/input.js +57 -13
- package/src/lib.d.ts +12 -7
- package/src/lib.js +70 -41
- package/src/list-continuation.js +1 -4
- package/src/list-limit.d.ts +2 -2
- package/src/list-limit.js +2 -2
- package/src/overview.d.ts +10 -0
- package/src/overview.js +41 -0
- package/src/presentation/activity-presentation.d.ts +4 -0
- package/src/presentation/activity-presentation.js +154 -38
- package/src/presentation/column-presentation.d.ts +22 -2
- package/src/presentation/column-presentation.js +68 -12
- package/src/presentation/doctor-presentation.d.ts +4 -0
- package/src/presentation/doctor-presentation.js +24 -0
- package/src/presentation/info-presentation.js +36 -6
- package/src/presentation/relation-presentation.d.ts +6 -2
- package/src/presentation/relation-presentation.js +37 -26
- package/src/presentation/task-blame-presentation.d.ts +8 -0
- package/src/presentation/task-blame-presentation.js +56 -0
- package/src/presentation/task-presentation.d.ts +8 -1
- package/src/presentation/task-presentation.js +59 -10
- package/src/result-schemas.d.ts +780 -20
- package/src/result-schemas.js +99 -2
- package/src/results.d.ts +6 -2
- package/src/results.js +9 -3
- package/src/routes/activity-router.d.ts +21 -4
- package/src/routes/activity-router.js +107 -60
- package/src/routes/aliases.js +1 -0
- package/src/routes/comment-router.d.ts +24 -6
- package/src/routes/comment-router.js +15 -5
- package/src/routes/doctor-router.d.ts +39 -0
- package/src/routes/doctor-router.js +103 -0
- package/src/routes/info-router.js +3 -2
- package/src/routes/label-router.d.ts +39 -6
- package/src/routes/label-router.js +22 -5
- package/src/routes/migrate-router.js +2 -2
- package/src/routes/project-router.d.ts +61 -12
- package/src/routes/project-router.js +103 -45
- package/src/routes/restore-router.js +11 -5
- package/src/routes/router.js +25 -16
- package/src/routes/routes.d.ts +455 -41
- package/src/routes/routes.js +4 -0
- package/src/routes/skill-router.d.ts +25 -0
- package/src/routes/skill-router.js +96 -0
- package/src/routes/task-router.d.ts +272 -19
- package/src/routes/task-router.js +325 -40
- package/src/routes/whoami-router.js +1 -1
- package/src/run-facts.d.ts +14 -0
- package/src/run-facts.js +14 -0
- package/src/store-folder.d.ts +5 -0
- package/src/store-folder.js +16 -0
- package/src/telemetry.d.ts +31 -0
- package/src/telemetry.js +329 -0
- package/src/text-edit.d.ts +2 -2
- package/src/text-input.d.ts +19 -1
- package/src/text-input.js +27 -10
- package/src/types.d.ts +1 -1
package/src/routes/routes.d.ts
CHANGED
|
@@ -47,7 +47,7 @@ export declare const routes: {
|
|
|
47
47
|
}];
|
|
48
48
|
readonly constraints: readonly [{
|
|
49
49
|
readonly kind: "exclusive";
|
|
50
|
-
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
50
|
+
readonly members: readonly ["option:description" | "option:text" | "option:expect-description" | "option:expect-text", "option:description-file" | "option:text-file" | "option:expect-description-file" | "option:expect-text-file"];
|
|
51
51
|
}];
|
|
52
52
|
};
|
|
53
53
|
results: import("../results.js").CommandResult[];
|
|
@@ -115,6 +115,28 @@ export declare const routes: {
|
|
|
115
115
|
};
|
|
116
116
|
input: {
|
|
117
117
|
readonly options: {
|
|
118
|
+
readonly "expect-name": {
|
|
119
|
+
readonly type: "string";
|
|
120
|
+
readonly value: {
|
|
121
|
+
readonly kind: "text";
|
|
122
|
+
readonly name: "text";
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
readonly "expect-description": {
|
|
126
|
+
readonly type: "string";
|
|
127
|
+
readonly value: {
|
|
128
|
+
readonly kind: "text";
|
|
129
|
+
readonly name: "text";
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
readonly "expect-description-file": {
|
|
133
|
+
readonly type: "string";
|
|
134
|
+
readonly value: {
|
|
135
|
+
readonly kind: "path";
|
|
136
|
+
readonly name: "path";
|
|
137
|
+
readonly description: "A UTF-8 file, or \"-\" for stdin. Trailing line breaks are dropped; empty or blank input is an error.";
|
|
138
|
+
};
|
|
139
|
+
};
|
|
118
140
|
readonly append: {
|
|
119
141
|
readonly type: "boolean";
|
|
120
142
|
};
|
|
@@ -164,18 +186,18 @@ export declare const routes: {
|
|
|
164
186
|
}];
|
|
165
187
|
readonly constraints: readonly [{
|
|
166
188
|
readonly kind: "exclusive";
|
|
167
|
-
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
189
|
+
readonly members: readonly ["option:description" | "option:text" | "option:expect-description" | "option:expect-text", "option:description-file" | "option:text-file" | "option:expect-description-file" | "option:expect-text-file"];
|
|
168
190
|
}, {
|
|
169
191
|
readonly kind: "exclusive";
|
|
170
192
|
readonly members: readonly ["option:append", "option:replacing"];
|
|
171
193
|
}, {
|
|
172
194
|
readonly kind: "requiresAny";
|
|
173
195
|
readonly input: "option:append";
|
|
174
|
-
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
196
|
+
readonly members: readonly ["option:description" | "option:text" | "option:expect-description" | "option:expect-text", "option:description-file" | "option:text-file" | "option:expect-description-file" | "option:expect-text-file"];
|
|
175
197
|
}, {
|
|
176
198
|
readonly kind: "requiresAny";
|
|
177
199
|
readonly input: "option:replacing";
|
|
178
|
-
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
200
|
+
readonly members: readonly ["option:description" | "option:text" | "option:expect-description" | "option:expect-text", "option:description-file" | "option:text-file" | "option:expect-description-file" | "option:expect-text-file"];
|
|
179
201
|
}, {
|
|
180
202
|
readonly kind: "requires";
|
|
181
203
|
readonly input: "option:all";
|
|
@@ -183,8 +205,11 @@ export declare const routes: {
|
|
|
183
205
|
}, {
|
|
184
206
|
readonly kind: "atLeastOne";
|
|
185
207
|
readonly members: readonly ["option:name", "option:description", "option:description-file"];
|
|
186
|
-
}
|
|
187
|
-
|
|
208
|
+
}, ...{
|
|
209
|
+
readonly kind: "exclusive";
|
|
210
|
+
readonly members: readonly ["option:description" | "option:text" | "option:expect-description" | "option:expect-text", "option:description-file" | "option:text-file" | "option:expect-description-file" | "option:expect-text-file"];
|
|
211
|
+
}[]];
|
|
212
|
+
readonly notes: readonly ["Omit the project key to use defaultProject from settings; otherwise a project key is required.", string, string];
|
|
188
213
|
};
|
|
189
214
|
results: import("../results.js").CommandResult[];
|
|
190
215
|
run: (args: string[]) => Promise<void>;
|
|
@@ -235,7 +260,17 @@ export declare const routes: {
|
|
|
235
260
|
kind: "none";
|
|
236
261
|
};
|
|
237
262
|
input: {
|
|
238
|
-
readonly options: {
|
|
263
|
+
readonly options: {
|
|
264
|
+
readonly category: {
|
|
265
|
+
readonly required: true;
|
|
266
|
+
readonly type: "string";
|
|
267
|
+
readonly value: {
|
|
268
|
+
readonly kind: "enum";
|
|
269
|
+
readonly name: "category";
|
|
270
|
+
readonly choices: ("done" | "backlog" | "todo" | "in_progress" | "review" | "cancelled")[];
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
};
|
|
239
274
|
readonly forms: readonly [{
|
|
240
275
|
readonly id: "default";
|
|
241
276
|
readonly positionals: readonly [{
|
|
@@ -296,18 +331,29 @@ export declare const routes: {
|
|
|
296
331
|
storage: "normal-open";
|
|
297
332
|
};
|
|
298
333
|
confirmation: {
|
|
299
|
-
kind: "
|
|
334
|
+
kind: "prompt";
|
|
335
|
+
description: string;
|
|
300
336
|
};
|
|
301
337
|
input: {
|
|
302
338
|
readonly options: {
|
|
303
339
|
readonly name: {
|
|
304
340
|
readonly type: "string";
|
|
305
|
-
readonly required: true;
|
|
306
341
|
readonly value: {
|
|
307
342
|
readonly kind: "text";
|
|
308
343
|
readonly name: "text";
|
|
309
344
|
};
|
|
310
345
|
};
|
|
346
|
+
readonly category: {
|
|
347
|
+
readonly type: "string";
|
|
348
|
+
readonly value: {
|
|
349
|
+
readonly kind: "enum";
|
|
350
|
+
readonly name: "category";
|
|
351
|
+
readonly choices: ("done" | "backlog" | "todo" | "in_progress" | "review" | "cancelled")[];
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
readonly yes: {
|
|
355
|
+
readonly type: "boolean";
|
|
356
|
+
};
|
|
311
357
|
};
|
|
312
358
|
readonly forms: readonly [{
|
|
313
359
|
readonly id: "default";
|
|
@@ -327,10 +373,13 @@ export declare const routes: {
|
|
|
327
373
|
};
|
|
328
374
|
}];
|
|
329
375
|
}];
|
|
330
|
-
readonly constraints: readonly [
|
|
376
|
+
readonly constraints: readonly [{
|
|
377
|
+
readonly kind: "atLeastOne";
|
|
378
|
+
readonly members: readonly ["option:name", "option:category"];
|
|
379
|
+
}];
|
|
331
380
|
};
|
|
332
381
|
results: import("../results.js").CommandResult[];
|
|
333
|
-
run: (args: Array<string>) => void
|
|
382
|
+
run: (args: Array<string>) => Promise<void>;
|
|
334
383
|
help: string;
|
|
335
384
|
};
|
|
336
385
|
order: {
|
|
@@ -366,7 +415,7 @@ export declare const routes: {
|
|
|
366
415
|
readonly max: 1;
|
|
367
416
|
readonly value: {
|
|
368
417
|
readonly kind: "enum";
|
|
369
|
-
readonly choices: ("
|
|
418
|
+
readonly choices: ("next" | "first" | "previous" | "last")[];
|
|
370
419
|
};
|
|
371
420
|
}];
|
|
372
421
|
}, {
|
|
@@ -562,7 +611,7 @@ export declare const routes: {
|
|
|
562
611
|
}];
|
|
563
612
|
readonly constraints: readonly [{
|
|
564
613
|
readonly kind: "exclusive";
|
|
565
|
-
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
614
|
+
readonly members: readonly ["option:description" | "option:text" | "option:expect-description" | "option:expect-text", "option:description-file" | "option:text-file" | "option:expect-description-file" | "option:expect-text-file"];
|
|
566
615
|
}];
|
|
567
616
|
readonly notes: readonly ["Omit the project key to use defaultProject from settings; otherwise a project key is required."];
|
|
568
617
|
};
|
|
@@ -592,7 +641,7 @@ export declare const routes: {
|
|
|
592
641
|
readonly name: "n";
|
|
593
642
|
readonly pattern: string;
|
|
594
643
|
};
|
|
595
|
-
readonly description: "Return at most n results after all filters.
|
|
644
|
+
readonly description: "Return at most n results after all filters.";
|
|
596
645
|
};
|
|
597
646
|
readonly sort: {
|
|
598
647
|
readonly type: "string";
|
|
@@ -602,6 +651,14 @@ export declare const routes: {
|
|
|
602
651
|
readonly choices: ("activity" | "due")[];
|
|
603
652
|
};
|
|
604
653
|
};
|
|
654
|
+
readonly state: {
|
|
655
|
+
readonly type: "string";
|
|
656
|
+
readonly value: {
|
|
657
|
+
readonly kind: "enum";
|
|
658
|
+
readonly name: "state";
|
|
659
|
+
readonly choices: ("all" | "open" | "closed")[];
|
|
660
|
+
};
|
|
661
|
+
};
|
|
605
662
|
readonly archived: {
|
|
606
663
|
readonly type: "boolean";
|
|
607
664
|
};
|
|
@@ -629,9 +686,9 @@ export declare const routes: {
|
|
|
629
686
|
readonly "starting-after": {
|
|
630
687
|
readonly type: "string";
|
|
631
688
|
readonly value: {
|
|
632
|
-
readonly kind: "task-
|
|
633
|
-
readonly name: "
|
|
634
|
-
readonly description: "
|
|
689
|
+
readonly kind: "task-cursor";
|
|
690
|
+
readonly name: "cursor";
|
|
691
|
+
readonly description: "Cursor from the continuation command that task list prints on stderr when more tasks remain";
|
|
635
692
|
};
|
|
636
693
|
};
|
|
637
694
|
readonly "due-since": {
|
|
@@ -669,7 +726,7 @@ export declare const routes: {
|
|
|
669
726
|
readonly kind: "exclusive";
|
|
670
727
|
readonly members: readonly ["positional:project-key", "option:all-projects"];
|
|
671
728
|
}];
|
|
672
|
-
readonly notes: readonly ["An omitted project key uses defaultProject, or all projects if unset. --all-projects overrides the default and cannot be combined with a project key.", "A --starting-after
|
|
729
|
+
readonly notes: readonly ["An omitted project key uses defaultProject, or all projects if unset. --all-projects overrides the default and cannot be combined with a project key.", "A --starting-after cursor works only with the --sort it was made for. Filters may change between pages."];
|
|
673
730
|
};
|
|
674
731
|
results: import("../results.js").CommandResult[];
|
|
675
732
|
run: (args: string[]) => void;
|
|
@@ -702,7 +759,7 @@ export declare const routes: {
|
|
|
702
759
|
readonly name: "n";
|
|
703
760
|
readonly pattern: string;
|
|
704
761
|
};
|
|
705
|
-
readonly description: "Return at most n results after all filters.
|
|
762
|
+
readonly description: "Return at most n results after all filters.";
|
|
706
763
|
};
|
|
707
764
|
readonly label: {
|
|
708
765
|
readonly type: "string";
|
|
@@ -712,6 +769,13 @@ export declare const routes: {
|
|
|
712
769
|
readonly name: "name";
|
|
713
770
|
};
|
|
714
771
|
};
|
|
772
|
+
readonly column: {
|
|
773
|
+
readonly type: "string";
|
|
774
|
+
readonly value: {
|
|
775
|
+
readonly kind: "column-name";
|
|
776
|
+
readonly name: "name";
|
|
777
|
+
};
|
|
778
|
+
};
|
|
715
779
|
readonly "due-since": {
|
|
716
780
|
readonly type: "string";
|
|
717
781
|
readonly value: {
|
|
@@ -760,6 +824,49 @@ export declare const routes: {
|
|
|
760
824
|
run: (args: string[]) => void;
|
|
761
825
|
help: string;
|
|
762
826
|
};
|
|
827
|
+
next: {
|
|
828
|
+
summary: string;
|
|
829
|
+
effects: {
|
|
830
|
+
domain: "read";
|
|
831
|
+
storage: "normal-open";
|
|
832
|
+
};
|
|
833
|
+
confirmation: {
|
|
834
|
+
kind: "none";
|
|
835
|
+
};
|
|
836
|
+
input: {
|
|
837
|
+
readonly options: {
|
|
838
|
+
readonly "all-projects": {
|
|
839
|
+
readonly type: "boolean";
|
|
840
|
+
};
|
|
841
|
+
readonly column: {
|
|
842
|
+
readonly type: "string";
|
|
843
|
+
readonly value: {
|
|
844
|
+
readonly kind: "column-name";
|
|
845
|
+
readonly name: "name";
|
|
846
|
+
};
|
|
847
|
+
};
|
|
848
|
+
};
|
|
849
|
+
readonly forms: readonly [{
|
|
850
|
+
readonly id: "default";
|
|
851
|
+
readonly positionals: readonly [{
|
|
852
|
+
readonly name: "project-key";
|
|
853
|
+
readonly min: 0;
|
|
854
|
+
readonly max: 1;
|
|
855
|
+
readonly value: {
|
|
856
|
+
readonly kind: "project-key";
|
|
857
|
+
};
|
|
858
|
+
}];
|
|
859
|
+
}];
|
|
860
|
+
readonly constraints: readonly [{
|
|
861
|
+
readonly kind: "exclusive";
|
|
862
|
+
readonly members: readonly ["positional:project-key", "option:all-projects"];
|
|
863
|
+
}];
|
|
864
|
+
readonly notes: readonly ["An omitted project key uses defaultProject, or all projects if unset. --all-projects overrides the default and cannot be combined with a project key."];
|
|
865
|
+
};
|
|
866
|
+
results: import("../results.js").CommandResult[];
|
|
867
|
+
run: (args: string[]) => void;
|
|
868
|
+
help: string;
|
|
869
|
+
};
|
|
763
870
|
view: {
|
|
764
871
|
summary: string;
|
|
765
872
|
effects: {
|
|
@@ -792,6 +899,34 @@ export declare const routes: {
|
|
|
792
899
|
run: (args: string[]) => void;
|
|
793
900
|
help: string;
|
|
794
901
|
};
|
|
902
|
+
blame: {
|
|
903
|
+
summary: string;
|
|
904
|
+
effects: {
|
|
905
|
+
domain: "read";
|
|
906
|
+
storage: "normal-open";
|
|
907
|
+
};
|
|
908
|
+
confirmation: {
|
|
909
|
+
kind: "none";
|
|
910
|
+
};
|
|
911
|
+
input: {
|
|
912
|
+
readonly options: {};
|
|
913
|
+
readonly forms: readonly [{
|
|
914
|
+
readonly id: "default";
|
|
915
|
+
readonly positionals: readonly [{
|
|
916
|
+
readonly name: "task-key";
|
|
917
|
+
readonly min: 1;
|
|
918
|
+
readonly max: 1;
|
|
919
|
+
readonly value: {
|
|
920
|
+
readonly kind: "task-key";
|
|
921
|
+
};
|
|
922
|
+
}];
|
|
923
|
+
}];
|
|
924
|
+
readonly constraints: readonly [];
|
|
925
|
+
};
|
|
926
|
+
results: import("../results.js").CommandResult[];
|
|
927
|
+
run: (args: string[]) => void;
|
|
928
|
+
help: string;
|
|
929
|
+
};
|
|
795
930
|
edit: {
|
|
796
931
|
summary: string;
|
|
797
932
|
effects: {
|
|
@@ -803,6 +938,46 @@ export declare const routes: {
|
|
|
803
938
|
};
|
|
804
939
|
input: {
|
|
805
940
|
readonly options: {
|
|
941
|
+
readonly "expect-description": {
|
|
942
|
+
readonly type: "string";
|
|
943
|
+
readonly value: {
|
|
944
|
+
readonly kind: "text";
|
|
945
|
+
readonly name: "text";
|
|
946
|
+
};
|
|
947
|
+
};
|
|
948
|
+
readonly "expect-title": {
|
|
949
|
+
readonly type: "string";
|
|
950
|
+
readonly value: {
|
|
951
|
+
readonly kind: "text";
|
|
952
|
+
readonly name: "text";
|
|
953
|
+
};
|
|
954
|
+
};
|
|
955
|
+
readonly "expect-priority": {
|
|
956
|
+
readonly type: "string";
|
|
957
|
+
readonly value: {
|
|
958
|
+
readonly description: "none expects no priority.";
|
|
959
|
+
readonly kind: "enum";
|
|
960
|
+
readonly name: "priority";
|
|
961
|
+
readonly choices: readonly [...("low" | "medium" | "high" | "urgent")[], "none"];
|
|
962
|
+
readonly caseInsensitive: true;
|
|
963
|
+
};
|
|
964
|
+
};
|
|
965
|
+
readonly "expect-due": {
|
|
966
|
+
readonly type: "string";
|
|
967
|
+
readonly value: {
|
|
968
|
+
readonly description: "Same formats as --due. none expects no deadline, ignoring case.";
|
|
969
|
+
readonly kind: "timestamp";
|
|
970
|
+
readonly name: "timestamp";
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
readonly "expect-description-file": {
|
|
974
|
+
readonly type: "string";
|
|
975
|
+
readonly value: {
|
|
976
|
+
readonly kind: "path";
|
|
977
|
+
readonly name: "path";
|
|
978
|
+
readonly description: "A UTF-8 file, or \"-\" for stdin. Trailing line breaks are dropped; empty or blank input is an error.";
|
|
979
|
+
};
|
|
980
|
+
};
|
|
806
981
|
readonly priority: {
|
|
807
982
|
readonly type: "string";
|
|
808
983
|
readonly value: {
|
|
@@ -886,18 +1061,18 @@ export declare const routes: {
|
|
|
886
1061
|
}];
|
|
887
1062
|
readonly constraints: readonly [{
|
|
888
1063
|
readonly kind: "exclusive";
|
|
889
|
-
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
1064
|
+
readonly members: readonly ["option:description" | "option:text" | "option:expect-description" | "option:expect-text", "option:description-file" | "option:text-file" | "option:expect-description-file" | "option:expect-text-file"];
|
|
890
1065
|
}, {
|
|
891
1066
|
readonly kind: "exclusive";
|
|
892
1067
|
readonly members: readonly ["option:append", "option:replacing"];
|
|
893
1068
|
}, {
|
|
894
1069
|
readonly kind: "requiresAny";
|
|
895
1070
|
readonly input: "option:append";
|
|
896
|
-
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
1071
|
+
readonly members: readonly ["option:description" | "option:text" | "option:expect-description" | "option:expect-text", "option:description-file" | "option:text-file" | "option:expect-description-file" | "option:expect-text-file"];
|
|
897
1072
|
}, {
|
|
898
1073
|
readonly kind: "requiresAny";
|
|
899
1074
|
readonly input: "option:replacing";
|
|
900
|
-
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
1075
|
+
readonly members: readonly ["option:description" | "option:text" | "option:expect-description" | "option:expect-text", "option:description-file" | "option:text-file" | "option:expect-description-file" | "option:expect-text-file"];
|
|
901
1076
|
}, {
|
|
902
1077
|
readonly kind: "requires";
|
|
903
1078
|
readonly input: "option:all";
|
|
@@ -905,8 +1080,11 @@ export declare const routes: {
|
|
|
905
1080
|
}, {
|
|
906
1081
|
readonly kind: "atLeastOne";
|
|
907
1082
|
readonly members: readonly ["option:title", "option:description", "option:description-file", "option:priority", "option:due", "option:add-label", "option:remove-label"];
|
|
908
|
-
}
|
|
909
|
-
|
|
1083
|
+
}, ...{
|
|
1084
|
+
readonly kind: "exclusive";
|
|
1085
|
+
readonly members: readonly ["option:description" | "option:text" | "option:expect-description" | "option:expect-text", "option:description-file" | "option:text-file" | "option:expect-description-file" | "option:expect-text-file"];
|
|
1086
|
+
}[]];
|
|
1087
|
+
readonly notes: readonly [string, string];
|
|
910
1088
|
};
|
|
911
1089
|
results: import("../results.js").CommandResult[];
|
|
912
1090
|
run: (args: string[]) => Promise<void>;
|
|
@@ -927,7 +1105,15 @@ export declare const routes: {
|
|
|
927
1105
|
kind: "none";
|
|
928
1106
|
};
|
|
929
1107
|
input: {
|
|
930
|
-
readonly options: {
|
|
1108
|
+
readonly options: {
|
|
1109
|
+
readonly from: {
|
|
1110
|
+
readonly type: "string";
|
|
1111
|
+
readonly value: {
|
|
1112
|
+
readonly kind: "column-name";
|
|
1113
|
+
readonly name: "column";
|
|
1114
|
+
};
|
|
1115
|
+
};
|
|
1116
|
+
};
|
|
931
1117
|
readonly forms: readonly [{
|
|
932
1118
|
readonly id: "default";
|
|
933
1119
|
readonly positionals: readonly [{
|
|
@@ -1091,6 +1277,104 @@ export declare const routes: {
|
|
|
1091
1277
|
run: (args: Array<string>) => void;
|
|
1092
1278
|
help: string;
|
|
1093
1279
|
};
|
|
1280
|
+
claim: {
|
|
1281
|
+
summary: string;
|
|
1282
|
+
effects: {
|
|
1283
|
+
domain: "update";
|
|
1284
|
+
storage: "normal-open";
|
|
1285
|
+
};
|
|
1286
|
+
confirmation: {
|
|
1287
|
+
kind: "none";
|
|
1288
|
+
};
|
|
1289
|
+
input: {
|
|
1290
|
+
readonly options: {
|
|
1291
|
+
readonly lease: {
|
|
1292
|
+
readonly type: "string";
|
|
1293
|
+
readonly required: true;
|
|
1294
|
+
readonly value: {
|
|
1295
|
+
readonly kind: "duration";
|
|
1296
|
+
readonly name: "duration";
|
|
1297
|
+
readonly pattern: "^\\d+[mh]$";
|
|
1298
|
+
readonly description: `Whole minutes or hours, such as 30m or 2h, from ${string} through ${string}.`;
|
|
1299
|
+
};
|
|
1300
|
+
};
|
|
1301
|
+
readonly force: {
|
|
1302
|
+
readonly type: "boolean";
|
|
1303
|
+
};
|
|
1304
|
+
};
|
|
1305
|
+
readonly forms: readonly [{
|
|
1306
|
+
readonly id: "default";
|
|
1307
|
+
readonly positionals: readonly [{
|
|
1308
|
+
readonly name: "task-key";
|
|
1309
|
+
readonly min: 1;
|
|
1310
|
+
readonly max: 1;
|
|
1311
|
+
readonly value: {
|
|
1312
|
+
readonly kind: "task-key";
|
|
1313
|
+
};
|
|
1314
|
+
}];
|
|
1315
|
+
}];
|
|
1316
|
+
readonly constraints: readonly [];
|
|
1317
|
+
};
|
|
1318
|
+
results: import("../results.js").CommandResult[];
|
|
1319
|
+
run: (args: string[]) => void;
|
|
1320
|
+
help: string;
|
|
1321
|
+
};
|
|
1322
|
+
heartbeat: {
|
|
1323
|
+
summary: string;
|
|
1324
|
+
effects: {
|
|
1325
|
+
domain: "update";
|
|
1326
|
+
storage: "normal-open";
|
|
1327
|
+
};
|
|
1328
|
+
confirmation: {
|
|
1329
|
+
kind: "none";
|
|
1330
|
+
};
|
|
1331
|
+
input: {
|
|
1332
|
+
readonly options: {};
|
|
1333
|
+
readonly forms: readonly [{
|
|
1334
|
+
readonly id: "default";
|
|
1335
|
+
readonly positionals: readonly [{
|
|
1336
|
+
readonly name: "task-key";
|
|
1337
|
+
readonly min: 1;
|
|
1338
|
+
readonly max: 1;
|
|
1339
|
+
readonly value: {
|
|
1340
|
+
readonly kind: "task-key";
|
|
1341
|
+
};
|
|
1342
|
+
}];
|
|
1343
|
+
}];
|
|
1344
|
+
readonly constraints: readonly [];
|
|
1345
|
+
};
|
|
1346
|
+
results: import("../results.js").CommandResult[];
|
|
1347
|
+
run: (args: string[]) => void;
|
|
1348
|
+
help: string;
|
|
1349
|
+
};
|
|
1350
|
+
release: {
|
|
1351
|
+
summary: string;
|
|
1352
|
+
effects: {
|
|
1353
|
+
domain: "update";
|
|
1354
|
+
storage: "normal-open";
|
|
1355
|
+
};
|
|
1356
|
+
confirmation: {
|
|
1357
|
+
kind: "none";
|
|
1358
|
+
};
|
|
1359
|
+
input: {
|
|
1360
|
+
readonly options: {};
|
|
1361
|
+
readonly forms: readonly [{
|
|
1362
|
+
readonly id: "default";
|
|
1363
|
+
readonly positionals: readonly [{
|
|
1364
|
+
readonly name: "task-key";
|
|
1365
|
+
readonly min: 1;
|
|
1366
|
+
readonly max: 1;
|
|
1367
|
+
readonly value: {
|
|
1368
|
+
readonly kind: "task-key";
|
|
1369
|
+
};
|
|
1370
|
+
}];
|
|
1371
|
+
}];
|
|
1372
|
+
readonly constraints: readonly [];
|
|
1373
|
+
};
|
|
1374
|
+
results: import("../results.js").CommandResult[];
|
|
1375
|
+
run: (args: string[]) => void;
|
|
1376
|
+
help: string;
|
|
1377
|
+
};
|
|
1094
1378
|
delete: {
|
|
1095
1379
|
summary: string;
|
|
1096
1380
|
effects: {
|
|
@@ -1293,7 +1577,7 @@ export declare const routes: {
|
|
|
1293
1577
|
}];
|
|
1294
1578
|
readonly constraints: readonly [{
|
|
1295
1579
|
readonly kind: "exclusive";
|
|
1296
|
-
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
1580
|
+
readonly members: readonly ["option:description" | "option:text" | "option:expect-description" | "option:expect-text", "option:description-file" | "option:text-file" | "option:expect-description-file" | "option:expect-text-file"];
|
|
1297
1581
|
}, {
|
|
1298
1582
|
readonly kind: "atLeastOne";
|
|
1299
1583
|
readonly members: readonly ["option:text", "option:text-file"];
|
|
@@ -1373,6 +1657,21 @@ export declare const routes: {
|
|
|
1373
1657
|
};
|
|
1374
1658
|
input: {
|
|
1375
1659
|
readonly options: {
|
|
1660
|
+
readonly "expect-text": {
|
|
1661
|
+
readonly type: "string";
|
|
1662
|
+
readonly value: {
|
|
1663
|
+
readonly kind: "text";
|
|
1664
|
+
readonly name: "text";
|
|
1665
|
+
};
|
|
1666
|
+
};
|
|
1667
|
+
readonly "expect-text-file": {
|
|
1668
|
+
readonly type: "string";
|
|
1669
|
+
readonly value: {
|
|
1670
|
+
readonly kind: "path";
|
|
1671
|
+
readonly name: "path";
|
|
1672
|
+
readonly description: "A UTF-8 file, or \"-\" for stdin. Trailing line breaks are dropped; empty or blank input is an error.";
|
|
1673
|
+
};
|
|
1674
|
+
};
|
|
1376
1675
|
readonly append: {
|
|
1377
1676
|
readonly type: "boolean";
|
|
1378
1677
|
};
|
|
@@ -1415,18 +1714,18 @@ export declare const routes: {
|
|
|
1415
1714
|
}];
|
|
1416
1715
|
readonly constraints: readonly [{
|
|
1417
1716
|
readonly kind: "exclusive";
|
|
1418
|
-
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
1717
|
+
readonly members: readonly ["option:description" | "option:text" | "option:expect-description" | "option:expect-text", "option:description-file" | "option:text-file" | "option:expect-description-file" | "option:expect-text-file"];
|
|
1419
1718
|
}, {
|
|
1420
1719
|
readonly kind: "exclusive";
|
|
1421
1720
|
readonly members: readonly ["option:append", "option:replacing"];
|
|
1422
1721
|
}, {
|
|
1423
1722
|
readonly kind: "requiresAny";
|
|
1424
1723
|
readonly input: "option:append";
|
|
1425
|
-
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
1724
|
+
readonly members: readonly ["option:description" | "option:text" | "option:expect-description" | "option:expect-text", "option:description-file" | "option:text-file" | "option:expect-description-file" | "option:expect-text-file"];
|
|
1426
1725
|
}, {
|
|
1427
1726
|
readonly kind: "requiresAny";
|
|
1428
1727
|
readonly input: "option:replacing";
|
|
1429
|
-
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
1728
|
+
readonly members: readonly ["option:description" | "option:text" | "option:expect-description" | "option:expect-text", "option:description-file" | "option:text-file" | "option:expect-description-file" | "option:expect-text-file"];
|
|
1430
1729
|
}, {
|
|
1431
1730
|
readonly kind: "requires";
|
|
1432
1731
|
readonly input: "option:all";
|
|
@@ -1434,8 +1733,11 @@ export declare const routes: {
|
|
|
1434
1733
|
}, {
|
|
1435
1734
|
readonly kind: "atLeastOne";
|
|
1436
1735
|
readonly members: readonly ["option:text", "option:text-file"];
|
|
1437
|
-
}
|
|
1438
|
-
|
|
1736
|
+
}, ...{
|
|
1737
|
+
readonly kind: "exclusive";
|
|
1738
|
+
readonly members: readonly ["option:description" | "option:text" | "option:expect-description" | "option:expect-text", "option:description-file" | "option:text-file" | "option:expect-description-file" | "option:expect-text-file"];
|
|
1739
|
+
}[]];
|
|
1740
|
+
readonly notes: readonly [string, string];
|
|
1439
1741
|
};
|
|
1440
1742
|
results: import("../results.js").CommandResult[];
|
|
1441
1743
|
guessedFlags: {
|
|
@@ -1600,7 +1902,7 @@ export declare const routes: {
|
|
|
1600
1902
|
}];
|
|
1601
1903
|
readonly constraints: readonly [{
|
|
1602
1904
|
readonly kind: "exclusive";
|
|
1603
|
-
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
1905
|
+
readonly members: readonly ["option:description" | "option:text" | "option:expect-description" | "option:expect-text", "option:description-file" | "option:text-file" | "option:expect-description-file" | "option:expect-text-file"];
|
|
1604
1906
|
}];
|
|
1605
1907
|
};
|
|
1606
1908
|
results: import("../results.js").CommandResult[];
|
|
@@ -1667,6 +1969,36 @@ export declare const routes: {
|
|
|
1667
1969
|
};
|
|
1668
1970
|
input: {
|
|
1669
1971
|
readonly options: {
|
|
1972
|
+
readonly "expect-name": {
|
|
1973
|
+
readonly type: "string";
|
|
1974
|
+
readonly value: {
|
|
1975
|
+
readonly kind: "text";
|
|
1976
|
+
readonly name: "text";
|
|
1977
|
+
};
|
|
1978
|
+
};
|
|
1979
|
+
readonly "expect-description": {
|
|
1980
|
+
readonly type: "string";
|
|
1981
|
+
readonly value: {
|
|
1982
|
+
readonly kind: "text";
|
|
1983
|
+
readonly name: "text";
|
|
1984
|
+
};
|
|
1985
|
+
};
|
|
1986
|
+
readonly "expect-color": {
|
|
1987
|
+
readonly type: "string";
|
|
1988
|
+
readonly value: {
|
|
1989
|
+
readonly kind: "enum";
|
|
1990
|
+
readonly name: "color";
|
|
1991
|
+
readonly choices: ("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray")[];
|
|
1992
|
+
};
|
|
1993
|
+
};
|
|
1994
|
+
readonly "expect-description-file": {
|
|
1995
|
+
readonly type: "string";
|
|
1996
|
+
readonly value: {
|
|
1997
|
+
readonly kind: "path";
|
|
1998
|
+
readonly name: "path";
|
|
1999
|
+
readonly description: "A UTF-8 file, or \"-\" for stdin. Trailing line breaks are dropped; empty or blank input is an error.";
|
|
2000
|
+
};
|
|
2001
|
+
};
|
|
1670
2002
|
readonly color: {
|
|
1671
2003
|
readonly type: "string";
|
|
1672
2004
|
readonly value: {
|
|
@@ -1724,18 +2056,18 @@ export declare const routes: {
|
|
|
1724
2056
|
}];
|
|
1725
2057
|
readonly constraints: readonly [{
|
|
1726
2058
|
readonly kind: "exclusive";
|
|
1727
|
-
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
2059
|
+
readonly members: readonly ["option:description" | "option:text" | "option:expect-description" | "option:expect-text", "option:description-file" | "option:text-file" | "option:expect-description-file" | "option:expect-text-file"];
|
|
1728
2060
|
}, {
|
|
1729
2061
|
readonly kind: "exclusive";
|
|
1730
2062
|
readonly members: readonly ["option:append", "option:replacing"];
|
|
1731
2063
|
}, {
|
|
1732
2064
|
readonly kind: "requiresAny";
|
|
1733
2065
|
readonly input: "option:append";
|
|
1734
|
-
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
2066
|
+
readonly members: readonly ["option:description" | "option:text" | "option:expect-description" | "option:expect-text", "option:description-file" | "option:text-file" | "option:expect-description-file" | "option:expect-text-file"];
|
|
1735
2067
|
}, {
|
|
1736
2068
|
readonly kind: "requiresAny";
|
|
1737
2069
|
readonly input: "option:replacing";
|
|
1738
|
-
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
2070
|
+
readonly members: readonly ["option:description" | "option:text" | "option:expect-description" | "option:expect-text", "option:description-file" | "option:text-file" | "option:expect-description-file" | "option:expect-text-file"];
|
|
1739
2071
|
}, {
|
|
1740
2072
|
readonly kind: "requires";
|
|
1741
2073
|
readonly input: "option:all";
|
|
@@ -1743,8 +2075,11 @@ export declare const routes: {
|
|
|
1743
2075
|
}, {
|
|
1744
2076
|
readonly kind: "atLeastOne";
|
|
1745
2077
|
readonly members: `option:${string}`[];
|
|
1746
|
-
}
|
|
1747
|
-
|
|
2078
|
+
}, ...{
|
|
2079
|
+
readonly kind: "exclusive";
|
|
2080
|
+
readonly members: readonly ["option:description" | "option:text" | "option:expect-description" | "option:expect-text", "option:description-file" | "option:text-file" | "option:expect-description-file" | "option:expect-text-file"];
|
|
2081
|
+
}[]];
|
|
2082
|
+
readonly notes: readonly [string, string];
|
|
1748
2083
|
};
|
|
1749
2084
|
results: import("../results.js").CommandResult[];
|
|
1750
2085
|
run: (args: string[]) => Promise<void>;
|
|
@@ -1843,6 +2178,14 @@ export declare const routes: {
|
|
|
1843
2178
|
readonly name: "id";
|
|
1844
2179
|
};
|
|
1845
2180
|
};
|
|
2181
|
+
readonly client: {
|
|
2182
|
+
readonly type: "string";
|
|
2183
|
+
readonly value: {
|
|
2184
|
+
readonly kind: "text";
|
|
2185
|
+
readonly name: "name";
|
|
2186
|
+
readonly description: "Match a client name or its colon-separated parts, including case.";
|
|
2187
|
+
};
|
|
2188
|
+
};
|
|
1846
2189
|
readonly since: {
|
|
1847
2190
|
readonly type: "string";
|
|
1848
2191
|
readonly value: {
|
|
@@ -1865,7 +2208,7 @@ export declare const routes: {
|
|
|
1865
2208
|
readonly value: {
|
|
1866
2209
|
readonly kind: "activity-action";
|
|
1867
2210
|
readonly name: "action";
|
|
1868
|
-
readonly choices: ("create" | "delete" | "archive" | "edit" | "move" | "order" | "unarchive" | "relation_create" | "relation_delete" | "comment_create" | "comment_edit" | "comment_delete")[];
|
|
2211
|
+
readonly choices: ("create" | "delete" | "claim" | "archive" | "edit" | "move" | "order" | "unarchive" | "relation_create" | "relation_delete" | "comment_create" | "comment_edit" | "comment_delete" | "claim_take" | "claim_heartbeat" | "claim_release")[];
|
|
1869
2212
|
};
|
|
1870
2213
|
};
|
|
1871
2214
|
readonly changed: {
|
|
@@ -1878,6 +2221,9 @@ export declare const routes: {
|
|
|
1878
2221
|
readonly description: `Fields: ${string}. Omit the value to match any change. Values apply to column, priority and added labels, ignoring case. priority=none matches an unassigned priority.`;
|
|
1879
2222
|
};
|
|
1880
2223
|
};
|
|
2224
|
+
readonly follow: {
|
|
2225
|
+
readonly type: "boolean";
|
|
2226
|
+
};
|
|
1881
2227
|
readonly limit: {
|
|
1882
2228
|
readonly type: "string";
|
|
1883
2229
|
readonly value: {
|
|
@@ -1885,7 +2231,7 @@ export declare const routes: {
|
|
|
1885
2231
|
readonly name: "n";
|
|
1886
2232
|
readonly pattern: string;
|
|
1887
2233
|
};
|
|
1888
|
-
readonly description: "Return at most n results after all filters.
|
|
2234
|
+
readonly description: "Return at most n results after all filters.";
|
|
1889
2235
|
};
|
|
1890
2236
|
readonly "starting-after": {
|
|
1891
2237
|
readonly type: "string";
|
|
@@ -1906,11 +2252,17 @@ export declare const routes: {
|
|
|
1906
2252
|
readonly kind: "requiresAny";
|
|
1907
2253
|
readonly input: "option:show-deleted";
|
|
1908
2254
|
readonly members: readonly ["option:project", "option:task"];
|
|
2255
|
+
}, {
|
|
2256
|
+
readonly kind: "exclusive";
|
|
2257
|
+
readonly members: readonly ["option:follow", "option:limit"];
|
|
2258
|
+
}, {
|
|
2259
|
+
readonly kind: "exclusive";
|
|
2260
|
+
readonly members: readonly ["option:follow", "option:starting-after"];
|
|
1909
2261
|
}];
|
|
1910
|
-
readonly notes: readonly ["Repeated --action flags match any listed action. Repeated --changed filters for one field match any of them. Different fields must match the same event. All other filters must also match, before --limit applies."];
|
|
2262
|
+
readonly notes: readonly ["With --follow, the command prints activity committed after it starts, oldest first, and runs until stopped.", "Repeated --action flags match any listed action. Repeated --changed filters for one field match any of them. Different fields must match the same event. All other filters must also match, before --limit applies."];
|
|
1911
2263
|
};
|
|
1912
2264
|
results: import("../results.js").CommandResult[];
|
|
1913
|
-
run: (args: string[]) => void;
|
|
2265
|
+
run: (args: string[]) => Promise<void> | undefined;
|
|
1914
2266
|
help: string;
|
|
1915
2267
|
};
|
|
1916
2268
|
view: {
|
|
@@ -2059,6 +2411,45 @@ export declare const routes: {
|
|
|
2059
2411
|
run: (args: string[]) => void;
|
|
2060
2412
|
help: string;
|
|
2061
2413
|
};
|
|
2414
|
+
doctor: {
|
|
2415
|
+
summary: string;
|
|
2416
|
+
effects: {
|
|
2417
|
+
domain: "none";
|
|
2418
|
+
storage: "inspect";
|
|
2419
|
+
};
|
|
2420
|
+
confirmation: {
|
|
2421
|
+
kind: "none";
|
|
2422
|
+
};
|
|
2423
|
+
input: {
|
|
2424
|
+
readonly options: {};
|
|
2425
|
+
readonly forms: readonly [{
|
|
2426
|
+
readonly id: "default";
|
|
2427
|
+
readonly positionals: readonly [];
|
|
2428
|
+
}];
|
|
2429
|
+
readonly constraints: readonly [];
|
|
2430
|
+
};
|
|
2431
|
+
results: {
|
|
2432
|
+
findingsExitCode: 1;
|
|
2433
|
+
selector: {
|
|
2434
|
+
kind: "always";
|
|
2435
|
+
} | {
|
|
2436
|
+
kind: "booleanOption";
|
|
2437
|
+
name: string;
|
|
2438
|
+
value: boolean;
|
|
2439
|
+
} | {
|
|
2440
|
+
kind: "positionalCount";
|
|
2441
|
+
name: string;
|
|
2442
|
+
min: number;
|
|
2443
|
+
max: number | null;
|
|
2444
|
+
};
|
|
2445
|
+
schemaRef: `#/schemas/definitions/${import("../result-schemas.js").ResultSchemaName}`;
|
|
2446
|
+
mode: "json" | "json-lines";
|
|
2447
|
+
stream: "stdout";
|
|
2448
|
+
exitCode: 0;
|
|
2449
|
+
}[];
|
|
2450
|
+
run: (args: string[]) => void;
|
|
2451
|
+
help: string;
|
|
2452
|
+
};
|
|
2062
2453
|
whoami: {
|
|
2063
2454
|
summary: string;
|
|
2064
2455
|
effects: {
|
|
@@ -2080,6 +2471,29 @@ export declare const routes: {
|
|
|
2080
2471
|
run: (args: string[]) => void;
|
|
2081
2472
|
help: string;
|
|
2082
2473
|
};
|
|
2474
|
+
skill: {
|
|
2475
|
+
install: {
|
|
2476
|
+
summary: string;
|
|
2477
|
+
effects: {
|
|
2478
|
+
domain: "none";
|
|
2479
|
+
storage: "none";
|
|
2480
|
+
};
|
|
2481
|
+
confirmation: {
|
|
2482
|
+
kind: "none";
|
|
2483
|
+
};
|
|
2484
|
+
input: {
|
|
2485
|
+
readonly options: {};
|
|
2486
|
+
readonly forms: readonly [{
|
|
2487
|
+
readonly id: "default";
|
|
2488
|
+
readonly positionals: readonly [];
|
|
2489
|
+
}];
|
|
2490
|
+
readonly constraints: readonly [];
|
|
2491
|
+
};
|
|
2492
|
+
results: import("../results.js").CommandResult[];
|
|
2493
|
+
run: (args: string[]) => Promise<void>;
|
|
2494
|
+
help: string;
|
|
2495
|
+
};
|
|
2496
|
+
};
|
|
2083
2497
|
capabilities: {
|
|
2084
2498
|
summary: string;
|
|
2085
2499
|
effects: {
|