@lovelybunch/core 1.0.75-alpha.1 → 1.0.75-alpha.11
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/change-proposal.d.ts +0 -3
- package/dist/change-proposal.d.ts.map +1 -1
- package/dist/change-proposal.js +3 -5
- package/dist/change-proposal.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/knowledge.d.ts +120 -120
- package/dist/knowledge.js +1 -1
- package/dist/knowledge.js.map +1 -1
- package/dist/logging/index.d.ts +5 -5
- package/dist/logging/index.d.ts.map +1 -1
- package/dist/logging/index.js +5 -5
- package/dist/logging/index.js.map +1 -1
- package/dist/logging/kinds.d.ts +24 -24
- package/dist/logging/kinds.d.ts.map +1 -1
- package/dist/logging/kinds.js +24 -24
- package/dist/logging/kinds.js.map +1 -1
- package/dist/markdown-storage.d.ts +12 -11
- package/dist/markdown-storage.d.ts.map +1 -1
- package/dist/markdown-storage.js +213 -143
- package/dist/markdown-storage.js.map +1 -1
- package/dist/skill-instructions.d.ts +19 -0
- package/dist/skill-instructions.d.ts.map +1 -0
- package/dist/skill-instructions.js +165 -0
- package/dist/skill-instructions.js.map +1 -0
- package/dist/slack.d.ts +102 -0
- package/dist/slack.d.ts.map +1 -0
- package/dist/slack.js +548 -0
- package/dist/slack.js.map +1 -0
- package/dist/storage.d.ts +21 -24
- package/dist/storage.d.ts.map +1 -1
- package/dist/storage.js +155 -181
- package/dist/storage.js.map +1 -1
- package/dist/system-prompts/coconut-assistant.md +40 -6
- package/dist/system-prompts/schema/agent.schema.md +1 -1
- package/dist/system-prompts/schema/knowledge.schema.md +2 -2
- package/dist/system-prompts/schema/skill.schema.md +73 -0
- package/dist/system-prompts/schema/{proposal.schema.md → task.schema.md} +2 -2
- package/dist/{proposals.d.ts → tasks.d.ts} +172 -173
- package/dist/tasks.d.ts.map +1 -0
- package/dist/{proposals.js → tasks.js} +105 -105
- package/dist/tasks.js.map +1 -0
- package/package.json +3 -2
- package/dist/proposals.d.ts.map +0 -1
- package/dist/proposals.js.map +0 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import type {
|
|
3
|
-
export declare const
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export type ProposalPriority = z.infer<typeof ProposalPrioritySchema>;
|
|
2
|
+
import type { Task } from '@lovelybunch/types';
|
|
3
|
+
export declare const TaskStatusSchema: z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "done", "canceled", "duplicate"]>;
|
|
4
|
+
export declare const TaskPrioritySchema: z.ZodEnum<["low", "medium", "high", "critical"]>;
|
|
5
|
+
export type TaskPriority = z.infer<typeof TaskPrioritySchema>;
|
|
7
6
|
export declare const AuthorSchema: z.ZodObject<{
|
|
8
7
|
id: z.ZodString;
|
|
9
8
|
name: z.ZodString;
|
|
@@ -11,39 +10,39 @@ export declare const AuthorSchema: z.ZodObject<{
|
|
|
11
10
|
role: z.ZodOptional<z.ZodString>;
|
|
12
11
|
type: z.ZodEnum<["human", "agent"]>;
|
|
13
12
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
id: string;
|
|
15
|
-
name: string;
|
|
16
13
|
type: "human" | "agent";
|
|
17
|
-
|
|
14
|
+
name: string;
|
|
15
|
+
id: string;
|
|
18
16
|
role?: string | undefined;
|
|
17
|
+
email?: string | undefined;
|
|
19
18
|
}, {
|
|
20
|
-
id: string;
|
|
21
|
-
name: string;
|
|
22
19
|
type: "human" | "agent";
|
|
23
|
-
|
|
20
|
+
name: string;
|
|
21
|
+
id: string;
|
|
24
22
|
role?: string | undefined;
|
|
23
|
+
email?: string | undefined;
|
|
25
24
|
}>;
|
|
26
25
|
export type AuthorInput = z.infer<typeof AuthorSchema>;
|
|
27
|
-
export declare const
|
|
26
|
+
export declare const TaskFiltersSchema: z.ZodObject<{
|
|
28
27
|
status: z.ZodOptional<z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "done", "canceled", "duplicate"]>>;
|
|
29
28
|
author: z.ZodOptional<z.ZodString>;
|
|
30
29
|
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
31
30
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
32
31
|
search: z.ZodOptional<z.ZodString>;
|
|
33
32
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
status?: "
|
|
33
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
34
|
+
search?: string | undefined;
|
|
35
|
+
tags?: string[] | undefined;
|
|
35
36
|
author?: string | undefined;
|
|
36
37
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
37
|
-
tags?: string[] | undefined;
|
|
38
|
-
search?: string | undefined;
|
|
39
38
|
}, {
|
|
40
|
-
status?: "
|
|
39
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
40
|
+
search?: string | undefined;
|
|
41
|
+
tags?: string[] | undefined;
|
|
41
42
|
author?: string | undefined;
|
|
42
43
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
43
|
-
tags?: string[] | undefined;
|
|
44
|
-
search?: string | undefined;
|
|
45
44
|
}>;
|
|
46
|
-
export type
|
|
45
|
+
export type TaskFilters = z.infer<typeof TaskFiltersSchema>;
|
|
47
46
|
export declare const PlanStepInputSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
48
47
|
id: z.ZodOptional<z.ZodString>;
|
|
49
48
|
description: z.ZodString;
|
|
@@ -52,19 +51,19 @@ export declare const PlanStepInputSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
52
51
|
expectedOutcome: z.ZodOptional<z.ZodString>;
|
|
53
52
|
}, "strip", z.ZodTypeAny, {
|
|
54
53
|
description: string;
|
|
55
|
-
id?: string | undefined;
|
|
56
54
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
55
|
+
id?: string | undefined;
|
|
57
56
|
command?: string | undefined;
|
|
58
57
|
expectedOutcome?: string | undefined;
|
|
59
58
|
}, {
|
|
60
59
|
description: string;
|
|
61
|
-
id?: string | undefined;
|
|
62
60
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
61
|
+
id?: string | undefined;
|
|
63
62
|
command?: string | undefined;
|
|
64
63
|
expectedOutcome?: string | undefined;
|
|
65
64
|
}>]>;
|
|
66
65
|
export type PlanStepInput = z.infer<typeof PlanStepInputSchema>;
|
|
67
|
-
export declare const
|
|
66
|
+
export declare const CreateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
68
67
|
title: z.ZodOptional<z.ZodString>;
|
|
69
68
|
/** @deprecated Use `title` instead. Will be removed in a future version. */
|
|
70
69
|
intent: z.ZodOptional<z.ZodString>;
|
|
@@ -76,17 +75,17 @@ export declare const CreateProposalInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
76
75
|
role: z.ZodOptional<z.ZodString>;
|
|
77
76
|
type: z.ZodEnum<["human", "agent"]>;
|
|
78
77
|
}, "strip", z.ZodTypeAny, {
|
|
79
|
-
id: string;
|
|
80
|
-
name: string;
|
|
81
78
|
type: "human" | "agent";
|
|
82
|
-
|
|
79
|
+
name: string;
|
|
80
|
+
id: string;
|
|
83
81
|
role?: string | undefined;
|
|
82
|
+
email?: string | undefined;
|
|
84
83
|
}, {
|
|
85
|
-
id: string;
|
|
86
|
-
name: string;
|
|
87
84
|
type: "human" | "agent";
|
|
88
|
-
|
|
85
|
+
name: string;
|
|
86
|
+
id: string;
|
|
89
87
|
role?: string | undefined;
|
|
88
|
+
email?: string | undefined;
|
|
90
89
|
}>>;
|
|
91
90
|
planSteps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
92
91
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -96,14 +95,14 @@ export declare const CreateProposalInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
96
95
|
expectedOutcome: z.ZodOptional<z.ZodString>;
|
|
97
96
|
}, "strip", z.ZodTypeAny, {
|
|
98
97
|
description: string;
|
|
99
|
-
id?: string | undefined;
|
|
100
98
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
99
|
+
id?: string | undefined;
|
|
101
100
|
command?: string | undefined;
|
|
102
101
|
expectedOutcome?: string | undefined;
|
|
103
102
|
}, {
|
|
104
103
|
description: string;
|
|
105
|
-
id?: string | undefined;
|
|
106
104
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
105
|
+
id?: string | undefined;
|
|
107
106
|
command?: string | undefined;
|
|
108
107
|
expectedOutcome?: string | undefined;
|
|
109
108
|
}>]>, "many">>;
|
|
@@ -113,118 +112,118 @@ export declare const CreateProposalInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
113
112
|
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
114
113
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
115
114
|
}, "strip", z.ZodTypeAny, {
|
|
116
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
117
115
|
tags?: string[] | undefined;
|
|
116
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
118
117
|
reviewers?: string[] | undefined;
|
|
119
118
|
}, {
|
|
120
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
121
119
|
tags?: string[] | undefined;
|
|
120
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
122
121
|
reviewers?: string[] | undefined;
|
|
123
122
|
}>>;
|
|
124
123
|
productSpecRef: z.ZodOptional<z.ZodString>;
|
|
125
124
|
}, "strip", z.ZodTypeAny, {
|
|
126
|
-
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate";
|
|
127
125
|
content: string;
|
|
126
|
+
status: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate";
|
|
128
127
|
author?: {
|
|
129
|
-
id: string;
|
|
130
|
-
name: string;
|
|
131
128
|
type: "human" | "agent";
|
|
132
|
-
|
|
129
|
+
name: string;
|
|
130
|
+
id: string;
|
|
133
131
|
role?: string | undefined;
|
|
132
|
+
email?: string | undefined;
|
|
134
133
|
} | undefined;
|
|
135
134
|
title?: string | undefined;
|
|
136
135
|
intent?: string | undefined;
|
|
137
136
|
planSteps?: (string | {
|
|
138
137
|
description: string;
|
|
139
|
-
id?: string | undefined;
|
|
140
138
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
139
|
+
id?: string | undefined;
|
|
141
140
|
command?: string | undefined;
|
|
142
141
|
expectedOutcome?: string | undefined;
|
|
143
142
|
})[] | undefined;
|
|
144
143
|
metadata?: {
|
|
145
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
146
144
|
tags?: string[] | undefined;
|
|
145
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
147
146
|
reviewers?: string[] | undefined;
|
|
148
147
|
} | undefined;
|
|
149
148
|
productSpecRef?: string | undefined;
|
|
150
149
|
}, {
|
|
151
150
|
content: string;
|
|
152
|
-
status?: "
|
|
151
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
153
152
|
author?: {
|
|
154
|
-
id: string;
|
|
155
|
-
name: string;
|
|
156
153
|
type: "human" | "agent";
|
|
157
|
-
|
|
154
|
+
name: string;
|
|
155
|
+
id: string;
|
|
158
156
|
role?: string | undefined;
|
|
157
|
+
email?: string | undefined;
|
|
159
158
|
} | undefined;
|
|
160
159
|
title?: string | undefined;
|
|
161
160
|
intent?: string | undefined;
|
|
162
161
|
planSteps?: (string | {
|
|
163
162
|
description: string;
|
|
164
|
-
id?: string | undefined;
|
|
165
163
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
164
|
+
id?: string | undefined;
|
|
166
165
|
command?: string | undefined;
|
|
167
166
|
expectedOutcome?: string | undefined;
|
|
168
167
|
})[] | undefined;
|
|
169
168
|
metadata?: {
|
|
170
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
171
169
|
tags?: string[] | undefined;
|
|
170
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
172
171
|
reviewers?: string[] | undefined;
|
|
173
172
|
} | undefined;
|
|
174
173
|
productSpecRef?: string | undefined;
|
|
175
174
|
}>, {
|
|
176
|
-
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate";
|
|
177
175
|
content: string;
|
|
176
|
+
status: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate";
|
|
178
177
|
author?: {
|
|
179
|
-
id: string;
|
|
180
|
-
name: string;
|
|
181
178
|
type: "human" | "agent";
|
|
182
|
-
|
|
179
|
+
name: string;
|
|
180
|
+
id: string;
|
|
183
181
|
role?: string | undefined;
|
|
182
|
+
email?: string | undefined;
|
|
184
183
|
} | undefined;
|
|
185
184
|
title?: string | undefined;
|
|
186
185
|
intent?: string | undefined;
|
|
187
186
|
planSteps?: (string | {
|
|
188
187
|
description: string;
|
|
189
|
-
id?: string | undefined;
|
|
190
188
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
189
|
+
id?: string | undefined;
|
|
191
190
|
command?: string | undefined;
|
|
192
191
|
expectedOutcome?: string | undefined;
|
|
193
192
|
})[] | undefined;
|
|
194
193
|
metadata?: {
|
|
195
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
196
194
|
tags?: string[] | undefined;
|
|
195
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
197
196
|
reviewers?: string[] | undefined;
|
|
198
197
|
} | undefined;
|
|
199
198
|
productSpecRef?: string | undefined;
|
|
200
199
|
}, {
|
|
201
200
|
content: string;
|
|
202
|
-
status?: "
|
|
201
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
203
202
|
author?: {
|
|
204
|
-
id: string;
|
|
205
|
-
name: string;
|
|
206
203
|
type: "human" | "agent";
|
|
207
|
-
|
|
204
|
+
name: string;
|
|
205
|
+
id: string;
|
|
208
206
|
role?: string | undefined;
|
|
207
|
+
email?: string | undefined;
|
|
209
208
|
} | undefined;
|
|
210
209
|
title?: string | undefined;
|
|
211
210
|
intent?: string | undefined;
|
|
212
211
|
planSteps?: (string | {
|
|
213
212
|
description: string;
|
|
214
|
-
id?: string | undefined;
|
|
215
213
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
214
|
+
id?: string | undefined;
|
|
216
215
|
command?: string | undefined;
|
|
217
216
|
expectedOutcome?: string | undefined;
|
|
218
217
|
})[] | undefined;
|
|
219
218
|
metadata?: {
|
|
220
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
221
219
|
tags?: string[] | undefined;
|
|
220
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
222
221
|
reviewers?: string[] | undefined;
|
|
223
222
|
} | undefined;
|
|
224
223
|
productSpecRef?: string | undefined;
|
|
225
224
|
}>;
|
|
226
|
-
export type
|
|
227
|
-
export declare const
|
|
225
|
+
export type CreateTaskInput = z.infer<typeof CreateTaskInputSchema>;
|
|
226
|
+
export declare const UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
228
227
|
title: z.ZodOptional<z.ZodString>;
|
|
229
228
|
/** @deprecated Use `title` instead. Will be removed in a future version. */
|
|
230
229
|
intent: z.ZodOptional<z.ZodString>;
|
|
@@ -238,14 +237,14 @@ export declare const UpdateProposalInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
238
237
|
expectedOutcome: z.ZodOptional<z.ZodString>;
|
|
239
238
|
}, "strip", z.ZodTypeAny, {
|
|
240
239
|
description: string;
|
|
241
|
-
id?: string | undefined;
|
|
242
240
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
241
|
+
id?: string | undefined;
|
|
243
242
|
command?: string | undefined;
|
|
244
243
|
expectedOutcome?: string | undefined;
|
|
245
244
|
}, {
|
|
246
245
|
description: string;
|
|
247
|
-
id?: string | undefined;
|
|
248
246
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
247
|
+
id?: string | undefined;
|
|
249
248
|
command?: string | undefined;
|
|
250
249
|
expectedOutcome?: string | undefined;
|
|
251
250
|
}>]>, "many">>;
|
|
@@ -254,109 +253,109 @@ export declare const UpdateProposalInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
254
253
|
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
255
254
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
256
255
|
}, "strip", z.ZodTypeAny, {
|
|
257
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
258
256
|
tags?: string[] | undefined;
|
|
257
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
259
258
|
reviewers?: string[] | undefined;
|
|
260
259
|
}, {
|
|
261
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
262
260
|
tags?: string[] | undefined;
|
|
261
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
263
262
|
reviewers?: string[] | undefined;
|
|
264
263
|
}>>;
|
|
265
264
|
productSpecRef: z.ZodOptional<z.ZodString>;
|
|
266
265
|
}, "strip", z.ZodTypeAny, {
|
|
267
|
-
|
|
266
|
+
content?: string | undefined;
|
|
267
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
268
268
|
title?: string | undefined;
|
|
269
269
|
intent?: string | undefined;
|
|
270
|
-
content?: string | undefined;
|
|
271
270
|
planSteps?: (string | {
|
|
272
271
|
description: string;
|
|
273
|
-
id?: string | undefined;
|
|
274
272
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
273
|
+
id?: string | undefined;
|
|
275
274
|
command?: string | undefined;
|
|
276
275
|
expectedOutcome?: string | undefined;
|
|
277
276
|
})[] | undefined;
|
|
278
277
|
metadata?: {
|
|
279
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
280
278
|
tags?: string[] | undefined;
|
|
279
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
281
280
|
reviewers?: string[] | undefined;
|
|
282
281
|
} | undefined;
|
|
283
282
|
productSpecRef?: string | undefined;
|
|
284
283
|
}, {
|
|
285
|
-
|
|
284
|
+
content?: string | undefined;
|
|
285
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
286
286
|
title?: string | undefined;
|
|
287
287
|
intent?: string | undefined;
|
|
288
|
-
content?: string | undefined;
|
|
289
288
|
planSteps?: (string | {
|
|
290
289
|
description: string;
|
|
291
|
-
id?: string | undefined;
|
|
292
290
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
291
|
+
id?: string | undefined;
|
|
293
292
|
command?: string | undefined;
|
|
294
293
|
expectedOutcome?: string | undefined;
|
|
295
294
|
})[] | undefined;
|
|
296
295
|
metadata?: {
|
|
297
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
298
296
|
tags?: string[] | undefined;
|
|
297
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
299
298
|
reviewers?: string[] | undefined;
|
|
300
299
|
} | undefined;
|
|
301
300
|
productSpecRef?: string | undefined;
|
|
302
301
|
}>, {
|
|
303
|
-
|
|
302
|
+
content?: string | undefined;
|
|
303
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
304
304
|
title?: string | undefined;
|
|
305
305
|
intent?: string | undefined;
|
|
306
|
-
content?: string | undefined;
|
|
307
306
|
planSteps?: (string | {
|
|
308
307
|
description: string;
|
|
309
|
-
id?: string | undefined;
|
|
310
308
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
309
|
+
id?: string | undefined;
|
|
311
310
|
command?: string | undefined;
|
|
312
311
|
expectedOutcome?: string | undefined;
|
|
313
312
|
})[] | undefined;
|
|
314
313
|
metadata?: {
|
|
315
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
316
314
|
tags?: string[] | undefined;
|
|
315
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
317
316
|
reviewers?: string[] | undefined;
|
|
318
317
|
} | undefined;
|
|
319
318
|
productSpecRef?: string | undefined;
|
|
320
319
|
}, {
|
|
321
|
-
|
|
320
|
+
content?: string | undefined;
|
|
321
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
322
322
|
title?: string | undefined;
|
|
323
323
|
intent?: string | undefined;
|
|
324
|
-
content?: string | undefined;
|
|
325
324
|
planSteps?: (string | {
|
|
326
325
|
description: string;
|
|
327
|
-
id?: string | undefined;
|
|
328
326
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
327
|
+
id?: string | undefined;
|
|
329
328
|
command?: string | undefined;
|
|
330
329
|
expectedOutcome?: string | undefined;
|
|
331
330
|
})[] | undefined;
|
|
332
331
|
metadata?: {
|
|
333
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
334
332
|
tags?: string[] | undefined;
|
|
333
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
335
334
|
reviewers?: string[] | undefined;
|
|
336
335
|
} | undefined;
|
|
337
336
|
productSpecRef?: string | undefined;
|
|
338
337
|
}>;
|
|
339
|
-
export type
|
|
338
|
+
export type UpdateTaskInput = z.infer<typeof UpdateTaskInputSchema>;
|
|
340
339
|
/**
|
|
341
|
-
* List
|
|
340
|
+
* List tasks with optional filtering and search
|
|
342
341
|
*/
|
|
343
|
-
export declare function
|
|
342
|
+
export declare function listTasks(filters?: TaskFilters): Promise<Task[]>;
|
|
344
343
|
/**
|
|
345
|
-
* Get a single
|
|
344
|
+
* Get a single task by ID
|
|
346
345
|
*/
|
|
347
|
-
export declare function
|
|
346
|
+
export declare function getTask(id: string): Promise<Task | null>;
|
|
348
347
|
/**
|
|
349
|
-
* Create a new
|
|
348
|
+
* Create a new task
|
|
350
349
|
*/
|
|
351
|
-
export declare function
|
|
350
|
+
export declare function createTask(input: CreateTaskInput): Promise<Task>;
|
|
352
351
|
/**
|
|
353
|
-
* Update an existing
|
|
352
|
+
* Update an existing task
|
|
354
353
|
*/
|
|
355
|
-
export declare function
|
|
354
|
+
export declare function updateTask(id: string, updates: UpdateTaskInput): Promise<Task>;
|
|
356
355
|
/**
|
|
357
|
-
* Delete a
|
|
356
|
+
* Delete a task by ID
|
|
358
357
|
*/
|
|
359
|
-
export declare function
|
|
358
|
+
export declare function deleteTask(id: string): Promise<boolean>;
|
|
360
359
|
export declare const AddPlanStepInputSchema: z.ZodObject<{
|
|
361
360
|
description: z.ZodString;
|
|
362
361
|
status: z.ZodOptional<z.ZodEnum<["pending", "in-progress", "completed", "failed"]>>;
|
|
@@ -378,29 +377,29 @@ export declare const AddCommentInputSchema: z.ZodObject<{
|
|
|
378
377
|
author: z.ZodString;
|
|
379
378
|
content: z.ZodString;
|
|
380
379
|
}, "strip", z.ZodTypeAny, {
|
|
381
|
-
author: string;
|
|
382
380
|
content: string;
|
|
383
|
-
}, {
|
|
384
381
|
author: string;
|
|
382
|
+
}, {
|
|
385
383
|
content: string;
|
|
384
|
+
author: string;
|
|
386
385
|
}>;
|
|
387
386
|
export type AddCommentInput = z.infer<typeof AddCommentInputSchema>;
|
|
388
387
|
/**
|
|
389
|
-
* Add a plan step to an existing
|
|
388
|
+
* Add a plan step to an existing task
|
|
390
389
|
*/
|
|
391
|
-
export declare function addPlanStep(
|
|
390
|
+
export declare function addPlanStep(taskId: string, step: AddPlanStepInput): Promise<Task['planSteps'][number]>;
|
|
392
391
|
/**
|
|
393
|
-
* Add a comment to an existing
|
|
392
|
+
* Add a comment to an existing task
|
|
394
393
|
*/
|
|
395
|
-
export declare function addComment(
|
|
394
|
+
export declare function addComment(taskId: string, comment: AddCommentInput): Promise<{
|
|
396
395
|
id: string;
|
|
397
396
|
author: string;
|
|
398
397
|
content: string;
|
|
399
398
|
createdAt: string;
|
|
400
399
|
}>;
|
|
401
|
-
export declare const
|
|
402
|
-
|
|
403
|
-
|
|
400
|
+
export declare const taskSchemas: {
|
|
401
|
+
TaskStatusSchema: z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "done", "canceled", "duplicate"]>;
|
|
402
|
+
TaskPrioritySchema: z.ZodEnum<["low", "medium", "high", "critical"]>;
|
|
404
403
|
AuthorSchema: z.ZodObject<{
|
|
405
404
|
id: z.ZodString;
|
|
406
405
|
name: z.ZodString;
|
|
@@ -408,36 +407,36 @@ export declare const proposalSchemas: {
|
|
|
408
407
|
role: z.ZodOptional<z.ZodString>;
|
|
409
408
|
type: z.ZodEnum<["human", "agent"]>;
|
|
410
409
|
}, "strip", z.ZodTypeAny, {
|
|
411
|
-
id: string;
|
|
412
|
-
name: string;
|
|
413
410
|
type: "human" | "agent";
|
|
414
|
-
|
|
411
|
+
name: string;
|
|
412
|
+
id: string;
|
|
415
413
|
role?: string | undefined;
|
|
414
|
+
email?: string | undefined;
|
|
416
415
|
}, {
|
|
417
|
-
id: string;
|
|
418
|
-
name: string;
|
|
419
416
|
type: "human" | "agent";
|
|
420
|
-
|
|
417
|
+
name: string;
|
|
418
|
+
id: string;
|
|
421
419
|
role?: string | undefined;
|
|
420
|
+
email?: string | undefined;
|
|
422
421
|
}>;
|
|
423
|
-
|
|
422
|
+
TaskFiltersSchema: z.ZodObject<{
|
|
424
423
|
status: z.ZodOptional<z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "done", "canceled", "duplicate"]>>;
|
|
425
424
|
author: z.ZodOptional<z.ZodString>;
|
|
426
425
|
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
427
426
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
428
427
|
search: z.ZodOptional<z.ZodString>;
|
|
429
428
|
}, "strip", z.ZodTypeAny, {
|
|
430
|
-
status?: "
|
|
429
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
430
|
+
search?: string | undefined;
|
|
431
|
+
tags?: string[] | undefined;
|
|
431
432
|
author?: string | undefined;
|
|
432
433
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
433
|
-
tags?: string[] | undefined;
|
|
434
|
-
search?: string | undefined;
|
|
435
434
|
}, {
|
|
436
|
-
status?: "
|
|
435
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
436
|
+
search?: string | undefined;
|
|
437
|
+
tags?: string[] | undefined;
|
|
437
438
|
author?: string | undefined;
|
|
438
439
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
439
|
-
tags?: string[] | undefined;
|
|
440
|
-
search?: string | undefined;
|
|
441
440
|
}>;
|
|
442
441
|
PlanStepInputSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
443
442
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -447,18 +446,18 @@ export declare const proposalSchemas: {
|
|
|
447
446
|
expectedOutcome: z.ZodOptional<z.ZodString>;
|
|
448
447
|
}, "strip", z.ZodTypeAny, {
|
|
449
448
|
description: string;
|
|
450
|
-
id?: string | undefined;
|
|
451
449
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
450
|
+
id?: string | undefined;
|
|
452
451
|
command?: string | undefined;
|
|
453
452
|
expectedOutcome?: string | undefined;
|
|
454
453
|
}, {
|
|
455
454
|
description: string;
|
|
456
|
-
id?: string | undefined;
|
|
457
455
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
456
|
+
id?: string | undefined;
|
|
458
457
|
command?: string | undefined;
|
|
459
458
|
expectedOutcome?: string | undefined;
|
|
460
459
|
}>]>;
|
|
461
|
-
|
|
460
|
+
CreateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
462
461
|
title: z.ZodOptional<z.ZodString>;
|
|
463
462
|
/** @deprecated Use `title` instead. Will be removed in a future version. */
|
|
464
463
|
intent: z.ZodOptional<z.ZodString>;
|
|
@@ -470,17 +469,17 @@ export declare const proposalSchemas: {
|
|
|
470
469
|
role: z.ZodOptional<z.ZodString>;
|
|
471
470
|
type: z.ZodEnum<["human", "agent"]>;
|
|
472
471
|
}, "strip", z.ZodTypeAny, {
|
|
473
|
-
id: string;
|
|
474
|
-
name: string;
|
|
475
472
|
type: "human" | "agent";
|
|
476
|
-
|
|
473
|
+
name: string;
|
|
474
|
+
id: string;
|
|
477
475
|
role?: string | undefined;
|
|
476
|
+
email?: string | undefined;
|
|
478
477
|
}, {
|
|
479
|
-
id: string;
|
|
480
|
-
name: string;
|
|
481
478
|
type: "human" | "agent";
|
|
482
|
-
|
|
479
|
+
name: string;
|
|
480
|
+
id: string;
|
|
483
481
|
role?: string | undefined;
|
|
482
|
+
email?: string | undefined;
|
|
484
483
|
}>>;
|
|
485
484
|
planSteps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
486
485
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -490,14 +489,14 @@ export declare const proposalSchemas: {
|
|
|
490
489
|
expectedOutcome: z.ZodOptional<z.ZodString>;
|
|
491
490
|
}, "strip", z.ZodTypeAny, {
|
|
492
491
|
description: string;
|
|
493
|
-
id?: string | undefined;
|
|
494
492
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
493
|
+
id?: string | undefined;
|
|
495
494
|
command?: string | undefined;
|
|
496
495
|
expectedOutcome?: string | undefined;
|
|
497
496
|
}, {
|
|
498
497
|
description: string;
|
|
499
|
-
id?: string | undefined;
|
|
500
498
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
499
|
+
id?: string | undefined;
|
|
501
500
|
command?: string | undefined;
|
|
502
501
|
expectedOutcome?: string | undefined;
|
|
503
502
|
}>]>, "many">>;
|
|
@@ -507,117 +506,117 @@ export declare const proposalSchemas: {
|
|
|
507
506
|
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
508
507
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
509
508
|
}, "strip", z.ZodTypeAny, {
|
|
510
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
511
509
|
tags?: string[] | undefined;
|
|
510
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
512
511
|
reviewers?: string[] | undefined;
|
|
513
512
|
}, {
|
|
514
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
515
513
|
tags?: string[] | undefined;
|
|
514
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
516
515
|
reviewers?: string[] | undefined;
|
|
517
516
|
}>>;
|
|
518
517
|
productSpecRef: z.ZodOptional<z.ZodString>;
|
|
519
518
|
}, "strip", z.ZodTypeAny, {
|
|
520
|
-
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate";
|
|
521
519
|
content: string;
|
|
520
|
+
status: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate";
|
|
522
521
|
author?: {
|
|
523
|
-
id: string;
|
|
524
|
-
name: string;
|
|
525
522
|
type: "human" | "agent";
|
|
526
|
-
|
|
523
|
+
name: string;
|
|
524
|
+
id: string;
|
|
527
525
|
role?: string | undefined;
|
|
526
|
+
email?: string | undefined;
|
|
528
527
|
} | undefined;
|
|
529
528
|
title?: string | undefined;
|
|
530
529
|
intent?: string | undefined;
|
|
531
530
|
planSteps?: (string | {
|
|
532
531
|
description: string;
|
|
533
|
-
id?: string | undefined;
|
|
534
532
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
533
|
+
id?: string | undefined;
|
|
535
534
|
command?: string | undefined;
|
|
536
535
|
expectedOutcome?: string | undefined;
|
|
537
536
|
})[] | undefined;
|
|
538
537
|
metadata?: {
|
|
539
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
540
538
|
tags?: string[] | undefined;
|
|
539
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
541
540
|
reviewers?: string[] | undefined;
|
|
542
541
|
} | undefined;
|
|
543
542
|
productSpecRef?: string | undefined;
|
|
544
543
|
}, {
|
|
545
544
|
content: string;
|
|
546
|
-
status?: "
|
|
545
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
547
546
|
author?: {
|
|
548
|
-
id: string;
|
|
549
|
-
name: string;
|
|
550
547
|
type: "human" | "agent";
|
|
551
|
-
|
|
548
|
+
name: string;
|
|
549
|
+
id: string;
|
|
552
550
|
role?: string | undefined;
|
|
551
|
+
email?: string | undefined;
|
|
553
552
|
} | undefined;
|
|
554
553
|
title?: string | undefined;
|
|
555
554
|
intent?: string | undefined;
|
|
556
555
|
planSteps?: (string | {
|
|
557
556
|
description: string;
|
|
558
|
-
id?: string | undefined;
|
|
559
557
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
558
|
+
id?: string | undefined;
|
|
560
559
|
command?: string | undefined;
|
|
561
560
|
expectedOutcome?: string | undefined;
|
|
562
561
|
})[] | undefined;
|
|
563
562
|
metadata?: {
|
|
564
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
565
563
|
tags?: string[] | undefined;
|
|
564
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
566
565
|
reviewers?: string[] | undefined;
|
|
567
566
|
} | undefined;
|
|
568
567
|
productSpecRef?: string | undefined;
|
|
569
568
|
}>, {
|
|
570
|
-
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate";
|
|
571
569
|
content: string;
|
|
570
|
+
status: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate";
|
|
572
571
|
author?: {
|
|
573
|
-
id: string;
|
|
574
|
-
name: string;
|
|
575
572
|
type: "human" | "agent";
|
|
576
|
-
|
|
573
|
+
name: string;
|
|
574
|
+
id: string;
|
|
577
575
|
role?: string | undefined;
|
|
576
|
+
email?: string | undefined;
|
|
578
577
|
} | undefined;
|
|
579
578
|
title?: string | undefined;
|
|
580
579
|
intent?: string | undefined;
|
|
581
580
|
planSteps?: (string | {
|
|
582
581
|
description: string;
|
|
583
|
-
id?: string | undefined;
|
|
584
582
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
583
|
+
id?: string | undefined;
|
|
585
584
|
command?: string | undefined;
|
|
586
585
|
expectedOutcome?: string | undefined;
|
|
587
586
|
})[] | undefined;
|
|
588
587
|
metadata?: {
|
|
589
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
590
588
|
tags?: string[] | undefined;
|
|
589
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
591
590
|
reviewers?: string[] | undefined;
|
|
592
591
|
} | undefined;
|
|
593
592
|
productSpecRef?: string | undefined;
|
|
594
593
|
}, {
|
|
595
594
|
content: string;
|
|
596
|
-
status?: "
|
|
595
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
597
596
|
author?: {
|
|
598
|
-
id: string;
|
|
599
|
-
name: string;
|
|
600
597
|
type: "human" | "agent";
|
|
601
|
-
|
|
598
|
+
name: string;
|
|
599
|
+
id: string;
|
|
602
600
|
role?: string | undefined;
|
|
601
|
+
email?: string | undefined;
|
|
603
602
|
} | undefined;
|
|
604
603
|
title?: string | undefined;
|
|
605
604
|
intent?: string | undefined;
|
|
606
605
|
planSteps?: (string | {
|
|
607
606
|
description: string;
|
|
608
|
-
id?: string | undefined;
|
|
609
607
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
608
|
+
id?: string | undefined;
|
|
610
609
|
command?: string | undefined;
|
|
611
610
|
expectedOutcome?: string | undefined;
|
|
612
611
|
})[] | undefined;
|
|
613
612
|
metadata?: {
|
|
614
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
615
613
|
tags?: string[] | undefined;
|
|
614
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
616
615
|
reviewers?: string[] | undefined;
|
|
617
616
|
} | undefined;
|
|
618
617
|
productSpecRef?: string | undefined;
|
|
619
618
|
}>;
|
|
620
|
-
|
|
619
|
+
UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
621
620
|
title: z.ZodOptional<z.ZodString>;
|
|
622
621
|
/** @deprecated Use `title` instead. Will be removed in a future version. */
|
|
623
622
|
intent: z.ZodOptional<z.ZodString>;
|
|
@@ -631,14 +630,14 @@ export declare const proposalSchemas: {
|
|
|
631
630
|
expectedOutcome: z.ZodOptional<z.ZodString>;
|
|
632
631
|
}, "strip", z.ZodTypeAny, {
|
|
633
632
|
description: string;
|
|
634
|
-
id?: string | undefined;
|
|
635
633
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
634
|
+
id?: string | undefined;
|
|
636
635
|
command?: string | undefined;
|
|
637
636
|
expectedOutcome?: string | undefined;
|
|
638
637
|
}, {
|
|
639
638
|
description: string;
|
|
640
|
-
id?: string | undefined;
|
|
641
639
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
640
|
+
id?: string | undefined;
|
|
642
641
|
command?: string | undefined;
|
|
643
642
|
expectedOutcome?: string | undefined;
|
|
644
643
|
}>]>, "many">>;
|
|
@@ -647,84 +646,84 @@ export declare const proposalSchemas: {
|
|
|
647
646
|
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
648
647
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
649
648
|
}, "strip", z.ZodTypeAny, {
|
|
650
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
651
649
|
tags?: string[] | undefined;
|
|
650
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
652
651
|
reviewers?: string[] | undefined;
|
|
653
652
|
}, {
|
|
654
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
655
653
|
tags?: string[] | undefined;
|
|
654
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
656
655
|
reviewers?: string[] | undefined;
|
|
657
656
|
}>>;
|
|
658
657
|
productSpecRef: z.ZodOptional<z.ZodString>;
|
|
659
658
|
}, "strip", z.ZodTypeAny, {
|
|
660
|
-
|
|
659
|
+
content?: string | undefined;
|
|
660
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
661
661
|
title?: string | undefined;
|
|
662
662
|
intent?: string | undefined;
|
|
663
|
-
content?: string | undefined;
|
|
664
663
|
planSteps?: (string | {
|
|
665
664
|
description: string;
|
|
666
|
-
id?: string | undefined;
|
|
667
665
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
666
|
+
id?: string | undefined;
|
|
668
667
|
command?: string | undefined;
|
|
669
668
|
expectedOutcome?: string | undefined;
|
|
670
669
|
})[] | undefined;
|
|
671
670
|
metadata?: {
|
|
672
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
673
671
|
tags?: string[] | undefined;
|
|
672
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
674
673
|
reviewers?: string[] | undefined;
|
|
675
674
|
} | undefined;
|
|
676
675
|
productSpecRef?: string | undefined;
|
|
677
676
|
}, {
|
|
678
|
-
|
|
677
|
+
content?: string | undefined;
|
|
678
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
679
679
|
title?: string | undefined;
|
|
680
680
|
intent?: string | undefined;
|
|
681
|
-
content?: string | undefined;
|
|
682
681
|
planSteps?: (string | {
|
|
683
682
|
description: string;
|
|
684
|
-
id?: string | undefined;
|
|
685
683
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
684
|
+
id?: string | undefined;
|
|
686
685
|
command?: string | undefined;
|
|
687
686
|
expectedOutcome?: string | undefined;
|
|
688
687
|
})[] | undefined;
|
|
689
688
|
metadata?: {
|
|
690
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
691
689
|
tags?: string[] | undefined;
|
|
690
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
692
691
|
reviewers?: string[] | undefined;
|
|
693
692
|
} | undefined;
|
|
694
693
|
productSpecRef?: string | undefined;
|
|
695
694
|
}>, {
|
|
696
|
-
|
|
695
|
+
content?: string | undefined;
|
|
696
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
697
697
|
title?: string | undefined;
|
|
698
698
|
intent?: string | undefined;
|
|
699
|
-
content?: string | undefined;
|
|
700
699
|
planSteps?: (string | {
|
|
701
700
|
description: string;
|
|
702
|
-
id?: string | undefined;
|
|
703
701
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
702
|
+
id?: string | undefined;
|
|
704
703
|
command?: string | undefined;
|
|
705
704
|
expectedOutcome?: string | undefined;
|
|
706
705
|
})[] | undefined;
|
|
707
706
|
metadata?: {
|
|
708
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
709
707
|
tags?: string[] | undefined;
|
|
708
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
710
709
|
reviewers?: string[] | undefined;
|
|
711
710
|
} | undefined;
|
|
712
711
|
productSpecRef?: string | undefined;
|
|
713
712
|
}, {
|
|
714
|
-
|
|
713
|
+
content?: string | undefined;
|
|
714
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
715
715
|
title?: string | undefined;
|
|
716
716
|
intent?: string | undefined;
|
|
717
|
-
content?: string | undefined;
|
|
718
717
|
planSteps?: (string | {
|
|
719
718
|
description: string;
|
|
720
|
-
id?: string | undefined;
|
|
721
719
|
status?: "pending" | "in-progress" | "completed" | "failed" | undefined;
|
|
720
|
+
id?: string | undefined;
|
|
722
721
|
command?: string | undefined;
|
|
723
722
|
expectedOutcome?: string | undefined;
|
|
724
723
|
})[] | undefined;
|
|
725
724
|
metadata?: {
|
|
726
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
727
725
|
tags?: string[] | undefined;
|
|
726
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
728
727
|
reviewers?: string[] | undefined;
|
|
729
728
|
} | undefined;
|
|
730
729
|
productSpecRef?: string | undefined;
|
|
@@ -749,17 +748,17 @@ export declare const proposalSchemas: {
|
|
|
749
748
|
author: z.ZodString;
|
|
750
749
|
content: z.ZodString;
|
|
751
750
|
}, "strip", z.ZodTypeAny, {
|
|
752
|
-
author: string;
|
|
753
751
|
content: string;
|
|
754
|
-
}, {
|
|
755
752
|
author: string;
|
|
753
|
+
}, {
|
|
756
754
|
content: string;
|
|
755
|
+
author: string;
|
|
757
756
|
}>;
|
|
758
757
|
};
|
|
759
|
-
export declare const
|
|
758
|
+
export declare const taskJsonSchemas: {
|
|
760
759
|
filters: Record<string, unknown>;
|
|
761
760
|
create: Record<string, unknown>;
|
|
762
761
|
update: Record<string, unknown>;
|
|
763
762
|
createRequired: readonly ["title", "content"];
|
|
764
763
|
};
|
|
765
|
-
//# sourceMappingURL=
|
|
764
|
+
//# sourceMappingURL=tasks.d.ts.map
|