@lesliechan721/aw 0.1.0-beta.9 → 0.1.0-beta.90
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 +396 -1997
- 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
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { getPlatformFeatureRegistry } from '@lesliechan721/aw-plugin-core/manifest';
|
|
2
|
+
import { isDeliveryCapabilityGap, isDeliveryCapabilityGapReason } from '../utils/component-gap.js';
|
|
3
|
+
import { SKILL_INVOCATION_NOTICE } from '../utils/skill-invocation-warning.js';
|
|
4
|
+
import { redactString } from './redact.js';
|
|
5
|
+
export function projectComponentGap(gap) {
|
|
6
|
+
return { id: gap.id, kind: gap.kind, ...(gap.name ? { name: gap.name } : {}),
|
|
7
|
+
...(gap.componentId ? { componentId: gap.componentId } : {}), reasonCode: gap.reasonCode,
|
|
8
|
+
requiredFeatures: gap.requiredFeatures.map(({ feature, values }) => ({ feature, ...(values ? { values: [...values] } : {}) })) };
|
|
9
|
+
}
|
|
10
|
+
export function projectComponentDelivery(value) {
|
|
11
|
+
return {
|
|
12
|
+
...(value.satisfaction ? { satisfaction: value.satisfaction } : {}),
|
|
13
|
+
...(value.installedComponentCount !== undefined && Number.isSafeInteger(value.installedComponentCount) && value.installedComponentCount >= 0
|
|
14
|
+
? { installedComponentCount: value.installedComponentCount } : {}),
|
|
15
|
+
...(value.installedComponentIds ? { installedComponentIds: [...value.installedComponentIds] } : {}),
|
|
16
|
+
...(value.componentGaps ? { componentGaps: value.componentGaps.map((gap) => ({
|
|
17
|
+
...projectComponentGap(gap), providerPluginId: gap.providerPluginId, agent: gap.agent, renderScope: gap.renderScope,
|
|
18
|
+
})) } : {}),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export function componentGapOutcome(gap, installedIds) {
|
|
22
|
+
if (!isDeliveryCapabilityGap(gap))
|
|
23
|
+
return 'unmet';
|
|
24
|
+
return gap.componentId && installedIds?.includes(gap.componentId) ? 'limited' : 'skipped';
|
|
25
|
+
}
|
|
26
|
+
export function hasComponentDeliveryNotice(value) {
|
|
27
|
+
return value.componentGaps?.some(isDeliveryCapabilityGap) ?? false;
|
|
28
|
+
}
|
|
29
|
+
export function safeComponentIdentity(value) {
|
|
30
|
+
// Component IDs come from plugin authors; history accepts label-like IDs only.
|
|
31
|
+
return /^[A-Za-z0-9][A-Za-z0-9._:-]{0,199}$/u.test(value) ? value : '<component>';
|
|
32
|
+
}
|
|
33
|
+
export function componentGapFeatures(gap, separator = '=') {
|
|
34
|
+
const registry = getPlatformFeatureRegistry();
|
|
35
|
+
return gap.requiredFeatures.flatMap(({ feature, values }) => {
|
|
36
|
+
if (!Object.hasOwn(registry, feature))
|
|
37
|
+
return [];
|
|
38
|
+
const allowedValues = values?.filter((value) => registry[feature]?.values?.includes(value));
|
|
39
|
+
return [allowedValues?.length ? `${feature}${separator}${allowedValues.join(',')}` : feature];
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
export function componentGapDescription(gap, featureSeparator = '=') {
|
|
43
|
+
return [safeComponentIdentity(gap.componentId ?? gap.id), gap.kind,
|
|
44
|
+
/^[A-Za-z][A-Za-z0-9._-]*$/u.test(gap.reasonCode) ? gap.reasonCode : 'unknown', ...componentGapFeatures(gap, featureSeparator)].join(' · ');
|
|
45
|
+
}
|
|
46
|
+
export const PI_AGENT_CONSUMER_NOTICE = 'piAgentConsumerUnavailable';
|
|
47
|
+
export const PREVIOUS_DEPLOYMENT_RETAINED = 'previousDeploymentRetained';
|
|
48
|
+
export const INVOCATION_POLICY_NOT_APPLIED = 'invocationPolicyNotApplied';
|
|
49
|
+
export const HOST_PERMISSION_ADDITIONAL_IMPACT = 'hostPermissionAdditionalImpact';
|
|
50
|
+
export const GROK_ADDITIONAL_RULES_UNVERIFIED = 'grok-additional-rules-unverified';
|
|
51
|
+
export const COMMAND_ROUTE_UNREACHABLE = 'command-route-unreachable';
|
|
52
|
+
export const GROK_ARGUMENT_BOUNDARIES_UNAVAILABLE = 'grok-argument-boundaries-unavailable';
|
|
53
|
+
export const GROK_WRAPPER_TARGET_NOT_COVERED = 'grok-wrapper-target-not-covered';
|
|
54
|
+
export const PERMISSION_ACTIONS = ['allow', 'ask', 'deny', 'sandbox'];
|
|
55
|
+
export function safeSkippedPermissionActions(value) {
|
|
56
|
+
return Array.isArray(value) ? PERMISSION_ACTIONS.filter((action) => value.includes(action)) : [];
|
|
57
|
+
}
|
|
58
|
+
export function isSkippedPermissionReason(reasonCode) {
|
|
59
|
+
return isDeliveryCapabilityGapReason(reasonCode) || ['not-offered', 'config-disabled', 'scope-excluded', 'permission-prefix-unrepresentable', 'permission-rule-conflict', 'permission-config-path-unconfirmed',
|
|
60
|
+
'opencode-windows-command-syntax', 'grok-project-trust-required', 'grok-shell-pattern-unrepresentable', 'grok-shell-prefix-normalized',
|
|
61
|
+
'antigravity-cli-global-only', 'antigravity-windows-command-syntax', 'antigravity-config-path-unconfirmed', 'antigravity-command-matching-unverified', 'antigravity-strict-mode',
|
|
62
|
+
COMMAND_ROUTE_UNREACHABLE, GROK_ARGUMENT_BOUNDARIES_UNAVAILABLE, GROK_WRAPPER_TARGET_NOT_COVERED].includes(reasonCode);
|
|
63
|
+
}
|
|
64
|
+
export function isDeliveryNoticeCode(code) {
|
|
65
|
+
return code === PI_AGENT_CONSUMER_NOTICE || code === PREVIOUS_DEPLOYMENT_RETAINED
|
|
66
|
+
|| code === INVOCATION_POLICY_NOT_APPLIED || code === HOST_PERMISSION_ADDITIONAL_IMPACT;
|
|
67
|
+
}
|
|
68
|
+
export function isInstallationAdvisory(code) {
|
|
69
|
+
return code === PI_AGENT_CONSUMER_NOTICE || code === INVOCATION_POLICY_NOT_APPLIED
|
|
70
|
+
|| code === HOST_PERMISSION_ADDITIONAL_IMPACT || code === SKILL_INVOCATION_NOTICE;
|
|
71
|
+
}
|
|
72
|
+
export function hostPermissionImpactMessage(message) {
|
|
73
|
+
return (message && redactString(message.replace(/[\p{C}]/gu, ' ')).trim()) || 'The configured permission can also affect other commands.';
|
|
74
|
+
}
|
|
75
|
+
export function publicHostPermissionResource(resource) {
|
|
76
|
+
return redactString(resource.replace(/[\p{C}]/gu, ''));
|
|
77
|
+
}
|
|
78
|
+
export function deliveryNoticeMessage(code, detail, field) {
|
|
79
|
+
if (code === HOST_PERMISSION_ADDITIONAL_IMPACT)
|
|
80
|
+
return hostPermissionImpactMessage();
|
|
81
|
+
if (code === PREVIOUS_DEPLOYMENT_RETAINED)
|
|
82
|
+
return 'Previous output was retained and may still be active. Inspect it before retrying.';
|
|
83
|
+
if (code === INVOCATION_POLICY_NOT_APPLIED) {
|
|
84
|
+
const actions = safeSkippedPermissionActions(detail?.skippedPermissionActions);
|
|
85
|
+
const position = field ? ` for ${safeComponentIdentity(field)}` : '';
|
|
86
|
+
if (detail?.reasonCode === COMMAND_ROUTE_UNREACHABLE && actions.length) {
|
|
87
|
+
return `Skipped invocation policy actions (${actions.join(', ')})${position} because a matching command route is unavailable.`;
|
|
88
|
+
}
|
|
89
|
+
if (detail?.reasonCode === 'permission-rule-conflict')
|
|
90
|
+
return detail.path
|
|
91
|
+
? `OpenCode Project rules may still relax invocation policy actions (${actions.join(', ')})${position}. Review the Project settings.`
|
|
92
|
+
: `Invocation policy actions (${actions.join(', ')})${position} could not be fully applied because of overlapping permission rules.`;
|
|
93
|
+
if (detail?.reasonCode === 'permission-config-path-unconfirmed')
|
|
94
|
+
return `Skipped invocation policy actions (${actions.join(', ')})${position}. Set an absolute OPENCODE_CONFIG_DIR to identify the host configuration.`;
|
|
95
|
+
if (detail?.reasonCode === 'opencode-windows-command-syntax')
|
|
96
|
+
return `Skipped invocation policy actions (${actions.join(', ')})${position} because their prefix has special syntax in PowerShell or cmd.exe.`;
|
|
97
|
+
if (detail?.reasonCode === 'grok-project-trust-required')
|
|
98
|
+
return `Skipped invocation policy actions (${actions.join(', ')})${position}. Review this project's trust in Grok and sync again.`;
|
|
99
|
+
if (detail?.reasonCode === 'grok-shell-pattern-unrepresentable')
|
|
100
|
+
return `Skipped invocation policy actions (${actions.join(', ')})${position} because the prefix contains characters Grok cannot use as a shell pattern.`;
|
|
101
|
+
if (detail?.reasonCode === 'grok-shell-prefix-normalized')
|
|
102
|
+
return `Skipped invocation policy actions (${actions.join(', ')})${position} because Grok cannot determine the inner command to allow.`;
|
|
103
|
+
if (detail?.reasonCode === GROK_WRAPPER_TARGET_NOT_COVERED) {
|
|
104
|
+
return `Invocation policy actions (${actions.join(', ')})${position} cover only the wrapper without an inner command. `
|
|
105
|
+
+ 'Grok checks the inner command separately if additional arguments name one.';
|
|
106
|
+
}
|
|
107
|
+
if (detail?.reasonCode === 'antigravity-config-path-unconfirmed')
|
|
108
|
+
return `Skipped invocation policy actions (${actions.join(', ')})${position}. The Antigravity CLI Global settings path could not be identified.`;
|
|
109
|
+
if (detail?.reasonCode === 'antigravity-windows-command-syntax')
|
|
110
|
+
return `Skipped invocation policy actions (${actions.join(', ')})${position} because Windows shell processing may change the command words.`;
|
|
111
|
+
if (detail?.reasonCode === 'antigravity-cli-global-only')
|
|
112
|
+
return `Skipped invocation policy actions (${actions.join(', ')})${position}. Antigravity command permissions require the CLI Global settings.`;
|
|
113
|
+
if (detail?.reasonCode === 'antigravity-command-matching-unverified')
|
|
114
|
+
return `Skipped invocation policy actions (${actions.join(', ')})${position} because equivalent command-prefix decisions in Antigravity CLI remain unverified.`;
|
|
115
|
+
if (detail?.reasonCode === 'antigravity-strict-mode')
|
|
116
|
+
return `Skipped invocation policy actions (${actions.join(', ')})${position} because Antigravity CLI is configured for strict tool review.`;
|
|
117
|
+
if (detail?.reasonCode === 'permission-prefix-unrepresentable')
|
|
118
|
+
return `Skipped invocation policy actions (${actions.join(', ')})${position} because AW could not verify an exact command-prefix match on this host.`;
|
|
119
|
+
if (detail?.reasonCode === GROK_ARGUMENT_BOUNDARIES_UNAVAILABLE) {
|
|
120
|
+
return `Skipped invocation policy actions (${actions.join(', ')})${position}. `
|
|
121
|
+
+ 'Grok Build joins command arguments into one string, so a space inside an argument looks like a space between arguments.';
|
|
122
|
+
}
|
|
123
|
+
return actions.length ? `Skipped invocation policy actions (${actions.join(', ')})${position}.`
|
|
124
|
+
: `Some invocation policy actions were skipped${position}.`;
|
|
125
|
+
}
|
|
126
|
+
const reasonCode = detail?.reasonCode;
|
|
127
|
+
if (reasonCode === 'piAgentPackageSourceUnsupported') {
|
|
128
|
+
return 'Pi roles are installed. The detected pi-subagents version cannot read this Pi package source. Enable a compatible extension such as @tintinweb/pi-subagents and reload Pi.';
|
|
129
|
+
}
|
|
130
|
+
const action = reasonCode === 'piAgentConsumerDisabled' ? 'Enable a compatible role extension, then reload Pi.'
|
|
131
|
+
: reasonCode === 'piAgentPackageAccessDenied' ? 'Review the extension’s access to this package, then reload Pi.'
|
|
132
|
+
: reasonCode === 'piProjectTrustRequired' ? 'Review the project’s trust settings in Pi.'
|
|
133
|
+
: 'Enable a compatible role extension, such as pi-subagents or @tintinweb/pi-subagents, then reload Pi.';
|
|
134
|
+
const observation = reasonCode === 'piAgentConsumerMissing' ? 'No compatible role extension was detected.'
|
|
135
|
+
: 'Pi has no confirmed active role executor for this package.';
|
|
136
|
+
return `Pi roles are installed. ${observation} ${action}`;
|
|
137
|
+
}
|
|
138
|
+
//# sourceMappingURL=component-delivery.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-delivery.js","sourceRoot":"","sources":["../../../src/output/component-delivery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAuB,MAAM,wCAAwC,CAAC;AAGzG,OAAO,EAAE,uBAAuB,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AACnG,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI3C,MAAM,UAAU,mBAAmB,CAAC,GAAmB;IACrD,OAAO,EAAE,EAAE,EAAE,GAAG,CAAC,EAAE,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC1E,GAAG,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,UAAU,EAAE,GAAG,CAAC,UAAU;QACxF,gBAAgB,EAAE,GAAG,CAAC,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AG;YAC7F,CAAC,CAAC,8CAA8C,QAAQ,GAAG,CAAC;IAChE,CAAC;IACD,MAAM,UAAU,GAAG,MAAM,EAAE,UAAU,CAAC;IACtC,IAAI,UAAU,KAAK,iCAAiC,EAAE,CAAC;QACrD,OAAO,4KAA4K,CAAC;IACtL,CAAC;IACD,MAAM,MAAM,GAAG,UAAU,KAAK,yBAAyB,CAAC,CAAC,CAAC,qDAAqD;QAC7G,CAAC,CAAC,UAAU,KAAK,4BAA4B,CAAC,CAAC,CAAC,gEAAgE;YAC9G,CAAC,CAAC,UAAU,KAAK,wBAAwB,CAAC,CAAC,CAAC,4CAA4C;gBACtF,CAAC,CAAC,sGAAsG,CAAC;IAC/G,MAAM,WAAW,GAAG,UAAU,KAAK,wBAAwB,CAAC,CAAC,CAAC,4CAA4C;QACxG,CAAC,CAAC,4DAA4D,CAAC;IACjE,OAAO,2BAA2B,WAAW,IAAI,MAAM,EAAE,CAAC;AAC5D,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { CommandProducerResult } from '../types.js';
|
|
2
|
+
import type { FrozenDeploymentPlan } from '../platforms/contracts.js';
|
|
3
|
+
import { type SkillInvocationControl } from '../utils/skill-invocation-warning.js';
|
|
4
|
+
import { type PermissionAction } from './component-delivery.js';
|
|
5
|
+
export declare const CLI_OUTPUT_SCHEMA_VERSION = 2;
|
|
6
|
+
export interface PermissionRuleChange {
|
|
7
|
+
change: 'add' | 'remove';
|
|
8
|
+
effect: Exclude<PermissionAction, 'sandbox'>;
|
|
9
|
+
resource: string;
|
|
10
|
+
}
|
|
11
|
+
export interface Diagnostic {
|
|
12
|
+
code: string;
|
|
13
|
+
severity: 'info' | 'warning' | 'error';
|
|
14
|
+
message: string;
|
|
15
|
+
subject?: {
|
|
16
|
+
pluginId?: string;
|
|
17
|
+
sourceId?: string;
|
|
18
|
+
target?: string;
|
|
19
|
+
scope?: 'user' | 'project';
|
|
20
|
+
field?: string;
|
|
21
|
+
};
|
|
22
|
+
detail?: {
|
|
23
|
+
reasonCode: string;
|
|
24
|
+
path?: string;
|
|
25
|
+
configKey?: string;
|
|
26
|
+
fieldKeys?: string[];
|
|
27
|
+
skillInvocationControls?: SkillInvocationControl[];
|
|
28
|
+
skippedPermissionActions?: PermissionAction[];
|
|
29
|
+
permissionResource?: string;
|
|
30
|
+
permissionAction?: Exclude<PermissionAction, 'sandbox'>;
|
|
31
|
+
permissionChanges?: PermissionRuleChange[];
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export type NextAction = {
|
|
35
|
+
kind: 'command';
|
|
36
|
+
argv: string[];
|
|
37
|
+
reason: string;
|
|
38
|
+
requiresConfirmation: boolean;
|
|
39
|
+
} | {
|
|
40
|
+
kind: 'manual';
|
|
41
|
+
message: string;
|
|
42
|
+
};
|
|
43
|
+
export type PublicCommandProducerResult = Omit<CommandProducerResult, 'errors' | 'recoveryActions'> & {
|
|
44
|
+
blockerCodes: string[];
|
|
45
|
+
};
|
|
46
|
+
export declare function commandPackageRecoveryActions(results?: readonly CommandProducerResult[]): NextAction[];
|
|
47
|
+
export interface Confirmation {
|
|
48
|
+
required: boolean;
|
|
49
|
+
provided: boolean;
|
|
50
|
+
effects: Array<{
|
|
51
|
+
code: string;
|
|
52
|
+
message: string;
|
|
53
|
+
subject?: Diagnostic['subject'];
|
|
54
|
+
impact: 'selected-scope' | 'user-wide' | 'shared' | 'unknown';
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
57
|
+
export declare function inactiveCommandPermissionEffects(deployment: FrozenDeploymentPlan): Confirmation['effects'];
|
|
58
|
+
export interface CommandResult<T extends object = Record<string, unknown>> {
|
|
59
|
+
schemaVersion: typeof CLI_OUTPUT_SCHEMA_VERSION;
|
|
60
|
+
command: string | null;
|
|
61
|
+
status: 'success' | 'partial' | 'blocked' | 'failed';
|
|
62
|
+
data: T | Record<string, never>;
|
|
63
|
+
diagnostics: Diagnostic[];
|
|
64
|
+
nextActions: NextAction[];
|
|
65
|
+
}
|
|
66
|
+
export declare function commandResult<T extends object>(command: string | null, data: T | Record<string, never>, options?: Partial<Pick<CommandResult<T>, 'status' | 'diagnostics' | 'nextActions'>>): CommandResult<T>;
|
|
67
|
+
export declare function publicExitCode(result: CommandResult<object>, argumentError?: boolean): number;
|
|
68
|
+
export declare function safePublicMessage(message: string, code?: string): string;
|
|
69
|
+
export declare function renderPublicResult(result: CommandResult<object>, verbose?: boolean): string;
|
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
import { reviewedInactivePermissions } from '../utils/managed-command-review.js';
|
|
2
|
+
import { describeNativeToolClosure } from '../utils/native-tool-review.js';
|
|
3
|
+
import { describeManagedCommandRouteReview, describeManagedCommandRuntimeConfigChanges, } from '../utils/managed-command-cli-review.js';
|
|
4
|
+
import { renderPluginCapabilities } from '../commands/plugin-capabilities.js';
|
|
5
|
+
import { redactString } from './redact.js';
|
|
6
|
+
import { SKILL_INVOCATION_NOTICE } from '../utils/skill-invocation-warning.js';
|
|
7
|
+
import { componentGapFeatures, componentGapOutcome, hasComponentDeliveryNotice, HOST_PERMISSION_ADDITIONAL_IMPACT, isDeliveryNoticeCode, isInstallationAdvisory, safeComponentIdentity } from './component-delivery.js';
|
|
8
|
+
export const CLI_OUTPUT_SCHEMA_VERSION = 2;
|
|
9
|
+
const targetContentLabels = {
|
|
10
|
+
absent: 'Missing',
|
|
11
|
+
satisfied: 'Ready',
|
|
12
|
+
drifted: 'Needs sync',
|
|
13
|
+
conflict: 'Conflict',
|
|
14
|
+
unknown: 'Unconfirmed',
|
|
15
|
+
};
|
|
16
|
+
function componentGapText(gap, installedIds, position) {
|
|
17
|
+
const labels = { skipped: 'Skipped component', limited: 'Partially supported component', unmet: 'Unmet component' };
|
|
18
|
+
const status = componentGapOutcome(gap, installedIds);
|
|
19
|
+
const details = [safeComponentIdentity(gap.reasonCode), ...componentGapFeatures(gap)].join('; ');
|
|
20
|
+
return `${labels[status]}${position ? ` (${position}):` : ''} ${safeComponentIdentity(gap.componentId ?? gap.id)}: ${details}`;
|
|
21
|
+
}
|
|
22
|
+
function componentDeliveryLines(delivery) {
|
|
23
|
+
const { installedComponentCount, installedComponentIds, componentGaps } = delivery;
|
|
24
|
+
return [
|
|
25
|
+
...(installedComponentCount !== undefined ? [` Installed components: ${installedComponentCount}`] : []),
|
|
26
|
+
...(installedComponentIds?.length ? [` Installed: ${installedComponentIds.map(safeComponentIdentity).join(', ')}`] : []),
|
|
27
|
+
...(componentGaps ?? []).map((gap) => ` ${componentGapText(gap, installedComponentIds, `${gap.providerPluginId} / ${gap.agent} / ${gap.renderScope}`)}`),
|
|
28
|
+
];
|
|
29
|
+
}
|
|
30
|
+
export function commandPackageRecoveryActions(results = []) {
|
|
31
|
+
const actions = new Map();
|
|
32
|
+
for (const result of results) {
|
|
33
|
+
for (const [verb, selector] of [['sync', result.selector], ['remove', result.selector], ['remove', result.packageId]]) {
|
|
34
|
+
const argv = ['aw', 'command', 'package', verb, selector];
|
|
35
|
+
const command = argv.join(' ');
|
|
36
|
+
const forced = verb === 'remove' && result.recoveryActions.some((entry) => entry === `${command} --force` || entry === `${command} --force --yes`);
|
|
37
|
+
if (!forced && !result.recoveryActions.some((entry) => entry === command || entry === `${command} --yes`))
|
|
38
|
+
continue;
|
|
39
|
+
actions.set(command, { kind: 'command', argv: forced ? [...argv, '--force'] : argv, requiresConfirmation: true,
|
|
40
|
+
reason: verb === 'sync' ? 'Repair the affected command package after resolving its diagnostics.'
|
|
41
|
+
: 'Review removal of the shared command package. This affects all projects using it.' });
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return [...actions.values()];
|
|
45
|
+
}
|
|
46
|
+
function commandPackageLines(result) {
|
|
47
|
+
const { selector, action, availability, state, subcommands, hasFallback, blockerCodes } = result;
|
|
48
|
+
return [
|
|
49
|
+
`Command package ${selector}: ${action}, ${availability} (${state})${blockerCodes.length ? ` [${blockerCodes.join(', ')}]` : ''}`,
|
|
50
|
+
...(result.invocationSelectors ?? [selector]).flatMap((invocationSelector) => [
|
|
51
|
+
...subcommands.map((name) => ` aw command run ${invocationSelector} -- ${name}`),
|
|
52
|
+
...(hasFallback ? [` Fallback · aw command run ${invocationSelector} --`] : []),
|
|
53
|
+
]),
|
|
54
|
+
];
|
|
55
|
+
}
|
|
56
|
+
export function inactiveCommandPermissionEffects(deployment) {
|
|
57
|
+
const { plugin, platform, scope } = deployment.binding;
|
|
58
|
+
return reviewedInactivePermissions(deployment.binding, deployment.evidence.managedCommandReview).map(({ action, invocationSelector, argsPrefix }) => ({
|
|
59
|
+
code: 'retainInactiveCommandRestriction',
|
|
60
|
+
message: `Keep the ${action} rule for ${['aw', 'command', 'run', invocationSelector, '--', ...argsPrefix].join(' ')}. No handler is currently reachable for this prefix.`,
|
|
61
|
+
impact: 'selected-scope',
|
|
62
|
+
subject: { pluginId: plugin.pluginId, target: platform, scope: scope.kind },
|
|
63
|
+
}));
|
|
64
|
+
}
|
|
65
|
+
export function commandResult(command, data, options = {}) {
|
|
66
|
+
return { schemaVersion: CLI_OUTPUT_SCHEMA_VERSION, command, status: options.status ?? 'success', data, diagnostics: options.diagnostics ?? [], nextActions: options.nextActions ?? [] };
|
|
67
|
+
}
|
|
68
|
+
export function publicExitCode(result, argumentError = false) {
|
|
69
|
+
return result.status === 'success' ? 0 : result.status === 'partial' ? 4 : result.status === 'blocked' ? 3 : argumentError ? 2 : 1;
|
|
70
|
+
}
|
|
71
|
+
export function safePublicMessage(message, code = 'commandFailed') {
|
|
72
|
+
const messages = { confirmationRequired: 'Repeat the command with --yes to confirm the listed effects.' };
|
|
73
|
+
return messages[code] ?? redactString(message);
|
|
74
|
+
}
|
|
75
|
+
export function renderPublicResult(result, verbose = false) {
|
|
76
|
+
const data = result.data;
|
|
77
|
+
const configMutation = result.command?.startsWith('plugin.config.') && typeof data.configWrite === 'string';
|
|
78
|
+
const lines = [`${result.status.toUpperCase()} ${(result.command ?? 'Command').replaceAll('.', ' ')}`];
|
|
79
|
+
if (result.command === 'plugin.config.suggestions' && Array.isArray(data.items)) {
|
|
80
|
+
lines.push(`${Array.isArray(data.fieldPath) ? data.fieldPath.join('.') : ''} · ${data.profile} · ${data.status}`);
|
|
81
|
+
if (typeof data.message === 'string')
|
|
82
|
+
lines.push(data.message);
|
|
83
|
+
const summarizePatch = (patch) => [
|
|
84
|
+
...(Object.keys(patch.set ?? {}).length ? [`set ${JSON.stringify(patch.set)}`] : []),
|
|
85
|
+
...(patch.unset?.length ? [`unset ${patch.unset.join(', ')}`] : []),
|
|
86
|
+
].join(' · ');
|
|
87
|
+
const renderItem = (item, indent = '') => {
|
|
88
|
+
const detail = 'value' in item ? JSON.stringify(item.value) : summarizePatch(item);
|
|
89
|
+
return `${indent}- ${item.title}${detail ? ` (${detail})` : ''}${item.recommended ? ' · recommended' : ''}${item.description ? ` · ${item.description}` : ''}`;
|
|
90
|
+
};
|
|
91
|
+
for (const item of data.items) {
|
|
92
|
+
lines.push(renderItem(item));
|
|
93
|
+
if (!('value' in item) && item.children) {
|
|
94
|
+
if (item.children.title)
|
|
95
|
+
lines.push(` ${item.children.title}`);
|
|
96
|
+
for (const child of item.children.items)
|
|
97
|
+
lines.push(renderItem(child, ' '));
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
const request = data.request;
|
|
102
|
+
if (request) {
|
|
103
|
+
if (request.plugins?.length)
|
|
104
|
+
lines.push(`Plugins: ${request.plugins.join(', ')}`);
|
|
105
|
+
if (request.scope)
|
|
106
|
+
lines.push(`Scope: ${request.scope}`);
|
|
107
|
+
if (request.context)
|
|
108
|
+
lines.push(`Context: ${request.context}`);
|
|
109
|
+
if (request.targets?.length)
|
|
110
|
+
lines.push(`Targets: ${request.targets.join(', ')}`);
|
|
111
|
+
if (request.mode === 'requirements-only')
|
|
112
|
+
lines.push('Deployment: not requested');
|
|
113
|
+
if (request.mode === 'outputs-only')
|
|
114
|
+
lines.push('Requirements: kept', 'Configuration: kept', 'A later sync can deploy the outputs again.');
|
|
115
|
+
}
|
|
116
|
+
if (data.version)
|
|
117
|
+
lines.push(`Version: ${String(data.version)}`);
|
|
118
|
+
if (data.awVersion)
|
|
119
|
+
lines.push(`AW version: ${String(data.awVersion)}`);
|
|
120
|
+
if (result.command === 'dev.catalog.publish.plan' || result.command === 'dev.catalog.publish.apply') {
|
|
121
|
+
for (const [key, label] of [['state', 'Publication state'], ['planDigest', 'Plan digest'], ['remote', 'Remote'], ['branch', 'Branch'], ['tag', 'Tag']]) {
|
|
122
|
+
if (typeof data[key] === 'string')
|
|
123
|
+
lines.push(`${label}: ${data[key]}`);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
if (result.command === 'dev.plugin.capabilities' && data.capabilities)
|
|
127
|
+
lines.push(...renderPluginCapabilities(data));
|
|
128
|
+
else if (Array.isArray(data.capabilities))
|
|
129
|
+
lines.push(`Capabilities: ${data.capabilities.join(', ')}`);
|
|
130
|
+
if (configMutation) {
|
|
131
|
+
if (!data.pluginId && typeof data.plugin === 'string')
|
|
132
|
+
lines.push(`plugin: ${data.plugin}`);
|
|
133
|
+
const context = data.context;
|
|
134
|
+
if (context && typeof context === 'object' && context.context) {
|
|
135
|
+
lines.push(`context: ${context.context}`);
|
|
136
|
+
if (context.projectRoot)
|
|
137
|
+
lines.push(`Project: ${context.projectRoot}`);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
for (const key of ['pluginId', 'sourceId', 'scope', 'context', 'platform', 'catalogVersion', 'configWrite', 'outputRoot', 'out', 'sourceBindingPath', 'specDirectory', 'metadataPath', 'workspaceRoot', 'removed', 'deleted', 'resetDisposition', 'name', 'description', 'outcome', 'activeChanged']) {
|
|
141
|
+
const value = data[key];
|
|
142
|
+
if (value !== undefined && value !== null && typeof value !== 'object')
|
|
143
|
+
lines.push(`${key}: ${String(value)}`);
|
|
144
|
+
}
|
|
145
|
+
if (typeof data.allSatisfied === 'boolean' || data.allSatisfied === null)
|
|
146
|
+
lines.push(`All satisfied: ${data.allSatisfied === null ? 'unknown' : data.allSatisfied ? 'yes' : 'no'}`);
|
|
147
|
+
if (data.counts && typeof data.counts === 'object')
|
|
148
|
+
lines.push(`Status counts: ${Object.entries(data.counts).map(([key, value]) => `${key}=${String(value)}`).join(', ')}`);
|
|
149
|
+
const coverage = data.coverage;
|
|
150
|
+
if (coverage)
|
|
151
|
+
lines.push(`Coverage: ${(coverage.scopes ?? []).join(', ')}; other projects ${coverage.otherProjects ?? 'unobserved'}`);
|
|
152
|
+
if (coverage?.requestComplete !== undefined)
|
|
153
|
+
lines.push(`Requested selection: ${coverage.requestComplete ? 'complete' : 'incomplete'}`);
|
|
154
|
+
const configFields = data.fields;
|
|
155
|
+
if (Array.isArray(configFields))
|
|
156
|
+
for (const field of configFields) {
|
|
157
|
+
const display = (value) => value === null || value === undefined ? '<unset>' : typeof value === 'string' ? value : JSON.stringify(value);
|
|
158
|
+
lines.push(`${field.key}: ${field.valueState ?? 'unknown'} (source=${field.sourceLayer ?? 'none'}, effective=${display(field.effectiveValue)})`);
|
|
159
|
+
if (field.storedValue !== undefined && field.storedSourceLayer)
|
|
160
|
+
lines.push(` stored=${field.storedSourceLayer} ${display(field.storedValue)}`);
|
|
161
|
+
}
|
|
162
|
+
else if (configFields && typeof configFields === 'object')
|
|
163
|
+
for (const [key, field] of Object.entries(configFields))
|
|
164
|
+
lines.push(`${key}: ${field.type ?? 'value'}${field.required ? ' (required)' : ''}${field.sensitive ? ' (sensitive)' : ''}${field.title ? ` — ${field.title}` : ''}`);
|
|
165
|
+
const apply = data.apply;
|
|
166
|
+
if (apply) {
|
|
167
|
+
lines.push(`Apply: ${apply.state ?? 'unknown'}${apply.reason ? ` (${apply.reason})` : ''}`);
|
|
168
|
+
for (const entry of apply.targetResults ?? []) {
|
|
169
|
+
const { target, state, partialDelivery, errorCode, satisfaction } = entry;
|
|
170
|
+
const position = `${target.pluginId ?? target.pluginName} ${target.platform}/${target.scope}`;
|
|
171
|
+
const advisory = result.diagnostics.some(({ code, subject, severity }) => severity === 'warning' && isInstallationAdvisory(code)
|
|
172
|
+
&& subject?.pluginId === (target.pluginId ?? target.pluginName) && subject.target === target.platform && subject.scope === target.scope);
|
|
173
|
+
const label = state === 'completed' && satisfaction === 'not-applicable' ? 'No applicable components'
|
|
174
|
+
: state === 'completed' && (hasComponentDeliveryNotice(entry) || advisory) ? 'Installed with notices' : state;
|
|
175
|
+
lines.push(`${position}: ${label}${partialDelivery ? ' (some outputs verified)' : ''}${errorCode ? ` [${errorCode}]` : ''}`);
|
|
176
|
+
lines.push(...componentDeliveryLines(entry));
|
|
177
|
+
}
|
|
178
|
+
for (const entry of apply.commandResults ?? [])
|
|
179
|
+
lines.push(...commandPackageLines(entry));
|
|
180
|
+
}
|
|
181
|
+
for (const entry of (data.commandResults ?? []))
|
|
182
|
+
lines.push(...commandPackageLines(entry));
|
|
183
|
+
const snapshot = data.snapshot;
|
|
184
|
+
if (snapshot?.state)
|
|
185
|
+
lines.push(`Snapshot: ${snapshot.state}${verbose && snapshot.path ? ` (${snapshot.path})` : ''}`);
|
|
186
|
+
const policy = data.policy;
|
|
187
|
+
if (policy) {
|
|
188
|
+
lines.push(`Targets: ${policy.targets?.join(', ') || 'none'}`);
|
|
189
|
+
for (const entry of policy.exclusions ?? [])
|
|
190
|
+
lines.push(`Excluded: ${entry.plugin} / ${entry.target}`);
|
|
191
|
+
}
|
|
192
|
+
for (const target of (data.availability ?? [])) {
|
|
193
|
+
lines.push(`${target.selected ? '[x]' : '[ ]'} ${target.displayName} (${target.id}): ${target.availability}`);
|
|
194
|
+
for (const product of target.installations)
|
|
195
|
+
lines.push(` ${product.product}: ${product.availability}; version ${product.version ?? 'unknown'}${product.reasonCodes.length ? `; ${product.reasonCodes.join(', ')}` : ''}${product.entry ? `; ${product.entry.executable ?? product.entry.configRoot ?? product.entry.root}` : ''}`);
|
|
196
|
+
for (const recovery of target.recovery)
|
|
197
|
+
lines.push(` ${recovery}`);
|
|
198
|
+
}
|
|
199
|
+
if (Array.isArray(data.targets))
|
|
200
|
+
lines.push(`Supported targets: ${data.targets.join(', ')}`);
|
|
201
|
+
if (Array.isArray(data.dependencies))
|
|
202
|
+
lines.push(`Dependencies: ${data.dependencies.join(', ') || 'none'}`);
|
|
203
|
+
for (const change of (data.nativeToolChanges ?? []))
|
|
204
|
+
for (const phase of ['before', 'after']) {
|
|
205
|
+
const closure = change[phase];
|
|
206
|
+
if (closure)
|
|
207
|
+
for (const detail of describeNativeToolClosure(closure))
|
|
208
|
+
lines.push(`Native tool ${change.producer.sourceId}/${change.producer.pluginName} ${phase}: ${detail}`);
|
|
209
|
+
}
|
|
210
|
+
const changes = data.changes;
|
|
211
|
+
if (changes && !Array.isArray(changes) && typeof changes === 'object')
|
|
212
|
+
for (const [key, value] of Object.entries(changes))
|
|
213
|
+
if (value !== 'none')
|
|
214
|
+
lines.push(`${key}: ${String(value)}`);
|
|
215
|
+
for (const key of ['items', 'sources', 'entries', 'commands', 'packages', 'orphanedPackages', 'targetResults', 'checks', 'inventory', 'extraObserved', 'skills']) {
|
|
216
|
+
if (key === 'items' && result.command === 'plugin.config.suggestions')
|
|
217
|
+
continue;
|
|
218
|
+
const entries = data[key];
|
|
219
|
+
if (!Array.isArray(entries))
|
|
220
|
+
continue;
|
|
221
|
+
if (entries.length === 0 && key !== 'extraObserved' && key !== 'orphanedPackages')
|
|
222
|
+
lines.push(`${key}: none`);
|
|
223
|
+
const rows = key === 'inventory'
|
|
224
|
+
? entries.flatMap((entry) => entry.targetResults?.length ? entry.targetResults : [entry])
|
|
225
|
+
: entries;
|
|
226
|
+
for (const item of rows) {
|
|
227
|
+
if (typeof item === 'string') {
|
|
228
|
+
lines.push(item);
|
|
229
|
+
continue;
|
|
230
|
+
}
|
|
231
|
+
const entry = item;
|
|
232
|
+
const targetEntry = entry;
|
|
233
|
+
const disabled = key === 'inventory' && targetEntry.content === 'drifted' && result.diagnostics.some(({ code, subject }) => code === 'nativeActivationDisabled' && subject?.pluginId === targetEntry.pluginId
|
|
234
|
+
&& subject.target === targetEntry.target && subject.scope === targetEntry.scope);
|
|
235
|
+
const isTarget = key === 'inventory' || key === 'targetResults' || key === 'extraObserved';
|
|
236
|
+
const advisory = result.diagnostics.some(({ code, subject, severity }) => severity === 'warning' && isInstallationAdvisory(code)
|
|
237
|
+
&& subject?.pluginId === targetEntry.pluginId && subject.target === targetEntry.target && subject.scope === targetEntry.scope);
|
|
238
|
+
const deliveryFailed = targetEntry.execution === 'failed' || targetEntry.execution === 'partial' || Boolean(targetEntry.blockerCodes?.length);
|
|
239
|
+
const content = !isTarget ? undefined : !deliveryFailed && targetEntry.satisfaction === 'not-applicable' ? 'No applicable components'
|
|
240
|
+
: !deliveryFailed && targetEntry.content === 'satisfied' && (hasComponentDeliveryNotice(targetEntry) || advisory) ? 'Installed with notices'
|
|
241
|
+
: targetContentLabels[targetEntry.content];
|
|
242
|
+
const operation = key === 'inventory' ? undefined : entry.execution ?? entry.availability ?? entry.status ?? entry.state;
|
|
243
|
+
lines.push([
|
|
244
|
+
entry.selector ?? entry.pluginId ?? entry.id ?? entry.sourceId ?? entry.storeKey ?? entry.name ?? entry.skill,
|
|
245
|
+
entry.target, content && entry.scope, entry.version, operation, disabled ? 'Disabled' : content,
|
|
246
|
+
entry.summary ?? entry.description, entry.packageId, key === 'orphanedPackages' ? '(orphaned package)' : undefined,
|
|
247
|
+
].filter(Boolean).join(' '));
|
|
248
|
+
if (Array.isArray(entry.subcommands)) {
|
|
249
|
+
if (entry.subcommands.length)
|
|
250
|
+
lines.push(` Subcommands: ${entry.subcommands.join(', ')}`);
|
|
251
|
+
if (entry.hasFallback)
|
|
252
|
+
lines.push(' Fallback available');
|
|
253
|
+
}
|
|
254
|
+
if (result.command === 'command.show') {
|
|
255
|
+
if (entry.pluginVersion)
|
|
256
|
+
lines.push(` Plugin version: ${String(entry.pluginVersion)}`);
|
|
257
|
+
if (entry.resourceRoot)
|
|
258
|
+
lines.push(` Resource root: ${String(entry.resourceRoot)}`);
|
|
259
|
+
const routes = entry.routes;
|
|
260
|
+
for (const route of routes?.subcommands ?? [])
|
|
261
|
+
lines.push(` ${route.name}: ${JSON.stringify([route.entry, ...route.args])}`);
|
|
262
|
+
if (routes?.fallback)
|
|
263
|
+
lines.push(` Fallback: ${JSON.stringify([routes.fallback.entry, ...routes.fallback.args])}`);
|
|
264
|
+
if (Array.isArray(entry.runtimeConfigPlatforms) && entry.runtimeConfigPlatforms.length)
|
|
265
|
+
lines.push(` Applied configuration: ${entry.runtimeConfigPlatforms.join(', ')}`);
|
|
266
|
+
}
|
|
267
|
+
if (entry.profile && typeof entry.profile === 'object') {
|
|
268
|
+
const profile = entry.profile;
|
|
269
|
+
lines.push(` Profile: ${profile.platform ?? 'unknown'}/${profile.scope ?? 'unknown'}${entry.finalPath ? `; final: ${String(entry.finalPath)}` : ''}`);
|
|
270
|
+
}
|
|
271
|
+
const compatibility = entry.compatibility;
|
|
272
|
+
if (compatibility?.state === 'unsupported')
|
|
273
|
+
lines.push(` Incompatible; required: ${compatibility.requiredCapabilities?.join(', ') ?? 'unknown'}; missing: ${compatibility.missingCapabilities?.join(', ') ?? 'unknown'}`);
|
|
274
|
+
if ('activeReady' in entry)
|
|
275
|
+
lines.push(` Active: ${entry.active ? 'present' : 'absent'}; ready: ${entry.activeReady ? 'yes' : 'no'}`);
|
|
276
|
+
for (const excluded of targetEntry.deploymentExclusions ?? []) {
|
|
277
|
+
lines.push(` ${excluded.product?.product ?? 'product'}: version ${excluded.product?.version ?? 'unknown'}; not-run; ${excluded.reasonCode}`);
|
|
278
|
+
lines.push(...excluded.recoveryActions.map((action) => ` Recovery: ${action}`));
|
|
279
|
+
}
|
|
280
|
+
lines.push(...componentDeliveryLines(targetEntry));
|
|
281
|
+
if (!targetEntry.deploymentReceipts?.length)
|
|
282
|
+
for (const deployment of targetEntry.deploymentObservations ?? []) {
|
|
283
|
+
for (const product of deployment.products) {
|
|
284
|
+
const observation = deployment.after.consumers.find((consumer) => consumer.productId === product.id);
|
|
285
|
+
lines.push(` ${product.product}: version ${product.version ?? 'unknown'}; activation=${observation?.activation ?? 'unknown'}; load=${observation?.load ?? 'unknown'}`);
|
|
286
|
+
for (const component of deployment.after.components)
|
|
287
|
+
lines.push(` Component ${component.id}: physical content ${component.presence}`);
|
|
288
|
+
}
|
|
289
|
+
lines.push(` Package: ${deployment.after.package}; registration=${deployment.after.registration}`);
|
|
290
|
+
if (deployment.after.scopeRegistration)
|
|
291
|
+
lines.push(` Native registration in requested scope: ${deployment.after.scopeRegistration}`);
|
|
292
|
+
if (deployment.after.configuration) {
|
|
293
|
+
const config = deployment.after.configuration;
|
|
294
|
+
lines.push(` Local configuration supplement: scope=${config.scope}; activation-entry=${config.activation}; not native effective state`);
|
|
295
|
+
}
|
|
296
|
+
lines.push(...nativeSourceSummary(deployment.after.prerequisites?.nativeSources));
|
|
297
|
+
}
|
|
298
|
+
if (!targetEntry.deploymentReceipts?.length)
|
|
299
|
+
for (const plan of targetEntry.deploymentPlans ?? []) {
|
|
300
|
+
for (const product of plan.products)
|
|
301
|
+
lines.push(` ${product.product}: version ${product.version ?? 'unknown'}; ${product.availability}`);
|
|
302
|
+
for (const component of plan.expected.components)
|
|
303
|
+
lines.push(` Planned component ${component.id}: ${component.kind}`);
|
|
304
|
+
const plannedIds = plan.expected.components.map(({ id }) => id);
|
|
305
|
+
for (const gap of plan.expected.unmet)
|
|
306
|
+
lines.push(` ${componentGapText(gap, plannedIds)}`);
|
|
307
|
+
for (const effect of plan.effects)
|
|
308
|
+
lines.push(` Planned effect ${effect.kind}: ${effect.componentIds.join(', ')}${effect.destructive ? '; destructive' : ''}`);
|
|
309
|
+
if (plan.sharedReferences !== 'none' || plan.products.length > 1)
|
|
310
|
+
lines.push(` Shared impact: ${plan.sharedReferences}; ${plan.products.length} product faces`);
|
|
311
|
+
}
|
|
312
|
+
for (const deployment of targetEntry.deploymentReceipts ?? []) {
|
|
313
|
+
for (const product of deployment.products) {
|
|
314
|
+
const observation = deployment.after.consumers.find((consumer) => consumer.productId === product.id);
|
|
315
|
+
lines.push(` ${product.product}: version ${product.version ?? 'unknown'}; activation=${observation?.activation ?? 'unknown'}; load=${observation?.load ?? 'unknown'}`);
|
|
316
|
+
for (const component of deployment.after.components)
|
|
317
|
+
lines.push(` Component ${component.id}: physical content ${component.presence}`);
|
|
318
|
+
for (const gap of deployment.unmet.filter((item) => !item.productIds.length || item.productIds.includes(product.id))) {
|
|
319
|
+
lines.push(` ${componentGapText(gap, targetEntry.installedComponentIds)}`);
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
if (!deployment.products.length)
|
|
323
|
+
for (const gap of deployment.unmet)
|
|
324
|
+
lines.push(` ${componentGapText(gap, targetEntry.installedComponentIds)}`);
|
|
325
|
+
for (const effect of deployment.effects)
|
|
326
|
+
lines.push(` Effect ${effect.id}: ${effect.status}; mutation=${effect.mutation}`);
|
|
327
|
+
lines.push(` Package: ${deployment.after.package}; registration=${deployment.after.registration}; reload=${deployment.reload}`);
|
|
328
|
+
if (deployment.after.scopeRegistration)
|
|
329
|
+
lines.push(` Native registration in requested scope: ${deployment.after.scopeRegistration}`);
|
|
330
|
+
if (deployment.after.configuration) {
|
|
331
|
+
const config = deployment.after.configuration;
|
|
332
|
+
lines.push(` Local configuration supplement: scope=${config.scope}; activation-entry=${config.activation}; not native effective state`);
|
|
333
|
+
}
|
|
334
|
+
lines.push(...nativeSourceSummary(deployment.after.prerequisites?.nativeSources));
|
|
335
|
+
}
|
|
336
|
+
if (verbose && entry.blockerCodes && Array.isArray(entry.blockerCodes))
|
|
337
|
+
lines.push(` Blockers: ${entry.blockerCodes.join(', ')}`);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
const packageReview = data.packageReview;
|
|
341
|
+
if (packageReview)
|
|
342
|
+
lines.push(...describeManagedCommandRouteReview(packageReview), ...describeManagedCommandRuntimeConfigChanges(packageReview.runtimeConfigChanges ?? []));
|
|
343
|
+
if (Array.isArray(data.recoveryActions))
|
|
344
|
+
for (const action of data.recoveryActions)
|
|
345
|
+
lines.push(`Recovery: ${String(action)}`);
|
|
346
|
+
for (const entry of (data.remainingTargets ?? [])) {
|
|
347
|
+
lines.push(`Remaining: ${entry.pluginId} / ${entry.target} / ${entry.scope}`);
|
|
348
|
+
}
|
|
349
|
+
if (data.preview === true || data.dryRun === true)
|
|
350
|
+
lines.push('Preview only. No content was deleted.');
|
|
351
|
+
const confirmation = data.confirmation;
|
|
352
|
+
if (configMutation && (confirmation?.required || result.diagnostics.some(({ code }) => code === 'operationInterrupted' || code === 'processCleanupUnconfirmed'))) {
|
|
353
|
+
if (confirmation)
|
|
354
|
+
lines.push(`Confirmation: required=${confirmation.required ? 'yes' : 'no'}, provided=${confirmation.provided ? 'yes' : 'no'}`);
|
|
355
|
+
else if (confirmation === null)
|
|
356
|
+
lines.push('Confirmation: not prepared');
|
|
357
|
+
}
|
|
358
|
+
if (confirmation?.required)
|
|
359
|
+
for (const effect of confirmation.effects) {
|
|
360
|
+
const permissionImpact = effect.code === HOST_PERMISSION_ADDITIONAL_IMPACT;
|
|
361
|
+
if (permissionImpact && confirmation.provided)
|
|
362
|
+
continue;
|
|
363
|
+
const subject = effect.subject;
|
|
364
|
+
const showPosition = configMutation || permissionImpact;
|
|
365
|
+
const position = showPosition ? [subject?.pluginId ?? subject?.sourceId, subject?.target, subject?.scope, subject?.field].filter(Boolean) : [];
|
|
366
|
+
lines.push(`${permissionImpact ? 'Warning' : 'Effect'}: ${effect.message}${showPosition ? ` [${[...position, effect.impact].join(' / ')}]` : ''}`);
|
|
367
|
+
}
|
|
368
|
+
if (verbose)
|
|
369
|
+
for (const diagnostic of result.diagnostics.filter((entry) => entry.severity === 'info'))
|
|
370
|
+
lines.push(`${diagnostic.code}: ${diagnostic.message}`);
|
|
371
|
+
for (const diagnostic of result.diagnostics) {
|
|
372
|
+
const { detail } = diagnostic;
|
|
373
|
+
if (diagnostic.code === SKILL_INVOCATION_NOTICE || isDeliveryNoticeCode(diagnostic.code)) {
|
|
374
|
+
const position = [diagnostic.subject?.pluginId, diagnostic.subject?.target, diagnostic.subject?.scope].filter(Boolean).join(' / ');
|
|
375
|
+
lines.push(`${diagnostic.severity === 'error' ? 'Error' : 'Warning'} · ${position} · ${diagnostic.message}`);
|
|
376
|
+
if (verbose && detail)
|
|
377
|
+
lines.push(` Reason: ${detail.reasonCode}`);
|
|
378
|
+
if (detail?.path)
|
|
379
|
+
lines.push(` Location: ${detail.path}`);
|
|
380
|
+
continue;
|
|
381
|
+
}
|
|
382
|
+
if (!detail)
|
|
383
|
+
continue;
|
|
384
|
+
const configPosition = detail.fieldKeys?.length || detail.reasonCode === 'configReadFailed'
|
|
385
|
+
? [diagnostic.subject?.pluginId, diagnostic.subject?.target, diagnostic.subject?.scope].filter(Boolean).join(' / ') : '';
|
|
386
|
+
lines.push(`${diagnostic.code}: ${diagnostic.message}${configPosition ? ` [${configPosition}]` : ''}`, ` Reason: ${detail.reasonCode}`);
|
|
387
|
+
if (detail.path)
|
|
388
|
+
lines.push(` Location: ${detail.path}`);
|
|
389
|
+
if (detail.configKey)
|
|
390
|
+
lines.push(` Config key: ${detail.configKey}`);
|
|
391
|
+
if (detail.fieldKeys?.length)
|
|
392
|
+
lines.push(` Config fields: ${detail.fieldKeys.join(', ')}`);
|
|
393
|
+
}
|
|
394
|
+
for (const action of result.nextActions)
|
|
395
|
+
lines.push(action.kind === 'manual' ? `Next: ${action.message}` : `Next: ${action.argv.map((arg) => /\s/u.test(arg) ? JSON.stringify(arg) : arg).join(' ')}`);
|
|
396
|
+
return `${lines.join('\n')}\n`;
|
|
397
|
+
}
|
|
398
|
+
function nativeSourceSummary(evidence) {
|
|
399
|
+
return evidence ? [` Native sources: ${evidence.observation}`,
|
|
400
|
+
...evidence.sources.map((source) => ` ${source.name}: version=${source.version ?? 'unknown'}; scope=${source.scope}; origin=${source.origin}; enabled=${source.enabled ?? 'unknown'}; components=${source.effectiveComponents.join(', ') || 'none'}`),
|
|
401
|
+
...(evidence.overlaps.length ? [` Overlapping names: ${evidence.overlaps.join(', ')}`] : [])] : [];
|
|
402
|
+
}
|
|
403
|
+
//# sourceMappingURL=public-result.js.map
|