diff --git a/extensions/claude/CHANGELOG.md b/extensions/claude/CHANGELOG.md index f275d42d3d246..e143c6058bfc3 100644 --- a/extensions/claude/CHANGELOG.md +++ b/extensions/claude/CHANGELOG.md @@ -1,5 +1,9 @@ # Claude Changelog +## [Update] - 2024-12-09 + +- Feature: Added copy question actions + ## [Update] - 2024-11-05 - Feature: Added new [Claude 3.5 Haiku](https://www.anthropic.com/news/3-5-models-and-computer-use) diff --git a/extensions/claude/package.json b/extensions/claude/package.json index 78eb8b76591a3..3cc4bf29f3e7c 100644 --- a/extensions/claude/package.json +++ b/extensions/claude/package.json @@ -8,7 +8,8 @@ "contributors": [ "alextlopez11", "FelixII", - "midnite" + "midnite", + "ridemountainpig" ], "categories": [ "Productivity", diff --git a/extensions/claude/src/views/chat.tsx b/extensions/claude/src/views/chat.tsx index ab8484d705edb..390016e0685f7 100644 --- a/extensions/claude/src/views/chat.tsx +++ b/extensions/claude/src/views/chat.tsx @@ -1,4 +1,4 @@ -import { ActionPanel, clearSearchBar, Icon, List } from "@raycast/api"; +import { Action, ActionPanel, clearSearchBar, Icon, List } from "@raycast/api"; import { v4 as uuidv4 } from "uuid"; import { DestructiveAction, PrimaryAction } from "../actions"; import { CopyActionSection } from "../actions/copy"; @@ -43,30 +43,40 @@ export const ChatView = ({ onModelChange={onModelChange} /> {use.chats.data.length > 0 && ( - - { - setConversation({ - id: uuidv4(), - chats: [], - model: model, - pinned: false, - updated_at: "", - created_at: new Date().toISOString(), - }); - use.chats.clear(); - clearSearchBar(); - use.chats.setLoading(false); - }} - shortcut={{ modifiers: ["cmd", "shift"], key: "n" }} - /> - + <> + + + + + { + setConversation({ + id: uuidv4(), + chats: [], + model: model, + pinned: false, + updated_at: "", + created_at: new Date().toISOString(), + }); + use.chats.clear(); + clearSearchBar(); + use.chats.setLoading(false); + }} + shortcut={{ modifiers: ["cmd", "shift"], key: "n" }} + /> + + )}