GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs: OPENCODE_ENABLE_EXA / OPENCODE_ENABLE_PARALLEL / OPENCODE_EXPERIMENTAL_BASH_DEFAULT_TIMEOUT_MS / OPENCODE_EXPERIMENTAL_LSP_TOOL are promised but read nowhere · Issue #105 · developing-today-forks/opencode

docs: OPENCODE_ENABLE_EXA / OPENCODE_ENABLE_PARALLEL / OPENCODE_EXPERIMENTAL_BASH_DEFAULT_TIMEOUT_MS / OPENCODE_EXPERIMENTAL_LSP_TOOL are promised but read nowhere #105

New issue
Copy link
New issue
Copy link
Closed
#349
Closed
docs: OPENCODE_ENABLE_EXA / OPENCODE_ENABLE_PARALLEL / OPENCODE_EXPERIMENTAL_BASH_DEFAULT_TIMEOUT_MS / OPENCODE_EXPERIMENTAL_LSP_TOOL are promised but read nowhere#105
#349
Copy link
Labels
documentationImprovements or additions to documentationkind/docsDocumentation improvement or addition

Description

@dezren39
dezren39
opened on Oct 19, 2026
Issue body actions

Summary

Beyond the username case in #103, several more environment variables the English docs promise are read nowhere in this v2 codebase, so setting them silently does nothing: the web-search enable flags (OPENCODE_ENABLE_EXA, OPENCODE_ENABLE_PARALLEL), the shell-timeout variable (OPENCODE_EXPERIMENTAL_BASH_DEFAULT_TIMEOUT_MS), the LSP-tool gate (OPENCODE_EXPERIMENTAL_LSP_TOOL, and the OPENCODE_EXPERIMENTAL umbrella the docs pair it with). Each has a working v2 replacement the docs never mention.

Evidence (all on main 2d302d6718)

Docs promising the variables:

  • packages/web/src/content/docs/cli.mdx:699-700 — env table: OPENCODE_ENABLE_EXA "Enable Exa web search tools", OPENCODE_ENABLE_PARALLEL "Enable Parallel web search tools".
  • packages/web/src/content/docs/tools.mdx:239-246 — "This tool is only available when using the OpenCode or OpenCode Go provider, or when either the OPENCODE_ENABLE_EXA or OPENCODE_ENABLE_PARALLEL environment variable is set…", with OPENCODE_ENABLE_EXA=1 opencode / OPENCODE_ENABLE_PARALLEL=1 opencode examples.
  • packages/web/src/content/docs/cli.mdx:721 — OPENCODE_EXPERIMENTAL_BASH_DEFAULT_TIMEOUT_MS "Default timeout for bash commands in ms".
  • packages/web/src/content/docs/tools.mdx:154-159 — the lsp tool "is only available when OPENCODE_EXPERIMENTAL_LSP_TOOL=true (or OPENCODE_EXPERIMENTAL=true)".
  • packages/web/src/content/docs/cli.mdx:718-734 — the rest of the OPENCODE_EXPERIMENTAL_* table (output-token max, oxfmt, plan mode, scout, workspaces, …) is in the same state; this issue scopes to the four above, the audit method below covers the rest.

Nothing reads them:

  • git grep for each of OPENCODE_ENABLE_EXA, OPENCODE_ENABLE_PARALLEL, OPENCODE_EXPERIMENTAL_BASH_DEFAULT_TIMEOUT_MS, OPENCODE_EXPERIMENTAL_LSP_TOOL across the repo excluding packages/web returns zero hits. OPENCODE_EXPERIMENTAL itself is only ever set (desktop environment.ts:29-30, WSL sidecar), never read.

The v2 mechanisms that replaced them:

  • Web search: providers are registered unconditionally — packages/core/src/plugin/websearch/exa.ts:26-40 and parallel.ts register via ctx.websearch.transform, credentials come from the integration's env method (EXA_API_KEY, exa.ts:37), and selection/default is the websearch config (packages/core/src/config/plugin/websearch.ts:12-16) plus the tool's provider-selection flow (packages/core/src/tool/plugin/websearch.ts). No env gate exists.
  • Shell timeout: experimental.shell_timeout config, read fresh at execute time in packages/core/src/tool/plugin/shell.ts:119 (implemented for Copilot plan endpoint for migrated credentials, durable scratch dir, configurable shell timeout #13 item 3).
  • The audit method: for every OPENCODE_* name in the cli.mdx env tables, git grep <name> -- ':!packages/web' — a documented variable should have at least one reader outside the docs.

Why it matters

A user who follows tools.mdx and runs OPENCODE_ENABLE_EXA=1 opencode to get web search on a non-OpenCode provider gets no error and no effect — the same silent-failure shape as #103, in a feature-gating (not just cosmetic) setting. The shell-timeout case is worse: the v1 variable and the v2 config have the same purpose, so users reasonably keep setting the documented one.

Acceptance criteria

Pick one direction per variable and apply it consistently (mirroring #103):

  1. Implement it: read the variable at the owning boundary (web-search provider registration / shell tool / lsp tool) with a test showing setting it changes behaviour. Or:
  2. Align the docs with v2: remove the dead-variable claims from cli.mdx and tools.mdx, and document the working replacement instead (websearch config + EXA_API_KEY/integration credentials for search; experimental.shell_timeout for the shell timeout; whatever actually gates the lsp tool, or remove that claim).

Either way, afterwards every OPENCODE_* variable named in the English cli.mdx/tools.mdx should have a reader in code, or be explicitly marked as a v1 removal. Translations under packages/web/src/content/docs/<locale>/ carry the same claims and should follow the English fix (the docs-locale-sync workflow propagates English changes).

Filed separately from the functional wrong-name bug in the test workflow / WSL sidecar, which has a mechanical fix.

Activity

  1. dezren39 commented on Oct 23, 2026

    @dezren39
    dezren39
    on Oct 23, 2026
    Author
    More actions

    Cross-repo finding from the #105 fix (PR #349): the same dead variables are set in developing-today/code's personal home-manager config — home/common/default.nix:1233-1234 sets OPENCODE_ENABLE_EXA = "1" and OPENCODE_ENABLE_PARALLEL = "1", and :1241 sets OPENCODE_EXPERIMENTAL_LSP_TOOL = "1". Per the #115 precedent these were NOT auto-edited: that file is Drew's curated machine config (neighbouring entries carry his dated decisions), so removing them is his call. They are silent no-ops today — web search is chosen via the websearch config and the LSP tool has no env gate in v2. Flagged in the code backlog as well.

  2. dezren39
    closed this as completedin #349on Oct 23, 2026
  3. dezren39
    added 2 commits that reference this issue on Oct 23, 2026

    docs: stop promising dead web-search, shell-timeout and LSP env flags (…

    ff3fbde

    docs(roadmap): record the #347 and #105 completions in Done (#351)

    d3091f2
  4. dezren39 commented on Oct 23, 2026

    @dezren39
    dezren39
    on Oct 23, 2026
    Author
    More actions

    Consumer-side follow-up resolved 2026-10-23: Drew decided to drop all four dead lines, and developing-today/code PR #695 (merged, 3d7b96a5) removed OPENCODE_ENABLE_EXA and OPENCODE_ENABLE_PARALLEL from home/common/default.nix. (OPENCODE_EXPERIMENTAL_LSP_TOOL, also flagged here, remains set — it was not among the four lines Drew named.)

  5. dezren39
    added
    kind/docsDocumentation improvement or addition
    documentationImprovements or additions to documentation
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationkind/docsDocumentation improvement or addition

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.