@adkinn/astro-ai-readiness 0.0.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 (37) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +285 -0
  3. package/dist/chunk-36CGBNB5.js +104 -0
  4. package/dist/chunk-BDGAXJOB.js +42 -0
  5. package/dist/chunk-CADNETPK.js +48 -0
  6. package/dist/chunk-CO2DB4IE.js +141 -0
  7. package/dist/chunk-THSVWYUX.js +42 -0
  8. package/dist/chunk-V22PCH7G.js +26 -0
  9. package/dist/chunk-WP6D4L7O.js +48 -0
  10. package/dist/components/BreadcrumbSchema.astro +22 -0
  11. package/dist/components/CollectionSchema.astro +24 -0
  12. package/dist/components/FAQPageSchema.astro +24 -0
  13. package/dist/components/OrganizationSchema.astro +33 -0
  14. package/dist/components/TechArticleSchema.astro +88 -0
  15. package/dist/components/WebSiteSchema.astro +16 -0
  16. package/dist/components/index.d.ts +7 -0
  17. package/dist/components/index.js +15 -0
  18. package/dist/components/types.d.ts +55 -0
  19. package/dist/components/types.js +0 -0
  20. package/dist/config.d.ts +1044 -0
  21. package/dist/config.js +6 -0
  22. package/dist/index.d.ts +8 -0
  23. package/dist/index.js +103 -0
  24. package/dist/outputs/agents-md.d.ts +19 -0
  25. package/dist/outputs/agents-md.js +9 -0
  26. package/dist/outputs/llms-full.d.ts +18 -0
  27. package/dist/outputs/llms-full.js +9 -0
  28. package/dist/outputs/llms-txt.d.ts +19 -0
  29. package/dist/outputs/llms-txt.js +9 -0
  30. package/dist/outputs/mcp-json.d.ts +21 -0
  31. package/dist/outputs/mcp-json.js +9 -0
  32. package/dist/outputs/robots-txt.d.ts +20 -0
  33. package/dist/outputs/robots-txt.js +9 -0
  34. package/dist/utils/json-ld.d.ts +26 -0
  35. package/dist/utils/json-ld.js +7 -0
  36. package/package.json +76 -0
  37. package/schemas/mcp/v1.json +63 -0
@@ -0,0 +1,1044 @@
1
+ import { z } from 'zod';
2
+
3
+ /**
4
+ * Zod schema and inferred TypeScript types for the `aiReadiness({...})` config.
5
+ *
6
+ * @internal
7
+ * The `aiReadinessConfigSchema` itself is internal — consumers configure the
8
+ * integration via the default export (`aiReadiness`) and import inferred
9
+ * types via the package barrel:
10
+ * `import type { AiReadinessConfig, LlmsTxtConfig, ... } from '@adkinn/astro-ai-readiness'`
11
+ * The `/config` subpath is intentionally not exposed in `package.json.exports`
12
+ * — deep-importing `@adkinn/astro-ai-readiness/config` will fail with
13
+ * `ERR_PACKAGE_PATH_NOT_EXPORTED`. The compiled `dist/config.{js,d.ts}` ships
14
+ * so internal relative imports (`../config`, `./config`) from `outputs/*` and
15
+ * `index.ts` resolve at runtime; the barrel is the public surface. Same
16
+ * pattern as `src/utils/json-ld.ts` and `src/components/types.ts`.
17
+ */
18
+
19
+ declare const founderSchema: z.ZodObject<{
20
+ name: z.ZodString;
21
+ jobTitle: z.ZodOptional<z.ZodString>;
22
+ description: z.ZodOptional<z.ZodString>;
23
+ sameAs: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
24
+ }, "strip", z.ZodTypeAny, {
25
+ name: string;
26
+ jobTitle?: string | undefined;
27
+ description?: string | undefined;
28
+ sameAs?: string[] | undefined;
29
+ }, {
30
+ name: string;
31
+ jobTitle?: string | undefined;
32
+ description?: string | undefined;
33
+ sameAs?: string[] | undefined;
34
+ }>;
35
+ declare const organizationSchema: z.ZodObject<{
36
+ name: z.ZodString;
37
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
38
+ logo: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
39
+ founder: z.ZodOptional<z.ZodObject<{
40
+ name: z.ZodString;
41
+ jobTitle: z.ZodOptional<z.ZodString>;
42
+ description: z.ZodOptional<z.ZodString>;
43
+ sameAs: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
44
+ }, "strip", z.ZodTypeAny, {
45
+ name: string;
46
+ jobTitle?: string | undefined;
47
+ description?: string | undefined;
48
+ sameAs?: string[] | undefined;
49
+ }, {
50
+ name: string;
51
+ jobTitle?: string | undefined;
52
+ description?: string | undefined;
53
+ sameAs?: string[] | undefined;
54
+ }>>;
55
+ foundingDate: z.ZodOptional<z.ZodString>;
56
+ knowsAbout: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
57
+ areaServed: z.ZodOptional<z.ZodString>;
58
+ }, "strict", z.ZodTypeAny, {
59
+ name: string;
60
+ url?: string | undefined;
61
+ logo?: string | undefined;
62
+ founder?: {
63
+ name: string;
64
+ jobTitle?: string | undefined;
65
+ description?: string | undefined;
66
+ sameAs?: string[] | undefined;
67
+ } | undefined;
68
+ foundingDate?: string | undefined;
69
+ knowsAbout?: string[] | undefined;
70
+ areaServed?: string | undefined;
71
+ }, {
72
+ name: string;
73
+ url?: string | undefined;
74
+ logo?: string | undefined;
75
+ founder?: {
76
+ name: string;
77
+ jobTitle?: string | undefined;
78
+ description?: string | undefined;
79
+ sameAs?: string[] | undefined;
80
+ } | undefined;
81
+ foundingDate?: string | undefined;
82
+ knowsAbout?: string[] | undefined;
83
+ areaServed?: string | undefined;
84
+ }>;
85
+ declare const webSiteSchema: z.ZodObject<{
86
+ name: z.ZodOptional<z.ZodString>;
87
+ description: z.ZodOptional<z.ZodString>;
88
+ }, "strict", z.ZodTypeAny, {
89
+ name?: string | undefined;
90
+ description?: string | undefined;
91
+ }, {
92
+ name?: string | undefined;
93
+ description?: string | undefined;
94
+ }>;
95
+ declare const llmsTxtSchema: z.ZodObject<{
96
+ summary: z.ZodEffects<z.ZodString, string, string>;
97
+ body: z.ZodOptional<z.ZodString>;
98
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
99
+ title: z.ZodString;
100
+ links: z.ZodArray<z.ZodObject<{
101
+ title: z.ZodString;
102
+ url: z.ZodEffects<z.ZodString, string, string>;
103
+ description: z.ZodOptional<z.ZodString>;
104
+ }, "strict", z.ZodTypeAny, {
105
+ url: string;
106
+ title: string;
107
+ description?: string | undefined;
108
+ }, {
109
+ url: string;
110
+ title: string;
111
+ description?: string | undefined;
112
+ }>, "many">;
113
+ }, "strict", z.ZodTypeAny, {
114
+ title: string;
115
+ links: {
116
+ url: string;
117
+ title: string;
118
+ description?: string | undefined;
119
+ }[];
120
+ }, {
121
+ title: string;
122
+ links: {
123
+ url: string;
124
+ title: string;
125
+ description?: string | undefined;
126
+ }[];
127
+ }>, "many">>;
128
+ deferTo: z.ZodOptional<z.ZodObject<{
129
+ title: z.ZodString;
130
+ url: z.ZodEffects<z.ZodString, string, string>;
131
+ }, "strict", z.ZodTypeAny, {
132
+ url: string;
133
+ title: string;
134
+ }, {
135
+ url: string;
136
+ title: string;
137
+ }>>;
138
+ }, "strict", z.ZodTypeAny, {
139
+ summary: string;
140
+ body?: string | undefined;
141
+ sections?: {
142
+ title: string;
143
+ links: {
144
+ url: string;
145
+ title: string;
146
+ description?: string | undefined;
147
+ }[];
148
+ }[] | undefined;
149
+ deferTo?: {
150
+ url: string;
151
+ title: string;
152
+ } | undefined;
153
+ }, {
154
+ summary: string;
155
+ body?: string | undefined;
156
+ sections?: {
157
+ title: string;
158
+ links: {
159
+ url: string;
160
+ title: string;
161
+ description?: string | undefined;
162
+ }[];
163
+ }[] | undefined;
164
+ deferTo?: {
165
+ url: string;
166
+ title: string;
167
+ } | undefined;
168
+ }>;
169
+ declare const llmsFullSchema: z.ZodEffects<z.ZodObject<{
170
+ title: z.ZodOptional<z.ZodString>;
171
+ summary: z.ZodOptional<z.ZodString>;
172
+ content: z.ZodOptional<z.ZodString>;
173
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
174
+ title: z.ZodString;
175
+ content: z.ZodString;
176
+ }, "strict", z.ZodTypeAny, {
177
+ title: string;
178
+ content: string;
179
+ }, {
180
+ title: string;
181
+ content: string;
182
+ }>, "many">>;
183
+ }, "strict", z.ZodTypeAny, {
184
+ title?: string | undefined;
185
+ summary?: string | undefined;
186
+ sections?: {
187
+ title: string;
188
+ content: string;
189
+ }[] | undefined;
190
+ content?: string | undefined;
191
+ }, {
192
+ title?: string | undefined;
193
+ summary?: string | undefined;
194
+ sections?: {
195
+ title: string;
196
+ content: string;
197
+ }[] | undefined;
198
+ content?: string | undefined;
199
+ }>, {
200
+ title?: string | undefined;
201
+ summary?: string | undefined;
202
+ sections?: {
203
+ title: string;
204
+ content: string;
205
+ }[] | undefined;
206
+ content?: string | undefined;
207
+ }, {
208
+ title?: string | undefined;
209
+ summary?: string | undefined;
210
+ sections?: {
211
+ title: string;
212
+ content: string;
213
+ }[] | undefined;
214
+ content?: string | undefined;
215
+ }>;
216
+ declare const agentsMdSchema: z.ZodObject<{
217
+ description: z.ZodEffects<z.ZodString, string, string>;
218
+ audience: z.ZodOptional<z.ZodString>;
219
+ contact: z.ZodOptional<z.ZodString>;
220
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
221
+ title: z.ZodString;
222
+ url: z.ZodEffects<z.ZodString, string, string>;
223
+ description: z.ZodOptional<z.ZodString>;
224
+ }, "strict", z.ZodTypeAny, {
225
+ url: string;
226
+ title: string;
227
+ description?: string | undefined;
228
+ }, {
229
+ url: string;
230
+ title: string;
231
+ description?: string | undefined;
232
+ }>, "many">>;
233
+ }, "strict", z.ZodTypeAny, {
234
+ description: string;
235
+ links?: {
236
+ url: string;
237
+ title: string;
238
+ description?: string | undefined;
239
+ }[] | undefined;
240
+ audience?: string | undefined;
241
+ contact?: string | undefined;
242
+ }, {
243
+ description: string;
244
+ links?: {
245
+ url: string;
246
+ title: string;
247
+ description?: string | undefined;
248
+ }[] | undefined;
249
+ audience?: string | undefined;
250
+ contact?: string | undefined;
251
+ }>;
252
+ declare const mcpSchema: z.ZodObject<{
253
+ version: z.ZodOptional<z.ZodString>;
254
+ servers: z.ZodArray<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
255
+ status: z.ZodLiteral<"active">;
256
+ name: z.ZodString;
257
+ url: z.ZodString;
258
+ description: z.ZodString;
259
+ tools: z.ZodArray<z.ZodObject<{
260
+ name: z.ZodString;
261
+ description: z.ZodString;
262
+ }, "strict", z.ZodTypeAny, {
263
+ name: string;
264
+ description: string;
265
+ }, {
266
+ name: string;
267
+ description: string;
268
+ }>, "many">;
269
+ }, "strict", z.ZodTypeAny, {
270
+ name: string;
271
+ description: string;
272
+ status: "active";
273
+ url: string;
274
+ tools: {
275
+ name: string;
276
+ description: string;
277
+ }[];
278
+ }, {
279
+ name: string;
280
+ description: string;
281
+ status: "active";
282
+ url: string;
283
+ tools: {
284
+ name: string;
285
+ description: string;
286
+ }[];
287
+ }>, z.ZodObject<{
288
+ status: z.ZodLiteral<"planned">;
289
+ name: z.ZodString;
290
+ description: z.ZodString;
291
+ planned_tools: z.ZodArray<z.ZodObject<{
292
+ name: z.ZodString;
293
+ description: z.ZodString;
294
+ }, "strict", z.ZodTypeAny, {
295
+ name: string;
296
+ description: string;
297
+ }, {
298
+ name: string;
299
+ description: string;
300
+ }>, "many">;
301
+ }, "strict", z.ZodTypeAny, {
302
+ name: string;
303
+ description: string;
304
+ status: "planned";
305
+ planned_tools: {
306
+ name: string;
307
+ description: string;
308
+ }[];
309
+ }, {
310
+ name: string;
311
+ description: string;
312
+ status: "planned";
313
+ planned_tools: {
314
+ name: string;
315
+ description: string;
316
+ }[];
317
+ }>]>, "many">;
318
+ }, "strict", z.ZodTypeAny, {
319
+ servers: ({
320
+ name: string;
321
+ description: string;
322
+ status: "active";
323
+ url: string;
324
+ tools: {
325
+ name: string;
326
+ description: string;
327
+ }[];
328
+ } | {
329
+ name: string;
330
+ description: string;
331
+ status: "planned";
332
+ planned_tools: {
333
+ name: string;
334
+ description: string;
335
+ }[];
336
+ })[];
337
+ version?: string | undefined;
338
+ }, {
339
+ servers: ({
340
+ name: string;
341
+ description: string;
342
+ status: "active";
343
+ url: string;
344
+ tools: {
345
+ name: string;
346
+ description: string;
347
+ }[];
348
+ } | {
349
+ name: string;
350
+ description: string;
351
+ status: "planned";
352
+ planned_tools: {
353
+ name: string;
354
+ description: string;
355
+ }[];
356
+ })[];
357
+ version?: string | undefined;
358
+ }>;
359
+ declare const robotsTxtSchema: z.ZodObject<{
360
+ policy: z.ZodOptional<z.ZodEnum<["search-visible", "training-opt-out", "private"]>>;
361
+ sitemap: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodLiteral<false>]>>;
362
+ contentSignals: z.ZodOptional<z.ZodObject<{
363
+ search: z.ZodOptional<z.ZodEnum<["yes", "no"]>>;
364
+ aiTrain: z.ZodOptional<z.ZodEnum<["yes", "no"]>>;
365
+ aiInput: z.ZodOptional<z.ZodEnum<["yes", "no"]>>;
366
+ }, "strict", z.ZodTypeAny, {
367
+ search?: "yes" | "no" | undefined;
368
+ aiTrain?: "yes" | "no" | undefined;
369
+ aiInput?: "yes" | "no" | undefined;
370
+ }, {
371
+ search?: "yes" | "no" | undefined;
372
+ aiTrain?: "yes" | "no" | undefined;
373
+ aiInput?: "yes" | "no" | undefined;
374
+ }>>;
375
+ rules: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
376
+ userAgent: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
377
+ allow: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
378
+ disallow: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
379
+ crawlDelay: z.ZodOptional<z.ZodNumber>;
380
+ comment: z.ZodOptional<z.ZodString>;
381
+ }, "strict", z.ZodTypeAny, {
382
+ userAgent: string | string[];
383
+ allow?: string[] | undefined;
384
+ disallow?: string[] | undefined;
385
+ crawlDelay?: number | undefined;
386
+ comment?: string | undefined;
387
+ }, {
388
+ userAgent: string | string[];
389
+ allow?: string[] | undefined;
390
+ disallow?: string[] | undefined;
391
+ crawlDelay?: number | undefined;
392
+ comment?: string | undefined;
393
+ }>, {
394
+ userAgent: string | string[];
395
+ allow?: string[] | undefined;
396
+ disallow?: string[] | undefined;
397
+ crawlDelay?: number | undefined;
398
+ comment?: string | undefined;
399
+ }, {
400
+ userAgent: string | string[];
401
+ allow?: string[] | undefined;
402
+ disallow?: string[] | undefined;
403
+ crawlDelay?: number | undefined;
404
+ comment?: string | undefined;
405
+ }>, "many">>;
406
+ additionalLines: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
407
+ }, "strict", z.ZodTypeAny, {
408
+ policy?: "search-visible" | "training-opt-out" | "private" | undefined;
409
+ sitemap?: string | false | undefined;
410
+ contentSignals?: {
411
+ search?: "yes" | "no" | undefined;
412
+ aiTrain?: "yes" | "no" | undefined;
413
+ aiInput?: "yes" | "no" | undefined;
414
+ } | undefined;
415
+ rules?: {
416
+ userAgent: string | string[];
417
+ allow?: string[] | undefined;
418
+ disallow?: string[] | undefined;
419
+ crawlDelay?: number | undefined;
420
+ comment?: string | undefined;
421
+ }[] | undefined;
422
+ additionalLines?: string[] | undefined;
423
+ }, {
424
+ policy?: "search-visible" | "training-opt-out" | "private" | undefined;
425
+ sitemap?: string | false | undefined;
426
+ contentSignals?: {
427
+ search?: "yes" | "no" | undefined;
428
+ aiTrain?: "yes" | "no" | undefined;
429
+ aiInput?: "yes" | "no" | undefined;
430
+ } | undefined;
431
+ rules?: {
432
+ userAgent: string | string[];
433
+ allow?: string[] | undefined;
434
+ disallow?: string[] | undefined;
435
+ crawlDelay?: number | undefined;
436
+ comment?: string | undefined;
437
+ }[] | undefined;
438
+ additionalLines?: string[] | undefined;
439
+ }>;
440
+ declare const aiReadinessConfigSchema: z.ZodObject<{
441
+ site: z.ZodEffects<z.ZodString, string, string>;
442
+ organization: z.ZodObject<{
443
+ name: z.ZodString;
444
+ url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
445
+ logo: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
446
+ founder: z.ZodOptional<z.ZodObject<{
447
+ name: z.ZodString;
448
+ jobTitle: z.ZodOptional<z.ZodString>;
449
+ description: z.ZodOptional<z.ZodString>;
450
+ sameAs: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
451
+ }, "strip", z.ZodTypeAny, {
452
+ name: string;
453
+ jobTitle?: string | undefined;
454
+ description?: string | undefined;
455
+ sameAs?: string[] | undefined;
456
+ }, {
457
+ name: string;
458
+ jobTitle?: string | undefined;
459
+ description?: string | undefined;
460
+ sameAs?: string[] | undefined;
461
+ }>>;
462
+ foundingDate: z.ZodOptional<z.ZodString>;
463
+ knowsAbout: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
464
+ areaServed: z.ZodOptional<z.ZodString>;
465
+ }, "strict", z.ZodTypeAny, {
466
+ name: string;
467
+ url?: string | undefined;
468
+ logo?: string | undefined;
469
+ founder?: {
470
+ name: string;
471
+ jobTitle?: string | undefined;
472
+ description?: string | undefined;
473
+ sameAs?: string[] | undefined;
474
+ } | undefined;
475
+ foundingDate?: string | undefined;
476
+ knowsAbout?: string[] | undefined;
477
+ areaServed?: string | undefined;
478
+ }, {
479
+ name: string;
480
+ url?: string | undefined;
481
+ logo?: string | undefined;
482
+ founder?: {
483
+ name: string;
484
+ jobTitle?: string | undefined;
485
+ description?: string | undefined;
486
+ sameAs?: string[] | undefined;
487
+ } | undefined;
488
+ foundingDate?: string | undefined;
489
+ knowsAbout?: string[] | undefined;
490
+ areaServed?: string | undefined;
491
+ }>;
492
+ webSite: z.ZodOptional<z.ZodObject<{
493
+ name: z.ZodOptional<z.ZodString>;
494
+ description: z.ZodOptional<z.ZodString>;
495
+ }, "strict", z.ZodTypeAny, {
496
+ name?: string | undefined;
497
+ description?: string | undefined;
498
+ }, {
499
+ name?: string | undefined;
500
+ description?: string | undefined;
501
+ }>>;
502
+ llmsTxt: z.ZodOptional<z.ZodObject<{
503
+ summary: z.ZodEffects<z.ZodString, string, string>;
504
+ body: z.ZodOptional<z.ZodString>;
505
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
506
+ title: z.ZodString;
507
+ links: z.ZodArray<z.ZodObject<{
508
+ title: z.ZodString;
509
+ url: z.ZodEffects<z.ZodString, string, string>;
510
+ description: z.ZodOptional<z.ZodString>;
511
+ }, "strict", z.ZodTypeAny, {
512
+ url: string;
513
+ title: string;
514
+ description?: string | undefined;
515
+ }, {
516
+ url: string;
517
+ title: string;
518
+ description?: string | undefined;
519
+ }>, "many">;
520
+ }, "strict", z.ZodTypeAny, {
521
+ title: string;
522
+ links: {
523
+ url: string;
524
+ title: string;
525
+ description?: string | undefined;
526
+ }[];
527
+ }, {
528
+ title: string;
529
+ links: {
530
+ url: string;
531
+ title: string;
532
+ description?: string | undefined;
533
+ }[];
534
+ }>, "many">>;
535
+ deferTo: z.ZodOptional<z.ZodObject<{
536
+ title: z.ZodString;
537
+ url: z.ZodEffects<z.ZodString, string, string>;
538
+ }, "strict", z.ZodTypeAny, {
539
+ url: string;
540
+ title: string;
541
+ }, {
542
+ url: string;
543
+ title: string;
544
+ }>>;
545
+ }, "strict", z.ZodTypeAny, {
546
+ summary: string;
547
+ body?: string | undefined;
548
+ sections?: {
549
+ title: string;
550
+ links: {
551
+ url: string;
552
+ title: string;
553
+ description?: string | undefined;
554
+ }[];
555
+ }[] | undefined;
556
+ deferTo?: {
557
+ url: string;
558
+ title: string;
559
+ } | undefined;
560
+ }, {
561
+ summary: string;
562
+ body?: string | undefined;
563
+ sections?: {
564
+ title: string;
565
+ links: {
566
+ url: string;
567
+ title: string;
568
+ description?: string | undefined;
569
+ }[];
570
+ }[] | undefined;
571
+ deferTo?: {
572
+ url: string;
573
+ title: string;
574
+ } | undefined;
575
+ }>>;
576
+ llmsFull: z.ZodOptional<z.ZodEffects<z.ZodObject<{
577
+ title: z.ZodOptional<z.ZodString>;
578
+ summary: z.ZodOptional<z.ZodString>;
579
+ content: z.ZodOptional<z.ZodString>;
580
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
581
+ title: z.ZodString;
582
+ content: z.ZodString;
583
+ }, "strict", z.ZodTypeAny, {
584
+ title: string;
585
+ content: string;
586
+ }, {
587
+ title: string;
588
+ content: string;
589
+ }>, "many">>;
590
+ }, "strict", z.ZodTypeAny, {
591
+ title?: string | undefined;
592
+ summary?: string | undefined;
593
+ sections?: {
594
+ title: string;
595
+ content: string;
596
+ }[] | undefined;
597
+ content?: string | undefined;
598
+ }, {
599
+ title?: string | undefined;
600
+ summary?: string | undefined;
601
+ sections?: {
602
+ title: string;
603
+ content: string;
604
+ }[] | undefined;
605
+ content?: string | undefined;
606
+ }>, {
607
+ title?: string | undefined;
608
+ summary?: string | undefined;
609
+ sections?: {
610
+ title: string;
611
+ content: string;
612
+ }[] | undefined;
613
+ content?: string | undefined;
614
+ }, {
615
+ title?: string | undefined;
616
+ summary?: string | undefined;
617
+ sections?: {
618
+ title: string;
619
+ content: string;
620
+ }[] | undefined;
621
+ content?: string | undefined;
622
+ }>>;
623
+ agentsMd: z.ZodOptional<z.ZodObject<{
624
+ description: z.ZodEffects<z.ZodString, string, string>;
625
+ audience: z.ZodOptional<z.ZodString>;
626
+ contact: z.ZodOptional<z.ZodString>;
627
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
628
+ title: z.ZodString;
629
+ url: z.ZodEffects<z.ZodString, string, string>;
630
+ description: z.ZodOptional<z.ZodString>;
631
+ }, "strict", z.ZodTypeAny, {
632
+ url: string;
633
+ title: string;
634
+ description?: string | undefined;
635
+ }, {
636
+ url: string;
637
+ title: string;
638
+ description?: string | undefined;
639
+ }>, "many">>;
640
+ }, "strict", z.ZodTypeAny, {
641
+ description: string;
642
+ links?: {
643
+ url: string;
644
+ title: string;
645
+ description?: string | undefined;
646
+ }[] | undefined;
647
+ audience?: string | undefined;
648
+ contact?: string | undefined;
649
+ }, {
650
+ description: string;
651
+ links?: {
652
+ url: string;
653
+ title: string;
654
+ description?: string | undefined;
655
+ }[] | undefined;
656
+ audience?: string | undefined;
657
+ contact?: string | undefined;
658
+ }>>;
659
+ mcp: z.ZodOptional<z.ZodObject<{
660
+ version: z.ZodOptional<z.ZodString>;
661
+ servers: z.ZodArray<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
662
+ status: z.ZodLiteral<"active">;
663
+ name: z.ZodString;
664
+ url: z.ZodString;
665
+ description: z.ZodString;
666
+ tools: z.ZodArray<z.ZodObject<{
667
+ name: z.ZodString;
668
+ description: z.ZodString;
669
+ }, "strict", z.ZodTypeAny, {
670
+ name: string;
671
+ description: string;
672
+ }, {
673
+ name: string;
674
+ description: string;
675
+ }>, "many">;
676
+ }, "strict", z.ZodTypeAny, {
677
+ name: string;
678
+ description: string;
679
+ status: "active";
680
+ url: string;
681
+ tools: {
682
+ name: string;
683
+ description: string;
684
+ }[];
685
+ }, {
686
+ name: string;
687
+ description: string;
688
+ status: "active";
689
+ url: string;
690
+ tools: {
691
+ name: string;
692
+ description: string;
693
+ }[];
694
+ }>, z.ZodObject<{
695
+ status: z.ZodLiteral<"planned">;
696
+ name: z.ZodString;
697
+ description: z.ZodString;
698
+ planned_tools: z.ZodArray<z.ZodObject<{
699
+ name: z.ZodString;
700
+ description: z.ZodString;
701
+ }, "strict", z.ZodTypeAny, {
702
+ name: string;
703
+ description: string;
704
+ }, {
705
+ name: string;
706
+ description: string;
707
+ }>, "many">;
708
+ }, "strict", z.ZodTypeAny, {
709
+ name: string;
710
+ description: string;
711
+ status: "planned";
712
+ planned_tools: {
713
+ name: string;
714
+ description: string;
715
+ }[];
716
+ }, {
717
+ name: string;
718
+ description: string;
719
+ status: "planned";
720
+ planned_tools: {
721
+ name: string;
722
+ description: string;
723
+ }[];
724
+ }>]>, "many">;
725
+ }, "strict", z.ZodTypeAny, {
726
+ servers: ({
727
+ name: string;
728
+ description: string;
729
+ status: "active";
730
+ url: string;
731
+ tools: {
732
+ name: string;
733
+ description: string;
734
+ }[];
735
+ } | {
736
+ name: string;
737
+ description: string;
738
+ status: "planned";
739
+ planned_tools: {
740
+ name: string;
741
+ description: string;
742
+ }[];
743
+ })[];
744
+ version?: string | undefined;
745
+ }, {
746
+ servers: ({
747
+ name: string;
748
+ description: string;
749
+ status: "active";
750
+ url: string;
751
+ tools: {
752
+ name: string;
753
+ description: string;
754
+ }[];
755
+ } | {
756
+ name: string;
757
+ description: string;
758
+ status: "planned";
759
+ planned_tools: {
760
+ name: string;
761
+ description: string;
762
+ }[];
763
+ })[];
764
+ version?: string | undefined;
765
+ }>>;
766
+ robotsTxt: z.ZodOptional<z.ZodObject<{
767
+ policy: z.ZodOptional<z.ZodEnum<["search-visible", "training-opt-out", "private"]>>;
768
+ sitemap: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodLiteral<false>]>>;
769
+ contentSignals: z.ZodOptional<z.ZodObject<{
770
+ search: z.ZodOptional<z.ZodEnum<["yes", "no"]>>;
771
+ aiTrain: z.ZodOptional<z.ZodEnum<["yes", "no"]>>;
772
+ aiInput: z.ZodOptional<z.ZodEnum<["yes", "no"]>>;
773
+ }, "strict", z.ZodTypeAny, {
774
+ search?: "yes" | "no" | undefined;
775
+ aiTrain?: "yes" | "no" | undefined;
776
+ aiInput?: "yes" | "no" | undefined;
777
+ }, {
778
+ search?: "yes" | "no" | undefined;
779
+ aiTrain?: "yes" | "no" | undefined;
780
+ aiInput?: "yes" | "no" | undefined;
781
+ }>>;
782
+ rules: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
783
+ userAgent: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
784
+ allow: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
785
+ disallow: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
786
+ crawlDelay: z.ZodOptional<z.ZodNumber>;
787
+ comment: z.ZodOptional<z.ZodString>;
788
+ }, "strict", z.ZodTypeAny, {
789
+ userAgent: string | string[];
790
+ allow?: string[] | undefined;
791
+ disallow?: string[] | undefined;
792
+ crawlDelay?: number | undefined;
793
+ comment?: string | undefined;
794
+ }, {
795
+ userAgent: string | string[];
796
+ allow?: string[] | undefined;
797
+ disallow?: string[] | undefined;
798
+ crawlDelay?: number | undefined;
799
+ comment?: string | undefined;
800
+ }>, {
801
+ userAgent: string | string[];
802
+ allow?: string[] | undefined;
803
+ disallow?: string[] | undefined;
804
+ crawlDelay?: number | undefined;
805
+ comment?: string | undefined;
806
+ }, {
807
+ userAgent: string | string[];
808
+ allow?: string[] | undefined;
809
+ disallow?: string[] | undefined;
810
+ crawlDelay?: number | undefined;
811
+ comment?: string | undefined;
812
+ }>, "many">>;
813
+ additionalLines: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
814
+ }, "strict", z.ZodTypeAny, {
815
+ policy?: "search-visible" | "training-opt-out" | "private" | undefined;
816
+ sitemap?: string | false | undefined;
817
+ contentSignals?: {
818
+ search?: "yes" | "no" | undefined;
819
+ aiTrain?: "yes" | "no" | undefined;
820
+ aiInput?: "yes" | "no" | undefined;
821
+ } | undefined;
822
+ rules?: {
823
+ userAgent: string | string[];
824
+ allow?: string[] | undefined;
825
+ disallow?: string[] | undefined;
826
+ crawlDelay?: number | undefined;
827
+ comment?: string | undefined;
828
+ }[] | undefined;
829
+ additionalLines?: string[] | undefined;
830
+ }, {
831
+ policy?: "search-visible" | "training-opt-out" | "private" | undefined;
832
+ sitemap?: string | false | undefined;
833
+ contentSignals?: {
834
+ search?: "yes" | "no" | undefined;
835
+ aiTrain?: "yes" | "no" | undefined;
836
+ aiInput?: "yes" | "no" | undefined;
837
+ } | undefined;
838
+ rules?: {
839
+ userAgent: string | string[];
840
+ allow?: string[] | undefined;
841
+ disallow?: string[] | undefined;
842
+ crawlDelay?: number | undefined;
843
+ comment?: string | undefined;
844
+ }[] | undefined;
845
+ additionalLines?: string[] | undefined;
846
+ }>>;
847
+ }, "strict", z.ZodTypeAny, {
848
+ site: string;
849
+ organization: {
850
+ name: string;
851
+ url?: string | undefined;
852
+ logo?: string | undefined;
853
+ founder?: {
854
+ name: string;
855
+ jobTitle?: string | undefined;
856
+ description?: string | undefined;
857
+ sameAs?: string[] | undefined;
858
+ } | undefined;
859
+ foundingDate?: string | undefined;
860
+ knowsAbout?: string[] | undefined;
861
+ areaServed?: string | undefined;
862
+ };
863
+ webSite?: {
864
+ name?: string | undefined;
865
+ description?: string | undefined;
866
+ } | undefined;
867
+ llmsTxt?: {
868
+ summary: string;
869
+ body?: string | undefined;
870
+ sections?: {
871
+ title: string;
872
+ links: {
873
+ url: string;
874
+ title: string;
875
+ description?: string | undefined;
876
+ }[];
877
+ }[] | undefined;
878
+ deferTo?: {
879
+ url: string;
880
+ title: string;
881
+ } | undefined;
882
+ } | undefined;
883
+ llmsFull?: {
884
+ title?: string | undefined;
885
+ summary?: string | undefined;
886
+ sections?: {
887
+ title: string;
888
+ content: string;
889
+ }[] | undefined;
890
+ content?: string | undefined;
891
+ } | undefined;
892
+ agentsMd?: {
893
+ description: string;
894
+ links?: {
895
+ url: string;
896
+ title: string;
897
+ description?: string | undefined;
898
+ }[] | undefined;
899
+ audience?: string | undefined;
900
+ contact?: string | undefined;
901
+ } | undefined;
902
+ mcp?: {
903
+ servers: ({
904
+ name: string;
905
+ description: string;
906
+ status: "active";
907
+ url: string;
908
+ tools: {
909
+ name: string;
910
+ description: string;
911
+ }[];
912
+ } | {
913
+ name: string;
914
+ description: string;
915
+ status: "planned";
916
+ planned_tools: {
917
+ name: string;
918
+ description: string;
919
+ }[];
920
+ })[];
921
+ version?: string | undefined;
922
+ } | undefined;
923
+ robotsTxt?: {
924
+ policy?: "search-visible" | "training-opt-out" | "private" | undefined;
925
+ sitemap?: string | false | undefined;
926
+ contentSignals?: {
927
+ search?: "yes" | "no" | undefined;
928
+ aiTrain?: "yes" | "no" | undefined;
929
+ aiInput?: "yes" | "no" | undefined;
930
+ } | undefined;
931
+ rules?: {
932
+ userAgent: string | string[];
933
+ allow?: string[] | undefined;
934
+ disallow?: string[] | undefined;
935
+ crawlDelay?: number | undefined;
936
+ comment?: string | undefined;
937
+ }[] | undefined;
938
+ additionalLines?: string[] | undefined;
939
+ } | undefined;
940
+ }, {
941
+ site: string;
942
+ organization: {
943
+ name: string;
944
+ url?: string | undefined;
945
+ logo?: string | undefined;
946
+ founder?: {
947
+ name: string;
948
+ jobTitle?: string | undefined;
949
+ description?: string | undefined;
950
+ sameAs?: string[] | undefined;
951
+ } | undefined;
952
+ foundingDate?: string | undefined;
953
+ knowsAbout?: string[] | undefined;
954
+ areaServed?: string | undefined;
955
+ };
956
+ webSite?: {
957
+ name?: string | undefined;
958
+ description?: string | undefined;
959
+ } | undefined;
960
+ llmsTxt?: {
961
+ summary: string;
962
+ body?: string | undefined;
963
+ sections?: {
964
+ title: string;
965
+ links: {
966
+ url: string;
967
+ title: string;
968
+ description?: string | undefined;
969
+ }[];
970
+ }[] | undefined;
971
+ deferTo?: {
972
+ url: string;
973
+ title: string;
974
+ } | undefined;
975
+ } | undefined;
976
+ llmsFull?: {
977
+ title?: string | undefined;
978
+ summary?: string | undefined;
979
+ sections?: {
980
+ title: string;
981
+ content: string;
982
+ }[] | undefined;
983
+ content?: string | undefined;
984
+ } | undefined;
985
+ agentsMd?: {
986
+ description: string;
987
+ links?: {
988
+ url: string;
989
+ title: string;
990
+ description?: string | undefined;
991
+ }[] | undefined;
992
+ audience?: string | undefined;
993
+ contact?: string | undefined;
994
+ } | undefined;
995
+ mcp?: {
996
+ servers: ({
997
+ name: string;
998
+ description: string;
999
+ status: "active";
1000
+ url: string;
1001
+ tools: {
1002
+ name: string;
1003
+ description: string;
1004
+ }[];
1005
+ } | {
1006
+ name: string;
1007
+ description: string;
1008
+ status: "planned";
1009
+ planned_tools: {
1010
+ name: string;
1011
+ description: string;
1012
+ }[];
1013
+ })[];
1014
+ version?: string | undefined;
1015
+ } | undefined;
1016
+ robotsTxt?: {
1017
+ policy?: "search-visible" | "training-opt-out" | "private" | undefined;
1018
+ sitemap?: string | false | undefined;
1019
+ contentSignals?: {
1020
+ search?: "yes" | "no" | undefined;
1021
+ aiTrain?: "yes" | "no" | undefined;
1022
+ aiInput?: "yes" | "no" | undefined;
1023
+ } | undefined;
1024
+ rules?: {
1025
+ userAgent: string | string[];
1026
+ allow?: string[] | undefined;
1027
+ disallow?: string[] | undefined;
1028
+ crawlDelay?: number | undefined;
1029
+ comment?: string | undefined;
1030
+ }[] | undefined;
1031
+ additionalLines?: string[] | undefined;
1032
+ } | undefined;
1033
+ }>;
1034
+ type AiReadinessConfig = z.infer<typeof aiReadinessConfigSchema>;
1035
+ type OrganizationConfig = z.infer<typeof organizationSchema>;
1036
+ type FounderConfig = z.infer<typeof founderSchema>;
1037
+ type WebSiteConfig = z.infer<typeof webSiteSchema>;
1038
+ type LlmsTxtConfig = z.infer<typeof llmsTxtSchema>;
1039
+ type LlmsFullConfig = z.infer<typeof llmsFullSchema>;
1040
+ type AgentsMdConfig = z.infer<typeof agentsMdSchema>;
1041
+ type McpConfig = z.infer<typeof mcpSchema>;
1042
+ type RobotsTxtConfig = z.infer<typeof robotsTxtSchema>;
1043
+
1044
+ export { type AgentsMdConfig, type AiReadinessConfig, type FounderConfig, type LlmsFullConfig, type LlmsTxtConfig, type McpConfig, type OrganizationConfig, type RobotsTxtConfig, type WebSiteConfig, aiReadinessConfigSchema };