UNPKG

hataraku

Version:

An autonomous coding agent for building AI-powered development tools. The name "Hataraku" (働く) means "to work" in Japanese.

86 lines (85 loc) 2.68 kB
import { z } from 'zod'; /** * Schema for individual MCP server configuration * Defines the structure for a single tool set (MCP server) */ export declare const ToolSetConfigSchema: z.ZodObject<{ name: z.ZodString; command: z.ZodString; args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; enabledTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; disabledTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { name?: string; command?: string; args?: string[]; env?: Record<string, string>; enabledTools?: string[]; disabledTools?: string[]; }, { name?: string; command?: string; args?: string[]; env?: Record<string, string>; enabledTools?: string[]; disabledTools?: string[]; }>; /** * Schema for a collection of tool configurations * Defines the structure for a tool configuration file */ export declare const ToolsConfigSchema: z.ZodObject<{ mcpServers: z.ZodArray<z.ZodObject<{ name: z.ZodString; command: z.ZodString; args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; enabledTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; disabledTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { name?: string; command?: string; args?: string[]; env?: Record<string, string>; enabledTools?: string[]; disabledTools?: string[]; }, { name?: string; command?: string; args?: string[]; env?: Record<string, string>; enabledTools?: string[]; disabledTools?: string[]; }>, "many">; }, "strip", z.ZodTypeAny, { mcpServers?: { name?: string; command?: string; args?: string[]; env?: Record<string, string>; enabledTools?: string[]; disabledTools?: string[]; }[]; }, { mcpServers?: { name?: string; command?: string; args?: string[]; env?: Record<string, string>; enabledTools?: string[]; disabledTools?: string[]; }[]; }>; export type ToolSetConfig = z.infer<typeof ToolSetConfigSchema>; export type ToolsConfig = z.infer<typeof ToolsConfigSchema>; /** * Default AI tools configuration * Empty by default, will be configured during setup */ export declare const DEFAULT_AI_TOOLS: ToolsConfig; /** * Default development tools configuration * Empty by default, will be configured during setup */ export declare const DEFAULT_DEV_TOOLS: ToolsConfig;