@lssm/bundle.contractspec-workspace 0.0.0-canary-20251217083314 → 1.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/rolldown_runtime.js +1 -22
- package/dist/adapters/ai.js +1 -82
- package/dist/adapters/factory.js +1 -36
- package/dist/adapters/fs.js +1 -118
- package/dist/adapters/git.js +1 -54
- package/dist/adapters/index.js +1 -7
- package/dist/adapters/logger.js +1 -80
- package/dist/adapters/watcher.js +1 -69
- package/dist/adapters/workspace.js +2 -190
- package/dist/ai/agents/claude-code-agent.js +9 -146
- package/dist/ai/agents/cursor-agent.js +17 -286
- package/dist/ai/agents/index.js +1 -5
- package/dist/ai/agents/openai-codex-agent.js +8 -140
- package/dist/ai/agents/orchestrator.js +1 -142
- package/dist/ai/agents/simple-agent.js +4 -80
- package/dist/ai/client.js +1 -162
- package/dist/ai/index.js +1 -27
- package/dist/ai/prompts/code-generation.js +13 -55
- package/dist/ai/prompts/index.js +1 -12
- package/dist/ai/prompts/spec-creation.js +20 -61
- package/dist/ai/providers.js +1 -40
- package/dist/formatters/index.js +1 -18
- package/dist/formatters/json.js +1 -71
- package/dist/formatters/sarif.js +1 -163
- package/dist/formatters/text.js +2 -208
- package/dist/index.js +1 -81
- package/dist/node_modules/@ai-sdk/anthropic/dist/index.js +1 -0
- package/dist/node_modules/@ai-sdk/openai/dist/index.js +11 -0
- package/dist/node_modules/@ai-sdk/provider/dist/index.js +3 -0
- package/dist/node_modules/@ai-sdk/provider-utils/dist/index.js +5 -0
- package/dist/node_modules/chalk/source/index.js +2 -0
- package/dist/node_modules/chalk/source/utilities.js +4 -0
- package/dist/node_modules/chalk/source/vendor/ansi-styles/index.js +1 -0
- package/dist/node_modules/chalk/source/vendor/supports-color/browser.js +1 -0
- package/dist/node_modules/cli-cursor/index.js +1 -0
- package/dist/node_modules/cli-spinners/index.js +1 -0
- package/dist/node_modules/cli-spinners/spinners.js +1 -0
- package/dist/node_modules/eventsource-parser/dist/index.js +5 -0
- package/dist/node_modules/eventsource-parser/dist/stream.js +1 -0
- package/dist/node_modules/get-east-asian-width/index.js +1 -0
- package/dist/node_modules/get-east-asian-width/lookup.js +1 -0
- package/dist/node_modules/is-interactive/index.js +1 -0
- package/dist/node_modules/is-unicode-supported/index.js +1 -0
- package/dist/node_modules/log-symbols/browser-symbols.js +1 -0
- package/dist/node_modules/mimic-function/index.js +1 -0
- package/dist/node_modules/onetime/index.js +1 -0
- package/dist/node_modules/ora/index.js +6 -0
- package/dist/node_modules/restore-cursor/index.js +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/index.js +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/signals.js +1 -0
- package/dist/node_modules/stdin-discarder/index.js +1 -0
- package/dist/node_modules/string-width/index.js +1 -0
- package/dist/node_modules/strip-ansi/index.js +1 -0
- package/dist/node_modules/strip-ansi/node_modules/ansi-regex/index.js +1 -0
- package/dist/services/agent-guide/adapters/claude-code.js +3 -144
- package/dist/services/agent-guide/adapters/cursor-cli.js +3 -135
- package/dist/services/agent-guide/adapters/generic-mcp.js +3 -159
- package/dist/services/agent-guide/adapters/index.js +1 -30
- package/dist/services/agent-guide/agent-guide-service.js +1 -148
- package/dist/services/agent-guide/index.js +1 -5
- package/dist/services/build.js +1 -140
- package/dist/services/ci-check/ci-check-service.js +1 -393
- package/dist/services/ci-check/index.js +1 -2
- package/dist/services/ci-check/types.js +1 -28
- package/dist/services/clean.js +1 -71
- package/dist/services/config.js +1 -76
- package/dist/services/deps.js +1 -62
- package/dist/services/diff.js +1 -33
- package/dist/services/doctor/checks/ai.js +2 -118
- package/dist/services/doctor/checks/cli.js +1 -146
- package/dist/services/doctor/checks/config.js +1 -170
- package/dist/services/doctor/checks/deps.js +1 -180
- package/dist/services/doctor/checks/index.js +1 -6
- package/dist/services/doctor/checks/mcp.js +1 -144
- package/dist/services/doctor/checks/workspace.js +1 -243
- package/dist/services/doctor/doctor-service.js +2 -115
- package/dist/services/doctor/index.js +1 -2
- package/dist/services/doctor/types.js +1 -26
- package/dist/services/implementation/discovery.js +2 -143
- package/dist/services/implementation/index.js +1 -2
- package/dist/services/implementation/resolver.js +1 -223
- package/dist/services/index.js +1 -53
- package/dist/services/integrity-diagram.js +6 -274
- package/dist/services/integrity.js +1 -272
- package/dist/services/list.js +1 -35
- package/dist/services/openapi/export-service.js +2 -51
- package/dist/services/openapi/import-service.js +1 -75
- package/dist/services/openapi/index.js +1 -4
- package/dist/services/openapi/sync-service.js +1 -121
- package/dist/services/openapi/validate-service.js +1 -130
- package/dist/services/regenerator.js +1 -23
- package/dist/services/registry.js +1 -73
- package/dist/services/setup/config-generators.js +26 -113
- package/dist/services/setup/file-merger.js +2 -60
- package/dist/services/setup/index.js +1 -4
- package/dist/services/setup/setup-service.js +1 -95
- package/dist/services/setup/targets/agents-md.js +1 -46
- package/dist/services/setup/targets/cli-config.js +1 -59
- package/dist/services/setup/targets/cursor-rules.js +1 -47
- package/dist/services/setup/targets/mcp-claude.js +1 -59
- package/dist/services/setup/targets/mcp-cursor.js +1 -58
- package/dist/services/setup/targets/vscode-settings.js +1 -62
- package/dist/services/setup/types.js +1 -26
- package/dist/services/sync.js +1 -62
- package/dist/services/test.js +1 -30
- package/dist/services/validate-implementation.js +1 -69
- package/dist/services/validate.js +1 -47
- package/dist/services/verification-cache/adapters/filesystem.js +1 -121
- package/dist/services/verification-cache/adapters/in-memory.js +1 -45
- package/dist/services/verification-cache/adapters/index.js +1 -3
- package/dist/services/verification-cache/adapters/workspace-state.js +1 -90
- package/dist/services/verification-cache/cache-service.js +1 -255
- package/dist/services/verification-cache/index.js +1 -6
- package/dist/services/verification-cache/types.js +1 -15
- package/dist/services/verify/ai-verifier.js +9 -336
- package/dist/services/verify/behavior-verifier.js +1 -185
- package/dist/services/verify/index.js +1 -4
- package/dist/services/verify/structure-verifier.js +2 -195
- package/dist/services/verify/verify-service.js +3 -203
- package/dist/services/watch.js +1 -31
- package/dist/services/workspace-info.js +2 -102
- package/dist/templates/app-config.template.js +28 -101
- package/dist/templates/data-view.template.js +27 -42
- package/dist/templates/event.template.js +14 -29
- package/dist/templates/experiment.template.js +51 -77
- package/dist/templates/handler.template.js +17 -53
- package/dist/templates/index.js +1 -36
- package/dist/templates/integration.template.js +50 -134
- package/dist/templates/knowledge.template.js +21 -62
- package/dist/templates/migration.template.js +26 -50
- package/dist/templates/operation.template.js +28 -44
- package/dist/templates/presentation.template.js +20 -46
- package/dist/templates/telemetry.template.js +53 -74
- package/dist/templates/workflow-runner.template.js +6 -12
- package/dist/templates/workflow.template.js +24 -51
- package/package.json +10 -16
- package/dist/adapters/ai.d.ts +0 -11
- package/dist/adapters/factory.d.ts +0 -28
- package/dist/adapters/fs.d.ts +0 -10
- package/dist/adapters/git.d.ts +0 -10
- package/dist/adapters/logger.d.ts +0 -17
- package/dist/adapters/watcher.d.ts +0 -10
- package/dist/adapters/workspace.d.ts +0 -93
- package/dist/ai/agents/claude-code-agent.d.ts +0 -21
- package/dist/ai/agents/cursor-agent.d.ts +0 -67
- package/dist/ai/agents/openai-codex-agent.d.ts +0 -21
- package/dist/ai/agents/orchestrator.d.ts +0 -49
- package/dist/ai/agents/simple-agent.d.ts +0 -16
- package/dist/ai/agents/types.d.ts +0 -35
- package/dist/ai/client.d.ts +0 -82
- package/dist/ai/index.d.ts +0 -16
- package/dist/ai/prompts/code-generation.d.ts +0 -25
- package/dist/ai/prompts/index.d.ts +0 -9
- package/dist/ai/prompts/spec-creation.d.ts +0 -28
- package/dist/ai/providers.d.ts +0 -28
- package/dist/formatters/index.d.ts +0 -10
- package/dist/formatters/json.d.ts +0 -88
- package/dist/formatters/sarif.d.ts +0 -100
- package/dist/formatters/text.d.ts +0 -34
- package/dist/index.d.ts +0 -66
- package/dist/libs/ai-providers/dist/factory.js +0 -154
- package/dist/libs/ai-providers/dist/index.js +0 -4
- package/dist/libs/ai-providers/dist/legacy.js +0 -72
- package/dist/libs/ai-providers/dist/models.js +0 -287
- package/dist/libs/ai-providers/dist/validation.js +0 -1
- package/dist/libs/contracts/dist/capabilities/openbanking.js +0 -88
- package/dist/libs/contracts/dist/client/index.js +0 -5
- package/dist/libs/contracts/dist/client/react/feature-render.js +0 -2
- package/dist/libs/contracts/dist/client/react/form-render.js +0 -4
- package/dist/libs/contracts/dist/client/react/index.js +0 -4
- package/dist/libs/contracts/dist/contract-registry/index.js +0 -1
- package/dist/libs/contracts/dist/contract-registry/schemas.js +0 -60
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/index.js +0 -29
- package/dist/libs/contracts/dist/docs/presentations.js +0 -71
- package/dist/libs/contracts/dist/docs/registry.js +0 -44
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -80
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -57
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -357
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -37
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -20
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -48
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -79
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -84
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -45
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -67
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -40
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -69
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -47
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -62
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -155
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -20
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -101
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -20
- package/dist/libs/contracts/dist/events.js +0 -8
- package/dist/libs/contracts/dist/experiments/evaluator.js +0 -1
- package/dist/libs/contracts/dist/index.js +0 -72
- package/dist/libs/contracts/dist/install.js +0 -2
- package/dist/libs/contracts/dist/integrations/contracts.js +0 -377
- package/dist/libs/contracts/dist/integrations/index.js +0 -18
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -228
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +0 -159
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +0 -3
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -210
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +0 -242
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +0 -13
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +0 -52
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +0 -75
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +0 -87
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +0 -66
- package/dist/libs/contracts/dist/integrations/providers/index.js +0 -11
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +0 -68
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +0 -68
- package/dist/libs/contracts/dist/integrations/providers/powens.js +0 -116
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +0 -73
- package/dist/libs/contracts/dist/integrations/providers/registry.js +0 -10
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +0 -83
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +0 -61
- package/dist/libs/contracts/dist/jsonschema.js +0 -24
- package/dist/libs/contracts/dist/knowledge/contracts.js +0 -306
- package/dist/libs/contracts/dist/knowledge/index.js +0 -7
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +0 -34
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +0 -34
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +0 -38
- package/dist/libs/contracts/dist/knowledge/spaces/index.js +0 -6
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +0 -34
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +0 -37
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +0 -34
- package/dist/libs/contracts/dist/llm/exporters.js +0 -352
- package/dist/libs/contracts/dist/llm/index.js +0 -2
- package/dist/libs/contracts/dist/llm/prompts.js +0 -211
- package/dist/libs/contracts/dist/onboarding-base.js +0 -196
- package/dist/libs/contracts/dist/openapi.js +0 -75
- package/dist/libs/contracts/dist/ownership.js +0 -21
- package/dist/libs/contracts/dist/presentations.js +0 -1
- package/dist/libs/contracts/dist/presentations.v2.js +0 -11
- package/dist/libs/contracts/dist/prompt.js +0 -1
- package/dist/libs/contracts/dist/promptRegistry.js +0 -1
- package/dist/libs/contracts/dist/regenerator/index.js +0 -2
- package/dist/libs/contracts/dist/regenerator/service.js +0 -92
- package/dist/libs/contracts/dist/regenerator/utils.js +0 -51
- package/dist/libs/contracts/dist/registry.js +0 -208
- package/dist/libs/contracts/dist/resources.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -2
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -49
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -34
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -2
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/index.js +0 -6
- package/dist/libs/contracts/dist/server/graphql-pothos.js +0 -6
- package/dist/libs/contracts/dist/server/index.js +0 -8
- package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +0 -4
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +0 -2
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/registerResources.js +0 -2
- package/dist/libs/contracts/dist/server/mcp/registerTools.js +0 -1
- package/dist/libs/contracts/dist/server/provider-mcp.js +0 -1
- package/dist/libs/contracts/dist/server/rest-elysia.js +0 -1
- package/dist/libs/contracts/dist/server/rest-express.js +0 -1
- package/dist/libs/contracts/dist/server/rest-generic.js +0 -1
- package/dist/libs/contracts/dist/server/rest-next-app.js +0 -1
- package/dist/libs/contracts/dist/server/rest-next-pages.js +0 -1
- package/dist/libs/contracts/dist/spec.js +0 -35
- package/dist/libs/contracts/dist/telemetry/index.js +0 -1
- package/dist/libs/contracts/dist/telemetry/tracker.js +0 -1
- package/dist/libs/contracts/dist/tests/index.js +0 -1
- package/dist/libs/contracts/dist/tests/runner.js +0 -150
- package/dist/libs/contracts/dist/workflow/index.js +0 -1
- package/dist/libs/contracts/dist/workflow/runner.js +0 -1
- package/dist/libs/contracts-transformers/dist/common/utils.js +0 -47
- package/dist/libs/contracts-transformers/dist/openapi/exporter.js +0 -1
- package/dist/libs/contracts-transformers/dist/openapi/importer.js +0 -255
- package/dist/libs/contracts-transformers/dist/openapi/index.js +0 -4
- package/dist/libs/contracts-transformers/dist/openapi/parser.js +0 -231
- package/dist/libs/contracts-transformers/dist/openapi/schema-converter.js +0 -201
- package/dist/modules/contractspec-workspace/dist/ai/code-generation.js +0 -137
- package/dist/modules/contractspec-workspace/dist/ai/spec-creation.js +0 -101
- package/dist/modules/contractspec-workspace/dist/analysis/deps/graph.js +0 -84
- package/dist/modules/contractspec-workspace/dist/analysis/deps/parse-imports.js +0 -30
- package/dist/modules/contractspec-workspace/dist/analysis/diff/semantic.js +0 -96
- package/dist/modules/contractspec-workspace/dist/analysis/feature-scan.js +0 -151
- package/dist/modules/contractspec-workspace/dist/analysis/spec-scan.js +0 -344
- package/dist/modules/contractspec-workspace/dist/analysis/validate/spec-structure.js +0 -122
- package/dist/modules/contractspec-workspace/dist/templates/app-config.js +0 -105
- package/dist/modules/contractspec-workspace/dist/templates/data-view.js +0 -68
- package/dist/modules/contractspec-workspace/dist/templates/event.js +0 -38
- package/dist/modules/contractspec-workspace/dist/templates/experiment.js +0 -87
- package/dist/modules/contractspec-workspace/dist/templates/handler.js +0 -95
- package/dist/modules/contractspec-workspace/dist/templates/integration-utils.js +0 -104
- package/dist/modules/contractspec-workspace/dist/templates/integration.js +0 -62
- package/dist/modules/contractspec-workspace/dist/templates/knowledge.js +0 -68
- package/dist/modules/contractspec-workspace/dist/templates/migration.js +0 -60
- package/dist/modules/contractspec-workspace/dist/templates/operation.js +0 -100
- package/dist/modules/contractspec-workspace/dist/templates/presentation.js +0 -78
- package/dist/modules/contractspec-workspace/dist/templates/telemetry.js +0 -89
- package/dist/modules/contractspec-workspace/dist/templates/utils.js +0 -38
- package/dist/modules/contractspec-workspace/dist/templates/workflow-runner.js +0 -48
- package/dist/modules/contractspec-workspace/dist/templates/workflow.js +0 -67
- package/dist/modules/contractspec-workspace/dist/types/generation-types.js +0 -20
- package/dist/ports/ai.d.ts +0 -58
- package/dist/ports/fs.d.ts +0 -80
- package/dist/ports/git.d.ts +0 -32
- package/dist/ports/logger.d.ts +0 -87
- package/dist/ports/watcher.d.ts +0 -51
- package/dist/services/agent-guide/adapters/claude-code.d.ts +0 -34
- package/dist/services/agent-guide/adapters/cursor-cli.d.ts +0 -38
- package/dist/services/agent-guide/adapters/generic-mcp.d.ts +0 -52
- package/dist/services/agent-guide/adapters/index.d.ts +0 -22
- package/dist/services/agent-guide/agent-guide-service.d.ts +0 -55
- package/dist/services/agent-guide/types.d.ts +0 -57
- package/dist/services/build.d.ts +0 -58
- package/dist/services/ci-check/ci-check-service.d.ts +0 -15
- package/dist/services/ci-check/types.d.ts +0 -142
- package/dist/services/clean.d.ts +0 -40
- package/dist/services/config.d.ts +0 -25
- package/dist/services/deps.d.ts +0 -52
- package/dist/services/diff.d.ts +0 -33
- package/dist/services/doctor/doctor-service.d.ts +0 -23
- package/dist/services/doctor/types.d.ts +0 -117
- package/dist/services/implementation/discovery.d.ts +0 -29
- package/dist/services/implementation/resolver.d.ts +0 -43
- package/dist/services/implementation/types.d.ts +0 -78
- package/dist/services/integrity-diagram.d.ts +0 -35
- package/dist/services/integrity.d.ts +0 -133
- package/dist/services/list.d.ts +0 -30
- package/dist/services/openapi/export-service.d.ts +0 -52
- package/dist/services/openapi/import-service.d.ts +0 -15
- package/dist/services/openapi/sync-service.d.ts +0 -18
- package/dist/services/openapi/types.d.ts +0 -184
- package/dist/services/openapi/validate-service.d.ts +0 -15
- package/dist/services/regenerator.d.ts +0 -17
- package/dist/services/registry.d.ts +0 -52
- package/dist/services/setup/config-generators.d.ts +0 -41
- package/dist/services/setup/file-merger.d.ts +0 -26
- package/dist/services/setup/setup-service.d.ts +0 -11
- package/dist/services/setup/types.d.ts +0 -84
- package/dist/services/sync.d.ts +0 -40
- package/dist/services/test.d.ts +0 -14
- package/dist/services/validate-implementation.d.ts +0 -31
- package/dist/services/validate.d.ts +0 -40
- package/dist/services/verification-cache/adapters/filesystem.d.ts +0 -45
- package/dist/services/verification-cache/adapters/in-memory.d.ts +0 -26
- package/dist/services/verification-cache/adapters/workspace-state.d.ts +0 -48
- package/dist/services/verification-cache/cache-service.d.ts +0 -69
- package/dist/services/verification-cache/types.d.ts +0 -123
- package/dist/services/verify/ai-verifier.d.ts +0 -24
- package/dist/services/verify/behavior-verifier.d.ts +0 -11
- package/dist/services/verify/structure-verifier.d.ts +0 -11
- package/dist/services/verify/types.d.ts +0 -136
- package/dist/services/verify/verify-service.d.ts +0 -59
- package/dist/services/watch.d.ts +0 -24
- package/dist/services/workspace-info.d.ts +0 -61
- package/dist/templates/app-config.template.d.ts +0 -6
- package/dist/templates/data-view.template.d.ts +0 -6
- package/dist/templates/event.template.d.ts +0 -10
- package/dist/templates/experiment.template.d.ts +0 -6
- package/dist/templates/handler.template.d.ts +0 -15
- package/dist/templates/index.d.ts +0 -20
- package/dist/templates/integration.template.d.ts +0 -6
- package/dist/templates/knowledge.template.d.ts +0 -6
- package/dist/templates/migration.template.d.ts +0 -6
- package/dist/templates/operation.template.d.ts +0 -10
- package/dist/templates/presentation.template.d.ts +0 -10
- package/dist/templates/telemetry.template.d.ts +0 -6
- package/dist/templates/workflow-runner.template.d.ts +0 -15
- package/dist/templates/workflow.template.d.ts +0 -6
- package/dist/types/config.d.ts +0 -33
- package/dist/types.d.ts +0 -323
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { Config } from "../../types/config.js";
|
|
2
|
-
import { AgentMode, AgentResult, AgentTask } from "./types.js";
|
|
3
|
-
|
|
4
|
-
//#region src/ai/agents/orchestrator.d.ts
|
|
5
|
-
|
|
6
|
-
declare class AgentOrchestrator {
|
|
7
|
-
private config;
|
|
8
|
-
private agents;
|
|
9
|
-
private defaultAgent;
|
|
10
|
-
constructor(config: Config);
|
|
11
|
-
/**
|
|
12
|
-
* Execute a task using the configured agent with fallback support
|
|
13
|
-
*/
|
|
14
|
-
executeTask(task: AgentTask): Promise<AgentResult>;
|
|
15
|
-
/**
|
|
16
|
-
* Generate code from specification
|
|
17
|
-
*/
|
|
18
|
-
generate(specCode: string, targetPath?: string): Promise<AgentResult>;
|
|
19
|
-
/**
|
|
20
|
-
* Generate tests for implementation
|
|
21
|
-
*/
|
|
22
|
-
generateTests(specCode: string, implementationCode: string): Promise<AgentResult>;
|
|
23
|
-
/**
|
|
24
|
-
* Validate implementation against specification
|
|
25
|
-
*/
|
|
26
|
-
validate(specCode: string, implementationCode: string): Promise<AgentResult>;
|
|
27
|
-
/**
|
|
28
|
-
* Refactor existing code
|
|
29
|
-
*/
|
|
30
|
-
refactor(specCode: string, existingCode: string): Promise<AgentResult>;
|
|
31
|
-
/**
|
|
32
|
-
* List available agents and their status
|
|
33
|
-
*/
|
|
34
|
-
getAvailableAgents(): Promise<{
|
|
35
|
-
mode: AgentMode;
|
|
36
|
-
available: boolean;
|
|
37
|
-
reason?: string;
|
|
38
|
-
}[]>;
|
|
39
|
-
/**
|
|
40
|
-
* Get the configured agent mode
|
|
41
|
-
*/
|
|
42
|
-
private getAgentMode;
|
|
43
|
-
/**
|
|
44
|
-
* Get fallback mode for an agent
|
|
45
|
-
*/
|
|
46
|
-
private getFallbackMode;
|
|
47
|
-
}
|
|
48
|
-
//#endregion
|
|
49
|
-
export { AgentOrchestrator };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Config } from "../../types/config.js";
|
|
2
|
-
import { AgentProvider, AgentResult, AgentTask } from "./types.js";
|
|
3
|
-
|
|
4
|
-
//#region src/ai/agents/simple-agent.d.ts
|
|
5
|
-
|
|
6
|
-
declare class SimpleAgent implements AgentProvider {
|
|
7
|
-
private config;
|
|
8
|
-
name: "simple";
|
|
9
|
-
constructor(config: Config);
|
|
10
|
-
canHandle(task: AgentTask): boolean;
|
|
11
|
-
generate(task: AgentTask): Promise<AgentResult>;
|
|
12
|
-
validate(task: AgentTask): Promise<AgentResult>;
|
|
13
|
-
private buildPrompt;
|
|
14
|
-
}
|
|
15
|
-
//#endregion
|
|
16
|
-
export { SimpleAgent };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
//#region src/ai/agents/types.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Agent types and interfaces for code generation and validation
|
|
4
|
-
*/
|
|
5
|
-
type AgentMode = 'simple' | 'cursor' | 'claude-code' | 'openai-codex';
|
|
6
|
-
interface AgentTask {
|
|
7
|
-
type: 'generate' | 'validate' | 'refactor' | 'test';
|
|
8
|
-
specCode: string;
|
|
9
|
-
existingCode?: string;
|
|
10
|
-
targetPath?: string;
|
|
11
|
-
options?: Record<string, unknown>;
|
|
12
|
-
}
|
|
13
|
-
interface AgentResult {
|
|
14
|
-
success: boolean;
|
|
15
|
-
code?: string;
|
|
16
|
-
errors?: string[];
|
|
17
|
-
warnings?: string[];
|
|
18
|
-
suggestions?: string[];
|
|
19
|
-
metadata?: Record<string, unknown>;
|
|
20
|
-
}
|
|
21
|
-
interface AgentProvider {
|
|
22
|
-
name: AgentMode;
|
|
23
|
-
generate(task: AgentTask): Promise<AgentResult>;
|
|
24
|
-
validate(task: AgentTask): Promise<AgentResult>;
|
|
25
|
-
canHandle(task: AgentTask): boolean;
|
|
26
|
-
}
|
|
27
|
-
interface AgentConfig {
|
|
28
|
-
mode: AgentMode;
|
|
29
|
-
fallbackMode?: AgentMode;
|
|
30
|
-
timeout?: number;
|
|
31
|
-
retries?: number;
|
|
32
|
-
options?: Record<string, unknown>;
|
|
33
|
-
}
|
|
34
|
-
//#endregion
|
|
35
|
-
export { AgentConfig, AgentMode, AgentProvider, AgentResult, AgentTask };
|
package/dist/ai/client.d.ts
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { Config } from "../types/config.js";
|
|
2
|
-
import { OpKind, PresentationKind } from "../types.js";
|
|
3
|
-
|
|
4
|
-
//#region src/ai/client.d.ts
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* AI Client for spec creation and code generation
|
|
8
|
-
*/
|
|
9
|
-
declare class AIClient {
|
|
10
|
-
private config;
|
|
11
|
-
constructor(config: Config);
|
|
12
|
-
/**
|
|
13
|
-
* Generate operation spec from natural language description
|
|
14
|
-
*/
|
|
15
|
-
generateOperationSpec(description: string, kind: OpKind): Promise<{
|
|
16
|
-
name: string;
|
|
17
|
-
version: number;
|
|
18
|
-
description: string;
|
|
19
|
-
goal: string;
|
|
20
|
-
context: string;
|
|
21
|
-
stability: "experimental" | "beta" | "stable" | "deprecated";
|
|
22
|
-
owners: string[];
|
|
23
|
-
tags: string[];
|
|
24
|
-
auth: "anonymous" | "user" | "admin";
|
|
25
|
-
inputShape: string;
|
|
26
|
-
outputShape: string;
|
|
27
|
-
flags: string[];
|
|
28
|
-
possibleEvents: string[];
|
|
29
|
-
analytics: string[];
|
|
30
|
-
}>;
|
|
31
|
-
/**
|
|
32
|
-
* Generate event spec from description
|
|
33
|
-
*/
|
|
34
|
-
generateEventSpec(description: string): Promise<{
|
|
35
|
-
name: string;
|
|
36
|
-
version: number;
|
|
37
|
-
description: string;
|
|
38
|
-
stability: "experimental" | "beta" | "stable" | "deprecated";
|
|
39
|
-
owners: string[];
|
|
40
|
-
tags: string[];
|
|
41
|
-
payloadShape: string;
|
|
42
|
-
piiFields: string[];
|
|
43
|
-
}>;
|
|
44
|
-
/**
|
|
45
|
-
* Generate presentation spec from description
|
|
46
|
-
*/
|
|
47
|
-
generatePresentationSpec(description: string, kind: PresentationKind): Promise<{
|
|
48
|
-
name: string;
|
|
49
|
-
version: number;
|
|
50
|
-
description: string;
|
|
51
|
-
stability: "experimental" | "beta" | "stable" | "deprecated";
|
|
52
|
-
owners: string[];
|
|
53
|
-
tags: string[];
|
|
54
|
-
componentKey?: string | undefined;
|
|
55
|
-
propsShape?: string | undefined;
|
|
56
|
-
content?: string | undefined;
|
|
57
|
-
mimeType?: string | undefined;
|
|
58
|
-
dataShape?: string | undefined;
|
|
59
|
-
}>;
|
|
60
|
-
/**
|
|
61
|
-
* Generate handler implementation from spec
|
|
62
|
-
*/
|
|
63
|
-
generateHandler(specCode: string): Promise<string>;
|
|
64
|
-
/**
|
|
65
|
-
* Generate React component from presentation spec
|
|
66
|
-
*/
|
|
67
|
-
generateComponent(specCode: string): Promise<string>;
|
|
68
|
-
/**
|
|
69
|
-
* Generate form component from form spec
|
|
70
|
-
*/
|
|
71
|
-
generateForm(specCode: string): Promise<string>;
|
|
72
|
-
/**
|
|
73
|
-
* Generate tests for implementation
|
|
74
|
-
*/
|
|
75
|
-
generateTests(specCode: string, implementationCode: string, testType: 'handler' | 'component'): Promise<string>;
|
|
76
|
-
/**
|
|
77
|
-
* Stream code generation for better UX
|
|
78
|
-
*/
|
|
79
|
-
streamCodeGeneration(prompt: string, onChunk: (text: string) => void): Promise<string>;
|
|
80
|
-
}
|
|
81
|
-
//#endregion
|
|
82
|
-
export { AIClient };
|
package/dist/ai/index.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { AIClient } from "./client.js";
|
|
2
|
-
import { getAIProvider, getRecommendedModels, validateProvider } from "./providers.js";
|
|
3
|
-
import { AgentConfig, AgentMode, AgentProvider, AgentResult, AgentTask } from "./agents/types.js";
|
|
4
|
-
import { AgentOrchestrator } from "./agents/orchestrator.js";
|
|
5
|
-
import { SimpleAgent } from "./agents/simple-agent.js";
|
|
6
|
-
import { CursorAgent } from "./agents/cursor-agent.js";
|
|
7
|
-
import { ClaudeCodeAgent } from "./agents/claude-code-agent.js";
|
|
8
|
-
import { OpenAICodexAgent } from "./agents/openai-codex-agent.js";
|
|
9
|
-
import { index_d_exports as index_d_exports$1 } from "./prompts/index.js";
|
|
10
|
-
|
|
11
|
-
//#region src/ai/index.d.ts
|
|
12
|
-
declare namespace index_d_exports {
|
|
13
|
-
export { AIClient, AgentConfig, AgentMode, AgentOrchestrator, AgentProvider, AgentResult, AgentTask, ClaudeCodeAgent, CursorAgent, OpenAICodexAgent, SimpleAgent, getAIProvider, getRecommendedModels, index_d_exports$1 as prompts, validateProvider };
|
|
14
|
-
}
|
|
15
|
-
//#endregion
|
|
16
|
-
export { index_d_exports };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
declare namespace code_generation_d_exports {
|
|
2
|
-
export { buildComponentPrompt, buildFormPrompt, buildHandlerPrompt, buildTestPrompt, getCodeGenSystemPrompt };
|
|
3
|
-
}
|
|
4
|
-
/**
|
|
5
|
-
* Build prompt for generating handler implementation
|
|
6
|
-
*/
|
|
7
|
-
declare function buildHandlerPrompt(specCode: string): string;
|
|
8
|
-
/**
|
|
9
|
-
* Build prompt for generating React component from presentation spec
|
|
10
|
-
*/
|
|
11
|
-
declare function buildComponentPrompt(specCode: string): string;
|
|
12
|
-
/**
|
|
13
|
-
* Build prompt for generating form component
|
|
14
|
-
*/
|
|
15
|
-
declare function buildFormPrompt(specCode: string): string;
|
|
16
|
-
/**
|
|
17
|
-
* Build prompt for generating tests
|
|
18
|
-
*/
|
|
19
|
-
declare function buildTestPrompt(specCode: string, implementationCode: string, testType: 'handler' | 'component'): string;
|
|
20
|
-
/**
|
|
21
|
-
* System prompt for code generation
|
|
22
|
-
*/
|
|
23
|
-
declare function getCodeGenSystemPrompt(): string;
|
|
24
|
-
//#endregion
|
|
25
|
-
export { code_generation_d_exports };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { code_generation_d_exports } from "./code-generation.js";
|
|
2
|
-
import { spec_creation_d_exports } from "./spec-creation.js";
|
|
3
|
-
|
|
4
|
-
//#region src/ai/prompts/index.d.ts
|
|
5
|
-
declare namespace index_d_exports {
|
|
6
|
-
export { code_generation_d_exports as codeGeneration, spec_creation_d_exports as specCreation };
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
export { index_d_exports };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { OpKind, PresentationKind } from "../../types.js";
|
|
2
|
-
|
|
3
|
-
//#region src/ai/prompts/spec-creation.d.ts
|
|
4
|
-
declare namespace spec_creation_d_exports {
|
|
5
|
-
export { addExampleContext, buildEventSpecPrompt, buildOperationSpecPrompt, buildPresentationSpecPrompt, getSystemPrompt };
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Build prompt for creating operation spec from description
|
|
9
|
-
*/
|
|
10
|
-
declare function buildOperationSpecPrompt(description: string, kind: OpKind): string;
|
|
11
|
-
/**
|
|
12
|
-
* Build prompt for creating event spec from description
|
|
13
|
-
*/
|
|
14
|
-
declare function buildEventSpecPrompt(description: string): string;
|
|
15
|
-
/**
|
|
16
|
-
* Build prompt for creating presentation spec from description
|
|
17
|
-
*/
|
|
18
|
-
declare function buildPresentationSpecPrompt(description: string, kind: PresentationKind): string;
|
|
19
|
-
/**
|
|
20
|
-
* Build system prompt for all spec generation
|
|
21
|
-
*/
|
|
22
|
-
declare function getSystemPrompt(): string;
|
|
23
|
-
/**
|
|
24
|
-
* Create example-based prompt for better results
|
|
25
|
-
*/
|
|
26
|
-
declare function addExampleContext(basePrompt: string, examples: string[]): string;
|
|
27
|
-
//#endregion
|
|
28
|
-
export { spec_creation_d_exports };
|
package/dist/ai/providers.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Config } from "../types/config.js";
|
|
2
|
-
import { LanguageModel } from "ai";
|
|
3
|
-
|
|
4
|
-
//#region src/ai/providers.d.ts
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Initialize AI provider based on configuration
|
|
8
|
-
*
|
|
9
|
-
* @deprecated Use createProvider() from @lssm/lib.ai-providers instead
|
|
10
|
-
*/
|
|
11
|
-
declare function getAIProvider(config: Config): LanguageModel;
|
|
12
|
-
/**
|
|
13
|
-
* Validate that the provider is accessible and working
|
|
14
|
-
*
|
|
15
|
-
* @deprecated Use validateProvider() from @lssm/lib.ai-providers instead
|
|
16
|
-
*/
|
|
17
|
-
declare function validateProvider(config: Config): Promise<{
|
|
18
|
-
success: boolean;
|
|
19
|
-
error?: string;
|
|
20
|
-
}>;
|
|
21
|
-
/**
|
|
22
|
-
* Get recommended models for each provider
|
|
23
|
-
*
|
|
24
|
-
* @deprecated Use getModelsForProvider() from @lssm/lib.ai-providers instead
|
|
25
|
-
*/
|
|
26
|
-
declare function getRecommendedModels(provider: Config['aiProvider']): string[];
|
|
27
|
-
//#endregion
|
|
28
|
-
export { getAIProvider, getRecommendedModels, validateProvider };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SarifFormatOptions, SarifOutput, formatAsSarif, sarifToJson } from "./sarif.js";
|
|
2
|
-
import { JsonCompactOutput, JsonFormatOptions, JsonFullOutput, JsonIssueCompact, formatAsJson, formatAsJsonCompact, formatAsJsonFull } from "./json.js";
|
|
3
|
-
import { TextFormatOptions, TextLine, formatAsText, formatAsTextLines } from "./text.js";
|
|
4
|
-
|
|
5
|
-
//#region src/formatters/index.d.ts
|
|
6
|
-
declare namespace index_d_exports {
|
|
7
|
-
export { JsonCompactOutput, JsonFormatOptions, JsonFullOutput, JsonIssueCompact, SarifFormatOptions, SarifOutput, TextFormatOptions, TextLine, formatAsJson, formatAsJsonCompact, formatAsJsonFull, formatAsSarif, formatAsText, formatAsTextLines, sarifToJson };
|
|
8
|
-
}
|
|
9
|
-
//#endregion
|
|
10
|
-
export { index_d_exports };
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { CICheckResult } from "../services/ci-check/types.js";
|
|
2
|
-
|
|
3
|
-
//#region src/formatters/json.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Options for JSON formatting.
|
|
7
|
-
*/
|
|
8
|
-
interface JsonFormatOptions {
|
|
9
|
-
/** Pretty print with indentation. */
|
|
10
|
-
pretty?: boolean;
|
|
11
|
-
/** Include full issue details. */
|
|
12
|
-
includeDetails?: boolean;
|
|
13
|
-
/** Include category summaries. */
|
|
14
|
-
includeSummaries?: boolean;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Compact JSON output structure.
|
|
18
|
-
*/
|
|
19
|
-
interface JsonCompactOutput {
|
|
20
|
-
success: boolean;
|
|
21
|
-
errors: number;
|
|
22
|
-
warnings: number;
|
|
23
|
-
duration: number;
|
|
24
|
-
timestamp: string;
|
|
25
|
-
commit?: string;
|
|
26
|
-
branch?: string;
|
|
27
|
-
issues: JsonIssueCompact[];
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Compact issue representation.
|
|
31
|
-
*/
|
|
32
|
-
interface JsonIssueCompact {
|
|
33
|
-
rule: string;
|
|
34
|
-
severity: string;
|
|
35
|
-
message: string;
|
|
36
|
-
file?: string;
|
|
37
|
-
line?: number;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Full JSON output structure.
|
|
41
|
-
*/
|
|
42
|
-
interface JsonFullOutput {
|
|
43
|
-
success: boolean;
|
|
44
|
-
summary: {
|
|
45
|
-
totalErrors: number;
|
|
46
|
-
totalWarnings: number;
|
|
47
|
-
totalNotes: number;
|
|
48
|
-
durationMs: number;
|
|
49
|
-
timestamp: string;
|
|
50
|
-
commitSha?: string;
|
|
51
|
-
branch?: string;
|
|
52
|
-
};
|
|
53
|
-
categories: {
|
|
54
|
-
category: string;
|
|
55
|
-
label: string;
|
|
56
|
-
passed: boolean;
|
|
57
|
-
errors: number;
|
|
58
|
-
warnings: number;
|
|
59
|
-
notes: number;
|
|
60
|
-
durationMs: number;
|
|
61
|
-
}[];
|
|
62
|
-
issues: {
|
|
63
|
-
ruleId: string;
|
|
64
|
-
severity: string;
|
|
65
|
-
message: string;
|
|
66
|
-
category: string;
|
|
67
|
-
file?: string;
|
|
68
|
-
line?: number;
|
|
69
|
-
column?: number;
|
|
70
|
-
endLine?: number;
|
|
71
|
-
endColumn?: number;
|
|
72
|
-
context?: Record<string, unknown>;
|
|
73
|
-
}[];
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Format CI check results as compact JSON.
|
|
77
|
-
*/
|
|
78
|
-
declare function formatAsJsonCompact(result: CICheckResult): JsonCompactOutput;
|
|
79
|
-
/**
|
|
80
|
-
* Format CI check results as full JSON with all details.
|
|
81
|
-
*/
|
|
82
|
-
declare function formatAsJsonFull(result: CICheckResult): JsonFullOutput;
|
|
83
|
-
/**
|
|
84
|
-
* Format CI check results as JSON.
|
|
85
|
-
*/
|
|
86
|
-
declare function formatAsJson(result: CICheckResult, options?: JsonFormatOptions): string;
|
|
87
|
-
//#endregion
|
|
88
|
-
export { JsonCompactOutput, JsonFormatOptions, JsonFullOutput, JsonIssueCompact, formatAsJson, formatAsJsonCompact, formatAsJsonFull };
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { CICheckResult } from "../services/ci-check/types.js";
|
|
2
|
-
|
|
3
|
-
//#region src/formatters/sarif.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* SARIF v2.1.0 output structure.
|
|
7
|
-
*/
|
|
8
|
-
interface SarifOutput {
|
|
9
|
-
$schema: string;
|
|
10
|
-
version: string;
|
|
11
|
-
runs: SarifRun[];
|
|
12
|
-
}
|
|
13
|
-
interface SarifRun {
|
|
14
|
-
tool: {
|
|
15
|
-
driver: {
|
|
16
|
-
name: string;
|
|
17
|
-
version: string;
|
|
18
|
-
informationUri: string;
|
|
19
|
-
rules: SarifRule[];
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
results: SarifResult[];
|
|
23
|
-
invocations: SarifInvocation[];
|
|
24
|
-
versionControlProvenance?: SarifVersionControl[];
|
|
25
|
-
}
|
|
26
|
-
interface SarifRule {
|
|
27
|
-
id: string;
|
|
28
|
-
name: string;
|
|
29
|
-
shortDescription: {
|
|
30
|
-
text: string;
|
|
31
|
-
};
|
|
32
|
-
fullDescription?: {
|
|
33
|
-
text: string;
|
|
34
|
-
};
|
|
35
|
-
defaultConfiguration: {
|
|
36
|
-
level: 'error' | 'warning' | 'note' | 'none';
|
|
37
|
-
};
|
|
38
|
-
helpUri?: string;
|
|
39
|
-
}
|
|
40
|
-
interface SarifResult {
|
|
41
|
-
ruleId: string;
|
|
42
|
-
ruleIndex: number;
|
|
43
|
-
level: 'error' | 'warning' | 'note' | 'none';
|
|
44
|
-
message: {
|
|
45
|
-
text: string;
|
|
46
|
-
};
|
|
47
|
-
locations?: SarifLocation[];
|
|
48
|
-
partialFingerprints?: Record<string, string>;
|
|
49
|
-
}
|
|
50
|
-
interface SarifLocation {
|
|
51
|
-
physicalLocation: {
|
|
52
|
-
artifactLocation: {
|
|
53
|
-
uri: string;
|
|
54
|
-
uriBaseId?: string;
|
|
55
|
-
};
|
|
56
|
-
region?: {
|
|
57
|
-
startLine?: number;
|
|
58
|
-
startColumn?: number;
|
|
59
|
-
endLine?: number;
|
|
60
|
-
endColumn?: number;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
interface SarifInvocation {
|
|
65
|
-
executionSuccessful: boolean;
|
|
66
|
-
endTimeUtc: string;
|
|
67
|
-
workingDirectory?: {
|
|
68
|
-
uri: string;
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
interface SarifVersionControl {
|
|
72
|
-
repositoryUri?: string;
|
|
73
|
-
revisionId?: string;
|
|
74
|
-
branch?: string;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Options for SARIF formatting.
|
|
78
|
-
*/
|
|
79
|
-
interface SarifFormatOptions {
|
|
80
|
-
/** Tool name. */
|
|
81
|
-
toolName?: string;
|
|
82
|
-
/** Tool version. */
|
|
83
|
-
toolVersion?: string;
|
|
84
|
-
/** Tool information URI. */
|
|
85
|
-
toolUri?: string;
|
|
86
|
-
/** Repository URI for version control provenance. */
|
|
87
|
-
repositoryUri?: string;
|
|
88
|
-
/** Working directory. */
|
|
89
|
-
workingDirectory?: string;
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* Format CI check results as SARIF.
|
|
93
|
-
*/
|
|
94
|
-
declare function formatAsSarif(result: CICheckResult, options?: SarifFormatOptions): SarifOutput;
|
|
95
|
-
/**
|
|
96
|
-
* Serialize SARIF output to JSON string.
|
|
97
|
-
*/
|
|
98
|
-
declare function sarifToJson(sarif: SarifOutput): string;
|
|
99
|
-
//#endregion
|
|
100
|
-
export { SarifFormatOptions, SarifOutput, formatAsSarif, sarifToJson };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { CICheckResult } from "../services/ci-check/types.js";
|
|
2
|
-
|
|
3
|
-
//#region src/formatters/text.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Options for text formatting.
|
|
7
|
-
*/
|
|
8
|
-
interface TextFormatOptions {
|
|
9
|
-
/** Show verbose output with all details. */
|
|
10
|
-
verbose?: boolean;
|
|
11
|
-
/** Include timing information. */
|
|
12
|
-
showTiming?: boolean;
|
|
13
|
-
/** Group issues by file. */
|
|
14
|
-
groupByFile?: boolean;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Text output lines with optional styling hints.
|
|
18
|
-
*/
|
|
19
|
-
interface TextLine {
|
|
20
|
-
text: string;
|
|
21
|
-
style?: 'normal' | 'bold' | 'error' | 'warning' | 'success' | 'muted';
|
|
22
|
-
indent?: number;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Format CI check results as text lines.
|
|
26
|
-
* Returns structured lines that can be styled by the CLI.
|
|
27
|
-
*/
|
|
28
|
-
declare function formatAsTextLines(result: CICheckResult, options?: TextFormatOptions): TextLine[];
|
|
29
|
-
/**
|
|
30
|
-
* Format CI check results as plain text string.
|
|
31
|
-
*/
|
|
32
|
-
declare function formatAsText(result: CICheckResult, options?: TextFormatOptions): string;
|
|
33
|
-
//#endregion
|
|
34
|
-
export { TextFormatOptions, TextLine, formatAsText, formatAsTextLines };
|
package/dist/index.d.ts
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { DiscoverOptions, FileStat, FsAdapter } from "./ports/fs.js";
|
|
2
|
-
import { GitAdapter, GitCleanOptions } from "./ports/git.js";
|
|
3
|
-
import { WatchEvent, WatchEventHandler, WatchEventType, WatchOptions, Watcher, WatcherAdapter } from "./ports/watcher.js";
|
|
4
|
-
import { AiAdapter, AiGenerateOptions, AiGenerateResult, AiGenerateStructuredOptions, AiValidationResult } from "./ports/ai.js";
|
|
5
|
-
import { LogLevel, LoggerAdapter, ProgressReporter, ProgressUpdate, WorkspaceAdapters } from "./ports/logger.js";
|
|
6
|
-
import { createNodeFsAdapter } from "./adapters/fs.js";
|
|
7
|
-
import { createNodeGitAdapter } from "./adapters/git.js";
|
|
8
|
-
import { createNodeWatcherAdapter } from "./adapters/watcher.js";
|
|
9
|
-
import { createNodeAiAdapter } from "./adapters/ai.js";
|
|
10
|
-
import { createConsoleLoggerAdapter, createNoopLoggerAdapter } from "./adapters/logger.js";
|
|
11
|
-
import { CreateAdaptersOptions, createNodeAdapters } from "./adapters/factory.js";
|
|
12
|
-
import { PackageManager, WorkspaceInfo, detectPackageManager, findPackageRoot, findWorkspaceRoot, getExecCommand, getInstallCommand, getPackageName, getRunCommand, getWorkspaceInfo, getWorkspacePackages, isMonorepo } from "./adapters/workspace.js";
|
|
13
|
-
import { AgentMode, AiProvider, Config } from "./types/config.js";
|
|
14
|
-
import { ValidateSpecOptions, ValidateSpecResult, validateSpec, validateSpecs } from "./services/validate.js";
|
|
15
|
-
import { ValidateImplementationOptions, ValidateImplementationResult, validateImplementationFiles } from "./services/validate-implementation.js";
|
|
16
|
-
import { CompareSpecsOptions, CompareSpecsResult, compareSpecs } from "./services/diff.js";
|
|
17
|
-
import { AnalyzeDepsOptions, AnalyzeDepsResult, analyzeDeps, exportGraphAsDot, getContractNode, getGraphStats } from "./services/deps.js";
|
|
18
|
-
import { ListSpecsOptions, groupSpecsByType, listSpecs } from "./services/list.js";
|
|
19
|
-
import { getApiKey, loadWorkspaceConfig, mergeWorkspaceConfig } from "./services/config.js";
|
|
20
|
-
import { BuildSpecOptions, BuildSpecResult, BuildTarget, BuildTargetResult, buildSpec } from "./services/build.js";
|
|
21
|
-
import { OpenApiExportServiceOptions, OpenApiExportServiceResult, OpenApiImportServiceOptions, OpenApiImportServiceResult, OpenApiSourceConfig, OpenApiSyncServiceOptions, OpenApiSyncServiceResult, OpenApiValidateServiceOptions, OpenApiValidateServiceResult } from "./services/openapi/types.js";
|
|
22
|
-
import { importFromOpenApiService } from "./services/openapi/import-service.js";
|
|
23
|
-
import { syncWithOpenApiService } from "./services/openapi/sync-service.js";
|
|
24
|
-
import { validateAgainstOpenApiService } from "./services/openapi/validate-service.js";
|
|
25
|
-
import { OpenApiExportOptions, OpenApiExportResult, exportOpenApi } from "./services/openapi/export-service.js";
|
|
26
|
-
import { RegistryClient, RegistryClientOptions, addToRegistry, listFromRegistry, resolveRegistryUrl, searchRegistry } from "./services/registry.js";
|
|
27
|
-
import { SyncBuildFn, SyncSpecsOptions, SyncSpecsResult, SyncSpecsRunResult, SyncValidateFn, syncSpecs } from "./services/sync.js";
|
|
28
|
-
import { WatchBuildFn, WatchSpecsOptions, WatchValidateFn, watchSpecs } from "./services/watch.js";
|
|
29
|
-
import { CleanOptions, CleanResult, cleanArtifacts } from "./services/clean.js";
|
|
30
|
-
import { RunTestsResult, TestRunResult, runTests } from "./services/test.js";
|
|
31
|
-
import { CreateRegeneratorOptions, createRegeneratorService } from "./services/regenerator.js";
|
|
32
|
-
import { ExtendedWorkspaceInfo, MonorepoConfig, findAllConfigFiles, formatWorkspaceInfo, getExtendedWorkspaceInfo, mergeMonorepoConfigs } from "./services/workspace-info.js";
|
|
33
|
-
import { CoverageByType, IntegrityAnalysisOptions, IntegrityAnalysisResult, IntegrityIssue, SpecInventory, SpecLocation, analyzeIntegrity, filterIssuesBySeverity, filterIssuesByType, getAllSpecs } from "./services/integrity.js";
|
|
34
|
-
import { DiagramOptions, DiagramType, generateMermaidDiagram } from "./services/integrity-diagram.js";
|
|
35
|
-
import { ALL_SETUP_TARGETS, SETUP_TARGET_LABELS, SetupFileResult, SetupOptions, SetupPromptCallbacks, SetupResult, SetupScope, SetupTarget } from "./services/setup/types.js";
|
|
36
|
-
import { runSetup } from "./services/setup/setup-service.js";
|
|
37
|
-
import { generateAgentsMd, generateClaudeMcpConfig, generateContractsrcConfig, generateCursorMcpConfig, generateCursorRules, generateVscodeSettings, getClaudeDesktopConfigPath } from "./services/setup/config-generators.js";
|
|
38
|
-
import { deepMergeOverwrite, deepMergePreserve, formatJson, safeParseJson } from "./services/setup/file-merger.js";
|
|
39
|
-
import { ALL_CHECK_CATEGORIES, CHECK_CATEGORY_LABELS, CheckCategory, CheckContext, CheckResult, CheckStatus, DoctorOptions, DoctorPromptCallbacks, DoctorResult, FixAction, FixResult } from "./services/doctor/types.js";
|
|
40
|
-
import { formatCheckResult, formatDoctorSummary, runDoctor } from "./services/doctor/doctor-service.js";
|
|
41
|
-
import { ALL_CI_CHECK_CATEGORIES, CICheckCategory, CICheckCategorySummary, CICheckOptions, CICheckResult, CIFormatOptions, CIIssue, CIIssueSeverity, CIOutputFormat, CI_CHECK_CATEGORY_LABELS } from "./services/ci-check/types.js";
|
|
42
|
-
import { runCIChecks } from "./services/ci-check/ci-check-service.js";
|
|
43
|
-
import { AgentAdapter, AgentGuideConfig, FormatOptions, GuideOptions, GuideResult } from "./services/agent-guide/types.js";
|
|
44
|
-
import { AgentGuideService, agentGuideService, createAgentGuideService } from "./services/agent-guide/agent-guide-service.js";
|
|
45
|
-
import { ClaudeCodeAdapter, claudeCodeAdapter } from "./services/agent-guide/adapters/claude-code.js";
|
|
46
|
-
import { CursorCLIAdapter, cursorCLIAdapter } from "./services/agent-guide/adapters/cursor-cli.js";
|
|
47
|
-
import { GenericMCPAdapter, genericMCPAdapter } from "./services/agent-guide/adapters/generic-mcp.js";
|
|
48
|
-
import { agentAdapters, getAgentAdapter, listAgentTypes } from "./services/agent-guide/adapters/index.js";
|
|
49
|
-
import { AIReviewResult, BehaviorCheck, FieldMapping, FieldMatchType, IntentAlignment, SemanticVerificationResult, StructureCheck, VerifyConfig, VerifyInput, VerifyOptions, VerifyResult } from "./services/verify/types.js";
|
|
50
|
-
import { VerifyService, createVerifyService, verifyService } from "./services/verify/verify-service.js";
|
|
51
|
-
import { verifyStructure } from "./services/verify/structure-verifier.js";
|
|
52
|
-
import { verifyBehavior } from "./services/verify/behavior-verifier.js";
|
|
53
|
-
import { createQuickAIReview, verifySemanticFields, verifyWithAI, verifyWithAIEnhanced } from "./services/verify/ai-verifier.js";
|
|
54
|
-
import { DiscoveryOptions, ImplementationSource, ImplementationStatus, ResolvedImplementation, SpecImplementationResult, SpecReferenceMatch } from "./services/implementation/types.js";
|
|
55
|
-
import { discoverAllImplementations, discoverImplementationsForSpec, extractSpecReferences, inferImplementationType } from "./services/implementation/discovery.js";
|
|
56
|
-
import { ResolverOptions, getImplementationSummary, resolveAllImplementations, resolveImplementations } from "./services/implementation/resolver.js";
|
|
57
|
-
import { CacheEntryMeta, CacheKeyString, CacheLookupResult, CacheMissReason, CacheStats, CacheStorageAdapter, DEFAULT_CACHE_CONFIG, VerificationCacheConfig, VerificationCacheEntry, VerificationCacheKey } from "./services/verification-cache/types.js";
|
|
58
|
-
import { VerificationCacheService, cacheKeyToString, computeContentHash, createVerificationCacheService, stringToCacheKey } from "./services/verification-cache/cache-service.js";
|
|
59
|
-
import { InMemoryCacheStorage, createInMemoryCacheStorage } from "./services/verification-cache/adapters/in-memory.js";
|
|
60
|
-
import { FileSystemCacheStorage, createFileSystemCacheStorage } from "./services/verification-cache/adapters/filesystem.js";
|
|
61
|
-
import { KeyValueStore, WorkspaceStateCacheStorage, createWorkspaceStateCacheStorage } from "./services/verification-cache/adapters/workspace-state.js";
|
|
62
|
-
import { index_d_exports as index_d_exports$1 } from "./formatters/index.js";
|
|
63
|
-
import { index_d_exports as index_d_exports$2 } from "./templates/index.js";
|
|
64
|
-
import { index_d_exports } from "./ai/index.js";
|
|
65
|
-
export * from "@lssm/module.contractspec-workspace";
|
|
66
|
-
export { AIReviewResult, ALL_CHECK_CATEGORIES, ALL_CI_CHECK_CATEGORIES, ALL_SETUP_TARGETS, AgentAdapter, AgentGuideConfig, AgentGuideService, type AgentMode, AiAdapter, AiGenerateOptions, AiGenerateResult, AiGenerateStructuredOptions, type AiProvider, AiValidationResult, AnalyzeDepsOptions, AnalyzeDepsResult, BehaviorCheck, BuildSpecOptions, BuildSpecResult, BuildTarget, BuildTargetResult, CHECK_CATEGORY_LABELS, CICheckCategory, CICheckCategorySummary, CICheckOptions, CICheckResult, CIFormatOptions, CIIssue, CIIssueSeverity, CIOutputFormat, CI_CHECK_CATEGORY_LABELS, CacheEntryMeta, CacheKeyString, CacheLookupResult, CacheMissReason, CacheStats, CacheStorageAdapter, CheckCategory, CheckContext, CheckResult, CheckStatus, ClaudeCodeAdapter, CleanOptions, CleanResult, CompareSpecsOptions, CompareSpecsResult, type Config, CoverageByType, CreateAdaptersOptions, CreateRegeneratorOptions, CursorCLIAdapter, DEFAULT_CACHE_CONFIG, DiagramOptions, DiagramType, DiscoverOptions, DiscoveryOptions, DoctorOptions, DoctorPromptCallbacks, DoctorResult, ExtendedWorkspaceInfo, FieldMapping, FieldMatchType, FileStat, FileSystemCacheStorage, FixAction, FixResult, FormatOptions, FsAdapter, GenericMCPAdapter, GitAdapter, GitCleanOptions, GuideOptions, GuideResult, ImplementationSource, ImplementationStatus, InMemoryCacheStorage, IntegrityAnalysisOptions, IntegrityAnalysisResult, IntegrityIssue, IntentAlignment, KeyValueStore, OpenApiExportOptions as LegacyOpenApiExportOptions, OpenApiExportResult as LegacyOpenApiExportResult, ListSpecsOptions, LogLevel, LoggerAdapter, MonorepoConfig, OpenApiExportServiceOptions, OpenApiExportServiceResult, OpenApiImportServiceOptions, OpenApiImportServiceResult, OpenApiSourceConfig, OpenApiSyncServiceOptions, OpenApiSyncServiceResult, OpenApiValidateServiceOptions, OpenApiValidateServiceResult, PackageManager, ProgressReporter, ProgressUpdate, RegistryClient, RegistryClientOptions, ResolvedImplementation, ResolverOptions, RunTestsResult, SETUP_TARGET_LABELS, SemanticVerificationResult, SetupFileResult, SetupOptions, SetupPromptCallbacks, SetupResult, SetupScope, SetupTarget, SpecImplementationResult, SpecInventory, SpecLocation, SpecReferenceMatch, StructureCheck, SyncBuildFn, SyncSpecsOptions, SyncSpecsResult, SyncSpecsRunResult, SyncValidateFn, TestRunResult, ValidateImplementationOptions, ValidateImplementationResult, ValidateSpecOptions, ValidateSpecResult, VerificationCacheConfig, VerificationCacheEntry, VerificationCacheKey, VerificationCacheService, VerifyConfig, VerifyInput, VerifyOptions, VerifyResult, VerifyService, WatchBuildFn, WatchEvent, WatchEventHandler, WatchEventType, WatchOptions, WatchSpecsOptions, WatchValidateFn, Watcher, WatcherAdapter, WorkspaceAdapters, WorkspaceInfo, WorkspaceStateCacheStorage, addToRegistry, agentAdapters, agentGuideService, index_d_exports as ai, analyzeDeps, analyzeIntegrity, buildSpec, cacheKeyToString, claudeCodeAdapter, cleanArtifacts, compareSpecs, computeContentHash, createAgentGuideService, createConsoleLoggerAdapter, createFileSystemCacheStorage, createInMemoryCacheStorage, createNodeAdapters, createNodeAiAdapter, createNodeFsAdapter, createNodeGitAdapter, createNodeWatcherAdapter, createNoopLoggerAdapter, createQuickAIReview, createRegeneratorService, createVerificationCacheService, createVerifyService, createWorkspaceStateCacheStorage, cursorCLIAdapter, deepMergeOverwrite, deepMergePreserve, detectPackageManager, discoverAllImplementations, discoverImplementationsForSpec, exportGraphAsDot, exportOpenApi, extractSpecReferences, filterIssuesBySeverity, filterIssuesByType, findAllConfigFiles, findPackageRoot, findWorkspaceRoot, formatCheckResult, formatDoctorSummary, formatJson, formatWorkspaceInfo, index_d_exports$1 as formatters, generateAgentsMd, generateClaudeMcpConfig, generateContractsrcConfig, generateCursorMcpConfig, generateCursorRules, generateMermaidDiagram, generateVscodeSettings, genericMCPAdapter, getAgentAdapter, getAllSpecs, getApiKey, getClaudeDesktopConfigPath, getContractNode, getExecCommand, getExtendedWorkspaceInfo, getGraphStats, getImplementationSummary, getInstallCommand, getPackageName, getRunCommand, getWorkspaceInfo, getWorkspacePackages, groupSpecsByType, importFromOpenApiService, inferImplementationType, isMonorepo, listAgentTypes, listFromRegistry, listSpecs, loadWorkspaceConfig, mergeMonorepoConfigs, mergeWorkspaceConfig, resolveAllImplementations, resolveImplementations, resolveRegistryUrl, runCIChecks, runDoctor, runSetup, runTests, safeParseJson, searchRegistry, stringToCacheKey, syncSpecs, syncWithOpenApiService, index_d_exports$2 as templates, validateAgainstOpenApiService, validateImplementationFiles, validateSpec, validateSpecs, verifyBehavior, verifySemanticFields, verifyService, verifyStructure, verifyWithAI, verifyWithAIEnhanced, watchSpecs };
|