multi-agents-cli 1.1.2 → 1.1.3

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.
@@ -233,12 +233,25 @@ const main = async () => {
233
233
  console.log(` ${green('✓')} Git history removed`);
234
234
  } catch {}
235
235
 
236
+ // ── Re-plant package.json ────────────────────────────────────────────
237
+
238
+ try {
239
+ const freshPkg = {
240
+ name: projectName.toLowerCase().replace(/\s+/g, '-'),
241
+ version: '1.0.0',
242
+ scripts: { init: 'multi-agents init' },
243
+ };
244
+ fs.writeFileSync(path.join(ROOT, 'package.json'), JSON.stringify(freshPkg, null, 2) + '\n', 'utf8');
245
+ console.log(' ' + green('\u2713') + ' package.json re-planted');
246
+ } catch { /* best-effort */ }
247
+
236
248
  // ── Post-wipe instructions ────────────────────────────────────────────────────
237
249
 
238
250
  separator();
239
251
  console.log(`${green(bold(' Project wiped successfully.'))}\n`);
240
- console.log(` To start fresh:\n`);
241
- console.log(` ${cyan(`cd .. && multi-agents init ${projectName}`)}\n`);
252
+ console.log(` Run to start fresh:\n`);
253
+ console.log(` ${cyan('npm run init')}
254
+ `);
242
255
  separator();
243
256
 
244
257
  process.exit(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "multi-agents-cli",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
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",