[Bug]: Web search approval request not rendered in Supervised mode with OpenCode provider #7484
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#
- Open T3 Code with the OpenCode provider active (model:
opencode/deepseek-v4-flash-free). - Set the thread mode to Supervised.
- Send a prompt that makes the agent call the
websearchtool (e.g. "search the web for X"). - OpenCode emits a
permission.askedevent forpermission: "websearch"(Supervised mode sets it to"ask"), and T3 Code raises an approval request/ticket. - 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 issues#
Related to the same approval-rendering gap for the OpenCode provider:
t3dotgg(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.
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.