@nicfox77/parakeet-stt 0.2.7 → 0.2.8

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nicfox77/parakeet-stt",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "Parakeet TDT INT8 speech-to-text plugin for OpenClaw. Supports V2 (English) and V3 (Multilingual) models.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -150,7 +150,8 @@ configure_openclaw() {
150
150
  # Use config.patch RPC for partial update
151
151
  if command -v openclaw &> /dev/null; then
152
152
  # Get current config hash (required for config.patch)
153
- CONFIG_HASH=$(openclaw gateway call config.get --params '{}' --json 2>/dev/null | jq -r '.payload.hash' 2>/dev/null)
153
+ # Hash is at root level in the response, extract with grep
154
+ CONFIG_HASH=$(openclaw gateway call config.get --params '{}' --json 2>/dev/null | grep -oP '"hash"\s*:\s*"\K[^"]+' | tail -1)
154
155
 
155
156
  if [ -n "$CONFIG_HASH" ] && [ "$CONFIG_HASH" != "null" ]; then
156
157
  openclaw gateway call config.patch --params '{