pi-ptc-subagents 2.0.0 → 2.0.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 +18 -0
- package/README.md +6 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,24 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.0.1] - 2026-10-10
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- **The package introduction copy now describes the package the code ships.**
|
|
13
|
+
The `description` field — the hero line of the
|
|
14
|
+
[pi.dev package page](https://pi.dev/packages/pi-ptc-subagents) — named two
|
|
15
|
+
tools (`ptc_run_code` + `ptc_workflow`) while the package registers six
|
|
16
|
+
model-facing tools plus the `pi.dispatch` binding, and said nothing about
|
|
17
|
+
the subagent fan-out the package name advertises. It now centres on both
|
|
18
|
+
capabilities the package is — programmable tool calling and subagent
|
|
19
|
+
fan-out — with no tool names hardcoded (the tool set is detected, not
|
|
20
|
+
configured; see [ADR-0034](./docs/adr/0034-surface-is-detected-not-set.md)).
|
|
21
|
+
The README's Tools section gains the missing `ptc_subagent` bullet. Docs
|
|
22
|
+
only; no code change.
|
|
23
|
+
|
|
24
|
+
[2.0.1]: https://github.com/a1121611810/pi-ptc-subagents/compare/v2.0.0...v2.0.1
|
|
25
|
+
|
|
8
26
|
## [2.0.0] - 2026-10-10
|
|
9
27
|
|
|
10
28
|
### Added
|
package/README.md
CHANGED
|
@@ -40,6 +40,12 @@ required — install it and the extension is on for the next pi startup.
|
|
|
40
40
|
- `ptc_workflow` — structured variant with `meta` + plain-JSON `args`, plus the
|
|
41
41
|
workflow helpers (`log`, `phase`, `parallel`, `pipeline`). There is no
|
|
42
42
|
`agent()` helper on either surface.
|
|
43
|
+
- `ptc_subagent` — the top-level subagent face: dispatch a fresh `pi`
|
|
44
|
+
subprocess for a task without writing a program. Registered only when the
|
|
45
|
+
detected surface is `subagents`
|
|
46
|
+
([ADR-0025](./docs/adr/0025-extension-surface-is-a-setting.md)); on `full`
|
|
47
|
+
the same capability is the `pi.dispatch` binding inside a program (see
|
|
48
|
+
[Dispatch](#dispatch-fan-out-to-per-call-pi-subprocesses)).
|
|
43
49
|
- `ptc_task_list` / `ptc_task_output` / `ptc_task_stop` — manage background
|
|
44
50
|
dispatches (see [Background dispatch](#background-dispatch)). They stay
|
|
45
51
|
available when PTC mode is off.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-ptc-subagents",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
|
+
"description": "Programmable tool calling (PTC) and subagent fan-out for pi — the model writes JS/TS programs that call pi's tools, or fans out to a fresh pi subprocess per subagent task",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi",
|
|
7
7
|
"pi-package",
|