@zinn-dev/cli 0.44.0 → 0.45.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.
- package/package.json +2 -2
- package/skills/zinn/SKILL.md +7 -9
- package/src/capabilities-schema.d.ts +5 -1
- package/src/column-hint.js +1 -3
- package/src/database.d.ts +1 -2
- package/src/database.js +1 -6
- package/src/duration-input.d.ts +7 -0
- package/src/duration-input.js +31 -0
- package/src/errors.d.ts +22 -0
- package/src/errors.js +30 -5
- package/src/expected-values.d.ts +48 -0
- package/src/expected-values.js +60 -0
- package/src/follow.d.ts +9 -0
- package/src/follow.js +58 -0
- package/src/input.d.ts +0 -8
- package/src/input.js +36 -16
- package/src/lib.d.ts +5 -2
- package/src/lib.js +18 -8
- package/src/list-continuation.js +1 -4
- package/src/presentation/activity-presentation.d.ts +2 -0
- package/src/presentation/activity-presentation.js +58 -3
- package/src/presentation/column-presentation.d.ts +9 -4
- package/src/presentation/column-presentation.js +29 -12
- package/src/presentation/doctor-presentation.d.ts +4 -0
- package/src/presentation/doctor-presentation.js +24 -0
- package/src/presentation/relation-presentation.js +2 -1
- package/src/presentation/task-blame-presentation.d.ts +1 -4
- package/src/presentation/task-blame-presentation.js +1 -1
- package/src/presentation/task-presentation.d.ts +2 -0
- package/src/presentation/task-presentation.js +39 -2
- package/src/result-schemas.d.ts +353 -58
- package/src/result-schemas.js +46 -2
- package/src/results.d.ts +6 -2
- package/src/results.js +9 -3
- package/src/routes/activity-router.d.ts +12 -3
- package/src/routes/activity-router.js +93 -59
- package/src/routes/aliases.js +1 -0
- package/src/routes/comment-router.d.ts +24 -6
- package/src/routes/comment-router.js +15 -5
- package/src/routes/doctor-router.d.ts +39 -0
- package/src/routes/doctor-router.js +103 -0
- package/src/routes/label-router.d.ts +39 -6
- package/src/routes/label-router.js +22 -5
- package/src/routes/project-router.d.ts +60 -11
- package/src/routes/project-router.js +100 -33
- package/src/routes/restore-router.js +2 -2
- package/src/routes/router.js +3 -7
- package/src/routes/routes.d.ts +404 -33
- package/src/routes/routes.js +4 -0
- package/src/routes/skill-router.d.ts +25 -0
- package/src/routes/skill-router.js +96 -0
- package/src/routes/task-router.d.ts +231 -13
- package/src/routes/task-router.js +247 -19
- package/src/text-edit.d.ts +2 -2
- package/src/text-input.d.ts +19 -1
- package/src/text-input.js +26 -5
package/src/result-schemas.d.ts
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
export declare const taskClaimSchema: z.ZodObject<{
|
|
3
|
+
state: z.ZodEnum<{
|
|
4
|
+
live: "live";
|
|
5
|
+
expired: "expired";
|
|
6
|
+
}>;
|
|
7
|
+
actor_kind: z.ZodString;
|
|
8
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
11
|
+
claimed_at: z.ZodNumber;
|
|
12
|
+
renewed_at: z.ZodNumber;
|
|
13
|
+
worked_at: z.ZodNumber;
|
|
14
|
+
lease_ms: z.ZodNumber;
|
|
15
|
+
expires_at: z.ZodNumber;
|
|
16
|
+
}, z.core.$strict>;
|
|
2
17
|
export declare const taskSchema: z.ZodObject<{
|
|
3
18
|
id: z.ZodString;
|
|
4
19
|
key: z.ZodString;
|
|
@@ -11,6 +26,7 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
11
26
|
column_id: z.ZodString;
|
|
12
27
|
is_first: z.ZodBoolean;
|
|
13
28
|
is_last: z.ZodBoolean;
|
|
29
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
14
30
|
title: z.ZodString;
|
|
15
31
|
description: z.ZodNullable<z.ZodString>;
|
|
16
32
|
priority: z.ZodNullable<z.ZodString>;
|
|
@@ -19,6 +35,21 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
19
35
|
label_ids: z.ZodArray<z.ZodString>;
|
|
20
36
|
created_at: z.ZodNumber;
|
|
21
37
|
updated_at: z.ZodNumber;
|
|
38
|
+
claim: z.ZodNullable<z.ZodObject<{
|
|
39
|
+
state: z.ZodEnum<{
|
|
40
|
+
live: "live";
|
|
41
|
+
expired: "expired";
|
|
42
|
+
}>;
|
|
43
|
+
actor_kind: z.ZodString;
|
|
44
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
45
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
46
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
47
|
+
claimed_at: z.ZodNumber;
|
|
48
|
+
renewed_at: z.ZodNumber;
|
|
49
|
+
worked_at: z.ZodNumber;
|
|
50
|
+
lease_ms: z.ZodNumber;
|
|
51
|
+
expires_at: z.ZodNumber;
|
|
52
|
+
}, z.core.$strict>>;
|
|
22
53
|
}, z.core.$strict>;
|
|
23
54
|
export declare const relationSchema: z.ZodObject<{
|
|
24
55
|
id: z.ZodString;
|
|
@@ -39,6 +70,7 @@ export declare const relationSchema: z.ZodObject<{
|
|
|
39
70
|
column_id: z.ZodString;
|
|
40
71
|
is_first: z.ZodBoolean;
|
|
41
72
|
is_last: z.ZodBoolean;
|
|
73
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
42
74
|
title: z.ZodString;
|
|
43
75
|
}, z.core.$strict>;
|
|
44
76
|
}, z.core.$strict>;
|
|
@@ -77,24 +109,24 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
77
109
|
changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
|
|
78
110
|
}, z.core.$strict>;
|
|
79
111
|
export declare const actorSchema: z.ZodObject<{
|
|
80
|
-
actor_name: z.ZodNullable<z.ZodString>;
|
|
81
|
-
actor_email: z.ZodNullable<z.ZodString>;
|
|
82
112
|
actor_kind: z.ZodString;
|
|
83
|
-
|
|
113
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
84
114
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
85
115
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
116
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
117
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
86
118
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
87
119
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
88
120
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
89
121
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
90
122
|
}, z.core.$strict>;
|
|
91
123
|
export declare const taskAttributionSchema: z.ZodObject<{
|
|
92
|
-
actor_name: z.ZodNullable<z.ZodString>;
|
|
93
|
-
actor_email: z.ZodNullable<z.ZodString>;
|
|
94
124
|
actor_kind: z.ZodString;
|
|
95
|
-
|
|
125
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
96
126
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
97
127
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
128
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
129
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
98
130
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
99
131
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
100
132
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
@@ -114,6 +146,7 @@ export declare const taskDetailSchema: z.ZodObject<{
|
|
|
114
146
|
column_id: z.ZodString;
|
|
115
147
|
is_first: z.ZodBoolean;
|
|
116
148
|
is_last: z.ZodBoolean;
|
|
149
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
117
150
|
title: z.ZodString;
|
|
118
151
|
description: z.ZodNullable<z.ZodString>;
|
|
119
152
|
priority: z.ZodNullable<z.ZodString>;
|
|
@@ -122,6 +155,21 @@ export declare const taskDetailSchema: z.ZodObject<{
|
|
|
122
155
|
label_ids: z.ZodArray<z.ZodString>;
|
|
123
156
|
created_at: z.ZodNumber;
|
|
124
157
|
updated_at: z.ZodNumber;
|
|
158
|
+
claim: z.ZodNullable<z.ZodObject<{
|
|
159
|
+
state: z.ZodEnum<{
|
|
160
|
+
live: "live";
|
|
161
|
+
expired: "expired";
|
|
162
|
+
}>;
|
|
163
|
+
actor_kind: z.ZodString;
|
|
164
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
165
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
166
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
167
|
+
claimed_at: z.ZodNumber;
|
|
168
|
+
renewed_at: z.ZodNumber;
|
|
169
|
+
worked_at: z.ZodNumber;
|
|
170
|
+
lease_ms: z.ZodNumber;
|
|
171
|
+
expires_at: z.ZodNumber;
|
|
172
|
+
}, z.core.$strict>>;
|
|
125
173
|
relations: z.ZodArray<z.ZodObject<{
|
|
126
174
|
id: z.ZodString;
|
|
127
175
|
type: z.ZodString;
|
|
@@ -141,6 +189,7 @@ export declare const taskDetailSchema: z.ZodObject<{
|
|
|
141
189
|
column_id: z.ZodString;
|
|
142
190
|
is_first: z.ZodBoolean;
|
|
143
191
|
is_last: z.ZodBoolean;
|
|
192
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
144
193
|
title: z.ZodString;
|
|
145
194
|
}, z.core.$strict>;
|
|
146
195
|
}, z.core.$strict>>;
|
|
@@ -165,6 +214,7 @@ export declare const taskDetailHistorySchema: z.ZodObject<{
|
|
|
165
214
|
column_id: z.ZodString;
|
|
166
215
|
is_first: z.ZodBoolean;
|
|
167
216
|
is_last: z.ZodBoolean;
|
|
217
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
168
218
|
title: z.ZodString;
|
|
169
219
|
description: z.ZodNullable<z.ZodString>;
|
|
170
220
|
priority: z.ZodNullable<z.ZodString>;
|
|
@@ -173,6 +223,21 @@ export declare const taskDetailHistorySchema: z.ZodObject<{
|
|
|
173
223
|
label_ids: z.ZodArray<z.ZodString>;
|
|
174
224
|
created_at: z.ZodNumber;
|
|
175
225
|
updated_at: z.ZodNumber;
|
|
226
|
+
claim: z.ZodNullable<z.ZodObject<{
|
|
227
|
+
state: z.ZodEnum<{
|
|
228
|
+
live: "live";
|
|
229
|
+
expired: "expired";
|
|
230
|
+
}>;
|
|
231
|
+
actor_kind: z.ZodString;
|
|
232
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
233
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
234
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
235
|
+
claimed_at: z.ZodNumber;
|
|
236
|
+
renewed_at: z.ZodNumber;
|
|
237
|
+
worked_at: z.ZodNumber;
|
|
238
|
+
lease_ms: z.ZodNumber;
|
|
239
|
+
expires_at: z.ZodNumber;
|
|
240
|
+
}, z.core.$strict>>;
|
|
176
241
|
relations: z.ZodArray<z.ZodObject<{
|
|
177
242
|
id: z.ZodString;
|
|
178
243
|
type: z.ZodString;
|
|
@@ -192,6 +257,7 @@ export declare const taskDetailHistorySchema: z.ZodObject<{
|
|
|
192
257
|
column_id: z.ZodString;
|
|
193
258
|
is_first: z.ZodBoolean;
|
|
194
259
|
is_last: z.ZodBoolean;
|
|
260
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
195
261
|
title: z.ZodString;
|
|
196
262
|
}, z.core.$strict>;
|
|
197
263
|
}, z.core.$strict>>;
|
|
@@ -234,6 +300,7 @@ export declare const taskChangeSchema: z.ZodObject<{
|
|
|
234
300
|
column_id: z.ZodString;
|
|
235
301
|
is_first: z.ZodBoolean;
|
|
236
302
|
is_last: z.ZodBoolean;
|
|
303
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
237
304
|
title: z.ZodString;
|
|
238
305
|
description: z.ZodNullable<z.ZodString>;
|
|
239
306
|
priority: z.ZodNullable<z.ZodString>;
|
|
@@ -242,6 +309,21 @@ export declare const taskChangeSchema: z.ZodObject<{
|
|
|
242
309
|
label_ids: z.ZodArray<z.ZodString>;
|
|
243
310
|
created_at: z.ZodNumber;
|
|
244
311
|
updated_at: z.ZodNumber;
|
|
312
|
+
claim: z.ZodNullable<z.ZodObject<{
|
|
313
|
+
state: z.ZodEnum<{
|
|
314
|
+
live: "live";
|
|
315
|
+
expired: "expired";
|
|
316
|
+
}>;
|
|
317
|
+
actor_kind: z.ZodString;
|
|
318
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
319
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
320
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
321
|
+
claimed_at: z.ZodNumber;
|
|
322
|
+
renewed_at: z.ZodNumber;
|
|
323
|
+
worked_at: z.ZodNumber;
|
|
324
|
+
lease_ms: z.ZodNumber;
|
|
325
|
+
expires_at: z.ZodNumber;
|
|
326
|
+
}, z.core.$strict>>;
|
|
245
327
|
changed: z.ZodBoolean;
|
|
246
328
|
}, z.core.$strict>;
|
|
247
329
|
export declare const projectSchema: z.ZodObject<{
|
|
@@ -274,6 +356,7 @@ export declare const columnSchema: z.ZodObject<{
|
|
|
274
356
|
name: z.ZodString;
|
|
275
357
|
is_first: z.ZodBoolean;
|
|
276
358
|
is_last: z.ZodBoolean;
|
|
359
|
+
category: z.ZodNullable<z.ZodString>;
|
|
277
360
|
}, z.core.$strict>;
|
|
278
361
|
export declare const columnChangeSchema: z.ZodObject<{
|
|
279
362
|
id: z.ZodString;
|
|
@@ -282,6 +365,7 @@ export declare const columnChangeSchema: z.ZodObject<{
|
|
|
282
365
|
name: z.ZodString;
|
|
283
366
|
is_first: z.ZodBoolean;
|
|
284
367
|
is_last: z.ZodBoolean;
|
|
368
|
+
category: z.ZodNullable<z.ZodString>;
|
|
285
369
|
changed: z.ZodBoolean;
|
|
286
370
|
}, z.core.$strict>;
|
|
287
371
|
export declare const columnTaskCountSchema: z.ZodObject<{
|
|
@@ -289,6 +373,7 @@ export declare const columnTaskCountSchema: z.ZodObject<{
|
|
|
289
373
|
name: z.ZodString;
|
|
290
374
|
is_first: z.ZodBoolean;
|
|
291
375
|
is_last: z.ZodBoolean;
|
|
376
|
+
category: z.ZodNullable<z.ZodString>;
|
|
292
377
|
taskCount: z.ZodNumber;
|
|
293
378
|
}, z.core.$strict>;
|
|
294
379
|
export declare const projectViewSchema: z.ZodObject<{
|
|
@@ -301,6 +386,7 @@ export declare const projectViewSchema: z.ZodObject<{
|
|
|
301
386
|
name: z.ZodString;
|
|
302
387
|
is_first: z.ZodBoolean;
|
|
303
388
|
is_last: z.ZodBoolean;
|
|
389
|
+
category: z.ZodNullable<z.ZodString>;
|
|
304
390
|
taskCount: z.ZodNumber;
|
|
305
391
|
}, z.core.$strict>>;
|
|
306
392
|
archivedTaskCount: z.ZodNumber;
|
|
@@ -327,12 +413,12 @@ export declare const taskBlameSchema: z.ZodObject<{
|
|
|
327
413
|
title: z.ZodObject<{
|
|
328
414
|
value: z.ZodString;
|
|
329
415
|
attribution: z.ZodNullable<z.ZodObject<{
|
|
330
|
-
actor_name: z.ZodNullable<z.ZodString>;
|
|
331
|
-
actor_email: z.ZodNullable<z.ZodString>;
|
|
332
416
|
actor_kind: z.ZodString;
|
|
333
|
-
|
|
417
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
334
418
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
335
419
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
420
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
421
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
336
422
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
337
423
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
338
424
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
@@ -347,12 +433,12 @@ export declare const taskBlameSchema: z.ZodObject<{
|
|
|
347
433
|
id: z.ZodString;
|
|
348
434
|
}, z.core.$strict>;
|
|
349
435
|
attribution: z.ZodNullable<z.ZodObject<{
|
|
350
|
-
actor_name: z.ZodNullable<z.ZodString>;
|
|
351
|
-
actor_email: z.ZodNullable<z.ZodString>;
|
|
352
436
|
actor_kind: z.ZodString;
|
|
353
|
-
|
|
437
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
354
438
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
355
439
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
440
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
441
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
356
442
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
357
443
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
358
444
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
@@ -364,12 +450,12 @@ export declare const taskBlameSchema: z.ZodObject<{
|
|
|
364
450
|
priority: z.ZodObject<{
|
|
365
451
|
value: z.ZodNullable<z.ZodString>;
|
|
366
452
|
attribution: z.ZodNullable<z.ZodObject<{
|
|
367
|
-
actor_name: z.ZodNullable<z.ZodString>;
|
|
368
|
-
actor_email: z.ZodNullable<z.ZodString>;
|
|
369
453
|
actor_kind: z.ZodString;
|
|
370
|
-
|
|
454
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
371
455
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
372
456
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
457
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
458
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
373
459
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
374
460
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
375
461
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
@@ -381,12 +467,12 @@ export declare const taskBlameSchema: z.ZodObject<{
|
|
|
381
467
|
due_at: z.ZodObject<{
|
|
382
468
|
value: z.ZodNullable<z.ZodNumber>;
|
|
383
469
|
attribution: z.ZodNullable<z.ZodObject<{
|
|
384
|
-
actor_name: z.ZodNullable<z.ZodString>;
|
|
385
|
-
actor_email: z.ZodNullable<z.ZodString>;
|
|
386
470
|
actor_kind: z.ZodString;
|
|
387
|
-
|
|
471
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
388
472
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
389
473
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
474
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
475
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
390
476
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
391
477
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
392
478
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
@@ -401,12 +487,12 @@ export declare const taskBlameSchema: z.ZodObject<{
|
|
|
401
487
|
id: z.ZodString;
|
|
402
488
|
}, z.core.$strict>>;
|
|
403
489
|
attribution: z.ZodNullable<z.ZodObject<{
|
|
404
|
-
actor_name: z.ZodNullable<z.ZodString>;
|
|
405
|
-
actor_email: z.ZodNullable<z.ZodString>;
|
|
406
490
|
actor_kind: z.ZodString;
|
|
407
|
-
|
|
491
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
408
492
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
409
493
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
494
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
495
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
410
496
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
411
497
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
412
498
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
@@ -421,12 +507,12 @@ export declare const taskBlameSchema: z.ZodObject<{
|
|
|
421
507
|
key: z.ZodString;
|
|
422
508
|
}, z.core.$strict>>;
|
|
423
509
|
attribution: z.ZodNullable<z.ZodObject<{
|
|
424
|
-
actor_name: z.ZodNullable<z.ZodString>;
|
|
425
|
-
actor_email: z.ZodNullable<z.ZodString>;
|
|
426
510
|
actor_kind: z.ZodString;
|
|
427
|
-
|
|
511
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
428
512
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
429
513
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
514
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
515
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
430
516
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
431
517
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
432
518
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
@@ -448,12 +534,12 @@ export declare const taskBlameSchema: z.ZodObject<{
|
|
|
448
534
|
key: z.ZodString;
|
|
449
535
|
}, z.core.$strict>;
|
|
450
536
|
attribution: z.ZodNullable<z.ZodObject<{
|
|
451
|
-
actor_name: z.ZodNullable<z.ZodString>;
|
|
452
|
-
actor_email: z.ZodNullable<z.ZodString>;
|
|
453
537
|
actor_kind: z.ZodString;
|
|
454
|
-
|
|
538
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
455
539
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
456
540
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
541
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
542
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
457
543
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
458
544
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
459
545
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
@@ -466,12 +552,12 @@ export declare const taskBlameSchema: z.ZodObject<{
|
|
|
466
552
|
line: z.ZodNumber;
|
|
467
553
|
text: z.ZodString;
|
|
468
554
|
attribution: z.ZodNullable<z.ZodObject<{
|
|
469
|
-
actor_name: z.ZodNullable<z.ZodString>;
|
|
470
|
-
actor_email: z.ZodNullable<z.ZodString>;
|
|
471
555
|
actor_kind: z.ZodString;
|
|
472
|
-
|
|
556
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
473
557
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
474
558
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
559
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
560
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
475
561
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
476
562
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
477
563
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
@@ -503,6 +589,7 @@ export declare const settingsFileSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
503
589
|
settings: z.ZodObject<{
|
|
504
590
|
$schema: z.ZodOptional<z.ZodString>;
|
|
505
591
|
defaultProject: z.ZodOptional<z.ZodString>;
|
|
592
|
+
busyTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
506
593
|
storage: z.ZodOptional<z.ZodObject<{
|
|
507
594
|
directory: z.ZodString;
|
|
508
595
|
}, z.core.$strict>>;
|
|
@@ -566,6 +653,7 @@ export declare const infoSchema: z.ZodObject<{
|
|
|
566
653
|
settings: z.ZodObject<{
|
|
567
654
|
$schema: z.ZodOptional<z.ZodString>;
|
|
568
655
|
defaultProject: z.ZodOptional<z.ZodString>;
|
|
656
|
+
busyTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
569
657
|
storage: z.ZodOptional<z.ZodObject<{
|
|
570
658
|
directory: z.ZodString;
|
|
571
659
|
}, z.core.$strict>>;
|
|
@@ -677,9 +765,33 @@ export declare const infoSchema: z.ZodObject<{
|
|
|
677
765
|
}, z.core.$strict>;
|
|
678
766
|
}, z.core.$strict>;
|
|
679
767
|
}, z.core.$strict>;
|
|
768
|
+
export declare const doctorSchema: z.ZodObject<{
|
|
769
|
+
ok: z.ZodBoolean;
|
|
770
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
771
|
+
id: z.ZodEnum<{
|
|
772
|
+
database: "database";
|
|
773
|
+
settings: "settings";
|
|
774
|
+
store_folder: "store_folder";
|
|
775
|
+
integrity: "integrity";
|
|
776
|
+
foreign_keys: "foreign_keys";
|
|
777
|
+
search_index: "search_index";
|
|
778
|
+
agent_skill: "agent_skill";
|
|
779
|
+
}>;
|
|
780
|
+
status: z.ZodEnum<{
|
|
781
|
+
ok: "ok";
|
|
782
|
+
warning: "warning";
|
|
783
|
+
problem: "problem";
|
|
784
|
+
}>;
|
|
785
|
+
message: z.ZodString;
|
|
786
|
+
remedy: z.ZodNullable<z.ZodString>;
|
|
787
|
+
}, z.core.$strict>>;
|
|
788
|
+
}, z.core.$strict>;
|
|
680
789
|
export declare const backupSchema: z.ZodObject<{
|
|
681
790
|
path: z.ZodString;
|
|
682
791
|
}, z.core.$strict>;
|
|
792
|
+
export declare const skillInstallSchema: z.ZodObject<{
|
|
793
|
+
source: z.ZodString;
|
|
794
|
+
}, z.core.$strict>;
|
|
683
795
|
export declare const restoreSchema: z.ZodObject<{
|
|
684
796
|
databasePath: z.ZodString;
|
|
685
797
|
previousVersion: z.ZodNumber;
|
|
@@ -710,6 +822,7 @@ export declare const resultSchemas: {
|
|
|
710
822
|
column_id: z.ZodString;
|
|
711
823
|
is_first: z.ZodBoolean;
|
|
712
824
|
is_last: z.ZodBoolean;
|
|
825
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
713
826
|
title: z.ZodString;
|
|
714
827
|
description: z.ZodNullable<z.ZodString>;
|
|
715
828
|
priority: z.ZodNullable<z.ZodString>;
|
|
@@ -718,6 +831,21 @@ export declare const resultSchemas: {
|
|
|
718
831
|
label_ids: z.ZodArray<z.ZodString>;
|
|
719
832
|
created_at: z.ZodNumber;
|
|
720
833
|
updated_at: z.ZodNumber;
|
|
834
|
+
claim: z.ZodNullable<z.ZodObject<{
|
|
835
|
+
state: z.ZodEnum<{
|
|
836
|
+
live: "live";
|
|
837
|
+
expired: "expired";
|
|
838
|
+
}>;
|
|
839
|
+
actor_kind: z.ZodString;
|
|
840
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
841
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
842
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
843
|
+
claimed_at: z.ZodNumber;
|
|
844
|
+
renewed_at: z.ZodNumber;
|
|
845
|
+
worked_at: z.ZodNumber;
|
|
846
|
+
lease_ms: z.ZodNumber;
|
|
847
|
+
expires_at: z.ZodNumber;
|
|
848
|
+
}, z.core.$strict>>;
|
|
721
849
|
}, z.core.$strict>;
|
|
722
850
|
TaskList: z.ZodArray<z.ZodObject<{
|
|
723
851
|
id: z.ZodString;
|
|
@@ -731,6 +859,44 @@ export declare const resultSchemas: {
|
|
|
731
859
|
column_id: z.ZodString;
|
|
732
860
|
is_first: z.ZodBoolean;
|
|
733
861
|
is_last: z.ZodBoolean;
|
|
862
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
863
|
+
title: z.ZodString;
|
|
864
|
+
description: z.ZodNullable<z.ZodString>;
|
|
865
|
+
priority: z.ZodNullable<z.ZodString>;
|
|
866
|
+
due_at: z.ZodNullable<z.ZodNumber>;
|
|
867
|
+
labels: z.ZodArray<z.ZodString>;
|
|
868
|
+
label_ids: z.ZodArray<z.ZodString>;
|
|
869
|
+
created_at: z.ZodNumber;
|
|
870
|
+
updated_at: z.ZodNumber;
|
|
871
|
+
claim: z.ZodNullable<z.ZodObject<{
|
|
872
|
+
state: z.ZodEnum<{
|
|
873
|
+
live: "live";
|
|
874
|
+
expired: "expired";
|
|
875
|
+
}>;
|
|
876
|
+
actor_kind: z.ZodString;
|
|
877
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
878
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
879
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
880
|
+
claimed_at: z.ZodNumber;
|
|
881
|
+
renewed_at: z.ZodNumber;
|
|
882
|
+
worked_at: z.ZodNumber;
|
|
883
|
+
lease_ms: z.ZodNumber;
|
|
884
|
+
expires_at: z.ZodNumber;
|
|
885
|
+
}, z.core.$strict>>;
|
|
886
|
+
}, z.core.$strict>>;
|
|
887
|
+
NextTask: z.ZodNullable<z.ZodObject<{
|
|
888
|
+
id: z.ZodString;
|
|
889
|
+
key: z.ZodString;
|
|
890
|
+
project_id: z.ZodString;
|
|
891
|
+
status: z.ZodEnum<{
|
|
892
|
+
Active: "Active";
|
|
893
|
+
Archived: "Archived";
|
|
894
|
+
}>;
|
|
895
|
+
column: z.ZodString;
|
|
896
|
+
column_id: z.ZodString;
|
|
897
|
+
is_first: z.ZodBoolean;
|
|
898
|
+
is_last: z.ZodBoolean;
|
|
899
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
734
900
|
title: z.ZodString;
|
|
735
901
|
description: z.ZodNullable<z.ZodString>;
|
|
736
902
|
priority: z.ZodNullable<z.ZodString>;
|
|
@@ -739,6 +905,21 @@ export declare const resultSchemas: {
|
|
|
739
905
|
label_ids: z.ZodArray<z.ZodString>;
|
|
740
906
|
created_at: z.ZodNumber;
|
|
741
907
|
updated_at: z.ZodNumber;
|
|
908
|
+
claim: z.ZodNullable<z.ZodObject<{
|
|
909
|
+
state: z.ZodEnum<{
|
|
910
|
+
live: "live";
|
|
911
|
+
expired: "expired";
|
|
912
|
+
}>;
|
|
913
|
+
actor_kind: z.ZodString;
|
|
914
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
915
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
916
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
917
|
+
claimed_at: z.ZodNumber;
|
|
918
|
+
renewed_at: z.ZodNumber;
|
|
919
|
+
worked_at: z.ZodNumber;
|
|
920
|
+
lease_ms: z.ZodNumber;
|
|
921
|
+
expires_at: z.ZodNumber;
|
|
922
|
+
}, z.core.$strict>>;
|
|
742
923
|
}, z.core.$strict>>;
|
|
743
924
|
TaskDetail: z.ZodObject<{
|
|
744
925
|
id: z.ZodString;
|
|
@@ -752,6 +933,7 @@ export declare const resultSchemas: {
|
|
|
752
933
|
column_id: z.ZodString;
|
|
753
934
|
is_first: z.ZodBoolean;
|
|
754
935
|
is_last: z.ZodBoolean;
|
|
936
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
755
937
|
title: z.ZodString;
|
|
756
938
|
description: z.ZodNullable<z.ZodString>;
|
|
757
939
|
priority: z.ZodNullable<z.ZodString>;
|
|
@@ -760,6 +942,21 @@ export declare const resultSchemas: {
|
|
|
760
942
|
label_ids: z.ZodArray<z.ZodString>;
|
|
761
943
|
created_at: z.ZodNumber;
|
|
762
944
|
updated_at: z.ZodNumber;
|
|
945
|
+
claim: z.ZodNullable<z.ZodObject<{
|
|
946
|
+
state: z.ZodEnum<{
|
|
947
|
+
live: "live";
|
|
948
|
+
expired: "expired";
|
|
949
|
+
}>;
|
|
950
|
+
actor_kind: z.ZodString;
|
|
951
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
952
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
953
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
954
|
+
claimed_at: z.ZodNumber;
|
|
955
|
+
renewed_at: z.ZodNumber;
|
|
956
|
+
worked_at: z.ZodNumber;
|
|
957
|
+
lease_ms: z.ZodNumber;
|
|
958
|
+
expires_at: z.ZodNumber;
|
|
959
|
+
}, z.core.$strict>>;
|
|
763
960
|
relations: z.ZodArray<z.ZodObject<{
|
|
764
961
|
id: z.ZodString;
|
|
765
962
|
type: z.ZodString;
|
|
@@ -779,6 +976,7 @@ export declare const resultSchemas: {
|
|
|
779
976
|
column_id: z.ZodString;
|
|
780
977
|
is_first: z.ZodBoolean;
|
|
781
978
|
is_last: z.ZodBoolean;
|
|
979
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
782
980
|
title: z.ZodString;
|
|
783
981
|
}, z.core.$strict>;
|
|
784
982
|
}, z.core.$strict>>;
|
|
@@ -800,12 +998,12 @@ export declare const resultSchemas: {
|
|
|
800
998
|
title: z.ZodObject<{
|
|
801
999
|
value: z.ZodString;
|
|
802
1000
|
attribution: z.ZodNullable<z.ZodObject<{
|
|
803
|
-
actor_name: z.ZodNullable<z.ZodString>;
|
|
804
|
-
actor_email: z.ZodNullable<z.ZodString>;
|
|
805
1001
|
actor_kind: z.ZodString;
|
|
806
|
-
|
|
1002
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
807
1003
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
808
1004
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1005
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
1006
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
809
1007
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
810
1008
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
811
1009
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
@@ -820,12 +1018,12 @@ export declare const resultSchemas: {
|
|
|
820
1018
|
id: z.ZodString;
|
|
821
1019
|
}, z.core.$strict>;
|
|
822
1020
|
attribution: z.ZodNullable<z.ZodObject<{
|
|
823
|
-
actor_name: z.ZodNullable<z.ZodString>;
|
|
824
|
-
actor_email: z.ZodNullable<z.ZodString>;
|
|
825
1021
|
actor_kind: z.ZodString;
|
|
826
|
-
|
|
1022
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
827
1023
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
828
1024
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1025
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
1026
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
829
1027
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
830
1028
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
831
1029
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
@@ -837,12 +1035,12 @@ export declare const resultSchemas: {
|
|
|
837
1035
|
priority: z.ZodObject<{
|
|
838
1036
|
value: z.ZodNullable<z.ZodString>;
|
|
839
1037
|
attribution: z.ZodNullable<z.ZodObject<{
|
|
840
|
-
actor_name: z.ZodNullable<z.ZodString>;
|
|
841
|
-
actor_email: z.ZodNullable<z.ZodString>;
|
|
842
1038
|
actor_kind: z.ZodString;
|
|
843
|
-
|
|
1039
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
844
1040
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
845
1041
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1042
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
1043
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
846
1044
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
847
1045
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
848
1046
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
@@ -854,12 +1052,12 @@ export declare const resultSchemas: {
|
|
|
854
1052
|
due_at: z.ZodObject<{
|
|
855
1053
|
value: z.ZodNullable<z.ZodNumber>;
|
|
856
1054
|
attribution: z.ZodNullable<z.ZodObject<{
|
|
857
|
-
actor_name: z.ZodNullable<z.ZodString>;
|
|
858
|
-
actor_email: z.ZodNullable<z.ZodString>;
|
|
859
1055
|
actor_kind: z.ZodString;
|
|
860
|
-
|
|
1056
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
861
1057
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
862
1058
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1059
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
1060
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
863
1061
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
864
1062
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
865
1063
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
@@ -874,12 +1072,12 @@ export declare const resultSchemas: {
|
|
|
874
1072
|
id: z.ZodString;
|
|
875
1073
|
}, z.core.$strict>>;
|
|
876
1074
|
attribution: z.ZodNullable<z.ZodObject<{
|
|
877
|
-
actor_name: z.ZodNullable<z.ZodString>;
|
|
878
|
-
actor_email: z.ZodNullable<z.ZodString>;
|
|
879
1075
|
actor_kind: z.ZodString;
|
|
880
|
-
|
|
1076
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
881
1077
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
882
1078
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1079
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
1080
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
883
1081
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
884
1082
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
885
1083
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
@@ -894,12 +1092,12 @@ export declare const resultSchemas: {
|
|
|
894
1092
|
key: z.ZodString;
|
|
895
1093
|
}, z.core.$strict>>;
|
|
896
1094
|
attribution: z.ZodNullable<z.ZodObject<{
|
|
897
|
-
actor_name: z.ZodNullable<z.ZodString>;
|
|
898
|
-
actor_email: z.ZodNullable<z.ZodString>;
|
|
899
1095
|
actor_kind: z.ZodString;
|
|
900
|
-
|
|
1096
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
901
1097
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
902
1098
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1099
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
1100
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
903
1101
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
904
1102
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
905
1103
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
@@ -921,12 +1119,12 @@ export declare const resultSchemas: {
|
|
|
921
1119
|
key: z.ZodString;
|
|
922
1120
|
}, z.core.$strict>;
|
|
923
1121
|
attribution: z.ZodNullable<z.ZodObject<{
|
|
924
|
-
actor_name: z.ZodNullable<z.ZodString>;
|
|
925
|
-
actor_email: z.ZodNullable<z.ZodString>;
|
|
926
1122
|
actor_kind: z.ZodString;
|
|
927
|
-
|
|
1123
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
928
1124
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
929
1125
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1126
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
1127
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
930
1128
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
931
1129
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
932
1130
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
@@ -939,12 +1137,12 @@ export declare const resultSchemas: {
|
|
|
939
1137
|
line: z.ZodNumber;
|
|
940
1138
|
text: z.ZodString;
|
|
941
1139
|
attribution: z.ZodNullable<z.ZodObject<{
|
|
942
|
-
actor_name: z.ZodNullable<z.ZodString>;
|
|
943
|
-
actor_email: z.ZodNullable<z.ZodString>;
|
|
944
1140
|
actor_kind: z.ZodString;
|
|
945
|
-
|
|
1141
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
946
1142
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
947
1143
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1144
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
1145
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
948
1146
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
949
1147
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
950
1148
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
@@ -966,6 +1164,7 @@ export declare const resultSchemas: {
|
|
|
966
1164
|
column_id: z.ZodString;
|
|
967
1165
|
is_first: z.ZodBoolean;
|
|
968
1166
|
is_last: z.ZodBoolean;
|
|
1167
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
969
1168
|
title: z.ZodString;
|
|
970
1169
|
description: z.ZodNullable<z.ZodString>;
|
|
971
1170
|
priority: z.ZodNullable<z.ZodString>;
|
|
@@ -974,6 +1173,21 @@ export declare const resultSchemas: {
|
|
|
974
1173
|
label_ids: z.ZodArray<z.ZodString>;
|
|
975
1174
|
created_at: z.ZodNumber;
|
|
976
1175
|
updated_at: z.ZodNumber;
|
|
1176
|
+
claim: z.ZodNullable<z.ZodObject<{
|
|
1177
|
+
state: z.ZodEnum<{
|
|
1178
|
+
live: "live";
|
|
1179
|
+
expired: "expired";
|
|
1180
|
+
}>;
|
|
1181
|
+
actor_kind: z.ZodString;
|
|
1182
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
1183
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
1184
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1185
|
+
claimed_at: z.ZodNumber;
|
|
1186
|
+
renewed_at: z.ZodNumber;
|
|
1187
|
+
worked_at: z.ZodNumber;
|
|
1188
|
+
lease_ms: z.ZodNumber;
|
|
1189
|
+
expires_at: z.ZodNumber;
|
|
1190
|
+
}, z.core.$strict>>;
|
|
977
1191
|
relations: z.ZodArray<z.ZodObject<{
|
|
978
1192
|
id: z.ZodString;
|
|
979
1193
|
type: z.ZodString;
|
|
@@ -993,6 +1207,7 @@ export declare const resultSchemas: {
|
|
|
993
1207
|
column_id: z.ZodString;
|
|
994
1208
|
is_first: z.ZodBoolean;
|
|
995
1209
|
is_last: z.ZodBoolean;
|
|
1210
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
996
1211
|
title: z.ZodString;
|
|
997
1212
|
}, z.core.$strict>;
|
|
998
1213
|
}, z.core.$strict>>;
|
|
@@ -1035,6 +1250,7 @@ export declare const resultSchemas: {
|
|
|
1035
1250
|
column_id: z.ZodString;
|
|
1036
1251
|
is_first: z.ZodBoolean;
|
|
1037
1252
|
is_last: z.ZodBoolean;
|
|
1253
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
1038
1254
|
title: z.ZodString;
|
|
1039
1255
|
description: z.ZodNullable<z.ZodString>;
|
|
1040
1256
|
priority: z.ZodNullable<z.ZodString>;
|
|
@@ -1043,6 +1259,21 @@ export declare const resultSchemas: {
|
|
|
1043
1259
|
label_ids: z.ZodArray<z.ZodString>;
|
|
1044
1260
|
created_at: z.ZodNumber;
|
|
1045
1261
|
updated_at: z.ZodNumber;
|
|
1262
|
+
claim: z.ZodNullable<z.ZodObject<{
|
|
1263
|
+
state: z.ZodEnum<{
|
|
1264
|
+
live: "live";
|
|
1265
|
+
expired: "expired";
|
|
1266
|
+
}>;
|
|
1267
|
+
actor_kind: z.ZodString;
|
|
1268
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
1269
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
1270
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1271
|
+
claimed_at: z.ZodNumber;
|
|
1272
|
+
renewed_at: z.ZodNumber;
|
|
1273
|
+
worked_at: z.ZodNumber;
|
|
1274
|
+
lease_ms: z.ZodNumber;
|
|
1275
|
+
expires_at: z.ZodNumber;
|
|
1276
|
+
}, z.core.$strict>>;
|
|
1046
1277
|
changed: z.ZodBoolean;
|
|
1047
1278
|
}, z.core.$strict>;
|
|
1048
1279
|
TaskChanges: z.ZodArray<z.ZodObject<{
|
|
@@ -1057,6 +1288,7 @@ export declare const resultSchemas: {
|
|
|
1057
1288
|
column_id: z.ZodString;
|
|
1058
1289
|
is_first: z.ZodBoolean;
|
|
1059
1290
|
is_last: z.ZodBoolean;
|
|
1291
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
1060
1292
|
title: z.ZodString;
|
|
1061
1293
|
description: z.ZodNullable<z.ZodString>;
|
|
1062
1294
|
priority: z.ZodNullable<z.ZodString>;
|
|
@@ -1065,6 +1297,21 @@ export declare const resultSchemas: {
|
|
|
1065
1297
|
label_ids: z.ZodArray<z.ZodString>;
|
|
1066
1298
|
created_at: z.ZodNumber;
|
|
1067
1299
|
updated_at: z.ZodNumber;
|
|
1300
|
+
claim: z.ZodNullable<z.ZodObject<{
|
|
1301
|
+
state: z.ZodEnum<{
|
|
1302
|
+
live: "live";
|
|
1303
|
+
expired: "expired";
|
|
1304
|
+
}>;
|
|
1305
|
+
actor_kind: z.ZodString;
|
|
1306
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
1307
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
1308
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1309
|
+
claimed_at: z.ZodNumber;
|
|
1310
|
+
renewed_at: z.ZodNumber;
|
|
1311
|
+
worked_at: z.ZodNumber;
|
|
1312
|
+
lease_ms: z.ZodNumber;
|
|
1313
|
+
expires_at: z.ZodNumber;
|
|
1314
|
+
}, z.core.$strict>>;
|
|
1068
1315
|
changed: z.ZodBoolean;
|
|
1069
1316
|
}, z.core.$strict>>;
|
|
1070
1317
|
Relation: z.ZodObject<{
|
|
@@ -1086,6 +1333,7 @@ export declare const resultSchemas: {
|
|
|
1086
1333
|
column_id: z.ZodString;
|
|
1087
1334
|
is_first: z.ZodBoolean;
|
|
1088
1335
|
is_last: z.ZodBoolean;
|
|
1336
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
1089
1337
|
title: z.ZodString;
|
|
1090
1338
|
}, z.core.$strict>;
|
|
1091
1339
|
}, z.core.$strict>;
|
|
@@ -1108,6 +1356,7 @@ export declare const resultSchemas: {
|
|
|
1108
1356
|
column_id: z.ZodString;
|
|
1109
1357
|
is_first: z.ZodBoolean;
|
|
1110
1358
|
is_last: z.ZodBoolean;
|
|
1359
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
1111
1360
|
title: z.ZodString;
|
|
1112
1361
|
}, z.core.$strict>;
|
|
1113
1362
|
}, z.core.$strict>>;
|
|
@@ -1177,6 +1426,7 @@ export declare const resultSchemas: {
|
|
|
1177
1426
|
name: z.ZodString;
|
|
1178
1427
|
is_first: z.ZodBoolean;
|
|
1179
1428
|
is_last: z.ZodBoolean;
|
|
1429
|
+
category: z.ZodNullable<z.ZodString>;
|
|
1180
1430
|
taskCount: z.ZodNumber;
|
|
1181
1431
|
}, z.core.$strict>>;
|
|
1182
1432
|
archivedTaskCount: z.ZodNumber;
|
|
@@ -1188,6 +1438,7 @@ export declare const resultSchemas: {
|
|
|
1188
1438
|
name: z.ZodString;
|
|
1189
1439
|
is_first: z.ZodBoolean;
|
|
1190
1440
|
is_last: z.ZodBoolean;
|
|
1441
|
+
category: z.ZodNullable<z.ZodString>;
|
|
1191
1442
|
}, z.core.$strict>;
|
|
1192
1443
|
ColumnChange: z.ZodObject<{
|
|
1193
1444
|
id: z.ZodString;
|
|
@@ -1196,6 +1447,7 @@ export declare const resultSchemas: {
|
|
|
1196
1447
|
name: z.ZodString;
|
|
1197
1448
|
is_first: z.ZodBoolean;
|
|
1198
1449
|
is_last: z.ZodBoolean;
|
|
1450
|
+
category: z.ZodNullable<z.ZodString>;
|
|
1199
1451
|
changed: z.ZodBoolean;
|
|
1200
1452
|
}, z.core.$strict>;
|
|
1201
1453
|
ColumnTaskCount: z.ZodObject<{
|
|
@@ -1203,6 +1455,7 @@ export declare const resultSchemas: {
|
|
|
1203
1455
|
name: z.ZodString;
|
|
1204
1456
|
is_first: z.ZodBoolean;
|
|
1205
1457
|
is_last: z.ZodBoolean;
|
|
1458
|
+
category: z.ZodNullable<z.ZodString>;
|
|
1206
1459
|
taskCount: z.ZodNumber;
|
|
1207
1460
|
}, z.core.$strict>;
|
|
1208
1461
|
ColumnList: z.ZodArray<z.ZodObject<{
|
|
@@ -1210,6 +1463,7 @@ export declare const resultSchemas: {
|
|
|
1210
1463
|
name: z.ZodString;
|
|
1211
1464
|
is_first: z.ZodBoolean;
|
|
1212
1465
|
is_last: z.ZodBoolean;
|
|
1466
|
+
category: z.ZodNullable<z.ZodString>;
|
|
1213
1467
|
taskCount: z.ZodNumber;
|
|
1214
1468
|
}, z.core.$strict>>;
|
|
1215
1469
|
Label: z.ZodObject<{
|
|
@@ -1268,12 +1522,12 @@ export declare const resultSchemas: {
|
|
|
1268
1522
|
changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
|
|
1269
1523
|
}, z.core.$strict>>;
|
|
1270
1524
|
Actor: z.ZodObject<{
|
|
1271
|
-
actor_name: z.ZodNullable<z.ZodString>;
|
|
1272
|
-
actor_email: z.ZodNullable<z.ZodString>;
|
|
1273
1525
|
actor_kind: z.ZodString;
|
|
1274
|
-
|
|
1526
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
1275
1527
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
1276
1528
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1529
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
1530
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
1277
1531
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
1278
1532
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
1279
1533
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
@@ -1293,6 +1547,7 @@ export declare const resultSchemas: {
|
|
|
1293
1547
|
settings: z.ZodObject<{
|
|
1294
1548
|
$schema: z.ZodOptional<z.ZodString>;
|
|
1295
1549
|
defaultProject: z.ZodOptional<z.ZodString>;
|
|
1550
|
+
busyTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1296
1551
|
storage: z.ZodOptional<z.ZodObject<{
|
|
1297
1552
|
directory: z.ZodString;
|
|
1298
1553
|
}, z.core.$strict>>;
|
|
@@ -1404,6 +1659,27 @@ export declare const resultSchemas: {
|
|
|
1404
1659
|
}, z.core.$strict>;
|
|
1405
1660
|
}, z.core.$strict>;
|
|
1406
1661
|
}, z.core.$strict>;
|
|
1662
|
+
Doctor: z.ZodObject<{
|
|
1663
|
+
ok: z.ZodBoolean;
|
|
1664
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
1665
|
+
id: z.ZodEnum<{
|
|
1666
|
+
database: "database";
|
|
1667
|
+
settings: "settings";
|
|
1668
|
+
store_folder: "store_folder";
|
|
1669
|
+
integrity: "integrity";
|
|
1670
|
+
foreign_keys: "foreign_keys";
|
|
1671
|
+
search_index: "search_index";
|
|
1672
|
+
agent_skill: "agent_skill";
|
|
1673
|
+
}>;
|
|
1674
|
+
status: z.ZodEnum<{
|
|
1675
|
+
ok: "ok";
|
|
1676
|
+
warning: "warning";
|
|
1677
|
+
problem: "problem";
|
|
1678
|
+
}>;
|
|
1679
|
+
message: z.ZodString;
|
|
1680
|
+
remedy: z.ZodNullable<z.ZodString>;
|
|
1681
|
+
}, z.core.$strict>>;
|
|
1682
|
+
}, z.core.$strict>;
|
|
1407
1683
|
Backup: z.ZodObject<{
|
|
1408
1684
|
path: z.ZodString;
|
|
1409
1685
|
}, z.core.$strict>;
|
|
@@ -1424,6 +1700,9 @@ export declare const resultSchemas: {
|
|
|
1424
1700
|
databasePath: z.ZodString;
|
|
1425
1701
|
taskCount: z.ZodNumber;
|
|
1426
1702
|
}, z.core.$strict>;
|
|
1703
|
+
SkillInstall: z.ZodObject<{
|
|
1704
|
+
source: z.ZodString;
|
|
1705
|
+
}, z.core.$strict>;
|
|
1427
1706
|
ErrorEnvelope: z.ZodObject<{
|
|
1428
1707
|
error: z.ZodObject<{
|
|
1429
1708
|
code: z.ZodEnum<{
|
|
@@ -1471,6 +1750,8 @@ export declare const resultSchemas: {
|
|
|
1471
1750
|
already_exists: "already_exists";
|
|
1472
1751
|
parent_exists: "parent_exists";
|
|
1473
1752
|
relation_changed: "relation_changed";
|
|
1753
|
+
column_changed: "column_changed";
|
|
1754
|
+
value_changed: "value_changed";
|
|
1474
1755
|
cycle: "cycle";
|
|
1475
1756
|
different_project: "different_project";
|
|
1476
1757
|
different_column: "different_column";
|
|
@@ -1494,6 +1775,9 @@ export declare const resultSchemas: {
|
|
|
1494
1775
|
corrupt: "corrupt";
|
|
1495
1776
|
not_database: "not_database";
|
|
1496
1777
|
missing_index: "missing_index";
|
|
1778
|
+
claimed: "claimed";
|
|
1779
|
+
not_claimed: "not_claimed";
|
|
1780
|
+
claim_limit: "claim_limit";
|
|
1497
1781
|
io: "io";
|
|
1498
1782
|
}>>;
|
|
1499
1783
|
matchCount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1504,7 +1788,12 @@ export declare const resultSchemas: {
|
|
|
1504
1788
|
backupPath: z.ZodOptional<z.ZodString>;
|
|
1505
1789
|
schemaVersion: z.ZodOptional<z.ZodNumber>;
|
|
1506
1790
|
supportedSchemaVersion: z.ZodOptional<z.ZodNumber>;
|
|
1791
|
+
expectedColumn: z.ZodOptional<z.ZodString>;
|
|
1792
|
+
actualColumn: z.ZodOptional<z.ZodString>;
|
|
1793
|
+
changedFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1794
|
+
claimExpiresAt: z.ZodOptional<z.ZodNumber>;
|
|
1507
1795
|
logPath: z.ZodOptional<z.ZodString>;
|
|
1796
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
1508
1797
|
cause: z.ZodOptional<z.ZodObject<{
|
|
1509
1798
|
code: z.ZodOptional<z.ZodString>;
|
|
1510
1799
|
errcode: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1659,9 +1948,13 @@ export declare const resultSchemas: {
|
|
|
1659
1948
|
max: z.ZodNullable<z.ZodNumber>;
|
|
1660
1949
|
}, z.core.$strict>], "kind">;
|
|
1661
1950
|
schemaRef: z.ZodString;
|
|
1662
|
-
mode: z.
|
|
1951
|
+
mode: z.ZodEnum<{
|
|
1952
|
+
json: "json";
|
|
1953
|
+
"json-lines": "json-lines";
|
|
1954
|
+
}>;
|
|
1663
1955
|
stream: z.ZodLiteral<"stdout">;
|
|
1664
1956
|
exitCode: z.ZodLiteral<0>;
|
|
1957
|
+
findingsExitCode: z.ZodOptional<z.ZodLiteral<1>>;
|
|
1665
1958
|
}, z.core.$strict>>>;
|
|
1666
1959
|
}, z.core.$strict>>;
|
|
1667
1960
|
error: z.ZodObject<{
|
|
@@ -1694,10 +1987,12 @@ export type PresentedLabel = z.infer<typeof labelSchema>;
|
|
|
1694
1987
|
export type PresentedActivity = z.infer<typeof activitySchema>;
|
|
1695
1988
|
export type PresentedActor = z.infer<typeof actorSchema>;
|
|
1696
1989
|
export type PresentedInfo = z.infer<typeof infoSchema>;
|
|
1990
|
+
export type PresentedDoctor = z.infer<typeof doctorSchema>;
|
|
1697
1991
|
export type PresentedBackup = z.infer<typeof backupSchema>;
|
|
1698
1992
|
export type PresentedRestore = z.infer<typeof restoreSchema>;
|
|
1699
1993
|
export type PresentedMigrate = z.infer<typeof migrateSchema>;
|
|
1700
1994
|
export type PresentedReindex = z.infer<typeof reindexSchema>;
|
|
1995
|
+
export type PresentedSkillInstall = z.infer<typeof skillInstallSchema>;
|
|
1701
1996
|
/** Generates local references against the extracted schemas document in draft-07 spec */
|
|
1702
1997
|
export declare function generateResultSchemas(schemas?: Record<string, z.ZodType>): {
|
|
1703
1998
|
$schema: string;
|