-
Notifications
You must be signed in to change notification settings - Fork 2.6k
add new task command #1648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add new task command #1648
Conversation
|
b8b6e30 to
ada4513
Compare
…est to use. (RooCodeInc#1648) * add alibaba qwen-max qwen-plus qwen-turbo qwen-coder-plus stable/latest models * add alibaba qwen-max qwen-plus qwen-turbo qwen-coder-plus stable/latest models * Provide the api line choice for international user * Remove redundant code * Copy fixes * Create dry-socks-talk.md --------- Co-authored-by: Saoud Rizwan <[email protected]>
|
We've gotten some feedback that there are too many code actions. I wonder if there's a way to behave a bit more like cursor and try to combine everything into a single action. In particular something like |
I agree with your idea about ctrl+l, but the main purpose of this pr is to provide a calling entry for other plug-ins or automation tools, which can directly invoke and execute new tasks through commands without interacting with users. |
| NEW_TASK: { | ||
| label: "Start New Task", | ||
| description: "Start new task with user input", | ||
| template: `\${userInput}`, | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it need to be added here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just thinking that this adds another tab at the bottom of the prompts view right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my scenario, other plugins will send tasks to Roo, and I hope Roo can define its own prompt words when receiving instructions from other plugins.
In addition, because this pr also supports users to create tasks directly through the command palette, this option can also be used for users to define their own "quick start" prompt words.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this work for the problem you're trying to solve?
https://github.com/RooVetGit/Roo-Code/blob/878b3820d2f41809f6063c5c54597d6bf0d3c591/src/exports/roo-code.d.ts#L24-L31
This should allow other extensions to interface with Roo Code. Or is it more convenient to use an action?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
API can meet the needs, but I think command is more convenience. it can be called from the command palette, shortcut keys, other plugins or the command line
Context
add new task command, so users can start new task from command palette, or from other plugins.
Implementation
roo-cline.newTaskcommandnew taskprompt templateScreenshots
How to Test
Get in Touch
Important
Add
roo-cline.newTaskcommand to start new tasks via command palette or plugins, with user input handling inhandleTask.ts.roo-cline.newTaskcommand inpackage.jsonto start new tasks from the command palette or other plugins.handleNewTaskfunction inhandleTask.tsto prompt user input and handle task creation.roo-cline.newTaskinregisterCommands.tsto link the command withhandleNewTask.NEW_TASKprompt template insupport-prompt.tsfor user input handling.This description was created by
for b8b6e30b291b5cae96c341ce862da406154c2af9. It will automatically update as commits are pushed.