From a50ab06423ed4690f0bea0bfbb740d267be9d0a4 Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Tue, 27 Oct 2026 11:43:43 -0400 Subject: [PATCH] feat(agent): llmOptions.vendorParams type; catch up with schema 0.4.29 @jambonz/schema ^0.4.26 -> ^0.4.29. Adds AgentLlmOptions.vendorParams and the deprecated reasoningEffort, and Recognizer.giggyOptions, which the drift test flagged after the bump. Co-Authored-By: Claude Opus 5.5 --- typescript/package-lock.json | 8 ++++---- typescript/package.json | 2 +- typescript/src/types/components.ts | 1 + typescript/src/types/verbs.ts | 13 +++++++++++++ 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/typescript/package-lock.json b/typescript/package-lock.json index 9a5ca28..5c11d6c 100644 --- a/typescript/package-lock.json +++ b/typescript/package-lock.json @@ -9,7 +9,7 @@ "version": "0.11.0", "license": "MIT", "dependencies": { - "@jambonz/schema": "^0.4.26", + "@jambonz/schema": "^0.4.29", "ajv": "^8.17.1", "ws": "^8.18.0" }, @@ -582,9 +582,9 @@ } }, "node_modules/@jambonz/schema": { - "version": "0.4.26", - "resolved": "https://registry.npmjs.org/@jambonz/schema/-/schema-0.4.26.tgz", - "integrity": "sha512-IJEyeDWwxibOAcWjAPgYE+AR+tVECobpD8q/1NOjdHbyYVktcHV7NITjcrmQiV62H8InkcSTFcV+k5VqQ2F2jQ==", + "version": "0.4.29", + "resolved": "https://registry.npmjs.org/@jambonz/schema/-/schema-0.4.29.tgz", + "integrity": "sha512-oYx41KuuADc2maBLrwFm5QAYP7M/aQ6UdAwqsr+Ch9BsJ9odRGDKtTHl015AzLf26b7CJKdU+80hyOQcDP1YOA==", "license": "MIT", "dependencies": { "ajv": "^8.17.1", diff --git a/typescript/package.json b/typescript/package.json index b874eeb..10ac915 100644 --- a/typescript/package.json +++ b/typescript/package.json @@ -95,7 +95,7 @@ "postpublish": "npm run clean-docs" }, "dependencies": { - "@jambonz/schema": "^0.4.26", + "@jambonz/schema": "^0.4.29", "ajv": "^8.17.1", "ws": "^8.18.0" }, diff --git a/typescript/src/types/components.ts b/typescript/src/types/components.ts index 40bba02..dc4107a 100644 --- a/typescript/src/types/components.ts +++ b/typescript/src/types/components.ts @@ -147,6 +147,7 @@ export interface Recognizer { elevenlabsOptions?: Record; verbioOptions?: Record; gradiumOptions?: Record; + giggyOptions?: Record; mistralOptions?: Record; modulateOptions?: Record; zoomOptions?: Record; diff --git a/typescript/src/types/verbs.ts b/typescript/src/types/verbs.ts index ef6583d..a31ba40 100644 --- a/typescript/src/types/verbs.ts +++ b/typescript/src/types/verbs.ts @@ -163,6 +163,19 @@ export interface AgentLlmOptions { maxTokens?: number; /** Sampling temperature. */ temperature?: number; + /** + * @deprecated Has no effect. Set the vendor's own thinking parameter in + * `vendorParams` instead, e.g. `{ reasoning_effort: 'none' }` for openai. + */ + reasoningEffort?: 'minimal' | 'low' | 'medium' | 'high'; + /** + * Vendor-specific request parameters, passed to the vendor as-is, e.g. + * `{ provider: { sort: 'latency' } }` for openrouter. Added to the request + * body (OpenAI-compatible vendors) or generation config (google, + * vertex-gemini); never overrides a field jambonz sets. Ignored by + * anthropic and bedrock. + */ + vendorParams?: Record; /** Tools / functions the model may call. */ tools?: (LlmTool | LlmToolOpenAIWrapped)[]; }