@mindstudio-ai/agent 0.1.130 → 0.1.132
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/dist/cli.js +62 -39
- package/dist/index.d.ts +47 -18
- package/dist/index.js +49 -23
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +62 -39
- package/llms.txt +10 -2
- package/package.json +3 -4
package/dist/index.d.ts
CHANGED
|
@@ -23,15 +23,15 @@ interface PutOptions {
|
|
|
23
23
|
*/
|
|
24
24
|
contentAddressed?: boolean;
|
|
25
25
|
/**
|
|
26
|
-
* Cache-Control header stored on the object
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
26
|
+
* Cache-Control header stored on the object: how long a browser that
|
|
27
|
+
* already fetched a public file may keep its copy, at most an hour. The CDN
|
|
28
|
+
* itself drops a public file when it is overwritten or deleted. Defaults
|
|
29
|
+
* (public stores): auto-minted keys (`key` omitted — UUID or
|
|
30
|
+
* content-addressed, never reused) → an hour; explicitly named (overwritable)
|
|
31
|
+
* keys → `public, max-age=300`, so an overwrite reaches every browser within
|
|
32
|
+
* ~5 minutes. Recipes: `'public, max-age=60'` (near-live config),
|
|
33
|
+
* `'no-store'` (revalidate every read). Validated server-side — known
|
|
34
|
+
* directives only; a longer `max-age`, or `immutable`, is capped at an hour.
|
|
35
35
|
*/
|
|
36
36
|
cacheControl?: string;
|
|
37
37
|
}
|
|
@@ -5115,6 +5115,17 @@ interface CreateGoogleSheetStepOutput {
|
|
|
5115
5115
|
/** URL of the newly created Google Spreadsheet */
|
|
5116
5116
|
spreadsheetUrl: string;
|
|
5117
5117
|
}
|
|
5118
|
+
interface DecomposeImageStepInput {
|
|
5119
|
+
/** Image to split into a base image and transparent layers */
|
|
5120
|
+
image: string;
|
|
5121
|
+
/** Optional guidance for which objects or groupings to separate */
|
|
5122
|
+
prompt?: string;
|
|
5123
|
+
/** When true, assets are created but hidden from the user's gallery */
|
|
5124
|
+
intermediateAsset?: boolean;
|
|
5125
|
+
}
|
|
5126
|
+
interface DecomposeImageStepOutput {
|
|
5127
|
+
imageUrls: string[];
|
|
5128
|
+
}
|
|
5118
5129
|
interface DeleteDataSourceStepInput {
|
|
5119
5130
|
/** ID of the data source to delete (supports variable interpolation) */
|
|
5120
5131
|
dataSourceId: string;
|
|
@@ -7214,7 +7225,7 @@ interface ScrapeUrlStepInput {
|
|
|
7214
7225
|
outputFormat?: "text" | "json" | "html" | "summary";
|
|
7215
7226
|
/** Page-level scraping options (content filtering, screenshots, headers, etc.) */
|
|
7216
7227
|
pageOptions?: {
|
|
7217
|
-
/** Whether to extract only the main content of the page, excluding navigation, footers, etc. */
|
|
7228
|
+
/** Whether to extract only the main content of the page, excluding navigation, footers, etc. Firecrawl only. */
|
|
7218
7229
|
onlyMainContent: boolean;
|
|
7219
7230
|
/** Whether to capture a screenshot of the page */
|
|
7220
7231
|
screenshot: boolean;
|
|
@@ -7224,9 +7235,9 @@ interface ScrapeUrlStepInput {
|
|
|
7224
7235
|
replaceAllPathsWithAbsolutePaths: boolean;
|
|
7225
7236
|
/** Custom HTTP request headers as key-value pairs */
|
|
7226
7237
|
headers: Record<string, unknown>;
|
|
7227
|
-
/** HTML tags to remove from the scraped result */
|
|
7238
|
+
/** HTML tags to remove from the scraped result. Firecrawl only. */
|
|
7228
7239
|
removeTags: string[];
|
|
7229
|
-
/** Whether to scrape using a mobile user-agent */
|
|
7240
|
+
/** Whether to scrape using a mobile user-agent. Firecrawl only. */
|
|
7230
7241
|
mobile: boolean;
|
|
7231
7242
|
};
|
|
7232
7243
|
}
|
|
@@ -7252,7 +7263,7 @@ interface ScrapeUrlStepOutput {
|
|
|
7252
7263
|
/** Open Graph image URL */
|
|
7253
7264
|
image: string;
|
|
7254
7265
|
};
|
|
7255
|
-
/** Set when the scrape failed. `text`/`html` still carry the human-readable error
|
|
7266
|
+
/** Set when the scrape failed. `text`/`html` still carry the human-readable error for callers that only read those, and callers that care — billing, in particular — can tell a failure from real page content. */
|
|
7256
7267
|
error?: {
|
|
7257
7268
|
code: string;
|
|
7258
7269
|
message: string;
|
|
@@ -7283,7 +7294,7 @@ interface ScrapeUrlStepOutput {
|
|
|
7283
7294
|
/** Open Graph image URL */
|
|
7284
7295
|
image: string;
|
|
7285
7296
|
};
|
|
7286
|
-
/** Set when the scrape failed. `text`/`html` still carry the human-readable error
|
|
7297
|
+
/** Set when the scrape failed. `text`/`html` still carry the human-readable error for callers that only read those, and callers that care — billing, in particular — can tell a failure from real page content. */
|
|
7287
7298
|
error?: {
|
|
7288
7299
|
code: string;
|
|
7289
7300
|
message: string;
|
|
@@ -7324,7 +7335,7 @@ interface ScrapeXPostStepOutput {
|
|
|
7324
7335
|
/** Open Graph image URL */
|
|
7325
7336
|
image: string;
|
|
7326
7337
|
};
|
|
7327
|
-
/** Set when the scrape failed. `text`/`html` still carry the human-readable error
|
|
7338
|
+
/** Set when the scrape failed. `text`/`html` still carry the human-readable error for callers that only read those, and callers that care — billing, in particular — can tell a failure from real page content. */
|
|
7328
7339
|
error?: {
|
|
7329
7340
|
code: string;
|
|
7330
7341
|
message: string;
|
|
@@ -7363,7 +7374,7 @@ interface ScrapeXProfileStepOutput {
|
|
|
7363
7374
|
/** Open Graph image URL */
|
|
7364
7375
|
image: string;
|
|
7365
7376
|
};
|
|
7366
|
-
/** Set when the scrape failed. `text`/`html` still carry the human-readable error
|
|
7377
|
+
/** Set when the scrape failed. `text`/`html` still carry the human-readable error for callers that only read those, and callers that care — billing, in particular — can tell a failure from real page content. */
|
|
7367
7378
|
error?: {
|
|
7368
7379
|
code: string;
|
|
7369
7380
|
message: string;
|
|
@@ -8285,7 +8296,7 @@ type GenerateAssetStepOutput = GeneratePdfStepOutput;
|
|
|
8285
8296
|
type GenerateTextStepInput = UserMessageStepInput;
|
|
8286
8297
|
type GenerateTextStepOutput = UserMessageStepOutput;
|
|
8287
8298
|
/** Union of all available step type names. */
|
|
8288
|
-
type StepName = "activeCampaignAddNote" | "activeCampaignCreateContact" | "addSubtitlesToVideo" | "airtableCreateUpdateRecord" | "airtableDeleteRecord" | "airtableGetRecord" | "airtableGetTableRecords" | "analyzeImage" | "analyzeVideo" | "captureThumbnail" | "checkAppRole" | "codaCreateUpdatePage" | "codaCreateUpdateRow" | "codaFindRow" | "codaGetPage" | "codaGetTableRows" | "convertPdfToImages" | "createDataSource" | "createGmailDraft" | "createGoogleCalendarEvent" | "createGoogleDoc" | "createGoogleSheet" | "deleteDataSource" | "deleteDataSourceDocument" | "deleteGmailEmail" | "deleteGoogleCalendarEvent" | "deleteGoogleSheetRows" | "detectChanges" | "detectPII" | "downloadVideo" | "enhanceImageGenerationPrompt" | "enhanceVideoGenerationPrompt" | "enrichPerson" | "extractAudioFromVideo" | "extractText" | "fetchDataSourceDocument" | "fetchGoogleDoc" | "fetchGoogleSheet" | "fetchSlackChannelHistory" | "fetchYoutubeCaptions" | "fetchYoutubeChannel" | "fetchYoutubeComments" | "fetchYoutubeVideo" | "generate3dModel" | "generateImage" | "generateLipsync" | "generateMusic" | "generatePdf" | "generateSound" | "generateStaticVideoFromImage" | "generateVideo" | "getGmailAttachments" | "getGmailDraft" | "getGmailEmail" | "getGmailUnreadCount" | "getGoogleCalendarEvent" | "getGoogleDriveFile" | "getGoogleSheetInfo" | "getMediaMetadata" | "hubspotCreateCompany" | "hubspotCreateContact" | "hubspotGetCompany" | "hubspotGetContact" | "hunterApiCompanyEnrichment" | "hunterApiDomainSearch" | "hunterApiEmailFinder" | "hunterApiEmailVerification" | "hunterApiPersonEnrichment" | "imageFaceSwap" | "imageRemoveWatermark" | "insertVideoClips" | "listDataSources" | "listGmailDrafts" | "listGmailLabels" | "listGoogleCalendarEvents" | "listGoogleDriveFiles" | "listRecentGmailEmails" | "logic" | "makeDotComRunScenario" | "mergeAudio" | "mergeVideos" | "meshyAnimate" | "meshyImageTo3d" | "meshyRemesh" | "meshyRig" | "meshyTextTo3d" | "meshyTexture" | "mixAudioIntoVideo" | "muteVideo" | "n8nRunNode" | "notionCreatePage" | "notionUpdatePage" | "peopleSearch" | "postToLinkedIn" | "postToSlackChannel" | "postToX" | "postToZapier" | "queryDataSource" | "queryExternalDatabase" | "quickbooksApiRequest" | "redactPII" | "removeBackgroundFromImage" | "replyToGmailEmail" | "resizeVideo" | "runFromConnectorRegistry" | "scrapeLinkedInCompany" | "scrapeLinkedInProfile" | "scrapeUrl" | "scrapeXPost" | "scrapeXProfile" | "screenshotUrl" | "searchGmailEmails" | "searchGoogle" | "searchGoogleCalendarEvents" | "searchGoogleDrive" | "searchGoogleImages" | "searchGoogleNews" | "searchGoogleTrends" | "searchPerplexity" | "searchXPosts" | "searchYoutube" | "searchYoutubeTrends" | "sendEmail" | "sendGmailDraft" | "sendGmailMessage" | "sendSlackDirectMessage" | "sendSMS" | "setGmailReadStatus" | "setRunTitle" | "setVariable" | "textToSpeech" | "transcribeAudio" | "trimMedia" | "updateGmailLabels" | "updateGoogleCalendarEvent" | "updateGoogleDoc" | "updateGoogleSheet" | "uploadDataSourceDocument" | "upscaleImage" | "upscaleVideo" | "userMessage" | "videoFaceSwap" | "videoRemoveBackground" | "videoRemoveWatermark" | "watermarkImage" | "watermarkVideo" | "youDotComFinanceResearch" | "youDotComGetPageContent" | "youDotComLiveNews" | "youDotComWebResearch" | "youDotComWebSearch";
|
|
8299
|
+
type StepName = "activeCampaignAddNote" | "activeCampaignCreateContact" | "addSubtitlesToVideo" | "airtableCreateUpdateRecord" | "airtableDeleteRecord" | "airtableGetRecord" | "airtableGetTableRecords" | "analyzeImage" | "analyzeVideo" | "captureThumbnail" | "checkAppRole" | "codaCreateUpdatePage" | "codaCreateUpdateRow" | "codaFindRow" | "codaGetPage" | "codaGetTableRows" | "convertPdfToImages" | "createDataSource" | "createGmailDraft" | "createGoogleCalendarEvent" | "createGoogleDoc" | "createGoogleSheet" | "decomposeImage" | "deleteDataSource" | "deleteDataSourceDocument" | "deleteGmailEmail" | "deleteGoogleCalendarEvent" | "deleteGoogleSheetRows" | "detectChanges" | "detectPII" | "downloadVideo" | "enhanceImageGenerationPrompt" | "enhanceVideoGenerationPrompt" | "enrichPerson" | "extractAudioFromVideo" | "extractText" | "fetchDataSourceDocument" | "fetchGoogleDoc" | "fetchGoogleSheet" | "fetchSlackChannelHistory" | "fetchYoutubeCaptions" | "fetchYoutubeChannel" | "fetchYoutubeComments" | "fetchYoutubeVideo" | "generate3dModel" | "generateImage" | "generateLipsync" | "generateMusic" | "generatePdf" | "generateSound" | "generateStaticVideoFromImage" | "generateVideo" | "getGmailAttachments" | "getGmailDraft" | "getGmailEmail" | "getGmailUnreadCount" | "getGoogleCalendarEvent" | "getGoogleDriveFile" | "getGoogleSheetInfo" | "getMediaMetadata" | "hubspotCreateCompany" | "hubspotCreateContact" | "hubspotGetCompany" | "hubspotGetContact" | "hunterApiCompanyEnrichment" | "hunterApiDomainSearch" | "hunterApiEmailFinder" | "hunterApiEmailVerification" | "hunterApiPersonEnrichment" | "imageFaceSwap" | "imageRemoveWatermark" | "insertVideoClips" | "listDataSources" | "listGmailDrafts" | "listGmailLabels" | "listGoogleCalendarEvents" | "listGoogleDriveFiles" | "listRecentGmailEmails" | "logic" | "makeDotComRunScenario" | "mergeAudio" | "mergeVideos" | "meshyAnimate" | "meshyImageTo3d" | "meshyRemesh" | "meshyRig" | "meshyTextTo3d" | "meshyTexture" | "mixAudioIntoVideo" | "muteVideo" | "n8nRunNode" | "notionCreatePage" | "notionUpdatePage" | "peopleSearch" | "postToLinkedIn" | "postToSlackChannel" | "postToX" | "postToZapier" | "queryDataSource" | "queryExternalDatabase" | "quickbooksApiRequest" | "redactPII" | "removeBackgroundFromImage" | "replyToGmailEmail" | "resizeVideo" | "runFromConnectorRegistry" | "scrapeLinkedInCompany" | "scrapeLinkedInProfile" | "scrapeUrl" | "scrapeXPost" | "scrapeXProfile" | "screenshotUrl" | "searchGmailEmails" | "searchGoogle" | "searchGoogleCalendarEvents" | "searchGoogleDrive" | "searchGoogleImages" | "searchGoogleNews" | "searchGoogleTrends" | "searchPerplexity" | "searchXPosts" | "searchYoutube" | "searchYoutubeTrends" | "sendEmail" | "sendGmailDraft" | "sendGmailMessage" | "sendSlackDirectMessage" | "sendSMS" | "setGmailReadStatus" | "setRunTitle" | "setVariable" | "textToSpeech" | "transcribeAudio" | "trimMedia" | "updateGmailLabels" | "updateGoogleCalendarEvent" | "updateGoogleDoc" | "updateGoogleSheet" | "uploadDataSourceDocument" | "upscaleImage" | "upscaleVideo" | "userMessage" | "videoFaceSwap" | "videoRemoveBackground" | "videoRemoveWatermark" | "watermarkImage" | "watermarkVideo" | "youDotComFinanceResearch" | "youDotComGetPageContent" | "youDotComLiveNews" | "youDotComWebResearch" | "youDotComWebSearch";
|
|
8289
8300
|
/** Maps step names to their input types. */
|
|
8290
8301
|
interface StepInputMap {
|
|
8291
8302
|
activeCampaignAddNote: ActiveCampaignAddNoteStepInput;
|
|
@@ -8310,6 +8321,7 @@ interface StepInputMap {
|
|
|
8310
8321
|
createGoogleCalendarEvent: CreateGoogleCalendarEventStepInput;
|
|
8311
8322
|
createGoogleDoc: CreateGoogleDocStepInput;
|
|
8312
8323
|
createGoogleSheet: CreateGoogleSheetStepInput;
|
|
8324
|
+
decomposeImage: DecomposeImageStepInput;
|
|
8313
8325
|
deleteDataSource: DeleteDataSourceStepInput;
|
|
8314
8326
|
deleteDataSourceDocument: DeleteDataSourceDocumentStepInput;
|
|
8315
8327
|
deleteGmailEmail: DeleteGmailEmailStepInput;
|
|
@@ -8464,6 +8476,7 @@ interface StepOutputMap {
|
|
|
8464
8476
|
createGoogleCalendarEvent: CreateGoogleCalendarEventStepOutput;
|
|
8465
8477
|
createGoogleDoc: CreateGoogleDocStepOutput;
|
|
8466
8478
|
createGoogleSheet: CreateGoogleSheetStepOutput;
|
|
8479
|
+
decomposeImage: DecomposeImageStepOutput;
|
|
8467
8480
|
deleteDataSource: DeleteDataSourceStepOutput;
|
|
8468
8481
|
deleteDataSourceDocument: DeleteDataSourceDocumentStepOutput;
|
|
8469
8482
|
deleteGmailEmail: DeleteGmailEmailStepOutput;
|
|
@@ -8980,6 +8993,22 @@ interface StepMethods {
|
|
|
8980
8993
|
* ```
|
|
8981
8994
|
*/
|
|
8982
8995
|
createGoogleSheet(step: CreateGoogleSheetStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<CreateGoogleSheetStepOutput>>;
|
|
8996
|
+
/**
|
|
8997
|
+
* Split an image into a base image and transparent layers.
|
|
8998
|
+
*
|
|
8999
|
+
* @remarks
|
|
9000
|
+
* - Uses Seedream 5.0 Flash layer decomposition. There is no model picker.
|
|
9001
|
+
* - An optional prompt can name the objects or groupings to separate.
|
|
9002
|
+
* - The output is an array of hosted image URLs. PNG output keeps layer transparency.
|
|
9003
|
+
*
|
|
9004
|
+
* @example
|
|
9005
|
+
* ```typescript
|
|
9006
|
+
* const result = await agent.decomposeImage({
|
|
9007
|
+
* image: ``,
|
|
9008
|
+
* });
|
|
9009
|
+
* ```
|
|
9010
|
+
*/
|
|
9011
|
+
decomposeImage(step: DecomposeImageStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DecomposeImageStepOutput>>;
|
|
8983
9012
|
/**
|
|
8984
9013
|
* @deprecated Legacy v1 data sources. v2 apps should use `dataSources.defineDataSource()` from @mindstudio-ai/agent instead, which owns parsing, chunking, embedding and citations. Delete a vector data source from the current app.
|
|
8985
9014
|
*
|
|
@@ -11755,4 +11784,4 @@ declare const prerender: {
|
|
|
11755
11784
|
}>;
|
|
11756
11785
|
};
|
|
11757
11786
|
|
|
11758
|
-
export { type Accessor, type ActiveCampaignAddNoteStepInput, type ActiveCampaignAddNoteStepOutput, type ActiveCampaignCreateContactStepInput, type ActiveCampaignCreateContactStepOutput, type AddSubtitlesToVideoStepInput, type AddSubtitlesToVideoStepOutput, type AgentInfo, type AgentOptions, type AggregateRow, type AggregateSelect, type AggregateTerm, type AiSourceVendor, type AirtableCreateUpdateRecordStepInput, type AirtableCreateUpdateRecordStepOutput, type AirtableDeleteRecordStepInput, type AirtableDeleteRecordStepOutput, type AirtableGetRecordStepInput, type AirtableGetRecordStepOutput, type AirtableGetTableRecordsStepInput, type AirtableGetTableRecordsStepOutput, type Analytics, type AnalyticsDateRange, type AnalyticsDimension, type AnalyticsFilter, type AnalyticsFilterOp, type AnalyticsGranularity, type AnalyticsMetric, type AnalyticsQueryResponse, type AnalyticsQueryResultRow, type AnalyticsQuerySpec, type AnalyticsReadOptions, type AnalyzeImageStepInput, type AnalyzeImageStepOutput, type AnalyzeVideoStepInput, type AnalyzeVideoStepOutput, type AppAuthContext, type AppContextResult, type AppDatabase, type AppDatabaseColumnSchema, type AppDatabaseTable, type AppRoleAssignment, AuthContext, type AuthTableConfig, type BatchStepInput, type BatchStepResult, type Batchable, type CaptureThumbnailStepInput, type CaptureThumbnailStepOutput, type CheckAppRoleStepInput, type CheckAppRoleStepOutput, type CodaCreateUpdatePageStepInput, type CodaCreateUpdatePageStepOutput, type CodaCreateUpdateRowStepInput, type CodaCreateUpdateRowStepOutput, type CodaFindRowStepInput, type CodaFindRowStepOutput, type CodaGetPageStepInput, type CodaGetPageStepOutput, type CodaGetTableRowsStepInput, type CodaGetTableRowsStepOutput, type Connection, type ConnectorActionDetail, type ConnectorService, type ConvertPdfToImagesStepInput, type ConvertPdfToImagesStepOutput, type CrawlerBucket, type CrawlerHit, type CrawlerOverview, type CreateDataSourceStepInput, type CreateDataSourceStepOutput, type CreateGmailDraftStepInput, type CreateGmailDraftStepOutput, type CreateGoogleCalendarEventStepInput, type CreateGoogleCalendarEventStepOutput, type CreateGoogleDocStepInput, type CreateGoogleDocStepOutput, type CreateGoogleSheetStepInput, type CreateGoogleSheetStepOutput, type Db, type DefineStoreOptions, type DefineTableOptions, type DeleteDataSourceDocumentStepInput, type DeleteDataSourceDocumentStepOutput, type DeleteDataSourceStepInput, type DeleteDataSourceStepOutput, type DeleteGmailEmailStepInput, type DeleteGmailEmailStepOutput, type DeleteGoogleCalendarEventStepInput, type DeleteGoogleCalendarEventStepOutput, type DeleteGoogleSheetRowsStepInput, type DeleteGoogleSheetRowsStepOutput, type DetectChangesStepInput, type DetectChangesStepOutput, type DetectPIIStepInput, type DetectPIIStepOutput, type DownloadVideoStepInput, type DownloadVideoStepOutput, type EnhanceImageGenerationPromptStepInput, type EnhanceImageGenerationPromptStepOutput, type EnhanceVideoGenerationPromptStepInput, type EnhanceVideoGenerationPromptStepOutput, type EnrichPersonStepInput, type EnrichPersonStepOutput, type EventGrantOptions, type EventGrantResult, type Events, type ExecuteStepBatchOptions, type ExecuteStepBatchResult, type ExtractAudioFromVideoStepInput, type ExtractAudioFromVideoStepOutput, type ExtractTextStepInput, type ExtractTextStepOutput, type FetchDataSourceDocumentStepInput, type FetchDataSourceDocumentStepOutput, type FetchGoogleDocStepInput, type FetchGoogleDocStepOutput, type FetchGoogleSheetStepInput, type FetchGoogleSheetStepOutput, type FetchSlackChannelHistoryStepInput, type FetchSlackChannelHistoryStepOutput, type FetchYoutubeCaptionsStepInput, type FetchYoutubeCaptionsStepOutput, type FetchYoutubeChannelStepInput, type FetchYoutubeChannelStepOutput, type FetchYoutubeCommentsStepInput, type FetchYoutubeCommentsStepOutput, type FetchYoutubeVideoStepInput, type FetchYoutubeVideoStepOutput, type FileAccess, type Files, type FromSchema, type Generate3dModelStepInput, type Generate3dModelStepOutput, type GenerateAssetStepInput, type GenerateAssetStepOutput, type GenerateImageStepInput, type GenerateImageStepOutput, type GenerateLipsyncStepInput, type GenerateLipsyncStepOutput, type GenerateMusicStepInput, type GenerateMusicStepOutput, type GeneratePdfStepInput, type GeneratePdfStepOutput, type GenerateSoundStepInput, type GenerateSoundStepOutput, type GenerateStaticVideoFromImageStepInput, type GenerateStaticVideoFromImageStepOutput, type GenerateTextStepInput, type GenerateTextStepOutput, type GenerateVideoStepInput, type GenerateVideoStepOutput, type GetGmailAttachmentsStepInput, type GetGmailAttachmentsStepOutput, type GetGmailDraftStepInput, type GetGmailDraftStepOutput, type GetGmailEmailStepInput, type GetGmailEmailStepOutput, type GetGmailUnreadCountStepInput, type GetGmailUnreadCountStepOutput, type GetGoogleCalendarEventStepInput, type GetGoogleCalendarEventStepOutput, type GetGoogleDriveFileStepInput, type GetGoogleDriveFileStepOutput, type GetGoogleSheetInfoStepInput, type GetGoogleSheetInfoStepOutput, type GetMediaMetadataStepInput, type GetMediaMetadataStepOutput, type HubspotCreateCompanyStepInput, type HubspotCreateCompanyStepOutput, type HubspotCreateContactStepInput, type HubspotCreateContactStepOutput, type HubspotGetCompanyStepInput, type HubspotGetCompanyStepOutput, type HubspotGetContactStepInput, type HubspotGetContactStepOutput, type HunterApiCompanyEnrichmentStepInput, type HunterApiCompanyEnrichmentStepOutput, type HunterApiDomainSearchStepInput, type HunterApiDomainSearchStepOutput, type HunterApiEmailFinderStepInput, type HunterApiEmailFinderStepOutput, type HunterApiEmailVerificationStepInput, type HunterApiEmailVerificationStepOutput, type HunterApiPersonEnrichmentStepInput, type HunterApiPersonEnrichmentStepOutput, type ImageFaceSwapStepInput, type ImageFaceSwapStepOutput, type ImageRemoveWatermarkStepInput, type ImageRemoveWatermarkStepOutput, type InsertVideoClipsStepInput, type InsertVideoClipsStepOutput, type Jewel, type JewelConfig, type JewelGradeContext, type JewelMethod, type JewelMethodInput, type JewelPairRecord, type JewelProposal, type JewelProposeOutcome, type JewelProposeResult, type JewelQueueItem, type JewelQueueResolution, type JewelQueueResolveResult, type JewelRunParams, type JewelVerdict, type JewelsApi, type JsonObjectSchema, type JsonSchema, type JsonSchemaTypeName, type ListAgentsResult, type ListDataSourcesStepInput, type ListDataSourcesStepOutput, type ListGmailDraftsStepInput, type ListGmailDraftsStepOutput, type ListGmailLabelsStepInput, type ListGmailLabelsStepOutput, type ListGoogleCalendarEventsStepInput, type ListGoogleCalendarEventsStepOutput, type ListGoogleDriveFilesStepInput, type ListGoogleDriveFilesStepOutput, type ListOptions, type ListRecentGmailEmailsStepInput, type ListRecentGmailEmailsStepOutput, type LiveNow, type LogicStepInput, type LogicStepOutput, MAX_EVENT_PAYLOAD_CHARS, type MakeDotComRunScenarioStepInput, type MakeDotComRunScenarioStepOutput, type MapObject, type MapOutcome, type MapPoint, type MapRunObject, type MapRunOutcome, type MapRunParams, type MapRunRecord, type MapRunResult, type MappedDocument, type Mapper, type MapperConfig, type MergeAudioStepInput, type MergeAudioStepOutput, type MergeVideosStepInput, type MergeVideosStepOutput, type MeshyAnimateStepInput, type MeshyAnimateStepOutput, type MeshyImageTo3dStepInput, type MeshyImageTo3dStepOutput, type MeshyRemeshStepInput, type MeshyRemeshStepOutput, type MeshyRigStepInput, type MeshyRigStepOutput, type MeshyTextTo3dStepInput, type MeshyTextTo3dStepOutput, type MeshyTextureStepInput, type MeshyTextureStepOutput, MindStudioAgent, MindStudioError, type MindStudioModel, type MindStudioModelSummary, type MixAudioIntoVideoStepInput, type MixAudioIntoVideoStepOutput, type ModelType, type MonacoSnippet, type MonacoSnippetField, type MonacoSnippetFieldType, type MuteVideoStepInput, type MuteVideoStepOutput, type N8nRunNodeStepInput, type N8nRunNodeStepOutput, type NotionCreatePageStepInput, type NotionCreatePageStepOutput, type NotionUpdatePageStepInput, type NotionUpdatePageStepOutput, type PackagedWorkflow, type PackagedWorkflowInput, type PackagedWorkflowSignature, type PeopleSearchStepInput, type PeopleSearchStepOutput, type PostToLinkedInStepInput, type PostToLinkedInStepOutput, type PostToSlackChannelStepInput, type PostToSlackChannelStepOutput, type PostToXStepInput, type PostToXStepOutput, type PostToZapierStepInput, type PostToZapierStepOutput, type Predicate, type PushInput, type PutOptions, Query, type QueryDataSourceStepInput, type QueryDataSourceStepOutput, type QueryExternalDatabaseStepInput, type QueryExternalDatabaseStepOutput, type QuickbooksApiRequestStepInput, type QuickbooksApiRequestStepOutput, RawQuery, type RedactPIIStepInput, type RedactPIIStepOutput, type RemoveBackgroundFromImageStepInput, type RemoveBackgroundFromImageStepOutput, type ReplyToGmailEmailStepInput, type ReplyToGmailEmailStepOutput, type ReportIssueInput, type ReportedIssue, type RequestContext, type ResizeVideoStepInput, type ResizeVideoStepOutput, type ResolvedUser, Roles, type RunAgentOptions, type RunAgentResult, type RunFromConnectorRegistryStepInput, type RunFromConnectorRegistryStepOutput, type RunTaskOptions, type RunTaskOptionsWithExample, type RunTaskOptionsWithSchema, type RunTaskResult, type SchemaValidationError, type ScrapeLinkedInCompanyStepInput, type ScrapeLinkedInCompanyStepOutput, type ScrapeLinkedInProfileStepInput, type ScrapeLinkedInProfileStepOutput, type ScrapeUrlStepInput, type ScrapeUrlStepOutput, type ScrapeXPostStepInput, type ScrapeXPostStepOutput, type ScrapeXProfileStepInput, type ScrapeXProfileStepOutput, type ScreenshotUrlStepInput, type ScreenshotUrlStepOutput, type SearchGmailEmailsStepInput, type SearchGmailEmailsStepOutput, type SearchGoogleCalendarEventsStepInput, type SearchGoogleCalendarEventsStepOutput, type SearchGoogleDriveStepInput, type SearchGoogleDriveStepOutput, type SearchGoogleImagesStepInput, type SearchGoogleImagesStepOutput, type SearchGoogleNewsStepInput, type SearchGoogleNewsStepOutput, type SearchGoogleStepInput, type SearchGoogleStepOutput, type SearchGoogleTrendsStepInput, type SearchGoogleTrendsStepOutput, type SearchPerplexityStepInput, type SearchPerplexityStepOutput, type SearchXPostsStepInput, type SearchXPostsStepOutput, type SearchYoutubeStepInput, type SearchYoutubeStepOutput, type SearchYoutubeTrendsStepInput, type SearchYoutubeTrendsStepOutput, type SendEmailStepInput, type SendEmailStepOutput, type SendGmailDraftStepInput, type SendGmailDraftStepOutput, type SendGmailMessageStepInput, type SendGmailMessageStepOutput, type SendSMSStepInput, type SendSMSStepOutput, type SendSlackDirectMessageStepInput, type SendSlackDirectMessageStepOutput, type SessionContext, type SetGmailReadStatusStepInput, type SetGmailReadStatusStepOutput, type SetRunTitleStepInput, type SetRunTitleStepOutput, type SetVariableStepInput, type SetVariableStepOutput, type StepCostEstimateEntry, type StepExecutionMeta, type StepExecutionOptions, type StepExecutionResult, type StepInputMap, type StepLogEvent, type StepMetadata, type StepMethods, type StepName, type StepOutputMap, Store, type StoredFile, type SystemFields, Table, type TaskEvent, type TaskToolCall, type TaskToolConfig, type TaskUsage, type TextToSpeechStepInput, type TextToSpeechStepOutput, type TopSource, type TranscribeAudioStepInput, type TranscribeAudioStepOutput, type TrimMediaStepInput, type TrimMediaStepOutput, type UpdateGmailLabelsStepInput, type UpdateGmailLabelsStepOutput, type UpdateGoogleCalendarEventStepInput, type UpdateGoogleCalendarEventStepOutput, type UpdateGoogleDocStepInput, type UpdateGoogleDocStepOutput, type UpdateGoogleSheetStepInput, type UpdateGoogleSheetStepOutput, type UpdateInput, type UploadDataSourceDocumentStepInput, type UploadDataSourceDocumentStepOutput, type UploadFileResult, type UploadToken, type UpscaleImageStepInput, type UpscaleImageStepOutput, type UpscaleVideoStepInput, type UpscaleVideoStepOutput, type User, type UserInfoResult, type UserMessageStepInput, type UserMessageStepOutput, type VideoFaceSwapStepInput, type VideoFaceSwapStepOutput, type VideoRemoveBackgroundStepInput, type VideoRemoveBackgroundStepOutput, type VideoRemoveWatermarkStepInput, type VideoRemoveWatermarkStepOutput, type Voice, type VoiceCallResult, type WatermarkImageStepInput, type WatermarkImageStepOutput, type WatermarkVideoStepInput, type WatermarkVideoStepOutput, type YouDotComFinanceResearchStepInput, type YouDotComFinanceResearchStepOutput, type YouDotComGetPageContentStepInput, type YouDotComGetPageContentStepOutput, type YouDotComLiveNewsStepInput, type YouDotComLiveNewsStepOutput, type YouDotComWebResearchStepInput, type YouDotComWebResearchStepOutput, type YouDotComWebSearchStepInput, type YouDotComWebSearchStepOutput, analytics, auth, blockTypeAliases, dataSources, db, mindstudio as default, defineJewel, defineMapper, deletes, documents, email, events, files, getRequestContext, mindstudio, monacoSnippets, passthrough, prerender, reportIssue, resolveUser, runWithContext, session, skip, stepMetadata, stream, voice, waitUntil };
|
|
11787
|
+
export { type Accessor, type ActiveCampaignAddNoteStepInput, type ActiveCampaignAddNoteStepOutput, type ActiveCampaignCreateContactStepInput, type ActiveCampaignCreateContactStepOutput, type AddSubtitlesToVideoStepInput, type AddSubtitlesToVideoStepOutput, type AgentInfo, type AgentOptions, type AggregateRow, type AggregateSelect, type AggregateTerm, type AiSourceVendor, type AirtableCreateUpdateRecordStepInput, type AirtableCreateUpdateRecordStepOutput, type AirtableDeleteRecordStepInput, type AirtableDeleteRecordStepOutput, type AirtableGetRecordStepInput, type AirtableGetRecordStepOutput, type AirtableGetTableRecordsStepInput, type AirtableGetTableRecordsStepOutput, type Analytics, type AnalyticsDateRange, type AnalyticsDimension, type AnalyticsFilter, type AnalyticsFilterOp, type AnalyticsGranularity, type AnalyticsMetric, type AnalyticsQueryResponse, type AnalyticsQueryResultRow, type AnalyticsQuerySpec, type AnalyticsReadOptions, type AnalyzeImageStepInput, type AnalyzeImageStepOutput, type AnalyzeVideoStepInput, type AnalyzeVideoStepOutput, type AppAuthContext, type AppContextResult, type AppDatabase, type AppDatabaseColumnSchema, type AppDatabaseTable, type AppRoleAssignment, AuthContext, type AuthTableConfig, type BatchStepInput, type BatchStepResult, type Batchable, type CaptureThumbnailStepInput, type CaptureThumbnailStepOutput, type CheckAppRoleStepInput, type CheckAppRoleStepOutput, type CodaCreateUpdatePageStepInput, type CodaCreateUpdatePageStepOutput, type CodaCreateUpdateRowStepInput, type CodaCreateUpdateRowStepOutput, type CodaFindRowStepInput, type CodaFindRowStepOutput, type CodaGetPageStepInput, type CodaGetPageStepOutput, type CodaGetTableRowsStepInput, type CodaGetTableRowsStepOutput, type Connection, type ConnectorActionDetail, type ConnectorService, type ConvertPdfToImagesStepInput, type ConvertPdfToImagesStepOutput, type CrawlerBucket, type CrawlerHit, type CrawlerOverview, type CreateDataSourceStepInput, type CreateDataSourceStepOutput, type CreateGmailDraftStepInput, type CreateGmailDraftStepOutput, type CreateGoogleCalendarEventStepInput, type CreateGoogleCalendarEventStepOutput, type CreateGoogleDocStepInput, type CreateGoogleDocStepOutput, type CreateGoogleSheetStepInput, type CreateGoogleSheetStepOutput, type Db, type DecomposeImageStepInput, type DecomposeImageStepOutput, type DefineStoreOptions, type DefineTableOptions, type DeleteDataSourceDocumentStepInput, type DeleteDataSourceDocumentStepOutput, type DeleteDataSourceStepInput, type DeleteDataSourceStepOutput, type DeleteGmailEmailStepInput, type DeleteGmailEmailStepOutput, type DeleteGoogleCalendarEventStepInput, type DeleteGoogleCalendarEventStepOutput, type DeleteGoogleSheetRowsStepInput, type DeleteGoogleSheetRowsStepOutput, type DetectChangesStepInput, type DetectChangesStepOutput, type DetectPIIStepInput, type DetectPIIStepOutput, type DownloadVideoStepInput, type DownloadVideoStepOutput, type EnhanceImageGenerationPromptStepInput, type EnhanceImageGenerationPromptStepOutput, type EnhanceVideoGenerationPromptStepInput, type EnhanceVideoGenerationPromptStepOutput, type EnrichPersonStepInput, type EnrichPersonStepOutput, type EventGrantOptions, type EventGrantResult, type Events, type ExecuteStepBatchOptions, type ExecuteStepBatchResult, type ExtractAudioFromVideoStepInput, type ExtractAudioFromVideoStepOutput, type ExtractTextStepInput, type ExtractTextStepOutput, type FetchDataSourceDocumentStepInput, type FetchDataSourceDocumentStepOutput, type FetchGoogleDocStepInput, type FetchGoogleDocStepOutput, type FetchGoogleSheetStepInput, type FetchGoogleSheetStepOutput, type FetchSlackChannelHistoryStepInput, type FetchSlackChannelHistoryStepOutput, type FetchYoutubeCaptionsStepInput, type FetchYoutubeCaptionsStepOutput, type FetchYoutubeChannelStepInput, type FetchYoutubeChannelStepOutput, type FetchYoutubeCommentsStepInput, type FetchYoutubeCommentsStepOutput, type FetchYoutubeVideoStepInput, type FetchYoutubeVideoStepOutput, type FileAccess, type Files, type FromSchema, type Generate3dModelStepInput, type Generate3dModelStepOutput, type GenerateAssetStepInput, type GenerateAssetStepOutput, type GenerateImageStepInput, type GenerateImageStepOutput, type GenerateLipsyncStepInput, type GenerateLipsyncStepOutput, type GenerateMusicStepInput, type GenerateMusicStepOutput, type GeneratePdfStepInput, type GeneratePdfStepOutput, type GenerateSoundStepInput, type GenerateSoundStepOutput, type GenerateStaticVideoFromImageStepInput, type GenerateStaticVideoFromImageStepOutput, type GenerateTextStepInput, type GenerateTextStepOutput, type GenerateVideoStepInput, type GenerateVideoStepOutput, type GetGmailAttachmentsStepInput, type GetGmailAttachmentsStepOutput, type GetGmailDraftStepInput, type GetGmailDraftStepOutput, type GetGmailEmailStepInput, type GetGmailEmailStepOutput, type GetGmailUnreadCountStepInput, type GetGmailUnreadCountStepOutput, type GetGoogleCalendarEventStepInput, type GetGoogleCalendarEventStepOutput, type GetGoogleDriveFileStepInput, type GetGoogleDriveFileStepOutput, type GetGoogleSheetInfoStepInput, type GetGoogleSheetInfoStepOutput, type GetMediaMetadataStepInput, type GetMediaMetadataStepOutput, type HubspotCreateCompanyStepInput, type HubspotCreateCompanyStepOutput, type HubspotCreateContactStepInput, type HubspotCreateContactStepOutput, type HubspotGetCompanyStepInput, type HubspotGetCompanyStepOutput, type HubspotGetContactStepInput, type HubspotGetContactStepOutput, type HunterApiCompanyEnrichmentStepInput, type HunterApiCompanyEnrichmentStepOutput, type HunterApiDomainSearchStepInput, type HunterApiDomainSearchStepOutput, type HunterApiEmailFinderStepInput, type HunterApiEmailFinderStepOutput, type HunterApiEmailVerificationStepInput, type HunterApiEmailVerificationStepOutput, type HunterApiPersonEnrichmentStepInput, type HunterApiPersonEnrichmentStepOutput, type ImageFaceSwapStepInput, type ImageFaceSwapStepOutput, type ImageRemoveWatermarkStepInput, type ImageRemoveWatermarkStepOutput, type InsertVideoClipsStepInput, type InsertVideoClipsStepOutput, type Jewel, type JewelConfig, type JewelGradeContext, type JewelMethod, type JewelMethodInput, type JewelPairRecord, type JewelProposal, type JewelProposeOutcome, type JewelProposeResult, type JewelQueueItem, type JewelQueueResolution, type JewelQueueResolveResult, type JewelRunParams, type JewelVerdict, type JewelsApi, type JsonObjectSchema, type JsonSchema, type JsonSchemaTypeName, type ListAgentsResult, type ListDataSourcesStepInput, type ListDataSourcesStepOutput, type ListGmailDraftsStepInput, type ListGmailDraftsStepOutput, type ListGmailLabelsStepInput, type ListGmailLabelsStepOutput, type ListGoogleCalendarEventsStepInput, type ListGoogleCalendarEventsStepOutput, type ListGoogleDriveFilesStepInput, type ListGoogleDriveFilesStepOutput, type ListOptions, type ListRecentGmailEmailsStepInput, type ListRecentGmailEmailsStepOutput, type LiveNow, type LogicStepInput, type LogicStepOutput, MAX_EVENT_PAYLOAD_CHARS, type MakeDotComRunScenarioStepInput, type MakeDotComRunScenarioStepOutput, type MapObject, type MapOutcome, type MapPoint, type MapRunObject, type MapRunOutcome, type MapRunParams, type MapRunRecord, type MapRunResult, type MappedDocument, type Mapper, type MapperConfig, type MergeAudioStepInput, type MergeAudioStepOutput, type MergeVideosStepInput, type MergeVideosStepOutput, type MeshyAnimateStepInput, type MeshyAnimateStepOutput, type MeshyImageTo3dStepInput, type MeshyImageTo3dStepOutput, type MeshyRemeshStepInput, type MeshyRemeshStepOutput, type MeshyRigStepInput, type MeshyRigStepOutput, type MeshyTextTo3dStepInput, type MeshyTextTo3dStepOutput, type MeshyTextureStepInput, type MeshyTextureStepOutput, MindStudioAgent, MindStudioError, type MindStudioModel, type MindStudioModelSummary, type MixAudioIntoVideoStepInput, type MixAudioIntoVideoStepOutput, type ModelType, type MonacoSnippet, type MonacoSnippetField, type MonacoSnippetFieldType, type MuteVideoStepInput, type MuteVideoStepOutput, type N8nRunNodeStepInput, type N8nRunNodeStepOutput, type NotionCreatePageStepInput, type NotionCreatePageStepOutput, type NotionUpdatePageStepInput, type NotionUpdatePageStepOutput, type PackagedWorkflow, type PackagedWorkflowInput, type PackagedWorkflowSignature, type PeopleSearchStepInput, type PeopleSearchStepOutput, type PostToLinkedInStepInput, type PostToLinkedInStepOutput, type PostToSlackChannelStepInput, type PostToSlackChannelStepOutput, type PostToXStepInput, type PostToXStepOutput, type PostToZapierStepInput, type PostToZapierStepOutput, type Predicate, type PushInput, type PutOptions, Query, type QueryDataSourceStepInput, type QueryDataSourceStepOutput, type QueryExternalDatabaseStepInput, type QueryExternalDatabaseStepOutput, type QuickbooksApiRequestStepInput, type QuickbooksApiRequestStepOutput, RawQuery, type RedactPIIStepInput, type RedactPIIStepOutput, type RemoveBackgroundFromImageStepInput, type RemoveBackgroundFromImageStepOutput, type ReplyToGmailEmailStepInput, type ReplyToGmailEmailStepOutput, type ReportIssueInput, type ReportedIssue, type RequestContext, type ResizeVideoStepInput, type ResizeVideoStepOutput, type ResolvedUser, Roles, type RunAgentOptions, type RunAgentResult, type RunFromConnectorRegistryStepInput, type RunFromConnectorRegistryStepOutput, type RunTaskOptions, type RunTaskOptionsWithExample, type RunTaskOptionsWithSchema, type RunTaskResult, type SchemaValidationError, type ScrapeLinkedInCompanyStepInput, type ScrapeLinkedInCompanyStepOutput, type ScrapeLinkedInProfileStepInput, type ScrapeLinkedInProfileStepOutput, type ScrapeUrlStepInput, type ScrapeUrlStepOutput, type ScrapeXPostStepInput, type ScrapeXPostStepOutput, type ScrapeXProfileStepInput, type ScrapeXProfileStepOutput, type ScreenshotUrlStepInput, type ScreenshotUrlStepOutput, type SearchGmailEmailsStepInput, type SearchGmailEmailsStepOutput, type SearchGoogleCalendarEventsStepInput, type SearchGoogleCalendarEventsStepOutput, type SearchGoogleDriveStepInput, type SearchGoogleDriveStepOutput, type SearchGoogleImagesStepInput, type SearchGoogleImagesStepOutput, type SearchGoogleNewsStepInput, type SearchGoogleNewsStepOutput, type SearchGoogleStepInput, type SearchGoogleStepOutput, type SearchGoogleTrendsStepInput, type SearchGoogleTrendsStepOutput, type SearchPerplexityStepInput, type SearchPerplexityStepOutput, type SearchXPostsStepInput, type SearchXPostsStepOutput, type SearchYoutubeStepInput, type SearchYoutubeStepOutput, type SearchYoutubeTrendsStepInput, type SearchYoutubeTrendsStepOutput, type SendEmailStepInput, type SendEmailStepOutput, type SendGmailDraftStepInput, type SendGmailDraftStepOutput, type SendGmailMessageStepInput, type SendGmailMessageStepOutput, type SendSMSStepInput, type SendSMSStepOutput, type SendSlackDirectMessageStepInput, type SendSlackDirectMessageStepOutput, type SessionContext, type SetGmailReadStatusStepInput, type SetGmailReadStatusStepOutput, type SetRunTitleStepInput, type SetRunTitleStepOutput, type SetVariableStepInput, type SetVariableStepOutput, type StepCostEstimateEntry, type StepExecutionMeta, type StepExecutionOptions, type StepExecutionResult, type StepInputMap, type StepLogEvent, type StepMetadata, type StepMethods, type StepName, type StepOutputMap, Store, type StoredFile, type SystemFields, Table, type TaskEvent, type TaskToolCall, type TaskToolConfig, type TaskUsage, type TextToSpeechStepInput, type TextToSpeechStepOutput, type TopSource, type TranscribeAudioStepInput, type TranscribeAudioStepOutput, type TrimMediaStepInput, type TrimMediaStepOutput, type UpdateGmailLabelsStepInput, type UpdateGmailLabelsStepOutput, type UpdateGoogleCalendarEventStepInput, type UpdateGoogleCalendarEventStepOutput, type UpdateGoogleDocStepInput, type UpdateGoogleDocStepOutput, type UpdateGoogleSheetStepInput, type UpdateGoogleSheetStepOutput, type UpdateInput, type UploadDataSourceDocumentStepInput, type UploadDataSourceDocumentStepOutput, type UploadFileResult, type UploadToken, type UpscaleImageStepInput, type UpscaleImageStepOutput, type UpscaleVideoStepInput, type UpscaleVideoStepOutput, type User, type UserInfoResult, type UserMessageStepInput, type UserMessageStepOutput, type VideoFaceSwapStepInput, type VideoFaceSwapStepOutput, type VideoRemoveBackgroundStepInput, type VideoRemoveBackgroundStepOutput, type VideoRemoveWatermarkStepInput, type VideoRemoveWatermarkStepOutput, type Voice, type VoiceCallResult, type WatermarkImageStepInput, type WatermarkImageStepOutput, type WatermarkVideoStepInput, type WatermarkVideoStepOutput, type YouDotComFinanceResearchStepInput, type YouDotComFinanceResearchStepOutput, type YouDotComGetPageContentStepInput, type YouDotComGetPageContentStepOutput, type YouDotComLiveNewsStepInput, type YouDotComLiveNewsStepOutput, type YouDotComWebResearchStepInput, type YouDotComWebResearchStepOutput, type YouDotComWebSearchStepInput, type YouDotComWebSearchStepOutput, analytics, auth, blockTypeAliases, dataSources, db, mindstudio as default, defineJewel, defineMapper, deletes, documents, email, events, files, getRequestContext, mindstudio, monacoSnippets, passthrough, prerender, reportIssue, resolveUser, runWithContext, session, skip, stepMetadata, stream, voice, waitUntil };
|
package/dist/index.js
CHANGED
|
@@ -6,6 +6,9 @@ var MindStudioError = class extends Error {
|
|
|
6
6
|
this.status = status;
|
|
7
7
|
this.details = details;
|
|
8
8
|
}
|
|
9
|
+
code;
|
|
10
|
+
status;
|
|
11
|
+
details;
|
|
9
12
|
name = "MindStudioError";
|
|
10
13
|
toString() {
|
|
11
14
|
return `MindStudioError [${this.code}] (${this.status}): ${this.message}`;
|
|
@@ -64,7 +67,7 @@ async function requestWithRetry(config, method, url, body, attempt) {
|
|
|
64
67
|
message = JSON.stringify(body2.error ?? body2.message ?? body2.details);
|
|
65
68
|
}
|
|
66
69
|
if (body2.code) {
|
|
67
|
-
code =
|
|
70
|
+
code = typeof body2.code === "string" ? body2.code : JSON.stringify(body2.code);
|
|
68
71
|
} else if (typeof body2.errorString === "string") {
|
|
69
72
|
code = body2.errorString;
|
|
70
73
|
}
|
|
@@ -120,6 +123,7 @@ var DbWsTransportError = class extends Error {
|
|
|
120
123
|
super(message);
|
|
121
124
|
this.sent = sent;
|
|
122
125
|
}
|
|
126
|
+
sent;
|
|
123
127
|
name = "DbWsTransportError";
|
|
124
128
|
};
|
|
125
129
|
function isReadOnlySql(sql) {
|
|
@@ -399,6 +403,7 @@ var RateLimiter = class {
|
|
|
399
403
|
this.concurrencyLimit = DEFAULTS[authType].concurrency;
|
|
400
404
|
this.callCap = DEFAULTS[authType].callCap;
|
|
401
405
|
}
|
|
406
|
+
authType;
|
|
402
407
|
inflight = 0;
|
|
403
408
|
concurrencyLimit;
|
|
404
409
|
callCount = 0;
|
|
@@ -1006,6 +1011,11 @@ var Parser = class {
|
|
|
1006
1011
|
this.bindingsValue = bindingsValue;
|
|
1007
1012
|
this.originalFn = originalFn;
|
|
1008
1013
|
}
|
|
1014
|
+
tokens;
|
|
1015
|
+
paramName;
|
|
1016
|
+
bindingsName;
|
|
1017
|
+
bindingsValue;
|
|
1018
|
+
originalFn;
|
|
1009
1019
|
pos = 0;
|
|
1010
1020
|
/** Peek at the current token without consuming it. */
|
|
1011
1021
|
peek() {
|
|
@@ -1838,9 +1848,7 @@ var Query = class _Query {
|
|
|
1838
1848
|
});
|
|
1839
1849
|
}
|
|
1840
1850
|
aggregate(spec) {
|
|
1841
|
-
const normalized = normalizeAggregateSpec(
|
|
1842
|
-
spec
|
|
1843
|
-
);
|
|
1851
|
+
const normalized = normalizeAggregateSpec(spec);
|
|
1844
1852
|
return this._clone({
|
|
1845
1853
|
aggregate: { kind: "grouped", spec: normalized },
|
|
1846
1854
|
postProcess: (rows) => computeAggregateInJs(rows, normalized)
|
|
@@ -2408,11 +2416,7 @@ var Table = class {
|
|
|
2408
2416
|
);
|
|
2409
2417
|
});
|
|
2410
2418
|
const result = isArray ? rows : rows[0];
|
|
2411
|
-
this._syncRolesIfNeeded(
|
|
2412
|
-
items,
|
|
2413
|
-
result,
|
|
2414
|
-
isArray
|
|
2415
|
-
);
|
|
2419
|
+
this._syncRolesIfNeeded(items, result, isArray);
|
|
2416
2420
|
return result;
|
|
2417
2421
|
});
|
|
2418
2422
|
}
|
|
@@ -2471,10 +2475,7 @@ var Table = class {
|
|
|
2471
2475
|
const allQuery = buildSelect(this._config.tableName);
|
|
2472
2476
|
const allResults = await this._config.executeBatch([allQuery]);
|
|
2473
2477
|
const allRows = allResults[0].rows.map(
|
|
2474
|
-
(r) => deserializeRow(
|
|
2475
|
-
r,
|
|
2476
|
-
this._config.columns
|
|
2477
|
-
)
|
|
2478
|
+
(r) => deserializeRow(r, this._config.columns)
|
|
2478
2479
|
);
|
|
2479
2480
|
const matching = allRows.filter((row) => predicate(row, bindings));
|
|
2480
2481
|
if (matching.length === 0) {
|
|
@@ -2864,6 +2865,10 @@ function resolveTable(databases, tableName, databaseHint) {
|
|
|
2864
2865
|
|
|
2865
2866
|
// src/files/store.ts
|
|
2866
2867
|
import { createHash, randomUUID } from "crypto";
|
|
2868
|
+
function fileUrl(access, store, key) {
|
|
2869
|
+
const path = key.split("/").map(encodeURIComponent).join("/");
|
|
2870
|
+
return `/_/files/${access}/${store}/${path}`;
|
|
2871
|
+
}
|
|
2867
2872
|
function toBase64(content) {
|
|
2868
2873
|
return Buffer.from(
|
|
2869
2874
|
typeof content === "string" ? Buffer.from(content) : content
|
|
@@ -2884,6 +2889,10 @@ var Store = class {
|
|
|
2884
2889
|
this._call = _call;
|
|
2885
2890
|
this._policy = _policy;
|
|
2886
2891
|
}
|
|
2892
|
+
_store;
|
|
2893
|
+
_access;
|
|
2894
|
+
_call;
|
|
2895
|
+
_policy;
|
|
2887
2896
|
/** The store's name. */
|
|
2888
2897
|
get name() {
|
|
2889
2898
|
return this._store;
|
|
@@ -3077,7 +3086,7 @@ var Store = class {
|
|
|
3077
3086
|
});
|
|
3078
3087
|
return {
|
|
3079
3088
|
key,
|
|
3080
|
-
url:
|
|
3089
|
+
url: fileUrl(this._access, this._store, key),
|
|
3081
3090
|
upload: { url: res.uploadUrl, fields: res.uploadFields }
|
|
3082
3091
|
};
|
|
3083
3092
|
}
|
|
@@ -3089,7 +3098,7 @@ var Store = class {
|
|
|
3089
3098
|
store,
|
|
3090
3099
|
key,
|
|
3091
3100
|
access,
|
|
3092
|
-
url:
|
|
3101
|
+
url: fileUrl(access, store, key),
|
|
3093
3102
|
...typeof meta?.size === "number" ? { size: meta.size } : {},
|
|
3094
3103
|
...meta?.contentType ? { contentType: meta.contentType } : {},
|
|
3095
3104
|
...meta?.updatedAt ? { updatedAt: meta.updatedAt } : {},
|
|
@@ -3126,6 +3135,8 @@ var DataSource = class {
|
|
|
3126
3135
|
this._slug = _slug;
|
|
3127
3136
|
this._call = _call;
|
|
3128
3137
|
}
|
|
3138
|
+
_slug;
|
|
3139
|
+
_call;
|
|
3129
3140
|
get name() {
|
|
3130
3141
|
return this._slug;
|
|
3131
3142
|
}
|
|
@@ -3758,6 +3769,13 @@ var stepMetadata = {
|
|
|
3758
3769
|
inputSchema: { "type": "object", "properties": { "title": { "type": "string", "description": "Title for the new spreadsheet" }, "text": { "type": "string", "description": "CSV data to populate the sheet with" }, "connectionId": { "type": "string", "description": "Google OAuth connection ID" } }, "required": ["title", "text"] },
|
|
3759
3770
|
outputSchema: { "type": "object", "properties": { "spreadsheetUrl": { "type": "string", "description": "URL of the newly created Google Spreadsheet" } }, "required": ["spreadsheetUrl"] }
|
|
3760
3771
|
},
|
|
3772
|
+
"decomposeImage": {
|
|
3773
|
+
stepType: "decomposeImage",
|
|
3774
|
+
description: "Split an image into a base image and transparent layers.",
|
|
3775
|
+
usageNotes: "- Uses Seedream 5.0 Flash layer decomposition. There is no model picker.\n- An optional prompt can name the objects or groupings to separate.\n- The output is an array of hosted image URLs. PNG output keeps layer transparency.",
|
|
3776
|
+
inputSchema: { "type": "object", "properties": { "image": { "type": "string", "description": "Image to split into a base image and transparent layers" }, "prompt": { "type": "string", "description": "Optional guidance for which objects or groupings to separate" }, "intermediateAsset": { "type": "boolean", "description": "When true, assets are created but hidden from the user's gallery" } }, "required": ["image"] },
|
|
3777
|
+
outputSchema: { "type": "object", "properties": { "imageUrls": { "type": "array", "items": { "type": "string" } } }, "required": ["imageUrls"] }
|
|
3778
|
+
},
|
|
3761
3779
|
"deleteDataSource": {
|
|
3762
3780
|
stepType: "deleteDataSource",
|
|
3763
3781
|
description: "Legacy v1 data sources. v2 apps should use `dataSources.defineDataSource()` from @mindstudio-ai/agent instead, which owns parsing, chunking, embedding and citations. Delete a vector data source from the current app.",
|
|
@@ -4386,22 +4404,22 @@ var stepMetadata = {
|
|
|
4386
4404
|
stepType: "scrapeUrl",
|
|
4387
4405
|
description: "Extract text, HTML, or structured content from one or more web pages.",
|
|
4388
4406
|
usageNotes: '- Accepts a single URL or multiple URLs (as a JSON array, comma-separated, or newline-separated).\n- Output format controls the result shape: "text" returns markdown, "html" returns raw HTML, "json" returns structured scraper data, "summary" returns a model-written summary and requires the "firecrawl" service.\n- Can optionally capture a screenshot of each page. Screenshots go to the public CDN by default, or into one of the app\'s own file stores when the call passes `store`.\n- Handles bot protection automatically; no proxy or rendering configuration is needed.',
|
|
4389
|
-
inputSchema: { "type": "object", "properties": { "url": { "type": "string", "description": "URL(s) to scrape. Accepts a single URL, JSON array, or comma/newline-separated list" }, "service": { "enum": ["default", "firecrawl"], "type": "string", "description": "Scraping service to use" }, "autoEnhance": { "type": "boolean", "description": "No longer selects a provider \u2014 the default service's anti-bot engine decides per request how hard to work. Retained because existing workflows set it and the builder still renders it." }, "outputFormat": { "enum": ["text", "json", "html", "summary"], "type": "string", "description": "Output format: text returns markdown, html returns raw HTML, json returns structured scraper data, summary returns a model-written summary (Firecrawl only)" }, "pageOptions": { "type": "object", "properties": { "onlyMainContent": { "type": "boolean", "description": "Whether to extract only the main content of the page, excluding navigation, footers, etc." }, "screenshot": { "type": "boolean", "description": "Whether to capture a screenshot of the page" }, "waitFor": { "type": "number", "description": "Milliseconds to wait before scraping (0 for immediate)" }, "replaceAllPathsWithAbsolutePaths": { "type": "boolean", "description": "Whether to convert relative URLs to absolute URLs in the result" }, "headers": { "type": "object", "properties": {}, "required": [], "description": "Custom HTTP request headers as key-value pairs" }, "removeTags": { "type": "array", "items": { "type": "string" }, "description": "HTML tags to remove from the scraped result" }, "mobile": { "type": "boolean", "description": "Whether to scrape using a mobile user-agent" } }, "required": ["onlyMainContent", "screenshot", "waitFor", "replaceAllPathsWithAbsolutePaths", "headers", "removeTags", "mobile"], "description": "Page-level scraping options (content filtering, screenshots, headers, etc.)" } }, "required": ["url"] },
|
|
4390
|
-
outputSchema: { "type": "object", "properties": { "content": { "anyOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }, { "type": "object", "properties": { "text": { "type": "string", "description": "Markdown/plain-text content of the scraped page" }, "html": { "type": "string", "description": "Raw HTML content of the scraped page" }, "json": { "type": "object", "properties": {}, "required": [], "description": "Structured data extracted from the page" }, "screenshotUrl": { "type": "string", "description": "Screenshot URL of the page (if requested)" }, "metadata": { "type": "object", "properties": { "title": { "type": "string", "description": "Page title" }, "description": { "type": "string", "description": "Page meta description" }, "url": { "type": "string", "description": "Canonical URL" }, "image": { "type": "string", "description": "Open Graph image URL" } }, "required": ["title", "description", "url", "image"], "description": "Page metadata (Open Graph / meta tags)" }, "error": { "type": "object", "properties": { "code": { "type": "string" }, "message": { "type": "string" } }, "required": ["code", "message"], "description": "Set when the scrape failed. `text`/`html` still carry the human-readable error
|
|
4407
|
+
inputSchema: { "type": "object", "properties": { "url": { "type": "string", "description": "URL(s) to scrape. Accepts a single URL, JSON array, or comma/newline-separated list" }, "service": { "enum": ["default", "firecrawl"], "type": "string", "description": "Scraping service to use" }, "autoEnhance": { "type": "boolean", "description": "No longer selects a provider \u2014 the default service's anti-bot engine decides per request how hard to work. Retained because existing workflows set it and the builder still renders it." }, "outputFormat": { "enum": ["text", "json", "html", "summary"], "type": "string", "description": "Output format: text returns markdown, html returns raw HTML, json returns structured scraper data, summary returns a model-written summary (Firecrawl only)" }, "pageOptions": { "type": "object", "properties": { "onlyMainContent": { "type": "boolean", "description": "Whether to extract only the main content of the page, excluding navigation, footers, etc. Firecrawl only." }, "screenshot": { "type": "boolean", "description": "Whether to capture a screenshot of the page" }, "waitFor": { "type": "number", "description": "Milliseconds to wait before scraping (0 for immediate)" }, "replaceAllPathsWithAbsolutePaths": { "type": "boolean", "description": "Whether to convert relative URLs to absolute URLs in the result" }, "headers": { "type": "object", "properties": {}, "required": [], "description": "Custom HTTP request headers as key-value pairs" }, "removeTags": { "type": "array", "items": { "type": "string" }, "description": "HTML tags to remove from the scraped result. Firecrawl only." }, "mobile": { "type": "boolean", "description": "Whether to scrape using a mobile user-agent. Firecrawl only." } }, "required": ["onlyMainContent", "screenshot", "waitFor", "replaceAllPathsWithAbsolutePaths", "headers", "removeTags", "mobile"], "description": "Page-level scraping options (content filtering, screenshots, headers, etc.)" } }, "required": ["url"] },
|
|
4408
|
+
outputSchema: { "type": "object", "properties": { "content": { "anyOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }, { "type": "object", "properties": { "text": { "type": "string", "description": "Markdown/plain-text content of the scraped page" }, "html": { "type": "string", "description": "Raw HTML content of the scraped page" }, "json": { "type": "object", "properties": {}, "required": [], "description": "Structured data extracted from the page" }, "screenshotUrl": { "type": "string", "description": "Screenshot URL of the page (if requested)" }, "metadata": { "type": "object", "properties": { "title": { "type": "string", "description": "Page title" }, "description": { "type": "string", "description": "Page meta description" }, "url": { "type": "string", "description": "Canonical URL" }, "image": { "type": "string", "description": "Open Graph image URL" } }, "required": ["title", "description", "url", "image"], "description": "Page metadata (Open Graph / meta tags)" }, "error": { "type": "object", "properties": { "code": { "type": "string" }, "message": { "type": "string" } }, "required": ["code", "message"], "description": "Set when the scrape failed. `text`/`html` still carry the human-readable error for callers that only read those, and callers that care \u2014 billing, in particular \u2014 can tell a failure from real page content." }, "costUnits": { "type": "number", "description": "What the provider actually charged, when it tells us. Scrapfly returns an exact per-request credit total that varies with how hard the target fought back (6 for an unprotected page, 80 for Glassdoor), so billing a flat rate would either overcharge the easy case or eat the hard one. Providers that report nothing leave this undefined and fall back to the route's estimate.\n\nIncludes every attempt made on the caller's behalf, not just the last one." } }, "required": ["text", "html"] }, { "type": "array", "items": { "type": "object", "properties": { "text": { "type": "string", "description": "Markdown/plain-text content of the scraped page" }, "html": { "type": "string", "description": "Raw HTML content of the scraped page" }, "json": { "type": "object", "properties": {}, "required": [], "description": "Structured data extracted from the page" }, "screenshotUrl": { "type": "string", "description": "Screenshot URL of the page (if requested)" }, "metadata": { "type": "object", "properties": { "title": { "type": "string", "description": "Page title" }, "description": { "type": "string", "description": "Page meta description" }, "url": { "type": "string", "description": "Canonical URL" }, "image": { "type": "string", "description": "Open Graph image URL" } }, "required": ["title", "description", "url", "image"], "description": "Page metadata (Open Graph / meta tags)" }, "error": { "type": "object", "properties": { "code": { "type": "string" }, "message": { "type": "string" } }, "required": ["code", "message"], "description": "Set when the scrape failed. `text`/`html` still carry the human-readable error for callers that only read those, and callers that care \u2014 billing, in particular \u2014 can tell a failure from real page content." }, "costUnits": { "type": "number", "description": "What the provider actually charged, when it tells us. Scrapfly returns an exact per-request credit total that varies with how hard the target fought back (6 for an unprotected page, 80 for Glassdoor), so billing a flat rate would either overcharge the easy case or eat the hard one. Providers that report nothing leave this undefined and fall back to the route's estimate.\n\nIncludes every attempt made on the caller's behalf, not just the last one." } }, "required": ["text", "html"] } }] }, "screenshot": { "anyOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }] } }, "required": ["content"] }
|
|
4391
4409
|
},
|
|
4392
4410
|
"scrapeXPost": {
|
|
4393
4411
|
stepType: "scrapeXPost",
|
|
4394
4412
|
description: "Scrape data from a single X (Twitter) post by URL.",
|
|
4395
4413
|
usageNotes: "- Returns structured post data (text, html, optional json/screenshot/metadata).\n- Optionally saves the text content to a variable.",
|
|
4396
4414
|
inputSchema: { "type": "object", "properties": { "url": { "type": "string", "description": "Full URL to the X post (e.g. https://x.com/elonmusk/status/1655608985058267139)" } }, "required": ["url"] },
|
|
4397
|
-
outputSchema: { "type": "object", "properties": { "post": { "type": "object", "properties": { "text": { "type": "string", "description": "Markdown/plain-text content of the scraped page" }, "html": { "type": "string", "description": "Raw HTML content of the scraped page" }, "json": { "type": "object", "properties": {}, "required": [], "description": "Structured data extracted from the page" }, "screenshotUrl": { "type": "string", "description": "Screenshot URL of the page (if requested)" }, "metadata": { "type": "object", "properties": { "title": { "type": "string", "description": "Page title" }, "description": { "type": "string", "description": "Page meta description" }, "url": { "type": "string", "description": "Canonical URL" }, "image": { "type": "string", "description": "Open Graph image URL" } }, "required": ["title", "description", "url", "image"], "description": "Page metadata (Open Graph / meta tags)" }, "error": { "type": "object", "properties": { "code": { "type": "string" }, "message": { "type": "string" } }, "required": ["code", "message"], "description": "Set when the scrape failed. `text`/`html` still carry the human-readable error
|
|
4415
|
+
outputSchema: { "type": "object", "properties": { "post": { "type": "object", "properties": { "text": { "type": "string", "description": "Markdown/plain-text content of the scraped page" }, "html": { "type": "string", "description": "Raw HTML content of the scraped page" }, "json": { "type": "object", "properties": {}, "required": [], "description": "Structured data extracted from the page" }, "screenshotUrl": { "type": "string", "description": "Screenshot URL of the page (if requested)" }, "metadata": { "type": "object", "properties": { "title": { "type": "string", "description": "Page title" }, "description": { "type": "string", "description": "Page meta description" }, "url": { "type": "string", "description": "Canonical URL" }, "image": { "type": "string", "description": "Open Graph image URL" } }, "required": ["title", "description", "url", "image"], "description": "Page metadata (Open Graph / meta tags)" }, "error": { "type": "object", "properties": { "code": { "type": "string" }, "message": { "type": "string" } }, "required": ["code", "message"], "description": "Set when the scrape failed. `text`/`html` still carry the human-readable error for callers that only read those, and callers that care \u2014 billing, in particular \u2014 can tell a failure from real page content." }, "costUnits": { "type": "number", "description": "What the provider actually charged, when it tells us. Scrapfly returns an exact per-request credit total that varies with how hard the target fought back (6 for an unprotected page, 80 for Glassdoor), so billing a flat rate would either overcharge the easy case or eat the hard one. Providers that report nothing leave this undefined and fall back to the route's estimate.\n\nIncludes every attempt made on the caller's behalf, not just the last one." } }, "required": ["text", "html"], "description": "Scraped post data including text, HTML, and optional structured JSON" } }, "required": ["post"] }
|
|
4398
4416
|
},
|
|
4399
4417
|
"scrapeXProfile": {
|
|
4400
4418
|
stepType: "scrapeXProfile",
|
|
4401
4419
|
description: "Scrape public profile data from an X (Twitter) account by URL.",
|
|
4402
4420
|
usageNotes: "- Returns structured profile data.\n- Optionally saves the result to a variable.",
|
|
4403
4421
|
inputSchema: { "type": "object", "properties": { "url": { "type": "string", "description": "Full URL or username for the X profile (e.g. https://x.com/elonmusk)" } }, "required": ["url"] },
|
|
4404
|
-
outputSchema: { "type": "object", "properties": { "profile": { "type": "object", "properties": { "text": { "type": "string", "description": "Markdown/plain-text content of the scraped page" }, "html": { "type": "string", "description": "Raw HTML content of the scraped page" }, "json": { "type": "object", "properties": {}, "required": [], "description": "Structured data extracted from the page" }, "screenshotUrl": { "type": "string", "description": "Screenshot URL of the page (if requested)" }, "metadata": { "type": "object", "properties": { "title": { "type": "string", "description": "Page title" }, "description": { "type": "string", "description": "Page meta description" }, "url": { "type": "string", "description": "Canonical URL" }, "image": { "type": "string", "description": "Open Graph image URL" } }, "required": ["title", "description", "url", "image"], "description": "Page metadata (Open Graph / meta tags)" }, "error": { "type": "object", "properties": { "code": { "type": "string" }, "message": { "type": "string" } }, "required": ["code", "message"], "description": "Set when the scrape failed. `text`/`html` still carry the human-readable error
|
|
4422
|
+
outputSchema: { "type": "object", "properties": { "profile": { "type": "object", "properties": { "text": { "type": "string", "description": "Markdown/plain-text content of the scraped page" }, "html": { "type": "string", "description": "Raw HTML content of the scraped page" }, "json": { "type": "object", "properties": {}, "required": [], "description": "Structured data extracted from the page" }, "screenshotUrl": { "type": "string", "description": "Screenshot URL of the page (if requested)" }, "metadata": { "type": "object", "properties": { "title": { "type": "string", "description": "Page title" }, "description": { "type": "string", "description": "Page meta description" }, "url": { "type": "string", "description": "Canonical URL" }, "image": { "type": "string", "description": "Open Graph image URL" } }, "required": ["title", "description", "url", "image"], "description": "Page metadata (Open Graph / meta tags)" }, "error": { "type": "object", "properties": { "code": { "type": "string" }, "message": { "type": "string" } }, "required": ["code", "message"], "description": "Set when the scrape failed. `text`/`html` still carry the human-readable error for callers that only read those, and callers that care \u2014 billing, in particular \u2014 can tell a failure from real page content." }, "costUnits": { "type": "number", "description": "What the provider actually charged, when it tells us. Scrapfly returns an exact per-request credit total that varies with how hard the target fought back (6 for an unprotected page, 80 for Glassdoor), so billing a flat rate would either overcharge the easy case or eat the hard one. Providers that report nothing leave this undefined and fall back to the route's estimate.\n\nIncludes every attempt made on the caller's behalf, not just the last one." } }, "required": ["text", "html"], "description": "Scraped profile data including text, HTML, and optional structured JSON" } }, "required": ["profile"] }
|
|
4405
4423
|
},
|
|
4406
4424
|
"screenshotUrl": {
|
|
4407
4425
|
stepType: "screenshotUrl",
|
|
@@ -5204,6 +5222,10 @@ var TurnError = class extends Error {
|
|
|
5204
5222
|
this.status = status;
|
|
5205
5223
|
this.errorCode = errorCode;
|
|
5206
5224
|
}
|
|
5225
|
+
retryable;
|
|
5226
|
+
phase;
|
|
5227
|
+
status;
|
|
5228
|
+
errorCode;
|
|
5207
5229
|
};
|
|
5208
5230
|
async function attemptTurn(httpConfig, body) {
|
|
5209
5231
|
const url = `${httpConfig.baseUrl}/developer/v2/task/turn`;
|
|
@@ -5748,6 +5770,9 @@ function applyStepMethods(AgentClass) {
|
|
|
5748
5770
|
proto.createGoogleSheet = function(step, options) {
|
|
5749
5771
|
return this.executeStep("createGoogleSheet", step, options);
|
|
5750
5772
|
};
|
|
5773
|
+
proto.decomposeImage = function(step, options) {
|
|
5774
|
+
return this.executeStep("decomposeImage", step, options);
|
|
5775
|
+
};
|
|
5751
5776
|
proto.deleteDataSource = function(step, options) {
|
|
5752
5777
|
return this.executeStep("deleteDataSource", step, options);
|
|
5753
5778
|
};
|
|
@@ -7620,7 +7645,7 @@ var MindStudioAgent = class {
|
|
|
7620
7645
|
`[mindstudio] Role sync failed for user ${userId} (${res.status}${text ? ": " + text.slice(0, 100) : ""}). Roles were saved to the database but may not be reflected in auth.hasRole() until the next successful write.`
|
|
7621
7646
|
);
|
|
7622
7647
|
}
|
|
7623
|
-
} catch
|
|
7648
|
+
} catch {
|
|
7624
7649
|
console.warn(
|
|
7625
7650
|
`[mindstudio] Role sync failed for user ${userId}: network error. Roles were saved to the database but may not be reflected in auth.hasRole() until the next successful write.`
|
|
7626
7651
|
);
|
|
@@ -7688,7 +7713,7 @@ var MindStudioAgent = class {
|
|
|
7688
7713
|
// Raw SQL — validate synchronously; database resolution needs context,
|
|
7689
7714
|
// so it happens inside the executeBatch closure at execution time
|
|
7690
7715
|
// (the same deferral lazy defineTable uses).
|
|
7691
|
-
sql: (
|
|
7716
|
+
sql: (query, params, options) => {
|
|
7692
7717
|
validateRawSql(query);
|
|
7693
7718
|
return new RawQuery(
|
|
7694
7719
|
"",
|
|
@@ -7702,7 +7727,7 @@ var MindStudioAgent = class {
|
|
|
7702
7727
|
},
|
|
7703
7728
|
{ sql: query, params: params?.map(serializeParam) }
|
|
7704
7729
|
);
|
|
7705
|
-
}
|
|
7730
|
+
},
|
|
7706
7731
|
// Batch needs context — hydrate first, then delegate to real db
|
|
7707
7732
|
batch: ((...queries) => {
|
|
7708
7733
|
return (async () => {
|
|
@@ -8345,6 +8370,7 @@ var monacoSnippets = {
|
|
|
8345
8370
|
"createGoogleCalendarEvent": { fields: [["summary", "string"], ["startDateTime", "string"], ["endDateTime", "string"]], outputKeys: ["eventId", "htmlLink"] },
|
|
8346
8371
|
"createGoogleDoc": { fields: [["title", "string"], ["text", "string"], ["textType", ["plain", "html", "markdown"]]], outputKeys: ["documentUrl"] },
|
|
8347
8372
|
"createGoogleSheet": { fields: [["title", "string"], ["text", "string"]], outputKeys: ["spreadsheetUrl"] },
|
|
8373
|
+
"decomposeImage": { fields: [["image", "string"]], outputKeys: ["imageUrls"] },
|
|
8348
8374
|
"deleteDataSource": { fields: [["dataSourceId", "string"]], outputKeys: [] },
|
|
8349
8375
|
"deleteDataSourceDocument": { fields: [["dataSourceId", "string"], ["documentId", "string"]], outputKeys: [] },
|
|
8350
8376
|
"deleteGmailEmail": { fields: [["messageId", "string"]], outputKeys: [] },
|
|
@@ -8486,7 +8512,7 @@ var blockTypeAliases = {
|
|
|
8486
8512
|
var MindStudioAgent2 = MindStudioAgent;
|
|
8487
8513
|
var _default;
|
|
8488
8514
|
var mindstudio = new Proxy({}, {
|
|
8489
|
-
get(_, prop
|
|
8515
|
+
get(_, prop) {
|
|
8490
8516
|
_default ??= new MindStudioAgent2();
|
|
8491
8517
|
const value = Reflect.get(_default, prop, _default);
|
|
8492
8518
|
return typeof value === "function" ? value.bind(_default) : value;
|