@intelliweave/embedded 1.9.69-beta.1 → 1.9.69-beta.3
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/dist/component/component.d.ts +27 -2
- package/dist/component/component.js +15 -15
- package/dist/intelliweave-wordpress.zip +0 -0
- package/dist/node/node.d.ts +28 -7
- package/dist/node/node.js +13 -13
- package/dist/react/react.d.ts +27 -2
- package/dist/react/react.js +21 -21
- package/dist/script-tag/script-tag.js +44 -44
- package/dist/webpack/index.d.ts +28 -7
- package/dist/webpack/index.js +20 -20
- package/package.json +1 -1
|
@@ -854,6 +854,21 @@ ConfigFormat extends ChatBaseConfig = ChatBaseConfig> {
|
|
|
854
854
|
registerTool(tool: ChatBaseToolConfig): TokenWindowGroupItem<ChatBaseToolConfig>;
|
|
855
855
|
}
|
|
856
856
|
|
|
857
|
+
/** Built-in action flags for the persona */
|
|
858
|
+
interface BuiltInActionFlags {
|
|
859
|
+
/** Allows the AI to display follow-up suggestions */
|
|
860
|
+
allowSuggestionButtons?: boolean;
|
|
861
|
+
/** Allows the AI to open a new tab pointing to any URL */
|
|
862
|
+
allowOpenNewTab?: boolean;
|
|
863
|
+
/** Allows the AI to perform an arbitrary HTTP request */
|
|
864
|
+
allowHttpRequests?: boolean;
|
|
865
|
+
/** Allows the AI to set the path of the current page */
|
|
866
|
+
allowChangeRoute?: boolean;
|
|
867
|
+
/** Allows the AI to craft an email and use mailto: link */
|
|
868
|
+
allowSendEmail?: boolean;
|
|
869
|
+
/** Makes the AI only use information from knowledge bases, not general knowledge */
|
|
870
|
+
onlyUseKnowledgeBase?: boolean;
|
|
871
|
+
}
|
|
857
872
|
/** Persona config received from the hub */
|
|
858
873
|
interface WebWeaverGPTConfig {
|
|
859
874
|
/** ID */
|
|
@@ -896,6 +911,8 @@ interface WebWeaverGPTConfig {
|
|
|
896
911
|
knowledge?: KnowledgeBaseSource[];
|
|
897
912
|
/** MCP servers */
|
|
898
913
|
mcpServers?: MCPKnowledgeClient['config'][];
|
|
914
|
+
/** Built-in action flags that are currently enabled */
|
|
915
|
+
flags?: BuiltInActionFlags;
|
|
899
916
|
}
|
|
900
917
|
/**
|
|
901
918
|
* IntelliWeave interface, loads a Persona from the hub and allows you to interact with it. This is the main entry point into the IntelliWeave
|
|
@@ -913,6 +930,8 @@ interface WebWeaverGPTConfig {
|
|
|
913
930
|
declare class IntelliWeave extends EventTarget {
|
|
914
931
|
/** App version */
|
|
915
932
|
static version: string;
|
|
933
|
+
/** Built-in actions version - increment this when adding new actions */
|
|
934
|
+
static builtInActionsVersion: string;
|
|
916
935
|
/** Callback when a message from the AI is returned. If isChunk is true, it may be incomplete and be called again with more updates. */
|
|
917
936
|
onAIMessage?: (text: string, isChunk: boolean) => void;
|
|
918
937
|
/** Callback when the AI starts performing an action */
|
|
@@ -943,6 +962,14 @@ declare class IntelliWeave extends EventTarget {
|
|
|
943
962
|
vadModel?: Blob;
|
|
944
963
|
/** True if the AI has loaded */
|
|
945
964
|
get loaded(): boolean;
|
|
965
|
+
/** Built-in action flags from the config */
|
|
966
|
+
get flags(): BuiltInActionFlags;
|
|
967
|
+
/** Get information about available built-in actions */
|
|
968
|
+
getBuiltInActionsInfo(): {
|
|
969
|
+
version: string;
|
|
970
|
+
availableActions: string[];
|
|
971
|
+
enabledFlags: BuiltInActionFlags;
|
|
972
|
+
};
|
|
946
973
|
/** If loading fails, this stores the last error during load() */
|
|
947
974
|
error?: Error;
|
|
948
975
|
/** IntelliWeave API key */
|
|
@@ -953,8 +980,6 @@ declare class IntelliWeave extends EventTarget {
|
|
|
953
980
|
logic: AILogic;
|
|
954
981
|
/** A unique ID to identify this user. Defaults to a value stored in localStorage, or random. */
|
|
955
982
|
userID: string;
|
|
956
|
-
/** Extra data that will be passed to external knowledge base actions. */
|
|
957
|
-
extra: any;
|
|
958
983
|
/** URL of the IntelliWeave Hub API */
|
|
959
984
|
hubAPI: string;
|
|
960
985
|
/** Set model and load data from an API key */
|