@ararahq/mcp 5.0.0 → 6.0.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/README.md +40 -12
- package/build/cli.js +2 -0
- package/build/config.js +2 -2
- package/build/lib/admin.js +23 -0
- package/build/lib/api.js +1 -0
- package/build/lib/errors.js +13 -8
- package/build/lib/operator-access.js +26 -0
- package/build/lib/recipients.js +67 -0
- package/build/lib/schemas.js +106 -73
- package/build/lib/templates.js +27 -0
- package/build/prompts/index.js +3 -4
- package/build/resources/index.js +20 -22
- package/build/server/create.js +4 -0
- package/build/tools/campaigns.js +215 -0
- package/build/tools/contacts.js +84 -0
- package/build/tools/index.js +27 -270
- package/build/tools/operator.js +229 -0
- package/build/tools/register.js +46 -0
- package/build/tools/send.js +150 -0
- package/build/tools/templates.js +63 -0
- package/build/ui/broadcast.html +81 -0
- package/build/ui/campaign.html +81 -0
- package/build/ui/conversation.html +81 -0
- package/build/ui/model/campaign.js +38 -0
- package/build/ui/model/envelope.js +21 -0
- package/build/ui/model/format.js +27 -0
- package/build/ui/model/status.js +48 -0
- package/build/ui/resources.js +25 -0
- package/build/ui/status.html +81 -0
- package/package.json +12 -8
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ararahq/mcp",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "The official AraraHQ MCP server for
|
|
3
|
+
"version": "6.0.0",
|
|
4
|
+
"description": "The official AraraHQ MCP server for WhatsApp broadcasts and campaigns: send, measure what came back, reply.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"ararahq-mcp": "build/index.js"
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"type": "module",
|
|
15
15
|
"scripts": {
|
|
16
16
|
"clean": "node --eval \"require('node:fs').rmSync('build',{recursive:true,force:true})\"",
|
|
17
|
-
"build": "npm run clean && tsc -p tsconfig.build.json",
|
|
18
|
-
"typecheck": "tsc --noEmit",
|
|
17
|
+
"build": "npm run clean && tsc -p tsconfig.build.json && node scripts/build-ui.mjs",
|
|
18
|
+
"typecheck": "tsc --noEmit && tsc -p src/ui/app/tsconfig.json --noEmit",
|
|
19
19
|
"test": "vitest run",
|
|
20
20
|
"test:watch": "vitest",
|
|
21
21
|
"lint": "eslint .",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"format:check": "prettier --check .",
|
|
24
24
|
"check": "npm run format:check && npm run lint && npm run typecheck && npm test && npm run build",
|
|
25
25
|
"start": "node build/index.js",
|
|
26
|
+
"build:ui": "node scripts/build-ui.mjs",
|
|
26
27
|
"dev": "tsx watch src/index.ts --stdio",
|
|
27
28
|
"prepublishOnly": "npm run build"
|
|
28
29
|
},
|
|
@@ -39,9 +40,10 @@
|
|
|
39
40
|
"windsurf",
|
|
40
41
|
"chatgpt",
|
|
41
42
|
"ararahq",
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
43
|
+
"broadcast",
|
|
44
|
+
"campaigns",
|
|
45
|
+
"mcp-apps",
|
|
46
|
+
"disparo",
|
|
45
47
|
"ai-agent",
|
|
46
48
|
"brazil"
|
|
47
49
|
],
|
|
@@ -59,7 +61,8 @@
|
|
|
59
61
|
"access": "public"
|
|
60
62
|
},
|
|
61
63
|
"dependencies": {
|
|
62
|
-
"@modelcontextprotocol/
|
|
64
|
+
"@modelcontextprotocol/ext-apps": "^1.7.5",
|
|
65
|
+
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
63
66
|
"axios": "^1.18.0",
|
|
64
67
|
"dotenv": "^17.3.1",
|
|
65
68
|
"express": "^4.22.1",
|
|
@@ -71,6 +74,7 @@
|
|
|
71
74
|
"@eslint/js": "^9.39.2",
|
|
72
75
|
"@types/express": "^4.17.21",
|
|
73
76
|
"@types/node": "^22.19.11",
|
|
77
|
+
"esbuild": "^0.28.2",
|
|
74
78
|
"eslint": "^9.39.2",
|
|
75
79
|
"prettier": "^3.8.1",
|
|
76
80
|
"tsx": "^4.21.0",
|