@beastmode-develeap/beastmode 0.1.30 → 0.1.31

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 CHANGED
@@ -4890,6 +4890,24 @@ function getBoardRoutes(factoryDir) {
4890
4890
  };
4891
4891
  }
4892
4892
  },
4893
+ // ── Pipeline configuration (Story 1 / pipeline-board-view epic) ──
4894
+ // Direct passthrough — the scenarios specifically test
4895
+ // http://ui:8080/api/pipeline-config (no /api/board/ prefix) because
4896
+ // that matches the backend route path verbatim. Exposing at a different
4897
+ // path would break those scenarios. See
4898
+ // docs/zero-to-productive-readiness.md Gap 8 for the systemic version
4899
+ // of this bug: the UI proxy allowlist is an invisible contract the
4900
+ // planner ignores, so new backend routes need matching UI proxy
4901
+ // entries. This is one of those entries, added post-hoc to unstick
4902
+ // board item 9 (Story 1).
4903
+ {
4904
+ method: "GET",
4905
+ pattern: "/api/pipeline-config",
4906
+ handler: async (_body, _params, query) => {
4907
+ const boardUrl = getBoardUrl2(factoryDir);
4908
+ return proxyToBoard(boardUrl, "GET", "/api/pipeline-config", void 0, scopedQuery(query));
4909
+ }
4910
+ },
4893
4911
  // ── Board Items (proxy to existing board at :8080) ──
4894
4912
  // Every proxy forwards the `board` query param so the Python server
4895
4913
  // can route to the correct per-project SQLite database. `"all"` is