@braingrid/cli 0.2.47 → 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 CHANGED
@@ -7,6 +7,28 @@ 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
+
20
+ ## [0.2.48] - 2026-02-23
21
+
22
+ ### Added
23
+
24
+ - **Frontend design skill** — new skill for creating production-grade frontend interfaces with design system references (color, typography, spacing, shadows, layout, accessibility, icons)
25
+ - **UX skill** — new skill for designing excellent UX across web, mobile, and CLI with pattern references (forms, navigation, search, feedback, wizards, states, lists/tables)
26
+
27
+ ### Changed
28
+
29
+ - **Setup command** — `braingrid setup claude-code` now installs frontend-design and ux skills alongside braingrid-cli skill
30
+ - **Docs sync** — sync script updated to distribute both new skills to BrainGridAI/braingrid repo (17 → 39 files)
31
+
10
32
  ## [0.2.47] - 2026-02-20
11
33
 
12
34
  ### Fixed
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.47" : "0.0.0-test";
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",
@@ -3673,10 +3674,22 @@ function isSetupResult(result) {
3673
3674
  async function handleSetupClaudeCode(opts) {
3674
3675
  const config2 = {
3675
3676
  name: "Claude Code",
3676
- sourceDirs: ["claude-code/commands", "claude-code/skills/braingrid-cli"],
3677
- targetDirs: [".claude/commands", ".claude/skills/braingrid-cli"],
3677
+ sourceDirs: [
3678
+ "claude-code/commands",
3679
+ "claude-code/skills/braingrid-cli",
3680
+ "claude-code/skills/frontend-design",
3681
+ "claude-code/skills/ux"
3682
+ ],
3683
+ targetDirs: [
3684
+ ".claude/commands",
3685
+ ".claude/skills/braingrid-cli",
3686
+ ".claude/skills/frontend-design",
3687
+ ".claude/skills/ux"
3688
+ ],
3678
3689
  dirLabels: [
3679
3690
  { label: "Commands", countMode: "files" },
3691
+ { label: "Skills", countMode: "single" },
3692
+ { label: "Skills", countMode: "single" },
3680
3693
  { label: "Skills", countMode: "single" }
3681
3694
  ],
3682
3695
  injection: {
@@ -3713,7 +3726,12 @@ async function handleSetupClaudeCode(opts) {
3713
3726
  error instanceof Error ? error.message : String(error)
3714
3727
  );
3715
3728
  }
3716
- const allScripts = HOOK_REGISTRY.flatMap((e) => e.commands.map((c) => c.script));
3729
+ const allScripts = [
3730
+ .../* @__PURE__ */ new Set([
3731
+ ...HOOK_REGISTRY.flatMap((e) => e.commands.map((c) => c.script)),
3732
+ ...HOOK_UTILITY_SCRIPTS
3733
+ ])
3734
+ ];
3717
3735
  const installedHooks = [];
3718
3736
  for (const script of allScripts) {
3719
3737
  try {