@dynamoi/mcp 1.0.12 → 1.2.0

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.
Files changed (43) hide show
  1. package/CAPABILITY_PARITY.md +3 -68
  2. package/CHANGELOG.md +13 -10
  3. package/README.md +11 -19
  4. package/dist/auth/protected-resource.d.ts +4 -0
  5. package/dist/auth/protected-resource.js +246 -166
  6. package/dist/flow-types.d.ts +3 -2
  7. package/dist/index.d.ts +7 -5
  8. package/dist/index.js +3876 -3314
  9. package/dist/server/about.d.ts +5 -5
  10. package/dist/server/about.generated.d.ts +0 -2
  11. package/dist/server/account-settings-tools.d.ts +37 -25
  12. package/dist/server/artist-intake-tools.d.ts +6 -6
  13. package/dist/server/artist-intake-wire.generated.d.ts +1 -1
  14. package/dist/server/audit-log.generated.d.ts +1 -8
  15. package/dist/server/create-server.d.ts +20 -9
  16. package/dist/server/distribution-tools.d.ts +20 -20
  17. package/dist/server/draft-media-read.d.ts +5 -5
  18. package/dist/server/drafts-media.generated.d.ts +14 -56
  19. package/dist/server/embedded-skills.d.ts +11 -0
  20. package/dist/server/intake-native.generated.d.ts +20 -0
  21. package/dist/server/media-moderation.generated.d.ts +2 -11
  22. package/dist/server/openai-tools.d.ts +10 -10
  23. package/dist/server/output-schemas.d.ts +176 -79
  24. package/dist/server/public-tools.d.ts +155 -0
  25. package/dist/server/shop-order-status.d.ts +15 -15
  26. package/dist/server/shop-order-video.d.ts +107 -106
  27. package/dist/server/shop-purchase-history.d.ts +5 -5
  28. package/dist/server/shop-rebuy.d.ts +19 -17
  29. package/dist/server/shop-tools.d.ts +8 -8
  30. package/dist/server/smart-campaign-creative.d.ts +6 -6
  31. package/dist/server/smart-link-theme-preview.d.ts +5 -5
  32. package/dist/server/smart-link-tools.d.ts +60 -60
  33. package/dist/server/smart-link-wire.generated.d.ts +5 -5
  34. package/dist/server/support-tools.d.ts +118 -5
  35. package/dist/server/tools.d.ts +315 -173
  36. package/dist/server/wire-creative-agent-wire.generated.d.ts +5 -5
  37. package/dist/server/wire-shop-agent-wire.generated.d.ts +13 -13
  38. package/dist/server/workflow-tools.d.ts +10 -10
  39. package/dist/server/workspace/tool.d.ts +2 -2
  40. package/dist/server/youtube-channel-data-schema.d.ts +1 -1
  41. package/dist/types.d.ts +2 -0
  42. package/package.json +3 -1
  43. package/server.json +1 -1
@@ -1,5 +1,6 @@
1
1
  import { z } from "zod";
2
2
  export declare const DRAFT_REOPEN_CONTRACT: {
3
+ readonly journeys: readonly ["campaign-draft-reopen"];
3
4
  readonly capabilityId: "native_drafts_media";
4
5
  readonly kind: "query";
5
6
  readonly version: 1;
@@ -131,17 +132,10 @@ export declare const DRAFT_REOPEN_CONTRACT: {
131
132
  };
132
133
  readonly journeys: readonly ["WM-DASHBOARD-draftReopen"];
133
134
  };
134
- readonly ios: {
135
- readonly status: "partial";
136
- readonly reason: "Native screen pending: native-specs/native_drafts_media.md; exact-revision journey receipt required.";
137
- };
138
- readonly android: {
139
- readonly status: "partial";
140
- readonly reason: "Native screen pending: native-specs/native_drafts_media.md; exact-revision journey receipt required.";
141
- };
142
135
  };
143
136
  };
144
137
  export declare const MEDIA_CATALOG_CONTRACT: {
138
+ readonly journeys: readonly ["campaign-media-chooser"];
145
139
  readonly capabilityId: "native_drafts_media";
146
140
  readonly kind: "query";
147
141
  readonly version: 1;
@@ -253,17 +247,10 @@ export declare const MEDIA_CATALOG_CONTRACT: {
253
247
  };
254
248
  readonly journeys: readonly ["WM-DASHBOARD-mediaCatalog"];
255
249
  };
256
- readonly ios: {
257
- readonly status: "partial";
258
- readonly reason: "Native screen pending: native-specs/native_drafts_media.md; exact-revision journey receipt required.";
259
- };
260
- readonly android: {
261
- readonly status: "partial";
262
- readonly reason: "Native screen pending: native-specs/native_drafts_media.md; exact-revision journey receipt required.";
263
- };
264
250
  };
265
251
  };
266
252
  export declare const MEDIA_UPLOAD_START_CONTRACT: {
253
+ readonly journeys: readonly ["media-upload-unknown", "media-upload-denied", "media-upload-race", "campaign-media-cancel", "campaign-media-cancel-ar-dark-large"];
267
254
  readonly webmcpAliases: {
268
255
  operationId: string;
269
256
  plan: {
@@ -374,9 +361,9 @@ export declare const MEDIA_UPLOAD_START_CONTRACT: {
374
361
  selectedCreativeIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUUID>>>;
375
362
  selectedSocialPosts: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
376
363
  source: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
364
+ upload: "upload";
377
365
  generate: "generate";
378
366
  posts: "posts";
379
- upload: "upload";
380
367
  }>>>;
381
368
  uploadedAssets: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
382
369
  fileName: z.ZodDefault<z.ZodString>;
@@ -485,17 +472,10 @@ export declare const MEDIA_UPLOAD_START_CONTRACT: {
485
472
  };
486
473
  readonly journeys: readonly ["WM-DASHBOARD-mediaUploadStart"];
487
474
  };
488
- readonly ios: {
489
- readonly status: "partial";
490
- readonly reason: "Native screen pending: native-specs/native_drafts_media.md; exact-revision journey receipt required.";
491
- };
492
- readonly android: {
493
- readonly status: "partial";
494
- readonly reason: "Native screen pending: native-specs/native_drafts_media.md; exact-revision journey receipt required.";
495
- };
496
475
  };
497
476
  };
498
477
  export declare const MEDIA_UPLOAD_STATUS_CONTRACT: {
478
+ readonly journeys: readonly ["media-upload-unknown", "media-upload-race"];
499
479
  readonly webmcpAliases: {
500
480
  operationId: string;
501
481
  plan: {
@@ -602,9 +582,9 @@ export declare const MEDIA_UPLOAD_STATUS_CONTRACT: {
602
582
  selectedCreativeIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUUID>>>;
603
583
  selectedSocialPosts: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
604
584
  source: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
585
+ upload: "upload";
605
586
  generate: "generate";
606
587
  posts: "posts";
607
- upload: "upload";
608
588
  }>>>;
609
589
  uploadedAssets: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
610
590
  fileName: z.ZodDefault<z.ZodString>;
@@ -713,17 +693,10 @@ export declare const MEDIA_UPLOAD_STATUS_CONTRACT: {
713
693
  };
714
694
  readonly journeys: readonly ["WM-DASHBOARD-mediaUploadStatus"];
715
695
  };
716
- readonly ios: {
717
- readonly status: "partial";
718
- readonly reason: "Native screen pending: native-specs/native_drafts_media.md; exact-revision journey receipt required.";
719
- };
720
- readonly android: {
721
- readonly status: "partial";
722
- readonly reason: "Native screen pending: native-specs/native_drafts_media.md; exact-revision journey receipt required.";
723
- };
724
696
  };
725
697
  };
726
698
  export declare const MEDIA_UPLOAD_COMPLETE_CONTRACT: {
699
+ readonly journeys: readonly ["media-upload-unknown", "media-upload-race"];
727
700
  readonly webmcpAliases: {
728
701
  operationId: string;
729
702
  plan: {
@@ -788,8 +761,8 @@ export declare const MEDIA_UPLOAD_COMPLETE_CONTRACT: {
788
761
  assetId: z.ZodUUID;
789
762
  fileType: z.ZodString;
790
763
  fileName: z.ZodString;
791
- fileSizeBytes: z.ZodNumber;
792
764
  uploadId: z.ZodString;
765
+ fileSizeBytes: z.ZodNumber;
793
766
  parts: z.ZodArray<z.ZodObject<{
794
767
  etag: z.ZodString;
795
768
  partNumber: z.ZodNumber;
@@ -838,9 +811,9 @@ export declare const MEDIA_UPLOAD_COMPLETE_CONTRACT: {
838
811
  selectedCreativeIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUUID>>>;
839
812
  selectedSocialPosts: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
840
813
  source: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
814
+ upload: "upload";
841
815
  generate: "generate";
842
816
  posts: "posts";
843
- upload: "upload";
844
817
  }>>>;
845
818
  uploadedAssets: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
846
819
  fileName: z.ZodDefault<z.ZodString>;
@@ -949,17 +922,10 @@ export declare const MEDIA_UPLOAD_COMPLETE_CONTRACT: {
949
922
  };
950
923
  readonly journeys: readonly ["WM-DASHBOARD-mediaUploadComplete"];
951
924
  };
952
- readonly ios: {
953
- readonly status: "partial";
954
- readonly reason: "Native screen pending: native-specs/native_drafts_media.md; exact-revision journey receipt required.";
955
- };
956
- readonly android: {
957
- readonly status: "partial";
958
- readonly reason: "Native screen pending: native-specs/native_drafts_media.md; exact-revision journey receipt required.";
959
- };
960
925
  };
961
926
  };
962
927
  export declare const MEDIA_UPLOAD_ABORT_CONTRACT: {
928
+ readonly journeys: readonly ["media-upload-unknown", "media-upload-denied", "media-upload-race", "campaign-media-cancel", "campaign-media-cancel-ar-dark-large"];
963
929
  readonly webmcpAliases: {
964
930
  operationId: string;
965
931
  plan: {
@@ -984,9 +950,9 @@ export declare const MEDIA_UPLOAD_ABORT_CONTRACT: {
984
950
  readonly method: "DELETE";
985
951
  readonly operationId: "deleteMobileArtistSmartCampaignSourceAudioUpload";
986
952
  readonly path: "/api/mobile/artists/{artistId}/smart-campaign-draft/creative/source-audio-upload";
987
- readonly responseSchema: z.ZodObject<{
988
- ok: z.ZodLiteral<true>;
989
- }, z.core.$strip>;
953
+ readonly responseSchema: z.ZodObject<Readonly<{
954
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
955
+ }>, z.core.$strip>;
990
956
  readonly auth: "bearer";
991
957
  readonly paramsSchema: z.ZodObject<{
992
958
  artistId: z.ZodString;
@@ -1062,9 +1028,9 @@ export declare const MEDIA_UPLOAD_ABORT_CONTRACT: {
1062
1028
  selectedCreativeIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUUID>>>;
1063
1029
  selectedSocialPosts: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1064
1030
  source: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
1031
+ upload: "upload";
1065
1032
  generate: "generate";
1066
1033
  posts: "posts";
1067
- upload: "upload";
1068
1034
  }>>>;
1069
1035
  uploadedAssets: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
1070
1036
  fileName: z.ZodDefault<z.ZodString>;
@@ -1173,13 +1139,5 @@ export declare const MEDIA_UPLOAD_ABORT_CONTRACT: {
1173
1139
  };
1174
1140
  readonly journeys: readonly ["WM-DASHBOARD-mediaUploadAbort"];
1175
1141
  };
1176
- readonly ios: {
1177
- readonly status: "partial";
1178
- readonly reason: "Native screen pending: native-specs/native_drafts_media.md; exact-revision journey receipt required.";
1179
- };
1180
- readonly android: {
1181
- readonly status: "partial";
1182
- readonly reason: "Native screen pending: native-specs/native_drafts_media.md; exact-revision journey receipt required.";
1183
- };
1184
1142
  };
1185
1143
  };
@@ -0,0 +1,11 @@
1
+ import { type McpServer } from "@modelcontextprotocol/server";
2
+ /** Exact public allowlist for unauthenticated `resources/read`. */
3
+ export declare const DYNAMOI_PUBLIC_SKILL_URIS: ReadonlySet<string>;
4
+ /** Advertised in `initialize` capabilities on every profile. */
5
+ export declare const DYNAMOI_SKILLS_CAPABILITY: {
6
+ "io.modelcontextprotocol/skills": {
7
+ directoryRead: boolean;
8
+ };
9
+ };
10
+ /** Serves the canonical skills over `skills/list`, `skills/get` and `resources/read`. */
11
+ export declare function registerDynamoiEmbeddedSkills(server: McpServer, toolProfile: "directory" | "full"): void;
@@ -23,6 +23,26 @@ export declare const BulkSmartLinkRequestSchema: z.ZodObject<{
23
23
  spotifyArtistUrl: z.ZodString;
24
24
  }, z.core.$strict>;
25
25
  export declare const BulkSmartLinkResponseSchema: z.ZodObject<{
26
+ receipt: z.ZodOptional<z.ZodObject<{
27
+ artistId: z.ZodNullable<z.ZodString>;
28
+ clientRequestId: z.ZodNullable<z.ZodString>;
29
+ inputKind: z.ZodEnum<{
30
+ spotify_url: "spotify_url";
31
+ connected_artist: "connected_artist";
32
+ }>;
33
+ limit: z.ZodNumber;
34
+ offset: z.ZodNumber;
35
+ spotifyArtistId: z.ZodString;
36
+ spotifyArtistUrl: z.ZodNullable<z.ZodString>;
37
+ }, z.core.$strip>>;
38
+ settlement: z.ZodOptional<z.ZodLiteral<"expired_before_execution">>;
39
+ workspace: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
40
+ kind: z.ZodLiteral<"existing">;
41
+ organizationId: z.ZodString;
42
+ organizationName: z.ZodString;
43
+ }, z.core.$strict>, z.ZodObject<{
44
+ kind: z.ZodLiteral<"new">;
45
+ }, z.core.$strict>], "kind">>;
26
46
  artistId: z.ZodNullable<z.ZodString>;
27
47
  count: z.ZodNumber;
28
48
  existingCount: z.ZodNumber;
@@ -62,6 +62,7 @@ export declare const MediaModerationResponseSchema: z.ZodObject<{
62
62
  nextCursor: z.ZodOptional<z.ZodString>;
63
63
  }, z.core.$strip>;
64
64
  export declare const MEDIA_MODERATION_READ_CONTRACT: {
65
+ readonly journeys: readonly ["campaign-media-chooser"];
65
66
  readonly capabilityId: "campaign_media_moderation";
66
67
  readonly kind: "query";
67
68
  readonly version: 1;
@@ -73,8 +74,8 @@ export declare const MEDIA_MODERATION_READ_CONTRACT: {
73
74
  readonly openWorldHint: false;
74
75
  readonly readOnlyHint: true;
75
76
  readonly schema: z.ZodObject<{
76
- cursor: z.ZodOptional<z.ZodString>;
77
77
  limit: z.ZodOptional<z.ZodNumber>;
78
+ cursor: z.ZodOptional<z.ZodString>;
78
79
  includeUrls: z.ZodOptional<z.ZodBoolean>;
79
80
  artistId: z.ZodString;
80
81
  }, z.core.$strict>;
@@ -162,16 +163,6 @@ export declare const MEDIA_MODERATION_READ_CONTRACT: {
162
163
  readonly status: "partial";
163
164
  readonly reason: "Shared browser read action is bound; human receipt presentation is pending.";
164
165
  };
165
- readonly ios: {
166
- readonly status: "partial";
167
- readonly reason: "Full receipt screen pending; authenticated read preserves the existing paginated list.";
168
- readonly screenSpec: "packages/application-api-contract/native-specs/media-moderation.md";
169
- };
170
- readonly android: {
171
- readonly status: "partial";
172
- readonly reason: "Full receipt screen pending; authenticated read preserves the existing paginated list.";
173
- readonly screenSpec: "packages/application-api-contract/native-specs/media-moderation.md";
174
- };
175
166
  readonly webmcp: {
176
167
  readonly status: "complete";
177
168
  readonly journeys: readonly ["WM-DASHBOARD-mediaModeration"];
@@ -36,8 +36,8 @@ export declare const DynamoiOpenAiFetchInputSchema: import("zod").ZodObject<{
36
36
  export declare const OPENAI_TOOL_DEFINITIONS: readonly [{
37
37
  readonly outputSchema: import("zod").ZodObject<{
38
38
  status: import("zod").ZodEnum<{
39
- success: "success";
40
39
  error: "error";
40
+ success: "success";
41
41
  partial_success: "partial_success";
42
42
  }>;
43
43
  recovery?: import("zod").ZodOptional<import("zod").ZodObject<{
@@ -51,9 +51,9 @@ export declare const OPENAI_TOOL_DEFINITIONS: readonly [{
51
51
  reasonCode: import("zod").ZodOptional<import("zod").ZodString>;
52
52
  retryAfter: import("zod").ZodNullable<import("zod").ZodString>;
53
53
  stage: import("zod").ZodString;
54
- }, import("zod/v4/core").$strip>> | undefined;
55
- validationCode?: import("zod").ZodOptional<import("zod").ZodString> | undefined;
56
- validationStage?: import("zod").ZodOptional<import("zod").ZodString> | undefined;
54
+ }, import("zod/v4/core").$strip>>;
55
+ validationCode?: import("zod").ZodOptional<import("zod").ZodString>;
56
+ validationStage?: import("zod").ZodOptional<import("zod").ZodString>;
57
57
  code: import("zod").ZodOptional<import("zod").ZodEnum<{
58
58
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
59
59
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -93,7 +93,7 @@ export declare const OPENAI_TOOL_DEFINITIONS: readonly [{
93
93
  reason?: import("zod").ZodOptional<import("zod").ZodEnum<{
94
94
  member_changed: "member_changed";
95
95
  invitation_changed: "invitation_changed";
96
- }>> | undefined;
96
+ }>>;
97
97
  data: import("zod").ZodOptional<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>;
98
98
  }, import("zod/v4/core").$strict>;
99
99
  readonly profiles: {
@@ -112,8 +112,8 @@ export declare const OPENAI_TOOL_DEFINITIONS: readonly [{
112
112
  }, {
113
113
  readonly outputSchema: import("zod").ZodObject<{
114
114
  status: import("zod").ZodEnum<{
115
- success: "success";
116
115
  error: "error";
116
+ success: "success";
117
117
  partial_success: "partial_success";
118
118
  }>;
119
119
  recovery?: import("zod").ZodOptional<import("zod").ZodObject<{
@@ -127,9 +127,9 @@ export declare const OPENAI_TOOL_DEFINITIONS: readonly [{
127
127
  reasonCode: import("zod").ZodOptional<import("zod").ZodString>;
128
128
  retryAfter: import("zod").ZodNullable<import("zod").ZodString>;
129
129
  stage: import("zod").ZodString;
130
- }, import("zod/v4/core").$strip>> | undefined;
131
- validationCode?: import("zod").ZodOptional<import("zod").ZodString> | undefined;
132
- validationStage?: import("zod").ZodOptional<import("zod").ZodString> | undefined;
130
+ }, import("zod/v4/core").$strip>>;
131
+ validationCode?: import("zod").ZodOptional<import("zod").ZodString>;
132
+ validationStage?: import("zod").ZodOptional<import("zod").ZodString>;
133
133
  code: import("zod").ZodOptional<import("zod").ZodEnum<{
134
134
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
135
135
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -169,7 +169,7 @@ export declare const OPENAI_TOOL_DEFINITIONS: readonly [{
169
169
  reason?: import("zod").ZodOptional<import("zod").ZodEnum<{
170
170
  member_changed: "member_changed";
171
171
  invitation_changed: "invitation_changed";
172
- }>> | undefined;
172
+ }>>;
173
173
  data: import("zod").ZodOptional<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>;
174
174
  }, import("zod/v4/core").$strict>;
175
175
  readonly profiles: {