@dynamoi/mcp 0.7.1 → 1.0.1
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/CAPABILITY_PARITY.md +57 -59
- package/CHANGELOG.md +167 -0
- package/README.md +281 -123
- package/dist/auth/protected-resource.d.ts +5 -18
- package/dist/auth/protected-resource.d.ts.map +1 -1
- package/dist/auth/protected-resource.js +8 -12
- package/dist/auth/protected-resource.js.map +1 -1
- package/dist/{chunk-2jm8hjsz.js → chunk-3htwe57a.js} +19 -30
- package/dist/chunk-3htwe57a.js.map +10 -0
- package/dist/chunk-n5xmtwjj.js +9 -0
- package/dist/chunk-n5xmtwjj.js.map +10 -0
- package/dist/consent.d.ts +3 -3
- package/dist/consent.d.ts.map +1 -1
- package/dist/consent.js +8 -8
- package/dist/consent.js.map +1 -1
- package/dist/flow-types.d.ts +3 -3
- package/dist/flow-types.d.ts.map +1 -1
- package/dist/index.d.ts +7 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1203 -577
- package/dist/index.js.map +19 -17
- package/dist/server/about.d.ts +74 -0
- package/dist/server/about.d.ts.map +1 -0
- package/dist/server/create-server.d.ts +18 -12
- package/dist/server/create-server.d.ts.map +1 -1
- package/dist/server/distribution-tools.d.ts +53 -3
- package/dist/server/distribution-tools.d.ts.map +1 -1
- package/dist/server/instructions.d.ts.map +1 -1
- package/dist/server/messaging.d.ts +14 -0
- package/dist/server/messaging.d.ts.map +1 -0
- package/dist/server/onboarding-tool-definitions.d.ts +50 -0
- package/dist/server/onboarding-tool-definitions.d.ts.map +1 -1
- package/dist/server/openai-tools.d.ts +50 -0
- package/dist/server/openai-tools.d.ts.map +1 -1
- package/dist/server/output-schemas.d.ts +233 -0
- package/dist/server/output-schemas.d.ts.map +1 -1
- package/dist/server/playbook-resources.d.ts +1 -1
- package/dist/server/playbook-resources.d.ts.map +1 -1
- package/dist/server/prompts.d.ts +1 -1
- package/dist/server/prompts.d.ts.map +1 -1
- package/dist/server/resources.d.ts +1 -1
- package/dist/server/resources.d.ts.map +1 -1
- package/dist/server/shop-tools.d.ts +335 -0
- package/dist/server/shop-tools.d.ts.map +1 -0
- package/dist/server/smart-link-theme-preview.d.ts +26 -1
- package/dist/server/smart-link-theme-preview.d.ts.map +1 -1
- package/dist/server/smart-link-tools.d.ts +126 -2
- package/dist/server/smart-link-tools.d.ts.map +1 -1
- package/dist/server/tools.d.ts +402 -13
- package/dist/server/tools.d.ts.map +1 -1
- package/dist/server/workflow-tools.d.ts +62 -1
- package/dist/server/workflow-tools.d.ts.map +1 -1
- package/dist/transport/http.d.ts +7 -1
- package/dist/transport/http.d.ts.map +1 -1
- package/dist/types.d.ts +14 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +6 -6
- package/server.json +2 -13
- package/dist/auth/verify-token.d.ts +0 -21
- package/dist/auth/verify-token.d.ts.map +0 -1
- package/dist/chunk-2jm8hjsz.js.map +0 -10
- package/dist/chunk-kb3xpcrb.js +0 -9
- package/dist/chunk-kb3xpcrb.js.map +0 -10
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import type { ResultEnvelope } from "../types";
|
|
3
|
+
export declare const DYNAMOI_ABOUT_MARKDOWN = "# About Dynamoi\n\nDynamoi is a music marketing platform founded in 2021 by Trevor Loucks. It runs managed Meta and YouTube ad campaigns, music distribution, and royalty analytics for independent artists, labels, managers, and YouTube creators, alongside free Smart Links and analytics. An artist can go from a Spotify URL to a shareable release page, a running campaign, or a distribution application in one place: Dynamoi brings the whole artist lifecycle (distribution, campaigns, and royalties) into one system.\n\n## What Dynamoi offers\n\n- **Free Smart Links** \u2014 create and manage Smart Links and artist hubs from Spotify artist, album, or track URLs at no cost. Link analytics, custom themes, validated pixel IDs, and team seats are included. High-popularity or unverifiable artist links may stay unpublished in verification hold until Dynamoi can verify the client relationship.\n- **Managed Smart Campaigns** \u2014 Dynamoi runs Meta ad campaigns that promote Spotify tracks, albums, and playlists.\n- **YouTube campaigns** \u2014 managed Google Ads campaigns for YouTube channel growth. Dynamoi optimizes ad spend against AdSense revenue per country, so delivery favors audiences that actually monetize.\n- **Music distribution** \u2014 an opt-in product that delivers releases to 100+ stores including Spotify, Apple Music, Amazon Music, YouTube Music, TikTok, Deezer, and Tidal. The artist keeps 90% of Net Receipts (Dynamoi keeps 10%), there are no upfront release fees, and Content ID is included. Optional publishing administration is available to distribution clients for 10% of Net Receipts. Dynamoi scores five requirements before an application can be submitted \u2014 including an established audience (at least 10,000 monthly Spotify listeners) and identity verification \u2014 and approval is not guaranteed.\n- **YouTube promotion Shop** \u2014 one-off YouTube promotion purchases without a subscription, for users who do not want managed advertising.\n\nCampaigns run on Dynamoi's own managed Meta and Google ad infrastructure, so artists do not need their own Business Manager, pixels, or ad accounts. They reach real people through official ad networks, never bots, fake streams, click farms, or paid playlist placement. Results vary by campaign and are never guaranteed.\n\n## Company\n\n- **Founded** \u2014 2021, by Trevor Loucks (Founder & CEO).\n- **Headquarters** \u2014 Sioux Falls, South Dakota, United States.\n- **Operating model** \u2014 Dynamoi is operated by humans, assisted by AI. People make the decisions and are accountable for every campaign and support reply; AI assists with ad creative, campaign monitoring, reporting, and routine tasks.\n- **Support** \u2014 email support@dynamoi.com. The Dynamoi team replies within 24 hours.\n\n## How to get started\n\n1. Sign in at https://dynamoi.com.\n2. Connect your Spotify artist profile.\n3. Create a free Smart Link for a release.\n\n## Pricing\n\nSmart Links are free. Starter is $25/month with a $50 launch campaign credit, and campaign budgets start at $10/day. There are no contracts: pause between releases or cancel anytime and keep your free tools. Managed advertising and distribution are paid products \u2014 see current plans and pricing at https://dynamoi.com/pricing.";
|
|
4
|
+
export declare const DYNAMOI_ABOUT_DIRECTORY_MARKDOWN = "# About Dynamoi\n\nDynamoi is a music marketing platform founded in 2021 by Trevor Loucks. It runs managed Meta and YouTube ad campaigns, music distribution, and royalty analytics for independent artists, labels, managers, and YouTube creators, alongside free Smart Links and analytics. An artist can go from a Spotify URL to a shareable release page, a running campaign, or a distribution application in one place: Dynamoi brings the whole artist lifecycle (distribution, campaigns, and royalties) into one system.\n\n## What Dynamoi offers\n\n- **Free Smart Links** \u2014 create and manage Smart Links and artist hubs from Spotify artist, album, or track URLs at no cost. Link analytics, custom themes, validated pixel IDs, and team seats are included. High-popularity or unverifiable artist links may stay unpublished in verification hold until Dynamoi can verify the client relationship.\n- **Managed Smart Campaigns** \u2014 Dynamoi runs Meta ad campaigns that promote Spotify tracks, albums, and playlists.\n- **YouTube campaigns** \u2014 managed Google Ads campaigns for YouTube channel growth. Dynamoi optimizes ad spend against AdSense revenue per country, so delivery favors audiences that actually monetize.\n- **Music distribution** \u2014 an opt-in product that delivers releases to 100+ stores including Spotify, Apple Music, Amazon Music, YouTube Music, TikTok, Deezer, and Tidal. Dynamoi scores five requirements before an application can be submitted \u2014 including an established audience (at least 10,000 monthly Spotify listeners) and identity verification \u2014 and approval is not guaranteed.\n\nCampaigns run on Dynamoi's own managed Meta and Google ad infrastructure, so artists do not need their own Business Manager, pixels, or ad accounts. They reach real people through official ad networks, never bots, fake streams, click farms, or paid playlist placement. Results vary by campaign and are never guaranteed.\n\n## Company\n\n- **Founded** \u2014 2021, by Trevor Loucks (Founder & CEO).\n- **Headquarters** \u2014 Sioux Falls, South Dakota, United States.\n- **Operating model** \u2014 Dynamoi is operated by humans, assisted by AI. People make the decisions and are accountable for every campaign and support reply; AI assists with ad creative, campaign monitoring, reporting, and routine tasks.\n- **Support** \u2014 email support@dynamoi.com. The Dynamoi team replies within 24 hours.\n\n## How to get started\n\n1. Sign in at https://dynamoi.com.\n2. Connect your Spotify artist profile.\n3. Create a free Smart Link for a release.";
|
|
5
|
+
export declare const DYNAMOI_ABOUT_RESOURCE: {
|
|
6
|
+
readonly description: "Canonical About Dynamoi overview: what Dynamoi is, who it is for, free Smart Links, managed Smart Campaigns, YouTube campaigns, distribution, company facts, support, and how to get started.";
|
|
7
|
+
readonly mimeType: "text/markdown";
|
|
8
|
+
readonly name: "dynamoi_about";
|
|
9
|
+
readonly title: "About Dynamoi";
|
|
10
|
+
readonly uri: "dynamoi://about";
|
|
11
|
+
};
|
|
12
|
+
export declare const DYNAMOI_ABOUT_TOOL_DEFINITION: {
|
|
13
|
+
readonly description: "Use this when the user asks what Dynamoi is, who it is for, or what it offers — including before sign-in or before choosing a tool. Returns the canonical About Dynamoi text plus a short structured summary covering free Smart Links, managed Smart Campaigns, YouTube campaigns, distribution, company facts, support, and getting started. This is read-only product information, not account data.";
|
|
14
|
+
readonly destructiveHint: false;
|
|
15
|
+
readonly idempotentHint: true;
|
|
16
|
+
readonly name: "dynamoi_about";
|
|
17
|
+
readonly openWorldHint: false;
|
|
18
|
+
readonly outputSchema: z.ZodObject<{
|
|
19
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
20
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
21
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
22
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
23
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
24
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
25
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
26
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
27
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
28
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
29
|
+
}>>;
|
|
30
|
+
field: z.ZodOptional<z.ZodString>;
|
|
31
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
32
|
+
field: z.ZodOptional<z.ZodString>;
|
|
33
|
+
kind: z.ZodEnum<{
|
|
34
|
+
handoff: "handoff";
|
|
35
|
+
provide_input: "provide_input";
|
|
36
|
+
read_status: "read_status";
|
|
37
|
+
reconnect: "reconnect";
|
|
38
|
+
}>;
|
|
39
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
40
|
+
}, z.core.$strict>>;
|
|
41
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
42
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
43
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
44
|
+
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
45
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
46
|
+
business: "business";
|
|
47
|
+
platform: "platform";
|
|
48
|
+
unknown: "unknown";
|
|
49
|
+
validation: "validation";
|
|
50
|
+
}>>;
|
|
51
|
+
message: z.ZodOptional<z.ZodString>;
|
|
52
|
+
status: z.ZodEnum<{
|
|
53
|
+
error: "error";
|
|
54
|
+
partial_success: "partial_success";
|
|
55
|
+
success: "success";
|
|
56
|
+
}>;
|
|
57
|
+
}, z.core.$strict>;
|
|
58
|
+
readonly readOnlyHint: true;
|
|
59
|
+
readonly schema: z.ZodObject<{}, z.core.$strict>;
|
|
60
|
+
readonly title: "About Dynamoi";
|
|
61
|
+
};
|
|
62
|
+
export declare function getDynamoiAbout(options?: {
|
|
63
|
+
toolProfile?: "full" | "directory" | undefined;
|
|
64
|
+
}): ResultEnvelope<{
|
|
65
|
+
links: {
|
|
66
|
+
dashboard: string;
|
|
67
|
+
pricing?: string;
|
|
68
|
+
signIn: string;
|
|
69
|
+
support: string;
|
|
70
|
+
};
|
|
71
|
+
markdown: string;
|
|
72
|
+
summary: string;
|
|
73
|
+
}>;
|
|
74
|
+
//# sourceMappingURL=about.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"about.d.ts","sourceRoot":"","sources":["../../../src/server/about.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAiC/C,eAAO,MAAM,sBAAsB,otGAoBoS,CAAC;AAIxU,eAAO,MAAM,gCAAgC,6gFAeZ,CAAC;AAQlC,eAAO,MAAM,sBAAsB;aAClC,WAAW,EACV,+LAA+L;aAChM,QAAQ,EAAE,eAAe;aACzB,IAAI,EAAE,eAAe;aACrB,KAAK,EAAE,eAAe;aACtB,GAAG,EAAE,iBAAiB;CACb,CAAC;AAEX,eAAO,MAAM,6BAA6B;aACzC,WAAW,EACV,yYAAyY;aAC1Y,eAAe;aACf,cAAc;aACd,IAAI,EAAE,eAAe;aACrB,aAAa;aACb,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aACZ,YAAY;aACZ,MAAM;aACN,KAAK,EAAE,eAAe;CACb,CAAC;AAEX,wBAAgB,eAAe,CAAC,OAAO,CAAC,EAAE;IACzC,WAAW,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAAC;CAC/C,GAAG,cAAc,CAAC;IAClB,KAAK,EAAE;QACN,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CAChB,CAAC,CAkBD"}
|
|
@@ -1,14 +1,21 @@
|
|
|
1
|
-
import { McpServer } from "@modelcontextprotocol/
|
|
1
|
+
import { type CallToolResult, McpServer } from "@modelcontextprotocol/server";
|
|
2
2
|
import * as z from "zod/v4";
|
|
3
|
-
import type { CreateSmartLinkFromSpotifyData, CreateSmartLinksFromSpotifyArtistData,
|
|
3
|
+
import type { ApplyForDistributionData, CreateSmartLinkFromSpotifyData, CreateSmartLinksFromSpotifyArtistData, GetArtistAnalyticsJsonData, GetArtistAnalyticsSummaryData, GetArtistData, GetArtistSummaryData, GetBillingData, GetBillingSummaryData, GetCampaignData, GetCampaignReadinessData, GetCampaignReadinessSummaryData, GetCampaignSummaryData, GetCurrentUserData, GetCurrentUserSummaryData, GetDistributionApplicationData, GetPlatformStatusData, GetPlatformStatusSummaryData, GetSmartLinkData, GetSmartLinkSummaryData, LaunchCampaignData, ListArtistsData, ListArtistsSummaryData, ListAvailableCountriesData, ListAvailableCountriesSummaryData, ListCampaignsJsonData, ListCampaignsSummaryData, ListMediaAssetsData, ListMediaAssetsSummaryData, ListSmartLinksData, ListSmartLinksSummaryData, ResultEnvelope, SearchData, SearchSummaryData, SmartLinkSettingsData, StartMetaConnectionData, StartYoutubeChannelLinkData, UpdateCampaignData, UpdateSmartLinkArtistSettingsData, UpdateSmartLinkData } from "../types";
|
|
4
|
+
import { DYNAMOI_ABOUT_TOOL_DEFINITION } from "./about";
|
|
4
5
|
import { DISTRIBUTION_TOOL_DEFINITIONS } from "./distribution-tools";
|
|
5
6
|
import type { OpenAiFetchData, OpenAiSearchData } from "./openai-tools";
|
|
7
|
+
import { type DynamoiShopCheckoutData, type DynamoiShopQuoteData, SHOP_TOOL_DEFINITIONS } from "./shop-tools";
|
|
6
8
|
import { SMART_LINK_THEME_PREVIEW_TOOL_DEFINITION } from "./smart-link-theme-preview";
|
|
7
9
|
import { PHASE_4_TOOL_DEFINITIONS } from "./smart-link-tools";
|
|
8
10
|
import { PHASE_1_TOOL_DEFINITIONS, PHASE_2_TOOL_DEFINITIONS, PHASE_ONBOARDING_TOOL_DEFINITIONS } from "./tools";
|
|
9
11
|
import { PHASE_3_TOOL_DEFINITIONS } from "./workflow-tools";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
/**
|
|
13
|
+
* `directory` is the review-safe catalog for agent-directory clients;
|
|
14
|
+
* `full` is every tool. The host selects the profile from the verified
|
|
15
|
+
* OAuth client identity.
|
|
16
|
+
*/
|
|
17
|
+
export type DynamoiMcpToolProfile = "full" | "directory";
|
|
18
|
+
type DynamoiToolDefinition = typeof DYNAMOI_ABOUT_TOOL_DEFINITION | (typeof PHASE_1_TOOL_DEFINITIONS)[number] | (typeof PHASE_ONBOARDING_TOOL_DEFINITIONS)[number] | (typeof PHASE_2_TOOL_DEFINITIONS)[number] | (typeof PHASE_3_TOOL_DEFINITIONS)[number] | (typeof PHASE_4_TOOL_DEFINITIONS)[number] | (typeof DISTRIBUTION_TOOL_DEFINITIONS)[number] | (typeof SHOP_TOOL_DEFINITIONS)[number] | typeof SMART_LINK_THEME_PREVIEW_TOOL_DEFINITION;
|
|
12
19
|
export declare function getDynamoiToolDefinitions(options?: {
|
|
13
20
|
toolProfile?: DynamoiMcpToolProfile;
|
|
14
21
|
}): DynamoiToolDefinition[];
|
|
@@ -24,18 +31,12 @@ export type Phase3Adapter = {
|
|
|
24
31
|
getArtistAnalytics(input: unknown): Promise<ResultEnvelope<GetArtistAnalyticsJsonData | GetArtistAnalyticsSummaryData>>;
|
|
25
32
|
listCampaigns(input: unknown): Promise<ResultEnvelope<ListCampaignsJsonData | ListCampaignsSummaryData>>;
|
|
26
33
|
getCampaign(input: unknown): Promise<ResultEnvelope<GetCampaignData | GetCampaignSummaryData>>;
|
|
27
|
-
getCampaignAnalytics(input: unknown): Promise<ResultEnvelope<GetCampaignAnalyticsJsonData | GetCampaignAnalyticsSummaryData>>;
|
|
28
34
|
getBilling(input: unknown): Promise<ResultEnvelope<GetBillingData | GetBillingSummaryData>>;
|
|
29
35
|
startMetaConnection(input: unknown): Promise<ResultEnvelope<StartMetaConnectionData>>;
|
|
30
36
|
getPlatformStatus(input: unknown): Promise<ResultEnvelope<GetPlatformStatusData | GetPlatformStatusSummaryData>>;
|
|
31
37
|
startYoutubeChannelLink(input: unknown): Promise<ResultEnvelope<StartYoutubeChannelLinkData>>;
|
|
32
38
|
listAvailableCountries(input: unknown): Promise<ResultEnvelope<ListAvailableCountriesData | ListAvailableCountriesSummaryData>>;
|
|
33
|
-
getOnboardingStatus(input: unknown): Promise<ResultEnvelope<GetOnboardingStatusData | GetOnboardingStatusSummaryData>>;
|
|
34
39
|
getCampaignReadiness(input: unknown): Promise<ResultEnvelope<GetCampaignReadinessData | GetCampaignReadinessSummaryData>>;
|
|
35
|
-
getCampaignDeploymentStatus(input: unknown): Promise<ResultEnvelope<GetCampaignDeploymentStatusData | GetCampaignDeploymentStatusSummaryData>>;
|
|
36
|
-
pauseCampaign(input: unknown): Promise<ResultEnvelope<PauseResumeCampaignData>>;
|
|
37
|
-
resumeCampaign(input: unknown): Promise<ResultEnvelope<PauseResumeCampaignData>>;
|
|
38
|
-
updateBudget(input: unknown): Promise<ResultEnvelope<UpdateBudgetData>>;
|
|
39
40
|
updateCampaign(input: unknown): Promise<ResultEnvelope<UpdateCampaignData>>;
|
|
40
41
|
listMediaAssets(input: unknown): Promise<ResultEnvelope<ListMediaAssetsData | ListMediaAssetsSummaryData>>;
|
|
41
42
|
launchCampaign(input: unknown): Promise<ResultEnvelope<LaunchCampaignData>>;
|
|
@@ -43,10 +44,10 @@ export type Phase3Adapter = {
|
|
|
43
44
|
createSmartLinksFromSpotifyArtist(input: unknown): Promise<ResultEnvelope<CreateSmartLinksFromSpotifyArtistData>>;
|
|
44
45
|
listSmartLinks(input: unknown): Promise<ResultEnvelope<ListSmartLinksData | ListSmartLinksSummaryData>>;
|
|
45
46
|
getSmartLink(input: unknown): Promise<ResultEnvelope<GetSmartLinkData | GetSmartLinkSummaryData>>;
|
|
46
|
-
getSmartLinkAnalytics(input: unknown): Promise<ResultEnvelope<GetSmartLinkAnalyticsData | GetSmartLinkAnalyticsSummaryData>>;
|
|
47
47
|
getSmartLinkArtistSettings(input: unknown): Promise<ResultEnvelope<SmartLinkSettingsData>>;
|
|
48
48
|
updateSmartLink(input: unknown): Promise<ResultEnvelope<UpdateSmartLinkData | UpdateSmartLinkArtistSettingsData>>;
|
|
49
|
-
|
|
49
|
+
shopGetQuote(input: unknown): Promise<ResultEnvelope<DynamoiShopQuoteData>>;
|
|
50
|
+
shopCreateCheckout(input: unknown): Promise<ResultEnvelope<DynamoiShopCheckoutData>>;
|
|
50
51
|
};
|
|
51
52
|
export declare function asTextResult(envelope: unknown): {
|
|
52
53
|
content: Array<{
|
|
@@ -70,6 +71,11 @@ export declare function asValidatedTextResult(options: {
|
|
|
70
71
|
};
|
|
71
72
|
export declare function createDynamoiMcpServer(options: {
|
|
72
73
|
adapter: Phase3Adapter;
|
|
74
|
+
/**
|
|
75
|
+
* Runs before a tool dispatches. A returned result answers the call
|
|
76
|
+
* instead, for example an OAuth step-up challenge the host detected.
|
|
77
|
+
*/
|
|
78
|
+
authorizeToolCall?: (toolName: string) => CallToolResult | undefined;
|
|
73
79
|
onToolCall?: (input: {
|
|
74
80
|
durationMs: number;
|
|
75
81
|
error?: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-server.d.ts","sourceRoot":"","sources":["../../../src/server/create-server.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"create-server.d.ts","sourceRoot":"","sources":["../../../src/server/create-server.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,cAAc,EACnB,SAAS,EAGT,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAK5B,OAAO,KAAK,EACX,wBAAwB,EACxB,8BAA8B,EAC9B,qCAAqC,EACrC,0BAA0B,EAC1B,6BAA6B,EAC7B,aAAa,EACb,oBAAoB,EACpB,cAAc,EACd,qBAAqB,EACrB,eAAe,EACf,wBAAwB,EACxB,+BAA+B,EAC/B,sBAAsB,EACtB,kBAAkB,EAClB,yBAAyB,EACzB,8BAA8B,EAC9B,qBAAqB,EACrB,4BAA4B,EAC5B,gBAAgB,EAChB,uBAAuB,EACvB,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACtB,0BAA0B,EAC1B,iCAAiC,EACjC,qBAAqB,EACrB,wBAAwB,EACxB,mBAAmB,EACnB,0BAA0B,EAC1B,kBAAkB,EAClB,yBAAyB,EACzB,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC3B,kBAAkB,EAClB,i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CAAC;IAC3B,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAChC,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,SAAS,CAmKZ"}
|
|
@@ -12,11 +12,36 @@ export declare const DynamoiApplyForDistributionInputSchema: z.ZodObject<{
|
|
|
12
12
|
userIntentSummary: z.ZodString;
|
|
13
13
|
}, z.core.$strict>;
|
|
14
14
|
export declare const DISTRIBUTION_TOOL_DEFINITIONS: readonly [{
|
|
15
|
-
readonly description: "Use this when the user asks whether an artist qualifies for Dynamoi music distribution, wants the five application requirements, or wants the status of an existing distribution application. It checks Spotify connection, at least 1,000 Spotify followers, at least 10,000 verified Soundcharts monthly listeners, connected Facebook Page plus Instagram professional identity, and a connected YouTube channel. Meeting all five requirements permits an application but never guarantees approval. When the connection tools are available, use purpose=distribution_identity for missing Meta or YouTube identity; otherwise
|
|
15
|
+
readonly description: "Use this when the user asks whether an artist qualifies for Dynamoi music distribution, wants the five application requirements, or wants the status of an existing distribution application. It checks Spotify connection, at least 1,000 Spotify followers, at least 10,000 verified Soundcharts monthly listeners, connected Facebook Page plus Instagram professional identity, and a connected YouTube channel. Meeting all five requirements permits an application but never guarantees approval. When the connection tools are available, use purpose=distribution_identity for missing Meta or YouTube identity; otherwise tell the user: 'You can do this in the Dynamoi dashboard at https://dynamoi.com/dashboard.' Identity connections do not require advertising billing.";
|
|
16
16
|
readonly destructiveHint: false;
|
|
17
17
|
readonly name: "dynamoi_get_distribution_application";
|
|
18
18
|
readonly openWorldHint: false;
|
|
19
19
|
readonly outputSchema: z.ZodObject<{
|
|
20
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
21
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
22
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
23
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
24
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
25
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
26
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
27
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
28
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
29
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
30
|
+
}>>;
|
|
31
|
+
field: z.ZodOptional<z.ZodString>;
|
|
32
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
33
|
+
field: z.ZodOptional<z.ZodString>;
|
|
34
|
+
kind: z.ZodEnum<{
|
|
35
|
+
handoff: "handoff";
|
|
36
|
+
provide_input: "provide_input";
|
|
37
|
+
read_status: "read_status";
|
|
38
|
+
reconnect: "reconnect";
|
|
39
|
+
}>;
|
|
40
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
41
|
+
}, z.core.$strict>>;
|
|
42
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
43
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
44
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
20
45
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
21
46
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
22
47
|
business: "business";
|
|
@@ -37,12 +62,37 @@ export declare const DISTRIBUTION_TOOL_DEFINITIONS: readonly [{
|
|
|
37
62
|
}, z.core.$strict>;
|
|
38
63
|
readonly title: "Check Distribution Application";
|
|
39
64
|
}, {
|
|
40
|
-
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
|
|
65
|
+
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.";
|
|
41
66
|
readonly destructiveHint: false;
|
|
42
67
|
readonly idempotentHint: true;
|
|
43
68
|
readonly name: "dynamoi_apply_for_distribution";
|
|
44
|
-
readonly openWorldHint:
|
|
69
|
+
readonly openWorldHint: true;
|
|
45
70
|
readonly outputSchema: z.ZodObject<{
|
|
71
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
72
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
73
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
74
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
75
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
76
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
77
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
78
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
79
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
80
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
81
|
+
}>>;
|
|
82
|
+
field: z.ZodOptional<z.ZodString>;
|
|
83
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
84
|
+
field: z.ZodOptional<z.ZodString>;
|
|
85
|
+
kind: z.ZodEnum<{
|
|
86
|
+
handoff: "handoff";
|
|
87
|
+
provide_input: "provide_input";
|
|
88
|
+
read_status: "read_status";
|
|
89
|
+
reconnect: "reconnect";
|
|
90
|
+
}>;
|
|
91
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
92
|
+
}, z.core.$strict>>;
|
|
93
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
94
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
95
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
46
96
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
47
97
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
48
98
|
business: "business";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"distribution-tools.d.ts","sourceRoot":"","sources":["../../../src/server/distribution-tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,eAAO,MAAM,4CAA4C;;kBAI/C,CAAC;AAEX,eAAO,MAAM,sCAAsC;;;;;;;;kBAUzC,CAAC;AAEX,eAAO,MAAM,6BAA6B;aAExC,WAAW,EACV,
|
|
1
|
+
{"version":3,"file":"distribution-tools.d.ts","sourceRoot":"","sources":["../../../src/server/distribution-tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,eAAO,MAAM,4CAA4C;;kBAI/C,CAAC;AAEX,eAAO,MAAM,sCAAsC;;;;;;;;kBAUzC,CAAC;AAEX,eAAO,MAAM,6BAA6B;aAExC,WAAW,EACV,0vBAA0vB;aAC3vB,eAAe;aACf,IAAI,EAAE,sCAAsC;aAC5C,aAAa;aACb,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aACZ,YAAY;aACZ,MAAM;;;aACN,KAAK,EAAE,gCAAgC;;aAGvC,WAAW,EACV,stBAAstB;aACvtB,eAAe;aACf,cAAc;aACd,IAAI,EAAE,gCAAgC;aACtC,aAAa;aACb,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aACZ,YAAY;aACZ,MAAM;;;;;;;;;aACN,KAAK,EAAE,8BAA8B;EAE7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instructions.d.ts","sourceRoot":"","sources":["../../../src/server/instructions.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"instructions.d.ts","sourceRoot":"","sources":["../../../src/server/instructions.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,QAsF7B,CAAC;AAET,eAAO,MAAM,gCAAgC,QA8CrC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** Product name for the hosted MCP server. */
|
|
2
|
+
export declare const DYNAMOI_MCP_SERVER_NAME = "Dynamoi MCP Server";
|
|
3
|
+
/** One-line tagline. */
|
|
4
|
+
export declare const DYNAMOI_MCP_TAGLINE = "Music marketing for AI agents";
|
|
5
|
+
/**
|
|
6
|
+
* Short description. The MCP Registry caps `server.json` descriptions at 100
|
|
7
|
+
* characters, and `package.json` and `server.json` must equal this exactly.
|
|
8
|
+
*/
|
|
9
|
+
export declare const DYNAMOI_MCP_SHORT_DESCRIPTION = "Music marketing for AI agents: free Smart Links, promotion campaigns, analytics, and distribution.";
|
|
10
|
+
/** Standard description for docs metadata, listings, and discovery summaries. */
|
|
11
|
+
export declare const DYNAMOI_MCP_STANDARD_DESCRIPTION = "Connect ChatGPT, Claude, Cursor, and other AI agents to Dynamoi for free Spotify Smart Links, music promotion campaigns, analytics, and distribution.";
|
|
12
|
+
/** Registry limit for `server.json` descriptions. */
|
|
13
|
+
export declare const DYNAMOI_MCP_REGISTRY_DESCRIPTION_MAX_LENGTH = 100;
|
|
14
|
+
//# sourceMappingURL=messaging.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messaging.d.ts","sourceRoot":"","sources":["../../../src/server/messaging.ts"],"names":[],"mappings":"AAIA,8CAA8C;AAC9C,eAAO,MAAM,uBAAuB,uBAAuB,CAAC;AAE5D,wBAAwB;AACxB,eAAO,MAAM,mBAAmB,kCAAkC,CAAC;AAEnE;;;GAGG;AACH,eAAO,MAAM,6BAA6B,uGAC2D,CAAC;AAEtG,iFAAiF;AACjF,eAAO,MAAM,gCAAgC,0JAC2G,CAAC;AAEzJ,qDAAqD;AACrD,eAAO,MAAM,2CAA2C,MAAM,CAAC"}
|
|
@@ -10,6 +10,31 @@ export declare function createPhaseOnboardingToolDefinitions(schemas: Onboarding
|
|
|
10
10
|
readonly name: "dynamoi_start_youtube_channel_link";
|
|
11
11
|
readonly openWorldHint: true;
|
|
12
12
|
readonly outputSchema: z.ZodObject<{
|
|
13
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
14
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
15
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
16
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
17
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
18
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
19
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
20
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
21
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
22
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
23
|
+
}>>;
|
|
24
|
+
field: z.ZodOptional<z.ZodString>;
|
|
25
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
26
|
+
field: z.ZodOptional<z.ZodString>;
|
|
27
|
+
kind: z.ZodEnum<{
|
|
28
|
+
handoff: "handoff";
|
|
29
|
+
provide_input: "provide_input";
|
|
30
|
+
read_status: "read_status";
|
|
31
|
+
reconnect: "reconnect";
|
|
32
|
+
}>;
|
|
33
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
34
|
+
}, z.core.$strict>>;
|
|
35
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
36
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
37
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
13
38
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
14
39
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
15
40
|
business: "business";
|
|
@@ -34,6 +59,31 @@ export declare function createPhaseOnboardingToolDefinitions(schemas: Onboarding
|
|
|
34
59
|
readonly name: "dynamoi_start_meta_connection";
|
|
35
60
|
readonly openWorldHint: true;
|
|
36
61
|
readonly outputSchema: z.ZodObject<{
|
|
62
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
63
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
64
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
65
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
66
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
67
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
68
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
69
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
70
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
71
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
72
|
+
}>>;
|
|
73
|
+
field: z.ZodOptional<z.ZodString>;
|
|
74
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
75
|
+
field: z.ZodOptional<z.ZodString>;
|
|
76
|
+
kind: z.ZodEnum<{
|
|
77
|
+
handoff: "handoff";
|
|
78
|
+
provide_input: "provide_input";
|
|
79
|
+
read_status: "read_status";
|
|
80
|
+
reconnect: "reconnect";
|
|
81
|
+
}>;
|
|
82
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
83
|
+
}, z.core.$strict>>;
|
|
84
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
85
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
37
87
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
38
88
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
39
89
|
business: "business";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onboarding-tool-definitions.d.ts","sourceRoot":"","sources":["../../../src/server/onboarding-tool-definitions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,CAAC,MAAM,QAAQ,CAAC;AAGjC,KAAK,qBAAqB,GAAG;IAC5B,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC;IAC1B,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC;CAC9B,CAAC;AAEF,wBAAgB,oCAAoC,CACnD,OAAO,EAAE,qBAAqB;aAI5B,WAAW,EACV,+jBAA+jB;aAChkB,eAAe;aACf,cAAc;aACd,IAAI,EAAE,oCAAoC;aAC1C,aAAa;aACb,YAAY
|
|
1
|
+
{"version":3,"file":"onboarding-tool-definitions.d.ts","sourceRoot":"","sources":["../../../src/server/onboarding-tool-definitions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,CAAC,MAAM,QAAQ,CAAC;AAGjC,KAAK,qBAAqB,GAAG;IAC5B,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC;IAC1B,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC;CAC9B,CAAC;AAEF,wBAAgB,oCAAoC,CACnD,OAAO,EAAE,qBAAqB;aAI5B,WAAW,EACV,+jBAA+jB;aAChkB,eAAe;aACf,cAAc;aACd,IAAI,EAAE,oCAAoC;aAC1C,aAAa;aACb,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aACZ,YAAY;aACZ,MAAM;aACN,KAAK,EAAE,4BAA4B;;aAGnC,WAAW,EACV,gyBAAgyB;aACjyB,eAAe;aACf,cAAc;aACd,IAAI,EAAE,+BAA+B;aACrC,aAAa;aACb,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aACZ,YAAY;aACZ,MAAM;aACN,KAAK,EAAE,uBAAuB;GAGhC"}
|
|
@@ -40,6 +40,31 @@ export declare const OPENAI_TOOL_DEFINITIONS: readonly [{
|
|
|
40
40
|
readonly name: "search";
|
|
41
41
|
readonly openWorldHint: false;
|
|
42
42
|
readonly outputSchema: z.ZodObject<{
|
|
43
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
44
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
45
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
46
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
47
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
48
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
49
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
50
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
51
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
52
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
53
|
+
}>>;
|
|
54
|
+
field: z.ZodOptional<z.ZodString>;
|
|
55
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
56
|
+
field: z.ZodOptional<z.ZodString>;
|
|
57
|
+
kind: z.ZodEnum<{
|
|
58
|
+
handoff: "handoff";
|
|
59
|
+
provide_input: "provide_input";
|
|
60
|
+
read_status: "read_status";
|
|
61
|
+
reconnect: "reconnect";
|
|
62
|
+
}>;
|
|
63
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
64
|
+
}, z.core.$strict>>;
|
|
65
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
66
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
67
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
43
68
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
44
69
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
45
70
|
business: "business";
|
|
@@ -65,6 +90,31 @@ export declare const OPENAI_TOOL_DEFINITIONS: readonly [{
|
|
|
65
90
|
readonly name: "fetch";
|
|
66
91
|
readonly openWorldHint: false;
|
|
67
92
|
readonly outputSchema: z.ZodObject<{
|
|
93
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
94
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
95
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
96
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
97
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
98
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
99
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
100
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
101
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
102
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
103
|
+
}>>;
|
|
104
|
+
field: z.ZodOptional<z.ZodString>;
|
|
105
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
106
|
+
field: z.ZodOptional<z.ZodString>;
|
|
107
|
+
kind: z.ZodEnum<{
|
|
108
|
+
handoff: "handoff";
|
|
109
|
+
provide_input: "provide_input";
|
|
110
|
+
read_status: "read_status";
|
|
111
|
+
reconnect: "reconnect";
|
|
112
|
+
}>;
|
|
113
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
114
|
+
}, z.core.$strict>>;
|
|
115
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
116
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
117
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
68
118
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
69
119
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
70
120
|
business: "business";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openai-tools.d.ts","sourceRoot":"","sources":["../../../src/server/openai-tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;;;GAIG;AAEH;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,KAAK,CAAC;QACd,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,IAAI,CAAC,EAAE,MAAM,CAAC;KACd,CAAC,CAAC;CACH,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,8BAA8B;;kBAIjC,CAAC;AAEX,eAAO,MAAM,6BAA6B;;kBAIhC,CAAC;AAEX,eAAO,MAAM,uBAAuB;aAOlC,WAAW,EACV,+NAA+N;aAChO,eAAe;aACf,IAAI,EAAE,QAAQ;aACd,aAAa;aACb,YAAY
|
|
1
|
+
{"version":3,"file":"openai-tools.d.ts","sourceRoot":"","sources":["../../../src/server/openai-tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;;;GAIG;AAEH;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,KAAK,CAAC;QACd,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;Q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