Repository navigation
Pi Pocket 0.31.3 upgrades the local Pulse Nano classifier to v0.5.0 with hardened relay screening, adds webhook delivery modes (steer and followUp), narrows gateway provider rate limits to individual models, and ships Unicode session-import and UI polish.
Important
To update: Use Menu -> Update Pi Pocket (or npm install -g pi-pocket@latest). If you already use Pulse Nano, click Update to v0.5.0 in Menu -> Providers after updating Pi Pocket to download the new weights.
Highlights
- Pulse Nano
v0.5.0& hardened local screening. Reaches94.4 / 100(+14.1vsv0.4.0legacy) on our locked 1,080-case held-out benchmark (PulseBench v2, 0% training overlap) at104 msP95 CPU latency:- Uncapped outbound secret pre-scan (
secret-scan.ts) catches live API keys, tokens, PEM private keys, and webhooks at any reply length before truncation while ignoring placeholders and public keys (98.3%secret recall,98.2%clean pass,18/18past 6,000 chars). - Token-aware windowing & text normalization raises local relay screening to
24,000chars in360-token windows, eliminating dense CJK/emoji/base64 truncation (16/16inbound & outbound) and double-space/code-paste false positives (100%benign pass,0/46code-paste FPs). - Stronger core heads:
100.0%on decoupled stall/loop checks (160/160),94.4%run-outcome accuracy,91.0F1 on memory suggestions (98.9%specificity,1FP out of90traps), and86.3NDCG (71%Top-1) on PiP session routing.
- Uncapped outbound secret pre-scan (
- Webhook & inbox delivery modes. Non-GitHub JSON webhooks and
host.inbox.delivernow acceptmode: "steer"(join a busy session at the next tool boundary) ormode: "followUp"(queue until the active run finishes, the default when omitted), rejecting invalid mode values with HTTP 400. - Per-model gateway usage limits. Rate limits from gateway routes (such as OpenRouter and namespaced model IDs) now scope strictly to the limited model rather than blocking unrelated models on the same provider, with automatic migration clearing stale account-wide gateway holds on upgrade.
Improved
- Unicode-safe Pi session imports. Splits JSONL transcripts on LF alone and slices on code points so
U+2028/U+2029line separators and multi-byte characters stay intact across chunk boundaries. - Safer non-git file browsing. Skips macOS
Libraryand WindowsAppDatadirectories when walking non-git folders. - Cleaner prompt budget & deferred tool hints. Includes background-task guidance only when the agent has the
backgroundtool, and sharpens deferred-tool search hints. - Session row chips & avatar polish. Shows overflow extension chips as a
+Nchip (hover tooltip on desktop, tap notice on mobile, non-selectable chip text) and scales avatar initials proportionally with a readable8 pxfloor on small circles.
Updating
- Run Menu -> Update Pi Pocket, or install the latest npm package or desktop installer.
- If you have Pulse Nano enabled, open Menu -> Providers and click Update to v0.5.0.
How this release was checked
- Evaluated Pulse Nano
v0.5.0(ettin-68m-v8) end-to-end through Pi Pocket'sLocalClassifier+findLikelySecreton the locked 1,080-casePulseBench v2suite (0overlaps across183,528training rows; FP32/INT8 cosine parity0.99888). - Passed
npm run check,npm run lint, Prettier, GitGuardian, Greptile (5/5), Docs build, and the full Linux (with Chromium), macOS (tests + arm64/x86_64 installers), and Windows (tests + installer + installed self-update) CI suites on PR #444.
Full changes: v0.31.2...v0.31.3