@itechchoice/prime-chatkit 0.1.0-alpha.8 → 0.1.0-alpha.9

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.
@@ -3,10 +3,11 @@ export type OlderMessages = {
3
3
  loading: boolean;
4
4
  onLoad: () => void;
5
5
  };
6
- /** Layout glue: only follow while the reader remains at the bottom. */
6
+ /** Layout glue: follow at the bottom and resume when the reader sends or explicitly jumps. */
7
7
  export declare function useFollowLatest({ messages, older, active }: {
8
8
  messages: readonly {
9
9
  id: string;
10
+ role: "user" | "assistant";
10
11
  }[];
11
12
  older?: OlderMessages;
12
13
  active?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itechchoice/prime-chatkit",
3
- "version": "0.1.0-alpha.8",
3
+ "version": "0.1.0-alpha.9",
4
4
  "description": "PrimeChatKit: React chat UI for products built on the prime-chatkit SDK BFF contract. Shows the agent's work: thinking, tool calls, approvals, sources and cost.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "publishConfig": {