2
0
This commit is contained in:
2026-03-23 05:42:17 +09:00
parent 62177f34ce
commit 2b5afb5040

View File

@@ -56,7 +56,16 @@ impl ClaudeSession {
"allow": [ "allow": [
"Read", "Read",
"Glob", "Glob",
"Grep" "Grep",
"mcp__aigpt__read_core",
"mcp__aigpt__read_memory",
"mcp__aigpt__save_memory",
"mcp__aigpt__compress",
"mcp__ailog__post_create",
"mcp__ailog__chat_save",
"mcp__ailog__chat_list",
"mcp__ailog__chat_new",
"mcp__ailog__get_character"
] ]
} }
}); });
@@ -453,6 +462,14 @@ async fn poll_once(
continue; continue;
} }
// Skip notifications older than today (UTC)
if let Some(indexed) = notif["indexedAt"].as_str() {
let today = chrono::Utc::now().format("%Y-%m-%d").to_string();
if !indexed.starts_with(&today) {
continue;
}
}
let uri = match notif["uri"].as_str() { let uri = match notif["uri"].as_str() {
Some(u) => u, Some(u) => u,
None => continue, None => continue,