@piagent/platform 1.52.0 → 1.52.2
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 +18 -0
- package/docs/command-reference-vietnamese.md +2 -2
- package/docs/distribution-standard.md +6 -6
- 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-site/architecture.html +1 -1
- package/docs-site/assets/search-en.json +1 -1
- package/docs-site/assets/search-vi.json +1 -1
- package/docs-site/benchmark.html +1 -1
- package/docs-site/commands.html +1 -1
- 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 +9 -9
- 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/update.html +3 -3
- package/docs-site/en/whats-new.html +48 -29
- package/docs-site/en/windows.html +1 -1
- package/docs-site/en/workflows.html +1 -1
- package/docs-site/index.html +9 -9
- 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/releases.json +45 -0
- 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/update.html +3 -3
- package/docs-site/whats-new.html +48 -29
- package/docs-site/windows.html +1 -1
- package/docs-site/workflows.html +1 -1
- package/evals/private-holdout-v1/public-exposure.v2.json +1 -1
- package/package.json +1 -1
- package/packages/piagent-core/managed/copies.mjs +6 -1
- package/packages/piagent-core/managed/helper-settlement.mjs +1 -1
- package/packages/piagent-core/managed/session.mjs +0 -1
- package/packages/piagent-core/package.json +1 -1
package/docs-site/whats-new.html
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<span class="brand-mark"><img src="/assets/piagent-logo.svg" alt="" width="28" height="28" /></span>
|
|
38
38
|
<span class="brand-name"><b>Piagent</b> <span>Platform</span></span>
|
|
39
39
|
</a>
|
|
40
|
-
<a class="version-badge" href="/whats-new" data-docs-version="v1.52.
|
|
40
|
+
<a class="version-badge" href="/whats-new" data-docs-version="v1.52.2" title="v1.52.2 docs · VI"><span class="dot"></span>v1.52.2</a>
|
|
41
41
|
<nav class="top-nav" aria-label="Tài liệu">
|
|
42
42
|
<a href="/quickstart">Tài liệu</a>
|
|
43
43
|
<a href="/whats-new" aria-current="page">Changelog</a>
|
|
@@ -108,7 +108,28 @@
|
|
|
108
108
|
<div class="release-filter" role="toolbar" aria-label="Lọc theo loại thay đổi"><button type="button" data-filter-kind="all" aria-pressed="true">Tất cả</button><button type="button" data-filter-kind="new" aria-pressed="false">Mới</button><button type="button" data-filter-kind="improved" aria-pressed="false">Cải thiện</button><button type="button" data-filter-kind="fixed" aria-pressed="false">Sửa lỗi</button><button type="button" data-filter-kind="security" aria-pressed="false">Bảo mật</button></div>
|
|
109
109
|
<section class="section releases" data-releases>
|
|
110
110
|
<h2 id="latest" class="sr-only">Mới nhất</h2>
|
|
111
|
-
<article class="release latest" id="v1-52-
|
|
111
|
+
<article class="release latest" id="v1-52-2" data-release>
|
|
112
|
+
<div class="release-meta"><a class="release-version" href="#v1-52-2">v1.52.2</a><time class="release-date" datetime="2026-11-09">09/11/2026</time></div>
|
|
113
|
+
<div class="release-body">
|
|
114
|
+
<h3 data-toc-skip id="v1-52-2-title">Xin nhiều helper general thì chạy một, không còn bị từ chối</h3>
|
|
115
|
+
<p>Khi thành viên xin nhiều helper, agent chính gọi nhiều general cùng lúc, bị từ chối rồi gọi lại mãi nên general không chạy. Giờ một general chạy và agent chính merge ref của nó trước phần việc tiếp theo.</p>
|
|
116
|
+
<ul class="release-items">
|
|
117
|
+
<li data-kind="fixed"><span class="kind kind-fixed">Sửa lỗi</span><span>Lệnh gọi xin nhiều helper general chạy một, nói rõ lý do và bảo agent chính merge ref rồi gọi general tiếp.</span></li>
|
|
118
|
+
</ul>
|
|
119
|
+
<p class="release-requires"><strong>Cần:</strong> Agent Studio 0.51.0 và Agent Watch 0.15.20 (Windows 0.1.19) để dùng helper advisor và general</p>
|
|
120
|
+
</div>
|
|
121
|
+
</article>
|
|
122
|
+
<article class="release" id="v1-52-1" data-release>
|
|
123
|
+
<div class="release-meta"><a class="release-version" href="#v1-52-1">v1.52.1</a><time class="release-date" datetime="2026-11-09">09/11/2026</time></div>
|
|
124
|
+
<div class="release-body">
|
|
125
|
+
<h3 data-toc-skip id="v1-52-1-title">Xin nhiều helper general thì chạy một, không còn bị từ chối <span class="tag">không phát hành</span></h3>
|
|
126
|
+
<p>Đã tag nhưng chưa publish: capability lock ghi sai nguồn package nên kiểm tra release fail. Thay bằng 1.52.2.</p>
|
|
127
|
+
<ul class="release-items">
|
|
128
|
+
<li data-kind="fixed"><span class="kind kind-fixed">Sửa lỗi</span><span>Lệnh gọi xin nhiều helper general chạy một, nói rõ lý do và bảo agent chính merge ref rồi gọi general tiếp.</span></li>
|
|
129
|
+
</ul>
|
|
130
|
+
</div>
|
|
131
|
+
</article>
|
|
132
|
+
<article class="release" id="v1-52-0" data-release>
|
|
112
133
|
<div class="release-meta"><a class="release-version" href="#v1-52-0">v1.52.0</a><time class="release-date" datetime="2026-11-08">08/11/2026</time></div>
|
|
113
134
|
<div class="release-body">
|
|
114
135
|
<h3 data-toc-skip id="v1-52-0-title">Helper công ty có thêm advisor và general làm việc trong bản clone riêng</h3>
|
|
@@ -396,38 +417,36 @@
|
|
|
396
417
|
</ul>
|
|
397
418
|
</div>
|
|
398
419
|
</article>
|
|
399
|
-
<article class="release" id="v1-44-2" data-release>
|
|
400
|
-
<div class="release-meta"><a class="release-version" href="#v1-44-2">v1.44.2</a><time class="release-date" datetime="2026-10-28">28/10/2026</time></div>
|
|
401
|
-
<div class="release-body">
|
|
402
|
-
<h3 data-toc-skip id="v1-44-2-title">Harness công ty theo cỡ thay đổi</h3>
|
|
403
|
-
<p>Thay đổi nhỏ xong sau khi check, không cần review; thay đổi rủi ro bắt buộc check và review. Main agent được tra web nhanh vài lần bên cạnh research helper.</p>
|
|
404
|
-
<ul class="release-items">
|
|
405
|
-
<li data-kind="new"><span class="kind kind-new">Mới</span><span>workflow.main_web_lookups (0 đến 5) cho main agent tra web_search hoặc web_fetch nhanh chừng ấy lần mỗi tin nhắn, bên cạnh research helper.</span></li>
|
|
406
|
-
<li data-kind="improved"><span class="kind kind-improved">Cải thiện</span><span>Risk lanes, bật mặc định: thay đổi tối đa 2 file, 40 dòng, không chạm file nhạy cảm xong sau khi check, không gọi reviewer. workflow.lanes: false để tắt.</span></li>
|
|
407
|
-
<li data-kind="improved"><span class="kind kind-improved">Cải thiện</span><span>Thay đổi rủi ro (migration, auth, CI, dependency, AGENTS.md, yêu cầu phức tạp, hơn 12 file hoặc 400 dòng) bắt buộc qua check và review kể cả khi Harness chỉ đặt suggest.</span></li>
|
|
408
|
-
</ul>
|
|
409
|
-
</div>
|
|
410
|
-
</article>
|
|
411
|
-
<article class="release" id="v1-44-1" data-release>
|
|
412
|
-
<div class="release-meta"><a class="release-version" href="#v1-44-1">v1.44.1</a><time class="release-date" datetime="2026-10-28">28/10/2026</time></div>
|
|
413
|
-
<div class="release-body">
|
|
414
|
-
<h3 data-toc-skip id="v1-44-1-title">Giữ Pi của bạn, chọn giao diện Terminal, thêm repo skill</h3>
|
|
415
|
-
<p>Dev đang dùng Pi mới hơn giữ nguyên Pi của mình, Piagent chạy bản Pi riêng đúng bản pin; /style chọn giao diện Terminal; piagent skills add thêm repo skill như mattpocock/skills.</p>
|
|
416
|
-
<ul class="release-items">
|
|
417
|
-
<li data-kind="new"><span class="kind kind-new">Mới</span><span>/style chọn giao diện Terminal: system, dark, light của Pi hoặc ocean, paper, contrast, focus của Piagent. Terminal công ty nhớ lựa chọn.</span></li>
|
|
418
|
-
<li data-kind="new"><span class="kind kind-new">Mới</span><span>piagent skills add mattpocock/skills thêm repo skill GitHub ghim một commit; skill dùng được dạng /skill:tên trong Pi, Terminal công ty và dashboard.</span></li>
|
|
419
|
-
<li data-kind="fixed"><span class="kind kind-fixed">Sửa lỗi</span><span>Setup, install, update không còn hạ pi mới hơn của dev (vd 1.4.0) về bản pin 1.3.0: Piagent giữ bản riêng trong ~/.piagent/pi-host cho phiên công ty, dashboard và lệnh piagent pi.</span></li>
|
|
420
|
-
<li data-kind="fixed"><span class="kind kind-fixed">Sửa lỗi</span><span>piagent-uninstall --with-host gỡ bản Pi riêng của Piagent và giữ nguyên pi mới hơn của dev.</span></li>
|
|
421
|
-
<li data-kind="security"><span class="kind kind-security">Bảo mật</span><span>Năm advisory undici công bố ngày 2026-10-27 được chấp nhận tạm tới 2026-11-07: undici 8.10.2 do mọi Pi host ghim cứng, bản vá ở 8.12.2.</span></li>
|
|
422
|
-
</ul>
|
|
423
|
-
</div>
|
|
424
|
-
</article>
|
|
425
420
|
</section>
|
|
426
421
|
<section class="section archive">
|
|
427
422
|
<h2 id="archive">Các bản trước</h2>
|
|
428
423
|
<p class="section-lead">Bản cũ hơn, gom theo tháng. Mở một tháng để xem từng thay đổi.</p>
|
|
429
424
|
<details class="release-archive">
|
|
430
|
-
<summary><span>Tháng 10/2026</span><span class="archive-count">
|
|
425
|
+
<summary><span>Tháng 10/2026</span><span class="archive-count">77</span></summary>
|
|
426
|
+
<div class="archive-row" id="v1-44-2">
|
|
427
|
+
<div class="archive-head"><a class="release-version" href="#v1-44-2">v1.44.2</a> <span class="release-date">28/10/2026</span></div>
|
|
428
|
+
<div class="archive-body">
|
|
429
|
+
<p><strong>Harness công ty theo cỡ thay đổi</strong> — Thay đổi nhỏ xong sau khi check, không cần review; thay đổi rủi ro bắt buộc check và review. Main agent được tra web nhanh vài lần bên cạnh research helper.</p>
|
|
430
|
+
<ul class="release-items">
|
|
431
|
+
<li data-kind="new"><span class="kind kind-new">Mới</span><span>workflow.main_web_lookups (0 đến 5) cho main agent tra web_search hoặc web_fetch nhanh chừng ấy lần mỗi tin nhắn, bên cạnh research helper.</span></li>
|
|
432
|
+
<li data-kind="improved"><span class="kind kind-improved">Cải thiện</span><span>Risk lanes, bật mặc định: thay đổi tối đa 2 file, 40 dòng, không chạm file nhạy cảm xong sau khi check, không gọi reviewer. workflow.lanes: false để tắt.</span></li>
|
|
433
|
+
<li data-kind="improved"><span class="kind kind-improved">Cải thiện</span><span>Thay đổi rủi ro (migration, auth, CI, dependency, AGENTS.md, yêu cầu phức tạp, hơn 12 file hoặc 400 dòng) bắt buộc qua check và review kể cả khi Harness chỉ đặt suggest.</span></li>
|
|
434
|
+
</ul>
|
|
435
|
+
</div>
|
|
436
|
+
</div>
|
|
437
|
+
<div class="archive-row" id="v1-44-1">
|
|
438
|
+
<div class="archive-head"><a class="release-version" href="#v1-44-1">v1.44.1</a> <span class="release-date">28/10/2026</span></div>
|
|
439
|
+
<div class="archive-body">
|
|
440
|
+
<p><strong>Giữ Pi của bạn, chọn giao diện Terminal, thêm repo skill</strong> — Dev đang dùng Pi mới hơn giữ nguyên Pi của mình, Piagent chạy bản Pi riêng đúng bản pin; /style chọn giao diện Terminal; piagent skills add thêm repo skill như mattpocock/skills.</p>
|
|
441
|
+
<ul class="release-items">
|
|
442
|
+
<li data-kind="new"><span class="kind kind-new">Mới</span><span>/style chọn giao diện Terminal: system, dark, light của Pi hoặc ocean, paper, contrast, focus của Piagent. Terminal công ty nhớ lựa chọn.</span></li>
|
|
443
|
+
<li data-kind="new"><span class="kind kind-new">Mới</span><span>piagent skills add mattpocock/skills thêm repo skill GitHub ghim một commit; skill dùng được dạng /skill:tên trong Pi, Terminal công ty và dashboard.</span></li>
|
|
444
|
+
<li data-kind="fixed"><span class="kind kind-fixed">Sửa lỗi</span><span>Setup, install, update không còn hạ pi mới hơn của dev (vd 1.4.0) về bản pin 1.3.0: Piagent giữ bản riêng trong ~/.piagent/pi-host cho phiên công ty, dashboard và lệnh piagent pi.</span></li>
|
|
445
|
+
<li data-kind="fixed"><span class="kind kind-fixed">Sửa lỗi</span><span>piagent-uninstall --with-host gỡ bản Pi riêng của Piagent và giữ nguyên pi mới hơn của dev.</span></li>
|
|
446
|
+
<li data-kind="security"><span class="kind kind-security">Bảo mật</span><span>Năm advisory undici công bố ngày 2026-10-27 được chấp nhận tạm tới 2026-11-07: undici 8.10.2 do mọi Pi host ghim cứng, bản vá ở 8.12.2.</span></li>
|
|
447
|
+
</ul>
|
|
448
|
+
</div>
|
|
449
|
+
</div>
|
|
431
450
|
<div class="archive-row" id="v1-44-0">
|
|
432
451
|
<div class="archive-head"><a class="release-version" href="#v1-44-0">v1.44.0</a> <span class="release-date">28/10/2026</span></div>
|
|
433
452
|
<div class="archive-body">
|
package/docs-site/windows.html
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<span class="brand-mark"><img src="/assets/piagent-logo.svg" alt="" width="28" height="28" /></span>
|
|
38
38
|
<span class="brand-name"><b>Piagent</b> <span>Platform</span></span>
|
|
39
39
|
</a>
|
|
40
|
-
<a class="version-badge" href="/whats-new" data-docs-version="v1.52.
|
|
40
|
+
<a class="version-badge" href="/whats-new" data-docs-version="v1.52.2" title="v1.52.2 docs · VI"><span class="dot"></span>v1.52.2</a>
|
|
41
41
|
<nav class="top-nav" aria-label="Tài liệu">
|
|
42
42
|
<a href="/quickstart">Tài liệu</a>
|
|
43
43
|
<a href="/whats-new">Changelog</a>
|
package/docs-site/workflows.html
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<span class="brand-mark"><img src="/assets/piagent-logo.svg" alt="" width="28" height="28" /></span>
|
|
38
38
|
<span class="brand-name"><b>Piagent</b> <span>Platform</span></span>
|
|
39
39
|
</a>
|
|
40
|
-
<a class="version-badge" href="/whats-new" data-docs-version="v1.52.
|
|
40
|
+
<a class="version-badge" href="/whats-new" data-docs-version="v1.52.2" title="v1.52.2 docs · VI"><span class="dot"></span>v1.52.2</a>
|
|
41
41
|
<nav class="top-nav" aria-label="Tài liệu">
|
|
42
42
|
<a href="/quickstart">Tài liệu</a>
|
|
43
43
|
<a href="/whats-new">Changelog</a>
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
{
|
|
258
258
|
"path": "tests",
|
|
259
259
|
"fileCount": 653,
|
|
260
|
-
"sha256": "
|
|
260
|
+
"sha256": "fe018c94cf247031a7aa476925be84127455c3fe6dc93486d6c7e809a81df247"
|
|
261
261
|
}
|
|
262
262
|
],
|
|
263
263
|
"custodianComparisonRules": {
|
package/package.json
CHANGED
|
@@ -28,6 +28,9 @@ export function fanOut(manager, role, args, harness) {
|
|
|
28
28
|
const split = Array.isArray(args?.split) ? args.split.map(s => typeof s === 'string' ? s.trim().slice(0, 500) : '').filter(Boolean) : [];
|
|
29
29
|
const n = split.length || (Number.isInteger(args?.copies) ? args.copies : 1);
|
|
30
30
|
if (n <= 1) return null;
|
|
31
|
+
// general works in one clone at a time: run one and say so, never refuse (a
|
|
32
|
+
// refusal sent agents round 15 retries in a few minutes, 2026-11-09).
|
|
33
|
+
if (role === 'general') return { dropped: n, single: true };
|
|
31
34
|
if (harness) throw Error('managed-copies-invalid: the harness runs one helper per call.');
|
|
32
35
|
const words = normal(args?.member_words);
|
|
33
36
|
if (words.length < 3 || !memberRequest(memberMessages(manager)).some(text => normal(text).includes(words)) || namedCount(words) < n || !HELPER_WORDS.test(words)) return { dropped: n };
|
|
@@ -39,7 +42,9 @@ export function fanOut(manager, role, args, harness) {
|
|
|
39
42
|
export function withDroppedNote(result, role, asked) {
|
|
40
43
|
const n = asked?.dropped, first = result?.content?.[0];
|
|
41
44
|
if (!n || first?.type !== 'text') return result;
|
|
42
|
-
const note =
|
|
45
|
+
const note = asked.single
|
|
46
|
+
? `One general helper ran, not ${n}: general works one at a time, each in its own clone. Merge the ref it returned, then call general again (without copies or split) for the next share of the work.\n\n`
|
|
47
|
+
: `One ${callName(role)} helper ran, not ${n}: the member's own words did not ask for ${n} ${callName(role)} helpers. Go on with this answer; run several only when the member asks for that many.\n\n`;
|
|
43
48
|
return { ...result, content: [{ ...first, text: note + first.text }, ...result.content.slice(1)] };
|
|
44
49
|
}
|
|
45
50
|
// What one copy reads under its brief.
|
|
@@ -26,7 +26,7 @@ export function delegateParameters() {
|
|
|
26
26
|
...Object.fromEntries(Object.entries(SPEC_FIELDS).map(([name, description]) => [name, field(description)])),
|
|
27
27
|
since: { type: 'string', maxLength: 200, description: 'Review only: the commit, branch or HEAD~N the work to review started from (work committed in earlier turns).' },
|
|
28
28
|
// Several helpers of the role, only at the member's request (copies.mjs).
|
|
29
|
-
copies: { type: 'integer', minimum: 2, maximum: 3, description: 'Only when the member asked for several helpers of this role: how many (2 or 3) run side by side on this brief. Never on your own.' },
|
|
29
|
+
copies: { type: 'integer', minimum: 2, maximum: 3, description: 'Only when the member asked for several helpers of this role: how many (2 or 3) run side by side on this brief. Never on your own, and never for general (one at a time).' },
|
|
30
30
|
split: { type: 'array', minItems: 2, maxItems: 3, items: { type: 'string', minLength: 1, maxLength: 500 }, description: 'Instead of copies: one line per helper naming its share of the work, when the member asked for several and the work divides.' },
|
|
31
31
|
member_words: { type: 'string', maxLength: 300, description: 'With copies or split: the member\'s own words, verbatim, that ask for that many helpers.' } },
|
|
32
32
|
required: ['role', 'task'], additionalProperties: false };
|
|
@@ -465,7 +465,6 @@ export class ManagedSession {
|
|
|
465
465
|
if (!this.grant || !HELPER_ROLES.includes(role) || typeof task !== 'string' || !task.trim() || task.length > 12000 || this.helpers.has(role)) throw Error('managed-helper-unavailable');
|
|
466
466
|
const enabled = helperRoles(this.manifest);
|
|
467
467
|
if (!enabled.includes(role)) throw Error(`managed-helper-not-configured: the company Harness has no ${name} subagent${enabled.length ? `; use ${enabled.map(callName).join(', ')}` : ''}.`);
|
|
468
|
-
if (role === 'general' && (more.copies || more.split)) throw Error('managed-general-single: the general helper runs one at a time, each in its own clone; call it again for the next piece of work after merging the first.');
|
|
469
468
|
if (role === 'general') this.orphans = sweepGeneral(this);
|
|
470
469
|
// Studio lets each helper role run HELPER_CALLS times per run (one user
|
|
471
470
|
// message), each helper the member asked for counted (copies.mjs). Say so at once.
|