Default SDKs/MCP/dashboard to https://cast.agentrelay.com#205
Conversation
Point every client default at the new hosted gateway (cast.agentrelay.com), replacing the legacy gateway.relaycast.dev / api.relaycast.dev defaults across all SDKs, the MCP server, the openclaw setup, and the docs. - SDKs (TypeScript, Python, Rust, Swift): default baseUrl + tests - MCP: registration default, smithery config, mcp-server.json, doc strings - openclaw: RELAY_BASE_URL default (was api.relaycast.dev) - observer-dashboard: cast.agentrelay.com is now the first engine candidate for the hosted observer; gateway.relaycast.dev / api.relaycast.dev remain as fallbacks so un-migrated workspaces keep working - Docs/READMEs updated to the new default Explicit baseUrl overrides (incl. prNN-gateway preview hosts and self-hosted engines) are unchanged. Verified end-to-end: the full e2e suite passes against https://cast.agentrelay.com (107/107). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
📝 WalkthroughWalkthroughAll occurrences of the old hosted engine domains ( ChangesHosted Engine Domain Migration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 259b88dfe4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| ## API Reference | ||
|
|
||
| Base URL: `https://gateway.relaycast.dev/v1` (the hosted engine). Self-hosters use their own engine | ||
| Base URL: `https://cast.agentrelay.com/v1` (the hosted engine). Self-hosters use their own engine |
There was a problem hiding this comment.
Update OpenAPI servers to the new hosted origin
Root AGENTS.md requires README.md and openapi.yaml to be updated together when API behavior changes. This line moves the documented hosted API to cast.agentrelay.com, but openapi.yaml still advertises https://gateway.relaycast.dev/v1 in servers[0] (and its root-level A2A server entries), so consumers/generated clients that rely on the schema keep using the old production origin while the SDKs and README use the new one. Please update the OpenAPI server URLs in the same change.
Useful? React with 👍 / 👎.
Follow-up to the client-default change: update the remaining gateway.relaycast.dev / api.relaycast.dev references that were out of the original scope. - workflows/sdk-setup-client-80-100.ts: the 80-100 gate asserted setup.ts still contained gateway.relaycast.dev, which now breaks since setup.ts defaults to cast.agentrelay.com; update the gate + the doc string - openapi.yaml: hosted server URLs -> cast.agentrelay.com - AGENTS.md: hosted gateway reference -> cast.agentrelay.com - .github/workflows/deploy.yml: MCP smoke-test + Smithery publish endpoint - site/index.html: curl examples Preview/staging hosts, observer-dashboard fallbacks, and explicit-override tests are intentionally left on the legacy domains. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The legacy gateway.relaycast.dev / api.relaycast.dev engines are being turned off, so probing them for production observers is now dead weight (a guaranteed failed round-trip before reaching cast.agentrelay.com). - observer-dashboard: production + default observer hosts now resolve to [cast.agentrelay.com] only. Per-environment preview/staging hosts keep their -gateway/-api fallback (unrelated: a per-env gateway may not exist), so the generic candidate-probing logic stays and its tests now exercise it via the surviving preview hosts. - e2e.ts: drop the dead api.relaycast.dev -> observer.relaycast.dev mapping (identical to the default) and update the usage example. - origin.test.ts: cosmetic sample URL -> cast.agentrelay.com. Preview/staging hosts (prNN-*, staging-*) are intentionally untouched — moving those off relaycast.dev is a separate, coordinated deploy/DNS change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Summary
Point every client default at the new hosted gateway
cast.agentrelay.com, replacing the legacygateway.relaycast.dev/api.relaycast.devdefaults, and remove the now-decommissioned legacy engines from the remaining probe paths.Client defaults (
259b88d)baseUrl+ testsmcp-server.json, doc stringsRELAY_BASE_URLdefault (wasapi.relaycast.dev)cast.agentrelay.combecomes the first engine candidateRemaining legacy references (
64ea8d8)workflows/sdk-setup-client-80-100.ts: the 80-100 gate assertedsetup.tsstill containedgateway.relaycast.dev— which now breaks since the default moved; updated the gate + doc stringopenapi.yaml: hosted server URLs →cast.agentrelay.comAGENTS.md: hosted gateway reference.github/workflows/deploy.yml: MCP smoke-test + Smithery publish endpointsite/index.html: curl examplesDecommission legacy prod engines (
d8e1830)The legacy
gateway.relaycast.dev/api.relaycast.devengines are being turned off, so probing them for production observers is dead weight (a guaranteed failed round-trip before reachingcast.agentrelay.com).[cast.agentrelay.com]only. The generic candidate-probing logic stays (still used by per-environment hosts) and its tests now exercise it via surviving preview hosts.e2e.ts: drop the deadapi.relaycast.dev → observer.relaycast.devmapping; update usage example.origin.test.ts: cosmetic sample URL.Intentionally untouched
Preview/staging hosts (
prNN-*,staging-*) and their explicit-override SDK tests stay onrelaycast.dev— moving that zone (incl. wrangler deploy targets + DNS) is a separate, coordinated infra change.Verification
https://cast.agentrelay.com(107/107).observer-dashboard+engineunit suites pass after the fallback removal.🤖 Generated with Claude Code