@pricening/pi-web 0.11.0 → 0.11.1
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/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +8 -8
- package/.next/build-manifest.json +2 -2
- package/.next/prerender-manifest.json +3 -3
- package/.next/required-server-files.js +1 -1
- package/.next/required-server-files.json +1 -1
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +2 -2
- package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/api/app-update/route.js +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +4 -4
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/index.segments/_full.segment.rsc +4 -4
- package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/server/app/login.html +1 -1
- package/.next/server/app/login.rsc +2 -2
- package/.next/server/app/login.segments/_full.segment.rsc +2 -2
- package/.next/server/app/login.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/page.js +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +8 -8
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/app/{layout-1db5383b28405504.js → layout-6008ff3f9d5055e2.js} +1 -1
- package/.next/static/chunks/app/{page-de5b3e3565b1a54b.js → page-7a0af1292fa0d000.js} +1 -1
- package/.next/trace +87 -87
- package/.next/trace-build +1 -1
- package/README.md +4 -3
- package/README.zh-CN.md +4 -3
- package/package.json +1 -1
- /package/.next/static/{7r6-_kJbL2lHOV6A7LdXP → pdx-Am6pppy840OjmypqG}/_buildManifest.js +0 -0
- /package/.next/static/{7r6-_kJbL2lHOV6A7LdXP → pdx-Am6pppy840OjmypqG}/_ssgManifest.js +0 -0
package/.next/trace-build
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"run-webpack","duration":
|
|
1
|
+
[{"name":"run-webpack","duration":34778506,"timestamp":616135615,"id":14,"parentId":1,"tags":{},"startTime":1791556961473,"traceId":"8aff4bcd9144725b"},{"name":"run-typescript","duration":16828724,"timestamp":650922616,"id":8754,"parentId":1,"tags":{},"startTime":1791556996260,"traceId":"8aff4bcd9144725b"},{"name":"static-check","duration":1832706,"timestamp":667817930,"id":8757,"parentId":1,"tags":{},"startTime":1791557013155,"traceId":"8aff4bcd9144725b"},{"name":"static-generation","duration":6817335,"timestamp":669759561,"id":8907,"parentId":1,"tags":{},"startTime":1791557015097,"traceId":"8aff4bcd9144725b"},{"name":"collect-build-traces","duration":34516016,"timestamp":669653091,"id":8904,"parentId":1,"tags":{},"startTime":1791557014990,"traceId":"8aff4bcd9144725b"},{"name":"telemetry-flush","duration":74,"timestamp":704172964,"id":8916,"parentId":1,"tags":{},"startTime":1791557049510,"traceId":"8aff4bcd9144725b"},{"name":"next-build","duration":88201884,"timestamp":615971167,"id":1,"tags":{"buildMode":"default","version":"16.3.8","bundler":"webpack","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1791556961308,"traceId":"8aff4bcd9144725b"}]
|
package/README.md
CHANGED
|
@@ -23,8 +23,9 @@ How we stay in sync, version, and publish: **[docs/FORK.md](./docs/FORK.md)** (t
|
|
|
23
23
|
|
|
24
24
|
## Extra features (this fork)
|
|
25
25
|
|
|
26
|
-
- **
|
|
27
|
-
- **
|
|
26
|
+
- **Pins and archive come from upstream now** (since v0.11.0): one server-side state file, `~/.pi/agent/pi-web-session-state.json`, holds pinned/archived session families, pinned projects, the manual project order, collapse states and an in-sidebar archive view, with a revision counter so every window against one server sees the same thing. We read and write through it.
|
|
27
|
+
- **What this fork adds on top**: the global **Settings → Archives** page — it needs no open project — and per-project **bulk delete** of that project's sessions: a confirmation word is required (`confirm` / `确认` / `確認`), a running agent refuses with 409, subagents cascade, and the code folder on disk is never deleted. Ours also remain the pinned-first ordering (upstream orders groups only by activity and manual moves) and the one-shot importer for the retired stores, `lib/ui-state-migrate.ts`.
|
|
28
|
+
- Semantic shifts we accepted when adopting upstream: archive entries are keyed by **session-family root**, so siblings collapse onto the earliest timestamp; a migrated project pin takes the migration-time stamp; migration invents no manual order. Details in [docs/FORK.md](./docs/FORK.md).
|
|
28
29
|
|
|
29
30
|
Everything else is upstream Pi Web: same `~/.pi/agent` sharing with the local pi CLI, same session files, same models/auth/skills.
|
|
30
31
|
|
|
@@ -84,7 +85,7 @@ Password auth does not encrypt the connection. Do not put Pi Web on the public i
|
|
|
84
85
|
## Notes
|
|
85
86
|
|
|
86
87
|
- **Agent data**: reads `~/.pi/agent` by default (session files under `sessions/<encoded-cwd>/<timestamp>_<uuid>.jsonl`). Override with `PI_CODING_AGENT_DIR`.
|
|
87
|
-
- **Shared with local pi**: models, settings, and credentials are pi’s files. This fork
|
|
88
|
+
- **Shared with local pi**: models, settings, and credentials are pi’s files. This fork writes no extra state of its own any more — pins, archive and order live in upstream's `~/.pi/agent/pi-web-session-state.json`. The two legacy files this fork used to keep under `~/.pi/agent/pi-web/` are imported once, then renamed `*.migrated-<utc>` rather than deleted. It does not rewrite `settings.json` / `auth.json` / session jsonl content.
|
|
88
89
|
- **File access** is limited to known project/session roots; it is not a general filesystem browser.
|
|
89
90
|
- **Git worktrees**: [Worktrees in Pi Web](./docs/worktrees.md).
|
|
90
91
|
|
package/README.zh-CN.md
CHANGED
|
@@ -21,8 +21,9 @@
|
|
|
21
21
|
|
|
22
22
|
## 本 fork 多出来的功能
|
|
23
23
|
|
|
24
|
-
-
|
|
25
|
-
-
|
|
24
|
+
- **置顶与归档现在由上游提供**(自 v0.11.0):统一的服务端状态文件 `~/.pi/agent/pi-web-session-state.json` 保存已置顶/已归档的会话族、置顶项目、手动项目顺序、折叠态和侧栏内的归档视图,并用 revision 计数器让同一台服务器上的每个窗口看到同一份。我们读写都走它。
|
|
25
|
+
- **本 fork 在它之上加的**:**设置 → 归档** 这个全局页(不依赖当前项目),以及按项目的**批量删除**——需要输入确认词(`confirm` / `确认` / `確認`)、有运行中的 agent 时返回 409、subagent 级联、绝不删磁盘上的代码目录。另外仍然属于我们的:pinned-first 排序(上游只按活跃度和手动拖动排),以及为退役存储留下的一次性 importer `lib/ui-state-migrate.ts`。
|
|
26
|
+
- 采纳上游时接受的语义位移:归档条目按**会话族根**落键,同族多个兄弟折叠到最早的那个时间戳;迁移过去的项目 pin 会盖上迁移时刻的时间戳;迁移期间不凭空生成手动顺序。详见 [docs/FORK.md](./docs/FORK.md)。
|
|
26
27
|
|
|
27
28
|
其余能力与上游相同:与本地 pi CLI 共享 `~/.pi/agent`、同一套会话文件、同一套模型 / 登录 / 技能。
|
|
28
29
|
|
|
@@ -82,7 +83,7 @@ PI_WEB_PASSWORD='足够长的随机密码' pi-web --hostname 0.0.0.0
|
|
|
82
83
|
## 注意事项
|
|
83
84
|
|
|
84
85
|
- **智能体数据**:默认读 `~/.pi/agent`,会话在 `sessions/<编码后的工作目录>/<时间戳>_<uuid>.jsonl`。可用 `PI_CODING_AGENT_DIR` 改目录。
|
|
85
|
-
- **与本地 pi 共享**:模型、设置、凭据仍是 pi 的文件。本 fork
|
|
86
|
+
- **与本地 pi 共享**:模型、设置、凭据仍是 pi 的文件。本 fork 不再写属于自己的状态文件——置顶、归档、顺序都在上游的 `~/.pi/agent/pi-web-session-state.json` 里。原先放在 `~/.pi/agent/pi-web/` 下的那两个文件会被导入一次,然后改名成 `*.migrated-<utc>`,不删除。不改 `settings.json` / `auth.json` / 会话 jsonl 内容。
|
|
86
87
|
- **文件访问**仅限已知的项目 / 会话根目录,不是通用文件浏览器。
|
|
87
88
|
- **Git worktree**:见 [Pi Web 里的 Worktree](./docs/worktrees.zh-CN.md)。
|
|
88
89
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pricening/pi-web",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "Web UI for the pi coding agent (personal fork of @agegr/pi-web with a global Archives page that bulk-deletes a project's sessions)",
|
|
5
5
|
"homepage": "https://github.com/PriceNing/pi-web#readme",
|
|
6
6
|
"repository": {
|
|
File without changes
|
|
File without changes
|