@stackwright-pro/mcp 0.2.0-alpha.115 → 0.2.0-alpha.117

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/server.js CHANGED
@@ -1314,7 +1314,7 @@ function answersToManifestFormat(answers, questions) {
1314
1314
  return qHeader.startsWith(headerLower.split("-")[0]);
1315
1315
  });
1316
1316
  if (matched) {
1317
- result[matched.id] = answer.selected_options[0] || "";
1317
+ result[matched.id] = answer.selected_options.length > 1 ? answer.selected_options : answer.selected_options[0] || "";
1318
1318
  }
1319
1319
  continue;
1320
1320
  }
@@ -1786,7 +1786,10 @@ function handleSavePhaseAnswers(input) {
1786
1786
  }
1787
1787
  } else {
1788
1788
  answers = Object.fromEntries(
1789
- input.rawAnswers.map((a) => [a.question_header, a.selected_options[0] ?? ""])
1789
+ input.rawAnswers.map((a) => [
1790
+ a.question_header,
1791
+ a.selected_options.length > 1 ? a.selected_options : a.selected_options[0] ?? ""
1792
+ ])
1790
1793
  );
1791
1794
  }
1792
1795
  const payload = {
@@ -9604,7 +9607,7 @@ var package_default = {
9604
9607
  "@stackwright-pro/pulse": "workspace:*",
9605
9608
  "@stackwright-pro/telemetry": "workspace:*",
9606
9609
  "@stackwright-pro/types": "workspace:*",
9607
- "@stackwright/mcp": "0.6.0-alpha.2",
9610
+ "@stackwright/mcp": "0.6.0-alpha.5",
9608
9611
  "@types/js-yaml": "^4.0.9",
9609
9612
  "js-yaml": "^4.2.0",
9610
9613
  "proper-lockfile": "^4.1.2",
@@ -9626,7 +9629,7 @@ var package_default = {
9626
9629
  "test:coverage": "vitest run --coverage"
9627
9630
  },
9628
9631
  name: "@stackwright-pro/mcp",
9629
- version: "0.2.0-alpha.115",
9632
+ version: "0.2.0-alpha.117",
9630
9633
  description: "MCP tools for Stackwright Pro - Data Explorer, Security, ISR, and Dashboard generation",
9631
9634
  license: "SEE LICENSE IN LICENSE",
9632
9635
  main: "./dist/server.js",