@mindstudio-ai/agent 0.1.171 → 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 +24 -0
- package/dist/cli.js +575 -12
- package/dist/index.d.ts +406 -10
- package/dist/index.js +569 -5
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +575 -12
- package/llms.txt +28 -2
- package/package.json +1 -1
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';
|
|
@@ -4320,6 +4329,15 @@ type TaskToolConfig = string | {
|
|
|
4320
4329
|
* which a function tool reuses) — recursion is yours to bound.
|
|
4321
4330
|
*/
|
|
4322
4331
|
execute: (input: Record<string, unknown>) => Promise<unknown> | unknown;
|
|
4332
|
+
/**
|
|
4333
|
+
* For a tool whose result is the state of something now (a page, a
|
|
4334
|
+
* board), which a newer result makes stale: a key shared by the tools
|
|
4335
|
+
* that report that state. Each successful result replaces the earlier
|
|
4336
|
+
* ones under the same key in what the model is sent with a one-line
|
|
4337
|
+
* note, so a long run keeps only the latest in full. `toolCalls`,
|
|
4338
|
+
* `onEvent` and the trace still carry every result.
|
|
4339
|
+
*/
|
|
4340
|
+
supersedes?: string;
|
|
4323
4341
|
};
|
|
4324
4342
|
/** Options shared by both output modes of {@link MindStudioAgent.runTask}. */
|
|
4325
4343
|
interface RunTaskOptionsBase {
|
|
@@ -4450,6 +4468,335 @@ interface RunTaskResult<T = unknown> {
|
|
|
4450
4468
|
traceId: string;
|
|
4451
4469
|
}
|
|
4452
4470
|
|
|
4471
|
+
/**
|
|
4472
|
+
* The `browser` namespace — a real Chrome your app drives.
|
|
4473
|
+
*
|
|
4474
|
+
* `browser.open()` starts a session: one browser with one page, which stays
|
|
4475
|
+
* open while you use it. It closes itself after `idleTimeoutSeconds` with no
|
|
4476
|
+
* action (5 minutes by default), and at most an hour after it opens. Every
|
|
4477
|
+
* action answers with the page as it is afterward: its URL, its title, and a
|
|
4478
|
+
* snapshot, a compact outline of the page in which everything you can act on
|
|
4479
|
+
* carries a ref (`[ref=e12]`) to name it by next.
|
|
4480
|
+
*
|
|
4481
|
+
* ```ts
|
|
4482
|
+
* import { browser } from '@mindstudio-ai/agent';
|
|
4483
|
+
* import { Shots } from './files/shots';
|
|
4484
|
+
*
|
|
4485
|
+
* export async function captureDashboard() {
|
|
4486
|
+
* const session = await browser.open({ url: 'https://app.example.com/login' });
|
|
4487
|
+
* await session.type({ label: 'Email' }, process.env.DEMO_EMAIL!);
|
|
4488
|
+
* await session.type({ label: 'Password' }, process.env.DEMO_PASSWORD!, { submit: true });
|
|
4489
|
+
* await session.waitFor('Dashboard');
|
|
4490
|
+
* const shot = await session.screenshot();
|
|
4491
|
+
* const file = await Shots.put(shot.data, { contentType: shot.contentType });
|
|
4492
|
+
* await session.close();
|
|
4493
|
+
* return { url: file.url };
|
|
4494
|
+
* }
|
|
4495
|
+
* ```
|
|
4496
|
+
*
|
|
4497
|
+
* To let a model drive instead, hand a task agent the session's tools:
|
|
4498
|
+
* `mindstudio.runTask({ ..., tools: session.tools() })`.
|
|
4499
|
+
*
|
|
4500
|
+
* Elements are named by a ref from the latest snapshot, or by how a person
|
|
4501
|
+
* would describe them: `{ text: 'Sign in' }`, `{ role: 'button', text: 'Save' }`,
|
|
4502
|
+
* `{ label: 'Email' }`, or a CSS `{ selector }`. A ref is only good until the
|
|
4503
|
+
* next snapshot; every action takes one, so use the refs from the latest.
|
|
4504
|
+
*
|
|
4505
|
+
* Clicks, taps and typing are the browser's own input events, as a person's
|
|
4506
|
+
* would be. A password field's value never appears in a snapshot.
|
|
4507
|
+
*/
|
|
4508
|
+
|
|
4509
|
+
/** @internal Transport provided by the client (POST /_internal/v2/browser/<op>). */
|
|
4510
|
+
type BrowserTransport = (op: string, body: unknown) => Promise<any>;
|
|
4511
|
+
/** @internal The client's `executeStep`, for the screenshot tool's description (`analyzeImage`). */
|
|
4512
|
+
type BrowserStepRunner = (stepType: string, step: Record<string, unknown>) => Promise<any>;
|
|
4513
|
+
/**
|
|
4514
|
+
* Which element an action is about: a ref from the latest snapshot (`'e12'`),
|
|
4515
|
+
* or a description of it.
|
|
4516
|
+
*/
|
|
4517
|
+
type BrowserTarget = string | {
|
|
4518
|
+
/** A ref from the latest snapshot. */
|
|
4519
|
+
ref?: string;
|
|
4520
|
+
/** The element's accessible name or visible text. */
|
|
4521
|
+
text?: string;
|
|
4522
|
+
/** With `text`, only elements of this role (`button`, `link`, `textbox`…). */
|
|
4523
|
+
role?: string;
|
|
4524
|
+
/** A form control, by its label. */
|
|
4525
|
+
label?: string;
|
|
4526
|
+
/** A CSS selector, for when nothing else names it. */
|
|
4527
|
+
selector?: string;
|
|
4528
|
+
};
|
|
4529
|
+
interface BrowserViewport {
|
|
4530
|
+
width: number;
|
|
4531
|
+
height: number;
|
|
4532
|
+
deviceScaleFactor: number;
|
|
4533
|
+
mobile: boolean;
|
|
4534
|
+
}
|
|
4535
|
+
interface BrowserOpenOptions {
|
|
4536
|
+
/** A page to open straight away, as `goto(url)` would. */
|
|
4537
|
+
url?: string;
|
|
4538
|
+
/**
|
|
4539
|
+
* `'desktop'` (1280×800, the default), `'mobile'` (390×844 at 2×, with a
|
|
4540
|
+
* phone's user agent, touch, and taps for clicks), or an exact size in
|
|
4541
|
+
* pixels.
|
|
4542
|
+
*/
|
|
4543
|
+
viewport?: 'desktop' | 'mobile' | {
|
|
4544
|
+
width: number;
|
|
4545
|
+
height: number;
|
|
4546
|
+
};
|
|
4547
|
+
/**
|
|
4548
|
+
* How long the session waits for its next action before closing itself.
|
|
4549
|
+
* 5 minutes by default; at least 30 seconds, at most 30 minutes.
|
|
4550
|
+
*/
|
|
4551
|
+
idleTimeoutSeconds?: number;
|
|
4552
|
+
}
|
|
4553
|
+
/** The page after an action. */
|
|
4554
|
+
interface BrowserPage {
|
|
4555
|
+
url: string;
|
|
4556
|
+
title: string;
|
|
4557
|
+
/**
|
|
4558
|
+
* The page as a compact outline: one line per element worth knowing about
|
|
4559
|
+
* (`button "Sign in" [ref=e4]`), indented by nesting, with a ref on
|
|
4560
|
+
* everything that can be acted on.
|
|
4561
|
+
*/
|
|
4562
|
+
snapshot: string;
|
|
4563
|
+
/** Alerts and confirms the page opened since the last action. Each was accepted. */
|
|
4564
|
+
dialogs?: {
|
|
4565
|
+
type: string;
|
|
4566
|
+
message: string;
|
|
4567
|
+
}[];
|
|
4568
|
+
}
|
|
4569
|
+
/** Where an element is, in CSS pixels: of the viewport for an action, of the shot for a screenshot's `boxes`. */
|
|
4570
|
+
interface BrowserBox {
|
|
4571
|
+
x: number;
|
|
4572
|
+
y: number;
|
|
4573
|
+
width: number;
|
|
4574
|
+
height: number;
|
|
4575
|
+
}
|
|
4576
|
+
/** The page after an action on an element, and which element it was. */
|
|
4577
|
+
interface BrowserElementResult extends BrowserPage {
|
|
4578
|
+
/** The element as the snapshot names it (`button "Sign in" [ref=e4]`). */
|
|
4579
|
+
matched: string;
|
|
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
|
+
*/
|
|
4585
|
+
box: BrowserBox;
|
|
4586
|
+
}
|
|
4587
|
+
interface BrowserScreenshot {
|
|
4588
|
+
data: Buffer;
|
|
4589
|
+
contentType: 'image/png';
|
|
4590
|
+
/** In CSS pixels. The image is `deviceScaleFactor` times this. */
|
|
4591
|
+
width: number;
|
|
4592
|
+
height: number;
|
|
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)[];
|
|
4600
|
+
}
|
|
4601
|
+
/** A screenshot saved straight into a store: the stored file, and the page's size it was taken at. */
|
|
4602
|
+
type BrowserStoredScreenshot = StoredFile & {
|
|
4603
|
+
/** In CSS pixels. The image is `deviceScaleFactor` times this. */
|
|
4604
|
+
width: number;
|
|
4605
|
+
height: number;
|
|
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)[];
|
|
4613
|
+
};
|
|
4614
|
+
interface BrowserToolsOptions {
|
|
4615
|
+
/**
|
|
4616
|
+
* Values the model may type without ever seeing them, by name:
|
|
4617
|
+
* `{ password: process.env.APP_PASSWORD! }` lets a `type` step name
|
|
4618
|
+
* "password" for a field it chooses, in place of the text.
|
|
4619
|
+
*/
|
|
4620
|
+
secrets?: Record<string, string>;
|
|
4621
|
+
/**
|
|
4622
|
+
* A store for the screenshots the model takes. With one, the model also
|
|
4623
|
+
* gets `browser_screenshot`, which saves a screenshot here and answers with
|
|
4624
|
+
* a written description of it (an `analyzeImage` call), so it can see what
|
|
4625
|
+
* the page's outline doesn't say. Every shot is kept, and its key is in the
|
|
4626
|
+
* answer.
|
|
4627
|
+
*/
|
|
4628
|
+
screenshots?: Store;
|
|
4629
|
+
}
|
|
4630
|
+
interface SessionInfo {
|
|
4631
|
+
id: string;
|
|
4632
|
+
viewport: BrowserViewport;
|
|
4633
|
+
expiresAt: number;
|
|
4634
|
+
}
|
|
4635
|
+
/** One open browser session. Get one from `browser.open()` or `browser.session(id)`. */
|
|
4636
|
+
declare class BrowserSession {
|
|
4637
|
+
private readonly call;
|
|
4638
|
+
private readonly steps;
|
|
4639
|
+
/** Pass to `browser.session(id)` from a later call to pick this session up again. */
|
|
4640
|
+
readonly id: string;
|
|
4641
|
+
readonly viewport: BrowserViewport;
|
|
4642
|
+
/** When the session closes, however busy it is. Milliseconds since epoch. */
|
|
4643
|
+
readonly expiresAt: number;
|
|
4644
|
+
/** @internal Use `browser.open()`. */
|
|
4645
|
+
constructor(info: SessionInfo, call: BrowserTransport, steps: BrowserStepRunner);
|
|
4646
|
+
/** Every action so far, chained: see `run`. */
|
|
4647
|
+
private queue;
|
|
4648
|
+
/**
|
|
4649
|
+
* One action at a time, in the order they were called. A session has one
|
|
4650
|
+
* page, so actions started together (a `Promise.all`, or a task agent's
|
|
4651
|
+
* tools from one turn, which run concurrently) would otherwise reach it in
|
|
4652
|
+
* whatever order their requests landed: a click on Submit before the field
|
|
4653
|
+
* it submits was typed.
|
|
4654
|
+
*/
|
|
4655
|
+
private run;
|
|
4656
|
+
/**
|
|
4657
|
+
* One action's request, asked again under the same id when the answer
|
|
4658
|
+
* didn't get back (a dropped connection, an api pod rolling). The platform
|
|
4659
|
+
* runs an id once, so asking again waits on the action already under way
|
|
4660
|
+
* rather than clicking twice.
|
|
4661
|
+
*/
|
|
4662
|
+
private send;
|
|
4663
|
+
/** Open a URL and wait for it to load. */
|
|
4664
|
+
goto(url: string): Promise<BrowserPage>;
|
|
4665
|
+
/** The page as it is now. */
|
|
4666
|
+
snapshot(): Promise<BrowserPage>;
|
|
4667
|
+
/** Click an element (tap, on a mobile viewport), and wait for what it started to settle. */
|
|
4668
|
+
click(target: BrowserTarget): Promise<BrowserElementResult>;
|
|
4669
|
+
/**
|
|
4670
|
+
* Click into a field and type. `clear` replaces what's there; `submit`
|
|
4671
|
+
* presses Enter after.
|
|
4672
|
+
*/
|
|
4673
|
+
type(target: BrowserTarget, text: string, options?: {
|
|
4674
|
+
clear?: boolean;
|
|
4675
|
+
submit?: boolean;
|
|
4676
|
+
}): Promise<BrowserElementResult>;
|
|
4677
|
+
/** Choose an option of a `<select>`, by its text, value or label. */
|
|
4678
|
+
select(target: BrowserTarget, option: string): Promise<BrowserElementResult>;
|
|
4679
|
+
/**
|
|
4680
|
+
* Press a key on whatever has focus: `Enter`, `Tab`, `Escape`, `Backspace`,
|
|
4681
|
+
* `Delete`, the arrows, `PageUp`, `PageDown`, `Home`, `End`, `' '`, or any
|
|
4682
|
+
* single character.
|
|
4683
|
+
*/
|
|
4684
|
+
press(key: string): Promise<BrowserPage>;
|
|
4685
|
+
/** Scroll an element into view, or the page by `by` pixels (most of a screen, by default). */
|
|
4686
|
+
scroll(options?: {
|
|
4687
|
+
to?: BrowserTarget;
|
|
4688
|
+
by?: number;
|
|
4689
|
+
}): Promise<BrowserPage>;
|
|
4690
|
+
/** Wait for text to appear on the page. Throws once `timeoutSeconds` (15 by default) pass without it. */
|
|
4691
|
+
waitFor(text: string, options?: {
|
|
4692
|
+
timeoutSeconds?: number;
|
|
4693
|
+
}): Promise<BrowserPage>;
|
|
4694
|
+
/**
|
|
4695
|
+
* A PNG of the viewport, or of the whole page with `fullPage`. With a
|
|
4696
|
+
* `store` it goes straight into that store, under `key` or a new one, and
|
|
4697
|
+
* you get the stored file back; without, you get the bytes, which a full
|
|
4698
|
+
* page past a few megabytes is too large for. The cursor is left out unless
|
|
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.
|
|
4702
|
+
*
|
|
4703
|
+
* ```ts
|
|
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');
|
|
4707
|
+
* ```
|
|
4708
|
+
*/
|
|
4709
|
+
screenshot(options?: {
|
|
4710
|
+
fullPage?: boolean;
|
|
4711
|
+
cursor?: boolean;
|
|
4712
|
+
boxes?: BrowserTarget[];
|
|
4713
|
+
}): Promise<BrowserScreenshot>;
|
|
4714
|
+
screenshot(options: {
|
|
4715
|
+
fullPage?: boolean;
|
|
4716
|
+
cursor?: boolean;
|
|
4717
|
+
boxes?: BrowserTarget[];
|
|
4718
|
+
store: Store;
|
|
4719
|
+
key?: string;
|
|
4720
|
+
}): Promise<BrowserStoredScreenshot>;
|
|
4721
|
+
/**
|
|
4722
|
+
* Run a function in the page and get back what it returns (as JSON). The
|
|
4723
|
+
* function is sent as source, so it can't use variables from your code:
|
|
4724
|
+
* pass what it needs as `arg`.
|
|
4725
|
+
*
|
|
4726
|
+
* ```ts
|
|
4727
|
+
* const prices = await session.evaluate(
|
|
4728
|
+
* (selector) => [...document.querySelectorAll(selector)].map((el) => el.textContent),
|
|
4729
|
+
* '.price',
|
|
4730
|
+
* );
|
|
4731
|
+
* ```
|
|
4732
|
+
*/
|
|
4733
|
+
evaluate<R, A = undefined>(fn: (arg: A) => R, arg?: A): Promise<Awaited<R>>;
|
|
4734
|
+
/**
|
|
4735
|
+
* A tool for `mindstudio.runTask()` that drives this session, so a model can
|
|
4736
|
+
* browse. It takes a list of steps (open a URL, read the page, click, type,
|
|
4737
|
+
* choose an option, press a key, scroll, wait for text), runs them in order,
|
|
4738
|
+
* stops at the first that fails, and answers with each step's outcome and
|
|
4739
|
+
* the page after the last one. A model plans "fill the form and submit it"
|
|
4740
|
+
* as one call rather than one turn a field. Only the latest page stays in
|
|
4741
|
+
* the task's transcript (`supersedes`), so a long walk doesn't fill it.
|
|
4742
|
+
*
|
|
4743
|
+
* With `screenshots`, a second tool, `browser_screenshot`, lets the model
|
|
4744
|
+
* see the page: each shot goes into that store and the model reads a
|
|
4745
|
+
* description of it. Those answers all stay in the transcript, since each
|
|
4746
|
+
* names a kept file.
|
|
4747
|
+
*/
|
|
4748
|
+
tools(options?: BrowserToolsOptions): TaskToolConfig[];
|
|
4749
|
+
/**
|
|
4750
|
+
* The screenshot tool: the shot into the store, then a vision model's
|
|
4751
|
+
* description of it. A description that fails still answers with the kept
|
|
4752
|
+
* shot's key, so the model can name it.
|
|
4753
|
+
*/
|
|
4754
|
+
private describeScreen;
|
|
4755
|
+
/** The tool's steps, in order, stopping at the first that fails. */
|
|
4756
|
+
private runSteps;
|
|
4757
|
+
private runStep;
|
|
4758
|
+
/**
|
|
4759
|
+
* A grant to watch this session live, for your frontend: return it from a
|
|
4760
|
+
* method and hand its `token` to `browser.view()` in
|
|
4761
|
+
* `@mindstudio-ai/interface`. Whoever holds it sees the page until it
|
|
4762
|
+
* expires, so check your own access first, as for `events.grant()`.
|
|
4763
|
+
* `ttlSeconds` is clamped to 60 through 3600 (900 by default); the frontend
|
|
4764
|
+
* asks again through your method when it runs out.
|
|
4765
|
+
*
|
|
4766
|
+
* ```ts
|
|
4767
|
+
* export async function watchRun({ runId }: { runId: string }) {
|
|
4768
|
+
* auth.requireRole('admin');
|
|
4769
|
+
* const run = await Runs.get(runId);
|
|
4770
|
+
* const session = await browser.session(run.browserSessionId);
|
|
4771
|
+
* return session.grantView();
|
|
4772
|
+
* }
|
|
4773
|
+
* ```
|
|
4774
|
+
*/
|
|
4775
|
+
grantView(options?: {
|
|
4776
|
+
ttlSeconds?: number;
|
|
4777
|
+
}): Promise<{
|
|
4778
|
+
token: string;
|
|
4779
|
+
expiresAt: number;
|
|
4780
|
+
ttlSeconds: number;
|
|
4781
|
+
}>;
|
|
4782
|
+
/** Close the session and its browser. */
|
|
4783
|
+
close(): Promise<void>;
|
|
4784
|
+
}
|
|
4785
|
+
/** The `browser` namespace object. */
|
|
4786
|
+
interface Browser {
|
|
4787
|
+
/**
|
|
4788
|
+
* Start a browser session, and wait for its browser to be ready: seconds
|
|
4789
|
+
* when one starts on a warm host, longer when it's the first in a while.
|
|
4790
|
+
*/
|
|
4791
|
+
open(options?: BrowserOpenOptions): Promise<BrowserSession>;
|
|
4792
|
+
/**
|
|
4793
|
+
* Pick up a session an earlier call opened, by its `id`: a run that spans
|
|
4794
|
+
* several calls, or a cron that resumes where the last one stopped. Throws
|
|
4795
|
+
* `browser_session_not_found` once it has closed.
|
|
4796
|
+
*/
|
|
4797
|
+
session(id: string): Promise<BrowserSession>;
|
|
4798
|
+
}
|
|
4799
|
+
|
|
4453
4800
|
/**
|
|
4454
4801
|
* Client for the MindStudio direct step execution API.
|
|
4455
4802
|
*
|
|
@@ -4520,6 +4867,7 @@ declare class MindStudioAgent$1 {
|
|
|
4520
4867
|
private _analytics;
|
|
4521
4868
|
private _email;
|
|
4522
4869
|
private _events;
|
|
4870
|
+
private _browser;
|
|
4523
4871
|
/** @internal Auth type — 'internal' for CALLBACK_TOKEN (managed mode), 'apiKey' otherwise. */
|
|
4524
4872
|
private _authType;
|
|
4525
4873
|
/** @internal Usage source sent on step executions (from MINDSTUDIO_REQUEST_SOURCE).
|
|
@@ -4897,6 +5245,12 @@ declare class MindStudioAgent$1 {
|
|
|
4897
5245
|
* ```
|
|
4898
5246
|
*/
|
|
4899
5247
|
get events(): Events;
|
|
5248
|
+
/**
|
|
5249
|
+
* The `browser` namespace — a real Chrome your app drives. `open()` starts
|
|
5250
|
+
* a session; every action answers with the page afterward. See
|
|
5251
|
+
* {@link Browser}.
|
|
5252
|
+
*/
|
|
5253
|
+
get browser(): Browser;
|
|
4900
5254
|
/**
|
|
4901
5255
|
* Outbound email: sending, the per-recipient delivery log, blast stats, and
|
|
4902
5256
|
* this app's unsubscribe list.
|
|
@@ -4997,6 +5351,12 @@ declare class MindStudioAgent$1 {
|
|
|
4997
5351
|
* `delivered: 0`, never as an HTTP failure.
|
|
4998
5352
|
*/
|
|
4999
5353
|
private _eventsRequest;
|
|
5354
|
+
/**
|
|
5355
|
+
* @internal Transport for the `browser` namespace —
|
|
5356
|
+
* POST /_internal/v2/browser/<op> with the raw hook token. No 429 retry:
|
|
5357
|
+
* an action repeated is a second click.
|
|
5358
|
+
*/
|
|
5359
|
+
private _browserRequest;
|
|
5000
5360
|
private _analyticsRequest;
|
|
5001
5361
|
/**
|
|
5002
5362
|
* @internal Shared shape for the brokered `/_internal/v2/<ns>/<op>` data
|
|
@@ -5817,10 +6177,22 @@ interface DownloadVideoStepInput {
|
|
|
5817
6177
|
videoUrl: string;
|
|
5818
6178
|
/** Output format for the downloaded file */
|
|
5819
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;
|
|
5820
6186
|
}
|
|
5821
6187
|
interface DownloadVideoStepOutput {
|
|
5822
6188
|
/** URL of the downloaded and re-hosted video file */
|
|
5823
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;
|
|
5824
6196
|
}
|
|
5825
6197
|
interface EnhanceImageGenerationPromptStepInput {
|
|
5826
6198
|
/** The raw prompt to enhance */
|
|
@@ -9951,6 +10323,9 @@ interface StepMethods {
|
|
|
9951
10323
|
* @remarks
|
|
9952
10324
|
* - Works with YouTube, TikTok, etc., by using ytdlp behind the scenes
|
|
9953
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
|
|
9954
10329
|
*
|
|
9955
10330
|
* @example
|
|
9956
10331
|
* ```typescript
|
|
@@ -12282,14 +12657,18 @@ interface SessionContext {
|
|
|
12282
12657
|
medium?: 'web' | 'phone-in' | 'phone-out';
|
|
12283
12658
|
/**
|
|
12284
12659
|
* Phone sessions only: the call's numbers (`fromNumber` = who initiated,
|
|
12285
|
-
* `to` = who was dialed, in both directions
|
|
12286
|
-
*
|
|
12287
|
-
*
|
|
12288
|
-
*
|
|
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.
|
|
12289
12667
|
*/
|
|
12290
12668
|
sip?: {
|
|
12291
12669
|
to: string;
|
|
12292
12670
|
fromNumber: string;
|
|
12671
|
+
appNumber?: string;
|
|
12293
12672
|
};
|
|
12294
12673
|
}
|
|
12295
12674
|
/**
|
|
@@ -12916,6 +13295,23 @@ declare const email: Email;
|
|
|
12916
13295
|
* ```
|
|
12917
13296
|
*/
|
|
12918
13297
|
declare const events: Events;
|
|
13298
|
+
/**
|
|
13299
|
+
* A real Chrome your app drives. `browser.open()` starts a session; every
|
|
13300
|
+
* action answers with the page afterward, as an outline with a ref on
|
|
13301
|
+
* everything you can act on. Hand `session.tools()` to `runTask` and a model
|
|
13302
|
+
* drives it instead. See {@link Browser}.
|
|
13303
|
+
*
|
|
13304
|
+
* @example
|
|
13305
|
+
* ```ts
|
|
13306
|
+
* import { browser } from '@mindstudio-ai/agent';
|
|
13307
|
+
*
|
|
13308
|
+
* const session = await browser.open({ url: 'https://example.com', viewport: 'mobile' });
|
|
13309
|
+
* await session.click({ role: 'link', text: 'Pricing' });
|
|
13310
|
+
* const shot = await session.screenshot({ fullPage: true });
|
|
13311
|
+
* await session.close();
|
|
13312
|
+
* ```
|
|
13313
|
+
*/
|
|
13314
|
+
declare const browser: Browser;
|
|
12919
13315
|
/**
|
|
12920
13316
|
* Originating-session identity for this invocation — set when the method was
|
|
12921
13317
|
* triggered by a conversational surface (a voice call's tool use, an
|
|
@@ -13026,5 +13422,5 @@ declare const prerender: {
|
|
|
13026
13422
|
}>;
|
|
13027
13423
|
};
|
|
13028
13424
|
|
|
13029
|
-
export { AuthContext, HttpResponse, MAX_EVENT_PAYLOAD_CHARS, MindStudioAgent, MindStudioError, Query, RESPONSE_BODY_MAX_BYTES, RawQuery, Roles, Store, Table, analytics, auth, blockTypeAliases, 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 };
|
|
13030
|
-
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, 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 };
|
|
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 };
|
|
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 };
|