Skip to content

v0.1.0-beta.6

Pre-release
Pre-release

Choose a tag to compare

@yoyoismee yoyoismee released this 06 Sep 10:19
· 7 commits to main since this release

Faster, free hook notifications. paxa say now synthesizes each built-in hook phrase once per voice and keeps the audio in your user cache directory, so later notifications play from disk: no network round trip and no credits. On a Mac a permission notification went from about 2.3 s to 1.4 s, and 1.25 s of that is the voice itself.

Custom phrases. Write your own text in the hook command and add --cache so it gets the same treatment, one hook entry per matcher:

{ "matcher": "permission_prompt", "hooks": [{ "type": "command", "command": "paxa say --cache \"Hey, need your OK\"" }] }

Without --cache, nothing you type or pipe into paxa say is written to disk, and messages carried inside a hook payload never are.

Faster player start. Cached phrases play through the installed player with the smallest start-up cost: mpg123 (about 50 ms), then ffplay or mpv (about 300 ms), falling back to the platform player. On macOS the built-in afplay needs 0.4 to 0.9 s just to start and stop, so brew install mpg123 makes a real difference for short phrases.

Also

  • paxa say no longer loads the MCP server, so it starts in about 20 ms instead of 70 to 100.
  • Shorter built-in phrases: "Permission needed.", "Waiting for you.", "Question for you.", "Input needed.", "Finished.", "Done.", "Stopped with an error."

Install

  • Claude Code: claude mcp add paxa -e PAXA_API_KEY=pxa_... -- npx -y @paxalabs/mcp
  • Claude Desktop: download paxalabs-mcp-0.1.0-beta.6.mcpb below and open it.
  • Command line: npm install -g @paxalabs/mcp (hooks run this one; upgrade with the same command)

See "Voice mode for Claude Code" in the README for the hook configuration.