@domdhi/claude-code-tts 1.3.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/install.py +4 -0
  2. package/package.json +1 -1
package/install.py CHANGED
@@ -183,6 +183,10 @@ def offer_kokoro():
183
183
  def _hook_command(script_name):
184
184
  """Return the shell command string for a given hook script."""
185
185
  path = os.path.join(INSTALL_DIR, script_name)
186
+ if sys.platform == 'win32':
187
+ # Claude Code runs hooks via bash — bash cannot resolve C:\...\python.exe as a command.
188
+ # Use 'python' (on PATH) instead of the full Windows executable path.
189
+ return f'python "{path}"'
186
190
  return f'{sys.executable} "{path}"'
187
191
 
188
192
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domdhi/claude-code-tts",
3
- "version": "1.3.0",
3
+ "version": "2.0.0",
4
4
  "description": "Neural TTS hook system for Claude Code. Reads Claude's responses aloud as they finish.",
5
5
  "bin": {
6
6
  "claude-code-tts": "bin/install.js"