multi-agents-cli 1.0.28 → 1.0.30

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/init.js +7 -0
  2. package/package.json +1 -1
package/init.js CHANGED
@@ -103,6 +103,13 @@ if (isGlobalCLI) {
103
103
  fs.mkdirSync(targetDir, { recursive: true });
104
104
  process.chdir(targetDir);
105
105
 
106
+ // Write temporary package.json so npm run init works if abandoned mid-init
107
+ fs.writeFileSync(
108
+ path.join(targetDir, 'package.json'),
109
+ JSON.stringify({ name: path.basename(targetDir), version: '1.0.0', scripts: { init: 'multi-agents init' } }, null, 2),
110
+ 'utf8'
111
+ );
112
+
106
113
  // Initialize git
107
114
  try {
108
115
  execSync('git init -b main', { cwd: targetDir, stdio: 'pipe' });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "multi-agents-cli",
3
- "version": "1.0.28",
3
+ "version": "1.0.30",
4
4
  "description": "Multi-agent workflow orchestration for Claude Code — isolated git worktrees, structured state tracking, autonomous task chaining",
5
5
  "keywords": [
6
6
  "claude-code",