fix: avoid opencode structured output session breakage

Replace server-enforced structured output with local JSON parsing for Git generation
Render generated commit and PR JSON responses as compact chat cards
Tighten generation prompts while preserving active session context
This commit is contained in:
Bohdan Triapitsyn
2026-05-14 02:16:52 +03:00
parent bac655ddb4
commit 92f1fa7dfe
17 changed files with 282 additions and 47 deletions
+7
View File
@@ -1453,6 +1453,13 @@ export const dict: Record<I18nKey, string> = {
'chat.messageBody.actions.saveAsPlan': '플랜으로 저장',
'chat.messageBody.actions.startNewSession': '이 응답에서 새 세션 시작',
'chat.messageBody.actions.startNewMultiRun': '이 응답에서 새 멀티런 시작',
'chat.generatedResult.actions.copy': '복사',
'chat.generatedResult.actions.copied': '복사됨',
'chat.generatedResult.commit.title': '생성된 커밋 메시지',
'chat.generatedResult.commit.highlights': '하이라이트',
'chat.generatedResult.pullRequest.title': '생성된 Pull Request',
'chat.generatedResult.pullRequest.titleLabel': '제목',
'chat.generatedResult.pullRequest.bodyLabel': '본문',
'chat.messageBody.tts.stopSpeaking': '읽기 중지',
'chat.messageBody.tts.readAloud': '소리 내어 읽기',
'chat.messageBody.tts.readAloudWithProvider': '소리 내어 읽기({provider} 음성)',