@zinn-dev/cli 0.41.0 → 0.43.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 (81) hide show
  1. package/README.md +11 -689
  2. package/index.js +2 -2
  3. package/package.json +4 -4
  4. package/skills/zinn/SKILL.md +1 -1
  5. package/src/capabilities-schema.d.ts +25 -26
  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.d.ts +31 -3
  13. package/src/errors.js +77 -20
  14. package/src/input.d.ts +154 -43
  15. package/src/input.js +86 -13
  16. package/src/lib.d.ts +43 -6
  17. package/src/lib.js +134 -38
  18. package/src/list-continuation.d.ts +11 -0
  19. package/src/list-continuation.js +18 -0
  20. package/src/list-limit.d.ts +11 -0
  21. package/src/list-limit.js +17 -0
  22. package/src/presentation/activity-presentation.d.ts +9 -1
  23. package/src/presentation/activity-presentation.js +124 -28
  24. package/src/presentation/capabilities-presentation.d.ts +2 -0
  25. package/src/presentation/capabilities-presentation.js +3 -0
  26. package/src/presentation/column-presentation.d.ts +6 -0
  27. package/src/presentation/column-presentation.js +10 -0
  28. package/src/presentation/comment-presentation.d.ts +15 -0
  29. package/src/presentation/comment-presentation.js +29 -0
  30. package/src/presentation/description-presentation.d.ts +4 -0
  31. package/src/presentation/description-presentation.js +28 -5
  32. package/src/presentation/label-presentation.d.ts +8 -0
  33. package/src/presentation/label-presentation.js +28 -0
  34. package/src/presentation/project-presentation.d.ts +11 -0
  35. package/src/presentation/project-presentation.js +27 -0
  36. package/src/presentation/relation-presentation.d.ts +12 -0
  37. package/src/presentation/relation-presentation.js +87 -0
  38. package/src/presentation/row-layout.d.ts +1 -1
  39. package/src/presentation/row-layout.js +6 -5
  40. package/src/presentation/task-presentation.d.ts +3 -3
  41. package/src/presentation/task-presentation.js +29 -19
  42. package/src/presentation/text-width.d.ts +2 -0
  43. package/src/presentation/text-width.js +43 -0
  44. package/src/presentation/time.d.ts +3 -1
  45. package/src/presentation/time.js +5 -2
  46. package/src/project.d.ts +14 -5
  47. package/src/project.js +18 -6
  48. package/src/result-schemas.d.ts +279 -26
  49. package/src/result-schemas.js +72 -4
  50. package/src/results.d.ts +34 -17
  51. package/src/results.js +19 -0
  52. package/src/routes/activity-router.d.ts +79 -2
  53. package/src/routes/activity-router.js +209 -38
  54. package/src/routes/aliases.d.ts +2 -0
  55. package/src/routes/aliases.js +11 -0
  56. package/src/routes/capabilities-router.js +9 -3
  57. package/src/routes/comment-router.d.ts +41 -18
  58. package/src/routes/comment-router.js +65 -48
  59. package/src/routes/label-router.d.ts +57 -7
  60. package/src/routes/label-router.js +84 -39
  61. package/src/routes/project-router.d.ts +74 -12
  62. package/src/routes/project-router.js +131 -66
  63. package/src/routes/relation-router.d.ts +13 -9
  64. package/src/routes/relation-router.js +116 -116
  65. package/src/routes/restore-router.js +3 -6
  66. package/src/routes/router.d.ts +1 -1
  67. package/src/routes/router.js +88 -32
  68. package/src/routes/routes.d.ts +420 -50
  69. package/src/routes/routes.js +4 -0
  70. package/src/routes/task-router.d.ts +189 -30
  71. package/src/routes/task-router.js +254 -158
  72. package/src/routes/whoami-router.d.ts +21 -0
  73. package/src/routes/whoami-router.js +31 -0
  74. package/src/text-edit.d.ts +13 -9
  75. package/src/text-edit.js +23 -18
  76. package/src/text-input.d.ts +47 -0
  77. package/src/text-input.js +187 -0
  78. package/src/timestamp-input.d.ts +3 -0
  79. package/src/timestamp-input.js +31 -0
  80. package/src/types.d.ts +32 -9
  81. package/src/types.js +9 -1
@@ -1,39 +1,55 @@
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>;
15
+ due_at: z.ZodNullable<z.ZodNumber>;
12
16
  labels: z.ZodArray<z.ZodString>;
17
+ label_ids: z.ZodArray<z.ZodString>;
18
+ created_at: z.ZodNumber;
19
+ updated_at: z.ZodNumber;
13
20
  }, z.core.$strict>;
14
21
  export declare const relationSchema: z.ZodObject<{
22
+ id: z.ZodString;
15
23
  type: z.ZodString;
16
24
  direction: z.ZodNullable<z.ZodEnum<{
17
25
  outgoing: "outgoing";
18
26
  incoming: "incoming";
19
27
  }>>;
20
28
  task: z.ZodObject<{
29
+ id: z.ZodString;
21
30
  column: z.ZodString;
22
31
  key: z.ZodString;
32
+ project_id: z.ZodString;
23
33
  status: z.ZodEnum<{
24
34
  Active: "Active";
25
35
  Archived: "Archived";
26
36
  }>;
37
+ column_id: z.ZodString;
27
38
  title: z.ZodString;
28
39
  }, z.core.$strict>;
29
40
  }, z.core.$strict>;
30
41
  export declare const relationChangeSchema: z.ZodObject<{
42
+ id: z.ZodString;
31
43
  type: z.ZodString;
32
44
  source: z.ZodString;
45
+ source_task_id: z.ZodString;
33
46
  target: z.ZodString;
47
+ target_task_id: z.ZodString;
34
48
  }, z.core.$strict>;
35
49
  export declare const commentSchema: z.ZodObject<{
50
+ id: z.ZodString;
36
51
  key: z.ZodString;
52
+ task_id: z.ZodString;
37
53
  text: z.ZodString;
38
54
  created_at: z.ZodNumber;
39
55
  updated_at: z.ZodNumber;
@@ -55,69 +71,106 @@ export declare const activitySchema: z.ZodObject<{
55
71
  action: z.ZodString;
56
72
  changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
57
73
  }, z.core.$strict>;
74
+ export declare const actorSchema: z.ZodObject<{
75
+ actor_name: z.ZodNullable<z.ZodString>;
76
+ actor_email: z.ZodNullable<z.ZodString>;
77
+ actor_kind: z.ZodString;
78
+ actor_source: z.ZodNullable<z.ZodString>;
79
+ actor_session_id: z.ZodNullable<z.ZodString>;
80
+ actor_thread_id: z.ZodNullable<z.ZodString>;
81
+ actor_agent: z.ZodNullable<z.ZodString>;
82
+ actor_model: z.ZodNullable<z.ZodString>;
83
+ actor_effort: z.ZodNullable<z.ZodString>;
84
+ }, z.core.$strict>;
58
85
  export declare const taskDetailSchema: z.ZodObject<{
86
+ id: z.ZodString;
59
87
  key: z.ZodString;
88
+ project_id: z.ZodString;
60
89
  status: z.ZodEnum<{
61
90
  Active: "Active";
62
91
  Archived: "Archived";
63
92
  }>;
64
93
  column: z.ZodString;
94
+ column_id: z.ZodString;
65
95
  title: z.ZodString;
66
96
  description: z.ZodNullable<z.ZodString>;
67
97
  priority: z.ZodNullable<z.ZodString>;
98
+ due_at: z.ZodNullable<z.ZodNumber>;
68
99
  labels: z.ZodArray<z.ZodString>;
100
+ label_ids: z.ZodArray<z.ZodString>;
101
+ created_at: z.ZodNumber;
102
+ updated_at: z.ZodNumber;
69
103
  relations: z.ZodArray<z.ZodObject<{
104
+ id: z.ZodString;
70
105
  type: z.ZodString;
71
106
  direction: z.ZodNullable<z.ZodEnum<{
72
107
  outgoing: "outgoing";
73
108
  incoming: "incoming";
74
109
  }>>;
75
110
  task: z.ZodObject<{
111
+ id: z.ZodString;
76
112
  column: z.ZodString;
77
113
  key: z.ZodString;
114
+ project_id: z.ZodString;
78
115
  status: z.ZodEnum<{
79
116
  Active: "Active";
80
117
  Archived: "Archived";
81
118
  }>;
119
+ column_id: z.ZodString;
82
120
  title: z.ZodString;
83
121
  }, z.core.$strict>;
84
122
  }, z.core.$strict>>;
85
123
  comments: z.ZodArray<z.ZodObject<{
124
+ id: z.ZodString;
86
125
  key: z.ZodString;
126
+ task_id: z.ZodString;
87
127
  text: z.ZodString;
88
128
  created_at: z.ZodNumber;
89
129
  updated_at: z.ZodNumber;
90
130
  }, z.core.$strict>>;
91
131
  }, z.core.$strict>;
92
132
  export declare const taskDetailHistorySchema: z.ZodObject<{
133
+ id: z.ZodString;
93
134
  key: z.ZodString;
135
+ project_id: z.ZodString;
94
136
  status: z.ZodEnum<{
95
137
  Active: "Active";
96
138
  Archived: "Archived";
97
139
  }>;
98
140
  column: z.ZodString;
141
+ column_id: z.ZodString;
99
142
  title: z.ZodString;
100
143
  description: z.ZodNullable<z.ZodString>;
101
144
  priority: z.ZodNullable<z.ZodString>;
145
+ due_at: z.ZodNullable<z.ZodNumber>;
102
146
  labels: z.ZodArray<z.ZodString>;
147
+ label_ids: z.ZodArray<z.ZodString>;
148
+ created_at: z.ZodNumber;
149
+ updated_at: z.ZodNumber;
103
150
  relations: z.ZodArray<z.ZodObject<{
151
+ id: z.ZodString;
104
152
  type: z.ZodString;
105
153
  direction: z.ZodNullable<z.ZodEnum<{
106
154
  outgoing: "outgoing";
107
155
  incoming: "incoming";
108
156
  }>>;
109
157
  task: z.ZodObject<{
158
+ id: z.ZodString;
110
159
  column: z.ZodString;
111
160
  key: z.ZodString;
161
+ project_id: z.ZodString;
112
162
  status: z.ZodEnum<{
113
163
  Active: "Active";
114
164
  Archived: "Archived";
115
165
  }>;
166
+ column_id: z.ZodString;
116
167
  title: z.ZodString;
117
168
  }, z.core.$strict>;
118
169
  }, z.core.$strict>>;
119
170
  comments: z.ZodArray<z.ZodObject<{
171
+ id: z.ZodString;
120
172
  key: z.ZodString;
173
+ task_id: z.ZodString;
121
174
  text: z.ZodString;
122
175
  created_at: z.ZodNumber;
123
176
  updated_at: z.ZodNumber;
@@ -141,45 +194,99 @@ export declare const taskDetailHistorySchema: z.ZodObject<{
141
194
  }, z.core.$strict>>;
142
195
  }, z.core.$strict>;
143
196
  export declare const taskChangeSchema: z.ZodObject<{
197
+ id: z.ZodString;
144
198
  key: z.ZodString;
199
+ project_id: z.ZodString;
145
200
  status: z.ZodEnum<{
146
201
  Active: "Active";
147
202
  Archived: "Archived";
148
203
  }>;
149
204
  column: z.ZodString;
205
+ column_id: z.ZodString;
150
206
  title: z.ZodString;
151
207
  description: z.ZodNullable<z.ZodString>;
152
208
  priority: z.ZodNullable<z.ZodString>;
209
+ due_at: z.ZodNullable<z.ZodNumber>;
153
210
  labels: z.ZodArray<z.ZodString>;
211
+ label_ids: z.ZodArray<z.ZodString>;
212
+ created_at: z.ZodNumber;
213
+ updated_at: z.ZodNumber;
154
214
  changed: z.ZodBoolean;
155
215
  }, z.core.$strict>;
156
216
  export declare const projectSchema: z.ZodObject<{
217
+ id: z.ZodString;
218
+ key: z.ZodString;
219
+ name: z.ZodString;
220
+ description: z.ZodNullable<z.ZodString>;
221
+ }, z.core.$strict>;
222
+ export declare const projectChangeSchema: z.ZodObject<{
223
+ id: z.ZodString;
157
224
  key: z.ZodString;
158
225
  name: z.ZodString;
159
226
  description: z.ZodNullable<z.ZodString>;
227
+ changed: z.ZodBoolean;
228
+ }, z.core.$strict>;
229
+ export declare const projectListEntrySchema: z.ZodObject<{
230
+ id: z.ZodString;
231
+ key: z.ZodString;
232
+ name: z.ZodString;
233
+ description: z.ZodNullable<z.ZodString>;
234
+ taskCounts: z.ZodObject<{
235
+ active: z.ZodNumber;
236
+ archived: z.ZodNumber;
237
+ }, z.core.$strict>;
160
238
  }, z.core.$strict>;
161
239
  export declare const columnSchema: z.ZodObject<{
240
+ id: z.ZodString;
162
241
  project: z.ZodString;
242
+ project_id: z.ZodString;
163
243
  name: z.ZodString;
164
244
  }, z.core.$strict>;
245
+ export declare const columnChangeSchema: z.ZodObject<{
246
+ id: z.ZodString;
247
+ project: z.ZodString;
248
+ project_id: z.ZodString;
249
+ name: z.ZodString;
250
+ changed: z.ZodBoolean;
251
+ }, z.core.$strict>;
165
252
  export declare const columnTaskCountSchema: z.ZodObject<{
253
+ id: z.ZodString;
166
254
  name: z.ZodString;
167
255
  taskCount: z.ZodNumber;
168
256
  }, z.core.$strict>;
169
257
  export declare const projectViewSchema: z.ZodObject<{
258
+ id: z.ZodString;
170
259
  key: z.ZodString;
171
260
  name: z.ZodString;
172
261
  description: z.ZodNullable<z.ZodString>;
173
262
  columns: z.ZodArray<z.ZodObject<{
263
+ id: z.ZodString;
174
264
  name: z.ZodString;
175
265
  taskCount: z.ZodNumber;
176
266
  }, z.core.$strict>>;
177
267
  archivedTaskCount: z.ZodNumber;
178
268
  }, z.core.$strict>;
179
269
  export declare const labelSchema: z.ZodObject<{
270
+ id: z.ZodString;
271
+ name: z.ZodString;
272
+ color: z.ZodString;
273
+ description: z.ZodNullable<z.ZodString>;
274
+ }, z.core.$strict>;
275
+ export declare const labelChangeSchema: z.ZodObject<{
276
+ id: z.ZodString;
180
277
  name: z.ZodString;
181
278
  color: z.ZodString;
182
279
  description: z.ZodNullable<z.ZodString>;
280
+ changed: z.ZodBoolean;
281
+ }, z.core.$strict>;
282
+ export declare const commentChangeSchema: z.ZodObject<{
283
+ id: z.ZodString;
284
+ key: z.ZodString;
285
+ task_id: z.ZodString;
286
+ text: z.ZodString;
287
+ created_at: z.ZodNumber;
288
+ updated_at: z.ZodNumber;
289
+ changed: z.ZodBoolean;
183
290
  }, z.core.$strict>;
184
291
  export declare const settingsFileSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
185
292
  path: z.ZodString;
@@ -197,6 +304,10 @@ export declare const settingsFileSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
197
304
  storage: z.ZodOptional<z.ZodObject<{
198
305
  directory: z.ZodString;
199
306
  }, z.core.$strict>>;
307
+ hooks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
308
+ command: z.ZodString;
309
+ timeout: z.ZodOptional<z.ZodNumber>;
310
+ }, z.core.$strict>>>;
200
311
  }, z.core.$strict>;
201
312
  }, z.core.$strict>, z.ZodObject<{
202
313
  path: z.ZodString;
@@ -248,6 +359,10 @@ export declare const infoSchema: z.ZodObject<{
248
359
  storage: z.ZodOptional<z.ZodObject<{
249
360
  directory: z.ZodString;
250
361
  }, z.core.$strict>>;
362
+ hooks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
363
+ command: z.ZodString;
364
+ timeout: z.ZodOptional<z.ZodNumber>;
365
+ }, z.core.$strict>>>;
251
366
  }, z.core.$strict>;
252
367
  }, z.core.$strict>, z.ZodObject<{
253
368
  path: z.ZodString;
@@ -348,92 +463,132 @@ export declare const reindexSchema: z.ZodObject<{
348
463
  }, z.core.$strict>;
349
464
  export declare const resultSchemas: {
350
465
  Task: z.ZodObject<{
466
+ id: z.ZodString;
351
467
  key: z.ZodString;
468
+ project_id: z.ZodString;
352
469
  status: z.ZodEnum<{
353
470
  Active: "Active";
354
471
  Archived: "Archived";
355
472
  }>;
356
473
  column: z.ZodString;
474
+ column_id: z.ZodString;
357
475
  title: z.ZodString;
358
476
  description: z.ZodNullable<z.ZodString>;
359
477
  priority: z.ZodNullable<z.ZodString>;
478
+ due_at: z.ZodNullable<z.ZodNumber>;
360
479
  labels: z.ZodArray<z.ZodString>;
480
+ label_ids: z.ZodArray<z.ZodString>;
481
+ created_at: z.ZodNumber;
482
+ updated_at: z.ZodNumber;
361
483
  }, z.core.$strict>;
362
484
  TaskList: z.ZodArray<z.ZodObject<{
485
+ id: z.ZodString;
363
486
  key: z.ZodString;
487
+ project_id: z.ZodString;
364
488
  status: z.ZodEnum<{
365
489
  Active: "Active";
366
490
  Archived: "Archived";
367
491
  }>;
368
492
  column: z.ZodString;
493
+ column_id: z.ZodString;
369
494
  title: z.ZodString;
370
495
  description: z.ZodNullable<z.ZodString>;
371
496
  priority: z.ZodNullable<z.ZodString>;
497
+ due_at: z.ZodNullable<z.ZodNumber>;
372
498
  labels: z.ZodArray<z.ZodString>;
499
+ label_ids: z.ZodArray<z.ZodString>;
500
+ created_at: z.ZodNumber;
501
+ updated_at: z.ZodNumber;
373
502
  }, z.core.$strict>>;
374
503
  TaskDetail: z.ZodObject<{
504
+ id: z.ZodString;
375
505
  key: z.ZodString;
506
+ project_id: z.ZodString;
376
507
  status: z.ZodEnum<{
377
508
  Active: "Active";
378
509
  Archived: "Archived";
379
510
  }>;
380
511
  column: z.ZodString;
512
+ column_id: z.ZodString;
381
513
  title: z.ZodString;
382
514
  description: z.ZodNullable<z.ZodString>;
383
515
  priority: z.ZodNullable<z.ZodString>;
516
+ due_at: z.ZodNullable<z.ZodNumber>;
384
517
  labels: z.ZodArray<z.ZodString>;
518
+ label_ids: z.ZodArray<z.ZodString>;
519
+ created_at: z.ZodNumber;
520
+ updated_at: z.ZodNumber;
385
521
  relations: z.ZodArray<z.ZodObject<{
522
+ id: z.ZodString;
386
523
  type: z.ZodString;
387
524
  direction: z.ZodNullable<z.ZodEnum<{
388
525
  outgoing: "outgoing";
389
526
  incoming: "incoming";
390
527
  }>>;
391
528
  task: z.ZodObject<{
529
+ id: z.ZodString;
392
530
  column: z.ZodString;
393
531
  key: z.ZodString;
532
+ project_id: z.ZodString;
394
533
  status: z.ZodEnum<{
395
534
  Active: "Active";
396
535
  Archived: "Archived";
397
536
  }>;
537
+ column_id: z.ZodString;
398
538
  title: z.ZodString;
399
539
  }, z.core.$strict>;
400
540
  }, z.core.$strict>>;
401
541
  comments: z.ZodArray<z.ZodObject<{
542
+ id: z.ZodString;
402
543
  key: z.ZodString;
544
+ task_id: z.ZodString;
403
545
  text: z.ZodString;
404
546
  created_at: z.ZodNumber;
405
547
  updated_at: z.ZodNumber;
406
548
  }, z.core.$strict>>;
407
549
  }, z.core.$strict>;
408
550
  TaskDetailHistory: z.ZodObject<{
551
+ id: z.ZodString;
409
552
  key: z.ZodString;
553
+ project_id: z.ZodString;
410
554
  status: z.ZodEnum<{
411
555
  Active: "Active";
412
556
  Archived: "Archived";
413
557
  }>;
414
558
  column: z.ZodString;
559
+ column_id: z.ZodString;
415
560
  title: z.ZodString;
416
561
  description: z.ZodNullable<z.ZodString>;
417
562
  priority: z.ZodNullable<z.ZodString>;
563
+ due_at: z.ZodNullable<z.ZodNumber>;
418
564
  labels: z.ZodArray<z.ZodString>;
565
+ label_ids: z.ZodArray<z.ZodString>;
566
+ created_at: z.ZodNumber;
567
+ updated_at: z.ZodNumber;
419
568
  relations: z.ZodArray<z.ZodObject<{
569
+ id: z.ZodString;
420
570
  type: z.ZodString;
421
571
  direction: z.ZodNullable<z.ZodEnum<{
422
572
  outgoing: "outgoing";
423
573
  incoming: "incoming";
424
574
  }>>;
425
575
  task: z.ZodObject<{
576
+ id: z.ZodString;
426
577
  column: z.ZodString;
427
578
  key: z.ZodString;
579
+ project_id: z.ZodString;
428
580
  status: z.ZodEnum<{
429
581
  Active: "Active";
430
582
  Archived: "Archived";
431
583
  }>;
584
+ column_id: z.ZodString;
432
585
  title: z.ZodString;
433
586
  }, z.core.$strict>;
434
587
  }, z.core.$strict>>;
435
588
  comments: z.ZodArray<z.ZodObject<{
589
+ id: z.ZodString;
436
590
  key: z.ZodString;
591
+ task_id: z.ZodString;
437
592
  text: z.ZodString;
438
593
  created_at: z.ZodNumber;
439
594
  updated_at: z.ZodNumber;
@@ -457,118 +612,191 @@ export declare const resultSchemas: {
457
612
  }, z.core.$strict>>;
458
613
  }, z.core.$strict>;
459
614
  TaskChange: z.ZodObject<{
615
+ id: z.ZodString;
460
616
  key: z.ZodString;
617
+ project_id: z.ZodString;
461
618
  status: z.ZodEnum<{
462
619
  Active: "Active";
463
620
  Archived: "Archived";
464
621
  }>;
465
622
  column: z.ZodString;
623
+ column_id: z.ZodString;
466
624
  title: z.ZodString;
467
625
  description: z.ZodNullable<z.ZodString>;
468
626
  priority: z.ZodNullable<z.ZodString>;
627
+ due_at: z.ZodNullable<z.ZodNumber>;
469
628
  labels: z.ZodArray<z.ZodString>;
629
+ label_ids: z.ZodArray<z.ZodString>;
630
+ created_at: z.ZodNumber;
631
+ updated_at: z.ZodNumber;
470
632
  changed: z.ZodBoolean;
471
633
  }, z.core.$strict>;
472
634
  TaskChanges: z.ZodArray<z.ZodObject<{
635
+ id: z.ZodString;
473
636
  key: z.ZodString;
637
+ project_id: z.ZodString;
474
638
  status: z.ZodEnum<{
475
639
  Active: "Active";
476
640
  Archived: "Archived";
477
641
  }>;
478
642
  column: z.ZodString;
643
+ column_id: z.ZodString;
479
644
  title: z.ZodString;
480
645
  description: z.ZodNullable<z.ZodString>;
481
646
  priority: z.ZodNullable<z.ZodString>;
647
+ due_at: z.ZodNullable<z.ZodNumber>;
482
648
  labels: z.ZodArray<z.ZodString>;
649
+ label_ids: z.ZodArray<z.ZodString>;
650
+ created_at: z.ZodNumber;
651
+ updated_at: z.ZodNumber;
483
652
  changed: z.ZodBoolean;
484
653
  }, z.core.$strict>>;
485
654
  Relation: z.ZodObject<{
655
+ id: z.ZodString;
486
656
  type: z.ZodString;
487
657
  direction: z.ZodNullable<z.ZodEnum<{
488
658
  outgoing: "outgoing";
489
659
  incoming: "incoming";
490
660
  }>>;
491
661
  task: z.ZodObject<{
662
+ id: z.ZodString;
492
663
  column: z.ZodString;
493
664
  key: z.ZodString;
665
+ project_id: z.ZodString;
494
666
  status: z.ZodEnum<{
495
667
  Active: "Active";
496
668
  Archived: "Archived";
497
669
  }>;
670
+ column_id: z.ZodString;
498
671
  title: z.ZodString;
499
672
  }, z.core.$strict>;
500
673
  }, z.core.$strict>;
501
674
  RelationList: z.ZodArray<z.ZodObject<{
675
+ id: z.ZodString;
502
676
  type: z.ZodString;
503
677
  direction: z.ZodNullable<z.ZodEnum<{
504
678
  outgoing: "outgoing";
505
679
  incoming: "incoming";
506
680
  }>>;
507
681
  task: z.ZodObject<{
682
+ id: z.ZodString;
508
683
  column: z.ZodString;
509
684
  key: z.ZodString;
685
+ project_id: z.ZodString;
510
686
  status: z.ZodEnum<{
511
687
  Active: "Active";
512
688
  Archived: "Archived";
513
689
  }>;
690
+ column_id: z.ZodString;
514
691
  title: z.ZodString;
515
692
  }, z.core.$strict>;
516
693
  }, z.core.$strict>>;
517
694
  RelationChange: z.ZodObject<{
695
+ id: z.ZodString;
518
696
  type: z.ZodString;
519
697
  source: z.ZodString;
698
+ source_task_id: z.ZodString;
520
699
  target: z.ZodString;
700
+ target_task_id: z.ZodString;
521
701
  }, z.core.$strict>;
522
702
  Comment: z.ZodObject<{
703
+ id: z.ZodString;
704
+ key: z.ZodString;
705
+ task_id: z.ZodString;
706
+ text: z.ZodString;
707
+ created_at: z.ZodNumber;
708
+ updated_at: z.ZodNumber;
709
+ }, z.core.$strict>;
710
+ CommentChange: z.ZodObject<{
711
+ id: z.ZodString;
523
712
  key: z.ZodString;
713
+ task_id: z.ZodString;
524
714
  text: z.ZodString;
525
715
  created_at: z.ZodNumber;
526
716
  updated_at: z.ZodNumber;
717
+ changed: z.ZodBoolean;
527
718
  }, z.core.$strict>;
528
719
  CommentList: z.ZodArray<z.ZodObject<{
720
+ id: z.ZodString;
529
721
  key: z.ZodString;
722
+ task_id: z.ZodString;
530
723
  text: z.ZodString;
531
724
  created_at: z.ZodNumber;
532
725
  updated_at: z.ZodNumber;
533
726
  }, z.core.$strict>>;
534
727
  Project: z.ZodObject<{
728
+ id: z.ZodString;
535
729
  key: z.ZodString;
536
730
  name: z.ZodString;
537
731
  description: z.ZodNullable<z.ZodString>;
538
732
  }, z.core.$strict>;
733
+ ProjectChange: z.ZodObject<{
734
+ id: z.ZodString;
735
+ key: z.ZodString;
736
+ name: z.ZodString;
737
+ description: z.ZodNullable<z.ZodString>;
738
+ changed: z.ZodBoolean;
739
+ }, z.core.$strict>;
539
740
  ProjectList: z.ZodArray<z.ZodObject<{
741
+ id: z.ZodString;
540
742
  key: z.ZodString;
541
743
  name: z.ZodString;
542
744
  description: z.ZodNullable<z.ZodString>;
745
+ taskCounts: z.ZodObject<{
746
+ active: z.ZodNumber;
747
+ archived: z.ZodNumber;
748
+ }, z.core.$strict>;
543
749
  }, z.core.$strict>>;
544
750
  ProjectView: z.ZodObject<{
751
+ id: z.ZodString;
545
752
  key: z.ZodString;
546
753
  name: z.ZodString;
547
754
  description: z.ZodNullable<z.ZodString>;
548
755
  columns: z.ZodArray<z.ZodObject<{
756
+ id: z.ZodString;
549
757
  name: z.ZodString;
550
758
  taskCount: z.ZodNumber;
551
759
  }, z.core.$strict>>;
552
760
  archivedTaskCount: z.ZodNumber;
553
761
  }, z.core.$strict>;
554
762
  Column: z.ZodObject<{
763
+ id: z.ZodString;
764
+ project: z.ZodString;
765
+ project_id: z.ZodString;
766
+ name: z.ZodString;
767
+ }, z.core.$strict>;
768
+ ColumnChange: z.ZodObject<{
769
+ id: z.ZodString;
555
770
  project: z.ZodString;
771
+ project_id: z.ZodString;
556
772
  name: z.ZodString;
773
+ changed: z.ZodBoolean;
557
774
  }, z.core.$strict>;
558
775
  ColumnTaskCount: z.ZodObject<{
776
+ id: z.ZodString;
559
777
  name: z.ZodString;
560
778
  taskCount: z.ZodNumber;
561
779
  }, z.core.$strict>;
562
780
  ColumnList: z.ZodArray<z.ZodObject<{
781
+ id: z.ZodString;
563
782
  name: z.ZodString;
564
783
  taskCount: z.ZodNumber;
565
784
  }, z.core.$strict>>;
566
785
  Label: z.ZodObject<{
786
+ id: z.ZodString;
567
787
  name: z.ZodString;
568
788
  color: z.ZodString;
569
789
  description: z.ZodNullable<z.ZodString>;
570
790
  }, z.core.$strict>;
791
+ LabelChange: z.ZodObject<{
792
+ id: z.ZodString;
793
+ name: z.ZodString;
794
+ color: z.ZodString;
795
+ description: z.ZodNullable<z.ZodString>;
796
+ changed: z.ZodBoolean;
797
+ }, z.core.$strict>;
571
798
  LabelList: z.ZodArray<z.ZodObject<{
799
+ id: z.ZodString;
572
800
  name: z.ZodString;
573
801
  color: z.ZodString;
574
802
  description: z.ZodNullable<z.ZodString>;
@@ -607,6 +835,17 @@ export declare const resultSchemas: {
607
835
  action: z.ZodString;
608
836
  changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
609
837
  }, z.core.$strict>>;
838
+ Actor: z.ZodObject<{
839
+ actor_name: z.ZodNullable<z.ZodString>;
840
+ actor_email: z.ZodNullable<z.ZodString>;
841
+ actor_kind: z.ZodString;
842
+ actor_source: z.ZodNullable<z.ZodString>;
843
+ actor_session_id: z.ZodNullable<z.ZodString>;
844
+ actor_thread_id: z.ZodNullable<z.ZodString>;
845
+ actor_agent: z.ZodNullable<z.ZodString>;
846
+ actor_model: z.ZodNullable<z.ZodString>;
847
+ actor_effort: z.ZodNullable<z.ZodString>;
848
+ }, z.core.$strict>;
610
849
  Info: z.ZodObject<{
611
850
  settingsFiles: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
612
851
  path: z.ZodString;
@@ -624,6 +863,10 @@ export declare const resultSchemas: {
624
863
  storage: z.ZodOptional<z.ZodObject<{
625
864
  directory: z.ZodString;
626
865
  }, z.core.$strict>>;
866
+ hooks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
867
+ command: z.ZodString;
868
+ timeout: z.ZodOptional<z.ZodNumber>;
869
+ }, z.core.$strict>>>;
627
870
  }, z.core.$strict>;
628
871
  }, z.core.$strict>, z.ZodObject<{
629
872
  path: z.ZodString;
@@ -755,18 +998,27 @@ export declare const resultSchemas: {
755
998
  settingsPath: z.ZodOptional<z.ZodString>;
756
999
  reason: z.ZodOptional<z.ZodEnum<{
757
1000
  archived: "archived";
1001
+ dash_value: "dash_value";
1002
+ unknown_option: "unknown_option";
1003
+ unknown_command: "unknown_command";
1004
+ missing_command: "missing_command";
1005
+ missing_argument: "missing_argument";
1006
+ unexpected_argument: "unexpected_argument";
1007
+ unquoted_column: "unquoted_column";
758
1008
  confirmation_required: "confirmation_required";
759
1009
  invalid_json: "invalid_json";
760
1010
  invalid_settings: "invalid_settings";
761
1011
  invalid_storage: "invalid_storage";
762
1012
  already_exists: "already_exists";
763
1013
  parent_exists: "parent_exists";
1014
+ relation_changed: "relation_changed";
764
1015
  cycle: "cycle";
765
1016
  different_project: "different_project";
766
1017
  different_column: "different_column";
767
1018
  ambiguous_reference: "ambiguous_reference";
768
1019
  text_match_count: "text_match_count";
769
1020
  no_columns: "no_columns";
1021
+ has_tasks: "has_tasks";
770
1022
  unmarked_database: "unmarked_database";
771
1023
  newer_database: "newer_database";
772
1024
  older_database: "older_database";
@@ -817,7 +1069,7 @@ export declare const resultSchemas: {
817
1069
  value: z.ZodOptional<z.ZodObject<{
818
1070
  kind: z.ZodString;
819
1071
  name: z.ZodOptional<z.ZodString>;
820
- choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
1072
+ choices: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
821
1073
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
822
1074
  pattern: z.ZodOptional<z.ZodString>;
823
1075
  description: z.ZodOptional<z.ZodString>;
@@ -830,13 +1082,7 @@ export declare const resultSchemas: {
830
1082
  singularOptions: z.ZodLiteral<"reject-repetition">;
831
1083
  jsonFailure: z.ZodLiteral<"one-stderr-document-with-buffered-diagnostics">;
832
1084
  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
- }>>;
1085
+ 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
1086
  version: z.ZodObject<{
841
1087
  spellings: z.ZodArray<z.ZodString>;
842
1088
  placement: z.ZodLiteral<"sole-argument">;
@@ -853,6 +1099,7 @@ export declare const resultSchemas: {
853
1099
  }, z.core.$strict>;
854
1100
  commands: z.ZodArray<z.ZodObject<{
855
1101
  path: z.ZodArray<z.ZodString>;
1102
+ aliases: z.ZodArray<z.ZodArray<z.ZodString>>;
856
1103
  summary: z.ZodString;
857
1104
  input: z.ZodObject<{
858
1105
  options: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -867,46 +1114,50 @@ export declare const resultSchemas: {
867
1114
  value: z.ZodOptional<z.ZodObject<{
868
1115
  kind: z.ZodString;
869
1116
  name: z.ZodOptional<z.ZodString>;
870
- choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
1117
+ choices: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
871
1118
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
872
1119
  pattern: z.ZodOptional<z.ZodString>;
873
1120
  description: z.ZodOptional<z.ZodString>;
874
1121
  }, z.core.$strict>>;
875
1122
  description: z.ZodOptional<z.ZodString>;
876
1123
  }, z.core.$strict>>;
877
- forms: z.ZodArray<z.ZodObject<{
1124
+ forms: z.ZodReadonly<z.ZodArray<z.ZodObject<{
878
1125
  id: z.ZodString;
879
- positionals: z.ZodArray<z.ZodObject<{
1126
+ positionals: z.ZodReadonly<z.ZodArray<z.ZodObject<{
880
1127
  name: z.ZodString;
881
1128
  min: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
882
1129
  max: z.ZodNullable<z.ZodLiteral<1>>;
883
1130
  value: z.ZodObject<{
884
1131
  kind: z.ZodString;
885
1132
  name: z.ZodOptional<z.ZodString>;
886
- choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
1133
+ choices: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
887
1134
  caseInsensitive: z.ZodOptional<z.ZodBoolean>;
888
1135
  pattern: z.ZodOptional<z.ZodString>;
889
1136
  description: z.ZodOptional<z.ZodString>;
890
1137
  }, z.core.$strict>;
891
- }, z.core.$strict>>;
892
- }, z.core.$strict>>;
893
- constraints: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1138
+ }, z.core.$strict>>>;
1139
+ }, z.core.$strict>>>;
1140
+ constraints: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
894
1141
  kind: z.ZodLiteral<"exclusive">;
895
- members: z.ZodArray<z.ZodString>;
1142
+ members: z.ZodReadonly<z.ZodArray<z.ZodTemplateLiteral<`option:${string}` | `positional:${string}`>>>;
896
1143
  }, z.core.$strict>, z.ZodObject<{
897
1144
  kind: z.ZodLiteral<"requires">;
898
- input: z.ZodString;
899
- requires: z.ZodString;
1145
+ input: z.ZodTemplateLiteral<`option:${string}` | `positional:${string}`>;
1146
+ requires: z.ZodTemplateLiteral<`option:${string}` | `positional:${string}`>;
1147
+ }, z.core.$strict>, z.ZodObject<{
1148
+ kind: z.ZodLiteral<"requiresAny">;
1149
+ input: z.ZodTemplateLiteral<`option:${string}` | `positional:${string}`>;
1150
+ members: z.ZodReadonly<z.ZodArray<z.ZodTemplateLiteral<`option:${string}` | `positional:${string}`>>>;
900
1151
  }, z.core.$strict>, z.ZodObject<{
901
1152
  kind: z.ZodLiteral<"atLeastOne">;
902
- members: z.ZodArray<z.ZodString>;
903
- }, z.core.$strict>], "kind">>;
904
- notes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1153
+ members: z.ZodReadonly<z.ZodArray<z.ZodTemplateLiteral<`option:${string}` | `positional:${string}`>>>;
1154
+ }, z.core.$strict>], "kind">>>;
1155
+ notes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
905
1156
  }, z.core.$strict>;
906
1157
  effects: z.ZodObject<{
907
1158
  domain: z.ZodEnum<{
908
- read: "read";
909
1159
  create: "create";
1160
+ read: "read";
910
1161
  update: "update";
911
1162
  delete: "delete";
912
1163
  replace: "replace";
@@ -914,11 +1165,11 @@ export declare const resultSchemas: {
914
1165
  }>;
915
1166
  storage: z.ZodEnum<{
916
1167
  backup: "backup";
1168
+ migrate: "migrate";
1169
+ reindex: "reindex";
917
1170
  none: "none";
918
1171
  "normal-open": "normal-open";
919
1172
  restore: "restore";
920
- migrate: "migrate";
921
- reindex: "reindex";
922
1173
  inspect: "inspect";
923
1174
  }>;
924
1175
  }, z.core.$strict>;
@@ -930,7 +1181,7 @@ export declare const resultSchemas: {
930
1181
  }>;
931
1182
  description: z.ZodOptional<z.ZodString>;
932
1183
  }, z.core.$strict>;
933
- results: z.ZodArray<z.ZodObject<{
1184
+ results: z.ZodReadonly<z.ZodArray<z.ZodObject<{
934
1185
  selector: z.ZodDiscriminatedUnion<[z.ZodObject<{
935
1186
  kind: z.ZodLiteral<"always">;
936
1187
  }, z.core.$strict>, z.ZodObject<{
@@ -947,7 +1198,7 @@ export declare const resultSchemas: {
947
1198
  mode: z.ZodLiteral<"json">;
948
1199
  stream: z.ZodLiteral<"stdout">;
949
1200
  exitCode: z.ZodLiteral<0>;
950
- }, z.core.$strict>>;
1201
+ }, z.core.$strict>>>;
951
1202
  }, z.core.$strict>>;
952
1203
  error: z.ZodObject<{
953
1204
  schemaRef: z.ZodString;
@@ -970,11 +1221,13 @@ export type PresentedRelation = z.infer<typeof relationSchema>;
970
1221
  export type PresentedRelationChange = z.infer<typeof relationChangeSchema>;
971
1222
  export type PresentedComment = z.infer<typeof commentSchema>;
972
1223
  export type PresentedProject = z.infer<typeof projectSchema>;
1224
+ export type PresentedProjectListEntry = z.infer<typeof projectListEntrySchema>;
973
1225
  export type PresentedProjectView = z.infer<typeof projectViewSchema>;
974
1226
  export type PresentedColumn = z.infer<typeof columnSchema>;
975
1227
  export type PresentedColumnTaskCount = z.infer<typeof columnTaskCountSchema>;
976
1228
  export type PresentedLabel = z.infer<typeof labelSchema>;
977
1229
  export type PresentedActivity = z.infer<typeof activitySchema>;
1230
+ export type PresentedActor = z.infer<typeof actorSchema>;
978
1231
  export type PresentedInfo = z.infer<typeof infoSchema>;
979
1232
  export type PresentedBackup = z.infer<typeof backupSchema>;
980
1233
  export type PresentedRestore = z.infer<typeof restoreSchema>;