chore: generate

This commit is contained in:
opencode-agent[bot] 2026-06-07 05:25:52 +00:00
commit 21a644fef5
12 changed files with 40 additions and 50 deletions

View file

@ -467,7 +467,8 @@ export function Session() {
},
run: async () => {
const copy = (url: string) =>
clipboard.write?.(url)
clipboard
.write?.(url)
.then(() => toast.show({ message: "Share URL copied to clipboard!", variant: "success" }))
.catch(() => toast.show({ message: "Failed to copy URL to clipboard", variant: "error" }))
const url = session()?.share?.url
@ -902,7 +903,8 @@ export function Session() {
return
}
clipboard.write?.(text)
clipboard
.write?.(text)
.then(() => toast.show({ message: "Message copied to clipboard!", variant: "success" }))
.catch(() => toast.show({ message: "Failed to copy to clipboard", variant: "error" }))
dialog.clear()