@dynamoi/mcp 1.0.9 → 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 +6 -0
- package/dist/index.js +21 -13
- package/dist/server/account-settings-tools.d.ts +1 -1
- package/dist/server/shop-tools.d.ts +11 -1
- package/dist/server/smart-campaign-creative.d.ts +1 -1
- package/dist/server/smart-link-tools.d.ts +1 -1
- package/dist/server/tools.d.ts +6 -6
- package/package.json +1 -1
- 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.10] - 2026-11-03
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Include the independent full, partial or no-refund remedy outcome in full-profile Shop order reads. Unknown legacy outcomes remain null; directory tools and permissions are unchanged.
|
|
15
|
+
|
|
10
16
|
## [1.0.9] - 2026-11-02
|
|
11
17
|
|
|
12
18
|
### Changed
|
package/dist/index.js
CHANGED
|
@@ -2031,6 +2031,7 @@ var DELETE_ACCOUNT_TOOL_DEFINITIONS = [
|
|
|
2031
2031
|
...writeAnnotations,
|
|
2032
2032
|
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.",
|
|
2033
2033
|
name: "dynamoi_delete_account",
|
|
2034
|
+
openWorldHint: true,
|
|
2034
2035
|
schema: DeleteAccountSchema,
|
|
2035
2036
|
title: "Delete Account"
|
|
2036
2037
|
}
|
|
@@ -2062,8 +2063,8 @@ import {
|
|
|
2062
2063
|
import * as z27 from "zod/v4";
|
|
2063
2064
|
|
|
2064
2065
|
// src/version.ts
|
|
2065
|
-
var BUNDLED_DYNAMOI_MCP_VERSION = "1.0.
|
|
2066
|
-
var DYNAMOI_MCP_VERSION = BUNDLED_DYNAMOI_MCP_VERSION.length > 0 && !BUNDLED_DYNAMOI_MCP_VERSION.includes("__") ? BUNDLED_DYNAMOI_MCP_VERSION : "1.0.
|
|
2066
|
+
var BUNDLED_DYNAMOI_MCP_VERSION = "1.0.10";
|
|
2067
|
+
var DYNAMOI_MCP_VERSION = BUNDLED_DYNAMOI_MCP_VERSION.length > 0 && !BUNDLED_DYNAMOI_MCP_VERSION.includes("__") ? BUNDLED_DYNAMOI_MCP_VERSION : "1.0.10";
|
|
2067
2068
|
|
|
2068
2069
|
// src/server/distribution-tools.ts
|
|
2069
2070
|
import * as z16 from "zod/v4";
|
|
@@ -3217,12 +3218,13 @@ var DynamoiShopOrdersDataSchema = z19.object({
|
|
|
3217
3218
|
createdAt: z19.string(),
|
|
3218
3219
|
deploymentCompletedAt: z19.string().nullable(),
|
|
3219
3220
|
orderId: z19.string(),
|
|
3221
|
+
remedyOutcome: z19.enum(["full_refund", "partial_refund", "no_refund"]).nullable().optional(),
|
|
3220
3222
|
status: z19.string()
|
|
3221
3223
|
}).strict()).max(20)
|
|
3222
3224
|
}).strict();
|
|
3223
3225
|
var SHOP_TOOL_DEFINITIONS = [
|
|
3224
3226
|
{
|
|
3225
|
-
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.",
|
|
3227
|
+
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.",
|
|
3226
3228
|
destructiveHint: false,
|
|
3227
3229
|
idempotentHint: true,
|
|
3228
3230
|
name: "dynamoi_shop_list_orders",
|
|
@@ -3489,7 +3491,7 @@ var SMART_CAMPAIGN_CREATIVE_TOOL_DEFINITION = {
|
|
|
3489
3491
|
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 (${MAX_SOURCE_AUDIO_MIB} MiB maximum). Google Drive is unsupported because it requires a Google API key. On timeout or an ambiguous result, re-read sourceAudio before retrying.`,
|
|
3490
3492
|
destructiveHint: true,
|
|
3491
3493
|
name: "dynamoi_manage_smart_campaign_creative",
|
|
3492
|
-
openWorldHint:
|
|
3494
|
+
openWorldHint: true,
|
|
3493
3495
|
outputSchema: createOutputEnvelopeSchema(SmartCampaignCreativeOutputSchema),
|
|
3494
3496
|
readOnlyHint: false,
|
|
3495
3497
|
schema: SmartCampaignCreativeInputSchema,
|
|
@@ -3873,7 +3875,7 @@ var PHASE_4_TOOL_DEFINITIONS = [
|
|
|
3873
3875
|
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.",
|
|
3874
3876
|
destructiveHint: false,
|
|
3875
3877
|
name: "dynamoi_get_smart_link",
|
|
3876
|
-
openWorldHint:
|
|
3878
|
+
openWorldHint: true,
|
|
3877
3879
|
outputSchema: AnyOutputEnvelopeSchema,
|
|
3878
3880
|
readOnlyHint: true,
|
|
3879
3881
|
schema: DynamoiGetSmartLinkInputSchema,
|
|
@@ -4813,7 +4815,7 @@ var PHASE_1_TOOL_DEFINITIONS = [
|
|
|
4813
4815
|
title: "Get YouTube Channel Data"
|
|
4814
4816
|
},
|
|
4815
4817
|
{
|
|
4816
|
-
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
|
|
4818
|
+
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.",
|
|
4817
4819
|
destructiveHint: false,
|
|
4818
4820
|
name: "dynamoi_get_billing",
|
|
4819
4821
|
openWorldHint: false,
|
|
@@ -4896,7 +4898,7 @@ var PHASE_1_TOOL_DEFINITIONS = [
|
|
|
4896
4898
|
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.",
|
|
4897
4899
|
destructiveHint: false,
|
|
4898
4900
|
name: "dynamoi_get_resume_funding",
|
|
4899
|
-
openWorldHint:
|
|
4901
|
+
openWorldHint: true,
|
|
4900
4902
|
outputSchema: GetResumeFundingOutputEnvelopeSchema,
|
|
4901
4903
|
readOnlyHint: true,
|
|
4902
4904
|
schema: DynamoiGetResumeFundingInputSchema,
|
|
@@ -4923,10 +4925,10 @@ var PHASE_1_TOOL_DEFINITIONS = [
|
|
|
4923
4925
|
title: "List Available Countries"
|
|
4924
4926
|
},
|
|
4925
4927
|
{
|
|
4926
|
-
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
|
|
4928
|
+
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.`,
|
|
4927
4929
|
destructiveHint: false,
|
|
4928
4930
|
name: "dynamoi_get_campaign_readiness",
|
|
4929
|
-
openWorldHint:
|
|
4931
|
+
openWorldHint: true,
|
|
4930
4932
|
outputSchema: GetCampaignReadinessOutputEnvelopeSchema,
|
|
4931
4933
|
readOnlyHint: true,
|
|
4932
4934
|
schema: DynamoiGetCampaignReadinessInputSchema,
|
|
@@ -4960,10 +4962,10 @@ var PHASE_2_TOOL_DEFINITIONS = [
|
|
|
4960
4962
|
title: "Add Campaign Funds"
|
|
4961
4963
|
},
|
|
4962
4964
|
{
|
|
4963
|
-
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
|
|
4965
|
+
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.",
|
|
4964
4966
|
destructiveHint: true,
|
|
4965
4967
|
name: "dynamoi_manage_youtube_draft",
|
|
4966
|
-
openWorldHint:
|
|
4968
|
+
openWorldHint: true,
|
|
4967
4969
|
outputSchema: ManageYoutubeDraftOutputEnvelopeSchema,
|
|
4968
4970
|
readOnlyHint: false,
|
|
4969
4971
|
schema: DynamoiManageYoutubeDraftInputSchema,
|
|
@@ -5730,7 +5732,7 @@ function snapshotForObserver(value) {
|
|
|
5730
5732
|
};
|
|
5731
5733
|
}
|
|
5732
5734
|
}
|
|
5733
|
-
function asTextResult(envelope) {
|
|
5735
|
+
function asTextResult(envelope, toolName) {
|
|
5734
5736
|
const isToolError = Boolean(envelope) && typeof envelope === "object" && envelope.status === "error";
|
|
5735
5737
|
const plainText = (() => {
|
|
5736
5738
|
if (!envelope || typeof envelope !== "object") {
|
|
@@ -5743,6 +5745,12 @@ function asTextResult(envelope) {
|
|
|
5743
5745
|
}
|
|
5744
5746
|
const data = envelope.data;
|
|
5745
5747
|
if (data && typeof data === "object") {
|
|
5748
|
+
if (toolName === "dynamoi_claim_referral_code" && "link" in data && typeof data.link === "string") {
|
|
5749
|
+
const referralPage = new URL("/dashboard/user/refer", data.link).href;
|
|
5750
|
+
return `${JSON.stringify(envelope)}
|
|
5751
|
+
|
|
5752
|
+
To join the referral program, you need to accept the affiliate terms on your referral page: ${referralPage}`;
|
|
5753
|
+
}
|
|
5746
5754
|
const summary = data.summary;
|
|
5747
5755
|
if (typeof summary === "string" && summary.trim().length > 0) {
|
|
5748
5756
|
return summary;
|
|
@@ -5776,7 +5784,7 @@ function asValidatedTextResult(options) {
|
|
|
5776
5784
|
status: "error"
|
|
5777
5785
|
});
|
|
5778
5786
|
}
|
|
5779
|
-
return asTextResult(envelope);
|
|
5787
|
+
return asTextResult(envelope, options.toolName);
|
|
5780
5788
|
}
|
|
5781
5789
|
var PRIVATE_LIST_CACHE_HINT = {
|
|
5782
5790
|
cacheScope: "private",
|
|
@@ -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";
|
|
@@ -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>;
|
|
@@ -306,7 +306,7 @@ export declare const SMART_CAMPAIGN_CREATIVE_TOOL_DEFINITION: {
|
|
|
306
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
307
|
readonly destructiveHint: true;
|
|
308
308
|
readonly name: "dynamoi_manage_smart_campaign_creative";
|
|
309
|
-
readonly openWorldHint:
|
|
309
|
+
readonly openWorldHint: true;
|
|
310
310
|
readonly outputSchema: z.ZodObject<{
|
|
311
311
|
status: z.ZodEnum<{
|
|
312
312
|
success: "success";
|
|
@@ -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";
|
package/dist/server/tools.d.ts
CHANGED
|
@@ -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 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
|
|
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;
|
|
@@ -2120,7 +2120,7 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
|
|
|
2120
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.";
|
|
2121
2121
|
readonly destructiveHint: false;
|
|
2122
2122
|
readonly name: "dynamoi_get_resume_funding";
|
|
2123
|
-
readonly openWorldHint:
|
|
2123
|
+
readonly openWorldHint: true;
|
|
2124
2124
|
readonly outputSchema: z.ZodObject<{
|
|
2125
2125
|
status: z.ZodEnum<{
|
|
2126
2126
|
success: "success";
|
|
@@ -2344,10 +2344,10 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
|
|
|
2344
2344
|
}, z.core.$strict>;
|
|
2345
2345
|
readonly title: "List Available Countries";
|
|
2346
2346
|
}, {
|
|
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
|
|
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.";
|
|
2348
2348
|
readonly destructiveHint: false;
|
|
2349
2349
|
readonly name: "dynamoi_get_campaign_readiness";
|
|
2350
|
-
readonly openWorldHint:
|
|
2350
|
+
readonly openWorldHint: true;
|
|
2351
2351
|
readonly outputSchema: z.ZodObject<{
|
|
2352
2352
|
status: z.ZodEnum<{
|
|
2353
2353
|
success: "success";
|
|
@@ -2743,10 +2743,10 @@ export declare const PHASE_2_TOOL_DEFINITIONS: readonly [{
|
|
|
2743
2743
|
}, z.core.$strict>;
|
|
2744
2744
|
readonly title: "Add Campaign Funds";
|
|
2745
2745
|
}, {
|
|
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
|
|
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.";
|
|
2747
2747
|
readonly destructiveHint: true;
|
|
2748
2748
|
readonly name: "dynamoi_manage_youtube_draft";
|
|
2749
|
-
readonly openWorldHint:
|
|
2749
|
+
readonly openWorldHint: true;
|
|
2750
2750
|
readonly outputSchema: z.ZodObject<{
|
|
2751
2751
|
status: z.ZodEnum<{
|
|
2752
2752
|
success: "success";
|
package/package.json
CHANGED
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",
|