Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
feat: enhance scheduled reminders
Re-bin30d6e4b4b646
diff --git a/nanobot/cli/commands.py b/nanobot/cli/commands.pyindex d84771039..d2935642e 100644--- a/nanobot/cli/commands.py+++ b/nanobot/cli/commands.py@@ -506,6 +506,7 @@ def cron_add(at: str = typer.Option(None, "--at", help="Run once at time (ISO format)"),deliver: bool = typer.Option(False, "--deliver", "-d", help="Deliver response to channel"),to: str = typer.Option(None, "--to", help="Recipient for delivery"),+ channel: str = typer.Option(None, "--channel", help="Channel for delivery (e.g. 'telegram', 'whatsapp')"),):"""Add a scheduled job."""from nanobot.config.loader import get_data_dir@@ -534,6 +535,7 @@ def cron_add(message=message,deliver=deliver,to=to,+ channel=channel,)console.print(f"[green]✓[/green] Added job '{job.name}' ({job.id})")diff --git a/workspace/AGENTS.md b/workspace/AGENTS.mdindex 0e5a05565..a99a7b4dd 100644--- a/workspace/AGENTS.md+++ b/workspace/AGENTS.md@@ -22,6 +22,16 @@ You have access to:- Use `memory/` directory for daily notes- Use `MEMORY.md` for long-term information+## Scheduled Reminders++When user asks for a reminder at a specific time, use `exec` to run:+```+nanobot cron add --name "reminder" --message "Your message" --at "YYYY-MM-DDTHH:MM:SS" --deliver --to "USER_ID" --channel "CHANNEL"+```+Get USER_ID and CHANNEL from the current session (e.g., `8281248569` and `telegram` from `telegram:8281248569`).++**Do NOT just write reminders to MEMORY.md** — that won't trigger actual notifications.+## Heartbeat Tasks`HEARTBEAT.md` is checked every 30 minutes. You can manage periodic tasks by editing this file: