@inkeep/agents-ui-js-cloud 0.0.0-dev-20260402200940 → 0.0.0-dev-20260403205747

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/types.d.ts CHANGED
@@ -71,7 +71,7 @@ export declare interface AIChatFunctions {
71
71
 
72
72
  /**
73
73
  * Resets the chat to its initial state.
74
- * Removes all messages and resets any active workflows.
74
+ * Removes all messages and resets the chat.
75
75
  */
76
76
  clearChat: () => void
77
77
 
@@ -884,9 +884,17 @@ export declare interface InkeepAIChatSettings {
884
884
  /**
885
885
  * Unique identifier for loading a specific conversation.
886
886
  * Use this to restore a previous conversation state.
887
+ * If the conversation is not found, a new conversation is started.
887
888
  */
888
889
  conversationId?: string
889
890
 
891
+ /**
892
+ * @deprecated Internal use only. Bypasses conversation loading and sets the
893
+ * conversation ID directly without fetching. Use `conversationId` instead to
894
+ * restore a previous conversation state.
895
+ */
896
+ conversationIdOverride?: string
897
+
890
898
  /**
891
899
  * When enabled, prevents users from sending new messages.
892
900
  * Useful for displaying archived or shared chat sessions.
@@ -937,17 +945,6 @@ export declare interface InkeepAIChatSettings {
937
945
  */
938
946
  messageActions?: CustomMessageAction[]
939
947
 
940
- /**
941
- * Custom heading text for the workflows section.
942
- * Use this to describe available automated processes or guided flows.
943
- */
944
- workflowsHeader?: string
945
-
946
- /**
947
- * Collection of interactive workflows that can be triggered during chat.
948
- * These can guide users through complex processes or data collection.
949
- */
950
- // workflows?: Workflow[]
951
948
 
952
949
  /**
953
950
  * Custom labels for the chat interface's action buttons.
@@ -1538,24 +1535,6 @@ export declare type Message = UIMessage<unknown, DataParts>
1538
1535
 
1539
1536
  export declare type MessageAction = 'copy' | 'upvote' | 'downvote'
1540
1537
 
1541
- export declare interface MessageAttachment {
1542
- contentType: MessageAttachmentContentType
1543
- title: string
1544
- content: string
1545
- id: string
1546
- context?: string[]
1547
- }
1548
-
1549
- /**
1550
- * MessageAttachmentContentType represents possible type of information that can be attached to a Workflow.
1551
- */
1552
- export declare type MessageAttachmentContentType = WorkflowCodeContentType | WorkflowTextContentType
1553
-
1554
- export declare interface MessageAttributes {
1555
- attachments?: MessageAttachment[]
1556
- workflow?: Workflow
1557
- }
1558
-
1559
1538
  declare type MessageChatAction = ExpandUnion<InvokeMessageCallbackAction | OpenFormAction | OpenUrlAction>
1560
1539
 
1561
1540
  export declare interface MessageFeedback {
@@ -1565,11 +1544,6 @@ export declare interface MessageFeedback {
1565
1544
  irrelevant_citations: boolean
1566
1545
  }
1567
1546
 
1568
- export declare interface MessageMetadata {
1569
- attributes?: MessageAttributes
1570
- context?: string
1571
- }
1572
-
1573
1547
  export declare interface ModalClosedEvent {
1574
1548
  eventName: 'modal_closed'
1575
1549
  properties: {}
@@ -2239,87 +2213,6 @@ export declare interface WidgetView {
2239
2213
  askAICardLabel?: string
2240
2214
  }
2241
2215
 
2242
- /**
2243
- * Workflow defines the interaction steps for the AI bot.
2244
- */
2245
- export declare interface Workflow {
2246
- id: string
2247
- displayName: string
2248
- goals: string[]
2249
- informationToCollect: WorkflowInformationToCollect[]
2250
- botPersona?: string
2251
- // userPersonna?: string;
2252
- context?: string[]
2253
- guidance?: string[]
2254
- initialReplyMessage: string
2255
- supportedInputs?: WorkflowInputTypes[]
2256
- }
2257
-
2258
- /**
2259
- * BaseType is a base interface for data types.
2260
- */
2261
- declare interface WorkflowBaseContentType {
2262
- type: string
2263
- contentInputLabel: string // for serialization
2264
- attachmentIcon?: InkeepCustomIcon // icon next to the title in the attachment item
2265
- }
2266
-
2267
- /**
2268
- * WorkflowInputType defines the type of attachments in a Workflow.
2269
- */
2270
- export declare interface WorkflowBaseInputTypes {
2271
- id: string
2272
- type: string
2273
- displayName: string // button label
2274
- }
2275
-
2276
- export declare interface WorkflowCodeContentType extends WorkflowBaseContentType {
2277
- type: 'CODE'
2278
- language: string
2279
- }
2280
-
2281
- /**
2282
- * WorkflowFunctionalMultiInput represents a function to be called when the attachment is invoked.
2283
- */
2284
- export declare interface WorkflowFunctionalMultiInput extends WorkflowBaseInputTypes {
2285
- type: 'FUNCTIONAL_MULTI_ATTACHMENT'
2286
- onInvoke: (
2287
- workflow: Workflow,
2288
- selectedInputType: WorkflowInputTypes,
2289
- callback: (messageAttachments: MessageAttachment[]) => void,
2290
- currentMessageAttachments: MessageAttachment[],
2291
- ) => void
2292
- }
2293
-
2294
- export declare interface WorkflowInformationToCollect {
2295
- description: string
2296
- required: boolean
2297
- }
2298
-
2299
- /**
2300
- * WorkflowInputTypes represents possible ways of collecting attachments in a Workflow.
2301
- */
2302
- export declare type WorkflowInputTypes = WorkflowFunctionalMultiInput | WorkflowModalSingleInput
2303
-
2304
- export declare interface WorkflowModalProps {
2305
- titleInputLabel?: string // defaults to 'Title'
2306
- modalHelpText?: string // help text for the modal
2307
- modalHelpElement?: React.ReactElement // help element for the modal
2308
- }
2309
-
2310
- /**
2311
- * WorkflowModalSingleInput represents a modal input type.
2312
- */
2313
- export declare interface WorkflowModalSingleInput extends WorkflowBaseInputTypes {
2314
- type: 'MODAL'
2315
- contentType: MessageAttachmentContentType
2316
- workflowModalProps?: WorkflowModalProps
2317
- }
2318
-
2319
- export declare interface WorkflowTextContentType extends WorkflowBaseContentType {
2320
- type: 'text'
2321
- }
2322
-
2323
2216
  export { }
2324
2217
 
2325
2218
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-ui-js-cloud",
3
- "version": "0.0.0-dev-20260402200940",
3
+ "version": "0.0.0-dev-20260403205747",
4
4
  "description": "",
5
5
  "license": "Inkeep, Inc. Customer License (IICL) v1.1",
6
6
  "homepage": "",
@@ -38,7 +38,7 @@
38
38
  "react": "19.0.0",
39
39
  "react-dom": "19.0.0",
40
40
  "uuid": "^11.1.0",
41
- "@inkeep/agents-ui-cloud": "0.0.0-dev-20260402200940"
41
+ "@inkeep/agents-ui-cloud": "0.0.0-dev-20260403205747"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@biomejs/biome": "1.9.4",
@@ -56,7 +56,7 @@
56
56
  "vite": "5.4.11",
57
57
  "vite-bundle-visualizer": "^1.2.1",
58
58
  "vite-plugin-dts": "4.4.0",
59
- "@inkeep/agents-ui": "0.0.0-dev-20260402200940"
59
+ "@inkeep/agents-ui": "0.0.0-dev-20260403205747"
60
60
  },
61
61
  "module": "./dist/embed.js",
62
62
  "types": "./dist/types.d.ts",