clawrelay 0.3.1 → 0.3.2
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.
- package/package.json +1 -1
- package/src/onboarding.ts +2 -23
package/package.json
CHANGED
package/src/onboarding.ts
CHANGED
|
@@ -168,30 +168,9 @@ export const relayOnboardingAdapter: ChannelOnboardingAdapter = {
|
|
|
168
168
|
authToken,
|
|
169
169
|
});
|
|
170
170
|
|
|
171
|
-
// --- Next steps ---
|
|
172
171
|
await prompter.note(
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
"",
|
|
176
|
-
"The relay connects to your OpenClaw gateway via WebSocket.",
|
|
177
|
-
"",
|
|
178
|
-
"Required env vars for the relay service:",
|
|
179
|
-
` DISCORD_TOKEN=<your-bot-token>`,
|
|
180
|
-
` GATEWAY_URL=<your-sprite-or-gateway-url>`,
|
|
181
|
-
` GATEWAY_AUTH_TOKEN=<gateway-auth-token-from-openclaw-config>`,
|
|
182
|
-
"",
|
|
183
|
-
"The gateway auth token is in your OpenClaw config under",
|
|
184
|
-
"gateway.auth.token (not the relay auth token above).",
|
|
185
|
-
"",
|
|
186
|
-
"On a sprite, expose the gateway with:",
|
|
187
|
-
" sprite-env services create openclaw-gateway \\",
|
|
188
|
-
" --cmd openclaw --args 'gateway --allow-unconfigured' \\",
|
|
189
|
-
" --http-port 18789",
|
|
190
|
-
" sprite url update --auth public",
|
|
191
|
-
"",
|
|
192
|
-
"Docs: https://github.com/kylemclaren/clawrelay",
|
|
193
|
-
].join("\n"),
|
|
194
|
-
"Next Steps",
|
|
172
|
+
`Relay channel configured (token: ${authToken.slice(0, 12)}...). Select Finished below, then deploy the relay service.`,
|
|
173
|
+
"Relay",
|
|
195
174
|
);
|
|
196
175
|
|
|
197
176
|
return { cfg: next, accountId };
|