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.1.8

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.1.8
File Size Uploaded
sede-0.1.8.tar.gz 25.9 kB Details

Built distribution (wheel)

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

Total release size: 43.9 kB

Release files / sede-0.1.8.tar.gz

Download URL sede-0.1.8.tar.gz
Size 25.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1fce43275d292311e5e7e52863a6c295323a9173efe99a739c17dfc5c63e0a25
BLAKE2b-256 checksum
How to use checksums
869c1d42d37c335e15ff5ddc7c5ff2f44be684f9402ef23324c59354a202cd0a
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 Aug 31, 2026.

Transparency log

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

Download URL sede-0.1.8-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc7e94ca13ff7f45e2043ac4c5814e98aac778831846bfbed7880f568a2eb7d7
BLAKE2b-256 checksum
How to use checksums
836d8c9efdcaccaeb6fd23af176711eb26e2d77c76ed2ef71d52826fcf62955e
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 Aug 31, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

This release

0.1.8 This release

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