@braingrid/cli 0.2.56 → 0.2.58

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/CHANGELOG.md CHANGED
@@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.2.58] - 2026-03-06
11
+
12
+ ### Added
13
+
14
+ - **Frontmatter fields for build skill** — added frontmatter metadata to the `/build` skill for improved skill discovery and configuration
15
+
16
+ ### Fixed
17
+
18
+ - **Vercel protection bypass header missing from auth API calls** — added the `x-vercel-protection-bypass` header to authentication requests so the CLI can reach Vercel-protected dev/staging environments
19
+
20
+ ## [0.2.57] - 2026-03-03
21
+
22
+ ### Fixed
23
+
24
+ - **Missing build skill** — added build skill that was not included in previous release
25
+
10
26
  ## [0.2.56] - 2026-03-03
11
27
 
12
28
  ### Changed
package/README.md CHANGED
@@ -23,7 +23,6 @@ and scope tasks that your AI coding tools can build right the first time.</h3>
23
23
  **BrainGrid CLI** is the command-line interface for managing your requirements, and tasks on the BrainGrid platform.
24
24
 
25
25
  - ✨ **Specify Requirements** - Create build-ready requirement documents from messy ideas
26
- - 🎯 **Break Down into Tasks** - Create perfectly-prompted tasks from requirements
27
26
  - 🤖 **Build with AI Agents** - Get an implementation plan with prompts for each task to feed to Cursor, Claude Code, and other AI coding tools
28
27
  - 📊 **Track Progress** - Manage and update task statuses
29
28
  - 💾 **Multiple Output Formats** - View task prompts as formatted tables, JSON, Markdown, or XML for scripting
package/dist/cli.js CHANGED
@@ -226,7 +226,7 @@ async function axiosWithRetry(config2, options) {
226
226
 
227
227
  // src/build-config.ts
228
228
  var BUILD_ENV = true ? "production" : process.env.NODE_ENV === "test" ? "development" : "production";
229
- var CLI_VERSION = true ? "0.2.56" : "0.0.0-test";
229
+ var CLI_VERSION = true ? "0.2.58" : "0.0.0-test";
230
230
  var PRODUCTION_CONFIG = {
231
231
  apiUrl: "https://app.braingrid.ai",
232
232
  workosAuthUrl: "https://auth.braingrid.ai",
@@ -1020,13 +1020,17 @@ var BraingridAuth = class {
1020
1020
  }
1021
1021
  try {
1022
1022
  this.logger.debug("[AUTH] Fetching profile using BRAINGRID_API_TOKEN");
1023
+ const appConfig = getConfig();
1023
1024
  const response = await axiosWithRetry(
1024
1025
  {
1025
1026
  url: `${this.baseUrl}/api/v1/profile`,
1026
1027
  method: "POST",
1027
1028
  headers: {
1028
1029
  "Content-Type": "application/json",
1029
- Authorization: `Bearer ${BRAINGRID_API_TOKEN}`
1030
+ Authorization: `Bearer ${BRAINGRID_API_TOKEN}`,
1031
+ ...appConfig.vercelProtectionBypass && {
1032
+ "x-vercel-protection-bypass": appConfig.vercelProtectionBypass
1033
+ }
1030
1034
  },
1031
1035
  maxRedirects: 0,
1032
1036
  validateStatus: (status) => status < 500
@@ -1485,13 +1489,17 @@ var BraingridAuth = class {
1485
1489
  this.logger.debug(
1486
1490
  `[AUTH] Making API call to ${this.baseUrl}/api/v1/auth/validate for session validation`
1487
1491
  );
1492
+ const validationConfig = getConfig();
1488
1493
  const response = await axiosWithRetry(
1489
1494
  {
1490
1495
  url: `${this.baseUrl}/api/v1/auth/validate`,
1491
1496
  method: "POST",
1492
1497
  headers: {
1493
1498
  "Content-Type": "application/json",
1494
- Authorization: `Bearer ${session.sealed_session}`
1499
+ Authorization: `Bearer ${session.sealed_session}`,
1500
+ ...validationConfig.vercelProtectionBypass && {
1501
+ "x-vercel-protection-bypass": validationConfig.vercelProtectionBypass
1502
+ }
1495
1503
  },
1496
1504
  maxRedirects: 0,
1497
1505
  // Don't follow redirects