@xyd-js/core 0.0.0-build-6675456-20251014012658 → 0.0.0-build-e4644f3-20251015210712

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @xyd-js/core
2
2
 
3
- ## 0.0.0-build-6675456-20251014012658
3
+ ## 0.0.0-build-e4644f3-20251015210712
4
4
 
5
5
  ### Patch Changes
6
6
 
package/dist/index.d.ts CHANGED
@@ -12,7 +12,7 @@ interface Metadata<P = void> {
12
12
  title: string;
13
13
  /** Title to display in the sidebar navigation */
14
14
  sidebarTitle?: string;
15
- /** Disply description for SEO purposes */
15
+ /** Display description for SEO/llms.txt purposes */
16
16
  description?: string;
17
17
  /** Icon identifier for the navigation item */
18
18
  icon?: string;
@@ -498,6 +498,10 @@ interface Settings {
498
498
  * SEO configuration
499
499
  */
500
500
  seo?: SEO;
501
+ /**
502
+ * AI configuration
503
+ */
504
+ ai?: AI;
501
505
  /**
502
506
  * Advanced configuration
503
507
  */
@@ -1250,7 +1254,7 @@ interface IntegrationAnalytics {
1250
1254
  }
1251
1255
  /**
1252
1256
  * LiveSession analytics configuration
1253
- */
1257
+ */
1254
1258
  interface IntegrationAnalyticsLiveSession {
1255
1259
  /** LiveSession's TrackID */
1256
1260
  trackId: string;
@@ -1460,6 +1464,84 @@ interface SEO {
1460
1464
  [tag: string]: string;
1461
1465
  };
1462
1466
  }
1467
+ /**
1468
+ * AI configuration
1469
+ */
1470
+ interface AI {
1471
+ /**
1472
+ * LLMs txt configuration
1473
+ *
1474
+ *
1475
+ * @example
1476
+ * ```json
1477
+ * {
1478
+ * "title": "LLMs txt",
1479
+ * "domain": "https://www.example.com",
1480
+ * "summary": "Summary of the LLMs txt",
1481
+ * "sections": { "section1": { "title": "Section 1", "url": "https://www.example.com", "description": "Description of section 1" } }
1482
+ * }
1483
+ * ```
1484
+ *
1485
+ * or
1486
+ * @example
1487
+ * ```json
1488
+ * "llmsTxt": "llms.txt"
1489
+ * ```
1490
+ *
1491
+ * or
1492
+ * @example
1493
+ * ```json
1494
+ * "llmsTxt": "# LLMs txt \n ## Section 1 \n ## Section 2 \n ### Section 2"
1495
+ * ```
1496
+ *
1497
+ */
1498
+ llmsTxt?: false | LLMsTxt | llmsTxtString;
1499
+ }
1500
+ /**
1501
+ * LLMs txt as a path to a file or a llms.txt content
1502
+ */
1503
+ type llmsTxtString = string;
1504
+ /**
1505
+ * LLMs txt configuration
1506
+ */
1507
+ interface LLMsTxt {
1508
+ /**
1509
+ * Title of the LLMs txt
1510
+ * @example "LLMs txt"
1511
+ */
1512
+ title: string;
1513
+ /**
1514
+ * Base URL of the LLMs txt
1515
+ */
1516
+ baseUrl: string;
1517
+ /**
1518
+ * Description of the LLMs txt
1519
+ */
1520
+ summary?: string;
1521
+ /**
1522
+ * Sections of the LLMs txt
1523
+ */
1524
+ sections?: LLMsTxtSectionMap;
1525
+ }
1526
+ type LLMsTxtSectionMap = {
1527
+ [section: string]: {
1528
+ /**
1529
+ * Title of the section
1530
+ * @example "Section 1"
1531
+ */
1532
+ title: string;
1533
+ /**
1534
+ * URL of the section
1535
+ * @example "https://www.example.com"
1536
+ */
1537
+ url: string;
1538
+ /**
1539
+ * Description of the section
1540
+ * @example "Description of section 1"
1541
+ */
1542
+ description: string;
1543
+ };
1544
+ };
1463
1545
  /**
1464
1546
  * Advanced configuration
1465
1547
  */
@@ -1587,4 +1669,4 @@ interface UserPreferences {
1587
1669
  themeColors?: ThemeColors;
1588
1670
  }
1589
1671
 
1590
- export type { API, APIAuth, APIFile, APIFileAdvanced, APIFileMap, APIInfo, APIInfoRequest, Advanced, AnchorHeader, Anchors, Appearance, AppearanceBanner, AppearanceButtons, AppearanceContent, AppearanceFooter, AppearanceHeader, AppearanceLogo, AppearanceSearch, AppearanceSidebar, AppearanceTables, AppearanceTabs, AppsDirectory, Coder, Colors, ComponentLike, Components, EditLink, Engine, EnginePaths, EngineUniform, Font, HeadConfig, IconLibrary, Icons, IntegrationABTesting, IntegrationABTestingGrowthBook, IntegrationABTestingLaunchDarkly, IntegrationABTestingProviders, IntegrationAnalytics, IntegrationAnalyticsLiveSession, IntegrationAppGithubStar, IntegrationAppSupademo, IntegrationSearch, IntegrationSupport, IntegrationSupportChatwoot, IntegrationSupportIntercom, IntegrationSupportLivechat, Integrations, JSONComponent, Logo, MetaTags, Metadata, MetadataMap, Navigation, NavigationItem, NavigationItemButton, NavigationItemSocial, PageLayout, PageMetaUniform, PageMetaUniformDetails, PageURL, PluginConfig, Plugins, Redirects, SEO, Script, SearchType, Segment, Settings, Sidebar, SidebarDropdown, SidebarNavigation, SidebarRoute, Social, Tabs, Theme, ThemeColors, ThemeFont, ThemePresetName, TocCard, UserPreferences, VirtualPage, WebEditor, WebEditorBanner, WebEditorFooter, WebEditorFooterLink, WebEditorFooterLinkItem, WebEditorFooterLinks, WebEditorHeader, WebEditorNavigationItem, WebEditorSubHeader, Writer };
1672
+ export type { AI, API, APIAuth, APIFile, APIFileAdvanced, APIFileMap, APIInfo, APIInfoRequest, Advanced, AnchorHeader, Anchors, Appearance, AppearanceBanner, AppearanceButtons, AppearanceContent, AppearanceFooter, AppearanceHeader, AppearanceLogo, AppearanceSearch, AppearanceSidebar, AppearanceTables, AppearanceTabs, AppsDirectory, Coder, Colors, ComponentLike, Components, EditLink, Engine, EnginePaths, EngineUniform, Font, HeadConfig, IconLibrary, Icons, IntegrationABTesting, IntegrationABTestingGrowthBook, IntegrationABTestingLaunchDarkly, IntegrationABTestingProviders, IntegrationAnalytics, IntegrationAnalyticsLiveSession, IntegrationAppGithubStar, IntegrationAppSupademo, IntegrationSearch, IntegrationSupport, IntegrationSupportChatwoot, IntegrationSupportIntercom, IntegrationSupportLivechat, Integrations, JSONComponent, LLMsTxt, LLMsTxtSectionMap, Logo, MetaTags, Metadata, MetadataMap, Navigation, NavigationItem, NavigationItemButton, NavigationItemSocial, PageLayout, PageMetaUniform, PageMetaUniformDetails, PageURL, PluginConfig, Plugins, Redirects, SEO, Script, SearchType, Segment, Settings, Sidebar, SidebarDropdown, SidebarNavigation, SidebarRoute, Social, Tabs, Theme, ThemeColors, ThemeFont, ThemePresetName, TocCard, UserPreferences, VirtualPage, WebEditor, WebEditorBanner, WebEditorFooter, WebEditorFooterLink, WebEditorFooterLinkItem, WebEditorFooterLinks, WebEditorHeader, WebEditorNavigationItem, WebEditorSubHeader, Writer, llmsTxtString };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyd-js/core",
3
- "version": "0.0.0-build-6675456-20251014012658",
3
+ "version": "0.0.0-build-e4644f3-20251015210712",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -14,7 +14,7 @@ export interface Metadata<P = void> {
14
14
  /** Title to display in the sidebar navigation */
15
15
  sidebarTitle?: string
16
16
 
17
- /** Disply description for SEO purposes */
17
+ /** Display description for SEO/llms.txt purposes */
18
18
  description?: string
19
19
 
20
20
  /** Icon identifier for the navigation item */