import * as z from "zod/v4"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; /** * Workspace-level policy for ai-agent debug commands. `auto` runs `alien_debug` tool calls without asking; `ask` halts each session before every debug command and waits for a human approval from dashboard or Slack. */ export declare const AgentSettingsDebugPermissionMode: { readonly Auto: "auto"; readonly Ask: "ask"; }; /** * Workspace-level policy for ai-agent debug commands. `auto` runs `alien_debug` tool calls without asking; `ask` halts each session before every debug command and waits for a human approval from dashboard or Slack. */ export type AgentSettingsDebugPermissionMode = ClosedEnum; export type AgentSettings = { /** * Unique identifier for the workspace. */ workspaceId: string; /** * Workspace on/off switch for the ai-agent. When `false`, incoming triggers (release/deployment monitoring and Slack-invoked sessions) are rejected before any session runs. Defaults to `true`. */ enabled: boolean; /** * Workspace-level policy for ai-agent debug commands. `auto` runs `alien_debug` tool calls without asking; `ask` halts each session before every debug command and waits for a human approval from dashboard or Slack. */ debugPermissionMode: AgentSettingsDebugPermissionMode; createdAt: Date; updatedAt: Date; }; /** @internal */ export declare const AgentSettingsDebugPermissionMode$inboundSchema: z.ZodEnum; /** @internal */ export declare const AgentSettings$inboundSchema: z.ZodType; export declare function agentSettingsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=agentsettings.d.ts.map