@mindstudio-ai/agent 0.1.184 → 0.1.186
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +3 -3
- package/dist/cli.js +19 -6
- package/dist/db/predicate.d.ts +3 -2
- package/dist/index.js +13 -0
- package/dist/index.js.map +2 -2
- package/dist/snippets.js +173 -0
- package/package.json +6 -1
package/dist/snippets.js
ADDED
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
// src/generated/snippets.ts
|
|
2
|
+
var monacoSnippets = {
|
|
3
|
+
"activeCampaignAddNote": { fields: [["contactId", "string"], ["note", "string"]], outputKeys: [] },
|
|
4
|
+
"activeCampaignCreateContact": { fields: [["email", "string"], ["firstName", "string"], ["lastName", "string"], ["phone", "string"], ["accountId", "string"], ["customFields", "object"]], outputKeys: ["contactId"] },
|
|
5
|
+
"addSubtitlesToVideo": { fields: [["videoUrl", "string"], ["language", "string"], ["fontName", "string"], ["fontSize", "number"], ["fontWeight", ["normal", "bold", "black"]], ["fontColor", ["white", "black", "red", "green", "blue", "yellow", "orange", "purple", "pink", "brown", "gray", "cyan", "magenta"]], ["highlightColor", ["white", "black", "red", "green", "blue", "yellow", "orange", "purple", "pink", "brown", "gray", "cyan", "magenta"]], ["strokeWidth", "number"], ["strokeColor", ["black", "white", "red", "green", "blue", "yellow", "orange", "purple", "pink", "brown", "gray", "cyan", "magenta"]], ["backgroundColor", ["black", "white", "red", "green", "blue", "yellow", "orange", "purple", "pink", "brown", "gray", "cyan", "magenta", "none"]], ["backgroundOpacity", "number"], ["position", ["top", "center", "bottom"]], ["yOffset", "number"], ["wordsPerSubtitle", "number"], ["enableAnimation", "boolean"]], outputKeys: ["videoUrl"] },
|
|
6
|
+
"addThumbnailToVideo": { fields: [["videoUrl", "string"]], outputKeys: ["videoUrl", "thumbnailUrl"] },
|
|
7
|
+
"airtableCreateUpdateRecord": { fields: [["baseId", "string"], ["tableId", "string"], ["fields", "string"], ["recordData", "object"]], outputKeys: ["recordId"] },
|
|
8
|
+
"airtableDeleteRecord": { fields: [["baseId", "string"], ["tableId", "string"], ["recordId", "string"]], outputKeys: ["deleted"] },
|
|
9
|
+
"airtableGetRecord": { fields: [["baseId", "string"], ["tableId", "string"], ["recordId", "string"]], outputKeys: ["record"] },
|
|
10
|
+
"airtableGetTableRecords": { fields: [["baseId", "string"], ["tableId", "string"]], outputKeys: ["records"] },
|
|
11
|
+
"analyzeImage": { fields: [["prompt", "string"]], outputKeys: ["analysis"] },
|
|
12
|
+
"analyzeVideo": { fields: [["prompt", "string"], ["videoUrl", "string"]], outputKeys: ["analysis"] },
|
|
13
|
+
"captureThumbnail": { fields: [["videoUrl", "string"], ["at", "string"]], outputKeys: ["thumbnailUrl"] },
|
|
14
|
+
"checkAppRole": { fields: [["roleName", "string"]], outputKeys: ["hasRole", "userRoles"] },
|
|
15
|
+
"codaCreateUpdatePage": { fields: [["pageData", "object"]], outputKeys: ["pageId"] },
|
|
16
|
+
"codaCreateUpdateRow": { fields: [["docId", "string"], ["tableId", "string"], ["rowData", "object"]], outputKeys: ["rowId"] },
|
|
17
|
+
"codaFindRow": { fields: [["docId", "string"], ["tableId", "string"], ["rowData", "object"]], outputKeys: ["row"] },
|
|
18
|
+
"codaGetPage": { fields: [["docId", "string"], ["pageId", "string"]], outputKeys: ["content"] },
|
|
19
|
+
"codaGetTableRows": { fields: [["docId", "string"], ["tableId", "string"]], outputKeys: ["rows"] },
|
|
20
|
+
"convertPdfToImages": { fields: [["pdfUrl", "string"]], outputKeys: ["imageUrls"] },
|
|
21
|
+
"createDataSource": { fields: [["name", "string"]], outputKeys: ["dataSourceId", "name"] },
|
|
22
|
+
"createGmailDraft": { fields: [["to", "string"], ["subject", "string"], ["message", "string"], ["messageType", ["plain", "html", "markdown"]]], outputKeys: ["draftId"] },
|
|
23
|
+
"createGoogleCalendarEvent": { fields: [["summary", "string"], ["startDateTime", "string"], ["endDateTime", "string"]], outputKeys: ["eventId", "htmlLink"] },
|
|
24
|
+
"createGoogleDoc": { fields: [["title", "string"], ["text", "string"], ["textType", ["plain", "html", "markdown"]]], outputKeys: ["documentUrl"] },
|
|
25
|
+
"createGoogleSheet": { fields: [["title", "string"], ["text", "string"]], outputKeys: ["spreadsheetUrl"] },
|
|
26
|
+
"decomposeImage": { fields: [["image", "string"]], outputKeys: ["imageUrls"] },
|
|
27
|
+
"deleteDataSource": { fields: [["dataSourceId", "string"]], outputKeys: ["dataSourceId"] },
|
|
28
|
+
"deleteDataSourceDocument": { fields: [["dataSourceId", "string"], ["documentId", "string"]], outputKeys: ["dataSourceId", "documentId"] },
|
|
29
|
+
"deleteGmailEmail": { fields: [["messageId", "string"]], outputKeys: [] },
|
|
30
|
+
"deleteGoogleCalendarEvent": { fields: [["eventId", "string"]], outputKeys: [] },
|
|
31
|
+
"deleteGoogleSheetRows": { fields: [["documentId", "string"], ["startRow", "string"], ["endRow", "string"]], outputKeys: [] },
|
|
32
|
+
"describeExternalModel": { fields: [["replicate", "object"]], outputKeys: ["model", "url", "description", "inputSchema", "outputSchema", "pricePerSecond", "priceIsUpperBound"] },
|
|
33
|
+
"detectChanges": { fields: [["mode", ["ai", "comparison"]], ["input", "string"]], outputKeys: ["hasChanged", "currentValue", "previousValue", "isFirstRun"] },
|
|
34
|
+
"detectPII": { fields: [["input", "string"], ["language", "string"], ["entities", "array"]], outputKeys: ["detected", "detections"] },
|
|
35
|
+
"downloadVideo": { fields: [["videoUrl", "string"], ["format", ["mp4", "mp3"]]], outputKeys: ["videoUrl"] },
|
|
36
|
+
"enhanceImageGenerationPrompt": { fields: [["initialPrompt", "string"], ["includeNegativePrompt", "boolean"], ["systemPrompt", "string"]], outputKeys: ["prompt"] },
|
|
37
|
+
"enhanceVideoGenerationPrompt": { fields: [["initialPrompt", "string"], ["includeNegativePrompt", "boolean"], ["systemPrompt", "string"]], outputKeys: ["prompt"] },
|
|
38
|
+
"enrichPerson": { fields: [["params", "object"]], outputKeys: ["data"] },
|
|
39
|
+
"evaluateDecision": { fields: [["state", "string"], ["questions", "object"]], outputKeys: ["model", "answers", "usage"] },
|
|
40
|
+
"extractAudioFromVideo": { fields: [["videoUrl", "string"]], outputKeys: ["audioUrl"] },
|
|
41
|
+
"extractText": { fields: [["url", "string"]], outputKeys: ["text", "documents"] },
|
|
42
|
+
"fetchDataSourceDocument": { fields: [["dataSourceId", "string"], ["documentId", "string"]], outputKeys: ["documentId", "name", "content", "summary", "numWords"] },
|
|
43
|
+
"fetchGoogleDoc": { fields: [["documentId", "string"], ["exportType", ["html", "markdown", "json", "plain"]]], outputKeys: ["content"] },
|
|
44
|
+
"fetchGoogleSheet": { fields: [["spreadsheetId", "string"], ["range", "string"], ["exportType", ["csv", "json"]]], outputKeys: ["content"] },
|
|
45
|
+
"fetchSlackChannelHistory": { fields: [["channelId", "string"]], outputKeys: ["messages"] },
|
|
46
|
+
"fetchYoutubeCaptions": { fields: [["videoUrl", "string"], ["exportType", ["text", "json"]], ["language", "string"]], outputKeys: ["transcripts"] },
|
|
47
|
+
"fetchYoutubeChannel": { fields: [["channelUrl", "string"]], outputKeys: [] },
|
|
48
|
+
"fetchYoutubeComments": { fields: [["videoUrl", "string"], ["exportType", ["text", "json"]], ["limitPages", "string"]], outputKeys: ["comments"] },
|
|
49
|
+
"fetchYoutubeVideo": { fields: [["videoUrl", "string"]], outputKeys: [] },
|
|
50
|
+
"generate3dModel": { fields: [], outputKeys: ["glbUrl"] },
|
|
51
|
+
"generateAsset": { fields: [["source", "string"], ["sourceType", ["html", "markdown", "spa", "raw", "dynamic", "customInterface"]], ["outputFormat", ["pdf", "png", "html", "mp4", "openGraph"]], ["pageSize", ["full", "letter", "A4", "custom"]], ["testData", "object"]], outputKeys: ["url"] },
|
|
52
|
+
"generateImage": { fields: [["prompt", "string"]], outputKeys: ["imageUrl"] },
|
|
53
|
+
"generateLipsync": { fields: [], outputKeys: ["videoUrl"] },
|
|
54
|
+
"generateMusic": { fields: [["text", "string"]], outputKeys: ["audioUrl"] },
|
|
55
|
+
"generatePdf": { fields: [["source", "string"], ["sourceType", ["html", "markdown", "spa", "raw", "dynamic", "customInterface"]], ["outputFormat", ["pdf", "png", "html", "mp4", "openGraph"]], ["pageSize", ["full", "letter", "A4", "custom"]], ["testData", "object"]], outputKeys: ["url"] },
|
|
56
|
+
"generateSound": { fields: [["text", "string"]], outputKeys: ["audioUrl"] },
|
|
57
|
+
"generateStaticVideoFromImage": { fields: [["imageUrl", "string"], ["duration", "string"]], outputKeys: ["videoUrl"] },
|
|
58
|
+
"generateText": { fields: [["message", "string"]], outputKeys: ["content"] },
|
|
59
|
+
"generateVideo": { fields: [["prompt", "string"]], outputKeys: ["videoUrl"] },
|
|
60
|
+
"getGmailAttachments": { fields: [["messageId", "string"]], outputKeys: ["attachments"] },
|
|
61
|
+
"getGmailDraft": { fields: [["draftId", "string"]], outputKeys: ["draftId", "messageId", "subject", "to", "from", "body"] },
|
|
62
|
+
"getGmailEmail": { fields: [["messageId", "string"]], outputKeys: ["messageId", "subject", "from", "to", "date", "body", "labels"] },
|
|
63
|
+
"getGmailUnreadCount": { fields: [], outputKeys: ["unreadCount"] },
|
|
64
|
+
"getGoogleCalendarEvent": { fields: [["eventId", "string"], ["exportType", ["json", "text"]]], outputKeys: ["event"] },
|
|
65
|
+
"getGoogleDriveFile": { fields: [["fileId", "string"]], outputKeys: ["url", "name", "mimeType", "size"] },
|
|
66
|
+
"getGoogleSheetInfo": { fields: [["documentId", "string"]], outputKeys: ["title", "sheets"] },
|
|
67
|
+
"getMediaMetadata": { fields: [["mediaUrl", "string"]], outputKeys: ["metadata"] },
|
|
68
|
+
"hubspotCreateCompany": { fields: [["company", "object"], ["enabledProperties", "array"]], outputKeys: ["companyId"] },
|
|
69
|
+
"hubspotCreateContact": { fields: [["contact", "object"], ["enabledProperties", "array"], ["companyDomain", "string"]], outputKeys: ["contactId"] },
|
|
70
|
+
"hubspotGetCompany": { fields: [["searchBy", ["domain", "id"]], ["companyDomain", "string"], ["companyId", "string"], ["additionalProperties", "array"]], outputKeys: ["company"] },
|
|
71
|
+
"hubspotGetContact": { fields: [["searchBy", ["email", "id"]], ["contactEmail", "string"], ["contactId", "string"], ["additionalProperties", "array"]], outputKeys: ["contact"] },
|
|
72
|
+
"hunterApiCompanyEnrichment": { fields: [["domain", "string"]], outputKeys: ["data"] },
|
|
73
|
+
"hunterApiDomainSearch": { fields: [["domain", "string"]], outputKeys: ["data"] },
|
|
74
|
+
"hunterApiEmailFinder": { fields: [["domain", "string"], ["firstName", "string"], ["lastName", "string"]], outputKeys: ["data"] },
|
|
75
|
+
"hunterApiEmailVerification": { fields: [["email", "string"]], outputKeys: ["data"] },
|
|
76
|
+
"hunterApiPersonEnrichment": { fields: [["email", "string"]], outputKeys: ["data"] },
|
|
77
|
+
"imageFaceSwap": { fields: [["imageUrl", "string"], ["faceImageUrl", "string"], ["engine", "string"]], outputKeys: ["imageUrl"] },
|
|
78
|
+
"imageRemoveWatermark": { fields: [["imageUrl", "string"], ["engine", "string"]], outputKeys: ["imageUrl"] },
|
|
79
|
+
"importFromUrl": { fields: [["url", "string"]], outputKeys: ["fileUrl", "key", "size", "contentType"] },
|
|
80
|
+
"insertVideoClips": { fields: [["baseVideoUrl", "string"], ["overlayVideos", "array"]], outputKeys: ["videoUrl"] },
|
|
81
|
+
"listDataSources": { fields: [], outputKeys: ["dataSources"] },
|
|
82
|
+
"listGmailDrafts": { fields: [["exportType", ["json", "text"]]], outputKeys: ["drafts"] },
|
|
83
|
+
"listGmailLabels": { fields: [], outputKeys: ["labels"] },
|
|
84
|
+
"listGoogleCalendarEvents": { fields: [["limit", "number"], ["exportType", ["json", "text"]]], outputKeys: ["events"] },
|
|
85
|
+
"listGoogleDriveFiles": { fields: [["exportType", ["json", "text"]]], outputKeys: ["files"] },
|
|
86
|
+
"listRecentGmailEmails": { fields: [["exportType", ["json", "text"]], ["limit", "string"]], outputKeys: ["emails"] },
|
|
87
|
+
"logic": { fields: [["context", "string"], ["cases", "array"]], outputKeys: ["selectedCase"] },
|
|
88
|
+
"makeDotComRunScenario": { fields: [["webhookUrl", "string"], ["input", "object"]], outputKeys: ["data"] },
|
|
89
|
+
"mergeAudio": { fields: [["mp3Urls", "array"]], outputKeys: ["audioUrl"] },
|
|
90
|
+
"mergeVideos": { fields: [["videoUrls", "array"]], outputKeys: ["videoUrl"] },
|
|
91
|
+
"meshyAnimate": { fields: [["rigTaskId", "string"], ["actionId", "number"]], outputKeys: ["glbUrl"] },
|
|
92
|
+
"meshyImageTo3d": { fields: [["imageUrls", "array"]], outputKeys: ["glbUrl"] },
|
|
93
|
+
"meshyRemesh": { fields: [], outputKeys: ["glbUrl"] },
|
|
94
|
+
"meshyRig": { fields: [], outputKeys: ["glbUrl"] },
|
|
95
|
+
"meshyTextTo3d": { fields: [["prompt", "string"]], outputKeys: ["glbUrl"] },
|
|
96
|
+
"meshyTexture": { fields: [], outputKeys: ["glbUrl"] },
|
|
97
|
+
"mixAudioIntoVideo": { fields: [["videoUrl", "string"], ["audioUrl", "string"], ["options", "object"]], outputKeys: ["videoUrl"] },
|
|
98
|
+
"muteVideo": { fields: [["videoUrl", "string"]], outputKeys: ["videoUrl"] },
|
|
99
|
+
"n8nRunNode": { fields: [["method", "string"], ["authentication", ["none", "basic", "string"]], ["user", "string"], ["password", "string"], ["webhookUrl", "string"], ["input", "object"]], outputKeys: ["data"] },
|
|
100
|
+
"notionCreatePage": { fields: [["pageId", "string"], ["content", "string"], ["title", "string"]], outputKeys: ["pageId", "pageUrl"] },
|
|
101
|
+
"notionUpdatePage": { fields: [["pageId", "string"], ["content", "string"], ["mode", ["append", "overwrite"]]], outputKeys: ["pageId", "pageUrl"] },
|
|
102
|
+
"peopleSearch": { fields: [["smartQuery", "string"], ["enrichPeople", "boolean"], ["enrichOrganizations", "boolean"], ["limit", "string"], ["page", "string"], ["params", "object"]], outputKeys: ["results"] },
|
|
103
|
+
"postToLinkedIn": { fields: [["message", "string"], ["visibility", ["PUBLIC", "CONNECTIONS"]]], outputKeys: [] },
|
|
104
|
+
"postToSlackChannel": { fields: [["channelId", "string"], ["messageType", ["string", "blocks"]], ["message", "string"]], outputKeys: [] },
|
|
105
|
+
"postToX": { fields: [["text", "string"]], outputKeys: [] },
|
|
106
|
+
"postToZapier": { fields: [["webhookUrl", "string"], ["input", "object"]], outputKeys: ["data"] },
|
|
107
|
+
"queryDataSource": { fields: [["dataSourceId", "string"], ["query", "string"], ["maxResults", "number"]], outputKeys: ["text", "chunks", "query", "citations", "latencyMs"] },
|
|
108
|
+
"queryExternalDatabase": { fields: [["query", "string"], ["outputFormat", ["json", "csv"]]], outputKeys: ["data"] },
|
|
109
|
+
"quickbooksApiRequest": { fields: [["method", "string"], ["route", "string"], ["queryParams", "object"], ["body", "string"]], outputKeys: ["ok", "status", "body"] },
|
|
110
|
+
"redactPII": { fields: [["input", "string"], ["language", "string"], ["entities", "array"]], outputKeys: ["text"] },
|
|
111
|
+
"removeBackgroundFromImage": { fields: [["imageUrl", "string"]], outputKeys: ["imageUrl"] },
|
|
112
|
+
"renderVideoFromHtmlComposition": { fields: [], outputKeys: ["videoUrl", "durationSec", "frames"] },
|
|
113
|
+
"replyToGmailEmail": { fields: [["messageId", "string"], ["message", "string"], ["messageType", ["plain", "html", "markdown"]]], outputKeys: ["messageId"] },
|
|
114
|
+
"resizeVideo": { fields: [["videoUrl", "string"], ["mode", ["fit", "exact"]]], outputKeys: ["videoUrl"] },
|
|
115
|
+
"runExternalModel": { fields: [["replicate", "object"]], outputKeys: ["output", "runSeconds"] },
|
|
116
|
+
"runFfmpeg": { fields: [["inputs", "object"], ["args", "array"]], outputKeys: ["outputs"] },
|
|
117
|
+
"runFromConnectorRegistry": { fields: [["actionId", "string"], ["displayName", "string"], ["icon", "string"], ["configurationValues", "object"]], outputKeys: ["data"] },
|
|
118
|
+
"scrapeLinkedInCompany": { fields: [["url", "string"]], outputKeys: ["company"] },
|
|
119
|
+
"scrapeLinkedInProfile": { fields: [["url", "string"]], outputKeys: ["profile"] },
|
|
120
|
+
"scrapeUrl": { fields: [["url", "string"]], outputKeys: ["content"] },
|
|
121
|
+
"scrapeXPost": { fields: [["url", "string"]], outputKeys: ["post"] },
|
|
122
|
+
"scrapeXProfile": { fields: [["url", "string"]], outputKeys: ["profile"] },
|
|
123
|
+
"screenshotUrl": { fields: [["url", "string"]], outputKeys: ["screenshotUrl"] },
|
|
124
|
+
"searchGmailEmails": { fields: [["query", "string"], ["exportType", ["json", "text"]], ["limit", "string"]], outputKeys: ["emails"] },
|
|
125
|
+
"searchGoogle": { fields: [["query", "string"], ["exportType", ["text", "json"]]], outputKeys: ["results"] },
|
|
126
|
+
"searchGoogleCalendarEvents": { fields: [["exportType", ["json", "text"]]], outputKeys: ["events"] },
|
|
127
|
+
"searchGoogleDrive": { fields: [["query", "string"], ["exportType", ["json", "text"]]], outputKeys: ["files"] },
|
|
128
|
+
"searchGoogleImages": { fields: [["query", "string"], ["exportType", ["text", "json"]]], outputKeys: ["images"] },
|
|
129
|
+
"searchGoogleNews": { fields: [["text", "string"], ["exportType", ["text", "json"]]], outputKeys: ["articles"] },
|
|
130
|
+
"searchGoogleTrends": { fields: [["text", "string"], ["hl", "string"], ["geo", "string"], ["data_type", ["TIMESERIES", "GEO_MAP", "GEO_MAP_0", "RELATED_TOPICS", "RELATED_QUERIES"]], ["cat", "string"], ["date", "string"], ["ts", "string"]], outputKeys: ["trends"] },
|
|
131
|
+
"searchPerplexity": { fields: [["query", "string"], ["exportType", ["text", "json"]]], outputKeys: ["results"] },
|
|
132
|
+
"searchXPosts": { fields: [["query", "string"], ["scope", ["recent", "all"]], ["options", "object"]], outputKeys: ["posts"] },
|
|
133
|
+
"searchYoutube": { fields: [["query", "string"], ["limitPages", "string"], ["filter", "string"], ["filterType", "string"]], outputKeys: ["results"] },
|
|
134
|
+
"searchYoutubeTrends": { fields: [["bp", ["now", "music", "gaming", "films"]], ["hl", "string"], ["gl", "string"]], outputKeys: [] },
|
|
135
|
+
"sendEmail": { fields: [["subject", "string"], ["body", "string"]], outputKeys: ["recipients", "cc", "bcc", "from", "suppressed", "batchId"] },
|
|
136
|
+
"sendGmailDraft": { fields: [["draftId", "string"]], outputKeys: ["messageId"] },
|
|
137
|
+
"sendGmailMessage": { fields: [["to", "string"], ["subject", "string"], ["message", "string"], ["messageType", ["plain", "html", "markdown"]]], outputKeys: ["messageId"] },
|
|
138
|
+
"sendSlackDirectMessage": { fields: [["slackUserId", "string"], ["messageType", ["string", "blocks"]], ["message", "string"]], outputKeys: [] },
|
|
139
|
+
"sendSMS": { fields: [["body", "string"]], outputKeys: [] },
|
|
140
|
+
"setGmailReadStatus": { fields: [["messageIds", "string"], ["markAsRead", "boolean"]], outputKeys: ["messageIds"] },
|
|
141
|
+
"setRunTitle": { fields: [["title", "string"]], outputKeys: [] },
|
|
142
|
+
"setVariable": { fields: [["value", "string"]], outputKeys: [] },
|
|
143
|
+
"textToSpeech": { fields: [["text", "string"]], outputKeys: ["audioUrl"] },
|
|
144
|
+
"transcribeAudio": { fields: [["audioUrl", "string"], ["prompt", "string"]], outputKeys: ["text"] },
|
|
145
|
+
"trimMedia": { fields: [["inputUrl", "string"]], outputKeys: ["mediaUrl"] },
|
|
146
|
+
"typesafeEvaluate": { fields: [["state", "string"], ["questions", "object"]], outputKeys: ["model", "answers", "usage"] },
|
|
147
|
+
"updateGmailLabels": { fields: [["query", "string"], ["messageIds", "string"], ["addLabelIds", "string"], ["removeLabelIds", "string"]], outputKeys: ["updatedMessageIds"] },
|
|
148
|
+
"updateGoogleCalendarEvent": { fields: [["eventId", "string"]], outputKeys: ["eventId", "htmlLink"] },
|
|
149
|
+
"updateGoogleDoc": { fields: [["documentId", "string"], ["text", "string"], ["textType", ["plain", "html", "markdown"]], ["operationType", ["addToTop", "addToBottom", "overwrite"]]], outputKeys: ["documentUrl"] },
|
|
150
|
+
"updateGoogleSheet": { fields: [["text", "string"], ["spreadsheetId", "string"], ["range", "string"], ["operationType", ["addToBottom", "overwrite", "range"]]], outputKeys: ["spreadsheetUrl"] },
|
|
151
|
+
"uploadDataSourceDocument": { fields: [["dataSourceId", "string"], ["file", "string"], ["fileName", "string"]], outputKeys: ["documentId", "dataSourceId", "fileName"] },
|
|
152
|
+
"upscaleImage": { fields: [["imageUrl", "string"], ["targetResolution", ["2k", "4k", "8k"]], ["engine", ["standard", "pro"]]], outputKeys: ["imageUrl"] },
|
|
153
|
+
"upscaleVideo": { fields: [["videoUrl", "string"], ["targetResolution", ["720p", "1080p", "2K", "4K"]], ["engine", ["standard", "pro", "ultimate", "flashvsr", "seedance", "seedvr2", "runwayml/upscale-v1"]]], outputKeys: ["videoUrl"] },
|
|
154
|
+
"userMessage": { fields: [["message", "string"]], outputKeys: ["content"] },
|
|
155
|
+
"videoFaceSwap": { fields: [["videoUrl", "string"], ["faceImageUrl", "string"], ["targetIndex", "number"], ["engine", "string"]], outputKeys: ["videoUrl"] },
|
|
156
|
+
"videoRemoveBackground": { fields: [["videoUrl", "string"], ["newBackground", ["transparent", "image"]], ["engine", "string"]], outputKeys: ["videoUrl"] },
|
|
157
|
+
"videoRemoveWatermark": { fields: [["videoUrl", "string"], ["engine", "string"]], outputKeys: ["videoUrl"] },
|
|
158
|
+
"watermarkImage": { fields: [["imageUrl", "string"], ["watermarkImageUrl", "string"], ["corner", ["top-left", "top-right", "bottom-left", "bottom-right"]], ["paddingPx", "number"], ["widthPx", "number"]], outputKeys: ["imageUrl"] },
|
|
159
|
+
"watermarkVideo": { fields: [["videoUrl", "string"], ["imageUrl", "string"], ["corner", ["top-left", "top-right", "bottom-left", "bottom-right"]], ["paddingPx", "number"], ["widthPx", "number"]], outputKeys: ["videoUrl"] },
|
|
160
|
+
"youDotComFinanceResearch": { fields: [["input", "string"]], outputKeys: ["data"] },
|
|
161
|
+
"youDotComGetPageContent": { fields: [["urls", "array"]], outputKeys: ["data"] },
|
|
162
|
+
"youDotComLiveNews": { fields: [["query", "string"]], outputKeys: ["data"] },
|
|
163
|
+
"youDotComWebResearch": { fields: [["input", "string"]], outputKeys: ["data"] },
|
|
164
|
+
"youDotComWebSearch": { fields: [["query", "string"]], outputKeys: ["data"] }
|
|
165
|
+
};
|
|
166
|
+
var blockTypeAliases = {
|
|
167
|
+
"userMessage": "generateText",
|
|
168
|
+
"generatePdf": "generateAsset"
|
|
169
|
+
};
|
|
170
|
+
export {
|
|
171
|
+
blockTypeAliases,
|
|
172
|
+
monacoSnippets
|
|
173
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindstudio-ai/agent",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.186",
|
|
4
4
|
"description": "TypeScript SDK for MindStudio direct step execution",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -10,6 +10,11 @@
|
|
|
10
10
|
"types": "./dist/index.d.ts",
|
|
11
11
|
"import": "./dist/index.js",
|
|
12
12
|
"default": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./snippets": {
|
|
15
|
+
"types": "./dist/generated/snippets.d.ts",
|
|
16
|
+
"import": "./dist/snippets.js",
|
|
17
|
+
"default": "./dist/snippets.js"
|
|
13
18
|
}
|
|
14
19
|
},
|
|
15
20
|
"bin": {
|