Class: ChatTaskResponder
Defined in: .source/wunderland/src/channels/chat/ChatTaskResponder.ts:26
Bridges incoming channel messages to the full AgentOS tool execution pipeline. Handles security, conversation state, and response delivery.
Constructors
Constructor
new ChatTaskResponder(
config):ChatTaskResponder
Defined in: .source/wunderland/src/channels/chat/ChatTaskResponder.ts:33
Parameters
config
Returns
ChatTaskResponder
Methods
close()
close():
void
Defined in: .source/wunderland/src/channels/chat/ChatTaskResponder.ts:109
Close database connections.
Returns
void
getSecurityTier()
getSecurityTier():
SecurityTier
Defined in: .source/wunderland/src/channels/chat/ChatTaskResponder.ts:104
Get the security tier.
Returns
getToolAllowlist()
getToolAllowlist():
string[] |null
Defined in: .source/wunderland/src/channels/chat/ChatTaskResponder.ts:99
Get the tool allowlist for this responder's security tier.
Returns
string[] | null
handle()
handle(
messageText,ctx):Promise<string>
Defined in: .source/wunderland/src/channels/chat/ChatTaskResponder.ts:51
Handle an incoming message from a chat channel.
Parameters
messageText
string
The user's message text.
ctx
Channel context with platform info and reply/send functions.
Returns
Promise<string>
The assistant's text response (files are sent directly via ctx.sendFileFn).