Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
925 changes: 471 additions & 454 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,20 +113,22 @@ tauri-plugin-apple-calendar = { path = "plugins/apple-calendar" }
tauri-plugin-auth = { path = "plugins/auth" }
tauri-plugin-db = { path = "plugins/db" }
tauri-plugin-db2 = { path = "plugins/db2" }
tauri-plugin-detect = { path = "plugins/detect" }
tauri-plugin-listener = { path = "plugins/listener" }
tauri-plugin-local-llm = { path = "plugins/local-llm" }
tauri-plugin-local-stt = { path = "plugins/local-stt" }
tauri-plugin-mcp = { path = "plugins/mcp" }
tauri-plugin-misc = { path = "plugins/misc" }
tauri-plugin-notification = { path = "plugins/notification" }
tauri-plugin-permissions = { path = "plugins/permissions" }
tauri-plugin-sfx = { path = "plugins/sfx" }
tauri-plugin-sse = { path = "plugins/sse" }
tauri-plugin-store2 = { path = "plugins/store2" }
tauri-plugin-template = { path = "plugins/template" }
tauri-plugin-tracing = { path = "plugins/tracing" }
tauri-plugin-tray = { path = "plugins/tray" }
tauri-plugin-webhook = { path = "plugins/webhook" }
tauri-plugin-windows = { path = "plugins/windows", default-features = false }
tauri-plugin-windows = { path = "plugins/windows" }

async-stream = "0.3.6"
futures-channel = "0.3.31"
Expand Down
57 changes: 30 additions & 27 deletions apps/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
"gen:schema": "tsx src/devtool/seed/script.ts"
},
"dependencies": {
"@ai-sdk/amazon-bedrock": "^3.0.47",
"@ai-sdk/anthropic": "^2.0.37",
"@ai-sdk/azure": "^2.0.54",
"@ai-sdk/google": "^2.0.23",
"@ai-sdk/google-vertex": "^3.0.53",
"@ai-sdk/openai": "^2.0.53",
"@ai-sdk/openai-compatible": "^1.0.22",
"@ai-sdk/react": "^2.0.78",
"@electric-sql/client": "^1.0.14",
"@ai-sdk/amazon-bedrock": "^3.0.49",
"@ai-sdk/anthropic": "^2.0.39",
"@ai-sdk/azure": "^2.0.59",
"@ai-sdk/google": "^2.0.25",
"@ai-sdk/google-vertex": "^3.0.55",
"@ai-sdk/openai": "^2.0.58",
"@ai-sdk/openai-compatible": "^1.0.24",
"@ai-sdk/react": "^2.0.82",
"@electric-sql/client": "^1.1.1",
"@huggingface/languages": "^1.0.0",
"@hypr/db": "workspace:*",
"@hypr/plugin-analytics": "workspace:*",
Expand All @@ -32,36 +32,39 @@
"@hypr/plugin-local-stt": "workspace:*",
"@hypr/plugin-misc": "workspace:*",
"@hypr/plugin-notification": "workspace:*",
"@hypr/plugin-detect": "workspace:*",
"@hypr/plugin-permissions": "workspace:*",
"@hypr/plugin-template": "workspace:*",
"@hypr/plugin-windows": "workspace:*",
"@hypr/tiptap": "workspace:^",
"@hypr/ui": "workspace:^",
"@hypr/utils": "workspace:^",
"@iconify-icon/react": "^3.0.1",
"@iconify-icon/react": "^3.0.2",
"@lobehub/icons": "^2.43.1",
"@openrouter/ai-sdk-provider": "^1.2.0",
"@orama/highlight": "^0.1.9",
"@orama/orama": "^3.1.16",
"@orama/plugin-qps": "^3.1.16",
"@sentry/react": "^8.55.0",
"@supabase/supabase-js": "^2.76.1",
"@supabase/supabase-js": "^2.77.0",
"@t3-oss/env-core": "^0.13.8",
"@tanstack/react-form": "^1.23.8",
"@tanstack/react-query": "^5.90.5",
"@tanstack/react-router": "^1.133.25",
"@tanstack/react-router": "^1.133.36",
"@tanstack/react-virtual": "^3.13.12",
"@tauri-apps/api": "^2.9.0",
"@tauri-apps/plugin-deep-link": "^2.4.3",
"@tauri-apps/plugin-dialog": "^2.4.0",
"@tauri-apps/plugin-http": "^2.5.2",
"@tauri-apps/plugin-opener": "^2.5.0",
"@tauri-apps/plugin-process": "^2.3.0",
"@tauri-apps/plugin-store": "^2.4.0",
"@tauri-apps/plugin-deep-link": "^2.4.5",
"@tauri-apps/plugin-dialog": "^2.4.2",
"@tauri-apps/plugin-http": "^2.5.4",
"@tauri-apps/plugin-opener": "^2.5.2",
"@tauri-apps/plugin-process": "^2.3.1",
"@tauri-apps/plugin-shell": "^2.3.3",
"@tauri-apps/plugin-store": "^2.4.1",
"@tauri-apps/plugin-updater": "^2.9.0",
"@uidotdev/usehooks": "^2.4.1",
"@wavesurfer/react": "^1.0.11",
"@xstate/store": "^3.11.1",
"ai": "^5.0.78",
"@xstate/store": "^3.11.2",
"ai": "^5.0.82",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"dompurify": "^3.3.0",
Expand All @@ -75,27 +78,27 @@
"react-dom": "^19.2.0",
"react-hotkeys-hook": "^4.6.2",
"streamdown": "^1.4.0",
"tinybase": "^6.7.1",
"tinybase": "^6.7.2",
"tinytick": "^1.2.8",
"wavesurfer.js": "^7.11.0",
"wavesurfer.js": "^7.11.1",
"xstate": "^5.23.0",
"zod": "^4.1.12",
"zustand": "^5.0.8"
},
"devDependencies": {
"@faker-js/faker": "^10.1.0",
"@tanstack/react-router-devtools": "^1.133.25",
"@tanstack/router-plugin": "^1.133.25",
"@tauri-apps/cli": "^2.9.1",
"@tanstack/react-router-devtools": "^1.133.36",
"@tanstack/router-plugin": "^1.133.36",
"@tauri-apps/cli": "^2.9.2",
"@types/json5": "^2.2.0",
"@types/node": "^24.9.1",
"@types/node": "^24.9.2",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@vitejs/plugin-react": "^4.7.0",
"autoprefixer": "^10.4.21",
"postcss": "^8.5.6",
"tailwindcss": "^3.4.18",
"tsx": "^4.19.2",
"tsx": "^4.20.6",
"typescript": "~5.8.3",
"vite": "^7.1.12",
"vitest": "^3.2.4"
Expand Down
2 changes: 2 additions & 0 deletions apps/desktop/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ tauri-plugin-analytics = { workspace = true }
tauri-plugin-auth = { workspace = true }
tauri-plugin-db2 = { workspace = true }
tauri-plugin-deep-link = { workspace = true }
tauri-plugin-detect = { workspace = true }
tauri-plugin-dialog = { workspace = true }
tauri-plugin-fs = { workspace = true }
tauri-plugin-http = { workspace = true }
Expand All @@ -33,6 +34,7 @@ tauri-plugin-misc = { workspace = true }
tauri-plugin-notification = { workspace = true }
tauri-plugin-opener = { workspace = true }
tauri-plugin-os = { workspace = true }
tauri-plugin-permissions = { workspace = true }
tauri-plugin-process = { workspace = true }
tauri-plugin-sentry = { workspace = true }
tauri-plugin-shell = { workspace = true }
Expand Down
5 changes: 3 additions & 2 deletions apps/desktop/src-tauri/capabilities/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@
"listener:default",
"template:default",
"notification:default",
"shell:default",
"shell:allow-open",
"misc:default",
"os:default",
"http:default",
"detect:default",
"permissions:default",
{
"identifier": "http:default",
"deny": [],
Expand Down
2 changes: 2 additions & 0 deletions apps/desktop/src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ pub async fn main() {
.plugin(tauri_plugin_listener::init())
.plugin(tauri_plugin_shell::init())
.plugin(tauri_plugin_local_stt::init())
.plugin(tauri_plugin_permissions::init())
.plugin(tauri_plugin_updater::Builder::new().build())
.plugin(tauri_plugin_deep_link::init())
.plugin(tauri_plugin_sentry::init_with_no_injection(&sentry_client))
Expand All @@ -57,6 +58,7 @@ pub async fn main() {
.plugin(tauri_plugin_misc::init())
.plugin(tauri_plugin_template::init())
.plugin(tauri_plugin_http::init())
.plugin(tauri_plugin_detect::init())
.plugin(tauri_plugin_notification::init())
.plugin(tauri_plugin_tray::init())
.plugin(tauri_plugin_store::Builder::default().build())
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useHover } from "@uidotdev/usehooks";
import { MicOff } from "lucide-react";

import { Button } from "@hypr/ui/components/ui/button";
import { cn } from "@hypr/utils";
Expand All @@ -8,10 +9,11 @@ import { SoundIndicator } from "../../shared";
export function InMeetingIndicator({ sessionId }: { sessionId: string }) {
const [ref, hovered] = useHover();

const { active, stop, amplitude } = useListener((state) => ({
const { active, stop, amplitude, muted } = useListener((state) => ({
active: state.status === "running_active" && state.sessionId === sessionId,
stop: state.stop,
amplitude: state.amplitude,
muted: state.muted,
}));

if (!active) {
Expand All @@ -37,6 +39,21 @@ export function InMeetingIndicator({ sessionId }: { sessionId: string }) {
<span>Stop</span>
</div>
)
: muted
? (
<div className="flex items-center gap-1.5">
<MicOff size={14} />
<SoundIndicator
value={[amplitude.mic, amplitude.speaker]}
color="#ef4444"
size="long"
height={16}
width={32}
stickWidth={2}
gap={1}
/>
</div>
)
: (
<SoundIndicator
value={[amplitude.mic, amplitude.speaker]}
Expand Down
Loading
Loading