@meridiona/meridian-darwin-arm64 1.56.0 → 1.57.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/VERSION CHANGED
@@ -1 +1 @@
1
- 1.56.0
1
+ 1.57.0
package/bin/meridian CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meridiona/meridian-darwin-arm64",
3
- "version": "1.56.0",
3
+ "version": "1.57.0",
4
4
  "description": "Prebuilt Meridian app for macOS arm64 (daemon binary + dashboard + Python services). Installed via @meridiona/meridian.",
5
5
  "homepage": "https://github.com/Meridiona/meridian",
6
6
  "repository": {
@@ -579,7 +579,8 @@ def _fetch_session(
579
579
  row = con.execute(
580
580
  "SELECT id, app_name, started_at, ended_at, duration_s, session_text,"
581
581
  " session_text_source, window_titles, category, confidence,"
582
- " session_summary, claude_session_uuid"
582
+ " session_summary, claude_session_uuid,"
583
+ " min_frame_id, max_frame_id, frame_count"
583
584
  " FROM app_sessions WHERE id = ?",
584
585
  (session_id,),
585
586
  ).fetchone()
@@ -800,6 +801,17 @@ def _classify_one(
800
801
  db_span.set_attribute("duration_s", float(session_raw.get("duration_s") or 0.0))
801
802
  db_span.set_attribute("text_source", str(session_raw.get("session_text_source") or ""))
802
803
  db_span.set_attribute("session_text_chars", len(session_text))
804
+ # Frame-range attribution: the contiguous screenpipe frame_id window this
805
+ # session was built from (min..max, inclusive) plus the kept frame count.
806
+ # Answers "which capture window fed this classification" — the raw frames
807
+ # live in screenpipe keyed by these ids. Coding-agent rows have no frames
808
+ # (min/max = 0), so guard on a real range before stamping.
809
+ _min_fid = session_raw.get("min_frame_id")
810
+ _max_fid = session_raw.get("max_frame_id")
811
+ if isinstance(_min_fid, int) and isinstance(_max_fid, int) and _max_fid > 0:
812
+ db_span.set_attribute("min_frame_id", _min_fid)
813
+ db_span.set_attribute("max_frame_id", _max_fid)
814
+ db_span.set_attribute("frame_count", int(session_raw.get("frame_count") or 0))
803
815
  db_span.set_attribute("pm_tasks_count", len(pm_tasks))
804
816
  db_span.set_attribute("today_focus_count", len(focus_keys))
805
817
  db_span.set_attribute("recent_sessions_count", len(recent))
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "meridian-agents"
7
- version = "1.56.0"
7
+ version = "1.57.0"
8
8
  description = "Meridian agents — MLX classifier server and Jira worklog synthesis for meridian.db"
9
9
  requires-python = ">=3.11"
10
10
  authors = [{ name = "Meridiona" }]
package/ui.tar.gz CHANGED
Binary file