mirror of
https://bitbucket.org/siakitem/my-pi.git
synced 2026-08-28 08:35:57 +00:00
feat: add Kitty-aware completion notifications
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
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>;
|
||||
Reference in New Issue
Block a user