docs: add missing docs for global config endpoints#25166
Conversation
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
|
should I update docs for i18n languages too? I can only translate and verify |
|
I also went through other hono updates, but not sure if it should be in scope of this PR (abzy128#1) |
|
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"
} |
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
|
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:
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. |
Issue for this PR
Closes #24949
Type of change
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