@dynamoi/mcp 1.0.7 → 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.
@@ -6,9 +6,23 @@ export declare const PHASE_3_TOOL_DEFINITIONS: readonly [{
6
6
  readonly outputSchema: import("zod").ZodObject<{
7
7
  status: import("zod").ZodEnum<{
8
8
  success: "success";
9
- partial_success: "partial_success";
10
9
  error: "error";
10
+ partial_success: "partial_success";
11
11
  }>;
12
+ recovery?: import("zod").ZodOptional<import("zod").ZodObject<{
13
+ actions: import("zod").ZodArray<import("zod").ZodString>;
14
+ affectedSelection: import("zod").ZodNullable<import("zod").ZodObject<{
15
+ id: import("zod").ZodString;
16
+ kind: import("zod").ZodString;
17
+ }, import("zod/v4/core").$strip>>;
18
+ kind: import("zod").ZodString;
19
+ occurredAt: import("zod").ZodString;
20
+ reasonCode: import("zod").ZodOptional<import("zod").ZodString>;
21
+ retryAfter: import("zod").ZodNullable<import("zod").ZodString>;
22
+ stage: import("zod").ZodString;
23
+ }, import("zod/v4/core").$strip>> | undefined;
24
+ validationCode?: import("zod").ZodOptional<import("zod").ZodString> | undefined;
25
+ validationStage?: import("zod").ZodOptional<import("zod").ZodString> | undefined;
12
26
  code: import("zod").ZodOptional<import("zod").ZodEnum<{
13
27
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
14
28
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -41,9 +55,9 @@ export declare const PHASE_3_TOOL_DEFINITIONS: readonly [{
41
55
  data: import("zod").ZodOptional<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>;
42
56
  kind: import("zod").ZodOptional<import("zod").ZodEnum<{
43
57
  unknown: "unknown";
58
+ platform: "platform";
44
59
  validation: "validation";
45
60
  business: "business";
46
- platform: "platform";
47
61
  }>>;
48
62
  message: import("zod").ZodOptional<import("zod").ZodString>;
49
63
  }, import("zod/v4/core").$strict>;
@@ -68,9 +82,23 @@ export declare const PHASE_3_TOOL_DEFINITIONS: readonly [{
68
82
  readonly outputSchema: import("zod").ZodObject<{
69
83
  status: import("zod").ZodEnum<{
70
84
  success: "success";
71
- partial_success: "partial_success";
72
85
  error: "error";
86
+ partial_success: "partial_success";
73
87
  }>;
88
+ recovery?: import("zod").ZodOptional<import("zod").ZodObject<{
89
+ actions: import("zod").ZodArray<import("zod").ZodString>;
90
+ affectedSelection: import("zod").ZodNullable<import("zod").ZodObject<{
91
+ id: import("zod").ZodString;
92
+ kind: import("zod").ZodString;
93
+ }, import("zod/v4/core").$strip>>;
94
+ kind: import("zod").ZodString;
95
+ occurredAt: import("zod").ZodString;
96
+ reasonCode: import("zod").ZodOptional<import("zod").ZodString>;
97
+ retryAfter: import("zod").ZodNullable<import("zod").ZodString>;
98
+ stage: import("zod").ZodString;
99
+ }, import("zod/v4/core").$strip>> | undefined;
100
+ validationCode?: import("zod").ZodOptional<import("zod").ZodString> | undefined;
101
+ validationStage?: import("zod").ZodOptional<import("zod").ZodString> | undefined;
74
102
  code: import("zod").ZodOptional<import("zod").ZodEnum<{
75
103
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
76
104
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -103,9 +131,9 @@ export declare const PHASE_3_TOOL_DEFINITIONS: readonly [{
103
131
  data: import("zod").ZodOptional<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>;
104
132
  kind: import("zod").ZodOptional<import("zod").ZodEnum<{
105
133
  unknown: "unknown";
134
+ platform: "platform";
106
135
  validation: "validation";
107
136
  business: "business";
108
- platform: "platform";
109
137
  }>>;
110
138
  message: import("zod").ZodOptional<import("zod").ZodString>;
111
139
  }, import("zod/v4/core").$strict>;
@@ -64,9 +64,9 @@ export declare const WORKSPACE_TOOL_DEFINITION: {
64
64
  }, z.core.$strict>>;
65
65
  kind: z.ZodOptional<z.ZodEnum<{
66
66
  unknown: "unknown";
67
+ platform: "platform";
67
68
  validation: "validation";
68
69
  business: "business";
69
- platform: "platform";
70
70
  }>>;
71
71
  message: z.ZodOptional<z.ZodString>;
72
72
  }, z.core.$strict>;
@@ -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;
@@ -88,9 +88,9 @@ export declare const YouTubeChannelDataSchema: z.ZodObject<{
88
88
  incrementalUsd: z.ZodNullable<z.ZodNumber>;
89
89
  sinceDay: z.ZodNullable<z.ZodString>;
90
90
  state: z.ZodEnum<{
91
+ building: "building";
91
92
  unavailable: "unavailable";
92
93
  ready: "ready";
93
- building: "building";
94
94
  }>;
95
95
  swingUsd: z.ZodNullable<z.ZodNumber>;
96
96
  throughDay: z.ZodNullable<z.ZodString>;
@@ -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/dist/types.d.ts CHANGED
@@ -9,6 +9,9 @@ export type ResultEnvelope<T> = {
9
9
  message: string;
10
10
  } | {
11
11
  status: "error";
12
+ recovery?: import("./server/output-schemas").SmartCampaignLaunchProjection["recovery"];
13
+ validationCode?: string | undefined;
14
+ validationStage?: string | undefined;
12
15
  message: string;
13
16
  kind?: "validation" | "business" | "platform" | "unknown";
14
17
  code?: ResultErrorCode;
@@ -181,12 +184,14 @@ export type SmartLinkSummary = {
181
184
  theme: SmartLinkTheme;
182
185
  createdAt: string;
183
186
  updatedAt: string;
187
+ version?: string;
184
188
  };
185
189
  /**
186
190
  * Full-profile readback of the Artist Hub fields the hub settings tool writes.
187
191
  * Never present in the directory profile.
188
192
  */
189
193
  export type SmartLinkArtistHubReadback = {
194
+ version?: string | undefined;
190
195
  hubDescription: string | null;
191
196
  profileLinks: Array<{
192
197
  isHidden: boolean;
@@ -246,6 +251,7 @@ export type GetSmartLinkData = SmartLinkSummary & {
246
251
  actionRequired?: string[];
247
252
  };
248
253
  export type GetSmartLinkSummaryData = {
254
+ version?: string;
249
255
  summary: string;
250
256
  warnings?: string[];
251
257
  actionRequired?: string[];
@@ -298,6 +304,15 @@ export type GetSmartLinkAnalyticsData = {
298
304
  };
299
305
  warnings?: string[];
300
306
  };
307
+ export type ArtistSmartLinkAnalyticsData = Omit<GetSmartLinkAnalyticsData, "artistId" | "playLinkId" | "releaseTitle" | "breakdowns"> & {
308
+ topLinks: {
309
+ playLinkId: string;
310
+ releaseTitle: string;
311
+ serviceClickEvidence: "available" | "partial" | "unavailable";
312
+ totals: SmartLinkAnalyticsTotals;
313
+ }[];
314
+ reportedLinkCount: number;
315
+ };
301
316
  export type GetSmartLinkAnalyticsSummaryData = {
302
317
  summary: string;
303
318
  warnings?: string[];
@@ -534,6 +549,8 @@ export type GetCampaignAnalyticsSummaryData = {
534
549
  warnings?: string[];
535
550
  };
536
551
  export type GetArtistAnalyticsJsonData = {
552
+ /** Full profile only; canonical artist-wide link aggregate, distinct from campaigns. */
553
+ smartLinks?: ArtistSmartLinkAnalyticsData;
537
554
  /** Count-read completeness; sample identifies the existing demo reader. */
538
555
  countsAvailability?: "available" | "incomplete" | "sample" | "not_linked";
539
556
  artistId: string;
@@ -583,6 +600,7 @@ export type GetArtistAnalyticsJsonData = {
583
600
  warnings?: string[];
584
601
  };
585
602
  export type GetArtistAnalyticsSummaryData = {
603
+ smartLinks?: ArtistSmartLinkAnalyticsData;
586
604
  /** Count-read completeness; sample identifies the existing demo reader. */
587
605
  countsAvailability?: "available" | "incomplete" | "sample" | "not_linked";
588
606
  summary: string;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "https://www.schemastore.org/package",
3
3
  "name": "@dynamoi/mcp",
4
- "version": "1.0.7",
5
- "packageManager": "bun@1.4.3",
4
+ "version": "1.0.9",
5
+ "packageManager": "bun@1.4.4",
6
6
  "mcpName": "io.github.getDynamoi/dynamoi",
7
7
  "workspaces": [
8
8
  ".",
@@ -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",
@@ -54,7 +56,9 @@
54
56
  "dist/index.js",
55
57
  "dist/readiness-types.d.ts",
56
58
  "dist/server/about.d.ts",
59
+ "dist/server/artist-intake-tools.d.ts",
57
60
  "dist/server/account-schema.generated.d.ts",
61
+ "dist/server/account-settings-tools.d.ts",
58
62
  "dist/server/channel-results-schema.d.ts",
59
63
  "dist/server/create-server.d.ts",
60
64
  "dist/server/distribution-tools.d.ts",
@@ -63,6 +67,8 @@
63
67
  "dist/server/output-schemas.d.ts",
64
68
  "dist/server/shop-tools.d.ts",
65
69
  "dist/server/smart-link-tools.d.ts",
70
+ "dist/server/smart-link-theme-preview.d.ts",
71
+ "dist/server/smart-campaign-creative.d.ts",
66
72
  "dist/server/support-tools.d.ts",
67
73
  "dist/server/tools.d.ts",
68
74
  "dist/server/workflow-tools.d.ts",
@@ -75,7 +81,9 @@
75
81
  "dist/version.d.ts",
76
82
  "dist/youtube-metrics.d.ts",
77
83
  "dist/youtube-metrics.js",
78
- "server.json"
84
+ "server.json",
85
+ "dist/shop-limits.d.ts",
86
+ "dist/shop-limits.js"
79
87
  ],
80
88
  "exports": {
81
89
  ".": {
@@ -97,6 +105,16 @@
97
105
  "types": "./dist/youtube-metrics.d.ts",
98
106
  "import": "./dist/youtube-metrics.js",
99
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"
100
118
  }
101
119
  },
102
120
  "publishConfig": {
@@ -116,7 +134,7 @@
116
134
  },
117
135
  "dependencies": {
118
136
  "@modelcontextprotocol/server": "2.3.0",
119
- "zod": "4.6.5"
137
+ "zod": "4.6.7"
120
138
  },
121
139
  "devDependencies": {
122
140
  "@changesets/cli": "2.31.0",
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.7",
6
+ "version": "1.0.9",
7
7
  "websiteUrl": "https://dynamoi.com",
8
8
  "repository": {
9
9
  "url": "https://github.com/getDynamoi/dynamoi",