hataraku
Version:
An autonomous coding agent for building AI-powered development tools. The name "Hataraku" (働く) means "to work" in Japanese.
35 lines • 1.06 kB
JavaScript
import { z } from 'zod';
/**
* Schema for individual MCP server configuration
* Defines the structure for a single tool set (MCP server)
*/
export const ToolSetConfigSchema = z.object({
name: z.string(),
command: z.string(),
args: z.array(z.string()).optional(),
env: z.record(z.string().min(1), z.string().min(1)).optional(), // Ensure non-empty strings for both keys and values
enabledTools: z.array(z.string()).optional(),
disabledTools: z.array(z.string()).optional()
});
/**
* Schema for a collection of tool configurations
* Defines the structure for a tool configuration file
*/
export const ToolsConfigSchema = z.object({
mcpServers: z.array(ToolSetConfigSchema)
});
/**
* Default AI tools configuration
* Empty by default, will be configured during setup
*/
export const DEFAULT_AI_TOOLS = {
mcpServers: []
};
/**
* Default development tools configuration
* Empty by default, will be configured during setup
*/
export const DEFAULT_DEV_TOOLS = {
mcpServers: []
};
//# sourceMappingURL=toolConfig.js.map