chore: rename hosting to pagent.link + api.pagent.link#17
Merged
Conversation
- FE: pagent.vercel.app → pagent.link - API: pagent.up.railway.app → api.pagent.link - Project name in active docs/diagrams: agent-ui-session → pagent (historical plans/specs under docs/superpowers/ are left as-is — they're audit trail of work-as-it-happened.) - Rebuilt apps/mcp/server.bundle.js with the new SERVICE_URL default. - Removed apps/mcp/package-lock.json (stale; the workspace lockfile at the repo root is authoritative). Production-side env var changes (Vercel VITE_API_URL, Railway PUBLIC_URL and ALLOWED_ORIGINS) and Railway custom-domain setup happen out-of-band; this commit is the codebase-side of the rename.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
alextnetto
added a commit
that referenced
this pull request
May 15, 2026
Follow-up to #17. The pagent.link rename in #17 updated the MCP and preview URLs but left the install-prompt Skill link pointing at raw.githubusercontent.com. Adds a Vercel rewrite so /SKILL.md proxies the GitHub raw file (single hop, no client redirect handling needed) and points the prompt at the short URL. - vercel.json: rewrite /SKILL.md -> raw.githubusercontent.com/.../SKILL.md - AGENT_PROMPT Skill URL: https://pagent.link/SKILL.md
4 tasks
alextnetto
added a commit
that referenced
this pull request
May 15, 2026
#18) Follow-up to #17. The pagent.link rename in #17 updated the MCP and preview URLs but left the install-prompt Skill link pointing at raw.githubusercontent.com. Adds a Vercel rewrite so /SKILL.md proxies the GitHub raw file (single hop, no client redirect handling needed) and points the prompt at the short URL. - vercel.json: rewrite /SKILL.md -> raw.githubusercontent.com/.../SKILL.md - AGENT_PROMPT Skill URL: https://pagent.link/SKILL.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Move canonical hosting from
pagent.vercel.app/pagent.up.railway.apptopagent.link(FE) andapi.pagent.link(API).pagent.linkis now the public renderer URL.api.pagent.linkis now the public API URL.*.vercel.appand Railway*.up.railway.appURLs continue to work transitionally (Railway has both domains attached; the auto-alias workflow keepspagent.vercel.apppinned to the same deployment for now).Why this is one PR
Touches every layer that has a hardcoded URL: the API source/tests/error messages, the renderer source/tests/CSP defaults, the MCP server's hardcoded default, the OpenAPI servers list, the skill prose, the README, the OpenAPI YAML, the CI workflow's build-time
VITE_API_URL, the auto-alias workflow'sALIASvalue, both plugin manifests, therequests.prod.httpHTTP-client vars, and theapps/web/home.tsdemo screenshot.Done as a single rename pass so CI runs against a coherent state (no flickering "API points here, FE points there" interim states).
Out of scope but coordinated
These are managed out-of-band (not in this PR):
VITE_API_URL: updated fromhttps://pagent.up.railway.app→https://api.pagent.linkviavercel env.PUBLIC_URLset tohttps://pagent.link,ALLOWED_ORIGINSset tohttps://pagent.link,https://pagent.vercel.app(the old vercel host is kept in CORS transitionally — some existing share links may still resolve there until the auto-alias retires).pagent.linkis already registered to the project and aliased to the latest production deployment.api.pagent.linkis attached to the API service; TLS cert is provisioning at the time of writing.What's preserved (audit trail)
docs/superpowers/plans/anddocs/superpowers/specs/keep their original URL references. They're time-stamped historical records of brainstorming/design/execution; revisionist editing isn't appropriate.docs/HANDOFF.mdkeeps the user's local filesystem path verbatim — it's accurate for the local checkout regardless of GitHub repo name.What's removed
apps/mcp/package-lock.json(rootpackage-lock.jsonis the authoritative workspace lockfile; the per-app file was a legacy leftover still pointing at@agent-ui-session/mcp). Confirmed nothing references it.Test plan
npm run typecheck— greennpm run lint— greennpm run format:check— greennpm run test— 237 passing across 16 test files (test fixtures updated alongside production strings)VITE_API_URL=https://api.pagent.link npm run build:web— greennpm run build:mcp— green, new bundle hashttps://api.pagent.linkas the embedded defaultgit grep "pagent.vercel.app"— 0 hits (excluding superpowers historical docs)git grep "pagent.up.railway.app"— 0 hits in active code (1 hit in a historical plan doc)pagent.link+api.pagent.linkFollow-up (not blocking)
blockful/agent-ui-session→blockful/pagent(the codebase already referencesblockful/pagenteverywhere; the rename happens last to flip the actual repo name without leaving a window of broken refs).VERCEL_TOKENGitHub secret is still unset, so thePin pagent.link to latest productionworkflow remains a no-op. Manualvercel aliason each prod deploy until that secret is set.