Skip to content

[ENHANCEMENT] Add buttons to delete checkpoints only #10801

@nh2

Description

@nh2

Problem (one or two sentences)

I'd like to clean up large checkpoints without losing the rest of the task.

Context (who is affected and when)

When you have 100s of GBs of checkpoints because you had had large untracked and un-.gitignored files in your repo.

Desired behavior (conceptual, not technical)

In the Task History panel, left of the "Delete task" bin icon button, add another button that deletes only the checkpoints from the task but keeps the rest of the task around.

Constraints / preferences (optional)

Do not conflate with automatic GC of checkpoints or so; manual deletion allows an easy relief for users with this problem.

Request checklist

  • I've searched existing Issues and Discussions for duplicates
  • This describes a specific problem with clear context and impact

Roo Code Task Links (optional)

No response

Acceptance criteria (optional)

No response

Proposed approach (optional)

Checkpoints seem to be refferred to by a tasks ui_messages.json, example entry:

  {
    "ts": 1767652946891,
    "type": "say",
    "say": "checkpoint_saved",
    "text": "b2b6117738cf1de697d6c67645aaf1fd3170e9ae",
    "checkpoint": {
      "from": "5d6ed1255b7c532afb6fe3e3c662a51c52b771c9",
      "to": "b2b6117738cf1de697d6c67645aaf1fd3170e9ae",
      "suppressMessage": false
    }
  },

So probably those entries should be updaded/removed/replaced by the checkpoint deletion button.

Trade-offs / risks (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions