@piagent/platform 1.28.2 → 1.29.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.
Files changed (69) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +1 -1
  3. package/README.vi.md +1 -1
  4. package/docs/command-reference-vietnamese.md +4 -2
  5. package/docs/company-dev-commands.md +6 -0
  6. package/docs/distribution-standard.md +6 -6
  7. package/docs/languages.json +2 -2
  8. package/docs/operator-manual-vietnamese.md +7 -7
  9. package/docs/publishing-for-teams.md +2 -0
  10. package/docs/release-install-policy.md +2 -2
  11. package/docs/team-onboarding.md +2 -2
  12. package/docs-site/architecture.html +1 -1
  13. package/docs-site/benchmark.html +1 -1
  14. package/docs-site/commands.html +1 -1
  15. package/docs-site/content/en/index.html +4 -4
  16. package/docs-site/content/en/whats-new.html +12 -0
  17. package/docs-site/content/index.html +4 -4
  18. package/docs-site/content/whats-new.html +12 -0
  19. package/docs-site/context-engine.html +1 -1
  20. package/docs-site/ecosystem.html +1 -1
  21. package/docs-site/en/architecture.html +1 -1
  22. package/docs-site/en/benchmark.html +1 -1
  23. package/docs-site/en/commands.html +1 -1
  24. package/docs-site/en/context-engine.html +1 -1
  25. package/docs-site/en/ecosystem.html +1 -1
  26. package/docs-site/en/index.html +5 -5
  27. package/docs-site/en/mcp-approval.html +1 -1
  28. package/docs-site/en/mcp-auth.html +1 -1
  29. package/docs-site/en/mcp-servers.html +1 -1
  30. package/docs-site/en/mcp.html +1 -1
  31. package/docs-site/en/permissions.html +1 -1
  32. package/docs-site/en/profiles.html +1 -1
  33. package/docs-site/en/quickstart.html +1 -1
  34. package/docs-site/en/runtime.html +1 -1
  35. package/docs-site/en/scope.html +1 -1
  36. package/docs-site/en/security.html +1 -1
  37. package/docs-site/en/team.html +1 -1
  38. package/docs-site/en/whats-new.html +13 -1
  39. package/docs-site/en/windows.html +1 -1
  40. package/docs-site/en/workflows.html +1 -1
  41. package/docs-site/index.html +5 -5
  42. package/docs-site/mcp-approval.html +1 -1
  43. package/docs-site/mcp-auth.html +1 -1
  44. package/docs-site/mcp-servers.html +1 -1
  45. package/docs-site/mcp.html +1 -1
  46. package/docs-site/permissions.html +1 -1
  47. package/docs-site/profiles.html +1 -1
  48. package/docs-site/quickstart.html +1 -1
  49. package/docs-site/runtime.html +1 -1
  50. package/docs-site/scope.html +1 -1
  51. package/docs-site/security.html +1 -1
  52. package/docs-site/team.html +1 -1
  53. package/docs-site/whats-new.html +13 -1
  54. package/docs-site/windows.html +1 -1
  55. package/docs-site/workflows.html +1 -1
  56. package/evals/private-holdout-v1/public-exposure.v2.json +1 -1
  57. package/package.json +1 -1
  58. package/packages/piagent-core/managed/binding-wait.mjs +30 -9
  59. package/packages/piagent-core/managed/memory.mjs +3 -0
  60. package/packages/piagent-core/managed/request-stream.mjs +4 -0
  61. package/packages/piagent-core/managed/session.mjs +2 -2
  62. package/packages/piagent-core/package.json +1 -1
  63. package/packages/piagent-webui/dist/client/assets/{MarkdownMessage-BKK5r1UP.js → MarkdownMessage-3vQTaeOO.js} +1 -1
  64. package/packages/piagent-webui/dist/client/assets/{index-8YNd9KDA.js → index-Dve4GNQ7.js} +3 -3
  65. package/packages/piagent-webui/dist/client/index.html +1 -1
  66. package/packages/piagent-webui/gateway/managed-launch.ts +14 -2
  67. package/packages/piagent-webui/shared/company-copy.ts +2 -2
  68. package/scripts/company-terminal.mjs +192 -0
  69. package/scripts/piagent-studio.mjs +22 -11
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · EN</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · EN</span>
34
34
  <nav class="language-switch" aria-label="Language">
35
35
  <a class="language-option" href="/profiles" hreflang="vi" lang="vi">VI</a>
36
36
  <a class="language-option current" href="/en/profiles" hreflang="en" lang="en" aria-current="true">EN</a>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · EN</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · EN</span>
34
34
  <nav class="language-switch" aria-label="Language">
35
35
  <a class="language-option" href="/quickstart" hreflang="vi" lang="vi">VI</a>
36
36
  <a class="language-option current" href="/en/quickstart" hreflang="en" lang="en" aria-current="true">EN</a>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · EN</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · EN</span>
34
34
  <nav class="language-switch" aria-label="Language">
35
35
  <a class="language-option" href="/runtime" hreflang="vi" lang="vi">VI</a>
36
36
  <a class="language-option current" href="/en/runtime" hreflang="en" lang="en" aria-current="true">EN</a>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · EN</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · EN</span>
34
34
  <nav class="language-switch" aria-label="Language">
35
35
  <a class="language-option" href="/scope" hreflang="vi" lang="vi">VI</a>
36
36
  <a class="language-option current" href="/en/scope" hreflang="en" lang="en" aria-current="true">EN</a>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · EN</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · EN</span>
34
34
  <nav class="language-switch" aria-label="Language">
35
35
  <a class="language-option" href="/security" hreflang="vi" lang="vi">VI</a>
36
36
  <a class="language-option current" href="/en/security" hreflang="en" lang="en" aria-current="true">EN</a>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · EN</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · EN</span>
34
34
  <nav class="language-switch" aria-label="Language">
35
35
  <a class="language-option" href="/team" hreflang="vi" lang="vi">VI</a>
36
36
  <a class="language-option current" href="/en/team" hreflang="en" lang="en" aria-current="true">EN</a>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · EN</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · EN</span>
34
34
  <nav class="language-switch" aria-label="Language">
35
35
  <a class="language-option" href="/whats-new" hreflang="vi" lang="vi">VI</a>
36
36
  <a class="language-option current" href="/en/whats-new" hreflang="en" lang="en" aria-current="true">EN</a>
@@ -104,6 +104,18 @@
104
104
  <h1>1.9.0: ask in plain language, the team's Harness checks</h1>
105
105
  <p>The task contract and workflow commands are gone. Company mode asks for checks and a review on its own; Stop, network commands on approval and clearer approval cards.</p>
106
106
  </div>
107
+ <section class="section">
108
+ <p class="section-kicker">v1.29.0 · 2026-10-18</p>
109
+ <h2 id="v1-29-0">The company Terminal gets its own look; Stop no longer breaks the conversation</h2>
110
+ <p class="section-lead">The company Terminal (<span class="inline-code">piagent studio</span>) has its own header: team, Harness model and effort, permission, Fast, memory. The footer shows the real effort and no USD cost, the plan is a checklist, and while it waits for your answer it says so. <span class="inline-code">/share</span> and <span class="inline-code">/bug</span> are refused because they send company conversations outside; <span class="inline-code">/login</span>, <span class="inline-code">/model</span>, <span class="inline-code">/thinking</span>… say the team’s Harness decides. Stopping a turn while a command runs no longer breaks the next one (with Agent Studio 0.28.1, Agent Watch 0.15.7).</p>
111
+ </section>
112
+
113
+ <section class="section">
114
+ <p class="section-kicker">v1.28.3 · 2026-10-18</p>
115
+ <h2 id="v1-28-3">Agent Watch updating itself no longer interrupts the company Terminal</h2>
116
+ <p class="section-lead">Right after Agent Watch updates itself, <span class="inline-code">piagent studio</span> and the dashboard wait for Watch to write the configuration again (as after a Piagent update) instead of failing with <span class="inline-code">managed-launch-binding-changed</span> for about a minute; every hash is still checked before anything runs.</p>
117
+ </section>
118
+
107
119
  <section class="section">
108
120
  <p class="section-kicker">v1.28.2 · 2026-10-18</p>
109
121
  <h2 id="v1-28-2">No more “binding changed” right after an update</h2>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · EN</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · EN</span>
34
34
  <nav class="language-switch" aria-label="Language">
35
35
  <a class="language-option" href="/windows" hreflang="vi" lang="vi">VI</a>
36
36
  <a class="language-option current" href="/en/windows" hreflang="en" lang="en" aria-current="true">EN</a>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · EN</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · EN</span>
34
34
  <nav class="language-switch" aria-label="Language">
35
35
  <a class="language-option" href="/workflows" hreflang="vi" lang="vi">VI</a>
36
36
  <a class="language-option current" href="/en/workflows" hreflang="en" lang="en" aria-current="true">EN</a>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · VI</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · VI</span>
34
34
  <nav class="language-switch" aria-label="Ngôn ngữ">
35
35
  <a class="language-option current" href="/" hreflang="vi" lang="vi" aria-current="true">VI</a>
36
36
  <a class="language-option" href="/en/" hreflang="en" lang="en">EN</a>
@@ -94,7 +94,7 @@
94
94
  <main>
95
95
  <div class="content-shell" data-article>
96
96
  <section class="hero">
97
- <p class="eyebrow">Piagent 1.28.2</p>
97
+ <p class="eyebrow">Piagent 1.29.0</p>
98
98
  <h1>Coding agent cho cả team, kiểm tra từng bước.</h1>
99
99
  <p>
100
100
  Một dashboard cho Terminal và trình duyệt. Dùng model bằng tài khoản của bạn, hoặc model của công ty qua Agent Watch và Agent Studio. Guard kiểm tra từng tool call; ở chế độ công ty, Harness của team tự yêu cầu chạy check, cho subagent review và báo kết quả ngay dưới câu trả lời.
@@ -108,7 +108,7 @@
108
108
  <div class="hero-actions">
109
109
  <a class="button primary" href="/quickstart">Bắt đầu</a>
110
110
  <a class="button" href="/ecosystem">Hệ sinh thái</a>
111
- <a class="button" href="/whats-new">Có gì mới trong 1.28.2</a>
111
+ <a class="button" href="/whats-new">Có gì mới trong 1.29.0</a>
112
112
  <a class="button" href="/commands">Xem command</a>
113
113
  </div>
114
114
  </section>
@@ -184,9 +184,9 @@ piagent-setup</code></pre>
184
184
  <h2 id="bat-dau-tu-dau">Bắt đầu từ đâu</h2>
185
185
  <div class="card-grid">
186
186
  <a class="doc-card" href="/whats-new">
187
- <span class="card-kicker">Bản 1.28.2</span>
187
+ <span class="card-kicker">Bản 1.29.0</span>
188
188
  <h3>Có gì mới</h3>
189
- <p>Không còn lỗi “binding changed” ngay sau khi cập nhật; ở 1.28.1: Terminal công ty và Pi cá nhân không còn giẫm chân nhau (không nạp Piagent hai lần, dọn cấu hình công ty cũ, cuộc trò chuyện công ty chỉ mở bằng piagent studio); ở 1.28.0: team memory v2; ở 1.27.1: team memory chạy ổn cả khi agent đang gọi model; ở 1.27.0: team memory, agent công ty nhớ quyết định và quy tắc của team trong từng repo; ở 1.26.1: đổi tên cuộc trò chuyện được cả khi lượt đang chạy; ở 1.26.0: lệnh / và phím tắt của Terminal ngay trên dashboard, /undo hoàn tác lượt trước của agent, dev server chạy qua nhiều lượt; ở 1.25.0: thiếu môi trường thì agent xin quyền và chạy được sau khi bạn duyệt (run_on_host ngoài sandbox, start_docker mở Docker ngay trong cuộc trò chuyện); ở 1.24.0: chọn Fast ngay trên trang tạo cuộc trò chuyện công ty, nút Fast đổi màu vàng khi đang bật; ở 1.23.1: câu hỏi của agent luôn nằm cuối cuộc trò chuyện, ngay trên ô nhập, và dễ đọc hơn; ở 1.23.0: nút Fast cho cuộc trò chuyện công ty khi Harness cho phép, tool lỗi được báo về Studio (Logs → Tool lỗi), cuộc trò chuyện mới gửi được tin nhắn đầu sau khi Harness đổi; ở 1.22.1: dashboard không còn quay mãi khi project nằm trên ổ Windows nhìn từ WSL (/mnt/d…) hoặc phiên công ty không trả lời; ở 1.22.0: đính kèm được mọi file code và văn bản (.html, .css, .ts, .py, Dockerfile…); ở 1.21.1: bật Bypass được cả khi lượt đang chạy và được giữ sau khi tải lại; ở 1.21.0: câu hỏi và yêu cầu duyệt hiện từng cái một (main agent trước), thông báo góc phải khi cuộc trò chuyện khác xong hay đang chờ bạn, Studio ghi lại mỗi lần compact; ở 1.20.0: cài package trong sandbox công ty không phải duyệt (npm, PyPI, Go, Maven, Gradle… qua proxy chỉ cho registry); ở 1.19.0: task công ty có checklist được làm đến hết, cuối mỗi lượt báo rõ xong, dừng giữa chừng hay lỗi, Docker trong sandbox công ty, folder chứa nhiều repo; ở 1.18.0: đổi nhánh Git trên dashboard, tự thử lại khi lỗi tạm thời, Claude Haiku 5.5; ở 1.17.0: dashboard hiện nhánh Git của project; ở 1.16.3: dashboard cập nhật xong vẫn tự kiểm tra bản mới; ở 1.16.2: Terminal nói giống dashboard: hỏi cập nhật, /bypass, lỗi và ghi chú Harness bằng tiếng Việt; ở 1.16.1: bản mới được báo bằng dialog và kiểm tra mỗi giờ, tab dashboard không còn mất đăng nhập; ở 1.16.0: Bypass cho cuộc trò chuyện công ty, đổi Harness không làm gián đoạn; ở 1.15.2: cuộc trò chuyện dài tự thu gọn trở lại; ở 1.15.1: Studio thấy mỗi call của model dùng để làm gì, nhiều cuộc trò chuyện trong một folder không nhận nhầm thay đổi của nhau; ở 1.15.0: subagent bị từ chối nói đúng lý do; ở 1.14: cập nhật giữ model bạn đã chọn; ở 1.13: cuộc trò chuyện giữ chỗ đang đọc, chữ của agent có định dạng, Piagent trên Windows qua WSL2: sandbox công ty bằng bubblewrap và Agent Watch cho Windows; ở 1.12: @ chọn file và folder trên máy, skill và command dùng bằng /, nhánh cuộc trò chuyện công ty gửi được tin nhắn.</p>
189
+ <p>Terminal công ty có giao diện riêng, dừng lượt không còn làm hỏng cuộc trò chuyện; ở 1.28.3: Agent Watch tự cập nhật không còn làm gián đoạn Terminal công ty; ở 1.28.2: không còn lỗi “binding changed” ngay sau khi cập nhật; ở 1.28.1: Terminal công ty và Pi cá nhân không còn giẫm chân nhau (không nạp Piagent hai lần, dọn cấu hình công ty cũ, cuộc trò chuyện công ty chỉ mở bằng piagent studio); ở 1.28.0: team memory v2; ở 1.27.1: team memory chạy ổn cả khi agent đang gọi model; ở 1.27.0: team memory, agent công ty nhớ quyết định và quy tắc của team trong từng repo; ở 1.26.1: đổi tên cuộc trò chuyện được cả khi lượt đang chạy; ở 1.26.0: lệnh / và phím tắt của Terminal ngay trên dashboard, /undo hoàn tác lượt trước của agent, dev server chạy qua nhiều lượt; ở 1.25.0: thiếu môi trường thì agent xin quyền và chạy được sau khi bạn duyệt (run_on_host ngoài sandbox, start_docker mở Docker ngay trong cuộc trò chuyện); ở 1.24.0: chọn Fast ngay trên trang tạo cuộc trò chuyện công ty, nút Fast đổi màu vàng khi đang bật; ở 1.23.1: câu hỏi của agent luôn nằm cuối cuộc trò chuyện, ngay trên ô nhập, và dễ đọc hơn; ở 1.23.0: nút Fast cho cuộc trò chuyện công ty khi Harness cho phép, tool lỗi được báo về Studio (Logs → Tool lỗi), cuộc trò chuyện mới gửi được tin nhắn đầu sau khi Harness đổi; ở 1.22.1: dashboard không còn quay mãi khi project nằm trên ổ Windows nhìn từ WSL (/mnt/d…) hoặc phiên công ty không trả lời; ở 1.22.0: đính kèm được mọi file code và văn bản (.html, .css, .ts, .py, Dockerfile…); ở 1.21.1: bật Bypass được cả khi lượt đang chạy và được giữ sau khi tải lại; ở 1.21.0: câu hỏi và yêu cầu duyệt hiện từng cái một (main agent trước), thông báo góc phải khi cuộc trò chuyện khác xong hay đang chờ bạn, Studio ghi lại mỗi lần compact; ở 1.20.0: cài package trong sandbox công ty không phải duyệt (npm, PyPI, Go, Maven, Gradle… qua proxy chỉ cho registry); ở 1.19.0: task công ty có checklist được làm đến hết, cuối mỗi lượt báo rõ xong, dừng giữa chừng hay lỗi, Docker trong sandbox công ty, folder chứa nhiều repo; ở 1.18.0: đổi nhánh Git trên dashboard, tự thử lại khi lỗi tạm thời, Claude Haiku 5.5; ở 1.17.0: dashboard hiện nhánh Git của project; ở 1.16.3: dashboard cập nhật xong vẫn tự kiểm tra bản mới; ở 1.16.2: Terminal nói giống dashboard: hỏi cập nhật, /bypass, lỗi và ghi chú Harness bằng tiếng Việt; ở 1.16.1: bản mới được báo bằng dialog và kiểm tra mỗi giờ, tab dashboard không còn mất đăng nhập; ở 1.16.0: Bypass cho cuộc trò chuyện công ty, đổi Harness không làm gián đoạn; ở 1.15.2: cuộc trò chuyện dài tự thu gọn trở lại; ở 1.15.1: Studio thấy mỗi call của model dùng để làm gì, nhiều cuộc trò chuyện trong một folder không nhận nhầm thay đổi của nhau; ở 1.15.0: subagent bị từ chối nói đúng lý do; ở 1.14: cập nhật giữ model bạn đã chọn; ở 1.13: cuộc trò chuyện giữ chỗ đang đọc, chữ của agent có định dạng, Piagent trên Windows qua WSL2: sandbox công ty bằng bubblewrap và Agent Watch cho Windows; ở 1.12: @ chọn file và folder trên máy, skill và command dùng bằng /, nhánh cuộc trò chuyện công ty gửi được tin nhắn.</p>
190
190
  </a>
191
191
  <a class="doc-card" href="/ecosystem">
192
192
  <span class="card-kicker">Get started</span>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · VI</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · VI</span>
34
34
  <nav class="language-switch" aria-label="Ngôn ngữ">
35
35
  <a class="language-option current" href="/mcp-approval" hreflang="vi" lang="vi" aria-current="true">VI</a>
36
36
  <a class="language-option" href="/en/mcp-approval" hreflang="en" lang="en">EN</a>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · VI</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · VI</span>
34
34
  <nav class="language-switch" aria-label="Ngôn ngữ">
35
35
  <a class="language-option current" href="/mcp-auth" hreflang="vi" lang="vi" aria-current="true">VI</a>
36
36
  <a class="language-option" href="/en/mcp-auth" hreflang="en" lang="en">EN</a>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · VI</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · VI</span>
34
34
  <nav class="language-switch" aria-label="Ngôn ngữ">
35
35
  <a class="language-option current" href="/mcp-servers" hreflang="vi" lang="vi" aria-current="true">VI</a>
36
36
  <a class="language-option" href="/en/mcp-servers" hreflang="en" lang="en">EN</a>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · VI</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · VI</span>
34
34
  <nav class="language-switch" aria-label="Ngôn ngữ">
35
35
  <a class="language-option current" href="/mcp" hreflang="vi" lang="vi" aria-current="true">VI</a>
36
36
  <a class="language-option" href="/en/mcp" hreflang="en" lang="en">EN</a>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · VI</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · VI</span>
34
34
  <nav class="language-switch" aria-label="Ngôn ngữ">
35
35
  <a class="language-option current" href="/permissions" hreflang="vi" lang="vi" aria-current="true">VI</a>
36
36
  <a class="language-option" href="/en/permissions" hreflang="en" lang="en">EN</a>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · VI</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · VI</span>
34
34
  <nav class="language-switch" aria-label="Ngôn ngữ">
35
35
  <a class="language-option current" href="/profiles" hreflang="vi" lang="vi" aria-current="true">VI</a>
36
36
  <a class="language-option" href="/en/profiles" hreflang="en" lang="en">EN</a>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · VI</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · VI</span>
34
34
  <nav class="language-switch" aria-label="Ngôn ngữ">
35
35
  <a class="language-option current" href="/quickstart" hreflang="vi" lang="vi" aria-current="true">VI</a>
36
36
  <a class="language-option" href="/en/quickstart" hreflang="en" lang="en">EN</a>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · VI</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · VI</span>
34
34
  <nav class="language-switch" aria-label="Ngôn ngữ">
35
35
  <a class="language-option current" href="/runtime" hreflang="vi" lang="vi" aria-current="true">VI</a>
36
36
  <a class="language-option" href="/en/runtime" hreflang="en" lang="en">EN</a>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · VI</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · VI</span>
34
34
  <nav class="language-switch" aria-label="Ngôn ngữ">
35
35
  <a class="language-option current" href="/scope" hreflang="vi" lang="vi" aria-current="true">VI</a>
36
36
  <a class="language-option" href="/en/scope" hreflang="en" lang="en">EN</a>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · VI</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · VI</span>
34
34
  <nav class="language-switch" aria-label="Ngôn ngữ">
35
35
  <a class="language-option current" href="/security" hreflang="vi" lang="vi" aria-current="true">VI</a>
36
36
  <a class="language-option" href="/en/security" hreflang="en" lang="en">EN</a>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · VI</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · VI</span>
34
34
  <nav class="language-switch" aria-label="Ngôn ngữ">
35
35
  <a class="language-option current" href="/team" hreflang="vi" lang="vi" aria-current="true">VI</a>
36
36
  <a class="language-option" href="/en/team" hreflang="en" lang="en">EN</a>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · VI</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · VI</span>
34
34
  <nav class="language-switch" aria-label="Ngôn ngữ">
35
35
  <a class="language-option current" href="/whats-new" hreflang="vi" lang="vi" aria-current="true">VI</a>
36
36
  <a class="language-option" href="/en/whats-new" hreflang="en" lang="en">EN</a>
@@ -104,6 +104,18 @@
104
104
  <h1>Bản 1.9.0: nói việc bằng lời, Harness của team kiểm tra</h1>
105
105
  <p>Bỏ task contract và lệnh workflow. Chế độ công ty tự yêu cầu check và review; nút Dừng, lệnh có mạng theo lần duyệt và thẻ duyệt dễ đọc hơn.</p>
106
106
  </div>
107
+ <section class="section">
108
+ <p class="section-kicker">v1.29.0 · 2026-10-18</p>
109
+ <h2 id="v1-29-0">Terminal công ty có giao diện riêng; dừng lượt không còn làm hỏng cuộc trò chuyện</h2>
110
+ <p class="section-lead">Terminal công ty (<span class="inline-code">piagent studio</span>) giờ có phần đầu riêng: team, model và mức suy luận theo Harness, quyền, Fast, memory. Thanh dưới hiện đúng mức suy luận, không hiện chi phí USD; plan hiện thành checklist; lúc chờ bạn trả lời câu hỏi thì ghi “Đang chờ bạn trả lời”. <span class="inline-code">/share</span> và <span class="inline-code">/bug</span> bị chặn vì gửi hội thoại công ty ra ngoài; <span class="inline-code">/login</span>, <span class="inline-code">/model</span>, <span class="inline-code">/thinking</span>… báo Harness của team quyết định. Dừng một lượt khi lệnh đang chạy không còn làm hỏng các lượt sau (cùng Agent Studio 0.28.1, Agent Watch 0.15.7).</p>
111
+ </section>
112
+
113
+ <section class="section">
114
+ <p class="section-kicker">v1.28.3 · 2026-10-18</p>
115
+ <h2 id="v1-28-3">Agent Watch tự cập nhật không còn làm gián đoạn Terminal công ty</h2>
116
+ <p class="section-lead">Ngay sau khi Agent Watch tự cập nhật, <span class="inline-code">piagent studio</span> và dashboard chờ Watch ghi lại cấu hình (như sau khi Piagent cập nhật) thay vì báo <span class="inline-code">managed-launch-binding-changed</span> trong khoảng một phút; mọi mã băm vẫn được kiểm lại trước khi chạy.</p>
117
+ </section>
118
+
107
119
  <section class="section">
108
120
  <p class="section-kicker">v1.28.2 · 2026-10-18</p>
109
121
  <h2 id="v1-28-2">Không còn lỗi “binding changed” ngay sau khi cập nhật</h2>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · VI</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · VI</span>
34
34
  <nav class="language-switch" aria-label="Ngôn ngữ">
35
35
  <a class="language-option current" href="/windows" hreflang="vi" lang="vi" aria-current="true">VI</a>
36
36
  <a class="language-option" href="/en/windows" hreflang="en" lang="en">EN</a>
@@ -30,7 +30,7 @@
30
30
  <span>Pi Agent Platform</span>
31
31
  </a>
32
32
  <div class="top-actions">
33
- <span class="pill"><span class="pill-dot"></span>v1.28.2 docs · VI</span>
33
+ <span class="pill"><span class="pill-dot"></span>v1.29.0 docs · VI</span>
34
34
  <nav class="language-switch" aria-label="Ngôn ngữ">
35
35
  <a class="language-option current" href="/workflows" hreflang="vi" lang="vi" aria-current="true">VI</a>
36
36
  <a class="language-option" href="/en/workflows" hreflang="en" lang="en">EN</a>
@@ -257,7 +257,7 @@
257
257
  {
258
258
  "path": "tests",
259
259
  "fileCount": 554,
260
- "sha256": "2a96c65c68cee4580bee2edec7b5b3d6ff9457ca7afde172f1c3cb9417923cc2"
260
+ "sha256": "b1bd6124763f1e06122591028d50889d68f469b3d0ac532bce6eda426ad19e4e"
261
261
  }
262
262
  ],
263
263
  "custodianComparisonRules": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@piagent/platform",
3
- "version": "1.28.2",
3
+ "version": "1.29.0",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -3,23 +3,26 @@ import path from 'node:path';
3
3
  import { execFileSync } from 'node:child_process';
4
4
  import { createHash } from 'node:crypto';
5
5
 
6
- // Agent Watch pins the company launcher by sha256. A Piagent update replaces
7
- // the launcher in place, and Watch rewrites the binding on its next sync
8
- // (every ~5 min, on wake or network change). Until then the launch waits for
9
- // the new binding instead of failing; it never runs a launcher whose hash
10
- // differs from the binding.
6
+ // Agent Watch pins the company launcher and its own broker by sha256. A
7
+ // Piagent update replaces the launcher in place, an Agent Watch update
8
+ // (Sparkle) replaces the broker, and Watch rewrites the binding on its next
9
+ // sync (every ~5 min, on wake or network change; up to ~70 s after its own
10
+ // update). Until then the launch waits for the new binding instead of failing;
11
+ // it never runs a launcher or broker whose hash differs from the binding.
11
12
 
12
13
  const digest = file => createHash('sha256').update(fs.readFileSync(file)).digest('hex');
13
14
 
14
15
  // What differs between the binding and this process: null when every pinned
15
16
  // path and hash matches, 'entrypoint' when only the launcher's contents
16
- // changed (same path, same Node, same broker), 'other' for anything else.
17
+ // changed (same path, same Node, same broker), 'broker' when only the
18
+ // broker's contents changed (same path, same Node, same launcher), 'other'
19
+ // for anything else.
17
20
  export function bindingMismatch(config, { self, node }) {
18
21
  const hash = file => { try { return digest(file); } catch { return null; } };
19
22
  if (config?.schema_version !== 1 || config.model !== 'agent-watch-auto' || !/^[a-f0-9]{64}$/.test(config.profile_id)
20
- || config.entrypoint !== self || config.node !== node
21
- || hash(config.node) !== config.node_sha256 || hash(config.broker) !== config.broker_sha256) return 'other';
22
- return hash(config.entrypoint) === config.entrypoint_sha256 ? null : 'entrypoint';
23
+ || config.entrypoint !== self || config.node !== node || hash(config.node) !== config.node_sha256) return 'other';
24
+ const entrypoint = hash(config.entrypoint) === config.entrypoint_sha256, broker = hash(config.broker) === config.broker_sha256;
25
+ return entrypoint && broker ? null : entrypoint ? 'broker' : broker ? 'entrypoint' : 'other';
23
26
  }
24
27
 
25
28
  // The launcher at the bound path is a Piagent release installed after Watch
@@ -33,6 +36,24 @@ export function installedAfterBinding(configPath, entrypoint) {
33
36
  } catch { return false; }
34
37
  }
35
38
 
39
+ export const AGENT_WATCH_BUNDLE_ID = 'com.vtamm.claudewatch.ClaudeWatchMac';
40
+ const plistValue = (plist, key) => execFileSync('/usr/bin/plutil', ['-extract', key, 'raw', '-o', '-', plist], { encoding: 'utf8', stdio: ['ignore', 'pipe', 'ignore'], timeout: 5000 }).trim();
41
+
42
+ // The broker at the bound path is still the Agent Watch app's own executable
43
+ // (…/X.app/Contents/MacOS/<CFBundleExecutable> of Agent Watch's bundle id),
44
+ // replaced after Watch wrote the binding: an Agent Watch update (ctime: when
45
+ // Sparkle moved the new app in). macOS only; nothing else counts.
46
+ export function brokerUpdatedAfterBinding(configPath, broker, { platform = process.platform, read = plistValue } = {}) {
47
+ try {
48
+ if (platform !== 'darwin' || typeof broker !== 'string' || fs.realpathSync(broker) !== broker) return false;
49
+ const contents = path.dirname(path.dirname(broker));
50
+ if (path.basename(path.dirname(broker)) !== 'MacOS' || path.basename(contents) !== 'Contents' || !path.dirname(contents).endsWith('.app')) return false;
51
+ const plist = path.join(contents, 'Info.plist');
52
+ if (read(plist, 'CFBundleIdentifier') !== AGENT_WATCH_BUNDLE_ID || read(plist, 'CFBundleExecutable') !== path.basename(broker)) return false;
53
+ return fs.statSync(broker).ctimeMs > fs.statSync(configPath).mtimeMs;
54
+ } catch { return false; }
55
+ }
56
+
36
57
  const processList = () => execFileSync('/bin/ps', ['-axo', 'args='], { encoding: 'utf8', stdio: ['ignore', 'pipe', 'ignore'], timeout: 5000 });
37
58
 
38
59
  // Whether the Agent Watch app (the broker executable, not one of its
@@ -349,6 +349,9 @@ export function attachMemory(self, manager, agentDir, verify) {
349
349
  export function trackMemoryLessons(self) {
350
350
  self.session.subscribe(event => { try { self.memoryTurn?.checks?.event(event); } catch { /* optional evidence */ } });
351
351
  }
352
+ // Whether this conversation has team memory now: Studio answered memory for
353
+ // this key recently and has not switched it off since (the Terminal's header).
354
+ export const memoryOn = self => !!self?.memory?.stateDir && self.memory.active && TeamMemory.known(self.memory.stateDir, self.origin, memoryScope(self.origin, self.manifest));
352
355
  export const memoryToolsFor = (self, agentDir) => agentDir && TeamMemory.known(agentDir, self.origin, memoryScope(self.origin, self.manifest)) ? memoryTools(self) : [];
353
356
  // A helper (scout, research, verify, review) reads the team memory with its own run token; it never writes.
354
357
  export const helperMemoryTools = (managed, grant, renew) => managed.memory?.stateDir && TeamMemory.known(managed.memory.stateDir, managed.origin, memoryScope(managed.origin, managed.manifest))
@@ -47,6 +47,10 @@ export function wrapRoleStreams(owner, runtime, role, { provider, verifyGrant })
47
47
  try {
48
48
  if (role === 'main' && owner.preflight) throw Error(owner.preflight);
49
49
  if (!owner.grant || model.provider !== provider) throw Error('managed-run-required');
50
+ // Pi asks once more after Stop cut a tool call (its loop goes on
51
+ // with the cancelled result): that ask ends here, without renewing
52
+ // the grant of a run that is about to close.
53
+ if (signal?.aborted) throw Error('managed-request-aborted');
50
54
  // Studio's answer to a failed request is a machine code: say who
51
55
  // failed and why, in words. Only an admission refusal is asked again.
52
56
  // A request the member stopped ended, it did not fail; the provider may
@@ -296,8 +296,8 @@ export class ManagedSession {
296
296
  // the newest version the broker advertises.
297
297
  const features = self.manifest.broker_features ?? [];
298
298
  const process = self.run && features.includes('process') ? self.run.report(currentPlan(manager), features.includes('process-v3') ? 3 : features.includes('process-v2') ? 2 : 1) : null;
299
- try { await self.broker.request('close', process ? { process } : {}); }
300
- catch (error) { if (!process) throw error; await self.broker.request('close'); }
299
+ try { await self.broker.request('close', process ? { process } : {}); } // only a refused report closes again without it; an unconfirmed close fails the turn
300
+ catch (error) { if (!process || String(error?.message) !== 'managed-broker:invalidResponse') throw error; await self.broker.request('close'); }
301
301
  manager.appendCustomEntry('agent-watch-run', { run_id: self.grant.run_id, state: 'closed' });
302
302
  }
303
303
  // A run that could not be closed (the network or Agent Watch went away)
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@piagent/core",
3
- "version": "1.28.2",
3
+ "version": "1.29.0",
4
4
  "type": "module",
5
5
  "private": true,
6
6
  "license": "MIT",