ai-notify 0.5.1 β†’ 0.5.2

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.
@@ -158,6 +158,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
158
158
  // The "waiting for input" character popup.
159
159
  private var waitingWindow: NSWindow?
160
160
  private var waitingImageView: NSImageView?
161
+ private var waitingFace: NSTextField?
161
162
  private var waitingLabel: NSTextField?
162
163
  private var waitingSig = "" // current panes signature, to avoid needless redraws
163
164
  private var waitingDismissedSig = "" // a signature the user clicked away; don't reshow it
@@ -272,8 +273,10 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
272
273
  if let p = State.popupImage, let img = NSImage(contentsOfFile: p) {
273
274
  waitingImageView?.image = img
274
275
  waitingImageView?.isHidden = false
276
+ waitingFace?.isHidden = true // the image stands in for the default face
275
277
  } else {
276
278
  waitingImageView?.isHidden = true
279
+ waitingFace?.isHidden = false
277
280
  }
278
281
 
279
282
  if let scr = NSScreen.main {
@@ -326,6 +329,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
326
329
  face.font = .systemFont(ofSize: 17, weight: .semibold)
327
330
  face.textColor = .systemYellow
328
331
  card.addSubview(face, positioned: .below, relativeTo: iv)
332
+ waitingFace = face
329
333
 
330
334
  let badge = NSTextField(labelWithString: "🟑 εΏœη­”εΎ…γ‘")
331
335
  badge.frame = NSRect(x: 96, y: 56, width: 196, height: 22)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-notify",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Desktop, sound, and spoken notifications for terminal AI coding agents (Claude Code, Codex, Gemini, ...) β€” with one mute switch that covers all of them, across every terminal.",
5
5
  "type": "module",
6
6
  "bin": {