@contractspec/lib.contracts 1.46.1 → 1.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/app-config/app-config.capability.d.ts +7 -0
  2. package/dist/app-config/app-config.capability.js +23 -0
  3. package/dist/app-config/app-config.feature.d.ts +1 -2
  4. package/dist/app-config/app-config.feature.js +9 -2
  5. package/dist/app-config/contracts.d.ts +50 -50
  6. package/dist/app-config/events.d.ts +27 -27
  7. package/dist/app-config/index.d.ts +4 -3
  8. package/dist/app-config/index.js +3 -2
  9. package/dist/app-config/lifecycle-contracts.d.ts +55 -55
  10. package/dist/app-config/runtime.d.ts +6 -6
  11. package/dist/app-config/spec.d.ts +9 -5
  12. package/dist/app-config/spec.js +5 -1
  13. package/dist/contract-registry/schemas.d.ts +2 -2
  14. package/dist/data-views/runtime.d.ts +5 -1
  15. package/dist/data-views/runtime.js +34 -7
  16. package/dist/data-views/spec.d.ts +1 -1
  17. package/dist/docs/index.js +2 -1
  18. package/dist/docs/tech/cli.docblock.d.ts +6 -0
  19. package/dist/docs/tech/cli.docblock.js +138 -0
  20. package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.js +106 -1
  21. package/dist/docs/tech/studio/project-access-teams.docblock.js +3 -1
  22. package/dist/examples/index.d.ts +9 -1
  23. package/dist/examples/index.js +8 -1
  24. package/dist/examples/registry.d.ts +3 -25
  25. package/dist/examples/registry.js +4 -60
  26. package/dist/examples/schema.d.ts +17 -17
  27. package/dist/examples/types.d.ts +1 -1
  28. package/dist/features/types.d.ts +1 -1
  29. package/dist/index.d.ts +27 -26
  30. package/dist/index.js +6 -6
  31. package/dist/install.d.ts +1 -1
  32. package/dist/integrations/index.d.ts +2 -2
  33. package/dist/integrations/index.js +2 -2
  34. package/dist/integrations/integrations.capability.d.ts +7 -0
  35. package/dist/integrations/integrations.capability.js +17 -0
  36. package/dist/integrations/integrations.feature.d.ts +1 -2
  37. package/dist/integrations/integrations.feature.js +9 -2
  38. package/dist/integrations/openbanking/contracts/accounts.d.ts +66 -66
  39. package/dist/integrations/openbanking/contracts/balances.d.ts +34 -34
  40. package/dist/integrations/openbanking/models.d.ts +55 -55
  41. package/dist/integrations/openbanking/openbanking.capability.d.ts +7 -0
  42. package/dist/integrations/openbanking/openbanking.capability.js +21 -0
  43. package/dist/integrations/openbanking/openbanking.feature.d.ts +1 -2
  44. package/dist/integrations/openbanking/openbanking.feature.js +9 -2
  45. package/dist/integrations/operations.d.ts +102 -102
  46. package/dist/integrations/providers/elevenlabs.d.ts +1 -0
  47. package/dist/integrations/providers/elevenlabs.js +3 -2
  48. package/dist/integrations/providers/gcs-storage.d.ts +1 -0
  49. package/dist/integrations/providers/gcs-storage.js +3 -2
  50. package/dist/integrations/providers/gmail.d.ts +1 -0
  51. package/dist/integrations/providers/gmail.js +3 -2
  52. package/dist/integrations/providers/google-calendar.d.ts +1 -0
  53. package/dist/integrations/providers/google-calendar.js +3 -2
  54. package/dist/integrations/providers/impls/provider-factory.js +2 -1
  55. package/dist/integrations/providers/mistral.d.ts +1 -0
  56. package/dist/integrations/providers/mistral.js +3 -2
  57. package/dist/integrations/providers/postmark.d.ts +1 -0
  58. package/dist/integrations/providers/postmark.js +3 -2
  59. package/dist/integrations/providers/powens.d.ts +1 -0
  60. package/dist/integrations/providers/powens.js +3 -2
  61. package/dist/integrations/providers/qdrant.d.ts +1 -0
  62. package/dist/integrations/providers/qdrant.js +3 -2
  63. package/dist/integrations/providers/stripe.d.ts +1 -0
  64. package/dist/integrations/providers/stripe.js +3 -2
  65. package/dist/integrations/providers/twilio-sms.d.ts +1 -0
  66. package/dist/integrations/providers/twilio-sms.js +3 -2
  67. package/dist/integrations/spec.d.ts +5 -1
  68. package/dist/integrations/spec.js +5 -1
  69. package/dist/knowledge/knowledge.capability.d.ts +7 -0
  70. package/dist/knowledge/knowledge.capability.js +21 -0
  71. package/dist/knowledge/knowledge.feature.d.ts +1 -2
  72. package/dist/knowledge/knowledge.feature.js +9 -2
  73. package/dist/knowledge/operations.d.ts +66 -66
  74. package/dist/llm/exporters.d.ts +1 -1
  75. package/dist/llm/types.d.ts +1 -1
  76. package/dist/onboarding-base.d.ts +29 -29
  77. package/dist/operations/operation.d.ts +1 -1
  78. package/dist/server/mcp/createMcpServer.js +1 -1
  79. package/dist/server/mcp/mcpTypes.d.ts +1 -1
  80. package/dist/server/mcp/registerPresentations.js +1 -1
  81. package/dist/server/mcp/registerResources.js +2 -2
  82. package/dist/tests/index.d.ts +2 -2
  83. package/dist/tests/index.js +2 -2
  84. package/dist/tests/spec.d.ts +2 -1
  85. package/dist/tests/spec.js +4 -1
  86. package/dist/types.d.ts +2 -2
  87. package/dist/workflow/index.d.ts +8 -1
  88. package/dist/workflow/index.js +8 -1
  89. package/dist/workflow/runner.d.ts +2 -2
  90. package/dist/workflow/spec.d.ts +1 -1
  91. package/dist/workflow/validation.d.ts +1 -1
  92. package/dist/workspace-config/contractsrc-schema.d.ts +45 -974
  93. package/dist/workspace-config/contractsrc-schema.js +89 -55
  94. package/dist/workspace-config/contractsrc-types.d.ts +346 -0
  95. package/dist/workspace-config/contractsrc-types.js +0 -0
  96. package/dist/workspace-config/index.d.ts +3 -2
  97. package/package.json +27 -25
  98. package/dist/docs/tech/contracts/create-subscription.docblock.d.ts +0 -6
  99. package/dist/docs/tech/contracts/create-subscription.docblock.js +0 -21
  100. package/dist/docs/tech/contracts/graphql-typed-outputs.docblock.d.ts +0 -6
  101. package/dist/docs/tech/contracts/graphql-typed-outputs.docblock.js +0 -21
  102. package/dist/docs/tech/templates/runtime.docblock.d.ts +0 -6
  103. package/dist/docs/tech/templates/runtime.docblock.js +0 -21
@@ -1,3 +1,4 @@
1
+ import { BumpStrategy, ChangelogFormat, ChangelogTier, CheckRunConfig, CiConfig, ClaudeAgentSDKConfig, ContractsrcConfig, ContractsrcFileConfig, ExternalAgentsConfig, ExternalWorkspace, FolderConventions, FormatterConfig, FormatterType, GroupingRule, GroupingStrategy, HooksConfig, ImpactConfig, LintRules, MetaRepoConfig, OpenApiConfig, OpenApiExportConfig, OpenApiSourceConfig, OpenCodeSDKConfig, PrCommentConfig, ResolvedContractsrcConfig, RuleSeverity, RuleSyncConfig, RuleSyncTarget, RulesConfig, SchemaFormat, SpecKind, TestLinkingConfig, TestLinkingStrategy, TestingConfig, VersioningConfig } from "./contractsrc-types.js";
1
2
  import * as z$2 from "zod";
2
3
 
3
4
  //#region src/workspace-config/contractsrc-schema.d.ts
@@ -6,1066 +7,136 @@ import * as z$2 from "zod";
6
7
  * Schema output format for code generation.
7
8
  * Controls how imported/generated schemas are written.
8
9
  */
9
- declare const SchemaFormatSchema: z$2.ZodEnum<{
10
- contractspec: "contractspec";
11
- zod: "zod";
12
- "json-schema": "json-schema";
13
- graphql: "graphql";
14
- }>;
10
+ declare const SchemaFormatSchema: z$2.ZodType<SchemaFormat>;
15
11
  /**
16
12
  * OpenAPI source configuration for import/sync/validate operations.
17
13
  */
18
- declare const OpenApiSourceConfigSchema: z$2.ZodObject<{
19
- name: z$2.ZodString;
20
- url: z$2.ZodOptional<z$2.ZodURL>;
21
- file: z$2.ZodOptional<z$2.ZodString>;
22
- syncMode: z$2.ZodDefault<z$2.ZodEnum<{
23
- import: "import";
24
- sync: "sync";
25
- validate: "validate";
26
- }>>;
27
- tags: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
28
- exclude: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
29
- include: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
30
- prefix: z$2.ZodOptional<z$2.ZodString>;
31
- defaultStability: z$2.ZodOptional<z$2.ZodEnum<{
32
- deprecated: "deprecated";
33
- experimental: "experimental";
34
- beta: "beta";
35
- stable: "stable";
36
- }>>;
37
- defaultAuth: z$2.ZodOptional<z$2.ZodEnum<{
38
- admin: "admin";
39
- anonymous: "anonymous";
40
- user: "user";
41
- }>>;
42
- defaultOwners: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
43
- schemaFormat: z$2.ZodDefault<z$2.ZodEnum<{
44
- contractspec: "contractspec";
45
- zod: "zod";
46
- "json-schema": "json-schema";
47
- graphql: "graphql";
48
- }>>;
49
- }, z$2.core.$strip>;
50
- declare const OpenApiExportConfigSchema: z$2.ZodObject<{
51
- outputPath: z$2.ZodDefault<z$2.ZodString>;
52
- format: z$2.ZodDefault<z$2.ZodEnum<{
53
- json: "json";
54
- yaml: "yaml";
55
- }>>;
56
- title: z$2.ZodOptional<z$2.ZodString>;
57
- version: z$2.ZodOptional<z$2.ZodString>;
58
- description: z$2.ZodOptional<z$2.ZodString>;
59
- servers: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
60
- url: z$2.ZodString;
61
- description: z$2.ZodOptional<z$2.ZodString>;
62
- }, z$2.core.$strip>>>;
63
- }, z$2.core.$strip>;
14
+ declare const OpenApiSourceConfigSchema: z$2.ZodType<OpenApiSourceConfig>;
15
+ declare const OpenApiExportConfigSchema: z$2.ZodType<OpenApiExportConfig>;
64
16
  /**
65
17
  * OpenAPI configuration section.
66
18
  */
67
- declare const OpenApiConfigSchema: z$2.ZodObject<{
68
- sources: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
69
- name: z$2.ZodString;
70
- url: z$2.ZodOptional<z$2.ZodURL>;
71
- file: z$2.ZodOptional<z$2.ZodString>;
72
- syncMode: z$2.ZodDefault<z$2.ZodEnum<{
73
- import: "import";
74
- sync: "sync";
75
- validate: "validate";
76
- }>>;
77
- tags: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
78
- exclude: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
79
- include: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
80
- prefix: z$2.ZodOptional<z$2.ZodString>;
81
- defaultStability: z$2.ZodOptional<z$2.ZodEnum<{
82
- deprecated: "deprecated";
83
- experimental: "experimental";
84
- beta: "beta";
85
- stable: "stable";
86
- }>>;
87
- defaultAuth: z$2.ZodOptional<z$2.ZodEnum<{
88
- admin: "admin";
89
- anonymous: "anonymous";
90
- user: "user";
91
- }>>;
92
- defaultOwners: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
93
- schemaFormat: z$2.ZodDefault<z$2.ZodEnum<{
94
- contractspec: "contractspec";
95
- zod: "zod";
96
- "json-schema": "json-schema";
97
- graphql: "graphql";
98
- }>>;
99
- }, z$2.core.$strip>>>;
100
- export: z$2.ZodOptional<z$2.ZodObject<{
101
- outputPath: z$2.ZodDefault<z$2.ZodString>;
102
- format: z$2.ZodDefault<z$2.ZodEnum<{
103
- json: "json";
104
- yaml: "yaml";
105
- }>>;
106
- title: z$2.ZodOptional<z$2.ZodString>;
107
- version: z$2.ZodOptional<z$2.ZodString>;
108
- description: z$2.ZodOptional<z$2.ZodString>;
109
- servers: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
110
- url: z$2.ZodString;
111
- description: z$2.ZodOptional<z$2.ZodString>;
112
- }, z$2.core.$strip>>>;
113
- }, z$2.core.$strip>>;
114
- }, z$2.core.$strip>;
19
+ declare const OpenApiConfigSchema: z$2.ZodType<OpenApiConfig>;
115
20
  /**
116
21
  * Grouping strategy for organizing specs.
117
22
  */
118
- declare const GroupingStrategySchema: z$2.ZodEnum<{
119
- "by-tag": "by-tag";
120
- "by-owner": "by-owner";
121
- "by-domain": "by-domain";
122
- "by-url-path-single": "by-url-path-single";
123
- "by-url-path-multi": "by-url-path-multi";
124
- "by-feature": "by-feature";
125
- none: "none";
126
- }>;
23
+ declare const GroupingStrategySchema: z$2.ZodType<GroupingStrategy>;
127
24
  /**
128
25
  * Grouping rule configuration.
129
26
  */
130
- declare const GroupingRuleSchema: z$2.ZodObject<{
131
- strategy: z$2.ZodEnum<{
132
- "by-tag": "by-tag";
133
- "by-owner": "by-owner";
134
- "by-domain": "by-domain";
135
- "by-url-path-single": "by-url-path-single";
136
- "by-url-path-multi": "by-url-path-multi";
137
- "by-feature": "by-feature";
138
- none: "none";
139
- }>;
140
- urlPathLevel: z$2.ZodOptional<z$2.ZodNumber>;
141
- pattern: z$2.ZodOptional<z$2.ZodString>;
142
- }, z$2.core.$strip>;
27
+ declare const GroupingRuleSchema: z$2.ZodType<GroupingRule>;
143
28
  /**
144
29
  * Output directory conventions for generated specs.
145
30
  */
146
- declare const FolderConventionsSchema: z$2.ZodObject<{
147
- models: z$2.ZodDefault<z$2.ZodString>;
148
- operations: z$2.ZodDefault<z$2.ZodString>;
149
- events: z$2.ZodDefault<z$2.ZodString>;
150
- presentations: z$2.ZodDefault<z$2.ZodString>;
151
- forms: z$2.ZodDefault<z$2.ZodString>;
152
- groupByFeature: z$2.ZodDefault<z$2.ZodBoolean>;
153
- operationsGrouping: z$2.ZodOptional<z$2.ZodObject<{
154
- strategy: z$2.ZodEnum<{
155
- "by-tag": "by-tag";
156
- "by-owner": "by-owner";
157
- "by-domain": "by-domain";
158
- "by-url-path-single": "by-url-path-single";
159
- "by-url-path-multi": "by-url-path-multi";
160
- "by-feature": "by-feature";
161
- none: "none";
162
- }>;
163
- urlPathLevel: z$2.ZodOptional<z$2.ZodNumber>;
164
- pattern: z$2.ZodOptional<z$2.ZodString>;
165
- }, z$2.core.$strip>>;
166
- modelsGrouping: z$2.ZodOptional<z$2.ZodObject<{
167
- strategy: z$2.ZodEnum<{
168
- "by-tag": "by-tag";
169
- "by-owner": "by-owner";
170
- "by-domain": "by-domain";
171
- "by-url-path-single": "by-url-path-single";
172
- "by-url-path-multi": "by-url-path-multi";
173
- "by-feature": "by-feature";
174
- none: "none";
175
- }>;
176
- urlPathLevel: z$2.ZodOptional<z$2.ZodNumber>;
177
- pattern: z$2.ZodOptional<z$2.ZodString>;
178
- }, z$2.core.$strip>>;
179
- eventsGrouping: z$2.ZodOptional<z$2.ZodObject<{
180
- strategy: z$2.ZodEnum<{
181
- "by-tag": "by-tag";
182
- "by-owner": "by-owner";
183
- "by-domain": "by-domain";
184
- "by-url-path-single": "by-url-path-single";
185
- "by-url-path-multi": "by-url-path-multi";
186
- "by-feature": "by-feature";
187
- none: "none";
188
- }>;
189
- urlPathLevel: z$2.ZodOptional<z$2.ZodNumber>;
190
- pattern: z$2.ZodOptional<z$2.ZodString>;
191
- }, z$2.core.$strip>>;
192
- }, z$2.core.$strip>;
31
+ declare const FolderConventionsSchema: z$2.ZodType<FolderConventions>;
193
32
  /**
194
33
  * PR comment configuration for CI/CD.
195
34
  */
196
- declare const PrCommentConfigSchema: z$2.ZodObject<{
197
- enabled: z$2.ZodDefault<z$2.ZodBoolean>;
198
- template: z$2.ZodDefault<z$2.ZodEnum<{
199
- minimal: "minimal";
200
- detailed: "detailed";
201
- }>>;
202
- updateExisting: z$2.ZodDefault<z$2.ZodBoolean>;
203
- }, z$2.core.$strip>;
35
+ declare const PrCommentConfigSchema: z$2.ZodType<PrCommentConfig>;
204
36
  /**
205
37
  * GitHub check run configuration for CI/CD.
206
38
  */
207
- declare const CheckRunConfigSchema: z$2.ZodObject<{
208
- enabled: z$2.ZodDefault<z$2.ZodBoolean>;
209
- name: z$2.ZodDefault<z$2.ZodString>;
210
- failOnBreaking: z$2.ZodDefault<z$2.ZodBoolean>;
211
- failOnChanges: z$2.ZodDefault<z$2.ZodBoolean>;
212
- }, z$2.core.$strip>;
39
+ declare const CheckRunConfigSchema: z$2.ZodType<CheckRunConfig>;
213
40
  /**
214
41
  * Impact detection configuration for CI/CD.
215
42
  */
216
- declare const ImpactConfigSchema: z$2.ZodObject<{
217
- baseline: z$2.ZodDefault<z$2.ZodString>;
218
- include: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
219
- exclude: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
220
- }, z$2.core.$strip>;
43
+ declare const ImpactConfigSchema: z$2.ZodType<ImpactConfig>;
221
44
  /**
222
45
  * CI/CD configuration section.
223
46
  */
224
- declare const CiConfigSchema: z$2.ZodObject<{
225
- checks: z$2.ZodDefault<z$2.ZodArray<z$2.ZodString>>;
226
- skipChecks: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
227
- failOnWarnings: z$2.ZodDefault<z$2.ZodBoolean>;
228
- uploadSarif: z$2.ZodDefault<z$2.ZodBoolean>;
229
- prComment: z$2.ZodOptional<z$2.ZodObject<{
230
- enabled: z$2.ZodDefault<z$2.ZodBoolean>;
231
- template: z$2.ZodDefault<z$2.ZodEnum<{
232
- minimal: "minimal";
233
- detailed: "detailed";
234
- }>>;
235
- updateExisting: z$2.ZodDefault<z$2.ZodBoolean>;
236
- }, z$2.core.$strip>>;
237
- checkRun: z$2.ZodOptional<z$2.ZodObject<{
238
- enabled: z$2.ZodDefault<z$2.ZodBoolean>;
239
- name: z$2.ZodDefault<z$2.ZodString>;
240
- failOnBreaking: z$2.ZodDefault<z$2.ZodBoolean>;
241
- failOnChanges: z$2.ZodDefault<z$2.ZodBoolean>;
242
- }, z$2.core.$strip>>;
243
- impact: z$2.ZodOptional<z$2.ZodObject<{
244
- baseline: z$2.ZodDefault<z$2.ZodString>;
245
- include: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
246
- exclude: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
247
- }, z$2.core.$strip>>;
248
- }, z$2.core.$strip>;
47
+ declare const CiConfigSchema: z$2.ZodType<CiConfig>;
249
48
  /**
250
49
  * External workspace reference for cross-workspace dependencies in meta-repos.
251
50
  */
252
- declare const ExternalWorkspaceSchema: z$2.ZodObject<{
253
- alias: z$2.ZodString;
254
- submodule: z$2.ZodString;
255
- packages: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
256
- autoResolve: z$2.ZodDefault<z$2.ZodBoolean>;
257
- }, z$2.core.$strip>;
51
+ declare const ExternalWorkspaceSchema: z$2.ZodType<ExternalWorkspace>;
258
52
  /**
259
53
  * Meta-repo configuration section.
260
54
  */
261
- declare const MetaRepoConfigSchema: z$2.ZodObject<{
262
- activeScope: z$2.ZodOptional<z$2.ZodString>;
263
- externalWorkspaces: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
264
- alias: z$2.ZodString;
265
- submodule: z$2.ZodString;
266
- packages: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
267
- autoResolve: z$2.ZodDefault<z$2.ZodBoolean>;
268
- }, z$2.core.$strip>>>;
269
- crossWorkspaceSearch: z$2.ZodDefault<z$2.ZodBoolean>;
270
- }, z$2.core.$strip>;
55
+ declare const MetaRepoConfigSchema: z$2.ZodType<MetaRepoConfig>;
271
56
  /**
272
57
  * Supported formatter tools.
273
58
  */
274
- declare const FormatterTypeSchema: z$2.ZodEnum<{
275
- custom: "custom";
276
- prettier: "prettier";
277
- eslint: "eslint";
278
- biome: "biome";
279
- dprint: "dprint";
280
- }>;
59
+ declare const FormatterTypeSchema: z$2.ZodType<FormatterType>;
281
60
  /**
282
61
  * Formatter configuration for code generation.
283
62
  */
284
- declare const FormatterConfigSchema: z$2.ZodObject<{
285
- enabled: z$2.ZodDefault<z$2.ZodBoolean>;
286
- type: z$2.ZodOptional<z$2.ZodEnum<{
287
- custom: "custom";
288
- prettier: "prettier";
289
- eslint: "eslint";
290
- biome: "biome";
291
- dprint: "dprint";
292
- }>>;
293
- command: z$2.ZodOptional<z$2.ZodString>;
294
- args: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
295
- timeout: z$2.ZodDefault<z$2.ZodNumber>;
296
- }, z$2.core.$strip>;
63
+ declare const FormatterConfigSchema: z$2.ZodType<FormatterConfig>;
297
64
  /**
298
65
  * Bump strategy for version management.
299
66
  */
300
- declare const BumpStrategySchema: z$2.ZodEnum<{
301
- impact: "impact";
302
- conventional: "conventional";
303
- }>;
67
+ declare const BumpStrategySchema: z$2.ZodType<BumpStrategy>;
304
68
  /**
305
69
  * Changelog format template.
306
70
  */
307
- declare const ChangelogFormatSchema: z$2.ZodEnum<{
308
- custom: "custom";
309
- conventional: "conventional";
310
- "keep-a-changelog": "keep-a-changelog";
311
- }>;
71
+ declare const ChangelogFormatSchema: z$2.ZodType<ChangelogFormat>;
312
72
  /**
313
73
  * Changelog tier configuration.
314
74
  */
315
- declare const ChangelogTierSchema: z$2.ZodEnum<{
316
- library: "library";
317
- spec: "spec";
318
- monorepo: "monorepo";
319
- }>;
75
+ declare const ChangelogTierSchema: z$2.ZodType<ChangelogTier>;
320
76
  /**
321
77
  * Versioning configuration for changelog and version management.
322
78
  */
323
- declare const VersioningConfigSchema: z$2.ZodObject<{
324
- autoBump: z$2.ZodDefault<z$2.ZodBoolean>;
325
- bumpStrategy: z$2.ZodDefault<z$2.ZodEnum<{
326
- impact: "impact";
327
- conventional: "conventional";
328
- }>>;
329
- integrateWithChangesets: z$2.ZodDefault<z$2.ZodBoolean>;
330
- changelogTiers: z$2.ZodDefault<z$2.ZodArray<z$2.ZodEnum<{
331
- library: "library";
332
- spec: "spec";
333
- monorepo: "monorepo";
334
- }>>>;
335
- format: z$2.ZodDefault<z$2.ZodEnum<{
336
- custom: "custom";
337
- conventional: "conventional";
338
- "keep-a-changelog": "keep-a-changelog";
339
- }>>;
340
- commitChanges: z$2.ZodDefault<z$2.ZodBoolean>;
341
- commitMessage: z$2.ZodDefault<z$2.ZodString>;
342
- createTags: z$2.ZodDefault<z$2.ZodBoolean>;
343
- tagPrefix: z$2.ZodDefault<z$2.ZodString>;
344
- include: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
345
- exclude: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
346
- }, z$2.core.$strip>;
79
+ declare const VersioningConfigSchema: z$2.ZodType<VersioningConfig>;
347
80
  /**
348
81
  * Supported rule synchronization targets.
349
82
  */
350
- declare const RuleSyncTargetSchema: z$2.ZodEnum<{
351
- "claude-code": "claude-code";
352
- cursor: "cursor";
353
- windsurf: "windsurf";
354
- cline: "cline";
355
- copilot: "copilot";
356
- subagent: "subagent";
357
- skill: "skill";
358
- }>;
83
+ declare const RuleSyncTargetSchema: z$2.ZodType<RuleSyncTarget>;
359
84
  /**
360
85
  * Configuration for AI agent rules synchronization (rulesync).
361
86
  */
362
- declare const RuleSyncConfigSchema: z$2.ZodObject<{
363
- enabled: z$2.ZodDefault<z$2.ZodBoolean>;
364
- rulesDir: z$2.ZodDefault<z$2.ZodString>;
365
- rules: z$2.ZodDefault<z$2.ZodArray<z$2.ZodString>>;
366
- targets: z$2.ZodDefault<z$2.ZodArray<z$2.ZodEnum<{
367
- "claude-code": "claude-code";
368
- cursor: "cursor";
369
- windsurf: "windsurf";
370
- cline: "cline";
371
- copilot: "copilot";
372
- subagent: "subagent";
373
- skill: "skill";
374
- }>>>;
375
- autoSync: z$2.ZodDefault<z$2.ZodBoolean>;
376
- ejectMode: z$2.ZodDefault<z$2.ZodBoolean>;
377
- }, z$2.core.$strip>;
87
+ declare const RuleSyncConfigSchema: z$2.ZodType<RuleSyncConfig>;
378
88
  /**
379
89
  * Claude Agent SDK configuration.
380
90
  */
381
- declare const ClaudeAgentSDKConfigSchema: z$2.ZodObject<{
382
- enabled: z$2.ZodDefault<z$2.ZodBoolean>;
383
- apiKey: z$2.ZodOptional<z$2.ZodString>;
384
- model: z$2.ZodDefault<z$2.ZodString>;
385
- computerUse: z$2.ZodDefault<z$2.ZodBoolean>;
386
- extendedThinking: z$2.ZodDefault<z$2.ZodBoolean>;
387
- }, z$2.core.$strip>;
91
+ declare const ClaudeAgentSDKConfigSchema: z$2.ZodType<ClaudeAgentSDKConfig>;
388
92
  /**
389
93
  * OpenCode SDK configuration.
390
94
  */
391
- declare const OpenCodeSDKConfigSchema: z$2.ZodObject<{
392
- enabled: z$2.ZodDefault<z$2.ZodBoolean>;
393
- serverUrl: z$2.ZodOptional<z$2.ZodString>;
394
- port: z$2.ZodOptional<z$2.ZodNumber>;
395
- agentType: z$2.ZodDefault<z$2.ZodEnum<{
396
- build: "build";
397
- plan: "plan";
398
- general: "general";
399
- explore: "explore";
400
- }>>;
401
- model: z$2.ZodOptional<z$2.ZodString>;
402
- }, z$2.core.$strip>;
95
+ declare const OpenCodeSDKConfigSchema: z$2.ZodType<OpenCodeSDKConfig>;
403
96
  /**
404
97
  * External agent SDK configuration section.
405
98
  */
406
- declare const ExternalAgentsConfigSchema: z$2.ZodObject<{
407
- claudeAgent: z$2.ZodOptional<z$2.ZodObject<{
408
- enabled: z$2.ZodDefault<z$2.ZodBoolean>;
409
- apiKey: z$2.ZodOptional<z$2.ZodString>;
410
- model: z$2.ZodDefault<z$2.ZodString>;
411
- computerUse: z$2.ZodDefault<z$2.ZodBoolean>;
412
- extendedThinking: z$2.ZodDefault<z$2.ZodBoolean>;
413
- }, z$2.core.$strip>>;
414
- openCode: z$2.ZodOptional<z$2.ZodObject<{
415
- enabled: z$2.ZodDefault<z$2.ZodBoolean>;
416
- serverUrl: z$2.ZodOptional<z$2.ZodString>;
417
- port: z$2.ZodOptional<z$2.ZodNumber>;
418
- agentType: z$2.ZodDefault<z$2.ZodEnum<{
419
- build: "build";
420
- plan: "plan";
421
- general: "general";
422
- explore: "explore";
423
- }>>;
424
- model: z$2.ZodOptional<z$2.ZodString>;
425
- }, z$2.core.$strip>>;
426
- }, z$2.core.$strip>;
99
+ declare const ExternalAgentsConfigSchema: z$2.ZodType<ExternalAgentsConfig>;
427
100
  /**
428
101
  * Rule severity levels (inspired by ESLint).
429
102
  */
430
- declare const RuleSeveritySchema: z$2.ZodEnum<{
431
- error: "error";
432
- off: "off";
433
- warn: "warn";
434
- }>;
103
+ declare const RuleSeveritySchema: z$2.ZodType<RuleSeverity>;
435
104
  /**
436
105
  * Contract kinds for per-kind rule overrides.
437
106
  */
438
- declare const SpecKindSchema: z$2.ZodEnum<{
439
- "data-view": "data-view";
440
- telemetry: "telemetry";
441
- operation: "operation";
442
- workflow: "workflow";
443
- feature: "feature";
444
- "app-config": "app-config";
445
- event: "event";
446
- presentation: "presentation";
447
- migration: "migration";
448
- experiment: "experiment";
449
- }>;
107
+ declare const SpecKindSchema: z$2.ZodType<SpecKind>;
450
108
  /**
451
109
  * Available lint rules with their severity.
452
110
  */
453
- declare const LintRulesSchema: z$2.ZodObject<{
454
- 'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
455
- error: "error";
456
- off: "off";
457
- warn: "warn";
458
- }>>;
459
- 'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
460
- error: "error";
461
- off: "off";
462
- warn: "warn";
463
- }>>;
464
- 'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
465
- error: "error";
466
- off: "off";
467
- warn: "warn";
468
- }>>;
469
- 'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
470
- error: "error";
471
- off: "off";
472
- warn: "warn";
473
- }>>;
474
- 'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
475
- error: "error";
476
- off: "off";
477
- warn: "warn";
478
- }>>;
479
- 'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
480
- error: "error";
481
- off: "off";
482
- warn: "warn";
483
- }>>;
484
- 'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
485
- error: "error";
486
- off: "off";
487
- warn: "warn";
488
- }>>;
489
- 'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
490
- error: "error";
491
- off: "off";
492
- warn: "warn";
493
- }>>;
494
- 'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
495
- error: "error";
496
- off: "off";
497
- warn: "warn";
498
- }>>;
499
- 'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
500
- error: "error";
501
- off: "off";
502
- warn: "warn";
503
- }>>;
504
- 'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
505
- error: "error";
506
- off: "off";
507
- warn: "warn";
508
- }>>;
509
- 'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
510
- error: "error";
511
- off: "off";
512
- warn: "warn";
513
- }>>;
514
- }, z$2.core.$strip>;
111
+ declare const LintRulesSchema: z$2.ZodType<LintRules>;
112
+ /**
113
+ * Test linking strategy for discovering test coverage.
114
+ */
115
+ declare const TestLinkingStrategySchema: z$2.ZodType<TestLinkingStrategy>;
116
+ /**
117
+ * Test linking configuration for contract-first test discovery.
118
+ */
119
+ declare const TestLinkingConfigSchema: z$2.ZodType<TestLinkingConfig>;
120
+ /**
121
+ * Testing configuration section.
122
+ */
123
+ declare const TestingConfigSchema: z$2.ZodType<TestingConfig>;
515
124
  /**
516
125
  * Full rules configuration with global defaults and per-kind overrides.
517
126
  */
518
- declare const RulesConfigSchema: z$2.ZodObject<{
519
- defaults: z$2.ZodOptional<z$2.ZodObject<{
520
- 'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
521
- error: "error";
522
- off: "off";
523
- warn: "warn";
524
- }>>;
525
- 'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
526
- error: "error";
527
- off: "off";
528
- warn: "warn";
529
- }>>;
530
- 'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
531
- error: "error";
532
- off: "off";
533
- warn: "warn";
534
- }>>;
535
- 'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
536
- error: "error";
537
- off: "off";
538
- warn: "warn";
539
- }>>;
540
- 'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
541
- error: "error";
542
- off: "off";
543
- warn: "warn";
544
- }>>;
545
- 'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
546
- error: "error";
547
- off: "off";
548
- warn: "warn";
549
- }>>;
550
- 'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
551
- error: "error";
552
- off: "off";
553
- warn: "warn";
554
- }>>;
555
- 'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
556
- error: "error";
557
- off: "off";
558
- warn: "warn";
559
- }>>;
560
- 'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
561
- error: "error";
562
- off: "off";
563
- warn: "warn";
564
- }>>;
565
- 'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
566
- error: "error";
567
- off: "off";
568
- warn: "warn";
569
- }>>;
570
- 'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
571
- error: "error";
572
- off: "off";
573
- warn: "warn";
574
- }>>;
575
- 'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
576
- error: "error";
577
- off: "off";
578
- warn: "warn";
579
- }>>;
580
- }, z$2.core.$strip>>;
581
- overrides: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodEnum<{
582
- "data-view": "data-view";
583
- telemetry: "telemetry";
584
- operation: "operation";
585
- workflow: "workflow";
586
- feature: "feature";
587
- "app-config": "app-config";
588
- event: "event";
589
- presentation: "presentation";
590
- migration: "migration";
591
- experiment: "experiment";
592
- }>, z$2.ZodObject<{
593
- 'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
594
- error: "error";
595
- off: "off";
596
- warn: "warn";
597
- }>>;
598
- 'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
599
- error: "error";
600
- off: "off";
601
- warn: "warn";
602
- }>>;
603
- 'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
604
- error: "error";
605
- off: "off";
606
- warn: "warn";
607
- }>>;
608
- 'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
609
- error: "error";
610
- off: "off";
611
- warn: "warn";
612
- }>>;
613
- 'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
614
- error: "error";
615
- off: "off";
616
- warn: "warn";
617
- }>>;
618
- 'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
619
- error: "error";
620
- off: "off";
621
- warn: "warn";
622
- }>>;
623
- 'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
624
- error: "error";
625
- off: "off";
626
- warn: "warn";
627
- }>>;
628
- 'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
629
- error: "error";
630
- off: "off";
631
- warn: "warn";
632
- }>>;
633
- 'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
634
- error: "error";
635
- off: "off";
636
- warn: "warn";
637
- }>>;
638
- 'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
639
- error: "error";
640
- off: "off";
641
- warn: "warn";
642
- }>>;
643
- 'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
644
- error: "error";
645
- off: "off";
646
- warn: "warn";
647
- }>>;
648
- 'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
649
- error: "error";
650
- off: "off";
651
- warn: "warn";
652
- }>>;
653
- }, z$2.core.$strip>>>;
654
- }, z$2.core.$strip>;
127
+ declare const RulesConfigSchema: z$2.ZodType<RulesConfig>;
655
128
  /**
656
129
  * Git hooks configuration.
657
130
  * Maps hook names (e.g., "pre-commit") to a list of commands or checks to run.
658
131
  */
659
- declare const HooksConfigSchema: z$2.ZodRecord<z$2.ZodString, z$2.ZodArray<z$2.ZodString>>;
132
+ declare const HooksConfigSchema: z$2.ZodType<HooksConfig>;
660
133
  /**
661
134
  * Full ContractSpec configuration schema (.contractsrc.json).
662
135
  */
663
- declare const ContractsrcSchema: z$2.ZodObject<{
664
- aiProvider: z$2.ZodDefault<z$2.ZodEnum<{
665
- custom: "custom";
666
- claude: "claude";
667
- openai: "openai";
668
- ollama: "ollama";
669
- }>>;
670
- aiModel: z$2.ZodOptional<z$2.ZodString>;
671
- agentMode: z$2.ZodDefault<z$2.ZodEnum<{
672
- "claude-code": "claude-code";
673
- cursor: "cursor";
674
- simple: "simple";
675
- "openai-codex": "openai-codex";
676
- "claude-agent-sdk": "claude-agent-sdk";
677
- "opencode-sdk": "opencode-sdk";
678
- }>>;
679
- customEndpoint: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodURL>>;
680
- customApiKey: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
681
- outputDir: z$2.ZodDefault<z$2.ZodString>;
682
- conventions: z$2.ZodObject<{
683
- models: z$2.ZodDefault<z$2.ZodString>;
684
- operations: z$2.ZodDefault<z$2.ZodString>;
685
- events: z$2.ZodDefault<z$2.ZodString>;
686
- presentations: z$2.ZodDefault<z$2.ZodString>;
687
- forms: z$2.ZodDefault<z$2.ZodString>;
688
- groupByFeature: z$2.ZodDefault<z$2.ZodBoolean>;
689
- operationsGrouping: z$2.ZodOptional<z$2.ZodObject<{
690
- strategy: z$2.ZodEnum<{
691
- "by-tag": "by-tag";
692
- "by-owner": "by-owner";
693
- "by-domain": "by-domain";
694
- "by-url-path-single": "by-url-path-single";
695
- "by-url-path-multi": "by-url-path-multi";
696
- "by-feature": "by-feature";
697
- none: "none";
698
- }>;
699
- urlPathLevel: z$2.ZodOptional<z$2.ZodNumber>;
700
- pattern: z$2.ZodOptional<z$2.ZodString>;
701
- }, z$2.core.$strip>>;
702
- modelsGrouping: z$2.ZodOptional<z$2.ZodObject<{
703
- strategy: z$2.ZodEnum<{
704
- "by-tag": "by-tag";
705
- "by-owner": "by-owner";
706
- "by-domain": "by-domain";
707
- "by-url-path-single": "by-url-path-single";
708
- "by-url-path-multi": "by-url-path-multi";
709
- "by-feature": "by-feature";
710
- none: "none";
711
- }>;
712
- urlPathLevel: z$2.ZodOptional<z$2.ZodNumber>;
713
- pattern: z$2.ZodOptional<z$2.ZodString>;
714
- }, z$2.core.$strip>>;
715
- eventsGrouping: z$2.ZodOptional<z$2.ZodObject<{
716
- strategy: z$2.ZodEnum<{
717
- "by-tag": "by-tag";
718
- "by-owner": "by-owner";
719
- "by-domain": "by-domain";
720
- "by-url-path-single": "by-url-path-single";
721
- "by-url-path-multi": "by-url-path-multi";
722
- "by-feature": "by-feature";
723
- none: "none";
724
- }>;
725
- urlPathLevel: z$2.ZodOptional<z$2.ZodNumber>;
726
- pattern: z$2.ZodOptional<z$2.ZodString>;
727
- }, z$2.core.$strip>>;
728
- }, z$2.core.$strip>;
729
- defaultOwners: z$2.ZodDefault<z$2.ZodArray<z$2.ZodString>>;
730
- defaultTags: z$2.ZodDefault<z$2.ZodArray<z$2.ZodString>>;
731
- packages: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
732
- excludePackages: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
733
- recursive: z$2.ZodOptional<z$2.ZodBoolean>;
734
- openapi: z$2.ZodOptional<z$2.ZodObject<{
735
- sources: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
736
- name: z$2.ZodString;
737
- url: z$2.ZodOptional<z$2.ZodURL>;
738
- file: z$2.ZodOptional<z$2.ZodString>;
739
- syncMode: z$2.ZodDefault<z$2.ZodEnum<{
740
- import: "import";
741
- sync: "sync";
742
- validate: "validate";
743
- }>>;
744
- tags: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
745
- exclude: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
746
- include: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
747
- prefix: z$2.ZodOptional<z$2.ZodString>;
748
- defaultStability: z$2.ZodOptional<z$2.ZodEnum<{
749
- deprecated: "deprecated";
750
- experimental: "experimental";
751
- beta: "beta";
752
- stable: "stable";
753
- }>>;
754
- defaultAuth: z$2.ZodOptional<z$2.ZodEnum<{
755
- admin: "admin";
756
- anonymous: "anonymous";
757
- user: "user";
758
- }>>;
759
- defaultOwners: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
760
- schemaFormat: z$2.ZodDefault<z$2.ZodEnum<{
761
- contractspec: "contractspec";
762
- zod: "zod";
763
- "json-schema": "json-schema";
764
- graphql: "graphql";
765
- }>>;
766
- }, z$2.core.$strip>>>;
767
- export: z$2.ZodOptional<z$2.ZodObject<{
768
- outputPath: z$2.ZodDefault<z$2.ZodString>;
769
- format: z$2.ZodDefault<z$2.ZodEnum<{
770
- json: "json";
771
- yaml: "yaml";
772
- }>>;
773
- title: z$2.ZodOptional<z$2.ZodString>;
774
- version: z$2.ZodOptional<z$2.ZodString>;
775
- description: z$2.ZodOptional<z$2.ZodString>;
776
- servers: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
777
- url: z$2.ZodString;
778
- description: z$2.ZodOptional<z$2.ZodString>;
779
- }, z$2.core.$strip>>>;
780
- }, z$2.core.$strip>>;
781
- }, z$2.core.$strip>>;
782
- ci: z$2.ZodOptional<z$2.ZodObject<{
783
- checks: z$2.ZodDefault<z$2.ZodArray<z$2.ZodString>>;
784
- skipChecks: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
785
- failOnWarnings: z$2.ZodDefault<z$2.ZodBoolean>;
786
- uploadSarif: z$2.ZodDefault<z$2.ZodBoolean>;
787
- prComment: z$2.ZodOptional<z$2.ZodObject<{
788
- enabled: z$2.ZodDefault<z$2.ZodBoolean>;
789
- template: z$2.ZodDefault<z$2.ZodEnum<{
790
- minimal: "minimal";
791
- detailed: "detailed";
792
- }>>;
793
- updateExisting: z$2.ZodDefault<z$2.ZodBoolean>;
794
- }, z$2.core.$strip>>;
795
- checkRun: z$2.ZodOptional<z$2.ZodObject<{
796
- enabled: z$2.ZodDefault<z$2.ZodBoolean>;
797
- name: z$2.ZodDefault<z$2.ZodString>;
798
- failOnBreaking: z$2.ZodDefault<z$2.ZodBoolean>;
799
- failOnChanges: z$2.ZodDefault<z$2.ZodBoolean>;
800
- }, z$2.core.$strip>>;
801
- impact: z$2.ZodOptional<z$2.ZodObject<{
802
- baseline: z$2.ZodDefault<z$2.ZodString>;
803
- include: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
804
- exclude: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
805
- }, z$2.core.$strip>>;
806
- }, z$2.core.$strip>>;
807
- metaRepo: z$2.ZodOptional<z$2.ZodObject<{
808
- activeScope: z$2.ZodOptional<z$2.ZodString>;
809
- externalWorkspaces: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
810
- alias: z$2.ZodString;
811
- submodule: z$2.ZodString;
812
- packages: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
813
- autoResolve: z$2.ZodDefault<z$2.ZodBoolean>;
814
- }, z$2.core.$strip>>>;
815
- crossWorkspaceSearch: z$2.ZodDefault<z$2.ZodBoolean>;
816
- }, z$2.core.$strip>>;
817
- rules: z$2.ZodOptional<z$2.ZodObject<{
818
- defaults: z$2.ZodOptional<z$2.ZodObject<{
819
- 'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
820
- error: "error";
821
- off: "off";
822
- warn: "warn";
823
- }>>;
824
- 'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
825
- error: "error";
826
- off: "off";
827
- warn: "warn";
828
- }>>;
829
- 'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
830
- error: "error";
831
- off: "off";
832
- warn: "warn";
833
- }>>;
834
- 'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
835
- error: "error";
836
- off: "off";
837
- warn: "warn";
838
- }>>;
839
- 'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
840
- error: "error";
841
- off: "off";
842
- warn: "warn";
843
- }>>;
844
- 'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
845
- error: "error";
846
- off: "off";
847
- warn: "warn";
848
- }>>;
849
- 'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
850
- error: "error";
851
- off: "off";
852
- warn: "warn";
853
- }>>;
854
- 'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
855
- error: "error";
856
- off: "off";
857
- warn: "warn";
858
- }>>;
859
- 'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
860
- error: "error";
861
- off: "off";
862
- warn: "warn";
863
- }>>;
864
- 'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
865
- error: "error";
866
- off: "off";
867
- warn: "warn";
868
- }>>;
869
- 'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
870
- error: "error";
871
- off: "off";
872
- warn: "warn";
873
- }>>;
874
- 'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
875
- error: "error";
876
- off: "off";
877
- warn: "warn";
878
- }>>;
879
- }, z$2.core.$strip>>;
880
- overrides: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodEnum<{
881
- "data-view": "data-view";
882
- telemetry: "telemetry";
883
- operation: "operation";
884
- workflow: "workflow";
885
- feature: "feature";
886
- "app-config": "app-config";
887
- event: "event";
888
- presentation: "presentation";
889
- migration: "migration";
890
- experiment: "experiment";
891
- }>, z$2.ZodObject<{
892
- 'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
893
- error: "error";
894
- off: "off";
895
- warn: "warn";
896
- }>>;
897
- 'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
898
- error: "error";
899
- off: "off";
900
- warn: "warn";
901
- }>>;
902
- 'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
903
- error: "error";
904
- off: "off";
905
- warn: "warn";
906
- }>>;
907
- 'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
908
- error: "error";
909
- off: "off";
910
- warn: "warn";
911
- }>>;
912
- 'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
913
- error: "error";
914
- off: "off";
915
- warn: "warn";
916
- }>>;
917
- 'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
918
- error: "error";
919
- off: "off";
920
- warn: "warn";
921
- }>>;
922
- 'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
923
- error: "error";
924
- off: "off";
925
- warn: "warn";
926
- }>>;
927
- 'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
928
- error: "error";
929
- off: "off";
930
- warn: "warn";
931
- }>>;
932
- 'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
933
- error: "error";
934
- off: "off";
935
- warn: "warn";
936
- }>>;
937
- 'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
938
- error: "error";
939
- off: "off";
940
- warn: "warn";
941
- }>>;
942
- 'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
943
- error: "error";
944
- off: "off";
945
- warn: "warn";
946
- }>>;
947
- 'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
948
- error: "error";
949
- off: "off";
950
- warn: "warn";
951
- }>>;
952
- }, z$2.core.$strip>>>;
953
- }, z$2.core.$strip>>;
954
- hooks: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodString, z$2.ZodArray<z$2.ZodString>>>;
955
- schemaFormat: z$2.ZodDefault<z$2.ZodEnum<{
956
- contractspec: "contractspec";
957
- zod: "zod";
958
- "json-schema": "json-schema";
959
- graphql: "graphql";
960
- }>>;
961
- formatter: z$2.ZodOptional<z$2.ZodObject<{
962
- enabled: z$2.ZodDefault<z$2.ZodBoolean>;
963
- type: z$2.ZodOptional<z$2.ZodEnum<{
964
- custom: "custom";
965
- prettier: "prettier";
966
- eslint: "eslint";
967
- biome: "biome";
968
- dprint: "dprint";
969
- }>>;
970
- command: z$2.ZodOptional<z$2.ZodString>;
971
- args: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
972
- timeout: z$2.ZodDefault<z$2.ZodNumber>;
973
- }, z$2.core.$strip>>;
974
- versioning: z$2.ZodOptional<z$2.ZodObject<{
975
- autoBump: z$2.ZodDefault<z$2.ZodBoolean>;
976
- bumpStrategy: z$2.ZodDefault<z$2.ZodEnum<{
977
- impact: "impact";
978
- conventional: "conventional";
979
- }>>;
980
- integrateWithChangesets: z$2.ZodDefault<z$2.ZodBoolean>;
981
- changelogTiers: z$2.ZodDefault<z$2.ZodArray<z$2.ZodEnum<{
982
- library: "library";
983
- spec: "spec";
984
- monorepo: "monorepo";
985
- }>>>;
986
- format: z$2.ZodDefault<z$2.ZodEnum<{
987
- custom: "custom";
988
- conventional: "conventional";
989
- "keep-a-changelog": "keep-a-changelog";
990
- }>>;
991
- commitChanges: z$2.ZodDefault<z$2.ZodBoolean>;
992
- commitMessage: z$2.ZodDefault<z$2.ZodString>;
993
- createTags: z$2.ZodDefault<z$2.ZodBoolean>;
994
- tagPrefix: z$2.ZodDefault<z$2.ZodString>;
995
- include: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
996
- exclude: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
997
- }, z$2.core.$strip>>;
998
- ruleSync: z$2.ZodOptional<z$2.ZodObject<{
999
- enabled: z$2.ZodDefault<z$2.ZodBoolean>;
1000
- rulesDir: z$2.ZodDefault<z$2.ZodString>;
1001
- rules: z$2.ZodDefault<z$2.ZodArray<z$2.ZodString>>;
1002
- targets: z$2.ZodDefault<z$2.ZodArray<z$2.ZodEnum<{
1003
- "claude-code": "claude-code";
1004
- cursor: "cursor";
1005
- windsurf: "windsurf";
1006
- cline: "cline";
1007
- copilot: "copilot";
1008
- subagent: "subagent";
1009
- skill: "skill";
1010
- }>>>;
1011
- autoSync: z$2.ZodDefault<z$2.ZodBoolean>;
1012
- ejectMode: z$2.ZodDefault<z$2.ZodBoolean>;
1013
- }, z$2.core.$strip>>;
1014
- externalAgents: z$2.ZodOptional<z$2.ZodObject<{
1015
- claudeAgent: z$2.ZodOptional<z$2.ZodObject<{
1016
- enabled: z$2.ZodDefault<z$2.ZodBoolean>;
1017
- apiKey: z$2.ZodOptional<z$2.ZodString>;
1018
- model: z$2.ZodDefault<z$2.ZodString>;
1019
- computerUse: z$2.ZodDefault<z$2.ZodBoolean>;
1020
- extendedThinking: z$2.ZodDefault<z$2.ZodBoolean>;
1021
- }, z$2.core.$strip>>;
1022
- openCode: z$2.ZodOptional<z$2.ZodObject<{
1023
- enabled: z$2.ZodDefault<z$2.ZodBoolean>;
1024
- serverUrl: z$2.ZodOptional<z$2.ZodString>;
1025
- port: z$2.ZodOptional<z$2.ZodNumber>;
1026
- agentType: z$2.ZodDefault<z$2.ZodEnum<{
1027
- build: "build";
1028
- plan: "plan";
1029
- general: "general";
1030
- explore: "explore";
1031
- }>>;
1032
- model: z$2.ZodOptional<z$2.ZodString>;
1033
- }, z$2.core.$strip>>;
1034
- }, z$2.core.$strip>>;
1035
- }, z$2.core.$strip>;
1036
- type OpenApiSourceConfig = z$2.infer<typeof OpenApiSourceConfigSchema>;
1037
- type OpenApiExportConfig = z$2.infer<typeof OpenApiExportConfigSchema>;
1038
- type OpenApiConfig = z$2.infer<typeof OpenApiConfigSchema>;
1039
- type FolderConventions = z$2.infer<typeof FolderConventionsSchema>;
1040
- type ContractsrcConfig = z$2.infer<typeof ContractsrcSchema>;
1041
- type GroupingStrategy = z$2.infer<typeof GroupingStrategySchema>;
1042
- type GroupingRule = z$2.infer<typeof GroupingRuleSchema>;
1043
- type PrCommentConfig = z$2.infer<typeof PrCommentConfigSchema>;
1044
- type CheckRunConfig = z$2.infer<typeof CheckRunConfigSchema>;
1045
- type ImpactConfig = z$2.infer<typeof ImpactConfigSchema>;
1046
- type CiConfig = z$2.infer<typeof CiConfigSchema>;
1047
- type ExternalWorkspace = z$2.infer<typeof ExternalWorkspaceSchema>;
1048
- type MetaRepoConfig = z$2.infer<typeof MetaRepoConfigSchema>;
1049
- type RuleSeverity = z$2.infer<typeof RuleSeveritySchema>;
1050
- type SpecKind = z$2.infer<typeof SpecKindSchema>;
1051
- type LintRules = z$2.infer<typeof LintRulesSchema>;
1052
- type RulesConfig = z$2.infer<typeof RulesConfigSchema>;
1053
- type HooksConfig = z$2.infer<typeof HooksConfigSchema>;
1054
- type SchemaFormat = z$2.infer<typeof SchemaFormatSchema>;
1055
- type FormatterType = z$2.infer<typeof FormatterTypeSchema>;
1056
- type FormatterConfig = z$2.infer<typeof FormatterConfigSchema>;
1057
- type BumpStrategy = z$2.infer<typeof BumpStrategySchema>;
1058
- type ChangelogFormat = z$2.infer<typeof ChangelogFormatSchema>;
1059
- type ChangelogTier = z$2.infer<typeof ChangelogTierSchema>;
1060
- type VersioningConfig = z$2.infer<typeof VersioningConfigSchema>;
1061
- type RuleSyncTarget = z$2.infer<typeof RuleSyncTargetSchema>;
1062
- type RuleSyncConfig = z$2.infer<typeof RuleSyncConfigSchema>;
1063
- type ClaudeAgentSDKConfig = z$2.infer<typeof ClaudeAgentSDKConfigSchema>;
1064
- type OpenCodeSDKConfig = z$2.infer<typeof OpenCodeSDKConfigSchema>;
1065
- type ExternalAgentsConfig = z$2.infer<typeof ExternalAgentsConfigSchema>;
136
+ declare const ContractsrcSchema: z$2.ZodType<ContractsrcConfig>;
1066
137
  /**
1067
138
  * Default configuration values.
1068
139
  */
1069
- declare const DEFAULT_CONTRACTSRC: ContractsrcConfig;
140
+ declare const DEFAULT_CONTRACTSRC: ResolvedContractsrcConfig;
1070
141
  //#endregion
1071
- export { BumpStrategy, BumpStrategySchema, ChangelogFormat, ChangelogFormatSchema, ChangelogTier, ChangelogTierSchema, CheckRunConfig, CheckRunConfigSchema, CiConfig, CiConfigSchema, ClaudeAgentSDKConfig, ClaudeAgentSDKConfigSchema, ContractsrcConfig, ContractsrcSchema, DEFAULT_CONTRACTSRC, ExternalAgentsConfig, ExternalAgentsConfigSchema, ExternalWorkspace, ExternalWorkspaceSchema, FolderConventions, FolderConventionsSchema, FormatterConfig, FormatterConfigSchema, FormatterType, FormatterTypeSchema, GroupingRule, GroupingRuleSchema, GroupingStrategy, GroupingStrategySchema, HooksConfig, HooksConfigSchema, ImpactConfig, ImpactConfigSchema, LintRules, LintRulesSchema, MetaRepoConfig, MetaRepoConfigSchema, OpenApiConfig, OpenApiConfigSchema, OpenApiExportConfig, OpenApiExportConfigSchema, OpenApiSourceConfig, OpenApiSourceConfigSchema, OpenCodeSDKConfig, OpenCodeSDKConfigSchema, PrCommentConfig, PrCommentConfigSchema, RuleSeverity, RuleSeveritySchema, RuleSyncConfig, RuleSyncConfigSchema, RuleSyncTarget, RuleSyncTargetSchema, RulesConfig, RulesConfigSchema, SchemaFormat, SchemaFormatSchema, SpecKind, SpecKindSchema, VersioningConfig, VersioningConfigSchema };
142
+ export { BumpStrategy, BumpStrategySchema, ChangelogFormat, ChangelogFormatSchema, ChangelogTier, ChangelogTierSchema, CheckRunConfig, CheckRunConfigSchema, CiConfig, CiConfigSchema, ClaudeAgentSDKConfig, ClaudeAgentSDKConfigSchema, ContractsrcConfig, ContractsrcFileConfig, ContractsrcSchema, DEFAULT_CONTRACTSRC, ExternalAgentsConfig, ExternalAgentsConfigSchema, ExternalWorkspace, ExternalWorkspaceSchema, FolderConventions, FolderConventionsSchema, FormatterConfig, FormatterConfigSchema, FormatterType, FormatterTypeSchema, GroupingRule, GroupingRuleSchema, GroupingStrategy, GroupingStrategySchema, HooksConfig, HooksConfigSchema, ImpactConfig, ImpactConfigSchema, LintRules, LintRulesSchema, MetaRepoConfig, MetaRepoConfigSchema, OpenApiConfig, OpenApiConfigSchema, OpenApiExportConfig, OpenApiExportConfigSchema, OpenApiSourceConfig, OpenApiSourceConfigSchema, OpenCodeSDKConfig, OpenCodeSDKConfigSchema, PrCommentConfig, PrCommentConfigSchema, ResolvedContractsrcConfig, RuleSeverity, RuleSeveritySchema, RuleSyncConfig, RuleSyncConfigSchema, RuleSyncTarget, RuleSyncTargetSchema, RulesConfig, RulesConfigSchema, SchemaFormat, SchemaFormatSchema, SpecKind, SpecKindSchema, TestLinkingConfig, TestLinkingConfigSchema, TestLinkingStrategy, TestLinkingStrategySchema, TestingConfig, TestingConfigSchema, VersioningConfig, VersioningConfigSchema };