@lssm/bundle.contractspec-workspace 0.0.0-canary-20251217063201 → 0.0.0-canary-20251217073102
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 +22 -1
- package/dist/adapters/ai.js +82 -1
- package/dist/adapters/factory.js +36 -1
- package/dist/adapters/fs.js +118 -1
- package/dist/adapters/git.js +54 -1
- package/dist/adapters/index.js +7 -1
- package/dist/adapters/logger.js +80 -1
- package/dist/adapters/watcher.js +69 -1
- package/dist/adapters/workspace.js +190 -2
- package/dist/ai/agents/claude-code-agent.js +146 -9
- package/dist/ai/agents/cursor-agent.js +286 -17
- package/dist/ai/agents/index.js +5 -1
- package/dist/ai/agents/openai-codex-agent.js +140 -8
- package/dist/ai/agents/orchestrator.js +142 -1
- package/dist/ai/agents/simple-agent.js +80 -4
- package/dist/ai/client.js +162 -1
- package/dist/ai/index.js +27 -1
- package/dist/ai/prompts/code-generation.js +55 -13
- package/dist/ai/prompts/index.js +12 -1
- package/dist/ai/prompts/spec-creation.js +61 -20
- package/dist/ai/providers.js +40 -1
- package/dist/formatters/index.js +18 -1
- package/dist/formatters/json.js +71 -1
- package/dist/formatters/sarif.js +163 -1
- package/dist/formatters/text.js +208 -2
- package/dist/index.js +81 -1
- package/dist/libs/ai-providers/dist/factory.js +154 -1
- package/dist/libs/ai-providers/dist/index.js +4 -1
- package/dist/libs/ai-providers/dist/legacy.js +72 -1
- package/dist/libs/ai-providers/dist/models.js +287 -1
- package/dist/libs/ai-providers/dist/validation.js +1 -1
- package/dist/libs/contracts/dist/capabilities/openbanking.js +88 -1
- package/dist/libs/contracts/dist/client/index.js +5 -1
- package/dist/libs/contracts/dist/client/react/feature-render.js +2 -1
- package/dist/libs/contracts/dist/client/react/form-render.js +4 -1
- package/dist/libs/contracts/dist/client/react/index.js +4 -1
- package/dist/libs/contracts/dist/contract-registry/index.js +1 -1
- package/dist/libs/contracts/dist/contract-registry/schemas.js +60 -1
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +16 -76
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +16 -350
- package/dist/libs/contracts/dist/docs/index.js +29 -1
- package/dist/libs/contracts/dist/docs/presentations.js +71 -1
- package/dist/libs/contracts/dist/docs/registry.js +44 -1
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +16 -383
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +16 -68
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +16 -140
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +16 -86
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +16 -1
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +24 -2
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +21 -2
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +16 -213
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +73 -5
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +37 -1
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +16 -1
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +20 -262
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +48 -1
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +24 -2
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +23 -2
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +25 -16
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +67 -1
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +22 -2
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +40 -36
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +47 -1
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +23 -2
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +36 -3
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +20 -1
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +36 -3
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +20 -1
- package/dist/libs/contracts/dist/events.js +8 -1
- package/dist/libs/contracts/dist/experiments/evaluator.js +1 -1
- package/dist/libs/contracts/dist/index.js +72 -1
- package/dist/libs/contracts/dist/install.js +2 -1
- package/dist/libs/contracts/dist/integrations/contracts.js +377 -1
- package/dist/libs/contracts/dist/integrations/index.js +18 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +228 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +159 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +3 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +210 -1
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +242 -1
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +13 -1
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +52 -1
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +75 -1
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +87 -1
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +66 -1
- package/dist/libs/contracts/dist/integrations/providers/index.js +11 -1
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +68 -1
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +68 -1
- package/dist/libs/contracts/dist/integrations/providers/powens.js +116 -1
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +73 -1
- package/dist/libs/contracts/dist/integrations/providers/registry.js +10 -1
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +83 -1
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +61 -1
- package/dist/libs/contracts/dist/jsonschema.js +24 -1
- package/dist/libs/contracts/dist/knowledge/contracts.js +306 -1
- package/dist/libs/contracts/dist/knowledge/index.js +7 -1
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +34 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +34 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +38 -1
- package/dist/libs/contracts/dist/knowledge/spaces/index.js +6 -1
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +34 -1
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +37 -1
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +34 -1
- package/dist/libs/contracts/dist/llm/exporters.js +352 -4
- package/dist/libs/contracts/dist/llm/index.js +2 -1
- package/dist/libs/contracts/dist/llm/prompts.js +143 -7
- package/dist/libs/contracts/dist/onboarding-base.js +196 -1
- package/dist/libs/contracts/dist/openapi.js +75 -1
- package/dist/libs/contracts/dist/ownership.js +21 -1
- package/dist/libs/contracts/dist/presentations.js +1 -1
- package/dist/libs/contracts/dist/presentations.v2.js +11 -1
- package/dist/libs/contracts/dist/prompt.js +1 -1
- package/dist/libs/contracts/dist/promptRegistry.js +1 -1
- package/dist/libs/contracts/dist/regenerator/index.js +2 -1
- package/dist/libs/contracts/dist/regenerator/service.js +92 -1
- package/dist/libs/contracts/dist/regenerator/utils.js +51 -1
- package/dist/libs/contracts/dist/registry.js +208 -1
- package/dist/libs/contracts/dist/resources.js +1 -1
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +2 -1
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +49 -1
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +236 -1
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +34 -1
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +1 -1
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +2 -1
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +1 -1
- package/dist/libs/contracts/dist/schema/dist/index.js +6 -1
- package/dist/libs/contracts/dist/server/graphql-pothos.js +6 -1
- package/dist/libs/contracts/dist/server/index.js +8 -1
- package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +4 -1
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +2 -1
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +1 -1
- package/dist/libs/contracts/dist/server/mcp/registerResources.js +2 -1
- package/dist/libs/contracts/dist/server/mcp/registerTools.js +1 -1
- package/dist/libs/contracts/dist/server/provider-mcp.js +1 -1
- package/dist/libs/contracts/dist/server/rest-elysia.js +1 -1
- package/dist/libs/contracts/dist/server/rest-express.js +1 -1
- package/dist/libs/contracts/dist/server/rest-generic.js +1 -1
- package/dist/libs/contracts/dist/server/rest-next-app.js +1 -1
- package/dist/libs/contracts/dist/server/rest-next-pages.js +1 -1
- package/dist/libs/contracts/dist/spec.js +35 -1
- package/dist/libs/contracts/dist/telemetry/index.js +1 -1
- package/dist/libs/contracts/dist/telemetry/tracker.js +1 -1
- package/dist/libs/contracts/dist/tests/index.js +1 -1
- package/dist/libs/contracts/dist/tests/runner.js +150 -1
- package/dist/libs/contracts/dist/workflow/index.js +1 -1
- package/dist/libs/contracts/dist/workflow/runner.js +1 -1
- package/dist/libs/contracts-transformers/dist/common/utils.js +47 -1
- package/dist/libs/contracts-transformers/dist/openapi/exporter.js +1 -1
- package/dist/libs/contracts-transformers/dist/openapi/importer.js +255 -2
- package/dist/libs/contracts-transformers/dist/openapi/index.js +4 -1
- package/dist/libs/contracts-transformers/dist/openapi/parser.js +231 -1
- package/dist/libs/contracts-transformers/dist/openapi/schema-converter.js +201 -4
- package/dist/modules/contractspec-workspace/dist/ai/code-generation.js +50 -13
- package/dist/modules/contractspec-workspace/dist/ai/spec-creation.js +50 -18
- package/dist/modules/contractspec-workspace/dist/analysis/deps/graph.js +84 -2
- package/dist/modules/contractspec-workspace/dist/analysis/deps/parse-imports.js +30 -1
- package/dist/modules/contractspec-workspace/dist/analysis/diff/semantic.js +96 -1
- package/dist/modules/contractspec-workspace/dist/analysis/feature-scan.js +151 -1
- package/dist/modules/contractspec-workspace/dist/analysis/spec-scan.js +344 -1
- package/dist/modules/contractspec-workspace/dist/analysis/validate/spec-structure.js +122 -1
- package/dist/modules/contractspec-workspace/dist/templates/app-config.js +100 -28
- package/dist/modules/contractspec-workspace/dist/templates/data-view.js +41 -27
- package/dist/modules/contractspec-workspace/dist/templates/event.js +28 -14
- package/dist/modules/contractspec-workspace/dist/templates/experiment.js +76 -51
- package/dist/modules/contractspec-workspace/dist/templates/handler.js +49 -17
- package/dist/modules/contractspec-workspace/dist/templates/integration-utils.js +97 -26
- package/dist/modules/contractspec-workspace/dist/templates/integration.js +46 -23
- package/dist/modules/contractspec-workspace/dist/templates/knowledge.js +59 -19
- package/dist/modules/contractspec-workspace/dist/templates/migration.js +49 -26
- package/dist/modules/contractspec-workspace/dist/templates/operation.js +40 -28
- package/dist/modules/contractspec-workspace/dist/templates/presentation.js +45 -20
- package/dist/modules/contractspec-workspace/dist/templates/telemetry.js +73 -53
- package/dist/modules/contractspec-workspace/dist/templates/utils.js +38 -1
- package/dist/modules/contractspec-workspace/dist/templates/workflow-runner.js +12 -6
- package/dist/modules/contractspec-workspace/dist/templates/workflow.js +50 -24
- package/dist/modules/contractspec-workspace/dist/types/generation-types.js +20 -1
- package/dist/services/agent-guide/adapters/claude-code.js +144 -3
- package/dist/services/agent-guide/adapters/cursor-cli.js +135 -3
- package/dist/services/agent-guide/adapters/generic-mcp.js +159 -3
- package/dist/services/agent-guide/adapters/index.js +30 -1
- package/dist/services/agent-guide/agent-guide-service.js +148 -1
- package/dist/services/agent-guide/index.js +5 -1
- package/dist/services/build.js +140 -1
- package/dist/services/ci-check/ci-check-service.js +393 -1
- package/dist/services/ci-check/index.js +2 -1
- package/dist/services/ci-check/types.js +28 -1
- package/dist/services/clean.js +71 -1
- package/dist/services/config.js +76 -1
- package/dist/services/deps.js +62 -1
- package/dist/services/diff.js +33 -1
- package/dist/services/doctor/checks/ai.js +118 -2
- package/dist/services/doctor/checks/cli.js +146 -1
- package/dist/services/doctor/checks/config.js +170 -1
- package/dist/services/doctor/checks/deps.js +180 -1
- package/dist/services/doctor/checks/index.js +6 -1
- package/dist/services/doctor/checks/mcp.js +144 -1
- package/dist/services/doctor/checks/workspace.js +243 -1
- package/dist/services/doctor/doctor-service.js +115 -2
- package/dist/services/doctor/index.js +2 -1
- package/dist/services/doctor/types.js +26 -1
- package/dist/services/implementation/discovery.js +143 -2
- package/dist/services/implementation/index.js +2 -1
- package/dist/services/implementation/resolver.js +223 -1
- package/dist/services/index.js +53 -1
- package/dist/services/integrity-diagram.js +274 -6
- package/dist/services/integrity.js +272 -1
- package/dist/services/list.js +35 -1
- package/dist/services/openapi/export-service.js +51 -2
- package/dist/services/openapi/import-service.js +75 -1
- package/dist/services/openapi/index.js +4 -1
- package/dist/services/openapi/sync-service.js +121 -1
- package/dist/services/openapi/validate-service.js +130 -1
- package/dist/services/regenerator.js +23 -1
- package/dist/services/registry.js +73 -1
- package/dist/services/setup/config-generators.js +113 -26
- package/dist/services/setup/file-merger.js +60 -2
- package/dist/services/setup/index.js +4 -1
- package/dist/services/setup/setup-service.js +95 -1
- package/dist/services/setup/targets/agents-md.js +46 -1
- package/dist/services/setup/targets/cli-config.js +59 -1
- package/dist/services/setup/targets/cursor-rules.js +47 -1
- package/dist/services/setup/targets/mcp-claude.js +59 -1
- package/dist/services/setup/targets/mcp-cursor.js +58 -1
- package/dist/services/setup/targets/vscode-settings.js +62 -1
- package/dist/services/setup/types.js +26 -1
- package/dist/services/sync.js +62 -1
- package/dist/services/test.js +30 -1
- package/dist/services/validate-implementation.js +69 -1
- package/dist/services/validate.js +47 -1
- package/dist/services/verification-cache/adapters/filesystem.js +121 -1
- package/dist/services/verification-cache/adapters/in-memory.js +45 -1
- package/dist/services/verification-cache/adapters/index.js +3 -1
- package/dist/services/verification-cache/adapters/workspace-state.js +90 -1
- package/dist/services/verification-cache/cache-service.js +255 -1
- package/dist/services/verification-cache/index.js +6 -1
- package/dist/services/verification-cache/types.js +15 -1
- package/dist/services/verify/ai-verifier.js +336 -9
- package/dist/services/verify/behavior-verifier.js +185 -1
- package/dist/services/verify/index.js +4 -1
- package/dist/services/verify/structure-verifier.js +195 -2
- package/dist/services/verify/verify-service.js +203 -3
- package/dist/services/watch.js +31 -1
- package/dist/services/workspace-info.js +102 -2
- package/dist/templates/app-config.template.js +101 -28
- package/dist/templates/data-view.template.js +42 -27
- package/dist/templates/event.template.js +29 -14
- package/dist/templates/experiment.template.js +77 -51
- package/dist/templates/handler.template.js +53 -17
- package/dist/templates/index.js +36 -1
- package/dist/templates/integration.template.js +134 -50
- package/dist/templates/knowledge.template.js +62 -21
- package/dist/templates/migration.template.js +50 -26
- package/dist/templates/operation.template.js +44 -28
- package/dist/templates/presentation.template.js +46 -20
- package/dist/templates/telemetry.template.js +74 -53
- package/dist/templates/workflow-runner.template.js +12 -6
- package/dist/templates/workflow.template.js +51 -24
- package/package.json +13 -9
|
@@ -1,2 +1,195 @@
|
|
|
1
|
-
import{
|
|
2
|
-
|
|
1
|
+
import { isEmitDeclRef } from "../../libs/contracts/dist/spec.js";
|
|
2
|
+
|
|
3
|
+
//#region src/services/verify/structure-verifier.ts
|
|
4
|
+
/**
|
|
5
|
+
* Check if code exports a handler function.
|
|
6
|
+
*/
|
|
7
|
+
function checkHandlerExport(code) {
|
|
8
|
+
const hasExport = /export\s+(async\s+)?function\s+\w+/.test(code) || /export\s+const\s+\w+\s*=\s*(async\s*)?\(/.test(code) || /export\s+default\s+(async\s+)?function/.test(code) || /export\s+\{\s*\w+/.test(code);
|
|
9
|
+
return {
|
|
10
|
+
name: "handler_export",
|
|
11
|
+
passed: hasExport,
|
|
12
|
+
details: hasExport ? void 0 : "No exported handler function found",
|
|
13
|
+
suggestion: "Export a function that handles the operation: export async function handle(...) { }"
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Check if code imports from @lssm/lib.contracts.
|
|
18
|
+
*/
|
|
19
|
+
function checkContractsImport(code) {
|
|
20
|
+
const hasImport = code.includes("from '@lssm/lib.contracts'") || code.includes("from \"@lssm/lib.contracts\"");
|
|
21
|
+
return {
|
|
22
|
+
name: "contracts_import",
|
|
23
|
+
passed: hasImport,
|
|
24
|
+
details: hasImport ? void 0 : "Missing import from @lssm/lib.contracts",
|
|
25
|
+
suggestion: "Add: import { ... } from '@lssm/lib.contracts';"
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Check if code imports from @lssm/lib.schema.
|
|
30
|
+
*/
|
|
31
|
+
function checkSchemaImport(code, spec) {
|
|
32
|
+
if (!(spec.io.input !== null || spec.io.output !== null)) return {
|
|
33
|
+
name: "schema_import",
|
|
34
|
+
passed: true
|
|
35
|
+
};
|
|
36
|
+
const hasImport = code.includes("from '@lssm/lib.schema'") || code.includes("from \"@lssm/lib.schema\"");
|
|
37
|
+
return {
|
|
38
|
+
name: "schema_import",
|
|
39
|
+
passed: hasImport,
|
|
40
|
+
details: hasImport ? void 0 : "Missing import from @lssm/lib.schema",
|
|
41
|
+
suggestion: "Add: import { ... } from '@lssm/lib.schema';"
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check for TypeScript any usage.
|
|
46
|
+
*/
|
|
47
|
+
function checkNoAnyType(code) {
|
|
48
|
+
const anyPattern = /:\s*any\b|as\s+any\b|<any>/;
|
|
49
|
+
const lines = code.split("\n");
|
|
50
|
+
const anyUsages = [];
|
|
51
|
+
for (let i = 0; i < lines.length; i++) {
|
|
52
|
+
const line = lines[i] ?? "";
|
|
53
|
+
if (line.trim().startsWith("//") || line.trim().startsWith("*")) continue;
|
|
54
|
+
if (anyPattern.test(line)) anyUsages.push(i + 1);
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
name: "no_any_type",
|
|
58
|
+
passed: anyUsages.length === 0,
|
|
59
|
+
details: anyUsages.length > 0 ? `Found 'any' type on lines: ${anyUsages.slice(0, 5).join(", ")}${anyUsages.length > 5 ? "..." : ""}` : void 0,
|
|
60
|
+
suggestion: "Replace any with proper types from the spec schema"
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Check if error codes from spec are handled.
|
|
65
|
+
*/
|
|
66
|
+
function checkErrorHandling(code, spec) {
|
|
67
|
+
const errors = spec.io.errors;
|
|
68
|
+
if (!errors || Object.keys(errors).length === 0) return {
|
|
69
|
+
name: "error_handling",
|
|
70
|
+
passed: true
|
|
71
|
+
};
|
|
72
|
+
const errorCodes = Object.keys(errors);
|
|
73
|
+
const missingErrors = [];
|
|
74
|
+
for (const errorCode of errorCodes) if (!code.includes(errorCode)) missingErrors.push(errorCode);
|
|
75
|
+
return {
|
|
76
|
+
name: "error_handling",
|
|
77
|
+
passed: missingErrors.length === 0,
|
|
78
|
+
details: missingErrors.length > 0 ? `Missing error handling for: ${missingErrors.join(", ")}` : void 0,
|
|
79
|
+
suggestion: "Implement handlers for all error cases defined in the spec"
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Check if events are emitted.
|
|
84
|
+
*/
|
|
85
|
+
function checkEventEmission(code, spec) {
|
|
86
|
+
const events = spec.sideEffects?.emits;
|
|
87
|
+
if (!events || events.length === 0) return {
|
|
88
|
+
name: "event_emission",
|
|
89
|
+
passed: true
|
|
90
|
+
};
|
|
91
|
+
const hasEmitPattern = code.includes("emit(") || code.includes(".emit(") || code.includes("publish(") || code.includes(".publish(") || code.includes("dispatchEvent") || code.includes("eventBus");
|
|
92
|
+
const eventNames = events.map((e) => {
|
|
93
|
+
if (isEmitDeclRef(e)) return e.ref.name;
|
|
94
|
+
return e.name;
|
|
95
|
+
});
|
|
96
|
+
const mentionedEvents = eventNames.filter((name) => code.includes(name));
|
|
97
|
+
return {
|
|
98
|
+
name: "event_emission",
|
|
99
|
+
passed: hasEmitPattern && mentionedEvents.length > 0,
|
|
100
|
+
details: !hasEmitPattern ? "No event emission pattern found" : mentionedEvents.length === 0 ? `Events not referenced: ${eventNames.join(", ")}` : void 0,
|
|
101
|
+
suggestion: "Emit events as specified in sideEffects.emits"
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Check for validation of input.
|
|
106
|
+
*/
|
|
107
|
+
function checkInputValidation(code, spec) {
|
|
108
|
+
if (!spec.io.input) return {
|
|
109
|
+
name: "input_validation",
|
|
110
|
+
passed: true
|
|
111
|
+
};
|
|
112
|
+
const hasValidation = code.includes(".parse(") || code.includes(".safeParse(") || code.includes("validate(") || code.includes(".validate(") || code.includes("schema.") || code.includes("zodSchema") || code.includes(".getZod()");
|
|
113
|
+
return {
|
|
114
|
+
name: "input_validation",
|
|
115
|
+
passed: hasValidation,
|
|
116
|
+
details: hasValidation ? void 0 : "No input validation pattern found",
|
|
117
|
+
suggestion: "Validate input using the schema: schema.parse(input) or schema.safeParse(input)"
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Check for async/await usage on async operations.
|
|
122
|
+
*/
|
|
123
|
+
function checkAsyncPatterns(code, spec) {
|
|
124
|
+
const isAsync = /export\s+(const\s+\w+\s*=\s*)?async/.test(code) || /async\s+function/.test(code);
|
|
125
|
+
if (!(spec.meta.kind === "command")) return {
|
|
126
|
+
name: "async_patterns",
|
|
127
|
+
passed: true
|
|
128
|
+
};
|
|
129
|
+
return {
|
|
130
|
+
name: "async_patterns",
|
|
131
|
+
passed: isAsync,
|
|
132
|
+
details: isAsync ? void 0 : "Handler should be async for command operations",
|
|
133
|
+
suggestion: "Make the handler function async: export async function handle(...)"
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Run all structure checks and produce a verification report.
|
|
138
|
+
*/
|
|
139
|
+
function verifyStructure(input) {
|
|
140
|
+
const { spec, implementationCode, implementationPath } = input;
|
|
141
|
+
const startTime = Date.now();
|
|
142
|
+
const checks = [
|
|
143
|
+
checkHandlerExport(implementationCode),
|
|
144
|
+
checkContractsImport(implementationCode),
|
|
145
|
+
checkSchemaImport(implementationCode, spec),
|
|
146
|
+
checkNoAnyType(implementationCode),
|
|
147
|
+
checkErrorHandling(implementationCode, spec),
|
|
148
|
+
checkEventEmission(implementationCode, spec),
|
|
149
|
+
checkInputValidation(implementationCode, spec),
|
|
150
|
+
checkAsyncPatterns(implementationCode, spec)
|
|
151
|
+
];
|
|
152
|
+
const issues = checks.filter((c) => !c.passed).map((c) => ({
|
|
153
|
+
severity: c.name === "no_any_type" ? "warning" : "error",
|
|
154
|
+
category: c.name.includes("import") ? "import" : c.name.includes("export") ? "export" : "type",
|
|
155
|
+
message: c.details ?? `Check failed: ${c.name}`,
|
|
156
|
+
location: implementationPath ? { file: implementationPath } : void 0,
|
|
157
|
+
suggestion: c.suggestion
|
|
158
|
+
}));
|
|
159
|
+
const passedCount = checks.filter((c) => c.passed).length;
|
|
160
|
+
const score = Math.round(passedCount / checks.length * 100);
|
|
161
|
+
const passed = issues.filter((i) => i.severity === "error").length === 0;
|
|
162
|
+
const suggestions = checks.filter((c) => !c.passed && c.suggestion).map((c) => c.suggestion);
|
|
163
|
+
const errorCount = Object.keys(spec.io.errors ?? {}).length;
|
|
164
|
+
return {
|
|
165
|
+
tier: "structure",
|
|
166
|
+
passed,
|
|
167
|
+
score,
|
|
168
|
+
issues,
|
|
169
|
+
suggestions,
|
|
170
|
+
coverage: {
|
|
171
|
+
scenarios: {
|
|
172
|
+
total: 0,
|
|
173
|
+
covered: 0
|
|
174
|
+
},
|
|
175
|
+
errors: {
|
|
176
|
+
total: errorCount,
|
|
177
|
+
handled: checks.find((c) => c.name === "error_handling")?.passed ? errorCount : 0
|
|
178
|
+
},
|
|
179
|
+
fields: {
|
|
180
|
+
total: checks.length,
|
|
181
|
+
implemented: passedCount
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
meta: {
|
|
185
|
+
specName: spec.meta.name,
|
|
186
|
+
specVersion: spec.meta.version,
|
|
187
|
+
implementationPath: implementationPath ?? "unknown",
|
|
188
|
+
verifiedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
189
|
+
duration: Date.now() - startTime
|
|
190
|
+
}
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
//#endregion
|
|
195
|
+
export { verifyStructure };
|
|
@@ -1,3 +1,203 @@
|
|
|
1
|
-
import{verifyStructure
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { verifyStructure } from "./structure-verifier.js";
|
|
2
|
+
import { verifyBehavior } from "./behavior-verifier.js";
|
|
3
|
+
import { createQuickAIReview, verifyWithAI } from "./ai-verifier.js";
|
|
4
|
+
|
|
5
|
+
//#region src/services/verify/verify-service.ts
|
|
6
|
+
const DEFAULT_CONFIG = { verbose: false };
|
|
7
|
+
const TIER_ORDER = [
|
|
8
|
+
"structure",
|
|
9
|
+
"behavior",
|
|
10
|
+
"ai_review"
|
|
11
|
+
];
|
|
12
|
+
/**
|
|
13
|
+
* Verification Service
|
|
14
|
+
*
|
|
15
|
+
* Main service for verifying implementations against specs.
|
|
16
|
+
*/
|
|
17
|
+
var VerifyService = class {
|
|
18
|
+
config;
|
|
19
|
+
constructor(config = {}) {
|
|
20
|
+
this.config = {
|
|
21
|
+
...DEFAULT_CONFIG,
|
|
22
|
+
...config
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Run verification on an implementation.
|
|
27
|
+
*/
|
|
28
|
+
async verify(spec, implementationCode, options = {}) {
|
|
29
|
+
const startTime = Date.now();
|
|
30
|
+
const reports = /* @__PURE__ */ new Map();
|
|
31
|
+
const allIssues = [];
|
|
32
|
+
const input = {
|
|
33
|
+
spec,
|
|
34
|
+
implementationCode
|
|
35
|
+
};
|
|
36
|
+
const tiersToRun = options.tiers ?? ["structure", "behavior"];
|
|
37
|
+
for (const tier of TIER_ORDER) {
|
|
38
|
+
if (!tiersToRun.includes(tier)) continue;
|
|
39
|
+
let report;
|
|
40
|
+
switch (tier) {
|
|
41
|
+
case "structure":
|
|
42
|
+
report = verifyStructure(input);
|
|
43
|
+
break;
|
|
44
|
+
case "behavior":
|
|
45
|
+
report = verifyBehavior(input);
|
|
46
|
+
break;
|
|
47
|
+
case "ai_review":
|
|
48
|
+
if (this.config.aiApiKey) report = await verifyWithAI(input, this.config);
|
|
49
|
+
else report = createQuickAIReview(input);
|
|
50
|
+
break;
|
|
51
|
+
default: continue;
|
|
52
|
+
}
|
|
53
|
+
reports.set(tier, report);
|
|
54
|
+
allIssues.push(...report.issues);
|
|
55
|
+
if (options.failFast && !report.passed) break;
|
|
56
|
+
}
|
|
57
|
+
const reportsArray = Array.from(reports.values());
|
|
58
|
+
return {
|
|
59
|
+
passed: reportsArray.every((r) => r.passed),
|
|
60
|
+
score: reportsArray.length > 0 ? Math.round(reportsArray.reduce((sum, r) => sum + r.score, 0) / reportsArray.length) : 100,
|
|
61
|
+
reports,
|
|
62
|
+
allIssues,
|
|
63
|
+
summary: this.generateSummary(reportsArray, allIssues),
|
|
64
|
+
duration: Date.now() - startTime
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Run only structure verification (Tier 1).
|
|
69
|
+
*/
|
|
70
|
+
verifyStructure(spec, implementationCode, implementationPath) {
|
|
71
|
+
return verifyStructure({
|
|
72
|
+
spec,
|
|
73
|
+
implementationCode,
|
|
74
|
+
implementationPath
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Run only behavior verification (Tier 2).
|
|
79
|
+
*/
|
|
80
|
+
verifyBehavior(spec, implementationCode, implementationPath) {
|
|
81
|
+
return verifyBehavior({
|
|
82
|
+
spec,
|
|
83
|
+
implementationCode,
|
|
84
|
+
implementationPath
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Run only AI verification (Tier 3).
|
|
89
|
+
*/
|
|
90
|
+
async verifyAI(spec, implementationCode, implementationPath) {
|
|
91
|
+
const input = {
|
|
92
|
+
spec,
|
|
93
|
+
implementationCode,
|
|
94
|
+
implementationPath
|
|
95
|
+
};
|
|
96
|
+
if (this.config.aiApiKey) return verifyWithAI(input, this.config);
|
|
97
|
+
return createQuickAIReview(input);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Quick verification (structure only, fast).
|
|
101
|
+
*/
|
|
102
|
+
quickVerify(spec, implementationCode) {
|
|
103
|
+
return verifyStructure({
|
|
104
|
+
spec,
|
|
105
|
+
implementationCode
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Generate a human-readable summary of verification results.
|
|
110
|
+
*/
|
|
111
|
+
generateSummary(reports, allIssues) {
|
|
112
|
+
const parts = [];
|
|
113
|
+
const passed = reports.every((r) => r.passed);
|
|
114
|
+
const avgScore = reports.length > 0 ? Math.round(reports.reduce((sum, r) => sum + r.score, 0) / reports.length) : 100;
|
|
115
|
+
parts.push(passed ? "✓ Verification passed" : "✗ Verification failed");
|
|
116
|
+
parts.push(`Score: ${avgScore}/100`);
|
|
117
|
+
parts.push("");
|
|
118
|
+
for (const report of reports) {
|
|
119
|
+
const icon = report.passed ? "✓" : "✗";
|
|
120
|
+
parts.push(`${icon} ${report.tier}: ${report.score}/100`);
|
|
121
|
+
}
|
|
122
|
+
parts.push("");
|
|
123
|
+
const errors = allIssues.filter((i) => i.severity === "error");
|
|
124
|
+
const warnings = allIssues.filter((i) => i.severity === "warning");
|
|
125
|
+
const infos = allIssues.filter((i) => i.severity === "info");
|
|
126
|
+
if (errors.length > 0) parts.push(`Errors: ${errors.length}`);
|
|
127
|
+
if (warnings.length > 0) parts.push(`Warnings: ${warnings.length}`);
|
|
128
|
+
if (infos.length > 0) parts.push(`Info: ${infos.length}`);
|
|
129
|
+
return parts.join("\n");
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Format verification result as markdown.
|
|
133
|
+
*/
|
|
134
|
+
formatAsMarkdown(result) {
|
|
135
|
+
const lines = [];
|
|
136
|
+
lines.push(`# Verification Report`);
|
|
137
|
+
lines.push("");
|
|
138
|
+
lines.push(`**Status:** ${result.passed ? "✓ Passed" : "✗ Failed"}`);
|
|
139
|
+
lines.push(`**Score:** ${result.score}/100`);
|
|
140
|
+
lines.push(`**Duration:** ${result.duration}ms`);
|
|
141
|
+
lines.push("");
|
|
142
|
+
for (const [tier, report] of result.reports) {
|
|
143
|
+
lines.push(`## ${this.formatTierName(tier)}`);
|
|
144
|
+
lines.push("");
|
|
145
|
+
lines.push(`**Status:** ${report.passed ? "✓ Passed" : "✗ Failed"}`);
|
|
146
|
+
lines.push(`**Score:** ${report.score}/100`);
|
|
147
|
+
lines.push("");
|
|
148
|
+
if (report.issues.length > 0) {
|
|
149
|
+
lines.push("### Issues");
|
|
150
|
+
lines.push("");
|
|
151
|
+
for (const issue of report.issues) {
|
|
152
|
+
const icon = issue.severity === "error" ? "❌" : issue.severity === "warning" ? "⚠️" : "ℹ️";
|
|
153
|
+
lines.push(`${icon} **${issue.category}**: ${issue.message}`);
|
|
154
|
+
if (issue.suggestion) lines.push(` - Suggestion: ${issue.suggestion}`);
|
|
155
|
+
}
|
|
156
|
+
lines.push("");
|
|
157
|
+
}
|
|
158
|
+
if (report.coverage.scenarios.total > 0) lines.push(`**Scenarios:** ${report.coverage.scenarios.covered}/${report.coverage.scenarios.total}`);
|
|
159
|
+
if (report.coverage.errors.total > 0) lines.push(`**Errors handled:** ${report.coverage.errors.handled}/${report.coverage.errors.total}`);
|
|
160
|
+
lines.push("");
|
|
161
|
+
}
|
|
162
|
+
const allSuggestions = Array.from(result.reports.values()).flatMap((r) => r.suggestions);
|
|
163
|
+
if (allSuggestions.length > 0) {
|
|
164
|
+
lines.push("## Suggestions");
|
|
165
|
+
lines.push("");
|
|
166
|
+
for (const suggestion of allSuggestions.slice(0, 10)) lines.push(`- ${suggestion}`);
|
|
167
|
+
if (allSuggestions.length > 10) lines.push(`- ... and ${allSuggestions.length - 10} more`);
|
|
168
|
+
lines.push("");
|
|
169
|
+
}
|
|
170
|
+
return lines.join("\n");
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Format tier name for display.
|
|
174
|
+
*/
|
|
175
|
+
formatTierName(tier) {
|
|
176
|
+
switch (tier) {
|
|
177
|
+
case "structure": return "Tier 1: Structure";
|
|
178
|
+
case "behavior": return "Tier 2: Behavior";
|
|
179
|
+
case "ai_review": return "Tier 3: AI Review";
|
|
180
|
+
default: return tier;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Update configuration.
|
|
185
|
+
*/
|
|
186
|
+
configure(config) {
|
|
187
|
+
this.config = {
|
|
188
|
+
...this.config,
|
|
189
|
+
...config
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Create a new VerifyService instance.
|
|
195
|
+
*/
|
|
196
|
+
function createVerifyService(config) {
|
|
197
|
+
return new VerifyService(config);
|
|
198
|
+
}
|
|
199
|
+
/** Default singleton instance */
|
|
200
|
+
const verifyService = new VerifyService();
|
|
201
|
+
|
|
202
|
+
//#endregion
|
|
203
|
+
export { VerifyService, createVerifyService, verifyService };
|
package/dist/services/watch.js
CHANGED
|
@@ -1 +1,31 @@
|
|
|
1
|
-
import{validateSpec
|
|
1
|
+
import { validateSpec } from "./validate.js";
|
|
2
|
+
import { buildSpec } from "./build.js";
|
|
3
|
+
|
|
4
|
+
//#region src/services/watch.ts
|
|
5
|
+
function watchSpecs(adapters, config, options, overrides) {
|
|
6
|
+
const { watcher, fs, logger } = adapters;
|
|
7
|
+
const w = watcher.watch(options);
|
|
8
|
+
const validateFn = overrides?.validate ?? (async (specPath) => {
|
|
9
|
+
await validateSpec(specPath, {
|
|
10
|
+
fs,
|
|
11
|
+
logger
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
const buildFn = overrides?.build ?? (async (specPath) => {
|
|
15
|
+
await buildSpec(specPath, {
|
|
16
|
+
fs,
|
|
17
|
+
logger
|
|
18
|
+
}, config);
|
|
19
|
+
});
|
|
20
|
+
w.on(async (event) => {
|
|
21
|
+
if (event.type !== "change") return;
|
|
22
|
+
logger.info("watchSpecs.changed", { path: event.path });
|
|
23
|
+
if (options.runValidate) await validateFn(event.path);
|
|
24
|
+
if (options.runBuild) if (options.dryRun) logger.info("[dry-run] watchSpecs skipped build", { path: event.path });
|
|
25
|
+
else await buildFn(event.path);
|
|
26
|
+
});
|
|
27
|
+
return w;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
//#endregion
|
|
31
|
+
export { watchSpecs };
|
|
@@ -1,2 +1,102 @@
|
|
|
1
|
-
import{detectPackageManager
|
|
2
|
-
|
|
1
|
+
import { detectPackageManager, findPackageRoot, findWorkspaceRoot, getWorkspaceInfo } from "../adapters/workspace.js";
|
|
2
|
+
|
|
3
|
+
//#region src/services/workspace-info.ts
|
|
4
|
+
/**
|
|
5
|
+
* Workspace info service.
|
|
6
|
+
*
|
|
7
|
+
* Provides workspace detection and configuration loading
|
|
8
|
+
* with support for monorepos.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Get extended workspace information including config paths.
|
|
12
|
+
*/
|
|
13
|
+
async function getExtendedWorkspaceInfo(fs, startDir) {
|
|
14
|
+
const baseInfo = getWorkspaceInfo(startDir);
|
|
15
|
+
const workspaceConfigPath = fs.join(baseInfo.workspaceRoot, ".contractsrc.json");
|
|
16
|
+
const packageConfigPath = fs.join(baseInfo.packageRoot, ".contractsrc.json");
|
|
17
|
+
const hasWorkspaceConfig = await fs.exists(workspaceConfigPath);
|
|
18
|
+
const hasPackageConfig = baseInfo.workspaceRoot !== baseInfo.packageRoot ? await fs.exists(packageConfigPath) : false;
|
|
19
|
+
let monorepoConfig;
|
|
20
|
+
if (hasWorkspaceConfig) try {
|
|
21
|
+
const content = await fs.readFile(workspaceConfigPath);
|
|
22
|
+
const config = JSON.parse(content);
|
|
23
|
+
if (config.packages || config.excludePackages || config.recursive) monorepoConfig = {
|
|
24
|
+
packages: config.packages,
|
|
25
|
+
excludePackages: config.excludePackages,
|
|
26
|
+
recursive: config.recursive
|
|
27
|
+
};
|
|
28
|
+
} catch {}
|
|
29
|
+
return {
|
|
30
|
+
...baseInfo,
|
|
31
|
+
monorepoConfig,
|
|
32
|
+
workspaceConfigPath: hasWorkspaceConfig ? workspaceConfigPath : void 0,
|
|
33
|
+
packageConfigPath: hasPackageConfig ? packageConfigPath : void 0
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Find all .contractsrc.json files in a monorepo.
|
|
38
|
+
*
|
|
39
|
+
* Returns paths in order of priority (workspace first, then packages).
|
|
40
|
+
*/
|
|
41
|
+
async function findAllConfigFiles(fs, workspaceRoot) {
|
|
42
|
+
const configFiles = [];
|
|
43
|
+
const rootConfig = fs.join(workspaceRoot, ".contractsrc.json");
|
|
44
|
+
if (await fs.exists(rootConfig)) configFiles.push(rootConfig);
|
|
45
|
+
const packageConfigs = await fs.glob({
|
|
46
|
+
pattern: "**/.contractsrc.json",
|
|
47
|
+
ignore: ["node_modules/**", ".git/**"]
|
|
48
|
+
});
|
|
49
|
+
for (const config of packageConfigs) if (config !== rootConfig) configFiles.push(config);
|
|
50
|
+
return configFiles;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Merge workspace and package configurations.
|
|
54
|
+
*
|
|
55
|
+
* Package config overrides workspace config.
|
|
56
|
+
*/
|
|
57
|
+
async function mergeMonorepoConfigs(fs, workspaceConfigPath, packageConfigPath) {
|
|
58
|
+
let merged = {};
|
|
59
|
+
if (workspaceConfigPath && await fs.exists(workspaceConfigPath)) try {
|
|
60
|
+
const content = await fs.readFile(workspaceConfigPath);
|
|
61
|
+
merged = JSON.parse(content);
|
|
62
|
+
} catch {}
|
|
63
|
+
if (packageConfigPath && await fs.exists(packageConfigPath)) try {
|
|
64
|
+
const content = await fs.readFile(packageConfigPath);
|
|
65
|
+
const packageConfig = JSON.parse(content);
|
|
66
|
+
merged = deepMerge(merged, packageConfig);
|
|
67
|
+
} catch {}
|
|
68
|
+
return merged;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Deep merge two objects.
|
|
72
|
+
*/
|
|
73
|
+
function deepMerge(base, override) {
|
|
74
|
+
const result = { ...base };
|
|
75
|
+
for (const key of Object.keys(override)) {
|
|
76
|
+
const baseValue = base[key];
|
|
77
|
+
const overrideValue = override[key];
|
|
78
|
+
if (typeof baseValue === "object" && baseValue !== null && !Array.isArray(baseValue) && typeof overrideValue === "object" && overrideValue !== null && !Array.isArray(overrideValue)) result[key] = deepMerge(baseValue, overrideValue);
|
|
79
|
+
else result[key] = overrideValue;
|
|
80
|
+
}
|
|
81
|
+
return result;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Format workspace info for display.
|
|
85
|
+
*/
|
|
86
|
+
function formatWorkspaceInfo(info) {
|
|
87
|
+
const lines = [];
|
|
88
|
+
lines.push(`Package Manager: ${info.packageManager}`);
|
|
89
|
+
lines.push(`Workspace Root: ${info.workspaceRoot}`);
|
|
90
|
+
if (info.isMonorepo) {
|
|
91
|
+
lines.push(`Monorepo: Yes`);
|
|
92
|
+
lines.push(`Package Root: ${info.packageRoot}`);
|
|
93
|
+
if (info.packageName) lines.push(`Current Package: ${info.packageName}`);
|
|
94
|
+
if (info.packages && info.packages.length > 0) lines.push(`Package Patterns: ${info.packages.join(", ")}`);
|
|
95
|
+
} else lines.push(`Monorepo: No`);
|
|
96
|
+
if (info.workspaceConfigPath) lines.push(`Workspace Config: ${info.workspaceConfigPath}`);
|
|
97
|
+
if (info.packageConfigPath) lines.push(`Package Config: ${info.packageConfigPath}`);
|
|
98
|
+
return lines.join("\n");
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
//#endregion
|
|
102
|
+
export { findAllConfigFiles, formatWorkspaceInfo, getExtendedWorkspaceInfo, mergeMonorepoConfigs };
|