Repository navigation
feat(agent): speak, speechCleanup; catch up types with schema 0.4.26 - #21
Merged
Merged
Conversation
@jambonz/schema ^0.4.2 -> ^0.4.26 (the lockfile still had 0.4.2, so the drift test had been checking against a schema from months ago). Fixes the drifts that exposed: - AgentVerb: speak, speechCleanup, noResponseMaxPrompts - gptlive_s2s, nova_s2s, voicelive_s2s: types and builder methods - Recognizer: gradiumOptions, mistralOptions, modulateOptions, zoomOptions - DialVerb.codecs; DialogflowVerb.deployment, sessionId Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the new agent options and brings the SDK's types up to
@jambonz/schema0.4.26.Agent (
AgentVerb):speak(default true): false keeps the agent's text out of TTS (feature-server#297).speechCleanup(default true): drops stage-direction-only paragraphs and<think>-style blocks before TTS (feature-server#298).noResponseMaxPrompts, andnoResponseTimeout's documented default corrected to 12.Why the rest is here:
schema-drift.test.tscompares the TypeScript interfaces with the installed schema, but the lockfile had@jambonz/schema0.4.2, so it had been checking against an old schema. Adding the agent fields requires the bump to^0.4.26, and the bump surfaced these gaps, now fixed:gptlive_s2s,nova_s2s,voicelive_s2s: verb types (in theVerbunion) and builder/session methods, likeqwen_s2s.Recognizer:gradiumOptions,mistralOptions,modulateOptions,zoomOptions.DialVerb.codecs;DialogflowVerb.deployment,sessionId.Checks:
npm run typecheckclean,npm test130/130 (including the drift test),npm run buildOK. Not run:npm run lint(eslint isn't installed in this package and CI doesn't run it).🤖 Generated with Claude Code