@tianhai/pi-workflow-kit 0.13.1 → 0.13.2

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.
@@ -0,0 +1,39 @@
1
+ # Migrate from @mariozechner to @earendil-works
2
+
3
+ ## Context
4
+
5
+ pi has moved from `@mariozechner` to `@earendil-works` on GitHub and npm. The old `@mariozechner/pi-coding-agent@0.73.1` is deprecated. This package has two unused peer deps (`pi-ai`, `pi-tui`) that should be cleaned up.
6
+
7
+ ## Changes
8
+
9
+ ### 1. `extensions/workflow-guard.ts` — update import
10
+
11
+ ```diff
12
+ -import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
13
+ +import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
14
+ ```
15
+
16
+ ### 2. `package.json` — update peerDependencies
17
+
18
+ ```diff
19
+ "peerDependencies": {
20
+ - "@mariozechner/pi-ai": "*",
21
+ - "@mariozechner/pi-coding-agent": "*",
22
+ - "@mariozechner/pi-tui": "*",
23
+ + "@earendil-works/pi-coding-agent": "*",
24
+ "@sinclair/typebox": "*"
25
+ },
26
+ ```
27
+
28
+ - Rename `pi-coding-agent` to `@earendil-works/pi-coding-agent`
29
+ - Remove `@mariozechner/pi-ai` (unused)
30
+ - Remove `@mariozechner/pi-tui` (unused)
31
+
32
+ ## Verification
33
+
34
+ - `ExtensionAPI` is exported identically from both old and new packages (same export map, same `.d.ts` path)
35
+ - No other imports from `@mariozechner/*` exist in the codebase
36
+
37
+ ## Impact
38
+
39
+ Users on old `@mariozechner/pi-coding-agent` will get a peer dependency resolution error — they must update pi. The old package is explicitly deprecated pointing to the new one.
@@ -0,0 +1,45 @@
1
+ # Implementation Plan: Migrate from @mariozechner to @earendil-works
2
+
3
+ ## Task 1: Update package scope and clean up peer dependencies
4
+
5
+ <!-- tdd: trivial -->
6
+ <!-- checkpoint: done -->
7
+
8
+ Migrate the sole import and peerDependencies from `@mariozechner/*` to `@earendil-works/pi-coding-agent`, dropping the two unused deps (`pi-ai`, `pi-tui`).
9
+
10
+ ### Files to modify
11
+
12
+ 1. **`extensions/workflow-guard.ts`** — line 2:
13
+
14
+ ```diff
15
+ -import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
16
+ +import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
17
+ ```
18
+
19
+ 2. **`package.json`** — `peerDependencies`:
20
+
21
+ ```diff
22
+ "peerDependencies": {
23
+ - "@mariozechner/pi-ai": "*",
24
+ - "@mariozechner/pi-coding-agent": "*",
25
+ - "@mariozechner/pi-tui": "*",
26
+ + "@earendil-works/pi-coding-agent": "*",
27
+ "@sinclair/typebox": "*"
28
+ },
29
+ ```
30
+
31
+ ### Verify
32
+
33
+ ```bash
34
+ grep -r "@mariozechner" extensions/ package.json
35
+ # Expected: no output
36
+
37
+ npm run check
38
+ # Expected: passes (lint + tests)
39
+ ```
40
+
41
+ ### Commit
42
+
43
+ ```
44
+ chore: migrate from @mariozechner to @earendil-works, drop unused peer deps
45
+ ```
@@ -0,0 +1,10 @@
1
+ # Progress: Migrate from @mariozechner to @earendil-works
2
+
3
+ Plan: docs/plans/2026-05-08-migrate-earendil-works-implementation.md
4
+ Branch: migrate-earendil-works
5
+ Started: 2026-05-08T00:00:00Z
6
+ Last updated: 2026-05-08T00:02:00Z
7
+
8
+ | # | Status | Task | Commit |
9
+ |---|--------|------|--------|
10
+ | 1 | ✅ done | Update package scope and clean up peer dependencies (checkpoint: done) | 0a29af0 |
@@ -1,5 +1,5 @@
1
1
  import { resolve } from "node:path";
2
- import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
2
+ import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
3
3
 
4
4
  /**
5
5
  * Workflow Guard extension.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tianhai/pi-workflow-kit",
3
- "version": "0.13.1",
3
+ "version": "0.13.2",
4
4
  "description": "Enforce structured brainstorm→plan→execute→finalize workflow with TDD discipline in AI coding agents",
5
5
  "keywords": [
6
6
  "pi-package",
@@ -40,13 +40,12 @@
40
40
  ]
41
41
  },
42
42
  "peerDependencies": {
43
- "@mariozechner/pi-ai": "*",
44
- "@mariozechner/pi-coding-agent": "*",
45
- "@mariozechner/pi-tui": "*",
43
+ "@earendil-works/pi-coding-agent": "*",
46
44
  "@sinclair/typebox": "*"
47
45
  },
48
46
  "devDependencies": {
49
47
  "@biomejs/biome": "^2.3.15",
48
+ "@earendil-works/pi-coding-agent": "*",
50
49
  "vitest": "^4.0.18"
51
50
  }
52
51
  }