@lesliechan721/aw 0.1.0-beta.93 → 0.1.0-beta.94
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/deployment-confirmation.js +13 -0
- package/dist/src/commands/deployment-confirmation.js.map +1 -1
- package/dist/src/commands/offline-cleanup-evidence.d.ts +1 -1
- package/dist/src/commands/offline-cleanup-evidence.js +30 -31
- package/dist/src/commands/offline-cleanup-evidence.js.map +1 -1
- package/dist/src/commands/operation-plan.d.ts +5 -0
- package/dist/src/commands/operation-plan.js +2 -0
- package/dist/src/commands/operation-plan.js.map +1 -1
- package/dist/src/commands/public-lifecycle-result.js +16 -0
- package/dist/src/commands/public-lifecycle-result.js.map +1 -1
- package/dist/src/commands/public-lifecycle.js +3 -1
- package/dist/src/commands/public-lifecycle.js.map +1 -1
- package/dist/src/commands/rebuild-command.d.ts +9 -16
- package/dist/src/commands/rebuild-command.js +149 -92
- package/dist/src/commands/rebuild-command.js.map +1 -1
- package/dist/src/commands/rebuild-integration.d.ts +1 -0
- package/dist/src/commands/rebuild-integration.js.map +1 -1
- package/dist/src/commands/rebuild-platform-integration.d.ts +1 -0
- package/dist/src/commands/rebuild-platform-integration.js +26 -15
- package/dist/src/commands/rebuild-platform-integration.js.map +1 -1
- package/dist/src/commands/status-v6.js +7 -4
- package/dist/src/commands/status-v6.js.map +1 -1
- package/dist/src/platforms/contracts.d.ts +23 -1
- package/dist/src/platforms/discovery.d.ts +2 -0
- package/dist/src/platforms/discovery.js.map +1 -1
- package/dist/src/platforms/inspection-native.d.ts +4 -2
- package/dist/src/platforms/inspection-native.js +228 -24
- package/dist/src/platforms/inspection-native.js.map +1 -1
- package/dist/src/platforms/layout.js +15 -0
- package/dist/src/platforms/layout.js.map +1 -1
- package/dist/src/platforms/lifecycle-native-services.js +68 -2
- package/dist/src/platforms/lifecycle-native-services.js.map +1 -1
- package/dist/src/platforms/lifecycle-native.js +12 -1
- package/dist/src/platforms/lifecycle-native.js.map +1 -1
- package/dist/src/platforms/lifecycle.d.ts +3 -1
- package/dist/src/platforms/lifecycle.js +133 -12
- package/dist/src/platforms/lifecycle.js.map +1 -1
- package/dist/src/platforms/retirement-native.d.ts +6 -0
- package/dist/src/platforms/retirement-native.js +95 -0
- package/dist/src/platforms/retirement-native.js.map +1 -0
- package/dist/src/recovery/receipt.d.ts +2 -0
- package/dist/src/recovery/receipt.js.map +1 -1
- package/dist/src/recovery/retirement.js +58 -22
- package/dist/src/recovery/retirement.js.map +1 -1
- package/dist/src/recovery/status.js +12 -2
- package/dist/src/recovery/status.js.map +1 -1
- package/dist/src/tui/catalog-generation.d.ts +4 -1
- package/dist/src/tui/catalog-generation.js +34 -0
- package/dist/src/tui/catalog-generation.js.map +1 -1
- package/dist/src/tui/console-app-v4.js +50 -13
- package/dist/src/tui/console-app-v4.js.map +1 -1
- package/dist/src/tui/controller-runtime.js +16 -8
- package/dist/src/tui/controller-runtime.js.map +1 -1
- package/dist/src/tui/controller.d.ts +2 -1
- package/dist/src/tui/controller.js +14 -5
- package/dist/src/tui/controller.js.map +1 -1
- package/dist/src/tui/deployment-view.d.ts +1 -0
- package/dist/src/tui/deployment-view.js +21 -3
- package/dist/src/tui/deployment-view.js.map +1 -1
- package/dist/src/tui/entity-cards.js +7 -1
- package/dist/src/tui/entity-cards.js.map +1 -1
- package/dist/src/tui/model.d.ts +6 -1
- package/dist/src/tui/model.js +18 -5
- package/dist/src/tui/model.js.map +1 -1
- package/dist/src/tui/scoped-inventory.d.ts +9 -1
- package/dist/src/tui/scoped-inventory.js +16 -1
- package/dist/src/tui/scoped-inventory.js.map +1 -1
- package/dist/src/utils/catalog-source-references.d.ts +37 -1
- package/dist/src/utils/catalog-source-references.js +361 -94
- package/dist/src/utils/catalog-source-references.js.map +1 -1
- package/dist/src/utils/codex-config.d.ts +3 -0
- package/dist/src/utils/codex-config.js +7 -0
- package/dist/src/utils/codex-config.js.map +1 -1
- package/dist/src/utils/local-marketplace.d.ts +2 -0
- package/dist/src/utils/local-marketplace.js +12 -0
- package/dist/src/utils/local-marketplace.js.map +1 -1
- package/package.json +3 -3
|
@@ -45,7 +45,8 @@ import { calculateCatalogSourceImpactDigest, inspectCatalogSourceImpact, } from
|
|
|
45
45
|
import { readCatalogGenerationState } from '../utils/catalog-generation-state.js';
|
|
46
46
|
import { CatalogGenerationError } from '../utils/catalog-generation-error.js';
|
|
47
47
|
import { CatalogProviderCompatibilityError } from '../utils/catalog-public-error.js';
|
|
48
|
-
import { loadCatalogGenerationViewModels } from './catalog-generation.js';
|
|
48
|
+
import { checkRetirementSources, loadCatalogGenerationViewModels } from './catalog-generation.js';
|
|
49
|
+
import { inventoryPluginIds } from './scoped-inventory.js';
|
|
49
50
|
import { recoveryReason } from './glossary.js';
|
|
50
51
|
import { executePortableRetry, installPortableSkills, preparePortableInstall, preparePortableRetry, PortableCommandError, recheckPortableInstall, } from '../portable/commands.js';
|
|
51
52
|
import { projectPluginContentOverview, } from './plugin-content.js';
|
|
@@ -798,10 +799,6 @@ export function createTuiControllerDependencies(context, progressFeed, options =
|
|
|
798
799
|
...(catalogOperationContext ? { catalogOperationContext } : {}),
|
|
799
800
|
});
|
|
800
801
|
signal.throwIfAborted();
|
|
801
|
-
const storeEntries = new Map(catalogReadScope ? undefined : sessionStoreEntries);
|
|
802
|
-
const catalogGenerations = await loadCatalogGenerations(storeEntries, signal, catalogReadScope
|
|
803
|
-
? { scope: catalogReadScope, context: catalogOperationContext } : undefined);
|
|
804
|
-
signal.throwIfAborted();
|
|
805
802
|
const configStoreInventory = (await Promise.all(['user'].map(async (scope) => {
|
|
806
803
|
try {
|
|
807
804
|
return (await listNamespacedPluginConfigStoreIdentities({
|
|
@@ -823,6 +820,15 @@ export function createTuiControllerDependencies(context, progressFeed, options =
|
|
|
823
820
|
return [];
|
|
824
821
|
}
|
|
825
822
|
}))).flat();
|
|
823
|
+
const scopedRecovery = { user: { ...scopedCurrentStatus(current, snapshot, 'user'), dependencyOverviews },
|
|
824
|
+
...(snapshot.project ? { project: { ...scopedCurrentStatus(current, snapshot, 'project'), dependencyOverviews } } : {}) };
|
|
825
|
+
const retirementSourceChecks = await checkRetirementSources(catalogOperationContext, [
|
|
826
|
+
...Object.values(scopedRecovery).flatMap(inventoryPluginIds),
|
|
827
|
+
...configStoreInventory.map((store) => store.pluginId),
|
|
828
|
+
], signal, catalogReadScope);
|
|
829
|
+
const storeEntries = new Map(catalogReadScope ? undefined : sessionStoreEntries);
|
|
830
|
+
const catalogGenerations = await loadCatalogGenerations(storeEntries, signal, catalogReadScope
|
|
831
|
+
? { scope: catalogReadScope, context: catalogOperationContext } : undefined);
|
|
826
832
|
const configured = await listCatalogSources({ env: context.env });
|
|
827
833
|
signal.throwIfAborted();
|
|
828
834
|
if (result.payload.catalog.configDigest !== configured.configDigest
|
|
@@ -835,8 +841,8 @@ export function createTuiControllerDependencies(context, progressFeed, options =
|
|
|
835
841
|
const status = {
|
|
836
842
|
cliChannel: packageInfo.version.includes('-') ? 'beta' : 'latest',
|
|
837
843
|
...(current.coverage.projectRoot ? { projectRoot: current.coverage.projectRoot } : {}),
|
|
838
|
-
scopedRecovery
|
|
839
|
-
|
|
844
|
+
scopedRecovery,
|
|
845
|
+
retirementSourceChecks,
|
|
840
846
|
configuredSources: structuredClone(configured.sources),
|
|
841
847
|
payload: result.payload,
|
|
842
848
|
pluginSummaries: result.pluginSummaries,
|
|
@@ -1906,10 +1912,12 @@ export function createTuiControllerDependencies(context, progressFeed, options =
|
|
|
1906
1912
|
const source = catalogView ?? await loadCatalogView({ context, cliVersion: packageInfo.version, signal, catalogOperationContext });
|
|
1907
1913
|
const dependencyOverviews = await loadDependencyOverviews({ context, cliVersion: packageInfo.version, status,
|
|
1908
1914
|
pluginSummaries: source.pluginSummaries, signal, catalogOperationContext });
|
|
1915
|
+
const recovery = scopedCurrentStatus(status, snapshot, scope);
|
|
1916
|
+
const retirementSourceChecks = await checkRetirementSources(catalogOperationContext, inventoryPluginIds(recovery), signal);
|
|
1909
1917
|
signal.throwIfAborted();
|
|
1910
1918
|
if (read === latestStatusRead)
|
|
1911
1919
|
sessionRecoveryStatus = status;
|
|
1912
|
-
return { ...
|
|
1920
|
+
return { ...recovery, dependencyOverviews, retirementSourceChecks };
|
|
1913
1921
|
},
|
|
1914
1922
|
async prepareScopedTask(request, signal) {
|
|
1915
1923
|
signal.throwIfAborted();
|