@ourroadmaps/mcp 0.2.0 → 0.3.0
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.js +5 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23746,11 +23746,12 @@ var prdSchema = exports_external.object({
|
|
|
23746
23746
|
var savePrdInputSchema = exports_external.object({
|
|
23747
23747
|
what: exports_external.string().nullable(),
|
|
23748
23748
|
why: exports_external.string().nullable(),
|
|
23749
|
+
status: prdStatusSchema,
|
|
23749
23750
|
outcomes: exports_external.array(exports_external.object({
|
|
23750
23751
|
id: exports_external.string().uuid().optional(),
|
|
23751
23752
|
description: exports_external.string(),
|
|
23752
|
-
|
|
23753
|
-
}))
|
|
23753
|
+
order: exports_external.number().int().min(0)
|
|
23754
|
+
}))
|
|
23754
23755
|
});
|
|
23755
23756
|
var brainstormMediaSchema = exports_external.object({
|
|
23756
23757
|
id: exports_external.string().uuid(),
|
|
@@ -24522,7 +24523,8 @@ function registerSavePrd(server) {
|
|
|
24522
24523
|
const prd = await client2.savePrd(roadmapId, {
|
|
24523
24524
|
what: what ?? null,
|
|
24524
24525
|
why: why ?? null,
|
|
24525
|
-
|
|
24526
|
+
status: "draft",
|
|
24527
|
+
outcomes: (outcomes ?? []).map((desc, index) => ({ description: desc, order: index }))
|
|
24526
24528
|
});
|
|
24527
24529
|
return {
|
|
24528
24530
|
content: [
|