@dynamoi/mcp 1.0.8 → 1.0.9
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/CHANGELOG.md +6 -0
- package/README.md +30 -32
- package/dist/auth/protected-resource.d.ts +8 -8
- package/dist/auth/protected-resource.js +12 -12
- package/dist/campaign-limits.d.ts +16 -0
- package/dist/campaign-limits.js +22 -0
- package/dist/index.js +140 -138
- package/dist/server/account-settings-tools.d.ts +2 -2
- package/dist/server/artist-intake-tools.d.ts +2 -2
- package/dist/server/create-server.d.ts +3 -5
- package/dist/server/distribution-tools.d.ts +4 -4
- package/dist/server/shop-tools.d.ts +1 -1
- package/dist/server/smart-campaign-creative.d.ts +32 -2
- package/dist/server/smart-link-theme-preview.d.ts +1 -1
- package/dist/server/smart-link-tools.d.ts +7 -7
- package/dist/server/support-tools.d.ts +1 -1
- package/dist/server/tools.d.ts +17 -17
- package/dist/server/workspace/tool.d.ts +1 -1
- package/dist/shop-limits.d.ts +6 -0
- package/dist/shop-limits.js +13 -0
- package/package.json +16 -2
- package/server.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.0.9] - 2026-11-02
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Export the unchanged Shop quote and targeting limits from `@dynamoi/mcp/shop-limits` and campaign creative limits from `@dynamoi/mcp/campaign-limits` so standalone MCP and first-party validators share one policy. Tool inputs, scopes and consent requirements remain unchanged.
|
|
15
|
+
|
|
10
16
|
## [1.0.8] - 2026-10-31
|
|
11
17
|
|
|
12
18
|
### Security
|
package/README.md
CHANGED
|
@@ -193,8 +193,8 @@ including what did not work.
|
|
|
193
193
|
- **Each client gets one of two tool sets**, chosen from the identity it signs
|
|
194
194
|
in with. Reviewed clients and apps that sign in on your own computer
|
|
195
195
|
(Claude Code, Codex, Cursor, VS Code, Gemini CLI, OpenClaw and the `dynamoi`
|
|
196
|
-
CLI) get All 57 tools. ChatGPT, Claude added from its directory listing and other web apps get
|
|
197
|
-
|
|
196
|
+
CLI) get All 57 tools. ChatGPT, Claude added from its directory listing and other web apps get 50 review-safe advertised tools: reads, Smart Links,
|
|
197
|
+
billing and earnings status, draft preparation, account management and connection links, with no purchases, launches or checkout.
|
|
198
198
|
- **Sign-in is OAuth 2.1**, and every call still checks its scopes and the
|
|
199
199
|
user's role for that artist. See
|
|
200
200
|
[client permissions](https://dynamoi.com/docs/mcp-server/client-permissions).
|
|
@@ -218,10 +218,10 @@ including what did not work.
|
|
|
218
218
|
| `dynamoi_get_playlist_analytics` | Tracked playlist placements, reach, and movement with freshness and snapshot dates | Reads | Both |
|
|
219
219
|
| `dynamoi_get_audience_analytics` | Streaming audience by date range, country, service, and paid/free tier | Reads | Both |
|
|
220
220
|
| `dynamoi_get_youtube_channel_data` | Observed YouTube channel data by dataset, with coverage and campaign dates | Reads | Both |
|
|
221
|
-
| `dynamoi_onboard_artist` | Search or preview Spotify artists; intake Spotify or YouTube artists with workspace caps and claim checks | Changes data |
|
|
221
|
+
| `dynamoi_onboard_artist` | Search or preview Spotify artists; intake Spotify or YouTube artists with workspace caps and claim checks | Changes data | Both |
|
|
222
222
|
| `dynamoi_get_platform_status` | Spotify, Meta, and YouTube connection status and setup blockers | Reads | Both |
|
|
223
|
-
| `dynamoi_get_distribution_status` | Application, agreement, scoped catalog and latest release status; artist attestation and store delivery stay in web/app | Reads |
|
|
224
|
-
| `dynamoi_prepare_distribution_release` | Private 30-minute metadata, track and split proposal handoff; the artist reviews and submits on web | Changes data |
|
|
223
|
+
| `dynamoi_get_distribution_status` | Application, agreement, scoped catalog and latest release status; artist attestation and store delivery stay in web/app | Reads | Both |
|
|
224
|
+
| `dynamoi_prepare_distribution_release` | Private 30-minute metadata, track and split proposal handoff; the artist reviews and submits on web | Changes data | Both |
|
|
225
225
|
| `dynamoi_get_distribution_application` | The five distribution requirements and application status | Reads | Both |
|
|
226
226
|
| `dynamoi_apply_for_distribution` | Submit a distribution application for manual review | Changes data | Both |
|
|
227
227
|
| `dynamoi_preview_smart_link_themes` | Visual preview of the Smart Link themes | Reads | Both |
|
|
@@ -231,43 +231,41 @@ including what did not work.
|
|
|
231
231
|
| `dynamoi_get_smart_link` | One Smart Link, with optional analytics and artist settings | Reads | Both |
|
|
232
232
|
| `dynamoi_update_smart_link_description` | Update one Smart Link's public description | Changes data | Directory |
|
|
233
233
|
| `dynamoi_update_smart_link_artist_settings` | Update an artist's Smart Link theme or validated pixel settings | Changes data | Directory |
|
|
234
|
-
| `dynamoi_update_smart_link` | Prior multi-action schema for description or artist settings | Changes data |
|
|
235
|
-
| `dynamoi_smart_link_controls` | Native catalog sync, availability, tracking and promote analytics | Changes data |
|
|
236
|
-
| `dynamoi_update_smart_link_release_settings` | Update one Smart Link's release video or destination visibility | Changes data |
|
|
237
|
-
| `dynamoi_update_smart_link_artist_hub_settings` | Update an artist's hub introduction, official profile links or service order | Changes data |
|
|
238
|
-
| `dynamoi_get_action_center` | Artist Action Center revision, task states and distinct actions | Reads |
|
|
239
|
-
| `dynamoi_get_earnings` | Authenticated payee own-USD earnings, month axis, filtered detail pages, rankings, geographic views and statement export data; no payout/tax authority | Reads |
|
|
240
|
-
| `dynamoi_get_team` | Organization members and pending invitations; organization authority required. | Reads |
|
|
241
|
-
| `dynamoi_get_artist_billing_country` | Read current billing country; not tax residency. | Reads |
|
|
242
|
-
| `dynamoi_manage_team` | Change organization member roles, remove members or revoke pending invitations with web authority and owner protections. | Changes data |
|
|
243
|
-
| `dynamoi_get_audit_log` | Sanitized artist/organization audit events with scope-bound cursors, plus your 12 recent account activity entries. | Reads |
|
|
244
|
-
| `dynamoi_claim_referral_code` | Claim or change your own referral code. Accept program terms yourself in the app or web. | Changes data |
|
|
245
|
-
| `dynamoi_get_referrals` | Your referral snapshot; no attribution or commission writes. Pending and available amounts are not approved or paid payouts. | Reads |
|
|
246
|
-
| `dynamoi_get_billing` | Billing status, credit balance, promo limits and masked payment-method display | Reads |
|
|
234
|
+
| `dynamoi_update_smart_link` | Prior multi-action schema for description or artist settings | Changes data | Both |
|
|
235
|
+
| `dynamoi_smart_link_controls` | Native catalog sync, availability, tracking and promote analytics | Changes data | Both |
|
|
236
|
+
| `dynamoi_update_smart_link_release_settings` | Update one Smart Link's release video or destination visibility | Changes data | Both |
|
|
237
|
+
| `dynamoi_update_smart_link_artist_hub_settings` | Update an artist's hub introduction, official profile links or service order | Changes data | Both |
|
|
238
|
+
| `dynamoi_get_action_center` | Artist Action Center revision, task states and distinct actions | Reads | Both |
|
|
239
|
+
| `dynamoi_get_earnings` | Authenticated payee own-USD earnings, month axis, filtered detail pages, rankings, geographic views and statement export data; no payout/tax authority | Reads | Both |
|
|
240
|
+
| `dynamoi_get_team` | Organization members and pending invitations; organization authority required. | Reads | Both |
|
|
241
|
+
| `dynamoi_get_artist_billing_country` | Read current billing country; not tax residency. | Reads | Both |
|
|
242
|
+
| `dynamoi_manage_team` | Change organization member roles, remove members or revoke pending invitations with web authority and owner protections. | Changes data | Both |
|
|
243
|
+
| `dynamoi_get_audit_log` | Sanitized artist/organization audit events with scope-bound cursors, plus your 12 recent account activity entries. | Reads | Both |
|
|
244
|
+
| `dynamoi_claim_referral_code` | Claim or change your own referral code. Accept program terms yourself in the app or web. | Changes data | Both |
|
|
245
|
+
| `dynamoi_get_referrals` | Your referral snapshot; no attribution or commission writes. Pending and available amounts are not approved or paid payouts. | Reads | Both |
|
|
246
|
+
| `dynamoi_get_billing` | Billing status, credit balance, promo limits and masked payment-method display | Reads | Both |
|
|
247
247
|
| `dynamoi_add_campaign_funds` | Create the unpaid Add campaign funds Stripe Checkout link, after the user approves the amount and currency | Changes data | Full |
|
|
248
248
|
| `dynamoi_get_resume_funding` | Campaign resume-funding breakdown, refusal, and consent requirements | Reads | Full |
|
|
249
|
-
| `dynamoi_list_available_countries` | Countries a Smart Campaign or YouTube campaign can target | Reads |
|
|
250
|
-
| `dynamoi_get_campaign_readiness` | Check launch inputs before creating anything | Reads |
|
|
251
|
-
| `dynamoi_list_media_assets` | Uploaded images and videos that a launch can reuse | Reads |
|
|
249
|
+
| `dynamoi_list_available_countries` | Countries a Smart Campaign or YouTube campaign can target | Reads | Both |
|
|
250
|
+
| `dynamoi_get_campaign_readiness` | Check launch inputs before creating anything | Reads | Both |
|
|
251
|
+
| `dynamoi_list_media_assets` | Uploaded images and videos that a launch can reuse | Reads | Both |
|
|
252
252
|
| `dynamoi_launch_campaign` | Launch a Smart Campaign or YouTube campaign | Changes data | Full |
|
|
253
253
|
| `dynamoi_update_campaign` | Pause, resume, or change a campaign's budget or end date | Changes data | Full |
|
|
254
|
-
| `dynamoi_smart_campaign_ad_copy` | Read/save Smart Campaign creation-draft copy with shared validation and revision checks; never submits or launches | Changes data |
|
|
255
|
-
| `dynamoi_manage_smart_campaign_creative` | All 9 native draft creative operations: read generation/source audio, start/retry/clear asynchronous generation (poll with read), select creatives, and start/status/complete/abort direct MP3 multipart upload or import_source_audio from a public Dropbox share link on a draft; Google Drive unsupported (Google API key required); no approval or submission | Changes data |
|
|
256
|
-
| `dynamoi_manage_youtube_draft` | Inspect an interrupted YouTube launch draft, or discard it when the user asks | Changes data |
|
|
257
|
-
| `dynamoi_start_meta_connection` | Start the Facebook Page and Instagram connection in the browser | Changes data |
|
|
258
|
-
| `dynamoi_start_youtube_channel_link` | Start the YouTube channel connection in the browser | Changes data |
|
|
259
|
-
| `dynamoi_contact_support` | Send a support request or feedback to Dynamoi | Changes data |
|
|
254
|
+
| `dynamoi_smart_campaign_ad_copy` | Read/save Smart Campaign creation-draft copy with shared validation and revision checks; never submits or launches | Changes data | Both |
|
|
255
|
+
| `dynamoi_manage_smart_campaign_creative` | All 9 native draft creative operations: read generation/source audio, start/retry/clear asynchronous generation (poll with read), select creatives, and start/status/complete/abort direct MP3 multipart upload or import_source_audio from a public Dropbox share link on a draft; Google Drive unsupported (Google API key required); no approval or submission | Changes data | Both |
|
|
256
|
+
| `dynamoi_manage_youtube_draft` | Inspect an interrupted YouTube launch draft, or discard it when the user asks | Changes data | Both |
|
|
257
|
+
| `dynamoi_start_meta_connection` | Start the Facebook Page and Instagram connection in the browser | Changes data | Both |
|
|
258
|
+
| `dynamoi_start_youtube_channel_link` | Start the YouTube channel connection in the browser | Changes data | Both |
|
|
259
|
+
| `dynamoi_contact_support` | Send a support request or feedback to Dynamoi | Changes data | Both |
|
|
260
260
|
| `dynamoi_delete_account` | Preview eligibility and explicitly start irreversible account deletion; cleanup is asynchronous and required records may be retained | Changes data | Full |
|
|
261
|
-
| `dynamoi_update_account_profile` | Preview or explicitly confirm a display name or preferred language change | Changes data |
|
|
261
|
+
| `dynamoi_update_account_profile` | Preview or explicitly confirm a display name or preferred language change | Changes data | Both |
|
|
262
262
|
| `dynamoi_set_artist_billing_country` | Preview or explicitly confirm an artist checkout-currency suggestion country; existing currency stays fixed | Changes data | Full |
|
|
263
263
|
| `dynamoi_shop_list_orders` | Read your authorized artist’s newest Shop order status and fulfillment timestamps | Reads | Full |
|
|
264
264
|
| `dynamoi_shop_get_quote` | Estimate a one-off YouTube promotion | Reads | Full |
|
|
265
265
|
| `dynamoi_shop_create_checkout` | Create an unpaid Stripe Checkout link for that promotion | Changes data | Full |
|
|
266
266
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
directory profile. Previously approved directory clients may keep calling
|
|
270
|
-
`dynamoi_update_smart_link` with its approved schema and the same checks.
|
|
267
|
+
Directory clients can call `dynamoi_update_smart_link` directly, alongside the
|
|
268
|
+
single-purpose Smart Link settings tools. No hidden compatibility names remain.
|
|
271
269
|
|
|
272
270
|
## FAQ
|
|
273
271
|
|
|
@@ -10,21 +10,21 @@ export declare const DYNAMOI_MCP_TOOL_SCOPES: {
|
|
|
10
10
|
readonly dynamoi_get_account_overview: readonly ["dynamoi:read"];
|
|
11
11
|
readonly dynamoi_get_action_center: readonly ["dynamoi:read", "dynamoi:platform.read"];
|
|
12
12
|
readonly dynamoi_get_artist_analytics: readonly ["dynamoi:read"];
|
|
13
|
-
readonly dynamoi_onboard_artist: readonly ["dynamoi:read", "dynamoi:
|
|
13
|
+
readonly dynamoi_onboard_artist: readonly ["dynamoi:read", "dynamoi:platform.write"];
|
|
14
14
|
readonly dynamoi_get_audience_analytics: readonly ["dynamoi:read"];
|
|
15
|
-
readonly dynamoi_get_artist_billing_country: readonly ["dynamoi:read", "dynamoi:
|
|
15
|
+
readonly dynamoi_get_artist_billing_country: readonly ["dynamoi:read", "dynamoi:billing.read"];
|
|
16
16
|
readonly dynamoi_get_audit_log: readonly ["dynamoi:read"];
|
|
17
17
|
readonly dynamoi_get_billing: readonly ["dynamoi:read", "dynamoi:billing.read"];
|
|
18
18
|
readonly dynamoi_get_campaign: readonly ["dynamoi:read"];
|
|
19
19
|
readonly dynamoi_get_campaign_readiness: readonly ["dynamoi:read"];
|
|
20
20
|
readonly dynamoi_get_distribution_application: readonly ["dynamoi:read", "dynamoi:distribution.read"];
|
|
21
|
-
readonly dynamoi_get_distribution_status: readonly ["dynamoi:read", "dynamoi:distribution.read"
|
|
21
|
+
readonly dynamoi_get_distribution_status: readonly ["dynamoi:read", "dynamoi:distribution.read"];
|
|
22
22
|
readonly dynamoi_get_earnings: readonly ["dynamoi:read", "dynamoi:distribution.read"];
|
|
23
23
|
readonly dynamoi_get_growth_audit: readonly ["dynamoi:read"];
|
|
24
24
|
readonly dynamoi_get_platform_status: readonly ["dynamoi:read", "dynamoi:platform.read"];
|
|
25
|
-
readonly dynamoi_prepare_distribution_release: readonly ["dynamoi:read", "dynamoi:distribution.apply"
|
|
25
|
+
readonly dynamoi_prepare_distribution_release: readonly ["dynamoi:read", "dynamoi:distribution.apply"];
|
|
26
26
|
readonly dynamoi_get_playlist_analytics: readonly ["dynamoi:read"];
|
|
27
|
-
readonly dynamoi_claim_referral_code: readonly ["dynamoi:read", "dynamoi:
|
|
27
|
+
readonly dynamoi_claim_referral_code: readonly ["dynamoi:read", "dynamoi:platform.write"];
|
|
28
28
|
readonly dynamoi_get_referrals: readonly ["dynamoi:read"];
|
|
29
29
|
readonly dynamoi_get_resume_funding: readonly ["dynamoi:read", "dynamoi:billing.read"];
|
|
30
30
|
readonly dynamoi_get_smart_link: readonly ["dynamoi:read"];
|
|
@@ -37,7 +37,7 @@ export declare const DYNAMOI_MCP_TOOL_SCOPES: {
|
|
|
37
37
|
readonly dynamoi_list_media_assets: readonly ["dynamoi:read"];
|
|
38
38
|
readonly dynamoi_list_smart_links: readonly ["dynamoi:read"];
|
|
39
39
|
readonly dynamoi_manage_smart_campaign_creative: readonly ["dynamoi:read", "dynamoi:campaign.write"];
|
|
40
|
-
readonly dynamoi_manage_team: readonly ["dynamoi:read", "dynamoi:
|
|
40
|
+
readonly dynamoi_manage_team: readonly ["dynamoi:read", "dynamoi:platform.write"];
|
|
41
41
|
readonly dynamoi_manage_youtube_draft: readonly ["dynamoi:read", "dynamoi:campaign.write"];
|
|
42
42
|
readonly dynamoi_open_workspace: readonly ["dynamoi:read"];
|
|
43
43
|
readonly dynamoi_preview_smart_link_themes: readonly ["dynamoi:read"];
|
|
@@ -50,8 +50,8 @@ export declare const DYNAMOI_MCP_TOOL_SCOPES: {
|
|
|
50
50
|
readonly dynamoi_smart_link_controls: readonly ["dynamoi:read", "dynamoi:smart_links.write"];
|
|
51
51
|
readonly dynamoi_start_meta_connection: readonly ["dynamoi:read", "dynamoi:platform.write"];
|
|
52
52
|
readonly dynamoi_start_youtube_channel_link: readonly ["dynamoi:read", "dynamoi:platform.write"];
|
|
53
|
-
readonly dynamoi_update_account_profile: readonly ["dynamoi:read", "dynamoi:
|
|
54
|
-
readonly dynamoi_update_campaign: readonly ["dynamoi:read", "dynamoi:campaign.
|
|
53
|
+
readonly dynamoi_update_account_profile: readonly ["dynamoi:read", "dynamoi:platform.write"];
|
|
54
|
+
readonly dynamoi_update_campaign: readonly ["dynamoi:read", "dynamoi:campaign.launch"];
|
|
55
55
|
readonly dynamoi_update_smart_link: readonly ["dynamoi:read", "dynamoi:smart_links.write"];
|
|
56
56
|
readonly dynamoi_update_smart_link_artist_hub_settings: readonly ["dynamoi:read", "dynamoi:smart_links.write"];
|
|
57
57
|
readonly dynamoi_update_smart_link_artist_settings: readonly ["dynamoi:read", "dynamoi:smart_links.write"];
|
|
@@ -80,15 +80,17 @@ var BILLING_COUNTRY_READ_CONTRACT = {
|
|
|
80
80
|
mcp: {
|
|
81
81
|
...mcp,
|
|
82
82
|
definition: {
|
|
83
|
-
description: "Read the artist billing country. Existing commercial currency stays fixed. This is not tax residency.
|
|
83
|
+
description: "Read the artist billing country. Existing commercial currency stays fixed. This is not tax residency.",
|
|
84
84
|
destructiveHint: false,
|
|
85
85
|
name: "dynamoi_get_artist_billing_country",
|
|
86
86
|
openWorldHint: false,
|
|
87
|
-
profiles,
|
|
87
|
+
profiles: { directory: "advertised", full: "advertised" },
|
|
88
88
|
readOnlyHint: true,
|
|
89
89
|
schema: z2.object({ artistId: z2.string().uuid() }).strict(),
|
|
90
90
|
title: "Get Artist Billing Country"
|
|
91
|
-
}
|
|
91
|
+
},
|
|
92
|
+
directoryReason: "Read-only billing country is directory-safe.",
|
|
93
|
+
scopes: ["dynamoi:read", "dynamoi:billing.read"]
|
|
92
94
|
},
|
|
93
95
|
mobile: {
|
|
94
96
|
...mobile,
|
|
@@ -394,7 +396,7 @@ var DYNAMOI_MCP_TOOL_SCOPES = {
|
|
|
394
396
|
dynamoi_get_account_overview: ["dynamoi:read"],
|
|
395
397
|
dynamoi_get_action_center: ["dynamoi:read", "dynamoi:platform.read"],
|
|
396
398
|
dynamoi_get_artist_analytics: ["dynamoi:read"],
|
|
397
|
-
dynamoi_onboard_artist: ["dynamoi:read", "dynamoi:
|
|
399
|
+
dynamoi_onboard_artist: ["dynamoi:read", "dynamoi:platform.write"],
|
|
398
400
|
[AUDIENCE_ANALYTICS_CONTRACT.mcp.definition.name]: AUDIENCE_ANALYTICS_CONTRACT.mcp.scopes,
|
|
399
401
|
[BILLING_COUNTRY_READ_CONTRACT.mcp.definition.name]: BILLING_COUNTRY_READ_CONTRACT.mcp.scopes,
|
|
400
402
|
dynamoi_get_audit_log: ["dynamoi:read"],
|
|
@@ -407,19 +409,17 @@ var DYNAMOI_MCP_TOOL_SCOPES = {
|
|
|
407
409
|
],
|
|
408
410
|
dynamoi_get_distribution_status: [
|
|
409
411
|
"dynamoi:read",
|
|
410
|
-
"dynamoi:distribution.read"
|
|
411
|
-
"dynamoi:mcp.full"
|
|
412
|
+
"dynamoi:distribution.read"
|
|
412
413
|
],
|
|
413
414
|
dynamoi_get_earnings: ["dynamoi:read", "dynamoi:distribution.read"],
|
|
414
415
|
[GROWTH_AUDIT_CONTRACT.mcp.definition.name]: GROWTH_AUDIT_CONTRACT.mcp.scopes,
|
|
415
416
|
dynamoi_get_platform_status: ["dynamoi:read", "dynamoi:platform.read"],
|
|
416
417
|
dynamoi_prepare_distribution_release: [
|
|
417
418
|
"dynamoi:read",
|
|
418
|
-
"dynamoi:distribution.apply"
|
|
419
|
-
"dynamoi:mcp.full"
|
|
419
|
+
"dynamoi:distribution.apply"
|
|
420
420
|
],
|
|
421
421
|
[PLAYLIST_ANALYTICS_CONTRACT.mcp.definition.name]: PLAYLIST_ANALYTICS_CONTRACT.mcp.scopes,
|
|
422
|
-
dynamoi_claim_referral_code: ["dynamoi:read", "dynamoi:
|
|
422
|
+
dynamoi_claim_referral_code: ["dynamoi:read", "dynamoi:platform.write"],
|
|
423
423
|
dynamoi_get_referrals: ["dynamoi:read"],
|
|
424
424
|
dynamoi_get_resume_funding: ["dynamoi:read", "dynamoi:billing.read"],
|
|
425
425
|
dynamoi_get_smart_link: ["dynamoi:read"],
|
|
@@ -435,7 +435,7 @@ var DYNAMOI_MCP_TOOL_SCOPES = {
|
|
|
435
435
|
"dynamoi:read",
|
|
436
436
|
"dynamoi:campaign.write"
|
|
437
437
|
],
|
|
438
|
-
dynamoi_manage_team: ["dynamoi:read", "dynamoi:
|
|
438
|
+
dynamoi_manage_team: ["dynamoi:read", "dynamoi:platform.write"],
|
|
439
439
|
dynamoi_manage_youtube_draft: ["dynamoi:read", "dynamoi:campaign.write"],
|
|
440
440
|
dynamoi_open_workspace: ["dynamoi:read"],
|
|
441
441
|
dynamoi_preview_smart_link_themes: ["dynamoi:read"],
|
|
@@ -451,8 +451,8 @@ var DYNAMOI_MCP_TOOL_SCOPES = {
|
|
|
451
451
|
"dynamoi:read",
|
|
452
452
|
"dynamoi:platform.write"
|
|
453
453
|
],
|
|
454
|
-
dynamoi_update_account_profile: ["dynamoi:read", "dynamoi:
|
|
455
|
-
dynamoi_update_campaign: ["dynamoi:read", "dynamoi:campaign.
|
|
454
|
+
dynamoi_update_account_profile: ["dynamoi:read", "dynamoi:platform.write"],
|
|
455
|
+
dynamoi_update_campaign: ["dynamoi:read", "dynamoi:campaign.launch"],
|
|
456
456
|
dynamoi_update_smart_link: ["dynamoi:read", "dynamoi:smart_links.write"],
|
|
457
457
|
dynamoi_update_smart_link_artist_hub_settings: [
|
|
458
458
|
"dynamoi:read",
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** Public campaign policy shared by standalone adapters and backend owners. */
|
|
2
|
+
export declare const CAMPAIGN_CREATIVE_SELECTION_LIMIT = 10;
|
|
3
|
+
export declare const CAMPAIGN_CREATIVE_TOTAL_SELECTION_LIMIT: number;
|
|
4
|
+
export declare const MIN_CAMPAIGN_DAYS = 5;
|
|
5
|
+
export declare const MAX_SOURCE_AUDIO_MIB = 250;
|
|
6
|
+
export declare const MAX_SOURCE_AUDIO_BYTES: number;
|
|
7
|
+
export declare const USD_BUDGET_MINIMUMS: {
|
|
8
|
+
readonly smartCampaign: {
|
|
9
|
+
readonly dailyUsd: 10;
|
|
10
|
+
readonly totalUsd: number;
|
|
11
|
+
};
|
|
12
|
+
readonly youtube: {
|
|
13
|
+
readonly dailyUsd: 10;
|
|
14
|
+
readonly totalUsd: 75;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// src/campaign-limits.ts
|
|
2
|
+
var CAMPAIGN_CREATIVE_SELECTION_LIMIT = 10;
|
|
3
|
+
var CAMPAIGN_CREATIVE_TOTAL_SELECTION_LIMIT = 3 * CAMPAIGN_CREATIVE_SELECTION_LIMIT;
|
|
4
|
+
var MIN_CAMPAIGN_DAYS = 5;
|
|
5
|
+
var MAX_SOURCE_AUDIO_MIB = 250;
|
|
6
|
+
var MAX_SOURCE_AUDIO_BYTES = MAX_SOURCE_AUDIO_MIB * 1024 * 1024;
|
|
7
|
+
var MIN_DAILY_CAMPAIGN_BUDGET_USD = 10;
|
|
8
|
+
var USD_BUDGET_MINIMUMS = {
|
|
9
|
+
smartCampaign: {
|
|
10
|
+
dailyUsd: MIN_DAILY_CAMPAIGN_BUDGET_USD,
|
|
11
|
+
totalUsd: MIN_DAILY_CAMPAIGN_BUDGET_USD * MIN_CAMPAIGN_DAYS
|
|
12
|
+
},
|
|
13
|
+
youtube: { dailyUsd: MIN_DAILY_CAMPAIGN_BUDGET_USD, totalUsd: 75 }
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
CAMPAIGN_CREATIVE_SELECTION_LIMIT,
|
|
17
|
+
CAMPAIGN_CREATIVE_TOTAL_SELECTION_LIMIT,
|
|
18
|
+
MAX_SOURCE_AUDIO_BYTES,
|
|
19
|
+
MAX_SOURCE_AUDIO_MIB,
|
|
20
|
+
MIN_CAMPAIGN_DAYS,
|
|
21
|
+
USD_BUDGET_MINIMUMS
|
|
22
|
+
};
|