@chrisjowen/wheelhouse 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/build/client/_app/immutable/assets/0.CxNAeXUL.css +1 -0
- package/build/client/_app/immutable/assets/0.CxNAeXUL.css.br +0 -0
- package/build/client/_app/immutable/assets/0.CxNAeXUL.css.gz +0 -0
- package/build/client/_app/immutable/assets/{DocSheet.CaO2v_qh.css → DocSheet.CgzYidp-.css} +1 -1
- package/build/client/_app/immutable/assets/{DocSheet.CaO2v_qh.css.br → DocSheet.CgzYidp-.css.br} +0 -0
- package/build/client/_app/immutable/assets/DocSheet.CgzYidp-.css.gz +0 -0
- package/build/client/_app/immutable/assets/dm-sans-latin-ext-wght-italic.DUE6_iCb.woff2 +0 -0
- package/build/client/_app/immutable/assets/dm-sans-latin-ext-wght-normal.BOFOeGcA.woff2 +0 -0
- package/build/client/_app/immutable/assets/dm-sans-latin-wght-italic.Cz4n9dED.woff2 +0 -0
- package/build/client/_app/immutable/assets/dm-sans-latin-wght-normal.Xz1IZZA0.woff2 +0 -0
- package/build/client/_app/immutable/assets/instrument-serif-latin-400-italic.DKMiL14s.woff2 +0 -0
- package/build/client/_app/immutable/assets/instrument-serif-latin-400-italic.u__WvvIK.woff +0 -0
- package/build/client/_app/immutable/assets/instrument-serif-latin-400-normal.BVbkICAY.woff +0 -0
- package/build/client/_app/immutable/assets/instrument-serif-latin-400-normal.DnYpCC2O.woff2 +0 -0
- package/build/client/_app/immutable/assets/instrument-serif-latin-ext-400-italic.C9HzH3YL.woff2 +0 -0
- package/build/client/_app/immutable/assets/instrument-serif-latin-ext-400-italic.D7-lnxEk.woff +0 -0
- package/build/client/_app/immutable/assets/instrument-serif-latin-ext-400-normal.C2je3j2s.woff2 +0 -0
- package/build/client/_app/immutable/assets/instrument-serif-latin-ext-400-normal.CFCUzsTy.woff +0 -0
- package/build/client/_app/immutable/chunks/{DXt4vIK0.js → B2ctrXx5.js} +1 -1
- package/build/client/_app/immutable/chunks/B2ctrXx5.js.br +0 -0
- package/build/client/_app/immutable/chunks/B2ctrXx5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D5M74L1e.js → BBLx2oxZ.js} +2 -2
- package/build/client/_app/immutable/chunks/BBLx2oxZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/BBLx2oxZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{8WOVm7DO.js → BHVTrNhR.js} +1 -1
- package/build/client/_app/immutable/chunks/BHVTrNhR.js.br +0 -0
- package/build/client/_app/immutable/chunks/BHVTrNhR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Byamhp7O.js → Bl1tMgf8.js} +1 -1
- package/build/client/_app/immutable/chunks/Bl1tMgf8.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bl1tMgf8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{8xWr9jxY.js → Cbmz3nkf.js} +1 -1
- package/build/client/_app/immutable/chunks/Cbmz3nkf.js.br +2 -0
- package/build/client/_app/immutable/chunks/Cbmz3nkf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{C6yJKLJE.js → Cio5-ROX.js} +1 -1
- package/build/client/_app/immutable/chunks/Cio5-ROX.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cio5-ROX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BqqZcEbm.js → DQEmyAe4.js} +1 -1
- package/build/client/_app/immutable/chunks/DQEmyAe4.js.br +2 -0
- package/build/client/_app/immutable/chunks/DQEmyAe4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DB2Frr3y.js → DdB79emW.js} +1 -1
- package/build/client/_app/immutable/chunks/DdB79emW.js.br +0 -0
- package/build/client/_app/immutable/chunks/DdB79emW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BW_FwdyU.js → Dj3Af0xC.js} +1 -1
- package/build/client/_app/immutable/chunks/Dj3Af0xC.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dj3Af0xC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D_nVtLM5.js → DpSftVJo.js} +1 -1
- package/build/client/_app/immutable/chunks/DpSftVJo.js.br +0 -0
- package/build/client/_app/immutable/chunks/DpSftVJo.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{IQRNVWsw.js → M3zsQDnS.js} +1 -1
- package/build/client/_app/immutable/chunks/M3zsQDnS.js.br +0 -0
- package/build/client/_app/immutable/chunks/M3zsQDnS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{OermLIIb.js → QzT8bZ-S.js} +2 -2
- package/build/client/_app/immutable/chunks/QzT8bZ-S.js.br +0 -0
- package/build/client/_app/immutable/chunks/QzT8bZ-S.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DHMHvrUA.js → Y3i_x_Ja.js} +1 -1
- package/build/client/_app/immutable/chunks/Y3i_x_Ja.js.br +0 -0
- package/build/client/_app/immutable/chunks/Y3i_x_Ja.js.gz +0 -0
- package/build/client/_app/immutable/chunks/dKB0cWc2.js +6 -0
- package/build/client/_app/immutable/chunks/dKB0cWc2.js.br +0 -0
- package/build/client/_app/immutable/chunks/dKB0cWc2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/dPAGVN7v.js +6 -0
- package/build/client/_app/immutable/chunks/dPAGVN7v.js.br +0 -0
- package/build/client/_app/immutable/chunks/dPAGVN7v.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BunvDGPC.js → dxi_erj0.js} +1 -1
- package/build/client/_app/immutable/chunks/dxi_erj0.js.br +0 -0
- package/build/client/_app/immutable/chunks/dxi_erj0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ohZIF1HO.js +5 -0
- package/build/client/_app/immutable/chunks/ohZIF1HO.js.br +0 -0
- package/build/client/_app/immutable/chunks/ohZIF1HO.js.gz +0 -0
- package/build/client/_app/immutable/entry/{app.CL8a8HZ0.js → app.BLMRuJuW.js} +2 -2
- package/build/client/_app/immutable/entry/app.BLMRuJuW.js.br +0 -0
- package/build/client/_app/immutable/entry/app.BLMRuJuW.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.C5t0JfpX.js +1 -0
- package/build/client/_app/immutable/entry/start.C5t0JfpX.js.br +0 -0
- package/build/client/_app/immutable/entry/start.C5t0JfpX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.x0mKzYMw.js +8 -0
- package/build/client/_app/immutable/nodes/0.x0mKzYMw.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.x0mKzYMw.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.BRLMR7fm.js → 1.DQwKSgDw.js} +1 -1
- package/build/client/_app/immutable/nodes/1.DQwKSgDw.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.DQwKSgDw.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{10.Ctk2N--v.js → 10.Bmz2aEu9.js} +1 -1
- package/build/client/_app/immutable/nodes/10.Bmz2aEu9.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.Bmz2aEu9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{11.DzDPmeKc.js → 11.Dsw17idi.js} +1 -1
- package/build/client/_app/immutable/nodes/11.Dsw17idi.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.Dsw17idi.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{12.BUO7L3_c.js → 12.BCfbyZHF.js} +1 -1
- package/build/client/_app/immutable/nodes/12.BCfbyZHF.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.BCfbyZHF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{13.sQe1BX9E.js → 13.BF70RcBN.js} +1 -1
- package/build/client/_app/immutable/nodes/13.BF70RcBN.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.BF70RcBN.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{14.C6lWut9y.js → 14.DUa-e6bC.js} +1 -1
- package/build/client/_app/immutable/nodes/14.DUa-e6bC.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.DUa-e6bC.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{16.B9dAe-zO.js → 16.DV4CIsXI.js} +1 -1
- package/build/client/_app/immutable/nodes/16.DV4CIsXI.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.DV4CIsXI.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{17.BjYq-nHX.js → 17.BFAervXe.js} +1 -1
- package/build/client/_app/immutable/nodes/17.BFAervXe.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.BFAervXe.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{18.C7MQG7kY.js → 18.cqwxGV--.js} +1 -1
- package/build/client/_app/immutable/nodes/18.cqwxGV--.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.cqwxGV--.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{19.CGPxCxa4.js → 19.W4wKGIwz.js} +3 -3
- package/build/client/_app/immutable/nodes/19.W4wKGIwz.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.W4wKGIwz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.DNWuY54S.js +27 -0
- package/build/client/_app/immutable/nodes/2.DNWuY54S.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.DNWuY54S.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{20.UmQnK0mP.js → 20.Bw-IUju8.js} +1 -1
- package/build/client/_app/immutable/nodes/20.Bw-IUju8.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.Bw-IUju8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{21.kMxNjh5n.js → 21.DNFvLLcD.js} +1 -1
- package/build/client/_app/immutable/nodes/21.DNFvLLcD.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.DNFvLLcD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{3.HvyFWmuR.js → 3.COF537Bh.js} +1 -1
- package/build/client/_app/immutable/nodes/3.COF537Bh.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.COF537Bh.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{4.cOsP7AQT.js → 4.C69OFBsR.js} +1 -1
- package/build/client/_app/immutable/nodes/4.C69OFBsR.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.C69OFBsR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{5.WTA0USqX.js → 5.BAZlH_fP.js} +1 -1
- package/build/client/_app/immutable/nodes/5.BAZlH_fP.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.BAZlH_fP.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{6.DVgxxTkD.js → 6.BsosOtvd.js} +1 -1
- package/build/client/_app/immutable/nodes/6.BsosOtvd.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.BsosOtvd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{7.Djk2ljG8.js → 7.DnZ-8ovs.js} +1 -1
- package/build/client/_app/immutable/nodes/7.DnZ-8ovs.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.DnZ-8ovs.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{9.C0za5N1P.js → 9.BzSWG3R8.js} +1 -1
- package/build/client/_app/immutable/nodes/9.BzSWG3R8.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.BzSWG3R8.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/handler.js +4 -4
- package/build/index.js +4 -4
- package/build/server/chunks/chunks/{DecisionCard.js-CXR2Tqq9.js → DecisionCard.js-DaA8DYYg.js} +2 -2
- package/build/server/chunks/chunks/{OpenDecision.js-ogSBclda.js → OpenDecision.js-CYba2eq3.js} +24 -6
- package/build/server/chunks/chunks/{TaskOverview.js-BLbSjSGh.js → TaskOverview.js-sfLDib9-.js} +3 -3
- package/build/server/chunks/chunks/{topics.js-CPoxwdi2.js → bridge.js-Cm-aK0Fl.js} +44 -2
- package/build/server/chunks/chunks/{detail.js-DmSONkJE.js → detail.js-B8abhi3a.js} +2 -2
- package/build/server/chunks/chunks/{feedback.js-yXFmBh67.js → feedback.js-Jpl8v6Mu.js} +2 -2
- package/build/server/chunks/chunks/{internal.js-wAeB3IT1.js → internal.js-bN02E8b0.js} +3 -3
- package/build/server/chunks/chunks/{previewhelper2.js-DH3wSLnQ.js → previewhelper2.js-Fr7JXr0X.js} +2 -2
- package/build/server/chunks/chunks/{repo.js-CeNEGGXM.js → repo.js-D4m77kW0.js} +2 -2
- package/build/server/chunks/chunks/{runtime.js-CpuENBbt.js → runtime.js-BGOuM-Hy.js} +2 -2
- package/build/server/chunks/chunks/{service.js-CxgO_lGX.js → service.js-CzSbBjc3.js} +2 -2
- package/build/server/chunks/chunks/{view.js-I8j3JaZ5.js → view.js-CeInAMHW.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/apps/_op_/{_server.ts.js-tV5UVoX_.js → _server.ts.js-smS4TCrQ.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/events/{_server.ts.js-Bqe7aUbi.js → _server.ts.js-Bqh9AFl3.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/files/{_server.ts.js-DfpyY_Bq.js → _server.ts.js-BM0ps5lk.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/{_server.ts.js-CN8b5ccO.js → _server.ts.js-Cm2ckYW2.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/{_server.ts.js-CqcpAXMO.js → _server.ts.js-DZCnbYId.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/{_server.ts.js-BMv_VOat.js → _server.ts.js-B5fpHEKR.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/firstmate/input/{_server.ts.js-DX45ccQL.js → _server.ts.js-eq3GdIy6.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/{_server.ts.js-DPfYkpxV.js → _server.ts.js-CvXW4Pgj.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/{_server.ts.js-DwrpzrvE.js → _server.ts.js-Ck9lsiPW.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/{_server.ts.js-BLyU7Xmy.js → _server.ts.js-S2cNDAv_.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/firstmate/reactions/{_server.ts.js-CwCkNQH1.js → _server.ts.js-Dp5sUKpf.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/firstmate/start/{_server.ts.js-QgfVKhEv.js → _server.ts.js-BRyx-SLk.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/fleet/{_server.ts.js-Dluitk4S.js → _server.ts.js-DbOj2r3G.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/gateway/{_server.ts.js-DBrzK7aF.js → _server.ts.js-CqNT7hdk.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/health/{_server.ts.js-BPOs6Ua5.js → _server.ts.js-s9ct1YaL.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/inbox/{_server.ts.js-CXR8ln41.js → _server.ts.js-CCbenPIy.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/inbox/report/{_server.ts.js-fMts5LEq.js → _server.ts.js-YkdQuW03.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/insights/{_server.ts.js-CgoR3ZaT.js → _server.ts.js-jMIRKXVy.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/{_server.ts.js-DN0zHwSr.js → _server.ts.js-CRz5ap0Z.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/{_server.ts.js-DawD1VtO.js → _server.ts.js-BUreXPtQ.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/{_server.ts.js-C8jp0FUx.js → _server.ts.js-aLsUJ-HL.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/{_server.ts.js-jSPhFhMn.js → _server.ts.js-BQxGrtDq.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/{_server.ts.js-CDslqmcw.js → _server.ts.js-DVwdrfyP.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/{_server.ts.js-BJawocE3.js → _server.ts.js-fWXa1T6O.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/{_server.ts.js-Be2NAmCy.js → _server.ts.js-GzkA-eH4.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/{_server.ts.js-C-avUWCg.js → _server.ts.js-Du31g-KO.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/{_server.ts.js-DKAa2Uxw.js → _server.ts.js-CQYj1ZuS.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/install/{_server.ts.js-CotqjP2F.js → _server.ts.js-D6Nprf6i.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/updates/{_server.ts.js-DCvVjqLZ.js → _server.ts.js-DjQvcvOx.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/{_server.ts.js-CpZ1W-A7.js → _server.ts.js-DcwsTmlB.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/{_server.ts.js-Cp8plIYs.js → _server.ts.js-CGPbXNqf.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/{_server.ts.js-Dak56Rg1.js → _server.ts.js-CawLRyKI.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/{_server.ts.js-WZe9B5X3.js → _server.ts.js-Cl8Xr77g.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/{_server.ts.js-U5nJ9f0g.js → _server.ts.js-B3vEVTxZ.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/{_server.ts.js-30yUhJz3.js → _server.ts.js-iToq6YEa.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/{_server.ts.js-tg4vTM3A.js → _server.ts.js-CwWCiOV_.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/services/{_server.ts.js-BsJnf3m0.js → _server.ts.js-DW8K_vnR.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/slots/{_server.ts.js-D-Wnq4C0.js → _server.ts.js-jQeee3c3.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/{_server.ts.js-De9Q8wd8.js → _server.ts.js-DjmH3APN.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/{_server.ts.js-BqscYuWP.js → _server.ts.js-BKBTwHdx.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/{_server.ts.js-Do8o7_-0.js → _server.ts.js-Dps2HZrT.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/{_server.ts.js-gaLKbuL7.js → _server.ts.js-CLrEK2JB.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/{_server.ts.js-wcXCXMkT.js → _server.ts.js-Dajmg1QT.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/{_server.ts.js-kzTN6YxA.js → _server.ts.js-DzbKvWf4.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/vault/{_server.ts.js-DJiB_mf7.js → _server.ts.js-lrCSZ8vJ.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/{_server.ts.js-BjJU6JWj.js → _server.ts.js--J2luqpT.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/{_server.ts.js-l3foNNok.js → _server.ts.js-D6jJ1Rr_.js} +2 -2
- package/build/server/chunks/entries/endpoints/tasks/_id_/review/{_server.ts.js-DsxJ0us4.js → _server.ts.js-DFiNNdmX.js} +2 -2
- package/build/server/chunks/entries/{hooks.server.js-B6m3Dpkx.js → hooks.server.js-BbTmH2JU.js} +2 -2
- package/build/server/chunks/entries/pages/{_layout.server.ts.js-CrW4p_Q2.js → _layout.server.ts.js-DTaBhixQ.js} +2 -2
- package/build/server/chunks/entries/pages/{_layout.svelte.js-LKAACh49.js → _layout.svelte.js-BNA76gGJ.js} +100 -24
- package/build/server/chunks/entries/pages/{_page.server.ts.js-CF_c0nNn.js → _page.server.ts.js-BjKksIBz.js} +2 -2
- package/build/server/chunks/entries/pages/{_page.svelte.js-DhcYaGNL.js → _page.svelte.js-Bgw0FiJG.js} +112 -82
- package/build/server/chunks/entries/pages/decisions/{_page.server.ts.js-B7uZVbX4.js → _page.server.ts.js-Cr6eZ4p-.js} +2 -2
- package/build/server/chunks/entries/pages/files/{_page.server.ts.js-C9YB1gJL.js → _page.server.ts.js-CA3bfaLe.js} +2 -2
- package/build/server/chunks/entries/pages/harbour/{_page.server.ts.js-BfPMxhei.js → _page.server.ts.js-CGhoI6xu.js} +2 -2
- package/build/server/chunks/entries/pages/headroom/{_page.server.ts.js-D1wZDsVf.js → _page.server.ts.js-BRadjeWP.js} +2 -2
- package/build/server/chunks/entries/pages/inbox/{_page.server.ts.js-woHdHibC.js → _page.server.ts.js-CB7PXBV1.js} +2 -2
- package/build/server/chunks/entries/pages/inbox/{_page.svelte.js-BffukCNo.js → _page.svelte.js-BLRcCY5u.js} +2 -2
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/{_page.server.ts.js-XcXW0Uve.js → _page.server.ts.js-C9J9SfdQ.js} +2 -2
- package/build/server/chunks/entries/pages/projects/_id_/{_page.server.ts.js-wLr_tgjL.js → _page.server.ts.js-nOOV1sAH.js} +3 -3
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/{_page.server.ts.js-DMOW6iPG.js → _page.server.ts.js-BpSFvmgx.js} +3 -3
- package/build/server/chunks/entries/pages/projects/_id_/passage/{_page.server.ts.js-BJZyFsqL.js → _page.server.ts.js-08qgrWt_.js} +4 -4
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/{_page.server.ts.js-DB_UVBbI.js → _page.server.ts.js-Waknjiof.js} +2 -2
- package/build/server/chunks/entries/pages/settings/gateway/{_page.server.ts.js-DfWW-CQh.js → _page.server.ts.js-D_-2Bk-X.js} +2 -2
- package/build/server/chunks/entries/pages/settings/plugins/{_page.server.ts.js-CshPvaAs.js → _page.server.ts.js-Hls8GEh4.js} +2 -2
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/{_page.server.ts.js-9JK7K_z9.js → _page.server.ts.js-jKmK8VbO.js} +2 -2
- package/build/server/chunks/entries/pages/tasks/_id_/{_page.server.ts.js-Cvp9xMG4.js → _page.server.ts.js-BZMRfS-l.js} +3 -3
- package/build/server/chunks/entries/pages/tasks/_id_/{_page.svelte.js-ChQv02MF.js → _page.svelte.js-BYcqWFD7.js} +8 -8
- package/build/server/chunks/entries/pages/tasks/_id_/doc/{_page.server.ts.js-C1DtiAVs.js → _page.server.ts.js-CGiroJqZ.js} +2 -2
- package/build/server/chunks/entries/pages/time/{_page.server.ts.js-DlJqn5ve.js → _page.server.ts.js-exp39MHH.js} +2 -2
- package/build/server/chunks/{handler-Bs_CCC30.js → handler-CwbFN6sE.js} +3 -3
- package/build/server/chunks/{index.js-Cs5HOQvf.js → index.js-CqvbtJcl.js} +2 -2
- package/build/server/chunks/{manifest.js-BDRywlKi.js → manifest.js-DBKpxwtf.js} +70 -70
- package/build/server/chunks/nodes/{0.js-CsWq-jPD.js → 0.js-CzHBL2FE.js} +7 -7
- package/build/server/chunks/nodes/{1.js-CTC_MshV.js → 1.js-DttsMtH5.js} +2 -2
- package/build/server/chunks/nodes/{10.js-CZq28G3f.js → 10.js-DS6-8M5v.js} +5 -5
- package/build/server/chunks/nodes/{11.js-BtlSUZdl.js → 11.js-UkJPwg90.js} +5 -5
- package/build/server/chunks/nodes/{12.js-D0o_nkGH.js → 12.js-Bttwc2Gj.js} +6 -6
- package/build/server/chunks/nodes/{13.js-BIIG5wG0.js → 13.js-DN0IvWCs.js} +5 -5
- package/build/server/chunks/nodes/{14.js-B3MoJ0Ck.js → 14.js-BPrf4PxP.js} +2 -2
- package/build/server/chunks/nodes/{16.js-DL5dm8m7.js → 16.js-MQWaFHIA.js} +4 -4
- package/build/server/chunks/nodes/{17.js-BItMe09V.js → 17.js-BqQwHV4F.js} +4 -4
- package/build/server/chunks/nodes/{18.js-BqNFJ6VI.js → 18.js-CpKFgiup.js} +4 -4
- package/build/server/chunks/nodes/{19.js-DWlhtpN2.js → 19.js-CCrOg127.js} +6 -6
- package/build/server/chunks/nodes/{2.js-Biys3XVB.js → 2.js-FPoIQ4QE.js} +5 -5
- package/build/server/chunks/nodes/{20.js-tYMJBMgr.js → 20.js-B5Fv-_hl.js} +6 -6
- package/build/server/chunks/nodes/{21.js-DB94vZQt.js → 21.js-DIqkKAtP.js} +4 -4
- package/build/server/chunks/nodes/{3.js-CsnKNLDN.js → 3.js-BBLaot9F.js} +4 -4
- package/build/server/chunks/nodes/{4.js-l8re1d64.js → 4.js-cmSXc6Wt.js} +5 -5
- package/build/server/chunks/nodes/{5.js-B0eRP6zR.js → 5.js-CxQRjV9G.js} +4 -4
- package/build/server/chunks/nodes/{6.js-BWv2xVyz.js → 6.js-4fNyzqc9.js} +4 -4
- package/build/server/chunks/nodes/{7.js-C4YSw2xL.js → 7.js-D_kCF7ql.js} +5 -5
- package/build/server/chunks/nodes/{9.js-CWW789qH.js → 9.js-Dl3MVT1-.js} +4 -4
- package/dist/cli.js +1 -1
- package/dist/wh-vault.js +1 -1
- package/package.json +3 -2
- package/build/client/_app/immutable/assets/0.BUKP25sU.css +0 -1
- package/build/client/_app/immutable/assets/0.BUKP25sU.css.br +0 -0
- package/build/client/_app/immutable/assets/0.BUKP25sU.css.gz +0 -0
- package/build/client/_app/immutable/assets/DocSheet.CaO2v_qh.css.gz +0 -0
- package/build/client/_app/immutable/assets/inter-cyrillic-ext-wght-italic.B5xAaiFk.woff2 +0 -0
- package/build/client/_app/immutable/assets/inter-cyrillic-ext-wght-normal.BOeWTOD4.woff2 +0 -0
- package/build/client/_app/immutable/assets/inter-cyrillic-wght-italic.DzZdc28x.woff2 +0 -0
- package/build/client/_app/immutable/assets/inter-cyrillic-wght-normal.DqGufNeO.woff2 +0 -0
- package/build/client/_app/immutable/assets/inter-greek-ext-wght-italic.DcOpz6Lw.woff2 +0 -0
- package/build/client/_app/immutable/assets/inter-greek-ext-wght-normal.DlzME5K_.woff2 +0 -0
- package/build/client/_app/immutable/assets/inter-greek-wght-italic.CILZdfAp.woff2 +0 -0
- package/build/client/_app/immutable/assets/inter-greek-wght-normal.CkhJZR-_.woff2 +0 -0
- package/build/client/_app/immutable/assets/inter-latin-ext-wght-italic.0pjOp8NU.woff2 +0 -0
- package/build/client/_app/immutable/assets/inter-latin-ext-wght-normal.DO1Apj_S.woff2 +0 -0
- package/build/client/_app/immutable/assets/inter-latin-wght-italic.DpCbqKDY.woff2 +0 -0
- package/build/client/_app/immutable/assets/inter-latin-wght-normal.Dx4kXJAl.woff2 +0 -0
- package/build/client/_app/immutable/assets/inter-vietnamese-wght-italic.K3WlGtc8.woff2 +0 -0
- package/build/client/_app/immutable/assets/inter-vietnamese-wght-normal.CBcvBZtf.woff2 +0 -0
- package/build/client/_app/immutable/chunks/8WOVm7DO.js.br +0 -0
- package/build/client/_app/immutable/chunks/8WOVm7DO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/8xWr9jxY.js.br +0 -0
- package/build/client/_app/immutable/chunks/8xWr9jxY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BW_FwdyU.js.br +0 -0
- package/build/client/_app/immutable/chunks/BW_FwdyU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BXk5dy03.js +0 -5
- package/build/client/_app/immutable/chunks/BXk5dy03.js.br +0 -0
- package/build/client/_app/immutable/chunks/BXk5dy03.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BqqZcEbm.js.br +0 -2
- package/build/client/_app/immutable/chunks/BqqZcEbm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BunvDGPC.js.br +0 -0
- package/build/client/_app/immutable/chunks/BunvDGPC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Byamhp7O.js.br +0 -0
- package/build/client/_app/immutable/chunks/Byamhp7O.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C6yJKLJE.js.br +0 -0
- package/build/client/_app/immutable/chunks/C6yJKLJE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CMFVi0Kq.js +0 -6
- package/build/client/_app/immutable/chunks/CMFVi0Kq.js.br +0 -0
- package/build/client/_app/immutable/chunks/CMFVi0Kq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D5M74L1e.js.br +0 -0
- package/build/client/_app/immutable/chunks/D5M74L1e.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DB2Frr3y.js.br +0 -0
- package/build/client/_app/immutable/chunks/DB2Frr3y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DHMHvrUA.js.br +0 -0
- package/build/client/_app/immutable/chunks/DHMHvrUA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DXt4vIK0.js.br +0 -0
- package/build/client/_app/immutable/chunks/DXt4vIK0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D_nVtLM5.js.br +0 -0
- package/build/client/_app/immutable/chunks/D_nVtLM5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/IQRNVWsw.js.br +0 -0
- package/build/client/_app/immutable/chunks/IQRNVWsw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/KWgz7qtz.js +0 -6
- package/build/client/_app/immutable/chunks/KWgz7qtz.js.br +0 -0
- package/build/client/_app/immutable/chunks/KWgz7qtz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/OermLIIb.js.br +0 -0
- package/build/client/_app/immutable/chunks/OermLIIb.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.CL8a8HZ0.js.br +0 -0
- package/build/client/_app/immutable/entry/app.CL8a8HZ0.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.DY5Zh3I7.js +0 -1
- package/build/client/_app/immutable/entry/start.DY5Zh3I7.js.br +0 -0
- package/build/client/_app/immutable/entry/start.DY5Zh3I7.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.Bmtc68EX.js +0 -8
- package/build/client/_app/immutable/nodes/0.Bmtc68EX.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.Bmtc68EX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.BRLMR7fm.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.BRLMR7fm.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.Ctk2N--v.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.Ctk2N--v.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.DzDPmeKc.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.DzDPmeKc.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.BUO7L3_c.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.BUO7L3_c.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.sQe1BX9E.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.sQe1BX9E.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.C6lWut9y.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.C6lWut9y.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.B9dAe-zO.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.B9dAe-zO.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.BjYq-nHX.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.BjYq-nHX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/18.C7MQG7kY.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.C7MQG7kY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.CGPxCxa4.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.CGPxCxa4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.DSEV6dyX.js +0 -27
- package/build/client/_app/immutable/nodes/2.DSEV6dyX.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.DSEV6dyX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.UmQnK0mP.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.UmQnK0mP.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.kMxNjh5n.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.kMxNjh5n.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.HvyFWmuR.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.HvyFWmuR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.cOsP7AQT.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.cOsP7AQT.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.WTA0USqX.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.WTA0USqX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.DVgxxTkD.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.DVgxxTkD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.Djk2ljG8.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.Djk2ljG8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.C0za5N1P.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.C0za5N1P.js.gz +0 -0
- /package/build/client/_app/immutable/chunks/{BsFN-acf.js → Bxza7kFR.js} +0 -0
- /package/build/client/_app/immutable/chunks/{BsFN-acf.js.br → Bxza7kFR.js.br} +0 -0
- /package/build/client/_app/immutable/chunks/{BsFN-acf.js.gz → Bxza7kFR.js.gz} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{p as ot,u as nt,a as l,b as lt,e as it,g as e,c as h,h as R,i as d,$ as dt,s as t,r,l as _e,o as v,t as w,d as s,f as le,n as H,w as re,v as se}from"../chunks/BOY9WARo.js";import{s as Le,r as Re,i as k}from"../chunks/DnDesMxN.js";import{h as ct,e as Y,s as J,a as ie,i as vt}from"../chunks/BRuDnHyc.js";import{p as Ce}from"../chunks/
|
|
1
|
+
import"../chunks/DsnmJJEf.js";import{p as ot,u as nt,a as l,b as lt,e as it,g as e,c as h,h as R,i as d,$ as dt,s as t,r,l as _e,o as v,t as w,d as s,f as le,n as H,w as re,v as se}from"../chunks/BOY9WARo.js";import{s as Le,r as Re,i as k}from"../chunks/DnDesMxN.js";import{h as ct,e as Y,s as J,a as ie,i as vt}from"../chunks/BRuDnHyc.js";import{p as Ce}from"../chunks/DQEmyAe4.js";import{i as mt}from"../chunks/BBLx2oxZ.js";import{l as de,c as Pe}from"../chunks/Bl1tMgf8.js";import{s as We,a as ze}from"../chunks/BudxWdUe.js";import{P as pt}from"../chunks/DDUWrtWf.js";import{S as ut}from"../chunks/D8Hr8rhb.js";import{a as xe}from"../chunks/BXF1nDhR.js";import{B as ae}from"../chunks/DqZ9Wm2M.js";import{s as ht}from"../chunks/D7IP_ZEm.js";import{I as Be}from"../chunks/BbU5AsRD.js";import{C as ft}from"../chunks/D6hXuNzR.js";import{S as _t}from"../chunks/kWmJZSyZ.js";import{S as xt}from"../chunks/C03wrLr6.js";var gt=new Set(["$$slots","$$events","$$legacy"]);function bt(oe,B){let V=Re(B,gt);const D={name:"file-code-corner",size:24,node:[["path",{d:"M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5"}],["path",{d:"m5 16-3 3 3 3"}],["path",{d:"m9 22 3-3-3-3"}]],aliases:["file-code-2"]};Be(oe,Le(()=>V,{get icon(){return D}}))}var wt=new Set(["$$slots","$$events","$$legacy"]);function $t(oe,B){let V=Re(B,wt);const D={name:"pencil-line",size:24,node:[["path",{d:"M13 21h8"}],["path",{d:"m15 5 4 4"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z"}]]};Be(oe,Le(()=>V,{get icon(){return D}}))}var kt=h('<p class="text-muted-foreground"> </p>'),yt=h("<!>Edit passage",1),jt=h(`<p class="mt-2 text-sm text-warning" data-pending="">An edited version is saved in the project’s clone but is not on the default branch
|
|
2
2
|
yet, so this one is still in use.</p> <div class="mt-2 flex flex-wrap gap-2"><!> <!></div>`,1),At=h('<li class="flex gap-2"><!><span class="min-w-0 font-mono text-xs leading-5 break-words"> </span></li>'),St=h('<ul class="mt-3 space-y-1 text-sm text-danger"></ul> <p class="mt-2 text-xs text-muted-foreground">This file is left out until it is fixed; the passage uses the layers below it.</p>',1),Ct=h('<li class="rounded-xl border p-4"><div class="flex flex-wrap items-baseline gap-x-3 gap-y-1"><!> <span class="font-medium"> </span> <span> </span></div> <p class="mt-1 font-mono text-xs break-all text-muted-foreground"> </p> <!> <!></li>'),Pt=h("<li> </li>"),Wt=h('<ul class="mt-3 space-y-1 text-sm text-muted-foreground"></ul>'),zt=h('<li><span class="font-mono text-xs"> </span> </li>'),Te=h('<p class="mt-3 text-sm text-danger"> </p>'),Ie=h('<div class="mt-4 flex gap-2"><!></div>'),Ee=h('<p class="mt-2 text-sm text-danger" role="alert"> </p>'),Tt=h(`<section aria-labelledby="consent"><h2 id="consent"><!> </h2> <p class="mt-2 text-sm leading-relaxed"> </p> <ul class="mt-2 list-disc space-y-1 pl-5 text-sm"></ul> <p class="mt-2 text-xs text-muted-foreground">These network checks only observe; they never deploy or change anything. This version of
|
|
3
3
|
the file has sha256 <span class="font-mono"> </span> </p> <!> <!></section>`),It=h('<li class="rounded-lg border bg-card p-3 text-sm"><p class="font-medium"> <span class="font-normal text-muted-foreground"> </span></p> <pre class="mt-2 overflow-x-auto rounded-md bg-terminal px-3 py-2 font-mono text-xs text-terminal-foreground"> </pre> <p class="mt-2 text-xs text-muted-foreground"> </p></li>'),Et=h('<section aria-labelledby="commands"><h2 id="commands"><!> </h2> <p class="mt-2 text-sm leading-relaxed"> </p> <ul class="mt-3 space-y-3"></ul> <p class="mt-3 text-xs text-muted-foreground"> </p> <!> <!></section>'),Lt=h('<div class="flex gap-2"><dt class="w-20 shrink-0 text-muted-foreground">Reached</dt> <dd class="min-w-0 break-words"> </dd></div>'),Rt=h('<div class="flex gap-2"><dt class="w-20 shrink-0 text-muted-foreground">Failed</dt> <dd class="min-w-0 break-words"> </dd></div>'),Bt=h('<div class="flex gap-2"><dt class="w-20 shrink-0 text-muted-foreground">Skipped</dt> <dd class="min-w-0 break-words"> </dd></div>'),Ut=h('<div class="flex gap-2"><dt class="w-20 shrink-0 text-muted-foreground">Shows</dt> <dd class="min-w-0 break-words"> </dd></div>'),Mt=h('<div class="flex gap-2"><dt class="w-20 shrink-0 text-muted-foreground">Link</dt> <dd class="min-w-0"> </dd></div>'),Ot=h('<div class="flex gap-2"><dt class="w-20 shrink-0 text-muted-foreground">Gives up</dt> <dd> </dd></div>'),Dt=h('<p class="pt-1 text-muted-foreground"> </p>'),Ft=h('<details class="pt-1 text-muted-foreground"><summary class="cursor-pointer">Rule as written</summary> <p class="mt-1 font-mono break-words"> </p></details>'),Gt=h('<li class="grid gap-x-6 gap-y-1 px-4 py-3 text-sm md:grid-cols-[12rem_minmax(0,1fr)]"><div class="min-w-0"><p class="font-medium"><span class="tabular mr-1 text-muted-foreground"> </span> </p> <p class="text-xs text-muted-foreground"> </p></div> <dl class="min-w-0 space-y-0.5 text-xs"><!> <!> <!> <!> <!> <!> <!> <!></dl></li>'),Nt=h('<li class="grid gap-x-6 gap-y-1 px-4 py-3 text-sm md:grid-cols-[12rem_minmax(0,1fr)]"><div class="min-w-0"><p class="font-medium"> </p> <p class="text-xs text-muted-foreground"> </p></div> <div class="min-w-0 text-xs"><p><span class="font-mono"> </span> </p> <p class="mt-0.5 text-muted-foreground"> </p></div></li>'),qt=h('<h3 class="mt-6 text-xs font-medium text-muted-foreground">Checks</h3> <ul class="mt-2 divide-y rounded-xl border"></ul>',1),Ht=h('<section class="mt-12"><h2 class="text-sm font-medium"> <span class="font-normal text-muted-foreground"> </span></h2> <ol class="mt-3 divide-y rounded-xl border"></ol> <!></section>'),Kt=h(`<div class="max-w-3xl"><p class="text-sm text-muted-foreground"> </p> <div class="mt-1 flex flex-wrap items-center gap-x-4 gap-y-2"><h1 class="text-2xl font-semibold tracking-tight">Passage</h1> <!></div> <p class="mt-2 leading-relaxed text-muted-foreground">The steps this project’s tasks pass through, and the checks that observe them. Wheelhouse
|
|
4
4
|
starts from its built-in passage, then layers the project’s <code class="font-mono text-sm">.wheelhouse.yaml</code> from its default branch (never a task branch), then your own Wheelhouse config.</p></div> <section class="mt-10 max-w-3xl" aria-labelledby="files"><h2 id="files" class="text-sm font-medium">Passage files</h2> <ul class="mt-3 space-y-3"></ul> <!></section> <!> <!> <!> <p class="mt-10 max-w-3xl text-xs text-muted-foreground">See Wheelhouse’s <a class="underline underline-offset-2 hover:text-foreground" href="https://github.com/chrisjowen/wheelhouse/blob/main/docs/passages.md" target="_blank" rel="noreferrer">Passage files guide</a> for the format.</p>`,1),Yt=h('<main class="px-4 pt-6 pb-24 sm:px-6 lg:px-10"><!> <div class="surface mt-6 px-5 py-6 sm:px-8 sm:py-8"><!></div></main>');function ma(oe,B){ot(B,!0);let V=_e(null),D=_e(!1),Q=_e(null);const U=R(()=>Ce.params.id),$=R(()=>e(V)?.projectId===e(U)?e(V):B.data.view),ge=R(()=>Pe()?.projects.find(P=>P.id===e(U))),pe=R(()=>e(ge)?.name??e(U)),Ue=R(()=>(Pe()?.tasks??[]).filter(P=>P.projectId===e(U))),Me=R(()=>We.entries(ze.project(e(U)),B.data.slots,B.data.slotsAt).filter(P=>P.slot==="project.tab"));nt(()=>{de.revision,We.refresh(ze.project(e(U)),B.data.slotsAt)});const ce={builtin:"Built-in",project:"Project file",captain:"Your config"},Oe={absent:"Not present",applied:"In use",invalid:"Left out: has errors",unreadable:"Could not be read"},De={ship:"Ship work",scout:"Scout work"};async function ve(P,X="consent"){se(D,!0),se(Q,null);try{const F=await fetch(`/api/projects/${encodeURIComponent(e(U))}/passage/${X}`,{method:"POST",headers:{"content-type":"application/json",[ut]:Ce.data.sessionToken},body:JSON.stringify({digest:P})}),Z=await F.json().catch(()=>null);F.ok&&Z?.schema==="wheelhouse-passage.v1"?se(V,Z,!0):(se(Q,typeof Z?.message=="string"?Z.message:`Wheelhouse answered ${F.status}.`,!0),F.status===409&&await mt())}catch{se(Q,"Could not reach the Wheelhouse server.")}finally{se(D,!1)}}var ue=Yt();ct("1j5yzgw",P=>{it(()=>{dt.title=`${e(pe)??""} passage · Wheelhouse`})});var be=d(ue);{let P=R(()=>e(ge)??null);pt(be,{get id(){return e(U)},get project(){return e(P)},get tasks(){return e(Ue)},get tabs(){return e(Me)},get repo(){return B.data.repo},current:"passage",get now(){return de.now}})}var we=t(be,2),Fe=d(we);{var Ge=P=>{var X=kt(),F=v(X,!0);w(()=>s(F,B.data.problem??"Loading…")),l(P,X)},Ne=P=>{var X=Kt(),F=le(X),Z=d(F),qe=v(Z),$e=t(Z,2),He=t(d($e),2);{var Ke=g=>{{let a=R(()=>encodeURIComponent(e(U)));ae(g,{variant:"outline",size:"sm",get href(){return`/projects/${e(a)??""}/passage/edit`},children:(f,y)=>{var W=yt(),L=le(W);$t(L,{"aria-hidden":"true"}),H(),l(f,W)},$$slots:{default:!0}})}};k(He,g=>{e(U)!=="unassigned"&&g(Ke)})}r($e),H(2),r(F);var he=t(F,2),fe=t(d(he),2);Y(fe,21,()=>e($).sources,g=>g.kind,(g,a)=>{var f=Ct(),y=d(f),W=d(y);bt(W,{class:"size-4 self-center text-muted-foreground","aria-hidden":"true"});var L=t(W,2),K=v(L,!0),G=t(L,2),M=v(G,!0);r(y);var O=t(y,2),C=v(O,!0),o=t(O,2);{var N=A=>{var m=jt(),i=t(le(m),2),n=d(i);{let _=R(()=>encodeURIComponent(ht(e(pe))));ae(n,{variant:"outline",size:"sm",get href(){return`/?draft=${e(_)??""}`},children:(x,S)=>{H();var b=re("Ask Firstmate to ship it");l(x,b)},$$slots:{default:!0}})}var p=t(n,2);{let _=R(()=>encodeURIComponent(e(U)));ae(p,{variant:"ghost",size:"sm",get href(){return`/projects/${e(_)??""}/passage/edit`},children:(x,S)=>{H();var b=re("Open the editor");l(x,b)},$$slots:{default:!0}})}r(i),l(A,m)};k(o,A=>{e(a).pending&&A(N)})}var z=t(o,2);{var j=A=>{var m=St(),i=le(m);Y(i,21,()=>e(a).errors,vt,(n,p)=>{var _=At(),x=d(_);ft(x,{class:"mt-0.5 size-4 shrink-0","aria-hidden":"true"});var S=t(x),b=v(S,!0);r(_),w(()=>s(b,e(p))),l(n,_)}),r(i),H(2),l(A,m)};k(z,A=>{e(a).errors.length&&A(j)})}r(f),w(()=>{J(f,"data-source",e(a).kind),J(f,"data-state",e(a).state),s(K,e(a).kind==="project"?"Project file":"Your config"),ie(G,1,`text-sm ${e(a).state==="applied"?"text-success":e(a).state==="absent"?"text-muted-foreground":"text-danger"}`),s(M,Oe[e(a).state]),s(C,e(a).location)}),l(g,f)}),r(fe);var Ye=t(fe,2);{var Je=g=>{var a=Wt();Y(a,20,()=>e($).notes,f=>f,(f,y)=>{var W=Pt(),L=v(W,!0);w(()=>s(L,y)),l(f,W)}),r(a),l(g,a)};k(Ye,g=>{e($).notes.length&&g(Je)})}r(he);var ke=t(he,2);{var Ve=g=>{const a=R(()=>e($).passages.flatMap(n=>n.checks.filter(p=>p.origin==="project"&&p.network)));var f=Tt(),y=d(f),W=d(y);_t(W,{class:"size-4","aria-hidden":"true"});var L=t(W);r(y);var K=t(y,2),G=v(K),M=t(K,2);Y(M,21,()=>e(a),n=>n.id,(n,p)=>{var _=zt(),x=d(_),S=v(x,!0),b=t(x);r(_),w(()=>{s(S,e(p).type),s(b,` ${e(p).params??""}`)}),l(n,_)}),r(M);var O=t(M,2),C=t(d(O)),o=v(C,!0),N=t(C);r(O);var z=t(O,2);{var j=n=>{var p=Te(),_=v(p,!0);w(()=>s(_,e($).consent.unavailable)),l(n,p)},A=n=>{var p=Ie(),_=d(p);{var x=b=>{ae(b,{variant:"outline",size:"sm",get disabled(){return e(D)},onclick:()=>ve(null),children:(I,ee)=>{H();var q=re("Turn these checks off");l(I,q)},$$slots:{default:!0}})},S=b=>{ae(b,{size:"sm",get disabled(){return e(D)},onclick:()=>ve(e($).consent.digest),children:(I,ee)=>{H();var q=re("Enable these checks");l(I,q)},$$slots:{default:!0}})};k(_,b=>{e($).consent.enabled?b(x):b(S,-1)})}r(p),l(n,p)};k(z,n=>{e($).consent.unavailable?n(j):n(A,-1)})}var m=t(z,2);{var i=n=>{var p=Ee(),_=v(p,!0);w(()=>s(_,e(Q))),l(n,p)};k(m,n=>{e(Q)&&n(i)})}r(f),w((n,p)=>{ie(f,1,`mt-8 max-w-3xl rounded-xl p-4 ${e($).consent.enabled?"border":"bg-sea/10"}`),ie(y,1,`flex items-center gap-2 text-sm font-medium ${e($).consent.enabled?"":"text-sea"}`),s(L,` ${e($).consent.enabled?"The project file’s checks are on":"The project file’s network checks are off"}`),s(G,`The project file asks Wheelhouse to read ${e(a).length===1?"this":`these ${e(a).length}`} from the network, with your GitHub CLI login where it reads
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{k as Pt,p as Dt,i as O,s as m,o as U,r as x,t as B,g as o,a as y,d as M,x as we,b as Kt,a7 as yr,h as j,n as We,f as Ee,c as w,bC as $s,u as Bs,v as ae,z as br,l as $e,w as Mt,a8 as _r,m as wr,j as mn,e as kr,$ as xr}from"../chunks/BOY9WARo.js";import{s as On,r as Tn,p as zt,i as G}from"../chunks/DnDesMxN.js";import{X as In,k as gn}from"../chunks/BBWR4qW2.js";import{r as mt,a as Ae,c as Ze,e as Be,s as ge,l as ht,j as bt,n as $t,i as gs,b as Sr,k as mi,h as Nr}from"../chunks/BRuDnHyc.js";import{b as Ar,g as Or}from"../chunks/
|
|
1
|
+
import"../chunks/DsnmJJEf.js";import{k as Pt,p as Dt,i as O,s as m,o as U,r as x,t as B,g as o,a as y,d as M,x as we,b as Kt,a7 as yr,h as j,n as We,f as Ee,c as w,bC as $s,u as Bs,v as ae,z as br,l as $e,w as Mt,a8 as _r,m as wr,j as mn,e as kr,$ as xr}from"../chunks/BOY9WARo.js";import{s as On,r as Tn,p as zt,i as G}from"../chunks/DnDesMxN.js";import{X as In,k as gn}from"../chunks/BBWR4qW2.js";import{r as mt,a as Ae,c as Ze,e as Be,s as ge,l as ht,j as bt,n as $t,i as gs,b as Sr,k as mi,h as Nr}from"../chunks/BRuDnHyc.js";import{b as Ar,g as Or}from"../chunks/BBLx2oxZ.js";import{p as Ps}from"../chunks/DQEmyAe4.js";import{c as Tr}from"../chunks/Bl1tMgf8.js";import{a as Ir,b as Er}from"../chunks/CrPP6AgN.js";import{S as Xn}from"../chunks/CEbzGOE-.js";import{B as et}from"../chunks/DqZ9Wm2M.js";import{S as vn}from"../chunks/D8Hr8rhb.js";import{C as vs,a as Cr,b as Lr,E as jr,F as Mr,O as $r,o as Br,s as Pr}from"../chunks/D7IP_ZEm.js";import{A as gi}from"../chunks/CbGZd9iT.js";import{S as Dr}from"../chunks/C03wrLr6.js";import{I as En}from"../chunks/BbU5AsRD.js";import{b as Kr}from"../chunks/4VJeJzd5.js";import{P as Cn}from"../chunks/6x5fl0iw.js";import{A as vi}from"../chunks/DRK9oYED.js";import{A as yi}from"../chunks/BwLAIydi.js";import{P as Rr,C as Fr}from"../chunks/DlcOqcbg.js";import{C as bi}from"../chunks/D6hXuNzR.js";import{C as qr}from"../chunks/CaaP7Cfy.js";import{C as Ur}from"../chunks/2u5U2sv5.js";import{M as Wr}from"../chunks/BkoErw_r.js";import{C as Vr}from"../chunks/CdUf0vBw.js";var Jr=new Set(["$$slots","$$events","$$legacy"]);function Yr(n,e){let t=Tn(e,Jr);const s={name:"flask-conical",size:24,node:[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2"}],["path",{d:"M6.453 15h11.094"}],["path",{d:"M8.5 2h7"}]]};En(n,On(()=>t,{get icon(){return s}}))}var zr=new Set(["$$slots","$$events","$$legacy"]);function Gr(n,e){let t=Tn(e,zr);const s={name:"rotate-ccw",size:24,node:[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"}],["path",{d:"M3 3v5h5"}]]};En(n,On(()=>t,{get icon(){return s}}))}var Hr=new Set(["$$slots","$$events","$$legacy"]);function _i(n,e){let t=Tn(e,Hr);const s={name:"trash",size:24,node:[["path",{d:"M10 11v6"}],["path",{d:"M14 11v6"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"}],["path",{d:"M3 6h18"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}]],aliases:["trash-2"]};En(n,On(()=>t,{get icon(){return s}}))}const Ln=Symbol.for("yaml.alias"),yn=Symbol.for("yaml.document"),At=Symbol.for("yaml.map"),wi=Symbol.for("yaml.pair"),gt=Symbol.for("yaml.scalar"),es=Symbol.for("yaml.seq"),ut=Symbol.for("yaml.node.type"),ts=n=>!!n&&typeof n=="object"&&n[ut]===Ln,Fs=n=>!!n&&typeof n=="object"&&n[ut]===yn,rt=n=>!!n&&typeof n=="object"&&n[ut]===At,Ke=n=>!!n&&typeof n=="object"&&n[ut]===wi,xe=n=>!!n&&typeof n=="object"&&n[ut]===gt,wt=n=>!!n&&typeof n=="object"&&n[ut]===es;function Pe(n){if(n&&typeof n=="object")switch(n[ut]){case At:case es:return!0}return!1}function De(n){if(n&&typeof n=="object")switch(n[ut]){case Ln:case At:case gt:case es:return!0}return!1}const ki=n=>(xe(n)||Pe(n))&&!!n.anchor,Ct=Symbol("break visit"),Qr=Symbol("skip children"),hs=Symbol("remove node");function Rt(n,e){const t=Xr(e);Fs(n)?Vt(null,n.contents,t,Object.freeze([n]))===hs&&(n.contents=null):Vt(null,n,t,Object.freeze([]))}Rt.BREAK=Ct;Rt.SKIP=Qr;Rt.REMOVE=hs;function Vt(n,e,t,s){const i=Zr(n,e,t,s);if(De(i)||Ke(i))return ea(n,s,i),Vt(n,i,t,s);if(typeof i!="symbol"){if(Pe(e)){s=Object.freeze(s.concat(e));for(let r=0;r<e.items.length;++r){const a=Vt(r,e.items[r],t,s);if(typeof a=="number")r=a-1;else{if(a===Ct)return Ct;a===hs&&(e.items.splice(r,1),r-=1)}}}else if(Ke(e)){s=Object.freeze(s.concat(e));const r=Vt("key",e.key,t,s);if(r===Ct)return Ct;r===hs&&(e.key=null);const a=Vt("value",e.value,t,s);if(a===Ct)return Ct;a===hs&&(e.value=null)}}return i}function Xr(n){return typeof n=="object"&&(n.Collection||n.Node||n.Value)?Object.assign({Alias:n.Node,Map:n.Node,Scalar:n.Node,Seq:n.Node},n.Value&&{Map:n.Value,Scalar:n.Value,Seq:n.Value},n.Collection&&{Map:n.Collection,Seq:n.Collection},n):n}function Zr(n,e,t,s){if(typeof t=="function")return t(n,e,s);if(rt(e))return t.Map?.(n,e,s);if(wt(e))return t.Seq?.(n,e,s);if(Ke(e))return t.Pair?.(n,e,s);if(xe(e))return t.Scalar?.(n,e,s);if(ts(e))return t.Alias?.(n,e,s)}function ea(n,e,t){const s=e[e.length-1];if(Pe(s))s.items[n]=t;else if(Ke(s))n==="key"?s.key=t:s.value=t;else if(Fs(s))s.contents=t;else{const i=ts(s)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}const ta={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},sa=n=>n.replace(/[!,[\]{}]/g,e=>ta[e]);class Ge{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},Ge.defaultYaml,e),this.tags=Object.assign({},Ge.defaultTags,t)}clone(){const e=new Ge(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){const e=new Ge(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:Ge.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},Ge.defaultTags);break}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:Ge.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},Ge.defaultTags),this.atNextDocument=!1);const s=e.trim().split(/[ \t]+/),i=s.shift();switch(i){case"%TAG":{if(s.length!==2&&(t(0,"%TAG directive should contain exactly two parts"),s.length<2))return!1;const[r,a]=s;return this.tags[r]=a,!0}case"%YAML":{if(this.yaml.explicit=!0,s.length!==1)return t(0,"%YAML directive should contain exactly one part"),!1;const[r]=s;if(r==="1.1"||r==="1.2")return this.yaml.version=r,!0;{const a=/^\d+\.\d+$/.test(r);return t(6,`Unsupported YAML version ${r}`,a),!1}}default:return t(0,`Unknown directive ${i}`,!0),!1}}tagName(e,t){if(e==="!")return"!";if(e[0]!=="!")return t(`Not a valid tag: ${e}`),null;if(e[1]==="<"){const a=e.slice(2,-1);return a==="!"||a==="!!"?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==">"&&t("Verbatim tags must end with a >"),a)}const[,s,i]=e.match(/^(.*!)([^!]*)$/s);i||t(`The ${e} tag has no suffix`);const r=this.tags[s];if(r)try{return r+decodeURIComponent(i)}catch(a){return t(String(a)),null}return s==="!"?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,s]of Object.entries(this.tags))if(e.startsWith(s))return t+sa(e.substring(s.length));return e[0]==="!"?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],s=Object.entries(this.tags);let i;if(e&&s.length>0&&De(e.contents)){const r={};Rt(e.contents,(a,l)=>{De(l)&&l.tag&&(r[l.tag]=!0)}),i=Object.keys(r)}else i=[];for(const[r,a]of s)r==="!!"&&a==="tag:yaml.org,2002:"||(!e||i.some(l=>l.startsWith(a)))&&t.push(`%TAG ${r} ${a}`);return t.join(`
|
|
2
2
|
`)}}Ge.defaultYaml={explicit:!1,version:"1.2"};Ge.defaultTags={"!!":"tag:yaml.org,2002:"};function xi(n){if(/[\x00-\x19\s,[\]{}]/.test(n)){const t=`Anchor must not contain whitespace or control characters: ${JSON.stringify(n)}`;throw new Error(t)}return!0}function Si(n){const e=new Set;return Rt(n,{Value(t,s){s.anchor&&e.add(s.anchor)}}),e}function Ni(n,e){for(let t=1;;++t){const s=`${n}${t}`;if(!e.has(s))return s}}function na(n,e){const t=[],s=new Map;let i=null;return{onAnchor:r=>{t.push(r),i??(i=Si(n));const a=Ni(e,i);return i.add(a),a},setAnchors:()=>{for(const r of t){const a=s.get(r);if(typeof a=="object"&&a.anchor&&(xe(a.node)||Pe(a.node)))a.node.anchor=a.anchor;else{const l=new Error("Failed to resolve repeated object (this should not happen)");throw l.source=r,l}}},sourceObjects:s}}function Jt(n,e,t,s){if(s&&typeof s=="object")if(Array.isArray(s))for(let i=0,r=s.length;i<r;++i){const a=s[i],l=Jt(n,s,String(i),a);l===void 0?delete s[i]:l!==a&&(s[i]=l)}else if(s instanceof Map)for(const i of Array.from(s.keys())){const r=s.get(i),a=Jt(n,s,i,r);a===void 0?s.delete(i):a!==r&&s.set(i,a)}else if(s instanceof Set)for(const i of Array.from(s)){const r=Jt(n,s,i,i);r===void 0?s.delete(i):r!==i&&(s.delete(i),s.add(r))}else for(const[i,r]of Object.entries(s)){const a=Jt(n,s,i,r);a===void 0?delete s[i]:a!==r&&(s[i]=a)}return n.call(e,t,s)}function ct(n,e,t){if(Array.isArray(n))return n.map((s,i)=>ct(s,String(i),t));if(n&&typeof n.toJSON=="function"){if(!t||!ki(n))return n.toJSON(e,t);const s={aliasCount:0,count:1,res:void 0};t.anchors.set(n,s),t.onCreate=r=>{s.res=r,delete t.onCreate};const i=n.toJSON(e,t);return t.onCreate&&t.onCreate(i),i}return typeof n=="bigint"&&!t?.keep?Number(n):n}class jn{constructor(e){Object.defineProperty(this,ut,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:s,onAnchor:i,reviver:r}={}){if(!Fs(e))throw new TypeError("A document argument is required");const a={anchors:new Map,doc:e,keep:!0,mapAsMap:t===!0,mapKeyWarned:!1,maxAliasCount:typeof s=="number"?s:100},l=ct(this,"",a);if(typeof i=="function")for(const{count:c,res:u}of a.anchors.values())i(u,c);return typeof r=="function"?Jt(r,{"":l},"",l):l}}class Mn extends jn{constructor(e){super(Ln),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e,t){if(t?.maxAliasCount===0)throw new ReferenceError("Alias resolution is disabled");let s;t?.aliasResolveCache?s=t.aliasResolveCache:(s=[],Rt(e,{Node:(r,a)=>{(ts(a)||ki(a))&&s.push(a)}}),t&&(t.aliasResolveCache=s));let i;for(const r of s){if(r===this)break;r.anchor===this.source&&(i=r)}if(i&&t){const{anchors:r,doc:a,maxAliasCount:l}=t;let c=r.get(i);if(c||(ct(i,null,t),c=r.get(i)),c?.res===void 0){const u="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(u)}if(l>=0&&(c.count+=1,c.aliasCount===0&&(c.aliasCount=Ls(a,i,r)),c.count*c.aliasCount>l)){const u="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(u)}}return i}toJSON(e,t){if(!t)return{source:this.source};const s=this.resolve(t.doc,t);if(!s){const i=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(i)}return t.anchors.get(s).res}toString(e,t,s){const i=`*${this.source}`;if(e){if(xi(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const r=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(r)}if(e.implicitKey)return`${i} `}return i}}function Ls(n,e,t){if(ts(e)){const s=e.resolve(n),i=t&&s&&t.get(s);return i?i.count*i.aliasCount:0}else if(Pe(e)){let s=0;for(const i of e.items){const r=Ls(n,i,t);r>s&&(s=r)}return s}else if(Ke(e)){const s=Ls(n,e.key,t),i=Ls(n,e.value,t);return Math.max(s,i)}return 1}const Ai=n=>!n||typeof n!="function"&&typeof n!="object";class ue extends jn{constructor(e){super(gt),this.value=e}toJSON(e,t){return t?.keep?this.value:ct(this.value,e,t)}toString(){return String(this.value)}}ue.BLOCK_FOLDED="BLOCK_FOLDED";ue.BLOCK_LITERAL="BLOCK_LITERAL";ue.PLAIN="PLAIN";ue.QUOTE_DOUBLE="QUOTE_DOUBLE";ue.QUOTE_SINGLE="QUOTE_SINGLE";const ia="tag:yaml.org,2002:";function ra(n,e,t){if(e){const s=t.filter(r=>r.tag===e),i=s.find(r=>!r.format)??s[0];if(!i)throw new Error(`Tag ${e} not found`);return i}return t.find(s=>s.identify?.(n)&&!s.format)}function ys(n,e,t){if(Fs(n)&&(n=n.contents),De(n))return n;if(Ke(n)){const f=t.schema[At].createNode?.(t.schema,null,t);return f.items.push(n),f}(n instanceof String||n instanceof Number||n instanceof Boolean||typeof BigInt<"u"&&n instanceof BigInt)&&(n=n.valueOf());const{aliasDuplicateObjects:s,onAnchor:i,onTagObj:r,schema:a,sourceObjects:l}=t;let c;if(s&&n&&typeof n=="object"){if(c=l.get(n),c)return c.anchor??(c.anchor=i(n)),new Mn(c.anchor);c={anchor:null,node:null},l.set(n,c)}e?.startsWith("!!")&&(e=ia+e.slice(2));let u=ra(n,e,a.tags);if(!u){if(n&&typeof n.toJSON=="function"&&(n=n.toJSON()),!n||typeof n!="object"){const f=new ue(n);return c&&(c.node=f),f}u=n instanceof Map?a[At]:Symbol.iterator in Object(n)?a[es]:a[At]}r&&(r(u),delete t.onTagObj);const h=u?.createNode?u.createNode(t.schema,n,t):typeof u?.nodeClass?.from=="function"?u.nodeClass.from(t.schema,n,t):new ue(n);return e?h.tag=e:u.default||(h.tag=u.tag),c&&(c.node=h),h}function Ds(n,e,t){let s=t;for(let i=e.length-1;i>=0;--i){const r=e[i];if(typeof r=="number"&&Number.isInteger(r)&&r>=0){const a=[];a[r]=s,s=a}else s=new Map([[r,s]])}return ys(s,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:n,sourceObjects:new Map})}const fs=n=>n==null||typeof n=="object"&&!!n[Symbol.iterator]().next().done;class Oi extends jn{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(s=>De(s)||Ke(s)?s.clone(e):s),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(fs(e))this.add(t);else{const[s,...i]=e,r=this.get(s,!0);if(Pe(r))r.addIn(i,t);else if(r===void 0&&this.schema)this.set(s,Ds(this.schema,i,t));else throw new Error(`Expected YAML collection at ${s}. Remaining path: ${i}`)}}deleteIn(e){const[t,...s]=e;if(s.length===0)return this.delete(t);const i=this.get(t,!0);if(Pe(i))return i.deleteIn(s);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${s}`)}getIn(e,t){const[s,...i]=e,r=this.get(s,!0);return i.length===0?!t&&xe(r)?r.value:r:Pe(r)?r.getIn(i,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!Ke(t))return!1;const s=t.value;return s==null||e&&xe(s)&&s.value==null&&!s.commentBefore&&!s.comment&&!s.tag})}hasIn(e){const[t,...s]=e;if(s.length===0)return this.has(t);const i=this.get(t,!0);return Pe(i)?i.hasIn(s):!1}setIn(e,t){const[s,...i]=e;if(i.length===0)this.set(s,t);else{const r=this.get(s,!0);if(Pe(r))r.setIn(i,t);else if(r===void 0&&this.schema)this.set(s,Ds(this.schema,i,t));else throw new Error(`Expected YAML collection at ${s}. Remaining path: ${i}`)}}}const aa=n=>n.replace(/^(?!$)(?: $)?/gm,"#");function yt(n,e){return/^\n+$/.test(n)?n.substring(1):e?n.replace(/^(?! *$)/gm,e):n}const Lt=(n,e,t)=>n.endsWith(`
|
|
3
3
|
`)?yt(t,e):t.includes(`
|
|
4
4
|
`)?`
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{k as vt,p as ye,i as x,o as v,s,r as m,g as r,t as u,d,a as o,b as Ie,a7 as he,j as ge,f as S,l as pe,h as J,w as be,x as mt,c as n,v as B,n as we,q as ct,$ as ut}from"../chunks/BOY9WARo.js";import{i as f}from"../chunks/DnDesMxN.js";import{s as H,a as ie,e as K,h as _t}from"../chunks/BRuDnHyc.js";import{c as xt,l as ft}from"../chunks/
|
|
1
|
+
import"../chunks/DsnmJJEf.js";import{k as vt,p as ye,i as x,o as v,s,r as m,g as r,t as u,d,a as o,b as Ie,a7 as he,j as ge,f as S,l as pe,h as J,w as be,x as mt,c as n,v as B,n as we,q as ct,$ as ut}from"../chunks/BOY9WARo.js";import{i as f}from"../chunks/DnDesMxN.js";import{s as H,a as ie,e as K,h as _t}from"../chunks/BRuDnHyc.js";import{c as xt,l as ft}from"../chunks/Bl1tMgf8.js";import{a as ve}from"../chunks/BXF1nDhR.js";import{M as ht}from"../chunks/BSMH3sl_.js";import{H as gt}from"../chunks/BQle5rwK.js";import{A as pt}from"../chunks/Z8zDEyti.js";import{G as bt}from"../chunks/D1pI6A8q.js";import{R as wt}from"../chunks/DU2mz-vL.js";import{E as kt}from"../chunks/CyhrvZ9i.js";var yt=n('<span class="shrink-0 rounded border px-1 font-mono text-xs leading-4"> </span>'),It=n('<p class="mt-0.5 line-clamp-2 text-xs text-muted-foreground"> </p>'),Rt=n('<a target="_blank" rel="noreferrer" class="mt-0.5 block text-xs break-all text-sea hover:underline"> </a>'),qt=n('<li class="px-3 py-2 text-sm"><div class="flex flex-wrap items-baseline gap-x-2"><span> </span> <a class="min-w-0 flex-1 truncate hover:underline"> </a> <!></div> <!> <!></li>'),At=n('<ul class="divide-y rounded-lg border bg-card"></ul>'),Nt=n('<p class="text-sm text-muted-foreground"> </p>'),ke=n('<span class="block text-xs text-muted-foreground"> </span>'),jt=n('<span class="text-muted-foreground">Not available.</span> <!>',1),Lt=n('<span class="text-muted-foreground">None of its work names a project.</span>'),St=n('<dt class="text-muted-foreground">Home</dt> <dd class="font-mono text-xs break-all"> </dd>',1),Ft=n('<dt class="text-muted-foreground">Last report</dt> <dd> </dd>',1),Ct=n('<a href="/inbox" class="mt-4 flex items-center gap-1.5 rounded-lg border bg-card px-3 py-2 text-sm hover:border-foreground/20"><!> <!></a>'),Ht=n('<span class="text-xs text-success">Landed</span>'),zt=n('<li class="flex items-baseline gap-2"><!> <a target="_blank" rel="noreferrer" class="text-sea hover:underline"> </a> <span class="min-w-0 truncate text-muted-foreground"> </span> <!></li>'),Dt=n('<ul class="flex flex-col gap-1 text-sm"></ul>'),Mt=n('<p class="text-sm text-muted-foreground">No pull requests in what it reports.</p>'),Ot=n('<li><a class="text-sea hover:underline"> </a> <span class="text-xs text-muted-foreground"> </span></li>'),Pt=n('<ul class="mt-2 flex flex-col gap-1 text-sm"></ul>'),Tt=n('<p class="mt-1 text-xs text-muted-foreground"> </p>'),Ut=n('<p class="mt-3 text-xs text-muted-foreground"> </p>'),Et=n("<!>Look again",1),Wt=n("<!>Look at its terminal",1),Gt=n('<button class="flex cursor-pointer items-center gap-1 rounded-md border px-2 py-1 text-xs hover:bg-muted disabled:opacity-60"><!></button>'),Qt=n('<p class="mt-1 text-sm text-muted-foreground"> </p>'),Bt=n('<p class="mt-1 text-sm text-muted-foreground" aria-busy="true">Looking…</p>'),Jt=n('<pre class="mt-2 max-h-80 overflow-auto rounded-lg border bg-muted/40 p-3 font-mono text-xs leading-snug whitespace-pre-wrap"> </pre> <p class="mt-1 text-xs text-muted-foreground"> </p>',1),Kt=n("<p> </p>"),Vt=n('<p class="mt-1 text-sm text-muted-foreground">A read-only look at the last lines of its own terminal, when you ask.</p>'),Xt=n('<article><header class="flex flex-wrap items-center gap-2"><h2 class="text-xl"> </h2> <!> <span class="text-sm text-muted-foreground"> </span></header> <dl class="mt-3 grid gap-x-6 gap-y-1 text-sm sm:grid-cols-[auto_1fr]"><dt class="text-muted-foreground">Health</dt> <dd> <!></dd> <dt class="text-muted-foreground">Host load</dt> <dd><!></dd> <dt class="text-muted-foreground">Projects</dt> <dd><!></dd> <!> <!></dl> <!> <section class="mt-5" aria-label="In flight"><h3 class="section-label mb-2">In flight <span class="tabular"> </span></h3> <!></section> <section class="mt-5" aria-label="Queued"><h3 class="section-label mb-2">Queued <span class="tabular"> </span></h3> <!></section> <section class="mt-5" aria-label="Pull requests and previews"><h3 class="section-label mb-2">Pull requests and previews</h3> <!> <!></section> <section class="mt-5" aria-label="Landed"><h3 class="section-label mb-2">Landed <span class="tabular"> </span></h3> <!></section> <!> <section class="mt-5" aria-label="A look at it"><div class="flex flex-wrap items-center gap-2"><h3 class="section-label flex-1">What it is doing</h3> <!></div> <!></section></article>');function Yt(V,t){ye(t,!0);const q=(e,a=he,l=he)=>{var i=ge(),h=S(i);{var c=g=>{var k=At();K(k,21,a,R=>R.id,(R,p)=>{var C=qt(),j=x(C),U=x(j),rt=v(U,!0),Q=s(U,2),st=v(Q,!0),ot=s(Q,2);{var nt=y=>{var L=yt(),E=v(L,!0);u(()=>d(E,r(p).projectId)),o(y,L)};f(ot,y=>{r(p).projectId&&y(nt)})}m(j);var fe=s(j,2);{var lt=y=>{var L=It(),E=v(L,!0);u(()=>d(E,r(p).doing)),o(y,L)};f(fe,y=>{r(p).doing&&y(lt)})}var dt=s(fe,2);{var it=y=>{var L=Rt(),E=v(L,!0);u(()=>{H(L,"href",r(p).pr.url),d(E,r(p).pr.url)}),o(y,L)};f(dt,y=>{r(p).pr&&y(it)})}m(C),u(y=>{H(C,"data-mate-task",r(p).id),ie(U,1,`font-medium ${W[r(p).status]??"text-muted-foreground"??""}`),d(rt,r(p).statusLabel),H(Q,"href",`/tasks/${y??""}`),H(Q,"title",r(p).id),d(st,r(p).title)},[()=>encodeURIComponent(`${r(p).id}@${t.mate.id}`)]),o(R,C)}),m(k),o(g,k)},_=g=>{var k=Nt(),R=v(k,!0);u(()=>d(R,l())),o(g,k)};f(h,g=>{a().length?g(c):g(_,-1)})}o(e,i)};let w=pe(null),N=pe(!1);async function M(){if(!r(N)){B(N,!0);try{const e=await fetch(`/api/second-mates/${encodeURIComponent(t.mate.id)}/peek?lines=40`);B(w,e.ok?await e.json():{available:!1,offline:!1,reason:`Wheelhouse answered ${e.status}.`,lines:[],capturedAt:null,requested:40},!0)}catch{B(w,{available:!1,offline:!1,reason:"Could not reach the Wheelhouse server.",lines:[],capturedAt:null,requested:40},!0)}finally{B(N,!1)}}}const W={"needs-decision":"text-sea",blocked:"text-danger",failed:"text-danger",unknown:"text-warning",working:"text-foreground"},X=J(()=>t.mate.tone==="captain"?"border-l-sea":t.mate.tone==="trouble"?"border-l-warning":"border-l-border");var F=Xt(),O=x(F),G=x(O),Y=v(G,!0),b=s(G,2);ht(b,{get health(){return t.mate.health}});var I=s(b,2),z=v(I);m(O);var P=s(O,2),T=s(x(P),2),A=x(T),D=s(A);{var Z=e=>{var a=ke(),l=v(a,!0);u(()=>d(l,t.mate.health.reason)),o(e,a)};f(D,e=>{t.mate.health.reason&&t.mate.health.online!=="online"&&e(Z)})}m(T);var $=s(T,4),Re=x($);{var qe=e=>{var a=be();u(()=>d(a,`CPU ${t.mate.health.host.cpu??"–"??""} · memory ${t.mate.health.host.memory??"–"??""} · disk ${t.mate.health.host.disk??"–"??""}`)),o(e,a)},Ae=e=>{var a=jt(),l=s(S(a),2);{var i=h=>{var c=ke(),_=v(c,!0);u(()=>d(_,t.mate.health.hostNote)),o(h,c)};f(l,h=>{t.mate.health.hostNote&&h(i)})}o(e,a)};f(Re,e=>{t.mate.health.host.cpu||t.mate.health.host.memory||t.mate.health.host.disk?e(qe):e(Ae,-1)})}m($);var ee=s($,4),Ne=x(ee);{var je=e=>{var a=be();u(l=>d(a,l),[()=>t.mate.projects.join(", ")]),o(e,a)},Le=e=>{var a=Lt();o(e,a)};f(Ne,e=>{t.mate.projects.length?e(je):e(Le,-1)})}m(ee);var me=s(ee,2);{var Se=e=>{var a=St(),l=s(S(a),2),i=v(l,!0);u(()=>d(i,t.mate.home)),o(e,a)};f(me,e=>{t.mate.home&&e(Se)})}var Fe=s(me,2);{var Ce=e=>{var a=Ft(),l=s(S(a),2),i=v(l);u(h=>d(i,`${t.mate.lastReport.text??""}${h??""}`),[()=>t.mate.lastReport.ageSeconds!==null?` (${ve(new Date(t.now-t.mate.lastReport.ageSeconds*1e3).toISOString(),t.now)})`:""]),o(e,a)};f(Fe,e=>{t.mate.lastReport&&e(Ce)})}m(P);var ce=s(P,2);{var He=e=>{var a=Ct(),l=x(a);gt(l,{class:"size-4 text-sea","aria-hidden":"true"});var i=s(l),h=s(i);pt(h,{class:"ml-auto size-3.5"}),m(a),u(()=>d(i,` ${`${t.mate.decisions} ${t.mate.decisions===1?"open question":"open questions"}${t.mate.captainDecisions?`, ${t.mate.captainDecisions} waiting on you`:""}, in Decisions`} `)),o(e,a)};f(ce,e=>{t.mate.decisions&&e(He)})}var te=s(ce,2),ae=x(te),ze=s(x(ae)),De=v(ze,!0);m(ae);var Me=s(ae,2);q(Me,()=>t.mate.inFlight,()=>"Nothing in flight."),m(te);var re=s(te,2),se=x(re),Oe=s(x(se)),Pe=v(Oe,!0);m(se);var Te=s(se,2);q(Te,()=>t.mate.queued,()=>"Nothing queued."),m(re);var oe=s(re,2),ue=s(x(oe),2);{var Ue=e=>{var a=Dt();K(a,21,()=>t.mate.prs,l=>l.url,(l,i)=>{var h=zt(),c=x(h);bt(c,{class:"size-3.5 shrink-0 text-muted-foreground","aria-hidden":"true"});var _=s(c,2),g=v(_,!0),k=s(_,2),R=v(k,!0),p=s(k,2);{var C=j=>{var U=Ht();o(j,U)};f(p,j=>{r(i).landed&&j(C)})}m(h),u(()=>{H(_,"href",r(i).url),d(g,r(i).number?`#${r(i).number}`:r(i).url),d(R,r(i).title)}),o(l,h)}),m(a),o(e,a)},Ee=e=>{var a=Mt();o(e,a)};f(ue,e=>{t.mate.prs.length?e(Ue):e(Ee,-1)})}var We=s(ue,2);{var Ge=e=>{var a=Pt();K(a,21,()=>t.mate.previews,l=>l.taskId,(l,i)=>{var h=Ot(),c=x(h),_=v(c),g=s(c,2),k=v(g);m(h),u((R,p)=>{H(c,"href",`/tasks/${R??""}`),d(_,`Live preview of ${p??""}`),d(k,`(${r(i).url??""})`)},[()=>encodeURIComponent(r(i).taskId),()=>r(i).taskId.slice(0,r(i).taskId.lastIndexOf("@"))]),o(l,h)}),m(a),o(e,a)},Qe=e=>{var a=Tt(),l=v(a,!0);u(()=>d(l,t.mate.previewNote)),o(e,a)};f(We,e=>{t.mate.previews.length?e(Ge):t.mate.previewNote&&e(Qe,1)})}m(oe);var ne=s(oe,2),le=x(ne),Be=s(x(le)),Je=v(Be,!0);m(le);var Ke=s(le,2);q(Ke,()=>t.mate.landed,()=>"Nothing landed that it reports."),m(ne);var _e=s(ne,2);{var Ve=e=>{var a=Ut(),l=v(a);u(i=>d(l,`Firstmate’s summary leaves out ${i??""}.`),[()=>t.mate.omitted.join(", ")]),o(e,a)};f(_e,e=>{t.mate.omitted.length&&e(Ve)})}var xe=s(_e,2),de=x(xe),Xe=s(x(de),2);{var Ye=e=>{var a=Gt(),l=x(a);{var i=c=>{var _=Et(),g=S(_);wt(g,{class:"size-3.5"}),we(),o(c,_)},h=c=>{var _=Wt(),g=S(_);kt(g,{class:"size-3.5"}),we(),o(c,_)};f(l,c=>{r(w)?c(i):c(h,-1)})}m(a),u(()=>a.disabled=r(N)),mt("click",a,M),o(e,a)};f(Xe,e=>{t.mate.peek.available&&e(Ye)})}m(de);var Ze=s(de,2);{var $e=e=>{var a=Qt(),l=v(a);u(()=>d(l,`Not available. ${t.mate.peek.reason??"Its terminal cannot be read."??""}`)),o(e,a)},et=e=>{var a=Bt();o(e,a)},tt=e=>{var a=ge(),l=S(a);{var i=c=>{var _=Jt(),g=S(_),k=v(g,!0),R=s(g,2),p=v(R);u((C,j)=>{d(k,C),d(p,`The last ${r(w).lines.length??""} lines${j??""}. Read-only.`)},[()=>r(w).lines.join(`
|
|
2
2
|
`),()=>r(w).capturedAt?`, ${ve(r(w).capturedAt,t.now)}`:""]),o(c,_)},h=c=>{var _=Kt(),g=v(_,!0);u(()=>{ie(_,1,`mt-1 text-sm ${r(w).offline?"text-warning":"text-muted-foreground"}`),d(g,r(w).reason)}),o(c,_)};f(l,c=>{r(w).available?c(i):c(h,-1)})}o(e,a)},at=e=>{var a=Vt();o(e,a)};f(Ze,e=>{t.mate.peek.available?r(N)&&!r(w)?e(et,1):r(w)?e(tt,2):e(at,-1):e($e)})}m(xe),m(F),u(e=>{H(F,"id",`mate-${t.mate.id??""}`),ie(F,1,`surface scroll-mt-24 border-l-[3px] p-5 sm:p-6 ${r(X)??""}`),H(F,"data-second-mate",t.mate.id),d(Y,t.mate.id),d(z,`${t.mate.where==="remote"?`Remote, on ${t.mate.host??"another host"}`:"On this computer"}
|
|
3
3
|
· ${t.mate.stateLabel??""}`),d(A,`${t.mate.health.text??""}${e??""} `),d(De,t.mate.inFlight.length),d(Pe,t.mate.queued.length),d(Je,t.mate.landed.length)},[()=>t.mate.health.observedAt?` · read ${ve(t.mate.health.observedAt,t.now)}`:""]),o(V,F),Ie()}vt(["click"]);var Zt=n('<p class="mt-3 text-sm text-warning"> </p>'),$t=n('<p class="mt-4 text-sm text-muted-foreground"> </p>'),ea=n('<div class="mt-6 flex flex-col gap-6"></div> <!>',1),ta=n('<p class="surface mt-6 p-5 text-muted-foreground sm:p-6">Firstmate runs no second mates.</p>'),aa=n('<p class="surface mt-6 p-5 text-muted-foreground sm:p-6" aria-busy="true">Reading Firstmate…</p>'),ra=n(`<main class="px-4 py-6 sm:px-6 lg:px-10"><h1 class="text-2xl">Second mates</h1> <p class="mt-1 max-w-3xl text-sm text-muted-foreground">Each second mate runs its own crew, on this computer or another host. This is what Firstmate’s
|
|
4
4
|
last fleet snapshot says of each; their questions are in Decisions.</p> <!> <!></main>`);function fa(V,t){ye(t,!0);const q=J(xt),w=J(()=>r(q)?.secondMates??[]),N=J(()=>r(q)?.secondMatesOmitted??0);var M=ra();_t("94cbpo",b=>{ct(()=>{ut.title="Second mates · Wheelhouse"})});var W=s(x(M),4);{var X=b=>{var I=Zt(),z=v(I,!0);u(()=>d(z,r(q).staleReason)),o(b,I)};f(W,b=>{r(q)?.stale&&r(q).staleReason&&b(X)})}var F=s(W,2);{var O=b=>{var I=ea(),z=S(I);K(z,21,()=>r(w),A=>A.id,(A,D)=>{Yt(A,{get mate(){return r(D)},get now(){return ft.now}})}),m(z);var P=s(z,2);{var T=A=>{var D=$t(),Z=v(D);u(()=>d(Z,`Firstmate’s snapshot leaves out ${r(N)??""} more ${r(N)===1?"second mate":"second mates"}.`)),o(A,D)};f(P,A=>{r(N)&&A(T)})}o(b,I)},G=b=>{var I=ta();o(b,I)},Y=b=>{var I=aa();o(b,I)};f(F,b=>{r(w).length?b(O):r(q)?.collectedAt?b(G,1):b(Y,-1)})}m(M),o(V,M),Ie()}export{fa as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{k as Ze,p as et,l as I,m as me,u as tt,a as v,b as at,q as rt,c as g,g as e,$ as st,i,s as n,r as l,h as b,v as $,o as u,t as m,d,f as ge,n as y,w as F,x as he}from"../chunks/BOY9WARo.js";import{i as x}from"../chunks/DnDesMxN.js";import{h as nt,e as xe,r as fe,b as _e,s as W,a as be}from"../chunks/BRuDnHyc.js";import{p as ot}from"../chunks/
|
|
1
|
+
import"../chunks/DsnmJJEf.js";import{k as Ze,p as et,l as I,m as me,u as tt,a as v,b as at,q as rt,c as g,g as e,$ as st,i,s as n,r as l,h as b,v as $,o as u,t as m,d,f as ge,n as y,w as F,x as he}from"../chunks/BOY9WARo.js";import{i as x}from"../chunks/DnDesMxN.js";import{h as nt,e as xe,r as fe,b as _e,s as W,a as be}from"../chunks/BRuDnHyc.js";import{p as ot}from"../chunks/DQEmyAe4.js";import{A as it}from"../chunks/-8jzdSzV.js";import{S as lt}from"../chunks/D8Hr8rhb.js";import{c as ye}from"../chunks/BXF1nDhR.js";import{B as j}from"../chunks/DqZ9Wm2M.js";import{S as dt}from"../chunks/B2ctrXx5.js";var pt=g('<p class="mt-8 rounded-lg border border-dashed p-6 text-sm text-muted-foreground"> </p>'),ct=g('<span class="truncate text-muted-foreground"> </span>'),vt=g("<p> </p>"),ut=g(`<p>Set, in <code class="text-xs break-all"> </code>, readable by your
|
|
2
2
|
user only. Replace it with <code class="text-xs"> </code>.</p>`),mt=g(`<p>Create the bot (see <a class="text-sea hover:underline" target="_blank" rel="noreferrer"> </a>), then run <code class="text-xs"> </code> in
|
|
3
3
|
a terminal. It asks for the token there; it is never typed into this page.</p>`),gt=g('<p><span class="font-medium"> </span> <span class="text-muted-foreground"> </span></p> <p class="mt-0.5 text-xs text-muted-foreground">Only this account’s direct messages reach Firstmate.</p>',1),ht=g('<p class="text-muted-foreground">Not paired: no one’s messages reach Firstmate.</p>'),xt=g('<div class="mt-3 rounded-md border border-brass/60 bg-background px-4 py-3" aria-live="polite"><p class="text-xs text-muted-foreground">Send this code to the bot in a direct message</p> <p class="tabular mt-1 font-mono text-2xl font-semibold tracking-[0.2em]" data-testid="pairing-code"> </p> <p class="mt-1 text-xs text-muted-foreground"> </p></div>'),we=g('<p class="mt-2 text-xs text-muted-foreground"> </p>'),ft=g('<label class="flex items-start gap-2 text-sm"><input type="checkbox" class="mt-0.5 size-4 accent-[var(--sea)]"/> <span> <span class="block text-xs text-muted-foreground"> </span></span></label>'),_t=g('<p class="border-t px-4 py-3 text-sm text-danger" role="alert"> </p>'),bt=g(`<section class="mt-8 rounded-lg border bg-card"><header class="flex flex-wrap items-center justify-between gap-3 border-b px-4 py-3"><div class="min-w-0"><h2 class="font-display text-lg font-semibold"> </h2> <p class="flex items-center gap-2 text-sm"><span aria-hidden="true"></span> <span class="font-medium"> </span> <!></p></div> <!></header> <div class="divide-y"><!> <div class="grid gap-x-6 gap-y-1 px-4 py-3 sm:grid-cols-[minmax(0,12rem)_minmax(0,1fr)]"><p class="text-sm font-medium">Bot token</p> <div class="min-w-0 text-sm text-muted-foreground"><!></div></div> <div class="grid gap-x-6 gap-y-1 px-4 py-3 sm:grid-cols-[minmax(0,12rem)_minmax(0,1fr)]"><p class="text-sm font-medium">Paired account</p> <div class="min-w-0 text-sm"><!> <!> <!> <div class="mt-3 flex flex-wrap gap-2"><!> <!> <!></div></div></div> <fieldset class="grid gap-x-6 gap-y-1 px-4 py-3 sm:grid-cols-[minmax(0,12rem)_minmax(0,1fr)]"><legend class="sr-only"> </legend> <p class="text-sm font-medium" aria-hidden="true">Alerts sent</p> <div class="grid gap-x-4 gap-y-1.5 sm:grid-cols-2"><!> <label class="flex items-start gap-2 text-sm sm:col-span-2"><input type="checkbox" class="mt-0.5 size-4 accent-[var(--sea)]"/> <span>Titles only<span class="block text-xs text-muted-foreground">Alerts and decisions say only what happened and to which task, without their
|
|
4
4
|
text, question or recommendation.</span></span></label></div></fieldset></div> <!></section>`),yt=g(`<!> <p class="mt-6 max-w-prose text-xs leading-relaxed text-muted-foreground">The gateway runs inside Wheelhouse, so it works only while Wheelhouse runs: for use away
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{o as Qt}from"../chunks/Blj84s6L.js";import{h as b,g as t,v as d,l as H,bA as qe,p as fe,j as L,f as c,a as r,b as ge,i as B,a7 as je,r as I,c as p,s as n,n as de,w as _e,o as ee,t as j,d as E,k as Ot,m as lt,z as Yt,x as It,q as er,$ as tr}from"../chunks/BOY9WARo.js";import{p as S,i as A,r as Pe,s as ve}from"../chunks/DnDesMxN.js";import{g as We,s as Ue,e as st,r as wt,a as ot,c as nt,h as rr}from"../chunks/BRuDnHyc.js";import{i as ar}from"../chunks/D5M74L1e.js";import{p as dt}from"../chunks/BqqZcEbm.js";import{S as sr}from"../chunks/DXt4vIK0.js";import{I as or}from"../chunks/BvCDG8Dd.js";import{c as R}from"../chunks/BV-FSL0u.js";import{b as bt}from"../chunks/CrPP6AgN.js";import{s as ke}from"../chunks/TcIaLKEO.js";import{C as nr,a as Ge,S as Nt,E as Dt,b as ir,g as At,c as Ye,w as ut,P as yt,d as ue,o as lr,e as dr,f as ur,h as He,m as Ee,n as Ke,F as cr,i as vr,D as fr,T as gr,j as kt,k as hr}from"../chunks/DybGBkO1.js";import{B as Se}from"../chunks/DqZ9Wm2M.js";import{c as Ze}from"../chunks/D8Hr8rhb.js";import{X as pr}from"../chunks/BBWR4qW2.js";import{b as Tt}from"../chunks/4VJeJzd5.js";import{h as mr,j as _r,C as Bt,k as Ft,i as zt,n as xr,u as wr,S as br,p as yr,o as kr,E as Pr,c as Cr,g as $r,w as Sr}from"../chunks/IQRNVWsw.js";import{T as et}from"../chunks/DgOhqfdF.js";import{P as Or}from"../chunks/6x5fl0iw.js";import{L as it}from"../chunks/1WRcPxqg.js";import{C as Ir}from"../chunks/CaaP7Cfy.js";import{C as Nr}from"../chunks/DZJnY8Nx.js";import{l as Pt}from"../chunks/Byamhp7O.js";import{a as Dr}from"../chunks/BXF1nDhR.js";import{R as Ar}from"../chunks/DU2mz-vL.js";import{C as Tr}from"../chunks/DdRufa9N.js";const Br=ur({component:"dialog",parts:["content","trigger","overlay","title","description","close","cancel","action"]}),Re=new nr("Dialog.Root | AlertDialog.Root");class ct{static create(e){const i=Re.getOr(null);return Re.set(new ct(e,i))}opts;#e=H(null);get triggerNode(){return t(this.#e)}set triggerNode(e){d(this.#e,e,!0)}#t=H(null);get contentNode(){return t(this.#t)}set contentNode(e){d(this.#t,e,!0)}#r=H(null);get overlayNode(){return t(this.#r)}set overlayNode(e){d(this.#r,e,!0)}#a=H(null);get descriptionNode(){return t(this.#a)}set descriptionNode(e){d(this.#a,e,!0)}#s=H(void 0);get contentId(){return t(this.#s)}set contentId(e){d(this.#s,e,!0)}#o=H(void 0);get titleId(){return t(this.#o)}set titleId(e){d(this.#o,e,!0)}#n=H(void 0);get triggerId(){return t(this.#n)}set triggerId(e){d(this.#n,e,!0)}#i=H(void 0);get descriptionId(){return t(this.#i)}set descriptionId(e){d(this.#i,e,!0)}#l=H(null);get cancelNode(){return t(this.#l)}set cancelNode(e){d(this.#l,e,!0)}#d=H(0);get nestedOpenCount(){return t(this.#d)}set nestedOpenCount(e){d(this.#d,e,!0)}depth;parent;contentPresence;overlayPresence;constructor(e,i){this.opts=e,this.parent=i,this.depth=i?i.depth+1:0,this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.contentPresence=new yt({ref:ue(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new yt({ref:ue(()=>this.overlayNode),open:this.opts.open,enabled:!0}),ut(()=>this.opts.open.current,g=>{this.parent&&(g?this.parent.incrementNested():this.parent.decrementNested())},{lazy:!0}),lr(()=>{this.opts.open.current&&this.parent?.decrementNested()})}handleOpen(){this.opts.open.current||(this.opts.open.current=!0)}handleClose(){this.opts.open.current&&(this.opts.open.current=!1)}getBitsAttr=e=>Br.getAttr(e,this.opts.variant.current);incrementNested(){this.nestedOpenCount++,this.parent?.incrementNested()}decrementNested(){this.nestedOpenCount!==0&&(this.nestedOpenCount--,this.parent?.decrementNested())}#u=b(()=>({"data-state":dr(this.opts.open.current)}));get sharedProps(){return t(this.#u)}set sharedProps(e){d(this.#u,e)}}class vt{static create(e){return new vt(e,Re.get())}opts;root;attachment;constructor(e,i){this.opts=e,this.root=i,this.attachment=Ge(this.opts.ref,g=>{this.root.triggerNode=g,this.root.triggerId=g?.id}),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}onclick(e){this.opts.disabled.current||e.button>0||this.root.handleOpen()}onkeydown(e){this.opts.disabled.current||(e.key===Nt||e.key===Dt)&&(e.preventDefault(),this.root.handleOpen())}#e=b(()=>({id:this.opts.id.current,"aria-haspopup":"dialog","aria-expanded":ir(this.root.opts.open.current),"aria-controls":this.root.contentId,[this.root.getBitsAttr("trigger")]:"",onkeydown:this.onkeydown,onclick:this.onclick,disabled:this.opts.disabled.current?!0:void 0,...this.root.sharedProps,...this.attachment}));get props(){return t(this.#e)}set props(e){d(this.#e,e)}}class ft{static create(e){return new ft(e,Re.get())}opts;root;attachment;constructor(e,i){this.opts=e,this.root=i,this.attachment=Ge(this.opts.ref),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}onclick(e){this.opts.disabled.current||e.button>0||this.root.handleClose()}onkeydown(e){this.opts.disabled.current||(e.key===Nt||e.key===Dt)&&(e.preventDefault(),this.root.handleClose())}#e=b(()=>({id:this.opts.id.current,[this.root.getBitsAttr(this.opts.variant.current)]:"",onclick:this.onclick,onkeydown:this.onkeydown,disabled:this.opts.disabled.current?!0:void 0,tabindex:0,...this.root.sharedProps,...this.attachment}));get props(){return t(this.#e)}set props(e){d(this.#e,e)}}class gt{static create(e){return new gt(e,Re.get())}opts;root;attachment;constructor(e,i){this.opts=e,this.root=i,this.root.titleId=this.opts.id.current,this.attachment=Ge(this.opts.ref),ut.pre(()=>this.opts.id.current,g=>{this.root.titleId=g})}#e=b(()=>({id:this.opts.id.current,role:"heading","aria-level":this.opts.level.current,[this.root.getBitsAttr("title")]:"",...this.root.sharedProps,...this.attachment}));get props(){return t(this.#e)}set props(e){d(this.#e,e)}}class ht{static create(e){return new ht(e,Re.get())}opts;root;attachment;constructor(e,i){this.opts=e,this.root=i,this.root.descriptionId=this.opts.id.current,this.attachment=Ge(this.opts.ref,g=>{this.root.descriptionNode=g}),ut.pre(()=>this.opts.id.current,g=>{this.root.descriptionId=g})}#e=b(()=>({id:this.opts.id.current,[this.root.getBitsAttr("description")]:"",...this.root.sharedProps,...this.attachment}));get props(){return t(this.#e)}set props(e){d(this.#e,e)}}class pt{static create(e){return new pt(e,Re.get())}opts;root;attachment;constructor(e,i){this.opts=e,this.root=i,this.attachment=Ge(this.opts.ref,g=>{this.root.contentNode=g,this.root.contentId=g?.id})}#e=b(()=>({open:this.root.opts.open.current}));get snippetProps(){return t(this.#e)}set snippetProps(e){d(this.#e,e)}#t=b(()=>({id:this.opts.id.current,role:this.root.opts.variant.current==="alert-dialog"?"alertdialog":"dialog","aria-modal":"true","aria-describedby":this.root.descriptionId,"aria-labelledby":this.root.titleId,[this.root.getBitsAttr("content")]:"",style:{pointerEvents:"auto",outline:this.root.opts.variant.current==="alert-dialog"?"none":void 0,"--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount,contain:"layout style"},tabindex:this.root.opts.variant.current==="alert-dialog"?-1:void 0,"data-nested-open":Ye(this.root.nestedOpenCount>0),"data-nested":Ye(this.root.parent!==null),...At(this.root.contentPresence.transitionStatus),...this.root.sharedProps,...this.attachment}));get props(){return t(this.#t)}set props(e){d(this.#t,e)}get shouldRender(){return this.root.contentPresence.shouldRender}}class mt{static create(e){return new mt(e,Re.get())}opts;root;attachment;constructor(e,i){this.opts=e,this.root=i,this.attachment=Ge(this.opts.ref,g=>this.root.overlayNode=g)}#e=b(()=>({open:this.root.opts.open.current}));get snippetProps(){return t(this.#e)}set snippetProps(e){d(this.#e,e)}#t=b(()=>({id:this.opts.id.current,[this.root.getBitsAttr("overlay")]:"",style:{pointerEvents:"auto","--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount},"data-nested-open":Ye(this.root.nestedOpenCount>0),"data-nested":Ye(this.root.parent!==null),...At(this.root.overlayPresence.transitionStatus),...this.root.sharedProps,...this.attachment}));get props(){return t(this.#t)}set props(e){d(this.#t,e)}get shouldRender(){return this.root.overlayPresence.shouldRender}}var Fr=new Set(["$$slots","$$events","$$legacy","id","ref","child","children","level"]),zr=p("<div><!></div>");function Er(y,e){const i=qe();fe(e,!0);let g=S(e,"id",19,()=>He(i)),a=S(e,"ref",15,null),l=S(e,"level",3,2),x=Pe(e,Fr);const u=gt.create({id:ue(()=>g()),level:ue(()=>l()),ref:ue(()=>a(),_=>a(_))}),m=b(()=>Ee(x,u.props));var v=L(),W=c(v);{var U=_=>{var k=L(),T=c(k);ke(T,()=>e.child,()=>({props:t(m)})),r(_,k)},z=_=>{var k=zr();We(k,()=>({...t(m)}));var T=B(k);ke(T,()=>e.children??je),I(k),r(_,k)};A(W,_=>{e.child?_(U):_(z,-1)})}r(y,v),ge()}var jr=new Set(["$$slots","$$events","$$legacy","id","forceMount","child","children","ref"]),Rr=p("<div><!></div>");function Wr(y,e){const i=qe();fe(e,!0);let g=S(e,"id",19,()=>He(i)),a=S(e,"forceMount",3,!1),l=S(e,"ref",15,null),x=Pe(e,jr);const u=mt.create({id:ue(()=>g()),ref:ue(()=>l(),z=>l(z))}),m=b(()=>Ee(x,u.props));var v=L(),W=c(v);{var U=z=>{var _=L(),k=c(_);{var T=se=>{var oe=L(),te=c(oe);{let q=b(()=>({props:Ee(t(m)),...u.snippetProps}));ke(te,()=>e.child,()=>t(q))}r(se,oe)},ie=se=>{var oe=Rr();We(oe,q=>({...q}),[()=>Ee(t(m))]);var te=B(oe);ke(te,()=>e.children??je,()=>u.snippetProps),I(oe),r(se,oe)};A(k,se=>{e.child?se(T):se(ie,-1)})}r(z,_)};A(W,z=>{(u.shouldRender||a())&&z(U)})}r(y,v),ge()}var Ur=new Set(["$$slots","$$events","$$legacy","id","ref","children","child","disabled"]),Mr=p("<button><!></button>");function Kr(y,e){const i=qe();fe(e,!0);let g=S(e,"id",19,()=>He(i)),a=S(e,"ref",15,null),l=S(e,"disabled",3,!1),x=Pe(e,Ur);const u=vt.create({id:ue(()=>g()),ref:ue(()=>a(),_=>a(_)),disabled:ue(()=>!!l())}),m=b(()=>Ee(x,u.props));var v=L(),W=c(v);{var U=_=>{var k=L(),T=c(k);ke(T,()=>e.child,()=>({props:t(m)})),r(_,k)},z=_=>{var k=Mr();We(k,()=>({...t(m)}));var T=B(k);ke(T,()=>e.children??je),I(k),r(_,k)};A(W,_=>{e.child?_(U):_(z,-1)})}r(y,v),ge()}var Lr=new Set(["$$slots","$$events","$$legacy","id","children","child","ref"]),qr=p("<div><!></div>");function Gr(y,e){const i=qe();fe(e,!0);let g=S(e,"id",19,()=>He(i)),a=S(e,"ref",15,null),l=Pe(e,Lr);const x=ht.create({id:ue(()=>g()),ref:ue(()=>a(),z=>a(z))}),u=b(()=>Ee(l,x.props));var m=L(),v=c(m);{var W=z=>{var _=L(),k=c(_);ke(k,()=>e.child,()=>({props:t(u)})),r(z,_)},U=z=>{var _=qr();We(_,()=>({...t(u)}));var k=B(_);ke(k,()=>e.children??je),I(_),r(z,_)};A(v,z=>{e.child?z(W):z(U,-1)})}r(y,m),ge()}function Hr(y,e){fe(e,!0);let i=S(e,"open",15,!1),g=S(e,"onOpenChange",3,Ke),a=S(e,"onOpenChangeComplete",3,Ke);ct.create({variant:ue(()=>"dialog"),open:ue(()=>i(),u=>{i(u),g()(u)}),onOpenChangeComplete:ue(()=>a())});var l=L(),x=c(l);ke(x,()=>e.children??je),r(y,l),ge()}var Zr=new Set(["$$slots","$$events","$$legacy","children","child","id","ref","disabled"]),Vr=p("<button><!></button>");function _t(y,e){const i=qe();fe(e,!0);let g=S(e,"id",19,()=>He(i)),a=S(e,"ref",15,null),l=S(e,"disabled",3,!1),x=Pe(e,Zr);const u=ft.create({variant:ue(()=>"close"),id:ue(()=>g()),ref:ue(()=>a(),_=>a(_)),disabled:ue(()=>!!l())}),m=b(()=>Ee(x,u.props));var v=L(),W=c(v);{var U=_=>{var k=L(),T=c(k);ke(T,()=>e.child,()=>({props:t(m)})),r(_,k)},z=_=>{var k=Vr();We(k,()=>({...t(m)}));var T=B(k);ke(T,()=>e.children??je),I(k),r(_,k)};A(W,_=>{e.child?_(U):_(z,-1)})}r(y,v),ge()}var Xr=new Set(["$$slots","$$events","$$legacy","id","children","child","ref","forceMount","onCloseAutoFocus","onOpenAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","preventOverflowTextSelection","restoreScrollDelay"]),Jr=p("<!> <!>",1),Qr=p("<!> <div><!></div>",1);function Yr(y,e){const i=qe();fe(e,!0);let g=S(e,"id",19,()=>He(i)),a=S(e,"ref",15,null),l=S(e,"forceMount",3,!1),x=S(e,"onCloseAutoFocus",3,Ke),u=S(e,"onOpenAutoFocus",3,Ke),m=S(e,"onEscapeKeydown",3,Ke),v=S(e,"onInteractOutside",3,Ke),W=S(e,"trapFocus",3,!0),U=S(e,"preventScroll",3,!0),z=S(e,"preventOverflowTextSelection",3,!0),_=S(e,"restoreScrollDelay",3,null),k=Pe(e,Xr);const T=pt.create({id:ue(()=>g()),ref:ue(()=>a(),q=>a(q))}),ie=b(()=>Ee(k,T.props));var se=L(),oe=c(se);{var te=q=>{cr(q,{get ref(){return T.opts.ref},loop:!0,get trapFocus(){return W()},get enabled(){return T.root.opts.open.current},get onOpenAutoFocus(){return u()},get onCloseAutoFocus(){return x()},focusScope:(K,N)=>{let V=()=>(N?.()).props;vr(K,ve(()=>t(ie),{get enabled(){return T.root.opts.open.current},get ref(){return T.opts.ref},onEscapeKeydown:we=>{m()(we),!we.defaultPrevented&&T.root.handleClose()},children:(we,Ce)=>{fr(we,ve(()=>t(ie),{get ref(){return T.opts.ref},get enabled(){return T.root.opts.open.current},onInteractOutside:le=>{v()(le),!le.defaultPrevented&&T.root.handleClose()},children:(le,be)=>{gr(le,ve(()=>t(ie),{get preventOverflowTextSelection(){return z()},get ref(){return T.opts.ref},get enabled(){return T.root.opts.open.current},children:(he,Ne)=>{var ye=L(),De=c(ye);{var Oe=$e=>{var Ie=Jr(),X=c(Ie);{var s=w=>{kt(w,{get preventScroll(){return U()},get restoreScrollDelay(){return _()}})};A(X,w=>{T.root.opts.open.current&&w(s)})}var P=n(X,2);{let w=b(()=>({props:Ee(t(ie),V()),...T.snippetProps}));ke(P,()=>e.child,()=>t(w))}r($e,Ie)},Fe=$e=>{var Ie=Qr(),X=c(Ie);kt(X,{get preventScroll(){return U()}});var s=n(X,2);We(s,w=>({...w}),[()=>Ee(t(ie),V())]);var P=B(s);ke(P,()=>e.children??je),I(s),r($e,Ie)};A(De,$e=>{e.child?$e(Oe):$e(Fe,-1)})}r(he,ye)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{focusScope:!0}})};A(oe,q=>{(T.shouldRender||l())&&q(te)})}r(y,se),ge()}var ea=new Set(["$$slots","$$events","$$legacy","ref","type"]);function Xe(y,e){fe(e,!0);let i=S(e,"ref",15,null),g=S(e,"type",3,"button"),a=Pe(e,ea);var l=L(),x=c(l);R(x,()=>_t,(u,m)=>{m(u,ve({"data-slot":"dialog-close",get type(){return g()}},()=>a,{get ref(){return i()},set ref(v){i(v)}}))}),r(y,l),ge()}var ta=new Set(["$$slots","$$events","$$legacy"]);function ra(y,e){let i=Pe(e,ta);var g=L(),a=c(g);R(a,()=>hr,(l,x)=>{x(l,ve(()=>i))}),r(y,g)}var aa=new Set(["$$slots","$$events","$$legacy","ref","class","portalProps","children","showCloseButton"]),sa=p('<!> <span class="sr-only">Close</span>',1),Ct=p("<!> <!>",1);function Et(y,e){fe(e,!0);let i=S(e,"ref",15,null),g=S(e,"showCloseButton",3,!0),a=Pe(e,aa);ra(y,ve(()=>e.portalProps,{children:(l,x)=>{var u=Ct(),m=c(u);R(m,()=>ca,(W,U)=>{U(W,{})});var v=n(m,2);{let W=b(()=>Ze("fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%_-_2rem)] -translate-x-1/2 -translate-y-1/2 gap-6 rounded-xl bg-popover p-6 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-md data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e.class));R(v,()=>Yr,(U,z)=>{z(U,ve({"data-slot":"dialog-content",get class(){return t(W)}},()=>a,{get ref(){return i()},set ref(_){i(_)},children:(_,k)=>{var T=Ct(),ie=c(T);ke(ie,()=>e.children??je);var se=n(ie,2);{var oe=te=>{var q=L(),xe=c(q);{const K=(N,V)=>{Se(N,ve({variant:"ghost",class:"absolute top-4 right-4",size:"icon-sm"},()=>(V?.()).props,{children:(Ce,le)=>{var be=sa(),he=c(be);pr(he,{}),de(2),r(Ce,be)},$$slots:{default:!0}}))};R(xe,()=>_t,(N,V)=>{V(N,{"data-slot":"dialog-close",child:K,$$slots:{child:!0}})})}r(te,q)};A(se,te=>{g()&&te(oe)})}r(_,T)},$$slots:{default:!0}}))})}r(l,u)},$$slots:{default:!0}})),ge()}var oa=new Set(["$$slots","$$events","$$legacy","ref","class"]);function jt(y,e){fe(e,!0);let i=S(e,"ref",15,null),g=Pe(e,oa);var a=L(),l=c(a);{let x=b(()=>Ze("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e.class));R(l,()=>Gr,(u,m)=>{m(u,ve({"data-slot":"dialog-description",get class(){return t(x)}},()=>g,{get ref(){return i()},set ref(v){i(v)}}))})}r(y,a),ge()}var na=new Set(["$$slots","$$events","$$legacy","ref","class","children","showCloseButton"]),ia=p("<div><!> <!></div>");function Le(y,e){fe(e,!0);let i=S(e,"ref",15,null),g=S(e,"showCloseButton",3,!1),a=Pe(e,na);var l=ia();We(l,v=>({"data-slot":"dialog-footer",class:v,...a}),[()=>Ze("flex flex-col-reverse gap-2 gap-2 sm:flex-row sm:justify-end",e.class)]);var x=B(l);ke(x,()=>e.children??je);var u=n(x,2);{var m=v=>{var W=L(),U=c(W);{const z=(_,k)=>{Se(_,ve({variant:"outline"},()=>(k?.()).props,{children:(ie,se)=>{de();var oe=_e("Close");r(ie,oe)},$$slots:{default:!0}}))};R(U,()=>_t,(_,k)=>{k(_,{child:z,$$slots:{child:!0}})})}r(v,W)};A(u,v=>{g()&&v(m)})}I(l),Tt(l,v=>i(v),()=>i()),r(y,l),ge()}var la=new Set(["$$slots","$$events","$$legacy","ref","class","children"]),da=p("<div><!></div>");function Rt(y,e){fe(e,!0);let i=S(e,"ref",15,null),g=Pe(e,la);var a=da();We(a,x=>({"data-slot":"dialog-header",class:x,...g}),[()=>Ze("flex flex-col gap-2",e.class)]);var l=B(a);ke(l,()=>e.children??je),I(a),Tt(a,x=>i(x),()=>i()),r(y,a),ge()}var ua=new Set(["$$slots","$$events","$$legacy","ref","class"]);function ca(y,e){fe(e,!0);let i=S(e,"ref",15,null),g=Pe(e,ua);var a=L(),l=c(a);{let x=b(()=>Ze("fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e.class));R(l,()=>Wr,(u,m)=>{m(u,ve({"data-slot":"dialog-overlay",get class(){return t(x)}},()=>g,{get ref(){return i()},set ref(v){i(v)}}))})}r(y,a),ge()}var va=new Set(["$$slots","$$events","$$legacy","ref","class"]);function Wt(y,e){fe(e,!0);let i=S(e,"ref",15,null),g=Pe(e,va);var a=L(),l=c(a);{let x=b(()=>Ze("leading-none font-medium",e.class));R(l,()=>Er,(u,m)=>{m(u,ve({"data-slot":"dialog-title",get class(){return t(x)}},()=>g,{get ref(){return i()},set ref(v){i(v)}}))})}r(y,a),ge()}var fa=new Set(["$$slots","$$events","$$legacy","ref","type"]);function ga(y,e){fe(e,!0);let i=S(e,"ref",15,null),g=S(e,"type",3,"button"),a=Pe(e,fa);var l=L(),x=c(l);R(x,()=>Kr,(u,m)=>{m(u,ve({"data-slot":"dialog-trigger",get type(){return g()}},()=>a,{get ref(){return i()},set ref(v){i(v)}}))}),r(y,l),ge()}var ha=new Set(["$$slots","$$events","$$legacy","open"]);function Ut(y,e){fe(e,!0);let i=S(e,"open",15,!1),g=Pe(e,ha);var a=L(),l=c(a);R(l,()=>Hr,(x,u)=>{u(x,ve(()=>g,{get open(){return i()},set open(m){i(m)}}))}),r(y,a),ge()}const xt=y=>y.installed?y.settings.filter(e=>e.current===void 0):y.settings,Mt=y=>Object.fromEntries(xt(y).map(e=>[e.key,_r(e.current??e.default)])),Kt=(y,e)=>xt(y).find(i=>i.required&&!e[i.key]?.trim())??null,Lt=y=>Object.fromEntries(Object.entries(y).filter(([,e])=>e.trim()!==""));var pa=p('<p class="mt-0.5 text-xs text-muted-foreground"> </p>'),ma=p('<dt class="text-muted-foreground">Now</dt> <dd class="tabular font-mono"> </dd>',1),_a=p('<span class="font-sans">· <a class="text-sea hover:underline" target="_blank" rel="noreferrer">compare</a></span>'),xa=p('<dt class="text-muted-foreground">Author</dt> <dd> </dd>',1),wa=p('<dt class="text-muted-foreground">Runs</dt> <dd> </dd>',1),ba=p('<dt class="text-muted-foreground">Addresses</dt> <dd> </dd>',1),ya=p('<dt class="text-muted-foreground">Sends</dt> <dd> </dd>',1),ka=p('<fieldset class="grid gap-3"><legend class="mb-1 text-xs font-medium"> </legend> <!> <p class="text-xs text-muted-foreground">Kept in Wheelhouse’s plugins file.</p></fieldset>'),Pa=p("<li> </li>"),Ca=p('<div class="text-xs text-muted-foreground">Wheelhouse restarts to load it, which stops: <ul class="mt-0.5 list-inside list-disc"></ul></div>'),$a=p('<div class="grid gap-4"><div class="rounded-md border bg-card px-4 py-3"><p class="font-medium"> <span class="font-normal text-muted-foreground"> </span></p> <!> <dl class="mt-3 grid grid-cols-[6rem_minmax(0,1fr)] gap-x-3 gap-y-1 text-xs"><dt class="text-muted-foreground">From</dt> <dd class="font-mono break-all"> </dd> <!> <dt class="text-muted-foreground">Commit</dt> <dd class="tabular font-mono"> <!></dd> <!> <dt class="text-muted-foreground">Adds</dt> <dd> </dd> <!> <!> <!> <dt class="text-muted-foreground">On</dt> <dd> </dd></dl></div> <!> <p class="flex items-start gap-2 rounded-md border border-warning/40 bg-warning/10 px-3 py-2 text-xs"><!> <span> </span></p> <!></div>');function qt(y,e){fe(e,!0);let i=S(e,"answers",15),g=S(e,"busy",19,()=>[]);const a=b(()=>xt(e.preview)),l=o=>o.slice(0,12);var x=$a(),u=B(x),m=B(u),v=B(m),W=n(v),U=ee(W);I(m);var z=n(m,2);{var _=o=>{var h=pa(),$=ee(h,!0);j(()=>E($,e.preview.description)),r(o,h)};A(z,o=>{e.preview.description&&o(_)})}var k=n(z,2),T=n(B(k),2),ie=ee(T),se=n(T,2);{var oe=o=>{var h=ma(),$=n(c(h),2),O=ee($);j(C=>E(O,`${e.preview.installed.version??""} · ${C??""}`),[()=>l(e.preview.installed.commit)]),r(o,h)};A(se,o=>{e.preview.installed&&o(oe)})}var te=n(se,4),q=B(te),xe=n(q);{var K=o=>{var h=_a(),$=n(B(h));I(h),j(()=>Ue($,"href",`https://github.com/${e.preview.repository??""}/compare/${e.preview.installed.commit??""}...${e.preview.commit??""}`)),r(o,h)};A(xe,o=>{e.preview.installed&&o(K)})}I(te);var N=n(te,2);{var V=o=>{var h=xa(),$=n(c(h),2),O=ee($,!0);j(()=>E(O,e.preview.author)),r(o,h)};A(N,o=>{e.preview.author&&o(V)})}var we=n(N,4),Ce=ee(we),le=n(we,2);{var be=o=>{var h=wa(),$=n(c(h),2),O=ee($,!0);j(C=>E(O,C),[()=>e.preview.services.join(", ")]),r(o,h)};A(le,o=>{e.preview.services.length&&o(be)})}var he=n(le,2);{var Ne=o=>{var h=ba(),$=n(c(h),2),O=ee($,!0);j(C=>E(O,C),[()=>e.preview.addresses.join("; ")]),r(o,h)};A(he,o=>{e.preview.addresses?.length&&o(Ne)})}var ye=n(he,2);{var De=o=>{var h=ya(),$=n(c(h),2),O=ee($,!0);j(C=>E(O,C),[()=>e.preview.capabilities.join("; ")]),r(o,h)};A(ye,o=>{e.preview.capabilities?.length&&o(De)})}var Oe=n(ye,4),Fe=ee(Oe,!0);I(k),I(u);var $e=n(u,2);{var Ie=o=>{var h=ka(),$=B(h),O=ee($,!0),C=n($,2);mr(C,{get settings(){return t(a)},get answers(){return i()},set answers(F){i(F)}}),de(2),I(h),j(()=>E(O,e.preview.installed?"Its new settings":"Its settings")),r(o,h)};A($e,o=>{t(a).length&&o(Ie)})}var X=n($e,2),s=B(X);et(s,{class:"mt-0.5 size-3.5 shrink-0 text-warning"});var P=n(s,2),w=ee(P);I(X);var f=n(X,2);{var D=o=>{var h=Ca(),$=n(B(h));st($,20,g,O=>O,(O,C)=>{var F=Pa(),ne=ee(F,!0);j(()=>E(ne,C)),r(O,F)}),I($),I(h),r(o,h)};A(f,o=>{g().length&&o(D)})}I(x),j((o,h)=>{E(v,`${e.preview.name??""} `),E(U,`${e.preview.id??""} ${e.preview.version??""}`),E(ie,`${e.preview.repository??""}${e.preview.ref?` (${e.preview.ref})`:""}`),E(q,`${o??""} `),E(Ce,`${h??""}${e.preview.ui?"; a UI bundle":""}`),E(Fe,e.preview.on),E(w,`Its code runs with your permissions, inside Wheelhouse and in its pages. Wheelhouse does not
|
|
1
|
+
import"../chunks/DsnmJJEf.js";import{o as Qt}from"../chunks/Blj84s6L.js";import{h as b,g as t,v as d,l as H,bA as qe,p as fe,j as L,f as c,a as r,b as ge,i as B,a7 as je,r as I,c as p,s as n,n as de,w as _e,o as ee,t as j,d as E,k as Ot,m as lt,z as Yt,x as It,q as er,$ as tr}from"../chunks/BOY9WARo.js";import{p as S,i as A,r as Pe,s as ve}from"../chunks/DnDesMxN.js";import{g as We,s as Ue,e as st,r as wt,a as ot,c as nt,h as rr}from"../chunks/BRuDnHyc.js";import{i as ar}from"../chunks/BBLx2oxZ.js";import{p as dt}from"../chunks/DQEmyAe4.js";import{S as sr}from"../chunks/B2ctrXx5.js";import{I as or}from"../chunks/BvCDG8Dd.js";import{c as R}from"../chunks/BV-FSL0u.js";import{b as bt}from"../chunks/CrPP6AgN.js";import{s as ke}from"../chunks/TcIaLKEO.js";import{C as nr,a as Ge,S as Nt,E as Dt,b as ir,g as At,c as Ye,w as ut,P as yt,d as ue,o as lr,e as dr,f as ur,h as He,m as Ee,n as Ke,F as cr,i as vr,D as fr,T as gr,j as kt,k as hr}from"../chunks/DybGBkO1.js";import{B as Se}from"../chunks/DqZ9Wm2M.js";import{c as Ze}from"../chunks/D8Hr8rhb.js";import{X as pr}from"../chunks/BBWR4qW2.js";import{b as Tt}from"../chunks/4VJeJzd5.js";import{h as mr,j as _r,C as Bt,k as Ft,i as zt,n as xr,u as wr,S as br,p as yr,o as kr,E as Pr,c as Cr,g as $r,w as Sr}from"../chunks/M3zsQDnS.js";import{T as et}from"../chunks/DgOhqfdF.js";import{P as Or}from"../chunks/6x5fl0iw.js";import{L as it}from"../chunks/1WRcPxqg.js";import{C as Ir}from"../chunks/CaaP7Cfy.js";import{C as Nr}from"../chunks/DZJnY8Nx.js";import{l as Pt}from"../chunks/Bl1tMgf8.js";import{a as Dr}from"../chunks/BXF1nDhR.js";import{R as Ar}from"../chunks/DU2mz-vL.js";import{C as Tr}from"../chunks/DdRufa9N.js";const Br=ur({component:"dialog",parts:["content","trigger","overlay","title","description","close","cancel","action"]}),Re=new nr("Dialog.Root | AlertDialog.Root");class ct{static create(e){const i=Re.getOr(null);return Re.set(new ct(e,i))}opts;#e=H(null);get triggerNode(){return t(this.#e)}set triggerNode(e){d(this.#e,e,!0)}#t=H(null);get contentNode(){return t(this.#t)}set contentNode(e){d(this.#t,e,!0)}#r=H(null);get overlayNode(){return t(this.#r)}set overlayNode(e){d(this.#r,e,!0)}#a=H(null);get descriptionNode(){return t(this.#a)}set descriptionNode(e){d(this.#a,e,!0)}#s=H(void 0);get contentId(){return t(this.#s)}set contentId(e){d(this.#s,e,!0)}#o=H(void 0);get titleId(){return t(this.#o)}set titleId(e){d(this.#o,e,!0)}#n=H(void 0);get triggerId(){return t(this.#n)}set triggerId(e){d(this.#n,e,!0)}#i=H(void 0);get descriptionId(){return t(this.#i)}set descriptionId(e){d(this.#i,e,!0)}#l=H(null);get cancelNode(){return t(this.#l)}set cancelNode(e){d(this.#l,e,!0)}#d=H(0);get nestedOpenCount(){return t(this.#d)}set nestedOpenCount(e){d(this.#d,e,!0)}depth;parent;contentPresence;overlayPresence;constructor(e,i){this.opts=e,this.parent=i,this.depth=i?i.depth+1:0,this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.contentPresence=new yt({ref:ue(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new yt({ref:ue(()=>this.overlayNode),open:this.opts.open,enabled:!0}),ut(()=>this.opts.open.current,g=>{this.parent&&(g?this.parent.incrementNested():this.parent.decrementNested())},{lazy:!0}),lr(()=>{this.opts.open.current&&this.parent?.decrementNested()})}handleOpen(){this.opts.open.current||(this.opts.open.current=!0)}handleClose(){this.opts.open.current&&(this.opts.open.current=!1)}getBitsAttr=e=>Br.getAttr(e,this.opts.variant.current);incrementNested(){this.nestedOpenCount++,this.parent?.incrementNested()}decrementNested(){this.nestedOpenCount!==0&&(this.nestedOpenCount--,this.parent?.decrementNested())}#u=b(()=>({"data-state":dr(this.opts.open.current)}));get sharedProps(){return t(this.#u)}set sharedProps(e){d(this.#u,e)}}class vt{static create(e){return new vt(e,Re.get())}opts;root;attachment;constructor(e,i){this.opts=e,this.root=i,this.attachment=Ge(this.opts.ref,g=>{this.root.triggerNode=g,this.root.triggerId=g?.id}),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}onclick(e){this.opts.disabled.current||e.button>0||this.root.handleOpen()}onkeydown(e){this.opts.disabled.current||(e.key===Nt||e.key===Dt)&&(e.preventDefault(),this.root.handleOpen())}#e=b(()=>({id:this.opts.id.current,"aria-haspopup":"dialog","aria-expanded":ir(this.root.opts.open.current),"aria-controls":this.root.contentId,[this.root.getBitsAttr("trigger")]:"",onkeydown:this.onkeydown,onclick:this.onclick,disabled:this.opts.disabled.current?!0:void 0,...this.root.sharedProps,...this.attachment}));get props(){return t(this.#e)}set props(e){d(this.#e,e)}}class ft{static create(e){return new ft(e,Re.get())}opts;root;attachment;constructor(e,i){this.opts=e,this.root=i,this.attachment=Ge(this.opts.ref),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}onclick(e){this.opts.disabled.current||e.button>0||this.root.handleClose()}onkeydown(e){this.opts.disabled.current||(e.key===Nt||e.key===Dt)&&(e.preventDefault(),this.root.handleClose())}#e=b(()=>({id:this.opts.id.current,[this.root.getBitsAttr(this.opts.variant.current)]:"",onclick:this.onclick,onkeydown:this.onkeydown,disabled:this.opts.disabled.current?!0:void 0,tabindex:0,...this.root.sharedProps,...this.attachment}));get props(){return t(this.#e)}set props(e){d(this.#e,e)}}class gt{static create(e){return new gt(e,Re.get())}opts;root;attachment;constructor(e,i){this.opts=e,this.root=i,this.root.titleId=this.opts.id.current,this.attachment=Ge(this.opts.ref),ut.pre(()=>this.opts.id.current,g=>{this.root.titleId=g})}#e=b(()=>({id:this.opts.id.current,role:"heading","aria-level":this.opts.level.current,[this.root.getBitsAttr("title")]:"",...this.root.sharedProps,...this.attachment}));get props(){return t(this.#e)}set props(e){d(this.#e,e)}}class ht{static create(e){return new ht(e,Re.get())}opts;root;attachment;constructor(e,i){this.opts=e,this.root=i,this.root.descriptionId=this.opts.id.current,this.attachment=Ge(this.opts.ref,g=>{this.root.descriptionNode=g}),ut.pre(()=>this.opts.id.current,g=>{this.root.descriptionId=g})}#e=b(()=>({id:this.opts.id.current,[this.root.getBitsAttr("description")]:"",...this.root.sharedProps,...this.attachment}));get props(){return t(this.#e)}set props(e){d(this.#e,e)}}class pt{static create(e){return new pt(e,Re.get())}opts;root;attachment;constructor(e,i){this.opts=e,this.root=i,this.attachment=Ge(this.opts.ref,g=>{this.root.contentNode=g,this.root.contentId=g?.id})}#e=b(()=>({open:this.root.opts.open.current}));get snippetProps(){return t(this.#e)}set snippetProps(e){d(this.#e,e)}#t=b(()=>({id:this.opts.id.current,role:this.root.opts.variant.current==="alert-dialog"?"alertdialog":"dialog","aria-modal":"true","aria-describedby":this.root.descriptionId,"aria-labelledby":this.root.titleId,[this.root.getBitsAttr("content")]:"",style:{pointerEvents:"auto",outline:this.root.opts.variant.current==="alert-dialog"?"none":void 0,"--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount,contain:"layout style"},tabindex:this.root.opts.variant.current==="alert-dialog"?-1:void 0,"data-nested-open":Ye(this.root.nestedOpenCount>0),"data-nested":Ye(this.root.parent!==null),...At(this.root.contentPresence.transitionStatus),...this.root.sharedProps,...this.attachment}));get props(){return t(this.#t)}set props(e){d(this.#t,e)}get shouldRender(){return this.root.contentPresence.shouldRender}}class mt{static create(e){return new mt(e,Re.get())}opts;root;attachment;constructor(e,i){this.opts=e,this.root=i,this.attachment=Ge(this.opts.ref,g=>this.root.overlayNode=g)}#e=b(()=>({open:this.root.opts.open.current}));get snippetProps(){return t(this.#e)}set snippetProps(e){d(this.#e,e)}#t=b(()=>({id:this.opts.id.current,[this.root.getBitsAttr("overlay")]:"",style:{pointerEvents:"auto","--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount},"data-nested-open":Ye(this.root.nestedOpenCount>0),"data-nested":Ye(this.root.parent!==null),...At(this.root.overlayPresence.transitionStatus),...this.root.sharedProps,...this.attachment}));get props(){return t(this.#t)}set props(e){d(this.#t,e)}get shouldRender(){return this.root.overlayPresence.shouldRender}}var Fr=new Set(["$$slots","$$events","$$legacy","id","ref","child","children","level"]),zr=p("<div><!></div>");function Er(y,e){const i=qe();fe(e,!0);let g=S(e,"id",19,()=>He(i)),a=S(e,"ref",15,null),l=S(e,"level",3,2),x=Pe(e,Fr);const u=gt.create({id:ue(()=>g()),level:ue(()=>l()),ref:ue(()=>a(),_=>a(_))}),m=b(()=>Ee(x,u.props));var v=L(),W=c(v);{var U=_=>{var k=L(),T=c(k);ke(T,()=>e.child,()=>({props:t(m)})),r(_,k)},z=_=>{var k=zr();We(k,()=>({...t(m)}));var T=B(k);ke(T,()=>e.children??je),I(k),r(_,k)};A(W,_=>{e.child?_(U):_(z,-1)})}r(y,v),ge()}var jr=new Set(["$$slots","$$events","$$legacy","id","forceMount","child","children","ref"]),Rr=p("<div><!></div>");function Wr(y,e){const i=qe();fe(e,!0);let g=S(e,"id",19,()=>He(i)),a=S(e,"forceMount",3,!1),l=S(e,"ref",15,null),x=Pe(e,jr);const u=mt.create({id:ue(()=>g()),ref:ue(()=>l(),z=>l(z))}),m=b(()=>Ee(x,u.props));var v=L(),W=c(v);{var U=z=>{var _=L(),k=c(_);{var T=se=>{var oe=L(),te=c(oe);{let q=b(()=>({props:Ee(t(m)),...u.snippetProps}));ke(te,()=>e.child,()=>t(q))}r(se,oe)},ie=se=>{var oe=Rr();We(oe,q=>({...q}),[()=>Ee(t(m))]);var te=B(oe);ke(te,()=>e.children??je,()=>u.snippetProps),I(oe),r(se,oe)};A(k,se=>{e.child?se(T):se(ie,-1)})}r(z,_)};A(W,z=>{(u.shouldRender||a())&&z(U)})}r(y,v),ge()}var Ur=new Set(["$$slots","$$events","$$legacy","id","ref","children","child","disabled"]),Mr=p("<button><!></button>");function Kr(y,e){const i=qe();fe(e,!0);let g=S(e,"id",19,()=>He(i)),a=S(e,"ref",15,null),l=S(e,"disabled",3,!1),x=Pe(e,Ur);const u=vt.create({id:ue(()=>g()),ref:ue(()=>a(),_=>a(_)),disabled:ue(()=>!!l())}),m=b(()=>Ee(x,u.props));var v=L(),W=c(v);{var U=_=>{var k=L(),T=c(k);ke(T,()=>e.child,()=>({props:t(m)})),r(_,k)},z=_=>{var k=Mr();We(k,()=>({...t(m)}));var T=B(k);ke(T,()=>e.children??je),I(k),r(_,k)};A(W,_=>{e.child?_(U):_(z,-1)})}r(y,v),ge()}var Lr=new Set(["$$slots","$$events","$$legacy","id","children","child","ref"]),qr=p("<div><!></div>");function Gr(y,e){const i=qe();fe(e,!0);let g=S(e,"id",19,()=>He(i)),a=S(e,"ref",15,null),l=Pe(e,Lr);const x=ht.create({id:ue(()=>g()),ref:ue(()=>a(),z=>a(z))}),u=b(()=>Ee(l,x.props));var m=L(),v=c(m);{var W=z=>{var _=L(),k=c(_);ke(k,()=>e.child,()=>({props:t(u)})),r(z,_)},U=z=>{var _=qr();We(_,()=>({...t(u)}));var k=B(_);ke(k,()=>e.children??je),I(_),r(z,_)};A(v,z=>{e.child?z(W):z(U,-1)})}r(y,m),ge()}function Hr(y,e){fe(e,!0);let i=S(e,"open",15,!1),g=S(e,"onOpenChange",3,Ke),a=S(e,"onOpenChangeComplete",3,Ke);ct.create({variant:ue(()=>"dialog"),open:ue(()=>i(),u=>{i(u),g()(u)}),onOpenChangeComplete:ue(()=>a())});var l=L(),x=c(l);ke(x,()=>e.children??je),r(y,l),ge()}var Zr=new Set(["$$slots","$$events","$$legacy","children","child","id","ref","disabled"]),Vr=p("<button><!></button>");function _t(y,e){const i=qe();fe(e,!0);let g=S(e,"id",19,()=>He(i)),a=S(e,"ref",15,null),l=S(e,"disabled",3,!1),x=Pe(e,Zr);const u=ft.create({variant:ue(()=>"close"),id:ue(()=>g()),ref:ue(()=>a(),_=>a(_)),disabled:ue(()=>!!l())}),m=b(()=>Ee(x,u.props));var v=L(),W=c(v);{var U=_=>{var k=L(),T=c(k);ke(T,()=>e.child,()=>({props:t(m)})),r(_,k)},z=_=>{var k=Vr();We(k,()=>({...t(m)}));var T=B(k);ke(T,()=>e.children??je),I(k),r(_,k)};A(W,_=>{e.child?_(U):_(z,-1)})}r(y,v),ge()}var Xr=new Set(["$$slots","$$events","$$legacy","id","children","child","ref","forceMount","onCloseAutoFocus","onOpenAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","preventOverflowTextSelection","restoreScrollDelay"]),Jr=p("<!> <!>",1),Qr=p("<!> <div><!></div>",1);function Yr(y,e){const i=qe();fe(e,!0);let g=S(e,"id",19,()=>He(i)),a=S(e,"ref",15,null),l=S(e,"forceMount",3,!1),x=S(e,"onCloseAutoFocus",3,Ke),u=S(e,"onOpenAutoFocus",3,Ke),m=S(e,"onEscapeKeydown",3,Ke),v=S(e,"onInteractOutside",3,Ke),W=S(e,"trapFocus",3,!0),U=S(e,"preventScroll",3,!0),z=S(e,"preventOverflowTextSelection",3,!0),_=S(e,"restoreScrollDelay",3,null),k=Pe(e,Xr);const T=pt.create({id:ue(()=>g()),ref:ue(()=>a(),q=>a(q))}),ie=b(()=>Ee(k,T.props));var se=L(),oe=c(se);{var te=q=>{cr(q,{get ref(){return T.opts.ref},loop:!0,get trapFocus(){return W()},get enabled(){return T.root.opts.open.current},get onOpenAutoFocus(){return u()},get onCloseAutoFocus(){return x()},focusScope:(K,N)=>{let V=()=>(N?.()).props;vr(K,ve(()=>t(ie),{get enabled(){return T.root.opts.open.current},get ref(){return T.opts.ref},onEscapeKeydown:we=>{m()(we),!we.defaultPrevented&&T.root.handleClose()},children:(we,Ce)=>{fr(we,ve(()=>t(ie),{get ref(){return T.opts.ref},get enabled(){return T.root.opts.open.current},onInteractOutside:le=>{v()(le),!le.defaultPrevented&&T.root.handleClose()},children:(le,be)=>{gr(le,ve(()=>t(ie),{get preventOverflowTextSelection(){return z()},get ref(){return T.opts.ref},get enabled(){return T.root.opts.open.current},children:(he,Ne)=>{var ye=L(),De=c(ye);{var Oe=$e=>{var Ie=Jr(),X=c(Ie);{var s=w=>{kt(w,{get preventScroll(){return U()},get restoreScrollDelay(){return _()}})};A(X,w=>{T.root.opts.open.current&&w(s)})}var P=n(X,2);{let w=b(()=>({props:Ee(t(ie),V()),...T.snippetProps}));ke(P,()=>e.child,()=>t(w))}r($e,Ie)},Fe=$e=>{var Ie=Qr(),X=c(Ie);kt(X,{get preventScroll(){return U()}});var s=n(X,2);We(s,w=>({...w}),[()=>Ee(t(ie),V())]);var P=B(s);ke(P,()=>e.children??je),I(s),r($e,Ie)};A(De,$e=>{e.child?$e(Oe):$e(Fe,-1)})}r(he,ye)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{focusScope:!0}})};A(oe,q=>{(T.shouldRender||l())&&q(te)})}r(y,se),ge()}var ea=new Set(["$$slots","$$events","$$legacy","ref","type"]);function Xe(y,e){fe(e,!0);let i=S(e,"ref",15,null),g=S(e,"type",3,"button"),a=Pe(e,ea);var l=L(),x=c(l);R(x,()=>_t,(u,m)=>{m(u,ve({"data-slot":"dialog-close",get type(){return g()}},()=>a,{get ref(){return i()},set ref(v){i(v)}}))}),r(y,l),ge()}var ta=new Set(["$$slots","$$events","$$legacy"]);function ra(y,e){let i=Pe(e,ta);var g=L(),a=c(g);R(a,()=>hr,(l,x)=>{x(l,ve(()=>i))}),r(y,g)}var aa=new Set(["$$slots","$$events","$$legacy","ref","class","portalProps","children","showCloseButton"]),sa=p('<!> <span class="sr-only">Close</span>',1),Ct=p("<!> <!>",1);function Et(y,e){fe(e,!0);let i=S(e,"ref",15,null),g=S(e,"showCloseButton",3,!0),a=Pe(e,aa);ra(y,ve(()=>e.portalProps,{children:(l,x)=>{var u=Ct(),m=c(u);R(m,()=>ca,(W,U)=>{U(W,{})});var v=n(m,2);{let W=b(()=>Ze("fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%_-_2rem)] -translate-x-1/2 -translate-y-1/2 gap-6 rounded-xl bg-popover p-6 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-md data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e.class));R(v,()=>Yr,(U,z)=>{z(U,ve({"data-slot":"dialog-content",get class(){return t(W)}},()=>a,{get ref(){return i()},set ref(_){i(_)},children:(_,k)=>{var T=Ct(),ie=c(T);ke(ie,()=>e.children??je);var se=n(ie,2);{var oe=te=>{var q=L(),xe=c(q);{const K=(N,V)=>{Se(N,ve({variant:"ghost",class:"absolute top-4 right-4",size:"icon-sm"},()=>(V?.()).props,{children:(Ce,le)=>{var be=sa(),he=c(be);pr(he,{}),de(2),r(Ce,be)},$$slots:{default:!0}}))};R(xe,()=>_t,(N,V)=>{V(N,{"data-slot":"dialog-close",child:K,$$slots:{child:!0}})})}r(te,q)};A(se,te=>{g()&&te(oe)})}r(_,T)},$$slots:{default:!0}}))})}r(l,u)},$$slots:{default:!0}})),ge()}var oa=new Set(["$$slots","$$events","$$legacy","ref","class"]);function jt(y,e){fe(e,!0);let i=S(e,"ref",15,null),g=Pe(e,oa);var a=L(),l=c(a);{let x=b(()=>Ze("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e.class));R(l,()=>Gr,(u,m)=>{m(u,ve({"data-slot":"dialog-description",get class(){return t(x)}},()=>g,{get ref(){return i()},set ref(v){i(v)}}))})}r(y,a),ge()}var na=new Set(["$$slots","$$events","$$legacy","ref","class","children","showCloseButton"]),ia=p("<div><!> <!></div>");function Le(y,e){fe(e,!0);let i=S(e,"ref",15,null),g=S(e,"showCloseButton",3,!1),a=Pe(e,na);var l=ia();We(l,v=>({"data-slot":"dialog-footer",class:v,...a}),[()=>Ze("flex flex-col-reverse gap-2 gap-2 sm:flex-row sm:justify-end",e.class)]);var x=B(l);ke(x,()=>e.children??je);var u=n(x,2);{var m=v=>{var W=L(),U=c(W);{const z=(_,k)=>{Se(_,ve({variant:"outline"},()=>(k?.()).props,{children:(ie,se)=>{de();var oe=_e("Close");r(ie,oe)},$$slots:{default:!0}}))};R(U,()=>_t,(_,k)=>{k(_,{child:z,$$slots:{child:!0}})})}r(v,W)};A(u,v=>{g()&&v(m)})}I(l),Tt(l,v=>i(v),()=>i()),r(y,l),ge()}var la=new Set(["$$slots","$$events","$$legacy","ref","class","children"]),da=p("<div><!></div>");function Rt(y,e){fe(e,!0);let i=S(e,"ref",15,null),g=Pe(e,la);var a=da();We(a,x=>({"data-slot":"dialog-header",class:x,...g}),[()=>Ze("flex flex-col gap-2",e.class)]);var l=B(a);ke(l,()=>e.children??je),I(a),Tt(a,x=>i(x),()=>i()),r(y,a),ge()}var ua=new Set(["$$slots","$$events","$$legacy","ref","class"]);function ca(y,e){fe(e,!0);let i=S(e,"ref",15,null),g=Pe(e,ua);var a=L(),l=c(a);{let x=b(()=>Ze("fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e.class));R(l,()=>Wr,(u,m)=>{m(u,ve({"data-slot":"dialog-overlay",get class(){return t(x)}},()=>g,{get ref(){return i()},set ref(v){i(v)}}))})}r(y,a),ge()}var va=new Set(["$$slots","$$events","$$legacy","ref","class"]);function Wt(y,e){fe(e,!0);let i=S(e,"ref",15,null),g=Pe(e,va);var a=L(),l=c(a);{let x=b(()=>Ze("leading-none font-medium",e.class));R(l,()=>Er,(u,m)=>{m(u,ve({"data-slot":"dialog-title",get class(){return t(x)}},()=>g,{get ref(){return i()},set ref(v){i(v)}}))})}r(y,a),ge()}var fa=new Set(["$$slots","$$events","$$legacy","ref","type"]);function ga(y,e){fe(e,!0);let i=S(e,"ref",15,null),g=S(e,"type",3,"button"),a=Pe(e,fa);var l=L(),x=c(l);R(x,()=>Kr,(u,m)=>{m(u,ve({"data-slot":"dialog-trigger",get type(){return g()}},()=>a,{get ref(){return i()},set ref(v){i(v)}}))}),r(y,l),ge()}var ha=new Set(["$$slots","$$events","$$legacy","open"]);function Ut(y,e){fe(e,!0);let i=S(e,"open",15,!1),g=Pe(e,ha);var a=L(),l=c(a);R(l,()=>Hr,(x,u)=>{u(x,ve(()=>g,{get open(){return i()},set open(m){i(m)}}))}),r(y,a),ge()}const xt=y=>y.installed?y.settings.filter(e=>e.current===void 0):y.settings,Mt=y=>Object.fromEntries(xt(y).map(e=>[e.key,_r(e.current??e.default)])),Kt=(y,e)=>xt(y).find(i=>i.required&&!e[i.key]?.trim())??null,Lt=y=>Object.fromEntries(Object.entries(y).filter(([,e])=>e.trim()!==""));var pa=p('<p class="mt-0.5 text-xs text-muted-foreground"> </p>'),ma=p('<dt class="text-muted-foreground">Now</dt> <dd class="tabular font-mono"> </dd>',1),_a=p('<span class="font-sans">· <a class="text-sea hover:underline" target="_blank" rel="noreferrer">compare</a></span>'),xa=p('<dt class="text-muted-foreground">Author</dt> <dd> </dd>',1),wa=p('<dt class="text-muted-foreground">Runs</dt> <dd> </dd>',1),ba=p('<dt class="text-muted-foreground">Addresses</dt> <dd> </dd>',1),ya=p('<dt class="text-muted-foreground">Sends</dt> <dd> </dd>',1),ka=p('<fieldset class="grid gap-3"><legend class="mb-1 text-xs font-medium"> </legend> <!> <p class="text-xs text-muted-foreground">Kept in Wheelhouse’s plugins file.</p></fieldset>'),Pa=p("<li> </li>"),Ca=p('<div class="text-xs text-muted-foreground">Wheelhouse restarts to load it, which stops: <ul class="mt-0.5 list-inside list-disc"></ul></div>'),$a=p('<div class="grid gap-4"><div class="rounded-md border bg-card px-4 py-3"><p class="font-medium"> <span class="font-normal text-muted-foreground"> </span></p> <!> <dl class="mt-3 grid grid-cols-[6rem_minmax(0,1fr)] gap-x-3 gap-y-1 text-xs"><dt class="text-muted-foreground">From</dt> <dd class="font-mono break-all"> </dd> <!> <dt class="text-muted-foreground">Commit</dt> <dd class="tabular font-mono"> <!></dd> <!> <dt class="text-muted-foreground">Adds</dt> <dd> </dd> <!> <!> <!> <dt class="text-muted-foreground">On</dt> <dd> </dd></dl></div> <!> <p class="flex items-start gap-2 rounded-md border border-warning/40 bg-warning/10 px-3 py-2 text-xs"><!> <span> </span></p> <!></div>');function qt(y,e){fe(e,!0);let i=S(e,"answers",15),g=S(e,"busy",19,()=>[]);const a=b(()=>xt(e.preview)),l=o=>o.slice(0,12);var x=$a(),u=B(x),m=B(u),v=B(m),W=n(v),U=ee(W);I(m);var z=n(m,2);{var _=o=>{var h=pa(),$=ee(h,!0);j(()=>E($,e.preview.description)),r(o,h)};A(z,o=>{e.preview.description&&o(_)})}var k=n(z,2),T=n(B(k),2),ie=ee(T),se=n(T,2);{var oe=o=>{var h=ma(),$=n(c(h),2),O=ee($);j(C=>E(O,`${e.preview.installed.version??""} · ${C??""}`),[()=>l(e.preview.installed.commit)]),r(o,h)};A(se,o=>{e.preview.installed&&o(oe)})}var te=n(se,4),q=B(te),xe=n(q);{var K=o=>{var h=_a(),$=n(B(h));I(h),j(()=>Ue($,"href",`https://github.com/${e.preview.repository??""}/compare/${e.preview.installed.commit??""}...${e.preview.commit??""}`)),r(o,h)};A(xe,o=>{e.preview.installed&&o(K)})}I(te);var N=n(te,2);{var V=o=>{var h=xa(),$=n(c(h),2),O=ee($,!0);j(()=>E(O,e.preview.author)),r(o,h)};A(N,o=>{e.preview.author&&o(V)})}var we=n(N,4),Ce=ee(we),le=n(we,2);{var be=o=>{var h=wa(),$=n(c(h),2),O=ee($,!0);j(C=>E(O,C),[()=>e.preview.services.join(", ")]),r(o,h)};A(le,o=>{e.preview.services.length&&o(be)})}var he=n(le,2);{var Ne=o=>{var h=ba(),$=n(c(h),2),O=ee($,!0);j(C=>E(O,C),[()=>e.preview.addresses.join("; ")]),r(o,h)};A(he,o=>{e.preview.addresses?.length&&o(Ne)})}var ye=n(he,2);{var De=o=>{var h=ya(),$=n(c(h),2),O=ee($,!0);j(C=>E(O,C),[()=>e.preview.capabilities.join("; ")]),r(o,h)};A(ye,o=>{e.preview.capabilities?.length&&o(De)})}var Oe=n(ye,4),Fe=ee(Oe,!0);I(k),I(u);var $e=n(u,2);{var Ie=o=>{var h=ka(),$=B(h),O=ee($,!0),C=n($,2);mr(C,{get settings(){return t(a)},get answers(){return i()},set answers(F){i(F)}}),de(2),I(h),j(()=>E(O,e.preview.installed?"Its new settings":"Its settings")),r(o,h)};A($e,o=>{t(a).length&&o(Ie)})}var X=n($e,2),s=B(X);et(s,{class:"mt-0.5 size-3.5 shrink-0 text-warning"});var P=n(s,2),w=ee(P);I(X);var f=n(X,2);{var D=o=>{var h=Ca(),$=n(B(h));st($,20,g,O=>O,(O,C)=>{var F=Pa(),ne=ee(F,!0);j(()=>E(ne,C)),r(O,F)}),I($),I(h),r(o,h)};A(f,o=>{g().length&&o(D)})}I(x),j((o,h)=>{E(v,`${e.preview.name??""} `),E(U,`${e.preview.id??""} ${e.preview.version??""}`),E(ie,`${e.preview.repository??""}${e.preview.ref?` (${e.preview.ref})`:""}`),E(q,`${o??""} `),E(Ce,`${h??""}${e.preview.ui?"; a UI bundle":""}`),E(Fe,e.preview.on),E(w,`Its code runs with your permissions, inside Wheelhouse and in its pages. Wheelhouse does not
|
|
2
2
|
sandbox it. ${e.preview.installed?"Update":"Install"} only plugins you trust.`)},[()=>l(e.preview.commit),()=>e.preview.slots.join(", ")||"nothing to the pages"]),r(y,x),ge()}var Sa=p("<!>Install plugin",1),Ve=p("<!> <!>",1),Oa=p('<p class="flex items-start gap-2 rounded-md border border-danger/40 px-3 py-2 text-xs text-danger" role="alert"><!> </p>'),Ia=p("<!>Fetching…",1),Na=p('<form class="grid gap-4" id="install-plugin-form"><label class="grid gap-1"><span class="text-xs font-medium">Repository</span> <input name="repository" placeholder="org/repo" autocomplete="off" spellcheck="false"/> <span class="text-xs text-muted-foreground">On github.com, such as chrisjowen/improve.</span></label> <label class="grid gap-1"><span class="text-xs font-medium">Version <span class="font-normal text-muted-foreground">(optional)</span></span> <input name="ref" placeholder="tag, branch or commit" autocomplete="off" spellcheck="false"/> <span class="text-xs text-muted-foreground">Leave it empty for the default branch. A tag keeps it on that release.</span></label> <!></form> <!>',1),Da=p('<p class="text-xs text-danger" role="alert"> </p>'),$t=p("<!> <!> <!>",1),Aa=p("<p> </p>");function Ta(y,e){fe(e,!0);let i=S(e,"busy",19,()=>[]),g=H(!1),a=H("form"),l=H(""),x=H(""),u=H(null),m=H(null),v=H(lt({}));const W=b(()=>/^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/.test(t(l).trim())),U=b(()=>t(m)?Kt(t(m),t(v)):null),z=()=>dt.data.sessionToken,_="h-9 rounded-md border border-input bg-background px-2.5 font-mono text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring";function k(){d(a,"form"),d(u,null),d(m,null)}async function T(te){if(te.preventDefault(),!t(W)||t(a)==="looking")return;d(a,"looking"),d(u,null);const q=await Ft({repo:t(l).trim(),ref:t(x).trim()||null},z());if(!q.ok){d(u,q.error,!0),d(a,"form");return}d(m,q.value,!0),d(v,Mt(q.value),!0),d(a,"review")}async function ie(){if(!t(m)||t(U))return;d(a,"saving"),d(u,null);const te=zt(),q=await xr(t(m),Lt(t(v)),z());if(!q.ok){d(u,q.error,!0),d(a,"review");return}d(a,"restarting"),d(a,await te?"done":"slow",!0)}var se=L(),oe=c(se);R(oe,()=>Ut,(te,q)=>{q(te,{onOpenChange:xe=>{xe&&(t(a)==="done"||t(a)==="slow")&&(d(l,""),d(x,""),k())},get open(){return t(g)},set open(xe){d(g,xe,!0)},children:(xe,K)=>{var N=Ve(),V=c(N);{const Ce=(le,be)=>{Se(le,ve(()=>(be?.()).props,{variant:"outline",size:"sm",children:(Ne,ye)=>{var De=Sa(),Oe=c(De);Or(Oe,{}),de(),r(Ne,De)},$$slots:{default:!0}}))};R(V,()=>ga,(le,be)=>{be(le,{child:Ce,$$slots:{child:!0}})})}var we=n(V,2);{let Ce=b(()=>t(a)==="saving"||t(a)==="restarting"?"ignore":"close");R(we,()=>Et,(le,be)=>{be(le,{class:"max-h-[calc(100dvh-2rem)] overflow-y-auto sm:max-w-lg",get interactOutsideBehavior(){return t(Ce)},children:(he,Ne)=>{var ye=Ve(),De=c(ye);R(De,()=>Rt,(X,s)=>{s(X,{children:(P,w)=>{var f=Ve(),D=c(f);R(D,()=>Wt,(h,$)=>{$(h,{class:"font-display text-lg",children:(O,C)=>{de();var F=_e("Install a plugin from GitHub");r(O,F)},$$slots:{default:!0}})});var o=n(D,2);R(o,()=>jt,(h,$)=>{$(h,{children:(O,C)=>{var F=L(),ne=c(F);{var J=Q=>{var re=_e("Check what it is and where it comes from before you install it.");r(Q,re)},Z=Q=>{var re=_e(`Wheelhouse fetches the repository, pins the exact commit and shows you its manifest first.
|
|
3
3
|
Nothing runs until you install it.`);r(Q,re)};A(ne,Q=>{t(a)==="review"?Q(J):Q(Z,-1)})}r(O,F)},$$slots:{default:!0}})}),r(P,f)},$$slots:{default:!0}})});var Oe=n(De,2);{var Fe=X=>{var s=Na(),P=c(s),w=B(P),f=n(B(w),2);wt(f),ot(f,1,nt(_)),de(2),I(w);var D=n(w,2),o=n(B(D),2);wt(o),ot(o,1,nt(_)),de(2),I(D);var h=n(D,2);{var $=C=>{var F=Oa(),ne=B(F);et(ne,{class:"mt-0.5 size-3.5 shrink-0"});var J=n(ne,1,!0);I(F),j(()=>E(J,t(u))),r(C,F)};A(h,C=>{t(u)&&C($)})}I(P);var O=n(P,2);R(O,()=>Le,(C,F)=>{F(C,{children:(ne,J)=>{var Z=Ve(),Q=c(Z);{const Y=(ae,ce)=>{Se(ae,ve(()=>(ce?.()).props,{variant:"ghost",children:(M,G)=>{de();var pe=_e("Cancel");r(M,pe)},$$slots:{default:!0}}))};R(Q,()=>Xe,(ae,ce)=>{ce(ae,{child:Y,$$slots:{child:!0}})})}var re=n(Q,2);{let Y=b(()=>!t(W)||t(a)==="looking");Se(re,{type:"submit",form:"install-plugin-form",get disabled(){return t(Y)},children:(ae,ce)=>{var Ae=L(),M=c(Ae);{var G=me=>{var Te=Ia(),Be=c(Te);it(Be,{class:"animate-spin"}),de(),r(me,Te)},pe=me=>{var Te=_e("Look it up");r(me,Te)};A(M,me=>{t(a)==="looking"?me(G):me(pe,-1)})}r(ae,Ae)},$$slots:{default:!0}})}r(ne,Z)},$$slots:{default:!0}})}),Yt("submit",P,T),It("input",f,()=>d(u,null)),bt(f,()=>t(l),C=>d(l,C)),bt(o,()=>t(x),C=>d(x,C)),r(X,s)},$e=X=>{var s=$t(),P=c(s);qt(P,{get preview(){return t(m)},get busy(){return i()},get answers(){return t(v)},set answers(o){d(v,o,!0)}});var w=n(P,2);{var f=o=>{var h=Da(),$=ee(h,!0);j(()=>E($,t(u))),r(o,h)};A(w,o=>{t(u)&&o(f)})}var D=n(w,2);R(D,()=>Le,(o,h)=>{h(o,{children:($,O)=>{var C=Ve(),F=c(C);Se(F,{variant:"ghost",onclick:k,children:(J,Z)=>{de();var Q=_e("Back");r(J,Q)},$$slots:{default:!0}});var ne=n(F,2);{let J=b(()=>!!t(U)),Z=b(()=>t(U)?`${t(U).title} is needed`:void 0);Se(ne,{onclick:ie,get disabled(){return t(J)},get title(){return t(Z)},children:(Q,re)=>{de();var Y=_e("Install and restart");r(Q,Y)},$$slots:{default:!0}})}r($,C)},$$slots:{default:!0}})}),r(X,s)},Ie=X=>{var s=$t(),P=c(s);{let o=b(()=>t(m).id),h=b(()=>t(m).commit.slice(0,7)),$=b(()=>t(a)==="saving"||t(a)==="restarting"||t(a)==="done"||t(a)==="slow"?t(a):"saving");Bt(P,{get label(){return`Install ${t(o)??""} at ${t(h)??""}`},get phase(){return t($)}})}var w=n(P,2);{var f=o=>{var h=Aa(),$=ee(h);j(()=>E($,`${t(m).name??""}
|
|
4
4
|
${t(m).version??""} is installed and Wheelhouse restarted. Its row shows whether it loaded.`)),r(o,h)};A(w,o=>{t(a)==="done"&&o(f)})}var D=n(w,2);R(D,()=>Le,(o,h)=>{h(o,{children:($,O)=>{var C=L(),F=c(C);{const ne=(J,Z)=>{let Q=()=>(Z?.()).props;{let re=b(()=>t(a)==="saving"||t(a)==="restarting");Se(J,ve(Q,{get disabled(){return t(re)},children:(Y,ae)=>{de();var ce=_e("Done");r(Y,ce)},$$slots:{default:!0}}))}};R(F,()=>Xe,(J,Z)=>{Z(J,{child:ne,$$slots:{child:!0}})})}r($,C)},$$slots:{default:!0}})}),r(X,s)};A(Oe,X=>{t(a)==="form"||t(a)==="looking"?X(Fe):t(a)==="review"&&t(m)?X($e,1):t(m)&&X(Ie,2)})}r(he,ye)},$$slots:{default:!0}})})}r(xe,N)},$$slots:{default:!0}})}),r(y,se),ge()}Ot(["input"]);var Ba=p('<span class="flex items-center gap-1.5 text-muted-foreground"><!>Checking…</span>'),Fa=p('<span class="flex items-center gap-1.5 text-muted-foreground"><!>Up to date</span>'),za=p('<span class="text-muted-foreground" title="Installed at a commit, so it is not checked">Pinned to a commit</span>'),Ea=p('<span class="flex items-center gap-1.5 text-muted-foreground"><!>Could not check</span>'),ja=p("<!> ",1),Ra=p('<span class="text-sea"> </span> <!>',1),at=p("<!> <!>",1),Wa=p('<p class="flex items-center gap-2 text-muted-foreground"><!> </p>'),Ua=p('<p class="flex items-start gap-2 text-xs text-danger" role="alert"><!> </p> <!>',1),Ma=p('<p class="text-xs text-danger" role="alert"> </p>'),St=p("<!> <!> <!>",1),Ka=p("<p> </p>"),La=p('<div class="flex flex-wrap items-center justify-end gap-2 text-xs sm:min-w-48"><!></div> <!>',1);function qa(y,e){fe(e,!0);let i=S(e,"checking",3,!1),g=S(e,"busy",19,()=>[]),a=H(!1),l=H("looking"),x=H(null),u=H(null),m=H(lt({}));const v=b(()=>t(u)?Kt(t(u),t(m)):null),W=()=>dt.data.sessionToken;async function U(){d(a,!0),d(l,"looking"),d(x,null),d(u,null);const K=e.update.state==="newer-tag"?e.update.latest?.ref??null:null,N=await Ft({id:e.update.id,ref:K},W());if(!N.ok){d(x,N.error,!0),d(l,"failed");return}d(u,N.value,!0),d(m,Mt(N.value),!0),d(l,"review")}async function z(){if(!t(u)||t(v))return;d(l,"saving"),d(x,null);const K=zt(),N=await wr(t(u),Lt(t(m)),W());if(!N.ok){d(x,N.error,!0),d(l,"review");return}d(l,"restarting"),d(l,await K?"done":"slow",!0)}var _=La(),k=c(_),T=B(k);{var ie=K=>{var N=Ba(),V=B(N);it(V,{class:"size-3.5 animate-spin"}),de(),I(N),r(K,N)},se=K=>{var N=Fa(),V=B(N);Ir(V,{class:"size-3.5 text-success"}),de(),I(N),r(K,N)},oe=K=>{var N=za();r(K,N)},te=K=>{var N=Ea(),V=B(N);et(V,{class:"size-3.5 text-warning"}),de(),I(N),j(()=>Ue(N,"title",e.update.reason??void 0)),r(K,N)},q=K=>{var N=Ra(),V=c(N),we=ee(V,!0),Ce=n(V,2);Se(Ce,{variant:"outline",size:"xs",onclick:U,children:(le,be)=>{var he=ja(),Ne=c(he);Nr(Ne,{});var ye=n(Ne,1,!0);j(()=>E(ye,e.update.state==="newer-tag"?`Move to ${e.update.latest?.ref}`:"Update")),r(le,he)},$$slots:{default:!0}}),j(()=>E(we,e.update.state==="newer-tag"?`${e.update.latest?.ref} is out`:`New commits${e.update.ref?` on ${e.update.ref}`:""}`)),r(K,N)};A(T,K=>{i()?K(ie):e.update.state==="current"?K(se,1):e.update.state==="pinned"?K(oe,2):e.update.state==="error"?K(te,3):K(q,-1)})}I(k);var xe=n(k,2);R(xe,()=>Ut,(K,N)=>{N(K,{get open(){return t(a)},set open(V){d(a,V,!0)},children:(V,we)=>{var Ce=L(),le=c(Ce);{let be=b(()=>t(l)==="saving"||t(l)==="restarting"?"ignore":"close");R(le,()=>Et,(he,Ne)=>{Ne(he,{class:"max-h-[calc(100dvh-2rem)] overflow-y-auto sm:max-w-lg",get interactOutsideBehavior(){return t(be)},children:(ye,De)=>{var Oe=at(),Fe=c(Oe);R(Fe,()=>Rt,(w,f)=>{f(w,{children:(D,o)=>{var h=at(),$=c(h);R($,()=>Wt,(C,F)=>{F(C,{class:"font-display text-lg",children:(ne,J)=>{de();var Z=_e();j(()=>E(Z,`Update ${e.name??""}`)),r(ne,Z)},$$slots:{default:!0}})});var O=n($,2);R(O,()=>jt,(C,F)=>{F(C,{class:"tabular",children:(ne,J)=>{var Z=L(),Q=c(Z);{var re=ae=>{var ce=_e();j(()=>E(ce,`${e.update.version??""} → ${t(u).version??""}${e.update.state==="newer-tag"&&e.update.ref?`, from ${e.update.ref} to ${t(u).ref}`:""}`)),r(ae,ce)},Y=ae=>{var ce=_e();j(()=>E(ce,e.update.repository)),r(ae,ce)};A(Q,ae=>{t(u)?ae(re):ae(Y,-1)})}r(ne,Z)},$$slots:{default:!0}})}),r(D,h)},$$slots:{default:!0}})});var $e=n(Fe,2);{var Ie=w=>{var f=Wa(),D=B(f);it(D,{class:"size-4 animate-spin"});var o=n(D);I(f),j(()=>E(o,`Fetching ${e.update.repository??""}…`)),r(w,f)},X=w=>{var f=Ua(),D=c(f),o=B(D);et(o,{class:"mt-0.5 size-3.5 shrink-0"});var h=n(o,1,!0);I(D);var $=n(D,2);R($,()=>Le,(O,C)=>{C(O,{children:(F,ne)=>{var J=L(),Z=c(J);{const Q=(re,Y)=>{Se(re,ve(()=>(Y?.()).props,{variant:"ghost",children:(ce,Ae)=>{de();var M=_e("Close");r(ce,M)},$$slots:{default:!0}}))};R(Z,()=>Xe,(re,Y)=>{Y(re,{child:Q,$$slots:{child:!0}})})}r(F,J)},$$slots:{default:!0}})}),j(()=>E(h,t(x))),r(w,f)},s=w=>{var f=St(),D=c(f);qt(D,{get preview(){return t(u)},get busy(){return g()},get answers(){return t(m)},set answers(O){d(m,O,!0)}});var o=n(D,2);{var h=O=>{var C=Ma(),F=ee(C,!0);j(()=>E(F,t(x))),r(O,C)};A(o,O=>{t(x)&&O(h)})}var $=n(o,2);R($,()=>Le,(O,C)=>{C(O,{children:(F,ne)=>{var J=at(),Z=c(J);{const re=(Y,ae)=>{Se(Y,ve(()=>(ae?.()).props,{variant:"ghost",children:(Ae,M)=>{de();var G=_e("Cancel");r(Ae,G)},$$slots:{default:!0}}))};R(Z,()=>Xe,(Y,ae)=>{ae(Y,{child:re,$$slots:{child:!0}})})}var Q=n(Z,2);{let re=b(()=>!!t(v)),Y=b(()=>t(v)?`${t(v).title} is needed`:void 0);Se(Q,{onclick:z,get disabled(){return t(re)},get title(){return t(Y)},children:(ae,ce)=>{de();var Ae=_e("Update and restart");r(ae,Ae)},$$slots:{default:!0}})}r(F,J)},$$slots:{default:!0}})}),r(w,f)},P=w=>{var f=St(),D=c(f);{let O=b(()=>e.update.id),C=b(()=>t(u).version),F=b(()=>t(u).commit.slice(0,7)),ne=b(()=>t(l)==="saving"||t(l)==="restarting"||t(l)==="done"||t(l)==="slow"?t(l):"saving");Bt(D,{get label(){return`Replace ${t(O)??""} with ${t(C)??""} at ${t(F)??""}`},get phase(){return t(ne)}})}var o=n(D,2);{var h=O=>{var C=Ka(),F=ee(C);j(()=>E(F,`${e.name??""}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{o as vt}from"../chunks/Blj84s6L.js";import{k as ct,p as mt,l as T,m as $e,y as ft,f as O,t as f,a as d,b as pt,e as gt,g as e,d as l,c as v,i as c,s as r,h as k,o as m,v as i,$ as _t,r as u,w as We,x as ee,n as te,z as xt}from"../chunks/BOY9WARo.js";import{i as x}from"../chunks/DnDesMxN.js";import{h as bt,e as Se,s as ae,a as ht}from"../chunks/BRuDnHyc.js";import{i as wt}from"../chunks/
|
|
1
|
+
import"../chunks/DsnmJJEf.js";import{o as vt}from"../chunks/Blj84s6L.js";import{k as ct,p as mt,l as T,m as $e,y as ft,f as O,t as f,a as d,b as pt,e as gt,g as e,d as l,c as v,i as c,s as r,h as k,o as m,v as i,$ as _t,r as u,w as We,x as ee,n as te,z as xt}from"../chunks/BOY9WARo.js";import{i as x}from"../chunks/DnDesMxN.js";import{h as bt,e as Se,s as ae,a as ht}from"../chunks/BRuDnHyc.js";import{i as wt}from"../chunks/BBLx2oxZ.js";import{p as yt}from"../chunks/DQEmyAe4.js";import{S as kt}from"../chunks/B2ctrXx5.js";import{E as $t,S as Wt,w as St,a as Et,d as Ee,b as Pe,c as je,e as Pt,f as jt,m as Tt,g as Ot,h as Rt,C as At,i as Bt,l as Ct}from"../chunks/M3zsQDnS.js";import{B as Te}from"../chunks/DqZ9Wm2M.js";import{l as Ft}from"../chunks/Bl1tMgf8.js";import{R as Nt}from"../chunks/BzYzevxb.js";var zt=v('<p class="mt-1 max-w-prose text-sm text-muted-foreground"> </p>'),It=v('<p class="rounded-lg border border-danger/40 p-4 text-sm text-danger" role="alert"> </p>'),Dt=v('<div class="mt-3"><!></div>'),Lt=v("<!>Load and restart",1),Vt=v('<p class="mt-2 text-muted-foreground">This Wheelhouse cannot restart itself, so turn it on in a terminal with <code> </code>.</p>'),qt=v('<p class="mt-2 text-danger" role="alert"> </p>'),Ht=v('<p class="mt-0.5 text-muted-foreground"> </p> <!> <!>',1),Mt=v('<section class="rounded-md border border-brass/60 bg-background px-4 py-3 text-sm" aria-labelledby="not-loaded"><h2 id="not-loaded" class="font-medium">Not loaded</h2> <!></section>'),Ut=v('<p class="rounded-lg border border-danger/40 p-4 text-sm text-danger"> </p>'),Gt=v('<p class="mt-2 text-xs text-muted-foreground"> </p>'),Jt=v(' <button type="button" class="cursor-pointer text-sea hover:underline disabled:cursor-not-allowed">Back to the default</button>',1),Kt=v('<button type="button" role="radio"> </button>'),Qt=v('<li class="flex flex-wrap items-center justify-between gap-x-4 gap-y-2 px-4 py-2.5 text-sm"><span class="min-w-0 break-words"> <span class="text-xs text-muted-foreground"> </span></span> <div class="inline-flex rounded-md border bg-muted/50 p-0.5 text-xs" role="radiogroup"></div></li>'),Xt=v('<ul class="mt-2 divide-y rounded-md border bg-background" aria-label="Projects"></ul>'),Yt=v('<p class="mt-2 text-sm text-muted-foreground">Wheelhouse knows no projects yet.</p>'),Zt=v('<p class="mt-3 text-sm text-muted-foreground"> </p>'),ea=v('<span class="text-xs text-muted-foreground">Not saved yet</span> <button type="button" class="cursor-pointer text-xs text-muted-foreground hover:text-foreground hover:underline">Undo changes</button>',1),ta=v('<form class="mt-3 grid max-w-xl gap-4 rounded-md border bg-background px-4 py-4"><!> <div class="flex flex-wrap items-center gap-3"><!> <!></div></form>'),aa=v('<dt class="text-muted-foreground">Addresses</dt> <dd> </dd>',1),ra=v('<dt class="text-muted-foreground">Sends</dt> <dd> </dd>',1),sa=v('<main class="px-4 py-6 sm:px-6 lg:px-10"><div class="surface px-5 py-6 sm:px-8 sm:py-8"><!> <p class="mt-6 text-sm text-muted-foreground"><a href="/settings/plugins" class="hover:text-foreground hover:underline">Plugins</a> <span aria-hidden="true">/</span> </p> <h1 class="mt-1 text-2xl"> </h1> <!> <div class="mt-8 grid max-w-3xl gap-8"><!> <!> <section aria-labelledby="where-on"><h2 id="where-on" class="section-label">Where it is on</h2> <!> <div class="mt-3 flex items-center justify-between gap-4 rounded-md border bg-background px-4 py-3"><div class="min-w-0 text-sm"><p class="font-medium">Every project <span class="font-normal text-muted-foreground" data-where=""> </span></p> <p class="text-xs text-muted-foreground" data-testid="every-project"><!></p></div> <!></div> <!></section> <section aria-labelledby="settings"><h2 id="settings" class="section-label">Settings</h2> <!></section> <section aria-labelledby="about"><h2 id="about" class="section-label">About</h2> <dl class="mt-3 grid grid-cols-[7rem_minmax(0,1fr)] gap-x-3 gap-y-1.5 text-sm"><dt class="text-muted-foreground">Adds</dt> <dd> </dd> <!> <!> <dt class="text-muted-foreground">From</dt> <dd class="break-words"> </dd> <dt class="text-muted-foreground">Version</dt> <dd class="tabular"> </dd> <dt class="text-muted-foreground">By default</dt> <dd> </dd></dl></section></div></div></main> <!>',1);function _a(Oe,F){mt(F,!0);let N=T(null);const p=k(()=>e(N)??F.data.view),o=k(()=>e(p).plugin),V=()=>yt.data.sessionToken;let A=T(!1),q=T(null),H;function B(t,a=!0){i(q,{text:t,ok:a},!0),clearTimeout(H),H=setTimeout(()=>i(q,null),a?4e3:8e3)}const Re="It applies now, with no restart.";async function M(t,a){i(A,!0);const s=await je(e(o).id,t,V());if(i(A,!1),!s.ok)return B(s.error,!1);i(N,s.value,!0),B(`${typeof a=="string"?a:a(s.value)} ${Re}`)}let $=T($e({})),C=T($e({}));ft(()=>{const t=Pe(F.data.view.settings);i($,{...t},!0),i(C,t,!0)});const re=k(()=>Object.keys(e($)).some(t=>e($)[t]!==e(C)[t])),se=k(()=>e(p).settings.find(t=>t.required&&!e($)[t.key]?.trim()));async function Ae(t){if(t.preventDefault(),e(se))return B(`${e(se).title} is needed.`,!1);i(A,!0);const a=await je(e(o).id,{settings:{...e($)}},V());if(i(A,!1),!a.ok)return B(a.error,!1);i(N,a.value,!0),i(C,Pe(a.value.settings),!0),i($,{...e(C)},!0),B(`Settings saved. ${e(o).name} uses them from its next look, with no restart.`)}let R=T(null),z=T(null);async function Be(){i(R,"saving"),i(z,null);const t=Bt(),a=await Ct(e(o).id,V());if(!a.ok){i(R,null),i(z,a.error,!0);return}i(R,"restarting"),i(R,await t?"done":"slow",!0)}vt(()=>{const t=Ft.onRestart(()=>{i(N,null),wt()});return()=>{t(),clearTimeout(H)}});const Ce=[{value:null,label:"As the plugin"},{value:!0,label:"On"},{value:!1,label:"Off"}],Fe=k(()=>e(o).source==="installed"&&e(o).repository?`${e(o).repository}${e(o).commit?` at ${e(o).commit.slice(0,7)}`:""}`:"Comes with Wheelhouse"),oe=k(()=>Pt(e(o).hostRoutes??[],e(o).addressRewrites??[])),ne=k(()=>jt(e(o).capabilities??[])),I=k(()=>e(A)||!!e(p).configError);var de=sa();bt("kxeh91",t=>{gt(()=>{_t.title=`${e(o).name??""} · Plugins · Wheelhouse`})});var U=O(de),le=c(U),ie=c(le);kt(ie,{});var G=r(ie,2),Ne=r(c(G),3);u(G);var ue=r(G,2),ze=m(ue,!0),ve=r(ue,2);{var Ie=t=>{var a=zt(),s=m(a,!0);f(()=>l(s,e(o).description)),d(t,a)};x(ve,t=>{e(o).description&&t(Ie)})}var ce=r(ve,2),me=c(ce);{var De=t=>{var a=It(),s=m(a,!0);f(()=>l(s,e(p).configError)),d(t,a)};x(me,t=>{e(p).configError&&t(De)})}var fe=r(me,2);{var Le=t=>{var a=Mt(),s=r(c(a),2);{var n=b=>{var h=Dt(),g=c(h);At(g,{label:"Turn it on",get phase(){return e(R)}}),u(h),d(b,h)},_=b=>{var h=Ht(),g=O(h),w=m(g),W=r(g,2);{var j=y=>{Te(y,{class:"mt-3",size:"sm",onclick:Be,children:(P,D)=>{var L=Lt(),ut=O(L);Nt(ut,{}),te(),d(P,L)},$$slots:{default:!0}})},S=y=>{var P=Vt(),D=r(c(P)),L=m(D);te(),u(P),f(()=>l(L,`wheelhouse plugin enable ${e(o).id??""}`)),d(y,P)};x(W,y=>{F.data.canRestart?y(j):y(S,-1)})}var E=r(W,2);{var Z=y=>{var P=qt(),D=m(P,!0);f(()=>l(D,e(z))),d(y,P)};x(E,y=>{e(z)&&y(Z)})}f(()=>l(w,`${e(o).name??""} is installed but turned off, so Wheelhouse has not started it. Wheelhouse loads
|
|
2
2
|
plugins when it starts, so loading it restarts Wheelhouse; Firstmate and its crew keep running.`)),d(b,h)};x(s,b=>{e(R)?b(n):b(_,-1)})}u(a),d(t,a)},Ve=t=>{var a=Ut(),s=m(a,!0);f(()=>l(s,e(o).reason??"Wheelhouse could not load it.")),d(t,a)};x(fe,t=>{e(o).state==="disabled"?t(Le):e(o).state!=="loaded"&&t(Ve,1)})}var J=r(fe,2),pe=r(c(J),2);{var qe=t=>{var a=Gt(),s=m(a);f(()=>l(s,`What you choose here applies once ${e(o).name??""} is loaded.`)),d(t,a)};x(pe,t=>{e(o).state!=="loaded"&&t(qe)})}var K=r(pe,2),Q=c(K),X=c(Q),He=r(c(X)),Me=m(He);u(X);var ge=r(X,2),Ue=c(ge);{var Ge=t=>{var a=We();f(s=>l(a,`By default: ${s??""}. A project below can differ.`),[()=>Tt(Ee(e(o)))]),d(t,a)},Je=t=>{var a=Jt(),s=O(a),n=r(s);f(()=>{l(s,`${e(p).on?"On":"Off"} for every project, except where a project below says otherwise. `),n.disabled=e(I)}),ee("click",n,()=>M({enabled:null},Ot)),d(t,a)};x(Ue,t=>{e(p).enabled===null?t(Ge):t(Je,-1)})}u(ge),u(Q);var Ke=r(Q,2);$t(Ke,{get view(){return e(p)},get disabled(){return e(I)},onchange:t=>M({enabled:t},`${e(o).name} is ${t?"on":"off"} for every project.`)}),u(K);var Qe=r(K,2);{var Xe=t=>{var a=Xt();Se(a,21,()=>e(p).projects,s=>s.id,(s,n)=>{var _=Qt(),b=c(_),h=c(b),g=r(h),w=m(g);u(b);var W=r(b,2);Se(W,21,()=>Ce,j=>j.label,(j,S)=>{var E=Kt(),Z=m(E,!0);f(()=>{ae(E,"aria-checked",e(n).enabled===e(S).value),E.disabled=e(I),ht(E,1,`min-h-7 cursor-pointer rounded px-2.5 py-1 transition-colors disabled:cursor-not-allowed ${e(n).enabled===e(S).value?"bg-card font-medium text-foreground shadow-sm ring-1 ring-hair":"text-muted-foreground hover:text-foreground"}`),l(Z,e(S).label)}),ee("click",E,()=>e(n).enabled!==e(S).value&&M({project:e(n).id,enabled:e(S).value},e(S).value===null?`${e(n).name} follows the plugin again.`:`${e(o).name} is ${e(S).value?"on":"off"} for ${e(n).name}.`)),d(j,E)}),u(W),u(_),f(()=>{ae(_,"data-project",e(n).id),l(h,`${e(n).name??""} `),l(w,`· ${e(n).on?"on":"off"}${e(n).enabled===null?", as the plugin":""}`),ae(W,"aria-label",`${e(o).name??""} for ${e(n).name??""}`)}),d(s,_)}),u(a),d(t,a)},Ye=t=>{var a=Yt();d(t,a)};x(Qe,t=>{e(p).projects.length?t(Xe):t(Ye,-1)})}u(J);var Y=r(J,2),Ze=r(c(Y),2);{var et=t=>{var a=Zt(),s=m(a);f(()=>l(s,`${e(o).name??""} has nothing to set.`)),d(t,a)},tt=t=>{var a=ta(),s=c(a);{let g=k(()=>!!e(p).configError);Rt(s,{get settings(){return e(p).settings},get disabled(){return e(g)},get answers(){return e($)},set answers(w){i($,w,!0)}})}var n=r(s,2),_=c(n);{let g=k(()=>!e(re)||e(I));Te(_,{type:"submit",size:"sm",get disabled(){return e(g)},children:(w,W)=>{te();var j=We("Save settings");d(w,j)},$$slots:{default:!0}})}var b=r(_,2);{var h=g=>{var w=ea(),W=r(O(w),2);ee("click",W,()=>i($,{...e(C)},!0)),d(g,w)};x(b,g=>{e(re)&&g(h)})}u(n),u(a),xt("submit",a,Ae),d(t,a)};x(Ze,t=>{e(p).settings.length===0?t(et):t(tt,-1)})}u(Y);var _e=r(Y,2),xe=r(c(_e),2),be=r(c(xe),2),at=m(be,!0),he=r(be,2);{var rt=t=>{var a=aa(),s=r(O(a),2),n=m(s,!0);f(_=>l(n,_),[()=>e(oe).join("; ")]),d(t,a)};x(he,t=>{e(oe).length&&t(rt)})}var we=r(he,2);{var st=t=>{var a=ra(),s=r(O(a),2),n=m(s,!0);f(_=>l(n,_),[()=>e(ne).join("; ")]),d(t,a)};x(we,t=>{e(ne).length&&t(st)})}var ye=r(we,4),ot=m(ye,!0),ke=r(ye,4),nt=m(ke,!0),dt=r(ke,4),lt=m(dt,!0);u(xe),u(_e),u(ce),u(le),u(U);var it=r(U,2);Wt(it,{get note(){return e(q)}}),f((t,a,s)=>{l(Ne,` ${e(o).name??""}`),l(ze,e(o).name),l(Me,`· ${t??""}`),l(at,a),l(ot,e(Fe)),l(nt,e(o).version),l(lt,s)},[()=>St(e(p)),()=>Et(e(o).slots),()=>Ee(e(o))]),d(Oe,de),pt()}ct(["click"]);export{_a as component};
|
|
Binary file
|
|
Binary file
|