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.
Files changed (93) hide show
  1. package/README.md +2 -1
  2. package/dist/DmuxApp.d.ts.map +1 -1
  3. package/dist/DmuxApp.js +14 -5
  4. package/dist/DmuxApp.js.map +1 -1
  5. package/dist/components/popups/newPanePopup.d.ts.map +1 -1
  6. package/dist/components/popups/newPanePopup.js +13 -2
  7. package/dist/components/popups/newPanePopup.js.map +1 -1
  8. package/dist/hooks/useInputHandling.d.ts.map +1 -1
  9. package/dist/hooks/useInputHandling.js +1 -0
  10. package/dist/hooks/useInputHandling.js.map +1 -1
  11. package/dist/hooks/usePaneCreation.d.ts +1 -0
  12. package/dist/hooks/usePaneCreation.d.ts.map +1 -1
  13. package/dist/hooks/usePaneCreation.js +4 -0
  14. package/dist/hooks/usePaneCreation.js.map +1 -1
  15. package/dist/hooks/usePaneLoading.d.ts.map +1 -1
  16. package/dist/hooks/usePaneLoading.js +16 -1
  17. package/dist/hooks/usePaneLoading.js.map +1 -1
  18. package/dist/i18n/index.d.ts +33 -0
  19. package/dist/i18n/index.d.ts.map +1 -0
  20. package/dist/i18n/index.js +70 -0
  21. package/dist/i18n/index.js.map +1 -0
  22. package/dist/i18n/locales/en.d.ts +4 -0
  23. package/dist/i18n/locales/en.d.ts.map +1 -0
  24. package/dist/i18n/locales/en.js +114 -0
  25. package/dist/i18n/locales/en.js.map +1 -0
  26. package/dist/i18n/locales/ja.d.ts +4 -0
  27. package/dist/i18n/locales/ja.d.ts.map +1 -0
  28. package/dist/i18n/locales/ja.js +114 -0
  29. package/dist/i18n/locales/ja.js.map +1 -0
  30. package/dist/index.js +1 -1
  31. package/dist/index.js.map +1 -1
  32. package/dist/services/DmuxAttentionService.d.ts +2 -0
  33. package/dist/services/DmuxAttentionService.d.ts.map +1 -1
  34. package/dist/services/DmuxAttentionService.js +17 -0
  35. package/dist/services/DmuxAttentionService.js.map +1 -1
  36. package/dist/services/DmuxFocusService.d.ts +1 -0
  37. package/dist/services/DmuxFocusService.d.ts.map +1 -1
  38. package/dist/services/DmuxFocusService.js +7 -0
  39. package/dist/services/DmuxFocusService.js.map +1 -1
  40. package/dist/services/PopupManager.d.ts.map +1 -1
  41. package/dist/services/PopupManager.js +15 -4
  42. package/dist/services/PopupManager.js.map +1 -1
  43. package/dist/services/StatusDetector.d.ts +1 -1
  44. package/dist/services/StatusDetector.d.ts.map +1 -1
  45. package/dist/services/StatusDetector.js +6 -3
  46. package/dist/services/StatusDetector.js.map +1 -1
  47. package/dist/types.d.ts +5 -0
  48. package/dist/types.d.ts.map +1 -1
  49. package/dist/utils/agentLaunch.d.ts +4 -0
  50. package/dist/utils/agentLaunch.d.ts.map +1 -1
  51. package/dist/utils/agentLaunch.js +28 -10
  52. package/dist/utils/agentLaunch.js.map +1 -1
  53. package/dist/utils/attachAgent.d.ts +1 -0
  54. package/dist/utils/attachAgent.d.ts.map +1 -1
  55. package/dist/utils/attachAgent.js +17 -1
  56. package/dist/utils/attachAgent.js.map +1 -1
  57. package/dist/utils/claudeHooks.d.ts +9 -0
  58. package/dist/utils/claudeHooks.d.ts.map +1 -0
  59. package/dist/utils/claudeHooks.js +104 -0
  60. package/dist/utils/claudeHooks.js.map +1 -0
  61. package/dist/utils/codexHooks.d.ts +5 -0
  62. package/dist/utils/codexHooks.d.ts.map +1 -1
  63. package/dist/utils/codexHooks.js +17 -3
  64. package/dist/utils/codexHooks.js.map +1 -1
  65. package/dist/utils/generated-agents-doc.d.ts +1 -1
  66. package/dist/utils/generated-agents-doc.js +1 -1
  67. package/dist/utils/paneBootstrapConfig.d.ts +2 -0
  68. package/dist/utils/paneBootstrapConfig.d.ts.map +1 -1
  69. package/dist/utils/paneBootstrapRunner.js +20 -4
  70. package/dist/utils/paneBootstrapRunner.js.map +1 -1
  71. package/dist/utils/paneCreation.d.ts +1 -0
  72. package/dist/utils/paneCreation.d.ts.map +1 -1
  73. package/dist/utils/paneCreation.js +5 -1
  74. package/dist/utils/paneCreation.js.map +1 -1
  75. package/dist/utils/reopenWorktree.d.ts.map +1 -1
  76. package/dist/utils/reopenWorktree.js +18 -1
  77. package/dist/utils/reopenWorktree.js.map +1 -1
  78. package/dist/utils/settingsManager.d.ts +6 -0
  79. package/dist/utils/settingsManager.d.ts.map +1 -1
  80. package/dist/utils/settingsManager.js +154 -0
  81. package/dist/utils/settingsManager.js.map +1 -1
  82. package/dist/utils/worktreeMetadata.d.ts +1 -0
  83. package/dist/utils/worktreeMetadata.d.ts.map +1 -1
  84. package/dist/utils/worktreeMetadata.js +3 -0
  85. package/dist/utils/worktreeMetadata.js.map +1 -1
  86. package/dist/workers/PaneWorker.js +43 -18
  87. package/dist/workers/PaneWorker.js.map +1 -1
  88. package/dist/workers/WorkerMessages.d.ts +5 -2
  89. package/dist/workers/WorkerMessages.d.ts.map +1 -1
  90. package/dist/workers/WorkerMessages.js.map +1 -1
  91. package/native/macos/dmux-helper.swift +1 -18
  92. package/native/macos/prebuilt/dmux-helper.app/Contents/MacOS/dmux-helper +0 -0
  93. 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: nil,
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dmux",
3
- "version": "5.7.1",
3
+ "version": "5.8.0",
4
4
  "description": "Tmux pane manager with AI agent integration for parallel development workflows",
5
5
  "type": "module",
6
6
  "author": "Justin Schroeder",