@helpai/elements 0.35.0 → 0.36.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.
package/configurator.mjs CHANGED
@@ -562,7 +562,9 @@ var moduleSchema = z14.object({
562
562
  showSearchBar: z14.boolean().optional().describe("`home` \u2014 show the 'Search for help' bar (default true)."),
563
563
  showRecentConversations: z14.boolean().optional().describe("`home` \u2014 show the visitor's most recent conversation card (default true)."),
564
564
  status: z14.object({
565
- text: z14.string().min(1).max(120),
565
+ text: z14.string().min(1).max(120).optional().describe(
566
+ "`home` \u2014 status line; an i18n key or a literal (resolved via `localizeText`). Omit to use the built-in generic `homeStatus` string (localized, no custom key needed)."
567
+ ),
566
568
  level: z14.string().max(40).optional().describe(
567
569
  "`home` \u2014 status severity, drives the status icon colour. Free text; `operational` (green, default), `degraded` (amber), and `down` (red) are styled, any other value falls back to the operational style."
568
570
  ).meta({ examples: ["operational", "degraded", "down"] }),