@chrisjowen/wheelhouse 0.25.2 → 0.26.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/build/client/_app/immutable/assets/0.DfMBwLbg.css +1 -0
- package/build/client/_app/immutable/assets/0.DfMBwLbg.css.br +0 -0
- package/build/client/_app/immutable/assets/0.DfMBwLbg.css.gz +0 -0
- package/build/client/_app/immutable/chunks/0zdgIjci.js +2 -0
- package/build/client/_app/immutable/chunks/0zdgIjci.js.br +0 -0
- package/build/client/_app/immutable/chunks/0zdgIjci.js.gz +0 -0
- package/build/client/_app/immutable/chunks/2M-WxCsd.js +3 -0
- package/build/client/_app/immutable/chunks/2M-WxCsd.js.br +0 -0
- package/build/client/_app/immutable/chunks/2M-WxCsd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B1KO-Auj.js +1 -0
- package/build/client/_app/immutable/chunks/B1KO-Auj.js.br +0 -0
- package/build/client/_app/immutable/chunks/B1KO-Auj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B6qh5sP6.js +13 -0
- package/build/client/_app/immutable/chunks/B6qh5sP6.js.br +0 -0
- package/build/client/_app/immutable/chunks/B6qh5sP6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BNJ9K67x.js +6 -0
- package/build/client/_app/immutable/chunks/BNJ9K67x.js.br +0 -0
- package/build/client/_app/immutable/chunks/BNJ9K67x.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BVMvYJNR.js +1 -0
- package/build/client/_app/immutable/chunks/BVMvYJNR.js.br +0 -0
- package/build/client/_app/immutable/chunks/BVMvYJNR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BhkJ3lTY.js +7 -0
- package/build/client/_app/immutable/chunks/BhkJ3lTY.js.br +0 -0
- package/build/client/_app/immutable/chunks/BhkJ3lTY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bw9VDV5E.js +1 -0
- package/build/client/_app/immutable/chunks/Bw9VDV5E.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bw9VDV5E.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BwgWcTqi.js +1 -0
- package/build/client/_app/immutable/chunks/BwgWcTqi.js.br +0 -0
- package/build/client/_app/immutable/chunks/BwgWcTqi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C8ABSVLY.js +1 -0
- package/build/client/_app/immutable/chunks/C8ABSVLY.js.br +0 -0
- package/build/client/_app/immutable/chunks/C8ABSVLY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C97qdOZ6.js +4 -0
- package/build/client/_app/immutable/chunks/C97qdOZ6.js.br +0 -0
- package/build/client/_app/immutable/chunks/C97qdOZ6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CSr9mSag.js +2 -0
- package/build/client/_app/immutable/chunks/CSr9mSag.js.br +0 -0
- package/build/client/_app/immutable/chunks/CSr9mSag.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CVUv3vK_.js +1 -0
- package/build/client/_app/immutable/chunks/CVUv3vK_.js.br +0 -0
- package/build/client/_app/immutable/chunks/CVUv3vK_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C_D8fRYf.js +1 -0
- package/build/client/_app/immutable/chunks/C_D8fRYf.js.br +0 -0
- package/build/client/_app/immutable/chunks/C_D8fRYf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CmX8kOuN.js +1 -0
- package/build/client/_app/immutable/chunks/CmX8kOuN.js.br +1 -0
- package/build/client/_app/immutable/chunks/CmX8kOuN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CnOpkcn4.js +3 -0
- package/build/client/_app/immutable/chunks/CnOpkcn4.js.br +0 -0
- package/build/client/_app/immutable/chunks/CnOpkcn4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CoS_3oom.js +1 -0
- package/build/client/_app/immutable/chunks/CoS_3oom.js.br +0 -0
- package/build/client/_app/immutable/chunks/CoS_3oom.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CosKnXYm.js +1 -0
- package/build/client/_app/immutable/chunks/CosKnXYm.js.br +0 -0
- package/build/client/_app/immutable/chunks/CosKnXYm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CyAuzlRX.js +2 -0
- package/build/client/_app/immutable/chunks/CyAuzlRX.js.br +0 -0
- package/build/client/_app/immutable/chunks/CyAuzlRX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D5NdSrls.js +1 -0
- package/build/client/_app/immutable/chunks/D5NdSrls.js.br +0 -0
- package/build/client/_app/immutable/chunks/D5NdSrls.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DLPkvt0u.js +1 -0
- package/build/client/_app/immutable/chunks/DLPkvt0u.js.br +0 -0
- package/build/client/_app/immutable/chunks/DLPkvt0u.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DSXaG6Bi.js +6 -0
- package/build/client/_app/immutable/chunks/DSXaG6Bi.js.br +0 -0
- package/build/client/_app/immutable/chunks/DSXaG6Bi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DUpe8R7O.js +1 -0
- package/build/client/_app/immutable/chunks/DUpe8R7O.js.br +0 -0
- package/build/client/_app/immutable/chunks/DUpe8R7O.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DWtL99pU.js +3 -0
- package/build/client/_app/immutable/chunks/DWtL99pU.js.br +0 -0
- package/build/client/_app/immutable/chunks/DWtL99pU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DZoDs0xh.js +7 -0
- package/build/client/_app/immutable/chunks/DZoDs0xh.js.br +0 -0
- package/build/client/_app/immutable/chunks/DZoDs0xh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dc0ohDnQ.js +5 -0
- package/build/client/_app/immutable/chunks/Dc0ohDnQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dc0ohDnQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DlWmnnfR.js +1 -0
- package/build/client/_app/immutable/chunks/DlWmnnfR.js.br +0 -0
- package/build/client/_app/immutable/chunks/DlWmnnfR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DrjvswWv.js +8 -0
- package/build/client/_app/immutable/chunks/DrjvswWv.js.br +0 -0
- package/build/client/_app/immutable/chunks/DrjvswWv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dww8tpkZ.js +3 -0
- package/build/client/_app/immutable/chunks/Dww8tpkZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dww8tpkZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DxD0YU28.js +3 -0
- package/build/client/_app/immutable/chunks/DxD0YU28.js.br +0 -0
- package/build/client/_app/immutable/chunks/DxD0YU28.js.gz +0 -0
- package/build/client/_app/immutable/chunks/FAY4qD4w.js +1 -0
- package/build/client/_app/immutable/chunks/FAY4qD4w.js.br +0 -0
- package/build/client/_app/immutable/chunks/FAY4qD4w.js.gz +0 -0
- package/build/client/_app/immutable/chunks/JobjkWB7.js +1 -0
- package/build/client/_app/immutable/chunks/JobjkWB7.js.br +0 -0
- package/build/client/_app/immutable/chunks/JobjkWB7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Um44Ka4n.js +1 -0
- package/build/client/_app/immutable/chunks/Um44Ka4n.js.br +0 -0
- package/build/client/_app/immutable/chunks/Um44Ka4n.js.gz +0 -0
- package/build/client/_app/immutable/chunks/thHXEfLL.js +1 -0
- package/build/client/_app/immutable/chunks/thHXEfLL.js.br +0 -0
- package/build/client/_app/immutable/chunks/thHXEfLL.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.D3oKTr3U.js +2 -0
- package/build/client/_app/immutable/entry/app.D3oKTr3U.js.br +0 -0
- package/build/client/_app/immutable/entry/app.D3oKTr3U.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.DefphTEO.js +1 -0
- package/build/client/_app/immutable/entry/start.DefphTEO.js.br +0 -0
- package/build/client/_app/immutable/entry/start.DefphTEO.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.DQWeEbUs.js +9 -0
- package/build/client/_app/immutable/nodes/0.DQWeEbUs.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.DQWeEbUs.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.xa2IXfdp.js +1 -0
- package/build/client/_app/immutable/nodes/1.xa2IXfdp.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.xa2IXfdp.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.B-H1XGvk.js +10 -0
- package/build/client/_app/immutable/nodes/10.B-H1XGvk.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.B-H1XGvk.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.er3_trVK.js +9 -0
- package/build/client/_app/immutable/nodes/11.er3_trVK.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.er3_trVK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.B9akuJKr.js +11 -0
- package/build/client/_app/immutable/nodes/12.B9akuJKr.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.B9akuJKr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.CuCv0ecF.js +2 -0
- package/build/client/_app/immutable/nodes/13.CuCv0ecF.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.CuCv0ecF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.IsywgFjt.js +6 -0
- package/build/client/_app/immutable/nodes/14.IsywgFjt.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.IsywgFjt.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.BXte1yyd.js +1 -0
- package/build/client/_app/immutable/nodes/15.BXte1yyd.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.BXte1yyd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.BLt74hxU.js +10 -0
- package/build/client/_app/immutable/nodes/16.BLt74hxU.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.BLt74hxU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.D4F9lyN6.js +1 -0
- package/build/client/_app/immutable/nodes/17.D4F9lyN6.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.D4F9lyN6.js.gz +0 -0
- package/build/client/_app/immutable/nodes/18.B_LNnYxQ.js +3 -0
- package/build/client/_app/immutable/nodes/18.B_LNnYxQ.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.B_LNnYxQ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.CTYapI6B.js +1 -0
- package/build/client/_app/immutable/nodes/19.CTYapI6B.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.CTYapI6B.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.BUba3CSr.js +28 -0
- package/build/client/_app/immutable/nodes/2.BUba3CSr.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.BUba3CSr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.-sjG54qN.js +14 -0
- package/build/client/_app/immutable/nodes/20.-sjG54qN.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.-sjG54qN.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.DgkeSc2G.js +150 -0
- package/build/client/_app/immutable/nodes/21.DgkeSc2G.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.DgkeSc2G.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.BAUjeGuV.js +3 -0
- package/build/client/_app/immutable/nodes/22.BAUjeGuV.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.BAUjeGuV.js.gz +0 -0
- package/build/client/_app/immutable/nodes/23.CXhK0QCU.js +2 -0
- package/build/client/_app/immutable/nodes/23.CXhK0QCU.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.CXhK0QCU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.CFqS8ZKs.js +25 -0
- package/build/client/_app/immutable/nodes/24.CFqS8ZKs.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.CFqS8ZKs.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.GD-9MT4X.js +5 -0
- package/build/client/_app/immutable/nodes/25.GD-9MT4X.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.GD-9MT4X.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.BYGOxRqj.js +18 -0
- package/build/client/_app/immutable/nodes/26.BYGOxRqj.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.BYGOxRqj.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.DE7BOwCd.js +4 -0
- package/build/client/_app/immutable/nodes/28.DE7BOwCd.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.DE7BOwCd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.CMd4jZ7N.js +2 -0
- package/build/client/_app/immutable/nodes/3.CMd4jZ7N.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.CMd4jZ7N.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.DGgWzpFN.js +6 -0
- package/build/client/_app/immutable/nodes/30.DGgWzpFN.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.DGgWzpFN.js.gz +0 -0
- package/build/client/_app/immutable/nodes/31.ClvxI8Nu.js +8 -0
- package/build/client/_app/immutable/nodes/31.ClvxI8Nu.js.br +0 -0
- package/build/client/_app/immutable/nodes/31.ClvxI8Nu.js.gz +0 -0
- package/build/client/_app/immutable/nodes/32.DKINsCz1.js +2 -0
- package/build/client/_app/immutable/nodes/32.DKINsCz1.js.br +0 -0
- package/build/client/_app/immutable/nodes/32.DKINsCz1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/33.ayls7wi_.js +5 -0
- package/build/client/_app/immutable/nodes/33.ayls7wi_.js.br +0 -0
- package/build/client/_app/immutable/nodes/33.ayls7wi_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/34.CGy2T4T4.js +4 -0
- package/build/client/_app/immutable/nodes/34.CGy2T4T4.js.br +0 -0
- package/build/client/_app/immutable/nodes/34.CGy2T4T4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/35.y5VV-9ON.js +3 -0
- package/build/client/_app/immutable/nodes/35.y5VV-9ON.js.br +0 -0
- package/build/client/_app/immutable/nodes/35.y5VV-9ON.js.gz +0 -0
- package/build/client/_app/immutable/nodes/36.DQacikA_.js +7 -0
- package/build/client/_app/immutable/nodes/36.DQacikA_.js.br +0 -0
- package/build/client/_app/immutable/nodes/36.DQacikA_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/37.B4FRxcvb.js +2 -0
- package/build/client/_app/immutable/nodes/37.B4FRxcvb.js.br +0 -0
- package/build/client/_app/immutable/nodes/37.B4FRxcvb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/38.B2o5-Jkl.js +4 -0
- package/build/client/_app/immutable/nodes/38.B2o5-Jkl.js.br +0 -0
- package/build/client/_app/immutable/nodes/38.B2o5-Jkl.js.gz +0 -0
- package/build/client/_app/immutable/nodes/39.DnNWBxKw.js +7 -0
- package/build/client/_app/immutable/nodes/39.DnNWBxKw.js.br +0 -0
- package/build/client/_app/immutable/nodes/39.DnNWBxKw.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.C-BE9zSQ.js +5 -0
- package/build/client/_app/immutable/nodes/4.C-BE9zSQ.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.C-BE9zSQ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/40.wiehfkUr.js +6 -0
- package/build/client/_app/immutable/nodes/40.wiehfkUr.js.br +0 -0
- package/build/client/_app/immutable/nodes/40.wiehfkUr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/41.DUe48WLb.js +23 -0
- package/build/client/_app/immutable/nodes/41.DUe48WLb.js.br +0 -0
- package/build/client/_app/immutable/nodes/41.DUe48WLb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/42.BzFkgGne.js +1 -0
- package/build/client/_app/immutable/nodes/42.BzFkgGne.js.br +0 -0
- package/build/client/_app/immutable/nodes/42.BzFkgGne.js.gz +0 -0
- package/build/client/_app/immutable/nodes/44.BrBXSOgy.js +6 -0
- package/build/client/_app/immutable/nodes/44.BrBXSOgy.js.br +0 -0
- package/build/client/_app/immutable/nodes/44.BrBXSOgy.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.HX0KpCsb.js +1 -0
- package/build/client/_app/immutable/nodes/5.HX0KpCsb.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.HX0KpCsb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.B1fgdIIn.js +6 -0
- package/build/client/_app/immutable/nodes/6.B1fgdIIn.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.B1fgdIIn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.DcQX9AUZ.js +3 -0
- package/build/client/_app/immutable/nodes/9.DcQX9AUZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.DcQX9AUZ.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 +6 -6
- package/build/index.js +6 -6
- package/build/server/chunks/chunks/Activity.js-BBPabTRg.js +46 -0
- package/build/server/chunks/chunks/AlreadyRemote.js-CGLXxI2a.js +38 -0
- package/build/server/chunks/chunks/ChecksStrip.js-2nkPLD7z.js +62 -0
- package/build/server/chunks/chunks/ConsoleWindow.js-DwIyLCUA.js +103 -0
- package/build/server/chunks/chunks/DecisionForm.js-BuZwcsBO.js +744 -0
- package/build/server/chunks/chunks/DecisionsBadge.js-CCOY0U9q.js +79 -0
- package/build/server/chunks/chunks/Discussion.js-C_Ft9jEY.js +582 -0
- package/build/server/chunks/chunks/DocChip.js-DfdNZF3o.js +79 -0
- package/build/server/chunks/chunks/DocSheet.js-B7CeDIgr.js +64 -0
- package/build/server/chunks/chunks/EtaLine.js-sj9VjtDa.js +41 -0
- package/build/server/chunks/chunks/EveryProjectSwitch.js-DkJtiJcy.js +35 -0
- package/build/server/chunks/chunks/Icon.js-DI_o6niz.js +129 -0
- package/build/server/chunks/chunks/InsightsNav.js-DMkon5DK.js +23 -0
- package/build/server/chunks/chunks/InstallFromGitHub.js-DI4S33SK.js +272 -0
- package/build/server/chunks/chunks/InstallPlugin.js-440cXtp_.js +18 -0
- package/build/server/chunks/chunks/Lightbox.js-DAo2hGg7.js +37 -0
- package/build/server/chunks/chunks/LinkedText.js-Bo4Ephdr.js +24 -0
- package/build/server/chunks/chunks/LiveDocPicker.js-BRaqXaw3.js +1309 -0
- package/build/server/chunks/chunks/LivePreview.js-BciwB-ic.js +208 -0
- package/build/server/chunks/chunks/MateHealthPill.js-BbZdZaO7.js +29 -0
- package/build/server/chunks/chunks/PluginElement.js-CTV6ALOe.js +25 -0
- package/build/server/chunks/chunks/PluginReview.js-Bi-LDgoo.js +110 -0
- package/build/server/chunks/chunks/PreviewWindow.js-B0EogasX.js +966 -0
- package/build/server/chunks/chunks/ProjectBanner.js-mQkwBIPz.js +145 -0
- package/build/server/chunks/chunks/ResizableRail.js-6RNB63jw.js +37 -0
- package/build/server/chunks/chunks/SavedNote.js-CDS7L6C_.js +130 -0
- package/build/server/chunks/chunks/SettingsNav.js-BSq75e4G.js +40 -0
- package/build/server/chunks/chunks/Sheet.js-D6ufSQ7B.js +3958 -0
- package/build/server/chunks/chunks/SlotContent.js-C_ho7NCE.js +691 -0
- package/build/server/chunks/chunks/StateIcon.js-DUvSDhWL.js +70 -0
- package/build/server/chunks/chunks/Switch.js-C1vnucCD.js +21 -0
- package/build/server/chunks/chunks/TaskView.js-DL9dNvag.js +3109 -0
- package/build/server/chunks/chunks/TimeBar.js-epyzPf8k.js +32 -0
- package/build/server/chunks/chunks/TimeLegend.js-CHD9ecoD.js +29 -0
- package/build/server/chunks/chunks/VaultAdd.js-Dh0XKY-s.js +146 -0
- package/build/server/chunks/chunks/WhereBadge.js-D9GezA27.js +91 -0
- package/build/server/chunks/chunks/anchor.js-B7JEbbq6.js +20 -0
- package/build/server/chunks/chunks/arrow-down.js-D9AO_Hok.js +18 -0
- package/build/server/chunks/chunks/arrow-left.js-dkCKwDh_.js +18 -0
- package/build/server/chunks/chunks/arrow-right.js--KpODuNy.js +18 -0
- package/build/server/chunks/chunks/arrow-up-right.js-zxMccGp5.js +18 -0
- package/build/server/chunks/chunks/arrow-up.js-D4LAvjFg.js +18 -0
- package/build/server/chunks/chunks/bell-off.js-DdoBg6ql.js +30 -0
- package/build/server/chunks/chunks/bell.js-DE12yiXu.js +194 -0
- package/build/server/chunks/chunks/bell2.js-BWD7bmoe.js +23 -0
- package/build/server/chunks/chunks/book-open.js-DlNEJ493.js +23 -0
- package/build/server/chunks/chunks/button.js-Cv3ubKJP.js +4027 -0
- package/build/server/chunks/chunks/chat.svelte.js-Bj4PRBrx.js +417 -0
- package/build/server/chunks/chunks/check.js-DfF_V9Zc.js +15 -0
- package/build/server/chunks/chunks/chevron-down.js-CT6xg--L.js +15 -0
- package/build/server/chunks/chunks/chevron-left.js-DPtlmw2O.js +15 -0
- package/build/server/chunks/chunks/chevron-right.js-DJz6vAQ4.js +15 -0
- package/build/server/chunks/chunks/circle-alert.js-BV4qQ79A.js +23 -0
- package/build/server/chunks/chunks/circle-arrow-up.js-CsWNvG11.js +20 -0
- package/build/server/chunks/chunks/circle-check.js-N1bzCX8s.js +19 -0
- package/build/server/chunks/chunks/circle-dashed.js-B2k7eTI1.js +24 -0
- package/build/server/chunks/chunks/circle-dot.js-BFSDwEKx.js +18 -0
- package/build/server/chunks/chunks/circle-question-mark.js-DJy2XDn9.js +20 -0
- package/build/server/chunks/chunks/circle-x.js-BVQ2Ed1q.js +20 -0
- package/build/server/chunks/chunks/client.js-Swm9KOkD.js +24 -0
- package/build/server/chunks/chunks/clock.js-R-2X90wz.js +18 -0
- package/build/server/chunks/chunks/cloud2.js-BZu9cK95.js +20 -0
- package/build/server/chunks/chunks/copy.js-CPNPmC4T.js +33 -0
- package/build/server/chunks/chunks/decisiondrafts.svelte.js-Y8YES4Ml.js +43 -0
- package/build/server/chunks/chunks/decisionhome.js-NtAaP-do.js +320 -0
- package/build/server/chunks/chunks/detail.js-C9bQr9zM.js +149 -0
- package/build/server/chunks/chunks/dialog-close.js-CMVFkNiq.js +42 -0
- package/build/server/chunks/chunks/dialog-content.js-C-Kzq-Z7.js +3386 -0
- package/build/server/chunks/chunks/dialog.js-DrBgN31d.js +362 -0
- package/build/server/chunks/chunks/external-link.js-CtPy946p.js +24 -0
- package/build/server/chunks/chunks/eye.js-65-hbGx2.js +23 -0
- package/build/server/chunks/chunks/features.js-Gpn3GBDq.js +181 -0
- package/build/server/chunks/chunks/feedback.js-C4Qqh_CM.js +67 -0
- package/build/server/chunks/chunks/file-text.js-9raR2ehk.js +26 -0
- package/build/server/chunks/chunks/folder.js-CQeIbUip.js +22 -0
- package/build/server/chunks/chunks/git-commit-horizontal.js-0T8EV3fn.js +20 -0
- package/build/server/chunks/chunks/git-pull-request.js-CArdf4C9.js +20 -0
- package/build/server/chunks/chunks/hand.js-CDBR5wgQ.js +25 -0
- package/build/server/chunks/chunks/handled.js-CpIraGco.js +20 -0
- package/build/server/chunks/chunks/inbox.js-BnfWj0SF.js +240 -0
- package/build/server/chunks/chunks/index-server2.js-BGUiJh_L.js +17 -0
- package/build/server/chunks/chunks/index.js-BEO9kLnZ.js +1524 -0
- package/build/server/chunks/chunks/index2.js-Ne9LsnQj.js +40 -0
- package/build/server/chunks/chunks/insights.svelte.js-D2Vhrq7_.js +567 -0
- package/build/server/chunks/chunks/internal.js-CS5v8xK8.js +151 -0
- package/build/server/chunks/chunks/key-round.js-BvP9yTch.js +26 -0
- package/build/server/chunks/chunks/library-big.js-BbUdK_E5.js +27 -0
- package/build/server/chunks/chunks/list.js-CKo8sCqs.js +22 -0
- package/build/server/chunks/chunks/live.svelte.js-c69AWfsm.js +217 -0
- package/build/server/chunks/chunks/livereview.svelte.js-mlSJ12oO.js +58 -0
- package/build/server/chunks/chunks/loader-circle.js-CMRY-v5_.js +16 -0
- package/build/server/chunks/chunks/lock.js-DKnBruSq.js +28 -0
- package/build/server/chunks/chunks/marketplace-service.js-BZmN_N5H.js +557 -0
- package/build/server/chunks/chunks/maximize-2.js-B3tsnHT1.js +20 -0
- package/build/server/chunks/chunks/message-square.js-Ca6iGOwf.js +22 -0
- package/build/server/chunks/chunks/messages-square.js-BKBSAzsb.js +47 -0
- package/build/server/chunks/chunks/minus.js-C3ZUSMwC.js +15 -0
- package/build/server/chunks/chunks/monitor-play.js-CilOLGxR.js +28 -0
- package/build/server/chunks/chunks/mouse-pointer-click.js-D4xkz5Sp.js +75 -0
- package/build/server/chunks/chunks/ondeck.js-fIa0X29e.js +123 -0
- package/build/server/chunks/chunks/package-check.js-C0dwhtzK.js +26 -0
- package/build/server/chunks/chunks/package.js-Bq3nr_Q1.js +160 -0
- package/build/server/chunks/chunks/page.js-YFlZcxpC.js +13 -0
- package/build/server/chunks/chunks/pause.js-DlTb6_lg.js +24 -0
- package/build/server/chunks/chunks/pen-line.js-CjnlD61A.js +24 -0
- package/build/server/chunks/chunks/pencil.js-UJUmErbq.js +23 -0
- package/build/server/chunks/chunks/play.js-D8H1yEvn.js +22 -0
- package/build/server/chunks/chunks/plugins.js-DTJUPwJZ.js +58 -0
- package/build/server/chunks/chunks/plus.js-B9zHcZty.js +15 -0
- package/build/server/chunks/chunks/previewhelper2.js-38PIaJFE.js +214 -0
- package/build/server/chunks/chunks/pullrequests.js-CUPCHmas.js +32 -0
- package/build/server/chunks/chunks/pullrequests2.js-CCzk2sqm.js +12 -0
- package/build/server/chunks/chunks/puzzle.js-DJvq75RL.js +22 -0
- package/build/server/chunks/chunks/radio-tower.js-CBeuw6ko.js +23 -0
- package/build/server/chunks/chunks/refresh-cw.js-BR6Dl4e3.js +26 -0
- package/build/server/chunks/chunks/repo.js-BMNiWLpT.js +33 -0
- package/build/server/chunks/chunks/review.js-DdMUg7TP.js +176 -0
- package/build/server/chunks/chunks/root.js-DnHbjfVr.js +3105 -0
- package/build/server/chunks/chunks/rotate-ccw.js-CF09iCUn.js +21 -0
- package/build/server/chunks/chunks/rotate-cw.js-Bbi3Npjz.js +21 -0
- package/build/server/chunks/chunks/runtime.js-DVcQsPeC.js +26950 -0
- package/build/server/chunks/chunks/scale.js-zKsTaqRd.js +21 -0
- package/build/server/chunks/chunks/scribe.js-C_M8qKD1.js +1591 -0
- package/build/server/chunks/chunks/search.js-Zpb2PGbv.js +18 -0
- package/build/server/chunks/chunks/service.js-X2LyLmeg.js +1339 -0
- package/build/server/chunks/chunks/service2.js-CMLv9dsF.js +835 -0
- package/build/server/chunks/chunks/service3.js-Blb2CLgH.js +234 -0
- package/build/server/chunks/chunks/sessions.js-OvqNZqST.js +579 -0
- package/build/server/chunks/chunks/settings.js-AqcNnP0z.js +379 -0
- package/build/server/chunks/chunks/settings2.js-BsZ5vLGa.js +57 -0
- package/build/server/chunks/chunks/shield-check.js-D5jyKBXF.js +23 -0
- package/build/server/chunks/chunks/ship.js-DX0_DKCK.js +31 -0
- package/build/server/chunks/chunks/sparkles.js-BC6HgqJx.js +26 -0
- package/build/server/chunks/chunks/square-terminal.js-BsoQQJOB.js +30 -0
- package/build/server/chunks/chunks/starter.js-DSwlXSzf.js +400 -0
- package/build/server/chunks/chunks/state.svelte.js-CkSbGNMZ.js +13 -0
- package/build/server/chunks/chunks/store.js-CG9738oP.js +334 -0
- package/build/server/chunks/chunks/thumbs-up.js-zrropMVk.js +23 -0
- package/build/server/chunks/chunks/tmux.js-NVfcOTW_.js +504 -0
- package/build/server/chunks/chunks/tools.js-BE5l3Gq7.js +156 -0
- package/build/server/chunks/chunks/trash.js-Bgv8qBUv.js +22 -0
- package/build/server/chunks/chunks/triangle-alert.js-yTTA6t1y.js +25 -0
- package/build/server/chunks/chunks/uploads.js-Ca6miTnP.js +107 -0
- package/build/server/chunks/chunks/utils3.js-CjRVjhD-.js +3290 -0
- package/build/server/chunks/chunks/view.js-BElPJTHR.js +76 -0
- package/build/server/chunks/chunks/volume-2.js-BK92--6D.js +24 -0
- package/build/server/chunks/chunks/x.js-D5afbRfp.js +18 -0
- package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-Jzv82kHJ.js +116 -0
- package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-DDf84tee.js +112 -0
- package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-B2k8ocHJ.js +63 -0
- package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js-BBtVTXi6.js +79 -0
- package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-D0dF4PGm.js +83 -0
- package/build/server/chunks/entries/endpoints/api/documents/_server.ts.js-DgjFPiji.js +68 -0
- package/build/server/chunks/entries/endpoints/api/documents/briefing/_server.ts.js-Dx1yUHE4.js +73 -0
- package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-Cbqy6OvN.js +158 -0
- package/build/server/chunks/entries/endpoints/api/features/_server.ts.js-OAN9aLRH.js +57 -0
- package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-CdQ5ZPpI.js +75 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-CWnMa00j.js +111 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/_server.ts.js-BD6cPvYy.js +87 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/_server.ts.js-Bq2pyyfj.js +77 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/_server.ts.js-CzLMutUi.js +70 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-C7IXkDQk.js +70 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-1jRWsgxw.js +71 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-Du4f9DVI.js +77 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-CjhDM0Y2.js +70 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-CGhSC7L4.js +119 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-Dy0hm8C5.js +80 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-DAeKGdZb.js +91 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-BfgLOXCW.js +79 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-CN3ns4L7.js +70 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-CTeOLkL7.js +32 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-BhwGi92i.js +40 -0
- package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-B7_gvqmr.js +62 -0
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-Clhnt1eH.js +62 -0
- package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-BfHrBhqu.js +89 -0
- package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-BOPlWQ5R.js +87 -0
- package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-Hy0CAtTG.js +80 -0
- package/build/server/chunks/entries/endpoints/api/inbox/talk/_server.ts.js-kG0T1sBk.js +172 -0
- package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-i7BTtKEc.js +62 -0
- package/build/server/chunks/entries/endpoints/api/library/doc/_server.ts.js-DwQkt04q.js +71 -0
- package/build/server/chunks/entries/endpoints/api/library/promote/_server.ts.js-BFr5qk80.js +72 -0
- package/build/server/chunks/entries/endpoints/api/live/_id_/end/_server.ts.js-3GfqHz_q.js +91 -0
- package/build/server/chunks/entries/endpoints/api/live/_id_/events/_server.ts.js-YSnBSoPJ.js +72 -0
- package/build/server/chunks/entries/endpoints/api/live/_id_/interrupt/_server.ts.js-DpJi8gTx.js +27 -0
- package/build/server/chunks/entries/endpoints/api/live/_id_/say/_server.ts.js-Dmi2TtY2.js +30 -0
- package/build/server/chunks/entries/endpoints/api/live/_server.ts.js-BDhz3zHc.js +113 -0
- package/build/server/chunks/entries/endpoints/api/live/image/_server.ts.js-CH0_OmoG.js +74 -0
- package/build/server/chunks/entries/endpoints/api/live/scouts/_server.ts.js-CDN-TLBW.js +122 -0
- package/build/server/chunks/entries/endpoints/api/live/settings/_server.ts.js-DwKaKNA6.js +76 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-CzgNtqQE.js +97 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-B7OXNg2Y.js +86 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-Byxs2rx2.js +81 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-CxlOT3d9.js +78 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-sb12O9oa.js +27 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-DaXLbt-v.js +85 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-DE5QKSKP.js +39 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-DvoNJM4g.js +62 -0
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-FoRXHBWI.js +39 -0
- package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-B_T9SrsK.js +42 -0
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-GYFg9mYY.js +67 -0
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-5k5GMffs.js +76 -0
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-DKt3NSdV.js +73 -0
- package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-8OnzE9xW.js +77 -0
- package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-DCxgBTjF.js +27 -0
- package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-BbrjM36P.js +86 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-G9suLRB7.js +67 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-B0HGiUFQ.js +76 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-BorIpgIs.js +88 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-DJDIVK6X.js +75 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-CC9XG8HC.js +98 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-D37fFDBL.js +81 -0
- package/build/server/chunks/entries/endpoints/api/second-mate-setup/_server.ts.js-B7diIVPv.js +476 -0
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/_server.ts.js-CMcyA_3J.js +92 -0
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-DFeBC-ua.js +71 -0
- package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-B1dXoXmO.js +81 -0
- package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-DUQICmH2.js +141 -0
- package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-w7bH-h21.js +70 -0
- package/build/server/chunks/entries/endpoints/api/soundings/_server.ts.js-C07FCyB7.js +84 -0
- package/build/server/chunks/entries/endpoints/api/soundings/beacon/_server.ts.js-BiuAZHJi.js +70 -0
- package/build/server/chunks/entries/endpoints/api/soundings/settings/_server.ts.js-CaC6CQu6.js +73 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-OVT_ypVM.js +67 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-Dp1Ls3AH.js +86 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-DufwGyZl.js +113 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-DHUnZsHx.js +79 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/livereview/_server.ts.js-CmM6FUwF.js +108 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-DpiocCdL.js +127 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-Ci873QeH.js +82 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-DctaCGUR.js +84 -0
- package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-BJtmpaCl.js +85 -0
- package/build/server/chunks/entries/endpoints/api/voice/_server.ts.js-Ez_0zlZC.js +24 -0
- package/build/server/chunks/entries/endpoints/api/voice/hear/_server.ts.js-BywX2DJp.js +31 -0
- package/build/server/chunks/entries/endpoints/api/voice/speak/_server.ts.js-Dp_wov_S.js +33 -0
- package/build/server/chunks/entries/endpoints/api/wh-events/_server.ts.js-CoJWuLMh.js +97 -0
- package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-DgJzP3BZ.js +40 -0
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-BhIEstFY.js +27 -0
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-CN0dNfXB.js +27 -0
- package/build/server/chunks/entries/endpoints/library/_shelf_/_folder_/_slug_/files/_...path_/_server.ts.js-DeD0iNDn.js +78 -0
- package/build/server/chunks/entries/endpoints/r/_task_/_server.ts.js-CQQhV3Ad.js +68 -0
- package/build/server/chunks/entries/endpoints/records/_project_/_task_/files/_...path_/_server.ts.js-B8jG0jJO.js +75 -0
- package/build/server/chunks/entries/endpoints/tasks/_id_/live/_server.ts.js-C_zUOY3L.js +87 -0
- package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-B64mgG6P.js +66 -0
- package/build/server/chunks/entries/fallbacks/error.svelte.js-D_88DdNr.js +16 -0
- package/build/server/chunks/entries/hooks.server.js-Dh6UAnOR.js +108 -0
- package/build/server/chunks/entries/pages/_layout.server.ts.js-BdpERiEs.js +55 -0
- package/build/server/chunks/entries/pages/_layout.svelte.js-mE1ylvZx.js +6006 -0
- package/build/server/chunks/entries/pages/_page.server.ts.js-B6UzlwTL.js +16 -0
- package/build/server/chunks/entries/pages/_page.svelte.js-C964dN3e.js +4527 -0
- package/build/server/chunks/entries/pages/crew/_page.svelte.js-CTDTiD2b.js +115 -0
- package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-b1fv0Hxu.js +14 -0
- package/build/server/chunks/entries/pages/decisions/_page.svelte.js-DNAawoVW.js +226 -0
- package/build/server/chunks/entries/pages/deck/_page.server.ts.js-BRj0PNsz.js +16 -0
- package/build/server/chunks/entries/pages/deck/_page.svelte.js-BFs_-wss.js +96 -0
- package/build/server/chunks/entries/pages/documents/_page.server.ts.js-flodyodL.js +15 -0
- package/build/server/chunks/entries/pages/documents/_page.svelte.js-D-MG9MTi.js +560 -0
- package/build/server/chunks/entries/pages/files/_page.server.ts.js-fF2G5TLX.js +17 -0
- package/build/server/chunks/entries/pages/files/_page.svelte.js-Bj7ZDfy2.js +62 -0
- package/build/server/chunks/entries/pages/harbour/_page.svelte.js-0G9_1X2p.js +1011 -0
- package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-BUwS_q5r.js +11 -0
- package/build/server/chunks/entries/pages/headroom/_page.svelte.js-ClGZADdu.js +296 -0
- package/build/server/chunks/entries/pages/health/_page.server.ts.js-DKUMN2Xr.js +16 -0
- package/build/server/chunks/entries/pages/health/_page.svelte.js-i2kaUZZ9.js +518 -0
- package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-CeMr7vaN.js +18 -0
- package/build/server/chunks/entries/pages/inbox/_page.svelte.js-BNw3v_6q.js +902 -0
- package/build/server/chunks/entries/pages/library/_shelf_/_folder_/_slug_/_page.server.ts.js-gc8uO0OA.js +18 -0
- package/build/server/chunks/entries/pages/library/_shelf_/_folder_/_slug_/_page.svelte.js-BPXD-rkz.js +162 -0
- package/build/server/chunks/entries/pages/more/_page.svelte.js-Bzg6zfvf.js +157 -0
- package/build/server/chunks/entries/pages/plugins/_page.svelte.js-CxaPA0kk.js +678 -0
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-CK9Rye6C.js +16 -0
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-8Dt2l0kq.js +62 -0
- package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-Df6TL8wb.js +23 -0
- package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-DklpFCW6.js +938 -0
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-CUY_g3Jn.js +21 -0
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-B45JtjwN.js +84 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-D0-m9ks3.js +27 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-CGcmFeC9.js +421 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-CpXln7WA.js +15 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-BRjamtVM.js +1839 -0
- package/build/server/chunks/entries/pages/prototypes/_project_/_task_/_name_/_page.server.ts.js-D6DHOm5i.js +25 -0
- package/build/server/chunks/entries/pages/prototypes/_project_/_task_/_name_/_page.svelte.js-CdLqDrVT.js +106 -0
- package/build/server/chunks/entries/pages/records/_project_/_task_/_page.server.ts.js-zpA0X9xl.js +37 -0
- package/build/server/chunks/entries/pages/records/_project_/_task_/_page.svelte.js-3lnCLe-o.js +438 -0
- package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-Bt142AxX.js +11 -0
- package/build/server/chunks/entries/pages/remotes/_page.svelte.js-C0HaHnXI.js +349 -0
- package/build/server/chunks/entries/pages/second-mates/_page.server.ts.js-DHwDkHQd.js +13 -0
- package/build/server/chunks/entries/pages/second-mates/_page.svelte.js-CsdNCl_Y.js +420 -0
- package/build/server/chunks/entries/pages/second-mates/add/_page.svelte.js-CT7kblYj.js +60 -0
- package/build/server/chunks/entries/pages/settings/_page.server.ts.js-BjXcuDrf.js +12 -0
- package/build/server/chunks/entries/pages/settings/chat/_page.server.ts.js-3hfvdm74.js +18 -0
- package/build/server/chunks/entries/pages/settings/chat/_page.svelte.js-Bw4n3Rb8.js +77 -0
- package/build/server/chunks/entries/pages/settings/cloud/_page.svelte.js-LDuFEo9t.js +15 -0
- package/build/server/chunks/entries/pages/settings/discussion/_page.server.ts.js-CZ6tzgXY.js +19 -0
- package/build/server/chunks/entries/pages/settings/discussion/_page.svelte.js-BULWgids.js +148 -0
- package/build/server/chunks/entries/pages/settings/events/_page.server.ts.js-CLjkUgKn.js +16 -0
- package/build/server/chunks/entries/pages/settings/events/_page.svelte.js-C4J3V-Km.js +111 -0
- package/build/server/chunks/entries/pages/settings/experimental/_page.server.ts.js-Byqrbco1.js +15 -0
- package/build/server/chunks/entries/pages/settings/experimental/_page.svelte.js-BcPvOZiU.js +83 -0
- package/build/server/chunks/entries/pages/settings/firstmate/_page.server.ts.js-Bg8YKqA2.js +797 -0
- package/build/server/chunks/entries/pages/settings/firstmate/_page.svelte.js-COfhIHOO.js +254 -0
- package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-DAISctey.js +11 -0
- package/build/server/chunks/entries/pages/settings/gateway/_page.svelte.js-CxRXDDvw.js +262 -0
- package/build/server/chunks/entries/pages/settings/headroom/_page.svelte.js-KeyPKykf.js +126 -0
- package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-DdQi0cc5.js +19 -0
- package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-DYyXp3g1.js +567 -0
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-BtQ4xzVV.js +17 -0
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-CNoIxuWD.js +240 -0
- package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-yvoy56Fv.js +11 -0
- package/build/server/chunks/entries/pages/settings/setup/_page.svelte.js-B-HA_xqC.js +56 -0
- package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-BpLpWf5G.js +11 -0
- package/build/server/chunks/entries/pages/settings/update/_page.svelte.js-nHBU_yIB.js +62 -0
- package/build/server/chunks/entries/pages/settings/voice/_page.server.ts.js-CkwjYvnz.js +15 -0
- package/build/server/chunks/entries/pages/settings/voice/_page.svelte.js-0Y9P6IE9.js +162 -0
- package/build/server/chunks/entries/pages/setup/_page.server.ts.js-LZa6PCa_.js +18 -0
- package/build/server/chunks/entries/pages/setup/_page.svelte.js-BRfAhgMm.js +1440 -0
- package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-ClQWpu_e.js +36 -0
- package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-CljLpMWM.js +123 -0
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-BSryzxZP.js +24 -0
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.svelte.js-Vh5unW6G.js +81 -0
- package/build/server/chunks/entries/pages/time/_page.server.ts.js-DJ-lYPVA.js +11 -0
- package/build/server/chunks/entries/pages/time/_page.svelte.js-ACWC4zUJ.js +109 -0
- package/build/server/chunks/handler-C-epoXG5.js +1474 -0
- package/build/server/chunks/index.js-DZaWSu_x.js +4296 -0
- package/build/server/chunks/manifest.js-Bs3dGGaS.js +1050 -0
- package/build/server/chunks/nodes/0.js-CUQx2a3Z.js +69 -0
- package/build/server/chunks/nodes/1.js-QIxYNuA1.js +9 -0
- package/build/server/chunks/nodes/10.js-CVNRFCue.js +67 -0
- package/build/server/chunks/nodes/11.js-CMLYg1A8.js +69 -0
- package/build/server/chunks/nodes/12.js-EnNjuLSz.js +68 -0
- package/build/server/chunks/nodes/13.js-FovzUpZc.js +69 -0
- package/build/server/chunks/nodes/14.js-Dzhn7IO7.js +12 -0
- package/build/server/chunks/nodes/15.js-C6TEZIEI.js +9 -0
- package/build/server/chunks/nodes/16.js-CFQ1bRNI.js +9 -0
- package/build/server/chunks/nodes/17.js-BAQP-XWX.js +67 -0
- package/build/server/chunks/nodes/18.js-DYUEg8l6.js +70 -0
- package/build/server/chunks/nodes/19.js-BS8Oljvw.js +68 -0
- package/build/server/chunks/nodes/2.js-DiRU4uN2.js +67 -0
- package/build/server/chunks/nodes/20.js-tynI06Se.js +69 -0
- package/build/server/chunks/nodes/21.js-2pm4u3M3.js +68 -0
- package/build/server/chunks/nodes/22.js-DM3Vj5Bd.js +69 -0
- package/build/server/chunks/nodes/23.js-BWG_e31A.js +69 -0
- package/build/server/chunks/nodes/24.js-DV3jhbAX.js +25 -0
- package/build/server/chunks/nodes/25.js-Ca-FnHjf.js +25 -0
- package/build/server/chunks/nodes/26.js-uNR_gjDA.js +9 -0
- package/build/server/chunks/nodes/27.js-CnXwkd_G.js +25 -0
- package/build/server/chunks/nodes/28.js-CxUEctBQ.js +67 -0
- package/build/server/chunks/nodes/29.js-De22JWeb.js +18 -0
- package/build/server/chunks/nodes/3.js-CNrZqylH.js +9 -0
- package/build/server/chunks/nodes/30.js-Qn0c-Vzk.js +68 -0
- package/build/server/chunks/nodes/31.js-C0KpxFDH.js +67 -0
- package/build/server/chunks/nodes/32.js-Bv98uCoK.js +25 -0
- package/build/server/chunks/nodes/33.js-CRdQHqTz.js +67 -0
- package/build/server/chunks/nodes/34.js-CQG6qKeM.js +25 -0
- package/build/server/chunks/nodes/35.js-Dt4M3BNW.js +22 -0
- package/build/server/chunks/nodes/36.js-DVsjx_2S.js +67 -0
- package/build/server/chunks/nodes/37.js-TicGXn7l.js +70 -0
- package/build/server/chunks/nodes/38.js-CUwNpY95.js +69 -0
- package/build/server/chunks/nodes/39.js-C5XR9yJH.js +26 -0
- package/build/server/chunks/nodes/4.js-C9nkEEJr.js +68 -0
- package/build/server/chunks/nodes/40.js-ZJz-eJ85.js +69 -0
- package/build/server/chunks/nodes/41.js-Cs2k307C.js +71 -0
- package/build/server/chunks/nodes/42.js-CFiWBIi8.js +68 -0
- package/build/server/chunks/nodes/43.js-z75irp14.js +68 -0
- package/build/server/chunks/nodes/44.js-BpUOr_VO.js +67 -0
- package/build/server/chunks/nodes/5.js-1qKL1a3E.js +67 -0
- package/build/server/chunks/nodes/6.js-CJN74QV5.js +67 -0
- package/build/server/chunks/nodes/8.js-Dc5R6r5r.js +67 -0
- package/build/server/chunks/nodes/9.js-BSWhklfT.js +14 -0
- package/dist/cli.js +1 -1
- package/dist/wh-vault.js +1 -1
- package/firstmate-extension/firstmate-extension.json +1 -1
- package/package.json +1 -1
- package/build/client/_app/immutable/assets/0.Bi7wbObi.css +0 -1
- package/build/client/_app/immutable/assets/0.Bi7wbObi.css.br +0 -0
- package/build/client/_app/immutable/assets/0.Bi7wbObi.css.gz +0 -0
- package/build/client/_app/immutable/chunks/B3SUZ1lZ.js +0 -1
- package/build/client/_app/immutable/chunks/B3SUZ1lZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/B3SUZ1lZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BACzGo_J.js +0 -1
- package/build/client/_app/immutable/chunks/BACzGo_J.js.br +0 -0
- package/build/client/_app/immutable/chunks/BACzGo_J.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BHJ2GOQ2.js +0 -2
- package/build/client/_app/immutable/chunks/BHJ2GOQ2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BHJ2GOQ2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BUmi_NPh.js +0 -1
- package/build/client/_app/immutable/chunks/BUmi_NPh.js.br +0 -0
- package/build/client/_app/immutable/chunks/BUmi_NPh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bs4NMZfM.js +0 -1
- package/build/client/_app/immutable/chunks/Bs4NMZfM.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bs4NMZfM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C0e4APHr.js +0 -1
- package/build/client/_app/immutable/chunks/C0e4APHr.js.br +0 -0
- package/build/client/_app/immutable/chunks/C0e4APHr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C8UBZg2g.js +0 -7
- package/build/client/_app/immutable/chunks/C8UBZg2g.js.br +0 -0
- package/build/client/_app/immutable/chunks/C8UBZg2g.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C8tNMsbZ.js +0 -1
- package/build/client/_app/immutable/chunks/C8tNMsbZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/C8tNMsbZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CLsnhhko.js +0 -1
- package/build/client/_app/immutable/chunks/CLsnhhko.js.br +0 -2
- package/build/client/_app/immutable/chunks/CLsnhhko.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CQCVxehf.js +0 -1
- package/build/client/_app/immutable/chunks/CQCVxehf.js.br +0 -0
- package/build/client/_app/immutable/chunks/CQCVxehf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CgzIAHEU.js +0 -1
- package/build/client/_app/immutable/chunks/CgzIAHEU.js.br +0 -0
- package/build/client/_app/immutable/chunks/CgzIAHEU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ck-cnzoW.js +0 -1
- package/build/client/_app/immutable/chunks/Ck-cnzoW.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ck-cnzoW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CkI2Ea0B.js +0 -3
- package/build/client/_app/immutable/chunks/CkI2Ea0B.js.br +0 -0
- package/build/client/_app/immutable/chunks/CkI2Ea0B.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ckz7RGf0.js +0 -15
- package/build/client/_app/immutable/chunks/Ckz7RGf0.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ckz7RGf0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cw6Vodkk.js +0 -1
- package/build/client/_app/immutable/chunks/Cw6Vodkk.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cw6Vodkk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D-sY9AXp.js +0 -1
- package/build/client/_app/immutable/chunks/D-sY9AXp.js.br +0 -0
- package/build/client/_app/immutable/chunks/D-sY9AXp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D1G70X4T.js +0 -1
- package/build/client/_app/immutable/chunks/D1G70X4T.js.br +0 -0
- package/build/client/_app/immutable/chunks/D1G70X4T.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D1V9u-vc.js +0 -3
- package/build/client/_app/immutable/chunks/D1V9u-vc.js.br +0 -0
- package/build/client/_app/immutable/chunks/D1V9u-vc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DB4NmfjA.js +0 -1
- package/build/client/_app/immutable/chunks/DB4NmfjA.js.br +0 -0
- package/build/client/_app/immutable/chunks/DB4NmfjA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DVut611y.js +0 -7
- package/build/client/_app/immutable/chunks/DVut611y.js.br +0 -0
- package/build/client/_app/immutable/chunks/DVut611y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DdUjyp9q.js +0 -3
- package/build/client/_app/immutable/chunks/DdUjyp9q.js.br +0 -0
- package/build/client/_app/immutable/chunks/DdUjyp9q.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dg5Iatf7.js +0 -1
- package/build/client/_app/immutable/chunks/Dg5Iatf7.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dg5Iatf7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DotKSDx1.js +0 -4
- package/build/client/_app/immutable/chunks/DotKSDx1.js.br +0 -0
- package/build/client/_app/immutable/chunks/DotKSDx1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DpJ1M_D3.js +0 -3
- package/build/client/_app/immutable/chunks/DpJ1M_D3.js.br +0 -0
- package/build/client/_app/immutable/chunks/DpJ1M_D3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dze9OLXA.js +0 -1
- package/build/client/_app/immutable/chunks/Dze9OLXA.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dze9OLXA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/V9uGi6jc.js +0 -1
- package/build/client/_app/immutable/chunks/V9uGi6jc.js.br +0 -0
- package/build/client/_app/immutable/chunks/V9uGi6jc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/XH2accft.js +0 -6
- package/build/client/_app/immutable/chunks/XH2accft.js.br +0 -0
- package/build/client/_app/immutable/chunks/XH2accft.js.gz +0 -0
- package/build/client/_app/immutable/chunks/b8vhdCAF.js +0 -2
- package/build/client/_app/immutable/chunks/b8vhdCAF.js.br +0 -0
- package/build/client/_app/immutable/chunks/b8vhdCAF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/e0PvFmSr.js +0 -2
- package/build/client/_app/immutable/chunks/e0PvFmSr.js.br +0 -0
- package/build/client/_app/immutable/chunks/e0PvFmSr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/gPYlW04H.js +0 -5
- package/build/client/_app/immutable/chunks/gPYlW04H.js.br +0 -0
- package/build/client/_app/immutable/chunks/gPYlW04H.js.gz +0 -0
- package/build/client/_app/immutable/chunks/gocvF-xl.js +0 -1
- package/build/client/_app/immutable/chunks/gocvF-xl.js.br +0 -0
- package/build/client/_app/immutable/chunks/gocvF-xl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/nqsqhzVw.js +0 -5
- package/build/client/_app/immutable/chunks/nqsqhzVw.js.br +0 -0
- package/build/client/_app/immutable/chunks/nqsqhzVw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/o31-y7Gs.js +0 -8
- package/build/client/_app/immutable/chunks/o31-y7Gs.js.br +0 -0
- package/build/client/_app/immutable/chunks/o31-y7Gs.js.gz +0 -0
- package/build/client/_app/immutable/chunks/zer7Wq-g.js +0 -1
- package/build/client/_app/immutable/chunks/zer7Wq-g.js.br +0 -0
- package/build/client/_app/immutable/chunks/zer7Wq-g.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.7XFlI6ui.js +0 -2
- package/build/client/_app/immutable/entry/app.7XFlI6ui.js.br +0 -0
- package/build/client/_app/immutable/entry/app.7XFlI6ui.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.Bby64rHe.js +0 -1
- package/build/client/_app/immutable/entry/start.Bby64rHe.js.br +0 -0
- package/build/client/_app/immutable/entry/start.Bby64rHe.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.wCzDZ-tn.js +0 -9
- package/build/client/_app/immutable/nodes/0.wCzDZ-tn.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.wCzDZ-tn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.DdWjkyIA.js +0 -1
- package/build/client/_app/immutable/nodes/1.DdWjkyIA.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.DdWjkyIA.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.CrbYmI6G.js +0 -10
- package/build/client/_app/immutable/nodes/10.CrbYmI6G.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.CrbYmI6G.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.BYh-uOQ9.js +0 -9
- package/build/client/_app/immutable/nodes/11.BYh-uOQ9.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.BYh-uOQ9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.UZ3XYP9v.js +0 -3
- package/build/client/_app/immutable/nodes/12.UZ3XYP9v.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.UZ3XYP9v.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.BCot7Niv.js +0 -2
- package/build/client/_app/immutable/nodes/13.BCot7Niv.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.BCot7Niv.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.C4UJ39JS.js +0 -6
- package/build/client/_app/immutable/nodes/14.C4UJ39JS.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.C4UJ39JS.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.D1xNvzrA.js +0 -1
- package/build/client/_app/immutable/nodes/15.D1xNvzrA.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.D1xNvzrA.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.BigYEBP3.js +0 -10
- package/build/client/_app/immutable/nodes/16.BigYEBP3.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.BigYEBP3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.DGuZwe8T.js +0 -1
- package/build/client/_app/immutable/nodes/17.DGuZwe8T.js.br +0 -2
- package/build/client/_app/immutable/nodes/17.DGuZwe8T.js.gz +0 -0
- package/build/client/_app/immutable/nodes/18.DECgovpu.js +0 -3
- package/build/client/_app/immutable/nodes/18.DECgovpu.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.DECgovpu.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.DXAU0z_5.js +0 -1
- package/build/client/_app/immutable/nodes/19.DXAU0z_5.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.DXAU0z_5.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.WBE-PioF.js +0 -28
- package/build/client/_app/immutable/nodes/2.WBE-PioF.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.WBE-PioF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.q-aa3e_Y.js +0 -14
- package/build/client/_app/immutable/nodes/20.q-aa3e_Y.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.q-aa3e_Y.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.BLju9vI5.js +0 -150
- package/build/client/_app/immutable/nodes/21.BLju9vI5.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.BLju9vI5.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.CXZdl9b-.js +0 -3
- package/build/client/_app/immutable/nodes/22.CXZdl9b-.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.CXZdl9b-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/23.DM5Ks3Bs.js +0 -2
- package/build/client/_app/immutable/nodes/23.DM5Ks3Bs.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.DM5Ks3Bs.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.BkwcCbz8.js +0 -25
- package/build/client/_app/immutable/nodes/24.BkwcCbz8.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.BkwcCbz8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.DUa1lD5V.js +0 -5
- package/build/client/_app/immutable/nodes/25.DUa1lD5V.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.DUa1lD5V.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.DVjwM2Qr.js +0 -18
- package/build/client/_app/immutable/nodes/26.DVjwM2Qr.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.DVjwM2Qr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.DAHSyw4x.js +0 -4
- package/build/client/_app/immutable/nodes/28.DAHSyw4x.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.DAHSyw4x.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.B_HBkIp1.js +0 -2
- package/build/client/_app/immutable/nodes/3.B_HBkIp1.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.B_HBkIp1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.CUqcBJer.js +0 -6
- package/build/client/_app/immutable/nodes/30.CUqcBJer.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.CUqcBJer.js.gz +0 -0
- package/build/client/_app/immutable/nodes/31.C1vPgzv3.js +0 -8
- package/build/client/_app/immutable/nodes/31.C1vPgzv3.js.br +0 -0
- package/build/client/_app/immutable/nodes/31.C1vPgzv3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/32.BkRPYLu0.js +0 -2
- package/build/client/_app/immutable/nodes/32.BkRPYLu0.js.br +0 -0
- package/build/client/_app/immutable/nodes/32.BkRPYLu0.js.gz +0 -0
- package/build/client/_app/immutable/nodes/33.B7DiFLZ5.js +0 -5
- package/build/client/_app/immutable/nodes/33.B7DiFLZ5.js.br +0 -0
- package/build/client/_app/immutable/nodes/33.B7DiFLZ5.js.gz +0 -0
- package/build/client/_app/immutable/nodes/34.BU0_7C0q.js +0 -4
- package/build/client/_app/immutable/nodes/34.BU0_7C0q.js.br +0 -0
- package/build/client/_app/immutable/nodes/34.BU0_7C0q.js.gz +0 -0
- package/build/client/_app/immutable/nodes/35.hXl98N8a.js +0 -3
- package/build/client/_app/immutable/nodes/35.hXl98N8a.js.br +0 -0
- package/build/client/_app/immutable/nodes/35.hXl98N8a.js.gz +0 -0
- package/build/client/_app/immutable/nodes/36.WnNKm-yE.js +0 -7
- package/build/client/_app/immutable/nodes/36.WnNKm-yE.js.br +0 -0
- package/build/client/_app/immutable/nodes/36.WnNKm-yE.js.gz +0 -0
- package/build/client/_app/immutable/nodes/37.DpNlRzIc.js +0 -2
- package/build/client/_app/immutable/nodes/37.DpNlRzIc.js.br +0 -0
- package/build/client/_app/immutable/nodes/37.DpNlRzIc.js.gz +0 -0
- package/build/client/_app/immutable/nodes/38.CCQr-7vZ.js +0 -4
- package/build/client/_app/immutable/nodes/38.CCQr-7vZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/38.CCQr-7vZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/39.CPXB8c72.js +0 -7
- package/build/client/_app/immutable/nodes/39.CPXB8c72.js.br +0 -0
- package/build/client/_app/immutable/nodes/39.CPXB8c72.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.C2-SgMYi.js +0 -5
- package/build/client/_app/immutable/nodes/4.C2-SgMYi.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.C2-SgMYi.js.gz +0 -0
- package/build/client/_app/immutable/nodes/40.AXTtWlOb.js +0 -6
- package/build/client/_app/immutable/nodes/40.AXTtWlOb.js.br +0 -0
- package/build/client/_app/immutable/nodes/40.AXTtWlOb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/41.lAWGvH0Z.js +0 -23
- package/build/client/_app/immutable/nodes/41.lAWGvH0Z.js.br +0 -0
- package/build/client/_app/immutable/nodes/41.lAWGvH0Z.js.gz +0 -0
- package/build/client/_app/immutable/nodes/42.C6GD5fTc.js +0 -1
- package/build/client/_app/immutable/nodes/42.C6GD5fTc.js.br +0 -0
- package/build/client/_app/immutable/nodes/42.C6GD5fTc.js.gz +0 -0
- package/build/client/_app/immutable/nodes/44.DYSeoigk.js +0 -6
- package/build/client/_app/immutable/nodes/44.DYSeoigk.js.br +0 -0
- package/build/client/_app/immutable/nodes/44.DYSeoigk.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.BfoqYe4n.js +0 -1
- package/build/client/_app/immutable/nodes/5.BfoqYe4n.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.BfoqYe4n.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.D4gNHFr8.js +0 -6
- package/build/client/_app/immutable/nodes/6.D4gNHFr8.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.D4gNHFr8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.CTM8Gluo.js +0 -3
- package/build/client/_app/immutable/nodes/9.CTM8Gluo.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.CTM8Gluo.js.gz +0 -0
- package/build/server/chunks/chunks/Activity.js-TRKNufTv.js +0 -46
- package/build/server/chunks/chunks/AlreadyRemote.js-B9dpOq4z.js +0 -38
- package/build/server/chunks/chunks/ChecksStrip.js-BXs5kyt6.js +0 -62
- package/build/server/chunks/chunks/ConsoleWindow.js-DB2a1XZq.js +0 -103
- package/build/server/chunks/chunks/DecisionForm.js-dCyT41cv.js +0 -271
- package/build/server/chunks/chunks/DecisionsBadge.js-BT7araaK.js +0 -79
- package/build/server/chunks/chunks/Discussion.js-CRxJgBNx.js +0 -582
- package/build/server/chunks/chunks/DocChip.js-DoInQWPB.js +0 -79
- package/build/server/chunks/chunks/DocSheet.js-CvLGMl8R.js +0 -64
- package/build/server/chunks/chunks/EtaLine.js-DgmZtg1z.js +0 -41
- package/build/server/chunks/chunks/EveryProjectSwitch.js-DFedh6r3.js +0 -35
- package/build/server/chunks/chunks/Icon.js-BSe3UiY0.js +0 -129
- package/build/server/chunks/chunks/InsightsNav.js-CIoZLuch.js +0 -23
- package/build/server/chunks/chunks/InstallFromGitHub.js-DbS_ImCK.js +0 -272
- package/build/server/chunks/chunks/InstallPlugin.js-BAF6h48D.js +0 -18
- package/build/server/chunks/chunks/Lightbox.js-DIVP_DNg.js +0 -64
- package/build/server/chunks/chunks/LinkedText.js-C3BtxE5o.js +0 -24
- package/build/server/chunks/chunks/LiveDocPicker.js-D7q0xbOY.js +0 -1292
- package/build/server/chunks/chunks/LivePreview.js-CUX1-KGw.js +0 -208
- package/build/server/chunks/chunks/MateHealthPill.js-DGeuSNVh.js +0 -29
- package/build/server/chunks/chunks/MicButton.js-is_hVgKK.js +0 -299
- package/build/server/chunks/chunks/PluginReview.js-DHLjSCCq.js +0 -110
- package/build/server/chunks/chunks/ProjectBanner.js-ChX4ZtzT.js +0 -145
- package/build/server/chunks/chunks/ResizableRail.js-BB9BfX1E.js +0 -708
- package/build/server/chunks/chunks/SavedNote.js-sDNsodLO.js +0 -130
- package/build/server/chunks/chunks/SettingsNav.js-7LVsgqnh.js +0 -40
- package/build/server/chunks/chunks/Sheet.js-lYnoKkza.js +0 -3958
- package/build/server/chunks/chunks/SlotContent.js-DGU6orS1.js +0 -705
- package/build/server/chunks/chunks/StateIcon.js-M5Wwi7qa.js +0 -70
- package/build/server/chunks/chunks/Switch.js-BtyGsyCj.js +0 -21
- package/build/server/chunks/chunks/TaskView.js-Crd2Q3-W.js +0 -3107
- package/build/server/chunks/chunks/TimeBar.js-QcI60hC0.js +0 -32
- package/build/server/chunks/chunks/TimeLegend.js-CoI35VHR.js +0 -29
- package/build/server/chunks/chunks/VaultAdd.js-DoNDzv8g.js +0 -146
- package/build/server/chunks/chunks/WhereBadge.js-BEna3ErH.js +0 -91
- package/build/server/chunks/chunks/anchor.js-DDwMIP0Q.js +0 -20
- package/build/server/chunks/chunks/arrow-down.js-MuVK21x2.js +0 -18
- package/build/server/chunks/chunks/arrow-left.js-BUq5aSvE.js +0 -18
- package/build/server/chunks/chunks/arrow-right.js-BXjyenL9.js +0 -18
- package/build/server/chunks/chunks/arrow-up-right.js-DxZbBu88.js +0 -18
- package/build/server/chunks/chunks/arrow-up.js-4EITtimh.js +0 -18
- package/build/server/chunks/chunks/bell-off.js-IP4h8fv1.js +0 -30
- package/build/server/chunks/chunks/bell.js-bn_lKpLG.js +0 -194
- package/build/server/chunks/chunks/bell2.js-DHxs6erM.js +0 -23
- package/build/server/chunks/chunks/book-open.js-C3zyxMN6.js +0 -23
- package/build/server/chunks/chunks/button.js-C5sjiSlr.js +0 -7311
- package/build/server/chunks/chunks/chat.svelte.js-D2aJKEp0.js +0 -417
- package/build/server/chunks/chunks/check.js-Cb1MkAS_.js +0 -15
- package/build/server/chunks/chunks/chevron-down.js-C_cJX5RL.js +0 -15
- package/build/server/chunks/chunks/chevron-left.js-D_blEQ6e.js +0 -15
- package/build/server/chunks/chunks/chevron-right.js-CdDvdptI.js +0 -15
- package/build/server/chunks/chunks/circle-alert.js-Ci6msfOH.js +0 -23
- package/build/server/chunks/chunks/circle-arrow-up.js-LVDaauEI.js +0 -20
- package/build/server/chunks/chunks/circle-check.js-YvEA_06n.js +0 -19
- package/build/server/chunks/chunks/circle-dashed.js-C4gm0BKl.js +0 -24
- package/build/server/chunks/chunks/circle-dot.js-Du-iRC_f.js +0 -18
- package/build/server/chunks/chunks/circle-question-mark.js-C_poL_xK.js +0 -20
- package/build/server/chunks/chunks/circle-x.js-B8tvuZLu.js +0 -20
- package/build/server/chunks/chunks/client.js-Dr8b_KEN.js +0 -24
- package/build/server/chunks/chunks/clock.js-Bvi-kx70.js +0 -18
- package/build/server/chunks/chunks/cloud2.js-DSfUjxv8.js +0 -20
- package/build/server/chunks/chunks/copy.js-y8QFh8r-.js +0 -33
- package/build/server/chunks/chunks/decisionhome.js-GDNgBJjF.js +0 -319
- package/build/server/chunks/chunks/detail.js-DHjBTp8m.js +0 -149
- package/build/server/chunks/chunks/dialog-close.js-tuhObms6.js +0 -42
- package/build/server/chunks/chunks/dialog-content.js-BP-cSlND.js +0 -3386
- package/build/server/chunks/chunks/dialog.js-Cw_Lq7El.js +0 -361
- package/build/server/chunks/chunks/external-link.js-0Q2q1XJy.js +0 -24
- package/build/server/chunks/chunks/eye.js-DsR73i66.js +0 -23
- package/build/server/chunks/chunks/features.js-BhXyRT_1.js +0 -181
- package/build/server/chunks/chunks/feedback.js-BC3wLBEi.js +0 -67
- package/build/server/chunks/chunks/file-text.js-cjS1SZ5I.js +0 -26
- package/build/server/chunks/chunks/folder.js-QyYr7pHz.js +0 -22
- package/build/server/chunks/chunks/git-commit-horizontal.js-DC6rjZY2.js +0 -20
- package/build/server/chunks/chunks/git-pull-request.js-CI3dYm3l.js +0 -20
- package/build/server/chunks/chunks/hand.js-C5MHuoW1.js +0 -25
- package/build/server/chunks/chunks/handled.js-CSOW-IZA.js +0 -20
- package/build/server/chunks/chunks/inbox.js-Ci-STS86.js +0 -229
- package/build/server/chunks/chunks/index-server2.js-CipTSbO8.js +0 -17
- package/build/server/chunks/chunks/index.js-CGRR0Z5n.js +0 -1524
- package/build/server/chunks/chunks/index2.js-DU3D3Pw7.js +0 -40
- package/build/server/chunks/chunks/insights.svelte.js-Lx1t_kvq.js +0 -567
- package/build/server/chunks/chunks/internal.js-CUlRxCy1.js +0 -151
- package/build/server/chunks/chunks/key-round.js-B-PYwQe7.js +0 -26
- package/build/server/chunks/chunks/library-big.js-DWmP8EuU.js +0 -27
- package/build/server/chunks/chunks/list.js-C-XWUtAa.js +0 -22
- package/build/server/chunks/chunks/live.svelte.js-DnRGwlWJ.js +0 -217
- package/build/server/chunks/chunks/livereview.svelte.js-NtXFGLsh.js +0 -42
- package/build/server/chunks/chunks/loader-circle.js-DcM6SAe-.js +0 -16
- package/build/server/chunks/chunks/lock.js-C0NvMsBn.js +0 -28
- package/build/server/chunks/chunks/marketplace-service.js-DP08Gprl.js +0 -557
- package/build/server/chunks/chunks/maximize-2.js-BTZd_1cV.js +0 -20
- package/build/server/chunks/chunks/message-square.js-mnnbByAj.js +0 -22
- package/build/server/chunks/chunks/messages-square.js-CEvcK1Tf.js +0 -47
- package/build/server/chunks/chunks/mic.js-DCnSfCr-.js +0 -22
- package/build/server/chunks/chunks/minus.js-VbjYaTxw.js +0 -15
- package/build/server/chunks/chunks/monitor-play.js-Cuf7xjBQ.js +0 -28
- package/build/server/chunks/chunks/mouse-pointer-click.js-CpebYlEi.js +0 -75
- package/build/server/chunks/chunks/ondeck.js-CkFGLxh5.js +0 -123
- package/build/server/chunks/chunks/package-check.js-C9G_nUNN.js +0 -26
- package/build/server/chunks/chunks/package.js-DeCro00Y.js +0 -160
- package/build/server/chunks/chunks/page.js-DCSeCETG.js +0 -13
- package/build/server/chunks/chunks/pause.js-DRMsDKp3.js +0 -24
- package/build/server/chunks/chunks/pen-line.js-D5r9PUgR.js +0 -24
- package/build/server/chunks/chunks/pencil.js-DJOVdk84.js +0 -23
- package/build/server/chunks/chunks/play.js-Dgf5Usqf.js +0 -22
- package/build/server/chunks/chunks/plugins.js-f8rCy8cN.js +0 -58
- package/build/server/chunks/chunks/plus.js-D0Svwm19.js +0 -15
- package/build/server/chunks/chunks/previewhelper2.js-CxDckETB.js +0 -214
- package/build/server/chunks/chunks/pullrequests.js-CCzk2sqm.js +0 -12
- package/build/server/chunks/chunks/puzzle.js-CjqmWmcn.js +0 -22
- package/build/server/chunks/chunks/radio-tower.js-Blr8JF13.js +0 -23
- package/build/server/chunks/chunks/refresh-cw.js-D10WVNY2.js +0 -26
- package/build/server/chunks/chunks/repo.js-OOqVL99k.js +0 -33
- package/build/server/chunks/chunks/review.js-5yv45rx9.js +0 -176
- package/build/server/chunks/chunks/root.js-DazUKLT0.js +0 -3105
- package/build/server/chunks/chunks/rotate-ccw.js-EmD9322l.js +0 -21
- package/build/server/chunks/chunks/rotate-cw.js-DRIy2sz-.js +0 -21
- package/build/server/chunks/chunks/runtime.js-DX3CmRGO.js +0 -26796
- package/build/server/chunks/chunks/scale.js-Bs7k4o3a.js +0 -21
- package/build/server/chunks/chunks/scribe.js-CXnMfdTZ.js +0 -1591
- package/build/server/chunks/chunks/search.js-Dm3KXY8w.js +0 -18
- package/build/server/chunks/chunks/service.js-BHqnTorX.js +0 -1339
- package/build/server/chunks/chunks/service2.js-CKM7-HZm.js +0 -835
- package/build/server/chunks/chunks/service3.js-KI2TkU0G.js +0 -234
- package/build/server/chunks/chunks/sessions.js-qcyBTO1C.js +0 -534
- package/build/server/chunks/chunks/settings.js-iwooIldP.js +0 -379
- package/build/server/chunks/chunks/settings2.js-B8ZEIDg9.js +0 -57
- package/build/server/chunks/chunks/shield-check.js-BeA40byG.js +0 -23
- package/build/server/chunks/chunks/ship.js-Bmn2Gi1I.js +0 -31
- package/build/server/chunks/chunks/sparkles.js-DQM2x00G.js +0 -26
- package/build/server/chunks/chunks/square-terminal.js-DNlVSTBa.js +0 -30
- package/build/server/chunks/chunks/starter.js-EuJD4Y7E.js +0 -400
- package/build/server/chunks/chunks/state.svelte.js-DZ9TIRJd.js +0 -13
- package/build/server/chunks/chunks/store.js-CBYhaqF1.js +0 -334
- package/build/server/chunks/chunks/thumbs-up.js-CvOXkwb6.js +0 -23
- package/build/server/chunks/chunks/tmux.js-BnFtiGpm.js +0 -504
- package/build/server/chunks/chunks/tools.js-CSWRR-_m.js +0 -156
- package/build/server/chunks/chunks/trash.js-Dav-8F4m.js +0 -22
- package/build/server/chunks/chunks/triangle-alert.js-C3r6V6Sr.js +0 -25
- package/build/server/chunks/chunks/uploads.js-ZX2kg51N.js +0 -107
- package/build/server/chunks/chunks/view.js-BtpuqCcG.js +0 -76
- package/build/server/chunks/chunks/volume-2.js-BdrATtWy.js +0 -24
- package/build/server/chunks/chunks/x.js-BY5-8Tlo.js +0 -18
- package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-Ad8JXgSV.js +0 -116
- package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-DHAKw1tp.js +0 -112
- package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-DbAIziKZ.js +0 -63
- package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js-ufew1Y5_.js +0 -79
- package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-CwkC2GAb.js +0 -83
- package/build/server/chunks/entries/endpoints/api/documents/_server.ts.js-dk_eagAv.js +0 -68
- package/build/server/chunks/entries/endpoints/api/documents/briefing/_server.ts.js-CZgc-jK2.js +0 -73
- package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-BEVdZPeK.js +0 -158
- package/build/server/chunks/entries/endpoints/api/features/_server.ts.js-C9jkqC7K.js +0 -57
- package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-CQsEpKWc.js +0 -75
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-DoHqJGQu.js +0 -111
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/_server.ts.js-k7RWU4a7.js +0 -87
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/_server.ts.js-Cw_m92EW.js +0 -77
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/_server.ts.js-DRpguZvJ.js +0 -70
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-Df10pH-y.js +0 -70
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-CKYpdpKi.js +0 -71
- package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-BbrpKAto.js +0 -77
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-Dq4FwnEm.js +0 -70
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-C82b6oJS.js +0 -119
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-DB0Gok1U.js +0 -80
- package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-DzbgQyG6.js +0 -91
- package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-B8ruQ5h3.js +0 -79
- package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-BLDhGD9j.js +0 -70
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-CSSUNhkV.js +0 -32
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-yZHelvlp.js +0 -40
- package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js---g0VbtF.js +0 -62
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-B9nrwlvW.js +0 -62
- package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-fc8Wqf5M.js +0 -89
- package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-BwuEj3M4.js +0 -87
- package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-DX0wMxHu.js +0 -80
- package/build/server/chunks/entries/endpoints/api/inbox/talk/_server.ts.js-WgesO2Ms.js +0 -172
- package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-D1qGghnO.js +0 -62
- package/build/server/chunks/entries/endpoints/api/library/doc/_server.ts.js-B46E_UY4.js +0 -71
- package/build/server/chunks/entries/endpoints/api/library/promote/_server.ts.js-rLxO4ilC.js +0 -72
- package/build/server/chunks/entries/endpoints/api/live/_id_/end/_server.ts.js-DFvCwnnc.js +0 -91
- package/build/server/chunks/entries/endpoints/api/live/_id_/events/_server.ts.js-DuDvfPGO.js +0 -72
- package/build/server/chunks/entries/endpoints/api/live/_id_/interrupt/_server.ts.js-DOA618e_.js +0 -27
- package/build/server/chunks/entries/endpoints/api/live/_id_/say/_server.ts.js-XXsEGuag.js +0 -30
- package/build/server/chunks/entries/endpoints/api/live/_server.ts.js-BxyNQX1j.js +0 -105
- package/build/server/chunks/entries/endpoints/api/live/image/_server.ts.js-DzPUeQTi.js +0 -74
- package/build/server/chunks/entries/endpoints/api/live/scouts/_server.ts.js-D6FlaCsT.js +0 -122
- package/build/server/chunks/entries/endpoints/api/live/settings/_server.ts.js-ibP1IALO.js +0 -76
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-C2O_1tsc.js +0 -97
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-C4_oIAkQ.js +0 -86
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-DFe3B0-C.js +0 -81
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-D_3n0Kba.js +0 -78
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-CiTwI8G3.js +0 -27
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-1GH0aLjT.js +0 -85
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-Fljubb6w.js +0 -39
- package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-h7brvwH8.js +0 -62
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-dgFjw3pe.js +0 -39
- package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-DzSX-fed.js +0 -42
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-BKNkf7RN.js +0 -67
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-D8zbkxWU.js +0 -76
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-_pc2lv0p.js +0 -73
- package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-DjLc3l6Q.js +0 -77
- package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-BPM4JU9Q.js +0 -27
- package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-B4TkAv_f.js +0 -86
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-BB-5ZR1i.js +0 -67
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-Db3-ZPhf.js +0 -76
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-9hSAnvjP.js +0 -88
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-KWfN143Y.js +0 -75
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-C4s2oo_a.js +0 -98
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-C7FVTBfy.js +0 -81
- package/build/server/chunks/entries/endpoints/api/second-mate-setup/_server.ts.js-BBZ_81Hv.js +0 -476
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/_server.ts.js-DSkqSGDx.js +0 -92
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-CMqY8MuY.js +0 -71
- package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-drinSExp.js +0 -81
- package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-W9lc2vQc.js +0 -141
- package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-B0M5ow1C.js +0 -70
- package/build/server/chunks/entries/endpoints/api/soundings/_server.ts.js-u67UCa9W.js +0 -84
- package/build/server/chunks/entries/endpoints/api/soundings/beacon/_server.ts.js-DTg_lLkL.js +0 -70
- package/build/server/chunks/entries/endpoints/api/soundings/settings/_server.ts.js-BxcyP_jS.js +0 -73
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-OriulA5p.js +0 -67
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-BkzW7SnD.js +0 -86
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-D6w4peql.js +0 -113
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-CkzWvp_j.js +0 -79
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/livereview/_server.ts.js-DUPdhYb9.js +0 -108
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-DlCqB7AM.js +0 -127
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-B-fg1SSO.js +0 -82
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-CGsesrQK.js +0 -84
- package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-jP_-O6RG.js +0 -85
- package/build/server/chunks/entries/endpoints/api/voice/_server.ts.js-DXFnvkGa.js +0 -24
- package/build/server/chunks/entries/endpoints/api/voice/hear/_server.ts.js-YvrIL0pq.js +0 -31
- package/build/server/chunks/entries/endpoints/api/voice/speak/_server.ts.js-COequtTm.js +0 -33
- package/build/server/chunks/entries/endpoints/api/wh-events/_server.ts.js-vhzylCJF.js +0 -97
- package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-BAlohB0e.js +0 -40
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-BScWdc_M.js +0 -27
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-ACeFvWSt.js +0 -27
- package/build/server/chunks/entries/endpoints/library/_shelf_/_folder_/_slug_/files/_...path_/_server.ts.js-DhrTgLvP.js +0 -78
- package/build/server/chunks/entries/endpoints/r/_task_/_server.ts.js-C_1S2VPD.js +0 -68
- package/build/server/chunks/entries/endpoints/records/_project_/_task_/files/_...path_/_server.ts.js-DORgtL7A.js +0 -75
- package/build/server/chunks/entries/endpoints/tasks/_id_/live/_server.ts.js-BJg9eIp3.js +0 -87
- package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-DbMlLYQ_.js +0 -66
- package/build/server/chunks/entries/fallbacks/error.svelte.js-CYARY1w1.js +0 -16
- package/build/server/chunks/entries/hooks.server.js-0ygu6BOU.js +0 -108
- package/build/server/chunks/entries/pages/_layout.server.ts.js-D4GJqANq.js +0 -55
- package/build/server/chunks/entries/pages/_layout.svelte.js-htXq-BIz.js +0 -6004
- package/build/server/chunks/entries/pages/_page.server.ts.js-NOA0LV-8.js +0 -16
- package/build/server/chunks/entries/pages/_page.svelte.js-CD76_gLe.js +0 -4907
- package/build/server/chunks/entries/pages/crew/_page.svelte.js-Ch8B4X-h.js +0 -114
- package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-DJc2Mrcj.js +0 -14
- package/build/server/chunks/entries/pages/decisions/_page.svelte.js-C81bSVvG.js +0 -226
- package/build/server/chunks/entries/pages/deck/_page.server.ts.js-D6iTblQf.js +0 -16
- package/build/server/chunks/entries/pages/deck/_page.svelte.js-DnhH91da.js +0 -94
- package/build/server/chunks/entries/pages/documents/_page.server.ts.js-CefWivKv.js +0 -15
- package/build/server/chunks/entries/pages/documents/_page.svelte.js-BeqgIxJk.js +0 -560
- package/build/server/chunks/entries/pages/files/_page.server.ts.js-X9Fip8AA.js +0 -17
- package/build/server/chunks/entries/pages/files/_page.svelte.js-BFTVNh9m.js +0 -62
- package/build/server/chunks/entries/pages/harbour/_page.svelte.js-BeGcicP-.js +0 -1011
- package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-BSQ9hVRX.js +0 -11
- package/build/server/chunks/entries/pages/headroom/_page.svelte.js-Dbwl9dNj.js +0 -296
- package/build/server/chunks/entries/pages/health/_page.server.ts.js-CsyYGE3m.js +0 -16
- package/build/server/chunks/entries/pages/health/_page.svelte.js-bl4bWGGt.js +0 -517
- package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-DXj_VYqN.js +0 -18
- package/build/server/chunks/entries/pages/inbox/_page.svelte.js-BzbFF516.js +0 -676
- package/build/server/chunks/entries/pages/library/_shelf_/_folder_/_slug_/_page.server.ts.js-BVlndmek.js +0 -18
- package/build/server/chunks/entries/pages/library/_shelf_/_folder_/_slug_/_page.svelte.js-BMwe2JBi.js +0 -160
- package/build/server/chunks/entries/pages/more/_page.svelte.js-DzJr69PI.js +0 -157
- package/build/server/chunks/entries/pages/plugins/_page.svelte.js-BNaIO18O.js +0 -677
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-BToqlD6y.js +0 -16
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-DPAD-m5A.js +0 -60
- package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-B5cPAzS8.js +0 -23
- package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-B7wh7O70.js +0 -935
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-DNCv5rXn.js +0 -21
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-CVaEhhc8.js +0 -82
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-CZS9Bodc.js +0 -27
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-D66AKIB9.js +0 -420
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-DD4txdK-.js +0 -15
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-qkr8pljd.js +0 -1838
- package/build/server/chunks/entries/pages/prototypes/_project_/_task_/_name_/_page.server.ts.js-CQRBkxSY.js +0 -25
- package/build/server/chunks/entries/pages/prototypes/_project_/_task_/_name_/_page.svelte.js-DzzYhJQg.js +0 -106
- package/build/server/chunks/entries/pages/records/_project_/_task_/_page.server.ts.js-SFWAn442.js +0 -37
- package/build/server/chunks/entries/pages/records/_project_/_task_/_page.svelte.js-CxGM8n5w.js +0 -436
- package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-1rUuuwrk.js +0 -11
- package/build/server/chunks/entries/pages/remotes/_page.svelte.js-DELoR5hS.js +0 -348
- package/build/server/chunks/entries/pages/second-mates/_page.server.ts.js-C5r6-ShC.js +0 -13
- package/build/server/chunks/entries/pages/second-mates/_page.svelte.js-Cmh8eW3f.js +0 -420
- package/build/server/chunks/entries/pages/second-mates/add/_page.svelte.js-CEuwD1Wk.js +0 -60
- package/build/server/chunks/entries/pages/settings/_page.server.ts.js-DGKwb104.js +0 -12
- package/build/server/chunks/entries/pages/settings/chat/_page.server.ts.js-DZvxqVYE.js +0 -18
- package/build/server/chunks/entries/pages/settings/chat/_page.svelte.js-QcEoXRkC.js +0 -77
- package/build/server/chunks/entries/pages/settings/cloud/_page.svelte.js-CFvm8n_H.js +0 -15
- package/build/server/chunks/entries/pages/settings/discussion/_page.server.ts.js-Dfp3F1KA.js +0 -19
- package/build/server/chunks/entries/pages/settings/discussion/_page.svelte.js-8gyst-w5.js +0 -148
- package/build/server/chunks/entries/pages/settings/events/_page.server.ts.js-BUOZPf8P.js +0 -16
- package/build/server/chunks/entries/pages/settings/events/_page.svelte.js-CPbIXxxX.js +0 -111
- package/build/server/chunks/entries/pages/settings/experimental/_page.server.ts.js-DRjZBOes.js +0 -15
- package/build/server/chunks/entries/pages/settings/experimental/_page.svelte.js-DXOheNgP.js +0 -83
- package/build/server/chunks/entries/pages/settings/firstmate/_page.server.ts.js-DJ_xX5hV.js +0 -797
- package/build/server/chunks/entries/pages/settings/firstmate/_page.svelte.js-Cu1HOAHX.js +0 -254
- package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-DXGbl8NS.js +0 -11
- package/build/server/chunks/entries/pages/settings/gateway/_page.svelte.js-BIitAyTK.js +0 -261
- package/build/server/chunks/entries/pages/settings/headroom/_page.svelte.js-DhjKoUs2.js +0 -126
- package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-Cj3Hxt76.js +0 -19
- package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-Bua937WL.js +0 -566
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-4j173mHX.js +0 -17
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-3Ognab-a.js +0 -239
- package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-LbgHmXt_.js +0 -11
- package/build/server/chunks/entries/pages/settings/setup/_page.svelte.js-zPoYDzg8.js +0 -55
- package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-oCfRNmnc.js +0 -11
- package/build/server/chunks/entries/pages/settings/update/_page.svelte.js-CGS4EHXK.js +0 -62
- package/build/server/chunks/entries/pages/settings/voice/_page.server.ts.js-DCCZZNVc.js +0 -15
- package/build/server/chunks/entries/pages/settings/voice/_page.svelte.js-CPtKfR3g.js +0 -161
- package/build/server/chunks/entries/pages/setup/_page.server.ts.js-T92Fm8YT.js +0 -18
- package/build/server/chunks/entries/pages/setup/_page.svelte.js-DNreKbQH.js +0 -1439
- package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-WTWH5vBy.js +0 -36
- package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-B4YSN4J5.js +0 -121
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-BdhihrsR.js +0 -24
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.svelte.js-CdlX8djh.js +0 -81
- package/build/server/chunks/entries/pages/time/_page.server.ts.js-BbjHIcph.js +0 -11
- package/build/server/chunks/entries/pages/time/_page.svelte.js-npwW50OK.js +0 -109
- package/build/server/chunks/handler-D97ws-JG.js +0 -1474
- package/build/server/chunks/index.js-BpCPpeD1.js +0 -4296
- package/build/server/chunks/manifest.js-t53ajQ9Q.js +0 -1050
- package/build/server/chunks/nodes/0.js-CPgXz1rr.js +0 -69
- package/build/server/chunks/nodes/1.js-OxQ1vyWg.js +0 -9
- package/build/server/chunks/nodes/10.js-WLXMh3pL.js +0 -67
- package/build/server/chunks/nodes/11.js-DVSs0rtW.js +0 -69
- package/build/server/chunks/nodes/12.js-B-zdMnAf.js +0 -68
- package/build/server/chunks/nodes/13.js-CGf6D12E.js +0 -69
- package/build/server/chunks/nodes/14.js-Cc0Cs3BZ.js +0 -12
- package/build/server/chunks/nodes/15.js-C56waLff.js +0 -9
- package/build/server/chunks/nodes/16.js-ngLHXz7A.js +0 -9
- package/build/server/chunks/nodes/17.js-pKqH3sSI.js +0 -67
- package/build/server/chunks/nodes/18.js-DeSFExoB.js +0 -70
- package/build/server/chunks/nodes/19.js-H-tdpYaY.js +0 -68
- package/build/server/chunks/nodes/2.js-w4RP36SK.js +0 -67
- package/build/server/chunks/nodes/20.js-eeKV19Oo.js +0 -69
- package/build/server/chunks/nodes/21.js-J6jZ3dPG.js +0 -68
- package/build/server/chunks/nodes/22.js-C3hZ4tdE.js +0 -69
- package/build/server/chunks/nodes/23.js-DOJWdasx.js +0 -69
- package/build/server/chunks/nodes/24.js-jbGsKPGa.js +0 -25
- package/build/server/chunks/nodes/25.js-DDEcQhut.js +0 -25
- package/build/server/chunks/nodes/26.js-B1bKygAB.js +0 -9
- package/build/server/chunks/nodes/27.js-rQgQSbRQ.js +0 -25
- package/build/server/chunks/nodes/28.js-DUQd6Cv_.js +0 -67
- package/build/server/chunks/nodes/29.js-Cycdssqz.js +0 -18
- package/build/server/chunks/nodes/3.js-B8ES7X8Q.js +0 -9
- package/build/server/chunks/nodes/30.js-b8fwsOIj.js +0 -68
- package/build/server/chunks/nodes/31.js-DrRrBiTb.js +0 -67
- package/build/server/chunks/nodes/32.js-BkiwxBh2.js +0 -25
- package/build/server/chunks/nodes/33.js--_olgEuI.js +0 -67
- package/build/server/chunks/nodes/34.js-DR8-9PRf.js +0 -25
- package/build/server/chunks/nodes/35.js-BpUXMXIV.js +0 -22
- package/build/server/chunks/nodes/36.js-CWzrVpGU.js +0 -67
- package/build/server/chunks/nodes/37.js-C1YrItu3.js +0 -70
- package/build/server/chunks/nodes/38.js-P8vcivMn.js +0 -69
- package/build/server/chunks/nodes/39.js-BbTD7OBt.js +0 -26
- package/build/server/chunks/nodes/4.js-Q08C31S5.js +0 -68
- package/build/server/chunks/nodes/40.js-6Pn_2r53.js +0 -69
- package/build/server/chunks/nodes/41.js-DjGj6gn8.js +0 -71
- package/build/server/chunks/nodes/42.js-BdGd2c01.js +0 -68
- package/build/server/chunks/nodes/43.js-BBcQ_6ns.js +0 -68
- package/build/server/chunks/nodes/44.js-RZ9bi5d0.js +0 -67
- package/build/server/chunks/nodes/5.js-DlDo7c57.js +0 -67
- package/build/server/chunks/nodes/6.js-BqtXd85E.js +0 -67
- package/build/server/chunks/nodes/8.js-DTCcSbXy.js +0 -67
- package/build/server/chunks/nodes/9.js-C_CTyZTT.js +0 -14
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{a as zt}from"./CeV_7ApB.js";import{p as ut,d as V,e as Dt,q as wt,f as ae,h as y,o as E,s as o,i as e,r as u,t as w,a as r,b as vt,j as re,k as s,n as Se,m as be,c as i,y as He,x as We,v as Lt,z as Ot,A as It}from"./Jk-ASPRO.js";import{d as Wt,s as h,e as kt,a as rt,l as Ft}from"./DTApYZoW.js";import{i as $}from"./BEVJas-l.js";import{k as Ut}from"./CsFoEe5t.js";import{c as Ht}from"./Cq7OFmxz.js";import{r as xt,a as ie,e as $e,i as Ke,g as Vt,f as qt,s as De,c as Kt,j as Bt}from"./DNP6oCAK.js";import{s as Pt,r as At,p as at}from"./DQWg__9S.js";import{a as Jt}from"./Dd_RZdO_.js";import{b as Zt}from"./CNxxt--f.js";import{p as ct}from"./CLsnhhko.js";import{S as jt}from"./BXN538J3.js";import{s as _t,a as Gt,S as Yt}from"./C14pDzYB.js";import{B as Me}from"./VrUPyiEH.js";import{L as Xt}from"./Cz0t0Wrt.js";import{K as St}from"./C-HYwD2y.js";import{C as Qt}from"./BfHvf1Rg.js";import{I as Nt}from"./DE0e4nJ8.js";import{E as er}from"./KaWfcwy_.js";import{b as yt}from"./DLfKkHEy.js";import{a as bt}from"./BdjCJ4uL.js";import{s as tr}from"./Cw6Vodkk.js";import{l as Mt,e as rr}from"./BMMeDG3C.js";import{L as Rt}from"./D73wi9-q.js";import{P as ar}from"./B_DDhx9A.js";import{C as nr}from"./BwqxEF2U.js";import{C as or}from"./c9k4nDgn.js";import{X as sr}from"./m8-RluHE.js";import{C as ir}from"./CFq-JuCn.js";import{C as lr}from"./lCxfAEBr.js";import{E as dr}from"./gEZHG5dd.js";import{P as cr}from"./C0e4APHr.js";const ur=/https?:\/\/[^\s<>"'`]+/g,vr=/[.,;:!?)\]}'"*]+$/;function fr(a){return[...a.matchAll(ur)].map(t=>t[0].replace(vr,""))}var mr=new Set(["$$slots","$$events","$$legacy"]);function pr(a,t){let m=At(t,mr);const g={name:"eye-off",size:24,node:[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143"}],["path",{d:"m2 2 20 20"}]]};Nt(a,Pt(()=>m,{get icon(){return g}}))}var hr=new Set(["$$slots","$$events","$$legacy"]);function gr(a,t){let m=At(t,hr);const g={name:"minimize-2",size:24,node:[["path",{d:"m14 10 7-7"}],["path",{d:"M20 10h-6V4"}],["path",{d:"m3 21 7-7"}],["path",{d:"M4 14h6v6"}]]};Nt(a,Pt(()=>m,{get icon(){return g}}))}var xr=i('<div class="relative"><input autocomplete="off" autocapitalize="off" spellcheck="false" data-1p-ignore="" data-lpignore="true" class="h-10 w-full rounded-md border border-input bg-background px-3 pr-10 font-mono text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-60"/> <button type="button" class="absolute inset-y-0 right-0 flex w-10 items-center justify-center rounded-r-md text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring"><!></button></div>'),_r=i('<label class="flex min-w-0 items-center gap-2 text-sm"><input type="checkbox" class="size-4 shrink-0 accent-[var(--sea)]"/> <span class="truncate"> </span></label>'),yr=i('<div class="grid gap-x-6 gap-y-2 sm:grid-cols-2" role="group"></div>'),br=i('<p class="text-sm text-muted-foreground">Wheelhouse knows no projects yet.</p>'),wr=i('<p class="mt-5 rounded-md border border-warning/40 bg-warning/5 px-4 py-2.5 text-sm" role="alert" data-vault-unavailable=""> </p>'),kr=i('<p class="mt-5 rounded-md border border-success/40 bg-success/5 px-4 py-2.5 text-sm" role="status"> </p>'),jr=i('<p class="mt-5 rounded-md border border-danger/40 bg-danger/5 px-4 py-2.5 text-sm" role="alert"> </p>'),Sr=i('<p class="mt-5 text-sm text-muted-foreground"> </p>'),Mr=i('<p id="vault-name-help" class="text-sm text-danger" role="alert"> </p>'),Er=i('<p id="vault-name-help" class="text-xs text-muted-foreground">The environment variable a command receives it as: letters, digits and underscores.</p>'),Tr=i('<section class="mt-6 rounded-lg border border-hair bg-background/60 px-5 py-5" aria-labelledby="vault-add"><h2 id="vault-add" class="font-display text-lg">Add a secret</h2> <p class="mt-0.5 mb-5 text-xs text-muted-foreground">Storing a name that already exists replaces its value.</p> <form class="grid gap-5"><div class="grid max-w-md gap-1.5"><label for="vault-name" class="text-sm font-medium">Name</label> <input id="vault-name" autocomplete="off" autocapitalize="characters" spellcheck="false" placeholder="VERCEL_TOKEN" aria-describedby="vault-name-help" class="h-10 w-full rounded-md border border-input bg-background px-3 font-mono text-sm outline-none placeholder:text-muted-foreground/60 focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-60 aria-invalid:border-danger"/> <!></div> <div class="grid max-w-md gap-1.5"><label for="vault-value" class="text-sm font-medium">Value</label> <!> <p class="flex items-start gap-1.5 text-xs text-muted-foreground"><!> </p></div> <div class="grid gap-2"><p class="text-sm font-medium">Projects that may use it</p> <p class="-mt-1 mb-1 text-xs text-muted-foreground">Optional. You can change this any time.</p> <!></div> <div class="flex flex-wrap gap-2"><!> <!></div></form></section>'),zr=i('<div class="mt-6 rounded-lg border border-dashed px-6 py-10"><!> <p class="mt-3 font-display text-lg">The vault is empty</p> <p class="mt-1 max-w-prose text-sm text-muted-foreground">Add the tokens and keys your projects need. The crew uses them by name and never sees a value.</p> <!></div>'),Pr=i('<span class="rounded border border-hair px-1.5 py-0.5 text-xs"> </span>'),Ar=i('<span class="text-xs text-muted-foreground">No project yet</span>'),Nr=i('<form class="grid gap-2"><label for="vault-replace" class="text-xs font-medium">New value</label> <!> <div class="flex flex-wrap gap-2"><!> <!></div></form>'),Rr=i('<p>Remove <span class="font-mono"> </span> </p> <div class="flex flex-wrap gap-2"><!> <!></div>',1),Cr=i('<div class="flex flex-wrap gap-2"><!> <!></div>'),$r=i('<div class="grid gap-6 px-1 pt-1 pb-5 sm:grid-cols-[minmax(0,1fr)_minmax(0,18rem)] sm:pl-9"><div><p class="mb-2 text-sm font-medium">Projects that may use it</p> <!> <p class="mt-3 text-xs text-muted-foreground"> </p></div> <div class="grid content-start gap-3 text-sm"><p class="tabular text-xs text-muted-foreground"> <br/> </p> <!></div></div>'),Dr=i('<li><button class="flex min-h-12 w-full items-center gap-4 px-1 py-3 text-left outline-none hover:bg-muted/50 focus-visible:ring-2 focus-visible:ring-ring"><!> <span class="min-w-0 flex-1 truncate font-mono text-sm font-medium"> </span> <span class="hidden min-w-0 flex-wrap justify-end gap-1.5 sm:flex"></span> <!></button> <!></li>'),Lr=i('<ul class="mt-6 divide-y divide-hair border-y border-hair" aria-label="Secrets"></ul>'),Or=i('<a class="text-sea hover:underline"> </a>'),Ir=i('<tr><td class="tabular py-2 pr-4 whitespace-nowrap"> </td><td class="py-2 pr-4"><!></td><td class="py-2 pr-4"> </td><td class="py-2 pr-4 font-mono text-xs"> </td><td class="py-2 pr-4"> </td><td class="py-2"> </td></tr>'),Wr=i('<h2 class="section-label mt-10">Recent use</h2> <div class="mt-3 no-scrollbar overflow-x-auto"><table class="w-full text-sm"><thead class="text-left text-xs text-muted-foreground"><tr class="border-b border-hair"><th class="py-2 pr-4 font-medium">When</th><th class="py-2 pr-4 font-medium">Task</th><th class="py-2 pr-4 font-medium">Project</th><th class="py-2 pr-4 font-medium">Secrets</th><th class="py-2 pr-4 font-medium">Command</th><th class="py-2 font-medium">Result</th></tr></thead><tbody class="divide-y divide-hair"></tbody></table></div>',1),Fr=i('<div class="flex flex-wrap items-start justify-between gap-4"><p class="max-w-prose text-sm text-muted-foreground"> </p> <!></div> <!> <!> <!> <!> <!> <!> <!>',1);function Ur(a,t){ut(t,!0);const m=(n,c=He,f=He,b=He)=>{var J=xr(),d=y(J);xt(d);var k=o(d,2),q=y(k);{var se=ee=>{pr(ee,{class:"size-4"})},me=ee=>{er(ee,{class:"size-4"})};$(q,ee=>{e(S)?ee(se):ee(me,-1)})}u(k),u(J),w(ee=>{ie(d,"id",c()),ie(d,"type",e(S)?"text":"password"),Vt(d,ee),d.disabled=e(Z),ie(k,"aria-label",e(S)?"Hide what you typed":"Show what you typed"),ie(k,"aria-pressed",e(S))},[()=>f()()]),rt("input",d,ee=>b()(ee.currentTarget.value)),rt("click",k,()=>s(S,!e(S))),r(n,J)},g=(n,c=He,f=He,b=He)=>{var J=We(),d=ae(J);{var k=se=>{var me=yr();$e(me,20,()=>e(l),ee=>ee,(ee,Le)=>{var Ue=_r(),te=y(Ue);xt(te);var _e=o(te,2),ze=E(_e,!0);u(Ue),w(ke=>{qt(te,ke),te.disabled=e(Z),h(ze,Le)},[()=>f().includes(Le)]),rt("change",te,ke=>{const Ve=ke.currentTarget;b()(Le,Ve.checked,Ve)}),r(ee,Ue)}),u(me),w(()=>ie(me,"aria-label",c())),r(se,me)},q=se=>{var me=br();r(se,me)};$(d,se=>{e(l).length?se(k):se(q,-1)})}r(n,J)},T=re(()=>t.data);let x=V(null);const P=re(()=>{const n=t.entry.content.available?Date.parse(t.entry.content.observedAt??""):NaN;return e(x)&&!(n>e(x).at)?e(x).secrets:e(T).secrets}),l=re(()=>{const n=(ct.data.fleet?.projects??[]).map(f=>f.id),c=e(P).flatMap(f=>f.projects).filter(f=>!n.includes(f));return[...n,...[...new Set(c)].sort()]});let C=V(null),K=V(!1),ue=V(null),ne=V(null),Z=V(!1),ve=V(null),xe=V(null),D=V(""),A=V(""),W=V(Dt([])),S=V(!1),v=V(""),j=V(""),N=V(null);const R=re(()=>e(N)?.canStore===!1);function z(){fetch("/api/vault").then(n=>n.ok?n.json():null).then(n=>{n&&s(N,n,!0)}).catch(()=>{})}wt(z);function L(n){if(!n)return"Never";const c=new Date(n);if(Number.isNaN(c.getTime()))return n;const f=b=>String(b).padStart(2,"0");return`${c.getFullYear()}-${f(c.getMonth()+1)}-${f(c.getDate())} ${f(c.getHours())}:${f(c.getMinutes())}`}function p(){s(A,""),s(j,""),s(S,!1)}function M(){s(D,""),s(W,[],!0),s(v,""),s(ve,null),s(xe,null),p(),s(K,!0)}function H(){s(K,!1),p()}async function O(n){s(Z,!0),s(xe,null),s(ve,null);try{const c=await fetch("/api/vault",{method:"POST",headers:{"content-type":"application/json",[jt]:ct.data.sessionToken},body:JSON.stringify(n)}),f=await c.json().catch(()=>null);return c.ok?(f?.secrets&&s(x,{secrets:f.secrets,at:Date.parse(f.observedAt??"")||Date.now()},!0),s(ve,f?.message??"Done.",!0),!0):(s(xe,f?.message??`Wheelhouse could not do that (${c.status}).`,!0),c.status===503&&z(),!1)}catch{return s(xe,"Wheelhouse could not be reached. Try again."),!1}finally{s(Z,!1)}}async function F(n){if(n.preventDefault(),!Yt.test(e(D))){s(v,"Use letters, digits and underscores, not starting with a digit, like VERCEL_TOKEN.");return}if(!e(A))return;const c={action:"set",name:e(D),value:e(A),projects:e(W)};s(A,""),s(S,!1),await O(c)&&(s(K,!1),s(C,e(D),!0))}async function B(n,c){if(n.preventDefault(),!e(j))return;const f={action:"set",name:c.name,value:e(j),projects:[]};s(j,""),s(S,!1),await O(f)&&s(ue,null)}async function le(n,c,f,b){await O({action:f?"grant":"revoke",name:n.name,projects:[c]})||(b.checked=!f)}async function I(n){await O({action:"remove",name:n.name})&&(s(ne,null),s(C,null))}function de(n){s(C,e(C)===n?null:n,!0),s(ne,null),s(ue,null),p()}var Fe=Fr(),tt=ae(Fe),ot=y(tt),ft=E(ot),Ye=o(ot,2);{var mt=n=>{{let c=re(()=>e(Z)||e(R));Me(n,{onclick:M,get disabled(){return e(c)},children:(f,b)=>{Se();var J=be("Add a secret");r(f,J)},$$slots:{default:!0}})}};$(Ye,n=>{e(P).length&&!e(K)&&n(mt)})}u(tt);var st=o(tt,2);{var _=n=>{var c=wr(),f=E(c,!0);w(()=>h(f,e(N)?.reason??"The vault cannot store a secret on this computer.")),r(n,c)};$(st,n=>{e(R)&&n(_)})}var U=o(st,2);{var oe=n=>{var c=kr(),f=E(c,!0);w(()=>h(f,e(ve))),r(n,c)};$(U,n=>{e(ve)&&n(oe)})}var pe=o(U,2);{var Re=n=>{var c=jr(),f=E(c,!0);w(()=>h(f,e(xe))),r(n,c)};$(pe,n=>{e(xe)&&n(Re)})}var fe=o(pe,2);{var Ee=n=>{var c=Sr(),f=E(c,!0);w(()=>h(f,e(T).problem)),r(n,c)};$(fe,n=>{e(T).problem&&n(Ee)})}var he=o(fe,2);{var X=n=>{var c=Tr(),f=o(y(c),4),b=y(f),J=o(y(b),2);xt(J);var d=o(J,2);{var k=Y=>{var je=Mr(),Ce=E(je,!0);w(()=>h(Ce,e(v))),r(Y,je)},q=Y=>{var je=Er();r(Y,je)};$(d,Y=>{e(v)?Y(k):Y(q,-1)})}u(b);var se=o(b,2),me=o(y(se),2);m(me,()=>"vault-value",()=>()=>e(A),()=>Y=>s(A,Y,!0));var ee=o(me,2),Le=y(ee);Xt(Le,{class:"mt-px size-3.5 shrink-0"});var Ue=o(Le);u(ee),u(se);var te=o(se,2),_e=o(y(te),4);g(_e,()=>"Projects that may use it",()=>e(W),()=>(Y,je)=>{s(W,je?[...e(W),Y]:e(W).filter(Ce=>Ce!==Y),!0)}),u(te);var ze=o(te,2),ke=y(ze);{let Y=re(()=>e(Z)||!e(D)||!e(A)||e(R));Me(ke,{type:"submit",get disabled(){return e(Y)},children:(je,Ce)=>{Se();var Xe=be("Store secret");r(je,Xe)},$$slots:{default:!0}})}var Ve=o(ke,2);Me(Ve,{type:"button",variant:"outline",get disabled(){return e(Z)},onclick:H,children:(Y,je)=>{Se();var Ce=be("Cancel");r(Y,Ce)},$$slots:{default:!0}}),u(ze),u(f),u(c),w(Y=>{J.disabled=e(Z),ie(J,"aria-invalid",e(v)?"true":void 0),h(Ue,` Goes straight into ${Y??""}. Wheelhouse cannot show it again.`)},[()=>_t(e(N))]),kt("submit",f,F),rt("input",J,()=>s(v,"")),Zt(J,()=>e(D),Y=>s(D,Y)),r(n,c)};$(he,n=>{e(K)&&n(X)})}var G=o(he,2);{var Q=n=>{var c=zr(),f=y(c);St(f,{class:"size-6 text-brass","aria-hidden":"true"});var b=o(f,6);{let J=re(()=>e(Z)||e(R));Me(b,{class:"mt-5",onclick:M,get disabled(){return e(J)},children:(d,k)=>{Se();var q=be("Add a secret");r(d,q)},$$slots:{default:!0}})}u(c),r(n,c)},ce=n=>{var c=Lr();$e(c,21,()=>e(P),f=>f.name,(f,b)=>{var J=Dr(),d=y(J),k=y(d);St(k,{class:"size-4 shrink-0 text-brass","aria-hidden":"true"});var q=o(k,2),se=E(q,!0),me=o(q,2);$e(me,20,()=>e(b).projects,te=>te,(te,_e)=>{var ze=Pr(),ke=E(ze,!0);w(()=>h(ke,_e)),r(te,ze)},te=>{var _e=Ar();r(te,_e)}),u(me);var ee=o(me,2);{let te=re(()=>e(C)===e(b).name?"rotate-90":"");Qt(ee,{get class(){return`size-4 shrink-0 text-muted-foreground transition-transform ${e(te)??""}`},"aria-hidden":"true"})}u(d);var Le=o(d,2);{var Ue=te=>{var _e=$r(),ze=y(_e),ke=o(y(ze),2);g(ke,()=>`Projects that may use ${e(b).name}`,()=>e(b).projects,()=>(Pe,ye,Ae)=>le(e(b),Pe,ye,Ae));var Ve=o(ke,2),Y=E(Ve,!0);u(ze);var je=o(ze,2),Ce=y(je),Xe=y(Ce),Oe=o(Xe,2);u(Ce);var Ie=o(Ce,2);{var pt=Pe=>{var ye=Nr(),Ae=o(y(ye),2);m(Ae,()=>"vault-replace",()=>()=>e(j),()=>Ne=>s(j,Ne,!0));var Be=o(Ae,2),qe=y(Be);{let Ne=re(()=>e(Z)||!e(j));Me(qe,{type:"submit",size:"sm",get disabled(){return e(Ne)},children:(Je,it)=>{Se();var Ze=be("Replace");r(Je,Ze)},$$slots:{default:!0}})}var Qe=o(qe,2);Me(Qe,{type:"button",size:"sm",variant:"outline",get disabled(){return e(Z)},onclick:()=>{s(ue,null),p()},children:(Ne,Je)=>{Se();var it=be("Cancel");r(Ne,it)},$$slots:{default:!0}}),u(Be),u(ye),kt("submit",ye,Ne=>B(Ne,e(b))),r(Pe,ye)},ht=Pe=>{var ye=Rr(),Ae=ae(ye),Be=o(y(Ae)),qe=E(Be,!0),Qe=o(Be);u(Ae);var Ne=o(Ae,2),Je=y(Ne);Me(Je,{size:"sm",variant:"destructive",get disabled(){return e(Z)},onclick:()=>I(e(b)),children:(Ze,$t)=>{Se();var gt=be("Remove");r(Ze,gt)},$$slots:{default:!0}});var it=o(Je,2);Me(it,{size:"sm",variant:"outline",get disabled(){return e(Z)},onclick:()=>s(ne,null),children:(Ze,$t)=>{Se();var gt=be("Keep it");r(Ze,gt)},$$slots:{default:!0}}),u(Ne),w(Ze=>{h(qe,e(b).name),h(Qe,`? Its value is deleted from ${Ze??""} and every project loses it. This cannot be undone.`)},[()=>_t(e(N))]),r(Pe,ye)},Ct=Pe=>{var ye=Cr(),Ae=y(ye);{let qe=re(()=>e(Z)||e(R));Me(Ae,{size:"sm",variant:"outline",get disabled(){return e(qe)},onclick:()=>{s(ue,e(b).name,!0),s(ve,null)},children:(Qe,Ne)=>{Se();var Je=be("Replace value");r(Qe,Je)},$$slots:{default:!0}})}var Be=o(Ae,2);Me(Be,{size:"sm",variant:"ghost",class:"text-danger hover:text-danger",get disabled(){return e(Z)},onclick:()=>s(ne,e(b).name,!0),children:(qe,Qe)=>{Se();var Ne=be("Remove…");r(qe,Ne)},$$slots:{default:!0}}),u(ye),r(Pe,ye)};$(Ie,Pe=>{e(ue)===e(b).name?Pe(pt):e(ne)===e(b).name?Pe(ht,1):Pe(Ct,-1)})}u(je),u(_e),w((Pe,ye,Ae)=>{ie(_e,"id",`vault-${e(b).name??""}`),h(Y,Pe),h(Xe,`Value set ${ye??""}`),h(Oe,`Last used ${Ae??""}`)},[()=>e(b).projects.length?`A command ${Gt(e(b).projects)} ${e(b).projects.length===1?"runs":"run"} through the vault gets it in its environment, that command only.`:"No project can use it until you tick one.",()=>L(e(b).updatedAt),()=>L(e(b).lastUsedAt)]),r(te,_e)};$(Le,te=>{e(C)===e(b).name&&te(Ue)})}u(J),w(()=>{ie(d,"aria-expanded",e(C)===e(b).name),ie(d,"aria-controls",`vault-${e(b).name??""}`),h(se,e(b).name)}),rt("click",d,()=>de(e(b).name)),r(f,J)}),u(c),r(n,c)};$(G,n=>{!e(P).length&&!e(K)?n(Q):e(P).length&&n(ce,1)})}var we=o(G,2);{var Te=n=>{var c=Wr(),f=o(ae(c),2),b=y(f),J=o(y(b));$e(J,21,()=>e(T).used,Ke,(d,k)=>{var q=Ir(),se=y(q),me=E(se,!0),ee=o(se),Le=y(ee);{var Ue=Oe=>{var Ie=Or(),pt=E(Ie,!0);w(ht=>{ie(Ie,"href",`/tasks/${ht??""}`),h(pt,e(k).task)},[()=>encodeURIComponent(e(k).task)]),r(Oe,Ie)},te=Oe=>{var Ie=be();w(()=>h(Ie,e(k).task??"—")),r(Oe,Ie)};$(Le,Oe=>{e(k).task&&e(k).taskKnown?Oe(Ue):Oe(te,-1)})}u(ee);var _e=o(ee),ze=E(_e,!0),ke=o(_e),Ve=E(ke,!0),Y=o(ke),je=E(Y,!0),Ce=o(Y),Xe=E(Ce,!0);u(q),w((Oe,Ie)=>{h(me,Oe),h(ze,e(k).project??"—"),h(Ve,Ie),h(je,e(k).program??"—"),h(Xe,e(k).result)},[()=>L(e(k).at),()=>e(k).names.join(", ")||"—"]),r(d,q)}),u(J),u(b),u(f),r(n,c)};$(we,n=>{e(T).used.length&&n(Te)})}w(n=>h(ft,`Secrets your projects can use by name. Values stay in ${n??""}; Wheelhouse never
|
|
2
|
-
shows one.`),[()=>_t(e(N))]),r(a,Fe),vt()}Wt(["input","click","change"]);const Hr={"vault/overview":Ur},Vr="2026-01-26";class ge extends Error{constructor(t,m){super(m),this.code=t}code}const qr=-32601,et=-32602,Ge=-32e3,Kr=a=>typeof a=="string"&&a.length<=128||typeof a=="number"&&Number.isFinite(a);function Br(a){if(typeof a!="object"||a===null||Array.isArray(a))return null;const t=a;return t.jsonrpc!=="2.0"||t.method!==void 0&&(typeof t.method!="string"||t.method.length>128)||t.id!==void 0&&!Kr(t.id)||t.method===void 0&&t.id===void 0?null:t}class Jr{constructor(t){this.o=t}o;next=1;pending=new Map;closed=!1;receive(t){if(this.closed)return;const m=Br(t);if(m){if(m.method!==void 0&&m.id!==void 0)this.answer(m.id,m.method,m.params);else if(m.method!==void 0)try{this.o.onNotification(m.method,m.params)}catch{}else if(m.id!==void 0){const g=this.pending.get(m.id);if(!g)return;this.pending.delete(m.id),clearTimeout(g.timer),m.error?g.reject(new ge(m.error.code,String(m.error.message))):g.resolve(m.result)}}}async answer(t,m,g){let T;try{const x=await this.o.onRequest(m,g);T={jsonrpc:"2.0",id:t,result:x??{}}}catch(x){const P=x instanceof ge?x:new ge(Ge,x instanceof Error?x.message:String(x));T={jsonrpc:"2.0",id:t,error:{code:P.code,message:P.message}}}this.closed||this.o.send(T)}request(t,m,g=1e4){if(this.closed)return Promise.reject(new Error("The app is closed."));const T=this.next++;return new Promise((x,P)=>{const l=setTimeout(()=>{this.pending.delete(T),P(new Error(`The app did not answer ${t}.`))},g);this.pending.set(T,{resolve:x,reject:P,timer:l}),this.o.send({jsonrpc:"2.0",id:T,method:t,params:m})})}notify(t,m){this.closed||this.o.send({jsonrpc:"2.0",method:t,params:m})}close(){this.closed=!0;for(const t of this.pending.values())clearTimeout(t.timer),t.reject(new Error("The app is closed."));this.pending.clear()}}const dt=a=>typeof a=="object"&&a!==null&&!Array.isArray(a)?a:{},Zr=16*1024;function Gr(a,t,m){return async(g,T)=>{const x=dt(T);switch(g){case"ui/initialize":return{protocolVersion:Vr,hostInfo:t,hostCapabilities:m,hostContext:a.context()};case"ping":return{};case"tools/call":{if(typeof x.name!="string"||!x.name)throw new ge(et,"Name the tool to call.");return a.callTool(x.name,dt(x.arguments))}case"resources/read":{if(typeof x.uri!="string"||!x.uri)throw new ge(et,"Name the resource to read.");return a.readResource(x.uri)}case"ui/open-link":{let P;try{P=new URL(String(x.url))}catch{throw new ge(et,"Invalid URL")}if(P.protocol!=="http:"&&P.protocol!=="https:")throw new ge(Ge,"Policy violation: only http(s) links open.");return a.openLink(P.href),{}}case"ui/message":{const l=(Array.isArray(x.content)?x.content:[x.content]).map(C=>dt(C)).filter(C=>C.type==="text"&&typeof C.text=="string").map(C=>C.text).join(`
|
|
3
|
-
|
|
4
|
-
`).trim();if(!l)throw new ge(et,"Invalid message format: no text.");if(l.length>Zr)throw new ge(et,"The message is too long.");if(!await a.sendMessage(l))throw new ge(Ge,"Message sending denied");return{}}case"ui/request-display-mode":{const P=x.mode;if(P!=="inline"&&P!=="fullscreen"&&P!=="pip")throw new ge(et,"Unknown display mode.");return{mode:await a.displayMode(P)}}default:throw new ge(qr,`Wheelhouse does not offer ${g}.`)}}}function Yr(a){return(t,m)=>{const g=dt(m),T=x=>typeof x=="number"&&Number.isFinite(x)&&x>=0?Math.min(x,1e5):void 0;t==="ui/notifications/initialized"?a.initialized():t==="ui/notifications/size-changed"?a.resize({width:T(g.width),height:T(g.height)}):t==="notifications/message"&&a.log(typeof g.level=="string"?g.level:"info",g.data)}}const Xr={"--color-background-primary":"--background","--color-background-secondary":"--card","--color-background-tertiary":"--muted","--color-background-inverse":"--foreground","--color-text-primary":"--foreground","--color-text-secondary":"--muted-foreground","--color-text-inverse":"--background","--color-text-info":"--sea","--color-text-danger":"--danger","--color-text-success":"--success","--color-text-warning":"--warning","--color-border-primary":"--border","--color-border-secondary":"--hair","--color-ring-primary":"--ring","--font-sans":"--font-sans","--font-mono":"--font-mono","--border-radius-md":"--radius"};function Qr(a){const t={};for(const[m,g]of Object.entries(Xr)){const T=a(g).trim();T&&(t[m]=T)}return t}function ea(a,t,m){const g=Math.round(a.width);return t?{width:g,height:Math.round(a.height)}:{width:g,maxHeight:m}}function ta(a){return{toolInfo:{tool:a.tool},theme:a.theme,styles:{variables:a.styles},displayMode:a.displayMode,availableDisplayModes:["inline","fullscreen"],containerDimensions:a.dimensions,...a.locale?{locale:a.locale}:{},...a.timeZone?{timeZone:a.timeZone}:{},userAgent:`wheelhouse/${a.version}`,platform:"web",deviceCapabilities:{hover:a.hover??!0,touch:a.touch??!1}}}function ra(a){return{openLinks:{},serverTools:{},serverResources:{},logging:{},message:{text:{}},sandbox:{csp:a}}}const aa=["connectDomains","resourceDomains","frameDomains","baseUriDomains"];function na(a){return[...new Set(aa.flatMap(t=>a[t]??[]))]}async function nt(a,t,m){let g;try{g=await fetch(`/api/apps/${a}`,{method:"POST",headers:{"content-type":"application/json",[jt]:m},body:JSON.stringify(t)})}catch{throw new Error("Could not reach the Wheelhouse server.")}const T=await g.json().catch(()=>null);if(T&&(g.ok||"ok"in T||"state"in T))return T;throw new Error(T?.message??`Wheelhouse answered ${g.status}.`)}const oa=(a,t)=>nt("open",a,t),sa=(a,t)=>nt("run",a,t),Et=(a,t,m)=>nt("call",{...a,...t},m),ia=(a,t,m)=>nt("read",{...a,uri:t},m),Cn=(a,t)=>nt("chat",{calls:a},t);async function la(a,t){try{return await(await fetch("/api/services",{method:"POST",headers:{"content-type":"application/json",[jt]:t},body:JSON.stringify(a)})).json().catch(()=>null)}catch{return null}}var da=i('<p aria-busy="true">Opening the app…</p>'),ca=i("<!>Starting…",1),ua=i("<!> ",1),va=i('<p class="mt-2 text-muted-foreground">Start it by hand: <code class="font-mono text-xs select-all"> </code></p>'),fa=i('<div data-app-service=""><p> </p> <!></div>'),ma=i("<p> </p>"),pa=i("<!>Exit full screen",1),ha=i('<div class="flex shrink-0 items-center gap-3 border-b px-4 py-1.5 text-sm"><span class="min-w-0 flex-1 truncate"> </span> <!></div>'),ga=i('<div><!> <iframe sandbox="allow-scripts allow-same-origin allow-forms" referrerpolicy="no-referrer"></iframe></div> <p data-app-note=""> </p>',1),xa=i('<h2 id="app-ask-title" class="text-lg"> </h2> <p class="mt-1 text-sm text-muted-foreground"> </p> <pre class="mt-3 max-h-60 overflow-auto rounded-md border bg-card px-3 py-2 font-mono text-xs" aria-label="Its arguments"> </pre>',1),_a=i('<h2 id="app-ask-title" class="text-lg">Send this to Firstmate?</h2> <p class="mt-1 text-sm text-muted-foreground"> </p> <p class="mt-3 max-h-60 overflow-auto rounded-md border bg-card px-3 py-2 text-sm whitespace-pre-wrap"> </p>',1),ya=i('<div class="px-5 py-4"><!> <div class="mt-4 flex flex-wrap justify-end gap-2"><!> <!></div></div>'),ba=i('<!> <dialog class="m-auto w-[min(94vw,560px)] max-w-none rounded-xl border bg-background p-0 text-foreground shadow-xl backdrop:bg-black/60" aria-labelledby="app-ask-title"><!></dialog>',1);function wa(a,t){ut(t,!0);const m=720;let g=at(t,"fill",3,!1),T=at(t,"maxHeight",3,m);const x=()=>ct.data.sessionToken??"",P=()=>ct.data.health?.version??"0.0.0";let l=V("opening"),C=V(null),K=V(null),ue=V(""),ne=V(null),Z=V(null),ve=V(!1),xe=V(160),D=V("inline"),A=V(null),W=V(null),S=V(()=>{}),v=V(null),j=V(null),N=Promise.resolve();function R(_){const U=N.then(()=>new Promise(oe=>{s(v,{..._,answer:pe=>{s(v,null),oe(pe)}},!0)}));return N=U.catch(()=>{}),U}wt(()=>{e(j)&&(e(v)&&!e(j).open?e(j).showModal():!e(v)&&e(j).open&&e(j).close())});async function z(){s(l,"opening"),s(ne,null);try{const _=await oa(t.ref,x());_.state==="ready"?(s(C,_),s(ue,_.server.title,!0),s(l,"ready")):_.state==="service"?(s(K,_.service),s(ue,_.server.title,!0),s(l,"service")):(s(ne,_.reason,!0),s(l,"failed"))}catch(_){s(ne,_.message,!0),s(l,"failed")}}async function L(){if(!e(K))return;s(ve,!0);const _=await la({plugin:e(K).plugin,service:e(K).service,project:e(K).project},x());s(ve,!1),_?.state==="running"?await z():s(K,_??e(K))}zt(()=>{z()});const p=re(()=>{if(!e(C))return null;const _=new URL(bt.sandbox(e(C).sandbox));return _.searchParams.set("host",location.origin),_.href}),M=re(()=>e(C)?na(e(C).csp):[]),H=()=>document.documentElement.classList.contains("dark")?"dark":"light",O=()=>{const _=getComputedStyle(document.documentElement);return Qr(U=>_.getPropertyValue(U))},F=()=>{const _=e(A)?.getBoundingClientRect()??{width:0,height:0};return e(D)==="fullscreen"?{width:Math.round(window.innerWidth),height:Math.round(window.innerHeight)}:ea(_,g(),T())};wt(()=>{if(!e(C)||!e(W))return;const _=e(C),U=e(W);return Lt(()=>B(_,U))});function B(_,U){const oe=new URL(bt.sandbox(_.sandbox)).origin,pe=t.ref;let Re=!1,fe=null,Ee="";const he=sa(pe,x()).catch(d=>({ok:!1,reason:d.message})),X=d=>U.contentWindow?.postMessage(d,oe),G={context:()=>ta({tool:_.tool,theme:H(),styles:O(),displayMode:e(D),dimensions:F(),locale:navigator.language,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,hover:matchMedia("(hover: hover)").matches,touch:matchMedia("(pointer: coarse)").matches,version:P()}),async callTool(d,k){let q=await Et(pe,{name:d,arguments:k,confirmed:!1},x());if(!q.ok&&q.confirm){if(!await R({kind:"tool",title:q.confirm.title,description:q.confirm.description,args:JSON.stringify(k,null,2)}))throw new ge(Ge,"The captain declined the call.");q=await Et(pe,{name:d,arguments:k,confirmed:!0},x())}if(!q.ok)throw new ge(Ge,q.reason);return q.result},async readResource(d){const k=await ia(pe,d,x());if(!k.ok)throw new ge(Ge,k.reason);return k.result},async sendMessage(d){if(!await R({kind:"message",text:d}))return!1;const k=await tr(`From the “${t.title}” app (${t.plugin} plugin):
|
|
5
|
-
|
|
6
|
-
${d}`,x());if(!k.ok)throw new ge(Ge,k.error);return!0},openLink(d){window.open(bt.view(d),"_blank","noopener,noreferrer")},async displayMode(d){return!(d==="inline"||d==="fullscreen")||fe&&!fe.includes(d)?e(D):(d!==e(D)&&await we(d),e(D))},resize({height:d}){d!==void 0&&!g()&&e(D)==="inline"&&s(xe,Math.max(40,Math.min(d,T())),!0)},log(d,k){console.info(`[${t.plugin} app] ${d}:`,k)},initialized(){Re||(Re=!0,Ee=JSON.stringify(F()),ce.notify("ui/notifications/tool-input",{arguments:_.input}),he.then(d=>{d.ok?ce.notify("ui/notifications/tool-result",d.result):(s(Z,`The app’s tool did not run: ${d.reason}`),ce.notify("ui/notifications/tool-cancelled",{reason:d.reason}))}))}},Q=Gr(G,{name:"wheelhouse",version:P()},ra({..._.csp})),ce=new Jr({send:X,onRequest:(d,k)=>{if(d==="ui/initialize"){const q=k?.appCapabilities;Array.isArray(q?.availableDisplayModes)&&(fe=q.availableDisplayModes)}return Q(d,k)},onNotification:Yr(G)});async function we(d){s(D,d,!0),d==="fullscreen"&&e(A)?await rr(e(A)):Mt(e(A)),Te({displayMode:e(D)})}s(S,()=>{we("inline")});function Te(d={}){if(!Re)return;const k=F(),q=JSON.stringify(k),se={...d,...q!==Ee?{containerDimensions:k}:{}};Ee=q,Object.keys(se).length&&ce.notify("ui/notifications/host-context-changed",se)}let n=!1;const c=d=>{if(d.source!==U.contentWindow||d.origin!==oe)return;const k=d.data;if(k&&k.method==="ui/notifications/sandbox-proxy-ready"){if(n)return;n=!0,X({jsonrpc:"2.0",method:"ui/notifications/sandbox-resource-ready",params:{html:_.html,csp:_.csp}});return}ce.receive(d.data)};window.addEventListener("message",c);const f=new MutationObserver(()=>Te({theme:H(),styles:{variables:O()}}));f.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]});const b=new ResizeObserver(()=>Te());e(A)&&b.observe(e(A));const J=()=>{!document.fullscreenElement&&e(D)==="fullscreen"&&we("inline")};return document.addEventListener("fullscreenchange",J),()=>{Re&&ce.request("ui/resource-teardown",{},1e3).catch(()=>{}),ce.close(),window.removeEventListener("message",c),f.disconnect(),b.disconnect(),document.removeEventListener("fullscreenchange",J),Mt(e(A)),s(S,()=>{})}}const le=re(()=>e(C)?.prefersBorder!==!1);var I=ba(),de=ae(I);{var Fe=_=>{var U=da();w(()=>De(U,1,`text-sm text-muted-foreground ${g()?"px-4 py-10 sm:px-6":""}`)),r(_,U)},tt=_=>{var U=fa(),oe=y(U),pe=E(oe),Re=o(oe,2);{var fe=he=>{Me(he,{class:"mt-3",size:"sm",get disabled(){return e(ve)},onclick:L,children:(X,G)=>{var Q=We(),ce=ae(Q);{var we=n=>{var c=ca(),f=ae(c);Rt(f,{class:"size-4 animate-spin","aria-hidden":"true"}),Se(),r(n,c)},Te=n=>{var c=ua(),f=ae(c);ar(f,{class:"size-4","aria-hidden":"true"});var b=o(f);w(()=>h(b,`Start ${e(K).title??""}`)),r(n,c)};$(ce,n=>{e(ve)?n(we):n(Te,-1)})}r(X,Q)},$$slots:{default:!0}})},Ee=he=>{var X=va(),G=o(y(X)),Q=E(G,!0);u(X),w(()=>h(Q,e(K).hint)),r(he,X)};$(Re,he=>{e(K).launchable?he(fe):e(K).hint&&he(Ee,1)})}u(U),w(()=>{De(U,1,`text-sm ${g()?"px-4 py-10 sm:px-6":""}`),h(pe,`The app runs on ${e(K).title??""}, which is not running.${e(K).reason?` ${e(K).reason}`:""}`)}),r(_,U)},ot=_=>{var U=ma(),oe=E(U);w(()=>{De(U,1,`text-sm text-muted-foreground ${g()?"px-4 py-10 sm:px-6":""}`),h(oe,`Not available. ${e(ne)??""}`)}),r(_,U)},ft=_=>{var U=ga(),oe=ae(U),pe=y(oe);{var Re=G=>{var Q=ha(),ce=y(Q),we=E(ce,!0),Te=o(ce,2);Me(Te,{variant:"outline",size:"sm",onclick:()=>e(S)(),children:(n,c)=>{var f=pa(),b=ae(f);gr(b,{class:"size-4","aria-hidden":"true"}),Se(),r(n,f)},$$slots:{default:!0}}),u(Q),w(()=>h(we,t.title)),r(G,Q)};$(pe,G=>{e(D)==="fullscreen"&&G(Re)})}var fe=o(pe,2);let Ee;yt(fe,G=>s(W,G),()=>e(W)),u(oe),yt(oe,G=>s(A,G),()=>e(A));var he=o(oe,2),X=E(he);w(G=>{De(oe,1,Kt(e(D)==="fullscreen"?"fixed inset-0 z-50 flex flex-col bg-background":g()?"flex min-h-0 flex-1 flex-col":"")),ie(oe,"data-app","chat"in t.ref?`chat/${t.ref.chat}`:`${t.ref.plugin}/${t.ref.contribution}`),ie(fe,"src",e(p)),ie(fe,"title",`${t.title}: an app from ${e(C).server.title}`),De(fe,1,`block w-full ${e(D)==="fullscreen"||g()?"min-h-0 flex-1":""} ${e(le)&&e(D)==="inline"?"rounded-md border bg-card":""}`),Ee=Bt(fe,"",Ee,{height:e(D)==="inline"&&!g()?`${e(xe)}px`:null}),De(he,1,`text-xs text-muted-foreground ${g()?"px-4 pt-1.5 sm:px-6":"mt-1.5"}`),h(X,`An MCP app from ${e(C).server.title??""}, in a sandbox${G??""}.${e(Z)?` ${e(Z)}`:""}`)},[()=>e(M).length?`; it may reach ${e(M).join(", ")}`:", with no network access"]),r(_,U)};$(de,_=>{e(l)==="opening"?_(Fe):e(l)==="service"&&e(K)?_(tt,1):e(l)==="failed"?_(ot,2):e(C)&&e(p)&&_(ft,3)})}var Ye=o(de,2),mt=y(Ye);{var st=_=>{var U=ya(),oe=y(U);{var pe=X=>{var G=xa(),Q=ae(G),ce=E(Q),we=o(Q,2),Te=E(we),n=o(we,2),c=E(n,!0);w(()=>{h(ce,`Let the app run “${e(v).title??""}”?`),h(Te,`The ${t.title??""} app asks ${e(ue)??""} to run a tool that does not say it only reads, so it may
|
|
7
|
-
change something.${e(v).description?` ${e(v).description}`:""}`),h(c,e(v).args)}),r(X,G)},Re=X=>{var G=_a(),Q=o(ae(G),2),ce=E(Q),we=o(Q,2),Te=E(we,!0);w(()=>{h(ce,`The ${t.title??""} app wrote it. It goes as a message from you, marked as from the app.`),h(Te,e(v).text)}),r(X,G)};$(oe,X=>{e(v).kind==="tool"?X(pe):X(Re,-1)})}var fe=o(oe,2),Ee=y(fe);Me(Ee,{variant:"outline",onclick:()=>e(v)?.answer(!1),children:(X,G)=>{Se();var Q=be("No");r(X,Q)},$$slots:{default:!0}});var he=o(Ee,2);Me(he,{onclick:()=>e(v)?.answer(!0),children:(X,G)=>{Se();var Q=be();w(()=>h(Q,e(v).kind==="tool"?"Run it once":"Send it")),r(X,Q)},$$slots:{default:!0}}),u(fe),u(U),r(_,U)};$(mt,_=>{e(v)&&_(st)})}u(Ye),yt(Ye,_=>s(j,_),()=>e(j)),kt("close",Ye,()=>{e(j)?.open||e(v)?.answer(!1)}),r(a,I),vt()}function lt(a){if(typeof a!="string"||a.length>2048)return null;if(a.startsWith("/")&&!a.startsWith("//")&&!a.startsWith("/\\"))return a;try{const t=new URL(a);return t.protocol==="http:"||t.protocol==="https:"?a:null}catch{return null}}function $n(a,t){const m=new Set(fr(a));if(!m.size)return[];const g=[];for(const T of t)if(!(T.slot!=="bridge.card"||!T.content.available))for(const x of T.content.value)x.mentions.some(P=>m.has(P))&&g.push({entry:T,card:x});return g}var ka=i("<a> <!></a>"),ja=i('<p data-block="text.v1"> </p>'),Sa=i('<dt class="truncate text-muted-foreground"> </dt> <dd class="min-w-0 break-words"><!></dd>',1),Ma=i('<dl class="grid grid-cols-[minmax(0,8rem)_minmax(0,1fr)] gap-x-4 gap-y-1.5 text-sm" data-block="kv.v1"></dl>'),Ea=i('<span class="ml-1.5 text-muted-foreground"> </span>'),Ta=i('<li class="min-w-0"><!><!></li>'),za=i('<ul class="flex flex-wrap gap-x-5 gap-y-1.5 text-sm" data-block="links.v1"></ul>'),Pa=i('<th class="px-3 py-2 font-medium"> </th>'),Aa=i('<thead class="border-b text-left text-xs text-muted-foreground"><tr></tr></thead>'),Na=i('<td class="px-3 py-2"><!></td>'),Ra=i("<tr></tr>"),Ca=i('<div class="overflow-x-auto rounded-lg border" data-block="table.v1"><table class="w-full text-sm"><!><tbody class="divide-y"></tbody></table></div>'),$a=i('<a target="_blank" rel="noreferrer"><img loading="lazy" class="max-h-96 rounded-lg border"/></a>'),Da=i('<img loading="lazy" class="max-h-96 rounded-lg border"/>'),La=i('<figure data-block="image.v1"><!></figure>'),Oa=i('<span class="block text-muted-foreground"> </span>'),Ia=i('<p class="flex items-start gap-2 text-sm" data-block="status.v1"><span aria-hidden="true"><!></span> <span class="min-w-0"><span> </span> <!></span></p>'),Wa=i('<span class="ml-1 text-muted-foreground"> </span>'),Fa=i('<li class="rounded-md bg-muted px-2 py-0.5 text-xs"> <!></li>'),Ua=i("<li> </li>"),Ha=i('<ul class="mt-2 space-y-0.5 font-mono text-xs text-muted-foreground"></ul>'),Va=i('<div class="rounded-lg border border-dashed p-3 text-sm" data-block="graph.v1"><p class="text-xs text-muted-foreground"> </p> <ul class="mt-2 flex flex-wrap gap-1.5"></ul> <!></div>'),qa=i('<pre class="mt-2 font-mono break-all whitespace-pre-wrap text-muted-foreground"> </pre>'),Ka=i('<div class="rounded-lg border border-dashed p-3 text-xs" data-block="unknown"><p class="flex items-center gap-1.5 text-muted-foreground"><!> </p> <!></div>'),Ba=i('<div class="space-y-3"></div>');function Ja(a,t){ut(t,!0);const m=(P,l=He,C=He,K)=>{let ue=Ot(()=>It(K?.(),"text-sea hover:underline"));const ne=re(()=>lt(C()));var Z=We(),ve=ae(Z);{var xe=A=>{var W=ka(),S=y(W,!0),v=o(S);{var j=R=>{dr(R,{class:"size-3.5 shrink-0","aria-hidden":"true"})},N=re(()=>T(e(ne)));$(v,R=>{e(N)&&R(j)})}u(W),w((R,z)=>{ie(W,"href",e(ne)),De(W,1,`inline-flex items-center gap-1 ${e(ue)??""}`),ie(W,"target",R),ie(W,"rel",z),h(S,l())},[()=>T(e(ne))?"_blank":void 0,()=>T(e(ne))?"noreferrer":void 0]),r(A,W)},D=A=>{var W=be();w(()=>h(W,l())),r(A,W)};$(ve,A=>{e(ne)?A(xe):A(D,-1)})}r(P,Z)},g={ok:"text-success",warn:"text-warning",fail:"text-danger",pending:"text-muted-foreground",unknown:"text-muted-foreground"},T=P=>!P.startsWith("/");var x=Ba();$e(x,21,()=>t.blocks,Ke,(P,l)=>{var C=We(),K=ae(C);{var ue=S=>{var v=ja(),j=E(v,!0);w(()=>{De(v,1,`text-sm leading-relaxed whitespace-pre-line ${e(l).muted?"text-muted-foreground":""}`),h(j,e(l).text)}),r(S,v)},ne=S=>{var v=Ma();$e(v,21,()=>e(l).items,Ke,(j,N)=>{var R=Sa(),z=ae(R),L=E(z,!0),p=o(z,2),M=y(p);m(M,()=>e(N).value,()=>e(N).href),u(p),w(()=>h(L,e(N).key)),r(j,R)}),u(v),r(S,v)},Z=S=>{var v=za();$e(v,21,()=>e(l).links,Ke,(j,N)=>{var R=Ta(),z=y(R);m(z,()=>e(N).label,()=>e(N).href);var L=o(z);{var p=M=>{var H=Ea(),O=E(H,!0);w(()=>h(O,e(N).note)),r(M,H)};$(L,M=>{e(N).note&&M(p)})}u(R),r(j,R)}),u(v),r(S,v)},ve=S=>{var v=Ca(),j=y(v),N=y(j);{var R=L=>{var p=Aa(),M=y(p);$e(M,21,()=>e(l).columns,Ke,(H,O)=>{var F=Pa(),B=E(F,!0);w(()=>h(B,e(O))),r(H,F)}),u(M),u(p),r(L,p)};$(N,L=>{e(l).columns.length&&L(R)})}var z=o(N);$e(z,21,()=>e(l).rows,Ke,(L,p)=>{var M=Ra();$e(M,21,()=>e(p),Ke,(H,O)=>{var F=Na(),B=y(F);{var le=de=>{var Fe=be();w(()=>h(Fe,e(O))),r(de,Fe)},I=de=>{m(de,()=>e(O).text,()=>e(O).href)};$(B,de=>{typeof e(O)=="string"?de(le):de(I,-1)})}u(F),r(H,F)}),u(M),r(L,M)}),u(z),u(j),u(v),r(S,v)},xe=S=>{const v=re(()=>lt(e(l).src));var j=We(),N=ae(j);{var R=z=>{var L=La(),p=y(L);{var M=F=>{var B=$a(),le=E(B);w(I=>{ie(B,"href",I),ie(le,"src",e(v)),ie(le,"alt",e(l).alt)},[()=>lt(e(l).href)]),r(F,B)},H=re(()=>lt(e(l).href)),O=F=>{var B=Da();w(()=>{ie(B,"src",e(v)),ie(B,"alt",e(l).alt)}),r(F,B)};$(p,F=>{e(H)?F(M):F(O,-1)})}u(L),r(z,L)};$(N,z=>{e(v)&&z(R)})}r(S,j)},D=S=>{var v=Ia(),j=y(v),N=y(j);{var R=I=>{or(I,{class:"size-4"})},z=I=>{sr(I,{class:"size-4"})},L=I=>{ir(I,{class:"size-4"})},p=I=>{Rt(I,{class:"size-4"})},M=I=>{lr(I,{class:"size-4"})};$(N,I=>{e(l).tone==="ok"?I(R):e(l).tone==="fail"?I(z,1):e(l).tone==="warn"?I(L,2):e(l).tone==="pending"?I(p,3):I(M,-1)})}u(j);var H=o(j,2),O=y(H),F=E(O,!0),B=o(O,2);{var le=I=>{var de=Oa(),Fe=E(de,!0);w(()=>h(Fe,e(l).detail)),r(I,de)};$(B,I=>{e(l).detail&&I(le)})}u(H),u(v),w(()=>{De(j,1,`mt-0.5 ${g[e(l).tone]??""}`),De(O,1,`font-medium ${(e(l).tone==="fail"||e(l).tone==="warn"?g[e(l).tone]:"")??""}`),h(F,e(l).label)}),r(S,v)},A=S=>{var v=Va(),j=y(v),N=E(j,!0),R=o(j,2);$e(R,21,()=>e(l).nodes,p=>p.id,(p,M)=>{var H=Fa(),O=y(H,!0),F=o(O);{var B=le=>{var I=Wa(),de=E(I,!0);w(()=>h(de,e(M).kind)),r(le,I)};$(F,le=>{e(M).kind&&le(B)})}u(H),w(()=>h(O,e(M).label)),r(p,H)}),u(R);var z=o(R,2);{var L=p=>{var M=Ha();$e(M,21,()=>e(l).edges,Ke,(H,O)=>{var F=Ua(),B=E(F);w(()=>h(B,`${e(O).from??""} → ${e(O).to??""}${e(O).label?` (${e(O).label})`:""}`)),r(H,F)}),u(M),r(p,M)};$(z,p=>{e(l).edges.length&&p(L)})}u(v),w(()=>h(N,`${e(l).nodes.length} ${e(l).nodes.length===1?"node":"nodes"}, ${e(l).edges.length} ${e(l).edges.length===1?"link":"links"}`)),r(S,v)},W=S=>{var v=Ka(),j=y(v),N=y(j);nr(N,{class:"size-3.5","aria-hidden":"true"});var R=o(N);u(j);var z=o(j,2);{var L=p=>{var M=qa(),H=E(M,!0);w(()=>h(H,e(l).preview)),r(p,M)};$(z,p=>{e(l).block==="unknown"&&p(L)})}u(v),w(()=>h(R,`This Wheelhouse cannot show a “${(e(l).block==="unknown"?e(l).type:"unknown")??""}” block.`)),r(S,v)};$(K,S=>{e(l).block==="text.v1"?S(ue):e(l).block==="kv.v1"?S(ne,1):e(l).block==="links.v1"?S(Z,2):e(l).block==="table.v1"?S(ve,3):e(l).block==="image.v1"?S(xe,4):e(l).block==="status.v1"?S(D,5):e(l).block==="graph.v1"?S(A,6):S(W,-1)})}r(P,C)}),u(x),r(a,x),vt()}var Za=i('<p class="text-sm text-muted-foreground" aria-busy="true">Loading…</p>'),Tt=i('<p class="text-sm text-muted-foreground"> </p>'),Ga=i("<p> </p>"),Ya=i('<div class="flex min-h-0 flex-1 flex-col"><!></div>'),Xa=i('<div class="min-h-0 flex-1 overflow-y-auto px-4 py-6 sm:px-6"><!></div>'),Qa=i("<!> <p> </p>",1);function Dn(a,t){ut(t,!0);const m=(D,A=He)=>{var W=We(),S=ae(W);{var v=p=>{Ja(p,{get blocks(){return A()}})},j=p=>{var M=Za();r(p,M)},N=p=>{var M=We(),H=ae(M);Ft(H,{failed:F=>{var B=Tt(),le=E(B);w(()=>h(le,`Not available. The ${t.entry.pluginId??""} plugin’s panel could not be shown.`)),r(F,B)}},F=>{var B=We(),le=ae(B);Ht(le,()=>e(P),(I,de)=>{de(I,{get data(){return A()},get entry(){return t.entry}})}),r(F,B)}),r(p,M)},R=p=>{cr(p,{get entry(){return t.entry},get data(){return A()}})},z=p=>{var M=We(),H=ae(M);Ut(H,()=>e(K),O=>{{let F=re(()=>({plugin:t.entry.pluginId,contribution:t.entry.contributionId,project:t.entry.projectId,task:t.entry.taskId??null}));wa(O,{get ref(){return e(F)},get title(){return t.entry.title},get plugin(){return t.entry.pluginId},get fill(){return x()}})}}),r(p,M)},L=p=>{var M=Tt(),H=E(M);w(()=>h(H,`Not available. This Wheelhouse does not include the “${t.entry.render.component??""}” panel.`)),r(p,M)};$(S,p=>{"blocks"in t.entry.render?p(v):(e(P)||e(l)||e(C))&&!e(ue)?p(j,1):e(P)?p(N,2):e(l)?p(R,3):e(C)?p(z,4):"component"in t.entry.render&&p(L,5)})}r(D,W)};let g=at(t,"now",19,()=>Date.now()),T=at(t,"panels",3,Hr),x=at(t,"fill",3,!1);const P=re(()=>"component"in t.entry.render?T()[t.entry.render.component]:void 0),l=re(()=>"element"in t.entry.render),C=re(()=>"app"in t.entry.render),K=re(()=>e(C)&&t.entry.content.available?`${t.entry.key} ${JSON.stringify(t.entry.content.value)}`:"");let ue=V(!1);zt(()=>{s(ue,!0)});var ne=We(),Z=ae(ne);{var ve=D=>{var A=Ga(),W=E(A);w(()=>{De(A,1,`text-sm text-muted-foreground ${x()?"px-4 py-10 sm:px-6":""}`),h(W,`Not available. ${t.entry.content.reason??""}`)}),r(D,A)},xe=D=>{var A=Qa(),W=ae(A);{var S=z=>{m(z,()=>t.entry.content.value)},v=z=>{var L=Ya(),p=y(L);m(p,()=>t.entry.content.value),u(L),r(z,L)},j=z=>{var L=Xa(),p=y(L);m(p,()=>t.entry.content.value),u(L),r(z,L)};$(W,z=>{x()?(e(P)||e(l)||e(C))&&e(ue)?z(v,1):z(j,-1):z(S)})}var N=o(W,2),R=E(N);w(z=>{De(N,1,`text-xs text-muted-foreground ${x()?"shrink-0 border-t px-4 py-1.5 sm:px-6":"mt-1.5"}`),h(R,`From ${t.entry.content.source??""}${z??""}.`)},[()=>t.entry.content.observedAt?`, ${Jt(t.entry.content.observedAt,g())}`:""]),r(D,A)};$(Z,D=>{t.entry.content.available?D(xe,-1):D(ve)})}r(a,ne),vt()}export{wa as A,Ja as B,gr as M,Hr as P,Dn as S,Cn as c,fr as e,$n as m};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{p as G,h as q,t as l,a as d,i as o,r as b,s as j,b as I,j as h,o as x,c as g}from"./Jk-ASPRO.js";import{d as J,s as _,a as K}from"./DTApYZoW.js";import{i as z}from"./BEVJas-l.js";import{e as M,s as k,a as c,j as N}from"./DNP6oCAK.js";import{p as u}from"./DQWg__9S.js";import{l as O}from"./Ck-cnzoW.js";import{a as P,c as Q}from"./DdUjyp9q.js";const R={done:"bg-foreground/45",active:"bg-foreground",fixing:"bg-foreground",waiting:"bg-warning",failed:"bg-danger",skipped:"border border-dashed border-muted-foreground/50",todo:"bg-border"},S={done:"done",active:"under way",fixing:"fixing",waiting:"waiting on Firstmate",failed:"failed",skipped:"skipped",todo:"not reached"};var U=g("<li></li>"),V=g("<span> </span>"),X=g('<button type="button" class="relative z-10 cursor-pointer text-left text-foreground/80 underline decoration-foreground/30 underline-offset-2 hover:text-foreground hover:decoration-foreground" data-checks-questions=""> </button>'),Y=g('<span class="text-foreground/80"> </span>'),Z=g('<div data-checks=""><ol class="grid gap-0.5"></ol> <p data-checks-line=""><!> <!></p></div>');function ie(F,a){G(a,!0);let H=u(a,"busy",3,!1),y=u(a,"lead",3,null),L=u(a,"leadClass",3,""),T=u(a,"size",3,"card"),n=u(a,"questions",3,null);const f=h(()=>a.pipeline.steps.map(e=>({s:e,tone:P(e,a.pipeline)}))),w=h(()=>Q(a.pipeline,O.now)),W=h(()=>`Checks: ${o(f).map(({s:e,tone:t})=>`${e.label} ${S[t]}`).join(", ")}`);var p=Z(),i=q(p);M(i,21,()=>o(f),({s:e,tone:t})=>e.key,(e,t)=>{let r=()=>o(t).s,s=()=>o(t).tone;var v=U();l(()=>{k(v,1,`h-1 rounded-full ${R[s()]??""} ${H()&&(s()==="active"||s()==="fixing")?"motion-safe:animate-pulse":""}`),c(v,"title",`${r().label??""}: ${S[s()]??""}`)}),d(e,v)}),b(i);var m=j(i,2),C=q(m);{var A=e=>{var t=V(),r=x(t);l(()=>{k(t,1,`font-medium ${L()??""}`),_(r,`${y()??""}.`)}),d(e,t)};z(C,e=>{y()&&e(A)})}var B=j(C,2);{var D=e=>{var t=X(),r=x(t,!0);l(()=>{c(t,"aria-expanded",n().expanded),c(t,"aria-controls",n().controls),c(t,"title",n().expanded?"Hide the questions":"Show the questions"),_(r,o(w))}),K("click",t,function(...s){n().toggle?.apply(this,s)}),d(e,t)},E=e=>{var t=Y(),r=x(t,!0);l(()=>_(r,o(w))),d(e,t)};z(B,e=>{n()?e(D):e(E,-1)})}b(m),b(p),l(()=>{N(i,`grid-template-columns: repeat(${o(f).length??""}, minmax(0, 1fr))`),c(i,"aria-label",o(W)),k(m,1,`tabular line-clamp-2 text-muted-foreground ${T()==="rail"?"mt-1 text-xs leading-snug":"mt-1.5 text-sm"}`)}),d(F,p),I()}J(["click"]);export{ie as C};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as r}from"./D-sY9AXp.js";const t={get data(){return r.data},get error(){return r.error},get form(){return r.form},get params(){return r.params},get route(){return r.route},get state(){return r.state},get status(){return r.status},get url(){return r.url}},a=t;export{a as p};
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{p as R,h as d,i as s,s as n,r as m,o as k,t as y,a as f,b as T,j as x,c as u}from"./Jk-ASPRO.js";import{s as g}from"./DTApYZoW.js";import{i as w}from"./BEVJas-l.js";import{c as A}from"./Cq7OFmxz.js";import{a as i,s as C}from"./DNP6oCAK.js";import{p as h}from"./DQWg__9S.js";import{s as z,d as E,r as L,l as N,M as W,S as q,p as G}from"./V9uGi6jc.js";import{P as J}from"./B9zVXyGS.js";import{F as K}from"./CGgXi5F1.js";import{B as Q}from"./Bz9tCoED.js";var U=u('<span class="dchip-dot svelte-3c5cns"></span>'),V=u('<span class="dchip-open svelte-3c5cns">Open</span>'),X=u('<a><span class="dchip-icon svelte-3c5cns"><!><!></span> <span class="min-w-0 flex-1"><span class="block truncate font-medium text-foreground"> </span> <span class="block truncate text-xs text-muted-foreground"> </span></span> <!></a>');function ct(D,a){R(a,!0);let v=h(a,"label",3,null),I=h(a,"sub",3,null),c=h(a,"size",3,"block");const r=x(()=>{if(a.doc.kind==="record"){const t=a.doc.record;return{href:L(t.key),title:t.title,what:`${t.kind==="ship"?"Ship summary":"Report"} · ${z(t.project)}${t.mate?` · @${t.mate}`:""} · ${E(t.at,!1)}`,tone:"rec",Icon:t.kind==="ship"?J:K,state:null}}if(a.doc.kind==="library"){const t=a.doc.doc;return{href:N(t.key),title:t.title,what:`Library · ${z(t.shelf)} / ${t.folder} · ${t.status}`,tone:"lib",Icon:Q,state:null}}const e=a.doc.prototype;return{href:G(e.id),title:e.title,what:`Prototype · ${q[e.state]}`,tone:"proto",Icon:W,state:e.state}});var o=X(),l=d(o),_=d(l);{let e=x(()=>c()==="sm"?"size-3.5":"size-4");A(_,()=>s(r).Icon,(t,M)=>{M(t,{get class(){return s(e)},"aria-hidden":"true"})})}var S=n(_);{var H=e=>{var t=U();y(()=>i(t,"data-state",s(r).state)),f(e,t)};w(S,e=>{s(r).state&&e(H)})}m(l);var p=n(l,2),b=d(p),O=k(b,!0),P=n(b,2),j=k(P,!0);m(p);var B=n(p,2);{var F=e=>{var t=V();f(e,t)};w(B,e=>{c()==="block"&&e(F)})}m(o),y(()=>{i(o,"href",s(r).href),C(o,1,`dchip dchip-${s(r).tone??""} ${c()==="sm"?"dchip-sm":""}`,"svelte-3c5cns"),i(o,"title",`Opens ${s(r).href??""}`),i(o,"data-doc-chip",a.doc.kind),g(O,v()??s(r).title),g(j,I()??(v()?s(r).title:s(r).what))}),f(D,o),T()}export{ct as D};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{p as v,a as i,b as h,c as p,o as _,t as d,i as r,r as g,j as b}from"./Jk-ASPRO.js";import{s as x}from"./DTApYZoW.js";import{e as L,a as l}from"./DNP6oCAK.js";import{p as n}from"./CLsnhhko.js";import{H as O,L as o}from"./BGZONLpF.js";var H=p('<a class="nav-tab shrink-0"> </a>'),k=p('<nav class="-ml-2.5 no-scrollbar flex gap-1 overflow-x-auto" aria-label="Logbook"></nav>');function y(f,m){v(m,!0);const c=b(()=>n.data.features?.soundings?[...o.slice(0,-1),O,...o.slice(-1)]:o);var e=k();L(e,21,()=>r(c),s=>s.href,(s,t)=>{var a=H(),u=_(a,!0);d(()=>{l(a,"href",r(t).href),l(a,"aria-current",n.url.pathname===r(t).href?"page":void 0),x(u,r(t).label)}),i(s,a)}),g(e),i(f,e),h()}export{y as I};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as r,i as n,k as i,e as f}from"./Jk-ASPRO.js";import{p as d}from"./CLsnhhko.js";import{w as g}from"./RYvdmj4W.js";const m="wheelhouse-live",w="wheelhouse-live-leader",y=2*6e4;class v{#e=r(null);get fleet(){return n(this.#e)}set fleet(e){i(this.#e,e)}#t=r(null);get eventsPaused(){return n(this.#t)}set eventsPaused(e){i(this.#t,e,!0)}#s=r(null);get health(){return n(this.#s)}set health(e){i(this.#s,e,!0)}#a=r(null);get messages(){return n(this.#a)}set messages(e){i(this.#a,e)}#r=r(null);get crew(){return n(this.#r)}set crew(e){i(this.#r,e,!0)}#n=r("connecting");get connection(){return n(this.#n)}set connection(e){i(this.#n,e,!0)}#i=r(f(Date.now()));get now(){return n(this.#i)}set now(e){i(this.#i,e,!0)}#l=r(0);get revision(){return n(this.#l)}set revision(e){i(this.#l,e,!0)}#h=r(!1);get leader(){return n(this.#h)}set leader(e){i(this.#h,e,!0)}claim=()=>!0;alertListeners=new Set;restartListeners=new Set;serverId=null;latest={};recentAlerts=new Map;channel=null;stop=null;onAlert(e){return this.alertListeners.add(e),()=>this.alertListeners.delete(e)}onRestart(e){return this.restartListeners.add(e),()=>this.restartListeners.delete(e)}connect(){if(this.stop)return()=>{};const e=setInterval(()=>this.now=Date.now(),15e3),l=typeof BroadcastChannel<"u"&&!!globalThis.navigator?.locks?this.share():this.lead();return this.stop=()=>{clearInterval(e),l(),this.stop=null},this.stop}share(){const e=new BroadcastChannel(m);this.channel=e,e.onmessage=h=>{const s=h.data;s.t==="hello"?this.leader&&this.replay():s.t==="connection"?this.leader||(this.connection=s.state):this.leader||this.apply(s.e)};const a=new AbortController;let l=()=>{};return navigator.locks.request(w,{signal:a.signal},()=>{const h=this.lead();return new Promise(s=>{l=()=>{h(),s()}})}).catch(()=>{}),e.postMessage({t:"hello"}),()=>{a.abort(),l(),e.close(),this.channel=null}}lead(){this.leader=!0;const e=h=>{this.connection=h,this.post({t:"connection",state:h})},l=g("/api/events",h=>{const s=(t,o)=>h.addEventListener(t,p=>{const c=o(JSON.parse(p.data));this.remember(c),this.apply(c),this.post({t:"event",e:c}),c.type==="fleet"&&e("open")});s("server",t=>({type:"server",data:t})),s("events-status",t=>({type:"events-status",data:t})),s("fleet",t=>({type:"fleet",data:t})),s("health",t=>({type:"health",data:t})),s("messages",t=>({type:"messages",data:t})),s("crew",t=>({type:"crew",data:t})),s("alert",t=>({type:"alert",data:t,fresh:this.claim(t)})),s("settled",t=>({type:"settled",data:t})),s("alerts",t=>({type:"alerts",data:t.map(o=>{const p=this.claim(o);return{alert:o,fresh:p&&Date.now()-Date.parse(o.at)<=y}})}))},e);return()=>{l(),this.leader=!1}}remember(e){if(e.type==="alert")this.recentAlerts.set(e.data.id,e.data);else if(e.type==="settled")this.recentAlerts.delete(e.data);else if(e.type==="alerts")for(const a of e.data)this.recentAlerts.set(a.alert.id,a.alert);else this.latest[e.type]=e.data;for(const a of[...this.recentAlerts.keys()].slice(0,-40))this.recentAlerts.delete(a)}replay(){this.post({t:"connection",state:this.connection}),this.latest["events-status"]&&this.post({t:"event",e:{type:"events-status",data:this.latest["events-status"]}}),this.latest.fleet&&this.post({t:"event",e:{type:"fleet",data:this.latest.fleet}}),this.latest.health&&this.post({t:"event",e:{type:"health",data:this.latest.health}}),this.latest.messages&&this.post({t:"event",e:{type:"messages",data:this.latest.messages}}),this.latest.crew&&this.post({t:"event",e:{type:"crew",data:this.latest.crew}}),this.latest.server&&this.post({t:"event",e:{type:"server",data:this.latest.server}});const e=[...this.recentAlerts.values()].map(a=>({alert:a,fresh:!1}));this.post({t:"event",e:{type:"alerts",data:e}})}apply(e){switch(e.type){case"events-status":this.eventsPaused=e.data.paused;break;case"fleet":this.fleet=e.data,this.revision++,this.connection="open";break;case"health":this.health=e.data;break;case"messages":this.messages=e.data;break;case"crew":this.crew=e.data;break;case"server":{const a=this.serverId!==null&&this.serverId!==e.data.id;if(this.serverId=e.data.id,a)for(const l of this.restartListeners)l();break}default:for(const a of this.alertListeners)a(e)}}post(e){try{this.channel?.postMessage(e)}catch{}}}const u=new v;function C(){return u.fleet??d.data.fleet??null}function I(){return u.health??d.data.health??null}function P(){return u.messages??d.data.messages??null}function S(){return u.crew??d.data.crew??null}export{S as a,I as b,C as c,P as d,u as l};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{aC as Ve,p as be,x as Z,f as i,a as r,b as xe,i as e,h as se,y as qe,r as oe,j as y,c as S,d as G,e as Ee,s as d,n as L,m as T,k as a,t as de,o as Ae}from"./Jk-ASPRO.js";import{d as Je,s as ue,e as Ke,a as Me}from"./DTApYZoW.js";import{i as H}from"./BEVJas-l.js";import{c as h}from"./Cq7OFmxz.js";import{l as Qe,r as Be,s as Se,c as ze}from"./DNP6oCAK.js";import{b as Le}from"./CNxxt--f.js";import{p as O,r as We,s as fe}from"./DQWg__9S.js";import{p as Xe}from"./CLsnhhko.js";import{D as Te}from"./DqyvT7BR.js";import{D as Ye,a as et,b as tt,c as rt,d as he,e as at}from"./Br5gy4Yk.js";import{s as Oe}from"./Wu0Biojm.js";import{c as st,a as ot,b as $e,m as lt}from"./1rMfpM_v.js";import{B as Q}from"./VrUPyiEH.js";import{C as nt,e as it,b as dt,i as ut}from"./b8vhdCAF.js";import{P as ft,i as pt,f as mt,m as vt}from"./BHJ2GOQ2.js";import{P as ct}from"./CJxikGC0.js";import{L as gt}from"./D73wi9-q.js";import{T as _t}from"./BmXrroyA.js";var ht=new Set(["$$slots","$$events","$$legacy","id","ref","children","child","disabled"]),$t=S("<button><!></button>");function bt(X,o){const N=Ve();be(o,!0);let U=O(o,"id",19,()=>st(N)),V=O(o,"ref",15,null),R=O(o,"disabled",3,!1),t=We(o,ht);const $=ot.create({id:$e(()=>U()),ref:$e(()=>V(),c=>V(c)),disabled:$e(()=>!!R())}),A=y(()=>lt(t,$.props));var u=Z(),f=i(u);{var W=c=>{var k=Z(),q=i(k);Oe(q,()=>o.child,()=>({props:e(A)})),r(c,k)},le=c=>{var k=$t();Qe(k,()=>({...e(A)}));var q=se(k);Oe(q,()=>o.children??qe),oe(k),r(c,k)};H(f,c=>{o.child?c(W):c(le,-1)})}r(X,u),xe()}var xt=new Set(["$$slots","$$events","$$legacy","ref","type"]);function wt(X,o){be(o,!0);let N=O(o,"ref",15,null),U=O(o,"type",3,"button"),V=We(o,xt);var R=Z(),t=i(R);h(t,()=>bt,($,A)=>{A($,fe({"data-slot":"dialog-trigger",get type(){return U()}},()=>V,{get ref(){return N()},set ref(u){N(u)}}))}),r(X,R),xe()}var yt=S("<!> ",1),ae=S("<!> <!>",1),kt=S('<p class="flex items-start gap-2 rounded-md border border-danger/40 px-3 py-2 text-xs text-danger" role="alert"><!> </p>'),Pt=S("<!>Fetching…",1),Dt=S('<form class="grid gap-4" id="install-plugin-form"><label class="grid gap-1"><span class="text-xs font-medium">Repository</span> <input name="repository" placeholder="org/repo" autocomplete="off" spellcheck="false"/> <span class="text-xs text-muted-foreground">On github.com, such as chrisjowen/improve.</span></label> <label class="grid gap-1"><span class="text-xs font-medium">Version <span class="font-normal text-muted-foreground">(optional)</span></span> <input name="ref" placeholder="tag, branch or commit" autocomplete="off" spellcheck="false"/> <span class="text-xs text-muted-foreground">Leave it empty for the default branch. A tag keeps it on that release.</span></label> <!></form> <!>',1),It=S('<p class="text-xs text-danger" role="alert"> </p>'),Re=S("<!> <!> <!>",1),Ct=S("<p> </p>");function Kt(X,o){be(o,!0);let N=O(o,"busy",19,()=>[]),U=O(o,"suggested",3,null),V=O(o,"label",3,"Install plugin"),R=G(!1),t=G("form"),$=G(""),A=G(""),u=G(null),f=G(null),W=G(Ee({}));const le=y(()=>/^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/.test(e($).trim())),c=y(()=>e(f)?vt(e(f),e(W)):null),k=()=>Xe.data.sessionToken,q="h-9 rounded-md border border-input bg-background px-2.5 font-mono text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring";function we(){a(t,"form"),a(u,null),a(f,null)}async function je(Y){if(Y.preventDefault(),!e(le)||e(t)==="looking")return;a(t,"looking"),a(u,null);const B=await it({repo:e($).trim(),ref:e(A).trim()||null},k());if(!B.ok){a(u,B.error,!0),a(t,"form");return}a(f,B.value,!0),a(W,pt(B.value),!0),a(t,"review")}async function Fe(){if(!e(f)||e(c))return;a(t,"saving"),a(u,null);const Y=dt(),B=await ut(e(f),mt(e(W)),k());if(!B.ok){a(u,B.error,!0),a(t,"review");return}a(t,"restarting"),a(t,await Y?"done":"slow",!0)}var ye=Z(),Ge=i(ye);h(Ge,()=>at,(Y,B)=>{B(Y,{onOpenChange:E=>{E&&(e(t)==="done"||e(t)==="slow")&&(a($,""),a(A,""),we()),E&&e(t)==="form"&&U()&&!e($)&&a($,U())},get open(){return e(R)},set open(E){a(R,E,!0)},children:(E,At)=>{var ke=ae(),Pe=i(ke);{const pe=(ee,te)=>{Q(ee,fe(()=>(te?.()).props,{variant:"outline",size:"sm",children:(Ie,me)=>{var re=yt(),ne=i(re);ct(ne,{});var ve=d(ne,1,!0);de(()=>ue(ve,V())),r(Ie,re)},$$slots:{default:!0}}))};h(Pe,()=>wt,(ee,te)=>{te(ee,{child:pe,$$slots:{child:!0}})})}var He=d(Pe,2);{let pe=y(()=>e(t)==="saving"||e(t)==="restarting"?"ignore":"close");h(He,()=>Ye,(ee,te)=>{te(ee,{class:"max-h-[calc(100dvh-2rem)] overflow-y-auto sm:max-w-lg",get interactOutsideBehavior(){return e(pe)},children:(De,Ie)=>{var me=ae(),re=i(me);h(re,()=>et,(b,P)=>{P(b,{children:(g,D)=>{var x=ae(),I=i(x);h(I,()=>tt,(l,p)=>{p(l,{class:"font-display text-lg",children:(j,n)=>{L();var m=T("Install a plugin from GitHub");r(j,m)},$$slots:{default:!0}})});var s=d(I,2);h(s,()=>rt,(l,p)=>{p(l,{children:(j,n)=>{var m=Z(),C=i(m);{var _=v=>{var z=T("Check what it is and where it comes from before you install it.");r(v,z)},w=v=>{var z=T(`Wheelhouse fetches the repository, pins the exact commit and shows you its manifest first.
|
|
2
|
-
Nothing runs until you install it.`);r(v,z)};H(C,v=>{e(t)==="review"?v(_):v(w,-1)})}r(j,m)},$$slots:{default:!0}})}),r(g,x)},$$slots:{default:!0}})});var ne=d(re,2);{var ve=b=>{var P=Dt(),g=i(P),D=se(g),x=d(se(D),2);Be(x),Se(x,1,ze(q)),L(2),oe(D);var I=d(D,2),s=d(se(I),2);Be(s),Se(s,1,ze(q)),L(2),oe(I);var l=d(I,2);{var p=n=>{var m=kt(),C=se(m);_t(C,{class:"mt-0.5 size-3.5 shrink-0"});var _=d(C,1,!0);oe(m),de(()=>ue(_,e(u))),r(n,m)};H(l,n=>{e(u)&&n(p)})}oe(g);var j=d(g,2);h(j,()=>he,(n,m)=>{m(n,{children:(C,_)=>{var w=ae(),v=i(w);{const F=(J,K)=>{Q(J,fe(()=>(K?.()).props,{variant:"ghost",children:(ge,Ce)=>{L();var _e=T("Cancel");r(ge,_e)},$$slots:{default:!0}}))};h(v,()=>Te,(J,K)=>{K(J,{child:F,$$slots:{child:!0}})})}var z=d(v,2);{let F=y(()=>!e(le)||e(t)==="looking");Q(z,{type:"submit",form:"install-plugin-form",get disabled(){return e(F)},children:(J,K)=>{var ce=Z(),ge=i(ce);{var Ce=M=>{var ie=Pt(),Ue=i(ie);gt(Ue,{class:"animate-spin"}),L(),r(M,ie)},_e=M=>{var ie=T("Look it up");r(M,ie)};H(ge,M=>{e(t)==="looking"?M(Ce):M(_e,-1)})}r(J,ce)},$$slots:{default:!0}})}r(C,w)},$$slots:{default:!0}})}),Ke("submit",g,je),Me("input",x,()=>a(u,null)),Le(x,()=>e($),n=>a($,n)),Le(s,()=>e(A),n=>a(A,n)),r(b,P)},Ze=b=>{var P=Re(),g=i(P);ft(g,{get preview(){return e(f)},get busy(){return N()},get answers(){return e(W)},set answers(s){a(W,s,!0)}});var D=d(g,2);{var x=s=>{var l=It(),p=Ae(l,!0);de(()=>ue(p,e(u))),r(s,l)};H(D,s=>{e(u)&&s(x)})}var I=d(D,2);h(I,()=>he,(s,l)=>{l(s,{children:(p,j)=>{var n=ae(),m=i(n);Q(m,{variant:"ghost",onclick:we,children:(_,w)=>{L();var v=T("Back");r(_,v)},$$slots:{default:!0}});var C=d(m,2);{let _=y(()=>!!e(c)),w=y(()=>e(c)?`${e(c).title} is needed`:void 0);Q(C,{onclick:Fe,get disabled(){return e(_)},get title(){return e(w)},children:(v,z)=>{L();var F=T("Install and restart");r(v,F)},$$slots:{default:!0}})}r(p,n)},$$slots:{default:!0}})}),r(b,P)},Ne=b=>{var P=Re(),g=i(P);{let s=y(()=>e(f).id),l=y(()=>e(f).commit.slice(0,7)),p=y(()=>e(t)==="saving"||e(t)==="restarting"||e(t)==="done"||e(t)==="slow"?e(t):"saving");nt(g,{get label(){return`Install ${e(s)??""} at ${e(l)??""}`},get phase(){return e(p)}})}var D=d(g,2);{var x=s=>{var l=Ct(),p=Ae(l);de(()=>ue(p,`${e(f).name??""}
|
|
3
|
-
${e(f).version??""} is installed and Wheelhouse restarted. Its row shows whether it loaded.`)),r(s,l)};H(D,s=>{e(t)==="done"&&s(x)})}var I=d(D,2);h(I,()=>he,(s,l)=>{l(s,{children:(p,j)=>{var n=Z(),m=i(n);{const C=(_,w)=>{let v=()=>(w?.()).props;{let z=y(()=>e(t)==="saving"||e(t)==="restarting");Q(_,fe(v,{get disabled(){return e(z)},children:(F,J)=>{L();var K=T("Done");r(F,K)},$$slots:{default:!0}}))}};h(m,()=>Te,(_,w)=>{w(_,{child:C,$$slots:{child:!0}})})}r(p,n)},$$slots:{default:!0}})}),r(b,P)};H(ne,b=>{e(t)==="form"||e(t)==="looking"?b(ve):e(t)==="review"&&e(f)?b(Ze,1):e(f)&&b(Ne,2)})}r(De,me)},$$slots:{default:!0}})})}r(E,ke)},$$slots:{default:!0}})}),r(X,ye),xe()}Je(["input"]);export{Kt as I};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{d as p,i as a,k as c,e as E,p as le,q as he,x as _t,f as J,a as w,b as ce,n as R,s as v,m as lt,t as V,h as L,r as _,o as N,j as W,c as D}from"./Jk-ASPRO.js";import{d as ue,s as U,a as ht}from"./DTApYZoW.js";import{i as Q}from"./BEVJas-l.js";import{r as At,e as de,f as fe,c as Tt,s as ct,a as qt,j as pe}from"./DNP6oCAK.js";import{c as O}from"./Cq7OFmxz.js";import{b as me}from"./CNxxt--f.js";import{s as Ot,r as ge,p as Lt}from"./DQWg__9S.js";import{D as ye}from"./DqyvT7BR.js";import{D as ve,a as be,b as we,c as ke,d as xe,e as $e}from"./Br5gy4Yk.js";import{B as Dt}from"./VrUPyiEH.js";import{c as Mt,M as Se,s as jt,S as _e}from"./V9uGi6jc.js";import{S as It}from"./BXN538J3.js";import{d as Ae}from"./DuiYw-2t.js";import{B as X}from"./C5MY6dNP.js";import{I as Te}from"./DE0e4nJ8.js";import{L as qe}from"./DUhuG1Hw.js";import{S as Le}from"./v0ViZGjy.js";import{F as De}from"./CGgXi5F1.js";import{B as Me}from"./Bz9tCoED.js";var je=new Set(["$$slots","$$events","$$legacy"]);function Ie(l,t){let e=ge(t,je);const s={name:"paperclip",size:24,node:[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551"}]]};Te(l,Ot(()=>e,{get icon(){return s}}))}function dt(l){const t=[];let e=0;for(;e<l.length;){const n=l.indexOf("```",e);if(n<0){t.push({type:"prose",text:l.slice(e)});break}n>e&&t.push({type:"prose",text:l.slice(e,n)});const i=l.indexOf(`
|
|
2
|
-
`,n+3);if(i<0){t.push({type:"block",lang:l.slice(n+3).trim().toLowerCase(),body:"",closed:!1});break}const o=l.slice(n+3,i).trim().toLowerCase(),r=l.indexOf("```",i+1);if(r<0){t.push({type:"block",lang:o,body:l.slice(i+1),closed:!1});break}t.push({type:"block",lang:o,body:l.slice(i+1,r),closed:!0}),e=r+3}const s=t[t.length-1];return s?.type==="prose"&&(s.text=s.text.replace(/`{1,2}$/,"")),t}function Ce(l){const t=[];for(const e of dt(l))if(e.type==="prose")t.push(e.text);else if(!e.closed)break;return t.join(" ")}function Pe(l,t,e){const s=[];let n=l.slice(t),i=t,o;const r=/^([\s\S]*?[.!?…:])(["')\]]*)(\s+)(?=\S)/;for(;o=r.exec(n);)s.push(o[0]),i+=o[0].length,n=n.slice(o[0].length);return e&&n.trim()&&(s.push(n),i+=n.length),{sentences:s,to:i}}function Ct(l){return l.replace(/https?:\/\/\S+/g,"the link").replace(/[*_`#>]/g,"").replace(/\bPR\s*#?(\d+)/g,"pull request $1").replace(/#(\d+)/g,"number $1").replace(/\s+—\s+/g,", ").trim()}const Pt=l=>l.toLowerCase().replace(/[^a-z0-9' ]+/g," ").split(/\s+/).filter(Boolean);function Ee(l,t){const e=` ${Pt(t).join(" ")} `;if(!e.trim())return!1;const s=Pt(l);return s.length?s.filter(n=>e.includes(` ${n} `)).length/s.length>=.6:!0}const Re=l=>{try{return JSON.parse(l)}catch{try{return JSON.parse(l.replace(/,\s*([}\]])/g,"$1"))}catch{return null}}},b=(l,t=300)=>typeof l=="string"&&l.trim()?l.trim().slice(0,t):null,Z=l=>{const t=b(l,2e3);return t&&/^https?:\/\//.test(t)?t:null};function Oe(l){const t=/%%\s*title:\s*(.+)/i.exec(l)??/^\s*title[:\s]+(.+)$/im.exec(l);if(t)return t[1].trim().slice(0,80);const e=l.trim().split(`
|
|
3
|
-
`)[0]??"";return/^sequenceDiagram/.test(e)?"Sequence":/^stateDiagram/.test(e)?"States":/^classDiagram/.test(e)?"Model":/^erDiagram/.test(e)?"Data model":/^timeline/.test(e)?"Timeline":"Architecture"}function Fe(l,t){const e=i=>({kind:"invalid",lang:l,reason:i,body:t});if(l==="mermaid")return t.trim()?{kind:"diagram",code:t.trim(),title:Oe(t)}:e("The diagram is empty.");const s=Re(t),n=i=>i&&typeof i=="object"&&!Array.isArray(i)?i:null;if(l==="chart"){const i=n(s),o=Array.isArray(i?.labels)?i.labels.map(m=>String(m).slice(0,60)):null,r=Array.isArray(i?.series)?i.series.map(n).filter(m=>!!m&&Array.isArray(m.data)).map(m=>({name:b(m.name,60)??"",data:m.data.map(A=>typeof A=="number"&&Number.isFinite(A)?A:0)})):[];return!i||!o?.length||!r.length?e("The chart data could not be read."):{kind:"chart",spec:{type:i.type==="line"||i.type==="doughnut"?i.type:"bar",title:b(i.title,80)??"Chart",labels:o,series:r.slice(0,6),unit:b(i.unit,20)}}}if(l==="card"){const i=(Array.isArray(s)?s:[s]).map(n).filter(Boolean),o=[];for(const r of i.slice(0,6))b(r.task,160)?o.push({kind:"task",task:b(r.task,160)}):Z(r.pr)?o.push({kind:"pr",url:Z(r.pr),title:b(r.title,160)}):Z(r.link??r.url)&&o.push({kind:"link",url:Z(r.link??r.url),title:b(r.title,160),note:b(r.note)});return o.length?{kind:"cards",cards:o}:e("The card could not be read.")}if(l==="image"){const i=n(s),o=b(i?.prompt,2e3)??(i?null:b(t,2e3));return o?{kind:"picture",title:b(i?.title,80)??"Picture",prompt:o}:e("Nothing to draw.")}if(l==="firstmate"){const i=b(n(s)?.note,600)??b(t,600);return i?{kind:"passon",note:i}:e("Nothing to pass on.")}if(l==="scout"){const i=n(s),o=b(i?.question,1200)??(i?null:b(t,1200));return o?{kind:"scout",question:o,asked:i?.asked===!0}:e("No question for the scout.")}return e(`Unknown block: ${l}`)}const Be=l=>`live-scout-${l}`,Ne=l=>`Live scout ref: ${l}`;function We(l){return[`Scout request from a Live mode discussion in Wheelhouse${l.session?` (session ${l.session.slice(0,8)})`:""}.`,"","Please dispatch a scout on this question:","",...l.question.trim().split(`
|
|
4
|
-
`).map(t=>`> ${t}`),"",`Give it the task id \`${Be(l.ref)}\` if you can, and keep the line "${Ne(l.ref)}" in its brief, so Wheelhouse can bring the report back into the conversation while it is still going.`].join(`
|
|
5
|
-
`)}const Et=(l,t)=>l.length>t?`${l.slice(0,t-1).replace(/\s+\S*$/,"")}…`:l;function Ue(l){return`(Wheelhouse, not the captain: the scout report is in for "${Et(l.question,200)}", from task ${l.task}. Tell the captain the gist in a sentence or two, then carry on the discussion with it. The report:)
|
|
6
|
-
|
|
7
|
-
${Et(l.report.trim(),l.max??6e3)}`}const ut=["pending","failed"],He=15e3,ze=180*6e4,Ge=l=>`Hand-off from a Live mode discussion in Wheelhouse (passed on by the discussion crew):
|
|
8
|
-
|
|
9
|
-
${l}`,Ft="wheelhouse.live.prefs",C=()=>new Date().toISOString(),P=()=>Math.random().toString(36).slice(2,10);function Je(){const l={input:"ptt",headphones:!1,speed:1};try{const t=JSON.parse(localStorage.getItem(Ft)??"{}");return{input:t.input==="always"?"always":"ptt",headphones:t.headphones===!0,speed:typeof t.speed=="number"&&t.speed>=.7&&t.speed<=1.3?t.speed:1}}catch{return l}}class Ve{#t=p("off");get state(){return a(this.#t)}set state(t){c(this.#t,t,!0)}#e=p(E([]));get entries(){return a(this.#e)}set entries(t){c(this.#e,t,!0)}#s=p(E({settled:"",forming:""}));get heard(){return a(this.#s)}set heard(t){c(this.#s,t,!0)}#i=p(E({input:"ptt",headphones:!1,speed:1}));get prefs(){return a(this.#i)}set prefs(t){c(this.#i,t,!0)}#n=p(null);get voice(){return a(this.#n)}set voice(t){c(this.#n,t,!0)}#r=p(0);get startedAt(){return a(this.#r)}set startedAt(t){c(this.#r,t,!0)}#o=p(0);get endedAt(){return a(this.#o)}set endedAt(t){c(this.#o,t,!0)}#a=p("");get model(){return a(this.#a)}set model(t){c(this.#a,t,!0)}#l=p("");get context(){return a(this.#l)}set context(t){c(this.#l,t,!0)}#h=p(null);get problem(){return a(this.#h)}set problem(t){c(this.#h,t,!0)}#c=p(!1);get pressing(){return a(this.#c)}set pressing(t){c(this.#c,t,!0)}#u=p(!1);get choosingEnd(){return a(this.#u)}set choosingEnd(t){c(this.#u,t,!0)}#d=p(!0);get briefing(){return a(this.#d)}set briefing(t){c(this.#d,t,!0)}#f=p(E([]));get handoffs(){return a(this.#f)}set handoffs(t){c(this.#f,t,!0)}#p=p(E([]));get scouts(){return a(this.#p)}set scouts(t){c(this.#p,t,!0)}#m=p(E({attached:[],listed:[]}));get docs(){return a(this.#m)}set docs(t){c(this.#m,t,!0)}#g=p("hold");get handoffMode(){return a(this.#g)}set handoffMode(t){c(this.#g,t,!0)}toFirstmate=null;token="";id=null;events=null;active=null;early=[];queue=[];current=null;gen=0;player=null;recent=null;session=null;consumed=0;commitTimer=null;utterStart=0;stream=null;audioCtx=null;micAnalyser=null;outAnalyser=null;recorder=null;pulse=0;loudSince=0;scoutTimer=null;get on(){return this.state!=="off"}level(){const t=n=>{if(!n)return 0;const i=new Float32Array(n.fftSize);n.getFloatTimeDomainData(i);let o=0;for(const r of i)o+=r*r;return Math.min(1,Math.max(0,(20*Math.log10(Math.sqrt(o/i.length)+1e-6)+52)/34))};if(this.state==="speaking")return this.pulse*=.96,Math.max(this.player?t(this.outAnalyser):0,this.pulse,.12);const s=(this.prefs.input==="always"?this.state!=="muted":this.pressing)?t(this.micAnalyser):0;return this.headphoneBargeIn(s),s}async start(t){if(this.on)return;if(this.token=t,this.prefs=Je(),this.entries=[],this.handoffs=[],this.scouts=[],this.docs={attached:[],listed:[]},this.problem=null,this.endedAt=0,this.state="starting",this.note("Live mode: a discussion crew member joins to talk this through with you. Firstmate stays on watch."),typeof speechSynthesis<"u"){const o=new SpeechSynthesisUtterance(" ");o.volume=0,speechSynthesis.speak(o)}await this.openMicrophone(),this.voice=await fetch("/api/voice").then(o=>o.ok?o.json():null).catch(()=>null);const e=await this.post("/api/live",{}),s=await e?.json().catch(()=>null);if(!e?.ok||!s?.id){this.problem=s?.message??"The discussion crew could not start.",this.note(this.problem),this.close();return}this.id=s.id,this.model=s.model??"",this.context=s.context??"",this.handoffMode=s.handoffs==="direct"?"direct":"hold",this.startedAt=Date.now(),this.events=new EventSource(`/api/live/${s.id}/events`),this.events.onmessage=o=>this.onEvent(JSON.parse(o.data)),this.state=this.idle(),this.applyInput();const n=s.knows??{live:0,decisions:0},i=this.crew();i.text=`I'm here and I've read the fleet: ${n.live} under way, ${n.decisions} decision${n.decisions===1?"":"s"} waiting on you. ${this.prefs.input==="ptt"?matchMedia("(pointer: coarse)").matches?"Hold the talk button and tell me what's on your mind.":"Hold space and tell me what's on your mind.":"What's on your mind?"}`,i.streaming=!1,this.active=i,this.feedSpeech(i,!0)}async end(t=!0){if(!this.on||this.state==="ending")return;const e=this.id;if(this.choosingEnd=!1,this.briefing=t,this.stopSpeech(),this.stopListening(),this.state="ending",!e)return this.close();const s={kind:"writing",id:P(),at:C(),briefing:t};this.entries.push(s);const n=this.handoffs.filter(h=>ut.includes(h.state)),i=h=>this.handoffs.filter(m=>h.includes(m.state)).map(m=>m.note),o=await this.post(`/api/live/${e}/end`,{brief:t,handoffs:{pending:n.map(h=>h.note),sent:i(["sent","sending"]),deleted:i(["deleted"])},scouts:this.scouts.filter(h=>!["offered","declined","failed"].includes(h.state)).map(h=>h.question)});for(const h of n)h.state=t?"briefing":"discarded";const r=await o?.json().catch(()=>null);this.entries=this.entries.filter(h=>h.id!==s.id),r?this.entries.push({kind:"brief",id:P(),at:C(),sent:!1,...r,handoffs:t?n.map(h=>h.note):[],catchUp:r.catchUp??[]}):this.note(t?"The discussion ended, but the briefing could not be written.":"The discussion ended."),this.close()}close(){this.choosingEnd=!1,this.events?.close(),this.events=null,this.id=null,this.stopSpeech(),this.stopListening(),this.stream?.getTracks().forEach(t=>t.stop()),this.stream=null,this.micAnalyser=null,this.audioCtx?.close().catch(()=>{}),this.audioCtx=null,this.outAnalyser=null,this.endedAt=Date.now(),this.state="off"}setPrefs(t){this.prefs={...this.prefs,...t};try{localStorage.setItem(Ft,JSON.stringify(this.prefs))}catch{}this.on&&this.state!=="starting"&&this.state!=="ending"&&this.applyInput()}async refreshVoice(){this.voice=await fetch("/api/voice").then(t=>t.ok?t.json():this.voice).catch(()=>this.voice)}type(t){const e=t.trim();e&&this.send(e,"typed")}async addDocuments(t,e){if(!this.id)return"No Live discussion is open.";const s=await this.post("/api/documents/briefing",{full:t,titles:e}),n=await s?.json().catch(()=>null);if(!s?.ok||!n?.text)return"Those documents could not be read.";const i=n.attached??[],o=n.listed??[],r=(m,A)=>[...m,...A.filter(K=>!m.includes(K))];this.docs={attached:r(this.docs.attached,i),listed:r(this.docs.listed,o)};const h=[i.length?`attached in full: ${i.join(", ")}`:"",o.length?`listed by title: ${o.join(", ")}`:"",n.cut?.length?`too long to attach, so listed: ${n.cut.join(", ")}`:""].filter(Boolean);return this.note(`Documents for the crew, ${h.join("; ")}.`),this.send(n.text,"typed",!0),null}fix(t,e){const s=e.trim();if(!s||s===t.text)return;const n=t.text;t.text=s,t.how="fixed",this.send(`(Correction: speech recognition got my last words wrong. I said "${s}", not "${n}". Answer that instead.)`,"fixed",!0)}markSent(t){t.sent=!0;for(const e of this.handoffs)e.state==="briefing"&&(e.state="briefed")}briefText(t){const e=t.handoffs.length?`## Hand-offs from the call
|
|
10
|
-
${t.handoffs.map(s=>`- ${s.replace(/\s+/g," ")}`).join(`
|
|
11
|
-
`)}`:"";return[`Captain’s briefing from a Live mode discussion (${t.minutes} min):`,t.briefing??"",e].filter(Boolean).join(`
|
|
12
|
-
|
|
13
|
-
`)}get waitingHandoffs(){return this.handoffs.filter(t=>ut.includes(t.state)).length}handoff(t){return this.handoffs.find(e=>e.key===t)??null}scout(t){return this.scouts.find(e=>e.key===t)??null}async sendHandoff(t){const e=this.handoff(t);if(!e||!["pending","failed"].includes(e.state))return;e.state="sending";const s=await this.toFirstmate?.(Ge(e.note))??!1;e.state=s?"sent":"failed"}deleteHandoff(t){const e=this.handoff(t);e&&ut.includes(e.state)&&(e.state="deleted")}restoreHandoff(t){const e=this.handoff(t);e?.state==="deleted"&&this.on&&(e.state="pending")}askScout(t){const e=t.trim();if(!e||!this.id)return;const s=P();this.entries.push({kind:"scout",id:s,at:C(),scout:s,report:!1}),this.addScout(s,e,!0),this.send(`(Wheelhouse, not the captain speaking: the captain just sent a scout on this question: "${e}". Acknowledge it in a few words; you will hear when its report is in.)`,"typed",!0)}approveScout(t){const e=this.scout(t);e&&(e.state==="offered"||e.state==="failed")&&this.requestScout(e)}declineScout(t){const e=this.scout(t);e?.state==="offered"&&(e.state="declined")}addScout(t,e,s){const n=Array.from(crypto.getRandomValues(new Uint8Array(3)),o=>o.toString(16).padStart(2,"0")).join("");this.scouts.push({key:t,ref:n,question:e,asked:s,state:s?"sending":"offered",sentAt:0,task:null,title:null,statusLabel:null,summary:null,report:null,told:!1});const i=this.scouts[this.scouts.length-1];return s&&this.requestScout(i),i}async requestScout(t){t.state="sending",t.sentAt=Date.now();const e=await this.toFirstmate?.(We({ref:t.ref,question:t.question,session:this.id}))??!1;t.state=e?"requested":"failed",e&&this.watchScouts()}watchScouts(){if(this.scoutTimer)return;const t=async()=>{this.scoutTimer=null;const e=r=>(r.state==="requested"||r.state==="running")&&Date.now()-r.sentAt<ze,s=r=>!!this.id&&r.state==="reported"&&!r.told,n=this.scouts.filter(e),i=n.map(r=>`scout=${r.ref}:${r.sentAt}`).join("&"),o=await(n.length?fetch(`/api/live/scouts?${i}`):Promise.reject()).then(r=>r.ok?r.json():null).catch(()=>null);for(const r of n){const h=o?.scouts?.[r.ref];h&&(r.task=h.task,r.title=h.title,r.statusLabel=h.statusLabel,h.report?(r.state="reported",r.summary=h.report.summary,r.report=h.report.text,this.entries.push({kind:"scout",id:P(),at:C(),scout:r.key,report:!0})):r.state="running")}this.tellReports(),this.scouts.some(r=>e(r)||s(r))&&(this.scoutTimer=setTimeout(()=>{t()},n.length?He:3e3))};this.scoutTimer=setTimeout(()=>{t()},4e3)}tellReports(){if(!this.id||!["ready","listening","muted"].includes(this.state)||this.current)return;const t=this.scouts.find(e=>e.state==="reported"&&!e.told&&e.report&&e.task);t&&(t.told=!0,this.send(Ue({question:t.question,task:t.task,report:t.report}),"typed",!0))}takeUp(t,e,s){const n=`${t.id}:${e}`;if(s.kind==="passon"&&!this.handoff(n)){const i=this.handoffMode==="direct";this.handoffs.push({key:n,note:s.note,state:"pending",direct:i}),i&&this.sendHandoff(n)}else s.kind==="scout"&&!this.scout(n)&&this.addScout(n,s.question,s.asked)}crew(){const t={kind:"crew",id:P(),at:C(),text:"",spoken:0,queued:0,streaming:!0,interrupted:!1,visuals:[],turn:null};return this.entries.push(t),this.entries[this.entries.length-1]}note(t){this.entries.push({kind:"notice",id:P(),at:C(),text:t})}async send(t,e,s=!1){if(!this.id)return;this.active&&this.bargeIn(),s||this.entries.push({kind:"captain",id:P(),at:C(),text:t,how:e,pending:!1});const n=this.crew();this.active=n,this.state="thinking";const o=await(await this.post(`/api/live/${this.id}/say`,{text:t}))?.json().catch(()=>null);if(this.active!==n)return;if(!o?.turn){n.streaming=!1,n.text="The crew did not answer. Try again, or end the discussion.",this.state=this.idle();return}n.turn=o.turn;const r=this.early.find(h=>h.turn===o.turn);this.early=this.early.filter(h=>h!==r);for(const h of r?.events??[])this.onEvent({...h,turn:o.turn})}onEvent(t){if(t.type==="gone"){this.on&&this.state!=="ending"&&(this.note("The discussion crew stopped."),this.close());return}const e=this.active;if(!(!e||!t.turn)){if(e.turn===null){let s=this.early.find(n=>n.turn===t.turn);s||this.early.push(s={turn:t.turn,events:[]}),s.events.push(t);return}t.turn===e.turn&&(t.type==="delta"&&t.text?(e.text+=t.text,this.readVisuals(e),this.feedSpeech(e,!1)):t.type==="done"&&(e.streaming=!1,!e.text.trim()&&!e.interrupted&&(e.text=t.error?`I couldn’t answer: ${t.error}`:"I couldn’t answer that. Try again?",e.queued=e.spoken=e.text.length),this.readVisuals(e),this.feedSpeech(e,!0),!this.current&&!this.queue.length&&(this.state=this.idle(),this.tellReports())))}}readVisuals(t){const e=dt(t.text).filter(s=>s.type==="block"&&s.closed);for(let s=t.visuals.length;s<e.length;s++){const n=e[s],i=Fe(n.lang,n.body);t.visuals.push(i),this.takeUp(t,s,i)}}feedSpeech(t,e){const s=Ce(t.text),n=dt(t.text).some(r=>r.type==="block"),{sentences:i,to:o}=Pe(s,t.queued,e||n);t.queued=o;for(const r of i)this.speak(r,t)}bargeIn(){const t=this.active,e=t&&(t.streaming||this.speakingFor(t));this.stopSpeech(),t&&e&&(t.interrupted=!0,t.streaming=!1,this.id&&this.post(`/api/live/${this.id}/interrupt`,{})),this.active=null}speakingFor(t){return this.current?.reply===t||this.queue.some(e=>e.reply===t)}provider(){return this.voice?.effective.speak??X}speak(t,e){const s=Ct(t);if(!s){e&&(e.spoken+=t.length);return}const n={text:t,reply:e,audio:null};this.provider()!==X&&(n.audio=this.fetchAudio(s)),this.queue.push(n),this.pump()}async fetchAudio(t){const e=await this.post("/api/voice/speak",{text:t,speed:this.prefs.speed});return!e||e.status!==200?null:e.blob().catch(()=>null)}pump(){if(this.current||!this.queue.length)return;const t=this.queue.shift(),e=this.gen;this.current=t;const s=()=>{e!==this.gen||this.current!==t||(t.reply&&(t.reply.spoken+=t.text.length),this.recent={text:`${this.recent&&Date.now()-this.recent.at<4e3?this.recent.text:""} ${t.text}`,at:Date.now()},this.current=null,this.player=null,this.queue.length?this.pump():t.reply?.streaming?this.state="thinking":(this.state==="speaking"||this.state==="thinking")&&(this.state=this.idle(),this.tellReports()))},n=()=>{if(e!==this.gen)return;if(typeof speechSynthesis>"u")return s();const i=new SpeechSynthesisUtterance(Ct(t.text)),o=speechSynthesis.getVoices().filter(h=>h.lang.startsWith("en"));i.voice=["Google UK English Male","Daniel","Google UK English Female","Serena","Samantha"].map(h=>o.find(m=>m.name.includes(h))).find(Boolean)??null,i.rate=this.prefs.speed*1.05,i.onstart=()=>{e===this.gen&&(this.state="speaking")},i.onboundary=()=>this.pulse=.45+Math.random()*.35;const r=setTimeout(s,4e3+t.text.length*110);i.onend=i.onerror=()=>{clearTimeout(r),s()},speechSynthesis.speak(i)};if(!t.audio)return n();t.audio.then(i=>{if(e!==this.gen)return;if(!i)return n();const o=new Audio(URL.createObjectURL(i));this.player=o;try{this.audioCtx&&this.outAnalyser&&this.audioCtx.createMediaElementSource(o).connect(this.outAnalyser)}catch{}o.onplaying=()=>{e===this.gen&&(this.state="speaking")},o.onended=()=>{URL.revokeObjectURL(o.src),s()},o.onerror=()=>n(),o.play().catch(()=>n())})}stopSpeech(){this.gen++,this.queue=[],this.current=null,this.player?.pause(),this.player=null,typeof speechSynthesis<"u"&&speechSynthesis.cancel()}idle(){return this.prefs.input==="ptt"?"ready":this.state==="muted"?"muted":"listening"}hearsWithProvider(){return(this.voice?.effective.hear??X)!==X}async openMicrophone(){try{this.stream=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0}}),this.audioCtx=new AudioContext;const t=this.audioCtx.createMediaStreamSource(this.stream);this.micAnalyser=this.audioCtx.createAnalyser(),this.micAnalyser.fftSize=1024,t.connect(this.micAnalyser),this.outAnalyser=this.audioCtx.createAnalyser(),this.outAnalyser.fftSize=512,this.outAnalyser.connect(this.audioCtx.destination)}catch{this.problem="No microphone: you can still type to the crew."}}applyInput(){this.prefs.input==="always"&&this.state!=="muted"?(this.listen(),this.hearsWithProvider()&&!this.recorder&&this.record()):this.pressing||this.stopListening(),["ready","listening","muted"].includes(this.state)&&(this.state=this.idle())}toggleMute(){this.prefs.input!=="always"||!this.on||(this.state==="muted"?(this.state="listening",this.applyInput()):(this.stopListening(),this.state="muted"))}listen(){if(this.session)return;const t=Ae();t.supported()&&(this.consumed=0,this.session=t.start("en-GB",{text:(e,s)=>this.onHeard(e,s),problem:e=>{(e==="blocked"||e==="no-microphone")&&(this.problem="The microphone is blocked: allow it from the address bar, or type.")},end:()=>{this.session=null,this.on&&this.state!=="ending"&&(this.prefs.input==="always"?this.state!=="muted":this.pressing)&&setTimeout(()=>this.listen(),100)}}))}stopListening(t=!1){this.commitTimer&&clearTimeout(this.commitTimer);const e=this.session;if(this.session=null,t?e?.stop():e?.abort(),this.recorder){try{this.recorder.mr.stop()}catch{}this.recorder=null}}onHeard(t,e){const s=t.slice(this.consumed).trim(),n=`${s} ${e}`.trim();if(!n||!this.on)return;if(this.prefs.input==="ptt"){this.pressing&&(this.heard={settled:s,forming:e});return}if(this.state==="muted")return;const i=`${this.current?.text??""} ${this.queue.map(r=>r.text).join(" ")} ${this.recent&&Date.now()-this.recent.at<2500?this.recent.text:""}`;if(!this.prefs.headphones&&Ee(n,i)){this.consumed=t.length;return}if(this.state==="speaking"||!!this.current){if(n.split(/\s+/).length<2&&!s)return;this.bargeIn()}else this.state==="thinking"&&n.split(/\s+/).length>=2&&this.bargeIn();this.utterStart||(this.utterStart=performance.now()),this.heard={settled:s,forming:e},this.state="hearing",this.commitTimer&&clearTimeout(this.commitTimer),this.commitTimer=setTimeout(()=>{this.commit(t.length)},e?1500:850)}async commit(t){const e=`${this.heard.settled} ${this.heard.forming}`.trim();this.consumed=Math.max(this.consumed,t),this.heard={settled:"",forming:""};const s=this.utterStart;if(this.utterStart=0,!!e){if(this.hearsWithProvider()&&this.recorder){const n=this.recorder,i=Math.max(0,(s-n.t0)/1e3-1.6);this.recorder=null;const o=this.stopRecorder(n);this.record();const r=await this.transcribe(await o,i,e);return this.send(r??e,r?"provider":"voice")}return this.send(e,"voice")}}press(){!this.on||this.pressing||this.prefs.input!=="ptt"||!this.id||(this.pressing=!0,this.heard={settled:"",forming:""},this.active&&(this.active.streaming||this.speakingFor(this.active))?this.bargeIn():this.stopSpeech(),this.state="hearing",this.hearsWithProvider()&&this.record(),this.listen(),this.pressedAt=performance.now())}pressedAt=0;cancel(){if(!this.pressing)return;this.pressing=!1;const t=this.recorder;this.recorder=null;try{t?.mr.stop()}catch{}const e=this.session;this.session=null,e?.abort(),this.heard={settled:"",forming:""},this.state=this.idle()}async release(){if(!this.pressing)return;this.pressing=!1;const t=performance.now()-this.pressedAt,e=this.recorder;this.recorder=null;const s=e?this.stopRecorder(e):null,n=this.session;this.session=null,n?.stop(),await new Promise(o=>setTimeout(o,450));const i=`${this.heard.settled} ${this.heard.forming}`.trim();if(this.heard={settled:"",forming:""},t<300||!i&&!s){this.state=this.idle();return}if(s){const o=await this.transcribe(await s,0,i||"…");if(o||i)return this.send(o??i,o?"provider":"voice");this.state=this.idle();return}if(i)return this.send(i,"voice");this.state=this.idle()}record(){if(!this.stream||typeof MediaRecorder>"u")return;const t=["audio/webm;codecs=opus","audio/webm","audio/mp4"].find(n=>MediaRecorder.isTypeSupported(n)),e=new MediaRecorder(this.stream,t?{mimeType:t}:void 0),s={mr:e,chunks:[],t0:performance.now()};e.ondataavailable=n=>{n.data.size&&s.chunks.push(n.data)},e.start(250),this.recorder=s}stopRecorder(t){return new Promise(e=>{t.mr.onstop=()=>e(new Blob(t.chunks,{type:t.mr.mimeType||"audio/webm"}));try{t.mr.stop()}catch{e(null)}})}async transcribe(t,e,s){if(!t||t.size<1500)return null;const n={kind:"captain",id:P(),at:C(),text:s,how:"voice",pending:!0};this.entries.push(n),this.state="transcribing";try{return(await(await fetch(`/api/voice/hear?from=${e.toFixed(2)}`,{method:"POST",headers:{"content-type":t.type,[It]:this.token},body:t})).json().catch(()=>null))?.text?.trim()||null}catch{return null}finally{this.entries=this.entries.filter(i=>i.id!==n.id)}}headphoneBargeIn(t){if(!this.prefs.headphones||this.prefs.input!=="always"||this.state!=="speaking"&&this.state!=="thinking"){this.loudSince=0;return}t<.45?this.loudSince=0:this.loudSince?performance.now()-this.loudSince>220&&(this.loudSince=0,this.bargeIn(),this.state="hearing"):this.loudSince=performance.now()}async post(t,e){try{return await fetch(t,{method:"POST",headers:{"content-type":"application/json",[It]:this.token},body:JSON.stringify(e)})}catch{return null}}}const tt=new Ve;var Ke=D('Bring into <em class="text-gold">Live</em>',1),Rt=D("<!> <!>",1),Ye=D(`<p class="rounded-md border border-hair bg-muted p-3 text-sm" data-live-off="">No Live discussion is open. Start one from the Firstmate chat, then add documents from its
|
|
14
|
-
composer or from here.</p>`),Qe=D('<span class="text-xs text-muted-foreground">link only</span>'),Xe=D('<span class="tabular text-xs text-muted-foreground"> </span>'),Ze=D('<li><label class="flex cursor-pointer items-center gap-2.5 px-3 py-2 text-sm hover:bg-accent/50"><input type="checkbox"/> <!> <span class="min-w-0 flex-1"><span class="block truncate"> </span><span class="block truncate text-xs text-muted-foreground"> </span></span> <!></label></li>'),ts=D('<li class="px-3 py-4 text-sm text-muted-foreground">No documents match.</li>'),es=D('<p class="text-sm text-danger" role="alert"> </p>'),ss=D('<!> <!> <div class="flex flex-wrap items-center gap-2"><div class="flex rounded-md border bg-card p-0.5 text-sm" role="group" aria-label="How"><button type="button"><!>Attach in full</button> <button type="button"><!>List by title</button></div> <label class="flex h-8 min-w-0 flex-1 items-center gap-2 rounded-md border border-input bg-background px-2.5"><!> <input class="min-w-0 flex-1 bg-transparent text-sm outline-none" placeholder="Search by title"/></label></div> <ul class="max-h-80 divide-y divide-hair overflow-y-auto rounded-md border" data-live-picks=""></ul> <div><div class="h-1.5 overflow-hidden rounded-full bg-muted"><div></div></div> <p class="mt-1 text-xs text-muted-foreground"> </p></div> <!> <!>',1);function Ss(l,t){le(t,!0);let e=Lt(t,"open",15,!1),s=Lt(t,"preselect",3,null);const n=64*1024;let i=p("full"),o=p(""),r=p(E([])),h=p(E([])),m=p(null),A=p(!1);he(()=>{e()&&(Mt.want(),c(r,s()?[s()]:[],!0),c(h,[],!0),c(m,null))});const K=W(()=>{const f=Mt.value;return f?[...f.records.map(u=>({ref:u.key,title:u.title,sub:`${u.kind==="ship"?"ship summary":"report"} · ${jt(u.project)}${u.mate?` · @${u.mate}`:""}`,bytes:u.bytes,kind:"record"})),...f.library.map(u=>({ref:`lib:${u.key}`,title:u.title,sub:`library · ${jt(u.shelf)} / ${u.folder} · ${u.status}`,bytes:null,kind:"library"})),...f.prototypes.map(u=>({ref:`proto:${u.id}`,title:u.title,sub:`prototype · ${_e[u.state]}`,bytes:0,kind:"prototype"}))]:[]}),Bt=W(()=>a(K).filter(f=>!a(o)||`${f.title} ${f.sub}`.toLowerCase().includes(a(o).toLowerCase())).slice(0,120)),et=W(()=>a(K).filter(f=>a(r).includes(f.ref)).reduce((f,u)=>f+(u.bytes??4096),0));function Nt(f,u){const H=a(i)==="full"?"titles":"full";a(i)==="full"?c(r,u?[...a(r),f]:a(r).filter(M=>M!==f),!0):c(h,u?[...a(h),f]:a(h).filter(M=>M!==f),!0),u&&(H==="titles"?c(h,a(h).filter(M=>M!==f),!0):c(r,a(r).filter(M=>M!==f),!0))}async function Wt(){if(!tt.on)return;c(A,!0);const f=a(r).filter(u=>u.startsWith("proto:"));c(m,await tt.addDocuments(a(r).filter(u=>!u.startsWith("proto:")),[...a(h),...f]),!0),c(A,!1),a(m)||e(!1)}const ft=f=>`inline-flex cursor-pointer items-center gap-1.5 rounded-sm px-2.5 py-1 ${f?"bg-primary font-medium text-primary-foreground":"text-muted-foreground hover:text-foreground"}`;var pt=_t(),Ut=J(pt);O(Ut,()=>$e,(f,u)=>{u(f,{get open(){return e()},set open(H){e(H)},children:(H,M)=>{var mt=_t(),Ht=J(mt);O(Ht,()=>ve,(zt,Gt)=>{Gt(zt,{class:"max-h-[calc(100dvh-2rem)] overflow-y-auto sm:max-w-xl",children:(Jt,is)=>{var gt=ss(),yt=J(gt);O(yt,()=>be,(g,d)=>{d(g,{children:(T,G)=>{var q=Rt(),j=J(q);O(j,()=>we,(x,k)=>{k(x,{class:"font-display text-lg",children:($,B)=>{R();var S=Ke();R(),w($,S)},$$slots:{default:!0}})});var I=v(j,2);O(I,()=>ke,(x,k)=>{k(x,{children:($,B)=>{R();var S=lt();V(()=>U(S,a(i)==="full"?"The whole document goes into the discussion crew’s briefing.":"Only the title and where it is; the crew opens it if it needs to.")),w($,S)},$$slots:{default:!0}})}),w(T,q)},$$slots:{default:!0}})});var vt=v(yt,2);{var Vt=g=>{var d=Ye();w(g,d)};Q(vt,g=>{tt.on||g(Vt)})}var st=v(vt,2),it=L(st),F=L(it),Kt=L(F);Ie(Kt,{class:"size-3.5","aria-hidden":"true"}),R(),_(F);var z=v(F,2),Yt=L(z);qe(Yt,{class:"size-3.5","aria-hidden":"true"}),R(),_(z),_(it);var bt=v(it,2),wt=L(bt);Le(wt,{class:"size-3.5 text-muted-foreground","aria-hidden":"true"});var kt=v(wt,2);At(kt),_(bt),_(st);var nt=v(st,2);de(nt,21,()=>a(Bt),g=>g.ref,(g,d)=>{const T=W(()=>a(i)==="full"?a(r).includes(a(d).ref):a(h).includes(a(d).ref)),G=W(()=>a(i)==="full"?a(h).includes(a(d).ref):a(r).includes(a(d).ref));var q=Ze(),j=L(q),I=L(j);At(I);var x=v(I,2);{var k=y=>{De(y,{class:"size-4 shrink-0 text-teal","aria-hidden":"true"})},$=y=>{Me(y,{class:"size-4 shrink-0 text-gold","aria-hidden":"true"})},B=y=>{Se(y,{class:"size-4 shrink-0 text-working","aria-hidden":"true"})};Q(x,y=>{a(d).kind==="record"?y(k):a(d).kind==="library"?y($,1):y(B,-1)})}var S=v(x,2),ot=L(S),at=N(ot,!0),ee=v(ot),se=N(ee);_(S);var ie=v(S,2);{var ne=y=>{var Y=Qe();w(y,Y)},re=y=>{var Y=Xe(),oe=N(Y);V(ae=>U(oe,`${ae??""} KB`),[()=>(a(d).bytes/1024).toFixed(1)]),w(y,Y)};Q(ie,y=>{a(d).kind==="prototype"?y(ne):a(i)==="full"&&a(d).bytes&&y(re,1)})}_(j),_(q),V(()=>{fe(I,a(T)),U(at,a(d).title),U(se,`${a(d).sub??""}${a(G)?` · already ${a(i)==="full"?"listed by title":"attached in full"}`:""}`)}),ht("change",I,y=>Nt(a(d).ref,y.currentTarget.checked)),w(g,q)},g=>{var d=ts();w(g,d)}),_(nt);var rt=v(nt,2),xt=L(rt),$t=N(xt),Qt=v(xt,2),Xt=N(Qt);_(rt);var St=v(rt,2);{var Zt=g=>{var d=es(),T=N(d,!0);V(()=>U(T,a(m))),w(g,d)};Q(St,g=>{a(m)&&g(Zt)})}var te=v(St,2);O(te,()=>xe,(g,d)=>{d(g,{children:(T,G)=>{var q=Rt(),j=J(q);{const x=(k,$)=>{Dt(k,Ot(()=>($?.()).props,{variant:"ghost",children:(S,ot)=>{R();var at=lt("Cancel");w(S,at)},$$slots:{default:!0}}))};O(j,()=>ye,(k,$)=>{$(k,{child:x,$$slots:{child:!0}})})}var I=v(j,2);{let x=W(()=>!tt.on||a(A)||!a(r).length&&!a(h).length);Dt(I,{onclick:Wt,get disabled(){return a(x)},children:(k,$)=>{R();var B=lt("Add to the discussion");w(k,B)},$$slots:{default:!0}})}w(T,q)},$$slots:{default:!0}})}),V((g,d,T,G)=>{ct(F,1,g),qt(F,"aria-pressed",a(i)==="full"),ct(z,1,d),qt(z,"aria-pressed",a(i)==="titles"),ct($t,1,`h-full ${a(et)>n?"bg-danger":"bg-gold"}`),pe($t,`width:${T??""}%`),U(Xt,`Attached in full: ${a(r).length??""} · ${G??""} of 64 KB · Listed by
|
|
15
|
-
title: ${a(h).length??""}. What does not fit is listed by title instead.`)},[()=>Tt(ft(a(i)==="full")),()=>Tt(ft(a(i)==="titles")),()=>Math.min(100,a(et)/n*100),()=>(a(et)/1024).toFixed(1)]),ht("click",F,()=>c(i,"full")),ht("click",z,()=>c(i,"titles")),me(kt,()=>a(o),g=>c(o,g)),w(Jt,gt)},$$slots:{default:!0}})}),w(H,mt)},$$slots:{default:!0}})}),w(l,pt),ce()}ue(["click","change"]);export{Ss as L,Ie as P,tt as l,dt as p};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as f,i as h,k as u,e as v,j as m}from"./Jk-ASPRO.js";import{h as C,i as T,j as x,k as S,m as N}from"./nqsqhzVw.js";import{S as R}from"./BXN538J3.js";import{w as q}from"./RYvdmj4W.js";const z=[{kind:"pr-green",label:"PR green",hint:"A pull request passed its checks and waits on you"},{kind:"question",label:"Question waiting",hint:"Firstmate needs your decision"},{kind:"stuck",label:"Worker stuck",hint:"Blocked, failed, lost contact or gone quiet"},{kind:"landed",label:"Merge landed",hint:"A pull request was merged"},{kind:"issue",label:"New issue",hint:"A GitHub issue you watch, with the bell on"},{kind:"events-paused",label:"Events source paused",hint:"A source exceeded its event rate limit"},{kind:"health",label:"Health",hint:"Soundings found something on this computer or in Wheelhouse"}],D=20*6e4,$=220;function j(e,t){const s=[],i={taskId:e.id,projectId:e.projectId,title:e.shortTitle},n=M(e.id),r=(o,a=n)=>({kind:"open",label:o,href:a,external:!1}),c=o=>e.pr?[{kind:"open",label:o,href:e.pr.url,external:!0}]:[],d=e.pr?.number?`Pull request #${e.pr.number}`:"The pull request";if(e.status==="needs-review"&&e.attention?.kind==="review"&&e.pr){const o=`pr-green:${e.id}:${e.pr.url}`;s.push({...i,id:o,kind:"pr-green",captain:!0,text:`${d} is green and ready to merge.`,actions:[{kind:"note",label:"Merge",text:`Please merge ${e.pr.url} (${e.id}: ${e.shortTitle}). Sent from Wheelhouse's ship's bell.`,requestId:`wh-bell-merge-${g(o)}`,sent:"Asked Firstmate to merge"},...c("Open PR"),r("Open task")]})}else if(e.status==="needs-decision"&&e.attention?.owner==="captain")s.push({...i,id:`question:${e.id}:${g(e.attention.text)}`,kind:"question",captain:!0,text:I(e.attention.text),actions:[r("Open decision",e.secondMate?n:C(T(e.id))),r("Answer in chat",b(e.id))]});else if(e.status==="blocked"||e.status==="failed"||e.status==="lost")s.push({...i,id:`stuck:${e.id}:${e.status}:${g(e.summaryRaw??e.summary??e.statusLabel)}`,kind:"stuck",captain:!1,text:I(e.summary?`${e.statusLabel}: ${e.summary}`:e.statusLabel),actions:[r("Open task"),r("Ask Firstmate",b(e.id))]});else if(H(e,t)){const o=Math.round((t-Date.parse(e.activity.at))/6e4);s.push({...i,id:`stuck:${e.id}:quiet:${g(e.activity.text)}`,kind:"stuck",captain:!1,text:`Gone quiet: no word for ${o} minutes while working.`,actions:[r("Open task"),r("Ask Firstmate",b(e.id))]})}else e.status==="landed"&&s.push({...i,id:`landed:${e.id}`,kind:"landed",captain:!1,text:e.pr?`${d} was merged.`:"The work was merged.",actions:[r("Open task"),...c("View PR")]});return s}function F(e){return!e||e.state!=="ours"||e.picker||e.signIn?null:e.terminal?{detail:e.terminal.excerpt||null}:null}function Z(e){return`${e.id}@${e.at}`}function H(e,t){if(e.status!=="working"||e.busy||e.pipeline&&e.pipeline.outcome==="running")return!1;const s=e.activity?.at?Date.parse(e.activity.at):NaN;return Number.isFinite(s)&&t-s>=D}function tt(e,t){if(!e.captain||e.taskId===null||!t||!t.collectedAt)return!0;const s=t.tasks.find(i=>i.id===e.taskId);return s?j(s,Date.now()).some(i=>i.id===e.id):!1}function M(e){return`/tasks/${encodeURIComponent(e)}`}function b(e){return`/?chat=${encodeURIComponent(e)}`}function I(e){const t=e.replace(/\s+/g," ").trim();return t.length>$?`${t.slice(0,$-1).trimEnd()}…`:t}function g(e){let t=2166136261,s=1523705862;for(let i=0;i<e.length;i++){const n=e.charCodeAt(i);t=Math.imul(t^n,16777619),s=Math.imul(s^n,1540483477)}return(t>>>0).toString(16).padStart(8,"0")+(s>>>0).toString(16).padStart(8,"0")}const _=2,k=e=>` ${e.replace(/\s+/g," ").trim()} `,E=e=>e[e.length-1]?.id??null,W=(e,t)=>t===null?-1:e.findIndex(s=>s.id===t),O=e=>e?.kind==="turn";function P(e,t){const s=new Map;return e.filter(i=>{if(i.state==="sending"||i.state==="failed")return!0;const n=W(t,i.after),r=t.slice(n+1);if(i.via==="inbox")return!r.some(O);const c=k(i.text),d=s.get(c)??0;return r.filter(a=>a.kind==="user"&&k(a.text).includes(c)).length>d?(s.set(c,d+1),!1):r.filter(a=>O(a)&&a.done).length<_})}function et(e){switch(e.state){case"sending":return"Sending…";case"queued":return"Queued · Firstmate is busy and will read it next";case"failed":return e.error?`Not sent · ${e.error}`:"Not sent";default:return e.via==="inbox"?"In Firstmate’s inbox":"Delivered · waiting for Firstmate"}}const y=6e3,A=1500,U=6e3,L=8,J=6e4;class Y{#t=f(null);get session(){return h(this.#t)}set session(t){u(this.#t,t,!0)}#e=f(null);get source(){return h(this.#e)}set source(t){u(this.#e,t,!0)}#s=f([]);get records(){return h(this.#s)}set records(t){u(this.#s,t)}#i=f([]);get history(){return h(this.#i)}set history(t){u(this.#i,t)}#n=f("unknown");get older(){return h(this.#n)}set older(t){u(this.#n,t,!0)}#r=f("connecting");get connection(){return h(this.#r)}set connection(t){u(this.#r,t,!0)}#o=f(0);get resets(){return h(this.#o)}set resets(t){u(this.#o,t,!0)}#a=f(!1);get synced(){return h(this.#a)}set synced(t){u(this.#a,t,!0)}#h=f(v([]));get commands(){return h(this.#h)}set commands(t){u(this.#h,t,!0)}#u=m(()=>new Set(this.history.map(t=>t.uuid)));get historyIds(){return h(this.#u)}set historyIds(t){u(this.#u,t)}#c=m(()=>Math.max(0,this.history.findLastIndex(x)));get cut(){return h(this.#c)}set cut(t){u(this.#c,t)}#l=m(()=>S(this.history.slice(0,this.cut)));get earlier(){return h(this.#l)}set earlier(t){u(this.#l,t)}#d=m(()=>S(this.cut<this.history.length?[...this.history.slice(this.cut),...this.records]:this.records));get latest(){return h(this.#d)}set latest(t){u(this.#d,t)}#f=m(()=>N(this.earlier,this.latest));get chat(){return h(this.#f)}set chat(t){u(this.#f,t)}#m=m(()=>{const t=this.chat.items[this.chat.items.length-1];return this.session?.busy===!0||t?.kind==="turn"&&!t.done&&!t.interrupted});get working(){return h(this.#m)}set working(t){u(this.#m,t)}#p=m(()=>this.connection==="open"&&this.session?.state==="ours"&&!this.session.picker&&!this.session.menu&&!this.session.signIn&&!this.session.terminal&&this.working);get atWork(){return h(this.#p)}set atWork(t){u(this.#p,t)}#g=m(()=>this.connection==="open"&&this.session?.state==="ours"&&this.session.canSend&&(!!this.session.picker||!!this.session.signIn||!!F(this.session)));get needsYou(){return h(this.#g)}set needsYou(t){u(this.#g,t)}#y=f(v([]));get outbox(){return h(this.#y)}set outbox(t){u(this.#y,t,!0)}#b=m(()=>P(this.outbox,this.chat.items));get pending(){return h(this.#b)}set pending(t){u(this.#b,t)}close=null;left=null;archived=!1;connect(t=typeof document>"u"?null:document){if(this.close)return()=>{};const s=o=>{o.addEventListener("session",a=>{this.session=JSON.parse(a.data),this.connection="open"}),o.addEventListener("reset",a=>{const l=JSON.parse(a.data);this.records.length&&l?.file!==this.source?.file&&(this.history=[...this.history,...this.records],this.left=this.source?.file??null),l&&this.left&&(l.file!==this.left&&l.session&&(this.history=[...this.history,{type:"wh-session",uuid:`wh-session:${l.session}`,timestamp:new Date().toISOString(),first:!1}]),this.left=null),this.source=l,this.records=[],this.resets++}),o.addEventListener("records",a=>{const l=JSON.parse(a.data);this.leaveHistory(l);const p=[...this.records,...l];if(p.length>y){const w=y-A;this.history=[...this.history,...p.slice(0,p.length-w)],this.records=p.slice(-w)}else this.records=p}),o.addEventListener("replace",a=>{const l=JSON.parse(a.data);this.leaveHistory(l),this.records=l.length>y?l.slice(-y):l}),o.addEventListener("synced",()=>this.synced=!0)};let i=null;const n=()=>{this.synced=!1,i=q("/api/firstmate/chat",s,o=>this.connection=o)},r=()=>{i?.(),i=null,this.connection="connecting"};let c;const d=()=>{clearTimeout(c),t&&(t.hidden?c=setTimeout(()=>t.hidden&&r(),J):i||n())};return n(),t?.addEventListener("visibilitychange",d),t?.hidden&&d(),this.close=()=>{clearTimeout(c),t?.removeEventListener("visibilitychange",d),i?.(),i=null},this.loadCommands(),()=>{this.close?.(),this.close=null,this.connection="connecting"}}get all(){return[...this.history,...this.records]}leaveHistory(t){const s=this.historyIds;if(!t.some(n=>n.uuid&&s.has(n.uuid)))return;const i=new Set(t.map(n=>n.uuid));this.history=this.history.filter(n=>!i.has(n.uuid))}trim(){const t=this.history.length-U;if(t<=0)return;if(!this.archived)return void this.probeArchive();const s=this.history.findIndex((i,n)=>n>=t&&(x(i)||i.type==="wh-session"));this.history=this.history.slice(s>=0?s:t),this.older==="none"&&(this.older="more")}async loadOlder(t=null){if(this.older==="loading"||this.older==="unavailable"||this.older==="none"&&!t)return!1;const s=this.cursors(),i=s.find(r=>r.timestamp)?.timestamp,n=new URLSearchParams([["limit",String(A)],...s.map(r=>["before",r.uuid]),...i?[["at",i]]:[],...t?[["until",t]]:[]]);this.older="loading";try{const r=await fetch(`/api/firstmate/chat/history?${n}`);if(!r.ok)throw new Error(String(r.status));const c=await r.json();if(!c.available)return this.older="unavailable",this.archived=!1,!1;if(this.archived=!0,this.cursors()[0]?.uuid!==s[0]?.uuid)return this.older="unknown",!1;const d=new Set(this.all.map(a=>a.uuid)),o=c.records.filter(a=>!d.has(a.uuid));return this.history=[...o,...this.history],this.older=c.more&&o.length?"more":"none",o.length>0}catch{return this.older="failed",!1}}probing=!1;async probeArchive(){if(!(this.probing||this.older==="unavailable")){this.probing=!0;try{const t=await fetch("/api/firstmate/chat/history?limit=1");if(!t.ok)return;(await t.json()).available?(this.archived=!0,this.trim()):this.older="unavailable"}catch{}finally{this.probing=!1}}}cursors(){const t=[];for(const s of this.history)t.length<L&&s.uuid&&!s.isSidechain&&t.push(s);for(const s of this.records)t.length<L&&s.uuid&&!s.isSidechain&&t.push(s);return t}has(t){return this.historyIds.has(t)||this.records.some(s=>s.uuid===t)}async search(t){try{const s=await fetch(`/api/firstmate/chat/search?${new URLSearchParams({q:t})}`);if(!s.ok)return null;const i=await s.json();return i.available?i.hits:null}catch{return null}}async send(t,s,i,n){return this.prune(),this.outbox.push({id:crypto.randomUUID(),text:t,via:s,state:"sending",error:null,after:E(this.chat.items)}),this.deliver(this.outbox[this.outbox.length-1],i,n)}retry(t,s,i){const n=this.outbox.find(r=>r.id===t);!n||n.state!=="failed"||(n.after=E(this.chat.items),this.deliver(n,s,i))}dismiss(t){this.outbox=this.outbox.filter(s=>s.id!==t)}async deliver(t,s,i){t.state="sending",t.error=null;const n=t.via==="inbox"?await K(t.text,s):await G("/api/firstmate/input",s,{text:t.text});return n.ok?t.state=i&&t.via==="session"?"queued":"delivered":(t.state="failed",t.error=n.error),n}prune(){const t=new Set(this.pending.map(s=>s.id));this.outbox=this.outbox.filter(s=>t.has(s.id))}async loadCommands(){try{const t=await fetch("/api/firstmate/commands");t.ok&&(this.commands=(await t.json()).commands)}catch{}}}const st=new Y;async function G(e,t,s){try{const i=await fetch(e,{method:"POST",headers:{"content-type":"application/json",[R]:t},body:JSON.stringify(s??{})});return i.ok?{ok:!0}:{ok:!1,error:(await i.json().catch(()=>null))?.message??`Wheelhouse answered ${i.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}async function K(e,t,s=null,i=`wh-${crypto.randomUUID()}`){try{const n=await fetch("/api/firstmate/messages",{method:"POST",headers:{"content-type":"application/json","idempotency-key":i,[R]:t},body:JSON.stringify({text:e,taskId:s})});return n.ok?{ok:!0,pending:n.status===202}:{ok:!1,error:(await n.json().catch(()=>null))?.message??`Wheelhouse answered ${n.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}export{z as A,G as a,tt as b,M as c,g as d,st as f,et as p,Z as r,K as s,F as t};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as y}from"./CeV_7ApB.js";import{y as b,b9 as I,d as u,i as f,k as d}from"./Jk-ASPRO.js";const h=[];function k(e,t=b){let n=null;const r=new Set;function s(o){if(I(e,o)&&(e=o,n)){const l=!h.length;for(const c of r)c[1](),h.push(c,e);if(l){for(let c=0;c<h.length;c+=2)h[c][0](h[c+1]);h.length=0}}}function i(o){s(o(e))}function a(o,l=b){const c=[o,l];return r.add(c),r.size===1&&(n=t(s,i)||b),o(e),()=>{r.delete(c),r.size===0&&n&&(n(),n=null)}}return{set:s,update:i,subscribe:a}}const L="1795116760175";new URL("sveltekit-internal://");function K(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function B(e){return e.split("%25").map(decodeURI).join("%25")}function D(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function J({href:e}){return e.split("#")[0]}function W(e,t,n,r=!1){const s=new URL(e);Object.defineProperty(s,"searchParams",{value:new Proxy(s.searchParams,{get(a,o){if(o==="get"||o==="getAll"||o==="has")return(c,...N)=>(n(c),a[o](c,...N));t();const l=Reflect.get(a,o);return typeof l=="function"?l.bind(a):l}}),enumerable:!0,configurable:!0});const i=["href","pathname","search","toString","toJSON"];r&&i.push("hash");for(const a of i)Object.defineProperty(s,a,{get(){return t(),e[a]},enumerable:!0,configurable:!0});return s}function x(){}function P(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let s=r.length;for(;s;)t=t*33^r[--s]}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 r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const q=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&p.delete(m(e)),q(e,t));const p=new Map;function X(e,t){const n=m(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:s,...i}=JSON.parse(r.textContent);r.getAttribute("data-b64")!==null&&(s=$(s));const o=r.getAttribute("data-ttl");return o&&p.set(n,{body:s,init:i,ttl:1e3*Number(o)}),Promise.resolve(new Response(s,i))}return window.fetch(e,t)}function M(e,t,n){if(p.size>0){const r=m(e,n),s=p.get(r);if(s){if(performance.now()<s.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(s.body,s.init);p.delete(r)}}return window.fetch(t,n)}function m(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const s=[];t.headers&&s.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&s.push(t.body),r+=`[data-hash="${P(...s)}"]`}return r}const C=globalThis.__sveltekit_irus1n?.base??"",V=globalThis.__sveltekit_irus1n?.assets??C??"",F="sveltekit:snapshot",Q="sveltekit:scroll",Z="sveltekit:states",ee="sveltekit:pageurl",te="sveltekit:history",ne="sveltekit:navigation",v={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},E=location.origin;function re(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 se(){return{x:pageXOffset,y:pageYOffset}}function g(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const S={...v,"":v.hover};function T(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function oe(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=T(e)}}function ae(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const s=e instanceof SVGAElement?e.target.baseVal:e.target,i=!r||!!s||j(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),a=r?.origin===E&&e.hasAttribute("download");return{url:r,external:i,target:s,download:a}}function ie(e){let t=null,n=null,r=null,s=null,i=null,a=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=g(o,"preload-code")),s===null&&(s=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 l(c){switch(c){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:S[r??"off"],preload_data:S[s??"off"],keepfocus:l(t),noscroll:l(n),reload:l(i),replace_state:l(a)}}function le(e){const t=k(e);let n=!0;function r(){n=!0,t.update(a=>a)}function s(a){n=!1,t.set(a)}function i(a){let o;return t.subscribe(l=>{(o===void 0||n&&l!==o)&&a(o=l)})}return{notify:r,set:s,subscribe:i}}const U={v:x};function ce(){const{set:e,subscribe:t}=k(!1);let n;async function r(){clearTimeout(n);try{const s=await fetch(`${V}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!s.ok)return!1;const a=(await s.json()).version!==L;return a&&(e(!0),U.v(),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:r}}function j(e,t,n){return e.origin!==E||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function ue(e){}const O=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...O];const G=new Set([...O]);[...G];let w,R,_;const Y=y.toString().includes("$$")||/function \w+\(\) \{\}/.test(y.toString()),A="a:";Y?(w={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(A)},R={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)}#r=u({});get params(){return f(this.#r)}set params(t){d(this.#r,t)}#s=u({id:null});get route(){return f(this.#s)}set route(t){d(this.#s,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)}},R=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 ge(e){Object.assign(w,e)}export{te as H,ne as N,ee as P,Z as S,R as a,C as b,ie as c,J as d,D as e,oe as f,ae as g,K as h,j as i,ce as j,le as k,v as l,W as m,x as n,E as o,w as p,B as q,re as r,se as s,F as t,ge as u,M as v,k as w,X as x,Q as y,ue as z};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{s as n,r as a}from"./DQWg__9S.js";import{I as o}from"./DE0e4nJ8.js";import{p as l}from"./CLsnhhko.js";var p=new Set(["$$slots","$$events","$$legacy"]);function $(s,e){let t=a(e,p);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"}]]};o(s,n(()=>t,{get icon(){return r}}))}const c="{url}";function u(s,e,t){const r=e&&Object.hasOwn(s,e)?s[e]:null;return typeof r!="string"?{href:t.url,external:!0}:{href:r.replace(c,encodeURIComponent(t.url)),external:!1}}const x={review(s,e){const t=l.data?.pullRequestTabs??{};return u(t,s,e)}};export{$ as C,x as p};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{w as O,v as U,X as A,ai as N,b9 as P,d as l,i as c,k as u,e as y}from"./Jk-ASPRO.js";import"./DsnmJJEf.js";import{s as C,r as M}from"./DQWg__9S.js";import{I as F}from"./DE0e4nJ8.js";import{p as q}from"./CLsnhhko.js";import{a as D}from"./BdjCJ4uL.js";import{s as E}from"./Cw6Vodkk.js";import{S as b}from"./BXN538J3.js";function at(a,t,e){O(()=>{var s=U(()=>t(a,e?.())||{});if(e&&s?.update){var i=!1,n={};A(()=>{var r=e();N(r),i&&P(n,r)&&(n=r,s.update(r))}),i=!0}if(s?.destroy)return()=>s.destroy()})}var j=new Set(["$$slots","$$events","$$legacy"]);function ht(a,t){let e=M(t,j);const s={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"}]]};F(a,C(()=>e,{get icon(){return s}}))}var _=new Set(["$$slots","$$events","$$legacy"]);function lt(a,t){let e=M(t,_);const s={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"}]]};F(a,C(()=>e,{get icon(){return s}}))}const ct=["must","should","could","none"],B={must:"Must fix",should:"Should fix",could:"Could do",none:"Keep"},L=8e3,k=a=>a.replace(/\s+/g," ").trim();function m(a){const t=Math.max(0,Math.round(a/1e3));return`${Math.floor(t/60)}:${String(t%60).padStart(2,"0")}`}const w=(a,t)=>`${a} ${t}${a===1?"":"s"}`,W=/\b(this|here|that one|these)\b/i;function G(a,t,e,s,i){const n=a.filter(o=>(o.type==="click"||o.type==="input"||o.type==="choose"||o.type==="mark")&&o.t>=e-L&&o.t<=s).pop()??null,r=n?.type!=="mark"&&W.test(t)&&i&&n&&i.t>n.t+400&&i.selector!==n.el?.selector;return n&&!r?{ev:n}:{pointing:i??null}}function $(a,t){const e=s=>a.find(i=>i.id===s)?.label??"";return[...a.map(s=>({t:s.t,s:`${s.id} ${m(s.t)} ${s.label}${s.type!=="nav"&&s.page?` (on ${s.page})`:""}`})),...t.map(s=>({t:s.t0,s:`${s.id} ${m(s.t0)}–${m(s.t1)} captain said: “${s.text}”${s.anchor?` [about ${s.anchor}: ${e(s.anchor)}]`:""}${s.pointing?` [pointing at ${s.pointing.label}]`:""} (on ${s.page})`}))].sort((s,i)=>s.t-i.t).map(s=>s.s).slice(-160)}function H(a){const t=a.split(/[.(]|, (?:that|which|so|and)\b/)[0].trim();return t.length<=64?t:t.slice(0,64).replace(/\s+\S*$/,"")+"…"}function Q(a,t,e){const s=t.text.toLowerCase(),i=/\b(love|like|nice|great|good|perfect)\b/.test(s)&&!/\bnot\b/.test(s)?"praise":/\?|\bwhy\b|\bnot sure\b/.test(s)?"question":/\b(broken|bug|error|doesn'?t|does not|can'?t|wrong|fails?|nothing happens|confus)/.test(s)?"problem":/\b(maybe|could|would be nice|idea|what if)\b/.test(s)?"idea":"change",n=t.text.charAt(0).toUpperCase()+t.text.slice(1);return{id:a,kind:i,severity:i==="praise"?"none":i==="problem"?"must":i==="idea"?"could":"should",text:`${n}${e?` (about ${e} on ${t.page})`:` (on ${t.page})`}`,quote:t.text,anchor:t.anchor??"",utterances:[t.id]}}const K=a=>/\?\s*$|^(what|how|why|where|when|can you|could you|is this|does|do i|which)\b/i.test(a.trim());function V(a,t){return{summary:a.length?`The captain reviewed ${t.title} for ${m(t.duration)} and raised ${w(a.length,"point")}.`:"Nothing was raised in this session, so there is nothing to pass on yet.",issues:a.map(e=>({title:H(e.text),detail:e.text,severity:e.severity,kind:e.kind,notes:[e.id],anchor:e.anchor,quote:e.quote})),openQuestions:[]}}function J(a,t,e,s,i){const n=[`Preview feedback for ${a.id} (${k(a.title)}), sent together from the Preview tab (${t}):`,`Live review session: ${m(e.duration)}, ${w(e.remarks,"remark")}, ${w(e.clicks,"click")}, ${w(e.pages,"page")}. ${k(s.summary)}`,"The captain requests these changes: the preview is not approved yet."];return s.lines.forEach((r,o)=>{n.push(`${o+1}. [${B[r.severity]}] ${k(r.title)}. ${k(r.detail)}`),r.where&&n.push(` Points at: ${k(r.where)}`),r.quote&&n.push(` Captain said${r.at?` (${r.at})`:""}: “${k(r.quote)}”`),r.shot&&n.push(` Screenshot: ${r.shot}`)}),s.errors.length&&n.push("","Seen on the page during the session:",...s.errors.map(r=>`- ${r}`)),s.openQuestions.length&&n.push("","Open questions for the captain:",...s.openQuestions.map(r=>`- ${r}`)),i&&n.push("",`The whole session (every click, page, remark and screenshot): ${i}`),n.push("","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."),n.join(`
|
|
2
|
-
`)}function z(a,t,e){const s=[`Preview approved for ${a.id} (${k(a.title)}): the captain reviewed the preview (${t}) and approves it.`,"This is the captain’s go for its pull request: land it under this project’s rules."];return e.length&&s.push("","Notes the captain took (not blocking):",...e.map(i=>`- ${k(i)}`)),s.join(`
|
|
3
|
-
`)}const ut=()=>q.data.features?.livereview===!0&&!D.remote&&!D.hosted,pt=(a,t=location.pathname+location.search)=>`/tasks/${encodeURIComponent(a)}/live?back=${encodeURIComponent(t)}`,Y=260,X=450;function R(){const a=globalThis;return a.SpeechRecognition??a.webkitSpeechRecognition??null}const v=a=>{const t=URL.parse(a??"");return t?t.pathname+t.hash||"/":a||"/"};class dt{taskId;title;token;previewUrl="";#t=l(null);get problem(){return c(this.#t)}set problem(t){u(this.#t,t,!0)}#e=l(!1);get on(){return c(this.#e)}set on(t){u(this.#e,t,!0)}#s=l(!1);get paused(){return c(this.#s)}set paused(t){u(this.#s,t,!0)}started=0;#i=l(0);get now(){return c(this.#i)}set now(t){u(this.#i,t,!0)}#n=l("talk");get mode(){return c(this.#n)}set mode(t){u(this.#n,t,!0)}#r=l("note");get sendAs(){return c(this.#r)}set sendAs(t){u(this.#r,t,!0)}#o=l(!0);get speak(){return c(this.#o)}set speak(t){u(this.#o,t,!0)}#a=l(!0);get mask(){return c(this.#a)}set mask(t){u(this.#a,t,!0)}#h=l(!0);get shootClicks(){return c(this.#h)}set shootClicks(t){u(this.#h,t,!0)}#l=l(y([]));get events(){return c(this.#l)}set events(t){u(this.#l,t,!0)}#c=l(y([]));get remarks(){return c(this.#c)}set remarks(t){u(this.#c,t,!0)}#u=l(y([]));get notes(){return c(this.#u)}set notes(t){u(this.#u,t,!0)}#p=l(y([]));get convo(){return c(this.#p)}set convo(t){u(this.#p,t,!0)}#d=l({});get shots(){return c(this.#d)}set shots(t){u(this.#d,t)}#f=l(y([]));get fresh(){return c(this.#f)}set fresh(t){u(this.#f,t,!0)}#g=l("");get heard(){return c(this.#g)}set heard(t){u(this.#g,t,!0)}#k=l("/");get page(){return c(this.#k)}set page(t){u(this.#k,t,!0)}#m=l(!1);get talking(){return c(this.#m)}set talking(t){u(this.#m,t,!0)}#y=l(!1);get locked(){return c(this.#y)}set locked(t){u(this.#y,t,!0)}#v=l(null);get hearing(){return c(this.#v)}set hearing(t){u(this.#v,t,!0)}#w=l(null);get scribeSays(){return c(this.#w)}set scribeSays(t){u(this.#w,t,!0)}#b=l(!1);get notesBusy(){return c(this.#b)}set notesBusy(t){u(this.#b,t,!0)}#$=l(!1);get replyBusy(){return c(this.#$)}set replyBusy(t){u(this.#$,t,!0)}#S=l(!1);get speaking(){return c(this.#S)}set speaking(t){u(this.#S,t,!0)}#x=l(null);get notice(){return c(this.#x)}set notice(t){u(this.#x,t,!0)}#I=l(null);get pack(){return c(this.#I)}set pack(t){u(this.#I,t,!0)}#T=l(!1);get marking(){return c(this.#T)}set marking(t){u(this.#T,t,!0)}#D=l(!1);get picking(){return c(this.#D)}set picking(t){u(this.#D,t,!0)}#E=l(null);get picked(){return c(this.#E)}set picked(t){u(this.#E,t,!0)}#R=l(null);get approved(){return c(this.#R)}set approved(t){u(this.#R,t,!0)}#C=l(!1);get approving(){return c(this.#C)}set approving(t){u(this.#C,t,!0)}canHear=R()!==null;peer=null;origin="";hover=null;pageText=null;ev=0;ut=0;sh=0;lastShotAt=0;rec=null;cur=null;pressAt=0;lastTap=0;chord=!1;quietEnd=!1;notesAgain=!1;replyNext=null;outlinedCache=new Map;clock=null;player=null;sayGen=0;constructor(t,e){this.taskId=t.id,this.title=t.title,this.token=e}async call(t){try{const e=await fetch(`/api/tasks/${encodeURIComponent(this.taskId)}/livereview`,{method:"POST",headers:{"content-type":"application/json",[b]:this.token},body:JSON.stringify(t)}),s=await e.json().catch(()=>null);return!e.ok||!s?{ok:!1,error:s?.message??`Wheelhouse answered ${e.status}.`}:{ok:!0,value:s}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}connect(t,e,s){this.peer=t,this.origin=e,this.previewUrl=s}toFrame(t){this.origin&&this.peer?.postMessage({__wh:1,...t},this.origin)}get elapsed(){return this.on?this.now-this.started:0}t(){return this.started?Date.now()-this.started:0}get canDone(){return!this.pack&&(this.on||this.remarks.length>0)}start(){this.on=!0,this.paused=!1,this.started=Date.now(),this.now=this.started,this.clock=setInterval(()=>this.now=Date.now(),1e3),this.addEvent({type:"start",label:`Started on ${this.page}`}),this.toFrame({type:"record",on:!0,mask:this.mask}),this.toFrame({type:"gettext"})}setPaused(t){!this.on||this.paused===t||(t&&this.stopTalking(),t&&this.marking&&this.mark(!1),this.paused=t,this.toFrame({type:"record",on:!t,mask:this.mask}),this.addEvent({type:"pause",label:t?"Paused the recording":"Carried on recording"}))}setMask(t){this.mask=t,this.on&&this.toFrame({type:"record",on:!this.paused,mask:t})}setMode(t){this.mode=t,t==="notes"&&this.hush()}close(){this.stopTalking(!0),this.marking&&this.mark(!1),this.hush(),this.toFrame({type:"record",on:!1}),this.on=!1,this.clock&&clearInterval(this.clock)}stopTalking(t=!1){this.locked&&(this.quietEnd=!0,this.locked=!1),this.talking&&this.release(t)}addEvent(t){const e={id:`e${++this.ev}`,t:this.t(),page:this.page,...t};return this.events.push(e),this.events[this.events.length-1]}receive(t){if(!this.peer||t.source!==this.peer||t.origin!==this.origin)return;const e=t.data;if(!(!e||e.__wh!==1)){if(e.type==="hello"){const s=this.on&&v(e.url)!==this.page;this.page=v(e.url),this.on&&(this.toFrame({type:"record",on:!this.paused,mask:this.mask}),s&&!this.paused&&this.addEvent({type:"nav",label:`Opened ${this.page}`}));return}if(e.type==="key")return this.frameKey(e);if(e.type==="marking"){this.marking=!!e.on;return}if(e.type==="picked"){this.picking=!1;const s=e.el??null;this.started||(this.started=Date.now()),this.picked=s?{el:s,shotId:this.shoot(s.selector,s.text)}:null;return}if(e.type==="mode"){this.sendAs=e.mode==="ask"?"ask":"note";return}if(e.type==="inline"){this.inline(e.el??null,e.said??"",e.mode==="ask"?"ask":"note");return}if(e.type==="text"){this.pageText={url:e.url??"",title:e.title??"",text:e.text??"",at:Date.now()};return}if(e.type==="shot"&&e.id){const s=this.shots[e.id];if(!s)return;this.shots={...this.shots,[e.id]:{...s,image:e.image??null,vw:e.vw??0,vh:e.vh??0,el:e.el??s.el,pending:!1}};return}if(!(!this.on||this.paused))switch(e.url&&(this.page=v(e.url)),e.type){case"click":{const s=this.addEvent({type:"click",label:`Clicked ${e.el?.label??"a spot on the page"}`,el:e.el??null});this.shootClicks&&Date.now()-this.lastShotAt>900&&(this.lastShotAt=Date.now(),setTimeout(()=>{s.shotId=this.shoot(e.el?.selector??null,e.el?.text??null,e.at?{...e.at,vw:e.vw??0}:null)},350));break}case"input":this.addEvent({type:"input",label:`Typed ${e.value?`“${e.value}”`:`${e.length??0} characters`} in ${e.el?.label??"a box"}`,el:e.el??null});break;case"choose":this.addEvent({type:"choose",label:`Set ${e.el?.label??"a choice"} to ${e.value}`,el:e.el??null});break;case"nav":this.addEvent({type:"nav",label:`Went to ${v(e.url)}`}),this.toFrame({type:"gettext"});break;case"scroll":{const s=this.events[this.events.length-1];s?.type==="scroll"&&this.t()-s.t<4e3?(s.label=`Scrolled to ${e.pct}%`,s.t=this.t()):this.addEvent({type:"scroll",label:`Scrolled to ${e.pct}%`});break}case"area":{if(!e.rect)break;const s={label:e.n?`marked area ${e.n}`:"the area you marked",text:"",tag:"area",selector:"",rect:e.rect},i=this.addEvent({type:"mark",label:`Marked ${s.label} on ${this.page}`,el:s});i.shotId=this.shoot(null,null,null,s);break}case"hover":this.hover=e.el?{...e.el,t:this.t()}:null;break;case"error":this.addEvent({type:"error",label:e.kind==="network"?`Request failed: ${e.message}`:`${e.kind==="console"?"Console error":"Error"}: ${e.message}`});break}}}shoot(t,e,s=null,i=null){const n=`s${++this.sh}`;return this.shots={...this.shots,[n]:{id:n,t:this.t(),image:null,vw:0,vh:0,el:i,point:s,pending:!0}},this.toFrame({type:"shoot",id:n,selector:t,text:e}),setTimeout(()=>{const r=this.shots[n];r?.pending&&(this.shots={...this.shots,[n]:{...r,pending:!1}})},8e3),n}outlined(t){const e=t?this.shots[t]:null;if(!e?.image)return Promise.resolve(null);const s=`${e.id}:${e.image.length}`,i=this.outlinedCache.get(s);if(i)return i;const n=new Promise(r=>{const o=new Image;o.onload=()=>{const p=document.createElement("canvas");p.width=o.width,p.height=o.height;const h=p.getContext("2d");if(!h)return r(e.image);h.drawImage(o,0,0);const d=o.width/(e.vw||o.width),g=e.el?.rect;if(g&&g.w>0){const f=6*d,[S,x,I,T]=[g.x*d-f,g.y*d-f,g.w*d+f*2,g.h*d+f*2];h.fillStyle="rgba(11,17,24,.38)",h.beginPath(),h.rect(0,0,p.width,p.height),h.roundRect(S,x,I,T,6*d),h.fill("evenodd"),h.strokeStyle="#e8b04a",h.lineWidth=Math.max(3,3*d),h.beginPath(),h.roundRect(S,x,I,T,6*d),h.stroke()}else if(e.point){const f=o.width/(e.point.vw||e.vw||o.width);h.strokeStyle="#e8b04a",h.lineWidth=Math.max(3,3*f),h.beginPath(),h.arc(e.point.x*f,e.point.y*f,16*f,0,Math.PI*2),h.stroke()}r(p.toDataURL("image/jpeg",.85))},o.onerror=()=>r(null),o.src=e.image});return this.outlinedCache.set(s,n),n}newHearing(){const t=this.hover&&this.t()-this.hover.t<2e4?{...this.hover}:null;return{t0:this.t(),t1:0,finals:"",interim:"",hover:t,shotId:this.shoot(t?.selector??null,t?.text??null),pointShot:null}}press(){!this.on||this.paused||this.talking||(this.talking=!0,this.pressAt=Date.now(),this.chord=!1,this.hush(),this.toFrame({type:"gettext"}),this.toFrame({type:"talking",on:!0}),this.cur=this.newHearing(),this.hearing={finals:"",interim:""},this.listen(this.cur))}pressHeld(){this.press(),this.pressAt=Date.now()-1e3}listen(t){const e=R();if(!e)return;const s=new e;s.lang=navigator.language||"en-GB",s.continuous=!0,s.interimResults=!0,this.rec=s;let i=t;s.onresult=n=>{let r="";for(let o=n.resultIndex;o<n.results.length;o++){const p=n.results[o];p.isFinal?(i.finals+=(i.finals?" ":"")+p[0].transcript.trim(),this.locked&&this.rec===s&&(i.interim="",i.t1=this.t(),this.finish(i),i=this.newHearing(),this.cur=i)):r+=p[0].transcript}i.interim=r,!i.pointShot&&this.hover&&/\b(this|here|that one|these)\b/i.test(`${i.finals} ${r}`)&&(i.hover={...this.hover},i.pointShot=this.shoot(this.hover.selector,this.hover.text)),this.talking&&this.cur===i&&(this.hearing={finals:i.finals,interim:i.interim})},s.onerror=n=>{n.error==="not-allowed"||n.error==="service-not-allowed"?this.notice="The microphone is blocked for this page. Type to the scribe instead.":n.error==="network"&&(this.notice="The browser’s speech service could not be reached. Type to the scribe instead.")},s.onend=()=>{if(this.talking&&this.locked&&this.rec===s){try{s.start()}catch{}return}this.rec===s&&(this.rec=null),this.finish(i)};try{s.start()}catch{this.notice="The browser would not start listening. Type to the scribe instead."}}release(t=!1){if(!this.talking||!this.cur)return;this.talking=!1,this.hearing=null,this.toFrame({type:"talking",on:!1});const e=this.rec,s=this.cur;this.rec=null,s.t1=this.t();const i=r=>{try{e?.[r]()}catch{}},n=Date.now()-this.pressAt;if(t||this.chord){s.dropped=!0,i("abort");return}if(!this.locked&&n<Y&&!s.finals&&!s.interim){s.dropped=!0,i("abort"),Date.now()-this.lastTap<X?(this.lastTap=0,this.setLocked(!0)):this.lastTap=Date.now();return}e?(i("stop"),setTimeout(()=>this.finish(s),2500)):this.finish(s)}setLocked(t){this.locked=t,t&&!this.talking?this.pressHeld():!t&&this.talking&&(this.quietEnd=!0,this.release())}keyDown(){if(this.on){if(this.locked)return this.setLocked(!1);this.pressHeld()}}keyUp(){this.on&&!this.locked&&this.release()}chorded(){this.talking&&!this.locked&&(this.chord=!0,this.release())}frameKey(t){t.key==="talk"?t.down?this.keyDown():this.keyUp():t.key==="chord"?this.chorded():t.key==="mark"?this.mark():t.key==="pick"&&this.pick(!this.picking)}finish(t){if(t.done||t.dropped)return;t.done=!0;const e=`${t.finals} ${t.interim}`.replace(/\s+/g," ").trim(),s=this.quietEnd;if(this.quietEnd=!1,!e){!s&&!this.locked&&(this.notice="Didn’t catch anything. Keep talking a little longer before you let go.");return}this.addRemark(e,t.t0,t.t1||this.t(),t.hover,t.pointShot??t.shotId)}mark(t=!this.marking){t&&(!this.on||this.paused)||(this.marking=t,this.toFrame({type:"mark",on:t}))}pick(t=!0){this.picking=t,this.toFrame({type:"pick",on:t})}comment(t){const e=t.trim();if(!e)return;this.started||(this.started=Date.now());const s=this.t(),i=this.picked,n={id:`u${++this.ut}`,t0:s,t1:s+600,text:e,page:this.page,anchor:null,pointing:i?.el??null,shotId:i?.shotId??this.shoot(null,null)};this.remarks.push(n),this.convo.push({who:"captain",text:e,t:s,uid:n.id}),this.picked=null,this.toFrame({type:"clear"}),this.on&&this.askNotes()}inline(t,e,s){const i=e.trim();if(!i||this.pack)return;if(s==="ask"&&this.paused){this.notice="Paused: carry on to ask the scribe.";return}const n=this.picked;this.started||(this.started=Date.now()),this.picked=t?{el:t,shotId:this.shoot(t.selector,t.text)}:null,s==="note"?this.comment(i):(this.on||this.start(),this.type(i)),this.picked=n}edit(t,e){const s=e.trim(),i=this.remarks.find(n=>n.id===t);if(!(!s||!i||this.pack||i.text===s)){i.text=s;for(const n of this.convo)n.uid===t&&n.who==="captain"&&(n.text=s);this.on&&this.askNotes()}}save(){const t=s=>JSON.stringify({v:1,on:this.on,paused:this.paused,started:this.started,mode:this.mode,speak:this.speak,mask:this.mask,shootClicks:this.shootClicks,page:this.page,events:this.events,remarks:this.remarks,notes:this.notes,convo:this.convo,shots:s?this.shots:Object.fromEntries(Object.entries(this.shots).map(([i,n])=>[i,{...n,image:null}])),pack:this.pack,picked:this.picked,approved:this.approved,counts:[this.ev,this.ut,this.sh]}),e=t(!0);return e.length<4e6?e:t(!1)}restore(t){let e=null;try{e=t?JSON.parse(t):null}catch{e=null}if(!e||e.v!==1)return;this.paused=!!e.paused,this.started=Number(e.started)||0,this.mode=e.mode==="notes"?"notes":"talk",this.speak=e.speak!==!1,this.mask=e.mask!==!1,this.shootClicks=e.shootClicks!==!1,this.page=typeof e.page=="string"?e.page:"/",this.events=e.events??[],this.remarks=e.remarks??[],this.notes=e.notes??[],this.convo=e.convo??[],this.shots=e.shots??{},this.pack=e.pack??null,this.pack&&(this.pack.sending=!1),this.picked=e.picked??null,this.approved=e.approved??null;const[s,i,n]=e.counts??[0,0,0];[this.ev,this.ut,this.sh]=[s||0,i||0,n||0],e.on&&(this.on=!0,this.now=Date.now(),this.clock=setInterval(()=>this.now=Date.now(),1e3))}type(t){const e=t.trim();if(!e||!this.on||this.paused)return;const s=this.t();this.toFrame({type:"gettext"});const i=this.hover;this.addRemark(e,s-1500,s,i,this.shoot(i?.selector??null,i?.text??null))}addRemark(t,e,s,i,n){const r=this.picked;this.picked=null;const o=r?{pointing:r.el}:G(this.events,t,e,s,i),p={id:`u${++this.ut}`,t0:e,t1:Math.max(s,e+600),text:t,page:this.page,anchor:"ev"in o?o.ev.id:null,pointing:"pointing"in o?o.pointing:null,shotId:r?r.shotId:"ev"in o&&o.ev.shotId?o.ev.shotId:n};this.remarks.push(p),this.convo.push({who:"captain",text:t,t:e,uid:p.id}),this.toFrame({type:"clear"}),this.heard="",this.askNotes(),this.mode==="talk"&&this.askReply(p)}about(t){const e=this.remarks.find(i=>t.utterances.includes(i.id)),s=this.events.find(i=>i.id===(t.anchor||e?.anchor));return{el:s?.el??e?.pointing??null,shotId:s?.shotId??e?.shotId??null,page:s?.page??e?.page??"",t:e?.t0??s?.t??0,clicked:!!s}}highlight(t){t&&this.toFrame({type:"highlight",selector:t})}async askNotes(){if(this.notesBusy){this.notesAgain=!0;return}this.notesBusy=!0,this.notesAgain=!1;const t=await this.call({action:"notes",timeline:$(this.events,this.remarks),notes:this.notes});if(this.notesBusy=!1,!!this.on){if(t.ok){const e=new Map(this.notes.map(s=>[s.id,s.text]));this.notes=t.value.notes,this.fresh=t.value.notes.filter(s=>e.get(s.id)!==s.text).map(s=>s.id),this.heard=t.value.heard}else this.notice=`The scribe could not take notes just then (${t.error}). It will try again with your next remark.`;this.notesAgain&&this.askNotes()}}async askReply(t){if(this.replyBusy){this.replyNext=t;return}this.replyBusy=!0;for(let i=0;i<6&&!(this.pageText&&Date.now()-this.pageText.at<15e3);i++)await new Promise(n=>setTimeout(n,100));const e=await this.call({action:"reply",said:t.text,page:this.pageText,timeline:$(this.events,this.remarks),notes:this.notes.map(i=>i.text),convo:this.convo.filter(i=>i.uid!==t.id||i.who==="scribe").map(({who:i,text:n})=>({who:i,text:n}))});if(this.replyBusy=!1,!this.on)return;const s=this.replyNext;if(this.replyNext=null,s)return void this.askReply(s);e.ok&&e.value.reply?(this.convo.push({who:"scribe",text:e.value.reply,t:this.t(),uid:t.id}),this.say(e.value.reply)):e.ok||this.convo.push({who:"scribe",text:`I couldn’t answer just then (${e.error}) but I noted what you said.`,t:this.t(),uid:t.id,error:!0})}say(t){this.scribeSays=t,this.stopVoice();const e=globalThis.speechSynthesis;if(!this.speak){setTimeout(()=>{this.scribeSays===t&&(this.scribeSays=null)},Math.max(4e3,t.split(" ").length*380));return}const s=this.sayGen,i=()=>{this.speaking=!1,setTimeout(()=>{!this.speaking&&this.scribeSays===t&&(this.scribeSays=null)},1200)},n=()=>{if(s!==this.sayGen)return;if(!e)return i();const r=new SpeechSynthesisUtterance(t),o=e.getVoices().filter(p=>/^en/i.test(p.lang));r.voice=o.find(p=>/Google UK English Female|Daniel|Serena|Kate|Samantha|Google US English/.test(p.name))??o[0]??null,r.rate=1.04,r.onstart=()=>this.speaking=!0,r.onend=r.onerror=i,e.speak(r)};this.voiced(t).then(r=>{if(s!==this.sayGen)return;if(!r)return n();const o=new Audio(URL.createObjectURL(r));this.player=o,o.onplaying=()=>this.speaking=!0,o.onended=()=>{URL.revokeObjectURL(o.src),this.player===o&&(this.player=null),i()},o.onerror=()=>{this.player===o&&(this.player=null),n()},o.play().catch(()=>{this.player===o&&(this.player=null),n()})})}async voiced(t){try{const e=await fetch("/api/voice/speak",{method:"POST",headers:{"content-type":"application/json",[b]:this.token},body:JSON.stringify({text:t.slice(0,1200),speed:1})});return e.status===200?await e.blob():null}catch{return null}}stopVoice(){this.sayGen++,this.player?.pause(),this.player=null,globalThis.speechSynthesis?.cancel()}hush(){this.stopVoice(),this.speaking=!1,this.scribeSays=null}async approve(t){if(this.approving||this.approved)return!1;this.approving=!0;const e=[...this.remarks.map(r=>r.text),t.trim()].filter(Boolean),s=await this.openQuestion();let i="message",n=null;if(s){i="answer";try{const r=await fetch("/api/inbox",{method:"POST",headers:{"content-type":"application/json","idempotency-key":`review-${crypto.randomUUID()}`,[b]:this.token},body:JSON.stringify({cardId:s.id,choice:"approve",note:e.length?`From the live review: ${e.join(" · ")}`:null})}),o=await r.json().catch(()=>null);r.ok?typeof o?.message=="object"&&o.message.delivery==="failed"&&(n=o.message.deliveryDetail??"Firstmate did not take the approval."):n=(typeof o?.message=="string"?o.message:null)??`Wheelhouse answered ${r.status}.`}catch{n="Could not reach the Wheelhouse server."}}else{const r=await E(z({id:this.taskId,title:this.title},this.previewUrl,e),this.token,this.taskId);r.ok||(n=r.error)}return this.approving=!1,n?(this.notice=`The approval did not go: ${n}`,!1):(this.approved={how:i,at:Date.now()},!0)}async openQuestion(){try{const t=await fetch("/api/inbox");if(!t.ok)return null;const e=await t.json();if(!e.canAnswer)return null;const s=e.cards.filter(i=>i.taskId===this.taskId&&!i.secondMate);return s.find(i=>i.kind==="merge")??s.find(i=>i.kind==="preview")??null}catch{return null}}point(t,e){const s=this.notes.find(r=>t.notes.includes(r.id)),i=s?this.about(s):null,n=this.events.find(r=>r.id===t.anchor);return{...t,key:`p${e}`,include:!0,el:n?.el??i?.el??null,shotId:n?.shotId??i?.shotId??null,page:n?.page??i?.page??"",t:i?.t??n?.t??0}}view(t,e,s){const i={must:0,should:1,could:2,none:3};return{summary:t.summary,points:t.issues.map((n,r)=>this.point(n,r)).sort((n,r)=>i[n.severity]-i[r.severity]),openQuestions:t.openQuestions,errors:[...new Set(this.events.filter(n=>n.type==="error").map(n=>`${m(n.t)} on ${n.page}: ${n.label}`))],duration:s,from:e,tidying:!1,better:null,tidyFailed:null,edited:!1,sending:!1,sent:null,error:null}}async end(){this.stopTalking(),this.marking&&this.mark(!1),this.hush(),this.paused=!0,this.toFrame({type:"record",on:!1});const t=this.t(),e=new Set(this.notes.flatMap(h=>h.utterances)),s=new Set(this.convo.filter(h=>h.who==="scribe"&&!h.error).map(h=>h.uid)),i=this.remarks.filter(h=>!e.has(h.id)&&!(s.has(h.id)&&K(h.text))).map((h,d)=>Q(`q${d+1}`,h,(h.anchor?this.events.find(g=>g.id===h.anchor)?.el?.label:h.pointing?.label)??null)),n=[...this.notes,...i];this.notes=n;const r=this.view(V(n,{title:this.title,duration:t}),"notes",t);if(r.tidying=this.remarks.length>0,this.pack=r,!r.tidying)return;const o=await this.call({action:"pack",timeline:$(this.events,this.remarks),notes:n}),p=this.pack;!p||p.sent||p.sending||(p.tidying=!1,o.ok&&o.value.issues?.length?p.edited?p.better=o.value:this.pack=this.view(o.value,"scribe",t):p.tidyFailed=o.ok?"no points":o.error)}useBetter(){this.pack?.better&&(this.pack=this.view(this.pack.better,"scribe",this.pack.duration))}resume(){this.pack=null,this.setPaused(!1)}stats(){return{remarks:this.remarks.length,clicks:this.events.filter(t=>t.type==="click").length,pages:new Set(this.events.map(t=>t.page).filter(Boolean)).size,shots:Object.values(this.shots).filter(t=>t.image).length}}message(t){const e=this.pack;if(!e)return"";const s=this.stats();return J({id:this.taskId,title:this.title},this.previewUrl,{duration:e.duration,...s},{summary:e.summary,lines:e.points.filter(i=>i.include).map(i=>({severity:i.severity,title:i.title,detail:i.detail,where:i.el?`${i.el.label}${i.page?` on ${i.page}`:""}`:i.page?`the page ${i.page}`:null,quote:i.quote,at:m(i.t),shot:i.shotId?t?t.shots[i.shotId]??null:`(screenshot ${i.shotId})`:null})),errors:e.errors,openQuestions:e.openQuestions},t?.session??null)}async send(){const t=this.pack;if(!t||t.sending||t.sent)return!1;t.sending=!0,t.error=null;const e={};for(const n of t.points.filter(r=>r.include&&r.shotId)){const r=await this.outlined(n.shotId);r&&(e[n.shotId]=r)}const s=await this.call({action:"save",session:{task:{id:this.taskId,title:this.title},preview:this.previewUrl,startedAt:new Date(this.started).toISOString(),events:this.events,remarks:this.remarks,notes:this.notes,conversation:this.convo.map(({who:n,text:r,t:o})=>({who:n,text:r,at:m(o)}))},shots:e});if(!s.ok)return t.sending=!1,t.error=s.error,!1;const i=await E(this.message(s.value),this.token,this.taskId);return t.sending=!1,i.ok?(t.sent={dir:s.value.dir},!0):(t.error=i.error,!1)}}export{ht as C,dt as L,lt as M,ct as S,at as a,pt as b,ut as l,m,w as p};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{t as m,a as d,c as u,p as I,f as J,i as e,s as $,b as K,j as v,o as W,h as F,r as x,x as ae}from"./Jk-ASPRO.js";import{s as M}from"./DTApYZoW.js";import{i as _}from"./BEVJas-l.js";import{s as b,e as Y,a as y,j as q}from"./DNP6oCAK.js";import{t as re}from"./DE0e4nJ8.js";import{p as N}from"./DQWg__9S.js";import{l as oe}from"./DdUjyp9q.js";import{p as se}from"./D-jtpdBG.js";import{t as ne,d as ie,a as de}from"./DrX7Uhja.js";import{S as le}from"./voMZUjSQ.js";var ue=u('<span aria-hidden="true"></span>');function pe(p,s){let n=N(s,"class",3,"");var a=ue();m(()=>b(a,1,`pointer-events-none absolute inset-0 rounded-full opacity-40 motion-safe:animate-ping ${n()??""}`)),d(p,a)}var ce=u('<p class="mb-1.5 text-xs font-medium text-muted-foreground" data-run-label=""> </p>'),G=u("<span></span>"),me=u("<span><!></span>"),fe=u('<span class="relative z-10 mt-[2px] size-2 rounded-full border border-dashed border-muted-foreground/50 bg-card"></span>'),ve=u('<li class="relative flex min-w-0 flex-col items-center"><!> <!> <span> </span></li>'),ge=u('<ol class="grid"></ol>'),he=u('<li class="min-w-0"><div></div> <p> </p></li>'),be=u('<ol class="grid gap-2"></ol>'),xe=u("<!> <!>",1);function Ee(p,s){I(s,!0);let n=N(s,"size",3,"card");const a=v(()=>s.task.passage),k=v(()=>oe(s.task)),z=v(()=>de(s.task)),j=v(()=>`${e(k)?`Run ${e(k).n}, `:""}Step ${e(a).current+1} of ${e(a).steps.length}: ${e(a).steps[e(a).current]?.label??""}${e(a).steps[e(a).current]?.failed?", failed":""}${s.task.busy?", in progress":""}`),w=r=>r?"bg-danger":ie[e(z)],R=r=>r?"text-danger":ne[e(z)];var f=xe(),S=J(f);{var C=r=>{var o=ce(),c=W(o);m(()=>M(c,`Run ${e(k).n??""}`)),d(r,o)};_(S,r=>{e(k)&&r(C)})}var E=$(S,2);{var A=r=>{var o=ge();Y(o,23,()=>e(a).steps,c=>c.key,(c,t,g)=>{var h=ve(),T=F(h);{var H=i=>{var l=G();m(()=>b(l,1,`absolute top-[5px] right-1/2 left-[-50%] ${e(g)<=e(a).current?"h-0.5 bg-foreground/50":"h-0 border-t border-dotted border-input"}`)),d(i,l)};_(T,i=>{e(g)>0&&i(H)})}var L=$(T,2);{var Q=i=>{var l=me(),Z=F(l);{var ee=B=>{{let te=v(()=>w(e(t).failed));pe(B,{get class(){return e(te)}})}};_(Z,B=>{s.task.busy&&B(ee)})}x(l),m(B=>b(l,1,`relative z-10 size-3 rounded-full ring-[3px] ring-card ${B??""}`),[()=>w(e(t).failed)]),re(1,l,()=>se),d(i,l)},U=i=>{var l=fe();d(i,l)},V=i=>{var l=G();m(()=>b(l,1,`relative z-10 mt-[2px] size-2 rounded-full ${e(t).state==="done"?"bg-foreground/50":"border border-border bg-card"}`)),d(i,l)};_(L,i=>{e(t).state==="current"?i(Q):e(t).state==="skipped"?i(U,1):i(V,-1)})}var O=$(L,2),X=W(O,!0);x(h),m(i=>{y(h,"title",e(t).note??void 0),b(O,1,`mt-1.5 max-w-full truncate text-xs leading-none ${i??""}`),M(X,e(t).short)},[()=>e(t).state==="current"?`font-semibold ${R(e(t).failed)}`:e(t).state==="done"?"text-muted-foreground":e(t).state==="skipped"?"text-muted-foreground italic line-through":"text-muted-foreground italic"]),d(c,h)}),x(o),m(()=>{q(o,`grid-template-columns: repeat(${e(a).steps.length??""}, minmax(0, 1fr))`),y(o,"aria-label",e(j))}),d(r,o)},D=r=>{var o=be();Y(o,21,()=>e(a).steps,c=>c.key,(c,t)=>{var g=he(),h=F(g),T=$(h,2),H=W(T);x(g),m(L=>{y(g,"title",e(t).note??void 0),b(h,1,`h-1.5 rounded-full transition-colors duration-500 ${L??""}`),b(T,1,`mt-2 truncate text-xs leading-tight ${e(t).state==="current"?`font-medium ${e(t).failed?"text-danger":"text-foreground"}`:e(t).state==="done"?"text-muted-foreground":"text-muted-foreground italic"} ${e(t).state==="skipped"?"line-through":""}`),M(H,`${e(t).label??""}${e(t).failed?" failed":""}`)},[()=>e(t).state==="done"?"bg-foreground/60":e(t).state==="current"?w(e(t).failed):e(t).state==="skipped"?"border border-dashed border-border":"bg-border"]),d(c,g)}),x(o),m(()=>{q(o,`grid-template-columns: repeat(${e(a).steps.length??""}, minmax(0, 1fr))`),y(o,"aria-label",e(j))}),d(r,o)};_(E,r=>{n()==="card"?r(A):r(D,-1)})}d(p,f),K()}const _e=/^fy-([a-z0-9][a-z0-9-]{0,62})$/;function P(p){return p&&_e.exec(p)?.[1]||null}function Le(p){const s=P(p);return s?`via Fleetyard · ${s}`:`on ${p??"another host"}`}globalThis.process?.platform;var ke=u('<span class="font-normal opacity-70" data-second-mate-host=""> </span>'),$e=u('<span class="inline-flex max-w-full min-w-0 items-center gap-1 rounded-sm bg-brass/10 px-1.5 text-xs leading-[1.15rem] font-medium text-brass"><!><span class="truncate"> <!></span></span>');function We(p,s){I(s,!0);const n=v(()=>s.task.secondMate??null),a=v(()=>P(e(n)?.host)),k=v(()=>e(a)?`${e(a)}, through Fleetyard`:e(n)?.host??"another host");var z=ae(),j=J(z);{var w=R=>{var f=$e(),S=F(f);le(S,{class:"size-3 shrink-0","aria-hidden":"true"});var C=$(S),E=F(C,!0),A=$(E);{var D=r=>{var o=ke(),c=W(o,!0);m(()=>M(c,` · ${e(a)??e(n).host}`)),d(r,o)};_(A,r=>{e(n).where==="remote"&&e(n).host&&r(D)})}x(C),x(f),m(()=>{y(f,"title",e(n).where==="remote"?`Runs on second mate ${e(n).id}, on ${e(k)}`:`Runs on second mate ${e(n).id}, on this computer`),y(f,"data-second-mate-task",e(n).id),M(E,e(n).id)}),d(R,f)};_(j,R=>{e(n)&&R(w)})}d(p,z),K()}export{pe as B,Ee as S,We as W,Le as p};
|
|
Binary file
|
|
Binary file
|