@axiomatic-labs/claudeflow 2.12.40 → 2.12.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.
Files changed (2) hide show
  1. package/lib/install.js +11 -0
  2. package/package.json +1 -1
package/lib/install.js CHANGED
@@ -207,6 +207,17 @@ async function run() {
207
207
  // Install analysis tools (ast-grep + Serena MCP)
208
208
  installAnalysisTools();
209
209
 
210
+ // Re-compose workflow rule if the template body was updated
211
+ try {
212
+ const composeScript = path.join(cwd, '.claudeflow', 'runtime', 'compose-workflow-rule.js');
213
+ const workflowBody = path.join(cwd, '.claudeflow', 'templates', 'claudeflow-workflow-body.md');
214
+ const workflowRule = path.join(cwd, '.claude', 'rules', 'claudeflow-workflow.md');
215
+ if (fs.existsSync(composeScript) && fs.existsSync(workflowBody) && fs.existsSync(workflowRule)) {
216
+ require('child_process').execSync(`node "${composeScript}" "${cwd}"`, { cwd, stdio: 'pipe' });
217
+ }
218
+ } catch {}
219
+
220
+
210
221
  // Count installed items
211
222
  const skillsDir = path.join(cwd, '.claude', 'skills');
212
223
  let skillCount = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axiomatic-labs/claudeflow",
3
- "version": "2.12.40",
3
+ "version": "2.12.41",
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"