@evolith/smart-cli 0.0.3-beta → 1.1.1
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/ARCHITECTURE.md +1 -1
- package/LICENSE +21 -0
- package/README.es.md +81 -17
- package/README.md +930 -158
- package/dist/app.module.js +81 -6
- package/dist/app.module.js.map +1 -1
- package/dist/commands/adr/adr.command.d.ts +9 -3
- package/dist/commands/adr/adr.command.js +82 -88
- package/dist/commands/adr/adr.command.js.map +1 -1
- package/dist/commands/agents/agents.command.d.ts +14 -0
- package/dist/commands/agents/agents.command.js +61 -0
- package/dist/commands/agents/agents.command.js.map +1 -0
- package/dist/commands/agents/index.d.ts +1 -0
- package/dist/commands/agents/index.js +6 -0
- package/dist/commands/agents/index.js.map +1 -0
- package/dist/commands/alias/alias.command.d.ts +16 -0
- package/dist/commands/alias/alias.command.js +95 -0
- package/dist/commands/alias/alias.command.js.map +1 -0
- package/dist/commands/api/api.catalog.d.ts +38 -0
- package/dist/commands/api/api.catalog.js +167 -0
- package/dist/commands/api/api.catalog.js.map +1 -0
- package/dist/commands/api/api.command.d.ts +21 -0
- package/dist/commands/api/api.command.js +162 -0
- package/dist/commands/api/api.command.js.map +1 -0
- package/dist/commands/architecture/scaffold/index.d.ts +2 -0
- package/dist/commands/architecture/scaffold/index.js +6 -0
- package/dist/commands/architecture/scaffold/index.js.map +1 -0
- package/dist/commands/architecture/scaffold/scaffold-strategy.d.ts +15 -0
- package/dist/commands/architecture/scaffold/scaffold-strategy.js +20 -0
- package/dist/commands/architecture/scaffold/scaffold-strategy.js.map +1 -0
- package/dist/commands/architecture/scaffold.command.d.ts +12 -3
- package/dist/commands/architecture/scaffold.command.js +210 -51
- package/dist/commands/architecture/scaffold.command.js.map +1 -1
- package/dist/commands/completion/completion.command.d.ts +12 -4
- package/dist/commands/completion/completion.command.js +159 -53
- package/dist/commands/completion/completion.command.js.map +1 -1
- package/dist/commands/docs/docs.command.d.ts +6 -3
- package/dist/commands/docs/docs.command.js +75 -16
- package/dist/commands/docs/docs.command.js.map +1 -1
- package/dist/commands/drift/drift.command.d.ts +7 -3
- package/dist/commands/drift/drift.command.js +82 -49
- package/dist/commands/drift/drift.command.js.map +1 -1
- package/dist/commands/fixtures/fixtures.command.d.ts +21 -0
- package/dist/commands/fixtures/fixtures.command.js +310 -0
- package/dist/commands/fixtures/fixtures.command.js.map +1 -0
- package/dist/commands/gate/gate.command.d.ts +29 -0
- package/dist/commands/gate/gate.command.js +193 -0
- package/dist/commands/gate/gate.command.js.map +1 -0
- package/dist/commands/history/history.command.d.ts +3 -3
- package/dist/commands/history/history.command.js +24 -55
- package/dist/commands/history/history.command.js.map +1 -1
- package/dist/commands/init/agents.command.d.ts +6 -4
- package/dist/commands/init/agents.command.js +142 -314
- package/dist/commands/init/agents.command.js.map +1 -1
- package/dist/commands/init/init.command.d.ts +9 -3
- package/dist/commands/init/init.command.js +39 -198
- package/dist/commands/init/init.command.js.map +1 -1
- package/dist/commands/init/init.wizard.d.ts +19 -0
- package/dist/commands/init/init.wizard.js +181 -0
- package/dist/commands/init/init.wizard.js.map +1 -0
- package/dist/commands/init/upgrade.command.d.ts +6 -3
- package/dist/commands/init/upgrade.command.js +34 -66
- package/dist/commands/init/upgrade.command.js.map +1 -1
- package/dist/commands/mcp/mcp-serve.command.d.ts +7 -5
- package/dist/commands/mcp/mcp-serve.command.js +84 -37
- package/dist/commands/mcp/mcp-serve.command.js.map +1 -1
- package/dist/commands/phase/phase-advance.command.d.ts +30 -0
- package/dist/commands/phase/phase-advance.command.js +206 -0
- package/dist/commands/phase/phase-advance.command.js.map +1 -0
- package/dist/commands/profile/profile.command.d.ts +18 -0
- package/dist/commands/profile/profile.command.js +198 -0
- package/dist/commands/profile/profile.command.js.map +1 -0
- package/dist/commands/sdlc/gate-status.command.d.ts +8 -3
- package/dist/commands/sdlc/gate-status.command.js +114 -66
- package/dist/commands/sdlc/gate-status.command.js.map +1 -1
- package/dist/commands/sdlc/generate-domain.command.d.ts +6 -3
- package/dist/commands/sdlc/generate-domain.command.js +126 -16
- package/dist/commands/sdlc/generate-domain.command.js.map +1 -1
- package/dist/commands/sdlc/handoff.command.d.ts +9 -4
- package/dist/commands/sdlc/handoff.command.js +106 -104
- package/dist/commands/sdlc/handoff.command.js.map +1 -1
- package/dist/commands/sdlc/sdlc.command.d.ts +4 -3
- package/dist/commands/sdlc/sdlc.command.js +17 -9
- package/dist/commands/sdlc/sdlc.command.js.map +1 -1
- package/dist/commands/standards/standards.command.d.ts +6 -3
- package/dist/commands/standards/standards.command.js +52 -77
- package/dist/commands/standards/standards.command.js.map +1 -1
- package/dist/commands/update/update.command.d.ts +21 -0
- package/dist/commands/update/update.command.js +214 -0
- package/dist/commands/update/update.command.js.map +1 -0
- package/dist/commands/upgrade/index.d.ts +1 -0
- package/dist/commands/upgrade/index.js +6 -0
- package/dist/commands/upgrade/index.js.map +1 -0
- package/dist/commands/upgrade/upgrade.command.d.ts +14 -0
- package/dist/commands/upgrade/upgrade.command.js +58 -0
- package/dist/commands/upgrade/upgrade.command.js.map +1 -0
- package/dist/commands/validate/validate.command.d.ts +24 -4
- package/dist/commands/validate/validate.command.js +309 -65
- package/dist/commands/validate/validate.command.js.map +1 -1
- package/dist/config/alias.service.d.ts +14 -0
- package/dist/{core/sync/sync.service.js → config/alias.service.js} +54 -32
- package/dist/config/alias.service.js.map +1 -0
- package/dist/contributions/contribution-validator.d.ts +16 -0
- package/dist/contributions/contribution-validator.js +34 -0
- package/dist/contributions/contribution-validator.js.map +1 -0
- package/dist/contributions/index.d.ts +1 -0
- package/dist/contributions/index.js +6 -0
- package/dist/contributions/index.js.map +1 -0
- package/dist/{domain/services → infrastructure/adapters}/agent-registry.service.d.ts +6 -2
- package/dist/{domain/services → infrastructure/adapters}/agent-registry.service.js +33 -10
- package/dist/infrastructure/adapters/agent-registry.service.js.map +1 -0
- package/dist/{core → infrastructure}/architecture/nx-workspace.strategy.d.ts +9 -1
- package/dist/infrastructure/architecture/nx-workspace.strategy.js +125 -0
- package/dist/infrastructure/architecture/nx-workspace.strategy.js.map +1 -0
- package/dist/infrastructure/catalog/catalog-loader.d.ts +1 -2
- package/dist/infrastructure/catalog/catalog-loader.js +14 -5
- package/dist/infrastructure/catalog/catalog-loader.js.map +1 -1
- package/dist/infrastructure/cli/base-command.d.ts +14 -0
- package/dist/infrastructure/cli/base-command.js +41 -0
- package/dist/infrastructure/cli/base-command.js.map +1 -0
- package/dist/infrastructure/cli/command-executor.d.ts +1 -1
- package/dist/infrastructure/cli/command-executor.js +4 -3
- package/dist/infrastructure/cli/command-executor.js.map +1 -1
- package/dist/infrastructure/config/config.service.d.ts +34 -0
- package/dist/infrastructure/config/config.service.js +126 -0
- package/dist/infrastructure/config/config.service.js.map +1 -0
- package/dist/infrastructure/filesystem/file-manager.service.d.ts +12 -0
- package/dist/{core → infrastructure}/filesystem/file-manager.service.js +8 -25
- package/dist/infrastructure/filesystem/file-manager.service.js.map +1 -0
- package/dist/infrastructure/formatters/output-formatter.service.js +2 -1
- package/dist/infrastructure/formatters/output-formatter.service.js.map +1 -1
- package/dist/{core → infrastructure}/observability/command-watcher.js +31 -0
- package/dist/infrastructure/observability/command-watcher.js.map +1 -0
- package/dist/{core → infrastructure}/observability/error-reporter.js +5 -5
- package/dist/infrastructure/observability/error-reporter.js.map +1 -0
- package/dist/infrastructure/observability/index.d.ts +11 -0
- package/dist/{core → infrastructure}/observability/index.js +8 -1
- package/dist/infrastructure/observability/index.js.map +1 -0
- package/dist/infrastructure/observability/otel-tracing.d.ts +4 -0
- package/dist/infrastructure/observability/otel-tracing.js +34 -0
- package/dist/infrastructure/observability/otel-tracing.js.map +1 -0
- package/dist/infrastructure/observability/structured-logger.js.map +1 -0
- package/dist/infrastructure/observability/timing.js.map +1 -0
- package/dist/infrastructure/observability/tool-usage-telemetry.service.js.map +1 -0
- package/dist/infrastructure/plugins/plugin-loader.d.ts +10 -0
- package/dist/infrastructure/plugins/plugin-loader.js +145 -0
- package/dist/infrastructure/plugins/plugin-loader.js.map +1 -0
- package/dist/infrastructure/plugins/plugin.module.d.ts +4 -0
- package/dist/infrastructure/plugins/plugin.module.js +28 -0
- package/dist/infrastructure/plugins/plugin.module.js.map +1 -0
- package/dist/infrastructure/prompts/init-prompt-group.d.ts +3 -0
- package/dist/infrastructure/prompts/init-prompt-group.js +115 -0
- package/dist/infrastructure/prompts/init-prompt-group.js.map +1 -0
- package/dist/infrastructure/prompts/init-prompt-options.d.ts +10 -0
- package/dist/infrastructure/prompts/init-prompt-options.js +40 -0
- package/dist/infrastructure/prompts/init-prompt-options.js.map +1 -0
- package/dist/infrastructure/prompts/progress.service.d.ts +24 -0
- package/dist/infrastructure/prompts/progress.service.js +180 -0
- package/dist/infrastructure/prompts/progress.service.js.map +1 -0
- package/dist/infrastructure/prompts/prompt.service.d.ts +42 -0
- package/dist/infrastructure/prompts/prompt.service.js +142 -0
- package/dist/infrastructure/prompts/prompt.service.js.map +1 -0
- package/dist/infrastructure/prompts/wizard.service.d.ts +27 -0
- package/dist/infrastructure/prompts/wizard.service.js +163 -0
- package/dist/infrastructure/prompts/wizard.service.js.map +1 -0
- package/dist/{core/abstractions → infrastructure}/providers/config-parser.provider.d.ts +1 -1
- package/dist/infrastructure/providers/config-parser.provider.js.map +1 -0
- package/dist/{core/abstractions → infrastructure}/providers/logger.provider.d.ts +1 -1
- package/dist/infrastructure/providers/logger.provider.js.map +1 -0
- package/dist/{core/abstractions → infrastructure}/providers/mock-filesystem.provider.d.ts +6 -2
- package/dist/{core/abstractions → infrastructure}/providers/mock-filesystem.provider.js +8 -1
- package/dist/infrastructure/providers/mock-filesystem.provider.js.map +1 -0
- package/dist/{core/abstractions → infrastructure}/providers/node-filesystem.provider.d.ts +6 -2
- package/dist/{core/abstractions → infrastructure}/providers/node-filesystem.provider.js +13 -0
- package/dist/infrastructure/providers/node-filesystem.provider.js.map +1 -0
- package/dist/main.js +18 -1
- package/dist/main.js.map +1 -1
- package/dist/plugins/index.d.ts +1 -0
- package/dist/plugins/index.js +6 -0
- package/dist/plugins/index.js.map +1 -0
- package/dist/plugins/plugin-registry.d.ts +22 -0
- package/dist/plugins/plugin-registry.js +33 -0
- package/dist/plugins/plugin-registry.js.map +1 -0
- package/package.json +53 -26
- package/shell/hooks.bash +68 -0
- package/shell/hooks.fish +57 -0
- package/shell/hooks.zsh +68 -0
- package/dist/app.module.spec.d.ts +0 -1
- package/dist/app.module.spec.js +0 -305
- package/dist/app.module.spec.js.map +0 -1
- package/dist/application/services/index.d.ts +0 -63
- package/dist/application/services/index.js +0 -345
- package/dist/application/services/index.js.map +0 -1
- package/dist/application/services/phase-transition.use-case.spec.d.ts +0 -1
- package/dist/application/services/phase-transition.use-case.spec.js +0 -297
- package/dist/application/services/phase-transition.use-case.spec.js.map +0 -1
- package/dist/application/services/services.test.d.ts +0 -1
- package/dist/application/services/services.test.js +0 -176
- package/dist/application/services/services.test.js.map +0 -1
- package/dist/application/use-cases/validate-satellite.use-case.d.ts +0 -18
- package/dist/application/use-cases/validate-satellite.use-case.js +0 -92
- package/dist/application/use-cases/validate-satellite.use-case.js.map +0 -1
- package/dist/application/use-cases/validate-satellite.use-case.spec.d.ts +0 -1
- package/dist/application/use-cases/validate-satellite.use-case.spec.js +0 -102
- package/dist/application/use-cases/validate-satellite.use-case.spec.js.map +0 -1
- package/dist/commands/adr/adr.command.spec.d.ts +0 -1
- package/dist/commands/adr/adr.command.spec.js +0 -409
- package/dist/commands/adr/adr.command.spec.js.map +0 -1
- package/dist/commands/architecture/scaffold.command.spec.d.ts +0 -1
- package/dist/commands/architecture/scaffold.command.spec.js +0 -207
- package/dist/commands/architecture/scaffold.command.spec.js.map +0 -1
- package/dist/commands/commands.test.d.ts +0 -1
- package/dist/commands/commands.test.js +0 -131
- package/dist/commands/commands.test.js.map +0 -1
- package/dist/commands/completion/completion.command.spec.d.ts +0 -1
- package/dist/commands/completion/completion.command.spec.js +0 -240
- package/dist/commands/completion/completion.command.spec.js.map +0 -1
- package/dist/commands/docs/docs.command.spec.d.ts +0 -1
- package/dist/commands/docs/docs.command.spec.js +0 -87
- package/dist/commands/docs/docs.command.spec.js.map +0 -1
- package/dist/commands/drift/drift.command.spec.d.ts +0 -1
- package/dist/commands/drift/drift.command.spec.js +0 -327
- package/dist/commands/drift/drift.command.spec.js.map +0 -1
- package/dist/commands/history/history.command.spec.d.ts +0 -1
- package/dist/commands/history/history.command.spec.js +0 -392
- package/dist/commands/history/history.command.spec.js.map +0 -1
- package/dist/commands/init/agents.command.spec.d.ts +0 -1
- package/dist/commands/init/agents.command.spec.js +0 -550
- package/dist/commands/init/agents.command.spec.js.map +0 -1
- package/dist/commands/init/init.command.spec.d.ts +0 -1
- package/dist/commands/init/init.command.spec.js +0 -272
- package/dist/commands/init/init.command.spec.js.map +0 -1
- package/dist/commands/init/upgrade.command.spec.d.ts +0 -1
- package/dist/commands/init/upgrade.command.spec.js +0 -378
- package/dist/commands/init/upgrade.command.spec.js.map +0 -1
- package/dist/commands/mcp/mcp-serve.command.spec.d.ts +0 -1
- package/dist/commands/mcp/mcp-serve.command.spec.js +0 -58
- package/dist/commands/mcp/mcp-serve.command.spec.js.map +0 -1
- package/dist/commands/sdlc/generate-domain.command.spec.d.ts +0 -1
- package/dist/commands/sdlc/generate-domain.command.spec.js +0 -47
- package/dist/commands/sdlc/generate-domain.command.spec.js.map +0 -1
- package/dist/commands/sdlc/handoff.command.spec.d.ts +0 -1
- package/dist/commands/sdlc/handoff.command.spec.js +0 -395
- package/dist/commands/sdlc/handoff.command.spec.js.map +0 -1
- package/dist/commands/sdlc/sdlc.command.spec.d.ts +0 -1
- package/dist/commands/sdlc/sdlc.command.spec.js +0 -45
- package/dist/commands/sdlc/sdlc.command.spec.js.map +0 -1
- package/dist/commands/standards/standards.command.spec.d.ts +0 -1
- package/dist/commands/standards/standards.command.spec.js +0 -311
- package/dist/commands/standards/standards.command.spec.js.map +0 -1
- package/dist/commands/validate/validate.command.spec.d.ts +0 -1
- package/dist/commands/validate/validate.command.spec.js +0 -368
- package/dist/commands/validate/validate.command.spec.js.map +0 -1
- package/dist/config/runtimes.json +0 -196
- package/dist/config/tool-catalog.json +0 -343
- package/dist/core/abstractions/index.d.ts +0 -6
- package/dist/core/abstractions/index.js +0 -23
- package/dist/core/abstractions/index.js.map +0 -1
- package/dist/core/abstractions/interfaces.d.ts +0 -60
- package/dist/core/abstractions/interfaces.js +0 -5
- package/dist/core/abstractions/interfaces.js.map +0 -1
- package/dist/core/abstractions/providers/config-parser.provider.js.map +0 -1
- package/dist/core/abstractions/providers/logger.provider.js.map +0 -1
- package/dist/core/abstractions/providers/logger.provider.spec.d.ts +0 -1
- package/dist/core/abstractions/providers/logger.provider.spec.js +0 -212
- package/dist/core/abstractions/providers/logger.provider.spec.js.map +0 -1
- package/dist/core/abstractions/providers/mock-filesystem.provider.js.map +0 -1
- package/dist/core/abstractions/providers/node-filesystem.provider.js.map +0 -1
- package/dist/core/agents/agent-ruleset-builder.d.ts +0 -30
- package/dist/core/agents/agent-ruleset-builder.js +0 -75
- package/dist/core/agents/agent-ruleset-builder.js.map +0 -1
- package/dist/core/agents/agent-ruleset-builder.spec.d.ts +0 -1
- package/dist/core/agents/agent-ruleset-builder.spec.js +0 -135
- package/dist/core/agents/agent-ruleset-builder.spec.js.map +0 -1
- package/dist/core/architecture/nx-workspace.strategy.js +0 -107
- package/dist/core/architecture/nx-workspace.strategy.js.map +0 -1
- package/dist/core/architecture/workspace-manager.strategy.d.ts +0 -7
- package/dist/core/architecture/workspace-manager.strategy.js +0 -3
- package/dist/core/architecture/workspace-manager.strategy.js.map +0 -1
- package/dist/core/config/config.service.d.ts +0 -15
- package/dist/core/config/config.service.js +0 -55
- package/dist/core/config/config.service.js.map +0 -1
- package/dist/core/config/config.service.spec.d.ts +0 -1
- package/dist/core/config/config.service.spec.js +0 -43
- package/dist/core/config/config.service.spec.js.map +0 -1
- package/dist/core/di/container.d.ts +0 -25
- package/dist/core/di/container.js +0 -87
- package/dist/core/di/container.js.map +0 -1
- package/dist/core/di/container.spec.d.ts +0 -1
- package/dist/core/di/container.spec.js +0 -301
- package/dist/core/di/container.spec.js.map +0 -1
- package/dist/core/errors/index.d.ts +0 -26
- package/dist/core/errors/index.js +0 -67
- package/dist/core/errors/index.js.map +0 -1
- package/dist/core/filesystem/file-manager.service.d.ts +0 -4
- package/dist/core/filesystem/file-manager.service.js.map +0 -1
- package/dist/core/filesystem/file-manager.service.spec.d.ts +0 -1
- package/dist/core/filesystem/file-manager.service.spec.js +0 -103
- package/dist/core/filesystem/file-manager.service.spec.js.map +0 -1
- package/dist/core/mcp/mcp-server.service.d.ts +0 -7
- package/dist/core/mcp/mcp-server.service.js +0 -31
- package/dist/core/mcp/mcp-server.service.js.map +0 -1
- package/dist/core/mcp/metrics.service.d.ts +0 -37
- package/dist/core/mcp/metrics.service.js +0 -72
- package/dist/core/mcp/metrics.service.js.map +0 -1
- package/dist/core/mcp/metrics.service.spec.d.ts +0 -1
- package/dist/core/mcp/metrics.service.spec.js +0 -159
- package/dist/core/mcp/metrics.service.spec.js.map +0 -1
- package/dist/core/mcp/prompts/index.d.ts +0 -22
- package/dist/core/mcp/prompts/index.js +0 -211
- package/dist/core/mcp/prompts/index.js.map +0 -1
- package/dist/core/mcp/prompts/index.spec.d.ts +0 -1
- package/dist/core/mcp/prompts/index.spec.js +0 -150
- package/dist/core/mcp/prompts/index.spec.js.map +0 -1
- package/dist/core/mcp/resources/index.d.ts +0 -11
- package/dist/core/mcp/resources/index.js +0 -209
- package/dist/core/mcp/resources/index.js.map +0 -1
- package/dist/core/mcp/resources/index.spec.d.ts +0 -1
- package/dist/core/mcp/resources/index.spec.js +0 -212
- package/dist/core/mcp/resources/index.spec.js.map +0 -1
- package/dist/core/mcp/server.d.ts +0 -31
- package/dist/core/mcp/server.js +0 -719
- package/dist/core/mcp/server.js.map +0 -1
- package/dist/core/mcp/server.spec.d.ts +0 -1
- package/dist/core/mcp/server.spec.js +0 -563
- package/dist/core/mcp/server.spec.js.map +0 -1
- package/dist/core/mcp/tools/agent.d.ts +0 -41
- package/dist/core/mcp/tools/agent.js +0 -195
- package/dist/core/mcp/tools/agent.js.map +0 -1
- package/dist/core/mcp/tools/agent.spec.d.ts +0 -1
- package/dist/core/mcp/tools/agent.spec.js +0 -171
- package/dist/core/mcp/tools/agent.spec.js.map +0 -1
- package/dist/core/mcp/tools/architecture.d.ts +0 -29
- package/dist/core/mcp/tools/architecture.js +0 -234
- package/dist/core/mcp/tools/architecture.js.map +0 -1
- package/dist/core/mcp/tools/architecture.spec.d.ts +0 -1
- package/dist/core/mcp/tools/architecture.spec.js +0 -145
- package/dist/core/mcp/tools/architecture.spec.js.map +0 -1
- package/dist/core/mcp/tools/moscow.d.ts +0 -30
- package/dist/core/mcp/tools/moscow.js +0 -113
- package/dist/core/mcp/tools/moscow.js.map +0 -1
- package/dist/core/mcp/tools/moscow.spec.d.ts +0 -1
- package/dist/core/mcp/tools/moscow.spec.js +0 -209
- package/dist/core/mcp/tools/moscow.spec.js.map +0 -1
- package/dist/core/mcp/tools/sdlc.d.ts +0 -32
- package/dist/core/mcp/tools/sdlc.js +0 -190
- package/dist/core/mcp/tools/sdlc.js.map +0 -1
- package/dist/core/mcp/tools/sdlc.spec.d.ts +0 -1
- package/dist/core/mcp/tools/sdlc.spec.js +0 -170
- package/dist/core/mcp/tools/sdlc.spec.js.map +0 -1
- package/dist/core/mcp/tools/tool-utils.d.ts +0 -4
- package/dist/core/mcp/tools/tool-utils.js +0 -18
- package/dist/core/mcp/tools/tool-utils.js.map +0 -1
- package/dist/core/mcp/tools/validate.d.ts +0 -18
- package/dist/core/mcp/tools/validate.js +0 -56
- package/dist/core/mcp/tools/validate.js.map +0 -1
- package/dist/core/mcp/tools/validate.spec.d.ts +0 -1
- package/dist/core/mcp/tools/validate.spec.js +0 -130
- package/dist/core/mcp/tools/validate.spec.js.map +0 -1
- package/dist/core/mcp/watcher.service.d.ts +0 -8
- package/dist/core/mcp/watcher.service.js +0 -82
- package/dist/core/mcp/watcher.service.js.map +0 -1
- package/dist/core/mcp/watcher.service.spec.d.ts +0 -1
- package/dist/core/mcp/watcher.service.spec.js +0 -171
- package/dist/core/mcp/watcher.service.spec.js.map +0 -1
- package/dist/core/observability/command-watcher.js.map +0 -1
- package/dist/core/observability/error-reporter.js.map +0 -1
- package/dist/core/observability/error-reporter.spec.d.ts +0 -1
- package/dist/core/observability/error-reporter.spec.js +0 -291
- package/dist/core/observability/error-reporter.spec.js.map +0 -1
- package/dist/core/observability/index.d.ts +0 -4
- package/dist/core/observability/index.js.map +0 -1
- package/dist/core/observability/observability.test.d.ts +0 -1
- package/dist/core/observability/observability.test.js +0 -224
- package/dist/core/observability/observability.test.js.map +0 -1
- package/dist/core/observability/structured-logger.js.map +0 -1
- package/dist/core/observability/structured-logger.spec.d.ts +0 -1
- package/dist/core/observability/structured-logger.spec.js +0 -197
- package/dist/core/observability/structured-logger.spec.js.map +0 -1
- package/dist/core/observability/timing.js.map +0 -1
- package/dist/core/observability/timing.spec.d.ts +0 -1
- package/dist/core/observability/timing.spec.js +0 -216
- package/dist/core/observability/timing.spec.js.map +0 -1
- package/dist/core/services/command-executor.service.d.ts +0 -3
- package/dist/core/services/command-executor.service.js +0 -12
- package/dist/core/services/command-executor.service.js.map +0 -1
- package/dist/core/services/command-history.service.d.ts +0 -38
- package/dist/core/services/command-history.service.js +0 -146
- package/dist/core/services/command-history.service.js.map +0 -1
- package/dist/core/services/command-history.service.spec.d.ts +0 -1
- package/dist/core/services/command-history.service.spec.js +0 -166
- package/dist/core/services/command-history.service.spec.js.map +0 -1
- package/dist/core/services/command-providers.d.ts +0 -1
- package/dist/core/services/command-providers.js +0 -17
- package/dist/core/services/command-providers.js.map +0 -1
- package/dist/core/services/runtime-catalog.service.d.ts +0 -2
- package/dist/core/services/runtime-catalog.service.js +0 -7
- package/dist/core/services/runtime-catalog.service.js.map +0 -1
- package/dist/core/sync/sync.service.d.ts +0 -4
- package/dist/core/sync/sync.service.js.map +0 -1
- package/dist/core/sync/sync.service.spec.d.ts +0 -1
- package/dist/core/sync/sync.service.spec.js +0 -63
- package/dist/core/sync/sync.service.spec.js.map +0 -1
- package/dist/core/upgrade/satellite-upgrade.service.d.ts +0 -48
- package/dist/core/upgrade/satellite-upgrade.service.js +0 -358
- package/dist/core/upgrade/satellite-upgrade.service.js.map +0 -1
- package/dist/core/upgrade/satellite-upgrade.service.spec.d.ts +0 -1
- package/dist/core/upgrade/satellite-upgrade.service.spec.js +0 -163
- package/dist/core/upgrade/satellite-upgrade.service.spec.js.map +0 -1
- package/dist/core/validators/architecture-drift.service.d.ts +0 -68
- package/dist/core/validators/architecture-drift.service.js +0 -266
- package/dist/core/validators/architecture-drift.service.js.map +0 -1
- package/dist/core/validators/architecture-drift.service.spec.d.ts +0 -1
- package/dist/core/validators/architecture-drift.service.spec.js +0 -315
- package/dist/core/validators/architecture-drift.service.spec.js.map +0 -1
- package/dist/core/validators/deep-architecture-analyzer.d.ts +0 -58
- package/dist/core/validators/deep-architecture-analyzer.js +0 -333
- package/dist/core/validators/deep-architecture-analyzer.js.map +0 -1
- package/dist/core/validators/deep-architecture-analyzer.spec.d.ts +0 -1
- package/dist/core/validators/deep-architecture-analyzer.spec.js +0 -216
- package/dist/core/validators/deep-architecture-analyzer.spec.js.map +0 -1
- package/dist/core/validators/phase-gate-validator.service.d.ts +0 -71
- package/dist/core/validators/phase-gate-validator.service.js +0 -273
- package/dist/core/validators/phase-gate-validator.service.js.map +0 -1
- package/dist/core/validators/phase-gate-validator.service.spec.d.ts +0 -1
- package/dist/core/validators/phase-gate-validator.service.spec.js +0 -326
- package/dist/core/validators/phase-gate-validator.service.spec.js.map +0 -1
- package/dist/core/validators/ruleset-validator-architecture.spec.d.ts +0 -1
- package/dist/core/validators/ruleset-validator-architecture.spec.js +0 -178
- package/dist/core/validators/ruleset-validator-architecture.spec.js.map +0 -1
- package/dist/core/validators/ruleset-validator.service.d.ts +0 -80
- package/dist/core/validators/ruleset-validator.service.js +0 -657
- package/dist/core/validators/ruleset-validator.service.js.map +0 -1
- package/dist/core/validators/ruleset-validator.service.spec.d.ts +0 -1
- package/dist/core/validators/ruleset-validator.service.spec.js +0 -469
- package/dist/core/validators/ruleset-validator.service.spec.js.map +0 -1
- package/dist/domain/entities/index.d.ts +0 -72
- package/dist/domain/entities/index.js +0 -119
- package/dist/domain/entities/index.js.map +0 -1
- package/dist/domain/interfaces.d.ts +0 -224
- package/dist/domain/interfaces.js +0 -3
- package/dist/domain/interfaces.js.map +0 -1
- package/dist/domain/services/adr.service.d.ts +0 -50
- package/dist/domain/services/adr.service.js +0 -125
- package/dist/domain/services/adr.service.js.map +0 -1
- package/dist/domain/services/adr.service.spec.d.ts +0 -1
- package/dist/domain/services/adr.service.spec.js +0 -141
- package/dist/domain/services/adr.service.spec.js.map +0 -1
- package/dist/domain/services/agent-registry.service.js.map +0 -1
- package/dist/domain/services/agent-registry.service.spec.d.ts +0 -1
- package/dist/domain/services/agent-registry.service.spec.js +0 -162
- package/dist/domain/services/agent-registry.service.spec.js.map +0 -1
- package/dist/domain/services/index.d.ts +0 -34
- package/dist/domain/services/index.js +0 -128
- package/dist/domain/services/index.js.map +0 -1
- package/dist/domain/services/moscow-prioritization.service.d.ts +0 -44
- package/dist/domain/services/moscow-prioritization.service.js +0 -213
- package/dist/domain/services/moscow-prioritization.service.js.map +0 -1
- package/dist/domain/services/moscow-prioritization.service.spec.d.ts +0 -1
- package/dist/domain/services/moscow-prioritization.service.spec.js +0 -285
- package/dist/domain/services/moscow-prioritization.service.spec.js.map +0 -1
- package/dist/domain/services/services.test.d.ts +0 -1
- package/dist/domain/services/services.test.js +0 -236
- package/dist/domain/services/services.test.js.map +0 -1
- package/dist/domain/services/standards.service.d.ts +0 -47
- package/dist/domain/services/standards.service.js +0 -129
- package/dist/domain/services/standards.service.js.map +0 -1
- package/dist/domain/services/standards.service.spec.d.ts +0 -1
- package/dist/domain/services/standards.service.spec.js +0 -600
- package/dist/domain/services/standards.service.spec.js.map +0 -1
- package/dist/domain/services/tool-usage-telemetry.service.js.map +0 -1
- package/dist/domain/services/tool-usage-telemetry.service.spec.d.ts +0 -1
- package/dist/domain/services/tool-usage-telemetry.service.spec.js +0 -180
- package/dist/domain/services/tool-usage-telemetry.service.spec.js.map +0 -1
- package/dist/infrastructure/catalog/catalog-loader.test.d.ts +0 -1
- package/dist/infrastructure/catalog/catalog-loader.test.js +0 -184
- package/dist/infrastructure/catalog/catalog-loader.test.js.map +0 -1
- package/dist/infrastructure/cli/command-executor.test.d.ts +0 -1
- package/dist/infrastructure/cli/command-executor.test.js +0 -98
- package/dist/infrastructure/cli/command-executor.test.js.map +0 -1
- package/dist/infrastructure/formatters/output-formatter.service.spec.d.ts +0 -1
- package/dist/infrastructure/formatters/output-formatter.service.spec.js +0 -164
- package/dist/infrastructure/formatters/output-formatter.service.spec.js.map +0 -1
- package/dist/test/mocks/index.d.ts +0 -44
- package/dist/test/mocks/index.js +0 -135
- package/dist/test/mocks/index.js.map +0 -1
- /package/dist/{core → infrastructure}/observability/command-watcher.d.ts +0 -0
- /package/dist/{core → infrastructure}/observability/error-reporter.d.ts +0 -0
- /package/dist/{core → infrastructure}/observability/structured-logger.d.ts +0 -0
- /package/dist/{core → infrastructure}/observability/structured-logger.js +0 -0
- /package/dist/{core → infrastructure}/observability/timing.d.ts +0 -0
- /package/dist/{core → infrastructure}/observability/timing.js +0 -0
- /package/dist/{domain/services → infrastructure/observability}/tool-usage-telemetry.service.d.ts +0 -0
- /package/dist/{domain/services → infrastructure/observability}/tool-usage-telemetry.service.js +0 -0
- /package/dist/{core/abstractions → infrastructure}/providers/config-parser.provider.js +0 -0
- /package/dist/{core/abstractions → infrastructure}/providers/logger.provider.js +0 -0
|
@@ -1,291 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
const error_reporter_1 = require("./error-reporter");
|
|
37
|
-
jest.mock('./structured-logger', () => ({
|
|
38
|
-
logger: {
|
|
39
|
-
startOperation: jest.fn(),
|
|
40
|
-
endOperation: jest.fn(),
|
|
41
|
-
error: jest.fn(),
|
|
42
|
-
info: jest.fn(),
|
|
43
|
-
warn: jest.fn(),
|
|
44
|
-
},
|
|
45
|
-
LogLevel: {
|
|
46
|
-
DEBUG: 'DEBUG',
|
|
47
|
-
INFO: 'INFO',
|
|
48
|
-
WARN: 'WARN',
|
|
49
|
-
ERROR: 'ERROR',
|
|
50
|
-
FATAL: 'FATAL',
|
|
51
|
-
},
|
|
52
|
-
}));
|
|
53
|
-
jest.mock('../errors', () => ({
|
|
54
|
-
isEvolithError: jest.fn(() => false),
|
|
55
|
-
getErrorContext: jest.fn(),
|
|
56
|
-
getErrorCode: jest.fn(),
|
|
57
|
-
EvolithError: class EvolithError extends Error {
|
|
58
|
-
constructor(message, code) {
|
|
59
|
-
super(message);
|
|
60
|
-
this.code = code;
|
|
61
|
-
this.name = 'EvolithError';
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
}));
|
|
65
|
-
const structured_logger_1 = require("./structured-logger");
|
|
66
|
-
const errors = __importStar(require("../errors"));
|
|
67
|
-
const mockIsEvolithError = errors.isEvolithError;
|
|
68
|
-
describe('ErrorReporter', () => {
|
|
69
|
-
let reporter;
|
|
70
|
-
beforeEach(() => {
|
|
71
|
-
jest.clearAllMocks();
|
|
72
|
-
mockIsEvolithError.mockReturnValue(false);
|
|
73
|
-
reporter = new error_reporter_1.ErrorReporter();
|
|
74
|
-
});
|
|
75
|
-
describe('startOperation', () => {
|
|
76
|
-
it('should start operation timing', () => {
|
|
77
|
-
reporter.startOperation('test-operation');
|
|
78
|
-
expect(structured_logger_1.logger.startOperation).toHaveBeenCalledWith('test-operation');
|
|
79
|
-
});
|
|
80
|
-
});
|
|
81
|
-
describe('report', () => {
|
|
82
|
-
it('should report standard Error', () => {
|
|
83
|
-
const error = new Error('Test error');
|
|
84
|
-
const context = { operation: 'test', command: 'evolith validate' };
|
|
85
|
-
const report = reporter.report(error, context);
|
|
86
|
-
expect(report.error.name).toBe('Error');
|
|
87
|
-
expect(report.error.message).toBe('Test error');
|
|
88
|
-
expect(report.operation).toBe('test');
|
|
89
|
-
expect(report.context).toEqual(context);
|
|
90
|
-
});
|
|
91
|
-
it('should report EvolithError with code', () => {
|
|
92
|
-
mockIsEvolithError.mockReturnValue(true);
|
|
93
|
-
const evolithError = new errors.EvolithError('Validation failed', 'GOV-01');
|
|
94
|
-
const report = reporter.report(evolithError, { operation: 'validate' });
|
|
95
|
-
expect(report.error.code).toBe('GOV-01');
|
|
96
|
-
expect(report.suggestion).toBeDefined();
|
|
97
|
-
});
|
|
98
|
-
it('should report unknown error type', () => {
|
|
99
|
-
const report = reporter.report('string error', { operation: 'test' });
|
|
100
|
-
expect(report.error.name).toBe('Unknown');
|
|
101
|
-
expect(report.error.message).toBe('string error');
|
|
102
|
-
});
|
|
103
|
-
it('should report error without context', () => {
|
|
104
|
-
const error = new Error('No context error');
|
|
105
|
-
const report = reporter.report(error);
|
|
106
|
-
expect(report.context).toEqual({});
|
|
107
|
-
expect(report.operation).toBeUndefined();
|
|
108
|
-
});
|
|
109
|
-
it('should include duration when operation was started', () => {
|
|
110
|
-
reporter.startOperation('timed-operation');
|
|
111
|
-
const error = new Error('Timed error');
|
|
112
|
-
const report = reporter.report(error, { operation: 'timed-operation' });
|
|
113
|
-
expect(report.durationMs).toBeGreaterThanOrEqual(0);
|
|
114
|
-
});
|
|
115
|
-
it('should emit report to logger', () => {
|
|
116
|
-
const error = new Error('Emit test');
|
|
117
|
-
reporter.report(error, { operation: 'emit-test' });
|
|
118
|
-
expect(structured_logger_1.logger.error).toHaveBeenCalled();
|
|
119
|
-
});
|
|
120
|
-
it('should log suggestion when present', () => {
|
|
121
|
-
mockIsEvolithError.mockReturnValue(true);
|
|
122
|
-
const evolithError = new errors.EvolithError('Config error', 'GOV-01');
|
|
123
|
-
reporter.report(evolithError);
|
|
124
|
-
expect(structured_logger_1.logger.info).toHaveBeenCalledWith(expect.stringContaining('Suggestion'));
|
|
125
|
-
});
|
|
126
|
-
});
|
|
127
|
-
describe('getReports', () => {
|
|
128
|
-
it('should return all reports', () => {
|
|
129
|
-
reporter.report(new Error('Error 1'));
|
|
130
|
-
reporter.report(new Error('Error 2'));
|
|
131
|
-
const reports = reporter.getReports();
|
|
132
|
-
expect(reports).toHaveLength(2);
|
|
133
|
-
});
|
|
134
|
-
it('should return a copy of reports', () => {
|
|
135
|
-
reporter.report(new Error('Error 1'));
|
|
136
|
-
const reports = reporter.getReports();
|
|
137
|
-
reports.length = 0;
|
|
138
|
-
expect(reporter.getReports()).toHaveLength(1);
|
|
139
|
-
});
|
|
140
|
-
});
|
|
141
|
-
describe('getLastReport', () => {
|
|
142
|
-
it('should return the last report', () => {
|
|
143
|
-
reporter.report(new Error('Error 1'));
|
|
144
|
-
reporter.report(new Error('Error 2'));
|
|
145
|
-
const last = reporter.getLastReport();
|
|
146
|
-
expect(last?.error.message).toBe('Error 2');
|
|
147
|
-
});
|
|
148
|
-
it('should return undefined when no reports', () => {
|
|
149
|
-
const last = reporter.getLastReport();
|
|
150
|
-
expect(last).toBeUndefined();
|
|
151
|
-
});
|
|
152
|
-
});
|
|
153
|
-
describe('clearReports', () => {
|
|
154
|
-
it('should clear all reports', () => {
|
|
155
|
-
reporter.report(new Error('Error 1'));
|
|
156
|
-
reporter.report(new Error('Error 2'));
|
|
157
|
-
reporter.clearReports();
|
|
158
|
-
expect(reporter.getReports()).toHaveLength(0);
|
|
159
|
-
});
|
|
160
|
-
});
|
|
161
|
-
describe('printSummary', () => {
|
|
162
|
-
let logSpy;
|
|
163
|
-
beforeEach(() => {
|
|
164
|
-
logSpy = jest.spyOn(console, 'log').mockImplementation(() => { });
|
|
165
|
-
});
|
|
166
|
-
afterEach(() => {
|
|
167
|
-
logSpy.mockRestore();
|
|
168
|
-
});
|
|
169
|
-
it('should print no errors message when empty', () => {
|
|
170
|
-
reporter.printSummary();
|
|
171
|
-
expect(structured_logger_1.logger.info).toHaveBeenCalledWith('No errors reported.');
|
|
172
|
-
});
|
|
173
|
-
it('should print error summary', () => {
|
|
174
|
-
reporter.report(new Error('Test error'), { operation: 'test' });
|
|
175
|
-
reporter.printSummary();
|
|
176
|
-
expect(structured_logger_1.logger.info).toHaveBeenCalledWith('Error Summary: 1 error(s)');
|
|
177
|
-
});
|
|
178
|
-
it('should print error details', () => {
|
|
179
|
-
mockIsEvolithError.mockReturnValue(true);
|
|
180
|
-
const evolithError = new errors.EvolithError('Config error', 'GOV-01');
|
|
181
|
-
reporter.report(evolithError, { operation: 'validate' });
|
|
182
|
-
reporter.printSummary();
|
|
183
|
-
expect(logSpy).toHaveBeenCalledWith(expect.stringContaining('Config error'));
|
|
184
|
-
});
|
|
185
|
-
});
|
|
186
|
-
describe('getSuggestionForCode', () => {
|
|
187
|
-
it('should return suggestion for PLATFORM_NOT_FOUND', () => {
|
|
188
|
-
mockIsEvolithError.mockReturnValue(true);
|
|
189
|
-
const evolithError = new errors.EvolithError('test', 'PLATFORM_NOT_FOUND');
|
|
190
|
-
const report = reporter.report(evolithError);
|
|
191
|
-
expect(report.suggestion).toContain('Install');
|
|
192
|
-
});
|
|
193
|
-
it('should return suggestion for PHASE_TRANSITION_ERROR', () => {
|
|
194
|
-
mockIsEvolithError.mockReturnValue(true);
|
|
195
|
-
const evolithError = new errors.EvolithError('test', 'PHASE_TRANSITION_ERROR');
|
|
196
|
-
const report = reporter.report(evolithError);
|
|
197
|
-
expect(report.suggestion).toContain('transitioning');
|
|
198
|
-
});
|
|
199
|
-
it('should return suggestion for CATALOG_LOAD_ERROR', () => {
|
|
200
|
-
mockIsEvolithError.mockReturnValue(true);
|
|
201
|
-
const evolithError = new errors.EvolithError('test', 'CATALOG_LOAD_ERROR');
|
|
202
|
-
const report = reporter.report(evolithError);
|
|
203
|
-
expect(report.suggestion).toContain('catalog');
|
|
204
|
-
});
|
|
205
|
-
it('should return suggestion for TOOL_VALIDATION_ERROR', () => {
|
|
206
|
-
mockIsEvolithError.mockReturnValue(true);
|
|
207
|
-
const evolithError = new errors.EvolithError('test', 'TOOL_VALIDATION_ERROR');
|
|
208
|
-
const report = reporter.report(evolithError);
|
|
209
|
-
expect(report.suggestion).toContain('supported');
|
|
210
|
-
});
|
|
211
|
-
it('should return suggestion for COMMAND_EXECUTION_ERROR', () => {
|
|
212
|
-
mockIsEvolithError.mockReturnValue(true);
|
|
213
|
-
const evolithError = new errors.EvolithError('test', 'COMMAND_EXECUTION_ERROR');
|
|
214
|
-
const report = reporter.report(evolithError);
|
|
215
|
-
expect(report.suggestion).toContain('syntax');
|
|
216
|
-
});
|
|
217
|
-
it('should return suggestion for VALIDATION_ERROR', () => {
|
|
218
|
-
mockIsEvolithError.mockReturnValue(true);
|
|
219
|
-
const evolithError = new errors.EvolithError('test', 'VALIDATION_ERROR');
|
|
220
|
-
const report = reporter.report(evolithError);
|
|
221
|
-
expect(report.suggestion).toContain('Review');
|
|
222
|
-
});
|
|
223
|
-
it('should return generic suggestion for unknown code', () => {
|
|
224
|
-
mockIsEvolithError.mockReturnValue(true);
|
|
225
|
-
const evolithError = new errors.EvolithError('test', 'UNKNOWN_CODE');
|
|
226
|
-
const report = reporter.report(evolithError);
|
|
227
|
-
expect(report.suggestion).toContain('details');
|
|
228
|
-
});
|
|
229
|
-
});
|
|
230
|
-
describe('getSuggestionForError', () => {
|
|
231
|
-
it('should return suggestion for ENOENT errors', () => {
|
|
232
|
-
const enoentError = new Error('ENOENT: no such file');
|
|
233
|
-
const report = reporter.report(enoentError);
|
|
234
|
-
expect(report.suggestion).toContain('not found');
|
|
235
|
-
});
|
|
236
|
-
it('should return suggestion for EACCES errors', () => {
|
|
237
|
-
const eaccesError = new Error('EACCES: permission denied');
|
|
238
|
-
const report = reporter.report(eaccesError);
|
|
239
|
-
expect(report.suggestion).toContain('Permission denied');
|
|
240
|
-
});
|
|
241
|
-
it('should return suggestion for ENOEXEC errors', () => {
|
|
242
|
-
const enoexecError = new Error('ENOEXEC: not executable');
|
|
243
|
-
const report = reporter.report(enoexecError);
|
|
244
|
-
expect(report.suggestion).toContain('Install');
|
|
245
|
-
});
|
|
246
|
-
it('should return generic suggestion for other errors', () => {
|
|
247
|
-
const genericError = new Error('Something went wrong');
|
|
248
|
-
const report = reporter.report(genericError);
|
|
249
|
-
expect(report.suggestion).toContain('unexpected');
|
|
250
|
-
});
|
|
251
|
-
});
|
|
252
|
-
describe('generateId', () => {
|
|
253
|
-
it('should generate unique IDs', () => {
|
|
254
|
-
const report1 = reporter.report(new Error('Error 1'));
|
|
255
|
-
const report2 = reporter.report(new Error('Error 2'));
|
|
256
|
-
expect(report1.id).not.toBe(report2.id);
|
|
257
|
-
});
|
|
258
|
-
it('should generate IDs with ERR- prefix', () => {
|
|
259
|
-
const report = reporter.report(new Error('Test'));
|
|
260
|
-
expect(report.id).toMatch(/^ERR-/);
|
|
261
|
-
});
|
|
262
|
-
});
|
|
263
|
-
});
|
|
264
|
-
describe('OperationContext', () => {
|
|
265
|
-
beforeEach(() => {
|
|
266
|
-
error_reporter_1.OperationContext.clear();
|
|
267
|
-
});
|
|
268
|
-
it('should set and get values', () => {
|
|
269
|
-
error_reporter_1.OperationContext.set('key', 'value');
|
|
270
|
-
expect(error_reporter_1.OperationContext.get('key')).toBe('value');
|
|
271
|
-
});
|
|
272
|
-
it('should return undefined for missing keys', () => {
|
|
273
|
-
expect(error_reporter_1.OperationContext.get('missing')).toBeUndefined();
|
|
274
|
-
});
|
|
275
|
-
it('should clear all values', () => {
|
|
276
|
-
error_reporter_1.OperationContext.set('key1', 'value1');
|
|
277
|
-
error_reporter_1.OperationContext.set('key2', 'value2');
|
|
278
|
-
error_reporter_1.OperationContext.clear();
|
|
279
|
-
expect(error_reporter_1.OperationContext.get('key1')).toBeUndefined();
|
|
280
|
-
expect(error_reporter_1.OperationContext.get('key2')).toBeUndefined();
|
|
281
|
-
});
|
|
282
|
-
it('should return copy of all values', () => {
|
|
283
|
-
error_reporter_1.OperationContext.set('key1', 'value1');
|
|
284
|
-
error_reporter_1.OperationContext.set('key2', 'value2');
|
|
285
|
-
const all = error_reporter_1.OperationContext.getAll();
|
|
286
|
-
expect(all).toEqual({ key1: 'value1', key2: 'value2' });
|
|
287
|
-
all.key1 = 'modified';
|
|
288
|
-
expect(error_reporter_1.OperationContext.get('key1')).toBe('value1');
|
|
289
|
-
});
|
|
290
|
-
});
|
|
291
|
-
//# sourceMappingURL=error-reporter.spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"error-reporter.spec.js","sourceRoot":"","sources":["../../../src/core/observability/error-reporter.spec.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAiF;AAEjF,IAAI,CAAC,IAAI,CAAC,qBAAqB,EAAE,GAAG,EAAE,CAAC,CAAC;IACtC,MAAM,EAAE;QACN,cAAc,EAAE,IAAI,CAAC,EAAE,EAAE;QACzB,YAAY,EAAE,IAAI,CAAC,EAAE,EAAE;QACvB,KAAK,EAAE,IAAI,CAAC,EAAE,EAAE;QAChB,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE;QACf,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE;KAChB;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,OAAO;QACd,KAAK,EAAE,OAAO;KACf;CACF,CAAC,CAAC,CAAC;AAEJ,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,EAAE,CAAC,CAAC;IAC5B,cAAc,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC;IACpC,eAAe,EAAE,IAAI,CAAC,EAAE,EAAE;IAC1B,YAAY,EAAE,IAAI,CAAC,EAAE,EAAE;IACvB,YAAY,EAAE,MAAM,YAAa,SAAQ,KAAK;QAE5C,YAAY,OAAe,EAAE,IAAY;YACvC,KAAK,CAAC,OAAO,CAAC,CAAC;YACf,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;YACjB,IAAI,CAAC,IAAI,GAAG,cAAc,CAAC;QAC7B,CAAC;KACF;CACF,CAAC,CAAC,CAAC;AAEJ,2DAA6C;AAC7C,kDAAoC;AAEpC,MAAM,kBA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,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACtD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { StructuredLogger, logger, LogLevel, LogEntry, LogError, LoggerConfig } from './structured-logger';
|
|
2
|
-
export { Timed, TimedSync, measureTime, measureTimeSync, OperationTimer, profile, TimingResult, } from './timing';
|
|
3
|
-
export { ErrorReporter, errorReporter, ErrorReport, ErrorContext, withErrorReporting, OperationContext, } from './error-reporter';
|
|
4
|
-
export { CommandWatcher, commandWatcher, CommandTrace, CommandBuilder, } from './command-watcher';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/observability/index.ts"],"names":[],"mappings":";;;AAAA,yDAA2G;AAAlG,qHAAA,gBAAgB,OAAA;AAAE,2GAAA,MAAM,OAAA;AAAE,6GAAA,QAAQ,OAAA;AAC3C,mCAQkB;AAPhB,+FAAA,KAAK,OAAA;AACL,mGAAA,SAAS,OAAA;AACT,qGAAA,WAAW,OAAA;AACX,yGAAA,eAAe,OAAA;AACf,wGAAA,cAAc,OAAA;AACd,iGAAA,OAAO,OAAA;AAGT,mDAO0B;AANxB,+GAAA,aAAa,OAAA;AACb,+GAAA,aAAa,OAAA;AAGb,oHAAA,kBAAkB,OAAA;AAClB,kHAAA,gBAAgB,OAAA;AAElB,qDAK2B;AAJzB,iHAAA,cAAc,OAAA;AACd,iHAAA,cAAc,OAAA;AAEd,iHAAA,cAAc,OAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const structured_logger_1 = require("./structured-logger");
|
|
4
|
-
const timing_1 = require("./timing");
|
|
5
|
-
const error_reporter_1 = require("./error-reporter");
|
|
6
|
-
describe('StructuredLogger', () => {
|
|
7
|
-
let testLogger;
|
|
8
|
-
beforeEach(() => {
|
|
9
|
-
testLogger = new structured_logger_1.StructuredLogger({ level: structured_logger_1.LogLevel.DEBUG });
|
|
10
|
-
});
|
|
11
|
-
afterEach(() => {
|
|
12
|
-
testLogger.clearBuffer();
|
|
13
|
-
});
|
|
14
|
-
describe('log levels', () => {
|
|
15
|
-
it('should log debug messages', () => {
|
|
16
|
-
testLogger.debug('debug message');
|
|
17
|
-
const buffer = testLogger.getBuffer();
|
|
18
|
-
expect(buffer).toHaveLength(1);
|
|
19
|
-
expect(buffer[0].level).toBe(structured_logger_1.LogLevel.DEBUG);
|
|
20
|
-
expect(buffer[0].message).toBe('debug message');
|
|
21
|
-
});
|
|
22
|
-
it('should log info messages', () => {
|
|
23
|
-
testLogger.info('info message');
|
|
24
|
-
const buffer = testLogger.getBuffer();
|
|
25
|
-
expect(buffer).toHaveLength(1);
|
|
26
|
-
expect(buffer[0].level).toBe(structured_logger_1.LogLevel.INFO);
|
|
27
|
-
});
|
|
28
|
-
it('should log warn messages', () => {
|
|
29
|
-
testLogger.warn('warn message');
|
|
30
|
-
const buffer = testLogger.getBuffer();
|
|
31
|
-
expect(buffer).toHaveLength(1);
|
|
32
|
-
expect(buffer[0].level).toBe(structured_logger_1.LogLevel.WARN);
|
|
33
|
-
});
|
|
34
|
-
it('should log error messages', () => {
|
|
35
|
-
testLogger.error('error message');
|
|
36
|
-
const buffer = testLogger.getBuffer();
|
|
37
|
-
expect(buffer).toHaveLength(1);
|
|
38
|
-
expect(buffer[0].level).toBe(structured_logger_1.LogLevel.ERROR);
|
|
39
|
-
});
|
|
40
|
-
it('should log fatal messages', () => {
|
|
41
|
-
testLogger.fatal('fatal message');
|
|
42
|
-
const buffer = testLogger.getBuffer();
|
|
43
|
-
expect(buffer).toHaveLength(1);
|
|
44
|
-
expect(buffer[0].level).toBe(structured_logger_1.LogLevel.FATAL);
|
|
45
|
-
});
|
|
46
|
-
it('should filter messages below configured level', () => {
|
|
47
|
-
const filteredLogger = new structured_logger_1.StructuredLogger({ level: structured_logger_1.LogLevel.ERROR });
|
|
48
|
-
filteredLogger.debug('debug message');
|
|
49
|
-
filteredLogger.info('info message');
|
|
50
|
-
filteredLogger.warn('warn message');
|
|
51
|
-
filteredLogger.error('error message');
|
|
52
|
-
const buffer = filteredLogger.getBuffer();
|
|
53
|
-
expect(buffer).toHaveLength(1);
|
|
54
|
-
expect(buffer[0].level).toBe(structured_logger_1.LogLevel.ERROR);
|
|
55
|
-
});
|
|
56
|
-
});
|
|
57
|
-
describe('context', () => {
|
|
58
|
-
it('should include context in log entry', () => {
|
|
59
|
-
testLogger.info('message with context', { key: 'value', number: 42 });
|
|
60
|
-
const buffer = testLogger.getBuffer();
|
|
61
|
-
expect(buffer[0].context).toEqual({ key: 'value', number: 42 });
|
|
62
|
-
});
|
|
63
|
-
it('should include operation in log entry', () => {
|
|
64
|
-
testLogger.startOperation('test-operation');
|
|
65
|
-
testLogger.info('inside operation');
|
|
66
|
-
const buffer = testLogger.getBuffer();
|
|
67
|
-
expect(buffer[1].operation).toBe('test-operation');
|
|
68
|
-
});
|
|
69
|
-
});
|
|
70
|
-
describe('startOperation/endOperation', () => {
|
|
71
|
-
it('should track operation stack', () => {
|
|
72
|
-
testLogger.startOperation('op1');
|
|
73
|
-
testLogger.startOperation('op2');
|
|
74
|
-
testLogger.endOperation('op2', 100);
|
|
75
|
-
testLogger.endOperation('op1', 200);
|
|
76
|
-
const buffer = testLogger.getBuffer();
|
|
77
|
-
expect(buffer).toHaveLength(4);
|
|
78
|
-
});
|
|
79
|
-
});
|
|
80
|
-
describe('getErrorCount', () => {
|
|
81
|
-
it('should count error and fatal messages', () => {
|
|
82
|
-
testLogger.error('error 1');
|
|
83
|
-
testLogger.error('error 2');
|
|
84
|
-
testLogger.fatal('fatal');
|
|
85
|
-
testLogger.info('info');
|
|
86
|
-
expect(testLogger.getErrorCount()).toBe(3);
|
|
87
|
-
});
|
|
88
|
-
});
|
|
89
|
-
describe('getWarningCount', () => {
|
|
90
|
-
it('should count warn messages', () => {
|
|
91
|
-
testLogger.warn('warn 1');
|
|
92
|
-
testLogger.warn('warn 2');
|
|
93
|
-
testLogger.error('error');
|
|
94
|
-
expect(testLogger.getWarningCount()).toBe(2);
|
|
95
|
-
});
|
|
96
|
-
});
|
|
97
|
-
});
|
|
98
|
-
describe('OperationTimer', () => {
|
|
99
|
-
it('should measure operation duration', async () => {
|
|
100
|
-
const timer = new timing_1.OperationTimer();
|
|
101
|
-
timer.start('test-operation');
|
|
102
|
-
await new Promise(resolve => setTimeout(resolve, 50));
|
|
103
|
-
const duration = timer.end();
|
|
104
|
-
expect(duration).toBeGreaterThanOrEqual(50);
|
|
105
|
-
expect(duration).toBeLessThan(200);
|
|
106
|
-
});
|
|
107
|
-
it('should get current duration without ending', () => {
|
|
108
|
-
const timer = new timing_1.OperationTimer();
|
|
109
|
-
timer.start('test-operation');
|
|
110
|
-
const currentDuration = timer.getDuration();
|
|
111
|
-
expect(currentDuration).toBeGreaterThanOrEqual(0);
|
|
112
|
-
timer.end();
|
|
113
|
-
});
|
|
114
|
-
});
|
|
115
|
-
describe('measureTime', () => {
|
|
116
|
-
it('should measure async operation duration', async () => {
|
|
117
|
-
const operation = async () => {
|
|
118
|
-
await new Promise(resolve => setTimeout(resolve, 30));
|
|
119
|
-
return 'result';
|
|
120
|
-
};
|
|
121
|
-
const { result, duration } = await (0, timing_1.measureTime)(operation, 'async-op');
|
|
122
|
-
expect(result).toBe('result');
|
|
123
|
-
expect(duration).toBeGreaterThanOrEqual(30);
|
|
124
|
-
});
|
|
125
|
-
it('should throw error if operation fails', async () => {
|
|
126
|
-
const failingOperation = async () => {
|
|
127
|
-
await new Promise(resolve => setTimeout(resolve, 10));
|
|
128
|
-
throw new Error('operation failed');
|
|
129
|
-
};
|
|
130
|
-
await expect((0, timing_1.measureTime)(failingOperation, 'failing-op')).rejects.toThrow('operation failed');
|
|
131
|
-
});
|
|
132
|
-
});
|
|
133
|
-
describe('measureTimeSync', () => {
|
|
134
|
-
it('should measure sync operation duration', () => {
|
|
135
|
-
const operation = () => {
|
|
136
|
-
return 'result';
|
|
137
|
-
};
|
|
138
|
-
const { result, duration } = (0, timing_1.measureTimeSync)(operation, 'sync-op');
|
|
139
|
-
expect(result).toBe('result');
|
|
140
|
-
expect(duration).toBeGreaterThanOrEqual(0);
|
|
141
|
-
});
|
|
142
|
-
});
|
|
143
|
-
describe('ErrorReporter', () => {
|
|
144
|
-
let reporter;
|
|
145
|
-
beforeEach(() => {
|
|
146
|
-
reporter = new error_reporter_1.ErrorReporter();
|
|
147
|
-
});
|
|
148
|
-
describe('report', () => {
|
|
149
|
-
it('should create error report for Error object', () => {
|
|
150
|
-
const error = new Error('test error');
|
|
151
|
-
const report = reporter.report(error, { operation: 'test-op' });
|
|
152
|
-
expect(report.id).toBeDefined();
|
|
153
|
-
expect(report.error.name).toBe('Error');
|
|
154
|
-
expect(report.error.message).toBe('test error');
|
|
155
|
-
expect(report.operation).toBe('test-op');
|
|
156
|
-
expect(report.context).toEqual({ operation: 'test-op' });
|
|
157
|
-
});
|
|
158
|
-
it('should create error report with any error object', () => {
|
|
159
|
-
const error = new Error('custom error message');
|
|
160
|
-
const report = reporter.report(error, { operation: 'test' });
|
|
161
|
-
expect(report.id).toBeDefined();
|
|
162
|
-
expect(report.error.message).toBe('custom error message');
|
|
163
|
-
});
|
|
164
|
-
it('should include duration if operation was started', () => {
|
|
165
|
-
reporter.startOperation('timed-op');
|
|
166
|
-
const error = new Error('test');
|
|
167
|
-
const report = reporter.report(error);
|
|
168
|
-
expect(report.durationMs).toBeDefined();
|
|
169
|
-
expect(report.durationMs).toBeGreaterThanOrEqual(0);
|
|
170
|
-
});
|
|
171
|
-
});
|
|
172
|
-
describe('getReports', () => {
|
|
173
|
-
it('should return all reports', () => {
|
|
174
|
-
reporter.report(new Error('error 1'));
|
|
175
|
-
reporter.report(new Error('error 2'));
|
|
176
|
-
const reports = reporter.getReports();
|
|
177
|
-
expect(reports).toHaveLength(2);
|
|
178
|
-
});
|
|
179
|
-
it('should return copy of reports array', () => {
|
|
180
|
-
reporter.report(new Error('error'));
|
|
181
|
-
const reports = reporter.getReports();
|
|
182
|
-
reports.push({});
|
|
183
|
-
expect(reporter.getReports()).toHaveLength(1);
|
|
184
|
-
});
|
|
185
|
-
});
|
|
186
|
-
describe('getLastReport', () => {
|
|
187
|
-
it('should return last report', () => {
|
|
188
|
-
reporter.report(new Error('first'));
|
|
189
|
-
reporter.report(new Error('second'));
|
|
190
|
-
const last = reporter.getLastReport();
|
|
191
|
-
expect(last?.error.message).toBe('second');
|
|
192
|
-
});
|
|
193
|
-
it('should return undefined if no reports', () => {
|
|
194
|
-
const last = reporter.getLastReport();
|
|
195
|
-
expect(last).toBeUndefined();
|
|
196
|
-
});
|
|
197
|
-
});
|
|
198
|
-
describe('clearReports', () => {
|
|
199
|
-
it('should clear all reports', () => {
|
|
200
|
-
reporter.report(new Error('error'));
|
|
201
|
-
reporter.clearReports();
|
|
202
|
-
expect(reporter.getReports()).toHaveLength(0);
|
|
203
|
-
});
|
|
204
|
-
});
|
|
205
|
-
describe('suggestions', () => {
|
|
206
|
-
it('should provide suggestion based on error message patterns', () => {
|
|
207
|
-
const error = new Error('npm not found in PATH');
|
|
208
|
-
const report = reporter.report(error);
|
|
209
|
-
expect(report.suggestion).toBeDefined();
|
|
210
|
-
expect(typeof report.suggestion).toBe('string');
|
|
211
|
-
});
|
|
212
|
-
it('should provide suggestion for ENOENT errors', () => {
|
|
213
|
-
const error = new Error('ENOENT: file not found');
|
|
214
|
-
const report = reporter.report(error);
|
|
215
|
-
expect(report.suggestion).toContain('not found');
|
|
216
|
-
});
|
|
217
|
-
it('should provide suggestion for EACCES errors', () => {
|
|
218
|
-
const error = new Error('EACCES: permission denied');
|
|
219
|
-
const report = reporter.report(error);
|
|
220
|
-
expect(report.suggestion).toContain('Permission');
|
|
221
|
-
});
|
|
222
|
-
});
|
|
223
|
-
});
|
|
224
|
-
//# sourceMappingURL=observability.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"observability.test.js","sourceRoot":"","sources":["../../../src/core/observability/observability.test.ts"],"names":[],"mappings":";;AAAA,2DAAmF;AACnF,qCAAwE;AACxE,qDAA+D;AAE/D,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IAChC,IAAI,UAA4B,CAAC;IAEjC,UAAU,CAAC,GAAG,EAAE;QACd,UAAU,GAAG,IAAI,oCAAgB,CAAC,EAAE,KAAK,EAAE,4BAAQ,CAAC,KAAK,EAAE,CAAC,CAAC;IAC/D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACb,UAAU,CAAC,WAAW,EAAE,CAAC;IAC3B,CAAC,CAAC,CAAC;IAEH,QAAQ,CAAC,YAAY,EAAE,GAAG,EAAE;QAC1B,EAAE,CAAC,2BAA2B,EAAE,GAAG,EAAE;YACnC,UAAU,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;YAClC,MAAM,MAAM,GAAG,UAAU,CAAC,SAAS,EAAE,CAAC;YACtC,MAAM,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;YAC/B,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,4BAAQ,CAAC,KAAK,CAAC,CAAC;YAC7C,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAClD,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,0BAA0B,EAAE,GAAG,EAAE;YAClC,UAAU,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;YAChC,MAAM,MAAM,GAAG,UAAU,CAAC,SAAS,EAAE,CAAC;YACtC,MAAM,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;YAC/B,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,C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,QAAQ,CAAC,CAAC;QAClD,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,6CAA6C,EAAE,GAAG,EAAE;YACrD,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;YAClD,MAAM,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAEtC,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;QACnD,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,6CAA6C,EAAE,GAAG,EAAE;YACrD,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;YACrD,MAAM,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAEtC,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;QACpD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"structured-logger.js","sourceRoot":"","sources":["../../../src/core/observability/structured-logger.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAMX;AAND,WAAY,QAAQ;IAClB,yCAAS,CAAA;IACT,uCAAQ,CAAA;IACR,uCAAQ,CAAA;IACR,yCAAS,CAAA;IACT,yCAAS,CAAA;AACX,CAAC,EANW,QAAQ,wBAAR,QAAQ,QAMnB;AA6BD,MAAM,aAAa,GAAiB;IAClC,KAAK,EAAE,QAAQ,CAAC,IAAI;IACpB,YAAY,EAAE,IAAI;IAClB,eAAe,EAAE,IAAI;IACrB,aAAa,EAAE,IAAI;IACnB,MAAM,EAAE,SAAS;CAClB,CAAC;AAEF,MAAa,gBAAgB;IAK3B,YAAY,SAAgC,EAAE;QAHtC,WAAM,GAAe,EAAE,CAAC;QACxB,mBAAc,GAAa,EAAE,CAAC;QAGpC,IAAI,C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