@uptiqai/widgets-sdk 1.210.0 → 1.212.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.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +18310 -17962
- package/dist/index.umd.cjs +139 -129
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare const AgentMessage: MemoExoticComponent<({ message, isSelected, o
|
|
|
9
9
|
declare type AgentMessage_2 = ConversationElement & {
|
|
10
10
|
type: ConversationElementType.AGENT_MESSAGE;
|
|
11
11
|
content: string;
|
|
12
|
+
isGenerativeUi?: boolean;
|
|
12
13
|
subtype: 'thinking_started' | 'thinking_completed' | 'guardrail_started' | 'guardrail_ended' | 'strategy_updated' | 'thinking_failed' | 'intermediate' | 'final' | 'question' | 'workflow_task' | 'final_stream' | 'attach_files' | 'output_files' | 'ask_permission' | 'ask_permission_result' | 'ask_credential' | 'ask_credential_result' | 'compaction_started' | 'compaction_ended' | 'compaction_failed' | 'compaction_usage';
|
|
13
14
|
isStreaming?: boolean;
|
|
14
15
|
relatedStepId?: string;
|
|
@@ -394,6 +395,7 @@ declare type SdkAgentGuardrailMessage = {
|
|
|
394
395
|
|
|
395
396
|
export declare type SdkAgentMessage = Pick<AgentMessage_2, 'content' | 'id' | 'timestamp' | 'metadata'> & {
|
|
396
397
|
type: 'agent';
|
|
398
|
+
isGenerativeUi?: AgentMessage_2['isGenerativeUi'];
|
|
397
399
|
subtype?: AgentMessage_2['subtype'];
|
|
398
400
|
outputFiles?: AgentMessage_2[];
|
|
399
401
|
plan?: Plan;
|