@dynamoi/mcp 1.0.8 → 1.0.10
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 +12 -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 +157 -147
- package/dist/server/account-settings-tools.d.ts +3 -3
- 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 +12 -2
- package/dist/server/smart-campaign-creative.d.ts +33 -3
- package/dist/server/smart-link-theme-preview.d.ts +1 -1
- package/dist/server/smart-link-tools.d.ts +8 -8
- package/dist/server/support-tools.d.ts +1 -1
- package/dist/server/tools.d.ts +21 -21
- 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
|
@@ -74,12 +74,12 @@ export declare const ACCOUNT_SETTINGS_TOOL_DEFINITIONS: readonly [{
|
|
|
74
74
|
}>>;
|
|
75
75
|
message: z.ZodOptional<z.ZodString>;
|
|
76
76
|
}, z.core.$strict>;
|
|
77
|
-
readonly description: "Read the artist billing country. Existing commercial currency stays fixed. This is not tax residency.
|
|
77
|
+
readonly description: "Read the artist billing country. Existing commercial currency stays fixed. This is not tax residency.";
|
|
78
78
|
readonly destructiveHint: false;
|
|
79
79
|
readonly name: "dynamoi_get_artist_billing_country";
|
|
80
80
|
readonly openWorldHint: false;
|
|
81
81
|
readonly profiles: {
|
|
82
|
-
readonly directory: "
|
|
82
|
+
readonly directory: "advertised";
|
|
83
83
|
readonly full: "advertised";
|
|
84
84
|
};
|
|
85
85
|
readonly readOnlyHint: true;
|
|
@@ -254,6 +254,7 @@ export declare const DeleteAccountSchema: z.ZodObject<{
|
|
|
254
254
|
export declare const DELETE_ACCOUNT_TOOL_DEFINITIONS: readonly [{
|
|
255
255
|
readonly description: "Preview account deletion eligibility and blockers without changing anything. Show the irreversible consequences, then obtain explicit confirmation and call with confirm=true. Deletion starts cleanup; it does not promise all records are erased.";
|
|
256
256
|
readonly name: "dynamoi_delete_account";
|
|
257
|
+
readonly openWorldHint: true;
|
|
257
258
|
readonly schema: z.ZodObject<{
|
|
258
259
|
authProvider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
259
260
|
email: "email";
|
|
@@ -265,7 +266,6 @@ export declare const DELETE_ACCOUNT_TOOL_DEFINITIONS: readonly [{
|
|
|
265
266
|
}, z.core.$strict>;
|
|
266
267
|
readonly title: "Delete Account";
|
|
267
268
|
readonly destructiveHint: true;
|
|
268
|
-
readonly openWorldHint: false;
|
|
269
269
|
readonly outputSchema: z.ZodObject<{
|
|
270
270
|
status: z.ZodEnum<{
|
|
271
271
|
success: "success";
|
|
@@ -13,8 +13,8 @@ export declare const ArtistIntakeInputSchema: z.ZodObject<{
|
|
|
13
13
|
url: z.ZodOptional<z.ZodString>;
|
|
14
14
|
}, z.core.$strict>;
|
|
15
15
|
export declare const ARTIST_INTAKE_TOOL_DEFINITION: {
|
|
16
|
-
readonly description: "
|
|
17
|
-
readonly destructiveHint:
|
|
16
|
+
readonly description: "Search Spotify artists by query, preview a Spotify artist URL, or intake an artist from a Spotify or YouTube URL. Intake creates a workspace and starts onboarding using web organization policy; organizationId selects an editable organization. Existing claims, entitlements, caps and provider quotas apply. Sign in through the app or web first.";
|
|
17
|
+
readonly destructiveHint: true;
|
|
18
18
|
readonly name: "dynamoi_onboard_artist";
|
|
19
19
|
readonly openWorldHint: true;
|
|
20
20
|
readonly outputSchema: z.ZodObject<{
|
|
@@ -31,11 +31,8 @@ type DynamoiToolDefinition = Omit<DynamoiToolRegistrationDescriptor, "name"> & {
|
|
|
31
31
|
export declare function getDynamoiToolDefinitions(options?: {
|
|
32
32
|
toolProfile?: DynamoiMcpToolProfile;
|
|
33
33
|
}): DynamoiToolDefinition[];
|
|
34
|
-
/**
|
|
35
|
-
|
|
36
|
-
* while clients transition to the advertised single-purpose operations.
|
|
37
|
-
*/
|
|
38
|
-
export declare function getDynamoiToolCompatibilityDefinitions(options?: {
|
|
34
|
+
/** All supported directory names are advertised directly. */
|
|
35
|
+
export declare function getDynamoiToolCompatibilityDefinitions(_options?: {
|
|
39
36
|
toolProfile?: DynamoiMcpToolProfile;
|
|
40
37
|
}): DynamoiToolDefinition[];
|
|
41
38
|
export type Phase3Adapter = {
|
|
@@ -117,6 +114,7 @@ export declare function createDynamoiMcpServer(options: {
|
|
|
117
114
|
observerTimeoutMs?: number;
|
|
118
115
|
oauthScopes?: readonly string[];
|
|
119
116
|
toolProfile?: DynamoiMcpToolProfile;
|
|
117
|
+
uiDomain?: string | undefined;
|
|
120
118
|
websiteUrl?: string;
|
|
121
119
|
}): McpServer;
|
|
122
120
|
export {};
|
|
@@ -43,8 +43,8 @@ export declare const DynamoiPrepareDistributionReleaseInputSchema: z.ZodObject<{
|
|
|
43
43
|
}, z.core.$strict>>;
|
|
44
44
|
}, z.core.$strict>;
|
|
45
45
|
export declare const DISTRIBUTION_TOOL_DEFINITIONS: readonly [{
|
|
46
|
-
readonly description: "Prepare metadata, tracks and proposed splits for artist review in a private expiring web form. Does not submit a release, attest rights, accept agreements or invite collaborators.
|
|
47
|
-
readonly destructiveHint:
|
|
46
|
+
readonly description: "Prepare metadata, tracks and proposed splits for artist review in a private expiring web form. Does not submit a release, attest rights, accept agreements or invite collaborators.";
|
|
47
|
+
readonly destructiveHint: true;
|
|
48
48
|
readonly name: "dynamoi_prepare_distribution_release";
|
|
49
49
|
readonly openWorldHint: false;
|
|
50
50
|
readonly outputSchema: z.ZodObject<{
|
|
@@ -129,7 +129,7 @@ export declare const DISTRIBUTION_TOOL_DEFINITIONS: readonly [{
|
|
|
129
129
|
}, z.core.$strict>;
|
|
130
130
|
readonly title: "Prepare Release Handoff";
|
|
131
131
|
}, {
|
|
132
|
-
readonly description: "Read native foundation, application, agreement, catalog or release status for an accessible artist through the same owners as web/mobile.
|
|
132
|
+
readonly description: "Read native foundation, application, agreement, catalog or release status for an accessible artist through the same owners as web/mobile. Release intake status requires editor access, as on web; catalog retains viewer scoping. Catalog is a status overview; releases returns the latest 20 submissions, not complete history. Rights and agreement attestation and sending releases to stores are done by the artist in web or the app.";
|
|
133
133
|
readonly destructiveHint: false;
|
|
134
134
|
readonly name: "dynamoi_get_distribution_status";
|
|
135
135
|
readonly openWorldHint: false;
|
|
@@ -331,7 +331,7 @@ export declare const DISTRIBUTION_TOOL_DEFINITIONS: readonly [{
|
|
|
331
331
|
message: z.ZodOptional<z.ZodString>;
|
|
332
332
|
}, z.core.$strict>;
|
|
333
333
|
readonly description: "Submit an artist's application for Dynamoi music distribution after the user explicitly asks to apply and all five eligibility requirements are met. This records an application for manual review; it does not approve distribution, accept an agreement, submit a release, transfer rights, configure splits or tax forms, or deliver music to stores. All three valid ISO 3166-1 alpha-2 country or territory codes, an adult signer attestation, confirmApplicationSubmission=true, and a concise userIntentSummary are required. Country, tax, payout, sanctions, and provider-delivery checks remain manual progression gates after intake; a valid code does not imply approval. Repeated submission is idempotent for an active application.";
|
|
334
|
-
readonly destructiveHint:
|
|
334
|
+
readonly destructiveHint: true;
|
|
335
335
|
readonly idempotentHint: true;
|
|
336
336
|
readonly name: "dynamoi_apply_for_distribution";
|
|
337
337
|
readonly openWorldHint: true;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
export declare const DYNAMOI_SHOP_FULL_SCOPE: "dynamoi:mcp.full";
|
|
3
|
-
export
|
|
3
|
+
export { SHOP_MAX_TARGET_COUNTRY_CODES as DYNAMOI_SHOP_MAX_TARGET_COUNTRY_CODES } from "../shop-limits";
|
|
4
4
|
export declare const DynamoiShopSelectionInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5
5
|
kind: z.ZodLiteral<"package">;
|
|
6
6
|
tier: z.ZodEnum<{
|
|
@@ -144,12 +144,17 @@ export declare const DynamoiShopOrdersDataSchema: z.ZodObject<{
|
|
|
144
144
|
createdAt: z.ZodString;
|
|
145
145
|
deploymentCompletedAt: z.ZodNullable<z.ZodString>;
|
|
146
146
|
orderId: z.ZodString;
|
|
147
|
+
remedyOutcome: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
148
|
+
full_refund: "full_refund";
|
|
149
|
+
partial_refund: "partial_refund";
|
|
150
|
+
no_refund: "no_refund";
|
|
151
|
+
}>>>;
|
|
147
152
|
status: z.ZodString;
|
|
148
153
|
}, z.core.$strict>>;
|
|
149
154
|
}, z.core.$strict>;
|
|
150
155
|
export type DynamoiShopOrdersData = z.infer<typeof DynamoiShopOrdersDataSchema>;
|
|
151
156
|
export declare const SHOP_TOOL_DEFINITIONS: readonly [{
|
|
152
|
-
readonly description: "Read up to 20 newest Shop orders for an authorized artist, optionally filtered by order ID. Returns observed order status, campaign status and fulfillment timestamps. No refunds or fulfillment changes.";
|
|
157
|
+
readonly description: "Read up to 20 newest Shop orders for an authorized artist, optionally filtered by order ID. Returns observed order status, independent remedy outcome, campaign status and fulfillment timestamps. No refunds or fulfillment changes.";
|
|
153
158
|
readonly destructiveHint: false;
|
|
154
159
|
readonly idempotentHint: true;
|
|
155
160
|
readonly name: "dynamoi_shop_list_orders";
|
|
@@ -162,6 +167,11 @@ export declare const SHOP_TOOL_DEFINITIONS: readonly [{
|
|
|
162
167
|
createdAt: z.ZodString;
|
|
163
168
|
deploymentCompletedAt: z.ZodNullable<z.ZodString>;
|
|
164
169
|
orderId: z.ZodString;
|
|
170
|
+
remedyOutcome: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
171
|
+
full_refund: "full_refund";
|
|
172
|
+
partial_refund: "partial_refund";
|
|
173
|
+
no_refund: "no_refund";
|
|
174
|
+
}>>>;
|
|
165
175
|
status: z.ZodString;
|
|
166
176
|
}, z.core.$strict>>;
|
|
167
177
|
}, z.core.$strict>;
|
|
@@ -114,6 +114,14 @@ export declare const SmartCampaignCreativeInputSchema: z.ZodObject<{
|
|
|
114
114
|
currency: z.ZodOptional<z.ZodString>;
|
|
115
115
|
endDate: z.ZodNullable<z.ZodISODate>;
|
|
116
116
|
}, z.core.$strict>>;
|
|
117
|
+
catalog: z.ZodOptional<z.ZodObject<{
|
|
118
|
+
after: z.ZodOptional<z.ZodString>;
|
|
119
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
120
|
+
source: z.ZodEnum<{
|
|
121
|
+
facebook: "facebook";
|
|
122
|
+
instagram: "instagram";
|
|
123
|
+
}>;
|
|
124
|
+
}, z.core.$strict>>;
|
|
117
125
|
locationSave: z.ZodOptional<z.ZodObject<{
|
|
118
126
|
campaignId: z.ZodUUID;
|
|
119
127
|
expectedUpdatedAt: z.ZodISODateTime;
|
|
@@ -156,6 +164,20 @@ export declare const SmartCampaignCreativeInputSchema: z.ZodObject<{
|
|
|
156
164
|
export declare const SmartCampaignCreativeOutputSchema: z.ZodObject<{
|
|
157
165
|
budgetDraft: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
158
166
|
campaignId: z.ZodUUID;
|
|
167
|
+
catalog: z.ZodOptional<z.ZodObject<{
|
|
168
|
+
items: z.ZodArray<z.ZodObject<{
|
|
169
|
+
createdAt: z.ZodString;
|
|
170
|
+
eligibleForPromotion: z.ZodNullable<z.ZodBoolean>;
|
|
171
|
+
id: z.ZodString;
|
|
172
|
+
mediaType: z.ZodString;
|
|
173
|
+
text: z.ZodString;
|
|
174
|
+
}, z.core.$strict>>;
|
|
175
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
176
|
+
source: z.ZodEnum<{
|
|
177
|
+
facebook: "facebook";
|
|
178
|
+
instagram: "instagram";
|
|
179
|
+
}>;
|
|
180
|
+
}, z.core.$strict>>;
|
|
159
181
|
draftState: z.ZodOptional<z.ZodEnum<{
|
|
160
182
|
available: "available";
|
|
161
183
|
missing: "missing";
|
|
@@ -281,10 +303,10 @@ export declare const SmartCampaignCreativeOutputSchema: z.ZodObject<{
|
|
|
281
303
|
}, z.core.$strict>>;
|
|
282
304
|
}, z.core.$strict>;
|
|
283
305
|
export declare const SMART_CAMPAIGN_CREATIVE_TOOL_DEFINITION: {
|
|
284
|
-
readonly description: "Use save_setup with setupSave={playLinkId, appleMusicUrl?} and a stable UUID-v4 setupRequestId per setup flow; reuse it on retries, and start a new flow for different content. It returns setupDraft. Use read_budget for budgetDraft and save_budget with budgetSave={campaignId, expectedUpdatedAt, budgetAmountCents, budgetAmountMinor?, currency?, budgetType:DAILY|TOTAL, endDate:YYYY-MM-DD|null}. Amounts are exact minor units in the artist currency; use the budget policy from read_budget. Setup and budget saves only edit drafts and never launch or charge. Use read_location to read native draft targeting and save_location with locationSave={campaignId, expectedUpdatedAt, targeting:{mode:WORLDWIDE}|{mode:INCLUDE,countryCodes:[US]}} to save it. Read locationDraft first for the current revision; both location actions return locationDraft. Read generation progress, generated creatives and current selection with action=read. Use start_generation, retry_generation or clear_generation with campaignId and expectedUpdatedAt from read. Generation runs asynchronously; poll with read. Use source_audio_upload_status or abort_source_audio_upload with campaignId, expectedUpdatedAt, uploadId and uploadSessionId to inspect uploaded parts or abort the direct upload. Agents never approve or submit. Use action=select with campaignId and expectedUpdatedAt from read, source=generate|posts|upload, and selectedCreativeIds, selectedSocialPosts (owned META:post IDs), or uploadedAssets=[{mediaAssetId}] from dynamoi_list_media_assets. Omit selectedCreativeIds for social or uploaded media. Uploaded metadata is resolved by the server; only owned, moderation-approved uploads can be selected. Selection never attests artist approval and never submits the campaign. Upload private JPEG/PNG/MP4 campaign media (1 GiB maximum) with start_media_upload, campaignId, expectedUpdatedAt and mediaUpload={assetId:UUID,fileName,fileSizeBytes,contentType}. Retain the returned key/uploadId and PUT each presigned part URL. Complete with complete_media_upload, a freshly inspected expectedUpdatedAt, and mediaUpload={assetId,fileName,fileSizeBytes,fileType,key,uploadId,parts:[{partNumber,etag}]}. Use media_upload_status or abort_media_upload with campaignId and mediaUpload={key,uploadId}; both remain usable after draft edits. A completed status means retry completion, not re-upload. Completion returns only a moderation receipt; poll dynamoi_list_media_assets and select only after APPROVED. Uploads do not edit the draft selection. Attach source MP3 audio to a draft with start_source_audio_upload, PUT each returned presigned part URL, then complete_source_audio_upload with the returned uploadId/uploadSessionId and part ETags. Both actions require campaignId, expectedUpdatedAt, fileSizeBytes, trackDurationSeconds and 0–2 hookSeconds. Read sourceAudio to confirm. Use import_source_audio with a public Dropbox share url, campaignId, expectedUpdatedAt, trackDurationSeconds and 0–2 hookSeconds (250 MiB maximum). Google Drive is unsupported because it requires a Google API key. On timeout or an ambiguous result, re-read sourceAudio before retrying.";
|
|
285
|
-
readonly destructiveHint:
|
|
306
|
+
readonly description: "Use save_setup with setupSave={playLinkId, appleMusicUrl?} and a stable UUID-v4 setupRequestId per setup flow; reuse it on retries, and start a new flow for different content. It returns setupDraft. Use read_budget for budgetDraft and save_budget with budgetSave={campaignId, expectedUpdatedAt, budgetAmountCents, budgetAmountMinor?, currency?, budgetType:DAILY|TOTAL, endDate:YYYY-MM-DD|null}. Amounts are exact minor units in the artist currency; use the budget policy from read_budget. Setup and budget saves only edit drafts and never launch or charge. Use read_location to read native draft targeting and save_location with locationSave={campaignId, expectedUpdatedAt, targeting:{mode:WORLDWIDE}|{mode:INCLUDE,countryCodes:[US]}} to save it. Read locationDraft first for the current revision; both location actions return locationDraft. Read generation progress, generated creatives and current selection with action=read. To discover owned social posts, explicitly add catalog={source:facebook|instagram,limit:1..25,after?:nextCursor}. Only requested catalog reads fetch connected-account posts; use catalog.items[].id directly in selectedSocialPosts. Pass nextCursor as after for another page. Catalog reads never alter selections, token state, or campaigns; provider failure is an error, and selection revalidates ownership. Use start_generation, retry_generation or clear_generation with campaignId and expectedUpdatedAt from read. Generation runs asynchronously; poll with read. Use source_audio_upload_status or abort_source_audio_upload with campaignId, expectedUpdatedAt, uploadId and uploadSessionId to inspect uploaded parts or abort the direct upload. Agents never approve or submit. Use action=select with campaignId and expectedUpdatedAt from read, source=generate|posts|upload, and selectedCreativeIds, selectedSocialPosts (owned META:post IDs), or uploadedAssets=[{mediaAssetId}] from dynamoi_list_media_assets. Omit selectedCreativeIds for social or uploaded media. Uploaded metadata is resolved by the server; only owned, moderation-approved uploads can be selected. Selection never attests artist approval and never submits the campaign. Upload private JPEG/PNG/MP4 campaign media (1 GiB maximum) with start_media_upload, campaignId, expectedUpdatedAt and mediaUpload={assetId:UUID,fileName,fileSizeBytes,contentType}. Retain the returned key/uploadId and PUT each presigned part URL. Complete with complete_media_upload, a freshly inspected expectedUpdatedAt, and mediaUpload={assetId,fileName,fileSizeBytes,fileType,key,uploadId,parts:[{partNumber,etag}]}. Use media_upload_status or abort_media_upload with campaignId and mediaUpload={key,uploadId}; both remain usable after draft edits. A completed status means retry completion, not re-upload. Completion returns only a moderation receipt; poll dynamoi_list_media_assets and select only after APPROVED. Uploads do not edit the draft selection. Attach source MP3 audio to a draft with start_source_audio_upload, PUT each returned presigned part URL, then complete_source_audio_upload with the returned uploadId/uploadSessionId and part ETags. Both actions require campaignId, expectedUpdatedAt, fileSizeBytes, trackDurationSeconds and 0–2 hookSeconds. Read sourceAudio to confirm. Use import_source_audio with a public Dropbox share url, campaignId, expectedUpdatedAt, trackDurationSeconds and 0–2 hookSeconds (250 MiB maximum). Google Drive is unsupported because it requires a Google API key. On timeout or an ambiguous result, re-read sourceAudio before retrying.";
|
|
307
|
+
readonly destructiveHint: true;
|
|
286
308
|
readonly name: "dynamoi_manage_smart_campaign_creative";
|
|
287
|
-
readonly openWorldHint:
|
|
309
|
+
readonly openWorldHint: true;
|
|
288
310
|
readonly outputSchema: z.ZodObject<{
|
|
289
311
|
status: z.ZodEnum<{
|
|
290
312
|
success: "success";
|
|
@@ -404,6 +426,14 @@ export declare const SMART_CAMPAIGN_CREATIVE_TOOL_DEFINITION: {
|
|
|
404
426
|
currency: z.ZodOptional<z.ZodString>;
|
|
405
427
|
endDate: z.ZodNullable<z.ZodISODate>;
|
|
406
428
|
}, z.core.$strict>>;
|
|
429
|
+
catalog: z.ZodOptional<z.ZodObject<{
|
|
430
|
+
after: z.ZodOptional<z.ZodString>;
|
|
431
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
432
|
+
source: z.ZodEnum<{
|
|
433
|
+
facebook: "facebook";
|
|
434
|
+
instagram: "instagram";
|
|
435
|
+
}>;
|
|
436
|
+
}, z.core.$strict>>;
|
|
407
437
|
locationSave: z.ZodOptional<z.ZodObject<{
|
|
408
438
|
campaignId: z.ZodUUID;
|
|
409
439
|
expectedUpdatedAt: z.ZodISODateTime;
|
|
@@ -75,4 +75,4 @@ export declare const SMART_LINK_THEME_PREVIEW_TOOL_DEFINITION: {
|
|
|
75
75
|
}, z.core.$strict>;
|
|
76
76
|
readonly title: "Preview Smart Link Themes";
|
|
77
77
|
};
|
|
78
|
-
export declare function registerSmartLinkThemePreviewResource(server: McpServer): void;
|
|
78
|
+
export declare function registerSmartLinkThemePreviewResource(server: McpServer, uiDomain?: string): void;
|
|
@@ -161,9 +161,9 @@ export declare const DynamoiUpdateSmartLinkArtistHubSettingsInputSchema: z.ZodOb
|
|
|
161
161
|
service: z.ZodEnum<{
|
|
162
162
|
spotify: "spotify";
|
|
163
163
|
youtube: "youtube";
|
|
164
|
-
applemusic: "applemusic";
|
|
165
|
-
instagram: "instagram";
|
|
166
164
|
facebook: "facebook";
|
|
165
|
+
instagram: "instagram";
|
|
166
|
+
applemusic: "applemusic";
|
|
167
167
|
tiktok: "tiktok";
|
|
168
168
|
soundcloud: "soundcloud";
|
|
169
169
|
bandcamp: "bandcamp";
|
|
@@ -259,7 +259,7 @@ export declare function parseDynamoiUpdateSmartLinkArtistSettingsInput(rawInput:
|
|
|
259
259
|
hubDescription?: string | null | undefined;
|
|
260
260
|
profileLinks?: {
|
|
261
261
|
isHidden: boolean;
|
|
262
|
-
service: "spotify" | "youtube" | "
|
|
262
|
+
service: "spotify" | "youtube" | "facebook" | "instagram" | "applemusic" | "tiktok" | "soundcloud" | "bandcamp" | "deezer" | "tidal" | "boomplay" | "audiomack";
|
|
263
263
|
url: string | null;
|
|
264
264
|
}[] | undefined;
|
|
265
265
|
servicePriority?: string[] | undefined;
|
|
@@ -277,7 +277,7 @@ export declare function parseDynamoiUpdateSmartLinkArtistHubSettingsInput(rawInp
|
|
|
277
277
|
hubDescription?: string | null | undefined;
|
|
278
278
|
profileLinks?: {
|
|
279
279
|
isHidden: boolean;
|
|
280
|
-
service: "spotify" | "youtube" | "
|
|
280
|
+
service: "spotify" | "youtube" | "facebook" | "instagram" | "applemusic" | "tiktok" | "soundcloud" | "bandcamp" | "deezer" | "tidal" | "boomplay" | "audiomack";
|
|
281
281
|
url: string | null;
|
|
282
282
|
}[] | undefined;
|
|
283
283
|
servicePriority?: string[] | undefined;
|
|
@@ -380,7 +380,7 @@ export declare const PHASE_4_TOOL_DEFINITIONS: readonly [{
|
|
|
380
380
|
readonly title: "Create Free Smart Link from Spotify";
|
|
381
381
|
}, {
|
|
382
382
|
readonly description: "Use this when the user gives a Spotify artist URL and wants Dynamoi to create, import, or refresh free Smart Links for the artist catalog and return the artist hub. If the signed-in user has no Dynamoi artist yet, omit artistId so Dynamoi can create the first artist from the Spotify artist profile. This starts the background catalog import so the user does not need to open the dashboard. Smart Links are free to create and manage. High-popularity or unverifiable artist catalog links may stay unpublished in verification hold until Dynamoi can verify the client relationship. This does not create a paid ad campaign. In the final answer, lead with the artist hub URL and current public Smart Link URLs; do not expose internal IDs unless asked.";
|
|
383
|
-
readonly destructiveHint:
|
|
383
|
+
readonly destructiveHint: true;
|
|
384
384
|
readonly idempotentHint: true;
|
|
385
385
|
readonly name: "dynamoi_create_smart_links_from_spotify_artist";
|
|
386
386
|
readonly openWorldHint: true;
|
|
@@ -550,7 +550,7 @@ export declare const PHASE_4_TOOL_DEFINITIONS: readonly [{
|
|
|
550
550
|
readonly description: "Use this when the user wants full details for one free Smart Link, including release, Spotify URL, public play.dynamoi.com URL, current status, theme source, and next actions. Set includeAnalytics=true for visit/click analytics and includeArtistSettings=true for artist-level theme/pixel settings. In the final answer, lead with the public URL and do not expose internal IDs unless asked.";
|
|
551
551
|
readonly destructiveHint: false;
|
|
552
552
|
readonly name: "dynamoi_get_smart_link";
|
|
553
|
-
readonly openWorldHint:
|
|
553
|
+
readonly openWorldHint: true;
|
|
554
554
|
readonly outputSchema: z.ZodObject<{
|
|
555
555
|
status: z.ZodEnum<{
|
|
556
556
|
success: "success";
|
|
@@ -1065,9 +1065,9 @@ export declare const FULL_SMART_LINK_STUDIO_TOOL_DEFINITIONS: readonly [{
|
|
|
1065
1065
|
service: z.ZodEnum<{
|
|
1066
1066
|
spotify: "spotify";
|
|
1067
1067
|
youtube: "youtube";
|
|
1068
|
-
applemusic: "applemusic";
|
|
1069
|
-
instagram: "instagram";
|
|
1070
1068
|
facebook: "facebook";
|
|
1069
|
+
instagram: "instagram";
|
|
1070
|
+
applemusic: "applemusic";
|
|
1071
1071
|
tiktok: "tiktok";
|
|
1072
1072
|
soundcloud: "soundcloud";
|
|
1073
1073
|
bandcamp: "bandcamp";
|
|
@@ -19,7 +19,7 @@ export declare const DynamoiContactSupportInputSchema: z.ZodObject<{
|
|
|
19
19
|
export type DynamoiContactSupportInput = z.infer<typeof DynamoiContactSupportInputSchema>;
|
|
20
20
|
export declare const SUPPORT_TOOL_DEFINITIONS: readonly [{
|
|
21
21
|
readonly description: "Use this when the user wants to report a problem with Dynamoi (a tool error, sign-in or permission problem, wrong data, a billing, campaign or distribution question) or send Dynamoi feedback. Show the user the subject and message and get their OK before sending. Dynamoi attaches the signed-in account and this agent's identity, and support replies by email to the account address. Never include passwords, tokens, API keys or card numbers. Sending changes no campaign, billing or account data.";
|
|
22
|
-
readonly destructiveHint:
|
|
22
|
+
readonly destructiveHint: true;
|
|
23
23
|
readonly idempotentHint: false;
|
|
24
24
|
readonly name: "dynamoi_contact_support";
|
|
25
25
|
readonly openWorldHint: false;
|
package/dist/server/tools.d.ts
CHANGED
|
@@ -122,7 +122,6 @@ export declare const DynamoiGetAudienceAnalyticsInputSchema: z.ZodObject<{
|
|
|
122
122
|
export declare const DynamoiGetBillingInputSchema: z.ZodObject<{
|
|
123
123
|
action: z.ZodOptional<z.ZodEnum<{
|
|
124
124
|
summary: "summary";
|
|
125
|
-
native_deposits: "native_deposits";
|
|
126
125
|
native_commerce: "native_commerce";
|
|
127
126
|
}>>;
|
|
128
127
|
artistId: z.ZodString;
|
|
@@ -470,6 +469,7 @@ export declare const DynamoiUpdateCampaignInputSchema: z.ZodObject<{
|
|
|
470
469
|
update_location: "update_location";
|
|
471
470
|
update_end_date: "update_end_date";
|
|
472
471
|
archive: "archive";
|
|
472
|
+
unarchive: "unarchive";
|
|
473
473
|
update_goals: "update_goals";
|
|
474
474
|
}>;
|
|
475
475
|
authorizeAutomaticDailyFunding: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -1509,7 +1509,7 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
|
|
|
1509
1509
|
}, z.core.$strict>;
|
|
1510
1510
|
readonly title: "Get YouTube Channel Data";
|
|
1511
1511
|
}, {
|
|
1512
|
-
readonly description: "Use action=native_commerce for the native commerce projection (full profile, read-only; no subscription changes or invoices). Use
|
|
1512
|
+
readonly description: "Use action=native_commerce for the native commerce projection (full profile, read-only; no subscription changes or invoices). Use this when the user asks about billing state, credit balance, promo limits, subscription status, campaign-fund deposits, or whether billing blocks launches for one artist. This is a read-only status check; it does not create checkout links or collect payment. paymentMethod contains only the shared masked display details (brand or bank, type, last four digits and expiry); null means details are unavailable, not proof that no method exists. Each deposit in prefundPayments is pending (payment not yet confirmed), cleared (Stripe says paid and the funds are usable), failed (the payment did not complete) or held (paid, but funding is on hold for review and not usable yet). A Checkout link alone is never a deposit. To add campaign funds, use the Dynamoi dashboard at https://dynamoi.com/dashboard; for other billing setup tell the user: 'You can do this in the Dynamoi dashboard at https://dynamoi.com/dashboard.' Then call this tool again to confirm the status. Do not use this for campaign analytics or platform connection troubleshooting.";
|
|
1513
1513
|
readonly destructiveHint: false;
|
|
1514
1514
|
readonly name: "dynamoi_get_billing";
|
|
1515
1515
|
readonly openWorldHint: false;
|
|
@@ -1575,7 +1575,6 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
|
|
|
1575
1575
|
readonly schema: z.ZodObject<{
|
|
1576
1576
|
action: z.ZodOptional<z.ZodEnum<{
|
|
1577
1577
|
summary: "summary";
|
|
1578
|
-
native_deposits: "native_deposits";
|
|
1579
1578
|
native_commerce: "native_commerce";
|
|
1580
1579
|
}>>;
|
|
1581
1580
|
artistId: z.ZodString;
|
|
@@ -1587,7 +1586,7 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
|
|
|
1587
1586
|
}, z.core.$strict>;
|
|
1588
1587
|
readonly title: "Get Billing";
|
|
1589
1588
|
}, {
|
|
1590
|
-
readonly description: "Read an artist's platform Action Center after authenticated artist access. Preserve revision, task states, steps and primary/secondary actions: open_url opens a URL; navigate is dashboard navigation. Reading does not complete or approve a task. Unavailable data is an error, not an empty task list.
|
|
1589
|
+
readonly description: "Read an artist's platform Action Center after authenticated artist access. Preserve revision, task states, steps and primary/secondary actions: open_url opens a URL; navigate is dashboard navigation. Reading does not complete or approve a task. Unavailable data is an error, not an empty task list.";
|
|
1591
1590
|
readonly destructiveHint: false;
|
|
1592
1591
|
readonly name: "dynamoi_get_action_center";
|
|
1593
1592
|
readonly openWorldHint: false;
|
|
@@ -1655,7 +1654,7 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
|
|
|
1655
1654
|
}, z.core.$strict>;
|
|
1656
1655
|
readonly title: "Get Action Center";
|
|
1657
1656
|
}, {
|
|
1658
|
-
readonly description: "Read distribution earnings for the authenticated payee only, optionally restricted to their artistIds. Team or artist access never grants payee access. action=overview returns the payee's own share in USD, range totals, monthly totals and at most 50 detail rows, narrowed by trackKey, storeKey, storeFamily and countryCode (totals remain for the whole range). action=ranking returns up to 300 rows by dimension (track, artist, store, country), with their filtered totalUsd, narrowed by trackKey, storeFamily and countryCode. action=geography returns {rows} of the country map with optional prior-window comparison. action=statement returns the web export data for one statement month: use axis=statement and equal fromMonth/toMonth, with no exploration filters or cursor. No new files are created. Rankings and prior-window geography read an equal preceding window within the owner's 60-month bound. For overview pagination, pass nextCursor unchanged to continue with the same range, axis, artists and filters. fromMonth/toMonth are inclusive YYYY-MM, at most 60 months. axis=statement groups by statement month; earned groups by royalty month, while payee share always follows statement month. Empty rows mean no matching data; an error means unavailable, never zero earnings. This grants no payout or tax authority and performs no writes.
|
|
1657
|
+
readonly description: "Read distribution earnings for the authenticated payee only, optionally restricted to their artistIds. Team or artist access never grants payee access. action=overview returns the payee's own share in USD, range totals, monthly totals and at most 50 detail rows, narrowed by trackKey, storeKey, storeFamily and countryCode (totals remain for the whole range). action=ranking returns up to 300 rows by dimension (track, artist, store, country), with their filtered totalUsd, narrowed by trackKey, storeFamily and countryCode. action=geography returns {rows} of the country map with optional prior-window comparison. action=statement returns the web export data for one statement month: use axis=statement and equal fromMonth/toMonth, with no exploration filters or cursor. No new files are created. Rankings and prior-window geography read an equal preceding window within the owner's 60-month bound. For overview pagination, pass nextCursor unchanged to continue with the same range, axis, artists and filters. fromMonth/toMonth are inclusive YYYY-MM, at most 60 months. axis=statement groups by statement month; earned groups by royalty month, while payee share always follows statement month. Nullable amounts or counts mean unavailable; an explicit 0 is measured zero. Empty rows mean no matching data; an error means unavailable, never zero earnings. This grants no payout or tax authority and performs no writes.";
|
|
1659
1658
|
readonly destructiveHint: false;
|
|
1660
1659
|
readonly name: "dynamoi_get_earnings";
|
|
1661
1660
|
readonly openWorldHint: false;
|
|
@@ -1753,7 +1752,7 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
|
|
|
1753
1752
|
}, z.core.$strict>;
|
|
1754
1753
|
readonly title: "Get Distribution Earnings";
|
|
1755
1754
|
}, {
|
|
1756
|
-
readonly description: "Read organization members and pending invitations after artist and organization settings authority checks. Artist collaboration alone never grants roster access. No invitation tokens or role mutations.
|
|
1755
|
+
readonly description: "Read organization members and pending invitations after artist and organization settings authority checks. Artist collaboration alone never grants roster access. No invitation tokens or role mutations.";
|
|
1757
1756
|
readonly destructiveHint: false;
|
|
1758
1757
|
readonly name: "dynamoi_get_team";
|
|
1759
1758
|
readonly openWorldHint: false;
|
|
@@ -1821,7 +1820,7 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
|
|
|
1821
1820
|
}, z.core.$strict>;
|
|
1822
1821
|
readonly title: "Get Team";
|
|
1823
1822
|
}, {
|
|
1824
|
-
readonly description: "Change an organization member's role, remove a member or revoke a pending organization invitation using the same authority and transactional protections as web.
|
|
1823
|
+
readonly description: "Change an organization member's role, remove a member or revoke a pending organization invitation using the same authority and transactional protections as web. targetId is the organization membership or pending invitation row ID from dynamoi_get_team. Owner and last-admin protections apply; removal can revoke access and pending invitations.";
|
|
1825
1824
|
readonly destructiveHint: true;
|
|
1826
1825
|
readonly name: "dynamoi_manage_team";
|
|
1827
1826
|
readonly openWorldHint: false;
|
|
@@ -1899,7 +1898,7 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
|
|
|
1899
1898
|
}, z.core.$strict>;
|
|
1900
1899
|
readonly title: "Manage Organization Members";
|
|
1901
1900
|
}, {
|
|
1902
|
-
readonly description: "Read sanitized artist or organization settings audit events, or your own 12 recent account activity entries with scope=account (artist access required; no cursor). Organization scope requires organization settings authority, beyond artist access. Pass nextCursor unchanged within the same scope; cursors are bounded and scope-checked.
|
|
1901
|
+
readonly description: "Read sanitized artist or organization settings audit events, or your own 12 recent account activity entries with scope=account (artist access required; no cursor). Organization scope requires organization settings authority, beyond artist access. Pass nextCursor unchanged within the same scope; cursors are bounded and scope-checked.";
|
|
1903
1902
|
readonly destructiveHint: false;
|
|
1904
1903
|
readonly name: "dynamoi_get_audit_log";
|
|
1905
1904
|
readonly openWorldHint: false;
|
|
@@ -1973,8 +1972,8 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
|
|
|
1973
1972
|
}, z.core.$strict>;
|
|
1974
1973
|
readonly title: "Get AuditLog";
|
|
1975
1974
|
}, {
|
|
1976
|
-
readonly description: "Claim or change your own referral code using the web claim rules. Claiming accepts the current referral program terms.
|
|
1977
|
-
readonly destructiveHint:
|
|
1975
|
+
readonly description: "Claim or change your own referral code using the web claim rules. Claiming accepts the current referral program terms.";
|
|
1976
|
+
readonly destructiveHint: true;
|
|
1978
1977
|
readonly name: "dynamoi_claim_referral_code";
|
|
1979
1978
|
readonly openWorldHint: false;
|
|
1980
1979
|
readonly outputSchema: z.ZodObject<{
|
|
@@ -2041,7 +2040,7 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
|
|
|
2041
2040
|
}, z.core.$strict>;
|
|
2042
2041
|
readonly title: "Claim Referral Code";
|
|
2043
2042
|
}, {
|
|
2044
|
-
readonly description: "Read the authenticated caller's referral dashboard after artist access, without cookie attribution or commission refresh. USD cents and observed states: PENDING is not yet available; AVAILABLE is eligible, not payout approval; WITHDRAWAL_PENDING is awaiting payout; PAID is paid. Never describe pending or available amounts as approved or paid.
|
|
2043
|
+
readonly description: "Read the authenticated caller's referral dashboard after artist access, without cookie attribution or commission refresh. USD cents and observed states: PENDING is not yet available; AVAILABLE is eligible, not payout approval; WITHDRAWAL_PENDING is awaiting payout; PAID is paid. Never describe pending or available amounts as approved or paid.";
|
|
2045
2044
|
readonly destructiveHint: false;
|
|
2046
2045
|
readonly name: "dynamoi_get_referrals";
|
|
2047
2046
|
readonly openWorldHint: false;
|
|
@@ -2121,7 +2120,7 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
|
|
|
2121
2120
|
readonly description: "Read the existing campaign's resume funding breakdown before requesting funding consent: campaign budget, funded-window coverage, usable credits, immediate charge, payment method, refusal and current consent. Amounts carry their commercial currency and minor-unit exponent. This read never reserves funds, authorizes collection or resumes delivery. A refusal is not a zero-charge approval. Use dynamoi_update_campaign to resume only after explicit user consent when required.";
|
|
2122
2121
|
readonly destructiveHint: false;
|
|
2123
2122
|
readonly name: "dynamoi_get_resume_funding";
|
|
2124
|
-
readonly openWorldHint:
|
|
2123
|
+
readonly openWorldHint: true;
|
|
2125
2124
|
readonly outputSchema: z.ZodObject<{
|
|
2126
2125
|
status: z.ZodEnum<{
|
|
2127
2126
|
success: "success";
|
|
@@ -2345,10 +2344,10 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
|
|
|
2345
2344
|
}, z.core.$strict>;
|
|
2346
2345
|
readonly title: "List Available Countries";
|
|
2347
2346
|
}, {
|
|
2348
|
-
readonly description: "Use this when a musician wants to promote a new single or release with ads (\"promote my new single\", \"run ads for my song\"): it checks whether a Smart Campaign or YouTube campaign is ready before
|
|
2347
|
+
readonly description: "Use this when a musician wants to promote a new single or release with ads (\"promote my new single\", \"run ads for my song\"): it checks whether a Smart Campaign or YouTube campaign is ready before launching the campaign. This validates readiness and targeting without creating a campaign. Complete budget inputs also return the shared, nonbinding campaign funding preview with known or unavailable credit coverage, card upper bounds and expiry timing. For TOTAL budgets the preview describes total-daily funding for web and native creation; MCP TOTAL launch uses existing credits only, cannot authorize card funding, and does not accept the preview's total-daily consent. Do not use this to create or mutate campaigns.";
|
|
2349
2348
|
readonly destructiveHint: false;
|
|
2350
2349
|
readonly name: "dynamoi_get_campaign_readiness";
|
|
2351
|
-
readonly openWorldHint:
|
|
2350
|
+
readonly openWorldHint: true;
|
|
2352
2351
|
readonly outputSchema: z.ZodObject<{
|
|
2353
2352
|
status: z.ZodEnum<{
|
|
2354
2353
|
success: "success";
|
|
@@ -2456,7 +2455,7 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
|
|
|
2456
2455
|
}];
|
|
2457
2456
|
export declare const PHASE_ONBOARDING_TOOL_DEFINITIONS: readonly [{
|
|
2458
2457
|
readonly description: "Use this when the user wants to grow a YouTube channel with Dynamoi campaigns or is ready to link a channel to one Dynamoi artist from chat. Set purpose=distribution_identity for the least-privilege identity connection required by a distribution application; that flow does not require advertising billing or Google Ads linking, and its result is checked with dynamoi_get_distribution_application. Use purpose=advertising (the default) for managed YouTube promotion, then poll dynamoi_get_platform_status until platforms.youtube.connected is true. The tool returns a Google OAuth URL bound to the signed-in user and artist.";
|
|
2459
|
-
readonly destructiveHint:
|
|
2458
|
+
readonly destructiveHint: true;
|
|
2460
2459
|
readonly idempotentHint: true;
|
|
2461
2460
|
readonly name: "dynamoi_start_youtube_channel_link";
|
|
2462
2461
|
readonly openWorldHint: true;
|
|
@@ -2525,7 +2524,7 @@ export declare const PHASE_ONBOARDING_TOOL_DEFINITIONS: readonly [{
|
|
|
2525
2524
|
readonly title: "Start YouTube Channel Link";
|
|
2526
2525
|
}, {
|
|
2527
2526
|
readonly description: "Use this when the user is ready to connect a Facebook Page and Instagram professional account to one Dynamoi artist. Set purpose=distribution_identity for the least-privilege identity connection required by a distribution application; that flow does not require advertising billing, and its result is checked with dynamoi_get_distribution_application. Use purpose=advertising (the default) for Spotify Smart Campaigns; advertising requires active billing and is checked with dynamoi_get_platform_status until platforms.meta.status is oauth_complete, partnership_pending, or partnership_active. Advertising returns billing_required when inactive and billing_check_unavailable for a transient verification failure. This returns a signed Meta OAuth URL and may include a Page/Instagram selection step.";
|
|
2528
|
-
readonly destructiveHint:
|
|
2527
|
+
readonly destructiveHint: true;
|
|
2529
2528
|
readonly idempotentHint: true;
|
|
2530
2529
|
readonly name: "dynamoi_start_meta_connection";
|
|
2531
2530
|
readonly openWorldHint: true;
|
|
@@ -2594,8 +2593,8 @@ export declare const PHASE_ONBOARDING_TOOL_DEFINITIONS: readonly [{
|
|
|
2594
2593
|
readonly title: "Start Meta Connection";
|
|
2595
2594
|
}];
|
|
2596
2595
|
export declare const PHASE_2_TOOL_DEFINITIONS: readonly [{
|
|
2597
|
-
readonly description: "Read ad copy for a Smart Campaign creation draft, or save copy by providing save with the revision read.
|
|
2598
|
-
readonly destructiveHint:
|
|
2596
|
+
readonly description: "Read ad copy for a Smart Campaign creation draft, or save copy by providing save with the revision read. Editor access required. Refuses submitted campaigns. Never launches, submits or publishes.";
|
|
2597
|
+
readonly destructiveHint: true;
|
|
2599
2598
|
readonly name: "dynamoi_smart_campaign_ad_copy";
|
|
2600
2599
|
readonly openWorldHint: false;
|
|
2601
2600
|
readonly outputSchema: z.ZodObject<{
|
|
@@ -2744,10 +2743,10 @@ export declare const PHASE_2_TOOL_DEFINITIONS: readonly [{
|
|
|
2744
2743
|
}, z.core.$strict>;
|
|
2745
2744
|
readonly title: "Add Campaign Funds";
|
|
2746
2745
|
}, {
|
|
2747
|
-
readonly description: "
|
|
2746
|
+
readonly description: "Editor access required. Returns the current draft summary in data and the native operation response in stepResult. Read native setup with setup, browse videos with videos and optional pageToken, screen with screen and videoId. Save draft steps with save_content/contentSave={campaignId,videoId,playlistId,strategy}, save_location/locationSave={campaignId,targeting:{mode:GLOBAL}|{mode:COUNTRIES,countries:[US]}}, save_ad_copy/adCopySave={campaignId,adCopy,mode:assisted|preserve}, or save_budget/budgetSave={campaignId,budgetAmountCents,budgetType,endDate,currency?,budgetAmountMinor?}. Amounts are exact minor units in the artist currency; use the setup budget policy. Reuse the campaignId when retrying. Saves use native last-write-wins semantics; re-read setup after ambiguous outcomes. Draft saves never launch, change live campaigns or call Google Ads; launch is a separate step. Inspect a recoverable draft with inspect. Use discard only on explicit user request with campaignId, expectedUpdatedAt from inspect and userIntentSummary. Discard cannot be undone.";
|
|
2748
2747
|
readonly destructiveHint: true;
|
|
2749
2748
|
readonly name: "dynamoi_manage_youtube_draft";
|
|
2750
|
-
readonly openWorldHint:
|
|
2749
|
+
readonly openWorldHint: true;
|
|
2751
2750
|
readonly outputSchema: z.ZodObject<{
|
|
2752
2751
|
status: z.ZodEnum<{
|
|
2753
2752
|
success: "success";
|
|
@@ -2869,7 +2868,7 @@ export declare const PHASE_2_TOOL_DEFINITIONS: readonly [{
|
|
|
2869
2868
|
}, z.core.$strict>;
|
|
2870
2869
|
readonly title: "Manage YouTube Draft";
|
|
2871
2870
|
}, {
|
|
2872
|
-
readonly description: "Use only when the user explicitly requests a campaign change. Resume isn't available for fixed-flight YouTube campaigns. Duplicate the campaign to relaunch it. Actions: pause, resume, update_budget, update_end_date (DAILY or TOTAL budget; TOTAL end-date extensions may require the same funding consent fields as update_budget or resume), update_location (GLOBAL or catalog-valid countries), change_strategy (managed YouTube Demand Gen), update_goals (YouTube optimization toggles), archive (never deletes). Inspect the campaign first and supply expectedCurrentStatus where possible. For resume, update_budget, or a TOTAL update_end_date that needs automatic daily card funding, first show the user the exact consent copy for the campaign's budget type, then pass the request's clientRequestId and, for DAILY, authorizeAutomaticDailyFunding=true with acceptedConsentVersion and acceptedConsentCopyHash: \"Charge my default payment method daily for this campaign's budget, after my available credits, until I pause or end it.\" (version \"managed-ads-prospective-daily-v7\", hash \"f49b33a4f7e8aa3cc814d5057d03e97eaa0c35a9f3f2bc0315dbd031efa0f356\"); for TOTAL, acceptedTotalConsentVersion and acceptedTotalConsentCopyHash: \"Charge my default payment method daily for this campaign, after my available credits, up to my total budget.\" (version \"managed-ads-total-daily-v3\", hash \"8bece5f58e0c94b04b35ac1a98f0e8a142ed968bbe34dcc0d51fe52e2c0d75bd\"). A budget type refuses the other's consent. Without them, a resume that needs card funding is refused with: \"Review and accept the daily funding authorization to resume this campaign.\" When retrying the same action, reuse the same clientRequestId.";
|
|
2871
|
+
readonly description: "Use only when the user explicitly requests a campaign change. Resume isn't available for fixed-flight YouTube campaigns. Duplicate the campaign to relaunch it. Actions: pause, resume, update_budget, update_end_date (DAILY or TOTAL budget; TOTAL end-date extensions may require the same funding consent fields as update_budget or resume), update_location (GLOBAL or catalog-valid countries), change_strategy (managed YouTube Demand Gen), update_goals (YouTube optimization toggles), archive (never deletes), unarchive (restores PAUSED without funding or activating providers). Inspect the campaign first and supply expectedCurrentStatus where possible. For resume, update_budget, or a TOTAL update_end_date that needs automatic daily card funding, first show the user the exact consent copy for the campaign's budget type, then pass the request's clientRequestId and, for DAILY, authorizeAutomaticDailyFunding=true with acceptedConsentVersion and acceptedConsentCopyHash: \"Charge my default payment method daily for this campaign's budget, after my available credits, until I pause or end it.\" (version \"managed-ads-prospective-daily-v7\", hash \"f49b33a4f7e8aa3cc814d5057d03e97eaa0c35a9f3f2bc0315dbd031efa0f356\"); for TOTAL, acceptedTotalConsentVersion and acceptedTotalConsentCopyHash: \"Charge my default payment method daily for this campaign, after my available credits, up to my total budget.\" (version \"managed-ads-total-daily-v3\", hash \"8bece5f58e0c94b04b35ac1a98f0e8a142ed968bbe34dcc0d51fe52e2c0d75bd\"). A budget type refuses the other's consent. Without them, a resume that needs card funding is refused with: \"Review and accept the daily funding authorization to resume this campaign.\" When retrying the same action, reuse the same clientRequestId.";
|
|
2873
2872
|
readonly destructiveHint: true;
|
|
2874
2873
|
readonly idempotentHint: true;
|
|
2875
2874
|
readonly name: "dynamoi_update_campaign";
|
|
@@ -2942,6 +2941,7 @@ export declare const PHASE_2_TOOL_DEFINITIONS: readonly [{
|
|
|
2942
2941
|
update_location: "update_location";
|
|
2943
2942
|
update_end_date: "update_end_date";
|
|
2944
2943
|
archive: "archive";
|
|
2944
|
+
unarchive: "unarchive";
|
|
2945
2945
|
update_goals: "update_goals";
|
|
2946
2946
|
}>;
|
|
2947
2947
|
authorizeAutomaticDailyFunding: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -79,4 +79,4 @@ export type WorkspaceReaders = {
|
|
|
79
79
|
listArtists(input: unknown): Promise<ResultEnvelope<object>>;
|
|
80
80
|
};
|
|
81
81
|
export declare function openWorkspace(adapter: WorkspaceReaders): Promise<ResultEnvelope<WorkspaceData>>;
|
|
82
|
-
export declare function registerWorkspaceResource(server: McpServer): void;
|
|
82
|
+
export declare function registerWorkspaceResource(server: McpServer, uiDomain?: string): void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Public Shop input limits shared by standalone MCP and first-party adapters. */
|
|
2
|
+
export declare const SHOP_CUSTOM_MIN_TARGET_VIEWS = 25000;
|
|
3
|
+
export declare const SHOP_CUSTOM_MAX_TARGET_VIEWS = 1000000;
|
|
4
|
+
export declare const SHOP_CUSTOM_MIN_DURATION_DAYS = 7;
|
|
5
|
+
export declare const SHOP_CUSTOM_MAX_DURATION_DAYS = 30;
|
|
6
|
+
export declare const SHOP_MAX_TARGET_COUNTRY_CODES = 50;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// src/shop-limits.ts
|
|
2
|
+
var SHOP_CUSTOM_MIN_TARGET_VIEWS = 25000;
|
|
3
|
+
var SHOP_CUSTOM_MAX_TARGET_VIEWS = 1e6;
|
|
4
|
+
var SHOP_CUSTOM_MIN_DURATION_DAYS = 7;
|
|
5
|
+
var SHOP_CUSTOM_MAX_DURATION_DAYS = 30;
|
|
6
|
+
var SHOP_MAX_TARGET_COUNTRY_CODES = 50;
|
|
7
|
+
export {
|
|
8
|
+
SHOP_CUSTOM_MAX_DURATION_DAYS,
|
|
9
|
+
SHOP_CUSTOM_MAX_TARGET_VIEWS,
|
|
10
|
+
SHOP_CUSTOM_MIN_DURATION_DAYS,
|
|
11
|
+
SHOP_CUSTOM_MIN_TARGET_VIEWS,
|
|
12
|
+
SHOP_MAX_TARGET_COUNTRY_CODES
|
|
13
|
+
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://www.schemastore.org/package",
|
|
3
3
|
"name": "@dynamoi/mcp",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.10",
|
|
5
5
|
"packageManager": "bun@1.4.4",
|
|
6
6
|
"mcpName": "io.github.getDynamoi/dynamoi",
|
|
7
7
|
"workspaces": [
|
|
@@ -47,6 +47,8 @@
|
|
|
47
47
|
"README.md",
|
|
48
48
|
"dist/auth/protected-resource.d.ts",
|
|
49
49
|
"dist/auth/protected-resource.js",
|
|
50
|
+
"dist/campaign-limits.d.ts",
|
|
51
|
+
"dist/campaign-limits.js",
|
|
50
52
|
"dist/consent.d.ts",
|
|
51
53
|
"dist/consent.js",
|
|
52
54
|
"dist/flow-types.d.ts",
|
|
@@ -79,7 +81,9 @@
|
|
|
79
81
|
"dist/version.d.ts",
|
|
80
82
|
"dist/youtube-metrics.d.ts",
|
|
81
83
|
"dist/youtube-metrics.js",
|
|
82
|
-
"server.json"
|
|
84
|
+
"server.json",
|
|
85
|
+
"dist/shop-limits.d.ts",
|
|
86
|
+
"dist/shop-limits.js"
|
|
83
87
|
],
|
|
84
88
|
"exports": {
|
|
85
89
|
".": {
|
|
@@ -101,6 +105,16 @@
|
|
|
101
105
|
"types": "./dist/youtube-metrics.d.ts",
|
|
102
106
|
"import": "./dist/youtube-metrics.js",
|
|
103
107
|
"default": "./dist/youtube-metrics.js"
|
|
108
|
+
},
|
|
109
|
+
"./shop-limits": {
|
|
110
|
+
"types": "./dist/shop-limits.d.ts",
|
|
111
|
+
"import": "./dist/shop-limits.js",
|
|
112
|
+
"default": "./dist/shop-limits.js"
|
|
113
|
+
},
|
|
114
|
+
"./campaign-limits": {
|
|
115
|
+
"types": "./dist/campaign-limits.d.ts",
|
|
116
|
+
"import": "./dist/campaign-limits.js",
|
|
117
|
+
"default": "./dist/campaign-limits.js"
|
|
104
118
|
}
|
|
105
119
|
},
|
|
106
120
|
"publishConfig": {
|
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "io.github.getDynamoi/dynamoi",
|
|
4
4
|
"title": "Dynamoi",
|
|
5
5
|
"description": "Music promotion and distribution for AI agents: Spotify and YouTube ads, Smart Links, releases.",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.10",
|
|
7
7
|
"websiteUrl": "https://dynamoi.com",
|
|
8
8
|
"repository": {
|
|
9
9
|
"url": "https://github.com/getDynamoi/dynamoi",
|