a6dfa8f56d
Cherry-picked from PR #16 by win4r, excluding auto-compact (already implemented in a more thorough version based on Claude Code source). Resume/Continue: - Wire --continue (most recent session) and --resume (picker/ID) CLI flags - Pass restore_messages through app.py → backend_host.py → runtime.py - Uses existing session_storage infrastructure Cron scheduler daemon: - oh cron start/stop/status/list/toggle/history subcommands - Background daemon with 30s tick, concurrent job execution, PID file - Job state: enabled, last_run, next_run, last_status, created_at - JSONL execution history at ~/.openharness/data/cron_history.jsonl - croniter-based expression validation and next-run computation Cost/usage output in print mode: - Token usage summary (input/output/total) printed to stderr - Tool activity indicators during execution New files: cron_scheduler.py, cron_toggle_tool.py, test_cron.py, test_cron_scheduler.py Modified: cli.py, runtime.py, app.py, backend_host.py, cron.py, tools/__init__.py