* fix(cron): reject malformed Code Mode scripts
Reject invalid JavaScript syntax during cron add and update so CLI and agent callers receive an actionable location before persistence. Preserve the async Code Mode grammar, including top-level await and return. Fixes#118088.
* fix(cron): keep enabled-only patches working for stored malformed scripts