@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,39 +1,388 @@
1
1
  export declare const routes: {
2
2
  project: {
3
3
  create: {
4
+ summary: string;
5
+ effects: {
6
+ domain: "create";
7
+ storage: "normal-open";
8
+ };
9
+ confirmation: {
10
+ kind: "none";
11
+ };
12
+ input: {
13
+ readonly options: {
14
+ readonly name: {
15
+ readonly type: "string";
16
+ readonly value: {
17
+ readonly kind: "text";
18
+ readonly name: "text";
19
+ };
20
+ };
21
+ readonly description: {
22
+ readonly type: "string";
23
+ readonly value: {
24
+ readonly kind: "text";
25
+ readonly name: "text";
26
+ };
27
+ };
28
+ };
29
+ readonly forms: readonly [{
30
+ readonly id: "default";
31
+ readonly positionals: readonly [{
32
+ readonly name: "project-key";
33
+ readonly min: 1;
34
+ readonly max: 1;
35
+ readonly value: {
36
+ readonly kind: "project-key";
37
+ };
38
+ }];
39
+ }];
40
+ readonly constraints: readonly [];
41
+ };
42
+ results: import("../results.js").CommandResult[];
4
43
  run: (args: Array<string>) => void;
5
44
  help: string;
6
45
  };
7
46
  list: {
47
+ summary: string;
48
+ effects: {
49
+ domain: "read";
50
+ storage: "normal-open";
51
+ };
52
+ confirmation: {
53
+ kind: "none";
54
+ };
55
+ input: {
56
+ readonly options: {};
57
+ readonly forms: readonly [{
58
+ readonly id: "default";
59
+ readonly positionals: readonly [];
60
+ }];
61
+ readonly constraints: readonly [];
62
+ };
63
+ results: import("../results.js").CommandResult[];
8
64
  run: (args: Array<string>) => void;
9
65
  help: string;
10
66
  };
11
67
  view: {
68
+ summary: string;
69
+ effects: {
70
+ domain: "read";
71
+ storage: "normal-open";
72
+ };
73
+ confirmation: {
74
+ kind: "none";
75
+ };
76
+ input: {
77
+ readonly options: {};
78
+ readonly forms: readonly [{
79
+ readonly id: "default";
80
+ readonly positionals: readonly [{
81
+ readonly name: "project-key";
82
+ readonly min: 0;
83
+ readonly max: 1;
84
+ readonly value: {
85
+ readonly kind: "project-key";
86
+ };
87
+ }];
88
+ }];
89
+ readonly constraints: readonly [];
90
+ 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."];
91
+ };
92
+ results: import("../results.js").CommandResult[];
12
93
  run: (args: Array<string>) => void;
13
94
  help: string;
14
95
  };
15
96
  edit: {
97
+ summary: string;
98
+ effects: {
99
+ domain: "update";
100
+ storage: "normal-open";
101
+ };
102
+ confirmation: {
103
+ kind: "none";
104
+ };
105
+ input: {
106
+ readonly options: {
107
+ readonly append: {
108
+ readonly type: "boolean";
109
+ };
110
+ readonly replacing: {
111
+ readonly type: "string";
112
+ readonly value: {
113
+ readonly kind: "text";
114
+ readonly name: "old";
115
+ };
116
+ };
117
+ readonly all: {
118
+ readonly type: "boolean";
119
+ };
120
+ readonly name: {
121
+ readonly type: "string";
122
+ readonly value: {
123
+ readonly kind: "text";
124
+ readonly name: "text";
125
+ };
126
+ };
127
+ readonly description: {
128
+ readonly type: "string";
129
+ readonly value: {
130
+ readonly kind: "text";
131
+ readonly name: "text";
132
+ };
133
+ };
134
+ };
135
+ readonly forms: readonly [{
136
+ readonly id: "default";
137
+ readonly positionals: readonly [{
138
+ readonly name: "project-key";
139
+ readonly min: 0;
140
+ readonly max: 1;
141
+ readonly value: {
142
+ readonly kind: "project-key";
143
+ };
144
+ }];
145
+ }];
146
+ readonly constraints: readonly [{
147
+ readonly kind: "exclusive";
148
+ readonly members: readonly ["option:append", "option:replacing"];
149
+ }, {
150
+ readonly kind: "requires";
151
+ readonly input: "option:append";
152
+ readonly requires: `option:${string}`;
153
+ }, {
154
+ readonly kind: "requires";
155
+ readonly input: "option:replacing";
156
+ readonly requires: `option:${string}`;
157
+ }, {
158
+ readonly kind: "requires";
159
+ readonly input: "option:all";
160
+ readonly requires: "option:replacing";
161
+ }, {
162
+ readonly kind: "atLeastOne";
163
+ readonly members: readonly ["option:name", "option:description"];
164
+ }];
165
+ 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.", string];
166
+ };
167
+ results: import("../results.js").CommandResult[];
16
168
  run: (args: string[]) => void;
17
169
  help: string;
18
170
  };
19
171
  delete: {
172
+ summary: string;
173
+ effects: {
174
+ domain: "delete";
175
+ storage: "normal-open";
176
+ };
177
+ confirmation: {
178
+ kind: "project-delete";
179
+ description: string;
180
+ };
181
+ input: {
182
+ readonly options: {
183
+ readonly yes: {
184
+ readonly type: "boolean";
185
+ };
186
+ };
187
+ readonly forms: readonly [{
188
+ readonly id: "default";
189
+ readonly positionals: readonly [{
190
+ readonly name: "project-key";
191
+ readonly min: 0;
192
+ readonly max: 1;
193
+ readonly value: {
194
+ readonly kind: "project-key";
195
+ };
196
+ }];
197
+ }];
198
+ readonly constraints: readonly [];
199
+ 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."];
200
+ };
201
+ results: import("../results.js").CommandResult[];
20
202
  run: (args: Array<string>) => Promise<void>;
21
203
  help: string;
22
204
  };
23
205
  column: {
24
206
  create: {
207
+ summary: string;
208
+ effects: {
209
+ domain: "create";
210
+ storage: "normal-open";
211
+ };
212
+ confirmation: {
213
+ kind: "none";
214
+ };
215
+ input: {
216
+ readonly options: {};
217
+ readonly forms: readonly [{
218
+ readonly id: "default";
219
+ readonly positionals: readonly [{
220
+ readonly name: "project-key";
221
+ readonly min: 1;
222
+ readonly max: 1;
223
+ readonly value: {
224
+ readonly kind: "project-key";
225
+ };
226
+ }, {
227
+ readonly name: "column-name";
228
+ readonly min: 1;
229
+ readonly max: 1;
230
+ readonly value: {
231
+ readonly kind: "column-name";
232
+ };
233
+ }];
234
+ }];
235
+ readonly constraints: readonly [];
236
+ };
237
+ results: import("../results.js").CommandResult[];
25
238
  run: (args: Array<string>) => void;
26
239
  help: string;
27
240
  };
28
241
  list: {
242
+ summary: string;
243
+ effects: {
244
+ domain: "read";
245
+ storage: "normal-open";
246
+ };
247
+ confirmation: {
248
+ kind: "none";
249
+ };
250
+ input: {
251
+ readonly options: {};
252
+ readonly forms: readonly [{
253
+ readonly id: "default";
254
+ readonly positionals: readonly [{
255
+ readonly name: "project-key";
256
+ readonly min: 0;
257
+ readonly max: 1;
258
+ readonly value: {
259
+ readonly kind: "project-key";
260
+ };
261
+ }];
262
+ }];
263
+ readonly constraints: readonly [];
264
+ 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."];
265
+ };
266
+ results: import("../results.js").CommandResult[];
29
267
  run: (args: Array<string>) => void;
30
268
  help: string;
31
269
  };
32
270
  edit: {
271
+ summary: string;
272
+ effects: {
273
+ domain: "update";
274
+ storage: "normal-open";
275
+ };
276
+ confirmation: {
277
+ kind: "none";
278
+ };
279
+ input: {
280
+ readonly options: {
281
+ readonly name: {
282
+ readonly type: "string";
283
+ readonly required: true;
284
+ readonly value: {
285
+ readonly kind: "text";
286
+ readonly name: "text";
287
+ };
288
+ };
289
+ };
290
+ readonly forms: readonly [{
291
+ readonly id: "default";
292
+ readonly positionals: readonly [{
293
+ readonly name: "project-key";
294
+ readonly min: 1;
295
+ readonly max: 1;
296
+ readonly value: {
297
+ readonly kind: "project-key";
298
+ };
299
+ }, {
300
+ readonly name: "column-name";
301
+ readonly min: 1;
302
+ readonly max: 1;
303
+ readonly value: {
304
+ readonly kind: "column-name";
305
+ };
306
+ }];
307
+ }];
308
+ readonly constraints: readonly [];
309
+ };
310
+ results: import("../results.js").CommandResult[];
33
311
  run: (args: Array<string>) => void;
34
312
  help: string;
35
313
  };
36
314
  order: {
315
+ summary: string;
316
+ effects: {
317
+ domain: "update";
318
+ storage: "normal-open";
319
+ };
320
+ confirmation: {
321
+ kind: "none";
322
+ };
323
+ input: {
324
+ readonly options: {};
325
+ readonly forms: readonly [{
326
+ readonly id: "absolute";
327
+ readonly positionals: readonly [{
328
+ readonly name: "project-key";
329
+ readonly min: 1;
330
+ readonly max: 1;
331
+ readonly value: {
332
+ readonly kind: "project-key";
333
+ };
334
+ }, {
335
+ readonly name: "column-name";
336
+ readonly min: 1;
337
+ readonly max: 1;
338
+ readonly value: {
339
+ readonly kind: "column-name";
340
+ };
341
+ }, {
342
+ readonly name: "direction";
343
+ readonly min: 1;
344
+ readonly max: 1;
345
+ readonly value: {
346
+ readonly kind: "enum";
347
+ readonly choices: ("first" | "previous" | "next" | "last")[];
348
+ };
349
+ }];
350
+ }, {
351
+ readonly id: "relative";
352
+ readonly positionals: readonly [{
353
+ readonly name: "project-key";
354
+ readonly min: 1;
355
+ readonly max: 1;
356
+ readonly value: {
357
+ readonly kind: "project-key";
358
+ };
359
+ }, {
360
+ readonly name: "column-name";
361
+ readonly min: 1;
362
+ readonly max: 1;
363
+ readonly value: {
364
+ readonly kind: "column-name";
365
+ };
366
+ }, {
367
+ readonly name: "direction";
368
+ readonly min: 1;
369
+ readonly max: 1;
370
+ readonly value: {
371
+ readonly kind: "enum";
372
+ readonly choices: ("before" | "after")[];
373
+ };
374
+ }, {
375
+ readonly name: "target-column-name";
376
+ readonly min: 1;
377
+ readonly max: 1;
378
+ readonly value: {
379
+ readonly kind: "column-name";
380
+ };
381
+ }];
382
+ }];
383
+ readonly constraints: readonly [];
384
+ };
385
+ results: import("../results.js").CommandResult[];
37
386
  run: (args: Array<string>) => void;
38
387
  help: string;
39
388
  };
@@ -41,83 +390,941 @@ export declare const routes: {
41
390
  };
42
391
  task: {
43
392
  create: {
393
+ summary: string;
394
+ effects: {
395
+ domain: "create";
396
+ storage: "normal-open";
397
+ };
398
+ confirmation: {
399
+ kind: "none";
400
+ };
401
+ input: {
402
+ readonly options: {
403
+ readonly title: {
404
+ readonly type: "string";
405
+ readonly required: true;
406
+ readonly value: {
407
+ readonly kind: "text";
408
+ readonly name: "text";
409
+ };
410
+ };
411
+ readonly description: {
412
+ readonly type: "string";
413
+ readonly value: {
414
+ readonly kind: "text";
415
+ readonly name: "text";
416
+ };
417
+ };
418
+ readonly priority: {
419
+ readonly type: "string";
420
+ readonly value: {
421
+ readonly kind: "enum";
422
+ readonly name: "priority";
423
+ readonly choices: readonly [...("low" | "medium" | "high" | "urgent")[], "none"];
424
+ readonly caseInsensitive: true;
425
+ readonly description: "Omission leaves priority unassigned on creation and unchanged on edit. none clears priority; JSON uses null.";
426
+ };
427
+ };
428
+ readonly label: {
429
+ readonly type: "string";
430
+ readonly multiple: true;
431
+ readonly value: {
432
+ readonly kind: "label-name";
433
+ readonly name: "name";
434
+ };
435
+ };
436
+ readonly column: {
437
+ readonly type: "string";
438
+ readonly value: {
439
+ readonly kind: "column-name";
440
+ readonly name: "name";
441
+ };
442
+ };
443
+ readonly parent: {
444
+ readonly type: "string";
445
+ readonly value: {
446
+ readonly kind: "task-key";
447
+ readonly name: "task-key";
448
+ };
449
+ };
450
+ readonly "depends-on": {
451
+ readonly type: "string";
452
+ readonly multiple: true;
453
+ readonly value: {
454
+ readonly kind: "task-key";
455
+ readonly name: "task-key";
456
+ };
457
+ };
458
+ readonly "duplicate-of": {
459
+ readonly type: "string";
460
+ readonly value: {
461
+ readonly kind: "task-key";
462
+ readonly name: "task-key";
463
+ };
464
+ };
465
+ readonly related: {
466
+ readonly type: "string";
467
+ readonly multiple: true;
468
+ readonly value: {
469
+ readonly kind: "task-key";
470
+ readonly name: "task-key";
471
+ };
472
+ };
473
+ };
474
+ readonly forms: readonly [{
475
+ readonly id: "default";
476
+ readonly positionals: readonly [{
477
+ readonly name: "project-key";
478
+ readonly min: 0;
479
+ readonly max: 1;
480
+ readonly value: {
481
+ readonly kind: "project-key";
482
+ };
483
+ }];
484
+ }];
485
+ readonly constraints: readonly [];
486
+ 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."];
487
+ };
488
+ results: import("../results.js").CommandResult[];
44
489
  run: (args: string[]) => void;
45
490
  help: string;
46
491
  };
47
492
  list: {
493
+ summary: string;
494
+ effects: {
495
+ domain: "read";
496
+ storage: "normal-open";
497
+ };
498
+ confirmation: {
499
+ kind: "none";
500
+ };
501
+ input: {
502
+ readonly options: {
503
+ readonly archived: {
504
+ readonly type: "boolean";
505
+ };
506
+ readonly all: {
507
+ readonly type: "boolean";
508
+ };
509
+ readonly "all-projects": {
510
+ readonly type: "boolean";
511
+ };
512
+ readonly label: {
513
+ readonly type: "string";
514
+ readonly multiple: true;
515
+ readonly value: {
516
+ readonly kind: "label-name";
517
+ readonly name: "name";
518
+ };
519
+ };
520
+ readonly column: {
521
+ readonly type: "string";
522
+ readonly value: {
523
+ readonly kind: "column-name";
524
+ readonly name: "name";
525
+ };
526
+ };
527
+ };
528
+ readonly forms: readonly [{
529
+ readonly id: "default";
530
+ readonly positionals: readonly [{
531
+ readonly name: "project-key";
532
+ readonly min: 0;
533
+ readonly max: 1;
534
+ readonly value: {
535
+ readonly kind: "project-key";
536
+ };
537
+ }];
538
+ }];
539
+ readonly constraints: readonly [{
540
+ readonly kind: "exclusive";
541
+ readonly members: readonly ["option:archived", "option:all"];
542
+ }, {
543
+ readonly kind: "exclusive";
544
+ readonly members: readonly ["positional:project-key", "option:all-projects"];
545
+ }];
546
+ 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."];
547
+ };
548
+ results: import("../results.js").CommandResult[];
48
549
  run: (args: string[]) => void;
49
550
  help: string;
50
551
  };
51
552
  search: {
553
+ summary: string;
554
+ effects: {
555
+ domain: "read";
556
+ storage: "normal-open";
557
+ };
558
+ confirmation: {
559
+ kind: "none";
560
+ };
561
+ input: {
562
+ readonly options: {
563
+ readonly archived: {
564
+ readonly type: "boolean";
565
+ };
566
+ readonly all: {
567
+ readonly type: "boolean";
568
+ };
569
+ readonly "all-projects": {
570
+ readonly type: "boolean";
571
+ };
572
+ readonly limit: {
573
+ readonly type: "string";
574
+ readonly value: {
575
+ readonly kind: "positive-integer";
576
+ readonly name: "n";
577
+ readonly pattern: "^[1-9]\\d{0,14}$";
578
+ };
579
+ };
580
+ readonly label: {
581
+ readonly type: "string";
582
+ readonly multiple: true;
583
+ readonly value: {
584
+ readonly kind: "label-name";
585
+ readonly name: "name";
586
+ };
587
+ };
588
+ };
589
+ readonly forms: readonly [{
590
+ readonly id: "default";
591
+ readonly positionals: readonly [{
592
+ readonly name: "query";
593
+ readonly min: 1;
594
+ readonly max: 1;
595
+ readonly value: {
596
+ readonly kind: "text";
597
+ };
598
+ }, {
599
+ readonly name: "project-key";
600
+ readonly min: 0;
601
+ readonly max: 1;
602
+ readonly value: {
603
+ readonly kind: "project-key";
604
+ };
605
+ }];
606
+ }];
607
+ readonly constraints: readonly [{
608
+ readonly kind: "exclusive";
609
+ readonly members: readonly ["option:archived", "option:all"];
610
+ }, {
611
+ readonly kind: "exclusive";
612
+ readonly members: readonly ["positional:project-key", "option:all-projects"];
613
+ }];
614
+ 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."];
615
+ };
616
+ results: import("../results.js").CommandResult[];
52
617
  run: (args: string[]) => void;
53
618
  help: string;
54
619
  };
55
620
  view: {
621
+ summary: string;
622
+ effects: {
623
+ domain: "read";
624
+ storage: "normal-open";
625
+ };
626
+ confirmation: {
627
+ kind: "none";
628
+ };
629
+ input: {
630
+ readonly options: {
631
+ readonly history: {
632
+ readonly type: "boolean";
633
+ };
634
+ };
635
+ readonly forms: readonly [{
636
+ readonly id: "default";
637
+ readonly positionals: readonly [{
638
+ readonly name: "task-key";
639
+ readonly min: 1;
640
+ readonly max: 1;
641
+ readonly value: {
642
+ readonly kind: "task-key";
643
+ };
644
+ }];
645
+ }];
646
+ readonly constraints: readonly [];
647
+ };
648
+ results: import("../results.js").CommandResult[];
56
649
  run: (args: string[]) => void;
57
650
  help: string;
58
651
  };
59
652
  edit: {
653
+ summary: string;
654
+ effects: {
655
+ domain: "update";
656
+ storage: "normal-open";
657
+ };
658
+ confirmation: {
659
+ kind: "none";
660
+ };
661
+ input: {
662
+ readonly options: {
663
+ readonly priority: {
664
+ readonly type: "string";
665
+ readonly value: {
666
+ readonly kind: "enum";
667
+ readonly name: "priority";
668
+ readonly choices: readonly [...("low" | "medium" | "high" | "urgent")[], "none"];
669
+ readonly caseInsensitive: true;
670
+ readonly description: "Omission leaves priority unassigned on creation and unchanged on edit. none clears priority; JSON uses null.";
671
+ };
672
+ };
673
+ readonly "add-label": {
674
+ readonly type: "string";
675
+ readonly multiple: true;
676
+ readonly value: {
677
+ readonly kind: "label-name";
678
+ readonly name: "name";
679
+ };
680
+ };
681
+ readonly "remove-label": {
682
+ readonly type: "string";
683
+ readonly multiple: true;
684
+ readonly value: {
685
+ readonly kind: "label-name";
686
+ readonly name: "name";
687
+ };
688
+ };
689
+ readonly append: {
690
+ readonly type: "boolean";
691
+ };
692
+ readonly replacing: {
693
+ readonly type: "string";
694
+ readonly value: {
695
+ readonly kind: "text";
696
+ readonly name: "old";
697
+ };
698
+ };
699
+ readonly all: {
700
+ readonly type: "boolean";
701
+ };
702
+ readonly title: {
703
+ readonly type: "string";
704
+ readonly value: {
705
+ readonly kind: "text";
706
+ readonly name: "text";
707
+ };
708
+ };
709
+ readonly description: {
710
+ readonly type: "string";
711
+ readonly value: {
712
+ readonly kind: "text";
713
+ readonly name: "text";
714
+ };
715
+ };
716
+ };
717
+ readonly forms: readonly [{
718
+ readonly id: "default";
719
+ readonly positionals: readonly [{
720
+ readonly name: "task-key";
721
+ readonly min: 1;
722
+ readonly max: 1;
723
+ readonly value: {
724
+ readonly kind: "task-key";
725
+ };
726
+ }];
727
+ }];
728
+ readonly constraints: readonly [{
729
+ readonly kind: "exclusive";
730
+ readonly members: readonly ["option:append", "option:replacing"];
731
+ }, {
732
+ readonly kind: "requires";
733
+ readonly input: "option:append";
734
+ readonly requires: `option:${string}`;
735
+ }, {
736
+ readonly kind: "requires";
737
+ readonly input: "option:replacing";
738
+ readonly requires: `option:${string}`;
739
+ }, {
740
+ readonly kind: "requires";
741
+ readonly input: "option:all";
742
+ readonly requires: "option:replacing";
743
+ }, {
744
+ readonly kind: "atLeastOne";
745
+ readonly members: readonly ["option:title", "option:description", "option:priority", "option:add-label", "option:remove-label"];
746
+ }];
747
+ readonly notes: readonly [string];
748
+ };
749
+ results: import("../results.js").CommandResult[];
60
750
  run: (args: string[]) => void;
61
751
  help: string;
752
+ guessedFlags: {
753
+ "--status": (args: string[]) => string[];
754
+ "--column": (args: string[]) => string[];
755
+ };
62
756
  };
63
757
  move: {
758
+ summary: string;
759
+ effects: {
760
+ domain: "update";
761
+ storage: "normal-open";
762
+ };
763
+ confirmation: {
764
+ kind: "none";
765
+ };
766
+ input: {
767
+ readonly options: {};
768
+ readonly forms: readonly [{
769
+ readonly id: "default";
770
+ readonly positionals: readonly [{
771
+ readonly max: null;
772
+ readonly name: "task-key";
773
+ readonly min: 1;
774
+ readonly value: {
775
+ readonly kind: "task-key";
776
+ };
777
+ }, {
778
+ readonly name: "target-column";
779
+ readonly min: 1;
780
+ readonly max: 1;
781
+ readonly value: {
782
+ readonly kind: "column-name";
783
+ };
784
+ }];
785
+ }];
786
+ readonly constraints: readonly [];
787
+ };
788
+ results: import("../results.js").CommandResult[];
64
789
  run: (args: string[]) => void;
65
790
  help: string;
791
+ guessedFlags: {
792
+ "--status": (args: Array<string>, options?: import("node:util").ParseArgsOptionsConfig) => string[];
793
+ "--column": (args: Array<string>, options?: import("node:util").ParseArgsOptionsConfig) => string[];
794
+ };
66
795
  };
67
796
  order: {
797
+ summary: string;
798
+ effects: {
799
+ domain: "update";
800
+ storage: "normal-open";
801
+ };
802
+ confirmation: {
803
+ kind: "none";
804
+ };
805
+ input: {
806
+ readonly options: {};
807
+ readonly forms: readonly [{
808
+ readonly id: "absolute";
809
+ readonly positionals: readonly [{
810
+ readonly name: "task-key";
811
+ readonly min: 1;
812
+ readonly max: 1;
813
+ readonly value: {
814
+ readonly kind: "task-key";
815
+ };
816
+ }, {
817
+ readonly name: "direction";
818
+ readonly min: 1;
819
+ readonly max: 1;
820
+ readonly value: {
821
+ readonly kind: "enum";
822
+ readonly choices: readonly ["top", "up", "down", "bottom"];
823
+ };
824
+ }];
825
+ }, {
826
+ readonly id: "relative";
827
+ readonly positionals: readonly [{
828
+ readonly name: "task-key";
829
+ readonly min: 1;
830
+ readonly max: 1;
831
+ readonly value: {
832
+ readonly kind: "task-key";
833
+ };
834
+ }, {
835
+ readonly name: "direction";
836
+ readonly min: 1;
837
+ readonly max: 1;
838
+ readonly value: {
839
+ readonly kind: "enum";
840
+ readonly choices: readonly ["before", "after"];
841
+ };
842
+ }, {
843
+ readonly name: "target-task-key";
844
+ readonly min: 1;
845
+ readonly max: 1;
846
+ readonly value: {
847
+ readonly kind: "task-key";
848
+ };
849
+ }];
850
+ }];
851
+ readonly constraints: readonly [];
852
+ };
853
+ results: import("../results.js").CommandResult[];
68
854
  run: (args: string[]) => void;
69
855
  help: string;
70
856
  };
71
857
  archive: {
858
+ summary: string;
859
+ effects: {
860
+ domain: "update";
861
+ storage: "normal-open";
862
+ };
863
+ confirmation: {
864
+ kind: "none";
865
+ };
866
+ input: {
867
+ readonly options: {};
868
+ readonly forms: readonly [{
869
+ readonly id: "default";
870
+ readonly positionals: readonly [{
871
+ readonly max: null;
872
+ readonly name: "task-key";
873
+ readonly min: 1;
874
+ readonly value: {
875
+ readonly kind: "task-key";
876
+ };
877
+ }];
878
+ }];
879
+ readonly constraints: readonly [];
880
+ };
881
+ results: import("../results.js").CommandResult[];
72
882
  run: (args: Array<string>) => void;
73
883
  help: string;
74
884
  };
75
885
  unarchive: {
886
+ summary: string;
887
+ effects: {
888
+ domain: "update";
889
+ storage: "normal-open";
890
+ };
891
+ confirmation: {
892
+ kind: "none";
893
+ };
894
+ input: {
895
+ readonly options: {};
896
+ readonly forms: readonly [{
897
+ readonly id: "default";
898
+ readonly positionals: readonly [{
899
+ readonly max: null;
900
+ readonly name: "task-key";
901
+ readonly min: 1;
902
+ readonly value: {
903
+ readonly kind: "task-key";
904
+ };
905
+ }];
906
+ }];
907
+ readonly constraints: readonly [];
908
+ };
909
+ results: import("../results.js").CommandResult[];
76
910
  run: (args: Array<string>) => void;
77
911
  help: string;
78
912
  };
79
913
  delete: {
914
+ summary: string;
915
+ effects: {
916
+ domain: "delete";
917
+ storage: "normal-open";
918
+ };
919
+ confirmation: {
920
+ kind: "prompt";
921
+ description: string;
922
+ };
923
+ input: {
924
+ readonly options: {
925
+ readonly yes: {
926
+ readonly type: "boolean";
927
+ };
928
+ };
929
+ readonly forms: readonly [{
930
+ readonly id: "default";
931
+ readonly positionals: readonly [{
932
+ readonly name: "task-key";
933
+ readonly min: 1;
934
+ readonly max: 1;
935
+ readonly value: {
936
+ readonly kind: "task-key";
937
+ };
938
+ }];
939
+ }];
940
+ readonly constraints: readonly [];
941
+ };
942
+ results: import("../results.js").CommandResult[];
80
943
  run: (args: Array<string>) => Promise<void>;
81
944
  help: string;
82
945
  };
83
946
  relation: {
84
947
  create: {
948
+ summary: string;
949
+ effects: {
950
+ domain: "create";
951
+ storage: "normal-open";
952
+ };
953
+ confirmation: {
954
+ kind: "none";
955
+ };
956
+ input: {
957
+ readonly options: {
958
+ readonly type: {
959
+ readonly type: "string";
960
+ readonly required: true;
961
+ readonly value: {
962
+ readonly kind: "enum";
963
+ readonly name: "type";
964
+ readonly choices: ("related" | "dependency" | "duplicate" | "subtask")[];
965
+ };
966
+ };
967
+ };
968
+ readonly forms: readonly [{
969
+ readonly id: "default";
970
+ readonly positionals: readonly [{
971
+ readonly name: "source-task-key";
972
+ readonly min: 1;
973
+ readonly max: 1;
974
+ readonly value: {
975
+ readonly kind: "task-key";
976
+ };
977
+ }, {
978
+ readonly name: "target-task-key";
979
+ readonly min: 1;
980
+ readonly max: 1;
981
+ readonly value: {
982
+ readonly kind: "task-key";
983
+ };
984
+ }];
985
+ }];
986
+ readonly constraints: readonly [];
987
+ };
988
+ results: import("../results.js").CommandResult[];
85
989
  run: (args: string[]) => void;
86
990
  help: string;
87
991
  };
88
992
  list: {
993
+ summary: string;
994
+ effects: {
995
+ domain: "read";
996
+ storage: "normal-open";
997
+ };
998
+ confirmation: {
999
+ kind: "none";
1000
+ };
1001
+ input: {
1002
+ readonly options: {};
1003
+ readonly forms: readonly [{
1004
+ readonly id: "default";
1005
+ readonly positionals: readonly [{
1006
+ readonly name: "task-key";
1007
+ readonly min: 1;
1008
+ readonly max: 1;
1009
+ readonly value: {
1010
+ readonly kind: "task-key";
1011
+ };
1012
+ }];
1013
+ }];
1014
+ readonly constraints: readonly [];
1015
+ };
1016
+ results: import("../results.js").CommandResult[];
89
1017
  run: (args: string[]) => void;
90
1018
  help: string;
91
1019
  };
92
1020
  delete: {
1021
+ summary: string;
1022
+ effects: {
1023
+ domain: "delete";
1024
+ storage: "normal-open";
1025
+ };
1026
+ confirmation: {
1027
+ kind: "none";
1028
+ };
1029
+ input: {
1030
+ readonly options: {
1031
+ readonly type: {
1032
+ readonly type: "string";
1033
+ readonly required: true;
1034
+ readonly value: {
1035
+ readonly kind: "enum";
1036
+ readonly name: "type";
1037
+ readonly choices: ("related" | "dependency" | "duplicate" | "subtask")[];
1038
+ };
1039
+ };
1040
+ };
1041
+ readonly forms: readonly [{
1042
+ readonly id: "default";
1043
+ readonly positionals: readonly [{
1044
+ readonly name: "source-task-key";
1045
+ readonly min: 1;
1046
+ readonly max: 1;
1047
+ readonly value: {
1048
+ readonly kind: "task-key";
1049
+ };
1050
+ }, {
1051
+ readonly name: "target-task-key";
1052
+ readonly min: 1;
1053
+ readonly max: 1;
1054
+ readonly value: {
1055
+ readonly kind: "task-key";
1056
+ };
1057
+ }];
1058
+ }];
1059
+ readonly constraints: readonly [];
1060
+ };
1061
+ results: import("../results.js").CommandResult[];
93
1062
  run: (args: string[]) => void;
94
1063
  help: string;
95
1064
  };
96
1065
  };
97
1066
  comment: {
98
1067
  create: {
1068
+ summary: string;
1069
+ effects: {
1070
+ domain: "create";
1071
+ storage: "normal-open";
1072
+ };
1073
+ confirmation: {
1074
+ kind: "none";
1075
+ };
1076
+ input: {
1077
+ readonly options: {
1078
+ readonly text: {
1079
+ readonly type: "string";
1080
+ readonly required: true;
1081
+ readonly value: {
1082
+ readonly kind: "text";
1083
+ readonly name: "text";
1084
+ };
1085
+ };
1086
+ };
1087
+ readonly forms: readonly [{
1088
+ readonly id: "default";
1089
+ readonly positionals: readonly [{
1090
+ readonly name: "task-key";
1091
+ readonly min: 1;
1092
+ readonly max: 1;
1093
+ readonly value: {
1094
+ readonly kind: "task-key";
1095
+ };
1096
+ }];
1097
+ }];
1098
+ readonly constraints: readonly [];
1099
+ };
1100
+ results: import("../results.js").CommandResult[];
99
1101
  run: (args: string[]) => void;
100
1102
  help: string;
101
1103
  };
102
1104
  list: {
1105
+ summary: string;
1106
+ effects: {
1107
+ domain: "read";
1108
+ storage: "normal-open";
1109
+ };
1110
+ confirmation: {
1111
+ kind: "none";
1112
+ };
1113
+ input: {
1114
+ readonly options: {};
1115
+ readonly forms: readonly [{
1116
+ readonly id: "default";
1117
+ readonly positionals: readonly [{
1118
+ readonly name: "task-key";
1119
+ readonly min: 1;
1120
+ readonly max: 1;
1121
+ readonly value: {
1122
+ readonly kind: "task-key";
1123
+ };
1124
+ }];
1125
+ }];
1126
+ readonly constraints: readonly [];
1127
+ };
1128
+ results: import("../results.js").CommandResult[];
1129
+ run: (args: string[]) => void;
1130
+ help: string;
1131
+ };
1132
+ view: {
1133
+ summary: string;
1134
+ effects: {
1135
+ domain: "read";
1136
+ storage: "normal-open";
1137
+ };
1138
+ confirmation: {
1139
+ kind: "none";
1140
+ };
1141
+ input: {
1142
+ readonly options: {};
1143
+ readonly forms: readonly [{
1144
+ readonly id: "default";
1145
+ readonly positionals: readonly [{
1146
+ readonly name: "comment-key";
1147
+ readonly min: 1;
1148
+ readonly max: 1;
1149
+ readonly value: {
1150
+ readonly kind: "comment-key";
1151
+ };
1152
+ }];
1153
+ }];
1154
+ readonly constraints: readonly [];
1155
+ };
1156
+ results: import("../results.js").CommandResult[];
103
1157
  run: (args: string[]) => void;
104
1158
  help: string;
105
1159
  };
106
1160
  edit: {
1161
+ summary: string;
1162
+ effects: {
1163
+ domain: "update";
1164
+ storage: "normal-open";
1165
+ };
1166
+ confirmation: {
1167
+ kind: "none";
1168
+ };
1169
+ input: {
1170
+ readonly options: {
1171
+ readonly append: {
1172
+ readonly type: "boolean";
1173
+ };
1174
+ readonly replacing: {
1175
+ readonly type: "string";
1176
+ readonly value: {
1177
+ readonly kind: "text";
1178
+ readonly name: "old";
1179
+ };
1180
+ };
1181
+ readonly all: {
1182
+ readonly type: "boolean";
1183
+ };
1184
+ readonly text: {
1185
+ readonly type: "string";
1186
+ readonly required: true;
1187
+ readonly value: {
1188
+ readonly kind: "text";
1189
+ readonly name: "text";
1190
+ };
1191
+ };
1192
+ };
1193
+ readonly forms: readonly [{
1194
+ readonly id: "default";
1195
+ readonly positionals: readonly [{
1196
+ readonly name: "comment-key";
1197
+ readonly min: 1;
1198
+ readonly max: 1;
1199
+ readonly value: {
1200
+ readonly kind: "comment-key";
1201
+ };
1202
+ }];
1203
+ }];
1204
+ readonly constraints: readonly [{
1205
+ readonly kind: "exclusive";
1206
+ readonly members: readonly ["option:append", "option:replacing"];
1207
+ }, {
1208
+ readonly kind: "requires";
1209
+ readonly input: "option:append";
1210
+ readonly requires: `option:${string}`;
1211
+ }, {
1212
+ readonly kind: "requires";
1213
+ readonly input: "option:replacing";
1214
+ readonly requires: `option:${string}`;
1215
+ }, {
1216
+ readonly kind: "requires";
1217
+ readonly input: "option:all";
1218
+ readonly requires: "option:replacing";
1219
+ }];
1220
+ readonly notes: readonly [string];
1221
+ };
1222
+ results: import("../results.js").CommandResult[];
107
1223
  run: (args: string[]) => void;
108
1224
  help: string;
109
1225
  };
110
1226
  delete: {
1227
+ summary: string;
1228
+ effects: {
1229
+ domain: "delete";
1230
+ storage: "normal-open";
1231
+ };
1232
+ confirmation: {
1233
+ kind: "prompt";
1234
+ description: string;
1235
+ };
1236
+ input: {
1237
+ readonly options: {
1238
+ readonly yes: {
1239
+ readonly type: "boolean";
1240
+ };
1241
+ };
1242
+ readonly forms: readonly [{
1243
+ readonly id: "default";
1244
+ readonly positionals: readonly [{
1245
+ readonly name: "comment-key";
1246
+ readonly min: 1;
1247
+ readonly max: 1;
1248
+ readonly value: {
1249
+ readonly kind: "comment-key";
1250
+ };
1251
+ }];
1252
+ }];
1253
+ readonly constraints: readonly [];
1254
+ };
1255
+ results: import("../results.js").CommandResult[];
111
1256
  run: (args: string[]) => Promise<void>;
112
1257
  help: string;
113
1258
  };
114
1259
  };
115
1260
  label: {
116
1261
  add: {
1262
+ summary: string;
1263
+ effects: {
1264
+ domain: "update";
1265
+ storage: "normal-open";
1266
+ };
1267
+ confirmation: {
1268
+ kind: "none";
1269
+ };
1270
+ input: {
1271
+ readonly options: {};
1272
+ readonly forms: readonly [{
1273
+ readonly id: "default";
1274
+ readonly positionals: readonly [{
1275
+ readonly name: "task-key";
1276
+ readonly min: 1;
1277
+ readonly max: 1;
1278
+ readonly value: {
1279
+ readonly kind: "task-key";
1280
+ };
1281
+ }, {
1282
+ readonly name: "label-name";
1283
+ readonly min: 1;
1284
+ readonly max: null;
1285
+ readonly value: {
1286
+ readonly kind: "label-name";
1287
+ };
1288
+ }];
1289
+ }];
1290
+ readonly constraints: readonly [];
1291
+ };
1292
+ results: import("../results.js").CommandResult[];
117
1293
  run: (args: string[]) => void;
118
1294
  help: string;
119
1295
  };
120
1296
  remove: {
1297
+ summary: string;
1298
+ effects: {
1299
+ domain: "update";
1300
+ storage: "normal-open";
1301
+ };
1302
+ confirmation: {
1303
+ kind: "none";
1304
+ };
1305
+ input: {
1306
+ readonly options: {};
1307
+ readonly forms: readonly [{
1308
+ readonly id: "default";
1309
+ readonly positionals: readonly [{
1310
+ readonly name: "task-key";
1311
+ readonly min: 1;
1312
+ readonly max: 1;
1313
+ readonly value: {
1314
+ readonly kind: "task-key";
1315
+ };
1316
+ }, {
1317
+ readonly name: "label-name";
1318
+ readonly min: 1;
1319
+ readonly max: null;
1320
+ readonly value: {
1321
+ readonly kind: "label-name";
1322
+ };
1323
+ }];
1324
+ }];
1325
+ readonly constraints: readonly [];
1326
+ };
1327
+ results: import("../results.js").CommandResult[];
121
1328
  run: (args: string[]) => void;
122
1329
  help: string;
123
1330
  };
@@ -125,46 +1332,404 @@ export declare const routes: {
125
1332
  };
126
1333
  label: {
127
1334
  create: {
1335
+ summary: string;
1336
+ effects: {
1337
+ domain: "create";
1338
+ storage: "normal-open";
1339
+ };
1340
+ confirmation: {
1341
+ kind: "none";
1342
+ };
1343
+ input: {
1344
+ readonly options: {
1345
+ readonly description: {
1346
+ readonly type: "string";
1347
+ readonly value: {
1348
+ readonly kind: "text";
1349
+ readonly name: "text";
1350
+ };
1351
+ };
1352
+ readonly color: {
1353
+ readonly type: "string";
1354
+ readonly value: {
1355
+ readonly kind: "enum";
1356
+ readonly name: "color";
1357
+ readonly choices: ("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray")[];
1358
+ };
1359
+ };
1360
+ };
1361
+ readonly forms: readonly [{
1362
+ readonly id: "default";
1363
+ readonly positionals: readonly [{
1364
+ readonly name: "name";
1365
+ readonly min: 1;
1366
+ readonly max: 1;
1367
+ readonly value: {
1368
+ readonly kind: "name";
1369
+ };
1370
+ }];
1371
+ }];
1372
+ readonly constraints: readonly [];
1373
+ };
1374
+ results: import("../results.js").CommandResult[];
128
1375
  run: (args: string[]) => void;
129
1376
  help: string;
130
1377
  };
131
1378
  list: {
1379
+ summary: string;
1380
+ effects: {
1381
+ domain: "read";
1382
+ storage: "normal-open";
1383
+ };
1384
+ confirmation: {
1385
+ kind: "none";
1386
+ };
1387
+ input: {
1388
+ readonly options: {};
1389
+ readonly forms: readonly [{
1390
+ readonly id: "default";
1391
+ readonly positionals: readonly [];
1392
+ }];
1393
+ readonly constraints: readonly [];
1394
+ };
1395
+ results: import("../results.js").CommandResult[];
132
1396
  run: (args: string[]) => void;
133
1397
  help: string;
134
1398
  };
135
1399
  edit: {
1400
+ summary: string;
1401
+ effects: {
1402
+ domain: "update";
1403
+ storage: "normal-open";
1404
+ };
1405
+ confirmation: {
1406
+ kind: "none";
1407
+ };
1408
+ input: {
1409
+ readonly options: {
1410
+ readonly color: {
1411
+ readonly type: "string";
1412
+ readonly value: {
1413
+ readonly kind: "enum";
1414
+ readonly name: "color";
1415
+ readonly choices: ("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray")[];
1416
+ };
1417
+ };
1418
+ readonly append: {
1419
+ readonly type: "boolean";
1420
+ };
1421
+ readonly replacing: {
1422
+ readonly type: "string";
1423
+ readonly value: {
1424
+ readonly kind: "text";
1425
+ readonly name: "old";
1426
+ };
1427
+ };
1428
+ readonly all: {
1429
+ readonly type: "boolean";
1430
+ };
1431
+ readonly name: {
1432
+ readonly type: "string";
1433
+ readonly value: {
1434
+ readonly kind: "text";
1435
+ readonly name: "text";
1436
+ };
1437
+ };
1438
+ readonly description: {
1439
+ readonly type: "string";
1440
+ readonly value: {
1441
+ readonly kind: "text";
1442
+ readonly name: "text";
1443
+ };
1444
+ };
1445
+ };
1446
+ readonly forms: readonly [{
1447
+ readonly id: "default";
1448
+ readonly positionals: readonly [{
1449
+ readonly name: "name";
1450
+ readonly min: 1;
1451
+ readonly max: 1;
1452
+ readonly value: {
1453
+ readonly kind: "name";
1454
+ };
1455
+ }];
1456
+ }];
1457
+ readonly constraints: readonly [{
1458
+ readonly kind: "exclusive";
1459
+ readonly members: readonly ["option:append", "option:replacing"];
1460
+ }, {
1461
+ readonly kind: "requires";
1462
+ readonly input: "option:append";
1463
+ readonly requires: `option:${string}`;
1464
+ }, {
1465
+ readonly kind: "requires";
1466
+ readonly input: "option:replacing";
1467
+ readonly requires: `option:${string}`;
1468
+ }, {
1469
+ readonly kind: "requires";
1470
+ readonly input: "option:all";
1471
+ readonly requires: "option:replacing";
1472
+ }, {
1473
+ readonly kind: "atLeastOne";
1474
+ readonly members: `option:${string}`[];
1475
+ }];
1476
+ readonly notes: readonly [string];
1477
+ };
1478
+ results: import("../results.js").CommandResult[];
136
1479
  run: (args: string[]) => void;
137
1480
  help: string;
138
1481
  };
139
1482
  delete: {
1483
+ summary: string;
1484
+ effects: {
1485
+ domain: "delete";
1486
+ storage: "normal-open";
1487
+ };
1488
+ confirmation: {
1489
+ kind: "prompt";
1490
+ description: string;
1491
+ };
1492
+ input: {
1493
+ readonly options: {
1494
+ readonly yes: {
1495
+ readonly type: "boolean";
1496
+ };
1497
+ };
1498
+ readonly forms: readonly [{
1499
+ readonly id: "default";
1500
+ readonly positionals: readonly [{
1501
+ readonly name: "name";
1502
+ readonly min: 1;
1503
+ readonly max: 1;
1504
+ readonly value: {
1505
+ readonly kind: "name";
1506
+ };
1507
+ }];
1508
+ }];
1509
+ readonly constraints: readonly [];
1510
+ };
1511
+ results: import("../results.js").CommandResult[];
140
1512
  run: (args: string[]) => Promise<void>;
141
1513
  help: string;
142
1514
  };
143
1515
  };
144
1516
  activity: {
145
1517
  list: {
1518
+ summary: string;
1519
+ effects: {
1520
+ domain: "read";
1521
+ storage: "normal-open";
1522
+ };
1523
+ confirmation: {
1524
+ kind: "none";
1525
+ };
1526
+ input: {
1527
+ readonly options: {
1528
+ readonly task: {
1529
+ readonly type: "string";
1530
+ readonly value: {
1531
+ readonly kind: "task-key";
1532
+ readonly name: "task-key";
1533
+ };
1534
+ };
1535
+ readonly session: {
1536
+ readonly type: "string";
1537
+ readonly value: {
1538
+ readonly kind: "text";
1539
+ readonly name: "id";
1540
+ };
1541
+ };
1542
+ readonly thread: {
1543
+ readonly type: "string";
1544
+ readonly value: {
1545
+ readonly kind: "text";
1546
+ readonly name: "id";
1547
+ };
1548
+ };
1549
+ readonly limit: {
1550
+ readonly type: "string";
1551
+ readonly value: {
1552
+ readonly kind: "positive-integer";
1553
+ readonly name: "n";
1554
+ readonly pattern: "^[1-9]\\d{0,14}\\d?$";
1555
+ };
1556
+ };
1557
+ };
1558
+ readonly forms: readonly [{
1559
+ readonly id: "default";
1560
+ readonly positionals: readonly [];
1561
+ }];
1562
+ readonly constraints: readonly [];
1563
+ };
1564
+ results: import("../results.js").CommandResult[];
146
1565
  run: (args: string[]) => void;
147
1566
  help: string;
148
1567
  };
149
1568
  view: {
1569
+ summary: string;
1570
+ effects: {
1571
+ domain: "read";
1572
+ storage: "normal-open";
1573
+ };
1574
+ confirmation: {
1575
+ kind: "none";
1576
+ };
1577
+ input: {
1578
+ readonly options: {};
1579
+ readonly forms: readonly [{
1580
+ readonly id: "default";
1581
+ readonly positionals: readonly [{
1582
+ readonly name: "activity-id";
1583
+ readonly min: 1;
1584
+ readonly max: 1;
1585
+ readonly value: {
1586
+ readonly kind: "activity-id";
1587
+ };
1588
+ }];
1589
+ }];
1590
+ readonly constraints: readonly [];
1591
+ };
1592
+ results: import("../results.js").CommandResult[];
150
1593
  run: (args: string[]) => void;
151
1594
  help: string;
152
1595
  };
153
1596
  };
154
1597
  backup: {
1598
+ summary: string;
1599
+ effects: {
1600
+ domain: "none";
1601
+ storage: "backup";
1602
+ };
1603
+ confirmation: {
1604
+ kind: "none";
1605
+ };
1606
+ input: {
1607
+ readonly options: {};
1608
+ readonly forms: readonly [{
1609
+ readonly id: "default";
1610
+ readonly positionals: readonly [];
1611
+ }];
1612
+ readonly constraints: readonly [];
1613
+ };
1614
+ results: import("../results.js").CommandResult[];
155
1615
  run: (args: string[]) => void;
156
1616
  help: string;
157
1617
  };
158
1618
  restore: {
1619
+ summary: string;
1620
+ effects: {
1621
+ domain: "replace";
1622
+ storage: "restore";
1623
+ };
1624
+ confirmation: {
1625
+ kind: "prompt";
1626
+ description: string;
1627
+ };
1628
+ input: {
1629
+ readonly options: {
1630
+ readonly yes: {
1631
+ readonly type: "boolean";
1632
+ };
1633
+ };
1634
+ readonly forms: readonly [{
1635
+ readonly id: "default";
1636
+ readonly positionals: readonly [{
1637
+ readonly name: "path";
1638
+ readonly min: 1;
1639
+ readonly max: 1;
1640
+ readonly value: {
1641
+ readonly kind: "path";
1642
+ };
1643
+ }];
1644
+ }];
1645
+ readonly constraints: readonly [];
1646
+ };
1647
+ results: import("../results.js").CommandResult[];
159
1648
  run: (args: string[]) => Promise<void>;
160
1649
  help: string;
161
1650
  };
162
1651
  migrate: {
1652
+ summary: string;
1653
+ effects: {
1654
+ domain: "none";
1655
+ storage: "migrate";
1656
+ };
1657
+ confirmation: {
1658
+ kind: "none";
1659
+ };
1660
+ input: {
1661
+ readonly options: {};
1662
+ readonly forms: readonly [{
1663
+ readonly id: "default";
1664
+ readonly positionals: readonly [];
1665
+ }];
1666
+ readonly constraints: readonly [];
1667
+ };
1668
+ results: import("../results.js").CommandResult[];
163
1669
  run: (args: string[]) => void;
164
1670
  help: string;
165
1671
  };
166
1672
  reindex: {
1673
+ summary: string;
1674
+ effects: {
1675
+ domain: "none";
1676
+ storage: "reindex";
1677
+ };
1678
+ confirmation: {
1679
+ kind: "none";
1680
+ };
1681
+ input: {
1682
+ readonly options: {};
1683
+ readonly forms: readonly [{
1684
+ readonly id: "default";
1685
+ readonly positionals: readonly [];
1686
+ }];
1687
+ readonly constraints: readonly [];
1688
+ };
1689
+ results: import("../results.js").CommandResult[];
167
1690
  run: (args: string[]) => void;
168
1691
  help: string;
169
1692
  };
1693
+ info: {
1694
+ summary: string;
1695
+ effects: {
1696
+ domain: "none";
1697
+ storage: "inspect";
1698
+ };
1699
+ confirmation: {
1700
+ kind: "none";
1701
+ };
1702
+ input: {
1703
+ readonly options: {};
1704
+ readonly forms: readonly [{
1705
+ readonly id: "default";
1706
+ readonly positionals: readonly [];
1707
+ }];
1708
+ readonly constraints: readonly [];
1709
+ };
1710
+ results: import("../results.js").CommandResult[];
1711
+ run: (args: string[]) => void;
1712
+ help: string;
1713
+ };
1714
+ capabilities: {
1715
+ summary: string;
1716
+ effects: {
1717
+ domain: "none";
1718
+ storage: "none";
1719
+ };
1720
+ confirmation: {
1721
+ kind: "none";
1722
+ };
1723
+ input: {
1724
+ readonly options: {};
1725
+ readonly forms: readonly [{
1726
+ readonly id: "default";
1727
+ readonly positionals: readonly [];
1728
+ }];
1729
+ readonly constraints: readonly [];
1730
+ };
1731
+ results: import("../results.js").CommandResult[];
1732
+ run: (args: string[]) => Promise<void>;
1733
+ help: string;
1734
+ };
170
1735
  };