mirror of
https://bitbucket.org/siakitem/my-pi.git
synced 2026-08-28 08:35:57 +00:00
25 lines
649 B
TypeScript
25 lines
649 B
TypeScript
export type MessageSource = "user" | "assistant" | "none";
|
|
|
|
export type KittyVisibility = "always" | "unfocused" | "invisible";
|
|
export type NotificationAction = "focus" | "none";
|
|
export type NotificationBackend = "kitty" | "apple-script" | "osc-777";
|
|
|
|
export type NotifyConfig = {
|
|
enabled: boolean;
|
|
title: string;
|
|
body: string;
|
|
durationMs: number;
|
|
minDurationMs: number;
|
|
notificationId: string;
|
|
visibility: KittyVisibility;
|
|
action: NotificationAction;
|
|
soundCommand?: string;
|
|
};
|
|
|
|
export type NotificationRuntimeValues = {
|
|
notificationId: string;
|
|
toolErrorCount?: number;
|
|
};
|
|
|
|
export type TemplateValues = Record<string, string>;
|