daybrain 0.3.1 → 0.3.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/watcher.py +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "daybrain",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Private local memory for your AI. Gives Claude, Cursor, and ChatGPT context about your workday — no cloud required.",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",
package/watcher.py CHANGED
@@ -65,7 +65,7 @@ def main():
65
65
  new_app = result.get("app", "")
66
66
  new_title = result.get("title", "")
67
67
 
68
- changed = new_app != current_app or (new_title and new_title != current_title)
68
+ changed = new_app != current_app or new_title != current_title
69
69
 
70
70
  if changed and current_app:
71
71
  duration = time.time() - current_start
@@ -90,7 +90,7 @@ def main():
90
90
  current_title = new_title
91
91
  current_start = time.time()
92
92
  last_emit = time.time()
93
- elif current_app and current_title and (time.time() - last_emit) >= emit_interval:
93
+ elif current_app and (time.time() - last_emit) >= emit_interval:
94
94
  duration = time.time() - current_start
95
95
  print(
96
96
  json.dumps(