@sonordev/site-kit 3.6.3 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. package/agent-manifest.json +1 -1
  2. package/dist/AnalyticsProvider-4KMGMQVD.js +31 -0
  3. package/dist/{AnalyticsProvider-ZJHOU5HI.js.map → AnalyticsProvider-4KMGMQVD.js.map} +1 -1
  4. package/dist/AnalyticsProvider-M4BFCRKM.mjs +10 -0
  5. package/dist/{AnalyticsProvider-X243YBPQ.mjs.map → AnalyticsProvider-M4BFCRKM.mjs.map} +1 -1
  6. package/dist/ChatWidget-I6YFEKW6.js +19 -0
  7. package/dist/{ChatWidget-NRQBBRLK.js.map → ChatWidget-I6YFEKW6.js.map} +1 -1
  8. package/dist/ChatWidget-IV3LIMLK.mjs +10 -0
  9. package/dist/{ChatWidget-L5E73JUY.mjs.map → ChatWidget-IV3LIMLK.mjs.map} +1 -1
  10. package/dist/EngageWidget-AWVB35ZM.mjs +9 -0
  11. package/dist/{EngageWidget-X7UIQUPC.mjs.map → EngageWidget-AWVB35ZM.mjs.map} +1 -1
  12. package/dist/EngageWidget-TQW76BUU.js +18 -0
  13. package/dist/{EngageWidget-HLBJE4ZB.js.map → EngageWidget-TQW76BUU.js.map} +1 -1
  14. package/dist/{SignalCore-G6MAO72R.mjs → SignalCore-4FUGFP5E.mjs} +5 -5
  15. package/dist/{SignalCore-G6MAO72R.mjs.map → SignalCore-4FUGFP5E.mjs.map} +1 -1
  16. package/dist/{SignalCore-CWDC45EQ.js → SignalCore-VX7ZL5HE.js} +11 -11
  17. package/dist/{SignalCore-CWDC45EQ.js.map → SignalCore-VX7ZL5HE.js.map} +1 -1
  18. package/dist/SitemapSync-CXDEUYM2.mjs +8 -0
  19. package/dist/{SitemapSync-QAMSDAF7.mjs.map → SitemapSync-CXDEUYM2.mjs.map} +1 -1
  20. package/dist/SitemapSync-XRH577AB.js +17 -0
  21. package/dist/{SitemapSync-FWWORZOF.js.map → SitemapSync-XRH577AB.js.map} +1 -1
  22. package/dist/analytics/index.js +12 -12
  23. package/dist/analytics/index.mjs +5 -5
  24. package/dist/blog/server-ui.js +6 -6
  25. package/dist/blog/server-ui.js.map +1 -1
  26. package/dist/blog/server-ui.mjs +5 -5
  27. package/dist/blog/server-ui.mjs.map +1 -1
  28. package/dist/blog/server.d.mts +20 -1
  29. package/dist/blog/server.d.ts +20 -1
  30. package/dist/blog/server.js +43 -39
  31. package/dist/blog/server.mjs +1 -1
  32. package/dist/{chunk-KYYSS5L7.mjs → chunk-2LQGFCEA.mjs} +3 -3
  33. package/dist/{chunk-KYYSS5L7.mjs.map → chunk-2LQGFCEA.mjs.map} +1 -1
  34. package/dist/{chunk-PVRE3PYC.js → chunk-2WMLHR72.js} +4 -4
  35. package/dist/{chunk-PVRE3PYC.js.map → chunk-2WMLHR72.js.map} +1 -1
  36. package/dist/{chunk-VZF3NFCY.js → chunk-5GJ6V7FI.js} +7 -7
  37. package/dist/{chunk-VZF3NFCY.js.map → chunk-5GJ6V7FI.js.map} +1 -1
  38. package/dist/{chunk-3MYZS6PD.js → chunk-77CIIDE6.js} +15 -3
  39. package/dist/chunk-77CIIDE6.js.map +1 -0
  40. package/dist/{chunk-WQXSILFH.mjs → chunk-7UKIAZ6E.mjs} +12 -5
  41. package/dist/chunk-7UKIAZ6E.mjs.map +1 -0
  42. package/dist/{chunk-FYCFUYPQ.js → chunk-A2FHTQGB.js} +3 -3
  43. package/dist/{chunk-FYCFUYPQ.js.map → chunk-A2FHTQGB.js.map} +1 -1
  44. package/dist/{chunk-ZQ2JTDPC.js → chunk-ATOUXWFR.js} +15 -15
  45. package/dist/{chunk-ZQ2JTDPC.js.map → chunk-ATOUXWFR.js.map} +1 -1
  46. package/dist/{chunk-T3ARA52J.js → chunk-BB2C5JUA.js} +4 -4
  47. package/dist/{chunk-T3ARA52J.js.map → chunk-BB2C5JUA.js.map} +1 -1
  48. package/dist/{chunk-VOYRWPE3.mjs → chunk-BVOUZL2S.mjs} +3 -3
  49. package/dist/{chunk-VOYRWPE3.mjs.map → chunk-BVOUZL2S.mjs.map} +1 -1
  50. package/dist/{chunk-OYT6SFLM.js → chunk-D4V37TBD.js} +5 -5
  51. package/dist/{chunk-OYT6SFLM.js.map → chunk-D4V37TBD.js.map} +1 -1
  52. package/dist/{chunk-6B3DEFHU.mjs → chunk-DGFHYNQY.mjs} +3 -3
  53. package/dist/{chunk-6B3DEFHU.mjs.map → chunk-DGFHYNQY.mjs.map} +1 -1
  54. package/dist/{chunk-KEGWCBLW.mjs → chunk-GH5RO5OW.mjs} +3 -3
  55. package/dist/{chunk-KEGWCBLW.mjs.map → chunk-GH5RO5OW.mjs.map} +1 -1
  56. package/dist/{chunk-XHJXIAAW.js → chunk-GSOLN2FC.js} +5 -5
  57. package/dist/{chunk-XHJXIAAW.js.map → chunk-GSOLN2FC.js.map} +1 -1
  58. package/dist/{chunk-ATG4FJY6.js → chunk-H6AU3WKF.js} +35 -3
  59. package/dist/chunk-H6AU3WKF.js.map +1 -0
  60. package/dist/{chunk-IJR3ATI5.mjs → chunk-HQB24QUN.mjs} +4 -4
  61. package/dist/{chunk-IJR3ATI5.mjs.map → chunk-HQB24QUN.mjs.map} +1 -1
  62. package/dist/{chunk-DEVPKGCD.mjs → chunk-HQJS7VWB.mjs} +3 -3
  63. package/dist/{chunk-DEVPKGCD.mjs.map → chunk-HQJS7VWB.mjs.map} +1 -1
  64. package/dist/{chunk-QR7CMR3W.js → chunk-I5KJ5YFU.js} +15 -15
  65. package/dist/{chunk-QR7CMR3W.js.map → chunk-I5KJ5YFU.js.map} +1 -1
  66. package/dist/chunk-JVT6CUNN.mjs +6 -0
  67. package/dist/{chunk-JYM4I57K.mjs.map → chunk-JVT6CUNN.mjs.map} +1 -1
  68. package/dist/{chunk-EDQXJFH2.mjs → chunk-JXN6OCFB.mjs} +3 -3
  69. package/dist/{chunk-EDQXJFH2.mjs.map → chunk-JXN6OCFB.mjs.map} +1 -1
  70. package/dist/chunk-JXT2WWXW.js +8 -0
  71. package/dist/{chunk-6ZDXUCAX.js.map → chunk-JXT2WWXW.js.map} +1 -1
  72. package/dist/{chunk-DCSNIU2V.js → chunk-MP6NHVHD.js} +6 -6
  73. package/dist/{chunk-DCSNIU2V.js.map → chunk-MP6NHVHD.js.map} +1 -1
  74. package/dist/{chunk-7KIXGDUP.js → chunk-MRVO3QO3.js} +22 -15
  75. package/dist/chunk-MRVO3QO3.js.map +1 -0
  76. package/dist/{chunk-O3WBS4VY.js → chunk-NEV2OEBF.js} +9 -9
  77. package/dist/{chunk-O3WBS4VY.js.map → chunk-NEV2OEBF.js.map} +1 -1
  78. package/dist/{chunk-2O2PZII5.mjs → chunk-OLQBP2JQ.mjs} +4 -4
  79. package/dist/{chunk-2O2PZII5.mjs.map → chunk-OLQBP2JQ.mjs.map} +1 -1
  80. package/dist/{chunk-6BIPAKL4.mjs → chunk-OVIDFJIK.mjs} +15 -4
  81. package/dist/chunk-OVIDFJIK.mjs.map +1 -0
  82. package/dist/{chunk-GUXB3QH7.mjs → chunk-PA7ENTUZ.mjs} +41 -9
  83. package/dist/chunk-PA7ENTUZ.mjs.map +1 -0
  84. package/dist/{chunk-PUH6YPZY.mjs → chunk-PEFC5T7R.mjs} +8 -8
  85. package/dist/{chunk-PUH6YPZY.mjs.map → chunk-PEFC5T7R.mjs.map} +1 -1
  86. package/dist/{chunk-H23ZT2I2.mjs → chunk-PENNTSJE.mjs} +35 -3
  87. package/dist/chunk-PENNTSJE.mjs.map +1 -0
  88. package/dist/{chunk-GR4YKNFX.js → chunk-Q6KS7FMY.js} +13 -13
  89. package/dist/{chunk-GR4YKNFX.js.map → chunk-Q6KS7FMY.js.map} +1 -1
  90. package/dist/{chunk-PHLJDLRA.mjs → chunk-R26NFTOR.mjs} +3 -3
  91. package/dist/{chunk-PHLJDLRA.mjs.map → chunk-R26NFTOR.mjs.map} +1 -1
  92. package/dist/{chunk-FJTER53S.mjs → chunk-RSFSXEV2.mjs} +4 -4
  93. package/dist/{chunk-FJTER53S.mjs.map → chunk-RSFSXEV2.mjs.map} +1 -1
  94. package/dist/{chunk-O4ILWMIB.js → chunk-S3J7MEOD.js} +8 -8
  95. package/dist/{chunk-O4ILWMIB.js.map → chunk-S3J7MEOD.js.map} +1 -1
  96. package/dist/{chunk-34IUDOBC.mjs → chunk-SP3MXF3A.mjs} +34 -5
  97. package/dist/chunk-SP3MXF3A.mjs.map +1 -0
  98. package/dist/{chunk-TYYTM4WC.js → chunk-TA6CENL3.js} +12 -12
  99. package/dist/{chunk-TYYTM4WC.js.map → chunk-TA6CENL3.js.map} +1 -1
  100. package/dist/{chunk-BS3P5PTY.mjs → chunk-TKP3YFNS.mjs} +3 -3
  101. package/dist/{chunk-BS3P5PTY.mjs.map → chunk-TKP3YFNS.mjs.map} +1 -1
  102. package/dist/{chunk-XAWB2HFQ.js → chunk-TMKLH6MY.js} +41 -8
  103. package/dist/chunk-TMKLH6MY.js.map +1 -0
  104. package/dist/{chunk-C7EVU7V7.js → chunk-ULY2QZWA.js} +4 -4
  105. package/dist/{chunk-C7EVU7V7.js.map → chunk-ULY2QZWA.js.map} +1 -1
  106. package/dist/{chunk-D74AZ6TM.js → chunk-V6CWHT6B.js} +9 -9
  107. package/dist/{chunk-D74AZ6TM.js.map → chunk-V6CWHT6B.js.map} +1 -1
  108. package/dist/{chunk-LSZ6CT6U.mjs → chunk-W5ZYM276.mjs} +3 -3
  109. package/dist/{chunk-LSZ6CT6U.mjs.map → chunk-W5ZYM276.mjs.map} +1 -1
  110. package/dist/{chunk-XS2COTTD.mjs → chunk-WYRUQCL4.mjs} +3 -3
  111. package/dist/{chunk-XS2COTTD.mjs.map → chunk-WYRUQCL4.mjs.map} +1 -1
  112. package/dist/{chunk-5OJ36D7M.js → chunk-XDQP4JQH.js} +14 -14
  113. package/dist/{chunk-5OJ36D7M.js.map → chunk-XDQP4JQH.js.map} +1 -1
  114. package/dist/{chunk-6T4NVCAT.js → chunk-XMBYDIV6.js} +40 -11
  115. package/dist/chunk-XMBYDIV6.js.map +1 -0
  116. package/dist/{chunk-FK342VJY.mjs → chunk-Y4V5TFHP.mjs} +4 -4
  117. package/dist/{chunk-FK342VJY.mjs.map → chunk-Y4V5TFHP.mjs.map} +1 -1
  118. package/dist/{chunk-EY2236OY.mjs → chunk-YUSX3NZA.mjs} +3 -3
  119. package/dist/{chunk-EY2236OY.mjs.map → chunk-YUSX3NZA.mjs.map} +1 -1
  120. package/dist/cli/index.js +2 -2
  121. package/dist/cli/index.mjs +1 -1
  122. package/dist/client/index.js +4 -4
  123. package/dist/client/index.mjs +3 -3
  124. package/dist/commerce/index.d.mts +1 -1
  125. package/dist/commerce/index.d.ts +1 -1
  126. package/dist/commerce/index.js +51 -51
  127. package/dist/commerce/index.mjs +6 -6
  128. package/dist/config/index.d.mts +1 -1
  129. package/dist/config/index.d.ts +1 -1
  130. package/dist/config/index.js +2 -2
  131. package/dist/config/index.mjs +1 -1
  132. package/dist/engage/index.js +9 -9
  133. package/dist/engage/index.mjs +6 -6
  134. package/dist/fleet/index.js +8 -8
  135. package/dist/fleet/index.mjs +4 -4
  136. package/dist/forms/index.js +13 -13
  137. package/dist/forms/index.mjs +5 -5
  138. package/dist/images/index.js +11 -11
  139. package/dist/images/index.mjs +4 -4
  140. package/dist/index.d.mts +1 -1
  141. package/dist/index.d.ts +1 -1
  142. package/dist/index.js +64 -64
  143. package/dist/index.mjs +10 -10
  144. package/dist/layout/client.js +8 -8
  145. package/dist/layout/client.mjs +7 -7
  146. package/dist/layout/index.js +10 -10
  147. package/dist/layout/index.mjs +8 -8
  148. package/dist/llms/contract.js +9 -9
  149. package/dist/llms/contract.mjs +1 -1
  150. package/dist/llms/index.d.mts +131 -40
  151. package/dist/llms/index.d.ts +131 -40
  152. package/dist/llms/index.js +125 -21
  153. package/dist/llms/index.js.map +1 -1
  154. package/dist/llms/index.mjs +102 -4
  155. package/dist/llms/index.mjs.map +1 -1
  156. package/dist/maps/index.js +5 -5
  157. package/dist/maps/index.mjs +3 -3
  158. package/dist/middleware/index.d.mts +2 -1
  159. package/dist/middleware/index.d.ts +2 -1
  160. package/dist/middleware/index.js +6 -2
  161. package/dist/middleware/index.js.map +1 -1
  162. package/dist/middleware/index.mjs +2 -1
  163. package/dist/middleware/index.mjs.map +1 -1
  164. package/dist/securityHeaders-CwsFdDcJ.d.mts +49 -0
  165. package/dist/securityHeaders-CwsFdDcJ.d.ts +49 -0
  166. package/dist/seo/client.js +5 -5
  167. package/dist/seo/client.mjs +4 -4
  168. package/dist/seo/index.js +7 -7
  169. package/dist/seo/index.mjs +5 -5
  170. package/dist/server/index.js +3 -3
  171. package/dist/server/index.mjs +2 -2
  172. package/dist/signal/index.js +11 -11
  173. package/dist/signal/index.mjs +2 -2
  174. package/dist/sitemap/index.d.mts +8 -1
  175. package/dist/sitemap/index.d.ts +8 -1
  176. package/dist/sitemap/index.js +5 -4
  177. package/dist/sitemap/index.js.map +1 -1
  178. package/dist/sitemap/index.mjs +4 -3
  179. package/dist/sitemap/index.mjs.map +1 -1
  180. package/dist/sync/index.js +16 -16
  181. package/dist/sync/index.mjs +4 -4
  182. package/dist/{useEventModal-qJfX_1XG.d.mts → useEventModal-DAAiArgM.d.mts} +9 -1
  183. package/dist/{useEventModal-CcxNZOvp.d.ts → useEventModal-ZQX19_4k.d.ts} +9 -1
  184. package/dist/{types-xcP_owwn.d.ts → writeLLMsTxt-BFaNr4re.d.ts} +53 -1
  185. package/dist/{types-DhCAWUmd.d.mts → writeLLMsTxt-SpMdyHQT.d.mts} +53 -1
  186. package/package.json +1 -1
  187. package/dist/AnalyticsProvider-X243YBPQ.mjs +0 -10
  188. package/dist/AnalyticsProvider-ZJHOU5HI.js +0 -31
  189. package/dist/ChatWidget-L5E73JUY.mjs +0 -10
  190. package/dist/ChatWidget-NRQBBRLK.js +0 -19
  191. package/dist/EngageWidget-HLBJE4ZB.js +0 -18
  192. package/dist/EngageWidget-X7UIQUPC.mjs +0 -9
  193. package/dist/SitemapSync-FWWORZOF.js +0 -17
  194. package/dist/SitemapSync-QAMSDAF7.mjs +0 -8
  195. package/dist/chunk-34IUDOBC.mjs.map +0 -1
  196. package/dist/chunk-3MYZS6PD.js.map +0 -1
  197. package/dist/chunk-6BIPAKL4.mjs.map +0 -1
  198. package/dist/chunk-6T4NVCAT.js.map +0 -1
  199. package/dist/chunk-6ZDXUCAX.js +0 -8
  200. package/dist/chunk-7KIXGDUP.js.map +0 -1
  201. package/dist/chunk-ATG4FJY6.js.map +0 -1
  202. package/dist/chunk-GUXB3QH7.mjs.map +0 -1
  203. package/dist/chunk-H23ZT2I2.mjs.map +0 -1
  204. package/dist/chunk-JYM4I57K.mjs +0 -6
  205. package/dist/chunk-WQXSILFH.mjs.map +0 -1
  206. package/dist/chunk-XAWB2HFQ.js.map +0 -1
  207. package/dist/securityHeaders-nwZ6nP4g.d.mts +0 -24
  208. package/dist/securityHeaders-nwZ6nP4g.d.ts +0 -24
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Default security headers applied by site-kit middleware.
3
+ *
4
+ * These match industry best practices and are the same headers
5
+ * recommended by Next.js documentation. All are opt-out.
6
+ */
7
+ /**
8
+ * Single source of truth for who may frame a site-kit site.
9
+ *
10
+ * Upforge showcases live client work inside iframes on its portfolio /
11
+ * area pages, so every managed marketing site has to be embeddable from
12
+ * upforge.io. `X-Frame-Options` cannot express an allowlist (`ALLOW-FROM`
13
+ * is dead and ignored by every current browser), so the CSP
14
+ * `frame-ancestors` directive is the only way to say "these origins and
15
+ * nobody else". Everything not listed here is still blocked.
16
+ *
17
+ * Do NOT re-fork this list into individual sites' middleware/next.config —
18
+ * add origins here and let the fleet inherit them.
19
+ */
20
+ declare const DEFAULT_FRAME_ANCESTORS: string[];
21
+ interface SecurityHeadersConfig {
22
+ /** X-Frame-Options value. false to disable. Default: omitted when
23
+ * `frameAncestors` is active (the two conflict), otherwise 'DENY'. */
24
+ frameOptions?: 'DENY' | 'SAMEORIGIN' | false;
25
+ /**
26
+ * Origins allowed to frame this site, emitted as a CSP `frame-ancestors`
27
+ * directive. Defaults to {@link DEFAULT_FRAME_ANCESTORS} ('self' + upforge.io)
28
+ * so Upforge can showcase the site. Pass an array to extend/replace, or
29
+ * `false` to opt out entirely and fall back to X-Frame-Options.
30
+ *
31
+ * Ignored if a `Content-Security-Policy` is supplied via `customHeaders` —
32
+ * that CSP wins, and must carry its own frame-ancestors directive.
33
+ */
34
+ frameAncestors?: string[] | false;
35
+ /** X-Content-Type-Options: nosniff. Default: true */
36
+ contentTypeOptions?: boolean;
37
+ /** X-XSS-Protection header. Default: true */
38
+ xssProtection?: boolean;
39
+ /** Referrer-Policy value. Default: 'strict-origin-when-cross-origin' */
40
+ referrerPolicy?: string;
41
+ /** Permissions-Policy value. Default restricts camera, microphone, geolocation */
42
+ permissionsPolicy?: string;
43
+ /** X-DNS-Prefetch-Control. Default: true (on) */
44
+ dnsPrefetchControl?: boolean;
45
+ /** Additional custom headers */
46
+ customHeaders?: Record<string, string>;
47
+ }
48
+
49
+ export { DEFAULT_FRAME_ANCESTORS as D, type SecurityHeadersConfig as S };
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Default security headers applied by site-kit middleware.
3
+ *
4
+ * These match industry best practices and are the same headers
5
+ * recommended by Next.js documentation. All are opt-out.
6
+ */
7
+ /**
8
+ * Single source of truth for who may frame a site-kit site.
9
+ *
10
+ * Upforge showcases live client work inside iframes on its portfolio /
11
+ * area pages, so every managed marketing site has to be embeddable from
12
+ * upforge.io. `X-Frame-Options` cannot express an allowlist (`ALLOW-FROM`
13
+ * is dead and ignored by every current browser), so the CSP
14
+ * `frame-ancestors` directive is the only way to say "these origins and
15
+ * nobody else". Everything not listed here is still blocked.
16
+ *
17
+ * Do NOT re-fork this list into individual sites' middleware/next.config —
18
+ * add origins here and let the fleet inherit them.
19
+ */
20
+ declare const DEFAULT_FRAME_ANCESTORS: string[];
21
+ interface SecurityHeadersConfig {
22
+ /** X-Frame-Options value. false to disable. Default: omitted when
23
+ * `frameAncestors` is active (the two conflict), otherwise 'DENY'. */
24
+ frameOptions?: 'DENY' | 'SAMEORIGIN' | false;
25
+ /**
26
+ * Origins allowed to frame this site, emitted as a CSP `frame-ancestors`
27
+ * directive. Defaults to {@link DEFAULT_FRAME_ANCESTORS} ('self' + upforge.io)
28
+ * so Upforge can showcase the site. Pass an array to extend/replace, or
29
+ * `false` to opt out entirely and fall back to X-Frame-Options.
30
+ *
31
+ * Ignored if a `Content-Security-Policy` is supplied via `customHeaders` —
32
+ * that CSP wins, and must carry its own frame-ancestors directive.
33
+ */
34
+ frameAncestors?: string[] | false;
35
+ /** X-Content-Type-Options: nosniff. Default: true */
36
+ contentTypeOptions?: boolean;
37
+ /** X-XSS-Protection header. Default: true */
38
+ xssProtection?: boolean;
39
+ /** Referrer-Policy value. Default: 'strict-origin-when-cross-origin' */
40
+ referrerPolicy?: string;
41
+ /** Permissions-Policy value. Default restricts camera, microphone, geolocation */
42
+ permissionsPolicy?: string;
43
+ /** X-DNS-Prefetch-Control. Default: true (on) */
44
+ dnsPrefetchControl?: boolean;
45
+ /** Additional custom headers */
46
+ customHeaders?: Record<string, string>;
47
+ }
48
+
49
+ export { DEFAULT_FRAME_ANCESTORS as D, type SecurityHeadersConfig as S };
@@ -1,18 +1,18 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkXHJXIAAW_js = require('../chunk-XHJXIAAW.js');
4
+ var chunkGSOLN2FC_js = require('../chunk-GSOLN2FC.js');
5
5
  require('../chunk-JEOKDUPQ.js');
6
- require('../chunk-ZQ2JTDPC.js');
7
- require('../chunk-T3ARA52J.js');
8
- require('../chunk-6ZDXUCAX.js');
6
+ require('../chunk-ATOUXWFR.js');
7
+ require('../chunk-BB2C5JUA.js');
8
+ require('../chunk-JXT2WWXW.js');
9
9
  require('../chunk-ZSMWDLMK.js');
10
10
 
11
11
 
12
12
 
13
13
  Object.defineProperty(exports, "SitemapSync", {
14
14
  enumerable: true,
15
- get: function () { return chunkXHJXIAAW_js.SitemapSync; }
15
+ get: function () { return chunkGSOLN2FC_js.SitemapSync; }
16
16
  });
17
17
  //# sourceMappingURL=client.js.map
18
18
  //# sourceMappingURL=client.js.map
@@ -1,9 +1,9 @@
1
1
  'use client';
2
- export { SitemapSync } from '../chunk-VOYRWPE3.mjs';
2
+ export { SitemapSync } from '../chunk-BVOUZL2S.mjs';
3
3
  import '../chunk-QJU6HBSK.mjs';
4
- import '../chunk-FJTER53S.mjs';
5
- import '../chunk-BS3P5PTY.mjs';
6
- import '../chunk-JYM4I57K.mjs';
4
+ import '../chunk-RSFSXEV2.mjs';
5
+ import '../chunk-TKP3YFNS.mjs';
6
+ import '../chunk-JVT6CUNN.mjs';
7
7
  import '../chunk-4XPGGLVP.mjs';
8
8
  //# sourceMappingURL=client.mjs.map
9
9
  //# sourceMappingURL=client.mjs.map
package/dist/seo/index.js CHANGED
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkDV2LJYFD_js = require('../chunk-DV2LJYFD.js');
4
- var chunkATG4FJY6_js = require('../chunk-ATG4FJY6.js');
4
+ var chunkH6AU3WKF_js = require('../chunk-H6AU3WKF.js');
5
5
  var chunkJ7QI3GDX_js = require('../chunk-J7QI3GDX.js');
6
- var chunkXHJXIAAW_js = require('../chunk-XHJXIAAW.js');
6
+ var chunkGSOLN2FC_js = require('../chunk-GSOLN2FC.js');
7
7
  var chunkVMVEL4WU_js = require('../chunk-VMVEL4WU.js');
8
8
  var chunkQCZBXG7G_js = require('../chunk-QCZBXG7G.js');
9
9
  require('../chunk-QPIKPWAZ.js');
10
10
  require('../chunk-JEOKDUPQ.js');
11
- require('../chunk-ZQ2JTDPC.js');
12
- require('../chunk-T3ARA52J.js');
13
- require('../chunk-6ZDXUCAX.js');
11
+ require('../chunk-ATOUXWFR.js');
12
+ require('../chunk-BB2C5JUA.js');
13
+ require('../chunk-JXT2WWXW.js');
14
14
  require('../chunk-ZSMWDLMK.js');
15
15
  var react = require('react');
16
16
  var jsxRuntime = require('react/jsx-runtime');
@@ -118,7 +118,7 @@ async function LLMSchemaAsync({
118
118
  }) {
119
119
  const { page: pageData, project } = await chunkQCZBXG7G_js.getSEOPageData(path);
120
120
  const raw = pageData?.managed_llm_schema;
121
- const picked = chunkATG4FJY6_js.pickManagedLlmSchemaForJsonLd(raw);
121
+ const picked = chunkH6AU3WKF_js.pickManagedLlmSchemaForJsonLd(raw);
122
122
  if (!picked) {
123
123
  return null;
124
124
  }
@@ -687,7 +687,7 @@ Object.defineProperty(exports, "ManagedScripts", {
687
687
  });
688
688
  Object.defineProperty(exports, "SitemapSync", {
689
689
  enumerable: true,
690
- get: function () { return chunkXHJXIAAW_js.SitemapSync; }
690
+ get: function () { return chunkGSOLN2FC_js.SitemapSync; }
691
691
  });
692
692
  Object.defineProperty(exports, "generateSitemap", {
693
693
  enumerable: true,
@@ -1,16 +1,16 @@
1
1
  export { ManagedNoScripts, ManagedScripts } from '../chunk-6PJTLBRR.mjs';
2
- import { pickManagedLlmSchemaForJsonLd } from '../chunk-H23ZT2I2.mjs';
2
+ import { pickManagedLlmSchemaForJsonLd } from '../chunk-PENNTSJE.mjs';
3
3
  import { safeJsonLd } from '../chunk-662YHKWW.mjs';
4
- export { SitemapSync } from '../chunk-VOYRWPE3.mjs';
4
+ export { SitemapSync } from '../chunk-BVOUZL2S.mjs';
5
5
  import { getManagedMetadata } from '../chunk-QGV7FEUI.mjs';
6
6
  export { generateSitemap, getABVariant, getManagedMetadata, getManagedMetadataWithAB, getRedirect, getRobotsDirective, isIndexable } from '../chunk-QGV7FEUI.mjs';
7
7
  import { getContentBlock, getSchemaMarkups, getSEOPageData, getEntityEnhancedSchema, getFAQData, getInternalLinks, getEntities } from '../chunk-2CHOHLB7.mjs';
8
8
  export { getABTest, getContentBlock, getEntities, getEntityEnhancedSchema, getFAQData, getInternalLinks, getManagedScripts, getPrimaryEntity, getRedirectData, getRobotsData, getSEOPageData, getSchemaMarkups, getSitemapEntries, getVisibilityScore, getVisibilitySummary, recordABImpression, registerSitemap } from '../chunk-2CHOHLB7.mjs';
9
9
  import '../chunk-UDBUK5ZJ.mjs';
10
10
  import '../chunk-QJU6HBSK.mjs';
11
- import '../chunk-FJTER53S.mjs';
12
- import '../chunk-BS3P5PTY.mjs';
13
- import '../chunk-JYM4I57K.mjs';
11
+ import '../chunk-RSFSXEV2.mjs';
12
+ import '../chunk-TKP3YFNS.mjs';
13
+ import '../chunk-JVT6CUNN.mjs';
14
14
  import '../chunk-4XPGGLVP.mjs';
15
15
  import { cache, Suspense } from 'react';
16
16
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var chunkC7EVU7V7_js = require('../chunk-C7EVU7V7.js');
3
+ var chunkULY2QZWA_js = require('../chunk-ULY2QZWA.js');
4
4
  var chunkQPIKPWAZ_js = require('../chunk-QPIKPWAZ.js');
5
- require('../chunk-6ZDXUCAX.js');
5
+ require('../chunk-JXT2WWXW.js');
6
6
  require('../chunk-ZSMWDLMK.js');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "resolveClientCredential", {
11
11
  enumerable: true,
12
- get: function () { return chunkC7EVU7V7_js.resolveClientCredential; }
12
+ get: function () { return chunkULY2QZWA_js.resolveClientCredential; }
13
13
  });
14
14
  Object.defineProperty(exports, "requireServerApiConfig", {
15
15
  enumerable: true,
@@ -1,6 +1,6 @@
1
- export { resolveClientCredential } from '../chunk-LSZ6CT6U.mjs';
1
+ export { resolveClientCredential } from '../chunk-W5ZYM276.mjs';
2
2
  export { requireServerApiConfig, resolveApiOrigin, resolveServerApiConfig, serverApiFetch } from '../chunk-UDBUK5ZJ.mjs';
3
- import '../chunk-JYM4I57K.mjs';
3
+ import '../chunk-JVT6CUNN.mjs';
4
4
  import '../chunk-4XPGGLVP.mjs';
5
5
  //# sourceMappingURL=index.mjs.map
6
6
  //# sourceMappingURL=index.mjs.map
@@ -1,47 +1,47 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkO4ILWMIB_js = require('../chunk-O4ILWMIB.js');
5
- var chunkFYCFUYPQ_js = require('../chunk-FYCFUYPQ.js');
4
+ var chunkS3J7MEOD_js = require('../chunk-S3J7MEOD.js');
5
+ var chunkA2FHTQGB_js = require('../chunk-A2FHTQGB.js');
6
6
  require('../chunk-ZSMWDLMK.js');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "ExperimentConversion", {
11
11
  enumerable: true,
12
- get: function () { return chunkO4ILWMIB_js.ExperimentConversion; }
12
+ get: function () { return chunkS3J7MEOD_js.ExperimentConversion; }
13
13
  });
14
14
  Object.defineProperty(exports, "SignalExperiment", {
15
15
  enumerable: true,
16
- get: function () { return chunkO4ILWMIB_js.SignalExperiment; }
16
+ get: function () { return chunkS3J7MEOD_js.SignalExperiment; }
17
17
  });
18
18
  Object.defineProperty(exports, "useExperimentVariant", {
19
19
  enumerable: true,
20
- get: function () { return chunkO4ILWMIB_js.useExperimentVariant; }
20
+ get: function () { return chunkS3J7MEOD_js.useExperimentVariant; }
21
21
  });
22
22
  Object.defineProperty(exports, "SignalBridge", {
23
23
  enumerable: true,
24
- get: function () { return chunkFYCFUYPQ_js.SignalBridge; }
24
+ get: function () { return chunkA2FHTQGB_js.SignalBridge; }
25
25
  });
26
26
  Object.defineProperty(exports, "useSignal", {
27
27
  enumerable: true,
28
- get: function () { return chunkFYCFUYPQ_js.useSignal; }
28
+ get: function () { return chunkA2FHTQGB_js.useSignal; }
29
29
  });
30
30
  Object.defineProperty(exports, "useSignalConfig", {
31
31
  enumerable: true,
32
- get: function () { return chunkFYCFUYPQ_js.useSignalConfig; }
32
+ get: function () { return chunkA2FHTQGB_js.useSignalConfig; }
33
33
  });
34
34
  Object.defineProperty(exports, "useSignalEvent", {
35
35
  enumerable: true,
36
- get: function () { return chunkFYCFUYPQ_js.useSignalEvent; }
36
+ get: function () { return chunkA2FHTQGB_js.useSignalEvent; }
37
37
  });
38
38
  Object.defineProperty(exports, "useSignalExperiment", {
39
39
  enumerable: true,
40
- get: function () { return chunkFYCFUYPQ_js.useSignalExperiment; }
40
+ get: function () { return chunkA2FHTQGB_js.useSignalExperiment; }
41
41
  });
42
42
  Object.defineProperty(exports, "useSignalOutcome", {
43
43
  enumerable: true,
44
- get: function () { return chunkFYCFUYPQ_js.useSignalOutcome; }
44
+ get: function () { return chunkA2FHTQGB_js.useSignalOutcome; }
45
45
  });
46
46
  //# sourceMappingURL=index.js.map
47
47
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- export { ExperimentConversion, SignalExperiment, useExperimentVariant } from '../chunk-EDQXJFH2.mjs';
3
- export { SignalBridge, useSignal, useSignalConfig, useSignalEvent, useSignalExperiment, useSignalOutcome } from '../chunk-DEVPKGCD.mjs';
2
+ export { ExperimentConversion, SignalExperiment, useExperimentVariant } from '../chunk-JXN6OCFB.mjs';
3
+ export { SignalBridge, useSignal, useSignalConfig, useSignalEvent, useSignalExperiment, useSignalOutcome } from '../chunk-HQJS7VWB.mjs';
4
4
  import '../chunk-4XPGGLVP.mjs';
5
5
  //# sourceMappingURL=index.mjs.map
6
6
  //# sourceMappingURL=index.mjs.map
@@ -1,4 +1,4 @@
1
- import { L as LLMsDataResponse } from '../types-DhCAWUmd.mjs';
1
+ import { L as LLMsDataResponse, W as WriteLLMsTxtOptions } from '../writeLLMsTxt-SpMdyHQT.mjs';
2
2
  import '../llms/contract.mjs';
3
3
 
4
4
  /**
@@ -75,6 +75,13 @@ interface SitemapConfig {
75
75
  getLocalData?: () => Promise<LLMsDataResponse | null>;
76
76
  /** Pass-through to GET /api/public/llms/txt?publicSummaryOnly=true and local llms fallback */
77
77
  llmsPublicSummaryOnly?: boolean;
78
+ /**
79
+ * Site-authored sections appended to the build-time llms-full.txt (see
80
+ * WriteLLMsTxtOptions.customSections). Use with formatSourcedFactsSection
81
+ * to publish the site's verified citation registry as a "Sourced facts"
82
+ * section AI answer engines can quote with attribution.
83
+ */
84
+ llmsCustomSections?: WriteLLMsTxtOptions['customSections'];
78
85
  /** Use Signal AI visibility scores to compute page priority (40% visibility + 30% depth + 30% base) */
79
86
  intelligentPriority?: boolean;
80
87
  /** When true, append `/llms.txt` to sitemap (low priority). Default false. */
@@ -1,4 +1,4 @@
1
- import { L as LLMsDataResponse } from '../types-xcP_owwn.js';
1
+ import { L as LLMsDataResponse, W as WriteLLMsTxtOptions } from '../writeLLMsTxt-BFaNr4re.js';
2
2
  import '../llms/contract.js';
3
3
 
4
4
  /**
@@ -75,6 +75,13 @@ interface SitemapConfig {
75
75
  getLocalData?: () => Promise<LLMsDataResponse | null>;
76
76
  /** Pass-through to GET /api/public/llms/txt?publicSummaryOnly=true and local llms fallback */
77
77
  llmsPublicSummaryOnly?: boolean;
78
+ /**
79
+ * Site-authored sections appended to the build-time llms-full.txt (see
80
+ * WriteLLMsTxtOptions.customSections). Use with formatSourcedFactsSection
81
+ * to publish the site's verified citation registry as a "Sourced facts"
82
+ * section AI answer engines can quote with attribution.
83
+ */
84
+ llmsCustomSections?: WriteLLMsTxtOptions['customSections'];
78
85
  /** Use Signal AI visibility scores to compute page priority (40% visibility + 30% depth + 30% base) */
79
86
  intelligentPriority?: boolean;
80
87
  /** When true, append `/llms.txt` to sitemap (low priority). Default false. */
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunk6T4NVCAT_js = require('../chunk-6T4NVCAT.js');
3
+ var chunkXMBYDIV6_js = require('../chunk-XMBYDIV6.js');
4
4
  var chunkJP5WGL75_js = require('../chunk-JP5WGL75.js');
5
- require('../chunk-ATG4FJY6.js');
5
+ require('../chunk-H6AU3WKF.js');
6
6
  var chunkJEOKDUPQ_js = require('../chunk-JEOKDUPQ.js');
7
7
  require('../chunk-ZSMWDLMK.js');
8
8
  var fs = require('fs');
@@ -477,13 +477,14 @@ function createSitemap(config) {
477
477
  }
478
478
  if (config.optimizedLLMsTxt !== false) {
479
479
  try {
480
- const writeResult = await chunk6T4NVCAT_js.writeLLMsTxtToPublic({
480
+ const writeResult = await chunkXMBYDIV6_js.writeLLMsTxtToPublic({
481
481
  apiUrl,
482
482
  apiKey,
483
483
  full: config.optimizedLLMsFullTxt ?? false,
484
484
  fallbackToLocal: true,
485
485
  getLocalData: config.getLocalData,
486
- publicSummaryOnly: config.llmsPublicSummaryOnly
486
+ publicSummaryOnly: config.llmsPublicSummaryOnly,
487
+ customSections: config.llmsCustomSections
487
488
  });
488
489
  if (writeResult.success) {
489
490
  console.log(`[site-kit] Wrote llms.txt (optimized=${writeResult.optimized})`);