You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Claude Code stats not recording — stdout fallback + snake_case alias + doctor sandbox detection
- post_tool: add stdout/stderr fallback for Claude Code tool_response format
(Claude Code sends {stdout,stderr} instead of {content})
- dispatcher + session_start: accept both camelCase and snake_case field names
via serde alias (hookEventName / hook_event_name)
- doctor: replace metadata-only check with actual write test to detect
Claude Code sandbox restrictions on ~/.omni/
- sqlite: add Store::test_write() for DB write capability check
- Added 5 new tests for Claude Code payload format
Fixes #GH-issue: omni stats shows no data with Claude Code
// DB write test (catches sandbox restrictions on the database itself)
164
+
if store.test_write(){
165
+
println!(
166
+
" {:<15} writable {}",
167
+
"DB Write:".bright_black(),
168
+
"[OK]".green().bold()
169
+
);
170
+
}else{
171
+
println!(
172
+
" {:<15} read-only {}",
173
+
"DB Write:".bright_black(),
174
+
"[ERROR]".red().bold()
175
+
);
176
+
warnings.push(
177
+
"Database is read-only. Claude Code sandbox may be blocking writes to ~/.omni/omni.db. Add ~/.omni to sandbox.filesystem.allowWrite in ~/.claude/settings.json",
0 commit comments