chore: generate

This commit is contained in:
opencode-agent[bot]
2026-06-07 05:25:52 +00:00
parent 106f8e94d6
commit 21a644fef5
12 changed files with 40 additions and 50 deletions
+5 -1
View File
@@ -73,7 +73,11 @@ export async function read() {
if (text) return { data: text, mime: "text/plain" }
}
export function copyCommand(os: NodeJS.Platform, wayland: boolean, has: (name: string) => boolean): string[] | undefined {
export function copyCommand(
os: NodeJS.Platform,
wayland: boolean,
has: (name: string) => boolean,
): string[] | undefined {
if (os === "darwin" && has("osascript")) return ["osascript"]
if (os === "linux" && wayland && has("wl-copy")) return ["wl-copy"]
if (os === "linux" && has("xclip")) return ["xclip", "-selection", "clipboard"]