@jambonz/schema 0.3.23 → 0.4.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jambonz/schema",
3
- "version": "0.3.23",
3
+ "version": "0.4.0",
4
4
  "description": "JSON Schema definitions and validation for jambonz verb applications",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -124,16 +124,15 @@
124
124
  },
125
125
  "llm": {
126
126
  "type": "object",
127
- "description": "LLM configuration for the agent.",
128
- "required": ["vendor", "model"],
127
+ "description": "LLM configuration for the agent. Optional: when omitted, or when `vendor`/`model` are omitted, they fall back to the application's configured default LLM (like `stt`/`tts`).",
129
128
  "properties": {
130
129
  "vendor": {
131
130
  "type": "string",
132
- "description": "LLM vendor id. Must match a `@jambonz/llm` registered adapter."
131
+ "description": "LLM vendor id. Must match a `@jambonz/llm` registered adapter. Optional: falls back to the application's default LLM vendor."
133
132
  },
134
133
  "model": {
135
134
  "type": "string",
136
- "description": "Vendor-specific model id (e.g. 'gpt-4o', 'claude-sonnet-4-5-20250929')."
135
+ "description": "Vendor-specific model id (e.g. 'gpt-4o', 'claude-sonnet-4-5-20250929'). Optional: falls back to the application's default LLM model."
137
136
  },
138
137
  "label": {
139
138
  "type": "string",
@@ -304,9 +303,6 @@
304
303
  "description": "Configuration for playing filler audio while tool calls are in progress. Prevents silence during long-running tool executions."
305
304
  }
306
305
  },
307
- "required": [
308
- "llm"
309
- ],
310
306
  "$defs": {
311
307
  "llmMessage": {
312
308
  "type": "object",