@zinn-dev/cli 0.40.0 → 0.41.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 (60) hide show
  1. package/README.md +166 -38
  2. package/index.js +24 -13
  3. package/package.json +7 -2
  4. package/skills/zinn/SKILL.md +63 -0
  5. package/src/actor.d.ts +2 -1
  6. package/src/actor.js +78 -11
  7. package/src/capabilities-schema.d.ts +163 -0
  8. package/src/capabilities-schema.js +124 -0
  9. package/src/capabilities.d.ts +21 -0
  10. package/src/capabilities.js +22 -0
  11. package/src/database.d.ts +1 -1
  12. package/src/database.js +4 -4
  13. package/src/errors.d.ts +158 -0
  14. package/src/errors.js +224 -0
  15. package/src/input.d.ts +116 -0
  16. package/src/input.js +119 -0
  17. package/src/lib.d.ts +42 -7
  18. package/src/lib.js +213 -17
  19. package/src/presentation/activity-presentation.js +16 -2
  20. package/src/presentation/column-presentation.d.ts +3 -5
  21. package/src/presentation/info-presentation.d.ts +4 -0
  22. package/src/presentation/info-presentation.js +96 -0
  23. package/src/presentation/task-presentation.d.ts +2 -10
  24. package/src/project.d.ts +6 -0
  25. package/src/project.js +23 -10
  26. package/src/result-schemas.d.ts +987 -0
  27. package/src/result-schemas.js +220 -0
  28. package/src/results.d.ts +23 -0
  29. package/src/results.js +17 -0
  30. package/src/routes/activity-router.d.ts +71 -0
  31. package/src/routes/activity-router.js +59 -11
  32. package/src/routes/backup-router.d.ts +17 -0
  33. package/src/routes/backup-router.js +15 -3
  34. package/src/routes/capabilities-router.d.ts +21 -0
  35. package/src/routes/capabilities-router.js +28 -0
  36. package/src/routes/comment-router.d.ts +183 -4
  37. package/src/routes/comment-router.js +136 -29
  38. package/src/routes/info-router.d.ts +21 -0
  39. package/src/routes/info-router.js +29 -0
  40. package/src/routes/label-router.d.ts +165 -0
  41. package/src/routes/label-router.js +111 -29
  42. package/src/routes/migrate-router.d.ts +17 -0
  43. package/src/routes/migrate-router.js +17 -5
  44. package/src/routes/project-router.d.ts +349 -0
  45. package/src/routes/project-router.js +278 -92
  46. package/src/routes/reindex-router.d.ts +17 -0
  47. package/src/routes/reindex-router.js +15 -3
  48. package/src/routes/relation-router.d.ts +108 -12
  49. package/src/routes/relation-router.js +74 -14
  50. package/src/routes/restore-router.d.ts +29 -0
  51. package/src/routes/restore-router.js +30 -13
  52. package/src/routes/router.d.ts +1 -1
  53. package/src/routes/router.js +44 -25
  54. package/src/routes/routes.d.ts +1565 -0
  55. package/src/routes/routes.js +5 -1
  56. package/src/routes/task-router.d.ts +861 -0
  57. package/src/routes/task-router.js +419 -163
  58. package/src/text-edit.d.ts +20 -2
  59. package/src/text-edit.js +22 -10
  60. package/src/types.d.ts +14 -0
@@ -1,84 +1,945 @@
1
+ import { type ParseArgsOptionsConfig } from "node:util";
2
+ declare function suggestTaskMove(args: Array<string>, options?: ParseArgsOptionsConfig): string[];
1
3
  export declare const taskRouter: {
2
4
  create: {
5
+ summary: string;
6
+ effects: {
7
+ domain: "create";
8
+ storage: "normal-open";
9
+ };
10
+ confirmation: {
11
+ kind: "none";
12
+ };
13
+ input: {
14
+ readonly options: {
15
+ readonly title: {
16
+ readonly type: "string";
17
+ readonly required: true;
18
+ readonly value: {
19
+ readonly kind: "text";
20
+ readonly name: "text";
21
+ };
22
+ };
23
+ readonly description: {
24
+ readonly type: "string";
25
+ readonly value: {
26
+ readonly kind: "text";
27
+ readonly name: "text";
28
+ };
29
+ };
30
+ readonly priority: {
31
+ readonly type: "string";
32
+ readonly value: {
33
+ readonly kind: "enum";
34
+ readonly name: "priority";
35
+ readonly choices: readonly [...("low" | "medium" | "high" | "urgent")[], "none"];
36
+ readonly caseInsensitive: true;
37
+ readonly description: "Omission leaves priority unassigned on creation and unchanged on edit. none clears priority; JSON uses null.";
38
+ };
39
+ };
40
+ readonly label: {
41
+ readonly type: "string";
42
+ readonly multiple: true;
43
+ readonly value: {
44
+ readonly kind: "label-name";
45
+ readonly name: "name";
46
+ };
47
+ };
48
+ readonly column: {
49
+ readonly type: "string";
50
+ readonly value: {
51
+ readonly kind: "column-name";
52
+ readonly name: "name";
53
+ };
54
+ };
55
+ readonly parent: {
56
+ readonly type: "string";
57
+ readonly value: {
58
+ readonly kind: "task-key";
59
+ readonly name: "task-key";
60
+ };
61
+ };
62
+ readonly "depends-on": {
63
+ readonly type: "string";
64
+ readonly multiple: true;
65
+ readonly value: {
66
+ readonly kind: "task-key";
67
+ readonly name: "task-key";
68
+ };
69
+ };
70
+ readonly "duplicate-of": {
71
+ readonly type: "string";
72
+ readonly value: {
73
+ readonly kind: "task-key";
74
+ readonly name: "task-key";
75
+ };
76
+ };
77
+ readonly related: {
78
+ readonly type: "string";
79
+ readonly multiple: true;
80
+ readonly value: {
81
+ readonly kind: "task-key";
82
+ readonly name: "task-key";
83
+ };
84
+ };
85
+ };
86
+ readonly forms: readonly [{
87
+ readonly id: "default";
88
+ readonly positionals: readonly [{
89
+ readonly name: "project-key";
90
+ readonly min: 0;
91
+ readonly max: 1;
92
+ readonly value: {
93
+ readonly kind: "project-key";
94
+ };
95
+ }];
96
+ }];
97
+ readonly constraints: readonly [];
98
+ readonly notes: readonly ["An omitted project key uses defaultProject from settings. Without a configured default, a project key is required. A missing configured project is an error."];
99
+ };
100
+ results: import("../results.js").CommandResult[];
3
101
  run: (args: string[]) => void;
4
102
  help: string;
5
103
  };
6
104
  list: {
105
+ summary: string;
106
+ effects: {
107
+ domain: "read";
108
+ storage: "normal-open";
109
+ };
110
+ confirmation: {
111
+ kind: "none";
112
+ };
113
+ input: {
114
+ readonly options: {
115
+ readonly archived: {
116
+ readonly type: "boolean";
117
+ };
118
+ readonly all: {
119
+ readonly type: "boolean";
120
+ };
121
+ readonly "all-projects": {
122
+ readonly type: "boolean";
123
+ };
124
+ readonly label: {
125
+ readonly type: "string";
126
+ readonly multiple: true;
127
+ readonly value: {
128
+ readonly kind: "label-name";
129
+ readonly name: "name";
130
+ };
131
+ };
132
+ readonly column: {
133
+ readonly type: "string";
134
+ readonly value: {
135
+ readonly kind: "column-name";
136
+ readonly name: "name";
137
+ };
138
+ };
139
+ };
140
+ readonly forms: readonly [{
141
+ readonly id: "default";
142
+ readonly positionals: readonly [{
143
+ readonly name: "project-key";
144
+ readonly min: 0;
145
+ readonly max: 1;
146
+ readonly value: {
147
+ readonly kind: "project-key";
148
+ };
149
+ }];
150
+ }];
151
+ readonly constraints: readonly [{
152
+ readonly kind: "exclusive";
153
+ readonly members: readonly ["option:archived", "option:all"];
154
+ }, {
155
+ readonly kind: "exclusive";
156
+ readonly members: readonly ["positional:project-key", "option:all-projects"];
157
+ }];
158
+ readonly notes: readonly ["An omitted project key defaults to all projects unless defaultProject is configured. --all-projects overrides the defaultProject and excludes a typed project. A missing configured project is an error."];
159
+ };
160
+ results: import("../results.js").CommandResult[];
7
161
  run: (args: string[]) => void;
8
162
  help: string;
9
163
  };
10
164
  search: {
165
+ summary: string;
166
+ effects: {
167
+ domain: "read";
168
+ storage: "normal-open";
169
+ };
170
+ confirmation: {
171
+ kind: "none";
172
+ };
173
+ input: {
174
+ readonly options: {
175
+ readonly archived: {
176
+ readonly type: "boolean";
177
+ };
178
+ readonly all: {
179
+ readonly type: "boolean";
180
+ };
181
+ readonly "all-projects": {
182
+ readonly type: "boolean";
183
+ };
184
+ readonly limit: {
185
+ readonly type: "string";
186
+ readonly value: {
187
+ readonly kind: "positive-integer";
188
+ readonly name: "n";
189
+ readonly pattern: "^[1-9]\\d{0,14}$";
190
+ };
191
+ };
192
+ readonly label: {
193
+ readonly type: "string";
194
+ readonly multiple: true;
195
+ readonly value: {
196
+ readonly kind: "label-name";
197
+ readonly name: "name";
198
+ };
199
+ };
200
+ };
201
+ readonly forms: readonly [{
202
+ readonly id: "default";
203
+ readonly positionals: readonly [{
204
+ readonly name: "query";
205
+ readonly min: 1;
206
+ readonly max: 1;
207
+ readonly value: {
208
+ readonly kind: "text";
209
+ };
210
+ }, {
211
+ readonly name: "project-key";
212
+ readonly min: 0;
213
+ readonly max: 1;
214
+ readonly value: {
215
+ readonly kind: "project-key";
216
+ };
217
+ }];
218
+ }];
219
+ readonly constraints: readonly [{
220
+ readonly kind: "exclusive";
221
+ readonly members: readonly ["option:archived", "option:all"];
222
+ }, {
223
+ readonly kind: "exclusive";
224
+ readonly members: readonly ["positional:project-key", "option:all-projects"];
225
+ }];
226
+ readonly notes: readonly ["An omitted project key defaults to all projects unless defaultProject is configured. --all-projects overrides the defaultProject and excludes a typed project. A missing configured project is an error.", "A query that is a task key ignores defaultProject unless a project was typed. --all-projects still excludes a typed project."];
227
+ };
228
+ results: import("../results.js").CommandResult[];
11
229
  run: (args: string[]) => void;
12
230
  help: string;
13
231
  };
14
232
  view: {
233
+ summary: string;
234
+ effects: {
235
+ domain: "read";
236
+ storage: "normal-open";
237
+ };
238
+ confirmation: {
239
+ kind: "none";
240
+ };
241
+ input: {
242
+ readonly options: {
243
+ readonly history: {
244
+ readonly type: "boolean";
245
+ };
246
+ };
247
+ readonly forms: readonly [{
248
+ readonly id: "default";
249
+ readonly positionals: readonly [{
250
+ readonly name: "task-key";
251
+ readonly min: 1;
252
+ readonly max: 1;
253
+ readonly value: {
254
+ readonly kind: "task-key";
255
+ };
256
+ }];
257
+ }];
258
+ readonly constraints: readonly [];
259
+ };
260
+ results: import("../results.js").CommandResult[];
15
261
  run: (args: string[]) => void;
16
262
  help: string;
17
263
  };
18
264
  edit: {
265
+ summary: string;
266
+ effects: {
267
+ domain: "update";
268
+ storage: "normal-open";
269
+ };
270
+ confirmation: {
271
+ kind: "none";
272
+ };
273
+ input: {
274
+ readonly options: {
275
+ readonly priority: {
276
+ readonly type: "string";
277
+ readonly value: {
278
+ readonly kind: "enum";
279
+ readonly name: "priority";
280
+ readonly choices: readonly [...("low" | "medium" | "high" | "urgent")[], "none"];
281
+ readonly caseInsensitive: true;
282
+ readonly description: "Omission leaves priority unassigned on creation and unchanged on edit. none clears priority; JSON uses null.";
283
+ };
284
+ };
285
+ readonly "add-label": {
286
+ readonly type: "string";
287
+ readonly multiple: true;
288
+ readonly value: {
289
+ readonly kind: "label-name";
290
+ readonly name: "name";
291
+ };
292
+ };
293
+ readonly "remove-label": {
294
+ readonly type: "string";
295
+ readonly multiple: true;
296
+ readonly value: {
297
+ readonly kind: "label-name";
298
+ readonly name: "name";
299
+ };
300
+ };
301
+ readonly append: {
302
+ readonly type: "boolean";
303
+ };
304
+ readonly replacing: {
305
+ readonly type: "string";
306
+ readonly value: {
307
+ readonly kind: "text";
308
+ readonly name: "old";
309
+ };
310
+ };
311
+ readonly all: {
312
+ readonly type: "boolean";
313
+ };
314
+ readonly title: {
315
+ readonly type: "string";
316
+ readonly value: {
317
+ readonly kind: "text";
318
+ readonly name: "text";
319
+ };
320
+ };
321
+ readonly description: {
322
+ readonly type: "string";
323
+ readonly value: {
324
+ readonly kind: "text";
325
+ readonly name: "text";
326
+ };
327
+ };
328
+ };
329
+ readonly forms: readonly [{
330
+ readonly id: "default";
331
+ readonly positionals: readonly [{
332
+ readonly name: "task-key";
333
+ readonly min: 1;
334
+ readonly max: 1;
335
+ readonly value: {
336
+ readonly kind: "task-key";
337
+ };
338
+ }];
339
+ }];
340
+ readonly constraints: readonly [{
341
+ readonly kind: "exclusive";
342
+ readonly members: readonly ["option:append", "option:replacing"];
343
+ }, {
344
+ readonly kind: "requires";
345
+ readonly input: "option:append";
346
+ readonly requires: `option:${string}`;
347
+ }, {
348
+ readonly kind: "requires";
349
+ readonly input: "option:replacing";
350
+ readonly requires: `option:${string}`;
351
+ }, {
352
+ readonly kind: "requires";
353
+ readonly input: "option:all";
354
+ readonly requires: "option:replacing";
355
+ }, {
356
+ readonly kind: "atLeastOne";
357
+ readonly members: readonly ["option:title", "option:description", "option:priority", "option:add-label", "option:remove-label"];
358
+ }];
359
+ readonly notes: readonly [string];
360
+ };
361
+ results: import("../results.js").CommandResult[];
19
362
  run: (args: string[]) => void;
20
363
  help: string;
364
+ guessedFlags: {
365
+ "--status": (args: string[]) => string[];
366
+ "--column": (args: string[]) => string[];
367
+ };
21
368
  };
22
369
  move: {
370
+ summary: string;
371
+ effects: {
372
+ domain: "update";
373
+ storage: "normal-open";
374
+ };
375
+ confirmation: {
376
+ kind: "none";
377
+ };
378
+ input: {
379
+ readonly options: {};
380
+ readonly forms: readonly [{
381
+ readonly id: "default";
382
+ readonly positionals: readonly [{
383
+ readonly max: null;
384
+ readonly name: "task-key";
385
+ readonly min: 1;
386
+ readonly value: {
387
+ readonly kind: "task-key";
388
+ };
389
+ }, {
390
+ readonly name: "target-column";
391
+ readonly min: 1;
392
+ readonly max: 1;
393
+ readonly value: {
394
+ readonly kind: "column-name";
395
+ };
396
+ }];
397
+ }];
398
+ readonly constraints: readonly [];
399
+ };
400
+ results: import("../results.js").CommandResult[];
23
401
  run: (args: string[]) => void;
24
402
  help: string;
403
+ guessedFlags: {
404
+ "--status": typeof suggestTaskMove;
405
+ "--column": typeof suggestTaskMove;
406
+ };
25
407
  };
26
408
  order: {
409
+ summary: string;
410
+ effects: {
411
+ domain: "update";
412
+ storage: "normal-open";
413
+ };
414
+ confirmation: {
415
+ kind: "none";
416
+ };
417
+ input: {
418
+ readonly options: {};
419
+ readonly forms: readonly [{
420
+ readonly id: "absolute";
421
+ readonly positionals: readonly [{
422
+ readonly name: "task-key";
423
+ readonly min: 1;
424
+ readonly max: 1;
425
+ readonly value: {
426
+ readonly kind: "task-key";
427
+ };
428
+ }, {
429
+ readonly name: "direction";
430
+ readonly min: 1;
431
+ readonly max: 1;
432
+ readonly value: {
433
+ readonly kind: "enum";
434
+ readonly choices: readonly ["top", "up", "down", "bottom"];
435
+ };
436
+ }];
437
+ }, {
438
+ readonly id: "relative";
439
+ readonly positionals: readonly [{
440
+ readonly name: "task-key";
441
+ readonly min: 1;
442
+ readonly max: 1;
443
+ readonly value: {
444
+ readonly kind: "task-key";
445
+ };
446
+ }, {
447
+ readonly name: "direction";
448
+ readonly min: 1;
449
+ readonly max: 1;
450
+ readonly value: {
451
+ readonly kind: "enum";
452
+ readonly choices: readonly ["before", "after"];
453
+ };
454
+ }, {
455
+ readonly name: "target-task-key";
456
+ readonly min: 1;
457
+ readonly max: 1;
458
+ readonly value: {
459
+ readonly kind: "task-key";
460
+ };
461
+ }];
462
+ }];
463
+ readonly constraints: readonly [];
464
+ };
465
+ results: import("../results.js").CommandResult[];
27
466
  run: (args: string[]) => void;
28
467
  help: string;
29
468
  };
30
469
  archive: {
470
+ summary: string;
471
+ effects: {
472
+ domain: "update";
473
+ storage: "normal-open";
474
+ };
475
+ confirmation: {
476
+ kind: "none";
477
+ };
478
+ input: {
479
+ readonly options: {};
480
+ readonly forms: readonly [{
481
+ readonly id: "default";
482
+ readonly positionals: readonly [{
483
+ readonly max: null;
484
+ readonly name: "task-key";
485
+ readonly min: 1;
486
+ readonly value: {
487
+ readonly kind: "task-key";
488
+ };
489
+ }];
490
+ }];
491
+ readonly constraints: readonly [];
492
+ };
493
+ results: import("../results.js").CommandResult[];
31
494
  run: (args: Array<string>) => void;
32
495
  help: string;
33
496
  };
34
497
  unarchive: {
498
+ summary: string;
499
+ effects: {
500
+ domain: "update";
501
+ storage: "normal-open";
502
+ };
503
+ confirmation: {
504
+ kind: "none";
505
+ };
506
+ input: {
507
+ readonly options: {};
508
+ readonly forms: readonly [{
509
+ readonly id: "default";
510
+ readonly positionals: readonly [{
511
+ readonly max: null;
512
+ readonly name: "task-key";
513
+ readonly min: 1;
514
+ readonly value: {
515
+ readonly kind: "task-key";
516
+ };
517
+ }];
518
+ }];
519
+ readonly constraints: readonly [];
520
+ };
521
+ results: import("../results.js").CommandResult[];
35
522
  run: (args: Array<string>) => void;
36
523
  help: string;
37
524
  };
38
525
  delete: {
526
+ summary: string;
527
+ effects: {
528
+ domain: "delete";
529
+ storage: "normal-open";
530
+ };
531
+ confirmation: {
532
+ kind: "prompt";
533
+ description: string;
534
+ };
535
+ input: {
536
+ readonly options: {
537
+ readonly yes: {
538
+ readonly type: "boolean";
539
+ };
540
+ };
541
+ readonly forms: readonly [{
542
+ readonly id: "default";
543
+ readonly positionals: readonly [{
544
+ readonly name: "task-key";
545
+ readonly min: 1;
546
+ readonly max: 1;
547
+ readonly value: {
548
+ readonly kind: "task-key";
549
+ };
550
+ }];
551
+ }];
552
+ readonly constraints: readonly [];
553
+ };
554
+ results: import("../results.js").CommandResult[];
39
555
  run: (args: Array<string>) => Promise<void>;
40
556
  help: string;
41
557
  };
42
558
  relation: {
43
559
  create: {
560
+ summary: string;
561
+ effects: {
562
+ domain: "create";
563
+ storage: "normal-open";
564
+ };
565
+ confirmation: {
566
+ kind: "none";
567
+ };
568
+ input: {
569
+ readonly options: {
570
+ readonly type: {
571
+ readonly type: "string";
572
+ readonly required: true;
573
+ readonly value: {
574
+ readonly kind: "enum";
575
+ readonly name: "type";
576
+ readonly choices: ("related" | "dependency" | "duplicate" | "subtask")[];
577
+ };
578
+ };
579
+ };
580
+ readonly forms: readonly [{
581
+ readonly id: "default";
582
+ readonly positionals: readonly [{
583
+ readonly name: "source-task-key";
584
+ readonly min: 1;
585
+ readonly max: 1;
586
+ readonly value: {
587
+ readonly kind: "task-key";
588
+ };
589
+ }, {
590
+ readonly name: "target-task-key";
591
+ readonly min: 1;
592
+ readonly max: 1;
593
+ readonly value: {
594
+ readonly kind: "task-key";
595
+ };
596
+ }];
597
+ }];
598
+ readonly constraints: readonly [];
599
+ };
600
+ results: import("../results.js").CommandResult[];
44
601
  run: (args: string[]) => void;
45
602
  help: string;
46
603
  };
47
604
  list: {
605
+ summary: string;
606
+ effects: {
607
+ domain: "read";
608
+ storage: "normal-open";
609
+ };
610
+ confirmation: {
611
+ kind: "none";
612
+ };
613
+ input: {
614
+ readonly options: {};
615
+ readonly forms: readonly [{
616
+ readonly id: "default";
617
+ readonly positionals: readonly [{
618
+ readonly name: "task-key";
619
+ readonly min: 1;
620
+ readonly max: 1;
621
+ readonly value: {
622
+ readonly kind: "task-key";
623
+ };
624
+ }];
625
+ }];
626
+ readonly constraints: readonly [];
627
+ };
628
+ results: import("../results.js").CommandResult[];
48
629
  run: (args: string[]) => void;
49
630
  help: string;
50
631
  };
51
632
  delete: {
633
+ summary: string;
634
+ effects: {
635
+ domain: "delete";
636
+ storage: "normal-open";
637
+ };
638
+ confirmation: {
639
+ kind: "none";
640
+ };
641
+ input: {
642
+ readonly options: {
643
+ readonly type: {
644
+ readonly type: "string";
645
+ readonly required: true;
646
+ readonly value: {
647
+ readonly kind: "enum";
648
+ readonly name: "type";
649
+ readonly choices: ("related" | "dependency" | "duplicate" | "subtask")[];
650
+ };
651
+ };
652
+ };
653
+ readonly forms: readonly [{
654
+ readonly id: "default";
655
+ readonly positionals: readonly [{
656
+ readonly name: "source-task-key";
657
+ readonly min: 1;
658
+ readonly max: 1;
659
+ readonly value: {
660
+ readonly kind: "task-key";
661
+ };
662
+ }, {
663
+ readonly name: "target-task-key";
664
+ readonly min: 1;
665
+ readonly max: 1;
666
+ readonly value: {
667
+ readonly kind: "task-key";
668
+ };
669
+ }];
670
+ }];
671
+ readonly constraints: readonly [];
672
+ };
673
+ results: import("../results.js").CommandResult[];
52
674
  run: (args: string[]) => void;
53
675
  help: string;
54
676
  };
55
677
  };
56
678
  comment: {
57
679
  create: {
680
+ summary: string;
681
+ effects: {
682
+ domain: "create";
683
+ storage: "normal-open";
684
+ };
685
+ confirmation: {
686
+ kind: "none";
687
+ };
688
+ input: {
689
+ readonly options: {
690
+ readonly text: {
691
+ readonly type: "string";
692
+ readonly required: true;
693
+ readonly value: {
694
+ readonly kind: "text";
695
+ readonly name: "text";
696
+ };
697
+ };
698
+ };
699
+ readonly forms: readonly [{
700
+ readonly id: "default";
701
+ readonly positionals: readonly [{
702
+ readonly name: "task-key";
703
+ readonly min: 1;
704
+ readonly max: 1;
705
+ readonly value: {
706
+ readonly kind: "task-key";
707
+ };
708
+ }];
709
+ }];
710
+ readonly constraints: readonly [];
711
+ };
712
+ results: import("../results.js").CommandResult[];
58
713
  run: (args: string[]) => void;
59
714
  help: string;
60
715
  };
61
716
  list: {
717
+ summary: string;
718
+ effects: {
719
+ domain: "read";
720
+ storage: "normal-open";
721
+ };
722
+ confirmation: {
723
+ kind: "none";
724
+ };
725
+ input: {
726
+ readonly options: {};
727
+ readonly forms: readonly [{
728
+ readonly id: "default";
729
+ readonly positionals: readonly [{
730
+ readonly name: "task-key";
731
+ readonly min: 1;
732
+ readonly max: 1;
733
+ readonly value: {
734
+ readonly kind: "task-key";
735
+ };
736
+ }];
737
+ }];
738
+ readonly constraints: readonly [];
739
+ };
740
+ results: import("../results.js").CommandResult[];
741
+ run: (args: string[]) => void;
742
+ help: string;
743
+ };
744
+ view: {
745
+ summary: string;
746
+ effects: {
747
+ domain: "read";
748
+ storage: "normal-open";
749
+ };
750
+ confirmation: {
751
+ kind: "none";
752
+ };
753
+ input: {
754
+ readonly options: {};
755
+ readonly forms: readonly [{
756
+ readonly id: "default";
757
+ readonly positionals: readonly [{
758
+ readonly name: "comment-key";
759
+ readonly min: 1;
760
+ readonly max: 1;
761
+ readonly value: {
762
+ readonly kind: "comment-key";
763
+ };
764
+ }];
765
+ }];
766
+ readonly constraints: readonly [];
767
+ };
768
+ results: import("../results.js").CommandResult[];
62
769
  run: (args: string[]) => void;
63
770
  help: string;
64
771
  };
65
772
  edit: {
773
+ summary: string;
774
+ effects: {
775
+ domain: "update";
776
+ storage: "normal-open";
777
+ };
778
+ confirmation: {
779
+ kind: "none";
780
+ };
781
+ input: {
782
+ readonly options: {
783
+ readonly append: {
784
+ readonly type: "boolean";
785
+ };
786
+ readonly replacing: {
787
+ readonly type: "string";
788
+ readonly value: {
789
+ readonly kind: "text";
790
+ readonly name: "old";
791
+ };
792
+ };
793
+ readonly all: {
794
+ readonly type: "boolean";
795
+ };
796
+ readonly text: {
797
+ readonly type: "string";
798
+ readonly required: true;
799
+ readonly value: {
800
+ readonly kind: "text";
801
+ readonly name: "text";
802
+ };
803
+ };
804
+ };
805
+ readonly forms: readonly [{
806
+ readonly id: "default";
807
+ readonly positionals: readonly [{
808
+ readonly name: "comment-key";
809
+ readonly min: 1;
810
+ readonly max: 1;
811
+ readonly value: {
812
+ readonly kind: "comment-key";
813
+ };
814
+ }];
815
+ }];
816
+ readonly constraints: readonly [{
817
+ readonly kind: "exclusive";
818
+ readonly members: readonly ["option:append", "option:replacing"];
819
+ }, {
820
+ readonly kind: "requires";
821
+ readonly input: "option:append";
822
+ readonly requires: `option:${string}`;
823
+ }, {
824
+ readonly kind: "requires";
825
+ readonly input: "option:replacing";
826
+ readonly requires: `option:${string}`;
827
+ }, {
828
+ readonly kind: "requires";
829
+ readonly input: "option:all";
830
+ readonly requires: "option:replacing";
831
+ }];
832
+ readonly notes: readonly [string];
833
+ };
834
+ results: import("../results.js").CommandResult[];
66
835
  run: (args: string[]) => void;
67
836
  help: string;
68
837
  };
69
838
  delete: {
839
+ summary: string;
840
+ effects: {
841
+ domain: "delete";
842
+ storage: "normal-open";
843
+ };
844
+ confirmation: {
845
+ kind: "prompt";
846
+ description: string;
847
+ };
848
+ input: {
849
+ readonly options: {
850
+ readonly yes: {
851
+ readonly type: "boolean";
852
+ };
853
+ };
854
+ readonly forms: readonly [{
855
+ readonly id: "default";
856
+ readonly positionals: readonly [{
857
+ readonly name: "comment-key";
858
+ readonly min: 1;
859
+ readonly max: 1;
860
+ readonly value: {
861
+ readonly kind: "comment-key";
862
+ };
863
+ }];
864
+ }];
865
+ readonly constraints: readonly [];
866
+ };
867
+ results: import("../results.js").CommandResult[];
70
868
  run: (args: string[]) => Promise<void>;
71
869
  help: string;
72
870
  };
73
871
  };
74
872
  label: {
75
873
  add: {
874
+ summary: string;
875
+ effects: {
876
+ domain: "update";
877
+ storage: "normal-open";
878
+ };
879
+ confirmation: {
880
+ kind: "none";
881
+ };
882
+ input: {
883
+ readonly options: {};
884
+ readonly forms: readonly [{
885
+ readonly id: "default";
886
+ readonly positionals: readonly [{
887
+ readonly name: "task-key";
888
+ readonly min: 1;
889
+ readonly max: 1;
890
+ readonly value: {
891
+ readonly kind: "task-key";
892
+ };
893
+ }, {
894
+ readonly name: "label-name";
895
+ readonly min: 1;
896
+ readonly max: null;
897
+ readonly value: {
898
+ readonly kind: "label-name";
899
+ };
900
+ }];
901
+ }];
902
+ readonly constraints: readonly [];
903
+ };
904
+ results: import("../results.js").CommandResult[];
76
905
  run: (args: string[]) => void;
77
906
  help: string;
78
907
  };
79
908
  remove: {
909
+ summary: string;
910
+ effects: {
911
+ domain: "update";
912
+ storage: "normal-open";
913
+ };
914
+ confirmation: {
915
+ kind: "none";
916
+ };
917
+ input: {
918
+ readonly options: {};
919
+ readonly forms: readonly [{
920
+ readonly id: "default";
921
+ readonly positionals: readonly [{
922
+ readonly name: "task-key";
923
+ readonly min: 1;
924
+ readonly max: 1;
925
+ readonly value: {
926
+ readonly kind: "task-key";
927
+ };
928
+ }, {
929
+ readonly name: "label-name";
930
+ readonly min: 1;
931
+ readonly max: null;
932
+ readonly value: {
933
+ readonly kind: "label-name";
934
+ };
935
+ }];
936
+ }];
937
+ readonly constraints: readonly [];
938
+ };
939
+ results: import("../results.js").CommandResult[];
80
940
  run: (args: string[]) => void;
81
941
  help: string;
82
942
  };
83
943
  };
84
944
  };
945
+ export {};