The open source coding agent.
TypeScript
wip(desktop): progress
Adamc36f3b9dbe55
diff --git a/packages/desktop/src/context/notification.tsx b/packages/desktop/src/context/notification.tsxindex 744e4fdf3ff..c18b12796c3 100644--- a/packages/desktop/src/context/notification.tsx+++ b/packages/desktop/src/context/notification.tsx@@ -5,6 +5,7 @@ import { useGlobalSDK } from "./global-sdk"import { EventSessionError } from "@opencode-ai/sdk/v2"import { makeAudioPlayer } from "@solid-primitives/audio"import idleSound from "@opencode-ai/ui/audio/staplebops-01.aac"+import errorSound from "@opencode-ai/ui/audio/error-3.aac"type NotificationBase = {directory?: string@@ -29,6 +30,7 @@ export const { use: useNotification, provider: NotificationProvider } = createSiname: "Notification",init: () => {const idlePlayer = makeAudioPlayer(idleSound)+ const errorPlayer = makeAudioPlayer(errorSound)const globalSDK = useGlobalSDK()const [store, setStore] = makePersisted(@@ -65,8 +67,8 @@ export const { use: useNotification, provider: NotificationProvider } = createSibreak}case "session.error": {+ errorPlayer.play()const session = event.properties.sessionID ?? "global"- // errorPlayer.play()setStore("list", store.list.length, {...base,type: "error",diff --git a/packages/ui/src/assets/audio/nope-01.aac b/packages/ui/src/assets/audio/nope-01.aacnew file mode 100644index 00000000000..9fb614d0808Binary files /dev/null and b/packages/ui/src/assets/audio/nope-01.aac differdiff --git a/packages/ui/src/assets/audio/nope-02.aac b/packages/ui/src/assets/audio/nope-02.aacnew file mode 100644index 00000000000..75603cc16f8Binary files /dev/null and b/packages/ui/src/assets/audio/nope-02.aac differdiff --git a/packages/ui/src/assets/audio/nope-03.aac b/packages/ui/src/assets/audio/nope-03.aacnew file mode 100644index 00000000000..1fe459a16e8Binary files /dev/null and b/packages/ui/src/assets/audio/nope-03.aac differdiff --git a/packages/ui/src/assets/audio/nope-04.aac b/packages/ui/src/assets/audio/nope-04.aacnew file mode 100644index 00000000000..b731a2a0790Binary files /dev/null and b/packages/ui/src/assets/audio/nope-04.aac differdiff --git a/packages/ui/src/assets/audio/nope-05.aac b/packages/ui/src/assets/audio/nope-05.aacnew file mode 100644index 00000000000..4534191b6c0Binary files /dev/null and b/packages/ui/src/assets/audio/nope-05.aac differ