@lovelybunch/core 1.0.76-alpha.2 → 1.0.76-alpha.4
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/context.d.ts +8 -8
- package/dist/events.d.ts +4 -4
- package/dist/knowledge.d.ts +116 -116
- package/dist/mail.d.ts +8 -8
- package/dist/pipeline-builders.d.ts +15 -1
- package/dist/pipeline-builders.d.ts.map +1 -1
- package/dist/pipeline-builders.js +144 -21
- package/dist/pipeline-builders.js.map +1 -1
- package/dist/pipelines.d.ts +1 -1
- package/dist/pipelines.d.ts.map +1 -1
- package/dist/pipelines.js +1 -1
- package/dist/pipelines.js.map +1 -1
- package/dist/tasks.d.ts +76 -76
- package/package.json +2 -2
- package/dist/change-proposal.d.ts +0 -71
- package/dist/change-proposal.d.ts.map +0 -1
- package/dist/change-proposal.js +0 -205
- package/dist/change-proposal.js.map +0 -1
package/dist/tasks.d.ts
CHANGED
|
@@ -10,17 +10,17 @@ 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
|
-
type: "
|
|
13
|
+
type: "agent" | "human";
|
|
14
14
|
name: string;
|
|
15
15
|
id: string;
|
|
16
|
-
email?: string | undefined;
|
|
17
16
|
role?: string | undefined;
|
|
17
|
+
email?: string | undefined;
|
|
18
18
|
}, {
|
|
19
|
-
type: "
|
|
19
|
+
type: "agent" | "human";
|
|
20
20
|
name: string;
|
|
21
21
|
id: string;
|
|
22
|
-
email?: string | undefined;
|
|
23
22
|
role?: string | undefined;
|
|
23
|
+
email?: string | undefined;
|
|
24
24
|
}>;
|
|
25
25
|
export type AuthorInput = z.infer<typeof AuthorSchema>;
|
|
26
26
|
export declare const TaskFiltersSchema: z.ZodObject<{
|
|
@@ -31,19 +31,19 @@ export declare const TaskFiltersSchema: z.ZodObject<{
|
|
|
31
31
|
search: z.ZodOptional<z.ZodString>;
|
|
32
32
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
tags?: string[] | undefined;
|
|
34
35
|
search?: string | undefined;
|
|
35
|
-
status?: "
|
|
36
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
37
|
+
limit?: number | undefined;
|
|
36
38
|
author?: string | undefined;
|
|
37
|
-
tags?: string[] | undefined;
|
|
38
39
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
39
|
-
limit?: number | undefined;
|
|
40
40
|
}, {
|
|
41
|
+
tags?: string[] | undefined;
|
|
41
42
|
search?: string | undefined;
|
|
42
|
-
status?: "
|
|
43
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
44
|
+
limit?: number | undefined;
|
|
43
45
|
author?: string | undefined;
|
|
44
|
-
tags?: string[] | undefined;
|
|
45
46
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
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<{
|
|
@@ -78,17 +78,17 @@ 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
|
-
type: "
|
|
81
|
+
type: "agent" | "human";
|
|
82
82
|
name: string;
|
|
83
83
|
id: string;
|
|
84
|
-
email?: string | undefined;
|
|
85
84
|
role?: string | undefined;
|
|
85
|
+
email?: string | undefined;
|
|
86
86
|
}, {
|
|
87
|
-
type: "
|
|
87
|
+
type: "agent" | "human";
|
|
88
88
|
name: string;
|
|
89
89
|
id: string;
|
|
90
|
-
email?: string | undefined;
|
|
91
90
|
role?: string | undefined;
|
|
91
|
+
email?: string | undefined;
|
|
92
92
|
}>>;
|
|
93
93
|
planSteps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
94
94
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -128,14 +128,14 @@ export declare const CreateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
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" | "revision";
|
|
132
131
|
content: string;
|
|
132
|
+
status: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
|
|
133
133
|
author?: {
|
|
134
|
-
type: "
|
|
134
|
+
type: "agent" | "human";
|
|
135
135
|
name: string;
|
|
136
136
|
id: string;
|
|
137
|
-
email?: string | undefined;
|
|
138
137
|
role?: string | undefined;
|
|
138
|
+
email?: string | undefined;
|
|
139
139
|
} | undefined;
|
|
140
140
|
metadata?: {
|
|
141
141
|
tags?: string[] | undefined;
|
|
@@ -155,13 +155,13 @@ export declare const CreateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
155
155
|
productSpecRef?: string | undefined;
|
|
156
156
|
}, {
|
|
157
157
|
content: string;
|
|
158
|
-
status?: "
|
|
158
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
159
159
|
author?: {
|
|
160
|
-
type: "
|
|
160
|
+
type: "agent" | "human";
|
|
161
161
|
name: string;
|
|
162
162
|
id: string;
|
|
163
|
-
email?: string | undefined;
|
|
164
163
|
role?: string | undefined;
|
|
164
|
+
email?: string | undefined;
|
|
165
165
|
} | undefined;
|
|
166
166
|
metadata?: {
|
|
167
167
|
tags?: string[] | undefined;
|
|
@@ -180,14 +180,14 @@ export declare const CreateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
180
180
|
})[] | undefined;
|
|
181
181
|
productSpecRef?: string | undefined;
|
|
182
182
|
}>, {
|
|
183
|
-
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
|
|
184
183
|
content: string;
|
|
184
|
+
status: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
|
|
185
185
|
author?: {
|
|
186
|
-
type: "
|
|
186
|
+
type: "agent" | "human";
|
|
187
187
|
name: string;
|
|
188
188
|
id: string;
|
|
189
|
-
email?: string | undefined;
|
|
190
189
|
role?: string | undefined;
|
|
190
|
+
email?: string | undefined;
|
|
191
191
|
} | undefined;
|
|
192
192
|
metadata?: {
|
|
193
193
|
tags?: string[] | undefined;
|
|
@@ -207,13 +207,13 @@ export declare const CreateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
207
207
|
productSpecRef?: string | undefined;
|
|
208
208
|
}, {
|
|
209
209
|
content: string;
|
|
210
|
-
status?: "
|
|
210
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
211
211
|
author?: {
|
|
212
|
-
type: "
|
|
212
|
+
type: "agent" | "human";
|
|
213
213
|
name: string;
|
|
214
214
|
id: string;
|
|
215
|
-
email?: string | undefined;
|
|
216
215
|
role?: string | undefined;
|
|
216
|
+
email?: string | undefined;
|
|
217
217
|
} | undefined;
|
|
218
218
|
metadata?: {
|
|
219
219
|
tags?: string[] | undefined;
|
|
@@ -276,14 +276,14 @@ export declare const UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
276
276
|
}>>;
|
|
277
277
|
productSpecRef: z.ZodOptional<z.ZodString>;
|
|
278
278
|
}, "strip", z.ZodTypeAny, {
|
|
279
|
-
|
|
279
|
+
content?: string | undefined;
|
|
280
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
280
281
|
metadata?: {
|
|
281
282
|
tags?: string[] | undefined;
|
|
282
283
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
283
284
|
readiness?: number | undefined;
|
|
284
285
|
reviewers?: string[] | undefined;
|
|
285
286
|
} | undefined;
|
|
286
|
-
content?: string | undefined;
|
|
287
287
|
title?: string | undefined;
|
|
288
288
|
intent?: string | undefined;
|
|
289
289
|
planSteps?: (string | {
|
|
@@ -295,14 +295,14 @@ export declare const UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
295
295
|
})[] | undefined;
|
|
296
296
|
productSpecRef?: string | undefined;
|
|
297
297
|
}, {
|
|
298
|
-
|
|
298
|
+
content?: string | undefined;
|
|
299
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
299
300
|
metadata?: {
|
|
300
301
|
tags?: string[] | undefined;
|
|
301
302
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
302
303
|
readiness?: number | undefined;
|
|
303
304
|
reviewers?: string[] | undefined;
|
|
304
305
|
} | undefined;
|
|
305
|
-
content?: string | undefined;
|
|
306
306
|
title?: string | undefined;
|
|
307
307
|
intent?: string | undefined;
|
|
308
308
|
planSteps?: (string | {
|
|
@@ -314,14 +314,14 @@ export declare const UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
314
314
|
})[] | undefined;
|
|
315
315
|
productSpecRef?: string | undefined;
|
|
316
316
|
}>, {
|
|
317
|
-
|
|
317
|
+
content?: string | undefined;
|
|
318
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
318
319
|
metadata?: {
|
|
319
320
|
tags?: string[] | undefined;
|
|
320
321
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
321
322
|
readiness?: number | undefined;
|
|
322
323
|
reviewers?: string[] | undefined;
|
|
323
324
|
} | undefined;
|
|
324
|
-
content?: string | undefined;
|
|
325
325
|
title?: string | undefined;
|
|
326
326
|
intent?: string | undefined;
|
|
327
327
|
planSteps?: (string | {
|
|
@@ -333,14 +333,14 @@ export declare const UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
333
333
|
})[] | undefined;
|
|
334
334
|
productSpecRef?: string | undefined;
|
|
335
335
|
}, {
|
|
336
|
-
|
|
336
|
+
content?: string | undefined;
|
|
337
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
337
338
|
metadata?: {
|
|
338
339
|
tags?: string[] | undefined;
|
|
339
340
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
340
341
|
readiness?: number | undefined;
|
|
341
342
|
reviewers?: string[] | undefined;
|
|
342
343
|
} | undefined;
|
|
343
|
-
content?: string | undefined;
|
|
344
344
|
title?: string | undefined;
|
|
345
345
|
intent?: string | undefined;
|
|
346
346
|
planSteps?: (string | {
|
|
@@ -396,11 +396,11 @@ export declare const AddCommentInputSchema: z.ZodObject<{
|
|
|
396
396
|
author: z.ZodString;
|
|
397
397
|
content: z.ZodString;
|
|
398
398
|
}, "strip", z.ZodTypeAny, {
|
|
399
|
-
author: string;
|
|
400
399
|
content: string;
|
|
401
|
-
}, {
|
|
402
400
|
author: string;
|
|
401
|
+
}, {
|
|
403
402
|
content: string;
|
|
403
|
+
author: string;
|
|
404
404
|
}>;
|
|
405
405
|
export type AddCommentInput = z.infer<typeof AddCommentInputSchema>;
|
|
406
406
|
/**
|
|
@@ -415,19 +415,19 @@ export declare const UpdatePlanStepInputSchema: z.ZodObject<{
|
|
|
415
415
|
output: z.ZodOptional<z.ZodString>;
|
|
416
416
|
error: z.ZodOptional<z.ZodString>;
|
|
417
417
|
}, "strip", z.ZodTypeAny, {
|
|
418
|
+
error?: string | undefined;
|
|
418
419
|
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
419
420
|
description?: string | undefined;
|
|
420
421
|
command?: string | undefined;
|
|
421
422
|
expectedOutcome?: string | undefined;
|
|
422
423
|
output?: string | undefined;
|
|
423
|
-
error?: string | undefined;
|
|
424
424
|
}, {
|
|
425
|
+
error?: string | undefined;
|
|
425
426
|
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
426
427
|
description?: string | undefined;
|
|
427
428
|
command?: string | undefined;
|
|
428
429
|
expectedOutcome?: string | undefined;
|
|
429
430
|
output?: string | undefined;
|
|
430
|
-
error?: string | undefined;
|
|
431
431
|
}>;
|
|
432
432
|
export type UpdatePlanStepInput = z.infer<typeof UpdatePlanStepInputSchema>;
|
|
433
433
|
/**
|
|
@@ -453,17 +453,17 @@ export declare const taskSchemas: {
|
|
|
453
453
|
role: z.ZodOptional<z.ZodString>;
|
|
454
454
|
type: z.ZodEnum<["human", "agent"]>;
|
|
455
455
|
}, "strip", z.ZodTypeAny, {
|
|
456
|
-
type: "
|
|
456
|
+
type: "agent" | "human";
|
|
457
457
|
name: string;
|
|
458
458
|
id: string;
|
|
459
|
-
email?: string | undefined;
|
|
460
459
|
role?: string | undefined;
|
|
460
|
+
email?: string | undefined;
|
|
461
461
|
}, {
|
|
462
|
-
type: "
|
|
462
|
+
type: "agent" | "human";
|
|
463
463
|
name: string;
|
|
464
464
|
id: string;
|
|
465
|
-
email?: string | undefined;
|
|
466
465
|
role?: string | undefined;
|
|
466
|
+
email?: string | undefined;
|
|
467
467
|
}>;
|
|
468
468
|
TaskFiltersSchema: z.ZodObject<{
|
|
469
469
|
status: z.ZodOptional<z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "revision", "done", "canceled", "duplicate"]>>;
|
|
@@ -473,19 +473,19 @@ export declare const taskSchemas: {
|
|
|
473
473
|
search: z.ZodOptional<z.ZodString>;
|
|
474
474
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
475
475
|
}, "strip", z.ZodTypeAny, {
|
|
476
|
+
tags?: string[] | undefined;
|
|
476
477
|
search?: string | undefined;
|
|
477
|
-
status?: "
|
|
478
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
479
|
+
limit?: number | undefined;
|
|
478
480
|
author?: string | undefined;
|
|
479
|
-
tags?: string[] | undefined;
|
|
480
481
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
481
|
-
limit?: number | undefined;
|
|
482
482
|
}, {
|
|
483
|
+
tags?: string[] | undefined;
|
|
483
484
|
search?: string | undefined;
|
|
484
|
-
status?: "
|
|
485
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
486
|
+
limit?: number | undefined;
|
|
485
487
|
author?: string | undefined;
|
|
486
|
-
tags?: string[] | undefined;
|
|
487
488
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
488
|
-
limit?: number | undefined;
|
|
489
489
|
}>;
|
|
490
490
|
StepStatusSchema: z.ZodEnum<["pending", "active", "done", "failed", "skipped"]>;
|
|
491
491
|
PlanStepInputSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
@@ -519,17 +519,17 @@ export declare const taskSchemas: {
|
|
|
519
519
|
role: z.ZodOptional<z.ZodString>;
|
|
520
520
|
type: z.ZodEnum<["human", "agent"]>;
|
|
521
521
|
}, "strip", z.ZodTypeAny, {
|
|
522
|
-
type: "
|
|
522
|
+
type: "agent" | "human";
|
|
523
523
|
name: string;
|
|
524
524
|
id: string;
|
|
525
|
-
email?: string | undefined;
|
|
526
525
|
role?: string | undefined;
|
|
526
|
+
email?: string | undefined;
|
|
527
527
|
}, {
|
|
528
|
-
type: "
|
|
528
|
+
type: "agent" | "human";
|
|
529
529
|
name: string;
|
|
530
530
|
id: string;
|
|
531
|
-
email?: string | undefined;
|
|
532
531
|
role?: string | undefined;
|
|
532
|
+
email?: string | undefined;
|
|
533
533
|
}>>;
|
|
534
534
|
planSteps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
535
535
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -569,14 +569,14 @@ export declare const taskSchemas: {
|
|
|
569
569
|
}>>;
|
|
570
570
|
productSpecRef: z.ZodOptional<z.ZodString>;
|
|
571
571
|
}, "strip", z.ZodTypeAny, {
|
|
572
|
-
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
|
|
573
572
|
content: string;
|
|
573
|
+
status: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
|
|
574
574
|
author?: {
|
|
575
|
-
type: "
|
|
575
|
+
type: "agent" | "human";
|
|
576
576
|
name: string;
|
|
577
577
|
id: string;
|
|
578
|
-
email?: string | undefined;
|
|
579
578
|
role?: string | undefined;
|
|
579
|
+
email?: string | undefined;
|
|
580
580
|
} | undefined;
|
|
581
581
|
metadata?: {
|
|
582
582
|
tags?: string[] | undefined;
|
|
@@ -596,13 +596,13 @@ export declare const taskSchemas: {
|
|
|
596
596
|
productSpecRef?: string | undefined;
|
|
597
597
|
}, {
|
|
598
598
|
content: string;
|
|
599
|
-
status?: "
|
|
599
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
600
600
|
author?: {
|
|
601
|
-
type: "
|
|
601
|
+
type: "agent" | "human";
|
|
602
602
|
name: string;
|
|
603
603
|
id: string;
|
|
604
|
-
email?: string | undefined;
|
|
605
604
|
role?: string | undefined;
|
|
605
|
+
email?: string | undefined;
|
|
606
606
|
} | undefined;
|
|
607
607
|
metadata?: {
|
|
608
608
|
tags?: string[] | undefined;
|
|
@@ -621,14 +621,14 @@ export declare const taskSchemas: {
|
|
|
621
621
|
})[] | undefined;
|
|
622
622
|
productSpecRef?: string | undefined;
|
|
623
623
|
}>, {
|
|
624
|
-
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
|
|
625
624
|
content: string;
|
|
625
|
+
status: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
|
|
626
626
|
author?: {
|
|
627
|
-
type: "
|
|
627
|
+
type: "agent" | "human";
|
|
628
628
|
name: string;
|
|
629
629
|
id: string;
|
|
630
|
-
email?: string | undefined;
|
|
631
630
|
role?: string | undefined;
|
|
631
|
+
email?: string | undefined;
|
|
632
632
|
} | undefined;
|
|
633
633
|
metadata?: {
|
|
634
634
|
tags?: string[] | undefined;
|
|
@@ -648,13 +648,13 @@ export declare const taskSchemas: {
|
|
|
648
648
|
productSpecRef?: string | undefined;
|
|
649
649
|
}, {
|
|
650
650
|
content: string;
|
|
651
|
-
status?: "
|
|
651
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
652
652
|
author?: {
|
|
653
|
-
type: "
|
|
653
|
+
type: "agent" | "human";
|
|
654
654
|
name: string;
|
|
655
655
|
id: string;
|
|
656
|
-
email?: string | undefined;
|
|
657
656
|
role?: string | undefined;
|
|
657
|
+
email?: string | undefined;
|
|
658
658
|
} | undefined;
|
|
659
659
|
metadata?: {
|
|
660
660
|
tags?: string[] | undefined;
|
|
@@ -716,14 +716,14 @@ export declare const taskSchemas: {
|
|
|
716
716
|
}>>;
|
|
717
717
|
productSpecRef: z.ZodOptional<z.ZodString>;
|
|
718
718
|
}, "strip", z.ZodTypeAny, {
|
|
719
|
-
|
|
719
|
+
content?: string | undefined;
|
|
720
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
720
721
|
metadata?: {
|
|
721
722
|
tags?: string[] | undefined;
|
|
722
723
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
723
724
|
readiness?: number | undefined;
|
|
724
725
|
reviewers?: string[] | undefined;
|
|
725
726
|
} | undefined;
|
|
726
|
-
content?: string | undefined;
|
|
727
727
|
title?: string | undefined;
|
|
728
728
|
intent?: string | undefined;
|
|
729
729
|
planSteps?: (string | {
|
|
@@ -735,14 +735,14 @@ export declare const taskSchemas: {
|
|
|
735
735
|
})[] | undefined;
|
|
736
736
|
productSpecRef?: string | undefined;
|
|
737
737
|
}, {
|
|
738
|
-
|
|
738
|
+
content?: string | undefined;
|
|
739
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
739
740
|
metadata?: {
|
|
740
741
|
tags?: string[] | undefined;
|
|
741
742
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
742
743
|
readiness?: number | undefined;
|
|
743
744
|
reviewers?: string[] | undefined;
|
|
744
745
|
} | undefined;
|
|
745
|
-
content?: string | undefined;
|
|
746
746
|
title?: string | undefined;
|
|
747
747
|
intent?: string | undefined;
|
|
748
748
|
planSteps?: (string | {
|
|
@@ -754,14 +754,14 @@ export declare const taskSchemas: {
|
|
|
754
754
|
})[] | undefined;
|
|
755
755
|
productSpecRef?: string | undefined;
|
|
756
756
|
}>, {
|
|
757
|
-
|
|
757
|
+
content?: string | undefined;
|
|
758
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
758
759
|
metadata?: {
|
|
759
760
|
tags?: string[] | undefined;
|
|
760
761
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
761
762
|
readiness?: number | undefined;
|
|
762
763
|
reviewers?: string[] | undefined;
|
|
763
764
|
} | undefined;
|
|
764
|
-
content?: string | undefined;
|
|
765
765
|
title?: string | undefined;
|
|
766
766
|
intent?: string | undefined;
|
|
767
767
|
planSteps?: (string | {
|
|
@@ -773,14 +773,14 @@ export declare const taskSchemas: {
|
|
|
773
773
|
})[] | undefined;
|
|
774
774
|
productSpecRef?: string | undefined;
|
|
775
775
|
}, {
|
|
776
|
-
|
|
776
|
+
content?: string | undefined;
|
|
777
|
+
status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
777
778
|
metadata?: {
|
|
778
779
|
tags?: string[] | undefined;
|
|
779
780
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
780
781
|
readiness?: number | undefined;
|
|
781
782
|
reviewers?: string[] | undefined;
|
|
782
783
|
} | undefined;
|
|
783
|
-
content?: string | undefined;
|
|
784
784
|
title?: string | undefined;
|
|
785
785
|
intent?: string | undefined;
|
|
786
786
|
planSteps?: (string | {
|
|
@@ -816,29 +816,29 @@ export declare const taskSchemas: {
|
|
|
816
816
|
output: z.ZodOptional<z.ZodString>;
|
|
817
817
|
error: z.ZodOptional<z.ZodString>;
|
|
818
818
|
}, "strip", z.ZodTypeAny, {
|
|
819
|
+
error?: string | undefined;
|
|
819
820
|
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
820
821
|
description?: string | undefined;
|
|
821
822
|
command?: string | undefined;
|
|
822
823
|
expectedOutcome?: string | undefined;
|
|
823
824
|
output?: string | undefined;
|
|
824
|
-
error?: string | undefined;
|
|
825
825
|
}, {
|
|
826
|
+
error?: string | undefined;
|
|
826
827
|
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
827
828
|
description?: string | undefined;
|
|
828
829
|
command?: string | undefined;
|
|
829
830
|
expectedOutcome?: string | undefined;
|
|
830
831
|
output?: string | undefined;
|
|
831
|
-
error?: string | undefined;
|
|
832
832
|
}>;
|
|
833
833
|
AddCommentInputSchema: z.ZodObject<{
|
|
834
834
|
author: z.ZodString;
|
|
835
835
|
content: z.ZodString;
|
|
836
836
|
}, "strip", z.ZodTypeAny, {
|
|
837
|
-
author: string;
|
|
838
837
|
content: string;
|
|
839
|
-
}, {
|
|
840
838
|
author: string;
|
|
839
|
+
}, {
|
|
841
840
|
content: string;
|
|
841
|
+
author: string;
|
|
842
842
|
}>;
|
|
843
843
|
};
|
|
844
844
|
export declare const taskJsonSchemas: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lovelybunch/core",
|
|
3
|
-
"version": "1.0.76-alpha.
|
|
3
|
+
"version": "1.0.76-alpha.4",
|
|
4
4
|
"description": "Core Coconut functionality",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"test:ui": "vitest --ui"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@lovelybunch/types": "^1.0.76-alpha.
|
|
45
|
+
"@lovelybunch/types": "^1.0.76-alpha.4",
|
|
46
46
|
"@slack/web-api": "^7.13.0",
|
|
47
47
|
"fuse.js": "^7.0.0",
|
|
48
48
|
"gray-matter": "^4.0.3",
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import type { ChangeProposal, CPStatus, Author, PlanStep, Evidence, AIInteraction } from '@lovelybunch/types';
|
|
2
|
-
export declare class ChangeProposalManager {
|
|
3
|
-
private proposals;
|
|
4
|
-
/**
|
|
5
|
-
* Create a new Change Proposal
|
|
6
|
-
*/
|
|
7
|
-
create(params: {
|
|
8
|
-
intent: string;
|
|
9
|
-
author: Author;
|
|
10
|
-
productSpecRef?: string;
|
|
11
|
-
}): ChangeProposal;
|
|
12
|
-
/**
|
|
13
|
-
* Get a Change Proposal by ID
|
|
14
|
-
*/
|
|
15
|
-
get(id: string): ChangeProposal | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* List all Change Proposals with optional filtering
|
|
18
|
-
*/
|
|
19
|
-
list(options?: {
|
|
20
|
-
status?: CPStatus;
|
|
21
|
-
author?: string;
|
|
22
|
-
limit?: number;
|
|
23
|
-
offset?: number;
|
|
24
|
-
}): ChangeProposal[];
|
|
25
|
-
/**
|
|
26
|
-
* Update a Change Proposal
|
|
27
|
-
*/
|
|
28
|
-
update(id: string, updates: Partial<ChangeProposal>): ChangeProposal | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* Update the status of a Change Proposal
|
|
31
|
-
*/
|
|
32
|
-
updateStatus(id: string, status: CPStatus): ChangeProposal | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* Add a plan step to a Change Proposal
|
|
35
|
-
*/
|
|
36
|
-
addPlanStep(cpId: string, step: Omit<PlanStep, 'id'>): PlanStep | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* Execute a plan step
|
|
39
|
-
*/
|
|
40
|
-
executePlanStep(cpId: string, stepId: string, result: {
|
|
41
|
-
output?: string;
|
|
42
|
-
error?: string;
|
|
43
|
-
status: 'completed' | 'failed';
|
|
44
|
-
}): boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Add evidence to a Change Proposal
|
|
47
|
-
*/
|
|
48
|
-
addEvidence(cpId: string, evidence: Omit<Evidence, 'timestamp'>): Evidence | undefined;
|
|
49
|
-
/**
|
|
50
|
-
* Add an AI interaction to a Change Proposal
|
|
51
|
-
*/
|
|
52
|
-
addAIInteraction(cpId: string, interaction: AIInteraction): boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Delete a Change Proposal
|
|
55
|
-
*/
|
|
56
|
-
delete(id: string): boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Generate a unique ID for a Change Proposal
|
|
59
|
-
*/
|
|
60
|
-
private generateId;
|
|
61
|
-
/**
|
|
62
|
-
* Export all proposals (for persistence)
|
|
63
|
-
*/
|
|
64
|
-
export(): ChangeProposal[];
|
|
65
|
-
/**
|
|
66
|
-
* Import proposals (for loading from storage)
|
|
67
|
-
*/
|
|
68
|
-
import(proposals: ChangeProposal[]): void;
|
|
69
|
-
}
|
|
70
|
-
export declare const cpManager: ChangeProposalManager;
|
|
71
|
-
//# sourceMappingURL=change-proposal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"change-proposal.d.ts","sourceRoot":"","sources":["../src/change-proposal.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EACd,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,aAAa,EACd,MAAM,oBAAoB,CAAC;AAE5B,qBAAa,qBAAqB;IAChC,OAAO,CAAC,SAAS,CAA0C;IAE3D;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE;QACb,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;QACf,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,GAAG,cAAc;IA+BlB;;OAEG;IACH,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS;IAI3C;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE;QACb,MAAM,CAAC,EAAE,QAAQ,CAAC;QAClB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,GAAG,cAAc,EAAE;IA2BpB;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC,GAAG,cAAc,GAAG,SAAS;IAqBhF;;OAEG;IACH,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,GAAG,cAAc,GAAG,SAAS;IAItE;;OAEG;IACH,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,QAAQ,GAAG,SAAS;IAkB3E;;OAEG;IACH,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE;QACpD,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,WAAW,GAAG,QAAQ,CAAC;KAChC,GAAG,OAAO;IAsBX;;OAEG;IACH,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,GAAG,SAAS;IAiBtF;;OAEG;IACH,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,GAAG,OAAO;IAiBnE;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAI3B;;OAEG;IACH,OAAO,CAAC,UAAU;IAKlB;;OAEG;IACH,MAAM,IAAI,cAAc,EAAE;IAI1B;;OAEG;IACH,MAAM,CAAC,SAAS,EAAE,cAAc,EAAE,GAAG,IAAI;CAyB1C;AAGD,eAAO,MAAM,SAAS,uBAA8B,CAAC"}
|