@inkeep/agents-ui-js-cloud 0.15.29 → 0.16.0

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
@@ -625,28 +625,19 @@ declare type ExtendPropertiesWithCommon<T> = T extends { properties: infer P }
625
625
  ? T & { properties: P & CommonProperties }
626
626
  : T
627
627
 
628
- export declare type FeebackReason = { label: string; details: string }
629
-
630
628
  export declare interface FeedbackBody {
631
629
  type: FeedbackType
632
630
  messageId: string
633
631
  createdAt: string
634
- reasons?:
635
- | {
636
- label: string
637
- details: string
638
- }[]
639
- | null
632
+ details?: string | null
640
633
  userProperties: UserProperties
641
634
  properties?: Record<string, unknown>
642
635
  }
643
636
 
644
- export declare type FeedbackItemType = keyof MessageFeedback
645
-
646
637
  declare interface FeedbackProperties {
647
638
  conversationId?: string
648
639
  // message: Message
649
- reasons: FeebackReason[]
640
+ details?: string | null
650
641
  }
651
642
 
652
643
  export declare type FeedbackType = 'positive' | 'negative'
@@ -966,6 +957,14 @@ export declare interface InkeepAIChatSettings {
966
957
 
967
958
  // biome-ignore lint/suspicious/noExplicitAny: <explanation>
968
959
  artifacts?: ComponentsConfig<any>
960
+
961
+ /**
962
+ * Controls whether the chat automatically scrolls to the bottom
963
+ * during streaming. When false, streaming auto-scroll is disabled
964
+ * but the chat still scrolls to bottom when the user sends a new message.
965
+ * @default true
966
+ */
967
+ shouldAutoScroll?: boolean
969
968
  }
970
969
 
971
970
  export declare interface InkeepBaseSettings {
@@ -1261,7 +1260,7 @@ export declare type InkeepEventWithCommon = ExtendPropertiesWithCommon<InkeepEve
1261
1260
  export declare interface InkeepFeedback {
1262
1261
  type: FeedbackType
1263
1262
  messageId: string
1264
- reasons?: FeebackReason[]
1263
+ details?: string | null
1265
1264
  }
1266
1265
 
1267
1266
  export declare type InkeepJS = Partial<Record<InkeepJSComponent, InkeepComponentInitializer>>
@@ -1537,13 +1536,6 @@ export declare type MessageAction = 'copy' | 'upvote' | 'downvote'
1537
1536
 
1538
1537
  declare type MessageChatAction = ExpandUnion<InvokeMessageCallbackAction | OpenFormAction | OpenUrlAction>
1539
1538
 
1540
- export declare interface MessageFeedback {
1541
- unrelated_response: boolean
1542
- inaccurate_statement: boolean
1543
- inaccurate_code_snippet: boolean
1544
- irrelevant_citations: boolean
1545
- }
1546
-
1547
1539
  export declare interface ModalClosedEvent {
1548
1540
  eventName: 'modal_closed'
1549
1541
  properties: {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-ui-js-cloud",
3
- "version": "0.15.29",
3
+ "version": "0.16.0",
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.15.29"
41
+ "@inkeep/agents-ui-cloud": "0.16.0"
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.15.29"
59
+ "@inkeep/agents-ui": "0.16.0"
60
60
  },
61
61
  "module": "./dist/embed.js",
62
62
  "types": "./dist/types.d.ts",