Skip to content

v0.6.3

Choose a tag to compare

@nicolotognoni nicolotognoni released this 29 May 11:09
· 70 commits to main since this release
9d775de

Highlights

Added

  • Completion-aware outbound calls — call(wait=True) → CallResult (both SDKs). Place a call and await its real outcome in one line instead of hand-wiring on_call_end/onCallEnd to an event. wait defaults to false (fire-and-forget, unchanged), so it's fully backward compatible. CallResult carries outcome (answered / voicemail / no_answer / busy / failed), status, duration, transcript, cost, metrics — every value from a real carrier signal.
  • Guaranteed teardown — async with Patter(...) (Python) / await using via [Symbol.asyncDispose] (TypeScript). Exiting always runs disconnect(), closing the billing-leak where a stray TTS WebSocket kept billing after the SDK was done.
  • Plivo as a third telephony carrier (both SDKs) with full Twilio/Telnyx parity — V3 HMAC-SHA256 webhook signature verification (fails closed), bidirectional media WebSocket, native sendDTMF, voicemail drop, CDR-reconciled pricing. call(wait=True) resolves for Plivo too. Thanks @amalshaji-plivo (#121).
  • Contributor guardrails — AGENTS.md, PR template + CONTRIBUTING.md pre-PR checklist (CHANGELOG, both-SDK parity, pr-validate.sh, notebook parity).

Fixed

  • Plivo + Pipeline + ElevenLabs garbled/static outbound audio (TypeScript) — added the plivo → ulaw_8000 native-format case so already-μ-law TTS bytes aren't re-encoded. Python was unaffected.
  • PatterTool (Python) always reported cost_usd=None / duration_seconds=0.0 — the result builder probed the CallMetrics payload as a dict; rebuilt on the call(wait=True) path.

Install: pip install getpatter==0.6.3 · npm install getpatter@0.6.3

Full changelog: CHANGELOG.md → 0.6.3. PRs: #120, #121.