@aikaara/chat-sdk 1.5.3 → 1.5.4

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.
@@ -2604,6 +2604,29 @@ export declare interface WidgetConfigDescriptor {
2604
2604
  defaultRoute: string;
2605
2605
  /** Map of route id → definition. */
2606
2606
  routes: Record<string, RouteDef>;
2607
+ /**
2608
+ * Config for the native `screen:home` landing screen. Rendered by the
2609
+ * hosted-shell's Router when a route's `component` is `"screen:home"`.
2610
+ * No bundle required — the shell renders it natively.
2611
+ */
2612
+ home?: {
2613
+ cards: Array<{
2614
+ /** Unique identifier for this card. */
2615
+ id: string;
2616
+ /** Small muted label above the title (e.g. "Click to"). */
2617
+ label?: string;
2618
+ /** Bold primary title (e.g. "Tax Filing"). */
2619
+ title: string;
2620
+ /** First subtitle line (e.g. "File taxes your way…"). */
2621
+ subtitle?: string;
2622
+ /** Second description line. */
2623
+ description?: string;
2624
+ /** URL of illustration shown on the right side of the card. */
2625
+ imageUrl?: string;
2626
+ /** Route id to navigate to when this card is tapped. */
2627
+ navigateTo: string;
2628
+ }>;
2629
+ };
2607
2630
  /**
2608
2631
  * Static page list rendered by the hosted-shell's top/bottom nav. The
2609
2632
  * dashboard's App Layout tab writes this; the SDK doesn't read it.
package/dist/index.d.ts CHANGED
@@ -2375,6 +2375,29 @@ export declare interface WidgetConfigDescriptor {
2375
2375
  defaultRoute: string;
2376
2376
  /** Map of route id → definition. */
2377
2377
  routes: Record<string, RouteDef>;
2378
+ /**
2379
+ * Config for the native `screen:home` landing screen. Rendered by the
2380
+ * hosted-shell's Router when a route's `component` is `"screen:home"`.
2381
+ * No bundle required — the shell renders it natively.
2382
+ */
2383
+ home?: {
2384
+ cards: Array<{
2385
+ /** Unique identifier for this card. */
2386
+ id: string;
2387
+ /** Small muted label above the title (e.g. "Click to"). */
2388
+ label?: string;
2389
+ /** Bold primary title (e.g. "Tax Filing"). */
2390
+ title: string;
2391
+ /** First subtitle line (e.g. "File taxes your way…"). */
2392
+ subtitle?: string;
2393
+ /** Second description line. */
2394
+ description?: string;
2395
+ /** URL of illustration shown on the right side of the card. */
2396
+ imageUrl?: string;
2397
+ /** Route id to navigate to when this card is tapped. */
2398
+ navigateTo: string;
2399
+ }>;
2400
+ };
2378
2401
  /**
2379
2402
  * Static page list rendered by the hosted-shell's top/bottom nav. The
2380
2403
  * dashboard's App Layout tab writes this; the SDK doesn't read it.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aikaara/chat-sdk",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "type": "module",
5
5
  "description": "Aikaara Chat SDK — embeddable chat widget and headless client",
6
6
  "license": "MIT",