@mastra/core
Version:
17 lines • 831 B
TypeScript
import type { Mastra } from '../../mastra/index.js';
import type { ComputeStateSignalArgs, ComputeStateSignalResult } from '../../processors/index.js';
/**
* Input processor that publishes the agent's current objective as a state
* signal. Auto-registered when an agent is configured with `goal`, or added
* explicitly via {@link GoalSignalProvider}.
*/
export declare class GoalStateProcessor {
readonly id = "goal-state";
readonly stateId = "goal";
protected mastra?: Mastra<any, any, any, any, any, any, any, any, any, any>;
__registerMastra(mastra: Mastra<any, any, any, any, any, any, any, any, any, any>): void;
private resolveStore;
private getPriorObjective;
computeStateSignal(args: ComputeStateSignalArgs): Promise<ComputeStateSignalResult>;
}
//# sourceMappingURL=state-processor.d.ts.map