@zinn-dev/cli 0.44.0 → 0.46.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.
Files changed (82) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -3
  3. package/skills/zinn/SKILL.md +7 -9
  4. package/src/actor.d.ts +1 -1
  5. package/src/actor.js +4 -1
  6. package/src/capabilities-schema.d.ts +9 -1
  7. package/src/column-hint.js +1 -3
  8. package/src/database.d.ts +1 -2
  9. package/src/database.js +1 -6
  10. package/src/duration-input.d.ts +7 -0
  11. package/src/duration-input.js +31 -0
  12. package/src/errors.d.ts +26 -0
  13. package/src/errors.js +46 -8
  14. package/src/expected-values.d.ts +48 -0
  15. package/src/expected-values.js +60 -0
  16. package/src/follow.d.ts +9 -0
  17. package/src/follow.js +58 -0
  18. package/src/input.d.ts +0 -8
  19. package/src/input.js +36 -16
  20. package/src/lib.d.ts +7 -3
  21. package/src/lib.js +70 -28
  22. package/src/list-continuation.js +1 -4
  23. package/src/presentation/activity-presentation.d.ts +2 -0
  24. package/src/presentation/activity-presentation.js +60 -3
  25. package/src/presentation/column-presentation.d.ts +9 -4
  26. package/src/presentation/column-presentation.js +29 -12
  27. package/src/presentation/doctor-presentation.d.ts +10 -0
  28. package/src/presentation/doctor-presentation.js +28 -0
  29. package/src/presentation/relation-presentation.js +2 -1
  30. package/src/presentation/skill-status-presentation.d.ts +9 -0
  31. package/src/presentation/skill-status-presentation.js +43 -0
  32. package/src/presentation/task-blame-presentation.d.ts +2 -4
  33. package/src/presentation/task-blame-presentation.js +4 -2
  34. package/src/presentation/task-presentation.d.ts +18 -4
  35. package/src/presentation/task-presentation.js +94 -30
  36. package/src/result-schemas.d.ts +490 -58
  37. package/src/result-schemas.js +97 -2
  38. package/src/results.d.ts +6 -2
  39. package/src/results.js +9 -3
  40. package/src/routes/activity-router.d.ts +16 -5
  41. package/src/routes/activity-router.js +131 -70
  42. package/src/routes/aliases.js +1 -0
  43. package/src/routes/backup-router.d.ts +1 -0
  44. package/src/routes/backup-router.js +4 -3
  45. package/src/routes/capabilities-router.d.ts +1 -0
  46. package/src/routes/capabilities-router.js +1 -1
  47. package/src/routes/comment-router.d.ts +29 -6
  48. package/src/routes/comment-router.js +20 -10
  49. package/src/routes/doctor-router.d.ts +40 -0
  50. package/src/routes/doctor-router.js +83 -0
  51. package/src/routes/info-router.d.ts +1 -0
  52. package/src/routes/info-router.js +1 -1
  53. package/src/routes/label-router.d.ts +44 -6
  54. package/src/routes/label-router.js +27 -10
  55. package/src/routes/migrate-router.d.ts +1 -0
  56. package/src/routes/migrate-router.js +5 -7
  57. package/src/routes/project-router.d.ts +70 -11
  58. package/src/routes/project-router.js +130 -56
  59. package/src/routes/reindex-router.d.ts +1 -0
  60. package/src/routes/reindex-router.js +1 -1
  61. package/src/routes/relation-router.d.ts +3 -0
  62. package/src/routes/relation-router.js +9 -6
  63. package/src/routes/restore-router.d.ts +1 -0
  64. package/src/routes/restore-router.js +5 -6
  65. package/src/routes/router.js +5 -9
  66. package/src/routes/routes.d.ts +517 -35
  67. package/src/routes/routes.js +4 -0
  68. package/src/routes/skill-router.d.ts +76 -0
  69. package/src/routes/skill-router.js +179 -0
  70. package/src/routes/task-router.d.ts +264 -13
  71. package/src/routes/task-router.js +415 -93
  72. package/src/routes/whoami-router.d.ts +1 -0
  73. package/src/routes/whoami-router.js +1 -1
  74. package/src/skill-copies.d.ts +34 -0
  75. package/src/skill-copies.js +109 -0
  76. package/src/telemetry.d.ts +2 -2
  77. package/src/telemetry.js +8 -3
  78. package/src/text-edit.d.ts +2 -2
  79. package/src/text-input.d.ts +19 -1
  80. package/src/text-input.js +26 -5
  81. package/src/types.d.ts +4 -0
  82. package/src/types.js +6 -0
@@ -5,6 +5,7 @@ export declare const routes: {
5
5
  effects: {
6
6
  domain: "create";
7
7
  storage: "normal-open";
8
+ external: never[];
8
9
  };
9
10
  confirmation: {
10
11
  kind: "none";
@@ -47,7 +48,7 @@ export declare const routes: {
47
48
  }];
48
49
  readonly constraints: readonly [{
49
50
  readonly kind: "exclusive";
50
- readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
51
+ 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
52
  }];
52
53
  };
53
54
  results: import("../results.js").CommandResult[];
@@ -59,6 +60,7 @@ export declare const routes: {
59
60
  effects: {
60
61
  domain: "read";
61
62
  storage: "normal-open";
63
+ external: never[];
62
64
  };
63
65
  confirmation: {
64
66
  kind: "none";
@@ -80,6 +82,7 @@ export declare const routes: {
80
82
  effects: {
81
83
  domain: "read";
82
84
  storage: "normal-open";
85
+ external: never[];
83
86
  };
84
87
  confirmation: {
85
88
  kind: "none";
@@ -109,12 +112,35 @@ export declare const routes: {
109
112
  effects: {
110
113
  domain: "update";
111
114
  storage: "normal-open";
115
+ external: never[];
112
116
  };
113
117
  confirmation: {
114
118
  kind: "none";
115
119
  };
116
120
  input: {
117
121
  readonly options: {
122
+ readonly "expect-name": {
123
+ readonly type: "string";
124
+ readonly value: {
125
+ readonly kind: "text";
126
+ readonly name: "text";
127
+ };
128
+ };
129
+ readonly "expect-description": {
130
+ readonly type: "string";
131
+ readonly value: {
132
+ readonly kind: "text";
133
+ readonly name: "text";
134
+ };
135
+ };
136
+ readonly "expect-description-file": {
137
+ readonly type: "string";
138
+ readonly value: {
139
+ readonly kind: "path";
140
+ readonly name: "path";
141
+ readonly description: "A UTF-8 file, or \"-\" for stdin. Trailing line breaks are dropped; empty or blank input is an error.";
142
+ };
143
+ };
118
144
  readonly append: {
119
145
  readonly type: "boolean";
120
146
  };
@@ -164,18 +190,18 @@ export declare const routes: {
164
190
  }];
165
191
  readonly constraints: readonly [{
166
192
  readonly kind: "exclusive";
167
- readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
193
+ 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
194
  }, {
169
195
  readonly kind: "exclusive";
170
196
  readonly members: readonly ["option:append", "option:replacing"];
171
197
  }, {
172
198
  readonly kind: "requiresAny";
173
199
  readonly input: "option:append";
174
- 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"];
175
201
  }, {
176
202
  readonly kind: "requiresAny";
177
203
  readonly input: "option:replacing";
178
- readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
204
+ 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
205
  }, {
180
206
  readonly kind: "requires";
181
207
  readonly input: "option:all";
@@ -183,8 +209,11 @@ export declare const routes: {
183
209
  }, {
184
210
  readonly kind: "atLeastOne";
185
211
  readonly members: readonly ["option:name", "option:description", "option:description-file"];
186
- }];
187
- readonly notes: readonly ["Omit the project key to use defaultProject from settings; otherwise a project key is required.", string];
212
+ }, ...{
213
+ readonly kind: "exclusive";
214
+ 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"];
215
+ }[]];
216
+ readonly notes: readonly ["Omit the project key to use defaultProject from settings; otherwise a project key is required.", string, string];
188
217
  };
189
218
  results: import("../results.js").CommandResult[];
190
219
  run: (args: string[]) => Promise<void>;
@@ -195,6 +224,7 @@ export declare const routes: {
195
224
  effects: {
196
225
  domain: "delete";
197
226
  storage: "normal-open";
227
+ external: never[];
198
228
  };
199
229
  confirmation: {
200
230
  kind: "project-delete";
@@ -230,12 +260,23 @@ export declare const routes: {
230
260
  effects: {
231
261
  domain: "create";
232
262
  storage: "normal-open";
263
+ external: never[];
233
264
  };
234
265
  confirmation: {
235
266
  kind: "none";
236
267
  };
237
268
  input: {
238
- readonly options: {};
269
+ readonly options: {
270
+ readonly category: {
271
+ readonly required: true;
272
+ readonly type: "string";
273
+ readonly value: {
274
+ readonly kind: "enum";
275
+ readonly name: "category";
276
+ readonly choices: ("done" | "backlog" | "todo" | "in_progress" | "review" | "cancelled")[];
277
+ };
278
+ };
279
+ };
239
280
  readonly forms: readonly [{
240
281
  readonly id: "default";
241
282
  readonly positionals: readonly [{
@@ -265,6 +306,7 @@ export declare const routes: {
265
306
  effects: {
266
307
  domain: "read";
267
308
  storage: "normal-open";
309
+ external: never[];
268
310
  };
269
311
  confirmation: {
270
312
  kind: "none";
@@ -294,20 +336,32 @@ export declare const routes: {
294
336
  effects: {
295
337
  domain: "update";
296
338
  storage: "normal-open";
339
+ external: never[];
297
340
  };
298
341
  confirmation: {
299
- kind: "none";
342
+ kind: "prompt";
343
+ description: string;
300
344
  };
301
345
  input: {
302
346
  readonly options: {
303
347
  readonly name: {
304
348
  readonly type: "string";
305
- readonly required: true;
306
349
  readonly value: {
307
350
  readonly kind: "text";
308
351
  readonly name: "text";
309
352
  };
310
353
  };
354
+ readonly category: {
355
+ readonly type: "string";
356
+ readonly value: {
357
+ readonly kind: "enum";
358
+ readonly name: "category";
359
+ readonly choices: ("done" | "backlog" | "todo" | "in_progress" | "review" | "cancelled")[];
360
+ };
361
+ };
362
+ readonly yes: {
363
+ readonly type: "boolean";
364
+ };
311
365
  };
312
366
  readonly forms: readonly [{
313
367
  readonly id: "default";
@@ -327,10 +381,13 @@ export declare const routes: {
327
381
  };
328
382
  }];
329
383
  }];
330
- readonly constraints: readonly [];
384
+ readonly constraints: readonly [{
385
+ readonly kind: "atLeastOne";
386
+ readonly members: readonly ["option:name", "option:category"];
387
+ }];
331
388
  };
332
389
  results: import("../results.js").CommandResult[];
333
- run: (args: Array<string>) => void;
390
+ run: (args: Array<string>) => Promise<void>;
334
391
  help: string;
335
392
  };
336
393
  order: {
@@ -338,6 +395,7 @@ export declare const routes: {
338
395
  effects: {
339
396
  domain: "update";
340
397
  storage: "normal-open";
398
+ external: never[];
341
399
  };
342
400
  confirmation: {
343
401
  kind: "none";
@@ -413,6 +471,7 @@ export declare const routes: {
413
471
  effects: {
414
472
  domain: "delete";
415
473
  storage: "normal-open";
474
+ external: never[];
416
475
  };
417
476
  confirmation: {
418
477
  kind: "prompt";
@@ -456,6 +515,7 @@ export declare const routes: {
456
515
  effects: {
457
516
  domain: "create";
458
517
  storage: "normal-open";
518
+ external: never[];
459
519
  };
460
520
  confirmation: {
461
521
  kind: "none";
@@ -562,7 +622,7 @@ export declare const routes: {
562
622
  }];
563
623
  readonly constraints: readonly [{
564
624
  readonly kind: "exclusive";
565
- readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
625
+ 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
626
  }];
567
627
  readonly notes: readonly ["Omit the project key to use defaultProject from settings; otherwise a project key is required."];
568
628
  };
@@ -579,6 +639,7 @@ export declare const routes: {
579
639
  effects: {
580
640
  domain: "read";
581
641
  storage: "normal-open";
642
+ external: never[];
582
643
  };
583
644
  confirmation: {
584
645
  kind: "none";
@@ -602,6 +663,14 @@ export declare const routes: {
602
663
  readonly choices: ("activity" | "due")[];
603
664
  };
604
665
  };
666
+ readonly state: {
667
+ readonly type: "string";
668
+ readonly value: {
669
+ readonly kind: "enum";
670
+ readonly name: "state";
671
+ readonly choices: ("all" | "open" | "closed")[];
672
+ };
673
+ };
605
674
  readonly archived: {
606
675
  readonly type: "boolean";
607
676
  };
@@ -680,6 +749,7 @@ export declare const routes: {
680
749
  effects: {
681
750
  domain: "read";
682
751
  storage: "normal-open";
752
+ external: never[];
683
753
  };
684
754
  confirmation: {
685
755
  kind: "none";
@@ -719,6 +789,10 @@ export declare const routes: {
719
789
  readonly name: "name";
720
790
  };
721
791
  };
792
+ readonly "with-matches": {
793
+ readonly type: "boolean";
794
+ readonly description: "Include match excerpts in JSON results";
795
+ };
722
796
  readonly "due-since": {
723
797
  readonly type: "string";
724
798
  readonly value: {
@@ -760,6 +834,10 @@ export declare const routes: {
760
834
  }, {
761
835
  readonly kind: "exclusive";
762
836
  readonly members: readonly ["positional:project-key", "option:all-projects"];
837
+ }, {
838
+ readonly kind: "requires";
839
+ readonly input: "option:with-matches";
840
+ readonly requires: "option:json";
763
841
  }];
764
842
  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 query that is a task key ignores defaultProject unless a project was typed. --all-projects still excludes a typed project."];
765
843
  };
@@ -767,11 +845,56 @@ export declare const routes: {
767
845
  run: (args: string[]) => void;
768
846
  help: string;
769
847
  };
848
+ next: {
849
+ summary: string;
850
+ effects: {
851
+ domain: "read";
852
+ storage: "normal-open";
853
+ external: never[];
854
+ };
855
+ confirmation: {
856
+ kind: "none";
857
+ };
858
+ input: {
859
+ readonly options: {
860
+ readonly "all-projects": {
861
+ readonly type: "boolean";
862
+ };
863
+ readonly column: {
864
+ readonly type: "string";
865
+ readonly value: {
866
+ readonly kind: "column-name";
867
+ readonly name: "name";
868
+ };
869
+ };
870
+ };
871
+ readonly forms: readonly [{
872
+ readonly id: "default";
873
+ readonly positionals: readonly [{
874
+ readonly name: "project-key";
875
+ readonly min: 0;
876
+ readonly max: 1;
877
+ readonly value: {
878
+ readonly kind: "project-key";
879
+ };
880
+ }];
881
+ }];
882
+ readonly constraints: readonly [{
883
+ readonly kind: "exclusive";
884
+ readonly members: readonly ["positional:project-key", "option:all-projects"];
885
+ }];
886
+ 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."];
887
+ };
888
+ results: import("../results.js").CommandResult[];
889
+ run: (args: string[]) => void;
890
+ help: string;
891
+ };
770
892
  view: {
771
893
  summary: string;
772
894
  effects: {
773
895
  domain: "read";
774
896
  storage: "normal-open";
897
+ external: never[];
775
898
  };
776
899
  confirmation: {
777
900
  kind: "none";
@@ -804,6 +927,7 @@ export declare const routes: {
804
927
  effects: {
805
928
  domain: "read";
806
929
  storage: "normal-open";
930
+ external: never[];
807
931
  };
808
932
  confirmation: {
809
933
  kind: "none";
@@ -832,12 +956,53 @@ export declare const routes: {
832
956
  effects: {
833
957
  domain: "update";
834
958
  storage: "normal-open";
959
+ external: never[];
835
960
  };
836
961
  confirmation: {
837
962
  kind: "none";
838
963
  };
839
964
  input: {
840
965
  readonly options: {
966
+ readonly "expect-description": {
967
+ readonly type: "string";
968
+ readonly value: {
969
+ readonly kind: "text";
970
+ readonly name: "text";
971
+ };
972
+ };
973
+ readonly "expect-title": {
974
+ readonly type: "string";
975
+ readonly value: {
976
+ readonly kind: "text";
977
+ readonly name: "text";
978
+ };
979
+ };
980
+ readonly "expect-priority": {
981
+ readonly type: "string";
982
+ readonly value: {
983
+ readonly description: "none expects no priority.";
984
+ readonly kind: "enum";
985
+ readonly name: "priority";
986
+ readonly choices: readonly [...("low" | "medium" | "high" | "urgent")[], "none"];
987
+ readonly caseInsensitive: true;
988
+ };
989
+ };
990
+ readonly "expect-due": {
991
+ readonly type: "string";
992
+ readonly value: {
993
+ readonly description: "Same formats as --due. none expects no deadline, ignoring case.";
994
+ readonly kind: "timestamp";
995
+ readonly name: "timestamp";
996
+ };
997
+ };
998
+ readonly "expect-description-file": {
999
+ readonly type: "string";
1000
+ readonly value: {
1001
+ readonly kind: "path";
1002
+ readonly name: "path";
1003
+ readonly description: "A UTF-8 file, or \"-\" for stdin. Trailing line breaks are dropped; empty or blank input is an error.";
1004
+ };
1005
+ };
841
1006
  readonly priority: {
842
1007
  readonly type: "string";
843
1008
  readonly value: {
@@ -921,18 +1086,18 @@ export declare const routes: {
921
1086
  }];
922
1087
  readonly constraints: readonly [{
923
1088
  readonly kind: "exclusive";
924
- readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
1089
+ 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"];
925
1090
  }, {
926
1091
  readonly kind: "exclusive";
927
1092
  readonly members: readonly ["option:append", "option:replacing"];
928
1093
  }, {
929
1094
  readonly kind: "requiresAny";
930
1095
  readonly input: "option:append";
931
- readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
1096
+ 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"];
932
1097
  }, {
933
1098
  readonly kind: "requiresAny";
934
1099
  readonly input: "option:replacing";
935
- readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
1100
+ 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"];
936
1101
  }, {
937
1102
  readonly kind: "requires";
938
1103
  readonly input: "option:all";
@@ -940,8 +1105,11 @@ export declare const routes: {
940
1105
  }, {
941
1106
  readonly kind: "atLeastOne";
942
1107
  readonly members: readonly ["option:title", "option:description", "option:description-file", "option:priority", "option:due", "option:add-label", "option:remove-label"];
943
- }];
944
- readonly notes: readonly [string];
1108
+ }, ...{
1109
+ readonly kind: "exclusive";
1110
+ 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"];
1111
+ }[]];
1112
+ readonly notes: readonly [string, string];
945
1113
  };
946
1114
  results: import("../results.js").CommandResult[];
947
1115
  run: (args: string[]) => Promise<void>;
@@ -957,12 +1125,21 @@ export declare const routes: {
957
1125
  effects: {
958
1126
  domain: "update";
959
1127
  storage: "normal-open";
1128
+ external: never[];
960
1129
  };
961
1130
  confirmation: {
962
1131
  kind: "none";
963
1132
  };
964
1133
  input: {
965
- readonly options: {};
1134
+ readonly options: {
1135
+ readonly from: {
1136
+ readonly type: "string";
1137
+ readonly value: {
1138
+ readonly kind: "column-name";
1139
+ readonly name: "column";
1140
+ };
1141
+ };
1142
+ };
966
1143
  readonly forms: readonly [{
967
1144
  readonly id: "default";
968
1145
  readonly positionals: readonly [{
@@ -996,6 +1173,7 @@ export declare const routes: {
996
1173
  effects: {
997
1174
  domain: "update";
998
1175
  storage: "normal-open";
1176
+ external: never[];
999
1177
  };
1000
1178
  confirmation: {
1001
1179
  kind: "none";
@@ -1075,6 +1253,7 @@ export declare const routes: {
1075
1253
  effects: {
1076
1254
  domain: "update";
1077
1255
  storage: "normal-open";
1256
+ external: never[];
1078
1257
  };
1079
1258
  confirmation: {
1080
1259
  kind: "none";
@@ -1103,6 +1282,7 @@ export declare const routes: {
1103
1282
  effects: {
1104
1283
  domain: "update";
1105
1284
  storage: "normal-open";
1285
+ external: never[];
1106
1286
  };
1107
1287
  confirmation: {
1108
1288
  kind: "none";
@@ -1126,11 +1306,113 @@ export declare const routes: {
1126
1306
  run: (args: Array<string>) => void;
1127
1307
  help: string;
1128
1308
  };
1309
+ claim: {
1310
+ summary: string;
1311
+ effects: {
1312
+ domain: "update";
1313
+ storage: "normal-open";
1314
+ external: never[];
1315
+ };
1316
+ confirmation: {
1317
+ kind: "none";
1318
+ };
1319
+ input: {
1320
+ readonly options: {
1321
+ readonly lease: {
1322
+ readonly type: "string";
1323
+ readonly required: true;
1324
+ readonly value: {
1325
+ readonly kind: "duration";
1326
+ readonly name: "duration";
1327
+ readonly pattern: "^\\d+[mh]$";
1328
+ readonly description: `Whole minutes or hours, such as 30m or 2h, from ${string} through ${string}.`;
1329
+ };
1330
+ };
1331
+ readonly force: {
1332
+ readonly type: "boolean";
1333
+ };
1334
+ };
1335
+ readonly forms: readonly [{
1336
+ readonly id: "default";
1337
+ readonly positionals: readonly [{
1338
+ readonly name: "task-key";
1339
+ readonly min: 1;
1340
+ readonly max: 1;
1341
+ readonly value: {
1342
+ readonly kind: "task-key";
1343
+ };
1344
+ }];
1345
+ }];
1346
+ readonly constraints: readonly [];
1347
+ };
1348
+ results: import("../results.js").CommandResult[];
1349
+ run: (args: string[]) => void;
1350
+ help: string;
1351
+ };
1352
+ heartbeat: {
1353
+ summary: string;
1354
+ effects: {
1355
+ domain: "update";
1356
+ storage: "normal-open";
1357
+ external: never[];
1358
+ };
1359
+ confirmation: {
1360
+ kind: "none";
1361
+ };
1362
+ input: {
1363
+ readonly options: {};
1364
+ readonly forms: readonly [{
1365
+ readonly id: "default";
1366
+ readonly positionals: readonly [{
1367
+ readonly name: "task-key";
1368
+ readonly min: 1;
1369
+ readonly max: 1;
1370
+ readonly value: {
1371
+ readonly kind: "task-key";
1372
+ };
1373
+ }];
1374
+ }];
1375
+ readonly constraints: readonly [];
1376
+ };
1377
+ results: import("../results.js").CommandResult[];
1378
+ run: (args: string[]) => void;
1379
+ help: string;
1380
+ };
1381
+ release: {
1382
+ summary: string;
1383
+ effects: {
1384
+ domain: "update";
1385
+ storage: "normal-open";
1386
+ external: never[];
1387
+ };
1388
+ confirmation: {
1389
+ kind: "none";
1390
+ };
1391
+ input: {
1392
+ readonly options: {};
1393
+ readonly forms: readonly [{
1394
+ readonly id: "default";
1395
+ readonly positionals: readonly [{
1396
+ readonly name: "task-key";
1397
+ readonly min: 1;
1398
+ readonly max: 1;
1399
+ readonly value: {
1400
+ readonly kind: "task-key";
1401
+ };
1402
+ }];
1403
+ }];
1404
+ readonly constraints: readonly [];
1405
+ };
1406
+ results: import("../results.js").CommandResult[];
1407
+ run: (args: string[]) => void;
1408
+ help: string;
1409
+ };
1129
1410
  delete: {
1130
1411
  summary: string;
1131
1412
  effects: {
1132
1413
  domain: "delete";
1133
1414
  storage: "normal-open";
1415
+ external: never[];
1134
1416
  };
1135
1417
  confirmation: {
1136
1418
  kind: "prompt";
@@ -1165,6 +1447,7 @@ export declare const routes: {
1165
1447
  effects: {
1166
1448
  domain: "replace";
1167
1449
  storage: "normal-open";
1450
+ external: never[];
1168
1451
  };
1169
1452
  confirmation: {
1170
1453
  kind: "prompt";
@@ -1216,6 +1499,7 @@ export declare const routes: {
1216
1499
  effects: {
1217
1500
  domain: "read";
1218
1501
  storage: "normal-open";
1502
+ external: never[];
1219
1503
  };
1220
1504
  confirmation: {
1221
1505
  kind: "none";
@@ -1244,6 +1528,7 @@ export declare const routes: {
1244
1528
  effects: {
1245
1529
  domain: "delete";
1246
1530
  storage: "normal-open";
1531
+ external: never[];
1247
1532
  };
1248
1533
  confirmation: {
1249
1534
  kind: "none";
@@ -1293,6 +1578,7 @@ export declare const routes: {
1293
1578
  effects: {
1294
1579
  domain: "create";
1295
1580
  storage: "normal-open";
1581
+ external: never[];
1296
1582
  };
1297
1583
  confirmation: {
1298
1584
  kind: "none";
@@ -1328,7 +1614,7 @@ export declare const routes: {
1328
1614
  }];
1329
1615
  readonly constraints: readonly [{
1330
1616
  readonly kind: "exclusive";
1331
- readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
1617
+ 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"];
1332
1618
  }, {
1333
1619
  readonly kind: "atLeastOne";
1334
1620
  readonly members: readonly ["option:text", "option:text-file"];
@@ -1346,6 +1632,7 @@ export declare const routes: {
1346
1632
  effects: {
1347
1633
  domain: "read";
1348
1634
  storage: "normal-open";
1635
+ external: never[];
1349
1636
  };
1350
1637
  confirmation: {
1351
1638
  kind: "none";
@@ -1374,6 +1661,7 @@ export declare const routes: {
1374
1661
  effects: {
1375
1662
  domain: "read";
1376
1663
  storage: "normal-open";
1664
+ external: never[];
1377
1665
  };
1378
1666
  confirmation: {
1379
1667
  kind: "none";
@@ -1402,12 +1690,28 @@ export declare const routes: {
1402
1690
  effects: {
1403
1691
  domain: "update";
1404
1692
  storage: "normal-open";
1693
+ external: never[];
1405
1694
  };
1406
1695
  confirmation: {
1407
1696
  kind: "none";
1408
1697
  };
1409
1698
  input: {
1410
1699
  readonly options: {
1700
+ readonly "expect-text": {
1701
+ readonly type: "string";
1702
+ readonly value: {
1703
+ readonly kind: "text";
1704
+ readonly name: "text";
1705
+ };
1706
+ };
1707
+ readonly "expect-text-file": {
1708
+ readonly type: "string";
1709
+ readonly value: {
1710
+ readonly kind: "path";
1711
+ readonly name: "path";
1712
+ readonly description: "A UTF-8 file, or \"-\" for stdin. Trailing line breaks are dropped; empty or blank input is an error.";
1713
+ };
1714
+ };
1411
1715
  readonly append: {
1412
1716
  readonly type: "boolean";
1413
1717
  };
@@ -1450,18 +1754,18 @@ export declare const routes: {
1450
1754
  }];
1451
1755
  readonly constraints: readonly [{
1452
1756
  readonly kind: "exclusive";
1453
- readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
1757
+ 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"];
1454
1758
  }, {
1455
1759
  readonly kind: "exclusive";
1456
1760
  readonly members: readonly ["option:append", "option:replacing"];
1457
1761
  }, {
1458
1762
  readonly kind: "requiresAny";
1459
1763
  readonly input: "option:append";
1460
- readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
1764
+ 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"];
1461
1765
  }, {
1462
1766
  readonly kind: "requiresAny";
1463
1767
  readonly input: "option:replacing";
1464
- readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
1768
+ 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"];
1465
1769
  }, {
1466
1770
  readonly kind: "requires";
1467
1771
  readonly input: "option:all";
@@ -1469,8 +1773,11 @@ export declare const routes: {
1469
1773
  }, {
1470
1774
  readonly kind: "atLeastOne";
1471
1775
  readonly members: readonly ["option:text", "option:text-file"];
1472
- }];
1473
- readonly notes: readonly [string];
1776
+ }, ...{
1777
+ readonly kind: "exclusive";
1778
+ 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"];
1779
+ }[]];
1780
+ readonly notes: readonly [string, string];
1474
1781
  };
1475
1782
  results: import("../results.js").CommandResult[];
1476
1783
  guessedFlags: {
@@ -1484,6 +1791,7 @@ export declare const routes: {
1484
1791
  effects: {
1485
1792
  domain: "delete";
1486
1793
  storage: "normal-open";
1794
+ external: never[];
1487
1795
  };
1488
1796
  confirmation: {
1489
1797
  kind: "prompt";
@@ -1519,6 +1827,7 @@ export declare const routes: {
1519
1827
  effects: {
1520
1828
  domain: "update";
1521
1829
  storage: "normal-open";
1830
+ external: never[];
1522
1831
  };
1523
1832
  confirmation: {
1524
1833
  kind: "none";
@@ -1554,6 +1863,7 @@ export declare const routes: {
1554
1863
  effects: {
1555
1864
  domain: "update";
1556
1865
  storage: "normal-open";
1866
+ external: never[];
1557
1867
  };
1558
1868
  confirmation: {
1559
1869
  kind: "none";
@@ -1592,6 +1902,7 @@ export declare const routes: {
1592
1902
  effects: {
1593
1903
  domain: "create";
1594
1904
  storage: "normal-open";
1905
+ external: never[];
1595
1906
  };
1596
1907
  confirmation: {
1597
1908
  kind: "none";
@@ -1635,7 +1946,7 @@ export declare const routes: {
1635
1946
  }];
1636
1947
  readonly constraints: readonly [{
1637
1948
  readonly kind: "exclusive";
1638
- readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
1949
+ 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"];
1639
1950
  }];
1640
1951
  };
1641
1952
  results: import("../results.js").CommandResult[];
@@ -1647,6 +1958,7 @@ export declare const routes: {
1647
1958
  effects: {
1648
1959
  domain: "read";
1649
1960
  storage: "normal-open";
1961
+ external: never[];
1650
1962
  };
1651
1963
  confirmation: {
1652
1964
  kind: "none";
@@ -1668,6 +1980,7 @@ export declare const routes: {
1668
1980
  effects: {
1669
1981
  domain: "read";
1670
1982
  storage: "normal-open";
1983
+ external: never[];
1671
1984
  };
1672
1985
  confirmation: {
1673
1986
  kind: "none";
@@ -1696,12 +2009,43 @@ export declare const routes: {
1696
2009
  effects: {
1697
2010
  domain: "update";
1698
2011
  storage: "normal-open";
2012
+ external: never[];
1699
2013
  };
1700
2014
  confirmation: {
1701
2015
  kind: "none";
1702
2016
  };
1703
2017
  input: {
1704
2018
  readonly options: {
2019
+ readonly "expect-name": {
2020
+ readonly type: "string";
2021
+ readonly value: {
2022
+ readonly kind: "text";
2023
+ readonly name: "text";
2024
+ };
2025
+ };
2026
+ readonly "expect-description": {
2027
+ readonly type: "string";
2028
+ readonly value: {
2029
+ readonly kind: "text";
2030
+ readonly name: "text";
2031
+ };
2032
+ };
2033
+ readonly "expect-color": {
2034
+ readonly type: "string";
2035
+ readonly value: {
2036
+ readonly kind: "enum";
2037
+ readonly name: "color";
2038
+ readonly choices: ("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray")[];
2039
+ };
2040
+ };
2041
+ readonly "expect-description-file": {
2042
+ readonly type: "string";
2043
+ readonly value: {
2044
+ readonly kind: "path";
2045
+ readonly name: "path";
2046
+ readonly description: "A UTF-8 file, or \"-\" for stdin. Trailing line breaks are dropped; empty or blank input is an error.";
2047
+ };
2048
+ };
1705
2049
  readonly color: {
1706
2050
  readonly type: "string";
1707
2051
  readonly value: {
@@ -1759,18 +2103,18 @@ export declare const routes: {
1759
2103
  }];
1760
2104
  readonly constraints: readonly [{
1761
2105
  readonly kind: "exclusive";
1762
- readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
2106
+ 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"];
1763
2107
  }, {
1764
2108
  readonly kind: "exclusive";
1765
2109
  readonly members: readonly ["option:append", "option:replacing"];
1766
2110
  }, {
1767
2111
  readonly kind: "requiresAny";
1768
2112
  readonly input: "option:append";
1769
- readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
2113
+ 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"];
1770
2114
  }, {
1771
2115
  readonly kind: "requiresAny";
1772
2116
  readonly input: "option:replacing";
1773
- readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
2117
+ 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"];
1774
2118
  }, {
1775
2119
  readonly kind: "requires";
1776
2120
  readonly input: "option:all";
@@ -1778,8 +2122,11 @@ export declare const routes: {
1778
2122
  }, {
1779
2123
  readonly kind: "atLeastOne";
1780
2124
  readonly members: `option:${string}`[];
1781
- }];
1782
- readonly notes: readonly [string];
2125
+ }, ...{
2126
+ readonly kind: "exclusive";
2127
+ 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"];
2128
+ }[]];
2129
+ readonly notes: readonly [string, string];
1783
2130
  };
1784
2131
  results: import("../results.js").CommandResult[];
1785
2132
  run: (args: string[]) => Promise<void>;
@@ -1790,6 +2137,7 @@ export declare const routes: {
1790
2137
  effects: {
1791
2138
  domain: "delete";
1792
2139
  storage: "normal-open";
2140
+ external: never[];
1793
2141
  };
1794
2142
  confirmation: {
1795
2143
  kind: "prompt";
@@ -1825,6 +2173,7 @@ export declare const routes: {
1825
2173
  effects: {
1826
2174
  domain: "read";
1827
2175
  storage: "normal-open";
2176
+ external: never[];
1828
2177
  };
1829
2178
  confirmation: {
1830
2179
  kind: "none";
@@ -1908,7 +2257,7 @@ export declare const routes: {
1908
2257
  readonly value: {
1909
2258
  readonly kind: "activity-action";
1910
2259
  readonly name: "action";
1911
- readonly choices: ("create" | "delete" | "archive" | "edit" | "move" | "order" | "unarchive" | "relation_create" | "relation_delete" | "comment_create" | "comment_edit" | "comment_delete")[];
2260
+ 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")[];
1912
2261
  };
1913
2262
  };
1914
2263
  readonly changed: {
@@ -1917,10 +2266,13 @@ export declare const routes: {
1917
2266
  readonly value: {
1918
2267
  readonly kind: "activity-change";
1919
2268
  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.`;
2269
+ readonly pattern: string;
2270
+ readonly description: `Fields: ${string}. Omit the value to match any change. ${string} priority=none matches an unassigned priority.`;
1922
2271
  };
1923
2272
  };
2273
+ readonly follow: {
2274
+ readonly type: "boolean";
2275
+ };
1924
2276
  readonly limit: {
1925
2277
  readonly type: "string";
1926
2278
  readonly value: {
@@ -1949,11 +2301,17 @@ export declare const routes: {
1949
2301
  readonly kind: "requiresAny";
1950
2302
  readonly input: "option:show-deleted";
1951
2303
  readonly members: readonly ["option:project", "option:task"];
2304
+ }, {
2305
+ readonly kind: "exclusive";
2306
+ readonly members: readonly ["option:follow", "option:limit"];
2307
+ }, {
2308
+ readonly kind: "exclusive";
2309
+ readonly members: readonly ["option:follow", "option:starting-after"];
1952
2310
  }];
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."];
2311
+ 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."];
1954
2312
  };
1955
2313
  results: import("../results.js").CommandResult[];
1956
- run: (args: string[]) => void;
2314
+ run: (args: string[]) => Promise<void> | undefined;
1957
2315
  help: string;
1958
2316
  };
1959
2317
  view: {
@@ -1961,6 +2319,7 @@ export declare const routes: {
1961
2319
  effects: {
1962
2320
  domain: "read";
1963
2321
  storage: "normal-open";
2322
+ external: never[];
1964
2323
  };
1965
2324
  confirmation: {
1966
2325
  kind: "none";
@@ -1990,6 +2349,7 @@ export declare const routes: {
1990
2349
  effects: {
1991
2350
  domain: "none";
1992
2351
  storage: "backup";
2352
+ external: never[];
1993
2353
  };
1994
2354
  confirmation: {
1995
2355
  kind: "none";
@@ -2011,6 +2371,7 @@ export declare const routes: {
2011
2371
  effects: {
2012
2372
  domain: "replace";
2013
2373
  storage: "restore";
2374
+ external: never[];
2014
2375
  };
2015
2376
  confirmation: {
2016
2377
  kind: "prompt";
@@ -2044,6 +2405,7 @@ export declare const routes: {
2044
2405
  effects: {
2045
2406
  domain: "none";
2046
2407
  storage: "migrate";
2408
+ external: never[];
2047
2409
  };
2048
2410
  confirmation: {
2049
2411
  kind: "none";
@@ -2065,6 +2427,7 @@ export declare const routes: {
2065
2427
  effects: {
2066
2428
  domain: "none";
2067
2429
  storage: "reindex";
2430
+ external: never[];
2068
2431
  };
2069
2432
  confirmation: {
2070
2433
  kind: "none";
@@ -2086,6 +2449,7 @@ export declare const routes: {
2086
2449
  effects: {
2087
2450
  domain: "none";
2088
2451
  storage: "inspect";
2452
+ external: never[];
2089
2453
  };
2090
2454
  confirmation: {
2091
2455
  kind: "none";
@@ -2102,11 +2466,52 @@ export declare const routes: {
2102
2466
  run: (args: string[]) => void;
2103
2467
  help: string;
2104
2468
  };
2469
+ doctor: {
2470
+ summary: string;
2471
+ effects: {
2472
+ domain: "none";
2473
+ storage: "inspect";
2474
+ external: never[];
2475
+ };
2476
+ confirmation: {
2477
+ kind: "none";
2478
+ };
2479
+ input: {
2480
+ readonly options: {};
2481
+ readonly forms: readonly [{
2482
+ readonly id: "default";
2483
+ readonly positionals: readonly [];
2484
+ }];
2485
+ readonly constraints: readonly [];
2486
+ };
2487
+ results: {
2488
+ findingsExitCode: 1;
2489
+ selector: {
2490
+ kind: "always";
2491
+ } | {
2492
+ kind: "booleanOption";
2493
+ name: string;
2494
+ value: boolean;
2495
+ } | {
2496
+ kind: "positionalCount";
2497
+ name: string;
2498
+ min: number;
2499
+ max: number | null;
2500
+ };
2501
+ schemaRef: `#/schemas/definitions/${import("../result-schemas.js").ResultSchemaName}`;
2502
+ mode: "json" | "json-lines";
2503
+ stream: "stdout";
2504
+ exitCode: 0;
2505
+ }[];
2506
+ run: (args: string[]) => void;
2507
+ help: string;
2508
+ };
2105
2509
  whoami: {
2106
2510
  summary: string;
2107
2511
  effects: {
2108
2512
  domain: "none";
2109
2513
  storage: "none";
2514
+ external: never[];
2110
2515
  };
2111
2516
  confirmation: {
2112
2517
  kind: "none";
@@ -2123,11 +2528,88 @@ export declare const routes: {
2123
2528
  run: (args: string[]) => void;
2124
2529
  help: string;
2125
2530
  };
2531
+ skill: {
2532
+ install: {
2533
+ summary: string;
2534
+ effects: {
2535
+ domain: "none";
2536
+ storage: "none";
2537
+ external: ("files" | "network")[];
2538
+ };
2539
+ confirmation: {
2540
+ kind: "none";
2541
+ };
2542
+ input: {
2543
+ readonly options: {
2544
+ readonly project: {
2545
+ readonly type: "boolean";
2546
+ };
2547
+ };
2548
+ readonly forms: readonly [{
2549
+ readonly id: "default";
2550
+ readonly positionals: readonly [];
2551
+ }];
2552
+ readonly constraints: readonly [];
2553
+ };
2554
+ results: import("../results.js").CommandResult[];
2555
+ run: (args: string[]) => Promise<void>;
2556
+ help: string;
2557
+ };
2558
+ status: {
2559
+ summary: string;
2560
+ effects: {
2561
+ domain: "none";
2562
+ storage: "none";
2563
+ external: never[];
2564
+ };
2565
+ confirmation: {
2566
+ kind: "none";
2567
+ };
2568
+ input: {
2569
+ readonly options: {};
2570
+ readonly forms: readonly [{
2571
+ readonly id: "default";
2572
+ readonly positionals: readonly [];
2573
+ }];
2574
+ readonly constraints: readonly [];
2575
+ };
2576
+ results: import("../results.js").CommandResult[];
2577
+ run: (args: string[]) => void;
2578
+ help: string;
2579
+ };
2580
+ uninstall: {
2581
+ summary: string;
2582
+ effects: {
2583
+ domain: "none";
2584
+ storage: "none";
2585
+ external: ("files" | "network")[];
2586
+ };
2587
+ confirmation: {
2588
+ kind: "none";
2589
+ };
2590
+ input: {
2591
+ readonly options: {
2592
+ readonly project: {
2593
+ readonly type: "boolean";
2594
+ };
2595
+ };
2596
+ readonly forms: readonly [{
2597
+ readonly id: "default";
2598
+ readonly positionals: readonly [];
2599
+ }];
2600
+ readonly constraints: readonly [];
2601
+ };
2602
+ results: import("../results.js").CommandResult[];
2603
+ run: (args: string[]) => Promise<void>;
2604
+ help: string;
2605
+ };
2606
+ };
2126
2607
  capabilities: {
2127
2608
  summary: string;
2128
2609
  effects: {
2129
2610
  domain: "none";
2130
2611
  storage: "none";
2612
+ external: never[];
2131
2613
  };
2132
2614
  confirmation: {
2133
2615
  kind: "none";