@jambonz/schema 0.3.16 → 0.3.17

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.
@@ -93,6 +93,21 @@
93
93
  "type": "array",
94
94
  "items": { "type": "string" },
95
95
  "description": "List of event types to receive via the eventHook."
96
+ },
97
+ "responseTimeoutMs": {
98
+ "type": "integer",
99
+ "minimum": 1,
100
+ "description": "Opt-in per-response stall watchdog (s2s vendors that support app-driven turn-taking, e.g. openai). Milliseconds to wait for a solicited response to be acknowledged before declaring a stall. When the timer expires a '{type:\"response.timeout\"}' event is sent to the eventHook. Omit or set to 0 to disable (the default)."
101
+ },
102
+ "cancelOnResponseTimeout": {
103
+ "type": "boolean",
104
+ "default": false,
105
+ "description": "When a response stall is detected (see responseTimeoutMs), cancel the in-progress server-side response so the next turn does not collide with an active response. Has no effect unless responseTimeoutMs is set."
106
+ },
107
+ "cancelOnBargeIn": {
108
+ "type": "boolean",
109
+ "default": false,
110
+ "description": "On caller barge-in, cancel the in-progress server-side response. Intended for app-driven turn-taking configurations where the vendor does not cancel the response itself (server-VAD configurations are unaffected)."
96
111
  }
97
112
  }
98
113
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jambonz/schema",
3
- "version": "0.3.16",
3
+ "version": "0.3.17",
4
4
  "description": "JSON Schema definitions and validation for jambonz verb applications",
5
5
  "main": "index.js",
6
6
  "scripts": {