docs(cli): document OPENCODE_EXPERIMENTAL_HTTPAPI and _WORKSPACES#25349
docs(cli): document OPENCODE_EXPERIMENTAL_HTTPAPI and _WORKSPACES#25349saisharan0103 wants to merge 1 commit intoanomalyco:devfrom
Conversation
Both are exported from packages/core/src/flag/flag.ts and consumed in packages/opencode/src (server/backend.ts switches the API backend on HTTPAPI, session.ts and dialog-session-list.tsx gate the multi-workspace UI on WORKSPACES) but were missing from the experimental env-var table.
|
This pull request has been automatically closed. |
|
The following comment was made by an LLM, it may be inaccurate: Based on my search results, I found one potentially related PR: PR #25070: docs(web): fix zh-cn cli experimental table This PR appears to be related as it also deals with the CLI experimental table documentation. However, it's specifically for the Chinese translation (zh-cn) version, while the current PR (#25349) is updating the main English documentation with the missing environment variables. These are complementary documentation PRs rather than duplicates - one covers the main English docs and the other covers translations. They could potentially be coordinated to ensure consistency. No true duplicate PRs found that directly address the same English documentation update for |
Issue for this PR
No specific issue.
Type of change
What does this PR do?
Two experimental environment variables exported from
packages/core/src/flag/flag.tsand consumed inpackages/opencode/srcwere missing from the experimental env-var table inpackages/web/src/content/docs/cli.mdx:OPENCODE_EXPERIMENTAL_HTTPAPI— switchespackages/opencode/src/server/backend.tsto the Effect HTTP API backend.OPENCODE_EXPERIMENTAL_WORKSPACES— gates the multi-workspace UI inpackages/opencode/src/session/session.tsandpackages/opencode/src/cli/cmd/tui/component/dialog-session-list.tsx.Adds them to the existing experimental table.
How did you verify your code works?
packages/core/src/flag/flag.ts:84-85and at least one consumer inpackages/opencode/srcfor each.Screenshots / recordings
N/A
Checklist