@braingrid/cli 0.2.48 → 0.2.49
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 +10 -0
- package/dist/cli.js +8 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.2.49] - 2026-02-23
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **Build command** — save requirement content to temp file for context persistence across build sessions
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- **Setup hooks** — distribute `log-helper.sh` utility script alongside hook scripts so hooks don't fail with "No such file or directory"
|
|
19
|
+
|
|
10
20
|
## [0.2.48] - 2026-02-23
|
|
11
21
|
|
|
12
22
|
### Added
|
package/dist/cli.js
CHANGED
|
@@ -228,7 +228,7 @@ async function axiosWithRetry(config2, options) {
|
|
|
228
228
|
|
|
229
229
|
// src/build-config.ts
|
|
230
230
|
var BUILD_ENV = true ? "production" : process.env.NODE_ENV === "test" ? "development" : "production";
|
|
231
|
-
var CLI_VERSION = true ? "0.2.
|
|
231
|
+
var CLI_VERSION = true ? "0.2.49" : "0.0.0-test";
|
|
232
232
|
var PRODUCTION_CONFIG = {
|
|
233
233
|
apiUrl: "https://app.braingrid.ai",
|
|
234
234
|
workosAuthUrl: "https://auth.braingrid.ai",
|
|
@@ -2897,6 +2897,7 @@ var HOOK_REGISTRY = [
|
|
|
2897
2897
|
commands: [{ script: "task-completed-validate.sh" }]
|
|
2898
2898
|
}
|
|
2899
2899
|
];
|
|
2900
|
+
var HOOK_UTILITY_SCRIPTS = ["log-helper.sh"];
|
|
2900
2901
|
function buildHookCommand(cmd) {
|
|
2901
2902
|
const result = {
|
|
2902
2903
|
type: "command",
|
|
@@ -3725,7 +3726,12 @@ async function handleSetupClaudeCode(opts) {
|
|
|
3725
3726
|
error instanceof Error ? error.message : String(error)
|
|
3726
3727
|
);
|
|
3727
3728
|
}
|
|
3728
|
-
const allScripts =
|
|
3729
|
+
const allScripts = [
|
|
3730
|
+
.../* @__PURE__ */ new Set([
|
|
3731
|
+
...HOOK_REGISTRY.flatMap((e) => e.commands.map((c) => c.script)),
|
|
3732
|
+
...HOOK_UTILITY_SCRIPTS
|
|
3733
|
+
])
|
|
3734
|
+
];
|
|
3729
3735
|
const installedHooks = [];
|
|
3730
3736
|
for (const script of allScripts) {
|
|
3731
3737
|
try {
|