@sybilion/uilib 1.3.105 → 1.4.1

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 (200) hide show
  1. package/dist/agent-glossary/content-prompt.generated.ts +323 -0
  2. package/dist/agent-glossary/content.generated.ts +136 -63
  3. package/dist/agent-glossary/content.index.md +14 -0
  4. package/dist/agent-glossary/content.md +135 -63
  5. package/dist/agent-glossary/content.prompt.md +322 -0
  6. package/dist/agent-glossary/workspace.generated.ts +100 -269
  7. package/dist/agent-glossary/workspace.index.md +100 -0
  8. package/dist/agent-glossary/workspace.md +100 -269
  9. package/dist/esm/components/ui/Chart/Chart.styl.js +2 -2
  10. package/dist/esm/components/ui/Chart/components/ChartTooltipContent.js +1 -1
  11. package/dist/esm/components/ui/Page/PageColumns/PageColumns.js +2 -2
  12. package/dist/esm/components/ui/Page/PageColumns/PageColumns.styl.js +2 -2
  13. package/dist/esm/components/widgets/DriverCard/DriverCard.js +1 -1
  14. package/dist/esm/types/src/components/ui/Chart/Chart.example.d.ts +1 -0
  15. package/dist/esm/types/src/components/ui/Page/PageColumns/PageColumns.d.ts +10 -3
  16. package/dist/esm/types/src/docs/agent-guidance/agent-md-utils.d.ts +10 -0
  17. package/dist/esm/types/src/docs/components/DocsGuidance/DocsGuidance.d.ts +3 -12
  18. package/package.json +2 -2
  19. package/src/components/ui/AnalysesSelector/AGENT.md +16 -0
  20. package/src/components/ui/AnalysisLineIcon/AGENT.md +11 -0
  21. package/src/components/ui/AppHeader/AGENT.md +16 -0
  22. package/src/components/ui/Avatar/AGENT.md +15 -0
  23. package/src/components/ui/Badge/AGENT.md +16 -0
  24. package/src/components/ui/BarChart/AGENT.md +16 -0
  25. package/src/components/ui/Breadcrumb/AGENT.md +15 -0
  26. package/src/components/ui/Button/AGENT.md +17 -0
  27. package/src/components/ui/Card/AGENT.md +16 -0
  28. package/src/components/ui/Chart/AGENT.md +18 -0
  29. package/src/components/ui/Chart/Chart.example.tsx +37 -0
  30. package/src/components/ui/Chart/Chart.styl +5 -0
  31. package/src/components/ui/Chart/Chart.styl.d.ts +1 -0
  32. package/src/components/ui/Chart/components/ChartTooltipContent.tsx +1 -1
  33. package/src/components/ui/ChartAreaInteractive/AGENT.md +24 -8
  34. package/src/components/ui/Chat/AGENT.md +15 -0
  35. package/src/components/ui/Checkbox/AGENT.md +16 -0
  36. package/src/components/ui/Chip/AGENT.md +18 -0
  37. package/src/components/ui/Confirm/AGENT.md +15 -0
  38. package/src/components/ui/Dialog/AGENT.md +15 -0
  39. package/src/components/ui/DonutChart/AGENT.md +15 -0
  40. package/src/components/ui/Drawer/AGENT.md +17 -0
  41. package/src/components/ui/DropZone/AGENT.md +16 -0
  42. package/src/components/ui/DropdownMenu/AGENT.md +16 -0
  43. package/src/components/ui/FileChip/AGENT.md +17 -0
  44. package/src/components/ui/FlickeringGrid/AGENT.md +15 -0
  45. package/src/components/ui/Foldable/AGENT.md +16 -0
  46. package/src/components/ui/GridLayout/AGENT.md +17 -0
  47. package/src/components/ui/Image/AGENT.md +16 -0
  48. package/src/components/ui/ImageWithFallback/AGENT.md +15 -0
  49. package/src/components/ui/Input/AGENT.md +16 -0
  50. package/src/components/ui/InteractiveContent/AGENT.md +21 -0
  51. package/src/components/ui/Kicker/AGENT.md +16 -0
  52. package/src/components/ui/Label/AGENT.md +15 -0
  53. package/src/components/ui/LabelWithId/AGENT.md +10 -0
  54. package/src/components/ui/LabeledInput/AGENT.md +11 -0
  55. package/src/components/ui/LegacyPlatformLink/AGENT.md +15 -0
  56. package/src/components/ui/Logo/AGENT.md +15 -0
  57. package/src/components/ui/MobileAdaptiveSelector/AGENT.md +15 -0
  58. package/src/components/ui/NavUserHeader/AGENT.md +15 -0
  59. package/src/components/ui/NumberControl/AGENT.md +15 -0
  60. package/src/components/ui/Page/AGENT.md +20 -7
  61. package/src/components/ui/Page/PageColumns/PageColumns.styl +5 -5
  62. package/src/components/ui/Page/PageColumns/PageColumns.styl.d.ts +3 -3
  63. package/src/components/ui/Page/PageColumns/PageColumns.tsx +11 -16
  64. package/src/components/ui/Sheet/AGENT.md +15 -0
  65. package/src/components/ui/SignalCard/AGENT.md +16 -0
  66. package/src/components/ui/Switch/AGENT.md +15 -0
  67. package/src/components/ui/Tooltip/AGENT.md +17 -0
  68. package/src/components/widgets/DriverCard/DriverCard.tsx +1 -1
  69. package/src/components/widgets/DriverMap/AGENT.md +27 -8
  70. package/src/components/widgets/DriversComparisonChart/AGENT.md +27 -13
  71. package/src/components/widgets/PerformanceChart/AGENT.md +23 -8
  72. package/src/declarations.d.ts +5 -0
  73. package/src/docs/agent-guidance/agent-md-utils.ts +48 -0
  74. package/src/docs/agent-guidance/chat-attachments-dropzone.md +15 -0
  75. package/src/docs/agent-guidance/chat-composer-prefill.md +15 -0
  76. package/src/docs/agent-guidance/chat-sheet.md +14 -0
  77. package/src/docs/agent-guidance/chat-slash-commands.md +15 -0
  78. package/src/docs/agent-guidance/chat-user-csv-attachment.md +14 -0
  79. package/src/docs/agent-guidance/colors.md +10 -0
  80. package/src/docs/agent-guidance/icons.md +11 -0
  81. package/src/docs/agent-guidance/lightweight-forecast-chart.md +17 -0
  82. package/src/docs/agent-guidance/motion.md +10 -0
  83. package/src/docs/agent-guidance/page-columns.md +19 -0
  84. package/src/docs/agent-guidance/page-footer.md +15 -0
  85. package/src/docs/agent-guidance/page-tabs.md +19 -0
  86. package/src/docs/agent-guidance/page.md +15 -0
  87. package/src/docs/agent-guidance/progress.md +11 -0
  88. package/src/docs/agent-guidance/pull-quote.md +15 -0
  89. package/src/docs/agent-guidance/radii-shadows.md +10 -0
  90. package/src/docs/agent-guidance/region-coords.md +11 -0
  91. package/src/docs/agent-guidance/renamer.md +15 -0
  92. package/src/docs/agent-guidance/select.md +15 -0
  93. package/src/docs/agent-guidance/separator.md +11 -0
  94. package/src/docs/agent-guidance/sidebar-datasets-items-grouped.md +11 -0
  95. package/src/docs/agent-guidance/sidebar.md +15 -0
  96. package/src/docs/agent-guidance/skeleton.md +16 -0
  97. package/src/docs/agent-guidance/slider.md +16 -0
  98. package/src/docs/agent-guidance/smart-text-truncate.md +11 -0
  99. package/src/docs/agent-guidance/spacing.md +10 -0
  100. package/src/docs/agent-guidance/sparkline.md +15 -0
  101. package/src/docs/agent-guidance/standalone-app-layout.md +16 -0
  102. package/src/docs/agent-guidance/sybilion-auth-layout.md +15 -0
  103. package/src/docs/agent-guidance/table.md +17 -0
  104. package/src/docs/agent-guidance/tabs.md +21 -0
  105. package/src/docs/agent-guidance/text-shimmer.md +11 -0
  106. package/src/docs/agent-guidance/text-with-defer-tooltip.md +15 -0
  107. package/src/docs/agent-guidance/time-range-controls.md +15 -0
  108. package/src/docs/agent-guidance/toggle-group.md +15 -0
  109. package/src/docs/agent-guidance/toggle.md +15 -0
  110. package/src/docs/agent-guidance/typography.md +10 -0
  111. package/src/docs/agent-guidance/vimeo-embed.md +11 -0
  112. package/src/docs/agent-guidance/world-map.md +11 -0
  113. package/src/docs/components/DocsGuidance/DocsGuidance.styl +26 -25
  114. package/src/docs/components/DocsGuidance/DocsGuidance.styl.d.ts +1 -4
  115. package/src/docs/components/DocsGuidance/DocsGuidance.tsx +9 -44
  116. package/src/docs/config/webpack.config.js +6 -1
  117. package/src/docs/pages/AnalysesSelectorPage.tsx +6 -17
  118. package/src/docs/pages/AnalysisLineIconPage.tsx +2 -11
  119. package/src/docs/pages/AvatarPage.tsx +2 -14
  120. package/src/docs/pages/BadgePage.tsx +2 -15
  121. package/src/docs/pages/BarChartPage.tsx +2 -15
  122. package/src/docs/pages/BreadcrumbPage.tsx +2 -14
  123. package/src/docs/pages/ButtonPage.tsx +2 -16
  124. package/src/docs/pages/CardPage.tsx +5 -18
  125. package/src/docs/pages/ChartAreaInteractivePage.tsx +2 -15
  126. package/src/docs/pages/ChartPage.tsx +4 -47
  127. package/src/docs/pages/ChatAttachmentsDropzonePage.tsx +2 -14
  128. package/src/docs/pages/ChatComposerPrefillPage.tsx +2 -14
  129. package/src/docs/pages/ChatPage.tsx +2 -14
  130. package/src/docs/pages/ChatSheetPage.tsx +2 -13
  131. package/src/docs/pages/ChatSlashCommandsPage.tsx +2 -14
  132. package/src/docs/pages/ChatUserCsvAttachmentPage.tsx +2 -13
  133. package/src/docs/pages/CheckboxPage.tsx +2 -15
  134. package/src/docs/pages/ChipPage.tsx +2 -17
  135. package/src/docs/pages/ColorsPage.tsx +2 -10
  136. package/src/docs/pages/ConfirmPage.tsx +2 -14
  137. package/src/docs/pages/DialogPage.tsx +2 -14
  138. package/src/docs/pages/DonutChartPage.tsx +2 -14
  139. package/src/docs/pages/DrawerPage.tsx +2 -16
  140. package/src/docs/pages/DriverMapPage.tsx +2 -16
  141. package/src/docs/pages/DriversComparisonChartPage.tsx +2 -16
  142. package/src/docs/pages/DropZonePage.tsx +2 -15
  143. package/src/docs/pages/DropdownMenuPage.tsx +2 -15
  144. package/src/docs/pages/FileChipPage.tsx +2 -16
  145. package/src/docs/pages/FlickeringGridPage.tsx +2 -14
  146. package/src/docs/pages/FoldablePage.tsx +2 -15
  147. package/src/docs/pages/GridLayoutPage.tsx +2 -15
  148. package/src/docs/pages/IconsPage.tsx +2 -11
  149. package/src/docs/pages/ImagePage.tsx +2 -15
  150. package/src/docs/pages/ImageWithFallbackPage.tsx +2 -14
  151. package/src/docs/pages/IncludeHiddenInYScalePage.tsx +2 -13
  152. package/src/docs/pages/InputPage.tsx +2 -15
  153. package/src/docs/pages/InteractiveContentPage.tsx +2 -17
  154. package/src/docs/pages/KickerPage.tsx +2 -15
  155. package/src/docs/pages/LabelPage.tsx +2 -14
  156. package/src/docs/pages/LabelWithIdPage.tsx +2 -10
  157. package/src/docs/pages/LabeledInputPage.tsx +2 -11
  158. package/src/docs/pages/LegacyPlatformLinkPage.tsx +2 -14
  159. package/src/docs/pages/LightweightChartPage.tsx +2 -16
  160. package/src/docs/pages/LogoPage.tsx +2 -14
  161. package/src/docs/pages/MobileAdaptiveSelectorPage.tsx +2 -14
  162. package/src/docs/pages/MotionPage.tsx +2 -10
  163. package/src/docs/pages/NavUserHeaderPage.tsx +2 -14
  164. package/src/docs/pages/NumberControlPage.tsx +2 -14
  165. package/src/docs/pages/PageColumnsPage.tsx +40 -17
  166. package/src/docs/pages/PageFooterPage.tsx +2 -14
  167. package/src/docs/pages/PagePage.tsx +2 -14
  168. package/src/docs/pages/PageTabsPage.tsx +2 -17
  169. package/src/docs/pages/PerformanceChartPage.tsx +2 -14
  170. package/src/docs/pages/ProgressPage.tsx +2 -11
  171. package/src/docs/pages/PullQuotePage.tsx +2 -14
  172. package/src/docs/pages/RadiiShadowsPage.tsx +2 -10
  173. package/src/docs/pages/RegionCoordsPage.tsx +2 -11
  174. package/src/docs/pages/RenamerPage.tsx +2 -14
  175. package/src/docs/pages/SelectPage.tsx +2 -14
  176. package/src/docs/pages/SeparatorPage.tsx +2 -11
  177. package/src/docs/pages/SheetPage.tsx +2 -14
  178. package/src/docs/pages/SidebarDatasetsItemsGroupedPage.tsx +2 -11
  179. package/src/docs/pages/SidebarPage.tsx +2 -14
  180. package/src/docs/pages/SignalCardPage.tsx +2 -15
  181. package/src/docs/pages/SkeletonPage.tsx +2 -15
  182. package/src/docs/pages/SliderPage.tsx +2 -15
  183. package/src/docs/pages/SmartTextTruncatePage.tsx +2 -11
  184. package/src/docs/pages/SpacingPage.tsx +2 -10
  185. package/src/docs/pages/SparklinePage.tsx +2 -14
  186. package/src/docs/pages/StandaloneAppLayoutPage/StandaloneAppLayoutPage.tsx +2 -15
  187. package/src/docs/pages/SwitchPage.tsx +2 -14
  188. package/src/docs/pages/SybilionAuthLayoutPage.tsx +2 -14
  189. package/src/docs/pages/TablePage.tsx +2 -15
  190. package/src/docs/pages/TabsPage.tsx +2 -19
  191. package/src/docs/pages/TextShimmerPage.tsx +2 -11
  192. package/src/docs/pages/TextWithDeferTooltipPage.tsx +2 -14
  193. package/src/docs/pages/TimeRangeControlsPage.tsx +2 -14
  194. package/src/docs/pages/ToggleGroupPage.tsx +2 -14
  195. package/src/docs/pages/TogglePage.tsx +2 -12
  196. package/src/docs/pages/TooltipPage.tsx +2 -16
  197. package/src/docs/pages/TypographyPage.tsx +2 -10
  198. package/src/docs/pages/VimeoEmbedPage.tsx +2 -11
  199. package/src/docs/pages/WorldMapPage.tsx +2 -11
  200. package/src/components/widgets/AGENT.md +0 -21
@@ -0,0 +1,323 @@
1
+ /** Generated by scripts/build-agent-glossary.mjs — do not edit. */
2
+ export const CONTENT_AGENT_UI_PROMPT = `# Sybilion page content glossary (embedded)
3
+
4
+ Component usage for report/dashboard LLM prompts. Paths are relative to \`@sybilion/uilib\` package root.
5
+
6
+ ## DriverMap
7
+
8
+ DriverMap renders a world map with regional driver badges, a bottom strip for world-level drivers, and selection highlight. DriverCard shows the detail of the selected driver; both share selection state via controlled selectedDriver.
9
+
10
+ ## When to use
11
+
12
+ - To give a geographic overview of where drivers originate and let users explore them by region.
13
+ - Alongside DriverCard, so selecting a driver on the map reveals its importance, lag, and summary.
14
+ - When drivers carry coordinates or region metadata that benefits from a spatial presentation.
15
+ - Geographic driver exploration for one analysis.
16
+
17
+ ## When not to use
18
+
19
+ - When drivers have no meaningful geography; a table or list ranks them more clearly.
20
+ - For comparing driver series over time; use DriversComparisonChart instead.
21
+ - Driver detail metrics card alone (pair with DriverCard) or normalized series chart (use DriversComparisonChart).
22
+
23
+ ## Do
24
+
25
+ - Pass isLoading to both the map and the card so their loading states stay in sync.
26
+ - Provide a driverSelector in DriverCard so users can page through drivers without using the map.
27
+
28
+ ## Report tile
29
+
30
+ - \`drivers_map\` — tile resolves analysis id, fetches drivers, passes list + selection.
31
+
32
+ ## Host provides
33
+
34
+ - \`drivers\` as \`DriverData[]\` from analysis API
35
+ - Controlled \`selectedDriver\` + \`setSelectedDriver\`
36
+ - \`isLoading\` while fetching drivers
37
+
38
+ ## Requires
39
+
40
+ - \`drivers\`; \`isLoading\`; \`selectedDriver\`; \`setSelectedDriver\`.
41
+
42
+ ## Empty/loading
43
+
44
+ - \`isLoading\` shows overlay; empty \`drivers\` leaves map without badges.
45
+
46
+ ## DriversComparisonChart
47
+
48
+ DriversComparisonChart plots a normalized target line against the normalized series of its drivers, with a table of drivers underneath. The Lagged and Overlapped view tabs control whether driver series are shifted by their reported lag or aligned in time, and table rows toggle each series on the chart.
49
+
50
+ ## When to use
51
+
52
+ - To show how individual drivers move relative to a backtested target over time.
53
+ - When users need to compare lagged and contemporaneous alignment of driver series.
54
+ - When the driver table and the chart should stay linked, so hiding a row hides its line.
55
+
56
+ ## When not to use
57
+
58
+ - For a single series with no target to compare against; use ChartAreaInteractive directly.
59
+ - When drivers lack normalized series data; the chart needs a populated payload to be useful.
60
+
61
+ ## Do
62
+
63
+ - Provide a statusHint when the payload is empty so users understand why the chart is blank.
64
+ - Control viewTab from the page when an external Lagged/Overlapped switcher should stay in sync.
65
+
66
+ ## Report tile
67
+
68
+ - \`drivers_comparison_chart\` — host loads normalized backtests payload + dataset historical.
69
+
70
+ ## Host provides
71
+
72
+ - \`payload\`: BacktestsComponentPayload from platform SDK (host fetch per analysis)
73
+ - Optional \`datasetHistorical\` overlay
74
+ - \`seriesInitKey\` when selected analysis changes
75
+ - \`viewTab\` / \`onViewTabChange\`: \`lagged\` (calendar-aligned, raw dates) or \`overlapped\` (driver series shifted backward by parsed lag months)
76
+ - View tabs: host should render uilib \`Tabs variant="button"\` with **Lagged** / **Overlapped** in the toolbar. Chart applies \`applyDriversComparisonViewToPayload\` internally.
77
+
78
+ ## Requires
79
+
80
+ - \`payload\` — target + driver normalized_series; \`loading\` / \`chartLoading\` — spinners; \`seriesInitKey\` — reset visible series on analysis or view tab change; \`runAnalysisHint\` / \`statusHint\` — empty/error text.
81
+ - Lag column: **Lagged** shows API \`lag\` string (may be a range). **Overlapped** shows single \`N month(s)\` from \`parseLagMonthsFromLabel\` (range uses max month).
82
+ - Historical window: lead-in is anchored to the **lagged** (unshifted) view (\`computeDriversComparisonHistoricalWindowFloor\`); overlapped tab shifts driver lines backward only — switching tabs does not change historical extent when floor is pinned.
83
+
84
+ ## Empty/loading
85
+
86
+ - loading props shimmer chart; null \`payload\` with \`runAnalysisHint\` prompts to run analysis.
87
+
88
+ ## Page
89
+
90
+ # Page layout system
91
+
92
+ Sybilion workspace and report surfaces use a small set of **Page** primitives from \`@sybilion/uilib\`. Agents must compose these instead of inventing layout with inline styles, Tailwind structure classes, or ad-hoc wrappers.
93
+
94
+ ## Two modes
95
+
96
+ | Mode | When | Shell |
97
+ | ------------------ | ------------------------------------------------ | ------------------------------------------------------------------------------------- |
98
+ | **workspace-page** | Route inside \`AppShell\` / scrolled main column | \`PageHeader\` → \`PageContent\` → \`PageContentSection\`(s). Optional \`PageTabs\`. |
99
+ | **content** | Report tiles, json-dashboard, embedded body only | No \`PageHeader\` / \`AppShell\` chrome. Map React blocks to dashboard tiles (see below). |
100
+
101
+ Do not nest workspace shell components inside **content** mode output.
102
+
103
+ ## Mandatory workspace-page skeleton
104
+
105
+ \`\`\`tsx
106
+ <PageHeader title="…" subheader="…" breadcrumbs={[…]} actions={…} />
107
+ <PageContent>
108
+ <PageContentSection>{/* section A */}</PageContentSection>
109
+ <PageContentSection grow={false}>{/* section B */}</PageContentSection>
110
+ </PageContent>
111
+ \`\`\`
112
+
113
+ - **PageHeader**: one per route view in the main column; title, optional subheader, breadcrumbs, actions.
114
+ - **PageContent**: vertical stack for the body below the header; \`variant="clean"\` when you need a flatter body (no extra chrome).
115
+ - **PageContentSection**: primary vertical band; applies horizontal **page-x-padding** via Stylus (\`pageXPadding()\`). Use multiple sections to separate logical blocks.
116
+
117
+ Global tokens (host app \`:root\`, e.g. \`standalone-global.css\`): \`--page-width\`, \`--page-x-padding\`, \`--page-y-padding\`. \`PageContent\` caps width at \`--page-width\`.
118
+
119
+ ## PageTabs — rules and patterns
120
+
121
+ **NEVER** place \`PageTabs\` inside \`PageContentSection\`. Tabs manage their own horizontal inset via \`PageXScroll\` / \`tabsListProps.withPaddings\`.
122
+
123
+ ### Unified (tabs + panels inside PageContent)
124
+
125
+ \`\`\`tsx
126
+ <PageHeader … />
127
+ <PageContent>
128
+ <PageTabs
129
+ items={[
130
+ { value: 'a', label: 'Tab A', content: <PageContentSection>…</PageContentSection> },
131
+ { value: 'b', label: 'Tab B', content: <PageContentSection>…</PageContentSection> },
132
+ ]}
133
+ />
134
+ </PageContent>
135
+ \`\`\`
136
+
137
+ Tab **panels** use \`PageContentSection\` so section padding stays correct.
138
+
139
+ ### Split (bar-only sibling)
140
+
141
+ Use when the tab bar must sit between header and a custom scroll region:
142
+
143
+ \`\`\`tsx
144
+ <PageHeader … />
145
+ <PageTabs
146
+ items={[
147
+ { value: 'a', label: 'Tab A', content: null },
148
+ { value: 'b', label: 'Tab B', content: null },
149
+ ]}
150
+ />
151
+ <PageContent>…</PageContent>
152
+ \`\`\`
153
+
154
+ Set \`content: null\` (or omit) for bar-only items; render panel bodies in \`PageContent\` yourself.
155
+
156
+ ## Spacing ownership
157
+
158
+ | Component | Owns horizontal page padding? |
159
+ | ---------------------- | --------------------------------------------------------- |
160
+ | **PageContentSection** | Yes (\`pageXPadding\`) |
161
+ | **PageTabs** | Via \`tabsListProps.withPaddings\` + internal \`PageXScroll\` |
162
+ | **PageXScroll** | Reads \`--page-x-padding\` for inset when used standalone |
163
+ | **PageHeader** | Own header inner layout (not \`PageContentSection\`) |
164
+
165
+ Do not duplicate \`padding-left/right\` on children that already sit in \`PageContentSection\`.
166
+
167
+ ## Styling rules
168
+
169
+ - **No** \`style={{…}}\` for layout or spacing (margins, padding, flex, width, gap).
170
+ - **No** Tailwind (or other) utility classes for **structural** layout on page primitives.
171
+ - Custom layout CSS only in co-located \`ComponentName.styl\`, using design tokens (\`var(--p-*)\`, \`var(--page-x-padding)\`, \`pageXPadding()\`, etc.).
172
+ - \`className\` on Page components is for Stylus module classes or state hooks, not one-off pixel tweaks.
173
+
174
+ ## Component reference
175
+
176
+ ### PageHeader
177
+
178
+ Sticky-style page title row: breadcrumbs (optional sidebar trigger in full app), \`title\`, \`subheader\`, \`actions\`. Lives **above** \`PageContent\`, never inside a section.
179
+
180
+ ### PageContent / PageContentSection
181
+
182
+ \`PageContent\`: column flex child, \`max-width: var(--page-width)\`.
183
+ \`PageContentSection\`: \`grow\` (default \`true\`) lets the section absorb remaining height in flex layouts.
184
+
185
+ ## Column layout recipes
186
+
187
+ | Columns | When | Recipe |
188
+ | -------------- | ----------------------------- | ---------------------------------------------------------------------------------- |
189
+ | 1 | Single full-width body | \`PageHeader\` → \`PageContent\` → \`PageContentSection\` — **do not** use \`PageColumns\` |
190
+ | 2 equal | Two peers | \`PageColumns columns={[a, b]}\` inside one \`PageContentSection\` |
191
+ | 2 main + aside | Content + fixed sidebar | \`PageColumns fill="left"\` or \`fill="right"\` — **2 columns only** |
192
+ | 3 equal | Three peers (metrics, panels) | \`PageColumns columns={[a, b, c]}\` |
193
+ | 4 equal | Four peers | \`PageColumns columns={[a, b, c, d]}\` |
194
+
195
+ Use **PageColumns** for a fixed column count content row. Use **GridLayout** for auto-wrapping card/tile grids (variable tile count, \`minmax\` columns).
196
+
197
+ ### PageColumns
198
+
199
+ Side-by-side columns with gap inside one \`PageContentSection\`. **\`fill\`** controls which column(s) grow:
200
+
201
+ | \`fill\` | Behavior |
202
+ | -------- | ---------------------------------------------------------------------------- |
203
+ | _(omit)_ | Equal flex columns (\`flex: 1 1 0\`) — default for **2, 3, or 4** equal peers. |
204
+ | \`left\` | **2-column only:** first column grows; second stays at fixed 360px width. |
205
+ | \`right\` | **2-column only:** last column grows; first stays at fixed 360px width. |
206
+
207
+ Pass \`columns={[node1, node2, …]}\`. For 3–4 equal columns, omit \`fill\`; do not use \`left\`/\`right\`. On mobile, stacks vertically.
208
+
209
+ ### PageXScroll
210
+
211
+ Horizontal scroll strip; used inside \`PageTabs\` and anywhere a overflowing row needs page-aligned padding. Props: \`size\`, \`fullWidth\`, \`innerClassName\`, \`scrollbarClassName\`.
212
+
213
+ ### SectionHeader
214
+
215
+ In-section title block (\`title\`, \`description\`, \`actions\`). Use **inside** \`PageContentSection\`, not as a replacement for \`PageHeader\`.
216
+
217
+ ### PageEmptyCanvas
218
+
219
+ Centered empty state: \`title\`, \`hint\`, optional \`children\` (e.g. CTA button). Use when a route has no data yet.
220
+
221
+ ### GridLayout
222
+
223
+ Responsive CSS grid (\`repeat(auto-fit, minmax(colWidth, 1fr))\`). Use for card/tile dashboards inside a section. Report mapping: dashboard **grid** rows / multi-column tile groups.
224
+
225
+ ### Card / Foldable
226
+
227
+ Use inside sections for grouped content; see package \`AGENT.md\` on those components when present. Do not wrap the whole page in Card.
228
+
229
+ ## Content mode — React → json-dashboard tiles
230
+
231
+ When generating **report** / dashboard specs (not workspace routes), map UI blocks to tiles:
232
+
233
+ | React / intent | Dashboard tile / markdown |
234
+ | ------------------------------- | ----------------------------------------------------------------- |
235
+ | \`PageHeader\` title text | First \`markdown\` tile \`# Title\` or report title field |
236
+ | \`SectionHeader\` \`title\` | \`markdown\` with \`## …\` |
237
+ | \`SectionHeader\` \`description\` | markdown paragraph under that heading |
238
+ | \`PageContentSection\` block | group of tiles or one markdown section |
239
+ | \`PageColumns\` (N equal columns) | group of N sibling tiles in one dashboard row |
240
+ | \`GridLayout\` children | grid row of widget tiles |
241
+ | \`ChartAreaInteractive\` / charts | \`dataset_card\`, \`performance_chart\`, etc. (see widget \`AGENT.md\`) |
242
+ | \`PageEmptyCanvas\` copy | \`markdown\` explanatory tile |
243
+
244
+ See \`AGENT.report-only-tiles.md\` in the app repo for tiles without a uilib widget.
245
+
246
+ ## Shell components (workspace only)
247
+
248
+ Not part of the per-route skeleton but part of **workspace-page** host wiring:
249
+
250
+ - **AppShell** / **AppShellMainContent** — sidebar + main column + header slot + footer.
251
+ - **PageScroll** — scroll root for the main column.
252
+ - **SybilionAppHeader** — workspace app switcher + user menu (lives in header slot, not inside \`PageContent\`).
253
+
254
+ ## Anti-patterns
255
+
256
+ - \`PageTabs\` inside \`PageContentSection\`.
257
+ - Inline styles or Tailwind for page structure.
258
+ - Second \`PageHeader\` nested in content.
259
+ - \`PageContent\` without sections for multi-block pages (prefer multiple \`PageContentSection\`).
260
+ - Wrapping data widgets in extra layout divs with hard-coded padding.
261
+
262
+ ## Future candidates (not implemented)
263
+
264
+ - **PageToolbar** — dedicated action row between header and tabs.
265
+ - **PageFullBleed** — edge-to-edge section escape hatch.
266
+
267
+ Do not add these locally; extend uilib when product needs them.
268
+
269
+ ## PerformanceChart
270
+
271
+ PerformanceChart is a widget for evaluating forecast accuracy. It plots per-horizon and spaghetti views of model and drift forecasts against historical data, linked to a metrics table with MAE and MAPE, and handles loading, empty, and run-analysis-hint states.
272
+
273
+ ## When to use
274
+
275
+ - To present backtest or performance-analysis results for a dataset’s forecasting models.
276
+ - To compare forecast horizons against actuals, including optional custom series matrices.
277
+
278
+ ## When not to use
279
+
280
+ - For plain historical or forecast charts without performance metrics; use ChartAreaInteractive or LightweightForecastChart.
281
+ - When no performance analysis exists yet; show a call to action to run one instead.
282
+
283
+ ## Do
284
+
285
+ - Wire the loading, empty, and hint props to your data-fetch state so the widget shows the right placeholder.
286
+
287
+ ## Report tile
288
+
289
+ - \`performance_chart\` — host loads performance payload + dataset series.
290
+
291
+ ## Host provides
292
+
293
+ - \`performanceData\` (PerformanceChartPayload) and \`historicalData\` from performance API
294
+ - Optional \`forecastData\`, \`customPerformanceMatrix\`, \`userSeries\` for spaghetti
295
+
296
+ ## Requires
297
+
298
+ - \`performanceData\` — model/drift forecasts and metrics; \`historicalData\` — baseline series; \`loading\` / \`chartLoading\` / \`performanceDataLoading\` — spinners; \`runAnalysisHint\` / \`statusHint\` — empty states.
299
+
300
+ ## Empty/loading
301
+
302
+ - loading props show shimmer/spinner; null \`performanceData\` with \`runAnalysisHint\` prompts to run analysis.
303
+
304
+ ## SidebarDatasetsItemsGrouped
305
+
306
+ # SidebarDatasetsItemsGrouped
307
+
308
+ Renders: expandable sidebar groups of datasets (by target type, regions, or categories).
309
+
310
+ Use when: app shell needs grouped dataset navigation.
311
+ Not when: in-page or report content (no sidebar slot).
312
+
313
+ Host provides:
314
+
315
+ - \`datasets\` list (\`SidebarDatasetsItemsGroupedDataset\`)
316
+ - \`groupBy\`, \`selectedDatasetId\`, \`onDatasetClick\`
317
+ - Optional \`preItems\` / \`postItems\`, \`defaultExpandedGroupNames\`
318
+
319
+ Report tile: Not used in report tiles.
320
+
321
+ Requires: \`datasets\`; \`groupBy\`; \`onDatasetClick\` for navigation.
322
+
323
+ Empty/loading: empty \`datasets\` renders no groups; loading handled by host before pass-in.`;
@@ -1,6 +1,91 @@
1
1
  /** Generated by scripts/build-agent-glossary.mjs — do not edit. */
2
- export const CONTENT_AGENT_UI_GLOSSARY = `Sybilion page content glossary (content profile)
2
+ export const CONTENT_AGENT_UI_GLOSSARY = `# Sybilion page content glossary (embedded)
3
3
 
4
+ Component usage for report/dashboard LLM prompts. Paths are relative to \`@sybilion/uilib\` package root.
5
+
6
+ ## DriverMap
7
+
8
+ DriverMap renders a world map with regional driver badges, a bottom strip for world-level drivers, and selection highlight. DriverCard shows the detail of the selected driver; both share selection state via controlled selectedDriver.
9
+
10
+ ## When to use
11
+
12
+ - To give a geographic overview of where drivers originate and let users explore them by region.
13
+ - Alongside DriverCard, so selecting a driver on the map reveals its importance, lag, and summary.
14
+ - When drivers carry coordinates or region metadata that benefits from a spatial presentation.
15
+ - Geographic driver exploration for one analysis.
16
+
17
+ ## When not to use
18
+
19
+ - When drivers have no meaningful geography; a table or list ranks them more clearly.
20
+ - For comparing driver series over time; use DriversComparisonChart instead.
21
+ - Driver detail metrics card alone (pair with DriverCard) or normalized series chart (use DriversComparisonChart).
22
+
23
+ ## Do
24
+
25
+ - Pass isLoading to both the map and the card so their loading states stay in sync.
26
+ - Provide a driverSelector in DriverCard so users can page through drivers without using the map.
27
+
28
+ ## Report tile
29
+
30
+ - \`drivers_map\` — tile resolves analysis id, fetches drivers, passes list + selection.
31
+
32
+ ## Host provides
33
+
34
+ - \`drivers\` as \`DriverData[]\` from analysis API
35
+ - Controlled \`selectedDriver\` + \`setSelectedDriver\`
36
+ - \`isLoading\` while fetching drivers
37
+
38
+ ## Requires
39
+
40
+ - \`drivers\`; \`isLoading\`; \`selectedDriver\`; \`setSelectedDriver\`.
41
+
42
+ ## Empty/loading
43
+
44
+ - \`isLoading\` shows overlay; empty \`drivers\` leaves map without badges.
45
+
46
+ ## DriversComparisonChart
47
+
48
+ DriversComparisonChart plots a normalized target line against the normalized series of its drivers, with a table of drivers underneath. The Lagged and Overlapped view tabs control whether driver series are shifted by their reported lag or aligned in time, and table rows toggle each series on the chart.
49
+
50
+ ## When to use
51
+
52
+ - To show how individual drivers move relative to a backtested target over time.
53
+ - When users need to compare lagged and contemporaneous alignment of driver series.
54
+ - When the driver table and the chart should stay linked, so hiding a row hides its line.
55
+
56
+ ## When not to use
57
+
58
+ - For a single series with no target to compare against; use ChartAreaInteractive directly.
59
+ - When drivers lack normalized series data; the chart needs a populated payload to be useful.
60
+
61
+ ## Do
62
+
63
+ - Provide a statusHint when the payload is empty so users understand why the chart is blank.
64
+ - Control viewTab from the page when an external Lagged/Overlapped switcher should stay in sync.
65
+
66
+ ## Report tile
67
+
68
+ - \`drivers_comparison_chart\` — host loads normalized backtests payload + dataset historical.
69
+
70
+ ## Host provides
71
+
72
+ - \`payload\`: BacktestsComponentPayload from platform SDK (host fetch per analysis)
73
+ - Optional \`datasetHistorical\` overlay
74
+ - \`seriesInitKey\` when selected analysis changes
75
+ - \`viewTab\` / \`onViewTabChange\`: \`lagged\` (calendar-aligned, raw dates) or \`overlapped\` (driver series shifted backward by parsed lag months)
76
+ - View tabs: host should render uilib \`Tabs variant="button"\` with **Lagged** / **Overlapped** in the toolbar. Chart applies \`applyDriversComparisonViewToPayload\` internally.
77
+
78
+ ## Requires
79
+
80
+ - \`payload\` — target + driver normalized_series; \`loading\` / \`chartLoading\` — spinners; \`seriesInitKey\` — reset visible series on analysis or view tab change; \`runAnalysisHint\` / \`statusHint\` — empty/error text.
81
+ - Lag column: **Lagged** shows API \`lag\` string (may be a range). **Overlapped** shows single \`N month(s)\` from \`parseLagMonthsFromLabel\` (range uses max month).
82
+ - Historical window: lead-in is anchored to the **lagged** (unshifted) view (\`computeDriversComparisonHistoricalWindowFloor\`); overlapped tab shifts driver lines backward only — switching tabs does not change historical extent when floor is pinned.
83
+
84
+ ## Empty/loading
85
+
86
+ - loading props shimmer chart; null \`payload\` with \`runAnalysisHint\` prompts to run analysis.
87
+
88
+ ## Page
4
89
 
5
90
  # Page layout system
6
91
 
@@ -97,17 +182,29 @@ Sticky-style page title row: breadcrumbs (optional sidebar trigger in full app),
97
182
  \`PageContent\`: column flex child, \`max-width: var(--page-width)\`.
98
183
  \`PageContentSection\`: \`grow\` (default \`true\`) lets the section absorb remaining height in flex layouts.
99
184
 
185
+ ## Column layout recipes
186
+
187
+ | Columns | When | Recipe |
188
+ | -------------- | ----------------------------- | ---------------------------------------------------------------------------------- |
189
+ | 1 | Single full-width body | \`PageHeader\` → \`PageContent\` → \`PageContentSection\` — **do not** use \`PageColumns\` |
190
+ | 2 equal | Two peers | \`PageColumns columns={[a, b]}\` inside one \`PageContentSection\` |
191
+ | 2 main + aside | Content + fixed sidebar | \`PageColumns fill="left"\` or \`fill="right"\` — **2 columns only** |
192
+ | 3 equal | Three peers (metrics, panels) | \`PageColumns columns={[a, b, c]}\` |
193
+ | 4 equal | Four peers | \`PageColumns columns={[a, b, c, d]}\` |
194
+
195
+ Use **PageColumns** for a fixed column count content row. Use **GridLayout** for auto-wrapping card/tile grids (variable tile count, \`minmax\` columns).
196
+
100
197
  ### PageColumns
101
198
 
102
- Side-by-side columns with gap. **\`fill\`** controls which column(s) grow:
199
+ Side-by-side columns with gap inside one \`PageContentSection\`. **\`fill\`** controls which column(s) grow:
103
200
 
104
- | \`fill\` | Behavior |
105
- | --------------- | ----------------------------------------------------------------------------------------------- |
106
- | \`all\` (default) | Every column \`flex-grow: 1\`, \`max-width\` unset — use for equal split or fluid grids of columns. |
107
- | \`left\` | First column grows; others stay at fixed min/max column width. |
108
- | \`right\` | Last column grows. |
201
+ | \`fill\` | Behavior |
202
+ | -------- | ---------------------------------------------------------------------------- |
203
+ | _(omit)_ | Equal flex columns (\`flex: 1 1 0\`) — default for **2, 3, or 4** equal peers. |
204
+ | \`left\` | **2-column only:** first column grows; second stays at fixed 360px width. |
205
+ | \`right\` | **2-column only:** last column grows; first stays at fixed 360px width. |
109
206
 
110
- Pass \`columns={[node1, node2, …]}\`. On mobile, stacks vertically. Typical pattern: main + aside inside one \`PageContentSection\`.
207
+ Pass \`columns={[node1, node2, …]}\`. For 3–4 equal columns, omit \`fill\`; do not use \`left\`/\`right\`. On mobile, stacks vertically.
111
208
 
112
209
  ### PageXScroll
113
210
 
@@ -139,6 +236,7 @@ When generating **report** / dashboard specs (not workspace routes), map UI bloc
139
236
  | \`SectionHeader\` \`title\` | \`markdown\` with \`## …\` |
140
237
  | \`SectionHeader\` \`description\` | markdown paragraph under that heading |
141
238
  | \`PageContentSection\` block | group of tiles or one markdown section |
239
+ | \`PageColumns\` (N equal columns) | group of N sibling tiles in one dashboard row |
142
240
  | \`GridLayout\` children | grid row of widget tiles |
143
241
  | \`ChartAreaInteractive\` / charts | \`dataset_card\`, \`performance_chart\`, etc. (see widget \`AGENT.md\`) |
144
242
  | \`PageEmptyCanvas\` copy | \`markdown\` explanatory tile |
@@ -168,84 +266,59 @@ Not part of the per-route skeleton but part of **workspace-page** host wiring:
168
266
 
169
267
  Do not add these locally; extend uilib when product needs them.
170
268
 
171
- # ChartAreaInteractive
172
-
173
- Renders: time-series chart with historical line, forecast lines, optional pin / quantile-band / threshold overlays.
174
-
175
- Use when: custom forecast UI with overlays or full chart control.
176
- Not when: packaged performance or drivers-comparison views (use PerformanceChart or DriversComparisonChart).
177
-
178
- Host provides:
179
-
180
- - \`chartData\`, \`forecastData\` built from API
181
- - \`timeRange\` / \`onTimeRangeChange\` or brush-only range
182
- - Optional \`mode\`: pin | intervals | thresholds + overlay state
183
-
184
- Report tile: \`dataset_card\` — host loads dataset + analysis; chart inside dashboard card.
269
+ ## PerformanceChart
185
270
 
186
- Requires: \`chartData\`; \`forecastData\`; \`loading\`; \`toggleLegendSeries\` / \`ensureAnalysisSeriesVisible\` when legend is external.
271
+ PerformanceChart is a widget for evaluating forecast accuracy. It plots per-horizon and spaghetti views of model and drift forecasts against historical data, linked to a metrics table with MAE and MAPE, and handles loading, empty, and run-analysis-hint states.
187
272
 
188
- Empty/loading: \`loading\`, \`error\`; empty data shows chart empty state via host message props.
273
+ ## When to use
189
274
 
190
- # DriverMap
275
+ - To present backtest or performance-analysis results for a dataset’s forecasting models.
276
+ - To compare forecast horizons against actuals, including optional custom series matrices.
191
277
 
192
- Renders: world map with regional driver badges, bottom strip for world-level drivers, selection highlight.
278
+ ## When not to use
193
279
 
194
- Use when: geographic driver exploration for one analysis.
195
- Not when: driver detail metrics card alone (pair with DriverCard) or normalized series chart (use DriversComparisonChart).
280
+ - For plain historical or forecast charts without performance metrics; use ChartAreaInteractive or LightweightForecastChart.
281
+ - When no performance analysis exists yet; show a call to action to run one instead.
196
282
 
197
- Host provides:
198
-
199
- - \`drivers\` as \`DriverData[]\` from analysis API
200
- - Controlled \`selectedDriver\` + \`setSelectedDriver\`
201
- - \`isLoading\` while fetching drivers
202
-
203
- Report tile: \`drivers_map\` — tile resolves analysis id, fetches drivers, passes list + selection.
204
-
205
- Requires: \`drivers\`; \`isLoading\`; \`selectedDriver\`; \`setSelectedDriver\`.
206
-
207
- Empty/loading: \`isLoading\` shows overlay; empty \`drivers\` leaves map without badges.
283
+ ## Do
208
284
 
209
- # PerformanceChart
285
+ - Wire the loading, empty, and hint props to your data-fetch state so the widget shows the right placeholder.
210
286
 
211
- Renders: forecast performance on ChartAreaInteractive — per-horizon tab (24m window, MAE/MAPE table) and spaghetti tab (all horizons overlaid).
287
+ ## Report tile
212
288
 
213
- Use when: dataset performance tab with horizon selector and error metrics.
214
- Not when: simple forecast card or driver backtests — use ChartAreaInteractive or DriversComparisonChart.
289
+ - \`performance_chart\` — host loads performance payload + dataset series.
215
290
 
216
- Host provides:
291
+ ## Host provides
217
292
 
218
293
  - \`performanceData\` (PerformanceChartPayload) and \`historicalData\` from performance API
219
294
  - Optional \`forecastData\`, \`customPerformanceMatrix\`, \`userSeries\` for spaghetti
220
295
 
221
- Report tile: \`performance_chart\` — host loads performance payload + dataset series.
222
-
223
- Requires: \`performanceData\` — model/drift forecasts and metrics; \`historicalData\` — baseline series; \`loading\` / \`chartLoading\` / \`performanceDataLoading\` — spinners; \`runAnalysisHint\` / \`statusHint\` — empty states.
296
+ ## Requires
224
297
 
225
- Empty/loading: loading props show shimmer/spinner; null \`performanceData\` with \`runAnalysisHint\` prompts to run analysis.
298
+ - \`performanceData\` — model/drift forecasts and metrics; \`historicalData\` — baseline series; \`loading\` / \`chartLoading\` / \`performanceDataLoading\` — spinners; \`runAnalysisHint\` / \`statusHint\` — empty states.
226
299
 
227
- # DriversComparisonChart
300
+ ## Empty/loading
228
301
 
229
- Renders: target vs drivers backtests chart with ChartAreaInteractive plus table; row click toggles series visibility.
302
+ - loading props show shimmer/spinner; null \`performanceData\` with \`runAnalysisHint\` prompts to run analysis.
230
303
 
231
- Use when: drivers comparison tab with normalized target and driver series from backtests payload.
232
- Not when: geographic map or performance horizons — use DriverMap or PerformanceChart.
304
+ ## SidebarDatasetsItemsGrouped
233
305
 
234
- Host provides:
306
+ # SidebarDatasetsItemsGrouped
235
307
 
236
- - \`payload\`: BacktestsComponentPayload from platform SDK (host fetch per analysis)
237
- - Optional \`datasetHistorical\` overlay
238
- - \`seriesInitKey\` when selected analysis changes
239
- - \`viewTab\` / \`onViewTabChange\`: \`lagged\` (calendar-aligned, raw dates) or \`overlapped\` (driver series shifted backward by parsed lag months)
308
+ Renders: expandable sidebar groups of datasets (by target type, regions, or categories).
240
309
 
241
- View tabs: host should render uilib \`Tabs variant="button"\` with **Lagged** / **Overlapped** in the toolbar. Chart applies \`applyDriversComparisonViewToPayload\` internally.
310
+ Use when: app shell needs grouped dataset navigation.
311
+ Not when: in-page or report content (no sidebar slot).
242
312
 
243
- Report tile: \`drivers_comparison_chart\` — host loads normalized backtests payload + dataset historical.
313
+ Host provides:
244
314
 
245
- Requires: \`payload\` — target + driver normalized_series; \`loading\` / \`chartLoading\` — spinners; \`seriesInitKey\` — reset visible series on analysis or view tab change; \`runAnalysisHint\` / \`statusHint\` — empty/error text.
315
+ - \`datasets\` list (\`SidebarDatasetsItemsGroupedDataset\`)
316
+ - \`groupBy\`, \`selectedDatasetId\`, \`onDatasetClick\`
317
+ - Optional \`preItems\` / \`postItems\`, \`defaultExpandedGroupNames\`
246
318
 
247
- Lag column: **Lagged** shows API \`lag\` string (may be a range). **Overlapped** shows single \`N month(s)\` from \`parseLagMonthsFromLabel\` (range uses max month).
319
+ Report tile: Not used in report tiles.
248
320
 
249
- Historical window: lead-in is anchored to the **lagged** (unshifted) view (\`computeDriversComparisonHistoricalWindowFloor\`); overlapped tab shifts driver lines backward only — switching tabs does not change historical extent when floor is pinned.
321
+ Requires: \`datasets\`; \`groupBy\`; \`onDatasetClick\` for navigation.
250
322
 
251
- Empty/loading: loading props shimmer chart; null \`payload\` with \`runAnalysisHint\` prompts to run analysis.`;
323
+ Empty/loading: empty \`datasets\` renders no groups; loading handled by host before pass-in.`;
324
+ export { CONTENT_AGENT_UI_PROMPT } from './content-prompt.generated.js';
@@ -0,0 +1,14 @@
1
+ # Sybilion UI glossary (content)
2
+
3
+ Entry point for report/dashboard agents using `@sybilion/uilib`. Open linked AGENT.md before using a component.
4
+
5
+ ## Layout
6
+
7
+ - [Page](src/components/ui/Page/AGENT.md) — Sybilion workspace and report surfaces use a small set of **Page** primitives from `@sybilion/uilib`. Agents must com…
8
+
9
+ ## Widgets
10
+
11
+ - [DriverMap](src/components/widgets/DriverMap/AGENT.md) — DriverMap renders a world map with regional driver badges, a bottom strip for world-level drivers, and selection high…
12
+ - [DriversComparisonChart](src/components/widgets/DriversComparisonChart/AGENT.md) — DriversComparisonChart plots a normalized target line against the normalized series of its drivers, with a table of d…
13
+ - [PerformanceChart](src/components/widgets/PerformanceChart/AGENT.md) — PerformanceChart is a widget for evaluating forecast accuracy. It plots per-horizon and spaghetti views of model and …
14
+ - [SidebarDatasetsItemsGrouped](src/components/widgets/SidebarDatasetsItemsGrouped/AGENT.md) — Renders: expandable sidebar groups of datasets (by target type, regions, or categories).