pi-session-cleanup 1.1.0 → 1.1.2
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.
- package/CHANGELOG.md +27 -17
- package/package.json +3 -3
- package/src/agent-target.ts +361 -361
- package/src/index.ts +1 -1
- package/src/session-agent.ts +103 -103
- package/src/session-cleanup-command.ts +268 -268
- package/src/session-delete.ts +165 -11
- package/src/session-entry.ts +23 -23
- package/src/session-format.ts +98 -98
- package/src/session-nix-command.ts +353 -329
- package/src/session-quit-shutdown.ts +40 -40
- package/src/session-selection.ts +167 -167
- package/src/session-sort.ts +137 -137
- package/src/session-source.ts +32 -32
- package/src/tui/agent-target-picker.ts +306 -306
- package/src/tui/session-cleanup-picker.ts +592 -592
- package/src/types-shims.d.ts +23 -9
- package/src/types.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,27 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## 1.1.
|
|
4
|
-
|
|
5
|
-
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
- Added
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 1.1.2 - 2026-05-26
|
|
4
|
+
|
|
5
|
+
- Widened peer dependency ranges to `^0.74.0 || ^0.75.0`.
|
|
6
|
+
|
|
7
|
+
## 1.1.1 - 2026-05-22
|
|
8
|
+
|
|
9
|
+
- Sends session files to available desktop trash providers (`trash`, `trash-put`, `gio trash`, or `kioclient move`) before permanent deletion.
|
|
10
|
+
- Warns `/nix quit` users when trash providers are unavailable and requires confirmation before permanent current-session deletion fallback.
|
|
11
|
+
- Added coverage for trash-provider selection and `/nix` deletion warning behavior.
|
|
12
|
+
|
|
13
|
+
## 1.1.0 - 2026-05-04
|
|
14
|
+
|
|
15
|
+
- Added `/nix quit` for confirmed current-session deletion during graceful Pi shutdown
|
|
16
|
+
- Added `/nix agent [name]` for starting fresh sessions with persisted target-agent metadata
|
|
17
|
+
- Added `/nix` argument completions, explicit help output, and safer compatibility warnings for unsupported Pi builds
|
|
18
|
+
- Documented destructive `/nix` safeguards and added targeted release-readiness coverage for the new session flows
|
|
19
|
+
|
|
20
|
+
## 1.0.0 - 2026-03-05
|
|
21
|
+
|
|
22
|
+
- Renamed extension from its previous package name to `pi-session-cleanup`
|
|
23
|
+
- Renamed primary command to `/session-cleanup`
|
|
24
|
+
- Added a deprecated legacy alias for backward compatibility
|
|
25
|
+
- Refactored command/picker module names for clarity
|
|
26
|
+
- Upgraded custom picker UI with bordered modal layout, title/status/help lines, and responsive overlay sizing
|
|
27
|
+
- Added production-ready package metadata and README
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-session-cleanup",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Pi extension for interactive batch session cleanup and safe deletion.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.ts",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
]
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@
|
|
56
|
-
"@
|
|
55
|
+
"@earendil-works/pi-coding-agent": "^0.74.0 || ^0.75.0",
|
|
56
|
+
"@earendil-works/pi-tui": "^0.74.0 || ^0.75.0"
|
|
57
57
|
},
|
|
58
58
|
"repository": {
|
|
59
59
|
"type": "git",
|