import { z } from "#compiled/zod/index.js"; /** * Runtime-owned authored tool-call request surfaced by a harness and executed * later by step-backed runtime code. */ export type RuntimeToolCallActionRequest = z.infer; /** * Zod schema for one runtime-owned authored tool-call action request. */ export declare const runtimeToolCallActionRequestSchema: z.ZodObject<{ callId: z.ZodString; input: z.ZodType>; kind: z.ZodLiteral<"tool-call">; toolName: z.ZodString; }, z.core.$strict>; /** * Runtime-owned subagent-call request surfaced by a harness and executed later * by workflow-backed runtime code. */ export type RuntimeSubagentCallActionRequest = z.infer; /** * Zod schema for one runtime-owned subagent-call action request. */ declare const runtimeSubagentCallActionRequestSchema: z.ZodObject<{ callId: z.ZodString; description: z.ZodString; input: z.ZodType>; kind: z.ZodLiteral<"subagent-call">; name: z.ZodString; nodeId: z.ZodString; subagentName: z.ZodString; }, z.core.$strict>; /** * Runtime-owned remote-agent-call request surfaced by a harness and executed * later by workflow-backed runtime code. */ export type RuntimeRemoteAgentCallActionRequest = z.infer; /** * Zod schema for one runtime-owned remote-agent-call action request. */ export declare const runtimeRemoteAgentCallActionRequestSchema: z.ZodObject<{ callId: z.ZodString; description: z.ZodString; input: z.ZodType>; kind: z.ZodLiteral<"remote-agent-call">; name: z.ZodString; nodeId: z.ZodString; remoteAgentName: z.ZodString; }, z.core.$strict>; /** * Runtime-owned action request surfaced by a harness. * * Harness-native capabilities such as `bash` do not cross the harness boundary * as runtime actions. Only runtime-executed requests use this taxonomy. */ type RuntimeLoadSkillActionRequest = z.infer; /** * Zod schema for one runtime-owned load-skill action request. */ declare const runtimeLoadSkillActionRequestSchema: z.ZodObject<{ callId: z.ZodString; input: z.ZodType>; kind: z.ZodLiteral<"load-skill">; }, z.core.$strict>; /** * Runtime-owned action request surfaced by a harness. * * Harness-native capabilities such as `bash` do not cross the harness boundary * as runtime actions. Only runtime-executed requests use this taxonomy. */ export type RuntimeActionRequest = RuntimeLoadSkillActionRequest | RuntimeRemoteAgentCallActionRequest | RuntimeSubagentCallActionRequest | RuntimeToolCallActionRequest; /** * Zod schema for one runtime action request. */ export declare const runtimeActionRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ callId: z.ZodString; input: z.ZodType>; kind: z.ZodLiteral<"load-skill">; }, z.core.$strict>, z.ZodObject<{ callId: z.ZodString; description: z.ZodString; input: z.ZodType>; kind: z.ZodLiteral<"remote-agent-call">; name: z.ZodString; nodeId: z.ZodString; remoteAgentName: z.ZodString; }, z.core.$strict>, z.ZodObject<{ callId: z.ZodString; description: z.ZodString; input: z.ZodType>; kind: z.ZodLiteral<"subagent-call">; name: z.ZodString; nodeId: z.ZodString; subagentName: z.ZodString; }, z.core.$strict>, z.ZodObject<{ callId: z.ZodString; input: z.ZodType>; kind: z.ZodLiteral<"tool-call">; toolName: z.ZodString; }, z.core.$strict>], "kind">; /** * Runtime-owned authored tool-result projected back into a harness resume call. */ export type RuntimeToolResultActionResult = z.infer; /** * Zod schema for one runtime-owned authored tool-result action result. */ declare const runtimeToolResultActionResultSchema: z.ZodObject<{ callId: z.ZodString; isError: z.ZodOptional; kind: z.ZodLiteral<"tool-result">; output: z.ZodType>; toolName: z.ZodString; }, z.core.$strict>; /** * Runtime-owned subagent result projected back into a harness resume call. */ export type RuntimeSubagentResultActionResult = z.infer; /** * Zod schema for one runtime-owned subagent result action result. */ declare const runtimeSubagentResultActionResultSchema: z.ZodObject<{ callId: z.ZodString; isError: z.ZodOptional; kind: z.ZodLiteral<"subagent-result">; output: z.ZodType>; subagentName: z.ZodString; }, z.core.$strict>; /** * Runtime-owned action result produced by framework-owned loading code. */ type RuntimeLoadSkillActionResult = z.infer; /** * Zod schema for one runtime-owned load-skill action result. * * The result still reports whether a skill became active during the turn; the * action name reflects how the model requests those instructions. */ declare const runtimeLoadSkillActionResultSchema: z.ZodObject<{ callId: z.ZodString; isError: z.ZodOptional; kind: z.ZodLiteral<"load-skill-result">; output: z.ZodType>; name: z.ZodOptional; }, z.core.$strict>; /** * Runtime-owned action result produced by framework-owned runtime code. */ export type RuntimeActionResult = RuntimeLoadSkillActionResult | RuntimeSubagentResultActionResult | RuntimeToolResultActionResult; export {};