@tmustier/pi-files-widget 0.1.20 → 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/file-viewer.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { visibleWidth, wrapTextWithAnsi } from "@mariozechner/pi-tui";
1
+ import { visibleWidth, wrapTextWithAnsi } from "@earendil-works/pi-tui";
2
2
  import { execSync } from "node:child_process";
3
3
  import { readFileSync, statSync } from "node:fs";
4
4
 
package/index.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * Use /readfiles to open the file browser, navigate with j/k, Enter to view.
6
6
  */
7
7
 
8
- import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
8
+ import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
9
9
  import { join } from "node:path";
10
10
 
11
11
  import { createFileBrowser } from "./browser";
package/input-utils.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { decodeKittyPrintable } from "@mariozechner/pi-tui";
1
+ import { decodeKittyPrintable } from "@earendil-works/pi-tui";
2
2
 
3
3
  const CONTROL_CHARS = /[\u0000-\u0008\u000B-\u001F\u007F]/g;
4
4
  const BRACKETED_PASTE_START = "\u001b[200~";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmustier/pi-files-widget",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "description": "In-terminal file browser and viewer for Pi.",
5
5
  "license": "MIT",
6
6
  "author": "Thomas Mustier",
@@ -15,8 +15,8 @@
15
15
  "bugs": "https://github.com/tmustier/pi-extensions/issues",
16
16
  "homepage": "https://github.com/tmustier/pi-extensions/tree/main/files-widget",
17
17
  "peerDependencies": {
18
- "@mariozechner/pi-coding-agent": "*",
19
- "@mariozechner/pi-tui": "*"
18
+ "@earendil-works/pi-coding-agent": "*",
19
+ "@earendil-works/pi-tui": "*"
20
20
  },
21
21
  "scripts": {
22
22
  "postinstall": "node -e \"console.log('pi-files-widget: required deps: bat, delta, glow. Install with: brew install bat git-delta glow')\""
@@ -26,5 +26,9 @@
26
26
  "index.ts"
27
27
  ],
28
28
  "video": "https://raw.githubusercontent.com/tmustier/pi-extensions/main/files-widget/demo.mp4"
29
+ },
30
+ "devDependencies": {
31
+ "@earendil-works/pi-coding-agent": "^0.74.0",
32
+ "@earendil-works/pi-tui": "^0.74.0"
29
33
  }
30
34
  }
package/viewer.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { Theme } from "@mariozechner/pi-coding-agent";
2
- import { Key, matchesKey, truncateToWidth, wrapTextWithAnsi } from "@mariozechner/pi-tui";
1
+ import type { Theme } from "@earendil-works/pi-coding-agent";
2
+ import { Key, matchesKey, truncateToWidth, wrapTextWithAnsi } from "@earendil-works/pi-tui";
3
3
  import { readFileSync, statSync } from "node:fs";
4
4
  import { relative } from "node:path";
5
5