Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
348 lines (348 loc) · 11.5 KB
/
Copy pathpackage.json
File metadata and controls
348 lines (348 loc) · 11.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
{
"name": "@polymorfa/cli",
"version": "0.1.0-dev.0",
"description": "The official command-line interface for Polymorfa",
"type": "module",
"license": "MIT",
"engines": {
"node": ">=22"
},
"bin": {
"polymorfa": "./bin/run.js"
},
"files": [
"bin/run.js",
"dist",
"skills",
"README.md",
"LICENSE"
],
"scripts": {
"audit:prod": "npm audit --omit=dev",
"build": "npm run clean && tsc -p tsconfig.build.json",
"clean": "node scripts/clean-dist.js",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint .",
"prepare": "npm run build",
"test": "vitest run",
"typecheck": "tsc -p tsconfig.json --noEmit",
"verify": "npm run format:check && npm run lint && npm run typecheck && npm test && npm run build && npm pack --dry-run --ignore-scripts && npm run audit:prod"
},
"dependencies": {
"@modelcontextprotocol/server": "2.3.1",
"@napi-rs/keyring": "1.3.0",
"@oclif/core": "^4.13.5",
"@polymorfa/sdk": "0.1.0-dev.20261004024706",
"jq-wasm": "3.0.0-jq-1.8.2",
"zod": "4.2.0"
},
"devDependencies": {
"@eslint/js": "^9.39.5",
"@oclif/test": "^4.1.22",
"@types/node": "^24.0.0",
"eslint": "^9.39.5",
"prettier": "^3.9.6",
"tsx": "^4.20.6",
"typescript": "^6.0.3",
"typescript-eslint": "^8.67.0",
"vitest": "3.2.7"
},
"oclif": {
"bin": "polymorfa",
"dirname": "polymorfa",
"commands": "./dist/commands",
"topicSeparator": " ",
"topics": {
"audience": {
"description": "Manage campaign audiences and their members."
},
"audience:members": {
"description": "Add, list, and remove audience members."
},
"audit-log": {
"description": "Inspect organization audit activity."
},
"auth": {
"description": "Manage authentication profiles and credentials."
},
"business": {
"description": "Manage Linked Device Business App resources."
},
"business:accounts": {
"description": "Inspect linked business accounts and ad identities."
},
"business:catalog": {
"description": "Inspect and manage the connected account catalog."
},
"business:catalog:cart": {
"description": "Manage the business catalog cart setting."
},
"business:collection": {
"description": "Inspect and manage business collections."
},
"business:compliance": {
"description": "Inspect and replace merchant compliance."
},
"business:eligibility": {
"description": "Inspect business feature eligibility."
},
"business:order": {
"description": "Look up business orders from event tokens."
},
"business:product": {
"description": "Inspect and manage business products."
},
"business:product:visibility": {
"description": "Manage business product visibility."
},
"business:profile": {
"description": "Inspect and manage the account business profile."
},
"business:profile:cover": {
"description": "Manage the business profile cover photo."
},
"call": {
"description": "Reject incoming calls through the Linked Device session route."
},
"calls": {
"description": "Place and manage calls, check consent, carry audio, and report on past calls."
},
"calls:link": {
"description": "Create and preview WhatsApp call links."
},
"calls:opt-outs": {
"description": "Manage the team do-not-call list."
},
"calls:permission": {
"description": "Inspect and request call permission on Cloud API numbers."
},
"calls:policy": {
"description": "Inspect and replace the team call policy."
},
"calls:retention": {
"description": "Inspect and change how long Polymorfa keeps your team's call data."
},
"calls:settings": {
"description": "Inspect and replace session call settings."
},
"campaign": {
"description": "Inspect and manage Messaging campaigns."
},
"campaign:recipients": {
"description": "Inspect and append campaign recipients."
},
"channel": {
"description": "Inspect and manage Messaging channels."
},
"channel:live-updates": {
"description": "Manage temporary upstream channel-update subscriptions."
},
"channel:message": {
"description": "Inspect and act on channel messages."
},
"chat": {
"description": "Read stored chats on enrolled HMS Numbers (beta)."
},
"chat:message": {
"description": "Read stored messages on enrolled HMS Numbers (beta)."
},
"contact": {
"description": "Inspect contacts and manage the contact blocklist."
},
"customer": {
"description": "Manage project Customers, pairing links, and assigned Numbers."
},
"customer:event": {
"description": "Inspect Customer lifecycle events."
},
"customer:number": {
"description": "Inspect and transfer Customer Numbers."
},
"customer:pairing-link": {
"description": "Create, inspect, and revoke Customer pairing links."
},
"event": {
"description": "Inspect and replay durable developer events."
},
"group": {
"description": "Inspect and manage Messaging groups."
},
"group:participants": {
"description": "List and change group participants and admins."
},
"identity": {
"description": "Resolve phone numbers and usernames to Polymorfa user IDs."
},
"key": {
"description": "Inspect and revoke organization API keys."
},
"label": {
"description": "Manage Messaging labels and chat assignments."
},
"label:chat": {
"description": "Manage the complete label set assigned to a chat."
},
"logs": {
"description": "Read and follow a project's API request log."
},
"media": {
"description": "Inspect, download, and persist Messaging media."
},
"member": {
"description": "Inspect organization members."
},
"message": {
"description": "Send messages and perform message actions."
},
"message:send": {
"description": "Send a message by content type."
},
"optout": {
"description": "Manage organization opt-out suppression."
},
"optout:settings": {
"description": "Inspect and replace STOP/START keyword capture."
},
"presence": {
"description": "View and manage Messaging presence state."
},
"presence:chat": {
"description": "View and renew policy-governed chat presence observations."
},
"privacy": {
"description": "View and manage account-level Messaging privacy."
},
"privacy:disappearing-timer": {
"description": "Manage the account-default disappearing timer."
},
"profile": {
"description": "View and manage the connected account profile."
},
"profile:name": {
"description": "Manage the connected account profile name."
},
"profile:picture": {
"description": "Manage the connected account profile picture."
},
"profile:status": {
"description": "Manage the connected account profile status."
},
"project": {
"description": "Select, list, and inspect the project context."
},
"project-token": {
"description": "Inspect project-token metadata."
},
"quick-reply": {
"description": "Manage observed business quick replies."
},
"quicklink": {
"description": "Create, inspect, and cancel persistent onboarding QuickLinks."
},
"security-incident": {
"description": "Inspect and acknowledge organization security incidents."
},
"session": {
"description": "Manage Platform sessions."
},
"session-ban": {
"description": "Inspect recorded organization session bans."
},
"voice": {
"description": "Voice Automation (beta): audio library and text-to-speech provider credentials."
},
"voice:audio": {
"description": "Upload, synthesize, inspect, preview, and delete library audio (beta)."
},
"voice:credential": {
"description": "Store, check, and delete your text-to-speech provider keys (beta)."
},
"session:configuration": {
"description": "Inspect and update inherited session configuration."
},
"session:tier": {
"description": "Quote, confirm, and follow Number tier changes, including Hybrid Link choices."
},
"sip-trunk": {
"description": "Connect a PBX to WhatsApp calls with SIP trunks."
},
"testing": {
"description": "Manage simulated session fixtures."
},
"testing:history-fixture": {
"description": "Upload project-scoped test history."
},
"user": {
"description": "Inspect Linked Device user identity data."
},
"webhook": {
"description": "Inspect and manage developer webhooks."
},
"webhook:delivery": {
"description": "Inspect webhook deliveries and request explicit retries."
},
"webhook:delivery:attempt": {
"description": "Inspect immutable webhook delivery attempts."
},
"webhook:secret": {
"description": "Manage one-time webhook signing-secret rotation."
},
"widget": {
"description": "Inspect and update saved QuickLink widget settings."
},
"function": {
"description": "Manage project Functions and pinned deployments."
},
"function:deployment": {
"description": "Build and promote immutable Function deployments."
},
"function:secret": {
"description": "Create and revoke write-only Function secret versions."
},
"function:invocation": {
"description": "Invoke Functions once and inspect metadata receipts."
},
"cloud": {
"description": "Official API Number operations (beta). Team enrollment and scopes apply."
},
"cloud:template": {
"description": "Manage Meta templates, separate from Polymorfa project drafts."
},
"template": {
"description": "Submit saved project templates for approval."
},
"cloud:credentials": {
"description": "Read redacted credential health and create guided reauthorization links."
},
"flow": {
"description": "Manage project Flow drafts and their Official API lifecycle."
},
"flow:key": {
"description": "Read and register phone-scoped Flow encryption public keys."
},
"cloud:catalog": {
"description": "Read Meta product catalogs visible to a WhatsApp Business Account."
},
"cloud:group": {
"description": "Manage WhatsApp groups on an Official API Number (beta). Requires an Official Business Account."
},
"cloud:group:join-requests": {
"description": "Review join requests for Official groups that require approval."
},
"analytics": {
"description": "Read WhatsApp number activity and operational vitals."
}
}
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/",
"tag": "dev",
"provenance": false
},
"repository": {
"type": "git",
"url": "git+https://github.com/polymorfa/cli.git"
}
}