@wix/mcp 1.0.22 → 1.0.23

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 (60) hide show
  1. package/build/bin-standalone.js +541 -982
  2. package/build/bin-standalone.js.map +4 -4
  3. package/build/cjs/index.cjs +7820 -7095
  4. package/build/cjs/index.cjs.map +4 -4
  5. package/build/dts/api-call/index.d.ts +1 -1
  6. package/build/dts/api-call/index.d.ts.map +1 -1
  7. package/build/dts/api-call/index.js +20 -12
  8. package/build/dts/api-call/index.js.map +1 -1
  9. package/build/dts/bin.d.ts.map +1 -1
  10. package/build/dts/bin.js.map +1 -1
  11. package/build/dts/docs/create-site-guide.d.ts +1 -1
  12. package/build/dts/docs/create-site-guide.d.ts.map +1 -1
  13. package/build/dts/docs/create-site-guide.js +5 -2
  14. package/build/dts/docs/create-site-guide.js.map +1 -1
  15. package/build/dts/docs/docs.d.ts +14 -0
  16. package/build/dts/docs/docs.d.ts.map +1 -1
  17. package/build/dts/docs/docs.js +133 -109
  18. package/build/dts/docs/docs.js.map +1 -1
  19. package/build/dts/docs/get-to-know.d.ts +10 -1
  20. package/build/dts/docs/get-to-know.d.ts.map +1 -1
  21. package/build/dts/docs/get-to-know.js +11 -6
  22. package/build/dts/docs/get-to-know.js.map +1 -1
  23. package/build/dts/docs/velo-readme.d.ts.map +1 -1
  24. package/build/dts/docs/velo-readme.js +1 -1
  25. package/build/dts/docs/velo-readme.js.map +1 -1
  26. package/build/dts/index.d.ts +3 -1
  27. package/build/dts/index.d.ts.map +1 -1
  28. package/build/dts/index.js +2 -0
  29. package/build/dts/index.js.map +1 -1
  30. package/build/dts/pull-site-creation-job-tool/constants.d.ts +3 -0
  31. package/build/dts/pull-site-creation-job-tool/constants.d.ts.map +1 -0
  32. package/build/dts/pull-site-creation-job-tool/constants.js +3 -0
  33. package/build/dts/pull-site-creation-job-tool/constants.js.map +1 -0
  34. package/build/dts/pull-site-creation-job-tool/index.d.ts +21 -0
  35. package/build/dts/pull-site-creation-job-tool/index.d.ts.map +1 -0
  36. package/build/dts/pull-site-creation-job-tool/index.js +144 -0
  37. package/build/dts/pull-site-creation-job-tool/index.js.map +1 -0
  38. package/build/dts/site-builder-tool/constants.d.ts +7 -0
  39. package/build/dts/site-builder-tool/constants.d.ts.map +1 -0
  40. package/build/dts/site-builder-tool/constants.js +7 -0
  41. package/build/dts/site-builder-tool/constants.js.map +1 -0
  42. package/build/dts/site-builder-tool/index.d.ts +4 -0
  43. package/build/dts/site-builder-tool/index.d.ts.map +1 -0
  44. package/build/dts/site-builder-tool/index.js +160 -0
  45. package/build/dts/site-builder-tool/index.js.map +1 -0
  46. package/build/dts/support/index.d.ts +1 -1
  47. package/build/dts/support/index.d.ts.map +1 -1
  48. package/build/dts/support/index.js +8 -4
  49. package/build/dts/support/index.js.map +1 -1
  50. package/build/dts/widget-manifest.d.ts +6 -0
  51. package/build/dts/widget-manifest.d.ts.map +1 -0
  52. package/build/dts/widget-manifest.js +19 -0
  53. package/build/dts/widget-manifest.js.map +1 -0
  54. package/build/dts/wix-mcp-server.d.ts +16 -3
  55. package/build/dts/wix-mcp-server.d.ts.map +1 -1
  56. package/build/dts/wix-mcp-server.js +121 -106
  57. package/build/dts/wix-mcp-server.js.map +1 -1
  58. package/build/esm/index.js +7487 -6254
  59. package/build/esm/index.js.map +4 -4
  60. package/package.json +28 -7
@@ -45,556 +45,41 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
45
45
  ));
46
46
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
47
47
 
48
- // ../../node_modules/@wix/bi-logger-api-infra-data/dist/cjs/v2/index.js
49
- var require_v2 = __commonJS({
50
- "../../node_modules/@wix/bi-logger-api-infra-data/dist/cjs/v2/index.js"(exports) {
51
- "use strict";
52
- Object.defineProperty(exports, "__esModule", { value: true });
53
- exports.wixDocsHoverOnContentTerms = exports.docsAiAssistantCostSrc112Evid1436 = exports.docsAiAssistantOpenCloseSrc112Evid1435 = exports.apiExampleGenerationCompletedByAiTool = exports.wixDocsClickOnLinks = exports.relativeLinksFailure = exports.wixDocsMenuEditorReviewSaveModalClicks = exports.wixDocsMenuEditorInstructionsClicks = exports.wixDocsMenuEditorContentFilterChange = exports.wixDocsMenuEditorVersionsSideBarClicks = exports.wixDocsMenuEditorVersionsSideBarLoaded = exports.wixDocsMenuEditorSideBarActionMoveToReview = exports.wixDocsMenuEditorEditModeStatusChange = exports.wixDocsModalClick = exports.wixDocsModalWasClose = exports.wixDocsModalWasOpen = exports.wixDocsMainPageScroll = exports.wixDocsMainPageClick = exports.wixDocsDocsWasPublished = exports.wixDocsMenuEditorSideBarPositionChanged = exports.wixDocsMenuEditorSideBarActionFinished = exports.wixDocsMenuEditorSideBarActionClick = exports.wixDocsClickInPage = exports.wixDocsSubmitFeedback = exports.wixDocsClickOnGiveFeedback = exports.wixDocsClickedOnNavbar = exports.wixDocsNavbarLoaded = exports.wixDocsClickOnSidebarItem = exports.wixDocsSidebarState = exports.wixDocsCloseSearchDialog = exports.wixDocsChooseASearchResult = exports.wixDocsHoverOverASearchResultItem = exports.wixDocsScrollingInSearchResultView = exports.wixDocsTypeASearchTerm = exports.wixDocsSearchOpened = exports.wixDocsFinishLoadingPage = exports.wixDocsStartLoadingPage = exports.docsSsrRequestSrc112Evid140 = exports.docsAiAssistantAnswerSrc112Evid14 = exports.wixDocsChangelogItemSeen = exports.wixDocsClickOnItem = exports.wixDocsChangelogFilterUsage = exports.wixDocsViewLiveSiteClick = exports.docsAiAssistantClickSrc112Evid13 = exports.testTokenTokenGeneratedServerless = exports.wixDocsPlaygroundLinksDropdownClick = exports.wixDocsFeedbackSubmittedServer = exports.wixDocsSendRequestServer = exports.wixDocsSendRequestClient = exports.wixDocs404PageLoaded = void 0;
54
- exports.apiKeysClickOnOauthPageLink = exports.apiKeysClickOnSendCodeAgain = exports.apiKeysClickOnSendCode = exports.apiKeysFinishDeleteKey = exports.apiKeysStartDeleteKey = exports.apiKeysFinishRotateKey = exports.apiKeysStartRotateKey = exports.apiKeysFinishDuplicateKey = exports.apiKeysStartDuplicateKey = exports.apiKeysFinishEditKey = exports.apiKeysStartEditKey = exports.apiKeysClickOnCopyAccountId = exports.apiKeysClickOnViewApiReferences = exports.apiKeysClickOnGenerateKeyEmptyState = exports.apiKeysClickOnGenerateKeyTopButton = exports.apiKeysClickOnActionFromThe3Dots = exports.apiKeysFinishGenerateKey = exports.apiKeysStartGenerateKey = exports.oauthAppOauthAppActionWasMadeServer = exports.oauthAppClickAtTheGenerateClientSecretDialog = exports.oauthAppOauthAppActionWasMade = exports.oauthAppClickAtTheDeleteOauthAppDialog = exports.oauthAppClickOnSaveFromCreateEditOauthAppPage = exports.oauthAppClickOnCloseFromCreateEditOauthAppPage = exports.oauthAppClickAtTheCreateEditOauthAppPage = exports.oauthAppClickNextCloseAtTheCreateOauthAppDialog = exports.oauthAppClickAtTheOauthAppMainPage = exports.oauthAppClickOnOauthAppAction = exports.headlessPlaygroundModalFinishedLoading = exports.headlessQuickStartModalShown = exports.astraCmdEnteredSrc11Evid4001 = exports.publicSdkCall = exports.wixDocsShareableLinkClick = exports.wixDocsTryItOutClick = exports.wixDocsCopyCode = exports.wixDocsContactOwnerLinkClicked = exports.wixDocsNavigationClick = exports.wixDocsSearchResults = exports.gitToResourceUpdateSrc112Evid30 = exports.wixDocsGiveFeedbackClick = exports.wixDocsToggleClick = exports.wixDocsSiteVisit = exports.wixDocsObjectShowMembersClick = exports.wixDocsViewSourceClick = exports.wixDocsRelatedSiteClick = exports.wixDocsRedirectByExternalIdSrc112Evid1601 = exports.docsRedirectFailure = exports.wixDocsOpenCloseExamples = exports.wixDocsVisitLocalViewer = exports.wixDocsHover = void 0;
55
- exports.spiExternalInvocationSrc96Evid199 = exports.devCenterWebhookSentTriggered = exports.webhooksInDcMainPageClicks = exports.webhooksInDcCreateEventPageClicks = exports.webhooksInDcCodeExampleWindowScroll = exports.webhooksInDcTriggeredTestModalClicks = exports.webhooksInDcCodeExampleWindowClicks = exports.wixMcpRequestSrc39Evid1607 = exports.testSrc184Evid9999 = exports.copyOfHeadlessResumeSetUpDialogClick = exports.headlessResumeSetUpDialogIsShown = exports.headlessDeployThisTemplatePageClick = exports.headlessDeployThisTemplatePageIsShown = exports.headlessAddWixToYourProjectDialogClick = exports.headlessOAuthInstalled = exports.headlessAddWixToYourProjectDialogIsShown = exports.apiBlockGaRule = exports.settingsAccess = exports.appsSettingsDeletionCandidate = exports.autoVeloSiteCallForAMethod = exports.graphqlCall = exports.webhooksDispatcherResponseChannelTopicSrc155Evid3 = exports.headlessMigrationTourModalShown = exports.zapierCustomZapCreatedOrDeleted = exports.zapierTestDataClick = exports.triggerValueWasSelected = void 0;
56
- function wixDocs404PageLoaded(params) {
57
- return { evid: 10, src: 112, endpoint: "", params };
58
- }
59
- exports.wixDocs404PageLoaded = wixDocs404PageLoaded;
60
- function wixDocsSendRequestClient(params) {
61
- return { evid: 11, src: 112, endpoint: "", params };
62
- }
63
- exports.wixDocsSendRequestClient = wixDocsSendRequestClient;
64
- function wixDocsSendRequestServer(params) {
65
- return { evid: 111, src: 112, endpoint: "", params };
66
- }
67
- exports.wixDocsSendRequestServer = wixDocsSendRequestServer;
68
- function wixDocsFeedbackSubmittedServer(params) {
69
- return { evid: 112, src: 112, endpoint: "", params };
70
- }
71
- exports.wixDocsFeedbackSubmittedServer = wixDocsFeedbackSubmittedServer;
72
- function wixDocsPlaygroundLinksDropdownClick(params) {
73
- return { evid: 12, src: 112, endpoint: "", params };
74
- }
75
- exports.wixDocsPlaygroundLinksDropdownClick = wixDocsPlaygroundLinksDropdownClick;
76
- function testTokenTokenGeneratedServerless(params) {
77
- return { evid: 1200, src: 112, endpoint: "", params };
78
- }
79
- exports.testTokenTokenGeneratedServerless = testTokenTokenGeneratedServerless;
80
- function docsAiAssistantClickSrc112Evid13(params) {
81
- return { evid: 13, src: 112, endpoint: "", params };
82
- }
83
- exports.docsAiAssistantClickSrc112Evid13 = docsAiAssistantClickSrc112Evid13;
84
- function wixDocsViewLiveSiteClick(params) {
85
- return { evid: 1300, src: 112, endpoint: "", params };
86
- }
87
- exports.wixDocsViewLiveSiteClick = wixDocsViewLiveSiteClick;
88
- function wixDocsChangelogFilterUsage(params) {
89
- return { evid: 1301, src: 112, endpoint: "", params };
90
- }
91
- exports.wixDocsChangelogFilterUsage = wixDocsChangelogFilterUsage;
92
- function wixDocsClickOnItem(params) {
93
- return { evid: 1302, src: 112, endpoint: "", params };
94
- }
95
- exports.wixDocsClickOnItem = wixDocsClickOnItem;
96
- function wixDocsChangelogItemSeen(params) {
97
- return { evid: 1303, src: 112, endpoint: "", params };
98
- }
99
- exports.wixDocsChangelogItemSeen = wixDocsChangelogItemSeen;
100
- function docsAiAssistantAnswerSrc112Evid14(params) {
101
- return { evid: 14, src: 112, endpoint: "", params };
102
- }
103
- exports.docsAiAssistantAnswerSrc112Evid14 = docsAiAssistantAnswerSrc112Evid14;
104
- function docsSsrRequestSrc112Evid140(params) {
105
- return { evid: 140, src: 112, endpoint: "", params };
106
- }
107
- exports.docsSsrRequestSrc112Evid140 = docsSsrRequestSrc112Evid140;
108
- function wixDocsStartLoadingPage(params) {
109
- return { evid: 1400, src: 112, endpoint: "", params };
110
- }
111
- exports.wixDocsStartLoadingPage = wixDocsStartLoadingPage;
112
- function wixDocsFinishLoadingPage(params) {
113
- return { evid: 1401, src: 112, endpoint: "", params };
114
- }
115
- exports.wixDocsFinishLoadingPage = wixDocsFinishLoadingPage;
116
- function wixDocsSearchOpened(params) {
117
- return { evid: 1403, src: 112, endpoint: "", params };
118
- }
119
- exports.wixDocsSearchOpened = wixDocsSearchOpened;
120
- function wixDocsTypeASearchTerm(params) {
121
- return { evid: 1404, src: 112, endpoint: "", params };
122
- }
123
- exports.wixDocsTypeASearchTerm = wixDocsTypeASearchTerm;
124
- function wixDocsScrollingInSearchResultView(params) {
125
- return { evid: 1405, src: 112, endpoint: "", params };
126
- }
127
- exports.wixDocsScrollingInSearchResultView = wixDocsScrollingInSearchResultView;
128
- function wixDocsHoverOverASearchResultItem(params) {
129
- return { evid: 1406, src: 112, endpoint: "", params };
130
- }
131
- exports.wixDocsHoverOverASearchResultItem = wixDocsHoverOverASearchResultItem;
132
- function wixDocsChooseASearchResult(params) {
133
- return { evid: 1407, src: 112, endpoint: "", params };
134
- }
135
- exports.wixDocsChooseASearchResult = wixDocsChooseASearchResult;
136
- function wixDocsCloseSearchDialog(params) {
137
- return { evid: 1408, src: 112, endpoint: "", params };
138
- }
139
- exports.wixDocsCloseSearchDialog = wixDocsCloseSearchDialog;
140
- function wixDocsSidebarState(params) {
141
- return { evid: 1409, src: 112, endpoint: "", params };
142
- }
143
- exports.wixDocsSidebarState = wixDocsSidebarState;
144
- function wixDocsClickOnSidebarItem(params) {
145
- return { evid: 1410, src: 112, endpoint: "", params };
146
- }
147
- exports.wixDocsClickOnSidebarItem = wixDocsClickOnSidebarItem;
148
- function wixDocsNavbarLoaded(params) {
149
- return { evid: 1411, src: 112, endpoint: "", params };
150
- }
151
- exports.wixDocsNavbarLoaded = wixDocsNavbarLoaded;
152
- function wixDocsClickedOnNavbar(params) {
153
- return { evid: 1412, src: 112, endpoint: "", params };
154
- }
155
- exports.wixDocsClickedOnNavbar = wixDocsClickedOnNavbar;
156
- function wixDocsClickOnGiveFeedback(params) {
157
- return { evid: 1413, src: 112, endpoint: "", params };
158
- }
159
- exports.wixDocsClickOnGiveFeedback = wixDocsClickOnGiveFeedback;
160
- function wixDocsSubmitFeedback(params) {
161
- return { evid: 1414, src: 112, endpoint: "", params };
162
- }
163
- exports.wixDocsSubmitFeedback = wixDocsSubmitFeedback;
164
- function wixDocsClickInPage(params) {
165
- return { evid: 1415, src: 112, endpoint: "", params };
166
- }
167
- exports.wixDocsClickInPage = wixDocsClickInPage;
168
- function wixDocsMenuEditorSideBarActionClick(params) {
169
- return { evid: 1416, src: 112, endpoint: "", params };
170
- }
171
- exports.wixDocsMenuEditorSideBarActionClick = wixDocsMenuEditorSideBarActionClick;
172
- function wixDocsMenuEditorSideBarActionFinished(params) {
173
- return { evid: 1417, src: 112, endpoint: "", params };
174
- }
175
- exports.wixDocsMenuEditorSideBarActionFinished = wixDocsMenuEditorSideBarActionFinished;
176
- function wixDocsMenuEditorSideBarPositionChanged(params) {
177
- return { evid: 1418, src: 112, endpoint: "", params };
178
- }
179
- exports.wixDocsMenuEditorSideBarPositionChanged = wixDocsMenuEditorSideBarPositionChanged;
180
- function wixDocsDocsWasPublished(params) {
181
- return { evid: 1419, src: 112, endpoint: "", params };
182
- }
183
- exports.wixDocsDocsWasPublished = wixDocsDocsWasPublished;
184
- function wixDocsMainPageClick(params) {
185
- return { evid: 1420, src: 112, endpoint: "", params };
186
- }
187
- exports.wixDocsMainPageClick = wixDocsMainPageClick;
188
- function wixDocsMainPageScroll(params) {
189
- return { evid: 1421, src: 112, endpoint: "", params };
190
- }
191
- exports.wixDocsMainPageScroll = wixDocsMainPageScroll;
192
- function wixDocsModalWasOpen(params) {
193
- return { evid: 1422, src: 112, endpoint: "", params };
194
- }
195
- exports.wixDocsModalWasOpen = wixDocsModalWasOpen;
196
- function wixDocsModalWasClose(params) {
197
- return { evid: 1423, src: 112, endpoint: "", params };
198
- }
199
- exports.wixDocsModalWasClose = wixDocsModalWasClose;
200
- function wixDocsModalClick(params) {
201
- return { evid: 1424, src: 112, endpoint: "", params };
202
- }
203
- exports.wixDocsModalClick = wixDocsModalClick;
204
- function wixDocsMenuEditorEditModeStatusChange(params) {
205
- return { evid: 1425, src: 112, endpoint: "", params };
206
- }
207
- exports.wixDocsMenuEditorEditModeStatusChange = wixDocsMenuEditorEditModeStatusChange;
208
- function wixDocsMenuEditorSideBarActionMoveToReview(params) {
209
- return { evid: 1426, src: 112, endpoint: "", params };
210
- }
211
- exports.wixDocsMenuEditorSideBarActionMoveToReview = wixDocsMenuEditorSideBarActionMoveToReview;
212
- function wixDocsMenuEditorVersionsSideBarLoaded(params) {
213
- return { evid: 1427, src: 112, endpoint: "", params };
214
- }
215
- exports.wixDocsMenuEditorVersionsSideBarLoaded = wixDocsMenuEditorVersionsSideBarLoaded;
216
- function wixDocsMenuEditorVersionsSideBarClicks(params) {
217
- return { evid: 1428, src: 112, endpoint: "", params };
218
- }
219
- exports.wixDocsMenuEditorVersionsSideBarClicks = wixDocsMenuEditorVersionsSideBarClicks;
220
- function wixDocsMenuEditorContentFilterChange(params) {
221
- return { evid: 1429, src: 112, endpoint: "", params };
222
- }
223
- exports.wixDocsMenuEditorContentFilterChange = wixDocsMenuEditorContentFilterChange;
224
- function wixDocsMenuEditorInstructionsClicks(params) {
225
- return { evid: 1430, src: 112, endpoint: "", params };
226
- }
227
- exports.wixDocsMenuEditorInstructionsClicks = wixDocsMenuEditorInstructionsClicks;
228
- function wixDocsMenuEditorReviewSaveModalClicks(params) {
229
- return { evid: 1431, src: 112, endpoint: "", params };
230
- }
231
- exports.wixDocsMenuEditorReviewSaveModalClicks = wixDocsMenuEditorReviewSaveModalClicks;
232
- function relativeLinksFailure(params) {
233
- return { evid: 1432, src: 112, endpoint: "", params };
234
- }
235
- exports.relativeLinksFailure = relativeLinksFailure;
236
- function wixDocsClickOnLinks(params) {
237
- return { evid: 1433, src: 112, endpoint: "", params };
238
- }
239
- exports.wixDocsClickOnLinks = wixDocsClickOnLinks;
240
- function apiExampleGenerationCompletedByAiTool(params) {
241
- return { evid: 1434, src: 112, endpoint: "", params };
242
- }
243
- exports.apiExampleGenerationCompletedByAiTool = apiExampleGenerationCompletedByAiTool;
244
- function docsAiAssistantOpenCloseSrc112Evid1435(params) {
245
- return { evid: 1435, src: 112, endpoint: "", params };
246
- }
247
- exports.docsAiAssistantOpenCloseSrc112Evid1435 = docsAiAssistantOpenCloseSrc112Evid1435;
248
- function docsAiAssistantCostSrc112Evid1436(params) {
249
- return { evid: 1436, src: 112, endpoint: "", params };
250
- }
251
- exports.docsAiAssistantCostSrc112Evid1436 = docsAiAssistantCostSrc112Evid1436;
252
- function wixDocsHoverOnContentTerms(params) {
253
- return { evid: 1437, src: 112, endpoint: "", params };
254
- }
255
- exports.wixDocsHoverOnContentTerms = wixDocsHoverOnContentTerms;
256
- function wixDocsHover(params) {
257
- return { evid: 1438, src: 112, endpoint: "", params };
258
- }
259
- exports.wixDocsHover = wixDocsHover;
260
- function wixDocsVisitLocalViewer(params) {
261
- return { evid: 15, src: 112, endpoint: "", params };
262
- }
263
- exports.wixDocsVisitLocalViewer = wixDocsVisitLocalViewer;
264
- function wixDocsOpenCloseExamples(params) {
265
- return { evid: 16, src: 112, endpoint: "", params };
266
- }
267
- exports.wixDocsOpenCloseExamples = wixDocsOpenCloseExamples;
268
- function docsRedirectFailure(params) {
269
- return { evid: 1600, src: 112, endpoint: "", params };
270
- }
271
- exports.docsRedirectFailure = docsRedirectFailure;
272
- function wixDocsRedirectByExternalIdSrc112Evid1601(params) {
273
- return { evid: 1601, src: 112, endpoint: "", params };
274
- }
275
- exports.wixDocsRedirectByExternalIdSrc112Evid1601 = wixDocsRedirectByExternalIdSrc112Evid1601;
276
- function wixDocsRelatedSiteClick(params) {
277
- return { evid: 17, src: 112, endpoint: "", params };
278
- }
279
- exports.wixDocsRelatedSiteClick = wixDocsRelatedSiteClick;
280
- function wixDocsViewSourceClick(params) {
281
- return { evid: 18, src: 112, endpoint: "", params };
282
- }
283
- exports.wixDocsViewSourceClick = wixDocsViewSourceClick;
284
- function wixDocsObjectShowMembersClick(params) {
285
- return { evid: 19, src: 112, endpoint: "", params };
286
- }
287
- exports.wixDocsObjectShowMembersClick = wixDocsObjectShowMembersClick;
288
- function wixDocsSiteVisit(params) {
289
- return { evid: 2, src: 112, endpoint: "", params };
290
- }
291
- exports.wixDocsSiteVisit = wixDocsSiteVisit;
292
- function wixDocsToggleClick(params) {
293
- return { evid: 22, src: 112, endpoint: "", params };
294
- }
295
- exports.wixDocsToggleClick = wixDocsToggleClick;
296
- function wixDocsGiveFeedbackClick(params) {
297
- return { evid: 3, src: 112, endpoint: "", params };
298
- }
299
- exports.wixDocsGiveFeedbackClick = wixDocsGiveFeedbackClick;
300
- function gitToResourceUpdateSrc112Evid30(params) {
301
- return { evid: 30, src: 112, endpoint: "", params };
302
- }
303
- exports.gitToResourceUpdateSrc112Evid30 = gitToResourceUpdateSrc112Evid30;
304
- function wixDocsSearchResults(params) {
305
- return { evid: 4, src: 112, endpoint: "", params };
306
- }
307
- exports.wixDocsSearchResults = wixDocsSearchResults;
308
- function wixDocsNavigationClick(params) {
309
- return { evid: 5, src: 112, endpoint: "", params };
310
- }
311
- exports.wixDocsNavigationClick = wixDocsNavigationClick;
312
- function wixDocsContactOwnerLinkClicked(params) {
313
- return { evid: 6, src: 112, endpoint: "", params };
314
- }
315
- exports.wixDocsContactOwnerLinkClicked = wixDocsContactOwnerLinkClicked;
316
- function wixDocsCopyCode(params) {
317
- return { evid: 7, src: 112, endpoint: "", params };
318
- }
319
- exports.wixDocsCopyCode = wixDocsCopyCode;
320
- function wixDocsTryItOutClick(params) {
321
- return { evid: 8, src: 112, endpoint: "", params };
322
- }
323
- exports.wixDocsTryItOutClick = wixDocsTryItOutClick;
324
- function wixDocsShareableLinkClick(params) {
325
- return { evid: 9, src: 112, endpoint: "", params };
326
- }
327
- exports.wixDocsShareableLinkClick = wixDocsShareableLinkClick;
328
- function publicSdkCall(params) {
329
- return { evid: 1606, src: 11, endpoint: "", params };
330
- }
331
- exports.publicSdkCall = publicSdkCall;
332
- function astraCmdEnteredSrc11Evid4001(params) {
333
- return { evid: 4001, src: 11, endpoint: "", params };
334
- }
335
- exports.astraCmdEnteredSrc11Evid4001 = astraCmdEnteredSrc11Evid4001;
336
- function headlessQuickStartModalShown(params) {
337
- return { evid: 11, src: 151, endpoint: "", params };
338
- }
339
- exports.headlessQuickStartModalShown = headlessQuickStartModalShown;
340
- function headlessPlaygroundModalFinishedLoading(params) {
341
- return { evid: 12, src: 151, endpoint: "", params };
342
- }
343
- exports.headlessPlaygroundModalFinishedLoading = headlessPlaygroundModalFinishedLoading;
344
- function oauthAppClickOnOauthAppAction(params) {
345
- return { evid: 100, src: 154, endpoint: "", params };
346
- }
347
- exports.oauthAppClickOnOauthAppAction = oauthAppClickOnOauthAppAction;
348
- function oauthAppClickAtTheOauthAppMainPage(params) {
349
- return { evid: 101, src: 154, endpoint: "", params };
350
- }
351
- exports.oauthAppClickAtTheOauthAppMainPage = oauthAppClickAtTheOauthAppMainPage;
352
- function oauthAppClickNextCloseAtTheCreateOauthAppDialog(params) {
353
- return { evid: 102, src: 154, endpoint: "", params };
354
- }
355
- exports.oauthAppClickNextCloseAtTheCreateOauthAppDialog = oauthAppClickNextCloseAtTheCreateOauthAppDialog;
356
- function oauthAppClickAtTheCreateEditOauthAppPage(params) {
357
- return { evid: 103, src: 154, endpoint: "", params };
358
- }
359
- exports.oauthAppClickAtTheCreateEditOauthAppPage = oauthAppClickAtTheCreateEditOauthAppPage;
360
- function oauthAppClickOnCloseFromCreateEditOauthAppPage(params) {
361
- return { evid: 104, src: 154, endpoint: "", params };
362
- }
363
- exports.oauthAppClickOnCloseFromCreateEditOauthAppPage = oauthAppClickOnCloseFromCreateEditOauthAppPage;
364
- function oauthAppClickOnSaveFromCreateEditOauthAppPage(params) {
365
- return { evid: 105, src: 154, endpoint: "", params };
366
- }
367
- exports.oauthAppClickOnSaveFromCreateEditOauthAppPage = oauthAppClickOnSaveFromCreateEditOauthAppPage;
368
- function oauthAppClickAtTheDeleteOauthAppDialog(params) {
369
- return { evid: 106, src: 154, endpoint: "", params };
370
- }
371
- exports.oauthAppClickAtTheDeleteOauthAppDialog = oauthAppClickAtTheDeleteOauthAppDialog;
372
- function oauthAppOauthAppActionWasMade(params) {
373
- return { evid: 107, src: 154, endpoint: "", params };
374
- }
375
- exports.oauthAppOauthAppActionWasMade = oauthAppOauthAppActionWasMade;
376
- function oauthAppClickAtTheGenerateClientSecretDialog(params) {
377
- return { evid: 108, src: 154, endpoint: "", params };
378
- }
379
- exports.oauthAppClickAtTheGenerateClientSecretDialog = oauthAppClickAtTheGenerateClientSecretDialog;
380
- function oauthAppOauthAppActionWasMadeServer(params) {
381
- return { evid: 151, src: 154, endpoint: "", params };
382
- }
383
- exports.oauthAppOauthAppActionWasMadeServer = oauthAppOauthAppActionWasMadeServer;
384
- function apiKeysStartGenerateKey(params) {
385
- return { evid: 202, src: 154, endpoint: "", params };
386
- }
387
- exports.apiKeysStartGenerateKey = apiKeysStartGenerateKey;
388
- function apiKeysFinishGenerateKey(params) {
389
- return { evid: 203, src: 154, endpoint: "", params };
390
- }
391
- exports.apiKeysFinishGenerateKey = apiKeysFinishGenerateKey;
392
- function apiKeysClickOnActionFromThe3Dots(params) {
393
- return { evid: 204, src: 154, endpoint: "", params };
394
- }
395
- exports.apiKeysClickOnActionFromThe3Dots = apiKeysClickOnActionFromThe3Dots;
396
- function apiKeysClickOnGenerateKeyTopButton(params) {
397
- return { evid: 205, src: 154, endpoint: "", params };
398
- }
399
- exports.apiKeysClickOnGenerateKeyTopButton = apiKeysClickOnGenerateKeyTopButton;
400
- function apiKeysClickOnGenerateKeyEmptyState(params) {
401
- return { evid: 206, src: 154, endpoint: "", params };
402
- }
403
- exports.apiKeysClickOnGenerateKeyEmptyState = apiKeysClickOnGenerateKeyEmptyState;
404
- function apiKeysClickOnViewApiReferences(params) {
405
- return { evid: 207, src: 154, endpoint: "", params };
406
- }
407
- exports.apiKeysClickOnViewApiReferences = apiKeysClickOnViewApiReferences;
408
- function apiKeysClickOnCopyAccountId(params) {
409
- return { evid: 208, src: 154, endpoint: "", params };
410
- }
411
- exports.apiKeysClickOnCopyAccountId = apiKeysClickOnCopyAccountId;
412
- function apiKeysStartEditKey(params) {
413
- return { evid: 209, src: 154, endpoint: "", params };
414
- }
415
- exports.apiKeysStartEditKey = apiKeysStartEditKey;
416
- function apiKeysFinishEditKey(params) {
417
- return { evid: 210, src: 154, endpoint: "", params };
418
- }
419
- exports.apiKeysFinishEditKey = apiKeysFinishEditKey;
420
- function apiKeysStartDuplicateKey(params) {
421
- return { evid: 211, src: 154, endpoint: "", params };
422
- }
423
- exports.apiKeysStartDuplicateKey = apiKeysStartDuplicateKey;
424
- function apiKeysFinishDuplicateKey(params) {
425
- return { evid: 212, src: 154, endpoint: "", params };
426
- }
427
- exports.apiKeysFinishDuplicateKey = apiKeysFinishDuplicateKey;
428
- function apiKeysStartRotateKey(params) {
429
- return { evid: 213, src: 154, endpoint: "", params };
430
- }
431
- exports.apiKeysStartRotateKey = apiKeysStartRotateKey;
432
- function apiKeysFinishRotateKey(params) {
433
- return { evid: 214, src: 154, endpoint: "", params };
434
- }
435
- exports.apiKeysFinishRotateKey = apiKeysFinishRotateKey;
436
- function apiKeysStartDeleteKey(params) {
437
- return { evid: 215, src: 154, endpoint: "", params };
438
- }
439
- exports.apiKeysStartDeleteKey = apiKeysStartDeleteKey;
440
- function apiKeysFinishDeleteKey(params) {
441
- return { evid: 216, src: 154, endpoint: "", params };
442
- }
443
- exports.apiKeysFinishDeleteKey = apiKeysFinishDeleteKey;
444
- function apiKeysClickOnSendCode(params) {
445
- return { evid: 217, src: 154, endpoint: "", params };
446
- }
447
- exports.apiKeysClickOnSendCode = apiKeysClickOnSendCode;
448
- function apiKeysClickOnSendCodeAgain(params) {
449
- return { evid: 218, src: 154, endpoint: "", params };
450
- }
451
- exports.apiKeysClickOnSendCodeAgain = apiKeysClickOnSendCodeAgain;
452
- function apiKeysClickOnOauthPageLink(params) {
453
- return { evid: 227, src: 154, endpoint: "", params };
454
- }
455
- exports.apiKeysClickOnOauthPageLink = apiKeysClickOnOauthPageLink;
456
- function triggerValueWasSelected(params) {
457
- return { evid: 400, src: 154, endpoint: "", params };
458
- }
459
- exports.triggerValueWasSelected = triggerValueWasSelected;
460
- function zapierTestDataClick(params) {
461
- return { evid: 401, src: 154, endpoint: "", params };
462
- }
463
- exports.zapierTestDataClick = zapierTestDataClick;
464
- function zapierCustomZapCreatedOrDeleted(params) {
465
- return { evid: 402, src: 154, endpoint: "", params };
466
- }
467
- exports.zapierCustomZapCreatedOrDeleted = zapierCustomZapCreatedOrDeleted;
468
- function headlessMigrationTourModalShown(params) {
469
- return { evid: 8, src: 154, endpoint: "", params };
470
- }
471
- exports.headlessMigrationTourModalShown = headlessMigrationTourModalShown;
472
- function webhooksDispatcherResponseChannelTopicSrc155Evid3(params) {
473
- return { evid: 3, src: 155, endpoint: "", params };
474
- }
475
- exports.webhooksDispatcherResponseChannelTopicSrc155Evid3 = webhooksDispatcherResponseChannelTopicSrc155Evid3;
476
- function graphqlCall(params) {
477
- return { evid: 400, src: 155, endpoint: "", params };
478
- }
479
- exports.graphqlCall = graphqlCall;
480
- function autoVeloSiteCallForAMethod(params) {
481
- return { evid: 401, src: 155, endpoint: "", params };
482
- }
483
- exports.autoVeloSiteCallForAMethod = autoVeloSiteCallForAMethod;
484
- function appsSettingsDeletionCandidate(params) {
485
- return { evid: 700, src: 155, endpoint: "", params };
486
- }
487
- exports.appsSettingsDeletionCandidate = appsSettingsDeletionCandidate;
488
- function settingsAccess(params) {
489
- return { evid: 800, src: 155, endpoint: "", params };
490
- }
491
- exports.settingsAccess = settingsAccess;
492
- function apiBlockGaRule(params) {
493
- return { evid: 801, src: 155, endpoint: "", params };
494
- }
495
- exports.apiBlockGaRule = apiBlockGaRule;
496
- function headlessAddWixToYourProjectDialogIsShown(params) {
497
- return { evid: 13, src: 160, endpoint: "", params };
498
- }
499
- exports.headlessAddWixToYourProjectDialogIsShown = headlessAddWixToYourProjectDialogIsShown;
500
- function headlessOAuthInstalled(params) {
501
- return { evid: 15, src: 160, endpoint: "", params };
502
- }
503
- exports.headlessOAuthInstalled = headlessOAuthInstalled;
504
- function headlessAddWixToYourProjectDialogClick(params) {
505
- return { evid: 16, src: 160, endpoint: "", params };
506
- }
507
- exports.headlessAddWixToYourProjectDialogClick = headlessAddWixToYourProjectDialogClick;
508
- function headlessDeployThisTemplatePageIsShown(params) {
509
- return { evid: 17, src: 160, endpoint: "", params };
510
- }
511
- exports.headlessDeployThisTemplatePageIsShown = headlessDeployThisTemplatePageIsShown;
512
- function headlessDeployThisTemplatePageClick(params) {
513
- return { evid: 18, src: 160, endpoint: "", params };
514
- }
515
- exports.headlessDeployThisTemplatePageClick = headlessDeployThisTemplatePageClick;
516
- function headlessResumeSetUpDialogIsShown(params) {
517
- return { evid: 19, src: 160, endpoint: "", params };
518
- }
519
- exports.headlessResumeSetUpDialogIsShown = headlessResumeSetUpDialogIsShown;
520
- function copyOfHeadlessResumeSetUpDialogClick(params) {
521
- return { evid: 20, src: 160, endpoint: "", params };
522
- }
523
- exports.copyOfHeadlessResumeSetUpDialogClick = copyOfHeadlessResumeSetUpDialogClick;
524
- function testSrc184Evid9999(params) {
525
- return { evid: 9999, src: 184, endpoint: "", params };
526
- }
527
- exports.testSrc184Evid9999 = testSrc184Evid9999;
528
- function wixMcpRequestSrc39Evid16072(params) {
529
- return { evid: 1607, src: 39, endpoint: "", params };
530
- }
531
- exports.wixMcpRequestSrc39Evid1607 = wixMcpRequestSrc39Evid16072;
532
- function webhooksInDcCodeExampleWindowClicks(params) {
533
- return { evid: 11905, src: 96, endpoint: "", params };
534
- }
535
- exports.webhooksInDcCodeExampleWindowClicks = webhooksInDcCodeExampleWindowClicks;
536
- function webhooksInDcTriggeredTestModalClicks(params) {
537
- return { evid: 11906, src: 96, endpoint: "", params };
538
- }
539
- exports.webhooksInDcTriggeredTestModalClicks = webhooksInDcTriggeredTestModalClicks;
540
- function webhooksInDcCodeExampleWindowScroll(params) {
541
- return { evid: 11907, src: 96, endpoint: "", params };
542
- }
543
- exports.webhooksInDcCodeExampleWindowScroll = webhooksInDcCodeExampleWindowScroll;
544
- function webhooksInDcCreateEventPageClicks(params) {
545
- return { evid: 11908, src: 96, endpoint: "", params };
546
- }
547
- exports.webhooksInDcCreateEventPageClicks = webhooksInDcCreateEventPageClicks;
548
- function webhooksInDcMainPageClicks(params) {
549
- return { evid: 12301, src: 96, endpoint: "", params };
550
- }
551
- exports.webhooksInDcMainPageClicks = webhooksInDcMainPageClicks;
552
- function devCenterWebhookSentTriggered(params) {
553
- return { evid: 1300, src: 96, endpoint: "", params };
554
- }
555
- exports.devCenterWebhookSentTriggered = devCenterWebhookSentTriggered;
556
- function spiExternalInvocationSrc96Evid199(params) {
557
- return { evid: 199, src: 96, endpoint: "", params };
558
- }
559
- exports.spiExternalInvocationSrc96Evid199 = spiExternalInvocationSrc96Evid199;
560
- }
561
- });
562
-
563
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common-shared/dist/cjs/types/enum-types.js
48
+ // ../../node_modules/@wix/panorama-common-shared/dist/cjs/types/enum-types.js
564
49
  var require_enum_types = __commonJS({
565
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common-shared/dist/cjs/types/enum-types.js"(exports) {
50
+ "../../node_modules/@wix/panorama-common-shared/dist/cjs/types/enum-types.js"(exports) {
566
51
  "use strict";
567
52
  exports.__esModule = true;
568
53
  exports.TransactionAction = exports.Platform = exports.LogLevel = exports.InternalTransactions = exports.ErrorSeverity = exports.AlertType = exports.AlertStatus = void 0;
569
- var AlertType = exports.AlertType = /* @__PURE__ */ function(AlertType2) {
54
+ var AlertType = exports.AlertType = /* @__PURE__ */ (function(AlertType2) {
570
55
  AlertType2["SuccessRate"] = "SuccessRate";
571
56
  AlertType2["SuccessRateQuality"] = "SuccessRateQuality";
572
57
  AlertType2["Duration"] = "Duration";
573
58
  AlertType2["ErrorRate"] = "ErrorRate";
574
59
  return AlertType2;
575
- }({});
576
- var AlertStatus = exports.AlertStatus = /* @__PURE__ */ function(AlertStatus2) {
60
+ })({});
61
+ var AlertStatus = exports.AlertStatus = /* @__PURE__ */ (function(AlertStatus2) {
577
62
  AlertStatus2["Alerting"] = "alerting";
578
63
  AlertStatus2["Ok"] = "ok";
579
64
  return AlertStatus2;
580
- }({});
581
- var LogLevel = exports.LogLevel = /* @__PURE__ */ function(LogLevel2) {
65
+ })({});
66
+ var LogLevel = exports.LogLevel = /* @__PURE__ */ (function(LogLevel2) {
582
67
  LogLevel2["Info"] = "INFO";
583
68
  LogLevel2["Warn"] = "WARN";
584
69
  LogLevel2["Error"] = "ERROR";
585
70
  LogLevel2["Debug"] = "DEBUG";
586
71
  return LogLevel2;
587
- }({});
588
- var TransactionAction = exports.TransactionAction = /* @__PURE__ */ function(TransactionAction2) {
72
+ })({});
73
+ var TransactionAction = exports.TransactionAction = /* @__PURE__ */ (function(TransactionAction2) {
589
74
  TransactionAction2["Start"] = "START";
590
75
  TransactionAction2["Finish"] = "FINISH";
591
76
  return TransactionAction2;
592
- }({});
77
+ })({});
593
78
  var InternalTransactions = exports.InternalTransactions = {
594
79
  ComponentLoad: "PANORAMA_COMPONENT_LOAD",
595
80
  ComponentPhase: "PANORAMA_COMPONENT_PHASE"
596
81
  };
597
- var Platform = exports.Platform = /* @__PURE__ */ function(Platform2) {
82
+ var Platform = exports.Platform = /* @__PURE__ */ (function(Platform2) {
598
83
  Platform2["Standalone"] = "standalone";
599
84
  Platform2["BusinessManager"] = "business-manager";
600
85
  Platform2["Viewer"] = "viewer";
@@ -602,9 +87,10 @@ var require_enum_types = __commonJS({
602
87
  Platform2["EditorSettings"] = "editor:settings";
603
88
  Platform2["Mobile"] = "mobile";
604
89
  Platform2["Standards"] = "standards";
90
+ Platform2["DevPortal"] = "dev-portal";
605
91
  return Platform2;
606
- }({});
607
- var ErrorSeverity = exports.ErrorSeverity = /* @__PURE__ */ function(ErrorSeverity2) {
92
+ })({});
93
+ var ErrorSeverity = exports.ErrorSeverity = /* @__PURE__ */ (function(ErrorSeverity2) {
608
94
  ErrorSeverity2["Fatal"] = "fatal";
609
95
  ErrorSeverity2["Error"] = "error";
610
96
  ErrorSeverity2["Warning"] = "warning";
@@ -613,29 +99,29 @@ var require_enum_types = __commonJS({
613
99
  ErrorSeverity2["Debug"] = "debug";
614
100
  ErrorSeverity2["Critical"] = "critical";
615
101
  return ErrorSeverity2;
616
- }({});
102
+ })({});
617
103
  }
618
104
  });
619
105
 
620
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common-shared/dist/cjs/types/data-types.js
106
+ // ../../node_modules/@wix/panorama-common-shared/dist/cjs/types/data-types.js
621
107
  var require_data_types = __commonJS({
622
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common-shared/dist/cjs/types/data-types.js"(exports) {
108
+ "../../node_modules/@wix/panorama-common-shared/dist/cjs/types/data-types.js"(exports) {
623
109
  "use strict";
624
110
  exports.__esModule = true;
625
111
  }
626
112
  });
627
113
 
628
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common-shared/dist/cjs/types/interface-types.js
114
+ // ../../node_modules/@wix/panorama-common-shared/dist/cjs/types/interface-types.js
629
115
  var require_interface_types = __commonJS({
630
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common-shared/dist/cjs/types/interface-types.js"(exports) {
116
+ "../../node_modules/@wix/panorama-common-shared/dist/cjs/types/interface-types.js"(exports) {
631
117
  "use strict";
632
118
  exports.__esModule = true;
633
119
  }
634
120
  });
635
121
 
636
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common-shared/dist/cjs/types/index.js
122
+ // ../../node_modules/@wix/panorama-common-shared/dist/cjs/types/index.js
637
123
  var require_types = __commonJS({
638
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common-shared/dist/cjs/types/index.js"(exports) {
124
+ "../../node_modules/@wix/panorama-common-shared/dist/cjs/types/index.js"(exports) {
639
125
  "use strict";
640
126
  exports.__esModule = true;
641
127
  var _enumTypes = require_enum_types();
@@ -733,9 +219,9 @@ var require_defineProperty = __commonJS({
733
219
  }
734
220
  });
735
221
 
736
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common/dist/cjs/duration-tracker/duration-tracker.js
222
+ // ../../node_modules/@wix/panorama-client/node_modules/@wix/panorama-common/dist/cjs/duration-tracker/duration-tracker.js
737
223
  var require_duration_tracker = __commonJS({
738
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common/dist/cjs/duration-tracker/duration-tracker.js"(exports) {
224
+ "../../node_modules/@wix/panorama-client/node_modules/@wix/panorama-common/dist/cjs/duration-tracker/duration-tracker.js"(exports) {
739
225
  "use strict";
740
226
  var _interopRequireDefault = require_interopRequireDefault();
741
227
  exports.__esModule = true;
@@ -780,9 +266,9 @@ var require_duration_tracker = __commonJS({
780
266
  }
781
267
  });
782
268
 
783
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common/dist/cjs/duration-tracker/index.js
269
+ // ../../node_modules/@wix/panorama-client/node_modules/@wix/panorama-common/dist/cjs/duration-tracker/index.js
784
270
  var require_duration_tracker2 = __commonJS({
785
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common/dist/cjs/duration-tracker/index.js"(exports) {
271
+ "../../node_modules/@wix/panorama-client/node_modules/@wix/panorama-common/dist/cjs/duration-tracker/index.js"(exports) {
786
272
  "use strict";
787
273
  exports.__esModule = true;
788
274
  exports.createDurationTracker = void 0;
@@ -791,9 +277,9 @@ var require_duration_tracker2 = __commonJS({
791
277
  }
792
278
  });
793
279
 
794
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common/dist/cjs/global-config/global-config.js
280
+ // ../../node_modules/@wix/panorama-client/node_modules/@wix/panorama-common/dist/cjs/global-config/global-config.js
795
281
  var require_global_config = __commonJS({
796
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common/dist/cjs/global-config/global-config.js"(exports) {
282
+ "../../node_modules/@wix/panorama-client/node_modules/@wix/panorama-common/dist/cjs/global-config/global-config.js"(exports) {
797
283
  "use strict";
798
284
  var _interopRequireDefault = require_interopRequireDefault();
799
285
  exports.__esModule = true;
@@ -851,9 +337,9 @@ var require_global_config = __commonJS({
851
337
  }
852
338
  });
853
339
 
854
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common/dist/cjs/global-config/index.js
340
+ // ../../node_modules/@wix/panorama-client/node_modules/@wix/panorama-common/dist/cjs/global-config/index.js
855
341
  var require_global_config2 = __commonJS({
856
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common/dist/cjs/global-config/index.js"(exports) {
342
+ "../../node_modules/@wix/panorama-client/node_modules/@wix/panorama-common/dist/cjs/global-config/index.js"(exports) {
857
343
  "use strict";
858
344
  exports.__esModule = true;
859
345
  exports.createGlobalConfig = void 0;
@@ -862,9 +348,9 @@ var require_global_config2 = __commonJS({
862
348
  }
863
349
  });
864
350
 
865
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common/dist/cjs/utils/class-utils.js
351
+ // ../../node_modules/@wix/panorama-client/node_modules/@wix/panorama-common/dist/cjs/utils/class-utils.js
866
352
  var require_class_utils = __commonJS({
867
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common/dist/cjs/utils/class-utils.js"(exports) {
353
+ "../../node_modules/@wix/panorama-client/node_modules/@wix/panorama-common/dist/cjs/utils/class-utils.js"(exports) {
868
354
  "use strict";
869
355
  exports.__esModule = true;
870
356
  exports.bindPrototypeMethodsToSelf = void 0;
@@ -882,9 +368,9 @@ var require_class_utils = __commonJS({
882
368
  }
883
369
  });
884
370
 
885
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common/dist/cjs/utils/index.js
371
+ // ../../node_modules/@wix/panorama-client/node_modules/@wix/panorama-common/dist/cjs/utils/index.js
886
372
  var require_utils = __commonJS({
887
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common/dist/cjs/utils/index.js"(exports) {
373
+ "../../node_modules/@wix/panorama-client/node_modules/@wix/panorama-common/dist/cjs/utils/index.js"(exports) {
888
374
  "use strict";
889
375
  exports.__esModule = true;
890
376
  var _classUtils = require_class_utils();
@@ -896,9 +382,9 @@ var require_utils = __commonJS({
896
382
  }
897
383
  });
898
384
 
899
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/utils/general-utils.js
385
+ // ../../node_modules/@wix/panorama-client/dist/cjs/utils/general-utils.js
900
386
  var require_general_utils = __commonJS({
901
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/utils/general-utils.js"(exports) {
387
+ "../../node_modules/@wix/panorama-client/dist/cjs/utils/general-utils.js"(exports) {
902
388
  "use strict";
903
389
  exports.__esModule = true;
904
390
  exports.union = exports.last = exports.defaults = exports.deepDefaults = void 0;
@@ -936,9 +422,9 @@ var require_general_utils = __commonJS({
936
422
  }
937
423
  });
938
424
 
939
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/panorama-error-monitor.js
425
+ // ../../node_modules/@wix/panorama-client/dist/cjs/panorama-error-monitor.js
940
426
  var require_panorama_error_monitor = __commonJS({
941
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/panorama-error-monitor.js"(exports) {
427
+ "../../node_modules/@wix/panorama-client/dist/cjs/panorama-error-monitor.js"(exports) {
942
428
  "use strict";
943
429
  exports.__esModule = true;
944
430
  exports.PanoramaErrorMonitorImpl = void 0;
@@ -960,9 +446,9 @@ var require_panorama_error_monitor = __commonJS({
960
446
  }
961
447
  });
962
448
 
963
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/panorama-logger.js
449
+ // ../../node_modules/@wix/panorama-client/dist/cjs/panorama-logger.js
964
450
  var require_panorama_logger = __commonJS({
965
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/panorama-logger.js"(exports) {
451
+ "../../node_modules/@wix/panorama-client/dist/cjs/panorama-logger.js"(exports) {
966
452
  "use strict";
967
453
  exports.__esModule = true;
968
454
  exports.PanoramaLoggerImpl = void 0;
@@ -990,9 +476,9 @@ var require_panorama_logger = __commonJS({
990
476
  }
991
477
  });
992
478
 
993
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common-shared/dist/cjs/utils/transaction-utils.js
479
+ // ../../node_modules/@wix/panorama-common-shared/dist/cjs/utils/transaction-utils.js
994
480
  var require_transaction_utils = __commonJS({
995
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common-shared/dist/cjs/utils/transaction-utils.js"(exports) {
481
+ "../../node_modules/@wix/panorama-common-shared/dist/cjs/utils/transaction-utils.js"(exports) {
996
482
  "use strict";
997
483
  exports.__esModule = true;
998
484
  exports.isCustomTransactionName = void 0;
@@ -1002,9 +488,9 @@ var require_transaction_utils = __commonJS({
1002
488
  }
1003
489
  });
1004
490
 
1005
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common-shared/dist/cjs/utils/platform-utils.js
491
+ // ../../node_modules/@wix/panorama-common-shared/dist/cjs/utils/platform-utils.js
1006
492
  var require_platform_utils = __commonJS({
1007
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common-shared/dist/cjs/utils/platform-utils.js"(exports) {
493
+ "../../node_modules/@wix/panorama-common-shared/dist/cjs/utils/platform-utils.js"(exports) {
1008
494
  "use strict";
1009
495
  exports.__esModule = true;
1010
496
  exports.isSsrEnabledInPlatform = void 0;
@@ -1014,9 +500,9 @@ var require_platform_utils = __commonJS({
1014
500
  }
1015
501
  });
1016
502
 
1017
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common-shared/dist/cjs/utils/guid.js
503
+ // ../../node_modules/@wix/panorama-common-shared/dist/cjs/utils/guid.js
1018
504
  var require_guid = __commonJS({
1019
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common-shared/dist/cjs/utils/guid.js"(exports) {
505
+ "../../node_modules/@wix/panorama-common-shared/dist/cjs/utils/guid.js"(exports) {
1020
506
  "use strict";
1021
507
  exports.__esModule = true;
1022
508
  exports.generateGuidRegex = void 0;
@@ -1025,9 +511,9 @@ var require_guid = __commonJS({
1025
511
  }
1026
512
  });
1027
513
 
1028
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common-shared/dist/cjs/utils/index.js
514
+ // ../../node_modules/@wix/panorama-common-shared/dist/cjs/utils/index.js
1029
515
  var require_utils2 = __commonJS({
1030
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common-shared/dist/cjs/utils/index.js"(exports) {
516
+ "../../node_modules/@wix/panorama-common-shared/dist/cjs/utils/index.js"(exports) {
1031
517
  "use strict";
1032
518
  exports.__esModule = true;
1033
519
  var _transactionUtils = require_transaction_utils();
@@ -1051,9 +537,9 @@ var require_utils2 = __commonJS({
1051
537
  }
1052
538
  });
1053
539
 
1054
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/panorama-transaction.js
540
+ // ../../node_modules/@wix/panorama-client/dist/cjs/panorama-transaction.js
1055
541
  var require_panorama_transaction = __commonJS({
1056
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/panorama-transaction.js"(exports) {
542
+ "../../node_modules/@wix/panorama-client/dist/cjs/panorama-transaction.js"(exports) {
1057
543
  "use strict";
1058
544
  exports.__esModule = true;
1059
545
  exports.PanoramaTransactionImpl = void 0;
@@ -1082,9 +568,9 @@ var require_panorama_transaction = __commonJS({
1082
568
  }
1083
569
  });
1084
570
 
1085
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/panorama-client-component.js
571
+ // ../../node_modules/@wix/panorama-client/dist/cjs/panorama-client-component.js
1086
572
  var require_panorama_client_component = __commonJS({
1087
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/panorama-client-component.js"(exports) {
573
+ "../../node_modules/@wix/panorama-client/dist/cjs/panorama-client-component.js"(exports) {
1088
574
  "use strict";
1089
575
  var _interopRequireDefault = require_interopRequireDefault();
1090
576
  exports.__esModule = true;
@@ -1116,15 +602,15 @@ var require_panorama_client_component = __commonJS({
1116
602
  }
1117
603
  });
1118
604
 
1119
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/plugins/hooks-manager.js
605
+ // ../../node_modules/@wix/panorama-client/dist/cjs/plugins/hooks-manager.js
1120
606
  var require_hooks_manager = __commonJS({
1121
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/plugins/hooks-manager.js"(exports) {
607
+ "../../node_modules/@wix/panorama-client/dist/cjs/plugins/hooks-manager.js"(exports) {
1122
608
  "use strict";
1123
609
  var _interopRequireDefault = require_interopRequireDefault();
1124
610
  exports.__esModule = true;
1125
611
  exports.HooksManager = exports.Hook = void 0;
1126
612
  var _defineProperty2 = _interopRequireDefault(require_defineProperty());
1127
- var Hook = exports.Hook = /* @__PURE__ */ function(Hook2) {
613
+ var Hook = exports.Hook = /* @__PURE__ */ (function(Hook2) {
1128
614
  Hook2[Hook2["afterCreateClientForComponent"] = 0] = "afterCreateClientForComponent";
1129
615
  Hook2[Hook2["beforeReport"] = 1] = "beforeReport";
1130
616
  Hook2[Hook2["beforeReportTransactionStart"] = 2] = "beforeReportTransactionStart";
@@ -1143,7 +629,7 @@ var require_hooks_manager = __commonJS({
1143
629
  Hook2[Hook2["afterReportLog"] = 15] = "afterReportLog";
1144
630
  Hook2[Hook2["beforeUnhandledError"] = 16] = "beforeUnhandledError";
1145
631
  return Hook2;
1146
- }({});
632
+ })({});
1147
633
  var HooksManager = class {
1148
634
  constructor() {
1149
635
  (0, _defineProperty2.default)(this, "subscribers", {});
@@ -1169,9 +655,9 @@ var require_hooks_manager = __commonJS({
1169
655
  }
1170
656
  });
1171
657
 
1172
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/panorama-phase.js
658
+ // ../../node_modules/@wix/panorama-client/dist/cjs/panorama-phase.js
1173
659
  var require_panorama_phase = __commonJS({
1174
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/panorama-phase.js"(exports) {
660
+ "../../node_modules/@wix/panorama-client/dist/cjs/panorama-phase.js"(exports) {
1175
661
  "use strict";
1176
662
  exports.__esModule = true;
1177
663
  exports.PanoramaPhaseImpl = void 0;
@@ -1194,9 +680,9 @@ var require_panorama_phase = __commonJS({
1194
680
  }
1195
681
  });
1196
682
 
1197
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/panorama-client.js
683
+ // ../../node_modules/@wix/panorama-client/dist/cjs/panorama-client.js
1198
684
  var require_panorama_client = __commonJS({
1199
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/panorama-client.js"(exports) {
685
+ "../../node_modules/@wix/panorama-client/dist/cjs/panorama-client.js"(exports) {
1200
686
  "use strict";
1201
687
  var _interopRequireDefault = require_interopRequireDefault();
1202
688
  exports.__esModule = true;
@@ -1260,9 +746,9 @@ var require_panorama_client = __commonJS({
1260
746
  }
1261
747
  });
1262
748
 
1263
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/utils/error-utils.js
749
+ // ../../node_modules/@wix/panorama-client/dist/cjs/utils/error-utils.js
1264
750
  var require_error_utils = __commonJS({
1265
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/utils/error-utils.js"(exports) {
751
+ "../../node_modules/@wix/panorama-client/dist/cjs/utils/error-utils.js"(exports) {
1266
752
  "use strict";
1267
753
  exports.__esModule = true;
1268
754
  exports.normalizeError = exports.extractWixHttpErrorDetails = exports.createUndedupableError = void 0;
@@ -1311,9 +797,9 @@ var require_error_utils = __commonJS({
1311
797
  }
1312
798
  });
1313
799
 
1314
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/constants.js
800
+ // ../../node_modules/@wix/panorama-client/dist/cjs/constants.js
1315
801
  var require_constants = __commonJS({
1316
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/constants.js"(exports) {
802
+ "../../node_modules/@wix/panorama-client/dist/cjs/constants.js"(exports) {
1317
803
  "use strict";
1318
804
  exports.__esModule = true;
1319
805
  exports.MAX_STACK_TRACE_SIZE_BYTES = exports.MAX_SESSION_TIME_MS = void 0;
@@ -1322,9 +808,9 @@ var require_constants = __commonJS({
1322
808
  }
1323
809
  });
1324
810
 
1325
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/lib/payload-sanitizer.js
811
+ // ../../node_modules/@wix/panorama-client/dist/cjs/lib/payload-sanitizer.js
1326
812
  var require_payload_sanitizer = __commonJS({
1327
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/lib/payload-sanitizer.js"(exports) {
813
+ "../../node_modules/@wix/panorama-client/dist/cjs/lib/payload-sanitizer.js"(exports) {
1328
814
  "use strict";
1329
815
  exports.__esModule = true;
1330
816
  exports.sanitizePayload = void 0;
@@ -1354,9 +840,9 @@ var require_payload_sanitizer = __commonJS({
1354
840
  }
1355
841
  });
1356
842
 
1357
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/lib/payload-builder.js
843
+ // ../../node_modules/@wix/panorama-client/dist/cjs/lib/payload-builder.js
1358
844
  var require_payload_builder = __commonJS({
1359
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/lib/payload-builder.js"(exports) {
845
+ "../../node_modules/@wix/panorama-client/dist/cjs/lib/payload-builder.js"(exports) {
1360
846
  "use strict";
1361
847
  exports.__esModule = true;
1362
848
  exports.buildTransactionPayload = exports.buildPhasePayload = exports.buildLoggerPayload = exports.buildErrorPayload = void 0;
@@ -1466,9 +952,9 @@ var require_payload_builder = __commonJS({
1466
952
  }
1467
953
  });
1468
954
 
1469
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/panorama-client-base.js
955
+ // ../../node_modules/@wix/panorama-client/dist/cjs/panorama-client-base.js
1470
956
  var require_panorama_client_base = __commonJS({
1471
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/panorama-client-base.js"(exports) {
957
+ "../../node_modules/@wix/panorama-client/dist/cjs/panorama-client-base.js"(exports) {
1472
958
  "use strict";
1473
959
  var _interopRequireDefault = require_interopRequireDefault();
1474
960
  exports.__esModule = true;
@@ -1636,9 +1122,9 @@ var require_panorama_client_base = __commonJS({
1636
1122
  }
1637
1123
  });
1638
1124
 
1639
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/lib/scope.js
1125
+ // ../../node_modules/@wix/panorama-client/dist/cjs/lib/scope.js
1640
1126
  var require_scope = __commonJS({
1641
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/lib/scope.js"(exports) {
1127
+ "../../node_modules/@wix/panorama-client/dist/cjs/lib/scope.js"(exports) {
1642
1128
  "use strict";
1643
1129
  var _interopRequireDefault = require_interopRequireDefault();
1644
1130
  exports.__esModule = true;
@@ -1670,9 +1156,9 @@ var require_scope = __commonJS({
1670
1156
  }
1671
1157
  });
1672
1158
 
1673
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/panorama-client-factory.js
1159
+ // ../../node_modules/@wix/panorama-client/dist/cjs/panorama-client-factory.js
1674
1160
  var require_panorama_client_factory = __commonJS({
1675
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/panorama-client-factory.js"(exports) {
1161
+ "../../node_modules/@wix/panorama-client/dist/cjs/panorama-client-factory.js"(exports) {
1676
1162
  "use strict";
1677
1163
  var _interopRequireDefault = require_interopRequireDefault();
1678
1164
  exports.__esModule = true;
@@ -1748,31 +1234,31 @@ var require_panorama_client_factory = __commonJS({
1748
1234
  }
1749
1235
  });
1750
1236
 
1751
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/types.js
1237
+ // ../../node_modules/@wix/panorama-client/dist/cjs/types.js
1752
1238
  var require_types2 = __commonJS({
1753
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/types.js"(exports) {
1239
+ "../../node_modules/@wix/panorama-client/dist/cjs/types.js"(exports) {
1754
1240
  "use strict";
1755
1241
  exports.__esModule = true;
1756
1242
  exports.StacktraceScriptType = exports.ExceptionType = void 0;
1757
- var ExceptionType = exports.ExceptionType = /* @__PURE__ */ function(ExceptionType2) {
1243
+ var ExceptionType = exports.ExceptionType = /* @__PURE__ */ (function(ExceptionType2) {
1758
1244
  ExceptionType2["HANDLED"] = "HANDLED";
1759
1245
  ExceptionType2["UNHANDLED"] = "UNHANDLED";
1760
1246
  return ExceptionType2;
1761
- }({});
1762
- var StacktraceScriptType = exports.StacktraceScriptType = /* @__PURE__ */ function(StacktraceScriptType2) {
1247
+ })({});
1248
+ var StacktraceScriptType = exports.StacktraceScriptType = /* @__PURE__ */ (function(StacktraceScriptType2) {
1763
1249
  StacktraceScriptType2["WIX_SERVICE"] = "WIX_SERVICE";
1764
1250
  StacktraceScriptType2["WIX_APP"] = "WIX_APP";
1765
1251
  StacktraceScriptType2["WIX_CLI_APP"] = "WIX_CLI_APP";
1766
1252
  StacktraceScriptType2["WIX_CHAT"] = "WIX_CHAT_WIDGET";
1767
1253
  StacktraceScriptType2["BROWSER_EXTENSION"] = "BROWSER_EXTENSION";
1768
1254
  return StacktraceScriptType2;
1769
- }({});
1255
+ })({});
1770
1256
  }
1771
1257
  });
1772
1258
 
1773
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/index.js
1259
+ // ../../node_modules/@wix/panorama-client/dist/cjs/index.js
1774
1260
  var require_cjs = __commonJS({
1775
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-client/dist/cjs/index.js"(exports) {
1261
+ "../../node_modules/@wix/panorama-client/dist/cjs/index.js"(exports) {
1776
1262
  "use strict";
1777
1263
  exports.__esModule = true;
1778
1264
  exports.panoramaClient = exports.createGlobalConfig = exports.Platform = exports.ExceptionType = exports.ErrorSeverity = void 0;
@@ -1788,9 +1274,9 @@ var require_cjs = __commonJS({
1788
1274
  }
1789
1275
  });
1790
1276
 
1791
- // ../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common-shared/dist/cjs/constants.js
1277
+ // ../../node_modules/@wix/panorama-common-shared/dist/cjs/constants.js
1792
1278
  var require_constants2 = __commonJS({
1793
- "../../node_modules/@wix/panorama-client-node/node_modules/@wix/panorama-common-shared/dist/cjs/constants.js"(exports) {
1279
+ "../../node_modules/@wix/panorama-common-shared/dist/cjs/constants.js"(exports) {
1794
1280
  "use strict";
1795
1281
  exports.__esModule = true;
1796
1282
  exports.SUCCESS_RATE_GRAFANA_INVESTIGATION_DASHBOARD_URL = exports.PANORAMA_GRAFANA_BASE_URL = exports.PANORAMA_APP_DEF_ID = exports.DURATION_GRAFANA_INVESTIGATION_DASHBOARD_URL = exports.DEV_PORTAL_BASE_URL = exports.CLICKHOUSE_REPORT_URL = exports.CLICKHOUSE_BATCH_REPORT_URL = void 0;
@@ -2340,7 +1826,7 @@ var init_tslib_es6 = __esm({
2340
1826
  };
2341
1827
  return __assign.apply(this, arguments);
2342
1828
  };
2343
- __createBinding = Object.create ? function(o, m, k, k2) {
1829
+ __createBinding = Object.create ? (function(o, m, k, k2) {
2344
1830
  if (k2 === void 0) k2 = k;
2345
1831
  var desc = Object.getOwnPropertyDescriptor(m, k);
2346
1832
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -2349,13 +1835,13 @@ var init_tslib_es6 = __esm({
2349
1835
  } };
2350
1836
  }
2351
1837
  Object.defineProperty(o, k2, desc);
2352
- } : function(o, m, k, k2) {
1838
+ }) : (function(o, m, k, k2) {
2353
1839
  if (k2 === void 0) k2 = k;
2354
1840
  o[k2] = m[k];
2355
- };
2356
- __setModuleDefault = Object.create ? function(o, v) {
1841
+ });
1842
+ __setModuleDefault = Object.create ? (function(o, v) {
2357
1843
  Object.defineProperty(o, "default", { enumerable: true, value: v });
2358
- } : function(o, v) {
1844
+ }) : function(o, v) {
2359
1845
  o["default"] = v;
2360
1846
  };
2361
1847
  ownKeys = function(o) {
@@ -2434,7 +1920,7 @@ var require_assert = __commonJS({
2434
1920
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });
2435
1921
  if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
2436
1922
  }
2437
- var AssertionError = function(_Error) {
1923
+ var AssertionError = (function(_Error) {
2438
1924
  _inherits(AssertionError2, _Error);
2439
1925
  function AssertionError2(message) {
2440
1926
  _classCallCheck(this, AssertionError2);
@@ -2443,7 +1929,7 @@ var require_assert = __commonJS({
2443
1929
  return _this;
2444
1930
  }
2445
1931
  return AssertionError2;
2446
- }(Error);
1932
+ })(Error);
2447
1933
  function assertDefined(target, message) {
2448
1934
  if (target === void 0) {
2449
1935
  throw new AssertionError(message);
@@ -2615,7 +2101,7 @@ var require_throttle = __commonJS({
2615
2101
  var require_batch_queue = __commonJS({
2616
2102
  "../../node_modules/@wix/wix-bi-logger-client/dist/utils/batch-queue.js"(exports, module) {
2617
2103
  "use strict";
2618
- var _createClass = /* @__PURE__ */ function() {
2104
+ var _createClass = /* @__PURE__ */ (function() {
2619
2105
  function defineProperties(target, props) {
2620
2106
  for (var i = 0; i < props.length; i++) {
2621
2107
  var descriptor = props[i];
@@ -2630,8 +2116,8 @@ var require_batch_queue = __commonJS({
2630
2116
  if (staticProps) defineProperties(Constructor, staticProps);
2631
2117
  return Constructor;
2632
2118
  };
2633
- }();
2634
- var _slicedToArray = /* @__PURE__ */ function() {
2119
+ })();
2120
+ var _slicedToArray = /* @__PURE__ */ (function() {
2635
2121
  function sliceIterator(arr, i) {
2636
2122
  var _arr = [];
2637
2123
  var _n = true;
@@ -2663,7 +2149,7 @@ var require_batch_queue = __commonJS({
2663
2149
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
2664
2150
  }
2665
2151
  };
2666
- }();
2152
+ })();
2667
2153
  var _extends = Object.assign || function(target) {
2668
2154
  for (var i = 1; i < arguments.length; i++) {
2669
2155
  var source = arguments[i];
@@ -2731,7 +2217,7 @@ var require_batch_queue = __commonJS({
2731
2217
  g: globalFields
2732
2218
  });
2733
2219
  };
2734
- var BatchQueue = function() {
2220
+ var BatchQueue = (function() {
2735
2221
  function BatchQueue2() {
2736
2222
  _classCallCheck(this, BatchQueue2);
2737
2223
  this._initilized = false;
@@ -2794,7 +2280,7 @@ var require_batch_queue = __commonJS({
2794
2280
  }
2795
2281
  }]);
2796
2282
  return BatchQueue2;
2797
- }();
2283
+ })();
2798
2284
  module.exports = BatchQueue;
2799
2285
  }
2800
2286
  });
@@ -2846,7 +2332,7 @@ var require_bi_logger = __commonJS({
2846
2332
  }
2847
2333
  return target;
2848
2334
  };
2849
- var _createClass = /* @__PURE__ */ function() {
2335
+ var _createClass = /* @__PURE__ */ (function() {
2850
2336
  function defineProperties(target, props) {
2851
2337
  for (var i = 0; i < props.length; i++) {
2852
2338
  var descriptor = props[i];
@@ -2861,7 +2347,7 @@ var require_bi_logger = __commonJS({
2861
2347
  if (staticProps) defineProperties(Constructor, staticProps);
2862
2348
  return Constructor;
2863
2349
  };
2864
- }();
2350
+ })();
2865
2351
  function _objectWithoutProperties(obj, keys) {
2866
2352
  var target = {};
2867
2353
  for (var i in obj) {
@@ -2887,7 +2373,7 @@ var require_bi_logger = __commonJS({
2887
2373
  var shouldMuteByCategory = _require2.shouldMuteByCategory;
2888
2374
  var shouldMuteNonEssentials = _require2.shouldMuteNonEssentials;
2889
2375
  var getPolicy = _require2.getPolicy;
2890
- var BiLogger = function() {
2376
+ var BiLogger = (function() {
2891
2377
  function BiLogger2(options, context) {
2892
2378
  _classCallCheck(this, BiLogger2);
2893
2379
  this._publishers = options.publishers;
@@ -3146,7 +2632,7 @@ var require_bi_logger = __commonJS({
3146
2632
  }
3147
2633
  }]);
3148
2634
  return BiLogger2;
3149
- }();
2635
+ })();
3150
2636
  module.exports = BiLogger;
3151
2637
  }
3152
2638
  });
@@ -3155,7 +2641,7 @@ var require_bi_logger = __commonJS({
3155
2641
  var require_bi_logger_manager = __commonJS({
3156
2642
  "../../node_modules/@wix/wix-bi-logger-client/dist/bi-logger-manager.js"(exports, module) {
3157
2643
  "use strict";
3158
- var _createClass = /* @__PURE__ */ function() {
2644
+ var _createClass = /* @__PURE__ */ (function() {
3159
2645
  function defineProperties(target, props) {
3160
2646
  for (var i = 0; i < props.length; i++) {
3161
2647
  var descriptor = props[i];
@@ -3170,14 +2656,14 @@ var require_bi_logger_manager = __commonJS({
3170
2656
  if (staticProps) defineProperties(Constructor, staticProps);
3171
2657
  return Constructor;
3172
2658
  };
3173
- }();
2659
+ })();
3174
2660
  function _classCallCheck(instance, Constructor) {
3175
2661
  if (!(instance instanceof Constructor)) {
3176
2662
  throw new TypeError("Cannot call a class as a function");
3177
2663
  }
3178
2664
  }
3179
2665
  var assert = require_assert();
3180
- var BiLoggerManager = function() {
2666
+ var BiLoggerManager = (function() {
3181
2667
  function BiLoggerManager2() {
3182
2668
  _classCallCheck(this, BiLoggerManager2);
3183
2669
  this.reset();
@@ -3210,7 +2696,7 @@ var require_bi_logger_manager = __commonJS({
3210
2696
  }
3211
2697
  }]);
3212
2698
  return BiLoggerManager2;
3213
- }();
2699
+ })();
3214
2700
  module.exports = {
3215
2701
  manager: new BiLoggerManager(),
3216
2702
  BiLoggerManager
@@ -3227,7 +2713,7 @@ var require_bi_logger_factory = __commonJS({
3227
2713
  } : function(obj) {
3228
2714
  return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
3229
2715
  };
3230
- var _createClass = /* @__PURE__ */ function() {
2716
+ var _createClass = /* @__PURE__ */ (function() {
3231
2717
  function defineProperties(target, props) {
3232
2718
  for (var i = 0; i < props.length; i++) {
3233
2719
  var descriptor = props[i];
@@ -3242,7 +2728,7 @@ var require_bi_logger_factory = __commonJS({
3242
2728
  if (staticProps) defineProperties(Constructor, staticProps);
3243
2729
  return Constructor;
3244
2730
  };
3245
- }();
2731
+ })();
3246
2732
  function _classCallCheck(instance, Constructor) {
3247
2733
  if (!(instance instanceof Constructor)) {
3248
2734
  throw new TypeError("Cannot call a class as a function");
@@ -3252,7 +2738,7 @@ var require_bi_logger_factory = __commonJS({
3252
2738
  var BiLogger = require_bi_logger();
3253
2739
  var biLoggerManager = require_bi_logger_manager();
3254
2740
  var BatchQueue = require_batch_queue();
3255
- var BiLoggerFactory = function() {
2741
+ var BiLoggerFactory = (function() {
3256
2742
  function BiLoggerFactory2() {
3257
2743
  _classCallCheck(this, BiLoggerFactory2);
3258
2744
  this._publishers = [];
@@ -3413,7 +2899,7 @@ var require_bi_logger_factory = __commonJS({
3413
2899
  }
3414
2900
  }]);
3415
2901
  return BiLoggerFactory2;
3416
- }();
2902
+ })();
3417
2903
  module.exports = BiLoggerFactory;
3418
2904
  }
3419
2905
  });
@@ -3829,13 +3315,13 @@ var require_domain = __commonJS({
3829
3315
  "use strict";
3830
3316
  exports.__esModule = true;
3831
3317
  exports.Brand = void 0;
3832
- var Brand = exports.Brand = /* @__PURE__ */ function(Brand2) {
3318
+ var Brand = exports.Brand = /* @__PURE__ */ (function(Brand2) {
3833
3319
  Brand2[Brand2["wix"] = 0] = "wix";
3834
3320
  Brand2[Brand2["editorx"] = 1] = "editorx";
3835
3321
  Brand2[Brand2["dayful"] = 2] = "dayful";
3836
3322
  Brand2[Brand2["studio"] = 3] = "studio";
3837
3323
  return Brand2;
3838
- }({});
3324
+ })({});
3839
3325
  }
3840
3326
  });
3841
3327
 
@@ -6163,7 +5649,7 @@ var require_cookies2 = __commonJS({
6163
5649
  var utils = require_utils5();
6164
5650
  module.exports = utils.isStandardBrowserEnv() ? (
6165
5651
  // Standard browser envs support document.cookie
6166
- /* @__PURE__ */ function standardBrowserEnv() {
5652
+ /* @__PURE__ */ (function standardBrowserEnv() {
6167
5653
  return {
6168
5654
  write: function write(name, value, expires, path3, domain, secure) {
6169
5655
  var cookie = [];
@@ -6190,10 +5676,10 @@ var require_cookies2 = __commonJS({
6190
5676
  this.write(name, "", Date.now() - 864e5);
6191
5677
  }
6192
5678
  };
6193
- }()
5679
+ })()
6194
5680
  ) : (
6195
5681
  // Non standard browser env (web workers, react-native) lack needed support.
6196
- /* @__PURE__ */ function nonStandardBrowserEnv() {
5682
+ /* @__PURE__ */ (function nonStandardBrowserEnv() {
6197
5683
  return {
6198
5684
  write: function write() {
6199
5685
  },
@@ -6203,7 +5689,7 @@ var require_cookies2 = __commonJS({
6203
5689
  remove: function remove() {
6204
5690
  }
6205
5691
  };
6206
- }()
5692
+ })()
6207
5693
  );
6208
5694
  }
6209
5695
  });
@@ -6268,7 +5754,7 @@ var require_isURLSameOrigin = __commonJS({
6268
5754
  module.exports = utils.isStandardBrowserEnv() ? (
6269
5755
  // Standard browser envs have full support of the APIs needed to test
6270
5756
  // whether the request URL is of the same origin as current location.
6271
- function standardBrowserEnv() {
5757
+ (function standardBrowserEnv() {
6272
5758
  var msie = /(msie|trident)/i.test(navigator.userAgent);
6273
5759
  var urlParsingNode = document.createElement("a");
6274
5760
  var originURL;
@@ -6295,14 +5781,14 @@ var require_isURLSameOrigin = __commonJS({
6295
5781
  var parsed = utils.isString(requestURL) ? resolveURL(requestURL) : requestURL;
6296
5782
  return parsed.protocol === originURL.protocol && parsed.host === originURL.host;
6297
5783
  };
6298
- }()
5784
+ })()
6299
5785
  ) : (
6300
5786
  // Non standard browser envs (web workers, react-native) lack needed support.
6301
- /* @__PURE__ */ function nonStandardBrowserEnv() {
5787
+ /* @__PURE__ */ (function nonStandardBrowserEnv() {
6302
5788
  return function isURLSameOrigin() {
6303
5789
  return true;
6304
5790
  };
6305
- }()
5791
+ })()
6306
5792
  );
6307
5793
  }
6308
5794
  });
@@ -7407,7 +6893,7 @@ var require_src2 = __commonJS({
7407
6893
  };
7408
6894
  var StandaloneNodeLogger2 = (
7409
6895
  /** @class */
7410
- function() {
6896
+ (function() {
7411
6897
  function StandaloneNodeLogger3() {
7412
6898
  }
7413
6899
  StandaloneNodeLogger3.prototype.factory = function(options) {
@@ -7449,7 +6935,7 @@ var require_src2 = __commonJS({
7449
6935
  return biLoggerFactory;
7450
6936
  };
7451
6937
  return StandaloneNodeLogger3;
7452
- }()
6938
+ })()
7453
6939
  );
7454
6940
  exports.StandaloneNodeLogger = StandaloneNodeLogger2;
7455
6941
  exports.default = new StandaloneNodeLogger2();
@@ -7742,13 +7228,13 @@ var require_domain2 = __commonJS({
7742
7228
  "use strict";
7743
7229
  exports.__esModule = true;
7744
7230
  exports.Brand = void 0;
7745
- var Brand = exports.Brand = /* @__PURE__ */ function(Brand2) {
7231
+ var Brand = exports.Brand = /* @__PURE__ */ (function(Brand2) {
7746
7232
  Brand2[Brand2["wix"] = 0] = "wix";
7747
7233
  Brand2[Brand2["editorx"] = 1] = "editorx";
7748
7234
  Brand2[Brand2["dayful"] = 2] = "dayful";
7749
7235
  Brand2[Brand2["studio"] = 3] = "studio";
7750
7236
  return Brand2;
7751
- }({});
7237
+ })({});
7752
7238
  }
7753
7239
  });
7754
7240
 
@@ -8759,7 +8245,7 @@ var require_http2 = __commonJS({
8759
8245
  var require_helpers = __commonJS({
8760
8246
  "../../node_modules/agent-base/dist/helpers.js"(exports) {
8761
8247
  "use strict";
8762
- var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
8248
+ var __createBinding2 = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
8763
8249
  if (k2 === void 0) k2 = k;
8764
8250
  var desc = Object.getOwnPropertyDescriptor(m, k);
8765
8251
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -8768,13 +8254,13 @@ var require_helpers = __commonJS({
8768
8254
  } };
8769
8255
  }
8770
8256
  Object.defineProperty(o, k2, desc);
8771
- } : function(o, m, k, k2) {
8257
+ }) : (function(o, m, k, k2) {
8772
8258
  if (k2 === void 0) k2 = k;
8773
8259
  o[k2] = m[k];
8774
- });
8775
- var __setModuleDefault2 = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
8260
+ }));
8261
+ var __setModuleDefault2 = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
8776
8262
  Object.defineProperty(o, "default", { enumerable: true, value: v });
8777
- } : function(o, v) {
8263
+ }) : function(o, v) {
8778
8264
  o["default"] = v;
8779
8265
  });
8780
8266
  var __importStar2 = exports && exports.__importStar || function(mod) {
@@ -8829,7 +8315,7 @@ var require_helpers = __commonJS({
8829
8315
  var require_dist2 = __commonJS({
8830
8316
  "../../node_modules/agent-base/dist/index.js"(exports) {
8831
8317
  "use strict";
8832
- var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
8318
+ var __createBinding2 = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
8833
8319
  if (k2 === void 0) k2 = k;
8834
8320
  var desc = Object.getOwnPropertyDescriptor(m, k);
8835
8321
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -8838,13 +8324,13 @@ var require_dist2 = __commonJS({
8838
8324
  } };
8839
8325
  }
8840
8326
  Object.defineProperty(o, k2, desc);
8841
- } : function(o, m, k, k2) {
8327
+ }) : (function(o, m, k, k2) {
8842
8328
  if (k2 === void 0) k2 = k;
8843
8329
  o[k2] = m[k];
8844
- });
8845
- var __setModuleDefault2 = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
8330
+ }));
8331
+ var __setModuleDefault2 = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
8846
8332
  Object.defineProperty(o, "default", { enumerable: true, value: v });
8847
- } : function(o, v) {
8333
+ }) : function(o, v) {
8848
8334
  o["default"] = v;
8849
8335
  });
8850
8336
  var __importStar2 = exports && exports.__importStar || function(mod) {
@@ -8985,7 +8471,7 @@ var require_dist2 = __commonJS({
8985
8471
  var require_dist3 = __commonJS({
8986
8472
  "../../node_modules/http-proxy-agent/dist/index.js"(exports) {
8987
8473
  "use strict";
8988
- var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
8474
+ var __createBinding2 = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
8989
8475
  if (k2 === void 0) k2 = k;
8990
8476
  var desc = Object.getOwnPropertyDescriptor(m, k);
8991
8477
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -8994,13 +8480,13 @@ var require_dist3 = __commonJS({
8994
8480
  } };
8995
8481
  }
8996
8482
  Object.defineProperty(o, k2, desc);
8997
- } : function(o, m, k, k2) {
8483
+ }) : (function(o, m, k, k2) {
8998
8484
  if (k2 === void 0) k2 = k;
8999
8485
  o[k2] = m[k];
9000
- });
9001
- var __setModuleDefault2 = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
8486
+ }));
8487
+ var __setModuleDefault2 = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
9002
8488
  Object.defineProperty(o, "default", { enumerable: true, value: v });
9003
- } : function(o, v) {
8489
+ }) : function(o, v) {
9004
8490
  o["default"] = v;
9005
8491
  });
9006
8492
  var __importStar2 = exports && exports.__importStar || function(mod) {
@@ -9211,7 +8697,7 @@ var require_parse_proxy_response = __commonJS({
9211
8697
  var require_dist4 = __commonJS({
9212
8698
  "../../node_modules/@wix/http-client/node_modules/https-proxy-agent/dist/index.js"(exports) {
9213
8699
  "use strict";
9214
- var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
8700
+ var __createBinding2 = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
9215
8701
  if (k2 === void 0) k2 = k;
9216
8702
  var desc = Object.getOwnPropertyDescriptor(m, k);
9217
8703
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -9220,13 +8706,13 @@ var require_dist4 = __commonJS({
9220
8706
  } };
9221
8707
  }
9222
8708
  Object.defineProperty(o, k2, desc);
9223
- } : function(o, m, k, k2) {
8709
+ }) : (function(o, m, k, k2) {
9224
8710
  if (k2 === void 0) k2 = k;
9225
8711
  o[k2] = m[k];
9226
- });
9227
- var __setModuleDefault2 = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
8712
+ }));
8713
+ var __setModuleDefault2 = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
9228
8714
  Object.defineProperty(o, "default", { enumerable: true, value: v });
9229
- } : function(o, v) {
8715
+ }) : function(o, v) {
9230
8716
  o["default"] = v;
9231
8717
  });
9232
8718
  var __importStar2 = exports && exports.__importStar || function(mod) {
@@ -9413,7 +8899,7 @@ var require_cookies4 = __commonJS({
9413
8899
  var utils = require_utils8();
9414
8900
  module.exports = utils.isStandardBrowserEnv() ? (
9415
8901
  // Standard browser envs support document.cookie
9416
- /* @__PURE__ */ function standardBrowserEnv() {
8902
+ /* @__PURE__ */ (function standardBrowserEnv() {
9417
8903
  return {
9418
8904
  write: function write(name, value, expires, path3, domain, secure) {
9419
8905
  var cookie = [];
@@ -9440,10 +8926,10 @@ var require_cookies4 = __commonJS({
9440
8926
  this.write(name, "", Date.now() - 864e5);
9441
8927
  }
9442
8928
  };
9443
- }()
8929
+ })()
9444
8930
  ) : (
9445
8931
  // Non standard browser env (web workers, react-native) lack needed support.
9446
- /* @__PURE__ */ function nonStandardBrowserEnv() {
8932
+ /* @__PURE__ */ (function nonStandardBrowserEnv() {
9447
8933
  return {
9448
8934
  write: function write() {
9449
8935
  },
@@ -9453,7 +8939,7 @@ var require_cookies4 = __commonJS({
9453
8939
  remove: function remove() {
9454
8940
  }
9455
8941
  };
9456
- }()
8942
+ })()
9457
8943
  );
9458
8944
  }
9459
8945
  });
@@ -9518,7 +9004,7 @@ var require_isURLSameOrigin2 = __commonJS({
9518
9004
  module.exports = utils.isStandardBrowserEnv() ? (
9519
9005
  // Standard browser envs have full support of the APIs needed to test
9520
9006
  // whether the request URL is of the same origin as current location.
9521
- function standardBrowserEnv() {
9007
+ (function standardBrowserEnv() {
9522
9008
  var msie = /(msie|trident)/i.test(navigator.userAgent);
9523
9009
  var urlParsingNode = document.createElement("a");
9524
9010
  var originURL;
@@ -9545,14 +9031,14 @@ var require_isURLSameOrigin2 = __commonJS({
9545
9031
  var parsed = utils.isString(requestURL) ? resolveURL(requestURL) : requestURL;
9546
9032
  return parsed.protocol === originURL.protocol && parsed.host === originURL.host;
9547
9033
  };
9548
- }()
9034
+ })()
9549
9035
  ) : (
9550
9036
  // Non standard browser envs (web workers, react-native) lack needed support.
9551
- /* @__PURE__ */ function nonStandardBrowserEnv() {
9037
+ /* @__PURE__ */ (function nonStandardBrowserEnv() {
9552
9038
  return function isURLSameOrigin() {
9553
9039
  return true;
9554
9040
  };
9555
- }()
9041
+ })()
9556
9042
  );
9557
9043
  }
9558
9044
  });
@@ -10991,7 +10477,7 @@ async function fetchArticleContent(httpClient, articleUrl, mode, stripHeader = f
10991
10477
  }
10992
10478
 
10993
10479
  // src/docs/get-to-know.ts
10994
- var docURLs = [
10480
+ var DEFAULT_DOC_URLS = [
10995
10481
  {
10996
10482
  url: "https://dev.wix.com/docs/picasso/wix-ai-docs/index/get-to-know-wix-llm-instructions",
10997
10483
  action: "include"
@@ -11020,7 +10506,7 @@ Please note that this is a large document. Only use it for the scenarios mention
11020
10506
  ];
11021
10507
  var DESCRIPTION = `# Tool: WixREADME
11022
10508
 
11023
- **Directive:** \`WixREADME\` is the **MANDATORY FIRST STEP** for all Wix-related tasks. Its output (including relevant linked documents) provides foundational context for all other Wix tools. Adherence to this protocol is **NON-NEGOTIABLE**.
10509
+ **Directive:** \`WixREADME\` is the **MANDATORY FIRST STEP** for all Wix-related tasks EXCEPT when the user explicitly asks to build/create a site - in which case you should use the \`WixSiteBuilderWidget\` tool directly. Its output (including relevant linked documents) provides foundational context for all other Wix tools. Adherence to this protocol is **NON-NEGOTIABLE**.
11024
10510
 
11025
10511
  **Operational Protocol (Strictly Sequential):**
11026
10512
 
@@ -11049,50 +10535,60 @@ var DESCRIPTION = `# Tool: WixREADME
11049
10535
  * Fetch **ONLY RELEVANT** linked documents using \`ReadFullDocsArticle\` before any other Wix tool.
11050
10536
  * **FAILURE TO FOLLOW THIS EXACT SEQUENCE WILL LEAD TO ERRORS.** Strict adherence is mandatory.`;
11051
10537
  var WixREADME_DEPENDENT_DESCRIPTION = "**Dependency:** Must be used after 'WixREADME' has successfully run.";
11052
- async function addGetToKnowTools(server2) {
11053
- server2.tool("WixREADME", DESCRIPTION, async ({ httpClient }) => {
11054
- try {
11055
- const contents = await Promise.all(
11056
- docURLs.map(async ({ url, action, description, title }) => {
11057
- if (action === "index") {
11058
- return {
11059
- type: "text",
11060
- text: `## ${title}
10538
+ async function addGetToKnowTools(server2, disableTools = [], toolDescriptions, readmeDocs) {
10539
+ if (disableTools.includes("WixREADME")) {
10540
+ return;
10541
+ }
10542
+ const docsToUse = readmeDocs && readmeDocs.length > 0 ? readmeDocs : DEFAULT_DOC_URLS;
10543
+ server2.tool(
10544
+ "WixREADME",
10545
+ toolDescriptions?.["WixREADME"] ?? DESCRIPTION,
10546
+ {},
10547
+ { readOnlyHint: true, destructiveHint: false, openWorldHint: false },
10548
+ async (_, { httpClient }) => {
10549
+ try {
10550
+ const contents = await Promise.all(
10551
+ docsToUse.map(async ({ url, action, description, title }) => {
10552
+ if (action === "index") {
10553
+ return {
10554
+ type: "text",
10555
+ text: `## ${title}
11061
10556
 
11062
10557
  <urls>
11063
10558
  ${url}
11064
10559
  </urls>
11065
10560
 
11066
- ${description}`
10561
+ ${description ?? ""}`
10562
+ };
10563
+ }
10564
+ const content = await fetchArticleContent(
10565
+ httpClient,
10566
+ url,
10567
+ "article",
10568
+ true
10569
+ );
10570
+ return {
10571
+ type: "text",
10572
+ text: content
11067
10573
  };
11068
- }
11069
- const content = await fetchArticleContent(
11070
- httpClient,
11071
- url,
11072
- "article",
11073
- true
11074
- );
11075
- return {
11076
- type: "text",
11077
- text: content
11078
- };
11079
- })
11080
- );
11081
- return {
11082
- content: contents
11083
- };
11084
- } catch (error) {
11085
- return {
11086
- isError: true,
11087
- content: [
11088
- {
11089
- type: "text",
11090
- text: `Error fetching the document: ${error.message}`
11091
- }
11092
- ]
11093
- };
10574
+ })
10575
+ );
10576
+ return {
10577
+ content: contents
10578
+ };
10579
+ } catch (error) {
10580
+ return {
10581
+ isError: true,
10582
+ content: [
10583
+ {
10584
+ type: "text",
10585
+ text: `Error fetching the document: ${error.message}`
10586
+ }
10587
+ ]
10588
+ };
10589
+ }
11094
10590
  }
11095
- });
10591
+ );
11096
10592
  }
11097
10593
 
11098
10594
  // src/docs/create-site-guide.ts
@@ -11134,11 +10630,15 @@ This tool provides complete documentation including:
11134
10630
  2. Use CallWixSiteAPI to install apps (if needed)
11135
10631
 
11136
10632
  If the user wants to create a Wix site, call this tool directly. It contains ALL necessary documentation. You don't need to search for additional documentation, read more articles, use the WixREADME tool etc unless the user asks you to do so explicitly or you encounter an error.`;
11137
- async function addCreateWixBusinessGuideTools(server2) {
10633
+ async function addCreateWixBusinessGuideTools(server2, disableTools = [], toolDescriptions) {
10634
+ if (disableTools.includes("CreateWixBusinessGuide")) {
10635
+ return;
10636
+ }
11138
10637
  server2.tool(
11139
10638
  "CreateWixBusinessGuide",
11140
- CREATE_SITE_DESCRIPTION,
10639
+ toolDescriptions?.["CreateWixBusinessGuide"] ?? CREATE_SITE_DESCRIPTION,
11141
10640
  {},
10641
+ { readOnlyHint: true, destructiveHint: false, openWorldHint: false },
11142
10642
  async (_args, { httpClient }) => {
11143
10643
  try {
11144
10644
  const contents = await Promise.all(
@@ -11194,23 +10694,35 @@ var addDocsTools = (server2, allowedTools = [
11194
10694
  "WIX_HEADLESS",
11195
10695
  "BUSINESS_SOLUTIONS"
11196
10696
  ], options = {}) => {
11197
- const { getToKnowWixEnabled = false, createWixBusinessGuideEnabled = true } = options;
11198
- if (getToKnowWixEnabled) {
11199
- addGetToKnowTools(server2);
11200
- }
11201
- if (createWixBusinessGuideEnabled) {
11202
- addCreateWixBusinessGuideTools(server2);
10697
+ const {
10698
+ getToKnowWixEnabled = false,
10699
+ createWixBusinessGuideEnabled = true,
10700
+ disableTools,
10701
+ toolDescriptions,
10702
+ readmeDocs
10703
+ } = options;
10704
+ const getDescription = (toolName, defaultDesc) => toolDescriptions?.[toolName] ?? defaultDesc;
10705
+ if (getToKnowWixEnabled && !disableTools?.includes("WixREADME")) {
10706
+ addGetToKnowTools(server2, disableTools || [], toolDescriptions, readmeDocs);
10707
+ }
10708
+ if (createWixBusinessGuideEnabled && !disableTools?.includes("CreateWixBusinessGuide")) {
10709
+ addCreateWixBusinessGuideTools(
10710
+ server2,
10711
+ disableTools || [],
10712
+ toolDescriptions
10713
+ );
11203
10714
  }
11204
- if (allowedTools.includes("WDS")) {
10715
+ if (allowedTools.includes("WDS") && !disableTools?.includes("SearchWixWDSDocumentation")) {
10716
+ const defaultWdsDesc = [
10717
+ "Searches the Wix Design System Documentation for components and patterns.",
10718
+ "Use this tool when you need to understand or implement UI components and design patterns in a Wix project.",
10719
+ "Search for specific component names, patterns, or UI requirements.",
10720
+ "If you can't find what you need, try to rephrase your search term or use bigger maxResults value.",
10721
+ getToKnowWixEnabled ? WixREADME_DEPENDENT_DESCRIPTION : ""
10722
+ ].join("\n");
11205
10723
  server2.tool(
11206
10724
  "SearchWixWDSDocumentation",
11207
- [
11208
- "Searches the Wix Design System Documentation for components and patterns.",
11209
- "Use this tool when you need to understand or implement UI components and design patterns in a Wix project.",
11210
- "Search for specific component names, patterns, or UI requirements.",
11211
- "If you can't find what you need, try to rephrase your search term or use bigger maxResults value.",
11212
- getToKnowWixEnabled ? WixREADME_DEPENDENT_DESCRIPTION : ""
11213
- ].join("\n"),
10725
+ getDescription("SearchWixWDSDocumentation", defaultWdsDesc),
11214
10726
  {
11215
10727
  searchTerm: z.string().describe(
11216
10728
  "The search term to search for in the Wix Design System Documentation"
@@ -11219,6 +10731,7 @@ var addDocsTools = (server2, allowedTools = [
11219
10731
  "The maximum number of results to return, default is 5, max is 15"
11220
10732
  ).min(1).max(15).optional().default(10)
11221
10733
  },
10734
+ { readOnlyHint: true, destructiveHint: false, openWorldHint: false },
11222
10735
  async ({ searchTerm, maxResults }, { panorama }) => {
11223
10736
  try {
11224
10737
  logger.log(`Searching for ${searchTerm} in Wix WDS`);
@@ -11256,16 +10769,17 @@ var addDocsTools = (server2, allowedTools = [
11256
10769
  }
11257
10770
  );
11258
10771
  }
11259
- if (allowedTools.includes("REST")) {
10772
+ if (allowedTools.includes("REST") && !disableTools?.includes("SearchWixRESTDocumentation")) {
10773
+ const defaultRestDesc = [
10774
+ "Searches the official Wix REST API documentation.",
10775
+ "Use this tool whenever you need to to interact with the Wix platform via HTTP requests.",
10776
+ "Specify the API endpoint, resource, or action you need information about (e.g., 'get site details endpoint', 'create data collection', 'update product API', 'REST authentication').",
10777
+ "If you can't find what you need, try to rephrase your search term or use bigger maxResults value.",
10778
+ getToKnowWixEnabled ? WixREADME_DEPENDENT_DESCRIPTION : ""
10779
+ ].join("\n");
11260
10780
  server2.tool(
11261
10781
  "SearchWixRESTDocumentation",
11262
- [
11263
- "Searches the official Wix REST API documentation.",
11264
- "Use this tool whenever you need to to interact with the Wix platform via HTTP requests.",
11265
- "Specify the API endpoint, resource, or action you need information about (e.g., 'get site details endpoint', 'create data collection', 'update product API', 'REST authentication').",
11266
- "If you can't find what you need, try to rephrase your search term or use bigger maxResults value.",
11267
- getToKnowWixEnabled ? WixREADME_DEPENDENT_DESCRIPTION : ""
11268
- ].join("\n"),
10782
+ getDescription("SearchWixRESTDocumentation", defaultRestDesc),
11269
10783
  {
11270
10784
  searchTerm: z.string().describe(
11271
10785
  "The search term to search for in the Wix REST API Documentation"
@@ -11274,6 +10788,7 @@ var addDocsTools = (server2, allowedTools = [
11274
10788
  "The maximum number of results to return, default is 5, max is 15"
11275
10789
  ).min(1).max(15).optional().default(10)
11276
10790
  },
10791
+ { readOnlyHint: true, destructiveHint: false, openWorldHint: false },
11277
10792
  async ({ searchTerm, maxResults }, { panorama }) => {
11278
10793
  try {
11279
10794
  logger.log(`Searching for ${searchTerm} in Wix REST API`);
@@ -11316,19 +10831,20 @@ var addDocsTools = (server2, allowedTools = [
11316
10831
  }
11317
10832
  );
11318
10833
  }
11319
- if (allowedTools.includes("BUSINESS_SOLUTIONS") && !getToKnowWixEnabled) {
10834
+ if (allowedTools.includes("BUSINESS_SOLUTIONS") && !getToKnowWixEnabled && !disableTools?.includes("WixBusinessFlowsDocumentation")) {
10835
+ const defaultBusinessDesc = [
10836
+ "This tool provides step-by-step recipes for setting up complex Wix business solutions that involve multiple API calls.",
10837
+ "It excels at guiding the creation of features like booking systems with payments.",
10838
+ "For example, it can guide the setup of a service in Wix Bookings where customers can pay using Wix Payments, such as creating a bookable yoga class",
10839
+ "It searches the Wix Business Solutions documentation for these integrated workflows involving services, bookings, payments, stores, blogs, and more.",
10840
+ "This tool returns a list of articles that are potentially relevant to the input search term.",
10841
+ "**IMPORTANT NOTES:**",
10842
+ "1. Before attempting to implement a multi step API calls on Wix, YOU MUST TRY THIS TOOL FIRST.",
10843
+ "2. Out of the returned list of articles that you will receive, you MUST select the most relevant one and use the ReadFullDocsArticle tool to fetch it."
10844
+ ].join("\n");
11320
10845
  server2.tool(
11321
10846
  "WixBusinessFlowsDocumentation",
11322
- [
11323
- "This tool provides step-by-step recipes for setting up complex Wix business solutions that involve multiple API calls.",
11324
- "It excels at guiding the creation of features like booking systems with payments.",
11325
- "For example, it can guide the setup of a service in Wix Bookings where customers can pay using Wix Payments, such as creating a bookable yoga class",
11326
- "It searches the Wix Business Solutions documentation for these integrated workflows involving services, bookings, payments, stores, blogs, and more.",
11327
- "This tool returns a list of articles that are potentially relevant to the input search term.",
11328
- "**IMPORTANT NOTES:**",
11329
- "1. Before attempting to implement a multi step API calls on Wix, YOU MUST TRY THIS TOOL FIRST.",
11330
- "2. Out of the returned list of articles that you will receive, you MUST select the most relevant one and use the ReadFullDocsArticle tool to fetch it."
11331
- ].join("\n"),
10847
+ getDescription("WixBusinessFlowsDocumentation", defaultBusinessDesc),
11332
10848
  {
11333
10849
  searchTerm: z.string().describe(
11334
10850
  'The search term for the required sample flow (e.g. "setup a new business")'
@@ -11337,6 +10853,7 @@ var addDocsTools = (server2, allowedTools = [
11337
10853
  "The maximum number of results to return, default is 5, max is 15"
11338
10854
  ).min(1).max(15).optional().default(5)
11339
10855
  },
10856
+ { readOnlyHint: true, destructiveHint: false, openWorldHint: false },
11340
10857
  async ({ searchTerm, maxResults }, { panorama }) => {
11341
10858
  try {
11342
10859
  logger.log(`Searching for ${searchTerm} in Wix Sample Flows`);
@@ -11378,16 +10895,17 @@ var addDocsTools = (server2, allowedTools = [
11378
10895
  }
11379
10896
  );
11380
10897
  }
11381
- if (allowedTools.includes("SDK")) {
10898
+ if (allowedTools.includes("SDK") && !disableTools?.includes("SearchWixSDKDocumentation")) {
10899
+ const defaultSdkDesc = [
10900
+ "Searches the official Wix javascript SDK documentation.",
10901
+ "Use this tool whenever you need to write or modify Wix related SDK code.",
10902
+ "Specify the SDK module, function, or feature you need information about (e.g., 'how to query all items from a data collection?', 'how to use wix-stores-backend', 'authentication methods in the SDK').",
10903
+ "If you can't find what you need, try to rephrase your search term or use bigger maxResults value.",
10904
+ getToKnowWixEnabled ? WixREADME_DEPENDENT_DESCRIPTION : ""
10905
+ ].join("\n");
11382
10906
  server2.tool(
11383
10907
  "SearchWixSDKDocumentation",
11384
- [
11385
- "Searches the official Wix javascript SDK documentation.",
11386
- "Use this tool whenever you need to write or modify Wix related SDK code.",
11387
- "Specify the SDK module, function, or feature you need information about (e.g., 'how to query all items from a data collection?', 'how to use wix-stores-backend', 'authentication methods in the SDK').",
11388
- "If you can't find what you need, try to rephrase your search term or use bigger maxResults value.",
11389
- getToKnowWixEnabled ? WixREADME_DEPENDENT_DESCRIPTION : ""
11390
- ].join("\n"),
10908
+ getDescription("SearchWixSDKDocumentation", defaultSdkDesc),
11391
10909
  {
11392
10910
  searchTerm: z.string().describe(
11393
10911
  "The search term to search for in the Wix SDK Documentation"
@@ -11396,6 +10914,7 @@ var addDocsTools = (server2, allowedTools = [
11396
10914
  "The maximum number of results to return, default is 5, max is 15"
11397
10915
  ).min(1).max(15).optional().default(5)
11398
10916
  },
10917
+ { readOnlyHint: true, destructiveHint: false, openWorldHint: false },
11399
10918
  async ({ searchTerm, maxResults }, { panorama }) => {
11400
10919
  try {
11401
10920
  logger.log(`Searching for ${searchTerm} in Wix SDK`);
@@ -11440,16 +10959,17 @@ var addDocsTools = (server2, allowedTools = [
11440
10959
  }
11441
10960
  );
11442
10961
  }
11443
- if (allowedTools.includes("BUILD_APPS")) {
10962
+ if (allowedTools.includes("BUILD_APPS") && !disableTools?.includes("SearchBuildAppsDocumentation")) {
10963
+ const defaultBuildAppsDesc = [
10964
+ "Searches the official Build Apps documentation.",
10965
+ "Use this tool when you need to understand or implement Wix CLI applications related code.",
10966
+ "The search term should be a specific Wix CLI command or specific topic related to Wix CLI applications or its ecosystem (e.g. deployment, creating new extensions etc).",
10967
+ "If you can't find what you need, try to rephrase your search term or use bigger maxResults value.",
10968
+ getToKnowWixEnabled ? WixREADME_DEPENDENT_DESCRIPTION : ""
10969
+ ].join("\n");
11444
10970
  server2.tool(
11445
10971
  "SearchBuildAppsDocumentation",
11446
- [
11447
- "Searches the official Build Apps documentation.",
11448
- "Use this tool when you need to understand or implement Wix CLI applications related code.",
11449
- "The search term should be a specific Wix CLI command or specific topic related to Wix CLI applications or its ecosystem (e.g. deployment, creating new extensions etc).",
11450
- "If you can't find what you need, try to rephrase your search term or use bigger maxResults value.",
11451
- getToKnowWixEnabled ? WixREADME_DEPENDENT_DESCRIPTION : ""
11452
- ].join("\n"),
10972
+ getDescription("SearchBuildAppsDocumentation", defaultBuildAppsDesc),
11453
10973
  {
11454
10974
  searchTerm: z.string().describe(
11455
10975
  "The search term to search for in the Build Apps Documentation"
@@ -11458,6 +10978,7 @@ var addDocsTools = (server2, allowedTools = [
11458
10978
  "The maximum number of results to return, default is 5, max is 15"
11459
10979
  ).min(1).max(15).optional().default(5)
11460
10980
  },
10981
+ { readOnlyHint: true, destructiveHint: false, openWorldHint: false },
11461
10982
  async ({ searchTerm, maxResults }, { panorama }) => {
11462
10983
  try {
11463
10984
  logger.log(`Searching for ${searchTerm} in Build Apps`);
@@ -11494,16 +11015,17 @@ var addDocsTools = (server2, allowedTools = [
11494
11015
  }
11495
11016
  );
11496
11017
  }
11497
- if (allowedTools.includes("WIX_HEADLESS")) {
11018
+ if (allowedTools.includes("WIX_HEADLESS") && !disableTools?.includes("SearchWixHeadlessDocumentation")) {
11019
+ const defaultHeadlessDesc = [
11020
+ "Searches the official Wix Headless Documentation.",
11021
+ "Use this tool when you need to understand or implement Headless related code.",
11022
+ "The search term should be a specific Wix Headless topic or feature you need information about.",
11023
+ "If you can't find what you need, try to rephrase your search term or use bigger maxResults value.",
11024
+ getToKnowWixEnabled ? WixREADME_DEPENDENT_DESCRIPTION : ""
11025
+ ].join("\n");
11498
11026
  server2.tool(
11499
11027
  "SearchWixHeadlessDocumentation",
11500
- [
11501
- "Searches the official Wix Headless Documentation.",
11502
- "Use this tool when you need to understand or implement Headless related code.",
11503
- "The search term should be a specific Wix Headless topic or feature you need information about.",
11504
- "If you can't find what you need, try to rephrase your search term or use bigger maxResults value.",
11505
- getToKnowWixEnabled ? WixREADME_DEPENDENT_DESCRIPTION : ""
11506
- ].join("\n"),
11028
+ getDescription("SearchWixHeadlessDocumentation", defaultHeadlessDesc),
11507
11029
  {
11508
11030
  searchTerm: z.string().describe(
11509
11031
  "The search term to search for in the Headless Documentation"
@@ -11512,6 +11034,7 @@ var addDocsTools = (server2, allowedTools = [
11512
11034
  "The maximum number of results to return, default is 5, max is 15"
11513
11035
  ).min(1).max(15).optional().default(5)
11514
11036
  },
11037
+ { readOnlyHint: true, destructiveHint: false, openWorldHint: false },
11515
11038
  async ({ searchTerm, maxResults }, { panorama }) => {
11516
11039
  try {
11517
11040
  logger.log(`Searching for ${searchTerm} in Headless`);
@@ -11548,22 +11071,24 @@ var addDocsTools = (server2, allowedTools = [
11548
11071
  }
11549
11072
  );
11550
11073
  }
11551
- if (allowedTools.includes("VELO")) {
11074
+ if (allowedTools.includes("VELO") && !disableTools?.includes("SearchWixVeloDocumentation")) {
11075
+ const defaultVeloDesc = [
11076
+ "Searches the official Velo documentation.",
11077
+ "Use this tool when you need to understand or implement Velo related code.",
11078
+ "The search term should be a specific Velo topic or feature you need information about.",
11079
+ "If you can't find what you need, try to rephrase your search term or use bigger maxResults value.",
11080
+ getToKnowWixEnabled ? WixREADME_DEPENDENT_DESCRIPTION : ""
11081
+ ].join("\n");
11552
11082
  server2.tool(
11553
11083
  "SearchWixVeloDocumentation",
11554
- [
11555
- "Searches the official Velo documentation.",
11556
- "Use this tool when you need to understand or implement Velo related code.",
11557
- "The search term should be a specific Velo topic or feature you need information about.",
11558
- "If you can't find what you need, try to rephrase your search term or use bigger maxResults value.",
11559
- getToKnowWixEnabled ? WixREADME_DEPENDENT_DESCRIPTION : ""
11560
- ].join("\n"),
11084
+ getDescription("SearchWixVeloDocumentation", defaultVeloDesc),
11561
11085
  {
11562
11086
  searchTerm: z.string().describe("The search term to search for in the Velo Documentation"),
11563
11087
  maxResults: z.number().describe(
11564
11088
  "The maximum number of results to return, default is 5, max is 15"
11565
11089
  ).min(1).max(15).optional().default(5)
11566
11090
  },
11091
+ { readOnlyHint: true, destructiveHint: false, openWorldHint: false },
11567
11092
  async ({ searchTerm, maxResults }, { panorama }) => {
11568
11093
  try {
11569
11094
  logger.log(`Searching for ${searchTerm} in Velo`);
@@ -11606,102 +11131,110 @@ var addDocsTools = (server2, allowedTools = [
11606
11131
  }
11607
11132
  );
11608
11133
  }
11609
- server2.tool(
11610
- "ReadFullDocsArticle",
11611
- [
11134
+ if (!disableTools?.includes("ReadFullDocsArticle")) {
11135
+ const defaultReadArticleDesc = [
11612
11136
  "Fetches the full Wix docs article or method article.",
11613
11137
  "Use this tool when you read a summary of a docs article or method article, you have the docs url and want to read the full article.",
11614
11138
  getToKnowWixEnabled ? WixREADME_DEPENDENT_DESCRIPTION : ""
11615
- ].join("\n"),
11616
- {
11617
- articleUrl: z.string().url().describe(
11618
- "The URL of the docs article or method article to fetch. Should be something like https://dev.wix.com/docs/.../.../..."
11619
- )
11620
- },
11621
- async ({ articleUrl }, { httpClient }) => {
11622
- try {
11623
- const articleContent = await fetchArticleContent(
11624
- httpClient,
11625
- articleUrl,
11626
- "article"
11627
- );
11628
- if (!articleContent) {
11629
- throw new Error("Article content is empty");
11139
+ ].join("\n");
11140
+ server2.tool(
11141
+ "ReadFullDocsArticle",
11142
+ getDescription("ReadFullDocsArticle", defaultReadArticleDesc),
11143
+ {
11144
+ articleUrl: z.string().url().describe(
11145
+ "The URL of the docs article or method article to fetch. Should be something like https://dev.wix.com/docs/.../.../..."
11146
+ )
11147
+ },
11148
+ { readOnlyHint: true, destructiveHint: false, openWorldHint: false },
11149
+ async ({ articleUrl }, { httpClient }) => {
11150
+ try {
11151
+ const articleContent = await fetchArticleContent(
11152
+ httpClient,
11153
+ articleUrl,
11154
+ "article"
11155
+ );
11156
+ if (!articleContent) {
11157
+ throw new Error("Article content is empty");
11158
+ }
11159
+ return {
11160
+ content: [
11161
+ {
11162
+ type: "text",
11163
+ text: articleContent
11164
+ },
11165
+ {
11166
+ type: "text",
11167
+ text: [
11168
+ "---",
11169
+ "Next, if you are dealing with a method - you MUST call ReadFullDocsMethodSchema tool - it will give you the full request schema for the method."
11170
+ ].join("\n")
11171
+ }
11172
+ ]
11173
+ };
11174
+ } catch (error) {
11175
+ logger.error(
11176
+ `Error fetching article content or method schema for ${articleUrl}: ${error}`
11177
+ );
11178
+ return {
11179
+ content: [
11180
+ {
11181
+ type: "text",
11182
+ text: `Could not fetch article content: "${error.message}". You should try completing the task without it.`
11183
+ }
11184
+ ]
11185
+ };
11630
11186
  }
11631
- return {
11632
- content: [
11633
- {
11634
- type: "text",
11635
- text: articleContent
11636
- },
11637
- {
11638
- type: "text",
11639
- text: [
11640
- "---",
11641
- "Next, if you are dealing with a method - you MUST call ReadFullDocsMethodSchema tool - it will give you the full request schema for the method."
11642
- ].join("\n")
11643
- }
11644
- ]
11645
- };
11646
- } catch (error) {
11647
- logger.error(
11648
- `Error fetching article content or method schema for ${articleUrl}: ${error}`
11649
- );
11650
- return {
11651
- content: [
11652
- {
11653
- type: "text",
11654
- text: `Could not fetch article content: "${error.message}". You should try completing the task without it.`
11655
- }
11656
- ]
11657
- };
11658
11187
  }
11659
- }
11660
- );
11661
- server2.tool(
11662
- "ReadFullDocsMethodSchema",
11663
- [
11188
+ );
11189
+ }
11190
+ if (!disableTools?.includes("ReadFullDocsMethodSchema")) {
11191
+ const defaultMethodSchemaDesc = [
11664
11192
  "Fetches the full method schema for a given method. Always use it before calling the method.",
11665
11193
  "This will give you the entire request/response schema with all the fields and their descriptions."
11666
- ].join("\n"),
11667
- {
11668
- articleUrl: z.string().url().describe(
11669
- "The URL of the documentation to fetch. Should be something like https://dev.wix.com/docs/.../.../..."
11670
- )
11671
- },
11672
- async ({ articleUrl }, { httpClient }) => {
11673
- try {
11674
- const articleContent = await fetchArticleContent(
11675
- httpClient,
11676
- articleUrl,
11677
- "methodSchema"
11678
- );
11679
- if (!articleContent) {
11680
- throw new Error("Method schema is empty");
11194
+ ].join("\n");
11195
+ server2.tool(
11196
+ "ReadFullDocsMethodSchema",
11197
+ getDescription("ReadFullDocsMethodSchema", defaultMethodSchemaDesc),
11198
+ {
11199
+ articleUrl: z.string().url().describe(
11200
+ "The URL of the documentation to fetch. Should be something like https://dev.wix.com/docs/.../.../..."
11201
+ )
11202
+ },
11203
+ { readOnlyHint: true, destructiveHint: false, openWorldHint: false },
11204
+ async ({ articleUrl }, { httpClient }) => {
11205
+ try {
11206
+ const articleContent = await fetchArticleContent(
11207
+ httpClient,
11208
+ articleUrl,
11209
+ "methodSchema"
11210
+ );
11211
+ if (!articleContent) {
11212
+ throw new Error("Method schema is empty");
11213
+ }
11214
+ return {
11215
+ content: [
11216
+ {
11217
+ type: "text",
11218
+ text: articleContent
11219
+ }
11220
+ ]
11221
+ };
11222
+ } catch (error) {
11223
+ logger.error(
11224
+ `Error fetching method schema for ${articleUrl}: ${error}`
11225
+ );
11226
+ return {
11227
+ content: [
11228
+ {
11229
+ type: "text",
11230
+ text: `Could not fetch method schema: "${error.message}". You should try completing the task without it.`
11231
+ }
11232
+ ]
11233
+ };
11681
11234
  }
11682
- return {
11683
- content: [
11684
- {
11685
- type: "text",
11686
- text: articleContent
11687
- }
11688
- ]
11689
- };
11690
- } catch (error) {
11691
- logger.error(
11692
- `Error fetching method schema for ${articleUrl}: ${error}`
11693
- );
11694
- return {
11695
- content: [
11696
- {
11697
- type: "text",
11698
- text: `Could not fetch method schema: "${error.message}". You should try completing the task without it.`
11699
- }
11700
- ]
11701
- };
11702
11235
  }
11703
- }
11704
- );
11236
+ );
11237
+ }
11705
11238
  };
11706
11239
 
11707
11240
  // src/cli-tools/cli.ts
@@ -11840,13 +11373,17 @@ function addCliTools(server2, allowedTools = ["CLI_COMMAND"], isWixOne2 = false)
11840
11373
  }
11841
11374
 
11842
11375
  // src/wix-mcp-server.ts
11843
- var import_v2 = __toESM(require_v2(), 1);
11844
11376
  import { v4 as uuidv4 } from "uuid";
11845
11377
  import { captureException as captureException2, setTags } from "@sentry/node";
11846
11378
  import {
11847
11379
  McpServer
11848
11380
  } from "@modelcontextprotocol/sdk/server/mcp.js";
11849
11381
 
11382
+ // ../../node_modules/@wix/bi-logger-api-infra-data/dist/esm/v2/index.js
11383
+ function wixMcpRequestSrc39Evid1607(params) {
11384
+ return { evid: 1607, src: 39, endpoint: "", params };
11385
+ }
11386
+
11850
11387
  // src/infra/panorama.ts
11851
11388
  var import_panorama_client_node = __toESM(require_cjs2(), 1);
11852
11389
  var packageJson = {
@@ -11940,121 +11477,134 @@ var WixMcpServer = class extends McpServer {
11940
11477
  tool(...args) {
11941
11478
  const cbIndex = args.findIndex((arg) => typeof arg === "function");
11942
11479
  if (cbIndex !== -1) {
11943
- const originalCb = args[cbIndex];
11944
11480
  const toolName = args[0];
11945
- const isDevEnvironment = DEV_ENVIRONMENTS.includes(this.nodeEnv);
11946
- const wrappedCb = async (...cbArgs) => {
11947
- setTags({
11948
- panoramaSessionId: this.sessionId
11949
- });
11950
- const panorama = createPanoramaClient({
11951
- environment: this.nodeEnv,
11952
- sessionId: this.sessionId,
11953
- componentId: toolName,
11954
- uuid: this.getUserId?.(),
11955
- serverInfo: this.serverInfo
11481
+ const originalCb = args[cbIndex];
11482
+ args[cbIndex] = this.wrapToolCallback(toolName, originalCb);
11483
+ }
11484
+ return super.tool.apply(this, args);
11485
+ }
11486
+ registerTool(name, config, cb) {
11487
+ const wrappedCb = this.wrapToolCallback(name, cb);
11488
+ return super.registerTool(
11489
+ name,
11490
+ config,
11491
+ wrappedCb
11492
+ );
11493
+ }
11494
+ wrapToolCallback(toolName, originalCb) {
11495
+ const isDevEnvironment = DEV_ENVIRONMENTS.includes(this.nodeEnv);
11496
+ return async (...cbArgs) => {
11497
+ setTags({
11498
+ panoramaSessionId: this.sessionId
11499
+ });
11500
+ const panorama = createPanoramaClient({
11501
+ environment: this.nodeEnv,
11502
+ sessionId: this.sessionId,
11503
+ componentId: toolName,
11504
+ uuid: this.getUserId?.(),
11505
+ serverInfo: this.serverInfo
11506
+ });
11507
+ const toolInvocationId = uuidv4();
11508
+ const httpClient = new import_http_client.HttpClient({
11509
+ headers: {
11510
+ "x-wix-mcp": `execution-id=${toolInvocationId}`
11511
+ }
11512
+ });
11513
+ let toolBiParams = {};
11514
+ const argsBeforeExtra = cbArgs.slice(0, cbArgs.length - 1);
11515
+ const extra = cbArgs[cbArgs.length - 1];
11516
+ const wrappedExtra = {
11517
+ ...extra,
11518
+ panorama: panorama.createClientForComponent(),
11519
+ httpClient,
11520
+ biLogger: this.biLogger,
11521
+ logger,
11522
+ setToolBiParams: (params) => {
11523
+ toolBiParams = params;
11524
+ }
11525
+ };
11526
+ if (!isDevEnvironment) {
11527
+ const userId = this.getUserId?.();
11528
+ this.biLogger.updateDefaults({
11529
+ _uuid: userId ?? ""
11956
11530
  });
11957
- const toolInvocationId = uuidv4();
11958
- const httpClient = new import_http_client.HttpClient({
11959
- headers: {
11960
- "x-wix-mcp": `execution-id=${toolInvocationId}`
11961
- }
11531
+ panorama.transaction(toolName).start({
11532
+ toolInvocationId,
11533
+ params: JSON.stringify(argsBeforeExtra)
11962
11534
  });
11963
- let toolBiParams = {};
11964
- const argsBeforeExtra = cbArgs.slice(0, cbArgs.length - 1);
11965
- const extra = cbArgs[cbArgs.length - 1];
11966
- const wrappedExtra = {
11967
- ...extra,
11968
- panorama: panorama.createClientForComponent(),
11969
- httpClient,
11970
- logger,
11971
- setToolBiParams: (params) => {
11972
- toolBiParams = params;
11973
- }
11974
- };
11535
+ }
11536
+ const startTime = performance.now();
11537
+ let toolSucceeded, errorBody;
11538
+ try {
11539
+ const cbResult = await originalCb(...argsBeforeExtra, wrappedExtra);
11540
+ toolSucceeded = !cbResult.isError;
11541
+ if (toolSucceeded && !isDevEnvironment) {
11542
+ panorama.transaction(toolName).finish({ toolInvocationId });
11543
+ }
11544
+ if (!toolSucceeded) {
11545
+ panorama.errorMonitor().reportError(new Error(`Tool ${toolName} returned isError: true`), {
11546
+ context: {
11547
+ toolName,
11548
+ toolInvocationId,
11549
+ params: JSON.stringify(argsBeforeExtra),
11550
+ error: JSON.stringify(cbResult, null, 2)
11551
+ }
11552
+ });
11553
+ }
11554
+ return cbResult;
11555
+ } catch (e) {
11556
+ toolSucceeded = false;
11557
+ errorBody = e.message;
11975
11558
  if (!isDevEnvironment) {
11976
- panorama.transaction(toolName).start({
11977
- toolInvocationId,
11978
- params: JSON.stringify(argsBeforeExtra)
11559
+ panorama.errorMonitor().reportError(e, {
11560
+ context: {
11561
+ toolName,
11562
+ toolInvocationId,
11563
+ params: JSON.stringify(argsBeforeExtra),
11564
+ error: errorBody
11565
+ }
11566
+ });
11567
+ captureException2(e, {
11568
+ tags: {
11569
+ componentId: toolName,
11570
+ toolName
11571
+ }
11979
11572
  });
11980
11573
  }
11981
- const startTime = performance.now();
11982
- let toolSucceeded, errorBody;
11983
- try {
11984
- const cbResult = await originalCb(...argsBeforeExtra, wrappedExtra);
11985
- toolSucceeded = !cbResult.isError;
11986
- if (toolSucceeded && !isDevEnvironment) {
11987
- panorama.transaction(toolName).finish({ toolInvocationId });
11988
- }
11989
- if (!toolSucceeded) {
11990
- panorama.errorMonitor().reportError(
11991
- new Error(`Tool ${toolName} returned isError: true`),
11992
- {
11993
- context: {
11994
- toolName,
11995
- toolInvocationId,
11996
- params: JSON.stringify(argsBeforeExtra),
11997
- error: JSON.stringify(cbResult, null, 2)
11998
- }
11999
- }
12000
- );
12001
- }
12002
- return cbResult;
12003
- } catch (e) {
12004
- toolSucceeded = false;
12005
- errorBody = e.message;
12006
- if (!isDevEnvironment) {
12007
- panorama.errorMonitor().reportError(e, {
12008
- context: {
12009
- toolName,
12010
- toolInvocationId,
12011
- params: JSON.stringify(argsBeforeExtra),
12012
- error: errorBody
12013
- }
12014
- });
12015
- captureException2(e, {
12016
- tags: {
12017
- componentId: toolName,
12018
- toolName
12019
- }
12020
- });
12021
- }
12022
- return {
12023
- isError: true,
12024
- content: [{ type: "text", text: e.message }]
12025
- };
12026
- } finally {
12027
- const endTime = performance.now();
12028
- const duration = Math.round(endTime - startTime);
12029
- const clientName = this.server.getClientVersion()?.name;
12030
- if (!isDevEnvironment) {
12031
- const userId = this.getUserId?.();
12032
- this.biLogger.updateDefaults({
12033
- _msid: this.context?.siteId ?? toolBiParams.siteId ?? "",
12034
- _visitorId: toolBiParams.visitorId ?? "",
12035
- _uuid: userId ?? "",
12036
- _request_id: toolBiParams.requestId ?? ""
12037
- });
12038
- this.biLogger.report(
12039
- (0, import_v2.wixMcpRequestSrc39Evid1607)({
12040
- clientName: this.getClientName?.() || clientName,
12041
- duration,
12042
- errorBody,
12043
- toolInvocationId,
12044
- toolName,
12045
- params: JSON.stringify(argsBeforeExtra),
12046
- origin: this.nodeEnv,
12047
- sessionId: this.sessionId,
12048
- executionResult: toolSucceeded ? "Success" : "Error",
12049
- requestId: toolBiParams.requestId
12050
- })
12051
- );
12052
- }
11574
+ const mcpMeta = e.mcpMeta;
11575
+ return {
11576
+ isError: true,
11577
+ content: [{ type: "text", text: e.message }],
11578
+ ...mcpMeta && { _meta: mcpMeta }
11579
+ };
11580
+ } finally {
11581
+ const endTime = performance.now();
11582
+ const duration = Math.round(endTime - startTime);
11583
+ const clientName = this.server.getClientVersion()?.name;
11584
+ if (!isDevEnvironment) {
11585
+ this.biLogger.updateDefaults({
11586
+ _msid: this.context?.siteId ?? toolBiParams.siteId ?? "",
11587
+ _visitorId: toolBiParams.visitorId ?? "",
11588
+ _request_id: toolBiParams.requestId ?? ""
11589
+ });
11590
+ this.biLogger.report(
11591
+ wixMcpRequestSrc39Evid1607({
11592
+ clientName: this.getClientName?.() || clientName,
11593
+ duration,
11594
+ errorBody,
11595
+ toolInvocationId,
11596
+ toolName,
11597
+ params: JSON.stringify(argsBeforeExtra),
11598
+ origin: this.nodeEnv,
11599
+ sessionId: this.sessionId,
11600
+ executionResult: toolSucceeded ? "Success" : "Error",
11601
+ requestId: toolBiParams.requestId,
11602
+ jobId: toolBiParams.jobId
11603
+ })
11604
+ );
12053
11605
  }
12054
- };
12055
- args[cbIndex] = wrappedCb;
12056
- }
12057
- return super.tool.apply(this, args);
11606
+ }
11607
+ };
12058
11608
  }
12059
11609
  };
12060
11610
 
@@ -12180,18 +11730,20 @@ function isApiUrlAllowed(url) {
12180
11730
  }
12181
11731
 
12182
11732
  // src/api-call/index.ts
12183
- function addApiCallTool(server2, strategy, allowedTools = ["CallWixSiteAPI", "ListWixSites", "ManageWixSite"]) {
12184
- if (allowedTools.includes("CallWixSiteAPI")) {
11733
+ function addApiCallTool(server2, strategy, allowedTools = ["CallWixSiteAPI", "ListWixSites", "ManageWixSite"], disableTools = [], toolDescriptions) {
11734
+ const getDescription = (toolName, defaultDesc) => toolDescriptions?.[toolName] ?? defaultDesc;
11735
+ if (allowedTools.includes("CallWixSiteAPI") && !disableTools.includes("CallWixSiteAPI")) {
11736
+ const defaultCallApiDesc = [
11737
+ "Call Wix apis on a business or site. Use this to create, read, update, and delete data and other Wix entities in your Wix site,",
11738
+ `You should ALWAYS check the rest docs - "SearchWixRESTDocumentation" for the specific API you want to call, don't just call it without knowing what it does, CHECK THE DOCS`,
11739
+ "Error Handling:",
11740
+ 'If the error is related to missing installed app or "WDE0110: Wix Code not enabled", you should install the missing app by using ReadFullDocsArticle tool to fetch the article - https://dev.wix.com/docs/kb-only/MCP_REST_RECIPES_KB_ID/TRAIN_wix.devcenter.apps.installer.v1.AppsInstallerService.InstallApp',
11741
+ "**Note:** there is no need to check if an app is installed/ Wix Code enabled in advance, just call the API and handle the error if it occurs, the API error message will state it clearly.",
11742
+ "For any other error, use your default error handling mechanism"
11743
+ ].join("\n");
12185
11744
  server2.tool(
12186
11745
  "CallWixSiteAPI",
12187
- [
12188
- "Call Wix apis on a business or site. Use this to create, read, update, and delete data and other Wix entities in your Wix site,",
12189
- `You should ALWAYS check the rest docs - "SearchWixRESTDocumentation" for the specific API you want to call, don't just call it without knowing what it does, CHECK THE DOCS`,
12190
- "Error Handling:",
12191
- 'If the error is related to missing installed app or "WDE0110: Wix Code not enabled", you should install the missing app by using ReadFullDocsArticle tool to fetch the article - https://dev.wix.com/docs/kb-only/MCP_REST_RECIPES_KB_ID/TRAIN_wix.devcenter.apps.installer.v1.AppsInstallerService.InstallApp',
12192
- "**Note:** there is no need to check if an app is installed/ Wix Code enabled in advance, just call the API and handle the error if it occurs, the API error message will state it clearly.",
12193
- "For any other error, use your default error handling mechanism"
12194
- ].join("\n"),
11746
+ getDescription("CallWixSiteAPI", defaultCallApiDesc),
12195
11747
  {
12196
11748
  siteId: z3.string().describe("The id of the site selected using site selection tool"),
12197
11749
  url: z3.string().url().describe(
@@ -12204,6 +11756,7 @@ function addApiCallTool(server2, strategy, allowedTools = ["CallWixSiteAPI", "Li
12204
11756
  "A string representing of a valid JSON object to describe the body of the request"
12205
11757
  )
12206
11758
  },
11759
+ { readOnlyHint: false, destructiveHint: true, openWorldHint: false },
12207
11760
  async ({ url, body, method, siteId }, { httpClient, setToolBiParams }) => {
12208
11761
  logger.log(
12209
11762
  `Calling Wix Site API: ${siteId} ${url}, body: ${JSON.stringify(body)}`
@@ -12258,10 +11811,11 @@ function addApiCallTool(server2, strategy, allowedTools = ["CallWixSiteAPI", "Li
12258
11811
  }
12259
11812
  );
12260
11813
  }
12261
- if (allowedTools.includes("ListWixSites")) {
11814
+ if (allowedTools.includes("ListWixSites") && !disableTools.includes("ListWixSites")) {
11815
+ const defaultListSitesDesc = "List Wix sites for the current user, by default it will return all sites, but you can filter by name";
12262
11816
  server2.tool(
12263
11817
  "ListWixSites",
12264
- "List Wix sites for the current user, by default it will return all sites, but you can filter by name",
11818
+ getDescription("ListWixSites", defaultListSitesDesc),
12265
11819
  {
12266
11820
  nameSearch: z3.string().optional().describe(
12267
11821
  "optional filer by name, if not provided all sites will be returned"
@@ -12269,6 +11823,7 @@ function addApiCallTool(server2, strategy, allowedTools = ["CallWixSiteAPI", "Li
12269
11823
  // Hack for Cursor ignoring tools with no params (when nameSearch is optional)
12270
11824
  alwaysTrue: z3.boolean().describe("Always pass true to this parameter")
12271
11825
  },
11826
+ { readOnlyHint: true, destructiveHint: false, openWorldHint: false },
12272
11827
  async ({ nameSearch }, { httpClient }) => {
12273
11828
  const sitesRes = await httpClient.post(
12274
11829
  "https://www.wixapis.com/site-list/v2/sites/query",
@@ -12312,12 +11867,13 @@ function addApiCallTool(server2, strategy, allowedTools = ["CallWixSiteAPI", "Li
12312
11867
  }
12313
11868
  );
12314
11869
  }
12315
- if (allowedTools.includes("ManageWixSite")) {
11870
+ if (allowedTools.includes("ManageWixSite") && !disableTools.includes("ManageWixSite")) {
11871
+ const defaultManageSiteDesc = `Use account level API in order to create a site, update a site and publish site.
11872
+ ALWAYS use "SearchWixRESTDocumentation" to search for the API you should invoke, NEVER GUESS THE SITE API URL
11873
+ You should ALWAYS check the rest docs - "SearchWixRESTDocumentation" for the specific API you want to call, don't just call it without knowing what it does, CHECK THE DOCS`;
12316
11874
  server2.tool(
12317
11875
  "ManageWixSite",
12318
- `Use account level API in order to create a site, update a site and publish site.
12319
- ALWAYS use "SearchWixRESTDocumentation" to search for the API you should invoke, NEVER GUESS THE SITE API URL
12320
- You should ALWAYS check the rest docs - "SearchWixRESTDocumentation" for the specific API you want to call, don't just call it without knowing what it does, CHECK THE DOCS`,
11876
+ getDescription("ManageWixSite", defaultManageSiteDesc),
12321
11877
  {
12322
11878
  url: z3.string().url().describe(
12323
11879
  "The url of the api to call - ALWAYS get the information from the Wix REST docs DONT GUESS IT, the URL MUST BE ABSOLUTE URL"
@@ -12329,6 +11885,7 @@ function addApiCallTool(server2, strategy, allowedTools = ["CallWixSiteAPI", "Li
12329
11885
  "A string representing of a valid JSON object to describe the body of the request"
12330
11886
  )
12331
11887
  },
11888
+ { readOnlyHint: false, destructiveHint: true, openWorldHint: false },
12332
11889
  async ({ url, body, method }, { httpClient }) => {
12333
11890
  logger.log(
12334
11891
  `Calling Wix Account level API: ${url}, body: ${JSON.stringify(body)}`
@@ -12382,6 +11939,8 @@ async function addVeloReadmeTools(server2) {
12382
11939
  server2.tool(
12383
11940
  "VeloREADME",
12384
11941
  "This tool is set for providing Velo context in order to be used by the agent for executing Velo-related tasks.",
11942
+ {},
11943
+ { readOnlyHint: true, destructiveHint: false, openWorldHint: false },
12385
11944
  async () => {
12386
11945
  return {
12387
11946
  content: [