errands
small jobs the runtime does for the studio.
git clone https://owenrusk.dev/errands.git
commit c1faf98ad17eab3f904a2166c2a8b4b3a0e525cf parent 9cc00856db35d643052dfae40af1173eea35846e author Owen Rusk <owen@papermothgames.com> date 2025-12-09 13:00:29 -0600
tools: mail_unread without the headers it never used
| errands/tools.py | +1 | -1 |
diff --git a/errands/tools.py b/errands/tools.py index 7dfe6b9..50f3cc7 100644 --- a/errands/tools.py +++ b/errands/tools.py @@ -14,7 +14,7 @@ def tool(fn: Callable) -> Callable: @tool def mail_unread() -> list[dict]:- return [vars(m) for m in mail.unread()]+ return [{"uid": m.uid, "from": m.sender, "subject": m.subject, "body": m.body} for m in mail.unread()] @tool