@maycombhq/sdk 2.0.0-beta.1 → 2.0.0-beta.11

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.
Files changed (102) hide show
  1. package/{dist → npm}/cache.d.ts +1 -1
  2. package/npm/core/api.d.ts +7964 -0
  3. package/npm/core/assistant-actor.d.ts +15 -0
  4. package/npm/core/audit.d.ts +153 -0
  5. package/npm/core/branches.d.ts +21 -0
  6. package/npm/core/cancel.d.ts +9 -0
  7. package/npm/core/catalog.d.ts +4735 -0
  8. package/npm/core/change-types-migrate.d.ts +10 -0
  9. package/npm/core/cite.d.ts +54 -0
  10. package/npm/core/contract-check.d.ts +251 -0
  11. package/npm/core/curated.d.ts +37 -0
  12. package/npm/core/fact-paths.d.ts +14 -0
  13. package/npm/core/facts-callers.d.ts +152 -0
  14. package/npm/core/facts-carry.d.ts +36 -0
  15. package/npm/core/facts-join-prototype.d.ts +239 -0
  16. package/npm/core/facts-join-vendor.d.ts +110 -0
  17. package/npm/core/facts-join.d.ts +482 -0
  18. package/npm/core/facts-terms.d.ts +108 -0
  19. package/npm/core/facts.d.ts +94 -0
  20. package/npm/core/fs.d.ts +47 -0
  21. package/npm/core/gates-migrate.d.ts +10 -0
  22. package/npm/core/host-questions.d.ts +111 -0
  23. package/npm/core/identity.d.ts +17 -0
  24. package/npm/core/index.d.ts +77 -0
  25. package/npm/core/json-schema.d.ts +20 -0
  26. package/npm/core/judgments.d.ts +63 -0
  27. package/npm/core/light.d.ts +8 -0
  28. package/npm/core/link-evidence.d.ts +212 -0
  29. package/npm/core/log.d.ts +49 -0
  30. package/npm/core/manifest-edit.d.ts +57 -0
  31. package/npm/core/merge.d.ts +85 -0
  32. package/npm/core/metarepo.d.ts +91 -0
  33. package/npm/core/migrate.d.ts +32 -0
  34. package/npm/core/migration-files.d.ts +13 -0
  35. package/npm/core/org-notes.d.ts +180 -0
  36. package/npm/core/orgpack-defaults.d.ts +199 -0
  37. package/npm/core/orgpack-load.d.ts +102 -0
  38. package/npm/core/profile-migrate.d.ts +11 -0
  39. package/npm/core/question-order.d.ts +23 -0
  40. package/npm/core/question-owners.d.ts +53 -0
  41. package/npm/core/question-proposals.d.ts +77 -0
  42. package/npm/core/questions.d.ts +312 -0
  43. package/npm/core/record-cache.d.ts +52 -0
  44. package/npm/core/refs.d.ts +9 -0
  45. package/npm/core/repo-description.d.ts +44 -0
  46. package/npm/core/repo-reads.d.ts +44 -0
  47. package/npm/core/roles-migrate.d.ts +9 -0
  48. package/npm/core/runtime-migrate.d.ts +11 -0
  49. package/npm/core/schema/ai.d.ts +397 -0
  50. package/npm/core/schema/change.d.ts +244 -0
  51. package/npm/core/schema/common.d.ts +135 -0
  52. package/npm/core/schema/conventions.d.ts +80 -0
  53. package/npm/core/schema/dialect.d.ts +801 -0
  54. package/npm/core/schema/executors.d.ts +396 -0
  55. package/npm/core/schema/fact-corrections.d.ts +56 -0
  56. package/npm/core/schema/facts.d.ts +1773 -0
  57. package/npm/core/schema/frameworks.d.ts +371 -0
  58. package/npm/core/schema/judgment.d.ts +77 -0
  59. package/npm/core/schema/kinds.d.ts +5168 -0
  60. package/npm/core/schema/layout.d.ts +25 -0
  61. package/npm/core/schema/orgpack.d.ts +1193 -0
  62. package/npm/core/schema/plugin.d.ts +73 -0
  63. package/npm/core/schema/question.d.ts +230 -0
  64. package/npm/core/schema/repo-type.d.ts +127 -0
  65. package/npm/core/schema/review.d.ts +558 -0
  66. package/npm/core/schema/scan-settings.d.ts +34 -0
  67. package/npm/core/schema/scan-verify.d.ts +535 -0
  68. package/npm/core/schema/spec.d.ts +269 -0
  69. package/npm/core/schema/version.d.ts +10 -0
  70. package/npm/core/schema/workspace.d.ts +330 -0
  71. package/npm/core/serialize.d.ts +17 -0
  72. package/npm/core/shared-maps.d.ts +146 -0
  73. package/npm/core/sources-migrate.d.ts +15 -0
  74. package/npm/core/specs.d.ts +66 -0
  75. package/npm/core/stack-helpers.d.ts +32 -0
  76. package/npm/core/tar-read.d.ts +13 -0
  77. package/npm/core/template.d.ts +101 -0
  78. package/npm/core/words.d.ts +13 -0
  79. package/npm/core/zip-read.d.ts +37 -0
  80. package/npm/core/zip.d.ts +13 -0
  81. package/npm/index.js +10097 -0
  82. package/{dist → npm}/plugin.d.ts +1 -1
  83. package/{dist → npm}/runner.d.ts +1 -1
  84. package/package.json +10 -11
  85. package/dist/cache.js +0 -115
  86. package/dist/cache.js.map +0 -1
  87. package/dist/fs-repo.js +0 -120
  88. package/dist/fs-repo.js.map +0 -1
  89. package/dist/index.js +0 -7
  90. package/dist/index.js.map +0 -1
  91. package/dist/parse-cache.js +0 -275
  92. package/dist/parse-cache.js.map +0 -1
  93. package/dist/plugin.js +0 -85
  94. package/dist/plugin.js.map +0 -1
  95. package/dist/runner.js +0 -209
  96. package/dist/runner.js.map +0 -1
  97. package/dist/sandbox.js +0 -443
  98. package/dist/sandbox.js.map +0 -1
  99. /package/{dist → npm}/fs-repo.d.ts +0 -0
  100. /package/{dist → npm}/index.d.ts +0 -0
  101. /package/{dist → npm}/parse-cache.d.ts +0 -0
  102. /package/{dist → npm}/sandbox.d.ts +0 -0
@@ -0,0 +1,801 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * Contract C2: a dialect rule file, `org-pack/dialects/<name>.yaml`. A dialect teaches the
4
+ * scanner a house framework (custom annotations, base classes, config keys, XML or JSON
5
+ * descriptors) without code. Rules map a match in the source to a catalog record (C1).
6
+ * Every dialect ships tests; a dialect whose tests fail does not load. See ADR 0011.
7
+ */
8
+ export declare const DIALECT_SCHEMA_VERSION: 1;
9
+ /** Grammars shipped with Atticus for syntax matches (ADR 0060). */
10
+ export declare const SyntaxLanguage: z.ZodEnum<{
11
+ java: "java";
12
+ kotlin: "kotlin";
13
+ typescript: "typescript";
14
+ tsx: "tsx";
15
+ javascript: "javascript";
16
+ c_sharp: "c_sharp";
17
+ python: "python";
18
+ go: "go";
19
+ scala: "scala";
20
+ ruby: "ruby";
21
+ php: "php";
22
+ rust: "rust";
23
+ groovy: "groovy";
24
+ }>;
25
+ export declare const DialectMatch: z.ZodUnion<readonly [z.ZodObject<{
26
+ files: z.ZodArray<z.ZodString>;
27
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
28
+ annotation: z.ZodString;
29
+ target: z.ZodDefault<z.ZodEnum<{
30
+ any: "any";
31
+ method: "method";
32
+ field: "field";
33
+ class: "class";
34
+ parameter: "parameter";
35
+ }>>;
36
+ }, z.core.$strict>, z.ZodObject<{
37
+ files: z.ZodArray<z.ZodString>;
38
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
39
+ baseClass: z.ZodString;
40
+ }, z.core.$strict>, z.ZodObject<{
41
+ files: z.ZodArray<z.ZodString>;
42
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
43
+ methodCall: z.ZodString;
44
+ receiverType: z.ZodOptional<z.ZodString>;
45
+ }, z.core.$strict>, z.ZodObject<{
46
+ files: z.ZodArray<z.ZodString>;
47
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
48
+ configKey: z.ZodString;
49
+ }, z.core.$strict>, z.ZodObject<{
50
+ files: z.ZodArray<z.ZodString>;
51
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
52
+ xpath: z.ZodString;
53
+ }, z.core.$strict>, z.ZodObject<{
54
+ files: z.ZodArray<z.ZodString>;
55
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
56
+ jsonPath: z.ZodString;
57
+ }, z.core.$strict>, z.ZodObject<{
58
+ files: z.ZodArray<z.ZodString>;
59
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
60
+ syntax: z.ZodString;
61
+ language: z.ZodOptional<z.ZodEnum<{
62
+ java: "java";
63
+ kotlin: "kotlin";
64
+ typescript: "typescript";
65
+ tsx: "tsx";
66
+ javascript: "javascript";
67
+ c_sharp: "c_sharp";
68
+ python: "python";
69
+ go: "go";
70
+ scala: "scala";
71
+ ruby: "ruby";
72
+ php: "php";
73
+ rust: "rust";
74
+ groovy: "groovy";
75
+ }>>;
76
+ }, z.core.$strict>, z.ZodObject<{
77
+ files: z.ZodArray<z.ZodString>;
78
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
79
+ hclBlock: z.ZodString;
80
+ }, z.core.$strict>, z.ZodObject<{
81
+ files: z.ZodArray<z.ZodString>;
82
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
83
+ regex: z.ZodString;
84
+ }, z.core.$strict>]>;
85
+ export type DialectMatch = z.infer<typeof DialectMatch>;
86
+ export declare function matchType(m: DialectMatch): "annotation" | "baseClass" | "methodCall" | "configKey" | "xpath" | "jsonPath" | "hclBlock" | "syntax" | "regex";
87
+ /** A list item that collects one value per node under the match (ADR 0061). */
88
+ export declare const DialectEach: z.ZodObject<{
89
+ each: z.ZodString;
90
+ value: z.ZodString;
91
+ where: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
92
+ value: z.ZodString;
93
+ matches: z.ZodString;
94
+ }, z.core.$strict>>>>;
95
+ }, z.core.$strict>;
96
+ export type DialectEach = z.infer<typeof DialectEach>;
97
+ /** A field's value: a template, a literal, a list (of templates or collecting items), or an object of them. */
98
+ export type DialectFieldValue = string | number | boolean | (string | DialectEach)[] | {
99
+ [key: string]: DialectFieldValue;
100
+ };
101
+ /** Every template inside a field value, collecting items' too. */
102
+ export declare function fieldTemplates(v: DialectFieldValue): string[];
103
+ /** Whether a field value collects anything (needs a jsonPath match). */
104
+ export declare function fieldCollects(v: DialectFieldValue): boolean;
105
+ export declare const DialectEmit: z.ZodObject<{
106
+ kind: z.ZodEnum<{
107
+ System: "System";
108
+ Component: "Component";
109
+ Endpoint: "Endpoint";
110
+ Interface: "Interface";
111
+ GatewayRoute: "GatewayRoute";
112
+ Schema: "Schema";
113
+ FieldMapping: "FieldMapping";
114
+ DataStore: "DataStore";
115
+ Table: "Table";
116
+ Column: "Column";
117
+ IndexConstraint: "IndexConstraint";
118
+ Migration: "Migration";
119
+ Deployment: "Deployment";
120
+ Setting: "Setting";
121
+ ObservabilityAsset: "ObservabilityAsset";
122
+ AccessGrant: "AccessGrant";
123
+ QualityAsset: "QualityAsset";
124
+ Obligation: "Obligation";
125
+ GlossaryTerm: "GlossaryTerm";
126
+ Pattern: "Pattern";
127
+ Decision: "Decision";
128
+ SourceDocument: "SourceDocument";
129
+ Party: "Party";
130
+ Product: "Product";
131
+ Initiative: "Initiative";
132
+ Commitment: "Commitment";
133
+ OwnerQuestion: "OwnerQuestion";
134
+ ProcessDefinition: "ProcessDefinition";
135
+ ProcessArtifact: "ProcessArtifact";
136
+ Capability: "Capability";
137
+ Flow: "Flow";
138
+ Unresolved: "Unresolved";
139
+ CuratedDecision: "CuratedDecision";
140
+ }>;
141
+ id: z.ZodOptional<z.ZodString>;
142
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<DialectFieldValue, unknown, z.core.$ZodTypeInternals<DialectFieldValue, unknown>>>>;
143
+ evidence: z.ZodDefault<z.ZodObject<{
144
+ source: z.ZodDefault<z.ZodEnum<{
145
+ code: "code";
146
+ config: "config";
147
+ spec: "spec";
148
+ gateway: "gateway";
149
+ "event-config": "event-config";
150
+ infrastructure: "infrastructure";
151
+ pipeline: "pipeline";
152
+ migration: "migration";
153
+ diagram: "diagram";
154
+ document: "document";
155
+ export: "export";
156
+ manual: "manual";
157
+ }>>;
158
+ side: z.ZodOptional<z.ZodEnum<{
159
+ gateway: "gateway";
160
+ caller: "caller";
161
+ callee: "callee";
162
+ definition: "definition";
163
+ }>>;
164
+ }, z.core.$strict>>;
165
+ }, z.core.$strict>;
166
+ /** A condition on a match (ADR 0056): the template's value must match the regex. */
167
+ export declare const DialectWhere: z.ZodObject<{
168
+ value: z.ZodString;
169
+ matches: z.ZodString;
170
+ }, z.core.$strict>;
171
+ export declare const DialectRule: z.ZodObject<{
172
+ id: z.ZodString;
173
+ description: z.ZodString;
174
+ match: z.ZodUnion<readonly [z.ZodObject<{
175
+ files: z.ZodArray<z.ZodString>;
176
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
177
+ annotation: z.ZodString;
178
+ target: z.ZodDefault<z.ZodEnum<{
179
+ any: "any";
180
+ method: "method";
181
+ field: "field";
182
+ class: "class";
183
+ parameter: "parameter";
184
+ }>>;
185
+ }, z.core.$strict>, z.ZodObject<{
186
+ files: z.ZodArray<z.ZodString>;
187
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
188
+ baseClass: z.ZodString;
189
+ }, z.core.$strict>, z.ZodObject<{
190
+ files: z.ZodArray<z.ZodString>;
191
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
192
+ methodCall: z.ZodString;
193
+ receiverType: z.ZodOptional<z.ZodString>;
194
+ }, z.core.$strict>, z.ZodObject<{
195
+ files: z.ZodArray<z.ZodString>;
196
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
197
+ configKey: z.ZodString;
198
+ }, z.core.$strict>, z.ZodObject<{
199
+ files: z.ZodArray<z.ZodString>;
200
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
201
+ xpath: z.ZodString;
202
+ }, z.core.$strict>, z.ZodObject<{
203
+ files: z.ZodArray<z.ZodString>;
204
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
205
+ jsonPath: z.ZodString;
206
+ }, z.core.$strict>, z.ZodObject<{
207
+ files: z.ZodArray<z.ZodString>;
208
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
209
+ syntax: z.ZodString;
210
+ language: z.ZodOptional<z.ZodEnum<{
211
+ java: "java";
212
+ kotlin: "kotlin";
213
+ typescript: "typescript";
214
+ tsx: "tsx";
215
+ javascript: "javascript";
216
+ c_sharp: "c_sharp";
217
+ python: "python";
218
+ go: "go";
219
+ scala: "scala";
220
+ ruby: "ruby";
221
+ php: "php";
222
+ rust: "rust";
223
+ groovy: "groovy";
224
+ }>>;
225
+ }, z.core.$strict>, z.ZodObject<{
226
+ files: z.ZodArray<z.ZodString>;
227
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
228
+ hclBlock: z.ZodString;
229
+ }, z.core.$strict>, z.ZodObject<{
230
+ files: z.ZodArray<z.ZodString>;
231
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
232
+ regex: z.ZodString;
233
+ }, z.core.$strict>]>;
234
+ where: z.ZodOptional<z.ZodArray<z.ZodObject<{
235
+ value: z.ZodString;
236
+ matches: z.ZodString;
237
+ }, z.core.$strict>>>;
238
+ emit: z.ZodUnion<readonly [z.ZodObject<{
239
+ kind: z.ZodEnum<{
240
+ System: "System";
241
+ Component: "Component";
242
+ Endpoint: "Endpoint";
243
+ Interface: "Interface";
244
+ GatewayRoute: "GatewayRoute";
245
+ Schema: "Schema";
246
+ FieldMapping: "FieldMapping";
247
+ DataStore: "DataStore";
248
+ Table: "Table";
249
+ Column: "Column";
250
+ IndexConstraint: "IndexConstraint";
251
+ Migration: "Migration";
252
+ Deployment: "Deployment";
253
+ Setting: "Setting";
254
+ ObservabilityAsset: "ObservabilityAsset";
255
+ AccessGrant: "AccessGrant";
256
+ QualityAsset: "QualityAsset";
257
+ Obligation: "Obligation";
258
+ GlossaryTerm: "GlossaryTerm";
259
+ Pattern: "Pattern";
260
+ Decision: "Decision";
261
+ SourceDocument: "SourceDocument";
262
+ Party: "Party";
263
+ Product: "Product";
264
+ Initiative: "Initiative";
265
+ Commitment: "Commitment";
266
+ OwnerQuestion: "OwnerQuestion";
267
+ ProcessDefinition: "ProcessDefinition";
268
+ ProcessArtifact: "ProcessArtifact";
269
+ Capability: "Capability";
270
+ Flow: "Flow";
271
+ Unresolved: "Unresolved";
272
+ CuratedDecision: "CuratedDecision";
273
+ }>;
274
+ id: z.ZodOptional<z.ZodString>;
275
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<DialectFieldValue, unknown, z.core.$ZodTypeInternals<DialectFieldValue, unknown>>>>;
276
+ evidence: z.ZodDefault<z.ZodObject<{
277
+ source: z.ZodDefault<z.ZodEnum<{
278
+ code: "code";
279
+ config: "config";
280
+ spec: "spec";
281
+ gateway: "gateway";
282
+ "event-config": "event-config";
283
+ infrastructure: "infrastructure";
284
+ pipeline: "pipeline";
285
+ migration: "migration";
286
+ diagram: "diagram";
287
+ document: "document";
288
+ export: "export";
289
+ manual: "manual";
290
+ }>>;
291
+ side: z.ZodOptional<z.ZodEnum<{
292
+ gateway: "gateway";
293
+ caller: "caller";
294
+ callee: "callee";
295
+ definition: "definition";
296
+ }>>;
297
+ }, z.core.$strict>>;
298
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
299
+ kind: z.ZodEnum<{
300
+ System: "System";
301
+ Component: "Component";
302
+ Endpoint: "Endpoint";
303
+ Interface: "Interface";
304
+ GatewayRoute: "GatewayRoute";
305
+ Schema: "Schema";
306
+ FieldMapping: "FieldMapping";
307
+ DataStore: "DataStore";
308
+ Table: "Table";
309
+ Column: "Column";
310
+ IndexConstraint: "IndexConstraint";
311
+ Migration: "Migration";
312
+ Deployment: "Deployment";
313
+ Setting: "Setting";
314
+ ObservabilityAsset: "ObservabilityAsset";
315
+ AccessGrant: "AccessGrant";
316
+ QualityAsset: "QualityAsset";
317
+ Obligation: "Obligation";
318
+ GlossaryTerm: "GlossaryTerm";
319
+ Pattern: "Pattern";
320
+ Decision: "Decision";
321
+ SourceDocument: "SourceDocument";
322
+ Party: "Party";
323
+ Product: "Product";
324
+ Initiative: "Initiative";
325
+ Commitment: "Commitment";
326
+ OwnerQuestion: "OwnerQuestion";
327
+ ProcessDefinition: "ProcessDefinition";
328
+ ProcessArtifact: "ProcessArtifact";
329
+ Capability: "Capability";
330
+ Flow: "Flow";
331
+ Unresolved: "Unresolved";
332
+ CuratedDecision: "CuratedDecision";
333
+ }>;
334
+ id: z.ZodOptional<z.ZodString>;
335
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<DialectFieldValue, unknown, z.core.$ZodTypeInternals<DialectFieldValue, unknown>>>>;
336
+ evidence: z.ZodDefault<z.ZodObject<{
337
+ source: z.ZodDefault<z.ZodEnum<{
338
+ code: "code";
339
+ config: "config";
340
+ spec: "spec";
341
+ gateway: "gateway";
342
+ "event-config": "event-config";
343
+ infrastructure: "infrastructure";
344
+ pipeline: "pipeline";
345
+ migration: "migration";
346
+ diagram: "diagram";
347
+ document: "document";
348
+ export: "export";
349
+ manual: "manual";
350
+ }>>;
351
+ side: z.ZodOptional<z.ZodEnum<{
352
+ gateway: "gateway";
353
+ caller: "caller";
354
+ callee: "callee";
355
+ definition: "definition";
356
+ }>>;
357
+ }, z.core.$strict>>;
358
+ }, z.core.$strict>>]>;
359
+ confidence: z.ZodEnum<{
360
+ verified: "verified";
361
+ inferred: "inferred";
362
+ }>;
363
+ }, z.core.$strict>;
364
+ export type DialectRule = z.infer<typeof DialectRule>;
365
+ export type DialectEmit = z.infer<typeof DialectEmit>;
366
+ /**
367
+ * A lookup table (ADR 0058): rows from the places a match finds, each keyed by a template and
368
+ * holding named template values. Rules read a row with ${lookup:<table>(<key>).<value>}.
369
+ */
370
+ export declare const DialectLookup: z.ZodObject<{
371
+ match: z.ZodUnion<readonly [z.ZodObject<{
372
+ files: z.ZodArray<z.ZodString>;
373
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
374
+ annotation: z.ZodString;
375
+ target: z.ZodDefault<z.ZodEnum<{
376
+ any: "any";
377
+ method: "method";
378
+ field: "field";
379
+ class: "class";
380
+ parameter: "parameter";
381
+ }>>;
382
+ }, z.core.$strict>, z.ZodObject<{
383
+ files: z.ZodArray<z.ZodString>;
384
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
385
+ baseClass: z.ZodString;
386
+ }, z.core.$strict>, z.ZodObject<{
387
+ files: z.ZodArray<z.ZodString>;
388
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
389
+ methodCall: z.ZodString;
390
+ receiverType: z.ZodOptional<z.ZodString>;
391
+ }, z.core.$strict>, z.ZodObject<{
392
+ files: z.ZodArray<z.ZodString>;
393
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
394
+ configKey: z.ZodString;
395
+ }, z.core.$strict>, z.ZodObject<{
396
+ files: z.ZodArray<z.ZodString>;
397
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
398
+ xpath: z.ZodString;
399
+ }, z.core.$strict>, z.ZodObject<{
400
+ files: z.ZodArray<z.ZodString>;
401
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
402
+ jsonPath: z.ZodString;
403
+ }, z.core.$strict>, z.ZodObject<{
404
+ files: z.ZodArray<z.ZodString>;
405
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
406
+ syntax: z.ZodString;
407
+ language: z.ZodOptional<z.ZodEnum<{
408
+ java: "java";
409
+ kotlin: "kotlin";
410
+ typescript: "typescript";
411
+ tsx: "tsx";
412
+ javascript: "javascript";
413
+ c_sharp: "c_sharp";
414
+ python: "python";
415
+ go: "go";
416
+ scala: "scala";
417
+ ruby: "ruby";
418
+ php: "php";
419
+ rust: "rust";
420
+ groovy: "groovy";
421
+ }>>;
422
+ }, z.core.$strict>, z.ZodObject<{
423
+ files: z.ZodArray<z.ZodString>;
424
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
425
+ hclBlock: z.ZodString;
426
+ }, z.core.$strict>, z.ZodObject<{
427
+ files: z.ZodArray<z.ZodString>;
428
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
429
+ regex: z.ZodString;
430
+ }, z.core.$strict>]>;
431
+ key: z.ZodString;
432
+ values: z.ZodRecord<z.ZodString, z.ZodString>;
433
+ }, z.core.$strict>;
434
+ export declare const DialectTest: z.ZodObject<{
435
+ name: z.ZodString;
436
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
437
+ fixture: z.ZodOptional<z.ZodString>;
438
+ expect: z.ZodDefault<z.ZodArray<z.ZodObject<{
439
+ kind: z.ZodEnum<{
440
+ System: "System";
441
+ Component: "Component";
442
+ Endpoint: "Endpoint";
443
+ Interface: "Interface";
444
+ GatewayRoute: "GatewayRoute";
445
+ Schema: "Schema";
446
+ FieldMapping: "FieldMapping";
447
+ DataStore: "DataStore";
448
+ Table: "Table";
449
+ Column: "Column";
450
+ IndexConstraint: "IndexConstraint";
451
+ Migration: "Migration";
452
+ Deployment: "Deployment";
453
+ Setting: "Setting";
454
+ ObservabilityAsset: "ObservabilityAsset";
455
+ AccessGrant: "AccessGrant";
456
+ QualityAsset: "QualityAsset";
457
+ Obligation: "Obligation";
458
+ GlossaryTerm: "GlossaryTerm";
459
+ Pattern: "Pattern";
460
+ Decision: "Decision";
461
+ SourceDocument: "SourceDocument";
462
+ Party: "Party";
463
+ Product: "Product";
464
+ Initiative: "Initiative";
465
+ Commitment: "Commitment";
466
+ OwnerQuestion: "OwnerQuestion";
467
+ ProcessDefinition: "ProcessDefinition";
468
+ ProcessArtifact: "ProcessArtifact";
469
+ Capability: "Capability";
470
+ Flow: "Flow";
471
+ Unresolved: "Unresolved";
472
+ CuratedDecision: "CuratedDecision";
473
+ }>;
474
+ id: z.ZodString;
475
+ }, z.core.$loose>>>;
476
+ absent: z.ZodDefault<z.ZodArray<z.ZodString>>;
477
+ }, z.core.$strict>;
478
+ export declare const Dialect: z.ZodObject<{
479
+ schemaVersion: z.ZodLiteral<1>;
480
+ name: z.ZodString;
481
+ version: z.ZodString;
482
+ description: z.ZodOptional<z.ZodString>;
483
+ extends: z.ZodDefault<z.ZodArray<z.ZodString>>;
484
+ appliesTo: z.ZodObject<{
485
+ repoTypes: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>>>;
486
+ marker: z.ZodOptional<z.ZodString>;
487
+ }, z.core.$strict>;
488
+ layout: z.ZodDefault<z.ZodObject<{
489
+ sourceRoots: z.ZodDefault<z.ZodArray<z.ZodString>>;
490
+ configFiles: z.ZodDefault<z.ZodArray<z.ZodString>>;
491
+ }, z.core.$strict>>;
492
+ normalize: z.ZodDefault<z.ZodObject<{
493
+ stripPathPrefixes: z.ZodDefault<z.ZodArray<z.ZodString>>;
494
+ }, z.core.$strict>>;
495
+ plugin: z.ZodOptional<z.ZodObject<{
496
+ module: z.ZodString;
497
+ export: z.ZodDefault<z.ZodString>;
498
+ }, z.core.$strict>>;
499
+ lookups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
500
+ match: z.ZodUnion<readonly [z.ZodObject<{
501
+ files: z.ZodArray<z.ZodString>;
502
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
503
+ annotation: z.ZodString;
504
+ target: z.ZodDefault<z.ZodEnum<{
505
+ any: "any";
506
+ method: "method";
507
+ field: "field";
508
+ class: "class";
509
+ parameter: "parameter";
510
+ }>>;
511
+ }, z.core.$strict>, z.ZodObject<{
512
+ files: z.ZodArray<z.ZodString>;
513
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
514
+ baseClass: z.ZodString;
515
+ }, z.core.$strict>, z.ZodObject<{
516
+ files: z.ZodArray<z.ZodString>;
517
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
518
+ methodCall: z.ZodString;
519
+ receiverType: z.ZodOptional<z.ZodString>;
520
+ }, z.core.$strict>, z.ZodObject<{
521
+ files: z.ZodArray<z.ZodString>;
522
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
523
+ configKey: z.ZodString;
524
+ }, z.core.$strict>, z.ZodObject<{
525
+ files: z.ZodArray<z.ZodString>;
526
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
527
+ xpath: z.ZodString;
528
+ }, z.core.$strict>, z.ZodObject<{
529
+ files: z.ZodArray<z.ZodString>;
530
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
531
+ jsonPath: z.ZodString;
532
+ }, z.core.$strict>, z.ZodObject<{
533
+ files: z.ZodArray<z.ZodString>;
534
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
535
+ syntax: z.ZodString;
536
+ language: z.ZodOptional<z.ZodEnum<{
537
+ java: "java";
538
+ kotlin: "kotlin";
539
+ typescript: "typescript";
540
+ tsx: "tsx";
541
+ javascript: "javascript";
542
+ c_sharp: "c_sharp";
543
+ python: "python";
544
+ go: "go";
545
+ scala: "scala";
546
+ ruby: "ruby";
547
+ php: "php";
548
+ rust: "rust";
549
+ groovy: "groovy";
550
+ }>>;
551
+ }, z.core.$strict>, z.ZodObject<{
552
+ files: z.ZodArray<z.ZodString>;
553
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
554
+ hclBlock: z.ZodString;
555
+ }, z.core.$strict>, z.ZodObject<{
556
+ files: z.ZodArray<z.ZodString>;
557
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
558
+ regex: z.ZodString;
559
+ }, z.core.$strict>]>;
560
+ key: z.ZodString;
561
+ values: z.ZodRecord<z.ZodString, z.ZodString>;
562
+ }, z.core.$strict>>>;
563
+ rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
564
+ id: z.ZodString;
565
+ description: z.ZodString;
566
+ match: z.ZodUnion<readonly [z.ZodObject<{
567
+ files: z.ZodArray<z.ZodString>;
568
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
569
+ annotation: z.ZodString;
570
+ target: z.ZodDefault<z.ZodEnum<{
571
+ any: "any";
572
+ method: "method";
573
+ field: "field";
574
+ class: "class";
575
+ parameter: "parameter";
576
+ }>>;
577
+ }, z.core.$strict>, z.ZodObject<{
578
+ files: z.ZodArray<z.ZodString>;
579
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
580
+ baseClass: z.ZodString;
581
+ }, z.core.$strict>, z.ZodObject<{
582
+ files: z.ZodArray<z.ZodString>;
583
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
584
+ methodCall: z.ZodString;
585
+ receiverType: z.ZodOptional<z.ZodString>;
586
+ }, z.core.$strict>, z.ZodObject<{
587
+ files: z.ZodArray<z.ZodString>;
588
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
589
+ configKey: z.ZodString;
590
+ }, z.core.$strict>, z.ZodObject<{
591
+ files: z.ZodArray<z.ZodString>;
592
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
593
+ xpath: z.ZodString;
594
+ }, z.core.$strict>, z.ZodObject<{
595
+ files: z.ZodArray<z.ZodString>;
596
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
597
+ jsonPath: z.ZodString;
598
+ }, z.core.$strict>, z.ZodObject<{
599
+ files: z.ZodArray<z.ZodString>;
600
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
601
+ syntax: z.ZodString;
602
+ language: z.ZodOptional<z.ZodEnum<{
603
+ java: "java";
604
+ kotlin: "kotlin";
605
+ typescript: "typescript";
606
+ tsx: "tsx";
607
+ javascript: "javascript";
608
+ c_sharp: "c_sharp";
609
+ python: "python";
610
+ go: "go";
611
+ scala: "scala";
612
+ ruby: "ruby";
613
+ php: "php";
614
+ rust: "rust";
615
+ groovy: "groovy";
616
+ }>>;
617
+ }, z.core.$strict>, z.ZodObject<{
618
+ files: z.ZodArray<z.ZodString>;
619
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
620
+ hclBlock: z.ZodString;
621
+ }, z.core.$strict>, z.ZodObject<{
622
+ files: z.ZodArray<z.ZodString>;
623
+ contains: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
624
+ regex: z.ZodString;
625
+ }, z.core.$strict>]>;
626
+ where: z.ZodOptional<z.ZodArray<z.ZodObject<{
627
+ value: z.ZodString;
628
+ matches: z.ZodString;
629
+ }, z.core.$strict>>>;
630
+ emit: z.ZodUnion<readonly [z.ZodObject<{
631
+ kind: z.ZodEnum<{
632
+ System: "System";
633
+ Component: "Component";
634
+ Endpoint: "Endpoint";
635
+ Interface: "Interface";
636
+ GatewayRoute: "GatewayRoute";
637
+ Schema: "Schema";
638
+ FieldMapping: "FieldMapping";
639
+ DataStore: "DataStore";
640
+ Table: "Table";
641
+ Column: "Column";
642
+ IndexConstraint: "IndexConstraint";
643
+ Migration: "Migration";
644
+ Deployment: "Deployment";
645
+ Setting: "Setting";
646
+ ObservabilityAsset: "ObservabilityAsset";
647
+ AccessGrant: "AccessGrant";
648
+ QualityAsset: "QualityAsset";
649
+ Obligation: "Obligation";
650
+ GlossaryTerm: "GlossaryTerm";
651
+ Pattern: "Pattern";
652
+ Decision: "Decision";
653
+ SourceDocument: "SourceDocument";
654
+ Party: "Party";
655
+ Product: "Product";
656
+ Initiative: "Initiative";
657
+ Commitment: "Commitment";
658
+ OwnerQuestion: "OwnerQuestion";
659
+ ProcessDefinition: "ProcessDefinition";
660
+ ProcessArtifact: "ProcessArtifact";
661
+ Capability: "Capability";
662
+ Flow: "Flow";
663
+ Unresolved: "Unresolved";
664
+ CuratedDecision: "CuratedDecision";
665
+ }>;
666
+ id: z.ZodOptional<z.ZodString>;
667
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<DialectFieldValue, unknown, z.core.$ZodTypeInternals<DialectFieldValue, unknown>>>>;
668
+ evidence: z.ZodDefault<z.ZodObject<{
669
+ source: z.ZodDefault<z.ZodEnum<{
670
+ code: "code";
671
+ config: "config";
672
+ spec: "spec";
673
+ gateway: "gateway";
674
+ "event-config": "event-config";
675
+ infrastructure: "infrastructure";
676
+ pipeline: "pipeline";
677
+ migration: "migration";
678
+ diagram: "diagram";
679
+ document: "document";
680
+ export: "export";
681
+ manual: "manual";
682
+ }>>;
683
+ side: z.ZodOptional<z.ZodEnum<{
684
+ gateway: "gateway";
685
+ caller: "caller";
686
+ callee: "callee";
687
+ definition: "definition";
688
+ }>>;
689
+ }, z.core.$strict>>;
690
+ }, z.core.$strict>, z.ZodArray<z.ZodObject<{
691
+ kind: z.ZodEnum<{
692
+ System: "System";
693
+ Component: "Component";
694
+ Endpoint: "Endpoint";
695
+ Interface: "Interface";
696
+ GatewayRoute: "GatewayRoute";
697
+ Schema: "Schema";
698
+ FieldMapping: "FieldMapping";
699
+ DataStore: "DataStore";
700
+ Table: "Table";
701
+ Column: "Column";
702
+ IndexConstraint: "IndexConstraint";
703
+ Migration: "Migration";
704
+ Deployment: "Deployment";
705
+ Setting: "Setting";
706
+ ObservabilityAsset: "ObservabilityAsset";
707
+ AccessGrant: "AccessGrant";
708
+ QualityAsset: "QualityAsset";
709
+ Obligation: "Obligation";
710
+ GlossaryTerm: "GlossaryTerm";
711
+ Pattern: "Pattern";
712
+ Decision: "Decision";
713
+ SourceDocument: "SourceDocument";
714
+ Party: "Party";
715
+ Product: "Product";
716
+ Initiative: "Initiative";
717
+ Commitment: "Commitment";
718
+ OwnerQuestion: "OwnerQuestion";
719
+ ProcessDefinition: "ProcessDefinition";
720
+ ProcessArtifact: "ProcessArtifact";
721
+ Capability: "Capability";
722
+ Flow: "Flow";
723
+ Unresolved: "Unresolved";
724
+ CuratedDecision: "CuratedDecision";
725
+ }>;
726
+ id: z.ZodOptional<z.ZodString>;
727
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<DialectFieldValue, unknown, z.core.$ZodTypeInternals<DialectFieldValue, unknown>>>>;
728
+ evidence: z.ZodDefault<z.ZodObject<{
729
+ source: z.ZodDefault<z.ZodEnum<{
730
+ code: "code";
731
+ config: "config";
732
+ spec: "spec";
733
+ gateway: "gateway";
734
+ "event-config": "event-config";
735
+ infrastructure: "infrastructure";
736
+ pipeline: "pipeline";
737
+ migration: "migration";
738
+ diagram: "diagram";
739
+ document: "document";
740
+ export: "export";
741
+ manual: "manual";
742
+ }>>;
743
+ side: z.ZodOptional<z.ZodEnum<{
744
+ gateway: "gateway";
745
+ caller: "caller";
746
+ callee: "callee";
747
+ definition: "definition";
748
+ }>>;
749
+ }, z.core.$strict>>;
750
+ }, z.core.$strict>>]>;
751
+ confidence: z.ZodEnum<{
752
+ verified: "verified";
753
+ inferred: "inferred";
754
+ }>;
755
+ }, z.core.$strict>>>;
756
+ tests: z.ZodArray<z.ZodObject<{
757
+ name: z.ZodString;
758
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
759
+ fixture: z.ZodOptional<z.ZodString>;
760
+ expect: z.ZodDefault<z.ZodArray<z.ZodObject<{
761
+ kind: z.ZodEnum<{
762
+ System: "System";
763
+ Component: "Component";
764
+ Endpoint: "Endpoint";
765
+ Interface: "Interface";
766
+ GatewayRoute: "GatewayRoute";
767
+ Schema: "Schema";
768
+ FieldMapping: "FieldMapping";
769
+ DataStore: "DataStore";
770
+ Table: "Table";
771
+ Column: "Column";
772
+ IndexConstraint: "IndexConstraint";
773
+ Migration: "Migration";
774
+ Deployment: "Deployment";
775
+ Setting: "Setting";
776
+ ObservabilityAsset: "ObservabilityAsset";
777
+ AccessGrant: "AccessGrant";
778
+ QualityAsset: "QualityAsset";
779
+ Obligation: "Obligation";
780
+ GlossaryTerm: "GlossaryTerm";
781
+ Pattern: "Pattern";
782
+ Decision: "Decision";
783
+ SourceDocument: "SourceDocument";
784
+ Party: "Party";
785
+ Product: "Product";
786
+ Initiative: "Initiative";
787
+ Commitment: "Commitment";
788
+ OwnerQuestion: "OwnerQuestion";
789
+ ProcessDefinition: "ProcessDefinition";
790
+ ProcessArtifact: "ProcessArtifact";
791
+ Capability: "Capability";
792
+ Flow: "Flow";
793
+ Unresolved: "Unresolved";
794
+ CuratedDecision: "CuratedDecision";
795
+ }>;
796
+ id: z.ZodString;
797
+ }, z.core.$loose>>>;
798
+ absent: z.ZodDefault<z.ZodArray<z.ZodString>>;
799
+ }, z.core.$strict>>;
800
+ }, z.core.$strict>;
801
+ export type Dialect = z.infer<typeof Dialect>;