@piwitests/server 0.16.0 → 0.17.0

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 (207) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/{DqnyWaSQ.js → -9tk1FrT.js} +1 -1
  3. package/.output/public/_nuxt/26ll_vBr.js +1 -0
  4. package/.output/public/_nuxt/{BR9H8k-L.js → 3QTorEhJ.js} +1 -1
  5. package/.output/public/_nuxt/{CgoAUz76.js → 3QTvYrZp.js} +1 -1
  6. package/.output/public/_nuxt/{l0gdGdar.js → 73aPL7Ir.js} +1 -1
  7. package/.output/public/_nuxt/{N3pCB6-m.js → 8jZmK2De.js} +1 -1
  8. package/.output/public/_nuxt/{B33X4zrC.js → 8xyZSRSO.js} +1 -1
  9. package/.output/public/_nuxt/{B3NbDoBP.js → 99tAfVF5.js} +1 -1
  10. package/.output/public/_nuxt/{ze9-Ill2.js → B1CUXGbl.js} +1 -1
  11. package/.output/public/_nuxt/{CQeMb57w.js → B6hPf4UR.js} +1 -1
  12. package/.output/public/_nuxt/{DL20rwkA.js → B6w76fJT.js} +1 -1
  13. package/.output/public/_nuxt/{Bvfmwzgw.js → BDcIWTTq.js} +1 -1
  14. package/.output/public/_nuxt/{DgYM3eyi.js → BE8ykmwr.js} +1 -1
  15. package/.output/public/_nuxt/{BY4oA2IH.js → BEsJE07U.js} +1 -1
  16. package/.output/public/_nuxt/{oNq5pd3r.js → BGZQONfm.js} +1 -1
  17. package/.output/public/_nuxt/{BZekCf_x.js → BRdhP5lm.js} +1 -1
  18. package/.output/public/_nuxt/{Br2K9yi_.js → BU6xjw05.js} +1 -1
  19. package/.output/public/_nuxt/{DjZKuUMz.js → BWFY2RuU.js} +1 -1
  20. package/.output/public/_nuxt/{CCRRqXez.js → B_QIrc7l.js} +1 -1
  21. package/.output/public/_nuxt/{BQrSEuzu.js → Ba4_ydKG.js} +1 -1
  22. package/.output/public/_nuxt/{Dz55UR7w.js → BcLXUmKT.js} +1 -1
  23. package/.output/public/_nuxt/{nCjfWTGm.js → BciovqwK.js} +1 -1
  24. package/.output/public/_nuxt/{JCFZINev.js → BgDEjrcz.js} +1 -1
  25. package/.output/public/_nuxt/{DCpmQ47_.js → BoRJdCd4.js} +1 -1
  26. package/.output/public/_nuxt/{C8RBRg7I.js → Bpha13F_.js} +1 -1
  27. package/.output/public/_nuxt/{BdFEUAlx.js → Bq0PQfQY.js} +1 -1
  28. package/.output/public/_nuxt/{BPKwYP2Q.js → BrT_Sys2.js} +2 -2
  29. package/.output/public/_nuxt/{CTdvGdc2.js → Bua_L6p4.js} +1 -1
  30. package/.output/public/_nuxt/{BIksQZfR.js → BwKwWgQe.js} +1 -1
  31. package/.output/public/_nuxt/{d5ZB3uxF.js → BxRsAYRS.js} +1 -1
  32. package/.output/public/_nuxt/{mGJLLqyN.js → ByoIgYX_.js} +1 -1
  33. package/.output/public/_nuxt/{CSYJwpXG.js → C7nwFokE.js} +1 -1
  34. package/.output/public/_nuxt/CEuVRSr0.js +3 -0
  35. package/.output/public/_nuxt/{2xvsvjLO.js → CHHqhAsw.js} +1 -1
  36. package/.output/public/_nuxt/{DhA17dqR.js → CHIbdzqp.js} +1 -1
  37. package/.output/public/_nuxt/{IFqRT_xJ.js → CMB-NkFa.js} +1 -1
  38. package/.output/public/_nuxt/{mfzslNx_.js → CNULGfLp.js} +1 -1
  39. package/.output/public/_nuxt/{CKB_doYB.js → COVRAesU.js} +1 -1
  40. package/.output/public/_nuxt/{Bzl2H_vl.js → CSAmL8XJ.js} +1 -1
  41. package/.output/public/_nuxt/{bAfTAihV.js → CWmQcueG.js} +1 -1
  42. package/.output/public/_nuxt/{BBdfPriC.js → CYuWAvXE.js} +1 -1
  43. package/.output/public/_nuxt/CbuWynGG.js +1 -0
  44. package/.output/public/_nuxt/{e1zUTrBb.js → Ce3tBrN7.js} +1 -1
  45. package/.output/public/_nuxt/{BGYbnqA7.js → Cf4h8qty.js} +1 -1
  46. package/.output/public/_nuxt/{Kc7La4sL.js → Cl96oI21.js} +1 -1
  47. package/.output/public/_nuxt/{DdbrJwT-.js → ClJkng9p.js} +1 -1
  48. package/.output/public/_nuxt/{B7yG1G_l.js → CoKEjZX7.js} +1 -1
  49. package/.output/public/_nuxt/CvtYJHkY.js +1 -0
  50. package/.output/public/_nuxt/{DszOHBMG.js → CxLN5Tmq.js} +1 -1
  51. package/.output/public/_nuxt/{B3sNtVnf.js → Cz2HhsB6.js} +1 -1
  52. package/.output/public/_nuxt/{C38aZbFJ.js → D0-HTQTD.js} +1 -1
  53. package/.output/public/_nuxt/{D2jhe9JK.js → D13ybpY3.js} +1 -1
  54. package/.output/public/_nuxt/{k-z_VVTK.js → D7P0ML0H.js} +1 -1
  55. package/.output/public/_nuxt/{BV83yObd.js → D811X8KM.js} +1 -1
  56. package/.output/public/_nuxt/DATh_1DQ.js +1 -0
  57. package/.output/public/_nuxt/{1AB111xL.js → DAeYmPfX.js} +1 -1
  58. package/.output/public/_nuxt/DCffDvxl.js +1 -0
  59. package/.output/public/_nuxt/DDPptydi.js +2 -0
  60. package/.output/public/_nuxt/{BpNqHxg2.js → DFM2jv9I.js} +1 -1
  61. package/.output/public/_nuxt/{BuZOa2M3.js → DJHNEqb7.js} +1 -1
  62. package/.output/public/_nuxt/{CMYQpoOI.js → DPSOtRoz.js} +1 -1
  63. package/.output/public/_nuxt/{BkDfdHFm.js → DRTxhZBV.js} +1 -1
  64. package/.output/public/_nuxt/{B2lYFco4.js → DS9yGVFL.js} +1 -1
  65. package/.output/public/_nuxt/{DfcAIbcX.js → DT5rhzhJ.js} +1 -1
  66. package/.output/public/_nuxt/{BpceIssd.js → DTH2lteW.js} +1 -1
  67. package/.output/public/_nuxt/DUe6xuKQ.js +1 -0
  68. package/.output/public/_nuxt/{DcCNnjKl.js → D_A6axXa.js} +1 -1
  69. package/.output/public/_nuxt/D_TbJDHY.js +1 -0
  70. package/.output/public/_nuxt/{DIkLLyR6.js → Df3QtbpW.js} +1 -1
  71. package/.output/public/_nuxt/{Dzz9_Z0u.js → DjRhouSr.js} +1 -1
  72. package/.output/public/_nuxt/{CuYYdFBL.js → Dn6cGVYB.js} +1 -1
  73. package/.output/public/_nuxt/{CoHGrO41.js → DpJrGwCr.js} +2 -2
  74. package/.output/public/_nuxt/DqsMiUoW.js +2 -0
  75. package/.output/public/_nuxt/{D33On6AX.js → Ds2Y3oms.js} +1 -1
  76. package/.output/public/_nuxt/Ds4Lb1vi.js +7 -0
  77. package/.output/public/_nuxt/{DuMv-ugy.js → DtXREpk_.js} +1 -1
  78. package/.output/public/_nuxt/{BRKa6EQR.js → DvC5Adg1.js} +1 -1
  79. package/.output/public/_nuxt/{BVW5qIDP.js → DvXvJzFP.js} +1 -1
  80. package/.output/public/_nuxt/{BIf1R_fu.js → Dvc1aWpA.js} +1 -1
  81. package/.output/public/_nuxt/{-KQO1A4C.js → DwZiG9xH.js} +1 -1
  82. package/.output/public/_nuxt/Dx1oCMgy.js +47 -0
  83. package/.output/public/_nuxt/{CpO-ABDW.js → DxQq_L07.js} +1 -1
  84. package/.output/public/_nuxt/{BoRFLTAO.js → Dym66h3p.js} +1 -1
  85. package/.output/public/_nuxt/{ABGJk0pu.js → Dz3Wbekz.js} +1 -1
  86. package/.output/public/_nuxt/{qzAP_nm7.js → HCK35QD8.js} +1 -1
  87. package/.output/public/_nuxt/{DuBBqqbF.js → L6HlmmEa.js} +1 -1
  88. package/.output/public/_nuxt/{BS0gKVuF.js → PxPbRVF-.js} +1 -1
  89. package/.output/public/_nuxt/{DbeHHTk-.js → QFMx1VKs.js} +1 -1
  90. package/.output/public/_nuxt/{C3r_Sv1p.js → Sgf5OLhm.js} +1 -1
  91. package/.output/public/_nuxt/US3YSX4T.js +1 -0
  92. package/.output/public/_nuxt/{xUrLy-Zn.js → Wfk1m0ni.js} +1 -1
  93. package/.output/public/_nuxt/builds/latest.json +1 -1
  94. package/.output/public/_nuxt/builds/meta/05a2dd95-d1c1-4e3a-8625-ac6bfea83837.json +1 -0
  95. package/.output/public/_nuxt/{B43OGXzV.js → cBj9fai9.js} +1 -1
  96. package/.output/public/_nuxt/{BpIsBP5g.js → csqspBeX.js} +1 -1
  97. package/.output/public/_nuxt/entry.BaIGwMjT.css +1 -0
  98. package/.output/public/_nuxt/{CJFqA_QW.js → jlBi8Byu.js} +1 -1
  99. package/.output/public/_nuxt/{D4VpoHDP.js → lCkcEykv.js} +1 -1
  100. package/.output/public/_nuxt/{DOuoR2Pk.js → qYFZH4Z8.js} +1 -1
  101. package/.output/public/_nuxt/{uKeO2H7F.js → r9WApUfF.js} +1 -1
  102. package/.output/public/_nuxt/{DRtTLQri.js → rw7Hdll3.js} +1 -1
  103. package/.output/public/_nuxt/{C1K3r_fc.js → sMFaPAAR.js} +1 -1
  104. package/.output/public/_nuxt/{DAWn6Z7h.js → vzXhOO8R.js} +1 -1
  105. package/.output/public/_nuxt/{DJS3Bf50.js → yZ4LuI9d.js} +1 -1
  106. package/.output/public/_nuxt/{iwD5atI2.js → z7PmsnBG.js} +1 -1
  107. package/.output/public/_nuxt/{Bb64FEFL.js → za5M7BGh.js} +1 -1
  108. package/.output/public/sw.js +1 -1
  109. package/.output/server/chunks/build/{Checkbox-7ZiMz60w.mjs → Checkbox-cVOSIY93.mjs} +2 -2
  110. package/.output/server/chunks/build/Checkbox-cVOSIY93.mjs.map +1 -0
  111. package/.output/server/chunks/build/{CiEnvCard-DNxBVvx4.mjs → CiEnvCard-DXPOhdSG.mjs} +2 -2
  112. package/.output/server/chunks/build/CiEnvCard-DXPOhdSG.mjs.map +1 -0
  113. package/.output/server/chunks/build/DataLocationCard-D6xSOrme.mjs +102 -0
  114. package/.output/server/chunks/build/DataLocationCard-D6xSOrme.mjs.map +1 -0
  115. package/.output/server/chunks/build/DesktopMcpCard-B4JuUTKj.mjs +122 -0
  116. package/.output/server/chunks/build/DesktopMcpCard-B4JuUTKj.mjs.map +1 -0
  117. package/.output/server/chunks/build/{ProjectTestCasesTable-9418EI8J.mjs → ProjectTestCasesTable-9Ia825h8.mjs} +2 -2
  118. package/.output/server/chunks/build/ProjectTestCasesTable-9Ia825h8.mjs.map +1 -0
  119. package/.output/server/chunks/build/{Select-COwTIQlV.mjs → Select-ppPz926C.mjs} +3 -2
  120. package/.output/server/chunks/build/Select-ppPz926C.mjs.map +1 -0
  121. package/.output/server/chunks/build/{SelectMenu-BkyAHFCM.mjs → SelectMenu-799c_Ils.mjs} +2 -2
  122. package/.output/server/chunks/build/{SelectMenu-BkyAHFCM.mjs.map → SelectMenu-799c_Ils.mjs.map} +1 -1
  123. package/.output/server/chunks/build/{Switch-htSKgC38.mjs → Switch-xQQ3_ME1.mjs} +2 -2
  124. package/.output/server/chunks/build/Switch-xQQ3_ME1.mjs.map +1 -0
  125. package/.output/server/chunks/build/{_id_-CnwAyvvS.mjs → _id_-B2yirIuA.mjs} +5 -4
  126. package/.output/server/chunks/build/{_id_-CnwAyvvS.mjs.map → _id_-B2yirIuA.mjs.map} +1 -1
  127. package/.output/server/chunks/build/{_id_-BDqvTM9D.mjs → _id_-B4V5fop6.mjs} +5 -4
  128. package/.output/server/chunks/build/{_id_-BDqvTM9D.mjs.map → _id_-B4V5fop6.mjs.map} +1 -1
  129. package/.output/server/chunks/build/{_id_-Dy67M9Dj.mjs → _id_-bWcP2xFl.mjs} +8 -7
  130. package/.output/server/chunks/build/{_id_-Dy67M9Dj.mjs.map → _id_-bWcP2xFl.mjs.map} +1 -1
  131. package/.output/server/chunks/build/about-TuEZ9n1Q.mjs +625 -0
  132. package/.output/server/chunks/build/about-TuEZ9n1Q.mjs.map +1 -0
  133. package/.output/server/chunks/build/{ai-V3YOh3yx.mjs → ai-7jdaPOmj.mjs} +6 -5
  134. package/.output/server/chunks/build/{ai-V3YOh3yx.mjs.map → ai-7jdaPOmj.mjs.map} +1 -1
  135. package/.output/server/chunks/build/{analytics-BBlAEmj5.mjs → analytics-B276WPeU.mjs} +7 -6
  136. package/.output/server/chunks/build/{analytics-BBlAEmj5.mjs.map → analytics-B276WPeU.mjs.map} +1 -1
  137. package/.output/server/chunks/build/client.precomputed.mjs +1 -1
  138. package/.output/server/chunks/build/{default-BfMirIgG.mjs → default-BSzdkM_L.mjs} +9 -7
  139. package/.output/server/chunks/build/default-BSzdkM_L.mjs.map +1 -0
  140. package/.output/server/chunks/build/{docs-DtNcJCyb.mjs → docs-EXhN3sqC.mjs} +4 -3
  141. package/.output/server/chunks/build/{docs-DtNcJCyb.mjs.map → docs-EXhN3sqC.mjs.map} +1 -1
  142. package/.output/server/chunks/build/{edit-Dsf11mL5.mjs → edit-C9Z7oZeu.mjs} +5 -4
  143. package/.output/server/chunks/build/edit-C9Z7oZeu.mjs.map +1 -0
  144. package/.output/server/chunks/build/handleAndDispatchCustomEvent-Bk_AVSSo.mjs +13 -0
  145. package/.output/server/chunks/build/handleAndDispatchCustomEvent-Bk_AVSSo.mjs.map +1 -0
  146. package/.output/server/chunks/build/{index-DzEgjHlB.mjs → index-BK9PTRpd.mjs} +24 -8
  147. package/.output/server/chunks/build/{index-DzEgjHlB.mjs.map → index-BK9PTRpd.mjs.map} +1 -1
  148. package/.output/server/chunks/build/{index-BgpEKTSq.mjs → index-DVUtBexc.mjs} +9 -8
  149. package/.output/server/chunks/build/{index-BgpEKTSq.mjs.map → index-DVUtBexc.mjs.map} +1 -1
  150. package/.output/server/chunks/build/{mcp-CXwa3xU3.mjs → mcp-CQ-21rwc.mjs} +132 -25
  151. package/.output/server/chunks/build/mcp-CQ-21rwc.mjs.map +1 -0
  152. package/.output/server/chunks/build/{notifications-hJj8tbAT.mjs → notifications-Dzm9c0u_.mjs} +4 -3
  153. package/.output/server/chunks/build/notifications-Dzm9c0u_.mjs.map +1 -0
  154. package/.output/server/chunks/build/server.mjs +17 -17
  155. package/.output/server/chunks/build/{settings-metadata-Cp0dx0vm.mjs → settings-metadata-B0wo5R-W.mjs} +3 -1
  156. package/.output/server/chunks/build/settings-metadata-B0wo5R-W.mjs.map +1 -0
  157. package/.output/server/chunks/build/{settings-Ci_7EXYQ.mjs → settings-pNyPBXVa.mjs} +4 -3
  158. package/.output/server/chunks/build/settings-pNyPBXVa.mjs.map +1 -0
  159. package/.output/server/chunks/build/{storage-CM-Pd-9E.mjs → storage-XelzuyPy.mjs} +16 -182
  160. package/.output/server/chunks/build/storage-XelzuyPy.mjs.map +1 -0
  161. package/.output/server/chunks/build/{test-cases-DkGQB027.mjs → test-cases-pmOxi-AN.mjs} +5 -4
  162. package/.output/server/chunks/build/test-cases-pmOxi-AN.mjs.map +1 -0
  163. package/.output/server/chunks/build/useFormControl-BLpq1s4O.mjs +9 -0
  164. package/.output/server/chunks/build/useFormControl-BLpq1s4O.mjs.map +1 -0
  165. package/.output/server/chunks/build/useIsDesktop-BS13spVj.mjs +9 -0
  166. package/.output/server/chunks/build/useIsDesktop-BS13spVj.mjs.map +1 -0
  167. package/.output/server/chunks/build/{useSettingsNav-D2knPCqF.mjs → useSettingsNav-NjI2seBy.mjs} +5 -3
  168. package/.output/server/chunks/build/useSettingsNav-NjI2seBy.mjs.map +1 -0
  169. package/.output/server/chunks/build/{virtualizer-0-UBy7xl.mjs → virtualizer-ZaqK4guJ.mjs} +3 -2
  170. package/.output/server/chunks/build/virtualizer-ZaqK4guJ.mjs.map +1 -0
  171. package/.output/server/chunks/build/{wasted-time-L4kBV5Nh.mjs → wasted-time-CguAF9zc.mjs} +2 -2
  172. package/.output/server/chunks/build/wasted-time-CguAF9zc.mjs.map +1 -0
  173. package/.output/server/chunks/nitro/nitro.mjs +703 -681
  174. package/.output/server/package.json +1 -1
  175. package/package.json +1 -1
  176. package/.output/public/_nuxt/B6Jp7fpa.js +0 -46
  177. package/.output/public/_nuxt/BP_SWi7S.js +0 -1
  178. package/.output/public/_nuxt/Bf62wdzp.js +0 -1
  179. package/.output/public/_nuxt/C219JuBV.js +0 -1
  180. package/.output/public/_nuxt/CX1dcT4v.js +0 -1
  181. package/.output/public/_nuxt/CdME81ij.js +0 -2
  182. package/.output/public/_nuxt/Dsk4Ic18.js +0 -7
  183. package/.output/public/_nuxt/HoKG9cc2.js +0 -1
  184. package/.output/public/_nuxt/WctJXszi.js +0 -3
  185. package/.output/public/_nuxt/builds/meta/5182c9fb-56a6-4df2-9685-4020a08ce7a5.json +0 -1
  186. package/.output/public/_nuxt/entry.BsmKRJzR.css +0 -1
  187. package/.output/public/_nuxt/jIF87ALb.js +0 -1
  188. package/.output/server/chunks/build/Checkbox-7ZiMz60w.mjs.map +0 -1
  189. package/.output/server/chunks/build/CiEnvCard-DNxBVvx4.mjs.map +0 -1
  190. package/.output/server/chunks/build/ProjectTestCasesTable-9418EI8J.mjs.map +0 -1
  191. package/.output/server/chunks/build/Select-COwTIQlV.mjs.map +0 -1
  192. package/.output/server/chunks/build/Switch-htSKgC38.mjs.map +0 -1
  193. package/.output/server/chunks/build/about-FB9PYAHK.mjs +0 -313
  194. package/.output/server/chunks/build/about-FB9PYAHK.mjs.map +0 -1
  195. package/.output/server/chunks/build/default-BfMirIgG.mjs.map +0 -1
  196. package/.output/server/chunks/build/edit-Dsf11mL5.mjs.map +0 -1
  197. package/.output/server/chunks/build/mcp-CXwa3xU3.mjs.map +0 -1
  198. package/.output/server/chunks/build/notifications-hJj8tbAT.mjs.map +0 -1
  199. package/.output/server/chunks/build/settings-Ci_7EXYQ.mjs.map +0 -1
  200. package/.output/server/chunks/build/settings-metadata-Cp0dx0vm.mjs.map +0 -1
  201. package/.output/server/chunks/build/storage-CM-Pd-9E.mjs.map +0 -1
  202. package/.output/server/chunks/build/test-cases-DkGQB027.mjs.map +0 -1
  203. package/.output/server/chunks/build/useFormControl-DFTjniPG.mjs +0 -19
  204. package/.output/server/chunks/build/useFormControl-DFTjniPG.mjs.map +0 -1
  205. package/.output/server/chunks/build/useSettingsNav-D2knPCqF.mjs.map +0 -1
  206. package/.output/server/chunks/build/virtualizer-0-UBy7xl.mjs.map +0 -1
  207. package/.output/server/chunks/build/wasted-time-L4kBV5Nh.mjs.map +0 -1
@@ -6,7 +6,7 @@ import { l as useHead, m as _sfc_main$k, r as useRuntimeConfig, n as _sfc_main$7
6
6
  import { _ as _sfc_main$8 } from './Alert-Bp1Wz_sq.mjs';
7
7
  import { defineComponent, mergeProps, withCtx, unref, createTextVNode, createVNode, openBlock, createBlock, ref, computed, toDisplayString, isRef, reactive, useSSRContext } from 'vue';
8
8
  import { ssrRenderComponent, ssrRenderAttrs, ssrInterpolate, ssrRenderList, ssrRenderAttr, ssrRenderClass } from 'vue/server-renderer';
9
- import { _ as _sfc_main$9 } from './Select-COwTIQlV.mjs';
9
+ import { _ as _sfc_main$9 } from './Select-ppPz926C.mjs';
10
10
  import { _ as _sfc_main$a } from './Textarea-DrrqQUVG.mjs';
11
11
  import { _ as __nuxt_component_5$1 } from './CodeBlock-BGwNmJ8J.mjs';
12
12
  import { e as errorMessage } from './index-CULN3-en.mjs';
@@ -58,7 +58,8 @@ import 'unhead/server';
58
58
  import 'devalue';
59
59
  import 'unhead/plugins';
60
60
  import 'unhead/utils';
61
- import './useFormControl-DFTjniPG.mjs';
61
+ import './useFormControl-BLpq1s4O.mjs';
62
+ import './handleAndDispatchCustomEvent-Bk_AVSSo.mjs';
62
63
  import 'highlight.js/lib/core';
63
64
  import 'highlight.js/lib/languages/typescript';
64
65
  import 'highlight.js/lib/languages/javascript';
@@ -1150,4 +1151,4 @@ _sfc_main.setup = (props, ctx) => {
1150
1151
  };
1151
1152
 
1152
1153
  export { _sfc_main as default };
1153
- //# sourceMappingURL=docs-DtNcJCyb.mjs.map
1154
+ //# sourceMappingURL=docs-EXhN3sqC.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"docs-DtNcJCyb.mjs","sources":["../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/docs-DtNcJCyb.js"],"names":["_sfc_main$5","_sfc_main$6","_sfc_main$7","_sfc_main$8","_sfc_main$9","__nuxt_component_5","_sfc_main$a","_sfc_main$b","_sfc_main$c","_sfc_main$d","_sfc_main$e","_sfc_main$f","__nuxt_component_5$1"],"mappings":"","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"docs-EXhN3sqC.mjs","sources":["../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/docs-EXhN3sqC.js"],"names":["_sfc_main$5","_sfc_main$6","_sfc_main$7","_sfc_main$8","_sfc_main$9","__nuxt_component_5","_sfc_main$a","_sfc_main$b","_sfc_main$c","_sfc_main$d","_sfc_main$e","_sfc_main$f","__nuxt_component_5$1"],"mappings":"","x_google_ignoreList":[0]}
@@ -8,7 +8,7 @@ import { u as useRoute, k as useRouter, j as useToast, l as useHead, m as _sfc_m
8
8
  import { _ as _sfc_main$6 } from './FormField-B-GSn_VR.mjs';
9
9
  import { _ as _sfc_main$7 } from './Textarea-DrrqQUVG.mjs';
10
10
  import { _ as __nuxt_component_2 } from './HelpHint-YEMWtKu1.mjs';
11
- import { _ as _sfc_main$8 } from './SelectMenu-BkyAHFCM.mjs';
11
+ import { _ as _sfc_main$8 } from './SelectMenu-799c_Ils.mjs';
12
12
  import { _ as __nuxt_component_4$1 } from './TagBadge-BDcvvGxw.mjs';
13
13
  import { r as randomHexColor } from './index-CULN3-en.mjs';
14
14
  import { z } from 'zod';
@@ -61,8 +61,9 @@ import 'unhead/utils';
61
61
  import './Label-DBvbHd3A.mjs';
62
62
  import './help-content-DmFnuhNu.mjs';
63
63
  import './useCopy-BQQKcwlq.mjs';
64
- import './virtualizer-0-UBy7xl.mjs';
65
- import './useFormControl-DFTjniPG.mjs';
64
+ import './virtualizer-ZaqK4guJ.mjs';
65
+ import './handleAndDispatchCustomEvent-Bk_AVSSo.mjs';
66
+ import './useFormControl-BLpq1s4O.mjs';
66
67
  import './VisuallyHiddenInput-C9eJVpPW.mjs';
67
68
  import '@tanstack/vue-virtual';
68
69
  import 'date-fns';
@@ -1188,4 +1189,4 @@ _sfc_main.setup = (props, ctx) => {
1188
1189
  };
1189
1190
 
1190
1191
  export { _sfc_main as default };
1191
- //# sourceMappingURL=edit-Dsf11mL5.mjs.map
1192
+ //# sourceMappingURL=edit-C9Z7oZeu.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edit-C9Z7oZeu.mjs","sources":["../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/edit-C9Z7oZeu.js"],"names":["_sfc_main$4","_sfc_main$5","_sfc_main$6","_sfc_main$8","_sfc_main$b","_sfc_main$c","_sfc_main$9","_sfc_main$a"],"mappings":"","x_google_ignoreList":[0]}
@@ -0,0 +1,13 @@
1
+ function handleAndDispatchCustomEvent(name, handler, detail) {
2
+ const target = detail.originalEvent.target;
3
+ const event = new CustomEvent(name, {
4
+ bubbles: false,
5
+ cancelable: true,
6
+ detail
7
+ });
8
+ if (handler) target.addEventListener(name, handler, { once: true });
9
+ target.dispatchEvent(event);
10
+ }
11
+
12
+ export { handleAndDispatchCustomEvent as h };
13
+ //# sourceMappingURL=handleAndDispatchCustomEvent-Bk_AVSSo.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleAndDispatchCustomEvent-Bk_AVSSo.mjs","sources":["../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/handleAndDispatchCustomEvent-Bk_AVSSo.js"],"names":[],"mappings":"","x_google_ignoreList":[0]}
@@ -1,8 +1,8 @@
1
1
  import { _ as _sfc_main$1$1, a as _sfc_main$7 } from './DashboardNavbar-Bdp-OwTN.mjs';
2
2
  import { _ as _sfc_main$1$2, a as _sfc_main$8 } from './Breadcrumb-C9ZPTLym.mjs';
3
- import { _ as _sfc_main$a } from './SelectMenu-BkyAHFCM.mjs';
3
+ import { _ as _sfc_main$a } from './SelectMenu-799c_Ils.mjs';
4
4
  import { l as useHead, m as _sfc_main$k, o as _sfc_main$p, p as __nuxt_component_12, n as _sfc_main$7$1, r as useRuntimeConfig } from './server.mjs';
5
- import { _ as _sfc_main$b } from './Checkbox-7ZiMz60w.mjs';
5
+ import { _ as _sfc_main$b } from './Checkbox-cVOSIY93.mjs';
6
6
  import { defineComponent, computed, ref, mergeProps, withCtx, unref, createTextVNode, createVNode, toDisplayString, openBlock, createBlock, createCommentVNode, Fragment, renderList, createSlots, isRef, useSSRContext } from 'vue';
7
7
  import { ssrRenderComponent, ssrRenderList, ssrInterpolate, ssrRenderClass, ssrRenderAttrs } from 'vue/server-renderer';
8
8
  import { _ as __nuxt_component_5 } from './ErrorState-CktYyeEZ.mjs';
@@ -18,10 +18,12 @@ import { e as errorMessage, f as formatRelativeTime, B as passRate, a as formatD
18
18
  import { _ as _sfc_main$6 } from './Card-BQP_oZkQ.mjs';
19
19
  import { a as __nuxt_component_9, d as docsUrl, _ as __nuxt_component_2 } from './HelpHint-YEMWtKu1.mjs';
20
20
  import { _ as __nuxt_component_5$2 } from './CodeBlock-BGwNmJ8J.mjs';
21
+ import { u as useIsDesktop } from './useIsDesktop-BS13spVj.mjs';
21
22
  import { u as useFetch } from './fetch-8kznMtBM.mjs';
22
23
  import { c as useCookie } from './DashboardSidebarToggle-Ji6ADuqF.mjs';
23
- import './virtualizer-0-UBy7xl.mjs';
24
- import './useFormControl-DFTjniPG.mjs';
24
+ import './virtualizer-ZaqK4guJ.mjs';
25
+ import './handleAndDispatchCustomEvent-Bk_AVSSo.mjs';
26
+ import './useFormControl-BLpq1s4O.mjs';
25
27
  import './VisuallyHiddenInput-C9eJVpPW.mjs';
26
28
  import '@tanstack/vue-virtual';
27
29
  import '../nitro/nitro.mjs';
@@ -878,9 +880,23 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
878
880
  setup(__props) {
879
881
  const config = useRuntimeConfig();
880
882
  const authEnabled = computed(() => !!config.public.authEnabled);
883
+ const isDesktop = useIsDesktop();
884
+ const { data: reporterConfig } = useFetch(
885
+ "/api/desktop/reporter-config",
886
+ {
887
+ immediate: isDesktop,
888
+ default: () => null
889
+ },
890
+ "$1biRnknxaz"
891
+ /* nuxt-injected */
892
+ );
881
893
  const serverUrl = ref("http://localhost:3000");
882
- const apiKeyLine = computed(() => authEnabled.value ? `
883
- apiKey: process.env.PIWI_API_KEY,` : "");
894
+ const apiKeyLine = computed(() => {
895
+ if (isDesktop && reporterConfig.value) return `
896
+ apiKey: '${reporterConfig.value.token}',`;
897
+ return authEnabled.value ? `
898
+ apiKey: process.env.PIWI_API_KEY,` : "";
899
+ });
884
900
  const configCode = computed(
885
901
  () => `import { defineConfig } from '@playwright/test'
886
902
 
@@ -938,7 +954,7 @@ export default PiwiDashboard.wrapConfig(
938
954
  list.push(
939
955
  {
940
956
  title: "Configure Playwright",
941
- description: "Add the reporter to your playwright.config.ts.",
957
+ description: isDesktop ? "Add the reporter to your playwright.config.ts. The apiKey below is this app's local access token." : "Add the reporter to your playwright.config.ts.",
942
958
  code: configCode.value,
943
959
  lang: "typescript"
944
960
  },
@@ -2157,4 +2173,4 @@ _sfc_main.setup = (props, ctx) => {
2157
2173
  };
2158
2174
 
2159
2175
  export { _sfc_main as default };
2160
- //# sourceMappingURL=index-DzEgjHlB.mjs.map
2176
+ //# sourceMappingURL=index-BK9PTRpd.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-DzEgjHlB.mjs","sources":["../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/index-DzEgjHlB.js"],"names":["_sfc_main$4","_sfc_main$5","_sfc_main$6","_sfc_main$7","_sfc_main$8","__nuxt_component_5","_sfc_main$9","_sfc_main$a","__nuxt_component_5$1","_sfc_main$b","_sfc_main$e","_sfc_main$f","_sfc_main$g","__nuxt_component_5$2","_sfc_main$c","_sfc_main$d"],"mappings":"","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index-BK9PTRpd.mjs","sources":["../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/index-BK9PTRpd.js"],"names":["_sfc_main$4","_sfc_main$5","_sfc_main$6","_sfc_main$7","_sfc_main$8","__nuxt_component_5","_sfc_main$9","_sfc_main$a","__nuxt_component_5$1","_sfc_main$b","_sfc_main$e","_sfc_main$f","_sfc_main$g","__nuxt_component_5$2","_sfc_main$c","_sfc_main$d"],"mappings":"","x_google_ignoreList":[0]}
@@ -6,7 +6,7 @@ import { u as useRoute, k as useRouter, l as useHead, j as useToast, s as useAut
6
6
  import { _ as _sfc_main$m } from './Separator-CxZdx8kw.mjs';
7
7
  import { _ as __nuxt_component_2, a as __nuxt_component_9 } from './HelpHint-YEMWtKu1.mjs';
8
8
  import { _ as _sfc_main$n } from './FormField-B-GSn_VR.mjs';
9
- import { _ as _sfc_main$b } from './Select-COwTIQlV.mjs';
9
+ import { _ as _sfc_main$b } from './Select-ppPz926C.mjs';
10
10
  import { computed, effectScope, defineComponent, withAsyncContext, ref, watch, withCtx, unref, isRef, createVNode, createTextVNode, toDisplayString, openBlock, createBlock, Fragment, renderList, createCommentVNode, withModifiers, mergeProps, withDirectives, vModelCheckbox, reactive, useSSRContext } from 'vue';
11
11
  import { ssrRenderComponent, ssrInterpolate, ssrRenderList, ssrRenderClass, ssrRenderAttr, ssrIncludeBooleanAttr, ssrRenderAttrs, ssrRenderStyle, ssrLooseContain } from 'vue/server-renderer';
12
12
  import { bp as NOTIFICATION_EVENTS } from '../nitro/nitro.mjs';
@@ -21,7 +21,7 @@ import { u as useChartMarkers, _ as __nuxt_component_1$2 } from './useChartMarke
21
21
  import { VisXYContainer, VisLine, VisAxis, VisArea } from '@unovis/vue';
22
22
  import { CurveType } from '@unovis/ts';
23
23
  import { _ as _sfc_main$d } from './Card-BQP_oZkQ.mjs';
24
- import { _ as _sfc_main$h } from './Switch-htSKgC38.mjs';
24
+ import { _ as _sfc_main$h } from './Switch-xQQ3_ME1.mjs';
25
25
  import { _ as _sfc_main$g } from './Table-CPhhVzDv.mjs';
26
26
  import { _ as __nuxt_component_13$1 } from './RunStatusBadge-BhmJ_RKM.mjs';
27
27
  import { _ as _sfc_main$i } from './Tooltip-7vwuDPrZ.mjs';
@@ -33,9 +33,9 @@ import { _ as __nuxt_component_3$1 } from './TableScroller-DMcdCVrH.mjs';
33
33
  import { a as formatDuration, j as getStatusColor, p as prettyDateFormat, u as createSortHeader, f as formatRelativeTime, h as clusterStatusColor, g as clusterErrorTypeColor, e as errorMessage } from './index-CULN3-en.mjs';
34
34
  import { _ as __nuxt_component_1$1 } from './OpenInIdeLink-B92wosXu.mjs';
35
35
  import { _ as __nuxt_component_1 } from './LoadingState-C3pBSuOO.mjs';
36
- import { _ as _sfc_main$f } from './SelectMenu-BkyAHFCM.mjs';
37
- import { _ as __nuxt_component_34 } from './ProjectTestCasesTable-9418EI8J.mjs';
38
- import { _ as _sfc_main$e } from './Checkbox-7ZiMz60w.mjs';
36
+ import { _ as _sfc_main$f } from './SelectMenu-799c_Ils.mjs';
37
+ import { _ as __nuxt_component_34 } from './ProjectTestCasesTable-9Ia825h8.mjs';
38
+ import { _ as _sfc_main$e } from './Checkbox-cVOSIY93.mjs';
39
39
  import { _ as __nuxt_component_5$1 } from './MarkerBadge-D7meXy4u.mjs';
40
40
  import { g as getMarkerCategory, a as MARKER_CATEGORIES, D as DEFAULT_MARKER_CATEGORY } from '../_/marker-categories.mjs';
41
41
  import { _ as _sfc_main$l } from './Modal-CfA78Hm1.mjs';
@@ -86,7 +86,8 @@ import '@iconify/utils';
86
86
  import './help-content-DmFnuhNu.mjs';
87
87
  import './useCopy-BQQKcwlq.mjs';
88
88
  import './Label-DBvbHd3A.mjs';
89
- import './useFormControl-DFTjniPG.mjs';
89
+ import './useFormControl-BLpq1s4O.mjs';
90
+ import './handleAndDispatchCustomEvent-Bk_AVSSo.mjs';
90
91
  import '@vue/shared';
91
92
  import './RovingFocusItem-CxhHdNGo.mjs';
92
93
  import './useForwardScopeId-D0ameaSU.mjs';
@@ -95,7 +96,7 @@ import '@tanstack/vue-table';
95
96
  import '@tanstack/vue-virtual';
96
97
  import 'date-fns';
97
98
  import './useOpenInIde-kMZ7Jw5c.mjs';
98
- import './virtualizer-0-UBy7xl.mjs';
99
+ import './virtualizer-ZaqK4guJ.mjs';
99
100
  import './FilterToolbar-BwXy8xSk.mjs';
100
101
  import './ErrorState-CktYyeEZ.mjs';
101
102
  import './Alert-Bp1Wz_sq.mjs';
@@ -9161,4 +9162,4 @@ _sfc_main.setup = (props, ctx) => {
9161
9162
  };
9162
9163
 
9163
9164
  export { _sfc_main as default };
9164
- //# sourceMappingURL=index-BgpEKTSq.mjs.map
9165
+ //# sourceMappingURL=index-DVUtBexc.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-BgpEKTSq.mjs","sources":["../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/useBrowserNotificationCookie-B-7Itmqs.js","../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/index-BgpEKTSq.js"],"names":["_sfc_main$b","_sfc_main$c","_sfc_main$d","_sfc_main$e","_sfc_main$f","_sfc_main$g","__nuxt_component_0","__nuxt_component_1","_sfc_main$h","_sfc_main$i","__nuxt_component_3","_sfc_main$j","__nuxt_component_1$2","_sfc_main$k","_sfc_main$l","_sfc_main$s","_sfc_main$t","__nuxt_component_3$1","_sfc_main$m","__nuxt_component_0$1","_sfc_main$q","_sfc_main$r","_sfc_main$p","_sfc_main$o","_sfc_main$n"],"mappings":"","x_google_ignoreList":[0,1]}
1
+ {"version":3,"file":"index-DVUtBexc.mjs","sources":["../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/useBrowserNotificationCookie-B-7Itmqs.js","../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/index-DVUtBexc.js"],"names":["_sfc_main$b","_sfc_main$c","_sfc_main$d","_sfc_main$e","_sfc_main$f","_sfc_main$g","__nuxt_component_0","__nuxt_component_1","_sfc_main$h","_sfc_main$i","__nuxt_component_3","_sfc_main$j","__nuxt_component_1$2","_sfc_main$k","_sfc_main$l","_sfc_main$s","_sfc_main$t","__nuxt_component_3$1","_sfc_main$m","__nuxt_component_0$1","_sfc_main$q","_sfc_main$r","_sfc_main$p","_sfc_main$o","_sfc_main$n"],"mappings":"","x_google_ignoreList":[0,1]}
@@ -1,17 +1,20 @@
1
1
  import { _ as _sfc_main$1, a as _sfc_main$4 } from './DashboardNavbar-Bdp-OwTN.mjs';
2
2
  import { _ as _sfc_main$2 } from './Alert-Bp1Wz_sq.mjs';
3
+ import { _ as __nuxt_component_5 } from './DesktopMcpCard-B4JuUTKj.mjs';
3
4
  import { _ as __nuxt_component_11 } from './SectionCard-COd9TuDq.mjs';
4
5
  import { l as useHead, o as _sfc_main$p, m as _sfc_main$k, r as useRuntimeConfig, L as useRequestEvent } from './server.mjs';
5
6
  import { _ as _sfc_main$3 } from './Tabs-BV9XqjoO.mjs';
6
- import { _ as __nuxt_component_5 } from './CodeBlock-BGwNmJ8J.mjs';
7
- import { defineComponent, computed, withCtx, unref, createVNode, openBlock, createBlock, Fragment, renderList, toDisplayString, createTextVNode, createCommentVNode, useSSRContext } from 'vue';
7
+ import { _ as __nuxt_component_5$1 } from './CodeBlock-BGwNmJ8J.mjs';
8
+ import { defineComponent, withAsyncContext, computed, withCtx, unref, createVNode, openBlock, createBlock, Fragment, renderList, toDisplayString, createTextVNode, createCommentVNode, useSSRContext } from 'vue';
8
9
  import { ssrRenderComponent, ssrRenderList, ssrInterpolate } from 'vue/server-renderer';
9
10
  import { df as MCP_TOOL_DEFS, dg as getRequestURL } from '../nitro/nitro.mjs';
11
+ import { u as useIsDesktop } from './useIsDesktop-BS13spVj.mjs';
12
+ import { u as useFetch } from './fetch-8kznMtBM.mjs';
10
13
  import './DashboardSidebarToggle-Ji6ADuqF.mjs';
14
+ import './useCopy-BQQKcwlq.mjs';
11
15
  import './Card-BQP_oZkQ.mjs';
12
16
  import './HelpHint-YEMWtKu1.mjs';
13
17
  import './help-content-DmFnuhNu.mjs';
14
- import './useCopy-BQQKcwlq.mjs';
15
18
  import 'vue-router';
16
19
  import '@iconify/vue';
17
20
  import 'tailwindcss/colors';
@@ -64,6 +67,7 @@ import 'highlight.js/lib/languages/javascript';
64
67
  import 'highlight.js/lib/languages/bash';
65
68
  import 'highlight.js/lib/languages/json';
66
69
  import 'highlight.js/lib/languages/diff';
70
+ import '@vue/shared';
67
71
 
68
72
  function useRequestURL(opts) {
69
73
  {
@@ -73,9 +77,17 @@ function useRequestURL(opts) {
73
77
  const _sfc_main = /* @__PURE__ */ defineComponent({
74
78
  __name: "mcp",
75
79
  __ssrInlineRender: true,
76
- setup(__props) {
80
+ async setup(__props) {
81
+ let __temp, __restore;
77
82
  const config = useRuntimeConfig();
78
83
  const isDemo = config.public.demoMode;
84
+ const isDesktop = useIsDesktop();
85
+ const { data: reporterConfig } = ([__temp, __restore] = withAsyncContext(() => useFetch(
86
+ "/api/desktop/reporter-config",
87
+ { immediate: isDesktop, default: () => null },
88
+ "$fdl6kilREP"
89
+ /* nuxt-injected */
90
+ )), __temp = await __temp, __restore(), __temp);
79
91
  const requestUrl = useRequestURL();
80
92
  const mcpUrl = computed(() => {
81
93
  const base = config.public.siteUrl || requestUrl.origin;
@@ -161,10 +173,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
161
173
  const _component_UDashboardPanel = _sfc_main$1;
162
174
  const _component_UDashboardNavbar = _sfc_main$4;
163
175
  const _component_UAlert = _sfc_main$2;
176
+ const _component_DesktopMcpCard = __nuxt_component_5;
164
177
  const _component_SectionCard = __nuxt_component_11;
165
178
  const _component_UIcon = _sfc_main$p;
166
179
  const _component_UTabs = _sfc_main$3;
167
- const _component_CodeBlock = __nuxt_component_5;
180
+ const _component_CodeBlock = __nuxt_component_5$1;
168
181
  const _component_UButton = _sfc_main$k;
169
182
  _push(ssrRenderComponent(_component_UDashboardPanel, _attrs, {
170
183
  header: withCtx((_, _push2, _parent2, _scopeId) => {
@@ -189,6 +202,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
189
202
  } else {
190
203
  _push2(`<!---->`);
191
204
  }
205
+ if (unref(reporterConfig)) {
206
+ _push2(ssrRenderComponent(_component_DesktopMcpCard, {
207
+ url: unref(reporterConfig).url,
208
+ token: unref(reporterConfig).token
209
+ }, null, _parent2, _scopeId));
210
+ } else {
211
+ _push2(`<!---->`);
212
+ }
192
213
  _push2(ssrRenderComponent(_component_SectionCard, {
193
214
  icon: "i-lucide-bot",
194
215
  title: "What it provides",
@@ -237,7 +258,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
237
258
  }, {
238
259
  default: withCtx((_2, _push3, _parent3, _scopeId2) => {
239
260
  if (_push3) {
240
- _push3(`<div class="space-y-3 text-sm text-gray-600 dark:text-gray-400"${_scopeId2}><p${_scopeId2}> MCP requests are authenticated with the same API keys used by the REST API. API keys start with <code class="px-1 py-0.5 bg-muted rounded text-xs font-mono"${_scopeId2}>pd_</code>. </p><p${_scopeId2}> Generate a key in <strong${_scopeId2}>Settings → Users → [your account] → API keys</strong>, then replace <code class="px-1 py-0.5 bg-muted rounded text-xs font-mono"${_scopeId2}>pd_YOUR_API_KEY</code> in the snippets below. </p><p class="text-xs text-gray-400"${_scopeId2}> When authentication is disabled (<code class="font-mono"${_scopeId2}>PIWI_AUTH_ENABLED</code> not set), any request is accepted without a key. </p></div>`);
261
+ _push3(`<div class="space-y-3 text-sm text-gray-600 dark:text-gray-400"${_scopeId2}><p${_scopeId2}> MCP requests are authenticated with the same API keys used by the REST API. API keys start with <code class="px-1 py-0.5 bg-muted rounded text-xs font-mono"${_scopeId2}>pd_</code>. </p>`);
262
+ if (!unref(isDesktop)) {
263
+ _push3(`<p${_scopeId2}> Generate a key in <strong${_scopeId2}>Settings → Users → [your account] → API keys</strong>, then replace <code class="px-1 py-0.5 bg-muted rounded text-xs font-mono"${_scopeId2}>pd_YOUR_API_KEY</code> in the snippets below. </p>`);
264
+ } else {
265
+ _push3(`<p${_scopeId2}> This app provides a local access token automatically — see <strong${_scopeId2}>Connect an AI assistant (MCP)</strong> above. Use it wherever the snippets show <code class="px-1 py-0.5 bg-muted rounded text-xs font-mono"${_scopeId2}>pd_YOUR_API_KEY</code>. </p>`);
266
+ }
267
+ if (!unref(isDesktop)) {
268
+ _push3(`<p class="text-xs text-gray-400"${_scopeId2}> When authentication is disabled (<code class="font-mono"${_scopeId2}>PIWI_AUTH_ENABLED</code> not set), any request is accepted without a key. </p>`);
269
+ } else {
270
+ _push3(`<p class="text-xs text-gray-400"${_scopeId2}> This desktop app keeps sign-in off but still requires its own local access token on every request — use the token shown above as the <code class="font-mono"${_scopeId2}>Bearer</code> value. The endpoint is not open. </p>`);
271
+ }
272
+ _push3(`</div>`);
241
273
  } else {
242
274
  return [
243
275
  createVNode("div", { class: "space-y-3 text-sm text-gray-600 dark:text-gray-400" }, [
@@ -246,18 +278,34 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
246
278
  createVNode("code", { class: "px-1 py-0.5 bg-muted rounded text-xs font-mono" }, "pd_"),
247
279
  createTextVNode(". ")
248
280
  ]),
249
- createVNode("p", null, [
281
+ !unref(isDesktop) ? (openBlock(), createBlock("p", { key: 0 }, [
250
282
  createTextVNode(" Generate a key in "),
251
283
  createVNode("strong", null, "Settings → Users → [your account] → API keys"),
252
284
  createTextVNode(", then replace "),
253
285
  createVNode("code", { class: "px-1 py-0.5 bg-muted rounded text-xs font-mono" }, "pd_YOUR_API_KEY"),
254
286
  createTextVNode(" in the snippets below. ")
255
- ]),
256
- createVNode("p", { class: "text-xs text-gray-400" }, [
287
+ ])) : (openBlock(), createBlock("p", { key: 1 }, [
288
+ createTextVNode(" This app provides a local access token automatically — see "),
289
+ createVNode("strong", null, "Connect an AI assistant (MCP)"),
290
+ createTextVNode(" above. Use it wherever the snippets show "),
291
+ createVNode("code", { class: "px-1 py-0.5 bg-muted rounded text-xs font-mono" }, "pd_YOUR_API_KEY"),
292
+ createTextVNode(". ")
293
+ ])),
294
+ !unref(isDesktop) ? (openBlock(), createBlock("p", {
295
+ key: 2,
296
+ class: "text-xs text-gray-400"
297
+ }, [
257
298
  createTextVNode(" When authentication is disabled ("),
258
299
  createVNode("code", { class: "font-mono" }, "PIWI_AUTH_ENABLED"),
259
300
  createTextVNode(" not set), any request is accepted without a key. ")
260
- ])
301
+ ])) : (openBlock(), createBlock("p", {
302
+ key: 3,
303
+ class: "text-xs text-gray-400"
304
+ }, [
305
+ createTextVNode(" This desktop app keeps sign-in off but still requires its own local access token on every request — use the token shown above as the "),
306
+ createVNode("code", { class: "font-mono" }, "Bearer"),
307
+ createTextVNode(" value. The endpoint is not open. ")
308
+ ]))
261
309
  ])
262
310
  ];
263
311
  }
@@ -271,7 +319,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
271
319
  }, {
272
320
  default: withCtx((_2, _push3, _parent3, _scopeId2) => {
273
321
  if (_push3) {
274
- _push3(`<p class="text-sm text-gray-500 dark:text-gray-400 mb-4"${_scopeId2}> Replace <code class="px-1 py-0.5 bg-muted rounded text-xs font-mono"${_scopeId2}>pd_YOUR_API_KEY</code> with your actual API key. The MCP URL shown below is auto-detected from your current browser origin. </p>`);
322
+ _push3(`<p class="text-sm text-gray-500 dark:text-gray-400 mb-4"${_scopeId2}> Replace <code class="px-1 py-0.5 bg-muted rounded text-xs font-mono"${_scopeId2}>pd_YOUR_API_KEY</code> with `);
323
+ if (unref(isDesktop)) {
324
+ _push3(`<!--[-->this app&#39;s access token (shown above)<!--]-->`);
325
+ } else {
326
+ _push3(`<!--[-->your actual API key<!--]-->`);
327
+ }
328
+ _push3(`. The MCP URL shown below is auto-detected from your current browser origin. </p>`);
275
329
  _push3(ssrRenderComponent(_component_UTabs, {
276
330
  items: clientItems,
277
331
  ui: { list: "mb-4" }
@@ -442,7 +496,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
442
496
  createVNode("p", { class: "text-sm text-gray-500 dark:text-gray-400 mb-4" }, [
443
497
  createTextVNode(" Replace "),
444
498
  createVNode("code", { class: "px-1 py-0.5 bg-muted rounded text-xs font-mono" }, "pd_YOUR_API_KEY"),
445
- createTextVNode(" with your actual API key. The MCP URL shown below is auto-detected from your current browser origin. ")
499
+ createTextVNode(" with "),
500
+ unref(isDesktop) ? (openBlock(), createBlock(Fragment, { key: 0 }, [
501
+ createTextVNode("this app's access token (shown above)")
502
+ ], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [
503
+ createTextVNode("your actual API key")
504
+ ], 64)),
505
+ createTextVNode(". The MCP URL shown below is auto-detected from your current browser origin. ")
446
506
  ]),
447
507
  createVNode(_component_UTabs, {
448
508
  items: clientItems,
@@ -575,7 +635,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
575
635
  }),
576
636
  _: 1
577
637
  }, _parent3, _scopeId2));
578
- _push3(`</div><p class="text-xs text-gray-400"${_scopeId2}> This is your Piwi instance&#39;s MCP endpoint. It is also the server URL to paste into client configs above. The server requires a valid Bearer token (or no auth if <code class="font-mono"${_scopeId2}>PIWI_AUTH_ENABLED</code> is not set). </p></div>`);
638
+ _push3(`</div><p class="text-xs text-gray-400"${_scopeId2}> This is your Piwi instance&#39;s MCP endpoint. It is also the server URL to paste into client configs above. `);
639
+ if (unref(isDesktop)) {
640
+ _push3(`<!--[-->This desktop app requires its local access token as the <code class="font-mono"${_scopeId2}>Bearer</code> value on every request.<!--]-->`);
641
+ } else {
642
+ _push3(`<!--[-->The server requires a valid Bearer token (or no auth if <code class="font-mono"${_scopeId2}>PIWI_AUTH_ENABLED</code> is not set).<!--]-->`);
643
+ }
644
+ _push3(`</p></div>`);
579
645
  } else {
580
646
  return [
581
647
  createVNode("div", { class: "space-y-2" }, [
@@ -597,9 +663,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
597
663
  }, 8, ["external"])
598
664
  ]),
599
665
  createVNode("p", { class: "text-xs text-gray-400" }, [
600
- createTextVNode(" This is your Piwi instance's MCP endpoint. It is also the server URL to paste into client configs above. The server requires a valid Bearer token (or no auth if "),
601
- createVNode("code", { class: "font-mono" }, "PIWI_AUTH_ENABLED"),
602
- createTextVNode(" is not set). ")
666
+ createTextVNode(" This is your Piwi instance's MCP endpoint. It is also the server URL to paste into client configs above. "),
667
+ unref(isDesktop) ? (openBlock(), createBlock(Fragment, { key: 0 }, [
668
+ createTextVNode("This desktop app requires its local access token as the "),
669
+ createVNode("code", { class: "font-mono" }, "Bearer"),
670
+ createTextVNode(" value on every request.")
671
+ ], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [
672
+ createTextVNode("The server requires a valid Bearer token (or no auth if "),
673
+ createVNode("code", { class: "font-mono" }, "PIWI_AUTH_ENABLED"),
674
+ createTextVNode(" is not set).")
675
+ ], 64))
603
676
  ])
604
677
  ])
605
678
  ];
@@ -618,6 +691,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
618
691
  title: "Feature preview",
619
692
  description: "The MCP endpoint is not active in this demo — it requires a real Piwi backend. The tools and client setup shown below reflect what your own deployment exposes."
620
693
  })) : createCommentVNode("", true),
694
+ unref(reporterConfig) ? (openBlock(), createBlock(_component_DesktopMcpCard, {
695
+ key: 1,
696
+ url: unref(reporterConfig).url,
697
+ token: unref(reporterConfig).token
698
+ }, null, 8, ["url", "token"])) : createCommentVNode("", true),
621
699
  createVNode(_component_SectionCard, {
622
700
  icon: "i-lucide-bot",
623
701
  title: "What it provides",
@@ -656,18 +734,34 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
656
734
  createVNode("code", { class: "px-1 py-0.5 bg-muted rounded text-xs font-mono" }, "pd_"),
657
735
  createTextVNode(". ")
658
736
  ]),
659
- createVNode("p", null, [
737
+ !unref(isDesktop) ? (openBlock(), createBlock("p", { key: 0 }, [
660
738
  createTextVNode(" Generate a key in "),
661
739
  createVNode("strong", null, "Settings → Users → [your account] → API keys"),
662
740
  createTextVNode(", then replace "),
663
741
  createVNode("code", { class: "px-1 py-0.5 bg-muted rounded text-xs font-mono" }, "pd_YOUR_API_KEY"),
664
742
  createTextVNode(" in the snippets below. ")
665
- ]),
666
- createVNode("p", { class: "text-xs text-gray-400" }, [
743
+ ])) : (openBlock(), createBlock("p", { key: 1 }, [
744
+ createTextVNode(" This app provides a local access token automatically — see "),
745
+ createVNode("strong", null, "Connect an AI assistant (MCP)"),
746
+ createTextVNode(" above. Use it wherever the snippets show "),
747
+ createVNode("code", { class: "px-1 py-0.5 bg-muted rounded text-xs font-mono" }, "pd_YOUR_API_KEY"),
748
+ createTextVNode(". ")
749
+ ])),
750
+ !unref(isDesktop) ? (openBlock(), createBlock("p", {
751
+ key: 2,
752
+ class: "text-xs text-gray-400"
753
+ }, [
667
754
  createTextVNode(" When authentication is disabled ("),
668
755
  createVNode("code", { class: "font-mono" }, "PIWI_AUTH_ENABLED"),
669
756
  createTextVNode(" not set), any request is accepted without a key. ")
670
- ])
757
+ ])) : (openBlock(), createBlock("p", {
758
+ key: 3,
759
+ class: "text-xs text-gray-400"
760
+ }, [
761
+ createTextVNode(" This desktop app keeps sign-in off but still requires its own local access token on every request — use the token shown above as the "),
762
+ createVNode("code", { class: "font-mono" }, "Bearer"),
763
+ createTextVNode(" value. The endpoint is not open. ")
764
+ ]))
671
765
  ])
672
766
  ]),
673
767
  _: 1
@@ -681,7 +775,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
681
775
  createVNode("p", { class: "text-sm text-gray-500 dark:text-gray-400 mb-4" }, [
682
776
  createTextVNode(" Replace "),
683
777
  createVNode("code", { class: "px-1 py-0.5 bg-muted rounded text-xs font-mono" }, "pd_YOUR_API_KEY"),
684
- createTextVNode(" with your actual API key. The MCP URL shown below is auto-detected from your current browser origin. ")
778
+ createTextVNode(" with "),
779
+ unref(isDesktop) ? (openBlock(), createBlock(Fragment, { key: 0 }, [
780
+ createTextVNode("this app's access token (shown above)")
781
+ ], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [
782
+ createTextVNode("your actual API key")
783
+ ], 64)),
784
+ createTextVNode(". The MCP URL shown below is auto-detected from your current browser origin. ")
685
785
  ]),
686
786
  createVNode(_component_UTabs, {
687
787
  items: clientItems,
@@ -809,9 +909,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
809
909
  }, 8, ["external"])
810
910
  ]),
811
911
  createVNode("p", { class: "text-xs text-gray-400" }, [
812
- createTextVNode(" This is your Piwi instance's MCP endpoint. It is also the server URL to paste into client configs above. The server requires a valid Bearer token (or no auth if "),
813
- createVNode("code", { class: "font-mono" }, "PIWI_AUTH_ENABLED"),
814
- createTextVNode(" is not set). ")
912
+ createTextVNode(" This is your Piwi instance's MCP endpoint. It is also the server URL to paste into client configs above. "),
913
+ unref(isDesktop) ? (openBlock(), createBlock(Fragment, { key: 0 }, [
914
+ createTextVNode("This desktop app requires its local access token as the "),
915
+ createVNode("code", { class: "font-mono" }, "Bearer"),
916
+ createTextVNode(" value on every request.")
917
+ ], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [
918
+ createTextVNode("The server requires a valid Bearer token (or no auth if "),
919
+ createVNode("code", { class: "font-mono" }, "PIWI_AUTH_ENABLED"),
920
+ createTextVNode(" is not set).")
921
+ ], 64))
815
922
  ])
816
923
  ])
817
924
  ]),
@@ -834,4 +941,4 @@ _sfc_main.setup = (props, ctx) => {
834
941
  };
835
942
 
836
943
  export { _sfc_main as default };
837
- //# sourceMappingURL=mcp-CXwa3xU3.mjs.map
944
+ //# sourceMappingURL=mcp-CQ-21rwc.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp-CQ-21rwc.mjs","sources":["../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/mcp-CQ-21rwc.js"],"names":["_sfc_main$6","_sfc_main$3","_sfc_main$4","_sfc_main$5"],"mappings":"","x_google_ignoreList":[0]}
@@ -4,7 +4,7 @@ import { j as useToast, o as _sfc_main$p, _ as _sfc_main$d, m as _sfc_main$k, n
4
4
  import { _ as __nuxt_component_5 } from './CodeBlock-BGwNmJ8J.mjs';
5
5
  import { _ as __nuxt_component_2 } from './HelpHint-YEMWtKu1.mjs';
6
6
  import { _ as _sfc_main$1 } from './FormField-B-GSn_VR.mjs';
7
- import { _ as _sfc_main$2 } from './Select-COwTIQlV.mjs';
7
+ import { _ as _sfc_main$2 } from './Select-ppPz926C.mjs';
8
8
  import { _ as _sfc_main$3 } from './Tooltip-7vwuDPrZ.mjs';
9
9
  import { _ as _sfc_main$4 } from './Alert-Bp1Wz_sq.mjs';
10
10
  import { defineComponent, computed, withAsyncContext, ref, reactive, mergeProps, createSlots, withCtx, unref, createVNode, openBlock, createBlock, createTextVNode, toDisplayString, createCommentVNode, isRef, Fragment, renderList, useSSRContext } from 'vue';
@@ -66,7 +66,8 @@ import 'highlight.js/lib/languages/diff';
66
66
  import './useCopy-BQQKcwlq.mjs';
67
67
  import './help-content-DmFnuhNu.mjs';
68
68
  import './Label-DBvbHd3A.mjs';
69
- import './useFormControl-DFTjniPG.mjs';
69
+ import './useFormControl-BLpq1s4O.mjs';
70
+ import './handleAndDispatchCustomEvent-Bk_AVSSo.mjs';
70
71
  import '@vue/shared';
71
72
 
72
73
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1124,4 +1125,4 @@ _sfc_main.setup = (props, ctx) => {
1124
1125
  };
1125
1126
 
1126
1127
  export { _sfc_main as default };
1127
- //# sourceMappingURL=notifications-hJj8tbAT.mjs.map
1128
+ //# sourceMappingURL=notifications-Dzm9c0u_.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notifications-Dzm9c0u_.mjs","sources":["../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/notifications-Dzm9c0u_.js"],"names":["_sfc_main$1","_sfc_main$2","_sfc_main$3","_sfc_main$4","_sfc_main$5","_sfc_main$6","_sfc_main$7","_sfc_main$8"],"mappings":"","x_google_ignoreList":[0]}