From 87772db80d463530b9c7eecb6f564ed8a53d476a Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Mon, 20 Jan 2025 00:57:36 -0800 Subject: [PATCH] Prepare for release --- CHANGELOG.md | 4 ++-- src/core/Cline.ts | 3 ++- src/core/webview/ClineProvider.ts | 2 +- webview-ui/src/components/chat/Announcement.tsx | 5 +++-- webview-ui/src/components/chat/TaskHeader.tsx | 2 +- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f3d8b2be..850007a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,8 @@ ## [3.2.0] -- Add Advisor model tool to help when Cline hits a roadblock (available with OpenRouter and Anthropic) -- Add new Task/Chat mode toggle to turn Cline into a conversational partner, rather than a task-completing agent +- Add 'Consult Advisor' tool to let Cline ask a powerful model like o1 for help when he hits a roadblock (available with OpenRouter and Anthropic) +- Add Plan/Act mode toggle to let you plan tasks with Cline before letting him get to work - Easily switch between API providers and models using a new popup menu under the chat field - Add VS Code LM API provider to run models provided by other VS Code extensions (e.g. GitHub Copilot). Shoutout to @julesmons, @RaySinner, and @MrUbens for putting this together! - Add on/off toggle for MCP servers to disable them when not in use. Thanks @MrUbens! diff --git a/src/core/Cline.ts b/src/core/Cline.ts index 5ce6743c..c6abc1d6 100644 --- a/src/core/Cline.ts +++ b/src/core/Cline.ts @@ -3489,7 +3489,8 @@ export class Cline { details += "\n\n# Current Mode" if (this.chatSettings.mode === "plan") { details += "\nPLAN MODE" - details += '\nSee "## What is PLAN MODE?" above for more information about what to do in this mode.' + details += + "\nSee \"## What is PLAN MODE?\" above for more information about what to do in this mode. If you haven't done so already, it's a good idea to start by asking a question." details += '\n(Remember: You now only have access to the plan_mode_response tool. If it seems the user wants you to use tools only available in ACT MODE, you should ask the user to "toggle to Act mode" - they will have to manually do this themselves with the Plan/Act toggle button below. You do not have the ability to switch to ACT MODE yourself, and must wait for the user to do it themselves once they are satisfied with the plan.)' } else { diff --git a/src/core/webview/ClineProvider.ts b/src/core/webview/ClineProvider.ts index 3c91deae..e5aeed0e 100644 --- a/src/core/webview/ClineProvider.ts +++ b/src/core/webview/ClineProvider.ts @@ -88,7 +88,7 @@ export class ClineProvider implements vscode.WebviewViewProvider { private cline?: Cline private workspaceTracker?: WorkspaceTracker mcpHub?: McpHub - private latestAnnouncementId = "jan-19-2025" // update to some unique identifier when we add a new announcement + private latestAnnouncementId = "jan-20a-2025" // update to some unique identifier when we add a new announcement constructor( readonly context: vscode.ExtensionContext, diff --git a/webview-ui/src/components/chat/Announcement.tsx b/webview-ui/src/components/chat/Announcement.tsx index 0ae03b8b..6381abf5 100644 --- a/webview-ui/src/components/chat/Announcement.tsx +++ b/webview-ui/src/components/chat/Announcement.tsx @@ -35,13 +35,14 @@ const Announcement = ({ version, hideAnnouncement }: AnnouncementProps) => { New Consult Advisor tool {" "} lets Cline ask a powerful model like o1 for help when stuck. Cline provides the full context of the problem, - and the Advisor model responds with a plan to fix it.{" "} + and the Advisor model responds with a solution. (Available with OpenRouter and Anthropic.){" "} See a demo here!
  • - Task/Chat mode toggle to turn Cline into a conversational partner, rather than a task-completing agent + Plan/Act mode toggle: Plan mode lets Cline ask clarifying questions, brainstorm ideas, and architect a + solution. Switch back to Act mode to let him execute the plan!
  • Quick API/model switching with a new popup menu under the chat field diff --git a/webview-ui/src/components/chat/TaskHeader.tsx b/webview-ui/src/components/chat/TaskHeader.tsx index 1c04643e..d04f0aec 100644 --- a/webview-ui/src/components/chat/TaskHeader.tsx +++ b/webview-ui/src/components/chat/TaskHeader.tsx @@ -30,7 +30,7 @@ const TaskHeader: React.FC = ({ totalCost, onClose, }) => { - const { apiConfiguration, currentTaskItem, checkpointTrackerErrorMessage, chatSettings } = useExtensionState() + const { apiConfiguration, currentTaskItem, checkpointTrackerErrorMessage } = useExtensionState() const [isTaskExpanded, setIsTaskExpanded] = useState(true) const [isTextExpanded, setIsTextExpanded] = useState(false) const [showSeeMore, setShowSeeMore] = useState(false)