@mastra/core
Version:
18 lines • 816 B
TypeScript
import type { MessageList } from '../agent/message-list/index.js';
import type { ProcessInputStepArgs } from '../processors/index.js';
/**
* Input processor that injects channel context (platform, bot identity, DM vs.
* public-channel guidance) into the agent's system prompt on every step.
*
* Added automatically by `AgentChannels` unless you provide your own input
* processor with `id === 'chat-channel-context'`. Output rendering (tool cards,
* text messages, approval prompts) is handled separately by
* `AgentChannels.consumeAgentStream`.
*/
export declare class ChatChannelProcessor {
readonly id = "chat-channel-context";
processInputStep({ messageList, requestContext }: ProcessInputStepArgs): {
messageList: MessageList;
} | undefined;
}
//# sourceMappingURL=processor.d.ts.map