@lovelybunch/core 1.0.76-alpha.9 → 1.0.76

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/tasks.d.ts CHANGED
@@ -10,13 +10,13 @@ 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: "agent" | "human";
13
+ type: "human" | "agent";
14
14
  name: string;
15
15
  id: string;
16
16
  role?: string | undefined;
17
17
  email?: string | undefined;
18
18
  }, {
19
- type: "agent" | "human";
19
+ type: "human" | "agent";
20
20
  name: string;
21
21
  id: string;
22
22
  role?: string | undefined;
@@ -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
+ status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
35
35
  search?: string | undefined;
36
- status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
37
- limit?: number | undefined;
38
36
  author?: string | undefined;
37
+ tags?: string[] | undefined;
39
38
  priority?: "low" | "medium" | "high" | "critical" | undefined;
39
+ limit?: number | undefined;
40
40
  }, {
41
- tags?: string[] | undefined;
41
+ status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
42
42
  search?: string | undefined;
43
- status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
44
- limit?: number | undefined;
45
43
  author?: string | undefined;
44
+ tags?: string[] | undefined;
46
45
  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,13 +78,13 @@ 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: "agent" | "human";
81
+ type: "human" | "agent";
82
82
  name: string;
83
83
  id: string;
84
84
  role?: string | undefined;
85
85
  email?: string | undefined;
86
86
  }, {
87
- type: "agent" | "human";
87
+ type: "human" | "agent";
88
88
  name: string;
89
89
  id: string;
90
90
  role?: string | undefined;
@@ -129,9 +129,9 @@ export declare const CreateTaskInputSchema: z.ZodEffects<z.ZodObject<{
129
129
  productSpecRef: z.ZodOptional<z.ZodString>;
130
130
  }, "strip", z.ZodTypeAny, {
131
131
  content: string;
132
- status: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
132
+ status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
133
133
  author?: {
134
- type: "agent" | "human";
134
+ type: "human" | "agent";
135
135
  name: string;
136
136
  id: string;
137
137
  role?: string | undefined;
@@ -155,9 +155,9 @@ export declare const CreateTaskInputSchema: z.ZodEffects<z.ZodObject<{
155
155
  productSpecRef?: string | undefined;
156
156
  }, {
157
157
  content: string;
158
- status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
158
+ status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
159
159
  author?: {
160
- type: "agent" | "human";
160
+ type: "human" | "agent";
161
161
  name: string;
162
162
  id: string;
163
163
  role?: string | undefined;
@@ -181,9 +181,9 @@ export declare const CreateTaskInputSchema: z.ZodEffects<z.ZodObject<{
181
181
  productSpecRef?: string | undefined;
182
182
  }>, {
183
183
  content: string;
184
- status: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
184
+ status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
185
185
  author?: {
186
- type: "agent" | "human";
186
+ type: "human" | "agent";
187
187
  name: string;
188
188
  id: string;
189
189
  role?: string | undefined;
@@ -207,9 +207,9 @@ export declare const CreateTaskInputSchema: z.ZodEffects<z.ZodObject<{
207
207
  productSpecRef?: string | undefined;
208
208
  }, {
209
209
  content: string;
210
- status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
210
+ status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
211
211
  author?: {
212
- type: "agent" | "human";
212
+ type: "human" | "agent";
213
213
  name: string;
214
214
  id: string;
215
215
  role?: string | undefined;
@@ -277,7 +277,7 @@ export declare const UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
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
+ status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
281
281
  metadata?: {
282
282
  tags?: string[] | undefined;
283
283
  priority?: "low" | "medium" | "high" | "critical" | undefined;
@@ -296,7 +296,7 @@ export declare const UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
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
+ status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
300
300
  metadata?: {
301
301
  tags?: string[] | undefined;
302
302
  priority?: "low" | "medium" | "high" | "critical" | undefined;
@@ -315,7 +315,7 @@ export declare const UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
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
+ status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
319
319
  metadata?: {
320
320
  tags?: string[] | undefined;
321
321
  priority?: "low" | "medium" | "high" | "critical" | undefined;
@@ -334,7 +334,7 @@ export declare const UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
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
+ status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
338
338
  metadata?: {
339
339
  tags?: string[] | undefined;
340
340
  priority?: "low" | "medium" | "high" | "critical" | undefined;
@@ -415,15 +415,15 @@ 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;
419
418
  status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
419
+ error?: string | undefined;
420
420
  description?: string | undefined;
421
421
  command?: string | undefined;
422
422
  expectedOutcome?: string | undefined;
423
423
  output?: string | undefined;
424
424
  }, {
425
- error?: string | undefined;
426
425
  status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
426
+ error?: string | undefined;
427
427
  description?: string | undefined;
428
428
  command?: string | undefined;
429
429
  expectedOutcome?: string | undefined;
@@ -453,13 +453,13 @@ 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: "agent" | "human";
456
+ type: "human" | "agent";
457
457
  name: string;
458
458
  id: string;
459
459
  role?: string | undefined;
460
460
  email?: string | undefined;
461
461
  }, {
462
- type: "agent" | "human";
462
+ type: "human" | "agent";
463
463
  name: string;
464
464
  id: string;
465
465
  role?: string | undefined;
@@ -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
+ status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
477
477
  search?: string | undefined;
478
- status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
479
- limit?: number | undefined;
480
478
  author?: string | undefined;
479
+ tags?: string[] | undefined;
481
480
  priority?: "low" | "medium" | "high" | "critical" | undefined;
481
+ limit?: number | undefined;
482
482
  }, {
483
- tags?: string[] | undefined;
483
+ status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
484
484
  search?: string | undefined;
485
- status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
486
- limit?: number | undefined;
487
485
  author?: string | undefined;
486
+ tags?: string[] | undefined;
488
487
  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,13 +519,13 @@ 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: "agent" | "human";
522
+ type: "human" | "agent";
523
523
  name: string;
524
524
  id: string;
525
525
  role?: string | undefined;
526
526
  email?: string | undefined;
527
527
  }, {
528
- type: "agent" | "human";
528
+ type: "human" | "agent";
529
529
  name: string;
530
530
  id: string;
531
531
  role?: string | undefined;
@@ -570,9 +570,9 @@ export declare const taskSchemas: {
570
570
  productSpecRef: z.ZodOptional<z.ZodString>;
571
571
  }, "strip", z.ZodTypeAny, {
572
572
  content: string;
573
- status: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
573
+ status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
574
574
  author?: {
575
- type: "agent" | "human";
575
+ type: "human" | "agent";
576
576
  name: string;
577
577
  id: string;
578
578
  role?: string | undefined;
@@ -596,9 +596,9 @@ export declare const taskSchemas: {
596
596
  productSpecRef?: string | undefined;
597
597
  }, {
598
598
  content: string;
599
- status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
599
+ status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
600
600
  author?: {
601
- type: "agent" | "human";
601
+ type: "human" | "agent";
602
602
  name: string;
603
603
  id: string;
604
604
  role?: string | undefined;
@@ -622,9 +622,9 @@ export declare const taskSchemas: {
622
622
  productSpecRef?: string | undefined;
623
623
  }>, {
624
624
  content: string;
625
- status: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
625
+ status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
626
626
  author?: {
627
- type: "agent" | "human";
627
+ type: "human" | "agent";
628
628
  name: string;
629
629
  id: string;
630
630
  role?: string | undefined;
@@ -648,9 +648,9 @@ export declare const taskSchemas: {
648
648
  productSpecRef?: string | undefined;
649
649
  }, {
650
650
  content: string;
651
- status?: "ready" | "draft" | "backlog" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
651
+ status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
652
652
  author?: {
653
- type: "agent" | "human";
653
+ type: "human" | "agent";
654
654
  name: string;
655
655
  id: string;
656
656
  role?: string | undefined;
@@ -717,7 +717,7 @@ export declare const taskSchemas: {
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
+ status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
721
721
  metadata?: {
722
722
  tags?: string[] | undefined;
723
723
  priority?: "low" | "medium" | "high" | "critical" | undefined;
@@ -736,7 +736,7 @@ export declare const taskSchemas: {
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
+ status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
740
740
  metadata?: {
741
741
  tags?: string[] | undefined;
742
742
  priority?: "low" | "medium" | "high" | "critical" | undefined;
@@ -755,7 +755,7 @@ export declare const taskSchemas: {
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
+ status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
759
759
  metadata?: {
760
760
  tags?: string[] | undefined;
761
761
  priority?: "low" | "medium" | "high" | "critical" | undefined;
@@ -774,7 +774,7 @@ export declare const taskSchemas: {
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
+ status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
778
778
  metadata?: {
779
779
  tags?: string[] | undefined;
780
780
  priority?: "low" | "medium" | "high" | "critical" | undefined;
@@ -816,15 +816,15 @@ 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;
820
819
  status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
820
+ error?: string | undefined;
821
821
  description?: string | undefined;
822
822
  command?: string | undefined;
823
823
  expectedOutcome?: string | undefined;
824
824
  output?: string | undefined;
825
825
  }, {
826
- error?: string | undefined;
827
826
  status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
827
+ error?: string | undefined;
828
828
  description?: string | undefined;
829
829
  command?: string | undefined;
830
830
  expectedOutcome?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovelybunch/core",
3
- "version": "1.0.76-alpha.9",
3
+ "version": "1.0.76",
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.9",
45
+ "@lovelybunch/types": "^1.0.76",
46
46
  "@slack/web-api": "^7.13.0",
47
47
  "fuse.js": "^7.0.0",
48
48
  "gray-matter": "^4.0.3",