pi-workpanel Suite v0.2.71: Project Isolation and tok/s Fixes
pi-workpanel Suite v0.2.71
- Project isolation: Ordinary subdirectories no longer inherit home-directory project documents. Automatic registration uses the actual document root and prunes invalid records.
- Corrected tok/s: The primary metric is time-weighted sampled output tokens divided by end-to-end call time, including waiting and reasoning but excluding subsequent tool execution.
- Reliable probes: First-response latency uses real non-empty text, thinking, or tool-argument deltas. Streaming rates are client-observed estimates, excluding single/burst deliveries and unobservable reasoning. Failed, aborted, and zero-duration responses do not contribute performance samples.
- Persistence and concurrency: Fixed finalized message-ID association, independent performance deduplication, and locked read-modify-write transactions.
- Safe migration: Legacy performance aggregates are backed up to
tokens.json.before-performance-v2.bakand reset; historical token usage, cache counts, and deduplication records remain intact.
Upgrade: Restart all Pi sessions after installation (exit, then run pi -c). Historical records without timing show -; new live calls rebuild performance samples. /tokens rescan cannot reconstruct historical streaming timings.
Verification / 验证
npm test passes, including weighted throughput, migration, stream probes, finalized-message lifecycle and eight concurrent writers. Full-workspace type checking still reports existing errors outside the Token files; this release does not claim a clean whole-project type check.
Download pi-workpanel-v0.2.71.tar.gz from Releases.
SHA-256: c6808b89980f59e0e30bc080ac08c9094a3fe71b92e82c570e1f639cf561bcba