pm-orchestrator-enhancement
Version:
PM Orchestrator Enhancement - Multi-agent parallel execution system
50 lines • 1.33 kB
TypeScript
/**
* Condition Evaluator Module
*
* ワークフローステップの条件評価エンジンを提供します。
*/
import { SubagentResult } from '../types';
export declare class ConditionEvaluator {
/**
* 条件式を評価
*
* 例:
* - "implementer.status == 'success'"
* - "qa.output.qualityScore > 80"
* - "rule-checker.findings.length == 0"
*/
evaluate(condition: string, context: Map<string, SubagentResult>): boolean;
/**
* 安全な評価コンテキストを構築
*/
private buildSafeContext;
/**
* 式を評価(安全な実装)
*/
private evaluateExpression;
/**
* 式をトークンに分割
*/
private tokenize;
/**
* 値を解決(ドット記法をサポート)
*/
private resolveValue;
/**
* 文字列を適切な型にパース
*/
private parseValue;
/**
* 演算を実行
*/
private performOperation;
/**
* 複数の条件を評価(AND結合)
*/
evaluateAll(conditions: string[], context: Map<string, SubagentResult>): boolean;
/**
* 複数の条件を評価(OR結合)
*/
evaluateAny(conditions: string[], context: Map<string, SubagentResult>): boolean;
}
//# sourceMappingURL=condition-evaluator.d.ts.map