@jambonz/sdk 0.1.26 → 0.1.28

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 (36) hide show
  1. package/dist/client/index.cjs +9 -0
  2. package/dist/client/index.cjs.map +1 -1
  3. package/dist/client/index.d.cts +8 -2
  4. package/dist/client/index.d.ts +8 -2
  5. package/dist/client/index.js +9 -0
  6. package/dist/client/index.js.map +1 -1
  7. package/dist/index.cjs +18 -0
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.cts +4 -4
  10. package/dist/index.d.ts +4 -4
  11. package/dist/index.js +18 -0
  12. package/dist/index.js.map +1 -1
  13. package/dist/{rest-DzbjthIp.d.ts → rest-Bm5uZqIB.d.ts} +9 -1
  14. package/dist/{rest-CQaCWVvC.d.cts → rest-VprW36o-.d.cts} +9 -1
  15. package/dist/{session-B6KvPS3U.d.cts → session-DVGHbtan.d.cts} +46 -2
  16. package/dist/{session-B6KvPS3U.d.ts → session-DVGHbtan.d.ts} +46 -2
  17. package/dist/types/index.d.cts +3 -3
  18. package/dist/types/index.d.ts +3 -3
  19. package/dist/{verb-builder-Cs3DsBTO.d.ts → verb-builder-CnqpQcT3.d.ts} +1 -1
  20. package/dist/{verb-builder-CDtXPHlG.d.cts → verb-builder-DHzc_LPM.d.cts} +1 -1
  21. package/dist/{verbs-B0sjXLLN.d.cts → verbs-DB-J_0eQ.d.cts} +9 -0
  22. package/dist/{verbs-B0sjXLLN.d.ts → verbs-DB-J_0eQ.d.ts} +9 -0
  23. package/dist/webhook/index.d.cts +2 -2
  24. package/dist/webhook/index.d.ts +2 -2
  25. package/dist/websocket/index.cjs +9 -0
  26. package/dist/websocket/index.cjs.map +1 -1
  27. package/dist/websocket/index.d.cts +9 -3
  28. package/dist/websocket/index.d.ts +9 -3
  29. package/dist/websocket/index.js +9 -0
  30. package/dist/websocket/index.js.map +1 -1
  31. package/package.json +1 -1
  32. package/schema/callbacks/pipeline-turn.schema.json +88 -46
  33. package/schema/components/synthesizer.schema.json +2 -2
  34. package/schema/jambonz-app.schema.json +1 -1
  35. package/schema/verbs/config.schema.json +1 -1
  36. package/schema/verbs/pipeline.schema.json +62 -0
@@ -54,7 +54,7 @@
54
54
  [
55
55
  {
56
56
  "verb": "config",
57
- "synthesizer": { "vendor": "elevenlabs", "voice": "Rachel", "language": "en-US" },
57
+ "synthesizer": { "vendor": "elevenlabs", "voice": "EXAVITQu4vr4xnSDxMaL", "language": "en-US" },
58
58
  "recognizer": { "vendor": "deepgram", "language": "en-US" }
59
59
  },
60
60
  {
@@ -160,7 +160,7 @@
160
160
  },
161
161
  "noiseIsolation": {
162
162
  "type": "object",
163
- "description": "Noise isolation configuration to reduce background noise on the caller's audio.",
163
+ "description": "Noise isolation configuration to reduce background noise on call audio. Defaults to filtering inbound (caller) audio; can also filter outbound audio via the direction option.",
164
164
  "properties": {
165
165
  "enable": {
166
166
  "type": "boolean"
@@ -104,6 +104,68 @@
104
104
  "type": "boolean",
105
105
  "description": "Enable speculative LLM prompting before end-of-turn is confirmed. When using Krisp turn detection, set this to true to speculatively prompt the LLM before Krisp confirms the turn has ended. If the transcript matches when turn ends, buffered tokens are released immediately — reducing response latency. Note: Deepgram Flux performs early generation automatically via its native EagerEndOfTurn signal regardless of this setting. Default: false.",
106
106
  "default": false
107
+ },
108
+ "noiseIsolation": {
109
+ "oneOf": [
110
+ {
111
+ "type": "string",
112
+ "enum": ["krisp", "rnnoise"],
113
+ "description": "Shorthand — enable noise isolation with the specified vendor using default settings."
114
+ },
115
+ {
116
+ "type": "object",
117
+ "description": "Detailed noise isolation configuration.",
118
+ "properties": {
119
+ "mode": {
120
+ "type": "string",
121
+ "description": "Noise isolation vendor/mode (e.g. 'krisp')."
122
+ },
123
+ "level": {
124
+ "type": "number",
125
+ "minimum": 0,
126
+ "maximum": 100,
127
+ "description": "Suppression level 0–100. Default: 100."
128
+ },
129
+ "direction": {
130
+ "type": "string",
131
+ "enum": ["read", "write"],
132
+ "description": "Audio direction to apply noise isolation. 'read' filters caller audio, 'write' filters outbound audio. Default: 'read'."
133
+ },
134
+ "model": {
135
+ "type": "string",
136
+ "description": "Optional model name override."
137
+ }
138
+ },
139
+ "required": ["mode"],
140
+ "additionalProperties": false
141
+ }
142
+ ],
143
+ "description": "Enable server-side noise isolation to reduce background noise on call audio. Defaults to filtering inbound (caller) audio; set direction to 'write' for outbound. Useful for improving STT accuracy in noisy environments."
144
+ },
145
+ "mcpServers": {
146
+ "type": "array",
147
+ "items": {
148
+ "type": "object",
149
+ "properties": {
150
+ "url": {
151
+ "type": "string",
152
+ "format": "uri",
153
+ "description": "The URL of the MCP server."
154
+ },
155
+ "auth": {
156
+ "type": "object",
157
+ "description": "Authentication for the MCP server.",
158
+ "additionalProperties": true
159
+ },
160
+ "roots": {
161
+ "type": "array",
162
+ "items": { "type": "object" },
163
+ "description": "MCP root definitions."
164
+ }
165
+ },
166
+ "required": ["url"]
167
+ },
168
+ "description": "External MCP servers that provide tools to the LLM. The pipeline connects at startup via SSE, discovers available tools, and makes them callable by the LLM."
107
169
  }
108
170
  },
109
171
  "required": [