diff --git a/README.md b/README.md index 523c282..646e5de 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/README.zh-CN.md b/README.zh-CN.md index aea4551..4fa3d2e 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -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 中。 diff --git a/src/test/session-menu-backdrop.test.ts b/src/test/session-menu-backdrop.test.ts index 51c492a..7889226 100644 --- a/src/test/session-menu-backdrop.test.ts +++ b/src/test/session-menu-backdrop.test.ts @@ -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");