@jamiefutch/pi-backup 1.1.12 → 1.1.13
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 +30 -0
- package/package.json +4 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 1.1.13
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- `CHANGELOG.md` is now published with the package, so Pi can show "Extension Updates" after an upgrade.
|
|
7
|
+
- The `@earendil-works/pi-coding-agent` peer dependency range is now `*`, as the Pi package docs require for host-provided packages.
|
|
8
|
+
|
|
9
|
+
## 1.1.12
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
- **Restore with no stdin** failed silently. It now prints a clear message, and `PI_BACKUP_ASSUME_YES=1` skips the prompt for scripted use. PowerShell restore no longer proceeds when stdin is empty.
|
|
13
|
+
- **TUI restore** no longer runs inside the live Pi process. It shows (and copies, where possible) the command to run after exiting Pi. Both restore scripts warn when a Pi process appears to be running.
|
|
14
|
+
- **Internal backups** no longer also create a compressed archive, and no longer require `zip`/7-Zip (`KEEP_UNCOMPRESSED=1`).
|
|
15
|
+
- **Temp directories leaked** on abort, error and failure paths in `restore-pi.sh/.ps1`, `backup-pi.sh/.ps1` and the TUI (`copy to internal`, `view manifest`). `mktemp` now honors `TMPDIR` on macOS.
|
|
16
|
+
- **Corrupt `settings.json`** was silently overwritten by the TUI. It is now left untouched with an error; writes are atomic and keep `settings.json.bak-<timestamp>` copies.
|
|
17
|
+
- **PowerShell 7z archives** now have the same single top-level `pi-backup-*/` layout as bash. The compression-failure warning printed a literal `.Exception.Message`; fixed.
|
|
18
|
+
- PowerShell `Copy-Tree` (without robocopy) nested directories instead of merging them; fixed. PowerShell restore of `projects-memory` is now per project like bash.
|
|
19
|
+
- npm manifest backup no longer picks up `node_modules/*/package.json`.
|
|
20
|
+
- TUI: selecting a backup matches exactly (no substring mix-ups), no frozen UI during long operations, no console output at load, copy-to-internal of an archive creates `pi-backup-<ts>` (not `pi-backup-<ts>.7z/`).
|
|
21
|
+
- Clean reinstall is rollback-safe (moves `~/.pi` aside, deletes it only after a verified reinstall), asks for an extra confirmation if no backup exists, and no longer has dead `BUN_HOME` code or a misleading step 4.
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
- `PI_BACKUP_EXCLUDE_AUTH=1`, `PI_BACKUP_ASSUME_YES=1`, `KEEP_OLD=1`.
|
|
25
|
+
- Backups and archives are private (`umask 077`, `auth.json` mode `600`); credential warnings in script output, TUI help and the README Security section.
|
|
26
|
+
- `backup-manifest.txt`: one list of backed-up paths shared by all four scripts (the `rsync` dependency is gone).
|
|
27
|
+
- Test suite (`npm test`), CI on Linux/macOS/Windows, and publish gated on CI.
|
|
28
|
+
|
|
29
|
+
### Changed
|
|
30
|
+
- Peer dependency on `@earendil-works/pi-coding-agent` is `>=0.84.1` (typechecked against 0.84.1 and 1.6.0); `package-lock.json` is now committed.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamiefutch/pi-backup",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13",
|
|
4
4
|
"description": "Pi package: Pi backup/restore scripts and TUI extension. Back up and restore all Pi config, skills, extensions, and memory; /pi-backup interactive manager.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
"*.ps1",
|
|
34
34
|
"backup-manifest.txt",
|
|
35
35
|
"LICENSE",
|
|
36
|
-
"README.md"
|
|
36
|
+
"README.md",
|
|
37
|
+
"CHANGELOG.md"
|
|
37
38
|
],
|
|
38
39
|
"pi": {
|
|
39
40
|
"extensions": [
|
|
@@ -41,7 +42,7 @@
|
|
|
41
42
|
]
|
|
42
43
|
},
|
|
43
44
|
"peerDependencies": {
|
|
44
|
-
"@earendil-works/pi-coding-agent": "
|
|
45
|
+
"@earendil-works/pi-coding-agent": "*"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
48
|
"@earendil-works/pi-coding-agent": "^0.84.1",
|