@lesliechan721/aw 0.1.0-beta.4 → 0.1.0-beta.41
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-version-check.d.mts +15 -0
- package/dist/authoring/scripts/lib/plugin-version-check.mjs +239 -232
- package/dist/authoring/scripts/lib/plugin-version-check.mjs.map +1 -1
- package/dist/authoring/scripts/lib/skill-scaffold.d.mts +77 -90
- package/dist/authoring/scripts/lib/skill-scaffold.mjs +99 -120
- 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 +367 -0
- package/dist/authoring/scripts/remove-plugin.mjs.map +1 -0
- package/dist/authoring/scripts/validate-plugin.mjs +353 -1175
- package/dist/authoring/scripts/validate-plugin.mjs.map +1 -1
- 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 -2
- package/dist/scripts/bundle-plugins.js +24 -7
- package/dist/scripts/bundle-plugins.js.map +1 -1
- package/dist/scripts/plugin-staging.d.ts +7 -24
- package/dist/scripts/plugin-staging.js +22 -142
- package/dist/scripts/plugin-staging.js.map +1 -1
- package/dist/scripts/test-plugin-scripts.d.ts +2 -0
- package/dist/scripts/test-plugin-scripts.js +30 -75
- package/dist/scripts/test-plugin-scripts.js.map +1 -1
- 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 +26 -2
- package/dist/src/authoring/workspace-commands.js +44 -19
- 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 +263 -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 +138 -0
- package/dist/src/commands/catalog-publication-inspection.js +757 -0
- package/dist/src/commands/catalog-publication-inspection.js.map +1 -0
- 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 +77 -7
- package/dist/src/commands/catalog-publish.js +746 -316
- 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 +56 -0
- package/dist/src/commands/catalog-status.js +217 -0
- package/dist/src/commands/catalog-status.js.map +1 -0
- 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/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 +146 -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 +46 -0
- package/dist/src/commands/operation-planner.js +141 -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.d.ts +22 -0
- package/dist/src/commands/plugin-capabilities.js +163 -0
- package/dist/src/commands/plugin-capabilities.js.map +1 -0
- package/dist/src/commands/rebuild-command.d.ts +78 -30
- package/dist/src/commands/rebuild-command.js +4877 -713
- package/dist/src/commands/rebuild-command.js.map +1 -1
- package/dist/src/commands/rebuild-integration.d.ts +132 -21
- package/dist/src/commands/rebuild-integration.js +2853 -1327
- package/dist/src/commands/rebuild-integration.js.map +1 -1
- package/dist/src/commands/rebuild-operations.d.ts +58 -30
- package/dist/src/commands/rebuild-operations.js +260 -319
- 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 +228 -0
- package/dist/src/commands/review-inspection.js +1341 -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 +24 -50
- 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 +2787 -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 +250 -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 +127 -31
- package/dist/src/commands/write-commands.js.map +1 -1
- package/dist/src/constants.d.ts +7 -1
- package/dist/src/constants.js +7 -1
- package/dist/src/constants.js.map +1 -1
- package/dist/src/eval/manifest-v1.d.ts +71 -0
- package/dist/src/eval/manifest-v1.js +370 -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 +228 -104
- package/dist/src/generators/local-plugin.js.map +1 -1
- package/dist/src/index.d.ts +10 -4
- package/dist/src/index.js +1835 -469
- package/dist/src/index.js.map +1 -1
- package/dist/src/output/command-receipt.d.ts +43 -46
- package/dist/src/output/command-receipt.js +256 -80
- 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 +1 -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 +179 -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 +66 -19
- 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 +13 -0
- package/dist/src/review/skill-materialization.js +75 -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 +177 -0
- package/dist/src/tui/components.js +297 -7
- 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 +16 -0
- package/dist/src/tui/config-leaf-editor.js +206 -0
- package/dist/src/tui/config-leaf-editor.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 +9659 -1558
- 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 +13 -1
- package/dist/src/tui/controller-runtime.js +3323 -349
- package/dist/src/tui/controller-runtime.js.map +1 -1
- package/dist/src/tui/controller.d.ts +643 -40
- package/dist/src/tui/controller.js +3756 -705
- 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 +567 -0
- package/dist/src/tui/diagnostic-projection.js.map +1 -0
- package/dist/src/tui/diagnostics.d.ts +31 -0
- package/dist/src/tui/diagnostics.js +83 -0
- package/dist/src/tui/diagnostics.js.map +1 -0
- 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 +11 -4
- package/dist/src/tui/index.js +8 -2
- 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 +248 -27
- package/dist/src/tui/model.js +1662 -314
- 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 +1295 -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 +207 -14
- package/dist/src/tui/router.js +352 -29
- 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 +30 -10
- package/dist/src/tui/theme.js +30 -10
- package/dist/src/tui/theme.js.map +1 -1
- package/dist/src/tui/viewport.d.ts +21 -0
- package/dist/src/tui/viewport.js +52 -0
- package/dist/src/tui/viewport.js.map +1 -0
- 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 +244 -20
- 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 +41 -8
- package/dist/src/utils/agent-version.js.map +1 -1
- package/dist/src/utils/artifact-plan.d.ts +5 -4
- package/dist/src/utils/artifact-plan.js +18 -7
- package/dist/src/utils/artifact-plan.js.map +1 -1
- package/dist/src/utils/artifact-renderer.d.ts +17 -7
- package/dist/src/utils/artifact-renderer.js +214 -216
- package/dist/src/utils/artifact-renderer.js.map +1 -1
- package/dist/src/utils/artifact-request.d.ts +21 -0
- package/dist/src/utils/artifact-request.js +78 -0
- package/dist/src/utils/artifact-request.js.map +1 -0
- 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 +22 -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 +50 -2
- 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 +4 -7
- package/dist/src/utils/catalog-runtime-projection.js +7 -102
- 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/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 +745 -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-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 +4 -0
- package/dist/src/utils/dynamic-skill-tree.js +36 -6
- 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 +169 -144
- package/dist/src/utils/git-catalog-provider.js.map +1 -1
- package/dist/src/utils/local-marketplace.d.ts +17 -1
- package/dist/src/utils/local-marketplace.js +301 -84
- package/dist/src/utils/local-marketplace.js.map +1 -1
- package/dist/src/utils/manifest.d.ts +1 -4
- package/dist/src/utils/manifest.js +1 -4
- 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 +55 -7
- package/dist/src/utils/native-cli.js +386 -57
- package/dist/src/utils/native-cli.js.map +1 -1
- 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 +84 -20
- package/dist/src/utils/ownership.js +179 -222
- 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 +33 -0
- package/dist/src/utils/plugin-config-impact.js +298 -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 +1000 -296
- 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 +1163 -1017
- 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 +65 -125
- package/dist/src/utils/plugin-scripts.js +482 -524
- package/dist/src/utils/plugin-scripts.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/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/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/skill-validation.d.ts +1 -1
- package/dist/src/utils/skill-validation.js +1 -1
- package/dist/src/utils/skill-validation.js.map +1 -1
- package/dist/src/utils/state-paths.d.ts +1 -0
- package/dist/src/utils/state-paths.js +12 -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 +9 -0
- package/dist/src/utils/windows-claude-shim.js +141 -0
- package/dist/src/utils/windows-claude-shim.js.map +1 -0
- package/dist/vitest.config.js +91 -10
- package/dist/vitest.config.js.map +1 -1
- package/package.json +22 -19
- 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/status-v4.d.ts +0 -102
- package/dist/src/commands/status-v4.js +0 -844
- 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 -61
- package/dist/src/utils/catalog-source-cache.js +0 -276
- 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-authoring-capabilities.d.ts +0 -23
- package/dist/src/utils/plugin-authoring-capabilities.js +0 -37
- package/dist/src/utils/plugin-authoring-capabilities.js.map +0 -1
- package/dist/src/utils/plugin-authoring-capabilities.json +0 -92
- package/dist/src/utils/plugin-release.d.ts +0 -2
- package/dist/src/utils/plugin-release.js +0 -2
- package/dist/src/utils/plugin-release.js.map +0 -1
- package/dist/src/utils/skill-frontmatter-capabilities.d.ts +0 -201
- package/dist/src/utils/skill-frontmatter-capabilities.js +0 -5
- package/dist/src/utils/skill-frontmatter-capabilities.js.map +0 -1
- package/dist/src/utils/skill-frontmatter-capabilities.json +0 -200
- /package/dist/authoring/scripts/{check-plugin-versions.d.mts → remove-plugin.d.mts} +0 -0
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,7 +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';
|
|
10
|
+
import type { CatalogSourceFreshnessViewModel } from './catalog-freshness.js';
|
|
11
|
+
import type { CatalogSourceGenerationViewModel } from './catalog-generation.js';
|
|
12
|
+
export type SourceHealthState = 'ready' | 'unavailable';
|
|
5
13
|
export interface SourceHealthViewModel {
|
|
6
14
|
sourceId: string;
|
|
7
15
|
state: SourceHealthState;
|
|
@@ -12,19 +20,72 @@ export type PlatformPlacementSummary = {
|
|
|
12
20
|
platform: PlatformName;
|
|
13
21
|
state: 'notInstalled';
|
|
14
22
|
supportedScopes: Scope[];
|
|
23
|
+
} | {
|
|
24
|
+
platform: PlatformName;
|
|
25
|
+
state: 'blocked';
|
|
26
|
+
supportedScopes: Scope[];
|
|
27
|
+
reason: 'artifactCollision';
|
|
15
28
|
} | {
|
|
16
29
|
platform: PlatformName;
|
|
17
30
|
state: 'installed';
|
|
18
31
|
scope: Scope;
|
|
19
32
|
health: 'ready' | 'incomplete' | 'error';
|
|
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
|
+
}>;
|
|
20
51
|
} | {
|
|
21
52
|
platform: PlatformName;
|
|
22
53
|
state: 'scopeConflict';
|
|
23
54
|
placements: Array<{
|
|
24
55
|
scope: Scope;
|
|
25
56
|
health: 'ready' | 'incomplete' | 'error';
|
|
57
|
+
revision: TargetRevisionState;
|
|
26
58
|
}>;
|
|
27
59
|
};
|
|
60
|
+
export type PluginMenuAction = {
|
|
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;
|
|
73
|
+
} | {
|
|
74
|
+
id: 'platform' | 'scopeConflict';
|
|
75
|
+
platform: PlatformName;
|
|
76
|
+
} | {
|
|
77
|
+
id: 'refreshAndSync';
|
|
78
|
+
platform: PlatformName;
|
|
79
|
+
scope: Scope;
|
|
80
|
+
availableVersion: string;
|
|
81
|
+
installedVersion: string;
|
|
82
|
+
sourceIdentity: string;
|
|
83
|
+
generationKey: string;
|
|
84
|
+
} | {
|
|
85
|
+
id: 'sync' | 'reinstall' | 'remove' | 'cleanup';
|
|
86
|
+
platform: PlatformName;
|
|
87
|
+
scope: Scope;
|
|
88
|
+
};
|
|
28
89
|
export interface PluginListItemViewModel {
|
|
29
90
|
pluginId: string;
|
|
30
91
|
sourceId: string;
|
|
@@ -34,18 +95,65 @@ export interface PluginListItemViewModel {
|
|
|
34
95
|
configFieldCount: number;
|
|
35
96
|
sourceLabel: string;
|
|
36
97
|
supportedPlatforms: PlatformName[];
|
|
98
|
+
supportedScopes?: Partial<Record<PlatformName, Scope[]>>;
|
|
37
99
|
installedPlacements: PlatformPlacementSummary[];
|
|
38
100
|
aggregateStatus: 'available' | 'installed' | 'needsAttention' | 'unavailable';
|
|
101
|
+
primaryAttention?: {
|
|
102
|
+
severity: 'warning' | 'error';
|
|
103
|
+
code: string;
|
|
104
|
+
message: string;
|
|
105
|
+
};
|
|
39
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;
|
|
40
115
|
dependencySummary?: PluginDependencySummaryViewModel;
|
|
41
116
|
technicalComponents: Array<{
|
|
42
117
|
platform: PlatformName;
|
|
43
|
-
scope
|
|
118
|
+
scope?: Scope;
|
|
119
|
+
shared?: true;
|
|
44
120
|
key: string;
|
|
45
|
-
state:
|
|
121
|
+
state: StatusV8Component['state'];
|
|
46
122
|
errorCode?: string;
|
|
47
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;
|
|
48
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[];
|
|
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;
|
|
49
157
|
export interface PluginDependencySummaryViewModel {
|
|
50
158
|
directCount: number;
|
|
51
159
|
transitiveCount: number;
|
|
@@ -79,6 +187,7 @@ export interface PluginDependencyItemViewModel {
|
|
|
79
187
|
placements: PlatformPlacementSummary[];
|
|
80
188
|
aggregateStatus: 'ready' | 'notInstalled' | 'needsAttention' | 'unavailable';
|
|
81
189
|
placementReferences?: DependencyPlacementReferenceViewModel[];
|
|
190
|
+
availablePlacementReferences?: DependencyPlacementReferenceViewModel[];
|
|
82
191
|
}
|
|
83
192
|
export interface PluginDependencyBlockerViewModel {
|
|
84
193
|
code: string;
|
|
@@ -92,28 +201,60 @@ export interface PluginDependencyOverviewViewModel {
|
|
|
92
201
|
dependents: PluginDependencyItemViewModel[];
|
|
93
202
|
blockers: PluginDependencyBlockerViewModel[];
|
|
94
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
|
+
}
|
|
95
234
|
export interface SourceTabViewModel {
|
|
96
235
|
id: string;
|
|
97
236
|
label: string;
|
|
98
237
|
count?: number;
|
|
99
238
|
primary: boolean;
|
|
100
|
-
state: 'ready' | '
|
|
239
|
+
state: 'ready' | 'checking' | 'update' | 'recovery' | 'error';
|
|
101
240
|
}
|
|
102
241
|
export interface SourceDetailViewModel {
|
|
103
242
|
id: string;
|
|
104
243
|
type: 'git' | 'path';
|
|
105
244
|
primary: boolean;
|
|
245
|
+
autoCheck: boolean;
|
|
106
246
|
locationSummary: string;
|
|
107
247
|
refPolicy?: 'cliChannel' | 'explicit';
|
|
108
248
|
explicitRef?: string;
|
|
109
249
|
subdir?: string;
|
|
110
|
-
pluginCount
|
|
250
|
+
pluginCount?: number;
|
|
111
251
|
sourceIdentity: string;
|
|
112
252
|
requestedRef: string;
|
|
113
253
|
resolvedCommit?: string;
|
|
114
254
|
catalogVersion?: string;
|
|
115
255
|
channel?: string;
|
|
116
|
-
freshness?: '
|
|
256
|
+
freshness?: 'active';
|
|
257
|
+
errorCode?: string;
|
|
117
258
|
configDigest: string;
|
|
118
259
|
}
|
|
119
260
|
export interface HomeSummaryViewModel {
|
|
@@ -121,31 +262,56 @@ export interface HomeSummaryViewModel {
|
|
|
121
262
|
installedPlugins: number;
|
|
122
263
|
issueCount: number;
|
|
123
264
|
sourceCount: number;
|
|
124
|
-
cachedSourceCount: number;
|
|
125
265
|
unavailableSourceCount: number;
|
|
266
|
+
catalogUpdateCount: number;
|
|
267
|
+
catalogRecoveryCount: number;
|
|
268
|
+
catalogCheckingCount: number;
|
|
269
|
+
pluginUpdateCount: number;
|
|
270
|
+
directPluginUpdateCount: number;
|
|
126
271
|
}
|
|
127
272
|
export interface ConfigFieldViewModel {
|
|
128
273
|
key: string;
|
|
129
274
|
title: string;
|
|
130
275
|
description?: string;
|
|
131
276
|
type: PluginConfigFieldType;
|
|
277
|
+
definition: PluginConfigSchemaField;
|
|
278
|
+
summary?: PluginConfigJoinSummary;
|
|
279
|
+
itemSummary?: PluginConfigJoinSummary;
|
|
132
280
|
displayValue: string;
|
|
133
281
|
required: boolean;
|
|
134
282
|
sensitive: boolean;
|
|
283
|
+
writable: boolean;
|
|
284
|
+
canSet: boolean;
|
|
285
|
+
canUnset: boolean;
|
|
135
286
|
dirty: boolean;
|
|
136
287
|
inherited: boolean;
|
|
137
288
|
configured: boolean;
|
|
138
289
|
sourceLabel: string;
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
290
|
+
effectiveDisplayValue: string;
|
|
291
|
+
effectiveSourceLabel: string;
|
|
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;
|
|
144
309
|
placeholder?: string;
|
|
145
310
|
unit?: string;
|
|
146
311
|
min?: number;
|
|
147
312
|
max?: number;
|
|
148
313
|
advanced: boolean;
|
|
314
|
+
sharedNativeRender?: boolean;
|
|
149
315
|
}
|
|
150
316
|
export interface ConfigGroupViewModel {
|
|
151
317
|
id: string;
|
|
@@ -154,22 +320,31 @@ export interface ConfigGroupViewModel {
|
|
|
154
320
|
advanced: boolean;
|
|
155
321
|
fields: ConfigFieldViewModel[];
|
|
156
322
|
}
|
|
157
|
-
export interface ConfigPresetViewModel
|
|
158
|
-
|
|
323
|
+
export interface ConfigPresetViewModel {
|
|
324
|
+
id: string;
|
|
325
|
+
title: string;
|
|
326
|
+
description?: string;
|
|
327
|
+
values: Record<string, PluginConfigValue>;
|
|
159
328
|
privateFieldTitles?: string[];
|
|
160
329
|
}
|
|
330
|
+
export interface ConfigEditEvidence {
|
|
331
|
+
sourceIdentity: string;
|
|
332
|
+
schemaIdentity: string;
|
|
333
|
+
storeDigests: Partial<Record<Scope, string>>;
|
|
334
|
+
}
|
|
161
335
|
export interface ConfigPageViewModel {
|
|
336
|
+
editEvidence?: ConfigEditEvidence;
|
|
162
337
|
pluginId: string;
|
|
163
338
|
layer: {
|
|
164
339
|
scope: Scope | 'effective';
|
|
165
|
-
projectLayer: 'shared' | 'local';
|
|
166
340
|
};
|
|
167
341
|
groups: ConfigGroupViewModel[];
|
|
168
342
|
presets: ConfigPresetViewModel[];
|
|
169
343
|
storedCount: number;
|
|
170
344
|
}
|
|
171
|
-
export type UserIssueCategory = 'incompleteInstallation' | '
|
|
172
|
-
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';
|
|
173
348
|
export interface UserIssueActionViewModel {
|
|
174
349
|
id: UserIssueActionId;
|
|
175
350
|
label: string;
|
|
@@ -178,12 +353,21 @@ export interface UserIssueActionViewModel {
|
|
|
178
353
|
platform?: PlatformName;
|
|
179
354
|
scope?: Scope;
|
|
180
355
|
project?: 'current' | 'other' | null;
|
|
181
|
-
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';
|
|
182
366
|
}
|
|
183
|
-
export type TargetIssueRootCode = 'partial' | 'sourceMissing' | 'sourceChanged' | 'catalogSourceUnavailable' | 'bundleUnavailable' | 'dependencyMissing' | 'dependencyNotReady' | 'dependencyTargetUnsupported' | 'dependencyStillRequired' | 'dependencyGraphInvalid' | 'targetDiagnostic';
|
|
184
367
|
export interface UserIssueViewModel {
|
|
185
368
|
issueId: string;
|
|
186
369
|
category: UserIssueCategory;
|
|
370
|
+
group: UserIssueGroup;
|
|
187
371
|
title: string;
|
|
188
372
|
explanation: string;
|
|
189
373
|
impact: string[];
|
|
@@ -202,22 +386,26 @@ export interface UserIssueViewModel {
|
|
|
202
386
|
sourceIdentity?: string;
|
|
203
387
|
rootCode?: TargetIssueRootCode;
|
|
204
388
|
mergeEligible?: boolean;
|
|
389
|
+
relationship?: 'direct' | 'consumer';
|
|
390
|
+
rootEntity?: TargetIssueEntityViewModel;
|
|
391
|
+
affectedTargets?: AffectedTargetViewModel[];
|
|
205
392
|
placements?: Scope[];
|
|
206
393
|
requiredFields?: Array<{
|
|
207
394
|
key: string;
|
|
208
395
|
title: string;
|
|
209
|
-
type: 'missing-required' | 'invalid-config';
|
|
210
|
-
source: 'default' | 'user' | 'project' | '
|
|
396
|
+
type: 'missing-required' | 'invalid-config' | 'sharedCompositeContainsLocalPath' | 'configLayerUnsupported';
|
|
397
|
+
source: 'default' | 'user' | 'project' | 'missing';
|
|
398
|
+
scope: Scope;
|
|
211
399
|
}>;
|
|
212
400
|
configLayer?: {
|
|
213
401
|
scope: Scope;
|
|
214
|
-
projectLayer: 'shared' | 'local';
|
|
215
402
|
};
|
|
216
403
|
actions: UserIssueActionViewModel[];
|
|
217
404
|
technicalDetails: Array<{
|
|
218
405
|
code: string;
|
|
219
406
|
message: string;
|
|
220
407
|
}>;
|
|
408
|
+
diagnostic: DiagnosticSummaryViewModel;
|
|
221
409
|
}
|
|
222
410
|
export interface TuiViewModel {
|
|
223
411
|
plugins: PluginListItemViewModel[];
|
|
@@ -226,10 +414,13 @@ export interface TuiViewModel {
|
|
|
226
414
|
issues: UserIssueViewModel[];
|
|
227
415
|
home: HomeSummaryViewModel;
|
|
228
416
|
dependencyOverviews: PluginDependencyOverviewViewModel[];
|
|
417
|
+
contentOverviews: Record<string, PluginContentOverview>;
|
|
229
418
|
}
|
|
230
419
|
export interface PortableSkillCandidateViewModel {
|
|
231
420
|
name: string;
|
|
232
421
|
description: string;
|
|
422
|
+
shortDescription?: string;
|
|
423
|
+
shortDescriptionSource?: 'metadata' | 'fallback';
|
|
233
424
|
selected: boolean;
|
|
234
425
|
providerPluginId: string;
|
|
235
426
|
providerDisplayName: string;
|
|
@@ -257,23 +448,53 @@ export interface PortableSkillSelectionViewModel {
|
|
|
257
448
|
};
|
|
258
449
|
canContinue: boolean;
|
|
259
450
|
}
|
|
260
|
-
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 hasActualScopeEvidence(target: StatusScopedTarget): boolean;
|
|
454
|
+
export declare function dependencyPlacementTargets(plan: ReconcileOperationPlan): DependencyPlacementTargetViewModel[];
|
|
455
|
+
export declare function projectPlatformPlacement(platform: PlatformName, targets: StatusScopedTarget[], revisions?: StatusTargetRevision[]): PlatformPlacementSummary;
|
|
456
|
+
export declare function buildPluginPreviewActions(plugin: PluginListItemViewModel): PluginMenuAction[];
|
|
457
|
+
export declare function buildPluginDetailActions(plugin: PluginListItemViewModel): PluginMenuAction[];
|
|
458
|
+
export declare function buildPlatformActions(plugin: PluginListItemViewModel, platform: PlatformName): PluginMenuAction[];
|
|
261
459
|
export declare function hasInstalledPlacement(plugin: PluginListItemViewModel): boolean;
|
|
262
460
|
export declare function buildTuiViewModel(options: {
|
|
263
|
-
status:
|
|
264
|
-
pluginSummaries:
|
|
461
|
+
status: StatusV8Payload;
|
|
462
|
+
pluginSummaries: StatusV8PluginSummary[];
|
|
463
|
+
targetRevisions?: StatusTargetRevision[];
|
|
265
464
|
sourceHealth?: ReadonlyMap<string, SourceHealthViewModel>;
|
|
266
465
|
sourceDetails?: SourceDetailViewModel[];
|
|
466
|
+
catalogFreshness?: ReadonlyMap<string, CatalogSourceFreshnessViewModel>;
|
|
467
|
+
catalogGenerations?: ReadonlyMap<string, CatalogSourceGenerationViewModel>;
|
|
267
468
|
dependencyOverviews?: PluginDependencyOverviewViewModel[];
|
|
469
|
+
contentOverviews?: Record<string, PluginContentOverview>;
|
|
268
470
|
portablePluginIds?: string[];
|
|
471
|
+
configStoreInventory?: Array<{
|
|
472
|
+
pluginId: string;
|
|
473
|
+
sourceId: string;
|
|
474
|
+
pluginName: string;
|
|
475
|
+
scope: Scope;
|
|
476
|
+
}>;
|
|
269
477
|
}): TuiViewModel;
|
|
270
478
|
export declare function buildConfigGroups(options: {
|
|
271
479
|
schema: PluginConfigSchema;
|
|
272
480
|
read: ResolvedConfigRead;
|
|
481
|
+
effectiveRead?: ResolvedConfigRead;
|
|
482
|
+
layerReads?: Partial<Record<Scope, ResolvedConfigRead>>;
|
|
273
483
|
dirtyKeys?: ReadonlySet<string>;
|
|
484
|
+
rawValues?: Record<string, PluginConfigValue>;
|
|
485
|
+
rawLayerValues?: Partial<Record<Scope, Record<string, PluginConfigValue>>>;
|
|
486
|
+
effectiveRawValues?: Record<string, PluginConfigValue>;
|
|
487
|
+
sharedNativeRefreshKeys?: ReadonlySet<string>;
|
|
274
488
|
}): ConfigGroupViewModel[];
|
|
275
489
|
export declare function buildConfigPage(options: {
|
|
276
490
|
pluginId: string;
|
|
277
491
|
schema: PluginConfigSchema;
|
|
278
492
|
read: ResolvedConfigRead;
|
|
493
|
+
effectiveRead?: ResolvedConfigRead;
|
|
494
|
+
layerReads?: Partial<Record<Scope, ResolvedConfigRead>>;
|
|
495
|
+
rawValues?: Record<string, PluginConfigValue>;
|
|
496
|
+
rawLayerValues?: Partial<Record<Scope, Record<string, PluginConfigValue>>>;
|
|
497
|
+
effectiveRawValues?: Record<string, PluginConfigValue>;
|
|
498
|
+
sharedNativeRefreshKeys?: ReadonlySet<string>;
|
|
279
499
|
}): ConfigPageViewModel;
|
|
500
|
+
export declare function configValuesEqual(left: PluginConfigValue | undefined, right: PluginConfigValue | undefined): boolean;
|