@zinn-dev/cli 0.41.0 → 0.42.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 (68) hide show
  1. package/README.md +11 -689
  2. package/index.js +2 -2
  3. package/package.json +3 -2
  4. package/skills/zinn/SKILL.md +1 -1
  5. package/src/capabilities-schema.d.ts +22 -23
  6. package/src/capabilities-schema.js +17 -82
  7. package/src/capabilities.d.ts +11 -3
  8. package/src/capabilities.js +12 -4
  9. package/src/column-hint.d.ts +3 -0
  10. package/src/column-hint.js +225 -0
  11. package/src/database.js +1 -4
  12. package/src/errors.js +2 -0
  13. package/src/input.d.ts +154 -43
  14. package/src/input.js +86 -13
  15. package/src/lib.d.ts +30 -2
  16. package/src/lib.js +74 -13
  17. package/src/presentation/activity-presentation.d.ts +9 -1
  18. package/src/presentation/activity-presentation.js +108 -25
  19. package/src/presentation/capabilities-presentation.d.ts +2 -0
  20. package/src/presentation/capabilities-presentation.js +3 -0
  21. package/src/presentation/column-presentation.d.ts +6 -0
  22. package/src/presentation/column-presentation.js +10 -0
  23. package/src/presentation/comment-presentation.d.ts +15 -0
  24. package/src/presentation/comment-presentation.js +29 -0
  25. package/src/presentation/description-presentation.d.ts +17 -0
  26. package/src/presentation/description-presentation.js +26 -4
  27. package/src/presentation/label-presentation.d.ts +8 -0
  28. package/src/presentation/label-presentation.js +28 -0
  29. package/src/presentation/project-presentation.d.ts +7 -0
  30. package/src/presentation/project-presentation.js +19 -0
  31. package/src/presentation/relation-presentation.d.ts +7 -0
  32. package/src/presentation/relation-presentation.js +73 -0
  33. package/src/presentation/task-presentation.d.ts +3 -3
  34. package/src/presentation/task-presentation.js +22 -18
  35. package/src/project.d.ts +14 -5
  36. package/src/project.js +18 -6
  37. package/src/result-schemas.d.ts +230 -23
  38. package/src/result-schemas.js +62 -3
  39. package/src/results.d.ts +34 -17
  40. package/src/results.js +19 -0
  41. package/src/routes/activity-router.d.ts +34 -1
  42. package/src/routes/activity-router.js +104 -31
  43. package/src/routes/aliases.d.ts +2 -0
  44. package/src/routes/aliases.js +11 -0
  45. package/src/routes/capabilities-router.js +9 -3
  46. package/src/routes/comment-router.d.ts +41 -18
  47. package/src/routes/comment-router.js +65 -48
  48. package/src/routes/label-router.d.ts +57 -7
  49. package/src/routes/label-router.js +84 -39
  50. package/src/routes/project-router.d.ts +34 -12
  51. package/src/routes/project-router.js +59 -55
  52. package/src/routes/relation-router.d.ts +6 -6
  53. package/src/routes/relation-router.js +52 -69
  54. package/src/routes/restore-router.js +1 -1
  55. package/src/routes/router.d.ts +1 -1
  56. package/src/routes/router.js +38 -9
  57. package/src/routes/routes.d.ts +253 -45
  58. package/src/routes/routes.js +4 -0
  59. package/src/routes/task-router.d.ts +107 -26
  60. package/src/routes/task-router.js +151 -143
  61. package/src/routes/whoami-router.d.ts +21 -0
  62. package/src/routes/whoami-router.js +31 -0
  63. package/src/text-edit.d.ts +13 -9
  64. package/src/text-edit.js +23 -18
  65. package/src/text-input.d.ts +47 -0
  66. package/src/text-input.js +187 -0
  67. package/src/types.d.ts +32 -9
  68. package/src/types.js +9 -1
@@ -1,39 +1,52 @@
1
1
  import { z } from "zod";
2
2
  export declare const taskSchema: z.ZodObject<{
3
+ id: z.ZodString;
3
4
  key: z.ZodString;
5
+ project_id: z.ZodString;
4
6
  status: z.ZodEnum<{
5
7
  Active: "Active";
6
8
  Archived: "Archived";
7
9
  }>;
8
10
  column: z.ZodString;
11
+ column_id: z.ZodString;
9
12
  title: z.ZodString;
10
13
  description: z.ZodNullable<z.ZodString>;
11
14
  priority: z.ZodNullable<z.ZodString>;
12
15
  labels: z.ZodArray<z.ZodString>;
16
+ label_ids: z.ZodArray<z.ZodString>;
13
17
  }, z.core.$strict>;
14
18
  export declare const relationSchema: z.ZodObject<{
19
+ id: z.ZodString;
15
20
  type: z.ZodString;
16
21
  direction: z.ZodNullable<z.ZodEnum<{
17
22
  outgoing: "outgoing";
18
23
  incoming: "incoming";
19
24
  }>>;
20
25
  task: z.ZodObject<{
26
+ id: z.ZodString;
21
27
  column: z.ZodString;
22
28
  key: z.ZodString;
29
+ project_id: z.ZodString;
23
30
  status: z.ZodEnum<{
24
31
  Active: "Active";
25
32
  Archived: "Archived";
26
33
  }>;
34
+ column_id: z.ZodString;
27
35
  title: z.ZodString;
28
36
  }, z.core.$strict>;
29
37
  }, z.core.$strict>;
30
38
  export declare const relationChangeSchema: z.ZodObject<{
39
+ id: z.ZodString;
31
40
  type: z.ZodString;
32
41
  source: z.ZodString;
42
+ source_task_id: z.ZodString;
33
43
  target: z.ZodString;
44
+ target_task_id: z.ZodString;
34
45
  }, z.core.$strict>;
35
46
  export declare const commentSchema: z.ZodObject<{
47
+ id: z.ZodString;
36
48
  key: z.ZodString;
49
+ task_id: z.ZodString;
37
50
  text: z.ZodString;
38
51
  created_at: z.ZodNumber;
39
52
  updated_at: z.ZodNumber;
@@ -55,69 +68,104 @@ export declare const activitySchema: z.ZodObject<{
55
68
  action: z.ZodString;
56
69
  changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
57
70
  }, z.core.$strict>;
71
+ export declare const actorSchema: z.ZodObject<{
72
+ actor_name: z.ZodNullable<z.ZodString>;
73
+ actor_email: z.ZodNullable<z.ZodString>;
74
+ actor_kind: z.ZodString;
75
+ actor_source: z.ZodNullable<z.ZodString>;
76
+ actor_session_id: z.ZodNullable<z.ZodString>;
77
+ actor_thread_id: z.ZodNullable<z.ZodString>;
78
+ actor_agent: z.ZodNullable<z.ZodString>;
79
+ actor_model: z.ZodNullable<z.ZodString>;
80
+ actor_effort: z.ZodNullable<z.ZodString>;
81
+ }, z.core.$strict>;
58
82
  export declare const taskDetailSchema: z.ZodObject<{
83
+ id: z.ZodString;
59
84
  key: z.ZodString;
85
+ project_id: z.ZodString;
60
86
  status: z.ZodEnum<{
61
87
  Active: "Active";
62
88
  Archived: "Archived";
63
89
  }>;
64
90
  column: z.ZodString;
91
+ column_id: z.ZodString;
65
92
  title: z.ZodString;
66
93
  description: z.ZodNullable<z.ZodString>;
67
94
  priority: z.ZodNullable<z.ZodString>;
68
95
  labels: z.ZodArray<z.ZodString>;
96
+ label_ids: z.ZodArray<z.ZodString>;
97
+ created_at: z.ZodNumber;
98
+ updated_at: z.ZodNumber;
69
99
  relations: z.ZodArray<z.ZodObject<{
100
+ id: z.ZodString;
70
101
  type: z.ZodString;
71
102
  direction: z.ZodNullable<z.ZodEnum<{
72
103
  outgoing: "outgoing";
73
104
  incoming: "incoming";
74
105
  }>>;
75
106
  task: z.ZodObject<{
107
+ id: z.ZodString;
76
108
  column: z.ZodString;
77
109
  key: z.ZodString;
110
+ project_id: z.ZodString;
78
111
  status: z.ZodEnum<{
79
112
  Active: "Active";
80
113
  Archived: "Archived";
81
114
  }>;
115
+ column_id: z.ZodString;
82
116
  title: z.ZodString;
83
117
  }, z.core.$strict>;
84
118
  }, z.core.$strict>>;
85
119
  comments: z.ZodArray<z.ZodObject<{
120
+ id: z.ZodString;
86
121
  key: z.ZodString;
122
+ task_id: z.ZodString;
87
123
  text: z.ZodString;
88
124
  created_at: z.ZodNumber;
89
125
  updated_at: z.ZodNumber;
90
126
  }, z.core.$strict>>;
91
127
  }, z.core.$strict>;
92
128
  export declare const taskDetailHistorySchema: z.ZodObject<{
129
+ id: z.ZodString;
93
130
  key: z.ZodString;
131
+ project_id: z.ZodString;
94
132
  status: z.ZodEnum<{
95
133
  Active: "Active";
96
134
  Archived: "Archived";
97
135
  }>;
98
136
  column: z.ZodString;
137
+ column_id: z.ZodString;
99
138
  title: z.ZodString;
100
139
  description: z.ZodNullable<z.ZodString>;
101
140
  priority: z.ZodNullable<z.ZodString>;
102
141
  labels: z.ZodArray<z.ZodString>;
142
+ label_ids: z.ZodArray<z.ZodString>;
143
+ created_at: z.ZodNumber;
144
+ updated_at: z.ZodNumber;
103
145
  relations: z.ZodArray<z.ZodObject<{
146
+ id: z.ZodString;
104
147
  type: z.ZodString;
105
148
  direction: z.ZodNullable<z.ZodEnum<{
106
149
  outgoing: "outgoing";
107
150
  incoming: "incoming";
108
151
  }>>;
109
152
  task: z.ZodObject<{
153
+ id: z.ZodString;
110
154
  column: z.ZodString;
111
155
  key: z.ZodString;
156
+ project_id: z.ZodString;
112
157
  status: z.ZodEnum<{
113
158
  Active: "Active";
114
159
  Archived: "Archived";
115
160
  }>;
161
+ column_id: z.ZodString;
116
162
  title: z.ZodString;
117
163
  }, z.core.$strict>;
118
164
  }, z.core.$strict>>;
119
165
  comments: z.ZodArray<z.ZodObject<{
166
+ id: z.ZodString;
120
167
  key: z.ZodString;
168
+ task_id: z.ZodString;
121
169
  text: z.ZodString;
122
170
  created_at: z.ZodNumber;
123
171
  updated_at: z.ZodNumber;
@@ -141,45 +189,86 @@ export declare const taskDetailHistorySchema: z.ZodObject<{
141
189
  }, z.core.$strict>>;
142
190
  }, z.core.$strict>;
143
191
  export declare const taskChangeSchema: z.ZodObject<{
192
+ id: z.ZodString;
144
193
  key: z.ZodString;
194
+ project_id: z.ZodString;
145
195
  status: z.ZodEnum<{
146
196
  Active: "Active";
147
197
  Archived: "Archived";
148
198
  }>;
149
199
  column: z.ZodString;
200
+ column_id: z.ZodString;
150
201
  title: z.ZodString;
151
202
  description: z.ZodNullable<z.ZodString>;
152
203
  priority: z.ZodNullable<z.ZodString>;
153
204
  labels: z.ZodArray<z.ZodString>;
205
+ label_ids: z.ZodArray<z.ZodString>;
154
206
  changed: z.ZodBoolean;
155
207
  }, z.core.$strict>;
156
208
  export declare const projectSchema: z.ZodObject<{
209
+ id: z.ZodString;
210
+ key: z.ZodString;
211
+ name: z.ZodString;
212
+ description: z.ZodNullable<z.ZodString>;
213
+ }, z.core.$strict>;
214
+ export declare const projectChangeSchema: z.ZodObject<{
215
+ id: z.ZodString;
157
216
  key: z.ZodString;
158
217
  name: z.ZodString;
159
218
  description: z.ZodNullable<z.ZodString>;
219
+ changed: z.ZodBoolean;
160
220
  }, z.core.$strict>;
161
221
  export declare const columnSchema: z.ZodObject<{
222
+ id: z.ZodString;
223
+ project: z.ZodString;
224
+ project_id: z.ZodString;
225
+ name: z.ZodString;
226
+ }, z.core.$strict>;
227
+ export declare const columnChangeSchema: z.ZodObject<{
228
+ id: z.ZodString;
162
229
  project: z.ZodString;
230
+ project_id: z.ZodString;
163
231
  name: z.ZodString;
232
+ changed: z.ZodBoolean;
164
233
  }, z.core.$strict>;
165
234
  export declare const columnTaskCountSchema: z.ZodObject<{
235
+ id: z.ZodString;
166
236
  name: z.ZodString;
167
237
  taskCount: z.ZodNumber;
168
238
  }, z.core.$strict>;
169
239
  export declare const projectViewSchema: z.ZodObject<{
240
+ id: z.ZodString;
170
241
  key: z.ZodString;
171
242
  name: z.ZodString;
172
243
  description: z.ZodNullable<z.ZodString>;
173
244
  columns: z.ZodArray<z.ZodObject<{
245
+ id: z.ZodString;
174
246
  name: z.ZodString;
175
247
  taskCount: z.ZodNumber;
176
248
  }, z.core.$strict>>;
177
249
  archivedTaskCount: z.ZodNumber;
178
250
  }, z.core.$strict>;
179
251
  export declare const labelSchema: z.ZodObject<{
252
+ id: z.ZodString;
253
+ name: z.ZodString;
254
+ color: z.ZodString;
255
+ description: z.ZodNullable<z.ZodString>;
256
+ }, z.core.$strict>;
257
+ export declare const labelChangeSchema: z.ZodObject<{
258
+ id: z.ZodString;
180
259
  name: z.ZodString;
181
260
  color: z.ZodString;
182
261
  description: z.ZodNullable<z.ZodString>;
262
+ changed: z.ZodBoolean;
263
+ }, z.core.$strict>;
264
+ export declare const commentChangeSchema: z.ZodObject<{
265
+ id: z.ZodString;
266
+ key: z.ZodString;
267
+ task_id: z.ZodString;
268
+ text: z.ZodString;
269
+ created_at: z.ZodNumber;
270
+ updated_at: z.ZodNumber;
271
+ changed: z.ZodBoolean;
183
272
  }, z.core.$strict>;
184
273
  export declare const settingsFileSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
185
274
  path: z.ZodString;
@@ -197,6 +286,10 @@ export declare const settingsFileSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
197
286
  storage: z.ZodOptional<z.ZodObject<{
198
287
  directory: z.ZodString;
199
288
  }, z.core.$strict>>;
289
+ hooks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
290
+ command: z.ZodString;
291
+ timeout: z.ZodOptional<z.ZodNumber>;
292
+ }, z.core.$strict>>>;
200
293
  }, z.core.$strict>;
201
294
  }, z.core.$strict>, z.ZodObject<{
202
295
  path: z.ZodString;
@@ -248,6 +341,10 @@ export declare const infoSchema: z.ZodObject<{
248
341
  storage: z.ZodOptional<z.ZodObject<{
249
342
  directory: z.ZodString;
250
343
  }, z.core.$strict>>;
344
+ hooks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
345
+ command: z.ZodString;
346
+ timeout: z.ZodOptional<z.ZodNumber>;
347
+ }, z.core.$strict>>>;
251
348
  }, z.core.$strict>;
252
349
  }, z.core.$strict>, z.ZodObject<{
253
350
  path: z.ZodString;
@@ -348,92 +445,124 @@ export declare const reindexSchema: z.ZodObject<{
348
445
  }, z.core.$strict>;
349
446
  export declare const resultSchemas: {
350
447
  Task: z.ZodObject<{
448
+ id: z.ZodString;
351
449
  key: z.ZodString;
450
+ project_id: z.ZodString;
352
451
  status: z.ZodEnum<{
353
452
  Active: "Active";
354
453
  Archived: "Archived";
355
454
  }>;
356
455
  column: z.ZodString;
456
+ column_id: z.ZodString;
357
457
  title: z.ZodString;
358
458
  description: z.ZodNullable<z.ZodString>;
359
459
  priority: z.ZodNullable<z.ZodString>;
360
460
  labels: z.ZodArray<z.ZodString>;
461
+ label_ids: z.ZodArray<z.ZodString>;
361
462
  }, z.core.$strict>;
362
463
  TaskList: z.ZodArray<z.ZodObject<{
464
+ id: z.ZodString;
363
465
  key: z.ZodString;
466
+ project_id: z.ZodString;
364
467
  status: z.ZodEnum<{
365
468
  Active: "Active";
366
469
  Archived: "Archived";
367
470
  }>;
368
471
  column: z.ZodString;
472
+ column_id: z.ZodString;
369
473
  title: z.ZodString;
370
474
  description: z.ZodNullable<z.ZodString>;
371
475
  priority: z.ZodNullable<z.ZodString>;
372
476
  labels: z.ZodArray<z.ZodString>;
477
+ label_ids: z.ZodArray<z.ZodString>;
373
478
  }, z.core.$strict>>;
374
479
  TaskDetail: z.ZodObject<{
480
+ id: z.ZodString;
375
481
  key: z.ZodString;
482
+ project_id: z.ZodString;
376
483
  status: z.ZodEnum<{
377
484
  Active: "Active";
378
485
  Archived: "Archived";
379
486
  }>;
380
487
  column: z.ZodString;
488
+ column_id: z.ZodString;
381
489
  title: z.ZodString;
382
490
  description: z.ZodNullable<z.ZodString>;
383
491
  priority: z.ZodNullable<z.ZodString>;
384
492
  labels: z.ZodArray<z.ZodString>;
493
+ label_ids: z.ZodArray<z.ZodString>;
494
+ created_at: z.ZodNumber;
495
+ updated_at: z.ZodNumber;
385
496
  relations: z.ZodArray<z.ZodObject<{
497
+ id: z.ZodString;
386
498
  type: z.ZodString;
387
499
  direction: z.ZodNullable<z.ZodEnum<{
388
500
  outgoing: "outgoing";
389
501
  incoming: "incoming";
390
502
  }>>;
391
503
  task: z.ZodObject<{
504
+ id: z.ZodString;
392
505
  column: z.ZodString;
393
506
  key: z.ZodString;
507
+ project_id: z.ZodString;
394
508
  status: z.ZodEnum<{
395
509
  Active: "Active";
396
510
  Archived: "Archived";
397
511
  }>;
512
+ column_id: z.ZodString;
398
513
  title: z.ZodString;
399
514
  }, z.core.$strict>;
400
515
  }, z.core.$strict>>;
401
516
  comments: z.ZodArray<z.ZodObject<{
517
+ id: z.ZodString;
402
518
  key: z.ZodString;
519
+ task_id: z.ZodString;
403
520
  text: z.ZodString;
404
521
  created_at: z.ZodNumber;
405
522
  updated_at: z.ZodNumber;
406
523
  }, z.core.$strict>>;
407
524
  }, z.core.$strict>;
408
525
  TaskDetailHistory: z.ZodObject<{
526
+ id: z.ZodString;
409
527
  key: z.ZodString;
528
+ project_id: z.ZodString;
410
529
  status: z.ZodEnum<{
411
530
  Active: "Active";
412
531
  Archived: "Archived";
413
532
  }>;
414
533
  column: z.ZodString;
534
+ column_id: z.ZodString;
415
535
  title: z.ZodString;
416
536
  description: z.ZodNullable<z.ZodString>;
417
537
  priority: z.ZodNullable<z.ZodString>;
418
538
  labels: z.ZodArray<z.ZodString>;
539
+ label_ids: z.ZodArray<z.ZodString>;
540
+ created_at: z.ZodNumber;
541
+ updated_at: z.ZodNumber;
419
542
  relations: z.ZodArray<z.ZodObject<{
543
+ id: z.ZodString;
420
544
  type: z.ZodString;
421
545
  direction: z.ZodNullable<z.ZodEnum<{
422
546
  outgoing: "outgoing";
423
547
  incoming: "incoming";
424
548
  }>>;
425
549
  task: z.ZodObject<{
550
+ id: z.ZodString;
426
551
  column: z.ZodString;
427
552
  key: z.ZodString;
553
+ project_id: z.ZodString;
428
554
  status: z.ZodEnum<{
429
555
  Active: "Active";
430
556
  Archived: "Archived";
431
557
  }>;
558
+ column_id: z.ZodString;
432
559
  title: z.ZodString;
433
560
  }, z.core.$strict>;
434
561
  }, z.core.$strict>>;
435
562
  comments: z.ZodArray<z.ZodObject<{
563
+ id: z.ZodString;
436
564
  key: z.ZodString;
565
+ task_id: z.ZodString;
437
566
  text: z.ZodString;
438
567
  created_at: z.ZodNumber;
439
568
  updated_at: z.ZodNumber;
@@ -457,118 +586,181 @@ export declare const resultSchemas: {
457
586
  }, z.core.$strict>>;
458
587
  }, z.core.$strict>;
459
588
  TaskChange: z.ZodObject<{
589
+ id: z.ZodString;
460
590
  key: z.ZodString;
591
+ project_id: z.ZodString;
461
592
  status: z.ZodEnum<{
462
593
  Active: "Active";
463
594
  Archived: "Archived";
464
595
  }>;
465
596
  column: z.ZodString;
597
+ column_id: z.ZodString;
466
598
  title: z.ZodString;
467
599
  description: z.ZodNullable<z.ZodString>;
468
600
  priority: z.ZodNullable<z.ZodString>;
469
601
  labels: z.ZodArray<z.ZodString>;
602
+ label_ids: z.ZodArray<z.ZodString>;
470
603
  changed: z.ZodBoolean;
471
604
  }, z.core.$strict>;
472
605
  TaskChanges: z.ZodArray<z.ZodObject<{
606
+ id: z.ZodString;
473
607
  key: z.ZodString;
608
+ project_id: z.ZodString;
474
609
  status: z.ZodEnum<{
475
610
  Active: "Active";
476
611
  Archived: "Archived";
477
612
  }>;
478
613
  column: z.ZodString;
614
+ column_id: z.ZodString;
479
615
  title: z.ZodString;
480
616
  description: z.ZodNullable<z.ZodString>;
481
617
  priority: z.ZodNullable<z.ZodString>;
482
618
  labels: z.ZodArray<z.ZodString>;
619
+ label_ids: z.ZodArray<z.ZodString>;
483
620
  changed: z.ZodBoolean;
484
621
  }, z.core.$strict>>;
485
622
  Relation: z.ZodObject<{
623
+ id: z.ZodString;
486
624
  type: z.ZodString;
487
625
  direction: z.ZodNullable<z.ZodEnum<{
488
626
  outgoing: "outgoing";
489
627
  incoming: "incoming";
490
628
  }>>;
491
629
  task: z.ZodObject<{
630
+ id: z.ZodString;
492
631
  column: z.ZodString;
493
632
  key: z.ZodString;
633
+ project_id: z.ZodString;
494
634
  status: z.ZodEnum<{
495
635
  Active: "Active";
496
636
  Archived: "Archived";
497
637
  }>;
638
+ column_id: z.ZodString;
498
639
  title: z.ZodString;
499
640
  }, z.core.$strict>;
500
641
  }, z.core.$strict>;
501
642
  RelationList: z.ZodArray<z.ZodObject<{
643
+ id: z.ZodString;
502
644
  type: z.ZodString;
503
645
  direction: z.ZodNullable<z.ZodEnum<{
504
646
  outgoing: "outgoing";
505
647
  incoming: "incoming";
506
648
  }>>;
507
649
  task: z.ZodObject<{
650
+ id: z.ZodString;
508
651
  column: z.ZodString;
509
652
  key: z.ZodString;
653
+ project_id: z.ZodString;
510
654
  status: z.ZodEnum<{
511
655
  Active: "Active";
512
656
  Archived: "Archived";
513
657
  }>;
658
+ column_id: z.ZodString;
514
659
  title: z.ZodString;
515
660
  }, z.core.$strict>;
516
661
  }, z.core.$strict>>;
517
662
  RelationChange: z.ZodObject<{
663
+ id: z.ZodString;
518
664
  type: z.ZodString;
519
665
  source: z.ZodString;
666
+ source_task_id: z.ZodString;
520
667
  target: z.ZodString;
668
+ target_task_id: z.ZodString;
521
669
  }, z.core.$strict>;
522
670
  Comment: z.ZodObject<{
671
+ id: z.ZodString;
672
+ key: z.ZodString;
673
+ task_id: z.ZodString;
674
+ text: z.ZodString;
675
+ created_at: z.ZodNumber;
676
+ updated_at: z.ZodNumber;
677
+ }, z.core.$strict>;
678
+ CommentChange: z.ZodObject<{
679
+ id: z.ZodString;
523
680
  key: z.ZodString;
681
+ task_id: z.ZodString;
524
682
  text: z.ZodString;
525
683
  created_at: z.ZodNumber;
526
684
  updated_at: z.ZodNumber;
685
+ changed: z.ZodBoolean;
527
686
  }, z.core.$strict>;
528
687
  CommentList: z.ZodArray<z.ZodObject<{
688
+ id: z.ZodString;
529
689
  key: z.ZodString;
690
+ task_id: z.ZodString;
530
691
  text: z.ZodString;
531
692
  created_at: z.ZodNumber;
532
693
  updated_at: z.ZodNumber;
533
694
  }, z.core.$strict>>;
534
695
  Project: z.ZodObject<{
696
+ id: z.ZodString;
697
+ key: z.ZodString;
698
+ name: z.ZodString;
699
+ description: z.ZodNullable<z.ZodString>;
700
+ }, z.core.$strict>;
701
+ ProjectChange: z.ZodObject<{
702
+ id: z.ZodString;
535
703
  key: z.ZodString;
536
704
  name: z.ZodString;
537
705
  description: z.ZodNullable<z.ZodString>;
706
+ changed: z.ZodBoolean;
538
707
  }, z.core.$strict>;
539
708
  ProjectList: z.ZodArray<z.ZodObject<{
709
+ id: z.ZodString;
540
710
  key: z.ZodString;
541
711
  name: z.ZodString;
542
712
  description: z.ZodNullable<z.ZodString>;
543
713
  }, z.core.$strict>>;
544
714
  ProjectView: z.ZodObject<{
715
+ id: z.ZodString;
545
716
  key: z.ZodString;
546
717
  name: z.ZodString;
547
718
  description: z.ZodNullable<z.ZodString>;
548
719
  columns: z.ZodArray<z.ZodObject<{
720
+ id: z.ZodString;
549
721
  name: z.ZodString;
550
722
  taskCount: z.ZodNumber;
551
723
  }, z.core.$strict>>;
552
724
  archivedTaskCount: z.ZodNumber;
553
725
  }, z.core.$strict>;
554
726
  Column: z.ZodObject<{
727
+ id: z.ZodString;
728
+ project: z.ZodString;
729
+ project_id: z.ZodString;
730
+ name: z.ZodString;
731
+ }, z.core.$strict>;
732
+ ColumnChange: z.ZodObject<{
733
+ id: z.ZodString;
555
734
  project: z.ZodString;
735
+ project_id: z.ZodString;
556
736
  name: z.ZodString;
737
+ changed: z.ZodBoolean;
557
738
  }, z.core.$strict>;
558
739
  ColumnTaskCount: z.ZodObject<{
740
+ id: z.ZodString;
559
741
  name: z.ZodString;
560
742
  taskCount: z.ZodNumber;
561
743
  }, z.core.$strict>;
562
744
  ColumnList: z.ZodArray<z.ZodObject<{
745
+ id: z.ZodString;
563
746
  name: z.ZodString;
564
747
  taskCount: z.ZodNumber;
565
748
  }, z.core.$strict>>;
566
749
  Label: z.ZodObject<{
750
+ id: z.ZodString;
751
+ name: z.ZodString;
752
+ color: z.ZodString;
753
+ description: z.ZodNullable<z.ZodString>;
754
+ }, z.core.$strict>;
755
+ LabelChange: z.ZodObject<{
756
+ id: z.ZodString;
567
757
  name: z.ZodString;
568
758
  color: z.ZodString;
569
759
  description: z.ZodNullable<z.ZodString>;
760
+ changed: z.ZodBoolean;
570
761
  }, z.core.$strict>;
571
762
  LabelList: z.ZodArray<z.ZodObject<{
763
+ id: z.ZodString;
572
764
  name: z.ZodString;
573
765
  color: z.ZodString;
574
766
  description: z.ZodNullable<z.ZodString>;
@@ -607,6 +799,17 @@ export declare const resultSchemas: {
607
799
  action: z.ZodString;
608
800
  changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
609
801
  }, z.core.$strict>>;
802
+ Actor: z.ZodObject<{
803
+ actor_name: z.ZodNullable<z.ZodString>;
804
+ actor_email: z.ZodNullable<z.ZodString>;
805
+ actor_kind: z.ZodString;
806
+ actor_source: z.ZodNullable<z.ZodString>;
807
+ actor_session_id: z.ZodNullable<z.ZodString>;
808
+ actor_thread_id: z.ZodNullable<z.ZodString>;
809
+ actor_agent: z.ZodNullable<z.ZodString>;
810
+ actor_model: z.ZodNullable<z.ZodString>;
811
+ actor_effort: z.ZodNullable<z.ZodString>;
812
+ }, z.core.$strict>;
610
813
  Info: z.ZodObject<{
611
814
  settingsFiles: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
612
815
  path: z.ZodString;
@@ -624,6 +827,10 @@ export declare const resultSchemas: {
624
827
  storage: z.ZodOptional<z.ZodObject<{
625
828
  directory: z.ZodString;
626
829
  }, z.core.$strict>>;
830
+ hooks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
831
+ command: z.ZodString;
832
+ timeout: z.ZodOptional<z.ZodNumber>;
833
+ }, z.core.$strict>>>;
627
834
  }, z.core.$strict>;
628
835
  }, z.core.$strict>, z.ZodObject<{
629
836
  path: z.ZodString;
@@ -817,7 +1024,7 @@ export declare const resultSchemas: {
817
1024
  value: z.ZodOptional<z.ZodObject<{
818
1025
  kind: z.ZodString;
819
1026
  name: z.ZodOptional<z.ZodString>;
820
- choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
1027
+ choices: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
821
1028
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
822
1029
  pattern: z.ZodOptional<z.ZodString>;
823
1030
  description: z.ZodOptional<z.ZodString>;
@@ -830,13 +1037,7 @@ export declare const resultSchemas: {
830
1037
  singularOptions: z.ZodLiteral<"reject-repetition">;
831
1038
  jsonFailure: z.ZodLiteral<"one-stderr-document-with-buffered-diagnostics">;
832
1039
  jsonSuccessDiagnostics: z.ZodLiteral<"text-on-stderr-at-completion">;
833
- canonicalArgv: z.ZodArray<z.ZodEnum<{
834
- "command-path": "command-path";
835
- "options-with-equals-values": "options-with-equals-values";
836
- "--json": "--json";
837
- "separator-if-positionals": "separator-if-positionals";
838
- positionals: "positionals";
839
- }>>;
1040
+ canonicalArgv: z.ZodTuple<[z.ZodLiteral<"command-path">, z.ZodLiteral<"options-with-equals-values">, z.ZodLiteral<"--json">, z.ZodLiteral<"separator-if-positionals">, z.ZodLiteral<"positionals">], null>;
840
1041
  version: z.ZodObject<{
841
1042
  spellings: z.ZodArray<z.ZodString>;
842
1043
  placement: z.ZodLiteral<"sole-argument">;
@@ -853,6 +1054,7 @@ export declare const resultSchemas: {
853
1054
  }, z.core.$strict>;
854
1055
  commands: z.ZodArray<z.ZodObject<{
855
1056
  path: z.ZodArray<z.ZodString>;
1057
+ aliases: z.ZodArray<z.ZodArray<z.ZodString>>;
856
1058
  summary: z.ZodString;
857
1059
  input: z.ZodObject<{
858
1060
  options: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -867,41 +1069,45 @@ export declare const resultSchemas: {
867
1069
  value: z.ZodOptional<z.ZodObject<{
868
1070
  kind: z.ZodString;
869
1071
  name: z.ZodOptional<z.ZodString>;
870
- choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
1072
+ choices: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
871
1073
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
872
1074
  pattern: z.ZodOptional<z.ZodString>;
873
1075
  description: z.ZodOptional<z.ZodString>;
874
1076
  }, z.core.$strict>>;
875
1077
  description: z.ZodOptional<z.ZodString>;
876
1078
  }, z.core.$strict>>;
877
- forms: z.ZodArray<z.ZodObject<{
1079
+ forms: z.ZodReadonly<z.ZodArray<z.ZodObject<{
878
1080
  id: z.ZodString;
879
- positionals: z.ZodArray<z.ZodObject<{
1081
+ positionals: z.ZodReadonly<z.ZodArray<z.ZodObject<{
880
1082
  name: z.ZodString;
881
1083
  min: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
882
1084
  max: z.ZodNullable<z.ZodLiteral<1>>;
883
1085
  value: z.ZodObject<{
884
1086
  kind: z.ZodString;
885
1087
  name: z.ZodOptional<z.ZodString>;
886
- choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
1088
+ choices: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
887
1089
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
888
1090
  pattern: z.ZodOptional<z.ZodString>;
889
1091
  description: z.ZodOptional<z.ZodString>;
890
1092
  }, z.core.$strict>;
891
- }, z.core.$strict>>;
892
- }, z.core.$strict>>;
893
- constraints: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1093
+ }, z.core.$strict>>>;
1094
+ }, z.core.$strict>>>;
1095
+ constraints: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
894
1096
  kind: z.ZodLiteral<"exclusive">;
895
- members: z.ZodArray<z.ZodString>;
1097
+ members: z.ZodReadonly<z.ZodArray<z.ZodTemplateLiteral<`option:${string}` | `positional:${string}`>>>;
896
1098
  }, z.core.$strict>, z.ZodObject<{
897
1099
  kind: z.ZodLiteral<"requires">;
898
- input: z.ZodString;
899
- requires: z.ZodString;
1100
+ input: z.ZodTemplateLiteral<`option:${string}` | `positional:${string}`>;
1101
+ requires: z.ZodTemplateLiteral<`option:${string}` | `positional:${string}`>;
1102
+ }, z.core.$strict>, z.ZodObject<{
1103
+ kind: z.ZodLiteral<"requiresAny">;
1104
+ input: z.ZodTemplateLiteral<`option:${string}` | `positional:${string}`>;
1105
+ members: z.ZodReadonly<z.ZodArray<z.ZodTemplateLiteral<`option:${string}` | `positional:${string}`>>>;
900
1106
  }, z.core.$strict>, z.ZodObject<{
901
1107
  kind: z.ZodLiteral<"atLeastOne">;
902
- members: z.ZodArray<z.ZodString>;
903
- }, z.core.$strict>], "kind">>;
904
- notes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1108
+ members: z.ZodReadonly<z.ZodArray<z.ZodTemplateLiteral<`option:${string}` | `positional:${string}`>>>;
1109
+ }, z.core.$strict>], "kind">>>;
1110
+ notes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
905
1111
  }, z.core.$strict>;
906
1112
  effects: z.ZodObject<{
907
1113
  domain: z.ZodEnum<{
@@ -930,7 +1136,7 @@ export declare const resultSchemas: {
930
1136
  }>;
931
1137
  description: z.ZodOptional<z.ZodString>;
932
1138
  }, z.core.$strict>;
933
- results: z.ZodArray<z.ZodObject<{
1139
+ results: z.ZodReadonly<z.ZodArray<z.ZodObject<{
934
1140
  selector: z.ZodDiscriminatedUnion<[z.ZodObject<{
935
1141
  kind: z.ZodLiteral<"always">;
936
1142
  }, z.core.$strict>, z.ZodObject<{
@@ -947,7 +1153,7 @@ export declare const resultSchemas: {
947
1153
  mode: z.ZodLiteral<"json">;
948
1154
  stream: z.ZodLiteral<"stdout">;
949
1155
  exitCode: z.ZodLiteral<0>;
950
- }, z.core.$strict>>;
1156
+ }, z.core.$strict>>>;
951
1157
  }, z.core.$strict>>;
952
1158
  error: z.ZodObject<{
953
1159
  schemaRef: z.ZodString;
@@ -975,6 +1181,7 @@ export type PresentedColumn = z.infer<typeof columnSchema>;
975
1181
  export type PresentedColumnTaskCount = z.infer<typeof columnTaskCountSchema>;
976
1182
  export type PresentedLabel = z.infer<typeof labelSchema>;
977
1183
  export type PresentedActivity = z.infer<typeof activitySchema>;
1184
+ export type PresentedActor = z.infer<typeof actorSchema>;
978
1185
  export type PresentedInfo = z.infer<typeof infoSchema>;
979
1186
  export type PresentedBackup = z.infer<typeof backupSchema>;
980
1187
  export type PresentedRestore = z.infer<typeof restoreSchema>;