{
  "manifest_version": "1.0.0",
  "template": {
    "id": "cab9c5f9-d4aa-4e3d-b3e9-1d394dc4b63d",
    "slug": "gajae-code",
    "name": "Gajae-Code | Cloud Coding Agent on Your Coding Plan",
    "description": "Gajae-Code (gjc) agent on your Claude/Codex plan. Browser terminal + SSH.",
    "url": "https://railway.com/deploy/gajae-code",
    "upstream": {
      "image": "ghcr.io/two-workspaces/gajae-code:528186b"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "gajae-code",
      "source": {
        "image": "ghcr.io/two-workspaces/gajae-code:528186b"
      },
      "needs_volume": true,
      "volume_mount_path": "/root",
      "tcp_ports": [
        22
      ],
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "gajae-code",
      "description": "Time zone inside the box.",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "PORT",
      "service": "gajae-code",
      "description": "Port of the browser terminal. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "7681"
    },
    {
      "key": "WEB_USER",
      "service": "gajae-code",
      "description": "Username for the browser terminal login.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "WEB_PASSWORD",
      "service": "gajae-code",
      "description": "Password for the browser terminal login. This gates root access to the box - keep it strong.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "ROOT_PASSWORD",
      "service": "gajae-code",
      "description": "Password for `ssh root@<tcp-proxy-host> -p <port>`. Clear it to allow key-only SSH login.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_HEALTHCHECK_TIMEOUT_SEC",
      "service": "gajae-code",
      "description": "How long the first boot may take before the healthcheck gives up. Small plans start this image slowly, so allow 10 minutes. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "600"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "gajae-code"
      }
    },
    "cli": "railway deploy --template gajae-code",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "cab9c5f9-d4aa-4e3d-b3e9-1d394dc4b63d",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "7016aefe-16f0-4554-b42e-b2db73581375": {
                  "icon": "https://raw.githubusercontent.com/Yeachan-Heo/gajae-code/v0.19.2/assets/character.png",
                  "name": "gajae-code",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthcheck",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/two-workspaces/gajae-code:528186b"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Time zone inside the box.",
                      "defaultValue": "UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port of the browser terminal. Do not change.",
                      "defaultValue": "7681"
                    },
                    "GH_TOKEN": {
                      "isOptional": true,
                      "description": "Optional. GitHub token so `gh` and git pushes work without an interactive login.",
                      "defaultValue": ""
                    },
                    "WEB_USER": {
                      "isOptional": false,
                      "description": "Username for the browser terminal login.",
                      "defaultValue": "admin"
                    },
                    "WEB_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the browser terminal login. This gates root access to the box - keep it strong.",
                      "defaultValue": "{{WEB_PASSWORD}}"
                    },
                    "ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for `ssh root@<tcp-proxy-host> -p <port>`. Clear it to allow key-only SSH login.",
                      "defaultValue": "{{ROOT_PASSWORD}}"
                    },
                    "AUTHORIZED_KEYS": {
                      "isOptional": true,
                      "description": "SSH public key(s), one per line, for key-based root login.",
                      "defaultValue": ""
                    },
                    "OPENROUTER_API_KEY": {
                      "isOptional": true,
                      "description": "Optional. Any provider key works the same way (ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY...). Leave empty to /login with your coding plan inside the box.",
                      "defaultValue": ""
                    },
                    "RAILWAY_HEALTHCHECK_TIMEOUT_SEC": {
                      "isOptional": false,
                      "description": "How long the first boot may take before the healthcheck gives up. Small plans start this image slowly, so allow 10 minutes. Do not change.",
                      "defaultValue": "600"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "22": {}
                    },
                    "serviceDomains": {
                      "<hasDomain>:7681": {
                        "port": 7681
                      }
                    }
                  },
                  "volumeMounts": {
                    "7016aefe-16f0-4554-b42e-b2db73581375": {
                      "mountPath": "/root"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "gajae-code",
      "method": "GET",
      "path": "/healthcheck",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-11-07T16:15:10.050Z",
  "generator_version": "0.1.0"
}
