shunt-proxy 0.1.56

A local proxy that pools multiple Claude accounts behind a single endpoint, routing requests to maximise rate limits
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// Fire a macOS system notification. No-op on other platforms.
/// `sound` is a macOS alert sound name ("Basso", "Ping", "Glass", etc.)
pub fn notify(title: &str, body: &str, sound: &str) {
    #[cfg(target_os = "macos")]
    {
        let script = format!(
            "display notification {body:?} with title {title:?} sound name {sound:?}"
        );
        let _ = std::process::Command::new("osascript")
            .args(["-e", &script])
            .status();
    }
    #[cfg(not(target_os = "macos"))]
    let _ = (title, body, sound);
}