@apex-inc/mcp-server 0.34.0 → 0.35.1
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/setup-catchup-tools.d.ts +98 -0
- package/dist/setup-catchup-tools.d.ts.map +1 -1
- package/dist/setup-catchup-tools.js +69 -0
- package/dist/setup-catchup-tools.js.map +1 -1
- package/dist/smoke-tools.d.ts.map +1 -1
- package/dist/smoke-tools.js +1 -0
- package/dist/smoke-tools.js.map +1 -1
- package/dist/tool-groups.d.ts.map +1 -1
- package/dist/tool-groups.js +7 -0
- package/dist/tool-groups.js.map +1 -1
- package/dist/tools/experiments.d.ts +224 -40
- package/dist/tools/experiments.d.ts.map +1 -1
- package/dist/tools/experiments.js +480 -7
- package/dist/tools/experiments.js.map +1 -1
- package/dist/tools/letters.d.ts +2 -2
- package/dist/tools/partners.d.ts +33 -28
- package/dist/tools/partners.d.ts.map +1 -1
- package/dist/tools/partners.js +16 -1
- package/dist/tools/partners.js.map +1 -1
- package/dist/tools.d.ts +355 -70
- package/dist/tools.d.ts.map +1 -1
- package/package.json +1 -1
- package/skills/apex-experimentation/SKILL.md +35 -0
- package/skills/apex-growth-intelligence/SKILL.md +22 -1
- package/skills/apex-growth-tracking/SKILL.md +10 -1
- package/skills/apex-integration-cookbook/SKILL.md +23 -0
- package/skills/apex-journeys/SKILL.md +19 -0
package/dist/tools.d.ts
CHANGED
|
@@ -710,6 +710,108 @@ export declare const toolDefinitions: {
|
|
|
710
710
|
} & {
|
|
711
711
|
group: ToolGroup;
|
|
712
712
|
};
|
|
713
|
+
get_skan_schema: {
|
|
714
|
+
description: string;
|
|
715
|
+
schema: import("zod").ZodObject<{
|
|
716
|
+
mobileAppId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
717
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
718
|
+
mobileAppId?: string | undefined;
|
|
719
|
+
}, {
|
|
720
|
+
mobileAppId?: string | undefined;
|
|
721
|
+
}>;
|
|
722
|
+
handler: (args: {
|
|
723
|
+
mobileAppId?: string;
|
|
724
|
+
}) => Promise<{
|
|
725
|
+
content: {
|
|
726
|
+
type: "text";
|
|
727
|
+
text: string;
|
|
728
|
+
}[];
|
|
729
|
+
}>;
|
|
730
|
+
} & {
|
|
731
|
+
group: ToolGroup;
|
|
732
|
+
};
|
|
733
|
+
set_skan_schema: {
|
|
734
|
+
description: string;
|
|
735
|
+
schema: import("zod").ZodObject<{
|
|
736
|
+
mobileAppId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
737
|
+
windows: import("zod").ZodArray<import("zod").ZodObject<{
|
|
738
|
+
window: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
|
739
|
+
values: import("zod").ZodArray<import("zod").ZodObject<{
|
|
740
|
+
event_name: import("zod").ZodString;
|
|
741
|
+
fine_value: import("zod").ZodNumber;
|
|
742
|
+
coarse_value: import("zod").ZodEnum<["low", "medium", "high"]>;
|
|
743
|
+
lock_window: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
744
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
745
|
+
event_name: string;
|
|
746
|
+
fine_value: number;
|
|
747
|
+
coarse_value: "high" | "low" | "medium";
|
|
748
|
+
lock_window?: boolean | undefined;
|
|
749
|
+
}, {
|
|
750
|
+
event_name: string;
|
|
751
|
+
fine_value: number;
|
|
752
|
+
coarse_value: "high" | "low" | "medium";
|
|
753
|
+
lock_window?: boolean | undefined;
|
|
754
|
+
}>, "many">;
|
|
755
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
756
|
+
values: {
|
|
757
|
+
event_name: string;
|
|
758
|
+
fine_value: number;
|
|
759
|
+
coarse_value: "high" | "low" | "medium";
|
|
760
|
+
lock_window?: boolean | undefined;
|
|
761
|
+
}[];
|
|
762
|
+
window: 1 | 2 | 3;
|
|
763
|
+
}, {
|
|
764
|
+
values: {
|
|
765
|
+
event_name: string;
|
|
766
|
+
fine_value: number;
|
|
767
|
+
coarse_value: "high" | "low" | "medium";
|
|
768
|
+
lock_window?: boolean | undefined;
|
|
769
|
+
}[];
|
|
770
|
+
window: 1 | 2 | 3;
|
|
771
|
+
}>, "many">;
|
|
772
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
773
|
+
windows: {
|
|
774
|
+
values: {
|
|
775
|
+
event_name: string;
|
|
776
|
+
fine_value: number;
|
|
777
|
+
coarse_value: "high" | "low" | "medium";
|
|
778
|
+
lock_window?: boolean | undefined;
|
|
779
|
+
}[];
|
|
780
|
+
window: 1 | 2 | 3;
|
|
781
|
+
}[];
|
|
782
|
+
mobileAppId?: string | undefined;
|
|
783
|
+
}, {
|
|
784
|
+
windows: {
|
|
785
|
+
values: {
|
|
786
|
+
event_name: string;
|
|
787
|
+
fine_value: number;
|
|
788
|
+
coarse_value: "high" | "low" | "medium";
|
|
789
|
+
lock_window?: boolean | undefined;
|
|
790
|
+
}[];
|
|
791
|
+
window: 1 | 2 | 3;
|
|
792
|
+
}[];
|
|
793
|
+
mobileAppId?: string | undefined;
|
|
794
|
+
}>;
|
|
795
|
+
handler: (args: {
|
|
796
|
+
mobileAppId?: string;
|
|
797
|
+
windows: Array<{
|
|
798
|
+
window: 1 | 2 | 3;
|
|
799
|
+
values: Array<{
|
|
800
|
+
event_name: string;
|
|
801
|
+
fine_value: number;
|
|
802
|
+
coarse_value: "low" | "medium" | "high";
|
|
803
|
+
lock_window?: boolean;
|
|
804
|
+
}>;
|
|
805
|
+
}>;
|
|
806
|
+
}) => Promise<{
|
|
807
|
+
content: {
|
|
808
|
+
type: "text";
|
|
809
|
+
text: string;
|
|
810
|
+
}[];
|
|
811
|
+
}>;
|
|
812
|
+
} & {
|
|
813
|
+
group: ToolGroup;
|
|
814
|
+
};
|
|
713
815
|
list_ad_measurement: {
|
|
714
816
|
description: string;
|
|
715
817
|
schema: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
|
@@ -2133,15 +2235,15 @@ export declare const toolDefinitions: {
|
|
|
2133
2235
|
percentage: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2134
2236
|
appliesTo: import("zod").ZodEnum<["install", "purchase", "subscription"]>;
|
|
2135
2237
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2136
|
-
type: "
|
|
2238
|
+
type: "revshare" | "cpa";
|
|
2137
2239
|
appliesTo: "purchase" | "install" | "subscription";
|
|
2138
|
-
amountUsd?: number | undefined;
|
|
2139
2240
|
percentage?: number | undefined;
|
|
2241
|
+
amountUsd?: number | undefined;
|
|
2140
2242
|
}, {
|
|
2141
|
-
type: "
|
|
2243
|
+
type: "revshare" | "cpa";
|
|
2142
2244
|
appliesTo: "purchase" | "install" | "subscription";
|
|
2143
|
-
amountUsd?: number | undefined;
|
|
2144
2245
|
percentage?: number | undefined;
|
|
2246
|
+
amountUsd?: number | undefined;
|
|
2145
2247
|
}>;
|
|
2146
2248
|
visibility: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["public", "private"]>>>;
|
|
2147
2249
|
approvalMode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["auto", "manual"]>>>;
|
|
@@ -2149,10 +2251,10 @@ export declare const toolDefinitions: {
|
|
|
2149
2251
|
name: string;
|
|
2150
2252
|
vertical: "ecommerce" | "marketplace" | "other" | "saas" | "fintech" | "hardware" | "enterprise" | "creator_tools";
|
|
2151
2253
|
commissionStructure: {
|
|
2152
|
-
type: "
|
|
2254
|
+
type: "revshare" | "cpa";
|
|
2153
2255
|
appliesTo: "purchase" | "install" | "subscription";
|
|
2154
|
-
amountUsd?: number | undefined;
|
|
2155
2256
|
percentage?: number | undefined;
|
|
2257
|
+
amountUsd?: number | undefined;
|
|
2156
2258
|
};
|
|
2157
2259
|
visibility: "public" | "private";
|
|
2158
2260
|
approvalMode: "manual" | "auto";
|
|
@@ -2161,10 +2263,10 @@ export declare const toolDefinitions: {
|
|
|
2161
2263
|
name: string;
|
|
2162
2264
|
vertical: "ecommerce" | "marketplace" | "other" | "saas" | "fintech" | "hardware" | "enterprise" | "creator_tools";
|
|
2163
2265
|
commissionStructure: {
|
|
2164
|
-
type: "
|
|
2266
|
+
type: "revshare" | "cpa";
|
|
2165
2267
|
appliesTo: "purchase" | "install" | "subscription";
|
|
2166
|
-
amountUsd?: number | undefined;
|
|
2167
2268
|
percentage?: number | undefined;
|
|
2269
|
+
amountUsd?: number | undefined;
|
|
2168
2270
|
};
|
|
2169
2271
|
description?: string | undefined;
|
|
2170
2272
|
visibility?: "public" | "private" | undefined;
|
|
@@ -2253,32 +2355,32 @@ export declare const toolDefinitions: {
|
|
|
2253
2355
|
percentage: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2254
2356
|
appliesTo: import("zod").ZodEnum<["install", "purchase", "subscription"]>;
|
|
2255
2357
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2256
|
-
type: "
|
|
2358
|
+
type: "revshare" | "cpa";
|
|
2257
2359
|
appliesTo: "purchase" | "install" | "subscription";
|
|
2258
|
-
amountUsd?: number | undefined;
|
|
2259
2360
|
percentage?: number | undefined;
|
|
2361
|
+
amountUsd?: number | undefined;
|
|
2260
2362
|
}, {
|
|
2261
|
-
type: "
|
|
2363
|
+
type: "revshare" | "cpa";
|
|
2262
2364
|
appliesTo: "purchase" | "install" | "subscription";
|
|
2263
|
-
amountUsd?: number | undefined;
|
|
2264
2365
|
percentage?: number | undefined;
|
|
2366
|
+
amountUsd?: number | undefined;
|
|
2265
2367
|
}>;
|
|
2266
2368
|
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2267
2369
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2268
2370
|
commissionStructure: {
|
|
2269
|
-
type: "
|
|
2371
|
+
type: "revshare" | "cpa";
|
|
2270
2372
|
appliesTo: "purchase" | "install" | "subscription";
|
|
2271
|
-
amountUsd?: number | undefined;
|
|
2272
2373
|
percentage?: number | undefined;
|
|
2374
|
+
amountUsd?: number | undefined;
|
|
2273
2375
|
};
|
|
2274
2376
|
profileId: string;
|
|
2275
2377
|
reason?: string | undefined;
|
|
2276
2378
|
}, {
|
|
2277
2379
|
commissionStructure: {
|
|
2278
|
-
type: "
|
|
2380
|
+
type: "revshare" | "cpa";
|
|
2279
2381
|
appliesTo: "purchase" | "install" | "subscription";
|
|
2280
|
-
amountUsd?: number | undefined;
|
|
2281
2382
|
percentage?: number | undefined;
|
|
2383
|
+
amountUsd?: number | undefined;
|
|
2282
2384
|
};
|
|
2283
2385
|
profileId: string;
|
|
2284
2386
|
reason?: string | undefined;
|
|
@@ -2334,29 +2436,29 @@ export declare const toolDefinitions: {
|
|
|
2334
2436
|
percentage: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2335
2437
|
appliesTo: import("zod").ZodEnum<["install", "purchase", "subscription"]>;
|
|
2336
2438
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2337
|
-
type: "
|
|
2439
|
+
type: "revshare" | "cpa";
|
|
2338
2440
|
appliesTo: "purchase" | "install" | "subscription";
|
|
2339
|
-
amountUsd?: number | undefined;
|
|
2340
2441
|
percentage?: number | undefined;
|
|
2442
|
+
amountUsd?: number | undefined;
|
|
2341
2443
|
}, {
|
|
2342
|
-
type: "
|
|
2444
|
+
type: "revshare" | "cpa";
|
|
2343
2445
|
appliesTo: "purchase" | "install" | "subscription";
|
|
2344
|
-
amountUsd?: number | undefined;
|
|
2345
2446
|
percentage?: number | undefined;
|
|
2447
|
+
amountUsd?: number | undefined;
|
|
2346
2448
|
}>;
|
|
2347
2449
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2348
2450
|
commissionStructure: {
|
|
2349
|
-
type: "
|
|
2451
|
+
type: "revshare" | "cpa";
|
|
2350
2452
|
appliesTo: "purchase" | "install" | "subscription";
|
|
2351
|
-
amountUsd?: number | undefined;
|
|
2352
2453
|
percentage?: number | undefined;
|
|
2454
|
+
amountUsd?: number | undefined;
|
|
2353
2455
|
};
|
|
2354
2456
|
}, {
|
|
2355
2457
|
commissionStructure: {
|
|
2356
|
-
type: "
|
|
2458
|
+
type: "revshare" | "cpa";
|
|
2357
2459
|
appliesTo: "purchase" | "install" | "subscription";
|
|
2358
|
-
amountUsd?: number | undefined;
|
|
2359
2460
|
percentage?: number | undefined;
|
|
2461
|
+
amountUsd?: number | undefined;
|
|
2360
2462
|
};
|
|
2361
2463
|
}>>;
|
|
2362
2464
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -2366,10 +2468,10 @@ export declare const toolDefinitions: {
|
|
|
2366
2468
|
inviterMessage?: string | undefined;
|
|
2367
2469
|
customRate?: {
|
|
2368
2470
|
commissionStructure: {
|
|
2369
|
-
type: "
|
|
2471
|
+
type: "revshare" | "cpa";
|
|
2370
2472
|
appliesTo: "purchase" | "install" | "subscription";
|
|
2371
|
-
amountUsd?: number | undefined;
|
|
2372
2473
|
percentage?: number | undefined;
|
|
2474
|
+
amountUsd?: number | undefined;
|
|
2373
2475
|
};
|
|
2374
2476
|
} | undefined;
|
|
2375
2477
|
}, {
|
|
@@ -2379,10 +2481,10 @@ export declare const toolDefinitions: {
|
|
|
2379
2481
|
inviterMessage?: string | undefined;
|
|
2380
2482
|
customRate?: {
|
|
2381
2483
|
commissionStructure: {
|
|
2382
|
-
type: "
|
|
2484
|
+
type: "revshare" | "cpa";
|
|
2383
2485
|
appliesTo: "purchase" | "install" | "subscription";
|
|
2384
|
-
amountUsd?: number | undefined;
|
|
2385
2486
|
percentage?: number | undefined;
|
|
2487
|
+
amountUsd?: number | undefined;
|
|
2386
2488
|
};
|
|
2387
2489
|
} | undefined;
|
|
2388
2490
|
}>;
|
|
@@ -3260,8 +3362,8 @@ export declare const toolDefinitions: {
|
|
|
3260
3362
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3261
3363
|
communicationId: string;
|
|
3262
3364
|
intent?: "replace" | "compete" | undefined;
|
|
3263
|
-
confidence?: number | undefined;
|
|
3264
3365
|
beliefId?: string | undefined;
|
|
3366
|
+
confidence?: number | undefined;
|
|
3265
3367
|
hypothesis?: string | undefined;
|
|
3266
3368
|
durationDays?: number | undefined;
|
|
3267
3369
|
confirmLiveExperiment?: boolean | undefined;
|
|
@@ -3269,8 +3371,8 @@ export declare const toolDefinitions: {
|
|
|
3269
3371
|
}, {
|
|
3270
3372
|
communicationId: string;
|
|
3271
3373
|
intent?: "replace" | "compete" | undefined;
|
|
3272
|
-
confidence?: number | undefined;
|
|
3273
3374
|
beliefId?: string | undefined;
|
|
3375
|
+
confidence?: number | undefined;
|
|
3274
3376
|
hypothesis?: string | undefined;
|
|
3275
3377
|
durationDays?: number | undefined;
|
|
3276
3378
|
confirmLiveExperiment?: boolean | undefined;
|
|
@@ -4278,9 +4380,9 @@ export declare const toolDefinitions: {
|
|
|
4278
4380
|
description: string;
|
|
4279
4381
|
schema: import("zod").ZodObject<{
|
|
4280
4382
|
name: import("zod").ZodString;
|
|
4281
|
-
targetUrl: import("zod").ZodString
|
|
4282
|
-
controlContent: import("zod").ZodString
|
|
4283
|
-
variantContent: import("zod").ZodString
|
|
4383
|
+
targetUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4384
|
+
controlContent: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4385
|
+
variantContent: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4284
4386
|
targetComponent: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4285
4387
|
targetAnchor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4286
4388
|
trafficSplit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -4297,7 +4399,32 @@ export declare const toolDefinitions: {
|
|
|
4297
4399
|
guardrailType: import("zod").ZodOptional<import("zod").ZodEnum<["rate", "revenue", "duration"]>>;
|
|
4298
4400
|
guardrailThreshold: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4299
4401
|
predictionMagnitude: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4300
|
-
surface: import("zod").ZodOptional<import("zod").ZodEnum<["web", "mobile"]>>;
|
|
4402
|
+
surface: import("zod").ZodOptional<import("zod").ZodEnum<["web", "mobile", "paid_channel"]>>;
|
|
4403
|
+
paid_channel: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4404
|
+
network: import("zod").ZodEnum<["meta", "google", "tiktok", "linkedin"]>;
|
|
4405
|
+
ad_account_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4406
|
+
ad_set_ids: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
4407
|
+
holdout_percent: import("zod").ZodNumber;
|
|
4408
|
+
attach_mode: import("zod").ZodOptional<import("zod").ZodEnum<["apex", "manual"]>>;
|
|
4409
|
+
washout_days: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4410
|
+
population_segment_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4411
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4412
|
+
network: "meta" | "google" | "linkedin" | "tiktok";
|
|
4413
|
+
ad_set_ids: string[];
|
|
4414
|
+
holdout_percent: number;
|
|
4415
|
+
attach_mode?: "manual" | "apex" | undefined;
|
|
4416
|
+
population_segment_id?: string | undefined;
|
|
4417
|
+
ad_account_id?: string | undefined;
|
|
4418
|
+
washout_days?: number | undefined;
|
|
4419
|
+
}, {
|
|
4420
|
+
network: "meta" | "google" | "linkedin" | "tiktok";
|
|
4421
|
+
ad_set_ids: string[];
|
|
4422
|
+
holdout_percent: number;
|
|
4423
|
+
attach_mode?: "manual" | "apex" | undefined;
|
|
4424
|
+
population_segment_id?: string | undefined;
|
|
4425
|
+
ad_account_id?: string | undefined;
|
|
4426
|
+
washout_days?: number | undefined;
|
|
4427
|
+
}>>;
|
|
4301
4428
|
dataSourceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4302
4429
|
randomizationUnit: import("zod").ZodOptional<import("zod").ZodEnum<["device", "visitor", "person", "account", "org"]>>;
|
|
4303
4430
|
minSamplePerArm: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -4305,16 +4432,25 @@ export declare const toolDefinitions: {
|
|
|
4305
4432
|
preview: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4306
4433
|
}, "strip", import("zod").ZodTypeAny, {
|
|
4307
4434
|
name: string;
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4435
|
+
surface?: "web" | "mobile" | "paid_channel" | undefined;
|
|
4436
|
+
paid_channel?: {
|
|
4437
|
+
network: "meta" | "google" | "linkedin" | "tiktok";
|
|
4438
|
+
ad_set_ids: string[];
|
|
4439
|
+
holdout_percent: number;
|
|
4440
|
+
attach_mode?: "manual" | "apex" | undefined;
|
|
4441
|
+
population_segment_id?: string | undefined;
|
|
4442
|
+
ad_account_id?: string | undefined;
|
|
4443
|
+
washout_days?: number | undefined;
|
|
4444
|
+
} | undefined;
|
|
4315
4445
|
beliefId?: string | undefined;
|
|
4316
4446
|
hypothesisId?: string | undefined;
|
|
4317
4447
|
predictionId?: string | undefined;
|
|
4448
|
+
targetUrl?: string | undefined;
|
|
4449
|
+
controlContent?: string | undefined;
|
|
4450
|
+
variantContent?: string | undefined;
|
|
4451
|
+
targetComponent?: string | undefined;
|
|
4452
|
+
targetAnchor?: string | undefined;
|
|
4453
|
+
trafficSplit?: number | undefined;
|
|
4318
4454
|
beliefStatement?: string | undefined;
|
|
4319
4455
|
beliefConfidence?: number | undefined;
|
|
4320
4456
|
hypothesisStatement?: string | undefined;
|
|
@@ -4332,16 +4468,25 @@ export declare const toolDefinitions: {
|
|
|
4332
4468
|
preview?: boolean | undefined;
|
|
4333
4469
|
}, {
|
|
4334
4470
|
name: string;
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4471
|
+
surface?: "web" | "mobile" | "paid_channel" | undefined;
|
|
4472
|
+
paid_channel?: {
|
|
4473
|
+
network: "meta" | "google" | "linkedin" | "tiktok";
|
|
4474
|
+
ad_set_ids: string[];
|
|
4475
|
+
holdout_percent: number;
|
|
4476
|
+
attach_mode?: "manual" | "apex" | undefined;
|
|
4477
|
+
population_segment_id?: string | undefined;
|
|
4478
|
+
ad_account_id?: string | undefined;
|
|
4479
|
+
washout_days?: number | undefined;
|
|
4480
|
+
} | undefined;
|
|
4342
4481
|
beliefId?: string | undefined;
|
|
4343
4482
|
hypothesisId?: string | undefined;
|
|
4344
4483
|
predictionId?: string | undefined;
|
|
4484
|
+
targetUrl?: string | undefined;
|
|
4485
|
+
controlContent?: string | undefined;
|
|
4486
|
+
variantContent?: string | undefined;
|
|
4487
|
+
targetComponent?: string | undefined;
|
|
4488
|
+
targetAnchor?: string | undefined;
|
|
4489
|
+
trafficSplit?: number | undefined;
|
|
4345
4490
|
beliefStatement?: string | undefined;
|
|
4346
4491
|
beliefConfidence?: number | undefined;
|
|
4347
4492
|
hypothesisStatement?: string | undefined;
|
|
@@ -4360,9 +4505,9 @@ export declare const toolDefinitions: {
|
|
|
4360
4505
|
}>;
|
|
4361
4506
|
handler: (args: {
|
|
4362
4507
|
name: string;
|
|
4363
|
-
targetUrl
|
|
4364
|
-
controlContent
|
|
4365
|
-
variantContent
|
|
4508
|
+
targetUrl?: string;
|
|
4509
|
+
controlContent?: string;
|
|
4510
|
+
variantContent?: string;
|
|
4366
4511
|
targetComponent?: string;
|
|
4367
4512
|
targetAnchor?: string;
|
|
4368
4513
|
trafficSplit?: number;
|
|
@@ -4379,7 +4524,8 @@ export declare const toolDefinitions: {
|
|
|
4379
4524
|
guardrailType?: "rate" | "revenue" | "duration";
|
|
4380
4525
|
guardrailThreshold?: number;
|
|
4381
4526
|
predictionMagnitude?: string;
|
|
4382
|
-
surface?: "web" | "mobile";
|
|
4527
|
+
surface?: "web" | "mobile" | "paid_channel";
|
|
4528
|
+
paid_channel?: import("./tools/experiments.js").AdHoldoutArgs;
|
|
4383
4529
|
dataSourceId?: string;
|
|
4384
4530
|
randomizationUnit?: "device" | "visitor" | "person" | "account" | "org";
|
|
4385
4531
|
minSamplePerArm?: number;
|
|
@@ -4390,13 +4536,6 @@ export declare const toolDefinitions: {
|
|
|
4390
4536
|
type: "text";
|
|
4391
4537
|
text: string;
|
|
4392
4538
|
}[];
|
|
4393
|
-
isError: boolean;
|
|
4394
|
-
} | {
|
|
4395
|
-
content: {
|
|
4396
|
-
type: "text";
|
|
4397
|
-
text: string;
|
|
4398
|
-
}[];
|
|
4399
|
-
isError?: undefined;
|
|
4400
4539
|
}>;
|
|
4401
4540
|
} & {
|
|
4402
4541
|
group: ToolGroup;
|
|
@@ -4675,12 +4814,158 @@ export declare const toolDefinitions: {
|
|
|
4675
4814
|
} & {
|
|
4676
4815
|
group: ToolGroup;
|
|
4677
4816
|
};
|
|
4817
|
+
list_belief_suggestions: {
|
|
4818
|
+
description: string;
|
|
4819
|
+
schema: import("zod").ZodObject<{
|
|
4820
|
+
experimentId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4821
|
+
max: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4822
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4823
|
+
experimentId?: string | undefined;
|
|
4824
|
+
max?: number | undefined;
|
|
4825
|
+
}, {
|
|
4826
|
+
experimentId?: string | undefined;
|
|
4827
|
+
max?: number | undefined;
|
|
4828
|
+
}>;
|
|
4829
|
+
handler: (args: {
|
|
4830
|
+
experimentId?: string;
|
|
4831
|
+
max?: number;
|
|
4832
|
+
}) => Promise<{
|
|
4833
|
+
content: {
|
|
4834
|
+
type: "text";
|
|
4835
|
+
text: string;
|
|
4836
|
+
}[];
|
|
4837
|
+
isError: boolean;
|
|
4838
|
+
} | {
|
|
4839
|
+
content: {
|
|
4840
|
+
type: "text";
|
|
4841
|
+
text: string;
|
|
4842
|
+
}[];
|
|
4843
|
+
}>;
|
|
4844
|
+
} & {
|
|
4845
|
+
group: ToolGroup;
|
|
4846
|
+
};
|
|
4847
|
+
accept_belief_suggestion: {
|
|
4848
|
+
description: string;
|
|
4849
|
+
schema: import("zod").ZodObject<{
|
|
4850
|
+
experimentId: import("zod").ZodString;
|
|
4851
|
+
statement: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4852
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4853
|
+
experimentId: string;
|
|
4854
|
+
statement?: string | undefined;
|
|
4855
|
+
}, {
|
|
4856
|
+
experimentId: string;
|
|
4857
|
+
statement?: string | undefined;
|
|
4858
|
+
}>;
|
|
4859
|
+
handler: (args: {
|
|
4860
|
+
experimentId: string;
|
|
4861
|
+
statement?: string;
|
|
4862
|
+
}) => Promise<{
|
|
4863
|
+
content: {
|
|
4864
|
+
type: "text";
|
|
4865
|
+
text: string;
|
|
4866
|
+
}[];
|
|
4867
|
+
isError: boolean;
|
|
4868
|
+
} | {
|
|
4869
|
+
content: {
|
|
4870
|
+
type: "text";
|
|
4871
|
+
text: string;
|
|
4872
|
+
}[];
|
|
4873
|
+
}>;
|
|
4874
|
+
} & {
|
|
4875
|
+
group: ToolGroup;
|
|
4876
|
+
};
|
|
4877
|
+
verify_ad_exclusion: {
|
|
4878
|
+
description: string;
|
|
4879
|
+
schema: import("zod").ZodObject<{
|
|
4880
|
+
experimentId: import("zod").ZodString;
|
|
4881
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4882
|
+
experimentId: string;
|
|
4883
|
+
}, {
|
|
4884
|
+
experimentId: string;
|
|
4885
|
+
}>;
|
|
4886
|
+
handler: (args: {
|
|
4887
|
+
experimentId: string;
|
|
4888
|
+
}) => Promise<{
|
|
4889
|
+
content: {
|
|
4890
|
+
type: "text";
|
|
4891
|
+
text: string;
|
|
4892
|
+
}[];
|
|
4893
|
+
isError: boolean;
|
|
4894
|
+
} | {
|
|
4895
|
+
content: {
|
|
4896
|
+
type: "text";
|
|
4897
|
+
text: string;
|
|
4898
|
+
}[];
|
|
4899
|
+
}>;
|
|
4900
|
+
} & {
|
|
4901
|
+
group: ToolGroup;
|
|
4902
|
+
};
|
|
4903
|
+
attach_ad_exclusion: {
|
|
4904
|
+
description: string;
|
|
4905
|
+
schema: import("zod").ZodObject<{
|
|
4906
|
+
experimentId: import("zod").ZodString;
|
|
4907
|
+
preview: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4908
|
+
acknowledge: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4909
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4910
|
+
experimentId: string;
|
|
4911
|
+
preview?: boolean | undefined;
|
|
4912
|
+
acknowledge?: boolean | undefined;
|
|
4913
|
+
}, {
|
|
4914
|
+
experimentId: string;
|
|
4915
|
+
preview?: boolean | undefined;
|
|
4916
|
+
acknowledge?: boolean | undefined;
|
|
4917
|
+
}>;
|
|
4918
|
+
handler: (args: {
|
|
4919
|
+
experimentId: string;
|
|
4920
|
+
preview?: boolean;
|
|
4921
|
+
acknowledge?: boolean;
|
|
4922
|
+
}) => Promise<{
|
|
4923
|
+
content: {
|
|
4924
|
+
type: "text";
|
|
4925
|
+
text: string;
|
|
4926
|
+
}[];
|
|
4927
|
+
isError: boolean;
|
|
4928
|
+
} | {
|
|
4929
|
+
content: {
|
|
4930
|
+
type: "text";
|
|
4931
|
+
text: string;
|
|
4932
|
+
}[];
|
|
4933
|
+
}>;
|
|
4934
|
+
} & {
|
|
4935
|
+
group: ToolGroup;
|
|
4936
|
+
};
|
|
4937
|
+
detach_ad_exclusion: {
|
|
4938
|
+
description: string;
|
|
4939
|
+
schema: import("zod").ZodObject<{
|
|
4940
|
+
experimentId: import("zod").ZodString;
|
|
4941
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4942
|
+
experimentId: string;
|
|
4943
|
+
}, {
|
|
4944
|
+
experimentId: string;
|
|
4945
|
+
}>;
|
|
4946
|
+
handler: (args: {
|
|
4947
|
+
experimentId: string;
|
|
4948
|
+
}) => Promise<{
|
|
4949
|
+
content: {
|
|
4950
|
+
type: "text";
|
|
4951
|
+
text: string;
|
|
4952
|
+
}[];
|
|
4953
|
+
isError: boolean;
|
|
4954
|
+
} | {
|
|
4955
|
+
content: {
|
|
4956
|
+
type: "text";
|
|
4957
|
+
text: string;
|
|
4958
|
+
}[];
|
|
4959
|
+
}>;
|
|
4960
|
+
} & {
|
|
4961
|
+
group: ToolGroup;
|
|
4962
|
+
};
|
|
4678
4963
|
update_experiment: {
|
|
4679
4964
|
description: string;
|
|
4680
4965
|
schema: import("zod").ZodObject<{
|
|
4681
4966
|
experimentId: import("zod").ZodString;
|
|
4682
4967
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4683
|
-
surface: import("zod").ZodOptional<import("zod").ZodEnum<["web", "mobile"]>>;
|
|
4968
|
+
surface: import("zod").ZodOptional<import("zod").ZodEnum<["web", "mobile", "paid_channel"]>>;
|
|
4684
4969
|
hypothesis: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4685
4970
|
targetUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4686
4971
|
predictionId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -4692,9 +4977,9 @@ export declare const toolDefinitions: {
|
|
|
4692
4977
|
}, "strip", import("zod").ZodTypeAny, {
|
|
4693
4978
|
experimentId: string;
|
|
4694
4979
|
name?: string | undefined;
|
|
4695
|
-
surface?: "web" | "mobile" | undefined;
|
|
4696
|
-
targetUrl?: string | undefined;
|
|
4980
|
+
surface?: "web" | "mobile" | "paid_channel" | undefined;
|
|
4697
4981
|
predictionId?: string | undefined;
|
|
4982
|
+
targetUrl?: string | undefined;
|
|
4698
4983
|
primaryMetricEvent?: string | undefined;
|
|
4699
4984
|
primaryMetricType?: "duration" | "rate" | "count" | "revenue" | undefined;
|
|
4700
4985
|
guardrailEvent?: string | undefined;
|
|
@@ -4704,9 +4989,9 @@ export declare const toolDefinitions: {
|
|
|
4704
4989
|
}, {
|
|
4705
4990
|
experimentId: string;
|
|
4706
4991
|
name?: string | undefined;
|
|
4707
|
-
surface?: "web" | "mobile" | undefined;
|
|
4708
|
-
targetUrl?: string | undefined;
|
|
4992
|
+
surface?: "web" | "mobile" | "paid_channel" | undefined;
|
|
4709
4993
|
predictionId?: string | undefined;
|
|
4994
|
+
targetUrl?: string | undefined;
|
|
4710
4995
|
primaryMetricEvent?: string | undefined;
|
|
4711
4996
|
primaryMetricType?: "duration" | "rate" | "count" | "revenue" | undefined;
|
|
4712
4997
|
guardrailEvent?: string | undefined;
|
|
@@ -4717,7 +5002,7 @@ export declare const toolDefinitions: {
|
|
|
4717
5002
|
handler: (args: {
|
|
4718
5003
|
experimentId: string;
|
|
4719
5004
|
name?: string;
|
|
4720
|
-
surface?: "web" | "mobile";
|
|
5005
|
+
surface?: "web" | "mobile" | "paid_channel";
|
|
4721
5006
|
hypothesis?: string;
|
|
4722
5007
|
targetUrl?: string;
|
|
4723
5008
|
predictionId?: string;
|
|
@@ -4773,14 +5058,14 @@ export declare const toolDefinitions: {
|
|
|
4773
5058
|
description: string;
|
|
4774
5059
|
schema: import("zod").ZodObject<{
|
|
4775
5060
|
experimentId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4776
|
-
surface: import("zod").ZodOptional<import("zod").ZodEnum<["web", "mobile"]>>;
|
|
5061
|
+
surface: import("zod").ZodOptional<import("zod").ZodEnum<["web", "mobile", "paid_channel"]>>;
|
|
4777
5062
|
targetComponent: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4778
5063
|
targetUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4779
5064
|
targetAnchor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4780
5065
|
dataSourceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4781
5066
|
primaryMetricEvent: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4782
5067
|
}, "strip", import("zod").ZodTypeAny, {
|
|
4783
|
-
surface?: "web" | "mobile" | undefined;
|
|
5068
|
+
surface?: "web" | "mobile" | "paid_channel" | undefined;
|
|
4784
5069
|
targetUrl?: string | undefined;
|
|
4785
5070
|
targetComponent?: string | undefined;
|
|
4786
5071
|
targetAnchor?: string | undefined;
|
|
@@ -4788,7 +5073,7 @@ export declare const toolDefinitions: {
|
|
|
4788
5073
|
dataSourceId?: string | undefined;
|
|
4789
5074
|
experimentId?: string | undefined;
|
|
4790
5075
|
}, {
|
|
4791
|
-
surface?: "web" | "mobile" | undefined;
|
|
5076
|
+
surface?: "web" | "mobile" | "paid_channel" | undefined;
|
|
4792
5077
|
targetUrl?: string | undefined;
|
|
4793
5078
|
targetComponent?: string | undefined;
|
|
4794
5079
|
targetAnchor?: string | undefined;
|
|
@@ -5288,7 +5573,7 @@ export declare const toolDefinitions: {
|
|
|
5288
5573
|
writeRepos?: string[] | undefined;
|
|
5289
5574
|
githubVisibility?: "full" | "minimal" | "off" | undefined;
|
|
5290
5575
|
commitConvention?: "custom" | "none" | "conventional" | undefined;
|
|
5291
|
-
branchConvention?: "custom" | "
|
|
5576
|
+
branchConvention?: "custom" | "apex" | "feature" | "feat" | "chore" | undefined;
|
|
5292
5577
|
workingHours?: "anytime" | "off_hours" | "business_hours" | undefined;
|
|
5293
5578
|
}, {
|
|
5294
5579
|
onWin?: "do_nothing" | "notify" | "auto" | undefined;
|
|
@@ -5296,7 +5581,7 @@ export declare const toolDefinitions: {
|
|
|
5296
5581
|
writeRepos?: string[] | undefined;
|
|
5297
5582
|
githubVisibility?: "full" | "minimal" | "off" | undefined;
|
|
5298
5583
|
commitConvention?: "custom" | "none" | "conventional" | undefined;
|
|
5299
|
-
branchConvention?: "custom" | "
|
|
5584
|
+
branchConvention?: "custom" | "apex" | "feature" | "feat" | "chore" | undefined;
|
|
5300
5585
|
workingHours?: "anytime" | "off_hours" | "business_hours" | undefined;
|
|
5301
5586
|
}>;
|
|
5302
5587
|
handler: (args: Record<string, unknown>) => Promise<{
|