refactor: use getSpawnCloudConfigPath(), remove dead _cloudName param (#3010) (#3012)

Replace hand-constructed openrouter.json path with getSpawnCloudConfigPath("openrouter")
for single-source-of-truth path resolution. Remove unused _cloudName parameter since
the function delegates ALL cloud credentials unconditionally.

Agent: ux-engineer

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
A 2026-03-26 05:26:09 -07:00 committed by GitHub
parent fd36ff0e3d
commit 405dbc6ba6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 10 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@openrouter/spawn",
"version": "0.26.10",
"version": "0.26.11",
"type": "module",
"bin": {
"spawn": "cli.js"