t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Full command not visible in Command approval request box

Open dicey-dev opened this issue 8 months ago • 3 comments

Before submitting

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

Area

apps/desktop

Steps to reproduce

  1. Start a thread in Supervised mode
  2. Prompt agent to run a long command

Expected behavior

There should be a way to view the full command for which approval is requested.

Actual behavior

Command gets truncated and not even resizing window reveals full command.

Impact

Major degradation or frequent failure

Version or commit

v0.0.15

Environment

x86_64 appImage on arch

Logs or stack traces


Screenshots, recordings, or supporting files

2026-03-29-210709_hyprshot.png

Workaround

No response

dicey-dev avatar Mar 29 '26 15:03 dicey-dev

Opened PR #1712 with a fix

SAKETH11111 avatar Apr 03 '26 15:04 SAKETH11111

Approval requests now use the current composer approval state and expose the full approval detail instead of the old fixed-width request box. The UI from 0.0.15 no longer exists.

This was closed as part of a large repo-wide maintenance sweep. If you think it's still relevant, please reopen.

juliusmarminge avatar Jun 20 '26 00:06 juliusmarminge

I'm still seeing this on a recent build (0.0.27) and would like this reopened.

In Supervised mode, when the agent requests approval for a long shell command, the command is truncated (with ...) and there is no way to expand it, scroll it, or copy the full text before approving. Resizing the window does not reveal the rest of the command.

The close comment says approval requests now "expose the full approval detail instead of the old fixed-width request box," but that doesn't match what I'm seeing. The truncated detail appears only as placeholder text in the disabled composer, which is easy to miss and still truncated.

From the current code, approval detail is still truncated server-side at 180 characters via truncateDetail() in ProviderRuntimeIngestion.ts when handling approval.requested events.

I can't reliably review what I'm approving when commands are long, which makes Supervised mode hard to use safely.

Could this be reopened? Happy to provide version/commit, platform details, and a screenshot if helpful.

e0ipso avatar Jun 21 '26 05:06 e0ipso