@xdfnet/ispeak 1.6.14 → 1.6.15

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.
@@ -111,7 +111,7 @@ function collectText(content) {
111
111
  }
112
112
 
113
113
  function lastClaudeTranscript(file, payload) {
114
- const deadline = Date.now() + 1200;
114
+ const deadline = Date.now() + 5000;
115
115
  let result = { text: "", turnId: extractTurnId(payload) };
116
116
 
117
117
  while (Date.now() <= deadline) {
@@ -164,13 +164,7 @@ function extractTurnId(payload) {
164
164
  return firstString(
165
165
  payload.turn_id,
166
166
  payload.turnId,
167
- payload["turn-id"],
168
- payload.session_id,
169
- payload.sessionId,
170
- payload["session-id"],
171
- payload.thread_id,
172
- payload.threadId,
173
- payload["thread-id"]
167
+ payload["turn-id"]
174
168
  );
175
169
  }
176
170
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xdfnet/ispeak",
3
- "version": "1.6.14",
3
+ "version": "1.6.15",
4
4
  "description": "Local macOS TTS daemon for AI coding assistants, powered by Volcengine streaming TTS.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/xdfnet/iSpeak#readme",