{ "module": "claude-code", "version": "1", "slug": "agent", "capabilities": [ "package-manager" ], "requires": [ "mcp-endpoint" ], "binds": { "mcp-endpoint": "${dir:state}/mcp-endpoint.json" }, "tools": [ "claude_code_status", "claude_code_render", "claude_code_public_key", "claude_code_apply", "claude_code_pending_login" ], "resources": [ { "id": "package", "type": "package", "package": "claude-code" }, { "id": "state", "type": "directory", "mode": "0700", "owner": "${machine:account}", "place": "." }, { "id": "facts", "type": "file", "path": "${dir:state}/facts.json", "mode": "0600", "owner": "${machine:account}", "content": "{\n \"node\": \"${machine:name}\",\n \"console\": \"http://127.0.0.1:${bound:mcp-endpoint:port}/mcp\"\n}\n" }, { "id": "settings", "type": "file", "path": "${dir:state}/settings.json", "mode": "0600", "owner": "${machine:account}", "merge": "json", "content": "{\n \"role\": \"\",\n \"mcp_servers\": {}\n}\n" } ], "build": { "artifacts": [ { "name": "tools", "kind": "bundle", "language": "typescript", "entrypoints": [ "tools/index.js" ], "env": { "MESH_CLAUDE_CODE_STATE": "${dir:state}", "MESH_CLAUDE_CODE_FACTS": "${dir:state}/facts.json", "MESH_CLAUDE_CODE_SETTINGS": "${dir:state}/settings.json" } } ] } }