@intelliweave/embedded 2.0.72-beta.6 → 2.0.72-beta.7

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.
@@ -0,0 +1 @@
1
+ var g=Object.create;var e=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});var n=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),o=(a,b)=>{for(var c in b)e(a,c,{get:b[c],enumerable:!0})},l=(a,b,c,f)=>{if(b&&typeof b=="object"||typeof b=="function")for(let d of i(b))!k.call(a,d)&&d!==c&&e(a,d,{get:()=>b[d],enumerable:!(f=h(b,d))||f.enumerable});return a};var p=(a,b,c)=>(c=a!=null?g(j(a)):{},l(b||!a||!a.__esModule?e(c,"default",{value:a,enumerable:!0}):c,a));export{m as a,n as b,o as c,p as d};
@@ -545,6 +545,25 @@ interface KnowledgeBaseItem {
545
545
  action?: (input: any, ai: IntelliWeave) => (any | Promise<any>);
546
546
  /** If specified, will hide this action from the default UI after the AI finishes running it, or always hide it */
547
547
  hideActionInUI?: 'always' | 'after-complete';
548
+ /** Attachments such as images, etc */
549
+ attachments?: KnowledgeBaseItemAttachment[];
550
+ }
551
+ /** Knowledge base item attachment, such as an image, file, etc. */
552
+ interface KnowledgeBaseItemAttachment {
553
+ /** UUID */
554
+ uuid: string;
555
+ /** Attachment mime type */
556
+ mimeType: string;
557
+ /** File name */
558
+ name: string;
559
+ /** Full URL to access the file. This is required for the AI to be able to see the attachment. */
560
+ url?: string;
561
+ /** UNIX timestamp (milliseconds since epoch) when the file was added */
562
+ dateAdded?: number;
563
+ /** Internal path to where the file is stored */
564
+ path?: string;
565
+ /** File size */
566
+ size?: number;
548
567
  }
549
568
  /** Parameter definition used by IntelliWeave */
550
569
  interface IntelliWeaveParameterDefinition {
@@ -1077,6 +1096,8 @@ interface WebWeaverGPTConfig {
1077
1096
  offsetX?: number;
1078
1097
  /** Vertical offset from edge in pixels (default: 20) - only used when positioningMode is 'fixed' */
1079
1098
  offsetY?: number;
1099
+ /** Identifier of an external app or service which manages this persona, if any. (eg. "chatterly") */
1100
+ managedBy?: string;
1080
1101
  /** Voice information */
1081
1102
  voice?: {
1082
1103
  /** Provider ID */
@@ -1342,6 +1363,10 @@ declare class WebWeaverEmbed extends BaseComponent {
1342
1363
  onSuggestionClick(e: Event, suggestion: string): void;
1343
1364
  /** Called when an LLM model is selected */
1344
1365
  onLLMModelSelect(e: CustomEvent): void;
1366
+ /** Called when the content area is scrolled */
1367
+ onContentScroll(e: Event): void;
1368
+ /** Displays whitelabeled branding for known apps */
1369
+ private updateBrandingFor;
1345
1370
  }
1346
1371
 
1347
1372
  /**