@ema.co/mcp-toolkit 1.5.0 → 1.5.1
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.
Potentially problematic release.
This version of @ema.co/mcp-toolkit might be problematic. Click here for more details.
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
// ─────────────────────────────────────────────────────────────────────────────
|
|
15
15
|
const ACTION_NAMESPACES = {
|
|
16
16
|
chat_trigger: ["triggers", "emainternal"],
|
|
17
|
+
voice_trigger: ["triggers", "emainternal"],
|
|
17
18
|
document_trigger: ["triggers", "emainternal"],
|
|
18
19
|
chat_categorizer: ["routing", "emainternal"],
|
|
19
20
|
text_categorizer: ["routing", "emainternal"],
|
|
@@ -60,7 +60,8 @@ interface Node {
|
|
|
60
60
|
\`\`\`typescript
|
|
61
61
|
type ActionType =
|
|
62
62
|
// Triggers (entry points)
|
|
63
|
-
| "chat_trigger" // Chat
|
|
63
|
+
| "chat_trigger" // Chat message entry point
|
|
64
|
+
| "voice_trigger" // Phone/voice call entry point
|
|
64
65
|
| "document_trigger" // Document upload entry point
|
|
65
66
|
|
|
66
67
|
// Routing (categorization)
|
|
@@ -350,6 +351,7 @@ function decompileAction(action, enumLookup) {
|
|
|
350
351
|
function mapToActionType(rawName) {
|
|
351
352
|
const mapping = {
|
|
352
353
|
chat_trigger: "chat_trigger",
|
|
354
|
+
voice_trigger: "voice_trigger",
|
|
353
355
|
document_trigger: "document_trigger",
|
|
354
356
|
chat_categorizer: "chat_categorizer",
|
|
355
357
|
text_categorizer: "text_categorizer",
|
package/package.json
CHANGED