@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
|
@@ -1,20 +1,190 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { ConfigReferenceContext, ConfigReferenceDraft } from './config-references.js';
|
|
2
|
+
import type { ConfigSuggestionLookup } from './config-suggestions.js';
|
|
3
|
+
import type { ConfigSuggestionsResponseV2, PreparedConfigSuggestions } from '../utils/plugin-config-suggestions.js';
|
|
4
|
+
import type { CatalogActivationMode, CatalogSource, CatalogGenerationActiveV1, CatalogGenerationCandidateEvidence, CatalogGenerationSyncResult, CatalogSourceImpact, CommandProducerResult, ConfigApplyResult, DependencyScopeOverride, PlatformName, PlatformTarget, Scope } from '../types.js';
|
|
5
|
+
import type { PortableReview, PortableInstallReceipt, PortableRetryReview } from '../portable/commands.js';
|
|
3
6
|
import type { CatalogSourceUpdate } from '../utils/catalog-sources.js';
|
|
7
|
+
import { type PluginConfigReferenceBlocker } from '../utils/plugin-config-references.js';
|
|
4
8
|
import type { CatalogGenerationFreshnessState, CatalogGenerationFreshnessResult } from '../utils/catalog-generation-service.js';
|
|
5
|
-
import type {
|
|
9
|
+
import type { StatusV8Payload, StatusV8PluginSummary, StatusScopedTarget, StatusTargetRevision } from '../commands/status-v6.js';
|
|
6
10
|
import type { ReconcileOperationPlan } from '../commands/reconcile-operation-plan.js';
|
|
11
|
+
import type { PreApplyAuthorizationTarget, RebuildCommandResult } from '../commands/rebuild-command.js';
|
|
7
12
|
import type { OfflineCleanupTargetEvidence } from '../commands/offline-cleanup-evidence.js';
|
|
8
13
|
import type { CodexReconcilePlan } from '../utils/codex-reconciler.js';
|
|
14
|
+
import type { PluginConfigMutationImpact } from '../utils/plugin-config-impact.js';
|
|
9
15
|
import type { OperationPlan } from '../commands/operation-plan.js';
|
|
10
16
|
import type { RebuildProgressFeed, RebuildProgressSnapshot } from '../output/rebuild-progress.js';
|
|
11
|
-
import
|
|
12
|
-
import { type
|
|
13
|
-
import {
|
|
17
|
+
import type { Confirmation, Diagnostic } from '../output/public-result.js';
|
|
18
|
+
import { type ConfigPageViewModel, type ConfigProfileOptions, type ConfigReadOptions, type ConfigProfileKey, type ConfigGroupViewModel, type InstallPlacementDraftViewModel, type PluginListItemViewModel, type PluginDependencyOverviewViewModel, type PortableSkillSelectionViewModel, type SourceHealthViewModel, type SourceDetailViewModel, type TuiViewModel, type UserIssueCategory, type UserIssueViewModel } from './model.js';
|
|
19
|
+
import type { PluginContentOverview } from './plugin-content.js';
|
|
20
|
+
import { type PluginDetailSubject } from './plugin-detail.js';
|
|
21
|
+
import { type ComponentDelivery } from '../output/component-delivery.js';
|
|
22
|
+
import { OperationHistoryStore, type OperationDiagnosticDetail, type OperationEffectFacts, type OperationHistorySummary, type OperationReportPreview, type SafeOperationDiagnostic, type SaveOperationReportResult } from './operation-history.js';
|
|
23
|
+
import { type ScopedInventoryViewModel, type ScopedInventoryLoadResult, type InventoryRoot } from './scoped-inventory.js';
|
|
24
|
+
import { type ScopedTuiPlan } from './scoped-flow.js';
|
|
25
|
+
import type { RecoveryReceipt } from '../recovery/receipt.js';
|
|
26
|
+
import type { RecoveryCommand } from '../recovery/coordinator.js';
|
|
27
|
+
import type { AgentId } from '../intent/deployment-preferences.js';
|
|
28
|
+
import { type ConfigInvalidStoreEvidence, type ConfigRouteLayer, type PluginInstallFilter, type PortableBlockerCode, type TuiPageContext, type TuiRoute, type TuiRouterSnapshot } from './router.js';
|
|
29
|
+
import { type CatalogSourceGenerationViewModel, type RetirementSourceChecks } from './catalog-generation.js';
|
|
14
30
|
import type { CatalogSourceFreshnessViewModel } from './catalog-freshness.js';
|
|
15
31
|
import type { CatalogSessionReusableCandidate } from './catalog-sources/types.js';
|
|
32
|
+
import type { CatalogStoreStatusResult } from '../commands/catalog-store.js';
|
|
33
|
+
import type { CatalogStoreTaskEvidence } from './catalog-store-task.js';
|
|
34
|
+
import { type PluginWriteTaskBlockedTarget, type PluginWriteTaskCandidate, type PluginWriteTaskCause, type PluginWriteTaskGoal, type PluginWriteTaskIntent, type PluginWriteTaskTarget } from './plugin-write-task.js';
|
|
35
|
+
export type { PluginWriteTaskBlockReason, PluginWriteTaskCandidate, PluginWriteTaskExpectedUpdate, PluginWriteTaskGoal, PluginWriteTaskIntent, PluginWriteTaskMethod, PluginWriteTaskTarget, } from './plugin-write-task.js';
|
|
36
|
+
type CatalogActivationBlockReason = 'configDraft' | 'sourceDraft' | 'batchDraft' | 'portableDraft' | 'activeReview' | 'reviewPreparation' | 'writeProgress';
|
|
37
|
+
export interface ExternalDraftState {
|
|
38
|
+
kind: 'configDraft' | 'sourceDraft' | 'batchDraft';
|
|
39
|
+
owner: string;
|
|
40
|
+
flowId?: string;
|
|
41
|
+
revision: number;
|
|
42
|
+
}
|
|
16
43
|
export type PluginWriteOperation = 'install' | 'refreshAndSync' | 'reinstall' | 'uninstall' | 'cleanup' | 'sync';
|
|
44
|
+
export declare const PLUGIN_WRITE_BATCH_ACTIONS: readonly ["install", "sync", "reinstall", "uninstall", "cleanup"];
|
|
45
|
+
export type BatchPluginWriteAction = typeof PLUGIN_WRITE_BATCH_ACTIONS[number];
|
|
46
|
+
export type PluginWriteBatchSelection = {
|
|
47
|
+
kind: 'selected';
|
|
48
|
+
pluginIds: string[];
|
|
49
|
+
} | {
|
|
50
|
+
kind: 'targets';
|
|
51
|
+
targets: PluginWriteBatchTarget[];
|
|
52
|
+
};
|
|
53
|
+
export interface PluginWriteBatchTarget {
|
|
54
|
+
pluginId: string;
|
|
55
|
+
platform: PlatformName;
|
|
56
|
+
scope: Scope;
|
|
57
|
+
}
|
|
58
|
+
export interface PluginInstallBatchTarget extends PluginWriteBatchTarget {
|
|
59
|
+
state: 'add' | 'existing' | 'blocked';
|
|
60
|
+
reason?: string;
|
|
61
|
+
}
|
|
62
|
+
export declare function pluginWriteBatchTargets(action: Exclude<BatchPluginWriteAction, 'install'>, pluginIds: readonly string[], statusTargets: readonly StatusScopedTarget[]): PluginWriteBatchTarget[];
|
|
63
|
+
export interface PluginWriteBatchIntent {
|
|
64
|
+
kind: 'pluginWriteBatch';
|
|
65
|
+
dependencyScopeOverrides?: DependencyScopeOverride[];
|
|
66
|
+
saveDependencyScopeOverrides?: boolean;
|
|
67
|
+
action: BatchPluginWriteAction;
|
|
68
|
+
selection: PluginWriteBatchSelection;
|
|
69
|
+
platform: PlatformName | 'both';
|
|
70
|
+
scope: Scope;
|
|
71
|
+
scriptTimeoutMs?: number;
|
|
72
|
+
}
|
|
73
|
+
export interface PluginWriteBatchGroupEvidence {
|
|
74
|
+
groupId: string;
|
|
75
|
+
sourceId: string;
|
|
76
|
+
platform: PlatformName | 'both';
|
|
77
|
+
scope: Scope;
|
|
78
|
+
requestedPluginIds: string[];
|
|
79
|
+
preview: RebuildCommandResult;
|
|
80
|
+
executable: boolean;
|
|
81
|
+
}
|
|
82
|
+
export interface PluginWriteBatchEvidence extends OperationEvidence {
|
|
83
|
+
requestedPluginIds: string[];
|
|
84
|
+
groups: PluginWriteBatchGroupEvidence[];
|
|
85
|
+
projectIntentDigest?: string;
|
|
86
|
+
targetVersions?: Array<PluginWriteBatchTarget & {
|
|
87
|
+
presence: 'new' | 'installed' | 'unknown';
|
|
88
|
+
installedVersion?: string;
|
|
89
|
+
availableVersion?: string;
|
|
90
|
+
}>;
|
|
91
|
+
}
|
|
92
|
+
export interface PluginWriteBatchGroupResult {
|
|
93
|
+
groupId: string;
|
|
94
|
+
sourceId: string;
|
|
95
|
+
platform: PlatformName | 'both';
|
|
96
|
+
scope: Scope;
|
|
97
|
+
requestedPluginIds: string[];
|
|
98
|
+
result: RebuildCommandResult;
|
|
99
|
+
}
|
|
100
|
+
export interface PluginWriteBatchExecutionResult extends RebuildCommandResult {
|
|
101
|
+
requestedPluginIds: string[];
|
|
102
|
+
groupResults: PluginWriteBatchGroupResult[];
|
|
103
|
+
}
|
|
104
|
+
export interface PluginWriteTaskSourceEvidence {
|
|
105
|
+
sourceId: string;
|
|
106
|
+
sourceIdentity: string;
|
|
107
|
+
requestedTargets: PluginWriteTaskTarget[];
|
|
108
|
+
causes: PluginWriteTaskCause[];
|
|
109
|
+
preview: RebuildCommandResult;
|
|
110
|
+
executable: boolean;
|
|
111
|
+
}
|
|
112
|
+
export interface PluginWriteTaskEvidence extends OperationEvidence {
|
|
113
|
+
taskPlan: {
|
|
114
|
+
goal: PluginWriteTaskGoal;
|
|
115
|
+
requestedTargets: PluginWriteTaskTarget[];
|
|
116
|
+
executableTargets: PluginWriteTaskTarget[];
|
|
117
|
+
causes: PluginWriteTaskCause[];
|
|
118
|
+
blockedTargets: PluginWriteTaskBlockedTarget[];
|
|
119
|
+
sources: PluginWriteTaskSourceEvidence[];
|
|
120
|
+
targetFingerprint: string;
|
|
121
|
+
planFingerprint: string;
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
export interface PluginWriteTaskSourceResult {
|
|
125
|
+
sourceId: string;
|
|
126
|
+
sourceIdentity: string;
|
|
127
|
+
requestedTargets: PluginWriteTaskTarget[];
|
|
128
|
+
result: RebuildCommandResult;
|
|
129
|
+
}
|
|
130
|
+
export interface PluginWriteTaskExecutionResult extends RebuildCommandResult {
|
|
131
|
+
taskPlan: PluginWriteTaskEvidence['taskPlan'];
|
|
132
|
+
sourceResults: PluginWriteTaskSourceResult[];
|
|
133
|
+
}
|
|
17
134
|
export type OperationKind = OperationIntent['kind'];
|
|
135
|
+
export interface ConfigOperationChange {
|
|
136
|
+
key: string;
|
|
137
|
+
title: string;
|
|
138
|
+
before: string;
|
|
139
|
+
after: string;
|
|
140
|
+
children?: Array<{
|
|
141
|
+
property: string;
|
|
142
|
+
before: string;
|
|
143
|
+
after: string;
|
|
144
|
+
private?: boolean;
|
|
145
|
+
}>;
|
|
146
|
+
}
|
|
147
|
+
export interface ConfigSaveBatchGroup {
|
|
148
|
+
editEvidence?: Record<string, import('./model.js').ConfigEditEvidence>;
|
|
149
|
+
scope?: 'user';
|
|
150
|
+
platform?: PlatformTarget;
|
|
151
|
+
updates?: Record<string, unknown>;
|
|
152
|
+
removeKeys?: string[];
|
|
153
|
+
sensitiveKeys?: string[];
|
|
154
|
+
privateKeys?: string[];
|
|
155
|
+
changes?: ConfigOperationChange[];
|
|
156
|
+
}
|
|
157
|
+
export interface ConfigSaveBatchGroupResult {
|
|
158
|
+
scope: 'user';
|
|
159
|
+
platform?: PlatformTarget;
|
|
160
|
+
status: 'succeeded' | 'failed' | 'notStarted';
|
|
161
|
+
configSaved: boolean;
|
|
162
|
+
applyRequested: boolean;
|
|
163
|
+
applyStatus: 'notRequested' | 'notStarted' | 'notNeeded' | 'succeeded' | 'partial' | 'failed';
|
|
164
|
+
errorCode?: string;
|
|
165
|
+
failureDetail?: ConfigSaveFailureDetail;
|
|
166
|
+
execution?: unknown;
|
|
167
|
+
}
|
|
168
|
+
type ConfigSaveFailureDetail = {
|
|
169
|
+
kind: 'referenceBlocked';
|
|
170
|
+
blockers: readonly PluginConfigReferenceBlocker[];
|
|
171
|
+
} | {
|
|
172
|
+
kind: 'message';
|
|
173
|
+
message: string;
|
|
174
|
+
};
|
|
175
|
+
export interface ConfigSaveBatchExecutionResult {
|
|
176
|
+
status: 'succeeded' | 'partial' | 'failed';
|
|
177
|
+
groups: ConfigSaveBatchGroupResult[];
|
|
178
|
+
}
|
|
179
|
+
export interface ConfigDraftSaveResult {
|
|
180
|
+
status: 'succeeded' | 'partial' | 'failed';
|
|
181
|
+
savedProfiles: ConfigProfileKey[];
|
|
182
|
+
failedProfiles: Array<{
|
|
183
|
+
profile: ConfigProfileKey;
|
|
184
|
+
errorCode?: string;
|
|
185
|
+
errorMessage?: string;
|
|
186
|
+
}>;
|
|
187
|
+
}
|
|
18
188
|
export interface IssueOrigin {
|
|
19
189
|
issueId: string;
|
|
20
190
|
issueKey: string;
|
|
@@ -36,55 +206,58 @@ export type OperationIntent = {
|
|
|
36
206
|
platform: PlatformName | 'both';
|
|
37
207
|
scope: Scope;
|
|
38
208
|
dependencyScopeOverrides?: DependencyScopeOverride[];
|
|
39
|
-
|
|
209
|
+
saveDependencyScopeOverrides?: boolean;
|
|
210
|
+
expectedUpdate?: {
|
|
211
|
+
installedVersion: string;
|
|
212
|
+
activeVersion: string;
|
|
213
|
+
sourceIdentity: string;
|
|
214
|
+
generationKey: string;
|
|
215
|
+
};
|
|
40
216
|
recoveryDescription?: string;
|
|
41
217
|
force?: boolean;
|
|
218
|
+
scriptTimeoutMs?: number;
|
|
42
219
|
originIssue?: IssueOrigin;
|
|
43
|
-
} | {
|
|
220
|
+
} | PluginWriteBatchIntent | PluginWriteTaskIntent | {
|
|
44
221
|
kind: 'portableInstall';
|
|
45
222
|
pluginId: string;
|
|
46
223
|
scope: Scope;
|
|
47
224
|
selectedSkills: string[];
|
|
48
225
|
requestedAgents?: string[];
|
|
226
|
+
retry?: {
|
|
227
|
+
receipt: PortableInstallReceipt;
|
|
228
|
+
review?: PortableRetryReview;
|
|
229
|
+
};
|
|
49
230
|
} | {
|
|
50
231
|
kind: 'configSave';
|
|
51
232
|
pluginId: string;
|
|
52
|
-
scope
|
|
233
|
+
scope?: 'user';
|
|
234
|
+
platform?: PlatformTarget;
|
|
235
|
+
context?: Scope;
|
|
53
236
|
apply: boolean;
|
|
237
|
+
targets?: PlatformTarget[];
|
|
238
|
+
scriptTimeoutMs?: number;
|
|
54
239
|
retryApply?: true;
|
|
240
|
+
editEvidence?: Record<string, import('./model.js').ConfigEditEvidence>;
|
|
55
241
|
updates?: Record<string, unknown>;
|
|
56
242
|
removeKeys?: string[];
|
|
57
243
|
sensitiveKeys?: string[];
|
|
58
244
|
privateKeys?: string[];
|
|
59
|
-
changes?:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
after: string;
|
|
68
|
-
private?: boolean;
|
|
69
|
-
}>;
|
|
70
|
-
}>;
|
|
245
|
+
changes?: ConfigOperationChange[];
|
|
246
|
+
} | {
|
|
247
|
+
kind: 'configSaveBatch';
|
|
248
|
+
pluginId: string;
|
|
249
|
+
context?: Scope;
|
|
250
|
+
apply: boolean;
|
|
251
|
+
scriptTimeoutMs?: number;
|
|
252
|
+
groups: ConfigSaveBatchGroup[];
|
|
71
253
|
} | {
|
|
72
254
|
kind: 'configReset';
|
|
73
255
|
pluginId: string;
|
|
74
|
-
scope
|
|
256
|
+
scope?: 'user';
|
|
257
|
+
platform?: PlatformTarget;
|
|
258
|
+
context?: Scope;
|
|
75
259
|
expectedStoreState?: 'invalid';
|
|
76
|
-
changes?:
|
|
77
|
-
key: string;
|
|
78
|
-
title: string;
|
|
79
|
-
before: string;
|
|
80
|
-
after: string;
|
|
81
|
-
children?: Array<{
|
|
82
|
-
property: string;
|
|
83
|
-
before: string;
|
|
84
|
-
after: string;
|
|
85
|
-
private?: boolean;
|
|
86
|
-
}>;
|
|
87
|
-
}>;
|
|
260
|
+
changes?: ConfigOperationChange[];
|
|
88
261
|
} | {
|
|
89
262
|
kind: 'sourceMutation';
|
|
90
263
|
action: 'add' | 'update' | 'setPrimary' | 'remove';
|
|
@@ -111,7 +284,37 @@ export type OperationIntent = {
|
|
|
111
284
|
setPrimaryAfterActivation?: boolean;
|
|
112
285
|
} | {
|
|
113
286
|
kind: 'catalogSourcesRecovery';
|
|
287
|
+
} | {
|
|
288
|
+
kind: 'catalogStorePrune';
|
|
114
289
|
};
|
|
290
|
+
export interface ConfigOperationEvidence {
|
|
291
|
+
scope: 'user';
|
|
292
|
+
platform?: PlatformTarget;
|
|
293
|
+
context?: Scope;
|
|
294
|
+
schemaIdentity?: string;
|
|
295
|
+
storeDigest: string;
|
|
296
|
+
impactState?: 'known' | 'unknown';
|
|
297
|
+
noEffectiveChange?: true;
|
|
298
|
+
affectedTargets: Array<{
|
|
299
|
+
pluginName?: string;
|
|
300
|
+
platform: PlatformTarget;
|
|
301
|
+
scope: Scope;
|
|
302
|
+
}>;
|
|
303
|
+
applyEvidence?: unknown;
|
|
304
|
+
applyChanges?: string[];
|
|
305
|
+
commandReviewChanges?: OperationReviewChange[];
|
|
306
|
+
hostPermissionEffects?: Confirmation['effects'];
|
|
307
|
+
commandPackageEvidence?: readonly import('../utils/plugin-config-command-apply.js').ConfigCommandPackageEvidence[];
|
|
308
|
+
applyWarnings?: string[];
|
|
309
|
+
applyBlockers?: Array<{
|
|
310
|
+
code: string;
|
|
311
|
+
message: string;
|
|
312
|
+
}>;
|
|
313
|
+
commandPackages?: PluginConfigMutationImpact['affectedCommandPackages'];
|
|
314
|
+
preApplyAuthorization?: PreApplyAuthorizationTarget[];
|
|
315
|
+
sharedNativeRenderUnits?: import('../utils/plugin-config-impact.js').PluginConfigImpactSharedNativeRenderUnit[];
|
|
316
|
+
shareability?: 'verified' | 'unverified';
|
|
317
|
+
}
|
|
115
318
|
export interface OperationEvidence {
|
|
116
319
|
catalog: {
|
|
117
320
|
configDigest: string;
|
|
@@ -121,6 +324,7 @@ export interface OperationEvidence {
|
|
|
121
324
|
source?: {
|
|
122
325
|
sourceId: string;
|
|
123
326
|
sourceIdentity: string;
|
|
327
|
+
logicalIdentity?: string;
|
|
124
328
|
requestedRef?: string;
|
|
125
329
|
resolvedCommit?: string;
|
|
126
330
|
manifestDigest?: string;
|
|
@@ -132,33 +336,33 @@ export interface OperationEvidence {
|
|
|
132
336
|
};
|
|
133
337
|
targetFingerprint?: string;
|
|
134
338
|
offlineCleanup?: OfflineCleanupTargetEvidence;
|
|
339
|
+
offlineCleanupPlans?: OfflineCleanupTargetEvidence[];
|
|
340
|
+
removedPluginCleanupIds?: string[];
|
|
135
341
|
dependencyPlan?: ReconcileOperationPlan;
|
|
136
342
|
codexReconcilePlans?: CodexReconcilePlan[];
|
|
137
343
|
operationPlan?: OperationPlan;
|
|
138
344
|
preparationWarnings?: string[];
|
|
139
345
|
codexManager?: {
|
|
140
|
-
state: 'system'
|
|
141
|
-
|
|
346
|
+
state: 'system';
|
|
347
|
+
source: 'system' | 'app';
|
|
142
348
|
version: string;
|
|
349
|
+
diagnostics?: string[];
|
|
143
350
|
};
|
|
144
|
-
config?:
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
}>;
|
|
152
|
-
sharedNativeRenderTargets?: Array<{
|
|
153
|
-
id: string;
|
|
154
|
-
skillKey: string;
|
|
155
|
-
refreshKeys: string[];
|
|
351
|
+
config?: ConfigOperationEvidence;
|
|
352
|
+
configBatch?: {
|
|
353
|
+
groups: Array<{
|
|
354
|
+
scope: 'user';
|
|
355
|
+
platform?: PlatformTarget;
|
|
356
|
+
config: ConfigOperationEvidence;
|
|
357
|
+
targetFingerprint: string;
|
|
156
358
|
}>;
|
|
157
359
|
};
|
|
158
360
|
resetTarget?: {
|
|
159
361
|
sourceId: string;
|
|
160
362
|
pluginName: string;
|
|
161
|
-
scope:
|
|
363
|
+
scope: 'user';
|
|
364
|
+
platform?: PlatformTarget;
|
|
365
|
+
context?: Scope;
|
|
162
366
|
kind: 'absent' | 'regularFile' | 'symbolicLink' | 'directory';
|
|
163
367
|
fingerprint: string;
|
|
164
368
|
};
|
|
@@ -166,6 +370,7 @@ export interface OperationEvidence {
|
|
|
166
370
|
configDigest: string;
|
|
167
371
|
proposedConfigDigest: string;
|
|
168
372
|
sourceIdentity?: string;
|
|
373
|
+
identityChanged?: boolean;
|
|
169
374
|
inventoryDigest: string;
|
|
170
375
|
impactDigest?: string;
|
|
171
376
|
referenceCount: number;
|
|
@@ -186,6 +391,9 @@ export interface OperationEvidence {
|
|
|
186
391
|
impact?: CatalogSourceImpact;
|
|
187
392
|
impactDigest?: string;
|
|
188
393
|
impactMode?: 'generation' | 'identityChange';
|
|
394
|
+
primaryImpact?: CatalogSourceImpact;
|
|
395
|
+
primaryImpactDigest?: string;
|
|
396
|
+
primaryConfigDigest?: string;
|
|
189
397
|
configDigest: string;
|
|
190
398
|
proposedConfigDigest?: string;
|
|
191
399
|
proposedSource?: CatalogSource;
|
|
@@ -195,11 +403,14 @@ export interface OperationEvidence {
|
|
|
195
403
|
setPrimaryAfterActivation?: boolean;
|
|
196
404
|
};
|
|
197
405
|
portable?: PortableReview;
|
|
406
|
+
catalogStore?: CatalogStoreTaskEvidence;
|
|
198
407
|
}
|
|
199
408
|
export interface OperationReviewChange {
|
|
200
409
|
kind: 'add' | 'change' | 'remove' | 'keep' | 'warning';
|
|
201
410
|
group?: 'requested' | 'dependencies' | 'projectIntent' | 'userIntent' | 'sharedCodexNative' | 'userActivation' | 'projectActivation' | 'awExtensions' | 'runtime' | 'portableTarget' | 'portableInputs' | 'portableWarnings' | 'configChanges' | 'configImpact' | 'preserved';
|
|
202
411
|
pluginId?: string;
|
|
412
|
+
batchGroupId?: string;
|
|
413
|
+
sourceId?: string;
|
|
203
414
|
relation?: 'requested' | 'direct' | 'transitive';
|
|
204
415
|
title: string;
|
|
205
416
|
description?: string;
|
|
@@ -213,6 +424,7 @@ export interface OperationReviewModel {
|
|
|
213
424
|
kind: 'sourceMutation';
|
|
214
425
|
}>['action'];
|
|
215
426
|
pluginAction?: PluginWriteOperation;
|
|
427
|
+
taskGoal?: PluginWriteTaskGoal;
|
|
216
428
|
originIssue?: IssueOrigin;
|
|
217
429
|
title: string;
|
|
218
430
|
description: string;
|
|
@@ -223,6 +435,11 @@ export interface OperationReviewModel {
|
|
|
223
435
|
version?: string;
|
|
224
436
|
};
|
|
225
437
|
changes: OperationReviewChange[];
|
|
438
|
+
configImpact?: {
|
|
439
|
+
state: 'known' | 'unknown';
|
|
440
|
+
affectedTargetCount: number;
|
|
441
|
+
};
|
|
442
|
+
confirmationDetails?: string[];
|
|
226
443
|
technicalDetails?: string[];
|
|
227
444
|
equivalentCommand?: string;
|
|
228
445
|
primaryLabel: string;
|
|
@@ -237,6 +454,26 @@ export interface OperationReviewModel {
|
|
|
237
454
|
catalogVersion: string;
|
|
238
455
|
generationDigestShort: string;
|
|
239
456
|
};
|
|
457
|
+
batch?: {
|
|
458
|
+
requestedPluginIds: string[];
|
|
459
|
+
groupCount: number;
|
|
460
|
+
executableGroupCount: number;
|
|
461
|
+
};
|
|
462
|
+
task?: {
|
|
463
|
+
goal: PluginWriteTaskGoal;
|
|
464
|
+
requestedTargetCount: number;
|
|
465
|
+
executableTargetCount: number;
|
|
466
|
+
blockedTargetCount: number;
|
|
467
|
+
causeCount: number;
|
|
468
|
+
};
|
|
469
|
+
rootSummary?: Array<{
|
|
470
|
+
pluginId: string;
|
|
471
|
+
version?: string;
|
|
472
|
+
targets: Array<{
|
|
473
|
+
platform: PlatformName | 'both';
|
|
474
|
+
scope: Scope;
|
|
475
|
+
}>;
|
|
476
|
+
}>;
|
|
240
477
|
}
|
|
241
478
|
export type ReviewPreparationStageId = 'refresh' | 'validate' | 'status' | 'catalog' | 'inventory' | 'dependencyPlan' | 'config' | 'portable' | 'evidence';
|
|
242
479
|
export interface ReviewPreparationStage {
|
|
@@ -246,12 +483,14 @@ export interface ReviewPreparationStage {
|
|
|
246
483
|
}
|
|
247
484
|
export interface ReviewPreparationSnapshot {
|
|
248
485
|
id: string;
|
|
249
|
-
|
|
486
|
+
operationKind: OperationIntent['kind'];
|
|
487
|
+
subject: string;
|
|
250
488
|
state: 'running' | 'failed';
|
|
251
489
|
stages: ReviewPreparationStage[];
|
|
252
|
-
|
|
490
|
+
currentStage?: ReviewPreparationStageId;
|
|
253
491
|
code?: 'reviewPreparationFailed';
|
|
254
492
|
message?: string;
|
|
493
|
+
operationRecordId?: string;
|
|
255
494
|
}
|
|
256
495
|
export type OperationExecuteResult = {
|
|
257
496
|
state: 'succeeded';
|
|
@@ -263,7 +502,11 @@ export type OperationExecuteResult = {
|
|
|
263
502
|
}>['action'];
|
|
264
503
|
pluginId?: string;
|
|
265
504
|
originIssue?: IssueOrigin;
|
|
505
|
+
portableIntent?: PortableResultIntentMetadata;
|
|
266
506
|
returnRoute?: TuiRoute;
|
|
507
|
+
operationRecordId?: string;
|
|
508
|
+
diagnosticIds?: string[];
|
|
509
|
+
effects?: OperationEffectFacts;
|
|
267
510
|
} | {
|
|
268
511
|
state: 'partial';
|
|
269
512
|
operationId: string;
|
|
@@ -274,7 +517,11 @@ export type OperationExecuteResult = {
|
|
|
274
517
|
}>['action'];
|
|
275
518
|
pluginId?: string;
|
|
276
519
|
originIssue?: IssueOrigin;
|
|
520
|
+
portableIntent?: PortableResultIntentMetadata;
|
|
277
521
|
returnRoute?: TuiRoute;
|
|
522
|
+
operationRecordId?: string;
|
|
523
|
+
diagnosticIds?: string[];
|
|
524
|
+
effects?: OperationEffectFacts;
|
|
278
525
|
} | {
|
|
279
526
|
state: 'stale';
|
|
280
527
|
operationId: string;
|
|
@@ -284,6 +531,10 @@ export type OperationExecuteResult = {
|
|
|
284
531
|
}>['action'];
|
|
285
532
|
review: OperationReviewModel;
|
|
286
533
|
originIssue?: IssueOrigin;
|
|
534
|
+
portableIntent?: PortableResultIntentMetadata;
|
|
535
|
+
operationRecordId?: string;
|
|
536
|
+
diagnosticIds?: string[];
|
|
537
|
+
effects?: OperationEffectFacts;
|
|
287
538
|
} | {
|
|
288
539
|
state: 'blocked';
|
|
289
540
|
operationId: string;
|
|
@@ -296,10 +547,18 @@ export type OperationExecuteResult = {
|
|
|
296
547
|
pluginId?: string;
|
|
297
548
|
returnRoute?: TuiRoute;
|
|
298
549
|
originIssue?: IssueOrigin;
|
|
550
|
+
portableIntent?: PortableResultIntentMetadata;
|
|
299
551
|
writeMayHaveCompleted?: boolean;
|
|
300
552
|
verification?: 'issueStillPresent' | 'verificationFailed';
|
|
301
553
|
summary?: OperationResultSummary;
|
|
554
|
+
operationRecordId?: string;
|
|
555
|
+
diagnosticIds?: string[];
|
|
556
|
+
effects?: OperationEffectFacts;
|
|
302
557
|
};
|
|
558
|
+
export interface PortableResultIntentMetadata {
|
|
559
|
+
scope: Scope;
|
|
560
|
+
agentMode: 'automatic' | 'explicit';
|
|
561
|
+
}
|
|
303
562
|
export interface OperationResultSummary {
|
|
304
563
|
code: 'operationSucceeded' | 'operationPartial' | 'operationFailed';
|
|
305
564
|
message: string;
|
|
@@ -314,26 +573,81 @@ export interface OperationResultSummary {
|
|
|
314
573
|
elapsedMs?: number;
|
|
315
574
|
messages?: string[];
|
|
316
575
|
configApplied?: boolean;
|
|
576
|
+
configDiagnostics?: Diagnostic[];
|
|
317
577
|
configApplySkippedReason?: 'invalidConfig';
|
|
318
578
|
configScope?: Scope;
|
|
579
|
+
configPlatform?: PlatformTarget;
|
|
580
|
+
configContext?: Scope;
|
|
581
|
+
configTargets?: Array<ComponentDelivery & {
|
|
582
|
+
pluginId?: string;
|
|
583
|
+
platform: PlatformTarget;
|
|
584
|
+
scope: Scope;
|
|
585
|
+
state: 'completed' | 'kept' | 'failed' | 'skipped';
|
|
586
|
+
partialDelivery?: true;
|
|
587
|
+
errorCode?: string;
|
|
588
|
+
diagnosticIds?: string[];
|
|
589
|
+
effects?: OperationEffectFacts;
|
|
590
|
+
}>;
|
|
319
591
|
configApplyRetryAvailable?: boolean;
|
|
592
|
+
configApplyRetryTargets?: PlatformTarget[];
|
|
593
|
+
configRetryApply?: boolean;
|
|
594
|
+
configGroups?: Array<{
|
|
595
|
+
scope: Scope;
|
|
596
|
+
platform?: PlatformTarget;
|
|
597
|
+
configSaved: boolean;
|
|
598
|
+
applyRequested: boolean;
|
|
599
|
+
applyStatus: ConfigSaveBatchGroupResult['applyStatus'];
|
|
600
|
+
notStarted?: true;
|
|
601
|
+
retryTargets?: PlatformTarget[];
|
|
602
|
+
errorCode?: string;
|
|
603
|
+
}>;
|
|
320
604
|
resetDisposition?: 'absent' | 'deletedFile' | 'unlinkedSymlink' | 'quarantinedDirectory';
|
|
321
605
|
quarantineBasename?: string;
|
|
322
606
|
changes?: string[];
|
|
323
607
|
warnings?: string[];
|
|
324
608
|
recoveryActions?: string[];
|
|
609
|
+
commandResults?: CommandProducerResult[];
|
|
325
610
|
planFingerprint?: string;
|
|
611
|
+
diagnosticIds?: string[];
|
|
612
|
+
effects?: OperationEffectFacts;
|
|
613
|
+
batch?: {
|
|
614
|
+
requestedPluginIds: string[];
|
|
615
|
+
failedRequestedPluginIds: string[];
|
|
616
|
+
rootResults: PluginWriteBatchRootResult[];
|
|
617
|
+
retryTargets?: PluginWriteBatchTarget[];
|
|
618
|
+
groupCount: number;
|
|
619
|
+
};
|
|
620
|
+
task?: {
|
|
621
|
+
goal: PluginWriteTaskGoal;
|
|
622
|
+
requestedTargets: PluginWriteTaskTarget[];
|
|
623
|
+
rootResults: PluginWriteTaskRootResult[];
|
|
624
|
+
retryTargets?: PluginWriteTaskTarget[];
|
|
625
|
+
blockedTargets: PluginWriteTaskBlockedTarget[];
|
|
626
|
+
};
|
|
326
627
|
portable?: {
|
|
327
628
|
selectedSkills: string[];
|
|
328
629
|
agentMode: 'automatic' | 'explicit';
|
|
329
630
|
requestedAgents: string[];
|
|
631
|
+
attemptedTargets?: Array<{
|
|
632
|
+
skill: string;
|
|
633
|
+
agent?: string;
|
|
634
|
+
}>;
|
|
330
635
|
scope: Scope;
|
|
331
636
|
materializationDigest: string;
|
|
332
637
|
skillsCliVersion: string;
|
|
638
|
+
verified: Array<{
|
|
639
|
+
name: string;
|
|
640
|
+
scope?: string;
|
|
641
|
+
agents: string[];
|
|
642
|
+
}>;
|
|
333
643
|
missing: Array<{
|
|
334
644
|
skill: string;
|
|
335
645
|
agent?: string;
|
|
336
646
|
}>;
|
|
647
|
+
unknown: Array<{
|
|
648
|
+
skill: string;
|
|
649
|
+
agent?: string;
|
|
650
|
+
}>;
|
|
337
651
|
verificationUnknown: boolean;
|
|
338
652
|
recovery?: string;
|
|
339
653
|
failureCode?: string;
|
|
@@ -345,7 +659,34 @@ export interface OperationResultSummary {
|
|
|
345
659
|
state: 'completed' | 'kept' | 'failed' | 'skipped';
|
|
346
660
|
relation?: 'requested' | 'direct' | 'transitive';
|
|
347
661
|
requiredBy?: string[];
|
|
348
|
-
errorCode?:
|
|
662
|
+
errorCode?: string;
|
|
663
|
+
diagnosticIds?: string[];
|
|
664
|
+
effects?: OperationEffectFacts;
|
|
665
|
+
}>;
|
|
666
|
+
}
|
|
667
|
+
export interface PluginWriteTaskRootResult {
|
|
668
|
+
pluginId: string;
|
|
669
|
+
state: 'completed' | 'kept' | 'partial' | 'failed' | 'notStarted' | 'blocked';
|
|
670
|
+
causeKeys: string[];
|
|
671
|
+
targets: Array<{
|
|
672
|
+
pluginId?: string;
|
|
673
|
+
platform: PlatformName;
|
|
674
|
+
scope: Scope;
|
|
675
|
+
state: 'completed' | 'kept' | 'failed' | 'skipped';
|
|
676
|
+
relation?: 'requested' | 'direct' | 'transitive';
|
|
677
|
+
errorCode?: string;
|
|
678
|
+
}>;
|
|
679
|
+
}
|
|
680
|
+
export interface PluginWriteBatchRootResult {
|
|
681
|
+
pluginId: string;
|
|
682
|
+
state: 'completed' | 'kept' | 'partial' | 'failed' | 'notStarted';
|
|
683
|
+
targets: Array<{
|
|
684
|
+
pluginId: string;
|
|
685
|
+
platform: PlatformName;
|
|
686
|
+
scope: Scope;
|
|
687
|
+
state: 'completed' | 'kept' | 'failed' | 'skipped';
|
|
688
|
+
relation: 'requested';
|
|
689
|
+
errorCode?: string;
|
|
349
690
|
}>;
|
|
350
691
|
}
|
|
351
692
|
export interface PluginOperationProgressLine {
|
|
@@ -357,13 +698,24 @@ export interface PluginOperationProgressLine {
|
|
|
357
698
|
state: 'pending' | 'running' | 'completed' | 'kept' | 'failed' | 'skipped';
|
|
358
699
|
}
|
|
359
700
|
export interface TuiStatusLoadResult {
|
|
701
|
+
scopedRecovery?: Partial<Record<Scope, ScopedInventoryLoadResult>>;
|
|
702
|
+
retirementSourceChecks?: RetirementSourceChecks;
|
|
703
|
+
projectRoot?: string;
|
|
360
704
|
cliChannel?: 'latest' | 'beta';
|
|
361
|
-
payload:
|
|
362
|
-
pluginSummaries:
|
|
705
|
+
payload: StatusV8Payload;
|
|
706
|
+
pluginSummaries: StatusV8PluginSummary[];
|
|
363
707
|
targetRevisions?: StatusTargetRevision[];
|
|
364
708
|
sourceDetails?: SourceDetailViewModel[];
|
|
709
|
+
configuredSources?: CatalogSource[];
|
|
365
710
|
dependencyOverviews?: PluginDependencyOverviewViewModel[];
|
|
711
|
+
contentOverviews?: Record<string, PluginContentOverview>;
|
|
366
712
|
portablePluginIds?: string[];
|
|
713
|
+
configStoreInventory?: Array<{
|
|
714
|
+
pluginId: string;
|
|
715
|
+
sourceId: string;
|
|
716
|
+
pluginName: string;
|
|
717
|
+
scope: Scope;
|
|
718
|
+
}>;
|
|
367
719
|
catalogGenerations?: CatalogSourceGenerationViewModel[];
|
|
368
720
|
sessionGenerationKeys?: Record<string, string>;
|
|
369
721
|
}
|
|
@@ -388,30 +740,79 @@ export interface SourceReferenceSummaryViewModel {
|
|
|
388
740
|
}>;
|
|
389
741
|
}
|
|
390
742
|
export interface TuiControllerDependencies {
|
|
743
|
+
readAgentSettings?: () => Promise<import('./agent-settings.js').AgentSettings>;
|
|
744
|
+
previewAgentSettings?: (preferences: import('../intent/deployment-preferences.js').DeploymentPreferences, pluginId?: string) => Promise<import('./agent-settings.js').AgentSettingsPreview>;
|
|
745
|
+
saveAgentSettings?: (request: Parameters<typeof import('./agent-settings.js').saveAgentSettings>[1]) => Promise<import('./agent-settings.js').AgentSettings>;
|
|
391
746
|
beginCatalogSession?: (options?: {
|
|
392
747
|
reuseValidatedGenerations?: boolean;
|
|
393
748
|
}) => void;
|
|
394
749
|
loadStatus: (signal: AbortSignal) => Promise<TuiStatusLoadResult>;
|
|
750
|
+
loadScopedStatus?: (scope: Scope, signal: AbortSignal) => Promise<ScopedInventoryLoadResult>;
|
|
751
|
+
prepareScopedTask?: (request: {
|
|
752
|
+
scope: Scope;
|
|
753
|
+
kind: 'recovery';
|
|
754
|
+
command?: RecoveryCommand;
|
|
755
|
+
selectors: string[];
|
|
756
|
+
allowDependencySelectors?: boolean;
|
|
757
|
+
exactTargets?: Array<{
|
|
758
|
+
pluginId: string;
|
|
759
|
+
agent: AgentId;
|
|
760
|
+
scope?: Scope;
|
|
761
|
+
}>;
|
|
762
|
+
targets?: AgentId[];
|
|
763
|
+
force?: boolean;
|
|
764
|
+
refresh?: boolean;
|
|
765
|
+
retireUnselectedTargets?: boolean;
|
|
766
|
+
dependencyScopeOverrides?: DependencyScopeOverride[];
|
|
767
|
+
saveDependencyScopeOverrides?: boolean;
|
|
768
|
+
scriptTimeoutMs?: number;
|
|
769
|
+
} | {
|
|
770
|
+
scope: Scope;
|
|
771
|
+
kind: 'targets';
|
|
772
|
+
action: 'set' | 'reset';
|
|
773
|
+
agents: string[];
|
|
774
|
+
} | {
|
|
775
|
+
scope: Scope;
|
|
776
|
+
kind: 'retire';
|
|
777
|
+
selector: string;
|
|
778
|
+
targets?: AgentId[];
|
|
779
|
+
deleteConfig?: boolean;
|
|
780
|
+
} | {
|
|
781
|
+
scope: Scope;
|
|
782
|
+
kind: 'intent';
|
|
783
|
+
action: 'add' | 'remove';
|
|
784
|
+
selector: string;
|
|
785
|
+
}, signal: AbortSignal) => Promise<ScopedTuiPlan>;
|
|
786
|
+
executeScopedTask?: (plan: ScopedTuiPlan) => Promise<{
|
|
787
|
+
kind: 'recovery';
|
|
788
|
+
receipt: RecoveryReceipt;
|
|
789
|
+
} | {
|
|
790
|
+
kind: 'recoveryReview';
|
|
791
|
+
plan: ScopedTuiPlan;
|
|
792
|
+
} | {
|
|
793
|
+
kind: 'targets';
|
|
794
|
+
changed: boolean;
|
|
795
|
+
agents: AgentId[];
|
|
796
|
+
}>;
|
|
797
|
+
loadPluginContent?: (pluginId: string, signal: AbortSignal) => Promise<PluginContentOverview>;
|
|
395
798
|
probeCatalogFreshness?: (sourceId: string, options: {
|
|
396
799
|
fullValidation: boolean;
|
|
397
800
|
}, signal: AbortSignal) => Promise<CatalogGenerationFreshnessResult>;
|
|
398
801
|
inspectSourceRemoval?: (sourceId: string, signal: AbortSignal) => Promise<SourceReferenceSummaryViewModel>;
|
|
802
|
+
inspectCatalogStore?: (signal: AbortSignal) => Promise<CatalogStoreStatusResult>;
|
|
399
803
|
captureEvidence: (intent: OperationIntent, signal?: AbortSignal) => Promise<OperationEvidence>;
|
|
804
|
+
recheckPortableInstall?: (receipt: PortableInstallReceipt, signal: AbortSignal) => Promise<PortableInstallReceipt>;
|
|
400
805
|
validateIntent?: (intent: OperationIntent, signal: AbortSignal) => Promise<void>;
|
|
401
806
|
prepareReviewEvidence?: (intent: OperationIntent, signal: AbortSignal, onStage: (stage: ReviewPreparationStageId) => void | Promise<void>, reusableCandidate?: CatalogSessionReusableCandidate) => Promise<OperationEvidence>;
|
|
402
807
|
previewDependencyPlacement?: (intent: Extract<OperationIntent, {
|
|
403
808
|
kind: 'pluginWrite';
|
|
404
809
|
}>, signal: AbortSignal) => Promise<ReconcileOperationPlan | undefined>;
|
|
405
810
|
executeIntent: (intent: OperationIntent, expectedEvidence: OperationEvidence, signal?: AbortSignal) => Promise<unknown>;
|
|
406
|
-
getConfigGroups?: (pluginId: string,
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
}, signal: AbortSignal) => Promise<ConfigPageViewModel>;
|
|
412
|
-
getConfigResetAvailability?: (pluginId: string, layer: {
|
|
413
|
-
scope: Scope;
|
|
414
|
-
}, signal: AbortSignal) => Promise<ConfigResetAvailability>;
|
|
811
|
+
getConfigGroups?: (pluginId: string, options: ConfigReadOptions, signal: AbortSignal) => Promise<ConfigGroupViewModel[]>;
|
|
812
|
+
getConfigPage?: (pluginId: string, options: ConfigReadOptions, signal: AbortSignal) => Promise<ConfigPageViewModel>;
|
|
813
|
+
getConfigReferenceContext?: (pluginId: string, options: ConfigProfileOptions, draft: ConfigReferenceDraft, signal: AbortSignal) => Promise<ConfigReferenceContext>;
|
|
814
|
+
getConfigSuggestions?: (lookup: ConfigSuggestionLookup, run: (prepared: Pick<PreparedConfigSuggestions, 'kind' | 'hint' | 'sharedCacheKey' | 'hintCacheKey' | 'project' | 'run'>) => Promise<ConfigSuggestionsResponseV2>, signal: AbortSignal) => Promise<ConfigSuggestionsResponseV2>;
|
|
815
|
+
getConfigResetAvailability?: (pluginId: string, options: ConfigProfileOptions, signal: AbortSignal) => Promise<ConfigResetAvailability>;
|
|
415
816
|
logError?: (error: unknown, code: string, context?: {
|
|
416
817
|
privateConfigOperation: boolean;
|
|
417
818
|
}) => void | Promise<void>;
|
|
@@ -430,8 +831,15 @@ export interface ConfigResetAvailability {
|
|
|
430
831
|
sourceIdentity?: string;
|
|
431
832
|
storeDigest?: string;
|
|
432
833
|
}
|
|
834
|
+
export interface ForceCleanupCandidate {
|
|
835
|
+
pluginId: string;
|
|
836
|
+
platform: PlatformName;
|
|
837
|
+
scope: Scope;
|
|
838
|
+
actionCount: number;
|
|
839
|
+
}
|
|
433
840
|
export interface TuiControllerSnapshot {
|
|
434
841
|
phase: 'idle' | 'loading' | 'ready' | 'error' | 'disposed';
|
|
842
|
+
statusReadAtMs?: number;
|
|
435
843
|
cliChannel?: 'latest' | 'beta';
|
|
436
844
|
router: TuiRouterSnapshot;
|
|
437
845
|
viewModel?: TuiViewModel;
|
|
@@ -444,6 +852,9 @@ export interface TuiControllerSnapshot {
|
|
|
444
852
|
activeReview?: OperationReviewModel;
|
|
445
853
|
reviewPreparation?: ReviewPreparationSnapshot;
|
|
446
854
|
result?: OperationExecuteResult;
|
|
855
|
+
canResumeInstallDraft?: boolean;
|
|
856
|
+
operationHistorySummaries: OperationHistorySummary[];
|
|
857
|
+
portableResultSkills?: string[];
|
|
447
858
|
loadError?: {
|
|
448
859
|
code: string;
|
|
449
860
|
message: string;
|
|
@@ -454,16 +865,34 @@ export interface TuiControllerSnapshot {
|
|
|
454
865
|
scope: Scope;
|
|
455
866
|
};
|
|
456
867
|
installPlacementDraft?: InstallPlacementDraftViewModel;
|
|
868
|
+
completionNotice?: {
|
|
869
|
+
pluginId: string;
|
|
870
|
+
title: string;
|
|
871
|
+
description: string;
|
|
872
|
+
operationRecordId?: string;
|
|
873
|
+
};
|
|
874
|
+
projectRoot?: string;
|
|
875
|
+
scopedInventories: Partial<Record<Scope, ScopedInventoryViewModel>>;
|
|
876
|
+
scopedInventoryRefresh: Partial<Record<Scope, {
|
|
877
|
+
state: 'idle' | 'checking' | 'error';
|
|
878
|
+
errorCode?: string;
|
|
879
|
+
}>>;
|
|
457
880
|
}
|
|
458
881
|
export declare class TuiOperationBlockedError extends Error {
|
|
459
882
|
readonly code: string;
|
|
460
|
-
|
|
883
|
+
readonly diagnostics?: SafeOperationDiagnostic[];
|
|
884
|
+
constructor(code: string, message: string, diagnostics?: readonly SafeOperationDiagnostic[]);
|
|
461
885
|
}
|
|
886
|
+
/** Classify the original error, before any generic operation-error wrapping. */
|
|
887
|
+
export declare function configSaveFailureDetail(error: unknown): ConfigSaveFailureDetail | undefined;
|
|
462
888
|
export declare class TuiConfigInvalidStoreError extends Error {
|
|
463
889
|
readonly code = "invalidConfigStores";
|
|
464
890
|
readonly evidence: ConfigInvalidStoreEvidence[];
|
|
465
891
|
constructor(evidence: ConfigInvalidStoreEvidence[]);
|
|
466
892
|
}
|
|
893
|
+
export declare function pluginWriteBatchFailedRequestedTargets(execution: PluginWriteBatchExecutionResult): PluginWriteBatchTarget[];
|
|
894
|
+
export declare function pluginWriteBatchFailedRequestedPluginIds(execution: PluginWriteBatchExecutionResult): string[];
|
|
895
|
+
export declare function pluginWriteTaskFailedRequestedTargets(execution: PluginWriteTaskExecutionResult): PluginWriteTaskTarget[];
|
|
467
896
|
export declare function operationEvidenceFingerprint(evidence: OperationEvidence): string;
|
|
468
897
|
export declare function operationEvidenceMatches(expected: OperationEvidence, current: OperationEvidence): boolean;
|
|
469
898
|
export declare function userIssueKey(issue: Pick<UserIssueViewModel, 'category' | 'pluginId' | 'dependencyPluginId' | 'dependencyPlatform' | 'dependencyScope' | 'dependencyProject' | 'sourceId' | 'sourceIdentity' | 'platform' | 'scope'>): string;
|
|
@@ -477,38 +906,80 @@ export declare class TuiController {
|
|
|
477
906
|
constructor(dependencies: TuiControllerDependencies, progressFeed?: RebuildProgressFeed);
|
|
478
907
|
get snapshot(): TuiControllerSnapshot;
|
|
479
908
|
subscribe(listener: (snapshot: TuiControllerSnapshot) => void): () => void;
|
|
909
|
+
get hasActiveWrite(): boolean;
|
|
910
|
+
get retiring(): boolean;
|
|
911
|
+
get hasSessionDraft(): boolean;
|
|
912
|
+
get externalDrafts(): ExternalDraftState[];
|
|
913
|
+
attachOperationHistory(history: OperationHistoryStore, epoch: number): void;
|
|
914
|
+
listOperationHistory(): OperationHistorySummary[];
|
|
915
|
+
getOperationDiagnostic(recordId: string): OperationDiagnosticDetail | undefined;
|
|
916
|
+
previewOperationReport(recordId: string): OperationReportPreview | undefined;
|
|
917
|
+
saveOperationReport(recordId: string, filePath?: string): Promise<SaveOperationReportResult>;
|
|
918
|
+
/** @internal Test-only observability for bounded private diagnostic ownership. */
|
|
919
|
+
operationDiagnosticRetentionCountForTests(): number;
|
|
920
|
+
recordUiFailure(error: unknown, context: {
|
|
921
|
+
code: string;
|
|
922
|
+
stage: string;
|
|
923
|
+
}): string;
|
|
924
|
+
beginRetirement(): void;
|
|
925
|
+
waitForWrites(): Promise<void>;
|
|
926
|
+
cancelAndWaitForReads(): Promise<boolean>;
|
|
927
|
+
goHome(options?: {
|
|
928
|
+
discardDrafts?: boolean;
|
|
929
|
+
}): boolean;
|
|
480
930
|
load(): Promise<void>;
|
|
931
|
+
listScopedInventoryRoots(scope: Scope, section?: 'declared' | 'extraInstalled'): InventoryRoot[];
|
|
932
|
+
refreshScopedInventory(scope: Scope): Promise<boolean>;
|
|
933
|
+
prepareScopedTask(request: Parameters<NonNullable<TuiControllerDependencies['prepareScopedTask']>>[0]): Promise<ScopedTuiPlan>;
|
|
934
|
+
readAgentSettings(): Promise<import('./agent-settings.js').AgentSettings>;
|
|
935
|
+
previewAgentSettings(preferences: import('../intent/deployment-preferences.js').DeploymentPreferences, pluginId?: string): Promise<import('./agent-settings.js').AgentSettingsPreview>;
|
|
936
|
+
saveAgentSettings(request: Parameters<typeof import('./agent-settings.js').saveAgentSettings>[1]): Promise<import('./agent-settings.js').AgentSettings>;
|
|
937
|
+
cancelScopedPreparation(): void;
|
|
938
|
+
discardScopedPlan(plan: ScopedTuiPlan): Promise<void>;
|
|
939
|
+
executeScopedTask(plan: ScopedTuiPlan): ReturnType<NonNullable<TuiControllerDependencies['executeScopedTask']>>;
|
|
481
940
|
push(route: TuiRoute, context?: TuiPageContext): void;
|
|
482
941
|
hasPortableSkills(pluginId: string): boolean;
|
|
483
942
|
preparePortableInstall(pluginId: string, navigation?: 'push' | 'replace'): Promise<PortableSkillSelectionViewModel>;
|
|
484
943
|
refreshPortableInstallDraft(pluginId: string): Promise<PortableSkillSelectionViewModel>;
|
|
485
944
|
togglePortableSkill(name: string): void;
|
|
486
945
|
selectAllPortableSkills(): void;
|
|
946
|
+
clearPortableSkills(): void;
|
|
487
947
|
setPortableAgentMode(mode: 'automatic' | 'explicit', requestedAgents?: string[]): void;
|
|
488
948
|
setPortableScope(scope: Scope): void;
|
|
489
949
|
buildPortableInstallReview(): Promise<OperationReviewModel>;
|
|
490
950
|
startPortableInstallReviewPreparation(): ReviewPreparationSnapshot;
|
|
951
|
+
recheckPortableResult(): Promise<PortableInstallReceipt>;
|
|
952
|
+
startPortableRetryReviewPreparation(): ReviewPreparationSnapshot;
|
|
491
953
|
discardPortableDraft(): void;
|
|
492
954
|
replace(route: TuiRoute, context?: TuiPageContext): void;
|
|
493
|
-
beginConfigFlow(pluginId: string): void;
|
|
955
|
+
beginConfigFlow(pluginId: string, options?: ConfigProfileOptions): void;
|
|
956
|
+
beginGuidedConfig(pluginId: string, layer: ConfigRouteLayer): string;
|
|
957
|
+
finishGuidedConfig(flowId: string): void;
|
|
958
|
+
beginConfigReferenceSource(pluginId: string, fieldKey: string): void;
|
|
959
|
+
beginSavedConfigRecovery(pluginId: string): void;
|
|
960
|
+
beginConfigSourceRecovery(sourceId: string): void;
|
|
961
|
+
getForceCleanupCandidate(pluginId: string, platform: PlatformName, scope: Scope): Promise<ForceCleanupCandidate | undefined>;
|
|
962
|
+
startForceCleanupReview(candidate: ForceCleanupCandidate): Promise<ScopedTuiPlan>;
|
|
494
963
|
configOrigin(pluginId: string): TuiRoute | undefined;
|
|
495
964
|
updatePageContext(context: Partial<TuiPageContext>): void;
|
|
965
|
+
returnToConfigOverview(flowId: string | undefined, overviewFrameId: string | undefined, pluginId: string, context?: TuiPageContext): boolean;
|
|
966
|
+
configOverviewFrameId(flowId: string | undefined, pluginId: string): string | undefined;
|
|
496
967
|
back(): void;
|
|
497
968
|
discardSourceDraft(owner: string, returnRoute: Extract<TuiRoute, {
|
|
498
969
|
name: 'sourceList' | 'sourceDetail';
|
|
499
970
|
}>): void;
|
|
500
971
|
leaveResult(target?: TuiRoute): void;
|
|
972
|
+
resumeResultDraft(): void;
|
|
501
973
|
resetPortableFlowToPreview(pluginId: string, target?: TuiRoute, preserveDraft?: boolean): void;
|
|
502
|
-
beginInstallFlow(pluginId: string, rootScope: Scope
|
|
503
|
-
adjustingExisting?: boolean;
|
|
504
|
-
}): void;
|
|
974
|
+
beginInstallFlow(pluginId: string, rootScope: Scope): void;
|
|
505
975
|
setInstallRootScope(rootScope: Scope): void;
|
|
506
976
|
setInstallPlatforms(platforms: PlatformName[]): void;
|
|
977
|
+
setInstallRootTargets(targets: PluginWriteBatchTarget[]): void;
|
|
507
978
|
prepareInstallDependencyPlacement(): Promise<boolean>;
|
|
508
979
|
setDependencyScope(pluginId: string, platform: PlatformName, scope: Scope): Promise<void>;
|
|
509
980
|
resetDependencyScopes(): Promise<void>;
|
|
510
981
|
installPlacementIntent(): Extract<OperationIntent, {
|
|
511
|
-
kind: 'pluginWrite';
|
|
982
|
+
kind: 'pluginWrite' | 'pluginWriteBatch';
|
|
512
983
|
}>;
|
|
513
984
|
listPlugins(options: {
|
|
514
985
|
mode: 'browse' | 'installed';
|
|
@@ -517,41 +988,73 @@ export declare class TuiController {
|
|
|
517
988
|
installFilter?: PluginInstallFilter;
|
|
518
989
|
}): PluginListItemViewModel[];
|
|
519
990
|
getPluginOverview(pluginId: string): PluginListItemViewModel | undefined;
|
|
991
|
+
getPluginDetailSubject(pluginId: string): PluginDetailSubject | undefined;
|
|
992
|
+
getPluginContentOverview(pluginId: string): PluginContentOverview | undefined;
|
|
993
|
+
getPluginContentState(pluginId: string): 'idle' | 'loading' | 'ready';
|
|
994
|
+
loadPluginContent(pluginId: string): Promise<void>;
|
|
995
|
+
getPluginSourceIdentity(pluginId: string): string | undefined;
|
|
996
|
+
listCurrentProjectIntentRoots(): string[];
|
|
997
|
+
listPluginWriteBatchTargets(action: Exclude<BatchPluginWriteAction, 'install'>, pluginIds: readonly string[]): PluginWriteBatchTarget[];
|
|
998
|
+
listPluginInstallBatchTargets(pluginIds: readonly string[], platform: PlatformName | 'both', scope: Scope): PluginInstallBatchTarget[];
|
|
999
|
+
pluginHasInstallableTarget(pluginId: string): boolean;
|
|
520
1000
|
getPluginDependencyOverview(pluginId: string): PluginDependencyOverviewViewModel | undefined;
|
|
1001
|
+
listPluginDependencyOverviews(): PluginDependencyOverviewViewModel[];
|
|
521
1002
|
getBlockingDependents(pluginId: string, platform: PlatformName, scope: Scope): PluginDependencyOverviewViewModel['dependents'];
|
|
522
1003
|
getPlatformPlacement(pluginId: string, platform: PlatformName): PluginListItemViewModel['installedPlacements'][number] | undefined;
|
|
523
1004
|
listInstallTargets(pluginId: string, scope: Scope): InstallTargetOption[];
|
|
524
|
-
getTargetState(pluginId: string, platform: PlatformName, scope: Scope):
|
|
1005
|
+
getTargetState(pluginId: string, platform: PlatformName, scope: Scope): StatusV8Payload['targets'][number]['state'] | undefined;
|
|
525
1006
|
listSources(): TuiViewModel['sourceTabs'];
|
|
526
1007
|
getSourceOverview(sourceId: string): {
|
|
527
1008
|
source?: TuiViewModel['sourceTabs'][number];
|
|
528
1009
|
detail?: SourceDetailViewModel;
|
|
529
1010
|
health?: SourceHealthViewModel;
|
|
530
1011
|
};
|
|
1012
|
+
getConfiguredSource(sourceId: string): CatalogSource | undefined;
|
|
531
1013
|
getCatalogGeneration(sourceId: string): CatalogSourceGenerationViewModel | undefined;
|
|
532
1014
|
getCatalogFreshness(sourceId: string): CatalogSourceFreshnessViewModel | undefined;
|
|
533
1015
|
recheckCatalogSource(sourceId: string): Promise<void>;
|
|
1016
|
+
recheckAllCatalogSources(): Promise<void>;
|
|
534
1017
|
fullValidateCatalogSource(sourceId: string): Promise<void>;
|
|
535
|
-
setExternalDraftState(
|
|
1018
|
+
setExternalDraftState(states?: ExternalDraftState[]): void;
|
|
1019
|
+
beginPluginWriteBatch(): void;
|
|
1020
|
+
startPluginWriteBatchReview(intent: PluginWriteBatchIntent): ReviewPreparationSnapshot;
|
|
1021
|
+
startPluginWriteTaskReview(intent: PluginWriteTaskIntent, returnRoute?: TuiRoute): ReviewPreparationSnapshot;
|
|
1022
|
+
beginNestedPluginWriteTask(route: Extract<TuiRoute, {
|
|
1023
|
+
name: 'pluginWriteTask';
|
|
1024
|
+
}>): void;
|
|
1025
|
+
pluginWriteTaskReturnRoute(route: Extract<TuiRoute, {
|
|
1026
|
+
name: 'pluginWriteTask';
|
|
1027
|
+
}>): TuiRoute;
|
|
1028
|
+
returnToPluginWriteTaskBatchSelection(flowId: string): boolean;
|
|
1029
|
+
retryFailedPluginWriteBatch(): ReviewPreparationSnapshot | undefined;
|
|
1030
|
+
retryFailedPluginWriteTask(): ReviewPreparationSnapshot | undefined;
|
|
536
1031
|
catalogActivationBlockReason(): CatalogActivationBlockReason | undefined;
|
|
1032
|
+
catalogSourceRecoveryBlockReason(intent?: Extract<OperationIntent, {
|
|
1033
|
+
kind: 'catalogGeneration';
|
|
1034
|
+
}>): CatalogActivationBlockReason | undefined;
|
|
537
1035
|
getSessionCatalogVersion(sourceId: string): string | undefined;
|
|
538
1036
|
reloadCatalog(options: {
|
|
539
1037
|
sourceId: string;
|
|
540
1038
|
}): Promise<boolean>;
|
|
541
1039
|
inspectSourceRemoval(sourceId: string): Promise<SourceReferenceSummaryViewModel>;
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
1040
|
+
inspectCatalogStore(): Promise<CatalogStoreStatusResult>;
|
|
1041
|
+
getConfigGroups(pluginId: string, options: ConfigReadOptions): Promise<ConfigGroupViewModel[]>;
|
|
1042
|
+
getConfigPage(pluginId: string, options: ConfigReadOptions, signal?: AbortSignal): Promise<ConfigPageViewModel>;
|
|
1043
|
+
getConfigReferenceContext(pluginId: string, options: ConfigProfileOptions, draft: ConfigReferenceDraft, signal?: AbortSignal): Promise<ConfigReferenceContext>;
|
|
1044
|
+
getConfigSuggestions(lookup: ConfigSuggestionLookup, refresh: boolean, signal: AbortSignal): Promise<ConfigSuggestionsResponseV2>;
|
|
1045
|
+
saveConfigDraft(request: Extract<OperationIntent, {
|
|
1046
|
+
kind: 'configSave' | 'configSaveBatch';
|
|
1047
|
+
}>, signal?: AbortSignal): Promise<ConfigDraftSaveResult>;
|
|
1048
|
+
previewConfigSaveImpact(intent: Extract<OperationIntent, {
|
|
1049
|
+
kind: 'configSave';
|
|
1050
|
+
}>, signal?: AbortSignal): Promise<NonNullable<OperationEvidence['config']>>;
|
|
1051
|
+
getConfigResetAvailability(pluginId: string, options: ConfigProfileOptions): Promise<ConfigResetAvailability>;
|
|
551
1052
|
listUserIssues(): UserIssueViewModel[];
|
|
1053
|
+
listPluginWriteTaskCandidates(goal: PluginWriteTaskGoal): PluginWriteTaskCandidate[];
|
|
552
1054
|
buildOperationReview(intent: OperationIntent, returnRoute?: TuiRoute): Promise<OperationReviewModel>;
|
|
553
1055
|
startReviewPreparation(intent: OperationIntent, returnRoute?: TuiRoute): ReviewPreparationSnapshot;
|
|
554
1056
|
retryReviewPreparation(): ReviewPreparationSnapshot | undefined;
|
|
555
1057
|
executeOperation(reviewToken: string): Promise<OperationExecuteResult>;
|
|
556
1058
|
dispose(): void;
|
|
557
1059
|
}
|
|
1060
|
+
export declare function configApplyHasCompletedWork(apply: ConfigApplyResult | undefined): boolean;
|