@piagent/platform 1.41.0 → 1.42.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/CHANGELOG.md +1020 -2038
- package/CONTRIBUTING.md +2 -0
- package/README.md +128 -325
- package/README.vi.md +149 -143
- package/docs/command-reference-vietnamese.md +2 -2
- package/docs/distribution-standard.md +6 -6
- package/docs/languages.json +2 -2
- package/docs/operator-manual-vietnamese.md +7 -7
- package/docs/publishing-for-teams.md +2 -0
- package/docs/release-install-policy.md +3 -3
- package/docs/team-onboarding.md +2 -2
- package/docs-site/architecture.html +71 -63
- package/docs-site/assets/docs.css +2736 -1030
- package/docs-site/assets/docs.js +451 -43
- package/docs-site/assets/og.png +0 -0
- package/docs-site/assets/piagent-logo.svg +9 -31
- package/docs-site/assets/search-en.json +1 -0
- package/docs-site/assets/search-vi.json +1 -0
- package/docs-site/benchmark.html +71 -63
- package/docs-site/commands.html +72 -64
- package/docs-site/content/en/index.html +220 -131
- package/docs-site/content/en/quickstart.html +74 -90
- package/docs-site/content/en/update.html +80 -0
- package/docs-site/content/en/whats-new.html +1 -684
- package/docs-site/content/index.html +220 -131
- package/docs-site/content/quickstart.html +73 -108
- package/docs-site/content/update.html +80 -0
- package/docs-site/content/whats-new.html +1 -684
- package/docs-site/context-engine.html +73 -65
- package/docs-site/ecosystem.html +73 -65
- package/docs-site/en/architecture.html +67 -59
- package/docs-site/en/benchmark.html +67 -59
- package/docs-site/en/commands.html +68 -60
- package/docs-site/en/context-engine.html +68 -60
- package/docs-site/en/ecosystem.html +68 -60
- package/docs-site/en/index.html +281 -220
- package/docs-site/en/mcp-approval.html +67 -59
- package/docs-site/en/mcp-auth.html +67 -59
- package/docs-site/en/mcp-servers.html +68 -60
- package/docs-site/en/mcp.html +64 -56
- package/docs-site/en/permissions.html +68 -60
- package/docs-site/en/profiles.html +68 -60
- package/docs-site/en/quickstart.html +142 -150
- package/docs-site/en/runtime.html +67 -59
- package/docs-site/en/scope.html +68 -60
- package/docs-site/en/security.html +64 -56
- package/docs-site/en/team.html +67 -59
- package/docs-site/en/update.html +228 -0
- package/docs-site/en/whats-new.html +1612 -725
- package/docs-site/en/windows.html +71 -63
- package/docs-site/en/workflows.html +68 -60
- package/docs-site/favicon.svg +9 -14
- package/docs-site/index.html +281 -220
- package/docs-site/mcp-approval.html +70 -62
- package/docs-site/mcp-auth.html +70 -62
- package/docs-site/mcp-servers.html +71 -63
- package/docs-site/mcp.html +70 -62
- package/docs-site/permissions.html +72 -64
- package/docs-site/profiles.html +72 -64
- package/docs-site/quickstart.html +145 -172
- package/docs-site/releases.json +4485 -0
- package/docs-site/runtime.html +73 -65
- package/docs-site/scope.html +73 -65
- package/docs-site/security.html +73 -65
- package/docs-site/team.html +71 -63
- package/docs-site/update.html +228 -0
- package/docs-site/whats-new.html +1616 -729
- package/docs-site/windows.html +75 -67
- package/docs-site/workflows.html +73 -65
- package/evals/private-holdout-v1/public-exposure.v2.json +1 -1
- package/package.json +1 -1
- package/packages/piagent-core/managed/dist/workspace/manifest.json +1 -1
- package/packages/piagent-core/managed/dist/workspace/worker.mjs +1 -1
- package/packages/piagent-core/package.json +1 -1
- package/packages/piagent-core/security/workspace-file-reader.ts +3 -1
- package/packages/piagent-webui/dist/client/assets/ActivityPanel-DRAiHliI.js +1 -0
- package/packages/piagent-webui/dist/client/assets/App-JMuP_9-r.js +5 -0
- package/packages/piagent-webui/dist/client/assets/GatewayApp-awcOLVTi.js +93 -0
- package/packages/piagent-webui/dist/client/assets/InspectionApp-DtDc9NxN.js +1 -0
- package/packages/piagent-webui/dist/client/assets/LineReview-DZ9ez8kO.js +3 -0
- package/packages/piagent-webui/dist/client/assets/{MarkdownMessage-DeLo-xiz.js → MarkdownMessage-D7bbIWJe.js} +2 -2
- package/packages/piagent-webui/dist/client/assets/SessionAgentWorkspace-DLwK12hX.js +1 -0
- package/packages/piagent-webui/dist/client/assets/SessionInspectorDrawer-CsPNI6aU.js +2 -0
- package/packages/piagent-webui/dist/client/assets/SettingsNavigation-CM0s3QUC.js +3 -0
- package/packages/piagent-webui/dist/client/assets/SettingsPage-Cr6M2FVg.js +1 -0
- package/packages/piagent-webui/dist/client/assets/TerminalPanel-A78JVp4e.js +2 -0
- package/packages/piagent-webui/dist/client/assets/{TerminalView-r9rG24IO.js → TerminalView-CR4TO5f1.js} +3 -3
- package/packages/piagent-webui/dist/client/assets/WorkspaceCodeEditor-DPOp-ZoD.js +2 -0
- package/packages/piagent-webui/dist/client/assets/WorkspaceExplorer-H8Ogln3d.js +5 -0
- package/packages/piagent-webui/dist/client/assets/WorkspaceQuickOpen-vQ5DqfJl.js +1 -0
- package/packages/piagent-webui/dist/client/assets/api-BUjrtT1B.js +1 -0
- package/packages/piagent-webui/dist/client/assets/composer-drafts-BtMaVw8W.js +1 -0
- package/packages/piagent-webui/dist/client/assets/index-Dqb2hNan.css +1 -0
- package/packages/piagent-webui/dist/client/assets/index-qi6mjvTy.js +37 -0
- package/packages/piagent-webui/dist/client/assets/latest-request-DXcYQW86.js +1 -0
- package/packages/piagent-webui/dist/client/assets/tab-close-DHDqCxTL.js +1 -0
- package/packages/piagent-webui/dist/client/assets/terminal-transport-Dk5pYNX5.js +1 -0
- package/packages/piagent-webui/dist/client/assets/transcript-view-model-BNGQCkzY.js +3 -0
- package/packages/piagent-webui/dist/client/assets/ui-preferences-Dy4qeODT.js +1 -0
- package/packages/piagent-webui/dist/client/assets/vendor-CA5pzJiI.js +136 -0
- package/packages/piagent-webui/dist/client/assets/view-model-CWNiS4JN.js +1 -0
- package/packages/piagent-webui/dist/client/assets/workspace-navigation-C8GtShbg.js +1 -0
- package/packages/piagent-webui/dist/client/index.html +4 -9
- package/packages/piagent-webui/gateway/signed-session-journal.ts +16 -6
- package/packages/piagent-webui/server/loopback-server.ts +19 -5
- package/packages/piagent-webui/server/static-bundle.ts +10 -2
- package/scripts/build-docs-site.mjs +205 -348
- package/scripts/check-public-wording.mjs +2 -1
- package/scripts/docs-site-icons.mjs +84 -0
- package/scripts/docs-site-nav.mjs +302 -0
- package/scripts/docs-site-releases.mjs +227 -0
- package/scripts/verify-local.sh +17 -1
- package/packages/piagent-webui/dist/client/assets/Alert-DGWhP2MM.js +0 -1
- package/packages/piagent-webui/dist/client/assets/Button-QItfZUNj.js +0 -1
- package/packages/piagent-webui/dist/client/assets/DialogTitle-CyaFPaiW.js +0 -3
- package/packages/piagent-webui/dist/client/assets/TerminalPanel-BG-DP_qm.js +0 -2
- package/packages/piagent-webui/dist/client/assets/Typography-B9om7Evq.js +0 -1
- package/packages/piagent-webui/dist/client/assets/WorkspaceCodeEditor-BnqaR3pK.js +0 -2
- package/packages/piagent-webui/dist/client/assets/WorkspaceExplorer-BIxwiGtl.js +0 -5
- package/packages/piagent-webui/dist/client/assets/WorkspaceQuickOpen-CK3dILhQ.js +0 -1
- package/packages/piagent-webui/dist/client/assets/index-DBUTrEXi.css +0 -1
- package/packages/piagent-webui/dist/client/assets/index-rlyRccut.js +0 -102
- package/packages/piagent-webui/dist/client/assets/tab-close-BoJRyBO_.js +0 -1
- package/packages/piagent-webui/dist/client/assets/ui-preferences-BO3AV7QE.js +0 -10
- package/packages/piagent-webui/dist/client/assets/useId-DEefKUAT.js +0 -124
|
@@ -1,108 +1,109 @@
|
|
|
1
1
|
<!doctype html>
|
|
2
|
-
<html lang="vi" data-copy-success="Đã lấy" data-copy-fallback="Chọn lệnh">
|
|
2
|
+
<html lang="vi" data-copy-success="Đã lấy" data-copy-fallback="Chọn lệnh" data-copy-label="Sao chép">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
-
<title
|
|
7
|
-
<meta name="description" content="Permission mode
|
|
8
|
-
<meta name="theme-color" content="#
|
|
6
|
+
<title>Đổi quyền theo task bằng một lệnh · Pi Agent Platform</title>
|
|
7
|
+
<meta name="description" content="Permission mode chỉ áp dụng cho session hiện tại. Đổi mode không sửa project profile." />
|
|
8
|
+
<meta name="theme-color" content="#09090b" media="(prefers-color-scheme: dark)" />
|
|
9
|
+
<meta name="theme-color" content="#fbfbf9" media="(prefers-color-scheme: light)" />
|
|
9
10
|
<link rel="canonical" href="https://piagent.io.vn/permissions" />
|
|
10
11
|
<link rel="alternate" hreflang="vi" href="https://piagent.io.vn/permissions" />
|
|
11
12
|
<link rel="alternate" hreflang="en" href="https://piagent.io.vn/en/permissions" />
|
|
12
13
|
<link rel="alternate" hreflang="x-default" href="https://piagent.io.vn/permissions" />
|
|
13
14
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
|
14
|
-
<meta property="og:
|
|
15
|
-
<meta property="og:
|
|
15
|
+
<meta property="og:type" content="website" />
|
|
16
|
+
<meta property="og:title" content="Đổi quyền theo task bằng một lệnh · Pi Agent Platform" />
|
|
17
|
+
<meta property="og:description" content="Permission mode chỉ áp dụng cho session hiện tại. Đổi mode không sửa project profile." />
|
|
16
18
|
<meta property="og:url" content="https://piagent.io.vn/permissions" />
|
|
19
|
+
<meta property="og:image" content="https://piagent.io.vn/assets/og.png" />
|
|
20
|
+
<meta name="twitter:card" content="summary_large_image" />
|
|
21
|
+
<script>try{var t=localStorage.getItem("piagent-docs-theme");if(t==="light"||t==="dark")document.documentElement.dataset.theme=t}catch(e){}</script>
|
|
17
22
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
18
23
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
19
24
|
<link
|
|
20
|
-
href="https://fonts.googleapis.com/css2?family=
|
|
25
|
+
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;550;600;650;700;750&family=JetBrains+Mono:wght@400;500;600;700&display=swap"
|
|
21
26
|
rel="stylesheet"
|
|
22
27
|
/>
|
|
23
28
|
<link rel="stylesheet" href="/assets/docs.css" />
|
|
24
29
|
<script src="/assets/docs.js" defer></script>
|
|
25
30
|
</head>
|
|
26
31
|
<body>
|
|
32
|
+
<svg width="0" height="0" style="position:absolute" aria-hidden="true"><symbol id="icon-branch" viewBox="0 0 24 24"><circle cx="6" cy="5.5" r="2"/><circle cx="6" cy="18.5" r="2"/><circle cx="18" cy="7.5" r="2"/><path d="M6 7.5v9M18 9.5c0 4.5-5 4-11 7.5"/></symbol><symbol id="icon-chart" viewBox="0 0 24 24"><path d="M4 4v16h16"/><path d="M8.5 16v-5M12.5 16V8M16.5 16v-3"/></symbol><symbol id="icon-cpu" viewBox="0 0 24 24"><rect x="6" y="6" width="12" height="12" rx="2"/><rect x="9.5" y="9.5" width="5" height="5" rx=".8"/><path d="M9 2.5V6M15 2.5V6M9 18v3.5M15 18v3.5M2.5 9H6M2.5 15H6M18 9h3.5M18 15h3.5"/></symbol><symbol id="icon-edit" viewBox="0 0 24 24"><path d="M4 20h4L19 9l-4-4L4 16z"/><path d="m13.5 6.5 4 4"/></symbol><symbol id="icon-github" viewBox="0 0 24 24"><path d="M9 19c-4.5 1.5-4.5-2.5-6.5-3m13 6v-3.5a3 3 0 0 0-.9-2.4c3-.3 6.4-1.5 6.4-6.7a5.2 5.2 0 0 0-1.4-3.6 4.8 4.8 0 0 0-.1-3.6s-1.1-.3-3.7 1.4a12.6 12.6 0 0 0-6.6 0C6.6 1.9 5.5 2.2 5.5 2.2a4.8 4.8 0 0 0-.1 3.6A5.2 5.2 0 0 0 4 9.4c0 5.2 3.4 6.4 6.4 6.7a3 3 0 0 0-.9 2.4V22"/></symbol><symbol id="icon-hash" viewBox="0 0 24 24"><path d="M5 9h15M4 15h15M10 3 8 21M16 3l-2 18"/></symbol><symbol id="icon-home" viewBox="0 0 24 24"><path d="M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z"/></symbol><symbol id="icon-key" viewBox="0 0 24 24"><circle cx="8" cy="15" r="4"/><path d="m10.9 12.1 8.6-8.6M16.5 6.5l2.5 2.5M14 9l2 2"/></symbol><symbol id="icon-layers" viewBox="0 0 24 24"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/><path d="m3 17.5 9 5 9-5" opacity=".55"/></symbol><symbol id="icon-lock" viewBox="0 0 24 24"><rect x="4" y="11" width="16" height="10" rx="2"/><path d="M8 11V7a4 4 0 0 1 8 0v4"/></symbol><symbol id="icon-menu" viewBox="0 0 24 24"><path d="M4 7h16M4 12h16M4 17h16"/></symbol><symbol id="icon-moon" viewBox="0 0 24 24"><path d="M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5z"/></symbol><symbol id="icon-network" viewBox="0 0 24 24"><circle cx="12" cy="5" r="2.5"/><circle cx="5" cy="19" r="2.5"/><circle cx="19" cy="19" r="2.5"/><path d="M12 7.5V12m0 0-5.2 5.2M12 12l5.2 5.2"/></symbol><symbol id="icon-plug" viewBox="0 0 24 24"><path d="M9 3v4M15 3v4M6 7h12v4a6 6 0 0 1-12 0zM12 17v4"/></symbol><symbol id="icon-refresh" viewBox="0 0 24 24"><path d="M20 11A8 8 0 0 0 5.3 6.7M4 3v4h4"/><path d="M4 13a8 8 0 0 0 14.7 4.3M20 21v-4h-4"/></symbol><symbol id="icon-rocket" viewBox="0 0 24 24"><path d="M5.5 15.5C4 17 3.5 19.5 3.5 20.5c1 0 3.5-.5 5-2"/><path d="M9 15 6.5 12.5C8 8.5 11.5 4.5 20 4c-.5 8.5-4.5 12-8.5 13.5z"/><circle cx="14.5" cy="9.5" r="1.5"/></symbol><symbol id="icon-search" viewBox="0 0 24 24"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></symbol><symbol id="icon-server" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="7" rx="2"/><rect x="3" y="13" width="18" height="7" rx="2"/><path d="M7 7.5h.01M7 16.5h.01"/></symbol><symbol id="icon-shield" viewBox="0 0 24 24"><path d="M12 3 4.5 6v5.5c0 4.8 3.2 8.2 7.5 9.5 4.3-1.3 7.5-4.7 7.5-9.5V6z"/></symbol><symbol id="icon-shield-check" viewBox="0 0 24 24"><path d="M12 3 4.5 6v5.5c0 4.8 3.2 8.2 7.5 9.5 4.3-1.3 7.5-4.7 7.5-9.5V6z"/><path d="m9 12 2.2 2.2L15.5 10"/></symbol><symbol id="icon-sliders" viewBox="0 0 24 24"><path d="M4 7h9M17 7h3M4 17h3M11 17h9"/><circle cx="15" cy="7" r="2"/><circle cx="9" cy="17" r="2"/></symbol><symbol id="icon-sparkles" viewBox="0 0 24 24"><path d="M11 3c.6 4.6 2.4 6.4 7 7-4.6.6-6.4 2.4-7 7-.6-4.6-2.4-6.4-7-7 4.6-.6 6.4-2.4 7-7z"/><path d="M19 15v5M16.5 17.5h5"/></symbol><symbol id="icon-sun" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4"/><path d="M12 2.5v2M12 19.5v2M4.6 4.6 6 6M18 18l1.4 1.4M2.5 12h2M19.5 12h2M4.6 19.4 6 18M18 6l1.4-1.4"/></symbol><symbol id="icon-target" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><circle cx="12" cy="12" r="5"/><circle cx="12" cy="12" r="1"/></symbol><symbol id="icon-terminal" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="2.5"/><path d="m7.5 9.5 3 2.5-3 2.5M13 15h4"/></symbol><symbol id="icon-users" viewBox="0 0 24 24"><circle cx="9" cy="8" r="3.5"/><path d="M2.5 20a6.5 6.5 0 0 1 13 0"/><path d="M16 4.5a3.5 3.5 0 0 1 0 7M18 14a6 6 0 0 1 3.5 6"/></symbol><symbol id="icon-windows" viewBox="0 0 24 24"><path d="M3.5 5.5 10.5 4.5v7h-7zM13 4.2 20.5 3v8.5H13zM3.5 13h7v7l-7-1zM13 13h7.5v8.5L13 20.3z"/></symbol><symbol id="icon-wrench" viewBox="0 0 24 24"><path d="M15 6.5a4.5 4.5 0 0 1-6 6l-5 5L6.5 20l5-5a4.5 4.5 0 0 0 6-6L15 11.5l-2.5-2.5z"/></symbol></svg>
|
|
33
|
+
<a class="skip-link" href="#content">Tới nội dung</a>
|
|
27
34
|
<header class="topbar">
|
|
35
|
+
<button class="icon-button mobile-menu" type="button" data-menu aria-label="Mở menu tài liệu"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-menu"/></svg></button>
|
|
28
36
|
<a class="brand" href="/" aria-label="Pi Agent Platform">
|
|
29
|
-
<span class="brand-mark"><img src="/assets/piagent-logo.svg" alt="" /></span>
|
|
30
|
-
<span>
|
|
37
|
+
<span class="brand-mark"><img src="/assets/piagent-logo.svg" alt="" width="28" height="28" /></span>
|
|
38
|
+
<span class="brand-name"><b>Piagent</b> <span>Platform</span></span>
|
|
31
39
|
</a>
|
|
40
|
+
<a class="version-badge" href="/whats-new" data-docs-version="v1.42.1" title="v1.42.1 docs · VI"><span class="dot"></span>v1.42.1</a>
|
|
41
|
+
<nav class="top-nav" aria-label="Tài liệu">
|
|
42
|
+
<a href="/quickstart">Tài liệu</a>
|
|
43
|
+
<a href="/whats-new">Changelog</a>
|
|
44
|
+
<a href="/benchmark">Benchmark</a>
|
|
45
|
+
</nav>
|
|
46
|
+
<span class="top-spacer"></span>
|
|
47
|
+
<button class="search-trigger" type="button" data-search aria-label="Tìm trong tài liệu"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-search"/></svg><span>Tìm trong tài liệu…</span><kbd>⌘K</kbd></button>
|
|
32
48
|
<div class="top-actions">
|
|
33
|
-
<
|
|
34
|
-
<
|
|
35
|
-
|
|
36
|
-
<a class="language-option" href="/en/permissions" hreflang="en" lang="en">EN</a>
|
|
37
|
-
</nav>
|
|
38
|
-
<a class="button social" href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer" aria-label="Mở GitHub repository">
|
|
39
|
-
<svg viewBox="0 0 24 24" fill="none" aria-hidden="true">
|
|
40
|
-
<path d="M7 17 17 7M9 7h8v8" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
|
41
|
-
</svg>
|
|
42
|
-
GitHub
|
|
43
|
-
</a>
|
|
44
|
-
<button class="button mobile-menu" type="button" data-menu>Lộ trình</button>
|
|
45
|
-
<a class="button top-command-link" href="/commands">Commands</a>
|
|
49
|
+
<nav class="language-switch" aria-label="Ngôn ngữ"><a class="language-option current" href="/permissions" hreflang="vi" lang="vi" aria-current="true">VI</a><a class="language-option" href="/en/permissions" hreflang="en" lang="en">EN</a></nav>
|
|
50
|
+
<button class="icon-button theme-toggle" type="button" data-theme-toggle aria-label="Đổi giao diện sáng/tối"><svg class="icon icon-moon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-moon"/></svg><svg class="icon icon-sun" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-sun"/></svg></button>
|
|
51
|
+
<a class="icon-button" href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer" aria-label="Mở GitHub repository"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-github"/></svg></a>
|
|
46
52
|
</div>
|
|
47
53
|
</header>
|
|
48
54
|
|
|
49
55
|
<div class="layout with-toc">
|
|
50
56
|
<aside class="sidebar" data-sidebar>
|
|
51
|
-
<div class="sidebar-search" aria-label="Tìm trong tài liệu">
|
|
52
|
-
<svg viewBox="0 0 24 24" fill="none" aria-hidden="true">
|
|
53
|
-
<path d="M10.8 18.1a7.3 7.3 0 1 1 0-14.6 7.3 7.3 0 0 1 0 14.6Zm5.3-1.7 4.4 4.4" stroke="currentColor" stroke-width="2" stroke-linecap="round" />
|
|
54
|
-
</svg>
|
|
55
|
-
<input type="search" placeholder="Tìm trang" data-filter />
|
|
56
|
-
</div>
|
|
57
|
-
|
|
58
57
|
<nav aria-label="Tài liệu">
|
|
59
58
|
<div class="nav-group">
|
|
60
|
-
<p class="nav-title">
|
|
61
|
-
<a class="nav-link" href="/">
|
|
62
|
-
<a class="nav-link" href="/ecosystem">Hệ sinh thái</a>
|
|
63
|
-
<a class="nav-link" href="/quickstart">
|
|
64
|
-
<a class="nav-link" href="/windows">Cài trên Windows</a>
|
|
65
|
-
<a class="nav-link" href="/
|
|
66
|
-
<a class="nav-link" href="/
|
|
59
|
+
<p class="nav-title">Bắt đầu</p>
|
|
60
|
+
<a class="nav-link" href="/"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-home"/></svg><span>Tổng quan</span></a>
|
|
61
|
+
<a class="nav-link" href="/ecosystem"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-network"/></svg><span>Hệ sinh thái</span></a>
|
|
62
|
+
<a class="nav-link" href="/quickstart"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-rocket"/></svg><span>Cài đặt</span></a>
|
|
63
|
+
<a class="nav-link" href="/windows"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-windows"/></svg><span>Cài trên Windows</span></a>
|
|
64
|
+
<a class="nav-link" href="/update"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-refresh"/></svg><span>Cập nhật và gỡ</span></a>
|
|
65
|
+
<a class="nav-link" href="/whats-new"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-sparkles"/></svg><span>Changelog</span></a>
|
|
66
|
+
<a class="nav-link" href="/scope"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-target"/></svg><span>Phạm vi platform</span></a>
|
|
67
67
|
</div>
|
|
68
68
|
<div class="nav-group">
|
|
69
|
-
<p class="nav-title">
|
|
70
|
-
<a class="nav-link" href="/profiles">Project profile</a>
|
|
71
|
-
<a class="nav-link current" href="/permissions" aria-current="page">Permission modes</a>
|
|
72
|
-
<a class="nav-link" href="/commands">Command catalog</a>
|
|
73
|
-
<a class="nav-link" href="/workflows">Workflows</a>
|
|
69
|
+
<p class="nav-title">Sử dụng</p>
|
|
70
|
+
<a class="nav-link" href="/profiles"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-sliders"/></svg><span>Project profile</span></a>
|
|
71
|
+
<a class="nav-link current" href="/permissions" aria-current="page"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-key"/></svg><span>Permission modes</span></a>
|
|
72
|
+
<a class="nav-link" href="/commands"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-terminal"/></svg><span>Command catalog</span></a>
|
|
73
|
+
<a class="nav-link" href="/workflows"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-branch"/></svg><span>Workflows</span></a>
|
|
74
74
|
</div>
|
|
75
75
|
<div class="nav-group">
|
|
76
76
|
<p class="nav-title">MCP</p>
|
|
77
|
-
<a class="nav-link" href="/mcp">MCP
|
|
78
|
-
<a class="nav-link" href="/mcp-servers">Quản lý server</a>
|
|
79
|
-
<a class="nav-link" href="/mcp-auth">Auth và readiness</a>
|
|
80
|
-
<a class="nav-link" href="/mcp-approval">Approval gate</a>
|
|
77
|
+
<a class="nav-link" href="/mcp"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-plug"/></svg><span>Tổng quan MCP</span></a>
|
|
78
|
+
<a class="nav-link" href="/mcp-servers"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-server"/></svg><span>Quản lý server</span></a>
|
|
79
|
+
<a class="nav-link" href="/mcp-auth"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-lock"/></svg><span>Auth và readiness</span></a>
|
|
80
|
+
<a class="nav-link" href="/mcp-approval"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-shield-check"/></svg><span>Approval gate</span></a>
|
|
81
81
|
</div>
|
|
82
82
|
<div class="nav-group">
|
|
83
|
-
<p class="nav-title">
|
|
84
|
-
<a class="nav-link" href="/security">Security model</a>
|
|
85
|
-
<a class="nav-link" href="/architecture">
|
|
86
|
-
<a class="nav-link" href="/context-engine">Context Engine</a>
|
|
87
|
-
<a class="nav-link" href="/benchmark">Benchmark</a>
|
|
88
|
-
<a class="nav-link" href="/runtime">Runtime tools</a>
|
|
89
|
-
<a class="nav-link" href="/team">
|
|
83
|
+
<p class="nav-title">Vận hành</p>
|
|
84
|
+
<a class="nav-link" href="/security"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-shield"/></svg><span>Security model</span></a>
|
|
85
|
+
<a class="nav-link" href="/architecture"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-layers"/></svg><span>Kiến trúc</span></a>
|
|
86
|
+
<a class="nav-link" href="/context-engine"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-cpu"/></svg><span>Context Engine</span></a>
|
|
87
|
+
<a class="nav-link" href="/benchmark"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-chart"/></svg><span>Benchmark</span></a>
|
|
88
|
+
<a class="nav-link" href="/runtime"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-wrench"/></svg><span>Runtime tools</span></a>
|
|
89
|
+
<a class="nav-link" href="/team"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-users"/></svg><span>Dùng cho team</span></a>
|
|
90
90
|
</div>
|
|
91
91
|
</nav>
|
|
92
92
|
</aside>
|
|
93
93
|
|
|
94
|
-
<main>
|
|
94
|
+
<main id="content">
|
|
95
95
|
<div class="content-shell" data-article>
|
|
96
96
|
<nav class="breadcrumb" aria-label="Breadcrumb">
|
|
97
97
|
<a href="/">Docs</a>
|
|
98
98
|
<span aria-hidden="true">/</span>
|
|
99
|
-
<span>
|
|
100
|
-
<span aria-hidden="true">/</span>
|
|
101
|
-
<span>Permission modes</span>
|
|
99
|
+
<span>Sử dụng</span>
|
|
102
100
|
</nav>
|
|
103
101
|
<div class="page-head">
|
|
104
|
-
<h1
|
|
105
|
-
<p>Permission mode
|
|
102
|
+
<h1>Đổi quyền theo task bằng một lệnh</h1>
|
|
103
|
+
<p>Permission mode chỉ áp dụng cho session hiện tại. Đổi mode không sửa project profile.</p>
|
|
104
|
+
<div class="page-meta">
|
|
105
|
+
<a href="https://github.com/Vt-mmm/piagent/blob/main/docs-site/content/permissions.html" target="_blank" rel="noopener noreferrer"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-edit"/></svg>Sửa trang này</a>
|
|
106
|
+
</div>
|
|
106
107
|
</div>
|
|
107
108
|
<section class="section">
|
|
108
109
|
|
|
@@ -160,22 +161,22 @@
|
|
|
160
161
|
</section>
|
|
161
162
|
<nav class="pager" aria-label="Trang kế tiếp">
|
|
162
163
|
<a class="pager-prev" href="/profiles">
|
|
163
|
-
<span class="pager-label"
|
|
164
|
+
<span class="pager-label">← Trước</span>
|
|
164
165
|
<span class="pager-title">Project profile</span>
|
|
165
166
|
</a>
|
|
166
167
|
<a class="pager-next" href="/commands">
|
|
167
|
-
<span class="pager-label">Tiếp
|
|
168
|
+
<span class="pager-label">Tiếp →</span>
|
|
168
169
|
<span class="pager-title">Command catalog</span>
|
|
169
170
|
</a>
|
|
170
171
|
</nav>
|
|
171
172
|
|
|
172
173
|
<footer class="footer">
|
|
173
|
-
<p>Pi Agent Platform
|
|
174
|
+
<p>Pi Agent Platform · MIT · tài liệu tĩnh, không cookie</p>
|
|
174
175
|
<div class="footer-links" aria-label="Liên kết ngoài">
|
|
175
|
-
<a href="https://piagent
|
|
176
|
-
<a href="https://
|
|
176
|
+
<a href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer">GitHub</a>
|
|
177
|
+
<a href="https://www.npmjs.com/package/@piagent/platform" target="_blank" rel="noopener noreferrer">npm</a>
|
|
177
178
|
<a href="/en/permissions" hreflang="en">English</a>
|
|
178
|
-
<a href="https://www.facebook.com/vinhtam0544/" target="_blank" rel="noopener noreferrer">Facebook
|
|
179
|
+
<a href="https://www.facebook.com/vinhtam0544/" target="_blank" rel="noopener noreferrer">Facebook</a>
|
|
179
180
|
</div>
|
|
180
181
|
</footer>
|
|
181
182
|
</div>
|
|
@@ -186,6 +187,13 @@
|
|
|
186
187
|
<nav data-toc></nav>
|
|
187
188
|
</aside>
|
|
188
189
|
</div>
|
|
190
|
+
<div class="palette" data-palette data-index="/assets/search-vi.json" data-empty="Không có trang nào khớp." role="dialog" aria-modal="true" aria-label="Tìm trong tài liệu">
|
|
191
|
+
<div class="palette-box">
|
|
192
|
+
<label class="palette-input"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-search"/></svg><input type="search" placeholder="Tìm trong tài liệu…" aria-label="Tìm trong tài liệu" autocomplete="off" spellcheck="false" /></label>
|
|
193
|
+
<div class="palette-results" data-results role="listbox"></div>
|
|
194
|
+
<div class="palette-foot"><span>↑↓ chọn</span><span>↵ mở</span><span>esc đóng</span></div>
|
|
195
|
+
</div>
|
|
196
|
+
</div>
|
|
189
197
|
<script>
|
|
190
198
|
window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };
|
|
191
199
|
</script>
|
package/docs-site/profiles.html
CHANGED
|
@@ -1,108 +1,109 @@
|
|
|
1
1
|
<!doctype html>
|
|
2
|
-
<html lang="vi" data-copy-success="Đã lấy" data-copy-fallback="Chọn lệnh">
|
|
2
|
+
<html lang="vi" data-copy-success="Đã lấy" data-copy-fallback="Chọn lệnh" data-copy-label="Sao chép">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
-
<title>Chọn đúng
|
|
7
|
-
<meta name="description" content="Profile
|
|
8
|
-
<meta name="theme-color" content="#
|
|
6
|
+
<title>Chọn đúng profile cho repo · Pi Agent Platform</title>
|
|
7
|
+
<meta name="description" content="Profile quyết định protected path, verify command và capability mà repo được cấp; ghi vào .pi/piagent-profile.json và lock tương ứng." />
|
|
8
|
+
<meta name="theme-color" content="#09090b" media="(prefers-color-scheme: dark)" />
|
|
9
|
+
<meta name="theme-color" content="#fbfbf9" media="(prefers-color-scheme: light)" />
|
|
9
10
|
<link rel="canonical" href="https://piagent.io.vn/profiles" />
|
|
10
11
|
<link rel="alternate" hreflang="vi" href="https://piagent.io.vn/profiles" />
|
|
11
12
|
<link rel="alternate" hreflang="en" href="https://piagent.io.vn/en/profiles" />
|
|
12
13
|
<link rel="alternate" hreflang="x-default" href="https://piagent.io.vn/profiles" />
|
|
13
14
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
|
14
|
-
<meta property="og:
|
|
15
|
-
<meta property="og:
|
|
15
|
+
<meta property="og:type" content="website" />
|
|
16
|
+
<meta property="og:title" content="Chọn đúng profile cho repo · Pi Agent Platform" />
|
|
17
|
+
<meta property="og:description" content="Profile quyết định protected path, verify command và capability mà repo được cấp; ghi vào .pi/piagent-profile.json và lock tương ứng." />
|
|
16
18
|
<meta property="og:url" content="https://piagent.io.vn/profiles" />
|
|
19
|
+
<meta property="og:image" content="https://piagent.io.vn/assets/og.png" />
|
|
20
|
+
<meta name="twitter:card" content="summary_large_image" />
|
|
21
|
+
<script>try{var t=localStorage.getItem("piagent-docs-theme");if(t==="light"||t==="dark")document.documentElement.dataset.theme=t}catch(e){}</script>
|
|
17
22
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
18
23
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
19
24
|
<link
|
|
20
|
-
href="https://fonts.googleapis.com/css2?family=
|
|
25
|
+
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;550;600;650;700;750&family=JetBrains+Mono:wght@400;500;600;700&display=swap"
|
|
21
26
|
rel="stylesheet"
|
|
22
27
|
/>
|
|
23
28
|
<link rel="stylesheet" href="/assets/docs.css" />
|
|
24
29
|
<script src="/assets/docs.js" defer></script>
|
|
25
30
|
</head>
|
|
26
31
|
<body>
|
|
32
|
+
<svg width="0" height="0" style="position:absolute" aria-hidden="true"><symbol id="icon-branch" viewBox="0 0 24 24"><circle cx="6" cy="5.5" r="2"/><circle cx="6" cy="18.5" r="2"/><circle cx="18" cy="7.5" r="2"/><path d="M6 7.5v9M18 9.5c0 4.5-5 4-11 7.5"/></symbol><symbol id="icon-chart" viewBox="0 0 24 24"><path d="M4 4v16h16"/><path d="M8.5 16v-5M12.5 16V8M16.5 16v-3"/></symbol><symbol id="icon-cpu" viewBox="0 0 24 24"><rect x="6" y="6" width="12" height="12" rx="2"/><rect x="9.5" y="9.5" width="5" height="5" rx=".8"/><path d="M9 2.5V6M15 2.5V6M9 18v3.5M15 18v3.5M2.5 9H6M2.5 15H6M18 9h3.5M18 15h3.5"/></symbol><symbol id="icon-edit" viewBox="0 0 24 24"><path d="M4 20h4L19 9l-4-4L4 16z"/><path d="m13.5 6.5 4 4"/></symbol><symbol id="icon-github" viewBox="0 0 24 24"><path d="M9 19c-4.5 1.5-4.5-2.5-6.5-3m13 6v-3.5a3 3 0 0 0-.9-2.4c3-.3 6.4-1.5 6.4-6.7a5.2 5.2 0 0 0-1.4-3.6 4.8 4.8 0 0 0-.1-3.6s-1.1-.3-3.7 1.4a12.6 12.6 0 0 0-6.6 0C6.6 1.9 5.5 2.2 5.5 2.2a4.8 4.8 0 0 0-.1 3.6A5.2 5.2 0 0 0 4 9.4c0 5.2 3.4 6.4 6.4 6.7a3 3 0 0 0-.9 2.4V22"/></symbol><symbol id="icon-hash" viewBox="0 0 24 24"><path d="M5 9h15M4 15h15M10 3 8 21M16 3l-2 18"/></symbol><symbol id="icon-home" viewBox="0 0 24 24"><path d="M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z"/></symbol><symbol id="icon-key" viewBox="0 0 24 24"><circle cx="8" cy="15" r="4"/><path d="m10.9 12.1 8.6-8.6M16.5 6.5l2.5 2.5M14 9l2 2"/></symbol><symbol id="icon-layers" viewBox="0 0 24 24"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/><path d="m3 17.5 9 5 9-5" opacity=".55"/></symbol><symbol id="icon-lock" viewBox="0 0 24 24"><rect x="4" y="11" width="16" height="10" rx="2"/><path d="M8 11V7a4 4 0 0 1 8 0v4"/></symbol><symbol id="icon-menu" viewBox="0 0 24 24"><path d="M4 7h16M4 12h16M4 17h16"/></symbol><symbol id="icon-moon" viewBox="0 0 24 24"><path d="M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5z"/></symbol><symbol id="icon-network" viewBox="0 0 24 24"><circle cx="12" cy="5" r="2.5"/><circle cx="5" cy="19" r="2.5"/><circle cx="19" cy="19" r="2.5"/><path d="M12 7.5V12m0 0-5.2 5.2M12 12l5.2 5.2"/></symbol><symbol id="icon-plug" viewBox="0 0 24 24"><path d="M9 3v4M15 3v4M6 7h12v4a6 6 0 0 1-12 0zM12 17v4"/></symbol><symbol id="icon-refresh" viewBox="0 0 24 24"><path d="M20 11A8 8 0 0 0 5.3 6.7M4 3v4h4"/><path d="M4 13a8 8 0 0 0 14.7 4.3M20 21v-4h-4"/></symbol><symbol id="icon-rocket" viewBox="0 0 24 24"><path d="M5.5 15.5C4 17 3.5 19.5 3.5 20.5c1 0 3.5-.5 5-2"/><path d="M9 15 6.5 12.5C8 8.5 11.5 4.5 20 4c-.5 8.5-4.5 12-8.5 13.5z"/><circle cx="14.5" cy="9.5" r="1.5"/></symbol><symbol id="icon-search" viewBox="0 0 24 24"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></symbol><symbol id="icon-server" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="7" rx="2"/><rect x="3" y="13" width="18" height="7" rx="2"/><path d="M7 7.5h.01M7 16.5h.01"/></symbol><symbol id="icon-shield" viewBox="0 0 24 24"><path d="M12 3 4.5 6v5.5c0 4.8 3.2 8.2 7.5 9.5 4.3-1.3 7.5-4.7 7.5-9.5V6z"/></symbol><symbol id="icon-shield-check" viewBox="0 0 24 24"><path d="M12 3 4.5 6v5.5c0 4.8 3.2 8.2 7.5 9.5 4.3-1.3 7.5-4.7 7.5-9.5V6z"/><path d="m9 12 2.2 2.2L15.5 10"/></symbol><symbol id="icon-sliders" viewBox="0 0 24 24"><path d="M4 7h9M17 7h3M4 17h3M11 17h9"/><circle cx="15" cy="7" r="2"/><circle cx="9" cy="17" r="2"/></symbol><symbol id="icon-sparkles" viewBox="0 0 24 24"><path d="M11 3c.6 4.6 2.4 6.4 7 7-4.6.6-6.4 2.4-7 7-.6-4.6-2.4-6.4-7-7 4.6-.6 6.4-2.4 7-7z"/><path d="M19 15v5M16.5 17.5h5"/></symbol><symbol id="icon-sun" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4"/><path d="M12 2.5v2M12 19.5v2M4.6 4.6 6 6M18 18l1.4 1.4M2.5 12h2M19.5 12h2M4.6 19.4 6 18M18 6l1.4-1.4"/></symbol><symbol id="icon-target" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><circle cx="12" cy="12" r="5"/><circle cx="12" cy="12" r="1"/></symbol><symbol id="icon-terminal" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="2.5"/><path d="m7.5 9.5 3 2.5-3 2.5M13 15h4"/></symbol><symbol id="icon-users" viewBox="0 0 24 24"><circle cx="9" cy="8" r="3.5"/><path d="M2.5 20a6.5 6.5 0 0 1 13 0"/><path d="M16 4.5a3.5 3.5 0 0 1 0 7M18 14a6 6 0 0 1 3.5 6"/></symbol><symbol id="icon-windows" viewBox="0 0 24 24"><path d="M3.5 5.5 10.5 4.5v7h-7zM13 4.2 20.5 3v8.5H13zM3.5 13h7v7l-7-1zM13 13h7.5v8.5L13 20.3z"/></symbol><symbol id="icon-wrench" viewBox="0 0 24 24"><path d="M15 6.5a4.5 4.5 0 0 1-6 6l-5 5L6.5 20l5-5a4.5 4.5 0 0 0 6-6L15 11.5l-2.5-2.5z"/></symbol></svg>
|
|
33
|
+
<a class="skip-link" href="#content">Tới nội dung</a>
|
|
27
34
|
<header class="topbar">
|
|
35
|
+
<button class="icon-button mobile-menu" type="button" data-menu aria-label="Mở menu tài liệu"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-menu"/></svg></button>
|
|
28
36
|
<a class="brand" href="/" aria-label="Pi Agent Platform">
|
|
29
|
-
<span class="brand-mark"><img src="/assets/piagent-logo.svg" alt="" /></span>
|
|
30
|
-
<span>
|
|
37
|
+
<span class="brand-mark"><img src="/assets/piagent-logo.svg" alt="" width="28" height="28" /></span>
|
|
38
|
+
<span class="brand-name"><b>Piagent</b> <span>Platform</span></span>
|
|
31
39
|
</a>
|
|
40
|
+
<a class="version-badge" href="/whats-new" data-docs-version="v1.42.1" title="v1.42.1 docs · VI"><span class="dot"></span>v1.42.1</a>
|
|
41
|
+
<nav class="top-nav" aria-label="Tài liệu">
|
|
42
|
+
<a href="/quickstart">Tài liệu</a>
|
|
43
|
+
<a href="/whats-new">Changelog</a>
|
|
44
|
+
<a href="/benchmark">Benchmark</a>
|
|
45
|
+
</nav>
|
|
46
|
+
<span class="top-spacer"></span>
|
|
47
|
+
<button class="search-trigger" type="button" data-search aria-label="Tìm trong tài liệu"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-search"/></svg><span>Tìm trong tài liệu…</span><kbd>⌘K</kbd></button>
|
|
32
48
|
<div class="top-actions">
|
|
33
|
-
<
|
|
34
|
-
<
|
|
35
|
-
|
|
36
|
-
<a class="language-option" href="/en/profiles" hreflang="en" lang="en">EN</a>
|
|
37
|
-
</nav>
|
|
38
|
-
<a class="button social" href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer" aria-label="Mở GitHub repository">
|
|
39
|
-
<svg viewBox="0 0 24 24" fill="none" aria-hidden="true">
|
|
40
|
-
<path d="M7 17 17 7M9 7h8v8" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
|
41
|
-
</svg>
|
|
42
|
-
GitHub
|
|
43
|
-
</a>
|
|
44
|
-
<button class="button mobile-menu" type="button" data-menu>Lộ trình</button>
|
|
45
|
-
<a class="button top-command-link" href="/commands">Commands</a>
|
|
49
|
+
<nav class="language-switch" aria-label="Ngôn ngữ"><a class="language-option current" href="/profiles" hreflang="vi" lang="vi" aria-current="true">VI</a><a class="language-option" href="/en/profiles" hreflang="en" lang="en">EN</a></nav>
|
|
50
|
+
<button class="icon-button theme-toggle" type="button" data-theme-toggle aria-label="Đổi giao diện sáng/tối"><svg class="icon icon-moon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-moon"/></svg><svg class="icon icon-sun" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-sun"/></svg></button>
|
|
51
|
+
<a class="icon-button" href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer" aria-label="Mở GitHub repository"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-github"/></svg></a>
|
|
46
52
|
</div>
|
|
47
53
|
</header>
|
|
48
54
|
|
|
49
55
|
<div class="layout with-toc">
|
|
50
56
|
<aside class="sidebar" data-sidebar>
|
|
51
|
-
<div class="sidebar-search" aria-label="Tìm trong tài liệu">
|
|
52
|
-
<svg viewBox="0 0 24 24" fill="none" aria-hidden="true">
|
|
53
|
-
<path d="M10.8 18.1a7.3 7.3 0 1 1 0-14.6 7.3 7.3 0 0 1 0 14.6Zm5.3-1.7 4.4 4.4" stroke="currentColor" stroke-width="2" stroke-linecap="round" />
|
|
54
|
-
</svg>
|
|
55
|
-
<input type="search" placeholder="Tìm trang" data-filter />
|
|
56
|
-
</div>
|
|
57
|
-
|
|
58
57
|
<nav aria-label="Tài liệu">
|
|
59
58
|
<div class="nav-group">
|
|
60
|
-
<p class="nav-title">
|
|
61
|
-
<a class="nav-link" href="/">
|
|
62
|
-
<a class="nav-link" href="/ecosystem">Hệ sinh thái</a>
|
|
63
|
-
<a class="nav-link" href="/quickstart">
|
|
64
|
-
<a class="nav-link" href="/windows">Cài trên Windows</a>
|
|
65
|
-
<a class="nav-link" href="/
|
|
66
|
-
<a class="nav-link" href="/
|
|
59
|
+
<p class="nav-title">Bắt đầu</p>
|
|
60
|
+
<a class="nav-link" href="/"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-home"/></svg><span>Tổng quan</span></a>
|
|
61
|
+
<a class="nav-link" href="/ecosystem"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-network"/></svg><span>Hệ sinh thái</span></a>
|
|
62
|
+
<a class="nav-link" href="/quickstart"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-rocket"/></svg><span>Cài đặt</span></a>
|
|
63
|
+
<a class="nav-link" href="/windows"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-windows"/></svg><span>Cài trên Windows</span></a>
|
|
64
|
+
<a class="nav-link" href="/update"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-refresh"/></svg><span>Cập nhật và gỡ</span></a>
|
|
65
|
+
<a class="nav-link" href="/whats-new"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-sparkles"/></svg><span>Changelog</span></a>
|
|
66
|
+
<a class="nav-link" href="/scope"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-target"/></svg><span>Phạm vi platform</span></a>
|
|
67
67
|
</div>
|
|
68
68
|
<div class="nav-group">
|
|
69
|
-
<p class="nav-title">
|
|
70
|
-
<a class="nav-link current" href="/profiles" aria-current="page">Project profile</a>
|
|
71
|
-
<a class="nav-link" href="/permissions">Permission modes</a>
|
|
72
|
-
<a class="nav-link" href="/commands">Command catalog</a>
|
|
73
|
-
<a class="nav-link" href="/workflows">Workflows</a>
|
|
69
|
+
<p class="nav-title">Sử dụng</p>
|
|
70
|
+
<a class="nav-link current" href="/profiles" aria-current="page"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-sliders"/></svg><span>Project profile</span></a>
|
|
71
|
+
<a class="nav-link" href="/permissions"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-key"/></svg><span>Permission modes</span></a>
|
|
72
|
+
<a class="nav-link" href="/commands"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-terminal"/></svg><span>Command catalog</span></a>
|
|
73
|
+
<a class="nav-link" href="/workflows"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-branch"/></svg><span>Workflows</span></a>
|
|
74
74
|
</div>
|
|
75
75
|
<div class="nav-group">
|
|
76
76
|
<p class="nav-title">MCP</p>
|
|
77
|
-
<a class="nav-link" href="/mcp">MCP
|
|
78
|
-
<a class="nav-link" href="/mcp-servers">Quản lý server</a>
|
|
79
|
-
<a class="nav-link" href="/mcp-auth">Auth và readiness</a>
|
|
80
|
-
<a class="nav-link" href="/mcp-approval">Approval gate</a>
|
|
77
|
+
<a class="nav-link" href="/mcp"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-plug"/></svg><span>Tổng quan MCP</span></a>
|
|
78
|
+
<a class="nav-link" href="/mcp-servers"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-server"/></svg><span>Quản lý server</span></a>
|
|
79
|
+
<a class="nav-link" href="/mcp-auth"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-lock"/></svg><span>Auth và readiness</span></a>
|
|
80
|
+
<a class="nav-link" href="/mcp-approval"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-shield-check"/></svg><span>Approval gate</span></a>
|
|
81
81
|
</div>
|
|
82
82
|
<div class="nav-group">
|
|
83
|
-
<p class="nav-title">
|
|
84
|
-
<a class="nav-link" href="/security">Security model</a>
|
|
85
|
-
<a class="nav-link" href="/architecture">
|
|
86
|
-
<a class="nav-link" href="/context-engine">Context Engine</a>
|
|
87
|
-
<a class="nav-link" href="/benchmark">Benchmark</a>
|
|
88
|
-
<a class="nav-link" href="/runtime">Runtime tools</a>
|
|
89
|
-
<a class="nav-link" href="/team">
|
|
83
|
+
<p class="nav-title">Vận hành</p>
|
|
84
|
+
<a class="nav-link" href="/security"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-shield"/></svg><span>Security model</span></a>
|
|
85
|
+
<a class="nav-link" href="/architecture"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-layers"/></svg><span>Kiến trúc</span></a>
|
|
86
|
+
<a class="nav-link" href="/context-engine"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-cpu"/></svg><span>Context Engine</span></a>
|
|
87
|
+
<a class="nav-link" href="/benchmark"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-chart"/></svg><span>Benchmark</span></a>
|
|
88
|
+
<a class="nav-link" href="/runtime"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-wrench"/></svg><span>Runtime tools</span></a>
|
|
89
|
+
<a class="nav-link" href="/team"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-users"/></svg><span>Dùng cho team</span></a>
|
|
90
90
|
</div>
|
|
91
91
|
</nav>
|
|
92
92
|
</aside>
|
|
93
93
|
|
|
94
|
-
<main>
|
|
94
|
+
<main id="content">
|
|
95
95
|
<div class="content-shell" data-article>
|
|
96
96
|
<nav class="breadcrumb" aria-label="Breadcrumb">
|
|
97
97
|
<a href="/">Docs</a>
|
|
98
98
|
<span aria-hidden="true">/</span>
|
|
99
|
-
<span>
|
|
100
|
-
<span aria-hidden="true">/</span>
|
|
101
|
-
<span>Project profile</span>
|
|
99
|
+
<span>Sử dụng</span>
|
|
102
100
|
</nav>
|
|
103
101
|
<div class="page-head">
|
|
104
|
-
<h1>Chọn đúng
|
|
105
|
-
<p>Profile
|
|
102
|
+
<h1>Chọn đúng profile cho repo</h1>
|
|
103
|
+
<p>Profile quyết định protected path, verify command và capability mà repo được cấp; ghi vào .pi/piagent-profile.json và lock tương ứng.</p>
|
|
104
|
+
<div class="page-meta">
|
|
105
|
+
<a href="https://github.com/Vt-mmm/piagent/blob/main/docs-site/content/profiles.html" target="_blank" rel="noopener noreferrer"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-edit"/></svg>Sửa trang này</a>
|
|
106
|
+
</div>
|
|
106
107
|
</div>
|
|
107
108
|
<section class="section">
|
|
108
109
|
|
|
@@ -174,22 +175,22 @@
|
|
|
174
175
|
</section>
|
|
175
176
|
<nav class="pager" aria-label="Trang kế tiếp">
|
|
176
177
|
<a class="pager-prev" href="/scope">
|
|
177
|
-
<span class="pager-label"
|
|
178
|
+
<span class="pager-label">← Trước</span>
|
|
178
179
|
<span class="pager-title">Phạm vi platform</span>
|
|
179
180
|
</a>
|
|
180
181
|
<a class="pager-next" href="/permissions">
|
|
181
|
-
<span class="pager-label">Tiếp
|
|
182
|
+
<span class="pager-label">Tiếp →</span>
|
|
182
183
|
<span class="pager-title">Permission modes</span>
|
|
183
184
|
</a>
|
|
184
185
|
</nav>
|
|
185
186
|
|
|
186
187
|
<footer class="footer">
|
|
187
|
-
<p>Pi Agent Platform
|
|
188
|
+
<p>Pi Agent Platform · MIT · tài liệu tĩnh, không cookie</p>
|
|
188
189
|
<div class="footer-links" aria-label="Liên kết ngoài">
|
|
189
|
-
<a href="https://piagent
|
|
190
|
-
<a href="https://
|
|
190
|
+
<a href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer">GitHub</a>
|
|
191
|
+
<a href="https://www.npmjs.com/package/@piagent/platform" target="_blank" rel="noopener noreferrer">npm</a>
|
|
191
192
|
<a href="/en/profiles" hreflang="en">English</a>
|
|
192
|
-
<a href="https://www.facebook.com/vinhtam0544/" target="_blank" rel="noopener noreferrer">Facebook
|
|
193
|
+
<a href="https://www.facebook.com/vinhtam0544/" target="_blank" rel="noopener noreferrer">Facebook</a>
|
|
193
194
|
</div>
|
|
194
195
|
</footer>
|
|
195
196
|
</div>
|
|
@@ -200,6 +201,13 @@
|
|
|
200
201
|
<nav data-toc></nav>
|
|
201
202
|
</aside>
|
|
202
203
|
</div>
|
|
204
|
+
<div class="palette" data-palette data-index="/assets/search-vi.json" data-empty="Không có trang nào khớp." role="dialog" aria-modal="true" aria-label="Tìm trong tài liệu">
|
|
205
|
+
<div class="palette-box">
|
|
206
|
+
<label class="palette-input"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><use href="#icon-search"/></svg><input type="search" placeholder="Tìm trong tài liệu…" aria-label="Tìm trong tài liệu" autocomplete="off" spellcheck="false" /></label>
|
|
207
|
+
<div class="palette-results" data-results role="listbox"></div>
|
|
208
|
+
<div class="palette-foot"><span>↑↓ chọn</span><span>↵ mở</span><span>esc đóng</span></div>
|
|
209
|
+
</div>
|
|
210
|
+
</div>
|
|
203
211
|
<script>
|
|
204
212
|
window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };
|
|
205
213
|
</script>
|