Files
oh-my-opencode/dist/hooks/session-notification-sender.d.ts
T
2026-03-14 04:56:50 +00:00

7 lines
510 B
TypeScript

import type { PluginInput } from "@opencode-ai/plugin";
export type Platform = "darwin" | "linux" | "win32" | "unsupported";
export declare function detectPlatform(): Platform;
export declare function getDefaultSoundPath(platform: Platform): string;
export declare function sendSessionNotification(ctx: PluginInput, platform: Platform, title: string, message: string): Promise<void>;
export declare function playSessionNotificationSound(ctx: PluginInput, platform: Platform, soundPath: string): Promise<void>;