Skip to content

docs: experimental flags table in CLI reference is out of sync with runtime-flags.ts #27707

@gzb1128

Description

@gzb1128

Description

The CLI reference's Experimental environment variables table is missing OPENCODE_EXPERIMENTAL_BACKGROUND_SUBAGENTS even though the flag exists in packages/opencode/src/effect/runtime-flags.ts and is required for the background subagents feature added in #27084.

The docs table is manually maintained across localized packages/web/src/content/docs/*/cli.mdx files, so it can drift from the runtime flags in code.

Related PR: #27708

Plugins

N/A

OpenCode version

Current dev

Steps to reproduce

  1. Open packages/opencode/src/effect/runtime-flags.ts.
  2. Confirm OPENCODE_EXPERIMENTAL_BACKGROUND_SUBAGENTS is defined.
  3. Open packages/web/src/content/docs/cli.mdx or localized cli.mdx docs.
  4. Confirm the Experimental environment variables table does not list the flag.

Screenshot and/or share link

N/A

Operating System

N/A

Terminal

N/A

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions