@inkeep/agents-ui-js-cloud 0.0.0-dev-20260402200940 → 0.0.0-dev-20260402205727
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/embed.js +9 -9
- package/dist/types.d.ts +1 -116
- package/package.json +3 -3
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
|
|
74
|
+
* Removes all messages and resets the chat.
|
|
75
75
|
*/
|
|
76
76
|
clearChat: () => void
|
|
77
77
|
|
|
@@ -937,17 +937,6 @@ export declare interface InkeepAIChatSettings {
|
|
|
937
937
|
*/
|
|
938
938
|
messageActions?: CustomMessageAction[]
|
|
939
939
|
|
|
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
940
|
|
|
952
941
|
/**
|
|
953
942
|
* Custom labels for the chat interface's action buttons.
|
|
@@ -1538,24 +1527,6 @@ export declare type Message = UIMessage<unknown, DataParts>
|
|
|
1538
1527
|
|
|
1539
1528
|
export declare type MessageAction = 'copy' | 'upvote' | 'downvote'
|
|
1540
1529
|
|
|
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
1530
|
declare type MessageChatAction = ExpandUnion<InvokeMessageCallbackAction | OpenFormAction | OpenUrlAction>
|
|
1560
1531
|
|
|
1561
1532
|
export declare interface MessageFeedback {
|
|
@@ -1565,11 +1536,6 @@ export declare interface MessageFeedback {
|
|
|
1565
1536
|
irrelevant_citations: boolean
|
|
1566
1537
|
}
|
|
1567
1538
|
|
|
1568
|
-
export declare interface MessageMetadata {
|
|
1569
|
-
attributes?: MessageAttributes
|
|
1570
|
-
context?: string
|
|
1571
|
-
}
|
|
1572
|
-
|
|
1573
1539
|
export declare interface ModalClosedEvent {
|
|
1574
1540
|
eventName: 'modal_closed'
|
|
1575
1541
|
properties: {}
|
|
@@ -2239,87 +2205,6 @@ export declare interface WidgetView {
|
|
|
2239
2205
|
askAICardLabel?: string
|
|
2240
2206
|
}
|
|
2241
2207
|
|
|
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
2208
|
export { }
|
|
2324
2209
|
|
|
2325
2210
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-ui-js-cloud",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20260402205727",
|
|
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-
|
|
41
|
+
"@inkeep/agents-ui-cloud": "0.0.0-dev-20260402205727"
|
|
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-
|
|
59
|
+
"@inkeep/agents-ui": "0.0.0-dev-20260402205727"
|
|
60
60
|
},
|
|
61
61
|
"module": "./dist/embed.js",
|
|
62
62
|
"types": "./dist/types.d.ts",
|