@mindstudio-ai/agent 0.0.19 → 0.0.20
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 +51 -7
- package/dist/index.d.ts +242 -8
- package/dist/index.js +51 -3
- package/dist/index.js.map +1 -1
- package/llms.txt +47 -5
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -194,6 +194,13 @@ var init_metadata = __esm({
|
|
|
194
194
|
inputSchema: { "type": "object", "properties": { "documentId": { "type": "string", "description": "Google Spreadsheet ID or URL" }, "sheetName": { "type": "string", "description": "Sheet/tab name (defaults to first sheet)" }, "startRow": { "type": "string", "description": "First row to delete (1-based, inclusive)" }, "endRow": { "type": "string", "description": "Last row to delete (1-based, inclusive)" }, "connectionId": { "type": "string", "description": "Google OAuth connection ID" } }, "required": ["documentId", "startRow", "endRow"] },
|
|
195
195
|
outputSchema: { "description": "This step does not produce output data." }
|
|
196
196
|
},
|
|
197
|
+
"detectChanges": {
|
|
198
|
+
stepType: "detectChanges",
|
|
199
|
+
description: "Detect changes between runs by comparing current input against previously stored state. Routes execution based on whether a change occurred.",
|
|
200
|
+
usageNotes: '- Persists state across runs using a global variable keyed to the step ID.\n- Two modes: "comparison" (default) uses strict string inequality; "ai" uses an LLM to determine if a meaningful change occurred.\n- First run always treats the value as "changed" since there is no previous state.\n- Each mode supports transitions to different steps/workflows for the "changed" and "unchanged" paths.\n- AI mode bills normally for the LLM call.',
|
|
201
|
+
inputSchema: { "type": "object", "properties": { "mode": { "enum": ["ai", "comparison"], "type": "string", "description": "Detection mode: 'comparison' for strict string inequality, 'ai' for LLM-based. Default: 'comparison'" }, "input": { "type": "string", "description": "Current value to check (variable template)" }, "prompt": { "type": "string", "description": "AI mode: what constitutes a meaningful change" }, "modelOverride": { "type": "object", "properties": { "model": { "type": "string", "description": 'Model identifier (e.g. "gpt-4", "claude-3-opus")' }, "temperature": { "type": "number", "description": "Sampling temperature for the model (0-2)" }, "maxResponseTokens": { "type": "number", "description": "Maximum number of tokens in the model's response" }, "ignorePreamble": { "type": "boolean", "description": "Whether to skip the system preamble/instructions" }, "userMessagePreprocessor": { "type": "object", "properties": { "dataSource": { "type": "string", "description": "Data source identifier for the preprocessor" }, "messageTemplate": { "type": "string", "description": "Template string applied to user messages before sending to the model" }, "maxResults": { "type": "number", "description": "Maximum number of results to include from the data source" }, "enabled": { "type": "boolean", "description": "Whether the preprocessor is active" }, "shouldInherit": { "type": "boolean", "description": "Whether child steps should inherit this preprocessor configuration" } }, "description": "Preprocessor applied to user messages before sending to the model" }, "preamble": { "type": "string", "description": "System preamble/instructions for the model" }, "multiModelEnabled": { "type": "boolean", "description": "Whether multi-model candidate generation is enabled" }, "editResponseEnabled": { "type": "boolean", "description": "Whether the user can edit the model's response" }, "config": { "type": "object", "description": "Additional model-specific configuration" } }, "required": ["model", "temperature", "maxResponseTokens"], "description": "AI mode: model settings override" }, "previousValueVariable": { "type": "string", "description": "Optional variable name to store the previous value into for downstream access" }, "changedStepId": { "type": "string", "description": "Step to transition to if changed (same workflow)" }, "changedWorkflowId": { "type": "string", "description": "Workflow to jump to if changed (cross workflow)" }, "unchangedStepId": { "type": "string", "description": "Step to transition to if unchanged (same workflow)" }, "unchangedWorkflowId": { "type": "string", "description": "Workflow to jump to if unchanged (cross workflow)" } }, "required": ["mode", "input"], "description": "Configuration for the detect changes step" },
|
|
202
|
+
outputSchema: { "type": "object", "properties": { "hasChanged": { "type": "boolean", "description": "Whether a change was detected" }, "currentValue": { "type": "string", "description": "The resolved input value" }, "previousValue": { "type": "string", "description": "The stored value from last run (empty string on first run)" }, "isFirstRun": { "type": "boolean", "description": "True when no previous state exists" } }, "required": ["hasChanged", "currentValue", "previousValue", "isFirstRun"] }
|
|
203
|
+
},
|
|
197
204
|
"detectPII": {
|
|
198
205
|
stepType: "detectPII",
|
|
199
206
|
description: "Scan text for personally identifiable information using Microsoft Presidio.",
|
|
@@ -201,6 +208,27 @@ var init_metadata = __esm({
|
|
|
201
208
|
inputSchema: { "type": "object", "properties": { "input": { "type": "string", "description": "Text to scan for personally identifiable information" }, "language": { "type": "string", "description": 'Language code of the input text (e.g. "en")' }, "entities": { "type": "array", "items": { "type": "string" }, "description": 'PII entity types to scan for (e.g. ["PHONE_NUMBER", "EMAIL_ADDRESS"]). Empty array means nothing is scanned.' }, "detectedStepId": { "type": "string", "description": "Step to transition to if PII is detected (workflow mode)" }, "notDetectedStepId": { "type": "string", "description": "Step to transition to if no PII is detected (workflow mode)" }, "outputLogVariable": { "type": "string", "description": "Variable name to store the raw detection results" } }, "required": ["input", "language", "entities"] },
|
|
202
209
|
outputSchema: { "type": "object", "properties": { "detected": { "type": "boolean", "description": "Whether any PII was found in the input text" }, "detections": { "type": "array", "items": { "type": "object", "properties": { "entity_type": { "type": "string", "description": 'PII entity type (e.g. "PHONE_NUMBER", "EMAIL_ADDRESS", "PERSON")' }, "start": { "type": "number", "description": "Start character index in the input text" }, "end": { "type": "number", "description": "End character index in the input text" }, "score": { "type": "number", "description": "Confidence score between 0 and 1" } }, "required": ["entity_type", "start", "end", "score"] }, "description": "List of detected PII entities with type, location, and confidence" } }, "required": ["detected", "detections"] }
|
|
203
210
|
},
|
|
211
|
+
"discordEditMessage": {
|
|
212
|
+
stepType: "discordEditMessage",
|
|
213
|
+
description: "Edit a previously sent Discord channel message. Use with the message ID returned by Send Discord Message.",
|
|
214
|
+
usageNotes: "- Only messages sent by the bot can be edited.\n- The messageId is returned by the Send Discord Message step.\n- Optionally attach a file by providing a URL to attachmentUrl. The file is downloaded and uploaded to Discord.\n- When editing with an attachment, the new attachment replaces any previous attachments on the message.\n- URLs in the text are automatically embedded by Discord (link previews for images, videos, etc.).",
|
|
215
|
+
inputSchema: { "type": "object", "properties": { "botToken": { "type": "string", "description": "Discord bot token for authentication" }, "channelId": { "type": "string", "description": "Discord channel ID containing the message" }, "messageId": { "type": "string", "description": "ID of the message to edit (returned by Send Discord Message)" }, "text": { "type": "string", "description": "New message text to replace the existing content" }, "attachmentUrl": { "type": "string", "description": "URL of a file to download and attach to the message (replaces any previous attachments)" } }, "required": ["botToken", "channelId", "messageId", "text"] },
|
|
216
|
+
outputSchema: { "description": "This step does not produce output data." }
|
|
217
|
+
},
|
|
218
|
+
"discordSendFollowUp": {
|
|
219
|
+
stepType: "discordSendFollowUp",
|
|
220
|
+
description: "Send a follow-up message to a Discord slash command interaction.",
|
|
221
|
+
usageNotes: "- Requires the applicationId and interactionToken from the Discord trigger variables.\n- Follow-up messages appear as new messages in the channel after the initial response.\n- Returns the sent message ID.\n- Interaction tokens expire after 15 minutes.\n- Optionally attach a file by providing a URL to attachmentUrl. The file is downloaded and uploaded to Discord.\n- URLs in the text are automatically embedded by Discord (link previews for images, videos, etc.).",
|
|
222
|
+
inputSchema: { "type": "object", "properties": { "applicationId": { "type": "string", "description": "Discord application ID from the bot registration" }, "interactionToken": { "type": "string", "description": "Interaction token provided by the Discord trigger \u2014 expires after 15 minutes" }, "text": { "type": "string", "description": "Message text to send as a follow-up" }, "attachmentUrl": { "type": "string", "description": "URL of a file to download and attach to the message" } }, "required": ["applicationId", "interactionToken", "text"] },
|
|
223
|
+
outputSchema: { "type": "object", "properties": { "messageId": { "type": "string", "description": "ID of the sent follow-up message" } }, "required": ["messageId"] }
|
|
224
|
+
},
|
|
225
|
+
"discordSendMessage": {
|
|
226
|
+
stepType: "discordSendMessage",
|
|
227
|
+
description: "Send a message to Discord \u2014 either edit the loading message or send a new channel message.",
|
|
228
|
+
usageNotes: '- mode "edit" replaces the loading message (interaction response) with the final result. Uses applicationId and interactionToken from trigger variables. No bot permissions required.\n- mode "send" sends a new message to a channel. Uses botToken and channelId from trigger variables. Returns a messageId that can be used with Edit Discord Message.\n- Optionally attach a file by providing a URL to attachmentUrl. The file is downloaded and uploaded to Discord.\n- URLs in the text are automatically embedded by Discord (link previews for images, videos, etc.).\n- Interaction tokens expire after 15 minutes.',
|
|
229
|
+
inputSchema: { "type": "object", "properties": { "mode": { "enum": ["edit", "send"], "type": "string", "description": '"edit" replaces the loading message, "send" sends a new channel message' }, "text": { "type": "string", "description": "Message text to send" }, "applicationId": { "type": "string", "description": 'Discord application ID from the bot registration (required for "reply" mode)' }, "interactionToken": { "type": "string", "description": 'Interaction token provided by the Discord trigger \u2014 expires after 15 minutes (required for "reply" mode)' }, "botToken": { "type": "string", "description": 'Discord bot token for authentication (required for "send" mode)' }, "channelId": { "type": "string", "description": 'Discord channel ID to send the message to (required for "send" mode)' }, "attachmentUrl": { "type": "string", "description": "URL of a file to download and attach to the message" } }, "required": ["mode", "text"] },
|
|
230
|
+
outputSchema: { "type": "object", "properties": { "messageId": { "type": "string", "description": 'ID of the sent Discord message, only present in "send" mode (use with Edit Discord Message)' } } }
|
|
231
|
+
},
|
|
204
232
|
"downloadVideo": {
|
|
205
233
|
stepType: "downloadVideo",
|
|
206
234
|
description: "Download a video file",
|
|
@@ -528,9 +556,13 @@ var init_metadata = __esm({
|
|
|
528
556
|
},
|
|
529
557
|
"logic": {
|
|
530
558
|
stepType: "logic",
|
|
531
|
-
description: "
|
|
532
|
-
usageNotes:
|
|
533
|
-
|
|
559
|
+
description: "Route execution to different branches based on AI evaluation, comparison operators, or workflow jumps.",
|
|
560
|
+
usageNotes: `- Supports two modes: "ai" (default) uses an AI model to pick the most accurate statement; "comparison" uses operator-based checks.
|
|
561
|
+
- In AI mode, the model picks the most accurate statement from the list. All possible cases must be specified.
|
|
562
|
+
- In comparison mode, the context is the left operand and each case's condition is the right operand. First matching case wins. Use operator "default" as a fallback.
|
|
563
|
+
- Requires at least two cases.
|
|
564
|
+
- Each case can transition to a step in the current workflow (destinationStepId) or jump to another workflow (destinationWorkflowId).`,
|
|
565
|
+
inputSchema: { "type": "object", "properties": { "mode": { "enum": ["ai", "comparison"], "type": "string", "description": "Evaluation mode: 'ai' for LLM-based, 'comparison' for operator-based. Default: 'ai'" }, "context": { "type": "string", "description": "AI mode: prompt context. Comparison mode: left operand (resolved via variables)." }, "cases": { "type": "array", "items": { "anyOf": [{ "type": "object", "properties": { "id": { "type": "string", "description": "Unique case identifier" }, "condition": { "type": "string", "description": "AI mode: statement to evaluate. Comparison mode: right operand value." }, "operator": { "enum": ["eq", "neq", "gt", "lt", "gte", "lte", "exists", "not_exists", "contains", "not_contains", "default"], "type": "string", "description": "Comparison operator (comparison mode only)" }, "destinationStepId": { "type": "string", "description": "Step to transition to if this case wins (workflow mode only)" }, "destinationWorkflowId": { "type": "string", "description": "Workflow to jump to if this case wins (uses that workflow's initial step)" } }, "required": ["id", "condition"] }, { "type": "string" }] }, "description": "List of conditions to evaluate (objects for managed UIs, strings for code)" }, "modelOverride": { "type": "object", "properties": { "model": { "type": "string", "description": 'Model identifier (e.g. "gpt-4", "claude-3-opus")' }, "temperature": { "type": "number", "description": "Sampling temperature for the model (0-2)" }, "maxResponseTokens": { "type": "number", "description": "Maximum number of tokens in the model's response" }, "ignorePreamble": { "type": "boolean", "description": "Whether to skip the system preamble/instructions" }, "userMessagePreprocessor": { "type": "object", "properties": { "dataSource": { "type": "string", "description": "Data source identifier for the preprocessor" }, "messageTemplate": { "type": "string", "description": "Template string applied to user messages before sending to the model" }, "maxResults": { "type": "number", "description": "Maximum number of results to include from the data source" }, "enabled": { "type": "boolean", "description": "Whether the preprocessor is active" }, "shouldInherit": { "type": "boolean", "description": "Whether child steps should inherit this preprocessor configuration" } }, "description": "Preprocessor applied to user messages before sending to the model" }, "preamble": { "type": "string", "description": "System preamble/instructions for the model" }, "multiModelEnabled": { "type": "boolean", "description": "Whether multi-model candidate generation is enabled" }, "editResponseEnabled": { "type": "boolean", "description": "Whether the user can edit the model's response" }, "config": { "type": "object", "description": "Additional model-specific configuration" } }, "required": ["model", "temperature", "maxResponseTokens"], "description": "Optional model settings override; uses the organization default if not specified (AI mode only)" } }, "required": ["context", "cases"], "description": "Configuration for the router step" },
|
|
534
566
|
outputSchema: { "type": "object", "properties": { "selectedCase": { "type": "number", "description": "The index of the winning case" } }, "required": ["selectedCase"] }
|
|
535
567
|
},
|
|
536
568
|
"makeDotComRunScenario": {
|
|
@@ -1295,9 +1327,21 @@ function applyStepMethods(AgentClass) {
|
|
|
1295
1327
|
proto.deleteGoogleSheetRows = function(step, options) {
|
|
1296
1328
|
return this.executeStep("deleteGoogleSheetRows", step, options);
|
|
1297
1329
|
};
|
|
1330
|
+
proto.detectChanges = function(step, options) {
|
|
1331
|
+
return this.executeStep("detectChanges", step, options);
|
|
1332
|
+
};
|
|
1298
1333
|
proto.detectPII = function(step, options) {
|
|
1299
1334
|
return this.executeStep("detectPII", step, options);
|
|
1300
1335
|
};
|
|
1336
|
+
proto.discordEditMessage = function(step, options) {
|
|
1337
|
+
return this.executeStep("discordEditMessage", step, options);
|
|
1338
|
+
};
|
|
1339
|
+
proto.discordSendFollowUp = function(step, options) {
|
|
1340
|
+
return this.executeStep("discordSendFollowUp", step, options);
|
|
1341
|
+
};
|
|
1342
|
+
proto.discordSendMessage = function(step, options) {
|
|
1343
|
+
return this.executeStep("discordSendMessage", step, options);
|
|
1344
|
+
};
|
|
1301
1345
|
proto.downloadVideo = function(step, options) {
|
|
1302
1346
|
return this.executeStep("downloadVideo", step, options);
|
|
1303
1347
|
};
|
|
@@ -1922,7 +1966,7 @@ async function startMcpServer(options) {
|
|
|
1922
1966
|
capabilities: { tools: {} },
|
|
1923
1967
|
serverInfo: {
|
|
1924
1968
|
name: "mindstudio-agent",
|
|
1925
|
-
version: "0.0.
|
|
1969
|
+
version: "0.0.20"
|
|
1926
1970
|
}
|
|
1927
1971
|
});
|
|
1928
1972
|
break;
|
|
@@ -2450,7 +2494,7 @@ function isNewerVersion(current, latest) {
|
|
|
2450
2494
|
return false;
|
|
2451
2495
|
}
|
|
2452
2496
|
async function checkForUpdate() {
|
|
2453
|
-
const currentVersion = "0.0.
|
|
2497
|
+
const currentVersion = "0.0.20";
|
|
2454
2498
|
if (!currentVersion) return null;
|
|
2455
2499
|
try {
|
|
2456
2500
|
const { loadConfig: loadConfig2, saveConfig: saveConfig2 } = await Promise.resolve().then(() => (init_config(), config_exports));
|
|
@@ -2479,7 +2523,7 @@ async function checkForUpdate() {
|
|
|
2479
2523
|
}
|
|
2480
2524
|
}
|
|
2481
2525
|
function printUpdateNotice(latestVersion) {
|
|
2482
|
-
const currentVersion = "0.0.
|
|
2526
|
+
const currentVersion = "0.0.20";
|
|
2483
2527
|
process.stderr.write(
|
|
2484
2528
|
`
|
|
2485
2529
|
${ansi.cyanBright("Update available")} ${ansi.gray(currentVersion + " \u2192")} ${ansi.cyanBold(latestVersion)}
|
|
@@ -2553,7 +2597,7 @@ async function cmdLogin(options) {
|
|
|
2553
2597
|
process.stderr.write("\n");
|
|
2554
2598
|
printLogo();
|
|
2555
2599
|
process.stderr.write("\n");
|
|
2556
|
-
const ver = "0.0.
|
|
2600
|
+
const ver = "0.0.20";
|
|
2557
2601
|
process.stderr.write(
|
|
2558
2602
|
` ${ansi.bold("MindStudio")} ${ansi.gray("CLI")}${ver ? " " + ansi.gray("v" + ver) : ""}
|
|
2559
2603
|
`
|
package/dist/index.d.ts
CHANGED
|
@@ -700,6 +700,66 @@ interface DeleteGoogleSheetRowsStepInput {
|
|
|
700
700
|
connectionId?: string;
|
|
701
701
|
}
|
|
702
702
|
type DeleteGoogleSheetRowsStepOutput = unknown;
|
|
703
|
+
interface DetectChangesStepInput {
|
|
704
|
+
/** Detection mode: 'comparison' for strict string inequality, 'ai' for LLM-based. Default: 'comparison' */
|
|
705
|
+
mode: "ai" | "comparison";
|
|
706
|
+
/** Current value to check (variable template) */
|
|
707
|
+
input: string;
|
|
708
|
+
/** AI mode: what constitutes a meaningful change */
|
|
709
|
+
prompt?: string;
|
|
710
|
+
/** AI mode: model settings override */
|
|
711
|
+
modelOverride?: {
|
|
712
|
+
/** Model identifier (e.g. "gpt-4", "claude-3-opus") */
|
|
713
|
+
model: string;
|
|
714
|
+
/** Sampling temperature for the model (0-2) */
|
|
715
|
+
temperature: number;
|
|
716
|
+
/** Maximum number of tokens in the model's response */
|
|
717
|
+
maxResponseTokens: number;
|
|
718
|
+
/** Whether to skip the system preamble/instructions */
|
|
719
|
+
ignorePreamble?: boolean;
|
|
720
|
+
/** Preprocessor applied to user messages before sending to the model */
|
|
721
|
+
userMessagePreprocessor?: {
|
|
722
|
+
/** Data source identifier for the preprocessor */
|
|
723
|
+
dataSource?: string;
|
|
724
|
+
/** Template string applied to user messages before sending to the model */
|
|
725
|
+
messageTemplate?: string;
|
|
726
|
+
/** Maximum number of results to include from the data source */
|
|
727
|
+
maxResults?: number;
|
|
728
|
+
/** Whether the preprocessor is active */
|
|
729
|
+
enabled?: boolean;
|
|
730
|
+
/** Whether child steps should inherit this preprocessor configuration */
|
|
731
|
+
shouldInherit?: boolean;
|
|
732
|
+
};
|
|
733
|
+
/** System preamble/instructions for the model */
|
|
734
|
+
preamble?: string;
|
|
735
|
+
/** Whether multi-model candidate generation is enabled */
|
|
736
|
+
multiModelEnabled?: boolean;
|
|
737
|
+
/** Whether the user can edit the model's response */
|
|
738
|
+
editResponseEnabled?: boolean;
|
|
739
|
+
/** Additional model-specific configuration */
|
|
740
|
+
config?: Record<string, unknown>;
|
|
741
|
+
};
|
|
742
|
+
/** Optional variable name to store the previous value into for downstream access */
|
|
743
|
+
previousValueVariable?: string;
|
|
744
|
+
/** Step to transition to if changed (same workflow) */
|
|
745
|
+
changedStepId?: string;
|
|
746
|
+
/** Workflow to jump to if changed (cross workflow) */
|
|
747
|
+
changedWorkflowId?: string;
|
|
748
|
+
/** Step to transition to if unchanged (same workflow) */
|
|
749
|
+
unchangedStepId?: string;
|
|
750
|
+
/** Workflow to jump to if unchanged (cross workflow) */
|
|
751
|
+
unchangedWorkflowId?: string;
|
|
752
|
+
}
|
|
753
|
+
interface DetectChangesStepOutput {
|
|
754
|
+
/** Whether a change was detected */
|
|
755
|
+
hasChanged: boolean;
|
|
756
|
+
/** The resolved input value */
|
|
757
|
+
currentValue: string;
|
|
758
|
+
/** The stored value from last run (empty string on first run) */
|
|
759
|
+
previousValue: string;
|
|
760
|
+
/** True when no previous state exists */
|
|
761
|
+
isFirstRun: boolean;
|
|
762
|
+
}
|
|
703
763
|
interface DetectPIIStepInput {
|
|
704
764
|
/** Text to scan for personally identifiable information */
|
|
705
765
|
input: string;
|
|
@@ -729,6 +789,53 @@ interface DetectPIIStepOutput {
|
|
|
729
789
|
score: number;
|
|
730
790
|
}[];
|
|
731
791
|
}
|
|
792
|
+
interface DiscordEditMessageStepInput {
|
|
793
|
+
/** Discord bot token for authentication */
|
|
794
|
+
botToken: string;
|
|
795
|
+
/** Discord channel ID containing the message */
|
|
796
|
+
channelId: string;
|
|
797
|
+
/** ID of the message to edit (returned by Send Discord Message) */
|
|
798
|
+
messageId: string;
|
|
799
|
+
/** New message text to replace the existing content */
|
|
800
|
+
text: string;
|
|
801
|
+
/** URL of a file to download and attach to the message (replaces any previous attachments) */
|
|
802
|
+
attachmentUrl?: string;
|
|
803
|
+
}
|
|
804
|
+
type DiscordEditMessageStepOutput = unknown;
|
|
805
|
+
interface DiscordSendFollowUpStepInput {
|
|
806
|
+
/** Discord application ID from the bot registration */
|
|
807
|
+
applicationId: string;
|
|
808
|
+
/** Interaction token provided by the Discord trigger — expires after 15 minutes */
|
|
809
|
+
interactionToken: string;
|
|
810
|
+
/** Message text to send as a follow-up */
|
|
811
|
+
text: string;
|
|
812
|
+
/** URL of a file to download and attach to the message */
|
|
813
|
+
attachmentUrl?: string;
|
|
814
|
+
}
|
|
815
|
+
interface DiscordSendFollowUpStepOutput {
|
|
816
|
+
/** ID of the sent follow-up message */
|
|
817
|
+
messageId: string;
|
|
818
|
+
}
|
|
819
|
+
interface DiscordSendMessageStepInput {
|
|
820
|
+
/** "edit" replaces the loading message, "send" sends a new channel message */
|
|
821
|
+
mode: "edit" | "send";
|
|
822
|
+
/** Message text to send */
|
|
823
|
+
text: string;
|
|
824
|
+
/** Discord application ID from the bot registration (required for "reply" mode) */
|
|
825
|
+
applicationId?: string;
|
|
826
|
+
/** Interaction token provided by the Discord trigger — expires after 15 minutes (required for "reply" mode) */
|
|
827
|
+
interactionToken?: string;
|
|
828
|
+
/** Discord bot token for authentication (required for "send" mode) */
|
|
829
|
+
botToken?: string;
|
|
830
|
+
/** Discord channel ID to send the message to (required for "send" mode) */
|
|
831
|
+
channelId?: string;
|
|
832
|
+
/** URL of a file to download and attach to the message */
|
|
833
|
+
attachmentUrl?: string;
|
|
834
|
+
}
|
|
835
|
+
interface DiscordSendMessageStepOutput {
|
|
836
|
+
/** ID of the sent Discord message, only present in "send" mode (use with Edit Discord Message) */
|
|
837
|
+
messageId?: string;
|
|
838
|
+
}
|
|
732
839
|
interface DownloadVideoStepInput {
|
|
733
840
|
/** URL of the video to download (supports YouTube, TikTok, etc. via yt-dlp) */
|
|
734
841
|
videoUrl: string;
|
|
@@ -2072,17 +2179,55 @@ interface ListGoogleDriveFilesStepOutput {
|
|
|
2072
2179
|
}[];
|
|
2073
2180
|
}
|
|
2074
2181
|
interface LogicStepInput {
|
|
2075
|
-
/**
|
|
2182
|
+
/** Evaluation mode: 'ai' for LLM-based, 'comparison' for operator-based. Default: 'ai' */
|
|
2183
|
+
mode?: "ai" | "comparison";
|
|
2184
|
+
/** AI mode: prompt context. Comparison mode: left operand (resolved via variables). */
|
|
2076
2185
|
context: string;
|
|
2077
2186
|
/** List of conditions to evaluate (objects for managed UIs, strings for code) */
|
|
2078
2187
|
cases: ({
|
|
2079
2188
|
/** Unique case identifier */
|
|
2080
2189
|
id: string;
|
|
2081
|
-
/**
|
|
2190
|
+
/** AI mode: statement to evaluate. Comparison mode: right operand value. */
|
|
2082
2191
|
condition: string;
|
|
2192
|
+
/** Comparison operator (comparison mode only) */
|
|
2193
|
+
operator?: "eq" | "neq" | "gt" | "lt" | "gte" | "lte" | "exists" | "not_exists" | "contains" | "not_contains" | "default";
|
|
2083
2194
|
/** Step to transition to if this case wins (workflow mode only) */
|
|
2084
2195
|
destinationStepId?: string;
|
|
2196
|
+
/** Workflow to jump to if this case wins (uses that workflow's initial step) */
|
|
2197
|
+
destinationWorkflowId?: string;
|
|
2085
2198
|
} | string)[];
|
|
2199
|
+
/** Optional model settings override; uses the organization default if not specified (AI mode only) */
|
|
2200
|
+
modelOverride?: {
|
|
2201
|
+
/** Model identifier (e.g. "gpt-4", "claude-3-opus") */
|
|
2202
|
+
model: string;
|
|
2203
|
+
/** Sampling temperature for the model (0-2) */
|
|
2204
|
+
temperature: number;
|
|
2205
|
+
/** Maximum number of tokens in the model's response */
|
|
2206
|
+
maxResponseTokens: number;
|
|
2207
|
+
/** Whether to skip the system preamble/instructions */
|
|
2208
|
+
ignorePreamble?: boolean;
|
|
2209
|
+
/** Preprocessor applied to user messages before sending to the model */
|
|
2210
|
+
userMessagePreprocessor?: {
|
|
2211
|
+
/** Data source identifier for the preprocessor */
|
|
2212
|
+
dataSource?: string;
|
|
2213
|
+
/** Template string applied to user messages before sending to the model */
|
|
2214
|
+
messageTemplate?: string;
|
|
2215
|
+
/** Maximum number of results to include from the data source */
|
|
2216
|
+
maxResults?: number;
|
|
2217
|
+
/** Whether the preprocessor is active */
|
|
2218
|
+
enabled?: boolean;
|
|
2219
|
+
/** Whether child steps should inherit this preprocessor configuration */
|
|
2220
|
+
shouldInherit?: boolean;
|
|
2221
|
+
};
|
|
2222
|
+
/** System preamble/instructions for the model */
|
|
2223
|
+
preamble?: string;
|
|
2224
|
+
/** Whether multi-model candidate generation is enabled */
|
|
2225
|
+
multiModelEnabled?: boolean;
|
|
2226
|
+
/** Whether the user can edit the model's response */
|
|
2227
|
+
editResponseEnabled?: boolean;
|
|
2228
|
+
/** Additional model-specific configuration */
|
|
2229
|
+
config?: Record<string, unknown>;
|
|
2230
|
+
};
|
|
2086
2231
|
}
|
|
2087
2232
|
interface LogicStepOutput {
|
|
2088
2233
|
/** The index of the winning case */
|
|
@@ -3336,7 +3481,7 @@ type GenerateAssetStepOutput = GeneratePdfStepOutput;
|
|
|
3336
3481
|
type GenerateTextStepInput = UserMessageStepInput;
|
|
3337
3482
|
type GenerateTextStepOutput = UserMessageStepOutput;
|
|
3338
3483
|
/** Union of all available step type names. */
|
|
3339
|
-
type StepName = "activeCampaignAddNote" | "activeCampaignCreateContact" | "addSubtitlesToVideo" | "airtableCreateUpdateRecord" | "airtableDeleteRecord" | "airtableGetRecord" | "airtableGetTableRecords" | "analyzeImage" | "analyzeVideo" | "captureThumbnail" | "codaCreateUpdatePage" | "codaCreateUpdateRow" | "codaFindRow" | "codaGetPage" | "codaGetTableRows" | "convertPdfToImages" | "createDataSource" | "createGoogleCalendarEvent" | "createGoogleDoc" | "createGoogleSheet" | "deleteDataSource" | "deleteDataSourceDocument" | "deleteGmailEmail" | "deleteGoogleCalendarEvent" | "deleteGoogleSheetRows" | "detectPII" | "downloadVideo" | "enhanceImageGenerationPrompt" | "enhanceVideoGenerationPrompt" | "enrichPerson" | "extractAudioFromVideo" | "extractText" | "fetchDataSourceDocument" | "fetchGoogleDoc" | "fetchGoogleSheet" | "fetchSlackChannelHistory" | "fetchYoutubeCaptions" | "fetchYoutubeChannel" | "fetchYoutubeComments" | "fetchYoutubeVideo" | "generateChart" | "generateImage" | "generateLipsync" | "generateMusic" | "generatePdf" | "generateStaticVideoFromImage" | "generateVideo" | "getGmailDraft" | "getGmailEmail" | "getGoogleCalendarEvent" | "getGoogleDriveFile" | "getGoogleSheetInfo" | "getMediaMetadata" | "httpRequest" | "hubspotCreateCompany" | "hubspotCreateContact" | "hubspotGetCompany" | "hubspotGetContact" | "hunterApiCompanyEnrichment" | "hunterApiDomainSearch" | "hunterApiEmailFinder" | "hunterApiEmailVerification" | "hunterApiPersonEnrichment" | "imageFaceSwap" | "imageRemoveWatermark" | "insertVideoClips" | "listDataSources" | "listGmailDrafts" | "listGoogleCalendarEvents" | "listGoogleDriveFiles" | "logic" | "makeDotComRunScenario" | "mergeAudio" | "mergeVideos" | "mixAudioIntoVideo" | "muteVideo" | "n8nRunNode" | "notionCreatePage" | "notionUpdatePage" | "peopleSearch" | "postToLinkedIn" | "postToSlackChannel" | "postToX" | "postToZapier" | "queryDataSource" | "queryExternalDatabase" | "redactPII" | "removeBackgroundFromImage" | "replyToGmailEmail" | "resizeVideo" | "runPackagedWorkflow" | "scrapeFacebookPage" | "scrapeFacebookPosts" | "scrapeInstagramComments" | "scrapeInstagramMentions" | "scrapeInstagramPosts" | "scrapeInstagramProfile" | "scrapeInstagramReels" | "scrapeLinkedInCompany" | "scrapeLinkedInProfile" | "scrapeMetaThreadsProfile" | "scrapeUrl" | "scrapeXPost" | "scrapeXProfile" | "searchGoogle" | "searchGoogleCalendarEvents" | "searchGoogleDrive" | "searchGoogleImages" | "searchGoogleNews" | "searchGoogleTrends" | "searchPerplexity" | "searchXPosts" | "searchYoutube" | "searchYoutubeTrends" | "sendEmail" | "sendSMS" | "setRunTitle" | "setVariable" | "telegramEditMessage" | "telegramReplyToMessage" | "telegramSendAudio" | "telegramSendFile" | "telegramSendImage" | "telegramSendMessage" | "telegramSendVideo" | "telegramSetTyping" | "textToSpeech" | "transcribeAudio" | "trimMedia" | "updateGoogleCalendarEvent" | "updateGoogleDoc" | "updateGoogleSheet" | "uploadDataSourceDocument" | "upscaleImage" | "upscaleVideo" | "userMessage" | "videoFaceSwap" | "videoRemoveBackground" | "videoRemoveWatermark" | "watermarkImage" | "watermarkVideo";
|
|
3484
|
+
type StepName = "activeCampaignAddNote" | "activeCampaignCreateContact" | "addSubtitlesToVideo" | "airtableCreateUpdateRecord" | "airtableDeleteRecord" | "airtableGetRecord" | "airtableGetTableRecords" | "analyzeImage" | "analyzeVideo" | "captureThumbnail" | "codaCreateUpdatePage" | "codaCreateUpdateRow" | "codaFindRow" | "codaGetPage" | "codaGetTableRows" | "convertPdfToImages" | "createDataSource" | "createGoogleCalendarEvent" | "createGoogleDoc" | "createGoogleSheet" | "deleteDataSource" | "deleteDataSourceDocument" | "deleteGmailEmail" | "deleteGoogleCalendarEvent" | "deleteGoogleSheetRows" | "detectChanges" | "detectPII" | "discordEditMessage" | "discordSendFollowUp" | "discordSendMessage" | "downloadVideo" | "enhanceImageGenerationPrompt" | "enhanceVideoGenerationPrompt" | "enrichPerson" | "extractAudioFromVideo" | "extractText" | "fetchDataSourceDocument" | "fetchGoogleDoc" | "fetchGoogleSheet" | "fetchSlackChannelHistory" | "fetchYoutubeCaptions" | "fetchYoutubeChannel" | "fetchYoutubeComments" | "fetchYoutubeVideo" | "generateChart" | "generateImage" | "generateLipsync" | "generateMusic" | "generatePdf" | "generateStaticVideoFromImage" | "generateVideo" | "getGmailDraft" | "getGmailEmail" | "getGoogleCalendarEvent" | "getGoogleDriveFile" | "getGoogleSheetInfo" | "getMediaMetadata" | "httpRequest" | "hubspotCreateCompany" | "hubspotCreateContact" | "hubspotGetCompany" | "hubspotGetContact" | "hunterApiCompanyEnrichment" | "hunterApiDomainSearch" | "hunterApiEmailFinder" | "hunterApiEmailVerification" | "hunterApiPersonEnrichment" | "imageFaceSwap" | "imageRemoveWatermark" | "insertVideoClips" | "listDataSources" | "listGmailDrafts" | "listGoogleCalendarEvents" | "listGoogleDriveFiles" | "logic" | "makeDotComRunScenario" | "mergeAudio" | "mergeVideos" | "mixAudioIntoVideo" | "muteVideo" | "n8nRunNode" | "notionCreatePage" | "notionUpdatePage" | "peopleSearch" | "postToLinkedIn" | "postToSlackChannel" | "postToX" | "postToZapier" | "queryDataSource" | "queryExternalDatabase" | "redactPII" | "removeBackgroundFromImage" | "replyToGmailEmail" | "resizeVideo" | "runPackagedWorkflow" | "scrapeFacebookPage" | "scrapeFacebookPosts" | "scrapeInstagramComments" | "scrapeInstagramMentions" | "scrapeInstagramPosts" | "scrapeInstagramProfile" | "scrapeInstagramReels" | "scrapeLinkedInCompany" | "scrapeLinkedInProfile" | "scrapeMetaThreadsProfile" | "scrapeUrl" | "scrapeXPost" | "scrapeXProfile" | "searchGoogle" | "searchGoogleCalendarEvents" | "searchGoogleDrive" | "searchGoogleImages" | "searchGoogleNews" | "searchGoogleTrends" | "searchPerplexity" | "searchXPosts" | "searchYoutube" | "searchYoutubeTrends" | "sendEmail" | "sendSMS" | "setRunTitle" | "setVariable" | "telegramEditMessage" | "telegramReplyToMessage" | "telegramSendAudio" | "telegramSendFile" | "telegramSendImage" | "telegramSendMessage" | "telegramSendVideo" | "telegramSetTyping" | "textToSpeech" | "transcribeAudio" | "trimMedia" | "updateGoogleCalendarEvent" | "updateGoogleDoc" | "updateGoogleSheet" | "uploadDataSourceDocument" | "upscaleImage" | "upscaleVideo" | "userMessage" | "videoFaceSwap" | "videoRemoveBackground" | "videoRemoveWatermark" | "watermarkImage" | "watermarkVideo";
|
|
3340
3485
|
/** Maps step names to their input types. */
|
|
3341
3486
|
interface StepInputMap {
|
|
3342
3487
|
activeCampaignAddNote: ActiveCampaignAddNoteStepInput;
|
|
@@ -3364,7 +3509,11 @@ interface StepInputMap {
|
|
|
3364
3509
|
deleteGmailEmail: DeleteGmailEmailStepInput;
|
|
3365
3510
|
deleteGoogleCalendarEvent: DeleteGoogleCalendarEventStepInput;
|
|
3366
3511
|
deleteGoogleSheetRows: DeleteGoogleSheetRowsStepInput;
|
|
3512
|
+
detectChanges: DetectChangesStepInput;
|
|
3367
3513
|
detectPII: DetectPIIStepInput;
|
|
3514
|
+
discordEditMessage: DiscordEditMessageStepInput;
|
|
3515
|
+
discordSendFollowUp: DiscordSendFollowUpStepInput;
|
|
3516
|
+
discordSendMessage: DiscordSendMessageStepInput;
|
|
3368
3517
|
downloadVideo: DownloadVideoStepInput;
|
|
3369
3518
|
enhanceImageGenerationPrompt: EnhanceImageGenerationPromptStepInput;
|
|
3370
3519
|
enhanceVideoGenerationPrompt: EnhanceVideoGenerationPromptStepInput;
|
|
@@ -3508,7 +3657,11 @@ interface StepOutputMap {
|
|
|
3508
3657
|
deleteGmailEmail: DeleteGmailEmailStepOutput;
|
|
3509
3658
|
deleteGoogleCalendarEvent: DeleteGoogleCalendarEventStepOutput;
|
|
3510
3659
|
deleteGoogleSheetRows: DeleteGoogleSheetRowsStepOutput;
|
|
3660
|
+
detectChanges: DetectChangesStepOutput;
|
|
3511
3661
|
detectPII: DetectPIIStepOutput;
|
|
3662
|
+
discordEditMessage: DiscordEditMessageStepOutput;
|
|
3663
|
+
discordSendFollowUp: DiscordSendFollowUpStepOutput;
|
|
3664
|
+
discordSendMessage: DiscordSendMessageStepOutput;
|
|
3512
3665
|
downloadVideo: DownloadVideoStepOutput;
|
|
3513
3666
|
enhanceImageGenerationPrompt: EnhanceImageGenerationPromptStepOutput;
|
|
3514
3667
|
enhanceVideoGenerationPrompt: EnhanceVideoGenerationPromptStepOutput;
|
|
@@ -4052,6 +4205,25 @@ interface StepMethods {
|
|
|
4052
4205
|
* ```
|
|
4053
4206
|
*/
|
|
4054
4207
|
deleteGoogleSheetRows(step: DeleteGoogleSheetRowsStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DeleteGoogleSheetRowsStepOutput>>;
|
|
4208
|
+
/**
|
|
4209
|
+
* Detect changes between runs by comparing current input against previously stored state. Routes execution based on whether a change occurred.
|
|
4210
|
+
*
|
|
4211
|
+
* @remarks
|
|
4212
|
+
* - Persists state across runs using a global variable keyed to the step ID.
|
|
4213
|
+
* - Two modes: "comparison" (default) uses strict string inequality; "ai" uses an LLM to determine if a meaningful change occurred.
|
|
4214
|
+
* - First run always treats the value as "changed" since there is no previous state.
|
|
4215
|
+
* - Each mode supports transitions to different steps/workflows for the "changed" and "unchanged" paths.
|
|
4216
|
+
* - AI mode bills normally for the LLM call.
|
|
4217
|
+
*
|
|
4218
|
+
* @example
|
|
4219
|
+
* ```typescript
|
|
4220
|
+
* const result = await agent.detectChanges({
|
|
4221
|
+
* mode: "ai",
|
|
4222
|
+
* input: ``,
|
|
4223
|
+
* });
|
|
4224
|
+
* ```
|
|
4225
|
+
*/
|
|
4226
|
+
detectChanges(step: DetectChangesStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DetectChangesStepOutput>>;
|
|
4055
4227
|
/**
|
|
4056
4228
|
* Scan text for personally identifiable information using Microsoft Presidio.
|
|
4057
4229
|
*
|
|
@@ -4070,6 +4242,67 @@ interface StepMethods {
|
|
|
4070
4242
|
* ```
|
|
4071
4243
|
*/
|
|
4072
4244
|
detectPII(step: DetectPIIStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DetectPIIStepOutput>>;
|
|
4245
|
+
/**
|
|
4246
|
+
* Edit a previously sent Discord channel message. Use with the message ID returned by Send Discord Message.
|
|
4247
|
+
*
|
|
4248
|
+
* @remarks
|
|
4249
|
+
* - Only messages sent by the bot can be edited.
|
|
4250
|
+
* - The messageId is returned by the Send Discord Message step.
|
|
4251
|
+
* - Optionally attach a file by providing a URL to attachmentUrl. The file is downloaded and uploaded to Discord.
|
|
4252
|
+
* - When editing with an attachment, the new attachment replaces any previous attachments on the message.
|
|
4253
|
+
* - URLs in the text are automatically embedded by Discord (link previews for images, videos, etc.).
|
|
4254
|
+
*
|
|
4255
|
+
* @example
|
|
4256
|
+
* ```typescript
|
|
4257
|
+
* const result = await agent.discordEditMessage({
|
|
4258
|
+
* botToken: ``,
|
|
4259
|
+
* channelId: ``,
|
|
4260
|
+
* messageId: ``,
|
|
4261
|
+
* text: ``,
|
|
4262
|
+
* });
|
|
4263
|
+
* ```
|
|
4264
|
+
*/
|
|
4265
|
+
discordEditMessage(step: DiscordEditMessageStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DiscordEditMessageStepOutput>>;
|
|
4266
|
+
/**
|
|
4267
|
+
* Send a follow-up message to a Discord slash command interaction.
|
|
4268
|
+
*
|
|
4269
|
+
* @remarks
|
|
4270
|
+
* - Requires the applicationId and interactionToken from the Discord trigger variables.
|
|
4271
|
+
* - Follow-up messages appear as new messages in the channel after the initial response.
|
|
4272
|
+
* - Returns the sent message ID.
|
|
4273
|
+
* - Interaction tokens expire after 15 minutes.
|
|
4274
|
+
* - Optionally attach a file by providing a URL to attachmentUrl. The file is downloaded and uploaded to Discord.
|
|
4275
|
+
* - URLs in the text are automatically embedded by Discord (link previews for images, videos, etc.).
|
|
4276
|
+
*
|
|
4277
|
+
* @example
|
|
4278
|
+
* ```typescript
|
|
4279
|
+
* const result = await agent.discordSendFollowUp({
|
|
4280
|
+
* applicationId: ``,
|
|
4281
|
+
* interactionToken: ``,
|
|
4282
|
+
* text: ``,
|
|
4283
|
+
* });
|
|
4284
|
+
* ```
|
|
4285
|
+
*/
|
|
4286
|
+
discordSendFollowUp(step: DiscordSendFollowUpStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DiscordSendFollowUpStepOutput>>;
|
|
4287
|
+
/**
|
|
4288
|
+
* Send a message to Discord — either edit the loading message or send a new channel message.
|
|
4289
|
+
*
|
|
4290
|
+
* @remarks
|
|
4291
|
+
* - mode "edit" replaces the loading message (interaction response) with the final result. Uses applicationId and interactionToken from trigger variables. No bot permissions required.
|
|
4292
|
+
* - mode "send" sends a new message to a channel. Uses botToken and channelId from trigger variables. Returns a messageId that can be used with Edit Discord Message.
|
|
4293
|
+
* - Optionally attach a file by providing a URL to attachmentUrl. The file is downloaded and uploaded to Discord.
|
|
4294
|
+
* - URLs in the text are automatically embedded by Discord (link previews for images, videos, etc.).
|
|
4295
|
+
* - Interaction tokens expire after 15 minutes.
|
|
4296
|
+
*
|
|
4297
|
+
* @example
|
|
4298
|
+
* ```typescript
|
|
4299
|
+
* const result = await agent.discordSendMessage({
|
|
4300
|
+
* mode: "edit",
|
|
4301
|
+
* text: ``,
|
|
4302
|
+
* });
|
|
4303
|
+
* ```
|
|
4304
|
+
*/
|
|
4305
|
+
discordSendMessage(step: DiscordSendMessageStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DiscordSendMessageStepOutput>>;
|
|
4073
4306
|
/**
|
|
4074
4307
|
* Download a video file
|
|
4075
4308
|
*
|
|
@@ -4779,13 +5012,14 @@ interface StepMethods {
|
|
|
4779
5012
|
*/
|
|
4780
5013
|
listGoogleDriveFiles(step: ListGoogleDriveFilesStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ListGoogleDriveFilesStepOutput>>;
|
|
4781
5014
|
/**
|
|
4782
|
-
*
|
|
5015
|
+
* Route execution to different branches based on AI evaluation, comparison operators, or workflow jumps.
|
|
4783
5016
|
*
|
|
4784
5017
|
* @remarks
|
|
4785
|
-
* -
|
|
4786
|
-
* -
|
|
5018
|
+
* - Supports two modes: "ai" (default) uses an AI model to pick the most accurate statement; "comparison" uses operator-based checks.
|
|
5019
|
+
* - In AI mode, the model picks the most accurate statement from the list. All possible cases must be specified.
|
|
5020
|
+
* - In comparison mode, the context is the left operand and each case's condition is the right operand. First matching case wins. Use operator "default" as a fallback.
|
|
4787
5021
|
* - Requires at least two cases.
|
|
4788
|
-
* -
|
|
5022
|
+
* - Each case can transition to a step in the current workflow (destinationStepId) or jump to another workflow (destinationWorkflowId).
|
|
4789
5023
|
*
|
|
4790
5024
|
* @example
|
|
4791
5025
|
* ```typescript
|
|
@@ -6011,4 +6245,4 @@ declare const MindStudioAgent: {
|
|
|
6011
6245
|
new (options?: AgentOptions): MindStudioAgent;
|
|
6012
6246
|
};
|
|
6013
6247
|
|
|
6014
|
-
export { type ActiveCampaignAddNoteStepInput, type ActiveCampaignAddNoteStepOutput, type ActiveCampaignCreateContactStepInput, type ActiveCampaignCreateContactStepOutput, type AddSubtitlesToVideoStepInput, type AddSubtitlesToVideoStepOutput, type AgentInfo, type AgentOptions, type AirtableCreateUpdateRecordStepInput, type AirtableCreateUpdateRecordStepOutput, type AirtableDeleteRecordStepInput, type AirtableDeleteRecordStepOutput, type AirtableGetRecordStepInput, type AirtableGetRecordStepOutput, type AirtableGetTableRecordsStepInput, type AirtableGetTableRecordsStepOutput, type AnalyzeImageStepInput, type AnalyzeImageStepOutput, type AnalyzeVideoStepInput, type AnalyzeVideoStepOutput, type CaptureThumbnailStepInput, type CaptureThumbnailStepOutput, type CodaCreateUpdatePageStepInput, type CodaCreateUpdatePageStepOutput, type CodaCreateUpdateRowStepInput, type CodaCreateUpdateRowStepOutput, type CodaFindRowStepInput, type CodaFindRowStepOutput, type CodaGetPageStepInput, type CodaGetPageStepOutput, type CodaGetTableRowsStepInput, type CodaGetTableRowsStepOutput, type ConvertPdfToImagesStepInput, type ConvertPdfToImagesStepOutput, type CreateDataSourceStepInput, type CreateDataSourceStepOutput, type CreateGoogleCalendarEventStepInput, type CreateGoogleCalendarEventStepOutput, type CreateGoogleDocStepInput, type CreateGoogleDocStepOutput, type CreateGoogleSheetStepInput, type CreateGoogleSheetStepOutput, type DeleteDataSourceDocumentStepInput, type DeleteDataSourceDocumentStepOutput, type DeleteDataSourceStepInput, type DeleteDataSourceStepOutput, type DeleteGmailEmailStepInput, type DeleteGmailEmailStepOutput, type DeleteGoogleCalendarEventStepInput, type DeleteGoogleCalendarEventStepOutput, type DeleteGoogleSheetRowsStepInput, type DeleteGoogleSheetRowsStepOutput, type DetectPIIStepInput, type DetectPIIStepOutput, type DownloadVideoStepInput, type DownloadVideoStepOutput, type EnhanceImageGenerationPromptStepInput, type EnhanceImageGenerationPromptStepOutput, type EnhanceVideoGenerationPromptStepInput, type EnhanceVideoGenerationPromptStepOutput, type EnrichPersonStepInput, type EnrichPersonStepOutput, 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 GenerateAssetStepInput, type GenerateAssetStepOutput, type GenerateChartStepInput, type GenerateChartStepOutput, type GenerateImageStepInput, type GenerateImageStepOutput, type GenerateLipsyncStepInput, type GenerateLipsyncStepOutput, type GenerateMusicStepInput, type GenerateMusicStepOutput, type GeneratePdfStepInput, type GeneratePdfStepOutput, type GenerateStaticVideoFromImageStepInput, type GenerateStaticVideoFromImageStepOutput, type GenerateTextStepInput, type GenerateTextStepOutput, type GenerateVideoStepInput, type GenerateVideoStepOutput, type GetGmailDraftStepInput, type GetGmailDraftStepOutput, type GetGmailEmailStepInput, type GetGmailEmailStepOutput, type GetGoogleCalendarEventStepInput, type GetGoogleCalendarEventStepOutput, type GetGoogleDriveFileStepInput, type GetGoogleDriveFileStepOutput, type GetGoogleSheetInfoStepInput, type GetGoogleSheetInfoStepOutput, type GetMediaMetadataStepInput, type GetMediaMetadataStepOutput, type HelperMethods, type HttpRequestStepInput, type HttpRequestStepOutput, 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 ListAgentsResult, type ListDataSourcesStepInput, type ListDataSourcesStepOutput, type ListGmailDraftsStepInput, type ListGmailDraftsStepOutput, type ListGoogleCalendarEventsStepInput, type ListGoogleCalendarEventsStepOutput, type ListGoogleDriveFilesStepInput, type ListGoogleDriveFilesStepOutput, type LogicStepInput, type LogicStepOutput, type MakeDotComRunScenarioStepInput, type MakeDotComRunScenarioStepOutput, type MergeAudioStepInput, type MergeAudioStepOutput, type MergeVideosStepInput, type MergeVideosStepOutput, MindStudioAgent, MindStudioError, type MindStudioModel, 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 PeopleSearchStepInput, type PeopleSearchStepOutput, type PostToLinkedInStepInput, type PostToLinkedInStepOutput, type PostToSlackChannelStepInput, type PostToSlackChannelStepOutput, type PostToXStepInput, type PostToXStepOutput, type PostToZapierStepInput, type PostToZapierStepOutput, type QueryDataSourceStepInput, type QueryDataSourceStepOutput, type QueryExternalDatabaseStepInput, type QueryExternalDatabaseStepOutput, type RedactPIIStepInput, type RedactPIIStepOutput, type RemoveBackgroundFromImageStepInput, type RemoveBackgroundFromImageStepOutput, type ReplyToGmailEmailStepInput, type ReplyToGmailEmailStepOutput, type ResizeVideoStepInput, type ResizeVideoStepOutput, type RunAgentOptions, type RunAgentResult, type RunPackagedWorkflowStepInput, type RunPackagedWorkflowStepOutput, type ScrapeFacebookPageStepInput, type ScrapeFacebookPageStepOutput, type ScrapeFacebookPostsStepInput, type ScrapeFacebookPostsStepOutput, type ScrapeInstagramCommentsStepInput, type ScrapeInstagramCommentsStepOutput, type ScrapeInstagramMentionsStepInput, type ScrapeInstagramMentionsStepOutput, type ScrapeInstagramPostsStepInput, type ScrapeInstagramPostsStepOutput, type ScrapeInstagramProfileStepInput, type ScrapeInstagramProfileStepOutput, type ScrapeInstagramReelsStepInput, type ScrapeInstagramReelsStepOutput, type ScrapeLinkedInCompanyStepInput, type ScrapeLinkedInCompanyStepOutput, type ScrapeLinkedInProfileStepInput, type ScrapeLinkedInProfileStepOutput, type ScrapeMetaThreadsProfileStepInput, type ScrapeMetaThreadsProfileStepOutput, type ScrapeUrlStepInput, type ScrapeUrlStepOutput, type ScrapeXPostStepInput, type ScrapeXPostStepOutput, type ScrapeXProfileStepInput, type ScrapeXProfileStepOutput, 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 SendSMSStepInput, type SendSMSStepOutput, type SetRunTitleStepInput, type SetRunTitleStepOutput, type SetVariableStepInput, type SetVariableStepOutput, type StepExecutionMeta, type StepExecutionOptions, type StepExecutionResult, type StepInputMap, type StepMetadata, type StepMethods, type StepName, type StepOutputMap, type TelegramEditMessageStepInput, type TelegramEditMessageStepOutput, type TelegramReplyToMessageStepInput, type TelegramReplyToMessageStepOutput, type TelegramSendAudioStepInput, type TelegramSendAudioStepOutput, type TelegramSendFileStepInput, type TelegramSendFileStepOutput, type TelegramSendImageStepInput, type TelegramSendImageStepOutput, type TelegramSendMessageStepInput, type TelegramSendMessageStepOutput, type TelegramSendVideoStepInput, type TelegramSendVideoStepOutput, type TelegramSetTypingStepInput, type TelegramSetTypingStepOutput, type TextToSpeechStepInput, type TextToSpeechStepOutput, type TranscribeAudioStepInput, type TranscribeAudioStepOutput, type TrimMediaStepInput, type TrimMediaStepOutput, type UpdateGoogleCalendarEventStepInput, type UpdateGoogleCalendarEventStepOutput, type UpdateGoogleDocStepInput, type UpdateGoogleDocStepOutput, type UpdateGoogleSheetStepInput, type UpdateGoogleSheetStepOutput, type UploadDataSourceDocumentStepInput, type UploadDataSourceDocumentStepOutput, type UpscaleImageStepInput, type UpscaleImageStepOutput, type UpscaleVideoStepInput, type UpscaleVideoStepOutput, type UserMessageStepInput, type UserMessageStepOutput, type VideoFaceSwapStepInput, type VideoFaceSwapStepOutput, type VideoRemoveBackgroundStepInput, type VideoRemoveBackgroundStepOutput, type VideoRemoveWatermarkStepInput, type VideoRemoveWatermarkStepOutput, type WatermarkImageStepInput, type WatermarkImageStepOutput, type WatermarkVideoStepInput, type WatermarkVideoStepOutput, blockTypeAliases, monacoSnippets, stepMetadata };
|
|
6248
|
+
export { type ActiveCampaignAddNoteStepInput, type ActiveCampaignAddNoteStepOutput, type ActiveCampaignCreateContactStepInput, type ActiveCampaignCreateContactStepOutput, type AddSubtitlesToVideoStepInput, type AddSubtitlesToVideoStepOutput, type AgentInfo, type AgentOptions, type AirtableCreateUpdateRecordStepInput, type AirtableCreateUpdateRecordStepOutput, type AirtableDeleteRecordStepInput, type AirtableDeleteRecordStepOutput, type AirtableGetRecordStepInput, type AirtableGetRecordStepOutput, type AirtableGetTableRecordsStepInput, type AirtableGetTableRecordsStepOutput, type AnalyzeImageStepInput, type AnalyzeImageStepOutput, type AnalyzeVideoStepInput, type AnalyzeVideoStepOutput, type CaptureThumbnailStepInput, type CaptureThumbnailStepOutput, type CodaCreateUpdatePageStepInput, type CodaCreateUpdatePageStepOutput, type CodaCreateUpdateRowStepInput, type CodaCreateUpdateRowStepOutput, type CodaFindRowStepInput, type CodaFindRowStepOutput, type CodaGetPageStepInput, type CodaGetPageStepOutput, type CodaGetTableRowsStepInput, type CodaGetTableRowsStepOutput, type ConvertPdfToImagesStepInput, type ConvertPdfToImagesStepOutput, type CreateDataSourceStepInput, type CreateDataSourceStepOutput, type CreateGoogleCalendarEventStepInput, type CreateGoogleCalendarEventStepOutput, type CreateGoogleDocStepInput, type CreateGoogleDocStepOutput, type CreateGoogleSheetStepInput, type CreateGoogleSheetStepOutput, 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 DiscordEditMessageStepInput, type DiscordEditMessageStepOutput, type DiscordSendFollowUpStepInput, type DiscordSendFollowUpStepOutput, type DiscordSendMessageStepInput, type DiscordSendMessageStepOutput, type DownloadVideoStepInput, type DownloadVideoStepOutput, type EnhanceImageGenerationPromptStepInput, type EnhanceImageGenerationPromptStepOutput, type EnhanceVideoGenerationPromptStepInput, type EnhanceVideoGenerationPromptStepOutput, type EnrichPersonStepInput, type EnrichPersonStepOutput, 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 GenerateAssetStepInput, type GenerateAssetStepOutput, type GenerateChartStepInput, type GenerateChartStepOutput, type GenerateImageStepInput, type GenerateImageStepOutput, type GenerateLipsyncStepInput, type GenerateLipsyncStepOutput, type GenerateMusicStepInput, type GenerateMusicStepOutput, type GeneratePdfStepInput, type GeneratePdfStepOutput, type GenerateStaticVideoFromImageStepInput, type GenerateStaticVideoFromImageStepOutput, type GenerateTextStepInput, type GenerateTextStepOutput, type GenerateVideoStepInput, type GenerateVideoStepOutput, type GetGmailDraftStepInput, type GetGmailDraftStepOutput, type GetGmailEmailStepInput, type GetGmailEmailStepOutput, type GetGoogleCalendarEventStepInput, type GetGoogleCalendarEventStepOutput, type GetGoogleDriveFileStepInput, type GetGoogleDriveFileStepOutput, type GetGoogleSheetInfoStepInput, type GetGoogleSheetInfoStepOutput, type GetMediaMetadataStepInput, type GetMediaMetadataStepOutput, type HelperMethods, type HttpRequestStepInput, type HttpRequestStepOutput, 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 ListAgentsResult, type ListDataSourcesStepInput, type ListDataSourcesStepOutput, type ListGmailDraftsStepInput, type ListGmailDraftsStepOutput, type ListGoogleCalendarEventsStepInput, type ListGoogleCalendarEventsStepOutput, type ListGoogleDriveFilesStepInput, type ListGoogleDriveFilesStepOutput, type LogicStepInput, type LogicStepOutput, type MakeDotComRunScenarioStepInput, type MakeDotComRunScenarioStepOutput, type MergeAudioStepInput, type MergeAudioStepOutput, type MergeVideosStepInput, type MergeVideosStepOutput, MindStudioAgent, MindStudioError, type MindStudioModel, 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 PeopleSearchStepInput, type PeopleSearchStepOutput, type PostToLinkedInStepInput, type PostToLinkedInStepOutput, type PostToSlackChannelStepInput, type PostToSlackChannelStepOutput, type PostToXStepInput, type PostToXStepOutput, type PostToZapierStepInput, type PostToZapierStepOutput, type QueryDataSourceStepInput, type QueryDataSourceStepOutput, type QueryExternalDatabaseStepInput, type QueryExternalDatabaseStepOutput, type RedactPIIStepInput, type RedactPIIStepOutput, type RemoveBackgroundFromImageStepInput, type RemoveBackgroundFromImageStepOutput, type ReplyToGmailEmailStepInput, type ReplyToGmailEmailStepOutput, type ResizeVideoStepInput, type ResizeVideoStepOutput, type RunAgentOptions, type RunAgentResult, type RunPackagedWorkflowStepInput, type RunPackagedWorkflowStepOutput, type ScrapeFacebookPageStepInput, type ScrapeFacebookPageStepOutput, type ScrapeFacebookPostsStepInput, type ScrapeFacebookPostsStepOutput, type ScrapeInstagramCommentsStepInput, type ScrapeInstagramCommentsStepOutput, type ScrapeInstagramMentionsStepInput, type ScrapeInstagramMentionsStepOutput, type ScrapeInstagramPostsStepInput, type ScrapeInstagramPostsStepOutput, type ScrapeInstagramProfileStepInput, type ScrapeInstagramProfileStepOutput, type ScrapeInstagramReelsStepInput, type ScrapeInstagramReelsStepOutput, type ScrapeLinkedInCompanyStepInput, type ScrapeLinkedInCompanyStepOutput, type ScrapeLinkedInProfileStepInput, type ScrapeLinkedInProfileStepOutput, type ScrapeMetaThreadsProfileStepInput, type ScrapeMetaThreadsProfileStepOutput, type ScrapeUrlStepInput, type ScrapeUrlStepOutput, type ScrapeXPostStepInput, type ScrapeXPostStepOutput, type ScrapeXProfileStepInput, type ScrapeXProfileStepOutput, 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 SendSMSStepInput, type SendSMSStepOutput, type SetRunTitleStepInput, type SetRunTitleStepOutput, type SetVariableStepInput, type SetVariableStepOutput, type StepExecutionMeta, type StepExecutionOptions, type StepExecutionResult, type StepInputMap, type StepMetadata, type StepMethods, type StepName, type StepOutputMap, type TelegramEditMessageStepInput, type TelegramEditMessageStepOutput, type TelegramReplyToMessageStepInput, type TelegramReplyToMessageStepOutput, type TelegramSendAudioStepInput, type TelegramSendAudioStepOutput, type TelegramSendFileStepInput, type TelegramSendFileStepOutput, type TelegramSendImageStepInput, type TelegramSendImageStepOutput, type TelegramSendMessageStepInput, type TelegramSendMessageStepOutput, type TelegramSendVideoStepInput, type TelegramSendVideoStepOutput, type TelegramSetTypingStepInput, type TelegramSetTypingStepOutput, type TextToSpeechStepInput, type TextToSpeechStepOutput, type TranscribeAudioStepInput, type TranscribeAudioStepOutput, type TrimMediaStepInput, type TrimMediaStepOutput, type UpdateGoogleCalendarEventStepInput, type UpdateGoogleCalendarEventStepOutput, type UpdateGoogleDocStepInput, type UpdateGoogleDocStepOutput, type UpdateGoogleSheetStepInput, type UpdateGoogleSheetStepOutput, type UploadDataSourceDocumentStepInput, type UploadDataSourceDocumentStepOutput, type UpscaleImageStepInput, type UpscaleImageStepOutput, type UpscaleVideoStepInput, type UpscaleVideoStepOutput, type UserMessageStepInput, type UserMessageStepOutput, type VideoFaceSwapStepInput, type VideoFaceSwapStepOutput, type VideoRemoveBackgroundStepInput, type VideoRemoveBackgroundStepOutput, type VideoRemoveWatermarkStepInput, type VideoRemoveWatermarkStepOutput, type WatermarkImageStepInput, type WatermarkImageStepOutput, type WatermarkVideoStepInput, type WatermarkVideoStepOutput, blockTypeAliases, monacoSnippets, stepMetadata };
|