@lesliechan721/aw 0.1.0-beta.3 → 0.1.0-beta.30
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/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 +307 -1173
- 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 +27 -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 +256 -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 +127 -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 +159 -0
- package/dist/src/commands/plugin-capabilities.js.map +1 -0
- package/dist/src/commands/rebuild-command.d.ts +77 -30
- package/dist/src/commands/rebuild-command.js +3993 -711
- package/dist/src/commands/rebuild-command.js.map +1 -1
- package/dist/src/commands/rebuild-integration.d.ts +120 -21
- package/dist/src/commands/rebuild-integration.js +2765 -1326
- 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 +259 -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 +38 -0
- package/dist/src/commands/skill-eval.js +388 -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 +2697 -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 +3 -4
- package/dist/src/commands/wizard.js +2 -2
- 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 +124 -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 +225 -104
- package/dist/src/generators/local-plugin.js.map +1 -1
- package/dist/src/index.d.ts +10 -4
- package/dist/src/index.js +1787 -476
- 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 +160 -38
- 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 +177 -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 +182 -0
- package/dist/src/review/source-binding.js +682 -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 +28 -0
- package/dist/src/tui/catalog-sources/session.js +295 -0
- package/dist/src/tui/catalog-sources/session.js.map +1 -0
- package/dist/src/tui/catalog-sources/types.d.ts +53 -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/components.d.ts +128 -0
- package/dist/src/tui/components.js +251 -7
- package/dist/src/tui/components.js.map +1 -1
- package/dist/src/tui/console-app-v4.d.ts +14 -4
- package/dist/src/tui/console-app-v4.js +9248 -1461
- package/dist/src/tui/console-app-v4.js.map +1 -1
- package/dist/src/tui/controller-runtime.d.ts +13 -1
- package/dist/src/tui/controller-runtime.js +3338 -410
- package/dist/src/tui/controller-runtime.js.map +1 -1
- package/dist/src/tui/controller.d.ts +614 -40
- package/dist/src/tui/controller.js +3478 -708
- package/dist/src/tui/controller.js.map +1 -1
- package/dist/src/tui/dependency-graph.d.ts +81 -0
- package/dist/src/tui/dependency-graph.js +455 -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 +30 -0
- package/dist/src/tui/diagnostics.js +76 -0
- package/dist/src/tui/diagnostics.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 +8 -0
- package/dist/src/tui/input-display.js +36 -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 +235 -27
- package/dist/src/tui/model.js +1652 -304
- package/dist/src/tui/model.js.map +1 -1
- package/dist/src/tui/operation-diagnostic-screens.d.ts +21 -0
- package/dist/src/tui/operation-diagnostic-screens.js +102 -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 +135 -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 +1254 -0
- package/dist/src/tui/operation-review-planner.js.map +1 -0
- package/dist/src/tui/plugin-content.d.ts +23 -0
- package/dist/src/tui/plugin-content.js +336 -0
- package/dist/src/tui/plugin-content.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/prompt.js +4 -15
- package/dist/src/tui/prompt.js.map +1 -1
- package/dist/src/tui/router.d.ts +183 -11
- 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 +702 -0
- package/dist/src/tui/screen-registry.js +231 -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-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 +18 -10
- package/dist/src/tui/theme.js +18 -10
- package/dist/src/tui/theme.js.map +1 -1
- package/dist/src/tui/viewport.d.ts +20 -0
- package/dist/src/tui/viewport.js +29 -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 +11 -9
- package/dist/src/tui/wizard.js.map +1 -1
- package/dist/src/types.d.ts +242 -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 +13 -7
- package/dist/src/utils/artifact-renderer.js +196 -219
- 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 +82 -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 +14 -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 +18 -0
- package/dist/src/utils/git-catalog-provider.js +170 -144
- package/dist/src/utils/git-catalog-provider.js.map +1 -1
- package/dist/src/utils/local-marketplace.d.ts +15 -1
- package/dist/src/utils/local-marketplace.js +307 -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 +990 -298
- package/dist/src/utils/plugin-config-write.js.map +1 -1
- package/dist/src/utils/plugin-config.d.ts +140 -93
- package/dist/src/utils/plugin-config.js +992 -980
- 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 +62 -125
- package/dist/src/utils/plugin-scripts.js +468 -525
- 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/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/model.d.ts
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
import type { PlatformName, PluginConfigFieldType,
|
|
2
|
-
import type {
|
|
1
|
+
import type { PlatformName, PluginConfigFieldType, PluginConfigPreset, PluginConfigSchemaField, PluginConfigSchema, PluginConfigValue, Scope } from '../types.js';
|
|
2
|
+
import type { StatusActivationProjection, StatusExtensionProjection, StatusIntentProjection, StatusSharedNativeProjection, StatusV8Payload, StatusV8PluginSummary, StatusScopedTarget, StatusV8Component, StatusTargetRevision, TargetRevisionState } from '../commands/status-v6.js';
|
|
3
|
+
import type { PluginContentOverview } from './plugin-content.js';
|
|
4
|
+
import type { DependencyAssignmentSource } from '../commands/dependency-operation-plan.js';
|
|
5
|
+
import type { ReconcileOperationPlan } from '../commands/reconcile-operation-plan.js';
|
|
6
|
+
import type { DependencyScopeOverride } from '../types.js';
|
|
3
7
|
import type { ResolvedConfigRead } from '../utils/plugin-config.js';
|
|
4
|
-
|
|
8
|
+
import { type DiagnosticSummaryViewModel } from './diagnostics.js';
|
|
9
|
+
import type { CatalogSourceFreshnessViewModel } from './catalog-freshness.js';
|
|
10
|
+
import type { CatalogSourceGenerationViewModel } from './catalog-generation.js';
|
|
11
|
+
export type SourceHealthState = 'ready' | 'unavailable';
|
|
5
12
|
export interface SourceHealthViewModel {
|
|
6
13
|
sourceId: string;
|
|
7
14
|
state: SourceHealthState;
|
|
@@ -12,19 +19,72 @@ export type PlatformPlacementSummary = {
|
|
|
12
19
|
platform: PlatformName;
|
|
13
20
|
state: 'notInstalled';
|
|
14
21
|
supportedScopes: Scope[];
|
|
22
|
+
} | {
|
|
23
|
+
platform: PlatformName;
|
|
24
|
+
state: 'blocked';
|
|
25
|
+
supportedScopes: Scope[];
|
|
26
|
+
reason: 'artifactCollision';
|
|
15
27
|
} | {
|
|
16
28
|
platform: PlatformName;
|
|
17
29
|
state: 'installed';
|
|
18
30
|
scope: Scope;
|
|
19
31
|
health: 'ready' | 'incomplete' | 'error';
|
|
32
|
+
revision: TargetRevisionState;
|
|
33
|
+
desiredScopes?: Scope[];
|
|
34
|
+
actualScopes?: Scope[];
|
|
35
|
+
relation?: StatusIntentProjection['relation'];
|
|
36
|
+
actualState?: StatusScopedTarget['state'];
|
|
37
|
+
activation?: StatusActivationProjection;
|
|
38
|
+
sharedNative?: StatusSharedNativeProjection;
|
|
39
|
+
extensions?: StatusExtensionProjection;
|
|
40
|
+
recovery?: StatusScopedTarget['recoveryActions'];
|
|
41
|
+
blockingReason?: 'artifactCollision';
|
|
42
|
+
scopedPlacements?: Array<{
|
|
43
|
+
scope: Scope;
|
|
44
|
+
health: 'ready' | 'incomplete' | 'error';
|
|
45
|
+
revision: TargetRevisionState;
|
|
46
|
+
actualState?: StatusScopedTarget['state'];
|
|
47
|
+
recovery?: StatusScopedTarget['recoveryActions'];
|
|
48
|
+
blockingReason?: 'artifactCollision';
|
|
49
|
+
}>;
|
|
20
50
|
} | {
|
|
21
51
|
platform: PlatformName;
|
|
22
52
|
state: 'scopeConflict';
|
|
23
53
|
placements: Array<{
|
|
24
54
|
scope: Scope;
|
|
25
55
|
health: 'ready' | 'incomplete' | 'error';
|
|
56
|
+
revision: TargetRevisionState;
|
|
26
57
|
}>;
|
|
27
58
|
};
|
|
59
|
+
export type PluginMenuAction = {
|
|
60
|
+
id: 'add' | 'manage' | 'repair' | 'portableSkills' | 'dependencies' | 'settings' | 'source' | 'sourceProblem' | 'about' | 'refreshSource' | 'technical' | 'back' | 'outputCollision' | 'upgradeAwCli' | 'capabilityTechnical';
|
|
61
|
+
} | {
|
|
62
|
+
id: 'addScope';
|
|
63
|
+
platform: PlatformName;
|
|
64
|
+
scope: Scope;
|
|
65
|
+
} | {
|
|
66
|
+
id: 'resolveScopeConflict';
|
|
67
|
+
pluginId: string;
|
|
68
|
+
platform: PlatformName;
|
|
69
|
+
scope: Scope;
|
|
70
|
+
keepScope: Scope;
|
|
71
|
+
description: string;
|
|
72
|
+
} | {
|
|
73
|
+
id: 'platform' | 'scopeConflict';
|
|
74
|
+
platform: PlatformName;
|
|
75
|
+
} | {
|
|
76
|
+
id: 'refreshAndSync';
|
|
77
|
+
platform: PlatformName;
|
|
78
|
+
scope: Scope;
|
|
79
|
+
availableVersion: string;
|
|
80
|
+
installedVersion: string;
|
|
81
|
+
sourceIdentity: string;
|
|
82
|
+
generationKey: string;
|
|
83
|
+
} | {
|
|
84
|
+
id: 'sync' | 'reinstall' | 'remove' | 'cleanup';
|
|
85
|
+
platform: PlatformName;
|
|
86
|
+
scope: Scope;
|
|
87
|
+
};
|
|
28
88
|
export interface PluginListItemViewModel {
|
|
29
89
|
pluginId: string;
|
|
30
90
|
sourceId: string;
|
|
@@ -34,18 +94,63 @@ export interface PluginListItemViewModel {
|
|
|
34
94
|
configFieldCount: number;
|
|
35
95
|
sourceLabel: string;
|
|
36
96
|
supportedPlatforms: PlatformName[];
|
|
97
|
+
supportedScopes?: Partial<Record<PlatformName, Scope[]>>;
|
|
37
98
|
installedPlacements: PlatformPlacementSummary[];
|
|
38
99
|
aggregateStatus: 'available' | 'installed' | 'needsAttention' | 'unavailable';
|
|
100
|
+
primaryAttention?: {
|
|
101
|
+
severity: 'warning' | 'error';
|
|
102
|
+
code: string;
|
|
103
|
+
message: string;
|
|
104
|
+
};
|
|
39
105
|
portableSkills: boolean;
|
|
106
|
+
missingCapabilities?: string[];
|
|
107
|
+
capabilityUnsupported?: boolean;
|
|
108
|
+
capabilityRecovery?: string;
|
|
109
|
+
sourceUnavailable?: boolean;
|
|
110
|
+
savedConfigScopes: Scope[];
|
|
111
|
+
configOnly?: true;
|
|
40
112
|
dependencySummary?: PluginDependencySummaryViewModel;
|
|
41
113
|
technicalComponents: Array<{
|
|
42
114
|
platform: PlatformName;
|
|
43
|
-
scope
|
|
115
|
+
scope?: Scope;
|
|
116
|
+
shared?: true;
|
|
44
117
|
key: string;
|
|
45
|
-
state:
|
|
118
|
+
state: StatusV8Component['state'];
|
|
46
119
|
errorCode?: string;
|
|
47
120
|
}>;
|
|
121
|
+
update: PluginUpdateSummary;
|
|
48
122
|
}
|
|
123
|
+
export type PluginUpdateState = 'notChecked' | 'currentAgainstCatalog' | 'available' | 'sourceChangedUnverified' | 'blocked' | 'unknown';
|
|
124
|
+
export interface PluginUpdateTargetSummary {
|
|
125
|
+
platform: PlatformName;
|
|
126
|
+
scope: Scope;
|
|
127
|
+
installedVersion?: string;
|
|
128
|
+
activeVersion?: string;
|
|
129
|
+
candidateVersion?: string;
|
|
130
|
+
availableVersion?: string;
|
|
131
|
+
candidateEvidence?: string;
|
|
132
|
+
missingCapabilities?: string[];
|
|
133
|
+
eligibility: 'allowed' | 'needsRepair' | 'incompatible' | 'unverified';
|
|
134
|
+
requiresCatalogActivation?: true;
|
|
135
|
+
}
|
|
136
|
+
export interface PluginUpdateSummary {
|
|
137
|
+
pluginId: string;
|
|
138
|
+
state: PluginUpdateState;
|
|
139
|
+
checkedAt?: string;
|
|
140
|
+
lastSuccessful?: true;
|
|
141
|
+
sourceIdentity?: string;
|
|
142
|
+
generationKey?: string;
|
|
143
|
+
targets: PluginUpdateTargetSummary[];
|
|
144
|
+
}
|
|
145
|
+
export declare function buildPluginUpdateSummary(options: {
|
|
146
|
+
pluginId: string;
|
|
147
|
+
sourceId: string;
|
|
148
|
+
targetRevisions: StatusTargetRevision[];
|
|
149
|
+
targets: StatusScopedTarget[];
|
|
150
|
+
freshness?: CatalogSourceFreshnessViewModel;
|
|
151
|
+
sourceIdentity?: string;
|
|
152
|
+
generationKey?: string;
|
|
153
|
+
}): PluginUpdateSummary;
|
|
49
154
|
export interface PluginDependencySummaryViewModel {
|
|
50
155
|
directCount: number;
|
|
51
156
|
transitiveCount: number;
|
|
@@ -79,6 +184,7 @@ export interface PluginDependencyItemViewModel {
|
|
|
79
184
|
placements: PlatformPlacementSummary[];
|
|
80
185
|
aggregateStatus: 'ready' | 'notInstalled' | 'needsAttention' | 'unavailable';
|
|
81
186
|
placementReferences?: DependencyPlacementReferenceViewModel[];
|
|
187
|
+
availablePlacementReferences?: DependencyPlacementReferenceViewModel[];
|
|
82
188
|
}
|
|
83
189
|
export interface PluginDependencyBlockerViewModel {
|
|
84
190
|
code: string;
|
|
@@ -92,28 +198,59 @@ export interface PluginDependencyOverviewViewModel {
|
|
|
92
198
|
dependents: PluginDependencyItemViewModel[];
|
|
93
199
|
blockers: PluginDependencyBlockerViewModel[];
|
|
94
200
|
}
|
|
201
|
+
export interface DependencyPlacementTargetViewModel {
|
|
202
|
+
key: string;
|
|
203
|
+
pluginId: string;
|
|
204
|
+
displayName: string;
|
|
205
|
+
platform: PlatformName;
|
|
206
|
+
relation: 'direct' | 'transitive';
|
|
207
|
+
scope: Scope;
|
|
208
|
+
minimumScope: Scope;
|
|
209
|
+
allowedScopes: Scope[];
|
|
210
|
+
locked: boolean;
|
|
211
|
+
requiredBy: string[];
|
|
212
|
+
assignmentSource: DependencyAssignmentSource;
|
|
213
|
+
explanation: string;
|
|
214
|
+
affectsOtherProjects: boolean;
|
|
215
|
+
action: ReconcileOperationPlan['targets'][number]['action'];
|
|
216
|
+
}
|
|
217
|
+
export interface InstallPlacementDraftViewModel {
|
|
218
|
+
pluginId: string;
|
|
219
|
+
rootScope: Scope;
|
|
220
|
+
platforms: PlatformName[];
|
|
221
|
+
dependencyScopeOverrides: DependencyScopeOverride[];
|
|
222
|
+
state: 'selecting' | 'loading' | 'ready' | 'blocked';
|
|
223
|
+
targets: DependencyPlacementTargetViewModel[];
|
|
224
|
+
canContinue: boolean;
|
|
225
|
+
error?: {
|
|
226
|
+
code: string;
|
|
227
|
+
message: string;
|
|
228
|
+
};
|
|
229
|
+
}
|
|
95
230
|
export interface SourceTabViewModel {
|
|
96
231
|
id: string;
|
|
97
232
|
label: string;
|
|
98
233
|
count?: number;
|
|
99
234
|
primary: boolean;
|
|
100
|
-
state: 'ready' | '
|
|
235
|
+
state: 'ready' | 'checking' | 'update' | 'recovery' | 'error';
|
|
101
236
|
}
|
|
102
237
|
export interface SourceDetailViewModel {
|
|
103
238
|
id: string;
|
|
104
239
|
type: 'git' | 'path';
|
|
105
240
|
primary: boolean;
|
|
241
|
+
autoCheck: boolean;
|
|
106
242
|
locationSummary: string;
|
|
107
243
|
refPolicy?: 'cliChannel' | 'explicit';
|
|
108
244
|
explicitRef?: string;
|
|
109
245
|
subdir?: string;
|
|
110
|
-
pluginCount
|
|
246
|
+
pluginCount?: number;
|
|
111
247
|
sourceIdentity: string;
|
|
112
248
|
requestedRef: string;
|
|
113
249
|
resolvedCommit?: string;
|
|
114
250
|
catalogVersion?: string;
|
|
115
251
|
channel?: string;
|
|
116
|
-
freshness?: '
|
|
252
|
+
freshness?: 'active';
|
|
253
|
+
errorCode?: string;
|
|
117
254
|
configDigest: string;
|
|
118
255
|
}
|
|
119
256
|
export interface HomeSummaryViewModel {
|
|
@@ -121,31 +258,54 @@ export interface HomeSummaryViewModel {
|
|
|
121
258
|
installedPlugins: number;
|
|
122
259
|
issueCount: number;
|
|
123
260
|
sourceCount: number;
|
|
124
|
-
cachedSourceCount: number;
|
|
125
261
|
unavailableSourceCount: number;
|
|
262
|
+
catalogUpdateCount: number;
|
|
263
|
+
catalogRecoveryCount: number;
|
|
264
|
+
catalogCheckingCount: number;
|
|
265
|
+
pluginUpdateCount: number;
|
|
266
|
+
directPluginUpdateCount: number;
|
|
126
267
|
}
|
|
127
268
|
export interface ConfigFieldViewModel {
|
|
128
269
|
key: string;
|
|
129
270
|
title: string;
|
|
130
271
|
description?: string;
|
|
131
272
|
type: PluginConfigFieldType;
|
|
273
|
+
definition: PluginConfigSchemaField;
|
|
132
274
|
displayValue: string;
|
|
133
275
|
required: boolean;
|
|
134
276
|
sensitive: boolean;
|
|
277
|
+
writable: boolean;
|
|
278
|
+
canSet: boolean;
|
|
279
|
+
canUnset: boolean;
|
|
135
280
|
dirty: boolean;
|
|
136
281
|
inherited: boolean;
|
|
137
282
|
configured: boolean;
|
|
138
283
|
sourceLabel: string;
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
284
|
+
effectiveDisplayValue: string;
|
|
285
|
+
effectiveSourceLabel: string;
|
|
286
|
+
fallbackDisplayValue?: string;
|
|
287
|
+
fallbackSourceLabel?: string;
|
|
288
|
+
invalidOverrideIssue?: string;
|
|
289
|
+
invalidOverrideOwnedByLayer?: boolean;
|
|
290
|
+
fallbackObjectChanges?: Array<{
|
|
291
|
+
property: string;
|
|
292
|
+
before: string;
|
|
293
|
+
after: string;
|
|
294
|
+
private?: boolean;
|
|
295
|
+
}>;
|
|
296
|
+
value?: PluginConfigValue;
|
|
297
|
+
effectiveValue?: PluginConfigValue;
|
|
298
|
+
draftValue?: PluginConfigValue;
|
|
299
|
+
defaultValue?: PluginConfigValue;
|
|
300
|
+
choices?: PluginConfigPreset[];
|
|
301
|
+
allowCustom: boolean;
|
|
302
|
+
matchedPresetId?: string;
|
|
144
303
|
placeholder?: string;
|
|
145
304
|
unit?: string;
|
|
146
305
|
min?: number;
|
|
147
306
|
max?: number;
|
|
148
307
|
advanced: boolean;
|
|
308
|
+
sharedNativeRender?: boolean;
|
|
149
309
|
}
|
|
150
310
|
export interface ConfigGroupViewModel {
|
|
151
311
|
id: string;
|
|
@@ -154,22 +314,26 @@ export interface ConfigGroupViewModel {
|
|
|
154
314
|
advanced: boolean;
|
|
155
315
|
fields: ConfigFieldViewModel[];
|
|
156
316
|
}
|
|
157
|
-
export interface ConfigPresetViewModel
|
|
158
|
-
|
|
317
|
+
export interface ConfigPresetViewModel {
|
|
318
|
+
id: string;
|
|
319
|
+
title: string;
|
|
320
|
+
description?: string;
|
|
321
|
+
values: Record<string, PluginConfigValue>;
|
|
159
322
|
privateFieldTitles?: string[];
|
|
160
323
|
}
|
|
161
324
|
export interface ConfigPageViewModel {
|
|
162
325
|
pluginId: string;
|
|
163
326
|
layer: {
|
|
164
327
|
scope: Scope | 'effective';
|
|
165
|
-
projectLayer: 'shared' | 'local';
|
|
166
328
|
};
|
|
167
329
|
groups: ConfigGroupViewModel[];
|
|
168
330
|
presets: ConfigPresetViewModel[];
|
|
169
331
|
storedCount: number;
|
|
170
332
|
}
|
|
171
|
-
export
|
|
172
|
-
export type
|
|
333
|
+
export declare function configObjectHasSensitiveChild(field: PluginConfigSchemaField): boolean;
|
|
334
|
+
export type UserIssueCategory = 'incompleteInstallation' | 'artifactCollision' | 'sourceUnavailable' | 'sourceMissing' | 'sourceIdentityChanged' | 'requiredConfigMissing' | 'configLayerUnsupported' | 'scopeConflict' | 'dependencyMissing' | 'dependencyNotReady' | 'dependencyTargetUnsupported' | 'dependencyStillRequired' | 'dependencyGraphInvalid' | 'legacyState' | 'diagnostic';
|
|
335
|
+
export type UserIssueGroup = 'sourceRemoved' | 'artifactCollision' | 'sourceUnavailable' | 'dependency' | 'scope' | 'config' | 'installation' | 'diagnostic';
|
|
336
|
+
export type UserIssueActionId = 'install' | 'sync' | 'refreshAndSync' | 'reinstall' | 'cleanup' | 'remove' | 'refreshSource' | 'editSource' | 'retryLater' | 'reAddSource' | 'viewSourceChange' | 'openConfig' | 'keepUserScope' | 'keepProjectScope' | 'viewTechnical' | 'manualMigration' | 'installDependency' | 'reinstallDependency' | 'viewDependencyIssue' | 'viewDependencies';
|
|
173
337
|
export interface UserIssueActionViewModel {
|
|
174
338
|
id: UserIssueActionId;
|
|
175
339
|
label: string;
|
|
@@ -178,12 +342,21 @@ export interface UserIssueActionViewModel {
|
|
|
178
342
|
platform?: PlatformName;
|
|
179
343
|
scope?: Scope;
|
|
180
344
|
project?: 'current' | 'other' | null;
|
|
181
|
-
writeAction?: 'install' | '
|
|
345
|
+
writeAction?: 'install' | 'refreshAndSync' | 'reinstall' | 'uninstall' | 'cleanup' | 'sync';
|
|
346
|
+
}
|
|
347
|
+
export type TargetIssueRootCode = 'partial' | 'artifactCollision' | 'sourceMissing' | 'sourceChanged' | 'catalogSourceUnavailable' | 'bundleUnavailable' | 'codexIntentSourceUnavailable' | 'dependencyMissing' | 'dependencyNotReady' | 'dependencyTargetUnsupported' | 'dependencyStillRequired' | 'dependencyGraphInvalid' | 'targetDiagnostic';
|
|
348
|
+
export interface TargetIssueEntityViewModel {
|
|
349
|
+
pluginId: string;
|
|
350
|
+
platform: PlatformName;
|
|
351
|
+
scope: Scope;
|
|
352
|
+
}
|
|
353
|
+
export interface AffectedTargetViewModel extends TargetIssueEntityViewModel {
|
|
354
|
+
relationship: 'direct' | 'consumer';
|
|
182
355
|
}
|
|
183
|
-
export type TargetIssueRootCode = 'partial' | 'sourceMissing' | 'sourceChanged' | 'catalogSourceUnavailable' | 'bundleUnavailable' | 'dependencyMissing' | 'dependencyNotReady' | 'dependencyTargetUnsupported' | 'dependencyStillRequired' | 'dependencyGraphInvalid' | 'targetDiagnostic';
|
|
184
356
|
export interface UserIssueViewModel {
|
|
185
357
|
issueId: string;
|
|
186
358
|
category: UserIssueCategory;
|
|
359
|
+
group: UserIssueGroup;
|
|
187
360
|
title: string;
|
|
188
361
|
explanation: string;
|
|
189
362
|
impact: string[];
|
|
@@ -202,22 +375,26 @@ export interface UserIssueViewModel {
|
|
|
202
375
|
sourceIdentity?: string;
|
|
203
376
|
rootCode?: TargetIssueRootCode;
|
|
204
377
|
mergeEligible?: boolean;
|
|
378
|
+
relationship?: 'direct' | 'consumer';
|
|
379
|
+
rootEntity?: TargetIssueEntityViewModel;
|
|
380
|
+
affectedTargets?: AffectedTargetViewModel[];
|
|
205
381
|
placements?: Scope[];
|
|
206
382
|
requiredFields?: Array<{
|
|
207
383
|
key: string;
|
|
208
384
|
title: string;
|
|
209
|
-
type: 'missing-required' | 'invalid-config';
|
|
210
|
-
source: 'default' | 'user' | 'project' | '
|
|
385
|
+
type: 'missing-required' | 'invalid-config' | 'sharedCompositeContainsLocalPath' | 'configLayerUnsupported';
|
|
386
|
+
source: 'default' | 'user' | 'project' | 'missing';
|
|
387
|
+
scope: Scope;
|
|
211
388
|
}>;
|
|
212
389
|
configLayer?: {
|
|
213
390
|
scope: Scope;
|
|
214
|
-
projectLayer: 'shared' | 'local';
|
|
215
391
|
};
|
|
216
392
|
actions: UserIssueActionViewModel[];
|
|
217
393
|
technicalDetails: Array<{
|
|
218
394
|
code: string;
|
|
219
395
|
message: string;
|
|
220
396
|
}>;
|
|
397
|
+
diagnostic: DiagnosticSummaryViewModel;
|
|
221
398
|
}
|
|
222
399
|
export interface TuiViewModel {
|
|
223
400
|
plugins: PluginListItemViewModel[];
|
|
@@ -226,6 +403,7 @@ export interface TuiViewModel {
|
|
|
226
403
|
issues: UserIssueViewModel[];
|
|
227
404
|
home: HomeSummaryViewModel;
|
|
228
405
|
dependencyOverviews: PluginDependencyOverviewViewModel[];
|
|
406
|
+
contentOverviews: Record<string, PluginContentOverview>;
|
|
229
407
|
}
|
|
230
408
|
export interface PortableSkillCandidateViewModel {
|
|
231
409
|
name: string;
|
|
@@ -257,23 +435,53 @@ export interface PortableSkillSelectionViewModel {
|
|
|
257
435
|
};
|
|
258
436
|
canContinue: boolean;
|
|
259
437
|
}
|
|
260
|
-
export declare function
|
|
438
|
+
export declare function isDirectCodexVersionUpgrade(target: StatusScopedTarget, revision: TargetRevisionState): boolean;
|
|
439
|
+
export declare function isPureNativeCodexTarget(target: StatusScopedTarget): boolean;
|
|
440
|
+
export declare function hasActualScopeEvidence(target: StatusScopedTarget): boolean;
|
|
441
|
+
export declare function dependencyPlacementTargets(plan: ReconcileOperationPlan): DependencyPlacementTargetViewModel[];
|
|
442
|
+
export declare function projectPlatformPlacement(platform: PlatformName, targets: StatusScopedTarget[], revisions?: StatusTargetRevision[]): PlatformPlacementSummary;
|
|
443
|
+
export declare function buildPluginPreviewActions(plugin: PluginListItemViewModel): PluginMenuAction[];
|
|
444
|
+
export declare function buildPluginDetailActions(plugin: PluginListItemViewModel): PluginMenuAction[];
|
|
445
|
+
export declare function buildPlatformActions(plugin: PluginListItemViewModel, platform: PlatformName): PluginMenuAction[];
|
|
261
446
|
export declare function hasInstalledPlacement(plugin: PluginListItemViewModel): boolean;
|
|
262
447
|
export declare function buildTuiViewModel(options: {
|
|
263
|
-
status:
|
|
264
|
-
pluginSummaries:
|
|
448
|
+
status: StatusV8Payload;
|
|
449
|
+
pluginSummaries: StatusV8PluginSummary[];
|
|
450
|
+
targetRevisions?: StatusTargetRevision[];
|
|
265
451
|
sourceHealth?: ReadonlyMap<string, SourceHealthViewModel>;
|
|
266
452
|
sourceDetails?: SourceDetailViewModel[];
|
|
453
|
+
catalogFreshness?: ReadonlyMap<string, CatalogSourceFreshnessViewModel>;
|
|
454
|
+
catalogGenerations?: ReadonlyMap<string, CatalogSourceGenerationViewModel>;
|
|
267
455
|
dependencyOverviews?: PluginDependencyOverviewViewModel[];
|
|
456
|
+
contentOverviews?: Record<string, PluginContentOverview>;
|
|
268
457
|
portablePluginIds?: string[];
|
|
458
|
+
configStoreInventory?: Array<{
|
|
459
|
+
pluginId: string;
|
|
460
|
+
sourceId: string;
|
|
461
|
+
pluginName: string;
|
|
462
|
+
scope: Scope;
|
|
463
|
+
}>;
|
|
269
464
|
}): TuiViewModel;
|
|
270
465
|
export declare function buildConfigGroups(options: {
|
|
271
466
|
schema: PluginConfigSchema;
|
|
272
467
|
read: ResolvedConfigRead;
|
|
468
|
+
effectiveRead?: ResolvedConfigRead;
|
|
469
|
+
layerReads?: Partial<Record<Scope, ResolvedConfigRead>>;
|
|
273
470
|
dirtyKeys?: ReadonlySet<string>;
|
|
471
|
+
rawValues?: Record<string, PluginConfigValue>;
|
|
472
|
+
rawLayerValues?: Partial<Record<Scope, Record<string, PluginConfigValue>>>;
|
|
473
|
+
effectiveRawValues?: Record<string, PluginConfigValue>;
|
|
474
|
+
sharedNativeRefreshKeys?: ReadonlySet<string>;
|
|
274
475
|
}): ConfigGroupViewModel[];
|
|
275
476
|
export declare function buildConfigPage(options: {
|
|
276
477
|
pluginId: string;
|
|
277
478
|
schema: PluginConfigSchema;
|
|
278
479
|
read: ResolvedConfigRead;
|
|
480
|
+
effectiveRead?: ResolvedConfigRead;
|
|
481
|
+
layerReads?: Partial<Record<Scope, ResolvedConfigRead>>;
|
|
482
|
+
rawValues?: Record<string, PluginConfigValue>;
|
|
483
|
+
rawLayerValues?: Partial<Record<Scope, Record<string, PluginConfigValue>>>;
|
|
484
|
+
effectiveRawValues?: Record<string, PluginConfigValue>;
|
|
485
|
+
sharedNativeRefreshKeys?: ReadonlySet<string>;
|
|
279
486
|
}): ConfigPageViewModel;
|
|
487
|
+
export declare function configValuesEqual(left: PluginConfigValue | undefined, right: PluginConfigValue | undefined): boolean;
|