opencode icon indicating copy to clipboard operation
opencode copied to clipboard

GitHub Action share link uses legacy domain/path

Open offlinehacker opened this issue 1 day ago • 1 comments

Problem

The GitHub Action outputs a share link like https://opencode.ai/s/<id>, but the expected share link is https://opncd.ai/share/<id>. This affects the link printed in logs and the link embedded in action comments.

Current behavior

  • Share link shown as https://opencode.ai/s/<id>
  • Action builds the URL from a hardcoded base and /s/ path

Expected behavior

  • Action should use the share URL returned by the share API (so the output matches the backend), which should resolve to https://opncd.ai/share/<id>

Location

  • GitHub Action code: github/index.ts (useShareUrl() and string formatting for output/footer)

Notes

  • OPENCODE_CONFIG_CONTENT already allows overriding enterprise.url, so no new action input is required for base URL overrides.

Environment

  • Repo: anomalyco/opencode
  • Branch: dev
  • Date: 2026-01-18

offlinehacker avatar Jan 18 '26 06:01 offlinehacker