@task-mcp/shared 1.0.22 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/dist/algorithms/critical-path.d.ts +47 -0
  2. package/dist/algorithms/critical-path.d.ts.map +1 -0
  3. package/dist/algorithms/critical-path.js +340 -0
  4. package/dist/algorithms/critical-path.js.map +1 -0
  5. package/dist/algorithms/critical-path.test.d.ts +2 -0
  6. package/dist/algorithms/critical-path.test.d.ts.map +1 -0
  7. package/dist/algorithms/critical-path.test.js +184 -0
  8. package/dist/algorithms/critical-path.test.js.map +1 -0
  9. package/dist/algorithms/dependency-integrity.d.ts +81 -0
  10. package/dist/algorithms/dependency-integrity.d.ts.map +1 -0
  11. package/dist/algorithms/dependency-integrity.js +209 -0
  12. package/dist/algorithms/dependency-integrity.js.map +1 -0
  13. package/dist/algorithms/dependency-integrity.test.d.ts +2 -0
  14. package/dist/algorithms/dependency-integrity.test.d.ts.map +1 -0
  15. package/dist/algorithms/dependency-integrity.test.js +296 -0
  16. package/dist/algorithms/dependency-integrity.test.js.map +1 -0
  17. package/dist/algorithms/index.d.ts +5 -0
  18. package/dist/algorithms/index.d.ts.map +1 -0
  19. package/dist/algorithms/index.js +5 -0
  20. package/dist/algorithms/index.js.map +1 -0
  21. package/dist/algorithms/tech-analysis.d.ts +106 -0
  22. package/dist/algorithms/tech-analysis.d.ts.map +1 -0
  23. package/dist/algorithms/tech-analysis.js +351 -0
  24. package/dist/algorithms/tech-analysis.js.map +1 -0
  25. package/dist/algorithms/tech-analysis.test.d.ts +2 -0
  26. package/dist/algorithms/tech-analysis.test.d.ts.map +1 -0
  27. package/dist/algorithms/tech-analysis.test.js +330 -0
  28. package/dist/algorithms/tech-analysis.test.js.map +1 -0
  29. package/dist/algorithms/topological-sort.d.ts +58 -0
  30. package/dist/algorithms/topological-sort.d.ts.map +1 -0
  31. package/dist/algorithms/topological-sort.js +201 -0
  32. package/dist/algorithms/topological-sort.js.map +1 -0
  33. package/dist/algorithms/topological-sort.test.d.ts +2 -0
  34. package/dist/algorithms/topological-sort.test.d.ts.map +1 -0
  35. package/dist/algorithms/topological-sort.test.js +154 -0
  36. package/dist/algorithms/topological-sort.test.js.map +1 -0
  37. package/dist/index.d.ts +4 -0
  38. package/dist/index.d.ts.map +1 -0
  39. package/dist/index.js +7 -0
  40. package/dist/index.js.map +1 -0
  41. package/dist/schemas/inbox.d.ts +55 -0
  42. package/dist/schemas/inbox.d.ts.map +1 -0
  43. package/dist/schemas/inbox.js +25 -0
  44. package/dist/schemas/inbox.js.map +1 -0
  45. package/dist/schemas/index.d.ts +7 -0
  46. package/dist/schemas/index.d.ts.map +1 -0
  47. package/dist/schemas/index.js +17 -0
  48. package/dist/schemas/index.js.map +1 -0
  49. package/dist/schemas/llm-guide.d.ts +147 -0
  50. package/dist/schemas/llm-guide.d.ts.map +1 -0
  51. package/dist/schemas/llm-guide.js +72 -0
  52. package/dist/schemas/llm-guide.js.map +1 -0
  53. package/dist/schemas/project.d.ts +177 -0
  54. package/dist/schemas/project.d.ts.map +1 -0
  55. package/dist/schemas/project.js +56 -0
  56. package/dist/schemas/project.js.map +1 -0
  57. package/dist/schemas/response-format.d.ts +148 -0
  58. package/dist/schemas/response-format.d.ts.map +1 -0
  59. package/dist/schemas/response-format.js +18 -0
  60. package/dist/schemas/response-format.js.map +1 -0
  61. package/dist/schemas/response-schema.d.ts +307 -0
  62. package/dist/schemas/response-schema.d.ts.map +1 -0
  63. package/dist/schemas/response-schema.js +78 -0
  64. package/dist/schemas/response-schema.js.map +1 -0
  65. package/dist/schemas/response-schema.test.d.ts +2 -0
  66. package/dist/schemas/response-schema.test.d.ts.map +1 -0
  67. package/dist/schemas/response-schema.test.js +256 -0
  68. package/dist/schemas/response-schema.test.js.map +1 -0
  69. package/dist/schemas/state.d.ts +17 -0
  70. package/dist/schemas/state.d.ts.map +1 -0
  71. package/dist/schemas/state.js +17 -0
  72. package/dist/schemas/state.js.map +1 -0
  73. package/dist/schemas/task.d.ts +881 -0
  74. package/dist/schemas/task.d.ts.map +1 -0
  75. package/dist/schemas/task.js +177 -0
  76. package/dist/schemas/task.js.map +1 -0
  77. package/dist/schemas/view.d.ts +143 -0
  78. package/dist/schemas/view.d.ts.map +1 -0
  79. package/dist/schemas/view.js +48 -0
  80. package/dist/schemas/view.js.map +1 -0
  81. package/dist/utils/dashboard-renderer.d.ts +93 -0
  82. package/dist/utils/dashboard-renderer.d.ts.map +1 -0
  83. package/dist/utils/dashboard-renderer.js +416 -0
  84. package/dist/utils/dashboard-renderer.js.map +1 -0
  85. package/dist/utils/dashboard-renderer.test.d.ts +2 -0
  86. package/dist/utils/dashboard-renderer.test.d.ts.map +1 -0
  87. package/dist/utils/dashboard-renderer.test.js +772 -0
  88. package/dist/utils/dashboard-renderer.test.js.map +1 -0
  89. package/dist/utils/date.d.ts +94 -0
  90. package/dist/utils/date.d.ts.map +1 -0
  91. package/dist/utils/date.js +323 -0
  92. package/dist/utils/date.js.map +1 -0
  93. package/dist/utils/date.test.d.ts +2 -0
  94. package/dist/utils/date.test.d.ts.map +1 -0
  95. package/dist/utils/date.test.js +276 -0
  96. package/dist/utils/date.test.js.map +1 -0
  97. package/dist/utils/hierarchy.d.ts +102 -0
  98. package/dist/utils/hierarchy.d.ts.map +1 -0
  99. package/dist/utils/hierarchy.js +236 -0
  100. package/dist/utils/hierarchy.js.map +1 -0
  101. package/dist/utils/hierarchy.test.d.ts +2 -0
  102. package/dist/utils/hierarchy.test.d.ts.map +1 -0
  103. package/dist/utils/hierarchy.test.js +423 -0
  104. package/dist/utils/hierarchy.test.js.map +1 -0
  105. package/dist/utils/id.d.ts +60 -0
  106. package/dist/utils/id.d.ts.map +1 -0
  107. package/dist/utils/id.js +118 -0
  108. package/dist/utils/id.js.map +1 -0
  109. package/dist/utils/id.test.d.ts +2 -0
  110. package/dist/utils/id.test.d.ts.map +1 -0
  111. package/dist/utils/id.test.js +193 -0
  112. package/dist/utils/id.test.js.map +1 -0
  113. package/dist/utils/index.d.ts +12 -0
  114. package/dist/utils/index.d.ts.map +1 -0
  115. package/dist/utils/index.js +34 -0
  116. package/dist/utils/index.js.map +1 -0
  117. package/dist/utils/natural-language.d.ts +111 -0
  118. package/dist/utils/natural-language.d.ts.map +1 -0
  119. package/dist/utils/natural-language.js +297 -0
  120. package/dist/utils/natural-language.js.map +1 -0
  121. package/dist/utils/natural-language.test.d.ts +2 -0
  122. package/dist/utils/natural-language.test.d.ts.map +1 -0
  123. package/dist/utils/natural-language.test.js +197 -0
  124. package/dist/utils/natural-language.test.js.map +1 -0
  125. package/dist/utils/priority-queue.d.ts +17 -0
  126. package/dist/utils/priority-queue.d.ts.map +1 -0
  127. package/dist/utils/priority-queue.js +62 -0
  128. package/dist/utils/priority-queue.js.map +1 -0
  129. package/dist/utils/priority-queue.test.d.ts +2 -0
  130. package/dist/utils/priority-queue.test.d.ts.map +1 -0
  131. package/dist/utils/priority-queue.test.js +82 -0
  132. package/dist/utils/priority-queue.test.js.map +1 -0
  133. package/dist/utils/projection.d.ts +65 -0
  134. package/dist/utils/projection.d.ts.map +1 -0
  135. package/dist/utils/projection.js +180 -0
  136. package/dist/utils/projection.js.map +1 -0
  137. package/dist/utils/projection.test.d.ts +2 -0
  138. package/dist/utils/projection.test.d.ts.map +1 -0
  139. package/dist/utils/projection.test.js +341 -0
  140. package/dist/utils/projection.test.js.map +1 -0
  141. package/dist/utils/terminal-ui.d.ts +208 -0
  142. package/dist/utils/terminal-ui.d.ts.map +1 -0
  143. package/dist/utils/terminal-ui.js +614 -0
  144. package/dist/utils/terminal-ui.js.map +1 -0
  145. package/dist/utils/terminal-ui.test.d.ts +2 -0
  146. package/dist/utils/terminal-ui.test.d.ts.map +1 -0
  147. package/dist/utils/terminal-ui.test.js +683 -0
  148. package/dist/utils/terminal-ui.test.js.map +1 -0
  149. package/dist/utils/workspace.d.ts +102 -0
  150. package/dist/utils/workspace.d.ts.map +1 -0
  151. package/dist/utils/workspace.js +183 -0
  152. package/dist/utils/workspace.js.map +1 -0
  153. package/dist/utils/workspace.test.d.ts +2 -0
  154. package/dist/utils/workspace.test.d.ts.map +1 -0
  155. package/dist/utils/workspace.test.js +97 -0
  156. package/dist/utils/workspace.test.js.map +1 -0
  157. package/package.json +5 -1
  158. package/src/algorithms/critical-path.test.ts +227 -0
  159. package/src/algorithms/critical-path.ts +14 -34
  160. package/src/algorithms/dependency-integrity.test.ts +335 -0
  161. package/src/algorithms/dependency-integrity.ts +4 -13
  162. package/src/algorithms/tech-analysis.test.ts +405 -0
  163. package/src/algorithms/tech-analysis.ts +27 -27
  164. package/src/algorithms/topological-sort.test.ts +182 -0
  165. package/src/algorithms/topological-sort.ts +6 -10
  166. package/src/schemas/index.ts +2 -13
  167. package/src/schemas/response-format.ts +6 -6
  168. package/src/schemas/response-schema.test.ts +314 -0
  169. package/src/schemas/response-schema.ts +25 -20
  170. package/src/schemas/task.ts +4 -22
  171. package/src/utils/dashboard-renderer.test.ts +976 -0
  172. package/src/utils/dashboard-renderer.ts +27 -59
  173. package/src/utils/date.test.ts +329 -0
  174. package/src/utils/date.ts +2 -10
  175. package/src/utils/hierarchy.test.ts +488 -0
  176. package/src/utils/hierarchy.ts +4 -5
  177. package/src/utils/id.test.ts +235 -0
  178. package/src/utils/index.ts +7 -1
  179. package/src/utils/natural-language.test.ts +234 -0
  180. package/src/utils/priority-queue.test.ts +103 -0
  181. package/src/utils/projection.test.ts +430 -0
  182. package/src/utils/terminal-ui.test.ts +831 -0
  183. package/src/utils/terminal-ui.ts +53 -54
  184. package/src/utils/workspace.test.ts +125 -0
@@ -0,0 +1,881 @@
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, {
13
+ taskId: string;
14
+ type: "blocks" | "blocked_by" | "related";
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.ZodEffects<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
+ expected?: number | undefined;
39
+ optimistic?: number | undefined;
40
+ pessimistic?: number | undefined;
41
+ confidence?: "high" | "medium" | "low" | undefined;
42
+ }, {
43
+ expected?: number | undefined;
44
+ optimistic?: number | undefined;
45
+ pessimistic?: number | undefined;
46
+ confidence?: "high" | "medium" | "low" | undefined;
47
+ }>;
48
+ export type TimeEstimate = z.infer<typeof TimeEstimate>;
49
+ export declare const Recurrence: z.ZodDiscriminatedUnion<"pattern", [z.ZodObject<{
50
+ pattern: z.ZodLiteral<"daily">;
51
+ interval: z.ZodOptional<z.ZodNumber>;
52
+ endDate: z.ZodOptional<z.ZodString>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ pattern: "daily";
55
+ interval?: number | undefined;
56
+ endDate?: string | undefined;
57
+ }, {
58
+ pattern: "daily";
59
+ interval?: number | undefined;
60
+ endDate?: string | undefined;
61
+ }>, z.ZodObject<{
62
+ pattern: z.ZodLiteral<"weekly">;
63
+ interval: z.ZodOptional<z.ZodNumber>;
64
+ daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
65
+ endDate: z.ZodOptional<z.ZodString>;
66
+ }, "strip", z.ZodTypeAny, {
67
+ pattern: "weekly";
68
+ interval?: number | undefined;
69
+ endDate?: string | undefined;
70
+ daysOfWeek?: number[] | undefined;
71
+ }, {
72
+ pattern: "weekly";
73
+ interval?: number | undefined;
74
+ endDate?: string | undefined;
75
+ daysOfWeek?: number[] | undefined;
76
+ }>, z.ZodObject<{
77
+ pattern: z.ZodLiteral<"monthly">;
78
+ interval: z.ZodOptional<z.ZodNumber>;
79
+ endDate: z.ZodOptional<z.ZodString>;
80
+ }, "strip", z.ZodTypeAny, {
81
+ pattern: "monthly";
82
+ interval?: number | undefined;
83
+ endDate?: string | undefined;
84
+ }, {
85
+ pattern: "monthly";
86
+ interval?: number | undefined;
87
+ endDate?: string | undefined;
88
+ }>, z.ZodObject<{
89
+ pattern: z.ZodLiteral<"after_completion">;
90
+ interval: z.ZodNumber;
91
+ endDate: z.ZodOptional<z.ZodString>;
92
+ }, "strip", z.ZodTypeAny, {
93
+ pattern: "after_completion";
94
+ interval: number;
95
+ endDate?: string | undefined;
96
+ }, {
97
+ pattern: "after_completion";
98
+ interval: number;
99
+ endDate?: string | undefined;
100
+ }>]>;
101
+ export type Recurrence = z.infer<typeof Recurrence>;
102
+ export declare const ComplexityFactor: z.ZodEnum<["cross_cutting", "state_management", "error_handling", "performance", "security", "external_dependency", "data_migration", "breaking_change", "unclear_requirements", "coordination"]>;
103
+ export type ComplexityFactor = z.infer<typeof ComplexityFactor>;
104
+ export declare const ComplexityAnalysis: z.ZodObject<{
105
+ score: z.ZodOptional<z.ZodNumber>;
106
+ 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">>;
107
+ suggestedSubtasks: z.ZodOptional<z.ZodNumber>;
108
+ rationale: z.ZodOptional<z.ZodString>;
109
+ analyzedAt: z.ZodOptional<z.ZodString>;
110
+ }, "strip", z.ZodTypeAny, {
111
+ score?: number | undefined;
112
+ factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[] | undefined;
113
+ suggestedSubtasks?: number | undefined;
114
+ rationale?: string | undefined;
115
+ analyzedAt?: string | undefined;
116
+ }, {
117
+ score?: number | undefined;
118
+ factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[] | undefined;
119
+ suggestedSubtasks?: number | undefined;
120
+ rationale?: string | undefined;
121
+ analyzedAt?: string | undefined;
122
+ }>;
123
+ export type ComplexityAnalysis = z.infer<typeof ComplexityAnalysis>;
124
+ export declare const TechArea: z.ZodEnum<["schema", "backend", "frontend", "infra", "devops", "test", "docs", "refactor"]>;
125
+ export type TechArea = z.infer<typeof TechArea>;
126
+ export declare const RiskLevel: z.ZodEnum<["low", "medium", "high", "critical"]>;
127
+ export type RiskLevel = z.infer<typeof RiskLevel>;
128
+ export declare const TechStackAnalysis: z.ZodObject<{
129
+ areas: z.ZodOptional<z.ZodArray<z.ZodEnum<["schema", "backend", "frontend", "infra", "devops", "test", "docs", "refactor"]>, "many">>;
130
+ hasBreakingChange: z.ZodOptional<z.ZodBoolean>;
131
+ riskLevel: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
132
+ affectedComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
133
+ rationale: z.ZodOptional<z.ZodString>;
134
+ analyzedAt: z.ZodOptional<z.ZodString>;
135
+ }, "strip", z.ZodTypeAny, {
136
+ rationale?: string | undefined;
137
+ analyzedAt?: string | undefined;
138
+ areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[] | undefined;
139
+ hasBreakingChange?: boolean | undefined;
140
+ riskLevel?: "critical" | "high" | "medium" | "low" | undefined;
141
+ affectedComponents?: string[] | undefined;
142
+ }, {
143
+ rationale?: string | undefined;
144
+ analyzedAt?: string | undefined;
145
+ areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[] | undefined;
146
+ hasBreakingChange?: boolean | undefined;
147
+ riskLevel?: "critical" | "high" | "medium" | "low" | undefined;
148
+ affectedComponents?: string[] | undefined;
149
+ }>;
150
+ export type TechStackAnalysis = z.infer<typeof TechStackAnalysis>;
151
+ export declare const Task: z.ZodObject<{
152
+ id: z.ZodString;
153
+ title: z.ZodString;
154
+ description: z.ZodOptional<z.ZodString>;
155
+ status: z.ZodEnum<["pending", "in_progress", "blocked", "completed", "cancelled"]>;
156
+ priority: z.ZodEnum<["critical", "high", "medium", "low"]>;
157
+ workspace: z.ZodString;
158
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
159
+ level: z.ZodOptional<z.ZodNumber>;
160
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
161
+ taskId: z.ZodString;
162
+ type: z.ZodEnum<["blocks", "blocked_by", "related"]>;
163
+ reason: z.ZodOptional<z.ZodString>;
164
+ }, "strip", z.ZodTypeAny, {
165
+ taskId: string;
166
+ type: "blocks" | "blocked_by" | "related";
167
+ reason?: string | undefined;
168
+ }, {
169
+ taskId: string;
170
+ type: "blocks" | "blocked_by" | "related";
171
+ reason?: string | undefined;
172
+ }>, "many">>;
173
+ estimate: z.ZodOptional<z.ZodEffects<z.ZodObject<{
174
+ optimistic: z.ZodOptional<z.ZodNumber>;
175
+ expected: z.ZodOptional<z.ZodNumber>;
176
+ pessimistic: z.ZodOptional<z.ZodNumber>;
177
+ confidence: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
178
+ }, "strip", z.ZodTypeAny, {
179
+ expected?: number | undefined;
180
+ optimistic?: number | undefined;
181
+ pessimistic?: number | undefined;
182
+ confidence?: "high" | "medium" | "low" | undefined;
183
+ }, {
184
+ expected?: number | undefined;
185
+ optimistic?: number | undefined;
186
+ pessimistic?: number | undefined;
187
+ confidence?: "high" | "medium" | "low" | undefined;
188
+ }>, {
189
+ expected?: number | undefined;
190
+ optimistic?: number | undefined;
191
+ pessimistic?: number | undefined;
192
+ confidence?: "high" | "medium" | "low" | undefined;
193
+ }, {
194
+ expected?: number | undefined;
195
+ optimistic?: number | undefined;
196
+ pessimistic?: number | undefined;
197
+ confidence?: "high" | "medium" | "low" | undefined;
198
+ }>>;
199
+ actualMinutes: z.ZodOptional<z.ZodNumber>;
200
+ dueDate: z.ZodOptional<z.ZodString>;
201
+ startDate: z.ZodOptional<z.ZodString>;
202
+ startedAt: z.ZodOptional<z.ZodString>;
203
+ completedAt: z.ZodOptional<z.ZodString>;
204
+ contexts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
205
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
206
+ sortOrder: z.ZodOptional<z.ZodNumber>;
207
+ recurrence: z.ZodOptional<z.ZodDiscriminatedUnion<"pattern", [z.ZodObject<{
208
+ pattern: z.ZodLiteral<"daily">;
209
+ interval: z.ZodOptional<z.ZodNumber>;
210
+ endDate: z.ZodOptional<z.ZodString>;
211
+ }, "strip", z.ZodTypeAny, {
212
+ pattern: "daily";
213
+ interval?: number | undefined;
214
+ endDate?: string | undefined;
215
+ }, {
216
+ pattern: "daily";
217
+ interval?: number | undefined;
218
+ endDate?: string | undefined;
219
+ }>, z.ZodObject<{
220
+ pattern: z.ZodLiteral<"weekly">;
221
+ interval: z.ZodOptional<z.ZodNumber>;
222
+ daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
223
+ endDate: z.ZodOptional<z.ZodString>;
224
+ }, "strip", z.ZodTypeAny, {
225
+ pattern: "weekly";
226
+ interval?: number | undefined;
227
+ endDate?: string | undefined;
228
+ daysOfWeek?: number[] | undefined;
229
+ }, {
230
+ pattern: "weekly";
231
+ interval?: number | undefined;
232
+ endDate?: string | undefined;
233
+ daysOfWeek?: number[] | undefined;
234
+ }>, z.ZodObject<{
235
+ pattern: z.ZodLiteral<"monthly">;
236
+ interval: z.ZodOptional<z.ZodNumber>;
237
+ endDate: z.ZodOptional<z.ZodString>;
238
+ }, "strip", z.ZodTypeAny, {
239
+ pattern: "monthly";
240
+ interval?: number | undefined;
241
+ endDate?: string | undefined;
242
+ }, {
243
+ pattern: "monthly";
244
+ interval?: number | undefined;
245
+ endDate?: string | undefined;
246
+ }>, z.ZodObject<{
247
+ pattern: z.ZodLiteral<"after_completion">;
248
+ interval: z.ZodNumber;
249
+ endDate: z.ZodOptional<z.ZodString>;
250
+ }, "strip", z.ZodTypeAny, {
251
+ pattern: "after_completion";
252
+ interval: number;
253
+ endDate?: string | undefined;
254
+ }, {
255
+ pattern: "after_completion";
256
+ interval: number;
257
+ endDate?: string | undefined;
258
+ }>]>>;
259
+ createdAt: z.ZodString;
260
+ updatedAt: z.ZodString;
261
+ criticalPath: z.ZodOptional<z.ZodBoolean>;
262
+ slack: z.ZodOptional<z.ZodNumber>;
263
+ earliestStart: z.ZodOptional<z.ZodNumber>;
264
+ latestStart: z.ZodOptional<z.ZodNumber>;
265
+ complexity: z.ZodOptional<z.ZodObject<{
266
+ score: z.ZodOptional<z.ZodNumber>;
267
+ 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">>;
268
+ suggestedSubtasks: z.ZodOptional<z.ZodNumber>;
269
+ rationale: z.ZodOptional<z.ZodString>;
270
+ analyzedAt: z.ZodOptional<z.ZodString>;
271
+ }, "strip", z.ZodTypeAny, {
272
+ score?: number | undefined;
273
+ factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[] | undefined;
274
+ suggestedSubtasks?: number | undefined;
275
+ rationale?: string | undefined;
276
+ analyzedAt?: string | undefined;
277
+ }, {
278
+ score?: number | undefined;
279
+ factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[] | undefined;
280
+ suggestedSubtasks?: number | undefined;
281
+ rationale?: string | undefined;
282
+ analyzedAt?: string | undefined;
283
+ }>>;
284
+ techStack: z.ZodOptional<z.ZodObject<{
285
+ areas: z.ZodOptional<z.ZodArray<z.ZodEnum<["schema", "backend", "frontend", "infra", "devops", "test", "docs", "refactor"]>, "many">>;
286
+ hasBreakingChange: z.ZodOptional<z.ZodBoolean>;
287
+ riskLevel: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
288
+ affectedComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
289
+ rationale: z.ZodOptional<z.ZodString>;
290
+ analyzedAt: z.ZodOptional<z.ZodString>;
291
+ }, "strip", z.ZodTypeAny, {
292
+ rationale?: string | undefined;
293
+ analyzedAt?: string | undefined;
294
+ areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[] | undefined;
295
+ hasBreakingChange?: boolean | undefined;
296
+ riskLevel?: "critical" | "high" | "medium" | "low" | undefined;
297
+ affectedComponents?: string[] | undefined;
298
+ }, {
299
+ rationale?: string | undefined;
300
+ analyzedAt?: string | undefined;
301
+ areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[] | undefined;
302
+ hasBreakingChange?: boolean | undefined;
303
+ riskLevel?: "critical" | "high" | "medium" | "low" | undefined;
304
+ affectedComponents?: string[] | undefined;
305
+ }>>;
306
+ }, "strip", z.ZodTypeAny, {
307
+ id: string;
308
+ title: string;
309
+ status: "pending" | "in_progress" | "blocked" | "completed" | "cancelled";
310
+ priority: "critical" | "high" | "medium" | "low";
311
+ workspace: string;
312
+ createdAt: string;
313
+ updatedAt: string;
314
+ description?: string | undefined;
315
+ parentId?: string | null | undefined;
316
+ level?: number | undefined;
317
+ dependencies?: {
318
+ taskId: string;
319
+ type: "blocks" | "blocked_by" | "related";
320
+ reason?: string | undefined;
321
+ }[] | undefined;
322
+ estimate?: {
323
+ expected?: number | undefined;
324
+ optimistic?: number | undefined;
325
+ pessimistic?: number | undefined;
326
+ confidence?: "high" | "medium" | "low" | undefined;
327
+ } | undefined;
328
+ actualMinutes?: number | undefined;
329
+ dueDate?: string | undefined;
330
+ startDate?: string | undefined;
331
+ startedAt?: string | undefined;
332
+ completedAt?: string | undefined;
333
+ contexts?: string[] | undefined;
334
+ tags?: string[] | undefined;
335
+ sortOrder?: number | undefined;
336
+ recurrence?: {
337
+ pattern: "daily";
338
+ interval?: number | undefined;
339
+ endDate?: string | undefined;
340
+ } | {
341
+ pattern: "weekly";
342
+ interval?: number | undefined;
343
+ endDate?: string | undefined;
344
+ daysOfWeek?: number[] | undefined;
345
+ } | {
346
+ pattern: "monthly";
347
+ interval?: number | undefined;
348
+ endDate?: string | undefined;
349
+ } | {
350
+ pattern: "after_completion";
351
+ interval: number;
352
+ endDate?: string | undefined;
353
+ } | undefined;
354
+ criticalPath?: boolean | undefined;
355
+ slack?: number | undefined;
356
+ earliestStart?: number | undefined;
357
+ latestStart?: number | undefined;
358
+ complexity?: {
359
+ score?: number | undefined;
360
+ factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[] | undefined;
361
+ suggestedSubtasks?: number | undefined;
362
+ rationale?: string | undefined;
363
+ analyzedAt?: string | undefined;
364
+ } | undefined;
365
+ techStack?: {
366
+ rationale?: string | undefined;
367
+ analyzedAt?: string | undefined;
368
+ areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[] | undefined;
369
+ hasBreakingChange?: boolean | undefined;
370
+ riskLevel?: "critical" | "high" | "medium" | "low" | undefined;
371
+ affectedComponents?: string[] | undefined;
372
+ } | undefined;
373
+ }, {
374
+ id: string;
375
+ title: string;
376
+ status: "pending" | "in_progress" | "blocked" | "completed" | "cancelled";
377
+ priority: "critical" | "high" | "medium" | "low";
378
+ workspace: string;
379
+ createdAt: string;
380
+ updatedAt: string;
381
+ description?: string | undefined;
382
+ parentId?: string | null | undefined;
383
+ level?: number | 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
+ actualMinutes?: number | undefined;
396
+ dueDate?: string | undefined;
397
+ startDate?: string | undefined;
398
+ startedAt?: string | undefined;
399
+ completedAt?: string | undefined;
400
+ contexts?: string[] | undefined;
401
+ tags?: string[] | undefined;
402
+ sortOrder?: number | undefined;
403
+ recurrence?: {
404
+ pattern: "daily";
405
+ interval?: number | undefined;
406
+ endDate?: string | undefined;
407
+ } | {
408
+ pattern: "weekly";
409
+ interval?: number | undefined;
410
+ endDate?: string | undefined;
411
+ daysOfWeek?: number[] | undefined;
412
+ } | {
413
+ pattern: "monthly";
414
+ interval?: number | undefined;
415
+ endDate?: string | undefined;
416
+ } | {
417
+ pattern: "after_completion";
418
+ interval: number;
419
+ endDate?: string | undefined;
420
+ } | undefined;
421
+ criticalPath?: boolean | undefined;
422
+ slack?: number | undefined;
423
+ earliestStart?: number | undefined;
424
+ latestStart?: number | undefined;
425
+ complexity?: {
426
+ score?: number | undefined;
427
+ factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[] | undefined;
428
+ suggestedSubtasks?: number | undefined;
429
+ rationale?: string | undefined;
430
+ analyzedAt?: string | undefined;
431
+ } | undefined;
432
+ techStack?: {
433
+ rationale?: string | undefined;
434
+ analyzedAt?: string | undefined;
435
+ areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[] | undefined;
436
+ hasBreakingChange?: boolean | undefined;
437
+ riskLevel?: "critical" | "high" | "medium" | "low" | undefined;
438
+ affectedComponents?: string[] | undefined;
439
+ } | undefined;
440
+ }>;
441
+ export type Task = z.infer<typeof Task>;
442
+ export declare const TaskCreateInput: z.ZodObject<{
443
+ title: z.ZodString;
444
+ description: z.ZodOptional<z.ZodString>;
445
+ priority: z.ZodOptional<z.ZodEnum<["critical", "high", "medium", "low"]>>;
446
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
447
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
448
+ taskId: z.ZodString;
449
+ type: z.ZodEnum<["blocks", "blocked_by", "related"]>;
450
+ reason: z.ZodOptional<z.ZodString>;
451
+ }, "strip", z.ZodTypeAny, {
452
+ taskId: string;
453
+ type: "blocks" | "blocked_by" | "related";
454
+ reason?: string | undefined;
455
+ }, {
456
+ taskId: string;
457
+ type: "blocks" | "blocked_by" | "related";
458
+ reason?: string | undefined;
459
+ }>, "many">>;
460
+ estimate: z.ZodOptional<z.ZodEffects<z.ZodObject<{
461
+ optimistic: z.ZodOptional<z.ZodNumber>;
462
+ expected: z.ZodOptional<z.ZodNumber>;
463
+ pessimistic: z.ZodOptional<z.ZodNumber>;
464
+ confidence: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
465
+ }, "strip", z.ZodTypeAny, {
466
+ expected?: number | undefined;
467
+ optimistic?: number | undefined;
468
+ pessimistic?: number | undefined;
469
+ confidence?: "high" | "medium" | "low" | undefined;
470
+ }, {
471
+ expected?: number | undefined;
472
+ optimistic?: number | undefined;
473
+ pessimistic?: number | undefined;
474
+ confidence?: "high" | "medium" | "low" | undefined;
475
+ }>, {
476
+ expected?: number | undefined;
477
+ optimistic?: number | undefined;
478
+ pessimistic?: number | undefined;
479
+ confidence?: "high" | "medium" | "low" | undefined;
480
+ }, {
481
+ expected?: number | undefined;
482
+ optimistic?: number | undefined;
483
+ pessimistic?: number | undefined;
484
+ confidence?: "high" | "medium" | "low" | undefined;
485
+ }>>;
486
+ dueDate: z.ZodOptional<z.ZodString>;
487
+ startDate: z.ZodOptional<z.ZodString>;
488
+ contexts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
489
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
490
+ sortOrder: z.ZodOptional<z.ZodNumber>;
491
+ recurrence: z.ZodOptional<z.ZodDiscriminatedUnion<"pattern", [z.ZodObject<{
492
+ pattern: z.ZodLiteral<"daily">;
493
+ interval: z.ZodOptional<z.ZodNumber>;
494
+ endDate: z.ZodOptional<z.ZodString>;
495
+ }, "strip", z.ZodTypeAny, {
496
+ pattern: "daily";
497
+ interval?: number | undefined;
498
+ endDate?: string | undefined;
499
+ }, {
500
+ pattern: "daily";
501
+ interval?: number | undefined;
502
+ endDate?: string | undefined;
503
+ }>, z.ZodObject<{
504
+ pattern: z.ZodLiteral<"weekly">;
505
+ interval: z.ZodOptional<z.ZodNumber>;
506
+ daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
507
+ endDate: z.ZodOptional<z.ZodString>;
508
+ }, "strip", z.ZodTypeAny, {
509
+ pattern: "weekly";
510
+ interval?: number | undefined;
511
+ endDate?: string | undefined;
512
+ daysOfWeek?: number[] | undefined;
513
+ }, {
514
+ pattern: "weekly";
515
+ interval?: number | undefined;
516
+ endDate?: string | undefined;
517
+ daysOfWeek?: number[] | undefined;
518
+ }>, z.ZodObject<{
519
+ pattern: z.ZodLiteral<"monthly">;
520
+ interval: z.ZodOptional<z.ZodNumber>;
521
+ endDate: z.ZodOptional<z.ZodString>;
522
+ }, "strip", z.ZodTypeAny, {
523
+ pattern: "monthly";
524
+ interval?: number | undefined;
525
+ endDate?: string | undefined;
526
+ }, {
527
+ pattern: "monthly";
528
+ interval?: number | undefined;
529
+ endDate?: string | undefined;
530
+ }>, z.ZodObject<{
531
+ pattern: z.ZodLiteral<"after_completion">;
532
+ interval: z.ZodNumber;
533
+ endDate: z.ZodOptional<z.ZodString>;
534
+ }, "strip", z.ZodTypeAny, {
535
+ pattern: "after_completion";
536
+ interval: number;
537
+ endDate?: string | undefined;
538
+ }, {
539
+ pattern: "after_completion";
540
+ interval: number;
541
+ endDate?: string | undefined;
542
+ }>]>>;
543
+ }, "strip", z.ZodTypeAny, {
544
+ title: string;
545
+ description?: string | undefined;
546
+ priority?: "critical" | "high" | "medium" | "low" | undefined;
547
+ parentId?: string | null | undefined;
548
+ dependencies?: {
549
+ taskId: string;
550
+ type: "blocks" | "blocked_by" | "related";
551
+ reason?: string | undefined;
552
+ }[] | undefined;
553
+ estimate?: {
554
+ expected?: number | undefined;
555
+ optimistic?: number | undefined;
556
+ pessimistic?: number | undefined;
557
+ confidence?: "high" | "medium" | "low" | undefined;
558
+ } | undefined;
559
+ dueDate?: string | undefined;
560
+ startDate?: string | undefined;
561
+ contexts?: string[] | undefined;
562
+ tags?: string[] | undefined;
563
+ sortOrder?: number | undefined;
564
+ recurrence?: {
565
+ pattern: "daily";
566
+ interval?: number | undefined;
567
+ endDate?: string | undefined;
568
+ } | {
569
+ pattern: "weekly";
570
+ interval?: number | undefined;
571
+ endDate?: string | undefined;
572
+ daysOfWeek?: number[] | undefined;
573
+ } | {
574
+ pattern: "monthly";
575
+ interval?: number | undefined;
576
+ endDate?: string | undefined;
577
+ } | {
578
+ pattern: "after_completion";
579
+ interval: number;
580
+ endDate?: string | undefined;
581
+ } | undefined;
582
+ }, {
583
+ title: string;
584
+ description?: string | undefined;
585
+ priority?: "critical" | "high" | "medium" | "low" | undefined;
586
+ parentId?: string | null | undefined;
587
+ dependencies?: {
588
+ taskId: string;
589
+ type: "blocks" | "blocked_by" | "related";
590
+ reason?: string | undefined;
591
+ }[] | undefined;
592
+ estimate?: {
593
+ expected?: number | undefined;
594
+ optimistic?: number | undefined;
595
+ pessimistic?: number | undefined;
596
+ confidence?: "high" | "medium" | "low" | undefined;
597
+ } | undefined;
598
+ dueDate?: string | undefined;
599
+ startDate?: string | undefined;
600
+ contexts?: string[] | undefined;
601
+ tags?: string[] | undefined;
602
+ sortOrder?: number | undefined;
603
+ recurrence?: {
604
+ pattern: "daily";
605
+ interval?: number | undefined;
606
+ endDate?: string | undefined;
607
+ } | {
608
+ pattern: "weekly";
609
+ interval?: number | undefined;
610
+ endDate?: string | undefined;
611
+ daysOfWeek?: number[] | undefined;
612
+ } | {
613
+ pattern: "monthly";
614
+ interval?: number | undefined;
615
+ endDate?: string | undefined;
616
+ } | {
617
+ pattern: "after_completion";
618
+ interval: number;
619
+ endDate?: string | undefined;
620
+ } | undefined;
621
+ }>;
622
+ export type TaskCreateInput = z.infer<typeof TaskCreateInput>;
623
+ export declare const TaskUpdateInput: z.ZodObject<{
624
+ title: z.ZodOptional<z.ZodString>;
625
+ description: z.ZodOptional<z.ZodString>;
626
+ status: z.ZodOptional<z.ZodEnum<["pending", "in_progress", "blocked", "completed", "cancelled"]>>;
627
+ priority: z.ZodOptional<z.ZodEnum<["critical", "high", "medium", "low"]>>;
628
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
629
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
630
+ taskId: z.ZodString;
631
+ type: z.ZodEnum<["blocks", "blocked_by", "related"]>;
632
+ reason: z.ZodOptional<z.ZodString>;
633
+ }, "strip", z.ZodTypeAny, {
634
+ taskId: string;
635
+ type: "blocks" | "blocked_by" | "related";
636
+ reason?: string | undefined;
637
+ }, {
638
+ taskId: string;
639
+ type: "blocks" | "blocked_by" | "related";
640
+ reason?: string | undefined;
641
+ }>, "many">>;
642
+ estimate: z.ZodOptional<z.ZodEffects<z.ZodObject<{
643
+ optimistic: z.ZodOptional<z.ZodNumber>;
644
+ expected: z.ZodOptional<z.ZodNumber>;
645
+ pessimistic: z.ZodOptional<z.ZodNumber>;
646
+ confidence: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
647
+ }, "strip", z.ZodTypeAny, {
648
+ expected?: number | undefined;
649
+ optimistic?: number | undefined;
650
+ pessimistic?: number | undefined;
651
+ confidence?: "high" | "medium" | "low" | undefined;
652
+ }, {
653
+ expected?: number | undefined;
654
+ optimistic?: number | undefined;
655
+ pessimistic?: number | undefined;
656
+ confidence?: "high" | "medium" | "low" | undefined;
657
+ }>, {
658
+ expected?: number | undefined;
659
+ optimistic?: number | undefined;
660
+ pessimistic?: number | undefined;
661
+ confidence?: "high" | "medium" | "low" | undefined;
662
+ }, {
663
+ expected?: number | undefined;
664
+ optimistic?: number | undefined;
665
+ pessimistic?: number | undefined;
666
+ confidence?: "high" | "medium" | "low" | undefined;
667
+ }>>;
668
+ actualMinutes: z.ZodOptional<z.ZodNumber>;
669
+ dueDate: z.ZodOptional<z.ZodString>;
670
+ startDate: z.ZodOptional<z.ZodString>;
671
+ contexts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
672
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
673
+ sortOrder: z.ZodOptional<z.ZodNumber>;
674
+ recurrence: z.ZodOptional<z.ZodDiscriminatedUnion<"pattern", [z.ZodObject<{
675
+ pattern: z.ZodLiteral<"daily">;
676
+ interval: z.ZodOptional<z.ZodNumber>;
677
+ endDate: z.ZodOptional<z.ZodString>;
678
+ }, "strip", z.ZodTypeAny, {
679
+ pattern: "daily";
680
+ interval?: number | undefined;
681
+ endDate?: string | undefined;
682
+ }, {
683
+ pattern: "daily";
684
+ interval?: number | undefined;
685
+ endDate?: string | undefined;
686
+ }>, z.ZodObject<{
687
+ pattern: z.ZodLiteral<"weekly">;
688
+ interval: z.ZodOptional<z.ZodNumber>;
689
+ daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
690
+ endDate: z.ZodOptional<z.ZodString>;
691
+ }, "strip", z.ZodTypeAny, {
692
+ pattern: "weekly";
693
+ interval?: number | undefined;
694
+ endDate?: string | undefined;
695
+ daysOfWeek?: number[] | undefined;
696
+ }, {
697
+ pattern: "weekly";
698
+ interval?: number | undefined;
699
+ endDate?: string | undefined;
700
+ daysOfWeek?: number[] | undefined;
701
+ }>, z.ZodObject<{
702
+ pattern: z.ZodLiteral<"monthly">;
703
+ interval: z.ZodOptional<z.ZodNumber>;
704
+ endDate: z.ZodOptional<z.ZodString>;
705
+ }, "strip", z.ZodTypeAny, {
706
+ pattern: "monthly";
707
+ interval?: number | undefined;
708
+ endDate?: string | undefined;
709
+ }, {
710
+ pattern: "monthly";
711
+ interval?: number | undefined;
712
+ endDate?: string | undefined;
713
+ }>, z.ZodObject<{
714
+ pattern: z.ZodLiteral<"after_completion">;
715
+ interval: z.ZodNumber;
716
+ endDate: z.ZodOptional<z.ZodString>;
717
+ }, "strip", z.ZodTypeAny, {
718
+ pattern: "after_completion";
719
+ interval: number;
720
+ endDate?: string | undefined;
721
+ }, {
722
+ pattern: "after_completion";
723
+ interval: number;
724
+ endDate?: string | undefined;
725
+ }>]>>;
726
+ complexity: z.ZodOptional<z.ZodObject<{
727
+ score: z.ZodOptional<z.ZodNumber>;
728
+ 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">>;
729
+ suggestedSubtasks: z.ZodOptional<z.ZodNumber>;
730
+ rationale: z.ZodOptional<z.ZodString>;
731
+ analyzedAt: z.ZodOptional<z.ZodString>;
732
+ }, "strip", z.ZodTypeAny, {
733
+ score?: number | undefined;
734
+ factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[] | undefined;
735
+ suggestedSubtasks?: number | undefined;
736
+ rationale?: string | undefined;
737
+ analyzedAt?: string | undefined;
738
+ }, {
739
+ score?: number | undefined;
740
+ factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[] | undefined;
741
+ suggestedSubtasks?: number | undefined;
742
+ rationale?: string | undefined;
743
+ analyzedAt?: string | undefined;
744
+ }>>;
745
+ techStack: z.ZodOptional<z.ZodObject<{
746
+ areas: z.ZodOptional<z.ZodArray<z.ZodEnum<["schema", "backend", "frontend", "infra", "devops", "test", "docs", "refactor"]>, "many">>;
747
+ hasBreakingChange: z.ZodOptional<z.ZodBoolean>;
748
+ riskLevel: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
749
+ affectedComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
750
+ rationale: z.ZodOptional<z.ZodString>;
751
+ analyzedAt: z.ZodOptional<z.ZodString>;
752
+ }, "strip", z.ZodTypeAny, {
753
+ rationale?: string | undefined;
754
+ analyzedAt?: string | undefined;
755
+ areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[] | undefined;
756
+ hasBreakingChange?: boolean | undefined;
757
+ riskLevel?: "critical" | "high" | "medium" | "low" | undefined;
758
+ affectedComponents?: string[] | undefined;
759
+ }, {
760
+ rationale?: string | undefined;
761
+ analyzedAt?: string | undefined;
762
+ areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[] | undefined;
763
+ hasBreakingChange?: boolean | undefined;
764
+ riskLevel?: "critical" | "high" | "medium" | "low" | undefined;
765
+ affectedComponents?: string[] | undefined;
766
+ }>>;
767
+ }, "strip", z.ZodTypeAny, {
768
+ title?: string | undefined;
769
+ description?: string | undefined;
770
+ status?: "pending" | "in_progress" | "blocked" | "completed" | "cancelled" | undefined;
771
+ priority?: "critical" | "high" | "medium" | "low" | undefined;
772
+ parentId?: string | null | undefined;
773
+ dependencies?: {
774
+ taskId: string;
775
+ type: "blocks" | "blocked_by" | "related";
776
+ reason?: string | undefined;
777
+ }[] | undefined;
778
+ estimate?: {
779
+ expected?: number | undefined;
780
+ optimistic?: number | undefined;
781
+ pessimistic?: number | undefined;
782
+ confidence?: "high" | "medium" | "low" | undefined;
783
+ } | undefined;
784
+ actualMinutes?: number | undefined;
785
+ dueDate?: string | undefined;
786
+ startDate?: string | undefined;
787
+ contexts?: string[] | undefined;
788
+ tags?: string[] | undefined;
789
+ sortOrder?: number | undefined;
790
+ recurrence?: {
791
+ pattern: "daily";
792
+ interval?: number | undefined;
793
+ endDate?: string | undefined;
794
+ } | {
795
+ pattern: "weekly";
796
+ interval?: number | undefined;
797
+ endDate?: string | undefined;
798
+ daysOfWeek?: number[] | undefined;
799
+ } | {
800
+ pattern: "monthly";
801
+ interval?: number | undefined;
802
+ endDate?: string | undefined;
803
+ } | {
804
+ pattern: "after_completion";
805
+ interval: number;
806
+ endDate?: string | undefined;
807
+ } | undefined;
808
+ complexity?: {
809
+ score?: number | undefined;
810
+ factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[] | undefined;
811
+ suggestedSubtasks?: number | undefined;
812
+ rationale?: string | undefined;
813
+ analyzedAt?: string | undefined;
814
+ } | undefined;
815
+ techStack?: {
816
+ rationale?: string | undefined;
817
+ analyzedAt?: string | undefined;
818
+ areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[] | undefined;
819
+ hasBreakingChange?: boolean | undefined;
820
+ riskLevel?: "critical" | "high" | "medium" | "low" | undefined;
821
+ affectedComponents?: string[] | undefined;
822
+ } | undefined;
823
+ }, {
824
+ title?: string | undefined;
825
+ description?: string | undefined;
826
+ status?: "pending" | "in_progress" | "blocked" | "completed" | "cancelled" | undefined;
827
+ priority?: "critical" | "high" | "medium" | "low" | undefined;
828
+ parentId?: string | null | undefined;
829
+ dependencies?: {
830
+ taskId: string;
831
+ type: "blocks" | "blocked_by" | "related";
832
+ reason?: string | undefined;
833
+ }[] | undefined;
834
+ estimate?: {
835
+ expected?: number | undefined;
836
+ optimistic?: number | undefined;
837
+ pessimistic?: number | undefined;
838
+ confidence?: "high" | "medium" | "low" | undefined;
839
+ } | undefined;
840
+ actualMinutes?: number | undefined;
841
+ dueDate?: string | undefined;
842
+ startDate?: string | undefined;
843
+ contexts?: string[] | undefined;
844
+ tags?: string[] | undefined;
845
+ sortOrder?: number | undefined;
846
+ recurrence?: {
847
+ pattern: "daily";
848
+ interval?: number | undefined;
849
+ endDate?: string | undefined;
850
+ } | {
851
+ pattern: "weekly";
852
+ interval?: number | undefined;
853
+ endDate?: string | undefined;
854
+ daysOfWeek?: number[] | undefined;
855
+ } | {
856
+ pattern: "monthly";
857
+ interval?: number | undefined;
858
+ endDate?: string | undefined;
859
+ } | {
860
+ pattern: "after_completion";
861
+ interval: number;
862
+ endDate?: string | undefined;
863
+ } | undefined;
864
+ complexity?: {
865
+ score?: number | undefined;
866
+ factors?: ("cross_cutting" | "state_management" | "error_handling" | "performance" | "security" | "external_dependency" | "data_migration" | "breaking_change" | "unclear_requirements" | "coordination")[] | undefined;
867
+ suggestedSubtasks?: number | undefined;
868
+ rationale?: string | undefined;
869
+ analyzedAt?: string | undefined;
870
+ } | undefined;
871
+ techStack?: {
872
+ rationale?: string | undefined;
873
+ analyzedAt?: string | undefined;
874
+ areas?: ("schema" | "backend" | "frontend" | "infra" | "devops" | "test" | "docs" | "refactor")[] | undefined;
875
+ hasBreakingChange?: boolean | undefined;
876
+ riskLevel?: "critical" | "high" | "medium" | "low" | undefined;
877
+ affectedComponents?: string[] | undefined;
878
+ } | undefined;
879
+ }>;
880
+ export type TaskUpdateInput = z.infer<typeof TaskUpdateInput>;
881
+ //# sourceMappingURL=task.d.ts.map