@mindstudio-ai/agent 0.1.172 → 0.1.173
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/cli.js +27 -27
- package/dist/index.d.ts +62 -13
- package/dist/index.js +21 -21
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +27 -27
- package/llms.txt +7 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,23 @@ What changed in `@mindstudio-ai/agent`, newest first, each version under its own
|
|
|
4
4
|
|
|
5
5
|
Versions before 0.1.163 aren't recorded here.
|
|
6
6
|
|
|
7
|
+
## 0.1.173
|
|
8
|
+
|
|
9
|
+
### New
|
|
10
|
+
|
|
11
|
+
- `voice.call({ to, from? })`: an app can hold several phone numbers, and `from` names which of them the call comes from. It must be one of the app's active numbers (`from_not_app_number`). With one number it can be left out, as before. With several it can't: a call without it throws `from_required`.
|
|
12
|
+
- A phone call's `session.sip` carries `appNumber`, the app's own number on the call: the number dialed on an inbound call, the caller ID on an outbound one. An app that gives each of its tenants a number finds the tenant by it, whichever way the call went. Absent on older platform versions.
|
|
13
|
+
- `downloadVideo` takes `item`, which item of a URL holding several to download (a carousel, a playlist, a post with several videos), counting from 1, and `start` and `duration`, in seconds, for a clip. An mp4 clip is cut without re-encoding, so it can start a moment before `start`; an mp3 clip is exact. Its output adds `title`, `durationSec` (the downloaded file's own length) and `itemCount` (how many items the URL holds, absent for a playlist the site doesn't count up front). App code isn't affected.
|
|
14
|
+
- A browser session's `screenshot({ boxes })` takes elements, named as an action names them, and the shot's `boxes` say where each is in it, in its CSS pixels, measured as the shot is taken (`null` for one the page doesn't have). Draw highlights from these: an action's `box` is where the element was as the action landed, and a page can move after, as when a banner arrives and pushes it down, so a highlight drawn from it can miss on a later shot. They also hold on a `fullPage` shot, where an action's viewport `box` doesn't. Check: an app that draws a highlight on a screenshot from an action's `box` should ask the screenshot for it instead.
|
|
15
|
+
|
|
16
|
+
### Changed behavior
|
|
17
|
+
|
|
18
|
+
- An app with more than one active phone number must pass `from` to `voice.call`. Apps with one number aren't affected.
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- `downloadVideo` on an Instagram link to one slide of a carousel (`?img_index=3`) downloads that slide, where it downloaded the first. A photo, and an item past the end of a URL's list, now fail at once with `video_unavailable`, where they retried and then failed with `download_failed`. An app that matched `download_failed` for those should match `video_unavailable`.
|
|
23
|
+
|
|
7
24
|
## 0.1.172
|
|
8
25
|
|
|
9
26
|
### New
|
package/dist/cli.js
CHANGED
|
@@ -271,9 +271,9 @@ var init_metadata = __esm({
|
|
|
271
271
|
"downloadVideo": {
|
|
272
272
|
stepType: "downloadVideo",
|
|
273
273
|
description: "Download a video file",
|
|
274
|
-
usageNotes: "- Works with YouTube, TikTok, etc., by using ytdlp behind the scenes\n- Can save as mp4 or mp3",
|
|
275
|
-
inputSchema: { "type": "object", "properties": { "videoUrl": { "type": "string", "description": "URL of the video to download (supports YouTube, TikTok, etc. via yt-dlp)" }, "format": { "enum": ["mp4", "mp3"], "type": "string", "description": "Output format for the downloaded file" } }, "required": ["videoUrl", "format"] },
|
|
276
|
-
outputSchema: { "type": "object", "properties": { "videoUrl": { "type": "string", "description": "URL of the downloaded and re-hosted video file" } }, "required": ["videoUrl"] }
|
|
274
|
+
usageNotes: "- Works with YouTube, TikTok, etc., by using ytdlp behind the scenes\n- Can save as mp4 or mp3\n- `item` picks one item of a URL that holds several: a carousel, a playlist, a post with several videos. A link to one slide of a carousel downloads that slide. `itemCount` in the output says how many there are, so download item 1 and loop for the rest\n- `start` and `duration` (seconds) download a clip. An mp4 clip is cut without re-encoding, so it can start a moment before `start` (for an exact cut, trim the result with `trimMedia`); an mp3 clip is exact\n- Videos and audio only: a photo (a photo post, a photo in a carousel) fails as `video_unavailable`, and so does an item the URL doesn't have",
|
|
275
|
+
inputSchema: { "type": "object", "properties": { "videoUrl": { "type": "string", "description": "URL of the video to download (supports YouTube, TikTok, etc. via yt-dlp)" }, "format": { "enum": ["mp4", "mp3"], "type": "string", "description": "Output format for the downloaded file" }, "item": { "type": "number", "description": "Which item to download from a URL that holds several (a carousel, a playlist, a post with several videos), counting from 1. Omit for the one the URL names, else the first" }, "start": { "type": "number", "description": "Start of a clip, in seconds. Omit to start at the beginning" }, "duration": { "type": "number", "description": "Length of a clip, in seconds. Omit to run to the end" } }, "required": ["videoUrl", "format"] },
|
|
276
|
+
outputSchema: { "type": "object", "properties": { "videoUrl": { "type": "string", "description": "URL of the downloaded and re-hosted video file" }, "title": { "type": "string", "description": "The video's title, as the site gives it" }, "durationSec": { "type": "number", "description": "How long the downloaded file runs, in seconds: a clip's own length" }, "itemCount": { "type": "number", "description": "How many items the URL holds: 1 for a single video. Absent for a playlist the site doesn't count up front (a channel, a long playlist)" } }, "required": ["videoUrl"] }
|
|
277
277
|
},
|
|
278
278
|
"enhanceImageGenerationPrompt": {
|
|
279
279
|
stepType: "enhanceImageGenerationPrompt",
|
|
@@ -5591,6 +5591,7 @@ function createVoice(call) {
|
|
|
5591
5591
|
async call(params) {
|
|
5592
5592
|
return await call("call", {
|
|
5593
5593
|
to: params.to,
|
|
5594
|
+
...params.from !== void 0 ? { from: params.from } : {},
|
|
5594
5595
|
assumeIdentity: params.assumeIdentity === true
|
|
5595
5596
|
});
|
|
5596
5597
|
}
|
|
@@ -5906,36 +5907,35 @@ Then describe the page briefly: its layout, its content, and what state it is in
|
|
|
5906
5907
|
});
|
|
5907
5908
|
}
|
|
5908
5909
|
async screenshot(options = {}) {
|
|
5909
|
-
const { store, key, fullPage, cursor } = options;
|
|
5910
|
+
const { store, key, fullPage, cursor, boxes } = options;
|
|
5911
|
+
const asked = {
|
|
5912
|
+
op: "screenshot",
|
|
5913
|
+
fullPage: !!fullPage,
|
|
5914
|
+
cursor: !!cursor,
|
|
5915
|
+
...boxes?.length ? { boxes: boxes.map(toWireTarget) } : {}
|
|
5916
|
+
};
|
|
5917
|
+
const measured = (shot2) => ({
|
|
5918
|
+
width: shot2.width,
|
|
5919
|
+
height: shot2.height,
|
|
5920
|
+
deviceScaleFactor: shot2.deviceScaleFactor,
|
|
5921
|
+
...shot2.boxes ? { boxes: shot2.boxes } : {}
|
|
5922
|
+
});
|
|
5910
5923
|
if (store) {
|
|
5911
5924
|
const token = await store.createUploadToken({
|
|
5912
5925
|
...key ? { key } : { filename: "screenshot.png" },
|
|
5913
5926
|
contentType: "image/png"
|
|
5914
5927
|
});
|
|
5915
5928
|
const shot2 = await this.run({
|
|
5916
|
-
|
|
5917
|
-
fullPage: !!fullPage,
|
|
5918
|
-
cursor: !!cursor,
|
|
5929
|
+
...asked,
|
|
5919
5930
|
upload: { url: token.upload.url, fields: token.upload.fields }
|
|
5920
5931
|
});
|
|
5921
|
-
return {
|
|
5922
|
-
...await store.head(token.key),
|
|
5923
|
-
width: shot2.width,
|
|
5924
|
-
height: shot2.height,
|
|
5925
|
-
deviceScaleFactor: shot2.deviceScaleFactor
|
|
5926
|
-
};
|
|
5932
|
+
return { ...await store.head(token.key), ...measured(shot2) };
|
|
5927
5933
|
}
|
|
5928
|
-
const shot = await this.run(
|
|
5929
|
-
op: "screenshot",
|
|
5930
|
-
fullPage: !!fullPage,
|
|
5931
|
-
cursor: !!cursor
|
|
5932
|
-
});
|
|
5934
|
+
const shot = await this.run(asked);
|
|
5933
5935
|
return {
|
|
5934
5936
|
data: Buffer.from(shot.data ?? "", "base64"),
|
|
5935
5937
|
contentType: "image/png",
|
|
5936
|
-
|
|
5937
|
-
height: shot.height,
|
|
5938
|
-
deviceScaleFactor: shot.deviceScaleFactor
|
|
5938
|
+
...measured(shot)
|
|
5939
5939
|
};
|
|
5940
5940
|
}
|
|
5941
5941
|
/**
|
|
@@ -10035,7 +10035,7 @@ async function startMcpServer(options) {
|
|
|
10035
10035
|
capabilities: { tools: {} },
|
|
10036
10036
|
serverInfo: {
|
|
10037
10037
|
name: "mindstudio-agent",
|
|
10038
|
-
version: "0.1.
|
|
10038
|
+
version: "0.1.173"
|
|
10039
10039
|
},
|
|
10040
10040
|
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, pass its public image URL to `changeProfilePicture`.\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.'
|
|
10041
10041
|
});
|
|
@@ -11075,7 +11075,7 @@ function isNewerVersion(current, latest) {
|
|
|
11075
11075
|
return false;
|
|
11076
11076
|
}
|
|
11077
11077
|
async function checkForUpdate() {
|
|
11078
|
-
const currentVersion = "0.1.
|
|
11078
|
+
const currentVersion = "0.1.173";
|
|
11079
11079
|
if (!currentVersion || process.env.MINDSTUDIO_NO_UPDATE_CHECK) {
|
|
11080
11080
|
return null;
|
|
11081
11081
|
}
|
|
@@ -11110,7 +11110,7 @@ async function checkForUpdate() {
|
|
|
11110
11110
|
}
|
|
11111
11111
|
}
|
|
11112
11112
|
function printUpdateNotice(latestVersion) {
|
|
11113
|
-
const currentVersion = "0.1.
|
|
11113
|
+
const currentVersion = "0.1.173";
|
|
11114
11114
|
process.stderr.write(
|
|
11115
11115
|
`
|
|
11116
11116
|
${ansi2.cyanBright("Update available")} ${ansi2.gray(currentVersion + " \u2192")} ${ansi2.cyanBold(latestVersion)}
|
|
@@ -11123,7 +11123,7 @@ function isStandaloneBinary() {
|
|
|
11123
11123
|
return !argv1.includes("node_modules");
|
|
11124
11124
|
}
|
|
11125
11125
|
async function cmdUpdate() {
|
|
11126
|
-
const currentVersion = "0.1.
|
|
11126
|
+
const currentVersion = "0.1.173";
|
|
11127
11127
|
process.stderr.write(
|
|
11128
11128
|
` ${ansi2.gray("Current version:")} ${currentVersion}
|
|
11129
11129
|
`
|
|
@@ -11264,7 +11264,7 @@ async function cmdLogin(options) {
|
|
|
11264
11264
|
process.stderr.write("\n");
|
|
11265
11265
|
printLogo();
|
|
11266
11266
|
process.stderr.write("\n");
|
|
11267
|
-
const ver = "0.1.
|
|
11267
|
+
const ver = "0.1.173";
|
|
11268
11268
|
process.stderr.write(
|
|
11269
11269
|
` ${ansi2.bold("MindStudio Agent")} ${ver ? " " + ansi2.gray("v" + ver) : ""}
|
|
11270
11270
|
`
|
|
@@ -11592,7 +11592,7 @@ async function main() {
|
|
|
11592
11592
|
const updatePromise = command !== "mcp" && command !== "login" && command !== "update" ? checkForUpdate() : Promise.resolve(null);
|
|
11593
11593
|
try {
|
|
11594
11594
|
if (command === "version" || command === "-v") {
|
|
11595
|
-
process.stdout.write("0.1.
|
|
11595
|
+
process.stdout.write("0.1.173\n");
|
|
11596
11596
|
return;
|
|
11597
11597
|
}
|
|
11598
11598
|
if (command === "login") {
|
package/dist/index.d.ts
CHANGED
|
@@ -3512,10 +3512,19 @@ interface Voice {
|
|
|
3512
3512
|
* the callee to this app's voice agent. Returns as soon as dialing starts;
|
|
3513
3513
|
* the outcome (answered, busy, no answer) lands on the call record.
|
|
3514
3514
|
*/
|
|
3515
|
-
call(params:
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3515
|
+
call(params: VoiceCallParams): Promise<VoiceCallResult>;
|
|
3516
|
+
}
|
|
3517
|
+
/** What `voice.call()` takes. */
|
|
3518
|
+
interface VoiceCallParams {
|
|
3519
|
+
/** The number to dial, E.164. */
|
|
3520
|
+
to: string;
|
|
3521
|
+
/**
|
|
3522
|
+
* Which of the app's own numbers to call from, E.164. Required once the
|
|
3523
|
+
* app has more than one; with one it's that one.
|
|
3524
|
+
*/
|
|
3525
|
+
from?: string;
|
|
3526
|
+
/** Run the call as the user who invoked this method. */
|
|
3527
|
+
assumeIdentity?: boolean;
|
|
3519
3528
|
}
|
|
3520
3529
|
|
|
3521
3530
|
type AnalyticsMetric = 'pageviews' | 'visitors' | 'visits' | 'events';
|
|
@@ -4557,7 +4566,7 @@ interface BrowserPage {
|
|
|
4557
4566
|
message: string;
|
|
4558
4567
|
}[];
|
|
4559
4568
|
}
|
|
4560
|
-
/** Where an element
|
|
4569
|
+
/** Where an element is, in CSS pixels: of the viewport for an action, of the shot for a screenshot's `boxes`. */
|
|
4561
4570
|
interface BrowserBox {
|
|
4562
4571
|
x: number;
|
|
4563
4572
|
y: number;
|
|
@@ -4568,7 +4577,11 @@ interface BrowserBox {
|
|
|
4568
4577
|
interface BrowserElementResult extends BrowserPage {
|
|
4569
4578
|
/** The element as the snapshot names it (`button "Sign in" [ref=e4]`). */
|
|
4570
4579
|
matched: string;
|
|
4571
|
-
/**
|
|
4580
|
+
/**
|
|
4581
|
+
* Where it was in the viewport when the action landed. A page can move after
|
|
4582
|
+
* (a banner arriving pushes everything down), so to highlight an element on
|
|
4583
|
+
* a screenshot, ask the screenshot where it is (`boxes`).
|
|
4584
|
+
*/
|
|
4572
4585
|
box: BrowserBox;
|
|
4573
4586
|
}
|
|
4574
4587
|
interface BrowserScreenshot {
|
|
@@ -4578,6 +4591,12 @@ interface BrowserScreenshot {
|
|
|
4578
4591
|
width: number;
|
|
4579
4592
|
height: number;
|
|
4580
4593
|
deviceScaleFactor: number;
|
|
4594
|
+
/**
|
|
4595
|
+
* With `boxes`, where each element named is in the shot, in its CSS pixels,
|
|
4596
|
+
* in the order named: `null` for one the page didn't have. Absent on older
|
|
4597
|
+
* platform versions.
|
|
4598
|
+
*/
|
|
4599
|
+
boxes?: (BrowserBox | null)[];
|
|
4581
4600
|
}
|
|
4582
4601
|
/** A screenshot saved straight into a store: the stored file, and the page's size it was taken at. */
|
|
4583
4602
|
type BrowserStoredScreenshot = StoredFile & {
|
|
@@ -4585,6 +4604,12 @@ type BrowserStoredScreenshot = StoredFile & {
|
|
|
4585
4604
|
width: number;
|
|
4586
4605
|
height: number;
|
|
4587
4606
|
deviceScaleFactor: number;
|
|
4607
|
+
/**
|
|
4608
|
+
* With `boxes`, where each element named is in the shot, in its CSS pixels,
|
|
4609
|
+
* in the order named: `null` for one the page didn't have. Absent on older
|
|
4610
|
+
* platform versions.
|
|
4611
|
+
*/
|
|
4612
|
+
boxes?: (BrowserBox | null)[];
|
|
4588
4613
|
};
|
|
4589
4614
|
interface BrowserToolsOptions {
|
|
4590
4615
|
/**
|
|
@@ -4672,19 +4697,24 @@ declare class BrowserSession {
|
|
|
4672
4697
|
* you get the stored file back; without, you get the bytes, which a full
|
|
4673
4698
|
* page past a few megabytes is too large for. The cursor is left out unless
|
|
4674
4699
|
* `cursor` keeps it in, for a shot that shows where the last action landed.
|
|
4700
|
+
* `boxes` names elements, as an action does, and the shot says where each
|
|
4701
|
+
* one is in it, measured as it's taken, for drawing highlights on it.
|
|
4675
4702
|
*
|
|
4676
4703
|
* ```ts
|
|
4677
|
-
* const shot = await session.screenshot({ store: Shots,
|
|
4678
|
-
* await Steps.push({ screenshot: shot.key, highlight:
|
|
4704
|
+
* const shot = await session.screenshot({ store: Shots, boxes: ['e12'] });
|
|
4705
|
+
* await Steps.push({ screenshot: shot.key, highlight: shot.boxes?.[0] });
|
|
4706
|
+
* await session.click('e12');
|
|
4679
4707
|
* ```
|
|
4680
4708
|
*/
|
|
4681
4709
|
screenshot(options?: {
|
|
4682
4710
|
fullPage?: boolean;
|
|
4683
4711
|
cursor?: boolean;
|
|
4712
|
+
boxes?: BrowserTarget[];
|
|
4684
4713
|
}): Promise<BrowserScreenshot>;
|
|
4685
4714
|
screenshot(options: {
|
|
4686
4715
|
fullPage?: boolean;
|
|
4687
4716
|
cursor?: boolean;
|
|
4717
|
+
boxes?: BrowserTarget[];
|
|
4688
4718
|
store: Store;
|
|
4689
4719
|
key?: string;
|
|
4690
4720
|
}): Promise<BrowserStoredScreenshot>;
|
|
@@ -6147,10 +6177,22 @@ interface DownloadVideoStepInput {
|
|
|
6147
6177
|
videoUrl: string;
|
|
6148
6178
|
/** Output format for the downloaded file */
|
|
6149
6179
|
format: "mp4" | "mp3";
|
|
6180
|
+
/** Which item to download from a URL that holds several (a carousel, a playlist, a post with several videos), counting from 1. Omit for the one the URL names, else the first */
|
|
6181
|
+
item?: number;
|
|
6182
|
+
/** Start of a clip, in seconds. Omit to start at the beginning */
|
|
6183
|
+
start?: number;
|
|
6184
|
+
/** Length of a clip, in seconds. Omit to run to the end */
|
|
6185
|
+
duration?: number;
|
|
6150
6186
|
}
|
|
6151
6187
|
interface DownloadVideoStepOutput {
|
|
6152
6188
|
/** URL of the downloaded and re-hosted video file */
|
|
6153
6189
|
videoUrl: string;
|
|
6190
|
+
/** The video's title, as the site gives it */
|
|
6191
|
+
title?: string;
|
|
6192
|
+
/** How long the downloaded file runs, in seconds: a clip's own length */
|
|
6193
|
+
durationSec?: number;
|
|
6194
|
+
/** How many items the URL holds: 1 for a single video. Absent for a playlist the site doesn't count up front (a channel, a long playlist) */
|
|
6195
|
+
itemCount?: number;
|
|
6154
6196
|
}
|
|
6155
6197
|
interface EnhanceImageGenerationPromptStepInput {
|
|
6156
6198
|
/** The raw prompt to enhance */
|
|
@@ -10281,6 +10323,9 @@ interface StepMethods {
|
|
|
10281
10323
|
* @remarks
|
|
10282
10324
|
* - Works with YouTube, TikTok, etc., by using ytdlp behind the scenes
|
|
10283
10325
|
* - Can save as mp4 or mp3
|
|
10326
|
+
* - `item` picks one item of a URL that holds several: a carousel, a playlist, a post with several videos. A link to one slide of a carousel downloads that slide. `itemCount` in the output says how many there are, so download item 1 and loop for the rest
|
|
10327
|
+
* - `start` and `duration` (seconds) download a clip. An mp4 clip is cut without re-encoding, so it can start a moment before `start` (for an exact cut, trim the result with `trimMedia`); an mp3 clip is exact
|
|
10328
|
+
* - Videos and audio only: a photo (a photo post, a photo in a carousel) fails as `video_unavailable`, and so does an item the URL doesn't have
|
|
10284
10329
|
*
|
|
10285
10330
|
* @example
|
|
10286
10331
|
* ```typescript
|
|
@@ -12612,14 +12657,18 @@ interface SessionContext {
|
|
|
12612
12657
|
medium?: 'web' | 'phone-in' | 'phone-out';
|
|
12613
12658
|
/**
|
|
12614
12659
|
* Phone sessions only: the call's numbers (`fromNumber` = who initiated,
|
|
12615
|
-
* `to` = who was dialed, in both directions
|
|
12616
|
-
*
|
|
12617
|
-
*
|
|
12618
|
-
*
|
|
12660
|
+
* `to` = who was dialed, in both directions; `appNumber` = the app's own
|
|
12661
|
+
* number on the call, the dialed one inbound and the caller ID outbound,
|
|
12662
|
+
* which is the key for an app that gives each of its tenants a number).
|
|
12663
|
+
* Context and routing only — caller ID is trivially spoofable, so never
|
|
12664
|
+
* treat it as identity: don't gate roles on it or speak account specifics
|
|
12665
|
+
* to an unverified caller. In-call verification is the auth rail.
|
|
12666
|
+
* `appNumber` is absent on older platform versions.
|
|
12619
12667
|
*/
|
|
12620
12668
|
sip?: {
|
|
12621
12669
|
to: string;
|
|
12622
12670
|
fromNumber: string;
|
|
12671
|
+
appNumber?: string;
|
|
12623
12672
|
};
|
|
12624
12673
|
}
|
|
12625
12674
|
/**
|
|
@@ -13374,4 +13423,4 @@ declare const prerender: {
|
|
|
13374
13423
|
};
|
|
13375
13424
|
|
|
13376
13425
|
export { AuthContext, BrowserSession, HttpResponse, MAX_EVENT_PAYLOAD_CHARS, MindStudioAgent, MindStudioError, Query, RESPONSE_BODY_MAX_BYTES, RawQuery, Roles, Store, Table, analytics, auth, blockTypeAliases, browser, dataSources, db, mindstudio as default, defineJewel, defineMapper, defineReader, deletes, documents, email, events, files, getRequestContext, mindstudio, monacoSnippets, passthrough, prerender, reportIssue, resolveUser, respond, runWithContext, session, skip, stepMetadata, stream, voice, waitUntil };
|
|
13377
|
-
export type { Accessor, ActiveCampaignAddNoteStepInput, ActiveCampaignAddNoteStepOutput, ActiveCampaignCreateContactStepInput, ActiveCampaignCreateContactStepOutput, AddSubtitlesToVideoStepInput, AddSubtitlesToVideoStepOutput, AddThumbnailToVideoStepInput, AddThumbnailToVideoStepOutput, AgentInfo, AgentOptions, AggregateRow, AggregateSelect, AggregateTerm, AiSourceVendor, AirtableCreateUpdateRecordStepInput, AirtableCreateUpdateRecordStepOutput, AirtableDeleteRecordStepInput, AirtableDeleteRecordStepOutput, AirtableGetRecordStepInput, AirtableGetRecordStepOutput, AirtableGetTableRecordsStepInput, AirtableGetTableRecordsStepOutput, Analytics, AnalyticsDateRange, AnalyticsDimension, AnalyticsFilter, AnalyticsFilterOp, AnalyticsGranularity, AnalyticsMetric, AnalyticsQueryResponse, AnalyticsQueryResultRow, AnalyticsQuerySpec, AnalyticsReadOptions, AnalyzeImageStepInput, AnalyzeImageStepOutput, AnalyzeVideoStepInput, AnalyzeVideoStepOutput, AppAuthContext, AppContextResult, AppDatabase, AppDatabaseColumnSchema, AppDatabaseTable, AppRoleAssignment, AuthTableConfig, BatchStepInput, BatchStepResult, Batchable, Browser, BrowserBox, BrowserElementResult, BrowserOpenOptions, BrowserPage, BrowserScreenshot, BrowserStoredScreenshot, BrowserTarget, BrowserToolsOptions, BrowserViewport, CaptureThumbnailStepInput, CaptureThumbnailStepOutput, CheckAppRoleStepInput, CheckAppRoleStepOutput, CodaCreateUpdatePageStepInput, CodaCreateUpdatePageStepOutput, CodaCreateUpdateRowStepInput, CodaCreateUpdateRowStepOutput, CodaFindRowStepInput, CodaFindRowStepOutput, CodaGetPageStepInput, CodaGetPageStepOutput, CodaGetTableRowsStepInput, CodaGetTableRowsStepOutput, Connection, ConnectorActionDetail, ConnectorService, ConvertPdfToImagesStepInput, ConvertPdfToImagesStepOutput, CrawlerBucket, CrawlerHit, CrawlerOverview, CreateDataSourceStepInput, CreateDataSourceStepOutput, CreateGmailDraftStepInput, CreateGmailDraftStepOutput, CreateGoogleCalendarEventStepInput, CreateGoogleCalendarEventStepOutput, CreateGoogleDocStepInput, CreateGoogleDocStepOutput, CreateGoogleSheetStepInput, CreateGoogleSheetStepOutput, Db, DecomposeImageStepInput, DecomposeImageStepOutput, DefineStoreOptions, DefineTableOptions, DeleteDataSourceDocumentStepInput, DeleteDataSourceDocumentStepOutput, DeleteDataSourceStepInput, DeleteDataSourceStepOutput, DeleteGmailEmailStepInput, DeleteGmailEmailStepOutput, DeleteGoogleCalendarEventStepInput, DeleteGoogleCalendarEventStepOutput, DeleteGoogleSheetRowsStepInput, DeleteGoogleSheetRowsStepOutput, DetectChangesStepInput, DetectChangesStepOutput, DetectPIIStepInput, DetectPIIStepOutput, DownloadVideoStepInput, DownloadVideoStepOutput, EnhanceImageGenerationPromptStepInput, EnhanceImageGenerationPromptStepOutput, EnhanceVideoGenerationPromptStepInput, EnhanceVideoGenerationPromptStepOutput, EnrichPersonStepInput, EnrichPersonStepOutput, EvaluateDecisionStepInput, EvaluateDecisionStepOutput, EventGrantOptions, EventGrantResult, Events, ExecuteStepBatchOptions, ExecuteStepBatchResult, ExtractAudioFromVideoStepInput, ExtractAudioFromVideoStepOutput, ExtractTextStepInput, ExtractTextStepOutput, FetchDataSourceDocumentStepInput, FetchDataSourceDocumentStepOutput, FetchGoogleDocStepInput, FetchGoogleDocStepOutput, FetchGoogleSheetStepInput, FetchGoogleSheetStepOutput, FetchSlackChannelHistoryStepInput, FetchSlackChannelHistoryStepOutput, FetchYoutubeCaptionsStepInput, FetchYoutubeCaptionsStepOutput, FetchYoutubeChannelStepInput, FetchYoutubeChannelStepOutput, FetchYoutubeCommentsStepInput, FetchYoutubeCommentsStepOutput, FetchYoutubeVideoStepInput, FetchYoutubeVideoStepOutput, FileAccess, Files, FromSchema, Generate3dModelStepInput, Generate3dModelStepOutput, GenerateAssetStepInput, GenerateAssetStepOutput, GenerateImageStepInput, GenerateImageStepOutput, GenerateLipsyncStepInput, GenerateLipsyncStepOutput, GenerateMusicStepInput, GenerateMusicStepOutput, GeneratePdfStepInput, GeneratePdfStepOutput, GenerateSoundStepInput, GenerateSoundStepOutput, GenerateStaticVideoFromImageStepInput, GenerateStaticVideoFromImageStepOutput, GenerateTextStepInput, GenerateTextStepOutput, GenerateVideoStepInput, GenerateVideoStepOutput, GetGmailAttachmentsStepInput, GetGmailAttachmentsStepOutput, GetGmailDraftStepInput, GetGmailDraftStepOutput, GetGmailEmailStepInput, GetGmailEmailStepOutput, GetGmailUnreadCountStepInput, GetGmailUnreadCountStepOutput, GetGoogleCalendarEventStepInput, GetGoogleCalendarEventStepOutput, GetGoogleDriveFileStepInput, GetGoogleDriveFileStepOutput, GetGoogleSheetInfoStepInput, GetGoogleSheetInfoStepOutput, GetMediaMetadataStepInput, GetMediaMetadataStepOutput, GetStreamOptions, HttpResponseFile, HttpResponseHeaders, HttpResponseInit, HttpResponseOptions, HubspotCreateCompanyStepInput, HubspotCreateCompanyStepOutput, HubspotCreateContactStepInput, HubspotCreateContactStepOutput, HubspotGetCompanyStepInput, HubspotGetCompanyStepOutput, HubspotGetContactStepInput, HubspotGetContactStepOutput, HunterApiCompanyEnrichmentStepInput, HunterApiCompanyEnrichmentStepOutput, HunterApiDomainSearchStepInput, HunterApiDomainSearchStepOutput, HunterApiEmailFinderStepInput, HunterApiEmailFinderStepOutput, HunterApiEmailVerificationStepInput, HunterApiEmailVerificationStepOutput, HunterApiPersonEnrichmentStepInput, HunterApiPersonEnrichmentStepOutput, ImageFaceSwapStepInput, ImageFaceSwapStepOutput, ImageRemoveWatermarkStepInput, ImageRemoveWatermarkStepOutput, ImportFromUrlStepInput, ImportFromUrlStepOutput, InsertVideoClipsStepInput, InsertVideoClipsStepOutput, Jewel, JewelConfig, JewelGradeContext, JewelMethod, JewelMethodInput, JewelPairRecord, JewelProposal, JewelProposeOutcome, JewelProposeResult, JewelQueueItem, JewelQueueResolution, JewelQueueResolveResult, JewelRunParams, JewelVerdict, JewelsApi, JsonObjectSchema, JsonSchema, JsonSchemaTypeName, ListAgentsResult, ListDataSourcesStepInput, ListDataSourcesStepOutput, ListGmailDraftsStepInput, ListGmailDraftsStepOutput, ListGmailLabelsStepInput, ListGmailLabelsStepOutput, ListGoogleCalendarEventsStepInput, ListGoogleCalendarEventsStepOutput, ListGoogleDriveFilesStepInput, ListGoogleDriveFilesStepOutput, ListOptions, ListRecentGmailEmailsStepInput, ListRecentGmailEmailsStepOutput, LiveNow, LogicStepInput, LogicStepOutput, MakeDotComRunScenarioStepInput, MakeDotComRunScenarioStepOutput, MapObject, MapOutcome, MapPoint, MapRunObject, MapRunOutcome, MapRunParams, MapRunRecord, MapRunResult, MappedDocument, Mapper, MapperConfig, MergeAudioStepInput, MergeAudioStepOutput, MergeVideosStepInput, MergeVideosStepOutput, MeshyAnimateStepInput, MeshyAnimateStepOutput, MeshyImageTo3dStepInput, MeshyImageTo3dStepOutput, MeshyRemeshStepInput, MeshyRemeshStepOutput, MeshyRigStepInput, MeshyRigStepOutput, MeshyTextTo3dStepInput, MeshyTextTo3dStepOutput, MeshyTextureStepInput, MeshyTextureStepOutput, MindStudioModel, MindStudioModelSummary, MixAudioIntoVideoStepInput, MixAudioIntoVideoStepOutput, ModelType, MonacoSnippet, MonacoSnippetField, MonacoSnippetFieldType, MuteVideoStepInput, MuteVideoStepOutput, N8nRunNodeStepInput, N8nRunNodeStepOutput, NotionCreatePageStepInput, NotionCreatePageStepOutput, NotionUpdatePageStepInput, NotionUpdatePageStepOutput, PackagedWorkflow, PackagedWorkflowInput, PackagedWorkflowSignature, PeopleSearchStepInput, PeopleSearchStepOutput, PostToLinkedInStepInput, PostToLinkedInStepOutput, PostToSlackChannelStepInput, PostToSlackChannelStepOutput, PostToXStepInput, PostToXStepOutput, PostToZapierStepInput, PostToZapierStepOutput, Predicate, PushInput, PutOptions, PutStream, QueryDataSourceStepInput, QueryDataSourceStepOutput, QueryExternalDatabaseStepInput, QueryExternalDatabaseStepOutput, QuickbooksApiRequestStepInput, QuickbooksApiRequestStepOutput, ReadDelivery, ReadRunParams, ReadRunRecord, ReadRunResult, Reader, ReaderConfig, ReaderDocument, RedactPIIStepInput, RedactPIIStepOutput, RemoveBackgroundFromImageStepInput, RemoveBackgroundFromImageStepOutput, RenderVideoFromHtmlCompositionStepInput, RenderVideoFromHtmlCompositionStepOutput, ReplyToGmailEmailStepInput, ReplyToGmailEmailStepOutput, ReportIssueInput, ReportedIssue, RequestContext, ResizeVideoStepInput, ResizeVideoStepOutput, ResolvedUser, RunAgentOptions, RunAgentResult, RunFfmpegStepInput, RunFfmpegStepOutput, RunFromConnectorRegistryStepInput, RunFromConnectorRegistryStepOutput, RunTaskOptions, RunTaskOptionsWithExample, RunTaskOptionsWithSchema, RunTaskResult, SchemaValidationError, ScrapeLinkedInCompanyStepInput, ScrapeLinkedInCompanyStepOutput, ScrapeLinkedInProfileStepInput, ScrapeLinkedInProfileStepOutput, ScrapeUrlStepInput, ScrapeUrlStepOutput, ScrapeXPostStepInput, ScrapeXPostStepOutput, ScrapeXProfileStepInput, ScrapeXProfileStepOutput, ScreenshotUrlStepInput, ScreenshotUrlStepOutput, SearchGmailEmailsStepInput, SearchGmailEmailsStepOutput, SearchGoogleCalendarEventsStepInput, SearchGoogleCalendarEventsStepOutput, SearchGoogleDriveStepInput, SearchGoogleDriveStepOutput, SearchGoogleImagesStepInput, SearchGoogleImagesStepOutput, SearchGoogleNewsStepInput, SearchGoogleNewsStepOutput, SearchGoogleStepInput, SearchGoogleStepOutput, SearchGoogleTrendsStepInput, SearchGoogleTrendsStepOutput, SearchPerplexityStepInput, SearchPerplexityStepOutput, SearchXPostsStepInput, SearchXPostsStepOutput, SearchYoutubeStepInput, SearchYoutubeStepOutput, SearchYoutubeTrendsStepInput, SearchYoutubeTrendsStepOutput, SendEmailStepInput, SendEmailStepOutput, SendGmailDraftStepInput, SendGmailDraftStepOutput, SendGmailMessageStepInput, SendGmailMessageStepOutput, SendSMSStepInput, SendSMSStepOutput, SendSlackDirectMessageStepInput, SendSlackDirectMessageStepOutput, SessionContext, SetGmailReadStatusStepInput, SetGmailReadStatusStepOutput, SetRunTitleStepInput, SetRunTitleStepOutput, SetVariableStepInput, SetVariableStepOutput, SettableSystemColumns, StepCostEstimateEntry, StepExecutionMeta, StepExecutionOptions, StepExecutionResult, StepInputMap, StepLogEvent, StepMetadata, StepMethods, StepName, StepOutputMap, StoredFile, SystemFields, TaskEvent, TaskToolCall, TaskToolConfig, TaskUsage, TextToSpeechStepInput, TextToSpeechStepOutput, TopSource, TranscribeAudioStepInput, TranscribeAudioStepOutput, TrimMediaStepInput, TrimMediaStepOutput, TypesafeEvaluateStepInput, TypesafeEvaluateStepOutput, UpdateGmailLabelsStepInput, UpdateGmailLabelsStepOutput, UpdateGoogleCalendarEventStepInput, UpdateGoogleCalendarEventStepOutput, UpdateGoogleDocStepInput, UpdateGoogleDocStepOutput, UpdateGoogleSheetStepInput, UpdateGoogleSheetStepOutput, UpdateInput, UploadDataSourceDocumentStepInput, UploadDataSourceDocumentStepOutput, UploadFileResult, UploadToken, UpscaleImageStepInput, UpscaleImageStepOutput, UpscaleVideoStepInput, UpscaleVideoStepOutput, User, UserInfoResult, UserMessageStepInput, UserMessageStepOutput, VideoFaceSwapStepInput, VideoFaceSwapStepOutput, VideoRemoveBackgroundStepInput, VideoRemoveBackgroundStepOutput, VideoRemoveWatermarkStepInput, VideoRemoveWatermarkStepOutput, Voice, VoiceCallResult, WatermarkImageStepInput, WatermarkImageStepOutput, WatermarkVideoStepInput, WatermarkVideoStepOutput, YouDotComFinanceResearchStepInput, YouDotComFinanceResearchStepOutput, YouDotComGetPageContentStepInput, YouDotComGetPageContentStepOutput, YouDotComLiveNewsStepInput, YouDotComLiveNewsStepOutput, YouDotComWebResearchStepInput, YouDotComWebResearchStepOutput, YouDotComWebSearchStepInput, YouDotComWebSearchStepOutput };
|
|
13426
|
+
export type { Accessor, ActiveCampaignAddNoteStepInput, ActiveCampaignAddNoteStepOutput, ActiveCampaignCreateContactStepInput, ActiveCampaignCreateContactStepOutput, AddSubtitlesToVideoStepInput, AddSubtitlesToVideoStepOutput, AddThumbnailToVideoStepInput, AddThumbnailToVideoStepOutput, AgentInfo, AgentOptions, AggregateRow, AggregateSelect, AggregateTerm, AiSourceVendor, AirtableCreateUpdateRecordStepInput, AirtableCreateUpdateRecordStepOutput, AirtableDeleteRecordStepInput, AirtableDeleteRecordStepOutput, AirtableGetRecordStepInput, AirtableGetRecordStepOutput, AirtableGetTableRecordsStepInput, AirtableGetTableRecordsStepOutput, Analytics, AnalyticsDateRange, AnalyticsDimension, AnalyticsFilter, AnalyticsFilterOp, AnalyticsGranularity, AnalyticsMetric, AnalyticsQueryResponse, AnalyticsQueryResultRow, AnalyticsQuerySpec, AnalyticsReadOptions, AnalyzeImageStepInput, AnalyzeImageStepOutput, AnalyzeVideoStepInput, AnalyzeVideoStepOutput, AppAuthContext, AppContextResult, AppDatabase, AppDatabaseColumnSchema, AppDatabaseTable, AppRoleAssignment, AuthTableConfig, BatchStepInput, BatchStepResult, Batchable, Browser, BrowserBox, BrowserElementResult, BrowserOpenOptions, BrowserPage, BrowserScreenshot, BrowserStoredScreenshot, BrowserTarget, BrowserToolsOptions, BrowserViewport, CaptureThumbnailStepInput, CaptureThumbnailStepOutput, CheckAppRoleStepInput, CheckAppRoleStepOutput, CodaCreateUpdatePageStepInput, CodaCreateUpdatePageStepOutput, CodaCreateUpdateRowStepInput, CodaCreateUpdateRowStepOutput, CodaFindRowStepInput, CodaFindRowStepOutput, CodaGetPageStepInput, CodaGetPageStepOutput, CodaGetTableRowsStepInput, CodaGetTableRowsStepOutput, Connection, ConnectorActionDetail, ConnectorService, ConvertPdfToImagesStepInput, ConvertPdfToImagesStepOutput, CrawlerBucket, CrawlerHit, CrawlerOverview, CreateDataSourceStepInput, CreateDataSourceStepOutput, CreateGmailDraftStepInput, CreateGmailDraftStepOutput, CreateGoogleCalendarEventStepInput, CreateGoogleCalendarEventStepOutput, CreateGoogleDocStepInput, CreateGoogleDocStepOutput, CreateGoogleSheetStepInput, CreateGoogleSheetStepOutput, Db, DecomposeImageStepInput, DecomposeImageStepOutput, DefineStoreOptions, DefineTableOptions, DeleteDataSourceDocumentStepInput, DeleteDataSourceDocumentStepOutput, DeleteDataSourceStepInput, DeleteDataSourceStepOutput, DeleteGmailEmailStepInput, DeleteGmailEmailStepOutput, DeleteGoogleCalendarEventStepInput, DeleteGoogleCalendarEventStepOutput, DeleteGoogleSheetRowsStepInput, DeleteGoogleSheetRowsStepOutput, DetectChangesStepInput, DetectChangesStepOutput, DetectPIIStepInput, DetectPIIStepOutput, DownloadVideoStepInput, DownloadVideoStepOutput, EnhanceImageGenerationPromptStepInput, EnhanceImageGenerationPromptStepOutput, EnhanceVideoGenerationPromptStepInput, EnhanceVideoGenerationPromptStepOutput, EnrichPersonStepInput, EnrichPersonStepOutput, EvaluateDecisionStepInput, EvaluateDecisionStepOutput, EventGrantOptions, EventGrantResult, Events, ExecuteStepBatchOptions, ExecuteStepBatchResult, ExtractAudioFromVideoStepInput, ExtractAudioFromVideoStepOutput, ExtractTextStepInput, ExtractTextStepOutput, FetchDataSourceDocumentStepInput, FetchDataSourceDocumentStepOutput, FetchGoogleDocStepInput, FetchGoogleDocStepOutput, FetchGoogleSheetStepInput, FetchGoogleSheetStepOutput, FetchSlackChannelHistoryStepInput, FetchSlackChannelHistoryStepOutput, FetchYoutubeCaptionsStepInput, FetchYoutubeCaptionsStepOutput, FetchYoutubeChannelStepInput, FetchYoutubeChannelStepOutput, FetchYoutubeCommentsStepInput, FetchYoutubeCommentsStepOutput, FetchYoutubeVideoStepInput, FetchYoutubeVideoStepOutput, FileAccess, Files, FromSchema, Generate3dModelStepInput, Generate3dModelStepOutput, GenerateAssetStepInput, GenerateAssetStepOutput, GenerateImageStepInput, GenerateImageStepOutput, GenerateLipsyncStepInput, GenerateLipsyncStepOutput, GenerateMusicStepInput, GenerateMusicStepOutput, GeneratePdfStepInput, GeneratePdfStepOutput, GenerateSoundStepInput, GenerateSoundStepOutput, GenerateStaticVideoFromImageStepInput, GenerateStaticVideoFromImageStepOutput, GenerateTextStepInput, GenerateTextStepOutput, GenerateVideoStepInput, GenerateVideoStepOutput, GetGmailAttachmentsStepInput, GetGmailAttachmentsStepOutput, GetGmailDraftStepInput, GetGmailDraftStepOutput, GetGmailEmailStepInput, GetGmailEmailStepOutput, GetGmailUnreadCountStepInput, GetGmailUnreadCountStepOutput, GetGoogleCalendarEventStepInput, GetGoogleCalendarEventStepOutput, GetGoogleDriveFileStepInput, GetGoogleDriveFileStepOutput, GetGoogleSheetInfoStepInput, GetGoogleSheetInfoStepOutput, GetMediaMetadataStepInput, GetMediaMetadataStepOutput, GetStreamOptions, HttpResponseFile, HttpResponseHeaders, HttpResponseInit, HttpResponseOptions, HubspotCreateCompanyStepInput, HubspotCreateCompanyStepOutput, HubspotCreateContactStepInput, HubspotCreateContactStepOutput, HubspotGetCompanyStepInput, HubspotGetCompanyStepOutput, HubspotGetContactStepInput, HubspotGetContactStepOutput, HunterApiCompanyEnrichmentStepInput, HunterApiCompanyEnrichmentStepOutput, HunterApiDomainSearchStepInput, HunterApiDomainSearchStepOutput, HunterApiEmailFinderStepInput, HunterApiEmailFinderStepOutput, HunterApiEmailVerificationStepInput, HunterApiEmailVerificationStepOutput, HunterApiPersonEnrichmentStepInput, HunterApiPersonEnrichmentStepOutput, ImageFaceSwapStepInput, ImageFaceSwapStepOutput, ImageRemoveWatermarkStepInput, ImageRemoveWatermarkStepOutput, ImportFromUrlStepInput, ImportFromUrlStepOutput, InsertVideoClipsStepInput, InsertVideoClipsStepOutput, Jewel, JewelConfig, JewelGradeContext, JewelMethod, JewelMethodInput, JewelPairRecord, JewelProposal, JewelProposeOutcome, JewelProposeResult, JewelQueueItem, JewelQueueResolution, JewelQueueResolveResult, JewelRunParams, JewelVerdict, JewelsApi, JsonObjectSchema, JsonSchema, JsonSchemaTypeName, ListAgentsResult, ListDataSourcesStepInput, ListDataSourcesStepOutput, ListGmailDraftsStepInput, ListGmailDraftsStepOutput, ListGmailLabelsStepInput, ListGmailLabelsStepOutput, ListGoogleCalendarEventsStepInput, ListGoogleCalendarEventsStepOutput, ListGoogleDriveFilesStepInput, ListGoogleDriveFilesStepOutput, ListOptions, ListRecentGmailEmailsStepInput, ListRecentGmailEmailsStepOutput, LiveNow, LogicStepInput, LogicStepOutput, MakeDotComRunScenarioStepInput, MakeDotComRunScenarioStepOutput, MapObject, MapOutcome, MapPoint, MapRunObject, MapRunOutcome, MapRunParams, MapRunRecord, MapRunResult, MappedDocument, Mapper, MapperConfig, MergeAudioStepInput, MergeAudioStepOutput, MergeVideosStepInput, MergeVideosStepOutput, MeshyAnimateStepInput, MeshyAnimateStepOutput, MeshyImageTo3dStepInput, MeshyImageTo3dStepOutput, MeshyRemeshStepInput, MeshyRemeshStepOutput, MeshyRigStepInput, MeshyRigStepOutput, MeshyTextTo3dStepInput, MeshyTextTo3dStepOutput, MeshyTextureStepInput, MeshyTextureStepOutput, MindStudioModel, MindStudioModelSummary, MixAudioIntoVideoStepInput, MixAudioIntoVideoStepOutput, ModelType, MonacoSnippet, MonacoSnippetField, MonacoSnippetFieldType, MuteVideoStepInput, MuteVideoStepOutput, N8nRunNodeStepInput, N8nRunNodeStepOutput, NotionCreatePageStepInput, NotionCreatePageStepOutput, NotionUpdatePageStepInput, NotionUpdatePageStepOutput, PackagedWorkflow, PackagedWorkflowInput, PackagedWorkflowSignature, PeopleSearchStepInput, PeopleSearchStepOutput, PostToLinkedInStepInput, PostToLinkedInStepOutput, PostToSlackChannelStepInput, PostToSlackChannelStepOutput, PostToXStepInput, PostToXStepOutput, PostToZapierStepInput, PostToZapierStepOutput, Predicate, PushInput, PutOptions, PutStream, QueryDataSourceStepInput, QueryDataSourceStepOutput, QueryExternalDatabaseStepInput, QueryExternalDatabaseStepOutput, QuickbooksApiRequestStepInput, QuickbooksApiRequestStepOutput, ReadDelivery, ReadRunParams, ReadRunRecord, ReadRunResult, Reader, ReaderConfig, ReaderDocument, RedactPIIStepInput, RedactPIIStepOutput, RemoveBackgroundFromImageStepInput, RemoveBackgroundFromImageStepOutput, RenderVideoFromHtmlCompositionStepInput, RenderVideoFromHtmlCompositionStepOutput, ReplyToGmailEmailStepInput, ReplyToGmailEmailStepOutput, ReportIssueInput, ReportedIssue, RequestContext, ResizeVideoStepInput, ResizeVideoStepOutput, ResolvedUser, RunAgentOptions, RunAgentResult, RunFfmpegStepInput, RunFfmpegStepOutput, RunFromConnectorRegistryStepInput, RunFromConnectorRegistryStepOutput, RunTaskOptions, RunTaskOptionsWithExample, RunTaskOptionsWithSchema, RunTaskResult, SchemaValidationError, ScrapeLinkedInCompanyStepInput, ScrapeLinkedInCompanyStepOutput, ScrapeLinkedInProfileStepInput, ScrapeLinkedInProfileStepOutput, ScrapeUrlStepInput, ScrapeUrlStepOutput, ScrapeXPostStepInput, ScrapeXPostStepOutput, ScrapeXProfileStepInput, ScrapeXProfileStepOutput, ScreenshotUrlStepInput, ScreenshotUrlStepOutput, SearchGmailEmailsStepInput, SearchGmailEmailsStepOutput, SearchGoogleCalendarEventsStepInput, SearchGoogleCalendarEventsStepOutput, SearchGoogleDriveStepInput, SearchGoogleDriveStepOutput, SearchGoogleImagesStepInput, SearchGoogleImagesStepOutput, SearchGoogleNewsStepInput, SearchGoogleNewsStepOutput, SearchGoogleStepInput, SearchGoogleStepOutput, SearchGoogleTrendsStepInput, SearchGoogleTrendsStepOutput, SearchPerplexityStepInput, SearchPerplexityStepOutput, SearchXPostsStepInput, SearchXPostsStepOutput, SearchYoutubeStepInput, SearchYoutubeStepOutput, SearchYoutubeTrendsStepInput, SearchYoutubeTrendsStepOutput, SendEmailStepInput, SendEmailStepOutput, SendGmailDraftStepInput, SendGmailDraftStepOutput, SendGmailMessageStepInput, SendGmailMessageStepOutput, SendSMSStepInput, SendSMSStepOutput, SendSlackDirectMessageStepInput, SendSlackDirectMessageStepOutput, SessionContext, SetGmailReadStatusStepInput, SetGmailReadStatusStepOutput, SetRunTitleStepInput, SetRunTitleStepOutput, SetVariableStepInput, SetVariableStepOutput, SettableSystemColumns, StepCostEstimateEntry, StepExecutionMeta, StepExecutionOptions, StepExecutionResult, StepInputMap, StepLogEvent, StepMetadata, StepMethods, StepName, StepOutputMap, StoredFile, SystemFields, TaskEvent, TaskToolCall, TaskToolConfig, TaskUsage, TextToSpeechStepInput, TextToSpeechStepOutput, TopSource, TranscribeAudioStepInput, TranscribeAudioStepOutput, TrimMediaStepInput, TrimMediaStepOutput, TypesafeEvaluateStepInput, TypesafeEvaluateStepOutput, UpdateGmailLabelsStepInput, UpdateGmailLabelsStepOutput, UpdateGoogleCalendarEventStepInput, UpdateGoogleCalendarEventStepOutput, UpdateGoogleDocStepInput, UpdateGoogleDocStepOutput, UpdateGoogleSheetStepInput, UpdateGoogleSheetStepOutput, UpdateInput, UploadDataSourceDocumentStepInput, UploadDataSourceDocumentStepOutput, UploadFileResult, UploadToken, UpscaleImageStepInput, UpscaleImageStepOutput, UpscaleVideoStepInput, UpscaleVideoStepOutput, User, UserInfoResult, UserMessageStepInput, UserMessageStepOutput, VideoFaceSwapStepInput, VideoFaceSwapStepOutput, VideoRemoveBackgroundStepInput, VideoRemoveBackgroundStepOutput, VideoRemoveWatermarkStepInput, VideoRemoveWatermarkStepOutput, Voice, VoiceCallParams, VoiceCallResult, WatermarkImageStepInput, WatermarkImageStepOutput, WatermarkVideoStepInput, WatermarkVideoStepOutput, YouDotComFinanceResearchStepInput, YouDotComFinanceResearchStepOutput, YouDotComGetPageContentStepInput, YouDotComGetPageContentStepOutput, YouDotComLiveNewsStepInput, YouDotComLiveNewsStepOutput, YouDotComWebResearchStepInput, YouDotComWebResearchStepOutput, YouDotComWebSearchStepInput, YouDotComWebSearchStepOutput };
|
package/dist/index.js
CHANGED
|
@@ -4195,6 +4195,7 @@ function createVoice(call) {
|
|
|
4195
4195
|
async call(params) {
|
|
4196
4196
|
return await call("call", {
|
|
4197
4197
|
to: params.to,
|
|
4198
|
+
...params.from !== void 0 ? { from: params.from } : {},
|
|
4198
4199
|
assumeIdentity: params.assumeIdentity === true
|
|
4199
4200
|
});
|
|
4200
4201
|
}
|
|
@@ -4443,36 +4444,35 @@ var BrowserSession = class {
|
|
|
4443
4444
|
});
|
|
4444
4445
|
}
|
|
4445
4446
|
async screenshot(options = {}) {
|
|
4446
|
-
const { store, key, fullPage, cursor } = options;
|
|
4447
|
+
const { store, key, fullPage, cursor, boxes } = options;
|
|
4448
|
+
const asked = {
|
|
4449
|
+
op: "screenshot",
|
|
4450
|
+
fullPage: !!fullPage,
|
|
4451
|
+
cursor: !!cursor,
|
|
4452
|
+
...boxes?.length ? { boxes: boxes.map(toWireTarget) } : {}
|
|
4453
|
+
};
|
|
4454
|
+
const measured = (shot2) => ({
|
|
4455
|
+
width: shot2.width,
|
|
4456
|
+
height: shot2.height,
|
|
4457
|
+
deviceScaleFactor: shot2.deviceScaleFactor,
|
|
4458
|
+
...shot2.boxes ? { boxes: shot2.boxes } : {}
|
|
4459
|
+
});
|
|
4447
4460
|
if (store) {
|
|
4448
4461
|
const token = await store.createUploadToken({
|
|
4449
4462
|
...key ? { key } : { filename: "screenshot.png" },
|
|
4450
4463
|
contentType: "image/png"
|
|
4451
4464
|
});
|
|
4452
4465
|
const shot2 = await this.run({
|
|
4453
|
-
|
|
4454
|
-
fullPage: !!fullPage,
|
|
4455
|
-
cursor: !!cursor,
|
|
4466
|
+
...asked,
|
|
4456
4467
|
upload: { url: token.upload.url, fields: token.upload.fields }
|
|
4457
4468
|
});
|
|
4458
|
-
return {
|
|
4459
|
-
...await store.head(token.key),
|
|
4460
|
-
width: shot2.width,
|
|
4461
|
-
height: shot2.height,
|
|
4462
|
-
deviceScaleFactor: shot2.deviceScaleFactor
|
|
4463
|
-
};
|
|
4469
|
+
return { ...await store.head(token.key), ...measured(shot2) };
|
|
4464
4470
|
}
|
|
4465
|
-
const shot = await this.run(
|
|
4466
|
-
op: "screenshot",
|
|
4467
|
-
fullPage: !!fullPage,
|
|
4468
|
-
cursor: !!cursor
|
|
4469
|
-
});
|
|
4471
|
+
const shot = await this.run(asked);
|
|
4470
4472
|
return {
|
|
4471
4473
|
data: Buffer.from(shot.data ?? "", "base64"),
|
|
4472
4474
|
contentType: "image/png",
|
|
4473
|
-
|
|
4474
|
-
height: shot.height,
|
|
4475
|
-
deviceScaleFactor: shot.deviceScaleFactor
|
|
4475
|
+
...measured(shot)
|
|
4476
4476
|
};
|
|
4477
4477
|
}
|
|
4478
4478
|
/**
|
|
@@ -5061,9 +5061,9 @@ var stepMetadata = {
|
|
|
5061
5061
|
"downloadVideo": {
|
|
5062
5062
|
stepType: "downloadVideo",
|
|
5063
5063
|
description: "Download a video file",
|
|
5064
|
-
usageNotes: "- Works with YouTube, TikTok, etc., by using ytdlp behind the scenes\n- Can save as mp4 or mp3",
|
|
5065
|
-
inputSchema: { "type": "object", "properties": { "videoUrl": { "type": "string", "description": "URL of the video to download (supports YouTube, TikTok, etc. via yt-dlp)" }, "format": { "enum": ["mp4", "mp3"], "type": "string", "description": "Output format for the downloaded file" } }, "required": ["videoUrl", "format"] },
|
|
5066
|
-
outputSchema: { "type": "object", "properties": { "videoUrl": { "type": "string", "description": "URL of the downloaded and re-hosted video file" } }, "required": ["videoUrl"] }
|
|
5064
|
+
usageNotes: "- Works with YouTube, TikTok, etc., by using ytdlp behind the scenes\n- Can save as mp4 or mp3\n- `item` picks one item of a URL that holds several: a carousel, a playlist, a post with several videos. A link to one slide of a carousel downloads that slide. `itemCount` in the output says how many there are, so download item 1 and loop for the rest\n- `start` and `duration` (seconds) download a clip. An mp4 clip is cut without re-encoding, so it can start a moment before `start` (for an exact cut, trim the result with `trimMedia`); an mp3 clip is exact\n- Videos and audio only: a photo (a photo post, a photo in a carousel) fails as `video_unavailable`, and so does an item the URL doesn't have",
|
|
5065
|
+
inputSchema: { "type": "object", "properties": { "videoUrl": { "type": "string", "description": "URL of the video to download (supports YouTube, TikTok, etc. via yt-dlp)" }, "format": { "enum": ["mp4", "mp3"], "type": "string", "description": "Output format for the downloaded file" }, "item": { "type": "number", "description": "Which item to download from a URL that holds several (a carousel, a playlist, a post with several videos), counting from 1. Omit for the one the URL names, else the first" }, "start": { "type": "number", "description": "Start of a clip, in seconds. Omit to start at the beginning" }, "duration": { "type": "number", "description": "Length of a clip, in seconds. Omit to run to the end" } }, "required": ["videoUrl", "format"] },
|
|
5066
|
+
outputSchema: { "type": "object", "properties": { "videoUrl": { "type": "string", "description": "URL of the downloaded and re-hosted video file" }, "title": { "type": "string", "description": "The video's title, as the site gives it" }, "durationSec": { "type": "number", "description": "How long the downloaded file runs, in seconds: a clip's own length" }, "itemCount": { "type": "number", "description": "How many items the URL holds: 1 for a single video. Absent for a playlist the site doesn't count up front (a channel, a long playlist)" } }, "required": ["videoUrl"] }
|
|
5067
5067
|
},
|
|
5068
5068
|
"enhanceImageGenerationPrompt": {
|
|
5069
5069
|
stepType: "enhanceImageGenerationPrompt",
|