@lesliechan721/aw 0.1.0-beta.6 → 0.1.0-beta.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authoring/assets/aw-config.mjs +100 -501
- package/dist/authoring/assets/aw-config.mjs.map +1 -1
- package/dist/authoring/assets/aw-runtime-config.d.mts +13 -0
- package/dist/authoring/assets/aw-runtime-config.mjs +199 -0
- package/dist/authoring/assets/aw-runtime-config.mjs.map +1 -0
- package/dist/authoring/scripts/add-skill.mjs +4 -4
- package/dist/authoring/scripts/add-skill.mjs.map +1 -1
- package/dist/authoring/scripts/init-plugin.mjs +67 -97
- package/dist/authoring/scripts/init-plugin.mjs.map +1 -1
- package/dist/authoring/scripts/lib/plugin-root.mjs +4 -4
- package/dist/authoring/scripts/lib/plugin-root.mjs.map +1 -1
- package/dist/authoring/scripts/lib/plugin-version-check.d.mts +1 -0
- package/dist/authoring/scripts/lib/plugin-version-check.mjs +229 -8
- package/dist/authoring/scripts/lib/plugin-version-check.mjs.map +1 -1
- package/dist/authoring/scripts/lib/skill-scaffold.d.mts +77 -92
- package/dist/authoring/scripts/lib/skill-scaffold.mjs +99 -124
- package/dist/authoring/scripts/lib/skill-scaffold.mjs.map +1 -1
- package/dist/authoring/scripts/plugin-status.mjs +8 -11
- package/dist/authoring/scripts/plugin-status.mjs.map +1 -1
- package/dist/authoring/scripts/remove-plugin.mjs +3 -2
- package/dist/authoring/scripts/remove-plugin.mjs.map +1 -1
- package/dist/authoring/scripts/validate-plugin.mjs +552 -1142
- package/dist/authoring/scripts/validate-plugin.mjs.map +1 -1
- package/dist/native-runtime/reader-runtime.mjs +34 -0
- package/dist/native-runtime/reader.d.mts +6 -0
- package/dist/native-runtime/reader.mjs +11 -0
- package/dist/scripts/aw-skill-eval-materializer.d.ts +26 -0
- package/dist/scripts/aw-skill-eval-materializer.js +306 -0
- package/dist/scripts/aw-skill-eval-materializer.js.map +1 -0
- package/dist/scripts/bundle-plugins.d.ts +1 -0
- package/dist/scripts/bundle-plugins.js +19 -8
- package/dist/scripts/bundle-plugins.js.map +1 -1
- package/dist/scripts/plugin-staging.d.ts +7 -9
- package/dist/scripts/plugin-staging.js +18 -29
- package/dist/scripts/plugin-staging.js.map +1 -1
- package/dist/scripts/plugin-test-reporter.d.mts +2 -0
- package/dist/scripts/plugin-test-reporter.mjs +21 -0
- package/dist/scripts/plugin-test-reporter.mjs.map +1 -0
- package/dist/scripts/test-plugin-scripts.d.ts +5 -0
- package/dist/scripts/test-plugin-scripts.js +208 -89
- package/dist/scripts/test-plugin-scripts.js.map +1 -1
- package/dist/scripts/test-workers.d.mts +24 -0
- package/dist/scripts/test-workers.mjs +59 -0
- package/dist/scripts/test-workers.mjs.map +1 -0
- package/dist/src/adapters/helpers.d.ts +7 -0
- package/dist/src/adapters/helpers.js +2 -2
- package/dist/src/adapters/helpers.js.map +1 -1
- package/dist/src/authoring/workspace-commands.d.ts +19 -1
- package/dist/src/authoring/workspace-commands.js +24 -5
- package/dist/src/authoring/workspace-commands.js.map +1 -1
- package/dist/src/commands/aw-capabilities.d.ts +78 -0
- package/dist/src/commands/aw-capabilities.js +266 -0
- package/dist/src/commands/aw-capabilities.js.map +1 -0
- package/dist/src/commands/catalog-dev-source.d.ts +154 -0
- package/dist/src/commands/catalog-dev-source.js +655 -0
- package/dist/src/commands/catalog-dev-source.js.map +1 -0
- package/dist/src/commands/catalog-generation.d.ts +21 -0
- package/dist/src/commands/catalog-generation.js +9 -0
- package/dist/src/commands/catalog-generation.js.map +1 -0
- package/dist/src/commands/catalog-publication-inspection.d.ts +71 -30
- package/dist/src/commands/catalog-publication-inspection.js +475 -63
- package/dist/src/commands/catalog-publication-inspection.js.map +1 -1
- package/dist/src/commands/catalog-publication-journal.d.ts +68 -0
- package/dist/src/commands/catalog-publication-journal.js +292 -0
- package/dist/src/commands/catalog-publication-journal.js.map +1 -0
- package/dist/src/commands/catalog-publication-target.d.ts +18 -0
- package/dist/src/commands/catalog-publication-target.js +95 -0
- package/dist/src/commands/catalog-publication-target.js.map +1 -0
- package/dist/src/commands/catalog-publish.d.ts +73 -15
- package/dist/src/commands/catalog-publish.js +701 -212
- package/dist/src/commands/catalog-publish.js.map +1 -1
- package/dist/src/commands/catalog-source.d.ts +60 -22
- package/dist/src/commands/catalog-source.js +311 -91
- package/dist/src/commands/catalog-source.js.map +1 -1
- package/dist/src/commands/catalog-status.d.ts +18 -22
- package/dist/src/commands/catalog-status.js +81 -115
- package/dist/src/commands/catalog-status.js.map +1 -1
- package/dist/src/commands/catalog-store.d.ts +104 -0
- package/dist/src/commands/catalog-store.js +685 -0
- package/dist/src/commands/catalog-store.js.map +1 -0
- package/dist/src/commands/catalog-workspace-resolution.d.ts +13 -0
- package/dist/src/commands/catalog-workspace-resolution.js +42 -0
- package/dist/src/commands/catalog-workspace-resolution.js.map +1 -0
- package/dist/src/commands/console.js +28 -17
- package/dist/src/commands/console.js.map +1 -1
- package/dist/src/commands/dependency-operation-plan.d.ts +52 -15
- package/dist/src/commands/dependency-operation-plan.js +289 -7
- package/dist/src/commands/dependency-operation-plan.js.map +1 -1
- package/dist/src/commands/init.d.ts +5 -11
- package/dist/src/commands/init.js +30 -51
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/managed-commands.d.ts +28 -0
- package/dist/src/commands/managed-commands.js +315 -0
- package/dist/src/commands/managed-commands.js.map +1 -0
- package/dist/src/commands/offline-cleanup-evidence.d.ts +67 -0
- package/dist/src/commands/offline-cleanup-evidence.js +181 -0
- package/dist/src/commands/offline-cleanup-evidence.js.map +1 -0
- package/dist/src/commands/operation-plan.d.ts +182 -0
- package/dist/src/commands/operation-plan.js +71 -0
- package/dist/src/commands/operation-plan.js.map +1 -0
- package/dist/src/commands/operation-planner.d.ts +47 -0
- package/dist/src/commands/operation-planner.js +142 -0
- package/dist/src/commands/operation-planner.js.map +1 -0
- package/dist/src/commands/options.d.ts +9 -7
- package/dist/src/commands/options.js +83 -21
- package/dist/src/commands/options.js.map +1 -1
- package/dist/src/commands/plugin-capabilities.js +65 -4
- package/dist/src/commands/plugin-capabilities.js.map +1 -1
- package/dist/src/commands/rebuild-command.d.ts +78 -31
- package/dist/src/commands/rebuild-command.js +5229 -942
- package/dist/src/commands/rebuild-command.js.map +1 -1
- package/dist/src/commands/rebuild-integration.d.ts +143 -21
- package/dist/src/commands/rebuild-integration.js +3384 -1342
- package/dist/src/commands/rebuild-integration.js.map +1 -1
- package/dist/src/commands/rebuild-operations.d.ts +60 -30
- package/dist/src/commands/rebuild-operations.js +267 -320
- package/dist/src/commands/rebuild-operations.js.map +1 -1
- package/dist/src/commands/reconcile-operation-plan.d.ts +28 -0
- package/dist/src/commands/reconcile-operation-plan.js +47 -0
- package/dist/src/commands/reconcile-operation-plan.js.map +1 -0
- package/dist/src/commands/review-inspection.d.ts +60 -0
- package/dist/src/commands/review-inspection.js +422 -0
- package/dist/src/commands/review-inspection.js.map +1 -0
- package/dist/src/commands/review-preparation.d.ts +49 -0
- package/dist/src/commands/review-preparation.js +427 -0
- package/dist/src/commands/review-preparation.js.map +1 -0
- package/dist/src/commands/runtime.d.ts +1 -5
- package/dist/src/commands/runtime.js +27 -53
- package/dist/src/commands/runtime.js.map +1 -1
- package/dist/src/commands/skill-eval.d.ts +39 -0
- package/dist/src/commands/skill-eval.js +400 -0
- package/dist/src/commands/skill-eval.js.map +1 -0
- package/dist/src/commands/status-v6.d.ts +279 -0
- package/dist/src/commands/status-v6.js +2785 -0
- package/dist/src/commands/status-v6.js.map +1 -0
- package/dist/src/commands/sync-command.d.ts +40 -0
- package/dist/src/commands/sync-command.js +254 -0
- package/dist/src/commands/sync-command.js.map +1 -0
- package/dist/src/commands/wizard.d.ts +8 -5
- package/dist/src/commands/wizard.js +6 -4
- package/dist/src/commands/wizard.js.map +1 -1
- package/dist/src/commands/write-commands.d.ts +9 -3
- package/dist/src/commands/write-commands.js +136 -31
- package/dist/src/commands/write-commands.js.map +1 -1
- package/dist/src/constants.d.ts +7 -2
- package/dist/src/constants.js +7 -2
- package/dist/src/constants.js.map +1 -1
- package/dist/src/eval/manifest-v1.d.ts +68 -0
- package/dist/src/eval/manifest-v1.js +353 -0
- package/dist/src/eval/manifest-v1.js.map +1 -0
- package/dist/src/generators/local-plugin.d.ts +5 -1
- package/dist/src/generators/local-plugin.js +263 -109
- package/dist/src/generators/local-plugin.js.map +1 -1
- package/dist/src/generators/permissions.d.ts +5 -2
- package/dist/src/generators/permissions.js +28 -15
- package/dist/src/generators/permissions.js.map +1 -1
- package/dist/src/index.d.ts +10 -4
- package/dist/src/index.js +1774 -609
- package/dist/src/index.js.map +1 -1
- package/dist/src/output/command-receipt.d.ts +47 -46
- package/dist/src/output/command-receipt.js +277 -79
- package/dist/src/output/command-receipt.js.map +1 -1
- package/dist/src/output/model.d.ts +3 -44
- package/dist/src/output/model.js +1 -144
- package/dist/src/output/model.js.map +1 -1
- package/dist/src/output/rebuild-progress.js +15 -13
- package/dist/src/output/rebuild-progress.js.map +1 -1
- package/dist/src/portable/commands.d.ts +46 -7
- package/dist/src/portable/commands.js +349 -37
- package/dist/src/portable/commands.js.map +1 -1
- package/dist/src/portable/materializer.d.ts +17 -4
- package/dist/src/portable/materializer.js +186 -41
- package/dist/src/portable/materializer.js.map +1 -1
- package/dist/src/portable/skills-cli.d.ts +15 -7
- package/dist/src/portable/skills-cli.js +74 -20
- package/dist/src/portable/skills-cli.js.map +1 -1
- package/dist/src/review/eval-source-input.d.ts +43 -0
- package/dist/src/review/eval-source-input.js +207 -0
- package/dist/src/review/eval-source-input.js.map +1 -0
- package/dist/src/review/review-profile.d.ts +17 -0
- package/dist/src/review/review-profile.js +234 -0
- package/dist/src/review/review-profile.js.map +1 -0
- package/dist/src/review/review-selection.d.ts +30 -0
- package/dist/src/review/review-selection.js +527 -0
- package/dist/src/review/review-selection.js.map +1 -0
- package/dist/src/review/review-types.d.ts +68 -0
- package/dist/src/review/review-types.js +16 -0
- package/dist/src/review/review-types.js.map +1 -0
- package/dist/src/review/skill-materialization.d.ts +26 -0
- package/dist/src/review/skill-materialization.js +217 -0
- package/dist/src/review/skill-materialization.js.map +1 -0
- package/dist/src/review/source-binding.d.ts +183 -0
- package/dist/src/review/source-binding.js +708 -0
- package/dist/src/review/source-binding.js.map +1 -0
- package/dist/src/tui/catalog-freshness.d.ts +1 -0
- package/dist/src/tui/catalog-freshness.js +2 -0
- package/dist/src/tui/catalog-freshness.js.map +1 -0
- package/dist/src/tui/catalog-generation.d.ts +21 -0
- package/dist/src/tui/catalog-generation.js +156 -0
- package/dist/src/tui/catalog-generation.js.map +1 -0
- package/dist/src/tui/catalog-sources/projection.d.ts +4 -0
- package/dist/src/tui/catalog-sources/projection.js +17 -0
- package/dist/src/tui/catalog-sources/projection.js.map +1 -0
- package/dist/src/tui/catalog-sources/review.d.ts +3 -0
- package/dist/src/tui/catalog-sources/review.js +13 -0
- package/dist/src/tui/catalog-sources/review.js.map +1 -0
- package/dist/src/tui/catalog-sources/screens.d.ts +12 -0
- package/dist/src/tui/catalog-sources/screens.js +40 -0
- package/dist/src/tui/catalog-sources/screens.js.map +1 -0
- package/dist/src/tui/catalog-sources/session.d.ts +32 -0
- package/dist/src/tui/catalog-sources/session.js +300 -0
- package/dist/src/tui/catalog-sources/session.js.map +1 -0
- package/dist/src/tui/catalog-sources/types.d.ts +54 -0
- package/dist/src/tui/catalog-sources/types.js +2 -0
- package/dist/src/tui/catalog-sources/types.js.map +1 -0
- package/dist/src/tui/catalog-store-task.d.ts +16 -0
- package/dist/src/tui/catalog-store-task.js +19 -0
- package/dist/src/tui/catalog-store-task.js.map +1 -0
- package/dist/src/tui/clipboard.d.ts +13 -0
- package/dist/src/tui/clipboard.js +95 -0
- package/dist/src/tui/clipboard.js.map +1 -0
- package/dist/src/tui/components.d.ts +110 -3
- package/dist/src/tui/components.js +183 -36
- package/dist/src/tui/components.js.map +1 -1
- package/dist/src/tui/config-array-draft.d.ts +29 -0
- package/dist/src/tui/config-array-draft.js +48 -0
- package/dist/src/tui/config-array-draft.js.map +1 -0
- package/dist/src/tui/config-leaf-editor.d.ts +19 -0
- package/dist/src/tui/config-leaf-editor.js +212 -0
- package/dist/src/tui/config-leaf-editor.js.map +1 -0
- package/dist/src/tui/config-references.d.ts +34 -0
- package/dist/src/tui/config-references.js +70 -0
- package/dist/src/tui/config-references.js.map +1 -0
- package/dist/src/tui/config-value-presentation.d.ts +20 -0
- package/dist/src/tui/config-value-presentation.js +104 -0
- package/dist/src/tui/config-value-presentation.js.map +1 -0
- package/dist/src/tui/console-app-v4.d.ts +14 -4
- package/dist/src/tui/console-app-v4.js +9205 -1951
- package/dist/src/tui/console-app-v4.js.map +1 -1
- package/dist/src/tui/content-item-card.d.ts +13 -0
- package/dist/src/tui/content-item-card.js +51 -0
- package/dist/src/tui/content-item-card.js.map +1 -0
- package/dist/src/tui/controller-runtime.d.ts +10 -2
- package/dist/src/tui/controller-runtime.js +3289 -388
- package/dist/src/tui/controller-runtime.js.map +1 -1
- package/dist/src/tui/controller.d.ts +622 -45
- package/dist/src/tui/controller.js +3589 -768
- package/dist/src/tui/controller.js.map +1 -1
- package/dist/src/tui/dependency-graph-view.d.ts +39 -0
- package/dist/src/tui/dependency-graph-view.js +121 -0
- package/dist/src/tui/dependency-graph-view.js.map +1 -0
- package/dist/src/tui/dependency-graph.d.ts +81 -0
- package/dist/src/tui/dependency-graph.js +452 -0
- package/dist/src/tui/dependency-graph.js.map +1 -0
- package/dist/src/tui/diagnostic-projection.d.ts +23 -0
- package/dist/src/tui/diagnostic-projection.js +595 -0
- package/dist/src/tui/diagnostic-projection.js.map +1 -0
- package/dist/src/tui/diagnostics.d.ts +3 -3
- package/dist/src/tui/diagnostics.js +14 -2
- package/dist/src/tui/diagnostics.js.map +1 -1
- package/dist/src/tui/entity-cards.d.ts +55 -0
- package/dist/src/tui/entity-cards.js +220 -0
- package/dist/src/tui/entity-cards.js.map +1 -0
- package/dist/src/tui/glossary.d.ts +23 -0
- package/dist/src/tui/glossary.js +42 -0
- package/dist/src/tui/glossary.js.map +1 -0
- package/dist/src/tui/index.d.ts +6 -1
- package/dist/src/tui/index.js +5 -1
- package/dist/src/tui/index.js.map +1 -1
- package/dist/src/tui/input-display.d.ts +9 -0
- package/dist/src/tui/input-display.js +58 -0
- package/dist/src/tui/input-display.js.map +1 -0
- package/dist/src/tui/keys.d.ts +44 -0
- package/dist/src/tui/keys.js +43 -15
- package/dist/src/tui/keys.js.map +1 -1
- package/dist/src/tui/lifecycle-action-view.d.ts +6 -0
- package/dist/src/tui/lifecycle-action-view.js +36 -0
- package/dist/src/tui/lifecycle-action-view.js.map +1 -0
- package/dist/src/tui/model.d.ts +224 -31
- package/dist/src/tui/model.js +1510 -397
- package/dist/src/tui/model.js.map +1 -1
- package/dist/src/tui/operation-diagnostic-screens.d.ts +8 -0
- package/dist/src/tui/operation-diagnostic-screens.js +71 -0
- package/dist/src/tui/operation-diagnostic-screens.js.map +1 -0
- package/dist/src/tui/operation-history.d.ts +81 -0
- package/dist/src/tui/operation-history.js +136 -0
- package/dist/src/tui/operation-history.js.map +1 -0
- package/dist/src/tui/operation-review-planner.d.ts +21 -0
- package/dist/src/tui/operation-review-planner.js +1392 -0
- package/dist/src/tui/operation-review-planner.js.map +1 -0
- package/dist/src/tui/plugin-content.d.ts +31 -0
- package/dist/src/tui/plugin-content.js +680 -0
- package/dist/src/tui/plugin-content.js.map +1 -0
- package/dist/src/tui/plugin-detail.d.ts +52 -0
- package/dist/src/tui/plugin-detail.js +165 -0
- package/dist/src/tui/plugin-detail.js.map +1 -0
- package/dist/src/tui/plugin-write-task.d.ts +69 -0
- package/dist/src/tui/plugin-write-task.js +286 -0
- package/dist/src/tui/plugin-write-task.js.map +1 -0
- package/dist/src/tui/project-inventory.d.ts +68 -0
- package/dist/src/tui/project-inventory.js +203 -0
- package/dist/src/tui/project-inventory.js.map +1 -0
- package/dist/src/tui/prompt.js +4 -15
- package/dist/src/tui/prompt.js.map +1 -1
- package/dist/src/tui/query-header.d.ts +30 -0
- package/dist/src/tui/query-header.js +40 -0
- package/dist/src/tui/query-header.js.map +1 -0
- package/dist/src/tui/reader.d.ts +37 -0
- package/dist/src/tui/reader.js +47 -0
- package/dist/src/tui/reader.js.map +1 -0
- package/dist/src/tui/router.d.ts +197 -10
- package/dist/src/tui/router.js +338 -50
- package/dist/src/tui/router.js.map +1 -1
- package/dist/src/tui/screen-registry.d.ts +701 -0
- package/dist/src/tui/screen-registry.js +230 -0
- package/dist/src/tui/screen-registry.js.map +1 -0
- package/dist/src/tui/session-console-app.d.ts +6 -0
- package/dist/src/tui/session-console-app.js +13 -0
- package/dist/src/tui/session-console-app.js.map +1 -0
- package/dist/src/tui/session-host.d.ts +45 -0
- package/dist/src/tui/session-host.js +209 -0
- package/dist/src/tui/session-host.js.map +1 -0
- package/dist/src/tui/source-detail-card.d.ts +29 -0
- package/dist/src/tui/source-detail-card.js +45 -0
- package/dist/src/tui/source-detail-card.js.map +1 -0
- package/dist/src/tui/source-ref-presets.d.ts +3 -0
- package/dist/src/tui/source-ref-presets.js +11 -0
- package/dist/src/tui/source-ref-presets.js.map +1 -0
- package/dist/src/tui/theme.d.ts +12 -0
- package/dist/src/tui/theme.js +12 -0
- package/dist/src/tui/theme.js.map +1 -1
- package/dist/src/tui/viewport.d.ts +1 -0
- package/dist/src/tui/viewport.js +23 -0
- package/dist/src/tui/viewport.js.map +1 -1
- package/dist/src/tui/views.js +31 -3
- package/dist/src/tui/views.js.map +1 -1
- package/dist/src/tui/wizard.js +37 -13
- package/dist/src/tui/wizard.js.map +1 -1
- package/dist/src/types.d.ts +264 -21
- package/dist/src/types.js +1 -0
- package/dist/src/types.js.map +1 -1
- package/dist/src/utils/agent-version.d.ts +7 -1
- package/dist/src/utils/agent-version.js +36 -7
- package/dist/src/utils/agent-version.js.map +1 -1
- package/dist/src/utils/artifact-plan.d.ts +8 -6
- package/dist/src/utils/artifact-plan.js +67 -13
- package/dist/src/utils/artifact-plan.js.map +1 -1
- package/dist/src/utils/artifact-renderer.d.ts +24 -10
- package/dist/src/utils/artifact-renderer.js +230 -220
- package/dist/src/utils/artifact-renderer.js.map +1 -1
- package/dist/src/utils/artifact-request.d.ts +32 -0
- package/dist/src/utils/artifact-request.js +90 -0
- package/dist/src/utils/artifact-request.js.map +1 -0
- package/dist/src/utils/artifact-sources.d.ts +4 -0
- package/dist/src/utils/artifact-sources.js +17 -0
- package/dist/src/utils/artifact-sources.js.map +1 -1
- package/dist/src/utils/aw-home-mutation-lock.d.ts +1 -0
- package/dist/src/utils/aw-home-mutation-lock.js +32 -4
- package/dist/src/utils/aw-home-mutation-lock.js.map +1 -1
- package/dist/src/utils/bundle-integrity.d.ts +0 -1
- package/dist/src/utils/bundle-integrity.js +0 -25
- package/dist/src/utils/bundle-integrity.js.map +1 -1
- package/dist/src/utils/bundle-layout.js +29 -29
- package/dist/src/utils/bundle-layout.js.map +1 -1
- package/dist/src/utils/catalog-capability-projection.d.ts +8 -0
- package/dist/src/utils/catalog-capability-projection.js +14 -0
- package/dist/src/utils/catalog-capability-projection.js.map +1 -0
- package/dist/src/utils/catalog-digests.d.ts +10 -0
- package/dist/src/utils/catalog-digests.js +57 -20
- package/dist/src/utils/catalog-digests.js.map +1 -1
- package/dist/src/utils/catalog-generation-control-snapshot.d.ts +11 -0
- package/dist/src/utils/catalog-generation-control-snapshot.js +45 -0
- package/dist/src/utils/catalog-generation-control-snapshot.js.map +1 -0
- package/dist/src/utils/catalog-generation-error.d.ts +16 -0
- package/dist/src/utils/catalog-generation-error.js +30 -0
- package/dist/src/utils/catalog-generation-error.js.map +1 -0
- package/dist/src/utils/catalog-generation-resolver.d.ts +44 -0
- package/dist/src/utils/catalog-generation-resolver.js +273 -0
- package/dist/src/utils/catalog-generation-resolver.js.map +1 -0
- package/dist/src/utils/catalog-generation-service.d.ts +172 -0
- package/dist/src/utils/catalog-generation-service.js +1271 -0
- package/dist/src/utils/catalog-generation-service.js.map +1 -0
- package/dist/src/utils/catalog-generation-state.d.ts +22 -0
- package/dist/src/utils/catalog-generation-state.js +192 -0
- package/dist/src/utils/catalog-generation-state.js.map +1 -0
- package/dist/src/utils/catalog-generation-store.d.ts +58 -0
- package/dist/src/utils/catalog-generation-store.js +452 -0
- package/dist/src/utils/catalog-generation-store.js.map +1 -0
- package/dist/src/utils/catalog-manifest-v7.d.ts +5 -0
- package/dist/src/utils/{catalog-manifest-v4.js → catalog-manifest-v7.js} +35 -43
- package/dist/src/utils/catalog-manifest-v7.js.map +1 -0
- package/dist/src/utils/catalog-operation-context.d.ts +20 -0
- package/dist/src/utils/catalog-operation-context.js +142 -0
- package/dist/src/utils/catalog-operation-context.js.map +1 -0
- package/dist/src/utils/catalog-public-error.d.ts +7 -3
- package/dist/src/utils/catalog-public-error.js +28 -8
- package/dist/src/utils/catalog-public-error.js.map +1 -1
- package/dist/src/utils/catalog-runtime-projection.d.ts +3 -0
- package/dist/src/utils/catalog-runtime-projection.js +5 -40
- package/dist/src/utils/catalog-runtime-projection.js.map +1 -1
- package/dist/src/utils/catalog-snapshot.d.ts +5 -3
- package/dist/src/utils/catalog-snapshot.js +11 -3
- package/dist/src/utils/catalog-snapshot.js.map +1 -1
- package/dist/src/utils/catalog-source-identity.d.ts +1 -0
- package/dist/src/utils/catalog-source-identity.js +21 -2
- package/dist/src/utils/catalog-source-identity.js.map +1 -1
- package/dist/src/utils/catalog-source-impact.d.ts +21 -0
- package/dist/src/utils/catalog-source-impact.js +344 -0
- package/dist/src/utils/catalog-source-impact.js.map +1 -0
- package/dist/src/utils/catalog-source-references.d.ts +3 -2
- package/dist/src/utils/catalog-source-references.js +195 -347
- package/dist/src/utils/catalog-source-references.js.map +1 -1
- package/dist/src/utils/catalog-sources.d.ts +15 -1
- package/dist/src/utils/catalog-sources.js +206 -27
- package/dist/src/utils/catalog-sources.js.map +1 -1
- package/dist/src/utils/claude-skills-root.d.ts +8 -0
- package/dist/src/utils/claude-skills-root.js +76 -0
- package/dist/src/utils/claude-skills-root.js.map +1 -0
- package/dist/src/utils/codex-config.d.ts +2 -0
- package/dist/src/utils/codex-config.js +26 -5
- package/dist/src/utils/codex-config.js.map +1 -1
- package/dist/src/utils/codex-manager.d.ts +79 -0
- package/dist/src/utils/codex-manager.js +735 -0
- package/dist/src/utils/codex-manager.js.map +1 -0
- package/dist/src/utils/codex-marketplace-path.d.ts +5 -0
- package/dist/src/utils/codex-marketplace-path.js +45 -0
- package/dist/src/utils/codex-marketplace-path.js.map +1 -0
- package/dist/src/utils/codex-native-observation.d.ts +49 -0
- package/dist/src/utils/codex-native-observation.js +154 -0
- package/dist/src/utils/codex-native-observation.js.map +1 -0
- package/dist/src/utils/codex-native-render-receipt.d.ts +40 -0
- package/dist/src/utils/codex-native-render-receipt.js +205 -0
- package/dist/src/utils/codex-native-render-receipt.js.map +1 -0
- package/dist/src/utils/codex-reconciler.d.ts +126 -0
- package/dist/src/utils/codex-reconciler.js +298 -0
- package/dist/src/utils/codex-reconciler.js.map +1 -0
- package/dist/src/utils/codex-shared-native.d.ts +43 -0
- package/dist/src/utils/codex-shared-native.js +81 -0
- package/dist/src/utils/codex-shared-native.js.map +1 -0
- package/dist/src/utils/codex-skill-staging.d.ts +2 -0
- package/dist/src/utils/codex-skill-staging.js.map +1 -1
- package/dist/src/utils/codex-skills-root.d.ts +4 -0
- package/dist/src/utils/codex-skills-root.js +25 -0
- package/dist/src/utils/codex-skills-root.js.map +1 -0
- package/dist/src/utils/codex-surface-analysis.d.ts +46 -0
- package/dist/src/utils/codex-surface-analysis.js +247 -0
- package/dist/src/utils/codex-surface-analysis.js.map +1 -0
- package/dist/src/utils/dynamic-skill-tree.d.ts +5 -0
- package/dist/src/utils/dynamic-skill-tree.js +56 -7
- package/dist/src/utils/dynamic-skill-tree.js.map +1 -1
- package/dist/src/utils/git-catalog-provider.d.ts +16 -0
- package/dist/src/utils/git-catalog-provider.js +177 -145
- package/dist/src/utils/git-catalog-provider.js.map +1 -1
- package/dist/src/utils/local-marketplace.d.ts +27 -1
- package/dist/src/utils/local-marketplace.js +434 -84
- package/dist/src/utils/local-marketplace.js.map +1 -1
- package/dist/src/utils/managed-command-closure.d.ts +3 -0
- package/dist/src/utils/managed-command-closure.js +35 -0
- package/dist/src/utils/managed-command-closure.js.map +1 -0
- package/dist/src/utils/managed-command-evidence.d.ts +7 -0
- package/dist/src/utils/managed-command-evidence.js +86 -0
- package/dist/src/utils/managed-command-evidence.js.map +1 -0
- package/dist/src/utils/managed-command-materialization.d.ts +115 -0
- package/dist/src/utils/managed-command-materialization.js +359 -0
- package/dist/src/utils/managed-command-materialization.js.map +1 -0
- package/dist/src/utils/managed-command-runtime.d.ts +33 -0
- package/dist/src/utils/managed-command-runtime.js +121 -0
- package/dist/src/utils/managed-command-runtime.js.map +1 -0
- package/dist/src/utils/managed-command-store.d.ts +128 -0
- package/dist/src/utils/managed-command-store.js +589 -0
- package/dist/src/utils/managed-command-store.js.map +1 -0
- package/dist/src/utils/manifest.d.ts +1 -3
- package/dist/src/utils/manifest.js +1 -3
- package/dist/src/utils/manifest.js.map +1 -1
- package/dist/src/utils/multi-source-catalog.d.ts +3 -9
- package/dist/src/utils/multi-source-catalog.js +54 -110
- package/dist/src/utils/multi-source-catalog.js.map +1 -1
- package/dist/src/utils/native-cli.d.ts +61 -7
- package/dist/src/utils/native-cli.js +426 -58
- package/dist/src/utils/native-cli.js.map +1 -1
- package/dist/src/utils/native-tool-context.d.ts +14 -0
- package/dist/src/utils/native-tool-context.js +38 -0
- package/dist/src/utils/native-tool-context.js.map +1 -0
- package/dist/src/utils/native-tool-review.d.ts +21 -0
- package/dist/src/utils/native-tool-review.js +102 -0
- package/dist/src/utils/native-tool-review.js.map +1 -0
- package/dist/src/utils/orphan-marketplace-cleanup.js +0 -4
- package/dist/src/utils/orphan-marketplace-cleanup.js.map +1 -1
- package/dist/src/utils/ownership.d.ts +88 -20
- package/dist/src/utils/ownership.js +185 -223
- package/dist/src/utils/ownership.js.map +1 -1
- package/dist/src/utils/path-catalog-provider.d.ts +1 -1
- package/dist/src/utils/path-catalog-provider.js +54 -65
- package/dist/src/utils/path-catalog-provider.js.map +1 -1
- package/dist/src/utils/paths.d.ts +0 -1
- package/dist/src/utils/paths.js +0 -1
- package/dist/src/utils/paths.js.map +1 -1
- package/dist/src/utils/plugin-config-impact.d.ts +40 -0
- package/dist/src/utils/plugin-config-impact.js +373 -0
- package/dist/src/utils/plugin-config-impact.js.map +1 -0
- package/dist/src/utils/plugin-config-write.d.ts +52 -27
- package/dist/src/utils/plugin-config-write.js +1112 -298
- package/dist/src/utils/plugin-config-write.js.map +1 -1
- package/dist/src/utils/plugin-config.d.ts +153 -93
- package/dist/src/utils/plugin-config.js +1116 -968
- package/dist/src/utils/plugin-config.js.map +1 -1
- package/dist/src/utils/plugin-intent-state.d.ts +49 -0
- package/dist/src/utils/plugin-intent-state.js +320 -0
- package/dist/src/utils/plugin-intent-state.js.map +1 -0
- package/dist/src/utils/plugin-scripts.d.ts +66 -125
- package/dist/src/utils/plugin-scripts.js +518 -526
- package/dist/src/utils/plugin-scripts.js.map +1 -1
- package/dist/src/utils/process-lock.js +14 -5
- package/dist/src/utils/process-lock.js.map +1 -1
- package/dist/src/utils/process-tree.d.ts +2 -2
- package/dist/src/utils/process-tree.js +1 -1
- package/dist/src/utils/process-tree.js.map +1 -1
- package/dist/src/utils/project-boundary.d.ts +11 -13
- package/dist/src/utils/project-boundary.js +28 -34
- package/dist/src/utils/project-boundary.js.map +1 -1
- package/dist/src/utils/rendered-contract.js +18 -1
- package/dist/src/utils/rendered-contract.js.map +1 -1
- package/dist/src/utils/runtime-config.d.ts +20 -0
- package/dist/src/utils/runtime-config.js +75 -0
- package/dist/src/utils/runtime-config.js.map +1 -0
- package/dist/src/utils/runtime-skill-closure.js +47 -6
- package/dist/src/utils/runtime-skill-closure.js.map +1 -1
- package/dist/src/utils/safe-fs.d.ts +21 -0
- package/dist/src/utils/safe-fs.js +111 -0
- package/dist/src/utils/safe-fs.js.map +1 -0
- package/dist/src/utils/safe-operation-diagnostic.d.ts +15 -0
- package/dist/src/utils/safe-operation-diagnostic.js +33 -0
- package/dist/src/utils/safe-operation-diagnostic.js.map +1 -0
- package/dist/src/utils/sensitive-content.d.ts +4 -0
- package/dist/src/utils/sensitive-content.js +36 -0
- package/dist/src/utils/sensitive-content.js.map +1 -0
- package/dist/src/utils/state-paths.js +7 -2
- package/dist/src/utils/state-paths.js.map +1 -1
- package/dist/src/utils/target-eligibility.d.ts +8 -2
- package/dist/src/utils/target-eligibility.js +17 -8
- package/dist/src/utils/target-eligibility.js.map +1 -1
- package/dist/src/utils/windows-claude-shim.d.ts +7 -0
- package/dist/src/utils/windows-claude-shim.js +10 -0
- package/dist/src/utils/windows-claude-shim.js.map +1 -0
- package/dist/src/utils/windows-npm-shim.d.ts +14 -0
- package/dist/src/utils/windows-npm-shim.js +140 -0
- package/dist/src/utils/windows-npm-shim.js.map +1 -0
- package/dist/vitest.config.js +100 -9
- package/dist/vitest.config.js.map +1 -1
- package/package.json +31 -21
- package/dist/authoring/scripts/check-plugin-versions.d.mts +0 -2
- package/dist/authoring/scripts/check-plugin-versions.mjs +0 -5
- package/dist/authoring/scripts/check-plugin-versions.mjs.map +0 -1
- package/dist/scripts/aw-skill-eval-engine.d.ts +0 -13
- package/dist/scripts/aw-skill-eval-engine.js +0 -31
- package/dist/scripts/aw-skill-eval-engine.js.map +0 -1
- package/dist/scripts/codex-eval-app-server.d.ts +0 -89
- package/dist/scripts/codex-eval-app-server.js +0 -1228
- package/dist/scripts/codex-eval-app-server.js.map +0 -1
- package/dist/scripts/codex-eval-isolation.d.ts +0 -61
- package/dist/scripts/codex-eval-isolation.js +0 -318
- package/dist/scripts/codex-eval-isolation.js.map +0 -1
- package/dist/scripts/codex-eval-process-management.d.ts +0 -8
- package/dist/scripts/codex-eval-process-management.js +0 -69
- package/dist/scripts/codex-eval-process-management.js.map +0 -1
- package/dist/scripts/codex-eval-process-tree.d.ts +0 -38
- package/dist/scripts/codex-eval-process-tree.js +0 -803
- package/dist/scripts/codex-eval-process-tree.js.map +0 -1
- package/dist/scripts/codex-eval-runtime-config.d.ts +0 -62
- package/dist/scripts/codex-eval-runtime-config.js +0 -843
- package/dist/scripts/codex-eval-runtime-config.js.map +0 -1
- package/dist/scripts/codex-trigger-eval.d.ts +0 -84
- package/dist/scripts/codex-trigger-eval.js +0 -968
- package/dist/scripts/codex-trigger-eval.js.map +0 -1
- package/dist/scripts/eval-plugin-skills-audited.d.ts +0 -6
- package/dist/scripts/eval-plugin-skills-audited.js +0 -261
- package/dist/scripts/eval-plugin-skills-audited.js.map +0 -1
- package/dist/scripts/eval-plugin-skills.d.ts +0 -45
- package/dist/scripts/eval-plugin-skills.js +0 -1586
- package/dist/scripts/eval-plugin-skills.js.map +0 -1
- package/dist/scripts/eval-run-layout.d.ts +0 -17
- package/dist/scripts/eval-run-layout.js +0 -26
- package/dist/scripts/eval-run-layout.js.map +0 -1
- package/dist/scripts/plugin-eval-contract.d.ts +0 -185
- package/dist/scripts/plugin-eval-contract.js +0 -695
- package/dist/scripts/plugin-eval-contract.js.map +0 -1
- package/dist/scripts/plugin-eval-materializer.d.ts +0 -13
- package/dist/scripts/plugin-eval-materializer.js +0 -421
- package/dist/scripts/plugin-eval-materializer.js.map +0 -1
- package/dist/scripts/skill-reporting.d.ts +0 -212
- package/dist/scripts/skill-reporting.js +0 -922
- package/dist/scripts/skill-reporting.js.map +0 -1
- package/dist/src/commands/review-publication.d.ts +0 -99
- package/dist/src/commands/review-publication.js +0 -904
- package/dist/src/commands/review-publication.js.map +0 -1
- package/dist/src/commands/status-v4.d.ts +0 -123
- package/dist/src/commands/status-v4.js +0 -905
- package/dist/src/commands/status-v4.js.map +0 -1
- package/dist/src/commands/status.d.ts +0 -93
- package/dist/src/commands/status.js +0 -442
- package/dist/src/commands/status.js.map +0 -1
- package/dist/src/utils/active-marketplace-runtime-lock.d.ts +0 -12
- package/dist/src/utils/active-marketplace-runtime-lock.js +0 -133
- package/dist/src/utils/active-marketplace-runtime-lock.js.map +0 -1
- package/dist/src/utils/catalog-manifest-v3.d.ts +0 -2
- package/dist/src/utils/catalog-manifest-v3.js +0 -3
- package/dist/src/utils/catalog-manifest-v3.js.map +0 -1
- package/dist/src/utils/catalog-manifest-v4.d.ts +0 -5
- package/dist/src/utils/catalog-manifest-v4.js.map +0 -1
- package/dist/src/utils/catalog-source-cache.d.ts +0 -62
- package/dist/src/utils/catalog-source-cache.js +0 -296
- package/dist/src/utils/catalog-source-cache.js.map +0 -1
- package/dist/src/utils/codex-project-surface.d.ts +0 -3
- package/dist/src/utils/codex-project-surface.js +0 -49
- package/dist/src/utils/codex-project-surface.js.map +0 -1
- package/dist/src/utils/lifecycle-active-store.d.ts +0 -175
- package/dist/src/utils/lifecycle-active-store.js +0 -1276
- package/dist/src/utils/lifecycle-active-store.js.map +0 -1
- package/dist/src/utils/plugin-release.d.ts +0 -2
- package/dist/src/utils/plugin-release.js +0 -2
- package/dist/src/utils/plugin-release.js.map +0 -1
|
@@ -0,0 +1,701 @@
|
|
|
1
|
+
import type { TuiController, TuiControllerSnapshot } from './controller.js';
|
|
2
|
+
import type { TuiRoute } from './router.js';
|
|
3
|
+
export declare const TUI_SCREEN_IDS: readonly ["G01", "G02", "G03", "G04", "G05", "G06", "P01", "P02", "P03", "P04", "P05", "P06", "P07", "P08", "P09", "P10", "P11", "P12", "P13", "P14", "P15", "P16", "P17", "P18", "P19", "P21", "P22", "C01", "C02", "C03", "C04", "C05", "C06", "C07", "C08", "C09", "C10", "C11", "C12", "C13", "C14", "C15", "C16", "C17", "C18", "C19", "C20", "C21", "C22", "C23", "S01", "S02", "S03", "S04", "S05", "S06", "S07", "S08", "S09", "S10", "S11", "S12", "S13", "S14", "S15", "S16", "S17", "S18", "I01", "I02", "I03", "I04", "I05", "I06", "I07", "I08", "I09", "I10", "I11", "I12", "I13", "D01", "D02", "D03", "D04", "D05", "D06", "D07", "D08", "D09", "D10", "D11", "D12", "D13", "D14", "D15", "D16", "D17", "D18", "D19", "D20", "U01", "U02", "U03", "U04", "U05", "U06", "U07", "U08", "U09", "U10", "U11", "U22", "K02", "B01", "B02", "B06", "B07", "T01", "T02", "T03", "T04", "T05", "L01", "L02", "L03", "L04", "L05", "L06"];
|
|
4
|
+
export type TuiScreenId = typeof TUI_SCREEN_IDS[number];
|
|
5
|
+
export type TuiRouteName = TuiRoute['name'];
|
|
6
|
+
export type TuiRouteEntity = 'none' | 'plugin' | 'source' | 'issue' | 'historyRecord' | 'activeOperation';
|
|
7
|
+
export type TuiRendererFamily = 'home' | 'pluginList' | 'batch' | 'plugin' | 'portable' | 'dependency' | 'config' | 'source' | 'issue' | 'operation' | 'history' | 'task';
|
|
8
|
+
export type TuiRouteKeymap = 'menu' | 'menuOrTextInput';
|
|
9
|
+
export interface RouteEntityState {
|
|
10
|
+
hasPlugin(pluginId: string): boolean;
|
|
11
|
+
hasSource(sourceId: string): boolean;
|
|
12
|
+
hasIssue(issueId: string): boolean;
|
|
13
|
+
hasHistoryRecord(recordId: string): boolean;
|
|
14
|
+
hasActiveOperation(route: Extract<TuiRoute, {
|
|
15
|
+
name: 'reviewPreparing' | 'review' | 'progress' | 'result';
|
|
16
|
+
}>): boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface RouteScreenContext {
|
|
19
|
+
snapshot: TuiControllerSnapshot;
|
|
20
|
+
controller: TuiController;
|
|
21
|
+
searchMode?: boolean;
|
|
22
|
+
}
|
|
23
|
+
type NamedRoute<Name extends TuiRouteName> = Extract<TuiRoute, {
|
|
24
|
+
name: Name;
|
|
25
|
+
}>;
|
|
26
|
+
export interface ScreenDefinition<Name extends TuiRouteName = TuiRouteName> {
|
|
27
|
+
entity: TuiRouteEntity;
|
|
28
|
+
rendererFamily: TuiRendererFamily;
|
|
29
|
+
keymap: TuiRouteKeymap;
|
|
30
|
+
normalize(route: NamedRoute<Name>, state: RouteEntityState): TuiRoute;
|
|
31
|
+
screenId(route: NamedRoute<Name>, context: RouteScreenContext): TuiScreenId;
|
|
32
|
+
}
|
|
33
|
+
type SourceRoute = Extract<TuiRoute, {
|
|
34
|
+
sourceId: string;
|
|
35
|
+
}>;
|
|
36
|
+
export declare const TUI_ROUTE_DEFINITIONS: {
|
|
37
|
+
home: {
|
|
38
|
+
entity: "none";
|
|
39
|
+
rendererFamily: "home";
|
|
40
|
+
keymap: "menu";
|
|
41
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>) => TuiRoute;
|
|
42
|
+
screenId: (_route: {
|
|
43
|
+
name: "home";
|
|
44
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
45
|
+
};
|
|
46
|
+
projectStatus: {
|
|
47
|
+
entity: "none";
|
|
48
|
+
rendererFamily: "home";
|
|
49
|
+
keymap: "menu";
|
|
50
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>) => TuiRoute;
|
|
51
|
+
screenId: (_route: {
|
|
52
|
+
name: "projectStatus";
|
|
53
|
+
}, { snapshot }: RouteScreenContext) => "G06" | "T01" | "T02";
|
|
54
|
+
};
|
|
55
|
+
pluginList: {
|
|
56
|
+
entity: "source";
|
|
57
|
+
rendererFamily: "pluginList";
|
|
58
|
+
keymap: "menuOrTextInput";
|
|
59
|
+
normalize: (route: {
|
|
60
|
+
name: "pluginList";
|
|
61
|
+
mode: "browse" | "installed";
|
|
62
|
+
sourceId?: string;
|
|
63
|
+
}, state: RouteEntityState) => {
|
|
64
|
+
name: "pluginList";
|
|
65
|
+
mode: "browse" | "installed";
|
|
66
|
+
sourceId?: string;
|
|
67
|
+
};
|
|
68
|
+
screenId: (route: {
|
|
69
|
+
name: "pluginList";
|
|
70
|
+
mode: "browse" | "installed";
|
|
71
|
+
sourceId?: string;
|
|
72
|
+
}, { controller, searchMode }: RouteScreenContext) => "P01" | "P02" | "P03" | "P11" | "P12";
|
|
73
|
+
};
|
|
74
|
+
pluginWriteTask: {
|
|
75
|
+
entity: "plugin";
|
|
76
|
+
rendererFamily: "task";
|
|
77
|
+
keymap: "menu";
|
|
78
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
79
|
+
screenId: (_route: {
|
|
80
|
+
name: "pluginWriteTask";
|
|
81
|
+
pluginId: string;
|
|
82
|
+
goal: "restore" | "update";
|
|
83
|
+
targetKeys?: string[];
|
|
84
|
+
versionEvidence?: Record<string, string>;
|
|
85
|
+
recommendedPluginIds?: string[];
|
|
86
|
+
batchOrigin?: {
|
|
87
|
+
flowId: string;
|
|
88
|
+
owner: "batch-write";
|
|
89
|
+
};
|
|
90
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
91
|
+
};
|
|
92
|
+
batchSelection: {
|
|
93
|
+
entity: "none";
|
|
94
|
+
rendererFamily: "batch";
|
|
95
|
+
keymap: "menuOrTextInput";
|
|
96
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>) => TuiRoute;
|
|
97
|
+
screenId: (_route: {
|
|
98
|
+
name: "batchSelection";
|
|
99
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
100
|
+
};
|
|
101
|
+
batchInstallPlatforms: {
|
|
102
|
+
entity: "none";
|
|
103
|
+
rendererFamily: "batch";
|
|
104
|
+
keymap: "menu";
|
|
105
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>) => TuiRoute;
|
|
106
|
+
screenId: (_route: {
|
|
107
|
+
name: "batchInstallPlatforms";
|
|
108
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
109
|
+
};
|
|
110
|
+
batchInstallScope: {
|
|
111
|
+
entity: "none";
|
|
112
|
+
rendererFamily: "batch";
|
|
113
|
+
keymap: "menu";
|
|
114
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>) => TuiRoute;
|
|
115
|
+
screenId: (_route: {
|
|
116
|
+
name: "batchInstallScope";
|
|
117
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
118
|
+
};
|
|
119
|
+
batchPlacement: {
|
|
120
|
+
entity: "none";
|
|
121
|
+
rendererFamily: "batch";
|
|
122
|
+
keymap: "menu";
|
|
123
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>) => TuiRoute;
|
|
124
|
+
screenId: (_route: {
|
|
125
|
+
name: "batchPlacement";
|
|
126
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
127
|
+
};
|
|
128
|
+
pluginPreview: {
|
|
129
|
+
entity: "plugin";
|
|
130
|
+
rendererFamily: "plugin";
|
|
131
|
+
keymap: "menu";
|
|
132
|
+
normalize: (route: NamedRoute<"pluginPreview">, state: RouteEntityState) => TuiRoute;
|
|
133
|
+
screenId: (route: {
|
|
134
|
+
name: "pluginPreview";
|
|
135
|
+
pluginId: string;
|
|
136
|
+
}, { controller }: RouteScreenContext) => "P04" | "D01";
|
|
137
|
+
};
|
|
138
|
+
portablePreparing: {
|
|
139
|
+
entity: "plugin";
|
|
140
|
+
rendererFamily: "portable";
|
|
141
|
+
keymap: "menu";
|
|
142
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
143
|
+
screenId: (_route: {
|
|
144
|
+
name: "portablePreparing";
|
|
145
|
+
pluginId: string;
|
|
146
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
147
|
+
};
|
|
148
|
+
portableSkillSelect: {
|
|
149
|
+
entity: "plugin";
|
|
150
|
+
rendererFamily: "portable";
|
|
151
|
+
keymap: "menu";
|
|
152
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
153
|
+
screenId: (_route: {
|
|
154
|
+
name: "portableSkillSelect";
|
|
155
|
+
pluginId: string;
|
|
156
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
157
|
+
};
|
|
158
|
+
portableDependencies: {
|
|
159
|
+
entity: "plugin";
|
|
160
|
+
rendererFamily: "portable";
|
|
161
|
+
keymap: "menu";
|
|
162
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
163
|
+
screenId: (_route: {
|
|
164
|
+
name: "portableDependencies";
|
|
165
|
+
pluginId: string;
|
|
166
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
167
|
+
};
|
|
168
|
+
portableAgentMode: {
|
|
169
|
+
entity: "plugin";
|
|
170
|
+
rendererFamily: "portable";
|
|
171
|
+
keymap: "menu";
|
|
172
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
173
|
+
screenId: (_route: {
|
|
174
|
+
name: "portableAgentMode";
|
|
175
|
+
pluginId: string;
|
|
176
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
177
|
+
};
|
|
178
|
+
portableAgentInput: {
|
|
179
|
+
entity: "plugin";
|
|
180
|
+
rendererFamily: "portable";
|
|
181
|
+
keymap: "menuOrTextInput";
|
|
182
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
183
|
+
screenId: (_route: {
|
|
184
|
+
name: "portableAgentInput";
|
|
185
|
+
pluginId: string;
|
|
186
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
187
|
+
};
|
|
188
|
+
portableScope: {
|
|
189
|
+
entity: "plugin";
|
|
190
|
+
rendererFamily: "portable";
|
|
191
|
+
keymap: "menu";
|
|
192
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
193
|
+
screenId: (_route: {
|
|
194
|
+
name: "portableScope";
|
|
195
|
+
pluginId: string;
|
|
196
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
197
|
+
};
|
|
198
|
+
portableBlocker: {
|
|
199
|
+
entity: "plugin";
|
|
200
|
+
rendererFamily: "portable";
|
|
201
|
+
keymap: "menu";
|
|
202
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
203
|
+
screenId: (route: {
|
|
204
|
+
name: "portableBlocker";
|
|
205
|
+
pluginId: string;
|
|
206
|
+
code: import("./router.js").PortableBlockerCode;
|
|
207
|
+
diagnosticCode: string;
|
|
208
|
+
operationRecordId?: string;
|
|
209
|
+
}) => "U09" | "U10" | "U11";
|
|
210
|
+
};
|
|
211
|
+
pluginDependencies: {
|
|
212
|
+
entity: "plugin";
|
|
213
|
+
rendererFamily: "dependency";
|
|
214
|
+
keymap: "menu";
|
|
215
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
216
|
+
screenId: (route: {
|
|
217
|
+
name: "pluginDependencies";
|
|
218
|
+
pluginId: string;
|
|
219
|
+
view?: "relations" | "removeBlocked";
|
|
220
|
+
direction?: "dependencies" | "dependents";
|
|
221
|
+
platform?: import("@lesliechan721/aw-plugin-core").PlatformName;
|
|
222
|
+
scope?: import("@lesliechan721/aw-plugin-core").Scope;
|
|
223
|
+
}, { controller }: RouteScreenContext) => "D02" | "D10" | "D12";
|
|
224
|
+
};
|
|
225
|
+
pluginDependencyNode: {
|
|
226
|
+
entity: "plugin";
|
|
227
|
+
rendererFamily: "dependency";
|
|
228
|
+
keymap: "menu";
|
|
229
|
+
normalize: (route: {
|
|
230
|
+
name: "pluginDependencyNode";
|
|
231
|
+
pluginId: string;
|
|
232
|
+
nodePluginId: string;
|
|
233
|
+
direction: "dependencies" | "dependents";
|
|
234
|
+
nodePathPluginIds?: string[];
|
|
235
|
+
view?: "summary" | "references";
|
|
236
|
+
}, state: RouteEntityState) => {
|
|
237
|
+
name: "pluginDependencyNode";
|
|
238
|
+
pluginId: string;
|
|
239
|
+
nodePluginId: string;
|
|
240
|
+
direction: "dependencies" | "dependents";
|
|
241
|
+
nodePathPluginIds?: string[];
|
|
242
|
+
view?: "summary" | "references";
|
|
243
|
+
} | {
|
|
244
|
+
name: "pluginDependencies";
|
|
245
|
+
pluginId: string;
|
|
246
|
+
direction: "dependencies" | "dependents";
|
|
247
|
+
mode?: undefined;
|
|
248
|
+
} | {
|
|
249
|
+
name: "pluginList";
|
|
250
|
+
mode: "installed";
|
|
251
|
+
pluginId?: undefined;
|
|
252
|
+
direction?: undefined;
|
|
253
|
+
};
|
|
254
|
+
screenId: (_route: {
|
|
255
|
+
name: "pluginDependencyNode";
|
|
256
|
+
pluginId: string;
|
|
257
|
+
nodePluginId: string;
|
|
258
|
+
direction: "dependencies" | "dependents";
|
|
259
|
+
nodePathPluginIds?: string[];
|
|
260
|
+
view?: "summary" | "references";
|
|
261
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
262
|
+
};
|
|
263
|
+
installPlacement: {
|
|
264
|
+
entity: "plugin";
|
|
265
|
+
rendererFamily: "plugin";
|
|
266
|
+
keymap: "menu";
|
|
267
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
268
|
+
screenId: (route: {
|
|
269
|
+
name: "installPlacement";
|
|
270
|
+
pluginId: string;
|
|
271
|
+
}, { controller }: RouteScreenContext) => "P05" | "D03";
|
|
272
|
+
};
|
|
273
|
+
installTargets: {
|
|
274
|
+
entity: "plugin";
|
|
275
|
+
rendererFamily: "plugin";
|
|
276
|
+
keymap: "menu";
|
|
277
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
278
|
+
screenId: (route: {
|
|
279
|
+
name: "installTargets";
|
|
280
|
+
pluginId: string;
|
|
281
|
+
view?: "selection" | "blocked";
|
|
282
|
+
}, { controller }: RouteScreenContext) => "P06" | "D04" | "D16";
|
|
283
|
+
};
|
|
284
|
+
uninstallTargets: {
|
|
285
|
+
entity: "plugin";
|
|
286
|
+
rendererFamily: "plugin";
|
|
287
|
+
keymap: "menu";
|
|
288
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
289
|
+
screenId: (_route: {
|
|
290
|
+
name: "uninstallTargets";
|
|
291
|
+
pluginId: string;
|
|
292
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
293
|
+
};
|
|
294
|
+
dependencyPlacement: {
|
|
295
|
+
entity: "plugin";
|
|
296
|
+
rendererFamily: "dependency";
|
|
297
|
+
keymap: "menu";
|
|
298
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
299
|
+
screenId: (_route: {
|
|
300
|
+
name: "dependencyPlacement";
|
|
301
|
+
pluginId: string;
|
|
302
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
303
|
+
};
|
|
304
|
+
dependencyPlacementEditor: {
|
|
305
|
+
entity: "plugin";
|
|
306
|
+
rendererFamily: "dependency";
|
|
307
|
+
keymap: "menu";
|
|
308
|
+
normalize: (route: {
|
|
309
|
+
name: "dependencyPlacementEditor";
|
|
310
|
+
pluginId: string;
|
|
311
|
+
dependencyPluginId: string;
|
|
312
|
+
platform: import("@lesliechan721/aw-plugin-core").PlatformName;
|
|
313
|
+
}, state: RouteEntityState) => {
|
|
314
|
+
name: "dependencyPlacementEditor";
|
|
315
|
+
pluginId: string;
|
|
316
|
+
dependencyPluginId: string;
|
|
317
|
+
platform: import("@lesliechan721/aw-plugin-core").PlatformName;
|
|
318
|
+
} | {
|
|
319
|
+
name: "pluginList";
|
|
320
|
+
mode: "browse";
|
|
321
|
+
};
|
|
322
|
+
screenId: (_route: {
|
|
323
|
+
name: "dependencyPlacementEditor";
|
|
324
|
+
pluginId: string;
|
|
325
|
+
dependencyPluginId: string;
|
|
326
|
+
platform: import("@lesliechan721/aw-plugin-core").PlatformName;
|
|
327
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
328
|
+
};
|
|
329
|
+
pluginDetail: {
|
|
330
|
+
entity: "plugin";
|
|
331
|
+
rendererFamily: "plugin";
|
|
332
|
+
keymap: "menu";
|
|
333
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
334
|
+
screenId: (route: {
|
|
335
|
+
name: "pluginDetail";
|
|
336
|
+
pluginId: string;
|
|
337
|
+
}, { controller }: RouteScreenContext) => "P13" | "D09";
|
|
338
|
+
};
|
|
339
|
+
pluginContent: {
|
|
340
|
+
entity: "plugin";
|
|
341
|
+
rendererFamily: "plugin";
|
|
342
|
+
keymap: "menu";
|
|
343
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
344
|
+
screenId: (_route: {
|
|
345
|
+
name: "pluginContent";
|
|
346
|
+
pluginId: string;
|
|
347
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
348
|
+
};
|
|
349
|
+
pluginMore: {
|
|
350
|
+
entity: "plugin";
|
|
351
|
+
rendererFamily: "plugin";
|
|
352
|
+
keymap: "menu";
|
|
353
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
354
|
+
screenId: (_route: {
|
|
355
|
+
name: "pluginMore";
|
|
356
|
+
pluginId: string;
|
|
357
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
358
|
+
};
|
|
359
|
+
platform: {
|
|
360
|
+
entity: "plugin";
|
|
361
|
+
rendererFamily: "plugin";
|
|
362
|
+
keymap: "menu";
|
|
363
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
364
|
+
screenId: (route: {
|
|
365
|
+
name: "platform";
|
|
366
|
+
pluginId: string;
|
|
367
|
+
platform: import("@lesliechan721/aw-plugin-core").PlatformName;
|
|
368
|
+
}, { controller }: RouteScreenContext) => "P14" | "P15" | "P16" | "P17";
|
|
369
|
+
};
|
|
370
|
+
pluginTechnical: {
|
|
371
|
+
entity: "plugin";
|
|
372
|
+
rendererFamily: "plugin";
|
|
373
|
+
keymap: "menu";
|
|
374
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
375
|
+
screenId: (_route: {
|
|
376
|
+
name: "pluginTechnical";
|
|
377
|
+
pluginId: string;
|
|
378
|
+
platform?: import("@lesliechan721/aw-plugin-core").PlatformName;
|
|
379
|
+
scope?: import("@lesliechan721/aw-plugin-core").Scope;
|
|
380
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
381
|
+
};
|
|
382
|
+
configLayer: {
|
|
383
|
+
entity: "plugin";
|
|
384
|
+
rendererFamily: "config";
|
|
385
|
+
keymap: "menu";
|
|
386
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
387
|
+
screenId: (_route: {
|
|
388
|
+
name: "configLayer";
|
|
389
|
+
pluginId: string;
|
|
390
|
+
fieldKey?: string;
|
|
391
|
+
groupId?: string;
|
|
392
|
+
presetId?: string;
|
|
393
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
394
|
+
};
|
|
395
|
+
configFields: {
|
|
396
|
+
entity: "plugin";
|
|
397
|
+
rendererFamily: "config";
|
|
398
|
+
keymap: "menu";
|
|
399
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
400
|
+
screenId: (_route: {
|
|
401
|
+
name: "configFields";
|
|
402
|
+
pluginId: string;
|
|
403
|
+
layer: {
|
|
404
|
+
scope: import("@lesliechan721/aw-plugin-core").Scope | "effective";
|
|
405
|
+
};
|
|
406
|
+
view?: "options" | "values";
|
|
407
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
408
|
+
};
|
|
409
|
+
configFieldEditor: {
|
|
410
|
+
entity: "plugin";
|
|
411
|
+
rendererFamily: "config";
|
|
412
|
+
keymap: "menuOrTextInput";
|
|
413
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
414
|
+
screenId: (route: {
|
|
415
|
+
name: "configFieldEditor";
|
|
416
|
+
pluginId: string;
|
|
417
|
+
layer: {
|
|
418
|
+
scope: import("@lesliechan721/aw-plugin-core").Scope | "effective";
|
|
419
|
+
};
|
|
420
|
+
fieldKey: string;
|
|
421
|
+
editor: "boolean" | "number" | "string" | "object" | "array";
|
|
422
|
+
mode?: "choices" | "custom";
|
|
423
|
+
arrayItem?: {
|
|
424
|
+
rowId?: string;
|
|
425
|
+
};
|
|
426
|
+
}) => "C03" | "C04" | "C06" | "C15" | "C20";
|
|
427
|
+
};
|
|
428
|
+
configObjectPropertyEditor: {
|
|
429
|
+
entity: "plugin";
|
|
430
|
+
rendererFamily: "config";
|
|
431
|
+
keymap: "menuOrTextInput";
|
|
432
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
433
|
+
screenId: (_route: {
|
|
434
|
+
name: "configObjectPropertyEditor";
|
|
435
|
+
pluginId: string;
|
|
436
|
+
layer: {
|
|
437
|
+
scope: import("@lesliechan721/aw-plugin-core").Scope | "effective";
|
|
438
|
+
};
|
|
439
|
+
fieldKey: string;
|
|
440
|
+
propertyKey?: string;
|
|
441
|
+
dynamic: boolean;
|
|
442
|
+
stage: "key" | "action" | "choices" | "custom";
|
|
443
|
+
arrayItem?: {
|
|
444
|
+
rowId?: string;
|
|
445
|
+
};
|
|
446
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
447
|
+
};
|
|
448
|
+
configFieldAction: {
|
|
449
|
+
entity: "plugin";
|
|
450
|
+
rendererFamily: "config";
|
|
451
|
+
keymap: "menu";
|
|
452
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
453
|
+
screenId: (_route: {
|
|
454
|
+
name: "configFieldAction";
|
|
455
|
+
pluginId: string;
|
|
456
|
+
layer: {
|
|
457
|
+
scope: import("@lesliechan721/aw-plugin-core").Scope | "effective";
|
|
458
|
+
};
|
|
459
|
+
fieldKey: string;
|
|
460
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
461
|
+
};
|
|
462
|
+
configUnavailable: {
|
|
463
|
+
entity: "plugin";
|
|
464
|
+
rendererFamily: "config";
|
|
465
|
+
keymap: "menu";
|
|
466
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
467
|
+
screenId: (_route: {
|
|
468
|
+
name: "configUnavailable";
|
|
469
|
+
pluginId: string;
|
|
470
|
+
overviewFrameId?: string;
|
|
471
|
+
layer?: {
|
|
472
|
+
scope: import("@lesliechan721/aw-plugin-core").Scope;
|
|
473
|
+
};
|
|
474
|
+
invalidStores?: import("./router.js").ConfigInvalidStoreEvidence[];
|
|
475
|
+
diagnosticCode?: string;
|
|
476
|
+
diagnosticStage?: string;
|
|
477
|
+
resumeRoute?: import("./router.js").ConfigResumeRoute;
|
|
478
|
+
resumeContext?: Pick<import("./router.js").TuiPageContext, "configGroupId" | "focusIndex" | "scrollOffset">;
|
|
479
|
+
storedScopes?: import("@lesliechan721/aw-plugin-core").Scope[];
|
|
480
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
481
|
+
};
|
|
482
|
+
sourceList: {
|
|
483
|
+
entity: "none";
|
|
484
|
+
rendererFamily: "source";
|
|
485
|
+
keymap: "menu";
|
|
486
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>) => TuiRoute;
|
|
487
|
+
screenId: (_route: {
|
|
488
|
+
name: "sourceList";
|
|
489
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
490
|
+
};
|
|
491
|
+
sourceDetail: {
|
|
492
|
+
entity: "source";
|
|
493
|
+
rendererFamily: "source";
|
|
494
|
+
keymap: "menu";
|
|
495
|
+
normalize: (route: SourceRoute, state: RouteEntityState) => TuiRoute;
|
|
496
|
+
screenId: (_route: {
|
|
497
|
+
name: "sourceDetail";
|
|
498
|
+
sourceId: string;
|
|
499
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
500
|
+
};
|
|
501
|
+
sourceMore: {
|
|
502
|
+
entity: "source";
|
|
503
|
+
rendererFamily: "source";
|
|
504
|
+
keymap: "menu";
|
|
505
|
+
normalize: (route: SourceRoute, state: RouteEntityState) => TuiRoute;
|
|
506
|
+
screenId: (_route: {
|
|
507
|
+
name: "sourceMore";
|
|
508
|
+
sourceId: string;
|
|
509
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
510
|
+
};
|
|
511
|
+
sourceTechnical: {
|
|
512
|
+
entity: "source";
|
|
513
|
+
rendererFamily: "source";
|
|
514
|
+
keymap: "menu";
|
|
515
|
+
normalize: (route: SourceRoute, state: RouteEntityState) => TuiRoute;
|
|
516
|
+
screenId: (_route: {
|
|
517
|
+
name: "sourceTechnical";
|
|
518
|
+
sourceId: string;
|
|
519
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
520
|
+
};
|
|
521
|
+
sourceAdd: {
|
|
522
|
+
entity: "none";
|
|
523
|
+
rendererFamily: "source";
|
|
524
|
+
keymap: "menuOrTextInput";
|
|
525
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>) => TuiRoute;
|
|
526
|
+
screenId: (route: {
|
|
527
|
+
name: "sourceAdd";
|
|
528
|
+
step: "type" | "id" | "location" | "refPolicy" | "ref" | "subdir";
|
|
529
|
+
owner: string;
|
|
530
|
+
returnToDraft?: true;
|
|
531
|
+
}) => "S04" | "S05" | "S06" | "S07" | "S08" | "S09";
|
|
532
|
+
};
|
|
533
|
+
sourceEdit: {
|
|
534
|
+
entity: "source";
|
|
535
|
+
rendererFamily: "source";
|
|
536
|
+
keymap: "menuOrTextInput";
|
|
537
|
+
normalize: (route: SourceRoute, state: RouteEntityState) => TuiRoute;
|
|
538
|
+
screenId: (_route: {
|
|
539
|
+
name: "sourceEdit";
|
|
540
|
+
sourceId: string;
|
|
541
|
+
owner?: string;
|
|
542
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
543
|
+
};
|
|
544
|
+
sourceSave: {
|
|
545
|
+
entity: "none";
|
|
546
|
+
rendererFamily: "source";
|
|
547
|
+
keymap: "menu";
|
|
548
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>) => TuiRoute;
|
|
549
|
+
screenId: (_route: {
|
|
550
|
+
name: "sourceSave";
|
|
551
|
+
owner: string;
|
|
552
|
+
view?: "summary" | "changes";
|
|
553
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
554
|
+
};
|
|
555
|
+
configSave: {
|
|
556
|
+
entity: "plugin";
|
|
557
|
+
rendererFamily: "config";
|
|
558
|
+
keymap: "menu";
|
|
559
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
560
|
+
screenId: (route: {
|
|
561
|
+
name: "configSave";
|
|
562
|
+
pluginId: string;
|
|
563
|
+
layer: {
|
|
564
|
+
scope: import("@lesliechan721/aw-plugin-core").Scope | "effective";
|
|
565
|
+
};
|
|
566
|
+
view?: "summary" | "changes";
|
|
567
|
+
}) => "C09" | "C10";
|
|
568
|
+
};
|
|
569
|
+
scriptTimeout: {
|
|
570
|
+
entity: "none";
|
|
571
|
+
rendererFamily: "operation";
|
|
572
|
+
keymap: "menuOrTextInput";
|
|
573
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>) => TuiRoute;
|
|
574
|
+
screenId: (_route: {
|
|
575
|
+
name: "scriptTimeout";
|
|
576
|
+
owner: string;
|
|
577
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
578
|
+
};
|
|
579
|
+
sourceRemoveBlocked: {
|
|
580
|
+
entity: "source";
|
|
581
|
+
rendererFamily: "source";
|
|
582
|
+
keymap: "menu";
|
|
583
|
+
normalize: (route: SourceRoute, state: RouteEntityState) => TuiRoute;
|
|
584
|
+
screenId: (_route: {
|
|
585
|
+
name: "sourceRemoveBlocked";
|
|
586
|
+
sourceId: string;
|
|
587
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
588
|
+
};
|
|
589
|
+
catalogStoreOverview: {
|
|
590
|
+
entity: "none";
|
|
591
|
+
rendererFamily: "source";
|
|
592
|
+
keymap: "menu";
|
|
593
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>) => TuiRoute;
|
|
594
|
+
screenId: (_route: {
|
|
595
|
+
name: "catalogStoreOverview";
|
|
596
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
597
|
+
};
|
|
598
|
+
catalogStoreRules: {
|
|
599
|
+
entity: "none";
|
|
600
|
+
rendererFamily: "source";
|
|
601
|
+
keymap: "menu";
|
|
602
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>) => TuiRoute;
|
|
603
|
+
screenId: (_route: {
|
|
604
|
+
name: "catalogStoreRules";
|
|
605
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
606
|
+
};
|
|
607
|
+
issueList: {
|
|
608
|
+
entity: "none";
|
|
609
|
+
rendererFamily: "issue";
|
|
610
|
+
keymap: "menu";
|
|
611
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>) => TuiRoute;
|
|
612
|
+
screenId: (_route: {
|
|
613
|
+
name: "issueList";
|
|
614
|
+
}, { controller }: RouteScreenContext) => "I01" | "I02" | "D13";
|
|
615
|
+
};
|
|
616
|
+
issueDetail: {
|
|
617
|
+
entity: "issue";
|
|
618
|
+
rendererFamily: "issue";
|
|
619
|
+
keymap: "menu";
|
|
620
|
+
normalize: (route: NamedRoute<"issueDetail">, state: RouteEntityState) => TuiRoute;
|
|
621
|
+
screenId: (route: {
|
|
622
|
+
name: "issueDetail";
|
|
623
|
+
issueId: string;
|
|
624
|
+
}, { controller }: RouteScreenContext) => "I03" | "I04" | "I05" | "I06" | "I07" | "I08" | "I09" | "D12" | "D14" | "D15" | "D16" | "D17";
|
|
625
|
+
};
|
|
626
|
+
operationHistory: {
|
|
627
|
+
entity: "none";
|
|
628
|
+
rendererFamily: "history";
|
|
629
|
+
keymap: "menu";
|
|
630
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>) => TuiRoute;
|
|
631
|
+
screenId: (_route: {
|
|
632
|
+
name: "operationHistory";
|
|
633
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
634
|
+
};
|
|
635
|
+
operationDiagnostic: {
|
|
636
|
+
entity: "historyRecord";
|
|
637
|
+
rendererFamily: "history";
|
|
638
|
+
keymap: "menu";
|
|
639
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>) => TuiRoute;
|
|
640
|
+
screenId: (_route: {
|
|
641
|
+
name: "operationDiagnostic";
|
|
642
|
+
recordId: string;
|
|
643
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
644
|
+
};
|
|
645
|
+
operationReportPreview: {
|
|
646
|
+
entity: "historyRecord";
|
|
647
|
+
rendererFamily: "history";
|
|
648
|
+
keymap: "menu";
|
|
649
|
+
normalize: <Name extends TuiRouteName>(route: NamedRoute<Name>) => TuiRoute;
|
|
650
|
+
screenId: (_route: {
|
|
651
|
+
name: "operationReportPreview";
|
|
652
|
+
recordId: string;
|
|
653
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
654
|
+
};
|
|
655
|
+
reviewPreparing: {
|
|
656
|
+
entity: "activeOperation";
|
|
657
|
+
rendererFamily: "operation";
|
|
658
|
+
keymap: "menu";
|
|
659
|
+
normalize: <Name extends "reviewPreparing" | "review" | "progress" | "result">(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
660
|
+
screenId: (_route: {
|
|
661
|
+
name: "reviewPreparing";
|
|
662
|
+
preparationId: string;
|
|
663
|
+
}, _context: RouteScreenContext) => TuiScreenId;
|
|
664
|
+
};
|
|
665
|
+
review: {
|
|
666
|
+
entity: "activeOperation";
|
|
667
|
+
rendererFamily: "operation";
|
|
668
|
+
keymap: "menu";
|
|
669
|
+
normalize: <Name extends "reviewPreparing" | "review" | "progress" | "result">(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
670
|
+
screenId: (_route: {
|
|
671
|
+
name: "review";
|
|
672
|
+
operationId: string;
|
|
673
|
+
}, context: RouteScreenContext) => "G01" | "G02" | "G03" | "G04" | "G05" | "G06" | "P01" | "P02" | "P03" | "P04" | "P05" | "P06" | "P07" | "P08" | "P09" | "P10" | "P11" | "P12" | "P13" | "P14" | "P15" | "P16" | "P17" | "P18" | "P19" | "P21" | "P22" | "C01" | "C02" | "C03" | "C04" | "C05" | "C06" | "C07" | "C08" | "C09" | "C10" | "C11" | "C12" | "C13" | "C14" | "C15" | "C16" | "C17" | "C18" | "C19" | "C20" | "C21" | "C22" | "C23" | "S01" | "S02" | "S03" | "S04" | "S05" | "S06" | "S07" | "S08" | "S09" | "S10" | "S11" | "S12" | "S13" | "S14" | "S15" | "S16" | "S17" | "S18" | "I01" | "I02" | "I03" | "I04" | "I05" | "I06" | "I07" | "I08" | "I09" | "I10" | "I11" | "I12" | "I13" | "D01" | "D02" | "D03" | "D04" | "D05" | "D06" | "D07" | "D08" | "D09" | "D10" | "D11" | "D12" | "D13" | "D14" | "D15" | "D16" | "D17" | "D18" | "D19" | "D20" | "U01" | "U02" | "U03" | "U04" | "U05" | "U06" | "U07" | "U08" | "U09" | "U10" | "U11" | "U22" | "K02" | "B01" | "B02" | "B06" | "B07" | "T01" | "T02" | "T03" | "T04" | "T05" | "L01" | "L02" | "L03" | "L04" | "L05" | "L06";
|
|
674
|
+
};
|
|
675
|
+
progress: {
|
|
676
|
+
entity: "activeOperation";
|
|
677
|
+
rendererFamily: "operation";
|
|
678
|
+
keymap: "menu";
|
|
679
|
+
normalize: <Name extends "reviewPreparing" | "review" | "progress" | "result">(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
680
|
+
screenId: (_route: {
|
|
681
|
+
name: "progress";
|
|
682
|
+
operationId: string;
|
|
683
|
+
}, context: RouteScreenContext) => "G01" | "G02" | "G03" | "G04" | "G05" | "G06" | "P01" | "P02" | "P03" | "P04" | "P05" | "P06" | "P07" | "P08" | "P09" | "P10" | "P11" | "P12" | "P13" | "P14" | "P15" | "P16" | "P17" | "P18" | "P19" | "P21" | "P22" | "C01" | "C02" | "C03" | "C04" | "C05" | "C06" | "C07" | "C08" | "C09" | "C10" | "C11" | "C12" | "C13" | "C14" | "C15" | "C16" | "C17" | "C18" | "C19" | "C20" | "C21" | "C22" | "C23" | "S01" | "S02" | "S03" | "S04" | "S05" | "S06" | "S07" | "S08" | "S09" | "S10" | "S11" | "S12" | "S13" | "S14" | "S15" | "S16" | "S17" | "S18" | "I01" | "I02" | "I03" | "I04" | "I05" | "I06" | "I07" | "I08" | "I09" | "I10" | "I11" | "I12" | "I13" | "D01" | "D02" | "D03" | "D04" | "D05" | "D06" | "D07" | "D08" | "D09" | "D10" | "D11" | "D12" | "D13" | "D14" | "D15" | "D16" | "D17" | "D18" | "D19" | "D20" | "U01" | "U02" | "U03" | "U04" | "U05" | "U06" | "U07" | "U08" | "U09" | "U10" | "U11" | "U22" | "K02" | "B01" | "B02" | "B06" | "B07" | "T01" | "T02" | "T03" | "T04" | "T05" | "L01" | "L02" | "L03" | "L04" | "L05" | "L06";
|
|
684
|
+
};
|
|
685
|
+
result: {
|
|
686
|
+
entity: "activeOperation";
|
|
687
|
+
rendererFamily: "operation";
|
|
688
|
+
keymap: "menu";
|
|
689
|
+
normalize: <Name extends "reviewPreparing" | "review" | "progress" | "result">(route: NamedRoute<Name>, state: RouteEntityState) => TuiRoute;
|
|
690
|
+
screenId: (_route: {
|
|
691
|
+
name: "result";
|
|
692
|
+
operationId: string;
|
|
693
|
+
}, context: RouteScreenContext) => "G01" | "G02" | "G03" | "G04" | "G05" | "G06" | "P01" | "P02" | "P03" | "P04" | "P05" | "P06" | "P07" | "P08" | "P09" | "P10" | "P11" | "P12" | "P13" | "P14" | "P15" | "P16" | "P17" | "P18" | "P19" | "P21" | "P22" | "C01" | "C02" | "C03" | "C04" | "C05" | "C06" | "C07" | "C08" | "C09" | "C10" | "C11" | "C12" | "C13" | "C14" | "C15" | "C16" | "C17" | "C18" | "C19" | "C20" | "C21" | "C22" | "C23" | "S01" | "S02" | "S03" | "S04" | "S05" | "S06" | "S07" | "S08" | "S09" | "S10" | "S11" | "S12" | "S13" | "S14" | "S15" | "S16" | "S17" | "S18" | "I01" | "I02" | "I03" | "I04" | "I05" | "I06" | "I07" | "I08" | "I09" | "I10" | "I11" | "I12" | "I13" | "D01" | "D02" | "D03" | "D04" | "D05" | "D06" | "D07" | "D08" | "D09" | "D10" | "D11" | "D12" | "D13" | "D14" | "D15" | "D16" | "D17" | "D18" | "D19" | "D20" | "U01" | "U02" | "U03" | "U04" | "U05" | "U06" | "U07" | "U08" | "U09" | "U10" | "U11" | "U22" | "K02" | "B01" | "B02" | "B06" | "B07" | "T01" | "T02" | "T03" | "T04" | "T05" | "L01" | "L02" | "L03" | "L04" | "L05" | "L06";
|
|
694
|
+
};
|
|
695
|
+
};
|
|
696
|
+
export declare function routeDefinition<Name extends TuiRouteName>(route: NamedRoute<Name>): ScreenDefinition<Name>;
|
|
697
|
+
export declare function normalizeTuiRoute(route: TuiRoute, state: RouteEntityState): TuiRoute;
|
|
698
|
+
export declare function routeSupportsCharacterInput(route: TuiRoute): boolean;
|
|
699
|
+
export declare function unreachableTuiRoute(route: never): never;
|
|
700
|
+
export declare function resolveRouteScreenId(route: TuiRoute, context: RouteScreenContext): TuiScreenId;
|
|
701
|
+
export {};
|