@tmustier/pi-files-widget 0.1.12 → 0.1.14

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 CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  All notable changes to this extension will be documented in this file.
4
4
 
5
+ ## [0.1.14] - 2026-02-03
6
+
7
+ ### Added
8
+ - Add preview video metadata for the extension listing.
9
+
10
+ ## [0.1.13] - 2026-02-02
11
+
12
+ ### Changed
13
+ - **BREAKING:** Renamed `/files` command to `/readfiles` to avoid conflict with Pi's new built-in `/files` command (Pi v0.50.2+)
14
+
5
15
  ## [0.1.11] - 2026-01-26
6
16
 
7
17
  ### Changed
package/README.md CHANGED
@@ -14,7 +14,7 @@ In-terminal file browser and diff viewer widget for Pi. Navigate files, view dif
14
14
  pi install npm:@tmustier/pi-files-widget
15
15
  ```
16
16
 
17
- Required deps (needed for /files):
17
+ Required deps (needed for /readfiles):
18
18
 
19
19
  ```bash
20
20
  # macOS (Homebrew)
@@ -75,11 +75,11 @@ Then reference it in your settings:
75
75
  - `delta`: formatted diffs
76
76
  - `glow`: markdown rendering
77
77
 
78
- The `/files` browser requires these tools and will refuse to open until they are installed.
78
+ The `/readfiles` browser requires these tools and will refuse to open until they are installed.
79
79
 
80
80
  ## Commands
81
81
 
82
- - `/files` - open the file browser
82
+ - `/readfiles` - open the file browser
83
83
  - `/review` - open tuicr review flow
84
84
  - `/diff` - open critique (bunx critique)
85
85
 
@@ -127,4 +127,4 @@ If missing, `/review` or `/diff` will show a clear install prompt.
127
127
  - Folder LOCs are shown only when the folder is collapsed (expanded folders would duplicate counts).
128
128
  - Line counts load asynchronously; the header shows activity while counts are computed.
129
129
  - Large non-git folders load progressively and may show `[partial]` while loading in safe mode.
130
- - Git status refreshes every 3 seconds while `/files` is open.
130
+ - Git status refreshes every 3 seconds while `/readfiles` is open.
package/index.ts CHANGED
@@ -20,7 +20,7 @@ export default function editorExtension(pi: ExtensionAPI): void {
20
20
  const requiredDeps = ["bat", "delta", "glow"] as const;
21
21
  const getMissingDeps = () => requiredDeps.filter((dep) => !hasCommand(dep));
22
22
 
23
- pi.registerCommand("files", {
23
+ pi.registerCommand("readfiles", {
24
24
  description: "Open file browser",
25
25
  handler: async (_args, ctx) => {
26
26
  const missing = getMissingDeps();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmustier/pi-files-widget",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "description": "In-terminal file browser and viewer for Pi.",
5
5
  "license": "MIT",
6
6
  "author": "Thomas Mustier",
@@ -24,6 +24,7 @@
24
24
  "pi": {
25
25
  "extensions": [
26
26
  "index.ts"
27
- ]
27
+ ],
28
+ "video": "https://raw.githubusercontent.com/tmustier/pi-extensions/main/files-widget/demo.mp4"
28
29
  }
29
30
  }