Skip to content

docs(cli): document OPENCODE_EXPERIMENTAL_HTTPAPI and _WORKSPACES#25349

Closed
saisharan0103 wants to merge 1 commit intoanomalyco:devfrom
saisharan0103:docs/cli-document-experimental-flags
Closed

docs(cli): document OPENCODE_EXPERIMENTAL_HTTPAPI and _WORKSPACES#25349
saisharan0103 wants to merge 1 commit intoanomalyco:devfrom
saisharan0103:docs/cli-document-experimental-flags

Conversation

@saisharan0103
Copy link
Copy Markdown

Issue for this PR

No specific issue.

Type of change

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

What does this PR do?

Two experimental environment variables exported from packages/core/src/flag/flag.ts and consumed in packages/opencode/src were missing from the experimental env-var table in packages/web/src/content/docs/cli.mdx:

  • OPENCODE_EXPERIMENTAL_HTTPAPI — switches packages/opencode/src/server/backend.ts to the Effect HTTP API backend.
  • OPENCODE_EXPERIMENTAL_WORKSPACES — gates the multi-workspace UI in packages/opencode/src/session/session.ts and packages/opencode/src/cli/cmd/tui/component/dialog-session-list.tsx.

Adds them to the existing experimental table.

How did you verify your code works?

  • Cross-checked the new entries against their definitions in packages/core/src/flag/flag.ts:84-85 and at least one consumer in packages/opencode/src for each.

Screenshots / recordings

N/A

Checklist

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

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.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

This pull request has been automatically closed.

@github-actions github-actions Bot closed this May 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

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 OPENCODE_EXPERIMENTAL_HTTPAPI and OPENCODE_EXPERIMENTAL_WORKSPACES.

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