mcp-decisive
Version:
MCP server for WRAP decision-making framework with structured output
26 lines • 940 B
TypeScript
import { Result } from 'neverthrow';
type ResetEvent = {
type: 'DecisionProcessReset';
timestamp: Date;
};
type DecisionProcessReset = Extract<ResetEvent, {
type: 'DecisionProcessReset';
}>;
type ResetDecisionCommand = (request: ResetDecisionRequest) => Result<DecisionProcessReset, ResetDecisionError>;
type ResetDecisionRequest = {};
type ResetDecisionError = {
type: 'ResetFailed';
reason: string;
};
/**
* Reset Decision Aggregate - The public interface for resetting decision process
*
* @command resetDecision - Reset the entire decision process
* @utility toErrorMessage - Convert errors to user-friendly strings
*/
export declare const ResetDecisionAggregate: {
readonly resetDecision: ResetDecisionCommand;
readonly toErrorMessage: (error: ResetDecisionError) => string;
};
export type { DecisionProcessReset, ResetDecisionRequest, ResetDecisionError };
//# sourceMappingURL=reset-decision.d.ts.map