Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Web search approval request not rendered in Supervised mode with OpenCode provider #7484

ClosedthisisRounakSingh(GitHub profile, opens in a new tab) opened this issue 1 comment

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web (approval UI) — possibly apps/server (request mapping)

Steps to reproduce

  1. Open T3 Code with the OpenCode provider active (model: opencode/deepseek-v4-flash-free).
  2. Set the thread mode to Supervised.
  3. Send a prompt that makes the agent call the websearch tool (e.g. "search the web for X").
  4. OpenCode emits a permission.asked event for permission: "websearch" (Supervised mode sets it to "ask"), and T3 Code raises an approval request/ticket.
  5. Observe the thread: the work log may show "Approval requested", but no interactive Approve/Deny UI appears. The thread waits on the invisible request.

Expected behavior

Supervised mode should render a visible, actionable approval prompt (Approve/Deny) when the websearch tool asks for permission, matching other permission types.

Actual behavior

The approval ticket is raised server-side but the UI never reflects it — no approval bar/modal is shown, so the user cannot approve or deny and the thread is stuck until stopped.

Impact

Major degradation or frequent failure (web search is a routine supervised action; the flow is unusable for it).

Version or commit

Unknown (noted on first sighting; can provide on request).

Environment

  • OS: macOS
  • App: T3 Code (web/desktop)
  • Provider: OpenCode
  • Model: opencode/deepseek-v4-flash-free (free tier)

Logs or stack traces

Will attach provider thread log on request if needed for investigation.

Workaround

Switch the thread to Full Access mode (skips the permission prompt entirely), or manually stop the thread after the invisible request.

Related to the same approval-rendering gap for the OpenCode provider:

  • #4795 — skill permission requests silently dropped (approval never shown, turn aborts)
  • #4710 — OpenCode skill approval does not show and thread hangs
  • #7113 — OpenCode adapter leaks pending permission requests on session teardown
  1. Thanks for the detailed report. This looks like the same issue tracked in issue #4795.

    This is the same unknown-permission mapping bug tracked in issue #4795. Both websearch and skill fall through the same adapter switch to unknown, and the client excludes that request type from its actionable approvals. Issue 4795 already describes all unhandled permission kinds and includes websearch in the permission rules. This is not a fixed bug and is distinct from the teardown leak in issue #7113.

    I'm closing this as a duplicate as part of an automated pass on all open issues. I linked this report from issue #4795 so its extra details remain available. This does not mean the underlying bug is fixed.

Sign in to join this conversation.