feat: Agent Orchestrator — multi-project agent dashboard
Tauri + Svelte 5 + Rust application for orchestrating multiple AI coding agents. Includes Claude, Aider, Codex, and Ollama provider support, multi-agent communication (btmsg/bttask), session anchors, plugin sandbox, FTS5 search, Landlock sandboxing, and 507 vitest + 110 cargo tests.
This commit is contained in:
commit
3672e92b7e
272 changed files with 68600 additions and 0 deletions
19
src/lib/adapters/notifications-bridge.ts
Normal file
19
src/lib/adapters/notifications-bridge.ts
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
// Notifications bridge — wraps Tauri desktop notification command
|
||||
|
||||
import { invoke } from '@tauri-apps/api/core';
|
||||
|
||||
export type NotificationUrgency = 'low' | 'normal' | 'critical';
|
||||
|
||||
/**
|
||||
* Send an OS desktop notification via notify-rust.
|
||||
* Fire-and-forget: errors are swallowed (notification daemon may not be running).
|
||||
*/
|
||||
export function sendDesktopNotification(
|
||||
title: string,
|
||||
body: string,
|
||||
urgency: NotificationUrgency = 'normal',
|
||||
): void {
|
||||
invoke('notify_desktop', { title, body, urgency }).catch(() => {
|
||||
// Swallow IPC errors — notifications must never break the app
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue