@mindstudio-ai/agent 0.1.46 → 0.1.48
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 +113 -49
- package/dist/index.d.ts +20 -7
- package/dist/index.js +106 -43
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +113 -49
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1242,9 +1242,9 @@ async function requestWithRetry(config, method, url, body, attempt) {
|
|
|
1242
1242
|
body: body != null ? JSON.stringify(body) : void 0
|
|
1243
1243
|
});
|
|
1244
1244
|
config.rateLimiter.updateFromHeaders(res.headers);
|
|
1245
|
-
if (res.status === 429
|
|
1245
|
+
if (attempt < config.maxRetries && (res.status === 429 || res.status === 502 || res.status === 503 || res.status === 504)) {
|
|
1246
1246
|
const retryAfter = res.headers.get("retry-after");
|
|
1247
|
-
const waitMs = retryAfter ? parseFloat(retryAfter) * 1e3 : 1e3;
|
|
1247
|
+
const waitMs = retryAfter ? parseFloat(retryAfter) * 1e3 : Math.min(1e3 * Math.pow(2, attempt), 1e4);
|
|
1248
1248
|
await sleep(waitMs);
|
|
1249
1249
|
return requestWithRetry(config, method, url, body, attempt + 1);
|
|
1250
1250
|
}
|
|
@@ -2776,15 +2776,16 @@ var init_table = __esm({
|
|
|
2776
2776
|
// -------------------------------------------------------------------------
|
|
2777
2777
|
// Internal helpers
|
|
2778
2778
|
// -------------------------------------------------------------------------
|
|
2779
|
-
/** @internal Throw if data includes a platform-managed
|
|
2779
|
+
/** @internal Throw if data includes a platform-managed read-only column. */
|
|
2780
2780
|
_checkManagedColumns(data) {
|
|
2781
2781
|
const mc = this._config.managedColumns;
|
|
2782
2782
|
if (!mc) return;
|
|
2783
2783
|
const keys = Object.keys(data);
|
|
2784
2784
|
for (const key of keys) {
|
|
2785
|
-
if (mc.email && key === mc.email || mc.phone && key === mc.phone) {
|
|
2785
|
+
if (mc.email && key === mc.email || mc.phone && key === mc.phone || mc.apiKey && key === mc.apiKey) {
|
|
2786
|
+
const friendly = key === mc.email ? "email" : key === mc.phone ? "phone" : "API key";
|
|
2786
2787
|
throw new MindStudioError(
|
|
2787
|
-
`Cannot write to "${key}" \u2014 this column is managed by auth. Use the auth API to change a user's ${
|
|
2788
|
+
`Cannot write to "${key}" \u2014 this column is managed by auth. Use the auth API to change a user's ${friendly}.`,
|
|
2788
2789
|
"managed_column_write",
|
|
2789
2790
|
400
|
|
2790
2791
|
);
|
|
@@ -3006,7 +3007,7 @@ function buildTaskRequestBody(options) {
|
|
|
3006
3007
|
prompt: options.prompt,
|
|
3007
3008
|
input: options.input,
|
|
3008
3009
|
tools: mapTools(options.tools),
|
|
3009
|
-
structuredOutputExample: options.structuredOutputExample,
|
|
3010
|
+
structuredOutputExample: typeof options.structuredOutputExample === "string" ? options.structuredOutputExample : JSON.stringify(options.structuredOutputExample),
|
|
3010
3011
|
model: options.model,
|
|
3011
3012
|
...options.maxTurns != null && { maxTurns: options.maxTurns },
|
|
3012
3013
|
...options.appId != null && { appId: options.appId },
|
|
@@ -3016,6 +3017,16 @@ function buildTaskRequestBody(options) {
|
|
|
3016
3017
|
function sleep2(ms) {
|
|
3017
3018
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
3018
3019
|
}
|
|
3020
|
+
function isDevMode() {
|
|
3021
|
+
return !!(process.env.CALLBACK_TOKEN || getRequestContext()?.callbackToken);
|
|
3022
|
+
}
|
|
3023
|
+
function logTaskResult(result) {
|
|
3024
|
+
if (!isDevMode()) return;
|
|
3025
|
+
const toolSummary = result.toolCalls.map((tc) => `${tc.name} (${tc.durationMs}ms) ${tc.success ? "\u2713" : "\u2717"}`).join(", ");
|
|
3026
|
+
console.log(
|
|
3027
|
+
`[task] ${result.turns} turn${result.turns === 1 ? "" : "s"}` + (toolSummary ? `: ${toolSummary}` : "") + ` | ${result.parsedSuccessfully ? "output OK" : "\u26A0 output not valid JSON"} | cost: ${result.usage.totalBillingCost}`
|
|
3028
|
+
);
|
|
3029
|
+
}
|
|
3019
3030
|
async function runTaskPoll(httpConfig, body) {
|
|
3020
3031
|
const { data } = await request(
|
|
3021
3032
|
httpConfig,
|
|
@@ -3031,6 +3042,7 @@ async function runTaskPoll(httpConfig, body) {
|
|
|
3031
3042
|
const res = await fetch(pollUrl, {
|
|
3032
3043
|
headers: { "User-Agent": "@mindstudio-ai/agent" }
|
|
3033
3044
|
});
|
|
3045
|
+
if (res.status === 502 || res.status === 503 || res.status === 504) continue;
|
|
3034
3046
|
if (res.status === 404) {
|
|
3035
3047
|
throw new MindStudioError(
|
|
3036
3048
|
"Task poll token not found or expired.",
|
|
@@ -3048,7 +3060,12 @@ async function runTaskPoll(httpConfig, body) {
|
|
|
3048
3060
|
);
|
|
3049
3061
|
}
|
|
3050
3062
|
const poll = await res.json();
|
|
3051
|
-
if (poll.status === "pending")
|
|
3063
|
+
if (poll.status === "pending") {
|
|
3064
|
+
if (isDevMode() && poll.currentTurn != null) {
|
|
3065
|
+
console.log(`[task] running... turn ${poll.currentTurn}/${poll.maxTurns ?? "?"}`);
|
|
3066
|
+
}
|
|
3067
|
+
continue;
|
|
3068
|
+
}
|
|
3052
3069
|
if (poll.status === "error") {
|
|
3053
3070
|
throw new MindStudioError(
|
|
3054
3071
|
poll.error ?? "Task execution failed.",
|
|
@@ -3056,11 +3073,16 @@ async function runTaskPoll(httpConfig, body) {
|
|
|
3056
3073
|
500
|
|
3057
3074
|
);
|
|
3058
3075
|
}
|
|
3059
|
-
|
|
3076
|
+
const result = {
|
|
3060
3077
|
output: poll.output,
|
|
3078
|
+
outputRaw: poll.outputRaw ?? "",
|
|
3079
|
+
parsedSuccessfully: poll.parsedSuccessfully ?? true,
|
|
3061
3080
|
turns: poll.turns ?? 0,
|
|
3062
|
-
usage: poll.usage ?? { inputTokens: 0, outputTokens: 0, totalBillingCost: 0 }
|
|
3081
|
+
usage: poll.usage ?? { inputTokens: 0, outputTokens: 0, totalBillingCost: 0 },
|
|
3082
|
+
toolCalls: poll.toolCalls ?? []
|
|
3063
3083
|
};
|
|
3084
|
+
logTaskResult(result);
|
|
3085
|
+
return result;
|
|
3064
3086
|
}
|
|
3065
3087
|
}
|
|
3066
3088
|
async function runTaskStream(httpConfig, body, onEvent) {
|
|
@@ -3120,12 +3142,15 @@ async function runTaskStream(httpConfig, body, onEvent) {
|
|
|
3120
3142
|
if (event.type === "done") {
|
|
3121
3143
|
result = {
|
|
3122
3144
|
output: event.output,
|
|
3145
|
+
outputRaw: event.outputRaw ?? "",
|
|
3146
|
+
parsedSuccessfully: event.parsedSuccessfully ?? true,
|
|
3123
3147
|
turns: event.turns ?? 0,
|
|
3124
3148
|
usage: event.usage ?? {
|
|
3125
3149
|
inputTokens: 0,
|
|
3126
3150
|
outputTokens: 0,
|
|
3127
3151
|
totalBillingCost: 0
|
|
3128
|
-
}
|
|
3152
|
+
},
|
|
3153
|
+
toolCalls: event.toolCalls ?? []
|
|
3129
3154
|
};
|
|
3130
3155
|
}
|
|
3131
3156
|
} catch (err) {
|
|
@@ -3147,12 +3172,15 @@ async function runTaskStream(httpConfig, body, onEvent) {
|
|
|
3147
3172
|
if (event.type === "done") {
|
|
3148
3173
|
result = {
|
|
3149
3174
|
output: event.output,
|
|
3175
|
+
outputRaw: event.outputRaw ?? "",
|
|
3176
|
+
parsedSuccessfully: event.parsedSuccessfully ?? true,
|
|
3150
3177
|
turns: event.turns ?? 0,
|
|
3151
3178
|
usage: event.usage ?? {
|
|
3152
3179
|
inputTokens: 0,
|
|
3153
3180
|
outputTokens: 0,
|
|
3154
3181
|
totalBillingCost: 0
|
|
3155
|
-
}
|
|
3182
|
+
},
|
|
3183
|
+
toolCalls: event.toolCalls ?? []
|
|
3156
3184
|
};
|
|
3157
3185
|
}
|
|
3158
3186
|
} catch (err) {
|
|
@@ -3166,6 +3194,7 @@ async function runTaskStream(httpConfig, body, onEvent) {
|
|
|
3166
3194
|
500
|
|
3167
3195
|
);
|
|
3168
3196
|
}
|
|
3197
|
+
logTaskResult(result);
|
|
3169
3198
|
return result;
|
|
3170
3199
|
}
|
|
3171
3200
|
var init_task = __esm({
|
|
@@ -3173,6 +3202,7 @@ var init_task = __esm({
|
|
|
3173
3202
|
"use strict";
|
|
3174
3203
|
init_http();
|
|
3175
3204
|
init_errors();
|
|
3205
|
+
init_context();
|
|
3176
3206
|
init_metadata();
|
|
3177
3207
|
}
|
|
3178
3208
|
});
|
|
@@ -3825,48 +3855,80 @@ var init_client = __esm({
|
|
|
3825
3855
|
);
|
|
3826
3856
|
}
|
|
3827
3857
|
const threadId = options?.threadId ?? (this._reuseThreadId && !getRequestContext() ? this._threadId : void 0);
|
|
3828
|
-
const { data, headers } = await request(this.
|
|
3858
|
+
const { data: asyncData, headers } = await request(this._currentHttpConfig, "POST", `/steps/${stepType}/execute-async`, {
|
|
3829
3859
|
step,
|
|
3830
3860
|
...options?.appId != null && { appId: options.appId },
|
|
3831
3861
|
...threadId != null && { threadId },
|
|
3832
3862
|
...this._currentStreamId != null && { streamId: this._currentStreamId }
|
|
3833
3863
|
});
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3864
|
+
const remaining = headers.get("x-ratelimit-remaining");
|
|
3865
|
+
const returnedThreadId = asyncData.threadId ?? "";
|
|
3866
|
+
if (this._reuseThreadId && returnedThreadId && !getRequestContext()) {
|
|
3867
|
+
this._threadId = returnedThreadId;
|
|
3868
|
+
}
|
|
3869
|
+
if (!this._appId && asyncData.appId && !getRequestContext()) {
|
|
3870
|
+
this._appId = asyncData.appId;
|
|
3871
|
+
}
|
|
3872
|
+
const pollUrl = `${this._currentHttpConfig.baseUrl}/developer/v2/steps/${stepType}/execute-async/poll/${asyncData.executionToken}`;
|
|
3873
|
+
let pollDelay = 100;
|
|
3874
|
+
while (true) {
|
|
3875
|
+
await sleep3(pollDelay);
|
|
3876
|
+
pollDelay = Math.min(pollDelay * 2, 5e3);
|
|
3877
|
+
const res = await fetch(pollUrl, {
|
|
3878
|
+
headers: { "User-Agent": "@mindstudio-ai/agent" }
|
|
3879
|
+
});
|
|
3880
|
+
if (res.status === 502 || res.status === 503 || res.status === 504) continue;
|
|
3881
|
+
if (res.status === 404) {
|
|
3882
|
+
throw new MindStudioError(
|
|
3883
|
+
`[${stepType}] Execution token expired.`,
|
|
3884
|
+
"poll_token_expired",
|
|
3885
|
+
404
|
|
3886
|
+
);
|
|
3887
|
+
}
|
|
3839
3888
|
if (!res.ok) {
|
|
3889
|
+
const errorBody = await res.json().catch(() => ({}));
|
|
3840
3890
|
throw new MindStudioError(
|
|
3841
|
-
|
|
3842
|
-
"
|
|
3843
|
-
res.status
|
|
3891
|
+
errorBody.message ?? errorBody.error ?? `[${stepType}] Poll failed: ${res.status} ${res.statusText}`,
|
|
3892
|
+
errorBody.code ?? "poll_error",
|
|
3893
|
+
res.status,
|
|
3894
|
+
errorBody
|
|
3844
3895
|
);
|
|
3845
3896
|
}
|
|
3846
|
-
const
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3897
|
+
const poll = await res.json();
|
|
3898
|
+
if (poll.status === "pending") continue;
|
|
3899
|
+
if (poll.status === "error") {
|
|
3900
|
+
throw new MindStudioError(
|
|
3901
|
+
`[${stepType}] ${poll.error ?? "Step execution failed."}`,
|
|
3902
|
+
"step_error",
|
|
3903
|
+
500
|
|
3904
|
+
);
|
|
3905
|
+
}
|
|
3906
|
+
let output;
|
|
3907
|
+
if (poll.output != null) {
|
|
3908
|
+
output = poll.output;
|
|
3909
|
+
} else if (poll.outputUrl) {
|
|
3910
|
+
const s3Res = await fetch(poll.outputUrl);
|
|
3911
|
+
if (!s3Res.ok) {
|
|
3912
|
+
throw new MindStudioError(
|
|
3913
|
+
`Failed to fetch ${stepType} output from S3: ${s3Res.status} ${s3Res.statusText}`,
|
|
3914
|
+
"output_fetch_error",
|
|
3915
|
+
s3Res.status
|
|
3916
|
+
);
|
|
3917
|
+
}
|
|
3918
|
+
const envelope = await s3Res.json();
|
|
3919
|
+
output = envelope.value;
|
|
3920
|
+
} else {
|
|
3921
|
+
output = void 0;
|
|
3922
|
+
}
|
|
3923
|
+
return {
|
|
3924
|
+
...output,
|
|
3925
|
+
$appId: poll.appId ?? asyncData.appId ?? "",
|
|
3926
|
+
$threadId: poll.threadId ?? returnedThreadId,
|
|
3927
|
+
$rateLimitRemaining: remaining != null ? parseInt(remaining, 10) : void 0,
|
|
3928
|
+
$billingCost: poll.billingCost,
|
|
3929
|
+
$billingEvents: poll.billingEvents
|
|
3930
|
+
};
|
|
3858
3931
|
}
|
|
3859
|
-
const remaining = headers.get("x-ratelimit-remaining");
|
|
3860
|
-
const billingCost = headers.get("x-mindstudio-billing-cost");
|
|
3861
|
-
const billingEvents = headers.get("x-mindstudio-billing-events");
|
|
3862
|
-
return {
|
|
3863
|
-
...output,
|
|
3864
|
-
$appId: headers.get("x-mindstudio-app-id") ?? "",
|
|
3865
|
-
$threadId: returnedThreadId,
|
|
3866
|
-
$rateLimitRemaining: remaining != null ? parseInt(remaining, 10) : void 0,
|
|
3867
|
-
$billingCost: billingCost != null ? parseFloat(billingCost) : void 0,
|
|
3868
|
-
$billingEvents: billingEvents != null ? JSON.parse(billingEvents) : void 0
|
|
3869
|
-
};
|
|
3870
3932
|
}
|
|
3871
3933
|
/**
|
|
3872
3934
|
* @internal Streaming step execution — sends `Accept: text/event-stream`
|
|
@@ -4065,6 +4127,7 @@ var init_client = __esm({
|
|
|
4065
4127
|
const res = await fetch(pollUrl, {
|
|
4066
4128
|
headers: { "User-Agent": "@mindstudio-ai/agent" }
|
|
4067
4129
|
});
|
|
4130
|
+
if (res.status === 502 || res.status === 503 || res.status === 504) continue;
|
|
4068
4131
|
if (res.status === 404) {
|
|
4069
4132
|
throw new MindStudioError(
|
|
4070
4133
|
"Batch poll token not found or expired.",
|
|
@@ -4228,6 +4291,7 @@ var init_client = __esm({
|
|
|
4228
4291
|
const res = await fetch(pollUrl, {
|
|
4229
4292
|
headers: { "User-Agent": "@mindstudio-ai/agent" }
|
|
4230
4293
|
});
|
|
4294
|
+
if (res.status === 502 || res.status === 503 || res.status === 504) continue;
|
|
4231
4295
|
if (res.status === 404) {
|
|
4232
4296
|
throw new MindStudioError(
|
|
4233
4297
|
"Poll token not found or expired.",
|
|
@@ -5494,7 +5558,7 @@ async function startMcpServer(options) {
|
|
|
5494
5558
|
capabilities: { tools: {} },
|
|
5495
5559
|
serverInfo: {
|
|
5496
5560
|
name: "mindstudio-agent",
|
|
5497
|
-
version: "0.1.
|
|
5561
|
+
version: "0.1.48"
|
|
5498
5562
|
},
|
|
5499
5563
|
instructions: 'Welcome to MindStudio \u2014 a platform with 200+ AI models, 850+ third-party integrations, and pre-built agents.\n\nGetting started:\n1. Call `ask` with any question about the SDK \u2014 it knows every action, model, and connector and returns working code with real model IDs and config options. Examples: ask("generate an image with FLUX"), ask("what models support vision?"), ask("how do I send a Slack message?").\n2. Call `changeName` to set your display name \u2014 use your name or whatever your user calls you. This is how you\'ll appear in MindStudio request logs.\n3. If you have a profile picture or icon, call `uploadFile` to upload it, then `changeProfilePicture` with the returned URL.\n4. For manual browsing, call `listActions` to discover all available actions.\n\nThen use the tools to generate text, images, video, audio, search the web, work with data sources, run agents, and more.\n\nImportant:\n- AI-powered actions (text generation, image generation, video, audio, etc.) cost money. Before running these, call `estimateActionCost` and confirm with the user before proceeding \u2014 unless they\'ve explicitly told you to go ahead.\n- Not all agents from `listAgents` are configured for API use. Do not try to run an agent just because it appears in the list \u2014 it will likely fail. Only run agents the user specifically asks you to run.'
|
|
5500
5564
|
});
|
|
@@ -6451,7 +6515,7 @@ function isNewerVersion(current, latest) {
|
|
|
6451
6515
|
return false;
|
|
6452
6516
|
}
|
|
6453
6517
|
async function checkForUpdate() {
|
|
6454
|
-
const currentVersion = "0.1.
|
|
6518
|
+
const currentVersion = "0.1.48";
|
|
6455
6519
|
if (!currentVersion) return null;
|
|
6456
6520
|
try {
|
|
6457
6521
|
const { loadConfig: loadConfig2, saveConfig: saveConfig2 } = await Promise.resolve().then(() => (init_config(), config_exports));
|
|
@@ -6480,7 +6544,7 @@ async function checkForUpdate() {
|
|
|
6480
6544
|
}
|
|
6481
6545
|
}
|
|
6482
6546
|
function printUpdateNotice(latestVersion) {
|
|
6483
|
-
const currentVersion = "0.1.
|
|
6547
|
+
const currentVersion = "0.1.48";
|
|
6484
6548
|
process.stderr.write(
|
|
6485
6549
|
`
|
|
6486
6550
|
${ansi2.cyanBright("Update available")} ${ansi2.gray(currentVersion + " \u2192")} ${ansi2.cyanBold(latestVersion)}
|
|
@@ -6493,7 +6557,7 @@ function isStandaloneBinary() {
|
|
|
6493
6557
|
return !argv1.includes("node_modules");
|
|
6494
6558
|
}
|
|
6495
6559
|
async function cmdUpdate() {
|
|
6496
|
-
const currentVersion = "0.1.
|
|
6560
|
+
const currentVersion = "0.1.48";
|
|
6497
6561
|
process.stderr.write(
|
|
6498
6562
|
` ${ansi2.gray("Current version:")} ${currentVersion}
|
|
6499
6563
|
`
|
|
@@ -6628,7 +6692,7 @@ async function cmdLogin(options) {
|
|
|
6628
6692
|
process.stderr.write("\n");
|
|
6629
6693
|
printLogo();
|
|
6630
6694
|
process.stderr.write("\n");
|
|
6631
|
-
const ver = "0.1.
|
|
6695
|
+
const ver = "0.1.48";
|
|
6632
6696
|
process.stderr.write(
|
|
6633
6697
|
` ${ansi2.bold("MindStudio Agent")} ${ver ? " " + ansi2.gray("v" + ver) : ""}
|
|
6634
6698
|
`
|
|
@@ -6955,7 +7019,7 @@ async function main() {
|
|
|
6955
7019
|
try {
|
|
6956
7020
|
if (command === "version" || command === "-v") {
|
|
6957
7021
|
process.stdout.write(
|
|
6958
|
-
"0.1.
|
|
7022
|
+
"0.1.48\n"
|
|
6959
7023
|
);
|
|
6960
7024
|
return;
|
|
6961
7025
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -656,12 +656,13 @@ interface TableConfig {
|
|
|
656
656
|
defaults?: Record<string, unknown>;
|
|
657
657
|
/**
|
|
658
658
|
* Platform-managed auth columns. Set when this table is the app's auth
|
|
659
|
-
* table. Writes to email/phone columns throw; roles writes are allowed.
|
|
659
|
+
* table. Writes to email/phone/apiKey columns throw; roles writes are allowed.
|
|
660
660
|
*/
|
|
661
661
|
managedColumns?: {
|
|
662
662
|
email?: string;
|
|
663
663
|
phone?: string;
|
|
664
664
|
roles?: string;
|
|
665
|
+
apiKey?: string;
|
|
665
666
|
};
|
|
666
667
|
/**
|
|
667
668
|
* Sync role changes to the platform after a successful auth table write.
|
|
@@ -956,7 +957,7 @@ declare class Table<T> {
|
|
|
956
957
|
* @param data - Row data to insert (or update on conflict). Defaults apply.
|
|
957
958
|
*/
|
|
958
959
|
upsert(conflictKey: (keyof Omit<T, SystemFields> & string) | (keyof Omit<T, SystemFields> & string)[], data: PushInput<T>): Mutation<T>;
|
|
959
|
-
/** @internal Throw if data includes a platform-managed
|
|
960
|
+
/** @internal Throw if data includes a platform-managed read-only column. */
|
|
960
961
|
private _checkManagedColumns;
|
|
961
962
|
/**
|
|
962
963
|
* @internal Fire role sync for rows that wrote to the roles column.
|
|
@@ -1159,11 +1160,11 @@ interface RunTaskOptions {
|
|
|
1159
1160
|
input: Record<string, unknown>;
|
|
1160
1161
|
/** SDK method names to make available as tools, with optional default overrides. */
|
|
1161
1162
|
tools: TaskToolConfig[];
|
|
1162
|
-
/** JSON string
|
|
1163
|
-
structuredOutputExample: string
|
|
1163
|
+
/** Expected output shape. Pass a JSON string or an object (will be stringified automatically). */
|
|
1164
|
+
structuredOutputExample: string | Record<string, unknown>;
|
|
1164
1165
|
/** Model ID for the task agent. Must support tool use. */
|
|
1165
1166
|
model: string;
|
|
1166
|
-
/** Max loop iterations before forcing final output. Default
|
|
1167
|
+
/** Max loop iterations before forcing final output. Default 20, max 100. */
|
|
1167
1168
|
maxTurns?: number;
|
|
1168
1169
|
/** App ID to execute within. */
|
|
1169
1170
|
appId?: string;
|
|
@@ -1178,9 +1179,15 @@ interface RunTaskOptions {
|
|
|
1178
1179
|
}
|
|
1179
1180
|
/** An event from a streaming task agent execution. */
|
|
1180
1181
|
interface TaskEvent {
|
|
1181
|
-
type: 'text' | '
|
|
1182
|
+
type: 'text' | 'thinking' | 'thinking_complete' | 'tool_use' | 'tool_input_delta' | 'tool_input_args' | 'tool_call_start' | 'tool_call_result' | 'error' | 'done';
|
|
1182
1183
|
[key: string]: unknown;
|
|
1183
1184
|
}
|
|
1185
|
+
/** Summary of a single tool call within a task execution. */
|
|
1186
|
+
interface TaskToolCall {
|
|
1187
|
+
name: string;
|
|
1188
|
+
success: boolean;
|
|
1189
|
+
durationMs: number;
|
|
1190
|
+
}
|
|
1184
1191
|
/** Usage stats from a task agent execution. */
|
|
1185
1192
|
interface TaskUsage {
|
|
1186
1193
|
inputTokens: number;
|
|
@@ -1191,10 +1198,16 @@ interface TaskUsage {
|
|
|
1191
1198
|
interface RunTaskResult<T = unknown> {
|
|
1192
1199
|
/** Structured output from the task agent, parsed as JSON. */
|
|
1193
1200
|
output: T;
|
|
1201
|
+
/** Raw model text before JSON parse. Useful for debugging when output is garbage. */
|
|
1202
|
+
outputRaw: string;
|
|
1203
|
+
/** Whether the output was valid JSON. When false, `output` is the raw string. */
|
|
1204
|
+
parsedSuccessfully: boolean;
|
|
1194
1205
|
/** Number of loop iterations used. */
|
|
1195
1206
|
turns: number;
|
|
1196
1207
|
/** Token and cost usage. */
|
|
1197
1208
|
usage: TaskUsage;
|
|
1209
|
+
/** Summary of every tool call made during execution. */
|
|
1210
|
+
toolCalls: TaskToolCall[];
|
|
1198
1211
|
}
|
|
1199
1212
|
|
|
1200
1213
|
/**
|
|
@@ -8206,4 +8219,4 @@ declare const stream: (data: string | Record<string, unknown>) => Promise<void>;
|
|
|
8206
8219
|
*/
|
|
8207
8220
|
declare const resolveUser: (userId: string) => Promise<ResolvedUser | null>;
|
|
8208
8221
|
|
|
8209
|
-
export { type Accessor, 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 AppAuthContext, type AppContextResult, type AppDatabase, type AppDatabaseColumnSchema, type AppDatabaseTable, type AppRoleAssignment, AuthContext, type AuthTableConfig, type BatchStepInput, type BatchStepResult, 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 CreateDataSourceStepInput, type CreateDataSourceStepOutput, type CreateGmailDraftStepInput, type CreateGmailDraftStepOutput, type CreateGoogleCalendarEventStepInput, type CreateGoogleCalendarEventStepOutput, type CreateGoogleDocStepInput, type CreateGoogleDocStepOutput, type CreateGoogleSheetStepInput, type CreateGoogleSheetStepOutput, type Db, 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 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 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 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 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 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 ListGmailLabelsStepInput, type ListGmailLabelsStepOutput, type ListGoogleCalendarEventsStepInput, type ListGoogleCalendarEventsStepOutput, type ListGoogleDriveFilesStepInput, type ListGoogleDriveFilesStepOutput, type ListRecentGmailEmailsStepInput, type ListRecentGmailEmailsStepOutput, type LogicStepInput, type LogicStepOutput, type MakeDotComRunScenarioStepInput, type MakeDotComRunScenarioStepOutput, type MergeAudioStepInput, type MergeAudioStepOutput, type MergeVideosStepInput, type MergeVideosStepOutput, 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 PeopleSearchStepInput, type PeopleSearchStepOutput, type PostToLinkedInStepInput, type PostToLinkedInStepOutput, type PostToSlackChannelStepInput, type PostToSlackChannelStepOutput, type PostToXStepInput, type PostToXStepOutput, type PostToZapierStepInput, type PostToZapierStepOutput, type Predicate, type PushInput, Query, type QueryAppDatabaseStepInput, type QueryAppDatabaseStepOutput, type QueryDataSourceStepInput, type QueryDataSourceStepOutput, type QueryExternalDatabaseStepInput, type QueryExternalDatabaseStepOutput, type RedactPIIStepInput, type RedactPIIStepOutput, type RemoveBackgroundFromImageStepInput, type RemoveBackgroundFromImageStepOutput, type ReplyToGmailEmailStepInput, type ReplyToGmailEmailStepOutput, type RequestContext, type ResizeVideoStepInput, type ResizeVideoStepOutput, type ResolvedUser, Roles, type RunAgentOptions, type RunAgentResult, type RunFromConnectorRegistryStepInput, type RunFromConnectorRegistryStepOutput, type RunPackagedWorkflowStepInput, type RunPackagedWorkflowStepOutput, type RunTaskOptions, type RunTaskResult, 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 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 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, type SystemFields, Table, type TaskEvent, type TaskToolConfig, type TaskUsage, 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 UpdateGmailLabelsStepInput, type UpdateGmailLabelsStepOutput, type UpdateGoogleCalendarEventStepInput, type UpdateGoogleCalendarEventStepOutput, type UpdateGoogleDocStepInput, type UpdateGoogleDocStepOutput, type UpdateGoogleSheetStepInput, type UpdateGoogleSheetStepOutput, type UpdateInput, type UploadDataSourceDocumentStepInput, type UploadDataSourceDocumentStepOutput, type UploadFileResult, 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 WatermarkImageStepInput, type WatermarkImageStepOutput, type WatermarkVideoStepInput, type WatermarkVideoStepOutput, auth, blockTypeAliases, db, mindstudio as default, getRequestContext, mindstudio, monacoSnippets, resolveUser, runWithContext, stepMetadata, stream };
|
|
8222
|
+
export { type Accessor, 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 AppAuthContext, type AppContextResult, type AppDatabase, type AppDatabaseColumnSchema, type AppDatabaseTable, type AppRoleAssignment, AuthContext, type AuthTableConfig, type BatchStepInput, type BatchStepResult, 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 CreateDataSourceStepInput, type CreateDataSourceStepOutput, type CreateGmailDraftStepInput, type CreateGmailDraftStepOutput, type CreateGoogleCalendarEventStepInput, type CreateGoogleCalendarEventStepOutput, type CreateGoogleDocStepInput, type CreateGoogleDocStepOutput, type CreateGoogleSheetStepInput, type CreateGoogleSheetStepOutput, type Db, 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 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 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 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 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 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 ListGmailLabelsStepInput, type ListGmailLabelsStepOutput, type ListGoogleCalendarEventsStepInput, type ListGoogleCalendarEventsStepOutput, type ListGoogleDriveFilesStepInput, type ListGoogleDriveFilesStepOutput, type ListRecentGmailEmailsStepInput, type ListRecentGmailEmailsStepOutput, type LogicStepInput, type LogicStepOutput, type MakeDotComRunScenarioStepInput, type MakeDotComRunScenarioStepOutput, type MergeAudioStepInput, type MergeAudioStepOutput, type MergeVideosStepInput, type MergeVideosStepOutput, 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 PeopleSearchStepInput, type PeopleSearchStepOutput, type PostToLinkedInStepInput, type PostToLinkedInStepOutput, type PostToSlackChannelStepInput, type PostToSlackChannelStepOutput, type PostToXStepInput, type PostToXStepOutput, type PostToZapierStepInput, type PostToZapierStepOutput, type Predicate, type PushInput, Query, type QueryAppDatabaseStepInput, type QueryAppDatabaseStepOutput, type QueryDataSourceStepInput, type QueryDataSourceStepOutput, type QueryExternalDatabaseStepInput, type QueryExternalDatabaseStepOutput, type RedactPIIStepInput, type RedactPIIStepOutput, type RemoveBackgroundFromImageStepInput, type RemoveBackgroundFromImageStepOutput, type ReplyToGmailEmailStepInput, type ReplyToGmailEmailStepOutput, type RequestContext, type ResizeVideoStepInput, type ResizeVideoStepOutput, type ResolvedUser, Roles, type RunAgentOptions, type RunAgentResult, type RunFromConnectorRegistryStepInput, type RunFromConnectorRegistryStepOutput, type RunPackagedWorkflowStepInput, type RunPackagedWorkflowStepOutput, type RunTaskOptions, type RunTaskResult, 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 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 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, type SystemFields, Table, type TaskEvent, type TaskToolCall, type TaskToolConfig, type TaskUsage, 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 UpdateGmailLabelsStepInput, type UpdateGmailLabelsStepOutput, type UpdateGoogleCalendarEventStepInput, type UpdateGoogleCalendarEventStepOutput, type UpdateGoogleDocStepInput, type UpdateGoogleDocStepOutput, type UpdateGoogleSheetStepInput, type UpdateGoogleSheetStepOutput, type UpdateInput, type UploadDataSourceDocumentStepInput, type UploadDataSourceDocumentStepOutput, type UploadFileResult, 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 WatermarkImageStepInput, type WatermarkImageStepOutput, type WatermarkVideoStepInput, type WatermarkVideoStepOutput, auth, blockTypeAliases, db, mindstudio as default, getRequestContext, mindstudio, monacoSnippets, resolveUser, runWithContext, stepMetadata, stream };
|