@lesliechan721/aw 0.1.0-beta.17 → 0.1.0-beta.18
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/src/commands/rebuild-command.js +4 -5
- package/dist/src/commands/rebuild-command.js.map +1 -1
- package/dist/src/commands/status-v6.d.ts +2 -2
- package/dist/src/commands/status-v6.js +40 -11
- package/dist/src/commands/status-v6.js.map +1 -1
- package/dist/src/index.js +2 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/tui/console-app-v4.js +6 -3
- package/dist/src/tui/console-app-v4.js.map +1 -1
- package/dist/src/tui/model.js +25 -3
- package/dist/src/tui/model.js.map +1 -1
- package/dist/src/utils/codex-manager.d.ts +5 -7
- package/dist/src/utils/codex-manager.js +24 -97
- package/dist/src/utils/codex-manager.js.map +1 -1
- package/package.json +3 -3
|
@@ -148,10 +148,7 @@ function selectCodexActivationPlans(plans, targetScopes, preservedActivations) {
|
|
|
148
148
|
: []));
|
|
149
149
|
if (pluginIds.size === 0)
|
|
150
150
|
return [];
|
|
151
|
-
const includesActivationAction = (action) => includesScope(action.pluginId, action.scope)
|
|
152
|
-
|| !(action.scope === plan.requirement.scope
|
|
153
|
-
? plan.managedInventory.desired
|
|
154
|
-
: plan.managedInventory.related.desired).includes(action.codexPluginId);
|
|
151
|
+
const includesActivationAction = (action) => includesScope(action.pluginId, action.scope) || !action.desired;
|
|
155
152
|
const sharedNativeActions = plan.sharedNativeActions.filter((action) => pluginIds.has(action.pluginId));
|
|
156
153
|
const userActions = plan.activationActions.user.filter((action) => pluginIds.has(action.pluginId) && includesActivationAction(action));
|
|
157
154
|
const projectActions = plan.activationActions.project.filter((action) => pluginIds.has(action.pluginId) && includesActivationAction(action));
|
|
@@ -283,7 +280,9 @@ function deriveDesiredIntentState(options) {
|
|
|
283
280
|
if (options.command === 'install') {
|
|
284
281
|
for (const root of options.selectedRoots)
|
|
285
282
|
next = mergePluginIntentRootPlatforms(next, root);
|
|
286
|
-
|
|
283
|
+
if (options.selectedRoots.length > 0) {
|
|
284
|
+
next = updateIntentOverrides({ state: next, plan: options.plan });
|
|
285
|
+
}
|
|
287
286
|
}
|
|
288
287
|
else if (options.command === 'uninstall' || options.command === 'cleanup') {
|
|
289
288
|
for (const root of options.selectedRoots)
|