@tmustier/pi-files-widget 0.1.19 → 0.1.21
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 +13 -0
- package/README.md +2 -14
- package/browser.ts +2 -2
- package/demo.svg +1 -1
- package/file-viewer.ts +1 -1
- package/index.ts +3 -58
- package/input-utils.ts +1 -1
- package/package.json +7 -3
- package/viewer.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,19 @@ All notable changes to this extension will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.1.21] - 2026-05-07
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
- Declare `@earendil-works` Pi development dependencies used by runtime imports.
|
|
11
|
+
- Update Pi extension imports and peer dependencies to the new `@earendil-works` namespace.
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.1.20] - 2026-04-24
|
|
15
|
+
|
|
16
|
+
### Removed
|
|
17
|
+
- Remove the external `/readfiles-review` and `/readfiles-diff` commands so files-widget stays focused on the `/readfiles` browser/viewer.
|
|
18
|
+
|
|
19
|
+
|
|
7
20
|
## [0.1.18] - 2026-04-19
|
|
8
21
|
|
|
9
22
|
### Changed
|
package/README.md
CHANGED
|
@@ -81,21 +81,9 @@ The `/readfiles` browser requires these tools and will refuse to open until they
|
|
|
81
81
|
|
|
82
82
|
## Commands
|
|
83
83
|
|
|
84
|
-
- `/readfiles` - open the file browser
|
|
85
|
-
- `/review` - open tuicr review flow
|
|
86
|
-
- `/diff` - open critique (bunx critique)
|
|
84
|
+
- `/readfiles` - open the file browser and viewer
|
|
87
85
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
```bash
|
|
91
|
-
brew install agavra/tap/tuicr
|
|
92
|
-
brew install oven-sh/bun/bun
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
- `tuicr` is required for `/review`
|
|
96
|
-
- `bun` is required for `/diff`
|
|
97
|
-
|
|
98
|
-
If missing, `/review` or `/diff` will show a clear install prompt.
|
|
86
|
+
Diff viewing is built into the file viewer: open a changed tracked file and press `d` to toggle the git diff view.
|
|
99
87
|
|
|
100
88
|
## Browser Keybindings
|
|
101
89
|
|
package/browser.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Theme } from "@
|
|
2
|
-
import { Key, matchesKey, truncateToWidth } from "@
|
|
1
|
+
import type { Theme } from "@earendil-works/pi-coding-agent";
|
|
2
|
+
import { Key, matchesKey, truncateToWidth } from "@earendil-works/pi-tui";
|
|
3
3
|
import { lstatSync, realpathSync, statSync } from "node:fs";
|
|
4
4
|
import { readdir, readFile, realpath, stat } from "node:fs/promises";
|
|
5
5
|
import { homedir } from "node:os";
|