@axiomatic-labs/claudeflow 2.43.2 → 2.43.4

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.
Files changed (2) hide show
  1. package/lib/install.js +8 -0
  2. package/package.json +1 -1
package/lib/install.js CHANGED
@@ -57,6 +57,14 @@ function mergeSettings(cwd, payloadSettings) {
57
57
  const arr = hooks[evt] || (hooks[evt] = []);
58
58
  for (const entry of ph[evt]) arr.push(entry);
59
59
  }
60
+ // Merge the shipped env (e.g. CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1, which gates the SendMessage tool the
61
+ // review→fix resume loop depends on). ADD-IF-ABSENT: never clobber a key the user already set (so a user who
62
+ // explicitly disabled a flag keeps their choice); we only fill in keys they haven't.
63
+ const pe = (payloadSettings && payloadSettings.env) || {};
64
+ if (Object.keys(pe).length) {
65
+ const env = data.env || (data.env = {});
66
+ for (const k of Object.keys(pe)) { if (!(k in env)) env[k] = pe[k]; }
67
+ }
60
68
  if (payloadSettings && payloadSettings['$schema'] && !data['$schema']) data['$schema'] = payloadSettings['$schema'];
61
69
  fs.mkdirSync(path.dirname(sp), { recursive: true });
62
70
  fs.writeFileSync(sp, JSON.stringify(data, null, 2) + '\n');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axiomatic-labs/claudeflow",
3
- "version": "2.43.2",
3
+ "version": "2.43.4",
4
4
  "description": "Claudeflow — AI-powered development toolkit for Claude Code. Skills, agents, hooks, and quality gates that ship production apps.",
5
5
  "bin": {
6
6
  "claudeflow": "./bin/cli.js"