diff --git a/hub/deploy/NEW_SILO_RUNBOOK.md b/hub/deploy/NEW_SILO_RUNBOOK.md index defa327..d18cf7e 100644 --- a/hub/deploy/NEW_SILO_RUNBOOK.md +++ b/hub/deploy/NEW_SILO_RUNBOOK.md @@ -41,7 +41,9 @@ Everything else is platform-managed or derived: instance/Organization id, server, SSH settings, release, resource ceilings, database coordinates and generated password, domain, port, workspace, provider/base URL, model/role, curated skills, concurrency, request/file limits and the managed Mihomo proxy -environment. +environment. `NODE_USE_ENV_PROXY=1` is required on Node.js 24 so Hub's built-in +`fetch` actually uses that proxy; merely setting `HTTP_PROXY`/`HTTPS_PROXY` is +not sufficient. The Feishu app is scoped to this Silo. OAuth users authenticated by that app are automatically admitted to this Organization; OWNER remains the initial diff --git a/hub/deploy/render_new_silo_bundle.mjs b/hub/deploy/render_new_silo_bundle.mjs index 68fbbcb..d1ae569 100755 --- a/hub/deploy/render_new_silo_bundle.mjs +++ b/hub/deploy/render_new_silo_bundle.mjs @@ -117,6 +117,8 @@ const platformEnv = [ envLine("HTTPS_PROXY", "http://127.0.0.1:7890"), envLine("ALL_PROXY", "socks5h://127.0.0.1:7890"), envLine("NO_PROXY", "127.0.0.1,localhost,::1"), + envLine("NODE_USE_ENV_PROXY", "1"), + envLine("ANTHROPIC_DEFAULT_SONNET_MODEL", "anthropic/claude-sonnet-5"), envLine("CPH_SANDBOX_EXTRA_DENY_READ", `${envPath}:${keyringPath}`), "", ].join("\n"); diff --git a/hub/package-lock.json b/hub/package-lock.json index 781cc2c..0b0848c 100644 --- a/hub/package-lock.json +++ b/hub/package-lock.json @@ -1,12 +1,12 @@ { "name": "@paradigm/hub", - "version": "0.0.14", + "version": "0.0.20", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@paradigm/hub", - "version": "0.0.14", + "version": "0.0.20", "dependencies": { "@anthropic-ai/claude-agent-sdk": "^0.3.202", "@fastify/cookie": "^11.0.2", diff --git a/hub/package.json b/hub/package.json index f3073fa..f2f6394 100644 --- a/hub/package.json +++ b/hub/package.json @@ -1,6 +1,6 @@ { "name": "@paradigm/hub", - "version": "0.0.14", + "version": "0.0.20", "private": true, "type": "module", "engines": {