multi-agents-cli 1.1.3 → 1.1.4
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 +1 -6
- package/package.json +1 -1
package/core/workflow/reset.js
CHANGED
|
@@ -216,7 +216,7 @@ const main = async () => {
|
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
// Wipe project files (keep .git
|
|
219
|
+
// Wipe project files (keep .git — git repo is infrastructure, not framework state)
|
|
220
220
|
const keepList = ['.git'];
|
|
221
221
|
const entries = fs.readdirSync(ROOT);
|
|
222
222
|
for (const entry of entries) {
|
|
@@ -227,11 +227,6 @@ const main = async () => {
|
|
|
227
227
|
}
|
|
228
228
|
console.log(` ${green('✓')} Project files removed`);
|
|
229
229
|
|
|
230
|
-
// Remove .git
|
|
231
|
-
try {
|
|
232
|
-
fs.rmSync(path.join(ROOT, '.git'), { recursive: true, force: true });
|
|
233
|
-
console.log(` ${green('✓')} Git history removed`);
|
|
234
|
-
} catch {}
|
|
235
230
|
|
|
236
231
|
// ── Re-plant package.json ────────────────────────────────────────────
|
|
237
232
|
|
package/package.json
CHANGED