@braingrid/cli 0.2.40 → 0.2.41
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 +12 -0
- package/dist/cli.js +16 -5
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.2.41] - 2026-02-17
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **Tasks invisible to teammates in parallel build mode** — reordered `/build` command to discover tasks and select mode before calling `TaskCreate`; in parallel mode, `TeamCreate` now runs first so tasks land in the team's task list instead of the default session list
|
|
15
|
+
- **Acceptance criteria format** — checklist files now use `## Acceptance Criteria` heading with `- []` list items; updated `verify-acceptance-criteria.sh` grep patterns to match new format
|
|
16
|
+
- **Renamed teammate agents** — parallel build teammates renamed from `builder-{n}` to `braingrid-builder-{n}` for clarity
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- **Update handler uses subprocess for IDE setup** — `braingrid update` now runs IDE setup via a spawned subprocess so the newly installed binary is used instead of the old code still loaded in memory
|
|
21
|
+
|
|
10
22
|
## [0.2.40] - 2026-02-17
|
|
11
23
|
|
|
12
24
|
### Fixed
|
package/dist/cli.js
CHANGED
|
@@ -222,7 +222,7 @@ async function axiosWithRetry(config2, options) {
|
|
|
222
222
|
|
|
223
223
|
// src/build-config.ts
|
|
224
224
|
var BUILD_ENV = true ? "production" : process.env.NODE_ENV === "test" ? "development" : "production";
|
|
225
|
-
var CLI_VERSION = true ? "0.2.
|
|
225
|
+
var CLI_VERSION = true ? "0.2.41" : "0.0.0-test";
|
|
226
226
|
var PRODUCTION_CONFIG = {
|
|
227
227
|
apiUrl: "https://app.braingrid.ai",
|
|
228
228
|
workosAuthUrl: "https://auth.braingrid.ai",
|
|
@@ -3694,6 +3694,7 @@ async function handleSetupCursor(opts) {
|
|
|
3694
3694
|
}
|
|
3695
3695
|
|
|
3696
3696
|
// src/handlers/update.handlers.ts
|
|
3697
|
+
import { execSync as execSync2 } from "child_process";
|
|
3697
3698
|
import { confirm } from "@inquirer/prompts";
|
|
3698
3699
|
import chalk9 from "chalk";
|
|
3699
3700
|
|
|
@@ -3802,6 +3803,18 @@ function executeUpdate(pm, packageName) {
|
|
|
3802
3803
|
}
|
|
3803
3804
|
|
|
3804
3805
|
// src/handlers/update.handlers.ts
|
|
3806
|
+
function runSetupSubprocess(subcommand) {
|
|
3807
|
+
try {
|
|
3808
|
+
const output = execSync2(`braingrid setup ${subcommand} --force`, {
|
|
3809
|
+
stdio: "pipe",
|
|
3810
|
+
timeout: 6e4
|
|
3811
|
+
});
|
|
3812
|
+
return output.toString();
|
|
3813
|
+
} catch (error) {
|
|
3814
|
+
const msg = error instanceof Error ? error.message : String(error);
|
|
3815
|
+
return chalk9.yellow(`\u26A0\uFE0F Setup ${subcommand} failed: ${msg}`);
|
|
3816
|
+
}
|
|
3817
|
+
}
|
|
3805
3818
|
async function promptForIdeUpdates() {
|
|
3806
3819
|
const cliTools = await checkInstalledCliTools();
|
|
3807
3820
|
const claudeInstalled = cliTools.find((t) => t.command === "claude")?.installed;
|
|
@@ -3813,9 +3826,8 @@ async function promptForIdeUpdates() {
|
|
|
3813
3826
|
default: true
|
|
3814
3827
|
});
|
|
3815
3828
|
if (shouldUpdate) {
|
|
3816
|
-
const result = await handleSetupClaudeCode({ force: true });
|
|
3817
3829
|
setupOutput += `
|
|
3818
|
-
${
|
|
3830
|
+
${runSetupSubprocess("claude-code")}`;
|
|
3819
3831
|
}
|
|
3820
3832
|
}
|
|
3821
3833
|
if (cursorInstalled) {
|
|
@@ -3824,9 +3836,8 @@ ${result.message}`;
|
|
|
3824
3836
|
default: true
|
|
3825
3837
|
});
|
|
3826
3838
|
if (shouldUpdate) {
|
|
3827
|
-
const result = await handleSetupCursor({ force: true });
|
|
3828
3839
|
setupOutput += `
|
|
3829
|
-
${
|
|
3840
|
+
${runSetupSubprocess("cursor")}`;
|
|
3830
3841
|
}
|
|
3831
3842
|
}
|
|
3832
3843
|
return setupOutput;
|