@lesliechan721/aw 0.1.0-beta.92 → 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/authoring/scripts/validate-plugin.mjs +3 -0
- package/dist/authoring/scripts/validate-plugin.mjs.map +1 -1
- package/dist/src/commands/aw-capabilities.d.ts +1 -1
- package/dist/src/commands/aw-capabilities.js +2 -1
- package/dist/src/commands/aw-capabilities.js.map +1 -1
- 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/plugin-capabilities.js +7 -2
- package/dist/src/commands/plugin-capabilities.js.map +1 -1
- package/dist/src/commands/public-lifecycle-result.js +18 -1
- 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 +4 -0
- package/dist/src/commands/rebuild-platform-integration.js +106 -60
- 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/generators/local-plugin.js +20 -12
- package/dist/src/generators/local-plugin.js.map +1 -1
- package/dist/src/output/component-delivery.js +3 -0
- package/dist/src/output/component-delivery.js.map +1 -1
- package/dist/src/output/skill-invocation-notices.d.ts +1 -1
- package/dist/src/output/skill-invocation-notices.js +5 -5
- package/dist/src/output/skill-invocation-notices.js.map +1 -1
- package/dist/src/platforms/capabilities.d.ts +7 -15
- package/dist/src/platforms/capabilities.js +62 -265
- package/dist/src/platforms/capabilities.js.map +1 -1
- package/dist/src/platforms/contracts.d.ts +29 -43
- 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/inspection-pi.js +22 -14
- package/dist/src/platforms/inspection-pi.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/projection-files.d.ts +4 -3
- package/dist/src/platforms/projection-files.js +7 -5
- package/dist/src/platforms/projection-files.js.map +1 -1
- package/dist/src/platforms/projection.js +6 -4
- package/dist/src/platforms/projection.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/platforms/supplement-layout.js +8 -7
- package/dist/src/platforms/supplement-layout.js.map +1 -1
- package/dist/src/portable/materializer.js +1 -1
- package/dist/src/portable/materializer.js.map +1 -1
- 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 +14 -3
- package/dist/src/recovery/status.js.map +1 -1
- package/dist/src/review/platform-profile.d.ts +2 -3
- package/dist/src/review/platform-profile.js +4 -15
- package/dist/src/review/platform-profile.js.map +1 -1
- package/dist/src/review/skill-materialization.d.ts +1 -0
- package/dist/src/review/skill-materialization.js +15 -7
- package/dist/src/review/skill-materialization.js.map +1 -1
- package/dist/src/review/source-binding.d.ts +4 -2
- package/dist/src/review/source-binding.js +11 -2
- package/dist/src/review/source-binding.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 +52 -17
- 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 +23 -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/artifact-plan.d.ts +4 -3
- package/dist/src/utils/artifact-plan.js.map +1 -1
- package/dist/src/utils/artifact-renderer.d.ts +3 -3
- package/dist/src/utils/artifact-renderer.js +16 -18
- package/dist/src/utils/artifact-renderer.js.map +1 -1
- package/dist/src/utils/artifact-request.d.ts +3 -3
- 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/component-agent-binding.d.ts +17 -0
- package/dist/src/utils/component-agent-binding.js +119 -0
- package/dist/src/utils/component-agent-binding.js.map +1 -0
- package/dist/src/utils/component-command-preparation.d.ts +2 -0
- package/dist/src/utils/component-command-preparation.js +18 -16
- package/dist/src/utils/component-command-preparation.js.map +1 -1
- package/dist/src/utils/component-gap.js +0 -4
- package/dist/src/utils/component-gap.js.map +1 -1
- package/dist/src/utils/component-resources.d.ts +9 -7
- package/dist/src/utils/component-resources.js +22 -1
- package/dist/src/utils/component-resources.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/dist/src/utils/platform-empty-state.d.ts +2 -2
- package/dist/src/utils/platform-empty-state.js +42 -19
- package/dist/src/utils/platform-empty-state.js.map +1 -1
- package/dist/src/utils/skill-invocation-warning.d.ts +3 -4
- package/dist/src/utils/skill-invocation-warning.js +11 -36
- package/dist/src/utils/skill-invocation-warning.js.map +1 -1
- package/package.json +3 -3
|
@@ -25,7 +25,7 @@ import type { RecoveryReceipt } from '../recovery/receipt.js';
|
|
|
25
25
|
import type { RecoveryCommand } from '../recovery/coordinator.js';
|
|
26
26
|
import type { AgentId } from '../intent/deployment-preferences.js';
|
|
27
27
|
import { type ConfigInvalidStoreEvidence, type ConfigRouteLayer, type PluginInstallFilter, type PortableBlockerCode, type TuiPageContext, type TuiRoute, type TuiRouterSnapshot } from './router.js';
|
|
28
|
-
import { type CatalogSourceGenerationViewModel } from './catalog-generation.js';
|
|
28
|
+
import { type CatalogSourceGenerationViewModel, type RetirementSourceChecks } from './catalog-generation.js';
|
|
29
29
|
import type { CatalogSourceFreshnessViewModel } from './catalog-freshness.js';
|
|
30
30
|
import type { CatalogSessionReusableCandidate } from './catalog-sources/types.js';
|
|
31
31
|
import type { CatalogStoreStatusResult } from '../commands/catalog-store.js';
|
|
@@ -689,6 +689,7 @@ export interface PluginOperationProgressLine {
|
|
|
689
689
|
}
|
|
690
690
|
export interface TuiStatusLoadResult {
|
|
691
691
|
scopedRecovery?: Partial<Record<Scope, ScopedInventoryLoadResult>>;
|
|
692
|
+
retirementSourceChecks?: RetirementSourceChecks;
|
|
692
693
|
projectRoot?: string;
|
|
693
694
|
cliChannel?: 'latest' | 'beta';
|
|
694
695
|
payload: StatusV8Payload;
|
|
@@ -20,7 +20,7 @@ import { projectComponentDelivery } from '../output/component-delivery.js';
|
|
|
20
20
|
import { OperationHistoryStore, } from './operation-history.js';
|
|
21
21
|
import { targetHasArtifactCollision } from '../utils/target-eligibility.js';
|
|
22
22
|
import { hasStatusInstallationEvidence } from './scoped-inventory.js';
|
|
23
|
-
import { buildScopedInventory } from './scoped-inventory.js';
|
|
23
|
+
import { buildScopedInventory, inventoryPluginIds } from './scoped-inventory.js';
|
|
24
24
|
import { guidedSkipWarning } from './guided-setup.js';
|
|
25
25
|
import { projectScopedRecoveryHistory } from './scoped-flow.js';
|
|
26
26
|
import { TuiRouter, } from './router.js';
|
|
@@ -1186,6 +1186,8 @@ export class TuiController {
|
|
|
1186
1186
|
&& (target.providerScope === undefined || target.providerScope === target.scope)),
|
|
1187
1187
|
]),
|
|
1188
1188
|
retainedNativePluginIds,
|
|
1189
|
+
residualPluginIds: Object.values(this.#status.scopedRecovery ?? {}).flatMap(inventoryPluginIds),
|
|
1190
|
+
retirementSourceChecks: this.#status.retirementSourceChecks,
|
|
1189
1191
|
sourceHealth: this.#health,
|
|
1190
1192
|
sourceDetails: this.#status.sourceDetails,
|
|
1191
1193
|
catalogFreshness: this.#catalogFreshness,
|
|
@@ -1210,8 +1212,11 @@ export class TuiController {
|
|
|
1210
1212
|
}
|
|
1211
1213
|
this.#scopedInventories[scope] = buildScopedInventory({
|
|
1212
1214
|
recovery,
|
|
1215
|
+
retirementSourceChecks: this.#status.retirementSourceChecks,
|
|
1213
1216
|
status: this.#status.payload,
|
|
1214
|
-
pluginSummaries: this.#
|
|
1217
|
+
pluginSummaries: this.#status.pluginSummaries,
|
|
1218
|
+
sourceHealth: this.#health,
|
|
1219
|
+
catalogGenerations: this.#catalogGenerations,
|
|
1215
1220
|
targetRevisions: this.#status.targetRevisions,
|
|
1216
1221
|
dependencyOverviews: recovery.dependencyOverviews ?? this.#status.dependencyOverviews,
|
|
1217
1222
|
...(scope === 'project' && this.#status.projectRoot
|
|
@@ -1511,11 +1516,11 @@ export class TuiController {
|
|
|
1511
1516
|
}
|
|
1512
1517
|
this.#health.clear();
|
|
1513
1518
|
for (const source of status.payload.catalog.sources) {
|
|
1519
|
+
const unavailable = source.error !== undefined || source.errorCode !== undefined;
|
|
1514
1520
|
this.#health.set(source.id, {
|
|
1515
1521
|
sourceId: source.id,
|
|
1516
|
-
state:
|
|
1517
|
-
|
|
1518
|
-
...(source.error ? { message: '来源当前没有可用数据。' } : {}),
|
|
1522
|
+
state: unavailable ? 'unavailable' : 'ready',
|
|
1523
|
+
...(unavailable ? { message: '来源当前没有可用数据。' } : {}),
|
|
1519
1524
|
});
|
|
1520
1525
|
if (!this.#catalogFreshness.has(source.id)) {
|
|
1521
1526
|
this.#catalogFreshness.set(source.id, { sourceId: source.id, state: 'notChecked' });
|
|
@@ -1617,8 +1622,12 @@ export class TuiController {
|
|
|
1617
1622
|
const recovery = await this.#trackRead(this.dependencies.loadScopedStatus(scope, this.#abort.signal));
|
|
1618
1623
|
if (this.#disposed || generation !== this.#generation || token !== this.#scopedRefreshToken[scope])
|
|
1619
1624
|
return false;
|
|
1625
|
+
this.#status.retirementSourceChecks = { ...this.#status.retirementSourceChecks, ...recovery.retirementSourceChecks };
|
|
1620
1626
|
const inventory = buildScopedInventory({
|
|
1621
1627
|
recovery, status: { ...this.#status.payload, targets: [] }, pluginSummaries: this.#status.pluginSummaries,
|
|
1628
|
+
retirementSourceChecks: this.#status.retirementSourceChecks,
|
|
1629
|
+
sourceHealth: this.#health,
|
|
1630
|
+
catalogGenerations: this.#catalogGenerations,
|
|
1622
1631
|
dependencyOverviews: recovery.dependencyOverviews ?? this.#status.dependencyOverviews,
|
|
1623
1632
|
...(scope === 'project' && this.#status.projectRoot ? { projectRoot: this.#status.projectRoot } : {}),
|
|
1624
1633
|
});
|