@intelliweave/embedded 1.7.57 → 1.7.59

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/custom.d.ts CHANGED
@@ -17,4 +17,4 @@ declare namespace URL {
17
17
  declare module 'bestzip' {
18
18
  const content: any;
19
19
  export default content;
20
- }
20
+ }
@@ -594,6 +594,12 @@ interface WebWeaverGPTConfig {
594
594
  instructions?: string;
595
595
  /** Introduction message, used in the automatic UI */
596
596
  introductionMessage?: string;
597
+ /** URL to the logo image to display in the chat UI */
598
+ logo?: string;
599
+ /** Background color or gradient or image for the chat UI */
600
+ background?: string;
601
+ /** Text color for the chat UI */
602
+ textColor?: string;
597
603
  /** Voice information */
598
604
  voice?: {
599
605
  /** Provider ID */
@@ -679,7 +685,7 @@ declare class IntelliWeave extends EventTarget {
679
685
  setModel(id: string): void;
680
686
  private _lastSystemMsg;
681
687
  /** Get the system message prefix, before the KB entries are added */
682
- getContextPrefix(): Promise<any>;
688
+ getContextPrefix(): Promise<string>;
683
689
  /** Get system message to send to the AI */
684
690
  onBeforeMessageProcessing(): Promise<void>;
685
691
  private _lastOutput?;
@@ -783,6 +789,11 @@ declare class WebWeaverEmbed extends BaseComponent {
783
789
  html: () => string;
784
790
  /** On create */
785
791
  onCreate(): void;
792
+ private _lastLogo?;
793
+ private _lastBackground?;
794
+ private _lastTextColor?;
795
+ /** Apply UI styles from config and attributes, prioritizing attributes */
796
+ private applyConfigStylesAndAttributes;
786
797
  /** Called on update */
787
798
  onUpdate(): void;
788
799
  /** Called when the component is created */