@0xmaxma/claude-gateway 2.0.1 → 2.0.3

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 (52) hide show
  1. package/README.md +7 -0
  2. package/dist/agent/runner.js +1 -1
  3. package/dist/agent/runner.js.map +1 -1
  4. package/dist/cli/commands/doctor.d.ts +1 -1
  5. package/dist/cli/commands/doctor.d.ts.map +1 -1
  6. package/dist/cli/commands/doctor.js +40 -2
  7. package/dist/cli/commands/doctor.js.map +1 -1
  8. package/dist/cli/dependencies.d.ts +22 -0
  9. package/dist/cli/dependencies.d.ts.map +1 -0
  10. package/dist/cli/dependencies.js +105 -0
  11. package/dist/cli/dependencies.js.map +1 -0
  12. package/dist/cli/index.js +2 -2
  13. package/dist/cli/index.js.map +1 -1
  14. package/dist/cli/startup-diagnostics.d.ts +15 -0
  15. package/dist/cli/startup-diagnostics.d.ts.map +1 -0
  16. package/dist/cli/startup-diagnostics.js +266 -0
  17. package/dist/cli/startup-diagnostics.js.map +1 -0
  18. package/dist/orchestration/bridge.d.ts +1 -0
  19. package/dist/orchestration/bridge.d.ts.map +1 -1
  20. package/dist/orchestration/bridge.js +7 -0
  21. package/dist/orchestration/bridge.js.map +1 -1
  22. package/dist/orchestration/process-turn.js +1 -1
  23. package/dist/orchestration/process-turn.js.map +1 -1
  24. package/dist/orchestration/runtime.d.ts +1 -1
  25. package/dist/orchestration/runtime.d.ts.map +1 -1
  26. package/dist/orchestration/runtime.js +45 -15
  27. package/dist/orchestration/runtime.js.map +1 -1
  28. package/dist/orchestration/store.d.ts.map +1 -1
  29. package/dist/orchestration/store.js +31 -1
  30. package/dist/orchestration/store.js.map +1 -1
  31. package/dist/orchestration/task-questions.d.ts +23 -5
  32. package/dist/orchestration/task-questions.d.ts.map +1 -1
  33. package/dist/orchestration/task-questions.js +126 -54
  34. package/dist/orchestration/task-questions.js.map +1 -1
  35. package/dist/orchestration/tasks/service.d.ts +2 -0
  36. package/dist/orchestration/tasks/service.d.ts.map +1 -1
  37. package/dist/orchestration/tasks/service.js +4 -0
  38. package/dist/orchestration/tasks/service.js.map +1 -1
  39. package/dist/voice/errors.d.ts +1 -1
  40. package/dist/voice/errors.d.ts.map +1 -1
  41. package/dist/voice/errors.js +4 -1
  42. package/dist/voice/errors.js.map +1 -1
  43. package/dist/voice/line-audio.d.ts.map +1 -1
  44. package/dist/voice/line-audio.js +14 -1
  45. package/dist/voice/line-audio.js.map +1 -1
  46. package/dist/voice/providers/gemini.js +1 -1
  47. package/dist/voice/providers/gemini.js.map +1 -1
  48. package/dist/voice/session.d.ts.map +1 -1
  49. package/dist/voice/session.js +7 -1
  50. package/dist/voice/session.js.map +1 -1
  51. package/mcp/tools/tasks/module.ts +1 -0
  52. package/package.json +1 -1
package/README.md CHANGED
@@ -69,3 +69,10 @@ Follow the [quickstart](https://0xmaxma.github.io/claude-gateway/guide/quickstar
69
69
  | Source builds and contributions | [Development](https://0xmaxma.github.io/claude-gateway/reference/development.html) |
70
70
 
71
71
  API documentation lives on the documentation website. [CLI command reference](https://0xmaxma.github.io/claude-gateway/reference/cli.html) is the generated command reference. To edit or preview this site, see [website development](website/README.md).
72
+
73
+ ### Installation health
74
+
75
+ Run `claude-gateway doctor` to check startup and voice dependencies, even when the
76
+ server is down. Use `claude-gateway doctor fix` for supported local repairs and
77
+ installation of missing `ffmpeg`/`ffprobe`. Repair asks for confirmation and never
78
+ starts or restarts the gateway. See [diagnosis and repair](https://0xmaxma.github.io/claude-gateway/guide/troubleshooting.html#gateway-will-not-start-doctor-and-repair).
@@ -404,7 +404,7 @@ class AgentRunner extends events_1.EventEmitter {
404
404
  await runtime.flushHistory();
405
405
  return task;
406
406
  }
407
- stopVoiceResponse(sessionId) { this.orchestration?.stopResponse(sessionId); }
407
+ stopVoiceResponse(sessionId) { this.orchestration?.stopResponse(sessionId, 'barge-in'); }
408
408
  async sendOrchestratedApi(sessionId, chatId, message, opts, onText, onTool) {
409
409
  const semantic = this.agentConfig.orchestration?.conversation?.semanticIntake === true;
410
410
  if (!semantic && this.pendingApiSessions.has(sessionId))