@documentation-robotics/cli 0.1.0 → 0.1.5
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/LICENSE +21 -0
- package/README.md +466 -693
- package/dist/analysis/data-model-analyzer.js +189 -0
- package/dist/analysis/data-model-analyzer.js.map +7 -0
- package/dist/analysis/index.js +3 -0
- package/dist/analysis/index.js.map +7 -0
- package/dist/analysis/relationship-classifier.js +181 -0
- package/dist/analysis/relationship-classifier.js.map +7 -0
- package/dist/analyzers/base-analyzer.js +1 -0
- package/dist/analyzers/base-analyzer.js.map +7 -0
- package/dist/analyzers/call-graph-utils.js +39 -0
- package/dist/analyzers/call-graph-utils.js.map +7 -0
- package/dist/analyzers/cbm-analyzer.js +1205 -0
- package/dist/analyzers/cbm-analyzer.js.map +7 -0
- package/dist/analyzers/heuristic-utils.js +55 -0
- package/dist/analyzers/heuristic-utils.js.map +7 -0
- package/dist/analyzers/mapping-loader.js +146 -0
- package/dist/analyzers/mapping-loader.js.map +7 -0
- package/dist/analyzers/registry.js +124 -0
- package/dist/analyzers/registry.js.map +7 -0
- package/dist/analyzers/session-state.js +176 -0
- package/dist/analyzers/session-state.js.map +7 -0
- package/dist/analyzers/stdio-client.js +206 -0
- package/dist/analyzers/stdio-client.js.map +7 -0
- package/dist/analyzers/types.js +15 -0
- package/dist/analyzers/types.js.map +7 -0
- package/dist/analyzers/verify-engine.js +209 -0
- package/dist/analyzers/verify-engine.js.map +7 -0
- package/dist/analyzers/verify-ignore.js +130 -0
- package/dist/analyzers/verify-ignore.js.map +7 -0
- package/dist/analyzers/version.js +8 -0
- package/dist/analyzers/version.js.map +7 -0
- package/dist/audit/ai/runner.js +41 -0
- package/dist/audit/ai/runner.js.map +7 -0
- package/dist/audit/differential-analyzer.js +183 -0
- package/dist/audit/differential-analyzer.js.map +7 -0
- package/dist/audit/index.js +32 -0
- package/dist/audit/index.js.map +7 -0
- package/dist/audit/nodes/ai/evaluator.js +49 -0
- package/dist/audit/nodes/ai/evaluator.js.map +7 -0
- package/dist/audit/nodes/ai/parser.js +55 -0
- package/dist/audit/nodes/ai/parser.js.map +7 -0
- package/dist/audit/nodes/ai/prompts.js +103 -0
- package/dist/audit/nodes/ai/prompts.js.map +7 -0
- package/dist/audit/nodes/analysis/node-completeness-checker.js +32 -0
- package/dist/audit/nodes/analysis/node-completeness-checker.js.map +7 -0
- package/dist/audit/nodes/analysis/node-definition-analyzer.js +47 -0
- package/dist/audit/nodes/analysis/node-definition-analyzer.js.map +7 -0
- package/dist/audit/nodes/analysis/node-overlap-detector.js +79 -0
- package/dist/audit/nodes/analysis/node-overlap-detector.js.map +7 -0
- package/dist/audit/nodes/model/orchestrator.js +82 -0
- package/dist/audit/nodes/model/orchestrator.js.map +7 -0
- package/dist/audit/nodes/spec/loader.js +116 -0
- package/dist/audit/nodes/spec/loader.js.map +7 -0
- package/dist/audit/nodes/spec/orchestrator.js +68 -0
- package/dist/audit/nodes/spec/orchestrator.js.map +7 -0
- package/dist/audit/nodes/types.js +1 -0
- package/dist/audit/nodes/types.js.map +7 -0
- package/dist/audit/pipeline/index.js +5 -0
- package/dist/audit/pipeline/index.js.map +7 -0
- package/dist/audit/pipeline/pipeline-orchestrator.js +218 -0
- package/dist/audit/pipeline/pipeline-orchestrator.js.map +7 -0
- package/dist/audit/relationships/ai/evaluator.js +235 -0
- package/dist/audit/relationships/ai/evaluator.js.map +7 -0
- package/dist/audit/relationships/ai/parser.js +197 -0
- package/dist/audit/relationships/ai/parser.js.map +7 -0
- package/dist/audit/relationships/ai/prompts.js +274 -0
- package/dist/audit/relationships/ai/prompts.js.map +7 -0
- package/dist/audit/relationships/analysis/balance-assessor.js +115 -0
- package/dist/audit/relationships/analysis/balance-assessor.js.map +7 -0
- package/dist/audit/relationships/analysis/coverage-analyzer.js +99 -0
- package/dist/audit/relationships/analysis/coverage-analyzer.js.map +7 -0
- package/dist/audit/relationships/analysis/duplicate-detector.js +95 -0
- package/dist/audit/relationships/analysis/duplicate-detector.js.map +7 -0
- package/dist/audit/relationships/analysis/gap-analyzer.js +99 -0
- package/dist/audit/relationships/analysis/gap-analyzer.js.map +7 -0
- package/dist/audit/relationships/analysis/layer-templates.js +294 -0
- package/dist/audit/relationships/analysis/layer-templates.js.map +7 -0
- package/dist/audit/relationships/graph/connectivity.js +129 -0
- package/dist/audit/relationships/graph/connectivity.js.map +7 -0
- package/dist/audit/relationships/graph/relationship-graph.js +179 -0
- package/dist/audit/relationships/graph/relationship-graph.js.map +7 -0
- package/dist/audit/relationships/model/balance-assessor.js +49 -0
- package/dist/audit/relationships/model/balance-assessor.js.map +7 -0
- package/dist/audit/relationships/model/coverage-analyzer.js +34 -0
- package/dist/audit/relationships/model/coverage-analyzer.js.map +7 -0
- package/dist/audit/relationships/model/duplicate-detector.js +68 -0
- package/dist/audit/relationships/model/duplicate-detector.js.map +7 -0
- package/dist/audit/relationships/model/gap-analyzer.js +41 -0
- package/dist/audit/relationships/model/gap-analyzer.js.map +7 -0
- package/dist/audit/relationships/model/orchestrator.js +126 -0
- package/dist/audit/relationships/model/orchestrator.js.map +7 -0
- package/dist/audit/relationships/spec/orchestrator.js +157 -0
- package/dist/audit/relationships/spec/orchestrator.js.map +7 -0
- package/dist/audit/reports/index.js +5 -0
- package/dist/audit/reports/index.js.map +7 -0
- package/dist/audit/reports/report-generator.js +118 -0
- package/dist/audit/reports/report-generator.js.map +7 -0
- package/dist/audit/snapshot-storage.js +163 -0
- package/dist/audit/snapshot-storage.js.map +7 -0
- package/dist/audit/types.js +21 -0
- package/dist/audit/types.js.map +7 -0
- package/dist/cli.js +223 -92
- package/dist/cli.js.map +3 -3
- package/dist/coding-agents/agents/claude-code.js +147 -0
- package/dist/coding-agents/agents/claude-code.js.map +7 -0
- package/dist/coding-agents/agents/index.js +5 -0
- package/dist/coding-agents/agents/index.js.map +7 -0
- package/dist/coding-agents/agents/types.js +1 -0
- package/dist/coding-agents/agents/types.js.map +7 -0
- package/dist/coding-agents/base-chat-client.js +45 -0
- package/dist/coding-agents/base-chat-client.js.map +7 -0
- package/dist/coding-agents/chat-utils.js +23 -0
- package/dist/coding-agents/chat-utils.js.map +7 -0
- package/dist/coding-agents/claude-code-client.js +246 -0
- package/dist/coding-agents/claude-code-client.js.map +7 -0
- package/dist/coding-agents/copilot-client.js +209 -0
- package/dist/coding-agents/copilot-client.js.map +7 -0
- package/dist/commands/add.js +95 -33
- package/dist/commands/add.js.map +2 -2
- package/dist/commands/analyzer.js +511 -0
- package/dist/commands/analyzer.js.map +7 -0
- package/dist/commands/audit-diff.js +49 -0
- package/dist/commands/audit-diff.js.map +7 -0
- package/dist/commands/audit-snapshots.js +62 -0
- package/dist/commands/audit-snapshots.js.map +7 -0
- package/dist/commands/audit.js +81 -0
- package/dist/commands/audit.js.map +7 -0
- package/dist/commands/catalog.js +248 -0
- package/dist/commands/catalog.js.map +7 -0
- package/dist/commands/changeset.js +577 -66
- package/dist/commands/changeset.js.map +2 -2
- package/dist/commands/chat.js +106 -83
- package/dist/commands/chat.js.map +2 -2
- package/dist/commands/claude.js +74 -0
- package/dist/commands/claude.js.map +7 -0
- package/dist/commands/conformance.js +71 -68
- package/dist/commands/conformance.js.map +2 -2
- package/dist/commands/copilot.js +75 -0
- package/dist/commands/copilot.js.map +7 -0
- package/dist/commands/delete.js +125 -11
- package/dist/commands/delete.js.map +3 -3
- package/dist/commands/discover-logic.js +44 -0
- package/dist/commands/discover-logic.js.map +7 -0
- package/dist/commands/docs.js +87 -0
- package/dist/commands/docs.js.map +7 -0
- package/dist/commands/element.js +14 -20
- package/dist/commands/element.js.map +2 -2
- package/dist/commands/export.js +13 -3
- package/dist/commands/export.js.map +2 -2
- package/dist/commands/import.js +51 -0
- package/dist/commands/import.js.map +7 -0
- package/dist/commands/info.js +30 -24
- package/dist/commands/info.js.map +2 -2
- package/dist/commands/init.js +27 -11
- package/dist/commands/init.js.map +2 -2
- package/dist/commands/list.js +63 -13
- package/dist/commands/list.js.map +3 -3
- package/dist/commands/relationship.js +225 -37
- package/dist/commands/relationship.js.map +2 -2
- package/dist/commands/report.js +54 -0
- package/dist/commands/report.js.map +7 -0
- package/dist/commands/reports.js +45 -0
- package/dist/commands/reports.js.map +7 -0
- package/dist/commands/schema.js +135 -0
- package/dist/commands/schema.js.map +7 -0
- package/dist/commands/search.js +40 -12
- package/dist/commands/search.js.map +2 -2
- package/dist/commands/show.js +58 -27
- package/dist/commands/show.js.map +2 -2
- package/dist/commands/stats.js +35 -0
- package/dist/commands/stats.js.map +7 -0
- package/dist/commands/trace.js +39 -16
- package/dist/commands/trace.js.map +2 -2
- package/dist/commands/update.js +141 -14
- package/dist/commands/update.js.map +2 -2
- package/dist/commands/upgrade.js +210 -46
- package/dist/commands/upgrade.js.map +3 -3
- package/dist/commands/validate.js +142 -23
- package/dist/commands/validate.js.map +3 -3
- package/dist/commands/version.js +8 -12
- package/dist/commands/version.js.map +2 -2
- package/dist/commands/visualize.js +155 -25
- package/dist/commands/visualize.js.map +2 -2
- package/dist/core/base-snapshot-manager.js +84 -0
- package/dist/core/base-snapshot-manager.js.map +7 -0
- package/dist/core/changeset-exporter.js +305 -0
- package/dist/core/changeset-exporter.js.map +7 -0
- package/dist/core/changeset-validator.js +41 -0
- package/dist/core/changeset-validator.js.map +7 -0
- package/dist/core/changeset.js +88 -173
- package/dist/core/changeset.js.map +2 -2
- package/dist/core/dependency-tracker.js +4 -2
- package/dist/core/dependency-tracker.js.map +2 -2
- package/dist/core/element.js +98 -27
- package/dist/core/element.js.map +2 -2
- package/dist/core/golden-copy-cache.js +290 -0
- package/dist/core/golden-copy-cache.js.map +7 -0
- package/dist/core/graph-model.js +266 -0
- package/dist/core/graph-model.js.map +7 -0
- package/dist/core/layer.js +159 -16
- package/dist/core/layer.js.map +2 -2
- package/dist/core/layers.js +32 -0
- package/dist/core/layers.js.map +7 -0
- package/dist/core/manifest.js +32 -11
- package/dist/core/manifest.js.map +2 -2
- package/dist/core/migration-registry.js +56 -1
- package/dist/core/migration-registry.js.map +2 -2
- package/dist/core/model.js +424 -217
- package/dist/core/model.js.map +3 -3
- package/dist/core/mutation-handler.js +179 -0
- package/dist/core/mutation-handler.js.map +7 -0
- package/dist/core/reference-registry.js +29 -21
- package/dist/core/reference-registry.js.map +2 -2
- package/dist/core/relationship-catalog.js +189 -0
- package/dist/core/relationship-catalog.js.map +7 -0
- package/dist/core/relationship-registry.js.map +2 -2
- package/dist/core/relationships.js.map +1 -1
- package/dist/core/report-data-model.js +285 -0
- package/dist/core/report-data-model.js.map +7 -0
- package/dist/core/spec-data-service.js +185 -0
- package/dist/core/spec-data-service.js.map +7 -0
- package/dist/core/spec-loader-types.js +1 -0
- package/dist/core/spec-loader-types.js.map +7 -0
- package/dist/core/spec-loader.js +234 -0
- package/dist/core/spec-loader.js.map +7 -0
- package/dist/core/staged-changeset-storage.js +282 -0
- package/dist/core/staged-changeset-storage.js.map +7 -0
- package/dist/core/staging-area.js +1002 -0
- package/dist/core/staging-area.js.map +7 -0
- package/dist/core/stats-collector.js +169 -0
- package/dist/core/stats-collector.js.map +7 -0
- package/dist/core/virtual-projection.js +443 -0
- package/dist/core/virtual-projection.js.map +7 -0
- package/dist/export/archimate-exporter.js +99 -60
- package/dist/export/archimate-exporter.js.map +2 -2
- package/dist/export/audit-formatters.js +479 -0
- package/dist/export/audit-formatters.js.map +7 -0
- package/dist/export/diff-formatters.js +99 -0
- package/dist/export/diff-formatters.js.map +7 -0
- package/dist/export/export-manager.js.map +2 -2
- package/dist/export/graphml-exporter.js +44 -27
- package/dist/export/graphml-exporter.js.map +2 -2
- package/dist/export/index.js +4 -0
- package/dist/export/index.js.map +2 -2
- package/dist/export/json-schema-exporter.js +55 -42
- package/dist/export/json-schema-exporter.js.map +2 -2
- package/dist/export/markdown-exporter.js +92 -70
- package/dist/export/markdown-exporter.js.map +2 -2
- package/dist/export/markdown-generator.js +248 -0
- package/dist/export/markdown-generator.js.map +7 -0
- package/dist/export/markdown-utils.js +30 -0
- package/dist/export/markdown-utils.js.map +7 -0
- package/dist/export/mermaid-markdown-exporter.js +37 -0
- package/dist/export/mermaid-markdown-exporter.js.map +7 -0
- package/dist/export/openapi-exporter.js +119 -71
- package/dist/export/openapi-exporter.js.map +2 -2
- package/dist/export/plantuml-exporter.js +104 -39
- package/dist/export/plantuml-exporter.js.map +2 -2
- package/dist/export/report-formatters.js +111 -0
- package/dist/export/report-formatters.js.map +7 -0
- package/dist/export/stats-formatters.js +98 -0
- package/dist/export/stats-formatters.js.map +7 -0
- package/dist/export/types.js +2 -14
- package/dist/export/types.js.map +2 -2
- package/dist/export/verify-formatters.js +153 -0
- package/dist/export/verify-formatters.js.map +7 -0
- package/dist/generated/compiled-validators.js +17 -0
- package/dist/generated/compiled-validators.js.map +7 -0
- package/dist/generated/index.js +31 -0
- package/dist/generated/index.js.map +7 -0
- package/dist/generated/layer-registry.js +190 -0
- package/dist/generated/layer-registry.js.map +7 -0
- package/dist/generated/layer-types.js +7 -0
- package/dist/generated/layer-types.js.map +7 -0
- package/dist/generated/node-types.js +1719 -0
- package/dist/generated/node-types.js.map +7 -0
- package/dist/generated/relationship-index.js +14552 -0
- package/dist/generated/relationship-index.js.map +7 -0
- package/dist/import/archimate-importer.js +166 -0
- package/dist/import/archimate-importer.js.map +7 -0
- package/dist/import/index.js +47 -0
- package/dist/import/index.js.map +7 -0
- package/dist/import/openapi-importer.js +143 -0
- package/dist/import/openapi-importer.js.map +7 -0
- package/dist/import/types.js +1 -0
- package/dist/import/types.js.map +7 -0
- package/dist/integrations/base-manager.js +311 -0
- package/dist/integrations/base-manager.js.map +7 -0
- package/dist/integrations/claude-manager.js +360 -0
- package/dist/integrations/claude-manager.js.map +7 -0
- package/dist/integrations/claude_code/agents/dr-advisor.md +253 -0
- package/dist/integrations/claude_code/agents/dr-architect.md +278 -0
- package/dist/integrations/claude_code/agents/dr-extractor.md +286 -0
- package/dist/integrations/claude_code/commands/dr-changeset.md +657 -0
- package/dist/integrations/claude_code/commands/dr-design.md +373 -0
- package/dist/integrations/claude_code/commands/dr-info.md +132 -0
- package/dist/integrations/claude_code/commands/dr-init.md +251 -0
- package/dist/integrations/claude_code/commands/dr-map.md +936 -0
- package/dist/integrations/claude_code/commands/dr-model.md +493 -0
- package/dist/integrations/claude_code/commands/dr-relate.md +814 -0
- package/dist/integrations/claude_code/commands/dr-sync.md +279 -0
- package/dist/integrations/claude_code/commands/dr-validate.md +654 -0
- package/dist/integrations/claude_code/commands/dr-verify.md +559 -0
- package/dist/integrations/claude_code/docs/END_TO_END_WALKTHROUGH.md +903 -0
- package/dist/integrations/claude_code/docs/QUICK_START.md +271 -0
- package/dist/integrations/claude_code/docs/README.md +347 -0
- package/dist/integrations/claude_code/skills/dr_01_motivation_layer/SKILL.md +550 -0
- package/dist/integrations/claude_code/skills/dr_02_business_layer/SKILL.md +620 -0
- package/dist/integrations/claude_code/skills/dr_03_security_layer/SKILL.md +642 -0
- package/dist/integrations/claude_code/skills/dr_04_application_layer/SKILL.md +911 -0
- package/dist/integrations/claude_code/skills/dr_05_technology_layer/SKILL.md +836 -0
- package/dist/integrations/claude_code/skills/dr_06_api_layer/SKILL.md +933 -0
- package/dist/integrations/claude_code/skills/dr_07_data_model_layer/SKILL.md +210 -0
- package/dist/integrations/claude_code/skills/dr_08_dataset_layer/SKILL.md +319 -0
- package/dist/integrations/claude_code/skills/dr_09_ux_layer/SKILL.md +319 -0
- package/dist/integrations/claude_code/skills/dr_10_navigation_layer/SKILL.md +318 -0
- package/dist/integrations/claude_code/skills/dr_11_apm_layer/SKILL.md +273 -0
- package/dist/integrations/claude_code/skills/dr_12_testing_layer/SKILL.md +273 -0
- package/dist/integrations/claude_code/skills/dr_changeset_reviewer/SKILL.md +187 -0
- package/dist/integrations/claude_code/skills/dr_codebase_memory/SKILL.md +590 -0
- package/dist/integrations/claude_code/skills/dr_engineering_guide/SKILL.md +295 -0
- package/dist/integrations/copilot-manager.js +328 -0
- package/dist/integrations/copilot-manager.js.map +7 -0
- package/dist/integrations/github_copilot/agents/dr-advisor.md +243 -0
- package/dist/integrations/github_copilot/agents/dr-architect.md +1567 -0
- package/dist/integrations/github_copilot/skills/dr_01_motivation_layer/SKILL.md +491 -0
- package/dist/integrations/github_copilot/skills/dr_02_business_layer/SKILL.md +539 -0
- package/dist/integrations/github_copilot/skills/dr_03_security_layer/SKILL.md +667 -0
- package/dist/integrations/github_copilot/skills/dr_04_application_layer/SKILL.md +670 -0
- package/dist/integrations/github_copilot/skills/dr_05_technology_layer/SKILL.md +660 -0
- package/dist/integrations/github_copilot/skills/dr_06_api_layer/SKILL.md +855 -0
- package/dist/integrations/github_copilot/skills/dr_07_data_model_layer/SKILL.md +171 -0
- package/dist/integrations/github_copilot/skills/dr_08_dataset_layer/SKILL.md +216 -0
- package/dist/integrations/github_copilot/skills/dr_09_ux_layer/SKILL.md +230 -0
- package/dist/integrations/github_copilot/skills/dr_10_navigation_layer/SKILL.md +228 -0
- package/dist/integrations/github_copilot/skills/dr_11_apm_layer/SKILL.md +234 -0
- package/dist/integrations/github_copilot/skills/dr_12_testing_layer/SKILL.md +230 -0
- package/dist/integrations/github_copilot/skills/dr_changeset_reviewer/SKILL.md +187 -0
- package/dist/integrations/hash-utils.js +51 -0
- package/dist/integrations/hash-utils.js.map +7 -0
- package/dist/integrations/types.js +16 -0
- package/dist/integrations/types.js.map +7 -0
- package/dist/reports/model-layer-report-generator.js +278 -0
- package/dist/reports/model-layer-report-generator.js.map +7 -0
- package/dist/reports/model-report-data.js +57 -0
- package/dist/reports/model-report-data.js.map +7 -0
- package/dist/reports/model-report-orchestrator.js +103 -0
- package/dist/reports/model-report-orchestrator.js.map +7 -0
- package/dist/schemas/bundled/analyzers/cbm.json +595 -0
- package/dist/schemas/bundled/analyzers/manifest.json +9 -0
- package/dist/schemas/bundled/api.json +3411 -0
- package/dist/schemas/bundled/apm.json +2371 -0
- package/dist/schemas/bundled/application.json +1253 -0
- package/dist/schemas/bundled/base.json +1622 -0
- package/dist/schemas/bundled/business.json +1279 -0
- package/dist/schemas/bundled/data-model.json +1298 -0
- package/dist/schemas/bundled/data-store.json +2025 -0
- package/dist/schemas/bundled/manifest.json +93 -0
- package/dist/schemas/bundled/motivation.json +1360 -0
- package/dist/schemas/bundled/navigation.json +1874 -0
- package/dist/schemas/bundled/security.json +3488 -0
- package/dist/schemas/bundled/technology.json +2067 -0
- package/dist/schemas/bundled/testing.json +3120 -0
- package/dist/schemas/bundled/ux.json +3592 -0
- package/dist/server/schemas.js +202 -0
- package/dist/server/schemas.js.map +7 -0
- package/dist/server/server.js +1336 -252
- package/dist/server/server.js.map +3 -3
- package/dist/server/telemetry-middleware.js +22 -15
- package/dist/server/telemetry-middleware.js.map +2 -2
- package/dist/server-entry.js +65 -0
- package/dist/server-entry.js.map +7 -0
- package/dist/telemetry/config.js +89 -0
- package/dist/telemetry/config.js.map +7 -0
- package/dist/telemetry/console-interceptor.js.map +1 -1
- package/dist/telemetry/detect.js +24 -0
- package/dist/telemetry/detect.js.map +7 -0
- package/dist/telemetry/fetch-otlp-exporter.js +112 -0
- package/dist/telemetry/fetch-otlp-exporter.js.map +7 -0
- package/dist/telemetry/index.js +153 -3
- package/dist/telemetry/index.js.map +2 -2
- package/dist/telemetry/resilient-exporter.js +22 -8
- package/dist/telemetry/resilient-exporter.js.map +2 -2
- package/dist/telemetry/resilient-log-exporter.js +17 -8
- package/dist/telemetry/resilient-log-exporter.js.map +2 -2
- package/dist/telemetry/test-instrumentation.js.map +2 -2
- package/dist/types/index.js +84 -0
- package/dist/types/index.js.map +3 -3
- package/dist/types/source-reference.js +1 -0
- package/dist/types/source-reference.js.map +7 -0
- package/dist/utils/chat-logger.js +292 -0
- package/dist/utils/chat-logger.js.map +7 -0
- package/dist/utils/claude-stream.js +8 -0
- package/dist/utils/claude-stream.js.map +7 -0
- package/dist/utils/date-utils.js +7 -0
- package/dist/utils/date-utils.js.map +7 -0
- package/dist/utils/element-utils.js.map +1 -1
- package/dist/utils/errors.js +88 -15
- package/dist/utils/errors.js.map +3 -3
- package/dist/utils/export-python-annotations.js +82 -0
- package/dist/utils/export-python-annotations.js.map +7 -0
- package/dist/utils/file-io.js +7 -2
- package/dist/utils/file-io.js.map +2 -2
- package/dist/utils/file-lock.js +156 -0
- package/dist/utils/file-lock.js.map +7 -0
- package/dist/utils/id-generator.js +18 -0
- package/dist/utils/id-generator.js.map +7 -0
- package/dist/utils/layer-name-formatter.js +16 -0
- package/dist/utils/layer-name-formatter.js.map +7 -0
- package/dist/utils/markdown-anchor.js +7 -0
- package/dist/utils/markdown-anchor.js.map +7 -0
- package/dist/utils/markdown-link.js +12 -0
- package/dist/utils/markdown-link.js.map +7 -0
- package/dist/utils/markdown-table.js +17 -0
- package/dist/utils/markdown-table.js.map +7 -0
- package/dist/utils/mermaid-utils.js +11 -0
- package/dist/utils/mermaid-utils.js.map +7 -0
- package/dist/utils/project-paths.js.map +2 -2
- package/dist/utils/source-reference.js +52 -0
- package/dist/utils/source-reference.js.map +7 -0
- package/dist/utils/spec-installer.js +40 -53
- package/dist/utils/spec-installer.js.map +2 -2
- package/dist/utils/spec-version.js +5 -1
- package/dist/utils/spec-version.js.map +2 -2
- package/dist/utils/string-utils.js +12 -0
- package/dist/utils/string-utils.js.map +7 -0
- package/dist/utils/table-formatting.js +19 -0
- package/dist/utils/table-formatting.js.map +7 -0
- package/dist/validators/index.js +4 -0
- package/dist/validators/index.js.map +2 -2
- package/dist/validators/naming-validator.js +20 -23
- package/dist/validators/naming-validator.js.map +2 -2
- package/dist/validators/reference-validator.js +23 -38
- package/dist/validators/reference-validator.js.map +2 -2
- package/dist/validators/relationship-schema-validator.js +243 -0
- package/dist/validators/relationship-schema-validator.js.map +7 -0
- package/dist/validators/schema-validator.js +168 -68
- package/dist/validators/schema-validator.js.map +2 -2
- package/dist/validators/semantic-validator.js +36 -60
- package/dist/validators/semantic-validator.js.map +2 -2
- package/dist/validators/types.js.map +2 -2
- package/dist/validators/validation-formatter.js +159 -0
- package/dist/validators/validation-formatter.js.map +7 -0
- package/dist/validators/validator.js +24 -38
- package/dist/validators/validator.js.map +2 -2
- package/dist/viewer/README.md +139 -0
- package/dist/viewer/assets/main-CY0Xufuj.css +1 -0
- package/dist/viewer/assets/main-DtgErnwF.js +81 -0
- package/dist/viewer/assets/vendor-CxKvDp2x.js +17 -0
- package/dist/viewer/favicon.svg +11 -0
- package/dist/viewer/fonts/inter/Inter-Black.woff2 +0 -0
- package/dist/viewer/fonts/inter/Inter-Bold.woff2 +0 -0
- package/dist/viewer/fonts/inter/Inter-ExtraBold.woff2 +0 -0
- package/dist/viewer/fonts/inter/Inter-Light.woff2 +0 -0
- package/dist/viewer/fonts/inter/Inter-Medium.woff2 +0 -0
- package/dist/viewer/fonts/inter/Inter-Regular.woff2 +0 -0
- package/dist/viewer/fonts/inter/Inter-SemiBold.woff2 +0 -0
- package/dist/viewer/fonts/jetbrains-mono/JetBrainsMono-Medium.woff2 +0 -0
- package/dist/viewer/fonts/jetbrains-mono/JetBrainsMono-Regular.woff2 +0 -0
- package/dist/viewer/fonts/jetbrains-mono/JetBrainsMono-SemiBold.woff2 +0 -0
- package/dist/viewer/index.html +15 -0
- package/dist/viewer/manifest.json +99 -0
- package/dist/viewer/version.json +1 -0
- package/package.json +37 -13
- package/PYTHON_CLI_PARITY.md +0 -265
- package/PYTHON_CLI_STRUCTURE_UPDATE.md +0 -246
- package/biome.json +0 -42
- package/bunfig.toml +0 -3
- package/dist/ai/claude-client.js +0 -71
- package/dist/ai/claude-client.js.map +0 -7
- package/dist/ai/context-provider.js +0 -129
- package/dist/ai/context-provider.js.map +0 -7
- package/dist/ai/tools.js +0 -231
- package/dist/ai/tools.js.map +0 -7
- package/dist/commands/migrate.js +0 -36
- package/dist/commands/migrate.js.map +0 -7
- package/dist/commands/project.js +0 -74
- package/dist/commands/project.js.map +0 -7
- package/dist/core/active-changeset.js +0 -52
- package/dist/core/active-changeset.js.map +0 -7
- package/dist/core/projection-engine.js +0 -288
- package/dist/core/projection-engine.js.map +0 -7
- package/dist/schemas/bundled/01-motivation-layer.schema.json +0 -942
- package/dist/schemas/bundled/02-business-layer.schema.json +0 -1293
- package/dist/schemas/bundled/03-security-layer.schema.json +0 -2177
- package/dist/schemas/bundled/04-application-layer.schema.json +0 -1328
- package/dist/schemas/bundled/05-technology-layer.schema.json +0 -1465
- package/dist/schemas/bundled/06-api-layer.schema.json +0 -1743
- package/dist/schemas/bundled/07-data-model-layer.schema.json +0 -1253
- package/dist/schemas/bundled/08-datastore-layer.schema.json +0 -892
- package/dist/schemas/bundled/09-ux-layer.schema.json +0 -1506
- package/dist/schemas/bundled/10-navigation-layer.schema.json +0 -843
- package/dist/schemas/bundled/11-apm-observability-layer.schema.json +0 -1430
- package/dist/schemas/bundled/12-testing-layer.schema.json +0 -1091
- package/dist/schemas/bundled/common/layer-extensions.schema.json +0 -266
- package/dist/schemas/bundled/common/predicates.schema.json +0 -493
- package/dist/schemas/bundled/common/relationships.schema.json +0 -791
- package/dist/schemas/bundled/common/source-references.schema.json +0 -71
- package/dist/schemas/bundled/link-registry.json +0 -1839
- package/dist/schemas/bundled/link-registry.schema.json +0 -339
- package/dist/schemas/bundled/relationship-catalog.json +0 -1302
- package/dist/schemas/bundled/relationship-type.schema.json +0 -221
- package/dist/utils/model-path.js +0 -22
- package/dist/utils/model-path.js.map +0 -7
- package/docs/TEST-INSTRUMENTATION.md +0 -405
- package/docs/telemetry.md +0 -427
- package/test-debug.js +0 -33
- package/test-special.mjs +0 -46
- package/test_runner.ts +0 -7
|
@@ -1,843 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://example.com/schemas/10-navigation-layer.schema.json",
|
|
4
|
-
"title": "Navigation Layer Layer Schema",
|
|
5
|
-
"description": "Defines application routing, navigation flows, transitions, and guards for channel-agnostic navigation across web, mobile, voice, and chat interfaces.",
|
|
6
|
-
"layerMetadata": {
|
|
7
|
-
"layerId": "10-navigation-layer",
|
|
8
|
-
"layerName": "Navigation Layer",
|
|
9
|
-
"intraLayerRelationshipSupport": true,
|
|
10
|
-
"crossLayerRelationshipSupport": true,
|
|
11
|
-
"relationshipCatalogVersion": "2.1.0"
|
|
12
|
-
},
|
|
13
|
-
"intraLayerRelationships": {
|
|
14
|
-
"$comment": "Relationships between entities within this layer. References relationship-catalog.json by ID.",
|
|
15
|
-
"allowed": [
|
|
16
|
-
{
|
|
17
|
-
"relationshipTypeId": "specialization",
|
|
18
|
-
"sourceTypes": ["PremiumAccount", "Schema"],
|
|
19
|
-
"targetTypes": ["Account", "Schema"],
|
|
20
|
-
"examples": [
|
|
21
|
-
{
|
|
22
|
-
"source": "PremiumAccount",
|
|
23
|
-
"target": "Account",
|
|
24
|
-
"description": "Premium account specializes the general account concept"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"source": "Schema",
|
|
28
|
-
"target": "Schema",
|
|
29
|
-
"description": "API schema specializes another via allOf/oneOf/anyOf composition",
|
|
30
|
-
"layer": "06-api"
|
|
31
|
-
}
|
|
32
|
-
]
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"relationshipTypeId": "flow",
|
|
36
|
-
"sourceTypes": ["BusinessProcess", "CoverageRequirement", "TestCoverageTarget"],
|
|
37
|
-
"targetTypes": ["BusinessProcess", "CoverageRequirement", "TestCaseSketch"],
|
|
38
|
-
"examples": [
|
|
39
|
-
{
|
|
40
|
-
"source": "BusinessProcess",
|
|
41
|
-
"target": "BusinessProcess",
|
|
42
|
-
"description": "One business process flows to the next in sequence"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"source": "TestCoverageTarget",
|
|
46
|
-
"target": "CoverageRequirement",
|
|
47
|
-
"description": "Target flows to requirements that specify its coverage",
|
|
48
|
-
"layer": "12-testing"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"source": "CoverageRequirement",
|
|
52
|
-
"target": "TestCaseSketch",
|
|
53
|
-
"description": "Requirement flows to sketches that implement it",
|
|
54
|
-
"layer": "12-testing"
|
|
55
|
-
}
|
|
56
|
-
]
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"relationshipTypeId": "enforces-requirement",
|
|
60
|
-
"sourceTypes": ["NavigationGuard"],
|
|
61
|
-
"targetTypes": ["Requirement"],
|
|
62
|
-
"examples": [
|
|
63
|
-
{
|
|
64
|
-
"source": "NavigationGuard",
|
|
65
|
-
"target": "Requirement",
|
|
66
|
-
"description": "Auth guard enforces authentication requirement"
|
|
67
|
-
}
|
|
68
|
-
]
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"relationshipTypeId": "navigates-to",
|
|
72
|
-
"sourceTypes": ["UIView"],
|
|
73
|
-
"targetTypes": ["UIView"],
|
|
74
|
-
"examples": [
|
|
75
|
-
{
|
|
76
|
-
"source": "UIView",
|
|
77
|
-
"target": "UIView",
|
|
78
|
-
"description": "Login view navigates to dashboard view"
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
}
|
|
82
|
-
]
|
|
83
|
-
},
|
|
84
|
-
"crossLayerRelationships": {
|
|
85
|
-
"$comment": "Relationships to/from entities in other layers",
|
|
86
|
-
"outgoing": [
|
|
87
|
-
{
|
|
88
|
-
"id": "motivation-governed-by-principles",
|
|
89
|
-
"predicate": "governed-by-principles",
|
|
90
|
-
"inversePredicate": "governs",
|
|
91
|
-
"targetLayer": "01-motivation",
|
|
92
|
-
"targetTypes": ["GovernedByPrinciple"],
|
|
93
|
-
"sourceTypes": ["BusinessService"],
|
|
94
|
-
"fieldPath": "motivation.governed-by-principles",
|
|
95
|
-
"cardinality": "array",
|
|
96
|
-
"format": "reference",
|
|
97
|
-
"strength": "high",
|
|
98
|
-
"required": false,
|
|
99
|
-
"description": "BusinessService governed by Principles",
|
|
100
|
-
"examples": [
|
|
101
|
-
{
|
|
102
|
-
"elementType": "BusinessService",
|
|
103
|
-
"elementId": "order-service",
|
|
104
|
-
"elementName": "Order Processing Service",
|
|
105
|
-
"fieldPath": "motivation.governed-by-principles",
|
|
106
|
-
"value": "principle-customer-first,principle-automation",
|
|
107
|
-
"layer": "02-business"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"elementType": "ApplicationService",
|
|
111
|
-
"elementId": "product-service",
|
|
112
|
-
"elementName": "product-service",
|
|
113
|
-
"fieldPath": "motivation.governed-by-principles",
|
|
114
|
-
"value": "principle-api-first,principle-cloud-native",
|
|
115
|
-
"layer": "04-application"
|
|
116
|
-
}
|
|
117
|
-
]
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"id": "motivation-supports-goals",
|
|
121
|
-
"predicate": "supports-goals",
|
|
122
|
-
"inversePredicate": "supported-by",
|
|
123
|
-
"targetLayer": "01-motivation",
|
|
124
|
-
"targetTypes": ["SupportsGoal"],
|
|
125
|
-
"sourceTypes": ["BusinessService"],
|
|
126
|
-
"fieldPath": "motivation.supports-goals",
|
|
127
|
-
"cardinality": "array",
|
|
128
|
-
"format": "reference",
|
|
129
|
-
"strength": "high",
|
|
130
|
-
"required": false,
|
|
131
|
-
"description": "BusinessService supports Goals",
|
|
132
|
-
"examples": [
|
|
133
|
-
{
|
|
134
|
-
"elementType": "BusinessService",
|
|
135
|
-
"elementId": "order-service",
|
|
136
|
-
"elementName": "Order Processing Service",
|
|
137
|
-
"fieldPath": "motivation.supports-goals",
|
|
138
|
-
"value": "goal-customer-satisfaction,goal-revenue-growth",
|
|
139
|
-
"layer": "02-business"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"elementType": "ApplicationService",
|
|
143
|
-
"elementId": "product-service",
|
|
144
|
-
"elementName": "product-service",
|
|
145
|
-
"fieldPath": "motivation.supports-goals",
|
|
146
|
-
"value": "goal-product-catalog-accuracy,goal-customer-satisfaction",
|
|
147
|
-
"layer": "04-application"
|
|
148
|
-
}
|
|
149
|
-
]
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"id": "security-classification",
|
|
153
|
-
"predicate": "classification",
|
|
154
|
-
"inversePredicate": "referenced-by",
|
|
155
|
-
"targetLayer": "03-security",
|
|
156
|
-
"targetTypes": ["Classification"],
|
|
157
|
-
"sourceTypes": ["Artifact"],
|
|
158
|
-
"fieldPath": "security.classification",
|
|
159
|
-
"cardinality": "single",
|
|
160
|
-
"format": "string",
|
|
161
|
-
"strength": "low",
|
|
162
|
-
"required": false,
|
|
163
|
-
"description": "Links to Classification in target layer",
|
|
164
|
-
"examples": [
|
|
165
|
-
{
|
|
166
|
-
"elementType": "Artifact",
|
|
167
|
-
"elementId": "product-db",
|
|
168
|
-
"elementName": "product-db",
|
|
169
|
-
"fieldPath": "security.classification",
|
|
170
|
-
"value": "internal",
|
|
171
|
-
"layer": "05-technology"
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"elementType": "Artifact",
|
|
175
|
-
"elementId": "customer-db",
|
|
176
|
-
"elementName": "customer-db",
|
|
177
|
-
"fieldPath": "security.classification",
|
|
178
|
-
"value": "restricted",
|
|
179
|
-
"layer": "05-technology"
|
|
180
|
-
}
|
|
181
|
-
]
|
|
182
|
-
}
|
|
183
|
-
],
|
|
184
|
-
"incoming": []
|
|
185
|
-
},
|
|
186
|
-
"type": "object",
|
|
187
|
-
"properties": {
|
|
188
|
-
"navigation-graphs": {
|
|
189
|
-
"type": "array",
|
|
190
|
-
"description": "Collection of NavigationGraph entities",
|
|
191
|
-
"items": {
|
|
192
|
-
"$ref": "#/definitions/NavigationGraph"
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
"routes": {
|
|
196
|
-
"type": "array",
|
|
197
|
-
"description": "Collection of Route entities",
|
|
198
|
-
"items": {
|
|
199
|
-
"$ref": "#/definitions/Route"
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
"route-metas": {
|
|
203
|
-
"type": "array",
|
|
204
|
-
"description": "Collection of RouteMeta entities",
|
|
205
|
-
"items": {
|
|
206
|
-
"$ref": "#/definitions/RouteMeta"
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
"breadcrumb-configs": {
|
|
210
|
-
"type": "array",
|
|
211
|
-
"description": "Collection of BreadcrumbConfig entities",
|
|
212
|
-
"items": {
|
|
213
|
-
"$ref": "#/definitions/BreadcrumbConfig"
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
"navigation-transitions": {
|
|
217
|
-
"type": "array",
|
|
218
|
-
"description": "Collection of NavigationTransition entities",
|
|
219
|
-
"items": {
|
|
220
|
-
"$ref": "#/definitions/NavigationTransition"
|
|
221
|
-
}
|
|
222
|
-
},
|
|
223
|
-
"navigation-guards": {
|
|
224
|
-
"type": "array",
|
|
225
|
-
"description": "Collection of NavigationGuard entities",
|
|
226
|
-
"items": {
|
|
227
|
-
"$ref": "#/definitions/NavigationGuard"
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
"guard-conditions": {
|
|
231
|
-
"type": "array",
|
|
232
|
-
"description": "Collection of GuardCondition entities",
|
|
233
|
-
"items": {
|
|
234
|
-
"$ref": "#/definitions/GuardCondition"
|
|
235
|
-
}
|
|
236
|
-
},
|
|
237
|
-
"guard-actions": {
|
|
238
|
-
"type": "array",
|
|
239
|
-
"description": "Collection of GuardAction entities",
|
|
240
|
-
"items": {
|
|
241
|
-
"$ref": "#/definitions/GuardAction"
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
"navigation-flows": {
|
|
245
|
-
"type": "array",
|
|
246
|
-
"description": "Collection of NavigationFlow entities",
|
|
247
|
-
"items": {
|
|
248
|
-
"$ref": "#/definitions/NavigationFlow"
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
"flow-steps": {
|
|
252
|
-
"type": "array",
|
|
253
|
-
"description": "Collection of FlowStep entities",
|
|
254
|
-
"items": {
|
|
255
|
-
"$ref": "#/definitions/FlowStep"
|
|
256
|
-
}
|
|
257
|
-
},
|
|
258
|
-
"context-variables": {
|
|
259
|
-
"type": "array",
|
|
260
|
-
"description": "Collection of ContextVariable entities",
|
|
261
|
-
"items": {
|
|
262
|
-
"$ref": "#/definitions/ContextVariable"
|
|
263
|
-
}
|
|
264
|
-
},
|
|
265
|
-
"data-mappings": {
|
|
266
|
-
"type": "array",
|
|
267
|
-
"description": "Collection of DataMapping entities",
|
|
268
|
-
"items": {
|
|
269
|
-
"$ref": "#/definitions/DataMapping"
|
|
270
|
-
}
|
|
271
|
-
},
|
|
272
|
-
"process-trackings": {
|
|
273
|
-
"type": "array",
|
|
274
|
-
"description": "Collection of ProcessTracking entities",
|
|
275
|
-
"items": {
|
|
276
|
-
"$ref": "#/definitions/ProcessTracking"
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
"flow-analyticses": {
|
|
280
|
-
"type": "array",
|
|
281
|
-
"description": "Collection of FlowAnalytics entities",
|
|
282
|
-
"items": {
|
|
283
|
-
"$ref": "#/definitions/FlowAnalytics"
|
|
284
|
-
}
|
|
285
|
-
},
|
|
286
|
-
"notification-actions": {
|
|
287
|
-
"type": "array",
|
|
288
|
-
"description": "Collection of NotificationAction entities",
|
|
289
|
-
"items": {
|
|
290
|
-
"$ref": "#/definitions/NotificationAction"
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
"definitions": {
|
|
295
|
-
"RouteType": {
|
|
296
|
-
"type": "string",
|
|
297
|
-
"enum": ["experience", "redirect", "external"]
|
|
298
|
-
},
|
|
299
|
-
"TruncationType": {
|
|
300
|
-
"type": "string",
|
|
301
|
-
"enum": ["none", "middle", "start", "end"]
|
|
302
|
-
},
|
|
303
|
-
"BreadcrumbMode": {
|
|
304
|
-
"type": "string",
|
|
305
|
-
"enum": ["static", "dynamic", "hybrid"]
|
|
306
|
-
},
|
|
307
|
-
"NavigationTrigger": {
|
|
308
|
-
"type": "string",
|
|
309
|
-
"enum": [
|
|
310
|
-
"user-action",
|
|
311
|
-
"submit",
|
|
312
|
-
"success",
|
|
313
|
-
"failure",
|
|
314
|
-
"cancel",
|
|
315
|
-
"automatic",
|
|
316
|
-
"deeplink",
|
|
317
|
-
"back",
|
|
318
|
-
"timeout"
|
|
319
|
-
]
|
|
320
|
-
},
|
|
321
|
-
"GuardType": {
|
|
322
|
-
"type": "string",
|
|
323
|
-
"enum": ["authentication", "authorization", "validation", "data-loaded", "custom"]
|
|
324
|
-
},
|
|
325
|
-
"HttpMethod": {
|
|
326
|
-
"type": "string",
|
|
327
|
-
"enum": ["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"]
|
|
328
|
-
},
|
|
329
|
-
"GuardActionType": {
|
|
330
|
-
"type": "string",
|
|
331
|
-
"enum": ["redirect", "show-error", "navigate-back", "abort"]
|
|
332
|
-
},
|
|
333
|
-
"WaitType": {
|
|
334
|
-
"type": "string",
|
|
335
|
-
"enum": ["user-action", "approval", "external-event", "timeout"]
|
|
336
|
-
},
|
|
337
|
-
"ContextScope": {
|
|
338
|
-
"type": "string",
|
|
339
|
-
"enum": ["flow", "session", "user"]
|
|
340
|
-
},
|
|
341
|
-
"StorageType": {
|
|
342
|
-
"type": "string",
|
|
343
|
-
"enum": ["memory", "session-storage", "local-storage", "server-session", "database"]
|
|
344
|
-
},
|
|
345
|
-
"NotificationType": {
|
|
346
|
-
"type": "string",
|
|
347
|
-
"enum": ["email", "sms", "push", "webhook"]
|
|
348
|
-
},
|
|
349
|
-
"NavigationGraph": {
|
|
350
|
-
"type": "object",
|
|
351
|
-
"description": "Complete navigation structure for application",
|
|
352
|
-
"required": ["id", "name", "version", "application"],
|
|
353
|
-
"properties": {
|
|
354
|
-
"id": {
|
|
355
|
-
"type": "string",
|
|
356
|
-
"format": "uuid",
|
|
357
|
-
"minLength": 1
|
|
358
|
-
},
|
|
359
|
-
"name": {
|
|
360
|
-
"type": "string",
|
|
361
|
-
"minLength": 1
|
|
362
|
-
},
|
|
363
|
-
"version": {
|
|
364
|
-
"type": "string",
|
|
365
|
-
"minLength": 1
|
|
366
|
-
},
|
|
367
|
-
"application": {
|
|
368
|
-
"type": "string",
|
|
369
|
-
"minLength": 1
|
|
370
|
-
},
|
|
371
|
-
"description": {
|
|
372
|
-
"type": "string",
|
|
373
|
-
"minLength": 1
|
|
374
|
-
},
|
|
375
|
-
"routes": {
|
|
376
|
-
"type": "array",
|
|
377
|
-
"description": "Contains relationship",
|
|
378
|
-
"items": {
|
|
379
|
-
"type": "string"
|
|
380
|
-
}
|
|
381
|
-
},
|
|
382
|
-
"transitions": {
|
|
383
|
-
"type": "array",
|
|
384
|
-
"description": "Contains relationship",
|
|
385
|
-
"items": {
|
|
386
|
-
"type": "string"
|
|
387
|
-
}
|
|
388
|
-
},
|
|
389
|
-
"guards": {
|
|
390
|
-
"type": "array",
|
|
391
|
-
"description": "Contains relationship",
|
|
392
|
-
"items": {
|
|
393
|
-
"type": "string"
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
},
|
|
398
|
-
"Route": {
|
|
399
|
-
"type": "object",
|
|
400
|
-
"description": "Single route/destination in the application (channel-agnostic)",
|
|
401
|
-
"required": ["id", "name", "type"],
|
|
402
|
-
"properties": {
|
|
403
|
-
"id": {
|
|
404
|
-
"type": "string",
|
|
405
|
-
"format": "uuid",
|
|
406
|
-
"minLength": 1
|
|
407
|
-
},
|
|
408
|
-
"name": {
|
|
409
|
-
"type": "string",
|
|
410
|
-
"minLength": 1
|
|
411
|
-
},
|
|
412
|
-
"title": {
|
|
413
|
-
"type": "string",
|
|
414
|
-
"minLength": 1
|
|
415
|
-
},
|
|
416
|
-
"description": {
|
|
417
|
-
"type": "string",
|
|
418
|
-
"minLength": 1
|
|
419
|
-
},
|
|
420
|
-
"type": {
|
|
421
|
-
"$ref": "#/definitions/RouteType"
|
|
422
|
-
},
|
|
423
|
-
"source": {
|
|
424
|
-
"type": "object",
|
|
425
|
-
"description": "Source code reference",
|
|
426
|
-
"properties": {
|
|
427
|
-
"reference": {
|
|
428
|
-
"$ref": "common/source-references.schema.json#/definitions/SourceReference"
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
},
|
|
434
|
-
"RouteMeta": {
|
|
435
|
-
"type": "object",
|
|
436
|
-
"description": "Route metadata",
|
|
437
|
-
"required": ["id", "name", "roles", "permissions", "layout", "keepAlive", "transition"],
|
|
438
|
-
"properties": {
|
|
439
|
-
"id": {
|
|
440
|
-
"type": "string",
|
|
441
|
-
"format": "uuid",
|
|
442
|
-
"minLength": 1
|
|
443
|
-
},
|
|
444
|
-
"name": {
|
|
445
|
-
"type": "string",
|
|
446
|
-
"minLength": 1
|
|
447
|
-
},
|
|
448
|
-
"requiresAuth": {
|
|
449
|
-
"type": "boolean"
|
|
450
|
-
},
|
|
451
|
-
"roles": {
|
|
452
|
-
"type": "string",
|
|
453
|
-
"minLength": 1
|
|
454
|
-
},
|
|
455
|
-
"permissions": {
|
|
456
|
-
"type": "string",
|
|
457
|
-
"minLength": 1
|
|
458
|
-
},
|
|
459
|
-
"layout": {
|
|
460
|
-
"type": "string",
|
|
461
|
-
"minLength": 1
|
|
462
|
-
},
|
|
463
|
-
"breadcrumb": {
|
|
464
|
-
"type": "string",
|
|
465
|
-
"minLength": 1
|
|
466
|
-
},
|
|
467
|
-
"keepAlive": {
|
|
468
|
-
"type": "boolean"
|
|
469
|
-
},
|
|
470
|
-
"transition": {
|
|
471
|
-
"type": "string",
|
|
472
|
-
"minLength": 1
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
},
|
|
476
|
-
"BreadcrumbConfig": {
|
|
477
|
-
"type": "object",
|
|
478
|
-
"description": "Configuration for breadcrumb navigation display, specifying path generation rules, separator styles, truncation behavior, and home link settings. Provides users with location context and navigation history.",
|
|
479
|
-
"required": ["id", "name", "label"],
|
|
480
|
-
"properties": {
|
|
481
|
-
"id": {
|
|
482
|
-
"type": "string",
|
|
483
|
-
"format": "uuid",
|
|
484
|
-
"minLength": 1
|
|
485
|
-
},
|
|
486
|
-
"name": {
|
|
487
|
-
"type": "string",
|
|
488
|
-
"minLength": 1
|
|
489
|
-
},
|
|
490
|
-
"label": {
|
|
491
|
-
"type": "string",
|
|
492
|
-
"minLength": 1
|
|
493
|
-
},
|
|
494
|
-
"labelTemplate": {
|
|
495
|
-
"type": "string",
|
|
496
|
-
"minLength": 1
|
|
497
|
-
},
|
|
498
|
-
"showHome": {
|
|
499
|
-
"type": "boolean"
|
|
500
|
-
},
|
|
501
|
-
"homeLabel": {
|
|
502
|
-
"type": "string",
|
|
503
|
-
"minLength": 1
|
|
504
|
-
},
|
|
505
|
-
"homeRoute": {
|
|
506
|
-
"type": "string",
|
|
507
|
-
"minLength": 1
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
},
|
|
511
|
-
"NavigationTransition": {
|
|
512
|
-
"type": "object",
|
|
513
|
-
"description": "Transition from one route to another",
|
|
514
|
-
"required": ["id", "name", "from", "to", "trigger"],
|
|
515
|
-
"properties": {
|
|
516
|
-
"id": {
|
|
517
|
-
"type": "string",
|
|
518
|
-
"format": "uuid",
|
|
519
|
-
"minLength": 1
|
|
520
|
-
},
|
|
521
|
-
"name": {
|
|
522
|
-
"type": "string",
|
|
523
|
-
"minLength": 1
|
|
524
|
-
},
|
|
525
|
-
"from": {
|
|
526
|
-
"type": "string",
|
|
527
|
-
"minLength": 1
|
|
528
|
-
},
|
|
529
|
-
"to": {
|
|
530
|
-
"type": "string",
|
|
531
|
-
"minLength": 1
|
|
532
|
-
},
|
|
533
|
-
"trigger": {
|
|
534
|
-
"$ref": "#/definitions/NavigationTrigger"
|
|
535
|
-
},
|
|
536
|
-
"description": {
|
|
537
|
-
"type": "string",
|
|
538
|
-
"minLength": 1
|
|
539
|
-
},
|
|
540
|
-
"guards": {
|
|
541
|
-
"type": "array",
|
|
542
|
-
"description": "Contains relationship",
|
|
543
|
-
"items": {
|
|
544
|
-
"type": "string"
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
},
|
|
549
|
-
"NavigationGuard": {
|
|
550
|
-
"type": "object",
|
|
551
|
-
"description": "Guard condition for route access",
|
|
552
|
-
"required": ["id", "name", "type", "order"],
|
|
553
|
-
"properties": {
|
|
554
|
-
"id": {
|
|
555
|
-
"type": "string",
|
|
556
|
-
"format": "uuid",
|
|
557
|
-
"minLength": 1
|
|
558
|
-
},
|
|
559
|
-
"name": {
|
|
560
|
-
"type": "string",
|
|
561
|
-
"minLength": 1
|
|
562
|
-
},
|
|
563
|
-
"type": {
|
|
564
|
-
"$ref": "#/definitions/GuardType"
|
|
565
|
-
},
|
|
566
|
-
"description": {
|
|
567
|
-
"type": "string",
|
|
568
|
-
"minLength": 1
|
|
569
|
-
},
|
|
570
|
-
"order": {
|
|
571
|
-
"type": "integer"
|
|
572
|
-
},
|
|
573
|
-
"source": {
|
|
574
|
-
"type": "object",
|
|
575
|
-
"description": "Source code reference",
|
|
576
|
-
"properties": {
|
|
577
|
-
"reference": {
|
|
578
|
-
"$ref": "common/source-references.schema.json#/definitions/SourceReference"
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
},
|
|
584
|
-
"GuardCondition": {
|
|
585
|
-
"type": "object",
|
|
586
|
-
"description": "Condition expression for guard",
|
|
587
|
-
"required": ["id", "name", "expression", "timeout"],
|
|
588
|
-
"properties": {
|
|
589
|
-
"id": {
|
|
590
|
-
"type": "string",
|
|
591
|
-
"format": "uuid",
|
|
592
|
-
"minLength": 1
|
|
593
|
-
},
|
|
594
|
-
"name": {
|
|
595
|
-
"type": "string",
|
|
596
|
-
"minLength": 1
|
|
597
|
-
},
|
|
598
|
-
"expression": {
|
|
599
|
-
"type": "string",
|
|
600
|
-
"minLength": 1
|
|
601
|
-
},
|
|
602
|
-
"async": {
|
|
603
|
-
"type": "boolean"
|
|
604
|
-
},
|
|
605
|
-
"timeout": {
|
|
606
|
-
"type": "integer"
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
},
|
|
610
|
-
"GuardAction": {
|
|
611
|
-
"type": "object",
|
|
612
|
-
"description": "Action when guard denies access",
|
|
613
|
-
"required": ["id", "name", "action", "target", "message", "preserveRoute"],
|
|
614
|
-
"properties": {
|
|
615
|
-
"id": {
|
|
616
|
-
"type": "string",
|
|
617
|
-
"format": "uuid",
|
|
618
|
-
"minLength": 1
|
|
619
|
-
},
|
|
620
|
-
"name": {
|
|
621
|
-
"type": "string",
|
|
622
|
-
"minLength": 1
|
|
623
|
-
},
|
|
624
|
-
"action": {
|
|
625
|
-
"$ref": "#/definitions/GuardActionType"
|
|
626
|
-
},
|
|
627
|
-
"target": {
|
|
628
|
-
"type": "string",
|
|
629
|
-
"minLength": 1
|
|
630
|
-
},
|
|
631
|
-
"message": {
|
|
632
|
-
"type": "string",
|
|
633
|
-
"minLength": 1
|
|
634
|
-
},
|
|
635
|
-
"preserveRoute": {
|
|
636
|
-
"type": "boolean"
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
},
|
|
640
|
-
"NavigationFlow": {
|
|
641
|
-
"type": "object",
|
|
642
|
-
"description": "Sequence of routes that realizes a business process",
|
|
643
|
-
"required": ["id", "name"],
|
|
644
|
-
"properties": {
|
|
645
|
-
"id": {
|
|
646
|
-
"type": "string",
|
|
647
|
-
"format": "uuid",
|
|
648
|
-
"minLength": 1
|
|
649
|
-
},
|
|
650
|
-
"name": {
|
|
651
|
-
"type": "string",
|
|
652
|
-
"minLength": 1
|
|
653
|
-
},
|
|
654
|
-
"description": {
|
|
655
|
-
"type": "string",
|
|
656
|
-
"minLength": 1
|
|
657
|
-
},
|
|
658
|
-
"steps": {
|
|
659
|
-
"type": "array",
|
|
660
|
-
"description": "Contains relationship",
|
|
661
|
-
"items": {
|
|
662
|
-
"type": "string"
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
}
|
|
666
|
-
},
|
|
667
|
-
"FlowStep": {
|
|
668
|
-
"type": "object",
|
|
669
|
-
"description": "One step in a navigation flow",
|
|
670
|
-
"required": ["id", "sequence", "route", "name"],
|
|
671
|
-
"properties": {
|
|
672
|
-
"id": {
|
|
673
|
-
"type": "string",
|
|
674
|
-
"format": "uuid",
|
|
675
|
-
"minLength": 1
|
|
676
|
-
},
|
|
677
|
-
"sequence": {
|
|
678
|
-
"type": "integer"
|
|
679
|
-
},
|
|
680
|
-
"route": {
|
|
681
|
-
"type": "string",
|
|
682
|
-
"minLength": 1
|
|
683
|
-
},
|
|
684
|
-
"name": {
|
|
685
|
-
"type": "string",
|
|
686
|
-
"minLength": 1
|
|
687
|
-
},
|
|
688
|
-
"description": {
|
|
689
|
-
"type": "string",
|
|
690
|
-
"minLength": 1
|
|
691
|
-
},
|
|
692
|
-
"required": {
|
|
693
|
-
"type": "boolean"
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
},
|
|
697
|
-
"ContextVariable": {
|
|
698
|
-
"type": "object",
|
|
699
|
-
"description": "Shared variable across flow steps (Gap #1: Cross-experience state)",
|
|
700
|
-
"required": ["id", "name", "schemaRef", "scope", "persistedIn"],
|
|
701
|
-
"properties": {
|
|
702
|
-
"id": {
|
|
703
|
-
"type": "string",
|
|
704
|
-
"format": "uuid",
|
|
705
|
-
"minLength": 1
|
|
706
|
-
},
|
|
707
|
-
"name": {
|
|
708
|
-
"type": "string",
|
|
709
|
-
"minLength": 1
|
|
710
|
-
},
|
|
711
|
-
"schemaRef": {
|
|
712
|
-
"type": "string",
|
|
713
|
-
"minLength": 1
|
|
714
|
-
},
|
|
715
|
-
"scope": {
|
|
716
|
-
"$ref": "#/definitions/ContextScope"
|
|
717
|
-
},
|
|
718
|
-
"persistedIn": {
|
|
719
|
-
"$ref": "#/definitions/StorageType"
|
|
720
|
-
},
|
|
721
|
-
"defaultValue": {
|
|
722
|
-
"type": "string",
|
|
723
|
-
"minLength": 1
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
},
|
|
727
|
-
"DataMapping": {
|
|
728
|
-
"type": "object",
|
|
729
|
-
"description": "Maps data between flow context and experience (Gap #2: Data handoff)",
|
|
730
|
-
"required": ["id", "name", "source", "target", "transform"],
|
|
731
|
-
"properties": {
|
|
732
|
-
"id": {
|
|
733
|
-
"type": "string",
|
|
734
|
-
"format": "uuid",
|
|
735
|
-
"minLength": 1
|
|
736
|
-
},
|
|
737
|
-
"name": {
|
|
738
|
-
"type": "string",
|
|
739
|
-
"minLength": 1
|
|
740
|
-
},
|
|
741
|
-
"source": {
|
|
742
|
-
"type": "string",
|
|
743
|
-
"minLength": 1
|
|
744
|
-
},
|
|
745
|
-
"target": {
|
|
746
|
-
"type": "string",
|
|
747
|
-
"minLength": 1
|
|
748
|
-
},
|
|
749
|
-
"transform": {
|
|
750
|
-
"type": "string",
|
|
751
|
-
"minLength": 1
|
|
752
|
-
},
|
|
753
|
-
"required": {
|
|
754
|
-
"type": "boolean"
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
},
|
|
758
|
-
"ProcessTracking": {
|
|
759
|
-
"type": "object",
|
|
760
|
-
"description": "Tracks business process instance across flow (Gap #3: Process correlation)",
|
|
761
|
-
"required": ["id", "name", "processInstanceId", "timeoutMinutes", "stateCheckpoint"],
|
|
762
|
-
"properties": {
|
|
763
|
-
"id": {
|
|
764
|
-
"type": "string",
|
|
765
|
-
"format": "uuid",
|
|
766
|
-
"minLength": 1
|
|
767
|
-
},
|
|
768
|
-
"name": {
|
|
769
|
-
"type": "string",
|
|
770
|
-
"minLength": 1
|
|
771
|
-
},
|
|
772
|
-
"processInstanceId": {
|
|
773
|
-
"type": "string",
|
|
774
|
-
"minLength": 1
|
|
775
|
-
},
|
|
776
|
-
"resumable": {
|
|
777
|
-
"type": "boolean"
|
|
778
|
-
},
|
|
779
|
-
"timeoutMinutes": {
|
|
780
|
-
"type": "integer"
|
|
781
|
-
},
|
|
782
|
-
"stateCheckpoint": {
|
|
783
|
-
"type": "boolean"
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
},
|
|
787
|
-
"FlowAnalytics": {
|
|
788
|
-
"type": "object",
|
|
789
|
-
"description": "Analytics for funnel tracking (Gap #9: Funnel analytics)",
|
|
790
|
-
"required": ["id", "name", "funnelMetrics", "conversionGoal"],
|
|
791
|
-
"properties": {
|
|
792
|
-
"id": {
|
|
793
|
-
"type": "string",
|
|
794
|
-
"format": "uuid",
|
|
795
|
-
"minLength": 1
|
|
796
|
-
},
|
|
797
|
-
"name": {
|
|
798
|
-
"type": "string",
|
|
799
|
-
"minLength": 1
|
|
800
|
-
},
|
|
801
|
-
"funnelMetrics": {
|
|
802
|
-
"type": "string",
|
|
803
|
-
"minLength": 1
|
|
804
|
-
},
|
|
805
|
-
"conversionGoal": {
|
|
806
|
-
"type": "string",
|
|
807
|
-
"minLength": 1
|
|
808
|
-
},
|
|
809
|
-
"dropoffAlerts": {
|
|
810
|
-
"type": "string",
|
|
811
|
-
"minLength": 1
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
},
|
|
815
|
-
"NotificationAction": {
|
|
816
|
-
"type": "object",
|
|
817
|
-
"description": "Notification to send during flow step",
|
|
818
|
-
"required": ["id", "name", "type", "template", "recipients"],
|
|
819
|
-
"properties": {
|
|
820
|
-
"id": {
|
|
821
|
-
"type": "string",
|
|
822
|
-
"format": "uuid",
|
|
823
|
-
"minLength": 1
|
|
824
|
-
},
|
|
825
|
-
"name": {
|
|
826
|
-
"type": "string",
|
|
827
|
-
"minLength": 1
|
|
828
|
-
},
|
|
829
|
-
"type": {
|
|
830
|
-
"$ref": "#/definitions/NotificationType"
|
|
831
|
-
},
|
|
832
|
-
"template": {
|
|
833
|
-
"type": "string",
|
|
834
|
-
"minLength": 1
|
|
835
|
-
},
|
|
836
|
-
"recipients": {
|
|
837
|
-
"type": "string",
|
|
838
|
-
"minLength": 1
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
}
|
|
842
|
-
}
|
|
843
|
-
}
|