mover-os 4.5.5 → 4.5.6
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/install.js +17 -0
- package/package.json +1 -1
package/install.js
CHANGED
|
@@ -4921,6 +4921,23 @@ async function cmdUpdateComprehensive(opts, bundleDir, startTime) {
|
|
|
4921
4921
|
appliedCount++;
|
|
4922
4922
|
}
|
|
4923
4923
|
|
|
4924
|
+
// /update workflow (must always be current — it drives the rest of the update)
|
|
4925
|
+
const updateSrc = path.join(bundleDir, "src", "workflows", "update.md");
|
|
4926
|
+
if (fs.existsSync(updateSrc)) {
|
|
4927
|
+
const cmdDirs = [
|
|
4928
|
+
path.join(home, ".claude", "commands"),
|
|
4929
|
+
path.join(home, ".cursor", "commands"),
|
|
4930
|
+
path.join(home, ".gemini", "antigravity", "global_workflows"),
|
|
4931
|
+
];
|
|
4932
|
+
for (const dir of cmdDirs) {
|
|
4933
|
+
const dest = path.join(dir, "update.md");
|
|
4934
|
+
if (fs.existsSync(dir)) {
|
|
4935
|
+
fs.copyFileSync(updateSrc, dest);
|
|
4936
|
+
}
|
|
4937
|
+
}
|
|
4938
|
+
statusLine("ok", "/update", "workflow synced");
|
|
4939
|
+
}
|
|
4940
|
+
|
|
4924
4941
|
// Vault structure + templates (safe scaffolding)
|
|
4925
4942
|
createVaultStructure(vaultPath);
|
|
4926
4943
|
installTemplateFiles(bundleDir, vaultPath);
|