@chrisjowen/wheelhouse 0.17.0 → 0.18.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 +2 -2
- package/build/client/_app/immutable/assets/{0.DNJoTEVa.css → 0.Dyflbqc4.css} +1 -1
- package/build/client/_app/immutable/assets/0.Dyflbqc4.css.br +0 -0
- package/build/client/_app/immutable/assets/{0.DNJoTEVa.css.gz → 0.Dyflbqc4.css.gz} +0 -0
- package/build/client/_app/immutable/chunks/{CDSHscp6.js → 0RGfo0js.js} +1 -1
- package/build/client/_app/immutable/chunks/0RGfo0js.js.br +2 -0
- package/build/client/_app/immutable/chunks/0RGfo0js.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BXiSaVju.js → B13jYnr5.js} +1 -1
- package/build/client/_app/immutable/chunks/B13jYnr5.js.br +0 -0
- package/build/client/_app/immutable/chunks/B13jYnr5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{ClYd4imU.js → B5OMEixy.js} +1 -1
- package/build/client/_app/immutable/chunks/B5OMEixy.js.br +0 -0
- package/build/client/_app/immutable/chunks/B5OMEixy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{xHBeYlGm.js → BDhezwGC.js} +1 -1
- package/build/client/_app/immutable/chunks/BDhezwGC.js.br +0 -0
- package/build/client/_app/immutable/chunks/BDhezwGC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BPjwAHMu.js → Bd8l0yTM.js} +1 -1
- package/build/client/_app/immutable/chunks/Bd8l0yTM.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bd8l0yTM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CgZovtjz.js → BisZnsml.js} +1 -1
- package/build/client/_app/immutable/chunks/BisZnsml.js.br +0 -0
- package/build/client/_app/immutable/chunks/BisZnsml.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CSU604UC.js → Bl_aeMq-.js} +1 -1
- package/build/client/_app/immutable/chunks/Bl_aeMq-.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bl_aeMq-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{fhAu_Obx.js → Bm06it9w.js} +1 -1
- package/build/client/_app/immutable/chunks/Bm06it9w.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bm06it9w.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DFrn6Xyh.js → BvPKyGA8.js} +1 -1
- package/build/client/_app/immutable/chunks/BvPKyGA8.js.br +0 -0
- package/build/client/_app/immutable/chunks/BvPKyGA8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{B1zE3zKP.js → C8rIEWKQ.js} +1 -1
- package/build/client/_app/immutable/chunks/C8rIEWKQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/C8rIEWKQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CI19kiwT.js → ClopdZ_7.js} +1 -1
- package/build/client/_app/immutable/chunks/ClopdZ_7.js.br +0 -0
- package/build/client/_app/immutable/chunks/ClopdZ_7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D8J1M-4m.js → Cv4HO3U0.js} +1 -1
- package/build/client/_app/immutable/chunks/Cv4HO3U0.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cv4HO3U0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{79yuhTwS.js → Cwq50RB4.js} +1 -1
- package/build/client/_app/immutable/chunks/Cwq50RB4.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cwq50RB4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CKE9neHp.js → DJmeKpkq.js} +1 -1
- package/build/client/_app/immutable/chunks/DJmeKpkq.js.br +0 -0
- package/build/client/_app/immutable/chunks/{CKE9neHp.js.gz → DJmeKpkq.js.gz} +0 -0
- package/build/client/_app/immutable/chunks/{B3KHKydy.js → Drqp3nkL.js} +1 -1
- package/build/client/_app/immutable/chunks/Drqp3nkL.js.br +0 -0
- package/build/client/_app/immutable/chunks/Drqp3nkL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/HCiUQtkc.js +2 -0
- package/build/client/_app/immutable/chunks/HCiUQtkc.js.br +0 -0
- package/build/client/_app/immutable/chunks/HCiUQtkc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/V46v89bT.js +1 -0
- package/build/client/_app/immutable/chunks/V46v89bT.js.br +0 -0
- package/build/client/_app/immutable/chunks/V46v89bT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{qmyjnG6s.js → Y3845wkB.js} +1 -1
- package/build/client/_app/immutable/chunks/Y3845wkB.js.br +0 -0
- package/build/client/_app/immutable/chunks/Y3845wkB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BosdQIFt.js → gS_jJyWs.js} +1 -1
- package/build/client/_app/immutable/chunks/gS_jJyWs.js.br +0 -0
- package/build/client/_app/immutable/chunks/gS_jJyWs.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CsmF6Hwj.js → rWDJOr9L.js} +1 -1
- package/build/client/_app/immutable/chunks/rWDJOr9L.js.br +0 -0
- package/build/client/_app/immutable/chunks/rWDJOr9L.js.gz +0 -0
- package/build/client/_app/immutable/entry/{app.DwV2pwLU.js → app.C_f-0Vea.js} +2 -2
- package/build/client/_app/immutable/entry/app.C_f-0Vea.js.br +0 -0
- package/build/client/_app/immutable/entry/app.C_f-0Vea.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.CmPU2liD.js +1 -0
- package/build/client/_app/immutable/entry/start.CmPU2liD.js.br +0 -0
- package/build/client/_app/immutable/entry/start.CmPU2liD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{0.DF8hnsli.js → 0.CycGUKhI.js} +1 -1
- package/build/client/_app/immutable/nodes/0.CycGUKhI.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.CycGUKhI.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.B5FnFSGX.js → 1.70vrwjqS.js} +1 -1
- package/build/client/_app/immutable/nodes/1.70vrwjqS.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.70vrwjqS.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{10.COzSUd5H.js → 10.CG7LxHir.js} +1 -1
- package/build/client/_app/immutable/nodes/10.CG7LxHir.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.CG7LxHir.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{11.hxSy1hC3.js → 11.CvQ4cyM3.js} +1 -1
- package/build/client/_app/immutable/nodes/11.CvQ4cyM3.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.CvQ4cyM3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{12.C7_etTt9.js → 12.D9IHJjN9.js} +1 -1
- package/build/client/_app/immutable/nodes/12.D9IHJjN9.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.D9IHJjN9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{13.DmZBXkEn.js → 13.D-hvVuS1.js} +1 -1
- package/build/client/_app/immutable/nodes/13.D-hvVuS1.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.D-hvVuS1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{14.B2FfmJwY.js → 14.DfUdqoEO.js} +1 -1
- package/build/client/_app/immutable/nodes/14.DfUdqoEO.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.DfUdqoEO.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{15.DOXGz5UB.js → 15.CZRsd2Eg.js} +1 -1
- package/build/client/_app/immutable/nodes/15.CZRsd2Eg.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.CZRsd2Eg.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{16.9Kdcqd35.js → 16.qfrdNFMy.js} +1 -1
- package/build/client/_app/immutable/nodes/16.qfrdNFMy.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.qfrdNFMy.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{17.rjXh_9jf.js → 17.D83W_Tta.js} +1 -1
- package/build/client/_app/immutable/nodes/17.D83W_Tta.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.D83W_Tta.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{19.BDL7z_Qb.js → 19.BzcQyaMT.js} +1 -1
- package/build/client/_app/immutable/nodes/19.BzcQyaMT.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.BzcQyaMT.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{2.BCbkmPbx.js → 2.C5dTKKEn.js} +1 -1
- package/build/client/_app/immutable/nodes/2.C5dTKKEn.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.C5dTKKEn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{20.CmA-uI_h.js → 20.HovxKElE.js} +1 -1
- package/build/client/_app/immutable/nodes/20.HovxKElE.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.HovxKElE.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{21.DXJrG-NW.js → 21.2vXCaqsr.js} +1 -1
- package/build/client/_app/immutable/nodes/21.2vXCaqsr.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.2vXCaqsr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{22.D1PSb-pN.js → 22.C2_CQQkD.js} +1 -1
- package/build/client/_app/immutable/nodes/22.C2_CQQkD.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.C2_CQQkD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{23.DsgvXr3A.js → 23.DLyV0afL.js} +1 -1
- package/build/client/_app/immutable/nodes/23.DLyV0afL.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.DLyV0afL.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{24.DYbfQRKi.js → 24.B3x35Hk8.js} +1 -1
- package/build/client/_app/immutable/nodes/24.B3x35Hk8.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.B3x35Hk8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.nwMZWq7u.js +20 -0
- package/build/client/_app/immutable/nodes/25.nwMZWq7u.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.nwMZWq7u.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{26.DGQvgO-w.js → 26.Djo0UcCH.js} +1 -1
- package/build/client/_app/immutable/nodes/26.Djo0UcCH.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.Djo0UcCH.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{28.C-Ubf5oN.js → 28.SqN60QfL.js} +1 -1
- package/build/client/_app/immutable/nodes/28.SqN60QfL.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.SqN60QfL.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{3.BZFHR-pC.js → 3.CNDDXR-R.js} +1 -1
- package/build/client/_app/immutable/nodes/3.CNDDXR-R.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.CNDDXR-R.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{4.CAiVTgL3.js → 4.Dajo6qs6.js} +1 -1
- package/build/client/_app/immutable/nodes/4.Dajo6qs6.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.Dajo6qs6.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{6.Bpt4zq5B.js → 6.BHt0DwZF.js} +1 -1
- package/build/client/_app/immutable/nodes/6.BHt0DwZF.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.BHt0DwZF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{7.DqfjvXPm.js → 7.BIfa9MqV.js} +1 -1
- package/build/client/_app/immutable/nodes/7.BIfa9MqV.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.BIfa9MqV.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{8.CCshJNeL.js → 8.CKbZrwQ8.js} +1 -1
- package/build/client/_app/immutable/nodes/8.CKbZrwQ8.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.CKbZrwQ8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{9.DAgz6-ct.js → 9.BbThPsu4.js} +1 -1
- package/build/client/_app/immutable/nodes/9.BbThPsu4.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.BbThPsu4.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/{detail.js-Dmv_JQut.js → detail.js-K2fb6vUl.js} +2 -2
- package/build/server/chunks/chunks/{feedback.js-D3a2iMXg.js → feedback.js-gBLi4FYP.js} +2 -2
- package/build/server/chunks/chunks/{harness.js-DPojOlFJ.js → harness.js-C1CYCy4c.js} +2 -2
- package/build/server/chunks/chunks/{internal.js-B1bN3ll4.js → internal.js-BOM77MfQ.js} +3 -3
- package/build/server/chunks/chunks/{keychain.js-Cp8llbD0.js → keychain.js-DDSo_IW8.js} +2 -2
- package/build/server/chunks/chunks/{marketplace-service.js-Cx9Q0k8Q.js → marketplace-service.js-QhO4MhZa.js} +2 -2
- package/build/server/chunks/chunks/{page.js-CoP2TAJ_.js → page.js-6KzOUc5P.js} +2 -2
- package/build/server/chunks/chunks/{previewhelper2.js-BrTz0Tg7.js → previewhelper2.js-Dza1zgQB.js} +2 -2
- package/build/server/chunks/chunks/{repo.js-LJxMBx-J.js → repo.js-Aq4DOLtb.js} +2 -2
- package/build/server/chunks/chunks/{runtime.js-Div6Lnx3.js → runtime.js-DKYCLRYC.js} +12517 -11748
- package/build/server/chunks/chunks/{service.js-C-7gDnLN.js → service.js-D9kA6Dvq.js} +2 -2
- package/build/server/chunks/chunks/{service2.js-BsM3bqfY.js → service2.js-Dx7TTUyO.js} +141 -441
- package/build/server/chunks/chunks/{starter.js-BGIHa5RG.js → starter.js-BjLPYDEU.js} +2 -2
- package/build/server/chunks/chunks/terminal.js-Cr5N1hVN.js +189 -0
- package/build/server/chunks/chunks/{view.js-B-5C4tjd.js → view.js-D6_Y6e4W.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/apps/_op_/{_server.ts.js-u0ExtU7j.js → _server.ts.js-C8-Bqwz2.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/cloud/{_server.ts.js-BO-Upj5a.js → _server.ts.js-iHvZiw6L.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/cloud/previews/{_server.ts.js-CqmlbD19.js → _server.ts.js-C2083EnL.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/events/{_server.ts.js-BuNwFHVn.js → _server.ts.js-DXerC_lz.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/files/{_server.ts.js-DjTqppEU.js → _server.ts.js-DkrVdgsY.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/{_server.ts.js-C9cMNlgd.js → _server.ts.js-itkq-Zhc.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/{_server.ts.js-DfpaVvxs.js → _server.ts.js-BClrQ76Y.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/{_server.ts.js-8SzK4gCV.js → _server.ts.js-CSaP0hys.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/firstmate/input/{_server.ts.js-BQbD-LTs.js → _server.ts.js-Cpm8-Jaf.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/{_server.ts.js-ClqS2YDJ.js → _server.ts.js-DxSC3HLK.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/{_server.ts.js-BCazjeCb.js → _server.ts.js-CITZvyir.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/{_server.ts.js-DbwR4fGz.js → _server.ts.js-7uCkkloP.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/firstmate/reactions/{_server.ts.js-CY5SLTEA.js → _server.ts.js-RSm-5UF2.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/firstmate/start/{_server.ts.js-Co9V8-6k.js → _server.ts.js-CbHftl32.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/fleet/{_server.ts.js-tC_Zgasq.js → _server.ts.js-DTbyWHA5.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/gateway/{_server.ts.js-BwROfRU7.js → _server.ts.js-Dgj64C-8.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/health/{_server.ts.js-BEmBVcdL.js → _server.ts.js-8Ao3NA-E.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/inbox/{_server.ts.js-DdaypvH2.js → _server.ts.js-DGBE7UIq.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/inbox/report/{_server.ts.js-BbDc6SzH.js → _server.ts.js-DqkXU31r.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/insights/{_server.ts.js-Bz4abExj.js → _server.ts.js-DVanxkdv.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/{_server.ts.js-BNVKAFTs.js → _server.ts.js-Cm68Rf5I.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/{_server.ts.js-B1AaY6FI.js → _server.ts.js-3OGDAdpk.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/{_server.ts.js-CP9sLBS7.js → _server.ts.js-CFU80BaE.js} +8 -8
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/{_server.ts.js-DBDdeN2z.js → _server.ts.js-KWWnKNbi.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/{_server.ts.js-D4h_Mifs.js → _server.ts.js-B_5x0zJS.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/{_server.ts.js-BIrWdhtR.js → _server.ts.js-C90RNY_X.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/{_server.ts.js-Cu_Y3EEq.js → _server.ts.js-DvGxNP7H.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/{_server.ts.js-CDMP1Wcb.js → _server.ts.js-CiLDpQsQ.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/{_server.ts.js-DHTVslXa.js → _server.ts.js-B1XZhaia.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/install/{_server.ts.js-CoRV0mGt.js → _server.ts.js-DSD7vM9f.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/{_server.ts.js-DZi9g4M6.js → _server.ts.js-CSXJmx4K.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/{_server.ts.js-lf9gC82y.js → _server.ts.js-CBscduVo.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/{_server.ts.js-Co8qdA33.js → _server.ts.js-CbuLtoHm.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/plugins/roles/{_server.ts.js-DFoBOVVT.js → _server.ts.js-Dwfzypry.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/updates/{_server.ts.js-CzTVAiDc.js → _server.ts.js-B5BKYa3M.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/previews/check/{_server.ts.js-BAZpTlCx.js → _server.ts.js-C4c7W5Q_.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/{_server.ts.js-jkk-r-nJ.js → _server.ts.js-D6V8uWHn.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/{_server.ts.js-BdsAFbko.js → _server.ts.js-B2ihTXgb.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/{_server.ts.js-DiMBVbVj.js → _server.ts.js-kXH0W1Ky.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/{_server.ts.js-BtDKXwvJ.js → _server.ts.js-DzwBz0wz.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/{_server.ts.js-C02cyG4M.js → _server.ts.js-uTK3V5EE.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/{_server.ts.js-CA0wN6yE.js → _server.ts.js-Cl4zIULt.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/{_server.ts.js-BPPzbpED.js → _server.ts.js-DqjxxFau.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/services/{_server.ts.js-FbF3xSIs.js → _server.ts.js-dVN9ikOu.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/setup/{_server.ts.js-BmS6o8yc.js → _server.ts.js-_iOzae7t.js} +22 -9
- package/build/server/chunks/entries/endpoints/api/slots/{_server.ts.js-EsX_IGvt.js → _server.ts.js-XMhnf3Ej.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/{_server.ts.js-BgBAYDN4.js → _server.ts.js-KZTObDbB.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/{_server.ts.js-DuTLNykO.js → _server.ts.js-DyjUgwF7.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/{_server.ts.js-DDy8igq7.js → _server.ts.js-CalJli32.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/{_server.ts.js-D5pfyCzV.js → _server.ts.js-DWPP0yu8.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/{_server.ts.js-BA8S2_Gc.js → _server.ts.js-0Nyn7nbY.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/{_server.ts.js-DbU3413y.js → _server.ts.js-3z5OVCPe.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/vault/{_server.ts.js-BOfdrtdZ.js → _server.ts.js-AbPbPvOK.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/wheelhouse/source/{_server.ts.js-BA5eDd2l.js → _server.ts.js-D029CrEh.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/{_server.ts.js-D5fyMbR0.js → _server.ts.js-BfHTqL2O.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/{_server.ts.js-B53DnvyB.js → _server.ts.js-CIRed7Ae.js} +2 -2
- package/build/server/chunks/entries/endpoints/tasks/_id_/review/{_server.ts.js-bjte8O9v.js → _server.ts.js-CvvKgDa5.js} +6 -6
- package/build/server/chunks/entries/{hooks.server.js-vOikVCYe.js → hooks.server.js-C9TJKrED.js} +6 -6
- package/build/server/chunks/entries/pages/{_layout.server.ts.js-MabiHA-3.js → _layout.server.ts.js-BfjTrg6R.js} +2 -2
- package/build/server/chunks/entries/pages/{_page.server.ts.js-B2yCD9g1.js → _page.server.ts.js-BFfRDA3t.js} +2 -2
- package/build/server/chunks/entries/pages/{_page.svelte.js-DK0vMDpM.js → _page.svelte.js-dxbEuRWy.js} +2 -2
- package/build/server/chunks/entries/pages/decisions/{_page.server.ts.js-0eAEf9gY.js → _page.server.ts.js-aZNQQOb5.js} +2 -2
- package/build/server/chunks/entries/pages/deck/{_page.server.ts.js-COZ-0Oqo.js → _page.server.ts.js-CLBsxhmZ.js} +2 -2
- package/build/server/chunks/entries/pages/files/{_page.server.ts.js-BewL0sIN.js → _page.server.ts.js-Dtrn3Jt8.js} +2 -2
- package/build/server/chunks/entries/pages/harbour/{_page.server.ts.js-BnCRyETa.js → _page.server.ts.js-DYrU0BeU.js} +2 -2
- package/build/server/chunks/entries/pages/headroom/{_page.server.ts.js-D5_3UMoa.js → _page.server.ts.js-UKBrFpbo.js} +2 -2
- package/build/server/chunks/entries/pages/inbox/{_page.server.ts.js-jVFavtAR.js → _page.server.ts.js-COlncgCa.js} +2 -2
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/{_page.server.ts.js-BZZjxm-x.js → _page.server.ts.js-Bay2qA2Q.js} +2 -2
- package/build/server/chunks/entries/pages/projects/_id_/{_page.server.ts.js-ByYW-gv7.js → _page.server.ts.js-CU7ds9LA.js} +3 -3
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/{_page.server.ts.js-BDnIvRvv.js → _page.server.ts.js-BGGSKQqb.js} +3 -3
- package/build/server/chunks/entries/pages/projects/_id_/passage/{_page.server.ts.js-D--AVAN1.js → _page.server.ts.js-CnSUSATt.js} +4 -4
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/{_page.server.ts.js-Bh8glo5J.js → _page.server.ts.js-_7cU19E_.js} +2 -2
- package/build/server/chunks/entries/pages/remotes/{_page.server.ts.js-CdD2bSZT.js → _page.server.ts.js-C1Yxudql.js} +2 -2
- package/build/server/chunks/entries/pages/settings/cloud/{_page.server.ts.js-D-i30dSs.js → _page.server.ts.js-DTNE52aZ.js} +2 -2
- package/build/server/chunks/entries/pages/settings/gateway/{_page.server.ts.js-DvxWUFjz.js → _page.server.ts.js-CrhYOE-D.js} +2 -2
- package/build/server/chunks/entries/pages/settings/plugins/{_page.server.ts.js-1e73Wyr0.js → _page.server.ts.js-CifBaqFj.js} +2 -2
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/{_page.server.ts.js-BePUsUZP.js → _page.server.ts.js-EKuElYxp.js} +2 -2
- package/build/server/chunks/entries/pages/settings/setup/{_page.server.ts.js-jRF6Ywzb.js → _page.server.ts.js-BF8rdJhn.js} +2 -2
- package/build/server/chunks/entries/pages/settings/update/{_page.server.ts.js-DugL5l6V.js → _page.server.ts.js-CrElCh4A.js} +2 -2
- package/build/server/chunks/entries/pages/setup/{_page.server.ts.js-BiA9elO2.js → _page.server.ts.js-wycRiBir.js} +3 -3
- package/build/server/chunks/entries/pages/setup/{_page.svelte.js-BZsw7k9z.js → _page.svelte.js-C1CXNUmI.js} +206 -33
- package/build/server/chunks/entries/pages/tasks/_id_/{_page.server.ts.js-C2g0PwaJ.js → _page.server.ts.js-CYQPki7W.js} +3 -3
- package/build/server/chunks/entries/pages/tasks/_id_/doc/{_page.server.ts.js-BDtV-JJy.js → _page.server.ts.js-ecgyPy_T.js} +2 -2
- package/build/server/chunks/entries/pages/time/{_page.server.ts.js-BbZ21xiD.js → _page.server.ts.js-DSQc-xWi.js} +2 -2
- package/build/server/chunks/{handler-C9BTW4CD.js → handler-BHDQVtZw.js} +3 -3
- package/build/server/chunks/{index.js-pXGRX2i2.js → index.js-CrFdVwqU.js} +2 -2
- package/build/server/chunks/{manifest.js-CJa1L_3F.js → manifest.js-Dja0Po5-.js} +87 -87
- package/build/server/chunks/nodes/{0.js-C6oZQB5s.js → 0.js-NNn8Cg6_.js} +9 -9
- package/build/server/chunks/nodes/{1.js-Cttr3TG9.js → 1.js-B4fNjYoV.js} +2 -2
- package/build/server/chunks/nodes/{10.js-CB68zmyq.js → 10.js-CmLFT1Pj.js} +2 -2
- package/build/server/chunks/nodes/{11.js-CebGVYzq.js → 11.js-BQqPaZKt.js} +8 -8
- package/build/server/chunks/nodes/{12.js-D2y8h8be.js → 12.js-uooOT7mU.js} +9 -9
- package/build/server/chunks/nodes/{13.js-udsCT8sc.js → 13.js-Bwsn9ad_.js} +9 -9
- package/build/server/chunks/nodes/{14.js-LSLFIS3R.js → 14.js-RxQ3KjAZ.js} +10 -10
- package/build/server/chunks/nodes/{15.js-DwkMtPw0.js → 15.js-mrYlzb81.js} +9 -9
- package/build/server/chunks/nodes/{16.js-D6ljBLvA.js → 16.js-Uqhuspdc.js} +6 -6
- package/build/server/chunks/nodes/{17.js-CLW6wG6e.js → 17.js-xO4_vt9v.js} +2 -2
- package/build/server/chunks/nodes/{19.js-Do3gZhOd.js → 19.js-Bp0kyiVl.js} +6 -6
- package/build/server/chunks/nodes/{2.js-Bg6BRLgk.js → 2.js-DiF_CXqM.js} +9 -9
- package/build/server/chunks/nodes/{20.js-D6ikY3Qe.js → 20.js--x681h54.js} +8 -8
- package/build/server/chunks/nodes/{21.js-DG7qeWyl.js → 21.js-BWa_e-es.js} +8 -8
- package/build/server/chunks/nodes/{22.js-kAdDBEK4.js → 22.js-yLTp3XfM.js} +8 -8
- package/build/server/chunks/nodes/{23.js-CgwizXkn.js → 23.js-gx53Nzzh.js} +9 -9
- package/build/server/chunks/nodes/{24.js-LvCCKbXs.js → 24.js-Ci8dS_77.js} +4 -4
- package/build/server/chunks/nodes/{25.js-DD6hUVsN.js → 25.js-WBDsJGik.js} +10 -10
- package/build/server/chunks/nodes/{26.js-WwI1VHcM.js → 26.js-CZ4lN-gH.js} +9 -9
- package/build/server/chunks/nodes/{27.js-Ciywgqr7.js → 27.js-DPEzrdzK.js} +8 -8
- package/build/server/chunks/nodes/{28.js-CDVsbZwJ.js → 28.js-BJ38Ryxz.js} +8 -8
- package/build/server/chunks/nodes/{3.js-Bk1K3VSg.js → 3.js-D52LKb1w.js} +8 -8
- package/build/server/chunks/nodes/{4.js-DR53ln0s.js → 4.js-DDItN7w8.js} +8 -8
- package/build/server/chunks/nodes/{5.js-Bnpq5DqQ.js → 5.js-DJ1sVBVf.js} +7 -7
- package/build/server/chunks/nodes/{6.js-sO4LxGqG.js → 6.js-D_Aqt_hx.js} +8 -8
- package/build/server/chunks/nodes/{7.js-CjmrTr_m.js → 7.js-tS4lw5ka.js} +8 -8
- package/build/server/chunks/nodes/{8.js-CY5LlZct.js → 8.js-ChN4dMEU.js} +8 -8
- package/build/server/chunks/nodes/{9.js-VSnIai5w.js → 9.js-BpLLOWXa.js} +2 -2
- package/dist/cli.js +339 -167
- package/dist/wh-vault.js +1 -1
- package/package.json +1 -1
- package/skills/manage-wheelhouse/references/operations.md +52 -50
- package/build/client/_app/immutable/assets/0.DNJoTEVa.css.br +0 -0
- package/build/client/_app/immutable/chunks/79yuhTwS.js.br +0 -0
- package/build/client/_app/immutable/chunks/79yuhTwS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B1zE3zKP.js.br +0 -0
- package/build/client/_app/immutable/chunks/B1zE3zKP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B3KHKydy.js.br +0 -0
- package/build/client/_app/immutable/chunks/B3KHKydy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BPjwAHMu.js.br +0 -0
- package/build/client/_app/immutable/chunks/BPjwAHMu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BXiSaVju.js.br +0 -0
- package/build/client/_app/immutable/chunks/BXiSaVju.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BosdQIFt.js.br +0 -0
- package/build/client/_app/immutable/chunks/BosdQIFt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CDSHscp6.js.br +0 -3
- package/build/client/_app/immutable/chunks/CDSHscp6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CI19kiwT.js.br +0 -0
- package/build/client/_app/immutable/chunks/CI19kiwT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CKE9neHp.js.br +0 -0
- package/build/client/_app/immutable/chunks/CLJu9cY5.js +0 -2
- package/build/client/_app/immutable/chunks/CLJu9cY5.js.br +0 -0
- package/build/client/_app/immutable/chunks/CLJu9cY5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CSU604UC.js.br +0 -0
- package/build/client/_app/immutable/chunks/CSU604UC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CgZovtjz.js.br +0 -0
- package/build/client/_app/immutable/chunks/CgZovtjz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ClYd4imU.js.br +0 -0
- package/build/client/_app/immutable/chunks/ClYd4imU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CsmF6Hwj.js.br +0 -0
- package/build/client/_app/immutable/chunks/CsmF6Hwj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cwo48ib8.js +0 -1
- package/build/client/_app/immutable/chunks/Cwo48ib8.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cwo48ib8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D8J1M-4m.js.br +0 -0
- package/build/client/_app/immutable/chunks/D8J1M-4m.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DFrn6Xyh.js.br +0 -0
- package/build/client/_app/immutable/chunks/DFrn6Xyh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/fhAu_Obx.js.br +0 -0
- package/build/client/_app/immutable/chunks/fhAu_Obx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/qmyjnG6s.js.br +0 -0
- package/build/client/_app/immutable/chunks/qmyjnG6s.js.gz +0 -0
- package/build/client/_app/immutable/chunks/xHBeYlGm.js.br +0 -0
- package/build/client/_app/immutable/chunks/xHBeYlGm.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.DwV2pwLU.js.br +0 -0
- package/build/client/_app/immutable/entry/app.DwV2pwLU.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.CAfmMhjm.js +0 -1
- package/build/client/_app/immutable/entry/start.CAfmMhjm.js.br +0 -0
- package/build/client/_app/immutable/entry/start.CAfmMhjm.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.DF8hnsli.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.DF8hnsli.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.B5FnFSGX.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.B5FnFSGX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.COzSUd5H.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.COzSUd5H.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.hxSy1hC3.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.hxSy1hC3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.C7_etTt9.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.C7_etTt9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.DmZBXkEn.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.DmZBXkEn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.B2FfmJwY.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.B2FfmJwY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.DOXGz5UB.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.DOXGz5UB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.9Kdcqd35.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.9Kdcqd35.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.rjXh_9jf.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.rjXh_9jf.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.BDL7z_Qb.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.BDL7z_Qb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.BCbkmPbx.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.BCbkmPbx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.CmA-uI_h.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.CmA-uI_h.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.DXJrG-NW.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.DXJrG-NW.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.D1PSb-pN.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.D1PSb-pN.js.gz +0 -0
- package/build/client/_app/immutable/nodes/23.DsgvXr3A.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.DsgvXr3A.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.DYbfQRKi.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.DYbfQRKi.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.DchwdBic.js +0 -15
- package/build/client/_app/immutable/nodes/25.DchwdBic.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.DchwdBic.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.DGQvgO-w.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.DGQvgO-w.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.C-Ubf5oN.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.C-Ubf5oN.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.BZFHR-pC.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.BZFHR-pC.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.CAiVTgL3.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.CAiVTgL3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.Bpt4zq5B.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.Bpt4zq5B.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.DqfjvXPm.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.DqfjvXPm.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.CCshJNeL.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.CCshJNeL.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.DAgz6-ct.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.DAgz6-ct.js.gz +0 -0
- package/build/server/chunks/chunks/terminal.js-BUurgI6D.js +0 -81
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o as v}from"./RYq3318d.js";import{aa as p,bE as I,m as u,g as f,v as d}from"./BuRWgnCz.js";const h=[];function R(e,t=p){let n=null;const s=new Set;function r(o){if(I(e,o)&&(e=o,n)){const c=!h.length;for(const l of s)l[1](),h.push(l,e);if(c){for(let l=0;l<h.length;l+=2)h[l][0](h[l+1]);h.length=0}}}function i(o){r(o(e))}function a(o,c=p){const l=[o,c];return s.add(l),s.size===1&&(n=t(r,i)||p),o(e),()=>{s.delete(l),s.size===0&&n&&(n(),n=null)}}return{set:r,update:i,subscribe:a}}const N="1794643952441";new URL("sveltekit-internal://");function H(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function K(e){return e.split("%25").map(decodeURI).join("%25")}function B(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function D({href:e}){return e.split("#")[0]}function L(){}function O(...e){let t=5381;for(const n of e)if(typeof n=="string"){let s=n.length;for(;s;)t=t*33^n.charCodeAt(--s)}else if(ArrayBuffer.isView(n)){const s=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let r=s.length;for(;r;)t=t*33^s[--r]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;function $(e){const t=atob(e),n=new Uint8Array(t.length);for(let s=0;s<t.length;s++)n[s]=t.charCodeAt(s);return n}const q=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&b.delete(m(e)),q(e,t));const b=new Map;function W(e,t){const n=m(e,t),s=document.querySelector(n);if(s?.textContent){s.remove();let{body:r,...i}=JSON.parse(s.textContent);s.getAttribute("data-b64")!==null&&(r=$(r));const o=s.getAttribute("data-ttl");return o&&b.set(n,{body:r,init:i,ttl:1e3*Number(o)}),Promise.resolve(new Response(r,i))}return window.fetch(e,t)}function X(e,t,n){if(b.size>0){const s=m(e,n),r=b.get(s);if(r){if(performance.now()<r.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(r.body,r.init);b.delete(s)}}return window.fetch(t,n)}function m(e,t){let s=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const r=[];t.headers&&r.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&r.push(t.body),s+=`[data-hash="${O(...r)}"]`}return s}const C=globalThis.__sveltekit_n6xvkg?.base??"",P=globalThis.__sveltekit_n6xvkg?.assets??C??"",J="sveltekit:snapshot",M="sveltekit:scroll",F="sveltekit:states",Q="sveltekit:pageurl",Z="sveltekit:history",ee="sveltekit:navigation",y={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},E=location.origin;function te(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function ne(){return{x:pageXOffset,y:pageYOffset}}function g(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const S={...y,"":y.hover};function T(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function se(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=T(e)}}function re(e,t,n){let s;try{if(s=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&s.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";s.hash=`#${o}${s.hash}`}}catch{}const r=e instanceof SVGAElement?e.target.baseVal:e.target,i=!s||!!r||V(s,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),a=s?.origin===E&&e.hasAttribute("download");return{url:s,external:i,target:r,download:a}}function oe(e){let t=null,n=null,s=null,r=null,i=null,a=null,o=e;for(;o&&o!==document.documentElement;)s===null&&(s=g(o,"preload-code")),r===null&&(r=g(o,"preload-data")),t===null&&(t=g(o,"keepfocus")),n===null&&(n=g(o,"noscroll")),i===null&&(i=g(o,"reload")),a===null&&(a=g(o,"replacestate")),o=T(o);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:S[s??"off"],preload_data:S[r??"off"],keepfocus:c(t),noscroll:c(n),reload:c(i),replace_state:c(a)}}function ae(e){const t=R(e);let n=!0;function s(){n=!0,t.update(a=>a)}function r(a){n=!1,t.set(a)}function i(a){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&a(o=c)})}return{notify:s,set:r,subscribe:i}}const U={v:L};function ie(){const{set:e,subscribe:t}=R(!1);let n;async function s(){clearTimeout(n);try{const r=await fetch(`${P}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const a=(await r.json()).version!==N;return a&&(e(!0),U.v(),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:s}}function V(e,t,n){return e.origin!==E||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function le(e){}const x=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...x];const j=new Set([...x]);[...j];let w,k,_;const G=v.toString().includes("$$")||/function \w+\(\) \{\}/.test(v.toString()),A="a:";G?(w={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(A)},k={current:null},_={current:!1}):(w=new class{#e=u({});get data(){return f(this.#e)}set data(t){d(this.#e,t)}#t=u(null);get form(){return f(this.#t)}set form(t){d(this.#t,t)}#n=u(null);get error(){return f(this.#n)}set error(t){d(this.#n,t)}#s=u({});get params(){return f(this.#s)}set params(t){d(this.#s,t)}#r=u({id:null});get route(){return f(this.#r)}set route(t){d(this.#r,t)}#o=u({});get state(){return f(this.#o)}set state(t){d(this.#o,t)}#a=u(-1);get status(){return f(this.#a)}set status(t){d(this.#a,t)}#i=u(new URL(A));get url(){return f(this.#i)}set url(t){d(this.#i,t)}},k=new class{#e=u(null);get current(){return f(this.#e)}set current(t){d(this.#e,t)}},_=new class{#e=u(!1);get current(){return f(this.#e)}set current(t){d(this.#e,t)}},U.v=()=>_.current=!0);function de(e){Object.assign(w,e)}export{Z as H,ee as N,Q as P,F as S,k as a,C as b,oe as c,D as d,B as e,se as f,re as g,H as h,V as i,ie as j,ae as k,y as l,K as m,L as n,E as o,w as p,J as q,te as r,ne as s,X as t,de as u,W as v,R as w,M as x,le as y};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{m as g,g as l,v as m,p as Y,u as q,A as L,f as Z,s as tt,t as N,a as W,b as et,i as _,o as st,d as nt,c as V,q as C}from"./BuRWgnCz.js";import{i as rt}from"./BDpRITyb.js";import{s as ot}from"./Cwb6d3g_.js";import{b as it}from"./BWRIDih-.js";import{p as P}from"./BAOiF0in.js";import{p as at}from"./
|
|
1
|
+
import"./DsnmJJEf.js";import{m as g,g as l,v as m,p as Y,u as q,A as L,f as Z,s as tt,t as N,a as W,b as et,i as _,o as st,d as nt,c as V,q as C}from"./BuRWgnCz.js";import{i as rt}from"./BDpRITyb.js";import{s as ot}from"./Cwb6d3g_.js";import{b as it}from"./BWRIDih-.js";import{p as P}from"./BAOiF0in.js";import{p as at}from"./0RGfo0js.js";import{S as A}from"./BXN538J3.js";import{r as D}from"./xjN9NojQ.js";import{w as ut}from"./Cwq50RB4.js";const ct=new Set(["127.0.0.1","localhost","0.0.0.0","[::1]"]),lt=e=>Number.isInteger(e)&&e>=1&&e<=65535;function dt(e){const t=e.indexOf("{port}"),s=e.indexOf("/",e.indexOf("://")+3);return t>=0&&(s<0||t<s)}function ht(e){const t=URL.parse(e);if(!t||t.protocol!=="http:"&&t.protocol!=="https:"||t.username||t.password||!ct.has(t.hostname.toLowerCase()))return null;const s=Number(t.port||(t.protocol==="https:"?443:80));return lt(s)?s:null}function F(e,t){const s=ht(e);if(s===null||t.reserved?.includes(s))return e;const r=new URL(e);return`${t.pattern.replace("{port}",String(s)).replace(/\/+$/,"")}${r.pathname}${r.search}${r.hash}`}const X=new Set(["127.0.0.1","localhost"]);function te(e,t){const s="allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox";let r=!0;try{r=new URL(e).origin===t}catch{}return r?s:`${s} allow-same-origin`}const mt=e=>Number.isInteger(e)&&e>=1&&e<=65535;function ft(e){const t=URL.parse(e);if(!t||t.protocol!=="http:"||t.username||t.password||!X.has(t.hostname.toLowerCase()))return null;const s=t.port?Number(t.port):80;return mt(s)?s:null}function pt(e,t,s){const r=t?ft(e):null;if(r===null||!t)return e;const n=s.port||(s.protocol==="https:"?"443":"80");if(X.has(s.hostname.toLowerCase())&&String(r)===n)return e;const i=new URL(e),a=t.replace("{port}",String(r));return`${s.protocol}//${a}${s.port?`:${s.port}`:""}${i.pathname}${i.search}${i.hash}`}class gt{#t=g(null);get to(){return l(this.#t)}set to(t){m(this.#t,t,!0)}#e=g(null);get remote(){return l(this.#e)}set remote(t){m(this.#e,t,!0)}#s=g(null);get hosted(){return l(this.#s)}set hosted(t){m(this.#s,t,!0)}get active(){return!!(this.remote||this.hosted||this.to)}view(t){return this.remote?D(t,this.remote,location.origin):this.hosted?F(t,this.hosted):this.to?pt(t,this.to,location):t}sandbox(t){return this.remote?D(t,this.remote,location.origin):this.hosted&&dt(this.hosted.pattern)?F(t,{pattern:this.hosted.pattern}):t}}const R=new gt;function ee(e){const t=r=>{if(!R.active)return;const n=r.composedPath().find(a=>a instanceof HTMLAnchorElement&&a.hasAttribute("href"));if(!n)return;const i=R.view(n.href);i!==n.href&&(n.href=i)},s=["click","auxclick","contextmenu","dragstart"];for(const r of s)e.addEventListener(r,t,!0);return()=>{for(const r of s)e.removeEventListener(r,t,!0)}}async function yt(e,t,s,r=`wh-${crypto.randomUUID()}`){try{const n=await fetch(`/api/plugins/${encodeURIComponent(e)}/feedback`,{method:"POST",headers:{"content-type":"application/json","idempotency-key":r,[A]:s},body:JSON.stringify(t)});if(n.ok){const a=await n.json().catch(()=>null);return a?.message?.delivery==="failed"?{ok:!1,error:a.message.deliveryDetail??"Firstmate did not take the list."}:{ok:!0,pending:n.status===202}}return{ok:!1,error:(await n.json().catch(()=>null))?.message??`Wheelhouse answered ${n.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}async function kt(e,t,s){try{const r=await fetch(`/api/plugins/${encodeURIComponent(e)}/feedback/summary`,{method:"POST",headers:{"content-type":"application/json",[A]:s},body:JSON.stringify(t)}),n=await r.json().catch(()=>null);return r.ok&&Array.isArray(n?.points)?{ok:!0,points:n.points}:{ok:!1,error:n?.message??`Wheelhouse answered ${r.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}const bt=e=>new URLSearchParams({plugin:e.plugin,service:e.service,...e.project?{project:e.project}:{}}).toString();async function wt(e){try{const t=await fetch(`/api/services?${bt(e)}`);return t.ok?await t.json():null}catch{return null}}async function vt(e,t,s=null){const r=window.open("","_blank");try{r?.document.write('<!doctype html><title>Starting…</title><body style="font:15px system-ui;margin:3rem;color:#14213d;background:#f6f2e9">Wheelhouse is starting it; this tab opens it when it answers.</body>')}catch{}let n=null;try{const a=await fetch("/api/services",{method:"POST",headers:{"content-type":"application/json",[A]:t},body:JSON.stringify({plugin:e.plugin,service:e.service,project:e.project??null})});n=a.ok?await a.json():{...await a.json().catch(()=>({})),state:"failed",reason:`Wheelhouse could not start it (${a.status}).`}}catch{n=null}const i=n?.state==="running"?s??n.url:null;if(i){const a=R.view(i);r?r.location.href=a:window.open(a,"_blank")}else r?.close();return n}const St=5e3,U=new Map;function xt(e,t){let s=U.get(e);return s||(s=t(e).catch(r=>{throw U.delete(e),r}),U.set(e,s)),s}const J=()=>typeof navigator>"u"||!navigator.userActivation?!0:navigator.userActivation.isActive;function _t(e,t){const s=e.pluginId,r=(i,a)=>{if(typeof i!="string"||!i)throw new TypeError("Name a service.");const d=a===void 0?e.projectId:a;return{plugin:s,service:i,project:typeof d=="string"&&d?d:null}},n=i=>{const a=typeof i=="object"&&i!==null?i:{},d=typeof a.task=="string"&&a.task?a.task:e.taskId??null;return d?{taskId:d,subject:typeof a.subject=="string"?a.subject:null,items:Array.isArray(a.items)?a.items:[]}:null};return Object.freeze({pluginId:s,service:async(i,a={})=>t.status(r(i,a.project)),launch:async(i,a={})=>t.launch(r(i,a.project),t.token(),typeof a.open=="string"?a.open:null),sendFeedback:async i=>{if(!(t.clicked??J)())return{ok:!1,error:"Feedback is sent only when the captain clicks to send it."};const a=n(i);return a?t.feedback(s,a,t.token()):{ok:!1,error:"Name the task the feedback is about."}},summariseFeedback:async i=>{if(!(t.clicked??J)())return{ok:!1,error:"Feedback is summarised only when the captain clicks to."};if(!t.summarise)return{ok:!1,error:"This page cannot summarise feedback."};const a=n(i);return a?t.summarise(s,a,t.token()):{ok:!1,error:"Name the task the feedback is about."}}})}async function Et(e,t){if(!customElements.get(t.tag)){if(!t.ui)throw new Error("this Wheelhouse has no UI bundle for it");try{await xt(t.ui,t.importer??(n=>import(n)))}catch(n){throw new Error(`its UI bundle did not load (${n instanceof Error?n.message:String(n)})`)}let r;try{await Promise.race([customElements.whenDefined(t.tag),new Promise((n,i)=>{r=setTimeout(()=>i(new Error(`its UI bundle does not define <${t.tag}>`)),t.timeoutMs??St)})])}finally{clearTimeout(r)}}const s=document.createElement(t.tag);return t.host&&(s.host=t.host),s.entry=t.entry,s.data=t.data,e.append(s),s}var Tt=V('<p class="text-sm text-muted-foreground"> </p>'),At=V('<div class="contents"></div> <!>',1);function se(e,t){Y(t,!0);let s=P(t,"preview",3,void 0),r=P(t,"quiet",3,!1);const n=_(()=>"element"in t.entry.render?t.entry.render.element:""),i=_(()=>t.entry.ui??null);let a=g(null),d=g(null),b=g(null);q(()=>{if(!l(a)||!l(n))return;const k=l(a);let v=!1,T=null;return m(b,null),Et(k,{tag:l(n),ui:l(i),data:L(()=>t.data),entry:L(()=>t.entry),host:_t(L(()=>t.entry),{status:wt,launch:vt,feedback:yt,summarise:kt,token:()=>at.data.sessionToken??""}),importer:t.importer}).then(o=>{T=o,v?o.remove():m(d,o,!0)},o=>{v||m(b,o.message,!0)}),()=>{v=!0,T?.remove(),m(d,null)}}),q(()=>{l(d)&&(s()!==void 0&&(l(d).preview=s()),l(d).entry=t.entry,l(d).data=t.data)});var y=At(),x=Z(y);it(x,k=>m(a,k),()=>l(a));var E=tt(x,2);{var w=k=>{var v=Tt(),T=st(v);N(()=>nt(T,`Not available. The ${t.entry.pluginId??""} plugin’s element could not be shown: ${l(b)??""}.`)),W(k,v)};rt(E,k=>{l(b)&&!r()&&k(w)})}N(()=>ot(x,"data-plugin-element",l(n))),W(e,y),et()}const jt=/^(captain[,.!]?\s*)?(shipshape|all (is )?well|all quiet|nothing (new )?to report)[.!]?$/i,H=/^\[Request interrupted by user/,It=/\u001b\[[0-9;?]*[A-Za-z]/g,O=e=>String(e??"").split("/").filter(Boolean).pop()??"",M=e=>String(e??"").split(`
|
|
2
2
|
`)[0].trim(),$t=e=>{try{return new URL(String(e)).host}catch{return String(e??"")}};function Lt(e,t){switch(e){case"Bash":return{verb:"Ran",summary:t.description||M(t.command),noun:["command","commands"]};case"Read":return{verb:"Read",summary:O(t.file_path),noun:["file read","files read"]};case"Edit":case"MultiEdit":return{verb:"Edited",summary:O(t.file_path),noun:["edit","edits"]};case"Write":return{verb:"Wrote",summary:O(t.file_path),noun:["file written","files written"]};case"Grep":return{verb:"Searched code for",summary:String(t.pattern??""),noun:["code search","code searches"]};case"Glob":return{verb:"Listed files",summary:String(t.pattern??""),noun:["file listing","file listings"]};case"WebSearch":return{verb:"Searched the web for",summary:String(t.query??""),noun:["web search","web searches"]};case"WebFetch":return{verb:"Read page",summary:$t(t.url),noun:["page read","pages read"]};case"Skill":return{verb:"Used skill",summary:String(t.skill??""),noun:["skill","skills"]};case"ToolSearch":return{verb:"Loaded tools",summary:M(t.query),noun:["tool lookup","tool lookups"]};case"Agent":case"Task":return{verb:"Asked a helper",summary:t.description||M(t.prompt),noun:["helper","helpers"]};case"TodoWrite":return{verb:"Updated the plan",summary:"",noun:["plan update","plan updates"]};case"SendMessage":return{verb:"Messaged",summary:String(t.to??""),noun:["message","messages"]};default:{const s=e.match(/^mcp__(.+?)__(.+)$/);return s?{verb:"Used",summary:`${s[2].replace(/_/g," ")} (${s[1]})`,noun:["tool call","tool calls"]}:{verb:"Used",summary:e,noun:["tool call","tool calls"]}}}}function Ut(e){return typeof e=="string"?e:Array.isArray(e)?e.map(t=>t?.type==="text"?String(t.text??""):t?.type==="image"?"[image]":t?.type==="tool_reference"?`[tool: ${t.tool_name??""}]`:`[${t?.type??"item"}]`).join(`
|
|
3
3
|
`):""}const I=e=>e.replace(/<system-reminder>[\s\S]*?<\/system-reminder>/g,"").replace(/<\/?pasted_content(?:\s+id="[^"]*")?\s*>\n?/g,"").trim(),Ot=/<system-reminder>\s*The user sent a new message while you were working:\n([\s\S]*?)(?:\n\nThis is how Claude Code (?:(?!\n\n)[\s\S])*)?\s*<\/system-reminder>/,B=e=>{const t=e.match(Ot);return t&&I(t[1])||null};function $(e,t){const s=e.match(new RegExp(`<${t}>([\\s\\S]*?)</${t}>`));return s?s[1].trim():null}function Q(e){const t=$(e,"command-name");if(!t)return null;const s=$(e,"command-args");return s?`${t} ${s}`:t}function Mt(e){return(Array.isArray(e?.questions)?e.questions:[]).map(s=>({header:String(s?.header??""),question:String(s?.question??""),multiSelect:s?.multiSelect===!0,options:(Array.isArray(s?.options)?s.options:[]).map(r=>({label:String(r?.label??""),description:String(r?.description??"")}))}))}function Rt(e,t){const s=e.toolUseResult?.answers;if(s&&typeof s=="object")return Object.fromEntries(Object.entries(s).map(([n,i])=>[n,String(i)]));const r={};for(const n of t.matchAll(/"([^"]+)"="([^"]*)"/g))r[n[1]]=n[2];return r}function qt(e){const t=[],s=new Map,r=new Map;let n=null,i=null,a=null,d=null,b=!1;const y=()=>{i=null},x=o=>(i||(i={kind:"turn",id:o.uuid,parts:[],at:o.timestamp,durationMs:null,done:!1,interrupted:!1,trigger:b?"background":"captain"},b=!1,t.push(i),a=i),i),E=o=>{const p=x(o),u=p.parts[p.parts.length-1];if(u?.kind==="activity")return u;const c={kind:"activity",id:`${o.uuid}-a`,steps:[]};return p.parts.push(c),c},w=(o,p,u={})=>{y(),b=!1,t.push({kind:"user",id:o.uuid,text:p,at:o.timestamp,queued:!!u.queued,command:!!u.command})},k=(o,p,u,c=o.uuid)=>{i&&E(o).steps.push({kind:"context",id:c,label:p,detail:u})};for(const o of e){if(!o||typeof o!="object"||o.isSidechain)continue;const p=o.timestamp??null;switch(o.type){case"ai-title":n=o.aiTitle??n;break;case"user":{const u=o.message?.content;if(typeof u=="string")if(o.origin?.kind==="task-notification"||u.trimStart().startsWith("<task-notification>"))y(),b=!0;else if(o.isMeta){const c=B(u);c?w(o,c,{queued:!0}):k(o,"Context added",u)}else if(H.test(u.trim()))a&&(a.interrupted=!0);else{const c=Q(u);if(c)w(o,c,{command:!0});else if(!u.includes("<local-command-stdout>")){const h=I(u);h&&w(o,h)}}else if(Array.isArray(u))for(const c of u)if(c?.type==="tool_result"){const h=Ut(c.content),f=s.get(c.tool_use_id);f&&(f.result=h,f.isError=!!c.is_error);const S=r.get(c.tool_use_id);S&&(S.answers=c.is_error?{}:Rt(o,h))}else if(c?.type==="text"){const h=String(c.text??""),f=B(h);if(H.test(h.trim()))a&&(a.interrupted=!0);else if(f)w(o,f,{queued:!0});else if(o.isMeta||o.sourceToolUseID){const S=h.startsWith("Base directory for this skill")?"Skill instructions loaded":"Context added";k(o,S,h,`${o.uuid}-${S}`)}else{const S=I(h);S&&w(o,S)}}else c?.type==="image"&&w(o,"[image]");break}case"assistant":{for(const u of o.message?.content??[])if(u?.type==="thinking"||u?.type==="redacted_thinking"){const c=d&&p?Date.parse(p)-Date.parse(d):null;E(o).steps.push({kind:"thinking",id:`${o.uuid}-th`,ms:c})}else if(u?.type==="tool_use"&&u.name==="AskUserQuestion"){const c={kind:"question",id:u.id,questions:Mt(u.input),answers:null};r.set(u.id,c),x(o).parts.push(c)}else if(u?.type==="tool_use"){const c=Lt(String(u.name),u.input??{}),h={kind:"tool",id:u.id,name:String(u.name),...c,input:u.input,result:null,isError:!1};s.set(u.id,h),E(o).steps.push(h)}else if(u?.type==="text"){if(!String(u.text??"").trim())continue;x(o).parts.push({kind:"text",id:`${o.uuid}-t`,text:u.text})}break}case"attachment":{const u=o.attachment??{};if(u.type==="queued_command"&&typeof u.prompt=="string"&&(u.commandMode??"prompt")==="prompt"){const c=I(u.prompt);c&&w(o,c,{queued:!0})}else if(u.type==="hook_additional_context"){const c=Array.isArray(u.content)?u.content.join(`
|
|
4
4
|
`):String(u.content??"");k(o,`Hook added context${u.hookEvent?` (${u.hookEvent})`:""}`,c)}break}case"system":{if(o.subtype==="turn_duration")a&&(a.durationMs=o.durationMs??null,a.done=!0),y();else if(o.subtype==="away_summary")y(),t.push({kind:"notice",id:o.uuid,title:"While you were away",detail:String(o.content??""),at:o.timestamp});else if(o.subtype==="local_command"){const u=String(o.content??""),c=$(u,"local-command-stdout")??$(u,"local-command-stderr"),h=Q(u);if(h)w(o,h,{command:!0});else if(c!==null){const f=c.replace(It,"").trim();f&&t.push({kind:"output",id:o.uuid,text:f,at:o.timestamp})}}break}}p&&(d=p)}const v=[];return{items:t.filter((o,p)=>{if(o.kind!=="turn"||o.trigger!=="background")return!0;const u=o.parts.filter(f=>f.kind==="text").map(f=>f.text).join(`
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{s as _e,r as me,p as K}from"./BAOiF0in.js";import{I as ze,t as Wt}from"./xH4qmLqM.js";import{p as et}from"./
|
|
1
|
+
import"./DsnmJJEf.js";import{s as _e,r as me,p as K}from"./BAOiF0in.js";import{I as ze,t as Wt}from"./xH4qmLqM.js";import{p as et}from"./0RGfo0js.js";import{a as Ft,o as Et}from"./RYq3318d.js";import{k as Kt,A as Ut,m as A,q as it,g as t,v as w,l as lt,p as Fe,u as We,h as d,s as v,r as l,t as P,a as f,b as Ke,i as b,aB as Bt,o as U,d as q,j as Be,f as De,c as m,y as N,n as fe,bF as Mt,z as Yt,G as gt,x as Dt,aC as Gt}from"./BuRWgnCz.js";import{i as z}from"./BDpRITyb.js";import{a as Pe,s as R,f as Jt,d as ut,l as Vt,e as nt,i as Xt,r as Qt,b as Zt}from"./Cwb6d3g_.js";import{b as Ge}from"./BWRIDih-.js";import{z as ea}from"./DJNADPa5.js";import{a as Pt,f as ta,s as aa,P as ra}from"./Y3845wkB.js";import{c as na}from"./Cwq50RB4.js";import{p as st}from"./fuBLR9dZ.js";import{k as sa,X as Ye}from"./rS7QE60d.js";import{R as At}from"./nW7-TN7t.js";import{E as Lt}from"./IuxiJfHx.js";import{h as ia,m as oa}from"./CFTDQcgN.js";import{a as Rt}from"./BMFk7aZ6.js";import{S as la}from"./BXN538J3.js";import{c as Nt}from"./DYbDyf3M.js";import{M as pt}from"./DxdQiNse.js";import{A as da}from"./C0iYpbLa.js";import{C as ca}from"./C6T16bV1.js";import{C as ua}from"./cmRB1an4.js";import{P as xt}from"./DNc9cRsu.js";import{s as va,a as bt}from"./BT_DAfvO.js";class mt{#e=new WeakMap;#t;#r;static entries=new WeakMap;constructor(e){this.#r=e}observe(e,a){var r=this.#e.get(e)||new Set;return r.add(a),this.#e.set(e,r),this.#s().observe(e,this.#r),()=>{var s=this.#e.get(e);s.delete(a),s.size===0&&(this.#e.delete(e),this.#t.unobserve(e))}}#s(){return this.#t??(this.#t=new ResizeObserver(e=>{for(var a of e){mt.entries.set(a.target,a);for(var r of this.#e.get(a.target)||[])r(a)}}))}}var ha=new mt({box:"border-box"});function wt(n,e,a){var r=ha.observe(n,()=>a(n[e]));Kt(()=>(Ut(()=>a(n[e])),r))}var pa=new Set(["$$slots","$$events","$$legacy"]);function In(n,e){let a=me(e,pa);const r={name:"compass",size:24,node:[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var fa=new Set(["$$slots","$$events","$$legacy"]);function vt(n,e){let a=me(e,fa);const r={name:"crosshair",size:24,node:[["circle",{cx:"12",cy:"12",r:"10"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var ma=new Set(["$$slots","$$events","$$legacy"]);function _t(n,e){let a=me(e,ma);const r={name:"maximize-2",size:24,node:[["path",{d:"M15 3h6v6"}],["path",{d:"m21 3-7 7"}],["path",{d:"m3 21 7-7"}],["path",{d:"M9 21H3v-6"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var ga=new Set(["$$slots","$$events","$$legacy"]);function xa(n,e){let a=me(e,ga);const r={name:"mic",size:24,node:[["path",{d:"M12 19v3"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var ba=new Set(["$$slots","$$events","$$legacy"]);function yt(n,e){let a=me(e,ba);const r={name:"monitor-off",size:24,node:[["path",{d:"M12 17v4"}],["path",{d:"M17 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 1.184-1.826"}],["path",{d:"m2 2 20 20"}],["path",{d:"M8 21h8"}],["path",{d:"M8.656 3H20a2 2 0 0 1 2 2v10a2 2 0 0 1-.293 1.042"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var wa=new Set(["$$slots","$$events","$$legacy"]);function kt(n,e){let a=me(e,wa);const r={name:"monitor-play",size:24,node:[["path",{d:"M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z"}],["path",{d:"M12 17v4"}],["path",{d:"M8 21h8"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var _a=new Set(["$$slots","$$events","$$legacy"]);function ya(n,e){let a=me(e,_a);const r={name:"monitor",size:24,node:[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var ka=new Set(["$$slots","$$events","$$legacy"]);function za(n,e){let a=me(e,ka);const r={name:"mouse-pointer-click",size:24,node:[["path",{d:"M14 4.1 12 6"}],["path",{d:"m5.1 8-2.9-.8"}],["path",{d:"m6 12-1.9 2"}],["path",{d:"M7.2 2.2 8 5.1"}],["path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var Sa=new Set(["$$slots","$$events","$$legacy"]);function $a(n,e){let a=me(e,Sa);const r={name:"panel-right-close",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}],["path",{d:"M15 3v18"}],["path",{d:"m8 9 3 3-3 3"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var Ta=new Set(["$$slots","$$events","$$legacy"]);function Ca(n,e){let a=me(e,Ta);const r={name:"send",size:24,node:[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z"}],["path",{d:"m21.854 2.147-10.94 10.939"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var Ea=new Set(["$$slots","$$events","$$legacy"]);function Ma(n,e){let a=me(e,Ea);const r={name:"smartphone",size:24,node:[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2"}],["path",{d:"M12 18h.01"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var Da=new Set(["$$slots","$$events","$$legacy"]);function Pa(n,e){let a=me(e,Da);const r={name:"square",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}const Aa="{url}";function La(n,e,a){const r=e&&Object.hasOwn(n,e)?n[e]:null;return typeof r!="string"?{href:a.url,external:!0}:{href:r.replace(Aa,encodeURIComponent(a.url)),external:!1}}const Hn={review(n,e){const a=et.data?.pullRequestTabs??{};return La(a,n,e)}},Ra=15e3,Ot=n=>`url:${n}`,Na=n=>n.startsWith("url:")?`/api/previews/check?url=${encodeURIComponent(n.slice(4))}`:`/api/tasks/${encodeURIComponent(n)}/preview`,Oa=5e3;class Ia{#e=A(it({}));get checks(){return t(this.#e)}set checks(e){w(this.#e,e,!0)}#t=A(it({}));get failed(){return t(this.#t)}set failed(e){w(this.#t,e,!0)}watching=new Map;running=new Map;unlisten=null;stopped(e){return this.checks[e]?.state==="down"}watch(e){const a=this.watching.get(e);a?a.count++:(this.watching.set(e,{count:1,timer:null}),this.refresh(e)),this.listen();let r=!1;return()=>{if(r)return;r=!0;const s=this.watching.get(e);!s||--s.count>0||(s.timer&&clearTimeout(s.timer),this.watching.delete(e),this.watching.size||(this.unlisten?.(),this.unlisten=null))}}refresh(e){const a=this.running.get(e);if(a)return a;const r=this.load(e).finally(()=>{this.running.delete(e),this.schedule(e)});return this.running.set(e,r),r}clear(){for(const e of this.watching.values())e.timer&&clearTimeout(e.timer);this.watching.clear(),this.unlisten?.(),this.unlisten=null,this.checks={},this.failed={}}async load(e){try{const a=await fetch(Na(e));if(!a.ok)throw new Error(String(a.status));this.checks[e]=await a.json(),this.failed[e]=!1}catch{this.failed[e]=!0}}schedule(e){const a=this.watching.get(e);if(!a)return;a.timer&&clearTimeout(a.timer);const r=this.checks[e]?.state==="live"?Ra:Oa;a.timer=setTimeout(()=>{a.timer=null,document.visibilityState!=="hidden"&&this.refresh(e)},r)}listen(){if(this.unlisten)return;const e=()=>{if(document.visibilityState!=="hidden")for(const a of this.watching.keys())this.refresh(a)};window.addEventListener("focus",e),document.addEventListener("visibilitychange",e),this.unlisten=()=>{window.removeEventListener("focus",e),document.removeEventListener("visibilitychange",e)}}}const Qe=new Ia,It=()=>et.data.reviewSurface??null,zt=500,Ze=n=>n.replace(/\s+/g," ").trim(),Ha=(n,e)=>n.length>e?n.slice(0,e-1).trimEnd()+"…":n;function ht(n){const e=n.y<.3333333333333333?"top":n.y<.6666666666666666?"middle":"bottom",a=n.x<1/3?"left":n.x<2/3?"":"right";return e==="middle"&&!a?"the middle":`the ${e}${a?` ${a}`:""}`}const qa={button:"button",a:"link",input:"box",textarea:"box",select:"menu",img:"picture",h1:"heading",h2:"heading",h3:"heading",h4:"heading",label:"label",li:"item"};function ja(n,e,a){const r=n?.closest('button, a, input, textarea, select, img, h1, h2, h3, h4, label, li, [role="button"]')??n;if(r&&r.tagName!=="HTML"&&r.tagName!=="BODY"){const s=r.tagName.toLowerCase(),o=r.getAttribute("role")==="button"?"button":qa[s]??"part of the page",i=Ha(Ze(r.value||r.getAttribute("aria-label")||r.getAttribute("alt")||r.textContent||""),60);return{kind:"element",label:i?`the “${i}” ${o}`:`a ${o} near ${ht(e)}`,detail:`<${s}>${i?` “${i}”`:""}, near ${ht(e)} of the page`}}return{kind:"spot",label:`a spot near ${ht(e)} of the page`,detail:`${Math.round(e.x*100)}% across and ${Math.round(e.y*100)}% down the part of the page in view (${a.w}×${a.h})`}}const Wa=/^Preview feedback for (\S+) \((.+)\), sent together from the Preview tab \(([^)\n]*)\):$/,Fa=/^Feedback for (\S+) \((.+)\), sent together from the “([^“”\n]+)” plugin \(([a-z][a-z0-9-]*)\)(?:, about (.+))?:$/,Ka="Firstmate: pass these to this task’s worker, the same task (start no new one). You may add notes of your own, marked as yours.",Ua=n=>n.flatMap((e,a)=>[`${a+1}. ${Ze(e.text)}`,...e.points&&Ze(e.points)?[` Points at: ${Ze(e.points)}`]:[]]);function Ba(n,e,a){return[`Preview feedback for ${n.id} (${Ze(n.title)}), sent together from the Preview tab (${e}):`,...Ua(a.map(r=>({text:r.text,points:r.points?.label??null}))),"",Ka].join(`
|
|
2
2
|
`)}function qn(n){const e=n.replace(/\r\n?/g,`
|
|
3
3
|
`).split(`
|
|
4
4
|
`),a=Wa.exec(e[0]??""),r=a?null:Fa.exec(e[0]??""),s=a??r;if(!s)return null;const o=[];for(const i of e.slice(1)){const c=/^\d+\. (.+)$/.exec(i);if(c){o.push({text:c[1],points:null});continue}const u=/^ {3}Points at: (.+)$/.exec(i);u&&o.length&&(o[o.length-1].points=u[1])}return o.length?{taskId:s[1],title:s[2],url:a?a[3]:null,plugin:r?{id:r[4],name:r[3],subject:r[5]??null}:null,items:o}:null}var Ya=m('<button type="button" class="rounded p-1 hover:bg-accent hover:text-foreground max-md:grid max-md:size-11 max-md:place-items-center"><!></button>'),Ga=m('<a target="_blank" rel="noreferrer" class="inline-flex shrink-0 items-center gap-1 rounded px-1 py-0.5 text-sea hover:underline max-md:min-h-11">Open in new tab<!></a>'),Ja=m('<button type="button" class="inline-flex shrink-0 items-center gap-1 rounded px-1.5 py-0.5 font-medium text-foreground hover:bg-accent max-md:min-h-11" data-preview-fullscreen=""><!>Full screen</button>'),Va=m('<div class="flex items-center gap-2 text-xs text-muted-foreground"><span class="min-w-0 flex-1 truncate font-mono"> </span> <!> <!> <!></div>'),Xa=m('<iframe referrerpolicy="no-referrer" loading="lazy"></iframe>'),Qa=m('<button type="button" class="absolute inset-0 cursor-zoom-in" aria-label="Open the preview full size" data-preview-open=""><span class="absolute right-2.5 bottom-2.5 flex items-center gap-1.5 rounded-md border border-hair bg-card/95 px-2 py-1 text-xs font-medium text-foreground opacity-0 shadow-sm transition-opacity group-focus-within:opacity-100 group-hover:opacity-100"><!>Open full size</span></button>'),Za=m("<!> <!>",1),er=m('<button type="button" class="absolute inset-0 cursor-crosshair bg-sea/5 ring-2 ring-sea ring-inset" aria-label="Point at part of the page" data-preview-pointing=""><span class="pointer-events-none absolute top-3 left-1/2 flex -translate-x-1/2 items-center gap-2 rounded-full bg-sea px-3.5 py-1.5 text-sm text-on-accent shadow-lg"><!>Click the part you mean</span></button>'),tr=m('<span class="pointer-events-none absolute size-5 -translate-x-1/2 -translate-y-1/2 rounded-full border-2 border-white bg-sea shadow-md ring-2 ring-sea/40" aria-hidden="true" data-preview-pin=""></span>'),ar=m('<iframe referrerpolicy="no-referrer"></iframe> <!>',1),rr=m('<span class="block text-xs"> </span>'),nr=m('<div class="flex items-start gap-2.5 px-4 py-3 text-muted-foreground" data-preview-notice=""><!> <p class="min-w-0 text-sm"><span> </span> <!></p></div>'),sr=m('<p class="text-sm"> </p>'),ir=m('<!> <p class="mt-2 text-sm font-medium"> </p> <p class="mt-1 text-xs"> </p>',1),or=m('<div class="grid size-full place-items-center p-4 text-center text-muted-foreground" data-preview-notice=""><div><!></div></div>'),lr=m("<div><!> <div><!></div></div>");function dr(n,e){Fe(e,!0);let a=K(e,"taskId",3,null),r=K(e,"url",3,null),s=K(e,"compact",3,!1),o=K(e,"fill",3,!1),i=K(e,"desktop",3,!1),c=K(e,"toolbar",3,!0),u=K(e,"pointing",3,!1),g=K(e,"pin",3,null),C=A(null);function B($){const S=$.currentTarget.getBoundingClientRect(),W=$.clientX-S.left,V=$.clientY-S.top;let F=null;const be=t(Se)?t(ve):1;try{F=t(C)?.contentDocument?.elementFromPoint(W/be,V/be)??null}catch{F=null}const X={x:S.width?W/S.width:0,y:S.height?V/S.height:0};e.onpoint?.(ja(F,X,{w:Math.round(S.width),h:Math.round(S.height)}),X)}const re={w:1280,h:800};let ge=A(0),ee=A(0),I=A(0);const ie=b(()=>a()??Ot(r()??""));We(()=>Qe.watch(t(ie)));const O=b(()=>Qe.checks[t(ie)]??null),ye=b(()=>!!Qe.failed[t(ie)]),j=b(()=>t(O)?.state==="live"),ne=b(()=>t(O)?.url??null),oe=b(()=>t(ne)&&t(O)?Pt.view(t(ne)):null),te=b(()=>t(oe)?ta(t(oe),location.origin):""),ve=b(()=>t(ee)?t(ee)/re.w:0),Se=b(()=>o()&&i()&&t(ve)>0&&t(ve)<1);function Ae(){Bt(ge),Qe.refresh(t(ie))}var Ee={reload:Ae},$e=lr(),xe=d($e);{var Le=$=>{var S=Va(),W=d(S),V=U(W,!0),F=v(W,2);{var be=T=>{var D=Ya(),G=d(D);At(G,{class:"size-3.5"}),l(D),P(()=>{R(D,"aria-label",t(j)?"Reload the preview":"Check the preview again"),R(D,"title",t(j)?"Reload":"Check again")}),N("click",D,Ae),f(T,D)};z(F,T=>{(t(j)||t(O)?.state==="blocked"||t(O)?.state==="down")&&T(be)})}var X=v(F,2);{var ke=T=>{var D=Ga(),G=v(d(D));Lt(G,{class:"size-3.5","aria-hidden":"true"}),l(D),P(()=>R(D,"href",t(oe))),f(T,D)};z(X,T=>{(t(j)||t(O)?.state==="blocked")&&T(ke)})}var Q=v(X,2);{var Y=T=>{var D=Ja(),G=d(D);_t(G,{class:"size-3.5","aria-hidden":"true"}),fe(),l(D),N("click",D,function(...J){e.onfullscreen?.apply(this,J)}),f(T,D)};z(Q,T=>{e.onfullscreen&&t(j)&&T(Y)})}l(S),P(()=>{R(W,"title",t(ne)??void 0),q(V,t(ne)??"Live preview")}),f($,S)};z(xe,$=>{c()&&$(Le)})}var he=v(xe,2),y=d(he);{var L=$=>{var S=Be(),W=De(S);sa(W,()=>`${t(oe)} ${t(ge)}`,V=>{var F=Be(),be=De(F);{var X=Q=>{var Y=Za(),T=De(Y);{var D=E=>{var k=Xa();P(()=>{R(k,"src",t(oe)),R(k,"title",`Live preview of ${t(ne)??""}`),R(k,"sandbox",t(te)),k.inert=!!e.onopen,Pe(k,1,`absolute top-0 left-0 origin-top-left border-0 bg-white ${e.onopen?"pointer-events-none":""}`),ut(k,`width:${re.w}px;height:${re.h}px;transform:scale(${t(ve)??""})`)}),f(E,k)};z(T,E=>{t(ve)&&E(D)})}var G=v(T,2);{var J=E=>{var k=Qa(),se=d(k),Z=d(se);_t(Z,{class:"size-3.5","aria-hidden":"true"}),fe(),l(se),l(k),N("click",k,function(...x){e.onopen?.apply(this,x)}),f(E,k)};z(G,E=>{e.onopen&&E(J)})}f(Q,Y)},ke=Q=>{var Y=ar(),T=De(Y);Ge(T,E=>w(C,E),()=>t(C));var D=v(T,2);{var G=E=>{var k=er(),se=d(k),Z=d(se);za(Z,{class:"size-4","aria-hidden":"true"}),fe(),l(se),l(k),N("click",k,B),f(E,k)},J=E=>{var k=tr();P(()=>ut(k,`left:${g().x*100}%;top:${g().y*100}%`)),f(E,k)};z(D,E=>{u()?E(G):g()&&E(J,1)})}P(()=>{R(T,"src",t(oe)),R(T,"title",`Live preview of ${t(ne)??""}`),R(T,"sandbox",t(te)),Pe(T,1,Jt(t(Se)?"absolute top-0 left-0 origin-top-left border-0 bg-white":"size-full border-0 bg-white")),ut(T,t(Se)?`width:${re.w}px;height:${t(I)/t(ve)}px;transform:scale(${t(ve)})`:void 0)}),f(Q,Y)};z(be,Q=>{s()?Q(X):Q(ke,-1)})}f(V,F)}),f($,S)},le=$=>{const S=b(()=>!t(O)&&!t(ye)),W=b(()=>t(S)?"Checking the preview…":t(ye)?"Could not check the preview":t(O)?.state==="down"?"Preview stopped":t(O)?.state==="blocked"?"Preview cannot be embedded":t(O)?.state==="refused"?"Preview not shown here":"No live preview reported"),V=b(()=>t(S)?"":t(ye)?"Wheelhouse did not answer; it will try again.":t(O)?.state==="blocked"?`${t(O).reason} Open it in a new tab instead.`:t(O)?.reason??"");var F=Be(),be=De(F);{var X=Q=>{var Y=nr(),T=d(Y);{var D=Z=>{yt(Z,{class:"mt-0.5 size-4 shrink-0","aria-hidden":"true"})};z(T,Z=>{t(S)||Z(D)})}var G=v(T,2),J=d(G),E=U(J,!0),k=v(J,2);{var se=Z=>{var x=rr(),_=U(x,!0);P(()=>q(_,t(V))),f(Z,x)};z(k,Z=>{t(V)&&Z(se)})}l(G),l(Y),P(()=>{Pe(J,1,`font-medium ${t(S)?"":"text-foreground"}`),q(E,t(W))}),f(Q,Y)},ke=Q=>{var Y=or(),T=d(Y),D=d(T);{var G=E=>{var k=sr(),se=U(k,!0);P(()=>q(se,t(W))),f(E,k)},J=E=>{var k=ir(),se=De(k);yt(se,{class:"mx-auto size-6","aria-hidden":"true"});var Z=v(se,2),x=U(Z,!0),_=v(Z,2),ce=U(_,!0);P(()=>{q(x,t(W)),q(ce,t(V))}),f(E,k)};z(D,E=>{t(S)?E(G):E(J,-1)})}l(T),l(Y),f(Q,Y)};z(be,Q=>{s()?Q(X):Q(ke,-1)})}f($,F)};z(y,$=>{t(j)&&t(oe)?$(L):$(le,-1)})}return l(he),l($e),P(()=>{Pe($e,1,`min-w-0 ${o()?"flex h-full flex-col":""}`),R($e,"data-live-preview",t(O)?.state??"checking"),Pe(he,1,`group relative w-full overflow-hidden bg-muted/40 ${c()?"mt-1.5 rounded-lg border":""} ${s()?t(j)?"aspect-[16/10]":"":o()?"min-h-0 flex-1":t(j)?"h-[70vh] min-h-80":"h-40"}`)}),wt(he,"clientWidth",$=>w(ee,$)),wt(he,"clientHeight",$=>w(I,$)),f(n,$e),Ke(Ee)}lt(["click"]);const St="wheelhouse-preview-helper",Ht=()=>({said:[],list:[],asking:!1,error:null,sent:null}),cr=Object.freeze(Ht()),Xe=()=>crypto.randomUUID();class ur{#e=A(it({}));get byTask(){return t(this.#e)}set byTask(e){w(this.#e,e,!0)}loaded=!1;load(){if(!this.loaded){this.loaded=!0;try{const e=JSON.parse(localStorage.getItem(St)??"{}");if(e&&typeof e=="object"){for(const a of Object.values(e))a.asking=!1;this.byTask=e}}catch{this.byTask={}}}}save(){try{localStorage.setItem(St,JSON.stringify(this.byTask))}catch{}}view(e){return this.byTask[e]??cr}of(e){return this.load(),this.byTask[e]||(this.byTask[e]=Ht()),this.byTask[e]}async ask(e,a,r,s){const o=this.of(e),i=a.trim();if(!i&&!r||o.asking)return;o.said.push({id:Xe(),who:"captain",text:i||"What about this?",points:r}),o.asking=!0,o.error=null,this.save();const c=o.said.filter(u=>!u.notice).map(u=>({who:u.who,text:u.text,points:u.points??null}));try{const u=await fetch(`/api/tasks/${encodeURIComponent(e)}/preview/helper`,{method:"POST",headers:{"content-type":"application/json",[la]:s},body:JSON.stringify({turns:c,list:o.list.map(C=>C.text)})}),g=await u.json().catch(()=>null);!u.ok||!g?.reply?o.error=g?.message??`The helper could not answer (${u.status}).`:o.said.push({id:Xe(),who:"helper",text:g.reply,suggest:g.suggest.map(C=>({text:C,added:!1}))})}catch{o.error="Wheelhouse could not be reached. Try again."}finally{o.asking=!1,this.save()}}accept(e,a,r){const s=this.of(e),o=s.said.findIndex(u=>u.id===a),i=s.said[o]?.suggest?.[r];if(!i||i.added)return;i.added=!0;const c=s.said.slice(0,o).reverse().find(u=>u.who==="captain");s.list.push({id:Xe(),text:i.text,points:c?.points??null}),s.sent=null,this.save()}addOwn(e,a,r=null){const s=a.trim().slice(0,zt);if(!s)return;const o=this.of(e);o.list.push({id:Xe(),text:s,points:r}),o.sent=null,this.save()}edit(e,a,r){const s=this.of(e).list.find(o=>o.id===a);s&&(s.text=r.slice(0,zt),this.save())}remove(e,a){const r=this.of(e),s=r.list.find(o=>o.id===a);r.list=r.list.filter(o=>o.id!==a);for(const o of r.said)for(const i of o.suggest??[])s&&i.text===s.text&&(i.added=!1);this.save()}async send(e,a,r){const s=this.of(e.id),o=s.list.filter(g=>g.text.trim());if(!o.length)return!1;s.error=null;const i=await aa(Ba(e,a,o),r,e.id);if(!i.ok)return s.error=i.error,this.save(),!1;s.sent={at:new Date().toISOString(),count:o.length};const c=e.id.lastIndexOf("@"),u=c>0?`second mate ${e.id.slice(c+1)}`:"Firstmate";return s.list=[],s.said.push({id:Xe(),who:"helper",notice:!0,text:`Sent to ${u}: ${o.length} ${o.length===1?"note":"notes"}, which it passes to this task. Keep going if you spot more; they make a new list.`}),this.save(),!0}clear(e){const a=this.of(e);a.said=[],a.error=null,this.save()}}const Oe=new ur;var vr=new Set(["$$slots","$$events","$$legacy","ref","value","class","data-slot"]),hr=m("<textarea></textarea>");function pr(n,e){Fe(e,!0);let a=K(e,"ref",15,null),r=K(e,"value",15),s=K(e,"data-slot",3,"textarea"),o=me(e,vr);var i=hr();Mt(i),Vt(i,c=>({"data-slot":s(),class:c,...o}),[()=>Nt("flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-2.5 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",e.class)]),Ge(i,c=>a(c),()=>a()),Rt(i,r),f(n,i),Ke()}const fr={unsupported:"This browser cannot turn speech into text. Chrome and Edge can; you can still type.",blocked:"The microphone is blocked for Wheelhouse. Allow it from the icon in the address bar, then try again.","no-microphone":"No microphone was found. Connect one, then try again.","no-speech":"Nothing was heard. Try again a little closer to the microphone.",network:"The browser’s speech service could not be reached. Check the connection and try again.",failed:"Dictation stopped unexpectedly. Try again, or type instead."};function $t(){if(typeof window>"u")return null;const n=window;return n.SpeechRecognition??n.webkitSpeechRecognition??null}const mr={"not-allowed":"blocked","service-not-allowed":"blocked","audio-capture":"no-microphone","no-speech":"no-speech",network:"network","language-not-supported":"unsupported"},ot=n=>n.trim().split(/\s+/).filter(Boolean),gr=(n,e)=>n.toLowerCase().replace(/[^\p{L}\p{N}]/gu,"")===e.toLowerCase().replace(/[^\p{L}\p{N}]/gu,""),qt=(n,e)=>e.length<=n.length&&e.every((a,r)=>gr(a,n[r]));function Tt(n,e){const a=ot(n);return!a.length||qt(ot(e),a)?e:/\s$/.test(n)||/^\s/.test(e)?n+e:`${n} ${e}`}function xr(n,e){const a=ot(n),r=ot(e);return!a.length||!qt(r,a)?e:r.slice(a.length).join(" ")}const br={privacyNote:"Dictation uses your browser’s speech service. In Chrome that sends what you say to Google to turn it into text, only while the microphone is on.",supported:()=>$t()!==null,start(n,e){const a=$t();if(!a)return e.problem("unsupported"),e.end(),{stop(){},abort(){}};const r=new a;r.lang=n,r.continuous=!0,r.interimResults=!0,r.onresult=s=>{let o="",i="";for(let c=0;c<s.results.length;c++){const u=s.results[c];u.isFinal?o=Tt(o,u[0].transcript):i=Tt(i,u[0].transcript)}e.text(o,xr(o,i))},r.onerror=s=>{s.error!=="aborted"&&e.problem(mr[s.error]??"failed")},r.onend=()=>e.end();try{r.start()}catch{e.problem("failed"),e.end()}return{stop:()=>r.stop(),abort:()=>r.abort()}}};let wr=br;const ft=()=>wr,_r=2e3;class yr{#e=A(null);get owner(){return t(this.#e)}set owner(e){w(this.#e,e)}#t=A("idle");get phase(){return t(this.#t)}set phase(e){w(this.#t,e,!0)}#r=A(0);get startedAt(){return t(this.#r)}set startedAt(e){w(this.#r,e,!0)}#s=A(null);get problem(){return t(this.#s)}set problem(e){w(this.#s,e,!0)}#n=null;#a=null;#i=null;active(e){return this.owner===e&&this.phase!=="idle"}start(e,a,r=kr()){this.phase!=="idle"&&this.commit();const s=ft();if(this.owner=e,this.problem=null,!s.supported()){this.problem="unsupported";return}this.#a=a,a.begin(),this.phase="listening",this.startedAt=Date.now();let o=null;const i=()=>o===null||this.#n===o;o=s.start(r,{text:(c,u)=>{i()&&this.#a===a&&a.show(...zr(c,u))},problem:c=>{i()&&(this.problem=c)},end:()=>{i()&&this.#a===a&&this.#o("finish")}}),this.#a===a&&(this.#n=o)}stop(){this.phase==="listening"&&(this.phase="stopping",this.#n?.stop(),this.#i=setTimeout(()=>this.#o("finish"),_r))}commit(){this.phase!=="idle"&&this.#o("finish")}cancel(){this.phase!=="idle"&&this.#o("revert")}dismiss(){this.problem=null}#o(e){const a=this.#n,r=this.#a;this.#n=null,this.#a=null,this.#i&&clearTimeout(this.#i),this.#i=null,this.phase="idle",a?.abort(),r?.[e]()}}const ae=new yr;function kr(){return typeof navigator<"u"&&navigator.language?navigator.language:"en-US"}function zr(n,e){const a=n.replace(/\s+/g," ").trim(),r=e.replace(/\s+/g," ").trim();return[a,a&&r?` ${r}`:r]}const jt=n=>n&&!/\s$/.test(n)?" ":"",Sr=n=>/^[\p{L}\p{N}]/u.test(n)?" ":"";function $r(n){let e="",a="",r="",s=!1;const o=(i,c)=>{n.value=i;try{n.setSelectionRange(c,c)}catch{}n.dispatchEvent(new Event("input",{bubbles:!0}))};return{begin(){e=n.value;const i=n.selectionStart??e.length,c=n.selectionEnd??i;a=e.slice(0,i),r=e.slice(c),s=!1},show(i,c){const u=i+c;if(!u)return;const g=a+jt(a)+u;o(g+Sr(r)+r,g.length),s=!0},finish(){},revert(){s&&o(e,a.length),s=!1}}}function jn(n,e){let a=null,r=null,s="";const o=i=>{const c=document.createRange();c.setStartAfter(i),c.collapse(!0);const u=window.getSelection();u?.removeAllRanges(),u?.addRange(c)};return{begin(){const i=window.getSelection();let c;i?.rangeCount&&n.contains(i.getRangeAt(0).startContainer)?(c=i.getRangeAt(0),r=c.extractContents()):(c=document.createRange(),c.selectNodeContents(n),c.collapse(!1),r=null);const u=document.createRange();u.setStart(n,0),u.setEnd(c.startContainer,c.startOffset),s=jt(u.toString().replace(/\u00a0/g," ")),a=document.createElement("span"),a.dataset.dictation="",c.insertNode(a)},show(i,c){if(!a)return;const u=document.createTextNode(i||c?s+i:""),g=document.createElement("span");g.className="dictation-forming",g.textContent=c,a.replaceChildren(u,...c?[g]:[]),e()},finish(){if(!a)return;const i=a.textContent??"";if(i){const c=document.createTextNode(i);a.replaceWith(c),(n.contains(document.activeElement)||document.activeElement===n)&&o(c)}else a.replaceWith(r??"");a=null,r=null,e()},revert(){a?.replaceWith(r??""),a=null,r=null,e()}}}const Tr=n=>n.code==="Space"&&n.shiftKey&&(n.metaKey||n.ctrlKey)&&!n.altKey,Cr=450;function Er(n,e,a){let r=0;const s=i=>{if(Tr(i)){if(i.preventDefault(),i.repeat)return;ae.active(e)?(r=0,ae.stop()):(r=Date.now(),a());return}ae.active(e)&&(i.key==="Escape"?(i.preventDefault(),i.stopPropagation(),r=0,ae.cancel()):["Shift","Control","Meta","Alt","CapsLock"].includes(i.key)||(r=0,ae.commit()))},o=i=>{if(!r||!(i.code==="Space"||["Shift","Meta","Control"].includes(i.key)))return;const c=Date.now()-r;r=0,c>=Cr&&ae.active(e)&&ae.stop()};return n.addEventListener("keydown",s),n.addEventListener("keyup",o),()=>{n.removeEventListener("keydown",s),n.removeEventListener("keyup",o)}}var Mr=m('<span class="tabular text-xs text-muted-foreground svelte-1uxx7q9" data-dictation-time=""> </span>'),Dr=m('<div class="absolute right-0 bottom-full z-30 mb-2 w-72 rounded-md border bg-popover p-3 text-left text-xs leading-relaxed text-popover-foreground shadow-md svelte-1uxx7q9" role="dialog" aria-label="Before you dictate" data-dictation-note=""><p class="svelte-1uxx7q9"> </p> <p class="mt-1.5 text-muted-foreground svelte-1uxx7q9">Words appear in the box for you to check; nothing is sent until you send it.</p> <div class="mt-2.5 flex justify-end gap-2 svelte-1uxx7q9"><button type="button" class="rounded-md px-2 py-1 text-muted-foreground hover:bg-muted hover:text-foreground svelte-1uxx7q9">Not now</button> <button type="button" class="rounded-md bg-primary px-2.5 py-1 font-medium text-primary-foreground svelte-1uxx7q9">Start dictating</button></div></div>'),Pr=m('<div class="absolute right-0 bottom-full z-30 mb-2 flex w-72 items-start gap-2 rounded-md border bg-popover p-3 text-left text-xs leading-relaxed text-popover-foreground shadow-md svelte-1uxx7q9" role="alert" data-dictation-problem=""><p class="min-w-0 flex-1 svelte-1uxx7q9"> </p> <button type="button" class="-m-1 rounded-sm p-1 text-muted-foreground hover:text-foreground svelte-1uxx7q9" aria-label="Dismiss"><!></button></div>'),Ar=m('<span class="relative inline-flex shrink-0 items-center gap-1.5 svelte-1uxx7q9"><!> <button type="button"><!></button> <span class="sr-only svelte-1uxx7q9" aria-live="polite"> </span> <!></span>');function Lr(n,e){Fe(e,!0);let a=K(e,"label",3,"Dictate"),r=K(e,"size",3,"md"),s=K(e,"disabled",3,!1),o=K(e,"listening",15,!1);const i={};Yt(()=>{o(ae.active(i))});const c=b(()=>o()&&ae.phase==="stopping"),u=b(()=>ae.owner===i?ae.problem:null);let g=A(!1),C=A(it(Date.now())),B=A("Ctrl+Shift+Space");const re="wheelhouse.voice.noted";let ge=!1;function ee(){if(ge)return!0;try{return localStorage.getItem(re)==="1"}catch{return!1}}function I(){if(s())return;const y=ft();if(y.supported()&&y.privacyNote&&!ee()){w(g,!0);return}ae.start(i,e.target()),e.field?.focus()}function ie(){ge=!0;try{localStorage.setItem(re,"1")}catch{}w(g,!1),I()}function O(){o()?ae.stop():t(g)?w(g,!1):I()}const ye=b(()=>{const y=Math.max(0,Math.floor((t(C)-ae.startedAt)/1e3));return`${Math.floor(y/60)}:${String(y%60).padStart(2,"0")}`});We(()=>{/Mac|iPhone|iPad/.test(navigator.platform)&&w(B,"⌘⇧Space")}),We(()=>{if(!o())return;w(C,Date.now(),!0);const y=setInterval(()=>w(C,Date.now(),!0),250);return()=>clearInterval(y)}),We(()=>{if(e.field)return Er(e.field,i,I)}),We(()=>{if(!o()&&!t(g))return;const y=L=>{L.key!=="Escape"||L.defaultPrevented||(L.preventDefault(),o()&&ae.cancel(),w(g,!1))};return window.addEventListener("keydown",y),()=>window.removeEventListener("keydown",y)}),Ft(()=>{ae.active(i)&&ae.commit()});var j=Ar(),ne=d(j);{var oe=y=>{var L=Mr(),le=U(L,!0);P(()=>q(le,t(c)?"Finishing…":t(ye))),f(y,L)};z(ne,y=>{o()&&y(oe)})}var te=v(ne,2),ve=d(te);{var Se=y=>{{let L=b(()=>r()==="md"?"size-3.5 fill-current":"size-3 fill-current");Pa(y,{get class(){return t(L)}})}},Ae=y=>{{let L=b(()=>r()==="md"?"size-4.5":"size-4");xa(y,{get class(){return t(L)}})}};z(ve,y=>{o()?y(Se):y(Ae,-1)})}l(te);var Ee=v(te,2),$e=U(Ee,!0),xe=v(Ee,2);{var Le=y=>{var L=Dr(),le=d(L),$=U(le,!0),S=v(le,4),W=d(S),V=v(W,2);l(S),l(L),P(F=>q($,F),[()=>ft().privacyNote]),N("click",W,()=>w(g,!1)),N("click",V,ie),f(y,L)},he=y=>{var L=Pr(),le=d(L),$=U(le,!0),S=v(le,2),W=d(S);Ye(W,{class:"size-3.5"}),l(S),l(L),P(()=>q($,fr[t(u)])),N("click",S,()=>ae.dismiss()),f(y,L)};z(xe,y=>{t(g)?y(Le):t(u)&&y(he,1)})}l(j),P(()=>{R(te,"aria-label",o()?"Stop dictating":a()),R(te,"aria-pressed",o()),R(te,"title",o()?"Stop dictating · Esc cancels":`${a()} (${t(B)}; hold for push-to-talk)`),te.disabled=s(),R(te,"data-dictating",o()?"":void 0),Pe(te,1,`mic flex shrink-0 cursor-pointer items-center justify-center rounded-full transition-colors disabled:cursor-not-allowed disabled:opacity-30 ${r()==="md"?"size-9 max-md:size-11":`size-7 ${st.current?"touch-target":""}`} ${o()?"bg-danger/10 text-danger":"text-muted-foreground hover:bg-muted hover:text-foreground"}`,"svelte-1uxx7q9"),q($e,o()?"Listening":"")}),N("mousedown",te,y=>y.preventDefault()),N("click",te,O),f(n,j),Ke()}lt(["mousedown","click"]);var Rr=new Set(["$$slots","$$events","$$legacy","value","class"]),Nr=m('<div class="relative w-full min-w-0"><!> <div class="absolute right-1.5 bottom-1.5"><!></div></div>');function Or(n,e){Fe(e,!0);let a=K(e,"value",15),r=me(e,Rr),s=A(null),o=A(!1);var i=Nr(),c=d(i);{let C=b(()=>Nt(e.class,t(o)?"pr-24":"pr-10"));pr(c,_e({get class(){return t(C)}},()=>r,{get ref(){return t(s)},set ref(B){w(s,B,!0)},get value(){return a()},set value(B){a(B)}}))}var u=v(c,2),g=d(u);{let C=b(()=>!!e.disabled);Lr(g,{get field(){return t(s)},target:()=>$r(t(s)),size:"sm",get disabled(){return t(C)},get listening(){return t(o)},set listening(B){w(o,B,!0)}})}l(u),l(i),f(n,i),Ke()}var Ir=m('<span class="inline-flex max-w-[85%] items-center gap-1 rounded-md bg-sea/10 px-2 py-0.5 text-xs text-sea"><!><span class="truncate"> </span></span>'),Hr=m('<li class="flex flex-col items-end gap-1" data-said="captain"><!> <p class="max-w-[85%] rounded-xl rounded-br-sm border border-[var(--bubble-captain-border)] bg-[var(--bubble-captain)] px-3 py-2 text-sm leading-relaxed whitespace-pre-wrap"> </p></li>'),qr=m('<a href="/" class="text-xs text-sea hover:underline">See it in the chat</a>'),jr=m('<span class="inline-flex items-center gap-1 text-xs text-success"><!>On your list</span>'),Wr=m('<button class="inline-flex cursor-pointer items-center gap-1 rounded-md bg-sea px-2.5 py-1 text-xs font-medium text-on-accent hover:bg-sea/90" data-add-to-list=""><!>Add to the list</button>'),Fr=m('<div class="mt-2 rounded-md border bg-card px-3 py-2" data-suggestion=""><p class="text-sm leading-snug"> </p> <div class="mt-1.5"><!></div></div>'),Kr=m('<li class="flex gap-2.5" data-said="helper"><span class="mt-0.5 grid size-6 shrink-0 place-items-center rounded-full border border-brass bg-card text-sea" aria-hidden="true"><!></span> <div class="min-w-0 flex-1"><div></div> <!> <!></div></li>'),Ur=m('<li class="flex gap-1 py-1 pl-9" role="status" aria-label="The helper is answering"><span class="size-1.5 animate-bounce rounded-full bg-muted-foreground [animation-delay:-0.3s]"></span> <span class="size-1.5 animate-bounce rounded-full bg-muted-foreground [animation-delay:-0.15s]"></span> <span class="size-1.5 animate-bounce rounded-full bg-muted-foreground"></span></li>'),Br=m('<li class="text-sm text-danger" role="alert"> </li>'),Yr=m('<div class="flex items-center gap-1.5 px-2.5 pt-2"><span class="inline-flex min-w-0 items-center gap-1 rounded-md bg-sea/10 px-2 py-0.5 text-xs text-sea" data-attached=""><!><span class="truncate"> </span></span> <button class="flex size-5 cursor-pointer items-center justify-center rounded text-muted-foreground hover:bg-muted" aria-label="Not about this part"><!></button></div>'),Gr=m('<span class="text-xs text-muted-foreground">· not sent yet</span>'),Jr=m('<p class="text-xs text-muted-foreground"> </p>'),Vr=m('<li class="group flex items-start gap-2 rounded-md border bg-background px-2 py-1"><span class="mt-0.5 w-4 shrink-0 text-right text-xs text-muted-foreground tabular-nums"> </span> <div class="min-w-0 flex-1"><textarea rows="1" maxlength="500" class="no-scrollbar block field-sizing-content w-full resize-none rounded bg-transparent text-sm leading-snug outline-none focus:bg-accent/40 max-md:text-base"></textarea> <!></div> <button class="flex size-6 shrink-0 cursor-pointer items-center justify-center rounded text-muted-foreground opacity-60 group-hover:opacity-100 hover:bg-muted hover:text-foreground max-md:size-11" aria-label="Remove from the list"><!></button></li>'),Xr=m('<ol class="flex flex-col gap-1.5"></ol>'),Qr=m('<p class="text-xs text-muted-foreground">Empty so far. Add what the helper suggests, or write your own below.</p>'),Zr=m('<div class="no-scrollbar max-h-48 overflow-y-auto px-4"><!> <form class="mt-1.5 flex items-center gap-1"><!> <input maxlength="500" placeholder="Add your own" aria-label="Add your own feedback" class="h-7 min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground max-md:h-11 max-md:text-base"/></form></div>'),en=m(`<section class="flex min-h-0 flex-col rounded-lg border bg-panel" aria-label="Talk about this preview" data-preview-helper=""><header class="border-b px-4 py-3"><h2 class="flex items-center gap-2 text-base"><!>Talk it through</h2> <p class="mt-0.5 text-xs text-muted-foreground">A helper that sees only this preview. Nothing goes to Firstmate until you send.</p></header> <div class="no-scrollbar min-h-40 flex-1 overflow-y-auto px-4 py-4"><ol class="flex flex-col gap-4"><li class="flex gap-2.5"><span class="mt-0.5 grid size-6 shrink-0 place-items-center rounded-full border border-brass bg-card text-sea" aria-hidden="true"><!></span> <p class="min-w-0 flex-1 text-sm leading-relaxed">I can see this preview, its screenshots, the task’s instructions and what the worker has
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{aG as Ce,p as O,j as W,f as m,a as n,b as R,g as E,h as k,aa as Z,r as P,i as K,c as h,s,n as oe,w as Be,o as b,t as C,d as w}from"./BuRWgnCz.js";import{s as M}from"./B2RyWxmQ.js";import{i as D}from"./BDpRITyb.js";import{c as I}from"./DLuhTA05.js";import{p as S,r as T,s as A}from"./BAOiF0in.js";import{B as ge}from"./C5BN6RHR.js";import{c as N}from"./DYbDyf3M.js";import{c as ze,d as Ie,b as ue,m as Ae,P as We,e as Oe,a as me,f as Re,g as Te,h as Ee}from"./DVEiwmFn.js";import{X as Fe}from"./rS7QE60d.js";import{l as de,s as Ue,e as qe}from"./Cwb6d3g_.js";import{b as _e}from"./BWRIDih-.js";import{h as Ge,S as Ke}from"./
|
|
1
|
+
import"./DsnmJJEf.js";import{aG as Ce,p as O,j as W,f as m,a as n,b as R,g as E,h as k,aa as Z,r as P,i as K,c as h,s,n as oe,w as Be,o as b,t as C,d as w}from"./BuRWgnCz.js";import{s as M}from"./B2RyWxmQ.js";import{i as D}from"./BDpRITyb.js";import{c as I}from"./DLuhTA05.js";import{p as S,r as T,s as A}from"./BAOiF0in.js";import{B as ge}from"./C5BN6RHR.js";import{c as N}from"./DYbDyf3M.js";import{c as ze,d as Ie,b as ue,m as Ae,P as We,e as Oe,a as me,f as Re,g as Te,h as Ee}from"./DVEiwmFn.js";import{X as Fe}from"./rS7QE60d.js";import{l as de,s as Ue,e as qe}from"./Cwb6d3g_.js";import{b as _e}from"./BWRIDih-.js";import{h as Ge,S as Ke}from"./Bd8l0yTM.js";import{T as Ne}from"./kynOtL7x.js";var Xe=new Set(["$$slots","$$events","$$legacy","id","children","child","ref"]),He=h("<div><!></div>");function Je(o,e){const a=Ce();O(e,!0);let v=S(e,"id",19,()=>ze(a)),d=S(e,"ref",15,null),l=T(e,Xe);const i=Ie.create({id:ue(()=>v()),ref:ue(()=>d(),p=>d(p))}),f=K(()=>Ae(l,i.props));var g=W(),u=m(g);{var B=p=>{var _=W(),j=m(_);M(j,()=>e.child,()=>({props:E(f)})),n(p,_)},z=p=>{var _=He();de(_,()=>({...E(f)}));var j=k(_);M(j,()=>e.children??Z),P(_),n(p,_)};D(u,p=>{e.child?p(B):p(z,-1)})}n(o,g),R()}var Le=new Set(["$$slots","$$events","$$legacy"]);function Me(o,e){let a=T(e,Le);var v=W(),d=m(v);I(d,()=>We,(l,i)=>{i(l,A(()=>a))}),n(o,v)}var Qe=new Set(["$$slots","$$events","$$legacy","ref","class","portalProps","children","showCloseButton"]),Ve=h('<!> <span class="sr-only">Close</span>',1),fe=h("<!> <!>",1);function At(o,e){O(e,!0);let a=S(e,"ref",15,null),v=S(e,"showCloseButton",3,!0),d=T(e,Qe);Me(o,A(()=>e.portalProps,{children:(l,i)=>{var f=fe(),g=m(f);I(g,()=>at,(B,z)=>{z(B,{})});var u=s(g,2);{let B=K(()=>N("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));I(u,()=>Oe,(z,p)=>{p(z,A({"data-slot":"dialog-content",get class(){return E(B)}},()=>d,{get ref(){return a()},set ref(_){a(_)},children:(_,j)=>{var U=fe(),q=m(U);M(q,()=>e.children??Z);var X=s(q,2);{var H=F=>{var J=W(),$=m(J);{const ee=(G,L)=>{ge(G,A({variant:"ghost",class:"absolute top-4 right-4",size:"icon-sm"},()=>(L?.()).props,{children:(re,ae)=>{var Q=Ve(),V=m(Q);Fe(V,{}),oe(2),n(re,Q)},$$slots:{default:!0}}))};I($,()=>me,(G,L)=>{L(G,{"data-slot":"dialog-close",child:ee,$$slots:{child:!0}})})}n(F,J)};D(X,F=>{v()&&F(H)})}n(_,U)},$$slots:{default:!0}}))})}n(l,f)},$$slots:{default:!0}})),R()}var Ye=new Set(["$$slots","$$events","$$legacy","ref","class"]);function Wt(o,e){O(e,!0);let a=S(e,"ref",15,null),v=T(e,Ye);var d=W(),l=m(d);{let i=K(()=>N("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e.class));I(l,()=>Je,(f,g)=>{g(f,A({"data-slot":"dialog-description",get class(){return E(i)}},()=>v,{get ref(){return a()},set ref(u){a(u)}}))})}n(o,d),R()}var Ze=new Set(["$$slots","$$events","$$legacy","ref","class","children","showCloseButton"]),$e=h("<div><!> <!></div>");function Ot(o,e){O(e,!0);let a=S(e,"ref",15,null),v=S(e,"showCloseButton",3,!1),d=T(e,Ze);var l=$e();de(l,u=>({"data-slot":"dialog-footer",class:u,...d}),[()=>N("flex flex-col-reverse gap-2 gap-2 sm:flex-row sm:justify-end",e.class)]);var i=k(l);M(i,()=>e.children??Z);var f=s(i,2);{var g=u=>{var B=W(),z=m(B);{const p=(_,j)=>{ge(_,A({variant:"outline"},()=>(j?.()).props,{children:(q,X)=>{oe();var H=Be("Close");n(q,H)},$$slots:{default:!0}}))};I(z,()=>me,(_,j)=>{j(_,{child:p,$$slots:{child:!0}})})}n(u,B)};D(f,u=>{v()&&u(g)})}P(l),_e(l,u=>a(u),()=>a()),n(o,l),R()}var et=new Set(["$$slots","$$events","$$legacy","ref","class","children"]),tt=h("<div><!></div>");function Rt(o,e){O(e,!0);let a=S(e,"ref",15,null),v=T(e,et);var d=tt();de(d,i=>({"data-slot":"dialog-header",class:i,...v}),[()=>N("flex flex-col gap-2",e.class)]);var l=k(d);M(l,()=>e.children??Z),P(d),_e(d,i=>a(i),()=>a()),n(o,d),R()}var rt=new Set(["$$slots","$$events","$$legacy","ref","class"]);function at(o,e){O(e,!0);let a=S(e,"ref",15,null),v=T(e,rt);var d=W(),l=m(d);{let i=K(()=>N("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));I(l,()=>Re,(f,g)=>{g(f,A({"data-slot":"dialog-overlay",get class(){return E(i)}},()=>v,{get ref(){return a()},set ref(u){a(u)}}))})}n(o,d),R()}var st=new Set(["$$slots","$$events","$$legacy","ref","class"]);function Tt(o,e){O(e,!0);let a=S(e,"ref",15,null),v=T(e,st);var d=W(),l=m(d);{let i=K(()=>N("leading-none font-medium",e.class));I(l,()=>Te,(f,g)=>{g(f,A({"data-slot":"dialog-title",get class(){return E(i)}},()=>v,{get ref(){return a()},set ref(u){a(u)}}))})}n(o,d),R()}var ot=new Set(["$$slots","$$events","$$legacy","open"]);function Et(o,e){O(e,!0);let a=S(e,"open",15,!1),v=T(e,ot);var d=W(),l=m(d);I(l,()=>Ee,(i,f)=>{f(i,A(()=>v,{get open(){return a()},set open(g){a(g)}}))}),n(o,d),R()}const ne=o=>o.installed?o.settings.filter(e=>e.current===void 0):o.settings,Ft=o=>Object.fromEntries(ne(o).map(e=>[e.key,Ge(e.current??e.default)])),Ut=(o,e)=>ne(o).find(a=>a.required&&!e[a.key]?.trim())??null,qt=o=>Object.fromEntries(Object.entries(o).filter(([,e])=>e.trim()!==""));var dt=h('<p class="mt-0.5 text-xs text-muted-foreground"> </p>'),nt=h('<dt class="text-muted-foreground">Now</dt> <dd class="tabular font-mono"> </dd>',1),lt=h('<span class="font-sans">· <a class="text-sea hover:underline" target="_blank" rel="noreferrer">compare</a></span>'),it=h('<dt class="text-muted-foreground">Author</dt> <dd> </dd>',1),vt=h('<dt class="text-muted-foreground">Runs</dt> <dd> </dd>',1),ct=h('<dt class="text-muted-foreground">Addresses</dt> <dd> </dd>',1),ut=h('<dt class="text-muted-foreground">Sends</dt> <dd> </dd>',1),ft=h('<dt class="text-muted-foreground">Role</dt> <dd data-roles=""> </dd>',1),gt=h('<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>'),mt=h("<li> </li>"),_t=h('<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>'),xt=h('<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 Gt(o,e){O(e,!0);let a=S(e,"answers",15),v=S(e,"busy",19,()=>[]);const d=K(()=>ne(e.preview)),l=t=>t.slice(0,12);var i=xt(),f=k(i),g=k(f),u=k(g),B=s(u),z=b(B);P(g);var p=s(g,2);{var _=t=>{var r=dt(),c=b(r,!0);C(()=>w(c,e.preview.description)),n(t,r)};D(p,t=>{e.preview.description&&t(_)})}var j=s(p,2),U=s(k(j),2),q=b(U),X=s(U,2);{var H=t=>{var r=nt(),c=s(m(r),2),x=b(c);C(y=>w(x,`${e.preview.installed.version??""} · ${y??""}`),[()=>l(e.preview.installed.commit)]),n(t,r)};D(X,t=>{e.preview.installed&&t(H)})}var F=s(X,4),J=k(F),$=s(J);{var ee=t=>{var r=lt(),c=s(k(r));P(r),C(()=>Ue(c,"href",`https://github.com/${e.preview.repository??""}/compare/${e.preview.installed.commit??""}...${e.preview.commit??""}`)),n(t,r)};D($,t=>{e.preview.installed&&t(ee)})}P(F);var G=s(F,2);{var L=t=>{var r=it(),c=s(m(r),2),x=b(c,!0);C(()=>w(x,e.preview.author)),n(t,r)};D(G,t=>{e.preview.author&&t(L)})}var te=s(G,4),re=b(te),ae=s(te,2);{var Q=t=>{var r=vt(),c=s(m(r),2),x=b(c,!0);C(y=>w(x,y),[()=>e.preview.services.join(", ")]),n(t,r)};D(ae,t=>{e.preview.services.length&&t(Q)})}var V=s(ae,2);{var xe=t=>{var r=ct(),c=s(m(r),2),x=b(c,!0);C(y=>w(x,y),[()=>e.preview.addresses.join("; ")]),n(t,r)};D(V,t=>{e.preview.addresses?.length&&t(xe)})}var le=s(V,2);{var he=t=>{var r=ut(),c=s(m(r),2),x=b(c,!0);C(y=>w(x,y),[()=>e.preview.capabilities.join("; ")]),n(t,r)};D(le,t=>{e.preview.capabilities?.length&&t(he)})}var ie=s(le,2);{var we=t=>{var r=ft(),c=s(m(r),2),x=b(c,!0);C(y=>w(x,y),[()=>e.preview.roles.join("; ")]),n(t,r)};D(ie,t=>{e.preview.roles?.length&&t(we)})}var pe=s(ie,4),be=b(pe,!0);P(j),P(f);var ve=s(f,2);{var ye=t=>{var r=gt(),c=k(r),x=b(c,!0),y=s(c,2);Ke(y,{get settings(){return E(d)},get answers(){return a()},set answers(Y){a(Y)}}),oe(2),P(r),C(()=>w(x,e.preview.installed?"Its new settings":"Its settings")),n(t,r)};D(ve,t=>{E(d).length&&t(ye)})}var se=s(ve,2),ce=k(se);Ne(ce,{class:"mt-0.5 size-3.5 shrink-0 text-warning"});var Pe=s(ce,2),De=b(Pe);P(se);var Se=s(se,2);{var ke=t=>{var r=_t(),c=s(k(r));qe(c,20,v,x=>x,(x,y)=>{var Y=mt(),je=b(Y,!0);C(()=>w(je,y)),n(x,Y)}),P(c),P(r),n(t,r)};D(Se,t=>{v().length&&t(ke)})}P(i),C((t,r)=>{w(u,`${e.preview.name??""} `),w(z,`${e.preview.id??""} ${e.preview.version??""}`),w(q,`${e.preview.repository??""}${e.preview.ref?` (${e.preview.ref})`:""}`),w(J,`${t??""} `),w(re,`${r??""}${e.preview.ui?"; a UI bundle":""}`),w(be,e.preview.on),w(De,`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"]),n(o,i),R()}export{At as D,Gt as P,Rt as a,Tt as b,Wt as c,Ot as d,Et as e,qt as f,Ft as i,Ut as m};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.
|
|
2
|
-
import{_ as e}from"../chunks/BapAUJpM.js";import{v as h,as as Y,g as u,a5 as q,a6 as B,a1 as F,aH as J,a9 as K,aI as N,p as Q,z as U,u as W,G as X,f as g,s as Z,a as E,b as $,m as P,j as O,h as tt,r as et,c as y,i as R,w as rt,t as ot,d as at}from"../chunks/BuRWgnCz.js";import"../chunks/DsnmJJEf.js";import{o as st}from"../chunks/RYq3318d.js";import{i as A}from"../chunks/BDpRITyb.js";import{c as I}from"../chunks/DLuhTA05.js";import{b as L}from"../chunks/BWRIDih-.js";import{p as D}from"../chunks/BAOiF0in.js";const Ot={};function it(a){return class extends _t{constructor(t){super({component:a,...t})}}}class _t{#e;#t;constructor(t){var s=new Map,_=(r,o)=>{var n=N(o,!1,!1);return s.set(r,n),n};const m=new Proxy({...t.props||{},$$events:{}},{get(r,o){return u(s.get(o)??_(o,Reflect.get(r,o)))},has(r,o){return o===Y?!0:(u(s.get(o)??_(o,Reflect.get(r,o))),Reflect.has(r,o))},set(r,o,n){return h(s.get(o)??_(o,n),n),Reflect.set(r,o,n)}});this.#t=(t.hydrate?q:B)(t.component,{target:t.target,anchor:t.anchor,props:m,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&F(),this.#e=m.$$events;for(const r of Object.keys(this.#t))r==="$set"||r==="$destroy"||r==="$on"||J(this,r,{get(){return this.#t[r]},set(o){this.#t[r]=o},enumerable:!0});this.#t.$set=r=>{Object.assign(m,r)},this.#t.$destroy=()=>{K(this.#t)}}$set(t){this.#t.$set(t)}$on(t,s){this.#e[t]=this.#e[t]||[];const _=(...m)=>s.call(this,...m);return this.#e[t].push(_),()=>{this.#e[t]=this.#e[t].filter(m=>m!==_)}}$destroy(){this.#t.$destroy()}}var mt=y('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),nt=y("<!> <!>",1);function ut(a,t){Q(t,!0);let s=D(t,"components",23,()=>[]),_=D(t,"data_0",3,null),m=D(t,"data_1",3,null);U(()=>t.stores.page.set(t.page)),W(()=>{t.stores,t.page,t.constructors,s(),t.form,_(),m(),t.stores.page.notify()});let r=P(!1),o=P(!1),n=P(null);st(()=>{const i=t.stores.page.subscribe(()=>{u(r)&&(h(o,!0),X().then(()=>{h(n,document.title||"untitled page",!0)}))});return h(r,!0),i});const x=R(()=>t.constructors[1]);var T=nt(),V=g(T);{var k=i=>{const d=R(()=>t.constructors[0]);var c=O(),f=g(c);I(f,()=>u(d),(l,p)=>{L(p(l,{get data(){return _()},get form(){return t.form},get params(){return t.page.params},children:(v,ct)=>{var b=O(),G=g(b);I(G,()=>u(x),(M,z)=>{L(z(M,{get data(){return m()},get form(){return t.form},get params(){return t.page.params}}),H=>s()[1]=H,()=>s()?.[1])}),E(v,b)},$$slots:{default:!0}}),v=>s()[0]=v,()=>s()?.[0])}),E(i,c)},w=i=>{const d=R(()=>t.constructors[0]);var c=O(),f=g(c);I(f,()=>u(d),(l,p)=>{L(p(l,{get data(){return _()},get form(){return t.form},get params(){return t.page.params}}),v=>s()[0]=v,()=>s()?.[0])}),E(i,c)};A(V,i=>{t.constructors[1]?i(k):i(w,-1)})}var C=Z(V,2);{var S=i=>{var d=mt(),c=tt(d);{var f=l=>{var p=rt();ot(()=>at(p,u(n))),E(l,p)};A(c,l=>{u(o)&&l(f)})}et(d),E(i,d)};A(C,i=>{u(r)&&i(S)})}E(a,T),$()}const Rt=it(ut),At=[()=>e(()=>import("../nodes/0.
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.CycGUKhI.js","../chunks/DsnmJJEf.js","../chunks/RYq3318d.js","../chunks/BuRWgnCz.js","../chunks/BDpRITyb.js","../chunks/B2RyWxmQ.js","../chunks/DLuhTA05.js","../chunks/Cwb6d3g_.js","../chunks/HCiUQtkc.js","../chunks/V46v89bT.js","../chunks/0RGfo0js.js","../chunks/Cwq50RB4.js","../chunks/CspN1OJw.js","../chunks/C_4BzEag.js","../chunks/BXN538J3.js","../chunks/Y3845wkB.js","../chunks/BWRIDih-.js","../chunks/BAOiF0in.js","../chunks/xjN9NojQ.js","../chunks/BT_DAfvO.js","../chunks/cwI46DFb.js","../chunks/DJNADPa5.js","../chunks/Drqp3nkL.js","../chunks/BMFk7aZ6.js","../chunks/C5BN6RHR.js","../chunks/DYbDyf3M.js","../chunks/BxpN0jPH.js","../chunks/xH4qmLqM.js","../chunks/CqfUJirh.js","../chunks/Crfn3y_6.js","../chunks/Dse7bjta.js","../chunks/DcVvrp03.js","../chunks/B13jYnr5.js","../chunks/DVEiwmFn.js","../chunks/rS7QE60d.js","../chunks/BksDoLoM.js","../chunks/cmRB1an4.js","../chunks/fuBLR9dZ.js","../chunks/BCUUi0V0.js","../chunks/Dd58JmFO.js","../chunks/Ddta0BJw.js","../chunks/ClsjySa8.js","../chunks/BY5XjwMm.js","../chunks/DZeIs8RO.js","../chunks/CP7u-DWX.js","../chunks/kynOtL7x.js","../chunks/DXoZBzFG.js","../chunks/CCL5M9Xl.js","../chunks/IuxiJfHx.js","../chunks/DU3FdAFH.js","../chunks/C6T16bV1.js","../chunks/7vF3ego3.js","../chunks/CoGHF2lE.js","../chunks/DGK4csRg.js","../chunks/Cu50g1zS.js","../chunks/B-JNrTge.js","../chunks/hxhxtxcx.js","../assets/0.Dyflbqc4.css","../nodes/1.70vrwjqS.js","../nodes/2.C5dTKKEn.js","../chunks/CFTDQcgN.js","../chunks/BVXUMEgB.js","../chunks/o67KsWSa.js","../chunks/CQMIjH_m.js","../chunks/C8rIEWKQ.js","../chunks/gS_jJyWs.js","../chunks/nW7-TN7t.js","../chunks/DxdQiNse.js","../chunks/C0iYpbLa.js","../chunks/DNc9cRsu.js","../assets/PreviewStudio.Dga9zAug.css","../chunks/DZbbLeZ5.js","../chunks/C8be1l5w.js","../chunks/CtgbxGhR.js","../chunks/D1uwWhcg.js","../chunks/D2ynzrtM.js","../chunks/DJmeKpkq.js","../chunks/Co6rv60s.js","../chunks/B0XeFYOk.js","../chunks/D-5zBf83.js","../chunks/ClopdZ_7.js","../chunks/Dpd1rs9R.js","../chunks/CR7y1ULG.js","../chunks/BB2roMZd.js","../chunks/DjzsLGyn.js","../chunks/DSQSpWxL.js","../chunks/Bl_aeMq-.js","../chunks/BvPKyGA8.js","../chunks/r_9m29GC.js","../chunks/Clm3nvxi.js","../chunks/DeVe8oaI.js","../chunks/XSztV5e-.js","../chunks/BapAUJpM.js","../chunks/BDiKlJJl.js","../chunks/C8YpFJ43.js","../assets/Terminal.B4BtIq8f.css","../chunks/BIfGCSel.js","../chunks/DJnRpOqR.js","../chunks/DyHO2Vc7.js","../chunks/IPRCqR05.js","../chunks/Dw18qh6I.js","../chunks/CKBPLT-z.js","../assets/2.9iA_78o1.css","../nodes/3.CNDDXR-R.js","../chunks/BisZnsml.js","../nodes/4.Dajo6qs6.js","../nodes/5.DEmf7LWK.js","../chunks/QjAOAKa9.js","../assets/DocSheet.36VhUGpN.css","../nodes/6.BHt0DwZF.js","../chunks/B3mAFyYS.js","../chunks/CDgGXUGq.js","../assets/6.5dJKCkOT.css","../nodes/7.BIfa9MqV.js","../nodes/8.CKbZrwQ8.js","../nodes/9.BbThPsu4.js","../nodes/10.CG7LxHir.js","../chunks/rWDJOr9L.js","../chunks/Bd8l0yTM.js","../chunks/BwPKBiav.js","../nodes/11.CvQ4cyM3.js","../chunks/D-2tF-22.js","../chunks/ntd85-6_.js","../nodes/12.D9IHJjN9.js","../chunks/YUutd5H1.js","../chunks/Bm06it9w.js","../chunks/BaPx3dni.js","../nodes/13.D-hvVuS1.js","../nodes/14.DfUdqoEO.js","../chunks/D7IP_ZEm.js","../chunks/DIUPiJT7.js","../nodes/15.CZRsd2Eg.js","../nodes/16.qfrdNFMy.js","../chunks/Cv4HO3U0.js","../nodes/17.D83W_Tta.js","../nodes/19.BzcQyaMT.js","../chunks/B5OMEixy.js","../nodes/20.HovxKElE.js","../nodes/21.2vXCaqsr.js","../chunks/BDhezwGC.js","../chunks/CMmxYmuw.js","../chunks/DtH7pDxF.js","../nodes/22.C2_CQQkD.js","../nodes/23.DLyV0afL.js","../nodes/24.B3x35Hk8.js","../nodes/25.nwMZWq7u.js","../nodes/26.Djo0UcCH.js","../chunks/BaS0N1W3.js","../nodes/27.DUOTTUGh.js","../nodes/28.SqN60QfL.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as e}from"../chunks/BapAUJpM.js";import{v as h,as as Y,g as u,a5 as q,a6 as B,a1 as F,aH as J,a9 as K,aI as N,p as Q,z as U,u as W,G as X,f as g,s as Z,a as E,b as $,m as P,j as O,h as tt,r as et,c as y,i as R,w as rt,t as ot,d as at}from"../chunks/BuRWgnCz.js";import"../chunks/DsnmJJEf.js";import{o as st}from"../chunks/RYq3318d.js";import{i as A}from"../chunks/BDpRITyb.js";import{c as I}from"../chunks/DLuhTA05.js";import{b as L}from"../chunks/BWRIDih-.js";import{p as D}from"../chunks/BAOiF0in.js";const Ot={};function it(a){return class extends _t{constructor(t){super({component:a,...t})}}}class _t{#e;#t;constructor(t){var s=new Map,_=(r,o)=>{var n=N(o,!1,!1);return s.set(r,n),n};const m=new Proxy({...t.props||{},$$events:{}},{get(r,o){return u(s.get(o)??_(o,Reflect.get(r,o)))},has(r,o){return o===Y?!0:(u(s.get(o)??_(o,Reflect.get(r,o))),Reflect.has(r,o))},set(r,o,n){return h(s.get(o)??_(o,n),n),Reflect.set(r,o,n)}});this.#t=(t.hydrate?q:B)(t.component,{target:t.target,anchor:t.anchor,props:m,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&F(),this.#e=m.$$events;for(const r of Object.keys(this.#t))r==="$set"||r==="$destroy"||r==="$on"||J(this,r,{get(){return this.#t[r]},set(o){this.#t[r]=o},enumerable:!0});this.#t.$set=r=>{Object.assign(m,r)},this.#t.$destroy=()=>{K(this.#t)}}$set(t){this.#t.$set(t)}$on(t,s){this.#e[t]=this.#e[t]||[];const _=(...m)=>s.call(this,...m);return this.#e[t].push(_),()=>{this.#e[t]=this.#e[t].filter(m=>m!==_)}}$destroy(){this.#t.$destroy()}}var mt=y('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),nt=y("<!> <!>",1);function ut(a,t){Q(t,!0);let s=D(t,"components",23,()=>[]),_=D(t,"data_0",3,null),m=D(t,"data_1",3,null);U(()=>t.stores.page.set(t.page)),W(()=>{t.stores,t.page,t.constructors,s(),t.form,_(),m(),t.stores.page.notify()});let r=P(!1),o=P(!1),n=P(null);st(()=>{const i=t.stores.page.subscribe(()=>{u(r)&&(h(o,!0),X().then(()=>{h(n,document.title||"untitled page",!0)}))});return h(r,!0),i});const x=R(()=>t.constructors[1]);var T=nt(),V=g(T);{var k=i=>{const d=R(()=>t.constructors[0]);var c=O(),f=g(c);I(f,()=>u(d),(l,p)=>{L(p(l,{get data(){return _()},get form(){return t.form},get params(){return t.page.params},children:(v,ct)=>{var b=O(),G=g(b);I(G,()=>u(x),(M,z)=>{L(z(M,{get data(){return m()},get form(){return t.form},get params(){return t.page.params}}),H=>s()[1]=H,()=>s()?.[1])}),E(v,b)},$$slots:{default:!0}}),v=>s()[0]=v,()=>s()?.[0])}),E(i,c)},w=i=>{const d=R(()=>t.constructors[0]);var c=O(),f=g(c);I(f,()=>u(d),(l,p)=>{L(p(l,{get data(){return _()},get form(){return t.form},get params(){return t.page.params}}),v=>s()[0]=v,()=>s()?.[0])}),E(i,c)};A(V,i=>{t.constructors[1]?i(k):i(w,-1)})}var C=Z(V,2);{var S=i=>{var d=mt(),c=tt(d);{var f=l=>{var p=rt();ot(()=>at(p,u(n))),E(l,p)};A(c,l=>{u(o)&&l(f)})}et(d),E(i,d)};A(C,i=>{u(r)&&i(S)})}E(a,T),$()}const Rt=it(ut),At=[()=>e(()=>import("../nodes/0.CycGUKhI.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57]),import.meta.url),()=>e(()=>import("../nodes/1.70vrwjqS.js"),__vite__mapDeps([58,1,3,10,9,2]),import.meta.url),()=>e(()=>import("../nodes/2.C5dTKKEn.js"),__vite__mapDeps([59,1,2,3,4,7,10,9,11,15,16,17,14,18,19,30,27,5,60,61,6,32,33,34,22,23,24,25,26,28,29,62,63,13,64,12,38,65,21,37,66,48,67,68,50,36,69,70,71,72,73,74,75,76,44,77,78,79,80,81,82,83,53,42,84,85,86,87,88,89,39,90,91,92,93,94,95,96,97,98,35,99,100,52,46,54,101,45,8,102]),import.meta.url),()=>e(()=>import("../nodes/3.CNDDXR-R.js"),__vite__mapDeps([103,1,3,4,7,6,10,9,2,38,82,104,101,20,71,61,50,17,27,5,67,74,75]),import.meta.url),()=>e(()=>import("../nodes/4.Dajo6qs6.js"),__vite__mapDeps([105,1,2,3,7,10,9,8,11,19,80,4,27,5,17,81,38,30,82,83,53,21,42,13,12,14,84,76,34,6,22,23,24,25,16,26,28,29,15,18,44,77,78,36,79,48,85,64,65,37,66,60,61,67,68,50,69,70,71,72,73,74,75,86,87,88,89,39,90]),import.meta.url),()=>e(()=>import("../nodes/5.DEmf7LWK.js"),__vite__mapDeps([106,1,3,4,7,60,17,27,5,61,107,16,28,108,93]),import.meta.url),()=>e(()=>import("../nodes/6.BHt0DwZF.js"),__vite__mapDeps([109,1,3,4,7,6,27,5,17,10,9,2,30,11,110,38,31,111,98,45,73,56,21,53,85,42,36,90,16,55,28,112]),import.meta.url),()=>e(()=>import("../nodes/7.BIfa9MqV.js"),__vite__mapDeps([113,1,3,4,7,38,82,17,104,101,10,9,2,20,96,27,5,45,67]),import.meta.url),()=>e(()=>import("../nodes/8.CKbZrwQ8.js"),__vite__mapDeps([114,1,2,3,4,7,27,5,17,8,9,10,11,12,13,14,64,6,38,65,16,21,15,18,37,34,66,48,60,61,23,25,67,68,50,36,69,19,70,71,72,73,74,75]),import.meta.url),()=>e(()=>import("../nodes/9.BbThPsu4.js"),__vite__mapDeps([115,1,3,4,7,10,9,2,20,11,19,51,17,27,5,89,28,49,54]),import.meta.url),()=>e(()=>import("../nodes/10.CG7LxHir.js"),__vite__mapDeps([116,1,2,3,4,7,23,16,10,9,24,25,5,17,6,117,33,34,27,118,11,14,44,36,45,38,69,119,35,46,50,54]),import.meta.url),()=>e(()=>import("../nodes/11.CvQ4cyM3.js"),__vite__mapDeps([120,1,3,4,7,10,9,2,11,19,121,36,17,27,5,122,76,34,6,38,22,23,14,24,25,16,26,28,29,15,18,44,77,78,79,48]),import.meta.url),()=>e(()=>import("../nodes/12.D9IHJjN9.js"),__vite__mapDeps([123,1,3,4,7,10,9,2,11,19,30,17,27,5,124,110,6,38,31,111,98,45,73,63,48,83,53,21,42,24,25,16,125,76,34,22,23,14,26,28,29,15,18,44,77,78,36,79,65,37,66,60,61,67,68,50,69,70,99,126,86,82,75,62,72,52,94,56]),import.meta.url),()=>e(()=>import("../nodes/13.D-hvVuS1.js"),__vite__mapDeps([127,1,3,4,7,10,9,2,11,19,124,17,30,27,5,110,6,38,31,111,98,45,73,63,48,76,34,22,23,14,24,25,16,26,28,29,15,18,44,77,78,36,79]),import.meta.url),()=>e(()=>import("../nodes/14.DfUdqoEO.js"),__vite__mapDeps([128,1,3,4,7,10,9,2,8,11,19,124,17,30,27,5,110,6,38,31,111,98,45,73,63,48,14,24,25,16,129,79,130,99]),import.meta.url),()=>e(()=>import("../nodes/15.CZRsd2Eg.js"),__vite__mapDeps([131,1,3,4,34,17,27,5,7,8,2,9,10,11,23,81,24,25,16,14,129,93,99,69,68,94,77,79,36,111,40,78,100]),import.meta.url),()=>e(()=>import("../nodes/16.qfrdNFMy.js"),__vite__mapDeps([132,1,3,7,133,4,10,9,2,14,18,38,24,25,5,16,17]),import.meta.url),()=>e(()=>import("../nodes/17.D83W_Tta.js"),__vite__mapDeps([134,1,3,4,7,11,10,9,2,38,85,73,17,27,5,88,72,46,29]),import.meta.url),()=>e(()=>import("../chunks/BapAUJpM.js").then(a=>a.a),[],import.meta.url),()=>e(()=>import("../nodes/19.BzcQyaMT.js"),__vite__mapDeps([135,1,3,7,133,4,10,9,2,14,18,38,24,25,5,16,17,136,101]),import.meta.url),()=>e(()=>import("../nodes/20.HovxKElE.js"),__vite__mapDeps([137,1,3,4,7,10,9,2,41,13,14,38,24,25,5,16,17,136,101]),import.meta.url),()=>e(()=>import("../nodes/21.2vXCaqsr.js"),__vite__mapDeps([138,1,2,3,4,34,17,27,5,7,8,9,10,136,101,121,36,122,139,6,23,33,117,24,25,16,118,11,14,44,45,69,47,119,140,141,38,46,28]),import.meta.url),()=>e(()=>import("../nodes/22.C2_CQQkD.js"),__vite__mapDeps([142,1,2,3,4,7,8,9,10,136,101,140,17,141,118,11,14,44,27,5,36,23,119,45,24,25,16,66]),import.meta.url),()=>e(()=>import("../nodes/23.DLyV0afL.js"),__vite__mapDeps([143,1,3,4,7,24,25,5,16,17,136,101,10,9,2]),import.meta.url),()=>e(()=>import("../nodes/24.B3x35Hk8.js"),__vite__mapDeps([144,1,3,4,7,23,10,9,2,14,136,101,43]),import.meta.url),()=>e(()=>import("../nodes/25.nwMZWq7u.js"),__vite__mapDeps([145,1,2,3,4,7,6,23,8,9,10,24,25,5,16,17,91,92,37,93,27,68,94,90,44,66,95,141,78,26,79,100,36,122,48,139,33,34,117,118,11,14,45,69,53]),import.meta.url),()=>e(()=>import("../nodes/26.Djo0UcCH.js"),__vite__mapDeps([146,1,2,3,4,7,5,16,10,9,38,97,17,27,8,11,19,76,34,6,22,23,14,24,25,26,28,29,15,18,44,77,78,36,79,48,83,53,21,42,125,65,37,66,60,61,67,68,50,69,70,99,62,63,71,20,130,40,126,100,98,72,87,12,13,64,73,74,75,51,84,82,147,93,94]),import.meta.url),()=>e(()=>import("../nodes/27.DUOTTUGh.js"),__vite__mapDeps([148,1,3,4,7,60,17,27,5,61,126,38,107,16,28,108,93,48,74]),import.meta.url),()=>e(()=>import("../nodes/28.SqN60QfL.js"),__vite__mapDeps([149,1,3,4,7,82,104,101,10,9,2,20,84,17,147]),import.meta.url)],It=[0],Lt={"/":[-3],"/decisions":[-4],"/deck":[-5],"/files":[-6],"/harbour":[-7],"/headroom":[-8],"/inbox":[-9],"/more":[9],"/plugins":[10],"/plugins/[plugin]/[page]":[-12],"/projects/[id]":[-13],"/projects/[id]/passage":[-15],"/projects/[id]/passage/edit":[-16],"/projects/[id]/[plugin]/[tab]":[-14],"/remotes":[-17],"/second-mates":[17],"/settings":[-19],"/settings/cloud":[-20],"/settings/gateway":[-21],"/settings/plugins":[-22],"/settings/plugins/[plugin]":[-23],"/settings/setup":[-24],"/settings/update":[-25],"/setup":[-26],"/tasks/[id]":[-27],"/tasks/[id]/doc":[-28],"/time":[-29]},j={handleError:(({error:a})=>{console.error(a)}),reroute:(()=>{}),transport:{}},dt=Object.fromEntries(Object.entries(j.transport).map(([a,t])=>[a,t.decode])),Dt=Object.fromEntries(Object.entries(j.transport).map(([a,t])=>[a,t.encode])),Tt=!1,Vt=(a,t)=>dt[a](t),bt=()=>e(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(a=>a.default);export{Vt as decode,dt as decoders,Lt as dictionary,Dt as encoders,bt as get_error_template,Tt as hash,j as hooks,Ot as matchers,At as nodes,Rt as root,It as server_loads};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{s as r}from"../chunks/HCiUQtkc.js";import{y as t}from"../chunks/V46v89bT.js";export{t as load_css,r as start};
|
|
Binary file
|
|
Binary file
|