agentlife 2.6.9 → 2.6.10
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/dist/index.js +6 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1656,6 +1656,12 @@ async function provisionAgents(state, cfg, runtime, log) {
|
|
|
1656
1656
|
log(`[agentlife] backfilled subagents for ${agent.id}`);
|
|
1657
1657
|
}
|
|
1658
1658
|
}
|
|
1659
|
+
for (const agent of currentList) {
|
|
1660
|
+
const workspace = agent?.workspace || "";
|
|
1661
|
+
if (!workspace)
|
|
1662
|
+
continue;
|
|
1663
|
+
await fs3.unlink(path4.join(workspace, "BOOTSTRAP.md")).catch(() => {});
|
|
1664
|
+
}
|
|
1659
1665
|
const configPath = path4.join(os.homedir(), ".openclaw", "openclaw.json");
|
|
1660
1666
|
const rawCfgForVisibility = JSON.parse(readFileSync2(configPath, "utf-8"));
|
|
1661
1667
|
const backupPath = path4.join(os.homedir(), ".openclaw", "agentlife", "config-backup.json");
|