@pillar-ai/sdk 0.1.29 → 0.1.30

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.
@@ -6,4 +6,3 @@ export { PillarProvider, usePillar, useAPI, useEvents } from './context';
6
6
  export * from './shared';
7
7
  export * from './Views';
8
8
  export * from './Progress';
9
- export * from './PagePilot';
@@ -49,7 +49,6 @@ export declare class Pillar {
49
49
  private _events;
50
50
  private _api;
51
51
  private _textSelectionManager;
52
- private _pagePilotManager;
53
52
  private _panel;
54
53
  private _edgeTrigger;
55
54
  private _mobileTrigger;
@@ -346,6 +346,11 @@ export interface PillarConfig {
346
346
  * @default 'Ask anything...'
347
347
  */
348
348
  inputPlaceholder?: string;
349
+ /**
350
+ * Welcome message shown in the home view.
351
+ * @default 'Hi! How can I help you today?'
352
+ */
353
+ welcomeMessage?: string;
349
354
  /**
350
355
  * Platform identifier for code-first actions.
351
356
  * Used to filter actions by deployment platform.
@@ -488,6 +493,8 @@ export interface ResolvedConfig {
488
493
  assistantDisplayName: string;
489
494
  /** Placeholder text shown in the chat input field */
490
495
  inputPlaceholder: string;
496
+ /** Welcome message shown in the home view */
497
+ welcomeMessage: string;
491
498
  /** Platform for code-first actions (default: 'web') */
492
499
  platform: Platform;
493
500
  /** App version for code-first actions (optional) */
@@ -520,6 +527,8 @@ export interface ServerEmbedConfig {
520
527
  assistantDisplayName?: string;
521
528
  /** Placeholder text for the chat input (from config.ai.inputPlaceholder) */
522
529
  inputPlaceholder?: string;
530
+ /** Welcome message shown in the home view (from config.ai.welcomeMessage) */
531
+ welcomeMessage?: string;
523
532
  panel?: {
524
533
  enabled?: boolean;
525
534
  position?: 'left' | 'right';
@@ -553,3 +562,13 @@ export interface ServerEmbedConfig {
553
562
  * @returns Merged config with server values filling in gaps
554
563
  */
555
564
  export declare function mergeServerConfig(localConfig: PillarConfig, serverConfig: ServerEmbedConfig | null): PillarConfig;
565
+ /**
566
+ * Warn about config mismatches between local and server config.
567
+ *
568
+ * Helps developers notice when their code-defined settings differ
569
+ * from admin dashboard settings. Local config always takes precedence.
570
+ *
571
+ * @param localConfig - Config passed to Pillar.init()
572
+ * @param serverConfig - Config fetched from server
573
+ */
574
+ export declare function warnConfigMismatches(localConfig: PillarConfig, serverConfig: ServerEmbedConfig | null): void;