import type { GraphenixMetadata } from "@x12i/graphenix-core"; import type { AuthoringFactGuardConfig, ExecutionMapping, GraphenixLlmRuntimeConfig, InputBinding, JobContextMapping, KnowledgeRef, OutputValidationConfig, SmartInputConfig, TaskMemoryConfig, TaskScope, TaskVariable } from "@x12i/graphenix-executable-contracts"; import type { LegacyAiTaskStrategiesShape, MainPhaseConfig, PrePhaseUtilityConfig, SkillInputSynthesisProfile, PreSynthesisProfile } from "./phase-config.js"; export type { PrePhaseUtilityConfig, PostPhaseUtilityConfig, MainPhaseConfig, SkillInputSynthesisProfile, PreSynthesisProfile, LegacyAiTaskStrategiesShape } from "./phase-config.js"; export type { TaskVariable, InputBinding, SmartInputConfig, ExecutionMapping, JobContextMapping, KnowledgeRef, TaskScope, TaskMemoryConfig } from "@x12i/graphenix-executable-contracts"; export interface TaskInputBinding { path?: string; literal?: unknown; executionMemoryPath?: string; required?: boolean; [key: string]: unknown; } export interface SmartInputPath { path: string; label?: string; description?: string; [key: string]: unknown; } export interface AiTaskStrategies extends LegacyAiTaskStrategiesShape, PrePhaseUtilityConfig { /** @legacy Maps to {@link PrePhaseUtilityConfig.strategyKey} */ pre?: string | Record; /** @legacy Maps to {@link PostPhaseUtilityConfig.strategyKey} */ post?: string | Record; } export interface AiTaskProfile { /** * Skill input synthesis profile (mainPhase concept; authored here). * Canonical doc name: skillProfile.inputSynthesis * @legacy `aiTaskProfile.inputSynthesis` — NOT PRE-phase utility strategyKey */ /** PRE synthesis authoring switch (alternative to aiTaskStrategies.pre: "synthesis"). */ preSynthesis?: PreSynthesisProfile; inputSynthesis?: SkillInputSynthesisProfile; /** Rendrix web query templates for PRE webScope units (canonical). */ webQueryTemplates?: string[]; /** Input dot-path for job topic resolution (webScope unitParams.topicPath). */ topicPath?: string; /** @deprecated Forbidden in 2.15 */ webSynthesizerModel?: never; webScopeOptions?: Record; preStrategyKey?: string; postStrategyKey?: string; [key: string]: unknown; } export interface TaskConfiguration { modelConfig?: Record; /** @legacy {@link MainPhaseConfig.executionStrategies} */ executionStrategies?: MainPhaseConfig["executionStrategies"]; /** @legacy PRE/POST phase utility config — see {@link PrePhaseUtilityConfig} */ aiTaskStrategies?: AiTaskStrategies; /** @legacy {@link PrePhaseUtilityConfig.inputSourcePolicy} (top-level alias) */ preInputStrategy?: string | Record; /** @legacy {@link PostPhaseUtilityConfig.inputSourcePolicy} */ postInputStrategy?: string | Record; aiTaskProfile?: AiTaskProfile; executionPipeline?: Record; llmCall?: Record; aiTasksOutputValidation?: Record; stepRetryPolicy?: Record; narrix?: Record; narrixInput?: Record; narrixMode?: string; /** Plan-phase PRE action list — compiled units; not a synonym for aiTaskStrategies.pre */ preActions?: unknown[]; /** Plan-phase POST action list — compiled units; not a synonym for aiTaskStrategies.post */ postActions?: unknown[]; /** Optional explicit overrides when auto-compile is ambiguous. */ planHints?: Record; /** Advanced: hand-authored execution units (validate-only compile path). */ executionUnits?: unknown[]; /** Optional fact-guard config for sub-action LLM hops (compiler → unitParams). */ factGuard?: AuthoringFactGuardConfig; /** Optional LLM runtime extensions for the node's main skill invocation. */ llmRuntime?: GraphenixLlmRuntimeConfig; timeoutMs?: number; retryPolicy?: Record; [key: string]: unknown; } export interface TaskConditions { jsonConditions?: unknown[]; dataFilters?: unknown[]; aiCondition?: Record; narratives?: unknown[]; runWhen?: unknown[]; skipWhen?: unknown[]; [key: string]: unknown; } export interface TaskNodeMetadata extends GraphenixMetadata { graphReadability?: Record; catalogBinding?: Record; catalogRequest?: Record; [key: string]: unknown; } export interface TaskNodeParameters { skillKey: string; taskVariable?: TaskVariable; /** * @deprecated Use taskVariable. Merged at compile: taskVariables then taskVariable overrides. */ taskVariables?: TaskVariable; variables?: Record; inputs?: TaskInputBinding[]; inputsConfig?: Record; smartInput?: SmartInputConfig; executionMapping?: ExecutionMapping; jobContextMapping?: JobContextMapping; taskConfiguration?: TaskConfiguration; conditions?: TaskConditions; taskKnowledge?: KnowledgeRef[]; taskPagentiKnowledge?: KnowledgeRef[]; outputValidation?: OutputValidationConfig; scope?: TaskScope; memory?: TaskMemoryConfig; metadata?: TaskNodeMetadata; localConfig?: Record; /** Select compile ruleset for this node. */ planVersion?: string; /** Compiler profile / ruleset selector. */ compilerProfile?: string; [key: string]: unknown; } //# sourceMappingURL=task-node-parameters.d.ts.map