sede 0.2.0__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sede-0.2.0/src/sede.egg-info → sede-0.2.2}/PKG-INFO +9 -11
- {sede-0.2.0 → sede-0.2.2}/README.md +8 -10
- {sede-0.2.0 → sede-0.2.2}/pyproject.toml +1 -1
- {sede-0.2.0 → sede-0.2.2}/src/sede/cli.py +10 -9
- {sede-0.2.0 → sede-0.2.2/src/sede.egg-info}/PKG-INFO +9 -11
- {sede-0.2.0 → sede-0.2.2}/LICENSE +0 -0
- {sede-0.2.0 → sede-0.2.2}/setup.cfg +0 -0
- {sede-0.2.0 → sede-0.2.2}/src/sede/__init__.py +0 -0
- {sede-0.2.0 → sede-0.2.2}/src/sede/__main__.py +0 -0
- {sede-0.2.0 → sede-0.2.2}/src/sede/discovery.py +0 -0
- {sede-0.2.0 → sede-0.2.2}/src/sede/models.py +0 -0
- {sede-0.2.0 → sede-0.2.2}/src/sede.egg-info/SOURCES.txt +0 -0
- {sede-0.2.0 → sede-0.2.2}/src/sede.egg-info/dependency_links.txt +0 -0
- {sede-0.2.0 → sede-0.2.2}/src/sede.egg-info/entry_points.txt +0 -0
- {sede-0.2.0 → sede-0.2.2}/src/sede.egg-info/requires.txt +0 -0
- {sede-0.2.0 → sede-0.2.2}/src/sede.egg-info/top_level.txt +0 -0
- {sede-0.2.0 → sede-0.2.2}/tests/test_cli.py +0 -0
- {sede-0.2.0 → sede-0.2.2}/tests/test_cli_integration.py +0 -0
- {sede-0.2.0 → sede-0.2.2}/tests/test_discovery_integration.py +0 -0
- {sede-0.2.0 → sede-0.2.2}/tests/test_discovery_unit.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sede
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Session deleter for coding assistants
|
|
5
5
|
Author-email: Ilya Popov <ilypopv@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -33,7 +33,7 @@ _Delete archived coding assistant sessions from terminal, fast and safely._
|
|
|
33
33
|
## Features
|
|
34
34
|
|
|
35
35
|
- Interactive TUI flow for provider selection and session deletion
|
|
36
|
-
- Supports `Claude Code`, `GitHub Copilot`, and `
|
|
36
|
+
- Supports `Claude Code`, `GitHub Copilot`, `Antigravity`, and `OpenCode`
|
|
37
37
|
- Multi-select deletion with confirmation
|
|
38
38
|
- Storage-aware list: title, project path, storage path, size, updated-at
|
|
39
39
|
- Safe Claude cleanup: removes selected session file and prunes empty project directory
|
|
@@ -75,7 +75,7 @@ Preview what would be deleted first, without touching anything:
|
|
|
75
75
|
sede clean --dry-run
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
-
Limit cleanup to one provider (`--claude`, `--copilot`, `--antigravity`/`--agy`):
|
|
78
|
+
Limit cleanup to one provider (`--claude`, `--copilot`, `--antigravity`/`--agy`, `--opencode`):
|
|
79
79
|
|
|
80
80
|
```bash
|
|
81
81
|
sede clean --copilot --dry-run
|
|
@@ -106,14 +106,10 @@ https://github.com/ilypopv/sede/
|
|
|
106
106
|
Deep clean archived coding assistant sessions from your device.
|
|
107
107
|
|
|
108
108
|
Choose coding assistant
|
|
109
|
-
➤ 1. Claude Code
|
|
110
|
-
Delete archived
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
Delete archived Copilot sessions
|
|
114
|
-
|
|
115
|
-
3. Antigravity
|
|
116
|
-
Delete archived Antigravity sessions
|
|
109
|
+
➤ 1. Claude Code Delete archived Claude Code sessions
|
|
110
|
+
2. GitHub Copilot Delete archived Copilot sessions
|
|
111
|
+
3. Antigravity Delete archived Antigravity sessions
|
|
112
|
+
4. OpenCode Delete archived OpenCode sessions
|
|
117
113
|
|
|
118
114
|
↑↓ Navigate | Enter / → Select | Ctrl+C / Q Quit
|
|
119
115
|
```
|
|
@@ -150,6 +146,7 @@ When no sessions are found for a provider, the same screen layout is shown inste
|
|
|
150
146
|
- Claude: deletes selected `.jsonl` session file, then removes parent project dir only if empty.
|
|
151
147
|
- Copilot: deletes the selected session directory recursively.
|
|
152
148
|
- Antigravity: deletes the selected conversation directory recursively.
|
|
149
|
+
- OpenCode: deletes selected session rows (`part`/`message`/`session` with `PRAGMA foreign_keys=ON`) from the shared `opencode.db`; DB file and other sessions are untouched.
|
|
153
150
|
- Always review selected entries before confirming.
|
|
154
151
|
|
|
155
152
|
## Session Sources
|
|
@@ -157,3 +154,4 @@ When no sessions are found for a provider, the same screen layout is shown inste
|
|
|
157
154
|
- Claude: `~/.claude/projects/*/*.jsonl`
|
|
158
155
|
- Copilot: `~/.copilot/session-state/<session-id>/`
|
|
159
156
|
- Antigravity: `~/.gemini/antigravity-cli/brain/<session-id>/` and `~/.gemini/antigravity/brain/<session-id>/`
|
|
157
|
+
- OpenCode: `~/.local/share/opencode/opencode.db` (fallback `~/Library/Application Support/opencode/opencode.db`, `XDG_DATA_HOME` honoured; same XDG path for brew/non-brew) — only chat sessions are surfaced, caches (`~/.cache/opencode`, `~/.local/state/opencode`, snapshot/log) are excluded
|
|
@@ -12,7 +12,7 @@ _Delete archived coding assistant sessions from terminal, fast and safely._
|
|
|
12
12
|
## Features
|
|
13
13
|
|
|
14
14
|
- Interactive TUI flow for provider selection and session deletion
|
|
15
|
-
- Supports `Claude Code`, `GitHub Copilot`, and `
|
|
15
|
+
- Supports `Claude Code`, `GitHub Copilot`, `Antigravity`, and `OpenCode`
|
|
16
16
|
- Multi-select deletion with confirmation
|
|
17
17
|
- Storage-aware list: title, project path, storage path, size, updated-at
|
|
18
18
|
- Safe Claude cleanup: removes selected session file and prunes empty project directory
|
|
@@ -54,7 +54,7 @@ Preview what would be deleted first, without touching anything:
|
|
|
54
54
|
sede clean --dry-run
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
Limit cleanup to one provider (`--claude`, `--copilot`, `--antigravity`/`--agy`):
|
|
57
|
+
Limit cleanup to one provider (`--claude`, `--copilot`, `--antigravity`/`--agy`, `--opencode`):
|
|
58
58
|
|
|
59
59
|
```bash
|
|
60
60
|
sede clean --copilot --dry-run
|
|
@@ -85,14 +85,10 @@ https://github.com/ilypopv/sede/
|
|
|
85
85
|
Deep clean archived coding assistant sessions from your device.
|
|
86
86
|
|
|
87
87
|
Choose coding assistant
|
|
88
|
-
➤ 1. Claude Code
|
|
89
|
-
Delete archived
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
Delete archived Copilot sessions
|
|
93
|
-
|
|
94
|
-
3. Antigravity
|
|
95
|
-
Delete archived Antigravity sessions
|
|
88
|
+
➤ 1. Claude Code Delete archived Claude Code sessions
|
|
89
|
+
2. GitHub Copilot Delete archived Copilot sessions
|
|
90
|
+
3. Antigravity Delete archived Antigravity sessions
|
|
91
|
+
4. OpenCode Delete archived OpenCode sessions
|
|
96
92
|
|
|
97
93
|
↑↓ Navigate | Enter / → Select | Ctrl+C / Q Quit
|
|
98
94
|
```
|
|
@@ -129,6 +125,7 @@ When no sessions are found for a provider, the same screen layout is shown inste
|
|
|
129
125
|
- Claude: deletes selected `.jsonl` session file, then removes parent project dir only if empty.
|
|
130
126
|
- Copilot: deletes the selected session directory recursively.
|
|
131
127
|
- Antigravity: deletes the selected conversation directory recursively.
|
|
128
|
+
- OpenCode: deletes selected session rows (`part`/`message`/`session` with `PRAGMA foreign_keys=ON`) from the shared `opencode.db`; DB file and other sessions are untouched.
|
|
132
129
|
- Always review selected entries before confirming.
|
|
133
130
|
|
|
134
131
|
## Session Sources
|
|
@@ -136,3 +133,4 @@ When no sessions are found for a provider, the same screen layout is shown inste
|
|
|
136
133
|
- Claude: `~/.claude/projects/*/*.jsonl`
|
|
137
134
|
- Copilot: `~/.copilot/session-state/<session-id>/`
|
|
138
135
|
- Antigravity: `~/.gemini/antigravity-cli/brain/<session-id>/` and `~/.gemini/antigravity/brain/<session-id>/`
|
|
136
|
+
- OpenCode: `~/.local/share/opencode/opencode.db` (fallback `~/Library/Application Support/opencode/opencode.db`, `XDG_DATA_HOME` honoured; same XDG path for brew/non-brew) — only chat sessions are surfaced, caches (`~/.cache/opencode`, `~/.local/state/opencode`, snapshot/log) are excluded
|
|
@@ -90,7 +90,10 @@ _HELP_COMMANDS = [
|
|
|
90
90
|
]
|
|
91
91
|
|
|
92
92
|
_HELP_OPTIONS = [
|
|
93
|
-
(
|
|
93
|
+
(
|
|
94
|
+
"--assistant, -a TEXT",
|
|
95
|
+
"Assistant to manage: claude, copilot, antigravity, or opencode",
|
|
96
|
+
),
|
|
94
97
|
("--yes, -y", "Skip confirmation prompt before deletion"),
|
|
95
98
|
]
|
|
96
99
|
|
|
@@ -308,9 +311,7 @@ def clean(
|
|
|
308
311
|
provider: discover_sessions(provider) for provider in selected_providers
|
|
309
312
|
}
|
|
310
313
|
all_sessions = [
|
|
311
|
-
session
|
|
312
|
-
for sessions in sessions_by_provider.values()
|
|
313
|
-
for session in sessions
|
|
314
|
+
session for sessions in sessions_by_provider.values() for session in sessions
|
|
314
315
|
]
|
|
315
316
|
|
|
316
317
|
if not all_sessions:
|
|
@@ -816,24 +817,24 @@ def _provider_menu_with_quit() -> str | None: # pragma: no cover
|
|
|
816
817
|
"""
|
|
817
818
|
choices: list[Choice] = [
|
|
818
819
|
Choice(
|
|
819
|
-
"1. Claude Code
|
|
820
|
+
"1. Claude Code Delete archived Claude Code sessions",
|
|
820
821
|
value="claude",
|
|
821
822
|
),
|
|
822
823
|
Choice(
|
|
823
|
-
"2. GitHub Copilot
|
|
824
|
+
"2. GitHub Copilot Delete archived Copilot sessions",
|
|
824
825
|
value="copilot",
|
|
825
826
|
),
|
|
826
827
|
Choice(
|
|
827
|
-
"3. Antigravity
|
|
828
|
+
"3. Antigravity Delete archived Antigravity sessions",
|
|
828
829
|
value="antigravity",
|
|
829
830
|
),
|
|
830
831
|
Choice(
|
|
831
|
-
"4. OpenCode
|
|
832
|
+
"4. OpenCode Delete archived OpenCode sessions",
|
|
832
833
|
value="opencode",
|
|
833
834
|
),
|
|
834
835
|
]
|
|
835
836
|
|
|
836
|
-
control = InquirerControl(choices, pointer="➤")
|
|
837
|
+
control = InquirerControl(choices, pointer="➤", use_indicator=False)
|
|
837
838
|
control.show_cursor = False
|
|
838
839
|
|
|
839
840
|
def get_prompt_tokens() -> list[tuple[str, str]]:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sede
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Session deleter for coding assistants
|
|
5
5
|
Author-email: Ilya Popov <ilypopv@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -33,7 +33,7 @@ _Delete archived coding assistant sessions from terminal, fast and safely._
|
|
|
33
33
|
## Features
|
|
34
34
|
|
|
35
35
|
- Interactive TUI flow for provider selection and session deletion
|
|
36
|
-
- Supports `Claude Code`, `GitHub Copilot`, and `
|
|
36
|
+
- Supports `Claude Code`, `GitHub Copilot`, `Antigravity`, and `OpenCode`
|
|
37
37
|
- Multi-select deletion with confirmation
|
|
38
38
|
- Storage-aware list: title, project path, storage path, size, updated-at
|
|
39
39
|
- Safe Claude cleanup: removes selected session file and prunes empty project directory
|
|
@@ -75,7 +75,7 @@ Preview what would be deleted first, without touching anything:
|
|
|
75
75
|
sede clean --dry-run
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
-
Limit cleanup to one provider (`--claude`, `--copilot`, `--antigravity`/`--agy`):
|
|
78
|
+
Limit cleanup to one provider (`--claude`, `--copilot`, `--antigravity`/`--agy`, `--opencode`):
|
|
79
79
|
|
|
80
80
|
```bash
|
|
81
81
|
sede clean --copilot --dry-run
|
|
@@ -106,14 +106,10 @@ https://github.com/ilypopv/sede/
|
|
|
106
106
|
Deep clean archived coding assistant sessions from your device.
|
|
107
107
|
|
|
108
108
|
Choose coding assistant
|
|
109
|
-
➤ 1. Claude Code
|
|
110
|
-
Delete archived
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
Delete archived Copilot sessions
|
|
114
|
-
|
|
115
|
-
3. Antigravity
|
|
116
|
-
Delete archived Antigravity sessions
|
|
109
|
+
➤ 1. Claude Code Delete archived Claude Code sessions
|
|
110
|
+
2. GitHub Copilot Delete archived Copilot sessions
|
|
111
|
+
3. Antigravity Delete archived Antigravity sessions
|
|
112
|
+
4. OpenCode Delete archived OpenCode sessions
|
|
117
113
|
|
|
118
114
|
↑↓ Navigate | Enter / → Select | Ctrl+C / Q Quit
|
|
119
115
|
```
|
|
@@ -150,6 +146,7 @@ When no sessions are found for a provider, the same screen layout is shown inste
|
|
|
150
146
|
- Claude: deletes selected `.jsonl` session file, then removes parent project dir only if empty.
|
|
151
147
|
- Copilot: deletes the selected session directory recursively.
|
|
152
148
|
- Antigravity: deletes the selected conversation directory recursively.
|
|
149
|
+
- OpenCode: deletes selected session rows (`part`/`message`/`session` with `PRAGMA foreign_keys=ON`) from the shared `opencode.db`; DB file and other sessions are untouched.
|
|
153
150
|
- Always review selected entries before confirming.
|
|
154
151
|
|
|
155
152
|
## Session Sources
|
|
@@ -157,3 +154,4 @@ When no sessions are found for a provider, the same screen layout is shown inste
|
|
|
157
154
|
- Claude: `~/.claude/projects/*/*.jsonl`
|
|
158
155
|
- Copilot: `~/.copilot/session-state/<session-id>/`
|
|
159
156
|
- Antigravity: `~/.gemini/antigravity-cli/brain/<session-id>/` and `~/.gemini/antigravity/brain/<session-id>/`
|
|
157
|
+
- OpenCode: `~/.local/share/opencode/opencode.db` (fallback `~/Library/Application Support/opencode/opencode.db`, `XDG_DATA_HOME` honoured; same XDG path for brew/non-brew) — only chat sessions are surfaced, caches (`~/.cache/opencode`, `~/.local/state/opencode`, snapshot/log) are excluded
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|