@zhushanwen/pi-plan 0.2.2 → 0.2.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhushanwen/pi-plan",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Lightweight plan mode for Pi coding agent",
5
5
  "type": "module",
6
6
  "main": "index.ts",
@@ -15,12 +15,12 @@
15
15
  ],
16
16
  "license": "MIT",
17
17
  "peerDependencies": {
18
- "@mariozechner/pi-coding-agent": ">=0.73.0",
18
+ "@earendil-works/pi-coding-agent": ">=0.73.0",
19
19
  "@sinclair/typebox": "*",
20
- "@mariozechner/pi-ai": "*"
20
+ "@earendil-works/pi-ai": "*"
21
21
  },
22
22
  "peerDependenciesMeta": {
23
- "@mariozechner/pi-ai": {
23
+ "@earendil-works/pi-ai": {
24
24
  "optional": true
25
25
  }
26
26
  },
@@ -14,7 +14,7 @@ vi.mock("../widget.js", () => ({
14
14
 
15
15
  import * as fs from "node:fs";
16
16
 
17
- import type { ExtensionAPI, ExtensionContext } from "@mariozechner/pi-coding-agent";
17
+ import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
18
18
 
19
19
  import { registerPlanCommand } from "../command.js";
20
20
 
@@ -1,4 +1,4 @@
1
- import type { ExtensionAPI, ExtensionContext } from "@mariozechner/pi-coding-agent";
1
+ import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
2
2
  import { describe, expect, it, vi } from "vitest";
3
3
 
4
4
  import {
@@ -10,7 +10,7 @@ vi.mock("typebox", () => ({
10
10
  Static: class {},
11
11
  }));
12
12
 
13
- vi.mock("@mariozechner/pi-ai", () => ({
13
+ vi.mock("@earendil-works/pi-ai", () => ({
14
14
  StringEnum: (values: readonly string[]) => ({ type: "string", enum: [...values] }),
15
15
  }));
16
16
 
package/src/command.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as fs from "node:fs";
2
2
  import * as path from "node:path";
3
3
 
4
- import type { ExtensionAPI, ExtensionContext } from "@mariozechner/pi-coding-agent";
4
+ import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
5
5
 
6
6
  import type { PlanSessionMap } from "./state.js";
7
7
  import { getPlanState, persistPlanState, resetPlanState } from "./state.js";
package/src/compact.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as fs from "node:fs";
2
2
 
3
- import type { ExtensionAPI, ExtensionContext, SessionBeforeCompactEvent, SessionBeforeTreeEvent } from "@mariozechner/pi-coding-agent";
3
+ import type { ExtensionAPI, ExtensionContext, SessionBeforeCompactEvent, SessionBeforeTreeEvent } from "@earendil-works/pi-coding-agent";
4
4
 
5
5
  import type { PlanSessionMap, PlanState } from "./state.js";
6
6
  import { getPlanState } from "./state.js";
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ExtensionAPI, ExtensionContext } from "@mariozechner/pi-coding-agent";
1
+ import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
2
2
 
3
3
  import { registerPlanCommand, startPlanMode } from "./command.js";
4
4
  import { type PlanSessionMap, reconstructPlanState } from "./state.js";
package/src/state.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { CustomEntry, ExtensionAPI, ExtensionContext, SessionEntry } from "@mariozechner/pi-coding-agent";
1
+ import type { CustomEntry, ExtensionAPI, ExtensionContext, SessionEntry } from "@earendil-works/pi-coding-agent";
2
2
 
3
3
  export type PlanPhase = "idle" | "brainstorming" | "writing" | "complete";
4
4
 
package/src/tool.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as fs from "node:fs";
2
2
  import * as path from "node:path";
3
3
 
4
- import { StringEnum } from "@mariozechner/pi-ai";
5
- import type { ExtensionAPI, ExtensionContext, Theme, ThemeColor } from "@mariozechner/pi-coding-agent";
6
- import { Text } from "@mariozechner/pi-tui";
4
+ import { StringEnum } from "@earendil-works/pi-ai";
5
+ import type { ExtensionAPI, ExtensionContext, Theme, ThemeColor } from "@earendil-works/pi-coding-agent";
6
+ import { Text } from "@earendil-works/pi-tui";
7
7
  import { Type } from "typebox";
8
8
 
9
9
  import type { PlanSessionMap } from "./state.js";
package/src/widget.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ExtensionContext } from "@mariozechner/pi-coding-agent";
1
+ import type { ExtensionContext } from "@earendil-works/pi-coding-agent";
2
2
 
3
3
  import type { PlanState } from "./state.js";
4
4