Skip to content

Promote to production: reverse cron (natural language → expression) - #163

Merged
slaveofcode merged 2 commits into
mainfrom
develop
Aug 7, 2026
Merged

Promote to production: reverse cron (natural language → expression)#163
slaveofcode merged 2 commits into
mainfrom
develop

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner

Promotes feat/cron-natural-language (PR #162) to production.

Kresna and others added 2 commits August 7, 2026 15:29
Adds a "describe your schedule" input above the cron editor. Type plain
English like "every weekday at 9am" or "midnight on the 1st" and press
Convert to instantly get the cron expression.

- cron-natural.lib.ts: pure rule-based NL parser (no LLM, no server):
  interval shortcuts (every N min/hr), time extraction (midnight/noon/
  HH:MM/am-pm), DOW (weekdays/weekends/named days/lists), DOM (ordinals),
  month names, yearly/monthly/weekly/daily patterns.
- 86 unit tests across naturalToCron + 4 sub-extractors.
- CronExplainer.tsx: "Describe your schedule" input + Convert button on
  top; Enter key submits; on success fills expression field + focuses it;
  error shown inline. Divider separates NL section from expression section.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat(dev): reverse cron — natural language → cron expression
@slaveofcode
slaveofcode merged commit 5e9aa3a into main Aug 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant