chore: include pre-built dist for github install
This commit is contained in:
Vendored
+25
@@ -0,0 +1,25 @@
|
||||
import type { PluginInput } from "@opencode-ai/plugin";
|
||||
interface SessionNotificationConfig {
|
||||
title?: string;
|
||||
message?: string;
|
||||
questionMessage?: string;
|
||||
permissionMessage?: string;
|
||||
playSound?: boolean;
|
||||
soundPath?: string;
|
||||
/** Delay in ms before sending notification to confirm session is still idle (default: 1500) */
|
||||
idleConfirmationDelay?: number;
|
||||
/** Skip notification if there are incomplete todos (default: true) */
|
||||
skipIfIncompleteTodos?: boolean;
|
||||
/** Maximum number of sessions to track before cleanup (default: 100) */
|
||||
maxTrackedSessions?: number;
|
||||
enforceMainSessionFilter?: boolean;
|
||||
/** Grace period in ms to ignore late-arriving activity events after scheduling (default: 100) */
|
||||
activityGracePeriodMs?: number;
|
||||
}
|
||||
export declare function createSessionNotification(ctx: PluginInput, config?: SessionNotificationConfig): ({ event }: {
|
||||
event: {
|
||||
type: string;
|
||||
properties?: unknown;
|
||||
};
|
||||
}) => Promise<void>;
|
||||
export {};
|
||||
Reference in New Issue
Block a user