Skip to content

Conversation

@opencode-agent
Copy link
Contributor

What changed (last 4 hours)

  • b1a6333d1 feat(core): configurable cors hosts adds a new user-facing server option to allow additional CORS origins (via config and CLI flags).
  • The other commits are stats churn or internal SDK/header tweaks (22091c29f, e7e89dc5a, 34e9392bb, 05c3bc27f) and don’t need user docs updates.

Docs updates made (for undocumented CORS feature)

  • Documented server.cors in the config reference, including an example value and note that it expects full origins: packages/web/src/content/docs/config.mdx:125
  • Documented --cors for opencode serve, including an example showing the flag can be repeated: packages/web/src/content/docs/server.mdx:13
  • Added --cors to the CLI flag tables for both serve and web: packages/web/src/content/docs/cli.mdx:353

Validation

  • Ran bun run build in packages/web successfully (Astro build completed).

Triggered by scheduled workflow

New%20session%20-%202025-12-31T12%3A10%3A35.381Z
opencode session  |  github run

@rekram1-node rekram1-node changed the title Documented new configurable CORS option docs: new configurable CORS option Dec 31, 2025
@rekram1-node rekram1-node merged commit c42bd49 into dev Dec 31, 2025
4 checks passed
burgercrisis pushed a commit to burgercrisis/opencode that referenced this pull request Dec 31, 2025
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
hk9890 pushed a commit to hk9890/opencode that referenced this pull request Jan 1, 2026
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
dl-alexandre pushed a commit to dl-alexandre/opencode that referenced this pull request Jan 2, 2026
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants