@adkinn/astro-ai-readiness 0.0.9 → 0.0.10

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.
package/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  > AI Readiness toolkit for Astro — eight JSON-LD helper components plus `dist/llms.txt`, `dist/llms-full.txt`, `dist/agents.md`, `dist/robots.txt`, and `dist/.well-known/mcp.json`.
4
4
 
5
- **Status:** v0.0.9 — app/product support. Adds a `<SoftwareApplicationSchema />` component (screenshots, feature list, offers), Organization `description` + `contactPoint`, `founder.url`, WebSite `inLanguage`, and custom `## sections` for `agents.md` — everything an app/product site needs at full fidelity.
5
+ **Status:** v0.0.10 — app/product support. A `<SoftwareApplicationSchema />` component (screenshots, feature list, offers), Organization `description` + `sameAs` + `contactPoint`, `founder.url`, WebSite `inLanguage`, and custom `## sections` for `agents.md` — everything an app/product site needs at full fidelity, proven on a real one.
6
6
 
7
- ## What ships in v0.0.9
7
+ ## What ships in v0.0.10
8
8
 
9
9
  **Eight JSON-LD components**:
10
10
  - `<OrganizationSchema />` — Organization block. Config-driven from `organization` (optional; now supports `description`, `contactPoint`, and `founder.url`); place in your `BaseLayout` so it ships site-wide and the `#organization` `@id` reference resolves on every page. Renders nothing if `organization` is unset.
@@ -290,7 +290,8 @@ The v0.1 line is content → artifacts: components and files. Build-time AI-read
290
290
 
291
291
  ## Shipped on
292
292
 
293
- - [adamkinney.com](https://adamkinney.com) — the reference implementation. Runs `OrganizationSchema` + `WebSiteSchema` site-wide and emits `dist/llms.txt` at <https://adamkinney.com/llms.txt> and `dist/agents.md` at <https://adamkinney.com/agents.md>.
293
+ - [adamkinney.com](https://adamkinney.com) — the personal-brand reference implementation. Person-first: runs `PersonSchema` + `WebSiteSchema` site-wide and emits `dist/llms.txt` at <https://adamkinney.com/llms.txt> and `dist/agents.md` at <https://adamkinney.com/agents.md>.
294
+ - [comicscry.com](https://comicscry.com) — the app/product reference implementation (Astro 6 SSR, `@astrojs/cloudflare`). Runs `OrganizationSchema` + `WebSiteSchema` site-wide and `SoftwareApplicationSchema` + `FAQPageSchema` on the homepage, and emits `dist/llms.txt`, `dist/agents.md`, and `dist/robots.txt`. Drove the app/product features in v0.0.9–v0.0.10.
294
295
 
295
296
  ## Contributing
296
297
 
@@ -22,6 +22,7 @@ var organizationSchema = z.object({
22
22
  url: httpsUrl.optional(),
23
23
  logo: httpsUrl.optional(),
24
24
  description: z.string().optional(),
25
+ sameAs: z.array(httpsUrl).optional(),
25
26
  founder: founderSchema.optional(),
26
27
  foundingDate: z.string().optional(),
27
28
  knowsAbout: z.array(z.string()).optional(),
@@ -19,6 +19,7 @@ if (org) {
19
19
  if (org.url) orgLd.url = org.url
20
20
  if (org.logo) orgLd.logo = org.logo
21
21
  if (org.description) orgLd.description = org.description
22
+ if (org.sameAs && org.sameAs.length > 0) orgLd.sameAs = org.sameAs
22
23
  if (org.foundingDate) orgLd.foundingDate = org.foundingDate
23
24
  if (org.knowsAbout && org.knowsAbout.length > 0) orgLd.knowsAbout = org.knowsAbout
24
25
  if (org.areaServed) orgLd.areaServed = org.areaServed
package/dist/config.d.ts CHANGED
@@ -26,14 +26,14 @@ declare const founderSchema: z.ZodObject<{
26
26
  name: string;
27
27
  url?: string | undefined;
28
28
  description?: string | undefined;
29
- jobTitle?: string | undefined;
30
29
  sameAs?: string[] | undefined;
30
+ jobTitle?: string | undefined;
31
31
  }, {
32
32
  name: string;
33
33
  url?: string | undefined;
34
34
  description?: string | undefined;
35
- jobTitle?: string | undefined;
36
35
  sameAs?: string[] | undefined;
36
+ jobTitle?: string | undefined;
37
37
  }>;
38
38
  declare const contactPointSchema: z.ZodObject<{
39
39
  contactType: z.ZodString;
@@ -56,6 +56,7 @@ declare const organizationSchema: z.ZodObject<{
56
56
  url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
57
57
  logo: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
58
58
  description: z.ZodOptional<z.ZodString>;
59
+ sameAs: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
59
60
  founder: z.ZodOptional<z.ZodObject<{
60
61
  name: z.ZodString;
61
62
  jobTitle: z.ZodOptional<z.ZodString>;
@@ -66,14 +67,14 @@ declare const organizationSchema: z.ZodObject<{
66
67
  name: string;
67
68
  url?: string | undefined;
68
69
  description?: string | undefined;
69
- jobTitle?: string | undefined;
70
70
  sameAs?: string[] | undefined;
71
+ jobTitle?: string | undefined;
71
72
  }, {
72
73
  name: string;
73
74
  url?: string | undefined;
74
75
  description?: string | undefined;
75
- jobTitle?: string | undefined;
76
76
  sameAs?: string[] | undefined;
77
+ jobTitle?: string | undefined;
77
78
  }>>;
78
79
  foundingDate: z.ZodOptional<z.ZodString>;
79
80
  knowsAbout: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -99,12 +100,13 @@ declare const organizationSchema: z.ZodObject<{
99
100
  url?: string | undefined;
100
101
  logo?: string | undefined;
101
102
  description?: string | undefined;
103
+ sameAs?: string[] | undefined;
102
104
  founder?: {
103
105
  name: string;
104
106
  url?: string | undefined;
105
107
  description?: string | undefined;
106
- jobTitle?: string | undefined;
107
108
  sameAs?: string[] | undefined;
109
+ jobTitle?: string | undefined;
108
110
  } | undefined;
109
111
  foundingDate?: string | undefined;
110
112
  knowsAbout?: string[] | undefined;
@@ -120,12 +122,13 @@ declare const organizationSchema: z.ZodObject<{
120
122
  url?: string | undefined;
121
123
  logo?: string | undefined;
122
124
  description?: string | undefined;
125
+ sameAs?: string[] | undefined;
123
126
  founder?: {
124
127
  name: string;
125
128
  url?: string | undefined;
126
129
  description?: string | undefined;
127
- jobTitle?: string | undefined;
128
130
  sameAs?: string[] | undefined;
131
+ jobTitle?: string | undefined;
129
132
  } | undefined;
130
133
  foundingDate?: string | undefined;
131
134
  knowsAbout?: string[] | undefined;
@@ -149,16 +152,16 @@ declare const personSchema: z.ZodObject<{
149
152
  name: string;
150
153
  url?: string | undefined;
151
154
  description?: string | undefined;
152
- jobTitle?: string | undefined;
153
155
  sameAs?: string[] | undefined;
156
+ jobTitle?: string | undefined;
154
157
  knowsAbout?: string[] | undefined;
155
158
  image?: string | undefined;
156
159
  }, {
157
160
  name: string;
158
161
  url?: string | undefined;
159
162
  description?: string | undefined;
160
- jobTitle?: string | undefined;
161
163
  sameAs?: string[] | undefined;
164
+ jobTitle?: string | undefined;
162
165
  knowsAbout?: string[] | undefined;
163
166
  image?: string | undefined;
164
167
  }>;
@@ -628,6 +631,7 @@ declare const aiReadinessConfigSchema: z.ZodEffects<z.ZodObject<{
628
631
  url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
629
632
  logo: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
630
633
  description: z.ZodOptional<z.ZodString>;
634
+ sameAs: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
631
635
  founder: z.ZodOptional<z.ZodObject<{
632
636
  name: z.ZodString;
633
637
  jobTitle: z.ZodOptional<z.ZodString>;
@@ -638,14 +642,14 @@ declare const aiReadinessConfigSchema: z.ZodEffects<z.ZodObject<{
638
642
  name: string;
639
643
  url?: string | undefined;
640
644
  description?: string | undefined;
641
- jobTitle?: string | undefined;
642
645
  sameAs?: string[] | undefined;
646
+ jobTitle?: string | undefined;
643
647
  }, {
644
648
  name: string;
645
649
  url?: string | undefined;
646
650
  description?: string | undefined;
647
- jobTitle?: string | undefined;
648
651
  sameAs?: string[] | undefined;
652
+ jobTitle?: string | undefined;
649
653
  }>>;
650
654
  foundingDate: z.ZodOptional<z.ZodString>;
651
655
  knowsAbout: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -671,12 +675,13 @@ declare const aiReadinessConfigSchema: z.ZodEffects<z.ZodObject<{
671
675
  url?: string | undefined;
672
676
  logo?: string | undefined;
673
677
  description?: string | undefined;
678
+ sameAs?: string[] | undefined;
674
679
  founder?: {
675
680
  name: string;
676
681
  url?: string | undefined;
677
682
  description?: string | undefined;
678
- jobTitle?: string | undefined;
679
683
  sameAs?: string[] | undefined;
684
+ jobTitle?: string | undefined;
680
685
  } | undefined;
681
686
  foundingDate?: string | undefined;
682
687
  knowsAbout?: string[] | undefined;
@@ -692,12 +697,13 @@ declare const aiReadinessConfigSchema: z.ZodEffects<z.ZodObject<{
692
697
  url?: string | undefined;
693
698
  logo?: string | undefined;
694
699
  description?: string | undefined;
700
+ sameAs?: string[] | undefined;
695
701
  founder?: {
696
702
  name: string;
697
703
  url?: string | undefined;
698
704
  description?: string | undefined;
699
- jobTitle?: string | undefined;
700
705
  sameAs?: string[] | undefined;
706
+ jobTitle?: string | undefined;
701
707
  } | undefined;
702
708
  foundingDate?: string | undefined;
703
709
  knowsAbout?: string[] | undefined;
@@ -721,16 +727,16 @@ declare const aiReadinessConfigSchema: z.ZodEffects<z.ZodObject<{
721
727
  name: string;
722
728
  url?: string | undefined;
723
729
  description?: string | undefined;
724
- jobTitle?: string | undefined;
725
730
  sameAs?: string[] | undefined;
731
+ jobTitle?: string | undefined;
726
732
  knowsAbout?: string[] | undefined;
727
733
  image?: string | undefined;
728
734
  }, {
729
735
  name: string;
730
736
  url?: string | undefined;
731
737
  description?: string | undefined;
732
- jobTitle?: string | undefined;
733
738
  sameAs?: string[] | undefined;
739
+ jobTitle?: string | undefined;
734
740
  knowsAbout?: string[] | undefined;
735
741
  image?: string | undefined;
736
742
  }>>;
@@ -1200,12 +1206,13 @@ declare const aiReadinessConfigSchema: z.ZodEffects<z.ZodObject<{
1200
1206
  url?: string | undefined;
1201
1207
  logo?: string | undefined;
1202
1208
  description?: string | undefined;
1209
+ sameAs?: string[] | undefined;
1203
1210
  founder?: {
1204
1211
  name: string;
1205
1212
  url?: string | undefined;
1206
1213
  description?: string | undefined;
1207
- jobTitle?: string | undefined;
1208
1214
  sameAs?: string[] | undefined;
1215
+ jobTitle?: string | undefined;
1209
1216
  } | undefined;
1210
1217
  foundingDate?: string | undefined;
1211
1218
  knowsAbout?: string[] | undefined;
@@ -1221,8 +1228,8 @@ declare const aiReadinessConfigSchema: z.ZodEffects<z.ZodObject<{
1221
1228
  name: string;
1222
1229
  url?: string | undefined;
1223
1230
  description?: string | undefined;
1224
- jobTitle?: string | undefined;
1225
1231
  sameAs?: string[] | undefined;
1232
+ jobTitle?: string | undefined;
1226
1233
  knowsAbout?: string[] | undefined;
1227
1234
  image?: string | undefined;
1228
1235
  } | undefined;
@@ -1338,12 +1345,13 @@ declare const aiReadinessConfigSchema: z.ZodEffects<z.ZodObject<{
1338
1345
  url?: string | undefined;
1339
1346
  logo?: string | undefined;
1340
1347
  description?: string | undefined;
1348
+ sameAs?: string[] | undefined;
1341
1349
  founder?: {
1342
1350
  name: string;
1343
1351
  url?: string | undefined;
1344
1352
  description?: string | undefined;
1345
- jobTitle?: string | undefined;
1346
1353
  sameAs?: string[] | undefined;
1354
+ jobTitle?: string | undefined;
1347
1355
  } | undefined;
1348
1356
  foundingDate?: string | undefined;
1349
1357
  knowsAbout?: string[] | undefined;
@@ -1359,8 +1367,8 @@ declare const aiReadinessConfigSchema: z.ZodEffects<z.ZodObject<{
1359
1367
  name: string;
1360
1368
  url?: string | undefined;
1361
1369
  description?: string | undefined;
1362
- jobTitle?: string | undefined;
1363
1370
  sameAs?: string[] | undefined;
1371
+ jobTitle?: string | undefined;
1364
1372
  knowsAbout?: string[] | undefined;
1365
1373
  image?: string | undefined;
1366
1374
  } | undefined;
@@ -1476,12 +1484,13 @@ declare const aiReadinessConfigSchema: z.ZodEffects<z.ZodObject<{
1476
1484
  url?: string | undefined;
1477
1485
  logo?: string | undefined;
1478
1486
  description?: string | undefined;
1487
+ sameAs?: string[] | undefined;
1479
1488
  founder?: {
1480
1489
  name: string;
1481
1490
  url?: string | undefined;
1482
1491
  description?: string | undefined;
1483
- jobTitle?: string | undefined;
1484
1492
  sameAs?: string[] | undefined;
1493
+ jobTitle?: string | undefined;
1485
1494
  } | undefined;
1486
1495
  foundingDate?: string | undefined;
1487
1496
  knowsAbout?: string[] | undefined;
@@ -1497,8 +1506,8 @@ declare const aiReadinessConfigSchema: z.ZodEffects<z.ZodObject<{
1497
1506
  name: string;
1498
1507
  url?: string | undefined;
1499
1508
  description?: string | undefined;
1500
- jobTitle?: string | undefined;
1501
1509
  sameAs?: string[] | undefined;
1510
+ jobTitle?: string | undefined;
1502
1511
  knowsAbout?: string[] | undefined;
1503
1512
  image?: string | undefined;
1504
1513
  } | undefined;
@@ -1614,12 +1623,13 @@ declare const aiReadinessConfigSchema: z.ZodEffects<z.ZodObject<{
1614
1623
  url?: string | undefined;
1615
1624
  logo?: string | undefined;
1616
1625
  description?: string | undefined;
1626
+ sameAs?: string[] | undefined;
1617
1627
  founder?: {
1618
1628
  name: string;
1619
1629
  url?: string | undefined;
1620
1630
  description?: string | undefined;
1621
- jobTitle?: string | undefined;
1622
1631
  sameAs?: string[] | undefined;
1632
+ jobTitle?: string | undefined;
1623
1633
  } | undefined;
1624
1634
  foundingDate?: string | undefined;
1625
1635
  knowsAbout?: string[] | undefined;
@@ -1635,8 +1645,8 @@ declare const aiReadinessConfigSchema: z.ZodEffects<z.ZodObject<{
1635
1645
  name: string;
1636
1646
  url?: string | undefined;
1637
1647
  description?: string | undefined;
1638
- jobTitle?: string | undefined;
1639
1648
  sameAs?: string[] | undefined;
1649
+ jobTitle?: string | undefined;
1640
1650
  knowsAbout?: string[] | undefined;
1641
1651
  image?: string | undefined;
1642
1652
  } | undefined;
package/dist/config.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  aiReadinessConfigSchema
3
- } from "./chunk-XYQNZKKD.js";
3
+ } from "./chunk-HCEHM7EB.js";
4
4
  export {
5
5
  aiReadinessConfigSchema
6
6
  };
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-36CGBNB5.js";
7
7
  import {
8
8
  aiReadinessConfigSchema
9
- } from "./chunk-XYQNZKKD.js";
9
+ } from "./chunk-HCEHM7EB.js";
10
10
  import {
11
11
  writeLlmsTxt
12
12
  } from "./chunk-WYKIPW5J.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adkinn/astro-ai-readiness",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "AI Readiness toolkit for Astro — six JSON-LD components plus llms.txt, llms-full.txt, agents.md, robots.txt, and .well-known/mcp.json outputs.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",