@mastra/core
Version:
Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.
16 lines • 763 B
TypeScript
import type { ProcessInputStepArgs, ProcessInputStepResult } from '../processors/index.js';
/**
* Input processor that injects channel context into agent prompts.
*
* Uses `processInputStep` to add a system message on every step of the agentic loop.
* Since system messages are reset between steps, injecting on every step ensures the
* context is stable and prompt-cacheable.
*
* All output rendering (tool cards, text messages, approval prompts) is handled by
* `AgentChannels.consumeAgentStream` which iterates the outer `fullStream`.
*/
export declare class ChatChannelProcessor {
readonly id = "chat-channel-context";
processInputStep(args: ProcessInputStepArgs): ProcessInputStepResult | undefined;
}
//# sourceMappingURL=processor.d.ts.map