feat(vscode): release v0.4.4 with QuestionRequest support and editor context improvements#113
Merged
feat(vscode): release v0.4.4 with QuestionRequest support and editor context improvements#113
Conversation
When forking from a turn with incomplete data: - Truncate wire.jsonl to last complete turn if target turn has no TurnEnd - Remove assistant messages with incomplete tool_calls from context.jsonl Fixes issues when fork point has partial tool execution state
- Add QuestionRequest, QuestionResponse, QuestionItem, QuestionOption types - Add ClientCapabilities/ServerCapabilities with supports_question flag - Bump protocol version to 1.4 - Add sendQuestionResponse() method to ProtocolClient - Add respondQuestion() method to Turn interface
- Add RespondQuestion method to bridge Methods - Re-export QuestionRequest types from SDK
- Add respondQuestion handler in chat.handler.ts - Update HandlerContext types
- Replace separate question.store.ts with pendingQuestion in chat.store.ts - Rename AskUserDialog.tsx to QuestionDialog.tsx - QuestionDialog now uses useChatStore instead of separate store - Event handler writes QuestionRequest directly to draft.pendingQuestion - Remove unused AskUserWithOption references from App.tsx
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.
Summary
This PR introduces QuestionRequest support in the Wire 1.4 protocol, allowing agents to ask users questions with multiple choice options and wait for their responses during task execution.
Key Changes
New Features
QuestionRequestto ask users interactive questions with customizable optionsQuestionRequest,QuestionResponse,QuestionItem, andQuestionOptiontypesClientCapabilities/ServerCapabilitieswithsupports_questionflagsendQuestionResponse()method inProtocolClientrespondQuestion()method inTurninterfaceBug Fixes
wire.jsonlwhen forking from turns with incomplete dataRefactoring
QuestionDialoginto chat store, replacing the separateAskUserDialogcomponentVersion Bump