Skip to content

Function: sendPromptWsByTag()

sendPromptWsByTag(tag, text, dir?, options?): Promise<WsSendResult>

Defined in: packages/aiui-claude-channel/src/send-ws.ts:68

Find the running server advertising tag and send it text over the websocket. The websocket counterpart of sendPromptByTag.

Parameters

tag

string

text

string

dir?

string

options?

SendPromptWsOptions

Returns

Promise<WsSendResult>

Throws

if no running server has that tag.