import { z } from "zod"; import type { McpTool } from "../tool.js"; declare const inputSchema: z.ZodObject<{ slug: z.ZodString; /** * Optional directory path to copy an existing cortex config from. * Useful for migrating the repo's ./config into a workspace — * pass the repo root. */ fromPath: z.ZodDefault; /** * When true and this is the first workspace, auto-activate. * Existing workspace state is respected; set `activate: true` to * also flip the pointer when a workspace is already active. */ activate: z.ZodDefault; }, "strip", z.ZodTypeAny, { slug: string; fromPath: string; activate: boolean; }, { slug: string; fromPath?: string | undefined; activate?: boolean | undefined; }>; interface Output { slug: string; path: string; activated: boolean; activateWarning?: string; } /** * Create a new workspace. If none exist yet, the new one becomes * active automatically (same semantics as `cortex workspace add`). * Set `activate: true` to explicitly flip the pointer even when * another workspace is already active. */ export declare const addWorkspaceTool: McpTool; export {}; //# sourceMappingURL=add-workspace.d.ts.map