dmux 5.7.1 → 5.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/DmuxApp.d.ts.map +1 -1
- package/dist/DmuxApp.js +14 -5
- package/dist/DmuxApp.js.map +1 -1
- package/dist/components/popups/newPanePopup.d.ts.map +1 -1
- package/dist/components/popups/newPanePopup.js +13 -2
- package/dist/components/popups/newPanePopup.js.map +1 -1
- package/dist/hooks/useInputHandling.d.ts.map +1 -1
- package/dist/hooks/useInputHandling.js +1 -0
- package/dist/hooks/useInputHandling.js.map +1 -1
- package/dist/hooks/usePaneCreation.d.ts +1 -0
- package/dist/hooks/usePaneCreation.d.ts.map +1 -1
- package/dist/hooks/usePaneCreation.js +4 -0
- package/dist/hooks/usePaneCreation.js.map +1 -1
- package/dist/hooks/usePaneLoading.d.ts.map +1 -1
- package/dist/hooks/usePaneLoading.js +16 -1
- package/dist/hooks/usePaneLoading.js.map +1 -1
- package/dist/i18n/index.d.ts +33 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/index.js +70 -0
- package/dist/i18n/index.js.map +1 -0
- package/dist/i18n/locales/en.d.ts +4 -0
- package/dist/i18n/locales/en.d.ts.map +1 -0
- package/dist/i18n/locales/en.js +114 -0
- package/dist/i18n/locales/en.js.map +1 -0
- package/dist/i18n/locales/ja.d.ts +4 -0
- package/dist/i18n/locales/ja.d.ts.map +1 -0
- package/dist/i18n/locales/ja.js +114 -0
- package/dist/i18n/locales/ja.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/services/DmuxAttentionService.d.ts +2 -0
- package/dist/services/DmuxAttentionService.d.ts.map +1 -1
- package/dist/services/DmuxAttentionService.js +17 -0
- package/dist/services/DmuxAttentionService.js.map +1 -1
- package/dist/services/DmuxFocusService.d.ts +1 -0
- package/dist/services/DmuxFocusService.d.ts.map +1 -1
- package/dist/services/DmuxFocusService.js +7 -0
- package/dist/services/DmuxFocusService.js.map +1 -1
- package/dist/services/PopupManager.d.ts.map +1 -1
- package/dist/services/PopupManager.js +15 -4
- package/dist/services/PopupManager.js.map +1 -1
- package/dist/services/StatusDetector.d.ts +1 -1
- package/dist/services/StatusDetector.d.ts.map +1 -1
- package/dist/services/StatusDetector.js +6 -3
- package/dist/services/StatusDetector.js.map +1 -1
- package/dist/types.d.ts +5 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/agentLaunch.d.ts +4 -0
- package/dist/utils/agentLaunch.d.ts.map +1 -1
- package/dist/utils/agentLaunch.js +28 -10
- package/dist/utils/agentLaunch.js.map +1 -1
- package/dist/utils/attachAgent.d.ts +1 -0
- package/dist/utils/attachAgent.d.ts.map +1 -1
- package/dist/utils/attachAgent.js +17 -1
- package/dist/utils/attachAgent.js.map +1 -1
- package/dist/utils/claudeHooks.d.ts +9 -0
- package/dist/utils/claudeHooks.d.ts.map +1 -0
- package/dist/utils/claudeHooks.js +104 -0
- package/dist/utils/claudeHooks.js.map +1 -0
- package/dist/utils/codexHooks.d.ts +5 -0
- package/dist/utils/codexHooks.d.ts.map +1 -1
- package/dist/utils/codexHooks.js +17 -3
- package/dist/utils/codexHooks.js.map +1 -1
- package/dist/utils/generated-agents-doc.d.ts +1 -1
- package/dist/utils/generated-agents-doc.js +1 -1
- package/dist/utils/paneBootstrapConfig.d.ts +2 -0
- package/dist/utils/paneBootstrapConfig.d.ts.map +1 -1
- package/dist/utils/paneBootstrapRunner.js +20 -4
- package/dist/utils/paneBootstrapRunner.js.map +1 -1
- package/dist/utils/paneCreation.d.ts +1 -0
- package/dist/utils/paneCreation.d.ts.map +1 -1
- package/dist/utils/paneCreation.js +5 -1
- package/dist/utils/paneCreation.js.map +1 -1
- package/dist/utils/reopenWorktree.d.ts.map +1 -1
- package/dist/utils/reopenWorktree.js +18 -1
- package/dist/utils/reopenWorktree.js.map +1 -1
- package/dist/utils/settingsManager.d.ts +6 -0
- package/dist/utils/settingsManager.d.ts.map +1 -1
- package/dist/utils/settingsManager.js +154 -0
- package/dist/utils/settingsManager.js.map +1 -1
- package/dist/utils/worktreeMetadata.d.ts +1 -0
- package/dist/utils/worktreeMetadata.d.ts.map +1 -1
- package/dist/utils/worktreeMetadata.js +3 -0
- package/dist/utils/worktreeMetadata.js.map +1 -1
- package/dist/workers/PaneWorker.js +43 -18
- package/dist/workers/PaneWorker.js.map +1 -1
- package/dist/workers/WorkerMessages.d.ts +5 -2
- package/dist/workers/WorkerMessages.d.ts.map +1 -1
- package/dist/workers/WorkerMessages.js.map +1 -1
- package/native/macos/dmux-helper.swift +1 -18
- package/native/macos/prebuilt/dmux-helper.app/Contents/MacOS/dmux-helper +0 -0
- package/package.json +1 -1
|
@@ -203,7 +203,6 @@ final class FocusMonitor: NSObject, NSUserNotificationCenterDelegate, NSSoundDel
|
|
|
203
203
|
private var clients: [Int32: ClientConnection] = [:]
|
|
204
204
|
private var lastSnapshot: FocusSnapshot?
|
|
205
205
|
private var didRequestAccessibilityPrompt = false
|
|
206
|
-
private var activeNotificationSounds: [ObjectIdentifier: NSSound] = [:]
|
|
207
206
|
private var activePreviewSounds: [ObjectIdentifier: NSSound] = [:]
|
|
208
207
|
private var activePreviewNotification: NSUserNotification?
|
|
209
208
|
|
|
@@ -461,8 +460,6 @@ final class FocusMonitor: NSObject, NSUserNotificationCenterDelegate, NSSoundDel
|
|
|
461
460
|
let center = NSUserNotificationCenter.default
|
|
462
461
|
center.delegate = self
|
|
463
462
|
|
|
464
|
-
// Bundled notification sounds are played by the helper because Notification Center
|
|
465
|
-
// does not reliably honor custom NSUserNotification sounds on current macOS builds.
|
|
466
463
|
let preparedSound = prepareNotificationSound(from: message.soundName)
|
|
467
464
|
let notification = NSUserNotification()
|
|
468
465
|
notification.identifier = UUID().uuidString
|
|
@@ -493,7 +490,6 @@ final class FocusMonitor: NSObject, NSUserNotificationCenterDelegate, NSSoundDel
|
|
|
493
490
|
}
|
|
494
491
|
|
|
495
492
|
center.deliver(notification)
|
|
496
|
-
playPreparedNotificationSound(preparedSound.helperSound)
|
|
497
493
|
}
|
|
498
494
|
|
|
499
495
|
private func prepareNotificationSound(from requestedSoundName: String?) -> PreparedNotificationSound {
|
|
@@ -526,23 +522,11 @@ final class FocusMonitor: NSObject, NSUserNotificationCenterDelegate, NSSoundDel
|
|
|
526
522
|
|
|
527
523
|
helperSound.delegate = self
|
|
528
524
|
return PreparedNotificationSound(
|
|
529
|
-
notificationSoundName:
|
|
525
|
+
notificationSoundName: trimmedSoundName,
|
|
530
526
|
helperSound: helperSound
|
|
531
527
|
)
|
|
532
528
|
}
|
|
533
529
|
|
|
534
|
-
private func playPreparedNotificationSound(_ helperSound: NSSound?) {
|
|
535
|
-
guard let helperSound else {
|
|
536
|
-
return
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
let soundId = ObjectIdentifier(helperSound)
|
|
540
|
-
activeNotificationSounds[soundId] = helperSound
|
|
541
|
-
if !helperSound.play() {
|
|
542
|
-
activeNotificationSounds.removeValue(forKey: soundId)
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
|
|
546
530
|
private func playPreviewSound(_ message: PreviewSoundMessage) {
|
|
547
531
|
stopPreviewPlayback()
|
|
548
532
|
|
|
@@ -662,7 +646,6 @@ final class FocusMonitor: NSObject, NSUserNotificationCenterDelegate, NSSoundDel
|
|
|
662
646
|
}
|
|
663
647
|
|
|
664
648
|
func sound(_ sound: NSSound, didFinishPlaying aBool: Bool) {
|
|
665
|
-
activeNotificationSounds.removeValue(forKey: ObjectIdentifier(sound))
|
|
666
649
|
activePreviewSounds.removeValue(forKey: ObjectIdentifier(sound))
|
|
667
650
|
}
|
|
668
651
|
|
|
Binary file
|