@paymanai/payman-typescript-ask-sdk 4.0.8 → 4.0.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.
- package/dist/index.d.mts +7 -1
- package/dist/index.d.ts +7 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -112,6 +112,7 @@ type ChunkDisplay = {
|
|
|
112
112
|
similarityScore?: number;
|
|
113
113
|
rrfScore?: number;
|
|
114
114
|
};
|
|
115
|
+
type MessageFeedbackState = "up" | "down";
|
|
115
116
|
type MessageDisplay = {
|
|
116
117
|
id: string;
|
|
117
118
|
sessionId?: string;
|
|
@@ -123,6 +124,11 @@ type MessageDisplay = {
|
|
|
123
124
|
chunks?: ChunkDisplay[];
|
|
124
125
|
tracingData?: unknown;
|
|
125
126
|
executionId?: string;
|
|
127
|
+
/**
|
|
128
|
+
* Existing end-user feedback for this assistant response. Hydrated from
|
|
129
|
+
* execution history so clients can render the selected thumb as active.
|
|
130
|
+
*/
|
|
131
|
+
feedback?: MessageFeedbackState | null;
|
|
126
132
|
isStreaming?: boolean;
|
|
127
133
|
streamingContent?: string;
|
|
128
134
|
currentWorker?: string;
|
|
@@ -486,4 +492,4 @@ declare function cancelUserAction(config: ChatConfig, userActionId: string): Pro
|
|
|
486
492
|
*/
|
|
487
493
|
declare function resendUserAction(config: ChatConfig, userActionId: string): Promise<UserActionResponse>;
|
|
488
494
|
|
|
489
|
-
export { type APIConfig, type AgentStage, type AnalysisMode, type ChatCallbacks, type ChatConfig, type ChunkDisplay, type MessageDisplay, type MessageRole, type SendMessageOptions, type SessionParams, type StreamEvent, type StreamOptions, type StreamProgress, type StreamingStep, type UseChatV2Return, type UseVoiceReturn, type UserActionRequest, type UserActionResult, type UserActionState, type UserActionType, type V2EventProcessorState, type VoiceCallbacks, type VoiceConfig, type VoicePermissions, type VoiceResult, type VoiceState, buildFormattedThinking, cancelUserAction, createInitialV2State, generateId, processStreamEventV2, resendUserAction, streamWorkflowEvents, submitUserAction, useChatV2, useVoice };
|
|
495
|
+
export { type APIConfig, type AgentStage, type AnalysisMode, type ChatCallbacks, type ChatConfig, type ChunkDisplay, type MessageDisplay, type MessageFeedbackState, type MessageRole, type SendMessageOptions, type SessionParams, type StreamEvent, type StreamOptions, type StreamProgress, type StreamingStep, type UseChatV2Return, type UseVoiceReturn, type UserActionRequest, type UserActionResult, type UserActionState, type UserActionType, type V2EventProcessorState, type VoiceCallbacks, type VoiceConfig, type VoicePermissions, type VoiceResult, type VoiceState, buildFormattedThinking, cancelUserAction, createInitialV2State, generateId, processStreamEventV2, resendUserAction, streamWorkflowEvents, submitUserAction, useChatV2, useVoice };
|
package/dist/index.d.ts
CHANGED
|
@@ -112,6 +112,7 @@ type ChunkDisplay = {
|
|
|
112
112
|
similarityScore?: number;
|
|
113
113
|
rrfScore?: number;
|
|
114
114
|
};
|
|
115
|
+
type MessageFeedbackState = "up" | "down";
|
|
115
116
|
type MessageDisplay = {
|
|
116
117
|
id: string;
|
|
117
118
|
sessionId?: string;
|
|
@@ -123,6 +124,11 @@ type MessageDisplay = {
|
|
|
123
124
|
chunks?: ChunkDisplay[];
|
|
124
125
|
tracingData?: unknown;
|
|
125
126
|
executionId?: string;
|
|
127
|
+
/**
|
|
128
|
+
* Existing end-user feedback for this assistant response. Hydrated from
|
|
129
|
+
* execution history so clients can render the selected thumb as active.
|
|
130
|
+
*/
|
|
131
|
+
feedback?: MessageFeedbackState | null;
|
|
126
132
|
isStreaming?: boolean;
|
|
127
133
|
streamingContent?: string;
|
|
128
134
|
currentWorker?: string;
|
|
@@ -486,4 +492,4 @@ declare function cancelUserAction(config: ChatConfig, userActionId: string): Pro
|
|
|
486
492
|
*/
|
|
487
493
|
declare function resendUserAction(config: ChatConfig, userActionId: string): Promise<UserActionResponse>;
|
|
488
494
|
|
|
489
|
-
export { type APIConfig, type AgentStage, type AnalysisMode, type ChatCallbacks, type ChatConfig, type ChunkDisplay, type MessageDisplay, type MessageRole, type SendMessageOptions, type SessionParams, type StreamEvent, type StreamOptions, type StreamProgress, type StreamingStep, type UseChatV2Return, type UseVoiceReturn, type UserActionRequest, type UserActionResult, type UserActionState, type UserActionType, type V2EventProcessorState, type VoiceCallbacks, type VoiceConfig, type VoicePermissions, type VoiceResult, type VoiceState, buildFormattedThinking, cancelUserAction, createInitialV2State, generateId, processStreamEventV2, resendUserAction, streamWorkflowEvents, submitUserAction, useChatV2, useVoice };
|
|
495
|
+
export { type APIConfig, type AgentStage, type AnalysisMode, type ChatCallbacks, type ChatConfig, type ChunkDisplay, type MessageDisplay, type MessageFeedbackState, type MessageRole, type SendMessageOptions, type SessionParams, type StreamEvent, type StreamOptions, type StreamProgress, type StreamingStep, type UseChatV2Return, type UseVoiceReturn, type UserActionRequest, type UserActionResult, type UserActionState, type UserActionType, type V2EventProcessorState, type VoiceCallbacks, type VoiceConfig, type VoicePermissions, type VoiceResult, type VoiceState, buildFormattedThinking, cancelUserAction, createInitialV2State, generateId, processStreamEventV2, resendUserAction, streamWorkflowEvents, submitUserAction, useChatV2, useVoice };
|