Skip to content

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

Open
dseravalli wants to merge 1 commit intoanomalyco:devfrom
dseravalli:attach-tui-with-questions
Open

feat: tui should show pending permissions or questions when attaching to a session#13657
dseravalli wants to merge 1 commit intoanomalyco:devfrom
dseravalli:attach-tui-with-questions

Conversation

@dseravalli
Copy link

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

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

1 participant