Skip to content

Commit 57fa1c6

Browse files
migrate pi extension from mariozechner to earendil-works (#729)
* fix(pi): move to earendil-works packages and links * fix(docs): close markdown link for earendil pi URL --------- Co-authored-by: Michael Ramos <mdramos8@gmail.com>
1 parent 9fed785 commit 57fa1c6

10 files changed

Lines changed: 155 additions & 137 deletions

File tree

apps/marketing/src/content/docs/commands/code-review.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Plannotator supports multiple AI providers. Providers are auto-detected based on
117117

118118
- **Claude** requires the `claude` CLI ([Claude Code](https://docs.anthropic.com/en/docs/claude-code))
119119
- **Codex** requires the `codex` CLI ([OpenAI Codex](https://github.com/openai/codex))
120-
- **Pi** requires the `pi` CLI ([Pi](https://github.com/mariozechner/pi-coding-agent))
120+
- **Pi** requires the `pi` CLI ([Pi](https://github.com/earendil-works/pi))
121121
- **OpenCode** requires the `opencode` CLI ([OpenCode](https://opencode.ai))
122122

123123
All providers can be available simultaneously. Plannotator does not manage API keys, so you must be authenticated with each CLI independently (`claude` uses `~/.claude/` credentials, `codex` uses `OPENAI_API_KEY`, `pi` and `opencode` use their own local configuration).

apps/pi-extension/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,4 +226,4 @@ State persists across session restarts via Pi's `appendEntry` API.
226226

227227
## Requirements
228228

229-
- [Pi](https://github.com/mariozechner/pi) >= 0.53.0
229+
- [Pi](https://github.com/earendil-works/pi) >= 0.74.0

apps/pi-extension/assistant-message.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ExtensionContext } from "@mariozechner/pi-coding-agent";
1+
import type { ExtensionContext } from "@earendil-works/pi-coding-agent";
22

33
type AssistantTextBlock = { type?: string; text?: string };
44

apps/pi-extension/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { existsSync, readFileSync } from "node:fs";
22
import { dirname, join } from "node:path";
33
import { fileURLToPath } from "node:url";
44
import { homedir } from "node:os";
5-
import type { ThinkingLevel } from "@mariozechner/pi-agent-core";
5+
import type { ThinkingLevel } from "@earendil-works/pi-agent-core";
66

77
export type PhaseName = "planning" | "executing" | "reviewing";
88
export type RuntimePhase = PhaseName | "idle";

apps/pi-extension/current-pi-session.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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";
22

33
type SendUserMessageContent = Parameters<ExtensionAPI["sendUserMessage"]>[0];
44
type SendUserMessageOptions = Parameters<ExtensionAPI["sendUserMessage"]>[1];

apps/pi-extension/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818

1919
import { existsSync, readFileSync, statSync } from "node:fs";
2020
import { basename, resolve } from "node:path";
21-
import type { ThinkingLevel } from "@mariozechner/pi-agent-core";
22-
import { Type } from "@mariozechner/pi-ai";
21+
import type { ThinkingLevel } from "@earendil-works/pi-agent-core";
22+
import { Type } from "@earendil-works/pi-ai";
2323
import type {
2424
ExtensionAPI,
2525
ExtensionContext,
26-
} from "@mariozechner/pi-coding-agent";
27-
import { Key } from "@mariozechner/pi-tui";
26+
} from "@earendil-works/pi-coding-agent";
27+
import { Key } from "@earendil-works/pi-tui";
2828
import { buildPromptVariables, formatTodoList, loadPlannotatorConfig, renderTemplate, resolvePhaseProfile } from "./config.js";
2929
import {
3030
type ChecklistItem,

apps/pi-extension/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@
4646
"@joplin/turndown-plugin-gfm": "^1.0.64"
4747
},
4848
"peerDependencies": {
49-
"@mariozechner/pi-coding-agent": ">=0.53.0"
49+
"@earendil-works/pi-coding-agent": ">=0.74.0"
5050
},
5151
"devDependencies": {
52-
"@mariozechner/pi-coding-agent": ">=0.53.0",
53-
"@mariozechner/pi-agent-core": ">=0.53.0",
54-
"@mariozechner/pi-ai": ">=0.53.0",
55-
"@mariozechner/pi-tui": ">=0.53.0"
52+
"@earendil-works/pi-coding-agent": ">=0.74.0",
53+
"@earendil-works/pi-agent-core": ">=0.74.0",
54+
"@earendil-works/pi-ai": ">=0.74.0",
55+
"@earendil-works/pi-tui": ">=0.74.0"
5656
}
5757
}

apps/pi-extension/plannotator-browser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { tmpdir } from "node:os";
44
import { spawnSync } from "node:child_process";
55
import { createWorktreePool, type WorktreePool } from "./generated/worktree-pool.js";
66
import { fileURLToPath } from "node:url";
7-
import type { ExtensionContext } from "@mariozechner/pi-coding-agent";
7+
import type { ExtensionContext } from "@earendil-works/pi-coding-agent";
88
import {
99
prepareLocalReviewDiff,
1010
reviewRuntime,

apps/pi-extension/plannotator-events.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
22
import { homedir } from "node:os";
33
import { dirname, join } from "node:path";
4-
import type { ExtensionAPI, ExtensionContext } from "@mariozechner/pi-coding-agent";
4+
import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
55
import type { DiffType, VcsSelection } from "./server.js";
66
import {
77
getLastAssistantMessageText,

bun.lock

Lines changed: 139 additions & 121 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)