@lesliechan721/aw 0.1.0-beta.10 → 0.1.0-beta.101
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.d.mts +1 -50
- package/dist/authoring/assets/aw-config.mjs +58 -928
- 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 +16 -39
- package/dist/authoring/scripts/add-skill.mjs.map +1 -1
- package/dist/authoring/scripts/init-plugin.mjs +43 -71
- 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 +3 -3
- package/dist/authoring/scripts/lib/skill-scaffold.mjs +5 -8
- 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 +408 -1748
- 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 +119 -114
- package/dist/scripts/aw-skill-eval-materializer.js.map +1 -1
- package/dist/scripts/bundle-plugins.js +32 -7
- package/dist/scripts/bundle-plugins.js.map +1 -1
- package/dist/scripts/plugin-staging.d.ts +1 -1
- package/dist/scripts/plugin-staging.js +5 -2
- package/dist/scripts/plugin-staging.js.map +1 -1
- package/dist/scripts/plugin-test-context-guard.d.mts +1 -0
- package/dist/scripts/plugin-test-context-guard.mjs +59 -0
- package/dist/scripts/plugin-test-context-guard.mjs.map +1 -0
- 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 +343 -58
- 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 +48 -19
- package/dist/src/commands/aw-capabilities.js.map +1 -1
- package/dist/src/commands/catalog-dev-source.d.ts +40 -3
- package/dist/src/commands/catalog-dev-source.js +333 -42
- package/dist/src/commands/catalog-dev-source.js.map +1 -1
- package/dist/src/commands/catalog-generation.d.ts +5 -0
- package/dist/src/commands/catalog-generation.js.map +1 -1
- package/dist/src/commands/catalog-publication-inspection.d.ts +11 -3
- package/dist/src/commands/catalog-publication-inspection.js +211 -59
- package/dist/src/commands/catalog-publication-inspection.js.map +1 -1
- package/dist/src/commands/catalog-publication-journal.d.ts +12 -0
- package/dist/src/commands/catalog-publication-journal.js +78 -1
- package/dist/src/commands/catalog-publication-journal.js.map +1 -1
- package/dist/src/commands/catalog-publish.d.ts +21 -1
- package/dist/src/commands/catalog-publish.js +133 -92
- package/dist/src/commands/catalog-publish.js.map +1 -1
- package/dist/src/commands/catalog-source.d.ts +26 -5
- package/dist/src/commands/catalog-source.js +154 -27
- 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 +35 -7
- package/dist/src/commands/catalog-store.js +469 -79
- package/dist/src/commands/catalog-store.js.map +1 -1
- 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 +7 -0
- package/dist/src/commands/dependency-operation-plan.js +66 -30
- 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 +101 -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 +35 -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 +408 -0
- package/dist/src/commands/managed-commands.js.map +1 -0
- package/dist/src/commands/offline-cleanup-evidence.d.ts +12 -2
- package/dist/src/commands/offline-cleanup-evidence.js +57 -35
- package/dist/src/commands/offline-cleanup-evidence.js.map +1 -1
- package/dist/src/commands/operation-plan.d.ts +72 -2
- package/dist/src/commands/operation-plan.js +54 -3
- package/dist/src/commands/operation-plan.js.map +1 -1
- package/dist/src/commands/operation-planner.d.ts +6 -5
- package/dist/src/commands/operation-planner.js +23 -20
- package/dist/src/commands/operation-planner.js.map +1 -1
- package/dist/src/commands/options.d.ts +11 -16
- package/dist/src/commands/options.js +31 -25
- 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 +83 -0
- package/dist/src/commands/permission-batch.js.map +1 -0
- package/dist/src/commands/plugin-capabilities.js +128 -58
- 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 +107 -0
- package/dist/src/commands/public-lifecycle-result.js +536 -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 +633 -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 +235 -0
- package/dist/src/commands/public-plugin-query.js.map +1 -0
- package/dist/src/commands/rebuild-command.d.ts +177 -16
- package/dist/src/commands/rebuild-command.js +3374 -1558
- package/dist/src/commands/rebuild-command.js.map +1 -1
- package/dist/src/commands/rebuild-integration.d.ts +100 -55
- package/dist/src/commands/rebuild-integration.js +866 -3275
- package/dist/src/commands/rebuild-integration.js.map +1 -1
- package/dist/src/commands/rebuild-operations.d.ts +68 -13
- package/dist/src/commands/rebuild-operations.js +309 -120
- package/dist/src/commands/rebuild-operations.js.map +1 -1
- package/dist/src/commands/rebuild-platform-integration.d.ts +99 -0
- package/dist/src/commands/rebuild-platform-integration.js +2329 -0
- package/dist/src/commands/rebuild-platform-integration.js.map +1 -0
- package/dist/src/commands/reconcile-operation-plan.d.ts +14 -9
- package/dist/src/commands/reconcile-operation-plan.js +26 -6
- package/dist/src/commands/reconcile-operation-plan.js.map +1 -1
- package/dist/src/commands/review-inspection.d.ts +60 -0
- package/dist/src/commands/review-inspection.js +437 -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 +7 -1
- package/dist/src/commands/runtime.js +41 -8
- 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 +148 -35
- package/dist/src/commands/status-v6.js +1166 -307
- 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 +210 -0
- package/dist/src/commands/targets-command.js.map +1 -0
- package/dist/src/commands/wizard.d.ts +7 -3
- 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 +7 -1
- package/dist/src/commands/write-commands.js +129 -38
- 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 -3
- package/dist/src/eval/manifest-v1.js +44 -33
- 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 +319 -353
- 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 -34
- package/dist/src/index.js +1711 -1935
- 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/cli-progress.d.ts +30 -0
- package/dist/src/output/cli-progress.js +424 -0
- package/dist/src/output/cli-progress.js.map +1 -0
- package/dist/src/output/command-receipt.d.ts +6 -2
- package/dist/src/output/command-receipt.js +67 -32
- 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 +141 -0
- package/dist/src/output/component-delivery.js.map +1 -0
- package/dist/src/output/model.d.ts +123 -1
- package/dist/src/output/model.js +45 -1
- package/dist/src/output/model.js.map +1 -1
- package/dist/src/output/public-command-ids.d.ts +8 -0
- package/dist/src/output/public-command-ids.js +38 -0
- package/dist/src/output/public-command-ids.js.map +1 -0
- package/dist/src/output/public-result.d.ts +71 -0
- package/dist/src/output/public-result.js +40 -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 -9
- 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 +670 -0
- package/dist/src/output/receipt-projection.js.map +1 -0
- package/dist/src/output/render/document.d.ts +55 -0
- package/dist/src/output/render/document.js +176 -0
- package/dist/src/output/render/document.js.map +1 -0
- package/dist/src/output/render/shared.d.ts +18 -0
- package/dist/src/output/render/shared.js +245 -0
- package/dist/src/output/render/shared.js.map +1 -0
- package/dist/src/output/render/style.d.ts +45 -0
- package/dist/src/output/render/style.js +155 -0
- package/dist/src/output/render/style.js.map +1 -0
- package/dist/src/output/render/views/commands-self.d.ts +6 -0
- package/dist/src/output/render/views/commands-self.js +210 -0
- package/dist/src/output/render/views/commands-self.js.map +1 -0
- package/dist/src/output/render/views/config.d.ts +2 -0
- package/dist/src/output/render/views/config.js +203 -0
- package/dist/src/output/render/views/config.js.map +1 -0
- package/dist/src/output/render/views/dev.d.ts +2 -0
- package/dist/src/output/render/views/dev.js +278 -0
- package/dist/src/output/render/views/dev.js.map +1 -0
- package/dist/src/output/render/views/fallback.d.ts +2 -0
- package/dist/src/output/render/views/fallback.js +6 -0
- package/dist/src/output/render/views/fallback.js.map +1 -0
- package/dist/src/output/render/views/index.d.ts +3 -0
- package/dist/src/output/render/views/index.js +79 -0
- package/dist/src/output/render/views/index.js.map +1 -0
- package/dist/src/output/render/views/lifecycle.d.ts +5 -0
- package/dist/src/output/render/views/lifecycle.js +170 -0
- package/dist/src/output/render/views/lifecycle.js.map +1 -0
- package/dist/src/output/render/views/sources-cache.d.ts +3 -0
- package/dist/src/output/render/views/sources-cache.js +322 -0
- package/dist/src/output/render/views/sources-cache.js.map +1 -0
- package/dist/src/output/render/views/targets.d.ts +2 -0
- package/dist/src/output/render/views/targets.js +82 -0
- package/dist/src/output/render/views/targets.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 +9 -0
- package/dist/src/platforms/capabilities.js +125 -0
- package/dist/src/platforms/capabilities.js.map +1 -0
- package/dist/src/platforms/contracts.d.ts +394 -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 +100 -0
- package/dist/src/platforms/discovery.js +796 -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 +380 -0
- package/dist/src/platforms/inspection-grok.js.map +1 -0
- package/dist/src/platforms/inspection-native.d.ts +8 -0
- package/dist/src/platforms/inspection-native.js +584 -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 +490 -0
- package/dist/src/platforms/inspection-pi.js.map +1 -0
- package/dist/src/platforms/inspection-query.d.ts +26 -0
- package/dist/src/platforms/inspection-query.js +118 -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 +332 -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 +213 -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 +234 -0
- package/dist/src/platforms/lifecycle-native.js.map +1 -0
- package/dist/src/platforms/lifecycle.d.ts +29 -0
- package/dist/src/platforms/lifecycle.js +688 -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 +28 -0
- package/dist/src/platforms/projection-files.js +113 -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 +578 -0
- package/dist/src/platforms/projection.js.map +1 -0
- package/dist/src/platforms/read-only-retry-policy.d.ts +34 -0
- package/dist/src/platforms/read-only-retry-policy.js +70 -0
- package/dist/src/platforms/read-only-retry-policy.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/retirement-native.d.ts +6 -0
- package/dist/src/platforms/retirement-native.js +95 -0
- package/dist/src/platforms/retirement-native.js.map +1 -0
- package/dist/src/platforms/supplement-layout.d.ts +20 -0
- package/dist/src/platforms/supplement-layout.js +54 -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 +60 -11
- package/dist/src/portable/commands.js +88 -346
- package/dist/src/portable/commands.js.map +1 -1
- package/dist/src/portable/historical-materialization.d.ts +25 -0
- package/dist/src/portable/historical-materialization.js +148 -0
- package/dist/src/portable/historical-materialization.js.map +1 -0
- package/dist/src/portable/materializer.d.ts +46 -2
- package/dist/src/portable/materializer.js +262 -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 +177 -0
- package/dist/src/portable/recovery.js +597 -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 +175 -0
- package/dist/src/recovery/coordinator.js +1629 -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 +1728 -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 +312 -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 +131 -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 +504 -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 +1528 -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 +5 -0
- package/dist/src/review/platform-profile.js +13 -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 +286 -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 +67 -0
- package/dist/src/review/skill-materialization.js +235 -0
- package/dist/src/review/skill-materialization.js.map +1 -0
- package/dist/src/review/source-binding.d.ts +203 -0
- package/dist/src/review/source-binding.js +791 -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-generation.d.ts +9 -0
- package/dist/src/tui/catalog-generation.js +96 -6
- package/dist/src/tui/catalog-generation.js.map +1 -1
- package/dist/src/tui/catalog-sources/projection.d.ts +2 -2
- package/dist/src/tui/catalog-sources/screens.js +19 -12
- package/dist/src/tui/catalog-sources/screens.js.map +1 -1
- package/dist/src/tui/catalog-sources/session.d.ts +11 -1
- package/dist/src/tui/catalog-sources/session.js +80 -5
- package/dist/src/tui/catalog-sources/session.js.map +1 -1
- package/dist/src/tui/catalog-sources/types.d.ts +15 -2
- 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 +23 -0
- package/dist/src/tui/config-value-presentation.js +151 -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 +9779 -2488
- 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 +4 -3
- package/dist/src/tui/controller-runtime.js +1610 -590
- package/dist/src/tui/controller-runtime.js.map +1 -1
- package/dist/src/tui/controller.d.ts +583 -80
- package/dist/src/tui/controller.js +3362 -263
- 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 +14 -0
- package/dist/src/tui/deployment-view.js +175 -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 +327 -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 +4 -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 +141 -28
- package/dist/src/tui/model.js +968 -285
- 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 +7 -0
- package/dist/src/tui/operation-review-planner.js +980 -146
- package/dist/src/tui/operation-review-planner.js.map +1 -1
- 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/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 +170 -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 +139 -0
- package/dist/src/tui/scoped-inventory.js +295 -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 +26 -4
- package/dist/src/tui/wizard.js.map +1 -1
- package/dist/src/types.d.ts +105 -83
- package/dist/src/types.js +1 -1
- 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 +18 -25
- package/dist/src/utils/artifact-plan.js +59 -445
- package/dist/src/utils/artifact-plan.js.map +1 -1
- package/dist/src/utils/artifact-renderer.d.ts +64 -90
- package/dist/src/utils/artifact-renderer.js +202 -303
- package/dist/src/utils/artifact-renderer.js.map +1 -1
- package/dist/src/utils/artifact-request.d.ts +19 -14
- package/dist/src/utils/artifact-request.js +51 -36
- package/dist/src/utils/artifact-request.js.map +1 -1
- 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.d.ts +1 -0
- package/dist/src/utils/aw-home-mutation-lock.js +28 -6
- package/dist/src/utils/aw-home-mutation-lock.js.map +1 -1
- package/dist/src/utils/bundle-layout.d.ts +2 -0
- package/dist/src/utils/bundle-layout.js +88 -158
- 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 -12
- package/dist/src/utils/catalog-digests.js +7 -55
- package/dist/src/utils/catalog-digests.js.map +1 -1
- package/dist/src/utils/catalog-generation-resolver.d.ts +28 -4
- package/dist/src/utils/catalog-generation-resolver.js +146 -40
- package/dist/src/utils/catalog-generation-resolver.js.map +1 -1
- package/dist/src/utils/catalog-generation-service.d.ts +25 -2
- package/dist/src/utils/catalog-generation-service.js +99 -48
- package/dist/src/utils/catalog-generation-service.js.map +1 -1
- package/dist/src/utils/catalog-generation-state.js +1 -1
- package/dist/src/utils/catalog-generation-state.js.map +1 -1
- package/dist/src/utils/catalog-generation-store.d.ts +5 -0
- package/dist/src/utils/catalog-generation-store.js +69 -10
- package/dist/src/utils/catalog-generation-store.js.map +1 -1
- package/dist/src/utils/catalog-operation-context.d.ts +61 -4
- package/dist/src/utils/catalog-operation-context.js +225 -4
- package/dist/src/utils/catalog-operation-context.js.map +1 -1
- package/dist/src/utils/catalog-public-error.js +4 -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 +3 -0
- 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 +3 -2
- package/dist/src/utils/catalog-source-impact.js +142 -20
- package/dist/src/utils/catalog-source-impact.js.map +1 -1
- package/dist/src/utils/catalog-source-references.d.ts +57 -1
- package/dist/src/utils/catalog-source-references.js +755 -162
- package/dist/src/utils/catalog-source-references.js.map +1 -1
- package/dist/src/utils/catalog-sources.d.ts +1 -1
- package/dist/src/utils/catalog-sources.js +21 -5
- package/dist/src/utils/catalog-sources.js.map +1 -1
- package/dist/src/utils/codex-config.d.ts +3 -0
- package/dist/src/utils/codex-config.js +7 -0
- 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 +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-native-observation.d.ts +40 -1
- package/dist/src/utils/codex-native-observation.js +172 -0
- package/dist/src/utils/codex-native-observation.js.map +1 -1
- package/dist/src/utils/codex-reconciler.d.ts +2 -7
- package/dist/src/utils/codex-reconciler.js +33 -5
- package/dist/src/utils/codex-reconciler.js.map +1 -1
- package/dist/src/utils/codex-shared-native.d.ts +8 -26
- package/dist/src/utils/codex-shared-native.js +63 -83
- 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 +29 -0
- package/dist/src/utils/codex-skills-root.js.map +1 -0
- package/dist/src/utils/codex-surface-analysis.d.ts +6 -2
- package/dist/src/utils/codex-surface-analysis.js +31 -56
- package/dist/src/utils/codex-surface-analysis.js.map +1 -1
- package/dist/src/utils/component-agent-binding.d.ts +17 -0
- package/dist/src/utils/component-agent-binding.js +119 -0
- package/dist/src/utils/component-agent-binding.js.map +1 -0
- package/dist/src/utils/component-command-preparation.d.ts +33 -0
- package/dist/src/utils/component-command-preparation.js +129 -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 +16 -0
- package/dist/src/utils/component-gap.js.map +1 -0
- package/dist/src/utils/component-resources.d.ts +53 -0
- package/dist/src/utils/component-resources.js +340 -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 +3 -0
- package/dist/src/utils/git-catalog-provider.js +49 -3
- 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 +19 -12
- package/dist/src/utils/local-marketplace.js +97 -194
- 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 +6 -1
- package/dist/src/utils/multi-source-catalog.js +9 -4
- package/dist/src/utils/multi-source-catalog.js.map +1 -1
- package/dist/src/utils/native-cli-interruption.d.ts +11 -0
- package/dist/src/utils/native-cli-interruption.js +106 -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/ownership.d.ts +38 -3
- package/dist/src/utils/ownership.js +118 -11
- 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 +249 -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 +76 -0
- package/dist/src/utils/plugin-config-impact.js +359 -0
- package/dist/src/utils/plugin-config-impact.js.map +1 -0
- package/dist/src/utils/plugin-config-references.d.ts +116 -0
- package/dist/src/utils/plugin-config-references.js +379 -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 +322 -0
- package/dist/src/utils/plugin-config-suggestions.js.map +1 -0
- package/dist/src/utils/plugin-config-write.d.ts +108 -19
- package/dist/src/utils/plugin-config-write.js +781 -568
- package/dist/src/utils/plugin-config-write.js.map +1 -1
- package/dist/src/utils/plugin-config.d.ts +122 -43
- package/dist/src/utils/plugin-config.js +574 -610
- 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 +41 -17
- package/dist/src/utils/plugin-scripts.js +586 -123
- package/dist/src/utils/plugin-scripts.js.map +1 -1
- package/dist/src/utils/process-lock.d.ts +1 -0
- package/dist/src/utils/process-lock.js +22 -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 -1
- package/dist/src/utils/project-boundary.js +33 -11
- 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 +50 -7
- package/dist/src/utils/runtime-skill-closure.js.map +1 -1
- 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 +19 -0
- package/dist/src/utils/skill-invocation-warning.js +43 -0
- package/dist/src/utils/skill-invocation-warning.js.map +1 -0
- package/dist/src/utils/skill-validation.js +0 -5
- package/dist/src/utils/skill-validation.js.map +1 -1
- 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 +2 -2
- 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 +109 -9
- package/dist/vitest.config.js.map +1 -1
- package/package.json +20 -12
- package/dist/authoring/templates/aw-config-runtime.d.mts +0 -2
- package/dist/authoring/templates/aw-config-runtime.mjs +0 -407
- package/dist/authoring/templates/aw-config-runtime.mjs.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/sync-command.d.ts +0 -23
- package/dist/src/commands/sync-command.js +0 -242
- 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/codex-native-render-receipt.d.ts +0 -40
- package/dist/src/utils/codex-native-render-receipt.js +0 -205
- package/dist/src/utils/codex-native-render-receipt.js.map +0 -1
- package/dist/src/utils/plugin-intent-state.d.ts +0 -34
- package/dist/src/utils/plugin-intent-state.js +0 -289
- 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
package/dist/src/output/model.js
CHANGED
|
@@ -1,2 +1,46 @@
|
|
|
1
|
-
|
|
1
|
+
// The key, rather than an arbitrary event label, is the public progress
|
|
2
|
+
// formatter's authority. Subjects are checked separately at the presentation
|
|
3
|
+
// boundary. Read activity is delayed in line mode to keep fast queries quiet.
|
|
4
|
+
export const CLI_PHASES = {
|
|
5
|
+
'prepare-source': { label: 'Preparing source', done: 'Prepared source', activity: 'write', subject: 'source' },
|
|
6
|
+
'activate-source': { label: 'Activating source', done: 'Activated source', activity: 'write', subject: 'source' },
|
|
7
|
+
'prepare-recovery': { label: 'Preparing recovery', done: 'Prepared recovery', activity: 'read' },
|
|
8
|
+
'inspect-cache': { label: 'Inspecting cache entries', done: 'Inspected cache entries', activity: 'read' },
|
|
9
|
+
'prune-cache': { label: 'Pruning cache entries', done: 'Pruned cache entries', activity: 'write' },
|
|
10
|
+
'probe-targets': { label: 'Probing local targets', done: 'Probed local targets', activity: 'read' },
|
|
11
|
+
'load-suggestions': { label: 'Loading suggestions for', done: 'Loaded suggestions for', activity: 'read', subject: 'field' },
|
|
12
|
+
'inspect-plugins': { label: 'Inspecting installed plugins', done: 'Inspected installed plugins', activity: 'read' },
|
|
13
|
+
'observe-opencode': { label: 'Observing OpenCode native load', done: 'Observed OpenCode native load', activity: 'read' },
|
|
14
|
+
'check-remote-source': { label: 'Checking remote source', done: 'Checked remote source', activity: 'read', subject: 'source' },
|
|
15
|
+
'sync-source': { label: 'Syncing source', done: 'Synced source', activity: 'write', subject: 'source' },
|
|
16
|
+
'wait-lock': { label: 'Waiting for AW_HOME lock', done: 'Acquired AW_HOME lock', activity: 'write' },
|
|
17
|
+
'build-plugin': { label: 'Building plugin', done: 'Built plugin', activity: 'write', subject: 'name' },
|
|
18
|
+
'test-plugin': { label: 'Running plugin tests', done: 'Finished plugin tests', activity: 'read', subject: 'name' },
|
|
19
|
+
'build-catalog': { label: 'Building catalog', done: 'Built catalog', activity: 'write' },
|
|
20
|
+
'publish-plan': { label: 'Checking remote refs', done: 'Checked remote refs', activity: 'read' },
|
|
21
|
+
'publish-apply': { label: 'Pushing catalog release', done: 'Published catalog release', activity: 'write' },
|
|
22
|
+
'prepare-review': { label: 'Preparing review staging', done: 'Prepared review staging', activity: 'write' },
|
|
23
|
+
'prepare-eval': { label: 'Preparing eval workspace', done: 'Prepared eval workspace', activity: 'write' },
|
|
24
|
+
};
|
|
25
|
+
export function reportCliPhase(reporter, phase, status, details = {}) {
|
|
26
|
+
// Observability must not change the operation or its error classification.
|
|
27
|
+
try {
|
|
28
|
+
void Promise.resolve(reporter.event({ type: 'cli:phase', data: { ...details, phase, label: CLI_PHASES[phase].label, status } })).catch(() => undefined);
|
|
29
|
+
}
|
|
30
|
+
catch { /* progress observers cannot fail the command */ }
|
|
31
|
+
}
|
|
32
|
+
export async function withCliPhase(reporter, phase, operation, options = {}) {
|
|
33
|
+
const { failed, ...details } = options;
|
|
34
|
+
const start = performance.now();
|
|
35
|
+
reportCliPhase(reporter, phase, 'start', details);
|
|
36
|
+
try {
|
|
37
|
+
const result = await operation();
|
|
38
|
+
reportCliPhase(reporter, phase, failed?.(result) ? 'fail' : 'done', { ...details, durationMs: performance.now() - start });
|
|
39
|
+
return result;
|
|
40
|
+
}
|
|
41
|
+
catch (error) {
|
|
42
|
+
reportCliPhase(reporter, phase, 'fail', { ...details, durationMs: performance.now() - start });
|
|
43
|
+
throw error;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
2
46
|
//# sourceMappingURL=model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../../src/output/model.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../../src/output/model.ts"],"names":[],"mappings":"AA4DA,wEAAwE;AACxE,6EAA6E;AAC7E,8EAA8E;AAC9E,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,gBAAgB,EAAE,EAAE,KAAK,EAAE,kBAAkB,EAAE,IAAI,EAAE,iBAAiB,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE;IAC9G,iBAAiB,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE;IACjH,kBAAkB,EAAE,EAAE,KAAK,EAAE,oBAAoB,EAAE,IAAI,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,EAAE;IAChG,eAAe,EAAE,EAAE,KAAK,EAAE,0BAA0B,EAAE,IAAI,EAAE,yBAAyB,EAAE,QAAQ,EAAE,MAAM,EAAE;IACzG,aAAa,EAAE,EAAE,KAA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AC;QACjC,cAAc,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,GAAG,OAAO,EAAE,UAAU,EAAE,WAAW,CAAC,GAAG,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC;QAC3H,OAAO,MAAM,CAAC;IAChB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,cAAc,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,GAAG,OAAO,EAAE,UAAU,EAAE,WAAW,CAAC,GAAG,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC;QAC/F,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const PROJECTED_COMMAND_IDS: readonly ["self.describe", "self.check", "source.status", "source.add", "source.update", "source.remove", "source.sync", "cache.status", "cache.prune", "target.list", "target.set", "target.exclude", "target.include", "plugin.config.schema", "plugin.config.get", "plugin.config.set", "plugin.config.unset", "plugin.config.reset", "plugin.config.apply", "command.install", "command.update", "command.remove", "command.list", "command.show", "command.package.sync", "command.package.remove", "dev.plugin.capabilities", "dev.plugin.requirements", "dev.plugin.create", "dev.plugin.validate", "dev.plugin.test", "dev.plugin.build", "dev.plugin.remove", "dev.plugin.status", "dev.skill.create", "dev.skill.export", "dev.skill.validate", "dev.review.inspect", "dev.review.prepare", "dev.eval.check", "dev.eval.prepare", "dev.catalog.create", "dev.catalog.version", "dev.catalog.build", "dev.catalog.validate", "dev.catalog.status", "dev.catalog.publish.plan", "dev.catalog.publish.apply", "dev.source.activate", "dev.source.status", "dev.source.deactivate"];
|
|
2
|
+
export declare const DIRECT_RESULT_COMMAND_IDS: readonly ["plugin.install", "plugin.remove", "plugin.sync", "plugin.list", "plugin.show", "plugin.status", "plugin.config.suggestions", "help", "version", "tui"];
|
|
3
|
+
export declare const PUBLIC_RESULT_COMMAND_IDS: readonly ["self.describe", "self.check", "source.status", "source.add", "source.update", "source.remove", "source.sync", "cache.status", "cache.prune", "target.list", "target.set", "target.exclude", "target.include", "plugin.config.schema", "plugin.config.get", "plugin.config.set", "plugin.config.unset", "plugin.config.reset", "plugin.config.apply", "command.install", "command.update", "command.remove", "command.list", "command.show", "command.package.sync", "command.package.remove", "dev.plugin.capabilities", "dev.plugin.requirements", "dev.plugin.create", "dev.plugin.validate", "dev.plugin.test", "dev.plugin.build", "dev.plugin.remove", "dev.plugin.status", "dev.skill.create", "dev.skill.export", "dev.skill.validate", "dev.review.inspect", "dev.review.prepare", "dev.eval.check", "dev.eval.prepare", "dev.catalog.create", "dev.catalog.version", "dev.catalog.build", "dev.catalog.validate", "dev.catalog.status", "dev.catalog.publish.plan", "dev.catalog.publish.apply", "dev.source.activate", "dev.source.status", "dev.source.deactivate", "plugin.install", "plugin.remove", "plugin.sync", "plugin.list", "plugin.show", "plugin.status", "plugin.config.suggestions", "help", "version", "tui"];
|
|
4
|
+
export declare const NON_RESULT_BYPASS_COMMAND_IDS: readonly ["command.run"];
|
|
5
|
+
export type ProjectedCommandId = (typeof PROJECTED_COMMAND_IDS)[number];
|
|
6
|
+
export type PublicResultCommandId = (typeof PUBLIC_RESULT_COMMAND_IDS)[number];
|
|
7
|
+
export declare function isProjectedCommandId(command: string): command is ProjectedCommandId;
|
|
8
|
+
export declare function isPublicResultCommandId(command: string | null): command is PublicResultCommandId;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// Public results have two production paths: receipt projection and direct results.
|
|
2
|
+
// Keep this list exhaustive with the registered CLI leaf commands.
|
|
3
|
+
export const PROJECTED_COMMAND_IDS = [
|
|
4
|
+
'self.describe', 'self.check',
|
|
5
|
+
'source.status', 'source.add', 'source.update', 'source.remove', 'source.sync',
|
|
6
|
+
'cache.status', 'cache.prune',
|
|
7
|
+
'target.list', 'target.set', 'target.exclude', 'target.include',
|
|
8
|
+
'plugin.config.schema', 'plugin.config.get', 'plugin.config.set',
|
|
9
|
+
'plugin.config.unset', 'plugin.config.reset', 'plugin.config.apply',
|
|
10
|
+
'command.install', 'command.update', 'command.remove', 'command.list', 'command.show',
|
|
11
|
+
'command.package.sync', 'command.package.remove',
|
|
12
|
+
'dev.plugin.capabilities', 'dev.plugin.requirements', 'dev.plugin.create',
|
|
13
|
+
'dev.plugin.validate', 'dev.plugin.test', 'dev.plugin.build',
|
|
14
|
+
'dev.plugin.remove', 'dev.plugin.status',
|
|
15
|
+
'dev.skill.create', 'dev.skill.export', 'dev.skill.validate',
|
|
16
|
+
'dev.review.inspect', 'dev.review.prepare',
|
|
17
|
+
'dev.eval.check', 'dev.eval.prepare',
|
|
18
|
+
'dev.catalog.create', 'dev.catalog.version', 'dev.catalog.build',
|
|
19
|
+
'dev.catalog.validate', 'dev.catalog.status',
|
|
20
|
+
'dev.catalog.publish.plan', 'dev.catalog.publish.apply',
|
|
21
|
+
'dev.source.activate', 'dev.source.status', 'dev.source.deactivate',
|
|
22
|
+
];
|
|
23
|
+
export const DIRECT_RESULT_COMMAND_IDS = [
|
|
24
|
+
'plugin.install', 'plugin.remove', 'plugin.sync',
|
|
25
|
+
'plugin.list', 'plugin.show', 'plugin.status',
|
|
26
|
+
'plugin.config.suggestions', 'help', 'version', 'tui',
|
|
27
|
+
];
|
|
28
|
+
export const PUBLIC_RESULT_COMMAND_IDS = [...PROJECTED_COMMAND_IDS, ...DIRECT_RESULT_COMMAND_IDS];
|
|
29
|
+
export const NON_RESULT_BYPASS_COMMAND_IDS = ['command.run'];
|
|
30
|
+
const projected = new Set(PROJECTED_COMMAND_IDS);
|
|
31
|
+
const publicResults = new Set(PUBLIC_RESULT_COMMAND_IDS);
|
|
32
|
+
export function isProjectedCommandId(command) {
|
|
33
|
+
return projected.has(command);
|
|
34
|
+
}
|
|
35
|
+
export function isPublicResultCommandId(command) {
|
|
36
|
+
return command !== null && publicResults.has(command);
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=public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aAAa,CAAU,CAAC;AAKtE,MAAM,SAAS,GAAG,IAAI,GAAG,CAAS,qBAAqB,CAAC,CAAC;AACzD,MAAM,aAAa,GAAG,IAAI,GAAG,CAAS,yBAAyB,CAAC,CAAC;AACjE,MAAM,UAAU,oBAAoB,CAAC,OAAe;IAClD,OAAO,SAAS,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AAChC,CAAC;AACD,MAAM,UAAU,uBAAuB,CAAC,OAAsB;IAC5D,OAAO,OAAO,KAAK,IAAI,IAAI,aAAa,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AACxD,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
import type { PublicResultCommandId } from './public-command-ids.js';
|
|
6
|
+
export { renderPublicResult } from './render/views/index.js';
|
|
7
|
+
export type { RenderOptions } from './render/style.js';
|
|
8
|
+
export declare const CLI_OUTPUT_SCHEMA_VERSION = 2;
|
|
9
|
+
export interface PermissionRuleChange {
|
|
10
|
+
change: 'add' | 'remove';
|
|
11
|
+
effect: Exclude<PermissionAction, 'sandbox'>;
|
|
12
|
+
resource: string;
|
|
13
|
+
}
|
|
14
|
+
export interface Diagnostic {
|
|
15
|
+
code: string;
|
|
16
|
+
severity: 'info' | 'warning' | 'error';
|
|
17
|
+
message: string;
|
|
18
|
+
subject?: {
|
|
19
|
+
pluginId?: string;
|
|
20
|
+
sourceId?: string;
|
|
21
|
+
target?: string;
|
|
22
|
+
scope?: 'user' | 'project';
|
|
23
|
+
field?: string;
|
|
24
|
+
};
|
|
25
|
+
detail?: {
|
|
26
|
+
reasonCode: string;
|
|
27
|
+
path?: string;
|
|
28
|
+
configKey?: string;
|
|
29
|
+
fieldKeys?: string[];
|
|
30
|
+
skillInvocationControls?: SkillInvocationControl[];
|
|
31
|
+
skippedPermissionActions?: PermissionAction[];
|
|
32
|
+
permissionResource?: string;
|
|
33
|
+
permissionAction?: Exclude<PermissionAction, 'sandbox'>;
|
|
34
|
+
permissionChanges?: PermissionRuleChange[];
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export type NextAction = {
|
|
38
|
+
kind: 'command';
|
|
39
|
+
argv: string[];
|
|
40
|
+
reason: string;
|
|
41
|
+
requiresConfirmation: boolean;
|
|
42
|
+
} | {
|
|
43
|
+
kind: 'manual';
|
|
44
|
+
message: string;
|
|
45
|
+
};
|
|
46
|
+
export type PublicCommandProducerResult = Omit<CommandProducerResult, 'errors' | 'recoveryActions'> & {
|
|
47
|
+
blockerCodes: string[];
|
|
48
|
+
};
|
|
49
|
+
export declare function commandPackageRecoveryActions(results?: readonly CommandProducerResult[]): NextAction[];
|
|
50
|
+
export interface Confirmation {
|
|
51
|
+
required: boolean;
|
|
52
|
+
provided: boolean;
|
|
53
|
+
effects: Array<{
|
|
54
|
+
code: string;
|
|
55
|
+
message: string;
|
|
56
|
+
subject?: Diagnostic['subject'];
|
|
57
|
+
impact: 'selected-scope' | 'user-wide' | 'shared' | 'unknown';
|
|
58
|
+
}>;
|
|
59
|
+
}
|
|
60
|
+
export declare function inactiveCommandPermissionEffects(deployment: FrozenDeploymentPlan): Confirmation['effects'];
|
|
61
|
+
export interface CommandResult<T extends object = Record<string, unknown>> {
|
|
62
|
+
schemaVersion: typeof CLI_OUTPUT_SCHEMA_VERSION;
|
|
63
|
+
command: string | null;
|
|
64
|
+
status: 'success' | 'partial' | 'blocked' | 'failed';
|
|
65
|
+
data: T | Record<string, never>;
|
|
66
|
+
diagnostics: Diagnostic[];
|
|
67
|
+
nextActions: NextAction[];
|
|
68
|
+
}
|
|
69
|
+
export declare function commandResult<T extends object>(command: PublicResultCommandId | null, data: T | Record<string, never>, options?: Partial<Pick<CommandResult<T>, 'status' | 'diagnostics' | 'nextActions'>>): CommandResult<T>;
|
|
70
|
+
export declare function publicExitCode(result: CommandResult<object>, argumentError?: boolean): number;
|
|
71
|
+
export declare function safePublicMessage(message: string, code?: string): string;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { reviewedInactivePermissions } from '../utils/managed-command-review.js';
|
|
2
|
+
import { redactString } from './redact.js';
|
|
3
|
+
export { renderPublicResult } from './render/views/index.js';
|
|
4
|
+
export const CLI_OUTPUT_SCHEMA_VERSION = 2;
|
|
5
|
+
export function commandPackageRecoveryActions(results = []) {
|
|
6
|
+
const actions = new Map();
|
|
7
|
+
for (const result of results) {
|
|
8
|
+
for (const [verb, selector] of [['sync', result.selector], ['remove', result.selector], ['remove', result.packageId]]) {
|
|
9
|
+
const argv = ['aw', 'command', 'package', verb, selector];
|
|
10
|
+
const command = argv.join(' ');
|
|
11
|
+
const forced = verb === 'remove' && result.recoveryActions.some((entry) => entry === `${command} --force` || entry === `${command} --force --yes`);
|
|
12
|
+
if (!forced && !result.recoveryActions.some((entry) => entry === command || entry === `${command} --yes`))
|
|
13
|
+
continue;
|
|
14
|
+
actions.set(command, { kind: 'command', argv: forced ? [...argv, '--force'] : argv, requiresConfirmation: true,
|
|
15
|
+
reason: verb === 'sync' ? 'Repair the affected command package after resolving its diagnostics.'
|
|
16
|
+
: 'Review removal of the shared command package. This affects all projects using it.' });
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return [...actions.values()];
|
|
20
|
+
}
|
|
21
|
+
export function inactiveCommandPermissionEffects(deployment) {
|
|
22
|
+
const { plugin, platform, scope } = deployment.binding;
|
|
23
|
+
return reviewedInactivePermissions(deployment.binding, deployment.evidence.managedCommandReview).map(({ action, invocationSelector, argsPrefix }) => ({
|
|
24
|
+
code: 'retainInactiveCommandRestriction',
|
|
25
|
+
message: `Keep the ${action} rule for ${['aw', 'command', 'run', invocationSelector, '--', ...argsPrefix].join(' ')}. No handler is currently reachable for this prefix.`,
|
|
26
|
+
impact: 'selected-scope',
|
|
27
|
+
subject: { pluginId: plugin.pluginId, target: platform, scope: scope.kind },
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
30
|
+
export function commandResult(command, data, options = {}) {
|
|
31
|
+
return { schemaVersion: CLI_OUTPUT_SCHEMA_VERSION, command, status: options.status ?? 'success', data, diagnostics: options.diagnostics ?? [], nextActions: options.nextActions ?? [] };
|
|
32
|
+
}
|
|
33
|
+
export function publicExitCode(result, argumentError = false) {
|
|
34
|
+
return result.status === 'success' ? 0 : result.status === 'partial' ? 4 : result.status === 'blocked' ? 3 : argumentError ? 2 : 1;
|
|
35
|
+
}
|
|
36
|
+
export function safePublicMessage(message, code = 'commandFailed') {
|
|
37
|
+
const messages = { confirmationRequired: 'Repeat the command with --yes to confirm the listed effects.' };
|
|
38
|
+
return messages[code] ?? redactString(message);
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=public-result.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public-result.js","sourceRoot":"","sources":["../../../src/output/public-result.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AAKjF,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC;AAsB3C,MAAM,UAAU,6BAA6B,CAAC,UAA4C,EAAE;IAC1F,MAAM,OAAO,GAAG,IAAI,GAAG,EAAsB,CAAC;IAC9C,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,KAAK,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,SAAS,CAAC,CAAU,EAA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AC,IAAI,YAAY,CAAC,OAAO,CAAC,CAAC;AACjD,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { InstallTaskProgress } from '../recovery/install-concurrency.js';
|
|
1
2
|
import type { CommandEvent, CommandNotice } from './model.js';
|
|
2
3
|
export declare function projectTuiNotice(notice: CommandNotice): string;
|
|
3
4
|
export interface RebuildProgressCurrent {
|
|
@@ -6,6 +7,7 @@ export interface RebuildProgressCurrent {
|
|
|
6
7
|
}
|
|
7
8
|
export interface RebuildProgressSnapshot {
|
|
8
9
|
current?: RebuildProgressCurrent;
|
|
10
|
+
installProgress?: InstallTaskProgress;
|
|
9
11
|
messages: string[];
|
|
10
12
|
startedAtMs?: number;
|
|
11
13
|
elapsedMs?: number;
|
|
@@ -14,6 +16,7 @@ export interface RebuildProgressFeed {
|
|
|
14
16
|
addEvent: (event: CommandEvent) => void;
|
|
15
17
|
addNotice: (notice: CommandNotice) => void;
|
|
16
18
|
setCurrent: (current: RebuildProgressCurrent, message?: string) => void;
|
|
19
|
+
setInstallProgress: (progress: InstallTaskProgress) => void;
|
|
17
20
|
clearCurrent: () => void;
|
|
18
21
|
get: () => RebuildProgressSnapshot;
|
|
19
22
|
subscribe: (listener: (snapshot: RebuildProgressSnapshot) => void) => () => void;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
+
import { isPlatformTarget } from '@lesliechan721/aw-plugin-core';
|
|
2
|
+
import { TARGET_DISPLAY_NAMES } from '../platforms/discovery.js';
|
|
3
|
+
import { CATALOG_SOURCE_ID_PATTERN } from '../utils/catalog-sources.js';
|
|
1
4
|
const ACTION_LABELS = {
|
|
2
5
|
'preflight.inspect': '检查当前组件',
|
|
3
6
|
'stale.cleanup': '清理过期组件',
|
|
4
7
|
'native.write': '写入平台插件',
|
|
5
8
|
'artifacts.write': '写入插件文件',
|
|
6
|
-
|
|
9
|
+
preApply: '运行 preApply',
|
|
7
10
|
'postcheck.inspect': '检查写入结果',
|
|
8
|
-
'marketplace.commit': '提交 marketplace generation',
|
|
9
|
-
'marketplace.rollback': '回滚 marketplace generation',
|
|
10
11
|
'recovery.cleanup': '清理失败写入',
|
|
11
12
|
'cleanup.owned': '清理 AW 组件',
|
|
12
13
|
};
|
|
13
14
|
const SAFE_PLUGIN_NAME_PATTERN = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
|
|
14
15
|
function safeNoticeSource(notice) {
|
|
15
16
|
const parts = [
|
|
16
|
-
notice.source?.platform
|
|
17
|
-
? 'Codex'
|
|
18
|
-
: notice.source?.platform === 'claude' ? 'Claude Code' : undefined,
|
|
17
|
+
isPlatformTarget(notice.source?.platform) ? TARGET_DISPLAY_NAMES[notice.source.platform] : undefined,
|
|
19
18
|
typeof notice.source?.plugin === 'string' && SAFE_PLUGIN_NAME_PATTERN.test(notice.source.plugin)
|
|
20
19
|
? notice.source.plugin
|
|
21
20
|
: undefined,
|
|
@@ -36,14 +35,14 @@ function isRebuildActionEvent(event) {
|
|
|
36
35
|
const data = event.data;
|
|
37
36
|
return typeof event.source.plugin === 'string'
|
|
38
37
|
&& SAFE_PLUGIN_NAME_PATTERN.test(event.source.plugin)
|
|
39
|
-
&& (event.source.platform
|
|
38
|
+
&& isPlatformTarget(event.source.platform)
|
|
40
39
|
&& (event.source.scope === 'user' || event.source.scope === 'project')
|
|
41
40
|
&& typeof data.name === 'string'
|
|
42
41
|
&& Object.hasOwn(ACTION_LABELS, data.name)
|
|
43
42
|
&& (data.phase === 'start' || data.phase === 'success' || data.phase === 'failure');
|
|
44
43
|
}
|
|
45
44
|
function targetLabel(event) {
|
|
46
|
-
const platform = event.source.platform
|
|
45
|
+
const platform = TARGET_DISPLAY_NAMES[event.source.platform];
|
|
47
46
|
const scope = event.source.scope === 'project' ? '当前项目' : '当前用户';
|
|
48
47
|
return `${event.source.plugin} · ${platform}/${scope}`;
|
|
49
48
|
}
|
|
@@ -76,6 +75,7 @@ export function createRebuildProgressFeed(limit = 50) {
|
|
|
76
75
|
function publish(next) {
|
|
77
76
|
snapshot = {
|
|
78
77
|
...(next.current ? { current: next.current } : {}),
|
|
78
|
+
...(next.installProgress ? { installProgress: next.installProgress } : {}),
|
|
79
79
|
messages: next.messages.slice(-limit),
|
|
80
80
|
};
|
|
81
81
|
for (const listener of listeners)
|
|
@@ -83,10 +83,26 @@ export function createRebuildProgressFeed(limit = 50) {
|
|
|
83
83
|
}
|
|
84
84
|
return {
|
|
85
85
|
addEvent(event) {
|
|
86
|
+
if (event.type === 'managed-command:producer' && event.source
|
|
87
|
+
&& typeof event.source.plugin === 'string'
|
|
88
|
+
&& SAFE_PLUGIN_NAME_PATTERN.test(event.source.plugin)
|
|
89
|
+
&& event.source.scope === 'user' && event.data) {
|
|
90
|
+
const data = event.data;
|
|
91
|
+
if (typeof data.selector !== 'string' || !['start', 'success', 'failure'].includes(String(data.phase)))
|
|
92
|
+
return;
|
|
93
|
+
const sourceId = data.selector.split('/', 1)[0];
|
|
94
|
+
if (!CATALOG_SOURCE_ID_PATTERN.test(sourceId) || data.selector !== `${sourceId}/${event.source.plugin}`)
|
|
95
|
+
return;
|
|
96
|
+
const target = `命令包 ${data.selector}`;
|
|
97
|
+
const phase = data.phase === 'start' ? '刷新命令包'
|
|
98
|
+
: data.phase === 'success' ? '命令包已完成' : '命令包失败';
|
|
99
|
+
publish({ ...snapshot, current: { target, phase }, messages: [...snapshot.messages, `${target} · ${phase}`] });
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
86
102
|
if (!isRebuildActionEvent(event))
|
|
87
103
|
return;
|
|
88
104
|
const entry = actionLine(event);
|
|
89
|
-
publish({ current: entry.current, messages: [...snapshot.messages, entry.line] });
|
|
105
|
+
publish({ ...snapshot, current: entry.current, messages: [...snapshot.messages, entry.line] });
|
|
90
106
|
},
|
|
91
107
|
addNotice(notice) {
|
|
92
108
|
const line = projectTuiNotice(notice);
|
|
@@ -108,10 +124,19 @@ export function createRebuildProgressFeed(limit = 50) {
|
|
|
108
124
|
},
|
|
109
125
|
setCurrent(current, message) {
|
|
110
126
|
publish({
|
|
127
|
+
...snapshot,
|
|
111
128
|
current,
|
|
112
129
|
messages: message ? [...snapshot.messages, message] : snapshot.messages,
|
|
113
130
|
});
|
|
114
131
|
},
|
|
132
|
+
setInstallProgress(progress) {
|
|
133
|
+
const previous = snapshot.installProgress;
|
|
134
|
+
if (progress.completed + progress.running + progress.waiting + progress.waitingForDependencies < 2
|
|
135
|
+
|| (previous?.completed === progress.completed && previous.running === progress.running
|
|
136
|
+
&& previous.waiting === progress.waiting && previous.waitingForDependencies === progress.waitingForDependencies))
|
|
137
|
+
return;
|
|
138
|
+
publish({ ...snapshot, installProgress: { ...progress } });
|
|
139
|
+
},
|
|
115
140
|
clearCurrent() {
|
|
116
141
|
seenNoticeKeys.clear();
|
|
117
142
|
noticeKeyOrder.length = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rebuild-progress.js","sourceRoot":"","sources":["../../../src/output/rebuild-progress.ts"],"names":[],"mappings":"AAGA,MAAM,aAAa,GAAsC;IACvD,mBAAmB,EAAE,QAAQ;IAC7B,eAAe,EAAE,QAAQ;IACzB,cAAc,EAAE,QAAQ;IACxB,iBAAiB,EAAE,QAAQ;IAC3B,
|
|
1
|
+
{"version":3,"file":"rebuild-progress.js","sourceRoot":"","sources":["../../../src/output/rebuild-progress.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,MAAM,aAAa,GAAsC;IACvD,mBAAmB,EAAE,QAAQ;IAC7B,eAAe,EAAE,QAAQ;IACzB,cAAc,EAAE,QAAQ;IACxB,iBAAiB,EAAE,QAAQ;IAC3B,QAAQ,EAAE,aAAa;IACvB,mBAAmB,EAAE,QAAQ;IAC7B,kBAAkB,EAAE,QAAQ;IAC5B,eAAe,EAA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G,CAAC,QAAQ,CAAC,CAAC;YACxB,QAAQ,CAAC,QAAQ,CAAC,CAAC;YACnB,OAAO,GAAG,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAC1C,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type CommandResult, type Confirmation } from './public-result.js';
|
|
2
|
+
export declare function isPublicWrite(command: string): boolean;
|
|
3
|
+
export declare function projectReceipt(command: string, input: unknown, options?: {
|
|
4
|
+
yes?: boolean;
|
|
5
|
+
exitCode?: number;
|
|
6
|
+
confirmation?: Confirmation | null;
|
|
7
|
+
}): CommandResult;
|