@lesliechan721/aw 0.1.0-beta.8 → 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 +4 -4
- 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/remove-plugin.mjs +1 -1
- package/dist/authoring/scripts/remove-plugin.mjs.map +1 -1
- package/dist/authoring/scripts/validate-plugin.mjs +34 -778
- 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 +5 -6
- package/dist/scripts/plugin-staging.js +12 -13
- package/dist/scripts/plugin-staging.js.map +1 -1
- package/dist/src/authoring/workspace-commands.d.ts +2 -1
- package/dist/src/authoring/workspace-commands.js.map +1 -1
- package/dist/src/commands/aw-capabilities.d.ts +2 -2
- package/dist/src/commands/aw-capabilities.js +6 -11
- package/dist/src/commands/aw-capabilities.js.map +1 -1
- package/dist/src/commands/catalog-dev-source.d.ts +18 -12
- package/dist/src/commands/catalog-dev-source.js +241 -305
- package/dist/src/commands/catalog-dev-source.js.map +1 -1
- package/dist/src/commands/catalog-generation.d.ts +6 -19
- package/dist/src/commands/catalog-generation.js +10 -11
- package/dist/src/commands/catalog-generation.js.map +1 -1
- package/dist/src/commands/catalog-publication-inspection.d.ts +28 -27
- package/dist/src/commands/catalog-publication-inspection.js +139 -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 +2 -1
- package/dist/src/commands/catalog-publication-target.js +37 -2
- package/dist/src/commands/catalog-publication-target.js.map +1 -1
- package/dist/src/commands/catalog-publish.d.ts +51 -15
- package/dist/src/commands/catalog-publish.js +576 -219
- package/dist/src/commands/catalog-publish.js.map +1 -1
- package/dist/src/commands/catalog-source.d.ts +3 -28
- package/dist/src/commands/catalog-source.js +29 -140
- package/dist/src/commands/catalog-source.js.map +1 -1
- package/dist/src/commands/catalog-status.d.ts +6 -26
- package/dist/src/commands/catalog-status.js +8 -146
- 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 +20 -0
- package/dist/src/commands/offline-cleanup-evidence.js +87 -9
- package/dist/src/commands/offline-cleanup-evidence.js.map +1 -1
- package/dist/src/commands/options.d.ts +6 -1
- package/dist/src/commands/options.js +64 -6
- package/dist/src/commands/options.js.map +1 -1
- package/dist/src/commands/plugin-capabilities.js +4 -0
- package/dist/src/commands/plugin-capabilities.js.map +1 -1
- package/dist/src/commands/rebuild-command.d.ts +10 -8
- package/dist/src/commands/rebuild-command.js +1217 -426
- package/dist/src/commands/rebuild-command.js.map +1 -1
- package/dist/src/commands/rebuild-integration.d.ts +54 -6
- package/dist/src/commands/rebuild-integration.js +691 -364
- package/dist/src/commands/rebuild-integration.js.map +1 -1
- package/dist/src/commands/rebuild-operations.d.ts +2 -0
- package/dist/src/commands/rebuild-operations.js +31 -17
- package/dist/src/commands/rebuild-operations.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-v5.d.ts → status-v6.d.ts} +59 -26
- package/dist/src/commands/{status-v5.js → status-v6.js} +882 -79
- 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/write-commands.js +1 -43
- package/dist/src/commands/write-commands.js.map +1 -1
- package/dist/src/constants.d.ts +5 -4
- package/dist/src/constants.js +5 -4
- 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 +123 -55
- package/dist/src/generators/local-plugin.js.map +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +412 -152
- 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 -11
- package/dist/src/portable/commands.d.ts +2 -2
- package/dist/src/portable/commands.js +2 -8
- package/dist/src/portable/commands.js.map +1 -1
- package/dist/src/portable/materializer.d.ts +1 -4
- package/dist/src/portable/materializer.js +0 -2
- package/dist/src/portable/materializer.js.map +1 -1
- package/dist/src/tui/catalog-generation.d.ts +20 -41
- package/dist/src/tui/catalog-generation.js +65 -224
- package/dist/src/tui/catalog-generation.js.map +1 -1
- package/dist/src/tui/components.js +1 -2
- package/dist/src/tui/components.js.map +1 -1
- package/dist/src/tui/console-app-v4.js +461 -330
- package/dist/src/tui/console-app-v4.js.map +1 -1
- package/dist/src/tui/controller-runtime.d.ts +3 -5
- package/dist/src/tui/controller-runtime.js +182 -187
- package/dist/src/tui/controller-runtime.js.map +1 -1
- package/dist/src/tui/controller.d.ts +42 -45
- package/dist/src/tui/controller.js +454 -407
- 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 -1
- package/dist/src/tui/index.js +1 -1
- package/dist/src/tui/index.js.map +1 -1
- package/dist/src/tui/model.d.ts +81 -13
- package/dist/src/tui/model.js +378 -95
- package/dist/src/tui/model.js.map +1 -1
- package/dist/src/tui/router.d.ts +9 -0
- package/dist/src/tui/router.js.map +1 -1
- package/dist/src/types.d.ts +54 -47
- package/dist/src/types.js.map +1 -1
- package/dist/src/utils/agent-version.d.ts +4 -1
- package/dist/src/utils/agent-version.js +28 -3
- package/dist/src/utils/agent-version.js.map +1 -1
- package/dist/src/utils/catalog-digests.d.ts +7 -0
- package/dist/src/utils/catalog-digests.js +27 -0
- 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 +2 -1
- package/dist/src/utils/catalog-generation-error.js +12 -0
- package/dist/src/utils/catalog-generation-error.js.map +1 -1
- package/dist/src/utils/catalog-generation-resolver.d.ts +10 -3
- package/dist/src/utils/catalog-generation-resolver.js +90 -76
- package/dist/src/utils/catalog-generation-resolver.js.map +1 -1
- package/dist/src/utils/catalog-generation-service.d.ts +24 -33
- package/dist/src/utils/catalog-generation-service.js +253 -567
- package/dist/src/utils/catalog-generation-service.js.map +1 -1
- package/dist/src/utils/catalog-generation-state.d.ts +4 -0
- package/dist/src/utils/catalog-generation-state.js +73 -106
- package/dist/src/utils/catalog-generation-state.js.map +1 -1
- package/dist/src/utils/catalog-generation-store.d.ts +16 -26
- package/dist/src/utils/catalog-generation-store.js +154 -290
- package/dist/src/utils/catalog-generation-store.js.map +1 -1
- package/dist/src/utils/catalog-manifest-v6.d.ts +5 -0
- package/dist/src/utils/{catalog-manifest-v5.js → catalog-manifest-v6.js} +23 -35
- package/dist/src/utils/catalog-manifest-v6.js.map +1 -0
- package/dist/src/utils/catalog-operation-context.d.ts +6 -14
- package/dist/src/utils/catalog-operation-context.js +68 -169
- package/dist/src/utils/catalog-operation-context.js.map +1 -1
- package/dist/src/utils/catalog-public-error.js +1 -4
- 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 +2 -2
- 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.js +25 -9
- 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 +22 -1
- package/dist/src/utils/codex-config.js.map +1 -1
- package/dist/src/utils/codex-manager.d.ts +50 -2
- package/dist/src/utils/codex-manager.js +160 -6
- package/dist/src/utils/codex-manager.js.map +1 -1
- 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-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/git-catalog-provider.js +56 -115
- package/dist/src/utils/git-catalog-provider.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 +1 -10
- package/dist/src/utils/multi-source-catalog.js +8 -175
- package/dist/src/utils/multi-source-catalog.js.map +1 -1
- package/dist/src/utils/native-cli.d.ts +34 -0
- package/dist/src/utils/native-cli.js +91 -0
- package/dist/src/utils/native-cli.js.map +1 -1
- package/dist/src/utils/orphan-marketplace-cleanup.js +1 -0
- package/dist/src/utils/orphan-marketplace-cleanup.js.map +1 -1
- package/dist/src/utils/ownership.d.ts +0 -10
- package/dist/src/utils/ownership.js +3 -88
- 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 +45 -62
- 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 +0 -5
- package/dist/src/utils/plugin-config-write.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/target-eligibility.d.ts +3 -2
- package/dist/src/utils/target-eligibility.js +4 -3
- package/dist/src/utils/target-eligibility.js.map +1 -1
- package/package.json +5 -4
- 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 -91
- package/dist/scripts/codex-eval-app-server.js +0 -1334
- 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 -1589
- 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 -189
- package/dist/scripts/plugin-eval-contract.js +0 -745
- 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/catalog-context.d.ts +0 -52
- package/dist/src/commands/catalog-context.js +0 -156
- package/dist/src/commands/catalog-context.js.map +0 -1
- package/dist/src/commands/status-v5.js.map +0 -1
- package/dist/src/utils/catalog-manifest-v5.d.ts +0 -5
- package/dist/src/utils/catalog-manifest-v5.js.map +0 -1
- package/dist/src/utils/catalog-source-cache.d.ts +0 -62
- package/dist/src/utils/catalog-source-cache.js +0 -321
- 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,6 +78,7 @@ 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';
|
|
57
84
|
primaryAttention?: {
|
|
@@ -66,7 +93,7 @@ export interface PluginListItemViewModel {
|
|
|
66
93
|
platform: PlatformName;
|
|
67
94
|
scope: Scope;
|
|
68
95
|
key: string;
|
|
69
|
-
state:
|
|
96
|
+
state: StatusV6Component['state'];
|
|
70
97
|
errorCode?: string;
|
|
71
98
|
}>;
|
|
72
99
|
}
|
|
@@ -116,12 +143,41 @@ export interface PluginDependencyOverviewViewModel {
|
|
|
116
143
|
dependents: PluginDependencyItemViewModel[];
|
|
117
144
|
blockers: PluginDependencyBlockerViewModel[];
|
|
118
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
|
+
}
|
|
119
175
|
export interface SourceTabViewModel {
|
|
120
176
|
id: string;
|
|
121
177
|
label: string;
|
|
122
178
|
count?: number;
|
|
123
179
|
primary: boolean;
|
|
124
|
-
state: 'ready' | '
|
|
180
|
+
state: 'ready' | 'error';
|
|
125
181
|
}
|
|
126
182
|
export interface SourceDetailViewModel {
|
|
127
183
|
id: string;
|
|
@@ -137,7 +193,7 @@ export interface SourceDetailViewModel {
|
|
|
137
193
|
resolvedCommit?: string;
|
|
138
194
|
catalogVersion?: string;
|
|
139
195
|
channel?: string;
|
|
140
|
-
freshness?: '
|
|
196
|
+
freshness?: 'active';
|
|
141
197
|
errorCode?: string;
|
|
142
198
|
configDigest: string;
|
|
143
199
|
}
|
|
@@ -146,7 +202,6 @@ export interface HomeSummaryViewModel {
|
|
|
146
202
|
installedPlugins: number;
|
|
147
203
|
issueCount: number;
|
|
148
204
|
sourceCount: number;
|
|
149
|
-
cachedSourceCount: number;
|
|
150
205
|
unavailableSourceCount: number;
|
|
151
206
|
}
|
|
152
207
|
export interface ConfigFieldViewModel {
|
|
@@ -198,9 +253,9 @@ export interface ConfigPageViewModel {
|
|
|
198
253
|
presets: ConfigPresetViewModel[];
|
|
199
254
|
storedCount: number;
|
|
200
255
|
}
|
|
201
|
-
export type UserIssueCategory = 'incompleteInstallation' | 'artifactCollision' | '
|
|
256
|
+
export type UserIssueCategory = 'incompleteInstallation' | 'artifactCollision' | 'sourceUnavailable' | 'sourceMissing' | 'sourceIdentityChanged' | 'requiredConfigMissing' | 'scopeConflict' | 'dependencyMissing' | 'dependencyNotReady' | 'dependencyTargetUnsupported' | 'dependencyStillRequired' | 'dependencyGraphInvalid' | 'legacyState' | 'diagnostic';
|
|
202
257
|
export type UserIssueGroup = 'sourceRemoved' | 'artifactCollision' | 'sourceUnavailable' | 'dependency' | 'scope' | 'config' | 'installation' | 'diagnostic';
|
|
203
|
-
export type UserIssueActionId = 'reinstall' | 'cleanup' | 'remove' | 'refreshSource' | '
|
|
258
|
+
export type UserIssueActionId = 'reinstall' | 'cleanup' | 'remove' | 'refreshSource' | 'editSource' | 'retryLater' | 'reAddSource' | 'viewSourceChange' | 'openConfig' | 'keepUserScope' | 'keepProjectScope' | 'viewTechnical' | 'manualMigration' | 'installDependency' | 'reinstallDependency' | 'viewDependencyIssue' | 'viewDependencies';
|
|
204
259
|
export interface UserIssueActionViewModel {
|
|
205
260
|
id: UserIssueActionId;
|
|
206
261
|
label: string;
|
|
@@ -209,9 +264,17 @@ export interface UserIssueActionViewModel {
|
|
|
209
264
|
platform?: PlatformName;
|
|
210
265
|
scope?: Scope;
|
|
211
266
|
project?: 'current' | 'other' | null;
|
|
212
|
-
writeAction?: 'install' | 'upgrade' | 'reinstall' | 'cleanup';
|
|
267
|
+
writeAction?: 'install' | 'upgrade' | 'reinstall' | 'uninstall' | 'cleanup';
|
|
213
268
|
}
|
|
214
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';
|
|
277
|
+
}
|
|
215
278
|
export interface UserIssueViewModel {
|
|
216
279
|
issueId: string;
|
|
217
280
|
category: UserIssueCategory;
|
|
@@ -234,6 +297,9 @@ export interface UserIssueViewModel {
|
|
|
234
297
|
sourceIdentity?: string;
|
|
235
298
|
rootCode?: TargetIssueRootCode;
|
|
236
299
|
mergeEligible?: boolean;
|
|
300
|
+
relationship?: 'direct' | 'consumer';
|
|
301
|
+
rootEntity?: TargetIssueEntityViewModel;
|
|
302
|
+
affectedTargets?: AffectedTargetViewModel[];
|
|
237
303
|
placements?: Scope[];
|
|
238
304
|
requiredFields?: Array<{
|
|
239
305
|
key: string;
|
|
@@ -290,14 +356,16 @@ export interface PortableSkillSelectionViewModel {
|
|
|
290
356
|
};
|
|
291
357
|
canContinue: boolean;
|
|
292
358
|
}
|
|
293
|
-
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;
|
|
294
362
|
export declare function buildPluginPreviewActions(plugin: PluginListItemViewModel): PluginMenuAction[];
|
|
295
363
|
export declare function buildPluginDetailActions(plugin: PluginListItemViewModel): PluginMenuAction[];
|
|
296
364
|
export declare function buildPlatformActions(plugin: PluginListItemViewModel, platform: PlatformName): PluginMenuAction[];
|
|
297
365
|
export declare function hasInstalledPlacement(plugin: PluginListItemViewModel): boolean;
|
|
298
366
|
export declare function buildTuiViewModel(options: {
|
|
299
|
-
status:
|
|
300
|
-
pluginSummaries:
|
|
367
|
+
status: StatusV6Payload;
|
|
368
|
+
pluginSummaries: StatusV6PluginSummary[];
|
|
301
369
|
targetRevisions?: StatusTargetRevision[];
|
|
302
370
|
sourceHealth?: ReadonlyMap<string, SourceHealthViewModel>;
|
|
303
371
|
sourceDetails?: SourceDetailViewModel[];
|