@vibe-agent-toolkit/cli 0.1.15-rc.2 → 0.1.15-rc.7

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 (81) hide show
  1. package/dist/bin.js +18 -0
  2. package/dist/bin.js.map +1 -1
  3. package/dist/commands/audit-settings.d.ts +18 -0
  4. package/dist/commands/audit-settings.d.ts.map +1 -0
  5. package/dist/commands/audit-settings.js +284 -0
  6. package/dist/commands/audit-settings.js.map +1 -0
  7. package/dist/commands/audit.d.ts +1 -0
  8. package/dist/commands/audit.d.ts.map +1 -1
  9. package/dist/commands/audit.js +59 -6
  10. package/dist/commands/audit.js.map +1 -1
  11. package/dist/commands/build.d.ts +15 -0
  12. package/dist/commands/build.d.ts.map +1 -0
  13. package/dist/commands/build.js +92 -0
  14. package/dist/commands/build.js.map +1 -0
  15. package/dist/commands/claude/build.d.ts +14 -0
  16. package/dist/commands/claude/build.d.ts.map +1 -0
  17. package/dist/commands/claude/build.js +252 -0
  18. package/dist/commands/claude/build.js.map +1 -0
  19. package/dist/commands/claude/claude-config.d.ts +20 -0
  20. package/dist/commands/claude/claude-config.d.ts.map +1 -0
  21. package/dist/commands/claude/claude-config.js +20 -0
  22. package/dist/commands/claude/claude-config.js.map +1 -0
  23. package/dist/commands/claude/index.d.ts +8 -0
  24. package/dist/commands/claude/index.d.ts.map +1 -0
  25. package/dist/commands/claude/index.js +38 -0
  26. package/dist/commands/claude/index.js.map +1 -0
  27. package/dist/commands/claude/verify.d.ts +13 -0
  28. package/dist/commands/claude/verify.d.ts.map +1 -0
  29. package/dist/commands/claude/verify.js +215 -0
  30. package/dist/commands/claude/verify.js.map +1 -0
  31. package/dist/commands/doctor.js +1 -1
  32. package/dist/commands/doctor.js.map +1 -1
  33. package/dist/commands/install.d.ts +1 -0
  34. package/dist/commands/install.d.ts.map +1 -1
  35. package/dist/commands/install.js +33 -1
  36. package/dist/commands/install.js.map +1 -1
  37. package/dist/commands/phase-utils.d.ts +48 -0
  38. package/dist/commands/phase-utils.d.ts.map +1 -0
  39. package/dist/commands/phase-utils.js +61 -0
  40. package/dist/commands/phase-utils.js.map +1 -0
  41. package/dist/commands/skills/install.d.ts +1 -0
  42. package/dist/commands/skills/install.d.ts.map +1 -1
  43. package/dist/commands/skills/install.js +57 -2
  44. package/dist/commands/skills/install.js.map +1 -1
  45. package/dist/commands/skills/list.js +2 -2
  46. package/dist/commands/skills/list.js.map +1 -1
  47. package/dist/commands/skills/package.d.ts.map +1 -1
  48. package/dist/commands/skills/package.js +8 -1
  49. package/dist/commands/skills/package.js.map +1 -1
  50. package/dist/commands/skills/uninstall.d.ts.map +1 -1
  51. package/dist/commands/skills/uninstall.js +1 -1
  52. package/dist/commands/skills/uninstall.js.map +1 -1
  53. package/dist/commands/verify.d.ts +16 -0
  54. package/dist/commands/verify.d.ts.map +1 -0
  55. package/dist/commands/verify.js +84 -0
  56. package/dist/commands/verify.js.map +1 -0
  57. package/dist/index.d.ts +1 -2
  58. package/dist/index.d.ts.map +1 -1
  59. package/dist/index.js +1 -1
  60. package/dist/index.js.map +1 -1
  61. package/dist/utils/config-loader.d.ts +7 -3
  62. package/dist/utils/config-loader.d.ts.map +1 -1
  63. package/dist/utils/config-loader.js +11 -5
  64. package/dist/utils/config-loader.js.map +1 -1
  65. package/dist/utils/resource-loader.d.ts +1 -2
  66. package/dist/utils/resource-loader.d.ts.map +1 -1
  67. package/dist/utils/resource-loader.js +1 -11
  68. package/dist/utils/resource-loader.js.map +1 -1
  69. package/dist/utils/user-context-scanner.d.ts.map +1 -1
  70. package/dist/utils/user-context-scanner.js +1 -1
  71. package/dist/utils/user-context-scanner.js.map +1 -1
  72. package/docs/index.md +1 -0
  73. package/package.json +12 -13
  74. package/dist/schemas/config.d.ts +0 -1122
  75. package/dist/schemas/config.d.ts.map +0 -1
  76. package/dist/schemas/config.js +0 -141
  77. package/dist/schemas/config.js.map +0 -1
  78. package/dist/utils/claude-paths.d.ts +0 -32
  79. package/dist/utils/claude-paths.d.ts.map +0 -1
  80. package/dist/utils/claude-paths.js +0 -34
  81. package/dist/utils/claude-paths.js.map +0 -1
@@ -1,1122 +0,0 @@
1
- /**
2
- * Configuration schemas for vibe-agent-toolkit
3
- */
4
- import { z } from 'zod';
5
- export declare const MetadataConfigSchema: z.ZodObject<{
6
- frontmatter: z.ZodOptional<z.ZodBoolean>;
7
- inference: z.ZodOptional<z.ZodObject<{
8
- type: z.ZodOptional<z.ZodEnum<["by-directory", "by-filename", "none"]>>;
9
- tags: z.ZodOptional<z.ZodEnum<["by-heading", "by-directory", "none"]>>;
10
- }, "strip", z.ZodTypeAny, {
11
- type?: "none" | "by-directory" | "by-filename" | undefined;
12
- tags?: "none" | "by-directory" | "by-heading" | undefined;
13
- }, {
14
- type?: "none" | "by-directory" | "by-filename" | undefined;
15
- tags?: "none" | "by-directory" | "by-heading" | undefined;
16
- }>>;
17
- defaults: z.ZodOptional<z.ZodObject<{
18
- type: z.ZodOptional<z.ZodString>;
19
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20
- }, "strip", z.ZodTypeAny, {
21
- type?: string | undefined;
22
- tags?: string[] | undefined;
23
- }, {
24
- type?: string | undefined;
25
- tags?: string[] | undefined;
26
- }>>;
27
- }, "strip", z.ZodTypeAny, {
28
- frontmatter?: boolean | undefined;
29
- inference?: {
30
- type?: "none" | "by-directory" | "by-filename" | undefined;
31
- tags?: "none" | "by-directory" | "by-heading" | undefined;
32
- } | undefined;
33
- defaults?: {
34
- type?: string | undefined;
35
- tags?: string[] | undefined;
36
- } | undefined;
37
- }, {
38
- frontmatter?: boolean | undefined;
39
- inference?: {
40
- type?: "none" | "by-directory" | "by-filename" | undefined;
41
- tags?: "none" | "by-directory" | "by-heading" | undefined;
42
- } | undefined;
43
- defaults?: {
44
- type?: string | undefined;
45
- tags?: string[] | undefined;
46
- } | undefined;
47
- }>;
48
- export declare const ValidationConfigSchema: z.ZodObject<{
49
- frontmatterSchema: z.ZodOptional<z.ZodString>;
50
- mode: z.ZodOptional<z.ZodEnum<["strict", "permissive"]>>;
51
- }, "strip", z.ZodTypeAny, {
52
- frontmatterSchema?: string | undefined;
53
- mode?: "strict" | "permissive" | undefined;
54
- }, {
55
- frontmatterSchema?: string | undefined;
56
- mode?: "strict" | "permissive" | undefined;
57
- }>;
58
- export declare const ResourceCollectionSchema: z.ZodObject<{
59
- include: z.ZodArray<z.ZodString, "many">;
60
- exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
61
- metadata: z.ZodOptional<z.ZodObject<{
62
- frontmatter: z.ZodOptional<z.ZodBoolean>;
63
- inference: z.ZodOptional<z.ZodObject<{
64
- type: z.ZodOptional<z.ZodEnum<["by-directory", "by-filename", "none"]>>;
65
- tags: z.ZodOptional<z.ZodEnum<["by-heading", "by-directory", "none"]>>;
66
- }, "strip", z.ZodTypeAny, {
67
- type?: "none" | "by-directory" | "by-filename" | undefined;
68
- tags?: "none" | "by-directory" | "by-heading" | undefined;
69
- }, {
70
- type?: "none" | "by-directory" | "by-filename" | undefined;
71
- tags?: "none" | "by-directory" | "by-heading" | undefined;
72
- }>>;
73
- defaults: z.ZodOptional<z.ZodObject<{
74
- type: z.ZodOptional<z.ZodString>;
75
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
76
- }, "strip", z.ZodTypeAny, {
77
- type?: string | undefined;
78
- tags?: string[] | undefined;
79
- }, {
80
- type?: string | undefined;
81
- tags?: string[] | undefined;
82
- }>>;
83
- }, "strip", z.ZodTypeAny, {
84
- frontmatter?: boolean | undefined;
85
- inference?: {
86
- type?: "none" | "by-directory" | "by-filename" | undefined;
87
- tags?: "none" | "by-directory" | "by-heading" | undefined;
88
- } | undefined;
89
- defaults?: {
90
- type?: string | undefined;
91
- tags?: string[] | undefined;
92
- } | undefined;
93
- }, {
94
- frontmatter?: boolean | undefined;
95
- inference?: {
96
- type?: "none" | "by-directory" | "by-filename" | undefined;
97
- tags?: "none" | "by-directory" | "by-heading" | undefined;
98
- } | undefined;
99
- defaults?: {
100
- type?: string | undefined;
101
- tags?: string[] | undefined;
102
- } | undefined;
103
- }>>;
104
- validation: z.ZodOptional<z.ZodObject<{
105
- frontmatterSchema: z.ZodOptional<z.ZodString>;
106
- mode: z.ZodOptional<z.ZodEnum<["strict", "permissive"]>>;
107
- }, "strip", z.ZodTypeAny, {
108
- frontmatterSchema?: string | undefined;
109
- mode?: "strict" | "permissive" | undefined;
110
- }, {
111
- frontmatterSchema?: string | undefined;
112
- mode?: "strict" | "permissive" | undefined;
113
- }>>;
114
- }, "strip", z.ZodTypeAny, {
115
- include: string[];
116
- metadata?: {
117
- frontmatter?: boolean | undefined;
118
- inference?: {
119
- type?: "none" | "by-directory" | "by-filename" | undefined;
120
- tags?: "none" | "by-directory" | "by-heading" | undefined;
121
- } | undefined;
122
- defaults?: {
123
- type?: string | undefined;
124
- tags?: string[] | undefined;
125
- } | undefined;
126
- } | undefined;
127
- validation?: {
128
- frontmatterSchema?: string | undefined;
129
- mode?: "strict" | "permissive" | undefined;
130
- } | undefined;
131
- exclude?: string[] | undefined;
132
- }, {
133
- include: string[];
134
- metadata?: {
135
- frontmatter?: boolean | undefined;
136
- inference?: {
137
- type?: "none" | "by-directory" | "by-filename" | undefined;
138
- tags?: "none" | "by-directory" | "by-heading" | undefined;
139
- } | undefined;
140
- defaults?: {
141
- type?: string | undefined;
142
- tags?: string[] | undefined;
143
- } | undefined;
144
- } | undefined;
145
- validation?: {
146
- frontmatterSchema?: string | undefined;
147
- mode?: "strict" | "permissive" | undefined;
148
- } | undefined;
149
- exclude?: string[] | undefined;
150
- }>;
151
- export declare const ResourcesConfigSchema: z.ZodObject<{
152
- include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
153
- exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
154
- metadata: z.ZodOptional<z.ZodObject<{
155
- frontmatter: z.ZodOptional<z.ZodBoolean>;
156
- inference: z.ZodOptional<z.ZodObject<{
157
- type: z.ZodOptional<z.ZodEnum<["by-directory", "by-filename", "none"]>>;
158
- tags: z.ZodOptional<z.ZodEnum<["by-heading", "by-directory", "none"]>>;
159
- }, "strip", z.ZodTypeAny, {
160
- type?: "none" | "by-directory" | "by-filename" | undefined;
161
- tags?: "none" | "by-directory" | "by-heading" | undefined;
162
- }, {
163
- type?: "none" | "by-directory" | "by-filename" | undefined;
164
- tags?: "none" | "by-directory" | "by-heading" | undefined;
165
- }>>;
166
- defaults: z.ZodOptional<z.ZodObject<{
167
- type: z.ZodOptional<z.ZodString>;
168
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
169
- }, "strip", z.ZodTypeAny, {
170
- type?: string | undefined;
171
- tags?: string[] | undefined;
172
- }, {
173
- type?: string | undefined;
174
- tags?: string[] | undefined;
175
- }>>;
176
- }, "strip", z.ZodTypeAny, {
177
- frontmatter?: boolean | undefined;
178
- inference?: {
179
- type?: "none" | "by-directory" | "by-filename" | undefined;
180
- tags?: "none" | "by-directory" | "by-heading" | undefined;
181
- } | undefined;
182
- defaults?: {
183
- type?: string | undefined;
184
- tags?: string[] | undefined;
185
- } | undefined;
186
- }, {
187
- frontmatter?: boolean | undefined;
188
- inference?: {
189
- type?: "none" | "by-directory" | "by-filename" | undefined;
190
- tags?: "none" | "by-directory" | "by-heading" | undefined;
191
- } | undefined;
192
- defaults?: {
193
- type?: string | undefined;
194
- tags?: string[] | undefined;
195
- } | undefined;
196
- }>>;
197
- collections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
198
- include: z.ZodArray<z.ZodString, "many">;
199
- exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
200
- metadata: z.ZodOptional<z.ZodObject<{
201
- frontmatter: z.ZodOptional<z.ZodBoolean>;
202
- inference: z.ZodOptional<z.ZodObject<{
203
- type: z.ZodOptional<z.ZodEnum<["by-directory", "by-filename", "none"]>>;
204
- tags: z.ZodOptional<z.ZodEnum<["by-heading", "by-directory", "none"]>>;
205
- }, "strip", z.ZodTypeAny, {
206
- type?: "none" | "by-directory" | "by-filename" | undefined;
207
- tags?: "none" | "by-directory" | "by-heading" | undefined;
208
- }, {
209
- type?: "none" | "by-directory" | "by-filename" | undefined;
210
- tags?: "none" | "by-directory" | "by-heading" | undefined;
211
- }>>;
212
- defaults: z.ZodOptional<z.ZodObject<{
213
- type: z.ZodOptional<z.ZodString>;
214
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
215
- }, "strip", z.ZodTypeAny, {
216
- type?: string | undefined;
217
- tags?: string[] | undefined;
218
- }, {
219
- type?: string | undefined;
220
- tags?: string[] | undefined;
221
- }>>;
222
- }, "strip", z.ZodTypeAny, {
223
- frontmatter?: boolean | undefined;
224
- inference?: {
225
- type?: "none" | "by-directory" | "by-filename" | undefined;
226
- tags?: "none" | "by-directory" | "by-heading" | undefined;
227
- } | undefined;
228
- defaults?: {
229
- type?: string | undefined;
230
- tags?: string[] | undefined;
231
- } | undefined;
232
- }, {
233
- frontmatter?: boolean | undefined;
234
- inference?: {
235
- type?: "none" | "by-directory" | "by-filename" | undefined;
236
- tags?: "none" | "by-directory" | "by-heading" | undefined;
237
- } | undefined;
238
- defaults?: {
239
- type?: string | undefined;
240
- tags?: string[] | undefined;
241
- } | undefined;
242
- }>>;
243
- validation: z.ZodOptional<z.ZodObject<{
244
- frontmatterSchema: z.ZodOptional<z.ZodString>;
245
- mode: z.ZodOptional<z.ZodEnum<["strict", "permissive"]>>;
246
- }, "strip", z.ZodTypeAny, {
247
- frontmatterSchema?: string | undefined;
248
- mode?: "strict" | "permissive" | undefined;
249
- }, {
250
- frontmatterSchema?: string | undefined;
251
- mode?: "strict" | "permissive" | undefined;
252
- }>>;
253
- }, "strip", z.ZodTypeAny, {
254
- include: string[];
255
- metadata?: {
256
- frontmatter?: boolean | undefined;
257
- inference?: {
258
- type?: "none" | "by-directory" | "by-filename" | undefined;
259
- tags?: "none" | "by-directory" | "by-heading" | undefined;
260
- } | undefined;
261
- defaults?: {
262
- type?: string | undefined;
263
- tags?: string[] | undefined;
264
- } | undefined;
265
- } | undefined;
266
- validation?: {
267
- frontmatterSchema?: string | undefined;
268
- mode?: "strict" | "permissive" | undefined;
269
- } | undefined;
270
- exclude?: string[] | undefined;
271
- }, {
272
- include: string[];
273
- metadata?: {
274
- frontmatter?: boolean | undefined;
275
- inference?: {
276
- type?: "none" | "by-directory" | "by-filename" | undefined;
277
- tags?: "none" | "by-directory" | "by-heading" | undefined;
278
- } | undefined;
279
- defaults?: {
280
- type?: string | undefined;
281
- tags?: string[] | undefined;
282
- } | undefined;
283
- } | undefined;
284
- validation?: {
285
- frontmatterSchema?: string | undefined;
286
- mode?: "strict" | "permissive" | undefined;
287
- } | undefined;
288
- exclude?: string[] | undefined;
289
- }>>>;
290
- validation: z.ZodOptional<z.ZodObject<{
291
- checkLinks: z.ZodOptional<z.ZodBoolean>;
292
- checkAnchors: z.ZodOptional<z.ZodBoolean>;
293
- allowExternal: z.ZodOptional<z.ZodBoolean>;
294
- }, "strip", z.ZodTypeAny, {
295
- checkLinks?: boolean | undefined;
296
- checkAnchors?: boolean | undefined;
297
- allowExternal?: boolean | undefined;
298
- }, {
299
- checkLinks?: boolean | undefined;
300
- checkAnchors?: boolean | undefined;
301
- allowExternal?: boolean | undefined;
302
- }>>;
303
- }, "strict", z.ZodTypeAny, {
304
- metadata?: {
305
- frontmatter?: boolean | undefined;
306
- inference?: {
307
- type?: "none" | "by-directory" | "by-filename" | undefined;
308
- tags?: "none" | "by-directory" | "by-heading" | undefined;
309
- } | undefined;
310
- defaults?: {
311
- type?: string | undefined;
312
- tags?: string[] | undefined;
313
- } | undefined;
314
- } | undefined;
315
- validation?: {
316
- checkLinks?: boolean | undefined;
317
- checkAnchors?: boolean | undefined;
318
- allowExternal?: boolean | undefined;
319
- } | undefined;
320
- include?: string[] | undefined;
321
- exclude?: string[] | undefined;
322
- collections?: Record<string, {
323
- include: string[];
324
- metadata?: {
325
- frontmatter?: boolean | undefined;
326
- inference?: {
327
- type?: "none" | "by-directory" | "by-filename" | undefined;
328
- tags?: "none" | "by-directory" | "by-heading" | undefined;
329
- } | undefined;
330
- defaults?: {
331
- type?: string | undefined;
332
- tags?: string[] | undefined;
333
- } | undefined;
334
- } | undefined;
335
- validation?: {
336
- frontmatterSchema?: string | undefined;
337
- mode?: "strict" | "permissive" | undefined;
338
- } | undefined;
339
- exclude?: string[] | undefined;
340
- }> | undefined;
341
- }, {
342
- metadata?: {
343
- frontmatter?: boolean | undefined;
344
- inference?: {
345
- type?: "none" | "by-directory" | "by-filename" | undefined;
346
- tags?: "none" | "by-directory" | "by-heading" | undefined;
347
- } | undefined;
348
- defaults?: {
349
- type?: string | undefined;
350
- tags?: string[] | undefined;
351
- } | undefined;
352
- } | undefined;
353
- validation?: {
354
- checkLinks?: boolean | undefined;
355
- checkAnchors?: boolean | undefined;
356
- allowExternal?: boolean | undefined;
357
- } | undefined;
358
- include?: string[] | undefined;
359
- exclude?: string[] | undefined;
360
- collections?: Record<string, {
361
- include: string[];
362
- metadata?: {
363
- frontmatter?: boolean | undefined;
364
- inference?: {
365
- type?: "none" | "by-directory" | "by-filename" | undefined;
366
- tags?: "none" | "by-directory" | "by-heading" | undefined;
367
- } | undefined;
368
- defaults?: {
369
- type?: string | undefined;
370
- tags?: string[] | undefined;
371
- } | undefined;
372
- } | undefined;
373
- validation?: {
374
- frontmatterSchema?: string | undefined;
375
- mode?: "strict" | "permissive" | undefined;
376
- } | undefined;
377
- exclude?: string[] | undefined;
378
- }> | undefined;
379
- }>;
380
- export declare const AgentsConfigSchema: z.ZodObject<{
381
- include: z.ZodArray<z.ZodString, "many">;
382
- exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
383
- external: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
384
- }, "strip", z.ZodTypeAny, {
385
- include: string[];
386
- exclude?: string[] | undefined;
387
- external?: string[] | undefined;
388
- }, {
389
- include: string[];
390
- exclude?: string[] | undefined;
391
- external?: string[] | undefined;
392
- }>;
393
- export declare const RAGEmbeddingConfigSchema: z.ZodObject<{
394
- provider: z.ZodEnum<["transformers-js", "openai"]>;
395
- model: z.ZodString;
396
- }, "strip", z.ZodTypeAny, {
397
- model: string;
398
- provider: "transformers-js" | "openai";
399
- }, {
400
- model: string;
401
- provider: "transformers-js" | "openai";
402
- }>;
403
- export declare const RAGChunkingConfigSchema: z.ZodObject<{
404
- targetSize: z.ZodNumber;
405
- paddingFactor: z.ZodNumber;
406
- }, "strip", z.ZodTypeAny, {
407
- targetSize: number;
408
- paddingFactor: number;
409
- }, {
410
- targetSize: number;
411
- paddingFactor: number;
412
- }>;
413
- export declare const RAGStoreSchema: z.ZodObject<{
414
- db: z.ZodString;
415
- resources: z.ZodString;
416
- embedding: z.ZodOptional<z.ZodObject<{
417
- provider: z.ZodEnum<["transformers-js", "openai"]>;
418
- model: z.ZodString;
419
- }, "strip", z.ZodTypeAny, {
420
- model: string;
421
- provider: "transformers-js" | "openai";
422
- }, {
423
- model: string;
424
- provider: "transformers-js" | "openai";
425
- }>>;
426
- chunking: z.ZodOptional<z.ZodObject<{
427
- targetSize: z.ZodNumber;
428
- paddingFactor: z.ZodNumber;
429
- }, "strip", z.ZodTypeAny, {
430
- targetSize: number;
431
- paddingFactor: number;
432
- }, {
433
- targetSize: number;
434
- paddingFactor: number;
435
- }>>;
436
- }, "strip", z.ZodTypeAny, {
437
- db: string;
438
- resources: string;
439
- embedding?: {
440
- model: string;
441
- provider: "transformers-js" | "openai";
442
- } | undefined;
443
- chunking?: {
444
- targetSize: number;
445
- paddingFactor: number;
446
- } | undefined;
447
- }, {
448
- db: string;
449
- resources: string;
450
- embedding?: {
451
- model: string;
452
- provider: "transformers-js" | "openai";
453
- } | undefined;
454
- chunking?: {
455
- targetSize: number;
456
- paddingFactor: number;
457
- } | undefined;
458
- }>;
459
- export declare const RAGConfigSchema: z.ZodObject<{
460
- defaults: z.ZodOptional<z.ZodObject<{
461
- embedding: z.ZodOptional<z.ZodObject<{
462
- provider: z.ZodEnum<["transformers-js", "openai"]>;
463
- model: z.ZodString;
464
- }, "strip", z.ZodTypeAny, {
465
- model: string;
466
- provider: "transformers-js" | "openai";
467
- }, {
468
- model: string;
469
- provider: "transformers-js" | "openai";
470
- }>>;
471
- chunking: z.ZodOptional<z.ZodObject<{
472
- targetSize: z.ZodNumber;
473
- paddingFactor: z.ZodNumber;
474
- }, "strip", z.ZodTypeAny, {
475
- targetSize: number;
476
- paddingFactor: number;
477
- }, {
478
- targetSize: number;
479
- paddingFactor: number;
480
- }>>;
481
- }, "strip", z.ZodTypeAny, {
482
- embedding?: {
483
- model: string;
484
- provider: "transformers-js" | "openai";
485
- } | undefined;
486
- chunking?: {
487
- targetSize: number;
488
- paddingFactor: number;
489
- } | undefined;
490
- }, {
491
- embedding?: {
492
- model: string;
493
- provider: "transformers-js" | "openai";
494
- } | undefined;
495
- chunking?: {
496
- targetSize: number;
497
- paddingFactor: number;
498
- } | undefined;
499
- }>>;
500
- stores: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
501
- db: z.ZodString;
502
- resources: z.ZodString;
503
- embedding: z.ZodOptional<z.ZodObject<{
504
- provider: z.ZodEnum<["transformers-js", "openai"]>;
505
- model: z.ZodString;
506
- }, "strip", z.ZodTypeAny, {
507
- model: string;
508
- provider: "transformers-js" | "openai";
509
- }, {
510
- model: string;
511
- provider: "transformers-js" | "openai";
512
- }>>;
513
- chunking: z.ZodOptional<z.ZodObject<{
514
- targetSize: z.ZodNumber;
515
- paddingFactor: z.ZodNumber;
516
- }, "strip", z.ZodTypeAny, {
517
- targetSize: number;
518
- paddingFactor: number;
519
- }, {
520
- targetSize: number;
521
- paddingFactor: number;
522
- }>>;
523
- }, "strip", z.ZodTypeAny, {
524
- db: string;
525
- resources: string;
526
- embedding?: {
527
- model: string;
528
- provider: "transformers-js" | "openai";
529
- } | undefined;
530
- chunking?: {
531
- targetSize: number;
532
- paddingFactor: number;
533
- } | undefined;
534
- }, {
535
- db: string;
536
- resources: string;
537
- embedding?: {
538
- model: string;
539
- provider: "transformers-js" | "openai";
540
- } | undefined;
541
- chunking?: {
542
- targetSize: number;
543
- paddingFactor: number;
544
- } | undefined;
545
- }>>>;
546
- }, "strip", z.ZodTypeAny, {
547
- defaults?: {
548
- embedding?: {
549
- model: string;
550
- provider: "transformers-js" | "openai";
551
- } | undefined;
552
- chunking?: {
553
- targetSize: number;
554
- paddingFactor: number;
555
- } | undefined;
556
- } | undefined;
557
- stores?: Record<string, {
558
- db: string;
559
- resources: string;
560
- embedding?: {
561
- model: string;
562
- provider: "transformers-js" | "openai";
563
- } | undefined;
564
- chunking?: {
565
- targetSize: number;
566
- paddingFactor: number;
567
- } | undefined;
568
- }> | undefined;
569
- }, {
570
- defaults?: {
571
- embedding?: {
572
- model: string;
573
- provider: "transformers-js" | "openai";
574
- } | undefined;
575
- chunking?: {
576
- targetSize: number;
577
- paddingFactor: number;
578
- } | undefined;
579
- } | undefined;
580
- stores?: Record<string, {
581
- db: string;
582
- resources: string;
583
- embedding?: {
584
- model: string;
585
- provider: "transformers-js" | "openai";
586
- } | undefined;
587
- chunking?: {
588
- targetSize: number;
589
- paddingFactor: number;
590
- } | undefined;
591
- }> | undefined;
592
- }>;
593
- export declare const ProjectConfigSchema: z.ZodObject<{
594
- version: z.ZodLiteral<1>;
595
- resources: z.ZodOptional<z.ZodObject<{
596
- include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
597
- exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
598
- metadata: z.ZodOptional<z.ZodObject<{
599
- frontmatter: z.ZodOptional<z.ZodBoolean>;
600
- inference: z.ZodOptional<z.ZodObject<{
601
- type: z.ZodOptional<z.ZodEnum<["by-directory", "by-filename", "none"]>>;
602
- tags: z.ZodOptional<z.ZodEnum<["by-heading", "by-directory", "none"]>>;
603
- }, "strip", z.ZodTypeAny, {
604
- type?: "none" | "by-directory" | "by-filename" | undefined;
605
- tags?: "none" | "by-directory" | "by-heading" | undefined;
606
- }, {
607
- type?: "none" | "by-directory" | "by-filename" | undefined;
608
- tags?: "none" | "by-directory" | "by-heading" | undefined;
609
- }>>;
610
- defaults: z.ZodOptional<z.ZodObject<{
611
- type: z.ZodOptional<z.ZodString>;
612
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
613
- }, "strip", z.ZodTypeAny, {
614
- type?: string | undefined;
615
- tags?: string[] | undefined;
616
- }, {
617
- type?: string | undefined;
618
- tags?: string[] | undefined;
619
- }>>;
620
- }, "strip", z.ZodTypeAny, {
621
- frontmatter?: boolean | undefined;
622
- inference?: {
623
- type?: "none" | "by-directory" | "by-filename" | undefined;
624
- tags?: "none" | "by-directory" | "by-heading" | undefined;
625
- } | undefined;
626
- defaults?: {
627
- type?: string | undefined;
628
- tags?: string[] | undefined;
629
- } | undefined;
630
- }, {
631
- frontmatter?: boolean | undefined;
632
- inference?: {
633
- type?: "none" | "by-directory" | "by-filename" | undefined;
634
- tags?: "none" | "by-directory" | "by-heading" | undefined;
635
- } | undefined;
636
- defaults?: {
637
- type?: string | undefined;
638
- tags?: string[] | undefined;
639
- } | undefined;
640
- }>>;
641
- collections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
642
- include: z.ZodArray<z.ZodString, "many">;
643
- exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
644
- metadata: z.ZodOptional<z.ZodObject<{
645
- frontmatter: z.ZodOptional<z.ZodBoolean>;
646
- inference: z.ZodOptional<z.ZodObject<{
647
- type: z.ZodOptional<z.ZodEnum<["by-directory", "by-filename", "none"]>>;
648
- tags: z.ZodOptional<z.ZodEnum<["by-heading", "by-directory", "none"]>>;
649
- }, "strip", z.ZodTypeAny, {
650
- type?: "none" | "by-directory" | "by-filename" | undefined;
651
- tags?: "none" | "by-directory" | "by-heading" | undefined;
652
- }, {
653
- type?: "none" | "by-directory" | "by-filename" | undefined;
654
- tags?: "none" | "by-directory" | "by-heading" | undefined;
655
- }>>;
656
- defaults: z.ZodOptional<z.ZodObject<{
657
- type: z.ZodOptional<z.ZodString>;
658
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
659
- }, "strip", z.ZodTypeAny, {
660
- type?: string | undefined;
661
- tags?: string[] | undefined;
662
- }, {
663
- type?: string | undefined;
664
- tags?: string[] | undefined;
665
- }>>;
666
- }, "strip", z.ZodTypeAny, {
667
- frontmatter?: boolean | undefined;
668
- inference?: {
669
- type?: "none" | "by-directory" | "by-filename" | undefined;
670
- tags?: "none" | "by-directory" | "by-heading" | undefined;
671
- } | undefined;
672
- defaults?: {
673
- type?: string | undefined;
674
- tags?: string[] | undefined;
675
- } | undefined;
676
- }, {
677
- frontmatter?: boolean | undefined;
678
- inference?: {
679
- type?: "none" | "by-directory" | "by-filename" | undefined;
680
- tags?: "none" | "by-directory" | "by-heading" | undefined;
681
- } | undefined;
682
- defaults?: {
683
- type?: string | undefined;
684
- tags?: string[] | undefined;
685
- } | undefined;
686
- }>>;
687
- validation: z.ZodOptional<z.ZodObject<{
688
- frontmatterSchema: z.ZodOptional<z.ZodString>;
689
- mode: z.ZodOptional<z.ZodEnum<["strict", "permissive"]>>;
690
- }, "strip", z.ZodTypeAny, {
691
- frontmatterSchema?: string | undefined;
692
- mode?: "strict" | "permissive" | undefined;
693
- }, {
694
- frontmatterSchema?: string | undefined;
695
- mode?: "strict" | "permissive" | undefined;
696
- }>>;
697
- }, "strip", z.ZodTypeAny, {
698
- include: string[];
699
- metadata?: {
700
- frontmatter?: boolean | undefined;
701
- inference?: {
702
- type?: "none" | "by-directory" | "by-filename" | undefined;
703
- tags?: "none" | "by-directory" | "by-heading" | undefined;
704
- } | undefined;
705
- defaults?: {
706
- type?: string | undefined;
707
- tags?: string[] | undefined;
708
- } | undefined;
709
- } | undefined;
710
- validation?: {
711
- frontmatterSchema?: string | undefined;
712
- mode?: "strict" | "permissive" | undefined;
713
- } | undefined;
714
- exclude?: string[] | undefined;
715
- }, {
716
- include: string[];
717
- metadata?: {
718
- frontmatter?: boolean | undefined;
719
- inference?: {
720
- type?: "none" | "by-directory" | "by-filename" | undefined;
721
- tags?: "none" | "by-directory" | "by-heading" | undefined;
722
- } | undefined;
723
- defaults?: {
724
- type?: string | undefined;
725
- tags?: string[] | undefined;
726
- } | undefined;
727
- } | undefined;
728
- validation?: {
729
- frontmatterSchema?: string | undefined;
730
- mode?: "strict" | "permissive" | undefined;
731
- } | undefined;
732
- exclude?: string[] | undefined;
733
- }>>>;
734
- validation: z.ZodOptional<z.ZodObject<{
735
- checkLinks: z.ZodOptional<z.ZodBoolean>;
736
- checkAnchors: z.ZodOptional<z.ZodBoolean>;
737
- allowExternal: z.ZodOptional<z.ZodBoolean>;
738
- }, "strip", z.ZodTypeAny, {
739
- checkLinks?: boolean | undefined;
740
- checkAnchors?: boolean | undefined;
741
- allowExternal?: boolean | undefined;
742
- }, {
743
- checkLinks?: boolean | undefined;
744
- checkAnchors?: boolean | undefined;
745
- allowExternal?: boolean | undefined;
746
- }>>;
747
- }, "strict", z.ZodTypeAny, {
748
- metadata?: {
749
- frontmatter?: boolean | undefined;
750
- inference?: {
751
- type?: "none" | "by-directory" | "by-filename" | undefined;
752
- tags?: "none" | "by-directory" | "by-heading" | undefined;
753
- } | undefined;
754
- defaults?: {
755
- type?: string | undefined;
756
- tags?: string[] | undefined;
757
- } | undefined;
758
- } | undefined;
759
- validation?: {
760
- checkLinks?: boolean | undefined;
761
- checkAnchors?: boolean | undefined;
762
- allowExternal?: boolean | undefined;
763
- } | undefined;
764
- include?: string[] | undefined;
765
- exclude?: string[] | undefined;
766
- collections?: Record<string, {
767
- include: string[];
768
- metadata?: {
769
- frontmatter?: boolean | undefined;
770
- inference?: {
771
- type?: "none" | "by-directory" | "by-filename" | undefined;
772
- tags?: "none" | "by-directory" | "by-heading" | undefined;
773
- } | undefined;
774
- defaults?: {
775
- type?: string | undefined;
776
- tags?: string[] | undefined;
777
- } | undefined;
778
- } | undefined;
779
- validation?: {
780
- frontmatterSchema?: string | undefined;
781
- mode?: "strict" | "permissive" | undefined;
782
- } | undefined;
783
- exclude?: string[] | undefined;
784
- }> | undefined;
785
- }, {
786
- metadata?: {
787
- frontmatter?: boolean | undefined;
788
- inference?: {
789
- type?: "none" | "by-directory" | "by-filename" | undefined;
790
- tags?: "none" | "by-directory" | "by-heading" | undefined;
791
- } | undefined;
792
- defaults?: {
793
- type?: string | undefined;
794
- tags?: string[] | undefined;
795
- } | undefined;
796
- } | undefined;
797
- validation?: {
798
- checkLinks?: boolean | undefined;
799
- checkAnchors?: boolean | undefined;
800
- allowExternal?: boolean | undefined;
801
- } | undefined;
802
- include?: string[] | undefined;
803
- exclude?: string[] | undefined;
804
- collections?: Record<string, {
805
- include: string[];
806
- metadata?: {
807
- frontmatter?: boolean | undefined;
808
- inference?: {
809
- type?: "none" | "by-directory" | "by-filename" | undefined;
810
- tags?: "none" | "by-directory" | "by-heading" | undefined;
811
- } | undefined;
812
- defaults?: {
813
- type?: string | undefined;
814
- tags?: string[] | undefined;
815
- } | undefined;
816
- } | undefined;
817
- validation?: {
818
- frontmatterSchema?: string | undefined;
819
- mode?: "strict" | "permissive" | undefined;
820
- } | undefined;
821
- exclude?: string[] | undefined;
822
- }> | undefined;
823
- }>>;
824
- agents: z.ZodOptional<z.ZodObject<{
825
- include: z.ZodArray<z.ZodString, "many">;
826
- exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
827
- external: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
828
- }, "strip", z.ZodTypeAny, {
829
- include: string[];
830
- exclude?: string[] | undefined;
831
- external?: string[] | undefined;
832
- }, {
833
- include: string[];
834
- exclude?: string[] | undefined;
835
- external?: string[] | undefined;
836
- }>>;
837
- rag: z.ZodOptional<z.ZodObject<{
838
- defaults: z.ZodOptional<z.ZodObject<{
839
- embedding: z.ZodOptional<z.ZodObject<{
840
- provider: z.ZodEnum<["transformers-js", "openai"]>;
841
- model: z.ZodString;
842
- }, "strip", z.ZodTypeAny, {
843
- model: string;
844
- provider: "transformers-js" | "openai";
845
- }, {
846
- model: string;
847
- provider: "transformers-js" | "openai";
848
- }>>;
849
- chunking: z.ZodOptional<z.ZodObject<{
850
- targetSize: z.ZodNumber;
851
- paddingFactor: z.ZodNumber;
852
- }, "strip", z.ZodTypeAny, {
853
- targetSize: number;
854
- paddingFactor: number;
855
- }, {
856
- targetSize: number;
857
- paddingFactor: number;
858
- }>>;
859
- }, "strip", z.ZodTypeAny, {
860
- embedding?: {
861
- model: string;
862
- provider: "transformers-js" | "openai";
863
- } | undefined;
864
- chunking?: {
865
- targetSize: number;
866
- paddingFactor: number;
867
- } | undefined;
868
- }, {
869
- embedding?: {
870
- model: string;
871
- provider: "transformers-js" | "openai";
872
- } | undefined;
873
- chunking?: {
874
- targetSize: number;
875
- paddingFactor: number;
876
- } | undefined;
877
- }>>;
878
- stores: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
879
- db: z.ZodString;
880
- resources: z.ZodString;
881
- embedding: z.ZodOptional<z.ZodObject<{
882
- provider: z.ZodEnum<["transformers-js", "openai"]>;
883
- model: z.ZodString;
884
- }, "strip", z.ZodTypeAny, {
885
- model: string;
886
- provider: "transformers-js" | "openai";
887
- }, {
888
- model: string;
889
- provider: "transformers-js" | "openai";
890
- }>>;
891
- chunking: z.ZodOptional<z.ZodObject<{
892
- targetSize: z.ZodNumber;
893
- paddingFactor: z.ZodNumber;
894
- }, "strip", z.ZodTypeAny, {
895
- targetSize: number;
896
- paddingFactor: number;
897
- }, {
898
- targetSize: number;
899
- paddingFactor: number;
900
- }>>;
901
- }, "strip", z.ZodTypeAny, {
902
- db: string;
903
- resources: string;
904
- embedding?: {
905
- model: string;
906
- provider: "transformers-js" | "openai";
907
- } | undefined;
908
- chunking?: {
909
- targetSize: number;
910
- paddingFactor: number;
911
- } | undefined;
912
- }, {
913
- db: string;
914
- resources: string;
915
- embedding?: {
916
- model: string;
917
- provider: "transformers-js" | "openai";
918
- } | undefined;
919
- chunking?: {
920
- targetSize: number;
921
- paddingFactor: number;
922
- } | undefined;
923
- }>>>;
924
- }, "strip", z.ZodTypeAny, {
925
- defaults?: {
926
- embedding?: {
927
- model: string;
928
- provider: "transformers-js" | "openai";
929
- } | undefined;
930
- chunking?: {
931
- targetSize: number;
932
- paddingFactor: number;
933
- } | undefined;
934
- } | undefined;
935
- stores?: Record<string, {
936
- db: string;
937
- resources: string;
938
- embedding?: {
939
- model: string;
940
- provider: "transformers-js" | "openai";
941
- } | undefined;
942
- chunking?: {
943
- targetSize: number;
944
- paddingFactor: number;
945
- } | undefined;
946
- }> | undefined;
947
- }, {
948
- defaults?: {
949
- embedding?: {
950
- model: string;
951
- provider: "transformers-js" | "openai";
952
- } | undefined;
953
- chunking?: {
954
- targetSize: number;
955
- paddingFactor: number;
956
- } | undefined;
957
- } | undefined;
958
- stores?: Record<string, {
959
- db: string;
960
- resources: string;
961
- embedding?: {
962
- model: string;
963
- provider: "transformers-js" | "openai";
964
- } | undefined;
965
- chunking?: {
966
- targetSize: number;
967
- paddingFactor: number;
968
- } | undefined;
969
- }> | undefined;
970
- }>>;
971
- }, "strict", z.ZodTypeAny, {
972
- version: 1;
973
- agents?: {
974
- include: string[];
975
- exclude?: string[] | undefined;
976
- external?: string[] | undefined;
977
- } | undefined;
978
- resources?: {
979
- metadata?: {
980
- frontmatter?: boolean | undefined;
981
- inference?: {
982
- type?: "none" | "by-directory" | "by-filename" | undefined;
983
- tags?: "none" | "by-directory" | "by-heading" | undefined;
984
- } | undefined;
985
- defaults?: {
986
- type?: string | undefined;
987
- tags?: string[] | undefined;
988
- } | undefined;
989
- } | undefined;
990
- validation?: {
991
- checkLinks?: boolean | undefined;
992
- checkAnchors?: boolean | undefined;
993
- allowExternal?: boolean | undefined;
994
- } | undefined;
995
- include?: string[] | undefined;
996
- exclude?: string[] | undefined;
997
- collections?: Record<string, {
998
- include: string[];
999
- metadata?: {
1000
- frontmatter?: boolean | undefined;
1001
- inference?: {
1002
- type?: "none" | "by-directory" | "by-filename" | undefined;
1003
- tags?: "none" | "by-directory" | "by-heading" | undefined;
1004
- } | undefined;
1005
- defaults?: {
1006
- type?: string | undefined;
1007
- tags?: string[] | undefined;
1008
- } | undefined;
1009
- } | undefined;
1010
- validation?: {
1011
- frontmatterSchema?: string | undefined;
1012
- mode?: "strict" | "permissive" | undefined;
1013
- } | undefined;
1014
- exclude?: string[] | undefined;
1015
- }> | undefined;
1016
- } | undefined;
1017
- rag?: {
1018
- defaults?: {
1019
- embedding?: {
1020
- model: string;
1021
- provider: "transformers-js" | "openai";
1022
- } | undefined;
1023
- chunking?: {
1024
- targetSize: number;
1025
- paddingFactor: number;
1026
- } | undefined;
1027
- } | undefined;
1028
- stores?: Record<string, {
1029
- db: string;
1030
- resources: string;
1031
- embedding?: {
1032
- model: string;
1033
- provider: "transformers-js" | "openai";
1034
- } | undefined;
1035
- chunking?: {
1036
- targetSize: number;
1037
- paddingFactor: number;
1038
- } | undefined;
1039
- }> | undefined;
1040
- } | undefined;
1041
- }, {
1042
- version: 1;
1043
- agents?: {
1044
- include: string[];
1045
- exclude?: string[] | undefined;
1046
- external?: string[] | undefined;
1047
- } | undefined;
1048
- resources?: {
1049
- metadata?: {
1050
- frontmatter?: boolean | undefined;
1051
- inference?: {
1052
- type?: "none" | "by-directory" | "by-filename" | undefined;
1053
- tags?: "none" | "by-directory" | "by-heading" | undefined;
1054
- } | undefined;
1055
- defaults?: {
1056
- type?: string | undefined;
1057
- tags?: string[] | undefined;
1058
- } | undefined;
1059
- } | undefined;
1060
- validation?: {
1061
- checkLinks?: boolean | undefined;
1062
- checkAnchors?: boolean | undefined;
1063
- allowExternal?: boolean | undefined;
1064
- } | undefined;
1065
- include?: string[] | undefined;
1066
- exclude?: string[] | undefined;
1067
- collections?: Record<string, {
1068
- include: string[];
1069
- metadata?: {
1070
- frontmatter?: boolean | undefined;
1071
- inference?: {
1072
- type?: "none" | "by-directory" | "by-filename" | undefined;
1073
- tags?: "none" | "by-directory" | "by-heading" | undefined;
1074
- } | undefined;
1075
- defaults?: {
1076
- type?: string | undefined;
1077
- tags?: string[] | undefined;
1078
- } | undefined;
1079
- } | undefined;
1080
- validation?: {
1081
- frontmatterSchema?: string | undefined;
1082
- mode?: "strict" | "permissive" | undefined;
1083
- } | undefined;
1084
- exclude?: string[] | undefined;
1085
- }> | undefined;
1086
- } | undefined;
1087
- rag?: {
1088
- defaults?: {
1089
- embedding?: {
1090
- model: string;
1091
- provider: "transformers-js" | "openai";
1092
- } | undefined;
1093
- chunking?: {
1094
- targetSize: number;
1095
- paddingFactor: number;
1096
- } | undefined;
1097
- } | undefined;
1098
- stores?: Record<string, {
1099
- db: string;
1100
- resources: string;
1101
- embedding?: {
1102
- model: string;
1103
- provider: "transformers-js" | "openai";
1104
- } | undefined;
1105
- chunking?: {
1106
- targetSize: number;
1107
- paddingFactor: number;
1108
- } | undefined;
1109
- }> | undefined;
1110
- } | undefined;
1111
- }>;
1112
- export type MetadataConfig = z.infer<typeof MetadataConfigSchema>;
1113
- export type ResourceCollection = z.infer<typeof ResourceCollectionSchema>;
1114
- export type ResourcesConfig = z.infer<typeof ResourcesConfigSchema>;
1115
- export type AgentsConfig = z.infer<typeof AgentsConfigSchema>;
1116
- export type RAGEmbeddingConfig = z.infer<typeof RAGEmbeddingConfigSchema>;
1117
- export type RAGChunkingConfig = z.infer<typeof RAGChunkingConfigSchema>;
1118
- export type RAGStore = z.infer<typeof RAGStoreSchema>;
1119
- export type RAGConfig = z.infer<typeof RAGConfigSchema>;
1120
- export type ProjectConfig = z.infer<typeof ProjectConfigSchema>;
1121
- export declare const DEFAULT_CONFIG: ProjectConfig;
1122
- //# sourceMappingURL=config.d.ts.map