@runtypelabs/persona 3.4.0 → 3.5.1
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.cjs +43 -43
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.global.js +63 -63
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +43 -43
- package/dist/index.js.map +1 -1
- package/dist/theme-reference.cjs +1 -1
- package/dist/theme-reference.d.cts +70 -0
- package/dist/theme-reference.d.ts +70 -0
- package/dist/theme-reference.js +1 -1
- package/package.json +1 -1
- package/src/client.ts +40 -8
- package/src/components/panel.ts +3 -3
- package/src/theme-reference.ts +47 -4
- package/src/types.ts +8 -0
- package/src/ui.ts +45 -0
package/dist/index.d.cts
CHANGED
|
@@ -1752,6 +1752,8 @@ type AgentWidgetSSEEventResult = {
|
|
|
1752
1752
|
done?: boolean;
|
|
1753
1753
|
/** Error message if an error occurred */
|
|
1754
1754
|
error?: string;
|
|
1755
|
+
/** Text segment identity — when this changes, a new assistant message bubble is created */
|
|
1756
|
+
partId?: string;
|
|
1755
1757
|
} | null;
|
|
1756
1758
|
/**
|
|
1757
1759
|
* Custom SSE event parser function
|
|
@@ -3283,6 +3285,12 @@ type AgentWidgetMessage = {
|
|
|
3283
3285
|
* }
|
|
3284
3286
|
*/
|
|
3285
3287
|
llmContent?: string;
|
|
3288
|
+
/**
|
|
3289
|
+
* Text segment identity for chronological ordering.
|
|
3290
|
+
* When present, identifies which text segment this message represents
|
|
3291
|
+
* (e.g., "text_0", "text_1") for messages split at tool boundaries.
|
|
3292
|
+
*/
|
|
3293
|
+
partId?: string;
|
|
3286
3294
|
/**
|
|
3287
3295
|
* Metadata for messages created during agent loop execution.
|
|
3288
3296
|
* Contains execution context like iteration number and turn ID.
|
package/dist/index.d.ts
CHANGED
|
@@ -1752,6 +1752,8 @@ type AgentWidgetSSEEventResult = {
|
|
|
1752
1752
|
done?: boolean;
|
|
1753
1753
|
/** Error message if an error occurred */
|
|
1754
1754
|
error?: string;
|
|
1755
|
+
/** Text segment identity — when this changes, a new assistant message bubble is created */
|
|
1756
|
+
partId?: string;
|
|
1755
1757
|
} | null;
|
|
1756
1758
|
/**
|
|
1757
1759
|
* Custom SSE event parser function
|
|
@@ -3283,6 +3285,12 @@ type AgentWidgetMessage = {
|
|
|
3283
3285
|
* }
|
|
3284
3286
|
*/
|
|
3285
3287
|
llmContent?: string;
|
|
3288
|
+
/**
|
|
3289
|
+
* Text segment identity for chronological ordering.
|
|
3290
|
+
* When present, identifies which text segment this message represents
|
|
3291
|
+
* (e.g., "text_0", "text_1") for messages split at tool boundaries.
|
|
3292
|
+
*/
|
|
3293
|
+
partId?: string;
|
|
3286
3294
|
/**
|
|
3287
3295
|
* Metadata for messages created during agent loop execution.
|
|
3288
3296
|
* Contains execution context like iteration number and turn ID.
|