Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/types/src/vscode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const commandIds = [
"handleHumanRelayResponse",

"newTask",
"newTaskWithoutPrompt",

"setCustomStoragePath",
"importSettings",
Expand Down
16 changes: 16 additions & 0 deletions src/activate/registerCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,22 @@ const getCommandsMap = ({ context, outputChannel, provider }: RegisterCommandOpt
unregisterHumanRelayCallback: unregisterHumanRelayCallback,
handleHumanRelayResponse: handleHumanRelayResponse,
newTask: handleNewTask,
newTaskWithoutPrompt: async () => {
const provider = await ClineProvider.getInstance()
if (!provider) {

return
}

TelemetryService.instance.captureTitleButtonClicked("plus")

await provider.removeClineFromStack()
await provider.refreshWorkspace()
await provider.postMessageToWebview({ type: "action", action: "chatButtonClicked" })
// Send focusInput action immediately after chatButtonClicked
// This ensures the focus happens after the view has switched
await provider.postMessageToWebview({ type: "action", action: "focusInput" })
},
setCustomStoragePath: async () => {
const { promptForCustomStoragePath } = await import("../utils/storage")
await promptForCustomStoragePath()
Expand Down
13 changes: 12 additions & 1 deletion src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,12 @@
"command": "roo-cline.toggleAutoApprove",
"title": "%command.toggleAutoApprove.title%",
"category": "%configuration.title%"
}
},
{
"command": "roo-cline.newTaskWithoutPrompt",
"title": "%command.newTaskWithoutPrompt.title%",
"category": "%configuration.title%"
}
],
"menus": {
"editor/context": [
Expand Down Expand Up @@ -292,6 +297,12 @@
"mac": "cmd+alt+a",
"win": "ctrl+alt+a",
"linux": "ctrl+alt+a"
},
{
"command": "roo-cline.newTaskWithoutPrompt",
"key": "ctrl+m, ctrl+n",
"mac": "cmd+m, cmd+n",
"when": "roo-cline.sidebar.visible"
}
],
"submenus": [
Expand Down
1 change: 1 addition & 0 deletions src/package.nls.ca.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/package.nls.de.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/package.nls.es.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/package.nls.fr.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/package.nls.hi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/package.nls.id.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/package.nls.it.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/package.nls.ja.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"views.activitybar.title": "Roo Code",
"views.sidebar.name": "Roo Code",
"command.newTask.title": "New Task",
"command.newTaskWithoutPrompt.title": "New Task (No Prompt)",
"command.history.title": "Task History",
"command.marketplace.title": "Marketplace",
"command.openInEditor.title": "Open in Editor",
Expand Down
1 change: 1 addition & 0 deletions src/package.nls.ko.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/package.nls.nl.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/package.nls.pl.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/package.nls.pt-BR.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/package.nls.ru.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/package.nls.tr.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/package.nls.vi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/package.nls.zh-CN.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/package.nls.zh-TW.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading