plexus.cli.procedure.reset_service module

Reset service for procedure checkpoint management.

Handles clearing checkpoints for testing and development.

plexus.cli.procedure.reset_service.reset_checkpoints(client, procedure_id: str, after_step: str | None = None) Dict[str, Any]

Clear procedure checkpoints.

Args:

client: PlexusDashboardClient procedure_id: Procedure ID after_step: If provided, clear this step and all subsequent ones.

If None, clear all checkpoints.

Returns:
Dict with:
  • cleared_count: int - Number of checkpoints cleared

  • remaining_count: int - Number of checkpoints remaining