Re-implemented the missing task execution API endpoints that were present in v0.5.8.
The new implementation in server.js (executeTaskById) handles:
- Loading the task by ID.
- Merging client-provided variables with stored task variables.
- Delegating execution to handleAgent, handleScrape, or handleHeadful based on task mode.
- Logging execution via registerExecution.
Authentication via x-api-key.
Full Changelog: v0.7...v0.7.1