@mindstudio-ai/agent 0.1.100 → 0.1.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -22,6 +22,18 @@ interface PutOptions {
22
22
  * assets baked into source.
23
23
  */
24
24
  contentAddressed?: boolean;
25
+ /**
26
+ * Cache-Control header stored on the object and served by the CDN — this is
27
+ * how you control public-read freshness. Defaults (public stores):
28
+ * auto-minted keys (`key` omitted — UUID or content-addressed, never
29
+ * reused) → `public, max-age=31536000, immutable`; explicitly named
30
+ * (overwritable) keys → `public, max-age=300`, so an overwrite propagates
31
+ * within ~5 minutes. Recipes: `'public, max-age=31536000, immutable'`
32
+ * (content never changes at this key), `'public, max-age=60'` (near-live
33
+ * config), `'no-store'` (revalidate every read). Validated server-side —
34
+ * known directives only.
35
+ */
36
+ cacheControl?: string;
25
37
  }
26
38
  /** Options for {@link Store.list}. */
27
39
  interface ListOptions {
@@ -150,6 +162,12 @@ declare class Store {
150
162
  filename?: string;
151
163
  maxSize?: number;
152
164
  expiresIn?: number;
165
+ /**
166
+ * Cache-Control header stored on the uploaded object and served by the
167
+ * CDN (see {@link PutOptions.cacheControl}). Public uploads default to
168
+ * `public, max-age=300` server-side.
169
+ */
170
+ cacheControl?: string;
153
171
  }): Promise<UploadToken>;
154
172
  private _toFile;
155
173
  }
@@ -1563,6 +1581,329 @@ interface Files {
1563
1581
  defineStore(name: string, options?: DefineStoreOptions): Store;
1564
1582
  }
1565
1583
 
1584
+ /**
1585
+ * Jewels — agentic shadow companions for app methods.
1586
+ *
1587
+ * A jewel lives in `foo.jewel.ts` beside the method `foo.ts` it shadows. It
1588
+ * proposes what a careful teammate would have done — an input for the method
1589
+ * — without ever applying it: the method stays the only door for writes.
1590
+ *
1591
+ * ```ts
1592
+ * // updateIssue.jewel.ts
1593
+ * export default defineJewel(updateIssue, {
1594
+ * subject: ({ issueId }) => ({ issueId }),
1595
+ * propose: async ({ issueId }) => {
1596
+ * // arbitrary TS: reads via plain imports, model calls via runTask
1597
+ * return { input: { issueId, status: 'triaged' }, reasoning: '...' };
1598
+ * },
1599
+ * });
1600
+ * ```
1601
+ *
1602
+ * `defineJewel` returns a CALLABLE — the executor — with the config attached
1603
+ * as properties (the Express-app pattern). That shape is deliberate: the
1604
+ * platform's sandbox worker invokes one exported function per execution
1605
+ * frame (`mod[handlerName](params)`), so a jewel run is an ordinary
1606
+ * method-execution frame with zero worker or protocol changes. Dev tooling
1607
+ * calls the same function, so dev and production share one executor body,
1608
+ * versioned here in the SDK.
1609
+ *
1610
+ * Three run modes, discriminated by which key the caller provides:
1611
+ * - `{ humanInput }` — shadow mode. The subject is derived via the jewel's
1612
+ * projection (the human's decision fields never reach `propose`), and
1613
+ * `humanInput` doubles as ground truth for grading.
1614
+ * - `{ subject }` — eval / arrival mode. No human action exists yet, so the
1615
+ * record is ungraded (an arrival proposal is graded later, when the human
1616
+ * acts — see the grade mode below).
1617
+ * - `{ grade: { proposed, actual } }` — grade-only mode: deferred grading of
1618
+ * an earlier arrival proposal against the human's eventual action. Runs
1619
+ * the jewel's own `grade` (or the default deep-equal) and nothing else.
1620
+ *
1621
+ * The executor NEVER throws: a shadow run must never break anything. Author
1622
+ * code failing (`subject`/`propose`) is captured in the record's `error`;
1623
+ * `grade` failing softens to verdict `'skip'`.
1624
+ */
1625
+ /** Any app method a jewel can shadow: one JSON-serializable input, any result. */
1626
+ type JewelMethod = (input: any) => any;
1627
+ /**
1628
+ * The input type of the shadowed method. Guarded so a zero-parameter method
1629
+ * resolves to `undefined` instead of erroring on `Parameters<M>[0]`.
1630
+ */
1631
+ type JewelMethodInput<M extends JewelMethod> = Parameters<M> extends [] ? undefined : Parameters<M>[0];
1632
+ /**
1633
+ * What `propose` returns. `input: null` is abstention — a first-class,
1634
+ * graded outcome, not an error. Reasoning is most valuable on abstention.
1635
+ */
1636
+ interface JewelProposal<I> {
1637
+ input: I | null;
1638
+ reasoning: string;
1639
+ /**
1640
+ * Transcript id(s) of the runTask call(s) that constitute this decision
1641
+ * (`task.traceId`; an array for escalation chains). Attaching preserves
1642
+ * the full model transcript with the pair — the training row and, at
1643
+ * auto, the audit trail. Helper/formatting calls stay unattached: the
1644
+ * attachment is the label for which run WAS the decision.
1645
+ */
1646
+ trace?: string | string[];
1647
+ }
1648
+ interface JewelVerdict {
1649
+ verdict: 'agree' | 'disagree' | 'skip';
1650
+ notes?: string;
1651
+ /** Transcript id(s) of the judge's runTask call(s), when grade used one. */
1652
+ trace?: string | string[];
1653
+ }
1654
+ /**
1655
+ * Argument to a custom `grade`. `proposed` is null when the jewel abstained;
1656
+ * `actual` is always present — grading only happens in shadow mode, where
1657
+ * the human acted.
1658
+ */
1659
+ interface JewelGradeContext<I> {
1660
+ proposed: I | null;
1661
+ actual: I;
1662
+ }
1663
+ type MaybePromise<T> = T | Promise<T>;
1664
+ /**
1665
+ * Authoring config. Declare `subject` before `propose` — the subject type
1666
+ * is inferred from the projection's return and flows into `propose`'s
1667
+ * parameter.
1668
+ */
1669
+ interface JewelConfig<M extends JewelMethod, S> {
1670
+ /**
1671
+ * Projection: method input → subject. What the human was looking at,
1672
+ * never what they decided — this is what keeps the label out of the exam.
1673
+ */
1674
+ subject: (input: JewelMethodInput<M>) => S;
1675
+ /**
1676
+ * The proposal. Runs on the projection only; arbitrary TS (plain imports
1677
+ * for context, model calls via runTask). Throwing never propagates — it
1678
+ * becomes an `error` on the pair record.
1679
+ */
1680
+ propose: (subject: NoInfer<S>) => MaybePromise<JewelProposal<JewelMethodInput<M>>>;
1681
+ /**
1682
+ * The custom assertion. Omit for deep-equal on the method input. May be
1683
+ * async and call models. Throwing softens to verdict `'skip'`.
1684
+ *
1685
+ * Strict-safe field iteration, when grading only touched fields:
1686
+ * ```ts
1687
+ * grade: ({ proposed, actual }) => {
1688
+ * if (!proposed) return { verdict: 'disagree', notes: 'abstained' };
1689
+ * const keys = Object.keys(actual) as (keyof typeof actual)[];
1690
+ * const misses = keys.filter((k) => proposed[k] !== actual[k]);
1691
+ * return misses.length
1692
+ * ? { verdict: 'disagree', notes: misses.join(', ') }
1693
+ * : { verdict: 'agree' };
1694
+ * }
1695
+ * ```
1696
+ */
1697
+ grade?: (ctx: JewelGradeContext<JewelMethodInput<M>>) => MaybePromise<JewelVerdict>;
1698
+ }
1699
+ /**
1700
+ * Executor params — constructed by the platform (or dev tooling), exactly
1701
+ * one key. `?: never` on the other keys rejects passing more than one.
1702
+ */
1703
+ type JewelRunParams<I, S> = {
1704
+ humanInput: I;
1705
+ subject?: never;
1706
+ grade?: never;
1707
+ } | {
1708
+ subject: S;
1709
+ humanInput?: never;
1710
+ grade?: never;
1711
+ } | {
1712
+ grade: JewelGradeContext<I>;
1713
+ humanInput?: never;
1714
+ subject?: never;
1715
+ };
1716
+ /**
1717
+ * The versioned, JSON-serializable output of one jewel run — the row the
1718
+ * pair ledger stores. Values are kept verbatim, so method inputs must be
1719
+ * JSON-safe (they already crossed the wire as JSON in real use).
1720
+ */
1721
+ interface JewelPairRecord<I = unknown, S = unknown> {
1722
+ v: 1;
1723
+ /** `grade` records are consumed by the platform (verdict extracted from a
1724
+ * grade-only run) and never persisted as pair rows themselves. */
1725
+ mode: 'shadow' | 'eval' | 'grade';
1726
+ /** Absent only when the projection itself threw (shadow mode). */
1727
+ subject?: S;
1728
+ /** null = abstention. Absent when propose failed. */
1729
+ proposed?: I | null;
1730
+ /** Absent when propose failed. */
1731
+ reasoning?: string;
1732
+ /** The human's input — present in shadow mode. */
1733
+ actual?: I;
1734
+ /** Present iff graded (shadow or grade mode, propose succeeded). */
1735
+ verdict?: 'agree' | 'disagree' | 'skip';
1736
+ notes?: string;
1737
+ /** Present iff subject() or propose() threw. Grade errors become verdict 'skip'. */
1738
+ error?: {
1739
+ phase: 'subject' | 'propose';
1740
+ message: string;
1741
+ stack?: string;
1742
+ };
1743
+ /**
1744
+ * Transcript ids attached by propose. The transcripts themselves live
1745
+ * platform-side, recorded per turn and keyed by (run id, trace id) — the
1746
+ * record carries only the ids.
1747
+ */
1748
+ trace?: string[];
1749
+ /** Transcript ids attached by a custom grade's verdict. */
1750
+ gradeTrace?: string[];
1751
+ /**
1752
+ * Whether this jewel declares a custom `grade`. The platform's deferred
1753
+ * grading dispatches a grade-mode run when true; when false it grades
1754
+ * locally with an equivalent of the default deep-equal (no sandbox trip
1755
+ * to evaluate a pure structural comparison).
1756
+ */
1757
+ customGrade: boolean;
1758
+ startedAt: number;
1759
+ durationMs: number;
1760
+ }
1761
+ /**
1762
+ * The export of a `foo.jewel.ts` file: the executor, callable as an
1763
+ * ordinary handler, with the authored config attached for the compiler and
1764
+ * dev tooling. `method` carries the actual function reference — reference
1765
+ * identity is what lets the compiler verify the manifest's method↔jewel
1766
+ * pairing against the code. `grade` is `undefined` when the default
1767
+ * deep-equal grade applies; presence is the custom-grade signal.
1768
+ */
1769
+ interface Jewel<M extends JewelMethod, S> {
1770
+ (params: JewelRunParams<JewelMethodInput<M>, S>): Promise<JewelPairRecord<JewelMethodInput<M>, S>>;
1771
+ readonly kind: 'jewel';
1772
+ readonly method: M;
1773
+ readonly subject: (input: JewelMethodInput<M>) => S;
1774
+ readonly propose: (subject: S) => MaybePromise<JewelProposal<JewelMethodInput<M>>>;
1775
+ readonly grade: ((ctx: JewelGradeContext<JewelMethodInput<M>>) => MaybePromise<JewelVerdict>) | undefined;
1776
+ }
1777
+ /**
1778
+ * What the platform did with a proposal, routed by the method's autonomy:
1779
+ * - `recorded` — shadow: proposal written to the pair ledger, graded later
1780
+ * against the human's eventual action (within the attribution window).
1781
+ * - `queued` — approve: waiting in the review queue.
1782
+ * - `committed` — auto: the jewel's proposal was applied (the method ran);
1783
+ * `output` carries the method's return value.
1784
+ * - `abstained` — the jewel chose not to act; recorded, still gradeable.
1785
+ * - `disabled` — the method has no jewel or autonomy is `manual`. Returned,
1786
+ * never thrown: dialing a method down must not break the app code that
1787
+ * proposes to it.
1788
+ * - `skipped` — dev session, jewel-descended recursion, or unsampled
1789
+ * (sampleRate).
1790
+ * - `failed` — an auto commit was attempted and the method rejected it
1791
+ * (e.g. the state was consumed concurrently). The moment stays pending.
1792
+ * - `pending` — a concurrent replay: the original propose for this
1793
+ * idempotencyKey is still mid-run. Treat as accepted.
1794
+ */
1795
+ type JewelProposeOutcome = 'recorded' | 'queued' | 'committed' | 'abstained' | 'disabled' | 'skipped' | 'failed' | 'pending';
1796
+ interface JewelProposeResult {
1797
+ outcome: JewelProposeOutcome;
1798
+ /** Present on `committed` — the method's return value. */
1799
+ output?: unknown;
1800
+ /** Present on `queued` — address the item via `jewels.queue.resolve`. */
1801
+ queueItemId?: string;
1802
+ }
1803
+ /** A pending approval-queue item awaiting a reviewer. */
1804
+ interface JewelQueueItem {
1805
+ id: string;
1806
+ methodId: string;
1807
+ subject: Record<string, unknown>;
1808
+ /** The method input the jewel proposes to apply. */
1809
+ proposed: unknown;
1810
+ reasoning: string | null;
1811
+ proposedAt: string;
1812
+ /** Unresolved items expire (verdict `expired`) at the attribution window. */
1813
+ expiresAt: string;
1814
+ }
1815
+ type JewelQueueResolution = 'approved' | 'edited' | 'dismissed';
1816
+ interface JewelQueueResolveResult {
1817
+ resolution: JewelQueueResolution;
1818
+ /** Present on approve — the applied method's return value. */
1819
+ output?: unknown;
1820
+ }
1821
+ interface JewelsApi {
1822
+ /**
1823
+ * Hand a decision moment to a method's jewel — the arrival-shaped trigger.
1824
+ * Place it where the app knows the moment was born (an ingest branch that
1825
+ * lands a row in its pending state). The platform routes by the method's
1826
+ * autonomy; see {@link JewelProposeOutcome}.
1827
+ *
1828
+ * `idempotencyKey` (Stripe semantics — a replayed key returns the ORIGINAL
1829
+ * outcome, so retried webhooks are invisible to this code) defaults to a
1830
+ * hash of the subject. Sibling proposals for one decision moment should
1831
+ * share a key so cross-verb grading can close them together.
1832
+ *
1833
+ * Backend/managed contexts only (rides the execution's hook token). Runs
1834
+ * the jewel synchronously — wrap chains in `mindstudio.waitUntil(...)` so
1835
+ * the calling method returns immediately:
1836
+ *
1837
+ * ```ts
1838
+ * mindstudio.waitUntil((async () => {
1839
+ * const merge = await mindstudio.jewels.propose(
1840
+ * 'merge-issues', { sourceId: issue.id }, { idempotencyKey: issue.id });
1841
+ * if (merge.outcome !== 'committed') {
1842
+ * await mindstudio.jewels.propose(
1843
+ * 'triage-issue', { issueId: issue.id }, { idempotencyKey: issue.id });
1844
+ * }
1845
+ * })());
1846
+ * ```
1847
+ */
1848
+ propose(methodId: string, subject: Record<string, unknown>, opts?: {
1849
+ idempotencyKey?: string;
1850
+ }): Promise<JewelProposeResult>;
1851
+ /**
1852
+ * The app-native approval queue for `approve`-mode methods. Build the
1853
+ * review UI in the app itself: a backend method lists items (gate it with
1854
+ * the app's reviewer role), the frontend renders the inbox, and a resolve
1855
+ * method approves or dismisses.
1856
+ */
1857
+ queue: {
1858
+ /** Pending items, oldest first. */
1859
+ list(opts?: {
1860
+ methodId?: string;
1861
+ limit?: number;
1862
+ }): Promise<{
1863
+ items: JewelQueueItem[];
1864
+ }>;
1865
+ /**
1866
+ * Resolve one item. `approve` APPLIES the target method as the current
1867
+ * session user — the reviewer — so the effect belongs to the human who
1868
+ * clicked, and the target method's own auth checks are the real gate on
1869
+ * who may approve. Pass `input` to apply an edited version of the
1870
+ * proposal (captured as resolution `edited` — proposed/edited/final ride
1871
+ * the pair record; the richest training signal). `dismiss` records the
1872
+ * rejection and closes the item without running anything; other verbs'
1873
+ * proposals for the same moment stay open.
1874
+ */
1875
+ resolve(itemId: string, opts: {
1876
+ action: 'approve' | 'dismiss';
1877
+ input?: Record<string, unknown>;
1878
+ }): Promise<JewelQueueResolveResult>;
1879
+ };
1880
+ }
1881
+ /**
1882
+ * Define a jewel — the agentic shadow companion for an app method.
1883
+ *
1884
+ * @example
1885
+ * ```ts
1886
+ * export default defineJewel(updateIssue, {
1887
+ * subject: ({ issueId }) => ({ issueId }),
1888
+ * propose: async ({ issueId }) => {
1889
+ * const issue = await resolveIssue(issueId);
1890
+ * if (!issue || issue.status !== 'new') {
1891
+ * return { input: null, reasoning: 'Nothing to propose.' };
1892
+ * }
1893
+ * // ...gather context, call a model via runTask + outputSchema...
1894
+ * return { input: { issueId, status: 'triaged' }, reasoning: '...' };
1895
+ * },
1896
+ * grade: async ({ proposed, actual }) => {
1897
+ * if (!proposed) return { verdict: 'disagree', notes: 'abstained' };
1898
+ * return proposed.status === actual.status
1899
+ * ? { verdict: 'agree' }
1900
+ * : { verdict: 'disagree' };
1901
+ * },
1902
+ * });
1903
+ * ```
1904
+ */
1905
+ declare function defineJewel<M extends JewelMethod, S>(method: M, config: JewelConfig<M, S>): Jewel<M, S>;
1906
+
1566
1907
  /** @internal Transport: `POST /_internal/v2/datasources/<op>` with the hook token. */
1567
1908
  type DataSourcesTransport = (op: string, body: unknown) => Promise<any>;
1568
1909
  /** Where a retrieved chunk came from — enough to show the user the source. */
@@ -2256,6 +2597,14 @@ interface RunTaskResult<T = unknown> {
2256
2597
  usage: TaskUsage;
2257
2598
  /** Summary of every tool call made during execution. */
2258
2599
  toolCalls: TaskToolCall[];
2600
+ /**
2601
+ * Stable id for this task's model transcript. Inside a jewel, attach it to
2602
+ * the propose/grade return (`trace: task.traceId`) to preserve the full
2603
+ * transcript with the pair — the training row and the audit trail. The
2604
+ * platform records transcripts server-side per turn; only the id rides the
2605
+ * result.
2606
+ */
2607
+ traceId: string;
2259
2608
  }
2260
2609
 
2261
2610
  /**
@@ -2648,6 +2997,17 @@ declare class MindStudioAgent$1 {
2648
2997
  * ```
2649
2998
  */
2650
2999
  get files(): Files;
3000
+ /**
3001
+ * Jewel surfaces: arrival-shaped triggers (`propose`) and the app-native
3002
+ * approval queue (`queue.list` / `queue.resolve`). See {@link JewelsApi}.
3003
+ */
3004
+ get jewels(): JewelsApi;
3005
+ /**
3006
+ * Raw hook-token call shared by the jewels surfaces (mirrors reportIssue).
3007
+ * No retries: propose holds the request for the jewel run and is idempotent
3008
+ * by key anyway; resolve applies a method and must never double-fire.
3009
+ */
3010
+ private _jewelsRequest;
2651
3011
  /**
2652
3012
  * Searchable document corpora.
2653
3013
  *
@@ -5532,10 +5892,10 @@ interface ScrapeUrlStepInput {
5532
5892
  url: string;
5533
5893
  /** Scraping service to use */
5534
5894
  service?: "default" | "firecrawl";
5535
- /** Whether to enable enhanced scraping for social media URLs (e.g. Twitter, LinkedIn) */
5895
+ /** No longer selects a provider — the default service's anti-bot engine decides per request how hard to work. Retained because existing workflows set it and the builder still renders it. */
5536
5896
  autoEnhance?: boolean;
5537
- /** Output format: text returns markdown, html returns raw HTML, json returns structured scraper data */
5538
- outputFormat?: "text" | "json" | "html";
5897
+ /** Output format: text returns markdown, html returns raw HTML, json returns structured scraper data, summary returns a model-written summary (Firecrawl only) */
5898
+ outputFormat?: "text" | "json" | "html" | "summary";
5539
5899
  /** Page-level scraping options (content filtering, screenshots, headers, etc.) */
5540
5900
  pageOptions?: {
5541
5901
  /** Whether to extract only the main content of the page, excluding navigation, footers, etc. */
@@ -5581,6 +5941,12 @@ interface ScrapeUrlStepOutput {
5581
5941
  code: string;
5582
5942
  message: string;
5583
5943
  };
5944
+ /**
5945
+ * What the provider actually charged, when it tells us. Scrapfly returns an exact per-request credit total that varies with how hard the target fought back (6 for an unprotected page, 80 for Glassdoor), so billing a flat rate would either overcharge the easy case or eat the hard one. Providers that report nothing leave this undefined and fall back to the route's estimate.
5946
+ *
5947
+ * Includes every attempt made on the caller's behalf, not just the last one.
5948
+ */
5949
+ costUnits?: number;
5584
5950
  } | {
5585
5951
  /** Markdown/plain-text content of the scraped page */
5586
5952
  text: string;
@@ -5606,6 +5972,12 @@ interface ScrapeUrlStepOutput {
5606
5972
  code: string;
5607
5973
  message: string;
5608
5974
  };
5975
+ /**
5976
+ * What the provider actually charged, when it tells us. Scrapfly returns an exact per-request credit total that varies with how hard the target fought back (6 for an unprotected page, 80 for Glassdoor), so billing a flat rate would either overcharge the easy case or eat the hard one. Providers that report nothing leave this undefined and fall back to the route's estimate.
5977
+ *
5978
+ * Includes every attempt made on the caller's behalf, not just the last one.
5979
+ */
5980
+ costUnits?: number;
5609
5981
  }[];
5610
5982
  /** Screenshot URL(s), only present when a screenshot was captured */
5611
5983
  screenshot?: string | string[];
@@ -5641,6 +6013,12 @@ interface ScrapeXPostStepOutput {
5641
6013
  code: string;
5642
6014
  message: string;
5643
6015
  };
6016
+ /**
6017
+ * What the provider actually charged, when it tells us. Scrapfly returns an exact per-request credit total that varies with how hard the target fought back (6 for an unprotected page, 80 for Glassdoor), so billing a flat rate would either overcharge the easy case or eat the hard one. Providers that report nothing leave this undefined and fall back to the route's estimate.
6018
+ *
6019
+ * Includes every attempt made on the caller's behalf, not just the last one.
6020
+ */
6021
+ costUnits?: number;
5644
6022
  };
5645
6023
  }
5646
6024
  interface ScrapeXProfileStepInput {
@@ -5674,6 +6052,12 @@ interface ScrapeXProfileStepOutput {
5674
6052
  code: string;
5675
6053
  message: string;
5676
6054
  };
6055
+ /**
6056
+ * What the provider actually charged, when it tells us. Scrapfly returns an exact per-request credit total that varies with how hard the target fought back (6 for an unprotected page, 80 for Glassdoor), so billing a flat rate would either overcharge the easy case or eat the hard one. Providers that report nothing leave this undefined and fall back to the route's estimate.
6057
+ *
6058
+ * Includes every attempt made on the caller's behalf, not just the last one.
6059
+ */
6060
+ costUnits?: number;
5677
6061
  };
5678
6062
  }
5679
6063
  interface ScreenshotUrlStepInput {
@@ -8917,8 +9301,9 @@ interface StepMethods {
8917
9301
  *
8918
9302
  * @remarks
8919
9303
  * - Accepts a single URL or multiple URLs (as a JSON array, comma-separated, or newline-separated).
8920
- * - Output format controls the result shape: "text" returns markdown, "html" returns raw HTML, "json" returns structured scraper data.
9304
+ * - Output format controls the result shape: "text" returns markdown, "html" returns raw HTML, "json" returns structured scraper data, "summary" returns a model-written summary and requires the "firecrawl" service.
8921
9305
  * - Can optionally capture a screenshot of each page.
9306
+ * - Handles bot protection automatically; no proxy or rendering configuration is needed.
8922
9307
  *
8923
9308
  * @example
8924
9309
  * ```typescript
@@ -8964,8 +9349,11 @@ interface StepMethods {
8964
9349
  * @remarks
8965
9350
  * - Takes a viewport or full-page screenshot of the given URL.
8966
9351
  * - Returns a CDN-hosted PNG image URL.
8967
- * - Viewport mode captures only the visible area; fullPage captures the entire scrollable page.
8968
- * - You can customize viewport width/height, add a delay, or wait for a CSS selector before capturing.
9352
+ * - Viewport mode captures only the visible area; fullPage captures the entire scrollable page, scrolling it first so lazy-loaded content is included.
9353
+ * - Works on sites behind bot protection (Cloudflare and similar).
9354
+ * - Cookie-consent banners and similar overlays are suppressed automatically.
9355
+ * - `width` and `height` are the exact output pixel dimensions.
9356
+ * - You can add a delay or wait for a CSS selector before capturing. A selector that never appears fails the step rather than capturing early.
8969
9357
  *
8970
9358
  * @example
8971
9359
  * ```typescript
@@ -10162,4 +10550,4 @@ declare const prerender: {
10162
10550
  }>;
10163
10551
  };
10164
10552
 
10165
- export { type Accessor, type ActiveCampaignAddNoteStepInput, type ActiveCampaignAddNoteStepOutput, type ActiveCampaignCreateContactStepInput, type ActiveCampaignCreateContactStepOutput, type AddSubtitlesToVideoStepInput, type AddSubtitlesToVideoStepOutput, type AgentInfo, type AgentOptions, type AirtableCreateUpdateRecordStepInput, type AirtableCreateUpdateRecordStepOutput, type AirtableDeleteRecordStepInput, type AirtableDeleteRecordStepOutput, type AirtableGetRecordStepInput, type AirtableGetRecordStepOutput, type AirtableGetTableRecordsStepInput, type AirtableGetTableRecordsStepOutput, type AnalyzeImageStepInput, type AnalyzeImageStepOutput, type AnalyzeVideoStepInput, type AnalyzeVideoStepOutput, type AppAuthContext, type AppContextResult, type AppDatabase, type AppDatabaseColumnSchema, type AppDatabaseTable, type AppRoleAssignment, AuthContext, type AuthTableConfig, type BatchStepInput, type BatchStepResult, type Batchable, type CaptureThumbnailStepInput, type CaptureThumbnailStepOutput, type CheckAppRoleStepInput, type CheckAppRoleStepOutput, type CodaCreateUpdatePageStepInput, type CodaCreateUpdatePageStepOutput, type CodaCreateUpdateRowStepInput, type CodaCreateUpdateRowStepOutput, type CodaFindRowStepInput, type CodaFindRowStepOutput, type CodaGetPageStepInput, type CodaGetPageStepOutput, type CodaGetTableRowsStepInput, type CodaGetTableRowsStepOutput, type Connection, type ConnectorActionDetail, type ConnectorService, type ConvertPdfToImagesStepInput, type ConvertPdfToImagesStepOutput, type CreateDataSourceStepInput, type CreateDataSourceStepOutput, type CreateGmailDraftStepInput, type CreateGmailDraftStepOutput, type CreateGoogleCalendarEventStepInput, type CreateGoogleCalendarEventStepOutput, type CreateGoogleDocStepInput, type CreateGoogleDocStepOutput, type CreateGoogleSheetStepInput, type CreateGoogleSheetStepOutput, type Db, type DefineStoreOptions, type DefineTableOptions, type DeleteDataSourceDocumentStepInput, type DeleteDataSourceDocumentStepOutput, type DeleteDataSourceStepInput, type DeleteDataSourceStepOutput, type DeleteGmailEmailStepInput, type DeleteGmailEmailStepOutput, type DeleteGoogleCalendarEventStepInput, type DeleteGoogleCalendarEventStepOutput, type DeleteGoogleSheetRowsStepInput, type DeleteGoogleSheetRowsStepOutput, type DetectChangesStepInput, type DetectChangesStepOutput, type DetectPIIStepInput, type DetectPIIStepOutput, type DiscordEditMessageStepInput, type DiscordEditMessageStepOutput, type DiscordSendFollowUpStepInput, type DiscordSendFollowUpStepOutput, type DiscordSendMessageStepInput, type DiscordSendMessageStepOutput, type DownloadVideoStepInput, type DownloadVideoStepOutput, type EnhanceImageGenerationPromptStepInput, type EnhanceImageGenerationPromptStepOutput, type EnhanceVideoGenerationPromptStepInput, type EnhanceVideoGenerationPromptStepOutput, type EnrichPersonStepInput, type EnrichPersonStepOutput, type ExecuteStepBatchOptions, type ExecuteStepBatchResult, type ExtractAudioFromVideoStepInput, type ExtractAudioFromVideoStepOutput, type ExtractTextStepInput, type ExtractTextStepOutput, type FetchDataSourceDocumentStepInput, type FetchDataSourceDocumentStepOutput, type FetchGoogleDocStepInput, type FetchGoogleDocStepOutput, type FetchGoogleSheetStepInput, type FetchGoogleSheetStepOutput, type FetchSlackChannelHistoryStepInput, type FetchSlackChannelHistoryStepOutput, type FetchYoutubeCaptionsStepInput, type FetchYoutubeCaptionsStepOutput, type FetchYoutubeChannelStepInput, type FetchYoutubeChannelStepOutput, type FetchYoutubeCommentsStepInput, type FetchYoutubeCommentsStepOutput, type FetchYoutubeVideoStepInput, type FetchYoutubeVideoStepOutput, type FileAccess, type Files, type FromSchema, type Generate3dModelStepInput, type Generate3dModelStepOutput, type GenerateAssetStepInput, type GenerateAssetStepOutput, type GenerateChartStepInput, type GenerateChartStepOutput, type GenerateImageStepInput, type GenerateImageStepOutput, type GenerateLipsyncStepInput, type GenerateLipsyncStepOutput, type GenerateMusicStepInput, type GenerateMusicStepOutput, type GeneratePdfStepInput, type GeneratePdfStepOutput, type GenerateStaticVideoFromImageStepInput, type GenerateStaticVideoFromImageStepOutput, type GenerateTextStepInput, type GenerateTextStepOutput, type GenerateVideoStepInput, type GenerateVideoStepOutput, type GetGmailAttachmentsStepInput, type GetGmailAttachmentsStepOutput, type GetGmailDraftStepInput, type GetGmailDraftStepOutput, type GetGmailEmailStepInput, type GetGmailEmailStepOutput, type GetGmailUnreadCountStepInput, type GetGmailUnreadCountStepOutput, type GetGoogleCalendarEventStepInput, type GetGoogleCalendarEventStepOutput, type GetGoogleDriveFileStepInput, type GetGoogleDriveFileStepOutput, type GetGoogleSheetInfoStepInput, type GetGoogleSheetInfoStepOutput, type GetMediaMetadataStepInput, type GetMediaMetadataStepOutput, type HubspotCreateCompanyStepInput, type HubspotCreateCompanyStepOutput, type HubspotCreateContactStepInput, type HubspotCreateContactStepOutput, type HubspotGetCompanyStepInput, type HubspotGetCompanyStepOutput, type HubspotGetContactStepInput, type HubspotGetContactStepOutput, type HunterApiCompanyEnrichmentStepInput, type HunterApiCompanyEnrichmentStepOutput, type HunterApiDomainSearchStepInput, type HunterApiDomainSearchStepOutput, type HunterApiEmailFinderStepInput, type HunterApiEmailFinderStepOutput, type HunterApiEmailVerificationStepInput, type HunterApiEmailVerificationStepOutput, type HunterApiPersonEnrichmentStepInput, type HunterApiPersonEnrichmentStepOutput, type ImageFaceSwapStepInput, type ImageFaceSwapStepOutput, type ImageRemoveWatermarkStepInput, type ImageRemoveWatermarkStepOutput, type InsertVideoClipsStepInput, type InsertVideoClipsStepOutput, type JsonObjectSchema, type JsonSchema, type JsonSchemaTypeName, type ListAgentsResult, type ListDataSourcesStepInput, type ListDataSourcesStepOutput, type ListGmailDraftsStepInput, type ListGmailDraftsStepOutput, type ListGmailLabelsStepInput, type ListGmailLabelsStepOutput, type ListGoogleCalendarEventsStepInput, type ListGoogleCalendarEventsStepOutput, type ListGoogleDriveFilesStepInput, type ListGoogleDriveFilesStepOutput, type ListOptions, type ListRecentGmailEmailsStepInput, type ListRecentGmailEmailsStepOutput, type LogicStepInput, type LogicStepOutput, type MakeDotComRunScenarioStepInput, type MakeDotComRunScenarioStepOutput, type MergeAudioStepInput, type MergeAudioStepOutput, type MergeVideosStepInput, type MergeVideosStepOutput, type MeshyAnimateStepInput, type MeshyAnimateStepOutput, type MeshyImageTo3dStepInput, type MeshyImageTo3dStepOutput, type MeshyRemeshStepInput, type MeshyRemeshStepOutput, type MeshyRigStepInput, type MeshyRigStepOutput, type MeshyTextTo3dStepInput, type MeshyTextTo3dStepOutput, type MeshyTextureStepInput, type MeshyTextureStepOutput, MindStudioAgent, MindStudioError, type MindStudioModel, type MindStudioModelSummary, type MixAudioIntoVideoStepInput, type MixAudioIntoVideoStepOutput, type ModelType, type MonacoSnippet, type MonacoSnippetField, type MonacoSnippetFieldType, type MuteVideoStepInput, type MuteVideoStepOutput, type N8nRunNodeStepInput, type N8nRunNodeStepOutput, type NotionCreatePageStepInput, type NotionCreatePageStepOutput, type NotionUpdatePageStepInput, type NotionUpdatePageStepOutput, type PackagedWorkflow, type PackagedWorkflowInput, type PackagedWorkflowSignature, type ParticlePodcastsFindMentionsStepInput, type ParticlePodcastsFindMentionsStepOutput, type ParticlePodcastsGetEpisodeStepInput, type ParticlePodcastsGetEpisodeStepOutput, type ParticlePodcastsGetEpisodeTranscriptStepInput, type ParticlePodcastsGetEpisodeTranscriptStepOutput, type ParticlePodcastsSearchCompaniesStepInput, type ParticlePodcastsSearchCompaniesStepOutput, type ParticlePodcastsSearchDialogueStepInput, type ParticlePodcastsSearchDialogueStepOutput, type ParticlePodcastsSearchPodcastsStepInput, type ParticlePodcastsSearchPodcastsStepOutput, type PeopleSearchStepInput, type PeopleSearchStepOutput, type PostToLinkedInStepInput, type PostToLinkedInStepOutput, type PostToSlackChannelStepInput, type PostToSlackChannelStepOutput, type PostToXStepInput, type PostToXStepOutput, type PostToZapierStepInput, type PostToZapierStepOutput, type Predicate, type PushInput, type PutOptions, Query, type QueryAppDatabaseStepInput, type QueryAppDatabaseStepOutput, type QueryDataSourceStepInput, type QueryDataSourceStepOutput, type QueryExternalDatabaseStepInput, type QueryExternalDatabaseStepOutput, type RedactPIIStepInput, type RedactPIIStepOutput, type RemoveBackgroundFromImageStepInput, type RemoveBackgroundFromImageStepOutput, type ReplyToGmailEmailStepInput, type ReplyToGmailEmailStepOutput, type ReportIssueInput, type ReportedIssue, type RequestContext, type ResizeVideoStepInput, type ResizeVideoStepOutput, type ResolvedUser, Roles, type RunAgentOptions, type RunAgentResult, type RunFromConnectorRegistryStepInput, type RunFromConnectorRegistryStepOutput, type RunPackagedWorkflowStepInput, type RunPackagedWorkflowStepOutput, type RunTaskOptions, type RunTaskOptionsWithExample, type RunTaskOptionsWithSchema, type RunTaskResult, type SchemaValidationError, type ScrapeLinkedInCompanyStepInput, type ScrapeLinkedInCompanyStepOutput, type ScrapeLinkedInProfileStepInput, type ScrapeLinkedInProfileStepOutput, type ScrapeUrlStepInput, type ScrapeUrlStepOutput, type ScrapeXPostStepInput, type ScrapeXPostStepOutput, type ScrapeXProfileStepInput, type ScrapeXProfileStepOutput, type ScreenshotUrlStepInput, type ScreenshotUrlStepOutput, type SearchGmailEmailsStepInput, type SearchGmailEmailsStepOutput, type SearchGoogleCalendarEventsStepInput, type SearchGoogleCalendarEventsStepOutput, type SearchGoogleDriveStepInput, type SearchGoogleDriveStepOutput, type SearchGoogleImagesStepInput, type SearchGoogleImagesStepOutput, type SearchGoogleNewsStepInput, type SearchGoogleNewsStepOutput, type SearchGoogleStepInput, type SearchGoogleStepOutput, type SearchGoogleTrendsStepInput, type SearchGoogleTrendsStepOutput, type SearchPerplexityStepInput, type SearchPerplexityStepOutput, type SearchXPostsStepInput, type SearchXPostsStepOutput, type SearchYoutubeStepInput, type SearchYoutubeStepOutput, type SearchYoutubeTrendsStepInput, type SearchYoutubeTrendsStepOutput, type SendEmailStepInput, type SendEmailStepOutput, type SendGmailDraftStepInput, type SendGmailDraftStepOutput, type SendGmailMessageStepInput, type SendGmailMessageStepOutput, type SendSMSStepInput, type SendSMSStepOutput, type SendSlackDirectMessageStepInput, type SendSlackDirectMessageStepOutput, type SessionContext, type SetGmailReadStatusStepInput, type SetGmailReadStatusStepOutput, type SetRunTitleStepInput, type SetRunTitleStepOutput, type SetVariableStepInput, type SetVariableStepOutput, type StepCostEstimateEntry, type StepExecutionMeta, type StepExecutionOptions, type StepExecutionResult, type StepInputMap, type StepLogEvent, type StepMetadata, type StepMethods, type StepName, type StepOutputMap, Store, type StoredFile, type SystemFields, Table, type TaskEvent, type TaskToolCall, type TaskToolConfig, type TaskUsage, type TelegramEditMessageStepInput, type TelegramEditMessageStepOutput, type TelegramReplyToMessageStepInput, type TelegramReplyToMessageStepOutput, type TelegramSendAudioStepInput, type TelegramSendAudioStepOutput, type TelegramSendFileStepInput, type TelegramSendFileStepOutput, type TelegramSendImageStepInput, type TelegramSendImageStepOutput, type TelegramSendMessageStepInput, type TelegramSendMessageStepOutput, type TelegramSendVideoStepInput, type TelegramSendVideoStepOutput, type TelegramSetTypingStepInput, type TelegramSetTypingStepOutput, type TextToSpeechStepInput, type TextToSpeechStepOutput, type TranscribeAudioStepInput, type TranscribeAudioStepOutput, type TrimMediaStepInput, type TrimMediaStepOutput, type UpdateGmailLabelsStepInput, type UpdateGmailLabelsStepOutput, type UpdateGoogleCalendarEventStepInput, type UpdateGoogleCalendarEventStepOutput, type UpdateGoogleDocStepInput, type UpdateGoogleDocStepOutput, type UpdateGoogleSheetStepInput, type UpdateGoogleSheetStepOutput, type UpdateInput, type UploadDataSourceDocumentStepInput, type UploadDataSourceDocumentStepOutput, type UploadFileResult, type UploadToken, type UpscaleImageStepInput, type UpscaleImageStepOutput, type UpscaleVideoStepInput, type UpscaleVideoStepOutput, type User, type UserInfoResult, type UserMessageStepInput, type UserMessageStepOutput, type VideoFaceSwapStepInput, type VideoFaceSwapStepOutput, type VideoRemoveBackgroundStepInput, type VideoRemoveBackgroundStepOutput, type VideoRemoveWatermarkStepInput, type VideoRemoveWatermarkStepOutput, type Voice, type VoiceCallResult, type WatermarkImageStepInput, type WatermarkImageStepOutput, type WatermarkVideoStepInput, type WatermarkVideoStepOutput, type YouDotComFinanceResearchStepInput, type YouDotComFinanceResearchStepOutput, type YouDotComGetPageContentStepInput, type YouDotComGetPageContentStepOutput, type YouDotComLiveNewsStepInput, type YouDotComLiveNewsStepOutput, type YouDotComWebResearchStepInput, type YouDotComWebResearchStepOutput, type YouDotComWebSearchStepInput, type YouDotComWebSearchStepOutput, auth, blockTypeAliases, dataSources, db, mindstudio as default, files, getRequestContext, mindstudio, monacoSnippets, prerender, reportIssue, resolveUser, runWithContext, session, stepMetadata, stream, voice, waitUntil };
10553
+ export { type Accessor, type ActiveCampaignAddNoteStepInput, type ActiveCampaignAddNoteStepOutput, type ActiveCampaignCreateContactStepInput, type ActiveCampaignCreateContactStepOutput, type AddSubtitlesToVideoStepInput, type AddSubtitlesToVideoStepOutput, type AgentInfo, type AgentOptions, type AirtableCreateUpdateRecordStepInput, type AirtableCreateUpdateRecordStepOutput, type AirtableDeleteRecordStepInput, type AirtableDeleteRecordStepOutput, type AirtableGetRecordStepInput, type AirtableGetRecordStepOutput, type AirtableGetTableRecordsStepInput, type AirtableGetTableRecordsStepOutput, type AnalyzeImageStepInput, type AnalyzeImageStepOutput, type AnalyzeVideoStepInput, type AnalyzeVideoStepOutput, type AppAuthContext, type AppContextResult, type AppDatabase, type AppDatabaseColumnSchema, type AppDatabaseTable, type AppRoleAssignment, AuthContext, type AuthTableConfig, type BatchStepInput, type BatchStepResult, type Batchable, type CaptureThumbnailStepInput, type CaptureThumbnailStepOutput, type CheckAppRoleStepInput, type CheckAppRoleStepOutput, type CodaCreateUpdatePageStepInput, type CodaCreateUpdatePageStepOutput, type CodaCreateUpdateRowStepInput, type CodaCreateUpdateRowStepOutput, type CodaFindRowStepInput, type CodaFindRowStepOutput, type CodaGetPageStepInput, type CodaGetPageStepOutput, type CodaGetTableRowsStepInput, type CodaGetTableRowsStepOutput, type Connection, type ConnectorActionDetail, type ConnectorService, type ConvertPdfToImagesStepInput, type ConvertPdfToImagesStepOutput, type CreateDataSourceStepInput, type CreateDataSourceStepOutput, type CreateGmailDraftStepInput, type CreateGmailDraftStepOutput, type CreateGoogleCalendarEventStepInput, type CreateGoogleCalendarEventStepOutput, type CreateGoogleDocStepInput, type CreateGoogleDocStepOutput, type CreateGoogleSheetStepInput, type CreateGoogleSheetStepOutput, type Db, type DefineStoreOptions, type DefineTableOptions, type DeleteDataSourceDocumentStepInput, type DeleteDataSourceDocumentStepOutput, type DeleteDataSourceStepInput, type DeleteDataSourceStepOutput, type DeleteGmailEmailStepInput, type DeleteGmailEmailStepOutput, type DeleteGoogleCalendarEventStepInput, type DeleteGoogleCalendarEventStepOutput, type DeleteGoogleSheetRowsStepInput, type DeleteGoogleSheetRowsStepOutput, type DetectChangesStepInput, type DetectChangesStepOutput, type DetectPIIStepInput, type DetectPIIStepOutput, type DiscordEditMessageStepInput, type DiscordEditMessageStepOutput, type DiscordSendFollowUpStepInput, type DiscordSendFollowUpStepOutput, type DiscordSendMessageStepInput, type DiscordSendMessageStepOutput, type DownloadVideoStepInput, type DownloadVideoStepOutput, type EnhanceImageGenerationPromptStepInput, type EnhanceImageGenerationPromptStepOutput, type EnhanceVideoGenerationPromptStepInput, type EnhanceVideoGenerationPromptStepOutput, type EnrichPersonStepInput, type EnrichPersonStepOutput, type ExecuteStepBatchOptions, type ExecuteStepBatchResult, type ExtractAudioFromVideoStepInput, type ExtractAudioFromVideoStepOutput, type ExtractTextStepInput, type ExtractTextStepOutput, type FetchDataSourceDocumentStepInput, type FetchDataSourceDocumentStepOutput, type FetchGoogleDocStepInput, type FetchGoogleDocStepOutput, type FetchGoogleSheetStepInput, type FetchGoogleSheetStepOutput, type FetchSlackChannelHistoryStepInput, type FetchSlackChannelHistoryStepOutput, type FetchYoutubeCaptionsStepInput, type FetchYoutubeCaptionsStepOutput, type FetchYoutubeChannelStepInput, type FetchYoutubeChannelStepOutput, type FetchYoutubeCommentsStepInput, type FetchYoutubeCommentsStepOutput, type FetchYoutubeVideoStepInput, type FetchYoutubeVideoStepOutput, type FileAccess, type Files, type FromSchema, type Generate3dModelStepInput, type Generate3dModelStepOutput, type GenerateAssetStepInput, type GenerateAssetStepOutput, type GenerateChartStepInput, type GenerateChartStepOutput, type GenerateImageStepInput, type GenerateImageStepOutput, type GenerateLipsyncStepInput, type GenerateLipsyncStepOutput, type GenerateMusicStepInput, type GenerateMusicStepOutput, type GeneratePdfStepInput, type GeneratePdfStepOutput, type GenerateStaticVideoFromImageStepInput, type GenerateStaticVideoFromImageStepOutput, type GenerateTextStepInput, type GenerateTextStepOutput, type GenerateVideoStepInput, type GenerateVideoStepOutput, type GetGmailAttachmentsStepInput, type GetGmailAttachmentsStepOutput, type GetGmailDraftStepInput, type GetGmailDraftStepOutput, type GetGmailEmailStepInput, type GetGmailEmailStepOutput, type GetGmailUnreadCountStepInput, type GetGmailUnreadCountStepOutput, type GetGoogleCalendarEventStepInput, type GetGoogleCalendarEventStepOutput, type GetGoogleDriveFileStepInput, type GetGoogleDriveFileStepOutput, type GetGoogleSheetInfoStepInput, type GetGoogleSheetInfoStepOutput, type GetMediaMetadataStepInput, type GetMediaMetadataStepOutput, type HubspotCreateCompanyStepInput, type HubspotCreateCompanyStepOutput, type HubspotCreateContactStepInput, type HubspotCreateContactStepOutput, type HubspotGetCompanyStepInput, type HubspotGetCompanyStepOutput, type HubspotGetContactStepInput, type HubspotGetContactStepOutput, type HunterApiCompanyEnrichmentStepInput, type HunterApiCompanyEnrichmentStepOutput, type HunterApiDomainSearchStepInput, type HunterApiDomainSearchStepOutput, type HunterApiEmailFinderStepInput, type HunterApiEmailFinderStepOutput, type HunterApiEmailVerificationStepInput, type HunterApiEmailVerificationStepOutput, type HunterApiPersonEnrichmentStepInput, type HunterApiPersonEnrichmentStepOutput, type ImageFaceSwapStepInput, type ImageFaceSwapStepOutput, type ImageRemoveWatermarkStepInput, type ImageRemoveWatermarkStepOutput, type InsertVideoClipsStepInput, type InsertVideoClipsStepOutput, type Jewel, type JewelConfig, type JewelGradeContext, type JewelMethod, type JewelMethodInput, type JewelPairRecord, type JewelProposal, type JewelProposeOutcome, type JewelProposeResult, type JewelQueueItem, type JewelQueueResolution, type JewelQueueResolveResult, type JewelRunParams, type JewelVerdict, type JewelsApi, type JsonObjectSchema, type JsonSchema, type JsonSchemaTypeName, type ListAgentsResult, type ListDataSourcesStepInput, type ListDataSourcesStepOutput, type ListGmailDraftsStepInput, type ListGmailDraftsStepOutput, type ListGmailLabelsStepInput, type ListGmailLabelsStepOutput, type ListGoogleCalendarEventsStepInput, type ListGoogleCalendarEventsStepOutput, type ListGoogleDriveFilesStepInput, type ListGoogleDriveFilesStepOutput, type ListOptions, type ListRecentGmailEmailsStepInput, type ListRecentGmailEmailsStepOutput, type LogicStepInput, type LogicStepOutput, type MakeDotComRunScenarioStepInput, type MakeDotComRunScenarioStepOutput, type MergeAudioStepInput, type MergeAudioStepOutput, type MergeVideosStepInput, type MergeVideosStepOutput, type MeshyAnimateStepInput, type MeshyAnimateStepOutput, type MeshyImageTo3dStepInput, type MeshyImageTo3dStepOutput, type MeshyRemeshStepInput, type MeshyRemeshStepOutput, type MeshyRigStepInput, type MeshyRigStepOutput, type MeshyTextTo3dStepInput, type MeshyTextTo3dStepOutput, type MeshyTextureStepInput, type MeshyTextureStepOutput, MindStudioAgent, MindStudioError, type MindStudioModel, type MindStudioModelSummary, type MixAudioIntoVideoStepInput, type MixAudioIntoVideoStepOutput, type ModelType, type MonacoSnippet, type MonacoSnippetField, type MonacoSnippetFieldType, type MuteVideoStepInput, type MuteVideoStepOutput, type N8nRunNodeStepInput, type N8nRunNodeStepOutput, type NotionCreatePageStepInput, type NotionCreatePageStepOutput, type NotionUpdatePageStepInput, type NotionUpdatePageStepOutput, type PackagedWorkflow, type PackagedWorkflowInput, type PackagedWorkflowSignature, type ParticlePodcastsFindMentionsStepInput, type ParticlePodcastsFindMentionsStepOutput, type ParticlePodcastsGetEpisodeStepInput, type ParticlePodcastsGetEpisodeStepOutput, type ParticlePodcastsGetEpisodeTranscriptStepInput, type ParticlePodcastsGetEpisodeTranscriptStepOutput, type ParticlePodcastsSearchCompaniesStepInput, type ParticlePodcastsSearchCompaniesStepOutput, type ParticlePodcastsSearchDialogueStepInput, type ParticlePodcastsSearchDialogueStepOutput, type ParticlePodcastsSearchPodcastsStepInput, type ParticlePodcastsSearchPodcastsStepOutput, type PeopleSearchStepInput, type PeopleSearchStepOutput, type PostToLinkedInStepInput, type PostToLinkedInStepOutput, type PostToSlackChannelStepInput, type PostToSlackChannelStepOutput, type PostToXStepInput, type PostToXStepOutput, type PostToZapierStepInput, type PostToZapierStepOutput, type Predicate, type PushInput, type PutOptions, Query, type QueryAppDatabaseStepInput, type QueryAppDatabaseStepOutput, type QueryDataSourceStepInput, type QueryDataSourceStepOutput, type QueryExternalDatabaseStepInput, type QueryExternalDatabaseStepOutput, type RedactPIIStepInput, type RedactPIIStepOutput, type RemoveBackgroundFromImageStepInput, type RemoveBackgroundFromImageStepOutput, type ReplyToGmailEmailStepInput, type ReplyToGmailEmailStepOutput, type ReportIssueInput, type ReportedIssue, type RequestContext, type ResizeVideoStepInput, type ResizeVideoStepOutput, type ResolvedUser, Roles, type RunAgentOptions, type RunAgentResult, type RunFromConnectorRegistryStepInput, type RunFromConnectorRegistryStepOutput, type RunPackagedWorkflowStepInput, type RunPackagedWorkflowStepOutput, type RunTaskOptions, type RunTaskOptionsWithExample, type RunTaskOptionsWithSchema, type RunTaskResult, type SchemaValidationError, type ScrapeLinkedInCompanyStepInput, type ScrapeLinkedInCompanyStepOutput, type ScrapeLinkedInProfileStepInput, type ScrapeLinkedInProfileStepOutput, type ScrapeUrlStepInput, type ScrapeUrlStepOutput, type ScrapeXPostStepInput, type ScrapeXPostStepOutput, type ScrapeXProfileStepInput, type ScrapeXProfileStepOutput, type ScreenshotUrlStepInput, type ScreenshotUrlStepOutput, type SearchGmailEmailsStepInput, type SearchGmailEmailsStepOutput, type SearchGoogleCalendarEventsStepInput, type SearchGoogleCalendarEventsStepOutput, type SearchGoogleDriveStepInput, type SearchGoogleDriveStepOutput, type SearchGoogleImagesStepInput, type SearchGoogleImagesStepOutput, type SearchGoogleNewsStepInput, type SearchGoogleNewsStepOutput, type SearchGoogleStepInput, type SearchGoogleStepOutput, type SearchGoogleTrendsStepInput, type SearchGoogleTrendsStepOutput, type SearchPerplexityStepInput, type SearchPerplexityStepOutput, type SearchXPostsStepInput, type SearchXPostsStepOutput, type SearchYoutubeStepInput, type SearchYoutubeStepOutput, type SearchYoutubeTrendsStepInput, type SearchYoutubeTrendsStepOutput, type SendEmailStepInput, type SendEmailStepOutput, type SendGmailDraftStepInput, type SendGmailDraftStepOutput, type SendGmailMessageStepInput, type SendGmailMessageStepOutput, type SendSMSStepInput, type SendSMSStepOutput, type SendSlackDirectMessageStepInput, type SendSlackDirectMessageStepOutput, type SessionContext, type SetGmailReadStatusStepInput, type SetGmailReadStatusStepOutput, type SetRunTitleStepInput, type SetRunTitleStepOutput, type SetVariableStepInput, type SetVariableStepOutput, type StepCostEstimateEntry, type StepExecutionMeta, type StepExecutionOptions, type StepExecutionResult, type StepInputMap, type StepLogEvent, type StepMetadata, type StepMethods, type StepName, type StepOutputMap, Store, type StoredFile, type SystemFields, Table, type TaskEvent, type TaskToolCall, type TaskToolConfig, type TaskUsage, type TelegramEditMessageStepInput, type TelegramEditMessageStepOutput, type TelegramReplyToMessageStepInput, type TelegramReplyToMessageStepOutput, type TelegramSendAudioStepInput, type TelegramSendAudioStepOutput, type TelegramSendFileStepInput, type TelegramSendFileStepOutput, type TelegramSendImageStepInput, type TelegramSendImageStepOutput, type TelegramSendMessageStepInput, type TelegramSendMessageStepOutput, type TelegramSendVideoStepInput, type TelegramSendVideoStepOutput, type TelegramSetTypingStepInput, type TelegramSetTypingStepOutput, type TextToSpeechStepInput, type TextToSpeechStepOutput, type TranscribeAudioStepInput, type TranscribeAudioStepOutput, type TrimMediaStepInput, type TrimMediaStepOutput, type UpdateGmailLabelsStepInput, type UpdateGmailLabelsStepOutput, type UpdateGoogleCalendarEventStepInput, type UpdateGoogleCalendarEventStepOutput, type UpdateGoogleDocStepInput, type UpdateGoogleDocStepOutput, type UpdateGoogleSheetStepInput, type UpdateGoogleSheetStepOutput, type UpdateInput, type UploadDataSourceDocumentStepInput, type UploadDataSourceDocumentStepOutput, type UploadFileResult, type UploadToken, type UpscaleImageStepInput, type UpscaleImageStepOutput, type UpscaleVideoStepInput, type UpscaleVideoStepOutput, type User, type UserInfoResult, type UserMessageStepInput, type UserMessageStepOutput, type VideoFaceSwapStepInput, type VideoFaceSwapStepOutput, type VideoRemoveBackgroundStepInput, type VideoRemoveBackgroundStepOutput, type VideoRemoveWatermarkStepInput, type VideoRemoveWatermarkStepOutput, type Voice, type VoiceCallResult, type WatermarkImageStepInput, type WatermarkImageStepOutput, type WatermarkVideoStepInput, type WatermarkVideoStepOutput, type YouDotComFinanceResearchStepInput, type YouDotComFinanceResearchStepOutput, type YouDotComGetPageContentStepInput, type YouDotComGetPageContentStepOutput, type YouDotComLiveNewsStepInput, type YouDotComLiveNewsStepOutput, type YouDotComWebResearchStepInput, type YouDotComWebResearchStepOutput, type YouDotComWebSearchStepInput, type YouDotComWebSearchStepOutput, auth, blockTypeAliases, dataSources, db, mindstudio as default, defineJewel, files, getRequestContext, mindstudio, monacoSnippets, prerender, reportIssue, resolveUser, runWithContext, session, stepMetadata, stream, voice, waitUntil };