@mindstudio-ai/agent 0.1.104 → 0.1.105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +84 -10
- package/dist/index.d.ts +232 -3
- package/dist/index.js +78 -4
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +84 -10
- package/llms.txt +38 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2071,8 +2071,10 @@ interface Jewel<M extends JewelMethod, S> {
|
|
|
2071
2071
|
* - `disabled` — the method has no jewel or autonomy is `manual`. Returned,
|
|
2072
2072
|
* never thrown: dialing a method down must not break the app code that
|
|
2073
2073
|
* proposes to it.
|
|
2074
|
-
* - `skipped` —
|
|
2075
|
-
*
|
|
2074
|
+
* - `skipped` — jewel-descended recursion, unsampled (sampleRate), or a dev
|
|
2075
|
+
* session whose CLI didn't report jewel metadata. Dev sessions otherwise
|
|
2076
|
+
* run the full behavioral flow (queue items scoped to the session, auto
|
|
2077
|
+
* commits against the dev database) without recording any training data.
|
|
2076
2078
|
* - `failed` — an auto commit was attempted and the method rejected it
|
|
2077
2079
|
* (e.g. the state was consumed concurrently). The moment stays pending.
|
|
2078
2080
|
* - `pending` — a concurrent replay: the original propose for this
|
|
@@ -2673,6 +2675,183 @@ interface Voice {
|
|
|
2673
2675
|
}): Promise<VoiceCallResult>;
|
|
2674
2676
|
}
|
|
2675
2677
|
|
|
2678
|
+
type AnalyticsMetric = 'pageviews' | 'visitors' | 'visits' | 'events';
|
|
2679
|
+
type AnalyticsDimension = 'path' | 'referrerHost' | 'sourceCategory' | 'country' | 'city' | 'deviceType' | 'browser' | 'os' | 'language' | 'visitorType' | 'utmSource' | 'utmMedium' | 'utmCampaign' | 'utmTerm' | 'utmContent' | 'eventName';
|
|
2680
|
+
type AnalyticsFilterOp = 'is' | 'is_not' | 'contains';
|
|
2681
|
+
/**
|
|
2682
|
+
* `[op, dimension, values]`. `is` matches any of the values; `is_not`
|
|
2683
|
+
* excludes all of them (rows missing the dimension still match); `contains`
|
|
2684
|
+
* is case-insensitive substring. Only `is` filters can be served from the
|
|
2685
|
+
* lifetime rollup — the others read the 90-day event table. `city` filters
|
|
2686
|
+
* take plain city names (matching any country) and always read the 90-day
|
|
2687
|
+
* event table.
|
|
2688
|
+
*/
|
|
2689
|
+
type AnalyticsFilter = [AnalyticsFilterOp, AnalyticsDimension, string[]];
|
|
2690
|
+
type AnalyticsGranularity = '5m' | 'hour' | 'day' | 'week' | 'month';
|
|
2691
|
+
/** Shorthand ("30d", "all") or explicit `[startISO, endISO]`. Default "24h". */
|
|
2692
|
+
type AnalyticsDateRange = '1h' | '24h' | '7d' | '30d' | '90d' | 'all' | [string, string];
|
|
2693
|
+
interface AnalyticsQuerySpec {
|
|
2694
|
+
/** At least one of: pageviews, visitors, visits, events. */
|
|
2695
|
+
metrics: AnalyticsMetric[];
|
|
2696
|
+
/** At most one entity dimension OR `'time'` (not both, yet). */
|
|
2697
|
+
dimensions?: (AnalyticsDimension | 'time')[];
|
|
2698
|
+
/**
|
|
2699
|
+
* Required when `'time'` is in dimensions. With `dateRange: 'all'` it is
|
|
2700
|
+
* a minimum — the server coarsens automatically once the app's history
|
|
2701
|
+
* outgrows the grain.
|
|
2702
|
+
*/
|
|
2703
|
+
granularity?: AnalyticsGranularity;
|
|
2704
|
+
/** IANA zone for calendar grains (day/week/month boundaries). Default UTC. */
|
|
2705
|
+
timezone?: string;
|
|
2706
|
+
filters?: AnalyticsFilter[];
|
|
2707
|
+
dateRange?: AnalyticsDateRange;
|
|
2708
|
+
/** Grouped queries only: one `['pageviews' | 'events', 'asc' | 'desc']`. */
|
|
2709
|
+
orderBy?: ['pageviews' | 'events', 'asc' | 'desc'][];
|
|
2710
|
+
/** Grouped queries only. Default 25, max 1000. */
|
|
2711
|
+
limit?: number;
|
|
2712
|
+
offset?: number;
|
|
2713
|
+
/** Scope to one release (rarely needed — analytics is app-wide). */
|
|
2714
|
+
releaseId?: string;
|
|
2715
|
+
}
|
|
2716
|
+
interface AnalyticsQueryResultRow {
|
|
2717
|
+
/** Group keys: the entity dimension and/or `time` (bucket-start ISO). */
|
|
2718
|
+
dimensions: Record<string, string>;
|
|
2719
|
+
/** Only the requested-and-available metrics appear. */
|
|
2720
|
+
metrics: Partial<Record<AnalyticsMetric, number>>;
|
|
2721
|
+
}
|
|
2722
|
+
interface AnalyticsQueryResponse {
|
|
2723
|
+
results: AnalyticsQueryResultRow[];
|
|
2724
|
+
meta: {
|
|
2725
|
+
/** Which store answered: 'rollup' = lifetime, 'events' = 90-day raw. */
|
|
2726
|
+
source: 'rollup' | 'events';
|
|
2727
|
+
window: {
|
|
2728
|
+
requested: [string, string];
|
|
2729
|
+
served: [string, string];
|
|
2730
|
+
};
|
|
2731
|
+
/** True when an events-path window was cut to the retention horizon. */
|
|
2732
|
+
clamped: boolean;
|
|
2733
|
+
/** Requested metrics this query shape can't carry. */
|
|
2734
|
+
metricsOmitted?: AnalyticsMetric[];
|
|
2735
|
+
/** Grouped queries: unpaginated distinct-group count, for paging. */
|
|
2736
|
+
total?: number;
|
|
2737
|
+
};
|
|
2738
|
+
}
|
|
2739
|
+
/** Shared options for the special reads (same grammar as `query`). */
|
|
2740
|
+
interface AnalyticsReadOptions {
|
|
2741
|
+
dateRange?: AnalyticsDateRange;
|
|
2742
|
+
filters?: AnalyticsFilter[];
|
|
2743
|
+
releaseId?: string;
|
|
2744
|
+
limit?: number;
|
|
2745
|
+
offset?: number;
|
|
2746
|
+
}
|
|
2747
|
+
interface LiveNow {
|
|
2748
|
+
/** Visitors on the app right now. */
|
|
2749
|
+
count: number;
|
|
2750
|
+
countries: {
|
|
2751
|
+
country: string;
|
|
2752
|
+
count: number;
|
|
2753
|
+
}[];
|
|
2754
|
+
/** Last hour of live-count samples, one per minute. `ts` is an ISO string. */
|
|
2755
|
+
sparkline: {
|
|
2756
|
+
ts: string;
|
|
2757
|
+
count: number;
|
|
2758
|
+
}[];
|
|
2759
|
+
}
|
|
2760
|
+
interface TopSource {
|
|
2761
|
+
sourceType: 'utm' | 'referrer' | 'direct';
|
|
2762
|
+
sourceLabel: string;
|
|
2763
|
+
visits: number;
|
|
2764
|
+
uniqueVisitors: number;
|
|
2765
|
+
/** ai_assistant | search | social | email | direct | other. */
|
|
2766
|
+
category: string;
|
|
2767
|
+
/** Vendor display name for classified hosts (e.g. "OpenAI"), else null. */
|
|
2768
|
+
vendor: string | null;
|
|
2769
|
+
}
|
|
2770
|
+
interface MapPoint {
|
|
2771
|
+
city: string;
|
|
2772
|
+
country: string;
|
|
2773
|
+
latitude: number;
|
|
2774
|
+
longitude: number;
|
|
2775
|
+
pageviews: number;
|
|
2776
|
+
uniqueVisitors: number;
|
|
2777
|
+
}
|
|
2778
|
+
interface AiSourceVendor {
|
|
2779
|
+
vendor: string;
|
|
2780
|
+
pageviews: number;
|
|
2781
|
+
uniqueVisitors: number;
|
|
2782
|
+
hosts: string[];
|
|
2783
|
+
}
|
|
2784
|
+
interface CrawlerOverview {
|
|
2785
|
+
totalHits: number;
|
|
2786
|
+
byVendor: {
|
|
2787
|
+
vendor: string;
|
|
2788
|
+
count: number;
|
|
2789
|
+
}[];
|
|
2790
|
+
topPages: {
|
|
2791
|
+
path: string;
|
|
2792
|
+
count: number;
|
|
2793
|
+
}[];
|
|
2794
|
+
}
|
|
2795
|
+
interface CrawlerBucket {
|
|
2796
|
+
start: string;
|
|
2797
|
+
total: number;
|
|
2798
|
+
byVendor: Record<string, number>;
|
|
2799
|
+
}
|
|
2800
|
+
interface CrawlerHit {
|
|
2801
|
+
id: string;
|
|
2802
|
+
releaseId: string;
|
|
2803
|
+
path: string;
|
|
2804
|
+
host: string | null;
|
|
2805
|
+
botVendor: string;
|
|
2806
|
+
botName: string;
|
|
2807
|
+
country: string | null;
|
|
2808
|
+
createdAt: string;
|
|
2809
|
+
}
|
|
2810
|
+
/** The `analytics` namespace object. */
|
|
2811
|
+
interface Analytics {
|
|
2812
|
+
/** The general read: metrics × dimensions × filters × time. */
|
|
2813
|
+
query(spec: AnalyticsQuerySpec): Promise<AnalyticsQueryResponse>;
|
|
2814
|
+
/** Who's on the app right now (Redis presence, no time window). */
|
|
2815
|
+
live(): Promise<LiveNow>;
|
|
2816
|
+
/**
|
|
2817
|
+
* Ranked traffic sources — each session attributed to its first pageview's
|
|
2818
|
+
* source (UTM > referrer > direct), classified by category/vendor. Always
|
|
2819
|
+
* reads raw events (90-day window).
|
|
2820
|
+
*/
|
|
2821
|
+
sources(options?: AnalyticsReadOptions): Promise<{
|
|
2822
|
+
results: TopSource[];
|
|
2823
|
+
total: number;
|
|
2824
|
+
}>;
|
|
2825
|
+
/** City-level visitor points with coordinates. */
|
|
2826
|
+
map(options?: AnalyticsReadOptions): Promise<{
|
|
2827
|
+
points: MapPoint[];
|
|
2828
|
+
total: number;
|
|
2829
|
+
}>;
|
|
2830
|
+
/** AI-assistant referral traffic, aggregated per vendor. */
|
|
2831
|
+
aiSources(options?: Omit<AnalyticsReadOptions, 'filters' | 'offset'>): Promise<{
|
|
2832
|
+
results: AiSourceVendor[];
|
|
2833
|
+
hosts: {
|
|
2834
|
+
host: string;
|
|
2835
|
+
pageviews: number;
|
|
2836
|
+
uniqueVisitors: number;
|
|
2837
|
+
}[];
|
|
2838
|
+
}>;
|
|
2839
|
+
/** Bot / AI-crawler ingestion of the app's pages. */
|
|
2840
|
+
crawlers: {
|
|
2841
|
+
overview(options?: Omit<AnalyticsReadOptions, 'filters' | 'limit' | 'offset'> & {
|
|
2842
|
+
topPagesLimit?: number;
|
|
2843
|
+
}): Promise<CrawlerOverview>;
|
|
2844
|
+
timeseries(options?: Omit<AnalyticsReadOptions, 'filters' | 'limit' | 'offset'> & {
|
|
2845
|
+
buckets?: number;
|
|
2846
|
+
}): Promise<{
|
|
2847
|
+
buckets: CrawlerBucket[];
|
|
2848
|
+
}>;
|
|
2849
|
+
recent(options?: Pick<AnalyticsReadOptions, 'dateRange' | 'releaseId' | 'limit'>): Promise<{
|
|
2850
|
+
results: CrawlerHit[];
|
|
2851
|
+
}>;
|
|
2852
|
+
};
|
|
2853
|
+
}
|
|
2854
|
+
|
|
2676
2855
|
/**
|
|
2677
2856
|
* JSON Schema support for task-agent structured output.
|
|
2678
2857
|
*
|
|
@@ -2966,6 +3145,7 @@ declare class MindStudioAgent$1 {
|
|
|
2966
3145
|
private _files;
|
|
2967
3146
|
private _dataSources;
|
|
2968
3147
|
private _voice;
|
|
3148
|
+
private _analytics;
|
|
2969
3149
|
/** @internal Auth type — 'internal' for CALLBACK_TOKEN (managed mode), 'apiKey' otherwise. */
|
|
2970
3150
|
private _authType;
|
|
2971
3151
|
/** @internal Usage source sent on step executions (from MINDSTUDIO_REQUEST_SOURCE).
|
|
@@ -3289,6 +3469,23 @@ declare class MindStudioAgent$1 {
|
|
|
3289
3469
|
* ```
|
|
3290
3470
|
*/
|
|
3291
3471
|
get files(): Files;
|
|
3472
|
+
/**
|
|
3473
|
+
* The `analytics` namespace — read the app's own traffic + event analytics
|
|
3474
|
+
* (auto-tracked pageviews, `analytics.track()` events). One general
|
|
3475
|
+
* `query()` (metrics × dimensions × filters × time) plus `live()`,
|
|
3476
|
+
* `sources()`, `map()`, `aiSources()`, `crawlers.*`. See {@link Analytics}
|
|
3477
|
+
* for the lifetime-rollup vs 90-day-events split.
|
|
3478
|
+
*
|
|
3479
|
+
* @example
|
|
3480
|
+
* ```ts
|
|
3481
|
+
* const top = await agent.analytics.query({
|
|
3482
|
+
* metrics: ['pageviews', 'visitors'],
|
|
3483
|
+
* dimensions: ['path'],
|
|
3484
|
+
* dateRange: 'all',
|
|
3485
|
+
* });
|
|
3486
|
+
* ```
|
|
3487
|
+
*/
|
|
3488
|
+
get analytics(): Analytics;
|
|
3292
3489
|
/**
|
|
3293
3490
|
* Jewel surfaces: arrival-shaped triggers (`propose`) and the app-native
|
|
3294
3491
|
* approval queue (`queue.list` / `queue.resolve`). See {@link JewelsApi}.
|
|
@@ -3334,6 +3531,11 @@ declare class MindStudioAgent$1 {
|
|
|
3334
3531
|
* POST /_internal/v2/voice/<op> with the raw hook token.
|
|
3335
3532
|
*/
|
|
3336
3533
|
private _voiceRequest;
|
|
3534
|
+
/**
|
|
3535
|
+
* @internal Transport for the `analytics` namespace —
|
|
3536
|
+
* POST /_internal/v2/analytics/<op> with the raw hook token.
|
|
3537
|
+
*/
|
|
3538
|
+
private _analyticsRequest;
|
|
3337
3539
|
/**
|
|
3338
3540
|
* @internal Shared shape for the brokered `/_internal/v2/<ns>/<op>` data
|
|
3339
3541
|
* planes. Factored out rather than copied per namespace so error handling
|
|
@@ -6735,6 +6937,8 @@ interface SendEmailStepInput {
|
|
|
6735
6937
|
inReplyTo?: string;
|
|
6736
6938
|
/** Prior Message-IDs in the thread, for inbox threading (References header). */
|
|
6737
6939
|
references?: string[];
|
|
6940
|
+
/** `marketing` (default) adds one-click unsubscribe headers and skips recipients who unsubscribed from this app. Use `transactional` for receipts, alerts and password resets: no unsubscribe header, never suppressed, and cc/bcc preserved on a single message. */
|
|
6941
|
+
category?: "transactional" | "marketing";
|
|
6738
6942
|
}
|
|
6739
6943
|
interface SendEmailStepOutput {
|
|
6740
6944
|
/** To addresses the message was sent to. */
|
|
@@ -6745,6 +6949,8 @@ interface SendEmailStepOutput {
|
|
|
6745
6949
|
bcc: string[];
|
|
6746
6950
|
/** The resolved sender address the message went out as (auto-selected when no `from` is given). */
|
|
6747
6951
|
from: string;
|
|
6952
|
+
/** Recipients skipped because they unsubscribed from this app. Always empty for a `transactional` send. */
|
|
6953
|
+
suppressed: string[];
|
|
6748
6954
|
}
|
|
6749
6955
|
interface SendGmailDraftStepInput {
|
|
6750
6956
|
/** Gmail draft ID to send */
|
|
@@ -9850,6 +10056,8 @@ interface StepMethods {
|
|
|
9850
10056
|
* - For threaded replies in a shared inbox, set inReplyTo (the Message-ID being replied to) and references (prior Message-IDs in the thread).
|
|
9851
10057
|
* - connectionId can be a comma-separated list to send to multiple recipients.
|
|
9852
10058
|
* - The special connectionId "trigger_email" uses the email address that triggered the workflow.
|
|
10059
|
+
* - Sends default to category "marketing": every message carries a one-click unsubscribe header pointing at the app's own domain, and recipients who previously unsubscribed from this app are skipped and returned in "suppressed". Because the unsubscribe link is per-recipient, a marketing send delivers one separate message per recipient and cc/bcc are folded into that list.
|
|
10060
|
+
* - Set category to "transactional" for receipts, alerts, password resets and anything a recipient must not be able to opt out of. Transactional sends carry no unsubscribe header, ignore the unsubscribe list, and keep cc/bcc on a single message — use it whenever cc/bcc semantics matter.
|
|
9853
10061
|
*
|
|
9854
10062
|
* @example
|
|
9855
10063
|
* ```typescript
|
|
@@ -10694,6 +10902,27 @@ declare const dataSources: DataSources;
|
|
|
10694
10902
|
* ```
|
|
10695
10903
|
*/
|
|
10696
10904
|
declare const voice: Voice;
|
|
10905
|
+
/**
|
|
10906
|
+
* Top-level `analytics` namespace bound to the default singleton.
|
|
10907
|
+
*
|
|
10908
|
+
* Read the app's own traffic + event analytics from method code. Queries
|
|
10909
|
+
* touching at most one dimension with `is` filters read a lifetime rollup;
|
|
10910
|
+
* cross-dimension / `is_not` / `contains` reads scan 90-day raw events —
|
|
10911
|
+
* `meta.source` and `meta.clamped` report which. See the `analytics` module
|
|
10912
|
+
* docs.
|
|
10913
|
+
*
|
|
10914
|
+
* @example
|
|
10915
|
+
* ```ts
|
|
10916
|
+
* import { analytics } from '@mindstudio-ai/agent';
|
|
10917
|
+
*
|
|
10918
|
+
* const top = await analytics.query({
|
|
10919
|
+
* metrics: ['pageviews', 'visitors'],
|
|
10920
|
+
* dimensions: ['path'],
|
|
10921
|
+
* dateRange: 'all',
|
|
10922
|
+
* });
|
|
10923
|
+
* ```
|
|
10924
|
+
*/
|
|
10925
|
+
declare const analytics: Analytics;
|
|
10697
10926
|
/**
|
|
10698
10927
|
* Originating-session identity for this invocation — set when the method was
|
|
10699
10928
|
* triggered by a conversational surface (a voice call's tool use, an
|
|
@@ -10801,4 +11030,4 @@ declare const prerender: {
|
|
|
10801
11030
|
}>;
|
|
10802
11031
|
};
|
|
10803
11032
|
|
|
10804
|
-
export { type Accessor, type ActiveCampaignAddNoteStepInput, type ActiveCampaignAddNoteStepOutput, type ActiveCampaignCreateContactStepInput, type ActiveCampaignCreateContactStepOutput, type AddSubtitlesToVideoStepInput, type AddSubtitlesToVideoStepOutput, type AgentInfo, type AgentOptions, type AggregateRow, type AggregateSelect, type AggregateTerm, 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 QueryDataSourceStepInput, type QueryDataSourceStepOutput, type QueryExternalDatabaseStepInput, type QueryExternalDatabaseStepOutput, RawQuery, 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 };
|
|
11033
|
+
export { type Accessor, type ActiveCampaignAddNoteStepInput, type ActiveCampaignAddNoteStepOutput, type ActiveCampaignCreateContactStepInput, type ActiveCampaignCreateContactStepOutput, type AddSubtitlesToVideoStepInput, type AddSubtitlesToVideoStepOutput, type AgentInfo, type AgentOptions, type AggregateRow, type AggregateSelect, type AggregateTerm, type AiSourceVendor, type AirtableCreateUpdateRecordStepInput, type AirtableCreateUpdateRecordStepOutput, type AirtableDeleteRecordStepInput, type AirtableDeleteRecordStepOutput, type AirtableGetRecordStepInput, type AirtableGetRecordStepOutput, type AirtableGetTableRecordsStepInput, type AirtableGetTableRecordsStepOutput, type Analytics, type AnalyticsDateRange, type AnalyticsDimension, type AnalyticsFilter, type AnalyticsFilterOp, type AnalyticsGranularity, type AnalyticsMetric, type AnalyticsQueryResponse, type AnalyticsQueryResultRow, type AnalyticsQuerySpec, type AnalyticsReadOptions, 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 CrawlerBucket, type CrawlerHit, type CrawlerOverview, 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 LiveNow, type LogicStepInput, type LogicStepOutput, type MakeDotComRunScenarioStepInput, type MakeDotComRunScenarioStepOutput, type MapPoint, 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 QueryDataSourceStepInput, type QueryDataSourceStepOutput, type QueryExternalDatabaseStepInput, type QueryExternalDatabaseStepOutput, RawQuery, 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 TopSource, 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, analytics, auth, blockTypeAliases, dataSources, db, mindstudio as default, defineJewel, files, getRequestContext, mindstudio, monacoSnippets, prerender, reportIssue, resolveUser, runWithContext, session, stepMetadata, stream, voice, waitUntil };
|
package/dist/index.js
CHANGED
|
@@ -2778,6 +2778,38 @@ function createVoice(call) {
|
|
|
2778
2778
|
};
|
|
2779
2779
|
}
|
|
2780
2780
|
|
|
2781
|
+
// src/analytics/index.ts
|
|
2782
|
+
function createAnalytics(call) {
|
|
2783
|
+
return {
|
|
2784
|
+
query(spec) {
|
|
2785
|
+
return call("query", spec);
|
|
2786
|
+
},
|
|
2787
|
+
live() {
|
|
2788
|
+
return call("live", {});
|
|
2789
|
+
},
|
|
2790
|
+
sources(options) {
|
|
2791
|
+
return call("sources", options ?? {});
|
|
2792
|
+
},
|
|
2793
|
+
map(options) {
|
|
2794
|
+
return call("map", options ?? {});
|
|
2795
|
+
},
|
|
2796
|
+
aiSources(options) {
|
|
2797
|
+
return call("ai-sources", options ?? {});
|
|
2798
|
+
},
|
|
2799
|
+
crawlers: {
|
|
2800
|
+
overview(options) {
|
|
2801
|
+
return call("crawlers-overview", options ?? {});
|
|
2802
|
+
},
|
|
2803
|
+
timeseries(options) {
|
|
2804
|
+
return call("crawlers-timeseries", options ?? {});
|
|
2805
|
+
},
|
|
2806
|
+
recent(options) {
|
|
2807
|
+
return call("crawlers-recent", options ?? {});
|
|
2808
|
+
}
|
|
2809
|
+
}
|
|
2810
|
+
};
|
|
2811
|
+
}
|
|
2812
|
+
|
|
2781
2813
|
// src/task/index.ts
|
|
2782
2814
|
import { randomUUID as randomUUID2 } from "crypto";
|
|
2783
2815
|
|
|
@@ -3759,9 +3791,11 @@ var stepMetadata = {
|
|
|
3759
3791
|
- Set replyTo to control the Reply-To address for replies.
|
|
3760
3792
|
- For threaded replies in a shared inbox, set inReplyTo (the Message-ID being replied to) and references (prior Message-IDs in the thread).
|
|
3761
3793
|
- connectionId can be a comma-separated list to send to multiple recipients.
|
|
3762
|
-
- The special connectionId "trigger_email" uses the email address that triggered the workflow
|
|
3763
|
-
|
|
3764
|
-
|
|
3794
|
+
- The special connectionId "trigger_email" uses the email address that triggered the workflow.
|
|
3795
|
+
- Sends default to category "marketing": every message carries a one-click unsubscribe header pointing at the app's own domain, and recipients who previously unsubscribed from this app are skipped and returned in "suppressed". Because the unsubscribe link is per-recipient, a marketing send delivers one separate message per recipient and cc/bcc are folded into that list.
|
|
3796
|
+
- Set category to "transactional" for receipts, alerts, password resets and anything a recipient must not be able to opt out of. Transactional sends carry no unsubscribe header, ignore the unsubscribe list, and keep cc/bcc on a single message \u2014 use it whenever cc/bcc semantics matter.`,
|
|
3797
|
+
inputSchema: { "type": "object", "properties": { "subject": { "type": "string", "description": "Email subject line" }, "body": { "type": "string", "description": "Email body content (plain text, markdown, HTML, or a CDN URL to an HTML file)" }, "to": { "anyOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }] }, "cc": { "anyOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }] }, "bcc": { "anyOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }] }, "connectionId": { "type": "string", "description": "OAuth connection ID(s) for the recipient(s), comma-separated for multiple" }, "generateHtml": { "type": "boolean", "description": "When true, auto-convert the body text into a styled HTML email using AI" }, "generateHtmlInstructions": { "type": "string", "description": "Natural language instructions for the HTML generation style" }, "generateHtmlModelOverride": { "type": "object", "properties": { "model": { "type": "string", "description": 'Model identifier (e.g. "gpt-4", "claude-3-opus")' }, "temperature": { "type": "number", "description": "Sampling temperature for the model (0-2)" }, "maxResponseTokens": { "type": "number", "description": "Maximum number of tokens in the model's response" }, "ignorePreamble": { "type": "boolean", "description": "Whether to skip the system preamble/instructions" }, "userMessagePreprocessor": { "type": "object", "properties": { "dataSource": { "type": "string", "description": "Data source identifier for the preprocessor" }, "messageTemplate": { "type": "string", "description": "Template string applied to user messages before sending to the model" }, "maxResults": { "type": "number", "description": "Maximum number of results to include from the data source" }, "enabled": { "type": "boolean", "description": "Whether the preprocessor is active" }, "shouldInherit": { "type": "boolean", "description": "Whether child steps should inherit this preprocessor configuration" } }, "description": "Preprocessor applied to user messages before sending to the model" }, "preamble": { "type": "string", "description": "System preamble/instructions for the model" }, "multiModelEnabled": { "type": "boolean", "description": "Whether multi-model candidate generation is enabled" }, "editResponseEnabled": { "type": "boolean", "description": "Whether the user can edit the model's response" }, "config": { "type": "object", "properties": {}, "required": [], "description": "Additional model-specific configuration" } }, "required": ["model", "temperature", "maxResponseTokens"], "description": "Model settings override for HTML generation" }, "attachments": { "type": "array", "items": { "anyOf": [{ "type": "string" }, { "type": "object", "properties": { "url": { "type": "string" }, "filename": { "type": "string" }, "contentType": { "type": "string" } }, "required": ["url"] }] }, "description": "Files to attach: each entry is a URL string, or an object `{ url, filename?, contentType? }` to control the displayed filename and MIME type." }, "from": { "type": "string", "description": "Custom sender handle \u2014 only for apps with a custom domain or subdomain. Bare handle (`support`), full `support@your-domain.com`, or `Name <support@your-domain.com>`. Must resolve to a domain the app owns." }, "bodyType": { "enum": ["auto", "html", "markdown", "text"], "type": "string", "description": "How to interpret `body`: `auto` (default \u2014 detect HTML, else render markdown), `html` (send as-is), `markdown` (render to HTML), or `text` (send as plain text only, no HTML part). Every send includes a text/plain alternative." }, "text": { "type": "string", "description": "Explicit text/plain alternative body. Auto-derived from `body` if omitted." }, "replyTo": { "type": "string", "description": "Reply-To address for the email." }, "inReplyTo": { "type": "string", "description": "Message-ID this email replies to, for inbox threading (In-Reply-To header)." }, "references": { "type": "array", "items": { "type": "string" }, "description": "Prior Message-IDs in the thread, for inbox threading (References header)." }, "category": { "enum": ["transactional", "marketing"], "type": "string", "description": "`marketing` (default) adds one-click unsubscribe headers and skips recipients who unsubscribed from this app. Use `transactional` for receipts, alerts and password resets: no unsubscribe header, never suppressed, and cc/bcc preserved on a single message." } }, "required": ["subject", "body"] },
|
|
3798
|
+
outputSchema: { "type": "object", "properties": { "recipients": { "type": "array", "items": { "type": "string" }, "description": "To addresses the message was sent to." }, "cc": { "type": "array", "items": { "type": "string" }, "description": "Cc addresses on the message (empty if none)." }, "bcc": { "type": "array", "items": { "type": "string" }, "description": "Bcc addresses on the message (empty if none)." }, "from": { "type": "string", "description": "The resolved sender address the message went out as (auto-selected when no `from` is given)." }, "suppressed": { "type": "array", "items": { "type": "string" }, "description": "Recipients skipped because they unsubscribed from this app. Always empty for a `transactional` send." } }, "required": ["recipients", "cc", "bcc", "from", "suppressed"] }
|
|
3765
3799
|
},
|
|
3766
3800
|
"sendGmailDraft": {
|
|
3767
3801
|
stepType: "sendGmailDraft",
|
|
@@ -5452,6 +5486,7 @@ var MindStudioAgent = class {
|
|
|
5452
5486
|
_files;
|
|
5453
5487
|
_dataSources;
|
|
5454
5488
|
_voice;
|
|
5489
|
+
_analytics;
|
|
5455
5490
|
/** @internal Auth type — 'internal' for CALLBACK_TOKEN (managed mode), 'apiKey' otherwise. */
|
|
5456
5491
|
_authType;
|
|
5457
5492
|
/** @internal Usage source sent on step executions (from MINDSTUDIO_REQUEST_SOURCE).
|
|
@@ -6468,6 +6503,27 @@ var MindStudioAgent = class {
|
|
|
6468
6503
|
get files() {
|
|
6469
6504
|
return this._files ??= createFiles(this._filesRequest.bind(this));
|
|
6470
6505
|
}
|
|
6506
|
+
/**
|
|
6507
|
+
* The `analytics` namespace — read the app's own traffic + event analytics
|
|
6508
|
+
* (auto-tracked pageviews, `analytics.track()` events). One general
|
|
6509
|
+
* `query()` (metrics × dimensions × filters × time) plus `live()`,
|
|
6510
|
+
* `sources()`, `map()`, `aiSources()`, `crawlers.*`. See {@link Analytics}
|
|
6511
|
+
* for the lifetime-rollup vs 90-day-events split.
|
|
6512
|
+
*
|
|
6513
|
+
* @example
|
|
6514
|
+
* ```ts
|
|
6515
|
+
* const top = await agent.analytics.query({
|
|
6516
|
+
* metrics: ['pageviews', 'visitors'],
|
|
6517
|
+
* dimensions: ['path'],
|
|
6518
|
+
* dateRange: 'all',
|
|
6519
|
+
* });
|
|
6520
|
+
* ```
|
|
6521
|
+
*/
|
|
6522
|
+
get analytics() {
|
|
6523
|
+
return this._analytics ??= createAnalytics(
|
|
6524
|
+
this._analyticsRequest.bind(this)
|
|
6525
|
+
);
|
|
6526
|
+
}
|
|
6471
6527
|
/**
|
|
6472
6528
|
* Jewel surfaces: arrival-shaped triggers (`propose`) and the app-native
|
|
6473
6529
|
* approval queue (`queue.list` / `queue.resolve`). See {@link JewelsApi}.
|
|
@@ -6596,6 +6652,16 @@ var MindStudioAgent = class {
|
|
|
6596
6652
|
fallbackCode: "voice_error"
|
|
6597
6653
|
});
|
|
6598
6654
|
}
|
|
6655
|
+
/**
|
|
6656
|
+
* @internal Transport for the `analytics` namespace —
|
|
6657
|
+
* POST /_internal/v2/analytics/<op> with the raw hook token.
|
|
6658
|
+
*/
|
|
6659
|
+
async _analyticsRequest(op, body) {
|
|
6660
|
+
return this._brokeredRequest("analytics", op, body, {
|
|
6661
|
+
fallbackMessage: "Analytics read failed",
|
|
6662
|
+
fallbackCode: "analytics_error"
|
|
6663
|
+
});
|
|
6664
|
+
}
|
|
6599
6665
|
/**
|
|
6600
6666
|
* @internal Shared shape for the brokered `/_internal/v2/<ns>/<op>` data
|
|
6601
6667
|
* planes. Factored out rather than copied per namespace so error handling
|
|
@@ -7387,7 +7453,7 @@ var monacoSnippets = {
|
|
|
7387
7453
|
"searchXPosts": { fields: [["query", "string"], ["scope", ["recent", "all"]], ["options", "object"]], outputKeys: ["posts"] },
|
|
7388
7454
|
"searchYoutube": { fields: [["query", "string"], ["limitPages", "string"], ["filter", "string"], ["filterType", "string"]], outputKeys: ["results"] },
|
|
7389
7455
|
"searchYoutubeTrends": { fields: [["bp", ["now", "music", "gaming", "films"]], ["hl", "string"], ["gl", "string"]], outputKeys: [] },
|
|
7390
|
-
"sendEmail": { fields: [["subject", "string"], ["body", "string"]], outputKeys: ["recipients", "cc", "bcc", "from"] },
|
|
7456
|
+
"sendEmail": { fields: [["subject", "string"], ["body", "string"]], outputKeys: ["recipients", "cc", "bcc", "from", "suppressed"] },
|
|
7391
7457
|
"sendGmailDraft": { fields: [["draftId", "string"]], outputKeys: [] },
|
|
7392
7458
|
"sendGmailMessage": { fields: [["to", "string"], ["subject", "string"], ["message", "string"], ["messageType", ["plain", "html", "markdown"]]], outputKeys: ["messageId"] },
|
|
7393
7459
|
"sendSlackDirectMessage": { fields: [["slackUserId", "string"], ["messageType", ["string", "blocks"]], ["message", "string"]], outputKeys: [] },
|
|
@@ -7476,6 +7542,13 @@ var voice = new Proxy({}, {
|
|
|
7476
7542
|
return typeof value === "function" ? value.bind(target) : value;
|
|
7477
7543
|
}
|
|
7478
7544
|
});
|
|
7545
|
+
var analytics = new Proxy({}, {
|
|
7546
|
+
get(_, prop) {
|
|
7547
|
+
const target = mindstudio.analytics;
|
|
7548
|
+
const value = Reflect.get(target, prop, target);
|
|
7549
|
+
return typeof value === "function" ? value.bind(target) : value;
|
|
7550
|
+
}
|
|
7551
|
+
});
|
|
7479
7552
|
var session = new Proxy(
|
|
7480
7553
|
{},
|
|
7481
7554
|
{
|
|
@@ -7497,6 +7570,7 @@ export {
|
|
|
7497
7570
|
MindStudioAgent2 as MindStudioAgent,
|
|
7498
7571
|
MindStudioError,
|
|
7499
7572
|
Roles,
|
|
7573
|
+
analytics,
|
|
7500
7574
|
auth,
|
|
7501
7575
|
blockTypeAliases,
|
|
7502
7576
|
dataSources,
|