@task-mcp/shared 1.0.6 → 1.0.7

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.
@@ -1,53 +1,216 @@
1
- export declare const Priority: import("arktype/internal/methods/string.ts").StringType<"critical" | "high" | "medium" | "low", {}>;
2
- export type Priority = typeof Priority.infer;
3
- export declare const TaskStatus: import("arktype/internal/methods/string.ts").StringType<"pending" | "in_progress" | "blocked" | "completed" | "cancelled", {}>;
4
- export type TaskStatus = typeof TaskStatus.infer;
5
- export declare const DependencyType: import("arktype/internal/methods/string.ts").StringType<"blocks" | "blocked_by" | "related", {}>;
6
- export type DependencyType = typeof DependencyType.infer;
7
- export declare const Dependency: import("arktype/internal/methods/object.ts").ObjectType<{
1
+ import { z } from "zod";
2
+ export declare const Priority: z.ZodEnum<["critical", "high", "medium", "low"]>;
3
+ export type Priority = z.infer<typeof Priority>;
4
+ export declare const TaskStatus: z.ZodEnum<["pending", "in_progress", "blocked", "completed", "cancelled"]>;
5
+ export type TaskStatus = z.infer<typeof TaskStatus>;
6
+ export declare const DependencyType: z.ZodEnum<["blocks", "blocked_by", "related"]>;
7
+ export type DependencyType = z.infer<typeof DependencyType>;
8
+ export declare const Dependency: z.ZodObject<{
9
+ taskId: z.ZodString;
10
+ type: z.ZodEnum<["blocks", "blocked_by", "related"]>;
11
+ reason: z.ZodOptional<z.ZodString>;
12
+ }, "strip", z.ZodTypeAny, {
8
13
  taskId: string;
9
14
  type: "blocks" | "blocked_by" | "related";
10
- reason?: string;
11
- }, {}>;
12
- export type Dependency = typeof Dependency.infer;
13
- export declare const TimeEstimate: import("arktype/internal/methods/object.ts").ObjectType<{
14
- optimistic?: number;
15
- expected?: number;
16
- pessimistic?: number;
17
- confidence?: "high" | "medium" | "low";
18
- }, {}>;
19
- export type TimeEstimate = typeof TimeEstimate.infer;
20
- export declare const Recurrence: import("arktype/internal/methods/object.ts").ObjectType<{
15
+ reason?: string | undefined;
16
+ }, {
17
+ taskId: string;
18
+ type: "blocks" | "blocked_by" | "related";
19
+ reason?: string | undefined;
20
+ }>;
21
+ export type Dependency = z.infer<typeof Dependency>;
22
+ export declare const TimeEstimate: z.ZodObject<{
23
+ optimistic: z.ZodOptional<z.ZodNumber>;
24
+ expected: z.ZodOptional<z.ZodNumber>;
25
+ pessimistic: z.ZodOptional<z.ZodNumber>;
26
+ confidence: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
27
+ }, "strip", z.ZodTypeAny, {
28
+ expected?: number | undefined;
29
+ optimistic?: number | undefined;
30
+ pessimistic?: number | undefined;
31
+ confidence?: "high" | "medium" | "low" | undefined;
32
+ }, {
33
+ expected?: number | undefined;
34
+ optimistic?: number | undefined;
35
+ pessimistic?: number | undefined;
36
+ confidence?: "high" | "medium" | "low" | undefined;
37
+ }>;
38
+ export type TimeEstimate = z.infer<typeof TimeEstimate>;
39
+ export declare const Recurrence: z.ZodObject<{
40
+ pattern: z.ZodEnum<["daily", "weekly", "monthly", "after_completion"]>;
41
+ interval: z.ZodOptional<z.ZodNumber>;
42
+ daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
43
+ endDate: z.ZodOptional<z.ZodString>;
44
+ }, "strip", z.ZodTypeAny, {
21
45
  pattern: "daily" | "weekly" | "monthly" | "after_completion";
22
- interval?: number;
23
- daysOfWeek?: number[];
24
- endDate?: string;
25
- }, {}>;
26
- export type Recurrence = typeof Recurrence.infer;
27
- export declare const ComplexityFactor: import("arktype/internal/methods/string.ts").StringType<"cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination", {}>;
28
- export type ComplexityFactor = typeof ComplexityFactor.infer;
29
- export declare const ComplexityAnalysis: import("arktype/internal/methods/object.ts").ObjectType<{
30
- score?: number;
31
- factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[];
32
- suggestedSubtasks?: number;
33
- rationale?: string;
34
- analyzedAt?: string;
35
- }, {}>;
36
- export type ComplexityAnalysis = typeof ComplexityAnalysis.infer;
37
- export declare const TechArea: import("arktype/internal/methods/string.ts").StringType<"schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor", {}>;
38
- export type TechArea = typeof TechArea.infer;
39
- export declare const RiskLevel: import("arktype/internal/methods/string.ts").StringType<"critical" | "high" | "medium" | "low", {}>;
40
- export type RiskLevel = typeof RiskLevel.infer;
41
- export declare const TechStackAnalysis: import("arktype/internal/methods/object.ts").ObjectType<{
42
- areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[];
43
- hasBreakingChange?: boolean;
44
- riskLevel?: "critical" | "high" | "medium" | "low";
45
- affectedComponents?: string[];
46
- rationale?: string;
47
- analyzedAt?: string;
48
- }, {}>;
49
- export type TechStackAnalysis = typeof TechStackAnalysis.infer;
50
- export declare const Task: import("arktype/internal/methods/object.ts").ObjectType<{
46
+ interval?: number | undefined;
47
+ daysOfWeek?: number[] | undefined;
48
+ endDate?: string | undefined;
49
+ }, {
50
+ pattern: "daily" | "weekly" | "monthly" | "after_completion";
51
+ interval?: number | undefined;
52
+ daysOfWeek?: number[] | undefined;
53
+ endDate?: string | undefined;
54
+ }>;
55
+ export type Recurrence = z.infer<typeof Recurrence>;
56
+ export declare const ComplexityFactor: z.ZodEnum<["cross_cutting", "state_management", "error_handling", "performance", "security", "external_dependency", "data_migration", "breaking_change", "unclear_requirements", "coordination"]>;
57
+ export type ComplexityFactor = z.infer<typeof ComplexityFactor>;
58
+ export declare const ComplexityAnalysis: z.ZodObject<{
59
+ score: z.ZodOptional<z.ZodNumber>;
60
+ factors: z.ZodOptional<z.ZodArray<z.ZodEnum<["cross_cutting", "state_management", "error_handling", "performance", "security", "external_dependency", "data_migration", "breaking_change", "unclear_requirements", "coordination"]>, "many">>;
61
+ suggestedSubtasks: z.ZodOptional<z.ZodNumber>;
62
+ rationale: z.ZodOptional<z.ZodString>;
63
+ analyzedAt: z.ZodOptional<z.ZodString>;
64
+ }, "strip", z.ZodTypeAny, {
65
+ score?: number | undefined;
66
+ factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[] | undefined;
67
+ suggestedSubtasks?: number | undefined;
68
+ rationale?: string | undefined;
69
+ analyzedAt?: string | undefined;
70
+ }, {
71
+ score?: number | undefined;
72
+ factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[] | undefined;
73
+ suggestedSubtasks?: number | undefined;
74
+ rationale?: string | undefined;
75
+ analyzedAt?: string | undefined;
76
+ }>;
77
+ export type ComplexityAnalysis = z.infer<typeof ComplexityAnalysis>;
78
+ export declare const TechArea: z.ZodEnum<["schema", "backend", "frontend", "infra", "devops", "test", "docs", "refactor"]>;
79
+ export type TechArea = z.infer<typeof TechArea>;
80
+ export declare const RiskLevel: z.ZodEnum<["low", "medium", "high", "critical"]>;
81
+ export type RiskLevel = z.infer<typeof RiskLevel>;
82
+ export declare const TechStackAnalysis: z.ZodObject<{
83
+ areas: z.ZodOptional<z.ZodArray<z.ZodEnum<["schema", "backend", "frontend", "infra", "devops", "test", "docs", "refactor"]>, "many">>;
84
+ hasBreakingChange: z.ZodOptional<z.ZodBoolean>;
85
+ riskLevel: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
86
+ affectedComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
87
+ rationale: z.ZodOptional<z.ZodString>;
88
+ analyzedAt: z.ZodOptional<z.ZodString>;
89
+ }, "strip", z.ZodTypeAny, {
90
+ rationale?: string | undefined;
91
+ analyzedAt?: string | undefined;
92
+ areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[] | undefined;
93
+ hasBreakingChange?: boolean | undefined;
94
+ riskLevel?: "critical" | "high" | "medium" | "low" | undefined;
95
+ affectedComponents?: string[] | undefined;
96
+ }, {
97
+ rationale?: string | undefined;
98
+ analyzedAt?: string | undefined;
99
+ areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[] | undefined;
100
+ hasBreakingChange?: boolean | undefined;
101
+ riskLevel?: "critical" | "high" | "medium" | "low" | undefined;
102
+ affectedComponents?: string[] | undefined;
103
+ }>;
104
+ export type TechStackAnalysis = z.infer<typeof TechStackAnalysis>;
105
+ export declare const Task: z.ZodObject<{
106
+ id: z.ZodString;
107
+ title: z.ZodString;
108
+ description: z.ZodOptional<z.ZodString>;
109
+ status: z.ZodEnum<["pending", "in_progress", "blocked", "completed", "cancelled"]>;
110
+ priority: z.ZodEnum<["critical", "high", "medium", "low"]>;
111
+ projectId: z.ZodString;
112
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
113
+ level: z.ZodOptional<z.ZodNumber>;
114
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
115
+ taskId: z.ZodString;
116
+ type: z.ZodEnum<["blocks", "blocked_by", "related"]>;
117
+ reason: z.ZodOptional<z.ZodString>;
118
+ }, "strip", z.ZodTypeAny, {
119
+ taskId: string;
120
+ type: "blocks" | "blocked_by" | "related";
121
+ reason?: string | undefined;
122
+ }, {
123
+ taskId: string;
124
+ type: "blocks" | "blocked_by" | "related";
125
+ reason?: string | undefined;
126
+ }>, "many">>;
127
+ estimate: z.ZodOptional<z.ZodObject<{
128
+ optimistic: z.ZodOptional<z.ZodNumber>;
129
+ expected: z.ZodOptional<z.ZodNumber>;
130
+ pessimistic: z.ZodOptional<z.ZodNumber>;
131
+ confidence: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
132
+ }, "strip", z.ZodTypeAny, {
133
+ expected?: number | undefined;
134
+ optimistic?: number | undefined;
135
+ pessimistic?: number | undefined;
136
+ confidence?: "high" | "medium" | "low" | undefined;
137
+ }, {
138
+ expected?: number | undefined;
139
+ optimistic?: number | undefined;
140
+ pessimistic?: number | undefined;
141
+ confidence?: "high" | "medium" | "low" | undefined;
142
+ }>>;
143
+ actualMinutes: z.ZodOptional<z.ZodNumber>;
144
+ dueDate: z.ZodOptional<z.ZodString>;
145
+ startDate: z.ZodOptional<z.ZodString>;
146
+ startedAt: z.ZodOptional<z.ZodString>;
147
+ completedAt: z.ZodOptional<z.ZodString>;
148
+ contexts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
149
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
150
+ recurrence: z.ZodOptional<z.ZodObject<{
151
+ pattern: z.ZodEnum<["daily", "weekly", "monthly", "after_completion"]>;
152
+ interval: z.ZodOptional<z.ZodNumber>;
153
+ daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
154
+ endDate: z.ZodOptional<z.ZodString>;
155
+ }, "strip", z.ZodTypeAny, {
156
+ pattern: "daily" | "weekly" | "monthly" | "after_completion";
157
+ interval?: number | undefined;
158
+ daysOfWeek?: number[] | undefined;
159
+ endDate?: string | undefined;
160
+ }, {
161
+ pattern: "daily" | "weekly" | "monthly" | "after_completion";
162
+ interval?: number | undefined;
163
+ daysOfWeek?: number[] | undefined;
164
+ endDate?: string | undefined;
165
+ }>>;
166
+ createdAt: z.ZodString;
167
+ updatedAt: z.ZodString;
168
+ criticalPath: z.ZodOptional<z.ZodBoolean>;
169
+ slack: z.ZodOptional<z.ZodNumber>;
170
+ earliestStart: z.ZodOptional<z.ZodNumber>;
171
+ latestStart: z.ZodOptional<z.ZodNumber>;
172
+ complexity: z.ZodOptional<z.ZodObject<{
173
+ score: z.ZodOptional<z.ZodNumber>;
174
+ factors: z.ZodOptional<z.ZodArray<z.ZodEnum<["cross_cutting", "state_management", "error_handling", "performance", "security", "external_dependency", "data_migration", "breaking_change", "unclear_requirements", "coordination"]>, "many">>;
175
+ suggestedSubtasks: z.ZodOptional<z.ZodNumber>;
176
+ rationale: z.ZodOptional<z.ZodString>;
177
+ analyzedAt: z.ZodOptional<z.ZodString>;
178
+ }, "strip", z.ZodTypeAny, {
179
+ score?: number | undefined;
180
+ factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[] | undefined;
181
+ suggestedSubtasks?: number | undefined;
182
+ rationale?: string | undefined;
183
+ analyzedAt?: string | undefined;
184
+ }, {
185
+ score?: number | undefined;
186
+ factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[] | undefined;
187
+ suggestedSubtasks?: number | undefined;
188
+ rationale?: string | undefined;
189
+ analyzedAt?: string | undefined;
190
+ }>>;
191
+ techStack: z.ZodOptional<z.ZodObject<{
192
+ areas: z.ZodOptional<z.ZodArray<z.ZodEnum<["schema", "backend", "frontend", "infra", "devops", "test", "docs", "refactor"]>, "many">>;
193
+ hasBreakingChange: z.ZodOptional<z.ZodBoolean>;
194
+ riskLevel: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
195
+ affectedComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
196
+ rationale: z.ZodOptional<z.ZodString>;
197
+ analyzedAt: z.ZodOptional<z.ZodString>;
198
+ }, "strip", z.ZodTypeAny, {
199
+ rationale?: string | undefined;
200
+ analyzedAt?: string | undefined;
201
+ areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[] | undefined;
202
+ hasBreakingChange?: boolean | undefined;
203
+ riskLevel?: "critical" | "high" | "medium" | "low" | undefined;
204
+ affectedComponents?: string[] | undefined;
205
+ }, {
206
+ rationale?: string | undefined;
207
+ analyzedAt?: string | undefined;
208
+ areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[] | undefined;
209
+ hasBreakingChange?: boolean | undefined;
210
+ riskLevel?: "critical" | "high" | "medium" | "low" | undefined;
211
+ affectedComponents?: string[] | undefined;
212
+ }>>;
213
+ }, "strip", z.ZodTypeAny, {
51
214
  id: string;
52
215
  title: string;
53
216
  status: "pending" | "in_progress" | "blocked" | "completed" | "cancelled";
@@ -55,127 +218,405 @@ export declare const Task: import("arktype/internal/methods/object.ts").ObjectTy
55
218
  projectId: string;
56
219
  createdAt: string;
57
220
  updatedAt: string;
58
- description?: string;
59
- parentId?: string;
60
- level?: number;
221
+ description?: string | undefined;
222
+ parentId?: string | null | undefined;
223
+ level?: number | undefined;
61
224
  dependencies?: {
62
225
  taskId: string;
63
226
  type: "blocks" | "blocked_by" | "related";
64
- reason?: string;
65
- }[];
227
+ reason?: string | undefined;
228
+ }[] | undefined;
66
229
  estimate?: {
67
- optimistic?: number;
68
- expected?: number;
69
- pessimistic?: number;
70
- confidence?: "high" | "medium" | "low";
71
- };
72
- actualMinutes?: number;
73
- dueDate?: string;
74
- startDate?: string;
75
- startedAt?: string;
76
- completedAt?: string;
77
- contexts?: string[];
78
- tags?: string[];
230
+ expected?: number | undefined;
231
+ optimistic?: number | undefined;
232
+ pessimistic?: number | undefined;
233
+ confidence?: "high" | "medium" | "low" | undefined;
234
+ } | undefined;
235
+ actualMinutes?: number | undefined;
236
+ dueDate?: string | undefined;
237
+ startDate?: string | undefined;
238
+ startedAt?: string | undefined;
239
+ completedAt?: string | undefined;
240
+ contexts?: string[] | undefined;
241
+ tags?: string[] | undefined;
79
242
  recurrence?: {
80
243
  pattern: "daily" | "weekly" | "monthly" | "after_completion";
81
- interval?: number;
82
- daysOfWeek?: number[];
83
- endDate?: string;
84
- };
85
- criticalPath?: boolean;
86
- slack?: number;
87
- earliestStart?: number;
88
- latestStart?: number;
244
+ interval?: number | undefined;
245
+ daysOfWeek?: number[] | undefined;
246
+ endDate?: string | undefined;
247
+ } | undefined;
248
+ criticalPath?: boolean | undefined;
249
+ slack?: number | undefined;
250
+ earliestStart?: number | undefined;
251
+ latestStart?: number | undefined;
89
252
  complexity?: {
90
- score?: number;
91
- factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[];
92
- suggestedSubtasks?: number;
93
- rationale?: string;
94
- analyzedAt?: string;
95
- };
253
+ score?: number | undefined;
254
+ factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[] | undefined;
255
+ suggestedSubtasks?: number | undefined;
256
+ rationale?: string | undefined;
257
+ analyzedAt?: string | undefined;
258
+ } | undefined;
96
259
  techStack?: {
97
- areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[];
98
- hasBreakingChange?: boolean;
99
- riskLevel?: "critical" | "high" | "medium" | "low";
100
- affectedComponents?: string[];
101
- rationale?: string;
102
- analyzedAt?: string;
103
- };
104
- }, {}>;
105
- export type Task = typeof Task.infer;
106
- export declare const TaskCreateInput: import("arktype/internal/methods/object.ts").ObjectType<{
260
+ rationale?: string | undefined;
261
+ analyzedAt?: string | undefined;
262
+ areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[] | undefined;
263
+ hasBreakingChange?: boolean | undefined;
264
+ riskLevel?: "critical" | "high" | "medium" | "low" | undefined;
265
+ affectedComponents?: string[] | undefined;
266
+ } | undefined;
267
+ }, {
268
+ id: string;
107
269
  title: string;
108
- description?: string;
109
- projectId?: string;
110
- priority?: "critical" | "high" | "medium" | "low";
111
- parentId?: string;
270
+ status: "pending" | "in_progress" | "blocked" | "completed" | "cancelled";
271
+ priority: "critical" | "high" | "medium" | "low";
272
+ projectId: string;
273
+ createdAt: string;
274
+ updatedAt: string;
275
+ description?: string | undefined;
276
+ parentId?: string | null | undefined;
277
+ level?: number | undefined;
112
278
  dependencies?: {
113
279
  taskId: string;
114
280
  type: "blocks" | "blocked_by" | "related";
115
- reason?: string;
116
- }[];
281
+ reason?: string | undefined;
282
+ }[] | undefined;
117
283
  estimate?: {
118
- optimistic?: number;
119
- expected?: number;
120
- pessimistic?: number;
121
- confidence?: "high" | "medium" | "low";
122
- };
123
- dueDate?: string;
124
- startDate?: string;
125
- contexts?: string[];
126
- tags?: string[];
284
+ expected?: number | undefined;
285
+ optimistic?: number | undefined;
286
+ pessimistic?: number | undefined;
287
+ confidence?: "high" | "medium" | "low" | undefined;
288
+ } | undefined;
289
+ actualMinutes?: number | undefined;
290
+ dueDate?: string | undefined;
291
+ startDate?: string | undefined;
292
+ startedAt?: string | undefined;
293
+ completedAt?: string | undefined;
294
+ contexts?: string[] | undefined;
295
+ tags?: string[] | undefined;
127
296
  recurrence?: {
128
297
  pattern: "daily" | "weekly" | "monthly" | "after_completion";
129
- interval?: number;
130
- daysOfWeek?: number[];
131
- endDate?: string;
132
- };
133
- }, {}>;
134
- export type TaskCreateInput = typeof TaskCreateInput.infer;
135
- export declare const TaskUpdateInput: import("arktype/internal/methods/object.ts").ObjectType<{
136
- title?: string;
137
- description?: string;
138
- status?: "pending" | "in_progress" | "blocked" | "completed" | "cancelled";
139
- priority?: "critical" | "high" | "medium" | "low";
140
- projectId?: string;
141
- parentId?: string;
298
+ interval?: number | undefined;
299
+ daysOfWeek?: number[] | undefined;
300
+ endDate?: string | undefined;
301
+ } | undefined;
302
+ criticalPath?: boolean | undefined;
303
+ slack?: number | undefined;
304
+ earliestStart?: number | undefined;
305
+ latestStart?: number | undefined;
306
+ complexity?: {
307
+ score?: number | undefined;
308
+ factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[] | undefined;
309
+ suggestedSubtasks?: number | undefined;
310
+ rationale?: string | undefined;
311
+ analyzedAt?: string | undefined;
312
+ } | undefined;
313
+ techStack?: {
314
+ rationale?: string | undefined;
315
+ analyzedAt?: string | undefined;
316
+ areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[] | undefined;
317
+ hasBreakingChange?: boolean | undefined;
318
+ riskLevel?: "critical" | "high" | "medium" | "low" | undefined;
319
+ affectedComponents?: string[] | undefined;
320
+ } | undefined;
321
+ }>;
322
+ export type Task = z.infer<typeof Task>;
323
+ export declare const TaskCreateInput: z.ZodObject<{
324
+ title: z.ZodString;
325
+ description: z.ZodOptional<z.ZodString>;
326
+ projectId: z.ZodOptional<z.ZodString>;
327
+ priority: z.ZodOptional<z.ZodEnum<["critical", "high", "medium", "low"]>>;
328
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
329
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
330
+ taskId: z.ZodString;
331
+ type: z.ZodEnum<["blocks", "blocked_by", "related"]>;
332
+ reason: z.ZodOptional<z.ZodString>;
333
+ }, "strip", z.ZodTypeAny, {
334
+ taskId: string;
335
+ type: "blocks" | "blocked_by" | "related";
336
+ reason?: string | undefined;
337
+ }, {
338
+ taskId: string;
339
+ type: "blocks" | "blocked_by" | "related";
340
+ reason?: string | undefined;
341
+ }>, "many">>;
342
+ estimate: z.ZodOptional<z.ZodObject<{
343
+ optimistic: z.ZodOptional<z.ZodNumber>;
344
+ expected: z.ZodOptional<z.ZodNumber>;
345
+ pessimistic: z.ZodOptional<z.ZodNumber>;
346
+ confidence: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
347
+ }, "strip", z.ZodTypeAny, {
348
+ expected?: number | undefined;
349
+ optimistic?: number | undefined;
350
+ pessimistic?: number | undefined;
351
+ confidence?: "high" | "medium" | "low" | undefined;
352
+ }, {
353
+ expected?: number | undefined;
354
+ optimistic?: number | undefined;
355
+ pessimistic?: number | undefined;
356
+ confidence?: "high" | "medium" | "low" | undefined;
357
+ }>>;
358
+ dueDate: z.ZodOptional<z.ZodString>;
359
+ startDate: z.ZodOptional<z.ZodString>;
360
+ contexts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
361
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
362
+ recurrence: z.ZodOptional<z.ZodObject<{
363
+ pattern: z.ZodEnum<["daily", "weekly", "monthly", "after_completion"]>;
364
+ interval: z.ZodOptional<z.ZodNumber>;
365
+ daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
366
+ endDate: z.ZodOptional<z.ZodString>;
367
+ }, "strip", z.ZodTypeAny, {
368
+ pattern: "daily" | "weekly" | "monthly" | "after_completion";
369
+ interval?: number | undefined;
370
+ daysOfWeek?: number[] | undefined;
371
+ endDate?: string | undefined;
372
+ }, {
373
+ pattern: "daily" | "weekly" | "monthly" | "after_completion";
374
+ interval?: number | undefined;
375
+ daysOfWeek?: number[] | undefined;
376
+ endDate?: string | undefined;
377
+ }>>;
378
+ }, "strip", z.ZodTypeAny, {
379
+ title: string;
380
+ description?: string | undefined;
381
+ priority?: "critical" | "high" | "medium" | "low" | undefined;
382
+ projectId?: string | undefined;
383
+ parentId?: string | null | undefined;
384
+ dependencies?: {
385
+ taskId: string;
386
+ type: "blocks" | "blocked_by" | "related";
387
+ reason?: string | undefined;
388
+ }[] | undefined;
389
+ estimate?: {
390
+ expected?: number | undefined;
391
+ optimistic?: number | undefined;
392
+ pessimistic?: number | undefined;
393
+ confidence?: "high" | "medium" | "low" | undefined;
394
+ } | undefined;
395
+ dueDate?: string | undefined;
396
+ startDate?: string | undefined;
397
+ contexts?: string[] | undefined;
398
+ tags?: string[] | undefined;
399
+ recurrence?: {
400
+ pattern: "daily" | "weekly" | "monthly" | "after_completion";
401
+ interval?: number | undefined;
402
+ daysOfWeek?: number[] | undefined;
403
+ endDate?: string | undefined;
404
+ } | undefined;
405
+ }, {
406
+ title: string;
407
+ description?: string | undefined;
408
+ priority?: "critical" | "high" | "medium" | "low" | undefined;
409
+ projectId?: string | undefined;
410
+ parentId?: string | null | undefined;
411
+ dependencies?: {
412
+ taskId: string;
413
+ type: "blocks" | "blocked_by" | "related";
414
+ reason?: string | undefined;
415
+ }[] | undefined;
416
+ estimate?: {
417
+ expected?: number | undefined;
418
+ optimistic?: number | undefined;
419
+ pessimistic?: number | undefined;
420
+ confidence?: "high" | "medium" | "low" | undefined;
421
+ } | undefined;
422
+ dueDate?: string | undefined;
423
+ startDate?: string | undefined;
424
+ contexts?: string[] | undefined;
425
+ tags?: string[] | undefined;
426
+ recurrence?: {
427
+ pattern: "daily" | "weekly" | "monthly" | "after_completion";
428
+ interval?: number | undefined;
429
+ daysOfWeek?: number[] | undefined;
430
+ endDate?: string | undefined;
431
+ } | undefined;
432
+ }>;
433
+ export type TaskCreateInput = z.infer<typeof TaskCreateInput>;
434
+ export declare const TaskUpdateInput: z.ZodObject<{
435
+ title: z.ZodOptional<z.ZodString>;
436
+ description: z.ZodOptional<z.ZodString>;
437
+ status: z.ZodOptional<z.ZodEnum<["pending", "in_progress", "blocked", "completed", "cancelled"]>>;
438
+ priority: z.ZodOptional<z.ZodEnum<["critical", "high", "medium", "low"]>>;
439
+ projectId: z.ZodOptional<z.ZodString>;
440
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
441
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
442
+ taskId: z.ZodString;
443
+ type: z.ZodEnum<["blocks", "blocked_by", "related"]>;
444
+ reason: z.ZodOptional<z.ZodString>;
445
+ }, "strip", z.ZodTypeAny, {
446
+ taskId: string;
447
+ type: "blocks" | "blocked_by" | "related";
448
+ reason?: string | undefined;
449
+ }, {
450
+ taskId: string;
451
+ type: "blocks" | "blocked_by" | "related";
452
+ reason?: string | undefined;
453
+ }>, "many">>;
454
+ estimate: z.ZodOptional<z.ZodObject<{
455
+ optimistic: z.ZodOptional<z.ZodNumber>;
456
+ expected: z.ZodOptional<z.ZodNumber>;
457
+ pessimistic: z.ZodOptional<z.ZodNumber>;
458
+ confidence: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
459
+ }, "strip", z.ZodTypeAny, {
460
+ expected?: number | undefined;
461
+ optimistic?: number | undefined;
462
+ pessimistic?: number | undefined;
463
+ confidence?: "high" | "medium" | "low" | undefined;
464
+ }, {
465
+ expected?: number | undefined;
466
+ optimistic?: number | undefined;
467
+ pessimistic?: number | undefined;
468
+ confidence?: "high" | "medium" | "low" | undefined;
469
+ }>>;
470
+ actualMinutes: z.ZodOptional<z.ZodNumber>;
471
+ dueDate: z.ZodOptional<z.ZodString>;
472
+ startDate: z.ZodOptional<z.ZodString>;
473
+ contexts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
474
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
475
+ recurrence: z.ZodOptional<z.ZodObject<{
476
+ pattern: z.ZodEnum<["daily", "weekly", "monthly", "after_completion"]>;
477
+ interval: z.ZodOptional<z.ZodNumber>;
478
+ daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
479
+ endDate: z.ZodOptional<z.ZodString>;
480
+ }, "strip", z.ZodTypeAny, {
481
+ pattern: "daily" | "weekly" | "monthly" | "after_completion";
482
+ interval?: number | undefined;
483
+ daysOfWeek?: number[] | undefined;
484
+ endDate?: string | undefined;
485
+ }, {
486
+ pattern: "daily" | "weekly" | "monthly" | "after_completion";
487
+ interval?: number | undefined;
488
+ daysOfWeek?: number[] | undefined;
489
+ endDate?: string | undefined;
490
+ }>>;
491
+ complexity: z.ZodOptional<z.ZodObject<{
492
+ score: z.ZodOptional<z.ZodNumber>;
493
+ factors: z.ZodOptional<z.ZodArray<z.ZodEnum<["cross_cutting", "state_management", "error_handling", "performance", "security", "external_dependency", "data_migration", "breaking_change", "unclear_requirements", "coordination"]>, "many">>;
494
+ suggestedSubtasks: z.ZodOptional<z.ZodNumber>;
495
+ rationale: z.ZodOptional<z.ZodString>;
496
+ analyzedAt: z.ZodOptional<z.ZodString>;
497
+ }, "strip", z.ZodTypeAny, {
498
+ score?: number | undefined;
499
+ factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[] | undefined;
500
+ suggestedSubtasks?: number | undefined;
501
+ rationale?: string | undefined;
502
+ analyzedAt?: string | undefined;
503
+ }, {
504
+ score?: number | undefined;
505
+ factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[] | undefined;
506
+ suggestedSubtasks?: number | undefined;
507
+ rationale?: string | undefined;
508
+ analyzedAt?: string | undefined;
509
+ }>>;
510
+ techStack: z.ZodOptional<z.ZodObject<{
511
+ areas: z.ZodOptional<z.ZodArray<z.ZodEnum<["schema", "backend", "frontend", "infra", "devops", "test", "docs", "refactor"]>, "many">>;
512
+ hasBreakingChange: z.ZodOptional<z.ZodBoolean>;
513
+ riskLevel: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
514
+ affectedComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
515
+ rationale: z.ZodOptional<z.ZodString>;
516
+ analyzedAt: z.ZodOptional<z.ZodString>;
517
+ }, "strip", z.ZodTypeAny, {
518
+ rationale?: string | undefined;
519
+ analyzedAt?: string | undefined;
520
+ areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[] | undefined;
521
+ hasBreakingChange?: boolean | undefined;
522
+ riskLevel?: "critical" | "high" | "medium" | "low" | undefined;
523
+ affectedComponents?: string[] | undefined;
524
+ }, {
525
+ rationale?: string | undefined;
526
+ analyzedAt?: string | undefined;
527
+ areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[] | undefined;
528
+ hasBreakingChange?: boolean | undefined;
529
+ riskLevel?: "critical" | "high" | "medium" | "low" | undefined;
530
+ affectedComponents?: string[] | undefined;
531
+ }>>;
532
+ }, "strip", z.ZodTypeAny, {
533
+ title?: string | undefined;
534
+ description?: string | undefined;
535
+ status?: "pending" | "in_progress" | "blocked" | "completed" | "cancelled" | undefined;
536
+ priority?: "critical" | "high" | "medium" | "low" | undefined;
537
+ projectId?: string | undefined;
538
+ parentId?: string | null | undefined;
539
+ dependencies?: {
540
+ taskId: string;
541
+ type: "blocks" | "blocked_by" | "related";
542
+ reason?: string | undefined;
543
+ }[] | undefined;
544
+ estimate?: {
545
+ expected?: number | undefined;
546
+ optimistic?: number | undefined;
547
+ pessimistic?: number | undefined;
548
+ confidence?: "high" | "medium" | "low" | undefined;
549
+ } | undefined;
550
+ actualMinutes?: number | undefined;
551
+ dueDate?: string | undefined;
552
+ startDate?: string | undefined;
553
+ contexts?: string[] | undefined;
554
+ tags?: string[] | undefined;
555
+ recurrence?: {
556
+ pattern: "daily" | "weekly" | "monthly" | "after_completion";
557
+ interval?: number | undefined;
558
+ daysOfWeek?: number[] | undefined;
559
+ endDate?: string | undefined;
560
+ } | undefined;
561
+ complexity?: {
562
+ score?: number | undefined;
563
+ factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[] | undefined;
564
+ suggestedSubtasks?: number | undefined;
565
+ rationale?: string | undefined;
566
+ analyzedAt?: string | undefined;
567
+ } | undefined;
568
+ techStack?: {
569
+ rationale?: string | undefined;
570
+ analyzedAt?: string | undefined;
571
+ areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[] | undefined;
572
+ hasBreakingChange?: boolean | undefined;
573
+ riskLevel?: "critical" | "high" | "medium" | "low" | undefined;
574
+ affectedComponents?: string[] | undefined;
575
+ } | undefined;
576
+ }, {
577
+ title?: string | undefined;
578
+ description?: string | undefined;
579
+ status?: "pending" | "in_progress" | "blocked" | "completed" | "cancelled" | undefined;
580
+ priority?: "critical" | "high" | "medium" | "low" | undefined;
581
+ projectId?: string | undefined;
582
+ parentId?: string | null | undefined;
142
583
  dependencies?: {
143
584
  taskId: string;
144
585
  type: "blocks" | "blocked_by" | "related";
145
- reason?: string;
146
- }[];
586
+ reason?: string | undefined;
587
+ }[] | undefined;
147
588
  estimate?: {
148
- optimistic?: number;
149
- expected?: number;
150
- pessimistic?: number;
151
- confidence?: "high" | "medium" | "low";
152
- };
153
- actualMinutes?: number;
154
- dueDate?: string;
155
- startDate?: string;
156
- contexts?: string[];
157
- tags?: string[];
589
+ expected?: number | undefined;
590
+ optimistic?: number | undefined;
591
+ pessimistic?: number | undefined;
592
+ confidence?: "high" | "medium" | "low" | undefined;
593
+ } | undefined;
594
+ actualMinutes?: number | undefined;
595
+ dueDate?: string | undefined;
596
+ startDate?: string | undefined;
597
+ contexts?: string[] | undefined;
598
+ tags?: string[] | undefined;
158
599
  recurrence?: {
159
600
  pattern: "daily" | "weekly" | "monthly" | "after_completion";
160
- interval?: number;
161
- daysOfWeek?: number[];
162
- endDate?: string;
163
- };
601
+ interval?: number | undefined;
602
+ daysOfWeek?: number[] | undefined;
603
+ endDate?: string | undefined;
604
+ } | undefined;
164
605
  complexity?: {
165
- score?: number;
166
- factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[];
167
- suggestedSubtasks?: number;
168
- rationale?: string;
169
- analyzedAt?: string;
170
- };
606
+ score?: number | undefined;
607
+ factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[] | undefined;
608
+ suggestedSubtasks?: number | undefined;
609
+ rationale?: string | undefined;
610
+ analyzedAt?: string | undefined;
611
+ } | undefined;
171
612
  techStack?: {
172
- areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[];
173
- hasBreakingChange?: boolean;
174
- riskLevel?: "critical" | "high" | "medium" | "low";
175
- affectedComponents?: string[];
176
- rationale?: string;
177
- analyzedAt?: string;
178
- };
179
- }, {}>;
180
- export type TaskUpdateInput = typeof TaskUpdateInput.infer;
613
+ rationale?: string | undefined;
614
+ analyzedAt?: string | undefined;
615
+ areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[] | undefined;
616
+ hasBreakingChange?: boolean | undefined;
617
+ riskLevel?: "critical" | "high" | "medium" | "low" | undefined;
618
+ affectedComponents?: string[] | undefined;
619
+ } | undefined;
620
+ }>;
621
+ export type TaskUpdateInput = z.infer<typeof TaskUpdateInput>;
181
622
  //# sourceMappingURL=task.d.ts.map