@omnidim-ai/mcp-server 0.13.0 → 0.14.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/build/index.d.ts +1 -1
- package/build/index.js +444 -27
- package/build/index.js.map +1 -1
- package/build/procedures.js +276 -2
- package/build/procedures.js.map +1 -1
- package/build/tool-annotations.js +31 -1
- package/build/tool-annotations.js.map +1 -1
- package/package.json +5 -5
- package/src/index.ts +444 -27
- package/src/procedures.ts +278 -2
- package/src/tool-annotations.ts +31 -1
package/build/procedures.js
CHANGED
|
@@ -17,10 +17,14 @@ give it a **phone number** and optionally a **knowledge base**, then place
|
|
|
17
17
|
\`audit_calls\` prompt, then \`listCallLogs\` + \`getCallLog\`.
|
|
18
18
|
- "List / inspect what exists" -> \`listAgents\`, \`listPhoneNumbers\`,
|
|
19
19
|
\`listVoices\`, \`listKnowledgeBaseFiles\`.
|
|
20
|
-
- "Get me a number / buy a number" -> \`searchPhoneNumbers\` { region }
|
|
21
|
-
\`purchasePhoneNumber\`. This spends the account's balance, so confirm the
|
|
20
|
+
- "Get me a number / buy a number" -> \`searchPhoneNumbers\` { region, carrier }
|
|
21
|
+
then \`purchasePhoneNumber\`. This spends the account's balance, so confirm the
|
|
22
22
|
exact number and price with the user before buying. \`releasePhoneNumber\`
|
|
23
23
|
gives one up and cannot be undone.
|
|
24
|
+
\`carrier\` is required on both calls, in every region. Carriers do not stock
|
|
25
|
+
the same numbers, so ask the user which one they want rather than picking:
|
|
26
|
+
see the \`omnidim://reference/carriers\` resource for what each one stocks.
|
|
27
|
+
\`searchPhoneNumbers\`'s response echoes the \`carrier\` a purchase must pass.
|
|
24
28
|
- "Place one call now" -> \`dispatchCall\`. "Call many contacts" -> the bulk
|
|
25
29
|
call tools.
|
|
26
30
|
|
|
@@ -311,6 +315,233 @@ const BULK_CAMPAIGNS_GUIDE = `# Running outbound campaigns
|
|
|
311
315
|
- Numbers are E.164 with the country code. Run one campaign per country code.
|
|
312
316
|
- Dashboard CSV uploads need the phone column named exactly \`phone_number\`.
|
|
313
317
|
`;
|
|
318
|
+
const CARRIERS_GUIDE = `# Which carrier to buy from
|
|
319
|
+
|
|
320
|
+
A region holds one or more carriers. They do not stock the same numbers and
|
|
321
|
+
they are not interchangeable, so \`carrier\` is **required** on
|
|
322
|
+
\`searchPhoneNumbers\` and \`purchasePhoneNumber\`, in every region, however few
|
|
323
|
+
it holds.
|
|
324
|
+
|
|
325
|
+
## What each one stocks
|
|
326
|
+
|
|
327
|
+
| Region | \`carrier\` | Stocks |
|
|
328
|
+
|---|---|---|
|
|
329
|
+
| \`IN\` | \`carrier-1\` | Landline numbers, city codes 11, 12 and 80 |
|
|
330
|
+
| \`IN\` | \`carrier-2-new\` | Mobile numbers, 94 and 79 series |
|
|
331
|
+
| \`US\` | \`carrier-us\` | US local numbers, by area code |
|
|
332
|
+
|
|
333
|
+
A snapshot, not the authority. The API is: omit \`carrier\` on a call that needs
|
|
334
|
+
one and the \`409 carrier_required\` body lists that region's carriers with what
|
|
335
|
+
each stocks and whether each is taking orders. This server validates the tool
|
|
336
|
+
schema before the call leaves, so a required field cannot in fact be omitted
|
|
337
|
+
here, which is why the table exists at all. If a user names a carrier that is
|
|
338
|
+
not in it, pass it through rather than refusing: this file can be older than
|
|
339
|
+
the account.
|
|
340
|
+
|
|
341
|
+
## Rules
|
|
342
|
+
|
|
343
|
+
- **Ask, do not pick.** Landline and mobile are not substitutes, and buying
|
|
344
|
+
spends the account's balance on a rental that renews. If the user has not
|
|
345
|
+
said which they want, ask, and say what each one stocks.
|
|
346
|
+
- **Buy from the carrier you searched.** \`searchPhoneNumbers\` echoes the
|
|
347
|
+
\`carrier\` its results came from. Pass that exact value to
|
|
348
|
+
\`purchasePhoneNumber\`, or you are buying out of inventory you never looked
|
|
349
|
+
at.
|
|
350
|
+
- **Verification is per carrier.** An account verified on one carrier of a
|
|
351
|
+
region is not verified on the other, and a purchase it has not cleared fails
|
|
352
|
+
with \`409 kyc_incomplete\`. Verification is not on this surface: send the user
|
|
353
|
+
to the dashboard number shop.
|
|
354
|
+
- **A carrier can be down.** One flagged unavailable is still named in the
|
|
355
|
+
refusal, and a purchase against it answers \`422 purchase_failed\`. Sell from
|
|
356
|
+
another one meanwhile.
|
|
357
|
+
- **The name is stable across a rename**, so it is safe for a user to store.
|
|
358
|
+
`;
|
|
359
|
+
const WORKFLOWS_GUIDE = `# Building workflows
|
|
360
|
+
|
|
361
|
+
A workflow is a graph: one trigger node, then action and flow nodes joined by
|
|
362
|
+
edges. It runs on OmniDimension's servers each time its trigger fires.
|
|
363
|
+
|
|
364
|
+
## The tools, in the order you use them
|
|
365
|
+
|
|
366
|
+
1. \`listWorkflowNodeTypes\` (with \`q\`, e.g. "whatsapp") to find node types.
|
|
367
|
+
2. \`getWorkflowNodeType\` (\`detail: minimal\`) for the fields one type needs.
|
|
368
|
+
Ask for \`detail: full\` only when you need the examples.
|
|
369
|
+
3. \`listWorkflowFieldOptions\` for any field of type \`ref\` (a number, an
|
|
370
|
+
integration, a template, an agent). Never guess an id. If it returns
|
|
371
|
+
\`no_options\`, ask the user for the value.
|
|
372
|
+
4. \`createWorkflow\` with a \`name\`. It starts with one node, \`trigger\`. You may
|
|
373
|
+
pass a complete first \`graph\` instead, in the same shape \`getWorkflow\`
|
|
374
|
+
returns under \`draft\` (node \`config\`, edges with \`from\`, \`to\`, \`handle\`).
|
|
375
|
+
5. \`editWorkflow\` with the \`revision\` from the last read and a list of \`ops\`.
|
|
376
|
+
6. \`validateWorkflow\`, then fix what it reports with another \`editWorkflow\`.
|
|
377
|
+
7. \`testWorkflow\` only after the user agrees (see "Test runs are real").
|
|
378
|
+
8. \`publishWorkflow\`. That makes the draft live and real events run it. You do not need \`activateWorkflow\` after it.
|
|
379
|
+
|
|
380
|
+
\`getWorkflow\` with \`view: structure\` shows nodes and edges without config.
|
|
381
|
+
Use it to orient in a large workflow. Use \`view: full\` before you edit config.
|
|
382
|
+
|
|
383
|
+
## Lifecycle
|
|
384
|
+
|
|
385
|
+
- You always edit the **draft**. A published workflow is never changed in place.
|
|
386
|
+
- \`publishWorkflow\` copies the draft to the live version and leaves a fresh draft
|
|
387
|
+
for the next round of edits. It refuses while \`validateWorkflow\` has errors.
|
|
388
|
+
- \`deactivateWorkflow\` pauses the live version. \`activateWorkflow\` resumes it. Use them only to
|
|
389
|
+
pause and resume, not to go live.
|
|
390
|
+
- Every edit needs the current \`revision\`. On \`409 revision_conflict\`, someone
|
|
391
|
+
(often the user in the dashboard) saved first. Call \`getWorkflow\` and retry.
|
|
392
|
+
|
|
393
|
+
## Do not break a workflow that is already running
|
|
394
|
+
|
|
395
|
+
Most harm comes from changing a workflow the user did not ask you to touch.
|
|
396
|
+
|
|
397
|
+
- Default to creating a NEW workflow. Edit an existing one only when the user names it.
|
|
398
|
+
- Call \`getWorkflow\` first and read what it does before any edit. Keep its \`revision\`.
|
|
399
|
+
- Your edits land on the draft and change nothing live until you publish.
|
|
400
|
+
- \`publishWorkflow\` overwrites the live version that real events run. \`deactivateWorkflow\` pauses automation the user depends on. \`deleteWorkflow\` stops it for good. Before any of these on an existing workflow, tell the user exactly what will change and get a yes.
|
|
401
|
+
- Never publish, activate, deactivate, delete or test a workflow as a side effect of another task.
|
|
402
|
+
|
|
403
|
+
## Entry: the trigger
|
|
404
|
+
|
|
405
|
+
Every workflow has exactly one trigger node. Its output is the event payload,
|
|
406
|
+
which later nodes read as \`{{ context.<trigger id>.<field> }}\`.
|
|
407
|
+
|
|
408
|
+
| Trigger type | Fires when | How it is attached |
|
|
409
|
+
|---|---|---|
|
|
410
|
+
| \`trigger\` | After a call (post-call), or on a POST to the webhook URL | Post-call: the agent's post-call actions point at this workflow. Webhook: \`update_node\` the trigger with \`config: { webhook_enabled: true }\`, then \`getWorkflow\` returns \`webhook_url\` |
|
|
411
|
+
| \`whatsapp_inbound\` | A WhatsApp message arrives | Its \`phone_number_id\` |
|
|
412
|
+
| \`twilio_sms_inbound\` | An SMS arrives | Its Twilio integration |
|
|
413
|
+
| \`email_event_trigger\` | A sent email is opened, clicked, replied to, or bounces | The source workflow or campaign |
|
|
414
|
+
| \`omnidim_crm_trigger\`, \`leadsquared_trigger\`, \`shopify_trigger\`, \`instantly_event_trigger\` | An event in that system | Its integration |
|
|
415
|
+
|
|
416
|
+
\`getWorkflowNodeType\` shows each trigger's \`output_example\`. The post-call
|
|
417
|
+
trigger carries \`customer_number\`, \`call_status\`, \`summary\`, \`sentiment\`,
|
|
418
|
+
\`extracted_variables\` and the transcript.
|
|
419
|
+
|
|
420
|
+
## Connecting nodes
|
|
421
|
+
|
|
422
|
+
An edge runs from one node's **output** to the next node. Plain nodes have one
|
|
423
|
+
output, \`default\`. Branching nodes have named outputs, and you must say which.
|
|
424
|
+
\`getWorkflowNodeType\` lists each type's outputs; this table is a summary:
|
|
425
|
+
|
|
426
|
+
| Node | Outputs |
|
|
427
|
+
|---|---|
|
|
428
|
+
| \`conditional\` | \`True\`, \`False\` |
|
|
429
|
+
| \`switch_condition\` | each case \`id\`, plus \`else\` |
|
|
430
|
+
| \`time_condition\` | \`Yes\`, \`No\` |
|
|
431
|
+
| \`photo_analyzer\` | \`pass\`, \`fail\` |
|
|
432
|
+
| \`voice_ai\` | \`Completed\`, \`Not Completed\` |
|
|
433
|
+
| \`zoho_bigin\` | \`Created\`, \`Found\`, \`Ambiguous\`, \`Failed\`, \`Success\` |
|
|
434
|
+
|
|
435
|
+
- One output can feed several nodes. They all run.
|
|
436
|
+
- \`add_node\` with \`after\` and \`handle\` places and connects a node in one step.
|
|
437
|
+
- To rewire, send \`disconnect\` and \`connect\` in the same batch.
|
|
438
|
+
- Every node except notes must be reachable from the trigger.
|
|
439
|
+
|
|
440
|
+
## Exit
|
|
441
|
+
|
|
442
|
+
There is no end node. A branch ends at a node with no outgoing edge, and the
|
|
443
|
+
run finishes when every branch has ended. \`wait\`, \`wait_for_time\`, \`voice_ai\`
|
|
444
|
+
and \`send_email\` pause the run and resume it later. \`sub_workflow\` starts
|
|
445
|
+
another workflow and continues at once. The target must be published and active, or the run fails
|
|
446
|
+
with "Target workflow has no published version".
|
|
447
|
+
|
|
448
|
+
## Passing data
|
|
449
|
+
|
|
450
|
+
\`{{ context.<node id>.<field> }}\` reads an earlier node's output. The engine
|
|
451
|
+
also provides \`{{ context.webhook }}\` (the trigger payload) and
|
|
452
|
+
\`{{ context.execution_link }}\`. Only nodes that run earlier have output. A
|
|
453
|
+
reference to a later node renders empty, and \`validateWorkflow\` warns about it.
|
|
454
|
+
|
|
455
|
+
Node ids appear in these references, so pick readable ones: \`check_interest\`,
|
|
456
|
+
\`wa_followup\`, \`notify_sales\`. Use lowercase letters, digits and underscores.
|
|
457
|
+
These names are taken: \`webhook\`, \`execution_id\`, \`execution_link\`, \`get\`,
|
|
458
|
+
\`items\`, \`keys\`, \`values\`.
|
|
459
|
+
|
|
460
|
+
Id fields (a number, template, integration, agent) always hold a literal id.
|
|
461
|
+
A \`{{ }}\` template there is refused, because it could resolve to a record in
|
|
462
|
+
another workspace.
|
|
463
|
+
|
|
464
|
+
## Moving things around
|
|
465
|
+
|
|
466
|
+
- \`move_node\` sets \`{x, y}\` on the dashboard canvas.
|
|
467
|
+
- \`add_node\` without a \`position\` lands to the right of its parent, below any
|
|
468
|
+
siblings, so the canvas stays readable for the user.
|
|
469
|
+
|
|
470
|
+
## Notes
|
|
471
|
+
|
|
472
|
+
A \`notes\` node holds \`note_text\` for people reading the canvas. It is never
|
|
473
|
+
connected and never runs. Add one that says what the workflow is for, so the
|
|
474
|
+
next person to open it in the dashboard understands it.
|
|
475
|
+
|
|
476
|
+
## Ops
|
|
477
|
+
|
|
478
|
+
| Op | Fields |
|
|
479
|
+
|---|---|
|
|
480
|
+
| \`add_node\` | \`id\`, \`type\`, \`config?\`, \`label?\`, \`position?\`, \`after?\`, \`handle?\` |
|
|
481
|
+
| \`update_node\` | \`id\`, \`config\` (merged; \`null\` removes a key), \`label?\` |
|
|
482
|
+
| \`move_node\` | \`id\`, \`position {x, y}\` |
|
|
483
|
+
| \`delete_node\` | \`id\` (its edges go too) |
|
|
484
|
+
| \`connect\` | \`from\`, \`to\`, \`handle?\` (default \`default\`) |
|
|
485
|
+
| \`disconnect\` | \`from\`, \`to\`, \`handle?\` |
|
|
486
|
+
|
|
487
|
+
A batch applies completely or not at all. A failing op returns
|
|
488
|
+
\`422 invalid_op\` with its \`op_index\`.
|
|
489
|
+
|
|
490
|
+
## Credentials
|
|
491
|
+
|
|
492
|
+
Never put secrets in config when an integration exists. Pick integrations,
|
|
493
|
+
numbers and templates from \`listWorkflowFieldOptions\`. Secret fields (a Slack
|
|
494
|
+
webhook URL, API headers) read back as \`********\`. Send \`********\` back
|
|
495
|
+
unchanged and the stored value is kept. If the user has no matching
|
|
496
|
+
integration, tell them to connect one in the dashboard first.
|
|
497
|
+
|
|
498
|
+
## Test runs are real
|
|
499
|
+
|
|
500
|
+
\`testWorkflow\` runs the draft once with your \`payload\` as the trigger data.
|
|
501
|
+
**Every node runs for real**: WhatsApp messages, SMS, emails and calls go out,
|
|
502
|
+
and CRM records change. Before you call it, tell the user what will happen and
|
|
503
|
+
get a yes. Use their own phone number or email in the payload.
|
|
504
|
+
|
|
505
|
+
\`testWorkflow\` is async. It returns 202 with an \`execution_id\`. Poll \`getWorkflowExecution\`
|
|
506
|
+
until \`state\` is \`completed\`, \`failed\` or \`cancelled\`, then read each node's status, output and error.
|
|
507
|
+
|
|
508
|
+
## Errors you will see
|
|
509
|
+
|
|
510
|
+
| Error | Meaning | What to do |
|
|
511
|
+
|---|---|---|
|
|
512
|
+
| \`422 validation_failed\` with \`not_found\` | An id is not in this workspace | Pick from \`listWorkflowFieldOptions\` |
|
|
513
|
+
| \`422 validation_failed\` on publish | Missing fields, an unconnected node, a bad handle | Fix each one, then publish again |
|
|
514
|
+
| \`422 invalid_op\` | An op is malformed | Fix the op at \`op_index\` |
|
|
515
|
+
| \`409 revision_conflict\` | The draft changed since you read it | \`getWorkflow\`, then retry |
|
|
516
|
+
| \`409 no_draft\` | The workflow has no draft to edit, test or publish | \`getWorkflow\`, then make an edit to start a new draft |
|
|
517
|
+
| \`400 no_options\` | The field holds an id from another system | Ask the user for the value |
|
|
518
|
+
| \`422\` with \`templated_ref\` | An id field holds a \`{{ }}\` template | Put a literal id from \`listWorkflowFieldOptions\` |
|
|
519
|
+
|
|
520
|
+
## Worked example
|
|
521
|
+
|
|
522
|
+
"After a call, if the lead is interested, send our follow-up WhatsApp template
|
|
523
|
+
and tell #sales in Slack."
|
|
524
|
+
|
|
525
|
+
1. \`createWorkflow { name: "Interested lead follow-up" }\` gives you \`trigger\`
|
|
526
|
+
and a \`revision\`.
|
|
527
|
+
2. \`listWorkflowFieldOptions\` for \`whatsapp.phone_number_id\`, then for
|
|
528
|
+
\`whatsapp.template_id\` with \`depends\` set to that number. Confirm both with
|
|
529
|
+
the user.
|
|
530
|
+
3. One \`editWorkflow\` batch:
|
|
531
|
+
- \`add_node { id: "check_interest", type: "conditional", after: "trigger",
|
|
532
|
+
config: { conditions: [{ variable: "{{ context.trigger.extracted_variables.interested }}",
|
|
533
|
+
operator: "==", value: "yes" }] } }\`
|
|
534
|
+
- \`add_node { id: "wa_followup", type: "whatsapp", after: "check_interest",
|
|
535
|
+
handle: "True", config: { phone_number_id: <id>, message_type: "template",
|
|
536
|
+
template_id: <id>, to_number: "{{ context.trigger.customer_number }}" } }\`
|
|
537
|
+
- \`add_node { id: "notify_sales", type: "slack", after: "wa_followup",
|
|
538
|
+
config: { slack_webhook_url: "<from the user>",
|
|
539
|
+
message: "Follow-up sent to {{ context.trigger.customer_number }}" } }\`
|
|
540
|
+
- \`add_node { id: "about", type: "notes", config: { note_text: "Follows up
|
|
541
|
+
interested leads after a call." } }\`
|
|
542
|
+
4. \`validateWorkflow\`, fix anything reported, then \`publishWorkflow\`.
|
|
543
|
+
5. Tell the user to point the agent's post-call action at this workflow.
|
|
544
|
+
`;
|
|
314
545
|
const RESOURCES = [
|
|
315
546
|
{
|
|
316
547
|
uri: "omnidim://guide/routing",
|
|
@@ -333,6 +564,13 @@ const RESOURCES = [
|
|
|
333
564
|
mimeType: "text/markdown",
|
|
334
565
|
text: VOICES_GUIDE,
|
|
335
566
|
},
|
|
567
|
+
{
|
|
568
|
+
uri: "omnidim://reference/carriers",
|
|
569
|
+
name: "Which carrier to buy from",
|
|
570
|
+
description: "What each region's carriers stock, why `carrier` is required on search and purchase, and the ask-do-not-pick rule. The only place an agent on this server can learn a carrier value.",
|
|
571
|
+
mimeType: "text/markdown",
|
|
572
|
+
text: CARRIERS_GUIDE,
|
|
573
|
+
},
|
|
336
574
|
{
|
|
337
575
|
uri: "omnidim://reference/agent-config",
|
|
338
576
|
name: "Building an agent with createAgent",
|
|
@@ -354,8 +592,44 @@ const RESOURCES = [
|
|
|
354
592
|
mimeType: "text/markdown",
|
|
355
593
|
text: VERSIONING_GUIDE,
|
|
356
594
|
},
|
|
595
|
+
{
|
|
596
|
+
uri: "omnidim://guide/workflows",
|
|
597
|
+
name: "Building workflows",
|
|
598
|
+
description: "How to build a workflow end to end: the tool order, lifecycle, triggers (entry), outputs and edges, exit, passing data, moving nodes, notes, ops, credentials, real test runs, errors, and a worked example.",
|
|
599
|
+
mimeType: "text/markdown",
|
|
600
|
+
text: WORKFLOWS_GUIDE,
|
|
601
|
+
},
|
|
357
602
|
];
|
|
358
603
|
const PROMPTS = [
|
|
604
|
+
{
|
|
605
|
+
name: "build_workflow",
|
|
606
|
+
description: "Build an automation workflow from a plain-language goal: pick the trigger and nodes, wire them, validate, test with the user's consent, then publish.",
|
|
607
|
+
arguments: [
|
|
608
|
+
{ name: "goal", description: "What should happen and when, in plain language (e.g. 'after a call, WhatsApp interested leads our follow-up template').", required: true },
|
|
609
|
+
],
|
|
610
|
+
build: (a) => {
|
|
611
|
+
const goal = a.goal || "(describe what should happen, and when)";
|
|
612
|
+
return `Build an OmniDimension workflow for this goal:
|
|
613
|
+
|
|
614
|
+
"${goal}"
|
|
615
|
+
|
|
616
|
+
Read the \`omnidim://guide/workflows\` resource first. It explains triggers, outputs, ops and errors.
|
|
617
|
+
|
|
618
|
+
1. Pick the trigger, then find each node type with \`listWorkflowNodeTypes\` and read its fields with
|
|
619
|
+
\`getWorkflowNodeType\`.
|
|
620
|
+
2. For every field that takes an id (a number, template, integration or agent), list real choices with
|
|
621
|
+
\`listWorkflowFieldOptions\` and confirm them with the user. Never guess an id.
|
|
622
|
+
3. \`createWorkflow\`, then build it with \`editWorkflow\` batches. Use readable node ids, wire branches with
|
|
623
|
+
\`after\` and \`handle\`, and add a notes node that says what the workflow is for.
|
|
624
|
+
4. \`validateWorkflow\` and fix every error.
|
|
625
|
+
5. A test run happens for real: messages, calls and CRM writes go out. Only call \`testWorkflow\` after the
|
|
626
|
+
user says yes, with their own phone number or email in the payload. Then poll \`getWorkflowExecution\` until \`state\` is \`completed\`, \`failed\` or \`cancelled\`.
|
|
627
|
+
6. Show the user the finished flow, then \`publishWorkflow\` when they approve.
|
|
628
|
+
7. Prefer creating a new workflow. Never publish, activate, deactivate, delete or test an existing workflow
|
|
629
|
+
without the user's explicit yes, after reading it first.
|
|
630
|
+
`;
|
|
631
|
+
},
|
|
632
|
+
},
|
|
359
633
|
{
|
|
360
634
|
name: "provision_agent",
|
|
361
635
|
description: "Create a working voice agent end to end: configure it, give it a number, and verify it can place a call and speak.",
|
package/build/procedures.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"procedures.js","sourceRoot":"","sources":["../src/procedures.ts"],"names":[],"mappings":"AAQA,OAAO,EACH,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,yBAAyB,GAC5B,MAAM,oCAAoC,CAAC;AAW5C;;;;GAIG;AACH,MAAM,aAAa,GAAG
|
|
1
|
+
{"version":3,"file":"procedures.js","sourceRoot":"","sources":["../src/procedures.ts"],"names":[],"mappings":"AAQA,OAAO,EACH,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,yBAAyB,GAC5B,MAAM,oCAAoC,CAAC;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AAI,CAAC,EAAE,EAAE,CAAC;SAC/E,CAAC;IACN,CAAC,CAAC,CAAC;IACH,MAAM,CAAC,iBAAiB,CAAC,0BAA0B,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC;QAC9D,SAAS,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC,CAAC;KAC7G,CAAC,CAAC,CAAC;IACJ,MAAM,CAAC,iBAAiB,CAAC,yBAAyB,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;QAClE,MAAM,CAAC,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,KAAK,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAC9D,IAAI,CAAC,CAAC;YAAE,MAAM,IAAI,KAAK,CAAC,qBAAqB,OAAO,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,CAAC;QACnE,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC;IAC9E,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -56,9 +56,36 @@ const TOOL_TITLES = {
|
|
|
56
56
|
searchPhoneNumbers: "Search available phone numbers",
|
|
57
57
|
purchasePhoneNumber: "Buy phone number",
|
|
58
58
|
releasePhoneNumber: "Release phone number",
|
|
59
|
+
getAccountBalance: "Get account balance",
|
|
60
|
+
listClonedVoices: "List cloned voices",
|
|
61
|
+
createClonedVoice: "Clone a voice",
|
|
62
|
+
getClonedVoice: "Get cloned voice",
|
|
63
|
+
updateClonedVoice: "Update cloned voice",
|
|
64
|
+
deleteClonedVoice: "Delete cloned voice",
|
|
65
|
+
getClonedVoiceSample: "Get cloned voice sample",
|
|
66
|
+
regenerateClonedVoiceSample: "Regenerate cloned voice sample",
|
|
67
|
+
listWorkflowNodeTypes: "List workflow node types",
|
|
68
|
+
getWorkflowNodeType: "Get workflow node type",
|
|
69
|
+
listWorkflowFieldOptions: "List choices for a workflow field",
|
|
70
|
+
listWorkflows: "List workflows",
|
|
71
|
+
createWorkflow: "Create workflow",
|
|
72
|
+
getWorkflow: "Get workflow",
|
|
73
|
+
editWorkflow: "Edit workflow draft",
|
|
74
|
+
deleteWorkflow: "Delete workflow",
|
|
75
|
+
validateWorkflow: "Validate workflow",
|
|
76
|
+
publishWorkflow: "Publish workflow",
|
|
77
|
+
activateWorkflow: "Turn workflow on",
|
|
78
|
+
deactivateWorkflow: "Turn workflow off",
|
|
79
|
+
testWorkflow: "Test workflow (runs for real)",
|
|
80
|
+
getWorkflowExecution: "Get workflow run",
|
|
81
|
+
listPostCallActions: "List post-call actions",
|
|
82
|
+
addPostCallAction: "Add a post-call action",
|
|
83
|
+
deletePostCallAction: "Delete a post-call action",
|
|
84
|
+
updatePostCallAction: "Update a post-call action",
|
|
85
|
+
listIntegrations: "List integrations",
|
|
59
86
|
};
|
|
60
87
|
// POST tools that only validate or preview, with no state change.
|
|
61
|
-
const READ_ONLY_TOOLS = new Set(["canUploadFile"]);
|
|
88
|
+
const READ_ONLY_TOOLS = new Set(["canUploadFile", "validateWorkflow"]);
|
|
62
89
|
// Irreversible removals, overwrites of live config, plus tools that place
|
|
63
90
|
// real outbound calls.
|
|
64
91
|
const DESTRUCTIVE_TOOLS = new Set([
|
|
@@ -67,9 +94,12 @@ const DESTRUCTIVE_TOOLS = new Set([
|
|
|
67
94
|
"cancelBulkCall", "dispatchCall", "createBulkCall", "addBulkCallContact",
|
|
68
95
|
"addBulkCallContacts", "startBulkCall", "retryBulkCall",
|
|
69
96
|
"purchasePhoneNumber", "releasePhoneNumber",
|
|
97
|
+
"deleteClonedVoice", "deleteWorkflow", "publishWorkflow", "activateWorkflow",
|
|
98
|
+
"deactivateWorkflow", "testWorkflow", "deletePostCallAction",
|
|
70
99
|
]);
|
|
71
100
|
// Tools that reach the external phone network (a carrier, not just our API).
|
|
72
101
|
const OPEN_WORLD_TOOLS = new Set([
|
|
102
|
+
"testWorkflow",
|
|
73
103
|
"dispatchCall", "createBulkCall", "addBulkCallContact",
|
|
74
104
|
"addBulkCallContacts", "startBulkCall", "retryBulkCall",
|
|
75
105
|
"purchasePhoneNumber", "releasePhoneNumber",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-annotations.js","sourceRoot":"","sources":["../src/tool-annotations.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,wEAAwE;AACxE,0EAA0E;AAC1E,oEAAoE;AAEpE,iFAAiF;AACjF,MAAM,WAAW,GAA2B;IAC1C,UAAU,EAAE,aAAa;IACzB,WAAW,EAAE,cAAc;IAC3B,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,cAAc;IAC3B,iBAAiB,EAAE,qBAAqB;IACxC,kBAAkB,EAAE,oBAAoB;IACxC,gBAAgB,EAAE,oBAAoB;IACtC,mBAAmB,EAAE,uBAAuB;IAC5C,kBAAkB,EAAE,sBAAsB;IAC1C,kBAAkB,EAAE,sBAAsB;IAC1C,aAAa,EAAE,sBAAsB;IACrC,YAAY,EAAE,eAAe;IAC7B,YAAY,EAAE,gBAAgB;IAC9B,UAAU,EAAE,cAAc;IAC1B,cAAc,EAAE,qBAAqB;IACrC,cAAc,EAAE,sBAAsB;IACtC,kBAAkB,EAAE,yBAAyB;IAC7C,WAAW,EAAE,mBAAmB;IAChC,eAAe,EAAE,uBAAuB;IACxC,cAAc,EAAE,sBAAsB;IACtC,qBAAqB,EAAE,0BAA0B;IACjD,aAAa,EAAE,sBAAsB;IACrC,mBAAmB,EAAE,0BAA0B;IAC/C,aAAa,EAAE,4BAA4B;IA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H,6EAA6E;AAC7E,MAAM,gBAAgB,GAAG,IAAI,GAAG,CAAC;IAC/B,cAAc;IACd,cAAc,EAAE,gBAAgB,EAAE,oBAAoB;IACtD,qBAAqB,EAAE,eAAe,EAAE,eAAe;IACvD,qBAAqB,EAAE,oBAAoB;CAC5C,CAAC,CAAC;AASH,+EAA+E;AAC/E,oEAAoE;AACpE,MAAM,UAAU,eAAe,CAAC,GAAqC;IACnE,MAAM,WAAW,GAAoB,EAAE,CAAC;IACxC,MAAM,KAAK,GAAG,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACpC,IAAI,KAAK;QAAE,WAAW,CAAC,KAAK,GAAG,KAAK,CAAC;IACrC,MAAM,QAAQ,GAAG,GAAG,CAAC,MAAM,CAAC,WAAW,EAAE,KAAK,KAAK,IAAI,eAAe,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACrF,WAAW,CAAC,YAAY,GAAG,QAAQ,CAAC;IACpC,IAAI,QAAQ,EAAE,CAAC;QACb,WAAW,CAAC,aAAa,GAAG,KAAK,CAAC;IACpC,CAAC;SAAM,CAAC;QACN,WAAW,CAAC,eAAe,GAAG,iBAAiB,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAC9D,WAAW,CAAC,aAAa,GAAG,gBAAgB,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAC7D,CAAC;IACD,OAAO,WAAW,CAAC;AACrB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnidim-ai/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"mcpName": "io.github.Omnidim/omnidim-mcp-server",
|
|
5
5
|
"description": "Official MCP server for OmniDimension. Drive voice agents, dispatch calls, and manage knowledge bases from Claude, Cursor, Windsurf, and any MCP client.",
|
|
6
6
|
"type": "module",
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
"zod": "^3.24.3"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@types/node": "^
|
|
66
|
-
"@vitest/coverage-v8": "^
|
|
67
|
-
"js-yaml": "^4.
|
|
65
|
+
"@types/node": "^26.4.1",
|
|
66
|
+
"@vitest/coverage-v8": "^5.0.0",
|
|
67
|
+
"js-yaml": "^5.4.1",
|
|
68
68
|
"shx": "^0.4.0",
|
|
69
69
|
"typescript": "^5.8.3",
|
|
70
|
-
"vitest": "^
|
|
70
|
+
"vitest": "^5.0.0"
|
|
71
71
|
}
|
|
72
72
|
}
|