Rename SUBSD_* env vars to SUBS_* to match upstream refactor

The upstream SpacesOps app refactored its SUBSD_* environment variables to
SUBS_* (verified against server.js in spacesops/spacesops:v1.0.0). Update the
package to match so the configured values reach the app:

- main.ts: inject SUBS_URI_VALUE / SUBS_RPC_USER / SUBS_RPC_PASSWORD.
- configurePlatform action + storeJson: rename store keys subsd*→subs* and the
  field labels/descriptions (SUBS URL / SUBS RPC User / SUBS RPC Password).
- README, instructions, release notes: SUBSD→SUBS.

Note: the image's /app/setup-spacesops-env.sh still exports SUBSD_* defaults
(partial upstream refactor) — see report; vars the package does not set (e.g.
SUBS_RPC_URL) currently have no in-image default.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-26 12:19:51 -04:00
co-authored by Claude Opus 4.7
parent 35c1013520
commit 147f51d710
7 changed files with 41 additions and 40 deletions
+7 -7
View File
@@ -9,14 +9,14 @@ const dict = {
'Optional CoinGecko API key (COINGECKO_API_KEY) used for pricing features. Leave blank to disable pricing.': 5,
'CoinGecko Token Coins': 6,
'The CoinGecko coin id(s) to price against (COINGECKO_TOKEN_COINS).': 7,
'SUBSD URL': 8,
'Optional SUBSD service URL (SUBSD_URI_VALUE) for the subname-purchase flow. Leave blank to disable.': 9,
'SUBSD RPC User': 10,
'Optional SUBSD RPC username (SUBSD_RPC_USER).': 11,
'SUBSD RPC Password': 12,
'Optional SUBSD RPC password (SUBSD_RPC_PASSWORD).': 13,
'SUBS URL': 8,
'Optional SUBS service URL (SUBS_URI_VALUE) for the subname-purchase flow. Leave blank to disable.': 9,
'SUBS RPC User': 10,
'Optional SUBS RPC username (SUBS_RPC_USER).': 11,
'SUBS RPC Password': 12,
'Optional SUBS RPC password (SUBS_RPC_PASSWORD).': 13,
'Configure Platform': 14,
'Set optional SpacesOps settings: Nostr relay, theme mode, CoinGecko pricing, and SUBSD backend. Saving restarts the service so the new settings take effect.': 15,
'Set optional SpacesOps settings: Nostr relay, theme mode, CoinGecko pricing, and SUBS backend. Saving restarts the service so the new settings take effect.': 15,
Success: 16,
'Platform configuration saved. The service is restarting to apply the new settings.': 17,
'Operator Secret Key (hex)': 18,