Conversation
Add support for the Claude SDK's AskUserQuestion tool so the AI can ask clarifying questions with clickable option buttons instead of showing raw tool output. Includes single-select, multi-select, and free-text "other" input. Answers are sent back to the SDK via a PreToolUse hook.
Enable the Task tool so the AI can spawn researcher and coder subagents for focused subtasks. Render subagent invocations in the chat UI with a dedicated icon, label, and expandable description.
…P tooling - Replace JPEG image compression with two-phase WebP strategy that preserves quality better (quality reduction first, then dimension scaling as last resort), bump limit to 200KB - Add Bash, TodoRead, TodoWrite, WebFetch, WebSearch to allowedTools to prevent Claude Code process exit code 1 from permission blocking - Add purePreview param to takeScreenshot MCP tool to capture live preview without element highlight overlays/toolboxes - Add logging to controlEditor for debugging file open failures
Keep the textarea enabled while AI is responding so users can type a follow-up clarification mid-turn. Queued messages are injected into Claude's context via tool response hints and a new getUserClarification MCP tool, letting Claude incorporate feedback naturally without waiting for the turn to end. - Add queueClarification/getAndClearClarification/clearClarification node endpoints with image support - Add getUserClarification MCP tool and clarification hints on all tool responses (both hook-based and MCP) - Static queue bubble above input area with Edit button - Auto-send queued message as next turn if not consumed mid-turn - Show consumed clarification as user message bubble in chat
Clear _queuedClarification at the start of sendPrompt to prevent text from a previous turn leaking into the next clarification read. Also change getUserClarification tool icon color to green (#6bc76b) to match Read file tool bubbles.
When the Claude process exits with code 1, disable the textarea and send button, move any queued message back to the textarea, and show an inline New Chat button. Clicking it starts a fresh session while preserving the textarea content so the user can re-send.
|
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.



No description provided.