@zinn-dev/cli 0.43.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/README.md +1 -1
- package/index.js +3 -3
- package/package.json +7 -4
- package/skills/zinn/SKILL.md +7 -9
- package/src/actor.d.ts +8 -0
- package/src/actor.js +5 -1
- package/src/capabilities-schema.d.ts +6 -2
- package/src/column-hint.js +2 -5
- 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 +34 -3
- package/src/errors.js +49 -7
- package/src/expected-values.d.ts +48 -0
- package/src/expected-values.js +60 -0
- package/src/failure-log.d.ts +6 -0
- package/src/failure-log.js +167 -0
- package/src/follow.d.ts +9 -0
- package/src/follow.js +58 -0
- package/src/input.d.ts +10 -7
- package/src/input.js +57 -13
- package/src/lib.d.ts +12 -7
- package/src/lib.js +70 -41
- package/src/list-continuation.js +1 -4
- package/src/list-limit.d.ts +2 -2
- package/src/list-limit.js +2 -2
- package/src/overview.d.ts +10 -0
- package/src/overview.js +41 -0
- package/src/presentation/activity-presentation.d.ts +4 -0
- package/src/presentation/activity-presentation.js +154 -38
- package/src/presentation/column-presentation.d.ts +22 -2
- package/src/presentation/column-presentation.js +68 -12
- package/src/presentation/doctor-presentation.d.ts +4 -0
- package/src/presentation/doctor-presentation.js +24 -0
- package/src/presentation/info-presentation.js +36 -6
- package/src/presentation/relation-presentation.d.ts +6 -2
- package/src/presentation/relation-presentation.js +37 -26
- package/src/presentation/task-blame-presentation.d.ts +8 -0
- package/src/presentation/task-blame-presentation.js +56 -0
- package/src/presentation/task-presentation.d.ts +8 -1
- package/src/presentation/task-presentation.js +59 -10
- package/src/result-schemas.d.ts +780 -20
- package/src/result-schemas.js +99 -2
- package/src/results.d.ts +6 -2
- package/src/results.js +9 -3
- package/src/routes/activity-router.d.ts +21 -4
- package/src/routes/activity-router.js +107 -60
- 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/info-router.js +3 -2
- package/src/routes/label-router.d.ts +39 -6
- package/src/routes/label-router.js +22 -5
- package/src/routes/migrate-router.js +2 -2
- package/src/routes/project-router.d.ts +61 -12
- package/src/routes/project-router.js +103 -45
- package/src/routes/restore-router.js +11 -5
- package/src/routes/router.js +25 -16
- package/src/routes/routes.d.ts +455 -41
- 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 +272 -19
- package/src/routes/task-router.js +325 -40
- package/src/routes/whoami-router.js +1 -1
- package/src/run-facts.d.ts +14 -0
- package/src/run-facts.js +14 -0
- package/src/store-folder.d.ts +5 -0
- package/src/store-folder.js +16 -0
- package/src/telemetry.d.ts +31 -0
- package/src/telemetry.js +329 -0
- package/src/text-edit.d.ts +2 -2
- package/src/text-input.d.ts +19 -1
- package/src/text-input.js +27 -10
- package/src/types.d.ts +1 -1
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;
|
|
@@ -9,6 +24,9 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
9
24
|
}>;
|
|
10
25
|
column: z.ZodString;
|
|
11
26
|
column_id: z.ZodString;
|
|
27
|
+
is_first: z.ZodBoolean;
|
|
28
|
+
is_last: z.ZodBoolean;
|
|
29
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
12
30
|
title: z.ZodString;
|
|
13
31
|
description: z.ZodNullable<z.ZodString>;
|
|
14
32
|
priority: z.ZodNullable<z.ZodString>;
|
|
@@ -17,6 +35,21 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
17
35
|
label_ids: z.ZodArray<z.ZodString>;
|
|
18
36
|
created_at: z.ZodNumber;
|
|
19
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>>;
|
|
20
53
|
}, z.core.$strict>;
|
|
21
54
|
export declare const relationSchema: z.ZodObject<{
|
|
22
55
|
id: z.ZodString;
|
|
@@ -35,6 +68,9 @@ export declare const relationSchema: z.ZodObject<{
|
|
|
35
68
|
Archived: "Archived";
|
|
36
69
|
}>;
|
|
37
70
|
column_id: z.ZodString;
|
|
71
|
+
is_first: z.ZodBoolean;
|
|
72
|
+
is_last: z.ZodBoolean;
|
|
73
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
38
74
|
title: z.ZodString;
|
|
39
75
|
}, z.core.$strict>;
|
|
40
76
|
}, z.core.$strict>;
|
|
@@ -66,21 +102,37 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
66
102
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
67
103
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
68
104
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
105
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
69
106
|
entity_type: z.ZodString;
|
|
70
107
|
entity_id: z.ZodString;
|
|
71
108
|
action: z.ZodString;
|
|
72
109
|
changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
|
|
73
110
|
}, z.core.$strict>;
|
|
74
111
|
export declare const actorSchema: z.ZodObject<{
|
|
112
|
+
actor_kind: z.ZodString;
|
|
75
113
|
actor_name: z.ZodNullable<z.ZodString>;
|
|
114
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
115
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
76
116
|
actor_email: z.ZodNullable<z.ZodString>;
|
|
77
|
-
actor_kind: z.ZodString;
|
|
78
117
|
actor_source: z.ZodNullable<z.ZodString>;
|
|
118
|
+
actor_agent: z.ZodNullable<z.ZodString>;
|
|
119
|
+
actor_model: z.ZodNullable<z.ZodString>;
|
|
120
|
+
actor_effort: z.ZodNullable<z.ZodString>;
|
|
121
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
122
|
+
}, z.core.$strict>;
|
|
123
|
+
export declare const taskAttributionSchema: z.ZodObject<{
|
|
124
|
+
actor_kind: z.ZodString;
|
|
125
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
79
126
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
80
127
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
128
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
129
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
81
130
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
82
131
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
83
132
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
133
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
134
|
+
id: z.ZodString;
|
|
135
|
+
created_at: z.ZodNumber;
|
|
84
136
|
}, z.core.$strict>;
|
|
85
137
|
export declare const taskDetailSchema: z.ZodObject<{
|
|
86
138
|
id: z.ZodString;
|
|
@@ -92,6 +144,9 @@ export declare const taskDetailSchema: z.ZodObject<{
|
|
|
92
144
|
}>;
|
|
93
145
|
column: z.ZodString;
|
|
94
146
|
column_id: z.ZodString;
|
|
147
|
+
is_first: z.ZodBoolean;
|
|
148
|
+
is_last: z.ZodBoolean;
|
|
149
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
95
150
|
title: z.ZodString;
|
|
96
151
|
description: z.ZodNullable<z.ZodString>;
|
|
97
152
|
priority: z.ZodNullable<z.ZodString>;
|
|
@@ -100,6 +155,21 @@ export declare const taskDetailSchema: z.ZodObject<{
|
|
|
100
155
|
label_ids: z.ZodArray<z.ZodString>;
|
|
101
156
|
created_at: z.ZodNumber;
|
|
102
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>>;
|
|
103
173
|
relations: z.ZodArray<z.ZodObject<{
|
|
104
174
|
id: z.ZodString;
|
|
105
175
|
type: z.ZodString;
|
|
@@ -117,6 +187,9 @@ export declare const taskDetailSchema: z.ZodObject<{
|
|
|
117
187
|
Archived: "Archived";
|
|
118
188
|
}>;
|
|
119
189
|
column_id: z.ZodString;
|
|
190
|
+
is_first: z.ZodBoolean;
|
|
191
|
+
is_last: z.ZodBoolean;
|
|
192
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
120
193
|
title: z.ZodString;
|
|
121
194
|
}, z.core.$strict>;
|
|
122
195
|
}, z.core.$strict>>;
|
|
@@ -139,6 +212,9 @@ export declare const taskDetailHistorySchema: z.ZodObject<{
|
|
|
139
212
|
}>;
|
|
140
213
|
column: z.ZodString;
|
|
141
214
|
column_id: z.ZodString;
|
|
215
|
+
is_first: z.ZodBoolean;
|
|
216
|
+
is_last: z.ZodBoolean;
|
|
217
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
142
218
|
title: z.ZodString;
|
|
143
219
|
description: z.ZodNullable<z.ZodString>;
|
|
144
220
|
priority: z.ZodNullable<z.ZodString>;
|
|
@@ -147,6 +223,21 @@ export declare const taskDetailHistorySchema: z.ZodObject<{
|
|
|
147
223
|
label_ids: z.ZodArray<z.ZodString>;
|
|
148
224
|
created_at: z.ZodNumber;
|
|
149
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>>;
|
|
150
241
|
relations: z.ZodArray<z.ZodObject<{
|
|
151
242
|
id: z.ZodString;
|
|
152
243
|
type: z.ZodString;
|
|
@@ -164,6 +255,9 @@ export declare const taskDetailHistorySchema: z.ZodObject<{
|
|
|
164
255
|
Archived: "Archived";
|
|
165
256
|
}>;
|
|
166
257
|
column_id: z.ZodString;
|
|
258
|
+
is_first: z.ZodBoolean;
|
|
259
|
+
is_last: z.ZodBoolean;
|
|
260
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
167
261
|
title: z.ZodString;
|
|
168
262
|
}, z.core.$strict>;
|
|
169
263
|
}, z.core.$strict>>;
|
|
@@ -187,6 +281,7 @@ export declare const taskDetailHistorySchema: z.ZodObject<{
|
|
|
187
281
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
188
282
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
189
283
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
284
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
190
285
|
entity_type: z.ZodString;
|
|
191
286
|
entity_id: z.ZodString;
|
|
192
287
|
action: z.ZodString;
|
|
@@ -203,6 +298,9 @@ export declare const taskChangeSchema: z.ZodObject<{
|
|
|
203
298
|
}>;
|
|
204
299
|
column: z.ZodString;
|
|
205
300
|
column_id: z.ZodString;
|
|
301
|
+
is_first: z.ZodBoolean;
|
|
302
|
+
is_last: z.ZodBoolean;
|
|
303
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
206
304
|
title: z.ZodString;
|
|
207
305
|
description: z.ZodNullable<z.ZodString>;
|
|
208
306
|
priority: z.ZodNullable<z.ZodString>;
|
|
@@ -211,6 +309,21 @@ export declare const taskChangeSchema: z.ZodObject<{
|
|
|
211
309
|
label_ids: z.ZodArray<z.ZodString>;
|
|
212
310
|
created_at: z.ZodNumber;
|
|
213
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>>;
|
|
214
327
|
changed: z.ZodBoolean;
|
|
215
328
|
}, z.core.$strict>;
|
|
216
329
|
export declare const projectSchema: z.ZodObject<{
|
|
@@ -241,17 +354,26 @@ export declare const columnSchema: z.ZodObject<{
|
|
|
241
354
|
project: z.ZodString;
|
|
242
355
|
project_id: z.ZodString;
|
|
243
356
|
name: z.ZodString;
|
|
357
|
+
is_first: z.ZodBoolean;
|
|
358
|
+
is_last: z.ZodBoolean;
|
|
359
|
+
category: z.ZodNullable<z.ZodString>;
|
|
244
360
|
}, z.core.$strict>;
|
|
245
361
|
export declare const columnChangeSchema: z.ZodObject<{
|
|
246
362
|
id: z.ZodString;
|
|
247
363
|
project: z.ZodString;
|
|
248
364
|
project_id: z.ZodString;
|
|
249
365
|
name: z.ZodString;
|
|
366
|
+
is_first: z.ZodBoolean;
|
|
367
|
+
is_last: z.ZodBoolean;
|
|
368
|
+
category: z.ZodNullable<z.ZodString>;
|
|
250
369
|
changed: z.ZodBoolean;
|
|
251
370
|
}, z.core.$strict>;
|
|
252
371
|
export declare const columnTaskCountSchema: z.ZodObject<{
|
|
253
372
|
id: z.ZodString;
|
|
254
373
|
name: z.ZodString;
|
|
374
|
+
is_first: z.ZodBoolean;
|
|
375
|
+
is_last: z.ZodBoolean;
|
|
376
|
+
category: z.ZodNullable<z.ZodString>;
|
|
255
377
|
taskCount: z.ZodNumber;
|
|
256
378
|
}, z.core.$strict>;
|
|
257
379
|
export declare const projectViewSchema: z.ZodObject<{
|
|
@@ -262,6 +384,9 @@ export declare const projectViewSchema: z.ZodObject<{
|
|
|
262
384
|
columns: z.ZodArray<z.ZodObject<{
|
|
263
385
|
id: z.ZodString;
|
|
264
386
|
name: z.ZodString;
|
|
387
|
+
is_first: z.ZodBoolean;
|
|
388
|
+
is_last: z.ZodBoolean;
|
|
389
|
+
category: z.ZodNullable<z.ZodString>;
|
|
265
390
|
taskCount: z.ZodNumber;
|
|
266
391
|
}, z.core.$strict>>;
|
|
267
392
|
archivedTaskCount: z.ZodNumber;
|
|
@@ -279,6 +404,169 @@ export declare const labelChangeSchema: z.ZodObject<{
|
|
|
279
404
|
description: z.ZodNullable<z.ZodString>;
|
|
280
405
|
changed: z.ZodBoolean;
|
|
281
406
|
}, z.core.$strict>;
|
|
407
|
+
export declare const taskBlameSchema: z.ZodObject<{
|
|
408
|
+
task: z.ZodObject<{
|
|
409
|
+
id: z.ZodString;
|
|
410
|
+
key: z.ZodString;
|
|
411
|
+
}, z.core.$strict>;
|
|
412
|
+
fields: z.ZodObject<{
|
|
413
|
+
title: z.ZodObject<{
|
|
414
|
+
value: z.ZodString;
|
|
415
|
+
attribution: z.ZodNullable<z.ZodObject<{
|
|
416
|
+
actor_kind: z.ZodString;
|
|
417
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
418
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
419
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
420
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
421
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
422
|
+
actor_agent: z.ZodNullable<z.ZodString>;
|
|
423
|
+
actor_model: z.ZodNullable<z.ZodString>;
|
|
424
|
+
actor_effort: z.ZodNullable<z.ZodString>;
|
|
425
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
426
|
+
id: z.ZodString;
|
|
427
|
+
created_at: z.ZodNumber;
|
|
428
|
+
}, z.core.$strict>>;
|
|
429
|
+
}, z.core.$strict>;
|
|
430
|
+
column: z.ZodObject<{
|
|
431
|
+
value: z.ZodObject<{
|
|
432
|
+
name: z.ZodString;
|
|
433
|
+
id: z.ZodString;
|
|
434
|
+
}, z.core.$strict>;
|
|
435
|
+
attribution: z.ZodNullable<z.ZodObject<{
|
|
436
|
+
actor_kind: z.ZodString;
|
|
437
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
438
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
439
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
440
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
441
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
442
|
+
actor_agent: z.ZodNullable<z.ZodString>;
|
|
443
|
+
actor_model: z.ZodNullable<z.ZodString>;
|
|
444
|
+
actor_effort: z.ZodNullable<z.ZodString>;
|
|
445
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
446
|
+
id: z.ZodString;
|
|
447
|
+
created_at: z.ZodNumber;
|
|
448
|
+
}, z.core.$strict>>;
|
|
449
|
+
}, z.core.$strict>;
|
|
450
|
+
priority: z.ZodObject<{
|
|
451
|
+
value: z.ZodNullable<z.ZodString>;
|
|
452
|
+
attribution: z.ZodNullable<z.ZodObject<{
|
|
453
|
+
actor_kind: z.ZodString;
|
|
454
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
455
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
456
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
457
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
458
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
459
|
+
actor_agent: z.ZodNullable<z.ZodString>;
|
|
460
|
+
actor_model: z.ZodNullable<z.ZodString>;
|
|
461
|
+
actor_effort: z.ZodNullable<z.ZodString>;
|
|
462
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
463
|
+
id: z.ZodString;
|
|
464
|
+
created_at: z.ZodNumber;
|
|
465
|
+
}, z.core.$strict>>;
|
|
466
|
+
}, z.core.$strict>;
|
|
467
|
+
due_at: z.ZodObject<{
|
|
468
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
469
|
+
attribution: z.ZodNullable<z.ZodObject<{
|
|
470
|
+
actor_kind: z.ZodString;
|
|
471
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
472
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
473
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
474
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
475
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
476
|
+
actor_agent: z.ZodNullable<z.ZodString>;
|
|
477
|
+
actor_model: z.ZodNullable<z.ZodString>;
|
|
478
|
+
actor_effort: z.ZodNullable<z.ZodString>;
|
|
479
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
480
|
+
id: z.ZodString;
|
|
481
|
+
created_at: z.ZodNumber;
|
|
482
|
+
}, z.core.$strict>>;
|
|
483
|
+
}, z.core.$strict>;
|
|
484
|
+
labels: z.ZodObject<{
|
|
485
|
+
value: z.ZodArray<z.ZodObject<{
|
|
486
|
+
name: z.ZodString;
|
|
487
|
+
id: z.ZodString;
|
|
488
|
+
}, z.core.$strict>>;
|
|
489
|
+
attribution: z.ZodNullable<z.ZodObject<{
|
|
490
|
+
actor_kind: z.ZodString;
|
|
491
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
492
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
493
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
494
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
495
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
496
|
+
actor_agent: z.ZodNullable<z.ZodString>;
|
|
497
|
+
actor_model: z.ZodNullable<z.ZodString>;
|
|
498
|
+
actor_effort: z.ZodNullable<z.ZodString>;
|
|
499
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
500
|
+
id: z.ZodString;
|
|
501
|
+
created_at: z.ZodNumber;
|
|
502
|
+
}, z.core.$strict>>;
|
|
503
|
+
}, z.core.$strict>;
|
|
504
|
+
parent: z.ZodObject<{
|
|
505
|
+
value: z.ZodNullable<z.ZodObject<{
|
|
506
|
+
id: z.ZodString;
|
|
507
|
+
key: z.ZodString;
|
|
508
|
+
}, z.core.$strict>>;
|
|
509
|
+
attribution: z.ZodNullable<z.ZodObject<{
|
|
510
|
+
actor_kind: z.ZodString;
|
|
511
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
512
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
513
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
514
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
515
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
516
|
+
actor_agent: z.ZodNullable<z.ZodString>;
|
|
517
|
+
actor_model: z.ZodNullable<z.ZodString>;
|
|
518
|
+
actor_effort: z.ZodNullable<z.ZodString>;
|
|
519
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
520
|
+
id: z.ZodString;
|
|
521
|
+
created_at: z.ZodNumber;
|
|
522
|
+
}, z.core.$strict>>;
|
|
523
|
+
}, z.core.$strict>;
|
|
524
|
+
}, z.core.$strict>;
|
|
525
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
526
|
+
id: z.ZodString;
|
|
527
|
+
type: z.ZodString;
|
|
528
|
+
direction: z.ZodNullable<z.ZodEnum<{
|
|
529
|
+
outgoing: "outgoing";
|
|
530
|
+
incoming: "incoming";
|
|
531
|
+
}>>;
|
|
532
|
+
task: z.ZodObject<{
|
|
533
|
+
id: z.ZodString;
|
|
534
|
+
key: z.ZodString;
|
|
535
|
+
}, z.core.$strict>;
|
|
536
|
+
attribution: z.ZodNullable<z.ZodObject<{
|
|
537
|
+
actor_kind: z.ZodString;
|
|
538
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
539
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
540
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
541
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
542
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
543
|
+
actor_agent: z.ZodNullable<z.ZodString>;
|
|
544
|
+
actor_model: z.ZodNullable<z.ZodString>;
|
|
545
|
+
actor_effort: z.ZodNullable<z.ZodString>;
|
|
546
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
547
|
+
id: z.ZodString;
|
|
548
|
+
created_at: z.ZodNumber;
|
|
549
|
+
}, z.core.$strict>>;
|
|
550
|
+
}, z.core.$strict>>;
|
|
551
|
+
description: z.ZodArray<z.ZodObject<{
|
|
552
|
+
line: z.ZodNumber;
|
|
553
|
+
text: z.ZodString;
|
|
554
|
+
attribution: z.ZodNullable<z.ZodObject<{
|
|
555
|
+
actor_kind: z.ZodString;
|
|
556
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
557
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
558
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
559
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
560
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
561
|
+
actor_agent: z.ZodNullable<z.ZodString>;
|
|
562
|
+
actor_model: z.ZodNullable<z.ZodString>;
|
|
563
|
+
actor_effort: z.ZodNullable<z.ZodString>;
|
|
564
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
565
|
+
id: z.ZodString;
|
|
566
|
+
created_at: z.ZodNumber;
|
|
567
|
+
}, z.core.$strict>>;
|
|
568
|
+
}, z.core.$strict>>;
|
|
569
|
+
}, z.core.$strict>;
|
|
282
570
|
export declare const commentChangeSchema: z.ZodObject<{
|
|
283
571
|
id: z.ZodString;
|
|
284
572
|
key: z.ZodString;
|
|
@@ -291,9 +579,9 @@ export declare const commentChangeSchema: z.ZodObject<{
|
|
|
291
579
|
export declare const settingsFileSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
292
580
|
path: z.ZodString;
|
|
293
581
|
source: z.ZodEnum<{
|
|
582
|
+
local: "local";
|
|
294
583
|
env: "env";
|
|
295
584
|
global: "global";
|
|
296
|
-
local: "local";
|
|
297
585
|
}>;
|
|
298
586
|
state: z.ZodEnum<{
|
|
299
587
|
found: "found";
|
|
@@ -301,9 +589,18 @@ export declare const settingsFileSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
301
589
|
settings: z.ZodObject<{
|
|
302
590
|
$schema: z.ZodOptional<z.ZodString>;
|
|
303
591
|
defaultProject: z.ZodOptional<z.ZodString>;
|
|
592
|
+
busyTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
304
593
|
storage: z.ZodOptional<z.ZodObject<{
|
|
305
594
|
directory: z.ZodString;
|
|
306
595
|
}, z.core.$strict>>;
|
|
596
|
+
telemetry: z.ZodOptional<z.ZodObject<{
|
|
597
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
598
|
+
off: "off";
|
|
599
|
+
local: "local";
|
|
600
|
+
}>>;
|
|
601
|
+
maxMegabytes: z.ZodOptional<z.ZodNumber>;
|
|
602
|
+
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
603
|
+
}, z.core.$strict>>;
|
|
307
604
|
hooks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
308
605
|
command: z.ZodString;
|
|
309
606
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
@@ -312,9 +609,9 @@ export declare const settingsFileSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
312
609
|
}, z.core.$strict>, z.ZodObject<{
|
|
313
610
|
path: z.ZodString;
|
|
314
611
|
source: z.ZodEnum<{
|
|
612
|
+
local: "local";
|
|
315
613
|
env: "env";
|
|
316
614
|
global: "global";
|
|
317
|
-
local: "local";
|
|
318
615
|
}>;
|
|
319
616
|
state: z.ZodEnum<{
|
|
320
617
|
missing: "missing";
|
|
@@ -322,9 +619,9 @@ export declare const settingsFileSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
322
619
|
}, z.core.$strict>, z.ZodObject<{
|
|
323
620
|
path: z.ZodString;
|
|
324
621
|
source: z.ZodEnum<{
|
|
622
|
+
local: "local";
|
|
325
623
|
env: "env";
|
|
326
624
|
global: "global";
|
|
327
|
-
local: "local";
|
|
328
625
|
}>;
|
|
329
626
|
state: z.ZodEnum<{
|
|
330
627
|
error: "error";
|
|
@@ -333,9 +630,9 @@ export declare const settingsFileSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
333
630
|
}, z.core.$strict>, z.ZodObject<{
|
|
334
631
|
path: z.ZodString;
|
|
335
632
|
source: z.ZodEnum<{
|
|
633
|
+
local: "local";
|
|
336
634
|
env: "env";
|
|
337
635
|
global: "global";
|
|
338
|
-
local: "local";
|
|
339
636
|
}>;
|
|
340
637
|
state: z.ZodEnum<{
|
|
341
638
|
"not-read": "not-read";
|
|
@@ -346,9 +643,9 @@ export declare const infoSchema: z.ZodObject<{
|
|
|
346
643
|
settingsFiles: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
347
644
|
path: z.ZodString;
|
|
348
645
|
source: z.ZodEnum<{
|
|
646
|
+
local: "local";
|
|
349
647
|
env: "env";
|
|
350
648
|
global: "global";
|
|
351
|
-
local: "local";
|
|
352
649
|
}>;
|
|
353
650
|
state: z.ZodEnum<{
|
|
354
651
|
found: "found";
|
|
@@ -356,9 +653,18 @@ export declare const infoSchema: z.ZodObject<{
|
|
|
356
653
|
settings: z.ZodObject<{
|
|
357
654
|
$schema: z.ZodOptional<z.ZodString>;
|
|
358
655
|
defaultProject: z.ZodOptional<z.ZodString>;
|
|
656
|
+
busyTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
359
657
|
storage: z.ZodOptional<z.ZodObject<{
|
|
360
658
|
directory: z.ZodString;
|
|
361
659
|
}, z.core.$strict>>;
|
|
660
|
+
telemetry: z.ZodOptional<z.ZodObject<{
|
|
661
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
662
|
+
off: "off";
|
|
663
|
+
local: "local";
|
|
664
|
+
}>>;
|
|
665
|
+
maxMegabytes: z.ZodOptional<z.ZodNumber>;
|
|
666
|
+
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
667
|
+
}, z.core.$strict>>;
|
|
362
668
|
hooks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
363
669
|
command: z.ZodString;
|
|
364
670
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
@@ -367,9 +673,9 @@ export declare const infoSchema: z.ZodObject<{
|
|
|
367
673
|
}, z.core.$strict>, z.ZodObject<{
|
|
368
674
|
path: z.ZodString;
|
|
369
675
|
source: z.ZodEnum<{
|
|
676
|
+
local: "local";
|
|
370
677
|
env: "env";
|
|
371
678
|
global: "global";
|
|
372
|
-
local: "local";
|
|
373
679
|
}>;
|
|
374
680
|
state: z.ZodEnum<{
|
|
375
681
|
missing: "missing";
|
|
@@ -377,9 +683,9 @@ export declare const infoSchema: z.ZodObject<{
|
|
|
377
683
|
}, z.core.$strict>, z.ZodObject<{
|
|
378
684
|
path: z.ZodString;
|
|
379
685
|
source: z.ZodEnum<{
|
|
686
|
+
local: "local";
|
|
380
687
|
env: "env";
|
|
381
688
|
global: "global";
|
|
382
|
-
local: "local";
|
|
383
689
|
}>;
|
|
384
690
|
state: z.ZodEnum<{
|
|
385
691
|
error: "error";
|
|
@@ -388,9 +694,9 @@ export declare const infoSchema: z.ZodObject<{
|
|
|
388
694
|
}, z.core.$strict>, z.ZodObject<{
|
|
389
695
|
path: z.ZodString;
|
|
390
696
|
source: z.ZodEnum<{
|
|
697
|
+
local: "local";
|
|
391
698
|
env: "env";
|
|
392
699
|
global: "global";
|
|
393
|
-
local: "local";
|
|
394
700
|
}>;
|
|
395
701
|
state: z.ZodEnum<{
|
|
396
702
|
"not-read": "not-read";
|
|
@@ -401,9 +707,9 @@ export declare const infoSchema: z.ZodObject<{
|
|
|
401
707
|
directory: z.ZodNullable<z.ZodString>;
|
|
402
708
|
source: z.ZodNullable<z.ZodEnum<{
|
|
403
709
|
default: "default";
|
|
710
|
+
local: "local";
|
|
404
711
|
env: "env";
|
|
405
712
|
global: "global";
|
|
406
|
-
local: "local";
|
|
407
713
|
}>>;
|
|
408
714
|
settingsPath: z.ZodNullable<z.ZodString>;
|
|
409
715
|
exists: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -414,6 +720,24 @@ export declare const infoSchema: z.ZodObject<{
|
|
|
414
720
|
settingsPath: z.ZodNullable<z.ZodString>;
|
|
415
721
|
error: z.ZodNullable<z.ZodString>;
|
|
416
722
|
}, z.core.$strict>;
|
|
723
|
+
telemetry: z.ZodObject<{
|
|
724
|
+
mode: z.ZodNullable<z.ZodEnum<{
|
|
725
|
+
off: "off";
|
|
726
|
+
local: "local";
|
|
727
|
+
}>>;
|
|
728
|
+
source: z.ZodNullable<z.ZodEnum<{
|
|
729
|
+
default: "default";
|
|
730
|
+
DO_NOT_TRACK: "DO_NOT_TRACK";
|
|
731
|
+
settings: "settings";
|
|
732
|
+
}>>;
|
|
733
|
+
settingsPath: z.ZodNullable<z.ZodString>;
|
|
734
|
+
maxMegabytes: z.ZodNullable<z.ZodNumber>;
|
|
735
|
+
maxAgeDays: z.ZodNullable<z.ZodNumber>;
|
|
736
|
+
directory: z.ZodNullable<z.ZodString>;
|
|
737
|
+
exists: z.ZodNullable<z.ZodBoolean>;
|
|
738
|
+
sizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
739
|
+
error: z.ZodNullable<z.ZodString>;
|
|
740
|
+
}, z.core.$strict>;
|
|
417
741
|
database: z.ZodObject<{
|
|
418
742
|
path: z.ZodNullable<z.ZodString>;
|
|
419
743
|
state: z.ZodEnum<{
|
|
@@ -441,9 +765,33 @@ export declare const infoSchema: z.ZodObject<{
|
|
|
441
765
|
}, z.core.$strict>;
|
|
442
766
|
}, z.core.$strict>;
|
|
443
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>;
|
|
444
789
|
export declare const backupSchema: z.ZodObject<{
|
|
445
790
|
path: z.ZodString;
|
|
446
791
|
}, z.core.$strict>;
|
|
792
|
+
export declare const skillInstallSchema: z.ZodObject<{
|
|
793
|
+
source: z.ZodString;
|
|
794
|
+
}, z.core.$strict>;
|
|
447
795
|
export declare const restoreSchema: z.ZodObject<{
|
|
448
796
|
databasePath: z.ZodString;
|
|
449
797
|
previousVersion: z.ZodNumber;
|
|
@@ -472,6 +820,9 @@ export declare const resultSchemas: {
|
|
|
472
820
|
}>;
|
|
473
821
|
column: z.ZodString;
|
|
474
822
|
column_id: z.ZodString;
|
|
823
|
+
is_first: z.ZodBoolean;
|
|
824
|
+
is_last: z.ZodBoolean;
|
|
825
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
475
826
|
title: z.ZodString;
|
|
476
827
|
description: z.ZodNullable<z.ZodString>;
|
|
477
828
|
priority: z.ZodNullable<z.ZodString>;
|
|
@@ -480,6 +831,21 @@ export declare const resultSchemas: {
|
|
|
480
831
|
label_ids: z.ZodArray<z.ZodString>;
|
|
481
832
|
created_at: z.ZodNumber;
|
|
482
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>>;
|
|
483
849
|
}, z.core.$strict>;
|
|
484
850
|
TaskList: z.ZodArray<z.ZodObject<{
|
|
485
851
|
id: z.ZodString;
|
|
@@ -491,6 +857,9 @@ export declare const resultSchemas: {
|
|
|
491
857
|
}>;
|
|
492
858
|
column: z.ZodString;
|
|
493
859
|
column_id: z.ZodString;
|
|
860
|
+
is_first: z.ZodBoolean;
|
|
861
|
+
is_last: z.ZodBoolean;
|
|
862
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
494
863
|
title: z.ZodString;
|
|
495
864
|
description: z.ZodNullable<z.ZodString>;
|
|
496
865
|
priority: z.ZodNullable<z.ZodString>;
|
|
@@ -499,6 +868,58 @@ export declare const resultSchemas: {
|
|
|
499
868
|
label_ids: z.ZodArray<z.ZodString>;
|
|
500
869
|
created_at: z.ZodNumber;
|
|
501
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>;
|
|
900
|
+
title: z.ZodString;
|
|
901
|
+
description: z.ZodNullable<z.ZodString>;
|
|
902
|
+
priority: z.ZodNullable<z.ZodString>;
|
|
903
|
+
due_at: z.ZodNullable<z.ZodNumber>;
|
|
904
|
+
labels: z.ZodArray<z.ZodString>;
|
|
905
|
+
label_ids: z.ZodArray<z.ZodString>;
|
|
906
|
+
created_at: z.ZodNumber;
|
|
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>>;
|
|
502
923
|
}, z.core.$strict>>;
|
|
503
924
|
TaskDetail: z.ZodObject<{
|
|
504
925
|
id: z.ZodString;
|
|
@@ -510,6 +931,9 @@ export declare const resultSchemas: {
|
|
|
510
931
|
}>;
|
|
511
932
|
column: z.ZodString;
|
|
512
933
|
column_id: z.ZodString;
|
|
934
|
+
is_first: z.ZodBoolean;
|
|
935
|
+
is_last: z.ZodBoolean;
|
|
936
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
513
937
|
title: z.ZodString;
|
|
514
938
|
description: z.ZodNullable<z.ZodString>;
|
|
515
939
|
priority: z.ZodNullable<z.ZodString>;
|
|
@@ -518,6 +942,21 @@ export declare const resultSchemas: {
|
|
|
518
942
|
label_ids: z.ZodArray<z.ZodString>;
|
|
519
943
|
created_at: z.ZodNumber;
|
|
520
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>>;
|
|
521
960
|
relations: z.ZodArray<z.ZodObject<{
|
|
522
961
|
id: z.ZodString;
|
|
523
962
|
type: z.ZodString;
|
|
@@ -535,6 +974,9 @@ export declare const resultSchemas: {
|
|
|
535
974
|
Archived: "Archived";
|
|
536
975
|
}>;
|
|
537
976
|
column_id: z.ZodString;
|
|
977
|
+
is_first: z.ZodBoolean;
|
|
978
|
+
is_last: z.ZodBoolean;
|
|
979
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
538
980
|
title: z.ZodString;
|
|
539
981
|
}, z.core.$strict>;
|
|
540
982
|
}, z.core.$strict>>;
|
|
@@ -547,6 +989,169 @@ export declare const resultSchemas: {
|
|
|
547
989
|
updated_at: z.ZodNumber;
|
|
548
990
|
}, z.core.$strict>>;
|
|
549
991
|
}, z.core.$strict>;
|
|
992
|
+
TaskBlame: z.ZodObject<{
|
|
993
|
+
task: z.ZodObject<{
|
|
994
|
+
id: z.ZodString;
|
|
995
|
+
key: z.ZodString;
|
|
996
|
+
}, z.core.$strict>;
|
|
997
|
+
fields: z.ZodObject<{
|
|
998
|
+
title: z.ZodObject<{
|
|
999
|
+
value: z.ZodString;
|
|
1000
|
+
attribution: z.ZodNullable<z.ZodObject<{
|
|
1001
|
+
actor_kind: z.ZodString;
|
|
1002
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
1003
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
1004
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1005
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
1006
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
1007
|
+
actor_agent: z.ZodNullable<z.ZodString>;
|
|
1008
|
+
actor_model: z.ZodNullable<z.ZodString>;
|
|
1009
|
+
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1010
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
1011
|
+
id: z.ZodString;
|
|
1012
|
+
created_at: z.ZodNumber;
|
|
1013
|
+
}, z.core.$strict>>;
|
|
1014
|
+
}, z.core.$strict>;
|
|
1015
|
+
column: z.ZodObject<{
|
|
1016
|
+
value: z.ZodObject<{
|
|
1017
|
+
name: z.ZodString;
|
|
1018
|
+
id: z.ZodString;
|
|
1019
|
+
}, z.core.$strict>;
|
|
1020
|
+
attribution: z.ZodNullable<z.ZodObject<{
|
|
1021
|
+
actor_kind: z.ZodString;
|
|
1022
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
1023
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
1024
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1025
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
1026
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
1027
|
+
actor_agent: z.ZodNullable<z.ZodString>;
|
|
1028
|
+
actor_model: z.ZodNullable<z.ZodString>;
|
|
1029
|
+
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1030
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
1031
|
+
id: z.ZodString;
|
|
1032
|
+
created_at: z.ZodNumber;
|
|
1033
|
+
}, z.core.$strict>>;
|
|
1034
|
+
}, z.core.$strict>;
|
|
1035
|
+
priority: z.ZodObject<{
|
|
1036
|
+
value: z.ZodNullable<z.ZodString>;
|
|
1037
|
+
attribution: z.ZodNullable<z.ZodObject<{
|
|
1038
|
+
actor_kind: z.ZodString;
|
|
1039
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
1040
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
1041
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1042
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
1043
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
1044
|
+
actor_agent: z.ZodNullable<z.ZodString>;
|
|
1045
|
+
actor_model: z.ZodNullable<z.ZodString>;
|
|
1046
|
+
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1047
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
1048
|
+
id: z.ZodString;
|
|
1049
|
+
created_at: z.ZodNumber;
|
|
1050
|
+
}, z.core.$strict>>;
|
|
1051
|
+
}, z.core.$strict>;
|
|
1052
|
+
due_at: z.ZodObject<{
|
|
1053
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
1054
|
+
attribution: z.ZodNullable<z.ZodObject<{
|
|
1055
|
+
actor_kind: z.ZodString;
|
|
1056
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
1057
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
1058
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1059
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
1060
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
1061
|
+
actor_agent: z.ZodNullable<z.ZodString>;
|
|
1062
|
+
actor_model: z.ZodNullable<z.ZodString>;
|
|
1063
|
+
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1064
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
1065
|
+
id: z.ZodString;
|
|
1066
|
+
created_at: z.ZodNumber;
|
|
1067
|
+
}, z.core.$strict>>;
|
|
1068
|
+
}, z.core.$strict>;
|
|
1069
|
+
labels: z.ZodObject<{
|
|
1070
|
+
value: z.ZodArray<z.ZodObject<{
|
|
1071
|
+
name: z.ZodString;
|
|
1072
|
+
id: z.ZodString;
|
|
1073
|
+
}, z.core.$strict>>;
|
|
1074
|
+
attribution: z.ZodNullable<z.ZodObject<{
|
|
1075
|
+
actor_kind: z.ZodString;
|
|
1076
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
1077
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
1078
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1079
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
1080
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
1081
|
+
actor_agent: z.ZodNullable<z.ZodString>;
|
|
1082
|
+
actor_model: z.ZodNullable<z.ZodString>;
|
|
1083
|
+
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1084
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
1085
|
+
id: z.ZodString;
|
|
1086
|
+
created_at: z.ZodNumber;
|
|
1087
|
+
}, z.core.$strict>>;
|
|
1088
|
+
}, z.core.$strict>;
|
|
1089
|
+
parent: z.ZodObject<{
|
|
1090
|
+
value: z.ZodNullable<z.ZodObject<{
|
|
1091
|
+
id: z.ZodString;
|
|
1092
|
+
key: z.ZodString;
|
|
1093
|
+
}, z.core.$strict>>;
|
|
1094
|
+
attribution: z.ZodNullable<z.ZodObject<{
|
|
1095
|
+
actor_kind: z.ZodString;
|
|
1096
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
1097
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
1098
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1099
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
1100
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
1101
|
+
actor_agent: z.ZodNullable<z.ZodString>;
|
|
1102
|
+
actor_model: z.ZodNullable<z.ZodString>;
|
|
1103
|
+
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1104
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
1105
|
+
id: z.ZodString;
|
|
1106
|
+
created_at: z.ZodNumber;
|
|
1107
|
+
}, z.core.$strict>>;
|
|
1108
|
+
}, z.core.$strict>;
|
|
1109
|
+
}, z.core.$strict>;
|
|
1110
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
1111
|
+
id: z.ZodString;
|
|
1112
|
+
type: z.ZodString;
|
|
1113
|
+
direction: z.ZodNullable<z.ZodEnum<{
|
|
1114
|
+
outgoing: "outgoing";
|
|
1115
|
+
incoming: "incoming";
|
|
1116
|
+
}>>;
|
|
1117
|
+
task: z.ZodObject<{
|
|
1118
|
+
id: z.ZodString;
|
|
1119
|
+
key: z.ZodString;
|
|
1120
|
+
}, z.core.$strict>;
|
|
1121
|
+
attribution: z.ZodNullable<z.ZodObject<{
|
|
1122
|
+
actor_kind: z.ZodString;
|
|
1123
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
1124
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
1125
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1126
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
1127
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
1128
|
+
actor_agent: z.ZodNullable<z.ZodString>;
|
|
1129
|
+
actor_model: z.ZodNullable<z.ZodString>;
|
|
1130
|
+
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1131
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
1132
|
+
id: z.ZodString;
|
|
1133
|
+
created_at: z.ZodNumber;
|
|
1134
|
+
}, z.core.$strict>>;
|
|
1135
|
+
}, z.core.$strict>>;
|
|
1136
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1137
|
+
line: z.ZodNumber;
|
|
1138
|
+
text: z.ZodString;
|
|
1139
|
+
attribution: z.ZodNullable<z.ZodObject<{
|
|
1140
|
+
actor_kind: z.ZodString;
|
|
1141
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
1142
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
1143
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1144
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
1145
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
1146
|
+
actor_agent: z.ZodNullable<z.ZodString>;
|
|
1147
|
+
actor_model: z.ZodNullable<z.ZodString>;
|
|
1148
|
+
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1149
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
1150
|
+
id: z.ZodString;
|
|
1151
|
+
created_at: z.ZodNumber;
|
|
1152
|
+
}, z.core.$strict>>;
|
|
1153
|
+
}, z.core.$strict>>;
|
|
1154
|
+
}, z.core.$strict>;
|
|
550
1155
|
TaskDetailHistory: z.ZodObject<{
|
|
551
1156
|
id: z.ZodString;
|
|
552
1157
|
key: z.ZodString;
|
|
@@ -557,6 +1162,9 @@ export declare const resultSchemas: {
|
|
|
557
1162
|
}>;
|
|
558
1163
|
column: z.ZodString;
|
|
559
1164
|
column_id: z.ZodString;
|
|
1165
|
+
is_first: z.ZodBoolean;
|
|
1166
|
+
is_last: z.ZodBoolean;
|
|
1167
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
560
1168
|
title: z.ZodString;
|
|
561
1169
|
description: z.ZodNullable<z.ZodString>;
|
|
562
1170
|
priority: z.ZodNullable<z.ZodString>;
|
|
@@ -565,6 +1173,21 @@ export declare const resultSchemas: {
|
|
|
565
1173
|
label_ids: z.ZodArray<z.ZodString>;
|
|
566
1174
|
created_at: z.ZodNumber;
|
|
567
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>>;
|
|
568
1191
|
relations: z.ZodArray<z.ZodObject<{
|
|
569
1192
|
id: z.ZodString;
|
|
570
1193
|
type: z.ZodString;
|
|
@@ -582,6 +1205,9 @@ export declare const resultSchemas: {
|
|
|
582
1205
|
Archived: "Archived";
|
|
583
1206
|
}>;
|
|
584
1207
|
column_id: z.ZodString;
|
|
1208
|
+
is_first: z.ZodBoolean;
|
|
1209
|
+
is_last: z.ZodBoolean;
|
|
1210
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
585
1211
|
title: z.ZodString;
|
|
586
1212
|
}, z.core.$strict>;
|
|
587
1213
|
}, z.core.$strict>>;
|
|
@@ -605,6 +1231,7 @@ export declare const resultSchemas: {
|
|
|
605
1231
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
606
1232
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
607
1233
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1234
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
608
1235
|
entity_type: z.ZodString;
|
|
609
1236
|
entity_id: z.ZodString;
|
|
610
1237
|
action: z.ZodString;
|
|
@@ -621,6 +1248,9 @@ export declare const resultSchemas: {
|
|
|
621
1248
|
}>;
|
|
622
1249
|
column: z.ZodString;
|
|
623
1250
|
column_id: z.ZodString;
|
|
1251
|
+
is_first: z.ZodBoolean;
|
|
1252
|
+
is_last: z.ZodBoolean;
|
|
1253
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
624
1254
|
title: z.ZodString;
|
|
625
1255
|
description: z.ZodNullable<z.ZodString>;
|
|
626
1256
|
priority: z.ZodNullable<z.ZodString>;
|
|
@@ -629,6 +1259,21 @@ export declare const resultSchemas: {
|
|
|
629
1259
|
label_ids: z.ZodArray<z.ZodString>;
|
|
630
1260
|
created_at: z.ZodNumber;
|
|
631
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>>;
|
|
632
1277
|
changed: z.ZodBoolean;
|
|
633
1278
|
}, z.core.$strict>;
|
|
634
1279
|
TaskChanges: z.ZodArray<z.ZodObject<{
|
|
@@ -641,6 +1286,9 @@ export declare const resultSchemas: {
|
|
|
641
1286
|
}>;
|
|
642
1287
|
column: z.ZodString;
|
|
643
1288
|
column_id: z.ZodString;
|
|
1289
|
+
is_first: z.ZodBoolean;
|
|
1290
|
+
is_last: z.ZodBoolean;
|
|
1291
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
644
1292
|
title: z.ZodString;
|
|
645
1293
|
description: z.ZodNullable<z.ZodString>;
|
|
646
1294
|
priority: z.ZodNullable<z.ZodString>;
|
|
@@ -649,6 +1297,21 @@ export declare const resultSchemas: {
|
|
|
649
1297
|
label_ids: z.ZodArray<z.ZodString>;
|
|
650
1298
|
created_at: z.ZodNumber;
|
|
651
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>>;
|
|
652
1315
|
changed: z.ZodBoolean;
|
|
653
1316
|
}, z.core.$strict>>;
|
|
654
1317
|
Relation: z.ZodObject<{
|
|
@@ -668,6 +1331,9 @@ export declare const resultSchemas: {
|
|
|
668
1331
|
Archived: "Archived";
|
|
669
1332
|
}>;
|
|
670
1333
|
column_id: z.ZodString;
|
|
1334
|
+
is_first: z.ZodBoolean;
|
|
1335
|
+
is_last: z.ZodBoolean;
|
|
1336
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
671
1337
|
title: z.ZodString;
|
|
672
1338
|
}, z.core.$strict>;
|
|
673
1339
|
}, z.core.$strict>;
|
|
@@ -688,6 +1354,9 @@ export declare const resultSchemas: {
|
|
|
688
1354
|
Archived: "Archived";
|
|
689
1355
|
}>;
|
|
690
1356
|
column_id: z.ZodString;
|
|
1357
|
+
is_first: z.ZodBoolean;
|
|
1358
|
+
is_last: z.ZodBoolean;
|
|
1359
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
691
1360
|
title: z.ZodString;
|
|
692
1361
|
}, z.core.$strict>;
|
|
693
1362
|
}, z.core.$strict>>;
|
|
@@ -755,6 +1424,9 @@ export declare const resultSchemas: {
|
|
|
755
1424
|
columns: z.ZodArray<z.ZodObject<{
|
|
756
1425
|
id: z.ZodString;
|
|
757
1426
|
name: z.ZodString;
|
|
1427
|
+
is_first: z.ZodBoolean;
|
|
1428
|
+
is_last: z.ZodBoolean;
|
|
1429
|
+
category: z.ZodNullable<z.ZodString>;
|
|
758
1430
|
taskCount: z.ZodNumber;
|
|
759
1431
|
}, z.core.$strict>>;
|
|
760
1432
|
archivedTaskCount: z.ZodNumber;
|
|
@@ -764,22 +1436,34 @@ export declare const resultSchemas: {
|
|
|
764
1436
|
project: z.ZodString;
|
|
765
1437
|
project_id: z.ZodString;
|
|
766
1438
|
name: z.ZodString;
|
|
1439
|
+
is_first: z.ZodBoolean;
|
|
1440
|
+
is_last: z.ZodBoolean;
|
|
1441
|
+
category: z.ZodNullable<z.ZodString>;
|
|
767
1442
|
}, z.core.$strict>;
|
|
768
1443
|
ColumnChange: z.ZodObject<{
|
|
769
1444
|
id: z.ZodString;
|
|
770
1445
|
project: z.ZodString;
|
|
771
1446
|
project_id: z.ZodString;
|
|
772
1447
|
name: z.ZodString;
|
|
1448
|
+
is_first: z.ZodBoolean;
|
|
1449
|
+
is_last: z.ZodBoolean;
|
|
1450
|
+
category: z.ZodNullable<z.ZodString>;
|
|
773
1451
|
changed: z.ZodBoolean;
|
|
774
1452
|
}, z.core.$strict>;
|
|
775
1453
|
ColumnTaskCount: z.ZodObject<{
|
|
776
1454
|
id: z.ZodString;
|
|
777
1455
|
name: z.ZodString;
|
|
1456
|
+
is_first: z.ZodBoolean;
|
|
1457
|
+
is_last: z.ZodBoolean;
|
|
1458
|
+
category: z.ZodNullable<z.ZodString>;
|
|
778
1459
|
taskCount: z.ZodNumber;
|
|
779
1460
|
}, z.core.$strict>;
|
|
780
1461
|
ColumnList: z.ZodArray<z.ZodObject<{
|
|
781
1462
|
id: z.ZodString;
|
|
782
1463
|
name: z.ZodString;
|
|
1464
|
+
is_first: z.ZodBoolean;
|
|
1465
|
+
is_last: z.ZodBoolean;
|
|
1466
|
+
category: z.ZodNullable<z.ZodString>;
|
|
783
1467
|
taskCount: z.ZodNumber;
|
|
784
1468
|
}, z.core.$strict>>;
|
|
785
1469
|
Label: z.ZodObject<{
|
|
@@ -813,6 +1497,7 @@ export declare const resultSchemas: {
|
|
|
813
1497
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
814
1498
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
815
1499
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1500
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
816
1501
|
entity_type: z.ZodString;
|
|
817
1502
|
entity_id: z.ZodString;
|
|
818
1503
|
action: z.ZodString;
|
|
@@ -830,29 +1515,31 @@ export declare const resultSchemas: {
|
|
|
830
1515
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
831
1516
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
832
1517
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1518
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
833
1519
|
entity_type: z.ZodString;
|
|
834
1520
|
entity_id: z.ZodString;
|
|
835
1521
|
action: z.ZodString;
|
|
836
1522
|
changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
|
|
837
1523
|
}, z.core.$strict>>;
|
|
838
1524
|
Actor: z.ZodObject<{
|
|
839
|
-
actor_name: z.ZodNullable<z.ZodString>;
|
|
840
|
-
actor_email: z.ZodNullable<z.ZodString>;
|
|
841
1525
|
actor_kind: z.ZodString;
|
|
842
|
-
|
|
1526
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
843
1527
|
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
844
1528
|
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
1529
|
+
actor_email: z.ZodNullable<z.ZodString>;
|
|
1530
|
+
actor_source: z.ZodNullable<z.ZodString>;
|
|
845
1531
|
actor_agent: z.ZodNullable<z.ZodString>;
|
|
846
1532
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
847
1533
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1534
|
+
actor_client: z.ZodNullable<z.ZodString>;
|
|
848
1535
|
}, z.core.$strict>;
|
|
849
1536
|
Info: z.ZodObject<{
|
|
850
1537
|
settingsFiles: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
851
1538
|
path: z.ZodString;
|
|
852
1539
|
source: z.ZodEnum<{
|
|
1540
|
+
local: "local";
|
|
853
1541
|
env: "env";
|
|
854
1542
|
global: "global";
|
|
855
|
-
local: "local";
|
|
856
1543
|
}>;
|
|
857
1544
|
state: z.ZodEnum<{
|
|
858
1545
|
found: "found";
|
|
@@ -860,9 +1547,18 @@ export declare const resultSchemas: {
|
|
|
860
1547
|
settings: z.ZodObject<{
|
|
861
1548
|
$schema: z.ZodOptional<z.ZodString>;
|
|
862
1549
|
defaultProject: z.ZodOptional<z.ZodString>;
|
|
1550
|
+
busyTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
863
1551
|
storage: z.ZodOptional<z.ZodObject<{
|
|
864
1552
|
directory: z.ZodString;
|
|
865
1553
|
}, z.core.$strict>>;
|
|
1554
|
+
telemetry: z.ZodOptional<z.ZodObject<{
|
|
1555
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1556
|
+
off: "off";
|
|
1557
|
+
local: "local";
|
|
1558
|
+
}>>;
|
|
1559
|
+
maxMegabytes: z.ZodOptional<z.ZodNumber>;
|
|
1560
|
+
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
1561
|
+
}, z.core.$strict>>;
|
|
866
1562
|
hooks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
867
1563
|
command: z.ZodString;
|
|
868
1564
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
@@ -871,9 +1567,9 @@ export declare const resultSchemas: {
|
|
|
871
1567
|
}, z.core.$strict>, z.ZodObject<{
|
|
872
1568
|
path: z.ZodString;
|
|
873
1569
|
source: z.ZodEnum<{
|
|
1570
|
+
local: "local";
|
|
874
1571
|
env: "env";
|
|
875
1572
|
global: "global";
|
|
876
|
-
local: "local";
|
|
877
1573
|
}>;
|
|
878
1574
|
state: z.ZodEnum<{
|
|
879
1575
|
missing: "missing";
|
|
@@ -881,9 +1577,9 @@ export declare const resultSchemas: {
|
|
|
881
1577
|
}, z.core.$strict>, z.ZodObject<{
|
|
882
1578
|
path: z.ZodString;
|
|
883
1579
|
source: z.ZodEnum<{
|
|
1580
|
+
local: "local";
|
|
884
1581
|
env: "env";
|
|
885
1582
|
global: "global";
|
|
886
|
-
local: "local";
|
|
887
1583
|
}>;
|
|
888
1584
|
state: z.ZodEnum<{
|
|
889
1585
|
error: "error";
|
|
@@ -892,9 +1588,9 @@ export declare const resultSchemas: {
|
|
|
892
1588
|
}, z.core.$strict>, z.ZodObject<{
|
|
893
1589
|
path: z.ZodString;
|
|
894
1590
|
source: z.ZodEnum<{
|
|
1591
|
+
local: "local";
|
|
895
1592
|
env: "env";
|
|
896
1593
|
global: "global";
|
|
897
|
-
local: "local";
|
|
898
1594
|
}>;
|
|
899
1595
|
state: z.ZodEnum<{
|
|
900
1596
|
"not-read": "not-read";
|
|
@@ -905,9 +1601,9 @@ export declare const resultSchemas: {
|
|
|
905
1601
|
directory: z.ZodNullable<z.ZodString>;
|
|
906
1602
|
source: z.ZodNullable<z.ZodEnum<{
|
|
907
1603
|
default: "default";
|
|
1604
|
+
local: "local";
|
|
908
1605
|
env: "env";
|
|
909
1606
|
global: "global";
|
|
910
|
-
local: "local";
|
|
911
1607
|
}>>;
|
|
912
1608
|
settingsPath: z.ZodNullable<z.ZodString>;
|
|
913
1609
|
exists: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -918,6 +1614,24 @@ export declare const resultSchemas: {
|
|
|
918
1614
|
settingsPath: z.ZodNullable<z.ZodString>;
|
|
919
1615
|
error: z.ZodNullable<z.ZodString>;
|
|
920
1616
|
}, z.core.$strict>;
|
|
1617
|
+
telemetry: z.ZodObject<{
|
|
1618
|
+
mode: z.ZodNullable<z.ZodEnum<{
|
|
1619
|
+
off: "off";
|
|
1620
|
+
local: "local";
|
|
1621
|
+
}>>;
|
|
1622
|
+
source: z.ZodNullable<z.ZodEnum<{
|
|
1623
|
+
default: "default";
|
|
1624
|
+
DO_NOT_TRACK: "DO_NOT_TRACK";
|
|
1625
|
+
settings: "settings";
|
|
1626
|
+
}>>;
|
|
1627
|
+
settingsPath: z.ZodNullable<z.ZodString>;
|
|
1628
|
+
maxMegabytes: z.ZodNullable<z.ZodNumber>;
|
|
1629
|
+
maxAgeDays: z.ZodNullable<z.ZodNumber>;
|
|
1630
|
+
directory: z.ZodNullable<z.ZodString>;
|
|
1631
|
+
exists: z.ZodNullable<z.ZodBoolean>;
|
|
1632
|
+
sizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
1633
|
+
error: z.ZodNullable<z.ZodString>;
|
|
1634
|
+
}, z.core.$strict>;
|
|
921
1635
|
database: z.ZodObject<{
|
|
922
1636
|
path: z.ZodNullable<z.ZodString>;
|
|
923
1637
|
state: z.ZodEnum<{
|
|
@@ -945,6 +1659,27 @@ export declare const resultSchemas: {
|
|
|
945
1659
|
}, z.core.$strict>;
|
|
946
1660
|
}, z.core.$strict>;
|
|
947
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>;
|
|
948
1683
|
Backup: z.ZodObject<{
|
|
949
1684
|
path: z.ZodString;
|
|
950
1685
|
}, z.core.$strict>;
|
|
@@ -965,6 +1700,9 @@ export declare const resultSchemas: {
|
|
|
965
1700
|
databasePath: z.ZodString;
|
|
966
1701
|
taskCount: z.ZodNumber;
|
|
967
1702
|
}, z.core.$strict>;
|
|
1703
|
+
SkillInstall: z.ZodObject<{
|
|
1704
|
+
source: z.ZodString;
|
|
1705
|
+
}, z.core.$strict>;
|
|
968
1706
|
ErrorEnvelope: z.ZodObject<{
|
|
969
1707
|
error: z.ZodObject<{
|
|
970
1708
|
code: z.ZodEnum<{
|
|
@@ -1012,10 +1750,16 @@ export declare const resultSchemas: {
|
|
|
1012
1750
|
already_exists: "already_exists";
|
|
1013
1751
|
parent_exists: "parent_exists";
|
|
1014
1752
|
relation_changed: "relation_changed";
|
|
1753
|
+
column_changed: "column_changed";
|
|
1754
|
+
value_changed: "value_changed";
|
|
1015
1755
|
cycle: "cycle";
|
|
1016
1756
|
different_project: "different_project";
|
|
1017
1757
|
different_column: "different_column";
|
|
1018
1758
|
ambiguous_reference: "ambiguous_reference";
|
|
1759
|
+
invalid_cursor: "invalid_cursor";
|
|
1760
|
+
cursor_version: "cursor_version";
|
|
1761
|
+
different_sort: "different_sort";
|
|
1762
|
+
task_id_cursor: "task_id_cursor";
|
|
1019
1763
|
text_match_count: "text_match_count";
|
|
1020
1764
|
no_columns: "no_columns";
|
|
1021
1765
|
has_tasks: "has_tasks";
|
|
@@ -1031,6 +1775,9 @@ export declare const resultSchemas: {
|
|
|
1031
1775
|
corrupt: "corrupt";
|
|
1032
1776
|
not_database: "not_database";
|
|
1033
1777
|
missing_index: "missing_index";
|
|
1778
|
+
claimed: "claimed";
|
|
1779
|
+
not_claimed: "not_claimed";
|
|
1780
|
+
claim_limit: "claim_limit";
|
|
1034
1781
|
io: "io";
|
|
1035
1782
|
}>>;
|
|
1036
1783
|
matchCount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1041,6 +1788,12 @@ export declare const resultSchemas: {
|
|
|
1041
1788
|
backupPath: z.ZodOptional<z.ZodString>;
|
|
1042
1789
|
schemaVersion: z.ZodOptional<z.ZodNumber>;
|
|
1043
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>;
|
|
1795
|
+
logPath: z.ZodOptional<z.ZodString>;
|
|
1796
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
1044
1797
|
cause: z.ZodOptional<z.ZodObject<{
|
|
1045
1798
|
code: z.ZodOptional<z.ZodString>;
|
|
1046
1799
|
errcode: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1175,8 +1928,8 @@ export declare const resultSchemas: {
|
|
|
1175
1928
|
}, z.core.$strict>;
|
|
1176
1929
|
confirmation: z.ZodObject<{
|
|
1177
1930
|
kind: z.ZodEnum<{
|
|
1178
|
-
prompt: "prompt";
|
|
1179
1931
|
none: "none";
|
|
1932
|
+
prompt: "prompt";
|
|
1180
1933
|
"project-delete": "project-delete";
|
|
1181
1934
|
}>;
|
|
1182
1935
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1195,9 +1948,13 @@ export declare const resultSchemas: {
|
|
|
1195
1948
|
max: z.ZodNullable<z.ZodNumber>;
|
|
1196
1949
|
}, z.core.$strict>], "kind">;
|
|
1197
1950
|
schemaRef: z.ZodString;
|
|
1198
|
-
mode: z.
|
|
1951
|
+
mode: z.ZodEnum<{
|
|
1952
|
+
json: "json";
|
|
1953
|
+
"json-lines": "json-lines";
|
|
1954
|
+
}>;
|
|
1199
1955
|
stream: z.ZodLiteral<"stdout">;
|
|
1200
1956
|
exitCode: z.ZodLiteral<0>;
|
|
1957
|
+
findingsExitCode: z.ZodOptional<z.ZodLiteral<1>>;
|
|
1201
1958
|
}, z.core.$strict>>>;
|
|
1202
1959
|
}, z.core.$strict>>;
|
|
1203
1960
|
error: z.ZodObject<{
|
|
@@ -1214,6 +1971,7 @@ export declare const resultSchemas: {
|
|
|
1214
1971
|
};
|
|
1215
1972
|
export type ResultSchemaName = keyof typeof resultSchemas;
|
|
1216
1973
|
export type PresentedTask = z.infer<typeof taskSchema>;
|
|
1974
|
+
export type PresentedTaskBlame = z.infer<typeof taskBlameSchema>;
|
|
1217
1975
|
export type PresentedTaskDetail = z.infer<typeof taskDetailSchema>;
|
|
1218
1976
|
export type PresentedTaskDetailHistory = z.infer<typeof taskDetailHistorySchema>;
|
|
1219
1977
|
export type PresentedTaskChange = z.infer<typeof taskChangeSchema>;
|
|
@@ -1229,10 +1987,12 @@ export type PresentedLabel = z.infer<typeof labelSchema>;
|
|
|
1229
1987
|
export type PresentedActivity = z.infer<typeof activitySchema>;
|
|
1230
1988
|
export type PresentedActor = z.infer<typeof actorSchema>;
|
|
1231
1989
|
export type PresentedInfo = z.infer<typeof infoSchema>;
|
|
1990
|
+
export type PresentedDoctor = z.infer<typeof doctorSchema>;
|
|
1232
1991
|
export type PresentedBackup = z.infer<typeof backupSchema>;
|
|
1233
1992
|
export type PresentedRestore = z.infer<typeof restoreSchema>;
|
|
1234
1993
|
export type PresentedMigrate = z.infer<typeof migrateSchema>;
|
|
1235
1994
|
export type PresentedReindex = z.infer<typeof reindexSchema>;
|
|
1995
|
+
export type PresentedSkillInstall = z.infer<typeof skillInstallSchema>;
|
|
1236
1996
|
/** Generates local references against the extracted schemas document in draft-07 spec */
|
|
1237
1997
|
export declare function generateResultSchemas(schemas?: Record<string, z.ZodType>): {
|
|
1238
1998
|
$schema: string;
|