codingbuddy 0.0.0-dev.20251219125627.bca37cd → 0.0.0-dev.20251219150850.f35b6bd

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 (43) hide show
  1. package/dist/src/analyzer/analyzer.service.js +2 -1
  2. package/dist/src/analyzer/analyzer.service.js.map +1 -1
  3. package/dist/src/analyzer/code.sampler.js +7 -4
  4. package/dist/src/analyzer/code.sampler.js.map +1 -1
  5. package/dist/src/analyzer/config.analyzer.js +14 -4
  6. package/dist/src/analyzer/config.analyzer.js.map +1 -1
  7. package/dist/src/analyzer/directory.analyzer.js +24 -8
  8. package/dist/src/analyzer/directory.analyzer.js.map +1 -1
  9. package/dist/src/analyzer/package.analyzer.js +6 -1
  10. package/dist/src/analyzer/package.analyzer.js.map +1 -1
  11. package/dist/src/cli/cli.js +1 -1
  12. package/dist/src/cli/cli.js.map +1 -1
  13. package/dist/src/cli/index.d.ts +1 -1
  14. package/dist/src/cli/index.js.map +1 -1
  15. package/dist/src/cli/init/config.generator.js +1 -1
  16. package/dist/src/cli/init/config.generator.js.map +1 -1
  17. package/dist/src/cli/init/config.writer.js +4 -1
  18. package/dist/src/cli/init/config.writer.js.map +1 -1
  19. package/dist/src/cli/init/index.d.ts +1 -1
  20. package/dist/src/cli/init/index.js.map +1 -1
  21. package/dist/src/cli/init/init.command.js.map +1 -1
  22. package/dist/src/cli/init/prompt.builder.js +6 -3
  23. package/dist/src/cli/init/prompt.builder.js.map +1 -1
  24. package/dist/src/config/config.loader.d.ts +2 -2
  25. package/dist/src/config/config.loader.js +2 -2
  26. package/dist/src/config/config.loader.js.map +1 -1
  27. package/dist/src/config/config.schema.d.ts +334 -334
  28. package/dist/src/config/config.schema.js +4 -2
  29. package/dist/src/config/config.schema.js.map +1 -1
  30. package/dist/src/config/config.service.js.map +1 -1
  31. package/dist/src/config/context.loader.js +1 -1
  32. package/dist/src/config/context.loader.js.map +1 -1
  33. package/dist/src/config/ignore.parser.js +1 -1
  34. package/dist/src/config/ignore.parser.js.map +1 -1
  35. package/dist/src/config/index.d.ts +2 -2
  36. package/dist/src/config/index.js.map +1 -1
  37. package/dist/src/keyword/keyword.module.js.map +1 -1
  38. package/dist/src/mcp/mcp.service.d.ts +6 -6
  39. package/dist/src/mcp/mcp.service.js.map +1 -1
  40. package/dist/src/shared/file.utils.js.map +1 -1
  41. package/dist/src/shared/path.utils.js.map +1 -1
  42. package/dist/tsconfig.build.tsbuildinfo +1 -1
  43. package/package.json +15 -2
@@ -4,13 +4,13 @@ export declare const TechDetailSchema: z.ZodObject<{
4
4
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5
5
  notes: z.ZodOptional<z.ZodString>;
6
6
  }, "strip", z.ZodTypeAny, {
7
- version?: string;
8
- config?: Record<string, unknown>;
9
- notes?: string;
7
+ version?: string | undefined;
8
+ config?: Record<string, unknown> | undefined;
9
+ notes?: string | undefined;
10
10
  }, {
11
- version?: string;
12
- config?: Record<string, unknown>;
13
- notes?: string;
11
+ version?: string | undefined;
12
+ config?: Record<string, unknown> | undefined;
13
+ notes?: string | undefined;
14
14
  }>;
15
15
  export declare const ArchitectureLayerSchema: z.ZodObject<{
16
16
  name: z.ZodString;
@@ -18,15 +18,15 @@ export declare const ArchitectureLayerSchema: z.ZodObject<{
18
18
  description: z.ZodOptional<z.ZodString>;
19
19
  dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20
20
  }, "strip", z.ZodTypeAny, {
21
- name?: string;
22
- path?: string;
23
- description?: string;
24
- dependencies?: string[];
21
+ name: string;
22
+ path: string;
23
+ description?: string | undefined;
24
+ dependencies?: string[] | undefined;
25
25
  }, {
26
- name?: string;
27
- path?: string;
28
- description?: string;
29
- dependencies?: string[];
26
+ name: string;
27
+ path: string;
28
+ description?: string | undefined;
29
+ dependencies?: string[] | undefined;
30
30
  }>;
31
31
  export declare const NamingConventionSchema: z.ZodObject<{
32
32
  files: z.ZodOptional<z.ZodEnum<["kebab-case", "camelCase", "PascalCase", "snake_case"]>>;
@@ -37,21 +37,21 @@ export declare const NamingConventionSchema: z.ZodObject<{
37
37
  types: z.ZodOptional<z.ZodEnum<["PascalCase"]>>;
38
38
  interfaces: z.ZodOptional<z.ZodEnum<["PascalCase", "IPascalCase"]>>;
39
39
  }, "strip", z.ZodTypeAny, {
40
- files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case";
41
- components?: "kebab-case" | "PascalCase";
42
- functions?: "camelCase" | "snake_case";
43
- variables?: "camelCase" | "snake_case";
44
- constants?: "camelCase" | "UPPER_SNAKE_CASE";
45
- types?: "PascalCase";
46
- interfaces?: "PascalCase" | "IPascalCase";
40
+ files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case" | undefined;
41
+ components?: "kebab-case" | "PascalCase" | undefined;
42
+ functions?: "camelCase" | "snake_case" | undefined;
43
+ variables?: "camelCase" | "snake_case" | undefined;
44
+ constants?: "camelCase" | "UPPER_SNAKE_CASE" | undefined;
45
+ types?: "PascalCase" | undefined;
46
+ interfaces?: "PascalCase" | "IPascalCase" | undefined;
47
47
  }, {
48
- files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case";
49
- components?: "kebab-case" | "PascalCase";
50
- functions?: "camelCase" | "snake_case";
51
- variables?: "camelCase" | "snake_case";
52
- constants?: "camelCase" | "UPPER_SNAKE_CASE";
53
- types?: "PascalCase";
54
- interfaces?: "PascalCase" | "IPascalCase";
48
+ files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case" | undefined;
49
+ components?: "kebab-case" | "PascalCase" | undefined;
50
+ functions?: "camelCase" | "snake_case" | undefined;
51
+ variables?: "camelCase" | "snake_case" | undefined;
52
+ constants?: "camelCase" | "UPPER_SNAKE_CASE" | undefined;
53
+ types?: "PascalCase" | undefined;
54
+ interfaces?: "PascalCase" | "IPascalCase" | undefined;
55
55
  }>;
56
56
  export declare const TechStackConfigSchema: z.ZodObject<{
57
57
  languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -65,38 +65,38 @@ export declare const TechStackConfigSchema: z.ZodObject<{
65
65
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
66
66
  notes: z.ZodOptional<z.ZodString>;
67
67
  }, "strip", z.ZodTypeAny, {
68
- version?: string;
69
- config?: Record<string, unknown>;
70
- notes?: string;
68
+ version?: string | undefined;
69
+ config?: Record<string, unknown> | undefined;
70
+ notes?: string | undefined;
71
71
  }, {
72
- version?: string;
73
- config?: Record<string, unknown>;
74
- notes?: string;
72
+ version?: string | undefined;
73
+ config?: Record<string, unknown> | undefined;
74
+ notes?: string | undefined;
75
75
  }>>>;
76
76
  }, "strip", z.ZodTypeAny, {
77
- languages?: string[];
78
- frontend?: string[];
79
- backend?: string[];
80
- database?: string[];
81
- infrastructure?: string[];
82
- tools?: string[];
77
+ languages?: string[] | undefined;
78
+ frontend?: string[] | undefined;
79
+ backend?: string[] | undefined;
80
+ database?: string[] | undefined;
81
+ infrastructure?: string[] | undefined;
82
+ tools?: string[] | undefined;
83
83
  details?: Record<string, {
84
- version?: string;
85
- config?: Record<string, unknown>;
86
- notes?: string;
87
- }>;
84
+ version?: string | undefined;
85
+ config?: Record<string, unknown> | undefined;
86
+ notes?: string | undefined;
87
+ }> | undefined;
88
88
  }, {
89
- languages?: string[];
90
- frontend?: string[];
91
- backend?: string[];
92
- database?: string[];
93
- infrastructure?: string[];
94
- tools?: string[];
89
+ languages?: string[] | undefined;
90
+ frontend?: string[] | undefined;
91
+ backend?: string[] | undefined;
92
+ database?: string[] | undefined;
93
+ infrastructure?: string[] | undefined;
94
+ tools?: string[] | undefined;
95
95
  details?: Record<string, {
96
- version?: string;
97
- config?: Record<string, unknown>;
98
- notes?: string;
99
- }>;
96
+ version?: string | undefined;
97
+ config?: Record<string, unknown> | undefined;
98
+ notes?: string | undefined;
99
+ }> | undefined;
100
100
  }>;
101
101
  export declare const ArchitectureConfigSchema: z.ZodObject<{
102
102
  pattern: z.ZodOptional<z.ZodString>;
@@ -108,36 +108,36 @@ export declare const ArchitectureConfigSchema: z.ZodObject<{
108
108
  description: z.ZodOptional<z.ZodString>;
109
109
  dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
110
110
  }, "strip", z.ZodTypeAny, {
111
- name?: string;
112
- path?: string;
113
- description?: string;
114
- dependencies?: string[];
111
+ name: string;
112
+ path: string;
113
+ description?: string | undefined;
114
+ dependencies?: string[] | undefined;
115
115
  }, {
116
- name?: string;
117
- path?: string;
118
- description?: string;
119
- dependencies?: string[];
116
+ name: string;
117
+ path: string;
118
+ description?: string | undefined;
119
+ dependencies?: string[] | undefined;
120
120
  }>, "many">>;
121
121
  }, "strip", z.ZodTypeAny, {
122
- pattern?: string;
123
- structure?: string[];
124
- componentStyle?: "flat" | "grouped" | "feature-based";
122
+ pattern?: string | undefined;
123
+ structure?: string[] | undefined;
124
+ componentStyle?: "flat" | "grouped" | "feature-based" | undefined;
125
125
  layers?: {
126
- name?: string;
127
- path?: string;
128
- description?: string;
129
- dependencies?: string[];
130
- }[];
126
+ name: string;
127
+ path: string;
128
+ description?: string | undefined;
129
+ dependencies?: string[] | undefined;
130
+ }[] | undefined;
131
131
  }, {
132
- pattern?: string;
133
- structure?: string[];
134
- componentStyle?: "flat" | "grouped" | "feature-based";
132
+ pattern?: string | undefined;
133
+ structure?: string[] | undefined;
134
+ componentStyle?: "flat" | "grouped" | "feature-based" | undefined;
135
135
  layers?: {
136
- name?: string;
137
- path?: string;
138
- description?: string;
139
- dependencies?: string[];
140
- }[];
136
+ name: string;
137
+ path: string;
138
+ description?: string | undefined;
139
+ dependencies?: string[] | undefined;
140
+ }[] | undefined;
141
141
  }>;
142
142
  export declare const ConventionsConfigSchema: z.ZodObject<{
143
143
  style: z.ZodOptional<z.ZodString>;
@@ -150,21 +150,21 @@ export declare const ConventionsConfigSchema: z.ZodObject<{
150
150
  types: z.ZodOptional<z.ZodEnum<["PascalCase"]>>;
151
151
  interfaces: z.ZodOptional<z.ZodEnum<["PascalCase", "IPascalCase"]>>;
152
152
  }, "strip", z.ZodTypeAny, {
153
- files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case";
154
- components?: "kebab-case" | "PascalCase";
155
- functions?: "camelCase" | "snake_case";
156
- variables?: "camelCase" | "snake_case";
157
- constants?: "camelCase" | "UPPER_SNAKE_CASE";
158
- types?: "PascalCase";
159
- interfaces?: "PascalCase" | "IPascalCase";
153
+ files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case" | undefined;
154
+ components?: "kebab-case" | "PascalCase" | undefined;
155
+ functions?: "camelCase" | "snake_case" | undefined;
156
+ variables?: "camelCase" | "snake_case" | undefined;
157
+ constants?: "camelCase" | "UPPER_SNAKE_CASE" | undefined;
158
+ types?: "PascalCase" | undefined;
159
+ interfaces?: "PascalCase" | "IPascalCase" | undefined;
160
160
  }, {
161
- files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case";
162
- components?: "kebab-case" | "PascalCase";
163
- functions?: "camelCase" | "snake_case";
164
- variables?: "camelCase" | "snake_case";
165
- constants?: "camelCase" | "UPPER_SNAKE_CASE";
166
- types?: "PascalCase";
167
- interfaces?: "PascalCase" | "IPascalCase";
161
+ files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case" | undefined;
162
+ components?: "kebab-case" | "PascalCase" | undefined;
163
+ functions?: "camelCase" | "snake_case" | undefined;
164
+ variables?: "camelCase" | "snake_case" | undefined;
165
+ constants?: "camelCase" | "UPPER_SNAKE_CASE" | undefined;
166
+ types?: "PascalCase" | undefined;
167
+ interfaces?: "PascalCase" | "IPascalCase" | undefined;
168
168
  }>>;
169
169
  importOrder: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
170
170
  maxLineLength: z.ZodOptional<z.ZodNumber>;
@@ -172,37 +172,37 @@ export declare const ConventionsConfigSchema: z.ZodObject<{
172
172
  quotes: z.ZodOptional<z.ZodEnum<["single", "double"]>>;
173
173
  rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
174
174
  }, "strip", z.ZodTypeAny, {
175
- rules?: Record<string, unknown>;
176
- style?: string;
175
+ rules?: Record<string, unknown> | undefined;
176
+ style?: string | undefined;
177
177
  naming?: {
178
- files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case";
179
- components?: "kebab-case" | "PascalCase";
180
- functions?: "camelCase" | "snake_case";
181
- variables?: "camelCase" | "snake_case";
182
- constants?: "camelCase" | "UPPER_SNAKE_CASE";
183
- types?: "PascalCase";
184
- interfaces?: "PascalCase" | "IPascalCase";
185
- };
186
- importOrder?: string[];
187
- maxLineLength?: number;
188
- semicolons?: boolean;
189
- quotes?: "single" | "double";
178
+ files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case" | undefined;
179
+ components?: "kebab-case" | "PascalCase" | undefined;
180
+ functions?: "camelCase" | "snake_case" | undefined;
181
+ variables?: "camelCase" | "snake_case" | undefined;
182
+ constants?: "camelCase" | "UPPER_SNAKE_CASE" | undefined;
183
+ types?: "PascalCase" | undefined;
184
+ interfaces?: "PascalCase" | "IPascalCase" | undefined;
185
+ } | undefined;
186
+ importOrder?: string[] | undefined;
187
+ maxLineLength?: number | undefined;
188
+ semicolons?: boolean | undefined;
189
+ quotes?: "single" | "double" | undefined;
190
190
  }, {
191
- rules?: Record<string, unknown>;
192
- style?: string;
191
+ rules?: Record<string, unknown> | undefined;
192
+ style?: string | undefined;
193
193
  naming?: {
194
- files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case";
195
- components?: "kebab-case" | "PascalCase";
196
- functions?: "camelCase" | "snake_case";
197
- variables?: "camelCase" | "snake_case";
198
- constants?: "camelCase" | "UPPER_SNAKE_CASE";
199
- types?: "PascalCase";
200
- interfaces?: "PascalCase" | "IPascalCase";
201
- };
202
- importOrder?: string[];
203
- maxLineLength?: number;
204
- semicolons?: boolean;
205
- quotes?: "single" | "double";
194
+ files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case" | undefined;
195
+ components?: "kebab-case" | "PascalCase" | undefined;
196
+ functions?: "camelCase" | "snake_case" | undefined;
197
+ variables?: "camelCase" | "snake_case" | undefined;
198
+ constants?: "camelCase" | "UPPER_SNAKE_CASE" | undefined;
199
+ types?: "PascalCase" | undefined;
200
+ interfaces?: "PascalCase" | "IPascalCase" | undefined;
201
+ } | undefined;
202
+ importOrder?: string[] | undefined;
203
+ maxLineLength?: number | undefined;
204
+ semicolons?: boolean | undefined;
205
+ quotes?: "single" | "double" | undefined;
206
206
  }>;
207
207
  export declare const TestStrategyConfigSchema: z.ZodObject<{
208
208
  approach: z.ZodOptional<z.ZodEnum<["tdd", "bdd", "test-after", "mixed"]>>;
@@ -212,19 +212,19 @@ export declare const TestStrategyConfigSchema: z.ZodObject<{
212
212
  e2eDirectory: z.ZodOptional<z.ZodString>;
213
213
  mockingStrategy: z.ZodOptional<z.ZodEnum<["minimal", "extensive", "no-mocks"]>>;
214
214
  }, "strip", z.ZodTypeAny, {
215
- approach?: "tdd" | "bdd" | "test-after" | "mixed";
216
- frameworks?: string[];
217
- coverage?: number;
218
- unitTestPattern?: "colocated" | "separate";
219
- e2eDirectory?: string;
220
- mockingStrategy?: "minimal" | "extensive" | "no-mocks";
215
+ approach?: "tdd" | "bdd" | "test-after" | "mixed" | undefined;
216
+ frameworks?: string[] | undefined;
217
+ coverage?: number | undefined;
218
+ unitTestPattern?: "colocated" | "separate" | undefined;
219
+ e2eDirectory?: string | undefined;
220
+ mockingStrategy?: "minimal" | "extensive" | "no-mocks" | undefined;
221
221
  }, {
222
- approach?: "tdd" | "bdd" | "test-after" | "mixed";
223
- frameworks?: string[];
224
- coverage?: number;
225
- unitTestPattern?: "colocated" | "separate";
226
- e2eDirectory?: string;
227
- mockingStrategy?: "minimal" | "extensive" | "no-mocks";
222
+ approach?: "tdd" | "bdd" | "test-after" | "mixed" | undefined;
223
+ frameworks?: string[] | undefined;
224
+ coverage?: number | undefined;
225
+ unitTestPattern?: "colocated" | "separate" | undefined;
226
+ e2eDirectory?: string | undefined;
227
+ mockingStrategy?: "minimal" | "extensive" | "no-mocks" | undefined;
228
228
  }>;
229
229
  export declare const CodingBuddyConfigSchema: z.ZodObject<{
230
230
  language: z.ZodOptional<z.ZodString>;
@@ -243,38 +243,38 @@ export declare const CodingBuddyConfigSchema: z.ZodObject<{
243
243
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
244
244
  notes: z.ZodOptional<z.ZodString>;
245
245
  }, "strip", z.ZodTypeAny, {
246
- version?: string;
247
- config?: Record<string, unknown>;
248
- notes?: string;
246
+ version?: string | undefined;
247
+ config?: Record<string, unknown> | undefined;
248
+ notes?: string | undefined;
249
249
  }, {
250
- version?: string;
251
- config?: Record<string, unknown>;
252
- notes?: string;
250
+ version?: string | undefined;
251
+ config?: Record<string, unknown> | undefined;
252
+ notes?: string | undefined;
253
253
  }>>>;
254
254
  }, "strip", z.ZodTypeAny, {
255
- languages?: string[];
256
- frontend?: string[];
257
- backend?: string[];
258
- database?: string[];
259
- infrastructure?: string[];
260
- tools?: string[];
255
+ languages?: string[] | undefined;
256
+ frontend?: string[] | undefined;
257
+ backend?: string[] | undefined;
258
+ database?: string[] | undefined;
259
+ infrastructure?: string[] | undefined;
260
+ tools?: string[] | undefined;
261
261
  details?: Record<string, {
262
- version?: string;
263
- config?: Record<string, unknown>;
264
- notes?: string;
265
- }>;
262
+ version?: string | undefined;
263
+ config?: Record<string, unknown> | undefined;
264
+ notes?: string | undefined;
265
+ }> | undefined;
266
266
  }, {
267
- languages?: string[];
268
- frontend?: string[];
269
- backend?: string[];
270
- database?: string[];
271
- infrastructure?: string[];
272
- tools?: string[];
267
+ languages?: string[] | undefined;
268
+ frontend?: string[] | undefined;
269
+ backend?: string[] | undefined;
270
+ database?: string[] | undefined;
271
+ infrastructure?: string[] | undefined;
272
+ tools?: string[] | undefined;
273
273
  details?: Record<string, {
274
- version?: string;
275
- config?: Record<string, unknown>;
276
- notes?: string;
277
- }>;
274
+ version?: string | undefined;
275
+ config?: Record<string, unknown> | undefined;
276
+ notes?: string | undefined;
277
+ }> | undefined;
278
278
  }>>;
279
279
  architecture: z.ZodOptional<z.ZodObject<{
280
280
  pattern: z.ZodOptional<z.ZodString>;
@@ -286,36 +286,36 @@ export declare const CodingBuddyConfigSchema: z.ZodObject<{
286
286
  description: z.ZodOptional<z.ZodString>;
287
287
  dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
288
288
  }, "strip", z.ZodTypeAny, {
289
- name?: string;
290
- path?: string;
291
- description?: string;
292
- dependencies?: string[];
289
+ name: string;
290
+ path: string;
291
+ description?: string | undefined;
292
+ dependencies?: string[] | undefined;
293
293
  }, {
294
- name?: string;
295
- path?: string;
296
- description?: string;
297
- dependencies?: string[];
294
+ name: string;
295
+ path: string;
296
+ description?: string | undefined;
297
+ dependencies?: string[] | undefined;
298
298
  }>, "many">>;
299
299
  }, "strip", z.ZodTypeAny, {
300
- pattern?: string;
301
- structure?: string[];
302
- componentStyle?: "flat" | "grouped" | "feature-based";
300
+ pattern?: string | undefined;
301
+ structure?: string[] | undefined;
302
+ componentStyle?: "flat" | "grouped" | "feature-based" | undefined;
303
303
  layers?: {
304
- name?: string;
305
- path?: string;
306
- description?: string;
307
- dependencies?: string[];
308
- }[];
304
+ name: string;
305
+ path: string;
306
+ description?: string | undefined;
307
+ dependencies?: string[] | undefined;
308
+ }[] | undefined;
309
309
  }, {
310
- pattern?: string;
311
- structure?: string[];
312
- componentStyle?: "flat" | "grouped" | "feature-based";
310
+ pattern?: string | undefined;
311
+ structure?: string[] | undefined;
312
+ componentStyle?: "flat" | "grouped" | "feature-based" | undefined;
313
313
  layers?: {
314
- name?: string;
315
- path?: string;
316
- description?: string;
317
- dependencies?: string[];
318
- }[];
314
+ name: string;
315
+ path: string;
316
+ description?: string | undefined;
317
+ dependencies?: string[] | undefined;
318
+ }[] | undefined;
319
319
  }>>;
320
320
  conventions: z.ZodOptional<z.ZodObject<{
321
321
  style: z.ZodOptional<z.ZodString>;
@@ -328,21 +328,21 @@ export declare const CodingBuddyConfigSchema: z.ZodObject<{
328
328
  types: z.ZodOptional<z.ZodEnum<["PascalCase"]>>;
329
329
  interfaces: z.ZodOptional<z.ZodEnum<["PascalCase", "IPascalCase"]>>;
330
330
  }, "strip", z.ZodTypeAny, {
331
- files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case";
332
- components?: "kebab-case" | "PascalCase";
333
- functions?: "camelCase" | "snake_case";
334
- variables?: "camelCase" | "snake_case";
335
- constants?: "camelCase" | "UPPER_SNAKE_CASE";
336
- types?: "PascalCase";
337
- interfaces?: "PascalCase" | "IPascalCase";
331
+ files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case" | undefined;
332
+ components?: "kebab-case" | "PascalCase" | undefined;
333
+ functions?: "camelCase" | "snake_case" | undefined;
334
+ variables?: "camelCase" | "snake_case" | undefined;
335
+ constants?: "camelCase" | "UPPER_SNAKE_CASE" | undefined;
336
+ types?: "PascalCase" | undefined;
337
+ interfaces?: "PascalCase" | "IPascalCase" | undefined;
338
338
  }, {
339
- files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case";
340
- components?: "kebab-case" | "PascalCase";
341
- functions?: "camelCase" | "snake_case";
342
- variables?: "camelCase" | "snake_case";
343
- constants?: "camelCase" | "UPPER_SNAKE_CASE";
344
- types?: "PascalCase";
345
- interfaces?: "PascalCase" | "IPascalCase";
339
+ files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case" | undefined;
340
+ components?: "kebab-case" | "PascalCase" | undefined;
341
+ functions?: "camelCase" | "snake_case" | undefined;
342
+ variables?: "camelCase" | "snake_case" | undefined;
343
+ constants?: "camelCase" | "UPPER_SNAKE_CASE" | undefined;
344
+ types?: "PascalCase" | undefined;
345
+ interfaces?: "PascalCase" | "IPascalCase" | undefined;
346
346
  }>>;
347
347
  importOrder: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
348
348
  maxLineLength: z.ZodOptional<z.ZodNumber>;
@@ -350,37 +350,37 @@ export declare const CodingBuddyConfigSchema: z.ZodObject<{
350
350
  quotes: z.ZodOptional<z.ZodEnum<["single", "double"]>>;
351
351
  rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
352
352
  }, "strip", z.ZodTypeAny, {
353
- rules?: Record<string, unknown>;
354
- style?: string;
353
+ rules?: Record<string, unknown> | undefined;
354
+ style?: string | undefined;
355
355
  naming?: {
356
- files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case";
357
- components?: "kebab-case" | "PascalCase";
358
- functions?: "camelCase" | "snake_case";
359
- variables?: "camelCase" | "snake_case";
360
- constants?: "camelCase" | "UPPER_SNAKE_CASE";
361
- types?: "PascalCase";
362
- interfaces?: "PascalCase" | "IPascalCase";
363
- };
364
- importOrder?: string[];
365
- maxLineLength?: number;
366
- semicolons?: boolean;
367
- quotes?: "single" | "double";
356
+ files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case" | undefined;
357
+ components?: "kebab-case" | "PascalCase" | undefined;
358
+ functions?: "camelCase" | "snake_case" | undefined;
359
+ variables?: "camelCase" | "snake_case" | undefined;
360
+ constants?: "camelCase" | "UPPER_SNAKE_CASE" | undefined;
361
+ types?: "PascalCase" | undefined;
362
+ interfaces?: "PascalCase" | "IPascalCase" | undefined;
363
+ } | undefined;
364
+ importOrder?: string[] | undefined;
365
+ maxLineLength?: number | undefined;
366
+ semicolons?: boolean | undefined;
367
+ quotes?: "single" | "double" | undefined;
368
368
  }, {
369
- rules?: Record<string, unknown>;
370
- style?: string;
369
+ rules?: Record<string, unknown> | undefined;
370
+ style?: string | undefined;
371
371
  naming?: {
372
- files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case";
373
- components?: "kebab-case" | "PascalCase";
374
- functions?: "camelCase" | "snake_case";
375
- variables?: "camelCase" | "snake_case";
376
- constants?: "camelCase" | "UPPER_SNAKE_CASE";
377
- types?: "PascalCase";
378
- interfaces?: "PascalCase" | "IPascalCase";
379
- };
380
- importOrder?: string[];
381
- maxLineLength?: number;
382
- semicolons?: boolean;
383
- quotes?: "single" | "double";
372
+ files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case" | undefined;
373
+ components?: "kebab-case" | "PascalCase" | undefined;
374
+ functions?: "camelCase" | "snake_case" | undefined;
375
+ variables?: "camelCase" | "snake_case" | undefined;
376
+ constants?: "camelCase" | "UPPER_SNAKE_CASE" | undefined;
377
+ types?: "PascalCase" | undefined;
378
+ interfaces?: "PascalCase" | "IPascalCase" | undefined;
379
+ } | undefined;
380
+ importOrder?: string[] | undefined;
381
+ maxLineLength?: number | undefined;
382
+ semicolons?: boolean | undefined;
383
+ quotes?: "single" | "double" | undefined;
384
384
  }>>;
385
385
  testStrategy: z.ZodOptional<z.ZodObject<{
386
386
  approach: z.ZodOptional<z.ZodEnum<["tdd", "bdd", "test-after", "mixed"]>>;
@@ -390,137 +390,137 @@ export declare const CodingBuddyConfigSchema: z.ZodObject<{
390
390
  e2eDirectory: z.ZodOptional<z.ZodString>;
391
391
  mockingStrategy: z.ZodOptional<z.ZodEnum<["minimal", "extensive", "no-mocks"]>>;
392
392
  }, "strip", z.ZodTypeAny, {
393
- approach?: "tdd" | "bdd" | "test-after" | "mixed";
394
- frameworks?: string[];
395
- coverage?: number;
396
- unitTestPattern?: "colocated" | "separate";
397
- e2eDirectory?: string;
398
- mockingStrategy?: "minimal" | "extensive" | "no-mocks";
393
+ approach?: "tdd" | "bdd" | "test-after" | "mixed" | undefined;
394
+ frameworks?: string[] | undefined;
395
+ coverage?: number | undefined;
396
+ unitTestPattern?: "colocated" | "separate" | undefined;
397
+ e2eDirectory?: string | undefined;
398
+ mockingStrategy?: "minimal" | "extensive" | "no-mocks" | undefined;
399
399
  }, {
400
- approach?: "tdd" | "bdd" | "test-after" | "mixed";
401
- frameworks?: string[];
402
- coverage?: number;
403
- unitTestPattern?: "colocated" | "separate";
404
- e2eDirectory?: string;
405
- mockingStrategy?: "minimal" | "extensive" | "no-mocks";
400
+ approach?: "tdd" | "bdd" | "test-after" | "mixed" | undefined;
401
+ frameworks?: string[] | undefined;
402
+ coverage?: number | undefined;
403
+ unitTestPattern?: "colocated" | "separate" | undefined;
404
+ e2eDirectory?: string | undefined;
405
+ mockingStrategy?: "minimal" | "extensive" | "no-mocks" | undefined;
406
406
  }>>;
407
407
  keyFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
408
408
  avoid: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
409
409
  custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
410
410
  }, "strip", z.ZodTypeAny, {
411
- custom?: Record<string, unknown>;
412
- description?: string;
413
- language?: string;
414
- projectName?: string;
415
- repository?: string;
411
+ custom?: Record<string, unknown> | undefined;
412
+ description?: string | undefined;
413
+ language?: string | undefined;
414
+ projectName?: string | undefined;
415
+ repository?: string | undefined;
416
416
  techStack?: {
417
- languages?: string[];
418
- frontend?: string[];
419
- backend?: string[];
420
- database?: string[];
421
- infrastructure?: string[];
422
- tools?: string[];
417
+ languages?: string[] | undefined;
418
+ frontend?: string[] | undefined;
419
+ backend?: string[] | undefined;
420
+ database?: string[] | undefined;
421
+ infrastructure?: string[] | undefined;
422
+ tools?: string[] | undefined;
423
423
  details?: Record<string, {
424
- version?: string;
425
- config?: Record<string, unknown>;
426
- notes?: string;
427
- }>;
428
- };
424
+ version?: string | undefined;
425
+ config?: Record<string, unknown> | undefined;
426
+ notes?: string | undefined;
427
+ }> | undefined;
428
+ } | undefined;
429
429
  architecture?: {
430
- pattern?: string;
431
- structure?: string[];
432
- componentStyle?: "flat" | "grouped" | "feature-based";
430
+ pattern?: string | undefined;
431
+ structure?: string[] | undefined;
432
+ componentStyle?: "flat" | "grouped" | "feature-based" | undefined;
433
433
  layers?: {
434
- name?: string;
435
- path?: string;
436
- description?: string;
437
- dependencies?: string[];
438
- }[];
439
- };
434
+ name: string;
435
+ path: string;
436
+ description?: string | undefined;
437
+ dependencies?: string[] | undefined;
438
+ }[] | undefined;
439
+ } | undefined;
440
440
  conventions?: {
441
- rules?: Record<string, unknown>;
442
- style?: string;
441
+ rules?: Record<string, unknown> | undefined;
442
+ style?: string | undefined;
443
443
  naming?: {
444
- files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case";
445
- components?: "kebab-case" | "PascalCase";
446
- functions?: "camelCase" | "snake_case";
447
- variables?: "camelCase" | "snake_case";
448
- constants?: "camelCase" | "UPPER_SNAKE_CASE";
449
- types?: "PascalCase";
450
- interfaces?: "PascalCase" | "IPascalCase";
451
- };
452
- importOrder?: string[];
453
- maxLineLength?: number;
454
- semicolons?: boolean;
455
- quotes?: "single" | "double";
456
- };
444
+ files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case" | undefined;
445
+ components?: "kebab-case" | "PascalCase" | undefined;
446
+ functions?: "camelCase" | "snake_case" | undefined;
447
+ variables?: "camelCase" | "snake_case" | undefined;
448
+ constants?: "camelCase" | "UPPER_SNAKE_CASE" | undefined;
449
+ types?: "PascalCase" | undefined;
450
+ interfaces?: "PascalCase" | "IPascalCase" | undefined;
451
+ } | undefined;
452
+ importOrder?: string[] | undefined;
453
+ maxLineLength?: number | undefined;
454
+ semicolons?: boolean | undefined;
455
+ quotes?: "single" | "double" | undefined;
456
+ } | undefined;
457
457
  testStrategy?: {
458
- approach?: "tdd" | "bdd" | "test-after" | "mixed";
459
- frameworks?: string[];
460
- coverage?: number;
461
- unitTestPattern?: "colocated" | "separate";
462
- e2eDirectory?: string;
463
- mockingStrategy?: "minimal" | "extensive" | "no-mocks";
464
- };
465
- keyFiles?: string[];
466
- avoid?: string[];
458
+ approach?: "tdd" | "bdd" | "test-after" | "mixed" | undefined;
459
+ frameworks?: string[] | undefined;
460
+ coverage?: number | undefined;
461
+ unitTestPattern?: "colocated" | "separate" | undefined;
462
+ e2eDirectory?: string | undefined;
463
+ mockingStrategy?: "minimal" | "extensive" | "no-mocks" | undefined;
464
+ } | undefined;
465
+ keyFiles?: string[] | undefined;
466
+ avoid?: string[] | undefined;
467
467
  }, {
468
- custom?: Record<string, unknown>;
469
- description?: string;
470
- language?: string;
471
- projectName?: string;
472
- repository?: string;
468
+ custom?: Record<string, unknown> | undefined;
469
+ description?: string | undefined;
470
+ language?: string | undefined;
471
+ projectName?: string | undefined;
472
+ repository?: string | undefined;
473
473
  techStack?: {
474
- languages?: string[];
475
- frontend?: string[];
476
- backend?: string[];
477
- database?: string[];
478
- infrastructure?: string[];
479
- tools?: string[];
474
+ languages?: string[] | undefined;
475
+ frontend?: string[] | undefined;
476
+ backend?: string[] | undefined;
477
+ database?: string[] | undefined;
478
+ infrastructure?: string[] | undefined;
479
+ tools?: string[] | undefined;
480
480
  details?: Record<string, {
481
- version?: string;
482
- config?: Record<string, unknown>;
483
- notes?: string;
484
- }>;
485
- };
481
+ version?: string | undefined;
482
+ config?: Record<string, unknown> | undefined;
483
+ notes?: string | undefined;
484
+ }> | undefined;
485
+ } | undefined;
486
486
  architecture?: {
487
- pattern?: string;
488
- structure?: string[];
489
- componentStyle?: "flat" | "grouped" | "feature-based";
487
+ pattern?: string | undefined;
488
+ structure?: string[] | undefined;
489
+ componentStyle?: "flat" | "grouped" | "feature-based" | undefined;
490
490
  layers?: {
491
- name?: string;
492
- path?: string;
493
- description?: string;
494
- dependencies?: string[];
495
- }[];
496
- };
491
+ name: string;
492
+ path: string;
493
+ description?: string | undefined;
494
+ dependencies?: string[] | undefined;
495
+ }[] | undefined;
496
+ } | undefined;
497
497
  conventions?: {
498
- rules?: Record<string, unknown>;
499
- style?: string;
498
+ rules?: Record<string, unknown> | undefined;
499
+ style?: string | undefined;
500
500
  naming?: {
501
- files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case";
502
- components?: "kebab-case" | "PascalCase";
503
- functions?: "camelCase" | "snake_case";
504
- variables?: "camelCase" | "snake_case";
505
- constants?: "camelCase" | "UPPER_SNAKE_CASE";
506
- types?: "PascalCase";
507
- interfaces?: "PascalCase" | "IPascalCase";
508
- };
509
- importOrder?: string[];
510
- maxLineLength?: number;
511
- semicolons?: boolean;
512
- quotes?: "single" | "double";
513
- };
501
+ files?: "kebab-case" | "camelCase" | "PascalCase" | "snake_case" | undefined;
502
+ components?: "kebab-case" | "PascalCase" | undefined;
503
+ functions?: "camelCase" | "snake_case" | undefined;
504
+ variables?: "camelCase" | "snake_case" | undefined;
505
+ constants?: "camelCase" | "UPPER_SNAKE_CASE" | undefined;
506
+ types?: "PascalCase" | undefined;
507
+ interfaces?: "PascalCase" | "IPascalCase" | undefined;
508
+ } | undefined;
509
+ importOrder?: string[] | undefined;
510
+ maxLineLength?: number | undefined;
511
+ semicolons?: boolean | undefined;
512
+ quotes?: "single" | "double" | undefined;
513
+ } | undefined;
514
514
  testStrategy?: {
515
- approach?: "tdd" | "bdd" | "test-after" | "mixed";
516
- frameworks?: string[];
517
- coverage?: number;
518
- unitTestPattern?: "colocated" | "separate";
519
- e2eDirectory?: string;
520
- mockingStrategy?: "minimal" | "extensive" | "no-mocks";
521
- };
522
- keyFiles?: string[];
523
- avoid?: string[];
515
+ approach?: "tdd" | "bdd" | "test-after" | "mixed" | undefined;
516
+ frameworks?: string[] | undefined;
517
+ coverage?: number | undefined;
518
+ unitTestPattern?: "colocated" | "separate" | undefined;
519
+ e2eDirectory?: string | undefined;
520
+ mockingStrategy?: "minimal" | "extensive" | "no-mocks" | undefined;
521
+ } | undefined;
522
+ keyFiles?: string[] | undefined;
523
+ avoid?: string[] | undefined;
524
524
  }>;
525
525
  export type TechDetail = z.infer<typeof TechDetailSchema>;
526
526
  export type ArchitectureLayer = z.infer<typeof ArchitectureLayerSchema>;