import { type OpenCodeAgentBindingSource } from "../agents/permissions.js"; import type { AgentExecutionSelection } from "../agents/types.js"; import type { HarnessProjectConfig, TaskContract } from "../core/types.js"; import type { PaseoSdkMcpStdioServer, PaseoSdkToolPolicy } from "./sdk.js"; import { type EffectiveContextCapabilities } from "../context/transport.js"; import type { CapabilityLeaseV1 } from "../security/authorityV2.js"; import { type ExecutionBindingV2 } from "../architecture/executionIdentity.js"; export interface PaseoLaunchSpecOptions { selection?: AgentExecutionSelection; logicalAgent?: string; provider?: string; model?: string; titlePrefix?: string; phase?: string; kind?: string; parentAgentId?: string; supervisorAgent?: boolean; contextCapabilities?: EffectiveContextCapabilities; participantId?: string; candidateDigest?: string; capabilityLeases?: CapabilityLeaseV1[]; executionBinding?: ExecutionBindingV2; executionBlueprintDigest?: string; roleInvocationPolicyDigest?: string; skillManifestDigest?: string; contextManifestDigest?: string; promptManifestDigest?: string; } export interface PaseoAgentLaunchSpec { cwd: string; title: string; provider: string; model?: string; modeId?: string; modeSource?: OpenCodeAgentBindingSource; thinkingOptionId?: string; env?: Record; nativeAgentId?: string; workspaceId?: string; parentAgentId?: string; /** Paseo parent handle; omitted for isolated launches so the provider cannot relocate the cwd. */ paseoParentAgentId?: string; supervisorGeneration?: number; labels: Record; timeoutSeconds: number; operationId: string; operationKind: string; phase: string; mcpServers?: Record; toolPolicy?: PaseoSdkToolPolicy; providerOptions?: Record; featureValues?: Record; } export declare function compilePaseoAgentLaunchSpec(root: string, config: HarnessProjectConfig, contract: TaskContract, options?: PaseoLaunchSpecOptions): Promise; export declare function inferAgentPhase(selection: AgentExecutionSelection | undefined, logicalAgent: string): string;