mover-os 4.6.2 → 4.6.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.
- package/install.js +13 -13
- package/package.json +1 -1
package/install.js
CHANGED
|
@@ -5256,8 +5256,8 @@ async function cmdUpdateComprehensive(opts, bundleDir, startTime) {
|
|
|
5256
5256
|
const targets = sel ? sel.targets : [agent.id];
|
|
5257
5257
|
for (const tid of targets) {
|
|
5258
5258
|
const reg = AGENT_REGISTRY[tid];
|
|
5259
|
-
if (reg && reg.rules) {
|
|
5260
|
-
const destPath = typeof reg.rules === "function" ? reg.rules() : reg.rules;
|
|
5259
|
+
if (reg && reg.rules && reg.rules.dest) {
|
|
5260
|
+
const destPath = typeof reg.rules.dest === "function" ? reg.rules.dest(vaultPath) : reg.rules.dest;
|
|
5261
5261
|
installRules(bundleDir, destPath, tid);
|
|
5262
5262
|
}
|
|
5263
5263
|
}
|
|
@@ -5276,10 +5276,10 @@ async function cmdUpdateComprehensive(opts, bundleDir, startTime) {
|
|
|
5276
5276
|
const targets = sel ? sel.targets : [agent.id];
|
|
5277
5277
|
for (const tid of targets) {
|
|
5278
5278
|
const reg = AGENT_REGISTRY[tid];
|
|
5279
|
-
if (reg && reg.skills) {
|
|
5280
|
-
const destDir = typeof reg.skills === "function" ? reg.skills() : reg.skills;
|
|
5279
|
+
if (reg && reg.skills && reg.skills.dest) {
|
|
5280
|
+
const destDir = typeof reg.skills.dest === "function" ? reg.skills.dest(vaultPath) : reg.skills.dest;
|
|
5281
5281
|
if (destDir && !writtenFiles.has(destDir)) {
|
|
5282
|
-
|
|
5282
|
+
installSkillPacks(bundleDir, destDir, null);
|
|
5283
5283
|
writtenFiles.add(destDir);
|
|
5284
5284
|
}
|
|
5285
5285
|
}
|
|
@@ -5664,7 +5664,7 @@ async function main() {
|
|
|
5664
5664
|
|
|
5665
5665
|
// ── Skills ──
|
|
5666
5666
|
const allSkills = findSkills(bundleDir);
|
|
5667
|
-
let
|
|
5667
|
+
let doInstallSkills = false;
|
|
5668
5668
|
let selectedCategories = null; // null = all, Set = filtered
|
|
5669
5669
|
|
|
5670
5670
|
if (allSkills.length > 0 && selectedAgents.some((a) => a.id !== "aider")) {
|
|
@@ -5692,8 +5692,8 @@ async function main() {
|
|
|
5692
5692
|
});
|
|
5693
5693
|
if (!selectedCatIds) return;
|
|
5694
5694
|
|
|
5695
|
-
|
|
5696
|
-
if (
|
|
5695
|
+
doInstallSkills = selectedCatIds.length > 0;
|
|
5696
|
+
if (doInstallSkills) {
|
|
5697
5697
|
selectedCategories = new Set(selectedCatIds);
|
|
5698
5698
|
// Count how many skills will be installed (selected categories + tools)
|
|
5699
5699
|
const skillCount = allSkills.filter((s) => s.category === "tools" || selectedCategories.has(s.category)).length;
|
|
@@ -5844,9 +5844,9 @@ async function main() {
|
|
|
5844
5844
|
barLn();
|
|
5845
5845
|
|
|
5846
5846
|
const agentNames = selectedAgents.map((a) => a.name).join(", ");
|
|
5847
|
-
const skillsLabel =
|
|
5847
|
+
const skillsLabel = doInstallSkills && selectedCategories
|
|
5848
5848
|
? [...selectedCategories].join(", ")
|
|
5849
|
-
:
|
|
5849
|
+
: doInstallSkills ? "all categories" : "none";
|
|
5850
5850
|
const slLabel = selectedIds.includes("claude-code") ? (installStatusLine ? "yes" : "no") : null;
|
|
5851
5851
|
|
|
5852
5852
|
const reviewItems = [
|
|
@@ -5889,8 +5889,8 @@ async function main() {
|
|
|
5889
5889
|
question("Select skill categories:");
|
|
5890
5890
|
const newCats = await interactiveSelect(categoryItems, { multi: true, preSelected: selectedCategories ? [...selectedCategories] : ["development", "obsidian"] });
|
|
5891
5891
|
if (newCats) {
|
|
5892
|
-
|
|
5893
|
-
selectedCategories =
|
|
5892
|
+
doInstallSkills = newCats.length > 0;
|
|
5893
|
+
selectedCategories = doInstallSkills ? new Set(newCats) : null;
|
|
5894
5894
|
}
|
|
5895
5895
|
} else if (pick === "statusline") {
|
|
5896
5896
|
installStatusLine = !installStatusLine;
|
|
@@ -5996,7 +5996,7 @@ async function main() {
|
|
|
5996
5996
|
|
|
5997
5997
|
// 4. Per-agent installation
|
|
5998
5998
|
const writtenFiles = new Set(); // Track shared files to avoid double-writes (e.g. GEMINI.md)
|
|
5999
|
-
const skillOpts = { install:
|
|
5999
|
+
const skillOpts = { install: doInstallSkills, categories: selectedCategories, statusLine: installStatusLine, workflows: selectedWorkflows, skipHooks, skipRules, skipTemplates };
|
|
6000
6000
|
for (const agent of selectedAgents) {
|
|
6001
6001
|
// Expand selections to targets (e.g. "gemini-cli" → ["gemini-cli", "antigravity"])
|
|
6002
6002
|
const sel = AGENT_SELECTIONS.find((s) => s.id === agent.id);
|