import * as z from "zod/v4-mini"; import { OpenEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdk-validation-error.js"; /** * `inline`: defined on this row. `package`: a file-based agent deployed from agent.md; its instructions live in its revisions (GET /api/helix-agent/agents/:slug). */ export declare enum AgentSourceKind { Inline = "inline", Package = "package" } /** * `inline`: defined on this row. `package`: a file-based agent deployed from agent.md; its instructions live in its revisions (GET /api/helix-agent/agents/:slug). */ export type AgentSourceKindOpen = OpenEnum; export type Agent = { id: number; workspaceId: string; name: string; slug: string; description: string | null; /** * `inline`: defined on this row. `package`: a file-based agent deployed from agent.md; its instructions live in its revisions (GET /api/helix-agent/agents/:slug). */ sourceKind: AgentSourceKindOpen; /** * Null for a package agent, whose instructions live in its revisions. */ systemPrompt: string | null; model: string; maxTurns: number; permissionMode: string; allowedTools: Array | null; disallowedTools: Array | null; status: string; isPublic: boolean; metadata: { [k: string]: any; } | null; tags: Array | null; createdBy: string | null; createdAt: Date; updatedAt: Date; archivedAt: Date | null; }; /** @internal */ export declare const AgentSourceKind$inboundSchema: z.ZodMiniType; /** @internal */ export declare const Agent$inboundSchema: z.ZodMiniType; export declare function agentFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=agent.d.ts.map