/** * @fileoverview App lifecycle tool — list, launch, quit, force-quit, hide, and show macOS applications. * @module mcp-server/tools/definitions/macos-manage-apps */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const macosManageApps: import("@cyanheads/mcp-ts-core").ToolDefinition; app_name: z.ZodOptional; bundle_id: z.ZodOptional; hidden: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ action: z.ZodString; apps: z.ZodOptional; pid: z.ZodNumber; visible: z.ZodBoolean; frontmost: z.ZodBoolean; }, z.core.$strip>>>; app: z.ZodOptional; pid: z.ZodNumber; window_title: z.ZodNullable; }, z.core.$strip>>; success: z.ZodOptional; app_name: z.ZodOptional; }, z.core.$strip>, readonly [{ readonly reason: "app_not_found"; readonly code: JsonRpcErrorCode.NotFound; readonly when: "No running app matches the given name or bundle_id."; readonly recovery: "Call with action=list to see running apps, then check the spelling and try again."; }, { readonly reason: "not_running"; readonly code: JsonRpcErrorCode.NotFound; readonly when: "quit, force_quit, hide, or show called on an app that is not running."; readonly recovery: "The app is not running. Use action=launch to start it first."; }, { readonly reason: "accessibility_required"; readonly code: JsonRpcErrorCode.Forbidden; readonly when: "hide or show called without Accessibility permission."; readonly recovery: "Grant Accessibility in System Settings > Privacy & Security > Accessibility for your terminal or MCP host app."; readonly thrownBy: "service"; }], undefined>; //# sourceMappingURL=macos-manage-apps.tool.d.ts.map