Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ It does not reveal a new chat tab automatically when there are no tabs to restor
Pi 0.80.8 is the minimum supported release because Pi on Code uses the
`ModelRuntime`-based SDK introduced in [Pi 0.80.8](https://pi.dev/news/releases/0.80.8).
The required Session, Extension Runner, Package Manager, and Settings APIs have
been verified through Pi 0.82.1. See the [Pi release notes](https://pi.dev/news)
been verified through Pi 0.85.1. See the [Pi release notes](https://pi.dev/news)
for upstream changes.

Install the latest compatible Pi release globally:

```powershell
npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.82.1
npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.85.1
```

Authenticate Pi from a terminal first, run `Pi: Set Up API Key / Login`, or use
Expand Down
6 changes: 3 additions & 3 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ code --install-extension auchan.pion-code

- VS Code 1.118 或更高版本。
- Node.js 22 或更高版本。
- Pi coding agent 0.80.8 至 0.82.1(当前已验证的兼容范围)。
- Pi coding agent 0.80.8 至 0.85.1(当前已验证的兼容范围)。

Pi 0.80.8 是支持的最低版本,因为 Pi on Code 使用了 [Pi 0.80.8](https://pi.dev/news/releases/0.80.8) 引入的 `ModelRuntime` 驱动 SDK。所需的 Session、Extension Runner、Package Manager 与 Settings API 已在 Pi 0.82.1 上验证。上游变更请参见 [Pi 发布说明](https://pi.dev/news)。
Pi 0.80.8 是支持的最低版本,因为 Pi on Code 使用了 [Pi 0.80.8](https://pi.dev/news/releases/0.80.8) 引入的 `ModelRuntime` 驱动 SDK。所需的 Session、Extension Runner、Package Manager 与 Settings API 已在 Pi 0.85.1 上验证。上游变更请参见 [Pi 发布说明](https://pi.dev/news)。

全局安装最新兼容的 Pi 版本:

```powershell
npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.82.1
npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.85.1
```

先在终端中完成 Pi 认证,运行 `Pi: Set Up API Key / Login`,或从命令面板使用 `Pi: Set Anthropic API Key` / `Pi: Set OpenAI API Key`。通过这些命令输入的 API 密钥存储在 VS Code SecretStorage 中。
Expand Down
2 changes: 1 addition & 1 deletion src/test/session-menu-backdrop.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { readFileSync } from "node:fs";
const source = readFileSync(
new URL("../../src/session-sidebar-provider.ts", import.meta.url),
"utf8",
);
).replace(/\r\n/g, "\n");

function menuRule(): string {
const start = source.indexOf(".session-menu {\n");
Expand Down
Loading