Skip to content

Pi Pocket 0.31.3: Pulse Nano v0.5.0, webhook modes, and gateway limit scoping

Latest

Choose a tag to compare

@TannerMidd TannerMidd released this 30 Nov 23:13
79c61f1

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. Reaches 94.4 / 100 (+14.1 vs v0.4.0 legacy) on our locked 1,080-case held-out benchmark (PulseBench v2, 0% training overlap) at 104 ms P95 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/18 past 6,000 chars).
    • Token-aware windowing & text normalization raises local relay screening to 24,000 chars in 360-token windows, eliminating dense CJK/emoji/base64 truncation (16/16 inbound & outbound) and double-space/code-paste false positives (100% benign pass, 0/46 code-paste FPs).
    • Stronger core heads: 100.0% on decoupled stall/loop checks (160/160), 94.4% run-outcome accuracy, 91.0 F1 on memory suggestions (98.9% specificity, 1 FP out of 90 traps), and 86.3 NDCG (71% Top-1) on PiP session routing.
  • Webhook & inbox delivery modes. Non-GitHub JSON webhooks and host.inbox.deliver now accept mode: "steer" (join a busy session at the next tool boundary) or mode: "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+2029 line separators and multi-byte characters stay intact across chunk boundaries.
  • Safer non-git file browsing. Skips macOS Library and Windows AppData directories when walking non-git folders.
  • Cleaner prompt budget & deferred tool hints. Includes background-task guidance only when the agent has the background tool, and sharpens deferred-tool search hints.
  • Session row chips & avatar polish. Shows overflow extension chips as a +N chip (hover tooltip on desktop, tap notice on mobile, non-selectable chip text) and scales avatar initials proportionally with a readable 8 px floor on small circles.

Updating

  1. Run Menu -> Update Pi Pocket, or install the latest npm package or desktop installer.
  2. 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's LocalClassifier + findLikelySecret on the locked 1,080-case PulseBench v2 suite (0 overlaps across 183,528 training rows; FP32/INT8 cosine parity 0.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