@lesliechan721/aw 0.1.0-beta.8 → 0.1.0-beta.80
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/scripts/add-skill.mjs +17 -40
- package/dist/authoring/scripts/add-skill.mjs.map +1 -1
- package/dist/authoring/scripts/init-plugin.mjs +74 -98
- 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 +79 -92
- package/dist/authoring/scripts/lib/skill-scaffold.mjs +103 -127
- package/dist/authoring/scripts/lib/skill-scaffold.mjs.map +1 -1
- package/dist/authoring/scripts/remove-plugin.mjs +2 -2
- package/dist/authoring/scripts/remove-plugin.mjs.map +1 -1
- package/dist/authoring/scripts/validate-plugin.mjs +459 -2843
- package/dist/authoring/scripts/validate-plugin.mjs.map +1 -1
- package/dist/authoring/scripts/validate-skill.mjs +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 +30 -0
- package/dist/scripts/aw-skill-eval-materializer.js +278 -0
- package/dist/scripts/aw-skill-eval-materializer.js.map +1 -0
- package/dist/scripts/bundle-plugins.d.ts +1 -0
- package/dist/scripts/bundle-plugins.js +27 -8
- package/dist/scripts/bundle-plugins.js.map +1 -1
- package/dist/scripts/plugin-staging.d.ts +7 -8
- package/dist/scripts/plugin-staging.js +16 -15
- 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 +273 -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 +5 -1
- 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 +2 -2
- package/dist/src/commands/aw-capabilities.js +41 -29
- package/dist/src/commands/aw-capabilities.js.map +1 -1
- package/dist/src/commands/catalog-dev-source.d.ts +58 -13
- package/dist/src/commands/catalog-dev-source.js +549 -305
- package/dist/src/commands/catalog-dev-source.js.map +1 -1
- package/dist/src/commands/catalog-generation.d.ts +14 -19
- package/dist/src/commands/catalog-generation.js +5 -10
- package/dist/src/commands/catalog-generation.js.map +1 -1
- package/dist/src/commands/catalog-publication-inspection.d.ts +70 -29
- package/dist/src/commands/catalog-publication-inspection.js +475 -62
- package/dist/src/commands/catalog-publication-inspection.js.map +1 -1
- package/dist/src/commands/catalog-publication-journal.d.ts +68 -0
- package/dist/src/commands/catalog-publication-journal.js +292 -0
- package/dist/src/commands/catalog-publication-journal.js.map +1 -0
- package/dist/src/commands/catalog-publication-target.d.ts +2 -1
- package/dist/src/commands/catalog-publication-target.js +37 -2
- package/dist/src/commands/catalog-publication-target.js.map +1 -1
- package/dist/src/commands/catalog-publish.d.ts +82 -15
- package/dist/src/commands/catalog-publish.js +722 -219
- package/dist/src/commands/catalog-publish.js.map +1 -1
- package/dist/src/commands/catalog-source.d.ts +55 -35
- package/dist/src/commands/catalog-source.js +298 -148
- package/dist/src/commands/catalog-source.js.map +1 -1
- package/dist/src/commands/catalog-status.d.ts +6 -26
- package/dist/src/commands/catalog-status.js +9 -147
- 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 +17 -0
- package/dist/src/commands/catalog-workspace-resolution.js +57 -0
- package/dist/src/commands/catalog-workspace-resolution.js.map +1 -0
- package/dist/src/commands/console.js +32 -20
- package/dist/src/commands/console.js.map +1 -1
- package/dist/src/commands/dependency-operation-plan.d.ts +52 -15
- package/dist/src/commands/dependency-operation-plan.js +289 -7
- package/dist/src/commands/dependency-operation-plan.js.map +1 -1
- package/dist/src/commands/deployment-confirmation.d.ts +4 -0
- package/dist/src/commands/deployment-confirmation.js +20 -0
- package/dist/src/commands/deployment-confirmation.js.map +1 -0
- package/dist/src/commands/init.d.ts +5 -11
- package/dist/src/commands/init.js +30 -51
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/intent-command.d.ts +32 -0
- package/dist/src/commands/intent-command.js +171 -0
- package/dist/src/commands/intent-command.js.map +1 -0
- package/dist/src/commands/managed-commands.d.ts +35 -0
- package/dist/src/commands/managed-commands.js +361 -0
- package/dist/src/commands/managed-commands.js.map +1 -0
- package/dist/src/commands/offline-cleanup-evidence.d.ts +46 -0
- package/dist/src/commands/offline-cleanup-evidence.js +158 -10
- package/dist/src/commands/offline-cleanup-evidence.js.map +1 -1
- package/dist/src/commands/operation-plan.d.ts +190 -0
- package/dist/src/commands/operation-plan.js +99 -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 +16 -20
- package/dist/src/commands/options.js +94 -41
- package/dist/src/commands/options.js.map +1 -1
- package/dist/src/commands/plugin-capabilities.js +88 -45
- package/dist/src/commands/plugin-capabilities.js.map +1 -1
- package/dist/src/commands/public-config-confirmation.d.ts +8 -0
- package/dist/src/commands/public-config-confirmation.js +56 -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 +102 -0
- package/dist/src/commands/public-lifecycle-result.js +307 -0
- package/dist/src/commands/public-lifecycle-result.js.map +1 -0
- package/dist/src/commands/public-lifecycle.d.ts +28 -0
- package/dist/src/commands/public-lifecycle.js +492 -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 +193 -0
- package/dist/src/commands/public-plugin-query.js.map +1 -0
- package/dist/src/commands/rebuild-command.d.ts +166 -28
- package/dist/src/commands/rebuild-command.js +3745 -813
- package/dist/src/commands/rebuild-command.js.map +1 -1
- package/dist/src/commands/rebuild-integration.d.ts +137 -25
- package/dist/src/commands/rebuild-integration.js +1343 -2535
- package/dist/src/commands/rebuild-integration.js.map +1 -1
- package/dist/src/commands/rebuild-operations.d.ts +73 -22
- package/dist/src/commands/rebuild-operations.js +313 -216
- package/dist/src/commands/rebuild-operations.js.map +1 -1
- package/dist/src/commands/rebuild-platform-integration.d.ts +62 -0
- package/dist/src/commands/rebuild-platform-integration.js +1317 -0
- package/dist/src/commands/rebuild-platform-integration.js.map +1 -0
- package/dist/src/commands/reconcile-operation-plan.d.ts +28 -0
- package/dist/src/commands/reconcile-operation-plan.js +47 -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 +41 -0
- package/dist/src/commands/skill-eval.js +407 -0
- package/dist/src/commands/skill-eval.js.map +1 -0
- package/dist/src/commands/status-v6.d.ts +319 -0
- package/dist/src/commands/status-v6.js +2979 -0
- package/dist/src/commands/status-v6.js.map +1 -0
- 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 +143 -85
- package/dist/src/commands/write-commands.js.map +1 -1
- package/dist/src/constants.d.ts +6 -6
- package/dist/src/constants.js +6 -6
- package/dist/src/constants.js.map +1 -1
- package/dist/src/eval/manifest-v1.d.ts +70 -0
- package/dist/src/eval/manifest-v1.js +358 -0
- package/dist/src/eval/manifest-v1.js.map +1 -0
- package/dist/src/generators/local-plugin.d.ts +7 -2
- package/dist/src/generators/local-plugin.js +313 -389
- package/dist/src/generators/local-plugin.js.map +1 -1
- package/dist/src/generators/permissions.d.ts +5 -2
- package/dist/src/generators/permissions.js +28 -15
- package/dist/src/generators/permissions.js.map +1 -1
- package/dist/src/index.d.ts +2 -31
- package/dist/src/index.js +1666 -1827
- 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 +33 -0
- package/dist/src/intent/scope-context.js +149 -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 +47 -46
- package/dist/src/output/command-receipt.js +286 -79
- package/dist/src/output/command-receipt.js.map +1 -1
- package/dist/src/output/model.d.ts +3 -11
- package/dist/src/output/native-consent.d.ts +2 -0
- package/dist/src/output/native-consent.js +5 -0
- package/dist/src/output/native-consent.js.map +1 -0
- package/dist/src/output/public-result.d.ts +49 -0
- package/dist/src/output/public-result.js +240 -0
- package/dist/src/output/public-result.js.map +1 -0
- package/dist/src/output/rebuild-progress.js +20 -15
- 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 +592 -0
- package/dist/src/output/receipt-projection.js.map +1 -0
- package/dist/src/platforms/capabilities.d.ts +12 -0
- package/dist/src/platforms/capabilities.js +205 -0
- package/dist/src/platforms/capabilities.js.map +1 -0
- package/dist/src/platforms/contracts.d.ts +358 -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 +91 -0
- package/dist/src/platforms/discovery.js +653 -0
- package/dist/src/platforms/discovery.js.map +1 -0
- package/dist/src/platforms/gemini-activation.d.ts +36 -0
- package/dist/src/platforms/gemini-activation.js +331 -0
- package/dist/src/platforms/gemini-activation.js.map +1 -0
- package/dist/src/platforms/gemini-consent.d.ts +8 -0
- package/dist/src/platforms/gemini-consent.js +81 -0
- package/dist/src/platforms/gemini-consent.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 +212 -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 +406 -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 +3 -0
- package/dist/src/platforms/inspection-pi.js +282 -0
- package/dist/src/platforms/inspection-pi.js.map +1 -0
- package/dist/src/platforms/inspection-query.d.ts +12 -0
- package/dist/src/platforms/inspection-query.js +96 -0
- package/dist/src/platforms/inspection-query.js.map +1 -0
- package/dist/src/platforms/inspection.d.ts +17 -0
- package/dist/src/platforms/inspection.js +227 -0
- package/dist/src/platforms/inspection.js.map +1 -0
- package/dist/src/platforms/layout.d.ts +21 -0
- package/dist/src/platforms/layout.js +239 -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 +13 -0
- package/dist/src/platforms/lifecycle-native.js +283 -0
- package/dist/src/platforms/lifecycle-native.js.map +1 -0
- package/dist/src/platforms/lifecycle.d.ts +25 -0
- package/dist/src/platforms/lifecycle.js +494 -0
- package/dist/src/platforms/lifecycle.js.map +1 -0
- package/dist/src/platforms/managed-command-placement.d.ts +8 -0
- package/dist/src/platforms/managed-command-placement.js +79 -0
- package/dist/src/platforms/managed-command-placement.js.map +1 -0
- package/dist/src/platforms/projection-code-extension.d.ts +8 -0
- package/dist/src/platforms/projection-code-extension.js +121 -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 +10 -0
- package/dist/src/platforms/projection.js +446 -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 +16 -0
- package/dist/src/platforms/supplement-layout.js +31 -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 +82 -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 +94 -350
- 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 +24 -4
- package/dist/src/portable/materializer.js +189 -259
- 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 +153 -0
- package/dist/src/portable/recovery.js +367 -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 +141 -0
- package/dist/src/recovery/coordinator.js +1254 -0
- package/dist/src/recovery/coordinator.js.map +1 -0
- package/dist/src/recovery/demand.d.ts +51 -0
- package/dist/src/recovery/demand.js +159 -0
- package/dist/src/recovery/demand.js.map +1 -0
- package/dist/src/recovery/joint-coordinator.d.ts +25 -0
- package/dist/src/recovery/joint-coordinator.js +991 -0
- package/dist/src/recovery/joint-coordinator.js.map +1 -0
- package/dist/src/recovery/joint-demand.d.ts +50 -0
- package/dist/src/recovery/joint-demand.js +197 -0
- package/dist/src/recovery/joint-demand.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 +98 -0
- package/dist/src/recovery/receipt.js +2 -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 +469 -0
- package/dist/src/recovery/retirement.js.map +1 -0
- package/dist/src/recovery/status.d.ts +126 -0
- package/dist/src/recovery/status.js +1073 -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 +43 -0
- package/dist/src/review/eval-source-input.js +207 -0
- package/dist/src/review/eval-source-input.js.map +1 -0
- package/dist/src/review/platform-profile.d.ts +3 -0
- package/dist/src/review/platform-profile.js +14 -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 +495 -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 +62 -0
- package/dist/src/review/skill-materialization.js +205 -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 +773 -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 +18 -53
- package/dist/src/tui/catalog-generation.js +136 -224
- 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 -36
- package/dist/src/tui/components.js.map +1 -1
- package/dist/src/tui/config-array-draft.d.ts +29 -0
- package/dist/src/tui/config-array-draft.js +48 -0
- package/dist/src/tui/config-array-draft.js.map +1 -0
- package/dist/src/tui/config-leaf-editor.d.ts +43 -0
- package/dist/src/tui/config-leaf-editor.js +224 -0
- package/dist/src/tui/config-leaf-editor.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-value-presentation.d.ts +20 -0
- package/dist/src/tui/config-value-presentation.js +104 -0
- package/dist/src/tui/config-value-presentation.js.map +1 -0
- package/dist/src/tui/console-app-v4.d.ts +13 -4
- package/dist/src/tui/console-app-v4.js +9764 -2210
- 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 +7 -4
- package/dist/src/tui/controller-runtime.js +2064 -779
- package/dist/src/tui/controller-runtime.js.map +1 -1
- package/dist/src/tui/controller.d.ts +669 -106
- package/dist/src/tui/controller.js +3617 -971
- 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 +10 -0
- package/dist/src/tui/deployment-view.js +108 -0
- package/dist/src/tui/deployment-view.js.map +1 -0
- package/dist/src/tui/diagnostic-projection.d.ts +23 -0
- package/dist/src/tui/diagnostic-projection.js +595 -0
- package/dist/src/tui/diagnostic-projection.js.map +1 -0
- package/dist/src/tui/diagnostics.d.ts +6 -3
- 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 +55 -0
- package/dist/src/tui/entity-cards.js +298 -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 +72 -0
- package/dist/src/tui/glossary.js.map +1 -0
- package/dist/src/tui/index.d.ts +6 -2
- package/dist/src/tui/index.js +5 -2
- 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 +243 -45
- package/dist/src/tui/model.js +1402 -415
- 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 +72 -0
- package/dist/src/tui/operation-diagnostic-screens.js.map +1 -0
- package/dist/src/tui/operation-history.d.ts +82 -0
- package/dist/src/tui/operation-history.js +136 -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 +1396 -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 +72 -0
- package/dist/src/tui/plugin-detail.js +260 -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 +186 -35
- 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 +45 -0
- package/dist/src/tui/scoped-flow.js +96 -0
- package/dist/src/tui/scoped-flow.js.map +1 -0
- package/dist/src/tui/scoped-inventory.d.ts +126 -0
- package/dist/src/tui/scoped-inventory.js +258 -0
- package/dist/src/tui/scoped-inventory.js.map +1 -0
- package/dist/src/tui/screen-registry.d.ts +701 -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 +6 -0
- package/dist/src/tui/session-console-app.js +13 -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 +220 -118
- package/dist/src/types.js +1 -0
- package/dist/src/types.js.map +1 -1
- package/dist/src/utils/agent-version.d.ts +13 -4
- package/dist/src/utils/agent-version.js +27 -4
- package/dist/src/utils/agent-version.js.map +1 -1
- package/dist/src/utils/artifact-plan.d.ts +33 -7
- package/dist/src/utils/artifact-plan.js +115 -430
- package/dist/src/utils/artifact-plan.js.map +1 -1
- package/dist/src/utils/artifact-renderer.d.ts +114 -83
- package/dist/src/utils/artifact-renderer.js +213 -364
- package/dist/src/utils/artifact-renderer.js.map +1 -1
- package/dist/src/utils/artifact-request.d.ts +44 -0
- package/dist/src/utils/artifact-request.js +80 -0
- package/dist/src/utils/artifact-request.js.map +1 -0
- package/dist/src/utils/artifact-sources.d.ts +6 -2
- package/dist/src/utils/artifact-sources.js +17 -0
- package/dist/src/utils/artifact-sources.js.map +1 -1
- package/dist/src/utils/bundle-layout.js +57 -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 -2
- package/dist/src/utils/catalog-digests.js +7 -18
- package/dist/src/utils/catalog-digests.js.map +1 -1
- package/dist/src/utils/catalog-generation-control-snapshot.d.ts +11 -0
- package/dist/src/utils/catalog-generation-control-snapshot.js +45 -0
- package/dist/src/utils/catalog-generation-control-snapshot.js.map +1 -0
- package/dist/src/utils/catalog-generation-error.d.ts +5 -1
- package/dist/src/utils/catalog-generation-error.js +14 -0
- package/dist/src/utils/catalog-generation-error.js.map +1 -1
- package/dist/src/utils/catalog-generation-resolver.d.ts +36 -5
- package/dist/src/utils/catalog-generation-resolver.js +221 -77
- package/dist/src/utils/catalog-generation-resolver.js.map +1 -1
- package/dist/src/utils/catalog-generation-service.d.ts +159 -28
- package/dist/src/utils/catalog-generation-service.js +1186 -525
- package/dist/src/utils/catalog-generation-service.js.map +1 -1
- package/dist/src/utils/catalog-generation-state.d.ts +9 -0
- package/dist/src/utils/catalog-generation-state.js +97 -106
- package/dist/src/utils/catalog-generation-state.js.map +1 -1
- package/dist/src/utils/catalog-generation-store.d.ts +38 -24
- package/dist/src/utils/catalog-generation-store.js +337 -272
- 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-v5.js → catalog-manifest-v7.js} +23 -35
- package/dist/src/utils/catalog-manifest-v7.js.map +1 -0
- package/dist/src/utils/catalog-operation-context.d.ts +6 -14
- package/dist/src/utils/catalog-operation-context.js +69 -169
- package/dist/src/utils/catalog-operation-context.js.map +1 -1
- package/dist/src/utils/catalog-public-error.js +8 -4
- package/dist/src/utils/catalog-public-error.js.map +1 -1
- package/dist/src/utils/catalog-runtime-projection.d.ts +7 -3
- package/dist/src/utils/catalog-runtime-projection.js +5 -40
- package/dist/src/utils/catalog-runtime-projection.js.map +1 -1
- package/dist/src/utils/catalog-snapshot.d.ts +2 -2
- package/dist/src/utils/catalog-source-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 +23 -2
- package/dist/src/utils/catalog-source-references.js +456 -382
- 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 +178 -18
- package/dist/src/utils/catalog-sources.js.map +1 -1
- package/dist/src/utils/codex-config.d.ts +2 -0
- package/dist/src/utils/codex-config.js +22 -1
- package/dist/src/utils/codex-config.js.map +1 -1
- package/dist/src/utils/codex-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 +47 -18
- package/dist/src/utils/codex-manager.js +88 -622
- 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 +49 -0
- package/dist/src/utils/codex-native-observation.js +169 -0
- package/dist/src/utils/codex-native-observation.js.map +1 -0
- package/dist/src/utils/codex-reconciler.d.ts +123 -0
- package/dist/src/utils/codex-reconciler.js +322 -0
- package/dist/src/utils/codex-reconciler.js.map +1 -0
- package/dist/src/utils/codex-shared-native.d.ts +45 -0
- package/dist/src/utils/codex-shared-native.js +122 -0
- package/dist/src/utils/codex-shared-native.js.map +1 -0
- 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 +49 -0
- package/dist/src/utils/codex-surface-analysis.js +220 -0
- package/dist/src/utils/codex-surface-analysis.js.map +1 -0
- package/dist/src/utils/component-command-preparation.d.ts +34 -0
- package/dist/src/utils/component-command-preparation.js +228 -0
- package/dist/src/utils/component-command-preparation.js.map +1 -0
- package/dist/src/utils/component-resources.d.ts +51 -0
- package/dist/src/utils/component-resources.js +322 -0
- package/dist/src/utils/component-resources.js.map +1 -0
- package/dist/src/utils/dynamic-skill-tree.d.ts +18 -6
- package/dist/src/utils/dynamic-skill-tree.js +32 -9
- 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 +167 -120
- 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-closure.d.ts +3 -0
- package/dist/src/utils/managed-command-closure.js +35 -0
- package/dist/src/utils/managed-command-closure.js.map +1 -0
- package/dist/src/utils/managed-command-evidence.d.ts +7 -0
- package/dist/src/utils/managed-command-evidence.js +10 -0
- package/dist/src/utils/managed-command-evidence.js.map +1 -0
- package/dist/src/utils/managed-command-materialization.d.ts +124 -0
- package/dist/src/utils/managed-command-materialization.js +369 -0
- package/dist/src/utils/managed-command-materialization.js.map +1 -0
- package/dist/src/utils/managed-command-preparation.d.ts +67 -0
- package/dist/src/utils/managed-command-preparation.js +146 -0
- package/dist/src/utils/managed-command-preparation.js.map +1 -0
- package/dist/src/utils/managed-command-review.d.ts +26 -0
- package/dist/src/utils/managed-command-review.js +68 -0
- package/dist/src/utils/managed-command-review.js.map +1 -0
- package/dist/src/utils/managed-command-runtime.d.ts +33 -0
- package/dist/src/utils/managed-command-runtime.js +121 -0
- package/dist/src/utils/managed-command-runtime.js.map +1 -0
- package/dist/src/utils/managed-command-store.d.ts +143 -0
- package/dist/src/utils/managed-command-store.js +665 -0
- package/dist/src/utils/managed-command-store.js.map +1 -0
- package/dist/src/utils/manifest.d.ts +1 -3
- package/dist/src/utils/manifest.js +1 -3
- package/dist/src/utils/manifest.js.map +1 -1
- package/dist/src/utils/multi-source-catalog.d.ts +1 -10
- package/dist/src/utils/multi-source-catalog.js +9 -175
- package/dist/src/utils/multi-source-catalog.js.map +1 -1
- package/dist/src/utils/native-cli.d.ts +74 -5
- package/dist/src/utils/native-cli.js +479 -31
- 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 +14 -0
- package/dist/src/utils/native-tool-context.js +38 -0
- package/dist/src/utils/native-tool-context.js.map +1 -0
- package/dist/src/utils/native-tool-review.d.ts +18 -0
- package/dist/src/utils/native-tool-review.js +116 -0
- package/dist/src/utils/native-tool-review.js.map +1 -0
- package/dist/src/utils/orphan-marketplace-cleanup.js +0 -1
- package/dist/src/utils/orphan-marketplace-cleanup.js.map +1 -1
- package/dist/src/utils/ownership.d.ts +103 -21
- package/dist/src/utils/ownership.js +232 -210
- package/dist/src/utils/ownership.js.map +1 -1
- package/dist/src/utils/path-catalog-provider.d.ts +1 -1
- package/dist/src/utils/path-catalog-provider.js +47 -62
- package/dist/src/utils/path-catalog-provider.js.map +1 -1
- package/dist/src/utils/paths.d.ts +1 -2
- package/dist/src/utils/paths.js +5 -3
- package/dist/src/utils/paths.js.map +1 -1
- package/dist/src/utils/platform-empty-state.d.ts +45 -0
- package/dist/src/utils/platform-empty-state.js +159 -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-impact.d.ts +64 -0
- package/dist/src/utils/plugin-config-impact.js +307 -0
- package/dist/src/utils/plugin-config-impact.js.map +1 -0
- package/dist/src/utils/plugin-config-references.d.ts +89 -0
- package/dist/src/utils/plugin-config-references.js +335 -0
- package/dist/src/utils/plugin-config-references.js.map +1 -0
- package/dist/src/utils/plugin-config-write.d.ts +109 -27
- package/dist/src/utils/plugin-config-write.js +1242 -348
- package/dist/src/utils/plugin-config-write.js.map +1 -1
- package/dist/src/utils/plugin-config.d.ts +187 -109
- package/dist/src/utils/plugin-config.js +916 -1147
- 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 +78 -127
- package/dist/src/utils/plugin-scripts.js +566 -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 +18 -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/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 +4 -3
- package/dist/src/utils/target-eligibility.js +12 -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 +105 -9
- package/dist/vitest.config.js.map +1 -1
- package/package.json +30 -21
- package/dist/scripts/aw-skill-eval-engine.d.ts +0 -13
- package/dist/scripts/aw-skill-eval-engine.js +0 -31
- package/dist/scripts/aw-skill-eval-engine.js.map +0 -1
- package/dist/scripts/codex-eval-app-server.d.ts +0 -91
- package/dist/scripts/codex-eval-app-server.js +0 -1334
- package/dist/scripts/codex-eval-app-server.js.map +0 -1
- package/dist/scripts/codex-eval-isolation.d.ts +0 -61
- package/dist/scripts/codex-eval-isolation.js +0 -318
- package/dist/scripts/codex-eval-isolation.js.map +0 -1
- package/dist/scripts/codex-eval-process-management.d.ts +0 -8
- package/dist/scripts/codex-eval-process-management.js +0 -69
- package/dist/scripts/codex-eval-process-management.js.map +0 -1
- package/dist/scripts/codex-eval-process-tree.d.ts +0 -38
- package/dist/scripts/codex-eval-process-tree.js +0 -803
- package/dist/scripts/codex-eval-process-tree.js.map +0 -1
- package/dist/scripts/codex-eval-runtime-config.d.ts +0 -62
- package/dist/scripts/codex-eval-runtime-config.js +0 -843
- package/dist/scripts/codex-eval-runtime-config.js.map +0 -1
- package/dist/scripts/codex-trigger-eval.d.ts +0 -84
- package/dist/scripts/codex-trigger-eval.js +0 -968
- package/dist/scripts/codex-trigger-eval.js.map +0 -1
- package/dist/scripts/eval-plugin-skills-audited.d.ts +0 -6
- package/dist/scripts/eval-plugin-skills-audited.js +0 -261
- package/dist/scripts/eval-plugin-skills-audited.js.map +0 -1
- package/dist/scripts/eval-plugin-skills.d.ts +0 -45
- package/dist/scripts/eval-plugin-skills.js +0 -1589
- package/dist/scripts/eval-plugin-skills.js.map +0 -1
- package/dist/scripts/eval-run-layout.d.ts +0 -17
- package/dist/scripts/eval-run-layout.js +0 -26
- package/dist/scripts/eval-run-layout.js.map +0 -1
- package/dist/scripts/plugin-eval-contract.d.ts +0 -189
- package/dist/scripts/plugin-eval-contract.js +0 -745
- package/dist/scripts/plugin-eval-contract.js.map +0 -1
- package/dist/scripts/plugin-eval-materializer.d.ts +0 -13
- package/dist/scripts/plugin-eval-materializer.js +0 -421
- package/dist/scripts/plugin-eval-materializer.js.map +0 -1
- package/dist/scripts/skill-reporting.d.ts +0 -212
- package/dist/scripts/skill-reporting.js +0 -922
- package/dist/scripts/skill-reporting.js.map +0 -1
- package/dist/src/commands/catalog-context.d.ts +0 -52
- package/dist/src/commands/catalog-context.js +0 -156
- package/dist/src/commands/catalog-context.js.map +0 -1
- package/dist/src/commands/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/status-v5.d.ts +0 -169
- package/dist/src/commands/status-v5.js +0 -1135
- package/dist/src/commands/status-v5.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-v5.d.ts +0 -5
- package/dist/src/utils/catalog-manifest-v5.js.map +0 -1
- package/dist/src/utils/catalog-source-cache.d.ts +0 -62
- package/dist/src/utils/catalog-source-cache.js +0 -321
- package/dist/src/utils/catalog-source-cache.js.map +0 -1
- package/dist/src/utils/codex-project-surface.d.ts +0 -3
- package/dist/src/utils/codex-project-surface.js +0 -49
- package/dist/src/utils/codex-project-surface.js.map +0 -1
- package/dist/src/utils/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-release.d.ts +0 -2
- package/dist/src/utils/plugin-release.js +0 -2
- package/dist/src/utils/plugin-release.js.map +0 -1
- package/dist/src/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
package/dist/src/types.d.ts
CHANGED
|
@@ -1,16 +1,32 @@
|
|
|
1
1
|
export type * from '@lesliechan721/aw-plugin-core/manifest';
|
|
2
|
-
import type { ArtifactState,
|
|
2
|
+
import type { ArtifactState, CatalogChannel, CatalogManifestV7, CatalogSourceId, CliVersion, DistributionName, ManagedArtifactId, PlatformName, PlatformTarget, ProducerIdentity, PluginId, PluginVersion, Scope, SourceIdentity, TrackedHookGroupIdentity } from '@lesliechan721/aw-plugin-core/manifest';
|
|
3
3
|
export type ArtifactSurface = {
|
|
4
4
|
kind: 'platform';
|
|
5
|
-
name:
|
|
5
|
+
name: PlatformTarget;
|
|
6
6
|
} | {
|
|
7
7
|
kind: 'distribution';
|
|
8
8
|
name: DistributionName;
|
|
9
|
+
} | {
|
|
10
|
+
kind: 'aw';
|
|
11
|
+
name: 'managed-commands';
|
|
9
12
|
};
|
|
13
|
+
export type ArtifactRenderSurfaceName = PlatformTarget | DistributionName | 'managed-commands';
|
|
14
|
+
export interface CommandProducerResult {
|
|
15
|
+
producer: ProducerIdentity;
|
|
16
|
+
state: 'completed' | 'partial' | 'failed';
|
|
17
|
+
commandIds: string[];
|
|
18
|
+
removedCommandIds: string[];
|
|
19
|
+
errors: Array<{
|
|
20
|
+
code: string;
|
|
21
|
+
message: string;
|
|
22
|
+
subject?: string;
|
|
23
|
+
}>;
|
|
24
|
+
recoveryActions: string[];
|
|
25
|
+
}
|
|
10
26
|
export type PlatformSelection = PlatformName | 'both';
|
|
11
|
-
export type CommandAction = 'install' | 'uninstall' | '
|
|
12
|
-
export type RebuildCommand = 'install' | '
|
|
13
|
-
export type RebuildActionName = 'preflight.inspect' | 'stale.cleanup' | 'native.write' | 'artifacts.write' | '
|
|
27
|
+
export type CommandAction = 'install' | 'uninstall' | 'reinstall' | 'cleanup' | 'config' | 'status';
|
|
28
|
+
export type RebuildCommand = 'install' | 'sync' | 'cleanup' | 'reinstall' | 'uninstall';
|
|
29
|
+
export type RebuildActionName = 'preflight.inspect' | 'stale.cleanup' | 'native.write' | 'artifacts.write' | 'preApply' | 'postcheck.inspect' | 'recovery.cleanup' | 'cleanup.owned';
|
|
14
30
|
export type RebuildActionEventData = {
|
|
15
31
|
name: RebuildActionName;
|
|
16
32
|
phase: 'start';
|
|
@@ -43,7 +59,9 @@ export type ConfigValueState = 'default' | 'configured' | 'invalid';
|
|
|
43
59
|
export type NextStepKind = 'uiAction' | 'cliCommand' | 'manual';
|
|
44
60
|
export type ManualNextStepKind = 'guidance' | 'blocker' | 'documentation';
|
|
45
61
|
export type TargetWriteState = 'completed' | 'failed';
|
|
62
|
+
export type ConfigApplyTargetState = TargetWriteState | 'skipped';
|
|
46
63
|
export type ReceiptOverallState = 'succeeded' | 'failed';
|
|
64
|
+
export type RebuildReceiptOverallState = ReceiptOverallState | 'partial';
|
|
47
65
|
export type CatalogGitRefPolicy = {
|
|
48
66
|
type: 'explicit';
|
|
49
67
|
ref: string;
|
|
@@ -53,6 +71,7 @@ export type CatalogGitRefPolicy = {
|
|
|
53
71
|
interface CatalogSourceBase {
|
|
54
72
|
id: CatalogSourceId;
|
|
55
73
|
primary: boolean;
|
|
74
|
+
autoCheck?: boolean;
|
|
56
75
|
}
|
|
57
76
|
export interface GitCatalogSource extends CatalogSourceBase {
|
|
58
77
|
type: 'git';
|
|
@@ -76,47 +95,36 @@ export interface CatalogSourcesConfig {
|
|
|
76
95
|
export interface CatalogSourceResolution {
|
|
77
96
|
sourceId: CatalogSourceId;
|
|
78
97
|
sourceIdentity: SourceIdentity;
|
|
98
|
+
logicalIdentity: string;
|
|
79
99
|
requestedRef: string;
|
|
80
100
|
resolvedCommit: string;
|
|
81
101
|
rootDir: string;
|
|
82
|
-
manifest:
|
|
102
|
+
manifest: CatalogManifestV7;
|
|
83
103
|
manifestDigest: string;
|
|
84
104
|
snapshotDigest: string;
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
export type CatalogGenerationRefreshPolicy = 'startup' | 'manual';
|
|
91
|
-
export type CatalogGenerationCandidateKind = 'upgrade' | 'refChange';
|
|
92
|
-
export type CatalogGenerationCheckState = 'upToDate' | 'activeReady' | 'candidateReady' | 'failed' | 'immutableViolation' | 'channelRollback';
|
|
93
|
-
export interface CatalogGenerationPointerV1 {
|
|
105
|
+
transport: 'git' | 'path';
|
|
106
|
+
cleanup(): Promise<void>;
|
|
107
|
+
}
|
|
108
|
+
export interface CatalogGenerationActiveV1 {
|
|
94
109
|
sourceConfigFingerprint: string;
|
|
95
|
-
|
|
96
|
-
channel: CatalogChannel;
|
|
110
|
+
sourceIdentity: SourceIdentity;
|
|
97
111
|
requestedRef: string;
|
|
98
112
|
resolvedCommit: string;
|
|
113
|
+
logicalIdentity: string;
|
|
99
114
|
manifestDigest: string;
|
|
100
115
|
snapshotDigest: string;
|
|
101
|
-
|
|
102
|
-
activatedAt?: string;
|
|
103
|
-
}
|
|
104
|
-
export interface CatalogGenerationCandidateV1 extends CatalogGenerationPointerV1 {
|
|
105
|
-
candidateKind: CatalogGenerationCandidateKind;
|
|
106
|
-
downloadedAt: string;
|
|
116
|
+
activatedAt: string;
|
|
107
117
|
}
|
|
108
|
-
export interface
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
118
|
+
export interface CatalogGenerationLastSyncV1 {
|
|
119
|
+
syncedAt: string;
|
|
120
|
+
mode: 'check' | 'sync';
|
|
121
|
+
state: 'succeeded' | 'failed';
|
|
122
|
+
resolvedCommit?: string;
|
|
112
123
|
errorCode?: string;
|
|
113
124
|
}
|
|
114
125
|
export interface CatalogSourceGenerationStateV1 {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
active?: CatalogGenerationPointerV1;
|
|
118
|
-
candidate?: CatalogGenerationCandidateV1;
|
|
119
|
-
lastCheck?: CatalogGenerationLastCheckV1;
|
|
126
|
+
active?: CatalogGenerationActiveV1;
|
|
127
|
+
lastSync?: CatalogGenerationLastSyncV1;
|
|
120
128
|
}
|
|
121
129
|
export interface CatalogGenerationStateFileV1 {
|
|
122
130
|
schemaVersion: 1;
|
|
@@ -129,47 +137,108 @@ export interface CatalogGenerationMetadataV1 {
|
|
|
129
137
|
channel: CatalogChannel;
|
|
130
138
|
manifestDigest: string;
|
|
131
139
|
snapshotDigest: string;
|
|
132
|
-
generationKey: string;
|
|
133
140
|
requiredAwCapabilities: string[];
|
|
134
|
-
publishedAt: string;
|
|
135
141
|
}
|
|
136
|
-
export
|
|
137
|
-
export interface CatalogGenerationRefreshResult {
|
|
138
|
-
catalogGenerationSchemaVersion: 1;
|
|
139
|
-
sourceId: CatalogSourceId;
|
|
142
|
+
export interface CatalogGenerationSyncEvidence {
|
|
140
143
|
sourceIdentity: SourceIdentity;
|
|
141
144
|
logicalIdentity: string;
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
145
|
+
catalogVersion: string;
|
|
146
|
+
channel: CatalogChannel;
|
|
147
|
+
requestedRef: string;
|
|
148
|
+
resolvedCommit: string;
|
|
149
|
+
manifestDigest: string;
|
|
150
|
+
snapshotDigest: string;
|
|
151
|
+
}
|
|
152
|
+
export interface CatalogGenerationCandidateEvidence extends CatalogGenerationSyncEvidence {
|
|
153
|
+
sourceConfigFingerprint: string;
|
|
154
|
+
}
|
|
155
|
+
export interface CatalogGenerationCandidateComparison {
|
|
156
|
+
matches: boolean;
|
|
157
|
+
changedFields: Array<keyof CatalogGenerationCandidateEvidence>;
|
|
158
|
+
}
|
|
159
|
+
export type CatalogActivationMode = 'normal' | 'explicitSourceChange' | 'exactRepair' | 'replaceDamaged';
|
|
160
|
+
export type CatalogSourceImpactCategory = 'installation' | 'config' | 'lifecycle' | 'marketplace';
|
|
161
|
+
export interface CatalogSourceImpactReference {
|
|
162
|
+
category: CatalogSourceImpactCategory;
|
|
163
|
+
sourceId: string;
|
|
164
|
+
pluginId?: string;
|
|
165
|
+
platform?: PlatformName;
|
|
166
|
+
scope?: Scope;
|
|
167
|
+
projectRecord?: 'current' | 'historical' | 'unknown';
|
|
168
|
+
marketplaceName?: string;
|
|
146
169
|
}
|
|
147
|
-
export interface
|
|
170
|
+
export interface CatalogSourcePluginChanges {
|
|
171
|
+
added: string[];
|
|
172
|
+
removed: string[];
|
|
173
|
+
changed: string[];
|
|
174
|
+
newlyIncompatible: string[];
|
|
175
|
+
dependencyChanged: string[];
|
|
176
|
+
platformSupportChanged: CatalogSourcePlatformSupportChange[];
|
|
177
|
+
}
|
|
178
|
+
export interface CatalogSourcePlatformSupportChange {
|
|
179
|
+
pluginId: string;
|
|
180
|
+
removedPlatforms: PlatformName[];
|
|
181
|
+
addedPlatforms: PlatformName[];
|
|
182
|
+
}
|
|
183
|
+
export interface CatalogSourceImpactError {
|
|
184
|
+
code: 'stateInventoryFailed' | 'catalogManifestUnavailable';
|
|
185
|
+
kind: string;
|
|
186
|
+
relevance?: {
|
|
187
|
+
global: true;
|
|
188
|
+
} | {
|
|
189
|
+
global: false;
|
|
190
|
+
sourceId?: string;
|
|
191
|
+
pluginName?: string;
|
|
192
|
+
platform?: PlatformName;
|
|
193
|
+
scope?: Scope;
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
export interface CatalogSourcePrimaryChange {
|
|
197
|
+
fromSourceId: string;
|
|
198
|
+
toSourceId: string;
|
|
199
|
+
}
|
|
200
|
+
export interface CatalogSourceImpact {
|
|
201
|
+
impactSchemaVersion: 3;
|
|
202
|
+
sourceId: string;
|
|
203
|
+
primaryChange: CatalogSourcePrimaryChange | null;
|
|
204
|
+
inventoryComplete: boolean;
|
|
205
|
+
references: CatalogSourceImpactReference[];
|
|
206
|
+
affectedReferences: CatalogSourceImpactReference[];
|
|
207
|
+
changes: CatalogSourcePluginChanges;
|
|
208
|
+
errors: CatalogSourceImpactError[];
|
|
209
|
+
}
|
|
210
|
+
export interface CatalogGenerationSyncResult {
|
|
148
211
|
catalogGenerationSchemaVersion: 1;
|
|
149
212
|
sourceId: CatalogSourceId;
|
|
150
|
-
|
|
151
|
-
outcome: 'activated';
|
|
152
|
-
|
|
213
|
+
mode: 'check' | 'sync';
|
|
214
|
+
outcome: 'checked' | 'activated' | 'unchanged';
|
|
215
|
+
activeChanged: boolean;
|
|
216
|
+
resolution: CatalogGenerationSyncEvidence;
|
|
217
|
+
active?: CatalogGenerationActiveV1;
|
|
218
|
+
lastSync: CatalogGenerationLastSyncV1;
|
|
219
|
+
impact?: CatalogSourceImpact;
|
|
153
220
|
}
|
|
154
221
|
export interface CatalogGenerationSetSource {
|
|
155
222
|
sourceId: CatalogSourceId;
|
|
156
223
|
sourceConfigFingerprint: string;
|
|
224
|
+
sourceIdentity: SourceIdentity;
|
|
157
225
|
logicalIdentity: string;
|
|
158
226
|
catalogVersion: string;
|
|
159
227
|
resolvedCommit: string;
|
|
160
228
|
manifestDigest: string;
|
|
161
229
|
snapshotDigest: string;
|
|
162
|
-
|
|
230
|
+
storeKey: string;
|
|
163
231
|
snapshotPath: string;
|
|
232
|
+
manifest: CatalogManifestV7;
|
|
164
233
|
}
|
|
165
234
|
export interface CatalogGenerationSet {
|
|
166
235
|
generationSetDigest: string;
|
|
236
|
+
configDigest: string;
|
|
167
237
|
primarySourceId: CatalogSourceId;
|
|
168
238
|
sources: CatalogGenerationSetSource[];
|
|
169
239
|
}
|
|
170
240
|
export interface CatalogProviderRuntimeOptions {
|
|
171
241
|
cliVersion: CliVersion;
|
|
172
|
-
freshnessPolicy: CatalogFreshnessPolicy;
|
|
173
242
|
env?: NodeJS.ProcessEnv;
|
|
174
243
|
signal?: AbortSignal;
|
|
175
244
|
}
|
|
@@ -202,18 +271,84 @@ export interface ReceiptTargetResult {
|
|
|
202
271
|
state: TargetWriteState;
|
|
203
272
|
message?: string;
|
|
204
273
|
errorCode?: string;
|
|
274
|
+
relation?: 'requested' | 'dependency';
|
|
275
|
+
requiredBy?: string[];
|
|
276
|
+
recoveryActions?: string[];
|
|
277
|
+
}
|
|
278
|
+
export interface ConfigApplyTargetIdentity {
|
|
279
|
+
pluginName: string;
|
|
280
|
+
pluginId?: PluginId;
|
|
281
|
+
platform: PlatformTarget;
|
|
282
|
+
scope: Scope;
|
|
205
283
|
}
|
|
284
|
+
export interface ConfigApplyTargetResult {
|
|
285
|
+
target: ConfigApplyTargetIdentity;
|
|
286
|
+
action: string;
|
|
287
|
+
state: ConfigApplyTargetState;
|
|
288
|
+
message?: string;
|
|
289
|
+
errorCode?: string;
|
|
290
|
+
relation?: 'requested' | 'dependency';
|
|
291
|
+
requiredBy?: string[];
|
|
292
|
+
}
|
|
293
|
+
export interface ConfigApplyError {
|
|
294
|
+
stage: 'schema' | 'source' | 'effectiveConfig' | 'targetDiscovery' | 'targetValidation' | 'apply';
|
|
295
|
+
code: string;
|
|
296
|
+
message: string;
|
|
297
|
+
}
|
|
298
|
+
export type ConfigApplyResult = {
|
|
299
|
+
state: 'skipped';
|
|
300
|
+
reason: 'notRequested' | 'noConfigChange' | 'noEffectiveConfigChange' | 'noVisibleTarget';
|
|
301
|
+
targetResults: [];
|
|
302
|
+
commandResults?: [];
|
|
303
|
+
} | {
|
|
304
|
+
state: 'unavailable';
|
|
305
|
+
reason: 'invalidConfig' | 'schemaUnavailable' | 'sourceUnavailable' | 'effectiveConfigUnavailable' | 'targetDiscoveryFailed';
|
|
306
|
+
targetResults: ConfigApplyTargetResult[];
|
|
307
|
+
error?: ConfigApplyError;
|
|
308
|
+
commandResults?: CommandProducerResult[];
|
|
309
|
+
} | {
|
|
310
|
+
state: 'succeeded';
|
|
311
|
+
targetResults: ConfigApplyTargetResult[];
|
|
312
|
+
commandResults?: CommandProducerResult[];
|
|
313
|
+
} | {
|
|
314
|
+
state: 'partial';
|
|
315
|
+
targetResults: ConfigApplyTargetResult[];
|
|
316
|
+
errors?: ConfigApplyError[];
|
|
317
|
+
commandResults?: CommandProducerResult[];
|
|
318
|
+
};
|
|
206
319
|
export interface ConfigFieldEntry {
|
|
207
320
|
key: string;
|
|
208
321
|
title: string;
|
|
209
322
|
kind: ConfigFieldKind;
|
|
210
323
|
reserved: boolean;
|
|
211
324
|
writable: boolean;
|
|
325
|
+
canSet: boolean;
|
|
326
|
+
canUnset: boolean;
|
|
212
327
|
valueState: ConfigValueState;
|
|
213
328
|
effectiveValue: unknown | null;
|
|
214
|
-
sourceLayer: 'default' | '
|
|
329
|
+
sourceLayer: 'default' | 'common' | 'platform' | null;
|
|
215
330
|
storedValue?: unknown;
|
|
216
|
-
storedSourceLayer?: '
|
|
331
|
+
storedSourceLayer?: 'common' | 'platform';
|
|
332
|
+
invalidOverride?: {
|
|
333
|
+
sourceLayer: 'default' | 'common' | 'platform';
|
|
334
|
+
issues: unknown[];
|
|
335
|
+
};
|
|
336
|
+
fallback?: {
|
|
337
|
+
state: 'valid';
|
|
338
|
+
effectiveValue: unknown;
|
|
339
|
+
sourceLayer: 'default' | 'common' | 'platform';
|
|
340
|
+
} | {
|
|
341
|
+
state: 'invalid';
|
|
342
|
+
sourceLayer: 'default' | 'common' | 'platform';
|
|
343
|
+
issues: unknown[];
|
|
344
|
+
} | {
|
|
345
|
+
state: 'missing';
|
|
346
|
+
};
|
|
347
|
+
value: unknown | null;
|
|
348
|
+
source: 'default' | 'common' | 'platform' | 'missing';
|
|
349
|
+
matchedPreset: string | null;
|
|
350
|
+
valid: boolean;
|
|
351
|
+
issues: unknown[];
|
|
217
352
|
}
|
|
218
353
|
export interface ConfigReceiptFieldEntry {
|
|
219
354
|
key: string;
|
|
@@ -222,11 +357,21 @@ export interface ConfigReceiptFieldEntry {
|
|
|
222
357
|
reserved: boolean;
|
|
223
358
|
action: 'set' | 'unset' | 'reset';
|
|
224
359
|
scope: Scope;
|
|
225
|
-
projectLayer?: 'shared' | 'local';
|
|
226
360
|
valueState?: ConfigValueState;
|
|
361
|
+
stale?: true;
|
|
362
|
+
}
|
|
363
|
+
export declare const CONFIG_MUTATION_RECEIPT_SCHEMA_VERSION = 7;
|
|
364
|
+
export type ConfigMutationCommand = 'config:set' | 'config:edit' | 'config:unset' | 'config:reset' | 'config:apply';
|
|
365
|
+
export interface ConfigMutationReceiptBase<Command extends ConfigMutationCommand = ConfigMutationCommand> {
|
|
366
|
+
receiptSchemaVersion: typeof CONFIG_MUTATION_RECEIPT_SCHEMA_VERSION;
|
|
367
|
+
command: Command;
|
|
368
|
+
ok: boolean;
|
|
369
|
+
overallState: RebuildReceiptOverallState;
|
|
370
|
+
configWrite: 'notStarted' | 'failed' | 'succeeded';
|
|
227
371
|
}
|
|
228
372
|
export interface ConfigSchemaEvidence {
|
|
229
373
|
source: 'currentCatalog';
|
|
374
|
+
platform?: import('@lesliechan721/aw-plugin-core/manifest').PlatformTarget;
|
|
230
375
|
identity: string;
|
|
231
376
|
pluginVersion: PluginVersion;
|
|
232
377
|
manifestDigest: string;
|
|
@@ -235,75 +380,20 @@ export type PortablePluginRelation = 'requested' | 'direct' | 'transitive';
|
|
|
235
380
|
export interface PortableSkillCandidate {
|
|
236
381
|
name: string;
|
|
237
382
|
description: string;
|
|
383
|
+
shortDescription?: string;
|
|
384
|
+
shortDescriptionSource?: 'metadata' | 'fallback';
|
|
238
385
|
providerPluginId: PluginId;
|
|
239
386
|
providerDisplayName: string;
|
|
240
387
|
relation: PortablePluginRelation;
|
|
241
388
|
dynamic: boolean;
|
|
242
389
|
filesDigest: string;
|
|
390
|
+
configDigest?: string;
|
|
243
391
|
}
|
|
244
|
-
export interface
|
|
392
|
+
export interface ArtifactPlan {
|
|
245
393
|
version: 2;
|
|
246
394
|
artifacts: ArtifactPlanArtifact[];
|
|
247
395
|
}
|
|
248
|
-
export type
|
|
249
|
-
export interface ArtifactPlanArtifactBase {
|
|
250
|
-
id: ManagedArtifactId;
|
|
251
|
-
platform?: PlatformName;
|
|
252
|
-
distribution?: DistributionName;
|
|
253
|
-
target: ArtifactTarget;
|
|
254
|
-
kind: DynamicArtifactKind;
|
|
255
|
-
state: ArtifactState;
|
|
256
|
-
refreshKeys: string[];
|
|
257
|
-
disabledReason?: string;
|
|
258
|
-
}
|
|
259
|
-
export interface DeveloperInstructionsBlockArtifact extends ArtifactPlanArtifactBase {
|
|
260
|
-
target: 'codex.developerInstructionsBlock';
|
|
261
|
-
kind: 'instruction';
|
|
262
|
-
content?: string;
|
|
263
|
-
}
|
|
264
|
-
export interface CodexAgentRoleArtifact extends ArtifactPlanArtifactBase {
|
|
265
|
-
target: 'codex.agentRole';
|
|
266
|
-
kind: 'codexRole';
|
|
267
|
-
roleKey?: string;
|
|
268
|
-
content?: {
|
|
269
|
-
registration?: {
|
|
270
|
-
description?: string;
|
|
271
|
-
};
|
|
272
|
-
roleFile?: {
|
|
273
|
-
name?: string;
|
|
274
|
-
description?: string;
|
|
275
|
-
developer_instructions?: string;
|
|
276
|
-
model?: string;
|
|
277
|
-
model_reasoning_effort?: string;
|
|
278
|
-
};
|
|
279
|
-
};
|
|
280
|
-
}
|
|
281
|
-
export interface CodexSkillArtifact extends ArtifactPlanArtifactBase {
|
|
282
|
-
target: 'codex.skill';
|
|
283
|
-
kind: 'skill';
|
|
284
|
-
skillKey?: string;
|
|
285
|
-
content?: {
|
|
286
|
-
files?: Record<string, string>;
|
|
287
|
-
};
|
|
288
|
-
}
|
|
289
|
-
export interface ClaudeSkillArtifact extends ArtifactPlanArtifactBase {
|
|
290
|
-
target: 'claude.skill';
|
|
291
|
-
kind: 'skill';
|
|
292
|
-
skillKey?: string;
|
|
293
|
-
content?: {
|
|
294
|
-
files?: Record<string, string>;
|
|
295
|
-
};
|
|
296
|
-
}
|
|
297
|
-
export interface AgentSkillsSkillArtifact extends ArtifactPlanArtifactBase {
|
|
298
|
-
distribution: 'agent-skills';
|
|
299
|
-
target: 'agent-skills.skill';
|
|
300
|
-
kind: 'skill';
|
|
301
|
-
skillKey: string;
|
|
302
|
-
content?: {
|
|
303
|
-
files?: Record<string, string>;
|
|
304
|
-
};
|
|
305
|
-
}
|
|
306
|
-
export type ArtifactPlanArtifact = DeveloperInstructionsBlockArtifact | CodexAgentRoleArtifact | CodexSkillArtifact | ClaudeSkillArtifact | AgentSkillsSkillArtifact;
|
|
396
|
+
export type ArtifactPlanArtifact = import('@lesliechan721/aw-plugin-core/manifest').CommandSetArtifact | import('@lesliechan721/aw-plugin-core/manifest').CommandPackageArtifact;
|
|
307
397
|
export interface GeneratedArtifact {
|
|
308
398
|
path: string;
|
|
309
399
|
paths?: string[];
|
|
@@ -312,7 +402,7 @@ export interface GeneratedArtifact {
|
|
|
312
402
|
artifactKey?: string;
|
|
313
403
|
hookGroups?: TrackedHookGroupIdentity[];
|
|
314
404
|
id?: ManagedArtifactId;
|
|
315
|
-
target?:
|
|
405
|
+
target?: ArtifactPlanArtifact['target'];
|
|
316
406
|
state?: ArtifactState;
|
|
317
407
|
disabledReason?: string;
|
|
318
408
|
refreshKeys?: string[];
|
|
@@ -326,6 +416,10 @@ export interface AgentVersionRequirement {
|
|
|
326
416
|
displayName: string;
|
|
327
417
|
minVersion: StrictSemVerString;
|
|
328
418
|
}
|
|
419
|
+
export interface CodexOperationRequirement {
|
|
420
|
+
scope: Scope;
|
|
421
|
+
minimumVersion: StrictSemVerString;
|
|
422
|
+
}
|
|
329
423
|
export interface AgentVersionProbeResult {
|
|
330
424
|
platform: PlatformName;
|
|
331
425
|
command: string;
|
|
@@ -360,11 +454,20 @@ export interface CommandOptions {
|
|
|
360
454
|
platform: PlatformSelection;
|
|
361
455
|
cwd: string;
|
|
362
456
|
scriptTimeoutMs?: number;
|
|
363
|
-
|
|
457
|
+
yes?: boolean;
|
|
458
|
+
}
|
|
459
|
+
export interface DependencyScopeOverride {
|
|
460
|
+
pluginId: string;
|
|
461
|
+
platform: PlatformName;
|
|
462
|
+
scope: Scope;
|
|
463
|
+
}
|
|
464
|
+
export interface DependencyScopeSelector {
|
|
465
|
+
pluginId: string;
|
|
466
|
+
platform?: PlatformName;
|
|
467
|
+
scope: Scope;
|
|
364
468
|
}
|
|
365
|
-
export
|
|
366
|
-
|
|
367
|
-
all?: boolean;
|
|
469
|
+
export interface InstallCommandOptions extends CommandOptions {
|
|
470
|
+
dependencyScopeOverrides?: DependencyScopeSelector[];
|
|
368
471
|
}
|
|
369
472
|
export interface StatusCommandOptions {
|
|
370
473
|
cwd: string;
|
|
@@ -388,10 +491,9 @@ export declare class AgentVersionGateError extends Error {
|
|
|
388
491
|
constructor(message: string, payload: AgentVersionGateErrorPayload);
|
|
389
492
|
}
|
|
390
493
|
export declare function isAgentVersionGateError(error: unknown): error is AgentVersionGateError;
|
|
391
|
-
export type CatalogFreshnessPolicy = 'cacheFirst' | 'forceRemote';
|
|
392
494
|
export interface CatalogResolution {
|
|
393
495
|
rootDir: string;
|
|
394
|
-
source: 'local' | 'embedded'
|
|
496
|
+
source: 'local' | 'embedded';
|
|
395
497
|
channel?: CatalogChannel;
|
|
396
498
|
catalogVersion?: CatalogVersion;
|
|
397
499
|
}
|
package/dist/src/types.js
CHANGED
package/dist/src/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AA4bA,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC;AA2IxD,MAAM,OAAO,mBAAoB,SAAQ,KAAK;IACnC,QAAQ,CAAW;IACnB,QAAQ,CAAS;IAE1B,YACE,OAAe,EACf,UAGI,EAAE;QAEN,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAC;QAClC,IAAI,CAAC,QAAQ,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,CAAC;QACrD,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,IAAI,CAAC,CAAC;IACxC,CAAC;CACF;AAED,MAAM,UAAU,qBAAqB,CAAC,KAAc;IAClD,OAAO,CACL,KAAK,YAAY,KAAK;QACtB,KAAK,CAAC,IAAI,KAAK,qBAAqB;QACpC,KAAK,CAAC,OAAO,CAAE,KAA6B,CAAC,QAAQ,CAAC;QACtD,OAAQ,KAA6B,CAAC,QAAQ,KAAK,QAAQ,CAC5D,CAAC;AACJ,CAAC;AAED,MAAM,OAAO,qBAAsB,SAAQ,KAAK;IACrC,IAAI,GAAG,2BAA2B,CAAC;IACnC,OAAO,CAA+B;IAE/C,YACE,OAAe,EACf,OAAqC;QAErC,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,uBAAuB,CAAC;QACpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;CACF;AAED,MAAM,UAAU,uBAAuB,CAAC,KAAc;IACpD,OAAO,CACL,KAAK,YAAY,KAAK;QACtB,KAAK,CAAC,IAAI,KAAK,uBAAuB;QACtC,OAAQ,KAA+B,CAAC,IAAI,KAAK,QAAQ;QACzD,OAAQ,KAA+B,CAAC,OAAO,KAAK,QAAQ;QAC5D,KAAK,CAAC,OAAO,CAAE,KAA+B,CAAC,OAAO,CAAC,QAAQ,CAAC,CACjE,CAAC;AACJ,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { MINIMUM_AGENT_VERSIONS } from '../constants.js';
|
|
2
|
+
import type { AgentVersionProbeResult, AgentVersionRequirement, CodexOperationRequirement, Scope } from '../types.js';
|
|
2
3
|
import { type NativeCliRunner } from './native-cli.js';
|
|
3
4
|
export interface ProbeAgentVersionOptions {
|
|
4
5
|
argsPrefix?: string[];
|
|
@@ -6,11 +7,19 @@ export interface ProbeAgentVersionOptions {
|
|
|
6
7
|
command?: string;
|
|
7
8
|
cwd?: string;
|
|
8
9
|
env?: NodeJS.ProcessEnv;
|
|
10
|
+
minimumVersion?: string;
|
|
9
11
|
runner?: NativeCliRunner;
|
|
10
12
|
timeoutMs?: number;
|
|
11
13
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
+
type SemVerProbePlatform = keyof typeof MINIMUM_AGENT_VERSIONS;
|
|
15
|
+
type SemVerProbeRequirement = AgentVersionRequirement & {
|
|
16
|
+
platform: SemVerProbePlatform;
|
|
17
|
+
};
|
|
18
|
+
export declare function getMinimumAgentVersion(platform: SemVerProbePlatform): string;
|
|
19
|
+
export declare function getAgentVersionRequirement(platform: SemVerProbePlatform): SemVerProbeRequirement;
|
|
20
|
+
export declare function getCodexOperationRequirement(scope: Scope): CodexOperationRequirement;
|
|
14
21
|
export declare function extractStrictSemVerTokenFromVersionOutput(output: string): string | null;
|
|
15
|
-
export declare function probeAgentVersion(platform:
|
|
22
|
+
export declare function probeAgentVersion(platform: SemVerProbePlatform, options?: ProbeAgentVersionOptions): Promise<AgentVersionProbeResult>;
|
|
23
|
+
export declare function probeCodexOperationVersion(requirement: CodexOperationRequirement, options?: Omit<ProbeAgentVersionOptions, 'minimumVersion'>): Promise<AgentVersionProbeResult>;
|
|
16
24
|
export declare function clearAgentVersionProbeCacheForTests(): void;
|
|
25
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import crypto from 'node:crypto';
|
|
2
2
|
import { AGENT_VERSION_DISPLAY_NAMES, AGENT_VERSION_PROBE_COMMANDS, DEFAULT_AGENT_VERSION_PROBE_TIMEOUT_MS, MINIMUM_AGENT_VERSIONS, } from '../constants.js';
|
|
3
|
-
import { compareStrictSemVer, tryParseStrictSemVer } from '
|
|
3
|
+
import { compareStrictSemVer, tryParseStrictSemVer } from '@lesliechan721/aw-plugin-core/semver';
|
|
4
4
|
import { getCodexHome } from './state-paths.js';
|
|
5
5
|
import { getDefaultNativeCliRunner, isNativeCliExecutableMissingError, runNativeCli, summarizeNativeCliFailure, } from './native-cli.js';
|
|
6
6
|
const VERSION_ARGUMENTS = ['--version'];
|
|
@@ -16,6 +16,12 @@ export function getAgentVersionRequirement(platform) {
|
|
|
16
16
|
minVersion: getMinimumAgentVersion(platform),
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
+
export function getCodexOperationRequirement(scope) {
|
|
20
|
+
return {
|
|
21
|
+
scope,
|
|
22
|
+
minimumVersion: MINIMUM_AGENT_VERSIONS.codex,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
19
25
|
export function extractStrictSemVerTokenFromVersionOutput(output) {
|
|
20
26
|
for (const token of output.split(/\s+/u)) {
|
|
21
27
|
if (token && tryParseStrictSemVer(token)) {
|
|
@@ -46,7 +52,7 @@ function buildProbeCacheKey(platform, requirement, options) {
|
|
|
46
52
|
args: [...(options.argsPrefix ?? []), ...VERSION_ARGUMENTS],
|
|
47
53
|
cwd: options.cwd ?? process.cwd(),
|
|
48
54
|
timeoutMs: options.timeoutMs ?? DEFAULT_AGENT_VERSION_PROBE_TIMEOUT_MS,
|
|
49
|
-
minVersion: requirement.minVersion,
|
|
55
|
+
minVersion: options.minimumVersion ?? requirement.minVersion,
|
|
50
56
|
envFingerprint: createEnvFingerprint(env),
|
|
51
57
|
});
|
|
52
58
|
}
|
|
@@ -75,7 +81,16 @@ function createFailureProbeResult(requirement, status, options = {}) {
|
|
|
75
81
|
};
|
|
76
82
|
}
|
|
77
83
|
export async function probeAgentVersion(platform, options = {}) {
|
|
78
|
-
const
|
|
84
|
+
const baseRequirement = getAgentVersionRequirement(platform);
|
|
85
|
+
const requirement = options.minimumVersion === undefined
|
|
86
|
+
? baseRequirement
|
|
87
|
+
: {
|
|
88
|
+
...baseRequirement,
|
|
89
|
+
minVersion: options.minimumVersion,
|
|
90
|
+
};
|
|
91
|
+
if (!tryParseStrictSemVer(requirement.minVersion)) {
|
|
92
|
+
throw new Error(`Invalid agent version requirement: ${requirement.minVersion}.`);
|
|
93
|
+
}
|
|
79
94
|
const runner = options.runner ?? getDefaultNativeCliRunner();
|
|
80
95
|
if (options.cache === false) {
|
|
81
96
|
return probeAgentVersionUncached(requirement, runner, options);
|
|
@@ -98,6 +113,12 @@ export async function probeAgentVersion(platform, options = {}) {
|
|
|
98
113
|
runnerCache.set(cacheKey, probe);
|
|
99
114
|
return cloneProbeResult(await probe);
|
|
100
115
|
}
|
|
116
|
+
export function probeCodexOperationVersion(requirement, options = {}) {
|
|
117
|
+
return probeAgentVersion('codex', {
|
|
118
|
+
...options,
|
|
119
|
+
minimumVersion: requirement.minimumVersion,
|
|
120
|
+
});
|
|
121
|
+
}
|
|
101
122
|
async function probeAgentVersionUncached(requirement, runner, options) {
|
|
102
123
|
try {
|
|
103
124
|
const env = options.env ?? process.env;
|
|
@@ -108,7 +129,7 @@ async function probeAgentVersionUncached(requirement, runner, options) {
|
|
|
108
129
|
env: requirement.platform === 'codex'
|
|
109
130
|
? { ...env, CODEX_HOME: getCodexHome(env) }
|
|
110
131
|
: options.env,
|
|
111
|
-
|
|
132
|
+
agentKind: requirement.platform,
|
|
112
133
|
timeoutMs: options.timeoutMs ?? DEFAULT_AGENT_VERSION_PROBE_TIMEOUT_MS,
|
|
113
134
|
}, runner);
|
|
114
135
|
const rawOutput = combineProbeOutput(result.stdout, result.stderr);
|
|
@@ -152,6 +173,8 @@ async function probeAgentVersionUncached(requirement, runner, options) {
|
|
|
152
173
|
};
|
|
153
174
|
}
|
|
154
175
|
catch (error) {
|
|
176
|
+
if (error instanceof Error && error.name === 'AbortError')
|
|
177
|
+
throw error;
|
|
155
178
|
const nativeError = error;
|
|
156
179
|
const stdout = typeof nativeError.stdout === 'string' ? nativeError.stdout : '';
|
|
157
180
|
const stderr = typeof nativeError.stderr === 'string' ? nativeError.stderr : '';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-version.js","sourceRoot":"","sources":["../../../src/utils/agent-version.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,OAAO,EACL,2BAA2B,EAC3B,4BAA4B,EAC5B,sCAAsC,EACtC,sBAAsB,GACvB,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"agent-version.js","sourceRoot":"","sources":["../../../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