@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
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import"./DsnmJJEf.js";import{s as I,r as L}from"./DQWg__9S.js";import{I as D}from"./DE0e4nJ8.js";import{d,e as y,i as u,k as f}from"./Jk-ASPRO.js";import{S as x}from"./BXN538J3.js";import{d as O}from"./DuiYw-2t.js";import{B as w}from"./C5MY6dNP.js";var E=new Set(["$$slots","$$events","$$legacy"]);function ot(a,t){let e=L(t,E);const s={name:"link-2",size:24,node:[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12"}]]};D(a,I(()=>e,{get icon(){return s}}))}class R{#t=d(y({}));get byCard(){return u(this.#t)}set byCard(t){f(this.#t,t,!0)}put(t,e){const s=this.byCard[t],i={...s?.picks,...e.picks},n={...s?.words,...e.words};for(const o of Object.keys(e.words))delete i[o];for(const o of Object.keys(e.picks))delete n[o];this.byCard={...this.byCard,[t]:{picks:i,words:n,answer:e.answer??s?.answer??null,at:Date.now()}}}clear(t){const{[t]:e,...s}=this.byCard;this.byCard=s}}const N=new R;function $(a){const t=[];let e=0;for(;e<a.length;){const i=a.indexOf("```",e);if(i<0){t.push({type:"prose",text:a.slice(e)});break}i>e&&t.push({type:"prose",text:a.slice(e,i)});const n=a.indexOf(`
|
|
2
|
+
`,i+3);if(n<0){t.push({type:"block",lang:a.slice(i+3).trim().toLowerCase(),body:"",closed:!1});break}const o=a.slice(i+3,n).trim().toLowerCase(),r=a.indexOf("```",n+1);if(r<0){t.push({type:"block",lang:o,body:a.slice(n+1),closed:!1});break}t.push({type:"block",lang:o,body:a.slice(n+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 P(a){const t=[];for(const e of $(a))if(e.type==="prose")t.push(e.text);else if(!e.closed)break;return t.join(" ")}function U(a,t,e){const s=[];let i=a.slice(t),n=t,o;const r=/^([\s\S]*?[.!?…:])(["')\]]*)(\s+)(?=\S)/;for(;o=r.exec(i);)s.push(o[0]),n+=o[0].length,i=i.slice(o[0].length);return e&&i.trim()&&(s.push(i),n+=i.length),{sentences:s,to:n}}function A(a){return a.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 T=a=>a.toLowerCase().replace(/[^a-z0-9' ]+/g," ").split(/\s+/).filter(Boolean);function F(a,t){const e=` ${T(t).join(" ")} `;if(!e.trim())return!1;const s=T(a);return s.length?s.filter(i=>e.includes(` ${i} `)).length/s.length>=.6:!0}const W=a=>{try{return JSON.parse(a)}catch{try{return JSON.parse(a.replace(/,\s*([}\]])/g,"$1"))}catch{return null}}},l=(a,t=300)=>typeof a=="string"&&a.trim()?a.trim().slice(0,t):null,k=a=>{const t=l(a,2e3);return t&&/^https?:\/\//.test(t)?t:null};function H(a){const t=/%%\s*title:\s*(.+)/i.exec(a)??/^\s*title[:\s]+(.+)$/im.exec(a);if(t)return t[1].trim().slice(0,80);const e=a.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 B(a,t){const e=n=>({kind:"invalid",lang:a,reason:n,body:t});if(a==="mermaid")return t.trim()?{kind:"diagram",code:t.trim(),title:H(t)}:e("The diagram is empty.");const s=W(t),i=n=>n&&typeof n=="object"&&!Array.isArray(n)?n:null;if(a==="chart"){const n=i(s),o=Array.isArray(n?.labels)?n.labels.map(c=>String(c).slice(0,60)):null,r=Array.isArray(n?.series)?n.series.map(i).filter(c=>!!c&&Array.isArray(c.data)).map(c=>({name:l(c.name,60)??"",data:c.data.map(p=>typeof p=="number"&&Number.isFinite(p)?p:0)})):[];return!n||!o?.length||!r.length?e("The chart data could not be read."):{kind:"chart",spec:{type:n.type==="line"||n.type==="doughnut"?n.type:"bar",title:l(n.title,80)??"Chart",labels:o,series:r.slice(0,6),unit:l(n.unit,20)}}}if(a==="card"){const n=(Array.isArray(s)?s:[s]).map(i).filter(Boolean),o=[];for(const r of n.slice(0,6))l(r.task,160)?o.push({kind:"task",task:l(r.task,160)}):k(r.pr)?o.push({kind:"pr",url:k(r.pr),title:l(r.title,160)}):k(r.link??r.url)&&o.push({kind:"link",url:k(r.link??r.url),title:l(r.title,160),note:l(r.note)});return o.length?{kind:"cards",cards:o}:e("The card could not be read.")}if(a==="image"){const n=i(s),o=l(n?.prompt,2e3)??(n?null:l(t,2e3));return o?{kind:"picture",title:l(n?.title,80)??"Picture",prompt:o}:e("Nothing to draw.")}if(a==="firstmate"){const n=l(i(s)?.note,600)??l(t,600);return n?{kind:"passon",note:n}:e("Nothing to pass on.")}if(a==="decision"){const n=i(s),o=l(n?.decision,200),r=(b,C)=>Object.fromEntries(Object.entries(i(b)??{}).slice(0,30).map(([v,M])=>[v.slice(0,40),l(M,C)]).filter(v=>!!v[1])),h=r(n?.picks,40),c=r(n?.words,300),p=l(n?.answer,300);return o?Object.keys(h).length||Object.keys(c).length||p?{kind:"decision",decision:o,picks:h,words:c,answer:p}:e("Nothing decided."):e("No decision named.")}if(a==="scout"){const n=i(s),o=l(n?.question,1200)??(n?null:l(t,1200));return o?{kind:"scout",question:o,asked:n?.asked===!0}:e("No question for the scout.")}return e(`Unknown block: ${a}`)}const _=a=>`live-scout-${a}`,z=a=>`Live scout ref: ${a}`;function G(a){return[`Scout request from a Live mode discussion in Wheelhouse${a.session?` (session ${a.session.slice(0,8)})`:""}.`,"","Please dispatch a scout on this question:","",...a.question.trim().split(`
|
|
4
|
+
`).map(t=>`> ${t}`),"",`Give it the task id \`${_(a.ref)}\` if you can, and keep the line "${z(a.ref)}" in its brief, so Wheelhouse can bring the report back into the conversation while it is still going.`].join(`
|
|
5
|
+
`)}const q=(a,t)=>a.length>t?`${a.slice(0,t-1).replace(/\s+\S*$/,"")}…`:a;function J(a){return`(Wheelhouse, not the captain: the scout report is in for "${q(a.question,200)}", from task ${a.task}. Tell the captain the gist in a sentence or two, then carry on the discussion with it. The report:)
|
|
6
|
+
|
|
7
|
+
${q(a.report.trim(),a.max??6e3)}`}const S=["pending","failed"],V=15e3,K=180*6e4,Y=a=>`Hand-off from a Live mode discussion in Wheelhouse (passed on by the discussion crew):
|
|
8
|
+
|
|
9
|
+
${a}`,j="wheelhouse.live.prefs",m=()=>new Date().toISOString(),g=()=>Math.random().toString(36).slice(2,10);function Q(){const a={input:"ptt",headphones:!1,speed:1};try{const t=JSON.parse(localStorage.getItem(j)??"{}");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 a}}class X{#t=d("off");get state(){return u(this.#t)}set state(t){f(this.#t,t,!0)}#e=d(y([]));get entries(){return u(this.#e)}set entries(t){f(this.#e,t,!0)}#s=d(y({settled:"",forming:""}));get heard(){return u(this.#s)}set heard(t){f(this.#s,t,!0)}#i=d(y({input:"ptt",headphones:!1,speed:1}));get prefs(){return u(this.#i)}set prefs(t){f(this.#i,t,!0)}#n=d(null);get voice(){return u(this.#n)}set voice(t){f(this.#n,t,!0)}#r=d(0);get startedAt(){return u(this.#r)}set startedAt(t){f(this.#r,t,!0)}#o=d(0);get endedAt(){return u(this.#o)}set endedAt(t){f(this.#o,t,!0)}#a=d("");get model(){return u(this.#a)}set model(t){f(this.#a,t,!0)}#h=d("");get context(){return u(this.#h)}set context(t){f(this.#h,t,!0)}#c=d(null);get problem(){return u(this.#c)}set problem(t){f(this.#c,t,!0)}#l=d(!1);get pressing(){return u(this.#l)}set pressing(t){f(this.#l,t,!0)}#d=d(!1);get choosingEnd(){return u(this.#d)}set choosingEnd(t){f(this.#d,t,!0)}#u=d(!0);get briefing(){return u(this.#u)}set briefing(t){f(this.#u,t,!0)}#f=d(y([]));get handoffs(){return u(this.#f)}set handoffs(t){f(this.#f,t,!0)}#p=d(y([]));get scouts(){return u(this.#p)}set scouts(t){f(this.#p,t,!0)}#m=d(y({attached:[],listed:[]}));get docs(){return u(this.#m)}set docs(t){f(this.#m,t,!0)}#g=d("hold");get handoffMode(){return u(this.#g)}set handoffMode(t){f(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=i=>{if(!i)return 0;const n=new Float32Array(i.fftSize);i.getFloatTimeDomainData(n);let o=0;for(const r of n)o+=r*r;return Math.min(1,Math.max(0,(20*Math.log10(Math.sqrt(o/n.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,e=null){if(this.on){e&&this.type(`Let's talk through the decision "${e.title}" (decision id ${e.decision}).`);return}if(this.token=t,this.prefs=Q(),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 h=new SpeechSynthesisUtterance(" ");h.volume=0,speechSynthesis.speak(h)}await this.openMicrophone(),this.voice=await fetch("/api/voice").then(h=>h.ok?h.json():null).catch(()=>null);const s=await this.post("/api/live",e?{decision:e.decision}:{}),i=await s?.json().catch(()=>null);if(!s?.ok||!i?.id){this.problem=i?.message??"The discussion crew could not start.",this.note(this.problem),this.close();return}this.id=i.id,this.model=i.model??"",this.context=i.context??"",this.handoffMode=i.handoffs==="direct"?"direct":"hold",this.startedAt=Date.now(),this.events=new EventSource(`/api/live/${i.id}/events`),this.events.onmessage=h=>this.onEvent(JSON.parse(h.data)),this.state=this.idle(),this.applyInput();const n=i.knows??{live:0,decisions:0},o=this.crew(),r=this.prefs.input==="ptt"?matchMedia("(pointer: coarse)").matches?"Hold the talk button and":"Hold space and":"";o.text=e?`I've read “${e.title}” and what it rests on. ${r?`${r} tell me where you'd like to start`:"Where would you like to start"}, or I can take you through the calls that matter most.`:`I'm here and I've read the fleet: ${n.live} under way, ${n.decisions} decision${n.decisions===1?"":"s"} waiting on you. ${r?`${r} tell me what's on your mind.`:"What's on your mind?"}`,o.streaming=!1,this.active=o,this.feedSpeech(o,!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:g(),at:m(),briefing:t};this.entries.push(s);const i=this.handoffs.filter(h=>S.includes(h.state)),n=h=>this.handoffs.filter(c=>h.includes(c.state)).map(c=>c.note),o=await this.post(`/api/live/${e}/end`,{brief:t,handoffs:{pending:i.map(h=>h.note),sent:n(["sent","sending"]),deleted:n(["deleted"])},scouts:this.scouts.filter(h=>!["offered","declined","failed"].includes(h.state)).map(h=>h.question)});for(const h of i)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:g(),at:m(),sent:!1,...r,handoffs:t?i.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(j,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}),i=await s?.json().catch(()=>null);if(!s?.ok||!i?.text)return"Those documents could not be read.";const n=i.attached??[],o=i.listed??[],r=(c,p)=>[...c,...p.filter(b=>!c.includes(b))];this.docs={attached:r(this.docs.attached,n),listed:r(this.docs.listed,o)};const h=[n.length?`attached in full: ${n.join(", ")}`:"",o.length?`listed by title: ${o.join(", ")}`:"",i.cut?.length?`too long to attach, so listed: ${i.cut.join(", ")}`:""].filter(Boolean);return this.note(`Documents for the crew, ${h.join("; ")}.`),this.send(i.text,"typed",!0),null}fix(t,e){const s=e.trim();if(!s||s===t.text)return;const i=t.text;t.text=s,t.how="fixed",this.send(`(Correction: speech recognition got my last words wrong. I said "${s}", not "${i}". 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=>S.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?.(Y(e.note))??!1;e.state=s?"sent":"failed"}deleteHandoff(t){const e=this.handoff(t);e&&S.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=g();this.entries.push({kind:"scout",id:s,at:m(),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 i=Array.from(crypto.getRandomValues(new Uint8Array(3)),o=>o.toString(16).padStart(2,"0")).join("");this.scouts.push({key:t,ref:i,question:e,asked:s,state:s?"sending":"offered",sentAt:0,task:null,title:null,statusLabel:null,summary:null,report:null,told:!1});const n=this.scouts[this.scouts.length-1];return s&&this.requestScout(n),n}async requestScout(t){t.state="sending",t.sentAt=Date.now();const e=await this.toFirstmate?.(G({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<K,s=r=>!!this.id&&r.state==="reported"&&!r.told,i=this.scouts.filter(e),n=i.map(r=>`scout=${r.ref}:${r.sentAt}`).join("&"),o=await(i.length?fetch(`/api/live/scouts?${n}`):Promise.reject()).then(r=>r.ok?r.json():null).catch(()=>null);for(const r of i){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:g(),at:m(),scout:r.key,report:!0})):r.state="running")}this.tellReports(),this.scouts.some(r=>e(r)||s(r))&&(this.scoutTimer=setTimeout(()=>{t()},i.length?V: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(J({question:t.question,task:t.task,report:t.report}),"typed",!0))}decided=new Set;takeUp(t,e,s){const i=`${t.id}:${e}`;if(s.kind==="decision"&&!this.decided.has(i)){this.decided.add(i),N.put(s.decision,s);return}if(s.kind==="passon"&&!this.handoff(i)){const n=this.handoffMode==="direct";this.handoffs.push({key:i,note:s.note,state:"pending",direct:n}),n&&this.sendHandoff(i)}else s.kind==="scout"&&!this.scout(i)&&this.addScout(i,s.question,s.asked)}crew(){const t={kind:"crew",id:g(),at:m(),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:g(),at:m(),text:t})}async send(t,e,s=!1){if(!this.id)return;this.active&&this.bargeIn(),s||this.entries.push({kind:"captain",id:g(),at:m(),text:t,how:e,pending:!1});const i=this.crew();this.active=i,this.state="thinking";const o=await(await this.post(`/api/live/${this.id}/say`,{text:t}))?.json().catch(()=>null);if(this.active!==i)return;if(!o?.turn){i.streaming=!1,i.text="The crew did not answer. Try again, or end the discussion.",this.state=this.idle();return}i.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(i=>i.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=$(t.text).filter(s=>s.type==="block"&&s.closed);for(let s=t.visuals.length;s<e.length;s++){const i=e[s],n=B(i.lang,i.body);t.visuals.push(n),this.takeUp(t,s,n)}}feedSpeech(t,e){const s=P(t.text),i=$(t.text).some(r=>r.type==="block"),{sentences:n,to:o}=U(s,t.queued,e||i);t.queued=o;for(const r of n)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??w}speak(t,e){const s=A(t);if(!s){e&&(e.spoken+=t.length);return}const i={text:t,reply:e,audio:null};this.provider()!==w&&(i.audio=this.fetchAudio(s)),this.queue.push(i),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()))},i=()=>{if(e!==this.gen)return;if(typeof speechSynthesis>"u")return s();const n=new SpeechSynthesisUtterance(A(t.text)),o=speechSynthesis.getVoices().filter(h=>h.lang.startsWith("en"));n.voice=["Google UK English Male","Daniel","Google UK English Female","Serena","Samantha"].map(h=>o.find(c=>c.name.includes(h))).find(Boolean)??null,n.rate=this.prefs.speed*1.05,n.onstart=()=>{e===this.gen&&(this.state="speaking")},n.onboundary=()=>this.pulse=.45+Math.random()*.35;const r=setTimeout(s,4e3+t.text.length*110);n.onend=n.onerror=()=>{clearTimeout(r),s()},speechSynthesis.speak(n)};if(!t.audio)return i();t.audio.then(n=>{if(e!==this.gen)return;if(!n)return i();const o=new Audio(URL.createObjectURL(n));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=()=>i(),o.play().catch(()=>i())})}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??w)!==w}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=O();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(),i=`${s} ${e}`.trim();if(!i||!this.on)return;if(this.prefs.input==="ptt"){this.pressing&&(this.heard={settled:s,forming:e});return}if(this.state==="muted")return;const n=`${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&&F(i,n)){this.consumed=t.length;return}if(this.state==="speaking"||!!this.current){if(i.split(/\s+/).length<2&&!s)return;this.bargeIn()}else this.state==="thinking"&&i.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 i=this.recorder,n=Math.max(0,(s-i.t0)/1e3-1.6);this.recorder=null;const o=this.stopRecorder(i);this.record();const r=await this.transcribe(await o,n,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,i=this.session;this.session=null,i?.stop(),await new Promise(o=>setTimeout(o,450));const n=`${this.heard.settled} ${this.heard.forming}`.trim();if(this.heard={settled:"",forming:""},t<300||!n&&!s){this.state=this.idle();return}if(s){const o=await this.transcribe(await s,0,n||"…");if(o||n)return this.send(o??n,o?"provider":"voice");this.state=this.idle();return}if(n)return this.send(n,"voice");this.state=this.idle()}record(){if(!this.stream||typeof MediaRecorder>"u")return;const t=["audio/webm;codecs=opus","audio/webm","audio/mp4"].find(i=>MediaRecorder.isTypeSupported(i)),e=new MediaRecorder(this.stream,t?{mimeType:t}:void 0),s={mr:e,chunks:[],t0:performance.now()};e.ondataavailable=i=>{i.data.size&&s.chunks.push(i.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 i={kind:"captain",id:g(),at:m(),text:s,how:"voice",pending:!0};this.entries.push(i),this.state="transcribing";try{return(await(await fetch(`/api/voice/hear?from=${e.toFixed(2)}`,{method:"POST",headers:{"content-type":t.type,[x]:this.token},body:t})).json().catch(()=>null))?.text?.trim()||null}catch{return null}finally{this.entries=this.entries.filter(n=>n.id!==i.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",[x]:this.token},body:JSON.stringify(e)})}catch{return null}}}const at=new X;export{ot as L,N as d,at as l,$ as p};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import"./DsnmJJEf.js";import{s as ct,r as mt,p as Me}from"./DQWg__9S.js";import{I as ut}from"./DE0e4nJ8.js";import{i as Kt}from"./CosKnXYm.js";import{p as Ye,d as ge,e as St,h as i,s as a,r as o,t as f,i as e,k as F,a as n,n as we,b as qe,j as S,c as s,q as Ze,o as q,f as ve,l as at,x as Je,m as Ht}from"./Jk-ASPRO.js";import{d as Ge,s as D,a as re,e as lt}from"./DTApYZoW.js";import{i as v}from"./BEVJas-l.js";import{e as Se,r as Be,a as O,g as He,f as dt,s as me,c as Xe,i as Qt}from"./DNP6oCAK.js";import{b as Qe}from"./CNxxt--f.js";import{D as wt,N as xt,w as yt,W as zt,u as Vt,x as Zt,y as Jt,z as $t,A as ea,r as ta}from"./Dc0ohDnQ.js";import{X as bt}from"./m8-RluHE.js";import{C as aa}from"./BbEKXuJh.js";import{C as ra}from"./C_BRvYKD.js";import{P as rt}from"./fzA2mGC3.js";import{C as nt}from"./c9k4nDgn.js";import{L as ot}from"./DFaX1kYU.js";import{C as na}from"./BPBomwti.js";import{G as oa}from"./MgFVe5-f.js";import{F as Lt}from"./CGgXi5F1.js";import{c as Dt}from"./Cq7OFmxz.js";import{L as sa}from"./DZZuZ7Nl.js";import{p as st,u as Mt,L as it,M as Tt}from"./C97qdOZ6.js";import{d as ia,P as da}from"./DWtL99pU.js";import{M as At,b as la}from"./Bw9VDV5E.js";import{L as ca}from"./B65GEZdd.js";import{E as ht}from"./gEZHG5dd.js";import{h as ma,m as ua}from"./CGnI1F6D.js";import{b as va}from"./DLfKkHEy.js";import{D as pa,d as fa}from"./DMIaeBcI.js";import{L as xa}from"./B6qh5sP6.js";import{D as ha}from"./Um44Ka4n.js";var ga=new Set(["$$slots","$$events","$$legacy"]);function An(x,t){let u=mt(t,ga);const r={name:"audio-lines",size:24,node:[["path",{d:"M2 10v3"}],["path",{d:"M6 6v11"}],["path",{d:"M10 3v18"}],["path",{d:"M14 8v7"}],["path",{d:"M18 5v13"}],["path",{d:"M22 10v3"}]]};ut(x,ct(()=>u,{get icon(){return r}}))}var ba=new Set(["$$slots","$$events","$$legacy"]);function _a(x,t){let u=mt(t,ba);const r={name:"file-code",size:24,node:[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5"}],["path",{d:"M10 12.5 8 15l2 2.5"}],["path",{d:"m14 12.5 2 2.5-2 2.5"}]]};ut(x,ct(()=>u,{get icon(){return r}}))}var ka=new Set(["$$slots","$$events","$$legacy"]);function wa(x,t){let u=mt(t,ka);const r={name:"list-checks",size:24,node:[["path",{d:"M13 5h8"}],["path",{d:"M13 12h8"}],["path",{d:"M13 19h8"}],["path",{d:"m3 17 2 2 4-4"}],["path",{d:"m3 7 2 2 4-4"}]]};ut(x,ct(()=>u,{get icon(){return r}}))}var ya=new Set(["$$slots","$$events","$$legacy"]);function In(x,t){let u=mt(t,ya);const r={name:"undo-2",size:24,node:[["path",{d:"M9 14 4 9l5-5"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11"}]]};ut(x,ct(()=>u,{get icon(){return r}}))}const Cn=(x,t,u,r)=>Kt.answer(x,t.choice,u,r,t.picks,t.decided,t.partial),za=28,Ve=300,gt=(x,t={})=>({choice:x,picks:null,decided:null,...t}),Da={merge:[{label:"Merge",choice:"approve"},{label:"Not yet",choice:"skip"}],preview:[{label:"Sign it off",choice:"approve"},{label:"Request changes",choice:"fix"}],hold:[{label:"Go ahead",choice:"approve"},{label:"Not like this",choice:"fix"}],decision:[{label:"Go ahead",choice:"approve"},{label:"Change course",choice:"fix"}],blocked:[{label:"Go ahead",choice:"approve"},{label:"Try another way",choice:"fix"}],review:[{label:"Keep it as is",choice:"approve"},{label:"Fix it",choice:"fix"},{label:"Leave it for later",choice:"skip"}]},Ma=/^(?:which|what|how|where|who|when|why)\b/i;function Ta(x){const t=(x??"").match(/[^.?!]*\?/g),u=t?.[t.length-1]?.trim();return!!u&&Ma.test(u)}function On(x){const t=x.choices;if(t){const[_]=t.calls;return t.calls.length===1&&_.options.length?{kind:"choice",prompt:_.prompt,from:"card",options:_.options.map(p=>({id:p.id,label:p.label,detail:p.detail,recommended:p.recommended,answer:gt("approve",{picks:{[_.id]:p.id}})}))}:{kind:"picks",prompt:null,choices:t,from:"card"}}if((x.kind==="hold"||x.kind==="decision")&&Ta(x.question))return{kind:"text",prompt:null,from:"card"};const u=x.recommendation?.choice??(x.kind==="merge"?"approve":null),r=Da[x.kind],c=r.map(_=>({id:_.choice,label:_.label,detail:null,recommended:_.choice===u,answer:gt(_.choice)}));return{kind:r.length===2?"buttons":"choice",prompt:null,options:c,from:"card"}}const _t=/```decision-form[^\n]*\n([\s\S]*?)(?:```|$)/g,It=/\s*\((?:recommended|rec)\)\s*/i,Aa=/^\(written(?: answer)?\)$/i,Ct=x=>x.replace(/\s+/g," ").trim();function Sn(x){const t=[...x.matchAll(_t)],u=t[t.length-1]?.[1];if(u===void 0)return null;let r=null,c=!1;const _=[];for(const W of u.split(`
|
|
2
|
+
`)){const L=W.trim();if(!L)continue;const M=/^[-*•]\s+(.*)$/.exec(L)?.[1];if(M===void 0){r??=Ct(L);continue}if(Aa.test(M.trim())){c=!0;continue}const ne=It.test(M),b=Ct(M.replace(It," ")),U=b.search(/:\s|\s[–—]\s/),P=(U>0?b.slice(0,U):b).trim().slice(0,Ve),Z=U>0&&b.slice(U).replace(/^[:–—]?\s*/,"").trim()||null;P&&_.push({id:`o${_.length+1}`,label:P,detail:Z,recommended:ne,answer:gt("approve",{decided:P})})}return _.length?{kind:_.length===2&&_.every(W=>!W.detail&&W.label.length<=za)?"buttons":"choice",prompt:r,options:_,from:"firstmate"}:c||r?{kind:"text",prompt:r,from:"firstmate"}:null}const Ia=/^```decision-form[^\S\n]+(?:[^\n]*\s)?id=([A-Za-z0-9][\w.@-]{0,199})(?=\s|$)/;function Ln(x){const t=[...x.matchAll(_t)],u=t[t.length-1];return u?Ia.exec(u[0])?.[1]??null:null}const Nn=x=>x.replace(_t,"").trim();function En(x,t){if(t.picks)return t.picks;if(x&&(x.kind==="buttons"||x.kind==="choice")){const u=x.options.find(r=>r.answer.choice===t.choice&&!r.answer.decided);if(u)return u.label}return t.label}var Ca=s('<label class="inline-flex min-h-9 cursor-pointer items-center gap-1.5 rounded-full border px-2.5 text-xs transition-colors hover:bg-accent has-[:checked]:border-sea has-[:checked]:bg-sea/5 max-md:min-h-11"><input type="radio" class="accent-sea"/> </label>'),Oa=s('<input type="text" placeholder="Why it is not needed" aria-label="Your reason for dismissing it" class="mt-2 block h-9 w-full rounded-md border border-input bg-background px-2.5 text-sm placeholder:text-muted-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none max-md:h-11 max-md:text-base"/>'),Sa=s('<form class="mt-2 rounded-md border bg-background/60 px-3 py-2.5 text-sm" data-dismiss-picker=""><fieldset><legend class="text-xs font-medium text-muted-foreground">Dismiss it without an answer. Why?</legend> <div class="mt-1.5 flex flex-wrap gap-1.5"></div></fieldset> <!> <div class="mt-2 flex flex-wrap items-center gap-1.5"><button type="submit" class="inline-flex min-h-9 cursor-pointer items-center gap-1.5 rounded-md border px-3 text-sm font-medium transition-colors hover:bg-accent disabled:cursor-not-allowed disabled:opacity-50 max-md:min-h-11" data-dismiss-confirm=""><!>Dismiss it</button> <button type="button" class="inline-flex min-h-9 cursor-pointer items-center rounded-md px-2.5 text-sm text-muted-foreground hover:bg-accent hover:text-foreground max-md:min-h-11">Cancel</button> <span class="text-xs text-muted-foreground">Firstmate records it closed everywhere.</span></div></form>');function La(x,t){Ye(t,!0);let u=Me(t,"disabled",3,!1);const r="own";let c=ge(St(wt[0])),_=ge("");const p=S(()=>e(c)===r?e(_).trim():e(c));var W=Sa(),L=i(W),M=a(i(L),2);Se(M,20,()=>[...wt,r],A=>A,(A,B)=>{var J=Ca(),ee=i(J);Be(ee);var xe=a(ee,1,!0);o(J),f(()=>{O(ee,"name",`dismiss-${t.name??""}`),He(ee,B),dt(ee,e(c)===B),D(xe,B===r?"Another reason":B)}),re("change",ee,()=>F(c,B,!0)),n(A,J)}),o(M),o(L);var ne=a(L,2);{var b=A=>{var B=Oa();Be(B),f(()=>O(B,"maxlength",xt)),Qe(B,()=>e(_),J=>F(_,J)),n(A,B)};v(ne,A=>{e(c)===r&&A(b)})}var U=a(ne,2),P=i(U),Z=i(P);bt(Z,{class:"size-3.5","aria-hidden":"true"}),we(),o(P);var Q=a(P,2);we(2),o(U),o(W),f(()=>P.disabled=u()||e(c)===r&&!e(p)),lt("submit",W,A=>{A.preventDefault(),!u()&&(e(c)!==r||e(p))&&t.onDismiss(e(p)||null)}),re("click",Q,function(...A){t.onCancel?.apply(this,A)}),n(x,W),qe()}Ge(["change","click"]);var Na=s('<form class="mt-2 flex items-end gap-2 rounded-lg border border-input bg-background px-2.5 py-1.5 focus-within:ring-2 focus-within:ring-ring"><textarea rows="1" placeholder="Your own answer" aria-label="Your own answer" class="field-sizing-content max-h-32 min-h-7 flex-1 resize-none bg-transparent py-0.5 text-sm placeholder:text-muted-foreground focus:outline-none max-md:self-center max-md:text-base" data-other-text=""></textarea> <button type="submit" class="inline-flex h-7 shrink-0 cursor-pointer items-center gap-1 rounded-md bg-sea px-2.5 text-sm font-medium text-on-accent disabled:cursor-not-allowed disabled:opacity-40 max-md:h-11 max-md:px-3.5" data-other-send=""><!>Send</button></form>'),Ea=s('<p class="text-sm leading-snug font-medium"> </p>'),Ra=s('<p class="mt-2 flex items-start gap-1.5 text-sm leading-snug" data-decided=""><!><span>You decided <span class="font-semibold"> </span></span></p>'),ja=s('<p class="mt-2 flex items-start gap-1.5 text-sm leading-snug" data-dismissed=""><!><span> </span></p>'),Wa=s('<span class="text-xs font-normal opacity-80">· recommended</span>'),Pa=s("<button> <!></button>"),Fa=s('<div class="mt-2 flex flex-wrap items-center gap-1.5 max-md:flex-col max-md:items-stretch max-md:gap-2" role="group" aria-label="Answer"><!> <button data-other=""><!>Other…</button></div> <!>',1),Ya=s('<span class="text-foreground/85"> </span>'),Ot=s('<span class="ml-1.5 text-xs font-medium whitespace-nowrap text-brass">Recommended</span>'),qa=s('<label class="flex min-w-0 cursor-pointer items-start gap-2 rounded-md border px-2.5 py-1.5 text-sm transition-colors hover:bg-accent has-[:checked]:border-sea has-[:checked]:bg-sea/5 has-[:disabled]:cursor-not-allowed has-[:disabled]:opacity-60 max-md:min-h-12 max-md:items-center max-md:gap-3 max-md:rounded-lg max-md:px-3.5 max-md:py-2.5 max-md:text-base"><input type="radio" class="mt-[0.2rem] shrink-0 accent-sea max-md:mt-0 max-md:size-5"/> <span class="min-w-0 leading-snug"><span class="font-semibold"> </span><!><!></span></label>'),Ua=s('<textarea rows="2" placeholder="Your own answer" aria-label="Your own answer" class="mt-2 block field-sizing-content max-h-40 min-h-12 w-full resize-none rounded-md border border-input bg-background px-2.5 py-1.5 text-sm placeholder:text-muted-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none max-md:text-base" data-other-text=""></textarea>'),Xa=s('<div class="mt-2 flex flex-col gap-1.5 max-md:gap-2" role="radiogroup"><!> <label class="flex min-w-0 cursor-pointer items-start gap-2 rounded-md border border-dashed px-2.5 py-1.5 text-sm text-muted-foreground transition-colors hover:bg-accent has-[:checked]:border-sea has-[:checked]:bg-sea/5 has-[:checked]:text-foreground has-[:disabled]:cursor-not-allowed has-[:disabled]:opacity-60 max-md:min-h-12 max-md:items-center max-md:gap-3 max-md:rounded-lg max-md:px-3.5 max-md:py-2.5 max-md:text-base" data-other=""><input type="radio" class="mt-[0.2rem] shrink-0 accent-sea max-md:mt-0 max-md:size-5"/> <span class="inline-flex min-w-0 items-center gap-1 leading-snug"><!>Other: write your own answer</span></label></div> <!> <div class="mt-2.5"><button data-decide=""><!> </button></div>',1),Ba=s("<span> </span>"),Ga=s('<span class="ml-1.5 text-[0.68rem] font-semibold tracking-[0.06em] whitespace-nowrap text-brass uppercase" data-call-key="">matters most</span>'),Ka=s('<span class="ml-1 font-normal text-muted-foreground">· optional</span>'),Ha=s('<span class="font-semibold"> </span><span class="text-foreground/85"> </span>',1),Qa=s('<label class="flex min-w-0 cursor-pointer items-start gap-2 rounded-md border px-2.5 py-1.5 text-sm transition-colors hover:bg-accent has-[:checked]:border-sea has-[:checked]:bg-sea/5 has-[:disabled]:cursor-not-allowed has-[:disabled]:opacity-60 max-md:min-h-12 max-md:items-center max-md:gap-3 max-md:rounded-lg max-md:px-3.5 max-md:py-2.5 max-md:text-base"><input type="radio" class="mt-[0.2rem] shrink-0 accent-sea max-md:mt-0 max-md:size-5"/> <span class="min-w-0 leading-snug"><!><!></span></label>'),Va=s('<p class="mt-1.5 border-l-2 border-brass pl-2.5 text-xs leading-relaxed text-muted-foreground" data-call-why=""><span class="font-medium text-foreground"> </span> </p>'),Za=s("<div></div> <!>",1),Ja=s('<input type="text" placeholder="Your answer (optional)" class="mt-1.5 block h-9 w-full rounded-md border border-input bg-background px-2.5 text-sm placeholder:text-muted-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none max-md:h-12 max-md:text-base"/>'),$a=s('<fieldset class="min-w-0"><legend class="text-sm leading-snug font-medium"><!> <!><!></legend> <!></fieldset>'),er=s('<p class="mt-2.5 text-xs text-muted-foreground" data-picks-left=""> </p>'),tr=s('<button data-send-partial=""> </button>'),ar=s('<p class="mt-1.5 text-xs text-muted-foreground"> </p>'),rr=s('<div class="mt-2 flex flex-col gap-3" role="group" aria-label="Your picks"></div> <!> <div class="mt-2.5 flex flex-wrap gap-1.5 max-md:flex-col max-md:gap-2"><button data-decide=""><!> </button> <!> <button data-other=""><!>Other…</button> <!></div> <!>',1),nr=s('<form class="mt-2 flex items-end gap-2 rounded-lg border border-input bg-background px-2.5 py-1.5 focus-within:ring-2 focus-within:ring-ring"><textarea rows="1" placeholder="Your answer" class="field-sizing-content max-h-32 min-h-7 flex-1 resize-none bg-transparent py-0.5 text-sm placeholder:text-muted-foreground focus:outline-none max-md:self-center max-md:text-base"></textarea> <button type="submit" class="inline-flex h-7 shrink-0 cursor-pointer items-center gap-1 rounded-md bg-sea px-2.5 text-sm font-medium text-on-accent disabled:cursor-not-allowed disabled:opacity-40 max-md:h-11 max-md:px-3.5" data-decide=""><!>Decide</button></form>'),or=s('<label class="mt-2 block"><span class="sr-only">Note for Firstmate (optional)</span> <textarea rows="1" placeholder="A note to go with your answer (optional)" class="block field-sizing-content max-h-40 min-h-9 w-full resize-none rounded-md border border-input bg-background px-2.5 py-1.5 text-sm placeholder:text-muted-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none max-md:text-base"></textarea></label>'),sr=s('<button class="mt-1.5 inline-flex cursor-pointer items-center gap-1 rounded px-1 text-xs text-muted-foreground hover:text-foreground max-md:min-h-11 max-md:text-sm"><!>Add a note</button>'),ir=s('<button class="mt-1.5 ml-1 inline-flex cursor-pointer items-center gap-1 rounded px-1 text-xs text-muted-foreground hover:text-foreground max-md:min-h-11 max-md:text-sm" data-dismiss=""><!>Dismiss</button>'),dr=s('<div class="mt-3"><!> <!> <!> <!></div>');function Rn(x,t){Ye(t,!0);const u=d=>{var m=Na(),l=i(m);at(l);var h=a(l,2),T=i(h);nt(T,{class:"size-3.5","aria-hidden":"true"}),we(),o(h),o(m),f(g=>{O(l,"maxlength",Ve),l.disabled=!r(),h.disabled=g},[()=>!r()||!e(P).trim()]),lt("submit",m,g=>{g.preventDefault(),xe()}),Qe(l,()=>e(P),g=>F(P,g)),n(d,m)};let r=Me(t,"canAnswer",3,!0),c=Me(t,"decided",3,null),_=Me(t,"dismissed",3,null),p=Me(t,"other",15,!1),W=Me(t,"draft",3,null),L=ge(null),M=ge(St({})),ne=ge(""),b=ge(""),U=ge(!1),P=ge(""),Z=ge(!1);const Q="other";let A=0;Ze(()=>{if(!W()||W().at===A||t.form.kind!=="picks")return;A=W().at;const d=t.form.choices.calls,m={...e(M)},l=[];for(const[h,T]of Object.entries(W().picks))d.find(g=>g.id===h)?.options.some(g=>g.id===T)&&(m[h]=T);for(const[h,T]of Object.entries(W().words)){const g=d.find(ue=>ue.id===h);if(!g)continue;const H=yt(g)||h;g.options.length?l.push(`${H}${/[?:]$/.test(H)?"":":"} ${T}`):m[h]=T.slice(0,zt)}F(M,m,!0),l.length&&(F(b,[e(b).trim(),...l].filter(Boolean).join(`
|
|
3
|
+
`).slice(0,xt),!0),F(U,!0))});const B=S(()=>t.form.kind==="buttons"||t.form.kind==="choice"?t.form.options:[]),J=S(()=>p()?null:e(B).find(d=>d.id===e(L))??e(B).find(d=>d.recommended)??null),ee=S(()=>c()!==null||_()!==null),xe=()=>{const d=e(P).trim();d&&te({choice:"approve",picks:null,decided:d.slice(0,Ve),other:!0})},he=S(()=>t.form.kind==="picks"?$t(t.form.choices,e(M)):[]),I=S(()=>t.form.kind==="picks"?Jt(t.form.choices,e(M)).length:0),R=S(()=>t.form.kind==="picks"?t.form.choices.calls.length:0),te=d=>t.onAnswer(d,e(b).trim()||null),be=d=>d.options.every(m=>!m.detail&&m.label.length<=28),ye="border-sea bg-sea text-on-accent hover:bg-sea/90";var N=dr(),oe=i(N);{var E=d=>{var m=Ea(),l=q(m,!0);f(()=>D(l,t.form.prompt)),n(d,m)};v(oe,d=>{t.form.prompt&&d(E)})}var y=a(oe,2);{var ae=d=>{var m=Ra(),l=i(m);aa(l,{class:"mt-0.5 size-3.5 shrink-0 text-success","aria-hidden":"true"});var h=a(l),T=a(i(h)),g=q(T,!0);o(h),o(m),f(()=>D(g,c())),n(d,m)},k=d=>{var m=ja(),l=i(m);ra(l,{class:"mt-0.5 size-3.5 shrink-0 text-muted-foreground","aria-hidden":"true"});var h=a(l),T=q(h);o(m),f(()=>D(T,`You dismissed it${_()?`: ${_()}`:""}`)),n(d,m)},w=d=>{var m=Fa(),l=ve(m),h=i(l);Se(h,17,()=>t.form.options,pe=>pe.id,(pe,Le)=>{var _e=Pa(),Te=i(_e,!0),ze=a(Te);{var Ke=fe=>{var ce=Wa();n(fe,ce)};v(ze,fe=>{e(Le).recommended&&fe(Ke)})}o(_e),f(()=>{me(_e,1,`inline-flex min-h-10 cursor-pointer items-center gap-1.5 rounded-md border px-3 text-sm font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50 sm:min-h-9 max-md:min-h-12 max-md:w-full max-md:justify-center max-md:text-base ${e(Le).recommended?ye:"bg-background hover:bg-accent"}`),_e.disabled=!r(),O(_e,"data-option",e(Le).id),D(Te,e(Le).label)}),re("click",_e,()=>te(e(Le).answer)),n(pe,_e)});var T=a(h,2);me(T,1,"inline-flex min-h-10 cursor-pointer items-center gap-1.5 rounded-md border px-3 text-sm font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50 sm:min-h-9 max-md:min-h-12 max-md:w-full max-md:justify-center max-md:text-base border-dashed bg-background text-muted-foreground hover:bg-accent hover:text-foreground");var g=i(T);rt(g,{class:"size-3.5","aria-hidden":"true"}),we(),o(T),o(l);var H=a(l,2);{var ue=pe=>{u(pe)};v(H,pe=>{p()&&pe(ue)})}f(()=>{T.disabled=!r(),O(T,"aria-expanded",p())}),re("click",T,()=>p(!p())),n(d,m)},X=d=>{var m=Xa(),l=ve(m),h=i(l);Se(h,17,()=>t.form.options,fe=>fe.id,(fe,ce)=>{var je=qa(),Ne=i(je);Be(Ne);var V=a(Ne,2),C=i(V),De=q(C,!0),Re=a(C);{var Ue=Ae=>{var We=Ya(),pt=q(We,!0);f(()=>D(pt,` · ${e(ce).detail}`)),n(Ae,We)};v(Re,Ae=>{e(ce).detail&&Ae(Ue)})}var $e=a(Re);{var vt=Ae=>{var We=Ot();n(Ae,We)};v($e,Ae=>{e(ce).recommended&&Ae(vt)})}o(V),o(je),f(()=>{O(Ne,"name",`form-${t.name??""}`),He(Ne,e(ce).id),dt(Ne,e(J)?.id===e(ce).id),Ne.disabled=!r(),D(De,e(ce).label)}),re("change",Ne,()=>{F(L,e(ce).id,!0),p(!1)}),n(fe,je)});var T=a(h,2),g=i(T);Be(g),He(g,Q);var H=a(g,2),ue=i(H);rt(ue,{class:"size-3.5 shrink-0","aria-hidden":"true"}),we(),o(H),o(T),o(l);var pe=a(l,2);{var Le=fe=>{var ce=Ua();at(ce),f(()=>{O(ce,"maxlength",Ve),ce.disabled=!r()}),Qe(ce,()=>e(P),je=>F(P,je)),n(fe,ce)};v(pe,fe=>{p()&&fe(Le)})}var _e=a(pe,2),Te=i(_e);me(Te,1,"inline-flex min-h-10 cursor-pointer items-center gap-1.5 rounded-md border px-3 text-sm font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50 sm:min-h-9 max-md:min-h-12 max-md:w-full max-md:justify-center max-md:text-base border-sea bg-sea text-on-accent hover:bg-sea/90");var ze=i(Te);nt(ze,{class:"size-3.5","aria-hidden":"true"});var Ke=a(ze,1,!0);o(Te),o(_e),f(fe=>{O(l,"aria-label",t.form.prompt??"Options"),O(g,"name",`form-${t.name??""}`),dt(g,p()),g.disabled=!r(),Te.disabled=fe,D(Ke,p()?"Send your answer":`Decide${e(J)?`: ${e(J).label}`:""}`)},[()=>!r()||(p()?!e(P).trim():!e(J))]),re("change",g,()=>p(!0)),re("click",Te,()=>p()?xe():e(J)&&te(e(J).answer)),n(d,m)},j=d=>{const m=S(()=>Zt(t.form.choices,e(M)));var l=rr(),h=ve(l);Se(h,21,()=>t.form.choices.calls,V=>V.id,(V,C)=>{const De=S(()=>Vt(e(C)));var Re=$a(),Ue=i(Re),$e=i(Ue);{var vt=de=>{var le=Ba(),Ie=q(le,!0);f(()=>{me(le,1,`mr-1.5 font-mono text-xs text-muted-foreground tabular-nums ${e(C).key?"text-brass":""}`),D(Ie,e(C).tag?e(De):`${e(De)}.`)}),n(de,le)};v($e,de=>{e(De)!==null&&de(vt)})}var Ae=a($e,1,!0),We=a(Ae);{var pt=de=>{var le=Ga();n(de,le)};v(We,de=>{e(C).key&&de(pt)})}var Nt=a(We);{var Et=de=>{var le=Ka();n(de,le)};v(Nt,de=>{e(C).required||de(Et)})}o(Ue);var Rt=a(Ue,2);{var jt=de=>{var le=Za(),Ie=ve(le);Se(Ie,21,()=>e(C).options,Ee=>Ee.id,(Ee,ke)=>{var Pe=Qa(),Ce=i(Pe);Be(Ce);var et=a(Ce,2),tt=i(et);{var ft=Oe=>{var Fe=Ha(),kt=ve(Fe),Xt=q(kt,!0),Bt=a(kt),Gt=q(Bt,!0);f(()=>{D(Xt,e(ke).label),D(Gt,` · ${e(ke).detail}`)}),n(Oe,Fe)},Yt=Oe=>{var Fe=Ht();f(()=>D(Fe,e(ke).label)),n(Oe,Fe)};v(tt,Oe=>{e(ke).detail?Oe(ft):Oe(Yt,-1)})}var qt=a(tt);{var Ut=Oe=>{var Fe=Ot();n(Oe,Fe)};v(qt,Oe=>{e(ke).recommended&&Oe(Ut)})}o(et),o(Pe),f(()=>{O(Ce,"name",`pick-${t.name??""}-${e(C).id??""}`),He(Ce,e(ke).id),dt(Ce,e(m)[e(C).id]===e(ke).id),Ce.disabled=!r()}),re("change",Ce,()=>F(M,{...e(M),[e(C).id]:e(ke).id},!0)),n(Ee,Pe)}),o(Ie);var Pt=a(Ie,2);{var Ft=Ee=>{const ke=S(()=>e(C).options.find(ft=>ft.recommended));var Pe=Va(),Ce=i(Pe),et=q(Ce),tt=a(Ce);o(Pe),f(()=>{D(et,`Why ${e(ke)?`${e(ke).label.length===1?`(${e(ke).label})`:e(ke).label} is recommended`:"Firstmate recommends it"}:`),D(tt,` ${e(C).why??""}`)}),n(Ee,Pe)};v(Pt,Ee=>{e(C).why&&Ee(Ft)})}f(Ee=>me(Ie,1,`mt-1.5 flex gap-1.5 max-md:flex-col max-md:gap-2 ${Ee??""}`),[()=>be(e(C))?"flex-wrap":"flex-col"]),n(de,le)},Wt=de=>{var le=Ja();Be(le),f(Ie=>{He(le,e(M)[e(C).id]??""),O(le,"maxlength",zt),le.disabled=!r(),O(le,"aria-label",`Your answer to ${Ie??""}`)},[()=>yt(e(C))||"this call"]),re("input",le,Ie=>F(M,{...e(M),[e(C).id]:Ie.currentTarget.value},!0)),n(de,le)};v(Rt,de=>{e(C).options.length?de(jt):de(Wt,-1)})}o(Re),f(()=>{O(Ue,"data-call",e(C).id),D(Ae,e(C).prompt??"Pick one")}),n(V,Re)}),o(h);var T=a(h,2);{var g=V=>{var C=er(),De=q(C);f(()=>D(De,`${e(I)??""} of ${e(R)??""} picked · the calls you leave take the recommendation.`)),n(V,C)};v(T,V=>{e(R)>1&&e(I)<e(R)&&!e(he).length&&V(g)})}var H=a(T,2),ue=i(H);me(ue,1,"inline-flex min-h-10 cursor-pointer items-center gap-1.5 rounded-md border px-3 text-sm font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50 sm:min-h-9 max-md:min-h-12 max-md:w-full max-md:justify-center max-md:text-base border-sea bg-sea text-on-accent hover:bg-sea/90");var pe=i(ue);nt(pe,{class:"size-3.5","aria-hidden":"true"});var Le=a(pe,1,!0);o(ue);var _e=a(ue,2);{var Te=V=>{var C=tr();me(C,1,"inline-flex min-h-10 cursor-pointer items-center gap-1.5 rounded-md border px-3 text-sm font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50 sm:min-h-9 max-md:min-h-12 max-md:w-full max-md:justify-center max-md:text-base bg-background hover:bg-accent");var De=q(C);f(()=>{C.disabled=!r(),D(De,`Send ${e(I)??""}, keep ${e(R)-e(I)} waiting`)}),re("click",C,()=>te({choice:"approve",picks:e(M),decided:null,partial:!0})),n(V,C)};v(_e,V=>{e(R)>1&&e(I)>0&&e(I)<e(R)&&V(Te)})}var ze=a(_e,2);me(ze,1,"inline-flex min-h-10 cursor-pointer items-center gap-1.5 rounded-md border px-3 text-sm font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50 sm:min-h-9 max-md:min-h-12 max-md:w-full max-md:justify-center max-md:text-base border-dashed bg-background text-muted-foreground hover:bg-accent hover:text-foreground");var Ke=i(ze);rt(Ke,{class:"size-3.5","aria-hidden":"true"}),we(),o(ze);var fe=a(ze,2);{var ce=V=>{var C=ar(),De=q(C);f(Re=>D(De,`Pick one for ${Re??""} to decide.`),[()=>e(he).map(ea).join(", ")]),n(V,C)};v(fe,V=>{e(he).length&&V(ce)})}o(H);var je=a(H,2);{var Ne=V=>{u(V)};v(je,V=>{p()&&V(Ne)})}f(()=>{ue.disabled=!r()||e(he).length>0,D(Le,e(R)>1&&e(I)<e(R)?`Send all ${e(R)}`:"Decide"),ze.disabled=!r(),O(ze,"aria-expanded",p())}),re("click",ue,()=>te({choice:"approve",picks:e(M),decided:null})),re("click",ze,()=>p(!p())),n(d,l)},Y=d=>{var m=nr(),l=i(m);at(l);var h=a(l,2),T=i(h);nt(T,{class:"size-3.5","aria-hidden":"true"}),we(),o(h),o(m),f(g=>{O(l,"maxlength",Ve),l.disabled=!r(),O(l,"aria-label",t.form.prompt??"Your answer"),h.disabled=g},[()=>!r()||!e(ne).trim()]),lt("submit",m,g=>{g.preventDefault();const H=e(ne).trim();H&&te({choice:"approve",picks:null,decided:H})}),Qe(l,()=>e(ne),g=>F(ne,g)),n(d,m)};v(y,d=>{c()!==null?d(ae):_()!==null?d(k,1):t.form.kind==="buttons"?d(w,2):t.form.kind==="choice"?d(X,3):t.form.kind==="picks"?d(j,4):d(Y,-1)})}var G=a(y,2);{var $=d=>{},se=d=>{var m=or(),l=a(i(m),2);at(l),o(m),f(()=>O(l,"maxlength",xt)),Qe(l,()=>e(b),h=>F(b,h)),n(d,m)},ie=d=>{var m=sr(),l=i(m);rt(l,{class:"size-3","aria-hidden":"true"}),we(),o(m),re("click",m,()=>F(U,!0)),n(d,m)};v(G,d=>{e(ee)?d($):e(U)?d(se,1):r()&&d(ie,2)})}var z=a(G,2);{var K=d=>{var m=Je(),l=ve(m);{var h=g=>{La(g,{get name(){return t.name},onDismiss:H=>{F(Z,!1),t.onDismiss(H)},onCancel:()=>F(Z,!1)})},T=g=>{var H=ir(),ue=i(H);bt(ue,{class:"size-3","aria-hidden":"true"}),we(),o(H),re("click",H,()=>F(Z,!0)),n(g,H)};v(l,g=>{e(Z)?g(h):g(T,-1)})}n(d,m)};v(z,d=>{t.onDismiss&&!e(ee)&&r()&&d(K)})}o(N),f(()=>{O(N,"data-decision-form",t.form.kind),O(N,"data-form-from",t.form.from)}),n(x,N),qe()}Ge(["click","change","input"]);var lr=s('<span class="font-normal"> </span>'),cr=s('<dt class="text-muted-foreground">Asked</dt> <dd> </dd>',1),mr=s('<span class="mr-1.5 rounded bg-danger/10 px-1 text-xs font-medium text-danger">Serious</span>'),ur=s('<p class="mt-0.5 font-mono text-xs text-muted-foreground"> </p>'),vr=s('<p class="mt-1 text-xs leading-relaxed text-muted-foreground"><!></p>'),pr=s('<li><p class="leading-snug"><!><!></p> <!> <!></li>'),fr=s('<ol class="space-y-2.5"></ol>'),xr=s('<div><p class="text-xs font-medium text-muted-foreground">As Firstmate wrote it</p> <p class="mt-0.5 leading-relaxed text-muted-foreground"><!></p></div>'),hr=s('<p class="leading-relaxed whitespace-pre-line text-muted-foreground"><!></p>'),gr=s('<span class="ml-1.5 text-muted-foreground"> </span>'),br=s('<li><a target="_blank" rel="noreferrer" class="inline-flex items-center gap-1 break-all text-sea hover:underline"><!> </a><!></li>'),_r=s('<li class="inline-flex items-center gap-1 text-muted-foreground"><!>Findings file <span class="font-mono break-all"> </span></li>'),kr=s('<ul class="flex flex-col gap-1 text-xs"><!> <!></ul>'),wr=s('<div class="mt-2 space-y-3 rounded-md border bg-background/60 p-3 text-sm" data-details-panel=""><dl class="grid grid-cols-[auto_1fr] gap-x-3 gap-y-1 text-xs"><dt class="text-muted-foreground">Decision</dt> <dd class="min-w-0 font-mono break-all"> </dd> <!> <dt class="text-muted-foreground">Raised by</dt> <dd class="min-w-0 break-words"> </dd></dl> <!> <!> <!> <!></div>'),yr=s('<button class="touch-target mt-3 flex cursor-pointer items-center gap-1 text-xs font-medium text-muted-foreground hover:text-foreground" data-details="">Details<!><!></button> <!>',1);function jn(x,t){Ye(t,!0);let u=Me(t,"expanded",3,!1),r=Me(t,"withText",3,!0);const c=S(()=>t.card.evidence),_=S(()=>t.card.kind==="hold"?t.card.key:`${t.card.taskId} · ${t.card.key}`),p=S(()=>t.card.question!==t.card.title?t.card.question:null),W=S(()=>t.card.askedAt?new Date(t.card.askedAt).toLocaleString([],{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit"}):null);var L=yr(),M=ve(L),ne=a(i(M));{let Q=S(()=>u()?"rotate-180":"");na(ne,{get class(){return`size-3.5 transition-transform ${e(Q)??""}`},"aria-hidden":"true"})}var b=a(ne);{var U=Q=>{var A=lr(),B=q(A);f(()=>D(B,`${e(c).findings.length?` · ${e(c).findings.length} ${e(c).findings.length===1?"finding":"findings"}`:""}${e(c).pr?" · pull request":""}`)),n(Q,A)};v(b,Q=>{u()||Q(U)})}o(M);var P=a(M,2);{var Z=Q=>{var A=wr(),B=i(A),J=a(i(B),2),ee=q(J,!0),xe=a(J,2);{var he=k=>{var w=cr(),X=a(ve(w),2),j=q(X,!0);f(()=>D(j,e(W))),n(k,w)};v(xe,k=>{e(W)&&k(he)})}var I=a(xe,4),R=q(I,!0);o(B);var te=a(B,2);{var be=k=>{var w=fr();Se(w,21,()=>e(c).findings,X=>X.id,(X,j)=>{var Y=pr(),G=i(Y),$=i(G);{var se=l=>{var h=mr();n(l,h)};v($,l=>{e(j).serious&&l(se)})}var ie=a($);ot(ie,{get text(){return e(j).summary}}),o(G);var z=a(G,2);{var K=l=>{var h=ur(),T=q(h,!0);f(()=>D(T,e(j).where)),n(l,h)};v(z,l=>{e(j).where&&l(K)})}var d=a(z,2);{var m=l=>{var h=vr(),T=i(h);ot(T,{get text(){return e(j).detail}}),o(h),n(l,h)};v(d,l=>{e(j).detail&&l(m)})}o(Y),n(X,Y)}),o(w),n(k,w)};v(te,k=>{e(c).findings.length&&k(be)})}var ye=a(te,2);{var N=k=>{var w=xr(),X=a(i(w),2),j=i(X);ot(j,{get text(){return e(p)}}),o(X),o(w),n(k,w)};v(ye,k=>{e(p)&&k(N)})}var oe=a(ye,2);{var E=k=>{var w=hr(),X=i(w);ot(X,{get text(){return e(c).text}}),o(w),n(k,w)};v(oe,k=>{r()&&e(c).text&&k(E)})}var y=a(oe,2);{var ae=k=>{var w=kr(),X=i(w);{var j=$=>{var se=br(),ie=i(se),z=i(ie);oa(z,{class:"size-3.5 shrink-0","aria-hidden":"true"});var K=a(z,1,!0);o(ie);var d=a(ie);{var m=l=>{var h=gr(),T=q(h);f(()=>D(T,`· checks ${e(c).checks??""}`)),n(l,h)};v(d,l=>{e(c).checks&&l(m)})}o(se),f(()=>{O(ie,"href",e(c).pr.url),D(K,e(c).pr.url)}),n($,se)};v(X,$=>{e(c).pr&&$(j)})}var Y=a(X,2);{var G=$=>{var se=_r(),ie=i(se);Lt(ie,{class:"size-3.5 shrink-0","aria-hidden":"true"});var z=a(ie,2),K=q(z,!0);o(se),f(()=>D(K,e(c).file)),n($,se)};v(Y,$=>{e(c).file&&$(G)})}o(w),n(k,w)};v(y,k=>{(e(c).pr||e(c).file)&&k(ae)})}o(A),f(()=>{D(ee,e(_)),D(R,t.card.origin?`Firstmate, from ${t.card.origin}`:t.card.taskTitle)}),n(Q,A)};v(P,Q=>{u()&&Q(Z)})}f(()=>O(M,"aria-expanded",u())),re("click",M,function(...Q){t.onToggle?.apply(this,Q)}),n(x,L),qe()}Ge(["click"]);var zr=s('<div class="overflow-hidden rounded-t-md border-b"><!></div>'),Dr=s('<span class="inline-flex items-center gap-1 text-muted-foreground" data-where-preview="down"><!>Preview stopped</span>'),Mr=s('<a target="_blank" rel="noreferrer" class="inline-flex items-center gap-1 text-muted-foreground hover:text-foreground hover:underline max-md:min-h-11"> <!></a>'),Tr=s('<button type="button" class="inline-flex cursor-pointer items-center gap-1 font-medium text-sea hover:underline max-md:min-h-11" aria-haspopup="dialog" data-where-preview=""><!>Open the preview</button> <!>',1),Ar=s('<span class="inline-flex items-center gap-1 text-muted-foreground" data-where-board="down"><!>Board stopped</span>'),Ir=s('<a target="_blank" rel="noreferrer" class="inline-flex items-center gap-1 font-medium text-sea hover:underline max-md:min-h-11" data-where-board=""><!>Open the board<!></a>'),Cr=s('<div class="mt-2.5 rounded-md border bg-background/60 text-xs" data-decision-where=""><!> <div class="flex flex-wrap items-center gap-x-3 gap-y-1.5 px-3 py-2"><span class="text-muted-foreground">Where it is</span> <!> <!></div></div>'),Or=s('<li class="w-48 max-w-full overflow-hidden rounded-md border bg-background" data-thumb-preview=""><!> <p class="flex items-center gap-1 border-t px-2 py-1 text-[0.7rem] text-muted-foreground"><!><span class="truncate"> </span></p></li>'),Sr=s('<li><button type="button" class="block cursor-zoom-in overflow-hidden rounded-md border bg-background" aria-haspopup="dialog" data-thumb-shot=""><img class="h-20 w-32 object-cover object-top sm:h-24 sm:w-36" loading="lazy"/></button></li>'),Lr=s('<ul class="mt-2.5 flex flex-wrap gap-2" aria-label="Thumbnails" data-decision-thumbs=""><!> <!></ul>'),Nr=s("<!> <!> <!> <!>",1);function Er(x,t){Ye(t,!0);let u=Me(t,"inline",3,!1);const r=S(()=>t.card.evidence),c=S(()=>ia()?null:e(r).board),_=S(()=>e(r).previewTask??(e(r).preview?Mt(e(r).preview):null)),p=S(()=>e(c)?Mt(e(c)):null);Ze(()=>{if(e(_))return st.watch(e(_))}),Ze(()=>{if(e(p))return st.watch(e(p))});const W=S(()=>e(_)?st.checks[e(_)]:void 0),L=S(()=>e(p)?st.checks[e(p)]:void 0),M=S(()=>e(W)?.state==="down"),ne=S(()=>e(L)?.state==="down"),b=S(()=>e(W)?.url??e(r).preview),U=N=>N?URL.parse(N)?.host??N:"",P=S(()=>(u()||t.card.kind==="preview")&&!!e(r).preview),Z=S(()=>e(r).screenshots??[]),Q=S(()=>!e(P)&&!!e(_)&&!e(M));let A=ge(null),B=ge(null);const J=N=>F(A,{from:N.currentTarget.getBoundingClientRect()},!0);var ee=Nr(),xe=ve(ee);{var he=N=>{var oe=Cr(),E=i(oe);{var y=Y=>{var G=zr(),$=i(G);{var se=z=>{it(z,{get taskId(){return e(r).previewTask},compact:!0,toolbar:!1,onopen:()=>F(A,{from:null},!0)})},ie=z=>{it(z,{get url(){return e(r).preview},compact:!0,toolbar:!1,onopen:()=>F(A,{from:null},!0)})};v($,z=>{e(r).previewTask?z(se):z(ie,-1)})}o(G),n(Y,G)};v(E,Y=>{e(P)&&e(_)&&Y(y)})}var ae=a(E,2),k=a(i(ae),2);{var w=Y=>{var G=Je(),$=ve(G);{var se=z=>{var K=Dr(),d=i(K);Tt(d,{class:"size-3.5 shrink-0","aria-hidden":"true"}),we(),o(K),n(z,K)},ie=z=>{var K=Tr(),d=ve(K),m=i(d);At(m,{class:"size-3.5 shrink-0","aria-hidden":"true"}),we(),o(d);var l=a(d,2);{var h=T=>{var g=Mr(),H=i(g,!0),ue=a(H);ht(ue,{class:"size-3.5 shrink-0","aria-hidden":"true"}),o(g),f(pe=>{O(g,"href",e(b)),O(g,"title",e(b)),D(H,pe)},[()=>U(e(r).preview)]),n(T,g)};v(l,T=>{e(b)&&T(h)})}re("click",d,J),n(z,K)};v($,z=>{e(M)?z(se):z(ie,-1)})}n(Y,G)};v(k,Y=>{e(r).preview&&Y(w)})}var X=a(k,2);{var j=Y=>{var G=Je(),$=ve(G);{var se=z=>{var K=Ar(),d=i(K);Tt(d,{class:"size-3.5 shrink-0","aria-hidden":"true"}),we(),o(K),n(z,K)},ie=z=>{var K=Ir(),d=i(K);ca(d,{class:"size-3.5 shrink-0","aria-hidden":"true"});var m=a(d,2);ht(m,{class:"size-3.5 shrink-0","aria-hidden":"true"}),o(K),f(()=>{O(K,"href",e(c)),O(K,"title",e(c))}),n(z,K)};v($,z=>{e(ne)?z(se):z(ie,-1)})}n(Y,G)};v(X,Y=>{e(c)&&Y(j)})}o(ae),o(oe),n(N,oe)};v(xe,N=>{(e(r).preview||e(c))&&N(he)})}var I=a(xe,2);{var R=N=>{var oe=Lr(),E=i(oe);{var y=k=>{var w=Or(),X=i(w);{var j=z=>{it(z,{get taskId(){return e(r).previewTask},compact:!0,toolbar:!1,onopen:()=>F(A,{from:null},!0)})},Y=z=>{it(z,{get url(){return e(r).preview},compact:!0,toolbar:!1,onopen:()=>F(A,{from:null},!0)})};v(X,z=>{e(r).previewTask?z(j):z(Y,-1)})}var G=a(X,2),$=i(G);At($,{class:"size-3 shrink-0","aria-hidden":"true"});var se=a($),ie=q(se);o(G),o(w),f(z=>D(ie,`Preview · ${z??""}`),[()=>U(e(r).preview)]),n(k,w)};v(E,k=>{e(Q)&&k(y)})}var ae=a(E,2);Se(ae,19,()=>e(Z),k=>k.url,(k,w,X)=>{var j=Sr(),Y=i(j),G=q(Y);o(j),f(()=>{O(Y,"title",`Enlarge ${e(w).name??""}`),O(G,"src",e(w).url),O(G,"alt",e(w).name)}),re("click",Y,()=>F(B,e(X),!0)),n(k,j)}),o(oe),n(N,oe)};v(I,N=>{(e(Q)||e(Z).length)&&N(R)})}var te=a(I,2);sa(te,{get shots(){return e(Z)},get index(){return e(B)},set index(N){F(B,N,!0)}});var be=a(te,2);{var ye=N=>{{let oe=S(()=>e(A)?.from??null);da(N,{get taskId(){return e(r).previewTask},get title(){return t.card.taskTitle},get url(){return e(r).preview},get from(){return e(oe)},onclose:()=>F(A,null)})}};v(be,N=>{e(A)&&e(r).preview&&N(ye)})}n(x,ee),qe()}Ge(["click"]);var Rr=s('<a target="_blank" rel="noreferrer" class="inline-flex items-center gap-1 rounded px-2 py-1 text-xs text-muted-foreground hover:bg-accent hover:text-foreground">Open in a new tab<!></a>'),jr=s('<p class="text-danger" role="alert"> </p>'),Wr=s('<p class="text-muted-foreground">Reading it…</p>'),Pr=s('<div class="chat-md"></div>'),Fr=s("<span> </span>"),Yr=s('<pre class="font-mono text-xs leading-relaxed whitespace-pre-wrap" data-patch=""></pre>'),qr=s('<div class="flex items-center gap-2 border-b px-4 py-2.5 text-sm"><span class="min-w-0 flex-1"><span class="block truncate font-medium"> </span> <span class="block truncate font-mono text-xs text-muted-foreground"> </span></span> <!> <button type="button" class="flex size-9 cursor-pointer items-center justify-center rounded hover:bg-accent" aria-label="Close"><!></button></div> <div class="min-h-0 flex-1 overflow-y-auto px-4 py-3 text-sm sm:px-6"><!></div>',1),Ur=s('<dialog class="m-auto flex max-h-[90vh] w-[min(94vw,56rem)] flex-col overflow-hidden rounded-xl border bg-background p-0 text-foreground shadow-xl backdrop:bg-black/60 [&:not([open])]:hidden" data-doc-modal=""><!></dialog>');function Xr(x,t){Ye(t,!0);let u=Me(t,"doc",15,null),r=ge(null),c=ge(null);const _=S(()=>u()?u().path.split("/").pop()??u().path:""),p=S(()=>!!u()&&pa.test(u().path));Ze(()=>{e(r)&&(u()&&!e(r).open?e(r).showModal():!u()&&e(r).open&&e(r).close())}),Ze(()=>{const b=u()?.url;!b||e(c)?.url===b||(F(c,{url:b,text:null,error:null},!0),fetch(b).then(async U=>{if(!U.ok)throw new Error;const P=await U.text();e(c)?.url===b&&F(c,{url:b,text:P,error:null},!0)}).catch(()=>{e(c)?.url===b&&F(c,{url:b,text:null,error:"It could not be read."},!0)}))});const W=b=>b.startsWith("+")&&!b.startsWith("+++")?"text-success":b.startsWith("-")&&!b.startsWith("---")?"text-danger":b.startsWith("@@")?"text-sea":"";var L=Ur(),M=i(L);{var ne=b=>{var U=qr(),P=ve(U),Z=i(P),Q=i(Z),A=q(Q,!0),B=a(Q,2),J=q(B,!0);o(Z);var ee=a(Z,2);{var xe=E=>{var y=Rr(),ae=a(i(y));ht(ae,{class:"size-3.5","aria-hidden":"true"}),o(y),f(k=>O(y,"href",k),[()=>fa(u().path)]),n(E,y)};v(ee,E=>{e(p)&&E(xe)})}var he=a(ee,2),I=i(he);bt(I,{class:"size-4"}),o(he),o(P);var R=a(P,2),te=i(R);{var be=E=>{var y=jr(),ae=q(y,!0);f(()=>D(ae,e(c).error)),n(E,y)},ye=E=>{var y=Wr();n(E,y)},N=E=>{var y=Pr();ma(y,()=>ua(e(c).text,{docLinks:!0}),!0),o(y),n(E,y)},oe=E=>{var y=Yr();Se(y,21,()=>e(c).text.split(`
|
|
4
|
+
`),Qt,(ae,k)=>{var w=Fr(),X=q(w,!0);f(j=>{me(w,1,j),D(X,`${e(k)}
|
|
5
|
+
`)},[()=>Xe(W(e(k)))]),n(ae,w)}),o(y),n(E,y)};v(te,E=>{e(c)?.error?E(be):!e(c)||e(c).text===null?E(ye,1):e(p)?E(N,2):E(oe,-1)})}o(R),f(()=>{D(A,e(_)),D(J,u().path)}),re("click",he,()=>e(r)?.close()),n(b,U)};v(M,b=>{u()&&b(ne)})}o(L),va(L,b=>F(r,b),()=>e(r)),f(()=>O(L,"aria-label",e(_)||"Document")),lt("close",L,()=>u(null)),re("click",L,b=>b.target===e(r)&&e(r)?.close()),n(x,L),qe()}Ge(["click"]);var Br=s('<a title="The task this decision came from" data-decision-origin=""><!>From <span> </span></a>'),Gr=s('<button type="button" aria-haspopup="dialog"><!> <span> </span></button>'),Kr=s('<span data-decision-doc="missing"><!> <span> </span> (not found)</span>'),Hr=s('<div class="mt-2.5 flex flex-wrap items-center gap-1.5" data-decision-links=""><a title="Open the task" data-decision-task=""><!>Task <span> </span></a> <!> <!></div> <!> <!>',1);function Wn(x,t){Ye(t,!0);let u=Me(t,"where",3,!0);const r=S(()=>t.card.evidence.docs??[]),c=S(()=>t.card.secondMate?t.card.secondMate.taskId??t.card.secondMate.id:t.card.taskId);let _=ge(null);const p={report:"Report",doc:"Doc",patch:"Patch"},W=I=>I.kind==="report"?I.path:I.path.split("/").pop()??I.path,L="inline-flex min-h-8 max-w-full items-center gap-1.5 rounded-md border bg-background px-2.5 text-[0.8rem] transition-colors hover:bg-accent max-md:min-h-11",M="min-w-0 truncate font-mono text-[0.75rem] text-muted-foreground";var ne=Hr(),b=ve(ne),U=i(b);me(U,1,"inline-flex min-h-8 max-w-full items-center gap-1.5 rounded-md border bg-background px-2.5 text-[0.8rem] transition-colors hover:bg-accent max-md:min-h-11 border-brass/60 font-medium");var P=i(U);wa(P,{class:"size-3.5 shrink-0 text-brass","aria-hidden":"true"});var Z=a(P,2);me(Z,1,Xe(M));var Q=q(Z,!0);o(U);var A=a(U,2);{var B=I=>{var R=Br();me(R,1,Xe(L));var te=i(R);xa(te,{class:"size-3.5 shrink-0","aria-hidden":"true"});var be=a(te,2);me(be,1,Xe(M));var ye=q(be,!0);o(R),f(N=>{O(R,"href",`/tasks/${N??""}`),D(ye,t.card.origin)},[()=>encodeURIComponent(t.card.origin)]),n(I,R)};v(A,I=>{t.card.origin&&I(B)})}var J=a(A,2);Se(J,17,()=>e(r),I=>I.path,(I,R)=>{const te=S(()=>e(R).kind==="patch"?_a:Lt);var be=Je(),ye=ve(be);{var N=E=>{var y=Gr();me(y,1,"inline-flex min-h-8 max-w-full items-center gap-1.5 rounded-md border bg-background px-2.5 text-[0.8rem] transition-colors hover:bg-accent max-md:min-h-11 cursor-pointer");var ae=i(y);Dt(ae,()=>e(te),(j,Y)=>{Y(j,{class:"size-3.5 shrink-0","aria-hidden":"true"})});var k=a(ae),w=a(k);me(w,1,Xe(M));var X=q(w,!0);o(y),f(j=>{O(y,"title",`Read ${e(R).path??""}`),O(y,"data-decision-doc",e(R).kind),D(k,`${p[e(R).kind]??""} `),D(X,j)},[()=>W(e(R))]),re("click",y,()=>F(_,e(R),!0)),n(E,y)},oe=E=>{var y=Kr();me(y,1,"inline-flex min-h-8 max-w-full items-center gap-1.5 rounded-md border bg-background px-2.5 text-[0.8rem] transition-colors hover:bg-accent max-md:min-h-11 text-muted-foreground hover:bg-background");var ae=i(y);Dt(ae,()=>e(te),(j,Y)=>{Y(j,{class:"size-3.5 shrink-0","aria-hidden":"true"})});var k=a(ae),w=a(k);me(w,1,Xe(M));var X=q(w,!0);we(),o(y),f(j=>{D(k,`${p[e(R).kind]??""} `),D(X,j)},[()=>W(e(R))]),n(E,y)};v(ye,E=>{e(R).url?E(N):E(oe,-1)})}n(I,be)}),o(b);var ee=a(b,2);{var xe=I=>{Er(I,{get card(){return t.card}})};v(ee,I=>{u()&&I(xe)})}var he=a(ee,2);Xr(he,{get doc(){return e(_)},set doc(I){F(_,I,!0)}}),f(I=>{O(U,"href",I),D(Q,e(c))},[()=>ta(t.card)]),n(x,ne),qe()}Ge(["click"]);var Qr=s('<div class="mt-3 grid max-w-[40rem] gap-1.5" data-decision-records=""></div>');function Pn(x,t){Ye(t,!0);const u=S(()=>la.mentioned([...(t.card.evidence.docs??[]).filter(p=>p.kind==="report").map(p=>p.path),t.card.secondMate?"":`data/${t.card.taskId}/report.md`,t.card.origin?`data/${t.card.origin}/report.md`:"",t.card.question].join(`
|
|
6
|
+
`)).slice(0,3));var r=Je(),c=ve(r);{var _=p=>{var W=Qr();Se(W,21,()=>e(u),L=>L.kind==="record"?L.record.key:L.kind==="library"?L.doc.key:L.prototype.id,(L,M)=>{ha(L,{get doc(){return e(M)}})}),o(W),n(p,W)};v(c,p=>{e(u).length&&p(_)})}n(x,r),qe()}export{An as A,Xr as D,In as U,Wn as a,Pn as b,jn as c,Rn as d,Cn as e,La as f,Er as g,On as h,Sn as i,Ln as j,Ve as k,En as l,Nn as w};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./DsnmJJEf.js";import"./BA9bXUEp.js";import{p as c,a as n,b,c as o,o as v,t as d,i as r,r as x}from"./Jk-ASPRO.js";import{s as _}from"./DTApYZoW.js";import{e as y,a as l}from"./DNP6oCAK.js";import{i as w}from"./DlIrtyNJ.js";import{p as i}from"./CmX8kOuN.js";var S=o('<a class="nav-tab shrink-0"> </a>'),E=o('<nav class="-ml-2.5 no-scrollbar flex gap-1 overflow-x-auto" aria-label="Settings"></nav>');function P(f,h){c(h,!1);const p=[{href:"/settings/gateway",label:"Gateway"},{href:"/settings/firstmate",label:"Firstmate"},{href:"/settings/events",label:"Events"},{href:"/settings/plugins",label:"Plugins"},{href:"/settings/chat",label:"Chat history"},{href:"/settings/voice",label:"Voice"},{href:"/settings/headroom",label:"Headroom"},{href:"/settings/discussion",label:"Discussion"},{href:"/settings/update",label:"Update"},{href:"/settings/setup",label:"Setup"},{href:"/settings/experimental",label:"Experimental features"}].filter(e=>{const t=i.data.features;return e.href==="/settings/gateway"?t?.remotes:e.href==="/settings/events"?t?.events:e.href==="/settings/discussion"?t?.discussion:!0}),u=e=>i.url.pathname===e||i.url.pathname.startsWith(`${e}/`);w();var a=E();y(a,5,()=>p,e=>e.href,(e,t)=>{var s=S(),g=v(s,!0);d(m=>{l(s,"href",r(t).href),l(s,"aria-current",m),_(g,r(t).label)},[()=>u(r(t).href)?"page":void 0]),n(e,s)}),x(a),n(f,a),b()}export{P as S};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import"./DsnmJJEf.js";import{p as vt,x as ze,f as q,i as e,a as n,b as mt,j as R,h as f,r as d,n as $,c,d as T,k,q as Ke,L as Xe,o as w,s as o,t as D,m as Fe,l as Wt}from"./Jk-ASPRO.js";import{d as $t,s as h,e as Qe,a as Oe}from"./DTApYZoW.js";import{i as C}from"./BEVJas-l.js";import{e as Ve,a as N,s as Ht}from"./DNP6oCAK.js";import{h as Yt,m as Ut}from"./CGnI1F6D.js";import{c as ue}from"./Cq7OFmxz.js";import{b as jt}from"./CNxxt--f.js";import{b as Jt}from"./DLfKkHEy.js";import{s as Ce,r as Ne}from"./DQWg__9S.js";import{k as Bt}from"./Dc0ohDnQ.js";import{S as Gt}from"./BXN538J3.js";import{w as Kt}from"./RYvdmj4W.js";import{c as pe}from"./Dd_RZdO_.js";import{D as Xt,h as Ze,i as et}from"./DUpe8R7O.js";import{H as Qt}from"./ck3_pj9L.js";import{B as re}from"./VrUPyiEH.js";import{D as Vt}from"./DqyvT7BR.js";import{D as Zt,a as es,b as ts,c as ss,d as as,e as rs}from"./Br5gy4Yk.js";import{A as is}from"./C_D8fRYf.js";import{C as ns}from"./B7CIGGfF.js";import{p as os}from"./CmX8kOuN.js";import{i as tt}from"./CosKnXYm.js";import{l as ls}from"./D5NdSrls.js";import{C as ds}from"./c9k4nDgn.js";import{L as Me}from"./D73wi9-q.js";import{X as cs}from"./m8-RluHE.js";import{C as us}from"./C_BRvYKD.js";import{I as qe}from"./DE0e4nJ8.js";import{C as vs}from"./teNj0U11.js";import{R as ms}from"./BgsPzvvM.js";import{S as st}from"./CuSw1clo.js";import{A as fs}from"./B374TgJF.js";import{P as at}from"./DBLsdElo.js";import{P as rt}from"./B_DDhx9A.js";var ps=new Set(["$$slots","$$events","$$legacy"]);function it(E,s){let i=Ne(s,ps);const v={name:"activity",size:24,node:[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"}]]};qe(E,Ce(()=>i,{get icon(){return v}}))}var hs=new Set(["$$slots","$$events","$$legacy"]);function _s(E,s){let i=Ne(s,hs);const v={name:"check-check",size:24,node:[["path",{d:"M18 6 7 17l-5-5"}],["path",{d:"m22 10-7.5 7.5L13 16"}]]};qe(E,Ce(()=>i,{get icon(){return v}}))}var gs=new Set(["$$slots","$$events","$$legacy"]);function xs(E,s){let i=Ne(s,gs);const v={name:"users-round",size:24,node:[["path",{d:"M18 21a8 8 0 0 0-16 0"}],["circle",{cx:"10",cy:"8",r:"5"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3"}]],aliases:["users-2"]};qe(E,Ce(()=>i,{get icon(){return v}}))}var ks=c('<div class="mt-5" data-task-decisions=""><!></div>'),ys=c(`<p class="mt-5 flex items-center gap-2 text-sm text-muted-foreground" role="status" data-task-decisions-answered=""><!>Your answer is with Firstmate,
|
|
2
|
+
which passes it on to the crew.</p>`);function ws(E,s){vt(s,!0);const i=R(()=>os.data.inbox),v=R(()=>tt.forTask(s.task.id,e(i),ls.now).length>0),b=R(()=>!e(v)&&s.task.attention?.kind==="decision"&&tt.hasDecision(s.task.id,e(i)));var Q=ze(),le=q(Q);{var Z=y=>{var F=ks(),V=f(F);{let G=R(()=>({taskId:s.task.id}));Xt(V,{get filter(){return e(G)}})}d(F),n(y,F)},we=y=>{var F=ys(),V=f(F);ds(V,{class:"size-4 shrink-0 text-success","aria-hidden":"true"}),$(),d(F),n(y,F)};C(le,y=>{e(v)?y(Z):e(b)&&y(we,1)})}n(E,Q),mt()}function bs(E){return!E.id.includes("@")&&!E.secondMate&&!["queued","done","landed","closed"].includes(E.status)}const Ss=/(?:instruction|operational input) waiting\b/i;function nt(E,s,i,v=!1){const b=[];for(const y of E)y.kind==="user"?Ss.test(y.text)||b.push({kind:"firstmate",at:y.at,item:y}):b.push({kind:"worker",at:y.at,item:y});let Q=0;if(!v){const y=b.findIndex(G=>G.at>=i),F=y<0?b.length:y,V=b.findLastIndex((G,H)=>H<F&&G.kind==="worker");Q=V>=0?V:F}const le=b.slice(Q),Z=s.map(y=>({kind:"captain",at:y.at,message:y}));return{entries:[...le,...Z].sort((y,F)=>y.at<F.at?-1:y.at>F.at?1:0),earlier:Q}}const Pe=6e3;async function ft(E,s,i,v={}){try{const b=await fetch(E,{method:"POST",headers:{"content-type":"application/json",[Gt]:s,...v},body:JSON.stringify(i)});return b.ok?{ok:!0}:{ok:!1,error:(await b.json().catch(()=>null))?.message??`Wheelhouse answered ${b.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}const ot=(E,s,i)=>ft("/api/crew",i,{taskId:E,action:s}),Ds=(E,s,i,v,b=crypto.randomUUID())=>ft("/api/crew/messages",v,{taskId:E,kind:s,text:i},{"idempotency-key":b});class Ps{constructor(s){this.taskId=s}taskId;#e=T(null);get session(){return e(this.#e)}set session(s){k(this.#e,s,!0)}#t=T(null);get source(){return e(this.#t)}set source(s){k(this.#t,s,!0)}#s=T([]);get records(){return e(this.#s)}set records(s){k(this.#s,s)}#a=T("connecting");get connection(){return e(this.#a)}set connection(s){k(this.#a,s,!0)}#r=T(!1);get synced(){return e(this.#r)}set synced(s){k(this.#r,s,!0)}#i=R(()=>Bt(this.records));get chat(){return e(this.#i)}set chat(s){k(this.#i,s)}#n=R(()=>{const s=this.chat.items[this.chat.items.length-1];return this.session?.busy===!0||s?.kind==="turn"&&!s.done});get working(){return e(this.#n)}set working(s){k(this.#n,s)}connect(){this.synced=!1;const s=i=>{i.addEventListener("session",v=>{this.session=JSON.parse(v.data)}),i.addEventListener("reset",v=>{this.source=JSON.parse(v.data),this.records=[]}),i.addEventListener("records",v=>{const b=[...this.records,...JSON.parse(v.data)];this.records=b.length>Pe?b.slice(-Pe):b}),i.addEventListener("replace",v=>{const b=JSON.parse(v.data);this.records=b.length>Pe?b.slice(-Pe):b}),i.addEventListener("synced",()=>this.synced=!0)};return Kt(`/api/tasks/${encodeURIComponent(this.taskId)}/chat`,s,i=>this.connection=i)}}var zs=c("<!>End discussion",1),Cs=c('<span class="text-xs text-muted-foreground">Read-only</span>'),Es=c(`<p class="crew-banner svelte-1f8gn6y" role="note"><span class="crew-tag svelte-1f8gn6y">Sidebar</span> <span>You’re talking to <b> </b> directly. It can answer you here, and Firstmate gets a note of
|
|
3
|
+
each message.</span></p>`),Is=c('<p class="crew-banner crew-banner-read svelte-1f8gn6y" role="note"><span class="crew-tag svelte-1f8gn6y">Read-only</span> <span> </span></p>'),As=c('<p class="crew-banner crew-banner-paused svelte-1f8gn6y" role="status"><span class="crew-tag svelte-1f8gn6y">Paused</span><span> </span></p>'),Ls=c('<div class="-mt-5"><!></div>'),lt=c('<p class="mt-4 rounded-lg bg-muted px-4 py-3 text-sm text-muted-foreground" role="status"> </p>'),Rs=c('<button class="mx-auto mt-4 block cursor-pointer text-sm text-sea hover:underline" data-show-earlier=""> </button>'),Fs=c('<div class="bubble-row"><div class="bubble bubble-captain"> </div></div>'),Os=c('<p class="flex items-center gap-1.5 text-sm text-muted-foreground"><!> </p>'),Ms=c('<button class="inline-flex cursor-pointer items-center gap-1 font-sans font-medium hover:underline"><!>Send again</button>'),dt=c("<span> </span>"),Ns=c('<article class="msg msg-captain"><span class="captain-avatar">C</span> <div class="min-w-0 flex-1"><header class="msg-head"><span class="crew-tag svelte-1f8gn6y">Sidebar</span><time> </time></header> <!> <p><!> <span> </span> <!></p></div></article>'),qs=c('<details class="crew-note svelte-1f8gn6y"><summary class="svelte-1f8gn6y">Typed into its session · <time> </time></summary> <p class="mt-2 whitespace-pre-wrap"> </p></details>'),Ts=c('<div class="bubble-row"><div class="chat-md bubble bubble-firstmate"></div></div>'),Ws=c('<p class="rounded-lg border px-4 py-3 text-sm"> <span class="text-muted-foreground">Answer in its terminal, or tell it here.</span></p>'),$s=c('<article class="msg msg-firstmate"><span class="mate-avatar msg-avatar svelte-1f8gn6y" aria-hidden="true"> </span> <div class="flex min-w-0 flex-1 flex-col gap-2"><header class="msg-head"><span class="msg-name font-mono"> </span><!><time> </time></header> <!></div></article>'),Hs=c('<pre class="no-scrollbar max-h-60 max-w-[80ch] overflow-auto rounded-lg bg-muted/60 p-3 font-mono text-xs whitespace-pre-wrap text-muted-foreground"> </pre>'),Ys=c('<p class="text-xs text-muted-foreground"> </p>'),Us=c(`<div class="border-t px-4 py-3 sm:px-5" data-discussion-terminal=""><p class="mb-2 flex items-center gap-2 text-xs text-muted-foreground"><!>Its terminal, read-only. Type to it
|
|
4
|
+
here, not there: what you send goes through its inbox.</p> <!></div>`),js=c("<!>Chat with crew",1),ct=c('<p class="mt-1 text-sm text-danger" role="alert"> </p>'),ut=c("<!> <!>",1),Js=c('<p class="text-sm text-danger" role="alert"> </p>'),Bs=c("<!>Start the discussion",1),Gs=c("<!> <!> <!>",1),Ks=c('<div class="border-t px-4 pt-3 pb-4 sm:px-5"><div class="flex items-center gap-3 rounded-xl border border-dashed bg-muted/40 py-2 pr-2 pl-4" data-chat-locked=""><span class="flex-1 text-muted-foreground/80">Read-only · talk to Firstmate about this task, or</span> <!></div> <p class="mt-1.5 text-xs text-muted-foreground"> </p> <!></div> <!>',1),Xs=c("<!>Ask for status",1),Qs=c("<!>Resume",1),Vs=c("<!>Pause after this step",1),Zs=c("<!> ",1),ea=c('<div class="border-t px-4 pt-3 pb-4 sm:px-5"><div class="mb-2 flex flex-wrap gap-2"><!> <!> <!></div> <form class="flex items-end gap-2 rounded-xl border bg-card px-3 py-2 focus-within:ring-3 focus-within:ring-ring/50"><textarea class="field-sizing-content max-h-48 min-h-10 flex-1 resize-none bg-transparent py-1.5 outline-none placeholder:text-muted-foreground" data-discussion-input=""></textarea> <!></form> <p class="mt-1.5 text-xs text-muted-foreground">Goes to its inbox as yours; Firstmate gets a note.</p> <!></div>'),ta=c('<section class="flex h-full min-h-0 flex-col"><header class="flex flex-wrap items-center gap-x-3 gap-y-2 border-b px-4 py-3 sm:px-5"><span class="mate-avatar" aria-hidden="true"> </span> <div class="min-w-0 flex-1"><p class="flex items-baseline gap-2"><a class="font-mono text-sm font-semibold hover:underline"> </a> <span class="truncate text-sm text-muted-foreground"> </span></p> <p class="text-xs text-muted-foreground"> </p></div> <!></header> <!> <!> <div class="no-scrollbar min-h-0 flex-1 overflow-y-auto px-4 py-5 sm:px-5" aria-live="polite" data-discussion-feed=""><!> <!> <!> <div class="mt-5 flex flex-col gap-6"></div></div> <!> <!></section>');function Na(E,s){vt(s,!0);const i=R(()=>s.taskId);let v=T(null);Ke(()=>{const t=new Ps(e(i));k(v,t,!0);const a=t.connect();return()=>{a(),k(v,null)}});let b=T(!1);const Q=60;let le=T(Q);const Z=R(()=>{if(s.discussion)return nt(e(v)?.chat.items??[],s.discussion.messages,s.discussion.openedAt,e(b));const{entries:t}=nt(e(v)?.chat.items??[],[],"",!0),a=Math.max(0,t.length-e(le));return{entries:t.slice(a),earlier:a}}),we=()=>s.discussion?k(b,!0):k(le,e(le)+Q),y=R(()=>s.task?s.task.secondMate||s.task.id.includes("@")?"Chatting with a second mate’s worker comes later.":bs(s.task)?null:"Its worker is not at work.":"Its task has left the fleet."),F=R(()=>e(v)?.session?.harness??s.task?.worker?.harness??null),V=R(()=>e(F)?Qt[e(F)]??e(F):null);let G=T(""),H=T(null),be=T(!1),he=T(!1),Se=T(!1),De=T(!1);async function pt(){k(De,!0),k(H,null);const t=await ot(e(i),"open",s.token);k(De,!1),t.ok?k(Se,!1):k(H,t.error,!0)}async function _e(t,a="",m){k(H,null);const P=await Ds(e(i),t,a,s.token,m);P.ok||k(H,P.error,!0)}function Te(){const t=e(G).trim();t&&(k(G,""),_e("say",t),Xe().then(()=>$e(!0)))}function ht(t){t.key==="Enter"&&!t.shiftKey&&!t.isComposing&&(t.preventDefault(),Te())}async function _t(){k(be,!0);const t=await ot(e(i),"close",s.token);k(be,!1),t.ok?s.onended?.():k(H,t.error,!0)}let ee=T(null),We=!0;function $e(t=!1){e(ee)&&(t||We)&&(e(ee).scrollTop=e(ee).scrollHeight)}Ke(()=>{e(Z).entries.length,e(v)?.records.length,Xe().then(()=>$e())});const gt=t=>t.delivery==="sending"?"Sending":t.delivery==="failed"?t.error??"Not delivered":t.seen?`Seen by ${e(i)}`:"In its inbox",xt={status:"Asked for status",pause:"Asked to pause",resume:"Asked to resume"};var ve=ta(),Ee=f(ve),Ie=f(Ee),kt=w(Ie,!0),Ae=o(Ie,2),Le=f(Ae),Re=f(Le),yt=w(Re,!0),wt=o(Re,2),bt=w(wt,!0);d(Le);var St=o(Le,2),Dt=w(St);d(Ae);var Pt=o(Ae,2);{var zt=t=>{re(t,{variant:"outline",size:"sm",onclick:_t,get disabled(){return e(be)},"data-end-discussion":!0,children:(a,m)=>{var P=zs(),U=q(P);{var ie=j=>{Me(j,{class:"animate-spin"})},de=j=>{cs(j,{})};C(U,j=>{e(be)?j(ie):j(de,-1)})}$(),n(a,P)},$$slots:{default:!0}})},Ct=t=>{var a=Cs();n(t,a)};C(Pt,t=>{s.discussion?t(zt):t(Ct,-1)})}d(Ee);var He=o(Ee,2);{var Et=t=>{var a=Es(),m=o(f(a),2),P=o(f(m)),U=w(P,!0);$(),d(m),d(a),D(()=>h(U,e(i))),n(t,a)},It=t=>{var a=Is(),m=o(f(a),2),P=w(m);d(a),D(()=>h(P,`${e(i)??""}’s own conversation. You’re watching; Firstmate steers it.`)),n(t,a)};C(He,t=>{s.discussion?t(Et):t(It,-1)})}var Ye=o(He,2);{var At=t=>{var a=As(),m=o(f(a)),P=w(m);d(a),D(()=>h(P,`You asked ${e(i)??""} to stop after its current step. It waits until you resume it.`)),n(t,a)};C(Ye,t=>{s.discussion?.paused&&t(At)})}var ge=o(Ye,2),Ue=f(ge);{var Lt=t=>{var a=Ls(),m=f(a);ws(m,{get task(){return s.task}}),d(a),n(t,a)};C(Ue,t=>{s.task&&s.discussion&&t(Lt)})}var je=o(Ue,2);{var Rt=t=>{var a=lt(),m=w(a,!0);D(()=>h(m,e(v).session.reason)),n(t,a)},Ft=t=>{var a=lt(),m=w(a);D(()=>h(m,`Wheelhouse has not found ${e(i)??""}’s conversation yet.${s.discussion?" What you send still reaches it.":""}`)),n(t,a)};C(je,t=>{e(v)?.session?.reason?t(Rt):e(v)?.synced&&!e(v).source&&t(Ft,1)})}var Je=o(je,2);{var Ot=t=>{var a=Rs(),m=w(a);D(()=>h(m,`Show its earlier work (${e(Z).earlier??""})`)),Oe("click",a,we),n(t,a)};C(Je,t=>{e(Z).earlier&&t(Ot)})}var Be=o(Je,2);Ve(Be,23,()=>e(Z).entries,(t,a)=>t.kind==="captain"?`c-${t.message.id}`:`${t.kind}-${t.item.id}-${a}`,(t,a,m)=>{var P=ze(),U=q(P);{var ie=p=>{const r=R(()=>e(a).message);var g=Ns(),O=o(f(g),2),l=f(O),z=o(f(l)),L=w(z,!0);d(l);var A=o(l,2);{var J=u=>{var x=Fs(),_=f(x),S=w(_,!0);d(x),D(()=>h(S,e(r).text)),n(u,x)},ce=u=>{var x=Os(),_=f(x);{var S=X=>{at(X,{class:"size-3.5","aria-hidden":"true"})},K=X=>{rt(X,{class:"size-3.5","aria-hidden":"true"})},W=X=>{it(X,{class:"size-3.5","aria-hidden":"true"})};C(_,X=>{e(r).kind==="pause"?X(S):e(r).kind==="resume"?X(K,1):X(W,-1)})}var fe=o(_,1,!0);d(x),D(()=>h(fe,xt[e(r).kind])),n(u,x)};C(A,u=>{e(r).kind==="say"?u(J):u(ce,-1)})}var te=o(A,2),oe=f(te);{var me=u=>{Me(u,{class:"size-3 animate-spin","aria-hidden":"true"})},ke=u=>{us(u,{class:"size-3","aria-hidden":"true"})},Y=u=>{_s(u,{class:"size-3 text-success","aria-hidden":"true"})},I=u=>{vs(u,{class:"size-3","aria-hidden":"true"})};C(oe,u=>{e(r).delivery==="sending"?u(me):e(r).delivery==="failed"?u(ke,1):e(r).seen?u(Y,2):u(I,-1)})}var M=o(oe,2),B=w(M,!0),ye=o(M,2);{var se=u=>{var x=Ms(),_=f(x);ms(_,{class:"size-3","aria-hidden":"true"}),$(),d(x),Oe("click",x,()=>_e(e(r).kind,e(r).text,e(r).id)),n(u,x)},ae=u=>{var x=dt(),_=w(x);D(()=>h(_,`· ${e(r).told==="sent"?"Firstmate told":e(r).told==="sending"?"telling Firstmate":e(r).told==="off"?"Firstmate not told (messaging is off)":"Firstmate could not be told"}`)),n(u,x)};C(ye,u=>{e(r).delivery==="failed"?u(se):e(r).delivery==="sent"&&u(ae,1)})}d(te),d(O),d(g),D((u,x,_)=>{N(g,"aria-label",`You, ${u??""}`),N(g,"data-crew-message",e(r).id),N(z,"datetime",e(r).at),h(L,x),Ht(te,1,`mt-1 flex flex-wrap items-center justify-end gap-x-2 font-mono text-[0.72rem] ${e(r).delivery==="failed"?"text-danger":"text-muted-foreground"}`),N(te,"data-receipt",e(r).delivery==="sent"?e(r).seen?"seen":"sent":e(r).delivery),h(B,_)},[()=>pe(e(r).at),()=>pe(e(r).at),()=>gt(e(r))]),n(p,g)},de=p=>{var r=qs(),g=f(r),O=o(f(g)),l=w(O,!0);d(g);var z=o(g,2),L=w(z,!0);d(r),D(A=>{N(O,"datetime",e(a).at),h(l,A),h(L,e(a).item.text)},[()=>pe(e(a).at)]),n(p,r)},j=p=>{const r=R(()=>e(a).item);var g=$s(),O=f(g),l=w(O,!0),z=o(O,2),L=f(z),A=f(L),J=w(A,!0),ce=o(A);{var te=Y=>{var I=dt(),M=w(I,!0);D(()=>h(M,e(V))),n(Y,I)};C(ce,Y=>{e(V)&&Y(te)})}var oe=o(ce),me=w(oe,!0);d(L);var ke=o(L,2);Ve(ke,19,()=>e(r).parts,Y=>Y.id,(Y,I,M)=>{var B=ze(),ye=q(B);{var se=_=>{var S=Ts(),K=f(S);Yt(K,()=>Ut(e(I).text),!0),d(K),d(S),n(_,S)},ae=R(()=>e(I).kind==="text"&&e(I).text.trim()),u=_=>{{let S=R(()=>!e(r).done&&e(M)===e(r).parts.length-1&&e(m)===e(Z).entries.length-1);is(_,{get steps(){return e(I).steps},get live(){return e(S)}})}},x=_=>{var S=Ws(),K=f(S);$(),d(S),D(W=>h(K,`It asked in its session: ${W??""} `),[()=>e(I).questions.map(W=>W.question).join(" ")]),n(_,S)};C(ye,_=>{e(ae)?_(se):e(I).kind==="activity"?_(u,1):e(I).kind==="question"&&_(x,2)})}n(Y,B)}),d(z),d(g),D((Y,I,M,B)=>{N(g,"aria-label",`${e(i)??""}, ${Y??""}`),N(O,"data-hue",I),h(l,M),h(J,e(i)),N(oe,"datetime",e(r).at),h(me,B)},[()=>pe(e(r).at),()=>Ze(e(i)),()=>et(e(i)),()=>pe(e(r).at)]),n(p,g)},xe=p=>{var r=Hs(),g=w(r,!0);D(()=>h(g,e(a).item.text)),n(p,r)},ne=p=>{var r=Ys(),g=w(r);D(O=>h(g,`${e(a).item.title??""} · ${O??""}`),[()=>pe(e(a).item.at)]),n(p,r)};C(U,p=>{e(a).kind==="captain"?p(ie):e(a).kind==="firstmate"?p(de,1):e(a).item.kind==="turn"?p(j,2):e(a).item.kind==="output"?p(xe,3):e(a).item.kind==="notice"&&p(ne,4)})}n(t,P)}),d(Be),d(ge),Jt(ge,t=>k(ee,t),()=>e(ee));var Ge=o(ge,2);{var Mt=t=>{var a=Us(),m=f(a),P=f(m);st(P,{class:"size-3.5","aria-hidden":"true"}),$(),d(m);var U=o(m,2);ns(U,{get task(){return s.task},lines:16}),d(a),n(t,a)};C(Ge,t=>{e(he)&&s.task&&t(Mt)})}var Nt=o(Ge,2);{var qt=t=>{var a=Ks(),m=q(a),P=f(m),U=o(f(P),2);{let p=R(()=>!!e(y)),r=R(()=>e(y)??void 0);re(U,{variant:"outline",size:"sm",get disabled(){return e(p)},get title(){return e(r)},onclick:()=>k(Se,!0),"data-chat-with-crew":!0,children:(g,O)=>{var l=js(),z=q(l);xs(z,{}),$(),n(g,l)},$$slots:{default:!0}})}d(P);var ie=o(P,2),de=w(ie,!0),j=o(ie,2);{var xe=p=>{var r=ct(),g=w(r,!0);D(()=>h(g,e(H))),n(p,r)};C(j,p=>{e(H)&&p(xe)})}d(m);var ne=o(m,2);ue(ne,()=>rs,(p,r)=>{r(p,{get open(){return e(Se)},set open(g){k(Se,g,!0)},children:(g,O)=>{var l=ze(),z=q(l);ue(z,()=>Zt,(L,A)=>{A(L,{class:"sm:max-w-md",children:(J,ce)=>{var te=Gs(),oe=q(te);ue(oe,()=>es,(I,M)=>{M(I,{children:(B,ye)=>{var se=ut(),ae=q(se);ue(ae,()=>ts,(x,_)=>{_(x,{class:"font-display text-lg",children:(S,K)=>{$();var W=Fe();D(()=>h(W,`Talk to ${e(i)??""} directly?`)),n(S,W)},$$slots:{default:!0}})});var u=o(ae,2);ue(u,()=>ss,(x,_)=>{_(x,{children:(S,K)=>{$();var W=Fe(`You’ll message this task’s worker yourself, outside Firstmate’s usual relay. What you
|
|
5
|
+
say goes to its inbox as yours, it can answer you here, and Firstmate gets a note of
|
|
6
|
+
each message so it stays in step. End the discussion when you’re done; most of the time,
|
|
7
|
+
talk to Firstmate.`);n(S,W)},$$slots:{default:!0}})}),n(B,se)},$$slots:{default:!0}})});var me=o(oe,2);{var ke=I=>{var M=Js(),B=w(M,!0);D(()=>h(B,e(H))),n(I,M)};C(me,I=>{e(H)&&I(ke)})}var Y=o(me,2);ue(Y,()=>as,(I,M)=>{M(I,{children:(B,ye)=>{var se=ut(),ae=q(se);{const x=(_,S)=>{re(_,Ce(()=>(S?.()).props,{variant:"ghost",children:(W,fe)=>{$();var X=Fe("Cancel");n(W,X)},$$slots:{default:!0}}))};ue(ae,()=>Vt,(_,S)=>{S(_,{child:x,$$slots:{child:!0}})})}var u=o(ae,2);re(u,{onclick:pt,get disabled(){return e(De)},"data-crew-confirm":!0,children:(x,_)=>{var S=Bs(),K=q(S);{var W=fe=>{Me(fe,{class:"animate-spin"})};C(K,fe=>{e(De)&&fe(W)})}$(),n(x,S)},$$slots:{default:!0}}),n(B,se)},$$slots:{default:!0}})}),n(J,te)},$$slots:{default:!0}})}),n(g,l)},$$slots:{default:!0}})}),D(()=>h(de,e(y)??"You’ll be asked to confirm first: you talk to the worker directly.")),n(t,a)},Tt=t=>{var a=ea(),m=f(a),P=f(m);re(P,{variant:"outline",size:"sm",onclick:()=>_e("status"),"data-quick":"status",children:(l,z)=>{var L=Xs(),A=q(L);it(A,{}),$(),n(l,L)},$$slots:{default:!0}});var U=o(P,2);{var ie=l=>{re(l,{variant:"outline",size:"sm",onclick:()=>_e("resume"),"data-quick":"resume",children:(z,L)=>{var A=Qs(),J=q(A);rt(J,{}),$(),n(z,A)},$$slots:{default:!0}})},de=l=>{re(l,{variant:"outline",size:"sm",onclick:()=>_e("pause"),"data-quick":"pause",children:(z,L)=>{var A=Vs(),J=q(A);at(J,{}),$(),n(z,A)},$$slots:{default:!0}})};C(U,l=>{s.discussion.paused?l(ie):l(de,-1)})}var j=o(U,2);{var xe=l=>{re(l,{variant:"outline",size:"sm",get"aria-pressed"(){return e(he)},onclick:()=>k(he,!e(he)),"data-quick":"terminal",children:(z,L)=>{var A=Zs(),J=q(A);st(J,{});var ce=o(J);D(()=>h(ce,`${e(he)?"Hide":"Show"} its terminal`)),n(z,A)},$$slots:{default:!0}})};C(j,l=>{s.task&&l(xe)})}d(m);var ne=o(m,2),p=f(ne);Wt(p);var r=o(p,2);{let l=R(()=>!e(G).trim());re(r,{type:"submit",size:"icon",class:"rounded-full",get disabled(){return e(l)},"aria-label":"Send",children:(z,L)=>{fs(z,{})},$$slots:{default:!0}})}d(ne);var g=o(ne,4);{var O=l=>{var z=ct(),L=w(z,!0);D(()=>h(L,e(H))),n(l,z)};C(g,l=>{e(H)&&l(O)})}d(a),D(()=>{N(p,"placeholder",`Message ${e(i)??""} directly`),N(p,"aria-label",`Message ${e(i)??""} directly`)}),Qe("submit",ne,l=>{l.preventDefault(),Te()}),Oe("keydown",p,ht),jt(p,()=>e(G),l=>k(G,l)),n(t,a)};C(Nt,t=>{s.discussion?t(Tt,-1):t(qt)})}d(ve),D((t,a,m)=>{N(ve,"aria-label",s.discussion?`Crew discussion with ${e(i)}`:`${e(i)}’s conversation`),N(ve,"data-discussion",s.discussion?e(i):void 0),N(ve,"data-task-chat",e(i)),N(Ie,"data-hue",t),h(kt,a),N(Re,"href",`/tasks/${m??""}`),h(yt,e(i)),h(bt,s.task?.title??s.discussion?.title??""),h(Dt,`${e(V)??"Worker"??""}${s.task?` · ${s.task.statusLabel}`:" · no longer in the fleet"}`)},[()=>Ze(e(i)),()=>et(e(i)),()=>encodeURIComponent(e(i))]),Qe("scroll",ge,()=>{e(ee)&&(We=e(ee).scrollTop+e(ee).clientHeight>=e(ee).scrollHeight-40)}),n(E,ve),mt()}$t(["click","keydown"]);export{Na as D,ws as T,xs as U};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./DsnmJJEf.js";import{s as $,r as y}from"./DQWg__9S.js";import{I as h}from"./DE0e4nJ8.js";import{d as k,i as m,k as g}from"./Jk-ASPRO.js";import{a as w,s as S}from"./CVUv3vK_.js";var A=new Set(["$$slots","$$events","$$legacy"]);function M(e,t){let o=y(t,A);const r={name:"monitor-play",size:24,node:[["path",{d:"M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z"}],["path",{d:"M12 17v4"}],["path",{d:"M8 21h8"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2"}]]};h(e,$(()=>o,{get icon(){return r}}))}const b="_fleet",D=/^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/,p=e=>D.test(e)&&!/^\.+$/.test(e);function H(e,t="document"){return e.normalize("NFKD").replace(/[̀-ͯ]/g,"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,80).replace(/-+$/,"")||t}function x(e){return e.trim().replace(/^#+/,"").toLowerCase().replace(/\s+/g,"-").replace(/[^\p{L}\p{N}._-]/gu,"")}const U=e=>`/records/${e.split("/").map(encodeURIComponent).join("/")}`,_=e=>`/prototypes/${e.split("/").map(encodeURIComponent).join("/")}`,Z=e=>`/library/${e.split("/").map(encodeURIComponent).join("/")}`,B=e=>`/r/${encodeURIComponent(e)}`,O=e=>e===b?"Fleet":e,s=String.raw`[A-Za-z0-9][A-Za-z0-9._-]{0,127}`,l=String.raw`[a-z0-9_][a-z0-9._-]{0,127}`,v=new RegExp([String.raw`(?:^|[\s(\[<"'\`/])data\/(${s})\/report\.md\b`,String.raw`(?:^|[\s(\[<"'\`=])\/?records\/(${s})\/(${s})(?:@(${s}))?(?![\w/.-])`,String.raw`record=(${s})\/(${s})(?:@(${s}))?`,String.raw`(?:^|[\s(\[<"'\`])\/r\/(${s})(?![\w/.-])`,String.raw`(?:^|[\s(\[<"'\`=])\/?library\/(${l})\/(${l})\/(${l})(?:\.md)?(?![\w/-])`,String.raw`(?:^|[\s(\[<"'\`=])\/?prototypes?\/(${s})\/(${s})\/(${s})(?![\w/-])`].join("|"),"gm");function F(e){const t=[],o=new Set,r=n=>{const a=JSON.stringify(n);o.has(a)||(o.add(a),t.push(n))};for(const n of e.matchAll(v)){const a=c=>c?`@${c}`:"";n[1]&&p(n[1])?r({kind:"task",task:n[1]}):n[2]?r({kind:"record",key:`${n[2]}/${n[3]}${a(n[4])}`}):n[5]?r({kind:"record",key:`${n[5]}/${n[6]}${a(n[7])}`}):n[8]&&p(n[8])?r({kind:"task",task:n[8]}):n[9]?r({kind:"library",key:`${n[9]}/${n[10]}/${n[11].replace(/\.md$/,"")}`}):n[12]&&r({kind:"prototype",id:`${n[12]}/${n[13]}/${n[14]}`})}return t}function I(e,t){if(t.kind==="task"){const r=f(e,t.task);return r?{kind:"record",record:r}:null}if(t.kind==="record"){const r=e.records.find(n=>n.key===t.key);return r?{kind:"record",record:r}:null}if(t.kind==="library"){const r=e.library.find(n=>n.key===t.key);return r?{kind:"library",doc:r}:null}const o=e.prototypes.find(r=>r.id===t.id);return o?{kind:"prototype",prototype:o}:null}function f(e,t){const[o,r=null]=t.split("@");return e.records.find(n=>n.task===o&&n.mate===r)??null}function T(e,t){const[o,r=null]=t.split("@");return e.prototypes.filter(n=>n.task===o&&n.mate===r)}function G(e,t=!0){const o=new Date(e);if(Number.isNaN(o.getTime()))return"";const r=o.toLocaleDateString("en-GB",{day:"numeric",month:"short"});return t?`${r} · ${o.toLocaleTimeString("en-GB",{hour:"2-digit",minute:"2-digit"})}`:r}const K={running:"running",stopped:"stopped · can relaunch",gone:"files gone"};function J(e,t){if(!t)return e;const o=_(t);return e.replace(/(\]\(\s*<?)(?:\.\/)?prototype(?:\/[^)\s>]*)?(?=[>)\s])/g,`$1${o}`).replace(/((?:src|href)\s*=\s*["'])(?:\.\/)?prototype(?:\/[^"']*)?(?=["'])/gi,`$1${o}`)}const z=6e4,u=e=>!!e&&typeof e=="object"&&["records","prototypes","library"].every(t=>Array.isArray(e[t]));class L{#t=k(null);get value(){return m(this.#t)}set value(t){g(this.#t,t,!0)}loadedAt=0;loading=null;want(){typeof window>"u"||this.loading||this.value&&Date.now()-this.loadedAt<z||(this.loading=fetch("/api/documents",{cache:"no-store"}).then(t=>t.ok?t.json():null).then(t=>{u(t)&&(this.value=t),this.loadedAt=Date.now()}).catch(()=>{}).finally(()=>this.loading=null))}seed(t){u(t)&&(this.value=t,this.loadedAt=Date.now())}stale(){this.loadedAt=0,this.want()}recordFor(t){return this.want(),this.value?f(this.value,t):null}prototypesFor(t){return this.want(),this.value?T(this.value,t):[]}mentioned(t){const o=F(t);if(!o.length)return[];this.want();const r=this.value;if(!r)return[];const n=[],a=[];for(const c of o){const i=I(r,c);if(!i)continue;const d=`${i.kind}:${i.kind==="record"?i.record.key:i.kind==="library"?i.doc.key:i.prototype.id}`;a.includes(d)||(a.push(d),n.push(i))}return n}}const P=new L;async function V(e,t){const o=await w("/api/firstmate/input",t,{text:e});return o.ok?o:S(e,t)}export{b as F,M,K as S,V as a,P as b,H as c,G as d,B as e,J as f,Z as l,_ as p,U as r,O as s,x as t};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as r,b as l}from"./Dc0ohDnQ.js";const f=7;function h(e,t,o){const s=e.filter(n=>!r(n)&&l(n,o)),d=o-f*864e5,a=t.filter(n=>Date.parse(n.decidedAt)>=d).sort((n,i)=>Date.parse(i.decidedAt)-Date.parse(n.decidedAt));return{open:s,made:a,count:s.length+a.length}}const c=e=>e.length>90?e.slice(0,87).trimEnd()+"…":e;function k(e){const t=e.calls[0],o=`I'd decide differently on "${c(t?.question??e.taskTitle)}" (your call: ${t?.verdict??e.verdict}). `;return`/?chat=${encodeURIComponent(e.taskId)}&draft=${encodeURIComponent(o)}`}const p=e=>`/?decision=${encodeURIComponent(e)}`;function u(e){const t=e.secondMate?.taskId?`${e.secondMate.taskId}@${e.secondMate.id}`:e.taskId,s=`About decision ${e.kind==="hold"?e.key:`${e.taskId}, key ${e.key}`} (“${c(e.title)}”), not an answer yet: `;return`/?chat=${encodeURIComponent(t)}&draft=${encodeURIComponent(s)}`}export{k as a,u as c,p as d,h};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./DsnmJJEf.js";import{p as N,q as v,i as c,k as f,v as y,f as U,s as P,t as j,a as S,b as F,j as _,d as g,o as W,c as T}from"./Jk-ASPRO.js";import{s as x}from"./DTApYZoW.js";import{i as C}from"./BEVJas-l.js";import{a as D}from"./DNP6oCAK.js";import{b as R}from"./DLfKkHEy.js";import{p as E}from"./DQWg__9S.js";import{p as q}from"./CmX8kOuN.js";import{S as b}from"./BXN538J3.js";import{a as M}from"./BdjCJ4uL.js";async function J(r,e,a,o=`wh-${crypto.randomUUID()}`){try{const n=await fetch(`/api/plugins/${encodeURIComponent(r)}/feedback`,{method:"POST",headers:{"content-type":"application/json","idempotency-key":o,[b]:a},body:JSON.stringify(e)});if(n.ok){const t=await n.json().catch(()=>null);return t?.message?.delivery==="failed"?{ok:!1,error:t.message.deliveryDetail??"Firstmate did not take the list."}:{ok:!0,pending:n.status===202}}return{ok:!1,error:(await n.json().catch(()=>null))?.message??`Wheelhouse answered ${n.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}async function B(r,e,a){try{const o=await fetch(`/api/plugins/${encodeURIComponent(r)}/feedback/summary`,{method:"POST",headers:{"content-type":"application/json",[b]:a},body:JSON.stringify(e)}),n=await o.json().catch(()=>null);return o.ok&&Array.isArray(n?.points)?{ok:!0,points:n.points}:{ok:!1,error:n?.message??`Wheelhouse answered ${o.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}const H=r=>new URLSearchParams({plugin:r.plugin,service:r.service,...r.project?{project:r.project}:{}}).toString();async function z(r){try{const e=await fetch(`/api/services?${H(r)}`);return e.ok?await e.json():null}catch{return null}}async function L(r,e,a=null){const o=window.open("","_blank");try{o?.document.write('<!doctype html><title>Starting…</title><body style="font:15px system-ui;margin:3rem;color:#14213d;background:#f6f2e9">Wheelhouse is starting it; this tab opens it when it answers.</body>')}catch{}let n=null;try{const t=await fetch("/api/services",{method:"POST",headers:{"content-type":"application/json",[b]:e},body:JSON.stringify({plugin:r.plugin,service:r.service,project:r.project??null})});n=t.ok?await t.json():{...await t.json().catch(()=>({})),state:"failed",reason:`Wheelhouse could not start it (${t.status}).`}}catch{n=null}const s=n?.state==="running"?a??n.url:null;if(s){const t=M.view(s);o?o.location.href=t:window.open(t,"_blank")}else o?.close();return n}const G=5e3,k=new Map;function K(r,e){let a=k.get(r);return a||(a=e(r).catch(o=>{throw k.delete(r),o}),k.set(r,a)),a}const I=()=>typeof navigator>"u"||!navigator.userActivation?!0:navigator.userActivation.isActive;function Q(r,e){const a=r.pluginId,o=(s,t)=>{if(typeof s!="string"||!s)throw new TypeError("Name a service.");const i=t===void 0?r.projectId:t;return{plugin:a,service:s,project:typeof i=="string"&&i?i:null}},n=s=>{const t=typeof s=="object"&&s!==null?s:{},i=typeof t.task=="string"&&t.task?t.task:r.taskId??null;return i?{taskId:i,subject:typeof t.subject=="string"?t.subject:null,items:Array.isArray(t.items)?t.items:[]}:null};return Object.freeze({pluginId:a,service:async(s,t={})=>e.status(o(s,t.project)),launch:async(s,t={})=>e.launch(o(s,t.project),e.token(),typeof t.open=="string"?t.open:null),sendFeedback:async s=>{if(!(e.clicked??I)())return{ok:!1,error:"Feedback is sent only when the captain clicks to send it."};const t=n(s);return t?e.feedback(a,t,e.token()):{ok:!1,error:"Name the task the feedback is about."}},summariseFeedback:async s=>{if(!(e.clicked??I)())return{ok:!1,error:"Feedback is summarised only when the captain clicks to."};if(!e.summarise)return{ok:!1,error:"This page cannot summarise feedback."};const t=n(s);return t?e.summarise(a,t,e.token()):{ok:!1,error:"Name the task the feedback is about."}}})}async function V(r,e){if(!customElements.get(e.tag)){if(!e.ui)throw new Error("this Wheelhouse has no UI bundle for it");try{await K(e.ui,e.importer??(n=>import(n)))}catch(n){throw new Error(`its UI bundle did not load (${n instanceof Error?n.message:String(n)})`)}let o;try{await Promise.race([customElements.whenDefined(e.tag),new Promise((n,s)=>{o=setTimeout(()=>s(new Error(`its UI bundle does not define <${e.tag}>`)),e.timeoutMs??G)})])}finally{clearTimeout(o)}}const a=document.createElement(e.tag);return e.host&&(a.host=e.host),a.entry=e.entry,a.data=e.data,r.append(a),a}var X=T('<p class="text-sm text-muted-foreground"> </p>'),Y=T('<div class="contents"></div> <!>',1);function ce(r,e){N(e,!0);let a=E(e,"preview",3,void 0),o=E(e,"quiet",3,!1);const n=_(()=>"element"in e.entry.render?e.entry.render.element:""),s=_(()=>e.entry.ui??null);let t=g(null),i=g(null),m=g(null);v(()=>{if(!c(t)||!c(n))return;const l=c(t);let u=!1,h=null;return f(m,null),V(l,{tag:c(n),ui:c(s),data:y(()=>e.data),entry:y(()=>e.entry),host:Q(y(()=>e.entry),{status:z,launch:L,feedback:J,summarise:B,token:()=>q.data.sessionToken??""}),importer:e.importer}).then(d=>{h=d,u?d.remove():f(i,d,!0)},d=>{u||f(m,d.message,!0)}),()=>{u=!0,h?.remove(),f(i,null)}}),v(()=>{c(i)&&(a()!==void 0&&(c(i).preview=a()),c(i).entry=e.entry,c(i).data=e.data)});var w=Y(),p=U(w);R(p,l=>f(t,l),()=>c(t));var O=P(p,2);{var A=l=>{var u=X(),h=W(u);j(()=>x(h,`Not available. The ${e.entry.pluginId??""} plugin’s element could not be shown: ${c(m)??""}.`)),S(l,u)};C(O,l=>{c(m)&&!o()&&l(A)})}j(()=>D(p,"data-plugin-element",c(n))),S(r,w),F()}export{ce as P};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import"./DsnmJJEf.js";import{d as J,e as Le,i as e,k as te,p as Be,q as Fe,h as _,s as v,r as w,t as x,a as l,b as Ue,j as L,aA as We,o as X,x as _e,f as G,c as u,n as we}from"./Jk-ASPRO.js";import{d as Ke,s as q,a as oe}from"./DTApYZoW.js";import{i as m}from"./BEVJas-l.js";import{k as Ye}from"./CsFoEe5t.js";import{s as ee,a as k,c as Ve,j as be}from"./DNP6oCAK.js";import{b as Pe,M as $e}from"./BbLERgY7.js";import{b as Xe}from"./DLfKkHEy.js";import{s as qe,r as Ge,p as B}from"./DQWg__9S.js";import{b as Je,r as Oe}from"./Bw9VDV5E.js";import{a as le,f as Qe}from"./BdjCJ4uL.js";import{C as Ze}from"./fE4moRZ8.js";import{R as Ie}from"./BgsPzvvM.js";import{E as xe}from"./gEZHG5dd.js";import{M as et}from"./BK_MXWSk.js";import{I as tt}from"./DE0e4nJ8.js";var at=new Set(["$$slots","$$events","$$legacy"]);function Ae(n,t){let a=Ge(t,at);const s={name:"monitor-off",size:24,node:[["path",{d:"M12 17v4"}],["path",{d:"M17 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 1.184-1.826"}],["path",{d:"m2 2 20 20"}],["path",{d:"M8 21h8"}],["path",{d:"M8.656 3H20a2 2 0 0 1 2 2v10a2 2 0 0 1-.293 1.042"}]]};tt(n,qe(()=>a,{get icon(){return s}}))}const rt=15e3,nt=n=>`url:${n}`,it=n=>n.startsWith("url:")?`/api/previews/check?url=${encodeURIComponent(n.slice(4))}`:`/api/tasks/${encodeURIComponent(n)}/preview`,st=5e3;class ot{#e=J(Le({}));get checks(){return e(this.#e)}set checks(t){te(this.#e,t,!0)}#t=J(Le({}));get failed(){return e(this.#t)}set failed(t){te(this.#t,t,!0)}watching=new Map;running=new Map;unlisten=null;stopped(t){return this.checks[t]?.state==="down"}watch(t){const a=this.watching.get(t);a?a.count++:(this.watching.set(t,{count:1,timer:null}),this.refresh(t)),this.listen();let s=!1;return()=>{if(s)return;s=!0;const y=this.watching.get(t);!y||--y.count>0||(y.timer&&clearTimeout(y.timer),this.watching.delete(t),this.watching.size||(this.unlisten?.(),this.unlisten=null))}}refresh(t){const a=this.running.get(t);if(a)return a;const s=this.load(t).finally(()=>{this.running.delete(t),this.schedule(t)});return this.running.set(t,s),s}clear(){for(const t of this.watching.values())t.timer&&clearTimeout(t.timer);this.watching.clear(),this.unlisten?.(),this.unlisten=null,this.checks={},this.failed={}}async load(t){try{const a=await fetch(it(t));if(!a.ok)throw new Error(String(a.status));this.checks[t]=await a.json(),this.failed[t]=!1}catch{this.failed[t]=!0}}schedule(t){const a=this.watching.get(t);if(!a)return;a.timer&&clearTimeout(a.timer);const s=this.checks[t]?.state==="live"?rt:st;a.timer=setTimeout(()=>{a.timer=null,document.visibilityState!=="hidden"&&this.refresh(t)},s)}listen(){if(this.unlisten)return;const t=()=>{if(document.visibilityState!=="hidden")for(const a of this.watching.keys())this.refresh(a)};window.addEventListener("focus",t),document.addEventListener("visibilitychange",t),this.unlisten=()=>{window.removeEventListener("focus",t),document.removeEventListener("visibilitychange",t)}}}const ce=new ot,Zt=500,ae=n=>n.replace(/\s+/g," ").trim(),lt=(n,t)=>n.length>t?n.slice(0,t-1).trimEnd()+"…":n;function ke(n){const t=n.y<.3333333333333333?"top":n.y<.6666666666666666?"middle":"bottom",a=n.x<1/3?"left":n.x<2/3?"":"right";return t==="middle"&&!a?"the middle":`the ${t}${a?` ${a}`:""}`}const ct={button:"button",a:"link",input:"box",textarea:"box",select:"menu",img:"picture",h1:"heading",h2:"heading",h3:"heading",h4:"heading",label:"label",li:"item"};function dt(n,t,a){const s=n?.closest('button, a, input, textarea, select, img, h1, h2, h3, h4, label, li, [role="button"]')??n;if(s&&s.tagName!=="HTML"&&s.tagName!=="BODY"){const y=s.tagName.toLowerCase(),E=s.getAttribute("role")==="button"?"button":ct[y]??"part of the page",T=lt(ae(s.value||s.getAttribute("aria-label")||s.getAttribute("alt")||s.textContent||""),60);return{kind:"element",label:T?`the “${T}” ${E}`:`a ${E} near ${ke(t)}`,detail:`<${y}>${T?` “${T}”`:""}, near ${ke(t)} of the page`}}return{kind:"spot",label:`a spot near ${ke(t)} of the page`,detail:`${Math.round(t.x*100)}% across and ${Math.round(t.y*100)}% down the part of the page in view (${a.w}×${a.h})`}}const ut=/^Preview feedback for (\S+) \((.+)\), sent together from the Preview tab \(([^)\n]*)\):$/,ht=/^Feedback for (\S+) \((.+)\), sent together from the “([^“”\n]+)” plugin \(([a-z][a-z0-9-]*)\)(?:, about (.+))?:$/,vt="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.",pt=n=>n.flatMap((t,a)=>[`${a+1}. ${ae(t.text)}`,...t.points&&ae(t.points)?[` Points at: ${ae(t.points)}`]:[]]);function It(n,t,a){return[`Preview feedback for ${n.id} (${ae(n.title)}), sent together from the Preview tab (${t}):`,...pt(a.map(s=>({text:s.text,points:s.points?.label??null}))),"",vt].join(`
|
|
2
|
+
`)}function ea(n){const t=n.replace(/\r\n?/g,`
|
|
3
|
+
`).split(`
|
|
4
|
+
`),a=ut.exec(t[0]??""),s=a?null:ht.exec(t[0]??""),y=a??s;if(!y)return null;const E=[];for(const T of t.slice(1)){const F=/^\d+\. (.+)$/.exec(T);if(F){E.push({text:F[1],points:null});continue}const re=/^ {3}Points at: (.+)$/.exec(T);re&&E.length&&(E[E.length-1].points=re[1])}return E.length?{taskId:y[1],title:y[2],url:a?a[3]:null,plugin:s?{id:s[4],name:s[3],subject:s[5]??null}:null,items:E,...t[1]?.startsWith("Live review session:")?{live:!0}:{}}:null}var ft=u('<span class="inline-flex shrink-0 items-center gap-1" data-preview-translated=""><!><span class="max-md:sr-only"> </span></span>'),mt=u('<button type="button" class="rounded p-1 hover:bg-accent hover:text-foreground max-md:grid max-md:size-11 max-md:place-items-center"><!></button>'),gt=u('<a target="_blank" rel="noreferrer" class="inline-flex shrink-0 items-center gap-1 rounded px-1 py-0.5 text-sea hover:underline max-md:min-h-11">Open in new tab<!></a>'),_t=u('<button type="button" class="inline-flex shrink-0 items-center gap-1 rounded px-1.5 py-0.5 font-medium text-foreground hover:bg-accent max-md:min-h-11" data-preview-fullscreen=""><!>Full screen</button>'),wt=u('<div class="flex items-center gap-2 text-xs text-muted-foreground"><span class="min-w-0 flex-1 truncate font-mono"> </span> <!> <!> <!> <!></div>'),bt=u('<iframe referrerpolicy="no-referrer" loading="lazy"></iframe>'),xt=u('<button type="button" class="absolute inset-0 cursor-zoom-in" aria-label="Open the preview full size" data-preview-open=""><span class="absolute right-2.5 bottom-2.5 flex items-center gap-1.5 rounded-md border border-hair bg-card/95 px-2 py-1 text-xs font-medium text-foreground opacity-0 shadow-sm transition-opacity group-focus-within:opacity-100 group-hover:opacity-100"><!>Open full size</span></button>'),kt=u("<!> <!>",1),yt=u('<button type="button" class="absolute inset-0 cursor-crosshair bg-sea/5 ring-2 ring-sea ring-inset" aria-label="Point at part of the page" data-preview-pointing=""><span class="pointer-events-none absolute top-3 left-1/2 flex -translate-x-1/2 items-center gap-2 rounded-full bg-sea px-3.5 py-1.5 text-sm text-on-accent shadow-lg"><!>Click the part you mean</span></button>'),zt=u('<span class="pointer-events-none absolute size-5 -translate-x-1/2 -translate-y-1/2 rounded-full border-2 border-white bg-sea shadow-md ring-2 ring-sea/40" aria-hidden="true" data-preview-pin=""></span>'),Ct=u('<iframe referrerpolicy="no-referrer"></iframe> <!>',1),Mt=u('<span class="block text-xs"> </span>'),Et=u('<a target="_blank" rel="noreferrer" class="relative z-10 mt-1 inline-flex items-center gap-1 text-xs text-sea hover:underline" data-preview-newtab="">Open in new tab<!></a>'),Lt=u('<a class="relative z-10 mt-1 inline-block text-xs text-sea hover:underline" data-preview-report="">Open the report</a>'),Pt=u('<div class="flex items-start gap-2.5 px-4 py-3 text-muted-foreground" data-preview-notice=""><!> <p class="min-w-0 text-sm"><span> </span> <!> <!> <!></p></div>'),$t=u('<p class="text-sm"> </p>'),Ot=u('<a target="_blank" rel="noreferrer" class="mt-2 inline-flex items-center gap-1 text-sm text-sea hover:underline" data-preview-newtab="">Open in new tab<!></a>'),At=u('<a class="mt-2 inline-block text-sm text-sea hover:underline" data-preview-report="">Open the report</a>'),Ht=u('<!> <p class="mt-2 text-sm font-medium"> </p> <p class="mt-1 text-xs"> </p> <!> <!>',1),St=u('<div class="grid size-full place-items-center p-4 text-center text-muted-foreground" data-preview-notice=""><div><!></div></div>'),Tt=u("<div><!> <div><!></div></div>");function ta(n,t){Be(t,!0);let a=B(t,"taskId",3,null),s=B(t,"url",3,null),y=B(t,"compact",3,!1),E=B(t,"fill",3,!1),T=B(t,"desktop",3,!1),F=B(t,"toolbar",3,!0),re=B(t,"pointing",3,!1),de=B(t,"pin",3,null),ue=J(null);function He(p){const d=p.currentTarget.getBoundingClientRect(),P=p.clientX-d.left,S=p.clientY-d.top;let C=null;const R=e(pe)?e(U):1;try{C=e(ue)?.contentDocument?.elementFromPoint(P/R,S/R)??null}catch{C=null}const N={x:d.width?P/d.width:0,y:d.height?S/d.height:0};t.onpoint?.(dt(C,N,{w:Math.round(d.width),h:Math.round(d.height)}),N)}const ne={w:1280,h:800};let ye=J(0),he=J(0),ze=J(0);const ie=L(()=>a()??nt(s()??""));Fe(()=>ce.watch(e(ie)));const g=L(()=>ce.checks[e(ie)]??null),ve=L(()=>!!ce.failed[e(ie)]),D=L(()=>e(g)?.state==="live"),j=L(()=>e(g)?.url??null),z=L(()=>e(j)&&e(g)?le.view(e(j)):null),Ce=L(()=>e(z)?Qe(e(z),location.origin):""),U=L(()=>e(he)?e(he)/ne.w:0),pe=L(()=>E()&&T()&&e(U)>0&&e(U)<1);function Me(){We(ye),ce.refresh(e(ie))}var Se={reload:Me},Q=Tt(),Ee=_(Q);{var Te=p=>{var d=wt(),P=_(d),S=X(P,!0),C=v(P,2);{var R=c=>{var o=ft(),i=_(o);Ze(i,{class:"size-3.5","aria-hidden":"true"});var r=v(i),b=X(r,!0);w(o),x($=>{k(o,"title",$),q(b,le.remote?"via Wheelhouse Cloud":"translated")},[()=>le.where(e(z))]),l(c,o)};m(C,c=>{e(z)&&e(j)&&e(z)!==e(j)&&le.translating&&c(R)})}var N=v(C,2);{var I=c=>{var o=mt(),i=_(o);Ie(i,{class:"size-3.5"}),w(o),x(()=>{k(o,"aria-label",e(D)?"Reload the preview":"Check the preview again"),k(o,"title",e(D)?"Reload":"Check again")}),oe("click",o,Me),l(c,o)};m(N,c=>{(e(D)||e(g)?.state==="blocked"||e(g)?.state==="down")&&c(I)})}var A=v(N,2);{var M=c=>{var o=gt(),i=v(_(o));xe(i,{class:"size-3.5","aria-hidden":"true"}),w(o),x(()=>k(o,"href",e(z))),l(c,o)};m(A,c=>{(e(D)||e(g)?.state==="blocked")&&c(M)})}var h=v(A,2);{var H=c=>{var o=_t(),i=_(o);$e(i,{class:"size-3.5","aria-hidden":"true"}),we(),w(o),oe("click",o,function(...r){t.onfullscreen?.apply(this,r)}),l(c,o)};m(h,c=>{t.onfullscreen&&e(D)&&c(H)})}w(d),x(()=>{k(P,"title",e(j)??void 0),q(S,e(j)??"Live preview")}),l(p,d)};m(Ee,p=>{F()&&p(Te)})}var Z=v(Ee,2),Re=_(Z);{var Ne=p=>{var d=_e(),P=G(d);Ye(P,()=>`${e(z)} ${e(ye)}`,S=>{var C=_e(),R=G(C);{var N=A=>{var M=kt(),h=G(M);{var H=i=>{var r=bt();x(()=>{k(r,"src",e(z)),k(r,"title",`Live preview of ${e(j)??""}`),k(r,"sandbox",e(Ce)),r.inert=!!t.onopen,ee(r,1,`absolute top-0 left-0 origin-top-left border-0 bg-white ${t.onopen?"pointer-events-none":""}`),be(r,`width:${ne.w}px;height:${ne.h}px;transform:scale(${e(U)??""})`)}),l(i,r)};m(h,i=>{e(U)&&i(H)})}var c=v(h,2);{var o=i=>{var r=xt(),b=_(r),$=_(b);$e($,{class:"size-3.5","aria-hidden":"true"}),we(),w(b),w(r),oe("click",r,function(...W){t.onopen?.apply(this,W)}),l(i,r)};m(c,i=>{t.onopen&&i(o)})}l(A,M)},I=A=>{var M=Ct(),h=G(M);Xe(h,i=>te(ue,i),()=>e(ue));var H=v(h,2);{var c=i=>{var r=yt(),b=_(r),$=_(b);et($,{class:"size-4","aria-hidden":"true"}),we(),w(b),w(r),oe("click",r,He),l(i,r)},o=i=>{var r=zt();x(()=>be(r,`left:${de().x*100}%;top:${de().y*100}%`)),l(i,r)};m(H,i=>{re()?i(c):de()&&i(o,1)})}x(()=>{k(h,"src",e(z)),k(h,"title",`Live preview of ${e(j)??""}`),k(h,"sandbox",e(Ce)),ee(h,1,Ve(e(pe)?"absolute top-0 left-0 origin-top-left border-0 bg-white":"size-full border-0 bg-white")),be(h,e(pe)?`width:${ne.w}px;height:${e(ze)/e(U)}px;transform:scale(${e(U)})`:void 0)}),l(A,M)};m(R,A=>{y()?A(N):A(I,-1)})}l(S,C)}),l(p,d)},De=p=>{const d=L(()=>!e(g)&&!e(ve)),P=L(()=>e(d)?"Checking the preview…":e(ve)?"Could not check the preview":e(g)?.state==="down"?"Preview stopped":e(g)?.state==="blocked"?"Preview cannot be embedded":e(g)?.state==="refused"?"Preview not shown here":"No live preview reported"),S=L(()=>e(d)?"":e(ve)?"Wheelhouse did not answer; it will try again.":e(g)?.state==="blocked"?`${e(g).reason} Open it in a new tab instead.`:e(g)?.reason??""),C=L(()=>e(g)?.state==="down"&&a()?Je.recordFor(a()):null);var R=_e(),N=G(R);{var I=M=>{var h=Pt(),H=_(h);{var c=f=>{Ae(f,{class:"mt-0.5 size-4 shrink-0","aria-hidden":"true"})};m(H,f=>{e(d)||f(c)})}var o=v(H,2),i=_(o),r=X(i,!0),b=v(i,2);{var $=f=>{var O=Mt(),K=X(O,!0);x(()=>q(K,e(S))),l(f,O)};m(b,f=>{e(S)&&f($)})}var W=v(b,2);{var fe=f=>{var O=Et(),K=v(_(O));xe(K,{class:"size-3","aria-hidden":"true"}),w(O),x(()=>k(O,"href",e(z))),l(f,O)};m(W,f=>{e(g)?.state==="blocked"&&e(z)&&!F()&&f(fe)})}var se=v(W,2);{var me=f=>{var O=Lt();x(K=>k(O,"href",K),[()=>Oe(e(C).key)]),l(f,O)};m(se,f=>{e(C)&&f(me)})}w(o),w(h),x(()=>{ee(i,1,`font-medium ${e(d)?"":"text-foreground"}`),q(r,e(P))}),l(M,h)},A=M=>{var h=St(),H=_(h),c=_(H);{var o=r=>{var b=$t(),$=X(b,!0);x(()=>q($,e(P))),l(r,b)},i=r=>{var b=Ht(),$=G(b);Ae($,{class:"mx-auto size-6","aria-hidden":"true"});var W=v($,2),fe=X(W,!0),se=v(W,2),me=X(se,!0),f=v(se,2);{var O=Y=>{var V=Ot(),ge=v(_(V));xe(ge,{class:"size-3.5","aria-hidden":"true"}),w(V),x(()=>k(V,"href",e(z))),l(Y,V)};m(f,Y=>{e(g)?.state==="blocked"&&e(z)&&!F()&&Y(O)})}var K=v(f,2);{var je=Y=>{var V=At();x(ge=>k(V,"href",ge),[()=>Oe(e(C).key)]),l(Y,V)};m(K,Y=>{e(C)&&Y(je)})}x(()=>{q(fe,e(P)),q(me,e(S))}),l(r,b)};m(c,r=>{e(d)?r(o):r(i,-1)})}w(H),w(h),l(M,h)};m(N,M=>{y()?M(I):M(A,-1)})}l(p,R)};m(Re,p=>{e(D)&&e(z)?p(Ne):p(De,-1)})}return w(Z),w(Q),x(()=>{ee(Q,1,`min-w-0 ${E()?"flex h-full flex-col":""}`),k(Q,"data-live-preview",e(g)?.state??"checking"),ee(Z,1,`group relative w-full overflow-hidden bg-muted/40 ${F()?"mt-1.5 rounded-lg border":""} ${y()?e(D)?"aspect-[16/10]":"":E()?"min-h-0 flex-1":e(D)?"h-[70vh] min-h-80":"h-40"}`)}),Pe(Z,"clientWidth",p=>te(he,p)),Pe(Z,"clientHeight",p=>te(ze,p)),l(n,Q),Ue(Se)}Ke(["click"]);export{ta as L,Ae as M,Zt as a,It as b,ea as c,ce as p,nt as u};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{l as ee}from"./D5NdSrls.js";import{S as ae}from"./BXN538J3.js";import"./DsnmJJEf.js";import{h,s as f,r as b,n as te,t as k,a as l,c as u,p as se,x as L,f as W,i,o as D,b as oe}from"./Jk-ASPRO.js";import{s as z}from"./DTApYZoW.js";import{i as g}from"./BEVJas-l.js";import{s as A,e as H,c as J,b as re,d as ie,r as ne,a as le}from"./DNP6oCAK.js";import{L as Y}from"./D73wi9-q.js";import{C as B}from"./c9k4nDgn.js";import{b as pe}from"./CNxxt--f.js";import{p as G}from"./DQWg__9S.js";async function d(e,a,s){try{const p=await fetch(e,a===null?void 0:{method:"POST",headers:{"content-type":"application/json",[ae]:a},body:JSON.stringify(s??{})}),v=await p.json().catch(()=>null);return p.ok&&v?{ok:!0,value:v}:{ok:!1,error:v?.message??`Wheelhouse answered ${p.status}.`}}catch{return{ok:!1,error:"Wheelhouse did not answer."}}}const Ne=()=>d("/api/plugins/updates",null),Oe=e=>d("/api/plugins/updates",e),Te=(e=!1)=>d(`/api/plugins/marketplace${e?"?refresh=1":""}`,null),We=(e,a)=>d("/api/plugins/marketplace/registries",a,{add:e}),Ae=(e,a)=>d("/api/plugins/marketplace/registries",a,{remove:e}),Fe=(e,a)=>d("/api/plugins/inspect",a,e),Le=(e,a,s)=>d("/api/plugins/install",s,{repo:e.repository,ref:e.ref,commit:e.commit,settings:a}),De=(e,a,s)=>d(`/api/plugins/${encodeURIComponent(e.id)}/update`,s,{ref:e.ref,commit:e.commit,settings:a});function He(e=6e4){return new Promise(a=>{const s=setTimeout(()=>{p(),a(!1)},e),p=ee.onRestart(()=>{clearTimeout(s),p(),a(!0)})})}const Je=(e,a,s)=>d(`/api/plugins/${encodeURIComponent(e)}/config`,s,a),Ye=(e,a,s)=>d("/api/plugins/roles",s,{role:e,provider:a}),Be=(e,a)=>d(`/api/plugins/${encodeURIComponent(e)}/load`,a);var ce=u('<span class="size-4 text-center" aria-hidden="true">·</span>'),ue=u(`<p class="mt-3 text-xs text-muted-foreground">Wheelhouse has not come back yet. If it stays away, run <code>wheelhouse open</code> again; the
|
|
2
|
+
change is kept.</p>`),de=u('<div aria-live="polite"><ol class="grid gap-1.5"><li class="flex items-center gap-2"><!> </li> <li><!>Restart Wheelhouse to load it</li></ol> <!></div>');function Ge(e,a){var s=de(),p=h(s),v=h(p),w=h(v);{var I=o=>{Y(o,{class:"size-4 animate-spin text-sea"})},R=o=>{B(o,{class:"size-4 text-success"})};g(w,o=>{a.phase==="saving"?o(I):o(R,-1)})}var r=f(w,1,!0);b(v);var _=f(v,2),S=h(_);{var q=o=>{Y(o,{class:"size-4 animate-spin text-sea"})},E=o=>{B(o,{class:"size-4 text-success"})},N=o=>{var P=ce();l(o,P)};g(S,o=>{a.phase==="restarting"||a.phase==="slow"?o(q):a.phase==="done"?o(E,1):o(N,-1)})}te(),b(_),b(p);var O=f(p,2);{var U=o=>{var P=ue();l(o,P)};g(O,o=>{a.phase==="slow"&&o(U)})}b(s),k(()=>{z(r,a.label),A(_,1,`flex items-center gap-2 ${a.phase==="saving"?"text-muted-foreground":""}`)}),l(e,s)}const ve=e=>e===void 0?"":e===!0?"yes":e===!1?"no":Array.isArray(e)?e.join(", "):String(e),Ke=e=>Object.fromEntries(e.map(a=>[a.key,ve(a.current??a.default)]));var me=u('<span class="text-danger" aria-hidden="true"> *</span>'),fe=u('<span class="text-muted-foreground"> (optional)</span>'),ge=u("<option>Not set</option>"),_e=u("<option> </option>"),he=u("<option>Yes</option> <option>No</option>",1),be=u("<select><!><!></select>"),xe=u('<input type="text" autocomplete="off" spellcheck="false"/>'),ye=u('<span class="text-xs text-muted-foreground"> </span>'),ke=u('<label class="grid gap-1"><span class="text-xs"> <!></span> <!> <!></label>');function Me(e,a){se(a,!0);let s=G(a,"answers",15),p=G(a,"disabled",3,!1);const v="h-9 rounded-md border border-input bg-background px-2.5 text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-60";var w=L(),I=W(w);H(I,17,()=>a.settings,R=>R.key,(R,r)=>{var _=ke(),S=h(_),q=h(S,!0),E=f(q);{var N=n=>{var t=me();l(n,t)},O=n=>{var t=fe();l(n,t)};g(E,n=>{i(r).required?n(N):n(O,-1)})}b(S);var U=f(S,2);{var o=n=>{var t=be();A(t,1,J(v));var x=h(t);{var Q=c=>{var m=ge();m.value=m.__value="",l(c,m)};g(x,c=>{i(r).required||c(Q)})}var V=f(x);{var X=c=>{var m=L(),C=W(m);H(C,17,()=>i(r).options,y=>y.value,(y,F)=>{var j=_e(),$=D(j,!0),T={};k(()=>{z($,i(F).label),T!==(T=i(F).value)&&(j.value=(j.__value=T)??"")}),l(y,j)}),l(c,m)},Z=c=>{var m=he(),C=W(m);C.value=C.__value="yes";var y=f(C,2);y.value=y.__value="no",l(c,m)};g(V,c=>{i(r).options?c(X):c(Z,-1)})}b(t),re(t),k(()=>{t.required=i(r).required,t.disabled=p()}),ie(t,()=>s()[i(r).key],c=>s(s()[i(r).key]=c,!0)),l(n,t)},P=n=>{var t=xe();ne(t),A(t,1,J(v)),k(()=>{le(t,"inputmode",i(r).type==="number"?"decimal":void 0),t.required=i(r).required,t.disabled=p()}),pe(t,()=>s()[i(r).key],x=>s(s()[i(r).key]=x,!0)),l(n,t)};g(U,n=>{i(r).type==="boolean"||i(r).options?n(o):n(P,-1)})}var K=f(U,2);{var M=n=>{var t=ye(),x=D(t);k(()=>z(x,`${i(r).description??""??""}${i(r).type==="list"?`${i(r).description?" ":""}Separate them with commas.`:""}`)),l(n,t)};g(K,n=>{(i(r).description||i(r).type==="list")&&n(M)})}b(_),k(()=>z(q,i(r).title)),l(R,_)}),l(e,w),oe()}export{Ge as C,Me as S,Ke as a,He as b,Je as c,ve as d,Fe as e,Oe as f,Ye as g,We as h,Le as i,Be as l,Te as m,Ne as p,Ae as r,De as u};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
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"./Dc0ohDnQ.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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./DsnmJJEf.js";import{p as Rt,e as ot,h as y,s as d,i as t,r as f,t as h,k as qt,a as n,b as Ot,d as jt,f as D,o as _,j as M,n as Jt,c as i}from"./Jk-ASPRO.js";import{d as Kt,a as G,s as g}from"./DTApYZoW.js";import{i as x}from"./BEVJas-l.js";import{a as nt,e as Pt,s as it}from"./DNP6oCAK.js";import{c as Qt}from"./Cq7OFmxz.js";import{s as V,r as H,p as Ut}from"./DQWg__9S.js";import{n as Xt,q as Yt}from"./Dc0ohDnQ.js";import{C as st}from"./BfHvf1Rg.js";import{L as lt}from"./D73wi9-q.js";import{C as Zt}from"./CFq-JuCn.js";import{I as N}from"./DE0e4nJ8.js";import{I as te}from"./C1-ZwXJJ.js";import{W as dt}from"./D92svzym.js";import{S as ee}from"./C8F_z3tF.js";import{G as pt}from"./cG4guyTe.js";import{S as ut}from"./v0ViZGjy.js";import{F as re}from"./CGgXi5F1.js";import{S as ae}from"./CuSw1clo.js";var oe=new Set(["$$slots","$$events","$$legacy"]);function mt(u,s){let m=H(s,oe);const l={name:"bot",size:24,node:[["path",{d:"M12 8V4H8"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2"}],["path",{d:"M2 14h2"}],["path",{d:"M20 14h2"}],["path",{d:"M15 13v2"}],["path",{d:"M9 13v2"}]]};N(u,V(()=>m,{get icon(){return l}}))}var ne=new Set(["$$slots","$$events","$$legacy"]);function ie(u,s){let m=H(s,ne);const l={name:"brain",size:24,node:[["path",{d:"M12 18V5"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77"}]]};N(u,V(()=>m,{get icon(){return l}}))}var se=new Set(["$$slots","$$events","$$legacy"]);function Q(u,s){let m=H(s,se);const l={name:"file-pen",size:24,node:[["path",{d:"M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5"}],["path",{d:"M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z"}]],aliases:["file-edit"]};N(u,V(()=>m,{get icon(){return l}}))}var le=new Set(["$$slots","$$events","$$legacy"]);function de(u,s){let m=H(s,le);const l={name:"list-todo",size:24,node:[["path",{d:"M13 5h8"}],["path",{d:"M13 12h8"}],["path",{d:"M13 19h8"}],["path",{d:"m3 17 2 2 4-4"}],["rect",{x:"3",y:"4",width:"6",height:"6",rx:"1"}]]};N(u,V(()=>m,{get icon(){return l}}))}var pe=i('<!> <span class="truncate"> </span>',1),ue=i('<span class="truncate"> </span>'),me=i('<span class="min-w-0 truncate text-muted-foreground"> </span>'),ve=i('<span class="flex shrink-0 items-center gap-1 text-xs text-danger"><!>failed</span>'),ce=i('<p class="text-muted-foreground">Claude Code keeps only a sealed signature for its thinking, not the words.</p>'),fe=i('<button class="self-start text-sea hover:underline">Show all</button>'),he=i('<pre class="no-scrollbar max-h-72 overflow-auto rounded-md bg-muted p-3 font-mono whitespace-pre-wrap text-muted-foreground"> </pre> <!>',1),_e=i('<p class="text-muted-foreground">Still running…</p>'),ge=i('<p class="text-muted-foreground">No output.</p>'),xe=i('<button class="mt-1 text-sea hover:underline"> </button>'),be=i("<pre> </pre> <!>",1),ke=i('<div><div class="mb-1 text-muted-foreground">Input</div> <pre> </pre></div> <div><div class="mb-1 text-muted-foreground"> </div> <!></div>',1),ye=i('<div class="mt-1 mb-2 ml-8 flex flex-col gap-2 text-xs"><!></div>'),we=i('<li class="py-0.5"><button class="flex w-full min-w-0 cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-left text-sm transition-colors hover:bg-muted"><!> <span class="shrink-0 text-foreground/80"> </span> <!> <!> <!></button> <!></li>'),Me=i('<ol class="mt-1.5 flex max-w-[80ch] flex-col rounded-lg border border-hair bg-bubble-firstmate px-2 py-1.5"></ol>'),Se=i('<div><button class="flex w-full max-w-[40rem] cursor-pointer items-center gap-2.5 rounded-xl border bg-card/60 px-4 py-2 text-left text-[0.95rem] text-foreground transition-colors hover:bg-muted"><!> <!></button> <!></div>');function je(u,s){Rt(s,!0);let m=Ut(s,"live",3,!1),l=jt(!1),$=ot({}),z=ot({});const vt={Bash:ae,Read:re,Edit:Q,MultiEdit:Q,Write:Q,Grep:ut,Glob:ut,WebSearch:pt,WebFetch:pt,Skill:ee,ToolSearch:dt,Agent:mt,Task:mt,TodoWrite:de},ct=r=>r.kind==="thinking"?ie:r.kind==="context"?te:vt[r.name]??dt;function U(r){return r.kind==="thinking"?{verb:r.ms!=null&&r.ms>=1e3?`Thought for ${Yt(r.ms)}`:"Thought",summary:""}:r.kind==="context"?{verb:r.label,summary:""}:{verb:r.verb,summary:r.summary}}const X=M(()=>U(s.steps[s.steps.length-1])),F=1600,Y=(r,a)=>z[r]||a.length<=F?a:a.slice(0,F);function ft(r){const a=r.input??{};return r.name==="Bash"&&typeof a.command=="string"?{code:a.command,mono:!0}:(r.name==="Agent"||r.name==="Task")&&typeof a.prompt=="string"?{code:a.prompt,mono:!1}:{code:JSON.stringify(a,null,2),mono:!0}}var R=Se(),I=y(R),Z=y(I);{var ht=r=>{var a=pe(),b=D(a);lt(b,{class:"size-3.5 shrink-0 animate-spin text-sea","aria-hidden":"true"});var e=d(b,2),q=_(e);h(()=>g(q,`${t(X).verb??""} ${t(X).summary??""}`)),n(r,a)},_t=r=>{var a=ue(),b=_(a,!0);h(e=>g(b,e),[()=>Xt(s.steps)]),n(r,a)};x(Z,r=>{m()?r(ht):r(_t,-1)})}var gt=d(Z,2);{let r=M(()=>t(l)?"rotate-90":"");st(gt,{get class(){return`ml-auto size-3.5 shrink-0 text-muted-foreground transition-transform ${t(r)??""}`},"aria-hidden":"true"})}f(I);var xt=d(I,2);{var bt=r=>{var a=Me();Pt(a,21,()=>s.steps,b=>b.id,(b,e)=>{const q=M(()=>ct(t(e))),O=M(()=>U(t(e)));var j=we(),A=y(j),tt=y(A);Qt(tt,()=>t(q),(o,p)=>{p(o,{class:"size-4 shrink-0 text-muted-foreground","aria-hidden":"true"})});var et=d(tt,2),kt=_(et,!0),rt=d(et,2);{var yt=o=>{var p=me(),C=_(p,!0);h(()=>g(C,t(O).summary)),n(o,p)};x(rt,o=>{t(O).summary&&o(yt)})}var at=d(rt,2);{var wt=o=>{var p=ve(),C=y(p);Zt(C,{class:"size-3.5","aria-hidden":"true"}),Jt(),f(p),n(o,p)},Mt=o=>{lt(o,{class:"size-3.5 shrink-0 animate-spin text-muted-foreground","aria-label":"Running"})};x(at,o=>{t(e).kind==="tool"&&t(e).isError?o(wt):t(e).kind==="tool"&&t(e).result==null&&o(Mt,1)})}var St=d(at,2);{let o=M(()=>$[t(e).id]?"rotate-90":"");st(St,{get class(){return`ml-auto size-3.5 shrink-0 text-muted-foreground transition-transform ${t(o)??""}`},"aria-hidden":"true"})}f(A);var $t=d(A,2);{var zt=o=>{var p=ye(),C=y(p);{var It=v=>{var w=ce();n(v,w)},At=v=>{var w=he(),T=D(w),E=_(T,!0),L=d(T,2);{var J=k=>{var W=fe();G("click",W,()=>z[t(e).id]=!0),n(k,W)};x(L,k=>{t(e).detail.length>F&&!z[t(e).id]&&k(J)})}h(k=>g(E,k),[()=>Y(t(e).id,t(e).detail)]),n(v,w)},Ct=v=>{const w=M(()=>ft(t(e)));var T=ke(),E=D(T),L=d(y(E),2),J=_(L,!0);f(E);var k=d(E,2),W=y(k),Tt=_(W,!0),Et=d(W,2);{var Wt=c=>{var S=_e();n(c,S)},Bt=c=>{var S=ge();n(c,S)},Ft=M(()=>!t(e).result.trim()),Lt=c=>{var S=be(),K=D(S),Dt=_(K,!0),Gt=d(K,2);{var Vt=B=>{var P=xe(),Ht=_(P);h(Nt=>g(Ht,`Show all (${Nt??""}k characters)`),[()=>Math.round(t(e).result.length/1e3)]),G("click",P,()=>z[t(e).id]=!0),n(B,P)};x(Gt,B=>{t(e).result.length>F&&!z[t(e).id]&&B(Vt)})}h(B=>{it(K,1,`no-scrollbar max-h-72 overflow-auto rounded-md bg-muted p-3 font-mono whitespace-pre-wrap ${t(e).isError?"text-danger":""}`),g(Dt,B)},[()=>Y(t(e).id,t(e).result)]),n(c,S)};x(Et,c=>{t(e).result==null?c(Wt):t(Ft)?c(Bt,1):c(Lt,-1)})}f(k),h(()=>{it(L,1,`no-scrollbar max-h-60 overflow-auto rounded-md bg-muted p-3 whitespace-pre-wrap ${t(w).mono?"font-mono":"font-sans"}`),g(J,t(w).code),g(Tt,t(e).isError?"Error":"Result")}),n(v,T)};x(C,v=>{t(e).kind==="thinking"?v(It):t(e).kind==="context"?v(At,1):v(Ct,-1)})}f(p),n(o,p)};x($t,o=>{$[t(e).id]&&o(zt)})}f(j),h(()=>{nt(A,"aria-expanded",!!$[t(e).id]),g(kt,t(O).verb)}),G("click",A,()=>$[t(e).id]=!$[t(e).id]),n(b,j)}),f(a),n(r,a)};x(xt,r=>{t(l)&&r(bt)})}f(R),h(()=>nt(I,"aria-expanded",t(l))),G("click",I,()=>qt(l,!t(l))),n(u,R),Ot()}Kt(["click"]);export{je as A,mt as B};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as r}from"./thHXEfLL.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@�����k�4>�IK]PE���gńU;.�����(�$;ШT��[#K�ˌJ�S��_�m��9������p��������P��cJf&D��&Ap��)���"�W@/@?&d$���jkU�A{��.�v�e
|
|
Binary file
|