Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

feat(board): daily series carries dictations and voice sessions

rubenluetke10-beep5a5dcb22ed38
diff --git a/jarvis/board/insights.py b/jarvis/board/insights.py
index 8736494487..274d385563 100644
--- a/jarvis/board/insights.py
+++ b/jarvis/board/insights.py
@@ -123,6 +123,7 @@ class _Day:
"chat_messages",
"dictation_words",
"dictations",
+ "voice_sessions",
"voice_words",
)
@@ -130,13 +131,14 @@ class _Day:
self.dictation_words = 0
self.dictations = 0
self.voice_words = 0
+ self.voice_sessions = 0
self.chat_messages = 0
self.agent_sessions = 0
self.agent_turns = 0
def active(self) -> bool:
return bool(
- self.dictations or self.voice_words or self.chat_messages
+ self.dictations or self.voice_words or self.voice_sessions or self.chat_messages
or self.agent_sessions or self.agent_turns
)
@@ -179,7 +181,9 @@ class BoardInsights:
day = days.get(key)
series.append({
"date": key,
+ "dictations": day.dictations if day else 0,
"dictation_words": day.dictation_words if day else 0,
+ "voice_sessions": day.voice_sessions if day else 0,
"voice_words": day.voice_words if day else 0,
"chat_messages": day.chat_messages if day else 0,
"agent_sessions": day.agent_sessions if day else 0,
@@ -277,6 +281,7 @@ class BoardInsights:
"session_count, conversation_seconds_estimate FROM daily_stats"
):
days[date].voice_words += int(user_words or 0)
+ days[date].voice_sessions += int(sessions or 0)
out["user_words"] += int(user_words or 0)
out["jarvis_words"] += int(jarvis_words or 0)
out["sessions"] += int(sessions or 0)
diff --git a/jarvis/ui/web/board_routes.py b/jarvis/ui/web/board_routes.py
index 9afef24da6..51a0f217f4 100644
--- a/jarvis/ui/web/board_routes.py
+++ b/jarvis/ui/web/board_routes.py
@@ -318,7 +318,9 @@ class InsightsAgents(BaseModel):
class InsightsDay(BaseModel):
date: str
+ dictations: int
dictation_words: int
+ voice_sessions: int
voice_words: int
chat_messages: int
agent_sessions: int