@piagent/platform 1.12.0 → 1.13.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.
- package/CHANGELOG.md +39 -0
- package/README.md +3 -3
- package/README.vi.md +5 -1
- package/docs/command-reference-vietnamese.md +2 -2
- package/docs/distribution-standard.md +6 -6
- package/docs/en/README.md +1 -0
- package/docs/en/windows.md +66 -0
- package/docs/languages.json +13 -4
- package/docs/operator-manual-vietnamese.md +7 -7
- package/docs/publishing-for-teams.md +2 -0
- package/docs/release-install-policy.md +2 -2
- package/docs/team-onboarding.md +2 -2
- package/docs/vi/README.md +1 -0
- package/docs/vi/windows.md +66 -0
- package/docs-site/architecture.html +1 -1
- package/docs-site/benchmark.html +1 -1
- package/docs-site/commands.html +1 -1
- package/docs-site/content/en/index.html +4 -4
- package/docs-site/content/en/whats-new.html +19 -0
- package/docs-site/content/index.html +4 -4
- package/docs-site/content/whats-new.html +19 -0
- package/docs-site/context-engine.html +1 -1
- package/docs-site/ecosystem.html +1 -1
- package/docs-site/en/architecture.html +1 -1
- package/docs-site/en/benchmark.html +1 -1
- package/docs-site/en/commands.html +1 -1
- package/docs-site/en/context-engine.html +1 -1
- package/docs-site/en/ecosystem.html +1 -1
- package/docs-site/en/index.html +5 -5
- package/docs-site/en/mcp-approval.html +1 -1
- package/docs-site/en/mcp-auth.html +1 -1
- package/docs-site/en/mcp-servers.html +1 -1
- package/docs-site/en/mcp.html +1 -1
- package/docs-site/en/permissions.html +1 -1
- package/docs-site/en/profiles.html +1 -1
- package/docs-site/en/quickstart.html +1 -1
- package/docs-site/en/runtime.html +1 -1
- package/docs-site/en/scope.html +1 -1
- package/docs-site/en/security.html +1 -1
- package/docs-site/en/team.html +1 -1
- package/docs-site/en/whats-new.html +20 -1
- package/docs-site/en/workflows.html +1 -1
- package/docs-site/index.html +5 -5
- package/docs-site/mcp-approval.html +1 -1
- package/docs-site/mcp-auth.html +1 -1
- package/docs-site/mcp-servers.html +1 -1
- package/docs-site/mcp.html +1 -1
- package/docs-site/permissions.html +1 -1
- package/docs-site/profiles.html +1 -1
- package/docs-site/quickstart.html +1 -1
- package/docs-site/runtime.html +1 -1
- package/docs-site/scope.html +1 -1
- package/docs-site/security.html +1 -1
- package/docs-site/team.html +1 -1
- package/docs-site/whats-new.html +20 -1
- package/docs-site/workflows.html +1 -1
- package/evals/private-holdout-v1/public-exposure.v2.json +2 -2
- package/package.json +1 -1
- package/packages/piagent-core/extensions/piagent-guard.ts +3 -1
- package/packages/piagent-core/extensions/shell-write-targets.js +2 -1
- package/packages/piagent-core/extensions/source-checkout-paths.ts +4 -3
- package/packages/piagent-core/extensions/task-journal.js +2 -1
- package/packages/piagent-core/extensions/task-state.js +3 -3
- package/packages/piagent-core/managed/broker-client.mjs +2 -1
- package/packages/piagent-core/managed/doctor.mjs +5 -3
- package/packages/piagent-core/managed/language-environment.mjs +16 -6
- package/packages/piagent-core/managed/linux-sandbox.mjs +81 -0
- package/packages/piagent-core/managed/session.mjs +4 -1
- package/packages/piagent-core/managed/store.d.mts +2 -0
- package/packages/piagent-core/managed/store.mjs +12 -0
- package/packages/piagent-core/managed/tool-boundary.mjs +41 -14
- package/packages/piagent-core/managed/toolchain.mjs +5 -2
- package/packages/piagent-core/package.json +1 -1
- package/packages/piagent-core/runtime/host/browser-opener.d.mts +2 -0
- package/packages/piagent-core/runtime/host/browser-opener.mjs +20 -0
- package/packages/piagent-core/runtime/input/chat-images.ts +11 -4
- package/packages/piagent-core/runtime/resources/agent-resources.mjs +4 -4
- package/packages/piagent-webui/dist/client/assets/{MarkdownMessage-FWfOWZjV.js → MarkdownMessage-D8wcWkJg.js} +1 -1
- package/packages/piagent-webui/dist/client/assets/{index-DFKHLVYk.js → index-DWL_wVw7.js} +3 -3
- package/packages/piagent-webui/dist/client/index.html +1 -1
- package/packages/piagent-webui/extension/piagent-webui.ts +6 -5
- package/packages/piagent-webui/gateway/control-socket.ts +14 -2
- package/packages/piagent-webui/gateway/managed-launch.ts +8 -6
- package/packages/piagent-webui/gateway/native-project-picker.ts +28 -3
- package/packages/piagent-webui/gateway/path-suggestions.ts +9 -3
- package/packages/piagent-webui/gateway/pi-host.ts +11 -3
- package/packages/piagent-webui/gateway/session-runtime-supervisor.ts +3 -1
- package/scripts/dashboard-update-job.mjs +3 -2
- package/scripts/piagent-cli.mjs +2 -2
- package/scripts/piagent-dashboard.mjs +7 -7
- package/scripts/piagent-studio.mjs +4 -4
- package/scripts/piagent-webui-launcher.mjs +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,45 @@
|
|
|
2
2
|
|
|
3
3
|
This file records release-facing changes for Pi Agent Platform. Copy the relevant version block into GitHub Releases when publishing a tag.
|
|
4
4
|
|
|
5
|
+
## v1.13.0 - 2026-10-06
|
|
6
|
+
|
|
7
|
+
Piagent on Windows through WSL2, with company conversations in a bubblewrap sandbox; personal mode on Windows itself as a preview.
|
|
8
|
+
|
|
9
|
+
After updating, each member imports the Piagent configuration again in Agent Watch (macOS: Studio → Apply for Piagent; Windows: Connect Piagent in WSL). The company launcher changed, so the earlier import no longer verifies, and the dashboard says so.
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
- Company conversations run on Linux, and so in WSL2 on Windows, with a bubblewrap sandbox that keeps the macOS promises:
|
|
14
|
+
- The project, its package cache and a private temporary folder are writable.
|
|
15
|
+
- The member's other folders are readable for reference, read-only; the home folder's hidden entries are not there at all.
|
|
16
|
+
- Credential files read as empty.
|
|
17
|
+
- A command without approval gets its own network namespace: it reaches only the servers it starts itself.
|
|
18
|
+
- A command's processes end with it.
|
|
19
|
+
- Windows programs cannot be started from inside.
|
|
20
|
+
- `piagent studio --doctor` checks each of these.
|
|
21
|
+
- Agent Watch for Windows binds Piagent in WSL. Piagent keeps WSL's interop variables when it starts the Windows broker, and keeps the company store in `$XDG_DATA_HOME/agentwatch` (`~/.local/share/agentwatch`) on Linux.
|
|
22
|
+
- On Windows itself (preview of personal mode; `piagent-update` does not run there yet):
|
|
23
|
+
- The dashboard's project picker is Windows' folder dialog; from WSL it is that dialog too, with the answer converted to a WSL path.
|
|
24
|
+
- Links open in the Windows browser from WSL.
|
|
25
|
+
- @ suggestions find `fd`/`fdfind` and git on PATH.
|
|
26
|
+
- When the company runtime cannot start from WSL, the dashboard and `piagent studio` say what to do in Agent Watch for Windows instead of pointing at macOS Keychain.
|
|
27
|
+
- [Windows](docs/en/windows.md) is the setup guide. A Windows workflow runs the guard, dashboard and path tests on Windows, and the Ubuntu job runs the Linux sandbox.
|
|
28
|
+
|
|
29
|
+
### Fixes
|
|
30
|
+
|
|
31
|
+
- On Windows the guard treated a path on another drive (`D:\x`) as a project path, and `~\` was not the home folder; `AppData` is closed to reference reads like `~/Library`.
|
|
32
|
+
- On Windows a command ending in `2>/dev/null` counted as a write (Git Bash's `/dev/null` is the null device), so read-only commands needed approval.
|
|
33
|
+
- On Windows the dashboard, `piagent` and the update job could not start their TypeScript loader (a `C:\…` path given to `--import` reads as a URL scheme).
|
|
34
|
+
- On Windows saving a task's journal or state failed: a file was flushed through a read-only handle, and a folder was flushed, which Windows refuses.
|
|
35
|
+
- On Windows a second dashboard start could not take over from an earlier release's Gateway (its control pipe was linked like a Unix socket), and `piagent` could not register a `C:\…` project with the dashboard.
|
|
36
|
+
- On Windows the dashboard did not find a globally installed Pi: npm keeps it in `%APPDATA%\npm\node_modules` or beside `node.exe`.
|
|
37
|
+
- On Windows an image path such as `C:\Users\me\shot.png` or `.\shots\a.png` in a message was not attached.
|
|
38
|
+
## v1.12.1 - 2026-10-06
|
|
39
|
+
|
|
40
|
+
### Fixes
|
|
41
|
+
|
|
42
|
+
- A forked company conversation takes messages again. The fork was written where Pi keeps personal conversations, outside the member's company session folder, so the dashboard listed it but every message to it returned "The message was not sent". Forks made with 1.12.0 or earlier stay unreachable: fork the source conversation again after updating.
|
|
43
|
+
|
|
5
44
|
## v1.12.0 - 2026-10-06
|
|
6
45
|
|
|
7
46
|
@ in the dashboard picks any file or folder on the Mac, and the agent reads folders outside the project for reference.
|
package/README.md
CHANGED
|
@@ -34,8 +34,8 @@ Because it runs from an installed package, the source it writes into `.pi/settin
|
|
|
34
34
|
| Linux x64 + Bash | Verified in CI for this release. |
|
|
35
35
|
| macOS Intel (`darwin/x64`) + Bash | Supported target, but run `piagent-doctor` and project smoke tests before wide rollout. |
|
|
36
36
|
| Linux ARM64 + Bash | Supported target, but run `piagent-doctor` and project smoke tests before wide rollout. |
|
|
37
|
-
|
|
|
38
|
-
|
|
|
37
|
+
| WSL2 (Windows) | The way to run Piagent on Windows: company mode with the bubblewrap sandbox and Agent Watch for Windows, and personal mode. The Linux sandbox is checked in CI. See [Windows](docs/en/windows.md). |
|
|
38
|
+
| Native Windows | Preview of personal mode: the guard, path and dashboard tests run in CI on Windows; `piagent-update` does not run there yet. See [Windows](docs/en/windows.md). |
|
|
39
39
|
|
|
40
40
|
Pinned step-by-step rollouts, updates, rollback, and the fast-moving `--dev` channel are in [Release and install policy](docs/release-install-policy.md).
|
|
41
41
|
|
|
@@ -346,7 +346,7 @@ This repository intentionally excludes:
|
|
|
346
346
|
|
|
347
347
|
## Maturity
|
|
348
348
|
|
|
349
|
-
The current package version is read from package metadata and release tags. Personal machines may follow the unpinned package source when accepting ongoing updates; production/team quickstarts and committed project settings should pin an explicit tag such as `v1.
|
|
349
|
+
The current package version is read from package metadata and release tags. Personal machines may follow the unpinned package source when accepting ongoing updates; production/team quickstarts and committed project settings should pin an explicit tag such as `v1.13.0` or a reviewed commit.
|
|
350
350
|
|
|
351
351
|
Ready for:
|
|
352
352
|
|
package/README.vi.md
CHANGED
|
@@ -34,6 +34,10 @@ Main có tối đa hai trợ lý chỉ đọc; không sinh nhánh con tiếp. Re
|
|
|
34
34
|
|
|
35
35
|
Bản local này chưa phải bản phát hành có Developer ID. [Trạng thái nghiệm thu](docs/managed-local-acceptance.md) phân biệt test nội bộ, gọi provider thật và phần còn thiếu.
|
|
36
36
|
|
|
37
|
+
## Windows
|
|
38
|
+
|
|
39
|
+
Trên Windows, Piagent chạy trong WSL2 (Ubuntu): chế độ công ty với sandbox bubblewrap và Agent Watch cho Windows, và cả chế độ cá nhân. Chạy thẳng trên Windows mới là bản xem trước cho chế độ cá nhân. Cài đặt từng bước: [Windows](docs/vi/windows.md).
|
|
40
|
+
|
|
37
41
|
## Web search và vision
|
|
38
42
|
|
|
39
43
|
Web research và đọc ảnh là hai capability tách biệt. Tích hợp `pi-web-access`
|
|
@@ -175,7 +179,7 @@ Xem [bằng chứng benchmark](https://piagent.io.vn/benchmark) và
|
|
|
175
179
|
|
|
176
180
|
Gate này chạy architecture check, test, typecheck, capability validation, runtime smoke và docs consistency trước khi release.
|
|
177
181
|
|
|
178
|
-
Bản phát hành hiện tại là `v1.
|
|
182
|
+
Bản phát hành hiện tại là `v1.13.0`. Với team hoặc production, hãy pin tag này
|
|
179
183
|
hoặc một commit đã review thay vì dựa vào nguồn package không cố định.
|
|
180
184
|
|
|
181
185
|
## Security
|
|
@@ -473,8 +473,8 @@ Các lệnh này chạy ngoài Pi.
|
|
|
473
473
|
| Command | Dùng khi nào |
|
|
474
474
|
|---|---|
|
|
475
475
|
| `npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.87.1` | Cài Pi CLI tương thích với release hiện tại. |
|
|
476
|
-
| `npm install -g --ignore-scripts @piagent/platform@1.
|
|
477
|
-
| `pi install git:github.com/Vt-mmm/piagent@v1.
|
|
476
|
+
| `npm install -g --ignore-scripts @piagent/platform@1.13.0` | Cài terminal helper `piagent-*` từ release tag hiện tại. |
|
|
477
|
+
| `pi install git:github.com/Vt-mmm/piagent@v1.13.0` | Cài pinned release khi cần reproducible team setup. |
|
|
478
478
|
| `pi install git:github.com/Vt-mmm/piagent` | Cài latest package platform cho máy cá nhân/sandbox. |
|
|
479
479
|
| `piagent-update --check` | Báo version hiện tại vs version sẽ lên cho cả ba thành phần; không cài gì. |
|
|
480
480
|
| `piagent-update` | Full update global một lệnh cho cả máy: Pi host → npm-global helper → Pi package, đúng thứ tự release yêu cầu. |
|
|
@@ -15,9 +15,9 @@ Repo này phải chạy được cho nhiều project/domain khác nhau. Vì vậ
|
|
|
15
15
|
|
|
16
16
|
| Use case | Package source |
|
|
17
17
|
|---|---|
|
|
18
|
-
| Team pinned release | `git:github.com/Vt-mmm/piagent@v1.
|
|
18
|
+
| Team pinned release | `git:github.com/Vt-mmm/piagent@v1.13.0` |
|
|
19
19
|
| Personal/sandbox dev | `git:github.com/Vt-mmm/piagent` |
|
|
20
|
-
| Registry distribution | `npm:@piagent/platform@1.
|
|
20
|
+
| Registry distribution | `npm:@piagent/platform@1.13.0` |
|
|
21
21
|
| Enterprise npm (fork under another scope) | `npm:@your-scope/platform@x.y.z` |
|
|
22
22
|
| Local platform dev | `/path/to/piagent` |
|
|
23
23
|
|
|
@@ -54,7 +54,7 @@ Root `package.json` có `pi` manifest trỏ tới:
|
|
|
54
54
|
Do đó team có thể:
|
|
55
55
|
|
|
56
56
|
```bash
|
|
57
|
-
pi install git:github.com/Vt-mmm/piagent@v1.
|
|
57
|
+
pi install git:github.com/Vt-mmm/piagent@v1.13.0
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
Không cần biết internal folder `packages/piagent-core`. Source không pin chỉ dành cho personal/sandbox như bảng channel ở trên.
|
|
@@ -66,12 +66,12 @@ Team nên install global package một lần:
|
|
|
66
66
|
```bash
|
|
67
67
|
node --version # >= 22.19.0
|
|
68
68
|
npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.87.1
|
|
69
|
-
npm install -g --ignore-scripts @piagent/platform@1.
|
|
69
|
+
npm install -g --ignore-scripts @piagent/platform@1.13.0
|
|
70
70
|
piagent-install --stable --dry-run
|
|
71
71
|
piagent-install --stable
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
`pi install git:github.com/Vt-mmm/piagent@v1.
|
|
74
|
+
`pi install git:github.com/Vt-mmm/piagent@v1.13.0` vẫn hợp lệ nếu chỉ cần cài Pi package. Lệnh đó không tự tạo các binary terminal `piagent-*`; muốn có helper global thì dùng `npm install -g --ignore-scripts @piagent/platform@1.13.0`.
|
|
75
75
|
|
|
76
76
|
Support matrix hiện tại: macOS Apple Silicon + Bash và Linux x64 + Bash đã được verify; macOS Intel + Bash và Linux ARM64 + Bash là supported target cần chạy smoke trước rollout; native Windows chưa phải target rollout team; WSL2 experimental. Chi tiết và version runtime nằm trong [release/install policy](release-install-policy.md).
|
|
77
77
|
|
|
@@ -118,7 +118,7 @@ Nếu muốn commit sẵn `.pi/piagent-profile.json` vào repo hoặc bootstrap
|
|
|
118
118
|
```bash
|
|
119
119
|
bash scripts/setup.sh /path/to/project \
|
|
120
120
|
--profile be-readonly-fe \
|
|
121
|
-
--package-source git:github.com/Vt-mmm/piagent@v1.
|
|
121
|
+
--package-source git:github.com/Vt-mmm/piagent@v1.13.0 \
|
|
122
122
|
--mcp-preset core \
|
|
123
123
|
--subagents-preset safe
|
|
124
124
|
```
|
package/docs/en/README.md
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- [Architecture](architecture.md): dependency direction, code ownership, runtime flow, and state boundaries.
|
|
8
8
|
- [Maintainer guide](maintainer-guide.md): where new code belongs, file budgets, split queue, and review checklist.
|
|
9
|
+
- [Windows](windows.md): personal mode on Windows, company mode in WSL2 with the bubblewrap sandbox.
|
|
9
10
|
- [Release and install policy](../release-install-policy.md)
|
|
10
11
|
- [Quality benchmark](../quality-benchmark.md)
|
|
11
12
|
- [Security threat model](../security-threat-model.md)
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Piagent on Windows
|
|
2
|
+
|
|
3
|
+
[Tiếng Việt](../vi/windows.md)
|
|
4
|
+
|
|
5
|
+
On Windows, run Piagent in **WSL2** (Ubuntu), for company and personal conversations alike:
|
|
6
|
+
|
|
7
|
+
| Mode | Where it runs | What it needs |
|
|
8
|
+
|---|---|---|
|
|
9
|
+
| Company (models through Agent Studio) | WSL2 | WSL2, bubblewrap, Agent Watch for Windows |
|
|
10
|
+
| Personal (your own AI account) | WSL2 (recommended), or Windows itself as a preview | WSL2; for the preview, Node 24 and Git for Windows |
|
|
11
|
+
|
|
12
|
+
Company mode needs an operating-system sandbox around every command the agent runs. On macOS that is Seatbelt; on Linux and WSL2 it is bubblewrap. Windows has no equivalent sandbox an agent can use yet, so company mode runs in WSL2.
|
|
13
|
+
|
|
14
|
+
## Company mode in WSL2
|
|
15
|
+
|
|
16
|
+
1. Install WSL2 with Ubuntu (PowerShell): `wsl --install -d Ubuntu`.
|
|
17
|
+
2. In Ubuntu:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
sudo apt-get update && sudo apt-get install -y bubblewrap git ripgrep fd-find build-essential curl
|
|
21
|
+
curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash && . ~/.nvm/nvm.sh && nvm install 24
|
|
22
|
+
npm install -g --ignore-scripts @piagent/platform
|
|
23
|
+
piagent-update
|
|
24
|
+
piagent --help
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
`piagent --help` runs once so Piagent records where it is installed, for Agent Watch.
|
|
28
|
+
|
|
29
|
+
3. Install Agent Watch for Windows (PowerShell), paste the connection code your admin sent, choose **Kết nối** (Connect), then **Kết nối Piagent trong WSL** (Connect Piagent in WSL):
|
|
30
|
+
|
|
31
|
+
```powershell
|
|
32
|
+
irm https://raw.githubusercontent.com/Vt-mmm/agentwatch/main/windows/install.ps1 | iex
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Full guide: [Agent Watch for Windows](https://github.com/Vt-mmm/agentwatch/blob/main/windows/README.md). After each Piagent update, choose **Kết nối Piagent trong WSL** again (Agent Watch does it when it starts).
|
|
36
|
+
4. In Ubuntu: `piagent dashboard` (opens in the Windows browser) or `piagent studio --project ~/projects/shop`.
|
|
37
|
+
|
|
38
|
+
Check the machine with `piagent studio --doctor`.
|
|
39
|
+
|
|
40
|
+
### The sandbox on Linux and WSL2
|
|
41
|
+
|
|
42
|
+
It keeps the macOS sandbox's promises, built from bubblewrap mounts:
|
|
43
|
+
|
|
44
|
+
- The project is writable; the project's package cache is writable (`~/.cache/piagent/sandbox`); there is a private temporary folder.
|
|
45
|
+
- Other folders in the home folder are readable for reference when you point to them, read-only; hidden entries of the home folder (`~/.ssh`, `~/.bashrc`, tool settings…) are not in the sandbox at all.
|
|
46
|
+
- Credential files (`.env`, `.npmrc`, `credentials`, `auth.json`) read as empty.
|
|
47
|
+
- A command without network approval runs in its own network namespace: it reaches only the servers it starts itself (no internet, no proxy, no service running on the machine). Start a test server and run the tests in the same command; a database already running on the machine needs `run_with_network`.
|
|
48
|
+
- Processes a command leaves behind end with that command.
|
|
49
|
+
- Windows programs cannot be started from inside the sandbox.
|
|
50
|
+
|
|
51
|
+
Unlike macOS: Windows folders (`/mnt/c/...`) are not readable for reference from a project in WSL; a project on `/mnt/c` works but is slower than one on the WSL disk.
|
|
52
|
+
|
|
53
|
+
## Personal mode in WSL2
|
|
54
|
+
|
|
55
|
+
Steps 1–2 above, then `piagent dashboard` in Ubuntu. No Agent Watch is needed.
|
|
56
|
+
|
|
57
|
+
## Preview: personal mode on Windows itself
|
|
58
|
+
|
|
59
|
+
For members who already run Pi on Windows. Piagent's guard, the dashboard's folder picker and @ suggestions handle Windows paths: another drive (`D:\…`), `AppData` and hidden entries of the home folder are not project paths, and Git Bash runs the agent's shell commands. Not there yet: `piagent-update` (it runs npm, Pi and Bash the macOS/Linux way), so install and update by hand in PowerShell:
|
|
60
|
+
|
|
61
|
+
```powershell
|
|
62
|
+
npm install -g --ignore-scripts @piagent/platform
|
|
63
|
+
piagent dashboard
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
The dashboard needs the Pi version Piagent pins; `piagent-update --dry-run` in WSL shows it.
|
package/docs/languages.json
CHANGED
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"en": "README.md",
|
|
22
22
|
"vi": "README.vi.md",
|
|
23
23
|
"consistentAt": {
|
|
24
|
-
"en": "
|
|
25
|
-
"vi": "
|
|
24
|
+
"en": "81ef3f7ab158b11c3fa609ca6d21e7e8805c252c",
|
|
25
|
+
"vi": "ccca04fcc658b641e478f3789b85f4ce5107c49f"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"en": "docs/en/README.md",
|
|
31
31
|
"vi": "docs/vi/README.md",
|
|
32
32
|
"consistentAt": {
|
|
33
|
-
"en": "
|
|
34
|
-
"vi": "
|
|
33
|
+
"en": "1b0cad5ad3e47b6dff855ccfef73fec5af3abd2e",
|
|
34
|
+
"vi": "5ca35d1626e3b0b55071d95028d4d148f3beb127"
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
{
|
|
@@ -51,6 +51,15 @@
|
|
|
51
51
|
"en": "e04ab2a64da66c59fbc2f52b472db481815c6ea5",
|
|
52
52
|
"vi": "8ce84e7221156cfa3882e29d50045be989d1ea7d"
|
|
53
53
|
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"topic": "windows",
|
|
57
|
+
"en": "docs/en/windows.md",
|
|
58
|
+
"vi": "docs/vi/windows.md",
|
|
59
|
+
"consistentAt": {
|
|
60
|
+
"en": "7e6fdf152b4767e33861c94f3af98c75c98850e8",
|
|
61
|
+
"vi": "23513b75db9854ab41c4f485b69121b1cdb31d0f"
|
|
62
|
+
}
|
|
54
63
|
}
|
|
55
64
|
]
|
|
56
65
|
}
|
|
@@ -19,12 +19,12 @@ Support matrix release hiện tại: macOS Apple Silicon + Bash và Linux x64 +
|
|
|
19
19
|
```bash
|
|
20
20
|
node --version # >= 22.19.0
|
|
21
21
|
npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.87.1
|
|
22
|
-
npm install -g --ignore-scripts @piagent/platform@1.
|
|
22
|
+
npm install -g --ignore-scripts @piagent/platform@1.13.0
|
|
23
23
|
piagent-install --stable --dry-run
|
|
24
24
|
piagent-install --stable
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
Khi seed `.pi/settings.json` cho team/repo cần audit lặp lại, giữ package source dạng pinned tag như `git:github.com/Vt-mmm/piagent@v1.
|
|
27
|
+
Khi seed `.pi/settings.json` cho team/repo cần audit lặp lại, giữ package source dạng pinned tag như `git:github.com/Vt-mmm/piagent@v1.13.0`. Máy cá nhân có thể dùng `git:github.com/Vt-mmm/piagent` để theo latest.
|
|
28
28
|
|
|
29
29
|
Nếu đang ở source checkout của platform, dùng helper theo channel để preview trước khi đổi:
|
|
30
30
|
|
|
@@ -100,7 +100,7 @@ install package once
|
|
|
100
100
|
|
|
101
101
|
```bash
|
|
102
102
|
npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.87.1
|
|
103
|
-
npm install -g --ignore-scripts @piagent/platform@1.
|
|
103
|
+
npm install -g --ignore-scripts @piagent/platform@1.13.0
|
|
104
104
|
piagent-install --stable --dry-run
|
|
105
105
|
piagent-install --stable
|
|
106
106
|
```
|
|
@@ -285,7 +285,7 @@ Không phải daily default. Dùng khi muốn tạo sẵn `.pi` files cho projec
|
|
|
285
285
|
bash /path/to/piagent/scripts/setup.sh /path/to/project \
|
|
286
286
|
--project-only \
|
|
287
287
|
--profile auto \
|
|
288
|
-
--package-source git:github.com/Vt-mmm/piagent@v1.
|
|
288
|
+
--package-source git:github.com/Vt-mmm/piagent@v1.13.0 \
|
|
289
289
|
--mcp-preset core \
|
|
290
290
|
--subagents-preset safe
|
|
291
291
|
```
|
|
@@ -999,8 +999,8 @@ Watchdog là optional adversarial reviewer ở cuối turn, không bật mặc
|
|
|
999
999
|
|
|
1000
1000
|
| Command | Dùng để |
|
|
1001
1001
|
|---|---|
|
|
1002
|
-
| `npm install -g --ignore-scripts @piagent/platform@1.
|
|
1003
|
-
| `pi install git:github.com/Vt-mmm/piagent@v1.
|
|
1002
|
+
| `npm install -g --ignore-scripts @piagent/platform@1.13.0` | Cài terminal helper `piagent-*` từ release tag hiện tại. |
|
|
1003
|
+
| `pi install git:github.com/Vt-mmm/piagent@v1.13.0` | Install pinned release cho reproducible team setup. |
|
|
1004
1004
|
| `pi install git:github.com/Vt-mmm/piagent` | Install latest platform package cho máy cá nhân/sandbox. |
|
|
1005
1005
|
| Cài exact Pi host của release, rồi `npm install -g --ignore-scripts @piagent/platform@X.Y.Z` và `piagent-install --stable` | Full update: đồng bộ host, terminal helper và Pi package. Mỗi release pin một Pi host chính xác; lấy đúng version của release đang cài trong [release/install policy](release-install-policy.md). |
|
|
1006
1006
|
| Cài exact Pi host ghi trong release cũ, rồi helper `vPREVIOUS` và `piagent-install --stable` | Full rollback; đánh giá lại dependency findings của host cũ trước khi hạ version. |
|
|
@@ -1096,7 +1096,7 @@ Mở lại Pi session sau khi install.
|
|
|
1096
1096
|
Cài lại terminal helper đúng release rồi kiểm tra `PATH`:
|
|
1097
1097
|
|
|
1098
1098
|
```bash
|
|
1099
|
-
npm install -g --ignore-scripts @piagent/platform@1.
|
|
1099
|
+
npm install -g --ignore-scripts @piagent/platform@1.13.0
|
|
1100
1100
|
command -v piagent-install
|
|
1101
1101
|
```
|
|
1102
1102
|
|
|
@@ -41,6 +41,8 @@ pi install /path/to/piagent
|
|
|
41
41
|
|
|
42
42
|
## Versioning
|
|
43
43
|
|
|
44
|
+
- `1.13.0`: Piagent trên Windows qua WSL2 (sandbox bubblewrap, Agent Watch cho Windows); sau khi cập nhật, mỗi thành viên nhập lại cấu hình Piagent trong Agent Watch.
|
|
45
|
+
- `1.12.1`: nhánh (fork) của cuộc trò chuyện công ty gửi được tin nhắn; nhánh tạo trước bản này cần tạo lại.
|
|
44
46
|
- `1.12.0`: @ trong dashboard chọn file và folder ở bất kỳ đâu trên máy, agent đọc được folder ngoài project (chỉ đọc); khung chat giữ tin nhắn đang soạn khi chuyển cuộc trò chuyện; skill và command của `.claude`, `.codex`, `.agents` (project và máy) dùng được bằng `/`; sandbox công ty chạy được unit và integration test của các ngôn ngữ phổ biến (cache package theo project, server trên localhost, Xcode đã chọn, .NET).
|
|
45
47
|
- `1.11.1`: cập nhật xong luôn chạy dashboard của bản mới: nút cập nhật trong dashboard khởi động lại dashboard đúng cách (bản 1.11.0 cài xong nhưng không tự khởi động lại), và `piagent dashboard` thay dashboard của bản cũ còn đang chạy sau `piagent-update`.
|
|
46
48
|
- `1.11.0`: dashboard tự kiểm tra bản mới (khi mở và mỗi 6 giờ) và cập nhật Pi + Piagent bằng một nút, Pi luôn lên đúng bản Piagent yêu cầu, khoá khi đang có lượt chạy; thanh trạng thái kiểu IDE, bảng lệnh ⌘K/Ctrl+K, ⌘,/Ctrl+, mở Cài đặt; Cài đặt có ô tìm kiếm, nhóm mục và mục Phím tắt. Máy đang ở 1.10.0 cập nhật tay một lần; từ 1.11.0 bấm nút trong dashboard.
|
|
@@ -153,7 +153,7 @@ Use this flow when the team needs both terminal commands and the Pi package:
|
|
|
153
153
|
```bash
|
|
154
154
|
node --version # >= 22.19.0
|
|
155
155
|
npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.87.1
|
|
156
|
-
npm install -g --ignore-scripts @piagent/platform@1.
|
|
156
|
+
npm install -g --ignore-scripts @piagent/platform@1.13.0
|
|
157
157
|
piagent-install --stable --dry-run
|
|
158
158
|
piagent-install --stable
|
|
159
159
|
```
|
|
@@ -179,7 +179,7 @@ bash scripts/install-global.sh --stable
|
|
|
179
179
|
Use this only when terminal commands are not needed:
|
|
180
180
|
|
|
181
181
|
```bash
|
|
182
|
-
pi install git:github.com/Vt-mmm/piagent@v1.
|
|
182
|
+
pi install git:github.com/Vt-mmm/piagent@v1.13.0
|
|
183
183
|
```
|
|
184
184
|
|
|
185
185
|
Direct `pi install` does not create `piagent-*` commands on `PATH`.
|
package/docs/team-onboarding.md
CHANGED
|
@@ -10,7 +10,7 @@ Một thành viên mới không cần biết local path của maintainer. Luồn
|
|
|
10
10
|
```bash
|
|
11
11
|
node --version # >= 22.19.0
|
|
12
12
|
npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.87.1
|
|
13
|
-
npm install -g --ignore-scripts @piagent/platform@1.
|
|
13
|
+
npm install -g --ignore-scripts @piagent/platform@1.13.0
|
|
14
14
|
piagent-install --stable
|
|
15
15
|
cd /path/to/project
|
|
16
16
|
pi
|
|
@@ -45,7 +45,7 @@ Mặc định team dùng stable helper:
|
|
|
45
45
|
```bash
|
|
46
46
|
node --version # >= 22.19.0
|
|
47
47
|
npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.87.1
|
|
48
|
-
npm install -g --ignore-scripts @piagent/platform@1.
|
|
48
|
+
npm install -g --ignore-scripts @piagent/platform@1.13.0
|
|
49
49
|
piagent-install --stable --dry-run
|
|
50
50
|
piagent-install --stable
|
|
51
51
|
```
|
package/docs/vi/README.md
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- [Architecture](architecture.md): chiều dependency, ownership của code, luồng runtime và ranh giới state.
|
|
8
8
|
- [Maintainer guide](maintainer-guide.md): code mới đặt ở đâu, file budget, thứ tự tách file và checklist review.
|
|
9
|
+
- [Windows](windows.md): chế độ cá nhân thẳng trên Windows, chế độ công ty trong WSL2 với sandbox bubblewrap.
|
|
9
10
|
- [Release và install policy](../release-install-policy.md)
|
|
10
11
|
- [Quality benchmark](../quality-benchmark.md)
|
|
11
12
|
- [Security threat model](../security-threat-model.md)
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Piagent trên Windows
|
|
2
|
+
|
|
3
|
+
[English](../en/windows.md)
|
|
4
|
+
|
|
5
|
+
Trên Windows, chạy Piagent trong **WSL2** (Ubuntu), cho cả cuộc trò chuyện công ty lẫn cá nhân:
|
|
6
|
+
|
|
7
|
+
| Chế độ | Chạy ở đâu | Cần gì |
|
|
8
|
+
|---|---|---|
|
|
9
|
+
| Công ty (model qua Agent Studio) | WSL2 | WSL2, bubblewrap, Agent Watch cho Windows |
|
|
10
|
+
| Cá nhân (tài khoản AI của bạn) | WSL2 (nên dùng), hoặc thẳng trên Windows ở dạng xem trước | WSL2; bản xem trước cần Node 24 và Git for Windows |
|
|
11
|
+
|
|
12
|
+
Chế độ công ty cần sandbox của hệ điều hành cho mọi lệnh agent chạy. Trên macOS đó là Seatbelt; trên Linux và WSL2 là bubblewrap. Windows chưa có sandbox tương đương dùng được cho agent, nên chế độ công ty chạy trong WSL2.
|
|
13
|
+
|
|
14
|
+
## Chế độ công ty trong WSL2
|
|
15
|
+
|
|
16
|
+
1. Cài WSL2 với Ubuntu (PowerShell): `wsl --install -d Ubuntu`.
|
|
17
|
+
2. Trong Ubuntu:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
sudo apt-get update && sudo apt-get install -y bubblewrap git ripgrep fd-find build-essential curl
|
|
21
|
+
curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash && . ~/.nvm/nvm.sh && nvm install 24
|
|
22
|
+
npm install -g --ignore-scripts @piagent/platform
|
|
23
|
+
piagent-update
|
|
24
|
+
piagent --help
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
`piagent --help` chạy một lần để Piagent ghi lại vị trí cài đặt cho Agent Watch.
|
|
28
|
+
|
|
29
|
+
3. Cài Agent Watch cho Windows (PowerShell), dán mã kết nối admin gửi, bấm **Kết nối**, rồi **Kết nối Piagent trong WSL**:
|
|
30
|
+
|
|
31
|
+
```powershell
|
|
32
|
+
irm https://raw.githubusercontent.com/Vt-mmm/agentwatch/main/windows/install.ps1 | iex
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Hướng dẫn đầy đủ: [Agent Watch cho Windows](https://github.com/Vt-mmm/agentwatch/blob/main/windows/README.md). Sau mỗi lần cập nhật Piagent, bấm lại **Kết nối Piagent trong WSL** (Agent Watch tự làm khi mở).
|
|
36
|
+
4. Trong Ubuntu: `piagent dashboard` (mở trong trình duyệt Windows) hoặc `piagent studio --project ~/projects/shop`.
|
|
37
|
+
|
|
38
|
+
Kiểm tra máy: `piagent studio --doctor`.
|
|
39
|
+
|
|
40
|
+
### Sandbox trên Linux và WSL2
|
|
41
|
+
|
|
42
|
+
Cùng những gì sandbox macOS bảo đảm, dựng bằng mount của bubblewrap:
|
|
43
|
+
|
|
44
|
+
- Project ghi được; cache package của project ghi được (`~/.cache/piagent/sandbox`); thư mục tạm riêng.
|
|
45
|
+
- Folder khác trong home đọc được để tham chiếu khi bạn chỉ tới, chỉ đọc; mục ẩn trong home (`~/.ssh`, `~/.bashrc`, cấu hình tool…) không có trong sandbox.
|
|
46
|
+
- File credential (`.env`, `.npmrc`, `credentials`, `auth.json`) đọc ra rỗng.
|
|
47
|
+
- Lệnh chưa được duyệt mạng chạy trong network namespace riêng: chỉ tới được server do chính lệnh đó mở (không internet, không proxy, không dịch vụ đang chạy trên máy). Mở server test và chạy test trong cùng một lệnh; database đang chạy trên máy cần `run_with_network`.
|
|
48
|
+
- Tiến trình một lệnh để lại kết thúc cùng lệnh đó.
|
|
49
|
+
- Không gọi được chương trình Windows từ trong sandbox.
|
|
50
|
+
|
|
51
|
+
Khác macOS: folder Windows (`/mnt/c/...`) chưa đọc được để tham chiếu từ một project trong WSL; project nằm trên `/mnt/c` vẫn dùng được nhưng chậm hơn trong ổ của WSL.
|
|
52
|
+
|
|
53
|
+
## Chế độ cá nhân trong WSL2
|
|
54
|
+
|
|
55
|
+
Làm bước 1–2 ở trên, rồi chạy `piagent dashboard` trong Ubuntu. Không cần Agent Watch.
|
|
56
|
+
|
|
57
|
+
## Xem trước: chế độ cá nhân thẳng trên Windows
|
|
58
|
+
|
|
59
|
+
Dành cho thành viên đã chạy Pi trên Windows. Guard của Piagent, hộp chọn folder và gợi ý @ của dashboard hiểu đường dẫn Windows: ổ đĩa khác (`D:\…`), `AppData` và mục ẩn trong home không phải đường dẫn của project, và Git Bash chạy lệnh shell của agent. Chưa có: `piagent-update` (nó chạy npm, Pi và Bash theo kiểu macOS/Linux), nên cài và cập nhật bằng tay trong PowerShell:
|
|
60
|
+
|
|
61
|
+
```powershell
|
|
62
|
+
npm install -g --ignore-scripts @piagent/platform
|
|
63
|
+
piagent dashboard
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Dashboard cần đúng bản Pi mà Piagent ghim; `piagent-update --dry-run` trong WSL cho biết bản đó.
|
|
@@ -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.
|
|
33
|
+
<span class="pill"><span class="pill-dot"></span>v1.13.0 docs · VI</span>
|
|
34
34
|
<nav class="language-switch" aria-label="Ngôn ngữ">
|
|
35
35
|
<a class="language-option current" href="/architecture" hreflang="vi" lang="vi" aria-current="true">VI</a>
|
|
36
36
|
<a class="language-option" href="/en/architecture" hreflang="en" lang="en">EN</a>
|
package/docs-site/benchmark.html
CHANGED
|
@@ -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.
|
|
33
|
+
<span class="pill"><span class="pill-dot"></span>v1.13.0 docs · VI</span>
|
|
34
34
|
<nav class="language-switch" aria-label="Ngôn ngữ">
|
|
35
35
|
<a class="language-option current" href="/benchmark" hreflang="vi" lang="vi" aria-current="true">VI</a>
|
|
36
36
|
<a class="language-option" href="/en/benchmark" hreflang="en" lang="en">EN</a>
|
package/docs-site/commands.html
CHANGED
|
@@ -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.
|
|
33
|
+
<span class="pill"><span class="pill-dot"></span>v1.13.0 docs · VI</span>
|
|
34
34
|
<nav class="language-switch" aria-label="Ngôn ngữ">
|
|
35
35
|
<a class="language-option current" href="/commands" hreflang="vi" lang="vi" aria-current="true">VI</a>
|
|
36
36
|
<a class="language-option" href="/en/commands" hreflang="en" lang="en">EN</a>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<section class="hero">
|
|
2
|
-
<p class="eyebrow">Piagent 1.
|
|
2
|
+
<p class="eyebrow">Piagent 1.13.0</p>
|
|
3
3
|
<h1>A coding agent for the whole team, checked at every step.</h1>
|
|
4
4
|
<p>
|
|
5
5
|
One dashboard for Terminal and the browser. Use models with your own account, or the company's models through Agent Watch and Agent Studio. The guard checks every tool call; in company mode the team's Harness asks for checks, has a subagent review the change and reports the outcome right under the answer.
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<div class="hero-actions">
|
|
14
14
|
<a class="button primary" href="/en/quickstart">Get started</a>
|
|
15
15
|
<a class="button" href="/en/ecosystem">Ecosystem</a>
|
|
16
|
-
<a class="button" href="/en/whats-new">What’s new in 1.
|
|
16
|
+
<a class="button" href="/en/whats-new">What’s new in 1.13.0</a>
|
|
17
17
|
<a class="button" href="/en/commands">View commands</a>
|
|
18
18
|
</div>
|
|
19
19
|
</section>
|
|
@@ -89,9 +89,9 @@ piagent-setup</code></pre>
|
|
|
89
89
|
<h2 id="where-to-start">Where to start</h2>
|
|
90
90
|
<div class="card-grid">
|
|
91
91
|
<a class="doc-card" href="/en/whats-new">
|
|
92
|
-
<span class="card-kicker">Release 1.
|
|
92
|
+
<span class="card-kicker">Release 1.13.0</span>
|
|
93
93
|
<h3>What’s new</h3>
|
|
94
|
-
<p
|
|
94
|
+
<p>Piagent on Windows through WSL2: a bubblewrap sandbox for company conversations and Agent Watch for Windows; in 1.12: @ picks files and folders on the Mac, skills and commands run from /, and forked company conversations take messages.</p>
|
|
95
95
|
</a>
|
|
96
96
|
<a class="doc-card" href="/en/ecosystem">
|
|
97
97
|
<span class="card-kicker">Get started</span>
|
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
<section class="section">
|
|
2
|
+
<p class="section-kicker">v1.13.0 · 2026-10-06</p>
|
|
3
|
+
<h2 id="v1-13-0">Piagent on Windows through WSL2</h2>
|
|
4
|
+
<p class="section-lead">Members on Windows run Piagent in WSL2 (Ubuntu), for company and personal conversations alike. Company conversations get a bubblewrap sandbox that keeps the macOS sandbox’s promises, and Agent Watch for Windows holds the company key. Setup: <a href="https://github.com/Vt-mmm/piagent/blob/main/docs/en/windows.md">Piagent on Windows</a>.</p>
|
|
5
|
+
<ul>
|
|
6
|
+
<li>The project, its package cache and a private temporary folder are writable; other home folders are read-only for reference; hidden home entries are not in the sandbox; credential files read as empty.</li>
|
|
7
|
+
<li>A command without network approval reaches only the servers it starts; processes it leaves behind end with it.</li>
|
|
8
|
+
<li>From WSL, the folder picker is Windows’ dialog and links open in the Windows browser.</li>
|
|
9
|
+
<li>Running on Windows itself is a preview of personal mode; <code>piagent-update</code> does not run there yet.</li>
|
|
10
|
+
</ul>
|
|
11
|
+
<p>After updating, each member imports the Piagent configuration again in Agent Watch (macOS: Studio → Apply for Piagent; Windows: Connect Piagent in WSL).</p>
|
|
12
|
+
</section>
|
|
13
|
+
|
|
14
|
+
<section class="section">
|
|
15
|
+
<p class="section-kicker">v1.12.1 · 2026-10-06</p>
|
|
16
|
+
<h2 id="v1-12-1">Forked company conversations take messages</h2>
|
|
17
|
+
<p class="section-lead">A fork of a company conversation, made to keep its context, now takes messages. Before, the fork was listed but every message to it said “The message was not sent”. Forks made with an earlier release need to be made again after updating.</p>
|
|
18
|
+
</section>
|
|
19
|
+
|
|
1
20
|
<section class="section">
|
|
2
21
|
<p class="section-kicker">v1.12.0 · 2026-10-06</p>
|
|
3
22
|
<h2 id="v1-12-0">@ any folder, skills from /, and tests in the company sandbox</h2>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<section class="hero">
|
|
2
|
-
<p class="eyebrow">Piagent 1.
|
|
2
|
+
<p class="eyebrow">Piagent 1.13.0</p>
|
|
3
3
|
<h1>Coding agent cho cả team, kiểm tra từng bước.</h1>
|
|
4
4
|
<p>
|
|
5
5
|
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.
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<div class="hero-actions">
|
|
14
14
|
<a class="button primary" href="/quickstart">Bắt đầu</a>
|
|
15
15
|
<a class="button" href="/ecosystem">Hệ sinh thái</a>
|
|
16
|
-
<a class="button" href="/whats-new">Có gì mới trong 1.
|
|
16
|
+
<a class="button" href="/whats-new">Có gì mới trong 1.13.0</a>
|
|
17
17
|
<a class="button" href="/commands">Xem command</a>
|
|
18
18
|
</div>
|
|
19
19
|
</section>
|
|
@@ -89,9 +89,9 @@ piagent-setup</code></pre>
|
|
|
89
89
|
<h2 id="bat-dau-tu-dau">Bắt đầu từ đâu</h2>
|
|
90
90
|
<div class="card-grid">
|
|
91
91
|
<a class="doc-card" href="/whats-new">
|
|
92
|
-
<span class="card-kicker">Bản 1.
|
|
92
|
+
<span class="card-kicker">Bản 1.13.0</span>
|
|
93
93
|
<h3>Có gì mới</h3>
|
|
94
|
-
<p
|
|
94
|
+
<p>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>
|
|
95
95
|
</a>
|
|
96
96
|
<a class="doc-card" href="/ecosystem">
|
|
97
97
|
<span class="card-kicker">Get started</span>
|
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
<section class="section">
|
|
2
|
+
<p class="section-kicker">v1.13.0 · 2026-10-06</p>
|
|
3
|
+
<h2 id="v1-13-0">Piagent trên Windows qua WSL2</h2>
|
|
4
|
+
<p class="section-lead">Thành viên dùng Windows chạy Piagent trong WSL2 (Ubuntu), cả cuộc trò chuyện công ty lẫn cá nhân. Cuộc trò chuyện công ty có sandbox bubblewrap giữ đúng những gì sandbox macOS bảo đảm, và Agent Watch cho Windows giữ key công ty. Hướng dẫn cài đặt: <a href="https://github.com/Vt-mmm/piagent/blob/main/docs/vi/windows.md">Piagent trên Windows</a>.</p>
|
|
5
|
+
<ul>
|
|
6
|
+
<li>Project, cache package của project và thư mục tạm riêng ghi được; folder khác trong home chỉ đọc để tham chiếu; mục ẩn trong home không có trong sandbox; file credential đọc ra rỗng.</li>
|
|
7
|
+
<li>Lệnh chưa được duyệt mạng chỉ tới được server do chính nó mở; tiến trình lệnh để lại kết thúc cùng lệnh.</li>
|
|
8
|
+
<li>Từ WSL, hộp chọn folder là hộp thoại của Windows và link mở trong trình duyệt Windows.</li>
|
|
9
|
+
<li>Chạy thẳng trên Windows là bản xem trước cho chế độ cá nhân; <code>piagent-update</code> chưa chạy ở đó.</li>
|
|
10
|
+
</ul>
|
|
11
|
+
<p>Sau khi cập nhật, mỗi thành viên nhập lại cấu hình Piagent trong Agent Watch (macOS: Studio → Áp dụng cho Piagent; Windows: Kết nối Piagent trong WSL).</p>
|
|
12
|
+
</section>
|
|
13
|
+
|
|
14
|
+
<section class="section">
|
|
15
|
+
<p class="section-kicker">v1.12.1 · 2026-10-06</p>
|
|
16
|
+
<h2 id="v1-12-1">Nhánh cuộc trò chuyện công ty gửi được tin nhắn</h2>
|
|
17
|
+
<p class="section-lead">Tạo nhánh (fork) một cuộc trò chuyện công ty để giữ context giờ gửi tin nhắn bình thường. Trước đây nhánh vẫn hiện trong danh sách nhưng mọi tin nhắn đều báo “Tin nhắn chưa được gửi”. Nhánh tạo bằng bản cũ cần tạo lại sau khi cập nhật.</p>
|
|
18
|
+
</section>
|
|
19
|
+
|
|
1
20
|
<section class="section">
|
|
2
21
|
<p class="section-kicker">v1.12.0 · 2026-10-06</p>
|
|
3
22
|
<h2 id="v1-12-0">@ tới mọi folder, skill dùng bằng /, và test chạy được trong sandbox công ty</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.
|
|
33
|
+
<span class="pill"><span class="pill-dot"></span>v1.13.0 docs · VI</span>
|
|
34
34
|
<nav class="language-switch" aria-label="Ngôn ngữ">
|
|
35
35
|
<a class="language-option current" href="/context-engine" hreflang="vi" lang="vi" aria-current="true">VI</a>
|
|
36
36
|
<a class="language-option" href="/en/context-engine" hreflang="en" lang="en">EN</a>
|
package/docs-site/ecosystem.html
CHANGED
|
@@ -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.
|
|
33
|
+
<span class="pill"><span class="pill-dot"></span>v1.13.0 docs · VI</span>
|
|
34
34
|
<nav class="language-switch" aria-label="Ngôn ngữ">
|
|
35
35
|
<a class="language-option current" href="/ecosystem" hreflang="vi" lang="vi" aria-current="true">VI</a>
|
|
36
36
|
<a class="language-option" href="/en/ecosystem" 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.
|
|
33
|
+
<span class="pill"><span class="pill-dot"></span>v1.13.0 docs · EN</span>
|
|
34
34
|
<nav class="language-switch" aria-label="Language">
|
|
35
35
|
<a class="language-option" href="/architecture" hreflang="vi" lang="vi">VI</a>
|
|
36
36
|
<a class="language-option current" href="/en/architecture" 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.
|
|
33
|
+
<span class="pill"><span class="pill-dot"></span>v1.13.0 docs · EN</span>
|
|
34
34
|
<nav class="language-switch" aria-label="Language">
|
|
35
35
|
<a class="language-option" href="/benchmark" hreflang="vi" lang="vi">VI</a>
|
|
36
36
|
<a class="language-option current" href="/en/benchmark" hreflang="en" lang="en" aria-current="true">EN</a>
|