Skip to content

v2.5.0 — Per-Task Sessions, Agent ID Validation, Delete UX, Product Management

Choose a tag to compare

@crshdn crshdn released this 14 Apr 17:17
· 31 commits to main since this release

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_id column (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 like d1368a848c6ceec1d876bfb559a9724d, 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 insert
  • src/lib/validation.ts — agentId regex accepting UUID + hex
  • src/components/TaskModal.tsx — delete button loading + error states
  • src/app/autopilot/[productId]/page.tsx — status dropdown + archive button
  • src/app/autopilot/page.tsx — filter archived products
  • package.json — version bump to 2.5.0
  • README.md + CHANGELOG.md — release notes