Skip to content

docs: add missing docs for global config endpoints#25166

Closed
abzy128 wants to merge 1 commit into
anomalyco:devfrom
abzy128:dev
Closed

docs: add missing docs for global config endpoints#25166
abzy128 wants to merge 1 commit into
anomalyco:devfrom
abzy128:dev

Conversation

@abzy128

@abzy128 abzy128 commented Apr 30, 2026

Copy link
Copy Markdown

Issue for this PR

Closes #24949

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

I have been using opencode server and controlling it remotely with API based on info on docs. I have pulled the repo and let 5.4 analyze the hono server and found out that /global/config is undocumented. So, I updated the docs with 5.4 and changes in this PR showcase it.

How did you verify your code works?

It is not code change, only docs. I did PATCH /config and PATCH /global/config to test out my theories before

Screenshots / recordings

no ui changes, only docs.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions

Copy link
Copy Markdown
Contributor

Hey! Your PR title add missing docs for global config endpoints doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@abzy128 abzy128 changed the title add missing docs for global config endpoints docs: add missing docs for global config endpoints Apr 30, 2026
@abzy128 abzy128 marked this pull request as ready for review April 30, 2026 21:39
@abzy128

abzy128 commented Apr 30, 2026

Copy link
Copy Markdown
Author

should I update docs for i18n languages too? I can only translate and verify en and ru

@abzy128

abzy128 commented Apr 30, 2026

Copy link
Copy Markdown
Author

I also went through other hono updates, but not sure if it should be in scope of this PR (abzy128#1)

@abzy128

abzy128 commented Apr 30, 2026

Copy link
Copy Markdown
Author

currently patching and getting global config of server running in container is working and I am happy)

curl -s http://localhost:4096/global/config -u "opencode:$OPENCODE_PASSWORD" | jq
{
  "$schema": "https://opencode.ai/config.json",
  "enabled_providers": [
    "anthropic",
    "openai"
  ],
  "model": "openai/gpt-5.4",
  "small_model": "openai/gpt-5.4-mini"
}

Bojun-Vvibe added a commit to Bojun-Vvibe/oss-contributions that referenced this pull request May 1, 2026
Four PRs across opencode (3) and codex (1):
- anomalyco/opencode#25166: merge-as-is, server.mdx adds /global/config docs
- anomalyco/opencode#25143: merge-as-is, ecosystem.mdx adds opencode-swarm row
- anomalyco/opencode#25180: merge-after-nits, pre-stream Token.estimate
  proactive compaction at processor.ts:543-568 + 3 new overflow regex arms
- openai/codex#20524: merge-as-is, notify deprecation across README +
  TOML doc + JSON schema + struct doc + 2 metrics + DeprecationNotice
  event + 153-line user_notification.rs delete
@github-actions

Copy link
Copy Markdown
Contributor

Automated PR Cleanup

Thank you for contributing to opencode.

Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions.

This PR was closed because it matched the following cleanup criteria:

  • The PR was created more than 1 month ago
  • The PR had fewer than 2 positive reactions
  • Positive reactions are counted as thumbs-up, heart, celebration, or rocket reactions on the PR

PRs created within the last month are not affected by this cleanup.

If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate.

Thanks again for taking the time to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

core: PATCH /config call to server does not change config

1 participant