Repository navigation
v2.5.0 — Per-Task Sessions, Agent ID Validation, Delete UX, Product Management
What's Changed
Fixed
-
Per-task OpenClaw sessions (#99) — Dispatch now creates a unique session per agent + task combination instead of reusing a single session per agent. Previously, all tasks on the same agent shared one conversation session, causing context to accumulate until the model's context window was exhausted and the agent stalled. The
openclaw_sessions.task_idcolumn (already in schema) is now used for session lookup, ID generation, and insertion. -
Agent ID UUID validation (#100) — Zod validation for agent ID fields now accepts both standard UUID format (
8-4-4-4-12) and 32-character hex identifiers from the OpenClaw gateway. Previously,z.string().uuid()rejected gateway-format IDs liked1368a848c6ceec1d876bfb559a9724d, causing "Invalid UUID" errors on task assignment. -
Task delete button responsiveness (#111) — Delete button now shows loading state, disables during the request, and displays inline error messages on failure. Previously, clicking delete with no visual feedback made the button appear non-functional.
Added
- Product pause & archive (#98) — Product settings modal now includes a Status dropdown (Active / Paused) and a Danger Zone section with an Archive button. Paused products stop automated cycles. Archived products are hidden from the dashboard. The backend already supported these states — this release adds the missing UI.
Files Changed
src/app/api/tasks/[id]/dispatch/route.ts— per-task session lookup, ID, and insertsrc/lib/validation.ts—agentIdregex accepting UUID + hexsrc/components/TaskModal.tsx— delete button loading + error statessrc/app/autopilot/[productId]/page.tsx— status dropdown + archive buttonsrc/app/autopilot/page.tsx— filter archived productspackage.json— version bump to 2.5.0README.md+CHANGELOG.md— release notes