Skip to content

feat: tui should show pending permissions or questions when attaching to a session - #13657

Closed
dseravalli wants to merge 2 commits into
anomalyco:devfrom
dseravalli:attach-tui-with-questions
Closed

dseravalli wants to merge 2 commits into
anomalyco:devfrom
dseravalli:attach-tui-with-questions

Conversation

@dseravalli

Copy link
Copy Markdown

Closes #10564

What does this PR do?

When attaching to a session that generated questions or permissions while no TUI was running, this loads them in on attach.

How did you verify your code works?

  1. Started opencode withopencode serve --port 4100
  2. Created a session and sent a prompt via prompt_async that triggers the question tool
  3. Waited for the question.asked SSE event to fire
  4. Attached to the session: opencode attach http://127.0.0.1:4100 -s <sessionId>
  5. Confirmed the pending questions rendered interactively in the TUI

@dhowe

dhowe commented Mar 22, 2026

Copy link
Copy Markdown

can we get this merged?

@jtubbenhauer

Copy link
Copy Markdown

I've also ran into this same issue.

@dseravalli
dseravalli marked this pull request as draft May 1, 2026 15:59
@dseravalli
dseravalli marked this pull request as ready for review May 1, 2026 15:59
@dseravalli dseravalli closed this by deleting the head repository May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: TUI should show pending permissions or questions when attaching to a session

3 participants