@aussieljk/forkbook 0.0.1-20 → 0.0.1-21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_browser-chunks/{Color-KALNKPOV.js → Color-7FO5YFB5.js} +1 -1
- package/dist/_browser-chunks/{WithTooltip-66AWY4VQ.js → WithTooltip-QWFSUQZP.js} +1 -1
- package/dist/_browser-chunks/{chunk-OWWV6YG7.js → chunk-5Z3MWCFR.js} +1 -1
- package/dist/_browser-chunks/{chunk-CX37N6FG.js → chunk-BSYOFSF6.js} +9 -9
- package/dist/_browser-chunks/{chunk-4ZGQ4YQ2.js → chunk-FAOLWWRN.js} +1 -1
- package/dist/_browser-chunks/{chunk-TRXLBGLS.js → chunk-ZIZCGWCG.js} +4 -4
- package/dist/_node-chunks/{attached-runtime-YD6HKC4B.js → attached-runtime-UC2CB4GH.js} +34 -34
- package/dist/_node-chunks/{builder-manager-UNJGYVTD.js → builder-manager-S5UUKVOR.js} +17 -19
- package/dist/_node-chunks/{chunk-QEYWG5C7.js → chunk-3335ZZIO.js} +6 -6
- package/dist/_node-chunks/{chunk-75TTPKEA.js → chunk-3D6N6P2R.js} +8 -8
- package/dist/_node-chunks/{chunk-65X3MXFT.js → chunk-3ER54PQM.js} +8 -8
- package/dist/_node-chunks/{chunk-AGLGQNTY.js → chunk-3H5C52QU.js} +6 -6
- package/dist/_node-chunks/{chunk-X6OGIC2G.js → chunk-3UI3TQ7R.js} +6 -6
- package/dist/_node-chunks/{chunk-5LFJQCYN.js → chunk-4C3ACAHV.js} +6 -6
- package/dist/_node-chunks/{chunk-J6FGP2VM.js → chunk-4UTCKJEQ.js} +7 -7
- package/dist/_node-chunks/{chunk-LAJIVWUF.js → chunk-53A5CYDK.js} +92 -17
- package/dist/_node-chunks/{chunk-HHM5X5RQ.js → chunk-53PSBDRK.js} +9 -9
- package/dist/_node-chunks/{chunk-7CWDZLIZ.js → chunk-54MO4QLB.js} +6 -6
- package/dist/_node-chunks/{chunk-QDVIQG3B.js → chunk-5CJMRQZ6.js} +6 -6
- package/dist/_node-chunks/{chunk-U54Q3F7E.js → chunk-5HOM7B4V.js} +6 -6
- package/dist/_node-chunks/{chunk-VNZF62KE.js → chunk-5QG6AXK4.js} +7 -7
- package/dist/_node-chunks/{chunk-LGHTKFSF.js → chunk-67XVZZUO.js} +6 -6
- package/dist/_node-chunks/{chunk-IIGBIVK3.js → chunk-6HQJJDLH.js} +6 -6
- package/dist/_node-chunks/chunk-6IPHWCFI.js +29 -0
- package/dist/_node-chunks/{chunk-ZZ5XMIGW.js → chunk-6XYOFBRD.js} +14 -31
- package/dist/_node-chunks/{chunk-F762PHMI.js → chunk-7IAYDGYH.js} +6 -6
- package/dist/_node-chunks/{chunk-WDANLGYN.js → chunk-7P67PUU2.js} +7 -7
- package/dist/_node-chunks/{chunk-6RYD6ENB.js → chunk-AAK5BBF2.js} +7 -7
- package/dist/_node-chunks/{chunk-VPFU5CEP.js → chunk-BGUVBOOU.js} +8 -8
- package/dist/_node-chunks/{chunk-ZLC4JSBV.js → chunk-BNGBOASQ.js} +6 -6
- package/dist/_node-chunks/{chunk-2GA4VQCS.js → chunk-BWZWCVVH.js} +9 -9
- package/dist/_node-chunks/{chunk-MWKSSYPG.js → chunk-C6HQ6WLU.js} +6 -6
- package/dist/_node-chunks/chunk-CJHRH777.js +20 -0
- package/dist/_node-chunks/{chunk-3ZOSFS7G.js → chunk-COEW4ORP.js} +6 -6
- package/dist/_node-chunks/{chunk-LCNF6BLP.js → chunk-CVHDAEDZ.js} +7 -7
- package/dist/_node-chunks/{chunk-ZX32M4O7.js → chunk-CXGOQNGI.js} +7 -7
- package/dist/_node-chunks/chunk-D4XTQWRM.js +11 -0
- package/dist/_node-chunks/{chunk-EFCBUWOB.js → chunk-D5V6CZ6U.js} +7 -7
- package/dist/_node-chunks/{chunk-CPDP5SQS.js → chunk-DCTXJ4TT.js} +9 -9
- package/dist/_node-chunks/{chunk-LNGSV5UI.js → chunk-DP6WFY3D.js} +7 -7
- package/dist/_node-chunks/{chunk-DQEUNKLX.js → chunk-E23GDXG6.js} +9 -85
- package/dist/_node-chunks/{chunk-SFXFL4TP.js → chunk-E3ZFMURC.js} +8 -8
- package/dist/_node-chunks/{chunk-N4LNGTYL.js → chunk-E6O3NA44.js} +7 -7
- package/dist/_node-chunks/{chunk-UZH2V3WY.js → chunk-ECS3WDOU.js} +7 -7
- package/dist/_node-chunks/{chunk-N5WU4BEY.js → chunk-FB5YJWOH.js} +6 -6
- package/dist/_node-chunks/{chunk-XVSUIOZA.js → chunk-FCK5FM6D.js} +7 -7
- package/dist/_node-chunks/{chunk-3CQI3JH5.js → chunk-FJUGPEJK.js} +6 -6
- package/dist/_node-chunks/{chunk-Z665R6AF.js → chunk-FPYXI76E.js} +7 -7
- package/dist/_node-chunks/{chunk-PJRPETSU.js → chunk-GEWVOY3F.js} +6 -6
- package/dist/_node-chunks/{chunk-FC3V4KZO.js → chunk-GHZ44BFB.js} +7 -7
- package/dist/_node-chunks/{chunk-WTPHQ2NG.js → chunk-GJMFISS3.js} +6 -6
- package/dist/_node-chunks/{chunk-33I6AQU7.js → chunk-GK2Y2RFX.js} +6 -6
- package/dist/_node-chunks/{chunk-7M3TOE4F.js → chunk-GP6YBA2R.js} +6 -6
- package/dist/_node-chunks/{chunk-KAALBGRE.js → chunk-GQUFGJ4D.js} +6 -6
- package/dist/_node-chunks/{chunk-MC4BFUVH.js → chunk-H4CRQDTK.js} +6 -6
- package/dist/_node-chunks/{chunk-IENHXJVB.js → chunk-HCDG54OG.js} +7 -7
- package/dist/_node-chunks/{chunk-2CNN3CRI.js → chunk-HGJMP4EI.js} +8 -8
- package/dist/_node-chunks/chunk-HSX6BDBA.js +18 -0
- package/dist/_node-chunks/{chunk-WMZJ2WK4.js → chunk-IPFPWMT5.js} +1255 -291
- package/dist/_node-chunks/{chunk-FXW52X4U.js → chunk-KRIOC4WF.js} +8 -8
- package/dist/_node-chunks/{chunk-NRXCMSAI.js → chunk-KUL2MJ6N.js} +6 -6
- package/dist/_node-chunks/{chunk-DAYTIH6Z.js → chunk-LUR6QTYB.js} +8 -8
- package/dist/_node-chunks/{chunk-2VJHCGAK.js → chunk-LYS7TI35.js} +8 -8
- package/dist/_node-chunks/{chunk-AVHJZUTH.js → chunk-MDTXL6SN.js} +8 -8
- package/dist/_node-chunks/{chunk-EKYNX5NX.js → chunk-MIIPXT4S.js} +8 -8
- package/dist/_node-chunks/{chunk-WYRBOMQF.js → chunk-MLWGAA2I.js} +8 -7
- package/dist/_node-chunks/{chunk-XF7H5GZM.js → chunk-MWUGCUB5.js} +8 -8
- package/dist/_node-chunks/{chunk-SPAHK37C.js → chunk-MX5MVLEK.js} +6 -6
- package/dist/_node-chunks/{chunk-25A7444H.js → chunk-N44UIGCO.js} +6 -6
- package/dist/_node-chunks/{chunk-JXZONVHW.js → chunk-NP2JHOFY.js} +7 -7
- package/dist/_node-chunks/{chunk-6FWJWEAG.js → chunk-OMNGOPNG.js} +7 -7
- package/dist/_node-chunks/{chunk-WZBMPROH.js → chunk-OO2GTHUF.js} +6 -6
- package/dist/_node-chunks/{chunk-ZN6YOIB2.js → chunk-PC57BIYZ.js} +7 -7
- package/dist/_node-chunks/{chunk-SUQ4OM7Y.js → chunk-PHWMAF5C.js} +6 -6
- package/dist/_node-chunks/{chunk-CJDYU653.js → chunk-PLIQQETC.js} +7 -7
- package/dist/_node-chunks/{chunk-B2EEX2SZ.js → chunk-QMYCIS2U.js} +6 -6
- package/dist/_node-chunks/{chunk-4BE3LRIQ.js → chunk-QZIDK3GX.js} +13 -14
- package/dist/_node-chunks/{chunk-6NLQCV6A.js → chunk-ROJ6RSIJ.js} +7 -7
- package/dist/_node-chunks/{chunk-NZWK62R5.js → chunk-S2NB6QEG.js} +30 -30
- package/dist/_node-chunks/{chunk-GWT4HQZU.js → chunk-S6VCOSQS.js} +6 -6
- package/dist/_node-chunks/{chunk-6OQKMJJA.js → chunk-SEVOOOB2.js} +10 -10
- package/dist/_node-chunks/{chunk-S7RGKBGT.js → chunk-SFT6ZAVN.js} +6 -6
- package/dist/_node-chunks/{chunk-AP4HJ3I3.js → chunk-SXBUK4F6.js} +7 -7
- package/dist/_node-chunks/{chunk-XUZB4FIX.js → chunk-TGF6Q66I.js} +8 -8
- package/dist/_node-chunks/{chunk-AOYLA323.js → chunk-TGFHWGGT.js} +6 -6
- package/dist/_node-chunks/{chunk-GFEH7IBP.js → chunk-TTLSBLPQ.js} +8 -8
- package/dist/_node-chunks/{chunk-VIMGLCNZ.js → chunk-UUAEW2AR.js} +6 -6
- package/dist/_node-chunks/{chunk-JOX7OETB.js → chunk-VQHM66NL.js} +8 -8
- package/dist/_node-chunks/{chunk-ZEYZWDOS.js → chunk-VSTTY3TM.js} +6 -6
- package/dist/_node-chunks/{chunk-N25CZ3RC.js → chunk-XDBSAFUB.js} +7 -7
- package/dist/_node-chunks/{chunk-EG2WLN5V.js → chunk-XTQQGAUZ.js} +7 -7
- package/dist/_node-chunks/{chunk-X2GGQZIN.js → chunk-YMJVSFJT.js} +6 -6
- package/dist/_node-chunks/{chunk-OBPVOYJA.js → chunk-YXEKWVJQ.js} +7 -7
- package/dist/_node-chunks/{chunk-L52VGA36.js → chunk-Z6CUUWJO.js} +7 -7
- package/dist/_node-chunks/{chunk-GEJBTN76.js → chunk-ZAIGR7EV.js} +9 -17
- package/dist/_node-chunks/{chunk-OMMQME7G.js → chunk-ZCFXEFR6.js} +14 -14
- package/dist/_node-chunks/{chunk-DO3CPQAZ.js → chunk-ZHUBOYOD.js} +6 -6
- package/dist/_node-chunks/{chunk-IBLUURAJ.js → chunk-ZHUBTBP2.js} +8 -8
- package/dist/_node-chunks/{chunk-JR7ZCQ77.js → chunk-ZSTIFZHY.js} +6 -6
- package/dist/_node-chunks/dist-TRTHRODT.js +16 -0
- package/dist/_node-chunks/dist-XPLJ5T4W.js +27 -0
- package/dist/_node-chunks/{local-runtime-4ETW6QTI.js → local-runtime-AC7MOWYK.js} +21 -21
- package/dist/_node-chunks/{mdx-plugin-OOYTYMVU.js → mdx-plugin-ZW26VGEP.js} +13 -13
- package/dist/_node-chunks/{monorepo-3AWUYNFD.js → monorepo-T2KZK62Q.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-ORY3BAP5.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-2CWUUF6H.js} +11 -11
- package/dist/_node-chunks/optimized-tests-4AK3PFSX.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-AY4DE7ME.js → pattern-copy-play-CMRGEXHM.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-OUQENFYO.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-FGVC633L.js → rehype-external-links-LHOAIJ2E.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-2AZLMC5G.js → rehype-slug-K54MMYY6.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-QI3YR6CU.js → relaxed-limits-TTL4PWH7.js} +11 -11
- package/dist/_node-chunks/{run-QJJ4FOF3.js → run-6DXBB5F7.js} +28 -26
- package/dist/_node-chunks/{run-WFJZYNZN.js → run-BMTV5ZAO.js} +17 -17
- package/dist/_node-chunks/{setup-V5CRAJMV.js → setup-FDPYW25Y.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-LECBBF3L.js → vitest.config.4.template-2TCFWAAI.js} +7 -7
- package/dist/addon-a11y/manager.js +3 -3
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-comments/manager.js +2 -2
- package/dist/addon-comments/preset.js +43 -15
- package/dist/addon-comments/preview.js +1 -1
- package/dist/addon-docs/blocks.js +9 -9
- package/dist/addon-docs/manager.js +2 -2
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-mcp/preset.js +39 -39
- package/dist/addon-mcp/preview.js +1 -1
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +2 -2
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +4 -4
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +18 -18
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +18 -18
- package/dist/addon-vitest/vitest-plugin/global-setup.js +8 -8
- package/dist/addon-vitest/vitest-plugin/index.js +18 -18
- package/dist/babel/index.js +30582 -31
- package/dist/bin/core.js +60 -71
- package/dist/bin/dispatcher.js +10 -10
- package/dist/bin/loader.js +8 -8
- package/dist/builder-next/index.js +9 -9
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/{chunk-ge-rSPy0.d.ts → chunk-B53gRJBs.d.ts} +22 -4
- package/dist/{chunk-Bubi-WAs.d.ts → chunk-BspNQvZn.d.ts} +1 -6
- package/dist/{chunk-OksNJcvJ.d.ts → chunk-CMx6bGAU.d.ts} +1 -1
- package/dist/{chunk-BsO65uOb.d.ts → chunk-CRmUwbkb.d.ts} +1 -1
- package/dist/{chunk-D2CQlXaR.d.ts → chunk-bhl-7rRD.d.ts} +28 -1
- package/dist/cli/index.d.ts +3 -39
- package/dist/cli/index.js +37 -282
- package/dist/cli/skills/content/index.d.ts +1 -1
- package/dist/cli/skills/content/index.js +1 -1
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +2 -2
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/common/index.d.ts +9 -9
- package/dist/common/index.js +89 -91
- package/dist/components/index.js +29 -29
- package/dist/core-events/index.d.ts +12 -5
- package/dist/core-events/index.js +1 -5
- package/dist/core-server/index.d.ts +41 -13
- package/dist/core-server/index.js +247 -98
- package/dist/core-server/presets/common-manager.js +9 -9
- package/dist/core-server/presets/common-override-preset.js +10 -10
- package/dist/core-server/presets/common-preset.js +39 -39
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.js +6 -7
- package/dist/csf-tools/index.js +13 -13
- package/dist/instrumenter/index.d.ts +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-D6tkG2NO.js → globals-runtime-BJ6EZqH7.js} +6 -6
- package/dist/manager/_manager-chunks/{globals-runtime-BnWjPJUH.js → globals-runtime-BfXaq_CP.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-Bv2PBsx6.js → globals-runtime-BkSn_Jpe.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-D9zzVzSP.js → globals-runtime-Cisw9IIE.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-DafcXCKU.js → globals-runtime-DpvE_zRs.js} +80 -84
- package/dist/manager/_manager-chunks/{globals-runtime-BDkYPr00.js → globals-runtime-wV08sCKl.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-DJlTd1qE.js → runtime-4OQZWibO.js} +134 -134
- package/dist/manager/_manager-chunks/{runtime-mjv_40eH.js → runtime-BYxbyNm0.js} +4 -4
- package/dist/manager/_manager-chunks/{runtime-BuPcYKCO.js → runtime-CM4Z8aKR.js} +0 -2
- package/dist/manager/_manager-chunks/{runtime-CGaGp83p.js → runtime-Cjo1UL1u.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-BhfRBP4G.js → runtime-Cx1-wr6J.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-CXROgt6G.js → runtime-Cxe_uJRb.js} +8 -8
- package/dist/manager/_manager-chunks/{runtime-DmpQacrn.js → runtime-D702FFTO.js} +5 -7
- package/dist/manager/_manager-chunks/{runtime-Dc6lf19c.js → runtime-DnWFp6Zw.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-DTUm5K9J.js → runtime-DoYPE6g6.js} +24 -24
- package/dist/manager/_manager-chunks/{runtime-Cn5PJT3-.js → runtime-sppa-0ll.js} +2 -2
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.d.ts +10 -10
- package/dist/mcp/index.js +10 -10
- package/dist/mocking-utils/index.js +9 -9
- package/dist/next/index.js +9 -9
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +11 -11
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.js +8 -8
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/node-logger/index.d.ts +8 -2
- package/dist/node-logger/index.js +9 -9
- package/dist/oxc-parser/index.js +10 -10
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview/_chunks/{runtime-C88AzFBv.js → runtime-Cbq5WjbL.js} +2 -2
- package/dist/preview/_chunks/{runtime-Cpzxe5eK.js → runtime-DDEUZops.js} +12 -16
- package/dist/preview/_chunks/{runtime-BiYuZt-X.js → runtime-DsjyhLpG.js} +8 -6
- package/dist/preview/_chunks/{runtime-MYVHRAoo.js → runtime-Dwi6NFcX.js} +2 -2
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +2 -2
- package/dist/preview-api/index.js +1 -1
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -11
- package/dist/react/preset.js +13 -13
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/metro/node.js +10 -10
- package/dist/react-native/metro/withForkbook.js +11 -11
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +8 -8
- package/dist/server-errors.d.ts +1 -1
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/index.d.ts +1 -1
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/telemetry/index.js +11 -11
- package/dist/types/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-CGVVOUBC.js +0 -18
- package/dist/_node-chunks/chunk-QQNRWEHL.js +0 -972
- package/dist/_node-chunks/chunk-RAIWLNFA.js +0 -30606
- package/dist/_node-chunks/chunk-VYCVBW5Q.js +0 -92
- package/dist/_node-chunks/chunk-WYCITRIE.js +0 -11
- package/dist/_node-chunks/chunk-ZHRCL7PG.js +0 -148
- package/dist/_node-chunks/dist-HBFOS25E.js +0 -16
- package/dist/_node-chunks/dist-Q2XNFC24.js +0 -27
- package/dist/_node-chunks/optimized-tests-DOKSUJAM.js +0 -22
- package/dist/_node-chunks/postinstallAddon-L46G75CD.js +0 -20
- package/dist/chunk-CDMZhRke.d.ts +0 -30
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as __esmMin } from "./runtime-BdGkqNEt.js";
|
|
2
|
-
import { $ as Separator, Co as useState, Gt as useStorybookApi, Ht as useGlobals, Nt as init_manager_api, Q as Select, So as useRef, Vt as useGlobalTypes, bo as useMemo, go as useEffect, ho as useDebugValue, mt as init_components, po as useCallback, ro as _forkbook_global_react_default, uo as init__forkbook_global_react, wo as useSyncExternalStore } from "./runtime-
|
|
3
|
-
import { f as Icons, n as init_dev_server, p as init_icon, t as StatusTypeIdMismatchError$1 } from "./runtime-
|
|
4
|
-
import { a as init_constants$1 } from "./runtime-
|
|
5
|
-
import { a as init_esm, i as dedent } from "./runtime-
|
|
6
|
-
import { l as init_isEqual, u as isEqual } from "./runtime-
|
|
7
|
-
import { c as UniversalStoreFollowerTimeoutError, l as init_manager_errors, s as StatusTypeIdMismatchError$2 } from "./runtime-
|
|
2
|
+
import { $ as Separator, Co as useState, Gt as useStorybookApi, Ht as useGlobals, Nt as init_manager_api, Q as Select, So as useRef, Vt as useGlobalTypes, bo as useMemo, go as useEffect, ho as useDebugValue, mt as init_components, po as useCallback, ro as _forkbook_global_react_default, uo as init__forkbook_global_react, wo as useSyncExternalStore } from "./runtime-CM4Z8aKR.js";
|
|
3
|
+
import { f as Icons, n as init_dev_server, p as init_icon, t as StatusTypeIdMismatchError$1 } from "./runtime-D702FFTO.js";
|
|
4
|
+
import { a as init_constants$1 } from "./runtime-Cx1-wr6J.js";
|
|
5
|
+
import { a as init_esm, i as dedent } from "./runtime-sppa-0ll.js";
|
|
6
|
+
import { l as init_isEqual, u as isEqual } from "./runtime-DnWFp6Zw.js";
|
|
7
|
+
import { c as UniversalStoreFollowerTimeoutError, l as init_manager_errors, s as StatusTypeIdMismatchError$2 } from "./runtime-BYxbyNm0.js";
|
|
8
8
|
//#region src/shared/global.ts
|
|
9
9
|
var global;
|
|
10
10
|
function init_global() {
|
|
@@ -100,8 +100,8 @@ function init_ToolbarMenuSelect_module() {
|
|
|
100
100
|
document.head.appendChild(style);
|
|
101
101
|
}
|
|
102
102
|
ToolbarMenuSelect_module_default = {
|
|
103
|
-
"
|
|
104
|
-
"
|
|
103
|
+
"item": "fb-FCSgfW-item",
|
|
104
|
+
"itemMiddle": "fb-FCSgfW-itemMiddle"
|
|
105
105
|
};
|
|
106
106
|
})))();
|
|
107
107
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __esmMin } from "./runtime-BdGkqNEt.js";
|
|
2
|
-
import { $i as SmartphoneIcon, $n as CpuIcon, $r as MapPinIcon, $t as ArrowDownRightIcon, A as deprecate, Aa as WatchIcon, Ai as PlusIcon, An as CircleAlertIcon, Ar as GripVerticalIcon, Bi as RssIcon, Bn as CircleUserIcon, Br as LayersIcon, Ca as UserCogIcon, Ci as PenToolIcon, Cn as ChartLineIcon, Co as useState, Cr as GitCommitHorizontalIcon, Da as VideoIcon, Di as PinIcon, Dn as ChevronLeftIcon, Dr as GlobeIcon, Ea as UsersIcon, Ei as PilcrowIcon, En as ChevronDownIcon, Er as GitPullRequestIcon, Fa as ZapOffIcon, Fi as RefreshCwIcon, Fn as CirclePlayIcon, Fr as IdCardIcon, Gi as Share2Icon, Gn as CodeXmlIcon, Gr as ListChecksIcon, Hi as SaveIcon, Hn as ClockIcon, Hr as LibraryIcon, Ia as ZoomInIcon, Ii as RewindIcon, In as CirclePlusIcon, Ir as ImageIcon, Ji as ShoppingBasketIcon, Jn as CompassIcon, Jr as ListOrderedIcon, Jt as AppWindowIcon, Ki as ShareIcon, Kn as Columns2Icon, Kr as ListFilterIcon, La as ZoomOutIcon, Li as RotateCcwIcon, Ln as CircleQuestionMarkIcon, Lr as InfoIcon, M as logger, Ma as WrenchIcon, Mi as PowerIcon, Mn as CircleArrowRightIcon, Mr as HeartIcon, Na as XIcon, Ni as PrinterIcon, Nn as CircleCheckIcon, Nr as HourglassIcon, Oa as Volume2Icon, Oi as PinOffIcon, On as ChevronRightIcon, Or as Grid2x2Icon, Pa as ZapIcon, Pi as PuzzleIcon, Pn as CircleIcon, Pr as HouseIcon, Qi as SlidersHorizontalIcon, Qn as CornerUpRightIcon, Qr as MailIcon, Qt as ArrowDownLeftIcon, Ra as init__forkbook_global_lucide_react, Ri as RotateCwIcon, Rn as CircleSlash2Icon, Rr as ItalicIcon, Sa as UploadIcon, Si as PaperclipIcon, Sn as ChartColumnIcon, Sr as GitBranchIcon, St as init_theming, Ta as UserPlusIcon, Ti as PhoneIcon, Tn as CheckIcon, Tr as GitMergeIcon, Ui as SearchIcon, Un as CloudIcon, Ur as LifeBuoyIcon, Vi as RulerIcon, Vn as CircleXIcon, Vr as LayoutGridIcon, Wi as SettingsIcon, Wn as CodeIcon, Wr as LinkIcon, Xi as SkipBackIcon, Xn as CopyIcon, Xr as LockOpenIcon, Xt as ArchiveRestoreIcon, Yi as SignpostIcon, Yn as ContrastIcon, Yr as LockIcon, Yt as AppleIcon, Zi as SkipForwardIcon, Zn as CornerUpLeftIcon, Zt as ArrowDownIcon, _a as Trash2Icon, _i as NutIcon, _n as BriefcaseIcon, _o as useId, _r as FoldVerticalIcon, _t as ThemeProvider, aa as SquareXIcon, ai as MessageCircleMoreIcon, an as ArrowUpLeftIcon, ar as DownloadIcon, ba as UnfoldVerticalIcon, bi as PaintbrushVerticalIcon, bn as CalendarIcon, br as GaugeIcon, ca as SunIcon, ci as MessagesSquareIcon, cn as AtSignIcon, cr as EyeIcon, da as TerminalIcon, di as MonitorPlayIcon, dn as BadgeCheckIcon, dr as FileCodeIcon, ea as SmileIcon, ei as Maximize2Icon, en as ArrowDownWideNarrowIcon, er as CreditCardIcon, fa as TextAlignEndIcon, fi as MoonIcon, fn as BanIcon, fo as memo, fr as FileTextIcon, ga as TimerIcon, gi as NewspaperIcon, gn as BookmarkIcon, gr as FlipHorizontal2Icon, ha as ThumbsUpIcon, hi as NetworkIcon, hn as BookOpenIcon, hr as FlaskConicalIcon, ia as SquareIcon, ii as MessageCircleIcon, in as ArrowUpIcon, ir as DiamondIcon, j as init_client_logger, ja as WaypointsIcon, ji as PointerIcon, jn as CircleArrowLeftIcon, jr as HardDriveIcon, ka as WandSparklesIcon, ki as PlayIcon, kn as ChevronUpIcon, kr as Grid3x3Icon, la as TabletIcon, li as MinusIcon, ln as AtomIcon, lo as forwardRef, lr as EyeOffIcon, ma as TextCursorInputIcon, mi as MousePointerClickIcon, mn as BoldIcon, mo as useContext, mr as FlagIcon, na as SquareArrowOutUpRightIcon, ni as MemoryStickIcon, nn as ArrowLeftRightIcon, nr as DatabaseIcon, oa as StarIcon, oi as MessageSquareIcon, on as ArrowUpNarrowWideIcon, oo as createContext, or as EllipsisIcon, pa as TextAlignStartIcon, pi as MousePointer2Icon, pn as BellIcon, pr as FilesIcon, qi as ShieldIcon, qn as CommandIcon, qr as ListIcon, qt as AccessibilityIcon, ra as SquareDashedIcon, ri as MenuIcon, rn as ArrowRightIcon, ro as _forkbook_global_react_default, rr as DeleteIcon, sa as StickerIcon, si as MessageSquareTextIcon, sn as ArrowUpRightIcon, sr as ExpandIcon, ta as SquareArrowDownLeftIcon, ti as MehIcon, tn as ArrowLeftIcon, tr as CrosshairIcon, ua as TagIcon, ui as MonitorIcon, un as AwardIcon, uo as init__forkbook_global_react, ur as FastForwardIcon, va as TriangleAlertIcon, vi as PackageIcon, vn as BrushCleaningIcon, vr as FolderIcon, wa as UserIcon, wi as PencilIcon, wn as CheckCheckIcon, wr as GitForkIcon, wt as useTheme, xa as UnlinkIcon, xi as PanelLeftIcon, xn as CameraIcon, xr as GiftIcon, ya as TypeIcon, yi as PaintbrushIcon, yn as BugIcon, yr as FrownIcon, zi as Rows2Icon, zn as CircleStopIcon, zr as KeyIcon } from "./runtime-
|
|
3
|
-
import { d as StorybookError, f as init_storybook_error } from "./runtime-
|
|
4
|
-
import { _ as TooltipTrigger, b as init_TooltipRoot, d as TooltipPopup, f as init_TooltipPopup, g as init_TooltipPortal, h as TooltipPortal, m as init_TooltipPositioner, p as TooltipPositioner, v as init_TooltipTrigger, y as TooltipRoot } from "./runtime-
|
|
2
|
+
import { $i as SmartphoneIcon, $n as CpuIcon, $r as MapPinIcon, $t as ArrowDownRightIcon, A as deprecate, Aa as WatchIcon, Ai as PlusIcon, An as CircleAlertIcon, Ar as GripVerticalIcon, Bi as RssIcon, Bn as CircleUserIcon, Br as LayersIcon, Ca as UserCogIcon, Ci as PenToolIcon, Cn as ChartLineIcon, Co as useState, Cr as GitCommitHorizontalIcon, Da as VideoIcon, Di as PinIcon, Dn as ChevronLeftIcon, Dr as GlobeIcon, Ea as UsersIcon, Ei as PilcrowIcon, En as ChevronDownIcon, Er as GitPullRequestIcon, Fa as ZapOffIcon, Fi as RefreshCwIcon, Fn as CirclePlayIcon, Fr as IdCardIcon, Gi as Share2Icon, Gn as CodeXmlIcon, Gr as ListChecksIcon, Hi as SaveIcon, Hn as ClockIcon, Hr as LibraryIcon, Ia as ZoomInIcon, Ii as RewindIcon, In as CirclePlusIcon, Ir as ImageIcon, Ji as ShoppingBasketIcon, Jn as CompassIcon, Jr as ListOrderedIcon, Jt as AppWindowIcon, Ki as ShareIcon, Kn as Columns2Icon, Kr as ListFilterIcon, La as ZoomOutIcon, Li as RotateCcwIcon, Ln as CircleQuestionMarkIcon, Lr as InfoIcon, M as logger, Ma as WrenchIcon, Mi as PowerIcon, Mn as CircleArrowRightIcon, Mr as HeartIcon, Na as XIcon, Ni as PrinterIcon, Nn as CircleCheckIcon, Nr as HourglassIcon, Oa as Volume2Icon, Oi as PinOffIcon, On as ChevronRightIcon, Or as Grid2x2Icon, Pa as ZapIcon, Pi as PuzzleIcon, Pn as CircleIcon, Pr as HouseIcon, Qi as SlidersHorizontalIcon, Qn as CornerUpRightIcon, Qr as MailIcon, Qt as ArrowDownLeftIcon, Ra as init__forkbook_global_lucide_react, Ri as RotateCwIcon, Rn as CircleSlash2Icon, Rr as ItalicIcon, Sa as UploadIcon, Si as PaperclipIcon, Sn as ChartColumnIcon, Sr as GitBranchIcon, St as init_theming, Ta as UserPlusIcon, Ti as PhoneIcon, Tn as CheckIcon, Tr as GitMergeIcon, Ui as SearchIcon, Un as CloudIcon, Ur as LifeBuoyIcon, Vi as RulerIcon, Vn as CircleXIcon, Vr as LayoutGridIcon, Wi as SettingsIcon, Wn as CodeIcon, Wr as LinkIcon, Xi as SkipBackIcon, Xn as CopyIcon, Xr as LockOpenIcon, Xt as ArchiveRestoreIcon, Yi as SignpostIcon, Yn as ContrastIcon, Yr as LockIcon, Yt as AppleIcon, Zi as SkipForwardIcon, Zn as CornerUpLeftIcon, Zt as ArrowDownIcon, _a as Trash2Icon, _i as NutIcon, _n as BriefcaseIcon, _o as useId, _r as FoldVerticalIcon, _t as ThemeProvider, aa as SquareXIcon, ai as MessageCircleMoreIcon, an as ArrowUpLeftIcon, ar as DownloadIcon, ba as UnfoldVerticalIcon, bi as PaintbrushVerticalIcon, bn as CalendarIcon, br as GaugeIcon, ca as SunIcon, ci as MessagesSquareIcon, cn as AtSignIcon, cr as EyeIcon, da as TerminalIcon, di as MonitorPlayIcon, dn as BadgeCheckIcon, dr as FileCodeIcon, ea as SmileIcon, ei as Maximize2Icon, en as ArrowDownWideNarrowIcon, er as CreditCardIcon, fa as TextAlignEndIcon, fi as MoonIcon, fn as BanIcon, fo as memo, fr as FileTextIcon, ga as TimerIcon, gi as NewspaperIcon, gn as BookmarkIcon, gr as FlipHorizontal2Icon, ha as ThumbsUpIcon, hi as NetworkIcon, hn as BookOpenIcon, hr as FlaskConicalIcon, ia as SquareIcon, ii as MessageCircleIcon, in as ArrowUpIcon, ir as DiamondIcon, j as init_client_logger, ja as WaypointsIcon, ji as PointerIcon, jn as CircleArrowLeftIcon, jr as HardDriveIcon, ka as WandSparklesIcon, ki as PlayIcon, kn as ChevronUpIcon, kr as Grid3x3Icon, la as TabletIcon, li as MinusIcon, ln as AtomIcon, lo as forwardRef, lr as EyeOffIcon, ma as TextCursorInputIcon, mi as MousePointerClickIcon, mn as BoldIcon, mo as useContext, mr as FlagIcon, na as SquareArrowOutUpRightIcon, ni as MemoryStickIcon, nn as ArrowLeftRightIcon, nr as DatabaseIcon, oa as StarIcon, oi as MessageSquareIcon, on as ArrowUpNarrowWideIcon, oo as createContext, or as EllipsisIcon, pa as TextAlignStartIcon, pi as MousePointer2Icon, pn as BellIcon, pr as FilesIcon, qi as ShieldIcon, qn as CommandIcon, qr as ListIcon, qt as AccessibilityIcon, ra as SquareDashedIcon, ri as MenuIcon, rn as ArrowRightIcon, ro as _forkbook_global_react_default, rr as DeleteIcon, sa as StickerIcon, si as MessageSquareTextIcon, sn as ArrowUpRightIcon, sr as ExpandIcon, ta as SquareArrowDownLeftIcon, ti as MehIcon, tn as ArrowLeftIcon, tr as CrosshairIcon, ua as TagIcon, ui as MonitorIcon, un as AwardIcon, uo as init__forkbook_global_react, ur as FastForwardIcon, va as TriangleAlertIcon, vi as PackageIcon, vn as BrushCleaningIcon, vr as FolderIcon, wa as UserIcon, wi as PencilIcon, wn as CheckCheckIcon, wr as GitForkIcon, wt as useTheme, xa as UnlinkIcon, xi as PanelLeftIcon, xn as CameraIcon, xr as GiftIcon, ya as TypeIcon, yi as PaintbrushIcon, yn as BugIcon, yr as FrownIcon, zi as Rows2Icon, zn as CircleStopIcon, zr as KeyIcon } from "./runtime-CM4Z8aKR.js";
|
|
3
|
+
import { d as StorybookError, f as init_storybook_error } from "./runtime-Cxe_uJRb.js";
|
|
4
|
+
import { _ as TooltipTrigger, b as init_TooltipRoot, d as TooltipPopup, f as init_TooltipPopup, g as init_TooltipPortal, h as TooltipPortal, m as init_TooltipPositioner, p as TooltipPositioner, v as init_TooltipTrigger, y as TooltipRoot } from "./runtime-Cjo1UL1u.js";
|
|
5
5
|
//#region src/components/components/icon/icon.module.css
|
|
6
6
|
var id$1, icon_module_default;
|
|
7
7
|
function init_icon_module() {
|
|
@@ -455,7 +455,7 @@ function init_TooltipProvider() {
|
|
|
455
455
|
}
|
|
456
456
|
//#endregion
|
|
457
457
|
//#region src/core-events/index.ts
|
|
458
|
-
var events, CHANNEL_WS_DISCONNECT, CHANNEL_WS_RECONNECT, CHANNEL_CREATED, CONFIG_ERROR, CURRENT_STORY_WAS_SET, DOCS_PREPARED, DOCS_RENDERED, DOCS_PAGE_IN_VIEW, FORCE_RE_RENDER, FORCE_REMOUNT, GLOBALS_UPDATED, NAVIGATE_URL, PLAY_FUNCTION_THREW_EXCEPTION, UNHANDLED_ERRORS_WHILE_PLAYING, PRELOAD_ENTRIES, PREVIEW_INITIALIZED, PREVIEW_BUILDER_PROGRESS, PREVIEW_KEYDOWN, REGISTER_SUBSCRIPTION, RESET_STORY_ARGS, SELECT_STORY, SET_CONFIG, SET_CURRENT_STORY, SET_FILTER, SET_GLOBALS, SET_INDEX, SET_STORIES, SHARED_STATE_CHANGED, SHARED_STATE_SET, STORIES_COLLAPSE_ALL, STORIES_EXPAND_ALL, STORY_ARGS_UPDATED, STORY_CHANGED, STORY_ERRORED, STORY_INDEX_INVALIDATED, STORY_MISSING, STORY_PREPARED, STORY_RENDER_PHASE_CHANGED, STORY_RENDERED, STORY_FINISHED, STORY_SPECIFIED, STORY_THREW_EXCEPTION, STORY_UNCHANGED, STORY_HOT_UPDATED, UPDATE_GLOBALS, UPDATE_QUERY_PARAMS, UPDATE_STORY_ARGS, REQUEST_WHATS_NEW_DATA, RESULT_WHATS_NEW_DATA, SET_WHATS_NEW_CACHE, TOGGLE_WHATS_NEW_NOTIFICATIONS, TELEMETRY_ERROR, SAVE_STORY_REQUEST, SAVE_STORY_RESPONSE, ARGTYPES_INFO_REQUEST, ARGTYPES_INFO_RESPONSE,
|
|
458
|
+
var events, CHANNEL_WS_DISCONNECT, CHANNEL_WS_RECONNECT, CHANNEL_CREATED, CONFIG_ERROR, CURRENT_STORY_WAS_SET, DOCS_PREPARED, DOCS_RENDERED, DOCS_PAGE_IN_VIEW, FORCE_RE_RENDER, FORCE_REMOUNT, GLOBALS_UPDATED, NAVIGATE_URL, PLAY_FUNCTION_THREW_EXCEPTION, UNHANDLED_ERRORS_WHILE_PLAYING, PRELOAD_ENTRIES, PREVIEW_INITIALIZED, PREVIEW_BUILDER_PROGRESS, PREVIEW_KEYDOWN, REGISTER_SUBSCRIPTION, RESET_STORY_ARGS, SELECT_STORY, SET_CONFIG, SET_CURRENT_STORY, SET_FILTER, SET_GLOBALS, SET_INDEX, SET_STORIES, SHARED_STATE_CHANGED, SHARED_STATE_SET, STORIES_COLLAPSE_ALL, STORIES_EXPAND_ALL, STORY_ARGS_UPDATED, STORY_CHANGED, STORY_ERRORED, STORY_INDEX_INVALIDATED, STORY_MISSING, STORY_PREPARED, STORY_RENDER_PHASE_CHANGED, STORY_RENDERED, STORY_FINISHED, STORY_SPECIFIED, STORY_THREW_EXCEPTION, STORY_UNCHANGED, STORY_HOT_UPDATED, UPDATE_GLOBALS, UPDATE_QUERY_PARAMS, UPDATE_STORY_ARGS, REQUEST_WHATS_NEW_DATA, RESULT_WHATS_NEW_DATA, SET_WHATS_NEW_CACHE, TOGGLE_WHATS_NEW_NOTIFICATIONS, TELEMETRY_ERROR, SAVE_STORY_REQUEST, SAVE_STORY_RESPONSE, ARGTYPES_INFO_REQUEST, ARGTYPES_INFO_RESPONSE, AI_SETUP_ANALYTICS_RESPONSE, AI_SETUP_ANALYTICS_REQUEST, OPEN_IN_EDITOR_REQUEST, OPEN_IN_EDITOR_RESPONSE, MANAGER_INERT_ATTRIBUTE_CHANGED, SHARE_ISOLATE_MODE, AI_PROMPT_NUDGE, SIDEBAR_FILTER_CHANGED;
|
|
459
459
|
function init_core_events() {
|
|
460
460
|
return (init_core_events = __esmMin((() => {
|
|
461
461
|
events = /* @__PURE__ */ function(events) {
|
|
@@ -515,8 +515,6 @@ function init_core_events() {
|
|
|
515
515
|
events["SAVE_STORY_RESPONSE"] = "saveStoryResponse";
|
|
516
516
|
events["ARGTYPES_INFO_REQUEST"] = "argtypesInfoRequest";
|
|
517
517
|
events["ARGTYPES_INFO_RESPONSE"] = "argtypesInfoResponse";
|
|
518
|
-
events["GHOST_STORIES_REQUEST"] = "ghostStoriesRequest";
|
|
519
|
-
events["GHOST_STORIES_RESPONSE"] = "ghostStoriesResponse";
|
|
520
518
|
events["AI_SETUP_ANALYTICS_RESPONSE"] = "aiSetupAnalyticsResponse";
|
|
521
519
|
events["AI_SETUP_ANALYTICS_REQUEST"] = "aiSetupAnalyticsRequest";
|
|
522
520
|
events["OPEN_IN_EDITOR_REQUEST"] = "openInEditorRequest";
|
|
@@ -527,7 +525,7 @@ function init_core_events() {
|
|
|
527
525
|
events["SIDEBAR_FILTER_CHANGED"] = "sidebarFilterChanged";
|
|
528
526
|
return events;
|
|
529
527
|
}(events || {});
|
|
530
|
-
({CHANNEL_WS_DISCONNECT, CHANNEL_WS_RECONNECT, CHANNEL_CREATED, CONFIG_ERROR, CURRENT_STORY_WAS_SET, DOCS_PREPARED, DOCS_RENDERED, DOCS_PAGE_IN_VIEW, FORCE_RE_RENDER, FORCE_REMOUNT, GLOBALS_UPDATED, NAVIGATE_URL, PLAY_FUNCTION_THREW_EXCEPTION, UNHANDLED_ERRORS_WHILE_PLAYING, PRELOAD_ENTRIES, PREVIEW_INITIALIZED, PREVIEW_BUILDER_PROGRESS, PREVIEW_KEYDOWN, REGISTER_SUBSCRIPTION, RESET_STORY_ARGS, SELECT_STORY, SET_CONFIG, SET_CURRENT_STORY, SET_FILTER, SET_GLOBALS, SET_INDEX, SET_STORIES, SHARED_STATE_CHANGED, SHARED_STATE_SET, STORIES_COLLAPSE_ALL, STORIES_EXPAND_ALL, STORY_ARGS_UPDATED, STORY_CHANGED, STORY_ERRORED, STORY_INDEX_INVALIDATED, STORY_MISSING, STORY_PREPARED, STORY_RENDER_PHASE_CHANGED, STORY_RENDERED, STORY_FINISHED, STORY_SPECIFIED, STORY_THREW_EXCEPTION, STORY_UNCHANGED, STORY_HOT_UPDATED, UPDATE_GLOBALS, UPDATE_QUERY_PARAMS, UPDATE_STORY_ARGS, REQUEST_WHATS_NEW_DATA, RESULT_WHATS_NEW_DATA, SET_WHATS_NEW_CACHE, TOGGLE_WHATS_NEW_NOTIFICATIONS, TELEMETRY_ERROR, SAVE_STORY_REQUEST, SAVE_STORY_RESPONSE, ARGTYPES_INFO_REQUEST, ARGTYPES_INFO_RESPONSE,
|
|
528
|
+
({CHANNEL_WS_DISCONNECT, CHANNEL_WS_RECONNECT, CHANNEL_CREATED, CONFIG_ERROR, CURRENT_STORY_WAS_SET, DOCS_PREPARED, DOCS_RENDERED, DOCS_PAGE_IN_VIEW, FORCE_RE_RENDER, FORCE_REMOUNT, GLOBALS_UPDATED, NAVIGATE_URL, PLAY_FUNCTION_THREW_EXCEPTION, UNHANDLED_ERRORS_WHILE_PLAYING, PRELOAD_ENTRIES, PREVIEW_INITIALIZED, PREVIEW_BUILDER_PROGRESS, PREVIEW_KEYDOWN, REGISTER_SUBSCRIPTION, RESET_STORY_ARGS, SELECT_STORY, SET_CONFIG, SET_CURRENT_STORY, SET_FILTER, SET_GLOBALS, SET_INDEX, SET_STORIES, SHARED_STATE_CHANGED, SHARED_STATE_SET, STORIES_COLLAPSE_ALL, STORIES_EXPAND_ALL, STORY_ARGS_UPDATED, STORY_CHANGED, STORY_ERRORED, STORY_INDEX_INVALIDATED, STORY_MISSING, STORY_PREPARED, STORY_RENDER_PHASE_CHANGED, STORY_RENDERED, STORY_FINISHED, STORY_SPECIFIED, STORY_THREW_EXCEPTION, STORY_UNCHANGED, STORY_HOT_UPDATED, UPDATE_GLOBALS, UPDATE_QUERY_PARAMS, UPDATE_STORY_ARGS, REQUEST_WHATS_NEW_DATA, RESULT_WHATS_NEW_DATA, SET_WHATS_NEW_CACHE, TOGGLE_WHATS_NEW_NOTIFICATIONS, TELEMETRY_ERROR, SAVE_STORY_REQUEST, SAVE_STORY_RESPONSE, ARGTYPES_INFO_REQUEST, ARGTYPES_INFO_RESPONSE, AI_SETUP_ANALYTICS_RESPONSE, AI_SETUP_ANALYTICS_REQUEST, OPEN_IN_EDITOR_REQUEST, OPEN_IN_EDITOR_RESPONSE, MANAGER_INERT_ATTRIBUTE_CHANGED, SHARE_ISOLATE_MODE, AI_PROMPT_NUDGE, SIDEBAR_FILTER_CHANGED} = events);
|
|
531
529
|
})))();
|
|
532
530
|
}
|
|
533
531
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as __toESM, n as __esmMin } from "./runtime-BdGkqNEt.js";
|
|
2
|
-
import { Co as useState, So as useRef, ao as cloneElement, bo as useMemo, go as useEffect, io as _forkbook_global_react_exports, po as useCallback, to as Component, uo as init__forkbook_global_react, xo as useReducer, yo as useLayoutEffect } from "./runtime-
|
|
3
|
-
import { n as require_react_is, r as require_prop_types } from "./runtime-
|
|
4
|
-
import { a as _inheritsLoose, l as _extends, o as init_inheritsLoose, t as _objectWithoutPropertiesLoose } from "./runtime-
|
|
2
|
+
import { Co as useState, So as useRef, ao as cloneElement, bo as useMemo, go as useEffect, io as _forkbook_global_react_exports, po as useCallback, to as Component, uo as init__forkbook_global_react, xo as useReducer, yo as useLayoutEffect } from "./runtime-CM4Z8aKR.js";
|
|
3
|
+
import { n as require_react_is, r as require_prop_types } from "./runtime-sppa-0ll.js";
|
|
4
|
+
import { a as _inheritsLoose, l as _extends, o as init_inheritsLoose, t as _objectWithoutPropertiesLoose } from "./runtime-Cjo1UL1u.js";
|
|
5
5
|
//#region ../../node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
|
|
6
6
|
function getSymbols(object) {
|
|
7
7
|
return Object.getOwnPropertySymbols(object).filter((symbol) => Object.prototype.propertyIsEnumerable.call(object, symbol));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as __toESM, n as __esmMin } from "./runtime-BdGkqNEt.js";
|
|
2
|
-
import { $a as init_channels, Ba as CHANNEL_WS_DISCONNECT, C as Route, Co as useState, D as init_router, Dt as addons, E as getBasename, Fi as RefreshCwIcon, G as Form, Gt as useStorybookApi, J as Loader, Kt as useStorybookState, L as Button, Lt as shortcutMatchesShortcut, Mr as HeartIcon, Na as XIcon, Nt as init_manager_api, Ot as eventToShortcut, Pn as CircleIcon, Qa as createBrowserChannel, Ra as init__forkbook_global_lucide_react, Rt as shortcutToHumanString, St as init_theming, Tn as CheckIcon, Tt as Consumer, Va as CHANNEL_WS_RECONNECT, Vn as CircleXIcon, W as ForkbookLogo, Z as ScrollArea, Za as init_core_events, b as Location, bo as useMemo, c as Addon_TypesEnum, cr as EyeIcon, ct as TabsView, d as REVIEW_STATUS_TYPE_ID, f as init_types, fr as FileTextIcon, ft as TooltipProvider, go as useEffect, l as CHANGE_DETECTION_STATUS_TYPE_ID, lr as EyeOffIcon, mt as init_components, no as Fragment, po as useCallback, q as Link, ro as _forkbook_global_react_default, to as Component, u as NON_AGGREGATED_STATUS_TYPE_IDS, uo as init__forkbook_global_react, ut as Tooltip, va as TriangleAlertIcon, vt as color, w as buildManagerHref, wr as GitForkIcon, wt as useTheme, za as CHANNEL_CREATED, zt as types } from "./runtime-
|
|
3
|
-
import { A as isThumbnailUrl, B as TOOLBAR_ID, C as init_useCopyButton, H as global, R as ToolbarManager, U as init_global, V as init_constants, k as init_thumbnails, w as useCopyButton, z as init_ToolbarManager } from "./runtime-
|
|
4
|
-
import { C as UpgradeBlock, c as init_IconSymbols, d as init_menu, f as menuTool, n as renderForkbookUI, o as init_Sidebar, s as UseSymbol, t as init_manager, w as init_UpgradeBlock } from "./runtime-
|
|
5
|
-
import { c as require_memoizerific, o as curriedTransparentize$1, s as init_polished_esm } from "./runtime-
|
|
6
|
-
import { c as init_clsx, s as clsx } from "./runtime-
|
|
2
|
+
import { $a as init_channels, Ba as CHANNEL_WS_DISCONNECT, C as Route, Co as useState, D as init_router, Dt as addons, E as getBasename, Fi as RefreshCwIcon, G as Form, Gt as useStorybookApi, J as Loader, Kt as useStorybookState, L as Button, Lt as shortcutMatchesShortcut, Mr as HeartIcon, Na as XIcon, Nt as init_manager_api, Ot as eventToShortcut, Pn as CircleIcon, Qa as createBrowserChannel, Ra as init__forkbook_global_lucide_react, Rt as shortcutToHumanString, St as init_theming, Tn as CheckIcon, Tt as Consumer, Va as CHANNEL_WS_RECONNECT, Vn as CircleXIcon, W as ForkbookLogo, Z as ScrollArea, Za as init_core_events, b as Location, bo as useMemo, c as Addon_TypesEnum, cr as EyeIcon, ct as TabsView, d as REVIEW_STATUS_TYPE_ID, f as init_types, fr as FileTextIcon, ft as TooltipProvider, go as useEffect, l as CHANGE_DETECTION_STATUS_TYPE_ID, lr as EyeOffIcon, mt as init_components, no as Fragment, po as useCallback, q as Link, ro as _forkbook_global_react_default, to as Component, u as NON_AGGREGATED_STATUS_TYPE_IDS, uo as init__forkbook_global_react, ut as Tooltip, va as TriangleAlertIcon, vt as color, w as buildManagerHref, wr as GitForkIcon, wt as useTheme, za as CHANNEL_CREATED, zt as types } from "./runtime-CM4Z8aKR.js";
|
|
3
|
+
import { A as isThumbnailUrl, B as TOOLBAR_ID, C as init_useCopyButton, H as global, R as ToolbarManager, U as init_global, V as init_constants, k as init_thumbnails, w as useCopyButton, z as init_ToolbarManager } from "./runtime-Cxe_uJRb.js";
|
|
4
|
+
import { C as UpgradeBlock, c as init_IconSymbols, d as init_menu, f as menuTool, n as renderForkbookUI, o as init_Sidebar, s as UseSymbol, t as init_manager, w as init_UpgradeBlock } from "./runtime-4OQZWibO.js";
|
|
5
|
+
import { c as require_memoizerific, o as curriedTransparentize$1, s as init_polished_esm } from "./runtime-sppa-0ll.js";
|
|
6
|
+
import { c as init_clsx, s as clsx } from "./runtime-DnWFp6Zw.js";
|
|
7
7
|
//#region src/manager/utils/root-page.ts
|
|
8
8
|
var getRootPage, thumbnailSrc;
|
|
9
9
|
function init_root_page() {
|
|
@@ -150,8 +150,8 @@ function init_status_module() {
|
|
|
150
150
|
document.head.appendChild(style);
|
|
151
151
|
}
|
|
152
152
|
status_module_default = {
|
|
153
|
-
"
|
|
154
|
-
"
|
|
153
|
+
"loadingIcon": "fb-HwMO1a-loadingIcon",
|
|
154
|
+
"glow": "fb-HwMO1a-glow"
|
|
155
155
|
};
|
|
156
156
|
})))();
|
|
157
157
|
}
|
|
@@ -413,11 +413,11 @@ function init_About_module() {
|
|
|
413
413
|
document.head.appendChild(style);
|
|
414
414
|
}
|
|
415
415
|
About_module_default = {
|
|
416
|
-
"footer": "fb-v5QLGG-footer",
|
|
417
|
-
"link": "fb-v5QLGG-link",
|
|
418
416
|
"container": "fb-v5QLGG-container",
|
|
417
|
+
"actions": "fb-v5QLGG-actions",
|
|
418
|
+
"link": "fb-v5QLGG-link",
|
|
419
419
|
"header": "fb-v5QLGG-header",
|
|
420
|
-
"
|
|
420
|
+
"footer": "fb-v5QLGG-footer"
|
|
421
421
|
};
|
|
422
422
|
})))();
|
|
423
423
|
}
|
|
@@ -540,17 +540,17 @@ function init_shortcuts_module() {
|
|
|
540
540
|
document.head.appendChild(style);
|
|
541
541
|
}
|
|
542
542
|
shortcuts_module_default = {
|
|
543
|
-
"
|
|
544
|
-
"
|
|
545
|
-
"gridWrapper": "fb-5Bi54W-gridWrapper",
|
|
543
|
+
"headerItem": "fb-5Bi54W-headerItem",
|
|
544
|
+
"textInput": "fb-5Bi54W-textInput",
|
|
546
545
|
"row": "fb-5Bi54W-row",
|
|
546
|
+
"gridWrapper": "fb-5Bi54W-gridWrapper",
|
|
547
|
+
"successIcon": "fb-5Bi54W-successIcon",
|
|
548
|
+
"header": "fb-5Bi54W-header",
|
|
549
|
+
"description": "fb-5Bi54W-description",
|
|
547
550
|
"jiggle": "fb-5Bi54W-jiggle",
|
|
548
|
-
"
|
|
551
|
+
"fade": "fb-5Bi54W-fade",
|
|
549
552
|
"gridHeaderRow": "fb-5Bi54W-gridHeaderRow",
|
|
550
|
-
"
|
|
551
|
-
"header": "fb-5Bi54W-header",
|
|
552
|
-
"headerItem": "fb-5Bi54W-headerItem",
|
|
553
|
-
"successIcon": "fb-5Bi54W-successIcon"
|
|
553
|
+
"container": "fb-5Bi54W-container"
|
|
554
554
|
};
|
|
555
555
|
})))();
|
|
556
556
|
}
|
|
@@ -756,12 +756,12 @@ function init_whats_new_module() {
|
|
|
756
756
|
document.head.appendChild(style);
|
|
757
757
|
}
|
|
758
758
|
whats_new_module_default = {
|
|
759
|
-
"iframe": "fb-wRVF8a-iframe",
|
|
760
|
-
"alertIcon": "fb-wRVF8a-alertIcon",
|
|
761
|
-
"loaderWrapper": "fb-wRVF8a-loaderWrapper",
|
|
762
759
|
"centered": "fb-wRVF8a-centered",
|
|
760
|
+
"loaderWrapper": "fb-wRVF8a-loaderWrapper",
|
|
763
761
|
"message": "fb-wRVF8a-message",
|
|
764
|
-
"footer": "fb-wRVF8a-footer"
|
|
762
|
+
"footer": "fb-wRVF8a-footer",
|
|
763
|
+
"iframe": "fb-wRVF8a-iframe",
|
|
764
|
+
"alertIcon": "fb-wRVF8a-alertIcon"
|
|
765
765
|
};
|
|
766
766
|
})))();
|
|
767
767
|
}
|
|
@@ -873,8 +873,8 @@ function init_index_module() {
|
|
|
873
873
|
document.head.appendChild(style);
|
|
874
874
|
}
|
|
875
875
|
index_module_default = {
|
|
876
|
-
"
|
|
877
|
-
"
|
|
876
|
+
"content": "fb-eGKmTG-content",
|
|
877
|
+
"sidebarToggle": "fb-eGKmTG-sidebarToggle"
|
|
878
878
|
};
|
|
879
879
|
})))();
|
|
880
880
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as __toESM, i as __require, n as __esmMin, t as __commonJSMin } from "./runtime-BdGkqNEt.js";
|
|
2
|
-
import { Co as useState, po as useCallback, ro as _forkbook_global_react_default, to as Component, uo as init__forkbook_global_react } from "./runtime-
|
|
2
|
+
import { Co as useState, po as useCallback, ro as _forkbook_global_react_default, to as Component, uo as init__forkbook_global_react } from "./runtime-CM4Z8aKR.js";
|
|
3
3
|
import { n as require_browser } from "./runtime-P663lpsR.js";
|
|
4
|
-
import { a as _inheritsLoose, i as init_wrapNativeSuper, l as _extends, o as init_inheritsLoose, r as _wrapNativeSuper, s as _assertThisInitialized } from "./runtime-
|
|
4
|
+
import { a as _inheritsLoose, i as init_wrapNativeSuper, l as _extends, o as init_inheritsLoose, r as _wrapNativeSuper, s as _assertThisInitialized } from "./runtime-Cjo1UL1u.js";
|
|
5
5
|
//#region ../../node_modules/react-fast-compare/index.js
|
|
6
6
|
var require_react_fast_compare = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7
7
|
var hasElementType = typeof Element !== "undefined";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as init_globals_runtime } from "./_manager-chunks/globals-runtime-
|
|
1
|
+
import { t as init_globals_runtime } from "./_manager-chunks/globals-runtime-BJ6EZqH7.js";
|
|
2
2
|
init_globals_runtime();
|
package/dist/manager/runtime.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as init_runtime } from "./_manager-chunks/runtime-
|
|
1
|
+
import { t as init_runtime } from "./_manager-chunks/runtime-DoYPE6g6.js";
|
|
2
2
|
init_runtime();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $c as
|
|
1
|
+
import { $c as useStoryPrepared, Ac as API_IndexHash, Bc as ManagerProvider, Cc as API, Dc as API_EventMap, Ec as API_DocsEntry, Fc as ActiveTabs, Gc as useAddonState, Hc as State, Ic as Combo, Jc as useChannel, Kc as useArgTypes, Lc as Listener, Mc as API_Refs, Nc as API_RootEntry, Oc as API_GroupEntry, Pc as API_StoryEntry, Qc as useSharedState, Rc as ManagerConsumer, Tc as API_ComposedRef, Uc as combineParameters, Vc as ManagerProviderProps, Wc as typesX, Xc as useGlobals, Yc as useGlobalTypes, Zc as useParameter, _c as useUniversalStore, _l as shortcutToHumanString, ac as useTestProviderStore, al as experimental_requestResponse, bl as Addon_Type, ca as registerService, cl as controlOrMetaKey, dl as eventToShortcut, el as useStorybookApi, fc as fullStatusStore, fl as isShortcutTaken, gc as MockUniversalStore, gl as shortcutToAriaKeyshortcuts, hc as useStatusStore, hl as shortcutMatchesShortcut, ic as universalTestProviderStore, il as RequestResponseError, jc as API_LeafEntry, kc as API_HashEntry, la as useServiceQuery, ll as controlOrMetaSymbol, mc as universalStatusStore, ml as optionOrAltSymbol, nc as fullTestProviderStore, nl as _default, ol as API_KeyCollection, pc as getStatusStoreByTypeId, pl as keyToSymbol, qc as useArgs, rc as getTestProviderStoreById, rl as isMacLike, sa as getService, sl as KeyboardEventLike, tc as Tag, tl as useStorybookState, ua as useServiceCommand, ul as eventMatchesShortcut, vc as UniversalStore, vl as Options, wc as API_ComponentEntry, xl as addons, yl as AddonStore, zc as ManagerContext } from "../chunk-B53gRJBs.js";
|
|
2
2
|
export { API, API_EventMap, type API_KeyCollection, ActiveTabs, type Addon_Type as Addon, type AddonStore, type Listener as ChannelListener, Combo, type API_ComponentEntry as ComponentEntry, type API_ComposedRef as ComposedRef, ManagerConsumer as Consumer, type API_DocsEntry as DocsEntry, type API_GroupEntry as GroupEntry, type API_HashEntry as HashEntry, type API_IndexHash as IndexHash, type API_IndexHash as StoriesHash, KeyboardEventLike, type API_LeafEntry as LeafEntry, ManagerContext, ManagerProviderProps, ManagerProvider as Provider, type API_Refs as Refs, RequestResponseError, type API_RootEntry as RootEntry, State, type Options as StoreOptions, type API_StoryEntry as StoryEntry, Tag, addons, combineParameters, controlOrMetaKey, controlOrMetaSymbol, eventMatchesShortcut, eventToShortcut, MockUniversalStore as experimental_MockUniversalStore, getStatusStoreByTypeId as experimental_getStatusStore, getTestProviderStoreById as experimental_getTestProviderStore, experimental_requestResponse, useStatusStore as experimental_useStatusStore, useTestProviderStore as experimental_useTestProviderStore, getService, UniversalStore as internal_UniversalStore, fullStatusStore as internal_fullStatusStore, fullTestProviderStore as internal_fullTestProviderStore, universalStatusStore as internal_universalStatusStore, universalTestProviderStore as internal_universalTestProviderStore, useUniversalStore as internal_useUniversalStore, isMacLike, isShortcutTaken, keyToSymbol, _default as merge, optionOrAltSymbol, registerService, shortcutMatchesShortcut, shortcutToAriaKeyshortcuts, shortcutToHumanString, typesX as types, useAddonState, useArgTypes, useArgs, useChannel, useGlobalTypes, useGlobals, useParameter, useServiceCommand, useServiceQuery, useSharedState, useStoryPrepared, useStorybookApi, useStorybookState };
|
|
@@ -2809,7 +2809,7 @@ var store_setup_default = (_) => {
|
|
|
2809
2809
|
|
|
2810
2810
|
// src/manager-api/store.ts
|
|
2811
2811
|
store_setup_default(import_store2.default._);
|
|
2812
|
-
var STORAGE_KEY = "@
|
|
2812
|
+
var STORAGE_KEY = "@aussieljk/forkbook/manager/store";
|
|
2813
2813
|
function get(storage) {
|
|
2814
2814
|
return storage.get(STORAGE_KEY) || {};
|
|
2815
2815
|
}
|
package/dist/manager-errors.d.ts
CHANGED
package/dist/mcp/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ type SourceManifests = {
|
|
|
29
29
|
* Custom context passed to MCP server and tools.
|
|
30
30
|
* Contains the request object and optional manifest provider.
|
|
31
31
|
*/
|
|
32
|
-
type
|
|
32
|
+
type ForkbookContext = {
|
|
33
33
|
/**
|
|
34
34
|
* The incoming HTTP request being processed.
|
|
35
35
|
*/
|
|
@@ -54,7 +54,7 @@ type StorybookContext = {
|
|
|
54
54
|
* Receives the context and the component manifest.
|
|
55
55
|
*/
|
|
56
56
|
onListAllDocumentation?: (params: {
|
|
57
|
-
context:
|
|
57
|
+
context: ForkbookContext;
|
|
58
58
|
manifests: AllManifests;
|
|
59
59
|
resultText: string; /** Present in multi-source mode — all source manifests including errors */
|
|
60
60
|
sources?: SourceManifests[];
|
|
@@ -64,7 +64,7 @@ type StorybookContext = {
|
|
|
64
64
|
* Receives the context, input parameters, and the found component (if any).
|
|
65
65
|
*/
|
|
66
66
|
onGetDocumentation?: (params: {
|
|
67
|
-
context:
|
|
67
|
+
context: ForkbookContext;
|
|
68
68
|
input: {
|
|
69
69
|
id: string;
|
|
70
70
|
storybookId?: string;
|
|
@@ -90,7 +90,7 @@ type StorybookContext = {
|
|
|
90
90
|
resolveEntry?: (id: string, source?: Source) => Promise<ResolvedEntry | undefined>;
|
|
91
91
|
};
|
|
92
92
|
/**
|
|
93
|
-
* Result of resolving a single id via {@link
|
|
93
|
+
* Result of resolving a single id via {@link ForkbookContext.resolveEntry}: either a
|
|
94
94
|
* fully-resolved component manifest or a standalone docs entry.
|
|
95
95
|
*/
|
|
96
96
|
type ResolvedEntry = {
|
|
@@ -188,7 +188,7 @@ type CoreDocgenComponent = CoreDocgenPayload & {
|
|
|
188
188
|
declare const LIST_TOOL_NAME: string;
|
|
189
189
|
declare const GET_TOOL_NAME: string;
|
|
190
190
|
declare const GET_STORY_TOOL_NAME: string;
|
|
191
|
-
type Server = McpServer<GenericSchema,
|
|
191
|
+
type Server = McpServer<GenericSchema, ForkbookContext>;
|
|
192
192
|
type ToolEnabled = Parameters<Server['tool']>[0]['enabled'];
|
|
193
193
|
/**
|
|
194
194
|
* What an embedder needs to register one of these tools on its own server.
|
|
@@ -254,9 +254,9 @@ type InitializeRequestParams = {
|
|
|
254
254
|
};
|
|
255
255
|
/**
|
|
256
256
|
* Options for creating a Forkbook MCP handler.
|
|
257
|
-
* Extends
|
|
257
|
+
* Extends ForkbookContext with server-level configuration.
|
|
258
258
|
*/
|
|
259
|
-
interface
|
|
259
|
+
interface ForkbookMcpHandlerOptions extends ForkbookContext {
|
|
260
260
|
/**
|
|
261
261
|
* Optional handler called when an MCP session is initialized.
|
|
262
262
|
* This is only valid at the handler creation level, not per-request.
|
|
@@ -264,7 +264,7 @@ interface StorybookMcpHandlerOptions extends StorybookContext {
|
|
|
264
264
|
*/
|
|
265
265
|
onSessionInitialize?: (initializeRequestParams: InitializeRequestParams) => void | Promise<void>;
|
|
266
266
|
}
|
|
267
|
-
type Handler = (req: Request, context?:
|
|
268
|
-
declare const
|
|
267
|
+
type Handler = (req: Request, context?: ForkbookContext) => Promise<Response>;
|
|
268
|
+
declare const createForkbookMcpHandler: (options?: ForkbookMcpHandlerOptions) => Promise<Handler>;
|
|
269
269
|
//#endregion
|
|
270
|
-
export { COMPONENT_MANIFEST_PATH, type ComponentManifest, type ComponentManifestMap, type CoreDocgenComponent, type CoreDocgenPayload, type CoreMdxDoc, type CoreMdxPayload, type CoreStoryDoc, type CoreStoryDocsPayload, DOCS_MANIFEST_PATH, type Doc, type DocsManifestMap, FORKBOOK_MCP_INSTRUCTIONS, GET_STORY_TOOL_NAME, GET_TOOL_NAME, LIST_TOOL_NAME, RequiresOwnMcpError, type RequiresOwnMcpNotice, type ResolvedEntry, type Source, type SourceManifests, type Story,
|
|
270
|
+
export { COMPONENT_MANIFEST_PATH, type ComponentManifest, type ComponentManifestMap, type CoreDocgenComponent, type CoreDocgenPayload, type CoreMdxDoc, type CoreMdxPayload, type CoreStoryDoc, type CoreStoryDocsPayload, DOCS_MANIFEST_PATH, type Doc, type DocsManifestMap, FORKBOOK_MCP_INSTRUCTIONS, type ForkbookContext, ForkbookMcpHandlerOptions, GET_STORY_TOOL_NAME, GET_TOOL_NAME, LIST_TOOL_NAME, RequiresOwnMcpError, type RequiresOwnMcpNotice, type ResolvedEntry, type Source, type SourceManifests, type Story, adaptCoreComponent, adaptCoreDoc, adaptCoreStories, addGetDocumentationTool, addGetStoryDocumentationTool, addListAllDocumentationTool, createForkbookMcpHandler, getDocumentationToolMetadata, getListAllDocumentationToolMetadata, getMultiSourceManifests, getStoryDocumentationToolMetadata, resolveComponentEntry, resolveComponentStories, resolveDoc };
|
package/dist/mcp/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wrk1cj8d1xj from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wrk1cj8d1xj from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wrk1cj8d1xj.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wrk1cj8d1xj.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj.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-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-FPYXI76E.js";
|
|
15
|
+
import "../_node-chunks/chunk-YMJVSFJT.js";
|
|
16
16
|
|
|
17
17
|
// src/mcp/index.ts
|
|
18
18
|
import { McpServer } from "tmcp";
|
|
@@ -255,7 +255,7 @@ var StorybookIdField = {
|
|
|
255
255
|
};
|
|
256
256
|
|
|
257
257
|
// src/mcp/index.ts
|
|
258
|
-
var
|
|
258
|
+
var createForkbookMcpHandler = async (options = {}) => {
|
|
259
259
|
let { onSessionInitialize, ...defaultContext } = options, adapter = new ValibotJsonSchemaAdapter(), server = new McpServer(
|
|
260
260
|
{
|
|
261
261
|
name: `${package_default.name}/mcp`,
|
|
@@ -294,7 +294,7 @@ export {
|
|
|
294
294
|
addGetDocumentationTool,
|
|
295
295
|
addGetStoryDocumentationTool,
|
|
296
296
|
addListAllDocumentationTool,
|
|
297
|
-
|
|
297
|
+
createForkbookMcpHandler,
|
|
298
298
|
getDocumentationToolMetadata,
|
|
299
299
|
getListAllDocumentationToolMetadata,
|
|
300
300
|
getMultiSourceManifests,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wrk1cj8d1xj from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wrk1cj8d1xj from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wrk1cj8d1xj.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wrk1cj8d1xj.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj.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
|
walk
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-5CJMRQZ6.js";
|
|
15
15
|
import {
|
|
16
16
|
userModuleExtensions
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
18
|
-
import "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-7IAYDGYH.js";
|
|
18
|
+
import "../_node-chunks/chunk-YMJVSFJT.js";
|
|
19
19
|
|
|
20
20
|
// src/mocking-utils/automock.ts
|
|
21
21
|
import MagicString from "magic-string";
|
package/dist/next/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wrk1cj8d1xj from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wrk1cj8d1xj from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wrk1cj8d1xj.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wrk1cj8d1xj.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
applyPreviewRouteMocks,
|
|
15
15
|
removePreviewRoute,
|
|
16
16
|
writePreviewRoute
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-67XVZZUO.js";
|
|
18
18
|
import {
|
|
19
19
|
DEFAULT_BASE_PATH,
|
|
20
20
|
joinBasePath,
|
|
21
21
|
normalizeBasePath
|
|
22
|
-
} from "../_node-chunks/chunk-
|
|
23
|
-
import "../_node-chunks/chunk-
|
|
22
|
+
} from "../_node-chunks/chunk-PHWMAF5C.js";
|
|
23
|
+
import "../_node-chunks/chunk-YMJVSFJT.js";
|
|
24
24
|
|
|
25
25
|
// src/next/config.ts
|
|
26
26
|
var PHASE_DEVELOPMENT_SERVER = "phase-development-server";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wrk1cj8d1xj from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wrk1cj8d1xj from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wrk1cj8d1xj.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wrk1cj8d1xj.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj.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-
|
|
12
|
+
import "../../_node-chunks/chunk-YMJVSFJT.js";
|
|
13
13
|
|
|
14
14
|
// src/nextjs-vite/node/index.ts
|
|
15
15
|
function defineMain(config) {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wrk1cj8d1xj from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wrk1cj8d1xj from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wrk1cj8d1xj.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wrk1cj8d1xj.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj.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
|
tailwindRefreshPlugin
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-N44UIGCO.js";
|
|
15
15
|
import {
|
|
16
16
|
resolvePackageDir
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
18
|
-
import "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-PC57BIYZ.js";
|
|
18
|
+
import "../_node-chunks/chunk-7IAYDGYH.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__require,
|
|
22
22
|
__toESM
|
|
23
|
-
} from "../_node-chunks/chunk-
|
|
23
|
+
} from "../_node-chunks/chunk-YMJVSFJT.js";
|
|
24
24
|
|
|
25
25
|
// ../../node_modules/lilconfig/src/index.js
|
|
26
26
|
var require_src = __commonJS({
|
|
@@ -461,7 +461,7 @@ var require_src2 = __commonJS({
|
|
|
461
461
|
async function yamlLoader(_, content) {
|
|
462
462
|
if (!yaml)
|
|
463
463
|
try {
|
|
464
|
-
yaml = await import("../_node-chunks/dist-
|
|
464
|
+
yaml = await import("../_node-chunks/dist-TRTHRODT.js");
|
|
465
465
|
} catch (e) {
|
|
466
466
|
throw new Error(
|
|
467
467
|
`'yaml' is required for the YAML configuration files. Make sure it is installed
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wrk1cj8d1xj from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wrk1cj8d1xj from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wrk1cj8d1xj.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wrk1cj8d1xj.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj.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-
|
|
12
|
+
import "../../_node-chunks/chunk-YMJVSFJT.js";
|
|
13
13
|
|
|
14
14
|
// src/nextjs-vite/vite-plugin/index.ts
|
|
15
15
|
import vitePluginForkbookNextjs from "@aussieljk/forkbook/internal/nextjs-vite-plugin";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wrk1cj8d1xj from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wrk1cj8d1xj from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wrk1cj8d1xj.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wrk1cj8d1xj.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
getNextjsMajorVersion,
|
|
17
17
|
isVitestEnv,
|
|
18
18
|
vitePluginNextMocks
|
|
19
|
-
} from "../_node-chunks/chunk-
|
|
20
|
-
import "../_node-chunks/chunk-
|
|
19
|
+
} from "../_node-chunks/chunk-OO2GTHUF.js";
|
|
20
|
+
import "../_node-chunks/chunk-YMJVSFJT.js";
|
|
21
21
|
|
|
22
22
|
// src/nextjs-vite-plugin/index.ts
|
|
23
23
|
import { dirname, resolve as resolve3 } from "pathe";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wrk1cj8d1xj from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wrk1cj8d1xj from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wrk1cj8d1xj.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wrk1cj8d1xj.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wrk1cj8d1xj.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,8 +12,8 @@ var require = CJS_COMPAT_NODE_MODULE_darlhdhnaq7.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
getAlias,
|
|
14
14
|
getAlias2
|
|
15
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
-
import "../../_node-chunks/chunk-
|
|
15
|
+
} from "../../_node-chunks/chunk-OO2GTHUF.js";
|
|
16
|
+
import "../../_node-chunks/chunk-YMJVSFJT.js";
|
|
17
17
|
|
|
18
18
|
// src/nextjs-vite-plugin/mocks/storybook.global.ts
|
|
19
19
|
import { createRequire } from "node:module";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { n as ExecProcess } from "../chunk-CDMZhRke.js";
|
|
2
1
|
import { Readable, Writable } from "node:stream";
|
|
3
2
|
|
|
4
3
|
//#region ../../node_modules/@clack/prompts/dist/index.d.mts
|
|
@@ -174,7 +173,14 @@ declare abstract class PromptProvider {
|
|
|
174
173
|
}
|
|
175
174
|
//#endregion
|
|
176
175
|
//#region .dts-emit/code/core/src/node-logger/tasks.d.ts
|
|
177
|
-
|
|
176
|
+
/**
|
|
177
|
+
* A running command, such as the `ExecProcess` that `exec` in common returns. node-logger is below
|
|
178
|
+
* common, so it does not import that type.
|
|
179
|
+
*/
|
|
180
|
+
type RunningProcess = PromiseLike<unknown> & {
|
|
181
|
+
stdout: Readable | null;
|
|
182
|
+
};
|
|
183
|
+
type ChildProcessFactory = (signal?: AbortSignal) => RunningProcess;
|
|
178
184
|
/**
|
|
179
185
|
* Given a function that returns a child process or array of functions that return child processes,
|
|
180
186
|
* this function will execute them sequentially and display the output in a task log.
|