@lesliechan721/aw 0.1.0-beta.7 → 0.1.0-beta.9
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/add-skill.mjs +4 -4
- package/dist/authoring/scripts/add-skill.mjs.map +1 -1
- package/dist/authoring/scripts/init-plugin.mjs +8 -37
- package/dist/authoring/scripts/init-plugin.mjs.map +1 -1
- package/dist/authoring/scripts/lib/plugin-version-check.mjs +1 -1
- package/dist/authoring/scripts/lib/skill-scaffold.d.mts +77 -90
- package/dist/authoring/scripts/lib/skill-scaffold.mjs +99 -120
- package/dist/authoring/scripts/lib/skill-scaffold.mjs.map +1 -1
- package/dist/authoring/scripts/plugin-status.mjs +8 -11
- package/dist/authoring/scripts/plugin-status.mjs.map +1 -1
- package/dist/authoring/scripts/remove-plugin.mjs +2 -1
- package/dist/authoring/scripts/remove-plugin.mjs.map +1 -1
- package/dist/authoring/scripts/validate-plugin.mjs +64 -758
- package/dist/authoring/scripts/validate-plugin.mjs.map +1 -1
- package/dist/scripts/aw-skill-eval-materializer.d.ts +24 -0
- package/dist/scripts/{plugin-eval-materializer.js → aw-skill-eval-materializer.js} +34 -145
- package/dist/scripts/aw-skill-eval-materializer.js.map +1 -0
- package/dist/scripts/bundle-plugins.d.ts +1 -0
- package/dist/scripts/bundle-plugins.js +2 -1
- package/dist/scripts/bundle-plugins.js.map +1 -1
- package/dist/scripts/plugin-staging.d.ts +6 -8
- package/dist/scripts/plugin-staging.js +15 -28
- package/dist/scripts/plugin-staging.js.map +1 -1
- package/dist/scripts/test-plugin-scripts.js +2 -33
- package/dist/scripts/test-plugin-scripts.js.map +1 -1
- package/dist/src/adapters/helpers.js +2 -2
- package/dist/src/adapters/helpers.js.map +1 -1
- package/dist/src/authoring/workspace-commands.d.ts +17 -1
- package/dist/src/authoring/workspace-commands.js +21 -4
- package/dist/src/authoring/workspace-commands.js.map +1 -1
- package/dist/src/commands/aw-capabilities.d.ts +78 -0
- package/dist/src/commands/aw-capabilities.js +254 -0
- package/dist/src/commands/aw-capabilities.js.map +1 -0
- package/dist/src/commands/catalog-dev-source.d.ts +118 -0
- package/dist/src/commands/catalog-dev-source.js +417 -0
- package/dist/src/commands/catalog-dev-source.js.map +1 -0
- package/dist/src/commands/catalog-generation.d.ts +13 -0
- package/dist/src/commands/catalog-generation.js +13 -0
- package/dist/src/commands/catalog-generation.js.map +1 -0
- package/dist/src/commands/catalog-publication-inspection.d.ts +29 -28
- package/dist/src/commands/catalog-publication-inspection.js +138 -50
- package/dist/src/commands/catalog-publication-inspection.js.map +1 -1
- package/dist/src/commands/catalog-publication-journal.d.ts +49 -0
- package/dist/src/commands/catalog-publication-journal.js +147 -0
- package/dist/src/commands/catalog-publication-journal.js.map +1 -0
- package/dist/src/commands/catalog-publication-target.d.ts +18 -0
- package/dist/src/commands/catalog-publication-target.js +95 -0
- package/dist/src/commands/catalog-publication-target.js.map +1 -0
- package/dist/src/commands/catalog-publish.d.ts +58 -15
- package/dist/src/commands/catalog-publish.js +590 -210
- package/dist/src/commands/catalog-publish.js.map +1 -1
- package/dist/src/commands/catalog-source.d.ts +12 -15
- package/dist/src/commands/catalog-source.js +61 -86
- package/dist/src/commands/catalog-source.js.map +1 -1
- package/dist/src/commands/catalog-status.d.ts +18 -22
- package/dist/src/commands/catalog-status.js +81 -115
- package/dist/src/commands/catalog-status.js.map +1 -1
- package/dist/src/commands/catalog-workspace-resolution.d.ts +13 -0
- package/dist/src/commands/catalog-workspace-resolution.js +42 -0
- package/dist/src/commands/catalog-workspace-resolution.js.map +1 -0
- package/dist/src/commands/dependency-operation-plan.d.ts +88 -9
- package/dist/src/commands/dependency-operation-plan.js +331 -6
- package/dist/src/commands/dependency-operation-plan.js.map +1 -1
- package/dist/src/commands/init.d.ts +5 -11
- package/dist/src/commands/init.js +30 -51
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/offline-cleanup-evidence.d.ts +43 -0
- package/dist/src/commands/offline-cleanup-evidence.js +116 -0
- package/dist/src/commands/offline-cleanup-evidence.js.map +1 -0
- package/dist/src/commands/options.d.ts +7 -1
- package/dist/src/commands/options.js +65 -6
- package/dist/src/commands/options.js.map +1 -1
- package/dist/src/commands/plugin-capabilities.js +5 -1
- package/dist/src/commands/plugin-capabilities.js.map +1 -1
- package/dist/src/commands/rebuild-command.d.ts +27 -13
- package/dist/src/commands/rebuild-command.js +1472 -471
- package/dist/src/commands/rebuild-command.js.map +1 -1
- package/dist/src/commands/rebuild-integration.d.ts +63 -8
- package/dist/src/commands/rebuild-integration.js +761 -439
- package/dist/src/commands/rebuild-integration.js.map +1 -1
- package/dist/src/commands/rebuild-operations.d.ts +2 -8
- package/dist/src/commands/rebuild-operations.js +48 -132
- package/dist/src/commands/rebuild-operations.js.map +1 -1
- package/dist/src/commands/runtime.js +21 -34
- package/dist/src/commands/runtime.js.map +1 -1
- package/dist/src/commands/skill-eval.d.ts +33 -0
- package/dist/src/commands/skill-eval.js +363 -0
- package/dist/src/commands/skill-eval.js.map +1 -0
- package/dist/src/commands/status-v6.d.ts +202 -0
- package/dist/src/commands/status-v6.js +1938 -0
- package/dist/src/commands/status-v6.js.map +1 -0
- package/dist/src/commands/sync-command.d.ts +21 -0
- package/dist/src/commands/sync-command.js +206 -0
- package/dist/src/commands/sync-command.js.map +1 -0
- package/dist/src/commands/wizard.d.ts +2 -2
- package/dist/src/commands/wizard.js +2 -2
- package/dist/src/commands/wizard.js.map +1 -1
- package/dist/src/commands/write-commands.js +33 -19
- package/dist/src/commands/write-commands.js.map +1 -1
- package/dist/src/constants.d.ts +7 -1
- package/dist/src/constants.js +7 -1
- package/dist/src/constants.js.map +1 -1
- package/dist/src/eval/manifest-v1.d.ts +66 -0
- package/dist/src/eval/manifest-v1.js +326 -0
- package/dist/src/eval/manifest-v1.js.map +1 -0
- package/dist/src/generators/local-plugin.d.ts +3 -0
- package/dist/src/generators/local-plugin.js +167 -45
- package/dist/src/generators/local-plugin.js.map +1 -1
- package/dist/src/index.d.ts +6 -1
- package/dist/src/index.js +863 -126
- package/dist/src/index.js.map +1 -1
- package/dist/src/output/command-receipt.d.ts +58 -8
- package/dist/src/output/command-receipt.js +141 -11
- package/dist/src/output/command-receipt.js.map +1 -1
- package/dist/src/output/model.d.ts +3 -44
- package/dist/src/output/model.js +1 -144
- package/dist/src/output/model.js.map +1 -1
- package/dist/src/output/rebuild-progress.js +0 -3
- package/dist/src/output/rebuild-progress.js.map +1 -1
- package/dist/src/portable/commands.d.ts +6 -2
- package/dist/src/portable/commands.js +57 -6
- package/dist/src/portable/commands.js.map +1 -1
- package/dist/src/portable/materializer.d.ts +4 -4
- package/dist/src/portable/materializer.js +61 -12
- package/dist/src/portable/materializer.js.map +1 -1
- package/dist/src/tui/catalog-generation.d.ts +35 -0
- package/dist/src/tui/catalog-generation.js +85 -0
- package/dist/src/tui/catalog-generation.js.map +1 -0
- package/dist/src/tui/components.js +1 -2
- package/dist/src/tui/components.js.map +1 -1
- package/dist/src/tui/console-app-v4.d.ts +1 -1
- package/dist/src/tui/console-app-v4.js +647 -196
- package/dist/src/tui/console-app-v4.js.map +1 -1
- package/dist/src/tui/controller-runtime.d.ts +6 -2
- package/dist/src/tui/controller-runtime.js +646 -137
- package/dist/src/tui/controller-runtime.js.map +1 -1
- package/dist/src/tui/controller.d.ts +77 -15
- package/dist/src/tui/controller.js +647 -306
- package/dist/src/tui/controller.js.map +1 -1
- package/dist/src/tui/diagnostics.d.ts +1 -2
- package/dist/src/tui/diagnostics.js.map +1 -1
- package/dist/src/tui/index.d.ts +1 -0
- package/dist/src/tui/index.js +1 -0
- package/dist/src/tui/index.js.map +1 -1
- package/dist/src/tui/input-display.d.ts +8 -0
- package/dist/src/tui/input-display.js +36 -0
- package/dist/src/tui/input-display.js.map +1 -0
- package/dist/src/tui/model.d.ts +102 -14
- package/dist/src/tui/model.js +630 -139
- package/dist/src/tui/model.js.map +1 -1
- package/dist/src/tui/router.d.ts +35 -0
- package/dist/src/tui/router.js.map +1 -1
- package/dist/src/tui/source-ref-presets.d.ts +3 -0
- package/dist/src/tui/source-ref-presets.js +11 -0
- package/dist/src/tui/source-ref-presets.js.map +1 -0
- package/dist/src/tui/views.js +31 -3
- package/dist/src/tui/views.js.map +1 -1
- package/dist/src/types.d.ts +104 -13
- package/dist/src/types.js.map +1 -1
- package/dist/src/utils/agent-version.d.ts +7 -1
- package/dist/src/utils/agent-version.js +41 -8
- package/dist/src/utils/agent-version.js.map +1 -1
- package/dist/src/utils/aw-home-mutation-lock.d.ts +1 -0
- package/dist/src/utils/aw-home-mutation-lock.js +32 -4
- package/dist/src/utils/aw-home-mutation-lock.js.map +1 -1
- package/dist/src/utils/bundle-integrity.d.ts +0 -1
- package/dist/src/utils/bundle-integrity.js +0 -25
- package/dist/src/utils/bundle-integrity.js.map +1 -1
- package/dist/src/utils/bundle-layout.js +8 -6
- package/dist/src/utils/bundle-layout.js.map +1 -1
- package/dist/src/utils/catalog-digests.d.ts +7 -0
- package/dist/src/utils/catalog-digests.js +40 -2
- package/dist/src/utils/catalog-digests.js.map +1 -1
- package/dist/src/utils/catalog-generation-control-snapshot.d.ts +11 -0
- package/dist/src/utils/catalog-generation-control-snapshot.js +45 -0
- package/dist/src/utils/catalog-generation-control-snapshot.js.map +1 -0
- package/dist/src/utils/catalog-generation-error.d.ts +13 -0
- package/dist/src/utils/catalog-generation-error.js +28 -0
- package/dist/src/utils/catalog-generation-error.js.map +1 -0
- package/dist/src/utils/catalog-generation-resolver.d.ts +20 -0
- package/dist/src/utils/catalog-generation-resolver.js +143 -0
- package/dist/src/utils/catalog-generation-resolver.js.map +1 -0
- package/dist/src/utils/catalog-generation-service.d.ts +43 -0
- package/dist/src/utils/catalog-generation-service.js +306 -0
- package/dist/src/utils/catalog-generation-service.js.map +1 -0
- package/dist/src/utils/catalog-generation-state.d.ts +17 -0
- package/dist/src/utils/catalog-generation-state.js +168 -0
- package/dist/src/utils/catalog-generation-state.js.map +1 -0
- package/dist/src/utils/catalog-generation-store.d.ts +34 -0
- package/dist/src/utils/catalog-generation-store.js +251 -0
- package/dist/src/utils/catalog-generation-store.js.map +1 -0
- package/dist/src/utils/catalog-manifest-v6.d.ts +5 -0
- package/dist/src/utils/{catalog-manifest-v4.js → catalog-manifest-v6.js} +35 -43
- package/dist/src/utils/catalog-manifest-v6.js.map +1 -0
- package/dist/src/utils/catalog-operation-context.d.ts +20 -0
- package/dist/src/utils/catalog-operation-context.js +141 -0
- package/dist/src/utils/catalog-operation-context.js.map +1 -0
- package/dist/src/utils/catalog-public-error.d.ts +7 -3
- package/dist/src/utils/catalog-public-error.js +21 -8
- package/dist/src/utils/catalog-public-error.js.map +1 -1
- package/dist/src/utils/catalog-runtime-projection.d.ts +3 -0
- package/dist/src/utils/catalog-runtime-projection.js +5 -40
- package/dist/src/utils/catalog-runtime-projection.js.map +1 -1
- package/dist/src/utils/catalog-snapshot.d.ts +5 -3
- package/dist/src/utils/catalog-snapshot.js +11 -3
- package/dist/src/utils/catalog-snapshot.js.map +1 -1
- package/dist/src/utils/catalog-source-identity.d.ts +1 -0
- package/dist/src/utils/catalog-source-identity.js +21 -2
- package/dist/src/utils/catalog-source-identity.js.map +1 -1
- package/dist/src/utils/catalog-source-references.d.ts +7 -0
- package/dist/src/utils/catalog-source-references.js +44 -55
- package/dist/src/utils/catalog-source-references.js.map +1 -1
- package/dist/src/utils/catalog-sources.d.ts +1 -0
- package/dist/src/utils/catalog-sources.js +55 -20
- package/dist/src/utils/catalog-sources.js.map +1 -1
- package/dist/src/utils/codex-config.d.ts +2 -0
- package/dist/src/utils/codex-config.js +26 -5
- package/dist/src/utils/codex-config.js.map +1 -1
- package/dist/src/utils/codex-manager.d.ts +81 -0
- package/dist/src/utils/codex-manager.js +810 -0
- package/dist/src/utils/codex-manager.js.map +1 -0
- package/dist/src/utils/codex-reconciler.d.ts +131 -0
- package/dist/src/utils/codex-reconciler.js +327 -0
- package/dist/src/utils/codex-reconciler.js.map +1 -0
- package/dist/src/utils/codex-shared-native.d.ts +56 -0
- package/dist/src/utils/codex-shared-native.js +87 -0
- package/dist/src/utils/codex-shared-native.js.map +1 -0
- package/dist/src/utils/codex-skill-staging.d.ts +2 -0
- package/dist/src/utils/codex-skill-staging.js.map +1 -1
- package/dist/src/utils/codex-surface-analysis.d.ts +44 -0
- package/dist/src/utils/codex-surface-analysis.js +247 -0
- package/dist/src/utils/codex-surface-analysis.js.map +1 -0
- package/dist/src/utils/dynamic-skill-tree.d.ts +4 -0
- package/dist/src/utils/dynamic-skill-tree.js +35 -5
- package/dist/src/utils/dynamic-skill-tree.js.map +1 -1
- package/dist/src/utils/git-catalog-provider.js +66 -140
- package/dist/src/utils/git-catalog-provider.js.map +1 -1
- package/dist/src/utils/lifecycle-active-store.d.ts +0 -28
- package/dist/src/utils/lifecycle-active-store.js +35 -247
- package/dist/src/utils/lifecycle-active-store.js.map +1 -1
- package/dist/src/utils/manifest.d.ts +1 -3
- package/dist/src/utils/manifest.js +1 -3
- package/dist/src/utils/manifest.js.map +1 -1
- package/dist/src/utils/multi-source-catalog.d.ts +3 -9
- package/dist/src/utils/multi-source-catalog.js +53 -110
- package/dist/src/utils/multi-source-catalog.js.map +1 -1
- package/dist/src/utils/native-cli.d.ts +49 -6
- package/dist/src/utils/native-cli.js +116 -33
- package/dist/src/utils/native-cli.js.map +1 -1
- package/dist/src/utils/orphan-marketplace-cleanup.js +1 -3
- package/dist/src/utils/orphan-marketplace-cleanup.js.map +1 -1
- package/dist/src/utils/ownership.d.ts +10 -11
- package/dist/src/utils/ownership.js +55 -112
- package/dist/src/utils/ownership.js.map +1 -1
- package/dist/src/utils/path-catalog-provider.d.ts +1 -1
- package/dist/src/utils/path-catalog-provider.js +52 -65
- package/dist/src/utils/path-catalog-provider.js.map +1 -1
- package/dist/src/utils/paths.d.ts +0 -1
- package/dist/src/utils/paths.js +0 -1
- package/dist/src/utils/paths.js.map +1 -1
- package/dist/src/utils/plugin-config-write.js +18 -40
- package/dist/src/utils/plugin-config-write.js.map +1 -1
- package/dist/src/utils/plugin-config.d.ts +1 -12
- package/dist/src/utils/plugin-config.js +107 -226
- package/dist/src/utils/plugin-config.js.map +1 -1
- package/dist/src/utils/plugin-intent-state.d.ts +39 -0
- package/dist/src/utils/plugin-intent-state.js +325 -0
- package/dist/src/utils/plugin-intent-state.js.map +1 -0
- package/dist/src/utils/plugin-scripts.d.ts +1 -1
- package/dist/src/utils/plugin-scripts.js +1 -1
- package/dist/src/utils/plugin-scripts.js.map +1 -1
- package/dist/src/utils/state-paths.js +7 -2
- package/dist/src/utils/state-paths.js.map +1 -1
- package/dist/src/utils/target-eligibility.d.ts +8 -2
- package/dist/src/utils/target-eligibility.js +9 -5
- package/dist/src/utils/target-eligibility.js.map +1 -1
- package/package.json +6 -4
- package/dist/authoring/scripts/check-plugin-versions.d.mts +0 -2
- package/dist/authoring/scripts/check-plugin-versions.mjs +0 -5
- package/dist/authoring/scripts/check-plugin-versions.mjs.map +0 -1
- package/dist/scripts/aw-skill-eval-engine.d.ts +0 -13
- package/dist/scripts/aw-skill-eval-engine.js +0 -31
- package/dist/scripts/aw-skill-eval-engine.js.map +0 -1
- package/dist/scripts/codex-eval-app-server.d.ts +0 -89
- package/dist/scripts/codex-eval-app-server.js +0 -1228
- package/dist/scripts/codex-eval-app-server.js.map +0 -1
- package/dist/scripts/codex-eval-isolation.d.ts +0 -61
- package/dist/scripts/codex-eval-isolation.js +0 -318
- package/dist/scripts/codex-eval-isolation.js.map +0 -1
- package/dist/scripts/codex-eval-process-management.d.ts +0 -8
- package/dist/scripts/codex-eval-process-management.js +0 -69
- package/dist/scripts/codex-eval-process-management.js.map +0 -1
- package/dist/scripts/codex-eval-process-tree.d.ts +0 -38
- package/dist/scripts/codex-eval-process-tree.js +0 -803
- package/dist/scripts/codex-eval-process-tree.js.map +0 -1
- package/dist/scripts/codex-eval-runtime-config.d.ts +0 -62
- package/dist/scripts/codex-eval-runtime-config.js +0 -843
- package/dist/scripts/codex-eval-runtime-config.js.map +0 -1
- package/dist/scripts/codex-trigger-eval.d.ts +0 -84
- package/dist/scripts/codex-trigger-eval.js +0 -968
- package/dist/scripts/codex-trigger-eval.js.map +0 -1
- package/dist/scripts/eval-plugin-skills-audited.d.ts +0 -6
- package/dist/scripts/eval-plugin-skills-audited.js +0 -261
- package/dist/scripts/eval-plugin-skills-audited.js.map +0 -1
- package/dist/scripts/eval-plugin-skills.d.ts +0 -45
- package/dist/scripts/eval-plugin-skills.js +0 -1586
- package/dist/scripts/eval-plugin-skills.js.map +0 -1
- package/dist/scripts/eval-run-layout.d.ts +0 -17
- package/dist/scripts/eval-run-layout.js +0 -26
- package/dist/scripts/eval-run-layout.js.map +0 -1
- package/dist/scripts/plugin-eval-contract.d.ts +0 -185
- package/dist/scripts/plugin-eval-contract.js +0 -695
- package/dist/scripts/plugin-eval-contract.js.map +0 -1
- package/dist/scripts/plugin-eval-materializer.d.ts +0 -13
- package/dist/scripts/plugin-eval-materializer.js.map +0 -1
- package/dist/scripts/skill-reporting.d.ts +0 -212
- package/dist/scripts/skill-reporting.js +0 -922
- package/dist/scripts/skill-reporting.js.map +0 -1
- package/dist/src/commands/status-v4.d.ts +0 -123
- package/dist/src/commands/status-v4.js +0 -905
- package/dist/src/commands/status-v4.js.map +0 -1
- package/dist/src/commands/status.d.ts +0 -93
- package/dist/src/commands/status.js +0 -442
- package/dist/src/commands/status.js.map +0 -1
- package/dist/src/utils/active-marketplace-runtime-lock.d.ts +0 -12
- package/dist/src/utils/active-marketplace-runtime-lock.js +0 -133
- package/dist/src/utils/active-marketplace-runtime-lock.js.map +0 -1
- package/dist/src/utils/catalog-manifest-v3.d.ts +0 -2
- package/dist/src/utils/catalog-manifest-v3.js +0 -3
- package/dist/src/utils/catalog-manifest-v3.js.map +0 -1
- package/dist/src/utils/catalog-manifest-v4.d.ts +0 -5
- package/dist/src/utils/catalog-manifest-v4.js.map +0 -1
- package/dist/src/utils/catalog-source-cache.d.ts +0 -62
- package/dist/src/utils/catalog-source-cache.js +0 -296
- package/dist/src/utils/catalog-source-cache.js.map +0 -1
- package/dist/src/utils/codex-project-surface.d.ts +0 -3
- package/dist/src/utils/codex-project-surface.js +0 -49
- package/dist/src/utils/codex-project-surface.js.map +0 -1
- package/dist/src/utils/plugin-release.d.ts +0 -2
- package/dist/src/utils/plugin-release.js +0 -2
- package/dist/src/utils/plugin-release.js.map +0 -1
package/dist/src/tui/model.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { PlatformName, PluginConfigFieldType, PluginConfigPresentationPreset, PluginConfigSchema, Scope } from '../types.js';
|
|
2
|
-
import type {
|
|
2
|
+
import type { StatusV6Payload, StatusV6PluginSummary, StatusV6Target, StatusV6Component, StatusTargetRevision, TargetRevisionState } from '../commands/status-v6.js';
|
|
3
|
+
import type { DependencyAssignmentSource, DependencyOperationPlan } from '../commands/dependency-operation-plan.js';
|
|
4
|
+
import type { DependencyScopeOverride } from '../types.js';
|
|
3
5
|
import type { ResolvedConfigRead } from '../utils/plugin-config.js';
|
|
4
6
|
import { type DiagnosticSummaryViewModel } from './diagnostics.js';
|
|
5
|
-
export type SourceHealthState = 'ready' | '
|
|
7
|
+
export type SourceHealthState = 'ready' | 'unavailable';
|
|
6
8
|
export interface SourceHealthViewModel {
|
|
7
9
|
sourceId: string;
|
|
8
10
|
state: SourceHealthState;
|
|
@@ -13,12 +15,25 @@ export type PlatformPlacementSummary = {
|
|
|
13
15
|
platform: PlatformName;
|
|
14
16
|
state: 'notInstalled';
|
|
15
17
|
supportedScopes: Scope[];
|
|
18
|
+
} | {
|
|
19
|
+
platform: PlatformName;
|
|
20
|
+
state: 'blocked';
|
|
21
|
+
supportedScopes: Scope[];
|
|
22
|
+
reason: 'artifactCollision';
|
|
16
23
|
} | {
|
|
17
24
|
platform: PlatformName;
|
|
18
25
|
state: 'installed';
|
|
19
26
|
scope: Scope;
|
|
20
27
|
health: 'ready' | 'incomplete' | 'error';
|
|
21
28
|
revision: TargetRevisionState;
|
|
29
|
+
desiredScopes?: Scope[];
|
|
30
|
+
relation?: StatusV6Target['desired']['relation'];
|
|
31
|
+
actualState?: StatusV6Target['actual']['state'];
|
|
32
|
+
activation?: StatusV6Target['activation'];
|
|
33
|
+
sharedNative?: StatusV6Target['sharedNative'];
|
|
34
|
+
extensions?: StatusV6Target['extensions'];
|
|
35
|
+
recovery?: StatusV6Target['recovery'];
|
|
36
|
+
blockingReason?: 'artifactCollision';
|
|
22
37
|
} | {
|
|
23
38
|
platform: PlatformName;
|
|
24
39
|
state: 'scopeConflict';
|
|
@@ -29,7 +44,18 @@ export type PlatformPlacementSummary = {
|
|
|
29
44
|
}>;
|
|
30
45
|
};
|
|
31
46
|
export type PluginMenuAction = {
|
|
32
|
-
id: 'add' | 'manage' | 'repair' | 'portableSkills' | 'dependencies' | 'settings' | 'source' | 'sourceProblem' | 'about' | 'refreshSource' | 'technical' | 'back';
|
|
47
|
+
id: 'add' | 'manage' | 'repair' | 'sync' | 'portableSkills' | 'dependencies' | 'settings' | 'source' | 'sourceProblem' | 'about' | 'refreshSource' | 'technical' | 'back' | 'outputCollision';
|
|
48
|
+
} | {
|
|
49
|
+
id: 'addScope';
|
|
50
|
+
platform: PlatformName;
|
|
51
|
+
scope: Scope;
|
|
52
|
+
} | {
|
|
53
|
+
id: 'resolveScopeConflict';
|
|
54
|
+
pluginId: string;
|
|
55
|
+
platform: PlatformName;
|
|
56
|
+
scope: Scope;
|
|
57
|
+
keepScope: Scope;
|
|
58
|
+
description: string;
|
|
33
59
|
} | {
|
|
34
60
|
id: 'platform' | 'scopeConflict';
|
|
35
61
|
platform: PlatformName;
|
|
@@ -52,15 +78,22 @@ export interface PluginListItemViewModel {
|
|
|
52
78
|
configFieldCount: number;
|
|
53
79
|
sourceLabel: string;
|
|
54
80
|
supportedPlatforms: PlatformName[];
|
|
81
|
+
supportedScopes?: Partial<Record<PlatformName, Scope[]>>;
|
|
55
82
|
installedPlacements: PlatformPlacementSummary[];
|
|
56
83
|
aggregateStatus: 'available' | 'installed' | 'needsAttention' | 'unavailable';
|
|
84
|
+
primaryAttention?: {
|
|
85
|
+
severity: 'warning' | 'error';
|
|
86
|
+
code: string;
|
|
87
|
+
message: string;
|
|
88
|
+
};
|
|
57
89
|
portableSkills: boolean;
|
|
90
|
+
missingCapabilities?: string[];
|
|
58
91
|
dependencySummary?: PluginDependencySummaryViewModel;
|
|
59
92
|
technicalComponents: Array<{
|
|
60
93
|
platform: PlatformName;
|
|
61
94
|
scope: Scope;
|
|
62
95
|
key: string;
|
|
63
|
-
state:
|
|
96
|
+
state: StatusV6Component['state'];
|
|
64
97
|
errorCode?: string;
|
|
65
98
|
}>;
|
|
66
99
|
}
|
|
@@ -110,12 +143,41 @@ export interface PluginDependencyOverviewViewModel {
|
|
|
110
143
|
dependents: PluginDependencyItemViewModel[];
|
|
111
144
|
blockers: PluginDependencyBlockerViewModel[];
|
|
112
145
|
}
|
|
146
|
+
export interface DependencyPlacementTargetViewModel {
|
|
147
|
+
key: string;
|
|
148
|
+
pluginId: string;
|
|
149
|
+
displayName: string;
|
|
150
|
+
platform: PlatformName;
|
|
151
|
+
relation: 'direct' | 'transitive';
|
|
152
|
+
scope: Scope;
|
|
153
|
+
minimumScope: Scope;
|
|
154
|
+
allowedScopes: Scope[];
|
|
155
|
+
locked: boolean;
|
|
156
|
+
requiredBy: string[];
|
|
157
|
+
assignmentSource: DependencyAssignmentSource;
|
|
158
|
+
explanation: string;
|
|
159
|
+
affectsOtherProjects: boolean;
|
|
160
|
+
action: DependencyOperationPlan['targets'][number]['action'];
|
|
161
|
+
}
|
|
162
|
+
export interface InstallPlacementDraftViewModel {
|
|
163
|
+
pluginId: string;
|
|
164
|
+
rootScope: Scope;
|
|
165
|
+
platforms: PlatformName[];
|
|
166
|
+
dependencyScopeOverrides: DependencyScopeOverride[];
|
|
167
|
+
state: 'selecting' | 'loading' | 'ready' | 'blocked';
|
|
168
|
+
targets: DependencyPlacementTargetViewModel[];
|
|
169
|
+
canContinue: boolean;
|
|
170
|
+
error?: {
|
|
171
|
+
code: string;
|
|
172
|
+
message: string;
|
|
173
|
+
};
|
|
174
|
+
}
|
|
113
175
|
export interface SourceTabViewModel {
|
|
114
176
|
id: string;
|
|
115
177
|
label: string;
|
|
116
178
|
count?: number;
|
|
117
179
|
primary: boolean;
|
|
118
|
-
state: 'ready' | '
|
|
180
|
+
state: 'ready' | 'error';
|
|
119
181
|
}
|
|
120
182
|
export interface SourceDetailViewModel {
|
|
121
183
|
id: string;
|
|
@@ -131,7 +193,7 @@ export interface SourceDetailViewModel {
|
|
|
131
193
|
resolvedCommit?: string;
|
|
132
194
|
catalogVersion?: string;
|
|
133
195
|
channel?: string;
|
|
134
|
-
freshness?: '
|
|
196
|
+
freshness?: 'active';
|
|
135
197
|
errorCode?: string;
|
|
136
198
|
configDigest: string;
|
|
137
199
|
}
|
|
@@ -140,7 +202,6 @@ export interface HomeSummaryViewModel {
|
|
|
140
202
|
installedPlugins: number;
|
|
141
203
|
issueCount: number;
|
|
142
204
|
sourceCount: number;
|
|
143
|
-
cachedSourceCount: number;
|
|
144
205
|
unavailableSourceCount: number;
|
|
145
206
|
}
|
|
146
207
|
export interface ConfigFieldViewModel {
|
|
@@ -157,6 +218,8 @@ export interface ConfigFieldViewModel {
|
|
|
157
218
|
sourceLabel: string;
|
|
158
219
|
effectiveDisplayValue: string;
|
|
159
220
|
effectiveSourceLabel: string;
|
|
221
|
+
fallbackDisplayValue?: string;
|
|
222
|
+
fallbackSourceLabel?: string;
|
|
160
223
|
value?: string | number | boolean;
|
|
161
224
|
effectiveValue?: string | number | boolean;
|
|
162
225
|
defaultValue?: string | number | boolean;
|
|
@@ -190,8 +253,9 @@ export interface ConfigPageViewModel {
|
|
|
190
253
|
presets: ConfigPresetViewModel[];
|
|
191
254
|
storedCount: number;
|
|
192
255
|
}
|
|
193
|
-
export type UserIssueCategory = 'incompleteInstallation' | '
|
|
194
|
-
export type
|
|
256
|
+
export type UserIssueCategory = 'incompleteInstallation' | 'artifactCollision' | 'sourceUnavailable' | 'sourceMissing' | 'sourceIdentityChanged' | 'requiredConfigMissing' | 'scopeConflict' | 'dependencyMissing' | 'dependencyNotReady' | 'dependencyTargetUnsupported' | 'dependencyStillRequired' | 'dependencyGraphInvalid' | 'legacyState' | 'diagnostic';
|
|
257
|
+
export type UserIssueGroup = 'sourceRemoved' | 'artifactCollision' | 'sourceUnavailable' | 'dependency' | 'scope' | 'config' | 'installation' | 'diagnostic';
|
|
258
|
+
export type UserIssueActionId = 'reinstall' | 'cleanup' | 'remove' | 'refreshSource' | 'editSource' | 'retryLater' | 'reAddSource' | 'viewSourceChange' | 'openConfig' | 'keepUserScope' | 'keepProjectScope' | 'viewTechnical' | 'manualMigration' | 'installDependency' | 'reinstallDependency' | 'viewDependencyIssue' | 'viewDependencies';
|
|
195
259
|
export interface UserIssueActionViewModel {
|
|
196
260
|
id: UserIssueActionId;
|
|
197
261
|
label: string;
|
|
@@ -200,12 +264,21 @@ export interface UserIssueActionViewModel {
|
|
|
200
264
|
platform?: PlatformName;
|
|
201
265
|
scope?: Scope;
|
|
202
266
|
project?: 'current' | 'other' | null;
|
|
203
|
-
writeAction?: 'install' | 'upgrade' | 'reinstall' | 'cleanup';
|
|
267
|
+
writeAction?: 'install' | 'upgrade' | 'reinstall' | 'uninstall' | 'cleanup';
|
|
268
|
+
}
|
|
269
|
+
export type TargetIssueRootCode = 'partial' | 'artifactCollision' | 'sourceMissing' | 'sourceChanged' | 'catalogSourceUnavailable' | 'bundleUnavailable' | 'dependencyMissing' | 'dependencyNotReady' | 'dependencyTargetUnsupported' | 'dependencyStillRequired' | 'dependencyGraphInvalid' | 'targetDiagnostic';
|
|
270
|
+
export interface TargetIssueEntityViewModel {
|
|
271
|
+
pluginId: string;
|
|
272
|
+
platform: PlatformName;
|
|
273
|
+
scope: Scope;
|
|
274
|
+
}
|
|
275
|
+
export interface AffectedTargetViewModel extends TargetIssueEntityViewModel {
|
|
276
|
+
relationship: 'direct' | 'consumer';
|
|
204
277
|
}
|
|
205
|
-
export type TargetIssueRootCode = 'partial' | 'sourceMissing' | 'sourceChanged' | 'catalogSourceUnavailable' | 'bundleUnavailable' | 'dependencyMissing' | 'dependencyNotReady' | 'dependencyTargetUnsupported' | 'dependencyStillRequired' | 'dependencyGraphInvalid' | 'targetDiagnostic';
|
|
206
278
|
export interface UserIssueViewModel {
|
|
207
279
|
issueId: string;
|
|
208
280
|
category: UserIssueCategory;
|
|
281
|
+
group: UserIssueGroup;
|
|
209
282
|
title: string;
|
|
210
283
|
explanation: string;
|
|
211
284
|
impact: string[];
|
|
@@ -224,6 +297,9 @@ export interface UserIssueViewModel {
|
|
|
224
297
|
sourceIdentity?: string;
|
|
225
298
|
rootCode?: TargetIssueRootCode;
|
|
226
299
|
mergeEligible?: boolean;
|
|
300
|
+
relationship?: 'direct' | 'consumer';
|
|
301
|
+
rootEntity?: TargetIssueEntityViewModel;
|
|
302
|
+
affectedTargets?: AffectedTargetViewModel[];
|
|
227
303
|
placements?: Scope[];
|
|
228
304
|
requiredFields?: Array<{
|
|
229
305
|
key: string;
|
|
@@ -280,14 +356,16 @@ export interface PortableSkillSelectionViewModel {
|
|
|
280
356
|
};
|
|
281
357
|
canContinue: boolean;
|
|
282
358
|
}
|
|
283
|
-
export declare function
|
|
359
|
+
export declare function isPureNativeCodexTarget(target: StatusV6Target): boolean;
|
|
360
|
+
export declare function dependencyPlacementTargets(plan: DependencyOperationPlan): DependencyPlacementTargetViewModel[];
|
|
361
|
+
export declare function projectPlatformPlacement(platform: PlatformName, targets: StatusV6Target[], revisions?: StatusTargetRevision[]): PlatformPlacementSummary;
|
|
284
362
|
export declare function buildPluginPreviewActions(plugin: PluginListItemViewModel): PluginMenuAction[];
|
|
285
363
|
export declare function buildPluginDetailActions(plugin: PluginListItemViewModel): PluginMenuAction[];
|
|
286
364
|
export declare function buildPlatformActions(plugin: PluginListItemViewModel, platform: PlatformName): PluginMenuAction[];
|
|
287
365
|
export declare function hasInstalledPlacement(plugin: PluginListItemViewModel): boolean;
|
|
288
366
|
export declare function buildTuiViewModel(options: {
|
|
289
|
-
status:
|
|
290
|
-
pluginSummaries:
|
|
367
|
+
status: StatusV6Payload;
|
|
368
|
+
pluginSummaries: StatusV6PluginSummary[];
|
|
291
369
|
targetRevisions?: StatusTargetRevision[];
|
|
292
370
|
sourceHealth?: ReadonlyMap<string, SourceHealthViewModel>;
|
|
293
371
|
sourceDetails?: SourceDetailViewModel[];
|
|
@@ -298,6 +376,11 @@ export declare function buildConfigGroups(options: {
|
|
|
298
376
|
schema: PluginConfigSchema;
|
|
299
377
|
read: ResolvedConfigRead;
|
|
300
378
|
effectiveRead?: ResolvedConfigRead;
|
|
379
|
+
layerReads?: {
|
|
380
|
+
user: ResolvedConfigRead;
|
|
381
|
+
project: ResolvedConfigRead;
|
|
382
|
+
local: ResolvedConfigRead;
|
|
383
|
+
};
|
|
301
384
|
dirtyKeys?: ReadonlySet<string>;
|
|
302
385
|
}): ConfigGroupViewModel[];
|
|
303
386
|
export declare function buildConfigPage(options: {
|
|
@@ -305,4 +388,9 @@ export declare function buildConfigPage(options: {
|
|
|
305
388
|
schema: PluginConfigSchema;
|
|
306
389
|
read: ResolvedConfigRead;
|
|
307
390
|
effectiveRead?: ResolvedConfigRead;
|
|
391
|
+
layerReads?: {
|
|
392
|
+
user: ResolvedConfigRead;
|
|
393
|
+
project: ResolvedConfigRead;
|
|
394
|
+
local: ResolvedConfigRead;
|
|
395
|
+
};
|
|
308
396
|
}): ConfigPageViewModel;
|