@runtypelabs/persona 3.15.0 → 3.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/index.cjs +46 -46
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.global.js +65 -65
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +46 -46
- package/dist/index.js.map +1 -1
- package/dist/theme-editor.cjs +445 -222
- package/dist/theme-editor.d.cts +11 -0
- package/dist/theme-editor.d.ts +11 -0
- package/dist/theme-editor.js +445 -222
- package/dist/widget.css +11 -8
- package/package.json +1 -1
- package/src/client.test.ts +361 -0
- package/src/client.ts +352 -158
- package/src/components/header-builder.ts +18 -7
- package/src/components/header-layouts.ts +3 -1
- package/src/defaults.ts +6 -0
- package/src/styles/widget.css +11 -8
- package/src/types.ts +11 -0
- package/src/ui.ts +31 -4
- package/src/utils/sequence-buffer.test.ts +256 -0
- package/src/utils/sequence-buffer.ts +130 -0
package/dist/theme-editor.d.cts
CHANGED
|
@@ -767,6 +767,17 @@ type AgentMessageMetadata = {
|
|
|
767
767
|
iteration?: number;
|
|
768
768
|
turnId?: string;
|
|
769
769
|
agentName?: string;
|
|
770
|
+
/**
|
|
771
|
+
* When this message was produced by a step inside a nested flow executed
|
|
772
|
+
* as a tool, identifies the parent tool call id. Enables renderers to
|
|
773
|
+
* visually group or indent nested-flow output under its parent tool.
|
|
774
|
+
*/
|
|
775
|
+
parentToolId?: string;
|
|
776
|
+
/**
|
|
777
|
+
* Nested flow step id that produced this message (e.g. a `send-stream`
|
|
778
|
+
* or `prompt` step inside the nested flow). Stable key for that step.
|
|
779
|
+
*/
|
|
780
|
+
parentStepId?: string;
|
|
770
781
|
};
|
|
771
782
|
type AgentWidgetRequestMiddlewareContext = {
|
|
772
783
|
payload: AgentWidgetRequestPayload;
|
package/dist/theme-editor.d.ts
CHANGED
|
@@ -767,6 +767,17 @@ type AgentMessageMetadata = {
|
|
|
767
767
|
iteration?: number;
|
|
768
768
|
turnId?: string;
|
|
769
769
|
agentName?: string;
|
|
770
|
+
/**
|
|
771
|
+
* When this message was produced by a step inside a nested flow executed
|
|
772
|
+
* as a tool, identifies the parent tool call id. Enables renderers to
|
|
773
|
+
* visually group or indent nested-flow output under its parent tool.
|
|
774
|
+
*/
|
|
775
|
+
parentToolId?: string;
|
|
776
|
+
/**
|
|
777
|
+
* Nested flow step id that produced this message (e.g. a `send-stream`
|
|
778
|
+
* or `prompt` step inside the nested flow). Stable key for that step.
|
|
779
|
+
*/
|
|
780
|
+
parentStepId?: string;
|
|
770
781
|
};
|
|
771
782
|
type AgentWidgetRequestMiddlewareContext = {
|
|
772
783
|
payload: AgentWidgetRequestPayload;
|