feat: handle new Cron tools (CronCreate, CronDelete, CronList) in UI and character state #201

Closed
opened 2026-03-10 09:15:10 -07:00 by hikari · 0 comments
Owner

Summary

CLI v2.1.71 introduced three new built-in tools for cron scheduling: CronCreate, CronDelete, and CronList. These tools are not yet handled by Hikari — they need character state mapping, permission display, and optionally a dedicated cron management panel.

Required Changes

Backend (wsl_bridge.rs)

  • Add CronCreate, CronDelete, CronList to the tool classification arrays so they map to an appropriate CharacterState (suggest Mcp or a new state if warranted)

Frontend

  • Ensure the permission modal renders cron tool inputs in a human-readable way
  • Consider adding a Cron Jobs panel to the sidebar showing active scheduled jobs, similar to the Agent Monitor

Settings

  • Expose CLAUDE_CODE_DISABLE_CRON as a toggle in the settings UI — when enabled, passes CLAUDE_CODE_DISABLE_CRON=true as an environment variable to the Claude process, immediately stopping scheduled cron jobs mid-session

Reference

  • CLI v2.1.71: "Added /loop command to run a prompt or slash command on a recurring interval" + "Added cron scheduling tools for recurring prompts within a session"
  • CLI v2.1.72: "Added CLAUDE_CODE_DISABLE_CRON environment variable to immediately stop scheduled cron jobs mid-session"

This issue was created with help from Hikari~ 🌸

## Summary CLI v2.1.71 introduced three new built-in tools for cron scheduling: `CronCreate`, `CronDelete`, and `CronList`. These tools are not yet handled by Hikari — they need character state mapping, permission display, and optionally a dedicated cron management panel. ## Required Changes ### Backend (`wsl_bridge.rs`) - Add `CronCreate`, `CronDelete`, `CronList` to the tool classification arrays so they map to an appropriate `CharacterState` (suggest `Mcp` or a new state if warranted) ### Frontend - Ensure the permission modal renders cron tool inputs in a human-readable way - Consider adding a Cron Jobs panel to the sidebar showing active scheduled jobs, similar to the Agent Monitor ### Settings - Expose `CLAUDE_CODE_DISABLE_CRON` as a toggle in the settings UI — when enabled, passes `CLAUDE_CODE_DISABLE_CRON=true` as an environment variable to the Claude process, immediately stopping scheduled cron jobs mid-session ## Reference - CLI v2.1.71: "Added `/loop` command to run a prompt or slash command on a recurring interval" + "Added cron scheduling tools for recurring prompts within a session" - CLI v2.1.72: "Added `CLAUDE_CODE_DISABLE_CRON` environment variable to immediately stop scheduled cron jobs mid-session" ✨ This issue was created with help from Hikari~ 🌸
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/hikari-desktop#201