@lesliechan721/aw 0.1.0-beta.6 → 0.1.0-beta.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authoring/assets/aw-config.mjs +100 -501
- package/dist/authoring/assets/aw-config.mjs.map +1 -1
- package/dist/authoring/assets/aw-runtime-config.d.mts +13 -0
- package/dist/authoring/assets/aw-runtime-config.mjs +199 -0
- package/dist/authoring/assets/aw-runtime-config.mjs.map +1 -0
- package/dist/authoring/scripts/add-skill.mjs +4 -4
- package/dist/authoring/scripts/add-skill.mjs.map +1 -1
- package/dist/authoring/scripts/init-plugin.mjs +67 -97
- 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 +229 -8
- package/dist/authoring/scripts/lib/plugin-version-check.mjs.map +1 -1
- package/dist/authoring/scripts/lib/skill-scaffold.d.mts +77 -92
- package/dist/authoring/scripts/lib/skill-scaffold.mjs +99 -124
- package/dist/authoring/scripts/lib/skill-scaffold.mjs.map +1 -1
- package/dist/authoring/scripts/plugin-status.mjs +8 -11
- package/dist/authoring/scripts/plugin-status.mjs.map +1 -1
- package/dist/authoring/scripts/remove-plugin.mjs +3 -2
- package/dist/authoring/scripts/remove-plugin.mjs.map +1 -1
- package/dist/authoring/scripts/validate-plugin.mjs +552 -1142
- package/dist/authoring/scripts/validate-plugin.mjs.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 +26 -0
- package/dist/scripts/aw-skill-eval-materializer.js +306 -0
- package/dist/scripts/aw-skill-eval-materializer.js.map +1 -0
- package/dist/scripts/bundle-plugins.d.ts +1 -0
- package/dist/scripts/bundle-plugins.js +19 -8
- package/dist/scripts/bundle-plugins.js.map +1 -1
- package/dist/scripts/plugin-staging.d.ts +7 -9
- package/dist/scripts/plugin-staging.js +18 -29
- package/dist/scripts/plugin-staging.js.map +1 -1
- package/dist/scripts/plugin-test-reporter.d.mts +2 -0
- package/dist/scripts/plugin-test-reporter.mjs +21 -0
- package/dist/scripts/plugin-test-reporter.mjs.map +1 -0
- package/dist/scripts/test-plugin-scripts.d.ts +5 -0
- package/dist/scripts/test-plugin-scripts.js +208 -89
- 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 +2 -2
- package/dist/src/adapters/helpers.js.map +1 -1
- package/dist/src/authoring/workspace-commands.d.ts +19 -1
- package/dist/src/authoring/workspace-commands.js +24 -5
- package/dist/src/authoring/workspace-commands.js.map +1 -1
- package/dist/src/commands/aw-capabilities.d.ts +78 -0
- package/dist/src/commands/aw-capabilities.js +266 -0
- package/dist/src/commands/aw-capabilities.js.map +1 -0
- package/dist/src/commands/catalog-dev-source.d.ts +154 -0
- package/dist/src/commands/catalog-dev-source.js +655 -0
- package/dist/src/commands/catalog-dev-source.js.map +1 -0
- package/dist/src/commands/catalog-generation.d.ts +21 -0
- package/dist/src/commands/catalog-generation.js +9 -0
- package/dist/src/commands/catalog-generation.js.map +1 -0
- package/dist/src/commands/catalog-publication-inspection.d.ts +71 -30
- package/dist/src/commands/catalog-publication-inspection.js +475 -63
- package/dist/src/commands/catalog-publication-inspection.js.map +1 -1
- package/dist/src/commands/catalog-publication-journal.d.ts +68 -0
- package/dist/src/commands/catalog-publication-journal.js +292 -0
- package/dist/src/commands/catalog-publication-journal.js.map +1 -0
- package/dist/src/commands/catalog-publication-target.d.ts +18 -0
- package/dist/src/commands/catalog-publication-target.js +95 -0
- package/dist/src/commands/catalog-publication-target.js.map +1 -0
- package/dist/src/commands/catalog-publish.d.ts +73 -15
- package/dist/src/commands/catalog-publish.js +701 -212
- package/dist/src/commands/catalog-publish.js.map +1 -1
- package/dist/src/commands/catalog-source.d.ts +60 -22
- package/dist/src/commands/catalog-source.js +311 -91
- package/dist/src/commands/catalog-source.js.map +1 -1
- package/dist/src/commands/catalog-status.d.ts +18 -22
- package/dist/src/commands/catalog-status.js +81 -115
- package/dist/src/commands/catalog-status.js.map +1 -1
- package/dist/src/commands/catalog-store.d.ts +104 -0
- package/dist/src/commands/catalog-store.js +685 -0
- package/dist/src/commands/catalog-store.js.map +1 -0
- package/dist/src/commands/catalog-workspace-resolution.d.ts +13 -0
- package/dist/src/commands/catalog-workspace-resolution.js +42 -0
- package/dist/src/commands/catalog-workspace-resolution.js.map +1 -0
- package/dist/src/commands/console.js +28 -17
- package/dist/src/commands/console.js.map +1 -1
- package/dist/src/commands/dependency-operation-plan.d.ts +52 -15
- package/dist/src/commands/dependency-operation-plan.js +289 -7
- package/dist/src/commands/dependency-operation-plan.js.map +1 -1
- package/dist/src/commands/init.d.ts +5 -11
- package/dist/src/commands/init.js +30 -51
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/managed-commands.d.ts +28 -0
- package/dist/src/commands/managed-commands.js +315 -0
- package/dist/src/commands/managed-commands.js.map +1 -0
- package/dist/src/commands/offline-cleanup-evidence.d.ts +67 -0
- package/dist/src/commands/offline-cleanup-evidence.js +181 -0
- package/dist/src/commands/offline-cleanup-evidence.js.map +1 -0
- package/dist/src/commands/operation-plan.d.ts +182 -0
- package/dist/src/commands/operation-plan.js +71 -0
- package/dist/src/commands/operation-plan.js.map +1 -0
- package/dist/src/commands/operation-planner.d.ts +47 -0
- package/dist/src/commands/operation-planner.js +142 -0
- package/dist/src/commands/operation-planner.js.map +1 -0
- package/dist/src/commands/options.d.ts +9 -7
- package/dist/src/commands/options.js +83 -21
- package/dist/src/commands/options.js.map +1 -1
- package/dist/src/commands/plugin-capabilities.js +65 -4
- package/dist/src/commands/plugin-capabilities.js.map +1 -1
- package/dist/src/commands/rebuild-command.d.ts +78 -31
- package/dist/src/commands/rebuild-command.js +5229 -942
- package/dist/src/commands/rebuild-command.js.map +1 -1
- package/dist/src/commands/rebuild-integration.d.ts +143 -21
- package/dist/src/commands/rebuild-integration.js +3384 -1342
- package/dist/src/commands/rebuild-integration.js.map +1 -1
- package/dist/src/commands/rebuild-operations.d.ts +60 -30
- package/dist/src/commands/rebuild-operations.js +267 -320
- package/dist/src/commands/rebuild-operations.js.map +1 -1
- package/dist/src/commands/reconcile-operation-plan.d.ts +28 -0
- package/dist/src/commands/reconcile-operation-plan.js +47 -0
- package/dist/src/commands/reconcile-operation-plan.js.map +1 -0
- package/dist/src/commands/review-inspection.d.ts +60 -0
- package/dist/src/commands/review-inspection.js +422 -0
- package/dist/src/commands/review-inspection.js.map +1 -0
- package/dist/src/commands/review-preparation.d.ts +49 -0
- package/dist/src/commands/review-preparation.js +427 -0
- package/dist/src/commands/review-preparation.js.map +1 -0
- package/dist/src/commands/runtime.d.ts +1 -5
- package/dist/src/commands/runtime.js +27 -53
- package/dist/src/commands/runtime.js.map +1 -1
- package/dist/src/commands/skill-eval.d.ts +39 -0
- package/dist/src/commands/skill-eval.js +400 -0
- package/dist/src/commands/skill-eval.js.map +1 -0
- package/dist/src/commands/status-v6.d.ts +279 -0
- package/dist/src/commands/status-v6.js +2785 -0
- package/dist/src/commands/status-v6.js.map +1 -0
- package/dist/src/commands/sync-command.d.ts +40 -0
- package/dist/src/commands/sync-command.js +254 -0
- package/dist/src/commands/sync-command.js.map +1 -0
- package/dist/src/commands/wizard.d.ts +8 -5
- package/dist/src/commands/wizard.js +6 -4
- package/dist/src/commands/wizard.js.map +1 -1
- package/dist/src/commands/write-commands.d.ts +9 -3
- package/dist/src/commands/write-commands.js +136 -31
- package/dist/src/commands/write-commands.js.map +1 -1
- package/dist/src/constants.d.ts +7 -2
- package/dist/src/constants.js +7 -2
- package/dist/src/constants.js.map +1 -1
- package/dist/src/eval/manifest-v1.d.ts +68 -0
- package/dist/src/eval/manifest-v1.js +353 -0
- package/dist/src/eval/manifest-v1.js.map +1 -0
- package/dist/src/generators/local-plugin.d.ts +5 -1
- package/dist/src/generators/local-plugin.js +263 -109
- package/dist/src/generators/local-plugin.js.map +1 -1
- package/dist/src/generators/permissions.d.ts +5 -2
- package/dist/src/generators/permissions.js +28 -15
- package/dist/src/generators/permissions.js.map +1 -1
- package/dist/src/index.d.ts +10 -4
- package/dist/src/index.js +1774 -609
- package/dist/src/index.js.map +1 -1
- package/dist/src/output/command-receipt.d.ts +47 -46
- package/dist/src/output/command-receipt.js +277 -79
- package/dist/src/output/command-receipt.js.map +1 -1
- package/dist/src/output/model.d.ts +3 -44
- package/dist/src/output/model.js +1 -144
- package/dist/src/output/model.js.map +1 -1
- package/dist/src/output/rebuild-progress.js +15 -13
- package/dist/src/output/rebuild-progress.js.map +1 -1
- package/dist/src/portable/commands.d.ts +46 -7
- package/dist/src/portable/commands.js +349 -37
- package/dist/src/portable/commands.js.map +1 -1
- package/dist/src/portable/materializer.d.ts +17 -4
- package/dist/src/portable/materializer.js +186 -41
- package/dist/src/portable/materializer.js.map +1 -1
- package/dist/src/portable/skills-cli.d.ts +15 -7
- package/dist/src/portable/skills-cli.js +74 -20
- package/dist/src/portable/skills-cli.js.map +1 -1
- package/dist/src/review/eval-source-input.d.ts +43 -0
- package/dist/src/review/eval-source-input.js +207 -0
- package/dist/src/review/eval-source-input.js.map +1 -0
- package/dist/src/review/review-profile.d.ts +17 -0
- package/dist/src/review/review-profile.js +234 -0
- package/dist/src/review/review-profile.js.map +1 -0
- package/dist/src/review/review-selection.d.ts +30 -0
- package/dist/src/review/review-selection.js +527 -0
- package/dist/src/review/review-selection.js.map +1 -0
- package/dist/src/review/review-types.d.ts +68 -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 +26 -0
- package/dist/src/review/skill-materialization.js +217 -0
- package/dist/src/review/skill-materialization.js.map +1 -0
- package/dist/src/review/source-binding.d.ts +183 -0
- package/dist/src/review/source-binding.js +708 -0
- package/dist/src/review/source-binding.js.map +1 -0
- package/dist/src/tui/catalog-freshness.d.ts +1 -0
- package/dist/src/tui/catalog-freshness.js +2 -0
- package/dist/src/tui/catalog-freshness.js.map +1 -0
- package/dist/src/tui/catalog-generation.d.ts +21 -0
- package/dist/src/tui/catalog-generation.js +156 -0
- package/dist/src/tui/catalog-generation.js.map +1 -0
- package/dist/src/tui/catalog-sources/projection.d.ts +4 -0
- package/dist/src/tui/catalog-sources/projection.js +17 -0
- package/dist/src/tui/catalog-sources/projection.js.map +1 -0
- package/dist/src/tui/catalog-sources/review.d.ts +3 -0
- package/dist/src/tui/catalog-sources/review.js +13 -0
- package/dist/src/tui/catalog-sources/review.js.map +1 -0
- package/dist/src/tui/catalog-sources/screens.d.ts +12 -0
- package/dist/src/tui/catalog-sources/screens.js +40 -0
- package/dist/src/tui/catalog-sources/screens.js.map +1 -0
- package/dist/src/tui/catalog-sources/session.d.ts +32 -0
- package/dist/src/tui/catalog-sources/session.js +300 -0
- package/dist/src/tui/catalog-sources/session.js.map +1 -0
- package/dist/src/tui/catalog-sources/types.d.ts +54 -0
- package/dist/src/tui/catalog-sources/types.js +2 -0
- package/dist/src/tui/catalog-sources/types.js.map +1 -0
- package/dist/src/tui/catalog-store-task.d.ts +16 -0
- package/dist/src/tui/catalog-store-task.js +19 -0
- package/dist/src/tui/catalog-store-task.js.map +1 -0
- package/dist/src/tui/clipboard.d.ts +13 -0
- package/dist/src/tui/clipboard.js +95 -0
- package/dist/src/tui/clipboard.js.map +1 -0
- package/dist/src/tui/components.d.ts +110 -3
- package/dist/src/tui/components.js +183 -36
- package/dist/src/tui/components.js.map +1 -1
- package/dist/src/tui/config-array-draft.d.ts +29 -0
- package/dist/src/tui/config-array-draft.js +48 -0
- package/dist/src/tui/config-array-draft.js.map +1 -0
- package/dist/src/tui/config-leaf-editor.d.ts +19 -0
- package/dist/src/tui/config-leaf-editor.js +212 -0
- package/dist/src/tui/config-leaf-editor.js.map +1 -0
- package/dist/src/tui/config-references.d.ts +34 -0
- package/dist/src/tui/config-references.js +70 -0
- package/dist/src/tui/config-references.js.map +1 -0
- package/dist/src/tui/config-value-presentation.d.ts +20 -0
- package/dist/src/tui/config-value-presentation.js +104 -0
- package/dist/src/tui/config-value-presentation.js.map +1 -0
- package/dist/src/tui/console-app-v4.d.ts +14 -4
- package/dist/src/tui/console-app-v4.js +9205 -1951
- 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 +10 -2
- package/dist/src/tui/controller-runtime.js +3289 -388
- package/dist/src/tui/controller-runtime.js.map +1 -1
- package/dist/src/tui/controller.d.ts +622 -45
- package/dist/src/tui/controller.js +3589 -768
- 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/diagnostic-projection.d.ts +23 -0
- package/dist/src/tui/diagnostic-projection.js +595 -0
- package/dist/src/tui/diagnostic-projection.js.map +1 -0
- package/dist/src/tui/diagnostics.d.ts +3 -3
- package/dist/src/tui/diagnostics.js +14 -2
- package/dist/src/tui/diagnostics.js.map +1 -1
- package/dist/src/tui/entity-cards.d.ts +55 -0
- package/dist/src/tui/entity-cards.js +220 -0
- package/dist/src/tui/entity-cards.js.map +1 -0
- package/dist/src/tui/glossary.d.ts +23 -0
- package/dist/src/tui/glossary.js +42 -0
- package/dist/src/tui/glossary.js.map +1 -0
- package/dist/src/tui/index.d.ts +6 -1
- package/dist/src/tui/index.js +5 -1
- package/dist/src/tui/index.js.map +1 -1
- package/dist/src/tui/input-display.d.ts +9 -0
- package/dist/src/tui/input-display.js +58 -0
- package/dist/src/tui/input-display.js.map +1 -0
- 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 +224 -31
- package/dist/src/tui/model.js +1510 -397
- 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 +71 -0
- package/dist/src/tui/operation-diagnostic-screens.js.map +1 -0
- package/dist/src/tui/operation-history.d.ts +81 -0
- package/dist/src/tui/operation-history.js +136 -0
- package/dist/src/tui/operation-history.js.map +1 -0
- package/dist/src/tui/operation-review-planner.d.ts +21 -0
- package/dist/src/tui/operation-review-planner.js +1392 -0
- package/dist/src/tui/operation-review-planner.js.map +1 -0
- package/dist/src/tui/plugin-content.d.ts +31 -0
- package/dist/src/tui/plugin-content.js +680 -0
- package/dist/src/tui/plugin-content.js.map +1 -0
- package/dist/src/tui/plugin-detail.d.ts +52 -0
- package/dist/src/tui/plugin-detail.js +165 -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/project-inventory.d.ts +68 -0
- package/dist/src/tui/project-inventory.js +203 -0
- package/dist/src/tui/project-inventory.js.map +1 -0
- package/dist/src/tui/prompt.js +4 -15
- package/dist/src/tui/prompt.js.map +1 -1
- package/dist/src/tui/query-header.d.ts +30 -0
- package/dist/src/tui/query-header.js +40 -0
- package/dist/src/tui/query-header.js.map +1 -0
- package/dist/src/tui/reader.d.ts +37 -0
- package/dist/src/tui/reader.js +47 -0
- package/dist/src/tui/reader.js.map +1 -0
- package/dist/src/tui/router.d.ts +197 -10
- package/dist/src/tui/router.js +338 -50
- package/dist/src/tui/router.js.map +1 -1
- package/dist/src/tui/screen-registry.d.ts +701 -0
- package/dist/src/tui/screen-registry.js +230 -0
- package/dist/src/tui/screen-registry.js.map +1 -0
- package/dist/src/tui/session-console-app.d.ts +6 -0
- package/dist/src/tui/session-console-app.js +13 -0
- package/dist/src/tui/session-console-app.js.map +1 -0
- package/dist/src/tui/session-host.d.ts +45 -0
- package/dist/src/tui/session-host.js +209 -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/source-ref-presets.d.ts +3 -0
- package/dist/src/tui/source-ref-presets.js +11 -0
- package/dist/src/tui/source-ref-presets.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/views.js +31 -3
- package/dist/src/tui/views.js.map +1 -1
- package/dist/src/tui/wizard.js +37 -13
- package/dist/src/tui/wizard.js.map +1 -1
- package/dist/src/types.d.ts +264 -21
- package/dist/src/types.js +1 -0
- package/dist/src/types.js.map +1 -1
- package/dist/src/utils/agent-version.d.ts +7 -1
- package/dist/src/utils/agent-version.js +36 -7
- package/dist/src/utils/agent-version.js.map +1 -1
- package/dist/src/utils/artifact-plan.d.ts +8 -6
- package/dist/src/utils/artifact-plan.js +67 -13
- package/dist/src/utils/artifact-plan.js.map +1 -1
- package/dist/src/utils/artifact-renderer.d.ts +24 -10
- package/dist/src/utils/artifact-renderer.js +230 -220
- package/dist/src/utils/artifact-renderer.js.map +1 -1
- package/dist/src/utils/artifact-request.d.ts +32 -0
- package/dist/src/utils/artifact-request.js +90 -0
- package/dist/src/utils/artifact-request.js.map +1 -0
- package/dist/src/utils/artifact-sources.d.ts +4 -0
- package/dist/src/utils/artifact-sources.js +17 -0
- 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 +32 -4
- package/dist/src/utils/aw-home-mutation-lock.js.map +1 -1
- package/dist/src/utils/bundle-integrity.d.ts +0 -1
- package/dist/src/utils/bundle-integrity.js +0 -25
- package/dist/src/utils/bundle-integrity.js.map +1 -1
- package/dist/src/utils/bundle-layout.js +29 -29
- 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 +10 -0
- package/dist/src/utils/catalog-digests.js +57 -20
- package/dist/src/utils/catalog-digests.js.map +1 -1
- package/dist/src/utils/catalog-generation-control-snapshot.d.ts +11 -0
- package/dist/src/utils/catalog-generation-control-snapshot.js +45 -0
- package/dist/src/utils/catalog-generation-control-snapshot.js.map +1 -0
- package/dist/src/utils/catalog-generation-error.d.ts +16 -0
- package/dist/src/utils/catalog-generation-error.js +30 -0
- package/dist/src/utils/catalog-generation-error.js.map +1 -0
- package/dist/src/utils/catalog-generation-resolver.d.ts +44 -0
- package/dist/src/utils/catalog-generation-resolver.js +273 -0
- package/dist/src/utils/catalog-generation-resolver.js.map +1 -0
- package/dist/src/utils/catalog-generation-service.d.ts +172 -0
- package/dist/src/utils/catalog-generation-service.js +1271 -0
- package/dist/src/utils/catalog-generation-service.js.map +1 -0
- package/dist/src/utils/catalog-generation-state.d.ts +22 -0
- package/dist/src/utils/catalog-generation-state.js +192 -0
- package/dist/src/utils/catalog-generation-state.js.map +1 -0
- package/dist/src/utils/catalog-generation-store.d.ts +58 -0
- package/dist/src/utils/catalog-generation-store.js +452 -0
- package/dist/src/utils/catalog-generation-store.js.map +1 -0
- package/dist/src/utils/catalog-manifest-v7.d.ts +5 -0
- package/dist/src/utils/{catalog-manifest-v4.js → catalog-manifest-v7.js} +35 -43
- package/dist/src/utils/catalog-manifest-v7.js.map +1 -0
- package/dist/src/utils/catalog-operation-context.d.ts +20 -0
- package/dist/src/utils/catalog-operation-context.js +142 -0
- package/dist/src/utils/catalog-operation-context.js.map +1 -0
- package/dist/src/utils/catalog-public-error.d.ts +7 -3
- package/dist/src/utils/catalog-public-error.js +28 -8
- package/dist/src/utils/catalog-public-error.js.map +1 -1
- package/dist/src/utils/catalog-runtime-projection.d.ts +3 -0
- package/dist/src/utils/catalog-runtime-projection.js +5 -40
- package/dist/src/utils/catalog-runtime-projection.js.map +1 -1
- package/dist/src/utils/catalog-snapshot.d.ts +5 -3
- package/dist/src/utils/catalog-snapshot.js +11 -3
- package/dist/src/utils/catalog-snapshot.js.map +1 -1
- package/dist/src/utils/catalog-source-identity.d.ts +1 -0
- package/dist/src/utils/catalog-source-identity.js +21 -2
- package/dist/src/utils/catalog-source-identity.js.map +1 -1
- package/dist/src/utils/catalog-source-impact.d.ts +21 -0
- package/dist/src/utils/catalog-source-impact.js +344 -0
- package/dist/src/utils/catalog-source-impact.js.map +1 -0
- package/dist/src/utils/catalog-source-references.d.ts +3 -2
- package/dist/src/utils/catalog-source-references.js +195 -347
- package/dist/src/utils/catalog-source-references.js.map +1 -1
- package/dist/src/utils/catalog-sources.d.ts +15 -1
- package/dist/src/utils/catalog-sources.js +206 -27
- package/dist/src/utils/catalog-sources.js.map +1 -1
- package/dist/src/utils/claude-skills-root.d.ts +8 -0
- package/dist/src/utils/claude-skills-root.js +76 -0
- package/dist/src/utils/claude-skills-root.js.map +1 -0
- package/dist/src/utils/codex-config.d.ts +2 -0
- package/dist/src/utils/codex-config.js +26 -5
- package/dist/src/utils/codex-config.js.map +1 -1
- package/dist/src/utils/codex-manager.d.ts +79 -0
- package/dist/src/utils/codex-manager.js +735 -0
- package/dist/src/utils/codex-manager.js.map +1 -0
- package/dist/src/utils/codex-marketplace-path.d.ts +5 -0
- package/dist/src/utils/codex-marketplace-path.js +45 -0
- package/dist/src/utils/codex-marketplace-path.js.map +1 -0
- package/dist/src/utils/codex-native-observation.d.ts +49 -0
- package/dist/src/utils/codex-native-observation.js +154 -0
- package/dist/src/utils/codex-native-observation.js.map +1 -0
- package/dist/src/utils/codex-native-render-receipt.d.ts +40 -0
- package/dist/src/utils/codex-native-render-receipt.js +205 -0
- package/dist/src/utils/codex-native-render-receipt.js.map +1 -0
- package/dist/src/utils/codex-reconciler.d.ts +126 -0
- package/dist/src/utils/codex-reconciler.js +298 -0
- package/dist/src/utils/codex-reconciler.js.map +1 -0
- package/dist/src/utils/codex-shared-native.d.ts +43 -0
- package/dist/src/utils/codex-shared-native.js +81 -0
- package/dist/src/utils/codex-shared-native.js.map +1 -0
- package/dist/src/utils/codex-skill-staging.d.ts +2 -0
- package/dist/src/utils/codex-skill-staging.js.map +1 -1
- package/dist/src/utils/codex-skills-root.d.ts +4 -0
- package/dist/src/utils/codex-skills-root.js +25 -0
- package/dist/src/utils/codex-skills-root.js.map +1 -0
- package/dist/src/utils/codex-surface-analysis.d.ts +46 -0
- package/dist/src/utils/codex-surface-analysis.js +247 -0
- package/dist/src/utils/codex-surface-analysis.js.map +1 -0
- package/dist/src/utils/dynamic-skill-tree.d.ts +5 -0
- package/dist/src/utils/dynamic-skill-tree.js +56 -7
- package/dist/src/utils/dynamic-skill-tree.js.map +1 -1
- package/dist/src/utils/git-catalog-provider.d.ts +16 -0
- package/dist/src/utils/git-catalog-provider.js +177 -145
- package/dist/src/utils/git-catalog-provider.js.map +1 -1
- package/dist/src/utils/local-marketplace.d.ts +27 -1
- package/dist/src/utils/local-marketplace.js +434 -84
- package/dist/src/utils/local-marketplace.js.map +1 -1
- package/dist/src/utils/managed-command-closure.d.ts +3 -0
- package/dist/src/utils/managed-command-closure.js +35 -0
- package/dist/src/utils/managed-command-closure.js.map +1 -0
- package/dist/src/utils/managed-command-evidence.d.ts +7 -0
- package/dist/src/utils/managed-command-evidence.js +86 -0
- package/dist/src/utils/managed-command-evidence.js.map +1 -0
- package/dist/src/utils/managed-command-materialization.d.ts +115 -0
- package/dist/src/utils/managed-command-materialization.js +359 -0
- package/dist/src/utils/managed-command-materialization.js.map +1 -0
- package/dist/src/utils/managed-command-runtime.d.ts +33 -0
- package/dist/src/utils/managed-command-runtime.js +121 -0
- package/dist/src/utils/managed-command-runtime.js.map +1 -0
- package/dist/src/utils/managed-command-store.d.ts +128 -0
- package/dist/src/utils/managed-command-store.js +589 -0
- package/dist/src/utils/managed-command-store.js.map +1 -0
- package/dist/src/utils/manifest.d.ts +1 -3
- package/dist/src/utils/manifest.js +1 -3
- package/dist/src/utils/manifest.js.map +1 -1
- package/dist/src/utils/multi-source-catalog.d.ts +3 -9
- package/dist/src/utils/multi-source-catalog.js +54 -110
- package/dist/src/utils/multi-source-catalog.js.map +1 -1
- package/dist/src/utils/native-cli.d.ts +61 -7
- package/dist/src/utils/native-cli.js +426 -58
- package/dist/src/utils/native-cli.js.map +1 -1
- package/dist/src/utils/native-tool-context.d.ts +14 -0
- package/dist/src/utils/native-tool-context.js +38 -0
- package/dist/src/utils/native-tool-context.js.map +1 -0
- package/dist/src/utils/native-tool-review.d.ts +21 -0
- package/dist/src/utils/native-tool-review.js +102 -0
- package/dist/src/utils/native-tool-review.js.map +1 -0
- package/dist/src/utils/orphan-marketplace-cleanup.js +0 -4
- package/dist/src/utils/orphan-marketplace-cleanup.js.map +1 -1
- package/dist/src/utils/ownership.d.ts +88 -20
- package/dist/src/utils/ownership.js +185 -223
- package/dist/src/utils/ownership.js.map +1 -1
- package/dist/src/utils/path-catalog-provider.d.ts +1 -1
- package/dist/src/utils/path-catalog-provider.js +54 -65
- package/dist/src/utils/path-catalog-provider.js.map +1 -1
- package/dist/src/utils/paths.d.ts +0 -1
- package/dist/src/utils/paths.js +0 -1
- package/dist/src/utils/paths.js.map +1 -1
- package/dist/src/utils/plugin-config-impact.d.ts +40 -0
- package/dist/src/utils/plugin-config-impact.js +373 -0
- package/dist/src/utils/plugin-config-impact.js.map +1 -0
- package/dist/src/utils/plugin-config-write.d.ts +52 -27
- package/dist/src/utils/plugin-config-write.js +1112 -298
- package/dist/src/utils/plugin-config-write.js.map +1 -1
- package/dist/src/utils/plugin-config.d.ts +153 -93
- package/dist/src/utils/plugin-config.js +1116 -968
- package/dist/src/utils/plugin-config.js.map +1 -1
- package/dist/src/utils/plugin-intent-state.d.ts +49 -0
- package/dist/src/utils/plugin-intent-state.js +320 -0
- package/dist/src/utils/plugin-intent-state.js.map +1 -0
- package/dist/src/utils/plugin-scripts.d.ts +66 -125
- package/dist/src/utils/plugin-scripts.js +518 -526
- package/dist/src/utils/plugin-scripts.js.map +1 -1
- package/dist/src/utils/process-lock.js +14 -5
- package/dist/src/utils/process-lock.js.map +1 -1
- package/dist/src/utils/process-tree.d.ts +2 -2
- package/dist/src/utils/process-tree.js +1 -1
- package/dist/src/utils/process-tree.js.map +1 -1
- package/dist/src/utils/project-boundary.d.ts +11 -13
- package/dist/src/utils/project-boundary.js +28 -34
- package/dist/src/utils/project-boundary.js.map +1 -1
- package/dist/src/utils/rendered-contract.js +18 -1
- package/dist/src/utils/rendered-contract.js.map +1 -1
- package/dist/src/utils/runtime-config.d.ts +20 -0
- package/dist/src/utils/runtime-config.js +75 -0
- package/dist/src/utils/runtime-config.js.map +1 -0
- package/dist/src/utils/runtime-skill-closure.js +47 -6
- package/dist/src/utils/runtime-skill-closure.js.map +1 -1
- package/dist/src/utils/safe-fs.d.ts +21 -0
- package/dist/src/utils/safe-fs.js +111 -0
- package/dist/src/utils/safe-fs.js.map +1 -0
- package/dist/src/utils/safe-operation-diagnostic.d.ts +15 -0
- package/dist/src/utils/safe-operation-diagnostic.js +33 -0
- package/dist/src/utils/safe-operation-diagnostic.js.map +1 -0
- package/dist/src/utils/sensitive-content.d.ts +4 -0
- package/dist/src/utils/sensitive-content.js +36 -0
- package/dist/src/utils/sensitive-content.js.map +1 -0
- package/dist/src/utils/state-paths.js +7 -2
- package/dist/src/utils/state-paths.js.map +1 -1
- package/dist/src/utils/target-eligibility.d.ts +8 -2
- package/dist/src/utils/target-eligibility.js +17 -8
- 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 +14 -0
- package/dist/src/utils/windows-npm-shim.js +140 -0
- package/dist/src/utils/windows-npm-shim.js.map +1 -0
- package/dist/vitest.config.js +100 -9
- package/dist/vitest.config.js.map +1 -1
- package/package.json +31 -21
- package/dist/authoring/scripts/check-plugin-versions.d.mts +0 -2
- package/dist/authoring/scripts/check-plugin-versions.mjs +0 -5
- package/dist/authoring/scripts/check-plugin-versions.mjs.map +0 -1
- package/dist/scripts/aw-skill-eval-engine.d.ts +0 -13
- package/dist/scripts/aw-skill-eval-engine.js +0 -31
- package/dist/scripts/aw-skill-eval-engine.js.map +0 -1
- package/dist/scripts/codex-eval-app-server.d.ts +0 -89
- package/dist/scripts/codex-eval-app-server.js +0 -1228
- package/dist/scripts/codex-eval-app-server.js.map +0 -1
- package/dist/scripts/codex-eval-isolation.d.ts +0 -61
- package/dist/scripts/codex-eval-isolation.js +0 -318
- package/dist/scripts/codex-eval-isolation.js.map +0 -1
- package/dist/scripts/codex-eval-process-management.d.ts +0 -8
- package/dist/scripts/codex-eval-process-management.js +0 -69
- package/dist/scripts/codex-eval-process-management.js.map +0 -1
- package/dist/scripts/codex-eval-process-tree.d.ts +0 -38
- package/dist/scripts/codex-eval-process-tree.js +0 -803
- package/dist/scripts/codex-eval-process-tree.js.map +0 -1
- package/dist/scripts/codex-eval-runtime-config.d.ts +0 -62
- package/dist/scripts/codex-eval-runtime-config.js +0 -843
- package/dist/scripts/codex-eval-runtime-config.js.map +0 -1
- package/dist/scripts/codex-trigger-eval.d.ts +0 -84
- package/dist/scripts/codex-trigger-eval.js +0 -968
- package/dist/scripts/codex-trigger-eval.js.map +0 -1
- package/dist/scripts/eval-plugin-skills-audited.d.ts +0 -6
- package/dist/scripts/eval-plugin-skills-audited.js +0 -261
- package/dist/scripts/eval-plugin-skills-audited.js.map +0 -1
- package/dist/scripts/eval-plugin-skills.d.ts +0 -45
- package/dist/scripts/eval-plugin-skills.js +0 -1586
- package/dist/scripts/eval-plugin-skills.js.map +0 -1
- package/dist/scripts/eval-run-layout.d.ts +0 -17
- package/dist/scripts/eval-run-layout.js +0 -26
- package/dist/scripts/eval-run-layout.js.map +0 -1
- package/dist/scripts/plugin-eval-contract.d.ts +0 -185
- package/dist/scripts/plugin-eval-contract.js +0 -695
- package/dist/scripts/plugin-eval-contract.js.map +0 -1
- package/dist/scripts/plugin-eval-materializer.d.ts +0 -13
- package/dist/scripts/plugin-eval-materializer.js +0 -421
- package/dist/scripts/plugin-eval-materializer.js.map +0 -1
- package/dist/scripts/skill-reporting.d.ts +0 -212
- package/dist/scripts/skill-reporting.js +0 -922
- package/dist/scripts/skill-reporting.js.map +0 -1
- package/dist/src/commands/review-publication.d.ts +0 -99
- package/dist/src/commands/review-publication.js +0 -904
- package/dist/src/commands/review-publication.js.map +0 -1
- package/dist/src/commands/status-v4.d.ts +0 -123
- package/dist/src/commands/status-v4.js +0 -905
- package/dist/src/commands/status-v4.js.map +0 -1
- package/dist/src/commands/status.d.ts +0 -93
- package/dist/src/commands/status.js +0 -442
- package/dist/src/commands/status.js.map +0 -1
- package/dist/src/utils/active-marketplace-runtime-lock.d.ts +0 -12
- package/dist/src/utils/active-marketplace-runtime-lock.js +0 -133
- package/dist/src/utils/active-marketplace-runtime-lock.js.map +0 -1
- package/dist/src/utils/catalog-manifest-v3.d.ts +0 -2
- package/dist/src/utils/catalog-manifest-v3.js +0 -3
- package/dist/src/utils/catalog-manifest-v3.js.map +0 -1
- package/dist/src/utils/catalog-manifest-v4.d.ts +0 -5
- package/dist/src/utils/catalog-manifest-v4.js.map +0 -1
- package/dist/src/utils/catalog-source-cache.d.ts +0 -62
- package/dist/src/utils/catalog-source-cache.js +0 -296
- package/dist/src/utils/catalog-source-cache.js.map +0 -1
- package/dist/src/utils/codex-project-surface.d.ts +0 -3
- package/dist/src/utils/codex-project-surface.js +0 -49
- package/dist/src/utils/codex-project-surface.js.map +0 -1
- package/dist/src/utils/lifecycle-active-store.d.ts +0 -175
- package/dist/src/utils/lifecycle-active-store.js +0 -1276
- package/dist/src/utils/lifecycle-active-store.js.map +0 -1
- package/dist/src/utils/plugin-release.d.ts +0 -2
- package/dist/src/utils/plugin-release.js +0 -2
- package/dist/src/utils/plugin-release.js.map +0 -1
package/dist/src/tui/keys.d.ts
CHANGED
|
@@ -9,4 +9,48 @@ export interface TuiKeyInput {
|
|
|
9
9
|
input: string;
|
|
10
10
|
key: Pick<Key, 'ctrl' | 'escape'>;
|
|
11
11
|
}
|
|
12
|
+
export type TuiSessionNavigationKeyAction = 'home' | 'reload';
|
|
13
|
+
export type TuiGlobalKeyAction = TuiSessionNavigationKeyAction | 'back' | 'help' | 'exit' | 'cancel';
|
|
14
|
+
export interface TuiGlobalActionDefinition {
|
|
15
|
+
action: TuiGlobalKeyAction;
|
|
16
|
+
key: 'h' | 'H' | 'Escape' | 'b' | '?' | 'q' | 'Ctrl+C';
|
|
17
|
+
menuOnly: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare const TUI_GLOBAL_ACTIONS: readonly [{
|
|
20
|
+
readonly action: "home";
|
|
21
|
+
readonly key: "h";
|
|
22
|
+
readonly menuOnly: true;
|
|
23
|
+
}, {
|
|
24
|
+
readonly action: "reload";
|
|
25
|
+
readonly key: "H";
|
|
26
|
+
readonly menuOnly: true;
|
|
27
|
+
}, {
|
|
28
|
+
readonly action: "back";
|
|
29
|
+
readonly key: "b";
|
|
30
|
+
readonly menuOnly: true;
|
|
31
|
+
}, {
|
|
32
|
+
readonly action: "back";
|
|
33
|
+
readonly key: "Escape";
|
|
34
|
+
readonly menuOnly: true;
|
|
35
|
+
}, {
|
|
36
|
+
readonly action: "help";
|
|
37
|
+
readonly key: "?";
|
|
38
|
+
readonly menuOnly: true;
|
|
39
|
+
}, {
|
|
40
|
+
readonly action: "exit";
|
|
41
|
+
readonly key: "q";
|
|
42
|
+
readonly menuOnly: true;
|
|
43
|
+
}, {
|
|
44
|
+
readonly action: "cancel";
|
|
45
|
+
readonly key: "Escape";
|
|
46
|
+
readonly menuOnly: false;
|
|
47
|
+
}, {
|
|
48
|
+
readonly action: "exit";
|
|
49
|
+
readonly key: "Ctrl+C";
|
|
50
|
+
readonly menuOnly: false;
|
|
51
|
+
}];
|
|
52
|
+
export declare function resolveTuiGlobalKeyAction(event: TuiKeyInput, context: TuiKeyContext): TuiGlobalKeyAction | null;
|
|
53
|
+
export declare function resolveTuiSessionNavigationKey(event: TuiKeyInput, options: {
|
|
54
|
+
characterInput: boolean;
|
|
55
|
+
}): TuiSessionNavigationKeyAction | null;
|
|
12
56
|
export declare function resolveTuiKeyAction(event: TuiKeyInput, context: TuiKeyContext): Exclude<CliPromptAction, 'select'> | null;
|
package/dist/src/tui/keys.js
CHANGED
|
@@ -1,22 +1,50 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
export const TUI_GLOBAL_ACTIONS = [
|
|
2
|
+
{ action: 'home', key: 'h', menuOnly: true },
|
|
3
|
+
{ action: 'reload', key: 'H', menuOnly: true },
|
|
4
|
+
{ action: 'back', key: 'b', menuOnly: true },
|
|
5
|
+
{ action: 'back', key: 'Escape', menuOnly: true },
|
|
6
|
+
{ action: 'help', key: '?', menuOnly: true },
|
|
7
|
+
{ action: 'exit', key: 'q', menuOnly: true },
|
|
8
|
+
{ action: 'cancel', key: 'Escape', menuOnly: false },
|
|
9
|
+
{ action: 'exit', key: 'Ctrl+C', menuOnly: false },
|
|
10
|
+
];
|
|
11
|
+
function registeredAction(action, key) {
|
|
12
|
+
return TUI_GLOBAL_ACTIONS.find((definition) => definition.action === action && definition.key === key).action;
|
|
13
|
+
}
|
|
14
|
+
export function resolveTuiGlobalKeyAction(event, context) {
|
|
15
|
+
if (event.key.ctrl && event.input.toLowerCase() === 'c')
|
|
16
|
+
return registeredAction('exit', 'Ctrl+C');
|
|
5
17
|
if (event.key.escape) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
return 'cancel';
|
|
18
|
+
return context.mode === 'menu' && context.allowBack
|
|
19
|
+
? registeredAction('back', 'Escape')
|
|
20
|
+
: registeredAction('cancel', 'Escape');
|
|
10
21
|
}
|
|
11
|
-
if (context.mode !== 'menu')
|
|
22
|
+
if (context.mode !== 'menu' || event.key.ctrl)
|
|
12
23
|
return null;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
if (event.input.toLowerCase() === '
|
|
24
|
+
if (event.input === 'H')
|
|
25
|
+
return registeredAction('reload', 'H');
|
|
26
|
+
if (event.input === 'h')
|
|
27
|
+
return registeredAction('home', 'h');
|
|
28
|
+
if (context.allowBack && event.input.toLowerCase() === 'b')
|
|
29
|
+
return registeredAction('back', 'b');
|
|
30
|
+
if (event.input === '?')
|
|
31
|
+
return registeredAction('help', '?');
|
|
32
|
+
if (event.input.toLowerCase() === 'q')
|
|
33
|
+
return registeredAction('exit', 'q');
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
export function resolveTuiSessionNavigationKey(event, options) {
|
|
37
|
+
const action = resolveTuiGlobalKeyAction(event, {
|
|
38
|
+
mode: options.characterInput ? 'text' : 'menu',
|
|
39
|
+
});
|
|
40
|
+
return action === 'home' || action === 'reload' ? action : null;
|
|
41
|
+
}
|
|
42
|
+
export function resolveTuiKeyAction(event, context) {
|
|
43
|
+
const action = resolveTuiGlobalKeyAction(event, context);
|
|
44
|
+
if (action === 'cancel' && context.mode === 'menu')
|
|
18
45
|
return 'exit';
|
|
19
|
-
|
|
46
|
+
if (action === 'back' || action === 'exit' || action === 'cancel')
|
|
47
|
+
return action;
|
|
20
48
|
return null;
|
|
21
49
|
}
|
|
22
50
|
//# sourceMappingURL=keys.js.map
|
package/dist/src/tui/keys.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../src/tui/keys.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../src/tui/keys.ts"],"names":[],"mappings":"AAyBA,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC5C,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC9C,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC5C,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;IACjD,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC5C,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC5C,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE;IACpD,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE;CACK,CAAC;AAE1D,SAAS,gBAAgB,CACvB,MAA0B,EAC1B,GAAqC;IAErC,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,EAAE,CAC5C,UAAU,CAAC,MAAM,KAAK,MAAM,IAAI,UAAU,CAAC,GAAG,KAAK,GAAG,CAAE,CAAC,MAAM,CAAC;AACpE,CAAC;AAED,MAAM,UAAU,yBAAyB,CACvC,KAAkB,EAClB,OAAsB;IAEtB,IAAI,KAAK,CAAC,GAAG,CAAC,IAAI,IAAI,KAAK,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,GAAG;QAAE,OAAO,gBAAgB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IACnG,IAAI,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,CAAC;QACrB,OAAO,OAAO,CAAC,IAAI,KAAK,MAAM,IAAI,OAAO,CAAC,SAAS;YACjD,CAAC,CAAC,gBAAgB,CAAC,MAAM,EAAE,QAAQ,CAAC;YACpC,CAAC,CAAC,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAC3C,CAAC;IACD,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,IAAI,KAAK,CAAC,GAAG,CAAC,IAAI;QAAE,OAAO,IAAI,CAAC;IAC3D,IAAI,KAAK,CAAC,KAAK,KAAK,GAAG;QAAE,OAAO,gBAAgB,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IAChE,IAAI,KAAK,CAAC,KAAK,KAAK,GAAG;QAAE,OAAO,gBAAgB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC9D,IAAI,OAAO,CAAC,SAAS,IAAI,KAAK,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,GAAG;QAAE,OAAO,gBAAgB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjG,IAAI,KAAK,CAAC,KAAK,KAAK,GAAG;QAAE,OAAO,gBAAgB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC9D,IAAI,KAAK,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,GAAG;QAAE,OAAO,gBAAgB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC5E,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,UAAU,8BAA8B,CAC5C,KAAkB,EAClB,OAAoC;IAEpC,MAAM,MAAM,GAAG,yBAAyB,CAAC,KAAK,EAAE;QAC9C,IAAI,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM;KAC/C,CAAC,CAAC;IACH,OAAO,MAAM,KAAK,MAAM,IAAI,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;AAClE,CAAC;AAED,MAAM,UAAU,mBAAmB,CACjC,KAAkB,EAClB,OAAsB;IAEtB,MAAM,MAAM,GAAG,yBAAyB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACzD,IAAI,MAAM,KAAK,QAAQ,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM;QAAE,OAAO,MAAM,CAAC;IAClE,IAAI,MAAM,KAAK,MAAM,IAAI,MAAM,KAAK,MAAM,IAAI,MAAM,KAAK,QAAQ;QAAE,OAAO,MAAM,CAAC;IACjF,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { AllowedLifecycleAction } from '../commands/operation-planner.js';
|
|
2
|
+
export interface LifecycleActionViewModel {
|
|
3
|
+
label: string;
|
|
4
|
+
description: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function projectLifecycleActionView(action: AllowedLifecycleAction): LifecycleActionViewModel;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export function projectLifecycleActionView(action) {
|
|
2
|
+
if (action.id === 'install')
|
|
3
|
+
return {
|
|
4
|
+
label: '添加插件',
|
|
5
|
+
description: '添加所选平台和使用位置。',
|
|
6
|
+
};
|
|
7
|
+
if (action.id === 'sync')
|
|
8
|
+
return {
|
|
9
|
+
label: '同步已保存使用设置',
|
|
10
|
+
description: '按已保存使用设置修复当前使用位置。',
|
|
11
|
+
};
|
|
12
|
+
if (action.id === 'refreshAndSync')
|
|
13
|
+
return {
|
|
14
|
+
label: action.availableVersion ? `更新到 ${action.availableVersion}` : '刷新并同步',
|
|
15
|
+
description: action.availableVersion
|
|
16
|
+
? `使用当前启用目录中已确认的 ${action.availableVersion} 同步。`
|
|
17
|
+
: '刷新相关来源后,使用新的当前启用版本同步。',
|
|
18
|
+
};
|
|
19
|
+
if (action.id === 'reinstall')
|
|
20
|
+
return {
|
|
21
|
+
label: '重新安装',
|
|
22
|
+
description: '保留设置并重新生成 AW 管理内容。',
|
|
23
|
+
};
|
|
24
|
+
if (action.id === 'cleanup')
|
|
25
|
+
return {
|
|
26
|
+
label: '清理 AW 管理内容',
|
|
27
|
+
description: action.reason === 'orphanedManagedContent'
|
|
28
|
+
? '只清理这个插件目标的 AW 管理内容。'
|
|
29
|
+
: '只清理可证明属于 AW 的内容。',
|
|
30
|
+
};
|
|
31
|
+
return {
|
|
32
|
+
label: '移除插件',
|
|
33
|
+
description: '移除 AW 管理的安装内容并保留设置。',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=lifecycle-action-view.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lifecycle-action-view.js","sourceRoot":"","sources":["../../../src/tui/lifecycle-action-view.ts"],"names":[],"mappings":"AAOA,MAAM,UAAU,0BAA0B,CACxC,MAA8B;IAE9B,IAAI,MAAM,CAAC,EAAE,KAAK,SAAS;QAAE,OAAO;YAClC,KAAK,EAAE,MAAM;YACb,WAAW,EAAE,cAAc;SAC5B,CAAC;IACF,IAAI,MAAM,CAAC,EAAE,KAAK,MAAM;QAAE,OAAO;YAC/B,KAAK,EAAE,WAAW;YAClB,WAAW,EAAE,mBAAmB;SACjC,CAAC;IACF,IAAI,MAAM,CAAC,EAAE,KAAK,gBAAgB;QAAE,OAAO;YACzC,KAAK,EAAE,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,OAAO,MAAM,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAC,OAAO;YAC3E,WAAW,EAAE,MAAM,CAAC,gBAAgB;gBAClC,CAAC,CAAC,iBAAiB,MAAM,CAAC,gBAAgB,MAAM;gBAChD,CAAC,CAAC,uBAAuB;SAC5B,CAAC;IACF,IAAI,MAAM,CAAC,EAAE,KAAK,WAAW;QAAE,OAAO;YACpC,KAAK,EAAE,MAAM;YACb,WAAW,EAAE,oBAAoB;SAClC,CAAC;IACF,IAAI,MAAM,CAAC,EAAE,KAAK,SAAS;QAAE,OAAO;YAClC,KAAK,EAAE,YAAY;YACnB,WAAW,EAAE,MAAM,CAAC,MAAM,KAAK,wBAAwB;gBACrD,CAAC,CAAC,qBAAqB;gBACvB,CAAC,CAAC,kBAAkB;SACvB,CAAC;IACF,OAAO;QACL,KAAK,EAAE,MAAM;QACb,WAAW,EAAE,qBAAqB;KACnC,CAAC;AACJ,CAAC"}
|
package/dist/src/tui/model.d.ts
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
import type {
|
|
1
|
+
export { configObjectHasSensitiveChild } from './config-value-presentation.js';
|
|
2
|
+
import type { PlatformName, PluginConfigFieldType, PluginConfigPreset, PluginConfigSchemaField, PluginConfigJoinSummary, PluginConfigSchema, PluginConfigValue, Scope } from '../types.js';
|
|
3
|
+
import type { StatusActivationProjection, StatusExtensionProjection, StatusIntentProjection, StatusSharedNativeProjection, StatusV8Payload, StatusV8PluginSummary, StatusScopedTarget, StatusV8Component, StatusTargetRevision, TargetRevisionState } from '../commands/status-v6.js';
|
|
4
|
+
import type { PluginContentOverview } from './plugin-content.js';
|
|
5
|
+
import type { DependencyAssignmentSource, DependencyPlacementRootInput } from '../commands/dependency-operation-plan.js';
|
|
6
|
+
import type { ReconcileOperationPlan } from '../commands/reconcile-operation-plan.js';
|
|
7
|
+
import type { DependencyScopeOverride } from '../types.js';
|
|
3
8
|
import type { ResolvedConfigRead } from '../utils/plugin-config.js';
|
|
4
9
|
import { type DiagnosticSummaryViewModel } from './diagnostics.js';
|
|
5
|
-
|
|
10
|
+
import type { CatalogSourceFreshnessViewModel } from './catalog-freshness.js';
|
|
11
|
+
import type { CatalogSourceGenerationViewModel } from './catalog-generation.js';
|
|
12
|
+
export type SourceHealthState = 'ready' | 'unavailable';
|
|
6
13
|
export interface SourceHealthViewModel {
|
|
7
14
|
sourceId: string;
|
|
8
15
|
state: SourceHealthState;
|
|
@@ -13,12 +20,34 @@ export type PlatformPlacementSummary = {
|
|
|
13
20
|
platform: PlatformName;
|
|
14
21
|
state: 'notInstalled';
|
|
15
22
|
supportedScopes: Scope[];
|
|
23
|
+
} | {
|
|
24
|
+
platform: PlatformName;
|
|
25
|
+
state: 'blocked';
|
|
26
|
+
supportedScopes: Scope[];
|
|
27
|
+
reason: 'artifactCollision';
|
|
16
28
|
} | {
|
|
17
29
|
platform: PlatformName;
|
|
18
30
|
state: 'installed';
|
|
19
31
|
scope: Scope;
|
|
20
32
|
health: 'ready' | 'incomplete' | 'error';
|
|
21
33
|
revision: TargetRevisionState;
|
|
34
|
+
desiredScopes?: Scope[];
|
|
35
|
+
actualScopes?: Scope[];
|
|
36
|
+
relation?: StatusIntentProjection['relation'];
|
|
37
|
+
actualState?: StatusScopedTarget['state'];
|
|
38
|
+
activation?: StatusActivationProjection;
|
|
39
|
+
sharedNative?: StatusSharedNativeProjection;
|
|
40
|
+
extensions?: StatusExtensionProjection;
|
|
41
|
+
recovery?: StatusScopedTarget['recoveryActions'];
|
|
42
|
+
blockingReason?: 'artifactCollision';
|
|
43
|
+
scopedPlacements?: Array<{
|
|
44
|
+
scope: Scope;
|
|
45
|
+
health: 'ready' | 'incomplete' | 'error';
|
|
46
|
+
revision: TargetRevisionState;
|
|
47
|
+
actualState?: StatusScopedTarget['state'];
|
|
48
|
+
recovery?: StatusScopedTarget['recoveryActions'];
|
|
49
|
+
blockingReason?: 'artifactCollision';
|
|
50
|
+
}>;
|
|
22
51
|
} | {
|
|
23
52
|
platform: PlatformName;
|
|
24
53
|
state: 'scopeConflict';
|
|
@@ -29,17 +58,31 @@ export type PlatformPlacementSummary = {
|
|
|
29
58
|
}>;
|
|
30
59
|
};
|
|
31
60
|
export type PluginMenuAction = {
|
|
32
|
-
id: 'add' | 'manage' | 'repair' | 'portableSkills' | 'dependencies' | 'settings' | 'source' | 'sourceProblem' | 'about' | 'refreshSource' | 'technical' | 'back';
|
|
61
|
+
id: 'add' | 'manage' | 'repair' | 'portableSkills' | 'dependencies' | 'settings' | 'source' | 'sourceProblem' | 'about' | 'refreshSource' | 'technical' | 'back' | 'outputCollision' | 'upgradeAwCli' | 'capabilityTechnical';
|
|
62
|
+
} | {
|
|
63
|
+
id: 'addScope';
|
|
64
|
+
platform: PlatformName;
|
|
65
|
+
scope: Scope;
|
|
66
|
+
} | {
|
|
67
|
+
id: 'resolveScopeConflict';
|
|
68
|
+
pluginId: string;
|
|
69
|
+
platform: PlatformName;
|
|
70
|
+
scope: Scope;
|
|
71
|
+
keepScope: Scope;
|
|
72
|
+
description: string;
|
|
33
73
|
} | {
|
|
34
74
|
id: 'platform' | 'scopeConflict';
|
|
35
75
|
platform: PlatformName;
|
|
36
76
|
} | {
|
|
37
|
-
id: '
|
|
77
|
+
id: 'refreshAndSync';
|
|
38
78
|
platform: PlatformName;
|
|
39
79
|
scope: Scope;
|
|
40
80
|
availableVersion: string;
|
|
81
|
+
installedVersion: string;
|
|
82
|
+
sourceIdentity: string;
|
|
83
|
+
generationKey: string;
|
|
41
84
|
} | {
|
|
42
|
-
id: 'reinstall' | 'remove';
|
|
85
|
+
id: 'sync' | 'reinstall' | 'remove' | 'cleanup';
|
|
43
86
|
platform: PlatformName;
|
|
44
87
|
scope: Scope;
|
|
45
88
|
};
|
|
@@ -52,18 +95,65 @@ export interface PluginListItemViewModel {
|
|
|
52
95
|
configFieldCount: number;
|
|
53
96
|
sourceLabel: string;
|
|
54
97
|
supportedPlatforms: PlatformName[];
|
|
98
|
+
supportedScopes?: Partial<Record<PlatformName, Scope[]>>;
|
|
55
99
|
installedPlacements: PlatformPlacementSummary[];
|
|
56
100
|
aggregateStatus: 'available' | 'installed' | 'needsAttention' | 'unavailable';
|
|
101
|
+
primaryAttention?: {
|
|
102
|
+
severity: 'warning' | 'error';
|
|
103
|
+
code: string;
|
|
104
|
+
message: string;
|
|
105
|
+
};
|
|
57
106
|
portableSkills: boolean;
|
|
107
|
+
missingCapabilities?: string[];
|
|
108
|
+
capabilityUnsupported?: boolean;
|
|
109
|
+
capabilityRecovery?: string;
|
|
110
|
+
sourceUnavailable?: boolean;
|
|
111
|
+
savedConfigScopes: Scope[];
|
|
112
|
+
configOnly?: true;
|
|
113
|
+
catalogEntryMissing?: true;
|
|
114
|
+
removedPluginCleanupRequired?: true;
|
|
58
115
|
dependencySummary?: PluginDependencySummaryViewModel;
|
|
59
116
|
technicalComponents: Array<{
|
|
60
117
|
platform: PlatformName;
|
|
61
|
-
scope
|
|
118
|
+
scope?: Scope;
|
|
119
|
+
shared?: true;
|
|
62
120
|
key: string;
|
|
63
|
-
state:
|
|
121
|
+
state: StatusV8Component['state'];
|
|
64
122
|
errorCode?: string;
|
|
65
123
|
}>;
|
|
124
|
+
update: PluginUpdateSummary;
|
|
125
|
+
}
|
|
126
|
+
export type PluginUpdateState = 'notChecked' | 'currentAgainstCatalog' | 'available' | 'sourceChangedUnverified' | 'blocked' | 'unknown';
|
|
127
|
+
export interface PluginUpdateTargetSummary {
|
|
128
|
+
platform: PlatformName;
|
|
129
|
+
scope: Scope;
|
|
130
|
+
installedVersion?: string;
|
|
131
|
+
activeVersion?: string;
|
|
132
|
+
candidateVersion?: string;
|
|
133
|
+
availableVersion?: string;
|
|
134
|
+
candidateEvidence?: string;
|
|
135
|
+
missingCapabilities?: string[];
|
|
136
|
+
eligibility: 'allowed' | 'needsRepair' | 'incompatible' | 'unverified';
|
|
137
|
+
requiresCatalogActivation?: true;
|
|
138
|
+
}
|
|
139
|
+
export interface PluginUpdateSummary {
|
|
140
|
+
pluginId: string;
|
|
141
|
+
state: PluginUpdateState;
|
|
142
|
+
checkedAt?: string;
|
|
143
|
+
lastSuccessful?: true;
|
|
144
|
+
sourceIdentity?: string;
|
|
145
|
+
generationKey?: string;
|
|
146
|
+
targets: PluginUpdateTargetSummary[];
|
|
66
147
|
}
|
|
148
|
+
export declare function buildPluginUpdateSummary(options: {
|
|
149
|
+
pluginId: string;
|
|
150
|
+
sourceId: string;
|
|
151
|
+
targetRevisions: StatusTargetRevision[];
|
|
152
|
+
targets: StatusScopedTarget[];
|
|
153
|
+
freshness?: CatalogSourceFreshnessViewModel;
|
|
154
|
+
sourceIdentity?: string;
|
|
155
|
+
generationKey?: string;
|
|
156
|
+
}): PluginUpdateSummary;
|
|
67
157
|
export interface PluginDependencySummaryViewModel {
|
|
68
158
|
directCount: number;
|
|
69
159
|
transitiveCount: number;
|
|
@@ -97,6 +187,7 @@ export interface PluginDependencyItemViewModel {
|
|
|
97
187
|
placements: PlatformPlacementSummary[];
|
|
98
188
|
aggregateStatus: 'ready' | 'notInstalled' | 'needsAttention' | 'unavailable';
|
|
99
189
|
placementReferences?: DependencyPlacementReferenceViewModel[];
|
|
190
|
+
availablePlacementReferences?: DependencyPlacementReferenceViewModel[];
|
|
100
191
|
}
|
|
101
192
|
export interface PluginDependencyBlockerViewModel {
|
|
102
193
|
code: string;
|
|
@@ -110,28 +201,59 @@ export interface PluginDependencyOverviewViewModel {
|
|
|
110
201
|
dependents: PluginDependencyItemViewModel[];
|
|
111
202
|
blockers: PluginDependencyBlockerViewModel[];
|
|
112
203
|
}
|
|
204
|
+
export interface DependencyPlacementTargetViewModel {
|
|
205
|
+
key: string;
|
|
206
|
+
pluginId: string;
|
|
207
|
+
displayName: string;
|
|
208
|
+
platform: PlatformName;
|
|
209
|
+
relation: 'direct' | 'transitive';
|
|
210
|
+
scope: Scope;
|
|
211
|
+
minimumScope: Scope;
|
|
212
|
+
allowedScopes: Scope[];
|
|
213
|
+
locked: boolean;
|
|
214
|
+
requiredBy: string[];
|
|
215
|
+
assignmentSource: DependencyAssignmentSource;
|
|
216
|
+
explanation: string;
|
|
217
|
+
affectsOtherProjects: boolean;
|
|
218
|
+
action: ReconcileOperationPlan['targets'][number]['action'];
|
|
219
|
+
}
|
|
220
|
+
export interface InstallPlacementDraftViewModel {
|
|
221
|
+
pluginId: string;
|
|
222
|
+
rootScope: Scope;
|
|
223
|
+
exactRootTargets?: DependencyPlacementRootInput[];
|
|
224
|
+
platforms: PlatformName[];
|
|
225
|
+
dependencyScopeOverrides: DependencyScopeOverride[];
|
|
226
|
+
state: 'selecting' | 'loading' | 'ready' | 'blocked';
|
|
227
|
+
targets: DependencyPlacementTargetViewModel[];
|
|
228
|
+
canContinue: boolean;
|
|
229
|
+
error?: {
|
|
230
|
+
code: string;
|
|
231
|
+
message: string;
|
|
232
|
+
};
|
|
233
|
+
}
|
|
113
234
|
export interface SourceTabViewModel {
|
|
114
235
|
id: string;
|
|
115
236
|
label: string;
|
|
116
237
|
count?: number;
|
|
117
238
|
primary: boolean;
|
|
118
|
-
state: 'ready' | '
|
|
239
|
+
state: 'ready' | 'checking' | 'update' | 'recovery' | 'error';
|
|
119
240
|
}
|
|
120
241
|
export interface SourceDetailViewModel {
|
|
121
242
|
id: string;
|
|
122
243
|
type: 'git' | 'path';
|
|
123
244
|
primary: boolean;
|
|
245
|
+
autoCheck: boolean;
|
|
124
246
|
locationSummary: string;
|
|
125
247
|
refPolicy?: 'cliChannel' | 'explicit';
|
|
126
248
|
explicitRef?: string;
|
|
127
249
|
subdir?: string;
|
|
128
|
-
pluginCount
|
|
250
|
+
pluginCount?: number;
|
|
129
251
|
sourceIdentity: string;
|
|
130
252
|
requestedRef: string;
|
|
131
253
|
resolvedCommit?: string;
|
|
132
254
|
catalogVersion?: string;
|
|
133
255
|
channel?: string;
|
|
134
|
-
freshness?: '
|
|
256
|
+
freshness?: 'active';
|
|
135
257
|
errorCode?: string;
|
|
136
258
|
configDigest: string;
|
|
137
259
|
}
|
|
@@ -140,34 +262,56 @@ export interface HomeSummaryViewModel {
|
|
|
140
262
|
installedPlugins: number;
|
|
141
263
|
issueCount: number;
|
|
142
264
|
sourceCount: number;
|
|
143
|
-
cachedSourceCount: number;
|
|
144
265
|
unavailableSourceCount: number;
|
|
266
|
+
catalogUpdateCount: number;
|
|
267
|
+
catalogRecoveryCount: number;
|
|
268
|
+
catalogCheckingCount: number;
|
|
269
|
+
pluginUpdateCount: number;
|
|
270
|
+
directPluginUpdateCount: number;
|
|
145
271
|
}
|
|
146
272
|
export interface ConfigFieldViewModel {
|
|
147
273
|
key: string;
|
|
148
274
|
title: string;
|
|
149
275
|
description?: string;
|
|
150
276
|
type: PluginConfigFieldType;
|
|
277
|
+
definition: PluginConfigSchemaField;
|
|
278
|
+
summary?: PluginConfigJoinSummary;
|
|
279
|
+
itemSummary?: PluginConfigJoinSummary;
|
|
151
280
|
displayValue: string;
|
|
152
281
|
required: boolean;
|
|
153
282
|
sensitive: boolean;
|
|
283
|
+
writable: boolean;
|
|
284
|
+
canSet: boolean;
|
|
285
|
+
canUnset: boolean;
|
|
154
286
|
dirty: boolean;
|
|
155
287
|
inherited: boolean;
|
|
156
288
|
configured: boolean;
|
|
157
289
|
sourceLabel: string;
|
|
158
290
|
effectiveDisplayValue: string;
|
|
159
291
|
effectiveSourceLabel: string;
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
292
|
+
fallbackDisplayValue?: string;
|
|
293
|
+
fallbackSourceLabel?: string;
|
|
294
|
+
invalidOverrideIssue?: string;
|
|
295
|
+
invalidOverrideOwnedByLayer?: boolean;
|
|
296
|
+
fallbackObjectChanges?: Array<{
|
|
297
|
+
property: string;
|
|
298
|
+
before: string;
|
|
299
|
+
after: string;
|
|
300
|
+
private?: boolean;
|
|
301
|
+
}>;
|
|
302
|
+
value?: PluginConfigValue;
|
|
303
|
+
effectiveValue?: PluginConfigValue;
|
|
304
|
+
draftValue?: PluginConfigValue;
|
|
305
|
+
defaultValue?: PluginConfigValue;
|
|
306
|
+
choices?: PluginConfigPreset[];
|
|
307
|
+
allowCustom: boolean;
|
|
308
|
+
matchedPresetId?: string;
|
|
166
309
|
placeholder?: string;
|
|
167
310
|
unit?: string;
|
|
168
311
|
min?: number;
|
|
169
312
|
max?: number;
|
|
170
313
|
advanced: boolean;
|
|
314
|
+
sharedNativeRender?: boolean;
|
|
171
315
|
}
|
|
172
316
|
export interface ConfigGroupViewModel {
|
|
173
317
|
id: string;
|
|
@@ -176,22 +320,31 @@ export interface ConfigGroupViewModel {
|
|
|
176
320
|
advanced: boolean;
|
|
177
321
|
fields: ConfigFieldViewModel[];
|
|
178
322
|
}
|
|
179
|
-
export interface ConfigPresetViewModel
|
|
180
|
-
|
|
323
|
+
export interface ConfigPresetViewModel {
|
|
324
|
+
id: string;
|
|
325
|
+
title: string;
|
|
326
|
+
description?: string;
|
|
327
|
+
values: Record<string, PluginConfigValue>;
|
|
181
328
|
privateFieldTitles?: string[];
|
|
182
329
|
}
|
|
330
|
+
export interface ConfigEditEvidence {
|
|
331
|
+
sourceIdentity: string;
|
|
332
|
+
schemaIdentity: string;
|
|
333
|
+
storeDigests: Partial<Record<Scope, string>>;
|
|
334
|
+
}
|
|
183
335
|
export interface ConfigPageViewModel {
|
|
336
|
+
editEvidence?: ConfigEditEvidence;
|
|
184
337
|
pluginId: string;
|
|
185
338
|
layer: {
|
|
186
339
|
scope: Scope | 'effective';
|
|
187
|
-
projectLayer: 'shared' | 'local';
|
|
188
340
|
};
|
|
189
341
|
groups: ConfigGroupViewModel[];
|
|
190
342
|
presets: ConfigPresetViewModel[];
|
|
191
343
|
storedCount: number;
|
|
192
344
|
}
|
|
193
|
-
export type UserIssueCategory = 'incompleteInstallation' | '
|
|
194
|
-
export type
|
|
345
|
+
export type UserIssueCategory = 'incompleteInstallation' | 'artifactCollision' | 'sourceUnavailable' | 'sourceMissing' | 'sourceIdentityChanged' | 'requiredConfigMissing' | 'configLayerUnsupported' | 'scopeConflict' | 'dependencyMissing' | 'dependencyNotReady' | 'dependencyTargetUnsupported' | 'dependencyStillRequired' | 'dependencyGraphInvalid' | 'legacyState' | 'diagnostic';
|
|
346
|
+
export type UserIssueGroup = 'sourceRemoved' | 'artifactCollision' | 'sourceUnavailable' | 'dependency' | 'scope' | 'config' | 'installation' | 'diagnostic';
|
|
347
|
+
export type UserIssueActionId = 'install' | 'sync' | 'refreshAndSync' | 'reinstall' | 'cleanup' | 'remove' | 'refreshSource' | 'editSource' | 'retryLater' | 'reAddSource' | 'viewSourceChange' | 'openConfig' | 'keepUserScope' | 'keepProjectScope' | 'viewTechnical' | 'manualMigration' | 'installDependency' | 'reinstallDependency' | 'viewDependencyIssue' | 'viewDependencies';
|
|
195
348
|
export interface UserIssueActionViewModel {
|
|
196
349
|
id: UserIssueActionId;
|
|
197
350
|
label: string;
|
|
@@ -200,12 +353,21 @@ export interface UserIssueActionViewModel {
|
|
|
200
353
|
platform?: PlatformName;
|
|
201
354
|
scope?: Scope;
|
|
202
355
|
project?: 'current' | 'other' | null;
|
|
203
|
-
writeAction?: 'install' | '
|
|
356
|
+
writeAction?: 'install' | 'refreshAndSync' | 'reinstall' | 'uninstall' | 'cleanup' | 'sync';
|
|
357
|
+
}
|
|
358
|
+
export type TargetIssueRootCode = 'partial' | 'artifactCollision' | 'sourceMissing' | 'sourceChanged' | 'catalogSourceUnavailable' | 'bundleUnavailable' | 'codexIntentSourceUnavailable' | 'dependencyMissing' | 'dependencyNotReady' | 'dependencyTargetUnsupported' | 'dependencyStillRequired' | 'dependencyGraphInvalid' | 'targetDiagnostic';
|
|
359
|
+
export interface TargetIssueEntityViewModel {
|
|
360
|
+
pluginId: string;
|
|
361
|
+
platform: PlatformName;
|
|
362
|
+
scope: Scope;
|
|
363
|
+
}
|
|
364
|
+
export interface AffectedTargetViewModel extends TargetIssueEntityViewModel {
|
|
365
|
+
relationship: 'direct' | 'consumer';
|
|
204
366
|
}
|
|
205
|
-
export type TargetIssueRootCode = 'partial' | 'sourceMissing' | 'sourceChanged' | 'catalogSourceUnavailable' | 'bundleUnavailable' | 'dependencyMissing' | 'dependencyNotReady' | 'dependencyTargetUnsupported' | 'dependencyStillRequired' | 'dependencyGraphInvalid' | 'targetDiagnostic';
|
|
206
367
|
export interface UserIssueViewModel {
|
|
207
368
|
issueId: string;
|
|
208
369
|
category: UserIssueCategory;
|
|
370
|
+
group: UserIssueGroup;
|
|
209
371
|
title: string;
|
|
210
372
|
explanation: string;
|
|
211
373
|
impact: string[];
|
|
@@ -224,16 +386,19 @@ export interface UserIssueViewModel {
|
|
|
224
386
|
sourceIdentity?: string;
|
|
225
387
|
rootCode?: TargetIssueRootCode;
|
|
226
388
|
mergeEligible?: boolean;
|
|
389
|
+
relationship?: 'direct' | 'consumer';
|
|
390
|
+
rootEntity?: TargetIssueEntityViewModel;
|
|
391
|
+
affectedTargets?: AffectedTargetViewModel[];
|
|
227
392
|
placements?: Scope[];
|
|
228
393
|
requiredFields?: Array<{
|
|
229
394
|
key: string;
|
|
230
395
|
title: string;
|
|
231
|
-
type: 'missing-required' | 'invalid-config';
|
|
232
|
-
source: 'default' | 'user' | 'project' | '
|
|
396
|
+
type: 'missing-required' | 'invalid-config' | 'sharedCompositeContainsLocalPath' | 'configLayerUnsupported';
|
|
397
|
+
source: 'default' | 'user' | 'project' | 'missing';
|
|
398
|
+
scope: Scope;
|
|
233
399
|
}>;
|
|
234
400
|
configLayer?: {
|
|
235
401
|
scope: Scope;
|
|
236
|
-
projectLayer: 'shared' | 'local';
|
|
237
402
|
};
|
|
238
403
|
actions: UserIssueActionViewModel[];
|
|
239
404
|
technicalDetails: Array<{
|
|
@@ -249,10 +414,13 @@ export interface TuiViewModel {
|
|
|
249
414
|
issues: UserIssueViewModel[];
|
|
250
415
|
home: HomeSummaryViewModel;
|
|
251
416
|
dependencyOverviews: PluginDependencyOverviewViewModel[];
|
|
417
|
+
contentOverviews: Record<string, PluginContentOverview>;
|
|
252
418
|
}
|
|
253
419
|
export interface PortableSkillCandidateViewModel {
|
|
254
420
|
name: string;
|
|
255
421
|
description: string;
|
|
422
|
+
shortDescription?: string;
|
|
423
|
+
shortDescriptionSource?: 'metadata' | 'fallback';
|
|
256
424
|
selected: boolean;
|
|
257
425
|
providerPluginId: string;
|
|
258
426
|
providerDisplayName: string;
|
|
@@ -280,29 +448,54 @@ export interface PortableSkillSelectionViewModel {
|
|
|
280
448
|
};
|
|
281
449
|
canContinue: boolean;
|
|
282
450
|
}
|
|
283
|
-
export declare function
|
|
451
|
+
export declare function isDirectCodexVersionUpgrade(target: StatusScopedTarget, revision: TargetRevisionState): boolean;
|
|
452
|
+
export declare function isPureNativeCodexTarget(target: StatusScopedTarget): boolean;
|
|
453
|
+
export declare function hasScopedExtensionOwnership(target: StatusScopedTarget): boolean;
|
|
454
|
+
export declare function hasActualScopeEvidence(target: StatusScopedTarget): boolean;
|
|
455
|
+
export declare function dependencyPlacementTargets(plan: ReconcileOperationPlan): DependencyPlacementTargetViewModel[];
|
|
456
|
+
export declare function projectPlatformPlacement(platform: PlatformName, targets: StatusScopedTarget[], revisions?: StatusTargetRevision[]): PlatformPlacementSummary;
|
|
284
457
|
export declare function buildPluginPreviewActions(plugin: PluginListItemViewModel): PluginMenuAction[];
|
|
285
458
|
export declare function buildPluginDetailActions(plugin: PluginListItemViewModel): PluginMenuAction[];
|
|
286
459
|
export declare function buildPlatformActions(plugin: PluginListItemViewModel, platform: PlatformName): PluginMenuAction[];
|
|
287
460
|
export declare function hasInstalledPlacement(plugin: PluginListItemViewModel): boolean;
|
|
288
461
|
export declare function buildTuiViewModel(options: {
|
|
289
|
-
status:
|
|
290
|
-
pluginSummaries:
|
|
462
|
+
status: StatusV8Payload;
|
|
463
|
+
pluginSummaries: StatusV8PluginSummary[];
|
|
291
464
|
targetRevisions?: StatusTargetRevision[];
|
|
292
465
|
sourceHealth?: ReadonlyMap<string, SourceHealthViewModel>;
|
|
293
466
|
sourceDetails?: SourceDetailViewModel[];
|
|
467
|
+
catalogFreshness?: ReadonlyMap<string, CatalogSourceFreshnessViewModel>;
|
|
468
|
+
catalogGenerations?: ReadonlyMap<string, CatalogSourceGenerationViewModel>;
|
|
294
469
|
dependencyOverviews?: PluginDependencyOverviewViewModel[];
|
|
470
|
+
contentOverviews?: Record<string, PluginContentOverview>;
|
|
295
471
|
portablePluginIds?: string[];
|
|
472
|
+
configStoreInventory?: Array<{
|
|
473
|
+
pluginId: string;
|
|
474
|
+
sourceId: string;
|
|
475
|
+
pluginName: string;
|
|
476
|
+
scope: Scope;
|
|
477
|
+
}>;
|
|
296
478
|
}): TuiViewModel;
|
|
297
479
|
export declare function buildConfigGroups(options: {
|
|
298
480
|
schema: PluginConfigSchema;
|
|
299
481
|
read: ResolvedConfigRead;
|
|
300
482
|
effectiveRead?: ResolvedConfigRead;
|
|
483
|
+
layerReads?: Partial<Record<Scope, ResolvedConfigRead>>;
|
|
301
484
|
dirtyKeys?: ReadonlySet<string>;
|
|
485
|
+
rawValues?: Record<string, PluginConfigValue>;
|
|
486
|
+
rawLayerValues?: Partial<Record<Scope, Record<string, PluginConfigValue>>>;
|
|
487
|
+
effectiveRawValues?: Record<string, PluginConfigValue>;
|
|
488
|
+
sharedNativeRefreshKeys?: ReadonlySet<string>;
|
|
302
489
|
}): ConfigGroupViewModel[];
|
|
303
490
|
export declare function buildConfigPage(options: {
|
|
304
491
|
pluginId: string;
|
|
305
492
|
schema: PluginConfigSchema;
|
|
306
493
|
read: ResolvedConfigRead;
|
|
307
494
|
effectiveRead?: ResolvedConfigRead;
|
|
495
|
+
layerReads?: Partial<Record<Scope, ResolvedConfigRead>>;
|
|
496
|
+
rawValues?: Record<string, PluginConfigValue>;
|
|
497
|
+
rawLayerValues?: Partial<Record<Scope, Record<string, PluginConfigValue>>>;
|
|
498
|
+
effectiveRawValues?: Record<string, PluginConfigValue>;
|
|
499
|
+
sharedNativeRefreshKeys?: ReadonlySet<string>;
|
|
308
500
|
}): ConfigPageViewModel;
|
|
501
|
+
export declare function configValuesEqual(left: PluginConfigValue | undefined, right: PluginConfigValue | undefined): boolean;
|