[PR #5132] feat: restore experimental flag for websearch/codesearch tools #11256

Closed
opened 2026-02-16 18:16:03 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5132

State: closed
Merged: Yes


Re-enables the OPENCODE_EXPERIMENTAL_EXA flag to allow non-zen users to opt-in to websearch and codesearch tools.

Context

Commit d95f724 enabled these tools for everyone, then 9c237f0 restricted them to zen users only while figuring out enterprise opt-out.

This PR provides an interim solution: zen users get the tools by default, while other users can opt-in via OPENCODE_EXPERIMENTAL_EXA=true (or the general OPENCODE_EXPERIMENTAL=true flag).

Changes

  • Restore OPENCODE_EXPERIMENTAL_EXA flag in flag.ts
  • Update registry.ts filter to allow tools when providerID === "opencode" || Flag.OPENCODE_EXPERIMENTAL_EXA

This matches the original experimental implementation pattern while preserving the zen-first behavior.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5132 **State:** closed **Merged:** Yes --- Re-enables the `OPENCODE_EXPERIMENTAL_EXA` flag to allow non-zen users to opt-in to websearch and codesearch tools. ## Context Commit d95f724 enabled these tools for everyone, then 9c237f0 restricted them to zen users only while figuring out enterprise opt-out. This PR provides an interim solution: zen users get the tools by default, while other users can opt-in via `OPENCODE_EXPERIMENTAL_EXA=true` (or the general `OPENCODE_EXPERIMENTAL=true` flag). ## Changes - Restore `OPENCODE_EXPERIMENTAL_EXA` flag in `flag.ts` - Update `registry.ts` filter to allow tools when `providerID === "opencode" || Flag.OPENCODE_EXPERIMENTAL_EXA` This matches the original experimental implementation pattern while preserving the zen-first behavior.
yindo added the pull-request label 2026-02-16 18:16:03 -05:00
yindo closed this issue 2026-02-16 18:16:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11256