@itechchoice/prime-chatkit 0.1.0-alpha.6 → 0.1.0-alpha.7
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.js +2513 -2486
- package/dist/types/core/history.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import type { ChatMessage } from "./types";
|
|
2
|
+
/** Only the last assistant segment for each task may remain running or waiting. */
|
|
3
|
+
export declare function settleEarlierSegments(messages: ChatMessage[]): ChatMessage[];
|
|
2
4
|
/** Map a chronological history page without mutating records or consulting the clock. */
|
|
3
5
|
export declare function messagesFromHistory(records: unknown[]): ChatMessage[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itechchoice/prime-chatkit",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.7",
|
|
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": {
|