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
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,16 @@ jobs:
rm -rf "$root"
}
trap cleanup EXIT
mkdir "$root/app" "$root/workspace"
mkdir "$root/app" "$root/workspace" "$root/agent"
printf '{"private":true}\n' >"$root/app/package.json"
npm pack --ignore-scripts --silent --pack-destination "$root" >/dev/null
tarballs=("$root"/*.tgz)
test "${#tarballs[@]}" -eq 1
npm install --prefix "$root/app" --ignore-scripts --no-audit --no-fund "${tarballs[0]}"
npm install --prefix "$root/app" --ignore-scripts --no-audit --no-fund "${tarballs[0]}" \
@earendil-works/pi-coding-agent@0.85.1 @earendil-works/pi-ai@0.85.1 @earendil-works/pi-tui@0.85.1
test ! -e "$root/app/node_modules/@earendil-works/pi-server"
(cd "$root/app" && node --input-type=module -e 'await import("@earendil-works/pi-coding-agent")')
PI_CODING_AGENT_DIR="$root/agent" \
OPENPI_WEB_TOKEN=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \
"$root/app/node_modules/.bin/openpi" web "$root/workspace" --port 0 --no-open \
>"$root/host.log" 2>&1 &
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<p align="center">
<a href="https://www.npmjs.com/package/@tt-a1i/openpi"><img alt="npm version" src="https://img.shields.io/npm/v/@tt-a1i/openpi?style=flat-square&color=cb3837"></a>
<a href="https://github.com/openpi-dev/openpi/actions/workflows/ci.yml"><img alt="CI status" src="https://github.com/openpi-dev/openpi/actions/workflows/ci.yml/badge.svg"></a>
<a href="https://github.com/earendil-works/pi-mono"><img alt="Pi 0.84.1+" src="https://img.shields.io/badge/Pi-0.84.1%2B-2f81f7?style=flat-square"></a>
<a href="https://github.com/earendil-works/pi-mono"><img alt="Pi 0.85.1+" src="https://img.shields.io/badge/Pi-0.85.1%2B-2f81f7?style=flat-square"></a>
<img alt="Node.js 22.19+" src="https://img.shields.io/badge/Node.js-22.19%2B-3fb950?style=flat-square&logo=nodedotjs&logoColor=white">
<a href="LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-3fb950?style=flat-square"></a>
</p>
Expand Down Expand Up @@ -448,7 +448,7 @@ Footer 布局以 `footerLines` 作为唯一持久化格式。旧版 `footerItems

### 安装要求与来源

- Pi `0.84.1` 或更新版本;
- Pi `0.85.1` 或更新版本;
- Node.js `22.19.0` 或更新版本;
- npm 安装:`pi install npm:@tt-a1i/openpi`;
- GitHub 安装:`pi install git:github.com/openpi-dev/openpi`。
Expand Down
2 changes: 1 addition & 1 deletion SETUP.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Setup

Use Node.js 22.19.0 or newer. Install the public Pi package:
Use Pi 0.85.1 or newer and Node.js 22.19.0 or newer. Upgrade Pi before installing this OpenPI version; the temporary Pi 0.85.0 SDK import workaround has been removed. Install the public Pi package:

```sh
pi install npm:@tt-a1i/openpi
Expand Down
61 changes: 14 additions & 47 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading