@xenosystem/agent-conversation 0.1.159 → 0.1.160

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.
@@ -2148,6 +2148,22 @@ export interface XenoAPI {
2148
2148
  }>;
2149
2149
  /** The host's account of a conversation, for one the app did not run itself. Absent on an older bridge. */
2150
2150
  loadTranscript?: (conversationId: string) => Promise<import('@xenosystem/agent-interface-contract').AgentConversationTranscriptResult>;
2151
+ /** Keep what the person attached to a turn, or thought of its reply, in the host's log (decision 0004). */
2152
+ annotateConversation?: (request: {
2153
+ conversationId: string;
2154
+ requestId: string;
2155
+ rating?: 'good' | 'poor' | null;
2156
+ attachments?: Array<{
2157
+ id: string;
2158
+ name: string;
2159
+ type: string;
2160
+ dataUrl: string;
2161
+ }>;
2162
+ }) => Promise<{
2163
+ success: boolean;
2164
+ error?: string;
2165
+ }>;
2166
+ readConversationAttachment?: (conversationId: string, hash: string) => Promise<import('@xenosystem/agent-interface-contract').AgentConversationAttachmentReadResult>;
2151
2167
  /** Tell the host the conversation's path changed here (decision 0004). Absent on an older bridge. */
2152
2168
  moveConversationHead?: (conversationId: string, requestId: string | null, exact: boolean) => Promise<unknown>;
2153
2169
  loadConversations: () => Promise<{