@zinn-dev/cli 0.42.0 → 0.44.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 +6 -4
- package/skills/zinn/SKILL.md +1 -1
- package/src/actor.d.ts +8 -0
- package/src/actor.js +5 -1
- package/src/capabilities-schema.d.ts +4 -4
- package/src/column-hint.js +3 -4
- package/src/errors.d.ts +40 -3
- package/src/errors.js +93 -21
- package/src/failure-log.d.ts +6 -0
- package/src/failure-log.js +167 -0
- package/src/input.d.ts +11 -0
- package/src/input.js +25 -1
- package/src/lib.d.ts +21 -10
- package/src/lib.js +116 -62
- package/src/list-continuation.d.ts +11 -0
- package/src/list-continuation.js +18 -0
- package/src/list-limit.d.ts +11 -0
- package/src/list-limit.js +17 -0
- package/src/overview.d.ts +10 -0
- package/src/overview.js +41 -0
- package/src/presentation/activity-presentation.d.ts +2 -0
- package/src/presentation/activity-presentation.js +112 -38
- package/src/presentation/column-presentation.d.ts +17 -2
- package/src/presentation/column-presentation.js +45 -6
- package/src/presentation/description-presentation.d.ts +3 -16
- package/src/presentation/description-presentation.js +22 -21
- package/src/presentation/info-presentation.js +36 -6
- package/src/presentation/project-presentation.d.ts +6 -2
- package/src/presentation/project-presentation.js +9 -1
- package/src/presentation/relation-presentation.d.ts +12 -3
- package/src/presentation/relation-presentation.js +50 -26
- package/src/presentation/row-layout.d.ts +1 -1
- package/src/presentation/row-layout.js +6 -5
- package/src/presentation/task-blame-presentation.d.ts +11 -0
- package/src/presentation/task-blame-presentation.js +56 -0
- package/src/presentation/task-presentation.d.ts +6 -1
- package/src/presentation/task-presentation.js +28 -10
- package/src/presentation/text-width.d.ts +2 -0
- package/src/presentation/text-width.js +43 -0
- package/src/presentation/time.d.ts +3 -1
- package/src/presentation/time.js +5 -2
- package/src/result-schemas.d.ts +529 -18
- package/src/result-schemas.js +66 -4
- package/src/routes/activity-router.d.ts +53 -1
- package/src/routes/activity-router.js +126 -15
- package/src/routes/info-router.js +3 -2
- package/src/routes/migrate-router.js +2 -2
- package/src/routes/project-router.d.ts +41 -1
- package/src/routes/project-router.js +76 -24
- package/src/routes/relation-router.d.ts +7 -3
- package/src/routes/relation-router.js +73 -56
- package/src/routes/restore-router.js +10 -7
- package/src/routes/router.js +77 -37
- package/src/routes/routes.d.ts +213 -8
- package/src/routes/task-router.d.ts +119 -6
- package/src/routes/task-router.js +177 -32
- 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-input.js +1 -5
- package/src/timestamp-input.d.ts +3 -0
- package/src/timestamp-input.js +31 -0
- package/src/types.d.ts +4 -4
package/src/routes/routes.d.ts
CHANGED
|
@@ -366,7 +366,7 @@ export declare const routes: {
|
|
|
366
366
|
readonly max: 1;
|
|
367
367
|
readonly value: {
|
|
368
368
|
readonly kind: "enum";
|
|
369
|
-
readonly choices: ("
|
|
369
|
+
readonly choices: ("next" | "first" | "previous" | "last")[];
|
|
370
370
|
};
|
|
371
371
|
}];
|
|
372
372
|
}, {
|
|
@@ -408,6 +408,46 @@ export declare const routes: {
|
|
|
408
408
|
run: (args: Array<string>) => void;
|
|
409
409
|
help: string;
|
|
410
410
|
};
|
|
411
|
+
delete: {
|
|
412
|
+
summary: string;
|
|
413
|
+
effects: {
|
|
414
|
+
domain: "delete";
|
|
415
|
+
storage: "normal-open";
|
|
416
|
+
};
|
|
417
|
+
confirmation: {
|
|
418
|
+
kind: "prompt";
|
|
419
|
+
description: string;
|
|
420
|
+
};
|
|
421
|
+
input: {
|
|
422
|
+
readonly options: {
|
|
423
|
+
readonly yes: {
|
|
424
|
+
readonly type: "boolean";
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
readonly forms: readonly [{
|
|
428
|
+
readonly id: "default";
|
|
429
|
+
readonly positionals: readonly [{
|
|
430
|
+
readonly name: "project-key";
|
|
431
|
+
readonly min: 1;
|
|
432
|
+
readonly max: 1;
|
|
433
|
+
readonly value: {
|
|
434
|
+
readonly kind: "project-key";
|
|
435
|
+
};
|
|
436
|
+
}, {
|
|
437
|
+
readonly name: "column-name";
|
|
438
|
+
readonly min: 1;
|
|
439
|
+
readonly max: 1;
|
|
440
|
+
readonly value: {
|
|
441
|
+
readonly kind: "column-name";
|
|
442
|
+
};
|
|
443
|
+
}];
|
|
444
|
+
}];
|
|
445
|
+
readonly constraints: readonly [];
|
|
446
|
+
};
|
|
447
|
+
results: import("../results.js").CommandResult[];
|
|
448
|
+
run: (args: string[]) => Promise<void>;
|
|
449
|
+
help: string;
|
|
450
|
+
};
|
|
411
451
|
};
|
|
412
452
|
};
|
|
413
453
|
task: {
|
|
@@ -455,6 +495,14 @@ export declare const routes: {
|
|
|
455
495
|
readonly description: "Omission leaves priority unassigned on creation and unchanged on edit. none clears priority; JSON uses null.";
|
|
456
496
|
};
|
|
457
497
|
};
|
|
498
|
+
readonly due: {
|
|
499
|
+
readonly type: "string";
|
|
500
|
+
readonly value: {
|
|
501
|
+
readonly kind: "timestamp";
|
|
502
|
+
readonly name: "timestamp";
|
|
503
|
+
readonly description: "Integer epoch milliseconds or YYYY-MM-DDTHH:mm:ss[.SSS] with Z or a numeric offset. Fractions have 1 to 3 digits. none clears the deadline, ignoring case. Omission leaves it unset on creation and unchanged on edit.";
|
|
504
|
+
};
|
|
505
|
+
};
|
|
458
506
|
readonly label: {
|
|
459
507
|
readonly type: "string";
|
|
460
508
|
readonly multiple: true;
|
|
@@ -537,6 +585,23 @@ export declare const routes: {
|
|
|
537
585
|
};
|
|
538
586
|
input: {
|
|
539
587
|
readonly options: {
|
|
588
|
+
readonly limit: {
|
|
589
|
+
readonly type: "string";
|
|
590
|
+
readonly value: {
|
|
591
|
+
readonly kind: "positive-integer";
|
|
592
|
+
readonly name: "n";
|
|
593
|
+
readonly pattern: string;
|
|
594
|
+
};
|
|
595
|
+
readonly description: "Return at most n results after all filters.";
|
|
596
|
+
};
|
|
597
|
+
readonly sort: {
|
|
598
|
+
readonly type: "string";
|
|
599
|
+
readonly value: {
|
|
600
|
+
readonly kind: "enum";
|
|
601
|
+
readonly name: "key";
|
|
602
|
+
readonly choices: ("activity" | "due")[];
|
|
603
|
+
};
|
|
604
|
+
};
|
|
540
605
|
readonly archived: {
|
|
541
606
|
readonly type: "boolean";
|
|
542
607
|
};
|
|
@@ -561,6 +626,30 @@ export declare const routes: {
|
|
|
561
626
|
readonly name: "name";
|
|
562
627
|
};
|
|
563
628
|
};
|
|
629
|
+
readonly "starting-after": {
|
|
630
|
+
readonly type: "string";
|
|
631
|
+
readonly value: {
|
|
632
|
+
readonly kind: "task-cursor";
|
|
633
|
+
readonly name: "cursor";
|
|
634
|
+
readonly description: "Cursor from the continuation command that task list prints on stderr when more tasks remain";
|
|
635
|
+
};
|
|
636
|
+
};
|
|
637
|
+
readonly "due-since": {
|
|
638
|
+
readonly type: "string";
|
|
639
|
+
readonly value: {
|
|
640
|
+
readonly kind: "timestamp";
|
|
641
|
+
readonly name: "timestamp";
|
|
642
|
+
readonly description: "Inclusive lower deadline bound. Integer epoch milliseconds or a timestamp with seconds and Z or a numeric offset. Fractions have 1 to 3 digits. Undated tasks do not match.";
|
|
643
|
+
};
|
|
644
|
+
};
|
|
645
|
+
readonly "due-until": {
|
|
646
|
+
readonly type: "string";
|
|
647
|
+
readonly value: {
|
|
648
|
+
readonly kind: "timestamp";
|
|
649
|
+
readonly name: "timestamp";
|
|
650
|
+
readonly description: "Inclusive upper deadline bound in the same formats as --due-since. Must be at or after --due-since. Undated tasks do not match.";
|
|
651
|
+
};
|
|
652
|
+
};
|
|
564
653
|
};
|
|
565
654
|
readonly forms: readonly [{
|
|
566
655
|
readonly id: "default";
|
|
@@ -580,7 +669,7 @@ export declare const routes: {
|
|
|
580
669
|
readonly kind: "exclusive";
|
|
581
670
|
readonly members: readonly ["positional:project-key", "option:all-projects"];
|
|
582
671
|
}];
|
|
583
|
-
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."];
|
|
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 cursor works only with the --sort it was made for. Filters may change between pages."];
|
|
584
673
|
};
|
|
585
674
|
results: import("../results.js").CommandResult[];
|
|
586
675
|
run: (args: string[]) => void;
|
|
@@ -611,8 +700,9 @@ export declare const routes: {
|
|
|
611
700
|
readonly value: {
|
|
612
701
|
readonly kind: "positive-integer";
|
|
613
702
|
readonly name: "n";
|
|
614
|
-
readonly pattern:
|
|
703
|
+
readonly pattern: string;
|
|
615
704
|
};
|
|
705
|
+
readonly description: "Return at most n results after all filters.";
|
|
616
706
|
};
|
|
617
707
|
readonly label: {
|
|
618
708
|
readonly type: "string";
|
|
@@ -622,6 +712,29 @@ export declare const routes: {
|
|
|
622
712
|
readonly name: "name";
|
|
623
713
|
};
|
|
624
714
|
};
|
|
715
|
+
readonly column: {
|
|
716
|
+
readonly type: "string";
|
|
717
|
+
readonly value: {
|
|
718
|
+
readonly kind: "column-name";
|
|
719
|
+
readonly name: "name";
|
|
720
|
+
};
|
|
721
|
+
};
|
|
722
|
+
readonly "due-since": {
|
|
723
|
+
readonly type: "string";
|
|
724
|
+
readonly value: {
|
|
725
|
+
readonly kind: "timestamp";
|
|
726
|
+
readonly name: "timestamp";
|
|
727
|
+
readonly description: "Inclusive lower deadline bound. Integer epoch milliseconds or a timestamp with seconds and Z or a numeric offset. Fractions have 1 to 3 digits. Undated tasks do not match.";
|
|
728
|
+
};
|
|
729
|
+
};
|
|
730
|
+
readonly "due-until": {
|
|
731
|
+
readonly type: "string";
|
|
732
|
+
readonly value: {
|
|
733
|
+
readonly kind: "timestamp";
|
|
734
|
+
readonly name: "timestamp";
|
|
735
|
+
readonly description: "Inclusive upper deadline bound in the same formats as --due-since. Must be at or after --due-since. Undated tasks do not match.";
|
|
736
|
+
};
|
|
737
|
+
};
|
|
625
738
|
};
|
|
626
739
|
readonly forms: readonly [{
|
|
627
740
|
readonly id: "default";
|
|
@@ -686,6 +799,34 @@ export declare const routes: {
|
|
|
686
799
|
run: (args: string[]) => void;
|
|
687
800
|
help: string;
|
|
688
801
|
};
|
|
802
|
+
blame: {
|
|
803
|
+
summary: string;
|
|
804
|
+
effects: {
|
|
805
|
+
domain: "read";
|
|
806
|
+
storage: "normal-open";
|
|
807
|
+
};
|
|
808
|
+
confirmation: {
|
|
809
|
+
kind: "none";
|
|
810
|
+
};
|
|
811
|
+
input: {
|
|
812
|
+
readonly options: {};
|
|
813
|
+
readonly forms: readonly [{
|
|
814
|
+
readonly id: "default";
|
|
815
|
+
readonly positionals: readonly [{
|
|
816
|
+
readonly name: "task-key";
|
|
817
|
+
readonly min: 1;
|
|
818
|
+
readonly max: 1;
|
|
819
|
+
readonly value: {
|
|
820
|
+
readonly kind: "task-key";
|
|
821
|
+
};
|
|
822
|
+
}];
|
|
823
|
+
}];
|
|
824
|
+
readonly constraints: readonly [];
|
|
825
|
+
};
|
|
826
|
+
results: import("../results.js").CommandResult[];
|
|
827
|
+
run: (args: string[]) => void;
|
|
828
|
+
help: string;
|
|
829
|
+
};
|
|
689
830
|
edit: {
|
|
690
831
|
summary: string;
|
|
691
832
|
effects: {
|
|
@@ -707,6 +848,14 @@ export declare const routes: {
|
|
|
707
848
|
readonly description: "Omission leaves priority unassigned on creation and unchanged on edit. none clears priority; JSON uses null.";
|
|
708
849
|
};
|
|
709
850
|
};
|
|
851
|
+
readonly due: {
|
|
852
|
+
readonly type: "string";
|
|
853
|
+
readonly value: {
|
|
854
|
+
readonly kind: "timestamp";
|
|
855
|
+
readonly name: "timestamp";
|
|
856
|
+
readonly description: "Integer epoch milliseconds or YYYY-MM-DDTHH:mm:ss[.SSS] with Z or a numeric offset. Fractions have 1 to 3 digits. none clears the deadline, ignoring case. Omission leaves it unset on creation and unchanged on edit.";
|
|
857
|
+
};
|
|
858
|
+
};
|
|
710
859
|
readonly "add-label": {
|
|
711
860
|
readonly type: "string";
|
|
712
861
|
readonly multiple: true;
|
|
@@ -790,7 +939,7 @@ export declare const routes: {
|
|
|
790
939
|
readonly requires: "option:replacing";
|
|
791
940
|
}, {
|
|
792
941
|
readonly kind: "atLeastOne";
|
|
793
|
-
readonly members: readonly ["option:title", "option:description", "option:description-file", "option:priority", "option:add-label", "option:remove-label"];
|
|
942
|
+
readonly members: readonly ["option:title", "option:description", "option:description-file", "option:priority", "option:due", "option:add-label", "option:remove-label"];
|
|
794
943
|
}];
|
|
795
944
|
readonly notes: readonly [string];
|
|
796
945
|
};
|
|
@@ -1014,14 +1163,18 @@ export declare const routes: {
|
|
|
1014
1163
|
create: {
|
|
1015
1164
|
summary: string;
|
|
1016
1165
|
effects: {
|
|
1017
|
-
domain: "
|
|
1166
|
+
domain: "replace";
|
|
1018
1167
|
storage: "normal-open";
|
|
1019
1168
|
};
|
|
1020
1169
|
confirmation: {
|
|
1021
|
-
kind: "
|
|
1170
|
+
kind: "prompt";
|
|
1171
|
+
description: string;
|
|
1022
1172
|
};
|
|
1023
1173
|
input: {
|
|
1024
1174
|
readonly options: {
|
|
1175
|
+
readonly yes: {
|
|
1176
|
+
readonly type: "boolean";
|
|
1177
|
+
};
|
|
1025
1178
|
readonly type: {
|
|
1026
1179
|
readonly type: "string";
|
|
1027
1180
|
readonly required: true;
|
|
@@ -1055,7 +1208,7 @@ export declare const routes: {
|
|
|
1055
1208
|
guessedFlags: {
|
|
1056
1209
|
[k: string]: (args: Array<string>) => string[] | undefined;
|
|
1057
1210
|
};
|
|
1058
|
-
run: (args: string[]) => void
|
|
1211
|
+
run: (args: string[]) => Promise<void>;
|
|
1059
1212
|
help: string;
|
|
1060
1213
|
};
|
|
1061
1214
|
list: {
|
|
@@ -1725,12 +1878,63 @@ export declare const routes: {
|
|
|
1725
1878
|
readonly name: "id";
|
|
1726
1879
|
};
|
|
1727
1880
|
};
|
|
1881
|
+
readonly client: {
|
|
1882
|
+
readonly type: "string";
|
|
1883
|
+
readonly value: {
|
|
1884
|
+
readonly kind: "text";
|
|
1885
|
+
readonly name: "name";
|
|
1886
|
+
readonly description: "Match a client name or its colon-separated parts, including case.";
|
|
1887
|
+
};
|
|
1888
|
+
};
|
|
1889
|
+
readonly since: {
|
|
1890
|
+
readonly type: "string";
|
|
1891
|
+
readonly value: {
|
|
1892
|
+
readonly kind: "timestamp";
|
|
1893
|
+
readonly name: "time";
|
|
1894
|
+
readonly description: "Inclusive lower bound. Integer epoch milliseconds or YYYY-MM-DDTHH:mm:ss with Z or a numeric offset. Optional fractional seconds have 1 to 3 digits.";
|
|
1895
|
+
};
|
|
1896
|
+
};
|
|
1897
|
+
readonly until: {
|
|
1898
|
+
readonly type: "string";
|
|
1899
|
+
readonly value: {
|
|
1900
|
+
readonly kind: "timestamp";
|
|
1901
|
+
readonly name: "time";
|
|
1902
|
+
readonly description: "Inclusive upper bound in the same formats as --since. Must be at or after --since.";
|
|
1903
|
+
};
|
|
1904
|
+
};
|
|
1905
|
+
readonly action: {
|
|
1906
|
+
readonly type: "string";
|
|
1907
|
+
readonly multiple: true;
|
|
1908
|
+
readonly value: {
|
|
1909
|
+
readonly kind: "activity-action";
|
|
1910
|
+
readonly name: "action";
|
|
1911
|
+
readonly choices: ("create" | "delete" | "archive" | "edit" | "move" | "order" | "unarchive" | "relation_create" | "relation_delete" | "comment_create" | "comment_edit" | "comment_delete")[];
|
|
1912
|
+
};
|
|
1913
|
+
};
|
|
1914
|
+
readonly changed: {
|
|
1915
|
+
readonly type: "string";
|
|
1916
|
+
readonly multiple: true;
|
|
1917
|
+
readonly value: {
|
|
1918
|
+
readonly kind: "activity-change";
|
|
1919
|
+
readonly name: "field[=value]";
|
|
1920
|
+
readonly pattern: `^((${string})|(${string})=.+)$`;
|
|
1921
|
+
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.`;
|
|
1922
|
+
};
|
|
1923
|
+
};
|
|
1728
1924
|
readonly limit: {
|
|
1729
1925
|
readonly type: "string";
|
|
1730
1926
|
readonly value: {
|
|
1731
1927
|
readonly kind: "positive-integer";
|
|
1732
1928
|
readonly name: "n";
|
|
1733
|
-
readonly pattern:
|
|
1929
|
+
readonly pattern: string;
|
|
1930
|
+
};
|
|
1931
|
+
readonly description: "Return at most n results after all filters.";
|
|
1932
|
+
};
|
|
1933
|
+
readonly "starting-after": {
|
|
1934
|
+
readonly type: "string";
|
|
1935
|
+
readonly value: {
|
|
1936
|
+
readonly kind: "activity-id";
|
|
1937
|
+
readonly name: "id";
|
|
1734
1938
|
};
|
|
1735
1939
|
};
|
|
1736
1940
|
};
|
|
@@ -1746,6 +1950,7 @@ export declare const routes: {
|
|
|
1746
1950
|
readonly input: "option:show-deleted";
|
|
1747
1951
|
readonly members: readonly ["option:project", "option:task"];
|
|
1748
1952
|
}];
|
|
1953
|
+
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."];
|
|
1749
1954
|
};
|
|
1750
1955
|
results: import("../results.js").CommandResult[];
|
|
1751
1956
|
run: (args: string[]) => void;
|
|
@@ -45,6 +45,14 @@ export declare const taskRouter: {
|
|
|
45
45
|
readonly description: "Omission leaves priority unassigned on creation and unchanged on edit. none clears priority; JSON uses null.";
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
|
+
readonly due: {
|
|
49
|
+
readonly type: "string";
|
|
50
|
+
readonly value: {
|
|
51
|
+
readonly kind: "timestamp";
|
|
52
|
+
readonly name: "timestamp";
|
|
53
|
+
readonly description: "Integer epoch milliseconds or YYYY-MM-DDTHH:mm:ss[.SSS] with Z or a numeric offset. Fractions have 1 to 3 digits. none clears the deadline, ignoring case. Omission leaves it unset on creation and unchanged on edit.";
|
|
54
|
+
};
|
|
55
|
+
};
|
|
48
56
|
readonly label: {
|
|
49
57
|
readonly type: "string";
|
|
50
58
|
readonly multiple: true;
|
|
@@ -127,6 +135,23 @@ export declare const taskRouter: {
|
|
|
127
135
|
};
|
|
128
136
|
input: {
|
|
129
137
|
readonly options: {
|
|
138
|
+
readonly limit: {
|
|
139
|
+
readonly type: "string";
|
|
140
|
+
readonly value: {
|
|
141
|
+
readonly kind: "positive-integer";
|
|
142
|
+
readonly name: "n";
|
|
143
|
+
readonly pattern: string;
|
|
144
|
+
};
|
|
145
|
+
readonly description: "Return at most n results after all filters.";
|
|
146
|
+
};
|
|
147
|
+
readonly sort: {
|
|
148
|
+
readonly type: "string";
|
|
149
|
+
readonly value: {
|
|
150
|
+
readonly kind: "enum";
|
|
151
|
+
readonly name: "key";
|
|
152
|
+
readonly choices: ("activity" | "due")[];
|
|
153
|
+
};
|
|
154
|
+
};
|
|
130
155
|
readonly archived: {
|
|
131
156
|
readonly type: "boolean";
|
|
132
157
|
};
|
|
@@ -151,6 +176,30 @@ export declare const taskRouter: {
|
|
|
151
176
|
readonly name: "name";
|
|
152
177
|
};
|
|
153
178
|
};
|
|
179
|
+
readonly "starting-after": {
|
|
180
|
+
readonly type: "string";
|
|
181
|
+
readonly value: {
|
|
182
|
+
readonly kind: "task-cursor";
|
|
183
|
+
readonly name: "cursor";
|
|
184
|
+
readonly description: "Cursor from the continuation command that task list prints on stderr when more tasks remain";
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
readonly "due-since": {
|
|
188
|
+
readonly type: "string";
|
|
189
|
+
readonly value: {
|
|
190
|
+
readonly kind: "timestamp";
|
|
191
|
+
readonly name: "timestamp";
|
|
192
|
+
readonly description: "Inclusive lower deadline bound. Integer epoch milliseconds or a timestamp with seconds and Z or a numeric offset. Fractions have 1 to 3 digits. Undated tasks do not match.";
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
readonly "due-until": {
|
|
196
|
+
readonly type: "string";
|
|
197
|
+
readonly value: {
|
|
198
|
+
readonly kind: "timestamp";
|
|
199
|
+
readonly name: "timestamp";
|
|
200
|
+
readonly description: "Inclusive upper deadline bound in the same formats as --due-since. Must be at or after --due-since. Undated tasks do not match.";
|
|
201
|
+
};
|
|
202
|
+
};
|
|
154
203
|
};
|
|
155
204
|
readonly forms: readonly [{
|
|
156
205
|
readonly id: "default";
|
|
@@ -170,7 +219,7 @@ export declare const taskRouter: {
|
|
|
170
219
|
readonly kind: "exclusive";
|
|
171
220
|
readonly members: readonly ["positional:project-key", "option:all-projects"];
|
|
172
221
|
}];
|
|
173
|
-
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."];
|
|
222
|
+
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."];
|
|
174
223
|
};
|
|
175
224
|
results: import("../results.js").CommandResult[];
|
|
176
225
|
run: (args: string[]) => void;
|
|
@@ -201,8 +250,9 @@ export declare const taskRouter: {
|
|
|
201
250
|
readonly value: {
|
|
202
251
|
readonly kind: "positive-integer";
|
|
203
252
|
readonly name: "n";
|
|
204
|
-
readonly pattern:
|
|
253
|
+
readonly pattern: string;
|
|
205
254
|
};
|
|
255
|
+
readonly description: "Return at most n results after all filters.";
|
|
206
256
|
};
|
|
207
257
|
readonly label: {
|
|
208
258
|
readonly type: "string";
|
|
@@ -212,6 +262,29 @@ export declare const taskRouter: {
|
|
|
212
262
|
readonly name: "name";
|
|
213
263
|
};
|
|
214
264
|
};
|
|
265
|
+
readonly column: {
|
|
266
|
+
readonly type: "string";
|
|
267
|
+
readonly value: {
|
|
268
|
+
readonly kind: "column-name";
|
|
269
|
+
readonly name: "name";
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
readonly "due-since": {
|
|
273
|
+
readonly type: "string";
|
|
274
|
+
readonly value: {
|
|
275
|
+
readonly kind: "timestamp";
|
|
276
|
+
readonly name: "timestamp";
|
|
277
|
+
readonly description: "Inclusive lower deadline bound. Integer epoch milliseconds or a timestamp with seconds and Z or a numeric offset. Fractions have 1 to 3 digits. Undated tasks do not match.";
|
|
278
|
+
};
|
|
279
|
+
};
|
|
280
|
+
readonly "due-until": {
|
|
281
|
+
readonly type: "string";
|
|
282
|
+
readonly value: {
|
|
283
|
+
readonly kind: "timestamp";
|
|
284
|
+
readonly name: "timestamp";
|
|
285
|
+
readonly description: "Inclusive upper deadline bound in the same formats as --due-since. Must be at or after --due-since. Undated tasks do not match.";
|
|
286
|
+
};
|
|
287
|
+
};
|
|
215
288
|
};
|
|
216
289
|
readonly forms: readonly [{
|
|
217
290
|
readonly id: "default";
|
|
@@ -276,6 +349,34 @@ export declare const taskRouter: {
|
|
|
276
349
|
run: (args: string[]) => void;
|
|
277
350
|
help: string;
|
|
278
351
|
};
|
|
352
|
+
blame: {
|
|
353
|
+
summary: string;
|
|
354
|
+
effects: {
|
|
355
|
+
domain: "read";
|
|
356
|
+
storage: "normal-open";
|
|
357
|
+
};
|
|
358
|
+
confirmation: {
|
|
359
|
+
kind: "none";
|
|
360
|
+
};
|
|
361
|
+
input: {
|
|
362
|
+
readonly options: {};
|
|
363
|
+
readonly forms: readonly [{
|
|
364
|
+
readonly id: "default";
|
|
365
|
+
readonly positionals: readonly [{
|
|
366
|
+
readonly name: "task-key";
|
|
367
|
+
readonly min: 1;
|
|
368
|
+
readonly max: 1;
|
|
369
|
+
readonly value: {
|
|
370
|
+
readonly kind: "task-key";
|
|
371
|
+
};
|
|
372
|
+
}];
|
|
373
|
+
}];
|
|
374
|
+
readonly constraints: readonly [];
|
|
375
|
+
};
|
|
376
|
+
results: import("../results.js").CommandResult[];
|
|
377
|
+
run: (args: string[]) => void;
|
|
378
|
+
help: string;
|
|
379
|
+
};
|
|
279
380
|
edit: {
|
|
280
381
|
summary: string;
|
|
281
382
|
effects: {
|
|
@@ -297,6 +398,14 @@ export declare const taskRouter: {
|
|
|
297
398
|
readonly description: "Omission leaves priority unassigned on creation and unchanged on edit. none clears priority; JSON uses null.";
|
|
298
399
|
};
|
|
299
400
|
};
|
|
401
|
+
readonly due: {
|
|
402
|
+
readonly type: "string";
|
|
403
|
+
readonly value: {
|
|
404
|
+
readonly kind: "timestamp";
|
|
405
|
+
readonly name: "timestamp";
|
|
406
|
+
readonly description: "Integer epoch milliseconds or YYYY-MM-DDTHH:mm:ss[.SSS] with Z or a numeric offset. Fractions have 1 to 3 digits. none clears the deadline, ignoring case. Omission leaves it unset on creation and unchanged on edit.";
|
|
407
|
+
};
|
|
408
|
+
};
|
|
300
409
|
readonly "add-label": {
|
|
301
410
|
readonly type: "string";
|
|
302
411
|
readonly multiple: true;
|
|
@@ -380,7 +489,7 @@ export declare const taskRouter: {
|
|
|
380
489
|
readonly requires: "option:replacing";
|
|
381
490
|
}, {
|
|
382
491
|
readonly kind: "atLeastOne";
|
|
383
|
-
readonly members: readonly ["option:title", "option:description", "option:description-file", "option:priority", "option:add-label", "option:remove-label"];
|
|
492
|
+
readonly members: readonly ["option:title", "option:description", "option:description-file", "option:priority", "option:due", "option:add-label", "option:remove-label"];
|
|
384
493
|
}];
|
|
385
494
|
readonly notes: readonly [string];
|
|
386
495
|
};
|
|
@@ -604,14 +713,18 @@ export declare const taskRouter: {
|
|
|
604
713
|
create: {
|
|
605
714
|
summary: string;
|
|
606
715
|
effects: {
|
|
607
|
-
domain: "
|
|
716
|
+
domain: "replace";
|
|
608
717
|
storage: "normal-open";
|
|
609
718
|
};
|
|
610
719
|
confirmation: {
|
|
611
|
-
kind: "
|
|
720
|
+
kind: "prompt";
|
|
721
|
+
description: string;
|
|
612
722
|
};
|
|
613
723
|
input: {
|
|
614
724
|
readonly options: {
|
|
725
|
+
readonly yes: {
|
|
726
|
+
readonly type: "boolean";
|
|
727
|
+
};
|
|
615
728
|
readonly type: {
|
|
616
729
|
readonly type: "string";
|
|
617
730
|
readonly required: true;
|
|
@@ -645,7 +758,7 @@ export declare const taskRouter: {
|
|
|
645
758
|
guessedFlags: {
|
|
646
759
|
[k: string]: (args: Array<string>) => string[] | undefined;
|
|
647
760
|
};
|
|
648
|
-
run: (args: string[]) => void
|
|
761
|
+
run: (args: string[]) => Promise<void>;
|
|
649
762
|
help: string;
|
|
650
763
|
};
|
|
651
764
|
list: {
|