@lovelybunch/core 1.0.75-alpha.4 → 1.0.75-alpha.6
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/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/markdown-storage.d.ts +7 -6
- package/dist/markdown-storage.d.ts.map +1 -1
- package/dist/markdown-storage.js +114 -52
- package/dist/markdown-storage.js.map +1 -1
- package/dist/proposals.d.ts +136 -136
- package/dist/skill-instructions.d.ts +19 -0
- package/dist/skill-instructions.d.ts.map +1 -0
- package/dist/skill-instructions.js +163 -0
- package/dist/skill-instructions.js.map +1 -0
- package/dist/storage.d.ts +12 -15
- package/dist/storage.d.ts.map +1 -1
- package/dist/storage.js +119 -145
- package/dist/storage.js.map +1 -1
- package/dist/system-prompts/schema/skill.schema.md +73 -0
- package/package.json +2 -2
package/dist/proposals.d.ts
CHANGED
|
@@ -11,15 +11,15 @@ export declare const AuthorSchema: z.ZodObject<{
|
|
|
11
11
|
role: z.ZodOptional<z.ZodString>;
|
|
12
12
|
type: z.ZodEnum<["human", "agent"]>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
id: string;
|
|
15
|
-
name: string;
|
|
16
14
|
type: "human" | "agent";
|
|
15
|
+
name: string;
|
|
16
|
+
id: string;
|
|
17
17
|
email?: string | undefined;
|
|
18
18
|
role?: string | undefined;
|
|
19
19
|
}, {
|
|
20
|
-
id: string;
|
|
21
|
-
name: string;
|
|
22
20
|
type: "human" | "agent";
|
|
21
|
+
name: string;
|
|
22
|
+
id: string;
|
|
23
23
|
email?: string | undefined;
|
|
24
24
|
role?: string | undefined;
|
|
25
25
|
}>;
|
|
@@ -31,17 +31,17 @@ export declare const ProposalFiltersSchema: z.ZodObject<{
|
|
|
31
31
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
32
32
|
search: z.ZodOptional<z.ZodString>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
|
|
34
|
+
search?: string | undefined;
|
|
35
35
|
author?: string | undefined;
|
|
36
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
37
36
|
tags?: string[] | undefined;
|
|
38
|
-
search?: string | undefined;
|
|
39
|
-
}, {
|
|
40
37
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
41
|
-
author?: string | undefined;
|
|
42
38
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
43
|
-
|
|
39
|
+
}, {
|
|
44
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
45
|
}>;
|
|
46
46
|
export type ProposalFilters = z.infer<typeof ProposalFiltersSchema>;
|
|
47
47
|
export declare const PlanStepInputSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
@@ -76,15 +76,15 @@ export declare const CreateProposalInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
76
76
|
role: z.ZodOptional<z.ZodString>;
|
|
77
77
|
type: z.ZodEnum<["human", "agent"]>;
|
|
78
78
|
}, "strip", z.ZodTypeAny, {
|
|
79
|
-
id: string;
|
|
80
|
-
name: string;
|
|
81
79
|
type: "human" | "agent";
|
|
80
|
+
name: string;
|
|
81
|
+
id: string;
|
|
82
82
|
email?: string | undefined;
|
|
83
83
|
role?: string | undefined;
|
|
84
84
|
}, {
|
|
85
|
-
id: string;
|
|
86
|
-
name: string;
|
|
87
85
|
type: "human" | "agent";
|
|
86
|
+
name: string;
|
|
87
|
+
id: string;
|
|
88
88
|
email?: string | undefined;
|
|
89
89
|
role?: string | undefined;
|
|
90
90
|
}>>;
|
|
@@ -113,25 +113,30 @@ export declare const CreateProposalInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
113
113
|
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
114
114
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
115
115
|
}, "strip", z.ZodTypeAny, {
|
|
116
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
117
116
|
tags?: string[] | undefined;
|
|
117
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
118
118
|
reviewers?: string[] | undefined;
|
|
119
119
|
}, {
|
|
120
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
121
120
|
tags?: string[] | undefined;
|
|
121
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
122
122
|
reviewers?: string[] | undefined;
|
|
123
123
|
}>>;
|
|
124
124
|
productSpecRef: z.ZodOptional<z.ZodString>;
|
|
125
125
|
}, "strip", z.ZodTypeAny, {
|
|
126
|
-
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate";
|
|
127
126
|
content: string;
|
|
127
|
+
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate";
|
|
128
128
|
author?: {
|
|
129
|
-
id: string;
|
|
130
|
-
name: string;
|
|
131
129
|
type: "human" | "agent";
|
|
130
|
+
name: string;
|
|
131
|
+
id: string;
|
|
132
132
|
email?: string | undefined;
|
|
133
133
|
role?: string | undefined;
|
|
134
134
|
} | undefined;
|
|
135
|
+
metadata?: {
|
|
136
|
+
tags?: string[] | undefined;
|
|
137
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
138
|
+
reviewers?: string[] | undefined;
|
|
139
|
+
} | undefined;
|
|
135
140
|
title?: string | undefined;
|
|
136
141
|
intent?: string | undefined;
|
|
137
142
|
planSteps?: (string | {
|
|
@@ -141,22 +146,22 @@ export declare const CreateProposalInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
141
146
|
command?: string | undefined;
|
|
142
147
|
expectedOutcome?: string | undefined;
|
|
143
148
|
})[] | undefined;
|
|
144
|
-
metadata?: {
|
|
145
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
146
|
-
tags?: string[] | undefined;
|
|
147
|
-
reviewers?: string[] | undefined;
|
|
148
|
-
} | undefined;
|
|
149
149
|
productSpecRef?: string | undefined;
|
|
150
150
|
}, {
|
|
151
151
|
content: string;
|
|
152
|
-
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
153
152
|
author?: {
|
|
154
|
-
id: string;
|
|
155
|
-
name: string;
|
|
156
153
|
type: "human" | "agent";
|
|
154
|
+
name: string;
|
|
155
|
+
id: string;
|
|
157
156
|
email?: string | undefined;
|
|
158
157
|
role?: string | undefined;
|
|
159
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;
|
|
160
165
|
title?: string | undefined;
|
|
161
166
|
intent?: string | undefined;
|
|
162
167
|
planSteps?: (string | {
|
|
@@ -166,22 +171,22 @@ export declare const CreateProposalInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
166
171
|
command?: string | undefined;
|
|
167
172
|
expectedOutcome?: string | undefined;
|
|
168
173
|
})[] | undefined;
|
|
169
|
-
metadata?: {
|
|
170
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
171
|
-
tags?: string[] | undefined;
|
|
172
|
-
reviewers?: string[] | undefined;
|
|
173
|
-
} | undefined;
|
|
174
174
|
productSpecRef?: string | undefined;
|
|
175
175
|
}>, {
|
|
176
|
-
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate";
|
|
177
176
|
content: string;
|
|
177
|
+
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate";
|
|
178
178
|
author?: {
|
|
179
|
-
id: string;
|
|
180
|
-
name: string;
|
|
181
179
|
type: "human" | "agent";
|
|
180
|
+
name: string;
|
|
181
|
+
id: string;
|
|
182
182
|
email?: string | undefined;
|
|
183
183
|
role?: string | undefined;
|
|
184
184
|
} | undefined;
|
|
185
|
+
metadata?: {
|
|
186
|
+
tags?: string[] | undefined;
|
|
187
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
188
|
+
reviewers?: string[] | undefined;
|
|
189
|
+
} | undefined;
|
|
185
190
|
title?: string | undefined;
|
|
186
191
|
intent?: string | undefined;
|
|
187
192
|
planSteps?: (string | {
|
|
@@ -191,22 +196,22 @@ export declare const CreateProposalInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
191
196
|
command?: string | undefined;
|
|
192
197
|
expectedOutcome?: string | undefined;
|
|
193
198
|
})[] | undefined;
|
|
194
|
-
metadata?: {
|
|
195
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
196
|
-
tags?: string[] | undefined;
|
|
197
|
-
reviewers?: string[] | undefined;
|
|
198
|
-
} | undefined;
|
|
199
199
|
productSpecRef?: string | undefined;
|
|
200
200
|
}, {
|
|
201
201
|
content: string;
|
|
202
|
-
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
203
202
|
author?: {
|
|
204
|
-
id: string;
|
|
205
|
-
name: string;
|
|
206
203
|
type: "human" | "agent";
|
|
204
|
+
name: string;
|
|
205
|
+
id: string;
|
|
207
206
|
email?: string | undefined;
|
|
208
207
|
role?: string | undefined;
|
|
209
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;
|
|
210
215
|
title?: string | undefined;
|
|
211
216
|
intent?: string | undefined;
|
|
212
217
|
planSteps?: (string | {
|
|
@@ -216,11 +221,6 @@ export declare const CreateProposalInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
216
221
|
command?: string | undefined;
|
|
217
222
|
expectedOutcome?: string | undefined;
|
|
218
223
|
})[] | undefined;
|
|
219
|
-
metadata?: {
|
|
220
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
221
|
-
tags?: string[] | undefined;
|
|
222
|
-
reviewers?: string[] | undefined;
|
|
223
|
-
} | undefined;
|
|
224
224
|
productSpecRef?: string | undefined;
|
|
225
225
|
}>;
|
|
226
226
|
export type CreateProposalInput = z.infer<typeof CreateProposalInputSchema>;
|
|
@@ -254,20 +254,25 @@ export declare const UpdateProposalInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
254
254
|
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
255
255
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
256
256
|
}, "strip", z.ZodTypeAny, {
|
|
257
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
258
257
|
tags?: string[] | undefined;
|
|
258
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
259
259
|
reviewers?: string[] | undefined;
|
|
260
260
|
}, {
|
|
261
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
262
261
|
tags?: string[] | undefined;
|
|
262
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
263
263
|
reviewers?: string[] | undefined;
|
|
264
264
|
}>>;
|
|
265
265
|
productSpecRef: z.ZodOptional<z.ZodString>;
|
|
266
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;
|
|
267
273
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
268
274
|
title?: string | undefined;
|
|
269
275
|
intent?: string | undefined;
|
|
270
|
-
content?: string | undefined;
|
|
271
276
|
planSteps?: (string | {
|
|
272
277
|
description: string;
|
|
273
278
|
id?: string | undefined;
|
|
@@ -275,17 +280,17 @@ export declare const UpdateProposalInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
275
280
|
command?: string | undefined;
|
|
276
281
|
expectedOutcome?: string | undefined;
|
|
277
282
|
})[] | undefined;
|
|
283
|
+
productSpecRef?: string | undefined;
|
|
284
|
+
}, {
|
|
278
285
|
metadata?: {
|
|
279
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
280
286
|
tags?: string[] | undefined;
|
|
287
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
281
288
|
reviewers?: string[] | undefined;
|
|
282
289
|
} | undefined;
|
|
283
|
-
|
|
284
|
-
}, {
|
|
290
|
+
content?: string | undefined;
|
|
285
291
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
286
292
|
title?: string | undefined;
|
|
287
293
|
intent?: string | undefined;
|
|
288
|
-
content?: string | undefined;
|
|
289
294
|
planSteps?: (string | {
|
|
290
295
|
description: string;
|
|
291
296
|
id?: string | undefined;
|
|
@@ -293,17 +298,17 @@ export declare const UpdateProposalInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
293
298
|
command?: string | undefined;
|
|
294
299
|
expectedOutcome?: string | undefined;
|
|
295
300
|
})[] | undefined;
|
|
301
|
+
productSpecRef?: string | undefined;
|
|
302
|
+
}>, {
|
|
296
303
|
metadata?: {
|
|
297
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
298
304
|
tags?: string[] | undefined;
|
|
305
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
299
306
|
reviewers?: string[] | undefined;
|
|
300
307
|
} | undefined;
|
|
301
|
-
|
|
302
|
-
}>, {
|
|
308
|
+
content?: string | undefined;
|
|
303
309
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
304
310
|
title?: string | undefined;
|
|
305
311
|
intent?: string | undefined;
|
|
306
|
-
content?: string | undefined;
|
|
307
312
|
planSteps?: (string | {
|
|
308
313
|
description: string;
|
|
309
314
|
id?: string | undefined;
|
|
@@ -311,17 +316,17 @@ export declare const UpdateProposalInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
311
316
|
command?: string | undefined;
|
|
312
317
|
expectedOutcome?: string | undefined;
|
|
313
318
|
})[] | undefined;
|
|
319
|
+
productSpecRef?: string | undefined;
|
|
320
|
+
}, {
|
|
314
321
|
metadata?: {
|
|
315
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
316
322
|
tags?: string[] | undefined;
|
|
323
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
317
324
|
reviewers?: string[] | undefined;
|
|
318
325
|
} | undefined;
|
|
319
|
-
|
|
320
|
-
}, {
|
|
326
|
+
content?: string | undefined;
|
|
321
327
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
322
328
|
title?: string | undefined;
|
|
323
329
|
intent?: string | undefined;
|
|
324
|
-
content?: string | undefined;
|
|
325
330
|
planSteps?: (string | {
|
|
326
331
|
description: string;
|
|
327
332
|
id?: string | undefined;
|
|
@@ -329,11 +334,6 @@ export declare const UpdateProposalInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
329
334
|
command?: string | undefined;
|
|
330
335
|
expectedOutcome?: string | undefined;
|
|
331
336
|
})[] | undefined;
|
|
332
|
-
metadata?: {
|
|
333
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
334
|
-
tags?: string[] | undefined;
|
|
335
|
-
reviewers?: string[] | undefined;
|
|
336
|
-
} | undefined;
|
|
337
337
|
productSpecRef?: string | undefined;
|
|
338
338
|
}>;
|
|
339
339
|
export type UpdateProposalInput = z.infer<typeof UpdateProposalInputSchema>;
|
|
@@ -408,15 +408,15 @@ export declare const proposalSchemas: {
|
|
|
408
408
|
role: z.ZodOptional<z.ZodString>;
|
|
409
409
|
type: z.ZodEnum<["human", "agent"]>;
|
|
410
410
|
}, "strip", z.ZodTypeAny, {
|
|
411
|
-
id: string;
|
|
412
|
-
name: string;
|
|
413
411
|
type: "human" | "agent";
|
|
412
|
+
name: string;
|
|
413
|
+
id: string;
|
|
414
414
|
email?: string | undefined;
|
|
415
415
|
role?: string | undefined;
|
|
416
416
|
}, {
|
|
417
|
-
id: string;
|
|
418
|
-
name: string;
|
|
419
417
|
type: "human" | "agent";
|
|
418
|
+
name: string;
|
|
419
|
+
id: string;
|
|
420
420
|
email?: string | undefined;
|
|
421
421
|
role?: string | undefined;
|
|
422
422
|
}>;
|
|
@@ -427,17 +427,17 @@ export declare const proposalSchemas: {
|
|
|
427
427
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
428
428
|
search: z.ZodOptional<z.ZodString>;
|
|
429
429
|
}, "strip", z.ZodTypeAny, {
|
|
430
|
-
|
|
430
|
+
search?: string | undefined;
|
|
431
431
|
author?: string | undefined;
|
|
432
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
433
432
|
tags?: string[] | undefined;
|
|
434
|
-
search?: string | undefined;
|
|
435
|
-
}, {
|
|
436
433
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
437
|
-
author?: string | undefined;
|
|
438
434
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
439
|
-
|
|
435
|
+
}, {
|
|
440
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
441
|
}>;
|
|
442
442
|
PlanStepInputSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
443
443
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -470,15 +470,15 @@ export declare const proposalSchemas: {
|
|
|
470
470
|
role: z.ZodOptional<z.ZodString>;
|
|
471
471
|
type: z.ZodEnum<["human", "agent"]>;
|
|
472
472
|
}, "strip", z.ZodTypeAny, {
|
|
473
|
-
id: string;
|
|
474
|
-
name: string;
|
|
475
473
|
type: "human" | "agent";
|
|
474
|
+
name: string;
|
|
475
|
+
id: string;
|
|
476
476
|
email?: string | undefined;
|
|
477
477
|
role?: string | undefined;
|
|
478
478
|
}, {
|
|
479
|
-
id: string;
|
|
480
|
-
name: string;
|
|
481
479
|
type: "human" | "agent";
|
|
480
|
+
name: string;
|
|
481
|
+
id: string;
|
|
482
482
|
email?: string | undefined;
|
|
483
483
|
role?: string | undefined;
|
|
484
484
|
}>>;
|
|
@@ -507,25 +507,30 @@ export declare const proposalSchemas: {
|
|
|
507
507
|
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
508
508
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
509
509
|
}, "strip", z.ZodTypeAny, {
|
|
510
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
511
510
|
tags?: string[] | undefined;
|
|
511
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
512
512
|
reviewers?: string[] | undefined;
|
|
513
513
|
}, {
|
|
514
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
515
514
|
tags?: string[] | undefined;
|
|
515
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
516
516
|
reviewers?: string[] | undefined;
|
|
517
517
|
}>>;
|
|
518
518
|
productSpecRef: z.ZodOptional<z.ZodString>;
|
|
519
519
|
}, "strip", z.ZodTypeAny, {
|
|
520
|
-
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate";
|
|
521
520
|
content: string;
|
|
521
|
+
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate";
|
|
522
522
|
author?: {
|
|
523
|
-
id: string;
|
|
524
|
-
name: string;
|
|
525
523
|
type: "human" | "agent";
|
|
524
|
+
name: string;
|
|
525
|
+
id: string;
|
|
526
526
|
email?: string | undefined;
|
|
527
527
|
role?: string | undefined;
|
|
528
528
|
} | undefined;
|
|
529
|
+
metadata?: {
|
|
530
|
+
tags?: string[] | undefined;
|
|
531
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
532
|
+
reviewers?: string[] | undefined;
|
|
533
|
+
} | undefined;
|
|
529
534
|
title?: string | undefined;
|
|
530
535
|
intent?: string | undefined;
|
|
531
536
|
planSteps?: (string | {
|
|
@@ -535,22 +540,22 @@ export declare const proposalSchemas: {
|
|
|
535
540
|
command?: string | undefined;
|
|
536
541
|
expectedOutcome?: string | undefined;
|
|
537
542
|
})[] | undefined;
|
|
538
|
-
metadata?: {
|
|
539
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
540
|
-
tags?: string[] | undefined;
|
|
541
|
-
reviewers?: string[] | undefined;
|
|
542
|
-
} | undefined;
|
|
543
543
|
productSpecRef?: string | undefined;
|
|
544
544
|
}, {
|
|
545
545
|
content: string;
|
|
546
|
-
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
547
546
|
author?: {
|
|
548
|
-
id: string;
|
|
549
|
-
name: string;
|
|
550
547
|
type: "human" | "agent";
|
|
548
|
+
name: string;
|
|
549
|
+
id: string;
|
|
551
550
|
email?: string | undefined;
|
|
552
551
|
role?: string | undefined;
|
|
553
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;
|
|
554
559
|
title?: string | undefined;
|
|
555
560
|
intent?: string | undefined;
|
|
556
561
|
planSteps?: (string | {
|
|
@@ -560,22 +565,22 @@ export declare const proposalSchemas: {
|
|
|
560
565
|
command?: string | undefined;
|
|
561
566
|
expectedOutcome?: string | undefined;
|
|
562
567
|
})[] | undefined;
|
|
563
|
-
metadata?: {
|
|
564
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
565
|
-
tags?: string[] | undefined;
|
|
566
|
-
reviewers?: string[] | undefined;
|
|
567
|
-
} | undefined;
|
|
568
568
|
productSpecRef?: string | undefined;
|
|
569
569
|
}>, {
|
|
570
|
-
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate";
|
|
571
570
|
content: string;
|
|
571
|
+
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate";
|
|
572
572
|
author?: {
|
|
573
|
-
id: string;
|
|
574
|
-
name: string;
|
|
575
573
|
type: "human" | "agent";
|
|
574
|
+
name: string;
|
|
575
|
+
id: string;
|
|
576
576
|
email?: string | undefined;
|
|
577
577
|
role?: string | undefined;
|
|
578
578
|
} | undefined;
|
|
579
|
+
metadata?: {
|
|
580
|
+
tags?: string[] | undefined;
|
|
581
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
582
|
+
reviewers?: string[] | undefined;
|
|
583
|
+
} | undefined;
|
|
579
584
|
title?: string | undefined;
|
|
580
585
|
intent?: string | undefined;
|
|
581
586
|
planSteps?: (string | {
|
|
@@ -585,22 +590,22 @@ export declare const proposalSchemas: {
|
|
|
585
590
|
command?: string | undefined;
|
|
586
591
|
expectedOutcome?: string | undefined;
|
|
587
592
|
})[] | undefined;
|
|
588
|
-
metadata?: {
|
|
589
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
590
|
-
tags?: string[] | undefined;
|
|
591
|
-
reviewers?: string[] | undefined;
|
|
592
|
-
} | undefined;
|
|
593
593
|
productSpecRef?: string | undefined;
|
|
594
594
|
}, {
|
|
595
595
|
content: string;
|
|
596
|
-
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
597
596
|
author?: {
|
|
598
|
-
id: string;
|
|
599
|
-
name: string;
|
|
600
597
|
type: "human" | "agent";
|
|
598
|
+
name: string;
|
|
599
|
+
id: string;
|
|
601
600
|
email?: string | undefined;
|
|
602
601
|
role?: string | undefined;
|
|
603
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;
|
|
604
609
|
title?: string | undefined;
|
|
605
610
|
intent?: string | undefined;
|
|
606
611
|
planSteps?: (string | {
|
|
@@ -610,11 +615,6 @@ export declare const proposalSchemas: {
|
|
|
610
615
|
command?: string | undefined;
|
|
611
616
|
expectedOutcome?: string | undefined;
|
|
612
617
|
})[] | undefined;
|
|
613
|
-
metadata?: {
|
|
614
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
615
|
-
tags?: string[] | undefined;
|
|
616
|
-
reviewers?: string[] | undefined;
|
|
617
|
-
} | undefined;
|
|
618
618
|
productSpecRef?: string | undefined;
|
|
619
619
|
}>;
|
|
620
620
|
UpdateProposalInputSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -647,20 +647,25 @@ export declare const proposalSchemas: {
|
|
|
647
647
|
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
648
648
|
reviewers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
649
649
|
}, "strip", z.ZodTypeAny, {
|
|
650
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
651
650
|
tags?: string[] | undefined;
|
|
651
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
652
652
|
reviewers?: string[] | undefined;
|
|
653
653
|
}, {
|
|
654
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
655
654
|
tags?: string[] | undefined;
|
|
655
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
656
656
|
reviewers?: string[] | undefined;
|
|
657
657
|
}>>;
|
|
658
658
|
productSpecRef: z.ZodOptional<z.ZodString>;
|
|
659
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;
|
|
660
666
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
661
667
|
title?: string | undefined;
|
|
662
668
|
intent?: string | undefined;
|
|
663
|
-
content?: string | undefined;
|
|
664
669
|
planSteps?: (string | {
|
|
665
670
|
description: string;
|
|
666
671
|
id?: string | undefined;
|
|
@@ -668,17 +673,17 @@ export declare const proposalSchemas: {
|
|
|
668
673
|
command?: string | undefined;
|
|
669
674
|
expectedOutcome?: string | undefined;
|
|
670
675
|
})[] | undefined;
|
|
676
|
+
productSpecRef?: string | undefined;
|
|
677
|
+
}, {
|
|
671
678
|
metadata?: {
|
|
672
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
673
679
|
tags?: string[] | undefined;
|
|
680
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
674
681
|
reviewers?: string[] | undefined;
|
|
675
682
|
} | undefined;
|
|
676
|
-
|
|
677
|
-
}, {
|
|
683
|
+
content?: string | undefined;
|
|
678
684
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
679
685
|
title?: string | undefined;
|
|
680
686
|
intent?: string | undefined;
|
|
681
|
-
content?: string | undefined;
|
|
682
687
|
planSteps?: (string | {
|
|
683
688
|
description: string;
|
|
684
689
|
id?: string | undefined;
|
|
@@ -686,17 +691,17 @@ export declare const proposalSchemas: {
|
|
|
686
691
|
command?: string | undefined;
|
|
687
692
|
expectedOutcome?: string | undefined;
|
|
688
693
|
})[] | undefined;
|
|
694
|
+
productSpecRef?: string | undefined;
|
|
695
|
+
}>, {
|
|
689
696
|
metadata?: {
|
|
690
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
691
697
|
tags?: string[] | undefined;
|
|
698
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
692
699
|
reviewers?: string[] | undefined;
|
|
693
700
|
} | undefined;
|
|
694
|
-
|
|
695
|
-
}>, {
|
|
701
|
+
content?: string | undefined;
|
|
696
702
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
697
703
|
title?: string | undefined;
|
|
698
704
|
intent?: string | undefined;
|
|
699
|
-
content?: string | undefined;
|
|
700
705
|
planSteps?: (string | {
|
|
701
706
|
description: string;
|
|
702
707
|
id?: string | undefined;
|
|
@@ -704,17 +709,17 @@ export declare const proposalSchemas: {
|
|
|
704
709
|
command?: string | undefined;
|
|
705
710
|
expectedOutcome?: string | undefined;
|
|
706
711
|
})[] | undefined;
|
|
712
|
+
productSpecRef?: string | undefined;
|
|
713
|
+
}, {
|
|
707
714
|
metadata?: {
|
|
708
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
709
715
|
tags?: string[] | undefined;
|
|
716
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
710
717
|
reviewers?: string[] | undefined;
|
|
711
718
|
} | undefined;
|
|
712
|
-
|
|
713
|
-
}, {
|
|
719
|
+
content?: string | undefined;
|
|
714
720
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | undefined;
|
|
715
721
|
title?: string | undefined;
|
|
716
722
|
intent?: string | undefined;
|
|
717
|
-
content?: string | undefined;
|
|
718
723
|
planSteps?: (string | {
|
|
719
724
|
description: string;
|
|
720
725
|
id?: string | undefined;
|
|
@@ -722,11 +727,6 @@ export declare const proposalSchemas: {
|
|
|
722
727
|
command?: string | undefined;
|
|
723
728
|
expectedOutcome?: string | undefined;
|
|
724
729
|
})[] | undefined;
|
|
725
|
-
metadata?: {
|
|
726
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
727
|
-
tags?: string[] | undefined;
|
|
728
|
-
reviewers?: string[] | undefined;
|
|
729
|
-
} | undefined;
|
|
730
730
|
productSpecRef?: string | undefined;
|
|
731
731
|
}>;
|
|
732
732
|
AddPlanStepInputSchema: z.ZodObject<{
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const SCHEMA_REFERENCE_INSTRUCTION = "Consult the schema references in .nut/.schema (proposal.schema.md, project.schema.md, architecture.schema.md, skill.schema.md, knowledge.schema.md) so any updates you make follow the documented structure and include complete arrays for plan steps, dependencies, tags, labels, and comments.";
|
|
2
|
+
export declare const PROJECT_REFERENCE_INSTRUCTION = "Use .nut/context/project.md and .nut/context/architecture.md for reference.";
|
|
3
|
+
/**
|
|
4
|
+
* Get instructions for change proposal (cp-*) workflows
|
|
5
|
+
*/
|
|
6
|
+
export declare function getChangeProposalInstructions(proposalId: string, skillPaths: string[], customInstruction?: string, includeDefaultInstructions?: boolean): string[];
|
|
7
|
+
/**
|
|
8
|
+
* Get instructions for reviewing / preparing a change proposal (cp-*) before implementation.
|
|
9
|
+
* Assesses readiness without starting any actual work.
|
|
10
|
+
*/
|
|
11
|
+
export declare function getPrepareChangeProposalInstructions(proposalId: string, skillPaths: string[], customInstruction?: string): string[];
|
|
12
|
+
/**
|
|
13
|
+
* Get instructions for skill (sk-*) workflows
|
|
14
|
+
* Skill content and custom instructions drive the behavior
|
|
15
|
+
*/
|
|
16
|
+
export declare function getSkillInstructions(skillPaths: string[], customInstruction?: string): string[];
|
|
17
|
+
/** @deprecated Use getSkillInstructions instead */
|
|
18
|
+
export declare const getAgentInstructions: typeof getSkillInstructions;
|
|
19
|
+
//# sourceMappingURL=skill-instructions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill-instructions.d.ts","sourceRoot":"","sources":["../src/skill-instructions.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,sSAC4P,CAAC;AACtS,eAAO,MAAM,6BAA6B,gFACqC,CAAA;AAE/E;;GAEG;AACH,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAAE,EACpB,iBAAiB,CAAC,EAAE,MAAM,EAC1B,0BAA0B,GAAE,OAAc,GACzC,MAAM,EAAE,CA0EV;AAED;;;GAGG;AACH,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAAE,EACpB,iBAAiB,CAAC,EAAE,MAAM,GACzB,MAAM,EAAE,CAqEV;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,EAAE,EACpB,iBAAiB,CAAC,EAAE,MAAM,GACzB,MAAM,EAAE,CAgBV;AAGD,mDAAmD;AACnD,eAAO,MAAM,oBAAoB,6BAAuB,CAAC"}
|