get-claudia 1.40.2 → 1.40.3
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.
|
@@ -1915,7 +1915,6 @@ async def call_tool(name: str, arguments: Dict[str, Any]) -> CallToolResult:
|
|
|
1915
1915
|
episode_id = arguments.get("episode_id")
|
|
1916
1916
|
svc = get_remember_service()
|
|
1917
1917
|
if episode_id is None:
|
|
1918
|
-
from datetime import datetime
|
|
1919
1918
|
episode_id = svc.db.insert("episodes", {
|
|
1920
1919
|
"started_at": datetime.utcnow().isoformat(),
|
|
1921
1920
|
"source": "claude_code",
|
|
@@ -1924,7 +1923,6 @@ async def call_tool(name: str, arguments: Dict[str, Any]) -> CallToolResult:
|
|
|
1924
1923
|
else:
|
|
1925
1924
|
episode = svc.db.get_one("episodes", where="id = ?", where_params=(episode_id,))
|
|
1926
1925
|
if not episode:
|
|
1927
|
-
from datetime import datetime
|
|
1928
1926
|
new_id = svc.db.insert("episodes", {
|
|
1929
1927
|
"started_at": datetime.utcnow().isoformat(),
|
|
1930
1928
|
"source": arguments.get("source", "claude_code"),
|
|
@@ -2724,7 +2722,6 @@ async def call_tool(name: str, arguments: Dict[str, Any]) -> CallToolResult:
|
|
|
2724
2722
|
|
|
2725
2723
|
elif name == "memory.upcoming":
|
|
2726
2724
|
_coerce_int(arguments, "days")
|
|
2727
|
-
from ..services.recall import recall_upcoming_deadlines
|
|
2728
2725
|
days = arguments.get("days", 14)
|
|
2729
2726
|
include_overdue = arguments.get("include_overdue", True)
|
|
2730
2727
|
results = recall_upcoming_deadlines(days, include_overdue=include_overdue)
|