@zinn-dev/cli 0.40.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 (84) hide show
  1. package/README.md +11 -561
  2. package/index.js +24 -13
  3. package/package.json +8 -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 +162 -0
  8. package/src/capabilities-schema.js +59 -0
  9. package/src/capabilities.d.ts +29 -0
  10. package/src/capabilities.js +30 -0
  11. package/src/column-hint.d.ts +3 -0
  12. package/src/column-hint.js +225 -0
  13. package/src/database.d.ts +1 -1
  14. package/src/database.js +5 -8
  15. package/src/errors.d.ts +158 -0
  16. package/src/errors.js +226 -0
  17. package/src/input.d.ts +227 -0
  18. package/src/input.js +192 -0
  19. package/src/lib.d.ts +71 -8
  20. package/src/lib.js +275 -18
  21. package/src/presentation/activity-presentation.d.ts +9 -1
  22. package/src/presentation/activity-presentation.js +120 -23
  23. package/src/presentation/capabilities-presentation.d.ts +2 -0
  24. package/src/presentation/capabilities-presentation.js +3 -0
  25. package/src/presentation/column-presentation.d.ts +9 -5
  26. package/src/presentation/column-presentation.js +10 -0
  27. package/src/presentation/comment-presentation.d.ts +15 -0
  28. package/src/presentation/comment-presentation.js +29 -0
  29. package/src/presentation/description-presentation.d.ts +17 -0
  30. package/src/presentation/description-presentation.js +26 -4
  31. package/src/presentation/info-presentation.d.ts +4 -0
  32. package/src/presentation/info-presentation.js +96 -0
  33. package/src/presentation/label-presentation.d.ts +8 -0
  34. package/src/presentation/label-presentation.js +28 -0
  35. package/src/presentation/project-presentation.d.ts +7 -0
  36. package/src/presentation/project-presentation.js +19 -0
  37. package/src/presentation/relation-presentation.d.ts +7 -0
  38. package/src/presentation/relation-presentation.js +73 -0
  39. package/src/presentation/task-presentation.d.ts +4 -12
  40. package/src/presentation/task-presentation.js +22 -18
  41. package/src/project.d.ts +18 -3
  42. package/src/project.js +37 -12
  43. package/src/result-schemas.d.ts +1194 -0
  44. package/src/result-schemas.js +279 -0
  45. package/src/results.d.ts +40 -0
  46. package/src/results.js +36 -0
  47. package/src/routes/activity-router.d.ts +104 -0
  48. package/src/routes/activity-router.js +155 -34
  49. package/src/routes/aliases.d.ts +2 -0
  50. package/src/routes/aliases.js +11 -0
  51. package/src/routes/backup-router.d.ts +17 -0
  52. package/src/routes/backup-router.js +15 -3
  53. package/src/routes/capabilities-router.d.ts +21 -0
  54. package/src/routes/capabilities-router.js +34 -0
  55. package/src/routes/comment-router.d.ts +210 -8
  56. package/src/routes/comment-router.js +189 -65
  57. package/src/routes/info-router.d.ts +21 -0
  58. package/src/routes/info-router.js +29 -0
  59. package/src/routes/label-router.d.ts +217 -2
  60. package/src/routes/label-router.js +189 -62
  61. package/src/routes/migrate-router.d.ts +17 -0
  62. package/src/routes/migrate-router.js +17 -5
  63. package/src/routes/project-router.d.ts +373 -2
  64. package/src/routes/project-router.js +322 -132
  65. package/src/routes/reindex-router.d.ts +17 -0
  66. package/src/routes/reindex-router.js +15 -3
  67. package/src/routes/relation-router.d.ts +110 -14
  68. package/src/routes/relation-router.js +122 -79
  69. package/src/routes/restore-router.d.ts +29 -0
  70. package/src/routes/restore-router.js +31 -14
  71. package/src/routes/router.d.ts +1 -1
  72. package/src/routes/router.js +80 -32
  73. package/src/routes/routes.d.ts +1781 -8
  74. package/src/routes/routes.js +9 -1
  75. package/src/routes/task-router.d.ts +946 -4
  76. package/src/routes/task-router.js +524 -260
  77. package/src/routes/whoami-router.d.ts +21 -0
  78. package/src/routes/whoami-router.js +31 -0
  79. package/src/text-edit.d.ts +28 -6
  80. package/src/text-edit.js +40 -23
  81. package/src/text-input.d.ts +47 -0
  82. package/src/text-input.js +187 -0
  83. package/src/types.d.ts +37 -0
  84. package/src/types.js +9 -1
@@ -0,0 +1,1194 @@
1
+ import { z } from "zod";
2
+ export declare const taskSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ key: z.ZodString;
5
+ project_id: z.ZodString;
6
+ status: z.ZodEnum<{
7
+ Active: "Active";
8
+ Archived: "Archived";
9
+ }>;
10
+ column: z.ZodString;
11
+ column_id: z.ZodString;
12
+ title: z.ZodString;
13
+ description: z.ZodNullable<z.ZodString>;
14
+ priority: z.ZodNullable<z.ZodString>;
15
+ labels: z.ZodArray<z.ZodString>;
16
+ label_ids: z.ZodArray<z.ZodString>;
17
+ }, z.core.$strict>;
18
+ export declare const relationSchema: z.ZodObject<{
19
+ id: z.ZodString;
20
+ type: z.ZodString;
21
+ direction: z.ZodNullable<z.ZodEnum<{
22
+ outgoing: "outgoing";
23
+ incoming: "incoming";
24
+ }>>;
25
+ task: z.ZodObject<{
26
+ id: z.ZodString;
27
+ column: z.ZodString;
28
+ key: z.ZodString;
29
+ project_id: z.ZodString;
30
+ status: z.ZodEnum<{
31
+ Active: "Active";
32
+ Archived: "Archived";
33
+ }>;
34
+ column_id: z.ZodString;
35
+ title: z.ZodString;
36
+ }, z.core.$strict>;
37
+ }, z.core.$strict>;
38
+ export declare const relationChangeSchema: z.ZodObject<{
39
+ id: z.ZodString;
40
+ type: z.ZodString;
41
+ source: z.ZodString;
42
+ source_task_id: z.ZodString;
43
+ target: z.ZodString;
44
+ target_task_id: z.ZodString;
45
+ }, z.core.$strict>;
46
+ export declare const commentSchema: z.ZodObject<{
47
+ id: z.ZodString;
48
+ key: z.ZodString;
49
+ task_id: z.ZodString;
50
+ text: z.ZodString;
51
+ created_at: z.ZodNumber;
52
+ updated_at: z.ZodNumber;
53
+ }, z.core.$strict>;
54
+ export declare const activitySchema: z.ZodObject<{
55
+ id: z.ZodString;
56
+ created_at: z.ZodNumber;
57
+ actor_name: z.ZodNullable<z.ZodString>;
58
+ actor_email: z.ZodNullable<z.ZodString>;
59
+ actor_kind: z.ZodString;
60
+ actor_source: z.ZodNullable<z.ZodString>;
61
+ actor_session_id: z.ZodNullable<z.ZodString>;
62
+ actor_thread_id: z.ZodNullable<z.ZodString>;
63
+ actor_agent: z.ZodNullable<z.ZodString>;
64
+ actor_model: z.ZodNullable<z.ZodString>;
65
+ actor_effort: z.ZodNullable<z.ZodString>;
66
+ entity_type: z.ZodString;
67
+ entity_id: z.ZodString;
68
+ action: z.ZodString;
69
+ changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
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>;
82
+ export declare const taskDetailSchema: z.ZodObject<{
83
+ id: z.ZodString;
84
+ key: z.ZodString;
85
+ project_id: z.ZodString;
86
+ status: z.ZodEnum<{
87
+ Active: "Active";
88
+ Archived: "Archived";
89
+ }>;
90
+ column: z.ZodString;
91
+ column_id: z.ZodString;
92
+ title: z.ZodString;
93
+ description: z.ZodNullable<z.ZodString>;
94
+ priority: z.ZodNullable<z.ZodString>;
95
+ labels: z.ZodArray<z.ZodString>;
96
+ label_ids: z.ZodArray<z.ZodString>;
97
+ created_at: z.ZodNumber;
98
+ updated_at: z.ZodNumber;
99
+ relations: z.ZodArray<z.ZodObject<{
100
+ id: z.ZodString;
101
+ type: z.ZodString;
102
+ direction: z.ZodNullable<z.ZodEnum<{
103
+ outgoing: "outgoing";
104
+ incoming: "incoming";
105
+ }>>;
106
+ task: z.ZodObject<{
107
+ id: z.ZodString;
108
+ column: z.ZodString;
109
+ key: z.ZodString;
110
+ project_id: z.ZodString;
111
+ status: z.ZodEnum<{
112
+ Active: "Active";
113
+ Archived: "Archived";
114
+ }>;
115
+ column_id: z.ZodString;
116
+ title: z.ZodString;
117
+ }, z.core.$strict>;
118
+ }, z.core.$strict>>;
119
+ comments: z.ZodArray<z.ZodObject<{
120
+ id: z.ZodString;
121
+ key: z.ZodString;
122
+ task_id: z.ZodString;
123
+ text: z.ZodString;
124
+ created_at: z.ZodNumber;
125
+ updated_at: z.ZodNumber;
126
+ }, z.core.$strict>>;
127
+ }, z.core.$strict>;
128
+ export declare const taskDetailHistorySchema: z.ZodObject<{
129
+ id: z.ZodString;
130
+ key: z.ZodString;
131
+ project_id: z.ZodString;
132
+ status: z.ZodEnum<{
133
+ Active: "Active";
134
+ Archived: "Archived";
135
+ }>;
136
+ column: z.ZodString;
137
+ column_id: z.ZodString;
138
+ title: z.ZodString;
139
+ description: z.ZodNullable<z.ZodString>;
140
+ priority: z.ZodNullable<z.ZodString>;
141
+ labels: z.ZodArray<z.ZodString>;
142
+ label_ids: z.ZodArray<z.ZodString>;
143
+ created_at: z.ZodNumber;
144
+ updated_at: z.ZodNumber;
145
+ relations: z.ZodArray<z.ZodObject<{
146
+ id: z.ZodString;
147
+ type: z.ZodString;
148
+ direction: z.ZodNullable<z.ZodEnum<{
149
+ outgoing: "outgoing";
150
+ incoming: "incoming";
151
+ }>>;
152
+ task: z.ZodObject<{
153
+ id: z.ZodString;
154
+ column: z.ZodString;
155
+ key: z.ZodString;
156
+ project_id: z.ZodString;
157
+ status: z.ZodEnum<{
158
+ Active: "Active";
159
+ Archived: "Archived";
160
+ }>;
161
+ column_id: z.ZodString;
162
+ title: z.ZodString;
163
+ }, z.core.$strict>;
164
+ }, z.core.$strict>>;
165
+ comments: z.ZodArray<z.ZodObject<{
166
+ id: z.ZodString;
167
+ key: z.ZodString;
168
+ task_id: z.ZodString;
169
+ text: z.ZodString;
170
+ created_at: z.ZodNumber;
171
+ updated_at: z.ZodNumber;
172
+ }, z.core.$strict>>;
173
+ activity: z.ZodArray<z.ZodObject<{
174
+ id: z.ZodString;
175
+ created_at: z.ZodNumber;
176
+ actor_name: z.ZodNullable<z.ZodString>;
177
+ actor_email: z.ZodNullable<z.ZodString>;
178
+ actor_kind: z.ZodString;
179
+ actor_source: z.ZodNullable<z.ZodString>;
180
+ actor_session_id: z.ZodNullable<z.ZodString>;
181
+ actor_thread_id: z.ZodNullable<z.ZodString>;
182
+ actor_agent: z.ZodNullable<z.ZodString>;
183
+ actor_model: z.ZodNullable<z.ZodString>;
184
+ actor_effort: z.ZodNullable<z.ZodString>;
185
+ entity_type: z.ZodString;
186
+ entity_id: z.ZodString;
187
+ action: z.ZodString;
188
+ changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
189
+ }, z.core.$strict>>;
190
+ }, z.core.$strict>;
191
+ export declare const taskChangeSchema: z.ZodObject<{
192
+ id: z.ZodString;
193
+ key: z.ZodString;
194
+ project_id: z.ZodString;
195
+ status: z.ZodEnum<{
196
+ Active: "Active";
197
+ Archived: "Archived";
198
+ }>;
199
+ column: z.ZodString;
200
+ column_id: z.ZodString;
201
+ title: z.ZodString;
202
+ description: z.ZodNullable<z.ZodString>;
203
+ priority: z.ZodNullable<z.ZodString>;
204
+ labels: z.ZodArray<z.ZodString>;
205
+ label_ids: z.ZodArray<z.ZodString>;
206
+ changed: z.ZodBoolean;
207
+ }, z.core.$strict>;
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;
216
+ key: z.ZodString;
217
+ name: z.ZodString;
218
+ description: z.ZodNullable<z.ZodString>;
219
+ changed: z.ZodBoolean;
220
+ }, z.core.$strict>;
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;
229
+ project: z.ZodString;
230
+ project_id: z.ZodString;
231
+ name: z.ZodString;
232
+ changed: z.ZodBoolean;
233
+ }, z.core.$strict>;
234
+ export declare const columnTaskCountSchema: z.ZodObject<{
235
+ id: z.ZodString;
236
+ name: z.ZodString;
237
+ taskCount: z.ZodNumber;
238
+ }, z.core.$strict>;
239
+ export declare const projectViewSchema: z.ZodObject<{
240
+ id: z.ZodString;
241
+ key: z.ZodString;
242
+ name: z.ZodString;
243
+ description: z.ZodNullable<z.ZodString>;
244
+ columns: z.ZodArray<z.ZodObject<{
245
+ id: z.ZodString;
246
+ name: z.ZodString;
247
+ taskCount: z.ZodNumber;
248
+ }, z.core.$strict>>;
249
+ archivedTaskCount: z.ZodNumber;
250
+ }, z.core.$strict>;
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;
259
+ name: z.ZodString;
260
+ color: z.ZodString;
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;
272
+ }, z.core.$strict>;
273
+ export declare const settingsFileSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
274
+ path: z.ZodString;
275
+ source: z.ZodEnum<{
276
+ env: "env";
277
+ global: "global";
278
+ local: "local";
279
+ }>;
280
+ state: z.ZodEnum<{
281
+ found: "found";
282
+ }>;
283
+ settings: z.ZodObject<{
284
+ $schema: z.ZodOptional<z.ZodString>;
285
+ defaultProject: z.ZodOptional<z.ZodString>;
286
+ storage: z.ZodOptional<z.ZodObject<{
287
+ directory: z.ZodString;
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>>>;
293
+ }, z.core.$strict>;
294
+ }, z.core.$strict>, z.ZodObject<{
295
+ path: z.ZodString;
296
+ source: z.ZodEnum<{
297
+ env: "env";
298
+ global: "global";
299
+ local: "local";
300
+ }>;
301
+ state: z.ZodEnum<{
302
+ missing: "missing";
303
+ }>;
304
+ }, z.core.$strict>, z.ZodObject<{
305
+ path: z.ZodString;
306
+ source: z.ZodEnum<{
307
+ env: "env";
308
+ global: "global";
309
+ local: "local";
310
+ }>;
311
+ state: z.ZodEnum<{
312
+ error: "error";
313
+ }>;
314
+ error: z.ZodString;
315
+ }, z.core.$strict>, z.ZodObject<{
316
+ path: z.ZodString;
317
+ source: z.ZodEnum<{
318
+ env: "env";
319
+ global: "global";
320
+ local: "local";
321
+ }>;
322
+ state: z.ZodEnum<{
323
+ "not-read": "not-read";
324
+ }>;
325
+ reason: z.ZodLiteral<"ZINN_DIR">;
326
+ }, z.core.$strict>], "state">;
327
+ export declare const infoSchema: z.ZodObject<{
328
+ settingsFiles: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
329
+ path: z.ZodString;
330
+ source: z.ZodEnum<{
331
+ env: "env";
332
+ global: "global";
333
+ local: "local";
334
+ }>;
335
+ state: z.ZodEnum<{
336
+ found: "found";
337
+ }>;
338
+ settings: z.ZodObject<{
339
+ $schema: z.ZodOptional<z.ZodString>;
340
+ defaultProject: z.ZodOptional<z.ZodString>;
341
+ storage: z.ZodOptional<z.ZodObject<{
342
+ directory: z.ZodString;
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>>>;
348
+ }, z.core.$strict>;
349
+ }, z.core.$strict>, z.ZodObject<{
350
+ path: z.ZodString;
351
+ source: z.ZodEnum<{
352
+ env: "env";
353
+ global: "global";
354
+ local: "local";
355
+ }>;
356
+ state: z.ZodEnum<{
357
+ missing: "missing";
358
+ }>;
359
+ }, z.core.$strict>, z.ZodObject<{
360
+ path: z.ZodString;
361
+ source: z.ZodEnum<{
362
+ env: "env";
363
+ global: "global";
364
+ local: "local";
365
+ }>;
366
+ state: z.ZodEnum<{
367
+ error: "error";
368
+ }>;
369
+ error: z.ZodString;
370
+ }, z.core.$strict>, z.ZodObject<{
371
+ path: z.ZodString;
372
+ source: z.ZodEnum<{
373
+ env: "env";
374
+ global: "global";
375
+ local: "local";
376
+ }>;
377
+ state: z.ZodEnum<{
378
+ "not-read": "not-read";
379
+ }>;
380
+ reason: z.ZodLiteral<"ZINN_DIR">;
381
+ }, z.core.$strict>], "state">>;
382
+ storage: z.ZodObject<{
383
+ directory: z.ZodNullable<z.ZodString>;
384
+ source: z.ZodNullable<z.ZodEnum<{
385
+ default: "default";
386
+ env: "env";
387
+ global: "global";
388
+ local: "local";
389
+ }>>;
390
+ settingsPath: z.ZodNullable<z.ZodString>;
391
+ exists: z.ZodNullable<z.ZodBoolean>;
392
+ error: z.ZodNullable<z.ZodString>;
393
+ }, z.core.$strict>;
394
+ defaultProject: z.ZodObject<{
395
+ key: z.ZodNullable<z.ZodString>;
396
+ settingsPath: z.ZodNullable<z.ZodString>;
397
+ error: z.ZodNullable<z.ZodString>;
398
+ }, z.core.$strict>;
399
+ database: z.ZodObject<{
400
+ path: z.ZodNullable<z.ZodString>;
401
+ state: z.ZodEnum<{
402
+ absent: "absent";
403
+ empty: "empty";
404
+ unmarked: "unmarked";
405
+ current: "current";
406
+ older: "older";
407
+ newer: "newer";
408
+ unavailable: "unavailable";
409
+ }>;
410
+ version: z.ZodNullable<z.ZodNumber>;
411
+ latestVersion: z.ZodNumber;
412
+ error: z.ZodNullable<z.ZodString>;
413
+ }, z.core.$strict>;
414
+ versions: z.ZodObject<{
415
+ cli: z.ZodString;
416
+ core: z.ZodString;
417
+ runtime: z.ZodObject<{
418
+ name: z.ZodEnum<{
419
+ Node: "Node";
420
+ Bun: "Bun";
421
+ }>;
422
+ version: z.ZodString;
423
+ }, z.core.$strict>;
424
+ }, z.core.$strict>;
425
+ }, z.core.$strict>;
426
+ export declare const backupSchema: z.ZodObject<{
427
+ path: z.ZodString;
428
+ }, z.core.$strict>;
429
+ export declare const restoreSchema: z.ZodObject<{
430
+ databasePath: z.ZodString;
431
+ previousVersion: z.ZodNumber;
432
+ restoredVersion: z.ZodNumber;
433
+ backupPath: z.ZodNullable<z.ZodString>;
434
+ }, z.core.$strict>;
435
+ export declare const migrateSchema: z.ZodObject<{
436
+ databasePath: z.ZodString;
437
+ previousVersion: z.ZodNumber;
438
+ finalVersion: z.ZodNumber;
439
+ changed: z.ZodBoolean;
440
+ backupPath: z.ZodNullable<z.ZodString>;
441
+ }, z.core.$strict>;
442
+ export declare const reindexSchema: z.ZodObject<{
443
+ databasePath: z.ZodString;
444
+ taskCount: z.ZodNumber;
445
+ }, z.core.$strict>;
446
+ export declare const resultSchemas: {
447
+ Task: z.ZodObject<{
448
+ id: z.ZodString;
449
+ key: z.ZodString;
450
+ project_id: z.ZodString;
451
+ status: z.ZodEnum<{
452
+ Active: "Active";
453
+ Archived: "Archived";
454
+ }>;
455
+ column: z.ZodString;
456
+ column_id: z.ZodString;
457
+ title: z.ZodString;
458
+ description: z.ZodNullable<z.ZodString>;
459
+ priority: z.ZodNullable<z.ZodString>;
460
+ labels: z.ZodArray<z.ZodString>;
461
+ label_ids: z.ZodArray<z.ZodString>;
462
+ }, z.core.$strict>;
463
+ TaskList: z.ZodArray<z.ZodObject<{
464
+ id: z.ZodString;
465
+ key: z.ZodString;
466
+ project_id: z.ZodString;
467
+ status: z.ZodEnum<{
468
+ Active: "Active";
469
+ Archived: "Archived";
470
+ }>;
471
+ column: z.ZodString;
472
+ column_id: z.ZodString;
473
+ title: z.ZodString;
474
+ description: z.ZodNullable<z.ZodString>;
475
+ priority: z.ZodNullable<z.ZodString>;
476
+ labels: z.ZodArray<z.ZodString>;
477
+ label_ids: z.ZodArray<z.ZodString>;
478
+ }, z.core.$strict>>;
479
+ TaskDetail: z.ZodObject<{
480
+ id: z.ZodString;
481
+ key: z.ZodString;
482
+ project_id: z.ZodString;
483
+ status: z.ZodEnum<{
484
+ Active: "Active";
485
+ Archived: "Archived";
486
+ }>;
487
+ column: z.ZodString;
488
+ column_id: z.ZodString;
489
+ title: z.ZodString;
490
+ description: z.ZodNullable<z.ZodString>;
491
+ priority: z.ZodNullable<z.ZodString>;
492
+ labels: z.ZodArray<z.ZodString>;
493
+ label_ids: z.ZodArray<z.ZodString>;
494
+ created_at: z.ZodNumber;
495
+ updated_at: z.ZodNumber;
496
+ relations: z.ZodArray<z.ZodObject<{
497
+ id: z.ZodString;
498
+ type: z.ZodString;
499
+ direction: z.ZodNullable<z.ZodEnum<{
500
+ outgoing: "outgoing";
501
+ incoming: "incoming";
502
+ }>>;
503
+ task: z.ZodObject<{
504
+ id: z.ZodString;
505
+ column: z.ZodString;
506
+ key: z.ZodString;
507
+ project_id: z.ZodString;
508
+ status: z.ZodEnum<{
509
+ Active: "Active";
510
+ Archived: "Archived";
511
+ }>;
512
+ column_id: z.ZodString;
513
+ title: z.ZodString;
514
+ }, z.core.$strict>;
515
+ }, z.core.$strict>>;
516
+ comments: z.ZodArray<z.ZodObject<{
517
+ id: z.ZodString;
518
+ key: z.ZodString;
519
+ task_id: z.ZodString;
520
+ text: z.ZodString;
521
+ created_at: z.ZodNumber;
522
+ updated_at: z.ZodNumber;
523
+ }, z.core.$strict>>;
524
+ }, z.core.$strict>;
525
+ TaskDetailHistory: z.ZodObject<{
526
+ id: z.ZodString;
527
+ key: z.ZodString;
528
+ project_id: z.ZodString;
529
+ status: z.ZodEnum<{
530
+ Active: "Active";
531
+ Archived: "Archived";
532
+ }>;
533
+ column: z.ZodString;
534
+ column_id: z.ZodString;
535
+ title: z.ZodString;
536
+ description: z.ZodNullable<z.ZodString>;
537
+ priority: z.ZodNullable<z.ZodString>;
538
+ labels: z.ZodArray<z.ZodString>;
539
+ label_ids: z.ZodArray<z.ZodString>;
540
+ created_at: z.ZodNumber;
541
+ updated_at: z.ZodNumber;
542
+ relations: z.ZodArray<z.ZodObject<{
543
+ id: z.ZodString;
544
+ type: z.ZodString;
545
+ direction: z.ZodNullable<z.ZodEnum<{
546
+ outgoing: "outgoing";
547
+ incoming: "incoming";
548
+ }>>;
549
+ task: z.ZodObject<{
550
+ id: z.ZodString;
551
+ column: z.ZodString;
552
+ key: z.ZodString;
553
+ project_id: z.ZodString;
554
+ status: z.ZodEnum<{
555
+ Active: "Active";
556
+ Archived: "Archived";
557
+ }>;
558
+ column_id: z.ZodString;
559
+ title: z.ZodString;
560
+ }, z.core.$strict>;
561
+ }, z.core.$strict>>;
562
+ comments: z.ZodArray<z.ZodObject<{
563
+ id: z.ZodString;
564
+ key: z.ZodString;
565
+ task_id: z.ZodString;
566
+ text: z.ZodString;
567
+ created_at: z.ZodNumber;
568
+ updated_at: z.ZodNumber;
569
+ }, z.core.$strict>>;
570
+ activity: z.ZodArray<z.ZodObject<{
571
+ id: z.ZodString;
572
+ created_at: z.ZodNumber;
573
+ actor_name: z.ZodNullable<z.ZodString>;
574
+ actor_email: z.ZodNullable<z.ZodString>;
575
+ actor_kind: z.ZodString;
576
+ actor_source: z.ZodNullable<z.ZodString>;
577
+ actor_session_id: z.ZodNullable<z.ZodString>;
578
+ actor_thread_id: z.ZodNullable<z.ZodString>;
579
+ actor_agent: z.ZodNullable<z.ZodString>;
580
+ actor_model: z.ZodNullable<z.ZodString>;
581
+ actor_effort: z.ZodNullable<z.ZodString>;
582
+ entity_type: z.ZodString;
583
+ entity_id: z.ZodString;
584
+ action: z.ZodString;
585
+ changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
586
+ }, z.core.$strict>>;
587
+ }, z.core.$strict>;
588
+ TaskChange: z.ZodObject<{
589
+ id: z.ZodString;
590
+ key: z.ZodString;
591
+ project_id: z.ZodString;
592
+ status: z.ZodEnum<{
593
+ Active: "Active";
594
+ Archived: "Archived";
595
+ }>;
596
+ column: z.ZodString;
597
+ column_id: z.ZodString;
598
+ title: z.ZodString;
599
+ description: z.ZodNullable<z.ZodString>;
600
+ priority: z.ZodNullable<z.ZodString>;
601
+ labels: z.ZodArray<z.ZodString>;
602
+ label_ids: z.ZodArray<z.ZodString>;
603
+ changed: z.ZodBoolean;
604
+ }, z.core.$strict>;
605
+ TaskChanges: z.ZodArray<z.ZodObject<{
606
+ id: z.ZodString;
607
+ key: z.ZodString;
608
+ project_id: z.ZodString;
609
+ status: z.ZodEnum<{
610
+ Active: "Active";
611
+ Archived: "Archived";
612
+ }>;
613
+ column: z.ZodString;
614
+ column_id: z.ZodString;
615
+ title: z.ZodString;
616
+ description: z.ZodNullable<z.ZodString>;
617
+ priority: z.ZodNullable<z.ZodString>;
618
+ labels: z.ZodArray<z.ZodString>;
619
+ label_ids: z.ZodArray<z.ZodString>;
620
+ changed: z.ZodBoolean;
621
+ }, z.core.$strict>>;
622
+ Relation: z.ZodObject<{
623
+ id: z.ZodString;
624
+ type: z.ZodString;
625
+ direction: z.ZodNullable<z.ZodEnum<{
626
+ outgoing: "outgoing";
627
+ incoming: "incoming";
628
+ }>>;
629
+ task: z.ZodObject<{
630
+ id: z.ZodString;
631
+ column: z.ZodString;
632
+ key: z.ZodString;
633
+ project_id: z.ZodString;
634
+ status: z.ZodEnum<{
635
+ Active: "Active";
636
+ Archived: "Archived";
637
+ }>;
638
+ column_id: z.ZodString;
639
+ title: z.ZodString;
640
+ }, z.core.$strict>;
641
+ }, z.core.$strict>;
642
+ RelationList: z.ZodArray<z.ZodObject<{
643
+ id: z.ZodString;
644
+ type: z.ZodString;
645
+ direction: z.ZodNullable<z.ZodEnum<{
646
+ outgoing: "outgoing";
647
+ incoming: "incoming";
648
+ }>>;
649
+ task: z.ZodObject<{
650
+ id: z.ZodString;
651
+ column: z.ZodString;
652
+ key: z.ZodString;
653
+ project_id: z.ZodString;
654
+ status: z.ZodEnum<{
655
+ Active: "Active";
656
+ Archived: "Archived";
657
+ }>;
658
+ column_id: z.ZodString;
659
+ title: z.ZodString;
660
+ }, z.core.$strict>;
661
+ }, z.core.$strict>>;
662
+ RelationChange: z.ZodObject<{
663
+ id: z.ZodString;
664
+ type: z.ZodString;
665
+ source: z.ZodString;
666
+ source_task_id: z.ZodString;
667
+ target: z.ZodString;
668
+ target_task_id: z.ZodString;
669
+ }, z.core.$strict>;
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;
680
+ key: z.ZodString;
681
+ task_id: z.ZodString;
682
+ text: z.ZodString;
683
+ created_at: z.ZodNumber;
684
+ updated_at: z.ZodNumber;
685
+ changed: z.ZodBoolean;
686
+ }, z.core.$strict>;
687
+ CommentList: z.ZodArray<z.ZodObject<{
688
+ id: z.ZodString;
689
+ key: z.ZodString;
690
+ task_id: z.ZodString;
691
+ text: z.ZodString;
692
+ created_at: z.ZodNumber;
693
+ updated_at: z.ZodNumber;
694
+ }, z.core.$strict>>;
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;
703
+ key: z.ZodString;
704
+ name: z.ZodString;
705
+ description: z.ZodNullable<z.ZodString>;
706
+ changed: z.ZodBoolean;
707
+ }, z.core.$strict>;
708
+ ProjectList: z.ZodArray<z.ZodObject<{
709
+ id: z.ZodString;
710
+ key: z.ZodString;
711
+ name: z.ZodString;
712
+ description: z.ZodNullable<z.ZodString>;
713
+ }, z.core.$strict>>;
714
+ ProjectView: z.ZodObject<{
715
+ id: z.ZodString;
716
+ key: z.ZodString;
717
+ name: z.ZodString;
718
+ description: z.ZodNullable<z.ZodString>;
719
+ columns: z.ZodArray<z.ZodObject<{
720
+ id: z.ZodString;
721
+ name: z.ZodString;
722
+ taskCount: z.ZodNumber;
723
+ }, z.core.$strict>>;
724
+ archivedTaskCount: z.ZodNumber;
725
+ }, z.core.$strict>;
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;
734
+ project: z.ZodString;
735
+ project_id: z.ZodString;
736
+ name: z.ZodString;
737
+ changed: z.ZodBoolean;
738
+ }, z.core.$strict>;
739
+ ColumnTaskCount: z.ZodObject<{
740
+ id: z.ZodString;
741
+ name: z.ZodString;
742
+ taskCount: z.ZodNumber;
743
+ }, z.core.$strict>;
744
+ ColumnList: z.ZodArray<z.ZodObject<{
745
+ id: z.ZodString;
746
+ name: z.ZodString;
747
+ taskCount: z.ZodNumber;
748
+ }, z.core.$strict>>;
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;
757
+ name: z.ZodString;
758
+ color: z.ZodString;
759
+ description: z.ZodNullable<z.ZodString>;
760
+ changed: z.ZodBoolean;
761
+ }, z.core.$strict>;
762
+ LabelList: z.ZodArray<z.ZodObject<{
763
+ id: z.ZodString;
764
+ name: z.ZodString;
765
+ color: z.ZodString;
766
+ description: z.ZodNullable<z.ZodString>;
767
+ }, z.core.$strict>>;
768
+ Activity: z.ZodObject<{
769
+ id: z.ZodString;
770
+ created_at: z.ZodNumber;
771
+ actor_name: z.ZodNullable<z.ZodString>;
772
+ actor_email: z.ZodNullable<z.ZodString>;
773
+ actor_kind: z.ZodString;
774
+ actor_source: z.ZodNullable<z.ZodString>;
775
+ actor_session_id: z.ZodNullable<z.ZodString>;
776
+ actor_thread_id: z.ZodNullable<z.ZodString>;
777
+ actor_agent: z.ZodNullable<z.ZodString>;
778
+ actor_model: z.ZodNullable<z.ZodString>;
779
+ actor_effort: z.ZodNullable<z.ZodString>;
780
+ entity_type: z.ZodString;
781
+ entity_id: z.ZodString;
782
+ action: z.ZodString;
783
+ changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
784
+ }, z.core.$strict>;
785
+ ActivityList: z.ZodArray<z.ZodObject<{
786
+ id: z.ZodString;
787
+ created_at: z.ZodNumber;
788
+ actor_name: z.ZodNullable<z.ZodString>;
789
+ actor_email: z.ZodNullable<z.ZodString>;
790
+ actor_kind: z.ZodString;
791
+ actor_source: z.ZodNullable<z.ZodString>;
792
+ actor_session_id: z.ZodNullable<z.ZodString>;
793
+ actor_thread_id: z.ZodNullable<z.ZodString>;
794
+ actor_agent: z.ZodNullable<z.ZodString>;
795
+ actor_model: z.ZodNullable<z.ZodString>;
796
+ actor_effort: z.ZodNullable<z.ZodString>;
797
+ entity_type: z.ZodString;
798
+ entity_id: z.ZodString;
799
+ action: z.ZodString;
800
+ changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
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>;
813
+ Info: z.ZodObject<{
814
+ settingsFiles: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
815
+ path: z.ZodString;
816
+ source: z.ZodEnum<{
817
+ env: "env";
818
+ global: "global";
819
+ local: "local";
820
+ }>;
821
+ state: z.ZodEnum<{
822
+ found: "found";
823
+ }>;
824
+ settings: z.ZodObject<{
825
+ $schema: z.ZodOptional<z.ZodString>;
826
+ defaultProject: z.ZodOptional<z.ZodString>;
827
+ storage: z.ZodOptional<z.ZodObject<{
828
+ directory: z.ZodString;
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>>>;
834
+ }, z.core.$strict>;
835
+ }, z.core.$strict>, z.ZodObject<{
836
+ path: z.ZodString;
837
+ source: z.ZodEnum<{
838
+ env: "env";
839
+ global: "global";
840
+ local: "local";
841
+ }>;
842
+ state: z.ZodEnum<{
843
+ missing: "missing";
844
+ }>;
845
+ }, z.core.$strict>, z.ZodObject<{
846
+ path: z.ZodString;
847
+ source: z.ZodEnum<{
848
+ env: "env";
849
+ global: "global";
850
+ local: "local";
851
+ }>;
852
+ state: z.ZodEnum<{
853
+ error: "error";
854
+ }>;
855
+ error: z.ZodString;
856
+ }, z.core.$strict>, z.ZodObject<{
857
+ path: z.ZodString;
858
+ source: z.ZodEnum<{
859
+ env: "env";
860
+ global: "global";
861
+ local: "local";
862
+ }>;
863
+ state: z.ZodEnum<{
864
+ "not-read": "not-read";
865
+ }>;
866
+ reason: z.ZodLiteral<"ZINN_DIR">;
867
+ }, z.core.$strict>], "state">>;
868
+ storage: z.ZodObject<{
869
+ directory: z.ZodNullable<z.ZodString>;
870
+ source: z.ZodNullable<z.ZodEnum<{
871
+ default: "default";
872
+ env: "env";
873
+ global: "global";
874
+ local: "local";
875
+ }>>;
876
+ settingsPath: z.ZodNullable<z.ZodString>;
877
+ exists: z.ZodNullable<z.ZodBoolean>;
878
+ error: z.ZodNullable<z.ZodString>;
879
+ }, z.core.$strict>;
880
+ defaultProject: z.ZodObject<{
881
+ key: z.ZodNullable<z.ZodString>;
882
+ settingsPath: z.ZodNullable<z.ZodString>;
883
+ error: z.ZodNullable<z.ZodString>;
884
+ }, z.core.$strict>;
885
+ database: z.ZodObject<{
886
+ path: z.ZodNullable<z.ZodString>;
887
+ state: z.ZodEnum<{
888
+ absent: "absent";
889
+ empty: "empty";
890
+ unmarked: "unmarked";
891
+ current: "current";
892
+ older: "older";
893
+ newer: "newer";
894
+ unavailable: "unavailable";
895
+ }>;
896
+ version: z.ZodNullable<z.ZodNumber>;
897
+ latestVersion: z.ZodNumber;
898
+ error: z.ZodNullable<z.ZodString>;
899
+ }, z.core.$strict>;
900
+ versions: z.ZodObject<{
901
+ cli: z.ZodString;
902
+ core: z.ZodString;
903
+ runtime: z.ZodObject<{
904
+ name: z.ZodEnum<{
905
+ Node: "Node";
906
+ Bun: "Bun";
907
+ }>;
908
+ version: z.ZodString;
909
+ }, z.core.$strict>;
910
+ }, z.core.$strict>;
911
+ }, z.core.$strict>;
912
+ Backup: z.ZodObject<{
913
+ path: z.ZodString;
914
+ }, z.core.$strict>;
915
+ Restore: z.ZodObject<{
916
+ databasePath: z.ZodString;
917
+ previousVersion: z.ZodNumber;
918
+ restoredVersion: z.ZodNumber;
919
+ backupPath: z.ZodNullable<z.ZodString>;
920
+ }, z.core.$strict>;
921
+ Migrate: z.ZodObject<{
922
+ databasePath: z.ZodString;
923
+ previousVersion: z.ZodNumber;
924
+ finalVersion: z.ZodNumber;
925
+ changed: z.ZodBoolean;
926
+ backupPath: z.ZodNullable<z.ZodString>;
927
+ }, z.core.$strict>;
928
+ Reindex: z.ZodObject<{
929
+ databasePath: z.ZodString;
930
+ taskCount: z.ZodNumber;
931
+ }, z.core.$strict>;
932
+ ErrorEnvelope: z.ZodObject<{
933
+ error: z.ZodObject<{
934
+ code: z.ZodEnum<{
935
+ invalid_input: "invalid_input";
936
+ not_found: "not_found";
937
+ conflict: "conflict";
938
+ storage: "storage";
939
+ internal: "internal";
940
+ }>;
941
+ message: z.ZodString;
942
+ help: z.ZodOptional<z.ZodString>;
943
+ details: z.ZodOptional<z.ZodObject<{
944
+ argument: z.ZodOptional<z.ZodString>;
945
+ field: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
946
+ entity: z.ZodOptional<z.ZodEnum<{
947
+ project: "project";
948
+ task: "task";
949
+ comment: "comment";
950
+ label: "label";
951
+ column: "column";
952
+ relation: "relation";
953
+ activity: "activity";
954
+ database: "database";
955
+ backup: "backup";
956
+ }>>;
957
+ key: z.ZodOptional<z.ZodString>;
958
+ source: z.ZodOptional<z.ZodEnum<{
959
+ explicit: "explicit";
960
+ defaultProject: "defaultProject";
961
+ }>>;
962
+ settingsPath: z.ZodOptional<z.ZodString>;
963
+ reason: z.ZodOptional<z.ZodEnum<{
964
+ archived: "archived";
965
+ confirmation_required: "confirmation_required";
966
+ invalid_json: "invalid_json";
967
+ invalid_settings: "invalid_settings";
968
+ invalid_storage: "invalid_storage";
969
+ already_exists: "already_exists";
970
+ parent_exists: "parent_exists";
971
+ cycle: "cycle";
972
+ different_project: "different_project";
973
+ different_column: "different_column";
974
+ ambiguous_reference: "ambiguous_reference";
975
+ text_match_count: "text_match_count";
976
+ no_columns: "no_columns";
977
+ unmarked_database: "unmarked_database";
978
+ newer_database: "newer_database";
979
+ older_database: "older_database";
980
+ invalid_backup: "invalid_backup";
981
+ busy: "busy";
982
+ locked: "locked";
983
+ permission_denied: "permission_denied";
984
+ read_only: "read_only";
985
+ disk_full: "disk_full";
986
+ corrupt: "corrupt";
987
+ not_database: "not_database";
988
+ missing_index: "missing_index";
989
+ io: "io";
990
+ }>>;
991
+ matchCount: z.ZodOptional<z.ZodNumber>;
992
+ candidateIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
993
+ path: z.ZodOptional<z.ZodString>;
994
+ databasePath: z.ZodOptional<z.ZodString>;
995
+ backupDirectory: z.ZodOptional<z.ZodString>;
996
+ backupPath: z.ZodOptional<z.ZodString>;
997
+ schemaVersion: z.ZodOptional<z.ZodNumber>;
998
+ supportedSchemaVersion: z.ZodOptional<z.ZodNumber>;
999
+ cause: z.ZodOptional<z.ZodObject<{
1000
+ code: z.ZodOptional<z.ZodString>;
1001
+ errcode: z.ZodOptional<z.ZodNumber>;
1002
+ message: z.ZodString;
1003
+ }, z.core.$strict>>;
1004
+ }, z.core.$strict>>;
1005
+ diagnostics: z.ZodOptional<z.ZodArray<z.ZodString>>;
1006
+ }, z.core.$strict>;
1007
+ }, z.core.$strict>;
1008
+ Capabilities: z.ZodObject<{
1009
+ manifestVersion: z.ZodLiteral<1>;
1010
+ cli: z.ZodObject<{
1011
+ name: z.ZodString;
1012
+ version: z.ZodString;
1013
+ }, z.core.$strict>;
1014
+ invocation: z.ZodObject<{
1015
+ routerOptions: z.ZodRecord<z.ZodString, z.ZodObject<{
1016
+ type: z.ZodEnum<{
1017
+ string: "string";
1018
+ boolean: "boolean";
1019
+ }>;
1020
+ short: z.ZodOptional<z.ZodString>;
1021
+ multiple: z.ZodOptional<z.ZodBoolean>;
1022
+ default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>>;
1023
+ required: z.ZodOptional<z.ZodBoolean>;
1024
+ value: z.ZodOptional<z.ZodObject<{
1025
+ kind: z.ZodString;
1026
+ name: z.ZodOptional<z.ZodString>;
1027
+ choices: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
1028
+ caseInsensitive: z.ZodOptional<z.ZodBoolean>;
1029
+ pattern: z.ZodOptional<z.ZodString>;
1030
+ description: z.ZodOptional<z.ZodString>;
1031
+ }, z.core.$strict>>;
1032
+ description: z.ZodOptional<z.ZodString>;
1033
+ }, z.core.$strict>>;
1034
+ routerOptionPlacement: z.ZodLiteral<"exact-tokens-anywhere-before-separator">;
1035
+ optionSeparator: z.ZodLiteral<"--">;
1036
+ literalOptionValue: z.ZodLiteral<"equals">;
1037
+ singularOptions: z.ZodLiteral<"reject-repetition">;
1038
+ jsonFailure: z.ZodLiteral<"one-stderr-document-with-buffered-diagnostics">;
1039
+ jsonSuccessDiagnostics: z.ZodLiteral<"text-on-stderr-at-completion">;
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>;
1041
+ version: z.ZodObject<{
1042
+ spellings: z.ZodArray<z.ZodString>;
1043
+ placement: z.ZodLiteral<"sole-argument">;
1044
+ stdout: z.ZodLiteral<"text">;
1045
+ exitCode: z.ZodLiteral<0>;
1046
+ }, z.core.$strict>;
1047
+ help: z.ZodObject<{
1048
+ spellings: z.ZodArray<z.ZodString>;
1049
+ stdout: z.ZodLiteral<"text">;
1050
+ exitCode: z.ZodLiteral<0>;
1051
+ precedence: z.ZodLiteral<"root-first-token-otherwise-router-prefix-before-help">;
1052
+ scansRouterOptionsFirst: z.ZodLiteral<true>;
1053
+ }, z.core.$strict>;
1054
+ }, z.core.$strict>;
1055
+ commands: z.ZodArray<z.ZodObject<{
1056
+ path: z.ZodArray<z.ZodString>;
1057
+ aliases: z.ZodArray<z.ZodArray<z.ZodString>>;
1058
+ summary: z.ZodString;
1059
+ input: z.ZodObject<{
1060
+ options: z.ZodRecord<z.ZodString, z.ZodObject<{
1061
+ type: z.ZodEnum<{
1062
+ string: "string";
1063
+ boolean: "boolean";
1064
+ }>;
1065
+ short: z.ZodOptional<z.ZodString>;
1066
+ multiple: z.ZodOptional<z.ZodBoolean>;
1067
+ default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>>;
1068
+ required: z.ZodOptional<z.ZodBoolean>;
1069
+ value: z.ZodOptional<z.ZodObject<{
1070
+ kind: z.ZodString;
1071
+ name: z.ZodOptional<z.ZodString>;
1072
+ choices: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
1073
+ caseInsensitive: z.ZodOptional<z.ZodBoolean>;
1074
+ pattern: z.ZodOptional<z.ZodString>;
1075
+ description: z.ZodOptional<z.ZodString>;
1076
+ }, z.core.$strict>>;
1077
+ description: z.ZodOptional<z.ZodString>;
1078
+ }, z.core.$strict>>;
1079
+ forms: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1080
+ id: z.ZodString;
1081
+ positionals: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1082
+ name: z.ZodString;
1083
+ min: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
1084
+ max: z.ZodNullable<z.ZodLiteral<1>>;
1085
+ value: z.ZodObject<{
1086
+ kind: z.ZodString;
1087
+ name: z.ZodOptional<z.ZodString>;
1088
+ choices: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
1089
+ caseInsensitive: z.ZodOptional<z.ZodBoolean>;
1090
+ pattern: z.ZodOptional<z.ZodString>;
1091
+ description: z.ZodOptional<z.ZodString>;
1092
+ }, z.core.$strict>;
1093
+ }, z.core.$strict>>>;
1094
+ }, z.core.$strict>>>;
1095
+ constraints: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1096
+ kind: z.ZodLiteral<"exclusive">;
1097
+ members: z.ZodReadonly<z.ZodArray<z.ZodTemplateLiteral<`option:${string}` | `positional:${string}`>>>;
1098
+ }, z.core.$strict>, z.ZodObject<{
1099
+ kind: z.ZodLiteral<"requires">;
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}`>>>;
1106
+ }, z.core.$strict>, z.ZodObject<{
1107
+ kind: z.ZodLiteral<"atLeastOne">;
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>>>;
1111
+ }, z.core.$strict>;
1112
+ effects: z.ZodObject<{
1113
+ domain: z.ZodEnum<{
1114
+ read: "read";
1115
+ create: "create";
1116
+ update: "update";
1117
+ delete: "delete";
1118
+ replace: "replace";
1119
+ none: "none";
1120
+ }>;
1121
+ storage: z.ZodEnum<{
1122
+ backup: "backup";
1123
+ none: "none";
1124
+ "normal-open": "normal-open";
1125
+ restore: "restore";
1126
+ migrate: "migrate";
1127
+ reindex: "reindex";
1128
+ inspect: "inspect";
1129
+ }>;
1130
+ }, z.core.$strict>;
1131
+ confirmation: z.ZodObject<{
1132
+ kind: z.ZodEnum<{
1133
+ prompt: "prompt";
1134
+ none: "none";
1135
+ "project-delete": "project-delete";
1136
+ }>;
1137
+ description: z.ZodOptional<z.ZodString>;
1138
+ }, z.core.$strict>;
1139
+ results: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1140
+ selector: z.ZodDiscriminatedUnion<[z.ZodObject<{
1141
+ kind: z.ZodLiteral<"always">;
1142
+ }, z.core.$strict>, z.ZodObject<{
1143
+ kind: z.ZodLiteral<"booleanOption">;
1144
+ name: z.ZodString;
1145
+ value: z.ZodBoolean;
1146
+ }, z.core.$strict>, z.ZodObject<{
1147
+ kind: z.ZodLiteral<"positionalCount">;
1148
+ name: z.ZodString;
1149
+ min: z.ZodNumber;
1150
+ max: z.ZodNullable<z.ZodNumber>;
1151
+ }, z.core.$strict>], "kind">;
1152
+ schemaRef: z.ZodString;
1153
+ mode: z.ZodLiteral<"json">;
1154
+ stream: z.ZodLiteral<"stdout">;
1155
+ exitCode: z.ZodLiteral<0>;
1156
+ }, z.core.$strict>>>;
1157
+ }, z.core.$strict>>;
1158
+ error: z.ZodObject<{
1159
+ schemaRef: z.ZodString;
1160
+ exitCode: z.ZodLiteral<1>;
1161
+ stream: z.ZodLiteral<"stderr">;
1162
+ }, z.core.$strict>;
1163
+ schemas: z.ZodObject<{
1164
+ $schema: z.ZodLiteral<"http://json-schema.org/draft-07/schema#">;
1165
+ definitions: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
1166
+ }, z.core.$strict>;
1167
+ }, z.core.$strict>;
1168
+ JsonValue: z.ZodJSONSchema;
1169
+ };
1170
+ export type ResultSchemaName = keyof typeof resultSchemas;
1171
+ export type PresentedTask = z.infer<typeof taskSchema>;
1172
+ export type PresentedTaskDetail = z.infer<typeof taskDetailSchema>;
1173
+ export type PresentedTaskDetailHistory = z.infer<typeof taskDetailHistorySchema>;
1174
+ export type PresentedTaskChange = z.infer<typeof taskChangeSchema>;
1175
+ export type PresentedRelation = z.infer<typeof relationSchema>;
1176
+ export type PresentedRelationChange = z.infer<typeof relationChangeSchema>;
1177
+ export type PresentedComment = z.infer<typeof commentSchema>;
1178
+ export type PresentedProject = z.infer<typeof projectSchema>;
1179
+ export type PresentedProjectView = z.infer<typeof projectViewSchema>;
1180
+ export type PresentedColumn = z.infer<typeof columnSchema>;
1181
+ export type PresentedColumnTaskCount = z.infer<typeof columnTaskCountSchema>;
1182
+ export type PresentedLabel = z.infer<typeof labelSchema>;
1183
+ export type PresentedActivity = z.infer<typeof activitySchema>;
1184
+ export type PresentedActor = z.infer<typeof actorSchema>;
1185
+ export type PresentedInfo = z.infer<typeof infoSchema>;
1186
+ export type PresentedBackup = z.infer<typeof backupSchema>;
1187
+ export type PresentedRestore = z.infer<typeof restoreSchema>;
1188
+ export type PresentedMigrate = z.infer<typeof migrateSchema>;
1189
+ export type PresentedReindex = z.infer<typeof reindexSchema>;
1190
+ /** Generates local references against the extracted schemas document in draft-07 spec */
1191
+ export declare function generateResultSchemas(schemas?: Record<string, z.ZodType>): {
1192
+ $schema: string;
1193
+ definitions: Record<string, z.core.JSONSchema.JSONSchema>;
1194
+ };