@designcrowd/library.brand-page 6.2.12-publish-2 → 6.2.13

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.
Files changed (55) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-BtVKllNQ.js → CreatedOnBrandCrowd-de-de-COhZYMwW.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-CX5V0v8u.js → CreatedOnBrandCrowd-en-us-De5eIVfZ.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-CbA02PCL.js → CreatedOnBrandCrowd-es-es-D7Bk2q4d.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-BQAKruBF.js → CreatedOnBrandCrowd-fr-ca-BBCuO0D-.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-BQAKruBF.js → CreatedOnBrandCrowd-fr-fr-BBCuO0D-.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-Yk_yzB3s.js → CreatedOnBrandCrowd-pt-br-B5MrGFq-.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-Yk_yzB3s.js → CreatedOnBrandCrowd-pt-pt-B5MrGFq-.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-DJZQbPSD.js → CreatedOnDcom-de-de-CJSWCbRg.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-BJvNAa4l.js → CreatedOnDcom-en-us-OO0s0TRW.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-CUwB1FRY.js → CreatedOnDcom-es-es-DQX1lZq7.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-CK54U4oh.js → CreatedOnDcom-fr-ca-C5cQ3rla.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-DuUNBGrM.js → CreatedOnDcom-fr-fr-UdyUX0b_.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-BfODpFNV.js → CreatedOnDcom-pt-br-C0FiDCQG.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-Cf6u2GCg.js → CreatedOnDcom-pt-pt-CbbnZ7aN.js} +1 -1
  15. package/lib/src/brand-page/models/brand-page-context.model.d.ts +0 -2
  16. package/lib/src/brand-page/models/brand-page-context.model.js +0 -7
  17. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +0 -21
  18. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +0 -21
  19. package/lib/src/brand-page-maker/components/preview/Preview.mixin.d.ts +0 -7
  20. package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +0 -21
  21. package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +0 -21
  22. package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +0 -21
  23. package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +0 -21
  24. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +0 -21
  25. package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +0 -21
  26. package/lib/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.js +0 -13
  27. package/lib/src/brand-page-maker/stores/ai-thread/ai-website-builder-thread-store.d.ts +2 -9
  28. package/lib/src/brand-page-maker/stores/ai-thread/ai-website-builder-thread-store.js +0 -20
  29. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +0 -21
  30. package/lib/src/clients/ai-assistant-client.d.ts +1 -6
  31. package/lib/src/clients/ai-assistant-client.js +15 -7
  32. package/lib/src/index.mjs +1 -1
  33. package/lib/src/{lib-kGRlD3_P.js → lib-DgFekeRm.js} +19378 -19392
  34. package/lib/src/shared/background-settings/store/background-settings-store.js +3 -1
  35. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +1 -1
  36. package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +1 -1
  37. package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +0 -21
  38. package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +0 -21
  39. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +0 -21
  40. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +0 -21
  41. package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +0 -28
  42. package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +1 -22
  43. package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +0 -21
  44. package/package.json +2 -2
  45. package/src/brand-page/models/brand-page-context.model.test.ts +38 -0
  46. package/src/brand-page/models/brand-page-context.model.ts +0 -13
  47. package/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.ts +0 -18
  48. package/src/brand-page-maker/stores/ai-thread/ai-website-builder-thread-store.ts +0 -30
  49. package/src/clients/ai-assistant-client.test.ts +135 -0
  50. package/src/clients/ai-assistant-client.ts +18 -12
  51. package/src/shared/background-settings/store/background-settings-store.ts +3 -1
  52. package/lib/src/brand-page-maker/composables/ai-chat/ai-builder-experiment.d.ts +0 -10
  53. package/lib/src/brand-page-maker/composables/ai-chat/ai-builder-experiment.js +0 -11
  54. package/src/brand-page-maker/composables/ai-chat/ai-builder-experiment.test.ts +0 -82
  55. package/src/brand-page-maker/composables/ai-chat/ai-builder-experiment.ts +0 -19
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-kGRlD3_P.js";
2
+ import { _ as t } from "./lib-DgFekeRm.js";
3
3
  const i = {}, h = {
4
4
  width: "275",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-kGRlD3_P.js";
2
+ import { _ as t } from "./lib-DgFekeRm.js";
3
3
  const i = {}, h = {
4
4
  width: "251",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-kGRlD3_P.js";
2
+ import { _ as t } from "./lib-DgFekeRm.js";
3
3
  const i = {}, h = {
4
4
  width: "250",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-kGRlD3_P.js";
2
+ import { _ as t } from "./lib-DgFekeRm.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-kGRlD3_P.js";
2
+ import { _ as t } from "./lib-DgFekeRm.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-kGRlD3_P.js";
2
+ import { _ as t } from "./lib-DgFekeRm.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-kGRlD3_P.js";
2
+ import { _ as t } from "./lib-DgFekeRm.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-kGRlD3_P.js";
2
+ import { _ as e } from "./lib-DgFekeRm.js";
3
3
  const M = {}, Z = {
4
4
  width: "242",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-kGRlD3_P.js";
2
+ import { _ as e } from "./lib-DgFekeRm.js";
3
3
  const i = {}, M = {
4
4
  width: "231",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-kGRlD3_P.js";
2
+ import { _ as e } from "./lib-DgFekeRm.js";
3
3
  const M = {}, Z = {
4
4
  width: "230",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-kGRlD3_P.js";
2
+ import { _ as e } from "./lib-DgFekeRm.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-kGRlD3_P.js";
2
+ import { _ as e } from "./lib-DgFekeRm.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-kGRlD3_P.js";
2
+ import { _ as M } from "./lib-DgFekeRm.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-kGRlD3_P.js";
2
+ import { _ as M } from "./lib-DgFekeRm.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -36,11 +36,9 @@ export interface AbTestResult {
36
36
  }
37
37
  export declare const AB_TEST_KEYS: {
38
38
  BP_3926_FREEMIUM_WATERMARK: string;
39
- BP_6136_V2_AI_BUILDER: string;
40
39
  };
41
40
  export interface AbTest {
42
41
  bp_3926_freemium_watermark?: AbTestResult;
43
- bp_6136_v2_ai_builder?: AbTestResult;
44
42
  }
45
43
  export declare const MEDIA_SIZES: {
46
44
  readonly size1x: "size1x";
@@ -24,9 +24,6 @@ export const AB_TEST_FLAG = {
24
24
  };
25
25
  export const AB_TEST_KEYS = {
26
26
  BP_3926_FREEMIUM_WATERMARK: 'bc-bp-3926-freemium-cta-in-website-editor',
27
- // V1 (control) vs V2 (variation-1) AI website builder, sent by bc-net in the editor
28
- // payload at load. Key must match `Bp6136V2AiBuilderStrategy.CampaignKey`.
29
- BP_6136_V2_AI_BUILDER: 'bc-bp-6136-v2-ai-builder',
30
27
  };
31
28
  export const MEDIA_SIZES = {
32
29
  size1x: 'size1x',
@@ -48,9 +45,5 @@ export const getAbTestResults = (abtestKeyValues) => {
48
45
  if (abtestKeyValues[AB_TEST_KEYS.BP_3926_FREEMIUM_WATERMARK]) {
49
46
  abTests.bp_3926_freemium_watermark = getValueType(AB_TEST_KEYS.BP_3926_FREEMIUM_WATERMARK, abtestKeyValues[AB_TEST_KEYS.BP_3926_FREEMIUM_WATERMARK]);
50
47
  }
51
- // AB Test - V1 vs V2 AI website builder
52
- if (abtestKeyValues[AB_TEST_KEYS.BP_6136_V2_AI_BUILDER]) {
53
- abTests.bp_6136_v2_ai_builder = getValueType(AB_TEST_KEYS.BP_6136_V2_AI_BUILDER, abtestKeyValues[AB_TEST_KEYS.BP_6136_V2_AI_BUILDER]);
54
- }
55
48
  return abTests;
56
49
  };
@@ -296,13 +296,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
296
296
  isVariation: boolean;
297
297
  isExcluded: boolean;
298
298
  } | undefined;
299
- bp_6136_v2_ai_builder?: {
300
- key: string;
301
- value: string;
302
- isControl: boolean;
303
- isVariation: boolean;
304
- isExcluded: boolean;
305
- } | undefined;
306
299
  };
307
300
  isSubsequentPublish: boolean;
308
301
  isContextualUpgradeModalVisible: boolean;
@@ -378,13 +371,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
378
371
  isVariation: boolean;
379
372
  isExcluded: boolean;
380
373
  } | undefined;
381
- bp_6136_v2_ai_builder?: {
382
- key: string;
383
- value: string;
384
- isControl: boolean;
385
- isVariation: boolean;
386
- isExcluded: boolean;
387
- } | undefined;
388
374
  };
389
375
  isSubsequentPublish: boolean;
390
376
  isContextualUpgradeModalVisible: boolean;
@@ -460,13 +446,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
460
446
  isVariation: boolean;
461
447
  isExcluded: boolean;
462
448
  } | undefined;
463
- bp_6136_v2_ai_builder?: {
464
- key: string;
465
- value: string;
466
- isControl: boolean;
467
- isVariation: boolean;
468
- isExcluded: boolean;
469
- } | undefined;
470
449
  };
471
450
  isSubsequentPublish: boolean;
472
451
  isContextualUpgradeModalVisible: boolean;
@@ -715,13 +715,6 @@ declare const _default: import("vue").DefineComponent<{}, {
715
715
  isVariation: boolean;
716
716
  isExcluded: boolean;
717
717
  } | undefined;
718
- bp_6136_v2_ai_builder?: {
719
- key: string;
720
- value: string;
721
- isControl: boolean;
722
- isVariation: boolean;
723
- isExcluded: boolean;
724
- } | undefined;
725
718
  };
726
719
  isSubsequentPublish: boolean;
727
720
  isContextualUpgradeModalVisible: boolean;
@@ -797,13 +790,6 @@ declare const _default: import("vue").DefineComponent<{}, {
797
790
  isVariation: boolean;
798
791
  isExcluded: boolean;
799
792
  } | undefined;
800
- bp_6136_v2_ai_builder?: {
801
- key: string;
802
- value: string;
803
- isControl: boolean;
804
- isVariation: boolean;
805
- isExcluded: boolean;
806
- } | undefined;
807
793
  };
808
794
  isSubsequentPublish: boolean;
809
795
  isContextualUpgradeModalVisible: boolean;
@@ -879,13 +865,6 @@ declare const _default: import("vue").DefineComponent<{}, {
879
865
  isVariation: boolean;
880
866
  isExcluded: boolean;
881
867
  } | undefined;
882
- bp_6136_v2_ai_builder?: {
883
- key: string;
884
- value: string;
885
- isControl: boolean;
886
- isVariation: boolean;
887
- isExcluded: boolean;
888
- } | undefined;
889
868
  };
890
869
  isSubsequentPublish: boolean;
891
870
  isContextualUpgradeModalVisible: boolean;
@@ -41,13 +41,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
41
41
  isVariation: boolean;
42
42
  isExcluded: boolean;
43
43
  } | undefined;
44
- bp_6136_v2_ai_builder?: {
45
- key: string;
46
- value: string;
47
- isControl: boolean;
48
- isVariation: boolean;
49
- isExcluded: boolean;
50
- } | undefined;
51
44
  };
52
45
  }, {
53
46
  containerClientHeight: number | undefined;
@@ -78,13 +78,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
78
78
  isVariation: boolean;
79
79
  isExcluded: boolean;
80
80
  } | undefined;
81
- bp_6136_v2_ai_builder?: {
82
- key: string;
83
- value: string;
84
- isControl: boolean;
85
- isVariation: boolean;
86
- isExcluded: boolean;
87
- } | undefined;
88
81
  };
89
82
  isSubsequentPublish: boolean;
90
83
  isContextualUpgradeModalVisible: boolean;
@@ -160,13 +153,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
160
153
  isVariation: boolean;
161
154
  isExcluded: boolean;
162
155
  } | undefined;
163
- bp_6136_v2_ai_builder?: {
164
- key: string;
165
- value: string;
166
- isControl: boolean;
167
- isVariation: boolean;
168
- isExcluded: boolean;
169
- } | undefined;
170
156
  };
171
157
  isSubsequentPublish: boolean;
172
158
  isContextualUpgradeModalVisible: boolean;
@@ -242,13 +228,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
242
228
  isVariation: boolean;
243
229
  isExcluded: boolean;
244
230
  } | undefined;
245
- bp_6136_v2_ai_builder?: {
246
- key: string;
247
- value: string;
248
- isControl: boolean;
249
- isVariation: boolean;
250
- isExcluded: boolean;
251
- } | undefined;
252
231
  };
253
232
  isSubsequentPublish: boolean;
254
233
  isContextualUpgradeModalVisible: boolean;
@@ -94,13 +94,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
94
94
  isVariation: boolean;
95
95
  isExcluded: boolean;
96
96
  } | undefined;
97
- bp_6136_v2_ai_builder?: {
98
- key: string;
99
- value: string;
100
- isControl: boolean;
101
- isVariation: boolean;
102
- isExcluded: boolean;
103
- } | undefined;
104
97
  };
105
98
  isSubsequentPublish: boolean;
106
99
  isContextualUpgradeModalVisible: boolean;
@@ -176,13 +169,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
176
169
  isVariation: boolean;
177
170
  isExcluded: boolean;
178
171
  } | undefined;
179
- bp_6136_v2_ai_builder?: {
180
- key: string;
181
- value: string;
182
- isControl: boolean;
183
- isVariation: boolean;
184
- isExcluded: boolean;
185
- } | undefined;
186
172
  };
187
173
  isSubsequentPublish: boolean;
188
174
  isContextualUpgradeModalVisible: boolean;
@@ -258,13 +244,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
258
244
  isVariation: boolean;
259
245
  isExcluded: boolean;
260
246
  } | undefined;
261
- bp_6136_v2_ai_builder?: {
262
- key: string;
263
- value: string;
264
- isControl: boolean;
265
- isVariation: boolean;
266
- isExcluded: boolean;
267
- } | undefined;
268
247
  };
269
248
  isSubsequentPublish: boolean;
270
249
  isContextualUpgradeModalVisible: boolean;
@@ -99,13 +99,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
99
99
  isVariation: boolean;
100
100
  isExcluded: boolean;
101
101
  } | undefined;
102
- bp_6136_v2_ai_builder?: {
103
- key: string;
104
- value: string;
105
- isControl: boolean;
106
- isVariation: boolean;
107
- isExcluded: boolean;
108
- } | undefined;
109
102
  };
110
103
  isSubsequentPublish: boolean;
111
104
  isContextualUpgradeModalVisible: boolean;
@@ -181,13 +174,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
181
174
  isVariation: boolean;
182
175
  isExcluded: boolean;
183
176
  } | undefined;
184
- bp_6136_v2_ai_builder?: {
185
- key: string;
186
- value: string;
187
- isControl: boolean;
188
- isVariation: boolean;
189
- isExcluded: boolean;
190
- } | undefined;
191
177
  };
192
178
  isSubsequentPublish: boolean;
193
179
  isContextualUpgradeModalVisible: boolean;
@@ -263,13 +249,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
263
249
  isVariation: boolean;
264
250
  isExcluded: boolean;
265
251
  } | undefined;
266
- bp_6136_v2_ai_builder?: {
267
- key: string;
268
- value: string;
269
- isControl: boolean;
270
- isVariation: boolean;
271
- isExcluded: boolean;
272
- } | undefined;
273
252
  };
274
253
  isSubsequentPublish: boolean;
275
254
  isContextualUpgradeModalVisible: boolean;
@@ -80,13 +80,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
80
80
  isVariation: boolean;
81
81
  isExcluded: boolean;
82
82
  } | undefined;
83
- bp_6136_v2_ai_builder?: {
84
- key: string;
85
- value: string;
86
- isControl: boolean;
87
- isVariation: boolean;
88
- isExcluded: boolean;
89
- } | undefined;
90
83
  };
91
84
  isSubsequentPublish: boolean;
92
85
  isContextualUpgradeModalVisible: boolean;
@@ -162,13 +155,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
162
155
  isVariation: boolean;
163
156
  isExcluded: boolean;
164
157
  } | undefined;
165
- bp_6136_v2_ai_builder?: {
166
- key: string;
167
- value: string;
168
- isControl: boolean;
169
- isVariation: boolean;
170
- isExcluded: boolean;
171
- } | undefined;
172
158
  };
173
159
  isSubsequentPublish: boolean;
174
160
  isContextualUpgradeModalVisible: boolean;
@@ -244,13 +230,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
244
230
  isVariation: boolean;
245
231
  isExcluded: boolean;
246
232
  } | undefined;
247
- bp_6136_v2_ai_builder?: {
248
- key: string;
249
- value: string;
250
- isControl: boolean;
251
- isVariation: boolean;
252
- isExcluded: boolean;
253
- } | undefined;
254
233
  };
255
234
  isSubsequentPublish: boolean;
256
235
  isContextualUpgradeModalVisible: boolean;
@@ -148,13 +148,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
148
148
  isVariation: boolean;
149
149
  isExcluded: boolean;
150
150
  } | undefined;
151
- bp_6136_v2_ai_builder?: {
152
- key: string;
153
- value: string;
154
- isControl: boolean;
155
- isVariation: boolean;
156
- isExcluded: boolean;
157
- } | undefined;
158
151
  };
159
152
  isSubsequentPublish: boolean;
160
153
  isContextualUpgradeModalVisible: boolean;
@@ -230,13 +223,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
230
223
  isVariation: boolean;
231
224
  isExcluded: boolean;
232
225
  } | undefined;
233
- bp_6136_v2_ai_builder?: {
234
- key: string;
235
- value: string;
236
- isControl: boolean;
237
- isVariation: boolean;
238
- isExcluded: boolean;
239
- } | undefined;
240
226
  };
241
227
  isSubsequentPublish: boolean;
242
228
  isContextualUpgradeModalVisible: boolean;
@@ -312,13 +298,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
312
298
  isVariation: boolean;
313
299
  isExcluded: boolean;
314
300
  } | undefined;
315
- bp_6136_v2_ai_builder?: {
316
- key: string;
317
- value: string;
318
- isControl: boolean;
319
- isVariation: boolean;
320
- isExcluded: boolean;
321
- } | undefined;
322
301
  };
323
302
  isSubsequentPublish: boolean;
324
303
  isContextualUpgradeModalVisible: boolean;
@@ -75,13 +75,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
75
75
  isVariation: boolean;
76
76
  isExcluded: boolean;
77
77
  } | undefined;
78
- bp_6136_v2_ai_builder?: {
79
- key: string;
80
- value: string;
81
- isControl: boolean;
82
- isVariation: boolean;
83
- isExcluded: boolean;
84
- } | undefined;
85
78
  };
86
79
  isSubsequentPublish: boolean;
87
80
  isContextualUpgradeModalVisible: boolean;
@@ -157,13 +150,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
157
150
  isVariation: boolean;
158
151
  isExcluded: boolean;
159
152
  } | undefined;
160
- bp_6136_v2_ai_builder?: {
161
- key: string;
162
- value: string;
163
- isControl: boolean;
164
- isVariation: boolean;
165
- isExcluded: boolean;
166
- } | undefined;
167
153
  };
168
154
  isSubsequentPublish: boolean;
169
155
  isContextualUpgradeModalVisible: boolean;
@@ -239,13 +225,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
239
225
  isVariation: boolean;
240
226
  isExcluded: boolean;
241
227
  } | undefined;
242
- bp_6136_v2_ai_builder?: {
243
- key: string;
244
- value: string;
245
- isControl: boolean;
246
- isVariation: boolean;
247
- isExcluded: boolean;
248
- } | undefined;
249
228
  };
250
229
  isSubsequentPublish: boolean;
251
230
  isContextualUpgradeModalVisible: boolean;
@@ -19,7 +19,6 @@ import { useHistoryStore } from '../../stores/history/history-store';
19
19
  import { useUndoRedoFlag } from '../useUndoRedoFlag';
20
20
  import { useBrandPageMakerUserStore } from '../../stores/user/user-store';
21
21
  import { useAiMetadataBuilder } from './useAiMetadataBuilder';
22
- import { aiBuilderAgentTypeForArm } from './ai-builder-experiment';
23
22
  import { pickErrorMessage, pickWsErrorMessage, buildSubmitErrorReport, } from './aiErrorCopy';
24
23
  import raygunUtil from '../../../brand-page/utils/raygun.util';
25
24
  import { useEventTracker, AI_CTA_LOCATIONS } from '../useEventTracker';
@@ -363,18 +362,12 @@ export function useAiWebsiteBuilderChat() {
363
362
  const userPlan = userStore.hasPremiumSubscription
364
363
  ? 'premium'
365
364
  : 'free';
366
- if (!aiThreadStore.threadId) {
367
- // The A/B arm bc-net bucketed at editor load decides which builder owns the
368
- // new thread; the message and tool-result calls below reuse it.
369
- aiThreadStore.setAgentType(aiBuilderAgentTypeForArm(containerStore.abTests.bp_6136_v2_ai_builder));
370
- }
371
365
  let buildResponse;
372
366
  if (!aiThreadStore.threadId) {
373
367
  buildResponse = await client.createWebsiteThreadBuildAsync({
374
368
  message,
375
369
  websiteContext,
376
370
  websiteSnapshot: snapshotStore.snapshotBase64 || undefined,
377
- agentType: aiThreadStore.agentType,
378
371
  userPlan,
379
372
  connectionId,
380
373
  ...buildAttributionFields(),
@@ -385,7 +378,6 @@ export function useAiWebsiteBuilderChat() {
385
378
  message,
386
379
  websiteContext,
387
380
  websiteSnapshot: snapshotStore.snapshotBase64 || undefined,
388
- agentType: aiThreadStore.agentType,
389
381
  userPlan,
390
382
  connectionId,
391
383
  ...buildAttributionFields(),
@@ -531,13 +523,8 @@ export function useAiWebsiteBuilderChat() {
531
523
  failedResults,
532
524
  retryCount,
533
525
  });
534
- // Tool submissions must go to the SAME agent that ran the thread
535
- // (AI QA 2026-07-05 T19: a mismatched agentType routes tool results
536
- // to a service with no state for the thread and fails the build).
537
- // The thread store holds this thread's agent (A/B arm: V1 control, V2 variation-1).
538
526
  const submitResult = await client.submitToolResultsBuildAsync(aiThreadStore.threadId, {
539
527
  toolCalls: toolResults,
540
- agentType: aiThreadStore.agentType,
541
528
  connectionId,
542
529
  retryCount,
543
530
  userPlan,
@@ -1,4 +1,3 @@
1
- import { type AiAssistantAgentType } from '../../../clients/ai-assistant-client';
2
1
  export declare const useAiWebsiteBuilderThreadStore: import("pinia").StoreDefinition<"aiWebsiteBuilderThread", Pick<{
3
2
  threadId: import("vue").Ref<string | null, string | null>;
4
3
  runId: import("vue").Ref<string | null, string | null>;
@@ -9,11 +8,9 @@ export declare const useAiWebsiteBuilderThreadStore: import("pinia").StoreDefini
9
8
  buildSectionsCompleted: import("vue").Ref<number, number>;
10
9
  promptText: import("vue").Ref<string, string>;
11
10
  stopGeneration: import("vue").Ref<(() => void) | null, (() => void) | null>;
12
- agentType: import("vue").Ref<AiAssistantAgentType, AiAssistantAgentType>;
13
- setAgentType: (type: AiAssistantAgentType) => void;
14
11
  resetToken: import("vue").Ref<number, number>;
15
12
  reset: () => void;
16
- }, "threadId" | "runId" | "messages" | "isProcessing" | "buildId" | "isBuildInProgress" | "buildSectionsCompleted" | "promptText" | "stopGeneration" | "agentType" | "resetToken">, Pick<{
13
+ }, "threadId" | "runId" | "messages" | "isProcessing" | "buildId" | "isBuildInProgress" | "buildSectionsCompleted" | "promptText" | "stopGeneration" | "resetToken">, Pick<{
17
14
  threadId: import("vue").Ref<string | null, string | null>;
18
15
  runId: import("vue").Ref<string | null, string | null>;
19
16
  messages: import("vue").Ref<any[], any[]>;
@@ -23,8 +20,6 @@ export declare const useAiWebsiteBuilderThreadStore: import("pinia").StoreDefini
23
20
  buildSectionsCompleted: import("vue").Ref<number, number>;
24
21
  promptText: import("vue").Ref<string, string>;
25
22
  stopGeneration: import("vue").Ref<(() => void) | null, (() => void) | null>;
26
- agentType: import("vue").Ref<AiAssistantAgentType, AiAssistantAgentType>;
27
- setAgentType: (type: AiAssistantAgentType) => void;
28
23
  resetToken: import("vue").Ref<number, number>;
29
24
  reset: () => void;
30
25
  }, never>, Pick<{
@@ -37,8 +32,6 @@ export declare const useAiWebsiteBuilderThreadStore: import("pinia").StoreDefini
37
32
  buildSectionsCompleted: import("vue").Ref<number, number>;
38
33
  promptText: import("vue").Ref<string, string>;
39
34
  stopGeneration: import("vue").Ref<(() => void) | null, (() => void) | null>;
40
- agentType: import("vue").Ref<AiAssistantAgentType, AiAssistantAgentType>;
41
- setAgentType: (type: AiAssistantAgentType) => void;
42
35
  resetToken: import("vue").Ref<number, number>;
43
36
  reset: () => void;
44
- }, "reset" | "setAgentType">>;
37
+ }, "reset">>;
@@ -1,6 +1,5 @@
1
1
  import { defineStore } from 'pinia';
2
2
  import { ref } from 'vue';
3
- import { AI_ASSISTANT_AGENT_TYPES, } from '../../../clients/ai-assistant-client';
4
3
  export const useAiWebsiteBuilderThreadStore = defineStore('aiWebsiteBuilderThread', () => {
5
4
  const threadId = ref(null);
6
5
  const runId = ref(null);
@@ -11,11 +10,6 @@ export const useAiWebsiteBuilderThreadStore = defineStore('aiWebsiteBuilderThrea
11
10
  const buildSectionsCompleted = ref(0);
12
11
  const promptText = ref('');
13
12
  const stopGeneration = ref(null);
14
- // Which builder this thread talks to. V1 (control) is the default, what production
15
- // runs today; the chat composable sets V2 for the variation-1 arm when a thread
16
- // starts (aiBuilderAgentTypeForArm). Every send site reads it, because tool results
17
- // must reach the agent that owns the thread (AI QA 2026-07-05 T19).
18
- const agentType = ref(AI_ASSISTANT_AGENT_TYPES.WEBSITE_BUILDER);
19
13
  // Bumped on every reset so consumers (useAiWebsiteBuilderChat) can react
20
14
  // without watching `messages`, which would loop with its own deep watch.
21
15
  const resetToken = ref(0);
@@ -34,18 +28,6 @@ export const useAiWebsiteBuilderThreadStore = defineStore('aiWebsiteBuilderThrea
34
28
  stopGeneration.value = null;
35
29
  resetToken.value += 1;
36
30
  };
37
- const setAgentType = (type) => {
38
- if (agentType.value === type) {
39
- return;
40
- }
41
- const hadThread = threadId.value !== null;
42
- agentType.value = type;
43
- // V1 and V2 threads are not interchangeable, so a thread already running on
44
- // the other agent is dropped. Before the first prompt there is nothing to drop.
45
- if (hadThread) {
46
- reset();
47
- }
48
- };
49
31
  return {
50
32
  threadId,
51
33
  runId,
@@ -56,8 +38,6 @@ export const useAiWebsiteBuilderThreadStore = defineStore('aiWebsiteBuilderThrea
56
38
  buildSectionsCompleted,
57
39
  promptText,
58
40
  stopGeneration,
59
- agentType,
60
- setAgentType,
61
41
  resetToken,
62
42
  reset,
63
43
  };