@inkeep/agents-ui-cloud 0.15.15 → 0.15.16

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/index.d.cts CHANGED
@@ -2,9 +2,11 @@ import { InkeepAIChatSettings } from '@inkeep/agents-ui/types';
2
2
  import { InkeepBaseSettings } from '@inkeep/agents-ui/types';
3
3
  import { InkeepChatButtonModalProps as InkeepChatButtonModalProps_2 } from '@inkeep/agents-ui';
4
4
  import { InkeepChatButtonProps as InkeepChatButtonProps_2 } from '@inkeep/agents-ui';
5
+ import { InkeepComponentInstance } from '@inkeep/agents-ui/types';
5
6
  import { InkeepEmbeddedChatProps as InkeepEmbeddedChatProps_2 } from '@inkeep/agents-ui';
6
7
  import { InkeepEmbeddedSearchAndChatProps as InkeepEmbeddedSearchAndChatProps_2 } from '@inkeep/agents-ui';
7
8
  import { InkeepEmbeddedSearchProps as InkeepEmbeddedSearchProps_2 } from '@inkeep/agents-ui';
9
+ import { InkeepJSComponent } from '@inkeep/agents-ui/types';
8
10
  import { InkeepModalSearchAndChatProps as InkeepModalSearchAndChatProps_2 } from '@inkeep/agents-ui';
9
11
  import { InkeepSearchBarProps as InkeepSearchBarProps_2 } from '@inkeep/agents-ui';
10
12
  import { InkeepSearchSettings } from '@inkeep/agents-ui/types';
@@ -60,12 +62,23 @@ export declare interface InkeepCloudBaseSettings extends InkeepBaseSettings {
60
62
  env?: 'development' | 'production';
61
63
  }
62
64
 
65
+ export declare type InkeepCloudComponentInitializer = {
66
+ (props: InkeepCloudComponentProps): InkeepComponentInstance | undefined;
67
+ (targetSelector: string, props: InkeepCloudComponentProps): InkeepComponentInstance | undefined;
68
+ };
69
+
70
+ export declare type InkeepCloudComponentProps = InkeepCloudSettings & {
71
+ [key: string]: any;
72
+ };
73
+
63
74
  export declare interface InkeepCloudConfig {
64
75
  baseSettings: InkeepCloudBaseSettings;
65
76
  aiChatSettings: InkeepCloudAIChatSettings;
66
77
  searchSettings: InkeepCloudSearchSettings;
67
78
  }
68
79
 
80
+ export declare type InkeepCloudJS = Partial<Record<InkeepJSComponent, InkeepCloudComponentInitializer>>;
81
+
69
82
  export declare interface InkeepCloudSearchSettings extends InkeepSearchSettings {
70
83
  /**
71
84
  * The API key to use for authenticating with Inkeep's services.
@@ -99,6 +112,13 @@ export declare interface InkeepCloudSearchSettings extends InkeepSearchSettings
99
112
  onSearchWithFilters?: (searchInput: SearchInput, abortSignal: AbortSignal) => Promise<SearchHit[]>;
100
113
  }
101
114
 
115
+ export declare interface InkeepCloudSettings {
116
+ baseSettings?: InkeepCloudBaseSettings;
117
+ aiChatSettings?: InkeepCloudAIChatSettings;
118
+ searchSettings?: InkeepCloudSearchSettings;
119
+ openSettings?: OpenSettingsModal;
120
+ }
121
+
102
122
  export declare function InkeepEmbeddedChat(props: InkeepEmbeddedChatProps): JSX.Element;
103
123
 
104
124
  export declare interface InkeepEmbeddedChatProps extends InkeepEmbeddedChatProps_2 {
package/dist/index.d.ts CHANGED
@@ -2,9 +2,11 @@ import { InkeepAIChatSettings } from '@inkeep/agents-ui/types';
2
2
  import { InkeepBaseSettings } from '@inkeep/agents-ui/types';
3
3
  import { InkeepChatButtonModalProps as InkeepChatButtonModalProps_2 } from '@inkeep/agents-ui';
4
4
  import { InkeepChatButtonProps as InkeepChatButtonProps_2 } from '@inkeep/agents-ui';
5
+ import { InkeepComponentInstance } from '@inkeep/agents-ui/types';
5
6
  import { InkeepEmbeddedChatProps as InkeepEmbeddedChatProps_2 } from '@inkeep/agents-ui';
6
7
  import { InkeepEmbeddedSearchAndChatProps as InkeepEmbeddedSearchAndChatProps_2 } from '@inkeep/agents-ui';
7
8
  import { InkeepEmbeddedSearchProps as InkeepEmbeddedSearchProps_2 } from '@inkeep/agents-ui';
9
+ import { InkeepJSComponent } from '@inkeep/agents-ui/types';
8
10
  import { InkeepModalSearchAndChatProps as InkeepModalSearchAndChatProps_2 } from '@inkeep/agents-ui';
9
11
  import { InkeepSearchBarProps as InkeepSearchBarProps_2 } from '@inkeep/agents-ui';
10
12
  import { InkeepSearchSettings } from '@inkeep/agents-ui/types';
@@ -60,12 +62,23 @@ export declare interface InkeepCloudBaseSettings extends InkeepBaseSettings {
60
62
  env?: 'development' | 'production';
61
63
  }
62
64
 
65
+ export declare type InkeepCloudComponentInitializer = {
66
+ (props: InkeepCloudComponentProps): InkeepComponentInstance | undefined;
67
+ (targetSelector: string, props: InkeepCloudComponentProps): InkeepComponentInstance | undefined;
68
+ };
69
+
70
+ export declare type InkeepCloudComponentProps = InkeepCloudSettings & {
71
+ [key: string]: any;
72
+ };
73
+
63
74
  export declare interface InkeepCloudConfig {
64
75
  baseSettings: InkeepCloudBaseSettings;
65
76
  aiChatSettings: InkeepCloudAIChatSettings;
66
77
  searchSettings: InkeepCloudSearchSettings;
67
78
  }
68
79
 
80
+ export declare type InkeepCloudJS = Partial<Record<InkeepJSComponent, InkeepCloudComponentInitializer>>;
81
+
69
82
  export declare interface InkeepCloudSearchSettings extends InkeepSearchSettings {
70
83
  /**
71
84
  * The API key to use for authenticating with Inkeep's services.
@@ -99,6 +112,13 @@ export declare interface InkeepCloudSearchSettings extends InkeepSearchSettings
99
112
  onSearchWithFilters?: (searchInput: SearchInput, abortSignal: AbortSignal) => Promise<SearchHit[]>;
100
113
  }
101
114
 
115
+ export declare interface InkeepCloudSettings {
116
+ baseSettings?: InkeepCloudBaseSettings;
117
+ aiChatSettings?: InkeepCloudAIChatSettings;
118
+ searchSettings?: InkeepCloudSearchSettings;
119
+ openSettings?: OpenSettingsModal;
120
+ }
121
+
102
122
  export declare function InkeepEmbeddedChat(props: InkeepEmbeddedChatProps): JSX.Element;
103
123
 
104
124
  export declare interface InkeepEmbeddedChatProps extends InkeepEmbeddedChatProps_2 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-ui-cloud",
3
- "version": "0.15.15",
3
+ "version": "0.15.16",
4
4
  "description": "",
5
5
  "license": "Inkeep, Inc. Customer License (IICL) v1.1",
6
6
  "homepage": "",
@@ -40,7 +40,7 @@
40
40
  "dependencies": {
41
41
  "@radix-ui/react-use-controllable-state": "^1.1.0",
42
42
  "lucide-react": "^0.503.0",
43
- "@inkeep/agents-ui": "0.15.15"
43
+ "@inkeep/agents-ui": "0.15.16"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@biomejs/biome": "1.9.4",