@lovelybunch/core 1.0.75 → 1.0.76-alpha.1
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/dist/mail.d.ts +22 -22
- package/dist/markdown-storage.d.ts.map +1 -1
- package/dist/markdown-storage.js +6 -2
- package/dist/markdown-storage.js.map +1 -1
- package/dist/tasks.d.ts +254 -202
- package/dist/tasks.d.ts.map +1 -1
- package/dist/tasks.js +69 -3
- package/dist/tasks.js.map +1 -1
- package/package.json +2 -2
package/dist/tasks.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import type { Task } from '@lovelybunch/types';
|
|
3
|
-
export declare const TaskStatusSchema: z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "done", "canceled", "duplicate"]>;
|
|
3
|
+
export declare const TaskStatusSchema: z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "revision", "done", "canceled", "duplicate"]>;
|
|
4
4
|
export declare const TaskPrioritySchema: z.ZodEnum<["low", "medium", "high", "critical"]>;
|
|
5
5
|
export type TaskPriority = z.infer<typeof TaskPrioritySchema>;
|
|
6
6
|
export declare const AuthorSchema: z.ZodObject<{
|
|
@@ -10,58 +10,58 @@ export declare const AuthorSchema: z.ZodObject<{
|
|
|
10
10
|
role: z.ZodOptional<z.ZodString>;
|
|
11
11
|
type: z.ZodEnum<["human", "agent"]>;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
id: string;
|
|
14
|
-
name: string;
|
|
15
13
|
type: "human" | "agent";
|
|
14
|
+
name: string;
|
|
15
|
+
id: string;
|
|
16
16
|
email?: string | undefined;
|
|
17
17
|
role?: string | undefined;
|
|
18
18
|
}, {
|
|
19
|
-
id: string;
|
|
20
|
-
name: string;
|
|
21
19
|
type: "human" | "agent";
|
|
20
|
+
name: string;
|
|
21
|
+
id: string;
|
|
22
22
|
email?: string | undefined;
|
|
23
23
|
role?: string | undefined;
|
|
24
24
|
}>;
|
|
25
25
|
export type AuthorInput = z.infer<typeof AuthorSchema>;
|
|
26
26
|
export declare const TaskFiltersSchema: z.ZodObject<{
|
|
27
|
-
status: z.ZodOptional<z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "done", "canceled", "duplicate"]>>;
|
|
27
|
+
status: z.ZodOptional<z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "revision", "done", "canceled", "duplicate"]>>;
|
|
28
28
|
author: z.ZodOptional<z.ZodString>;
|
|
29
29
|
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
30
30
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
31
31
|
search: z.ZodOptional<z.ZodString>;
|
|
32
32
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
|
|
34
|
+
search?: string | undefined;
|
|
35
|
+
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
35
36
|
author?: string | undefined;
|
|
36
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
37
37
|
tags?: string[] | undefined;
|
|
38
|
-
|
|
38
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
39
39
|
limit?: number | undefined;
|
|
40
40
|
}, {
|
|
41
|
-
|
|
41
|
+
search?: string | undefined;
|
|
42
|
+
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
42
43
|
author?: string | undefined;
|
|
43
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
44
44
|
tags?: string[] | undefined;
|
|
45
|
-
|
|
45
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
46
46
|
limit?: number | undefined;
|
|
47
47
|
}>;
|
|
48
48
|
export type TaskFilters = z.infer<typeof TaskFiltersSchema>;
|
|
49
49
|
export declare const PlanStepInputSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
50
50
|
id: z.ZodOptional<z.ZodString>;
|
|
51
51
|
description: z.ZodString;
|
|
52
|
-
status: z.ZodOptional<z.ZodEnum<["pending", "
|
|
52
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "active", "done", "failed", "skipped"]>>;
|
|
53
53
|
command: z.ZodOptional<z.ZodString>;
|
|
54
54
|
expectedOutcome: z.ZodOptional<z.ZodString>;
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
56
|
description: string;
|
|
57
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
57
58
|
id?: string | undefined;
|
|
58
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
59
59
|
command?: string | undefined;
|
|
60
60
|
expectedOutcome?: string | undefined;
|
|
61
61
|
}, {
|
|
62
62
|
description: string;
|
|
63
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
63
64
|
id?: string | undefined;
|
|
64
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
65
65
|
command?: string | undefined;
|
|
66
66
|
expectedOutcome?: string | undefined;
|
|
67
67
|
}>]>;
|
|
@@ -78,158 +78,158 @@ export declare const CreateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
78
78
|
role: z.ZodOptional<z.ZodString>;
|
|
79
79
|
type: z.ZodEnum<["human", "agent"]>;
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
|
-
id: string;
|
|
82
|
-
name: string;
|
|
83
81
|
type: "human" | "agent";
|
|
82
|
+
name: string;
|
|
83
|
+
id: string;
|
|
84
84
|
email?: string | undefined;
|
|
85
85
|
role?: string | undefined;
|
|
86
86
|
}, {
|
|
87
|
-
id: string;
|
|
88
|
-
name: string;
|
|
89
87
|
type: "human" | "agent";
|
|
88
|
+
name: string;
|
|
89
|
+
id: string;
|
|
90
90
|
email?: string | undefined;
|
|
91
91
|
role?: string | undefined;
|
|
92
92
|
}>>;
|
|
93
93
|
planSteps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
94
94
|
id: z.ZodOptional<z.ZodString>;
|
|
95
95
|
description: z.ZodString;
|
|
96
|
-
status: z.ZodOptional<z.ZodEnum<["pending", "
|
|
96
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "active", "done", "failed", "skipped"]>>;
|
|
97
97
|
command: z.ZodOptional<z.ZodString>;
|
|
98
98
|
expectedOutcome: z.ZodOptional<z.ZodString>;
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
100
|
description: string;
|
|
101
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
101
102
|
id?: string | undefined;
|
|
102
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
103
103
|
command?: string | undefined;
|
|
104
104
|
expectedOutcome?: string | undefined;
|
|
105
105
|
}, {
|
|
106
106
|
description: string;
|
|
107
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
107
108
|
id?: string | undefined;
|
|
108
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
109
109
|
command?: string | undefined;
|
|
110
110
|
expectedOutcome?: string | undefined;
|
|
111
111
|
}>]>, "many">>;
|
|
112
|
-
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "done", "canceled", "duplicate"]>>>;
|
|
112
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "revision", "done", "canceled", "duplicate"]>>>;
|
|
113
113
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
114
114
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
115
115
|
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
116
116
|
readiness: z.ZodOptional<z.ZodNumber>;
|
|
117
117
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
118
118
|
}, "strip", z.ZodTypeAny, {
|
|
119
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
120
119
|
tags?: string[] | undefined;
|
|
120
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
121
121
|
readiness?: number | undefined;
|
|
122
122
|
reviewers?: string[] | undefined;
|
|
123
123
|
}, {
|
|
124
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
125
124
|
tags?: string[] | undefined;
|
|
125
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
126
126
|
readiness?: number | undefined;
|
|
127
127
|
reviewers?: string[] | undefined;
|
|
128
128
|
}>>;
|
|
129
129
|
productSpecRef: z.ZodOptional<z.ZodString>;
|
|
130
130
|
}, "strip", z.ZodTypeAny, {
|
|
131
|
-
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate";
|
|
131
|
+
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
|
|
132
132
|
content: string;
|
|
133
133
|
author?: {
|
|
134
|
-
id: string;
|
|
135
|
-
name: string;
|
|
136
134
|
type: "human" | "agent";
|
|
135
|
+
name: string;
|
|
136
|
+
id: string;
|
|
137
137
|
email?: string | undefined;
|
|
138
138
|
role?: string | undefined;
|
|
139
139
|
} | undefined;
|
|
140
|
+
metadata?: {
|
|
141
|
+
tags?: string[] | undefined;
|
|
142
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
143
|
+
readiness?: number | undefined;
|
|
144
|
+
reviewers?: string[] | undefined;
|
|
145
|
+
} | undefined;
|
|
140
146
|
title?: string | undefined;
|
|
141
147
|
intent?: string | undefined;
|
|
142
148
|
planSteps?: (string | {
|
|
143
149
|
description: string;
|
|
150
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
144
151
|
id?: string | undefined;
|
|
145
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
146
152
|
command?: string | undefined;
|
|
147
153
|
expectedOutcome?: string | undefined;
|
|
148
154
|
})[] | undefined;
|
|
149
|
-
metadata?: {
|
|
150
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
151
|
-
tags?: string[] | undefined;
|
|
152
|
-
readiness?: number | undefined;
|
|
153
|
-
reviewers?: string[] | undefined;
|
|
154
|
-
} | undefined;
|
|
155
155
|
productSpecRef?: string | undefined;
|
|
156
156
|
}, {
|
|
157
157
|
content: string;
|
|
158
|
-
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
158
|
+
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
159
159
|
author?: {
|
|
160
|
-
id: string;
|
|
161
|
-
name: string;
|
|
162
160
|
type: "human" | "agent";
|
|
161
|
+
name: string;
|
|
162
|
+
id: string;
|
|
163
163
|
email?: string | undefined;
|
|
164
164
|
role?: string | undefined;
|
|
165
165
|
} | undefined;
|
|
166
|
+
metadata?: {
|
|
167
|
+
tags?: string[] | undefined;
|
|
168
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
169
|
+
readiness?: number | undefined;
|
|
170
|
+
reviewers?: string[] | undefined;
|
|
171
|
+
} | undefined;
|
|
166
172
|
title?: string | undefined;
|
|
167
173
|
intent?: string | undefined;
|
|
168
174
|
planSteps?: (string | {
|
|
169
175
|
description: string;
|
|
176
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
170
177
|
id?: string | undefined;
|
|
171
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
172
178
|
command?: string | undefined;
|
|
173
179
|
expectedOutcome?: string | undefined;
|
|
174
180
|
})[] | undefined;
|
|
175
|
-
metadata?: {
|
|
176
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
177
|
-
tags?: string[] | undefined;
|
|
178
|
-
readiness?: number | undefined;
|
|
179
|
-
reviewers?: string[] | undefined;
|
|
180
|
-
} | undefined;
|
|
181
181
|
productSpecRef?: string | undefined;
|
|
182
182
|
}>, {
|
|
183
|
-
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate";
|
|
183
|
+
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
|
|
184
184
|
content: string;
|
|
185
185
|
author?: {
|
|
186
|
-
id: string;
|
|
187
|
-
name: string;
|
|
188
186
|
type: "human" | "agent";
|
|
187
|
+
name: string;
|
|
188
|
+
id: string;
|
|
189
189
|
email?: string | undefined;
|
|
190
190
|
role?: string | undefined;
|
|
191
191
|
} | undefined;
|
|
192
|
+
metadata?: {
|
|
193
|
+
tags?: string[] | undefined;
|
|
194
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
195
|
+
readiness?: number | undefined;
|
|
196
|
+
reviewers?: string[] | undefined;
|
|
197
|
+
} | undefined;
|
|
192
198
|
title?: string | undefined;
|
|
193
199
|
intent?: string | undefined;
|
|
194
200
|
planSteps?: (string | {
|
|
195
201
|
description: string;
|
|
202
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
196
203
|
id?: string | undefined;
|
|
197
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
198
204
|
command?: string | undefined;
|
|
199
205
|
expectedOutcome?: string | undefined;
|
|
200
206
|
})[] | undefined;
|
|
201
|
-
metadata?: {
|
|
202
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
203
|
-
tags?: string[] | undefined;
|
|
204
|
-
readiness?: number | undefined;
|
|
205
|
-
reviewers?: string[] | undefined;
|
|
206
|
-
} | undefined;
|
|
207
207
|
productSpecRef?: string | undefined;
|
|
208
208
|
}, {
|
|
209
209
|
content: string;
|
|
210
|
-
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
210
|
+
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
211
211
|
author?: {
|
|
212
|
-
id: string;
|
|
213
|
-
name: string;
|
|
214
212
|
type: "human" | "agent";
|
|
213
|
+
name: string;
|
|
214
|
+
id: string;
|
|
215
215
|
email?: string | undefined;
|
|
216
216
|
role?: string | undefined;
|
|
217
217
|
} | undefined;
|
|
218
|
+
metadata?: {
|
|
219
|
+
tags?: string[] | undefined;
|
|
220
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
221
|
+
readiness?: number | undefined;
|
|
222
|
+
reviewers?: string[] | undefined;
|
|
223
|
+
} | undefined;
|
|
218
224
|
title?: string | undefined;
|
|
219
225
|
intent?: string | undefined;
|
|
220
226
|
planSteps?: (string | {
|
|
221
227
|
description: string;
|
|
228
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
222
229
|
id?: string | undefined;
|
|
223
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
224
230
|
command?: string | undefined;
|
|
225
231
|
expectedOutcome?: string | undefined;
|
|
226
232
|
})[] | undefined;
|
|
227
|
-
metadata?: {
|
|
228
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
229
|
-
tags?: string[] | undefined;
|
|
230
|
-
readiness?: number | undefined;
|
|
231
|
-
reviewers?: string[] | undefined;
|
|
232
|
-
} | undefined;
|
|
233
233
|
productSpecRef?: string | undefined;
|
|
234
234
|
}>;
|
|
235
235
|
export type CreateTaskInput = z.infer<typeof CreateTaskInputSchema>;
|
|
@@ -238,23 +238,23 @@ export declare const UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
238
238
|
/** @deprecated Use `title` instead. Will be removed in a future version. */
|
|
239
239
|
intent: z.ZodOptional<z.ZodString>;
|
|
240
240
|
content: z.ZodOptional<z.ZodString>;
|
|
241
|
-
status: z.ZodOptional<z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "done", "canceled", "duplicate"]>>;
|
|
241
|
+
status: z.ZodOptional<z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "revision", "done", "canceled", "duplicate"]>>;
|
|
242
242
|
planSteps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
243
243
|
id: z.ZodOptional<z.ZodString>;
|
|
244
244
|
description: z.ZodString;
|
|
245
|
-
status: z.ZodOptional<z.ZodEnum<["pending", "
|
|
245
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "active", "done", "failed", "skipped"]>>;
|
|
246
246
|
command: z.ZodOptional<z.ZodString>;
|
|
247
247
|
expectedOutcome: z.ZodOptional<z.ZodString>;
|
|
248
248
|
}, "strip", z.ZodTypeAny, {
|
|
249
249
|
description: string;
|
|
250
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
250
251
|
id?: string | undefined;
|
|
251
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
252
252
|
command?: string | undefined;
|
|
253
253
|
expectedOutcome?: string | undefined;
|
|
254
254
|
}, {
|
|
255
255
|
description: string;
|
|
256
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
256
257
|
id?: string | undefined;
|
|
257
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
258
258
|
command?: string | undefined;
|
|
259
259
|
expectedOutcome?: string | undefined;
|
|
260
260
|
}>]>, "many">>;
|
|
@@ -264,92 +264,92 @@ export declare const UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
264
264
|
readiness: z.ZodOptional<z.ZodNumber>;
|
|
265
265
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
266
266
|
}, "strip", z.ZodTypeAny, {
|
|
267
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
268
267
|
tags?: string[] | undefined;
|
|
268
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
269
269
|
readiness?: number | undefined;
|
|
270
270
|
reviewers?: string[] | undefined;
|
|
271
271
|
}, {
|
|
272
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
273
272
|
tags?: string[] | undefined;
|
|
273
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
274
274
|
readiness?: number | undefined;
|
|
275
275
|
reviewers?: string[] | undefined;
|
|
276
276
|
}>>;
|
|
277
277
|
productSpecRef: z.ZodOptional<z.ZodString>;
|
|
278
278
|
}, "strip", z.ZodTypeAny, {
|
|
279
|
-
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
279
|
+
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
280
|
+
metadata?: {
|
|
281
|
+
tags?: string[] | undefined;
|
|
282
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
283
|
+
readiness?: number | undefined;
|
|
284
|
+
reviewers?: string[] | undefined;
|
|
285
|
+
} | undefined;
|
|
286
|
+
content?: string | undefined;
|
|
280
287
|
title?: string | undefined;
|
|
281
288
|
intent?: string | undefined;
|
|
282
|
-
content?: string | undefined;
|
|
283
289
|
planSteps?: (string | {
|
|
284
290
|
description: string;
|
|
291
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
285
292
|
id?: string | undefined;
|
|
286
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
287
293
|
command?: string | undefined;
|
|
288
294
|
expectedOutcome?: string | undefined;
|
|
289
295
|
})[] | undefined;
|
|
296
|
+
productSpecRef?: string | undefined;
|
|
297
|
+
}, {
|
|
298
|
+
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
290
299
|
metadata?: {
|
|
291
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
292
300
|
tags?: string[] | undefined;
|
|
301
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
293
302
|
readiness?: number | undefined;
|
|
294
303
|
reviewers?: string[] | undefined;
|
|
295
304
|
} | undefined;
|
|
296
|
-
|
|
297
|
-
}, {
|
|
298
|
-
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
305
|
+
content?: string | undefined;
|
|
299
306
|
title?: string | undefined;
|
|
300
307
|
intent?: string | undefined;
|
|
301
|
-
content?: string | undefined;
|
|
302
308
|
planSteps?: (string | {
|
|
303
309
|
description: string;
|
|
310
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
304
311
|
id?: string | undefined;
|
|
305
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
306
312
|
command?: string | undefined;
|
|
307
313
|
expectedOutcome?: string | undefined;
|
|
308
314
|
})[] | undefined;
|
|
315
|
+
productSpecRef?: string | undefined;
|
|
316
|
+
}>, {
|
|
317
|
+
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
309
318
|
metadata?: {
|
|
310
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
311
319
|
tags?: string[] | undefined;
|
|
320
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
312
321
|
readiness?: number | undefined;
|
|
313
322
|
reviewers?: string[] | undefined;
|
|
314
323
|
} | undefined;
|
|
315
|
-
|
|
316
|
-
}>, {
|
|
317
|
-
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
324
|
+
content?: string | undefined;
|
|
318
325
|
title?: string | undefined;
|
|
319
326
|
intent?: string | undefined;
|
|
320
|
-
content?: string | undefined;
|
|
321
327
|
planSteps?: (string | {
|
|
322
328
|
description: string;
|
|
329
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
323
330
|
id?: string | undefined;
|
|
324
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
325
331
|
command?: string | undefined;
|
|
326
332
|
expectedOutcome?: string | undefined;
|
|
327
333
|
})[] | undefined;
|
|
334
|
+
productSpecRef?: string | undefined;
|
|
335
|
+
}, {
|
|
336
|
+
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
328
337
|
metadata?: {
|
|
329
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
330
338
|
tags?: string[] | undefined;
|
|
339
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
331
340
|
readiness?: number | undefined;
|
|
332
341
|
reviewers?: string[] | undefined;
|
|
333
342
|
} | undefined;
|
|
334
|
-
|
|
335
|
-
}, {
|
|
336
|
-
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
343
|
+
content?: string | undefined;
|
|
337
344
|
title?: string | undefined;
|
|
338
345
|
intent?: string | undefined;
|
|
339
|
-
content?: string | undefined;
|
|
340
346
|
planSteps?: (string | {
|
|
341
347
|
description: string;
|
|
348
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
342
349
|
id?: string | undefined;
|
|
343
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
344
350
|
command?: string | undefined;
|
|
345
351
|
expectedOutcome?: string | undefined;
|
|
346
352
|
})[] | undefined;
|
|
347
|
-
metadata?: {
|
|
348
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
349
|
-
tags?: string[] | undefined;
|
|
350
|
-
readiness?: number | undefined;
|
|
351
|
-
reviewers?: string[] | undefined;
|
|
352
|
-
} | undefined;
|
|
353
353
|
productSpecRef?: string | undefined;
|
|
354
354
|
}>;
|
|
355
355
|
export type UpdateTaskInput = z.infer<typeof UpdateTaskInputSchema>;
|
|
@@ -373,19 +373,21 @@ export declare function updateTask(id: string, updates: UpdateTaskInput): Promis
|
|
|
373
373
|
* Delete a task by ID
|
|
374
374
|
*/
|
|
375
375
|
export declare function deleteTask(id: string): Promise<boolean>;
|
|
376
|
+
export declare const StepStatusSchema: z.ZodEnum<["pending", "active", "done", "failed", "skipped"]>;
|
|
377
|
+
export type StepStatus = z.infer<typeof StepStatusSchema>;
|
|
376
378
|
export declare const AddPlanStepInputSchema: z.ZodObject<{
|
|
377
379
|
description: z.ZodString;
|
|
378
|
-
status: z.ZodOptional<z.ZodEnum<["pending", "
|
|
380
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "active", "done", "failed", "skipped"]>>;
|
|
379
381
|
command: z.ZodOptional<z.ZodString>;
|
|
380
382
|
expectedOutcome: z.ZodOptional<z.ZodString>;
|
|
381
383
|
}, "strip", z.ZodTypeAny, {
|
|
382
384
|
description: string;
|
|
383
|
-
status?: "
|
|
385
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
384
386
|
command?: string | undefined;
|
|
385
387
|
expectedOutcome?: string | undefined;
|
|
386
388
|
}, {
|
|
387
389
|
description: string;
|
|
388
|
-
status?: "
|
|
390
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
389
391
|
command?: string | undefined;
|
|
390
392
|
expectedOutcome?: string | undefined;
|
|
391
393
|
}>;
|
|
@@ -405,6 +407,33 @@ export type AddCommentInput = z.infer<typeof AddCommentInputSchema>;
|
|
|
405
407
|
* Add a plan step to an existing task
|
|
406
408
|
*/
|
|
407
409
|
export declare function addPlanStep(taskId: string, step: AddPlanStepInput): Promise<Task['planSteps'][number]>;
|
|
410
|
+
export declare const UpdatePlanStepInputSchema: z.ZodObject<{
|
|
411
|
+
description: z.ZodOptional<z.ZodString>;
|
|
412
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "active", "done", "failed", "skipped"]>>;
|
|
413
|
+
command: z.ZodOptional<z.ZodString>;
|
|
414
|
+
expectedOutcome: z.ZodOptional<z.ZodString>;
|
|
415
|
+
output: z.ZodOptional<z.ZodString>;
|
|
416
|
+
error: z.ZodOptional<z.ZodString>;
|
|
417
|
+
}, "strip", z.ZodTypeAny, {
|
|
418
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
419
|
+
description?: string | undefined;
|
|
420
|
+
command?: string | undefined;
|
|
421
|
+
expectedOutcome?: string | undefined;
|
|
422
|
+
output?: string | undefined;
|
|
423
|
+
error?: string | undefined;
|
|
424
|
+
}, {
|
|
425
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
426
|
+
description?: string | undefined;
|
|
427
|
+
command?: string | undefined;
|
|
428
|
+
expectedOutcome?: string | undefined;
|
|
429
|
+
output?: string | undefined;
|
|
430
|
+
error?: string | undefined;
|
|
431
|
+
}>;
|
|
432
|
+
export type UpdatePlanStepInput = z.infer<typeof UpdatePlanStepInputSchema>;
|
|
433
|
+
/**
|
|
434
|
+
* Update an existing plan step on a task
|
|
435
|
+
*/
|
|
436
|
+
export declare function updatePlanStep(taskId: string, stepId: string, updates: UpdatePlanStepInput): Promise<Task['planSteps'][number]>;
|
|
408
437
|
/**
|
|
409
438
|
* Add a comment to an existing task
|
|
410
439
|
*/
|
|
@@ -415,7 +444,7 @@ export declare function addComment(taskId: string, comment: AddCommentInput): Pr
|
|
|
415
444
|
createdAt: string;
|
|
416
445
|
}>;
|
|
417
446
|
export declare const taskSchemas: {
|
|
418
|
-
TaskStatusSchema: z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "done", "canceled", "duplicate"]>;
|
|
447
|
+
TaskStatusSchema: z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "revision", "done", "canceled", "duplicate"]>;
|
|
419
448
|
TaskPrioritySchema: z.ZodEnum<["low", "medium", "high", "critical"]>;
|
|
420
449
|
AuthorSchema: z.ZodObject<{
|
|
421
450
|
id: z.ZodString;
|
|
@@ -424,56 +453,57 @@ export declare const taskSchemas: {
|
|
|
424
453
|
role: z.ZodOptional<z.ZodString>;
|
|
425
454
|
type: z.ZodEnum<["human", "agent"]>;
|
|
426
455
|
}, "strip", z.ZodTypeAny, {
|
|
427
|
-
id: string;
|
|
428
|
-
name: string;
|
|
429
456
|
type: "human" | "agent";
|
|
457
|
+
name: string;
|
|
458
|
+
id: string;
|
|
430
459
|
email?: string | undefined;
|
|
431
460
|
role?: string | undefined;
|
|
432
461
|
}, {
|
|
433
|
-
id: string;
|
|
434
|
-
name: string;
|
|
435
462
|
type: "human" | "agent";
|
|
463
|
+
name: string;
|
|
464
|
+
id: string;
|
|
436
465
|
email?: string | undefined;
|
|
437
466
|
role?: string | undefined;
|
|
438
467
|
}>;
|
|
439
468
|
TaskFiltersSchema: z.ZodObject<{
|
|
440
|
-
status: z.ZodOptional<z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "done", "canceled", "duplicate"]>>;
|
|
469
|
+
status: z.ZodOptional<z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "revision", "done", "canceled", "duplicate"]>>;
|
|
441
470
|
author: z.ZodOptional<z.ZodString>;
|
|
442
471
|
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
443
472
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
444
473
|
search: z.ZodOptional<z.ZodString>;
|
|
445
474
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
446
475
|
}, "strip", z.ZodTypeAny, {
|
|
447
|
-
|
|
476
|
+
search?: string | undefined;
|
|
477
|
+
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
448
478
|
author?: string | undefined;
|
|
449
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
450
479
|
tags?: string[] | undefined;
|
|
451
|
-
|
|
480
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
452
481
|
limit?: number | undefined;
|
|
453
482
|
}, {
|
|
454
|
-
|
|
483
|
+
search?: string | undefined;
|
|
484
|
+
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
455
485
|
author?: string | undefined;
|
|
456
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
457
486
|
tags?: string[] | undefined;
|
|
458
|
-
|
|
487
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
459
488
|
limit?: number | undefined;
|
|
460
489
|
}>;
|
|
490
|
+
StepStatusSchema: z.ZodEnum<["pending", "active", "done", "failed", "skipped"]>;
|
|
461
491
|
PlanStepInputSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
462
492
|
id: z.ZodOptional<z.ZodString>;
|
|
463
493
|
description: z.ZodString;
|
|
464
|
-
status: z.ZodOptional<z.ZodEnum<["pending", "
|
|
494
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "active", "done", "failed", "skipped"]>>;
|
|
465
495
|
command: z.ZodOptional<z.ZodString>;
|
|
466
496
|
expectedOutcome: z.ZodOptional<z.ZodString>;
|
|
467
497
|
}, "strip", z.ZodTypeAny, {
|
|
468
498
|
description: string;
|
|
499
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
469
500
|
id?: string | undefined;
|
|
470
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
471
501
|
command?: string | undefined;
|
|
472
502
|
expectedOutcome?: string | undefined;
|
|
473
503
|
}, {
|
|
474
504
|
description: string;
|
|
505
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
475
506
|
id?: string | undefined;
|
|
476
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
477
507
|
command?: string | undefined;
|
|
478
508
|
expectedOutcome?: string | undefined;
|
|
479
509
|
}>]>;
|
|
@@ -489,158 +519,158 @@ export declare const taskSchemas: {
|
|
|
489
519
|
role: z.ZodOptional<z.ZodString>;
|
|
490
520
|
type: z.ZodEnum<["human", "agent"]>;
|
|
491
521
|
}, "strip", z.ZodTypeAny, {
|
|
492
|
-
id: string;
|
|
493
|
-
name: string;
|
|
494
522
|
type: "human" | "agent";
|
|
523
|
+
name: string;
|
|
524
|
+
id: string;
|
|
495
525
|
email?: string | undefined;
|
|
496
526
|
role?: string | undefined;
|
|
497
527
|
}, {
|
|
498
|
-
id: string;
|
|
499
|
-
name: string;
|
|
500
528
|
type: "human" | "agent";
|
|
529
|
+
name: string;
|
|
530
|
+
id: string;
|
|
501
531
|
email?: string | undefined;
|
|
502
532
|
role?: string | undefined;
|
|
503
533
|
}>>;
|
|
504
534
|
planSteps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
505
535
|
id: z.ZodOptional<z.ZodString>;
|
|
506
536
|
description: z.ZodString;
|
|
507
|
-
status: z.ZodOptional<z.ZodEnum<["pending", "
|
|
537
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "active", "done", "failed", "skipped"]>>;
|
|
508
538
|
command: z.ZodOptional<z.ZodString>;
|
|
509
539
|
expectedOutcome: z.ZodOptional<z.ZodString>;
|
|
510
540
|
}, "strip", z.ZodTypeAny, {
|
|
511
541
|
description: string;
|
|
542
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
512
543
|
id?: string | undefined;
|
|
513
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
514
544
|
command?: string | undefined;
|
|
515
545
|
expectedOutcome?: string | undefined;
|
|
516
546
|
}, {
|
|
517
547
|
description: string;
|
|
548
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
518
549
|
id?: string | undefined;
|
|
519
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
520
550
|
command?: string | undefined;
|
|
521
551
|
expectedOutcome?: string | undefined;
|
|
522
552
|
}>]>, "many">>;
|
|
523
|
-
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "done", "canceled", "duplicate"]>>>;
|
|
553
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "revision", "done", "canceled", "duplicate"]>>>;
|
|
524
554
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
525
555
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
526
556
|
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
527
557
|
readiness: z.ZodOptional<z.ZodNumber>;
|
|
528
558
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
529
559
|
}, "strip", z.ZodTypeAny, {
|
|
530
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
531
560
|
tags?: string[] | undefined;
|
|
561
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
532
562
|
readiness?: number | undefined;
|
|
533
563
|
reviewers?: string[] | undefined;
|
|
534
564
|
}, {
|
|
535
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
536
565
|
tags?: string[] | undefined;
|
|
566
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
537
567
|
readiness?: number | undefined;
|
|
538
568
|
reviewers?: string[] | undefined;
|
|
539
569
|
}>>;
|
|
540
570
|
productSpecRef: z.ZodOptional<z.ZodString>;
|
|
541
571
|
}, "strip", z.ZodTypeAny, {
|
|
542
|
-
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate";
|
|
572
|
+
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
|
|
543
573
|
content: string;
|
|
544
574
|
author?: {
|
|
545
|
-
id: string;
|
|
546
|
-
name: string;
|
|
547
575
|
type: "human" | "agent";
|
|
576
|
+
name: string;
|
|
577
|
+
id: string;
|
|
548
578
|
email?: string | undefined;
|
|
549
579
|
role?: string | undefined;
|
|
550
580
|
} | undefined;
|
|
581
|
+
metadata?: {
|
|
582
|
+
tags?: string[] | undefined;
|
|
583
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
584
|
+
readiness?: number | undefined;
|
|
585
|
+
reviewers?: string[] | undefined;
|
|
586
|
+
} | undefined;
|
|
551
587
|
title?: string | undefined;
|
|
552
588
|
intent?: string | undefined;
|
|
553
589
|
planSteps?: (string | {
|
|
554
590
|
description: string;
|
|
591
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
555
592
|
id?: string | undefined;
|
|
556
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
557
593
|
command?: string | undefined;
|
|
558
594
|
expectedOutcome?: string | undefined;
|
|
559
595
|
})[] | undefined;
|
|
560
|
-
metadata?: {
|
|
561
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
562
|
-
tags?: string[] | undefined;
|
|
563
|
-
readiness?: number | undefined;
|
|
564
|
-
reviewers?: string[] | undefined;
|
|
565
|
-
} | undefined;
|
|
566
596
|
productSpecRef?: string | undefined;
|
|
567
597
|
}, {
|
|
568
598
|
content: string;
|
|
569
|
-
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
599
|
+
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
570
600
|
author?: {
|
|
571
|
-
id: string;
|
|
572
|
-
name: string;
|
|
573
601
|
type: "human" | "agent";
|
|
602
|
+
name: string;
|
|
603
|
+
id: string;
|
|
574
604
|
email?: string | undefined;
|
|
575
605
|
role?: string | undefined;
|
|
576
606
|
} | undefined;
|
|
607
|
+
metadata?: {
|
|
608
|
+
tags?: string[] | undefined;
|
|
609
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
610
|
+
readiness?: number | undefined;
|
|
611
|
+
reviewers?: string[] | undefined;
|
|
612
|
+
} | undefined;
|
|
577
613
|
title?: string | undefined;
|
|
578
614
|
intent?: string | undefined;
|
|
579
615
|
planSteps?: (string | {
|
|
580
616
|
description: string;
|
|
617
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
581
618
|
id?: string | undefined;
|
|
582
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
583
619
|
command?: string | undefined;
|
|
584
620
|
expectedOutcome?: string | undefined;
|
|
585
621
|
})[] | undefined;
|
|
586
|
-
metadata?: {
|
|
587
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
588
|
-
tags?: string[] | undefined;
|
|
589
|
-
readiness?: number | undefined;
|
|
590
|
-
reviewers?: string[] | undefined;
|
|
591
|
-
} | undefined;
|
|
592
622
|
productSpecRef?: string | undefined;
|
|
593
623
|
}>, {
|
|
594
|
-
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate";
|
|
624
|
+
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
|
|
595
625
|
content: string;
|
|
596
626
|
author?: {
|
|
597
|
-
id: string;
|
|
598
|
-
name: string;
|
|
599
627
|
type: "human" | "agent";
|
|
628
|
+
name: string;
|
|
629
|
+
id: string;
|
|
600
630
|
email?: string | undefined;
|
|
601
631
|
role?: string | undefined;
|
|
602
632
|
} | undefined;
|
|
633
|
+
metadata?: {
|
|
634
|
+
tags?: string[] | undefined;
|
|
635
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
636
|
+
readiness?: number | undefined;
|
|
637
|
+
reviewers?: string[] | undefined;
|
|
638
|
+
} | undefined;
|
|
603
639
|
title?: string | undefined;
|
|
604
640
|
intent?: string | undefined;
|
|
605
641
|
planSteps?: (string | {
|
|
606
642
|
description: string;
|
|
643
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
607
644
|
id?: string | undefined;
|
|
608
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
609
645
|
command?: string | undefined;
|
|
610
646
|
expectedOutcome?: string | undefined;
|
|
611
647
|
})[] | undefined;
|
|
612
|
-
metadata?: {
|
|
613
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
614
|
-
tags?: string[] | undefined;
|
|
615
|
-
readiness?: number | undefined;
|
|
616
|
-
reviewers?: string[] | undefined;
|
|
617
|
-
} | undefined;
|
|
618
648
|
productSpecRef?: string | undefined;
|
|
619
649
|
}, {
|
|
620
650
|
content: string;
|
|
621
|
-
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
651
|
+
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
622
652
|
author?: {
|
|
623
|
-
id: string;
|
|
624
|
-
name: string;
|
|
625
653
|
type: "human" | "agent";
|
|
654
|
+
name: string;
|
|
655
|
+
id: string;
|
|
626
656
|
email?: string | undefined;
|
|
627
657
|
role?: string | undefined;
|
|
628
658
|
} | undefined;
|
|
659
|
+
metadata?: {
|
|
660
|
+
tags?: string[] | undefined;
|
|
661
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
662
|
+
readiness?: number | undefined;
|
|
663
|
+
reviewers?: string[] | undefined;
|
|
664
|
+
} | undefined;
|
|
629
665
|
title?: string | undefined;
|
|
630
666
|
intent?: string | undefined;
|
|
631
667
|
planSteps?: (string | {
|
|
632
668
|
description: string;
|
|
669
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
633
670
|
id?: string | undefined;
|
|
634
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
635
671
|
command?: string | undefined;
|
|
636
672
|
expectedOutcome?: string | undefined;
|
|
637
673
|
})[] | undefined;
|
|
638
|
-
metadata?: {
|
|
639
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
640
|
-
tags?: string[] | undefined;
|
|
641
|
-
readiness?: number | undefined;
|
|
642
|
-
reviewers?: string[] | undefined;
|
|
643
|
-
} | undefined;
|
|
644
674
|
productSpecRef?: string | undefined;
|
|
645
675
|
}>;
|
|
646
676
|
UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -648,23 +678,23 @@ export declare const taskSchemas: {
|
|
|
648
678
|
/** @deprecated Use `title` instead. Will be removed in a future version. */
|
|
649
679
|
intent: z.ZodOptional<z.ZodString>;
|
|
650
680
|
content: z.ZodOptional<z.ZodString>;
|
|
651
|
-
status: z.ZodOptional<z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "done", "canceled", "duplicate"]>>;
|
|
681
|
+
status: z.ZodOptional<z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "revision", "done", "canceled", "duplicate"]>>;
|
|
652
682
|
planSteps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
653
683
|
id: z.ZodOptional<z.ZodString>;
|
|
654
684
|
description: z.ZodString;
|
|
655
|
-
status: z.ZodOptional<z.ZodEnum<["pending", "
|
|
685
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "active", "done", "failed", "skipped"]>>;
|
|
656
686
|
command: z.ZodOptional<z.ZodString>;
|
|
657
687
|
expectedOutcome: z.ZodOptional<z.ZodString>;
|
|
658
688
|
}, "strip", z.ZodTypeAny, {
|
|
659
689
|
description: string;
|
|
690
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
660
691
|
id?: string | undefined;
|
|
661
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
662
692
|
command?: string | undefined;
|
|
663
693
|
expectedOutcome?: string | undefined;
|
|
664
694
|
}, {
|
|
665
695
|
description: string;
|
|
696
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
666
697
|
id?: string | undefined;
|
|
667
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
668
698
|
command?: string | undefined;
|
|
669
699
|
expectedOutcome?: string | undefined;
|
|
670
700
|
}>]>, "many">>;
|
|
@@ -674,109 +704,131 @@ export declare const taskSchemas: {
|
|
|
674
704
|
readiness: z.ZodOptional<z.ZodNumber>;
|
|
675
705
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
676
706
|
}, "strip", z.ZodTypeAny, {
|
|
677
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
678
707
|
tags?: string[] | undefined;
|
|
708
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
679
709
|
readiness?: number | undefined;
|
|
680
710
|
reviewers?: string[] | undefined;
|
|
681
711
|
}, {
|
|
682
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
683
712
|
tags?: string[] | undefined;
|
|
713
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
684
714
|
readiness?: number | undefined;
|
|
685
715
|
reviewers?: string[] | undefined;
|
|
686
716
|
}>>;
|
|
687
717
|
productSpecRef: z.ZodOptional<z.ZodString>;
|
|
688
718
|
}, "strip", z.ZodTypeAny, {
|
|
689
|
-
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
719
|
+
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
720
|
+
metadata?: {
|
|
721
|
+
tags?: string[] | undefined;
|
|
722
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
723
|
+
readiness?: number | undefined;
|
|
724
|
+
reviewers?: string[] | undefined;
|
|
725
|
+
} | undefined;
|
|
726
|
+
content?: string | undefined;
|
|
690
727
|
title?: string | undefined;
|
|
691
728
|
intent?: string | undefined;
|
|
692
|
-
content?: string | undefined;
|
|
693
729
|
planSteps?: (string | {
|
|
694
730
|
description: string;
|
|
731
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
695
732
|
id?: string | undefined;
|
|
696
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
697
733
|
command?: string | undefined;
|
|
698
734
|
expectedOutcome?: string | undefined;
|
|
699
735
|
})[] | undefined;
|
|
736
|
+
productSpecRef?: string | undefined;
|
|
737
|
+
}, {
|
|
738
|
+
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
700
739
|
metadata?: {
|
|
701
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
702
740
|
tags?: string[] | undefined;
|
|
741
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
703
742
|
readiness?: number | undefined;
|
|
704
743
|
reviewers?: string[] | undefined;
|
|
705
744
|
} | undefined;
|
|
706
|
-
|
|
707
|
-
}, {
|
|
708
|
-
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
745
|
+
content?: string | undefined;
|
|
709
746
|
title?: string | undefined;
|
|
710
747
|
intent?: string | undefined;
|
|
711
|
-
content?: string | undefined;
|
|
712
748
|
planSteps?: (string | {
|
|
713
749
|
description: string;
|
|
750
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
714
751
|
id?: string | undefined;
|
|
715
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
716
752
|
command?: string | undefined;
|
|
717
753
|
expectedOutcome?: string | undefined;
|
|
718
754
|
})[] | undefined;
|
|
755
|
+
productSpecRef?: string | undefined;
|
|
756
|
+
}>, {
|
|
757
|
+
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
719
758
|
metadata?: {
|
|
720
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
721
759
|
tags?: string[] | undefined;
|
|
760
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
722
761
|
readiness?: number | undefined;
|
|
723
762
|
reviewers?: string[] | undefined;
|
|
724
763
|
} | undefined;
|
|
725
|
-
|
|
726
|
-
}>, {
|
|
727
|
-
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
764
|
+
content?: string | undefined;
|
|
728
765
|
title?: string | undefined;
|
|
729
766
|
intent?: string | undefined;
|
|
730
|
-
content?: string | undefined;
|
|
731
767
|
planSteps?: (string | {
|
|
732
768
|
description: string;
|
|
769
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
733
770
|
id?: string | undefined;
|
|
734
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
735
771
|
command?: string | undefined;
|
|
736
772
|
expectedOutcome?: string | undefined;
|
|
737
773
|
})[] | undefined;
|
|
774
|
+
productSpecRef?: string | undefined;
|
|
775
|
+
}, {
|
|
776
|
+
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
738
777
|
metadata?: {
|
|
739
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
740
778
|
tags?: string[] | undefined;
|
|
779
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
741
780
|
readiness?: number | undefined;
|
|
742
781
|
reviewers?: string[] | undefined;
|
|
743
782
|
} | undefined;
|
|
744
|
-
|
|
745
|
-
}, {
|
|
746
|
-
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
783
|
+
content?: string | undefined;
|
|
747
784
|
title?: string | undefined;
|
|
748
785
|
intent?: string | undefined;
|
|
749
|
-
content?: string | undefined;
|
|
750
786
|
planSteps?: (string | {
|
|
751
787
|
description: string;
|
|
788
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
752
789
|
id?: string | undefined;
|
|
753
|
-
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
754
790
|
command?: string | undefined;
|
|
755
791
|
expectedOutcome?: string | undefined;
|
|
756
792
|
})[] | undefined;
|
|
757
|
-
metadata?: {
|
|
758
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
759
|
-
tags?: string[] | undefined;
|
|
760
|
-
readiness?: number | undefined;
|
|
761
|
-
reviewers?: string[] | undefined;
|
|
762
|
-
} | undefined;
|
|
763
793
|
productSpecRef?: string | undefined;
|
|
764
794
|
}>;
|
|
765
795
|
AddPlanStepInputSchema: z.ZodObject<{
|
|
766
796
|
description: z.ZodString;
|
|
767
|
-
status: z.ZodOptional<z.ZodEnum<["pending", "
|
|
797
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "active", "done", "failed", "skipped"]>>;
|
|
768
798
|
command: z.ZodOptional<z.ZodString>;
|
|
769
799
|
expectedOutcome: z.ZodOptional<z.ZodString>;
|
|
770
800
|
}, "strip", z.ZodTypeAny, {
|
|
771
801
|
description: string;
|
|
772
|
-
status?: "
|
|
802
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
773
803
|
command?: string | undefined;
|
|
774
804
|
expectedOutcome?: string | undefined;
|
|
775
805
|
}, {
|
|
776
806
|
description: string;
|
|
777
|
-
status?: "
|
|
807
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
808
|
+
command?: string | undefined;
|
|
809
|
+
expectedOutcome?: string | undefined;
|
|
810
|
+
}>;
|
|
811
|
+
UpdatePlanStepInputSchema: z.ZodObject<{
|
|
812
|
+
description: z.ZodOptional<z.ZodString>;
|
|
813
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "active", "done", "failed", "skipped"]>>;
|
|
814
|
+
command: z.ZodOptional<z.ZodString>;
|
|
815
|
+
expectedOutcome: z.ZodOptional<z.ZodString>;
|
|
816
|
+
output: z.ZodOptional<z.ZodString>;
|
|
817
|
+
error: z.ZodOptional<z.ZodString>;
|
|
818
|
+
}, "strip", z.ZodTypeAny, {
|
|
819
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
820
|
+
description?: string | undefined;
|
|
821
|
+
command?: string | undefined;
|
|
822
|
+
expectedOutcome?: string | undefined;
|
|
823
|
+
output?: string | undefined;
|
|
824
|
+
error?: string | undefined;
|
|
825
|
+
}, {
|
|
826
|
+
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
827
|
+
description?: string | undefined;
|
|
778
828
|
command?: string | undefined;
|
|
779
829
|
expectedOutcome?: string | undefined;
|
|
830
|
+
output?: string | undefined;
|
|
831
|
+
error?: string | undefined;
|
|
780
832
|
}>;
|
|
781
833
|
AddCommentInputSchema: z.ZodObject<{
|
|
782
834
|
author: z.ZodString;
|