multi-agents-cli 1.1.29 → 1.1.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.
- package/core/workflow/reset.js +4 -4
- package/package.json +1 -1
package/core/workflow/reset.js
CHANGED
|
@@ -239,12 +239,12 @@ const main = async () => {
|
|
|
239
239
|
|
|
240
240
|
separator();
|
|
241
241
|
console.log(`${green(bold(' Project wiped successfully.'))}\n`);
|
|
242
|
-
console.log(`
|
|
243
|
-
console.log(` ${cyan('npm run init')}
|
|
244
|
-
`);
|
|
242
|
+
console.log(` Starting fresh initialization...\n`);
|
|
245
243
|
separator();
|
|
246
244
|
|
|
247
|
-
|
|
245
|
+
const { spawn } = require('child_process');
|
|
246
|
+
const initProc = spawn('node', [path.join(ROOT, '.workflow', 'run.js')], { stdio: 'inherit', cwd: ROOT });
|
|
247
|
+
initProc.on('exit', (code) => process.exit(code || 0));
|
|
248
248
|
};
|
|
249
249
|
|
|
250
250
|
main().catch((err) => {
|
package/package.json
CHANGED