@xenosystem/agent-conversation 0.1.193 → 0.1.194

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.
@@ -142,7 +142,12 @@ export interface XenoAPI {
142
142
  /** Remote control (decision 0006). `open` shows a linked PC in a new window of this app. */
143
143
  remoteControl?: {
144
144
  request(input: import('@xenosystem/agent-interface-contract').AgentRemoteRequest): Promise<import('@xenosystem/agent-interface-contract').AgentRemoteResult>;
145
- open(hostId: string, name: string): Promise<void>;
145
+ /** A window showing that PC, on one of its chats when `conversationId` is given. */
146
+ open(hostId: string, name: string, conversationId?: string): Promise<void>;
147
+ /** Remote control changed on this PC: a chat shared, a device asking to pair, a pairing moving on. */
148
+ onChanged?(listener: (status: import('@xenosystem/agent-interface-contract').AgentRemoteStatus) => void): () => void;
149
+ /** In a window showing another PC: a chat from that PC was opened from the sidebar, to show here. */
150
+ onOpenConversation?(listener: (conversationId: string) => void): void;
146
151
  ssh?: AgentSshConnections;
147
152
  };
148
153
  voice?: AgentVoiceDictation;