@heyhuynhgiabuu/pi-diff 0.1.6 → 0.2.0

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/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # pi-diff
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/@heyhuynhgiabuu/pi-diff)](https://www.npmjs.com/package/@heyhuynhgiabuu/pi-diff)
4
- [![GitHub release](https://img.shields.io/github/v/release/heyhuynhgiabuu/pi-diff)](https://github.com/heyhuynhgiabuu/pi-diff/releases/latest)
4
+ [![GitHub release](https://img.shields.io/github/v/release/buddingnewinsights/pi-diff)](https://github.com/buddingnewinsights/pi-diff/releases/latest)
5
5
 
6
6
  A [pi](https://pi.dev) extension that replaces the default `write` and `edit` tool output with **Shiki-powered, syntax-highlighted diffs** — side-by-side split view, unified stacked view, and word-level change emphasis, all rendered directly in your terminal.
7
7
 
@@ -9,11 +9,11 @@ A [pi](https://pi.dev) extension that replaces the default `write` and `edit` to
9
9
 
10
10
  ### Unified view — stacked single-column diff
11
11
 
12
- <img width="700" alt="pi-diff unified view" src="https://github.com/heyhuynhgiabuu/pi-diff/raw/main/media/unified.png" />
12
+ <img width="700" alt="pi-diff unified view" src="https://github.com/buddingnewinsights/pi-diff/raw/main/media/unified.png" />
13
13
 
14
14
  ### Split view — side-by-side comparison
15
15
 
16
- <img width="700" alt="pi-diff split view" src="https://github.com/heyhuynhgiabuu/pi-diff/raw/main/media/split.png" />
16
+ <img width="700" alt="pi-diff split view" src="https://github.com/buddingnewinsights/pi-diff/raw/main/media/split.png" />
17
17
 
18
18
  ## Features
19
19
 
@@ -33,7 +33,7 @@ A [pi](https://pi.dev) extension that replaces the default `write` and `edit` to
33
33
  pi install npm:@heyhuynhgiabuu/pi-diff
34
34
  ```
35
35
 
36
- Latest release: https://github.com/heyhuynhgiabuu/pi-diff/releases/latest
36
+ Latest release: https://github.com/buddingnewinsights/pi-diff/releases/latest
37
37
 
38
38
  Or load directly for development:
39
39
 
@@ -232,7 +232,7 @@ const { parseDiff, renderSplit, renderUnified, normalizeShikiContrast } = __test
232
232
  ## Development
233
233
 
234
234
  ```bash
235
- git clone https://github.com/heyhuynhgiabuu/pi-diff.git
235
+ git clone https://github.com/buddingnewinsights/pi-diff.git
236
236
  cd pi-diff
237
237
  npm install
238
238
  npm run typecheck # TypeScript validation
@@ -281,4 +281,4 @@ See the [pi docs](https://pi.dev) for the full extension API.
281
281
 
282
282
  ## License
283
283
 
284
- MIT — [huynhgiabuu](https://github.com/heyhuynhgiabuu)
284
+ MIT — [huynhgiabuu](https://github.com/buddingnewinsights)
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@heyhuynhgiabuu/pi-diff",
3
- "version": "0.1.6",
3
+ "version": "0.2.0",
4
4
  "description": "Shiki-powered terminal diff renderer for pi — syntax-highlighted, word-level diffs in split and unified views.",
5
5
  "author": "huynhgiabuu",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://github.com/heyhuynhgiabuu/pi-diff.git"
9
+ "url": "https://github.com/buddingnewinsights/pi-diff.git"
10
10
  },
11
- "homepage": "https://github.com/heyhuynhgiabuu/pi-diff#readme",
11
+ "homepage": "https://github.com/buddingnewinsights/pi-diff#readme",
12
12
  "bugs": {
13
- "url": "https://github.com/heyhuynhgiabuu/pi-diff/issues"
13
+ "url": "https://github.com/buddingnewinsights/pi-diff/issues"
14
14
  },
15
15
  "keywords": [
16
16
  "pi-package",
@@ -26,8 +26,8 @@
26
26
  "@shikijs/cli": "^4.0.2"
27
27
  },
28
28
  "peerDependencies": {
29
- "@mariozechner/pi-coding-agent": "*",
30
- "@mariozechner/pi-tui": "*"
29
+ "@mariozechner/pi-coding-agent": "^0.64.0",
30
+ "@mariozechner/pi-tui": "^0.64.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/diff": "^7.0.2",
package/src/index.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * pi-diff — Shiki-powered terminal diff renderer for pi.
3
3
  *
4
4
  * @module pi-diff
5
- * @see https://github.com/heyhuynhgiabuu/pi-diff
5
+ * @see https://github.com/buddingnewinsights/pi-diff
6
6
  *
7
7
  * Architecture (like OpenTUI / delta):
8
8
  * 1. Syntax-highlight full code blocks via Shiki → ANSI (fg-only codes)