{
  "manifest_version": "1.0.0",
  "template": {
    "id": "75afd616-8dfe-46b7-a3f9-09533e6c83cd",
    "slug": "claw3d",
    "name": "Claw3D",
    "description": "A 3D virtual office for OpenClaw, Hermes, and custom AI agent runtimes.",
    "url": "https://railway.com/deploy/claw3d",
    "upstream": {
      "image": "ghcr.io/iamlukethedev/claw3d:main"
    }
  },
  "services": [
    {
      "name": "claw3d",
      "source": {
        "image": "ghcr.io/iamlukethedev/claw3d:main"
      },
      "needs_volume": true,
      "volume_mount_path": "/root/.openclaw",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "HOST",
      "service": "claw3d",
      "description": "Bind Claw3D Studio to all container interfaces",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "PORT",
      "service": "claw3d",
      "description": "Public HTTP and WebSocket port used by Claw3D Studio",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "claw3d",
      "description": "As Root",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "STUDIO_ACCESS_TOKEN",
      "service": "claw3d",
      "description": "Protect the Claw3D Studio when exposed publicly",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CLAW3D_GATEWAY_ADAPTER_TYPE",
      "service": "claw3d",
      "description": "Runtime backend type: openclaw, hermes, demo, local, claw3d, or custom",
      "secret": false,
      "strategy": "default",
      "default": "openclaw"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "claw3d"
      }
    },
    "cli": "railway deploy --template claw3d",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "75afd616-8dfe-46b7-a3f9-09533e6c83cd",
            "serializedConfig": {
              "services": {
                "c9a4f254-62ca-4705-a2d6-cdac0749a56a": {
                  "icon": "https://hebbkx1anhila5yf.public.blob.vercel-storage.com/logo-iBhp9t3RItzx9SoNobfuPQChIm022x.jpg",
                  "name": "claw3d",
                  "deploy": {
                    "startCommand": "/bin/sh -c 'npm install --no-save typescript@5 && exec node server/index.js'"
                  },
                  "source": {
                    "image": "ghcr.io/iamlukethedev/claw3d:main"
                  },
                  "variables": {
                    "HOST": {
                      "description": "Bind Claw3D Studio to all container interfaces",
                      "defaultValue": "0.0.0.0"
                    },
                    "PORT": {
                      "description": "Public HTTP and WebSocket port used by Claw3D Studio",
                      "defaultValue": "3000"
                    },
                    "RAILWAY_RUN_UID": {
                      "description": "As Root",
                      "defaultValue": "0"
                    },
                    "CLAW3D_GATEWAY_URL": {
                      "isOptional": true,
                      "description": "Optional runtime WebSocket URL of an OpenClaw, Hermes, demo, or custom gateway",
                      "defaultValue": ""
                    },
                    "UPSTREAM_ALLOWLIST": {
                      "isOptional": true,
                      "description": "Optional allowlist restricting upstream gateway hosts",
                      "defaultValue": ""
                    },
                    "STUDIO_ACCESS_TOKEN": {
                      "description": "Protect the Claw3D Studio when exposed publicly",
                      "defaultValue": "{{STUDIO_ACCESS_TOKEN}}"
                    },
                    "CLAW3D_GATEWAY_TOKEN": {
                      "isOptional": true,
                      "description": "Optional authentication token for the connected gateway",
                      "defaultValue": ""
                    },
                    "CUSTOM_RUNTIME_ALLOWLIST": {
                      "isOptional": true,
                      "description": "Optional allowlist restricting custom runtime hosts",
                      "defaultValue": ""
                    },
                    "CLAW3D_GATEWAY_ADAPTER_TYPE": {
                      "description": "Runtime backend type: openclaw, hermes, demo, local, claw3d, or custom",
                      "defaultValue": "openclaw"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {
                    "c9a4f254-62ca-4705-a2d6-cdac0749a56a": {
                      "mountPath": "/root/.openclaw"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T13:28:03.864Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_c3def77552984cf3857e",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 66,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "claw3d"
  }
}
