@cr1ms0n/pi-subagent 0.8.9 → 0.10.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 +24 -0
- package/README.md +130 -569
- package/README.zh-CN.md +132 -0
- package/docs/ARCHITECTURE.md +56 -13
- package/docs/COST-ACCOUNTING.md +116 -66
- package/docs/DEVELOPMENT.md +124 -0
- package/docs/PLAN.md +2 -0
- package/docs/REFERENCE.md +436 -0
- package/docs/RELEASING.md +135 -16
- package/docs/ROADMAP.md +2 -0
- package/docs/SECURITY.md +52 -16
- package/docs/UX.md +158 -141
- package/package.json +10 -2
- package/skills/subagent/SKILL.md +82 -49
- package/src/backends/pi.ts +164 -94
- package/src/child-preflight.ts +166 -0
- package/src/config.ts +254 -252
- package/src/dispatch-preflight.ts +87 -0
- package/src/dispatch-routing.ts +56 -0
- package/src/extension.ts +366 -158
- package/src/format.ts +436 -365
- package/src/jev-router.ts +1032 -0
- package/src/orchestrator.ts +75 -19
- package/src/persistence.ts +643 -335
- package/src/policy.ts +120 -89
- package/src/process-lock.ts +730 -687
- package/src/protocol.ts +320 -290
- package/src/registry.ts +730 -632
- package/src/routing-policy.ts +276 -0
- package/src/routing-types.ts +217 -0
- package/src/runner.ts +1299 -850
- package/src/schema.ts +10 -10
- package/src/startup-check.ts +481 -0
- package/src/types.ts +208 -198
- package/src/usage.ts +316 -274
- package/src/model-policy.ts +0 -169
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.10.0 — 2026-09-21
|
|
6
|
+
|
|
7
|
+
### Config-file Jev credential
|
|
8
|
+
|
|
9
|
+
- Read the TypeSafe credential from required `jevRouting.apiKey` in the private user configuration. Reject the old `apiKeyEnv` field with manual migration guidance; do not read or fall back to a credential environment variable.
|
|
10
|
+
- Keep the key out of generated routing guidance, selector request bodies and results; document plaintext-file access and backup risks. Existing-run management remains independent of routing setup.
|
|
11
|
+
- Ship the config-file credential contract in 0.10.0. The published 0.9.0 remains unchanged and requires the older `apiKeyEnv` setup; no automatic user-settings migration is performed.
|
|
12
|
+
|
|
13
|
+
### Documentation and repository maintenance
|
|
14
|
+
|
|
15
|
+
- Add matching English and Chinese READMEs with current installation, Jev setup, permission and cost guidance; move advanced usage into a public reference.
|
|
16
|
+
- Document the standalone checkout's available verification steps and separate source maintenance from npm publication.
|
|
17
|
+
- Keep local development tooling outside the public source tree while retaining the distributed subagent skill; add repository and issue metadata for future packages. These repository-maintenance changes do not change runtime behavior.
|
|
18
|
+
|
|
19
|
+
## 0.9.0 — 2026-09-21
|
|
20
|
+
|
|
21
|
+
### Jev model and tool routing
|
|
22
|
+
|
|
23
|
+
- Replace fixed `modelPolicy` routes for extension-managed work with required Jev selection from user-described, locally available model candidates and individual permitted tools. New work is Pi-only; management and explicit low-level SDK specs remain available.
|
|
24
|
+
- Route normal/parallel/background dispatch, paid plan, `/btw`, resume/fork and deferred synthesis through the shared selector. Reject legacy explicit model/fallback fields; accept valid low-confidence decisions without substituting an emergency model.
|
|
25
|
+
- Verify the child model and exact selected tool set before sending task text. Carry cancellation/deadlines through routing, preflight, startup and same-model retries.
|
|
26
|
+
- Persist bounded per-request selector receipts separately from execution usage, with deduplicated native delivery and unreported selector currency. Preserve resume-lock safety, fanout usage and retained worktree pointers across failures.
|
|
27
|
+
- Document manual configuration migration, minimum disclosure and rollback. No automatic settings rewrite, installation or live provider evaluation is included.
|
|
28
|
+
|
|
5
29
|
## 0.8.9 — 2026-09-16
|
|
6
30
|
|
|
7
31
|
### Restore the stable 0.8.7 behavior
|