feat: add /catch-up and /debug guided commands to draft welcome
Replace the 'What changed recently' draft chip with /catch-up, a command whose hidden prompt branches on git state: reconstruct intent from an in-progress diff, check an open PR's review state, or summarize recent commits. Add /debug as a new draft chip and command: a guided root-cause investigation that captures the symptom, forms hypotheses, checks them against the code, and confirms the cause before proposing a fix. Both follow the /workspace-review pattern — visible + hidden magic prompts wired into command autocomplete, the submit handler, draft preset chips, and the Magic Prompts settings page, with i18n across all locales.
This commit is contained in:
@@ -447,9 +447,9 @@ export const dict: Record<I18nKey, string> = {
|
||||
'chat.emptyState.draftTitleWithProject': 'What are we working on in {project}?',
|
||||
'chat.draftPresets.explore.label': 'Explore the codebase',
|
||||
'chat.draftPresets.explore.prompt': 'Give me a high-level tour of this codebase — the architecture, the main modules, and how they fit together.',
|
||||
'chat.draftPresets.changes.label': 'What changed recently',
|
||||
'chat.draftPresets.changes.prompt': 'Summarize what changed recently — the latest commits and the current state of this branch.',
|
||||
'chat.draftPresets.catchup.label': 'Catch me up',
|
||||
'chat.draftPresets.plan.label': 'Start feature planning',
|
||||
'chat.draftPresets.debug.label': 'Debug an issue',
|
||||
'chat.draftPresets.review.label': 'Review my changes',
|
||||
'chat.scrollToBottom.aria': 'Przewiń na dół',
|
||||
'chat.timeline.relative.justNow': 'przed chwilą',
|
||||
@@ -511,6 +511,8 @@ export const dict: Record<I18nKey, string> = {
|
||||
'chat.commandAutocomplete.command.summaryDescription': 'Niedestrukcyjne podsumowanie sesji. Opcjonalna wskazówka tematu po poleceniu.',
|
||||
'chat.commandAutocomplete.command.workspaceReviewDescription': 'Recenzja obecnych zmian w przestrzeni roboczej tylko dla problemów o wysokim sygnale.',
|
||||
'chat.commandAutocomplete.command.featurePlanDescription': 'Rozpocznij prowadzoną, interaktywną sesję planowania nowej funkcji.',
|
||||
'chat.commandAutocomplete.command.catchUpDescription': 'Przywróć kontekst: nad czym pracowałeś i od czego kontynuować.',
|
||||
'chat.commandAutocomplete.command.debugDescription': 'Prowadzone badanie pierwotnej przyczyny błędu przed zaproponowaniem poprawki.',
|
||||
'chat.commandAutocomplete.badge.skill': 'skill',
|
||||
'chat.commandAutocomplete.badge.command': 'polecenie',
|
||||
'chat.commandAutocomplete.badge.system': 'system',
|
||||
@@ -917,6 +919,8 @@ export const dict: Record<I18nKey, string> = {
|
||||
'chat.chatInput.toast.openSessionFirst': 'Najpierw otwórz sesję',
|
||||
'chat.chatInput.toast.reviewFailed': 'Nie udało się przejrzeć zmian',
|
||||
'chat.chatInput.toast.planFeatureFailed': 'Nie udało się rozpocząć planowania funkcji',
|
||||
'chat.chatInput.toast.catchUpFailed': 'Nie udało się przywrócić kontekstu',
|
||||
'chat.chatInput.toast.debugFailed': 'Nie udało się rozpocząć debugowania',
|
||||
'chat.chatInput.toast.sendAttachmentsFailed': 'Nie udało się wysłać załączników. Spróbuj użyć mniejszej liczby plików lub mniejszych obrazów.',
|
||||
'chat.chatInput.toast.someFilesSkipped': 'Pominięto niektóre pliki:\n{summary}',
|
||||
'chat.chatInput.toast.summaryFailed': 'Nie udało się wygenerować podsumowania',
|
||||
|
||||
Reference in New Issue
Block a user