clawmacdo 0.87.0 → 0.89.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +35 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -140,6 +140,10 @@ clawmacdo deploy --provider digitalocean --openclaw-version 2026.3.22 ... # dep
140
140
  clawmacdo update-model --instance <deploy-id> \
141
141
  --primary-model openai --openai-key "$OPENAI_API_KEY"
142
142
 
143
+ # Update the Bedrock token used by the OpenClaw workspace tty proxy
144
+ clawmacdo bedrock-token-set --instance <deploy-id> \
145
+ --bearer-token "$AWS_BEARER_TOKEN_BEDROCK"
146
+
143
147
  # Set OpenClaw display name and owner context
144
148
  clawmacdo openclaw-identity --instance <deploy-id> \
145
149
  --openclaw-name "Clawdia" --owner-name "Kenneth"
@@ -169,6 +173,14 @@ clawmacdo remotion-avatar-setup --instance <deploy-id> --name "Kenny" \
169
173
  # Install a plugin
170
174
  clawmacdo plugin-install --instance <deploy-id> --plugin "@openguardrails/moltguard"
171
175
 
176
+ # Google Workspace (gws) authentication
177
+ # gws auth login is an interactive browser OAuth flow with no headless mode, and
178
+ # the instance is headless — so credentials are injected, not minted on the box.
179
+ # Run the OAuth elsewhere (browser machine or 2ndbrain.ceo), then push the JSON:
180
+ clawmacdo gws-login --instance <deploy-id> --credentials ./gws-credentials.json
181
+ clawmacdo gws-login --instance <deploy-id> --credentials ./token.json --filename token.json # custom dest name
182
+ clawmacdo gws-logout --instance <deploy-id> # gws auth logout (revoke) + clear local credentials
183
+
172
184
  # Refresh IP after instance restart
173
185
  clawmacdo update-ip --instance <deploy-id>
174
186
 
@@ -332,6 +344,22 @@ clawmacdo update-model --instance <deploy-id> \
332
344
 
333
345
  The command updates API keys in `.env`, configures provider settings (BytePlus `openclaw.json`), sets the model via `openclaw models set`, adds failovers, and restarts the gateway service. When `opencode` is selected, OpenCode is installed via `curl -fsSL https://opencode.ai/install | bash` and configured with MiniMax M2.5 Free (`opencode/minimax-m2.5-free`) — no API key required. API keys for other providers are optional — if omitted, the existing key on the instance is preserved.
334
346
 
347
+ ### Update Bedrock Token for the TTY Proxy
348
+
349
+ OpenClaw deployments that point to the local Ollama-compatible tty proxy keep the OpenClaw model selection unchanged. To rotate the AWS Bedrock token used by that proxy, update the tty proxy project `.env` under `/home/openclaw/.openclaw/workspace`:
350
+
351
+ ```bash
352
+ clawmacdo bedrock-token-set --instance <deploy-id> \
353
+ --bearer-token "$AWS_BEARER_TOKEN_BEDROCK"
354
+
355
+ # If auto-detection finds the wrong workspace project, pass the .env explicitly.
356
+ clawmacdo bedrock-token-set --instance <deploy-id> \
357
+ --bearer-token "$AWS_BEARER_TOKEN_BEDROCK" \
358
+ --env-file claw-tty-proxy/.env
359
+ ```
360
+
361
+ The command installs `dotenvx` on the instance if needed and writes `AWS_BEARER_TOKEN_BEDROCK` with dotenvx encryption. It handles an already-encrypted `.env` by using `dotenvx set --encrypt` instead of editing ciphertext with `sed`.
362
+
335
363
  ### ARK API Key Management
336
364
 
337
365
  Generate temporary BytePlus ARK API keys or list available endpoints.
@@ -870,6 +898,11 @@ execSync(`${bin} update-model \
870
898
  --primary-model openai \
871
899
  --openai-key "${process.env.OPENAI_API_KEY}"`, { stdio: "inherit" });
872
900
 
901
+ // --- Rotate Bedrock token for the OpenClaw workspace tty proxy ---
902
+ execSync(`${bin} bedrock-token-set \
903
+ --instance <deploy-id> \
904
+ --bearer-token "${process.env.AWS_BEARER_TOKEN_BEDROCK}"`, { stdio: "inherit" });
905
+
873
906
  // --- Install a plugin ---
874
907
  execSync(`${bin} plugin-install \
875
908
  --instance <deploy-id> \
@@ -1158,4 +1191,5 @@ See [CHANGELOG.md](CHANGELOG.md) for version history and release notes.
1158
1191
 
1159
1192
  ---
1160
1193
 
1161
- **Current version:** 0.87.0
1194
+ **Current version:** 0.89.0
1195
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawmacdo",
3
- "version": "0.87.0",
3
+ "version": "0.89.0",
4
4
  "description": "CLI tool for deploying OpenClaw to multiple cloud providers with pre-installed AI dev tools",
5
5
  "keywords": [
6
6
  "openclaw",
@@ -30,8 +30,8 @@
30
30
  "node": ">=16"
31
31
  },
32
32
  "optionalDependencies": {
33
- "@clawmacdo/darwin-arm64": "0.87.0",
34
- "@clawmacdo/linux-x64": "0.87.0",
35
- "@clawmacdo/win32-x64": "0.87.0"
33
+ "@clawmacdo/darwin-arm64": "0.89.0",
34
+ "@clawmacdo/linux-x64": "0.89.0",
35
+ "@clawmacdo/win32-x64": "0.89.0"
36
36
  }
37
37
  }