@lesliechan721/aw 0.1.0-beta.9 → 0.1.0-beta.91
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/assets/aw-config.mjs +100 -501
- package/dist/authoring/assets/aw-config.mjs.map +1 -1
- package/dist/authoring/assets/aw-runtime-config.d.mts +13 -0
- package/dist/authoring/assets/aw-runtime-config.mjs +221 -0
- package/dist/authoring/assets/aw-runtime-config.mjs.map +1 -0
- package/dist/authoring/assets/command-runtime-config.d.mts +9 -0
- package/dist/authoring/assets/command-runtime-config.mjs +134 -0
- package/dist/authoring/assets/command-runtime-config.mjs.map +1 -0
- package/dist/authoring/scripts/add-skill.mjs +15 -38
- package/dist/authoring/scripts/add-skill.mjs.map +1 -1
- package/dist/authoring/scripts/init-plugin.mjs +72 -96
- package/dist/authoring/scripts/init-plugin.mjs.map +1 -1
- package/dist/authoring/scripts/lib/plugin-root.mjs +4 -4
- package/dist/authoring/scripts/lib/plugin-root.mjs.map +1 -1
- package/dist/authoring/scripts/lib/plugin-version-check.d.mts +1 -0
- package/dist/authoring/scripts/lib/plugin-version-check.mjs +230 -9
- package/dist/authoring/scripts/lib/plugin-version-check.mjs.map +1 -1
- package/dist/authoring/scripts/lib/skill-scaffold.d.mts +2 -2
- package/dist/authoring/scripts/lib/skill-scaffold.mjs +4 -7
- 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 +416 -1995
- package/dist/authoring/scripts/validate-plugin.mjs.map +1 -1
- package/dist/authoring/scripts/validate-skill.mjs +1 -1
- package/dist/index.js +2 -6
- package/dist/index.js.map +1 -1
- package/dist/native-runtime/reader-runtime.mjs +34 -0
- package/dist/native-runtime/reader.d.mts +6 -0
- package/dist/native-runtime/reader.mjs +11 -0
- package/dist/scripts/aw-skill-eval-materializer.d.ts +11 -1
- package/dist/scripts/aw-skill-eval-materializer.js +118 -115
- package/dist/scripts/aw-skill-eval-materializer.js.map +1 -1
- package/dist/scripts/bundle-plugins.js +25 -7
- package/dist/scripts/bundle-plugins.js.map +1 -1
- package/dist/scripts/plugin-staging.d.ts +7 -7
- package/dist/scripts/plugin-staging.js +10 -8
- package/dist/scripts/plugin-staging.js.map +1 -1
- package/dist/scripts/plugin-test-reporter.d.mts +2 -0
- package/dist/scripts/plugin-test-reporter.mjs +21 -0
- package/dist/scripts/plugin-test-reporter.mjs.map +1 -0
- package/dist/scripts/test-plugin-scripts.d.ts +5 -0
- package/dist/scripts/test-plugin-scripts.js +284 -78
- package/dist/scripts/test-plugin-scripts.js.map +1 -1
- package/dist/scripts/test-workers.d.mts +24 -0
- package/dist/scripts/test-workers.mjs +59 -0
- package/dist/scripts/test-workers.mjs.map +1 -0
- package/dist/src/adapters/helpers.d.ts +7 -0
- package/dist/src/adapters/helpers.js.map +1 -1
- package/dist/src/authoring/workspace-commands.d.ts +3 -0
- package/dist/src/authoring/workspace-commands.js +7 -2
- package/dist/src/authoring/workspace-commands.js.map +1 -1
- package/dist/src/commands/aw-capabilities.d.ts +1 -1
- package/dist/src/commands/aw-capabilities.js +42 -21
- package/dist/src/commands/aw-capabilities.js.map +1 -1
- package/dist/src/commands/catalog-dev-source.d.ts +42 -3
- package/dist/src/commands/catalog-dev-source.js +351 -43
- package/dist/src/commands/catalog-dev-source.js.map +1 -1
- package/dist/src/commands/catalog-generation.d.ts +8 -0
- package/dist/src/commands/catalog-generation.js +1 -5
- package/dist/src/commands/catalog-generation.js.map +1 -1
- package/dist/src/commands/catalog-publication-inspection.d.ts +42 -3
- package/dist/src/commands/catalog-publication-inspection.js +379 -48
- package/dist/src/commands/catalog-publication-inspection.js.map +1 -1
- package/dist/src/commands/catalog-publication-journal.d.ts +23 -4
- package/dist/src/commands/catalog-publication-journal.js +165 -20
- package/dist/src/commands/catalog-publication-journal.js.map +1 -1
- package/dist/src/commands/catalog-publish.d.ts +34 -3
- package/dist/src/commands/catalog-publish.js +311 -165
- package/dist/src/commands/catalog-publish.js.map +1 -1
- package/dist/src/commands/catalog-source.d.ts +54 -8
- package/dist/src/commands/catalog-source.js +277 -15
- package/dist/src/commands/catalog-source.js.map +1 -1
- package/dist/src/commands/catalog-status.js +2 -2
- package/dist/src/commands/catalog-status.js.map +1 -1
- package/dist/src/commands/catalog-store.d.ts +104 -0
- package/dist/src/commands/catalog-store.js +685 -0
- package/dist/src/commands/catalog-store.js.map +1 -0
- package/dist/src/commands/catalog-workspace-resolution.d.ts +4 -0
- package/dist/src/commands/catalog-workspace-resolution.js +18 -3
- package/dist/src/commands/catalog-workspace-resolution.js.map +1 -1
- package/dist/src/commands/console.js +33 -20
- package/dist/src/commands/console.js.map +1 -1
- package/dist/src/commands/dependency-operation-plan.d.ts +14 -56
- package/dist/src/commands/dependency-operation-plan.js +90 -133
- package/dist/src/commands/dependency-operation-plan.js.map +1 -1
- package/dist/src/commands/deployment-confirmation.d.ts +11 -0
- package/dist/src/commands/deployment-confirmation.js +88 -0
- package/dist/src/commands/deployment-confirmation.js.map +1 -0
- package/dist/src/commands/init.js +1 -1
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/intent-command.d.ts +34 -0
- package/dist/src/commands/intent-command.js +174 -0
- package/dist/src/commands/intent-command.js.map +1 -0
- package/dist/src/commands/lifecycle-command-package.d.ts +45 -0
- package/dist/src/commands/lifecycle-command-package.js +199 -0
- package/dist/src/commands/lifecycle-command-package.js.map +1 -0
- package/dist/src/commands/managed-commands.d.ts +41 -0
- package/dist/src/commands/managed-commands.js +404 -0
- package/dist/src/commands/managed-commands.js.map +1 -0
- package/dist/src/commands/offline-cleanup-evidence.d.ts +29 -3
- package/dist/src/commands/offline-cleanup-evidence.js +80 -10
- package/dist/src/commands/offline-cleanup-evidence.js.map +1 -1
- package/dist/src/commands/operation-plan.d.ts +191 -0
- package/dist/src/commands/operation-plan.js +96 -0
- package/dist/src/commands/operation-plan.js.map +1 -0
- package/dist/src/commands/operation-planner.d.ts +47 -0
- package/dist/src/commands/operation-planner.js +142 -0
- package/dist/src/commands/operation-planner.js.map +1 -0
- package/dist/src/commands/options.d.ts +11 -20
- package/dist/src/commands/options.js +31 -36
- package/dist/src/commands/options.js.map +1 -1
- package/dist/src/commands/permission-batch.d.ts +5 -0
- package/dist/src/commands/permission-batch.js +80 -0
- package/dist/src/commands/permission-batch.js.map +1 -0
- package/dist/src/commands/plugin-capabilities.js +96 -46
- package/dist/src/commands/plugin-capabilities.js.map +1 -1
- package/dist/src/commands/public-config-confirmation.d.ts +14 -0
- package/dist/src/commands/public-config-confirmation.js +73 -0
- package/dist/src/commands/public-config-confirmation.js.map +1 -0
- package/dist/src/commands/public-interruption.d.ts +9 -0
- package/dist/src/commands/public-interruption.js +23 -0
- package/dist/src/commands/public-interruption.js.map +1 -0
- package/dist/src/commands/public-lifecycle-result.d.ts +106 -0
- package/dist/src/commands/public-lifecycle-result.js +518 -0
- package/dist/src/commands/public-lifecycle-result.js.map +1 -0
- package/dist/src/commands/public-lifecycle.d.ts +27 -0
- package/dist/src/commands/public-lifecycle.js +563 -0
- package/dist/src/commands/public-lifecycle.js.map +1 -0
- package/dist/src/commands/public-plugin-query.d.ts +16 -0
- package/dist/src/commands/public-plugin-query.js +230 -0
- package/dist/src/commands/public-plugin-query.js.map +1 -0
- package/dist/src/commands/rebuild-command.d.ts +176 -25
- package/dist/src/commands/rebuild-command.js +3989 -1392
- package/dist/src/commands/rebuild-command.js.map +1 -1
- package/dist/src/commands/rebuild-integration.d.ts +133 -52
- package/dist/src/commands/rebuild-integration.js +1097 -2692
- package/dist/src/commands/rebuild-integration.js.map +1 -1
- package/dist/src/commands/rebuild-operations.d.ts +74 -23
- package/dist/src/commands/rebuild-operations.js +334 -227
- package/dist/src/commands/rebuild-operations.js.map +1 -1
- package/dist/src/commands/rebuild-platform-integration.d.ts +81 -0
- package/dist/src/commands/rebuild-platform-integration.js +1992 -0
- package/dist/src/commands/rebuild-platform-integration.js.map +1 -0
- package/dist/src/commands/reconcile-operation-plan.d.ts +31 -0
- package/dist/src/commands/reconcile-operation-plan.js +48 -0
- package/dist/src/commands/reconcile-operation-plan.js.map +1 -0
- package/dist/src/commands/review-inspection.d.ts +60 -0
- package/dist/src/commands/review-inspection.js +436 -0
- package/dist/src/commands/review-inspection.js.map +1 -0
- package/dist/src/commands/review-preparation.d.ts +51 -0
- package/dist/src/commands/review-preparation.js +400 -0
- package/dist/src/commands/review-preparation.js.map +1 -0
- package/dist/src/commands/runtime.d.ts +6 -6
- package/dist/src/commands/runtime.js +44 -24
- package/dist/src/commands/runtime.js.map +1 -1
- package/dist/src/commands/skill-eval.d.ts +8 -0
- package/dist/src/commands/skill-eval.js +126 -73
- package/dist/src/commands/skill-eval.js.map +1 -1
- package/dist/src/commands/status-v6.d.ts +185 -68
- package/dist/src/commands/status-v6.js +1592 -499
- package/dist/src/commands/status-v6.js.map +1 -1
- package/dist/src/commands/targets-command.d.ts +38 -0
- package/dist/src/commands/targets-command.js +182 -0
- package/dist/src/commands/targets-command.js.map +1 -0
- package/dist/src/commands/wizard.d.ts +8 -5
- package/dist/src/commands/wizard.js +7 -4
- package/dist/src/commands/wizard.js.map +1 -1
- package/dist/src/commands/write-commands.d.ts +9 -3
- package/dist/src/commands/write-commands.js +144 -44
- package/dist/src/commands/write-commands.js.map +1 -1
- package/dist/src/constants.d.ts +2 -3
- package/dist/src/constants.js +2 -3
- package/dist/src/constants.js.map +1 -1
- package/dist/src/eval/manifest-v1.d.ts +6 -2
- package/dist/src/eval/manifest-v1.js +58 -26
- package/dist/src/eval/manifest-v1.js.map +1 -1
- package/dist/src/generators/local-plugin.d.ts +4 -2
- package/dist/src/generators/local-plugin.js +207 -346
- package/dist/src/generators/local-plugin.js.map +1 -1
- package/dist/src/generators/permissions.d.ts +20 -2
- package/dist/src/generators/permissions.js +82 -15
- package/dist/src/generators/permissions.js.map +1 -1
- package/dist/src/index.d.ts +3 -33
- package/dist/src/index.js +1786 -1945
- package/dist/src/index.js.map +1 -1
- package/dist/src/intent/deployment-preferences.d.ts +63 -0
- package/dist/src/intent/deployment-preferences.js +170 -0
- package/dist/src/intent/deployment-preferences.js.map +1 -0
- package/dist/src/intent/diagnostics.d.ts +11 -0
- package/dist/src/intent/diagnostics.js +14 -0
- package/dist/src/intent/diagnostics.js.map +1 -0
- package/dist/src/intent/intent-codec.d.ts +19 -0
- package/dist/src/intent/intent-codec.js +117 -0
- package/dist/src/intent/intent-codec.js.map +1 -0
- package/dist/src/intent/intent-store.d.ts +43 -0
- package/dist/src/intent/intent-store.js +118 -0
- package/dist/src/intent/intent-store.js.map +1 -0
- package/dist/src/intent/scope-context.d.ts +35 -0
- package/dist/src/intent/scope-context.js +179 -0
- package/dist/src/intent/scope-context.js.map +1 -0
- package/dist/src/intent/work-context.d.ts +13 -0
- package/dist/src/intent/work-context.js +22 -0
- package/dist/src/intent/work-context.js.map +1 -0
- package/dist/src/output/command-receipt.d.ts +37 -86
- package/dist/src/output/command-receipt.js +257 -179
- package/dist/src/output/command-receipt.js.map +1 -1
- package/dist/src/output/component-delivery.d.ts +28 -0
- package/dist/src/output/component-delivery.js +138 -0
- package/dist/src/output/component-delivery.js.map +1 -0
- package/dist/src/output/public-result.d.ts +69 -0
- package/dist/src/output/public-result.js +403 -0
- package/dist/src/output/public-result.js.map +1 -0
- package/dist/src/output/rebuild-progress.d.ts +3 -0
- package/dist/src/output/rebuild-progress.js +34 -16
- package/dist/src/output/rebuild-progress.js.map +1 -1
- package/dist/src/output/receipt-projection.d.ts +7 -0
- package/dist/src/output/receipt-projection.js +664 -0
- package/dist/src/output/receipt-projection.js.map +1 -0
- package/dist/src/output/skill-invocation-notices.d.ts +18 -0
- package/dist/src/output/skill-invocation-notices.js +84 -0
- package/dist/src/output/skill-invocation-notices.js.map +1 -0
- package/dist/src/platforms/antigravity-permissions.d.ts +50 -0
- package/dist/src/platforms/antigravity-permissions.js +388 -0
- package/dist/src/platforms/antigravity-permissions.js.map +1 -0
- package/dist/src/platforms/capabilities.d.ts +17 -0
- package/dist/src/platforms/capabilities.js +328 -0
- package/dist/src/platforms/capabilities.js.map +1 -0
- package/dist/src/platforms/contracts.d.ts +402 -0
- package/dist/src/platforms/contracts.js +2 -0
- package/dist/src/platforms/contracts.js.map +1 -0
- package/dist/src/platforms/cursor-workspace-hook.d.ts +28 -0
- package/dist/src/platforms/cursor-workspace-hook.js +198 -0
- package/dist/src/platforms/cursor-workspace-hook.js.map +1 -0
- package/dist/src/platforms/discovery.d.ts +98 -0
- package/dist/src/platforms/discovery.js +777 -0
- package/dist/src/platforms/discovery.js.map +1 -0
- package/dist/src/platforms/grok-permission-config.d.ts +23 -0
- package/dist/src/platforms/grok-permission-config.js +184 -0
- package/dist/src/platforms/grok-permission-config.js.map +1 -0
- package/dist/src/platforms/grok-permission-document.d.ts +4 -0
- package/dist/src/platforms/grok-permission-document.js +145 -0
- package/dist/src/platforms/grok-permission-document.js.map +1 -0
- package/dist/src/platforms/grok-permissions.d.ts +17 -0
- package/dist/src/platforms/grok-permissions.js +311 -0
- package/dist/src/platforms/grok-permissions.js.map +1 -0
- package/dist/src/platforms/host-permission-policy.d.ts +38 -0
- package/dist/src/platforms/host-permission-policy.js +86 -0
- package/dist/src/platforms/host-permission-policy.js.map +1 -0
- package/dist/src/platforms/identity.d.ts +4 -0
- package/dist/src/platforms/identity.js +22 -0
- package/dist/src/platforms/identity.js.map +1 -0
- package/dist/src/platforms/inspection-grok.d.ts +4 -0
- package/dist/src/platforms/inspection-grok.js +366 -0
- package/dist/src/platforms/inspection-grok.js.map +1 -0
- package/dist/src/platforms/inspection-native.d.ts +6 -0
- package/dist/src/platforms/inspection-native.js +373 -0
- package/dist/src/platforms/inspection-native.js.map +1 -0
- package/dist/src/platforms/inspection-opencode.d.ts +4 -0
- package/dist/src/platforms/inspection-opencode.js +98 -0
- package/dist/src/platforms/inspection-opencode.js.map +1 -0
- package/dist/src/platforms/inspection-pi.d.ts +9 -0
- package/dist/src/platforms/inspection-pi.js +482 -0
- package/dist/src/platforms/inspection-pi.js.map +1 -0
- package/dist/src/platforms/inspection-query.d.ts +24 -0
- package/dist/src/platforms/inspection-query.js +119 -0
- package/dist/src/platforms/inspection-query.js.map +1 -0
- package/dist/src/platforms/inspection.d.ts +20 -0
- package/dist/src/platforms/inspection.js +259 -0
- package/dist/src/platforms/inspection.js.map +1 -0
- package/dist/src/platforms/layout.d.ts +35 -0
- package/dist/src/platforms/layout.js +317 -0
- package/dist/src/platforms/layout.js.map +1 -0
- package/dist/src/platforms/lifecycle-native-services.d.ts +3 -0
- package/dist/src/platforms/lifecycle-native-services.js +147 -0
- package/dist/src/platforms/lifecycle-native-services.js.map +1 -0
- package/dist/src/platforms/lifecycle-native.d.ts +14 -0
- package/dist/src/platforms/lifecycle-native.js +223 -0
- package/dist/src/platforms/lifecycle-native.js.map +1 -0
- package/dist/src/platforms/lifecycle.d.ts +27 -0
- package/dist/src/platforms/lifecycle.js +567 -0
- package/dist/src/platforms/lifecycle.js.map +1 -0
- package/dist/src/platforms/opencode-permission-config.d.ts +13 -0
- package/dist/src/platforms/opencode-permission-config.js +253 -0
- package/dist/src/platforms/opencode-permission-config.js.map +1 -0
- package/dist/src/platforms/opencode-permissions.d.ts +39 -0
- package/dist/src/platforms/opencode-permissions.js +212 -0
- package/dist/src/platforms/opencode-permissions.js.map +1 -0
- package/dist/src/platforms/opencode-related-permissions.d.ts +40 -0
- package/dist/src/platforms/opencode-related-permissions.js +177 -0
- package/dist/src/platforms/opencode-related-permissions.js.map +1 -0
- package/dist/src/platforms/permission-ownership.d.ts +89 -0
- package/dist/src/platforms/permission-ownership.js +543 -0
- package/dist/src/platforms/permission-ownership.js.map +1 -0
- package/dist/src/platforms/permission-sidecar.d.ts +70 -0
- package/dist/src/platforms/permission-sidecar.js +215 -0
- package/dist/src/platforms/permission-sidecar.js.map +1 -0
- package/dist/src/platforms/projection-code-extension.d.ts +8 -0
- package/dist/src/platforms/projection-code-extension.js +126 -0
- package/dist/src/platforms/projection-code-extension.js.map +1 -0
- package/dist/src/platforms/projection-command-resources.d.ts +7 -0
- package/dist/src/platforms/projection-command-resources.js +74 -0
- package/dist/src/platforms/projection-command-resources.js.map +1 -0
- package/dist/src/platforms/projection-files.d.ts +27 -0
- package/dist/src/platforms/projection-files.js +111 -0
- package/dist/src/platforms/projection-files.js.map +1 -0
- package/dist/src/platforms/projection-marketplace.d.ts +19 -0
- package/dist/src/platforms/projection-marketplace.js +42 -0
- package/dist/src/platforms/projection-marketplace.js.map +1 -0
- package/dist/src/platforms/projection.d.ts +13 -0
- package/dist/src/platforms/projection.js +576 -0
- package/dist/src/platforms/projection.js.map +1 -0
- package/dist/src/platforms/registry.d.ts +4 -0
- package/dist/src/platforms/registry.js +30 -0
- package/dist/src/platforms/registry.js.map +1 -0
- package/dist/src/platforms/supplement-layout.d.ts +20 -0
- package/dist/src/platforms/supplement-layout.js +53 -0
- package/dist/src/platforms/supplement-layout.js.map +1 -0
- package/dist/src/platforms/supplement-state.d.ts +13 -0
- package/dist/src/platforms/supplement-state.js +93 -0
- package/dist/src/platforms/supplement-state.js.map +1 -0
- package/dist/src/portable/commands.d.ts +58 -11
- package/dist/src/portable/commands.js +99 -345
- package/dist/src/portable/commands.js.map +1 -1
- package/dist/src/portable/historical-materialization.d.ts +22 -0
- package/dist/src/portable/historical-materialization.js +124 -0
- package/dist/src/portable/historical-materialization.js.map +1 -0
- package/dist/src/portable/materializer.d.ts +29 -1
- package/dist/src/portable/materializer.js +197 -258
- package/dist/src/portable/materializer.js.map +1 -1
- package/dist/src/portable/recovery-layout.d.ts +17 -0
- package/dist/src/portable/recovery-layout.js +42 -0
- package/dist/src/portable/recovery-layout.js.map +1 -0
- package/dist/src/portable/recovery.d.ts +176 -0
- package/dist/src/portable/recovery.js +556 -0
- package/dist/src/portable/recovery.js.map +1 -0
- package/dist/src/portable/writer.d.ts +67 -0
- package/dist/src/portable/writer.js +321 -0
- package/dist/src/portable/writer.js.map +1 -0
- package/dist/src/recovery/coordinator.d.ts +168 -0
- package/dist/src/recovery/coordinator.js +1558 -0
- package/dist/src/recovery/coordinator.js.map +1 -0
- package/dist/src/recovery/demand.d.ts +53 -0
- package/dist/src/recovery/demand.js +189 -0
- package/dist/src/recovery/demand.js.map +1 -0
- package/dist/src/recovery/install-concurrency.d.ts +48 -0
- package/dist/src/recovery/install-concurrency.js +196 -0
- package/dist/src/recovery/install-concurrency.js.map +1 -0
- package/dist/src/recovery/interruption.d.ts +19 -0
- package/dist/src/recovery/interruption.js +43 -0
- package/dist/src/recovery/interruption.js.map +1 -0
- package/dist/src/recovery/joint-coordinator.d.ts +46 -0
- package/dist/src/recovery/joint-coordinator.js +1641 -0
- package/dist/src/recovery/joint-coordinator.js.map +1 -0
- package/dist/src/recovery/joint-demand.d.ts +72 -0
- package/dist/src/recovery/joint-demand.js +332 -0
- package/dist/src/recovery/joint-demand.js.map +1 -0
- package/dist/src/recovery/joint-install-execution.d.ts +19 -0
- package/dist/src/recovery/joint-install-execution.js +308 -0
- package/dist/src/recovery/joint-install-execution.js.map +1 -0
- package/dist/src/recovery/joint-install-native-rebase.d.ts +4 -0
- package/dist/src/recovery/joint-install-native-rebase.js +67 -0
- package/dist/src/recovery/joint-install-native-rebase.js.map +1 -0
- package/dist/src/recovery/performance.d.ts +4 -0
- package/dist/src/recovery/performance.js +26 -0
- package/dist/src/recovery/performance.js.map +1 -0
- package/dist/src/recovery/receipt.d.ts +129 -0
- package/dist/src/recovery/receipt.js +91 -0
- package/dist/src/recovery/receipt.js.map +1 -0
- package/dist/src/recovery/retirement.d.ts +47 -0
- package/dist/src/recovery/retirement.js +463 -0
- package/dist/src/recovery/retirement.js.map +1 -0
- package/dist/src/recovery/status.d.ts +143 -0
- package/dist/src/recovery/status.js +1517 -0
- package/dist/src/recovery/status.js.map +1 -0
- package/dist/src/recovery/types.d.ts +85 -0
- package/dist/src/recovery/types.js +2 -0
- package/dist/src/recovery/types.js.map +1 -0
- package/dist/src/review/eval-source-input.d.ts +44 -0
- package/dist/src/review/eval-source-input.js +213 -0
- package/dist/src/review/eval-source-input.js.map +1 -0
- package/dist/src/review/platform-profile.d.ts +6 -0
- package/dist/src/review/platform-profile.js +24 -0
- package/dist/src/review/platform-profile.js.map +1 -0
- package/dist/src/review/review-profile.d.ts +20 -0
- package/dist/src/review/review-profile.js +276 -0
- package/dist/src/review/review-profile.js.map +1 -0
- package/dist/src/review/review-selection.d.ts +20 -0
- package/dist/src/review/review-selection.js +502 -0
- package/dist/src/review/review-selection.js.map +1 -0
- package/dist/src/review/review-types.d.ts +71 -0
- package/dist/src/review/review-types.js +16 -0
- package/dist/src/review/review-types.js.map +1 -0
- package/dist/src/review/skill-materialization.d.ts +65 -0
- package/dist/src/review/skill-materialization.js +228 -0
- package/dist/src/review/skill-materialization.js.map +1 -0
- package/dist/src/review/source-binding.d.ts +201 -0
- package/dist/src/review/source-binding.js +782 -0
- package/dist/src/review/source-binding.js.map +1 -0
- package/dist/src/tui/agent-management.d.ts +23 -0
- package/dist/src/tui/agent-management.js +319 -0
- package/dist/src/tui/agent-management.js.map +1 -0
- package/dist/src/tui/agent-settings.d.ts +47 -0
- package/dist/src/tui/agent-settings.js +97 -0
- package/dist/src/tui/agent-settings.js.map +1 -0
- package/dist/src/tui/catalog-freshness.d.ts +1 -0
- package/dist/src/tui/catalog-freshness.js +2 -0
- package/dist/src/tui/catalog-freshness.js.map +1 -0
- package/dist/src/tui/catalog-generation.d.ts +8 -16
- package/dist/src/tui/catalog-generation.js +97 -10
- package/dist/src/tui/catalog-generation.js.map +1 -1
- package/dist/src/tui/catalog-sources/projection.d.ts +4 -0
- package/dist/src/tui/catalog-sources/projection.js +17 -0
- package/dist/src/tui/catalog-sources/projection.js.map +1 -0
- package/dist/src/tui/catalog-sources/review.d.ts +3 -0
- package/dist/src/tui/catalog-sources/review.js +13 -0
- package/dist/src/tui/catalog-sources/review.js.map +1 -0
- package/dist/src/tui/catalog-sources/screens.d.ts +12 -0
- package/dist/src/tui/catalog-sources/screens.js +40 -0
- package/dist/src/tui/catalog-sources/screens.js.map +1 -0
- package/dist/src/tui/catalog-sources/session.d.ts +32 -0
- package/dist/src/tui/catalog-sources/session.js +300 -0
- package/dist/src/tui/catalog-sources/session.js.map +1 -0
- package/dist/src/tui/catalog-sources/types.d.ts +54 -0
- package/dist/src/tui/catalog-sources/types.js +2 -0
- package/dist/src/tui/catalog-sources/types.js.map +1 -0
- package/dist/src/tui/catalog-store-task.d.ts +16 -0
- package/dist/src/tui/catalog-store-task.js +19 -0
- package/dist/src/tui/catalog-store-task.js.map +1 -0
- package/dist/src/tui/clipboard.d.ts +13 -0
- package/dist/src/tui/clipboard.js +95 -0
- package/dist/src/tui/clipboard.js.map +1 -0
- package/dist/src/tui/components.d.ts +113 -3
- package/dist/src/tui/components.js +201 -34
- package/dist/src/tui/components.js.map +1 -1
- package/dist/src/tui/config-array-draft.d.ts +30 -0
- package/dist/src/tui/config-array-draft.js +51 -0
- package/dist/src/tui/config-array-draft.js.map +1 -0
- package/dist/src/tui/config-leaf-editor.d.ts +44 -0
- package/dist/src/tui/config-leaf-editor.js +227 -0
- package/dist/src/tui/config-leaf-editor.js.map +1 -0
- package/dist/src/tui/config-object-suggestions.d.ts +15 -0
- package/dist/src/tui/config-object-suggestions.js +71 -0
- package/dist/src/tui/config-object-suggestions.js.map +1 -0
- package/dist/src/tui/config-references.d.ts +38 -0
- package/dist/src/tui/config-references.js +82 -0
- package/dist/src/tui/config-references.js.map +1 -0
- package/dist/src/tui/config-suggestions.d.ts +27 -0
- package/dist/src/tui/config-suggestions.js +62 -0
- package/dist/src/tui/config-suggestions.js.map +1 -0
- package/dist/src/tui/config-value-presentation.d.ts +21 -0
- package/dist/src/tui/config-value-presentation.js +129 -0
- package/dist/src/tui/config-value-presentation.js.map +1 -0
- package/dist/src/tui/console-app-v4.d.ts +14 -5
- package/dist/src/tui/console-app-v4.js +10344 -2133
- package/dist/src/tui/console-app-v4.js.map +1 -1
- package/dist/src/tui/content-item-card.d.ts +13 -0
- package/dist/src/tui/content-item-card.js +51 -0
- package/dist/src/tui/content-item-card.js.map +1 -0
- package/dist/src/tui/controller-runtime.d.ts +8 -3
- package/dist/src/tui/controller-runtime.js +2301 -842
- package/dist/src/tui/controller-runtime.js.map +1 -1
- package/dist/src/tui/controller.d.ts +664 -79
- package/dist/src/tui/controller.js +3670 -830
- package/dist/src/tui/controller.js.map +1 -1
- package/dist/src/tui/dependency-graph-view.d.ts +39 -0
- package/dist/src/tui/dependency-graph-view.js +121 -0
- package/dist/src/tui/dependency-graph-view.js.map +1 -0
- package/dist/src/tui/dependency-graph.d.ts +81 -0
- package/dist/src/tui/dependency-graph.js +452 -0
- package/dist/src/tui/dependency-graph.js.map +1 -0
- package/dist/src/tui/deployment-view.d.ts +13 -0
- package/dist/src/tui/deployment-view.js +155 -0
- package/dist/src/tui/deployment-view.js.map +1 -0
- package/dist/src/tui/diagnostic-projection.d.ts +31 -0
- package/dist/src/tui/diagnostic-projection.js +681 -0
- package/dist/src/tui/diagnostic-projection.js.map +1 -0
- package/dist/src/tui/diagnostics.d.ts +6 -2
- package/dist/src/tui/diagnostics.js +14 -2
- package/dist/src/tui/diagnostics.js.map +1 -1
- package/dist/src/tui/entity-cards.d.ts +56 -0
- package/dist/src/tui/entity-cards.js +321 -0
- package/dist/src/tui/entity-cards.js.map +1 -0
- package/dist/src/tui/glossary.d.ts +25 -0
- package/dist/src/tui/glossary.js +78 -0
- package/dist/src/tui/glossary.js.map +1 -0
- package/dist/src/tui/guided-setup.d.ts +25 -0
- package/dist/src/tui/guided-setup.js +101 -0
- package/dist/src/tui/guided-setup.js.map +1 -0
- package/dist/src/tui/index.d.ts +5 -1
- package/dist/src/tui/index.js +4 -1
- package/dist/src/tui/index.js.map +1 -1
- package/dist/src/tui/input-display.d.ts +1 -0
- package/dist/src/tui/input-display.js +23 -1
- package/dist/src/tui/input-display.js.map +1 -1
- package/dist/src/tui/keys.d.ts +44 -0
- package/dist/src/tui/keys.js +43 -15
- package/dist/src/tui/keys.js.map +1 -1
- package/dist/src/tui/lifecycle-action-view.d.ts +6 -0
- package/dist/src/tui/lifecycle-action-view.js +36 -0
- package/dist/src/tui/lifecycle-action-view.js.map +1 -0
- package/dist/src/tui/model.d.ts +187 -52
- package/dist/src/tui/model.js +1202 -426
- package/dist/src/tui/model.js.map +1 -1
- package/dist/src/tui/operation-diagnostic-screens.d.ts +8 -0
- package/dist/src/tui/operation-diagnostic-screens.js +76 -0
- package/dist/src/tui/operation-diagnostic-screens.js.map +1 -0
- package/dist/src/tui/operation-history.d.ts +91 -0
- package/dist/src/tui/operation-history.js +167 -0
- package/dist/src/tui/operation-history.js.map +1 -0
- package/dist/src/tui/operation-review-planner.d.ts +28 -0
- package/dist/src/tui/operation-review-planner.js +1456 -0
- package/dist/src/tui/operation-review-planner.js.map +1 -0
- package/dist/src/tui/plugin-content.d.ts +33 -0
- package/dist/src/tui/plugin-content.js +245 -0
- package/dist/src/tui/plugin-content.js.map +1 -0
- package/dist/src/tui/plugin-detail.d.ts +75 -0
- package/dist/src/tui/plugin-detail.js +267 -0
- package/dist/src/tui/plugin-detail.js.map +1 -0
- package/dist/src/tui/plugin-write-task.d.ts +69 -0
- package/dist/src/tui/plugin-write-task.js +286 -0
- package/dist/src/tui/plugin-write-task.js.map +1 -0
- package/dist/src/tui/prompt.js +4 -15
- package/dist/src/tui/prompt.js.map +1 -1
- package/dist/src/tui/query-header.d.ts +30 -0
- package/dist/src/tui/query-header.js +40 -0
- package/dist/src/tui/query-header.js.map +1 -0
- package/dist/src/tui/reader.d.ts +38 -0
- package/dist/src/tui/reader.js +49 -0
- package/dist/src/tui/reader.js.map +1 -0
- package/dist/src/tui/router.d.ts +182 -39
- package/dist/src/tui/router.js +338 -50
- package/dist/src/tui/router.js.map +1 -1
- package/dist/src/tui/scoped-flow.d.ts +49 -0
- package/dist/src/tui/scoped-flow.js +212 -0
- package/dist/src/tui/scoped-flow.js.map +1 -0
- package/dist/src/tui/scoped-inventory.d.ts +131 -0
- package/dist/src/tui/scoped-inventory.js +280 -0
- package/dist/src/tui/scoped-inventory.js.map +1 -0
- package/dist/src/tui/screen-registry.d.ts +696 -0
- package/dist/src/tui/screen-registry.js +226 -0
- package/dist/src/tui/screen-registry.js.map +1 -0
- package/dist/src/tui/session-console-app.d.ts +8 -0
- package/dist/src/tui/session-console-app.js +24 -0
- package/dist/src/tui/session-console-app.js.map +1 -0
- package/dist/src/tui/session-host.d.ts +45 -0
- package/dist/src/tui/session-host.js +219 -0
- package/dist/src/tui/session-host.js.map +1 -0
- package/dist/src/tui/source-detail-card.d.ts +29 -0
- package/dist/src/tui/source-detail-card.js +45 -0
- package/dist/src/tui/source-detail-card.js.map +1 -0
- package/dist/src/tui/theme.d.ts +12 -0
- package/dist/src/tui/theme.js +12 -0
- package/dist/src/tui/theme.js.map +1 -1
- package/dist/src/tui/viewport.d.ts +1 -0
- package/dist/src/tui/viewport.js +23 -0
- package/dist/src/tui/viewport.js.map +1 -1
- package/dist/src/tui/wizard.js +37 -13
- package/dist/src/tui/wizard.js.map +1 -1
- package/dist/src/types.d.ts +177 -85
- package/dist/src/types.js +1 -0
- package/dist/src/types.js.map +1 -1
- package/dist/src/utils/agent-version.d.ts +10 -4
- package/dist/src/utils/agent-version.js +6 -8
- package/dist/src/utils/agent-version.js.map +1 -1
- package/dist/src/utils/artifact-plan.d.ts +17 -24
- package/dist/src/utils/artifact-plan.js +59 -436
- package/dist/src/utils/artifact-plan.js.map +1 -1
- package/dist/src/utils/artifact-renderer.d.ts +61 -89
- package/dist/src/utils/artifact-renderer.js +187 -364
- package/dist/src/utils/artifact-renderer.js.map +1 -1
- package/dist/src/utils/artifact-request.d.ts +21 -0
- package/dist/src/utils/artifact-request.js +57 -0
- package/dist/src/utils/artifact-request.js.map +1 -0
- package/dist/src/utils/artifact-sources.d.ts +4 -8
- package/dist/src/utils/artifact-sources.js +15 -6
- package/dist/src/utils/artifact-sources.js.map +1 -1
- package/dist/src/utils/aw-home-mutation-lock.js +2 -1
- package/dist/src/utils/aw-home-mutation-lock.js.map +1 -1
- package/dist/src/utils/bundle-layout.js +59 -173
- package/dist/src/utils/bundle-layout.js.map +1 -1
- package/dist/src/utils/catalog-capability-projection.d.ts +8 -0
- package/dist/src/utils/catalog-capability-projection.js +14 -0
- package/dist/src/utils/catalog-capability-projection.js.map +1 -0
- package/dist/src/utils/catalog-digests.d.ts +2 -9
- package/dist/src/utils/catalog-digests.js +7 -45
- package/dist/src/utils/catalog-digests.js.map +1 -1
- package/dist/src/utils/catalog-generation-error.d.ts +4 -1
- package/dist/src/utils/catalog-generation-error.js +2 -0
- package/dist/src/utils/catalog-generation-error.js.map +1 -1
- package/dist/src/utils/catalog-generation-resolver.d.ts +32 -3
- package/dist/src/utils/catalog-generation-resolver.js +182 -40
- package/dist/src/utils/catalog-generation-resolver.js.map +1 -1
- package/dist/src/utils/catalog-generation-service.d.ts +142 -2
- package/dist/src/utils/catalog-generation-service.js +1146 -171
- package/dist/src/utils/catalog-generation-service.js.map +1 -1
- package/dist/src/utils/catalog-generation-state.d.ts +5 -0
- package/dist/src/utils/catalog-generation-state.js +25 -1
- package/dist/src/utils/catalog-generation-state.js.map +1 -1
- package/dist/src/utils/catalog-generation-store.d.ts +29 -2
- package/dist/src/utils/catalog-generation-store.js +240 -36
- package/dist/src/utils/catalog-generation-store.js.map +1 -1
- package/dist/src/utils/catalog-manifest-v7.d.ts +5 -0
- package/dist/src/utils/{catalog-manifest-v6.js → catalog-manifest-v7.js} +23 -23
- package/dist/src/utils/{catalog-manifest-v6.js.map → catalog-manifest-v7.js.map} +1 -1
- package/dist/src/utils/catalog-operation-context.d.ts +27 -3
- package/dist/src/utils/catalog-operation-context.js +75 -4
- package/dist/src/utils/catalog-operation-context.js.map +1 -1
- package/dist/src/utils/catalog-public-error.js +7 -0
- package/dist/src/utils/catalog-public-error.js.map +1 -1
- package/dist/src/utils/catalog-runtime-projection.d.ts +4 -3
- package/dist/src/utils/catalog-runtime-projection.js.map +1 -1
- package/dist/src/utils/catalog-snapshot.d.ts +5 -2
- package/dist/src/utils/catalog-snapshot.js +4 -1
- package/dist/src/utils/catalog-snapshot.js.map +1 -1
- package/dist/src/utils/catalog-source-impact.d.ts +21 -0
- package/dist/src/utils/catalog-source-impact.js +344 -0
- package/dist/src/utils/catalog-source-impact.js.map +1 -0
- package/dist/src/utils/catalog-source-references.d.ts +22 -8
- package/dist/src/utils/catalog-source-references.js +457 -365
- package/dist/src/utils/catalog-source-references.js.map +1 -1
- package/dist/src/utils/catalog-sources.d.ts +14 -1
- package/dist/src/utils/catalog-sources.js +155 -11
- package/dist/src/utils/catalog-sources.js.map +1 -1
- package/dist/src/utils/codex-executable-discovery.d.ts +28 -0
- package/dist/src/utils/codex-executable-discovery.js +431 -0
- package/dist/src/utils/codex-executable-discovery.js.map +1 -0
- package/dist/src/utils/codex-manager.d.ts +23 -42
- package/dist/src/utils/codex-manager.js +79 -767
- package/dist/src/utils/codex-manager.js.map +1 -1
- package/dist/src/utils/codex-marketplace-path.d.ts +5 -0
- package/dist/src/utils/codex-marketplace-path.js +45 -0
- package/dist/src/utils/codex-marketplace-path.js.map +1 -0
- package/dist/src/utils/codex-native-observation.d.ts +55 -0
- package/dist/src/utils/codex-native-observation.js +198 -0
- package/dist/src/utils/codex-native-observation.js.map +1 -0
- package/dist/src/utils/codex-reconciler.d.ts +6 -14
- package/dist/src/utils/codex-reconciler.js +45 -50
- package/dist/src/utils/codex-reconciler.js.map +1 -1
- package/dist/src/utils/codex-shared-native.d.ts +28 -39
- package/dist/src/utils/codex-shared-native.js +92 -57
- package/dist/src/utils/codex-shared-native.js.map +1 -1
- package/dist/src/utils/codex-skill-staging.d.ts +4 -3
- package/dist/src/utils/codex-skill-staging.js.map +1 -1
- package/dist/src/utils/codex-skills-root.d.ts +4 -0
- package/dist/src/utils/codex-skills-root.js +25 -0
- package/dist/src/utils/codex-skills-root.js.map +1 -0
- package/dist/src/utils/codex-surface-analysis.d.ts +8 -3
- package/dist/src/utils/codex-surface-analysis.js +35 -62
- package/dist/src/utils/codex-surface-analysis.js.map +1 -1
- package/dist/src/utils/component-command-preparation.d.ts +31 -0
- package/dist/src/utils/component-command-preparation.js +127 -0
- package/dist/src/utils/component-command-preparation.js.map +1 -0
- package/dist/src/utils/component-gap.d.ts +4 -0
- package/dist/src/utils/component-gap.js +20 -0
- package/dist/src/utils/component-gap.js.map +1 -0
- package/dist/src/utils/component-resources.d.ts +51 -0
- package/dist/src/utils/component-resources.js +320 -0
- package/dist/src/utils/component-resources.js.map +1 -0
- package/dist/src/utils/config-platforms.d.ts +21 -0
- package/dist/src/utils/config-platforms.js +51 -0
- package/dist/src/utils/config-platforms.js.map +1 -0
- package/dist/src/utils/dynamic-skill-tree.d.ts +18 -6
- package/dist/src/utils/dynamic-skill-tree.js +33 -40
- package/dist/src/utils/dynamic-skill-tree.js.map +1 -1
- package/dist/src/utils/git-catalog-provider.d.ts +16 -0
- package/dist/src/utils/git-catalog-provider.js +112 -6
- package/dist/src/utils/git-catalog-provider.js.map +1 -1
- package/dist/src/utils/inventory-recovery-diagnostic.d.ts +4 -0
- package/dist/src/utils/inventory-recovery-diagnostic.js +15 -0
- package/dist/src/utils/inventory-recovery-diagnostic.js.map +1 -0
- package/dist/src/utils/local-marketplace.d.ts +17 -12
- package/dist/src/utils/local-marketplace.js +85 -195
- package/dist/src/utils/local-marketplace.js.map +1 -1
- package/dist/src/utils/managed-command-cli-review.d.ts +53 -0
- package/dist/src/utils/managed-command-cli-review.js +431 -0
- package/dist/src/utils/managed-command-cli-review.js.map +1 -0
- package/dist/src/utils/managed-command-closure.d.ts +14 -0
- package/dist/src/utils/managed-command-closure.js +156 -0
- package/dist/src/utils/managed-command-closure.js.map +1 -0
- package/dist/src/utils/managed-command-errors.d.ts +5 -0
- package/dist/src/utils/managed-command-errors.js +10 -0
- package/dist/src/utils/managed-command-errors.js.map +1 -0
- package/dist/src/utils/managed-command-materialization.d.ts +90 -0
- package/dist/src/utils/managed-command-materialization.js +375 -0
- package/dist/src/utils/managed-command-materialization.js.map +1 -0
- package/dist/src/utils/managed-command-preparation.d.ts +30 -0
- package/dist/src/utils/managed-command-preparation.js +39 -0
- package/dist/src/utils/managed-command-preparation.js.map +1 -0
- package/dist/src/utils/managed-command-review.d.ts +33 -0
- package/dist/src/utils/managed-command-review.js +80 -0
- package/dist/src/utils/managed-command-review.js.map +1 -0
- package/dist/src/utils/managed-command-runtime.d.ts +36 -0
- package/dist/src/utils/managed-command-runtime.js +126 -0
- package/dist/src/utils/managed-command-runtime.js.map +1 -0
- package/dist/src/utils/managed-command-snapshots.d.ts +24 -0
- package/dist/src/utils/managed-command-snapshots.js +89 -0
- package/dist/src/utils/managed-command-snapshots.js.map +1 -0
- package/dist/src/utils/managed-command-store.d.ts +141 -0
- package/dist/src/utils/managed-command-store.js +839 -0
- package/dist/src/utils/managed-command-store.js.map +1 -0
- package/dist/src/utils/multi-source-catalog.d.ts +4 -0
- package/dist/src/utils/multi-source-catalog.js +7 -3
- package/dist/src/utils/multi-source-catalog.js.map +1 -1
- package/dist/src/utils/native-cli-interruption.d.ts +8 -0
- package/dist/src/utils/native-cli-interruption.js +65 -0
- package/dist/src/utils/native-cli-interruption.js.map +1 -0
- package/dist/src/utils/native-cli.d.ts +37 -6
- package/dist/src/utils/native-cli.js +523 -60
- package/dist/src/utils/native-cli.js.map +1 -1
- package/dist/src/utils/native-demand.d.ts +29 -0
- package/dist/src/utils/native-demand.js +4 -0
- package/dist/src/utils/native-demand.js.map +1 -0
- package/dist/src/utils/native-tool-context.d.ts +17 -0
- package/dist/src/utils/native-tool-context.js +40 -0
- package/dist/src/utils/native-tool-context.js.map +1 -0
- package/dist/src/utils/native-tool-review.d.ts +8 -0
- package/dist/src/utils/native-tool-review.js +14 -0
- package/dist/src/utils/native-tool-review.js.map +1 -0
- package/dist/src/utils/orphan-marketplace-cleanup.js +0 -2
- package/dist/src/utils/orphan-marketplace-cleanup.js.map +1 -1
- package/dist/src/utils/ownership.d.ts +111 -11
- package/dist/src/utils/ownership.js +247 -126
- package/dist/src/utils/ownership.js.map +1 -1
- package/dist/src/utils/package-content.d.ts +7 -0
- package/dist/src/utils/package-content.js +70 -0
- package/dist/src/utils/package-content.js.map +1 -0
- package/dist/src/utils/path-catalog-provider.js +2 -0
- package/dist/src/utils/path-catalog-provider.js.map +1 -1
- package/dist/src/utils/paths.d.ts +1 -1
- package/dist/src/utils/paths.js +5 -2
- package/dist/src/utils/paths.js.map +1 -1
- package/dist/src/utils/platform-empty-state.d.ts +69 -0
- package/dist/src/utils/platform-empty-state.js +226 -0
- package/dist/src/utils/platform-empty-state.js.map +1 -0
- package/dist/src/utils/platform-support.d.ts +1 -1
- package/dist/src/utils/platform-support.js +1 -1
- package/dist/src/utils/platform-support.js.map +1 -1
- package/dist/src/utils/plugin-config-command-apply.d.ts +33 -0
- package/dist/src/utils/plugin-config-command-apply.js +142 -0
- package/dist/src/utils/plugin-config-command-apply.js.map +1 -0
- package/dist/src/utils/plugin-config-diagnostics.d.ts +16 -0
- package/dist/src/utils/plugin-config-diagnostics.js +44 -0
- package/dist/src/utils/plugin-config-diagnostics.js.map +1 -0
- package/dist/src/utils/plugin-config-impact.d.ts +75 -0
- package/dist/src/utils/plugin-config-impact.js +355 -0
- package/dist/src/utils/plugin-config-impact.js.map +1 -0
- package/dist/src/utils/plugin-config-references.d.ts +96 -0
- package/dist/src/utils/plugin-config-references.js +357 -0
- package/dist/src/utils/plugin-config-references.js.map +1 -0
- package/dist/src/utils/plugin-config-suggestion-runner.d.ts +83 -0
- package/dist/src/utils/plugin-config-suggestion-runner.js +308 -0
- package/dist/src/utils/plugin-config-suggestion-runner.js.map +1 -0
- package/dist/src/utils/plugin-config-suggestions.d.ts +50 -0
- package/dist/src/utils/plugin-config-suggestions.js +302 -0
- package/dist/src/utils/plugin-config-suggestions.js.map +1 -0
- package/dist/src/utils/plugin-config-write.d.ts +123 -31
- package/dist/src/utils/plugin-config-write.js +828 -399
- package/dist/src/utils/plugin-config-write.js.map +1 -1
- package/dist/src/utils/plugin-config.d.ts +192 -109
- package/dist/src/utils/plugin-config.js +970 -1150
- package/dist/src/utils/plugin-config.js.map +1 -1
- package/dist/src/utils/plugin-dependencies.d.ts +1 -1
- package/dist/src/utils/plugin-dependencies.js.map +1 -1
- package/dist/src/utils/plugin-scripts.d.ts +80 -127
- package/dist/src/utils/plugin-scripts.js +655 -524
- package/dist/src/utils/plugin-scripts.js.map +1 -1
- package/dist/src/utils/process-lock.js +14 -5
- package/dist/src/utils/process-lock.js.map +1 -1
- package/dist/src/utils/process-tree.d.ts +2 -2
- package/dist/src/utils/process-tree.js +1 -1
- package/dist/src/utils/process-tree.js.map +1 -1
- package/dist/src/utils/project-boundary.d.ts +11 -13
- package/dist/src/utils/project-boundary.js +28 -34
- package/dist/src/utils/project-boundary.js.map +1 -1
- package/dist/src/utils/rendered-contract.js +24 -1
- package/dist/src/utils/rendered-contract.js.map +1 -1
- package/dist/src/utils/runtime-config.d.ts +18 -0
- package/dist/src/utils/runtime-config.js +64 -0
- package/dist/src/utils/runtime-config.js.map +1 -0
- package/dist/src/utils/runtime-skill-closure.d.ts +2 -2
- package/dist/src/utils/runtime-skill-closure.js +47 -6
- package/dist/src/utils/runtime-skill-closure.js.map +1 -1
- package/dist/src/utils/safe-fs.d.ts +21 -0
- package/dist/src/utils/safe-fs.js +111 -0
- package/dist/src/utils/safe-fs.js.map +1 -0
- package/dist/src/utils/safe-operation-diagnostic.d.ts +15 -0
- package/dist/src/utils/safe-operation-diagnostic.js +33 -0
- package/dist/src/utils/safe-operation-diagnostic.js.map +1 -0
- package/dist/src/utils/sensitive-content.d.ts +4 -0
- package/dist/src/utils/sensitive-content.js +36 -0
- package/dist/src/utils/sensitive-content.js.map +1 -0
- package/dist/src/utils/skill-invocation-warning.d.ts +20 -0
- package/dist/src/utils/skill-invocation-warning.js +68 -0
- package/dist/src/utils/skill-invocation-warning.js.map +1 -0
- package/dist/src/utils/state-paths.d.ts +8 -3
- package/dist/src/utils/state-paths.js +53 -16
- package/dist/src/utils/state-paths.js.map +1 -1
- package/dist/src/utils/target-eligibility.d.ts +3 -3
- package/dist/src/utils/target-eligibility.js +11 -6
- package/dist/src/utils/target-eligibility.js.map +1 -1
- package/dist/src/utils/windows-claude-shim.d.ts +7 -0
- package/dist/src/utils/windows-claude-shim.js +10 -0
- package/dist/src/utils/windows-claude-shim.js.map +1 -0
- package/dist/src/utils/windows-npm-shim.d.ts +16 -0
- package/dist/src/utils/windows-npm-shim.js +155 -0
- package/dist/src/utils/windows-npm-shim.js.map +1 -0
- package/dist/vitest.config.js +106 -9
- package/dist/vitest.config.js.map +1 -1
- package/package.json +30 -21
- package/dist/src/commands/review-publication.d.ts +0 -99
- package/dist/src/commands/review-publication.js +0 -904
- package/dist/src/commands/review-publication.js.map +0 -1
- package/dist/src/commands/sync-command.d.ts +0 -21
- package/dist/src/commands/sync-command.js +0 -206
- package/dist/src/commands/sync-command.js.map +0 -1
- package/dist/src/portable/skills-cli.d.ts +0 -43
- package/dist/src/portable/skills-cli.js +0 -148
- package/dist/src/portable/skills-cli.js.map +0 -1
- package/dist/src/utils/catalog-manifest-v6.d.ts +0 -5
- package/dist/src/utils/lifecycle-active-store.d.ts +0 -147
- package/dist/src/utils/lifecycle-active-store.js +0 -1064
- package/dist/src/utils/lifecycle-active-store.js.map +0 -1
- package/dist/src/utils/plugin-intent-state.d.ts +0 -39
- package/dist/src/utils/plugin-intent-state.js +0 -325
- package/dist/src/utils/plugin-intent-state.js.map +0 -1
- package/dist/src/utils/slash-commands.d.ts +0 -1
- package/dist/src/utils/slash-commands.js +0 -2
- package/dist/src/utils/slash-commands.js.map +0 -1
|
@@ -1,17 +1,68 @@
|
|
|
1
1
|
import crypto from 'node:crypto';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import fs from 'fs-extra';
|
|
2
4
|
import { IMPLEMENTED_AW_CAPABILITIES } from '../commands/aw-capabilities.js';
|
|
5
|
+
import { projectCatalogCapabilityCompatibility } from './catalog-capability-projection.js';
|
|
3
6
|
import { CatalogGenerationError } from './catalog-generation-error.js';
|
|
4
7
|
import { readCatalogGenerationControlSnapshot, } from './catalog-generation-control-snapshot.js';
|
|
5
8
|
import { CatalogProviderCompatibilityError } from './catalog-public-error.js';
|
|
6
|
-
import { createCatalogStoreKey, readCatalogStoreEntry, } from './catalog-generation-store.js';
|
|
9
|
+
import { createCatalogStoreKey, readCatalogSnapshotLogicalIdentity, readCatalogStoreMetadata, readCatalogStoreEntry, resolveCatalogStoreLocation, } from './catalog-generation-store.js';
|
|
7
10
|
import { calculateCatalogSourceConfigFingerprint } from './catalog-source-identity.js';
|
|
8
|
-
import {
|
|
11
|
+
import { validatePluginManifest } from './manifest.js';
|
|
12
|
+
import { validateCatalogManifestV7 } from './catalog-manifest-v7.js';
|
|
13
|
+
import { calculateFileDigest } from './bundle-integrity.js';
|
|
14
|
+
import { calculateCatalogEntryArtifactDigest, calculateCatalogEntryContentDigest, } from './catalog-digests.js';
|
|
15
|
+
import { CURRENT_CATALOG_MANIFEST_FILE } from '../constants.js';
|
|
16
|
+
export function createCatalogPreparationStoreKey(binding) {
|
|
17
|
+
return JSON.stringify([binding.sourceId, binding.sourceIdentity, binding.sourceConfigFingerprint,
|
|
18
|
+
binding.logicalIdentity, binding.requestedRef, binding.resolvedCommit, binding.manifestDigest, binding.snapshotDigest, binding.snapshotPath]);
|
|
19
|
+
}
|
|
20
|
+
export async function readValidatedCatalogGenerationStoreEntry(options) {
|
|
21
|
+
const key = options.preparationBinding
|
|
22
|
+
? createCatalogPreparationStoreKey({ ...options.preparationBinding, snapshotPath: resolveCatalogStoreLocation(options).snapshotRoot })
|
|
23
|
+
: createCatalogStoreKey(options.logicalIdentity, options.snapshotDigest);
|
|
24
|
+
const cached = options.validatedStoreEntries?.get(key);
|
|
25
|
+
if (cached)
|
|
26
|
+
return cached;
|
|
27
|
+
let pending = options.validatingStoreEntries?.get(key);
|
|
28
|
+
if (!pending) {
|
|
29
|
+
pending = readCatalogStoreEntry({
|
|
30
|
+
logicalIdentity: options.logicalIdentity,
|
|
31
|
+
snapshotDigest: options.snapshotDigest,
|
|
32
|
+
env: options.env,
|
|
33
|
+
reuseTransport: options.preparationBinding !== undefined,
|
|
34
|
+
});
|
|
35
|
+
options.validatingStoreEntries?.set(key, pending);
|
|
36
|
+
}
|
|
37
|
+
try {
|
|
38
|
+
const entry = await pending;
|
|
39
|
+
options.validatedStoreEntries?.set(key, entry);
|
|
40
|
+
return entry;
|
|
41
|
+
}
|
|
42
|
+
finally {
|
|
43
|
+
if (options.validatingStoreEntries?.get(key) === pending) {
|
|
44
|
+
options.validatingStoreEntries.delete(key);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
async function assertRegularDirectory(value, label) {
|
|
49
|
+
const stats = await fs.lstat(value);
|
|
50
|
+
if (!stats.isDirectory() || stats.isSymbolicLink()) {
|
|
51
|
+
throw new Error(`${label} must be a regular directory.`);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
async function assertRegularFile(value, label) {
|
|
55
|
+
const stats = await fs.lstat(value);
|
|
56
|
+
if (!stats.isFile() || stats.isSymbolicLink()) {
|
|
57
|
+
throw new Error(`${label} must be a regular file.`);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
9
60
|
async function resolveFromState(options) {
|
|
10
61
|
if (!options.active) {
|
|
11
62
|
throw new CatalogGenerationError({
|
|
12
63
|
code: 'catalogGenerationUnavailable',
|
|
13
64
|
sourceId: options.source.id,
|
|
14
|
-
message: `Catalog source "${options.source.id}" has no Active snapshot. Run aw
|
|
65
|
+
message: `Catalog source "${options.source.id}" has no Active snapshot. Run aw source sync ${options.source.id}.`,
|
|
15
66
|
});
|
|
16
67
|
}
|
|
17
68
|
const fingerprint = calculateCatalogSourceConfigFingerprint(options.source);
|
|
@@ -20,62 +71,51 @@ async function resolveFromState(options) {
|
|
|
20
71
|
throw new CatalogGenerationError({
|
|
21
72
|
code: 'catalogGenerationIdentityMismatch',
|
|
22
73
|
sourceId: options.source.id,
|
|
23
|
-
message: `Active Catalog snapshot for source "${options.source.id}" does not match the current source configuration. Run aw
|
|
74
|
+
message: `Active Catalog snapshot for source "${options.source.id}" does not match the current source configuration. Run aw source sync ${options.source.id}.`,
|
|
24
75
|
});
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
if (options.validatingStoreEntries?.get(storeKey) === pending) {
|
|
43
|
-
options.validatingStoreEntries.delete(storeKey);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
76
|
+
const binding = {
|
|
77
|
+
sourceId: options.source.id,
|
|
78
|
+
sourceConfigFingerprint: options.active.sourceConfigFingerprint,
|
|
79
|
+
sourceIdentity: options.active.sourceIdentity,
|
|
80
|
+
logicalIdentity: options.active.logicalIdentity,
|
|
81
|
+
resolvedCommit: options.active.resolvedCommit,
|
|
82
|
+
manifestDigest: options.active.manifestDigest,
|
|
83
|
+
snapshotDigest: options.active.snapshotDigest,
|
|
84
|
+
};
|
|
85
|
+
const entry = await readValidatedCatalogGenerationStoreEntry({
|
|
86
|
+
logicalIdentity: binding.logicalIdentity,
|
|
87
|
+
snapshotDigest: binding.snapshotDigest,
|
|
88
|
+
env: options.env,
|
|
89
|
+
validatedStoreEntries: options.validatedStoreEntries,
|
|
90
|
+
validatingStoreEntries: options.validatingStoreEntries,
|
|
91
|
+
preparationBinding: options.reuseTransport ? { ...binding, requestedRef: options.active.requestedRef } : undefined,
|
|
92
|
+
});
|
|
47
93
|
if (entry.metadata.manifestDigest !== options.active.manifestDigest) {
|
|
48
94
|
throw new CatalogGenerationError({
|
|
49
95
|
code: 'catalogGenerationIdentityMismatch',
|
|
50
96
|
sourceId: options.source.id,
|
|
51
|
-
message: `Active Catalog snapshot for source "${options.source.id}" does not match store metadata. Run aw
|
|
97
|
+
message: `Active Catalog snapshot for source "${options.source.id}" does not match store metadata. Run aw source sync ${options.source.id}.`,
|
|
52
98
|
});
|
|
53
99
|
}
|
|
54
|
-
const
|
|
55
|
-
if (
|
|
100
|
+
const compatibility = projectCatalogCapabilityCompatibility(entry.metadata.requiredAwCapabilities);
|
|
101
|
+
if (options.requireCompatibility && compatibility.state === 'unsupported') {
|
|
56
102
|
throw new CatalogProviderCompatibilityError({
|
|
57
103
|
sourceId: options.source.id,
|
|
58
|
-
requiredCapabilities:
|
|
59
|
-
missingCapabilities:
|
|
104
|
+
requiredCapabilities: compatibility.requiredCapabilities,
|
|
105
|
+
missingCapabilities: compatibility.missingCapabilities,
|
|
60
106
|
availableCapabilities: IMPLEMENTED_AW_CAPABILITIES,
|
|
61
107
|
});
|
|
62
108
|
}
|
|
63
109
|
return {
|
|
64
|
-
|
|
65
|
-
sourceConfigFingerprint: options.active.sourceConfigFingerprint,
|
|
66
|
-
sourceIdentity: options.active.sourceIdentity,
|
|
67
|
-
logicalIdentity: options.active.logicalIdentity,
|
|
110
|
+
...binding,
|
|
68
111
|
catalogVersion: entry.metadata.catalogVersion,
|
|
69
|
-
|
|
70
|
-
manifestDigest: options.active.manifestDigest,
|
|
71
|
-
snapshotDigest: options.active.snapshotDigest,
|
|
72
|
-
storeKey,
|
|
112
|
+
storeKey: createCatalogStoreKey(binding.logicalIdentity, binding.snapshotDigest),
|
|
73
113
|
snapshotPath: entry.snapshotRoot,
|
|
74
114
|
manifest: entry.manifest,
|
|
75
115
|
active: options.active,
|
|
76
116
|
};
|
|
77
117
|
}
|
|
78
|
-
|
|
118
|
+
async function resolveActiveCatalogGenerationWithPolicy(options, requireCompatibility) {
|
|
79
119
|
const env = options.env ?? process.env;
|
|
80
120
|
const control = await readCatalogGenerationControlSnapshot({ env });
|
|
81
121
|
const source = control.configSnapshot.config.sources.find((entry) => entry.id === options.sourceId);
|
|
@@ -90,9 +130,109 @@ export async function resolveActiveCatalogGeneration(options) {
|
|
|
90
130
|
sourceIdentity: control.sourceIdentities[source.id],
|
|
91
131
|
active: control.generationState.sources[source.id]?.active,
|
|
92
132
|
env,
|
|
133
|
+
requireCompatibility,
|
|
93
134
|
validatedStoreEntries: options.validatedStoreEntries,
|
|
94
135
|
validatingStoreEntries: options.validatingStoreEntries,
|
|
136
|
+
reuseTransport: options.reuseTransport,
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
export async function resolveActiveCatalogGeneration(options) {
|
|
140
|
+
return resolveActiveCatalogGenerationWithPolicy(options, true);
|
|
141
|
+
}
|
|
142
|
+
/** @internal Complete Active evidence for freshness checks before consumer compatibility gating. */
|
|
143
|
+
export async function resolveValidatedActiveCatalogGeneration(options) {
|
|
144
|
+
return resolveActiveCatalogGenerationWithPolicy(options, false);
|
|
145
|
+
}
|
|
146
|
+
export async function resolveActiveCatalogPluginShallow(options) {
|
|
147
|
+
const env = options.env ?? process.env;
|
|
148
|
+
const control = await readCatalogGenerationControlSnapshot({ env });
|
|
149
|
+
const source = control.configSnapshot.config.sources.find((entry) => entry.id === options.sourceId);
|
|
150
|
+
const active = control.generationState.sources[options.sourceId]?.active;
|
|
151
|
+
if (!source || !active)
|
|
152
|
+
throw new Error('Selected Catalog source has no Active snapshot.');
|
|
153
|
+
const sourceIdentity = control.sourceIdentities[source.id];
|
|
154
|
+
if (active.sourceIdentity !== sourceIdentity
|
|
155
|
+
|| active.sourceConfigFingerprint !== calculateCatalogSourceConfigFingerprint(source)) {
|
|
156
|
+
throw new Error('Active Catalog snapshot does not match the selected source configuration.');
|
|
157
|
+
}
|
|
158
|
+
const location = resolveCatalogStoreLocation({
|
|
159
|
+
logicalIdentity: active.logicalIdentity,
|
|
160
|
+
snapshotDigest: active.snapshotDigest,
|
|
161
|
+
env,
|
|
162
|
+
});
|
|
163
|
+
const metadata = await readCatalogStoreMetadata({
|
|
164
|
+
logicalIdentity: active.logicalIdentity,
|
|
165
|
+
snapshotDigest: active.snapshotDigest,
|
|
166
|
+
env,
|
|
95
167
|
});
|
|
168
|
+
if (metadata.manifestDigest !== active.manifestDigest
|
|
169
|
+
|| metadata.logicalIdentity !== active.logicalIdentity
|
|
170
|
+
|| metadata.snapshotDigest !== active.snapshotDigest) {
|
|
171
|
+
throw new Error('Active Catalog snapshot does not match its content-addressed store metadata.');
|
|
172
|
+
}
|
|
173
|
+
await assertRegularDirectory(location.storeRootDir, 'Catalog store root');
|
|
174
|
+
await assertRegularDirectory(location.logicalIdentityDirectory, 'Catalog logical identity store');
|
|
175
|
+
await assertRegularDirectory(location.entryDir, 'Catalog store entry');
|
|
176
|
+
await assertRegularDirectory(location.snapshotRoot, 'Catalog snapshot');
|
|
177
|
+
if (await readCatalogSnapshotLogicalIdentity(location.snapshotRoot) !== active.logicalIdentity) {
|
|
178
|
+
throw new Error('Catalog snapshot logical identity does not match Active state.');
|
|
179
|
+
}
|
|
180
|
+
const manifestPath = path.join(location.snapshotRoot, CURRENT_CATALOG_MANIFEST_FILE);
|
|
181
|
+
await assertRegularFile(manifestPath, 'Catalog manifest');
|
|
182
|
+
if (await calculateFileDigest(manifestPath) !== active.manifestDigest) {
|
|
183
|
+
throw new Error('Catalog manifest does not match Active state.');
|
|
184
|
+
}
|
|
185
|
+
const rawManifest = await fs.readJson(manifestPath);
|
|
186
|
+
const rawEntries = Array.isArray(rawManifest.entries) ? rawManifest.entries : [];
|
|
187
|
+
const rawEntry = rawEntries.find((entry) => entry !== null
|
|
188
|
+
&& typeof entry === 'object'
|
|
189
|
+
&& !Array.isArray(entry)
|
|
190
|
+
&& entry.name === options.pluginName);
|
|
191
|
+
if (!rawEntry)
|
|
192
|
+
throw new Error('Selected plugin is absent from the local Active snapshot.');
|
|
193
|
+
const manifest = validateCatalogManifestV7({ ...rawManifest, entries: [rawEntry] });
|
|
194
|
+
if (manifest.catalogVersion !== metadata.catalogVersion
|
|
195
|
+
|| manifest.channel !== metadata.channel
|
|
196
|
+
|| JSON.stringify(manifest.requires.aw.capabilities ?? [])
|
|
197
|
+
!== JSON.stringify(metadata.requiredAwCapabilities)) {
|
|
198
|
+
throw new Error('Catalog manifest does not match store metadata.');
|
|
199
|
+
}
|
|
200
|
+
const entry = manifest.entries[0];
|
|
201
|
+
const pluginsRoot = path.join(location.snapshotRoot, 'plugins');
|
|
202
|
+
const pluginRoot = path.resolve(pluginsRoot, entry.name);
|
|
203
|
+
if (path.dirname(pluginRoot) !== path.resolve(pluginsRoot)) {
|
|
204
|
+
throw new Error('Selected plugin path escapes the Catalog snapshot.');
|
|
205
|
+
}
|
|
206
|
+
await assertRegularDirectory(pluginsRoot, 'Catalog plugins root');
|
|
207
|
+
await assertRegularDirectory(pluginRoot, 'Selected plugin bundle');
|
|
208
|
+
const pluginManifestPath = path.join(pluginRoot, '.agents-plugin', 'plugin.json');
|
|
209
|
+
await assertRegularFile(pluginManifestPath, 'Selected plugin manifest');
|
|
210
|
+
const rawPluginManifest = await fs.readJson(pluginManifestPath);
|
|
211
|
+
const shallowManifestInput = { ...rawPluginManifest };
|
|
212
|
+
delete shallowManifestInput.dependencies;
|
|
213
|
+
const normalizedPluginManifest = validatePluginManifest(pluginRoot, shallowManifestInput);
|
|
214
|
+
const plugin = {
|
|
215
|
+
rootDir: pluginRoot,
|
|
216
|
+
manifestPath: pluginManifestPath,
|
|
217
|
+
manifest: normalizedPluginManifest,
|
|
218
|
+
};
|
|
219
|
+
if (plugin.manifest.name !== options.pluginName || plugin.manifest.version !== entry.version) {
|
|
220
|
+
throw new Error('Selected plugin bundle identity does not match its Catalog entry.');
|
|
221
|
+
}
|
|
222
|
+
const artifactDigest = await calculateCatalogEntryArtifactDigest(pluginRoot);
|
|
223
|
+
const contentDigest = await calculateCatalogEntryContentDigest(pluginRoot);
|
|
224
|
+
if (artifactDigest !== entry.artifactDigest
|
|
225
|
+
|| contentDigest !== entry.contentDigest) {
|
|
226
|
+
throw new Error('Selected plugin bundle does not match its Catalog entry.');
|
|
227
|
+
}
|
|
228
|
+
return {
|
|
229
|
+
sourceId: source.id,
|
|
230
|
+
sourceIdentity,
|
|
231
|
+
logicalIdentity: active.logicalIdentity,
|
|
232
|
+
catalogVersion: metadata.catalogVersion,
|
|
233
|
+
snapshotPath: location.snapshotRoot,
|
|
234
|
+
plugin,
|
|
235
|
+
};
|
|
96
236
|
}
|
|
97
237
|
export function calculateCatalogGenerationSetDigest(configDigest, primarySourceId, sources) {
|
|
98
238
|
const identity = sources.map((source) => ({
|
|
@@ -128,8 +268,10 @@ export async function resolveCatalogGenerationSet(options = {}) {
|
|
|
128
268
|
sourceIdentity: control.sourceIdentities[source.id],
|
|
129
269
|
active: control.generationState.sources[source.id]?.active,
|
|
130
270
|
env,
|
|
271
|
+
requireCompatibility: true,
|
|
131
272
|
validatedStoreEntries: options.validatedStoreEntries,
|
|
132
273
|
validatingStoreEntries: options.validatingStoreEntries,
|
|
274
|
+
reuseTransport: options.reuseTransport,
|
|
133
275
|
})));
|
|
134
276
|
const sources = resolved.map(({ active: _active, ...source }) => source);
|
|
135
277
|
const primarySourceId = control.configSnapshot.config.sources.find((source) => source.primary).id;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog-generation-resolver.js","sourceRoot":"","sources":["../../../src/utils/catalog-generation-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AASjC,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EACL,oCAAoC,GAErC,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,iCAAiC,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,EACL,qBAAqB,EACrB,qBAAqB,GAEtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,uCAAuC,EAAE,MAAM,8BAA8B,CAAC;AACvF,OAAO,EAA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AC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,CAAE,CAAC,EAAE,CAAC;IACnG,OAAO;QACL,YAAY,EAAE,OAAO,CAAC,cAAc,CAAC,MAAM;QAC3C,eAAe;QACf,OAAO;QACP,mBAAmB,EAAE,mCAAmC,CACtD,OAAO,CAAC,cAAc,CAAC,MAAM,EAC7B,eAAe,EACf,OAAO,CACR;KACF,CAAC;AACJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"catalog-generation-resolver.js","sourceRoot":"","sources":["../../../src/utils/catalog-generation-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,MAAM,UAAU,CAAC;AAU1B,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,qCAAqC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EACL,oCAAoC,GAErC,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,iCAAiC,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,EACL,qBAAqB,EACrB,kCAAkC,EAClC,wBAAwB,EACxB,qBAAqB,EACrB,2BAA2B,GAE5B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,uCAAuC,EAAE,MAAM,8BAA8B,CAAC;AACvF,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EACL,mCAAmC,EACnC,kCAAkC,GACnC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,6BAA6B,EAAE,MAAM,iBAAiB,CAAC;AAm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nD,CAAC;IACF,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC;QAC3E,MAAM;QACN,cAAc,EAAE,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC,EAAE,CAAE;QACpD,MAAM,EAAE,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,MAAM;QAC1D,GAAG;QACH,oBAAoB,EAAE,IAAI;QAC1B,qBAAqB,EAAE,OAAO,CAAC,qBAAqB;QACpD,sBAAsB,EAAE,OAAO,CAAC,sBAAsB;QACtD,cAAc,EAAE,OAAO,CAAC,cAAc;KACvC,CAAC,CAAC,CAAC,CAAC;IACL,MAAM,OAAO,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;IACzE,MAAM,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,CAAE,CAAC,EAAE,CAAC;IACnG,OAAO;QACL,YAAY,EAAE,OAAO,CAAC,cAAc,CAAC,MAAM;QAC3C,eAAe;QACf,OAAO;QACP,mBAAmB,EAAE,mCAAmC,CACtD,OAAO,CAAC,cAAc,CAAC,MAAM,EAC7B,eAAe,EACf,OAAO,CACR;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,17 +1,44 @@
|
|
|
1
|
-
import type { CatalogGenerationActiveV1, CatalogGenerationLastSyncV1, CatalogGenerationSyncResult } from '../types.js';
|
|
1
|
+
import type { CatalogActivationMode, CatalogGenerationActiveV1, CatalogGenerationCandidateComparison, CatalogGenerationCandidateEvidence, CatalogGenerationLastSyncV1, CatalogGenerationSyncResult, CatalogManifestV7, CatalogSource, CatalogSourceResolution } from '../types.js';
|
|
2
2
|
import { type CatalogStoreEntry } from './catalog-generation-store.js';
|
|
3
3
|
export { removeCatalogSourceGenerationState } from './catalog-generation-state.js';
|
|
4
4
|
import { catalogGitProviderInternal } from './git-catalog-provider.js';
|
|
5
5
|
import { catalogPathProviderInternal } from './path-catalog-provider.js';
|
|
6
|
+
import { type CatalogCapabilityCompatibility } from './catalog-capability-projection.js';
|
|
7
|
+
import { inspectCatalogSourceImpact } from './catalog-source-impact.js';
|
|
6
8
|
export interface CatalogGenerationProviderSet {
|
|
7
9
|
git: typeof catalogGitProviderInternal.resolve;
|
|
8
10
|
path: typeof catalogPathProviderInternal.resolve;
|
|
9
11
|
}
|
|
10
12
|
export interface CatalogGenerationServiceRuntime {
|
|
11
13
|
providers?: CatalogGenerationProviderSet;
|
|
14
|
+
probeGitRef?: typeof catalogGitProviderInternal.probeRef;
|
|
12
15
|
now?: () => Date;
|
|
13
16
|
validatedStoreEntries?: Map<string, CatalogStoreEntry>;
|
|
14
17
|
validatingStoreEntries?: Map<string, Promise<CatalogStoreEntry>>;
|
|
18
|
+
afterCandidateResolved?: () => Promise<void>;
|
|
19
|
+
afterRecoveryStorePublished?: () => Promise<void>;
|
|
20
|
+
afterInactiveStoreRepairPrepared?: () => Promise<void>;
|
|
21
|
+
inspectSourceImpact?: typeof inspectCatalogSourceImpact;
|
|
22
|
+
}
|
|
23
|
+
export interface CatalogGenerationProbeResult {
|
|
24
|
+
sourceId: string;
|
|
25
|
+
candidate: CatalogGenerationCandidateEvidence;
|
|
26
|
+
manifest: CatalogManifestV7;
|
|
27
|
+
}
|
|
28
|
+
export type CatalogGenerationFreshnessState = 'current' | 'updateAvailable' | 'localChangesAvailable' | 'versionConflict' | 'rollbackDetected' | 'incompatible' | 'fixed';
|
|
29
|
+
export interface CatalogGenerationFreshnessResult {
|
|
30
|
+
sourceId: string;
|
|
31
|
+
state: CatalogGenerationFreshnessState;
|
|
32
|
+
activeVersion?: string;
|
|
33
|
+
activeResolvedCommit?: string;
|
|
34
|
+
candidate?: CatalogGenerationCandidateEvidence;
|
|
35
|
+
errorCode?: 'catalogLogicalIdentityChanged';
|
|
36
|
+
reusableCandidate?: CatalogGenerationReusableCandidate;
|
|
37
|
+
}
|
|
38
|
+
export interface CatalogGenerationReusableCandidate {
|
|
39
|
+
probe: CatalogGenerationProbeResult;
|
|
40
|
+
sourceConfigFingerprint: string;
|
|
41
|
+
activeStoreKey: string | null;
|
|
15
42
|
}
|
|
16
43
|
export interface CatalogGenerationStatusEntry {
|
|
17
44
|
sourceId: string;
|
|
@@ -23,21 +50,134 @@ export interface CatalogGenerationStatusEntry {
|
|
|
23
50
|
channel?: 'latest' | 'beta';
|
|
24
51
|
storeKey?: string;
|
|
25
52
|
lastSync?: CatalogGenerationLastSyncV1;
|
|
53
|
+
compatibility: CatalogCapabilityCompatibility | null;
|
|
26
54
|
errorCode?: string;
|
|
27
55
|
}
|
|
28
56
|
export interface CatalogGenerationStatusPayload {
|
|
29
|
-
catalogGenerationStatusSchemaVersion:
|
|
57
|
+
catalogGenerationStatusSchemaVersion: 2;
|
|
30
58
|
sources: CatalogGenerationStatusEntry[];
|
|
31
59
|
}
|
|
60
|
+
export declare function compareCatalogGenerationCandidates(expected: CatalogGenerationCandidateEvidence, actual: CatalogGenerationCandidateEvidence): CatalogGenerationCandidateComparison;
|
|
61
|
+
export declare function compareCatalogGenerationFreshness(options: {
|
|
62
|
+
sourceType: CatalogSource['type'];
|
|
63
|
+
active?: {
|
|
64
|
+
logicalIdentity: string;
|
|
65
|
+
catalogVersion: string;
|
|
66
|
+
snapshotDigest: string;
|
|
67
|
+
resolvedCommit: string;
|
|
68
|
+
};
|
|
69
|
+
candidate: CatalogGenerationCandidateEvidence;
|
|
70
|
+
}): Omit<CatalogGenerationFreshnessResult, 'sourceId'>;
|
|
71
|
+
/** Keep a validated temporary candidate available for read-only operation preparation. */
|
|
72
|
+
export declare function withCatalogSourceCandidate<T>(options: {
|
|
73
|
+
sourceId: string;
|
|
74
|
+
cliVersion: string;
|
|
75
|
+
env?: NodeJS.ProcessEnv;
|
|
76
|
+
signal?: AbortSignal;
|
|
77
|
+
runtime?: CatalogGenerationServiceRuntime;
|
|
78
|
+
}, action: (value: {
|
|
79
|
+
resolution: CatalogSourceResolution;
|
|
80
|
+
candidate: CatalogGenerationCandidateEvidence;
|
|
81
|
+
}) => Promise<T>): Promise<T>;
|
|
82
|
+
export declare function probeCatalogSourceGeneration(options: {
|
|
83
|
+
sourceId: string;
|
|
84
|
+
source?: CatalogSource;
|
|
85
|
+
cliVersion: string;
|
|
86
|
+
env?: NodeJS.ProcessEnv;
|
|
87
|
+
signal?: AbortSignal;
|
|
88
|
+
runtime?: CatalogGenerationServiceRuntime;
|
|
89
|
+
}): Promise<CatalogGenerationProbeResult>;
|
|
90
|
+
export declare function probeCatalogSourceRepairGeneration(options: {
|
|
91
|
+
sourceId: string;
|
|
92
|
+
cliVersion: string;
|
|
93
|
+
expectedActive?: CatalogGenerationActiveV1;
|
|
94
|
+
expectedConfigDigest?: string;
|
|
95
|
+
env?: NodeJS.ProcessEnv;
|
|
96
|
+
signal?: AbortSignal;
|
|
97
|
+
runtime?: CatalogGenerationServiceRuntime;
|
|
98
|
+
}): Promise<CatalogGenerationProbeResult>;
|
|
99
|
+
export declare function probeCatalogSourceFreshness(options: {
|
|
100
|
+
sourceId: string;
|
|
101
|
+
cliVersion: string;
|
|
102
|
+
env?: NodeJS.ProcessEnv;
|
|
103
|
+
signal?: AbortSignal;
|
|
104
|
+
fullValidation?: boolean;
|
|
105
|
+
runtime?: CatalogGenerationServiceRuntime;
|
|
106
|
+
}): Promise<CatalogGenerationFreshnessResult>;
|
|
107
|
+
export declare function recordCatalogGenerationCheck(options: {
|
|
108
|
+
probe: CatalogGenerationProbeResult;
|
|
109
|
+
env?: NodeJS.ProcessEnv;
|
|
110
|
+
signal?: AbortSignal;
|
|
111
|
+
runtime?: CatalogGenerationServiceRuntime;
|
|
112
|
+
}): Promise<CatalogGenerationSyncResult>;
|
|
113
|
+
export declare function activateCatalogSourceGeneration(options: {
|
|
114
|
+
sourceId: string;
|
|
115
|
+
cliVersion: string;
|
|
116
|
+
cwd?: string;
|
|
117
|
+
activationMode?: CatalogActivationMode;
|
|
118
|
+
impactConfirmed?: boolean;
|
|
119
|
+
impactMode?: 'generation' | 'identityChange';
|
|
120
|
+
expectedImpactDigest?: string;
|
|
121
|
+
expectedCandidate?: CatalogGenerationCandidateEvidence;
|
|
122
|
+
expectedActive?: CatalogGenerationActiveV1 | null;
|
|
123
|
+
expectedConfigDigest?: string;
|
|
124
|
+
env?: NodeJS.ProcessEnv;
|
|
125
|
+
signal?: AbortSignal;
|
|
126
|
+
runtime?: CatalogGenerationServiceRuntime;
|
|
127
|
+
}): Promise<CatalogGenerationSyncResult>;
|
|
128
|
+
export declare function recoverCatalogGenerationStateAndActivate(options: {
|
|
129
|
+
sourceId: string;
|
|
130
|
+
cliVersion: string;
|
|
131
|
+
cwd?: string;
|
|
132
|
+
impactConfirmed?: boolean;
|
|
133
|
+
expectedImpactDigest?: string;
|
|
134
|
+
expectedCandidate: CatalogGenerationCandidateEvidence;
|
|
135
|
+
env?: NodeJS.ProcessEnv;
|
|
136
|
+
signal?: AbortSignal;
|
|
137
|
+
runtime?: CatalogGenerationServiceRuntime;
|
|
138
|
+
}): Promise<CatalogGenerationSyncResult>;
|
|
139
|
+
export declare function repairCatalogSourceGeneration(options: {
|
|
140
|
+
sourceId: string;
|
|
141
|
+
cliVersion: string;
|
|
142
|
+
cwd?: string;
|
|
143
|
+
expectedCandidate?: CatalogGenerationCandidateEvidence;
|
|
144
|
+
expectedActive?: CatalogGenerationActiveV1 | null;
|
|
145
|
+
expectedConfigDigest?: string;
|
|
146
|
+
env?: NodeJS.ProcessEnv;
|
|
147
|
+
signal?: AbortSignal;
|
|
148
|
+
runtime?: CatalogGenerationServiceRuntime;
|
|
149
|
+
}): Promise<CatalogGenerationSyncResult>;
|
|
150
|
+
export declare function replaceDamagedCatalogSourceGeneration(options: {
|
|
151
|
+
sourceId: string;
|
|
152
|
+
cliVersion: string;
|
|
153
|
+
cwd?: string;
|
|
154
|
+
expectedCandidate?: CatalogGenerationCandidateEvidence;
|
|
155
|
+
expectedActive: CatalogGenerationActiveV1;
|
|
156
|
+
expectedConfigDigest: string;
|
|
157
|
+
impactConfirmed?: boolean;
|
|
158
|
+
expectedImpactDigest?: string;
|
|
159
|
+
env?: NodeJS.ProcessEnv;
|
|
160
|
+
signal?: AbortSignal;
|
|
161
|
+
runtime?: CatalogGenerationServiceRuntime;
|
|
162
|
+
}): Promise<CatalogGenerationSyncResult>;
|
|
32
163
|
export declare function syncCatalogSourceGeneration(options: {
|
|
33
164
|
sourceId: string;
|
|
34
165
|
cliVersion: string;
|
|
166
|
+
cwd?: string;
|
|
35
167
|
check?: boolean;
|
|
168
|
+
impactConfirmed?: boolean;
|
|
169
|
+
replaceDamaged?: boolean;
|
|
36
170
|
env?: NodeJS.ProcessEnv;
|
|
37
171
|
signal?: AbortSignal;
|
|
38
172
|
runtime?: CatalogGenerationServiceRuntime;
|
|
173
|
+
expectedCandidate?: CatalogGenerationCandidateEvidence;
|
|
174
|
+
expectedActive?: CatalogGenerationActiveV1 | null;
|
|
175
|
+
expectedConfigDigest?: string;
|
|
176
|
+
expectedImpactDigest?: string;
|
|
39
177
|
}): Promise<CatalogGenerationSyncResult>;
|
|
40
178
|
export declare function readCatalogGenerationStatus(options?: {
|
|
41
179
|
sourceId?: string;
|
|
42
180
|
env?: NodeJS.ProcessEnv;
|
|
181
|
+
validatedStoreEntries?: Map<string, CatalogStoreEntry>;
|
|
182
|
+
validatingStoreEntries?: Map<string, Promise<CatalogStoreEntry>>;
|
|
43
183
|
}): Promise<CatalogGenerationStatusPayload>;
|