chore: generate

This commit is contained in:
opencode-agent[bot] 2026-06-07 03:28:52 +00:00
commit 155e1f20d6
25 changed files with 492 additions and 329 deletions

View file

@ -460,7 +460,8 @@ export function Session() {
},
run: async () => {
const copy = (url: string) =>
platform.clipboard?.write?.(url)
platform.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
@ -895,7 +896,8 @@ export function Session() {
return
}
platform.clipboard?.write?.(text)
platform.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()