@piagent/platform 1.2.15 → 1.2.17

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 (75) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +3 -3
  3. package/docs/README.md +1 -1
  4. package/docs/command-reference-vietnamese.md +2 -2
  5. package/docs/distribution-standard.md +7 -7
  6. package/docs/model-options.md +1 -1
  7. package/docs/operator-manual-vietnamese.md +7 -7
  8. package/docs/release-install-policy.md +6 -6
  9. package/docs/security-threat-model.md +1 -1
  10. package/docs/team-onboarding.md +2 -2
  11. package/docs/vercel-docs-site.md +7 -5
  12. package/docs-site/architecture.html +12 -6
  13. package/docs-site/assets/docs.css +52 -1
  14. package/docs-site/assets/docs.js +4 -2
  15. package/docs-site/benchmark.html +12 -6
  16. package/docs-site/commands.html +12 -6
  17. package/docs-site/content/en/architecture.html +33 -0
  18. package/docs-site/content/en/benchmark.html +164 -0
  19. package/docs-site/content/en/commands.html +39 -0
  20. package/docs-site/content/en/context-engine.html +30 -0
  21. package/docs-site/content/en/index.html +85 -0
  22. package/docs-site/content/en/mcp-approval.html +74 -0
  23. package/docs-site/content/en/mcp-auth.html +57 -0
  24. package/docs-site/content/en/mcp-servers.html +91 -0
  25. package/docs-site/content/en/mcp.html +90 -0
  26. package/docs-site/content/en/permissions.html +19 -0
  27. package/docs-site/content/en/profiles.html +27 -0
  28. package/docs-site/content/en/quickstart.html +126 -0
  29. package/docs-site/content/en/runtime.html +27 -0
  30. package/docs-site/content/en/scope.html +45 -0
  31. package/docs-site/content/en/security.html +33 -0
  32. package/docs-site/content/en/team.html +14 -0
  33. package/docs-site/content/en/workflows.html +21 -0
  34. package/docs-site/content/quickstart.html +1 -1
  35. package/docs-site/context-engine.html +12 -6
  36. package/docs-site/en/architecture.html +166 -0
  37. package/docs-site/en/benchmark.html +297 -0
  38. package/docs-site/en/commands.html +172 -0
  39. package/docs-site/en/context-engine.html +163 -0
  40. package/docs-site/en/index.html +203 -0
  41. package/docs-site/en/mcp-approval.html +207 -0
  42. package/docs-site/en/mcp-auth.html +190 -0
  43. package/docs-site/en/mcp-servers.html +224 -0
  44. package/docs-site/en/mcp.html +223 -0
  45. package/docs-site/en/permissions.html +152 -0
  46. package/docs-site/en/profiles.html +160 -0
  47. package/docs-site/en/quickstart.html +259 -0
  48. package/docs-site/en/runtime.html +160 -0
  49. package/docs-site/en/scope.html +178 -0
  50. package/docs-site/en/security.html +166 -0
  51. package/docs-site/en/team.html +143 -0
  52. package/docs-site/en/workflows.html +154 -0
  53. package/docs-site/index.html +12 -6
  54. package/docs-site/mcp-approval.html +12 -6
  55. package/docs-site/mcp-auth.html +12 -6
  56. package/docs-site/mcp-servers.html +12 -6
  57. package/docs-site/mcp.html +12 -6
  58. package/docs-site/permissions.html +12 -6
  59. package/docs-site/profiles.html +12 -6
  60. package/docs-site/quickstart.html +13 -7
  61. package/docs-site/runtime.html +12 -6
  62. package/docs-site/scope.html +12 -6
  63. package/docs-site/security.html +12 -6
  64. package/docs-site/team.html +12 -6
  65. package/docs-site/workflows.html +12 -6
  66. package/package.json +1 -1
  67. package/packages/piagent-core/package.json +1 -1
  68. package/scripts/build-docs-site.mjs +224 -50
  69. package/scripts/configure-model-scope.sh +4 -4
  70. package/scripts/install-global.sh +1 -1
  71. package/scripts/setup.sh +2 -2
  72. package/scripts/verify-local.sh +7 -1
  73. package/scripts/verify-release-identity.mjs +15 -6
  74. package/templates/global/settings.json +2 -2
  75. package/templates/project/.pi/settings.json +1 -1
@@ -1,5 +1,5 @@
1
1
  <!doctype html>
2
- <html lang="vi">
2
+ <html lang="vi" data-copy-success="Đã lấy" data-copy-fallback="Chọn lệnh">
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
@@ -7,6 +7,9 @@
7
7
  <meta name="description" content="Nhóm command này chạy ngoài slash command, dùng cho setup, doctor, benchmark, capability và MCP." />
8
8
  <meta name="theme-color" content="#050505" />
9
9
  <link rel="canonical" href="https://piagent.io.vn/runtime" />
10
+ <link rel="alternate" hreflang="vi" href="https://piagent.io.vn/runtime" />
11
+ <link rel="alternate" hreflang="en" href="https://piagent.io.vn/en/runtime" />
12
+ <link rel="alternate" hreflang="x-default" href="https://piagent.io.vn/runtime" />
10
13
  <link rel="icon" href="/favicon.svg" type="image/svg+xml" />
11
14
  <meta property="og:title" content="Terminal commands cho operator · Pi Agent Platform Docs" />
12
15
  <meta property="og:description" content="Nhóm command này chạy ngoài slash command, dùng cho setup, doctor, benchmark, capability và MCP." />
@@ -27,8 +30,11 @@
27
30
  <span>Pi Agent Platform</span>
28
31
  </a>
29
32
  <div class="top-actions">
30
- <span class="pill"><span class="pill-dot"></span>v1.2.15 docs · VI</span>
31
- <a class="button" href="https://github.com/Vt-mmm/piagent/blob/main/docs/en/README.md" lang="en" target="_blank" rel="noopener noreferrer">English docs</a>
33
+ <span class="pill"><span class="pill-dot"></span>v1.2.17 docs · VI</span>
34
+ <nav class="language-switch" aria-label="Ngôn ngữ">
35
+ <a class="language-option current" href="/runtime" hreflang="vi" lang="vi" aria-current="true">VI</a>
36
+ <a class="language-option" href="/en/runtime" hreflang="en" lang="en">EN</a>
37
+ </nav>
32
38
  <a class="button social" href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer" aria-label="Mở GitHub repository">
33
39
  <svg viewBox="0 0 24 24" fill="none" aria-hidden="true">
34
40
  <path d="M7 17 17 7M9 7h8v8" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
@@ -36,7 +42,7 @@
36
42
  GitHub
37
43
  </a>
38
44
  <button class="button mobile-menu" type="button" data-menu>Lộ trình</button>
39
- <a class="button" href="/commands">Commands</a>
45
+ <a class="button top-command-link" href="/commands">Commands</a>
40
46
  </div>
41
47
  </header>
42
48
 
@@ -169,10 +175,10 @@ npm run typecheck</code></pre>
169
175
 
170
176
  <footer class="footer">
171
177
  <p>Pi Agent Platform docs · static HTML · governed agent workflow</p>
172
- <div class="footer-links" aria-label="External links">
178
+ <div class="footer-links" aria-label="Liên kết ngoài">
173
179
  <a href="https://piagent.io.vn" target="_blank" rel="noopener noreferrer">piagent.io.vn</a>
174
180
  <a href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer">GitHub repository</a>
175
- <a href="https://github.com/Vt-mmm/piagent/blob/main/docs/en/README.md" lang="en" target="_blank" rel="noopener noreferrer">English docs</a>
181
+ <a href="/en/runtime" hreflang="en">English</a>
176
182
  <a href="https://www.facebook.com/vinhtam0544/" target="_blank" rel="noopener noreferrer">Facebook profile</a>
177
183
  </div>
178
184
  </footer>
@@ -1,5 +1,5 @@
1
1
  <!doctype html>
2
- <html lang="vi">
2
+ <html lang="vi" data-copy-success="Đã lấy" data-copy-fallback="Chọn lệnh">
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
@@ -7,6 +7,9 @@
7
7
  <meta name="description" content="Agent coding CLI nào cũng đã có cơ chế governance riêng. Platform này không thay thế lớp đó — nó đóng gói một cách vận hành cụ thể trên Pi để mọi repo dùng lại." />
8
8
  <meta name="theme-color" content="#050505" />
9
9
  <link rel="canonical" href="https://piagent.io.vn/scope" />
10
+ <link rel="alternate" hreflang="vi" href="https://piagent.io.vn/scope" />
11
+ <link rel="alternate" hreflang="en" href="https://piagent.io.vn/en/scope" />
12
+ <link rel="alternate" hreflang="x-default" href="https://piagent.io.vn/scope" />
10
13
  <link rel="icon" href="/favicon.svg" type="image/svg+xml" />
11
14
  <meta property="og:title" content="Platform này nhận phần nào về mình · Pi Agent Platform Docs" />
12
15
  <meta property="og:description" content="Agent coding CLI nào cũng đã có cơ chế governance riêng. Platform này không thay thế lớp đó — nó đóng gói một cách vận hành cụ thể trên Pi để mọi repo dùng lại." />
@@ -27,8 +30,11 @@
27
30
  <span>Pi Agent Platform</span>
28
31
  </a>
29
32
  <div class="top-actions">
30
- <span class="pill"><span class="pill-dot"></span>v1.2.15 docs · VI</span>
31
- <a class="button" href="https://github.com/Vt-mmm/piagent/blob/main/docs/en/README.md" lang="en" target="_blank" rel="noopener noreferrer">English docs</a>
33
+ <span class="pill"><span class="pill-dot"></span>v1.2.17 docs · VI</span>
34
+ <nav class="language-switch" aria-label="Ngôn ngữ">
35
+ <a class="language-option current" href="/scope" hreflang="vi" lang="vi" aria-current="true">VI</a>
36
+ <a class="language-option" href="/en/scope" hreflang="en" lang="en">EN</a>
37
+ </nav>
32
38
  <a class="button social" href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer" aria-label="Mở GitHub repository">
33
39
  <svg viewBox="0 0 24 24" fill="none" aria-hidden="true">
34
40
  <path d="M7 17 17 7M9 7h8v8" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
@@ -36,7 +42,7 @@
36
42
  GitHub
37
43
  </a>
38
44
  <button class="button mobile-menu" type="button" data-menu>Lộ trình</button>
39
- <a class="button" href="/commands">Commands</a>
45
+ <a class="button top-command-link" href="/commands">Commands</a>
40
46
  </div>
41
47
  </header>
42
48
 
@@ -179,10 +185,10 @@
179
185
 
180
186
  <footer class="footer">
181
187
  <p>Pi Agent Platform docs · static HTML · governed agent workflow</p>
182
- <div class="footer-links" aria-label="External links">
188
+ <div class="footer-links" aria-label="Liên kết ngoài">
183
189
  <a href="https://piagent.io.vn" target="_blank" rel="noopener noreferrer">piagent.io.vn</a>
184
190
  <a href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer">GitHub repository</a>
185
- <a href="https://github.com/Vt-mmm/piagent/blob/main/docs/en/README.md" lang="en" target="_blank" rel="noopener noreferrer">English docs</a>
191
+ <a href="/en/scope" hreflang="en">English</a>
186
192
  <a href="https://www.facebook.com/vinhtam0544/" target="_blank" rel="noopener noreferrer">Facebook profile</a>
187
193
  </div>
188
194
  </footer>
@@ -1,5 +1,5 @@
1
1
  <!doctype html>
2
- <html lang="vi">
2
+ <html lang="vi" data-copy-success="Đã lấy" data-copy-fallback="Chọn lệnh">
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
@@ -7,6 +7,9 @@
7
7
  <meta name="description" content="Platform ưu tiên fail-closed trong bề mặt tool được kiểm soát: khi lock sai, profile sai hoặc bằng chứng thiếu thì chặn, không đoán." />
8
8
  <meta name="theme-color" content="#050505" />
9
9
  <link rel="canonical" href="https://piagent.io.vn/security" />
10
+ <link rel="alternate" hreflang="vi" href="https://piagent.io.vn/security" />
11
+ <link rel="alternate" hreflang="en" href="https://piagent.io.vn/en/security" />
12
+ <link rel="alternate" hreflang="x-default" href="https://piagent.io.vn/security" />
10
13
  <link rel="icon" href="/favicon.svg" type="image/svg+xml" />
11
14
  <meta property="og:title" content="Policy enforcement layer, không phải OS sandbox · Pi Agent Platform Docs" />
12
15
  <meta property="og:description" content="Platform ưu tiên fail-closed trong bề mặt tool được kiểm soát: khi lock sai, profile sai hoặc bằng chứng thiếu thì chặn, không đoán." />
@@ -27,8 +30,11 @@
27
30
  <span>Pi Agent Platform</span>
28
31
  </a>
29
32
  <div class="top-actions">
30
- <span class="pill"><span class="pill-dot"></span>v1.2.15 docs · VI</span>
31
- <a class="button" href="https://github.com/Vt-mmm/piagent/blob/main/docs/en/README.md" lang="en" target="_blank" rel="noopener noreferrer">English docs</a>
33
+ <span class="pill"><span class="pill-dot"></span>v1.2.17 docs · VI</span>
34
+ <nav class="language-switch" aria-label="Ngôn ngữ">
35
+ <a class="language-option current" href="/security" hreflang="vi" lang="vi" aria-current="true">VI</a>
36
+ <a class="language-option" href="/en/security" hreflang="en" lang="en">EN</a>
37
+ </nav>
32
38
  <a class="button social" href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer" aria-label="Mở GitHub repository">
33
39
  <svg viewBox="0 0 24 24" fill="none" aria-hidden="true">
34
40
  <path d="M7 17 17 7M9 7h8v8" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
@@ -36,7 +42,7 @@
36
42
  GitHub
37
43
  </a>
38
44
  <button class="button mobile-menu" type="button" data-menu>Lộ trình</button>
39
- <a class="button" href="/commands">Commands</a>
45
+ <a class="button top-command-link" href="/commands">Commands</a>
40
46
  </div>
41
47
  </header>
42
48
 
@@ -160,10 +166,10 @@
160
166
 
161
167
  <footer class="footer">
162
168
  <p>Pi Agent Platform docs · static HTML · governed agent workflow</p>
163
- <div class="footer-links" aria-label="External links">
169
+ <div class="footer-links" aria-label="Liên kết ngoài">
164
170
  <a href="https://piagent.io.vn" target="_blank" rel="noopener noreferrer">piagent.io.vn</a>
165
171
  <a href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer">GitHub repository</a>
166
- <a href="https://github.com/Vt-mmm/piagent/blob/main/docs/en/README.md" lang="en" target="_blank" rel="noopener noreferrer">English docs</a>
172
+ <a href="/en/security" hreflang="en">English</a>
167
173
  <a href="https://www.facebook.com/vinhtam0544/" target="_blank" rel="noopener noreferrer">Facebook profile</a>
168
174
  </div>
169
175
  </footer>
@@ -1,5 +1,5 @@
1
1
  <!doctype html>
2
- <html lang="vi">
2
+ <html lang="vi" data-copy-success="Đã lấy" data-copy-fallback="Chọn lệnh">
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
@@ -7,6 +7,9 @@
7
7
  <meta name="description" content="Mỗi repo chỉ cần link package, chọn profile đúng và giữ tài liệu project-specific ở repo của dự án đó." />
8
8
  <meta name="theme-color" content="#050505" />
9
9
  <link rel="canonical" href="https://piagent.io.vn/team" />
10
+ <link rel="alternate" hreflang="vi" href="https://piagent.io.vn/team" />
11
+ <link rel="alternate" hreflang="en" href="https://piagent.io.vn/en/team" />
12
+ <link rel="alternate" hreflang="x-default" href="https://piagent.io.vn/team" />
10
13
  <link rel="icon" href="/favicon.svg" type="image/svg+xml" />
11
14
  <meta property="og:title" content="Team nên dùng như một chuẩn vận hành · Pi Agent Platform Docs" />
12
15
  <meta property="og:description" content="Mỗi repo chỉ cần link package, chọn profile đúng và giữ tài liệu project-specific ở repo của dự án đó." />
@@ -27,8 +30,11 @@
27
30
  <span>Pi Agent Platform</span>
28
31
  </a>
29
32
  <div class="top-actions">
30
- <span class="pill"><span class="pill-dot"></span>v1.2.15 docs · VI</span>
31
- <a class="button" href="https://github.com/Vt-mmm/piagent/blob/main/docs/en/README.md" lang="en" target="_blank" rel="noopener noreferrer">English docs</a>
33
+ <span class="pill"><span class="pill-dot"></span>v1.2.17 docs · VI</span>
34
+ <nav class="language-switch" aria-label="Ngôn ngữ">
35
+ <a class="language-option current" href="/team" hreflang="vi" lang="vi" aria-current="true">VI</a>
36
+ <a class="language-option" href="/en/team" hreflang="en" lang="en">EN</a>
37
+ </nav>
32
38
  <a class="button social" href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer" aria-label="Mở GitHub repository">
33
39
  <svg viewBox="0 0 24 24" fill="none" aria-hidden="true">
34
40
  <path d="M7 17 17 7M9 7h8v8" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
@@ -36,7 +42,7 @@
36
42
  GitHub
37
43
  </a>
38
44
  <button class="button mobile-menu" type="button" data-menu>Lộ trình</button>
39
- <a class="button" href="/commands">Commands</a>
45
+ <a class="button top-command-link" href="/commands">Commands</a>
40
46
  </div>
41
47
  </header>
42
48
 
@@ -127,10 +133,10 @@
127
133
 
128
134
  <footer class="footer">
129
135
  <p>Pi Agent Platform docs · static HTML · governed agent workflow</p>
130
- <div class="footer-links" aria-label="External links">
136
+ <div class="footer-links" aria-label="Liên kết ngoài">
131
137
  <a href="https://piagent.io.vn" target="_blank" rel="noopener noreferrer">piagent.io.vn</a>
132
138
  <a href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer">GitHub repository</a>
133
- <a href="https://github.com/Vt-mmm/piagent/blob/main/docs/en/README.md" lang="en" target="_blank" rel="noopener noreferrer">English docs</a>
139
+ <a href="/en/team" hreflang="en">English</a>
134
140
  <a href="https://www.facebook.com/vinhtam0544/" target="_blank" rel="noopener noreferrer">Facebook profile</a>
135
141
  </div>
136
142
  </footer>
@@ -1,5 +1,5 @@
1
1
  <!doctype html>
2
- <html lang="vi">
2
+ <html lang="vi" data-copy-success="Đã lấy" data-copy-fallback="Chọn lệnh">
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
@@ -7,6 +7,9 @@
7
7
  <meta name="description" content="Chọn workflow theo intent thay vì mô tả lại policy trong prompt. Cách này giảm context lãng phí và giữ hành vi nhất quán." />
8
8
  <meta name="theme-color" content="#050505" />
9
9
  <link rel="canonical" href="https://piagent.io.vn/workflows" />
10
+ <link rel="alternate" hreflang="vi" href="https://piagent.io.vn/workflows" />
11
+ <link rel="alternate" hreflang="en" href="https://piagent.io.vn/en/workflows" />
12
+ <link rel="alternate" hreflang="x-default" href="https://piagent.io.vn/workflows" />
10
13
  <link rel="icon" href="/favicon.svg" type="image/svg+xml" />
11
14
  <meta property="og:title" content="Các luồng chính · Pi Agent Platform Docs" />
12
15
  <meta property="og:description" content="Chọn workflow theo intent thay vì mô tả lại policy trong prompt. Cách này giảm context lãng phí và giữ hành vi nhất quán." />
@@ -27,8 +30,11 @@
27
30
  <span>Pi Agent Platform</span>
28
31
  </a>
29
32
  <div class="top-actions">
30
- <span class="pill"><span class="pill-dot"></span>v1.2.15 docs · VI</span>
31
- <a class="button" href="https://github.com/Vt-mmm/piagent/blob/main/docs/en/README.md" lang="en" target="_blank" rel="noopener noreferrer">English docs</a>
33
+ <span class="pill"><span class="pill-dot"></span>v1.2.17 docs · VI</span>
34
+ <nav class="language-switch" aria-label="Ngôn ngữ">
35
+ <a class="language-option current" href="/workflows" hreflang="vi" lang="vi" aria-current="true">VI</a>
36
+ <a class="language-option" href="/en/workflows" hreflang="en" lang="en">EN</a>
37
+ </nav>
32
38
  <a class="button social" href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer" aria-label="Mở GitHub repository">
33
39
  <svg viewBox="0 0 24 24" fill="none" aria-hidden="true">
34
40
  <path d="M7 17 17 7M9 7h8v8" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
@@ -36,7 +42,7 @@
36
42
  GitHub
37
43
  </a>
38
44
  <button class="button mobile-menu" type="button" data-menu>Lộ trình</button>
39
- <a class="button" href="/commands">Commands</a>
45
+ <a class="button top-command-link" href="/commands">Commands</a>
40
46
  </div>
41
47
  </header>
42
48
 
@@ -155,10 +161,10 @@
155
161
 
156
162
  <footer class="footer">
157
163
  <p>Pi Agent Platform docs · static HTML · governed agent workflow</p>
158
- <div class="footer-links" aria-label="External links">
164
+ <div class="footer-links" aria-label="Liên kết ngoài">
159
165
  <a href="https://piagent.io.vn" target="_blank" rel="noopener noreferrer">piagent.io.vn</a>
160
166
  <a href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer">GitHub repository</a>
161
- <a href="https://github.com/Vt-mmm/piagent/blob/main/docs/en/README.md" lang="en" target="_blank" rel="noopener noreferrer">English docs</a>
167
+ <a href="/en/workflows" hreflang="en">English</a>
162
168
  <a href="https://www.facebook.com/vinhtam0544/" target="_blank" rel="noopener noreferrer">Facebook profile</a>
163
169
  </div>
164
170
  </footer>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@piagent/platform",
3
- "version": "1.2.15",
3
+ "version": "1.2.17",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@piagent/core",
3
- "version": "1.2.15",
3
+ "version": "1.2.17",
4
4
  "type": "module",
5
5
  "private": true,
6
6
  "license": "MIT",