Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:28:23 +08:00
commit 35fec1cf66
6 changed files with 365 additions and 0 deletions

19
hooks/scripts/session-start.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
# SessionStart hook for TTS output plugin
# This script injects a system prompt to request TTS summaries
cat <<'EOF'
IMPORTANT: The TTS output plugin is active. At the end of each final response, include an HTML comment with a brief summary for text-to-speech output:
<!-- TTS-SUMMARY: 1-2 sentence summary of your response -->
The summary should:
- Be concise (1-2 sentences maximum)
- Capture the key point or result of your response
- Be natural and speakable (avoid technical jargon when possible)
- Focus on what you accomplished or the main takeaway
Example:
<!-- TTS-SUMMARY: I've successfully implemented the authentication feature and all tests are passing. -->
EOF