@axiomatic-labs/claudeflow 2.9.82 → 2.9.83

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 +15 -0
  2. package/package.json +1 -1
package/lib/install.js CHANGED
@@ -87,6 +87,21 @@ async function run() {
87
87
  copyDirSync(srcHooks, dstHooks);
88
88
  }
89
89
 
90
+ // Copy template agents (only template-managed, preserve user agents)
91
+ const TEMPLATE_AGENTS = new Set(['claudeflow-explorer', 'example-agent']);
92
+ const srcAgents = path.join(srcClaude, 'agents');
93
+ const dstAgents = path.join(cwd, '.claude', 'agents');
94
+ if (fs.existsSync(srcAgents)) {
95
+ fs.mkdirSync(dstAgents, { recursive: true });
96
+ const agentFiles = fs.readdirSync(srcAgents);
97
+ for (const file of agentFiles) {
98
+ const name = file.replace(/\.md$/, '');
99
+ if (TEMPLATE_AGENTS.has(name)) {
100
+ fs.copyFileSync(path.join(srcAgents, file), path.join(dstAgents, file));
101
+ }
102
+ }
103
+ }
104
+
90
105
  // Copy all docs
91
106
  const srcDocs = path.join(srcClaude, 'docs');
92
107
  const dstDocs = path.join(cwd, '.claude', 'docs');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axiomatic-labs/claudeflow",
3
- "version": "2.9.82",
3
+ "version": "2.9.83",
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"