@specverse/engine-realize 3.5.3
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/assets/examples/09-api/ai-spec.yaml +194 -0
- package/assets/examples/09-api/converted.yaml +95 -0
- package/assets/examples/09-api/diagram-architecture.mmd +10 -0
- package/assets/examples/09-api/diagram-er.mmd +10 -0
- package/assets/examples/09-api/documentation.html +104 -0
- package/assets/examples/09-api/documentation.md +95 -0
- package/assets/examples/09-api/inferred-spec.yaml +420 -0
- package/assets/examples/09-api/openapi.json +61 -0
- package/assets/examples/10-api/README.md +216 -0
- package/assets/examples/10-api/ai-spec.yaml +194 -0
- package/assets/examples/10-api/converted.yaml +96 -0
- package/assets/examples/10-api/diagram-architecture.mmd +10 -0
- package/assets/examples/10-api/diagram-er.mmd +10 -0
- package/assets/examples/10-api/documentation.html +104 -0
- package/assets/examples/10-api/documentation.md +95 -0
- package/assets/examples/10-api/inferred-spec.yaml +7 -0
- package/assets/examples/10-api/metadata.yaml +89 -0
- package/assets/examples/10-api/openapi.json +61 -0
- package/assets/examples/10-api/package-integration-test.js +177 -0
- package/assets/examples/10-api/usage-example.js +323 -0
- package/assets/examples/10-api/usage-example.ts +363 -0
- package/assets/examples/10-api/workflow-test.js +113 -0
- package/assets/examples/manifests/01-simple-default-mappings.yaml +36 -0
- package/assets/examples/manifests/02-capability-mappings.yaml +55 -0
- package/assets/examples/manifests/03-hybrid-mappings.yaml +109 -0
- package/assets/examples/manifests/README.md +245 -0
- package/assets/examples/manifests/backend-only.yaml +43 -0
- package/assets/examples/manifests/blog-api.md +78 -0
- package/assets/examples/manifests/blog-api.specly +79 -0
- package/assets/examples/manifests/frontend-only.yaml +27 -0
- package/assets/examples/manifests/fullstack-app.yaml +44 -0
- package/assets/examples/manifests/fullstack-monorepo.yaml +62 -0
- package/assets/examples/validate-examples-with-expected-failures.cjs +328 -0
- package/assets/examples/validate-examples.cjs +225 -0
- package/assets/examples-decomposed/cloud-native-manifest.example.yaml +8 -0
- package/assets/examples-decomposed/cloud-native-manifest.md +379 -0
- package/assets/examples-decomposed/cloud-native-manifest.specly +60 -0
- package/assets/examples-decomposed/docker-compose-manifest.example.yaml +8 -0
- package/assets/examples-decomposed/docker-compose-manifest.md +326 -0
- package/assets/examples-decomposed/docker-compose-manifest.specly +40 -0
- package/assets/examples-decomposed/kubernetes-deployment-manifest.example.yaml +8 -0
- package/assets/examples-decomposed/kubernetes-deployment-manifest.md +237 -0
- package/assets/examples-decomposed/kubernetes-deployment-manifest.specly +41 -0
- package/assets/templates/README.md +559 -0
- package/assets/templates/TEMPLATE-ENHANCEMENTS-V33.md +462 -0
- package/assets/templates/backend-only/CLAUDE.md +73 -0
- package/assets/templates/backend-only/README.md +197 -0
- package/assets/templates/backend-only/deployments/README.md +149 -0
- package/assets/templates/backend-only/deployments/development.specly +53 -0
- package/assets/templates/backend-only/deployments/production.specly +87 -0
- package/assets/templates/backend-only/docs/README.md +50 -0
- package/assets/templates/backend-only/docs/api/README.md +7 -0
- package/assets/templates/backend-only/docs/diagrams/README.md +85 -0
- package/assets/templates/backend-only/docs/example-documentation-template.md +269 -0
- package/assets/templates/backend-only/docs/guides/README.md +15 -0
- package/assets/templates/backend-only/dot.env.example +18 -0
- package/assets/templates/backend-only/generated/README.md +56 -0
- package/assets/templates/backend-only/generated/code/integration-test.template.js +320 -0
- package/assets/templates/backend-only/generated/code/package.json.template +34 -0
- package/assets/templates/backend-only/generated/docs/README.md +49 -0
- package/assets/templates/backend-only/gitignore +54 -0
- package/assets/templates/backend-only/manifests/README.md +72 -0
- package/assets/templates/backend-only/manifests/docker-compose.specly +91 -0
- package/assets/templates/backend-only/manifests/implementation.yaml +100 -0
- package/assets/templates/backend-only/manifests/kubernetes.specly +140 -0
- package/assets/templates/backend-only/package.json +59 -0
- package/assets/templates/backend-only/scripts/test-all.sh +160 -0
- package/assets/templates/backend-only/scripts/test-generated-code.sh +165 -0
- package/assets/templates/backend-only/specs/main.specly +67 -0
- package/assets/templates/default/CLAUDE.md +141 -0
- package/assets/templates/default/README.md +404 -0
- package/assets/templates/default/deployments/README.md +149 -0
- package/assets/templates/default/deployments/development.specly +53 -0
- package/assets/templates/default/deployments/production.specly +87 -0
- package/assets/templates/default/docs/README.md +50 -0
- package/assets/templates/default/docs/api/README.md +7 -0
- package/assets/templates/default/docs/diagrams/README.md +85 -0
- package/assets/templates/default/docs/example-documentation-template.md +269 -0
- package/assets/templates/default/docs/guides/README.md +15 -0
- package/assets/templates/default/dot.env.example +18 -0
- package/assets/templates/default/generated/README.md +56 -0
- package/assets/templates/default/generated/code/integration-test.template.js +320 -0
- package/assets/templates/default/generated/code/package.json.template +34 -0
- package/assets/templates/default/generated/docs/README.md +49 -0
- package/assets/templates/default/gitignore +54 -0
- package/assets/templates/default/manifests/README.md +72 -0
- package/assets/templates/default/manifests/docker-compose.specly +91 -0
- package/assets/templates/default/manifests/implementation.yaml +176 -0
- package/assets/templates/default/manifests/kubernetes.specly +140 -0
- package/assets/templates/default/package.json +61 -0
- package/assets/templates/default/scripts/test-all.sh +160 -0
- package/assets/templates/default/scripts/test-generated-code.sh +165 -0
- package/assets/templates/default/specs/main.specly +67 -0
- package/assets/templates/frontend-only/CLAUDE.md +75 -0
- package/assets/templates/frontend-only/README.md +231 -0
- package/assets/templates/frontend-only/deployments/README.md +149 -0
- package/assets/templates/frontend-only/deployments/development.specly +53 -0
- package/assets/templates/frontend-only/deployments/production.specly +87 -0
- package/assets/templates/frontend-only/docs/README.md +50 -0
- package/assets/templates/frontend-only/docs/api/README.md +7 -0
- package/assets/templates/frontend-only/docs/diagrams/README.md +85 -0
- package/assets/templates/frontend-only/docs/example-documentation-template.md +269 -0
- package/assets/templates/frontend-only/docs/guides/README.md +15 -0
- package/assets/templates/frontend-only/dot.env.example +18 -0
- package/assets/templates/frontend-only/generated/README.md +56 -0
- package/assets/templates/frontend-only/generated/code/integration-test.template.js +320 -0
- package/assets/templates/frontend-only/generated/code/package.json.template +34 -0
- package/assets/templates/frontend-only/generated/docs/README.md +49 -0
- package/assets/templates/frontend-only/gitignore +54 -0
- package/assets/templates/frontend-only/manifests/README.md +72 -0
- package/assets/templates/frontend-only/manifests/docker-compose.specly +91 -0
- package/assets/templates/frontend-only/manifests/implementation.yaml +58 -0
- package/assets/templates/frontend-only/manifests/kubernetes.specly +140 -0
- package/assets/templates/frontend-only/package.json +59 -0
- package/assets/templates/frontend-only/scripts/test-all.sh +160 -0
- package/assets/templates/frontend-only/scripts/test-generated-code.sh +165 -0
- package/assets/templates/frontend-only/specs/main.specly +57 -0
- package/assets/templates/full-stack/AI-GUIDE.md +60 -0
- package/assets/templates/full-stack/CLAUDE.md +141 -0
- package/assets/templates/full-stack/README.md +382 -0
- package/assets/templates/full-stack/archive/AI-GUIDE-legacy.md +392 -0
- package/assets/templates/full-stack/deployments/README.md +149 -0
- package/assets/templates/full-stack/deployments/development.specly +53 -0
- package/assets/templates/full-stack/deployments/production.specly +87 -0
- package/assets/templates/full-stack/docs/README.md +51 -0
- package/assets/templates/full-stack/docs/api/README.md +7 -0
- package/assets/templates/full-stack/docs/diagrams/README.md +85 -0
- package/assets/templates/full-stack/docs/example-documentation-template.md +269 -0
- package/assets/templates/full-stack/docs/guides/README.md +15 -0
- package/assets/templates/full-stack/generated/README.md +56 -0
- package/assets/templates/full-stack/generated/code/integration-test.template.js +320 -0
- package/assets/templates/full-stack/generated/code/package.json.template +34 -0
- package/assets/templates/full-stack/generated/docs/README.md +49 -0
- package/assets/templates/full-stack/gitignore +54 -0
- package/assets/templates/full-stack/manifests/README.md +72 -0
- package/assets/templates/full-stack/manifests/docker-compose.specly +91 -0
- package/assets/templates/full-stack/manifests/implementation.yaml +155 -0
- package/assets/templates/full-stack/manifests/kubernetes.specly +140 -0
- package/assets/templates/full-stack/package.json +45 -0
- package/assets/templates/full-stack/scripts/test-all.sh +160 -0
- package/assets/templates/full-stack/scripts/test-generated-code.sh +165 -0
- package/assets/templates/full-stack/specs/example-v33.specly +297 -0
- package/assets/templates/full-stack/specs/main-simple.specly +73 -0
- package/assets/templates/full-stack/specs/main.specly +408 -0
- package/dist/engines/code-generator.d.ts +86 -0
- package/dist/engines/code-generator.d.ts.map +1 -0
- package/dist/engines/code-generator.js +159 -0
- package/dist/engines/code-generator.js.map +1 -0
- package/dist/engines/engine-registry.d.ts +94 -0
- package/dist/engines/engine-registry.d.ts.map +1 -0
- package/dist/engines/engine-registry.js +163 -0
- package/dist/engines/engine-registry.js.map +1 -0
- package/dist/engines/index.d.ts +10 -0
- package/dist/engines/index.d.ts.map +1 -0
- package/dist/engines/index.js +12 -0
- package/dist/engines/index.js.map +1 -0
- package/dist/engines/typescript-engine.d.ts +74 -0
- package/dist/engines/typescript-engine.d.ts.map +1 -0
- package/dist/engines/typescript-engine.js +288 -0
- package/dist/engines/typescript-engine.js.map +1 -0
- package/dist/generators/index.d.ts +11 -0
- package/dist/generators/index.d.ts.map +1 -0
- package/dist/generators/index.js +11 -0
- package/dist/generators/index.js.map +1 -0
- package/dist/index.d.ts +48 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +434 -0
- package/dist/index.js.map +1 -0
- package/dist/library/index.d.ts +12 -0
- package/dist/library/index.d.ts.map +1 -0
- package/dist/library/index.js +15 -0
- package/dist/library/index.js.map +1 -0
- package/dist/library/library.d.ts +132 -0
- package/dist/library/library.d.ts.map +1 -0
- package/dist/library/library.js +343 -0
- package/dist/library/library.js.map +1 -0
- package/dist/library/loader.d.ts +73 -0
- package/dist/library/loader.d.ts.map +1 -0
- package/dist/library/loader.js +150 -0
- package/dist/library/loader.js.map +1 -0
- package/dist/library/resolver.d.ts +104 -0
- package/dist/library/resolver.d.ts.map +1 -0
- package/dist/library/resolver.js +299 -0
- package/dist/library/resolver.js.map +1 -0
- package/dist/library/validator.d.ts +65 -0
- package/dist/library/validator.d.ts.map +1 -0
- package/dist/library/validator.js +203 -0
- package/dist/library/validator.js.map +1 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +7 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/instance-factory.d.ts +289 -0
- package/dist/types/instance-factory.d.ts.map +1 -0
- package/dist/types/instance-factory.js +8 -0
- package/dist/types/instance-factory.js.map +1 -0
- package/dist/types/unified-mappings.d.ts +163 -0
- package/dist/types/unified-mappings.d.ts.map +1 -0
- package/dist/types/unified-mappings.js +110 -0
- package/dist/types/unified-mappings.js.map +1 -0
- package/dist/utils/ai-spec-loader.d.ts +77 -0
- package/dist/utils/ai-spec-loader.d.ts.map +1 -0
- package/dist/utils/ai-spec-loader.js +138 -0
- package/dist/utils/ai-spec-loader.js.map +1 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +9 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/manifest-loader.d.ts +107 -0
- package/dist/utils/manifest-loader.d.ts.map +1 -0
- package/dist/utils/manifest-loader.js +168 -0
- package/dist/utils/manifest-loader.js.map +1 -0
- package/dist/utils/mapping-migration.d.ts +53 -0
- package/dist/utils/mapping-migration.d.ts.map +1 -0
- package/dist/utils/mapping-migration.js +194 -0
- package/dist/utils/mapping-migration.js.map +1 -0
- package/libs/instance-factories/CURVED-INTERFACE.md +278 -0
- package/libs/instance-factories/README.md +433 -0
- package/libs/instance-factories/applications/generic-app.yaml +52 -0
- package/libs/instance-factories/applications/react-app.yaml +186 -0
- package/libs/instance-factories/applications/templates/generic/backend-env-generator.ts +31 -0
- package/libs/instance-factories/applications/templates/generic/backend-package-json-generator.ts +80 -0
- package/libs/instance-factories/applications/templates/generic/backend-tsconfig-generator.ts +69 -0
- package/libs/instance-factories/applications/templates/generic/main-generator.ts +308 -0
- package/libs/instance-factories/applications/templates/react/_view-components-source.ts +555 -0
- package/libs/instance-factories/applications/templates/react/api-client-generator.ts +436 -0
- package/libs/instance-factories/applications/templates/react/api-types-generator.ts +153 -0
- package/libs/instance-factories/applications/templates/react/app-tsx-generator.ts +94 -0
- package/libs/instance-factories/applications/templates/react/env-example-generator.ts +24 -0
- package/libs/instance-factories/applications/templates/react/field-helpers-generator.ts +106 -0
- package/libs/instance-factories/applications/templates/react/gitignore-generator.ts +38 -0
- package/libs/instance-factories/applications/templates/react/index-css-generator.ts +85 -0
- package/libs/instance-factories/applications/templates/react/index-html-generator.ts +30 -0
- package/libs/instance-factories/applications/templates/react/main-tsx-generator.ts +34 -0
- package/libs/instance-factories/applications/templates/react/package-json-generator.ts +54 -0
- package/libs/instance-factories/applications/templates/react/pattern-adapter-generator.ts +179 -0
- package/libs/instance-factories/applications/templates/react/react-pattern-adapter.tsx +1347 -0
- package/libs/instance-factories/applications/templates/react/relationship-field-generator.ts +150 -0
- package/libs/instance-factories/applications/templates/react/tailwind-adapter-generator.ts +704 -0
- package/libs/instance-factories/applications/templates/react/tailwind-adapter-wrapper-generator.ts +84 -0
- package/libs/instance-factories/applications/templates/react/tsconfig-generator.ts +35 -0
- package/libs/instance-factories/applications/templates/react/use-api-hooks-generator.ts +121 -0
- package/libs/instance-factories/applications/templates/react/view-dashboard-generator.ts +150 -0
- package/libs/instance-factories/applications/templates/react/view-detail-generator.ts +150 -0
- package/libs/instance-factories/applications/templates/react/view-form-generator.ts +362 -0
- package/libs/instance-factories/applications/templates/react/view-list-generator.ts +98 -0
- package/libs/instance-factories/applications/templates/react/view-router-generator.ts +89 -0
- package/libs/instance-factories/applications/templates/react/vite-config-generator.ts +49 -0
- package/libs/instance-factories/archived/fastify-prisma.yaml +104 -0
- package/libs/instance-factories/cli/commander-js.yaml +55 -0
- package/libs/instance-factories/cli/templates/commander/cli-entry-generator.d.ts +12 -0
- package/libs/instance-factories/cli/templates/commander/cli-entry-generator.d.ts.map +1 -0
- package/libs/instance-factories/cli/templates/commander/cli-entry-generator.js +115 -0
- package/libs/instance-factories/cli/templates/commander/cli-entry-generator.js.map +1 -0
- package/libs/instance-factories/cli/templates/commander/cli-entry-generator.ts +145 -0
- package/libs/instance-factories/cli/templates/commander/command-generator.d.ts +14 -0
- package/libs/instance-factories/cli/templates/commander/command-generator.d.ts.map +1 -0
- package/libs/instance-factories/cli/templates/commander/command-generator.js +182 -0
- package/libs/instance-factories/cli/templates/commander/command-generator.js.map +1 -0
- package/libs/instance-factories/cli/templates/commander/command-generator.ts +992 -0
- package/libs/instance-factories/communication/event-emitter.yaml +56 -0
- package/libs/instance-factories/communication/rabbitmq-events.yaml +87 -0
- package/libs/instance-factories/communication/templates/eventemitter/bus-generator.ts +93 -0
- package/libs/instance-factories/communication/templates/eventemitter/publisher-generator.ts +117 -0
- package/libs/instance-factories/communication/templates/eventemitter/subscriber-generator.ts +101 -0
- package/libs/instance-factories/controllers/fastify.yaml +127 -0
- package/libs/instance-factories/controllers/templates/fastify/meta-routes-generator.ts +103 -0
- package/libs/instance-factories/controllers/templates/fastify/routes-generator.ts +389 -0
- package/libs/instance-factories/controllers/templates/fastify/server-generator.ts +76 -0
- package/libs/instance-factories/infrastructure/docker-k8s.yaml +61 -0
- package/libs/instance-factories/infrastructure/templates/docker-k8s/infrastructure-generator.ts +46 -0
- package/libs/instance-factories/orms/prisma.yaml +89 -0
- package/libs/instance-factories/orms/templates/prisma/schema-generator.ts +563 -0
- package/libs/instance-factories/orms/templates/prisma/services-generator.ts +408 -0
- package/libs/instance-factories/scaffolding/generic-scaffold.yaml +65 -0
- package/libs/instance-factories/scaffolding/templates/generic/env-example-generator.ts +73 -0
- package/libs/instance-factories/scaffolding/templates/generic/env-generator.ts +85 -0
- package/libs/instance-factories/scaffolding/templates/generic/gitignore-generator.ts +69 -0
- package/libs/instance-factories/scaffolding/templates/generic/package-json-generator.ts +176 -0
- package/libs/instance-factories/scaffolding/templates/generic/readme-generator.ts +207 -0
- package/libs/instance-factories/scaffolding/templates/generic/tsconfig-generator.ts +78 -0
- package/libs/instance-factories/scaffolding/templates/generic/tsconfig-react-generator.ts +41 -0
- package/libs/instance-factories/sdks/python-sdk.yaml +66 -0
- package/libs/instance-factories/sdks/templates/python/sdk-generator.ts +50 -0
- package/libs/instance-factories/sdks/templates/typescript/sdk-generator.ts +49 -0
- package/libs/instance-factories/sdks/typescript-sdk.yaml +59 -0
- package/libs/instance-factories/services/prisma-services.yaml +71 -0
- package/libs/instance-factories/services/templates/prisma/behavior-generator.ts +303 -0
- package/libs/instance-factories/services/templates/prisma/controller-generator.ts +532 -0
- package/libs/instance-factories/services/templates/prisma/service-generator.ts +315 -0
- package/libs/instance-factories/shared/path-resolver.ts +111 -0
- package/libs/instance-factories/storage/mongodb.yaml +79 -0
- package/libs/instance-factories/storage/postgresql.yaml +75 -0
- package/libs/instance-factories/storage/redis.yaml +79 -0
- package/libs/instance-factories/storage/templates/mongodb/config-generator.ts +15 -0
- package/libs/instance-factories/storage/templates/mongodb/docker-generator.ts +18 -0
- package/libs/instance-factories/storage/templates/postgresql/config-generator.ts +54 -0
- package/libs/instance-factories/storage/templates/postgresql/docker-generator.ts +55 -0
- package/libs/instance-factories/storage/templates/redis/config-generator.ts +16 -0
- package/libs/instance-factories/storage/templates/redis/docker-generator.ts +18 -0
- package/libs/instance-factories/test-generation.ts +192 -0
- package/libs/instance-factories/testing/templates/vitest/tests-generator.ts +51 -0
- package/libs/instance-factories/testing/vitest-tests.yaml +63 -0
- package/libs/instance-factories/tools/templates/mcp/mcp-server-generator.ts +136 -0
- package/libs/instance-factories/tools/templates/mcp/static/docs/DEPLOYMENT_GUIDE.md +630 -0
- package/libs/instance-factories/tools/templates/mcp/static/docs/HYBRID_RESOURCE_SYSTEM.md +330 -0
- package/libs/instance-factories/tools/templates/mcp/static/docs/deployments/EXTENSION_DEPLOYMENT.md +552 -0
- package/libs/instance-factories/tools/templates/mcp/static/docs/deployments/LOCAL_DEPLOYMENT.md +164 -0
- package/libs/instance-factories/tools/templates/mcp/static/docs/deployments/WEB_DEPLOYMENT.md +247 -0
- package/libs/instance-factories/tools/templates/mcp/static/package.json +92 -0
- package/libs/instance-factories/tools/templates/mcp/static/scripts/build-enterprise.js +284 -0
- package/libs/instance-factories/tools/templates/mcp/static/scripts/build-extension.js +139 -0
- package/libs/instance-factories/tools/templates/mcp/static/scripts/build-local.js +74 -0
- package/libs/instance-factories/tools/templates/mcp/static/scripts/build-web.js +156 -0
- package/libs/instance-factories/tools/templates/mcp/static/scripts/copy-canonical-files.js +41 -0
- package/libs/instance-factories/tools/templates/mcp/static/scripts/test-deployments.js +259 -0
- package/libs/instance-factories/tools/templates/mcp/static/scripts/test-hybrid-resources.js +231 -0
- package/libs/instance-factories/tools/templates/mcp/static/scripts/test-hybrid-simple.js +196 -0
- package/libs/instance-factories/tools/templates/mcp/static/src/controllers/MCPServerController.ts +293 -0
- package/libs/instance-factories/tools/templates/mcp/static/src/events/EventEmitter.ts +90 -0
- package/libs/instance-factories/tools/templates/mcp/static/src/index.ts +24 -0
- package/libs/instance-factories/tools/templates/mcp/static/src/interfaces/ResourceProvider.ts +15 -0
- package/libs/instance-factories/tools/templates/mcp/static/src/models/LibrarySuggestion.ts +106 -0
- package/libs/instance-factories/tools/templates/mcp/static/src/models/SpecVerseResource.ts +75 -0
- package/libs/instance-factories/tools/templates/mcp/static/src/server/mcp-server.ts +239 -0
- package/libs/instance-factories/tools/templates/mcp/static/src/services/CLIProxyService.ts +1501 -0
- package/libs/instance-factories/tools/templates/mcp/static/src/services/EmbeddedResourcesAdapter.ts +211 -0
- package/libs/instance-factories/tools/templates/mcp/static/src/services/EntityModuleService.ts +308 -0
- package/libs/instance-factories/tools/templates/mcp/static/src/services/HybridResourcesProvider.ts +210 -0
- package/libs/instance-factories/tools/templates/mcp/static/src/services/LibraryToolsService.ts +356 -0
- package/libs/instance-factories/tools/templates/mcp/static/src/services/OrchestratorBridge.ts +524 -0
- package/libs/instance-factories/tools/templates/mcp/static/src/services/OrchestratorToolsService.ts +530 -0
- package/libs/instance-factories/tools/templates/mcp/static/src/services/PromptToolsService.ts +594 -0
- package/libs/instance-factories/tools/templates/mcp/static/src/services/ResourcesProviderService.ts +170 -0
- package/libs/instance-factories/tools/templates/mcp/static/src/tests/unit/CLIProxyService.init.test.ts +544 -0
- package/libs/instance-factories/tools/templates/mcp/static/src/tests/unit/CLIProxyService.test.ts +189 -0
- package/libs/instance-factories/tools/templates/mcp/static/src/tests/unit/ResourcesProviderService.test.ts +89 -0
- package/libs/instance-factories/tools/templates/mcp/static/src/types/index.ts +110 -0
- package/libs/instance-factories/tools/templates/mcp/static/tsconfig.json +28 -0
- package/libs/instance-factories/tools/templates/vscode/static/extension.ts +1195 -0
- package/libs/instance-factories/tools/templates/vscode/static/language-configuration.json +34 -0
- package/libs/instance-factories/tools/templates/vscode/static/schemas/specverse-v3-schema.json +4279 -0
- package/libs/instance-factories/tools/templates/vscode/static/syntaxes/specverse.tmLanguage.json +138 -0
- package/libs/instance-factories/tools/templates/vscode/static/themes/README.md +74 -0
- package/libs/instance-factories/tools/templates/vscode/static/themes/complete-specverse-colors.json +122 -0
- package/libs/instance-factories/tools/templates/vscode/static/themes/specverse-basic-theme.json +65 -0
- package/libs/instance-factories/tools/templates/vscode/static/themes/specverse-complete-theme.json +123 -0
- package/libs/instance-factories/tools/templates/vscode/static/themes/specverse-theme-colors.json +64 -0
- package/libs/instance-factories/tools/templates/vscode/vscode-extension-generator.ts +214 -0
- package/libs/instance-factories/validation/templates/zod/validation-generator.ts +46 -0
- package/libs/instance-factories/validation/zod.yaml +56 -0
- package/libs/instance-factories/views/index.d.ts +13 -0
- package/libs/instance-factories/views/index.d.ts.map +1 -0
- package/libs/instance-factories/views/index.js +18 -0
- package/libs/instance-factories/views/index.js.map +1 -0
- package/libs/instance-factories/views/index.ts +45 -0
- package/libs/instance-factories/views/react-components.yaml +129 -0
- package/libs/instance-factories/views/templates/ARCHITECTURE.md +198 -0
- package/libs/instance-factories/views/templates/react/adapters/antd-adapter.ts +869 -0
- package/libs/instance-factories/views/templates/react/adapters/mui-adapter.ts +953 -0
- package/libs/instance-factories/views/templates/react/adapters/shadcn-adapter.ts +806 -0
- package/libs/instance-factories/views/templates/react/app-generator.ts +55 -0
- package/libs/instance-factories/views/templates/react/components-generator.ts +391 -0
- package/libs/instance-factories/views/templates/react/forms-generator.ts +343 -0
- package/libs/instance-factories/views/templates/react/frontend-package-json-generator.ts +54 -0
- package/libs/instance-factories/views/templates/react/hooks-generator.ts +122 -0
- package/libs/instance-factories/views/templates/react/index-css-generator.ts +209 -0
- package/libs/instance-factories/views/templates/react/index-html-generator.ts +34 -0
- package/libs/instance-factories/views/templates/react/main-tsx-generator.ts +29 -0
- package/libs/instance-factories/views/templates/react/react-component-generator.d.ts +152 -0
- package/libs/instance-factories/views/templates/react/react-component-generator.d.ts.map +1 -0
- package/libs/instance-factories/views/templates/react/react-component-generator.js +398 -0
- package/libs/instance-factories/views/templates/react/react-component-generator.js.map +1 -0
- package/libs/instance-factories/views/templates/react/react-component-generator.ts +533 -0
- package/libs/instance-factories/views/templates/react/router-generator.ts +197 -0
- package/libs/instance-factories/views/templates/react/router-generic-generator.ts +103 -0
- package/libs/instance-factories/views/templates/react/spec-json-generator.ts +17 -0
- package/libs/instance-factories/views/templates/react/types-generator.ts +76 -0
- package/libs/instance-factories/views/templates/react/views-metadata-generator.ts +42 -0
- package/libs/instance-factories/views/templates/react/vite-config-generator.ts +38 -0
- package/libs/instance-factories/views/templates/runtime/runtime-view-renderer.d.ts.map +1 -0
- package/libs/instance-factories/views/templates/runtime/runtime-view-renderer.js.map +1 -0
- package/libs/instance-factories/views/templates/runtime/runtime-view-renderer.ts +474 -0
- package/libs/instance-factories/views/templates/shared/__tests__/composite-patterns.test.ts +242 -0
- package/libs/instance-factories/views/templates/shared/adapter-types.d.ts +77 -0
- package/libs/instance-factories/views/templates/shared/adapter-types.d.ts.map +1 -0
- package/libs/instance-factories/views/templates/shared/adapter-types.js +47 -0
- package/libs/instance-factories/views/templates/shared/adapter-types.js.map +1 -0
- package/libs/instance-factories/views/templates/shared/adapter-types.ts +142 -0
- package/libs/instance-factories/views/templates/shared/atomic-components-registry.d.ts +63 -0
- package/libs/instance-factories/views/templates/shared/atomic-components-registry.d.ts.map +1 -0
- package/libs/instance-factories/views/templates/shared/atomic-components-registry.js +822 -0
- package/libs/instance-factories/views/templates/shared/atomic-components-registry.js.map +1 -0
- package/libs/instance-factories/views/templates/shared/atomic-components-registry.ts +908 -0
- package/libs/instance-factories/views/templates/shared/base-generator.d.ts +247 -0
- package/libs/instance-factories/views/templates/shared/base-generator.d.ts.map +1 -0
- package/libs/instance-factories/views/templates/shared/base-generator.js +363 -0
- package/libs/instance-factories/views/templates/shared/base-generator.js.map +1 -0
- package/libs/instance-factories/views/templates/shared/base-generator.ts +608 -0
- package/libs/instance-factories/views/templates/shared/component-metadata.d.ts +254 -0
- package/libs/instance-factories/views/templates/shared/component-metadata.d.ts.map +1 -0
- package/libs/instance-factories/views/templates/shared/component-metadata.js +602 -0
- package/libs/instance-factories/views/templates/shared/component-metadata.js.map +1 -0
- package/libs/instance-factories/views/templates/shared/component-metadata.ts +803 -0
- package/libs/instance-factories/views/templates/shared/composite-pattern-types.ts +250 -0
- package/libs/instance-factories/views/templates/shared/composite-patterns.ts +535 -0
- package/libs/instance-factories/views/templates/shared/index.ts +68 -0
- package/libs/instance-factories/views/templates/shared/pattern-validator.ts +279 -0
- package/libs/instance-factories/views/templates/shared/property-mapper.d.ts +149 -0
- package/libs/instance-factories/views/templates/shared/property-mapper.d.ts.map +1 -0
- package/libs/instance-factories/views/templates/shared/property-mapper.js +580 -0
- package/libs/instance-factories/views/templates/shared/property-mapper.js.map +1 -0
- package/libs/instance-factories/views/templates/shared/property-mapper.ts +700 -0
- package/libs/instance-factories/views/templates/shared/syntax-mapper.d.ts +143 -0
- package/libs/instance-factories/views/templates/shared/syntax-mapper.d.ts.map +1 -0
- package/libs/instance-factories/views/templates/shared/syntax-mapper.js +420 -0
- package/libs/instance-factories/views/templates/shared/syntax-mapper.js.map +1 -0
- package/libs/instance-factories/views/templates/shared/syntax-mapper.ts +539 -0
- package/package.json +42 -0
- package/schema/SPECVERSE-SCHEMA.json +4274 -0
package/libs/instance-factories/tools/templates/vscode/static/syntaxes/specverse.tmLanguage.json
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
|
|
3
|
+
"name": "SpecVerse Specly",
|
|
4
|
+
"scopeName": "source.specly",
|
|
5
|
+
"fileTypes": [
|
|
6
|
+
"specly"
|
|
7
|
+
],
|
|
8
|
+
"version": "1.0.0",
|
|
9
|
+
"patterns": [
|
|
10
|
+
{
|
|
11
|
+
"name": "comment.line.number-sign.specly",
|
|
12
|
+
"match": "#.*$"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "keyword.control.container.specly",
|
|
16
|
+
"match": "\\\\b(components|deployments):"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "keyword.control.section.specly",
|
|
20
|
+
"match": "\\\\b(component|deployment|version|description|tags|import|export|models|controllers|services|views|events):"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "keyword.control.subsection.specly",
|
|
24
|
+
"match": "\\\\b(manifests|name|type|required|unique|isArray|auto|min|max|default|verified|searchable|values|parameters|returns|requires|ensures|publishes|steps|primitives|commands|constraints|from|file|package|namespace|select|as|extends|profiles|metadata|attributes|relationships|lifecycles|behaviors|profile-attachment|target|cascade|dependent|eager|lazy|through|flow|states|transitions|actions|conditions|priority|id|fields|label|audit|timestamps|users|timestampNames|created|updated|userNames|softDelete|enabled|fieldNames|deletedAt|isDeleted|status|field|lifecycle|baseType|typeAlias|validation|pattern|format|model|subscribes_to|cured|create|retrieve|retrieve_many|update|evolve|delete|validate|operations|previousVersions|compatibility|deprecated|deprecationMessage|layout|uiComponents|properties|$ref|environment|instances|communications|storage|security|infrastructure|monitoring|advertises|uses|scale|config|rateLimit|timeout|requestMs|keepAliveMs|resources|autoscaling|capabilities|consumer|concurrency|prefetch|autoAck|persistence|consistency|encryption|backup|replication|scope|policies|auditLevel|healthCheck|loadBalancing|redundancy|retention|alerting|sampling|arguments|positional|flags|alias|exitCodes|subcommands|implies|when_modified_by|adds|sets|validates|appliesTo|source|aggregation|computation|filter|dimensions|specVersion|deploymentSource|deploymentName|deploymentVersion|defaultMappings|controller|service|view|communication|capabilityMappings|capability|instanceFactory|configuration|instanceMappings|instanceName|manifestTemplates|template|conditionalMappings|condition|region|featureFlags|fallback|degradedMode|warnings|errors|requiredAcknowledgment|conflicts|instanceFactories|reason|severity|library|componentSource|componentVersion|overrides|localExtensions|technology|framework|adapter|provider|libraries|environmentVariables|defaultPath|modelName|behaviorName|implementationMethod|implementationPath|implementationType|capabilityType|channelBinding|channelName|strategy|namespaces|isolation|resourceLimits|securityPolicy|crossNamespacePolicy|category|specverse|node|provides|runtime|language|database|dependencies|optional|dev|peer|codeTemplates|engine|generator|prompt|outputPattern|validators|postProcessors|configurationSchema|configurationDocs|author|repository|homepage|license|keywords|documentation|requirements|example|files|path|middleware|global|preHandler|postHandler|onResponse|onError|interceptors|route|guards|pipes|dependencyInjection|defaultScope|scopeOptions|mount|unmount|beforeUpdate|afterUpdate|contentNegotiation|serializers|contentType|handler|parsers|eventRouting|mechanism|exchangeType|topicStrategy|partitionStrategy|routingKeyPattern|groupIdPattern|queuePattern|autoCommit|deadLetterQueue|namingPattern|webhookVerification|signatureHeader|algorithm|verificationMethod|styling|method|fileExtension|classNameStrategy|preprocessor|scoped|migrations|to|breaking|migrationSteps|step|automated|command|codemod|estimatedDuration|rollbackStrategy|automatic|backupRequired|deprecations|api|replacement|peerDependencies|columns|placeholder|chartType|dataSource|options|value|minLength|maxLength|additionalProperties|regions|width|minWidth|maxWidth|height|minHeight|maxHeight|flex|order|align|spacing|responsive|mobile|tablet|desktop|authenticated|authorized|realtime|sortable|filterable|paginated|pagination|exportable|printable|bookmarkable|cacheable|editable|refreshInterval|theme|locale|transactional|propagation|readOnly|retry|circuitBreaker|idempotency|keyField|ttlSeconds|cache|keyFields|requestsPerMinute|burstSize|byIP|byUser|byApiKey|maxAttempts|backoffMs|backoffMultiplier|maxBackoffMs|retryableErrors|failureThreshold|successThreshold|timeoutMs|halfOpenAfterMs|requests|cpu|memory|ephemeralStorage|limits|minReplicas|maxReplicas|targetCPU|targetMemory|customMetrics|averageValue|scaleDown|stabilizationWindowSeconds|selectPolicy|scaleUp):"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "keyword.control.cured.specly",
|
|
28
|
+
"match": "\\b(create|retrieve|retrieve_many|update|evolve|delete|validate):"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "keyword.control.executable.specly",
|
|
32
|
+
"match": "\\b(parameters|returns|requires|ensures|publishes|steps):"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "keyword.control.lifecycle.specly",
|
|
36
|
+
"match": "\\b(flow|states|transitions):"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "support.type.specly",
|
|
40
|
+
"match": "\\\\b(String|Text|Integer|Number|Boolean|Date|DateTime|UUID|Email|URL|JSON|Object|Array)\\\\b"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"comment": "Array<Type> generic syntax",
|
|
44
|
+
"match": "\\\\b(Array)(<)([A-Z][A-Za-z0-9_]*)(>)",
|
|
45
|
+
"captures": {
|
|
46
|
+
"1": {
|
|
47
|
+
"name": "support.type.specly"
|
|
48
|
+
},
|
|
49
|
+
"2": {
|
|
50
|
+
"name": "punctuation.definition.typeparameters.begin.specly"
|
|
51
|
+
},
|
|
52
|
+
"3": {
|
|
53
|
+
"name": "entity.name.type.specly"
|
|
54
|
+
},
|
|
55
|
+
"4": {
|
|
56
|
+
"name": "punctuation.definition.typeparameters.end.specly"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "entity.name.type.relationship.specly",
|
|
62
|
+
"match": "\\b(hasMany|hasOne|belongsTo|manyToMany)\\b"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "storage.modifier.attribute.specly",
|
|
66
|
+
"match": "\\b(required|unique|optional|searchable|verified)\\b"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "storage.modifier.relationship.specly",
|
|
70
|
+
"match": "\\b(cascade|dependent|eager|lazy)\\b"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "keyword.control.inference.specly",
|
|
74
|
+
"match": "\\b(infer|ai-generated|auto-inferred)\\b"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "keyword.control.v31-features.specly",
|
|
78
|
+
"match": "\\b(profile|attachment|subscription|handler|Money|Decimal)\\b"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "keyword.control.deployment.specly",
|
|
82
|
+
"match": "\\b(component|namespace|advertises|uses|capabilities|scale|environment|type):"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "keyword.operator.arrow.specly",
|
|
86
|
+
"match": "->"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "entity.name.tag.yaml.specly",
|
|
90
|
+
"match": "^\\s*([a-zA-Z_][a-zA-Z0-9_]*)\\s*:",
|
|
91
|
+
"captures": {
|
|
92
|
+
"1": {
|
|
93
|
+
"name": "entity.name.tag.yaml.specly"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"match": "\\b(auto|default|min|max|through)(=)([^\\s]+)",
|
|
99
|
+
"captures": {
|
|
100
|
+
"1": {
|
|
101
|
+
"name": "storage.modifier.assignment.specly"
|
|
102
|
+
},
|
|
103
|
+
"2": {
|
|
104
|
+
"name": "keyword.operator.assignment.specly"
|
|
105
|
+
},
|
|
106
|
+
"3": {
|
|
107
|
+
"name": "string.unquoted.value.specly"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "string.quoted.double.specly",
|
|
113
|
+
"begin": "\"",
|
|
114
|
+
"end": "\"",
|
|
115
|
+
"patterns": [
|
|
116
|
+
{
|
|
117
|
+
"name": "constant.character.escape.specly",
|
|
118
|
+
"match": "\\\\."
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "string.quoted.single.specly",
|
|
124
|
+
"begin": "'",
|
|
125
|
+
"end": "'",
|
|
126
|
+
"patterns": [
|
|
127
|
+
{
|
|
128
|
+
"name": "constant.character.escape.specly",
|
|
129
|
+
"match": "\\\\."
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "constant.numeric.specly",
|
|
135
|
+
"match": "\\b[0-9]+\\.?[0-9]*\\b"
|
|
136
|
+
}
|
|
137
|
+
]
|
|
138
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# SpecVerse VS Code Color Themes
|
|
2
|
+
|
|
3
|
+
This directory contains VS Code color theme configurations for enhanced SpecVerse syntax highlighting.
|
|
4
|
+
|
|
5
|
+
## Available Themes
|
|
6
|
+
|
|
7
|
+
### Basic Theme (`specverse-theme-colors.json`)
|
|
8
|
+
A minimal color theme with essential highlighting for SpecVerse constructs:
|
|
9
|
+
- Keywords (component, models, etc.)
|
|
10
|
+
- Types (String, UUID, etc.)
|
|
11
|
+
- Modifiers (required, unique, etc.)
|
|
12
|
+
- Relationships (hasMany, belongsTo, etc.)
|
|
13
|
+
|
|
14
|
+
### Complete Theme (`complete-specverse-colors.json`)
|
|
15
|
+
A comprehensive color theme with detailed highlighting for all SpecVerse features:
|
|
16
|
+
- Section keywords (component, deployment, etc.)
|
|
17
|
+
- CURED operations (create, update, retrieve, etc.)
|
|
18
|
+
- Lifecycle flows and states
|
|
19
|
+
- Attribute and relationship modifiers
|
|
20
|
+
- Executable properties
|
|
21
|
+
- Comments and strings
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
### Option 1: Manual VS Code Settings
|
|
26
|
+
1. Open VS Code Settings (Cmd/Ctrl + ,)
|
|
27
|
+
2. Search for "token color customizations"
|
|
28
|
+
3. Edit `settings.json` and add the content from either theme file
|
|
29
|
+
|
|
30
|
+
### Option 2: Copy to Settings
|
|
31
|
+
```bash
|
|
32
|
+
# For basic theme
|
|
33
|
+
cat themes/specverse-theme-colors.json >> ~/.vscode/settings.json
|
|
34
|
+
|
|
35
|
+
# For complete theme
|
|
36
|
+
cat themes/complete-specverse-colors.json >> ~/.vscode/settings.json
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Option 3: Built-in Extension Themes
|
|
40
|
+
The SpecVerse extension now includes built-in color themes:
|
|
41
|
+
|
|
42
|
+
1. Install the SpecVerse extension
|
|
43
|
+
2. Open Command Palette (Cmd/Ctrl + Shift + P)
|
|
44
|
+
3. Type "Preferences: Color Theme"
|
|
45
|
+
4. Select either:
|
|
46
|
+
- **SpecVerse Basic** - Essential highlighting
|
|
47
|
+
- **SpecVerse Complete** - Comprehensive highlighting
|
|
48
|
+
|
|
49
|
+
## Theme Comparison
|
|
50
|
+
|
|
51
|
+
| Feature | Basic Theme | Complete Theme |
|
|
52
|
+
|---------|-------------|----------------|
|
|
53
|
+
| Keywords | ✅ | ✅ |
|
|
54
|
+
| Types | ✅ | ✅ |
|
|
55
|
+
| Modifiers | ✅ | ✅ |
|
|
56
|
+
| CURED Operations | ❌ | ✅ |
|
|
57
|
+
| Lifecycle Flows | ❌ | ✅ |
|
|
58
|
+
| Executable Properties | ❌ | ✅ |
|
|
59
|
+
| Advanced Syntax | ❌ | ✅ |
|
|
60
|
+
|
|
61
|
+
## Customization
|
|
62
|
+
|
|
63
|
+
You can customize colors by modifying the `foreground` values in the theme files:
|
|
64
|
+
- Use hex colors: `#569CD6`
|
|
65
|
+
- Adjust `fontStyle`: `"bold"`, `"italic"`, `"bold italic"`
|
|
66
|
+
- Modify scopes to target specific syntax elements
|
|
67
|
+
|
|
68
|
+
## Contributing
|
|
69
|
+
|
|
70
|
+
To improve the themes:
|
|
71
|
+
1. Test with various `.specly` files
|
|
72
|
+
2. Identify missing or incorrect highlighting
|
|
73
|
+
3. Update the appropriate theme file
|
|
74
|
+
4. Test the changes in VS Code
|
package/libs/instance-factories/tools/templates/vscode/static/themes/complete-specverse-colors.json
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
{
|
|
2
|
+
"editor.tokenColorCustomizations": {
|
|
3
|
+
"textMateRules": [
|
|
4
|
+
{
|
|
5
|
+
"scope": "keyword.control.section.specly",
|
|
6
|
+
"settings": {
|
|
7
|
+
"foreground": "#569CD6",
|
|
8
|
+
"fontStyle": "bold"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"scope": "keyword.control.subsection.specly",
|
|
13
|
+
"settings": {
|
|
14
|
+
"foreground": "#9CDCFE",
|
|
15
|
+
"fontStyle": "bold"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"scope": "keyword.control.cured.specly",
|
|
20
|
+
"settings": {
|
|
21
|
+
"foreground": "#FF6B6B",
|
|
22
|
+
"fontStyle": "bold"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"scope": "keyword.control.executable.specly",
|
|
27
|
+
"settings": {
|
|
28
|
+
"foreground": "#FFD700"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"scope": "keyword.control.lifecycle.specly",
|
|
33
|
+
"settings": {
|
|
34
|
+
"foreground": "#DA70D6"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"scope": "support.type.specly",
|
|
39
|
+
"settings": {
|
|
40
|
+
"foreground": "#4EC9B0",
|
|
41
|
+
"fontStyle": "bold"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"scope": "entity.name.type.relationship.specly",
|
|
46
|
+
"settings": {
|
|
47
|
+
"foreground": "#DCDCAA",
|
|
48
|
+
"fontStyle": "italic"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"scope": "storage.modifier.attribute.specly",
|
|
53
|
+
"settings": {
|
|
54
|
+
"foreground": "#C586C0"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"scope": "storage.modifier.relationship.specly",
|
|
59
|
+
"settings": {
|
|
60
|
+
"foreground": "#C586C0",
|
|
61
|
+
"fontStyle": "italic"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"scope": "storage.modifier.assignment.specly",
|
|
66
|
+
"settings": {
|
|
67
|
+
"foreground": "#FFA500"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"scope": "keyword.operator.arrow.specly",
|
|
72
|
+
"settings": {
|
|
73
|
+
"foreground": "#FF69B4",
|
|
74
|
+
"fontStyle": "bold"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"scope": "keyword.operator.assignment.specly",
|
|
79
|
+
"settings": {
|
|
80
|
+
"foreground": "#FFA500"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"scope": "entity.name.tag.yaml.specly",
|
|
85
|
+
"settings": {
|
|
86
|
+
"foreground": "#9CDCFE"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"scope": "string.quoted.double.specly",
|
|
91
|
+
"settings": {
|
|
92
|
+
"foreground": "#CE9178"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"scope": "string.quoted.single.specly",
|
|
97
|
+
"settings": {
|
|
98
|
+
"foreground": "#CE9178"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"scope": "string.unquoted.value.specly",
|
|
103
|
+
"settings": {
|
|
104
|
+
"foreground": "#D7BA7D"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"scope": "constant.numeric.specly",
|
|
109
|
+
"settings": {
|
|
110
|
+
"foreground": "#B5CEA8"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"scope": "comment.line.number-sign.specly",
|
|
115
|
+
"settings": {
|
|
116
|
+
"foreground": "#6A9955",
|
|
117
|
+
"fontStyle": "italic"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
}
|
package/libs/instance-factories/tools/templates/vscode/static/themes/specverse-basic-theme.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "SpecVerse Basic",
|
|
3
|
+
"type": "dark",
|
|
4
|
+
"colors": {},
|
|
5
|
+
"tokenColors": [
|
|
6
|
+
{
|
|
7
|
+
"scope": "keyword.control.specly",
|
|
8
|
+
"settings": {
|
|
9
|
+
"foreground": "#569CD6",
|
|
10
|
+
"fontStyle": "bold"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"scope": "entity.name.tag.specly",
|
|
15
|
+
"settings": {
|
|
16
|
+
"foreground": "#9CDCFE"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"scope": "support.type.specly",
|
|
21
|
+
"settings": {
|
|
22
|
+
"foreground": "#4EC9B0",
|
|
23
|
+
"fontStyle": "bold"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"scope": "storage.modifier.specly",
|
|
28
|
+
"settings": {
|
|
29
|
+
"foreground": "#C586C0"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"scope": "entity.name.type.relationship.specly",
|
|
34
|
+
"settings": {
|
|
35
|
+
"foreground": "#DCDCAA"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"scope": "keyword.control.cured.specly",
|
|
40
|
+
"settings": {
|
|
41
|
+
"foreground": "#FF6B6B",
|
|
42
|
+
"fontStyle": "bold"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"scope": "comment.line.number-sign.specly",
|
|
47
|
+
"settings": {
|
|
48
|
+
"foreground": "#6A9955",
|
|
49
|
+
"fontStyle": "italic"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"scope": "string.quoted.double.specly",
|
|
54
|
+
"settings": {
|
|
55
|
+
"foreground": "#CE9178"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"scope": "constant.numeric.specly",
|
|
60
|
+
"settings": {
|
|
61
|
+
"foreground": "#B5CEA8"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|
package/libs/instance-factories/tools/templates/vscode/static/themes/specverse-complete-theme.json
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "SpecVerse Complete",
|
|
3
|
+
"type": "dark",
|
|
4
|
+
"colors": {},
|
|
5
|
+
"tokenColors": [
|
|
6
|
+
{
|
|
7
|
+
"scope": "keyword.control.section.specly",
|
|
8
|
+
"settings": {
|
|
9
|
+
"foreground": "#569CD6",
|
|
10
|
+
"fontStyle": "bold"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"scope": "keyword.control.subsection.specly",
|
|
15
|
+
"settings": {
|
|
16
|
+
"foreground": "#9CDCFE",
|
|
17
|
+
"fontStyle": "bold"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"scope": "keyword.control.cured.specly",
|
|
22
|
+
"settings": {
|
|
23
|
+
"foreground": "#FF6B6B",
|
|
24
|
+
"fontStyle": "bold"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"scope": "keyword.control.executable.specly",
|
|
29
|
+
"settings": {
|
|
30
|
+
"foreground": "#FFD700"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"scope": "keyword.control.lifecycle.specly",
|
|
35
|
+
"settings": {
|
|
36
|
+
"foreground": "#DA70D6"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"scope": "support.type.specly",
|
|
41
|
+
"settings": {
|
|
42
|
+
"foreground": "#4EC9B0",
|
|
43
|
+
"fontStyle": "bold"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"scope": "entity.name.type.relationship.specly",
|
|
48
|
+
"settings": {
|
|
49
|
+
"foreground": "#DCDCAA",
|
|
50
|
+
"fontStyle": "italic"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"scope": "storage.modifier.attribute.specly",
|
|
55
|
+
"settings": {
|
|
56
|
+
"foreground": "#C586C0"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"scope": "storage.modifier.relationship.specly",
|
|
61
|
+
"settings": {
|
|
62
|
+
"foreground": "#C586C0",
|
|
63
|
+
"fontStyle": "italic"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"scope": "storage.modifier.assignment.specly",
|
|
68
|
+
"settings": {
|
|
69
|
+
"foreground": "#FFA500"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"scope": "keyword.operator.arrow.specly",
|
|
74
|
+
"settings": {
|
|
75
|
+
"foreground": "#FF69B4",
|
|
76
|
+
"fontStyle": "bold"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"scope": "keyword.operator.assignment.specly",
|
|
81
|
+
"settings": {
|
|
82
|
+
"foreground": "#FFA500"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"scope": "entity.name.tag.yaml.specly",
|
|
87
|
+
"settings": {
|
|
88
|
+
"foreground": "#9CDCFE"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"scope": "string.quoted.double.specly",
|
|
93
|
+
"settings": {
|
|
94
|
+
"foreground": "#CE9178"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"scope": "string.quoted.single.specly",
|
|
99
|
+
"settings": {
|
|
100
|
+
"foreground": "#CE9178"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"scope": "string.unquoted.value.specly",
|
|
105
|
+
"settings": {
|
|
106
|
+
"foreground": "#D7BA7D"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"scope": "constant.numeric.specly",
|
|
111
|
+
"settings": {
|
|
112
|
+
"foreground": "#B5CEA8"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"scope": "comment.line.number-sign.specly",
|
|
117
|
+
"settings": {
|
|
118
|
+
"foreground": "#6A9955",
|
|
119
|
+
"fontStyle": "italic"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
}
|
package/libs/instance-factories/tools/templates/vscode/static/themes/specverse-theme-colors.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"editor.tokenColorCustomizations": {
|
|
3
|
+
"textMateRules": [
|
|
4
|
+
{
|
|
5
|
+
"scope": "keyword.control.specly",
|
|
6
|
+
"settings": {
|
|
7
|
+
"foreground": "#569CD6",
|
|
8
|
+
"fontStyle": "bold"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"scope": "entity.name.tag.specly",
|
|
13
|
+
"settings": {
|
|
14
|
+
"foreground": "#9CDCFE"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"scope": "support.type.specly",
|
|
19
|
+
"settings": {
|
|
20
|
+
"foreground": "#4EC9B0",
|
|
21
|
+
"fontStyle": "bold"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"scope": "storage.modifier.specly",
|
|
26
|
+
"settings": {
|
|
27
|
+
"foreground": "#C586C0"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"scope": "entity.name.type.relationship.specly",
|
|
32
|
+
"settings": {
|
|
33
|
+
"foreground": "#DCDCAA"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"scope": "keyword.control.cured.specly",
|
|
38
|
+
"settings": {
|
|
39
|
+
"foreground": "#FF6B6B",
|
|
40
|
+
"fontStyle": "bold"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"scope": "comment.line.number-sign.specly",
|
|
45
|
+
"settings": {
|
|
46
|
+
"foreground": "#6A9955",
|
|
47
|
+
"fontStyle": "italic"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"scope": "string.quoted.double.specly",
|
|
52
|
+
"settings": {
|
|
53
|
+
"foreground": "#CE9178"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"scope": "constant.numeric.specly",
|
|
58
|
+
"settings": {
|
|
59
|
+
"foreground": "#B5CEA8"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
}
|