import { SfCommand } from '@salesforce/sf-plugins-core'; import type { SetupAgentsWorkflowExecuteResult } from '../../../types/index.js'; export default class WorkflowExecute extends SfCommand { static readonly summary: string; static readonly description: string; static readonly examples: string[]; static readonly flags: { story: import("@oclif/core/interfaces").OptionFlag; runtime: import("@oclif/core/interfaces").OptionFlag; 'from-phase': import("@oclif/core/interfaces").OptionFlag; 'dry-run': import("@oclif/core/interfaces").BooleanFlag; foreground: import("@oclif/core/interfaces").BooleanFlag; gates: import("@oclif/core/interfaces").OptionFlag; 'max-iterations': import("@oclif/core/interfaces").OptionFlag; 'max-phase-minutes': import("@oclif/core/interfaces").OptionFlag; 'max-agents': import("@oclif/core/interfaces").OptionFlag; 'capability-signals': import("@oclif/core/interfaces").OptionFlag; 'runtime-preference': import("@oclif/core/interfaces").OptionFlag; }; run(): Promise; private resolveRuntime; private tryAutoExpandTaskRoles; private dryRun; private execute; /** * GH-746: dispatches ONLY `phase` to the running bridge's existing async * delegation route and returns immediately — no inline await, no phase * loop. Returns `null` when the prerequisites (chat session id + a * reachable bridge for this exact workspace) aren't present, which the * caller treats as "fall back to the normal synchronous run" — this is the * attempted-by-default path (see --foreground to force skipping it), so a * silent no-op here is the expected, unremarkable case outside a chat * session (CI, manual terminal use), not a degraded fallback worth warning about. */ private tryExecuteBackground; /** Build the orchestrator callbacks, keeping execute() focused on coordination. */ private buildOrchestratorCallbacks; }