Skip to main content

sede: SEssion DEleter

logo

Delete archived coding assistant sessions from terminal, fast and safely.

CI License


Features

  • Interactive TUI flow for provider selection and session deletion
  • Supports Claude Code, GitHub Copilot, and Antigravity
  • Multi-select deletion with confirmation
  • Storage-aware list: title, project path, storage path, size, updated-at
  • Safe Claude cleanup: removes selected session file and prunes empty project directory
  • Non-interactive clean command for scripted, bulk deletion with a --dry-run preview

Installation

Recommended

uv tool install sede

Or

pipx install sede

Run

After installation, run:

sede

Bulk Cleanup

Delete every discovered session, across all providers, without the interactive TUI:

sede clean

Preview what would be deleted first, without touching anything:

sede clean --dry-run

Limit cleanup to one provider (--claude, --copilot, --antigravity/--agy):

sede clean --copilot --dry-run
sede clean --claude --yes

Skip the confirmation prompt with --yes/-y. If some session files require elevated permissions to remove, re-run with sudo:

sudo sede clean --dry-run
sudo sede clean --yes

TUI Preview

Main screen:

               _      
  ___  ___  __| | ___ 
 / __|/ _ \/ _` |/ _ \
 \__ \  __/ (_| |  __/
 |___/\___|\__,_|\___|

Session Deleter
https://github.com/ilypopv/sede/
Deep clean archived coding assistant sessions from your device.

 Choose coding assistant
 ➤ 1. Claude Code
   Delete archived Claude Code sessions

   2. GitHub Copilot
   Delete archived Copilot sessions

   3. Antigravity
   Delete archived Antigravity sessions

↑↓ Navigate  |  Enter / → Select  |  Ctrl+C / Q Quit

Session selection screen:

 Available sessions: Claude Code
 1 session(s) loaded. Total size: 1.5 MB.

 Choose sessions to delete
 » ○ 1. Session title...
     Project:  /Users/you/project-path
     Storage:  ~/.claude/projects/-Users-you-project/
     Details:  1.5 MB  •  2026-07-03 09:44 UTC

↑↓ Navigate  |  ← Back  |  Space Select  |  A Toggle All  |  Enter Delete  |  Ctrl+C / Q Quit

When no sessions are found for a provider, the same screen layout is shown instead:

 Available sessions: Claude Code
 0 session(s) loaded. Total size: 0 B.

 No sessions found for Claude Code.

 Press any key to go back...

Safety Notes

  • Deletion is permanent.
  • Claude: deletes selected .jsonl session file, then removes parent project dir only if empty.
  • Copilot: deletes the selected session directory recursively.
  • Antigravity: deletes the selected conversation directory recursively.
  • Always review selected entries before confirming.

Session Sources

  • Claude: ~/.claude/projects/*/*.jsonl
  • Copilot: ~/.copilot/session-state/<session-id>/
  • Antigravity: ~/.gemini/antigravity-cli/brain/<session-id>/ and ~/.gemini/antigravity/brain/<session-id>/

Release files for sede 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sede 0.2.0
File Size Uploaded
sede-0.2.0.tar.gz 30.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sede 0.2.0
File Interpreter ABI Platform
sede-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 51.2 kB

Release files / sede-0.2.0.tar.gz

Download URL sede-0.2.0.tar.gz
Size 30.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d4ba59abe9687fa35ea545af8809ee63d752bf345bafa687829653f2cabc6bb3
BLAKE2b-256 checksum
How to use checksums
e95caab1c7a3eed97c12c4c0ca74db396dbd607a6bc628f4fd613db50a48a1e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.

Transparency log

Release files / sede-0.2.0-py3-none-any.whl

Download URL sede-0.2.0-py3-none-any.whl
Size 20.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e54007794b58e93e81c9a8412e2d2f15593ad2e1af22faeb696b47adf6275f1e
BLAKE2b-256 checksum
How to use checksums
c3cedb8eaf827a848fe76d09e9983d8527f9a1e4a4f05816c53d9014f73c6fad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.2

2 release files

0.2.1

2 release files

This release

0.2.0 This release

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page