@zinn-dev/cli 0.44.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.
Files changed (56) hide show
  1. package/package.json +2 -2
  2. package/skills/zinn/SKILL.md +7 -9
  3. package/src/capabilities-schema.d.ts +5 -1
  4. package/src/column-hint.js +1 -3
  5. package/src/database.d.ts +1 -2
  6. package/src/database.js +1 -6
  7. package/src/duration-input.d.ts +7 -0
  8. package/src/duration-input.js +31 -0
  9. package/src/errors.d.ts +22 -0
  10. package/src/errors.js +30 -5
  11. package/src/expected-values.d.ts +48 -0
  12. package/src/expected-values.js +60 -0
  13. package/src/follow.d.ts +9 -0
  14. package/src/follow.js +58 -0
  15. package/src/input.d.ts +0 -8
  16. package/src/input.js +36 -16
  17. package/src/lib.d.ts +5 -2
  18. package/src/lib.js +18 -8
  19. package/src/list-continuation.js +1 -4
  20. package/src/presentation/activity-presentation.d.ts +2 -0
  21. package/src/presentation/activity-presentation.js +58 -3
  22. package/src/presentation/column-presentation.d.ts +9 -4
  23. package/src/presentation/column-presentation.js +29 -12
  24. package/src/presentation/doctor-presentation.d.ts +4 -0
  25. package/src/presentation/doctor-presentation.js +24 -0
  26. package/src/presentation/relation-presentation.js +2 -1
  27. package/src/presentation/task-blame-presentation.d.ts +1 -4
  28. package/src/presentation/task-blame-presentation.js +1 -1
  29. package/src/presentation/task-presentation.d.ts +2 -0
  30. package/src/presentation/task-presentation.js +39 -2
  31. package/src/result-schemas.d.ts +353 -58
  32. package/src/result-schemas.js +46 -2
  33. package/src/results.d.ts +6 -2
  34. package/src/results.js +9 -3
  35. package/src/routes/activity-router.d.ts +12 -3
  36. package/src/routes/activity-router.js +93 -59
  37. package/src/routes/aliases.js +1 -0
  38. package/src/routes/comment-router.d.ts +24 -6
  39. package/src/routes/comment-router.js +15 -5
  40. package/src/routes/doctor-router.d.ts +39 -0
  41. package/src/routes/doctor-router.js +103 -0
  42. package/src/routes/label-router.d.ts +39 -6
  43. package/src/routes/label-router.js +22 -5
  44. package/src/routes/project-router.d.ts +60 -11
  45. package/src/routes/project-router.js +100 -33
  46. package/src/routes/restore-router.js +2 -2
  47. package/src/routes/router.js +3 -7
  48. package/src/routes/routes.d.ts +404 -33
  49. package/src/routes/routes.js +4 -0
  50. package/src/routes/skill-router.d.ts +25 -0
  51. package/src/routes/skill-router.js +96 -0
  52. package/src/routes/task-router.d.ts +231 -13
  53. package/src/routes/task-router.js +247 -19
  54. package/src/text-edit.d.ts +2 -2
  55. package/src/text-input.d.ts +19 -1
  56. package/src/text-input.js +26 -5
@@ -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
- readonly notes: readonly ["Omit the project key to use defaultProject from settings; otherwise a project key is required.", string];
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: "none";
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: {
@@ -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
  };
@@ -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
  };
@@ -767,6 +824,49 @@ export declare const routes: {
767
824
  run: (args: string[]) => void;
768
825
  help: string;
769
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
+ };
770
870
  view: {
771
871
  summary: string;
772
872
  effects: {
@@ -838,6 +938,46 @@ export declare const routes: {
838
938
  };
839
939
  input: {
840
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
+ };
841
981
  readonly priority: {
842
982
  readonly type: "string";
843
983
  readonly value: {
@@ -921,18 +1061,18 @@ export declare const routes: {
921
1061
  }];
922
1062
  readonly constraints: readonly [{
923
1063
  readonly kind: "exclusive";
924
- 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"];
925
1065
  }, {
926
1066
  readonly kind: "exclusive";
927
1067
  readonly members: readonly ["option:append", "option:replacing"];
928
1068
  }, {
929
1069
  readonly kind: "requiresAny";
930
1070
  readonly input: "option:append";
931
- 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"];
932
1072
  }, {
933
1073
  readonly kind: "requiresAny";
934
1074
  readonly input: "option:replacing";
935
- 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"];
936
1076
  }, {
937
1077
  readonly kind: "requires";
938
1078
  readonly input: "option:all";
@@ -940,8 +1080,11 @@ export declare const routes: {
940
1080
  }, {
941
1081
  readonly kind: "atLeastOne";
942
1082
  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];
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];
945
1088
  };
946
1089
  results: import("../results.js").CommandResult[];
947
1090
  run: (args: string[]) => Promise<void>;
@@ -962,7 +1105,15 @@ export declare const routes: {
962
1105
  kind: "none";
963
1106
  };
964
1107
  input: {
965
- 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
+ };
966
1117
  readonly forms: readonly [{
967
1118
  readonly id: "default";
968
1119
  readonly positionals: readonly [{
@@ -1126,6 +1277,104 @@ export declare const routes: {
1126
1277
  run: (args: Array<string>) => void;
1127
1278
  help: string;
1128
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
+ };
1129
1378
  delete: {
1130
1379
  summary: string;
1131
1380
  effects: {
@@ -1328,7 +1577,7 @@ export declare const routes: {
1328
1577
  }];
1329
1578
  readonly constraints: readonly [{
1330
1579
  readonly kind: "exclusive";
1331
- 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"];
1332
1581
  }, {
1333
1582
  readonly kind: "atLeastOne";
1334
1583
  readonly members: readonly ["option:text", "option:text-file"];
@@ -1408,6 +1657,21 @@ export declare const routes: {
1408
1657
  };
1409
1658
  input: {
1410
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
+ };
1411
1675
  readonly append: {
1412
1676
  readonly type: "boolean";
1413
1677
  };
@@ -1450,18 +1714,18 @@ export declare const routes: {
1450
1714
  }];
1451
1715
  readonly constraints: readonly [{
1452
1716
  readonly kind: "exclusive";
1453
- 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"];
1454
1718
  }, {
1455
1719
  readonly kind: "exclusive";
1456
1720
  readonly members: readonly ["option:append", "option:replacing"];
1457
1721
  }, {
1458
1722
  readonly kind: "requiresAny";
1459
1723
  readonly input: "option:append";
1460
- 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"];
1461
1725
  }, {
1462
1726
  readonly kind: "requiresAny";
1463
1727
  readonly input: "option:replacing";
1464
- 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"];
1465
1729
  }, {
1466
1730
  readonly kind: "requires";
1467
1731
  readonly input: "option:all";
@@ -1469,8 +1733,11 @@ export declare const routes: {
1469
1733
  }, {
1470
1734
  readonly kind: "atLeastOne";
1471
1735
  readonly members: readonly ["option:text", "option:text-file"];
1472
- }];
1473
- readonly notes: readonly [string];
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];
1474
1741
  };
1475
1742
  results: import("../results.js").CommandResult[];
1476
1743
  guessedFlags: {
@@ -1635,7 +1902,7 @@ export declare const routes: {
1635
1902
  }];
1636
1903
  readonly constraints: readonly [{
1637
1904
  readonly kind: "exclusive";
1638
- 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"];
1639
1906
  }];
1640
1907
  };
1641
1908
  results: import("../results.js").CommandResult[];
@@ -1702,6 +1969,36 @@ export declare const routes: {
1702
1969
  };
1703
1970
  input: {
1704
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
+ };
1705
2002
  readonly color: {
1706
2003
  readonly type: "string";
1707
2004
  readonly value: {
@@ -1759,18 +2056,18 @@ export declare const routes: {
1759
2056
  }];
1760
2057
  readonly constraints: readonly [{
1761
2058
  readonly kind: "exclusive";
1762
- 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"];
1763
2060
  }, {
1764
2061
  readonly kind: "exclusive";
1765
2062
  readonly members: readonly ["option:append", "option:replacing"];
1766
2063
  }, {
1767
2064
  readonly kind: "requiresAny";
1768
2065
  readonly input: "option:append";
1769
- 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"];
1770
2067
  }, {
1771
2068
  readonly kind: "requiresAny";
1772
2069
  readonly input: "option:replacing";
1773
- 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"];
1774
2071
  }, {
1775
2072
  readonly kind: "requires";
1776
2073
  readonly input: "option:all";
@@ -1778,8 +2075,11 @@ export declare const routes: {
1778
2075
  }, {
1779
2076
  readonly kind: "atLeastOne";
1780
2077
  readonly members: `option:${string}`[];
1781
- }];
1782
- readonly notes: readonly [string];
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];
1783
2083
  };
1784
2084
  results: import("../results.js").CommandResult[];
1785
2085
  run: (args: string[]) => Promise<void>;
@@ -1908,7 +2208,7 @@ export declare const routes: {
1908
2208
  readonly value: {
1909
2209
  readonly kind: "activity-action";
1910
2210
  readonly name: "action";
1911
- 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")[];
1912
2212
  };
1913
2213
  };
1914
2214
  readonly changed: {
@@ -1921,6 +2221,9 @@ export declare const routes: {
1921
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.`;
1922
2222
  };
1923
2223
  };
2224
+ readonly follow: {
2225
+ readonly type: "boolean";
2226
+ };
1924
2227
  readonly limit: {
1925
2228
  readonly type: "string";
1926
2229
  readonly value: {
@@ -1949,11 +2252,17 @@ export declare const routes: {
1949
2252
  readonly kind: "requiresAny";
1950
2253
  readonly input: "option:show-deleted";
1951
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"];
1952
2261
  }];
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."];
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."];
1954
2263
  };
1955
2264
  results: import("../results.js").CommandResult[];
1956
- run: (args: string[]) => void;
2265
+ run: (args: string[]) => Promise<void> | undefined;
1957
2266
  help: string;
1958
2267
  };
1959
2268
  view: {
@@ -2102,6 +2411,45 @@ export declare const routes: {
2102
2411
  run: (args: string[]) => void;
2103
2412
  help: string;
2104
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
+ };
2105
2453
  whoami: {
2106
2454
  summary: string;
2107
2455
  effects: {
@@ -2123,6 +2471,29 @@ export declare const routes: {
2123
2471
  run: (args: string[]) => void;
2124
2472
  help: string;
2125
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
+ };
2126
2497
  capabilities: {
2127
2498
  summary: string;
2128
2499
  effects: {