@genvidtech/c3-domain-manager 0.0.1 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +18 -0
- package/README.md +195 -29
- package/dist/adapters/locations.d.ts +22 -0
- package/dist/adapters/locations.d.ts.map +1 -0
- package/dist/adapters/locations.js +42 -0
- package/dist/adapters/locations.js.map +1 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +99 -0
- package/dist/cli.js.map +1 -0
- package/dist/domain/classification.d.ts +8 -0
- package/dist/domain/classification.d.ts.map +1 -0
- package/dist/domain/classification.js +66 -0
- package/dist/domain/classification.js.map +1 -0
- package/dist/domain/contextMap.d.ts +8 -0
- package/dist/domain/contextMap.d.ts.map +1 -0
- package/dist/domain/contextMap.js +168 -0
- package/dist/domain/contextMap.js.map +1 -0
- package/dist/domain/domainAnalysis.d.ts +25 -0
- package/dist/domain/domainAnalysis.d.ts.map +1 -0
- package/dist/domain/domainAnalysis.js +136 -0
- package/dist/domain/domainAnalysis.js.map +1 -0
- package/dist/domain/domainGenerator.d.ts +33 -0
- package/dist/domain/domainGenerator.d.ts.map +1 -0
- package/dist/domain/domainGenerator.js +307 -0
- package/dist/domain/domainGenerator.js.map +1 -0
- package/dist/domain/editorValidation.d.ts +19 -0
- package/dist/domain/editorValidation.d.ts.map +1 -0
- package/dist/domain/editorValidation.js +40 -0
- package/dist/domain/editorValidation.js.map +1 -0
- package/dist/domain/formatting.d.ts +16 -0
- package/dist/domain/formatting.d.ts.map +1 -0
- package/dist/domain/formatting.js +414 -0
- package/dist/domain/formatting.js.map +1 -0
- package/dist/domain/glossary.d.ts +20 -0
- package/dist/domain/glossary.d.ts.map +1 -0
- package/dist/domain/glossary.js +62 -0
- package/dist/domain/glossary.js.map +1 -0
- package/dist/domain/health.d.ts +14 -0
- package/dist/domain/health.d.ts.map +1 -0
- package/dist/domain/health.js +21 -0
- package/dist/domain/health.js.map +1 -0
- package/dist/domain/relationships.d.ts +13 -0
- package/dist/domain/relationships.d.ts.map +1 -0
- package/dist/domain/relationships.js +74 -0
- package/dist/domain/relationships.js.map +1 -0
- package/dist/domain/types.d.ts +290 -0
- package/dist/domain/types.d.ts.map +1 -0
- package/dist/domain/types.js +29 -0
- package/dist/domain/types.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp/server.d.ts +3 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +519 -0
- package/dist/mcp/server.js.map +1 -0
- package/docs/TOC.md +27 -0
- package/docs/decisions/0001-adopt-c3source-extractors.md +67 -0
- package/docs/decisions/0002-configurable-locations-adapters-seam.md +72 -0
- package/docs/decisions/0003-adopt-loadprojectconfig-schema-first.md +73 -0
- package/docs/decisions/0004-adopt-mcp-utils-0.4.0-helpers.md +74 -0
- package/docs/decisions/0005-validateforeditor-read-side-diagnostic.md +65 -0
- package/docs/decisions/0006-event-variable-reference-coupling.md +77 -0
- package/docs/decisions/0007-project-dir-resolverootfolder.md +72 -0
- package/docs/decisions/0008-adopt-openproject-option-a.md +74 -0
- package/docs/domain-architecture.md +242 -0
- package/docs/releasing.md +122 -0
- package/package.json +79 -8
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/** Distinct domains this domain couples TO, via includes OR event-variable references. */
|
|
2
|
+
function outgoingCoupledDomains(domain) {
|
|
3
|
+
return [...new Set([...domain.includesFrom.keys(), ...domain.referencesFrom.keys()])];
|
|
4
|
+
}
|
|
5
|
+
export function validateBoundaries(domains, config, filterDomain) {
|
|
6
|
+
const violations = [];
|
|
7
|
+
const relationships = config.relationships ?? [];
|
|
8
|
+
const domainNames = new Set(domains.map((d) => d.name));
|
|
9
|
+
const domainByName = new Map(domains.map((d) => [d.name, d]));
|
|
10
|
+
// Check 1: Observed undeclared — for each domain, check that all cross-domain
|
|
11
|
+
// includes or event-variable references have a relationship declared (in either direction).
|
|
12
|
+
for (const domain of domains) {
|
|
13
|
+
for (const targetDomain of outgoingCoupledDomains(domain)) {
|
|
14
|
+
const covered = relationships.some((r) => (r.from === targetDomain && r.to === domain.name) || (r.from === domain.name && r.to === targetDomain));
|
|
15
|
+
if (!covered) {
|
|
16
|
+
const violation = {
|
|
17
|
+
type: "undeclared",
|
|
18
|
+
message: `'${domain.name}' depends on '${targetDomain}' but no relationship is declared between them`,
|
|
19
|
+
from: domain.name,
|
|
20
|
+
to: targetDomain,
|
|
21
|
+
};
|
|
22
|
+
violations.push(violation);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
// Check 2: Stale declared — relationships referencing non-existent domains.
|
|
27
|
+
for (const rel of relationships) {
|
|
28
|
+
const fromExists = domainNames.has(rel.from);
|
|
29
|
+
const toExists = domainNames.has(rel.to);
|
|
30
|
+
if (!fromExists || !toExists) {
|
|
31
|
+
const unknowns = [!fromExists ? rel.from : null, !toExists ? rel.to : null].filter(Boolean).join(", ");
|
|
32
|
+
violations.push({
|
|
33
|
+
type: "stale",
|
|
34
|
+
message: `Relationship (${rel.from} → ${rel.to}) references unknown domain(s): ${unknowns}`,
|
|
35
|
+
from: rel.from,
|
|
36
|
+
to: rel.to,
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
// Check 3: Forbidden — supporting/generic domains that depend on core domains.
|
|
41
|
+
for (const domain of domains) {
|
|
42
|
+
if (domain.strategy !== "supporting" && domain.strategy !== "generic")
|
|
43
|
+
continue;
|
|
44
|
+
for (const targetDomain of outgoingCoupledDomains(domain)) {
|
|
45
|
+
const target = domainByName.get(targetDomain);
|
|
46
|
+
if (target?.strategy === "core") {
|
|
47
|
+
violations.push({
|
|
48
|
+
type: "forbidden",
|
|
49
|
+
message: `'${domain.strategy}' domain '${domain.name}' depends on core domain '${targetDomain}' — this indicates a boundary leak`,
|
|
50
|
+
from: domain.name,
|
|
51
|
+
to: targetDomain,
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
// Apply filterDomain if provided.
|
|
57
|
+
if (filterDomain !== undefined) {
|
|
58
|
+
return {
|
|
59
|
+
violations: violations.filter((v) => v.from === filterDomain || v.to === filterDomain),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
return { violations };
|
|
63
|
+
}
|
|
64
|
+
export function formatBoundaryReport(report) {
|
|
65
|
+
if (report.violations.length === 0) {
|
|
66
|
+
return "No boundary violations found.";
|
|
67
|
+
}
|
|
68
|
+
const lines = [`${report.violations.length} boundary violation(s) found:`, ""];
|
|
69
|
+
for (const v of report.violations) {
|
|
70
|
+
lines.push(`[${v.type}] ${v.message}`);
|
|
71
|
+
}
|
|
72
|
+
return lines.join("\n");
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=relationships.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relationships.js","sourceRoot":"","sources":["../../src/domain/relationships.ts"],"names":[],"mappings":"AAEA,0FAA0F;AAC1F,SAAS,sBAAsB,CAAC,MAAkB;IAChD,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;AACxF,CAAC;AAaD,MAAM,UAAU,kBAAkB,CAAC,OAAqB,EAAE,MAAoB,EAAE,YAAqB;IACnG,MAAM,UAAU,GAAwB,EAAE,CAAC;IAC3C,MAAM,aAAa,GAAG,MAAM,CAAC,aAAa,IAAI,EAAE,CAAC;IACjD,MAAM,WAAW,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;IACxD,MAAM,YAAY,GAAG,IAAI,GAAG,C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,CAAC;SACvF,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,UAAU,EAAE,CAAC;AACxB,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,MAAsB;IACzD,IAAI,MAAM,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACnC,OAAO,+BAA+B,CAAC;IACzC,CAAC;IAED,MAAM,KAAK,GAAa,CAAC,GAAG,MAAM,CAAC,UAAU,CAAC,MAAM,+BAA+B,EAAE,EAAE,CAAC,CAAC;IAEzF,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,UAAU,EAAE,CAAC;QAClC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;IACzC,CAAC;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC"}
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
export type { FunctionParameter } from "@genvidtech/c3source";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
declare const RelationshipSchema: z.ZodObject<{
|
|
4
|
+
from: z.ZodString;
|
|
5
|
+
to: z.ZodString;
|
|
6
|
+
type: z.ZodEnum<["shared-kernel", "customer-supplier", "conformist", "anti-corruption-layer", "open-host-service"]>;
|
|
7
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
9
|
+
from: z.ZodString;
|
|
10
|
+
to: z.ZodString;
|
|
11
|
+
type: z.ZodEnum<["shared-kernel", "customer-supplier", "conformist", "anti-corruption-layer", "open-host-service"]>;
|
|
12
|
+
description: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
14
|
+
from: z.ZodString;
|
|
15
|
+
to: z.ZodString;
|
|
16
|
+
type: z.ZodEnum<["shared-kernel", "customer-supplier", "conformist", "anti-corruption-layer", "open-host-service"]>;
|
|
17
|
+
description: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
19
|
+
declare const DomainDefinitionSchema: z.ZodObject<{
|
|
20
|
+
description: z.ZodString;
|
|
21
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
22
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
23
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
24
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
25
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
26
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
27
|
+
description: z.ZodString;
|
|
28
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
29
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
31
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
32
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
33
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
34
|
+
description: z.ZodString;
|
|
35
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
36
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
37
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
38
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
39
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
40
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
41
|
+
declare const SharedSubdomainDefinitionSchema: z.ZodObject<{
|
|
42
|
+
description: z.ZodString;
|
|
43
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
45
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
46
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
47
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
48
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
49
|
+
description: z.ZodString;
|
|
50
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
51
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
52
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
53
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
54
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
55
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
56
|
+
description: z.ZodString;
|
|
57
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
58
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
59
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
60
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
61
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
62
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
63
|
+
export declare const DomainConfigSchema: z.ZodObject<{
|
|
64
|
+
domains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
65
|
+
description: z.ZodString;
|
|
66
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
67
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
68
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
69
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
70
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
71
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
72
|
+
description: z.ZodString;
|
|
73
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
74
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
75
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
76
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
77
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
78
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
79
|
+
description: z.ZodString;
|
|
80
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
81
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
82
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
83
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
84
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
85
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
86
|
+
sharedSubdomains: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
87
|
+
description: z.ZodString;
|
|
88
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
89
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
90
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
91
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
92
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
93
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
94
|
+
description: z.ZodString;
|
|
95
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
96
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
97
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
98
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
99
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
100
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
101
|
+
description: z.ZodString;
|
|
102
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
103
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
104
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
105
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
106
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
107
|
+
}, z.ZodTypeAny, "passthrough">>>>;
|
|
108
|
+
overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
109
|
+
relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
110
|
+
from: z.ZodString;
|
|
111
|
+
to: z.ZodString;
|
|
112
|
+
type: z.ZodEnum<["shared-kernel", "customer-supplier", "conformist", "anti-corruption-layer", "open-host-service"]>;
|
|
113
|
+
description: z.ZodOptional<z.ZodString>;
|
|
114
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
115
|
+
from: z.ZodString;
|
|
116
|
+
to: z.ZodString;
|
|
117
|
+
type: z.ZodEnum<["shared-kernel", "customer-supplier", "conformist", "anti-corruption-layer", "open-host-service"]>;
|
|
118
|
+
description: z.ZodOptional<z.ZodString>;
|
|
119
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
120
|
+
from: z.ZodString;
|
|
121
|
+
to: z.ZodString;
|
|
122
|
+
type: z.ZodEnum<["shared-kernel", "customer-supplier", "conformist", "anti-corruption-layer", "open-host-service"]>;
|
|
123
|
+
description: z.ZodOptional<z.ZodString>;
|
|
124
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
125
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
126
|
+
domains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
127
|
+
description: z.ZodString;
|
|
128
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
129
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
130
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
131
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
132
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
133
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
134
|
+
description: z.ZodString;
|
|
135
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
136
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
137
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
138
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
139
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
140
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
141
|
+
description: z.ZodString;
|
|
142
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
143
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
144
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
145
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
146
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
147
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
148
|
+
sharedSubdomains: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
149
|
+
description: z.ZodString;
|
|
150
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
151
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
152
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
153
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
154
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
155
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
156
|
+
description: z.ZodString;
|
|
157
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
158
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
159
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
160
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
161
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
162
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
163
|
+
description: z.ZodString;
|
|
164
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
165
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
166
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
167
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
168
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
169
|
+
}, z.ZodTypeAny, "passthrough">>>>;
|
|
170
|
+
overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
171
|
+
relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
172
|
+
from: z.ZodString;
|
|
173
|
+
to: z.ZodString;
|
|
174
|
+
type: z.ZodEnum<["shared-kernel", "customer-supplier", "conformist", "anti-corruption-layer", "open-host-service"]>;
|
|
175
|
+
description: z.ZodOptional<z.ZodString>;
|
|
176
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
177
|
+
from: z.ZodString;
|
|
178
|
+
to: z.ZodString;
|
|
179
|
+
type: z.ZodEnum<["shared-kernel", "customer-supplier", "conformist", "anti-corruption-layer", "open-host-service"]>;
|
|
180
|
+
description: z.ZodOptional<z.ZodString>;
|
|
181
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
182
|
+
from: z.ZodString;
|
|
183
|
+
to: z.ZodString;
|
|
184
|
+
type: z.ZodEnum<["shared-kernel", "customer-supplier", "conformist", "anti-corruption-layer", "open-host-service"]>;
|
|
185
|
+
description: z.ZodOptional<z.ZodString>;
|
|
186
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
187
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
188
|
+
domains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
189
|
+
description: z.ZodString;
|
|
190
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
191
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
192
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
193
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
194
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
195
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
196
|
+
description: z.ZodString;
|
|
197
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
198
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
199
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
200
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
201
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
202
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
203
|
+
description: z.ZodString;
|
|
204
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
205
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
206
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
207
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
208
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
209
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
210
|
+
sharedSubdomains: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
211
|
+
description: z.ZodString;
|
|
212
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
213
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
214
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
215
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
216
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
217
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
218
|
+
description: z.ZodString;
|
|
219
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
220
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
221
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
222
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
223
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
224
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
225
|
+
description: z.ZodString;
|
|
226
|
+
eventSheetDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
227
|
+
layoutDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
228
|
+
scriptDirs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
229
|
+
strategy: z.ZodOptional<z.ZodEnum<["core", "supporting", "generic"]>>;
|
|
230
|
+
glossary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
231
|
+
}, z.ZodTypeAny, "passthrough">>>>;
|
|
232
|
+
overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
233
|
+
relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
234
|
+
from: z.ZodString;
|
|
235
|
+
to: z.ZodString;
|
|
236
|
+
type: z.ZodEnum<["shared-kernel", "customer-supplier", "conformist", "anti-corruption-layer", "open-host-service"]>;
|
|
237
|
+
description: z.ZodOptional<z.ZodString>;
|
|
238
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
239
|
+
from: z.ZodString;
|
|
240
|
+
to: z.ZodString;
|
|
241
|
+
type: z.ZodEnum<["shared-kernel", "customer-supplier", "conformist", "anti-corruption-layer", "open-host-service"]>;
|
|
242
|
+
description: z.ZodOptional<z.ZodString>;
|
|
243
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
244
|
+
from: z.ZodString;
|
|
245
|
+
to: z.ZodString;
|
|
246
|
+
type: z.ZodEnum<["shared-kernel", "customer-supplier", "conformist", "anti-corruption-layer", "open-host-service"]>;
|
|
247
|
+
description: z.ZodOptional<z.ZodString>;
|
|
248
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
249
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
250
|
+
export type Relationship = z.infer<typeof RelationshipSchema>;
|
|
251
|
+
export type DomainDefinition = z.infer<typeof DomainDefinitionSchema>;
|
|
252
|
+
export type SharedSubdomainDefinition = z.infer<typeof SharedSubdomainDefinitionSchema>;
|
|
253
|
+
export type DomainConfig = z.infer<typeof DomainConfigSchema>;
|
|
254
|
+
export interface FunctionDef {
|
|
255
|
+
name: string;
|
|
256
|
+
params: string;
|
|
257
|
+
returnType: string;
|
|
258
|
+
sourceSheet: string;
|
|
259
|
+
objectClass?: string;
|
|
260
|
+
aceName?: string;
|
|
261
|
+
}
|
|
262
|
+
export interface DomainData {
|
|
263
|
+
name: string;
|
|
264
|
+
description: string;
|
|
265
|
+
eventSheets: Array<{
|
|
266
|
+
path: string;
|
|
267
|
+
directory: string;
|
|
268
|
+
}>;
|
|
269
|
+
layouts: Array<{
|
|
270
|
+
path: string;
|
|
271
|
+
eventSheet: string;
|
|
272
|
+
eventSheetDomain: string;
|
|
273
|
+
}>;
|
|
274
|
+
scripts: Array<{
|
|
275
|
+
path: string;
|
|
276
|
+
isDirectory: boolean;
|
|
277
|
+
}>;
|
|
278
|
+
functions: FunctionDef[];
|
|
279
|
+
includesFrom: Map<string, string[]>;
|
|
280
|
+
includedBy: Map<string, string[]>;
|
|
281
|
+
/** domain → variable names this domain references that the keyed domain declares (event-variable coupling, outgoing) */
|
|
282
|
+
referencesFrom: Map<string, string[]>;
|
|
283
|
+
/** domain → variable names of this domain's that the keyed domain references (event-variable coupling, incoming) */
|
|
284
|
+
referencedBy: Map<string, string[]>;
|
|
285
|
+
/** True if this domain is a shared subdomain (from config.sharedSubdomains) */
|
|
286
|
+
isSharedSubdomain?: boolean;
|
|
287
|
+
/** Strategic classification from DDD */
|
|
288
|
+
strategy?: "core" | "supporting" | "generic";
|
|
289
|
+
}
|
|
290
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/domain/types.ts"],"names":[],"mappings":"AAEA,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;gCAOR,CAAC;AAEjB,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;gCASZ,CAAC;AAEjB,QAAA,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;gCAAyB,CAAC;AAE/D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAOf,CAAC;AAEjB,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,C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 -0,0 +1,29 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
const RelationshipSchema = z
|
|
3
|
+
.object({
|
|
4
|
+
from: z.string(),
|
|
5
|
+
to: z.string(),
|
|
6
|
+
type: z.enum(["shared-kernel", "customer-supplier", "conformist", "anti-corruption-layer", "open-host-service"]),
|
|
7
|
+
description: z.string().optional(),
|
|
8
|
+
})
|
|
9
|
+
.passthrough();
|
|
10
|
+
const DomainDefinitionSchema = z
|
|
11
|
+
.object({
|
|
12
|
+
description: z.string(),
|
|
13
|
+
eventSheetDirs: z.array(z.string()).optional(),
|
|
14
|
+
layoutDirs: z.array(z.string()).optional(),
|
|
15
|
+
scriptDirs: z.array(z.string()).optional(),
|
|
16
|
+
strategy: z.enum(["core", "supporting", "generic"]).optional(),
|
|
17
|
+
glossary: z.record(z.string(), z.string()).optional(),
|
|
18
|
+
})
|
|
19
|
+
.passthrough();
|
|
20
|
+
const SharedSubdomainDefinitionSchema = DomainDefinitionSchema;
|
|
21
|
+
export const DomainConfigSchema = z
|
|
22
|
+
.object({
|
|
23
|
+
domains: z.record(z.string(), DomainDefinitionSchema),
|
|
24
|
+
sharedSubdomains: z.record(z.string(), SharedSubdomainDefinitionSchema).optional(),
|
|
25
|
+
overrides: z.record(z.string(), z.string()).optional(),
|
|
26
|
+
relationships: z.array(RelationshipSchema).optional(),
|
|
27
|
+
})
|
|
28
|
+
.passthrough();
|
|
29
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/domain/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,kBAAkB,GAAG,CAAC;KACzB,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC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;IACtD,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,QAAQ,EAAE;CACtD,CAAC;KACD,WAAW,EAAE,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./domain/types.js";
|
|
2
|
+
export * from "./domain/classification.js";
|
|
3
|
+
export * from "./domain/formatting.js";
|
|
4
|
+
export * from "./domain/domainGenerator.js";
|
|
5
|
+
export * from "./domain/domainAnalysis.js";
|
|
6
|
+
export * from "./domain/glossary.js";
|
|
7
|
+
export * from "./domain/relationships.js";
|
|
8
|
+
export * from "./domain/health.js";
|
|
9
|
+
export * from "./domain/contextMap.js";
|
|
10
|
+
export * from "./domain/editorValidation.js";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Public API for c3-domain-manager package
|
|
2
|
+
export * from "./domain/types.js";
|
|
3
|
+
export * from "./domain/classification.js";
|
|
4
|
+
export * from "./domain/formatting.js";
|
|
5
|
+
export * from "./domain/domainGenerator.js";
|
|
6
|
+
export * from "./domain/domainAnalysis.js";
|
|
7
|
+
export * from "./domain/glossary.js";
|
|
8
|
+
export * from "./domain/relationships.js";
|
|
9
|
+
export * from "./domain/health.js";
|
|
10
|
+
export * from "./domain/contextMap.js";
|
|
11
|
+
export * from "./domain/editorValidation.js";
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAE3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/mcp/server.ts"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAkiBlE,wBAAsB,WAAW,CAAC,GAAG,GAAE,iBAAuD,GAAG,OAAO,CAAC,IAAI,CAAC,CAuC7G"}
|