fix(cli): fix openclaw DO size and kilocode CWD install failures (#2909)

- digitalocean: change openclaw min size from s-2vcpu-4gb-intel to
  s-2vcpu-4gb (intel variant no longer available in nyc3)
- agent-setup: add cd "$HOME" before kilocode npm install to prevent
  postinstall failure when CWD is deleted during npm global install
- bump version to 0.25.19

Co-authored-by: spawn-qa-bot <qa@openrouter.ai>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
A 2026-03-23 06:37:48 -07:00 committed by GitHub
parent 59dea5fc09
commit f8e23317c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -893,7 +893,7 @@ const DROPLET_SIZES: DropletSize[] = [
},
{
id: "s-2vcpu-4gb-intel",
label: "2 vCPU \u00b7 4 GB RAM \u00b7 $28/mo (Intel, available in all regions)",
label: "2 vCPU \u00b7 4 GB RAM \u00b7 $28/mo (Intel)",
},
{
id: "s-4vcpu-8gb",

View file

@ -28,9 +28,9 @@ import {
/** Agents that need more than the default 2GB RAM (e.g. openclaw-plugins OOMs on 2GB) */
const AGENT_MIN_SIZE: Record<string, string> = {
// s-2vcpu-4gb-intel is used instead of s-2vcpu-4gb because the non-intel variant
// is not available in nyc3 (the default E2E region). Both offer 2 vCPUs and 4GB RAM.
openclaw: "s-2vcpu-4gb-intel",
// s-2vcpu-4gb is used (not s-2vcpu-4gb-intel) because the intel variant
// is no longer available in nyc3 (the default E2E region). Both offer 2 vCPUs and 4GB RAM.
openclaw: "s-2vcpu-4gb",
};
/** DO marketplace image slugs — hardcoded from vendor portal (approved 2026-03-13) */

View file

@ -928,7 +928,7 @@ function createAgents(runner: CloudRunner): Record<string, AgentConfig> {
installAgent(
runner,
"Kilo Code",
`${NPM_PREFIX_SETUP} && npm install -g \${_NPM_G_FLAGS} @kilocode/cli && ${NPM_GLOBAL_PATH_PERSIST} && ${KILOCODE_BINARY_VERIFY}`,
`cd "$HOME" && ${NPM_PREFIX_SETUP} && npm install -g \${_NPM_G_FLAGS} @kilocode/cli && ${NPM_GLOBAL_PATH_PERSIST} && ${KILOCODE_BINARY_VERIFY}`,
),
envVars: (apiKey) => [
`OPENROUTER_API_KEY=${apiKey}`,