@lovelybunch/core 1.0.76-alpha.0 → 1.0.76-alpha.10

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