Skip to content

Codex live web search (--search) cannot be enabled per thread #174

Closed

Description

@currentbits

Problem

codex exec --search enables the live web search tool; activity shows up as web_search items in --json output (codex exec docs). Solenta passes no --search (electron/providers.js:199-228) and has no thread-level toggle for provider capability flags.

Impact

"Check the latest docs / API changes" tasks need web search; today the only way to get it in Solenta is global codex config.

Fix direction

A per-thread toggle (like the effort pill) that adds --search, plus rendering of web_search items in the work log (covered by the codex item-types issue).

Activity

  1. added
    enhancement
    plan:todo
    plan:doing
    and removed
    plan:todo
    on Aug 16, 2026
  2. currentbits commented on Aug 23, 2026

    @currentbits
    OwnerAuthor

    Implemented in this worktree.

    Codex threads get a Search pill next to the effort control. On, the next codex exec (fresh or resume) gets --search. Off is the default, including every non-Codex provider.

  3. added
    plan:done
    and removed
    plan:doing
    on Aug 23, 2026
  4. currentbits commented on Sep 1, 2026

    @currentbits
    OwnerAuthor

    Confirmed on origin/main — no remaining work. The board never closed after the merge.

    Merge: 89bd6da6 (Merge worktree coder/fork-codex-live-web-search-search-cannot-ee7bba) is an ancestor of origin/main (dc15acba). git merge-base --is-ancestor 89bd6da6 origin/main succeeds.

    Surfaces on origin/main:

    • electron/providers.js: Codex registry sets supportsSearch: true; buildArgs appends --search when webSearch === true (fresh exec and exec resume).
    • electron/services.js setWebSearch: true is rejected unless the thread provider advertises supportsSearch (${providerName} does not support web search).
    • electron/test/codex-search.test.js is on origin/main.

    Test (fresh run): node --test electron/test/codex-search.test.js — 16/16 pass, 0 fail.

    Keeping plan:done. Closing as completed. No code change.

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

    enhancementplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions