zeroclaw/src/cron
Argenis e556ad3d3e
fix: handle double-serialized schedule in cron_add and cron_update (#3860) (#3905)
When LLMs pass the schedule parameter as a JSON string instead of a JSON
object, serde fails with "invalid type: string, expected internally
tagged enum Schedule". Add a deserialize_maybe_stringified helper that
detects stringified JSON values and parses the inner string before
deserializing, providing backward compatibility for both object and
string representations.

Fixes #3860
2026-03-24 15:17:32 +03:00
..
mod.rs fix: handle double-serialized schedule in cron_add and cron_update (#3860) (#3905) 2026-03-24 15:17:32 +03:00
schedule.rs Implement cron job management tools and types 2026-02-17 17:06:28 +08:00
scheduler.rs fix(cron): prevent one-shot jobs from re-executing indefinitely (#3886) 2026-03-24 15:17:31 +03:00
store.rs fix(cron): prevent one-shot jobs from re-executing indefinitely (#3886) 2026-03-24 15:17:31 +03:00
types.rs fix: handle double-serialized schedule in cron_add and cron_update (#3860) (#3905) 2026-03-24 15:17:32 +03:00