feat: full pattern matrix — M1 complete, M2 LLM chat, 30+ pattern files #10

Open
pyr0ball wants to merge 27 commits from feat/patterns-expansion into main
7 changed files with 6165 additions and 6 deletions
Showing only changes of commit f0269c62a5 - Show all commits

6158
src-tauri/Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -31,6 +31,7 @@ tauri-plugin-log = "2"
tauri-plugin-notification = "2"
tauri-plugin-shell = "2"
tauri-plugin-fs = "2"
reqwest = { version = "0.12", features = ["json", "stream"] }
[dev-dependencies]
tempfile = "3"

View file

@ -111,6 +111,8 @@ pub async fn chat(
crate::config::SourceOs::Macos => "macOS",
crate::config::SourceOs::Windows => "Windows",
crate::config::SourceOs::Linux => "Linux",
crate::config::SourceOs::Android => "Android",
crate::config::SourceOs::IpadOs => "iPad/iOS",
crate::config::SourceOs::Unknown => "Unknown",
};
(os.to_string(), m.distro.clone())

View file

@ -1,6 +1,6 @@
use std::sync::atomic::{AtomicBool, Ordering};
use std::sync::Mutex;
use tauri::{AppHandle, Emitter, Runtime};
use tauri::{AppHandle, Emitter, Manager, Runtime};
use tauri_plugin_notification::NotificationExt;
use crate::commands::AppState;

View file

@ -1,5 +1,5 @@
use crate::watcher::{EventSource, SystemEvent};
use anyhow::{Context, Result};
use anyhow::Result;
use serde::{Deserialize, Serialize};
use std::collections::HashMap;

View file

@ -14,7 +14,7 @@ pub fn build_tray<R: Runtime>(app: &AppHandle<R>) -> tauri::Result<()> {
.tooltip("Robin")
.icon(app.default_window_icon().cloned().unwrap())
.menu(&menu)
.menu_on_left_click(false)
.show_menu_on_left_click(false)
.on_menu_event(|app, event| match event.id.as_ref() {
"open" => toggle_chat_panel(app),
"quit" => app.exit(0),

View file

@ -48,8 +48,6 @@
"icons/icon.icns",
"icons/icon.ico"
],
"linux": {
"desktopTemplate": "../assets/robin.desktop"
}
"linux": {}
}
}