@wildix/wilma-agents-client 1.0.48 → 1.0.50

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.
@@ -322,6 +322,7 @@ const _ki = "kinds";
322
322
  const _l = "language";
323
323
  const _lUA = "lastUsedAt";
324
324
  const _lV = "latestVersion";
325
+ const _lVi = "liveVoice";
325
326
  const _la = "layout";
326
327
  const _lab = "label";
327
328
  const _lan = "languages";
@@ -903,8 +904,8 @@ exports.AgentWorkflowVariablesHandler$ = [3, n2, _AWVH,
903
904
  ];
904
905
  exports.AssistantAudioSettings$ = [3, n2, _AAS,
905
906
  0,
906
- [_ena, _en, _sp],
907
- [2, 0, () => exports.AssistantSpeechSettings$], 1
907
+ [_ena, _en, _lVi, _sp],
908
+ [2, 0, 0, () => exports.AssistantSpeechSettings$], 1
908
909
  ];
909
910
  exports.AssistantChannelSettings$ = [3, n2, _ACS,
910
911
  0,
@@ -316,6 +316,7 @@ const _ki = "kinds";
316
316
  const _l = "language";
317
317
  const _lUA = "lastUsedAt";
318
318
  const _lV = "latestVersion";
319
+ const _lVi = "liveVoice";
319
320
  const _la = "layout";
320
321
  const _lab = "label";
321
322
  const _lan = "languages";
@@ -897,8 +898,8 @@ export var AgentWorkflowVariablesHandler$ = [3, n2, _AWVH,
897
898
  ];
898
899
  export var AssistantAudioSettings$ = [3, n2, _AAS,
899
900
  0,
900
- [_ena, _en, _sp],
901
- [2, 0, () => AssistantSpeechSettings$], 1
901
+ [_ena, _en, _lVi, _sp],
902
+ [2, 0, 0, () => AssistantSpeechSettings$], 1
902
903
  ];
903
904
  export var AssistantChannelSettings$ = [3, n2, _ACS,
904
905
  0,
@@ -148,6 +148,7 @@ declare const CreateAgentCommand_base: {
148
148
  * audio: { // AssistantAudioSettings
149
149
  * enabled: true || false, // required
150
150
  * engine: "STRING_VALUE",
151
+ * liveVoice: "STRING_VALUE",
151
152
  * speech: { // AssistantSpeechSettings
152
153
  * languages: [ // AssistantLanguageList // required
153
154
  * { // AssistantLanguage
@@ -1058,6 +1059,7 @@ declare const CreateAgentCommand_base: {
1058
1059
  * // audio: { // AssistantAudioSettings
1059
1060
  * // enabled: true || false, // required
1060
1061
  * // engine: "STRING_VALUE",
1062
+ * // liveVoice: "STRING_VALUE",
1061
1063
  * // speech: { // AssistantSpeechSettings
1062
1064
  * // languages: [ // AssistantLanguageList // required
1063
1065
  * // { // AssistantLanguage
@@ -155,6 +155,7 @@ declare const GetAgentCommand_base: {
155
155
  * // audio: { // AssistantAudioSettings
156
156
  * // enabled: true || false, // required
157
157
  * // engine: "STRING_VALUE",
158
+ * // liveVoice: "STRING_VALUE",
158
159
  * // speech: { // AssistantSpeechSettings
159
160
  * // languages: [ // AssistantLanguageList // required
160
161
  * // { // AssistantLanguage
@@ -162,6 +162,7 @@ declare const GetAgentVersionCommand_base: {
162
162
  * // audio: { // AssistantAudioSettings
163
163
  * // enabled: true || false, // required
164
164
  * // engine: "STRING_VALUE",
165
+ * // liveVoice: "STRING_VALUE",
165
166
  * // speech: { // AssistantSpeechSettings
166
167
  * // languages: [ // AssistantLanguageList // required
167
168
  * // { // AssistantLanguage
@@ -160,6 +160,7 @@ declare const ListAgentsCommand_base: {
160
160
  * // audio: { // AssistantAudioSettings
161
161
  * // enabled: true || false, // required
162
162
  * // engine: "STRING_VALUE",
163
+ * // liveVoice: "STRING_VALUE",
163
164
  * // speech: { // AssistantSpeechSettings
164
165
  * // languages: [ // AssistantLanguageList // required
165
166
  * // { // AssistantLanguage
@@ -164,6 +164,7 @@ declare const PublishAgentVersionCommand_base: {
164
164
  * // audio: { // AssistantAudioSettings
165
165
  * // enabled: true || false, // required
166
166
  * // engine: "STRING_VALUE",
167
+ * // liveVoice: "STRING_VALUE",
167
168
  * // speech: { // AssistantSpeechSettings
168
169
  * // languages: [ // AssistantLanguageList // required
169
170
  * // { // AssistantLanguage
@@ -157,6 +157,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
157
157
  * // audio: { // AssistantAudioSettings
158
158
  * // enabled: true || false, // required
159
159
  * // engine: "STRING_VALUE",
160
+ * // liveVoice: "STRING_VALUE",
160
161
  * // speech: { // AssistantSpeechSettings
161
162
  * // languages: [ // AssistantLanguageList // required
162
163
  * // { // AssistantLanguage
@@ -148,6 +148,7 @@ declare const UpdateAgentCommand_base: {
148
148
  * audio: { // AssistantAudioSettings
149
149
  * enabled: true || false, // required
150
150
  * engine: "STRING_VALUE",
151
+ * liveVoice: "STRING_VALUE",
151
152
  * speech: { // AssistantSpeechSettings
152
153
  * languages: [ // AssistantLanguageList // required
153
154
  * { // AssistantLanguage
@@ -1060,6 +1061,7 @@ declare const UpdateAgentCommand_base: {
1060
1061
  * // audio: { // AssistantAudioSettings
1061
1062
  * // enabled: true || false, // required
1062
1063
  * // engine: "STRING_VALUE",
1064
+ * // liveVoice: "STRING_VALUE",
1063
1065
  * // speech: { // AssistantSpeechSettings
1064
1066
  * // languages: [ // AssistantLanguageList // required
1065
1067
  * // { // AssistantLanguage
@@ -201,6 +201,26 @@ export interface AssistantAudioSettings {
201
201
  * @public
202
202
  */
203
203
  engine?: string | undefined;
204
+ /**
205
+ * Voice the gateway speaks with. Read only by 'gpt-live', 'gemini-live' and 'gemini-live-thinking' —
206
+ * the same three engines `AssistantLanguage.voice` is silent for, and for the mirror-image reason:
207
+ * that member is read only by the 'voice' engine, which is the one engine that synthesizes; this one
208
+ * is read only by the gateways, which are the ones with a voice of their own to name. Absent is the
209
+ * gateway's own default voice. Ignored, but kept, by the 'voice' engine — an agent switched back to
210
+ * it keeps whatever was saved here, unused until it is switched to a gateway again.
211
+ *
212
+ * A NAME, NOT A URI, unlike `AssistantLanguage.voice`. A gateway's voice is never synthesized by this
213
+ * stack, so there is no provider scheme to prefix and no synthesis parameter to carry on it — only
214
+ * the vendor's own prebuilt voice name ('marin', 'Kore', ...), exactly as the gateway's own API takes
215
+ * it.
216
+ *
217
+ * VALIDATED AGAINST THE SELECTED GATEWAY'S OWN CATALOG, not a shared one: OpenAI's Realtime voices
218
+ * and Gemini's prebuilt voices do not overlap. Enforced in the service
219
+ * (`validateAssistantLiveVoice`, wilma-common), which reads the engine this contract has no view
220
+ * of — the same split `AssistantLanguage.voice`'s own REQUIRED ONLY FOR note describes.
221
+ * @public
222
+ */
223
+ liveVoice?: string | undefined;
204
224
  /**
205
225
  * Languages, voices and recognition policy for assistant audio. Absent leaves those choices to platform defaults, including when audio is enabled.
206
226
  * @public
@@ -3582,7 +3602,7 @@ export interface AgentInfo {
3582
3602
  */
3583
3603
  speechConfigured?: boolean | undefined;
3584
3604
  /**
3585
- * Whether the assistant channel accepts audio calls, from `channels.assistant.audio.enabled`. `ChannelType.ASSISTANT` on `channels` says the assistant surface is served; this is the one bit end-user clients need to decide whether to offer a microphone on it at all, since `channels.assistant.audio` itself carries speech policy an end user must not see. Named for the flag it carries rather than the block it is read from — `assistant` two members below is the whole `AssistantUiSettings` structure, and a name that read like another one of those would point a reader at the wrong shape. Absent is read as false.
3605
+ * Whether an end-user client should offer a microphone for this agent: `channels.assistant.audio.enabled` of the definition the agent CURRENTLY RUNS — the deployment's routed version, else the latest published version, else the draft only when nothing was ever published — never an unpublished draft edit. That is the same definition the assistant voice socket resolves and gates on, so `true` here means a call will be accepted; the console preview, which dials `agentDraft=true`, decides from its own form state instead. `ChannelType.ASSISTANT` on `channels` says the assistant surface is served; this is the one bit end-user clients need on top of it, since `channels.assistant.audio` itself carries speech policy an end user must not see. Named for the flag it carries rather than the block it is read from — `assistant` two members below is the whole `AssistantUiSettings` structure, and a name that read like another one of those would point a reader at the wrong shape. Absent is read as false.
3586
3606
  * @public
3587
3607
  */
3588
3608
  assistantAudioEnabled?: boolean | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wilma-agents-client",
3
3
  "description": "@wildix/wilma-agents-client client",
4
- "version": "1.0.48",
4
+ "version": "1.0.50",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",