@jambonz/schema 0.3.2 → 0.3.4

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.
@@ -141,6 +141,11 @@
141
141
  "eagerEotThreshold": {
142
142
  "type": "number",
143
143
  "description": "Eager end-of-turn threshold for faster response."
144
+ },
145
+ "languageHints": {
146
+ "type": "array",
147
+ "items": { "type": "string" },
148
+ "description": "Language hints for Deepgram Flux Multilingual. BCP-47 codes (e.g. 'en', 'es', 'fr'). Biases transcription toward specified languages."
144
149
  }
145
150
  },
146
151
  "additionalProperties": false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jambonz/schema",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "description": "JSON Schema definitions and validation for jambonz verb applications",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -21,6 +21,25 @@
21
21
  "$ref": "../components/synthesizer",
22
22
  "description": "Text-to-speech configuration for the agent."
23
23
  },
24
+ "autoLockLanguage": {
25
+ "type": "boolean",
26
+ "description": "When using Deepgram Flux Multilingual, automatically lock STT to the detected language after first utterance and switch TTS voice if configured in languageConfig. Default: false.",
27
+ "default": false
28
+ },
29
+ "languageConfig": {
30
+ "type": "object",
31
+ "description": "Per-language overrides for TTS. Keys are BCP-47 language codes. When autoLockLanguage detects a language switch, the agent uses the corresponding config.",
32
+ "additionalProperties": {
33
+ "type": "object",
34
+ "properties": {
35
+ "tts": {
36
+ "$ref": "../components/synthesizer",
37
+ "description": "TTS config override for this language. Merged with default tts."
38
+ }
39
+ },
40
+ "additionalProperties": false
41
+ }
42
+ },
24
43
  "turnDetection": {
25
44
  "oneOf": [
26
45
  {
@@ -100,7 +119,8 @@
100
119
  "bedrock",
101
120
  "deepseek",
102
121
  "azure-openai",
103
- "groq"
122
+ "groq",
123
+ "huggingface"
104
124
  ],
105
125
  "description": "LLM vendor id. Must match a `@jambonz/llm` registered adapter."
106
126
  },