@piagent/platform 1.0.1 → 1.1.0

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.
@@ -8,8 +8,8 @@ Một thành viên mới không cần biết local path của maintainer. Luồn
8
8
 
9
9
  ```bash
10
10
  node --version # >= 22.19.0
11
- npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.81.1
12
- npm install -g --ignore-scripts @piagent/platform@1.0.1
11
+ npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.82.0
12
+ npm install -g --ignore-scripts @piagent/platform@1.1.0
13
13
  piagent-install --stable
14
14
  cd /path/to/project
15
15
  pi
@@ -24,13 +24,14 @@ pi
24
24
  ## Prerequisites
25
25
 
26
26
  - Node.js >=22.19.0.
27
- - Pi Coding Agent `0.81.1`.
27
+ - Pi Coding Agent `0.82.0`.
28
28
  - Runtime rollout:
29
29
  - verified: macOS Apple Silicon + Bash, Linux x64 + Bash;
30
30
  - supported target cần smoke trước khi rollout rộng: macOS Intel + Bash, Linux ARM64 + Bash;
31
31
  - chưa dùng làm target rollout team: native Windows; WSL2 chỉ experimental.
32
32
  - `pi` có trên `PATH`.
33
33
  - `herdr` optional nhưng nên có nếu team chạy nhiều agent pane.
34
+ - MCP: `piagent-install` seed preset `core` mặc định (bỏ qua bằng `--no-mcp`). Server connect lazy nên trước lần gọi đầu còn cần Chrome cho `chrome-devtools`, và **Docker đang chạy + `export GITHUB_PERSONAL_ACCESS_TOKEN`** cho `github`. Chi tiết: [MCP và tool policy](mcp-and-tools.md).
34
35
  - Git access tới repo platform nếu dùng `git:` package source.
35
36
  - OAuth/API access riêng của từng người. Không share token.
36
37
 
@@ -40,8 +41,8 @@ Mặc định team dùng stable helper:
40
41
 
41
42
  ```bash
42
43
  node --version # >= 22.19.0
43
- npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.81.1
44
- npm install -g --ignore-scripts @piagent/platform@1.0.1
44
+ npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.82.0
45
+ npm install -g --ignore-scripts @piagent/platform@1.1.0
45
46
  piagent-install --stable --dry-run
46
47
  piagent-install --stable
47
48
  ```
@@ -65,7 +66,7 @@ pi install git:github.com/Vt-mmm/piagent
65
66
  Full update phải đồng bộ exact Pi host trước, sau đó terminal helper và Pi package matching:
66
67
 
67
68
  ```bash
68
- npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.81.1
69
+ npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.82.0
69
70
  npm install -g --ignore-scripts @piagent/platform@X.Y.Z
70
71
  piagent-install --stable --dry-run
71
72
  piagent-install --stable
@@ -77,12 +78,26 @@ Full rollback dùng cùng sequence với `vPREVIOUS`, nhưng exact Pi host phả
77
78
  Nếu team publish npm private:
78
79
 
79
80
  ```bash
80
- npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.81.1
81
+ npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.82.0
81
82
  pi install npm:@your-scope/platform@x.y.z
82
83
  ```
83
84
 
84
85
  Không cần chạy bash để set profile cho từng project.
85
86
 
87
+ ### Rời platform
88
+
89
+ Thành viên rời team hoặc máy không dùng platform nữa thì gỡ bằng `piagent-uninstall`. Mặc định nó chỉ báo cáo; `--apply` mới thực hiện:
90
+
91
+ ```bash
92
+ piagent-uninstall
93
+ piagent-uninstall --apply
94
+ piagent-uninstall --apply --with-addons --with-host # gỡ luôn add-on và Pi host
95
+ piagent-uninstall --apply --project /path/to/project # gỡ state platform trong project
96
+ npm uninstall -g @piagent/platform
97
+ ```
98
+
99
+ Credential, trust, session, todo và `.pi/memory/` không bị xoá ở bất kỳ tổ hợp cờ nào. `.pi/settings.json` chỉ mất đúng entry trỏ tới platform. Chi tiết trong [release/install policy](release-install-policy.md).
100
+
86
101
  ## Bước 2 — mở project và login OAuth
87
102
 
88
103
  ```bash
@@ -798,7 +798,7 @@
798
798
  <span>Pi Agent Platform</span>
799
799
  </a>
800
800
  <div class="top-actions">
801
- <span class="pill"><span class="pill-dot"></span>v1.0.1 docs</span>
801
+ <span class="pill"><span class="pill-dot"></span>v1.1.0 docs</span>
802
802
  <a class="button social" href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer" aria-label="Mở GitHub repository">
803
803
  <svg viewBox="0 0 24 24" fill="none" aria-hidden="true">
804
804
  <path d="M7 17 17 7M9 7h8v8" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
@@ -927,14 +927,14 @@
927
927
  <p class="section-kicker">Quickstart</p>
928
928
  <h2>Step by step cho thành viên mới</h2>
929
929
  <p class="section-lead">
930
- Luồng dưới đây là đường đi chuẩn cho team: chuẩn bị Node.js và Pi Coding Agent, cài Pi Agent Platform bằng release tag đã pin, kiểm tra compatibility, mở repo, chọn profile, bật quyền phù hợp, chạy task, rồi verify bằng command thật. Bản latest chỉ nên dùng cho máy cá nhân hoặc sandbox chấp nhận cập nhật nhanh.
930
+ Hai lệnh để cài, rồi mở repo, chọn profile, bật quyền phù hợp, chạy task, và verify bằng command thật. Gỡ cũng chỉ hai lệnh khi không dùng nữa.
931
931
  </p>
932
932
 
933
933
  <div class="steps">
934
934
  <article class="step">
935
935
  <div>
936
- <h3>Chuẩn bị runtime</h3>
937
- <p>Dùng Node.js 22.19.0 trở lên và Pi Coding Agent <span class="inline-code">0.81.1</span>. Pi Agent Platform <span class="inline-code">v1.0.1</span> đang pin compatibility với runtime này và công bố support matrix theo OS/CPU riêng cho platform helper.</p>
936
+ <h3>Cài — hai lệnh</h3>
937
+ <p>Cần Node.js 22.19.0 trở lên. Không cần cài Pi Coding Agent trước: <span class="inline-code">piagent-setup</span> tự cài đúng bản <span class="inline-code">0.82.0</span> mà release <span class="inline-code">v1.1.0</span> đang pin. Chạy nó ngay trong thư mục project — nó cài Pi package, khởi tạo <span class="inline-code">.pi/</span>, cài MCP baseline cùng subagents, rồi chạy doctor. Thêm <span class="inline-code">--no-mcp</span>, <span class="inline-code">--no-subagents</span>, <span class="inline-code">--no-herdr</span> hoặc <span class="inline-code">--global-only</span> để bỏ bớt.</p>
938
938
  <div class="table-wrap compact-table">
939
939
  <table>
940
940
  <thead>
@@ -964,58 +964,19 @@
964
964
  </table>
965
965
  </div>
966
966
  <div class="command-card">
967
- <header><span>Runtime prerequisites</span><button class="clip-btn" data-clip="node --version&#10;npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.81.1&#10;pi --version">Lấy lệnh</button></header>
968
- <pre><code>node --version # &gt;= 22.19.0
969
- npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.81.1
970
- pi --version</code></pre>
971
- </div>
972
- </div>
973
- </article>
974
- <article class="step">
975
- <div>
976
- <h3>Cài Pi Agent Platform có pin</h3>
977
- <p>Team nên cài npm-global helper trước, rồi dùng helper đó resolve stable tag thành commit SHA và cài Pi package matching. Trong output, <span class="inline-code">currentRelease</span> là version của terminal helper đang chạy. Direct Pi install chỉ dùng khi không cần command <span class="inline-code">piagent-*</span>.</p>
978
- <div class="command-card">
979
- <header><span>Stable helper install</span><button class="clip-btn" data-clip="npm install -g --ignore-scripts @piagent/platform@1.0.1&#10;piagent-install --stable --dry-run&#10;piagent-install --stable">Lấy lệnh</button></header>
980
- <pre><code>npm install -g --ignore-scripts @piagent/platform@1.0.1
981
- piagent-install --stable --dry-run
982
- piagent-install --stable</code></pre>
967
+ <header><span>Hai lệnh</span><button class="clip-btn" data-clip="npm install -g @piagent/platform&#10;piagent-setup">Lấy lệnh</button></header>
968
+ <pre><code>npm install -g @piagent/platform
969
+ piagent-setup</code></pre>
983
970
  </div>
971
+ <p>Vì chạy từ package đã cài, source ghi vào <span class="inline-code">.pi/settings.json</span> là <span class="inline-code">npm:@piagent/platform@&lt;version&gt;</span> — giá trị này có nghĩa như nhau trên máy đồng đội, nên commit được cho cả team.</p>
972
+ <p>Dùng <a href="https://herdr.dev/docs/install/">Herdr</a> thì cài Herdr <strong>trước</strong>: <span class="inline-code">piagent-setup</span> tự cài luôn Herdr Pi integration khi thấy <span class="inline-code">herdr</span> trên <span class="inline-code">PATH</span>, còn không thì bỏ qua kèm cảnh báo — cài Herdr sau phải chạy lại <span class="inline-code">piagent-setup --global-only</span>.</p>
984
973
  <div class="command-card">
985
- <header><span>Direct Pi package only</span><button class="clip-btn" data-clip="pi install git:github.com/Vt-mmm/piagent@v1.0.1">Lấy lệnh</button></header>
986
- <pre><code>pi install git:github.com/Vt-mmm/piagent@v1.0.1</code></pre>
987
- </div>
988
- </div>
989
- </article>
990
-
991
- <article class="step">
992
- <div>
993
- <h3>Update hoặc rollback đúng cả ba thành phần</h3>
994
- <p>Full update/rollback phải dùng exact Pi host của release target, đổi npm-global helper, rồi apply stable Pi package từ chính helper đó. Lệnh <span class="inline-code">--version ... --resolve-tag</span> chỉ đổi Pi package và giữ host/helper hiện tại.</p>
995
- <div class="command-card">
996
- <header><span>Full platform target</span><button class="clip-btn" data-clip="npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.81.1&#10;npm install -g --ignore-scripts @piagent/platform@X.Y.Z&#10;piagent-install --stable --dry-run&#10;piagent-install --stable">Lấy lệnh</button></header>
997
- <pre><code>npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.81.1
998
- npm install -g --ignore-scripts @piagent/platform@X.Y.Z
999
- piagent-install --stable --dry-run
1000
- piagent-install --stable</code></pre>
1001
- </div>
1002
- <div class="command-card">
1003
- <header><span>Pi package only</span><button class="clip-btn" data-clip="piagent-install --version vX.Y.Z --resolve-tag --dry-run&#10;piagent-install --version vX.Y.Z --resolve-tag">Lấy lệnh</button></header>
1004
- <pre><code>piagent-install --version vX.Y.Z --resolve-tag --dry-run
1005
- piagent-install --version vX.Y.Z --resolve-tag</code></pre>
1006
- </div>
1007
- </div>
1008
- </article>
1009
-
1010
- <article class="step">
1011
- <div>
1012
- <h3>Latest chỉ cho cá nhân/sandbox</h3>
1013
- <p>Dùng latest khi muốn nhận thay đổi nhanh trên máy riêng. Khi đưa vào repo/team, đổi sang tag hoặc commit đã review để mọi developer nhận cùng một cấu hình.</p>
1014
- <div class="command-card">
1015
- <header><span>Personal latest</span><button class="clip-btn" data-clip="pi install git:github.com/Vt-mmm/piagent&#10;pi update --extensions">Lấy lệnh</button></header>
1016
- <pre><code>pi install git:github.com/Vt-mmm/piagent
1017
- pi update --extensions</code></pre>
974
+ <header><span>Herdr (tuỳ chọn, cài trước)</span><button class="clip-btn" data-clip="brew install herdr">Lấy lệnh</button></header>
975
+ <pre><code>brew install herdr # macOS
976
+ curl -fsSL https://herdr.dev/install.sh | sh # macOS hoặc Linux</code></pre>
1018
977
  </div>
978
+ <p>Bản <span class="inline-code">curl</span> chạy script tải về lúc cài; muốn kiểm tra được thì dùng <span class="inline-code">brew</span> hoặc tải từ <a href="https://github.com/ogulcancelik/herdr/releases">GitHub releases</a>. Herdr stable hỗ trợ macOS và Linux, Windows mới ở mức preview.</p>
979
+ <p>Rollout pin từng bước, update, rollback, và channel latest cho máy cá nhân nằm trong <a href="https://github.com/Vt-mmm/piagent/blob/main/docs/release-install-policy.md">release &amp; install policy</a>.</p>
1019
980
  </div>
1020
981
  </article>
1021
982
 
@@ -1028,6 +989,7 @@ pi update --extensions</code></pre>
1028
989
  <pre><code>cd /path/to/project
1029
990
  pi</code></pre>
1030
991
  </div>
992
+ <p>Cần nhiều agent chạy song song thì gõ <span class="inline-code">herdr</span> thay cho <span class="inline-code">pi</span>, mỗi pane một vai: implement, review read-only, verify, notes. Herdr chỉ điều phối terminal và session — nó không phải security boundary, gate vẫn nằm ở Pi extension và OAuth vẫn login trong Pi. Cách dựng pane: <a href="https://github.com/Vt-mmm/piagent/blob/main/docs/herdr-workflow.md">Herdr workflow</a>.</p>
1031
993
  </div>
1032
994
  </article>
1033
995
 
@@ -1082,18 +1044,32 @@ pi</code></pre>
1082
1044
  <article class="step">
1083
1045
  <div>
1084
1046
  <h3>Verify trước khi handoff</h3>
1085
- <p>Final gate chỉ tin kết quả command đã chạy thật, exit 0, và khớp verify plan. Với setup team, chạy doctor và smoke test sau khi pin hoặc nâng version.</p>
1047
+ <p>Final gate chỉ tin kết quả command đã chạy thật, exit 0, và khớp verify plan. Sau khi pin hoặc nâng version, chạy doctor trên project:</p>
1086
1048
  <div class="command-card">
1087
- <header><span>Doctor + smoke</span><button class="clip-btn" data-clip="piagent-doctor /path/to/project --strict-share&#10;npm run smoke&#10;npm run verify&#10;npm test&#10;npm run typecheck">Lấy lệnh</button></header>
1088
- <pre><code>piagent-doctor /path/to/project --strict-share
1089
- # in piagent source repo:
1090
- npm run smoke
1091
- npm run verify
1092
- npm test
1093
- npm run typecheck</code></pre>
1049
+ <header><span>Doctor</span><button class="clip-btn" data-clip="piagent-doctor">Lấy lệnh</button></header>
1050
+ <pre><code>piagent-doctor</code></pre>
1094
1051
  </div>
1052
+ <p>Người phát triển chính platform còn có <span class="inline-code">npm run verify</span> trong source repo; chi tiết ở <a href="https://github.com/Vt-mmm/piagent/blob/main/CONTRIBUTING.md">CONTRIBUTING</a>.</p>
1095
1053
  </div>
1096
1054
  </article>
1055
+
1056
+ <article class="step">
1057
+ <div>
1058
+ <h3>Gỡ cài đặt khi không dùng nữa</h3>
1059
+ <p><span class="inline-code">piagent-uninstall</span> mặc định chỉ in ra sẽ gỡ những gì rồi thoát; phải thêm <span class="inline-code">--apply</span> nó mới thực hiện, vì nó sửa Pi settings mà công cụ khác cũng ghi vào. Mặc định chỉ gỡ Pi package của platform; add-on, Pi host và state trong project đều là opt-in.</p>
1060
+ <div class="command-card">
1061
+ <header><span>Gỡ — hai lệnh</span><button class="clip-btn" data-clip="piagent-uninstall&#10;piagent-uninstall --apply">Lấy lệnh</button></header>
1062
+ <pre><code>piagent-uninstall
1063
+ piagent-uninstall --apply</code></pre>
1064
+ </div>
1065
+ <p>Add-on, Pi host, state trong project và helper npm-global đều tách riêng và là opt-in — <span class="inline-code">piagent-uninstall --help</span> liệt kê đủ. Nó gỡ theo những gì đang đăng ký trong Pi settings chứ không theo những gì bản hiện tại cài, nên package do release cũ đăng ký vẫn ra được.</p>
1066
+ <div class="callout ok-callout">
1067
+ <strong>Không bao giờ bị xoá</strong>
1068
+ <p>Credential, trust, session, todo và <span class="inline-code">.pi/memory/</span> được giữ nguyên ở mọi tổ hợp cờ — đó là dữ liệu của người dùng, không phải state của platform. Các file sinh từ template rồi sửa tiếp như <span class="inline-code">AGENTS.md</span>, <span class="inline-code">.pi/settings.json</span>, <span class="inline-code">project-context.md</span> chỉ được liệt kê để tự quyết. Với <span class="inline-code">.pi/settings.json</span>, chỉ đúng entry trỏ tới platform bị bỏ khỏi <span class="inline-code">packages</span>.</p>
1069
+ </div>
1070
+ </div>
1071
+ </article>
1072
+
1097
1073
  </div>
1098
1074
  </section>
1099
1075
 
@@ -1178,12 +1154,14 @@ npm run typecheck</code></pre>
1178
1154
 
1179
1155
  <div class="callout">
1180
1156
  <strong>Redaction cần kiểm toán độc lập</strong>
1181
- <p>Các benchmark hiện tại là kiểm thử synthetic/internal cho regression và release gate, chưa tương đương external security audit. Dự án công khai <a href="https://github.com/Vt-mmm/piagent/blob/main/docs/security-threat-model.md" target="_blank" rel="noopener noreferrer">threat model và attack-vector map</a>; phạm vi OS/shell rộng hơn, parser fuzzing, third-party audit, signed provenance và LTS vẫn là các mức bảo đảm cao hơn chưa được claim.</p>
1157
+ <p>Các benchmark hiện tại là kiểm thử synthetic/internal cho regression và release gate, chưa tương đương external security audit. Dự án công khai <a href="https://github.com/Vt-mmm/piagent/blob/main/docs/security-threat-model.md" target="_blank" rel="noopener noreferrer">threat model và attack-vector map</a>; phạm vi OS/shell rộng hơn, parser fuzzing, third-party audit và LTS vẫn là các mức bảo đảm cao hơn chưa được claim. Signed provenance thì đã có: mỗi bản publish lên npm mang attestation ký qua sigstore từ GitHub Actions, buộc tarball về đúng commit và workflow tạo ra nó.</p>
1182
1158
  </div>
1183
1159
 
1184
1160
  <div class="callout">
1185
1161
  <strong>Dependency gate tách hai lớp</strong>
1186
- <p>Release kiểm toán riêng dependency tree nhỏ của terminal helper và cây exact Pi host + pinned add-on. Gate hiện có 0 high/critical; npm vẫn báo 11 moderate dependency paths thuộc hai advisory upstream: encoded-backslash path traversal trên Windows trong Hono adapter và protobuf parser DoS. Native Windows/WSL2 chưa nằm trong matrix rollout team, nhưng dự án vẫn theo dõi cả hai thay vì gọi runtime là “0 vulnerability”.</p>
1162
+ <p>Release kiểm toán riêng dependency tree nhỏ của terminal helper và cây exact Pi host + pinned add-on. Helper tree hiện sạch hoàn toàn. Cây Pi host có 1 high và 11 moderate, và dự án nói thẳng con số đó thay vì gọi runtime là “0 vulnerability”.</p>
1163
+ <p>Bản high là <span class="inline-code">GHSA-mh99-v99m-4gvg</span> trong <span class="inline-code">brace-expansion</span> — DoS, không leo quyền, không lộ dữ liệu. Repo này không sửa được: Pi host publish kèm <span class="inline-code">npm-shrinkwrap.json</span> ghim version dính lỗi, mà shrinkwrap đã publish thì thắng <span class="inline-code">overrides</span> của consumer. Mọi bản Pi đã phát hành đều dính một advisory brace-expansion, nên pin bản cũ chỉ đổi lỗi này lấy lỗi khác. Vì vậy gate miễn trừ đúng một advisory có tên, kèm lý do ghi trong mã nguồn, và tự đỏ lại khi hết hạn rà soát <span class="inline-code">2026-08-25</span> hoặc ngay khi upstream vá xong. Mọi high/critical khác vẫn chặn.</p>
1164
+ <p>11 moderate còn lại thuộc hai advisory upstream: encoded-backslash path traversal trên Windows trong Hono adapter, và protobuf parser DoS. Native Windows/WSL2 chưa nằm trong matrix rollout team, nhưng dự án vẫn theo dõi cả hai.</p>
1187
1165
  </div>
1188
1166
  </section>
1189
1167
 
@@ -1474,8 +1452,8 @@ npm run typecheck</code></pre>
1474
1452
  <pre><code>piagent-setup --mcp-preset core --subagents-preset safe</code></pre>
1475
1453
  </article>
1476
1454
  <article class="command-card">
1477
- <header><span>Full update</span><button class="clip-btn" data-clip="npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.81.1&#10;npm install -g --ignore-scripts @piagent/platform@X.Y.Z&#10;piagent-install --stable --dry-run&#10;piagent-install --stable">Lấy lệnh</button></header>
1478
- <pre><code>npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.81.1
1455
+ <header><span>Full update</span><button class="clip-btn" data-clip="npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.82.0&#10;npm install -g --ignore-scripts @piagent/platform@X.Y.Z&#10;piagent-install --stable --dry-run&#10;piagent-install --stable">Lấy lệnh</button></header>
1456
+ <pre><code>npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.82.0
1479
1457
  npm install -g --ignore-scripts @piagent/platform@X.Y.Z
1480
1458
  piagent-install --stable --dry-run
1481
1459
  piagent-install --stable</code></pre>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@piagent/platform",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -47,6 +47,7 @@
47
47
  "bin": {
48
48
  "piagent-setup": "scripts/piagent-cli.mjs",
49
49
  "piagent-install": "scripts/piagent-cli.mjs",
50
+ "piagent-uninstall": "scripts/piagent-cli.mjs",
50
51
  "piagent-init": "scripts/piagent-cli.mjs",
51
52
  "piagent-doctor": "scripts/piagent-cli.mjs",
52
53
  "piagent-benchmark": "scripts/piagent-cli.mjs",
@@ -77,8 +78,8 @@
77
78
  }
78
79
  },
79
80
  "peerDependencies": {
80
- "@earendil-works/pi-ai": "0.81.1",
81
- "@earendil-works/pi-coding-agent": "0.81.1",
81
+ "@earendil-works/pi-ai": "0.82.0",
82
+ "@earendil-works/pi-coding-agent": "0.82.0",
82
83
  "typebox": "1.1.38"
83
84
  },
84
85
  "peerDependenciesMeta": {
@@ -93,8 +94,8 @@
93
94
  }
94
95
  },
95
96
  "devDependencies": {
96
- "@types/node": "^22.13.14",
97
- "typescript": "^5.8.3"
97
+ "@types/node": "^26.1.1",
98
+ "typescript": "^7.0.2"
98
99
  },
99
100
  "workspaces": [
100
101
  "packages/*"
@@ -115,6 +116,7 @@
115
116
  "audit:runtime": "bash scripts/audit-runtime-host.sh",
116
117
  "release:identity": "node scripts/verify-release-identity.mjs",
117
118
  "vercel:preflight": "node scripts/verify-vercel-link.mjs",
119
+ "site:check": "node scripts/check-published-site.mjs",
118
120
  "smoke": "bash scripts/runtime-policy-smoke.sh",
119
121
  "usage": "bash scripts/pi-session-stats.sh",
120
122
  "auto": "bash scripts/pi-auto.sh",
@@ -64,6 +64,7 @@ Inside Pi, slash commands can switch the current session without writing the pro
64
64
  - `piagent_project_onboarding_record`
65
65
  - `piagent_task_start`
66
66
  - `piagent_source_checkout`
67
+ - `piagent_document_read` — reads `.md`/`.txt`/`.csv`/`.json`/`.yaml`/`.pdf`/`.docx` from the project or a granted `additionalReadRoots` directory; read-only, and `protectedPaths` still wins
67
68
  - `piagent_context_record`
68
69
  - `piagent_verify_record` — records verify evidence only after matching an observed bash tool result after task start
69
70
  - `piagent_trace_record`
@@ -108,7 +109,7 @@ pi install git:github.com/Vt-mmm/piagent
108
109
 
109
110
  Use `git:github.com/Vt-mmm/piagent@vX.Y.Z` when pinning a reproducible project package source.
110
111
 
111
- Runtime support follows the root release matrix: Node.js `>=22.19.0`, Pi Coding Agent `0.81.1`, verified rollout on macOS Apple Silicon + Bash and Linux x64 + Bash, supported-target smoke verification for macOS Intel/Linux ARM64, no native Windows team rollout target yet, and WSL2 experimental.
112
+ Runtime support follows the root release matrix: Node.js `>=22.19.0`, Pi Coding Agent `0.82.0`, verified rollout on macOS Apple Silicon + Bash and Linux x64 + Bash, supported-target smoke verification for macOS Intel/Linux ARM64, no native Windows team rollout target yet, and WSL2 experimental.
112
113
 
113
114
  ## Project profile
114
115