@avallon-labs/mcp 62.5.0 → 62.6.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/dist/index.js
CHANGED
|
@@ -9311,8 +9311,8 @@ var UpdateVoiceAgentBody = zod.object({
|
|
|
9311
9311
|
"end_call": zod.boolean().optional().describe("Allow the agent to hang up the call."),
|
|
9312
9312
|
"transfer_phone_number": zod.union([zod.string(), zod.null()]).optional().describe("Phone number calls are transferred to. null removes it."),
|
|
9313
9313
|
"evaluator_slug": zod.union([zod.string().max(updateVoiceAgentBodyEvaluatorSlugOneMax).regex(updateVoiceAgentBodyEvaluatorSlugOneRegExp), zod.null()]).optional().describe("Evaluator that scores this agent's calls, created with `POST /v1/evaluators`. null detaches it. Omit to leave unchanged."),
|
|
9314
|
-
"prompt": zod.string().min(1).optional().describe("System prompt. For gpt-live-1 this is the reasoner prompt.
|
|
9315
|
-
"speaker_instructions": zod.union([zod.string().min(1), zod.null()]).optional().describe("Prompt for the gpt-live-1 speaker: persona, tone, and when to delegate to the reasoner. Ignored by other engines. null removes it.
|
|
9314
|
+
"prompt": zod.string().min(1).optional().describe("System prompt. For gpt-live-1 this is the reasoner prompt."),
|
|
9315
|
+
"speaker_instructions": zod.union([zod.string().min(1), zod.null()]).optional().describe("Prompt for the gpt-live-1 speaker: persona, tone, and when to delegate to the reasoner. Ignored by other engines. null removes it."),
|
|
9316
9316
|
"engine": zod.union([zod.object({
|
|
9317
9317
|
"type": zod.literal("pipeline"),
|
|
9318
9318
|
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]),
|
|
@@ -9335,7 +9335,7 @@ var UpdateVoiceAgentBody = zod.object({
|
|
|
9335
9335
|
"voice_id": zod.string().min(1).max(updateVoiceAgentBodyEngineTwoVoiceIdMax).regex(updateVoiceAgentBodyEngineTwoVoiceIdRegExp),
|
|
9336
9336
|
"reasoner_model": zod.enum(["gpt-5.6-luna", "gpt-5.6-terra"]).describe("Backend model the speech-to-speech model delegates reasoning and tool calls to. Its prompt is `prompt`.")
|
|
9337
9337
|
})]).optional().describe("Replaces the whole engine. Omitted pipeline fallbacks are removed."),
|
|
9338
|
-
"greeting": zod.union([zod.string().min(1), zod.null()]).optional().describe("Greeting spoken at the start of the call. null removes it.
|
|
9338
|
+
"greeting": zod.union([zod.string().min(1), zod.null()]).optional().describe("Greeting spoken at the start of the call. null removes it.")
|
|
9339
9339
|
});
|
|
9340
9340
|
var updateVoiceAgentResponseDataAgentInactivityTimeoutSecondsOneMin = -9007199254740991;
|
|
9341
9341
|
var updateVoiceAgentResponseDataAgentInactivityTimeoutSecondsOneMax = 9007199254740991;
|
|
@@ -11956,7 +11956,7 @@ var UpdateWorkerParams = zod.object({
|
|
|
11956
11956
|
});
|
|
11957
11957
|
var UpdateWorkerBody = zod.object({
|
|
11958
11958
|
"name": zod.string().min(1).optional(),
|
|
11959
|
-
"prompt": zod.string().min(1).optional().describe("Replace the worker's prompt.
|
|
11959
|
+
"prompt": zod.string().min(1).optional().describe("Replace the worker's prompt."),
|
|
11960
11960
|
"mcps": zod.array(zod.object({
|
|
11961
11961
|
"name": zod.enum(["ventiv", "klear", "klear-browser", "demo-browser", "demo-claims", "filehandler-browser"]).describe("MCP server identifier.")
|
|
11962
11962
|
})).optional().describe("Replace the MCP servers the worker connects to. Omit to leave unchanged; pass [] to disconnect all."),
|
|
@@ -12081,7 +12081,7 @@ var GetAccessResponse = zod.object({
|
|
|
12081
12081
|
"grants": zod.array(zod.object({
|
|
12082
12082
|
"principal_type": zod.enum(["profile", "worker", "tenant"]).describe("Who holds the grant: a team member's `profile`, a `worker`, whose runs act with it, or the whole `tenant`. `tenant` is not supported yet."),
|
|
12083
12083
|
"principal_id": zod.string().uuid(),
|
|
12084
|
-
"level": zod.enum(["viewer", "editor"]).describe("`viewer` can see and use the entity. `editor` can also change and share it. On a `worker`, `viewer` sees the worker, its prompt and everything it owns, and can start it; `editor` can also edit, promote, delete and share it. Attaching secrets and managing schedules still need the matching role permission. On a `case_type`, `editor` can also edit, promote and share it. On a `form`, `viewer` can see it and open form submissions; `editor` can also edit and share it. On a `voice_agent`, `editor` can also edit, promote, delete and share it and manage its webhooks
|
|
12084
|
+
"level": zod.enum(["viewer", "editor"]).describe("`viewer` can see and use the entity. `editor` can also change and share it. On a `worker`, `viewer` sees the worker, its prompt and everything it owns, and can start it; `editor` can also edit, promote, delete and share it. Attaching secrets and managing schedules still need the matching role permission. On a `case_type`, `editor` can also edit, promote and share it. On a `form`, `viewer` can see it and open form submissions; `editor` can also edit and share it. On a `voice_agent`, `editor` can also edit, promote, delete and share it and manage its webhooks."),
|
|
12085
12085
|
"created_at": zod.string().datetime({ "offset": true })
|
|
12086
12086
|
}))
|
|
12087
12087
|
}),
|
|
@@ -12099,7 +12099,7 @@ var ChangeAccessBody = zod.object({
|
|
|
12099
12099
|
"grants": zod.array(zod.object({
|
|
12100
12100
|
"principal_type": zod.enum(["profile", "worker", "tenant"]).describe("Who holds the grant: a team member's `profile`, a `worker`, whose runs act with it, or the whole `tenant`. `tenant` is not supported yet."),
|
|
12101
12101
|
"principal_id": zod.string().uuid(),
|
|
12102
|
-
"level": zod.enum(["viewer", "editor"]).describe("`viewer` can see and use the entity. `editor` can also change and share it. On a `worker`, `viewer` sees the worker, its prompt and everything it owns, and can start it; `editor` can also edit, promote, delete and share it. Attaching secrets and managing schedules still need the matching role permission. On a `case_type`, `editor` can also edit, promote and share it. On a `form`, `viewer` can see it and open form submissions; `editor` can also edit and share it. On a `voice_agent`, `editor` can also edit, promote, delete and share it and manage its webhooks
|
|
12102
|
+
"level": zod.enum(["viewer", "editor"]).describe("`viewer` can see and use the entity. `editor` can also change and share it. On a `worker`, `viewer` sees the worker, its prompt and everything it owns, and can start it; `editor` can also edit, promote, delete and share it. Attaching secrets and managing schedules still need the matching role permission. On a `case_type`, `editor` can also edit, promote and share it. On a `form`, `viewer` can see it and open form submissions; `editor` can also edit and share it. On a `voice_agent`, `editor` can also edit, promote, delete and share it and manage its webhooks.")
|
|
12103
12103
|
})).max(changeAccessBodyGrantsMax).default(changeAccessBodyGrantsDefault).describe("Grants to create, or whose level to change."),
|
|
12104
12104
|
"revocations": zod.array(zod.object({
|
|
12105
12105
|
"principal_type": zod.enum(["profile", "worker", "tenant"]).describe("Who holds the grant: a team member's `profile`, a `worker`, whose runs act with it, or the whole `tenant`. `tenant` is not supported yet."),
|
|
@@ -12111,7 +12111,7 @@ var ChangeAccessResponse = zod.object({
|
|
|
12111
12111
|
"grants": zod.array(zod.object({
|
|
12112
12112
|
"principal_type": zod.enum(["profile", "worker", "tenant"]).describe("Who holds the grant: a team member's `profile`, a `worker`, whose runs act with it, or the whole `tenant`. `tenant` is not supported yet."),
|
|
12113
12113
|
"principal_id": zod.string().uuid(),
|
|
12114
|
-
"level": zod.enum(["viewer", "editor"]).describe("`viewer` can see and use the entity. `editor` can also change and share it. On a `worker`, `viewer` sees the worker, its prompt and everything it owns, and can start it; `editor` can also edit, promote, delete and share it. Attaching secrets and managing schedules still need the matching role permission. On a `case_type`, `editor` can also edit, promote and share it. On a `form`, `viewer` can see it and open form submissions; `editor` can also edit and share it. On a `voice_agent`, `editor` can also edit, promote, delete and share it and manage its webhooks
|
|
12114
|
+
"level": zod.enum(["viewer", "editor"]).describe("`viewer` can see and use the entity. `editor` can also change and share it. On a `worker`, `viewer` sees the worker, its prompt and everything it owns, and can start it; `editor` can also edit, promote, delete and share it. Attaching secrets and managing schedules still need the matching role permission. On a `case_type`, `editor` can also edit, promote and share it. On a `form`, `viewer` can see it and open form submissions; `editor` can also edit and share it. On a `voice_agent`, `editor` can also edit, promote, delete and share it and manage its webhooks."),
|
|
12115
12115
|
"created_at": zod.string().datetime({ "offset": true })
|
|
12116
12116
|
}))
|
|
12117
12117
|
}),
|
|
@@ -15214,7 +15214,7 @@ var createMcpServer = (options) => {
|
|
|
15214
15214
|
"updateVoiceAgent",
|
|
15215
15215
|
{
|
|
15216
15216
|
title: "Update voice agent",
|
|
15217
|
-
description: "Update a voice agent. Only the fields you send change; omitted fields keep their current value.\n\nTo change the processor assignment, `call_processor_id` and `call_processor_type` must be provided together. Set `call_processor_id` to `null` to detach (`call_processor_type` is still required).\n\nSet `engine` to replace the whole model setup: `pipeline` (STT, LLM and TTS models plus optional fallbacks) or `speech_to_speech` (`gpt-live-1` and a voice). For `gpt-live-1`, `prompt` is the reasoner prompt and `speaker_instructions` the speaker prompt.\n\nThe flat model fields (`llm_model`, `tts_provider`, `tts_model`, `tts_voice_id`, `stt_model` and their `fallback_*` counterparts) are deprecated and only work on pipeline agents. They cannot be combined with `engine`. They are validated against the resulting configuration, so a single field such as `tts_voice_id` can be sent on its own.\n\nSet `voice_mail_detection` to `true` to have the agent listen for a voicemail beep tone. Detection only runs on `OUTBOUND` agents; enabling it on an `INBOUND` agent is stored but has no effect.\n\nSet `max_call_duration_seconds` to change how long a call may run before the agent ends it (default 1800).\n\nSet `noise_cancellation` to choose the noise cancellation mode applied to the caller audio.\n\nSet `tool_ids` to replace the agent's attached tool set. This is the supported way to manage tool attachments; the dedicated add and remove endpoints are deprecated.\n\nSet `evaluator_slug` to score the agent's calls with that evaluator. Calls only use it once the new version is promoted, because a call is evaluated with the version it ran on.\n\
|
|
15217
|
+
description: "Update a voice agent. Only the fields you send change; omitted fields keep their current value.\n\nTo change the processor assignment, `call_processor_id` and `call_processor_type` must be provided together. Set `call_processor_id` to `null` to detach (`call_processor_type` is still required).\n\nSet `engine` to replace the whole model setup: `pipeline` (STT, LLM and TTS models plus optional fallbacks) or `speech_to_speech` (`gpt-live-1` and a voice). For `gpt-live-1`, `prompt` is the reasoner prompt and `speaker_instructions` the speaker prompt.\n\nThe flat model fields (`llm_model`, `tts_provider`, `tts_model`, `tts_voice_id`, `stt_model` and their `fallback_*` counterparts) are deprecated and only work on pipeline agents. They cannot be combined with `engine`. They are validated against the resulting configuration, so a single field such as `tts_voice_id` can be sent on its own.\n\nSet `voice_mail_detection` to `true` to have the agent listen for a voicemail beep tone. Detection only runs on `OUTBOUND` agents; enabling it on an `INBOUND` agent is stored but has no effect.\n\nSet `max_call_duration_seconds` to change how long a call may run before the agent ends it (default 1800).\n\nSet `noise_cancellation` to choose the noise cancellation mode applied to the caller audio.\n\nSet `tool_ids` to replace the agent's attached tool set. This is the supported way to manage tool attachments; the dedicated add and remove endpoints are deprecated.\n\nSet `evaluator_slug` to score the agent's calls with that evaluator. Calls only use it once the new version is promoted, because a call is evaluated with the version it ran on.\n\nAll changes in one request create a single new voice agent config version. The live and test releases keep pointing at their current versions until the new version is promoted.",
|
|
15218
15218
|
inputSchema: {
|
|
15219
15219
|
pathParams: UpdateVoiceAgentParams,
|
|
15220
15220
|
bodyParams: UpdateVoiceAgentBody.optional()
|
|
@@ -16565,7 +16565,7 @@ var createMcpServer = (options) => {
|
|
|
16565
16565
|
"updateWorker",
|
|
16566
16566
|
{
|
|
16567
16567
|
title: "Update worker",
|
|
16568
|
-
description: "Partially update a worker. Omitted fields are left unchanged, and one request creates at most one new config version.
|
|
16568
|
+
description: "Partially update a worker. Omitted fields are left unchanged, and one request creates at most one new config version.",
|
|
16569
16569
|
inputSchema: {
|
|
16570
16570
|
pathParams: UpdateWorkerParams,
|
|
16571
16571
|
bodyParams: UpdateWorkerBody.optional()
|
|
@@ -18533,4 +18533,4 @@ var transport = new StdioServerTransport();
|
|
|
18533
18533
|
server.connect(transport).then(() => {
|
|
18534
18534
|
console.error("MCP server running on stdio");
|
|
18535
18535
|
}).catch(console.error);
|
|
18536
|
-
//# sourceMappingURL=server-
|
|
18536
|
+
//# sourceMappingURL=server-VK6HLOKN.js.map
|