Merged
Conversation
…-key logic duplication Bug2: route.ts and auto-yes-manager.ts had fully duplicated cursor-key sending logic. When Bug1 fix (fallbackPromptType) was applied to route.ts, auto-yes-manager.ts was missed. Extract shared sendPromptAnswer() into src/lib/prompt-answer-sender.ts to ensure both modules use identical logic. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…tection Add U+276F (❯) barrier in Pass 2 backward scan of detectMultipleChoicePrompt(). When no options have been collected and the line starts with ❯ but does not match DEFAULT_OPTION_PATTERN, scanning stops to prevent historical numbered lists from being falsely detected as active prompts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.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.
Summary
sendPromptAnswer()をprompt-answer-sender.tsに共通化し、auto-yes-manager.tsとprompt-response/route.tsのカーソルキーロジック重複を解消prompt-detector.tsの Pass 2 逆方向スキャンに❯バリアを追加し、過去の会話テキスト内の番号付きリストをmultiple_choiceプロンプトとして誤検出する問題を修正Changes
src/lib/prompt-answer-sender.ts(新規),src/lib/auto-yes-manager.ts,src/app/api/.../route.tssrc/lib/prompt-detector.tsTest plan
🤖 Generated with Claude Code