@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
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import type { CatalogSource, PlatformName, PluginConfigSchemaField, Scope } from '../types.js';
|
|
2
|
+
import { type CodexExtensionKind } from '../utils/codex-surface-analysis.js';
|
|
3
|
+
import { inventoryCatalogSourceReferences } from '../utils/catalog-source-references.js';
|
|
4
|
+
import type { CatalogOperationContext } from '../utils/catalog-operation-context.js';
|
|
5
|
+
import type { ArtifactCollisionEvidence, OwnershipInspection } from '../utils/ownership.js';
|
|
6
|
+
import { type SystemCodexFilesystemInspection } from '../utils/codex-manager.js';
|
|
7
|
+
export interface StatusV6CatalogSource {
|
|
8
|
+
id: string;
|
|
9
|
+
identity: string;
|
|
10
|
+
type: CatalogSource['type'];
|
|
11
|
+
primary: boolean;
|
|
12
|
+
requestedRef: string;
|
|
13
|
+
resolvedCommit?: string;
|
|
14
|
+
catalogVersion?: string;
|
|
15
|
+
channel?: string;
|
|
16
|
+
freshness?: 'active';
|
|
17
|
+
error?: string;
|
|
18
|
+
errorCode?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface StatusV6Target {
|
|
21
|
+
pluginName: string;
|
|
22
|
+
sourceId: string;
|
|
23
|
+
sourceIdentity: string;
|
|
24
|
+
pluginId: string;
|
|
25
|
+
version?: string;
|
|
26
|
+
platform: PlatformName;
|
|
27
|
+
/** TUI placement adapter. Codex shared-native identity is still emitted only once. */
|
|
28
|
+
scope: Scope;
|
|
29
|
+
cwd: string;
|
|
30
|
+
desired: {
|
|
31
|
+
enabled: boolean;
|
|
32
|
+
scopes: Scope[];
|
|
33
|
+
relation: 'root' | 'dependency' | 'managed' | 'none';
|
|
34
|
+
};
|
|
35
|
+
actual: {
|
|
36
|
+
state: StatusV6ActualState;
|
|
37
|
+
};
|
|
38
|
+
state: 'present' | 'absent' | 'partial' | 'error';
|
|
39
|
+
components: StatusV6Component[];
|
|
40
|
+
errors: StatusV6TargetError[];
|
|
41
|
+
recovery: StatusV6RecoveryAction[];
|
|
42
|
+
sharedNative?: {
|
|
43
|
+
pluginId: string;
|
|
44
|
+
state: 'present' | 'missing' | 'outdated' | 'corrupt' | 'foreign';
|
|
45
|
+
version?: string;
|
|
46
|
+
shared: true;
|
|
47
|
+
};
|
|
48
|
+
activation?: {
|
|
49
|
+
user?: boolean;
|
|
50
|
+
project?: boolean;
|
|
51
|
+
effective?: boolean;
|
|
52
|
+
evidence: 'observed' | 'assumed' | 'unobserved';
|
|
53
|
+
systemConsumer?: SystemCodexFilesystemInspection;
|
|
54
|
+
};
|
|
55
|
+
extensions?: {
|
|
56
|
+
state: 'ready' | 'missing' | 'drifted' | 'conflict';
|
|
57
|
+
kinds: CodexExtensionKind[];
|
|
58
|
+
};
|
|
59
|
+
dependency?: {
|
|
60
|
+
directCount: number;
|
|
61
|
+
issueCount: number;
|
|
62
|
+
};
|
|
63
|
+
dependencyReadiness?: StatusV6DependencyReadiness[];
|
|
64
|
+
}
|
|
65
|
+
export type StatusV6ActualState = 'ready' | 'needsSync' | 'drifted' | 'conflict' | 'orphaned' | 'unresolved' | 'absent';
|
|
66
|
+
export interface StatusV6RecoveryAction {
|
|
67
|
+
command: 'sync' | 'cleanup' | 'reinstall' | 'uninstall' | 'manual';
|
|
68
|
+
scope?: Scope;
|
|
69
|
+
description: string;
|
|
70
|
+
}
|
|
71
|
+
export type StatusV6DependencyReadinessState = 'ready' | 'absent' | 'blockedByCollision' | 'incomplete' | 'error';
|
|
72
|
+
export interface StatusV6DependencyReadiness {
|
|
73
|
+
dependencyPluginId: string;
|
|
74
|
+
state: StatusV6DependencyReadinessState;
|
|
75
|
+
rootIssueId?: string;
|
|
76
|
+
rootIssueCode?: string;
|
|
77
|
+
}
|
|
78
|
+
export interface StatusV6Component {
|
|
79
|
+
key: string;
|
|
80
|
+
state: OwnershipInspection['components'][number]['state'];
|
|
81
|
+
error?: StatusV6TargetError;
|
|
82
|
+
}
|
|
83
|
+
export interface StatusV6TargetError {
|
|
84
|
+
code: string;
|
|
85
|
+
message: string;
|
|
86
|
+
severity: 'warning' | 'blocking';
|
|
87
|
+
collision?: ArtifactCollisionEvidence;
|
|
88
|
+
dependencyPluginId?: string;
|
|
89
|
+
rootIssueId?: string;
|
|
90
|
+
rootIssueCode?: string;
|
|
91
|
+
}
|
|
92
|
+
export interface StatusV6Payload {
|
|
93
|
+
schemaVersion: 6;
|
|
94
|
+
catalog: {
|
|
95
|
+
primarySourceId: string;
|
|
96
|
+
configDigest: string;
|
|
97
|
+
compositeDigest: string;
|
|
98
|
+
generationSetDigest?: string;
|
|
99
|
+
sources: StatusV6CatalogSource[];
|
|
100
|
+
};
|
|
101
|
+
filters: {
|
|
102
|
+
plugins: string[];
|
|
103
|
+
platform: PlatformName | 'both';
|
|
104
|
+
scope?: Scope;
|
|
105
|
+
cwd: string;
|
|
106
|
+
};
|
|
107
|
+
targets: StatusV6Target[];
|
|
108
|
+
errors: Array<{
|
|
109
|
+
code: string;
|
|
110
|
+
message: string;
|
|
111
|
+
}>;
|
|
112
|
+
}
|
|
113
|
+
export type TargetRevisionState = {
|
|
114
|
+
state: 'current';
|
|
115
|
+
availableVersion: string;
|
|
116
|
+
installedVersion?: string;
|
|
117
|
+
} | {
|
|
118
|
+
state: 'upgradeAvailable';
|
|
119
|
+
availableVersion: string;
|
|
120
|
+
installedVersion?: string;
|
|
121
|
+
} | {
|
|
122
|
+
state: 'unknown';
|
|
123
|
+
availableVersion?: string;
|
|
124
|
+
installedVersion?: string;
|
|
125
|
+
};
|
|
126
|
+
export interface StatusTargetRevision {
|
|
127
|
+
pluginId: string;
|
|
128
|
+
platform: PlatformName;
|
|
129
|
+
scope: Scope;
|
|
130
|
+
revision: TargetRevisionState;
|
|
131
|
+
}
|
|
132
|
+
export interface StatusV6PluginSummary {
|
|
133
|
+
pluginName: string;
|
|
134
|
+
pluginId: string;
|
|
135
|
+
displayName?: string;
|
|
136
|
+
description: string;
|
|
137
|
+
version?: string;
|
|
138
|
+
supportedTargets?: Record<PlatformName, Scope[]>;
|
|
139
|
+
configFieldCount?: number;
|
|
140
|
+
configSchema?: Record<string, PluginConfigSchemaField>;
|
|
141
|
+
configIssues?: Array<{
|
|
142
|
+
type: 'missing-required' | 'invalid-config';
|
|
143
|
+
key: string;
|
|
144
|
+
title: string;
|
|
145
|
+
source: 'default' | 'user' | 'project' | 'projectLocal' | 'missing';
|
|
146
|
+
}>;
|
|
147
|
+
configDiagnostic?: {
|
|
148
|
+
code: 'configReadFailed';
|
|
149
|
+
message: string;
|
|
150
|
+
};
|
|
151
|
+
dependencyDirectCount?: number;
|
|
152
|
+
dependencyTotalCount?: number;
|
|
153
|
+
dependencyIssueCount?: number;
|
|
154
|
+
missingCapabilities?: string[];
|
|
155
|
+
}
|
|
156
|
+
export interface LiveConsoleItem {
|
|
157
|
+
pluginName: string;
|
|
158
|
+
version?: string;
|
|
159
|
+
pluginSummary?: Omit<StatusV6PluginSummary, 'pluginName' | 'pluginId'>;
|
|
160
|
+
targets: StatusV6Target[];
|
|
161
|
+
}
|
|
162
|
+
export interface ConsoleItemsLoadResult {
|
|
163
|
+
items: LiveConsoleItem[];
|
|
164
|
+
catalogUnavailable: boolean;
|
|
165
|
+
status: StatusV6Payload;
|
|
166
|
+
}
|
|
167
|
+
export declare function setStatusDependencyInspectionHookForTests(hook: (() => void) | undefined): void;
|
|
168
|
+
export declare function loadConsoleItemsResult(options?: {
|
|
169
|
+
cwd?: string;
|
|
170
|
+
platform?: string;
|
|
171
|
+
scope?: string;
|
|
172
|
+
verbose?: boolean;
|
|
173
|
+
}, runtime?: {
|
|
174
|
+
env?: NodeJS.ProcessEnv;
|
|
175
|
+
}): Promise<ConsoleItemsLoadResult>;
|
|
176
|
+
export declare function loadConsoleItems(options?: {
|
|
177
|
+
cwd?: string;
|
|
178
|
+
platform?: string;
|
|
179
|
+
scope?: string;
|
|
180
|
+
verbose?: boolean;
|
|
181
|
+
}, runtime?: {
|
|
182
|
+
env?: NodeJS.ProcessEnv;
|
|
183
|
+
}): Promise<LiveConsoleItem[]>;
|
|
184
|
+
export declare function projectTargetRevision(availableVersion: string | undefined, installedVersion: string | undefined): TargetRevisionState;
|
|
185
|
+
export declare function statusCommandV6(options: {
|
|
186
|
+
plugins?: string[];
|
|
187
|
+
cwd: string;
|
|
188
|
+
env?: NodeJS.ProcessEnv;
|
|
189
|
+
cliVersion?: string;
|
|
190
|
+
platform?: string;
|
|
191
|
+
scope?: string;
|
|
192
|
+
json?: boolean;
|
|
193
|
+
verbose?: boolean;
|
|
194
|
+
catalogOperationContext?: CatalogOperationContext;
|
|
195
|
+
inventoryCatalogSourceReferences?: typeof inventoryCatalogSourceReferences;
|
|
196
|
+
}): Promise<{
|
|
197
|
+
payload: StatusV6Payload;
|
|
198
|
+
output: string;
|
|
199
|
+
hasErrors: boolean;
|
|
200
|
+
pluginSummaries: StatusV6PluginSummary[];
|
|
201
|
+
targetRevisions: StatusTargetRevision[];
|
|
202
|
+
}>;
|