@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
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import { componentGapFeatures, componentGapOutcome, hasComponentDeliveryNotice, isInstallationAdvisory, safeComponentIdentity } from '../component-delivery.js';
|
|
2
|
+
import { describeNativeToolClosure } from '../../utils/native-tool-review.js';
|
|
3
|
+
import { renderShellCommand } from '../equivalent-command.js';
|
|
4
|
+
const targetContentLabels = {
|
|
5
|
+
absent: { text: '• Missing', tone: 'warning' },
|
|
6
|
+
satisfied: { text: '✓ Ready', tone: 'success' },
|
|
7
|
+
drifted: { text: '• Needs sync', tone: 'warning' },
|
|
8
|
+
conflict: { text: '× Conflict', tone: 'error' },
|
|
9
|
+
unknown: { text: '? Unconfirmed', tone: 'warning' },
|
|
10
|
+
};
|
|
11
|
+
function matchesTarget(result, row, predicate) {
|
|
12
|
+
return result.diagnostics.some(({ code, subject, severity }) => severity === 'warning' && predicate(code)
|
|
13
|
+
&& subject?.pluginId === row.pluginId && subject.target === row.target && subject.scope === row.scope);
|
|
14
|
+
}
|
|
15
|
+
function contentLabel(result, row) {
|
|
16
|
+
if (row.content === 'drifted' && matchesTarget(result, row, (code) => code === 'nativeActivationDisabled'))
|
|
17
|
+
return { text: '○ Disabled', tone: 'warning' };
|
|
18
|
+
if (row.satisfaction === 'not-applicable' && !['failed', 'partial'].includes(row.execution) && !row.blockerCodes?.length)
|
|
19
|
+
return targetContentLabels.satisfied;
|
|
20
|
+
if (row.content === 'satisfied' && (hasComponentDeliveryNotice(row) || matchesTarget(result, row, isInstallationAdvisory))
|
|
21
|
+
&& !['failed', 'partial'].includes(row.execution) && !row.blockerCodes?.length && row.satisfaction !== 'not-applicable') {
|
|
22
|
+
return { text: '! Installed with notices', tone: 'warning' };
|
|
23
|
+
}
|
|
24
|
+
if (row.content !== 'conflict' && row.satisfaction === 'excluded')
|
|
25
|
+
return { text: '· Excluded', tone: 'muted' };
|
|
26
|
+
if (row.content !== 'conflict' && row.satisfaction === 'unsupported')
|
|
27
|
+
return { text: '· Unsupported', tone: 'muted' };
|
|
28
|
+
return targetContentLabels[row.content];
|
|
29
|
+
}
|
|
30
|
+
function executionLabel(result, row) {
|
|
31
|
+
const content = contentLabel(result, row);
|
|
32
|
+
switch (row.execution) {
|
|
33
|
+
case 'failed': return { text: '× Failed', tone: 'error', suffix: { text: ' (' + (typeof content === 'string' ? content : content.text.replace(/^[^ ]+ /u, '')) + ')' } };
|
|
34
|
+
case 'partial': return { text: '! Partial', tone: 'warning', suffix: { text: ' (' + (typeof content === 'string' ? content : content.text.replace(/^[^ ]+ /u, '')) + ')' } };
|
|
35
|
+
case 'not-run': return { text: '· not-run', tone: 'muted', suffix: { text: ' (' + (typeof content === 'string' ? content : content.text.replace(/^[^ ]+ /u, '')) + ')' } };
|
|
36
|
+
case 'no-op': return { text: '· no-op', tone: 'muted', suffix: { text: ' (' + (typeof content === 'string' ? content : content.text.replace(/^[^ ]+ /u, '')) + ')' } };
|
|
37
|
+
case 'applied': return (actionLabel(result, row) === 'remove' && row.content === 'absent') ? { text: '✓ Removed', tone: 'success' } : content;
|
|
38
|
+
default: return content;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
function componentsLabel(delivery) {
|
|
42
|
+
if (delivery.satisfaction === 'not-applicable')
|
|
43
|
+
return 'No applicable components';
|
|
44
|
+
if (delivery.satisfaction === 'inherited-user')
|
|
45
|
+
return 'Inherited User components';
|
|
46
|
+
const count = delivery.installedComponentCount;
|
|
47
|
+
const gaps = new Map();
|
|
48
|
+
for (const gap of delivery.componentGaps ?? []) {
|
|
49
|
+
const key = JSON.stringify([gap.providerPluginId, gap.agent, gap.renderScope, gap.componentId ?? gap.id]);
|
|
50
|
+
const outcome = componentGapOutcome(gap, delivery.installedComponentIds);
|
|
51
|
+
if (!gaps.has(key) || outcome === 'unmet')
|
|
52
|
+
gaps.set(key, outcome);
|
|
53
|
+
}
|
|
54
|
+
const outcomes = [...gaps.values()];
|
|
55
|
+
return [
|
|
56
|
+
...(count === undefined ? [] : [`${count} installed`]),
|
|
57
|
+
...['skipped', 'limited', 'unmet'].flatMap((outcome) => {
|
|
58
|
+
const total = outcomes.filter((value) => value === outcome).length;
|
|
59
|
+
return total ? [`${total} ${outcome}`] : [];
|
|
60
|
+
}),
|
|
61
|
+
].join(', ') || '-';
|
|
62
|
+
}
|
|
63
|
+
function gapText(gap, installedIds, position) {
|
|
64
|
+
const label = { skipped: 'Skipped component', limited: 'Partially supported component', unmet: 'Unmet component' }[componentGapOutcome(gap, installedIds)];
|
|
65
|
+
const details = [safeComponentIdentity(gap.reasonCode), ...componentGapFeatures(gap)].join('; ');
|
|
66
|
+
return `${label}${position ? ` (${position}):` : ''} ${safeComponentIdentity(gap.componentId ?? gap.id)}: ${details}`;
|
|
67
|
+
}
|
|
68
|
+
function componentDetails(delivery) {
|
|
69
|
+
return [
|
|
70
|
+
...(delivery.installedComponentCount !== undefined ? [`Installed components: ${delivery.installedComponentCount}`] : []),
|
|
71
|
+
...(delivery.installedComponentIds?.length ? [`Installed: ${delivery.installedComponentIds.map(safeComponentIdentity).join(', ')}`] : []),
|
|
72
|
+
...(delivery.componentGaps ?? []).map((gap) => gapText(gap, delivery.installedComponentIds, `${gap.providerPluginId} / ${gap.agent} / ${gap.renderScope}`)),
|
|
73
|
+
];
|
|
74
|
+
}
|
|
75
|
+
function componentGapSections(rows) {
|
|
76
|
+
const gaps = new Map();
|
|
77
|
+
for (const row of rows)
|
|
78
|
+
for (const gap of row.componentGaps ?? []) {
|
|
79
|
+
const outcome = componentGapOutcome(gap, row.installedComponentIds);
|
|
80
|
+
const text = `${gap.providerPluginId} · ${gap.agent}/${gap.renderScope}: ${safeComponentIdentity(gap.componentId ?? gap.id)} (${outcome}: ${safeComponentIdentity(gap.reasonCode)})`;
|
|
81
|
+
gaps.set(text, { marker: { text: '!', tone: 'warning' }, text });
|
|
82
|
+
}
|
|
83
|
+
return gaps.size ? [{ title: 'Component Gaps', blocks: [{ kind: 'list', items: [...gaps.values()] }] }] : [];
|
|
84
|
+
}
|
|
85
|
+
function exclusionSections(rows) {
|
|
86
|
+
const groups = new Map();
|
|
87
|
+
for (const row of rows)
|
|
88
|
+
for (const excluded of row.deploymentExclusions ?? []) {
|
|
89
|
+
const key = `${excluded.platform} ${excluded.product?.product ?? 'product'} ${excluded.product?.version ?? 'unknown'} — ${excluded.reasonCode}`;
|
|
90
|
+
const group = groups.get(key) ?? { targets: new Set(), recovery: new Set() };
|
|
91
|
+
group.targets.add(`${row.pluginId} · ${row.target}/${row.scope}`);
|
|
92
|
+
excluded.recoveryActions.forEach((action) => group.recovery.add(action));
|
|
93
|
+
groups.set(key, group);
|
|
94
|
+
}
|
|
95
|
+
return groups.size ? [{ title: 'Skipped Product Faces', blocks: [{ kind: 'list', items: [...groups].map(([text, { targets, recovery }]) => ({
|
|
96
|
+
marker: { text: '!', tone: 'warning' },
|
|
97
|
+
text: `${text} (${targets.size} target${targets.size === 1 ? '' : 's'}${[...recovery].map((action) => `; ${action.startsWith('aw ') ? `run '${action}'` : action}`).join('')})`,
|
|
98
|
+
})) }] }] : [];
|
|
99
|
+
}
|
|
100
|
+
function observationDetails(deployment, installedIds) {
|
|
101
|
+
const { after } = deployment;
|
|
102
|
+
const receipt = 'effects' in deployment ? deployment : undefined;
|
|
103
|
+
const lines = deployment.products.flatMap((product) => {
|
|
104
|
+
const observation = after.consumers.find((consumer) => consumer.productId === product.id);
|
|
105
|
+
return [
|
|
106
|
+
`${product.product}: version ${product.version ?? 'unknown'}; activation=${observation?.activation ?? 'unknown'}; load=${observation?.load ?? 'unknown'}`,
|
|
107
|
+
...after.components.map((component) => ` Component ${safeComponentIdentity(component.id)}: physical content ${component.presence}`),
|
|
108
|
+
...(receipt?.unmet ?? []).filter((gap) => !gap.productIds.length || gap.productIds.includes(product.id)).map((gap) => ` ${gapText(gap, installedIds)}`),
|
|
109
|
+
];
|
|
110
|
+
});
|
|
111
|
+
if (!deployment.products.length)
|
|
112
|
+
lines.push(...(receipt?.unmet ?? []).map((gap) => gapText(gap, installedIds)));
|
|
113
|
+
if (receipt)
|
|
114
|
+
lines.push(...receipt.effects.map((effect) => `Effect ${effect.id}: ${effect.status}; mutation=${effect.mutation}`));
|
|
115
|
+
lines.push(`Package: ${after.package}; registration=${after.registration}${receipt ? `; reload=${receipt.reload}` : ''}`);
|
|
116
|
+
if (after.nativePackage)
|
|
117
|
+
lines.push(`Native package: ${after.nativePackage}`);
|
|
118
|
+
if (after.scopeRegistration)
|
|
119
|
+
lines.push(`Native registration in requested scope: ${after.scopeRegistration}`);
|
|
120
|
+
if (after.scopeActivation)
|
|
121
|
+
lines.push(`Native activation in requested scope: ${after.scopeActivation}`);
|
|
122
|
+
if (after.workspaceOpen)
|
|
123
|
+
lines.push(`Workspace open: ${after.workspaceOpen}`);
|
|
124
|
+
if (after.configuration) {
|
|
125
|
+
lines.push(`Local configuration supplement: scope=${after.configuration.scope}; activation-entry=${after.configuration.activation}; not native effective state`);
|
|
126
|
+
if (after.configuration.marketplace)
|
|
127
|
+
lines.push(` Marketplace: ${after.configuration.marketplace}`);
|
|
128
|
+
if (after.configuration.reasonCodes.length)
|
|
129
|
+
lines.push(` Reasons: ${after.configuration.reasonCodes.join(', ')}`);
|
|
130
|
+
}
|
|
131
|
+
const sources = after.prerequisites?.nativeSources;
|
|
132
|
+
if (sources)
|
|
133
|
+
lines.push(`Native sources: ${sources.observation}`, ...sources.sources.map((source) => ` ${source.name}: version=${source.version ?? 'unknown'}; scope=${source.scope}; origin=${source.origin}; enabled=${source.enabled ?? 'unknown'}; components=${source.effectiveComponents.join(', ') || 'none'}`), ...(sources.overlaps.length ? [` Overlapping names: ${sources.overlaps.join(', ')}`] : []));
|
|
134
|
+
return lines;
|
|
135
|
+
}
|
|
136
|
+
function targetDetails(row) {
|
|
137
|
+
const lines = [];
|
|
138
|
+
for (const excluded of row.deploymentExclusions ?? [])
|
|
139
|
+
lines.push(`${excluded.product?.product ?? 'product'}: version ${excluded.product?.version ?? 'unknown'}; not-run; ${excluded.reasonCode}`, ...excluded.recoveryActions.map((action) => ` Recovery: ${action}`));
|
|
140
|
+
lines.push(...componentDetails(row));
|
|
141
|
+
if (!row.deploymentReceipts?.length)
|
|
142
|
+
for (const observation of row.deploymentObservations ?? [])
|
|
143
|
+
lines.push(...observationDetails(observation));
|
|
144
|
+
for (const plan of row.deploymentPlans ?? []) {
|
|
145
|
+
lines.push(...plan.products.map((product) => `${product.product}: version ${product.version ?? 'unknown'}; ${product.availability}`), ...plan.expected.components.map((component) => ` Planned component ${safeComponentIdentity(component.id)}: ${component.kind}`), ...plan.expected.unmet.map((gap) => ` ${gapText(gap, plan.expected.components.map(({ id }) => id))}`), ...plan.expected.omitted.map((component) => ` Omitted component ${safeComponentIdentity(component.id)}: ${component.reason}`), ...plan.effects.map((effect) => `Planned effect ${effect.kind}: ${effect.componentIds.map(safeComponentIdentity).join(', ')}${effect.destructive ? '; destructive' : ''}`));
|
|
146
|
+
if (plan.sharedReferences !== 'none' || plan.products.length > 1)
|
|
147
|
+
lines.push(`Shared impact: ${plan.sharedReferences}; ${plan.products.length} product faces`);
|
|
148
|
+
}
|
|
149
|
+
for (const receipt of row.deploymentReceipts ?? [])
|
|
150
|
+
lines.push(...observationDetails(receipt, row.installedComponentIds));
|
|
151
|
+
if (row.blockerCodes?.length)
|
|
152
|
+
lines.push(`Blockers: ${row.blockerCodes.join(', ')}`);
|
|
153
|
+
return lines;
|
|
154
|
+
}
|
|
155
|
+
function actionLabel(result, row) {
|
|
156
|
+
const effects = (row.deploymentPlans ?? []).flatMap(({ effects }) => effects);
|
|
157
|
+
if (effects.length && effects.every(({ kind }) => ['deactivate', 'unregister', 'remove-owned', 'remove-marketplace-entry'].includes(kind)))
|
|
158
|
+
return 'remove';
|
|
159
|
+
return result.command === 'plugin.remove' ? 'remove' : result.command === 'plugin.install' ? 'install' : 'sync';
|
|
160
|
+
}
|
|
161
|
+
export function targetSections(result, rows, options, kind) {
|
|
162
|
+
if (!rows.length)
|
|
163
|
+
return [];
|
|
164
|
+
const columns = [{ key: 'plugin' }, { key: 'target' }, { key: 'scope' },
|
|
165
|
+
...(kind === 'lifecycle' ? [{ key: 'action' }, { key: 'result' }] : [{ key: 'status' }]), { key: 'components' }];
|
|
166
|
+
const sections = [{ blocks: [{ kind: 'table', columns, rows: rows.map((row) => ({
|
|
167
|
+
plugin: row.pluginId, target: row.target ?? '-', scope: row.scope,
|
|
168
|
+
...(kind === 'lifecycle' ? { action: actionLabel(result, row), result: executionLabel(result, row) } : { status: contentLabel(result, row) }),
|
|
169
|
+
components: componentsLabel(row),
|
|
170
|
+
})) }] }];
|
|
171
|
+
sections.push(...exclusionSections(rows), ...componentGapSections(rows));
|
|
172
|
+
if (options.verbose) {
|
|
173
|
+
const items = rows.flatMap((row) => {
|
|
174
|
+
const sublines = targetDetails(row);
|
|
175
|
+
return sublines.length ? [{ marker: '•', text: `${row.pluginId} · ${row.target}/${row.scope}`, sublines }] : [];
|
|
176
|
+
});
|
|
177
|
+
if (items.length)
|
|
178
|
+
sections.push({ title: 'Target Details', blocks: [{ kind: 'list', items }] });
|
|
179
|
+
}
|
|
180
|
+
return sections;
|
|
181
|
+
}
|
|
182
|
+
// The hint belongs to the result document, not each target table.
|
|
183
|
+
export function targetDetailsTip(rows, options) {
|
|
184
|
+
return !options.verbose && rows.some((row) => row.deploymentReceipts?.length || row.deploymentObservations?.length || row.deploymentPlans?.length || row.deploymentExclusions?.length || row.installedComponentIds?.length)
|
|
185
|
+
? [{ blocks: [{ kind: 'note', tone: 'muted', text: 'Tip: Run with --verbose for per-product activation, component presence, and native sources.' }] }]
|
|
186
|
+
: [];
|
|
187
|
+
}
|
|
188
|
+
export function commandPackageSections(results, options) {
|
|
189
|
+
if (!results.length)
|
|
190
|
+
return [];
|
|
191
|
+
const sections = [{ title: 'Shared Command Packages', blocks: [{ kind: 'table',
|
|
192
|
+
columns: [{ key: 'package' }, { key: 'action' }, { key: 'availability' }, { key: 'result' }],
|
|
193
|
+
rows: results.map(({ selector, action, availability, state }) => ({ package: selector, action, availability,
|
|
194
|
+
result: { text: state, tone: state === 'completed' ? 'success' : state === 'failed' ? 'error' : 'warning' } })),
|
|
195
|
+
}] }];
|
|
196
|
+
const items = results.flatMap(({ selector, invocationSelectors, subcommands, hasFallback, blockerCodes, packageId }) => {
|
|
197
|
+
const sublines = [
|
|
198
|
+
...(options.verbose ? [`Package ID: ${packageId}`] : []),
|
|
199
|
+
...(blockerCodes.length ? [`Blockers: ${blockerCodes.join(', ')}`] : []),
|
|
200
|
+
...(invocationSelectors ?? [selector]).flatMap((invocationSelector) => [
|
|
201
|
+
...subcommands.map((name) => renderShellCommand(['aw', 'command', 'run', invocationSelector, '--', name], 'posix')),
|
|
202
|
+
...(hasFallback ? [`Fallback · ${renderShellCommand(['aw', 'command', 'run', invocationSelector, '--'], 'posix')}`] : []),
|
|
203
|
+
]),
|
|
204
|
+
];
|
|
205
|
+
return sublines.length ? [{ marker: '•', text: selector, sublines }] : [];
|
|
206
|
+
});
|
|
207
|
+
if (items.length)
|
|
208
|
+
sections.push({ title: 'Command Package Routes', blocks: [{ kind: 'list', items }] });
|
|
209
|
+
return sections;
|
|
210
|
+
}
|
|
211
|
+
export function nativeToolSections(changes) {
|
|
212
|
+
return changes.length ? [{ title: 'Native Tools', blocks: [{ kind: 'list', items: changes.map((change) => ({
|
|
213
|
+
marker: '•', text: `${change.producer.sourceId}/${change.producer.pluginName}`,
|
|
214
|
+
sublines: ['before', 'after'].flatMap((phase) => {
|
|
215
|
+
const closure = change[phase];
|
|
216
|
+
return closure ? describeNativeToolClosure(closure).map((detail) => `${phase}: ${detail}`) : [`${phase}: none`];
|
|
217
|
+
}),
|
|
218
|
+
})) }] }] : [];
|
|
219
|
+
}
|
|
220
|
+
export function remainingTargetSections(rows) {
|
|
221
|
+
return rows.length ? [{ title: 'Remaining Targets', blocks: [{ kind: 'list', items: rows.map((row) => ({ marker: '•', text: `${row.pluginId} · ${row.target}/${row.scope}` })) }] }] : [];
|
|
222
|
+
}
|
|
223
|
+
export function configApplySections(result, apply, options) {
|
|
224
|
+
const rows = apply.targetResults ?? [];
|
|
225
|
+
const sections = [];
|
|
226
|
+
if (rows.length) {
|
|
227
|
+
sections.push({ title: 'Apply Targets', blocks: [{ kind: 'table', columns: [{ key: 'plugin' }, { key: 'target' }, { key: 'scope' }, { key: 'result' }, { key: 'components' }],
|
|
228
|
+
rows: rows.map((row) => {
|
|
229
|
+
const position = { pluginId: row.target.pluginId ?? row.target.pluginName, target: row.target.platform, scope: row.target.scope };
|
|
230
|
+
const text = row.state === 'completed' && row.satisfaction === 'not-applicable' ? 'No applicable components'
|
|
231
|
+
: row.state === 'completed' && (hasComponentDeliveryNotice(row) || matchesTarget(result, position, isInstallationAdvisory)) ? 'Installed with notices' : row.state;
|
|
232
|
+
return { plugin: position.pluginId, target: position.target, scope: position.scope,
|
|
233
|
+
result: text + (row.partialDelivery ? ' (some outputs verified)' : '') + (row.errorCode ? ` [${row.errorCode}]` : ''), components: componentsLabel(row) };
|
|
234
|
+
}),
|
|
235
|
+
}] });
|
|
236
|
+
sections.push(...componentGapSections(rows));
|
|
237
|
+
if (options.verbose)
|
|
238
|
+
sections.push({ title: 'Apply Details', blocks: [{ kind: 'list', items: rows.flatMap((row) => {
|
|
239
|
+
const sublines = componentDetails(row);
|
|
240
|
+
return sublines.length ? [{ marker: '•', text: `${row.target.pluginId ?? row.target.pluginName} · ${row.target.platform}/${row.target.scope}`, sublines }] : [];
|
|
241
|
+
}) }] });
|
|
242
|
+
}
|
|
243
|
+
return [...sections, ...commandPackageSections(apply.commandResults ?? [], options)];
|
|
244
|
+
}
|
|
245
|
+
//# sourceMappingURL=shared.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../src/output/render/shared.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,0BAA0B,EAAE,sBAAsB,EACpG,qBAAqB,EAA0B,MAAM,0BAA0B,CAAC;AAClF,OAAO,EAAE,yBAAyB,EAAyB,MAAM,mCAAmC,CAAC;AACrG,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAI9D,MAAM,mBAAmB,GAAqD;IAC5E,MAAM,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE;IAC9C,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE;IAC/C,OAAO,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,SAAS,EAAE;IAClD,QAAQ,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE;IAC/C,OAAO,EAAE,EAAE,IAAI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AC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,UAAU,EAAE,eAAe,CAAC,GAAG,CAAC,EAAE,CAAC;oBAC9J,CAAC,CAAC;iBACH,CAAC,EAAE,CAAC,CAAC;QACN,QAAQ,CAAC,IAAI,CAAC,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAAC;QAC7C,IAAI,OAAO,CAAC,OAAO;YAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;4BAChH,MAAM,QAAQ,GAAG,gBAAgB,CAAC,GAAG,CAAC,CAAC;4BACvC,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,QAAQ,IAAI,GAAG,CAAC,MAAM,CAAC,UAAU,MAAM,GAAG,CAAC,MAAM,CAAC,QAAQ,IAAI,GAAG,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;wBAClK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;IACX,CAAC;IACD,OAAO,CAAC,GAAG,QAAQ,EAAE,GAAG,sBAAsB,CAAC,KAAK,CAAC,cAAc,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC;AACvF,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { CliExecutionContextInput } from '../../commands/runtime.js';
|
|
2
|
+
import type { CellValue, SemanticTone } from './document.js';
|
|
3
|
+
export interface RenderOptions {
|
|
4
|
+
verbose: boolean;
|
|
5
|
+
color: boolean;
|
|
6
|
+
tty: boolean;
|
|
7
|
+
width: number;
|
|
8
|
+
}
|
|
9
|
+
export interface TerminalCapabilities {
|
|
10
|
+
stdoutIsTty: boolean;
|
|
11
|
+
stderrIsTty: boolean;
|
|
12
|
+
stdoutColumns: number;
|
|
13
|
+
stderrColumns: number;
|
|
14
|
+
colorStdout: boolean;
|
|
15
|
+
colorStderr: boolean;
|
|
16
|
+
isCi: boolean;
|
|
17
|
+
isDumbTerm: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare function resolveColorEnabled(input: {
|
|
20
|
+
isTty: boolean;
|
|
21
|
+
env: NodeJS.ProcessEnv;
|
|
22
|
+
noColor?: boolean;
|
|
23
|
+
json?: boolean;
|
|
24
|
+
isolated?: boolean;
|
|
25
|
+
}): boolean;
|
|
26
|
+
export declare function resolveTerminalCapabilities(input: {
|
|
27
|
+
options: CliExecutionContextInput;
|
|
28
|
+
env: NodeJS.ProcessEnv;
|
|
29
|
+
noColor?: boolean;
|
|
30
|
+
json?: boolean;
|
|
31
|
+
}): TerminalCapabilities;
|
|
32
|
+
export declare function normalizeRenderOptions(options: boolean | Partial<RenderOptions>): RenderOptions;
|
|
33
|
+
export declare function plainText(value: string): string;
|
|
34
|
+
export declare function paint(text: string, tone: SemanticTone, color: boolean, bold?: boolean): string;
|
|
35
|
+
export declare function cellText(cell: CellValue): string;
|
|
36
|
+
export declare function renderCell(cell: CellValue, color: boolean): string;
|
|
37
|
+
export declare function truncateWidth(value: string, width: number): string;
|
|
38
|
+
export declare function wrapText(value: string, width: number, verbose: boolean): string[];
|
|
39
|
+
export interface TableColumn {
|
|
40
|
+
key: string;
|
|
41
|
+
label?: string;
|
|
42
|
+
align?: 'left' | 'right';
|
|
43
|
+
flexWrap?: boolean;
|
|
44
|
+
}
|
|
45
|
+
export declare function renderTable(columns: TableColumn[], rows: Array<Record<string, CellValue>>, options: RenderOptions, emptyText?: string): string[];
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import stringWidth from 'string-width';
|
|
2
|
+
export function resolveColorEnabled(input) {
|
|
3
|
+
if (input.isolated || input.noColor || input.json || input.env.FORCE_COLOR === '0')
|
|
4
|
+
return false;
|
|
5
|
+
if (input.env.FORCE_COLOR)
|
|
6
|
+
return true;
|
|
7
|
+
if (input.env.NO_COLOR)
|
|
8
|
+
return false;
|
|
9
|
+
return input.isTty && input.env.TERM !== 'dumb';
|
|
10
|
+
}
|
|
11
|
+
export function resolveTerminalCapabilities(input) {
|
|
12
|
+
const { options, env, noColor, json } = input;
|
|
13
|
+
const stdoutIsolated = Boolean(options.io?.stdout && !options.stdout);
|
|
14
|
+
const stderrIsolated = Boolean(options.io?.stderr && !options.promptOutputSink);
|
|
15
|
+
const stdout = options.stdout ?? process.stdout;
|
|
16
|
+
const stderr = options.promptOutputSink ?? process.stderr;
|
|
17
|
+
const stdoutIsTty = !stdoutIsolated && Boolean(stdout.isTTY);
|
|
18
|
+
const stderrIsTty = !stderrIsolated && Boolean(stderr.isTTY);
|
|
19
|
+
const columns = (stream) => Number.isSafeInteger(stream.columns) && stream.columns > 0 ? stream.columns : 100;
|
|
20
|
+
return {
|
|
21
|
+
stdoutIsTty, stderrIsTty,
|
|
22
|
+
get stdoutColumns() { return stdoutIsolated ? 100 : columns(stdout); },
|
|
23
|
+
get stderrColumns() { return stderrIsolated ? 100 : columns(stderr); },
|
|
24
|
+
colorStdout: resolveColorEnabled({ isTty: stdoutIsTty, env, noColor, json, isolated: stdoutIsolated }),
|
|
25
|
+
colorStderr: resolveColorEnabled({ isTty: stderrIsTty, env, noColor, json, isolated: stderrIsolated }),
|
|
26
|
+
isCi: env.CI === '1' || env.CI === 'true' || env.CI === 'yes',
|
|
27
|
+
isDumbTerm: env.TERM === 'dumb',
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export function normalizeRenderOptions(options) {
|
|
31
|
+
const resolved = typeof options === 'boolean' ? { verbose: options } : options;
|
|
32
|
+
const tty = resolved.tty ?? false;
|
|
33
|
+
const width = resolved.width ?? 100;
|
|
34
|
+
return {
|
|
35
|
+
verbose: resolved.verbose ?? false,
|
|
36
|
+
color: resolved.color ?? false,
|
|
37
|
+
tty,
|
|
38
|
+
width: tty ? Math.min(120, Math.max(60, Number.isFinite(width) ? Math.floor(width) : 100)) : 100,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
const tones = {
|
|
42
|
+
default: '', success: '32', warning: '33', error: '31', muted: '2', accent: '36',
|
|
43
|
+
};
|
|
44
|
+
// Product strings may contain escape/control characters. Keep them visible as
|
|
45
|
+
// text instead of letting them act as terminal instructions.
|
|
46
|
+
export function plainText(value) {
|
|
47
|
+
return value.replace(/\r\n/gu, '\n').replace(/[\x00-\x09\x0b-\x1f\x7f-\x9f]/gu, (character) => '\\x' + character.charCodeAt(0).toString(16).padStart(2, '0'));
|
|
48
|
+
}
|
|
49
|
+
export function paint(text, tone, color, bold = false) {
|
|
50
|
+
const code = [bold ? '1' : '', tones[tone]].filter(Boolean).join(';');
|
|
51
|
+
return color && code && text ? `\x1b[${code}m${text}\x1b[0m` : text;
|
|
52
|
+
}
|
|
53
|
+
export function cellText(cell) {
|
|
54
|
+
if (typeof cell === 'string')
|
|
55
|
+
return plainText(cell);
|
|
56
|
+
return plainText(cell.text + (cell.suffix?.text ?? ''));
|
|
57
|
+
}
|
|
58
|
+
export function renderCell(cell, color) {
|
|
59
|
+
if (typeof cell === 'string')
|
|
60
|
+
return plainText(cell);
|
|
61
|
+
return paint(plainText(cell.text), cell.tone ?? 'default', color, cell.bold)
|
|
62
|
+
+ (cell.suffix ? paint(plainText(cell.suffix.text), cell.suffix.tone ?? 'default', color, cell.suffix.bold) : '');
|
|
63
|
+
}
|
|
64
|
+
const segmenter = new Intl.Segmenter(undefined, { granularity: 'grapheme' });
|
|
65
|
+
export function truncateWidth(value, width) {
|
|
66
|
+
if (width <= 0)
|
|
67
|
+
return '';
|
|
68
|
+
if (stringWidth(value) <= width)
|
|
69
|
+
return value;
|
|
70
|
+
let result = '';
|
|
71
|
+
let used = 0;
|
|
72
|
+
for (const { segment } of segmenter.segment(value)) {
|
|
73
|
+
const length = stringWidth(segment);
|
|
74
|
+
if (used + length > width - 1)
|
|
75
|
+
break;
|
|
76
|
+
result += segment;
|
|
77
|
+
used += length;
|
|
78
|
+
}
|
|
79
|
+
return result.trimEnd() + '…';
|
|
80
|
+
}
|
|
81
|
+
function wrapLine(value, width) {
|
|
82
|
+
const lines = [];
|
|
83
|
+
let rest = value.trim();
|
|
84
|
+
while (stringWidth(rest) > width) {
|
|
85
|
+
let used = 0;
|
|
86
|
+
let end = 0;
|
|
87
|
+
let wordEnd = 0;
|
|
88
|
+
for (const { segment, index } of segmenter.segment(rest)) {
|
|
89
|
+
if (/^\s+$/u.test(segment))
|
|
90
|
+
wordEnd = index;
|
|
91
|
+
const length = stringWidth(segment);
|
|
92
|
+
if (used + length > width)
|
|
93
|
+
break;
|
|
94
|
+
used += length;
|
|
95
|
+
end = index + segment.length;
|
|
96
|
+
}
|
|
97
|
+
// Prefer a word boundary, but let wide, unspaced descriptions (e.g. CJK)
|
|
98
|
+
// wrap at grapheme boundaries instead of producing almost-empty lines.
|
|
99
|
+
if (wordEnd > 0 && stringWidth(rest.slice(0, wordEnd)) >= width / 2)
|
|
100
|
+
end = wordEnd;
|
|
101
|
+
if (!end)
|
|
102
|
+
end = [...segmenter.segment(rest)][0].segment.length;
|
|
103
|
+
lines.push(rest.slice(0, end).trimEnd());
|
|
104
|
+
rest = rest.slice(end).trimStart();
|
|
105
|
+
}
|
|
106
|
+
lines.push(rest);
|
|
107
|
+
return lines;
|
|
108
|
+
}
|
|
109
|
+
export function wrapText(value, width, verbose) {
|
|
110
|
+
const lines = value.split('\n').flatMap((line) => wrapLine(line, Math.max(1, width)));
|
|
111
|
+
if (verbose || lines.length <= 2)
|
|
112
|
+
return lines;
|
|
113
|
+
return [lines[0], truncateWidth(lines[1] + '…', width)];
|
|
114
|
+
}
|
|
115
|
+
function renderLine(cell, line, color) {
|
|
116
|
+
return line === cellText(cell) ? renderCell(cell, color)
|
|
117
|
+
: typeof cell === 'string' ? line : paint(line, cell.tone ?? 'default', color, cell.bold);
|
|
118
|
+
}
|
|
119
|
+
export function renderTable(columns, rows, options, emptyText) {
|
|
120
|
+
if (!rows.length)
|
|
121
|
+
return emptyText ? [plainText(emptyText)] : [];
|
|
122
|
+
const header = (col) => (col.label ?? col.key).toUpperCase();
|
|
123
|
+
const flex = columns.find((col) => col.flexWrap);
|
|
124
|
+
const widths = columns.map((col) => Math.max(stringWidth(header(col)), ...rows.flatMap((row) => cellText(row[col.key] ?? '').split('\n').map((line) => stringWidth(line)))));
|
|
125
|
+
const flexIndex = flex ? columns.indexOf(flex) : -1;
|
|
126
|
+
const remaining = options.width - columns.reduce((sum, _, index) => sum + (index === flexIndex ? 0 : widths[index]), 0) - 2 * (columns.length - 1);
|
|
127
|
+
const stacked = flexIndex !== -1 && remaining < 24;
|
|
128
|
+
if (flexIndex !== -1 && !stacked)
|
|
129
|
+
widths[flexIndex] = Math.min(widths[flexIndex], remaining);
|
|
130
|
+
const shown = columns.flatMap((col, index) => stacked && index === flexIndex ? [] : [{ col, width: widths[index] }]);
|
|
131
|
+
function padded(text, length, rendered, right) {
|
|
132
|
+
const pad = ' '.repeat(Math.max(0, length - stringWidth(text)));
|
|
133
|
+
return right ? pad + rendered : rendered + pad;
|
|
134
|
+
}
|
|
135
|
+
const headerLine = shown.map(({ col, width }) => padded(header(col), width, paint(header(col), 'muted', options.color), col.align === 'right')).join(' ').trimEnd();
|
|
136
|
+
const body = rows.flatMap((row) => {
|
|
137
|
+
const cells = shown.map(({ col, width }) => ({
|
|
138
|
+
cell: row[col.key] ?? '', col, width,
|
|
139
|
+
lines: col.flexWrap ? wrapText(cellText(row[col.key] ?? ''), width, options.verbose) : cellText(row[col.key] ?? '').split('\n'),
|
|
140
|
+
}));
|
|
141
|
+
const result = Array.from({ length: Math.max(1, ...cells.map(({ lines }) => lines.length)) }, (_, index) => cells.map(({ cell, col, width, lines }) => {
|
|
142
|
+
const line = lines[index] ?? '';
|
|
143
|
+
return padded(line, width, renderLine(cell, line, options.color), col.align === 'right');
|
|
144
|
+
}).join(' ').trimEnd());
|
|
145
|
+
if (stacked && flex) {
|
|
146
|
+
const cell = row[flex.key] ?? '';
|
|
147
|
+
if (cellText(cell))
|
|
148
|
+
result.push(...wrapText(cellText(cell), options.width - 2, options.verbose)
|
|
149
|
+
.map((line) => ' ' + renderLine(cell, line, options.color)));
|
|
150
|
+
}
|
|
151
|
+
return result;
|
|
152
|
+
});
|
|
153
|
+
return [headerLine, ...body];
|
|
154
|
+
}
|
|
155
|
+
//# sourceMappingURL=style.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.js","sourceRoot":"","sources":["../../../../src/output/render/style.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,cAAc,CAAC;AAsBvC,MAAM,UAAU,mBAAmB,CAAC,KAMnC;IACC,IAAI,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,IAAI,KAAK,CAAC,GAAG,CAAC,WAAW,KAAK,GAAG;QAAE,OAAO,KAAK,CAAC;IACjG,IAAI,KAAK,CAAC,GAAG,CAAC,WAAW;QAAE,OAAO,IAAI,CAAC;IACvC,IAAI,KAAK,CAAC,GAAG,CAAC,QAAQ;QAAE,OAAO,KAAK,CAAC;IACrC,OAAO,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,GAAG,CAAC,IAAI,KAAK,MAAM,CAAC;AAClD,CAAC;AAED,MAAM,UAAU,2BAA2B,CAAC,KAK3C;IACC,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAC9C,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,EAAE,EAAE,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IACtE,MAAM,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CAAC,EAAE,KAAK,EAAE,EAAE,CACzG,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;YACxC,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;YAChC,OAAO,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,EAAE,GAAG,CAAC,KAAK,KAAK,OAAO,CAAC,CAAC;QAC3F,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QAC3B,IAAI,OAAO,IAAI,IAAI,EAAE,CAAC;YACpB,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;YACjC,IAAI,QAAQ,CAAC,IAAI,CAAC;gBAAE,MAAM,CAAC,IAAI,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,GAAG,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC;qBAC5F,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAClE,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC,CAAC,CAAC;IACH,OAAO,CAAC,UAAU,EAAE,GAAG,IAAI,CAAC,CAAC;AAC/B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ViewProjector } from '../document.js';
|
|
2
|
+
export declare const commandsView: ViewProjector;
|
|
3
|
+
export declare const selfView: ViewProjector;
|
|
4
|
+
export declare const helpView: ViewProjector;
|
|
5
|
+
export declare const versionView: ViewProjector;
|
|
6
|
+
export declare const tuiView: ViewProjector;
|