@aussieljk/forkbook 0.0.1-13 → 0.0.1-15

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 (231) hide show
  1. package/dist/_browser-chunks/{Color-2EUQ6NXV.js → Color-OSKHEBLS.js} +1 -1
  2. package/dist/_browser-chunks/{WithTooltip-QCFTNB6P.js → WithTooltip-IPJFQHVQ.js} +1 -1
  3. package/dist/_browser-chunks/chunk-4ZGQ4YQ2.js +20 -0
  4. package/dist/_browser-chunks/{chunk-ZF5SPY56.js → chunk-74S4GA34.js} +1 -1
  5. package/dist/_browser-chunks/{chunk-S7N7Z5TY.js → chunk-TRXLBGLS.js} +21 -2
  6. package/dist/_browser-chunks/{chunk-UH3XTEOQ.js → chunk-XRILAR4S.js} +13 -13
  7. package/dist/_node-chunks/{attached-runtime-7IRDQUTZ.js → attached-runtime-5ABH72AY.js} +28 -28
  8. package/dist/_node-chunks/{builder-manager-YTALSWKQ.js → builder-manager-4T5FVGUR.js} +18 -15
  9. package/dist/_node-chunks/{chunk-LR4W5G37.js → chunk-2FWG2MQN.js} +6 -6
  10. package/dist/_node-chunks/chunk-2YVNFDPN.js +18 -0
  11. package/dist/_node-chunks/{chunk-TSJ3JCNN.js → chunk-33IC7FUB.js} +9 -9
  12. package/dist/_node-chunks/{chunk-SXX75O2D.js → chunk-46E6YIPW.js} +7 -7
  13. package/dist/_node-chunks/{chunk-OH5M2YER.js → chunk-4BWBFTBZ.js} +7 -7
  14. package/dist/_node-chunks/{chunk-ADCQYK3Z.js → chunk-4ELXERU6.js} +6 -6
  15. package/dist/_node-chunks/{chunk-4CZJ4SFH.js → chunk-4GGXQOD4.js} +8 -8
  16. package/dist/_node-chunks/{chunk-PGIDRLZ5.js → chunk-4ISTQSCO.js} +19 -7
  17. package/dist/_node-chunks/{chunk-OSIENBU6.js → chunk-4XKLH4I3.js} +6 -6
  18. package/dist/_node-chunks/{chunk-TQ5YAQ4Y.js → chunk-56L6SVSQ.js} +6 -6
  19. package/dist/_node-chunks/{chunk-XC7K4QEX.js → chunk-5NWCUFPU.js} +6 -6
  20. package/dist/_node-chunks/{chunk-DIC4T2UO.js → chunk-5Y53QRNN.js} +6 -6
  21. package/dist/_node-chunks/{chunk-BFQJF3ID.js → chunk-6DHYHTHM.js} +8 -8
  22. package/dist/_node-chunks/{chunk-LMGI47HP.js → chunk-6H3FQSQV.js} +52 -22
  23. package/dist/_node-chunks/{chunk-ST3KB36E.js → chunk-6WHTGFDB.js} +6 -6
  24. package/dist/_node-chunks/{chunk-VJLLEKWR.js → chunk-767UK7PX.js} +9 -9
  25. package/dist/_node-chunks/{chunk-GRN6WQC3.js → chunk-7IYNKFXW.js} +10 -10
  26. package/dist/_node-chunks/{chunk-6JSZY5TJ.js → chunk-7LYHZMJO.js} +6 -6
  27. package/dist/_node-chunks/{chunk-GQZZQB4K.js → chunk-7RE5WNOM.js} +7 -7
  28. package/dist/_node-chunks/{chunk-I26RGEVQ.js → chunk-A3EPCOVV.js} +7 -7
  29. package/dist/_node-chunks/chunk-AK4RPNTY.js +137 -0
  30. package/dist/_node-chunks/{chunk-MK2RPLWT.js → chunk-AUUVNECB.js} +7 -7
  31. package/dist/_node-chunks/{chunk-EM6AYELK.js → chunk-B6JJQARD.js} +9 -9
  32. package/dist/_node-chunks/chunk-BVF25DJF.js +20 -0
  33. package/dist/_node-chunks/{chunk-EFX2VA4Q.js → chunk-DASUWWHV.js} +6 -6
  34. package/dist/_node-chunks/{chunk-NDVIMCIX.js → chunk-DJPS7LWH.js} +7 -7
  35. package/dist/_node-chunks/{chunk-K6TEIAKH.js → chunk-DTFPS5QE.js} +7 -7
  36. package/dist/_node-chunks/{chunk-O46DZ2KC.js → chunk-EHPAFXPB.js} +8 -8
  37. package/dist/_node-chunks/{chunk-KUZSE7ZD.js → chunk-FFE4YDDE.js} +9 -9
  38. package/dist/_node-chunks/{chunk-4YWZLOAF.js → chunk-FJE2XPLI.js} +6 -6
  39. package/dist/_node-chunks/{chunk-7SPDKMDQ.js → chunk-FSSOM72N.js} +14 -14
  40. package/dist/_node-chunks/{chunk-BZQF5KUE.js → chunk-FVHSCRCK.js} +7 -7
  41. package/dist/_node-chunks/{chunk-F2AFT3P7.js → chunk-G6M5USWY.js} +8 -8
  42. package/dist/_node-chunks/{chunk-OVJZBW54.js → chunk-G7NZ27DS.js} +7 -7
  43. package/dist/_node-chunks/{chunk-E56UKDJR.js → chunk-GRJPH3NW.js} +8 -8
  44. package/dist/_node-chunks/{chunk-KEXQ3BON.js → chunk-H4IDYTC4.js} +7 -7
  45. package/dist/_node-chunks/{chunk-NRP4FGRT.js → chunk-H5AAYJZE.js} +8 -8
  46. package/dist/_node-chunks/{chunk-PUBZLLNL.js → chunk-HK47D3O3.js} +7 -7
  47. package/dist/_node-chunks/{chunk-M4MRBEJI.js → chunk-J2ZTT2OP.js} +33 -23
  48. package/dist/_node-chunks/{chunk-NIOVXWQZ.js → chunk-JAPFAHXG.js} +6 -6
  49. package/dist/_node-chunks/{chunk-3F3673RQ.js → chunk-JC4I7ZVM.js} +7 -7
  50. package/dist/_node-chunks/{chunk-7YLKDHLZ.js → chunk-JCQU3LND.js} +7 -7
  51. package/dist/_node-chunks/{chunk-33T4HNF2.js → chunk-JQKD337A.js} +6 -6
  52. package/dist/_node-chunks/{chunk-4IIWFG7O.js → chunk-JYQSJLIK.js} +8 -8
  53. package/dist/_node-chunks/{chunk-HCMHVV7N.js → chunk-KFZRX33G.js} +8 -8
  54. package/dist/_node-chunks/{chunk-PQXP5FZ2.js → chunk-KIAQML4H.js} +8 -8
  55. package/dist/_node-chunks/{chunk-Y64FM6U7.js → chunk-LHRQTTE7.js} +8 -8
  56. package/dist/_node-chunks/{chunk-NSNBFXVB.js → chunk-LNMVMXBN.js} +7 -7
  57. package/dist/_node-chunks/chunk-M6LN66WA.js +20 -0
  58. package/dist/_node-chunks/{chunk-SHP6447T.js → chunk-M75NG64K.js} +7 -7
  59. package/dist/_node-chunks/{chunk-YDM7NH4T.js → chunk-MBTS4OBP.js} +6 -6
  60. package/dist/_node-chunks/chunk-MBTTUFUX.js +11 -0
  61. package/dist/_node-chunks/{chunk-JUVUVVHI.js → chunk-MLJPAH4O.js} +6 -6
  62. package/dist/_node-chunks/{chunk-RMUBUNBY.js → chunk-NGFVR7UO.js} +6 -6
  63. package/dist/_node-chunks/{chunk-3FLRYZLJ.js → chunk-ONKMPF4O.js} +6 -6
  64. package/dist/_node-chunks/{chunk-B4XAZ2OC.js → chunk-OS6P62RS.js} +16 -20
  65. package/dist/_node-chunks/{chunk-GC7NA2Y7.js → chunk-QAQWINPN.js} +7 -7
  66. package/dist/_node-chunks/{chunk-IDPQ3CVN.js → chunk-QF4WUMRT.js} +10 -10
  67. package/dist/_node-chunks/{chunk-I36FPWMO.js → chunk-QF5RQWCH.js} +6 -6
  68. package/dist/_node-chunks/{chunk-BSXI35KM.js → chunk-QZR6HJVD.js} +7 -7
  69. package/dist/_node-chunks/chunk-R5H4DAON.js +19 -0
  70. package/dist/_node-chunks/{chunk-MWQIBOUB.js → chunk-RENIT4CI.js} +6 -6
  71. package/dist/_node-chunks/{chunk-4B52HLKK.js → chunk-SJVTZ4IO.js} +23 -23
  72. package/dist/_node-chunks/{chunk-ALHQVE5R.js → chunk-SL53Q3H4.js} +6 -6
  73. package/dist/_node-chunks/{chunk-7YQIVUEK.js → chunk-T34DVPWM.js} +6 -6
  74. package/dist/_node-chunks/{chunk-WWJKLYU5.js → chunk-TVDV6YAE.js} +8 -8
  75. package/dist/_node-chunks/{chunk-26ERGIQH.js → chunk-U6T34IDM.js} +6 -6
  76. package/dist/_node-chunks/{chunk-GLNHSUKT.js → chunk-UAU6RMOS.js} +19 -19
  77. package/dist/_node-chunks/{chunk-ZHVOUP6D.js → chunk-UMWJISED.js} +6 -6
  78. package/dist/_node-chunks/{chunk-LPIPPSMS.js → chunk-UO3EXKJC.js} +6 -6
  79. package/dist/_node-chunks/{chunk-NTUTJAD4.js → chunk-VCKRLODV.js} +8 -8
  80. package/dist/_node-chunks/{chunk-CESXIP3N.js → chunk-VS4AUXP2.js} +6 -6
  81. package/dist/_node-chunks/{chunk-PU33WSBW.js → chunk-VUHK6VXL.js} +12 -12
  82. package/dist/_node-chunks/{chunk-PJCSZR4T.js → chunk-VUP4EHUR.js} +8 -8
  83. package/dist/_node-chunks/{chunk-3L2QRDKH.js → chunk-VXDKI65K.js} +26 -26
  84. package/dist/_node-chunks/{chunk-DTNEHO4J.js → chunk-W32FBKF3.js} +10 -10
  85. package/dist/_node-chunks/{chunk-DY7F7B6V.js → chunk-W6AOA2O5.js} +7 -7
  86. package/dist/_node-chunks/{chunk-QWZZX2HN.js → chunk-W7352H3Q.js} +6 -6
  87. package/dist/_node-chunks/{chunk-S33FEPQ3.js → chunk-WMUNVUVG.js} +6 -6
  88. package/dist/_node-chunks/{chunk-M7BVABR2.js → chunk-WTZ24FWN.js} +8 -8
  89. package/dist/_node-chunks/{chunk-NAXIA2JI.js → chunk-X3BAGYZJ.js} +8 -8
  90. package/dist/_node-chunks/{chunk-3ZAENV5A.js → chunk-XERNMHVC.js} +6 -6
  91. package/dist/_node-chunks/chunk-XU6HITGZ.js +25 -0
  92. package/dist/_node-chunks/chunk-XV76A4CX.js +47 -0
  93. package/dist/_node-chunks/{chunk-CEIESR4U.js → chunk-XWHHBYMV.js} +6 -6
  94. package/dist/_node-chunks/{chunk-UYEX6LW6.js → chunk-Y3FJT543.js} +7 -7
  95. package/dist/_node-chunks/{chunk-DAEUTT3I.js → chunk-YHYL4HYS.js} +6 -6
  96. package/dist/_node-chunks/{chunk-DPOWAA4P.js → chunk-ZNT3JZI2.js} +7 -7
  97. package/dist/_node-chunks/{chunk-GIKCT5KG.js → chunk-ZPWEQZYR.js} +7 -7
  98. package/dist/_node-chunks/{chunk-3NH7IHUS.js → chunk-ZSTCVYOA.js} +6 -6
  99. package/dist/_node-chunks/dist-2H6YEUMD.js +16 -0
  100. package/dist/_node-chunks/dist-HL4THRGZ.js +27 -0
  101. package/dist/_node-chunks/{local-runtime-BKID5MBG.js → local-runtime-W3N7O65Q.js} +19 -19
  102. package/dist/_node-chunks/{mdx-plugin-7BOUDCZB.js → mdx-plugin-NVSAW2N3.js} +13 -13
  103. package/dist/_node-chunks/{monorepo-FRHSAJB7.js → monorepo-JDWM46J3.js} +11 -11
  104. package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-7BHSAJP4.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-56HEREMG.js} +11 -11
  105. package/dist/_node-chunks/optimized-tests-VZGTWCG4.js +22 -0
  106. package/dist/_node-chunks/{pattern-copy-play-6TGV6WS4.js → pattern-copy-play-ZWHYXQK5.js} +9 -9
  107. package/dist/_node-chunks/postinstallAddon-5TRUTJXJ.js +20 -0
  108. package/dist/_node-chunks/{rehype-external-links-EE2HT4QP.js → rehype-external-links-ME2XNDXH.js} +9 -9
  109. package/dist/_node-chunks/{rehype-slug-ZKRW2V6Z.js → rehype-slug-2UJLYPC6.js} +9 -9
  110. package/dist/_node-chunks/{relaxed-limits-6Q7VRQC5.js → relaxed-limits-XWE3S456.js} +11 -11
  111. package/dist/_node-chunks/{run-EBHIAT35.js → run-5YG73LXV.js} +17 -17
  112. package/dist/_node-chunks/{run-6Y3ZTASZ.js → run-DNDPGCFE.js} +15 -15
  113. package/dist/_node-chunks/{setup-6XIF77JT.js → setup-MDNSLQIJ.js} +8 -8
  114. package/dist/_node-chunks/{vitest.config.4.template-GMQNQ4UW.js → vitest.config.4.template-TXAUMPSS.js} +7 -7
  115. package/dist/addon-a11y/manager.js +4 -4
  116. package/dist/addon-a11y/preset.js +7 -7
  117. package/dist/addon-comments/manager.js +346 -0
  118. package/dist/addon-comments/preset.js +52 -0
  119. package/dist/addon-comments/preview.js +101 -0
  120. package/dist/addon-docs/blocks.js +10 -10
  121. package/dist/addon-docs/manager.js +2 -2
  122. package/dist/addon-docs/preset.js +10 -10
  123. package/dist/addon-links/preview.d.ts +1 -1
  124. package/dist/addon-mcp/preset.js +138 -38
  125. package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +13 -1
  126. package/dist/addon-themes/postinstall.js +7 -7
  127. package/dist/addon-vitest/constants.js +8 -8
  128. package/dist/addon-vitest/manager.js +3 -3
  129. package/dist/addon-vitest/node/coverage-reporter.js +8 -8
  130. package/dist/addon-vitest/node/vitest.js +16 -16
  131. package/dist/addon-vitest/postinstall.js +10 -10
  132. package/dist/addon-vitest/preset.js +14 -14
  133. package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
  134. package/dist/addon-vitest/vitest-plugin/index.js +12 -12
  135. package/dist/babel/index.js +11 -11
  136. package/dist/bin/core.js +56 -56
  137. package/dist/bin/dispatcher.js +10 -10
  138. package/dist/bin/loader.js +8 -8
  139. package/dist/builder-vite/index.js +15 -15
  140. package/dist/builder-vite/preset.js +13 -13
  141. package/dist/channels/index.d.ts +2 -2
  142. package/dist/channels/index.js +68 -17
  143. package/dist/{chunk-BCG2ui5q.d.ts → chunk-BRMwIGWt.d.ts} +14 -3
  144. package/dist/{chunk-LWwxlbee.d.ts → chunk-C4-cnJ1R.d.ts} +1 -1
  145. package/dist/{chunk-u_gGuTrz.d.ts → chunk-QtkUsZCs.d.ts} +27 -2
  146. package/dist/{chunk-BV_hETtB.d.ts → chunk-s5Ka0eSs.d.ts} +1 -1
  147. package/dist/cli/index.d.ts +1 -1
  148. package/dist/cli/index.js +21 -21
  149. package/dist/cli/tools/sdk/child-host.d.ts +1 -1
  150. package/dist/cli/tools/sdk/child-host.js +17 -17
  151. package/dist/cli/tools/sdk/index.d.ts +2 -2
  152. package/dist/cli/tools/sdk/index.js +18 -18
  153. package/dist/cli-commands/bin/index.js +7 -7
  154. package/dist/common/index.d.ts +3 -3
  155. package/dist/common/index.js +34 -34
  156. package/dist/components/index.js +29 -29
  157. package/dist/core-events/index.d.ts +3 -2
  158. package/dist/core-events/index.js +3 -1
  159. package/dist/core-server/index.d.ts +23 -3
  160. package/dist/core-server/index.js +206 -103
  161. package/dist/core-server/presets/common-manager.js +18 -10
  162. package/dist/core-server/presets/common-override-preset.js +10 -10
  163. package/dist/core-server/presets/common-preset.js +38 -38
  164. package/dist/create/bin/index.js +7 -7
  165. package/dist/create/index.js +15 -15
  166. package/dist/csf/index.js +1 -1
  167. package/dist/csf-tools/index.js +12 -12
  168. package/dist/manager/_manager-chunks/{globals-runtime-UFDJQlo-.js → globals-runtime-BUEqXras.js} +4 -4
  169. package/dist/manager/_manager-chunks/{globals-runtime-Ddp2jFET.js → globals-runtime-BsHjh8rR.js} +2 -2
  170. package/dist/manager/_manager-chunks/{globals-runtime-CCZrdft6.js → globals-runtime-CQ0Et7dZ.js} +2 -2
  171. package/dist/manager/_manager-chunks/{globals-runtime-C59T0h-j.js → globals-runtime-DChrMWvh.js} +1 -1
  172. package/dist/manager/_manager-chunks/{globals-runtime-Cccwtspx.js → globals-runtime-DiIxNujJ.js} +2 -2
  173. package/dist/manager/_manager-chunks/{globals-runtime-BgWmCsA7.js → globals-runtime-DjkYleFR.js} +163 -93
  174. package/dist/manager/_manager-chunks/{runtime-Db8fJ2MP.js → runtime-BMoEpoix.js} +24 -21
  175. package/dist/manager/_manager-chunks/{runtime-DC3oEVlM.js → runtime-BWASr_zc.js} +2 -2
  176. package/dist/manager/_manager-chunks/{runtime-D_FDSHFG.js → runtime-B_e-Zdqt.js} +12 -8
  177. package/dist/manager/_manager-chunks/{runtime-lPbyY_f5.js → runtime-CEi1oIg2.js} +405 -311
  178. package/dist/manager/_manager-chunks/{runtime-td6oYfU6.js → runtime-CLIeRJL-.js} +2 -2
  179. package/dist/manager/_manager-chunks/{runtime-AvqHE9rM.js → runtime-CWZ9qCi4.js} +54 -27
  180. package/dist/manager/_manager-chunks/{runtime-D8QxTQiI.js → runtime-CXOuNYw-.js} +3 -3
  181. package/dist/manager/_manager-chunks/{runtime-4wMiTjjZ.js → runtime-C_H6vGzi.js} +6 -5
  182. package/dist/manager/_manager-chunks/{runtime-DCOIOn4T.js → runtime-Dn2myy1z.js} +8 -8
  183. package/dist/manager/_manager-chunks/{runtime-CZtDJIYj.js → runtime-TSEq5lJd.js} +1 -1
  184. package/dist/manager/globals-runtime.js +1 -1
  185. package/dist/manager/runtime.js +1 -1
  186. package/dist/manager-api/index.d.ts +1 -1
  187. package/dist/manager-errors.d.ts +1 -1
  188. package/dist/mcp/index.js +8 -8
  189. package/dist/mocking-utils/index.js +9 -9
  190. package/dist/nextjs-vite/node/index.js +7 -7
  191. package/dist/nextjs-vite/preset.js +15 -11
  192. package/dist/nextjs-vite/vite-plugin/index.js +7 -7
  193. package/dist/nextjs-vite-plugin/index.js +8 -8
  194. package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
  195. package/dist/node-logger/index.js +9 -9
  196. package/dist/oxc-parser/index.js +10 -10
  197. package/dist/oxc-parser/worker.js +10 -10
  198. package/dist/preview/_chunks/{runtime-tyJLgv6h.js → runtime-COMyPEkR.js} +97 -27
  199. package/dist/preview/_chunks/{runtime-CdZ1yk7m.js → runtime-CqTqsVg2.js} +2 -2
  200. package/dist/preview/_chunks/{runtime-U1Ycy25F.js → runtime-CrKf1OM4.js} +2 -2
  201. package/dist/preview/_chunks/{runtime-CsO4apr9.js → runtime-YJlypwja.js} +30 -5
  202. package/dist/preview/runtime.js +1 -1
  203. package/dist/preview-api/index.d.ts +2 -2
  204. package/dist/preview-api/index.js +1 -1
  205. package/dist/preview-errors.d.ts +1 -1
  206. package/dist/react/docgen/docgen-worker.js +11 -11
  207. package/dist/react/preset.js +13 -13
  208. package/dist/react-native/bin/get-stories.js +8 -8
  209. package/dist/react-native/metro/node.js +10 -10
  210. package/dist/react-native/metro/withForkbook.js +13 -13
  211. package/dist/react-native/scripts/generate.js +8 -8
  212. package/dist/react-vite/node/index.js +7 -7
  213. package/dist/react-vite/preset.d.ts +3 -1
  214. package/dist/react-vite/preset.js +16 -9
  215. package/dist/server-errors.d.ts +1 -1
  216. package/dist/server-errors.js +9 -9
  217. package/dist/shared/open-service/index.d.ts +1 -1
  218. package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
  219. package/dist/telemetry/index.js +11 -11
  220. package/dist/types/index.d.ts +2 -2
  221. package/package.json +13 -1
  222. package/dist/_node-chunks/chunk-5A5XOSRM.js +0 -19
  223. package/dist/_node-chunks/chunk-5T6Q7HT3.js +0 -11
  224. package/dist/_node-chunks/chunk-6DRDJF2Q.js +0 -20
  225. package/dist/_node-chunks/chunk-HJVZQS65.js +0 -25
  226. package/dist/_node-chunks/chunk-LJ5JRR5Q.js +0 -18
  227. package/dist/_node-chunks/chunk-MKSEM5C2.js +0 -20
  228. package/dist/_node-chunks/dist-CFCU4PZG.js +0 -27
  229. package/dist/_node-chunks/dist-PFMT5YJK.js +0 -16
  230. package/dist/_node-chunks/optimized-tests-F5LCOTXH.js +0 -22
  231. package/dist/_node-chunks/postinstallAddon-4RININ5C.js +0 -20
@@ -1,19 +1,19 @@
1
- import CJS_COMPAT_NODE_URL_sfnpbdazcnb from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_sfnpbdazcnb from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_sfnpbdazcnb from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wr9w1e50s8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wr9w1e50s8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wr9w1e50s8 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_sfnpbdazcnb.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_sfnpbdazcnb.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_sfnpbdazcnb.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wr9w1e50s8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wr9w1e50s8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wr9w1e50s8.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  resolvePackageDir
14
- } from "../_node-chunks/chunk-UYEX6LW6.js";
15
- import "../_node-chunks/chunk-33T4HNF2.js";
16
- import "../_node-chunks/chunk-6JSZY5TJ.js";
14
+ } from "../_node-chunks/chunk-Y3FJT543.js";
15
+ import "../_node-chunks/chunk-JQKD337A.js";
16
+ import "../_node-chunks/chunk-7LYHZMJO.js";
17
17
 
18
18
  // src/addon-docs/preset.ts
19
19
  import { isAbsolute } from "node:path";
@@ -327,7 +327,7 @@ var getResolvedReact = async (options) => {
327
327
  }, docsMode = options.docs;
328
328
  return docsMode && (result.docsMode = docsMode), result;
329
329
  }, viteFinal = async (config, options) => {
330
- let { plugins = [] } = config, { csfPluginOptions = {} } = options, { mdxPlugin } = await import("../_node-chunks/mdx-plugin-7BOUDCZB.js"), enrichCsf2 = await options.presets.apply("experimental_enrichCsf"), { react, reactDom, mdx } = await getResolvedReact(options), packageDeduplicationPlugin = {
330
+ let { plugins = [] } = config, { csfPluginOptions = {} } = options, { mdxPlugin } = await import("../_node-chunks/mdx-plugin-NVSAW2N3.js"), enrichCsf2 = await options.presets.apply("experimental_enrichCsf"), { react, reactDom, mdx } = await getResolvedReact(options), packageDeduplicationPlugin = {
331
331
  name: "storybook:package-deduplication",
332
332
  enforce: "pre",
333
333
  config: () => ({
@@ -1,4 +1,4 @@
1
- import { ti as Addon_MakeDecoratorResult } from "../chunk-BCG2ui5q.js";
1
+ import { ti as Addon_MakeDecoratorResult } from "../chunk-BRMwIGWt.js";
2
2
 
3
3
  //#region .dts-emit/code/core/src/addon-links/preview.d.ts
4
4
  declare const decorators: Addon_MakeDecoratorResult[];
@@ -1,18 +1,21 @@
1
- import CJS_COMPAT_NODE_URL_sfnpbdazcnb from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_sfnpbdazcnb from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_sfnpbdazcnb from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wr9w1e50s8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wr9w1e50s8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wr9w1e50s8 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_sfnpbdazcnb.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_sfnpbdazcnb.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_sfnpbdazcnb.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wr9w1e50s8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wr9w1e50s8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wr9w1e50s8.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  package_default
14
- } from "../_node-chunks/chunk-PGIDRLZ5.js";
15
- import "../_node-chunks/chunk-6JSZY5TJ.js";
14
+ } from "../_node-chunks/chunk-4ISTQSCO.js";
15
+ import {
16
+ getCommentStore
17
+ } from "../_node-chunks/chunk-AK4RPNTY.js";
18
+ import "../_node-chunks/chunk-7LYHZMJO.js";
16
19
 
17
20
  // src/addon-mcp/mcp-handler.ts
18
21
  import { McpServer } from "tmcp";
@@ -209,6 +212,103 @@ async function buildStorybookStoryInstructions(options, {
209
212
  });
210
213
  }
211
214
 
215
+ // src/addon-mcp/tools/comments.ts
216
+ import * as v from "valibot";
217
+ import { getProjectRoot } from "@aussieljk/forkbook/internal/common";
218
+
219
+ // src/addon-comments/prompt.ts
220
+ var formatArgs = (args) => {
221
+ if (!(!args || Object.keys(args).length === 0))
222
+ try {
223
+ return JSON.stringify(args, null, 2);
224
+ } catch {
225
+ return;
226
+ }
227
+ };
228
+ function formatCommentPrompt(comment) {
229
+ let lines = [`Story: ${comment.title} / ${comment.name} (id: ${comment.storyId})`];
230
+ comment.importPath && lines.push(`File: ${comment.importPath}`), comment.element ? (lines.push(`Element: \`${comment.element.selector}\``), comment.element.text && lines.push(`Element text: "${comment.element.text}"`)) : lines.push("Element: the whole story");
231
+ let args = formatArgs(comment.args);
232
+ return args && lines.push("Args:", "```json", args, "```"), lines.push(`Note: ${comment.note}`), lines.push(`Comment id: ${comment.id}`), lines.join(`
233
+ `);
234
+ }
235
+ function formatCommentsPrompt(comments) {
236
+ return comments.length === 0 ? "There are no open Forkbook comments." : [
237
+ comments.length === 1 ? "Please address this Forkbook comment on a story." : `Please address these ${comments.length} Forkbook comments on stories.`,
238
+ ...comments.map((comment, index) => `## Comment ${index + 1}
239
+ ${formatCommentPrompt(comment)}`),
240
+ "When you finish a comment, resolve it with the `resolve_comment` MCP tool (Forkbook addon-mcp). Give its id and a short reply."
241
+ ].join(`
242
+
243
+ `);
244
+ }
245
+
246
+ // src/addon-mcp/tools/comments.ts
247
+ var LIST_COMMENTS_TOOL_NAME = "list_comments", RESOLVE_COMMENT_TOOL_NAME = "resolve_comment", ListCommentsInput = v.object({
248
+ status: v.optional(
249
+ v.pipe(
250
+ v.picklist(["open", "resolved", "all"]),
251
+ v.description('Which comments to list. The default is "open".')
252
+ )
253
+ ),
254
+ storyId: v.optional(v.pipe(v.string(), v.description("Only list comments on this story id.")))
255
+ }), ResolveCommentInput = v.object({
256
+ id: v.pipe(v.string(), v.description("Id of the comment, from list_comments.")),
257
+ reply: v.optional(
258
+ v.pipe(v.string(), v.description("Optional short note that tells the user what you changed."))
259
+ )
260
+ });
261
+ function addCommentTools(server, enabled, getStore = () => getCommentStore(getProjectRoot())) {
262
+ server.tool(
263
+ {
264
+ name: LIST_COMMENTS_TOOL_NAME,
265
+ title: "List story comments",
266
+ description: "List the comments that the user left on Forkbook stories (from the Comments panel). Each comment has the story id, story file path, the element selector and text, the args and the note. Only open comments by default. Do what each note asks, then call resolve_comment.",
267
+ schema: ListCommentsInput,
268
+ enabled
269
+ },
270
+ async (input) => {
271
+ try {
272
+ let comments = await getStore().list({
273
+ status: input?.status ?? "open",
274
+ storyId: input?.storyId
275
+ });
276
+ return {
277
+ content: [
278
+ { type: "text", text: formatCommentsPrompt(comments) },
279
+ { type: "text", text: JSON.stringify({ comments }, null, 2) }
280
+ ]
281
+ };
282
+ } catch (error) {
283
+ return errorToMCPContent(error);
284
+ }
285
+ }
286
+ ), server.tool(
287
+ {
288
+ name: RESOLVE_COMMENT_TOOL_NAME,
289
+ title: "Resolve a story comment",
290
+ description: "Mark a comment on a Forkbook story as resolved, after you made the change that it asks for. Add an optional reply that the user sees in the Comments panel.",
291
+ schema: ResolveCommentInput,
292
+ enabled
293
+ },
294
+ async (input) => {
295
+ try {
296
+ let comment = await getStore().resolve(input.id, input.reply);
297
+ return {
298
+ content: [
299
+ {
300
+ type: "text",
301
+ text: `Resolved comment ${comment.id} on ${comment.title} / ${comment.name}.`
302
+ }
303
+ ]
304
+ };
305
+ } catch (error) {
306
+ return errorToMCPContent(error);
307
+ }
308
+ }
309
+ );
310
+ }
311
+
212
312
  // src/addon-mcp/tools/preview-stories.ts
213
313
  import url from "node:url";
214
314
  import fs from "node:fs/promises";
@@ -545,7 +645,7 @@ function dropToolIfToolsetMissing(name, error) {
545
645
  logger3.error(`Skipping MCP tool "${name}", its backing toolset is not registered: ${error}`);
546
646
  }
547
647
  async function registerAddonMcpTools(server, context) {
548
- isToolsetEnabled("dev", context.toolsets) && await addPreviewStoriesResource(server);
648
+ isToolsetEnabled("dev", context.toolsets) && await addPreviewStoriesResource(server), isToolsetEnabled("dev", context.toolsets) && addCommentTools(server, createToolsetEnabled(server, "dev"));
549
649
  for (let definition of addonToolDefinitions)
550
650
  if (isToolsetEnabled(definition.toolset, context.toolsets) && isToolAvailable(definition, context))
551
651
  try {
@@ -670,7 +770,7 @@ function getToolsets(request, addonOptions) {
670
770
  }
671
771
 
672
772
  // src/addon-mcp/types.ts
673
- import * as v from "valibot";
773
+ import * as v2 from "valibot";
674
774
  var isLiteralEndpointPathname = (endpoint) => {
675
775
  try {
676
776
  let { pathname } = new URL(endpoint, "http://storybook.local");
@@ -678,18 +778,18 @@ var isLiteralEndpointPathname = (endpoint) => {
678
778
  } catch {
679
779
  return !1;
680
780
  }
681
- }, AddonOptions = v.object({
682
- endpoint: v.optional(
683
- v.pipe(
684
- v.string(),
685
- v.check(isLiteralEndpointPathname, "Endpoint must be a literal URL pathname")
781
+ }, AddonOptions = v2.object({
782
+ endpoint: v2.optional(
783
+ v2.pipe(
784
+ v2.string(),
785
+ v2.check(isLiteralEndpointPathname, "Endpoint must be a literal URL pathname")
686
786
  )
687
787
  ),
688
- toolsets: v.optional(
689
- v.object({
690
- dev: v.exactOptional(v.boolean(), !0),
691
- docs: v.exactOptional(v.boolean(), !0),
692
- test: v.exactOptional(v.boolean(), !0)
788
+ toolsets: v2.optional(
789
+ v2.object({
790
+ dev: v2.exactOptional(v2.boolean(), !0),
791
+ docs: v2.exactOptional(v2.boolean(), !0),
792
+ test: v2.exactOptional(v2.boolean(), !0)
693
793
  }),
694
794
  {
695
795
  // Default values for toolsets
@@ -701,7 +801,7 @@ var isLiteralEndpointPathname = (endpoint) => {
701
801
  });
702
802
 
703
803
  // src/addon-mcp/preset.ts
704
- import * as v3 from "valibot";
804
+ import * as v4 from "valibot";
705
805
  import {
706
806
  createLocalDocsAccess,
707
807
  getEffectiveToolAvailability as getEffectiveToolAvailability2,
@@ -979,16 +1079,16 @@ import {
979
1079
  DocsManifestMap
980
1080
  } from "@aussieljk/forkbook/internal/toolsets-docs";
981
1081
  import { logger as logger5 } from "@aussieljk/forkbook/internal/node-logger";
982
- import * as v2 from "valibot";
983
- var OAuthResourceMetadata = v2.object({
984
- resource: v2.optional(v2.string()),
985
- authorization_servers: v2.pipe(v2.array(v2.string()), v2.minLength(1)),
986
- scopes_supported: v2.optional(v2.array(v2.string()))
987
- }), OAuthServerMetadata = v2.object({
988
- issuer: v2.string(),
989
- authorization_endpoint: v2.string(),
990
- token_endpoint: v2.string(),
991
- scopes_supported: v2.optional(v2.array(v2.string()))
1082
+ import * as v3 from "valibot";
1083
+ var OAuthResourceMetadata = v3.object({
1084
+ resource: v3.optional(v3.string()),
1085
+ authorization_servers: v3.pipe(v3.array(v3.string()), v3.minLength(1)),
1086
+ scopes_supported: v3.optional(v3.array(v3.string()))
1087
+ }), OAuthServerMetadata = v3.object({
1088
+ issuer: v3.string(),
1089
+ authorization_endpoint: v3.string(),
1090
+ token_endpoint: v3.string(),
1091
+ scopes_supported: v3.optional(v3.array(v3.string()))
992
1092
  }), MANIFEST_CACHE_TTL = 3600 * 1e3, REVALIDATION_TTL = 60 * 1e3, AuthenticationError = class extends Error {
993
1093
  constructor(url2) {
994
1094
  super(`Authentication failed for ${url2}. Your token may be invalid or expired.`), this.name = "AuthenticationError";
@@ -1114,8 +1214,8 @@ var OAuthResourceMetadata = v2.object({
1114
1214
  throw new AuthenticationError(url2);
1115
1215
  if (!response.ok)
1116
1216
  throw new Error(`Failed to fetch ${url2}: ${response.status}`);
1117
- let text = await response.text(), { pathname } = new URL(url2), isComponentsManifest = pathname.endsWith("/manifests/components.json"), isDocsManifest = pathname.endsWith("/manifests/docs.json"), schema = isComponentsManifest ? ComponentManifestMap : isDocsManifest ? DocsManifestMap : v2.unknown();
1118
- if (v2.safeParse(v2.pipe(v2.string(), v2.parseJson(), schema), text).success)
1217
+ let text = await response.text(), { pathname } = new URL(url2), isComponentsManifest = pathname.endsWith("/manifests/components.json"), isDocsManifest = pathname.endsWith("/manifests/docs.json"), schema = isComponentsManifest ? ComponentManifestMap : isDocsManifest ? DocsManifestMap : v3.unknown();
1218
+ if (v3.safeParse(v3.pipe(v3.string(), v3.parseJson(), schema), text).success)
1119
1219
  return text;
1120
1220
  throw await this.#isMcpUnauthorized(new URL(url2).origin) ? new AuthenticationError(url2) : new Error(
1121
1221
  `Invalid manifest response from ${url2}: expected valid JSON manifest but got unexpected content.`
@@ -1135,9 +1235,9 @@ var OAuthResourceMetadata = v2.object({
1135
1235
  if (authReq) return authReq;
1136
1236
  let noManifestReason = "manifest-not-found";
1137
1237
  if (response.ok) {
1138
- let text = await response.text(), json = v2.safeParse(v2.pipe(v2.string(), v2.parseJson()), text);
1238
+ let text = await response.text(), json = v3.safeParse(v3.pipe(v3.string(), v3.parseJson()), text);
1139
1239
  if (json.success) {
1140
- if (v2.safeParse(ComponentManifestMap, json.output).success)
1240
+ if (v3.safeParse(ComponentManifestMap, json.output).success)
1141
1241
  return "public";
1142
1242
  noManifestReason = "manifest-invalid";
1143
1243
  }
@@ -1178,7 +1278,7 @@ var OAuthResourceMetadata = v2.object({
1178
1278
  return logger5.warn(
1179
1279
  `[addon-mcp] Failed to fetch OAuth resource metadata from ${resourceMetadataUrl}: ${resourceResponse.status}`
1180
1280
  ), null;
1181
- let resourceResult = v2.safeParse(OAuthResourceMetadata, await resourceResponse.json());
1281
+ let resourceResult = v3.safeParse(OAuthResourceMetadata, await resourceResponse.json());
1182
1282
  if (!resourceResult.success)
1183
1283
  return logger5.warn(
1184
1284
  `[addon-mcp] Invalid OAuth resource metadata from ${resourceMetadataUrl}: ${resourceResult.issues.map((i) => i.message).join(", ")}`
@@ -1188,7 +1288,7 @@ var OAuthResourceMetadata = v2.object({
1188
1288
  return logger5.warn(
1189
1289
  `[addon-mcp] Failed to fetch OAuth server metadata from ${serverMetadataUrl}: ${serverResponse.status}`
1190
1290
  ), null;
1191
- let serverResult = v2.safeParse(OAuthServerMetadata, await serverResponse.json());
1291
+ let serverResult = v3.safeParse(OAuthServerMetadata, await serverResponse.json());
1192
1292
  return serverResult.success ? {
1193
1293
  resourceMetadataUrl,
1194
1294
  resourceMetadata: resourceResult.output,
@@ -1238,7 +1338,7 @@ async function getStoryIndex(options) {
1238
1338
 
1239
1339
  // src/addon-mcp/preset.ts
1240
1340
  var previewAnnotations = async (existingAnnotations = []) => [...existingAnnotations, path.join(import.meta.dirname, "preview.js")], experimental_devServer = async (app, options) => {
1241
- let addonOptions = v3.parse(AddonOptions, {
1341
+ let addonOptions = v4.parse(AddonOptions, {
1242
1342
  endpoint: options.endpoint,
1243
1343
  toolsets: options.toolsets ?? {}
1244
1344
  }), origin2 = `http://localhost:${options.port}`, endpoint = addonOptions.endpoint ?? DEFAULT_MCP_ENDPOINT, core = await options.presets.apply("core", {}), hostValidation = {
@@ -4,7 +4,7 @@ var MCP_APP_PARAM = "mcp-app", MCP_APP_SIZE_CHANGED_EVENT = "storybook-mcp:size-
4
4
  // package.json
5
5
  var package_default = {
6
6
  name: "@aussieljk/forkbook",
7
- version: "0.0.1-13",
7
+ version: "0.0.1-15",
8
8
  description: "Forkbook: a small, fast fork of Storybook for React with Vite, Next.js with Vite and React Native",
9
9
  keywords: [
10
10
  "forkbook",
@@ -76,6 +76,18 @@ var package_default = {
76
76
  types: "./dist/addon-a11y/preview.d.ts",
77
77
  default: "./dist/addon-a11y/preview.js"
78
78
  },
79
+ "./addon-comments/manager": {
80
+ code: "./src/addon-comments/manager.tsx",
81
+ default: "./dist/addon-comments/manager.js"
82
+ },
83
+ "./addon-comments/preset": {
84
+ code: "./src/addon-comments/preset.ts",
85
+ default: "./dist/addon-comments/preset.js"
86
+ },
87
+ "./addon-comments/preview": {
88
+ code: "./src/addon-comments/preview.ts",
89
+ default: "./dist/addon-comments/preview.js"
90
+ },
79
91
  "./addon-docs": {
80
92
  code: "./src/addon-docs/index.ts",
81
93
  types: "./dist/addon-docs/index.d.ts",
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_sfnpbdazcnb from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_sfnpbdazcnb from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_sfnpbdazcnb from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wr9w1e50s8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wr9w1e50s8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wr9w1e50s8 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_sfnpbdazcnb.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_sfnpbdazcnb.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_sfnpbdazcnb.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wr9w1e50s8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wr9w1e50s8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wr9w1e50s8.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
- import "../_node-chunks/chunk-6JSZY5TJ.js";
12
+ import "../_node-chunks/chunk-7LYHZMJO.js";
13
13
 
14
14
  // src/addon-themes/postinstall.ts
15
15
  import { PackageManagerName } from "@aussieljk/forkbook/internal/common";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_sfnpbdazcnb from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_sfnpbdazcnb from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_sfnpbdazcnb from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wr9w1e50s8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wr9w1e50s8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wr9w1e50s8 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_sfnpbdazcnb.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_sfnpbdazcnb.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_sfnpbdazcnb.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wr9w1e50s8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wr9w1e50s8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wr9w1e50s8.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
@@ -35,8 +35,8 @@ import {
35
35
  TRIGGER_TEST_RUN_RESPONSE,
36
36
  TUTORIAL_VIDEO_LINK,
37
37
  storeOptions
38
- } from "../_node-chunks/chunk-CESXIP3N.js";
39
- import "../_node-chunks/chunk-6JSZY5TJ.js";
38
+ } from "../_node-chunks/chunk-VS4AUXP2.js";
39
+ import "../_node-chunks/chunk-7LYHZMJO.js";
40
40
  export {
41
41
  ADDON_ID as A11Y_ADDON_ID,
42
42
  PANEL_ID2 as A11Y_PANEL_ID,
@@ -54,7 +54,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id}"]
54
54
  let style = document.createElement("style");
55
55
  style.setAttribute("data-fb-css", id), style.textContent = ".fb-NOTFvq-bar{justify-content:space-between;align-items:center;padding:6px 6px 6px 20px;display:flex}.fb-NOTFvq-actionBar{justify-content:space-between;align-items:center;display:flex}.fb-NOTFvq-title{font-size:var(--fb-size-s2);font-weight:var(--fb-weight-bold)}.fb-NOTFvq-stackTrace{white-space:pre-wrap;word-wrap:break-word;user-select:text;max-height:60vh;font-family:var(--fb-font-mono);border-top:1px solid var(--fb-app-border-color);border-radius:0;margin:0;padding:20px;font-size:12px;overflow:auto}.fb-NOTFvq-troubleshootLink{color:var(--fb-color-default-text)}", document.head.appendChild(style);
56
56
  }
57
- var GlobalErrorModal_default = { title: "fb-NOTFvq-title", stackTrace: "fb-NOTFvq-stackTrace", bar: "fb-NOTFvq-bar", troubleshootLink: "fb-NOTFvq-troubleshootLink", actionBar: "fb-NOTFvq-actionBar" };
57
+ var GlobalErrorModal_default = { troubleshootLink: "fb-NOTFvq-troubleshootLink", bar: "fb-NOTFvq-bar", title: "fb-NOTFvq-title", stackTrace: "fb-NOTFvq-stackTrace", actionBar: "fb-NOTFvq-actionBar" };
58
58
 
59
59
  // src/addon-vitest/components/GlobalErrorModal.tsx
60
60
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -258,7 +258,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id2}"
258
258
  let style = document.createElement("style");
259
259
  style.setAttribute("data-fb-css", id2), style.textContent = ".fb-eMLqba-wrapper{white-space:nowrap;text-overflow:ellipsis;font-size:var(--fb-size-s1);color:var(--fb-text-muted-color);overflow:hidden}.fb-eMLqba-positiveText{color:var(--fb-color-positive-text)}", document.head.appendChild(style);
260
260
  }
261
- var Description_default = { positiveText: "fb-eMLqba-positiveText", wrapper: "fb-eMLqba-wrapper" };
261
+ var Description_default = { wrapper: "fb-eMLqba-wrapper", positiveText: "fb-eMLqba-positiveText" };
262
262
 
263
263
  // src/addon-vitest/components/Description.tsx
264
264
  import { Fragment as Fragment2, jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
@@ -326,7 +326,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id4}"
326
326
  let style = document.createElement("style");
327
327
  style.setAttribute("data-fb-css", id4), style.textContent = ".fb-wwCQYa-container{flex-direction:column;padding-bottom:1px;display:flex;&[data-in-context-menu]{padding-bottom:0}}.fb-wwCQYa-heading{justify-content:space-between;gap:12px;padding:8px 0;display:flex}.fb-wwCQYa-info{flex-direction:column;min-width:0;margin-left:8px;display:flex}.fb-wwCQYa-title{font-size:var(--fb-size-s1);color:var(--fb-color-default-text);font-weight:400;&[data-crashed]{color:var(--fb-color-negative-text);font-weight:700}}.fb-wwCQYa-actions{gap:4px;display:flex}.fb-wwCQYa-actionList{padding:0}.fb-wwCQYa-muted{color:var(--fb-text-muted-color)}.fb-wwCQYa-progress{margin:4px}.fb-wwCQYa-stopIcon{width:10px}", document.head.appendChild(style);
328
328
  }
329
- var TestProviderRender_default = { container: "fb-wwCQYa-container", heading: "fb-wwCQYa-heading", actions: "fb-wwCQYa-actions", info: "fb-wwCQYa-info", stopIcon: "fb-wwCQYa-stopIcon", actionList: "fb-wwCQYa-actionList", muted: "fb-wwCQYa-muted", progress: "fb-wwCQYa-progress", title: "fb-wwCQYa-title" };
329
+ var TestProviderRender_default = { info: "fb-wwCQYa-info", title: "fb-wwCQYa-title", muted: "fb-wwCQYa-muted", progress: "fb-wwCQYa-progress", actionList: "fb-wwCQYa-actionList", actions: "fb-wwCQYa-actions", container: "fb-wwCQYa-container", stopIcon: "fb-wwCQYa-stopIcon", heading: "fb-wwCQYa-heading" };
330
330
 
331
331
  // src/addon-vitest/components/TestProviderRender.tsx
332
332
  import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
@@ -1,22 +1,22 @@
1
- import CJS_COMPAT_NODE_URL_sfnpbdazcnb from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_sfnpbdazcnb from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_sfnpbdazcnb from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wr9w1e50s8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wr9w1e50s8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wr9w1e50s8 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_sfnpbdazcnb.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_sfnpbdazcnb.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_sfnpbdazcnb.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wr9w1e50s8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wr9w1e50s8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wr9w1e50s8.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  require_supports_color
14
- } from "../../_node-chunks/chunk-3F3673RQ.js";
14
+ } from "../../_node-chunks/chunk-JC4I7ZVM.js";
15
15
  import {
16
16
  __commonJS,
17
17
  __require,
18
18
  __toESM
19
- } from "../../_node-chunks/chunk-6JSZY5TJ.js";
19
+ } from "../../_node-chunks/chunk-7LYHZMJO.js";
20
20
 
21
21
  // ../../node_modules/make-dir/index.js
22
22
  var require_make_dir = __commonJS({
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_sfnpbdazcnb from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_sfnpbdazcnb from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_sfnpbdazcnb from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wr9w1e50s8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wr9w1e50s8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wr9w1e50s8 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_sfnpbdazcnb.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_sfnpbdazcnb.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_sfnpbdazcnb.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wr9w1e50s8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wr9w1e50s8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wr9w1e50s8.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_sfnpbdazcnb.createRequire(import.meta.url);
12
12
  import {
13
13
  errorToErrorLike,
14
14
  log
15
- } from "../../_node-chunks/chunk-KUZSE7ZD.js";
15
+ } from "../../_node-chunks/chunk-FFE4YDDE.js";
16
16
  import {
17
17
  ADDON_ID2 as ADDON_ID,
18
18
  COVERAGE_DIRECTORY,
@@ -21,24 +21,24 @@ import {
21
21
  STATUS_TYPE_ID_COMPONENT_TEST,
22
22
  STORY_INDEX_CHANNEL_EVENT_NAME,
23
23
  storeOptions
24
- } from "../../_node-chunks/chunk-CESXIP3N.js";
24
+ } from "../../_node-chunks/chunk-VS4AUXP2.js";
25
25
  import {
26
26
  throttle
27
- } from "../../_node-chunks/chunk-7YLKDHLZ.js";
27
+ } from "../../_node-chunks/chunk-JCQU3LND.js";
28
28
  import {
29
29
  escapeRegExp
30
- } from "../../_node-chunks/chunk-6DRDJF2Q.js";
31
- import "../../_node-chunks/chunk-JUVUVVHI.js";
32
- import "../../_node-chunks/chunk-7YQIVUEK.js";
30
+ } from "../../_node-chunks/chunk-BVF25DJF.js";
31
+ import "../../_node-chunks/chunk-MLJPAH4O.js";
32
+ import "../../_node-chunks/chunk-T34DVPWM.js";
33
33
  import {
34
34
  any,
35
35
  up
36
- } from "../../_node-chunks/chunk-OSIENBU6.js";
37
- import "../../_node-chunks/chunk-SHP6447T.js";
36
+ } from "../../_node-chunks/chunk-4XKLH4I3.js";
37
+ import "../../_node-chunks/chunk-M75NG64K.js";
38
38
  import {
39
39
  slash
40
- } from "../../_node-chunks/chunk-MKSEM5C2.js";
41
- import "../../_node-chunks/chunk-6JSZY5TJ.js";
40
+ } from "../../_node-chunks/chunk-M6LN66WA.js";
41
+ import "../../_node-chunks/chunk-7LYHZMJO.js";
42
42
 
43
43
  // src/addon-vitest/node/vitest.ts
44
44
  import process2 from "node:process";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_sfnpbdazcnb from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_sfnpbdazcnb from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_sfnpbdazcnb from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wr9w1e50s8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wr9w1e50s8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wr9w1e50s8 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_sfnpbdazcnb.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_sfnpbdazcnb.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_sfnpbdazcnb.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wr9w1e50s8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wr9w1e50s8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wr9w1e50s8.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
@@ -13,10 +13,10 @@ import {
13
13
  getTemplateConfigDir,
14
14
  isConfigAlreadySetup,
15
15
  postInstall
16
- } from "../_node-chunks/chunk-EM6AYELK.js";
17
- import "../_node-chunks/chunk-CESXIP3N.js";
18
- import "../_node-chunks/chunk-OSIENBU6.js";
19
- import "../_node-chunks/chunk-6JSZY5TJ.js";
16
+ } from "../_node-chunks/chunk-B6JJQARD.js";
17
+ import "../_node-chunks/chunk-VS4AUXP2.js";
18
+ import "../_node-chunks/chunk-4XKLH4I3.js";
19
+ import "../_node-chunks/chunk-7LYHZMJO.js";
20
20
  export {
21
21
  postInstall as default,
22
22
  getTemplateConfigDir,
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_sfnpbdazcnb from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_sfnpbdazcnb from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_sfnpbdazcnb from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wr9w1e50s8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wr9w1e50s8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wr9w1e50s8 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_sfnpbdazcnb.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_sfnpbdazcnb.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_sfnpbdazcnb.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wr9w1e50s8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wr9w1e50s8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wr9w1e50s8.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_sfnpbdazcnb.createRequire(import.meta.url);
12
12
  import {
13
13
  errorToErrorLike,
14
14
  log
15
- } from "../_node-chunks/chunk-KUZSE7ZD.js";
15
+ } from "../_node-chunks/chunk-FFE4YDDE.js";
16
16
  import {
17
17
  ADDON_ID2 as ADDON_ID,
18
18
  COVERAGE_DIRECTORY,
@@ -24,17 +24,17 @@ import {
24
24
  TRIGGER_TEST_RUN_REQUEST,
25
25
  TRIGGER_TEST_RUN_RESPONSE,
26
26
  storeOptions
27
- } from "../_node-chunks/chunk-CESXIP3N.js";
27
+ } from "../_node-chunks/chunk-VS4AUXP2.js";
28
28
  import {
29
29
  isEqual
30
- } from "../_node-chunks/chunk-MK2RPLWT.js";
31
- import "../_node-chunks/chunk-JUVUVVHI.js";
30
+ } from "../_node-chunks/chunk-AUUVNECB.js";
31
+ import "../_node-chunks/chunk-MLJPAH4O.js";
32
32
  import {
33
33
  importMetaResolve
34
- } from "../_node-chunks/chunk-UYEX6LW6.js";
35
- import "../_node-chunks/chunk-33T4HNF2.js";
36
- import "../_node-chunks/chunk-SHP6447T.js";
37
- import "../_node-chunks/chunk-6JSZY5TJ.js";
34
+ } from "../_node-chunks/chunk-Y3FJT543.js";
35
+ import "../_node-chunks/chunk-JQKD337A.js";
36
+ import "../_node-chunks/chunk-M75NG64K.js";
37
+ import "../_node-chunks/chunk-7LYHZMJO.js";
38
38
 
39
39
  // src/addon-vitest/preset.ts
40
40
  import { mkdir } from "node:fs/promises";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_sfnpbdazcnb from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_sfnpbdazcnb from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_sfnpbdazcnb from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wr9w1e50s8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wr9w1e50s8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wr9w1e50s8 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_sfnpbdazcnb.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_sfnpbdazcnb.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_sfnpbdazcnb.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wr9w1e50s8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wr9w1e50s8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wr9w1e50s8.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
@@ -13,7 +13,7 @@ import {
13
13
  __commonJS,
14
14
  __require,
15
15
  __toESM
16
- } from "../../_node-chunks/chunk-6JSZY5TJ.js";
16
+ } from "../../_node-chunks/chunk-7LYHZMJO.js";
17
17
 
18
18
  // ../../node_modules/tree-kill/index.js
19
19
  var require_tree_kill = __commonJS({