@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.mjs CHANGED
@@ -1290,7 +1290,7 @@ function answersToManifestFormat(answers, questions) {
1290
1290
  return qHeader.startsWith(headerLower.split("-")[0]);
1291
1291
  });
1292
1292
  if (matched) {
1293
- result[matched.id] = answer.selected_options[0] || "";
1293
+ result[matched.id] = answer.selected_options.length > 1 ? answer.selected_options : answer.selected_options[0] || "";
1294
1294
  }
1295
1295
  continue;
1296
1296
  }
@@ -1762,7 +1762,10 @@ function handleSavePhaseAnswers(input) {
1762
1762
  }
1763
1763
  } else {
1764
1764
  answers = Object.fromEntries(
1765
- input.rawAnswers.map((a) => [a.question_header, a.selected_options[0] ?? ""])
1765
+ input.rawAnswers.map((a) => [
1766
+ a.question_header,
1767
+ a.selected_options.length > 1 ? a.selected_options : a.selected_options[0] ?? ""
1768
+ ])
1766
1769
  );
1767
1770
  }
1768
1771
  const payload = {
@@ -9618,7 +9621,7 @@ var package_default = {
9618
9621
  "@stackwright-pro/pulse": "workspace:*",
9619
9622
  "@stackwright-pro/telemetry": "workspace:*",
9620
9623
  "@stackwright-pro/types": "workspace:*",
9621
- "@stackwright/mcp": "0.6.0-alpha.2",
9624
+ "@stackwright/mcp": "0.6.0-alpha.5",
9622
9625
  "@types/js-yaml": "^4.0.9",
9623
9626
  "js-yaml": "^4.2.0",
9624
9627
  "proper-lockfile": "^4.1.2",
@@ -9640,7 +9643,7 @@ var package_default = {
9640
9643
  "test:coverage": "vitest run --coverage"
9641
9644
  },
9642
9645
  name: "@stackwright-pro/mcp",
9643
- version: "0.2.0-alpha.115",
9646
+ version: "0.2.0-alpha.117",
9644
9647
  description: "MCP tools for Stackwright Pro - Data Explorer, Security, ISR, and Dashboard generation",
9645
9648
  license: "SEE LICENSE IN LICENSE",
9646
9649
  main: "./dist/server.js",