feat(android): render formatted responses and support interactive con… - #2752
Open
jebrans wants to merge 1 commit into
Open
feat(android): render formatted responses and support interactive con…#2752jebrans wants to merge 1 commit into
jebrans wants to merge 1 commit into
Conversation
…firmations Add markdown rendering for assistant responses so formatted content (headings, lists, tables, code, links) displays correctly instead of raw markdown syntax. Replace hardcoded @session clear string matching with generic handling of requestChoice/requestInteraction RPC calls, so confirmation prompts (yes/no, multi-choice, pick-remember) are driven entirely by payload metadata rather than matching specific command text. Add Yes/No buttons in the chat input for boolean confirmations, alongside the existing Y/N text fallback. Also: - Reduce RPC log verbosity (drop full message payloads from logs) - Log JSON parse failures as errors with exception details - Fix network security config lint by adding includeSubdomains attributes - Remove the unreachable raw "question" RPC invoke handler; agentServer's sharedDispatcher always converts ClientIO.question() into a requestInteraction broadcast instead, so this path was dead code Includes unit tests for the confirmation parser, display content parser, and markdown renderer. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add markdown rendering for assistant responses so formatted content (headings, lists, tables, code, links) displays correctly instead of raw markdown syntax. Add generic handling of requestChoice/requestInteraction RPC calls, so confirmation prompts (yes/no, multi-choice, pick-remember) are driven entirely by payload metadata rather than matching specific command text. Add Yes/No buttons in the chat input for boolean confirmations
Includes unit tests for the confirmation parser, display content parser, and markdown renderer.