MCPcopy
hub / github.com/wavetermdev/waveterm / AiSendMessageCommand

Method AiSendMessageCommand

frontend/app/store/wshclientapi.ts:28–31  ·  view source on GitHub ↗
(client: WshClient, data: AiMessageData, opts?: RpcOpts)

Source from the content-addressed store, hash-verified

26
27 // command "aisendmessage" [call]
28 AiSendMessageCommand(client: WshClient, data: AiMessageData, opts?: RpcOpts): Promise<void> {
29 if (this.mockClient) return this.mockClient.mockWshRpcCall(client, "aisendmessage", data, opts);
30 return client.wshRpcCall("aisendmessage", data, opts);
31 }
32
33 // command "authenticate" [call]
34 AuthenticateCommand(client: WshClient, data: string, opts?: RpcOpts): Promise<CommandAuthenticateRtnData> {

Callers

nothing calls this directly

Calls 2

mockWshRpcCallMethod · 0.80
wshRpcCallMethod · 0.80

Tested by

no test coverage detected