new: shortcut to create new task without prompt

This commit is contained in:
Lorenzo 2025-12-14 14:14:05 -03:00
parent 343d5e9dcb
commit d638b7caaa
21 changed files with 48 additions and 2 deletions

View file

@ -44,6 +44,7 @@ export const commandIds = [
"handleHumanRelayResponse",
"newTask",
"newTask.noPrompt",
"setCustomStoragePath",
"importSettings",

View file

@ -151,6 +151,22 @@ const getCommandsMap = ({ context, outputChannel, provider }: RegisterCommandOpt
unregisterHumanRelayCallback: unregisterHumanRelayCallback,
handleHumanRelayResponse: handleHumanRelayResponse,
newTask: handleNewTask,
"newTask.noPrompt": async () => {
const visibleProvider = getVisibleProviderOrLog(outputChannel)
if (!visibleProvider) {
return
}
TelemetryService.instance.captureTitleButtonClicked("plus")
await visibleProvider.removeClineFromStack()
await visibleProvider.refreshWorkspace()
await visibleProvider.postMessageToWebview({ type: "action", action: "chatButtonClicked" })
// Send focusInput action immediately after chatButtonClicked
// This ensures the focus happens after the view has switched
await visibleProvider.postMessageToWebview({ type: "action", action: "focusInput" })
},
setCustomStoragePath: async () => {
const { promptForCustomStoragePath } = await import("../utils/storage")
await promptForCustomStoragePath()

View file

@ -169,7 +169,12 @@
"command": "roo-cline.toggleAutoApprove",
"title": "%command.toggleAutoApprove.title%",
"category": "%configuration.title%"
}
},
{
"command": "roo-cline.newTask.noPrompt",
"title": "%command.newTask.noPrompt.title%",
"category": "%configuration.title%"
}
],
"menus": {
"editor/context": [
@ -292,7 +297,13 @@
"mac": "cmd+alt+a",
"win": "ctrl+alt+a",
"linux": "ctrl+alt+a"
}
},
{
"command": "roo-cline.newTask.noPrompt",
"key": "ctrl+m ctrl+n",
"mac": "cmd+m cmd+n",
"when": "roo-cline.sidebar.visible"
}
],
"submenus": [
{

View file

@ -2,6 +2,7 @@
"extension.displayName": "Roo Code",
"extension.description": "Un equip complet de desenvolupament d'agents d'IA al teu editor.",
"command.newTask.title": "Nova Tasca",
"command.newTask.noPrompt.title": "Nova Tasca (Sense Prompt)",
"command.explainCode.title": "Explicar Codi",
"command.fixCode.title": "Corregir Codi",
"command.improveCode.title": "Millorar Codi",

View file

@ -2,6 +2,7 @@
"extension.displayName": "Roo Code",
"extension.description": "Ein komplettes KI-Agenten-Entwicklungsteam in deinem Editor.",
"command.newTask.title": "Neue Aufgabe",
"command.newTask.noPrompt.title": "Neue Aufgabe (ohne Prompt)",
"command.explainCode.title": "Code Erklären",
"command.fixCode.title": "Code Reparieren",
"command.improveCode.title": "Code Verbessern",

View file

@ -2,6 +2,7 @@
"extension.displayName": "Roo Code",
"extension.description": "Un equipo completo de desarrollo de agentes de IA en tu editor.",
"command.newTask.title": "Nueva Tarea",
"command.newTask.noPrompt.title": "Nueva Tarea (Sin Prompt)",
"command.explainCode.title": "Explicar Código",
"command.fixCode.title": "Corregir Código",
"command.improveCode.title": "Mejorar Código",

View file

@ -2,6 +2,7 @@
"extension.displayName": "Roo Code",
"extension.description": "Une équipe complète de développement d'agents IA dans votre éditeur.",
"command.newTask.title": "Nouvelle Tâche",
"command.newTask.noPrompt.title": "Nouvelle Tâche (Sans Prompt)",
"command.explainCode.title": "Expliquer le Code",
"command.fixCode.title": "Corriger le Code",
"command.improveCode.title": "Améliorer le Code",

View file

@ -2,6 +2,7 @@
"extension.displayName": "Roo Code",
"extension.description": "आपके एडिटर में एआई एजेंट्स की पूरी डेवलपमेंट टीम।",
"command.newTask.title": "नया कार्य",
"command.newTask.noPrompt.title": "नया कार्य (बिना Prompt)",
"command.explainCode.title": "कोड समझाएं",
"command.fixCode.title": "कोड ठीक करें",
"command.improveCode.title": "कोड सुधारें",

View file

@ -6,6 +6,7 @@
"views.activitybar.title": "Roo Code",
"views.sidebar.name": "Roo Code",
"command.newTask.title": "Tugas Baru",
"command.newTask.noPrompt.title": "Tugas Baru (Tanpa Prompt)",
"command.history.title": "Riwayat Tugas",
"command.marketplace.title": "Marketplace",
"command.openInEditor.title": "Buka di Editor",

View file

@ -2,6 +2,7 @@
"extension.displayName": "Roo Code",
"extension.description": "Un intero team di sviluppo di agenti IA nel tuo editor.",
"command.newTask.title": "Nuovo Task",
"command.newTask.noPrompt.title": "Nuovo Task (Senza Prompt)",
"command.explainCode.title": "Spiega Codice",
"command.fixCode.title": "Correggi Codice",
"command.improveCode.title": "Migliora Codice",

View file

@ -6,6 +6,7 @@
"views.activitybar.title": "Roo Code",
"views.sidebar.name": "Roo Code",
"command.newTask.title": "新しいタスク",
"command.newTask.noPrompt.title": "新しいタスク(Prompt なし)",
"command.history.title": "タスク履歴",
"command.marketplace.title": "マーケットプレイス",
"command.openInEditor.title": "エディタで開く",

View file

@ -6,6 +6,7 @@
"views.activitybar.title": "Roo Code",
"views.sidebar.name": "Roo Code",
"command.newTask.title": "New Task",
"command.newTask.noPrompt.title": "New Task (No Prompt)",
"command.history.title": "Task History",
"command.marketplace.title": "Marketplace",
"command.openInEditor.title": "Open in Editor",

View file

@ -2,6 +2,7 @@
"extension.displayName": "Roo Code",
"extension.description": "에디터에서 작동하는 AI 에이전트 개발팀.",
"command.newTask.title": "새 작업",
"command.newTask.noPrompt.title": "새 작업(Prompt 없음)",
"command.explainCode.title": "코드 설명",
"command.fixCode.title": "코드 수정",
"command.improveCode.title": "코드 개선",

View file

@ -6,6 +6,7 @@
"views.activitybar.title": "Roo Code",
"views.sidebar.name": "Roo Code",
"command.newTask.title": "Nieuwe Taak",
"command.newTask.noPrompt.title": "Nieuwe Taak (Zonder Prompt)",
"command.history.title": "Taakgeschiedenis",
"command.marketplace.title": "Marktplaats",
"command.openInEditor.title": "Openen in Editor",

View file

@ -2,6 +2,7 @@
"extension.displayName": "Roo Code",
"extension.description": "Pełny zespół programistów AI w twoim edytorze.",
"command.newTask.title": "Nowe Zadanie",
"command.newTask.noPrompt.title": "Nowe Zadanie (Bez Prompt)",
"command.explainCode.title": "Wyjaśnij Kod",
"command.fixCode.title": "Napraw Kod",
"command.improveCode.title": "Ulepsz Kod",

View file

@ -2,6 +2,7 @@
"extension.displayName": "Roo Code",
"extension.description": "Uma equipe completa de desenvolvimento de agentes de IA no seu editor.",
"command.newTask.title": "Nova Tarefa",
"command.newTask.noPrompt.title": "Nova Tarefa (Sem Prompt)",
"command.explainCode.title": "Explicar Código",
"command.fixCode.title": "Corrigir Código",
"command.improveCode.title": "Melhorar Código",

View file

@ -6,6 +6,7 @@
"views.activitybar.title": "Roo Code",
"views.sidebar.name": "Roo Code",
"command.newTask.title": "Новая задача",
"command.newTask.noPrompt.title": "Новая задача (без Prompt)",
"command.history.title": "История задач",
"command.marketplace.title": "Маркетплейс",
"command.openInEditor.title": "Открыть в редакторе",

View file

@ -2,6 +2,7 @@
"extension.displayName": "Roo Code",
"extension.description": "Düzenleyicinde tam bir AI ajanları geliştirme ekibi.",
"command.newTask.title": "Yeni Görev",
"command.newTask.noPrompt.title": "Yeni Görev (Prompt olmadan)",
"command.explainCode.title": "Kodu Açıkla",
"command.fixCode.title": "Kodu Düzelt",
"command.improveCode.title": "Kodu İyileştir",

View file

@ -2,6 +2,7 @@
"extension.displayName": "Roo Code",
"extension.description": "Một đội ngũ phát triển các tác nhân AI hoàn chỉnh trong trình soạn thảo của bạn.",
"command.newTask.title": "Tác Vụ Mới",
"command.newTask.noPrompt.title": "Tác Vụ Mới (Không Prompt)",
"command.explainCode.title": "Giải Thích Mã",
"command.fixCode.title": "Sửa Mã",
"command.improveCode.title": "Cải Thiện Mã",

View file

@ -2,6 +2,7 @@
"extension.displayName": "Roo Code",
"extension.description": "在你的编辑器中提供完整的 AI 代理开发团队。",
"command.newTask.title": "新建任务",
"command.newTask.noPrompt.title": "新建任务(无 Prompt)",
"command.explainCode.title": "解释代码",
"command.fixCode.title": "修复代码",
"command.improveCode.title": "改进代码",

View file

@ -2,6 +2,7 @@
"extension.displayName": "Roo Code",
"extension.description": "在你的編輯器中提供完整的 AI 代理開發團隊。",
"command.newTask.title": "新建任務",
"command.newTask.noPrompt.title": "新建任務(無 Prompt)",
"command.explainCode.title": "解釋程式碼",
"command.fixCode.title": "修復程式碼",
"command.improveCode.title": "改進程式碼",