@chrisjowen/wheelhouse 0.20.5 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/build/client/_app/immutable/assets/0.DPXXVvQJ.css +1 -0
- package/build/client/_app/immutable/assets/0.DPXXVvQJ.css.br +0 -0
- package/build/client/_app/immutable/assets/0.DPXXVvQJ.css.gz +0 -0
- package/build/client/_app/immutable/chunks/-7ouQdsG.js +1 -0
- package/build/client/_app/immutable/chunks/-7ouQdsG.js.br +0 -0
- package/build/client/_app/immutable/chunks/-7ouQdsG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/1c_L7VrA.js +3 -0
- package/build/client/_app/immutable/chunks/1c_L7VrA.js.br +0 -0
- package/build/client/_app/immutable/chunks/1c_L7VrA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/4pTUx6eL.js +1 -0
- package/build/client/_app/immutable/chunks/4pTUx6eL.js.br +4 -0
- package/build/client/_app/immutable/chunks/4pTUx6eL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/55XEoNtX.js +1 -0
- package/build/client/_app/immutable/chunks/55XEoNtX.js.br +2 -0
- package/build/client/_app/immutable/chunks/55XEoNtX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/6DAn206W.js +1 -0
- package/build/client/_app/immutable/chunks/6DAn206W.js.br +0 -0
- package/build/client/_app/immutable/chunks/6DAn206W.js.gz +0 -0
- package/build/client/_app/immutable/chunks/6rTUl_co.js +1 -0
- package/build/client/_app/immutable/chunks/6rTUl_co.js.br +0 -0
- package/build/client/_app/immutable/chunks/6rTUl_co.js.gz +0 -0
- package/build/client/_app/immutable/chunks/8Fai-wPF.js +1 -0
- package/build/client/_app/immutable/chunks/8Fai-wPF.js.br +0 -0
- package/build/client/_app/immutable/chunks/8Fai-wPF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B-0qqE45.js +1 -0
- package/build/client/_app/immutable/chunks/B-0qqE45.js.br +0 -0
- package/build/client/_app/immutable/chunks/B-0qqE45.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B0-xhMiU.js +5 -0
- package/build/client/_app/immutable/chunks/B0-xhMiU.js.br +0 -0
- package/build/client/_app/immutable/chunks/B0-xhMiU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B60LYfBd.js +1 -0
- package/build/client/_app/immutable/chunks/B60LYfBd.js.br +0 -0
- package/build/client/_app/immutable/chunks/B60LYfBd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BAsiHkaZ.js +1 -0
- package/build/client/_app/immutable/chunks/BAsiHkaZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/BAsiHkaZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BAuCcuxw.js +1 -0
- package/build/client/_app/immutable/chunks/BAuCcuxw.js.br +0 -0
- package/build/client/_app/immutable/chunks/BAuCcuxw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BG4ZPCNg.js +5 -0
- package/build/client/_app/immutable/chunks/BG4ZPCNg.js.br +0 -0
- package/build/client/_app/immutable/chunks/BG4ZPCNg.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BGW1RfKQ.js +1 -0
- package/build/client/_app/immutable/chunks/BGW1RfKQ.js.br +2 -0
- package/build/client/_app/immutable/chunks/BGW1RfKQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BJoMiuA8.js +1 -0
- package/build/client/_app/immutable/chunks/BJoMiuA8.js.br +0 -0
- package/build/client/_app/immutable/chunks/BJoMiuA8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BOy3K7xN.js +1 -0
- package/build/client/_app/immutable/chunks/BOy3K7xN.js.br +0 -0
- package/build/client/_app/immutable/chunks/BOy3K7xN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BPcURVOt.js +3 -0
- package/build/client/_app/immutable/chunks/BPcURVOt.js.br +0 -0
- package/build/client/_app/immutable/chunks/BPcURVOt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BQ56-tK5.js +2 -0
- package/build/client/_app/immutable/chunks/BQ56-tK5.js.br +0 -0
- package/build/client/_app/immutable/chunks/BQ56-tK5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BTUBKbNp.js +1 -0
- package/build/client/_app/immutable/chunks/BTUBKbNp.js.br +0 -0
- package/build/client/_app/immutable/chunks/BTUBKbNp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BWPYBmh1.js +1 -0
- package/build/client/_app/immutable/chunks/BWPYBmh1.js.br +2 -0
- package/build/client/_app/immutable/chunks/BWPYBmh1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BW_JnYeB.js +1 -0
- package/build/client/_app/immutable/chunks/BW_JnYeB.js.br +0 -0
- package/build/client/_app/immutable/chunks/BW_JnYeB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BbNNG5a4.js +1 -0
- package/build/client/_app/immutable/chunks/BbNNG5a4.js.br +0 -0
- package/build/client/_app/immutable/chunks/BbNNG5a4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BcCorYoj.js +1 -0
- package/build/client/_app/immutable/chunks/BcCorYoj.js.br +0 -0
- package/build/client/_app/immutable/chunks/BcCorYoj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bf46oUeB.js +1 -0
- package/build/client/_app/immutable/chunks/Bf46oUeB.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bf46oUeB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BfNiKjWt.js +1 -0
- package/build/client/_app/immutable/chunks/BfNiKjWt.js.br +0 -0
- package/build/client/_app/immutable/chunks/BfNiKjWt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BgdwPfvE.js +1 -0
- package/build/client/_app/immutable/chunks/BgdwPfvE.js.br +0 -0
- package/build/client/_app/immutable/chunks/BgdwPfvE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BjfHpW4u.js +1 -0
- package/build/client/_app/immutable/chunks/BjfHpW4u.js.br +0 -0
- package/build/client/_app/immutable/chunks/BjfHpW4u.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BjlKuhi7.js +1 -0
- package/build/client/_app/immutable/chunks/BjlKuhi7.js.br +3 -0
- package/build/client/_app/immutable/chunks/BjlKuhi7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bt6KUUDH.js +1 -0
- package/build/client/_app/immutable/chunks/Bt6KUUDH.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bt6KUUDH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Buvnupwl.js +1 -0
- package/build/client/_app/immutable/chunks/Buvnupwl.js.br +0 -0
- package/build/client/_app/immutable/chunks/Buvnupwl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bvjx1IR1.js +1 -0
- package/build/client/_app/immutable/chunks/Bvjx1IR1.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bvjx1IR1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C-hNi8vR.js +1 -0
- package/build/client/_app/immutable/chunks/C-hNi8vR.js.br +0 -0
- package/build/client/_app/immutable/chunks/C-hNi8vR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C3RYx8bC.js +1 -0
- package/build/client/_app/immutable/chunks/C3RYx8bC.js.br +0 -0
- package/build/client/_app/immutable/chunks/C3RYx8bC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C3tLc6qk.js +1 -0
- package/build/client/_app/immutable/chunks/C3tLc6qk.js.br +2 -0
- package/build/client/_app/immutable/chunks/C3tLc6qk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C6Hf7_tG.js +1 -0
- package/build/client/_app/immutable/chunks/C6Hf7_tG.js.br +0 -0
- package/build/client/_app/immutable/chunks/C6Hf7_tG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C8KbmUF3.js +1 -0
- package/build/client/_app/immutable/chunks/C8KbmUF3.js.br +2 -0
- package/build/client/_app/immutable/chunks/C8KbmUF3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CA87s_sP.js +1 -0
- package/build/client/_app/immutable/chunks/CA87s_sP.js.br +0 -0
- package/build/client/_app/immutable/chunks/CA87s_sP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CCwsNQVJ.js +1 -0
- package/build/client/_app/immutable/chunks/CCwsNQVJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/CCwsNQVJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CFm6pZG0.js +1 -0
- package/build/client/_app/immutable/chunks/CFm6pZG0.js.br +0 -0
- package/build/client/_app/immutable/chunks/CFm6pZG0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CIMsnGRb.js +2 -0
- package/build/client/_app/immutable/chunks/CIMsnGRb.js.br +0 -0
- package/build/client/_app/immutable/chunks/CIMsnGRb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CJNEYVWj.js +2 -0
- package/build/client/_app/immutable/chunks/CJNEYVWj.js.br +0 -0
- package/build/client/_app/immutable/chunks/CJNEYVWj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CLd-Yktx.js +1 -0
- package/build/client/_app/immutable/chunks/CLd-Yktx.js.br +0 -0
- package/build/client/_app/immutable/chunks/CLd-Yktx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CMHkuJ4s.js +1 -0
- package/build/client/_app/immutable/chunks/CMHkuJ4s.js.br +0 -0
- package/build/client/_app/immutable/chunks/CMHkuJ4s.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CONXZwsH.js +1 -0
- package/build/client/_app/immutable/chunks/CONXZwsH.js.br +0 -0
- package/build/client/_app/immutable/chunks/CONXZwsH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CPGokFxi.js +7 -0
- package/build/client/_app/immutable/chunks/CPGokFxi.js.br +0 -0
- package/build/client/_app/immutable/chunks/CPGokFxi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CQL7onaq.js +1 -0
- package/build/client/_app/immutable/chunks/CQL7onaq.js.br +0 -0
- package/build/client/_app/immutable/chunks/CQL7onaq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CVZBXS_-.js +6 -0
- package/build/client/_app/immutable/chunks/CVZBXS_-.js.br +0 -0
- package/build/client/_app/immutable/chunks/CVZBXS_-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CZPeboo-.js +1 -0
- package/build/client/_app/immutable/chunks/CZPeboo-.js.br +0 -0
- package/build/client/_app/immutable/chunks/CZPeboo-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cd67i1u_.js +62 -0
- package/build/client/_app/immutable/chunks/Cd67i1u_.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cd67i1u_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CddGcyNX.js +1 -0
- package/build/client/_app/immutable/chunks/CddGcyNX.js.br +0 -0
- package/build/client/_app/immutable/chunks/CddGcyNX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CeEmbWm6.js +1 -0
- package/build/client/_app/immutable/chunks/CeEmbWm6.js.br +0 -0
- package/build/client/_app/immutable/chunks/CeEmbWm6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cf6pdpsz.js +1 -0
- package/build/client/_app/immutable/chunks/Cf6pdpsz.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cf6pdpsz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cg5o-Sdi.js +1 -0
- package/build/client/_app/immutable/chunks/Cg5o-Sdi.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cg5o-Sdi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CkNCm7Ts.js +1 -0
- package/build/client/_app/immutable/chunks/CkNCm7Ts.js.br +0 -0
- package/build/client/_app/immutable/chunks/CkNCm7Ts.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CloMQgCF.js +1 -0
- package/build/client/_app/immutable/chunks/CloMQgCF.js.br +0 -0
- package/build/client/_app/immutable/chunks/CloMQgCF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CmLAxoyv.js +1 -0
- package/build/client/_app/immutable/chunks/CmLAxoyv.js.br +0 -0
- package/build/client/_app/immutable/chunks/CmLAxoyv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CmYKKTYS.js +1 -0
- package/build/client/_app/immutable/chunks/CmYKKTYS.js.br +0 -0
- package/build/client/_app/immutable/chunks/CmYKKTYS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cox57RCx.js +1 -0
- package/build/client/_app/immutable/chunks/Cox57RCx.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cox57RCx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CrfUP_VX.js +1 -0
- package/build/client/_app/immutable/chunks/CrfUP_VX.js.br +0 -0
- package/build/client/_app/immutable/chunks/CrfUP_VX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CvmB6XOk.js +1 -0
- package/build/client/_app/immutable/chunks/CvmB6XOk.js.br +0 -0
- package/build/client/_app/immutable/chunks/CvmB6XOk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cx5j6iHA.js +1 -0
- package/build/client/_app/immutable/chunks/Cx5j6iHA.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cx5j6iHA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CyXpILz0.js +1 -0
- package/build/client/_app/immutable/chunks/CyXpILz0.js.br +3 -0
- package/build/client/_app/immutable/chunks/CyXpILz0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CzzMm39R.js +1 -0
- package/build/client/_app/immutable/chunks/CzzMm39R.js.br +0 -0
- package/build/client/_app/immutable/chunks/CzzMm39R.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D3nPFlu1.js +1 -0
- package/build/client/_app/immutable/chunks/D3nPFlu1.js.br +0 -0
- package/build/client/_app/immutable/chunks/D3nPFlu1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D5JDx3SO.js +1 -0
- package/build/client/_app/immutable/chunks/D5JDx3SO.js.br +0 -0
- package/build/client/_app/immutable/chunks/D5JDx3SO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D6iImB2R.js +1 -0
- package/build/client/_app/immutable/chunks/D6iImB2R.js.br +0 -0
- package/build/client/_app/immutable/chunks/D6iImB2R.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D7FYExvP.js +1 -0
- package/build/client/_app/immutable/chunks/D7FYExvP.js.br +0 -0
- package/build/client/_app/immutable/chunks/D7FYExvP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DCCfudFU.js +1 -0
- package/build/client/_app/immutable/chunks/DCCfudFU.js.br +0 -0
- package/build/client/_app/immutable/chunks/DCCfudFU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DDdiwn-U.js +1 -0
- package/build/client/_app/immutable/chunks/DDdiwn-U.js.br +0 -0
- package/build/client/_app/immutable/chunks/DDdiwn-U.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DHpOAFQk.js +6 -0
- package/build/client/_app/immutable/chunks/DHpOAFQk.js.br +0 -0
- package/build/client/_app/immutable/chunks/DHpOAFQk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DNoFJI2q.js +1 -0
- package/build/client/_app/immutable/chunks/DNoFJI2q.js.br +0 -0
- package/build/client/_app/immutable/chunks/DNoFJI2q.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DNy30I3F.js +1 -0
- package/build/client/_app/immutable/chunks/DNy30I3F.js.br +0 -0
- package/build/client/_app/immutable/chunks/DNy30I3F.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DP4AJpRJ.js +1 -0
- package/build/client/_app/immutable/chunks/DP4AJpRJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/DP4AJpRJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DQ1JWnwW.js +1 -0
- package/build/client/_app/immutable/chunks/DQ1JWnwW.js.br +0 -0
- package/build/client/_app/immutable/chunks/DQ1JWnwW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DRN_mvpb.js +1 -0
- package/build/client/_app/immutable/chunks/DRN_mvpb.js.br +0 -0
- package/build/client/_app/immutable/chunks/DRN_mvpb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DY9OJPPO.js +1 -0
- package/build/client/_app/immutable/chunks/DY9OJPPO.js.br +0 -0
- package/build/client/_app/immutable/chunks/DY9OJPPO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DYyCX7y8.js +1 -0
- package/build/client/_app/immutable/chunks/DYyCX7y8.js.br +0 -0
- package/build/client/_app/immutable/chunks/DYyCX7y8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DZCe_kkO.js +1 -0
- package/build/client/_app/immutable/chunks/DZCe_kkO.js.br +0 -0
- package/build/client/_app/immutable/chunks/DZCe_kkO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Daq2sibJ.js +1 -0
- package/build/client/_app/immutable/chunks/Daq2sibJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/Daq2sibJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DcVEd5MS.js +1 -0
- package/build/client/_app/immutable/chunks/DcVEd5MS.js.br +0 -0
- package/build/client/_app/immutable/chunks/DcVEd5MS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/De2vcdXM.js +2 -0
- package/build/client/_app/immutable/chunks/De2vcdXM.js.br +0 -0
- package/build/client/_app/immutable/chunks/De2vcdXM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/De4O2In1.js +1 -0
- package/build/client/_app/immutable/chunks/De4O2In1.js.br +0 -0
- package/build/client/_app/immutable/chunks/De4O2In1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DflltLwV.js +1 -0
- package/build/client/_app/immutable/chunks/DflltLwV.js.br +0 -0
- package/build/client/_app/immutable/chunks/DflltLwV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DlKNcnrA.js +1 -0
- package/build/client/_app/immutable/chunks/DlKNcnrA.js.br +0 -0
- package/build/client/_app/immutable/chunks/DlKNcnrA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DmM4WIRE.js +2 -0
- package/build/client/_app/immutable/chunks/DmM4WIRE.js.br +0 -0
- package/build/client/_app/immutable/chunks/DmM4WIRE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Do3aY-pJ.js +3 -0
- package/build/client/_app/immutable/chunks/Do3aY-pJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/Do3aY-pJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dr1I4h-s.js +1 -0
- package/build/client/_app/immutable/chunks/Dr1I4h-s.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dr1I4h-s.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DupmVJLw.js +4 -0
- package/build/client/_app/immutable/chunks/DupmVJLw.js.br +0 -0
- package/build/client/_app/immutable/chunks/DupmVJLw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dx4-AA8Z.js +1 -0
- package/build/client/_app/immutable/chunks/Dx4-AA8Z.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dx4-AA8Z.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DyxFq-Tu.js +1 -0
- package/build/client/_app/immutable/chunks/DyxFq-Tu.js.br +0 -0
- package/build/client/_app/immutable/chunks/DyxFq-Tu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/JUcpD7p2.js +1 -0
- package/build/client/_app/immutable/chunks/JUcpD7p2.js.br +0 -0
- package/build/client/_app/immutable/chunks/JUcpD7p2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Jwgp9Ian.js +1 -0
- package/build/client/_app/immutable/chunks/Jwgp9Ian.js.br +0 -0
- package/build/client/_app/immutable/chunks/Jwgp9Ian.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Kc5eW0mD.js +1 -0
- package/build/client/_app/immutable/chunks/Kc5eW0mD.js.br +0 -0
- package/build/client/_app/immutable/chunks/Kc5eW0mD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/MfmuqTIn.js +2 -0
- package/build/client/_app/immutable/chunks/MfmuqTIn.js.br +0 -0
- package/build/client/_app/immutable/chunks/MfmuqTIn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/OB0MS-qW.js +1 -0
- package/build/client/_app/immutable/chunks/OB0MS-qW.js.br +0 -0
- package/build/client/_app/immutable/chunks/OB0MS-qW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/OLaJBqkk.js +6 -0
- package/build/client/_app/immutable/chunks/OLaJBqkk.js.br +0 -0
- package/build/client/_app/immutable/chunks/OLaJBqkk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Rgz0--W-.js +1 -0
- package/build/client/_app/immutable/chunks/Rgz0--W-.js.br +0 -0
- package/build/client/_app/immutable/chunks/Rgz0--W-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/RqfDdPGP.js +1 -0
- package/build/client/_app/immutable/chunks/RqfDdPGP.js.br +0 -0
- package/build/client/_app/immutable/chunks/RqfDdPGP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/SwQNkIpc.js +1 -0
- package/build/client/_app/immutable/chunks/SwQNkIpc.js.br +0 -0
- package/build/client/_app/immutable/chunks/SwQNkIpc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Sz_v_ihG.js +1 -0
- package/build/client/_app/immutable/chunks/Sz_v_ihG.js.br +0 -0
- package/build/client/_app/immutable/chunks/Sz_v_ihG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/XNI4QyoL.js +1 -0
- package/build/client/_app/immutable/chunks/XNI4QyoL.js.br +0 -0
- package/build/client/_app/immutable/chunks/XNI4QyoL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/XcArh8sq.js +1 -0
- package/build/client/_app/immutable/chunks/XcArh8sq.js.br +0 -0
- package/build/client/_app/immutable/chunks/XcArh8sq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Y8TXbmCY.js +1 -0
- package/build/client/_app/immutable/chunks/Y8TXbmCY.js.br +0 -0
- package/build/client/_app/immutable/chunks/Y8TXbmCY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/YAQH2TLS.js +1 -0
- package/build/client/_app/immutable/chunks/YAQH2TLS.js.br +2 -0
- package/build/client/_app/immutable/chunks/YAQH2TLS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/bFJ0wt-E.js +1 -0
- package/build/client/_app/immutable/chunks/bFJ0wt-E.js.br +0 -0
- package/build/client/_app/immutable/chunks/bFJ0wt-E.js.gz +0 -0
- package/build/client/_app/immutable/chunks/j2tARAl0.js +1 -0
- package/build/client/_app/immutable/chunks/j2tARAl0.js.br +0 -0
- package/build/client/_app/immutable/chunks/j2tARAl0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/pJK9uwuX.js +1 -0
- package/build/client/_app/immutable/chunks/pJK9uwuX.js.br +0 -0
- package/build/client/_app/immutable/chunks/pJK9uwuX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/siUtttqk.js +1 -0
- package/build/client/_app/immutable/chunks/siUtttqk.js.br +0 -0
- package/build/client/_app/immutable/chunks/siUtttqk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/tpeuVjMv.js +1 -0
- package/build/client/_app/immutable/chunks/tpeuVjMv.js.br +0 -0
- package/build/client/_app/immutable/chunks/tpeuVjMv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/vvzN7ZZi.js +1 -0
- package/build/client/_app/immutable/chunks/vvzN7ZZi.js.br +0 -0
- package/build/client/_app/immutable/chunks/vvzN7ZZi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/wu_NjAkT.js +1 -0
- package/build/client/_app/immutable/chunks/wu_NjAkT.js.br +0 -0
- package/build/client/_app/immutable/chunks/wu_NjAkT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/x63vhHzM.js +1 -0
- package/build/client/_app/immutable/chunks/x63vhHzM.js.br +0 -0
- package/build/client/_app/immutable/chunks/x63vhHzM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/yNn5dmAl.js +1 -0
- package/build/client/_app/immutable/chunks/yNn5dmAl.js.br +0 -0
- package/build/client/_app/immutable/chunks/yNn5dmAl.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.DFIrP568.js +2 -0
- package/build/client/_app/immutable/entry/app.DFIrP568.js.br +0 -0
- package/build/client/_app/immutable/entry/app.DFIrP568.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.C06u36g3.js +1 -0
- package/build/client/_app/immutable/entry/start.C06u36g3.js.br +0 -0
- package/build/client/_app/immutable/entry/start.C06u36g3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.DnTfQD5x.js +9 -0
- package/build/client/_app/immutable/nodes/0.DnTfQD5x.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.DnTfQD5x.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.DYf3eeEz.js +1 -0
- package/build/client/_app/immutable/nodes/1.DYf3eeEz.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.DYf3eeEz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.Tup2MsME.js +6 -0
- package/build/client/_app/immutable/nodes/10.Tup2MsME.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.Tup2MsME.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.CeQYv8eh.js +1 -0
- package/build/client/_app/immutable/nodes/11.CeQYv8eh.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.CeQYv8eh.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.B8vOqWp-.js +10 -0
- package/build/client/_app/immutable/nodes/12.B8vOqWp-.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.B8vOqWp-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.CWPNAkXZ.js +1 -0
- package/build/client/_app/immutable/nodes/13.CWPNAkXZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.CWPNAkXZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.BomHFWNP.js +3 -0
- package/build/client/_app/immutable/nodes/14.BomHFWNP.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.BomHFWNP.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.D7wICcdV.js +1 -0
- package/build/client/_app/immutable/nodes/15.D7wICcdV.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.D7wICcdV.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.CwYX0DD0.js +14 -0
- package/build/client/_app/immutable/nodes/16.CwYX0DD0.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.CwYX0DD0.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.CP6SSMQz.js +150 -0
- package/build/client/_app/immutable/nodes/17.CP6SSMQz.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.CP6SSMQz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/18.dinO_mGJ.js +25 -0
- package/build/client/_app/immutable/nodes/18.dinO_mGJ.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.dinO_mGJ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.B3LIDplG.js +5 -0
- package/build/client/_app/immutable/nodes/19.B3LIDplG.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.B3LIDplG.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.Ds7AG1Sp.js +28 -0
- package/build/client/_app/immutable/nodes/2.Ds7AG1Sp.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.Ds7AG1Sp.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.GeOCbpc_.js +4 -0
- package/build/client/_app/immutable/nodes/21.GeOCbpc_.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.GeOCbpc_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.BirH-Y0c.js +1 -0
- package/build/client/_app/immutable/nodes/22.BirH-Y0c.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.BirH-Y0c.js.gz +0 -0
- package/build/client/_app/immutable/nodes/23.BhQVufuj.js +8 -0
- package/build/client/_app/immutable/nodes/23.BhQVufuj.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.BhQVufuj.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.D1qQjP2S.js +3 -0
- package/build/client/_app/immutable/nodes/24.D1qQjP2S.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.D1qQjP2S.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.DjtNBrX-.js +5 -0
- package/build/client/_app/immutable/nodes/25.DjtNBrX-.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.DjtNBrX-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.1W95w8Kh.js +4 -0
- package/build/client/_app/immutable/nodes/26.1W95w8Kh.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.1W95w8Kh.js.gz +0 -0
- package/build/client/_app/immutable/nodes/27.DuJzt0BC.js +7 -0
- package/build/client/_app/immutable/nodes/27.DuJzt0BC.js.br +0 -0
- package/build/client/_app/immutable/nodes/27.DuJzt0BC.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.BcUVR-We.js +2 -0
- package/build/client/_app/immutable/nodes/28.BcUVR-We.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.BcUVR-We.js.gz +0 -0
- package/build/client/_app/immutable/nodes/29.CSQdxeSK.js +4 -0
- package/build/client/_app/immutable/nodes/29.CSQdxeSK.js.br +0 -0
- package/build/client/_app/immutable/nodes/29.CSQdxeSK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.Dysdqlw7.js +2 -0
- package/build/client/_app/immutable/nodes/3.Dysdqlw7.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.Dysdqlw7.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.BFp98q1T.js +7 -0
- package/build/client/_app/immutable/nodes/30.BFp98q1T.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.BFp98q1T.js.gz +0 -0
- package/build/client/_app/immutable/nodes/31.DMpLzXiB.js +23 -0
- package/build/client/_app/immutable/nodes/31.DMpLzXiB.js.br +0 -0
- package/build/client/_app/immutable/nodes/31.DMpLzXiB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/32.CnTU-Fay.js +3 -0
- package/build/client/_app/immutable/nodes/32.CnTU-Fay.js.br +0 -0
- package/build/client/_app/immutable/nodes/32.CnTU-Fay.js.gz +0 -0
- package/build/client/_app/immutable/nodes/33.DEE9D8C0.js +1 -0
- package/build/client/_app/immutable/nodes/33.DEE9D8C0.js.br +0 -0
- package/build/client/_app/immutable/nodes/33.DEE9D8C0.js.gz +0 -0
- package/build/client/_app/immutable/nodes/34.D2flYQ6C.js +6 -0
- package/build/client/_app/immutable/nodes/34.D2flYQ6C.js.br +0 -0
- package/build/client/_app/immutable/nodes/34.D2flYQ6C.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.CWkCY0Gp.js +5 -0
- package/build/client/_app/immutable/nodes/4.CWkCY0Gp.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.CWkCY0Gp.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.8mHB8XXE.js +1 -0
- package/build/client/_app/immutable/nodes/5.8mHB8XXE.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.8mHB8XXE.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.DE_eLV5y.js +1 -0
- package/build/client/_app/immutable/nodes/7.DE_eLV5y.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.DE_eLV5y.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.DkWdKRyC.js +2 -0
- package/build/client/_app/immutable/nodes/8.DkWdKRyC.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.DkWdKRyC.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.Gvdpdyk5.js +7 -0
- package/build/client/_app/immutable/nodes/9.Gvdpdyk5.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.Gvdpdyk5.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/handler.js +4 -4
- package/build/index.js +4 -4
- package/build/server/chunks/chunks/Activity.js-DXjVG5xT.js +46 -0
- package/build/server/chunks/chunks/ConsoleWindow.js-DEk3iKGa.js +120 -0
- package/build/server/chunks/chunks/DecisionCard.js-86G6u4pB.js +2206 -0
- package/build/server/chunks/chunks/Discussion.js-IMI0BumV.js +592 -0
- package/build/server/chunks/chunks/EtaLine.js-CKEZyLau.js +98 -0
- package/build/server/chunks/chunks/InsightsNav.js-B21jABX7.js +18 -0
- package/build/server/chunks/chunks/InstallFromGitHub.js-DTgSNvPF.js +272 -0
- package/build/server/chunks/chunks/MicButton.svelte_svelte_type_style_lang.js-B10vMz9A.js +200 -0
- package/build/server/chunks/chunks/OpenDecision.js-BMOUb2a9.js +29 -0
- package/build/server/chunks/chunks/PluginElement.js-B4PKHT2H.js +25 -0
- package/build/server/chunks/chunks/SettingsNav.js-D2wjoTYl.js +36 -0
- package/build/server/chunks/chunks/SlotContent.js-yg9VzqdZ.js +702 -0
- package/build/server/chunks/chunks/agent.js-CvIBjJ8-.js +122 -0
- package/build/server/chunks/chunks/bell.js-D6xuggvQ.js +189 -0
- package/build/server/chunks/chunks/chat.svelte.js-Jj2-jIOn.js +981 -0
- package/build/server/chunks/chunks/client.js-Z9ZB5A3s.js +24 -0
- package/build/server/chunks/chunks/cloud.js-CNJrzYEH.js +30 -0
- package/build/server/chunks/chunks/detail.js-DxYLE5pO.js +146 -0
- package/build/server/chunks/chunks/features.js-BNl8N8us.js +124 -0
- package/build/server/chunks/chunks/feedback.js-CXkVSg-e.js +67 -0
- package/build/server/chunks/chunks/inbox.js-cDDxDr-d.js +227 -0
- package/build/server/chunks/chunks/index2.js-BuH5pXIO.js +46 -0
- package/build/server/chunks/chunks/insights.svelte.js-DJcO7VuV.js +681 -0
- package/build/server/chunks/chunks/internal.js-P5l_A-5A.js +151 -0
- package/build/server/chunks/chunks/live.svelte.js-CBuX_3NN.js +259 -0
- package/build/server/chunks/chunks/marketplace-service.js-CGVSX8p6.js +557 -0
- package/build/server/chunks/chunks/nav.js-BPe-bdte.js +40 -0
- package/build/server/chunks/chunks/package.js-BDDNJbGn.js +154 -0
- package/build/server/chunks/chunks/page.js-BgfXtu-S.js +11 -0
- package/build/server/chunks/chunks/plugins.js-Du4zNBUe.js +58 -0
- package/build/server/chunks/chunks/previewhelper2.js-NdpLxkBo.js +165 -0
- package/build/server/chunks/chunks/remote.js-CXfaPpKJ.js +13 -0
- package/build/server/chunks/chunks/repo.js-CyflQovd.js +33 -0
- package/build/server/chunks/chunks/runtime.js-D2Y_y1vM.js +23293 -0
- package/build/server/chunks/chunks/service.js-CcUA1MNf.js +1339 -0
- package/build/server/chunks/chunks/service2.js-Bcz1_dhB.js +834 -0
- package/build/server/chunks/chunks/settings.js-0qSOXxJ2.js +379 -0
- package/build/server/chunks/chunks/settings2.js-CagyrW8Z.js +23 -0
- package/build/server/chunks/chunks/settings3.js-8JjZvg3U.js +690 -0
- package/build/server/chunks/chunks/starter.js-B1Io2RMM.js +400 -0
- package/build/server/chunks/chunks/store.js-BMO4ONBd.js +332 -0
- package/build/server/chunks/chunks/terminal.js-CjdVxoU8.js +86 -0
- package/build/server/chunks/chunks/uploads.js-C85r452k.js +107 -0
- package/build/server/chunks/chunks/view.js-BgivR0p2.js +76 -0
- package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-CtVCWCgm.js +103 -0
- package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-DTQ6l-_K.js +111 -0
- package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-DVqDb5ph.js +50 -0
- package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js-DVKRUKVj.js +66 -0
- package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-bZHq-SMc.js +70 -0
- package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-DTxFJR1V.js +132 -0
- package/build/server/chunks/entries/endpoints/api/features/_server.ts.js-DNgC2fr8.js +54 -0
- package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-du3b3Ua-.js +62 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-DNDT3Z4d.js +96 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/_server.ts.js-B8O-PapK.js +74 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/_server.ts.js-n8fHjcWz.js +63 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/_server.ts.js-uLIM5Rap.js +57 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-BmfvCF25.js +57 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-DLvuxrgl.js +58 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-BdE7Nbi8.js +64 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-C5hgha-_.js +57 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-BuYdy0_e.js +106 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-D8ix-KMV.js +67 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-DCrszJBd.js +78 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-DiRR2F11.js +66 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-uy69dgQl.js +57 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-CCjkymcc.js +32 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-Domnv8kX.js +40 -0
- package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-aWmREBg4.js +49 -0
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-BxMzoJpi.js +49 -0
- package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-Dyd0MZRM.js +76 -0
- package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-B_cXfz2Y.js +74 -0
- package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-ZDiOr7_Q.js +67 -0
- package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-CUma0b0j.js +49 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-fjQ2v9Ce.js +84 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-WZowbKT7.js +73 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-DzBIDGRQ.js +68 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-BiHE49Iv.js +65 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-DLIcirzt.js +27 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-utxduCZr.js +72 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-f0B4cC8P.js +39 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-DnD5DtX6.js +49 -0
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-DpihWANb.js +39 -0
- package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-KUYI13Aa.js +42 -0
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-DhVmKcI9.js +54 -0
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-D_tX9zNT.js +63 -0
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-D6rcu4Aq.js +60 -0
- package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-CarsSrsd.js +64 -0
- package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-Dhu23C6L.js +27 -0
- package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-BjSLckyg.js +72 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-CEhSuDsm.js +54 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-De82q9RO.js +63 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-CmLpNwYf.js +75 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-DJ3zl97H.js +62 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-RAts5XHT.js +85 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-DrIMVE1H.js +68 -0
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/_server.ts.js-1Ds5x_14.js +79 -0
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-DmR6P1jj.js +58 -0
- package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-L-UHmfql.js +68 -0
- package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-gtT9iS_p.js +128 -0
- package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-C2Y5B6rW.js +57 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-c-TVwbRQ.js +54 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-D29QxZKX.js +73 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-Cy9CBznv.js +98 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-_yBEHTVc.js +66 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-BEz3gaAM.js +114 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-CrGpz4qm.js +68 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-sH01ulMQ.js +71 -0
- package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-BOVzuP-v.js +72 -0
- package/build/server/chunks/entries/endpoints/api/wh-events/_server.ts.js-CdpcII5l.js +84 -0
- package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-BPQoTrFi.js +40 -0
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-B6sAaEgs.js +27 -0
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-Bn4SoRIm.js +27 -0
- package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-AYH3pZmL.js +53 -0
- package/build/server/chunks/entries/fallbacks/error.svelte.js-C0-QO05E.js +15 -0
- package/build/server/chunks/entries/hooks.server.js-D6a2gyRp.js +95 -0
- package/build/server/chunks/entries/pages/_layout.server.ts.js-CvHliDGo.js +54 -0
- package/build/server/chunks/entries/pages/_layout.svelte.js-Bl5-NbQq.js +5624 -0
- package/build/server/chunks/entries/pages/_page.server.ts.js-BSjI8PFH.js +16 -0
- package/build/server/chunks/entries/pages/_page.svelte.js-BlopBrAk.js +3279 -0
- package/build/server/chunks/entries/pages/crew/_page.svelte.js-BF5K8zoV.js +134 -0
- package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-CugjhhJ0.js +11 -0
- package/build/server/chunks/entries/pages/decisions/_page.svelte.js-Ds4xjfuV.js +202 -0
- package/build/server/chunks/entries/pages/deck/_page.server.ts.js-DRIsp4Z8.js +16 -0
- package/build/server/chunks/entries/pages/deck/_page.svelte.js-B3j1apFG.js +107 -0
- package/build/server/chunks/entries/pages/events/_page.server.ts.js-Bh2gPzrc.js +11 -0
- package/build/server/chunks/entries/pages/files/_page.server.ts.js-Cy8Z9bx2.js +17 -0
- package/build/server/chunks/entries/pages/harbour/_page.server.ts.js-CBlLK4ps.js +46 -0
- package/build/server/chunks/entries/pages/harbour/_page.svelte.js-osLHLxVk.js +751 -0
- package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-CO4Z6ira.js +11 -0
- package/build/server/chunks/entries/pages/headroom/_page.svelte.js-Bax8UYm0.js +183 -0
- package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-DGZW2L8Q.js +11 -0
- package/build/server/chunks/entries/pages/inbox/_page.svelte.js-B15AVX_c.js +215 -0
- package/build/server/chunks/entries/pages/more/_page.svelte.js-DOf4Awv5.js +143 -0
- package/build/server/chunks/entries/pages/plugins/_page.svelte.js-CLdrz-XA.js +676 -0
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-vWTk7VOf.js +16 -0
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-CkcJyKQ4.js +58 -0
- package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-PlLgOOyO.js +23 -0
- package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-BTXYH5-g.js +978 -0
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-BLuhmEnf.js +21 -0
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-CD_Blsw9.js +80 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-qgMZkmkx.js +27 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-61qrv1Hx.js +419 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-935RdFbz.js +15 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-B49gjxTM.js +1866 -0
- package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-CSdxnjGK.js +11 -0
- package/build/server/chunks/entries/pages/remotes/_page.svelte.js-BKjibxGx.js +335 -0
- package/build/server/chunks/entries/pages/second-mates/_page.svelte.js-D0ng6b-W.js +421 -0
- package/build/server/chunks/entries/pages/settings/_page.server.ts.js-Cr5jVgGI.js +12 -0
- package/build/server/chunks/entries/pages/settings/chat/_page.server.ts.js-opY1gfOw.js +18 -0
- package/build/server/chunks/entries/pages/settings/chat/_page.svelte.js-Bppo_LHG.js +76 -0
- package/build/server/chunks/entries/pages/settings/cloud/_page.server.ts.js-BGElCxzg.js +15 -0
- package/build/server/chunks/entries/pages/settings/cloud/_page.svelte.js-DrJB-pyS.js +15 -0
- package/build/server/chunks/entries/pages/settings/events/_page.server.ts.js-DYo-qcBu.js +16 -0
- package/build/server/chunks/entries/pages/settings/events/_page.svelte.js-BMgyxQA5.js +110 -0
- package/build/server/chunks/entries/pages/settings/experimental/_page.server.ts.js-DvXcvQMa.js +15 -0
- package/build/server/chunks/entries/pages/settings/experimental/_page.svelte.js-DMgIFEB6.js +53 -0
- package/build/server/chunks/entries/pages/settings/firstmate/_page.server.ts.js-C8Tad0XT.js +796 -0
- package/build/server/chunks/entries/pages/settings/firstmate/_page.svelte.js-CJZx5WlZ.js +253 -0
- package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-QvEiw0LD.js +11 -0
- package/build/server/chunks/entries/pages/settings/gateway/_page.svelte.js-Iwfr2BCD.js +247 -0
- package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-Cul9MxiY.js +19 -0
- package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-BGjIG10E.js +565 -0
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-iJh09d16.js +17 -0
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-Dfi_Loha.js +238 -0
- package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-DKYLb57v.js +11 -0
- package/build/server/chunks/entries/pages/settings/setup/_page.svelte.js-CLRHx36O.js +55 -0
- package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-D9a8uPep.js +11 -0
- package/build/server/chunks/entries/pages/settings/update/_page.svelte.js-BXbaUlyB.js +61 -0
- package/build/server/chunks/entries/pages/setup/_page.server.ts.js-D67sZMdF.js +18 -0
- package/build/server/chunks/entries/pages/setup/_page.svelte.js-Ba-ZtZ1O.js +1438 -0
- package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-DAkSnSQA.js +25 -0
- package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-C12olDYH.js +2987 -0
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-CQE8Ijr4.js +24 -0
- package/build/server/chunks/entries/pages/time/_page.server.ts.js-Db0rnwb5.js +11 -0
- package/build/server/chunks/entries/pages/time/_page.svelte.js-Covw-Y4G.js +108 -0
- package/build/server/chunks/handler-D0Goy_gj.js +1474 -0
- package/build/server/chunks/index.js-pXu9ObUY.js +4296 -0
- package/build/server/chunks/manifest.js-Do1T4-VF.js +788 -0
- package/build/server/chunks/nodes/0.js-BZTsbmJz.js +57 -0
- package/build/server/chunks/nodes/1.js-CdP0WXa2.js +9 -0
- package/build/server/chunks/nodes/10.js-CNrino7f.js +54 -0
- package/build/server/chunks/nodes/11.js-DGF3qkTE.js +9 -0
- package/build/server/chunks/nodes/12.js-1BjONRNw.js +9 -0
- package/build/server/chunks/nodes/13.js-DKhpmZJk.js +54 -0
- package/build/server/chunks/nodes/14.js-C0nSMejk.js +57 -0
- package/build/server/chunks/nodes/15.js-Bv9h9CZN.js +55 -0
- package/build/server/chunks/nodes/16.js-CQJ-fJmL.js +56 -0
- package/build/server/chunks/nodes/17.js-DfTBudeO.js +55 -0
- package/build/server/chunks/nodes/18.js-CPQ8qvV7.js +26 -0
- package/build/server/chunks/nodes/19.js-QxfpabCN.js +9 -0
- package/build/server/chunks/nodes/2.js-DHnUGSut.js +54 -0
- package/build/server/chunks/nodes/20.js-CO0jqK-v.js +25 -0
- package/build/server/chunks/nodes/21.js-CyU03Rv0.js +54 -0
- package/build/server/chunks/nodes/22.js-Bu0MnVtI.js +16 -0
- package/build/server/chunks/nodes/23.js-Duh3S-2m.js +54 -0
- package/build/server/chunks/nodes/24.js-BSW5HPZi.js +25 -0
- package/build/server/chunks/nodes/25.js-D-_N0Mbw.js +54 -0
- package/build/server/chunks/nodes/26.js-BvY1ynuu.js +26 -0
- package/build/server/chunks/nodes/27.js-CkuIeOqp.js +54 -0
- package/build/server/chunks/nodes/28.js-CITEOjWA.js +57 -0
- package/build/server/chunks/nodes/29.js-v2pVe4SR.js +56 -0
- package/build/server/chunks/nodes/3.js-CCBAkyWc.js +9 -0
- package/build/server/chunks/nodes/30.js-CqZkNWNo.js +26 -0
- package/build/server/chunks/nodes/31.js-D6hGifSX.js +58 -0
- package/build/server/chunks/nodes/32.js-DUZFV2hq.js +55 -0
- package/build/server/chunks/nodes/33.js-fhp8akGp.js +55 -0
- package/build/server/chunks/nodes/34.js-vu6Q9-ea.js +54 -0
- package/build/server/chunks/nodes/4.js-CHh9z8tT.js +54 -0
- package/build/server/chunks/nodes/5.js-BBqBq22l.js +54 -0
- package/build/server/chunks/nodes/6.js-Icsevceu.js +12 -0
- package/build/server/chunks/nodes/7.js-BI4oQA5p.js +54 -0
- package/build/server/chunks/nodes/8.js-DA9me9XO.js +59 -0
- package/build/server/chunks/nodes/9.js-BoVoGe6z.js +54 -0
- package/dist/cli.js +441 -810
- package/dist/wh-vault.js +1 -1
- package/firstmate-extension/bin/wheelhouse-events.mjs +1 -1
- package/firstmate-extension/firstmate-extension.json +1 -1
- package/package.json +1 -1
- package/skills/manage-wheelhouse/SKILL.md +2 -4
- package/skills/manage-wheelhouse/references/operations.md +127 -255
- package/build/client/_app/immutable/assets/0.C9oMrRqy.css +0 -1
- package/build/client/_app/immutable/assets/0.C9oMrRqy.css.br +0 -0
- package/build/client/_app/immutable/assets/0.C9oMrRqy.css.gz +0 -0
- package/build/client/_app/immutable/chunks/-R5UuA6W.js +0 -1
- package/build/client/_app/immutable/chunks/-R5UuA6W.js.br +0 -0
- package/build/client/_app/immutable/chunks/-R5UuA6W.js.gz +0 -0
- package/build/client/_app/immutable/chunks/17yQXv5H.js +0 -1
- package/build/client/_app/immutable/chunks/17yQXv5H.js.br +0 -0
- package/build/client/_app/immutable/chunks/17yQXv5H.js.gz +0 -0
- package/build/client/_app/immutable/chunks/2j58cjmP.js +0 -1
- package/build/client/_app/immutable/chunks/2j58cjmP.js.br +0 -0
- package/build/client/_app/immutable/chunks/2j58cjmP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/2zkIFCHW.js +0 -1
- package/build/client/_app/immutable/chunks/2zkIFCHW.js.br +0 -0
- package/build/client/_app/immutable/chunks/2zkIFCHW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/4PvCEbg9.js +0 -1
- package/build/client/_app/immutable/chunks/4PvCEbg9.js.br +0 -0
- package/build/client/_app/immutable/chunks/4PvCEbg9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/5bsXDvv7.js +0 -1
- package/build/client/_app/immutable/chunks/5bsXDvv7.js.br +0 -0
- package/build/client/_app/immutable/chunks/5bsXDvv7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/AkTMb629.js +0 -1
- package/build/client/_app/immutable/chunks/AkTMb629.js.br +0 -0
- package/build/client/_app/immutable/chunks/AkTMb629.js.gz +0 -0
- package/build/client/_app/immutable/chunks/AyZjNvxJ.js +0 -1
- package/build/client/_app/immutable/chunks/AyZjNvxJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/AyZjNvxJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B0qylhKn.js +0 -1
- package/build/client/_app/immutable/chunks/B0qylhKn.js.br +0 -0
- package/build/client/_app/immutable/chunks/B0qylhKn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B2dilrJ1.js +0 -1
- package/build/client/_app/immutable/chunks/B2dilrJ1.js.br +0 -0
- package/build/client/_app/immutable/chunks/B2dilrJ1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B3YZ_h1V.js +0 -1
- package/build/client/_app/immutable/chunks/B3YZ_h1V.js.br +0 -0
- package/build/client/_app/immutable/chunks/B3YZ_h1V.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B8TYiGSn.js +0 -1
- package/build/client/_app/immutable/chunks/B8TYiGSn.js.br +0 -3
- package/build/client/_app/immutable/chunks/B8TYiGSn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BEuyZd_H.js +0 -1
- package/build/client/_app/immutable/chunks/BEuyZd_H.js.br +0 -0
- package/build/client/_app/immutable/chunks/BEuyZd_H.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BHFV4QD0.js +0 -2
- package/build/client/_app/immutable/chunks/BHFV4QD0.js.br +0 -0
- package/build/client/_app/immutable/chunks/BHFV4QD0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BJf07_Tq.js +0 -1
- package/build/client/_app/immutable/chunks/BJf07_Tq.js.br +0 -0
- package/build/client/_app/immutable/chunks/BJf07_Tq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BNPWPwBA.js +0 -1
- package/build/client/_app/immutable/chunks/BNPWPwBA.js.br +0 -0
- package/build/client/_app/immutable/chunks/BNPWPwBA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BO7mWV3q.js +0 -1
- package/build/client/_app/immutable/chunks/BO7mWV3q.js.br +0 -0
- package/build/client/_app/immutable/chunks/BO7mWV3q.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BQgkZ2sq.js +0 -1
- package/build/client/_app/immutable/chunks/BQgkZ2sq.js.br +0 -0
- package/build/client/_app/immutable/chunks/BQgkZ2sq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BQx3kH94.js +0 -1
- package/build/client/_app/immutable/chunks/BQx3kH94.js.br +0 -1
- package/build/client/_app/immutable/chunks/BQx3kH94.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BTgiX7q6.js +0 -1
- package/build/client/_app/immutable/chunks/BTgiX7q6.js.br +0 -0
- package/build/client/_app/immutable/chunks/BTgiX7q6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BW6TXKVP.js +0 -5
- package/build/client/_app/immutable/chunks/BW6TXKVP.js.br +0 -0
- package/build/client/_app/immutable/chunks/BW6TXKVP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BWOsRt2c.js +0 -1
- package/build/client/_app/immutable/chunks/BWOsRt2c.js.br +0 -0
- package/build/client/_app/immutable/chunks/BWOsRt2c.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BX05yreF.js +0 -2
- package/build/client/_app/immutable/chunks/BX05yreF.js.br +0 -0
- package/build/client/_app/immutable/chunks/BX05yreF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B_2t3_By.js +0 -2
- package/build/client/_app/immutable/chunks/B_2t3_By.js.br +0 -0
- package/build/client/_app/immutable/chunks/B_2t3_By.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BapAUJpM.js +0 -1
- package/build/client/_app/immutable/chunks/BapAUJpM.js.br +0 -0
- package/build/client/_app/immutable/chunks/BapAUJpM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BapGo5xB.js +0 -1
- package/build/client/_app/immutable/chunks/BapGo5xB.js.br +0 -0
- package/build/client/_app/immutable/chunks/BapGo5xB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Benn2ku8.js +0 -1
- package/build/client/_app/immutable/chunks/Benn2ku8.js.br +0 -2
- package/build/client/_app/immutable/chunks/Benn2ku8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BhhO0W5d.js +0 -1
- package/build/client/_app/immutable/chunks/BhhO0W5d.js.br +0 -0
- package/build/client/_app/immutable/chunks/BhhO0W5d.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BiQ6rAAv.js +0 -1
- package/build/client/_app/immutable/chunks/BiQ6rAAv.js.br +0 -0
- package/build/client/_app/immutable/chunks/BiQ6rAAv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bizxuiru.js +0 -1
- package/build/client/_app/immutable/chunks/Bizxuiru.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bizxuiru.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bn3Yq4pv.js +0 -1
- package/build/client/_app/immutable/chunks/Bn3Yq4pv.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bn3Yq4pv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bo_sYRYh.js +0 -1
- package/build/client/_app/immutable/chunks/Bo_sYRYh.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bo_sYRYh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bqxwq-OA.js +0 -1
- package/build/client/_app/immutable/chunks/Bqxwq-OA.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bqxwq-OA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BrgoBMfa.js +0 -1
- package/build/client/_app/immutable/chunks/BrgoBMfa.js.br +0 -0
- package/build/client/_app/immutable/chunks/BrgoBMfa.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bs3Fc3H6.js +0 -1
- package/build/client/_app/immutable/chunks/Bs3Fc3H6.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bs3Fc3H6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BtjNjERu.js +0 -2
- package/build/client/_app/immutable/chunks/BtjNjERu.js.br +0 -0
- package/build/client/_app/immutable/chunks/BtjNjERu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BuCMZvY_.js +0 -1
- package/build/client/_app/immutable/chunks/BuCMZvY_.js.br +0 -0
- package/build/client/_app/immutable/chunks/BuCMZvY_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BuyWbyHQ.js +0 -1
- package/build/client/_app/immutable/chunks/BuyWbyHQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/BuyWbyHQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BvlEi_yv.js +0 -1
- package/build/client/_app/immutable/chunks/BvlEi_yv.js.br +0 -2
- package/build/client/_app/immutable/chunks/BvlEi_yv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BvmFKihg.js +0 -1
- package/build/client/_app/immutable/chunks/BvmFKihg.js.br +0 -3
- package/build/client/_app/immutable/chunks/BvmFKihg.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BzqQZpUn.js +0 -3
- package/build/client/_app/immutable/chunks/BzqQZpUn.js.br +0 -0
- package/build/client/_app/immutable/chunks/BzqQZpUn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C-hfRMtG.js +0 -1
- package/build/client/_app/immutable/chunks/C-hfRMtG.js.br +0 -0
- package/build/client/_app/immutable/chunks/C-hfRMtG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C0iPAjbe.js +0 -1
- package/build/client/_app/immutable/chunks/C0iPAjbe.js.br +0 -0
- package/build/client/_app/immutable/chunks/C0iPAjbe.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C1J1JoZv.js +0 -1
- package/build/client/_app/immutable/chunks/C1J1JoZv.js.br +0 -0
- package/build/client/_app/immutable/chunks/C1J1JoZv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C1fJjW6r.js +0 -1
- package/build/client/_app/immutable/chunks/C1fJjW6r.js.br +0 -0
- package/build/client/_app/immutable/chunks/C1fJjW6r.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CEHelnn6.js +0 -1
- package/build/client/_app/immutable/chunks/CEHelnn6.js.br +0 -0
- package/build/client/_app/immutable/chunks/CEHelnn6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CHoTQHT3.js +0 -1
- package/build/client/_app/immutable/chunks/CHoTQHT3.js.br +0 -0
- package/build/client/_app/immutable/chunks/CHoTQHT3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CKQAWVle.js +0 -23
- package/build/client/_app/immutable/chunks/CKQAWVle.js.br +0 -0
- package/build/client/_app/immutable/chunks/CKQAWVle.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CLTYT9e_.js +0 -1
- package/build/client/_app/immutable/chunks/CLTYT9e_.js.br +0 -0
- package/build/client/_app/immutable/chunks/CLTYT9e_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CQP42D-O.js +0 -1
- package/build/client/_app/immutable/chunks/CQP42D-O.js.br +0 -0
- package/build/client/_app/immutable/chunks/CQP42D-O.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CRvuGMFq.js +0 -1
- package/build/client/_app/immutable/chunks/CRvuGMFq.js.br +0 -0
- package/build/client/_app/immutable/chunks/CRvuGMFq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CSUgYWmY.js +0 -5
- package/build/client/_app/immutable/chunks/CSUgYWmY.js.br +0 -0
- package/build/client/_app/immutable/chunks/CSUgYWmY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CTq9Zkgo.js +0 -1
- package/build/client/_app/immutable/chunks/CTq9Zkgo.js.br +0 -0
- package/build/client/_app/immutable/chunks/CTq9Zkgo.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CUnlHiFK.js +0 -1
- package/build/client/_app/immutable/chunks/CUnlHiFK.js.br +0 -0
- package/build/client/_app/immutable/chunks/CUnlHiFK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CUpIQKLG.js +0 -1
- package/build/client/_app/immutable/chunks/CUpIQKLG.js.br +0 -2
- package/build/client/_app/immutable/chunks/CUpIQKLG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CYsAwvcP.js +0 -1
- package/build/client/_app/immutable/chunks/CYsAwvcP.js.br +0 -0
- package/build/client/_app/immutable/chunks/CYsAwvcP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CZHskyAQ.js +0 -1
- package/build/client/_app/immutable/chunks/CZHskyAQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/CZHskyAQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ch4_uHvF.js +0 -1
- package/build/client/_app/immutable/chunks/Ch4_uHvF.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ch4_uHvF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ChZ3Y1Am.js +0 -1
- package/build/client/_app/immutable/chunks/ChZ3Y1Am.js.br +0 -0
- package/build/client/_app/immutable/chunks/ChZ3Y1Am.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CjpcPh0U.js +0 -1
- package/build/client/_app/immutable/chunks/CjpcPh0U.js.br +0 -0
- package/build/client/_app/immutable/chunks/CjpcPh0U.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ckl9qtEi.js +0 -2
- package/build/client/_app/immutable/chunks/Ckl9qtEi.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ckl9qtEi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ClbWd3RW.js +0 -1
- package/build/client/_app/immutable/chunks/ClbWd3RW.js.br +0 -0
- package/build/client/_app/immutable/chunks/ClbWd3RW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CpSr00yK.js +0 -1
- package/build/client/_app/immutable/chunks/CpSr00yK.js.br +0 -0
- package/build/client/_app/immutable/chunks/CpSr00yK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cq6_CyIs.js +0 -1
- package/build/client/_app/immutable/chunks/Cq6_CyIs.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cq6_CyIs.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CsPG_LA4.js +0 -1
- package/build/client/_app/immutable/chunks/CsPG_LA4.js.br +0 -0
- package/build/client/_app/immutable/chunks/CsPG_LA4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CtiQA67R.js +0 -1
- package/build/client/_app/immutable/chunks/CtiQA67R.js.br +0 -0
- package/build/client/_app/immutable/chunks/CtiQA67R.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CzGYb3br.js +0 -1
- package/build/client/_app/immutable/chunks/CzGYb3br.js.br +0 -0
- package/build/client/_app/immutable/chunks/CzGYb3br.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D1LHuj6C.js +0 -6
- package/build/client/_app/immutable/chunks/D1LHuj6C.js.br +0 -0
- package/build/client/_app/immutable/chunks/D1LHuj6C.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D1Y0sGqc.js +0 -1
- package/build/client/_app/immutable/chunks/D1Y0sGqc.js.br +0 -0
- package/build/client/_app/immutable/chunks/D1Y0sGqc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D1dJhPyZ.js +0 -1
- package/build/client/_app/immutable/chunks/D1dJhPyZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/D1dJhPyZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D3MAu9x6.js +0 -1
- package/build/client/_app/immutable/chunks/D3MAu9x6.js.br +0 -3
- package/build/client/_app/immutable/chunks/D3MAu9x6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D3n9jOLY.js +0 -1
- package/build/client/_app/immutable/chunks/D3n9jOLY.js.br +0 -0
- package/build/client/_app/immutable/chunks/D3n9jOLY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D9lrqYT9.js +0 -1
- package/build/client/_app/immutable/chunks/D9lrqYT9.js.br +0 -0
- package/build/client/_app/immutable/chunks/D9lrqYT9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DCRmlPWP.js +0 -3
- package/build/client/_app/immutable/chunks/DCRmlPWP.js.br +0 -0
- package/build/client/_app/immutable/chunks/DCRmlPWP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DDu_0v2E.js +0 -1
- package/build/client/_app/immutable/chunks/DDu_0v2E.js.br +0 -0
- package/build/client/_app/immutable/chunks/DDu_0v2E.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DJ0-LAiq.js +0 -1
- package/build/client/_app/immutable/chunks/DJ0-LAiq.js.br +0 -0
- package/build/client/_app/immutable/chunks/DJ0-LAiq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DL-tzkRg.js +0 -1
- package/build/client/_app/immutable/chunks/DL-tzkRg.js.br +0 -0
- package/build/client/_app/immutable/chunks/DL-tzkRg.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DL7m5xRh.js +0 -1
- package/build/client/_app/immutable/chunks/DL7m5xRh.js.br +0 -0
- package/build/client/_app/immutable/chunks/DL7m5xRh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DPNMQI-f.js +0 -3
- package/build/client/_app/immutable/chunks/DPNMQI-f.js.br +0 -0
- package/build/client/_app/immutable/chunks/DPNMQI-f.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DPogH2wV.js +0 -1
- package/build/client/_app/immutable/chunks/DPogH2wV.js.br +0 -0
- package/build/client/_app/immutable/chunks/DPogH2wV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DQiAdhQw.js +0 -1
- package/build/client/_app/immutable/chunks/DQiAdhQw.js.br +0 -0
- package/build/client/_app/immutable/chunks/DQiAdhQw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DTqpqrtJ.js +0 -1
- package/build/client/_app/immutable/chunks/DTqpqrtJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/DTqpqrtJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DXfo8PmL.js +0 -1
- package/build/client/_app/immutable/chunks/DXfo8PmL.js.br +0 -0
- package/build/client/_app/immutable/chunks/DXfo8PmL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DapSVwmz.js +0 -1
- package/build/client/_app/immutable/chunks/DapSVwmz.js.br +0 -0
- package/build/client/_app/immutable/chunks/DapSVwmz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DcVq5qZV.js +0 -1
- package/build/client/_app/immutable/chunks/DcVq5qZV.js.br +0 -0
- package/build/client/_app/immutable/chunks/DcVq5qZV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DeLXvZYw.js +0 -1
- package/build/client/_app/immutable/chunks/DeLXvZYw.js.br +0 -0
- package/build/client/_app/immutable/chunks/DeLXvZYw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dg53M_ti.js +0 -1
- package/build/client/_app/immutable/chunks/Dg53M_ti.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dg53M_ti.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dj-8AZ7f.js +0 -1
- package/build/client/_app/immutable/chunks/Dj-8AZ7f.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dj-8AZ7f.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dk_xZSyL.js +0 -1
- package/build/client/_app/immutable/chunks/Dk_xZSyL.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dk_xZSyL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dlwil2KJ.js +0 -2
- package/build/client/_app/immutable/chunks/Dlwil2KJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dlwil2KJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DrJnxSPo.js +0 -6
- package/build/client/_app/immutable/chunks/DrJnxSPo.js.br +0 -0
- package/build/client/_app/immutable/chunks/DrJnxSPo.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ds3uOF6e.js +0 -1
- package/build/client/_app/immutable/chunks/Ds3uOF6e.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ds3uOF6e.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DthKTLUm.js +0 -1
- package/build/client/_app/immutable/chunks/DthKTLUm.js.br +0 -0
- package/build/client/_app/immutable/chunks/DthKTLUm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DwcCQttf.js +0 -1
- package/build/client/_app/immutable/chunks/DwcCQttf.js.br +0 -0
- package/build/client/_app/immutable/chunks/DwcCQttf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DxWXrUGk.js +0 -1
- package/build/client/_app/immutable/chunks/DxWXrUGk.js.br +0 -1
- package/build/client/_app/immutable/chunks/DxWXrUGk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DzB904xK.js +0 -1
- package/build/client/_app/immutable/chunks/DzB904xK.js.br +0 -0
- package/build/client/_app/immutable/chunks/DzB904xK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/G0OxOo-j.js +0 -1
- package/build/client/_app/immutable/chunks/G0OxOo-j.js.br +0 -0
- package/build/client/_app/immutable/chunks/G0OxOo-j.js.gz +0 -0
- package/build/client/_app/immutable/chunks/HGOM9FQp.js +0 -1
- package/build/client/_app/immutable/chunks/HGOM9FQp.js.br +0 -0
- package/build/client/_app/immutable/chunks/HGOM9FQp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Itz0igUV.js +0 -1
- package/build/client/_app/immutable/chunks/Itz0igUV.js.br +0 -0
- package/build/client/_app/immutable/chunks/Itz0igUV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Jz25bDPF.js +0 -6
- package/build/client/_app/immutable/chunks/Jz25bDPF.js.br +0 -0
- package/build/client/_app/immutable/chunks/Jz25bDPF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/RwkF0GJx.js +0 -1
- package/build/client/_app/immutable/chunks/RwkF0GJx.js.br +0 -0
- package/build/client/_app/immutable/chunks/RwkF0GJx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/TmlbWVoX.js +0 -1
- package/build/client/_app/immutable/chunks/TmlbWVoX.js.br +0 -0
- package/build/client/_app/immutable/chunks/TmlbWVoX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Tw4ZagXG.js +0 -4
- package/build/client/_app/immutable/chunks/Tw4ZagXG.js.br +0 -0
- package/build/client/_app/immutable/chunks/Tw4ZagXG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/XHroc4sZ.js +0 -7
- package/build/client/_app/immutable/chunks/XHroc4sZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/XHroc4sZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Z63H-b9Q.js +0 -1
- package/build/client/_app/immutable/chunks/Z63H-b9Q.js.br +0 -0
- package/build/client/_app/immutable/chunks/Z63H-b9Q.js.gz +0 -0
- package/build/client/_app/immutable/chunks/dnEz5smc.js +0 -1
- package/build/client/_app/immutable/chunks/dnEz5smc.js.br +0 -0
- package/build/client/_app/immutable/chunks/dnEz5smc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/mDP9WxDP.js +0 -1
- package/build/client/_app/immutable/chunks/mDP9WxDP.js.br +0 -0
- package/build/client/_app/immutable/chunks/mDP9WxDP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/qeJeFzXW.js +0 -1
- package/build/client/_app/immutable/chunks/qeJeFzXW.js.br +0 -0
- package/build/client/_app/immutable/chunks/qeJeFzXW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/tmzKHh8K.js +0 -62
- package/build/client/_app/immutable/chunks/tmzKHh8K.js.br +0 -0
- package/build/client/_app/immutable/chunks/tmzKHh8K.js.gz +0 -0
- package/build/client/_app/immutable/chunks/u8Xomwfh.js +0 -1
- package/build/client/_app/immutable/chunks/u8Xomwfh.js.br +0 -0
- package/build/client/_app/immutable/chunks/u8Xomwfh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/uu_Hh4wT.js +0 -1
- package/build/client/_app/immutable/chunks/uu_Hh4wT.js.br +0 -0
- package/build/client/_app/immutable/chunks/uu_Hh4wT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/xjN9NojQ.js +0 -1
- package/build/client/_app/immutable/chunks/xjN9NojQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/xjN9NojQ.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.DjxuUrhT.js +0 -2
- package/build/client/_app/immutable/entry/app.DjxuUrhT.js.br +0 -0
- package/build/client/_app/immutable/entry/app.DjxuUrhT.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.DI3PHIhx.js +0 -1
- package/build/client/_app/immutable/entry/start.DI3PHIhx.js.br +0 -0
- package/build/client/_app/immutable/entry/start.DI3PHIhx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.CYp4e3qo.js +0 -9
- package/build/client/_app/immutable/nodes/0.CYp4e3qo.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.CYp4e3qo.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.2Eyd_ISp.js +0 -1
- package/build/client/_app/immutable/nodes/1.2Eyd_ISp.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.2Eyd_ISp.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.DQVYCJ9_.js +0 -6
- package/build/client/_app/immutable/nodes/10.DQVYCJ9_.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.DQVYCJ9_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.CdV2fuqq.js +0 -1
- package/build/client/_app/immutable/nodes/11.CdV2fuqq.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.CdV2fuqq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.BLQom29i.js +0 -10
- package/build/client/_app/immutable/nodes/12.BLQom29i.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.BLQom29i.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.D_gcFahq.js +0 -1
- package/build/client/_app/immutable/nodes/13.D_gcFahq.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.D_gcFahq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.C6WDkV_x.js +0 -3
- package/build/client/_app/immutable/nodes/14.C6WDkV_x.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.C6WDkV_x.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.DZXYHjDC.js +0 -1
- package/build/client/_app/immutable/nodes/15.DZXYHjDC.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.DZXYHjDC.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.Yy_rmXn6.js +0 -14
- package/build/client/_app/immutable/nodes/16.Yy_rmXn6.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.Yy_rmXn6.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.DGewNhAZ.js +0 -150
- package/build/client/_app/immutable/nodes/17.DGewNhAZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.DGewNhAZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/18.BqIbjxg4.js +0 -3
- package/build/client/_app/immutable/nodes/18.BqIbjxg4.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.BqIbjxg4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.CUuca56L.js +0 -5
- package/build/client/_app/immutable/nodes/19.CUuca56L.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.CUuca56L.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.imyQ6LK3.js +0 -28
- package/build/client/_app/immutable/nodes/2.imyQ6LK3.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.imyQ6LK3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.B9lrhviU.js +0 -4
- package/build/client/_app/immutable/nodes/21.B9lrhviU.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.B9lrhviU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.BiV0VupJ.js +0 -2
- package/build/client/_app/immutable/nodes/22.BiV0VupJ.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.BiV0VupJ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/23.Cd9baK3q.js +0 -5
- package/build/client/_app/immutable/nodes/23.Cd9baK3q.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.Cd9baK3q.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.CH7E-1aM.js +0 -11
- package/build/client/_app/immutable/nodes/24.CH7E-1aM.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.CH7E-1aM.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.-XZtgn61.js +0 -7
- package/build/client/_app/immutable/nodes/25.-XZtgn61.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.-XZtgn61.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.fblEnZVC.js +0 -2
- package/build/client/_app/immutable/nodes/26.fblEnZVC.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.fblEnZVC.js.gz +0 -0
- package/build/client/_app/immutable/nodes/27.Ap8vGMnf.js +0 -4
- package/build/client/_app/immutable/nodes/27.Ap8vGMnf.js.br +0 -0
- package/build/client/_app/immutable/nodes/27.Ap8vGMnf.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.B1aSpnD2.js +0 -7
- package/build/client/_app/immutable/nodes/28.B1aSpnD2.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.B1aSpnD2.js.gz +0 -0
- package/build/client/_app/immutable/nodes/29.DKiRzT35.js +0 -23
- package/build/client/_app/immutable/nodes/29.DKiRzT35.js.br +0 -0
- package/build/client/_app/immutable/nodes/29.DKiRzT35.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.HeJpVpRR.js +0 -2
- package/build/client/_app/immutable/nodes/3.HeJpVpRR.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.HeJpVpRR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.DS8z5JZu.js +0 -3
- package/build/client/_app/immutable/nodes/30.DS8z5JZu.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.DS8z5JZu.js.gz +0 -0
- package/build/client/_app/immutable/nodes/31.r71umLj1.js +0 -1
- package/build/client/_app/immutable/nodes/31.r71umLj1.js.br +0 -0
- package/build/client/_app/immutable/nodes/31.r71umLj1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/32.DFfdrbNY.js +0 -6
- package/build/client/_app/immutable/nodes/32.DFfdrbNY.js.br +0 -0
- package/build/client/_app/immutable/nodes/32.DFfdrbNY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.B0FMKg07.js +0 -5
- package/build/client/_app/immutable/nodes/4.B0FMKg07.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.B0FMKg07.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.DTXXi82P.js +0 -1
- package/build/client/_app/immutable/nodes/5.DTXXi82P.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.DTXXi82P.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.CQkqycyD.js +0 -8
- package/build/client/_app/immutable/nodes/6.CQkqycyD.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.CQkqycyD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.veuzIXkf.js +0 -1
- package/build/client/_app/immutable/nodes/7.veuzIXkf.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.veuzIXkf.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.BZVO6Msr.js +0 -2
- package/build/client/_app/immutable/nodes/8.BZVO6Msr.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.BZVO6Msr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.Bd7xkirj.js +0 -7
- package/build/client/_app/immutable/nodes/9.Bd7xkirj.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.Bd7xkirj.js.gz +0 -0
- package/build/server/chunks/chunks/Activity.js-CxD2wX1f.js +0 -46
- package/build/server/chunks/chunks/ConsoleWindow.js-Dg95qjnD.js +0 -120
- package/build/server/chunks/chunks/DecisionCard.js-WGJAKgzq.js +0 -2206
- package/build/server/chunks/chunks/Discussion.js-Bzd7lD9u.js +0 -592
- package/build/server/chunks/chunks/EtaLine.js-CdLq1uWs.js +0 -98
- package/build/server/chunks/chunks/InsightsNav.js-C_dVsHn9.js +0 -18
- package/build/server/chunks/chunks/InstallFromGitHub.js-B8olI6o3.js +0 -272
- package/build/server/chunks/chunks/MicButton.svelte_svelte_type_style_lang.js-ChvZV7Pf.js +0 -200
- package/build/server/chunks/chunks/OpenDecision.js-D1FDRBCl.js +0 -29
- package/build/server/chunks/chunks/PluginElement.js-DW1ooWEo.js +0 -25
- package/build/server/chunks/chunks/RemotesPanel.js-KDwwgFLi.js +0 -315
- package/build/server/chunks/chunks/SettingsNav.js-BQRPyE0b.js +0 -27
- package/build/server/chunks/chunks/SlotContent.js-B04EjwnQ.js +0 -703
- package/build/server/chunks/chunks/bell.js-CpM8DqYk.js +0 -189
- package/build/server/chunks/chunks/chat.svelte.js-Bey5d2gx.js +0 -981
- package/build/server/chunks/chunks/client.js-eyO8nh9R.js +0 -24
- package/build/server/chunks/chunks/cloud.js-DiLoEINt.js +0 -30
- package/build/server/chunks/chunks/detail.js-C8yd-Z-k.js +0 -146
- package/build/server/chunks/chunks/feedback.js-Ct_PXfnL.js +0 -67
- package/build/server/chunks/chunks/inbox.js-Bng-BpZZ.js +0 -227
- package/build/server/chunks/chunks/index2.js-CwJbkPWB.js +0 -40
- package/build/server/chunks/chunks/insights.svelte.js-B7CDDra-.js +0 -681
- package/build/server/chunks/chunks/internal.js-BVfSrIaO.js +0 -151
- package/build/server/chunks/chunks/keychain.js-Bwhnlb47.js +0 -201
- package/build/server/chunks/chunks/live.svelte.js-bE0H0fOh.js +0 -259
- package/build/server/chunks/chunks/marketplace-service.js-Bf67a5qK.js +0 -557
- package/build/server/chunks/chunks/nav.js-BDNfqN62.js +0 -34
- package/build/server/chunks/chunks/page.js-DRSgP4Nf.js +0 -11
- package/build/server/chunks/chunks/plugins.js-CEZaeLDm.js +0 -58
- package/build/server/chunks/chunks/previewhelper2.js-DgImM7LU.js +0 -165
- package/build/server/chunks/chunks/remote.js-CjqBh4V7.js +0 -379
- package/build/server/chunks/chunks/repo.js-1Zz6jztZ.js +0 -33
- package/build/server/chunks/chunks/runtime.js-D4GFKvTr.js +0 -24904
- package/build/server/chunks/chunks/service.js-BFMNOfIl.js +0 -1339
- package/build/server/chunks/chunks/service2.js-DGWkj8bc.js +0 -832
- package/build/server/chunks/chunks/settings.js-CagyrW8Z.js +0 -23
- package/build/server/chunks/chunks/settings2.js-8JjZvg3U.js +0 -690
- package/build/server/chunks/chunks/starter.js-Ci5SG2-L.js +0 -333
- package/build/server/chunks/chunks/state.svelte.js-kNm-eS2R.js +0 -13
- package/build/server/chunks/chunks/store.js-B9jMXKuN.js +0 -332
- package/build/server/chunks/chunks/terminal.js-BE8dA5Np.js +0 -203
- package/build/server/chunks/chunks/uploads.js-BrtmTDb4.js +0 -107
- package/build/server/chunks/chunks/view.js-D-abQADs.js +0 -76
- package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-C_qHN0HZ.js +0 -102
- package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-BQdIbOEp.js +0 -88
- package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-Dg0sSFAY.js +0 -49
- package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js-3uKP02RI.js +0 -65
- package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-D2jib9aE.js +0 -69
- package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-Blxykvvt.js +0 -126
- package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-B1y3z-jS.js +0 -61
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-PkfhyzwW.js +0 -95
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/_server.ts.js-gJ5xScUm.js +0 -73
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/_server.ts.js-DGXQ-zkQ.js +0 -62
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/_server.ts.js-CMbtapbw.js +0 -56
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-BwMIk6K7.js +0 -56
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-Dy1X4RoW.js +0 -57
- package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-CQdKAHK1.js +0 -63
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-Bijfioyt.js +0 -56
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-B8wHGl1U.js +0 -103
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-CLmEMzHE.js +0 -66
- package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-DPfnSrOP.js +0 -77
- package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-DpuxD6ra.js +0 -65
- package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-GFk3YNTI.js +0 -56
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-y3uJDvvB.js +0 -32
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-NgY968RP.js +0 -40
- package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-DtJ7o3h6.js +0 -48
- package/build/server/chunks/entries/endpoints/api/gateway/_server.ts.js-BNYPioH6.js +0 -112
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-CL6_xTqD.js +0 -48
- package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-CTJ1GCqi.js +0 -72
- package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-juvjDkla.js +0 -70
- package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-VwTGmwWy.js +0 -63
- package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-PlAADCGh.js +0 -48
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-D2nDWuXi.js +0 -83
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-BwsQgq9l.js +0 -72
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-296HIX3X.js +0 -67
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-Cz86xALS.js +0 -64
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-Bkab19gV.js +0 -27
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-B1JQjGvk.js +0 -71
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-ClJT6vre.js +0 -39
- package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-Db2VDYLf.js +0 -48
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-B7EHCLQr.js +0 -39
- package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-CM8y655N.js +0 -42
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-CklmEXNl.js +0 -53
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-DcQ3oNpD.js +0 -62
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-C2MPwwhM.js +0 -59
- package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-Cq9U-mk0.js +0 -63
- package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-BV6J-_1C.js +0 -27
- package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-BbgdGXkP.js +0 -71
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-BRKM86Bs.js +0 -53
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-B4BHMlUn.js +0 -62
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-Cz2d0sgC.js +0 -74
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-ClL33GrR.js +0 -61
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-CgDc-SZX.js +0 -84
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-C5bEur-E.js +0 -67
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/_server.ts.js-CmZejtbC.js +0 -78
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-BIC3r0mF.js +0 -57
- package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-bSpFuNd-.js +0 -67
- package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-kkD1zOY6.js +0 -127
- package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-WASxVWAE.js +0 -56
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-KcdGmRww.js +0 -53
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-dzU1Tand.js +0 -72
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-DcSxHjSj.js +0 -97
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-rxKgHNdD.js +0 -65
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-Bc0jvWRj.js +0 -113
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-V_v19918.js +0 -67
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-C9_37C0G.js +0 -70
- package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-CgKsoNyb.js +0 -71
- package/build/server/chunks/entries/endpoints/api/wh-events/_server.ts.js-Dyykjvue.js +0 -79
- package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-XlsKACr7.js +0 -40
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-DRkz98X1.js +0 -27
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-CMlPSnOW.js +0 -27
- package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-C94kkRCF.js +0 -52
- package/build/server/chunks/entries/fallbacks/error.svelte.js-CQ6LuoCk.js +0 -16
- package/build/server/chunks/entries/hooks.server.js-X02y8x8r.js +0 -85
- package/build/server/chunks/entries/pages/_layout.server.ts.js-C7De-Isg.js +0 -48
- package/build/server/chunks/entries/pages/_layout.svelte.js-CWSWEU4c.js +0 -5625
- package/build/server/chunks/entries/pages/_page.server.ts.js-BAoJ3p8C.js +0 -16
- package/build/server/chunks/entries/pages/_page.svelte.js-WLrYNqLJ.js +0 -3280
- package/build/server/chunks/entries/pages/crew/_page.svelte.js-DxLSCEIo.js +0 -135
- package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-CwcgPuy9.js +0 -11
- package/build/server/chunks/entries/pages/decisions/_page.svelte.js-DtlvbBRE.js +0 -203
- package/build/server/chunks/entries/pages/deck/_page.server.ts.js-DRYNelWn.js +0 -16
- package/build/server/chunks/entries/pages/deck/_page.svelte.js-40raAOC5.js +0 -108
- package/build/server/chunks/entries/pages/events/_page.server.ts.js-DxTqj4QH.js +0 -16
- package/build/server/chunks/entries/pages/events/_page.svelte.js-DFIdYx55.js +0 -107
- package/build/server/chunks/entries/pages/files/_page.server.ts.js-B028x03Y.js +0 -17
- package/build/server/chunks/entries/pages/harbour/_page.server.ts.js-CwZ_MiRj.js +0 -46
- package/build/server/chunks/entries/pages/harbour/_page.svelte.js-B9TjegrQ.js +0 -752
- package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-y5BkosA3.js +0 -11
- package/build/server/chunks/entries/pages/headroom/_page.svelte.js-BYHQmCiS.js +0 -184
- package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-BtKe-bOo.js +0 -11
- package/build/server/chunks/entries/pages/inbox/_page.svelte.js-DEKnkNaY.js +0 -216
- package/build/server/chunks/entries/pages/more/_page.svelte.js-drke36Ab.js +0 -124
- package/build/server/chunks/entries/pages/plugins/_page.svelte.js-D_89AE35.js +0 -677
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-BoeEQKEq.js +0 -16
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-CqRkGC72.js +0 -59
- package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-BY-JZmZi.js +0 -23
- package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-DvLV4o64.js +0 -979
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-DShuuT5L.js +0 -21
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-38_zNs2V.js +0 -81
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-CmpeC-xY.js +0 -27
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-BEja-Msc.js +0 -420
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-BsB9NTOF.js +0 -15
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-BvylSr-u.js +0 -1867
- package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-DnrV_9t0.js +0 -11
- package/build/server/chunks/entries/pages/remotes/_page.svelte.js-C398numQ.js +0 -32
- package/build/server/chunks/entries/pages/second-mates/_page.svelte.js-D_GQXruo.js +0 -422
- package/build/server/chunks/entries/pages/settings/_page.server.ts.js-DnBg1UuM.js +0 -11
- package/build/server/chunks/entries/pages/settings/chat/_page.server.ts.js-BqytLDW-.js +0 -18
- package/build/server/chunks/entries/pages/settings/chat/_page.svelte.js-hdj1DraE.js +0 -77
- package/build/server/chunks/entries/pages/settings/cloud/_page.server.ts.js-D6cmKIUU.js +0 -11
- package/build/server/chunks/entries/pages/settings/cloud/_page.svelte.js-DYVlEJGP.js +0 -34
- package/build/server/chunks/entries/pages/settings/firstmate/_page.server.ts.js-D2TwcU53.js +0 -796
- package/build/server/chunks/entries/pages/settings/firstmate/_page.svelte.js-vnwQYzgl.js +0 -254
- package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-Ca_Lj96a.js +0 -11
- package/build/server/chunks/entries/pages/settings/gateway/_page.svelte.js-DrnGU-9C.js +0 -210
- package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-HxNKn5zw.js +0 -19
- package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-C2DrueB0.js +0 -566
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-BQMJ-Kte.js +0 -17
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-CIWh1t9z.js +0 -239
- package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-C7Vk4FGL.js +0 -11
- package/build/server/chunks/entries/pages/settings/setup/_page.svelte.js-Cg5U-PSZ.js +0 -56
- package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-DGHgCNKB.js +0 -11
- package/build/server/chunks/entries/pages/settings/update/_page.svelte.js-CxG-h6al.js +0 -62
- package/build/server/chunks/entries/pages/setup/_page.server.ts.js-C9W4cn9Q.js +0 -18
- package/build/server/chunks/entries/pages/setup/_page.svelte.js-4CoLb-P8.js +0 -1438
- package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-Cn9hZ81D.js +0 -25
- package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-riLrMlJp.js +0 -2988
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-CqF-vZjS.js +0 -24
- package/build/server/chunks/entries/pages/time/_page.server.ts.js-rE2OhxUx.js +0 -11
- package/build/server/chunks/entries/pages/time/_page.svelte.js-DzN2bkPN.js +0 -109
- package/build/server/chunks/handler-CXlqSeVI.js +0 -1474
- package/build/server/chunks/index.js-BE0h2CLl.js +0 -4296
- package/build/server/chunks/manifest.js-CCp6WrG-.js +0 -772
- package/build/server/chunks/nodes/0.js-DqKFTZad.js +0 -55
- package/build/server/chunks/nodes/1.js-DDvuIMoz.js +0 -9
- package/build/server/chunks/nodes/10.js-CTJlIxhf.js +0 -53
- package/build/server/chunks/nodes/11.js-qXwPzT50.js +0 -9
- package/build/server/chunks/nodes/12.js-D4bnpDqF.js +0 -9
- package/build/server/chunks/nodes/13.js-BWjauumk.js +0 -53
- package/build/server/chunks/nodes/14.js-iK973EDW.js +0 -55
- package/build/server/chunks/nodes/15.js-BrRpoa5n.js +0 -54
- package/build/server/chunks/nodes/16.js-ayLJiAkU.js +0 -55
- package/build/server/chunks/nodes/17.js-BXDUhzn7.js +0 -54
- package/build/server/chunks/nodes/18.js-CCFiSZZD.js +0 -25
- package/build/server/chunks/nodes/19.js-C4nFTEr6.js +0 -9
- package/build/server/chunks/nodes/2.js-CKzutINN.js +0 -53
- package/build/server/chunks/nodes/20.js-BSfJvl7Q.js +0 -12
- package/build/server/chunks/nodes/21.js-s1mZQB9c.js +0 -53
- package/build/server/chunks/nodes/22.js-o3wibsmt.js +0 -25
- package/build/server/chunks/nodes/23.js-dQ-HEgpb.js +0 -53
- package/build/server/chunks/nodes/24.js-Pk3RgT1X.js +0 -53
- package/build/server/chunks/nodes/25.js-1SvEg7Ql.js +0 -53
- package/build/server/chunks/nodes/26.js-C0KicoTL.js +0 -56
- package/build/server/chunks/nodes/27.js-DyWUP9dG.js +0 -55
- package/build/server/chunks/nodes/28.js-CyXp2PZz.js +0 -26
- package/build/server/chunks/nodes/29.js-DGGDOikE.js +0 -57
- package/build/server/chunks/nodes/3.js-CtsL2qbK.js +0 -9
- package/build/server/chunks/nodes/30.js-CgaDeD1E.js +0 -54
- package/build/server/chunks/nodes/31.js-C6IaBAVj.js +0 -54
- package/build/server/chunks/nodes/32.js-DXcY33im.js +0 -53
- package/build/server/chunks/nodes/4.js-Dk5MOmfD.js +0 -53
- package/build/server/chunks/nodes/5.js-xtHohvf6.js +0 -53
- package/build/server/chunks/nodes/6.js-BVSUG-yi.js +0 -53
- package/build/server/chunks/nodes/7.js-B4DOvwnj.js +0 -53
- package/build/server/chunks/nodes/8.js-CAppruo9.js +0 -57
- package/build/server/chunks/nodes/9.js-CimsOVlj.js +0 -53
package/dist/cli.js
CHANGED
|
@@ -4,12 +4,15 @@
|
|
|
4
4
|
import { fork, spawn as spawn4 } from "node:child_process";
|
|
5
5
|
import { existsSync as existsSync3 } from "node:fs";
|
|
6
6
|
import { createServer } from "node:http";
|
|
7
|
-
import
|
|
7
|
+
import path30 from "node:path";
|
|
8
8
|
import { fileURLToPath as fileURLToPath3, pathToFileURL } from "node:url";
|
|
9
|
-
import { Command as
|
|
9
|
+
import { Command as Command5, InvalidArgumentError as InvalidArgumentError2 } from "commander";
|
|
10
10
|
|
|
11
11
|
// package.json
|
|
12
|
-
var version = "0.
|
|
12
|
+
var version = "0.21.0";
|
|
13
|
+
|
|
14
|
+
// src/lib/cloud.ts
|
|
15
|
+
var DEFAULT_GATEWAY = "https://fleetyard.io";
|
|
13
16
|
|
|
14
17
|
// src/lib/harness.ts
|
|
15
18
|
var HARNESSES = ["claude", "codex", "opencode", "pi", "grok"];
|
|
@@ -740,9 +743,8 @@ async function checkCompatibility(install2) {
|
|
|
740
743
|
};
|
|
741
744
|
}
|
|
742
745
|
|
|
743
|
-
// src/lib/server/
|
|
746
|
+
// src/lib/server/keychain.ts
|
|
744
747
|
import { spawn as spawn2 } from "node:child_process";
|
|
745
|
-
var KEYCHAIN_SERVICE = "wheelhouse-gateway";
|
|
746
748
|
var SECURITY = "/usr/bin/security";
|
|
747
749
|
var NOT_FOUND = 44;
|
|
748
750
|
function security(args, input = "") {
|
|
@@ -757,7 +759,7 @@ function security(args, input = "") {
|
|
|
757
759
|
child.stdin.end(input);
|
|
758
760
|
});
|
|
759
761
|
}
|
|
760
|
-
function macKeychain(service
|
|
762
|
+
function macKeychain(service) {
|
|
761
763
|
const failed = (what, code) => new Error(`the macOS Keychain could not ${what} (security exited ${code})`);
|
|
762
764
|
return {
|
|
763
765
|
where: `the macOS Keychain (${service})`,
|
|
@@ -785,9 +787,6 @@ function macKeychain(service = KEYCHAIN_SERVICE) {
|
|
|
785
787
|
}
|
|
786
788
|
};
|
|
787
789
|
}
|
|
788
|
-
function defaultKeychain() {
|
|
789
|
-
return process.platform === "darwin" ? macKeychain() : null;
|
|
790
|
-
}
|
|
791
790
|
|
|
792
791
|
// src/lib/server/plugins/config.ts
|
|
793
792
|
import { mkdir as mkdir2, readFile as readFile2, rename as rename2, stat as stat2, writeFile as writeFile2 } from "node:fs/promises";
|
|
@@ -961,9 +960,6 @@ import {
|
|
|
961
960
|
} from "node:fs/promises";
|
|
962
961
|
import path7 from "node:path";
|
|
963
962
|
|
|
964
|
-
// src/lib/cloud.ts
|
|
965
|
-
var DEFAULT_GATEWAY = "https://cloud.chrisjowen.net";
|
|
966
|
-
|
|
967
963
|
// src/lib/server/cloud/passkeys.ts
|
|
968
964
|
import { createHash as createHash2, createPublicKey as createPublicKey2, randomBytes as randomBytes2, verify } from "node:crypto";
|
|
969
965
|
|
|
@@ -1094,8 +1090,8 @@ var HOP_BY_HOP = /* @__PURE__ */ new Set([
|
|
|
1094
1090
|
"transfer-encoding",
|
|
1095
1091
|
"upgrade"
|
|
1096
1092
|
]);
|
|
1097
|
-
function isRestartPath(
|
|
1098
|
-
let p =
|
|
1093
|
+
function isRestartPath(path31) {
|
|
1094
|
+
let p = path31.split(/[?#]/, 1)[0];
|
|
1099
1095
|
for (let i = 0; i < 3; i++) {
|
|
1100
1096
|
try {
|
|
1101
1097
|
const d = decodeURIComponent(p);
|
|
@@ -1521,10 +1517,12 @@ var CloudSettings = class {
|
|
|
1521
1517
|
/** The settings, with defaults (off, not started, the default gateway, no device) for anything missing or unreadable, with why. */
|
|
1522
1518
|
async read() {
|
|
1523
1519
|
const settings2 = {
|
|
1520
|
+
profileName: "Fleetyard",
|
|
1524
1521
|
enabled: false,
|
|
1525
1522
|
started: false,
|
|
1526
1523
|
gateway: DEFAULT_GATEWAY,
|
|
1527
|
-
device: null
|
|
1524
|
+
device: null,
|
|
1525
|
+
reconnectAt: null
|
|
1528
1526
|
};
|
|
1529
1527
|
let text2;
|
|
1530
1528
|
try {
|
|
@@ -1542,14 +1540,18 @@ var CloudSettings = class {
|
|
|
1542
1540
|
if (!isObj(parsed) || parsed.schema !== CLOUD_SETTINGS_SCHEMA) {
|
|
1543
1541
|
return { settings: settings2, error: `${this.file} is not a Wheelhouse Cloud settings file.` };
|
|
1544
1542
|
}
|
|
1545
|
-
const
|
|
1543
|
+
const device = parseDevice(parsed.device);
|
|
1544
|
+
const gateway = str(parsed.gateway) ?? device?.gateway ?? null;
|
|
1546
1545
|
const origin = gateway ? gatewayOrigin(gateway) : null;
|
|
1546
|
+
const profileName = typeof parsed.profileName === "string" && parsed.profileName.trim() ? parsed.profileName.trim().slice(0, 60) : origin?.ok && origin.origin !== DEFAULT_GATEWAY ? new URL(origin.origin).host : "Fleetyard";
|
|
1547
1547
|
return {
|
|
1548
1548
|
settings: {
|
|
1549
|
+
profileName,
|
|
1549
1550
|
enabled: parsed.enabled === true,
|
|
1550
1551
|
started: parsed.started === true,
|
|
1551
1552
|
gateway: origin?.ok ? origin.origin : DEFAULT_GATEWAY,
|
|
1552
|
-
device
|
|
1553
|
+
device,
|
|
1554
|
+
reconnectAt: str(parsed.reconnectAt) ?? null
|
|
1553
1555
|
},
|
|
1554
1556
|
error: null
|
|
1555
1557
|
};
|
|
@@ -1557,6 +1559,7 @@ var CloudSettings = class {
|
|
|
1557
1559
|
async update(change) {
|
|
1558
1560
|
const { settings: settings2 } = await this.read();
|
|
1559
1561
|
change(settings2);
|
|
1562
|
+
settings2.profileName = (settings2.profileName.trim() || "Fleetyard").slice(0, 60);
|
|
1560
1563
|
if (!settings2.gateway) settings2.gateway = DEFAULT_GATEWAY;
|
|
1561
1564
|
const gateway = settings2.gateway === DEFAULT_GATEWAY ? "" : settings2.gateway;
|
|
1562
1565
|
await writeAtomic(
|
|
@@ -1700,7 +1703,7 @@ var CloudSettings = class {
|
|
|
1700
1703
|
};
|
|
1701
1704
|
return (await Promise.all([this.file, this.keyFile].map(one))).join("|");
|
|
1702
1705
|
}
|
|
1703
|
-
/** What the Remotes page, Settings →
|
|
1706
|
+
/** What the Remotes page, Settings → Gateway and `wheelhouse remote status` show. */
|
|
1704
1707
|
async view(viaRelay = false) {
|
|
1705
1708
|
const { settings: settings2, error } = await this.read();
|
|
1706
1709
|
const found = settings2.device ? await this.findKey() : null;
|
|
@@ -1738,6 +1741,7 @@ var CloudSettings = class {
|
|
|
1738
1741
|
const recent = status2 && device && status2.deviceId === device.id ? status2 : null;
|
|
1739
1742
|
return {
|
|
1740
1743
|
schema: "wheelhouse-cloud.v1",
|
|
1744
|
+
profileName: settings2.profileName,
|
|
1741
1745
|
enabled: settings2.enabled,
|
|
1742
1746
|
started: settings2.started,
|
|
1743
1747
|
gateway: settings2.gateway,
|
|
@@ -2008,8 +2012,8 @@ var Relay = class {
|
|
|
2008
2012
|
if (this.streams.size >= this.opts.limits.maxStreams) return { ok: false, code: "limit" };
|
|
2009
2013
|
const relay = parseRelay(msg.relay);
|
|
2010
2014
|
const headers = parseHeaders(msg.headers);
|
|
2011
|
-
const
|
|
2012
|
-
if (!relay || !headers || typeof
|
|
2015
|
+
const path31 = msg.path;
|
|
2016
|
+
if (!relay || !headers || typeof path31 !== "string" || !path31.startsWith("/") || path31.length > 8192 || !headerSafe(path31) || path31.includes(" ")) {
|
|
2013
2017
|
return { ok: false, code: "protocol", message: "The request is malformed." };
|
|
2014
2018
|
}
|
|
2015
2019
|
const refusal = this.opts.sessionRefusal?.(relay.sessionId);
|
|
@@ -2021,7 +2025,7 @@ var Relay = class {
|
|
|
2021
2025
|
message: "Wheelhouse Cloud is turned off on this machine."
|
|
2022
2026
|
};
|
|
2023
2027
|
}
|
|
2024
|
-
if (isRestartPath(
|
|
2028
|
+
if (isRestartPath(path31)) {
|
|
2025
2029
|
return {
|
|
2026
2030
|
ok: false,
|
|
2027
2031
|
code: "refused",
|
|
@@ -2031,7 +2035,7 @@ var Relay = class {
|
|
|
2031
2035
|
const target = isObj2(msg.target) ? msg.target : {};
|
|
2032
2036
|
const app = this.opts.targets.appPort();
|
|
2033
2037
|
if (target.kind === "app") {
|
|
2034
|
-
return { ok: true, port: app, host: "127.0.0.1", path:
|
|
2038
|
+
return { ok: true, port: app, host: "127.0.0.1", path: path31, headers, relay };
|
|
2035
2039
|
}
|
|
2036
2040
|
const port = target.port;
|
|
2037
2041
|
if (target.kind !== "port" || typeof port !== "number" || !Number.isInteger(port) || port < 1 || port > 65535) {
|
|
@@ -2042,7 +2046,7 @@ var Relay = class {
|
|
|
2042
2046
|
}
|
|
2043
2047
|
const late = this.opts.sessionRefusal?.(relay.sessionId);
|
|
2044
2048
|
if (late) return { ok: false, code: "refused", message: late };
|
|
2045
|
-
return { ok: true, port, host: "localhost", path:
|
|
2049
|
+
return { ok: true, port, host: "localhost", path: path31, headers, relay };
|
|
2046
2050
|
}
|
|
2047
2051
|
/** §6.3: the headers for the local request. */
|
|
2048
2052
|
localHeaders(a, originChecked, ws) {
|
|
@@ -2521,10 +2525,11 @@ var CloudService = class {
|
|
|
2521
2525
|
handed = /* @__PURE__ */ new Set();
|
|
2522
2526
|
/** Start watching the settings; resolves after the first look. */
|
|
2523
2527
|
async start() {
|
|
2528
|
+
if (this.timer) return;
|
|
2524
2529
|
this.closed = false;
|
|
2525
|
-
await this.tick();
|
|
2526
2530
|
this.timer = setInterval(() => void this.tick(), this.opts.pollMs ?? POLL_MS);
|
|
2527
2531
|
this.timer.unref?.();
|
|
2532
|
+
await this.tick();
|
|
2528
2533
|
}
|
|
2529
2534
|
/** Close the socket and stop watching; the status says the connector stopped. */
|
|
2530
2535
|
async stop() {
|
|
@@ -2585,7 +2590,7 @@ var CloudService = class {
|
|
|
2585
2590
|
return;
|
|
2586
2591
|
}
|
|
2587
2592
|
const pins = JSON.stringify(device.pins);
|
|
2588
|
-
const same = this.running && this.running.deviceId === device.id && this.running.gateway === device.gateway;
|
|
2593
|
+
const same = this.running && this.running.deviceId === device.id && this.running.gateway === device.gateway && this.running.reconnectAt === settings2.reconnectAt;
|
|
2589
2594
|
if (same && this.connector) {
|
|
2590
2595
|
await this.settlePins(this.connector, device);
|
|
2591
2596
|
if (!this.running || this.running.pins === pins) return;
|
|
@@ -2614,7 +2619,12 @@ var CloudService = class {
|
|
|
2614
2619
|
if (this.closed) return;
|
|
2615
2620
|
const seen = before?.deviceId === device.id ? [...before.sessions].reverse() : [];
|
|
2616
2621
|
this.sessions = new Map(seen.map((s) => [s.id, s]));
|
|
2617
|
-
this.running = {
|
|
2622
|
+
this.running = {
|
|
2623
|
+
deviceId: device.id,
|
|
2624
|
+
gateway: device.gateway,
|
|
2625
|
+
pins,
|
|
2626
|
+
reconnectAt: settings2.reconnectAt
|
|
2627
|
+
};
|
|
2618
2628
|
const base = {
|
|
2619
2629
|
pid: this.pid,
|
|
2620
2630
|
state: "connecting",
|
|
@@ -2749,16 +2759,107 @@ var CloudService = class {
|
|
|
2749
2759
|
}
|
|
2750
2760
|
};
|
|
2751
2761
|
|
|
2762
|
+
// src/lib/server/features.ts
|
|
2763
|
+
import { mkdir as mkdir4, readFile as readFile4, rename as rename4, unlink, writeFile as writeFile4 } from "node:fs/promises";
|
|
2764
|
+
import path9 from "node:path";
|
|
2765
|
+
|
|
2766
|
+
// src/lib/server/store/store.ts
|
|
2767
|
+
import { realpathSync } from "node:fs";
|
|
2768
|
+
import path8 from "node:path";
|
|
2769
|
+
|
|
2770
|
+
// src/lib/inbox.ts
|
|
2771
|
+
var SNOOZE_MS = 4 * 3600 * 1e3;
|
|
2772
|
+
|
|
2773
|
+
// src/lib/previewhelper.ts
|
|
2774
|
+
var HELPER_SYSTEM = [
|
|
2775
|
+
"You are the preview helper in Wheelhouse. The captain is reviewing the live preview of one task a coding worker built, and is talking it through with you before any feedback goes to Firstmate, who runs the crew.",
|
|
2776
|
+
"You see only this task: its page, the part the captain points at, its screenshots (read them with the Read tool when they help), its instructions and its history. You know nothing else and cannot change anything.",
|
|
2777
|
+
"Answer what the captain asks about the page or the work, plainly and briefly. When what the captain wants is unclear, ask one short question back. When the instructions or history settle a question, say so and quote them.",
|
|
2778
|
+
"Whenever the captain wants something changed, put it in `suggest` as one feedback line for the worker: one change per line, in plain words, saying where on the page it is. Do not suggest a line already on the list. When the captain only asks a question, `suggest` is empty.",
|
|
2779
|
+
"Never say you will change, send or fix anything: the captain edits the list and sends it to Firstmate when ready.",
|
|
2780
|
+
"Write for someone who is not a programmer: no code, file names or jargon. Keep `reply` to a few sentences."
|
|
2781
|
+
].join("\n\n");
|
|
2782
|
+
var SUMMARY_SYSTEM = [
|
|
2783
|
+
"You are the preview helper in Wheelhouse. The captain is about to send Firstmate, who runs the crew, a list of feedback several people left about one task a coding worker built. Before it goes, you tidy the list into clear points for the worker.",
|
|
2784
|
+
"Each item is one person\u2019s comment, with any replies folded in, and where on the page it points. Turn the list into points: one change per point, in plain words, saying where on the page it is. Merge items that ask for the same change, and keep who asked when it matters. Leave out chat that asks for nothing (thanks, agreement with no new ask), unless it settles a question in another item. Keep every distinct ask: do not drop, soften or invent one.",
|
|
2785
|
+
"For each point, give `from`: the numbers of the items it came from, and `points`: where on the page it is, briefly (or an empty string when it is about nothing in particular).",
|
|
2786
|
+
"Never say you will change, send or fix anything: the captain edits and picks the points and sends them.",
|
|
2787
|
+
"Write for someone who is not a programmer: no code, file names or jargon."
|
|
2788
|
+
].join("\n\n");
|
|
2789
|
+
|
|
2790
|
+
// src/lib/server/store/store.ts
|
|
2791
|
+
function defaultStateDir(env) {
|
|
2792
|
+
if (env.WHEELHOUSE_STATE_DIR) return path8.resolve(env.WHEELHOUSE_STATE_DIR);
|
|
2793
|
+
if (env.XDG_STATE_HOME) return path8.join(path8.resolve(env.XDG_STATE_HOME), "wheelhouse");
|
|
2794
|
+
return path8.join(env.HOME ?? "", ".local", "state", "wheelhouse");
|
|
2795
|
+
}
|
|
2796
|
+
function real(p) {
|
|
2797
|
+
const abs = path8.resolve(p);
|
|
2798
|
+
try {
|
|
2799
|
+
return realpathSync(abs);
|
|
2800
|
+
} catch {
|
|
2801
|
+
const parent = path8.dirname(abs);
|
|
2802
|
+
return parent === abs ? abs : path8.join(real(parent), path8.basename(abs));
|
|
2803
|
+
}
|
|
2804
|
+
}
|
|
2805
|
+
function isInside(p, dir) {
|
|
2806
|
+
const rel = path8.relative(real(dir), real(p));
|
|
2807
|
+
return rel === "" || !rel.startsWith("..") && !path8.isAbsolute(rel);
|
|
2808
|
+
}
|
|
2809
|
+
|
|
2810
|
+
// src/lib/server/setup/cloud.ts
|
|
2811
|
+
var isCloudMachine = (configDir) => readAnswers(configDir).state === "ok";
|
|
2812
|
+
|
|
2813
|
+
// src/lib/server/features.ts
|
|
2814
|
+
var FEATURE_FLAGS = ["events", "remotes"];
|
|
2815
|
+
var defaultFeatures = (configDir) => ({
|
|
2816
|
+
events: false,
|
|
2817
|
+
remotes: isCloudMachine(configDir)
|
|
2818
|
+
});
|
|
2819
|
+
function parseFeatureList(value) {
|
|
2820
|
+
const names = value.split(",").map((name) => name.trim()).filter(Boolean);
|
|
2821
|
+
const unknown = names.find((name) => !FEATURE_FLAGS.includes(name));
|
|
2822
|
+
if (unknown)
|
|
2823
|
+
throw new Error(`Unknown feature "${unknown}". Choose: ${FEATURE_FLAGS.join(", ")}.`);
|
|
2824
|
+
return [...new Set(names)];
|
|
2825
|
+
}
|
|
2826
|
+
async function featureSettings(env = process.env, configDir = defaultConfigDir(env)) {
|
|
2827
|
+
const saved = await readSavedFeatures(configDir);
|
|
2828
|
+
let forced = [];
|
|
2829
|
+
try {
|
|
2830
|
+
forced = parseFeatureList(env.WHEELHOUSE_ENABLE_FEATURES ?? "");
|
|
2831
|
+
} catch {
|
|
2832
|
+
}
|
|
2833
|
+
return {
|
|
2834
|
+
events: saved.events || forced.includes("events"),
|
|
2835
|
+
remotes: saved.remotes || forced.includes("remotes")
|
|
2836
|
+
};
|
|
2837
|
+
}
|
|
2838
|
+
async function readSavedFeatures(configDir) {
|
|
2839
|
+
const defaults = defaultFeatures(configDir);
|
|
2840
|
+
try {
|
|
2841
|
+
const raw = JSON.parse(await readFile4(path9.join(configDir, "features.json"), "utf8"));
|
|
2842
|
+
if (typeof raw !== "object" || raw === null || Array.isArray(raw)) return defaults;
|
|
2843
|
+
const record4 = raw;
|
|
2844
|
+
return {
|
|
2845
|
+
events: typeof record4.events === "boolean" ? record4.events : defaults.events,
|
|
2846
|
+
remotes: typeof record4.remotes === "boolean" ? record4.remotes : defaults.remotes
|
|
2847
|
+
};
|
|
2848
|
+
} catch {
|
|
2849
|
+
return defaults;
|
|
2850
|
+
}
|
|
2851
|
+
}
|
|
2852
|
+
|
|
2752
2853
|
// src/lib/server/plugins/installed.ts
|
|
2753
|
-
import { mkdir as
|
|
2854
|
+
import { mkdir as mkdir5, readFile as readFile5, rename as rename5, writeFile as writeFile5 } from "node:fs/promises";
|
|
2754
2855
|
import { homedir as homedir2 } from "node:os";
|
|
2755
|
-
import
|
|
2856
|
+
import path10 from "node:path";
|
|
2756
2857
|
var INSTALLED_FILE = "installed.json";
|
|
2757
2858
|
var SCHEMA = "wheelhouse-installed-plugins.v1";
|
|
2758
2859
|
var EMPTY_INSTALLED = () => ({ schema: SCHEMA, plugins: {} });
|
|
2759
2860
|
function defaultPluginsDir(env) {
|
|
2760
|
-
if (env.WHEELHOUSE_PLUGINS_DIR) return
|
|
2761
|
-
return
|
|
2861
|
+
if (env.WHEELHOUSE_PLUGINS_DIR) return path10.resolve(env.WHEELHOUSE_PLUGINS_DIR);
|
|
2862
|
+
return path10.join(homedir2(), ".wheelhouse", "plugins");
|
|
2762
2863
|
}
|
|
2763
2864
|
var isRecord2 = (v) => typeof v === "object" && v !== null && !Array.isArray(v);
|
|
2764
2865
|
function record(v) {
|
|
@@ -2770,10 +2871,10 @@ function record(v) {
|
|
|
2770
2871
|
return { repository, ref, commit, version: version2, installedAt, enabled };
|
|
2771
2872
|
}
|
|
2772
2873
|
async function readInstalled(dir) {
|
|
2773
|
-
const file =
|
|
2874
|
+
const file = path10.join(dir, INSTALLED_FILE);
|
|
2774
2875
|
let text2;
|
|
2775
2876
|
try {
|
|
2776
|
-
text2 = await
|
|
2877
|
+
text2 = await readFile5(file, "utf8");
|
|
2777
2878
|
} catch (e) {
|
|
2778
2879
|
if (e.code === "ENOENT")
|
|
2779
2880
|
return { ok: true, installed: EMPTY_INSTALLED() };
|
|
@@ -2797,19 +2898,19 @@ async function readInstalled(dir) {
|
|
|
2797
2898
|
return { ok: true, installed };
|
|
2798
2899
|
}
|
|
2799
2900
|
async function writeInstalled(dir, installed) {
|
|
2800
|
-
await
|
|
2801
|
-
const file =
|
|
2901
|
+
await mkdir5(dir, { recursive: true });
|
|
2902
|
+
const file = path10.join(dir, INSTALLED_FILE);
|
|
2802
2903
|
const tmp = `${file}.${process.pid}.tmp`;
|
|
2803
|
-
await
|
|
2904
|
+
await writeFile5(tmp, `${JSON.stringify(installed, null, " ")}
|
|
2804
2905
|
`);
|
|
2805
|
-
await
|
|
2906
|
+
await rename5(tmp, file);
|
|
2806
2907
|
}
|
|
2807
2908
|
|
|
2808
2909
|
// src/lib/server/setup/remembered.ts
|
|
2809
2910
|
import { mkdirSync as mkdirSync2, readFileSync as readFileSync3, renameSync as renameSync2, writeFileSync as writeFileSync3 } from "node:fs";
|
|
2810
|
-
import
|
|
2911
|
+
import path11 from "node:path";
|
|
2811
2912
|
var REMEMBERED_FILE = "firstmate.json";
|
|
2812
|
-
var rememberedFile = (configDir) =>
|
|
2913
|
+
var rememberedFile = (configDir) => path11.join(configDir, REMEMBERED_FILE);
|
|
2813
2914
|
function readRemembered(configDir) {
|
|
2814
2915
|
let raw;
|
|
2815
2916
|
try {
|
|
@@ -2819,60 +2920,16 @@ function readRemembered(configDir) {
|
|
|
2819
2920
|
}
|
|
2820
2921
|
if (typeof raw !== "object" || raw === null || Array.isArray(raw)) return null;
|
|
2821
2922
|
const { firstmate, home } = raw;
|
|
2822
|
-
if (typeof firstmate !== "string" || !
|
|
2823
|
-
if (home !== void 0 && home !== null && (typeof home !== "string" || !
|
|
2923
|
+
if (typeof firstmate !== "string" || !path11.isAbsolute(firstmate)) return null;
|
|
2924
|
+
if (home !== void 0 && home !== null && (typeof home !== "string" || !path11.isAbsolute(home))) {
|
|
2824
2925
|
return null;
|
|
2825
2926
|
}
|
|
2826
2927
|
return { firstmate, home: typeof home === "string" ? home : null };
|
|
2827
2928
|
}
|
|
2828
2929
|
|
|
2829
|
-
// src/lib/server/store/store.ts
|
|
2830
|
-
import { realpathSync } from "node:fs";
|
|
2831
|
-
import path10 from "node:path";
|
|
2832
|
-
|
|
2833
|
-
// src/lib/inbox.ts
|
|
2834
|
-
var SNOOZE_MS = 4 * 3600 * 1e3;
|
|
2835
|
-
|
|
2836
|
-
// src/lib/previewhelper.ts
|
|
2837
|
-
var HELPER_SYSTEM = [
|
|
2838
|
-
"You are the preview helper in Wheelhouse. The captain is reviewing the live preview of one task a coding worker built, and is talking it through with you before any feedback goes to Firstmate, who runs the crew.",
|
|
2839
|
-
"You see only this task: its page, the part the captain points at, its screenshots (read them with the Read tool when they help), its instructions and its history. You know nothing else and cannot change anything.",
|
|
2840
|
-
"Answer what the captain asks about the page or the work, plainly and briefly. When what the captain wants is unclear, ask one short question back. When the instructions or history settle a question, say so and quote them.",
|
|
2841
|
-
"Whenever the captain wants something changed, put it in `suggest` as one feedback line for the worker: one change per line, in plain words, saying where on the page it is. Do not suggest a line already on the list. When the captain only asks a question, `suggest` is empty.",
|
|
2842
|
-
"Never say you will change, send or fix anything: the captain edits the list and sends it to Firstmate when ready.",
|
|
2843
|
-
"Write for someone who is not a programmer: no code, file names or jargon. Keep `reply` to a few sentences."
|
|
2844
|
-
].join("\n\n");
|
|
2845
|
-
var SUMMARY_SYSTEM = [
|
|
2846
|
-
"You are the preview helper in Wheelhouse. The captain is about to send Firstmate, who runs the crew, a list of feedback several people left about one task a coding worker built. Before it goes, you tidy the list into clear points for the worker.",
|
|
2847
|
-
"Each item is one person\u2019s comment, with any replies folded in, and where on the page it points. Turn the list into points: one change per point, in plain words, saying where on the page it is. Merge items that ask for the same change, and keep who asked when it matters. Leave out chat that asks for nothing (thanks, agreement with no new ask), unless it settles a question in another item. Keep every distinct ask: do not drop, soften or invent one.",
|
|
2848
|
-
"For each point, give `from`: the numbers of the items it came from, and `points`: where on the page it is, briefly (or an empty string when it is about nothing in particular).",
|
|
2849
|
-
"Never say you will change, send or fix anything: the captain edits and picks the points and sends them.",
|
|
2850
|
-
"Write for someone who is not a programmer: no code, file names or jargon."
|
|
2851
|
-
].join("\n\n");
|
|
2852
|
-
|
|
2853
|
-
// src/lib/server/store/store.ts
|
|
2854
|
-
function defaultStateDir(env) {
|
|
2855
|
-
if (env.WHEELHOUSE_STATE_DIR) return path10.resolve(env.WHEELHOUSE_STATE_DIR);
|
|
2856
|
-
if (env.XDG_STATE_HOME) return path10.join(path10.resolve(env.XDG_STATE_HOME), "wheelhouse");
|
|
2857
|
-
return path10.join(env.HOME ?? "", ".local", "state", "wheelhouse");
|
|
2858
|
-
}
|
|
2859
|
-
function real(p) {
|
|
2860
|
-
const abs = path10.resolve(p);
|
|
2861
|
-
try {
|
|
2862
|
-
return realpathSync(abs);
|
|
2863
|
-
} catch {
|
|
2864
|
-
const parent = path10.dirname(abs);
|
|
2865
|
-
return parent === abs ? abs : path10.join(real(parent), path10.basename(abs));
|
|
2866
|
-
}
|
|
2867
|
-
}
|
|
2868
|
-
function isInside(p, dir) {
|
|
2869
|
-
const rel = path10.relative(real(dir), real(p));
|
|
2870
|
-
return rel === "" || !rel.startsWith("..") && !path10.isAbsolute(rel);
|
|
2871
|
-
}
|
|
2872
|
-
|
|
2873
2930
|
// src/lib/server/sessions/choice.ts
|
|
2874
2931
|
import { mkdirSync as mkdirSync3, readFileSync as readFileSync4, renameSync as renameSync3, rmSync as rmSync3, writeFileSync as writeFileSync4 } from "node:fs";
|
|
2875
|
-
import
|
|
2932
|
+
import path12 from "node:path";
|
|
2876
2933
|
var SESSION_BACKENDS = ["tmux", "herdr"];
|
|
2877
2934
|
var SESSION_BACKEND_FILE = "session-backend.json";
|
|
2878
2935
|
function parseSessionBackend(value) {
|
|
@@ -2884,12 +2941,12 @@ function parseSessionBackend(value) {
|
|
|
2884
2941
|
}
|
|
2885
2942
|
return backend;
|
|
2886
2943
|
}
|
|
2887
|
-
var savedBackendFile = (configDir) =>
|
|
2944
|
+
var savedBackendFile = (configDir) => path12.join(configDir, SESSION_BACKEND_FILE);
|
|
2888
2945
|
function firstmateBackend(homeDir) {
|
|
2889
2946
|
if (!homeDir) return null;
|
|
2890
2947
|
let text2;
|
|
2891
2948
|
try {
|
|
2892
|
-
text2 = readFileSync4(
|
|
2949
|
+
text2 = readFileSync4(path12.join(homeDir, "config", "backend"), "utf8");
|
|
2893
2950
|
} catch {
|
|
2894
2951
|
return null;
|
|
2895
2952
|
}
|
|
@@ -2964,9 +3021,9 @@ function setRestart(fn) {
|
|
|
2964
3021
|
|
|
2965
3022
|
// src/lib/server/upgrade/settings.ts
|
|
2966
3023
|
import { existsSync as existsSync2, readFileSync as readFileSync5, rmSync as rmSync4 } from "node:fs";
|
|
2967
|
-
import
|
|
2968
|
-
var updateDir = (configDir) =>
|
|
2969
|
-
var handoffFile = (configDir) =>
|
|
3024
|
+
import path13 from "node:path";
|
|
3025
|
+
var updateDir = (configDir) => path13.join(configDir, "update");
|
|
3026
|
+
var handoffFile = (configDir) => path13.join(updateDir(configDir), "next-install");
|
|
2970
3027
|
function takeHandoff(configDir) {
|
|
2971
3028
|
const file = handoffFile(configDir);
|
|
2972
3029
|
let dir;
|
|
@@ -2976,549 +3033,23 @@ function takeHandoff(configDir) {
|
|
|
2976
3033
|
return null;
|
|
2977
3034
|
}
|
|
2978
3035
|
rmSync4(file, { force: true });
|
|
2979
|
-
if (!dir || !
|
|
2980
|
-
const built = existsSync2(
|
|
3036
|
+
if (!dir || !path13.isAbsolute(dir)) return null;
|
|
3037
|
+
const built = existsSync2(path13.join(dir, "dist", "cli.js")) && existsSync2(path13.join(dir, "build", "handler.js"));
|
|
2981
3038
|
return built ? dir : null;
|
|
2982
3039
|
}
|
|
2983
3040
|
|
|
2984
|
-
// cli/gateway.ts
|
|
2985
|
-
import path14 from "node:path";
|
|
2986
|
-
import { Argument, Command, InvalidArgumentError } from "commander";
|
|
2987
|
-
|
|
2988
|
-
// src/lib/gateway.ts
|
|
2989
|
-
var GATEWAY_CHANNELS = [
|
|
2990
|
-
{ channel: "discord", label: "Discord" }
|
|
2991
|
-
];
|
|
2992
|
-
var DEFAULT_GATEWAY_ALERTS = ["question", "pr-green", "stuck"];
|
|
2993
|
-
var PAIRING_MS = 10 * 6e4;
|
|
2994
|
-
|
|
2995
|
-
// src/lib/server/gateway/channels/discord.ts
|
|
2996
|
-
import WebSocket3 from "ws";
|
|
2997
|
-
var DISCORD_API = "https://discord.com/api/v10";
|
|
2998
|
-
var DISCORD_INTENTS = 1 << 12;
|
|
2999
|
-
var REQUEST_TIMEOUT_MS = 15e3;
|
|
3000
|
-
var wsTransport = {
|
|
3001
|
-
fetch: (url, init) => fetch(url, init),
|
|
3002
|
-
connect(url, on) {
|
|
3003
|
-
const ws = new WebSocket3(url);
|
|
3004
|
-
ws.on("message", (data) => on.message(data.toString()));
|
|
3005
|
-
ws.on("close", (code) => on.close(code));
|
|
3006
|
-
ws.on("error", (e) => on.error(e));
|
|
3007
|
-
return {
|
|
3008
|
-
send: (data) => {
|
|
3009
|
-
if (ws.readyState === WebSocket3.OPEN) ws.send(data);
|
|
3010
|
-
},
|
|
3011
|
-
close: (code) => ws.close(code)
|
|
3012
|
-
};
|
|
3013
|
-
}
|
|
3014
|
-
};
|
|
3015
|
-
var DiscordError = class extends Error {
|
|
3016
|
-
constructor(status2, message2) {
|
|
3017
|
-
super(message2);
|
|
3018
|
-
this.status = status2;
|
|
3019
|
-
this.name = "DiscordError";
|
|
3020
|
-
}
|
|
3021
|
-
status;
|
|
3022
|
-
};
|
|
3023
|
-
var str2 = (v) => typeof v === "string" && v ? v : null;
|
|
3024
|
-
function sleep(ms, signal) {
|
|
3025
|
-
return new Promise((resolve) => {
|
|
3026
|
-
const t = setTimeout(done, ms);
|
|
3027
|
-
function done() {
|
|
3028
|
-
clearTimeout(t);
|
|
3029
|
-
signal?.removeEventListener("abort", done);
|
|
3030
|
-
resolve();
|
|
3031
|
-
}
|
|
3032
|
-
signal?.addEventListener("abort", done, { once: true });
|
|
3033
|
-
});
|
|
3034
|
-
}
|
|
3035
|
-
async function call(transport, token, version2, method, route, what, body2) {
|
|
3036
|
-
const redact = (s) => s.split(token).join("[token]");
|
|
3037
|
-
for (let attempt = 0; ; attempt++) {
|
|
3038
|
-
let res;
|
|
3039
|
-
try {
|
|
3040
|
-
res = await transport.fetch(`${DISCORD_API}${route}`, {
|
|
3041
|
-
method,
|
|
3042
|
-
headers: {
|
|
3043
|
-
authorization: `Bot ${token}`,
|
|
3044
|
-
"content-type": "application/json",
|
|
3045
|
-
"user-agent": `DiscordBot (https://github.com/chrisjowen/wheelhouse, ${version2})`
|
|
3046
|
-
},
|
|
3047
|
-
body: body2 === void 0 ? void 0 : JSON.stringify(body2),
|
|
3048
|
-
signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS)
|
|
3049
|
-
});
|
|
3050
|
-
} catch (e) {
|
|
3051
|
-
throw new DiscordError(
|
|
3052
|
-
0,
|
|
3053
|
-
redact(`Wheelhouse could not reach Discord to ${what}: ${e.message}`)
|
|
3054
|
-
);
|
|
3055
|
-
}
|
|
3056
|
-
if (res.status === 429 && attempt < 2) {
|
|
3057
|
-
const j = await res.json().catch(() => ({}));
|
|
3058
|
-
await sleep(Math.min(10, Math.max(0.1, Number(j.retry_after) || 1)) * 1e3);
|
|
3059
|
-
continue;
|
|
3060
|
-
}
|
|
3061
|
-
const text2 = await res.text().catch(() => "");
|
|
3062
|
-
if (!res.ok) {
|
|
3063
|
-
let said = "";
|
|
3064
|
-
try {
|
|
3065
|
-
said = str2(JSON.parse(text2).message) ?? "";
|
|
3066
|
-
} catch {
|
|
3067
|
-
}
|
|
3068
|
-
throw new DiscordError(
|
|
3069
|
-
res.status,
|
|
3070
|
-
redact(`Discord would not ${what} (${res.status}${said ? `: ${said}` : ""}).`)
|
|
3071
|
-
);
|
|
3072
|
-
}
|
|
3073
|
-
return text2 ? JSON.parse(text2) : void 0;
|
|
3074
|
-
}
|
|
3075
|
-
}
|
|
3076
|
-
async function checkDiscordToken(token, opts = {}) {
|
|
3077
|
-
const transport = opts.transport ?? wsTransport;
|
|
3078
|
-
const version2 = opts.version ?? "0";
|
|
3079
|
-
try {
|
|
3080
|
-
const me = await call(
|
|
3081
|
-
transport,
|
|
3082
|
-
token,
|
|
3083
|
-
version2,
|
|
3084
|
-
"GET",
|
|
3085
|
-
"/users/@me",
|
|
3086
|
-
"say who the bot is"
|
|
3087
|
-
);
|
|
3088
|
-
const id = str2(me?.id);
|
|
3089
|
-
if (!id) return { ok: false, error: "Discord did not say who the bot is." };
|
|
3090
|
-
const app = await call(
|
|
3091
|
-
transport,
|
|
3092
|
-
token,
|
|
3093
|
-
version2,
|
|
3094
|
-
"GET",
|
|
3095
|
-
"/applications/@me",
|
|
3096
|
-
"describe the application"
|
|
3097
|
-
).catch(() => null);
|
|
3098
|
-
return {
|
|
3099
|
-
ok: true,
|
|
3100
|
-
bot: { id, name: str2(me.global_name) ?? str2(me.username) ?? id },
|
|
3101
|
-
appId: str2(app?.id) ?? id,
|
|
3102
|
-
publicBot: typeof app?.bot_public === "boolean" ? app.bot_public : null
|
|
3103
|
-
};
|
|
3104
|
-
} catch (e) {
|
|
3105
|
-
const status2 = e instanceof DiscordError ? e.status : 0;
|
|
3106
|
-
if (status2 === 401)
|
|
3107
|
-
return {
|
|
3108
|
-
ok: false,
|
|
3109
|
-
error: "Discord refused this token: it is not a valid bot token, or it was reset."
|
|
3110
|
-
};
|
|
3111
|
-
return { ok: false, error: e.message };
|
|
3112
|
-
}
|
|
3113
|
-
}
|
|
3114
|
-
var inviteUrl = (appId) => `https://discord.com/oauth2/authorize?client_id=${encodeURIComponent(appId)}&scope=bot&permissions=0`;
|
|
3115
|
-
|
|
3116
|
-
// src/lib/server/gateway/settings.ts
|
|
3117
|
-
import { createHash as createHash4, randomBytes as randomBytes5 } from "node:crypto";
|
|
3118
|
-
import {
|
|
3119
|
-
chmod as chmod2,
|
|
3120
|
-
lstat as lstat2,
|
|
3121
|
-
mkdir as mkdir5,
|
|
3122
|
-
readFile as readFile5,
|
|
3123
|
-
realpath as realpath2,
|
|
3124
|
-
rename as rename5,
|
|
3125
|
-
rm as rm3,
|
|
3126
|
-
stat as stat4,
|
|
3127
|
-
writeFile as writeFile5
|
|
3128
|
-
} from "node:fs/promises";
|
|
3129
|
-
import path13 from "node:path";
|
|
3130
|
-
|
|
3131
|
-
// src/lib/bell.ts
|
|
3132
|
-
var ALERT_KINDS = [
|
|
3133
|
-
{
|
|
3134
|
-
kind: "pr-green",
|
|
3135
|
-
label: "PR green",
|
|
3136
|
-
hint: "A pull request passed its checks and waits on you"
|
|
3137
|
-
},
|
|
3138
|
-
{ kind: "question", label: "Question waiting", hint: "Firstmate needs your decision" },
|
|
3139
|
-
{ kind: "stuck", label: "Worker stuck", hint: "Blocked, failed, lost contact or gone quiet" },
|
|
3140
|
-
{ kind: "landed", label: "Merge landed", hint: "A pull request was merged" },
|
|
3141
|
-
{ kind: "issue", label: "New issue", hint: "A GitHub issue you watch, with the bell on" },
|
|
3142
|
-
{
|
|
3143
|
-
kind: "events-paused",
|
|
3144
|
-
label: "Events source paused",
|
|
3145
|
-
hint: "A source exceeded its event rate limit"
|
|
3146
|
-
}
|
|
3147
|
-
];
|
|
3148
|
-
var QUIET_AFTER_MS = 20 * 6e4;
|
|
3149
|
-
|
|
3150
|
-
// src/lib/server/gateway/settings.ts
|
|
3151
|
-
var GATEWAY_SETTINGS_SCHEMA = "wheelhouse-gateway-settings.v1";
|
|
3152
|
-
var SETTINGS_FILE = "settings.json";
|
|
3153
|
-
var gatewayDir = (configDir) => path13.join(configDir, "gateway");
|
|
3154
|
-
function defaultSettings() {
|
|
3155
|
-
return Object.fromEntries(
|
|
3156
|
-
GATEWAY_CHANNELS.map((c) => [
|
|
3157
|
-
c.channel,
|
|
3158
|
-
{ enabled: true, paired: null, alerts: [...DEFAULT_GATEWAY_ALERTS], titlesOnly: false }
|
|
3159
|
-
])
|
|
3160
|
-
);
|
|
3161
|
-
}
|
|
3162
|
-
function cleanToken(raw) {
|
|
3163
|
-
const t = raw.trim().replace(/^Bot\s+/i, "");
|
|
3164
|
-
if (t.length < 50 || t.length > 200) return null;
|
|
3165
|
-
return /^[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+$/.test(t) ? t : null;
|
|
3166
|
-
}
|
|
3167
|
-
var isObj4 = (v) => typeof v === "object" && v !== null && !Array.isArray(v);
|
|
3168
|
-
var str3 = (v) => typeof v === "string" && v ? v : null;
|
|
3169
|
-
var KINDS = new Set(ALERT_KINDS.map((k) => k.kind));
|
|
3170
|
-
function parsePeer(v) {
|
|
3171
|
-
if (!isObj4(v)) return null;
|
|
3172
|
-
const id = str3(v.id);
|
|
3173
|
-
if (!id || !/^\d{1,32}$/.test(id)) return null;
|
|
3174
|
-
return { id, name: str3(v.name) ?? id, dm: str3(v.dm), at: str3(v.at) ?? (/* @__PURE__ */ new Date(0)).toISOString() };
|
|
3175
|
-
}
|
|
3176
|
-
function parseChannel(v, fallback) {
|
|
3177
|
-
if (!isObj4(v)) return fallback;
|
|
3178
|
-
return {
|
|
3179
|
-
enabled: typeof v.enabled === "boolean" ? v.enabled : fallback.enabled,
|
|
3180
|
-
paired: parsePeer(v.paired),
|
|
3181
|
-
alerts: Array.isArray(v.alerts) ? v.alerts.filter((k) => KINDS.has(k)) : fallback.alerts,
|
|
3182
|
-
titlesOnly: typeof v.titlesOnly === "boolean" ? v.titlesOnly : fallback.titlesOnly
|
|
3183
|
-
};
|
|
3184
|
-
}
|
|
3185
|
-
async function writeAtomic2(file, text2) {
|
|
3186
|
-
await mkdir5(path13.dirname(file), { recursive: true, mode: 448 });
|
|
3187
|
-
const tmp = `${file}.tmp-${process.pid}-${randomBytes5(4).toString("hex")}`;
|
|
3188
|
-
try {
|
|
3189
|
-
await writeFile5(tmp, text2, { mode: 384 });
|
|
3190
|
-
await rename5(tmp, file);
|
|
3191
|
-
} catch (e) {
|
|
3192
|
-
await rm3(tmp, { force: true });
|
|
3193
|
-
throw e;
|
|
3194
|
-
}
|
|
3195
|
-
}
|
|
3196
|
-
var GatewaySettings = class {
|
|
3197
|
-
constructor(dir, keychain = null) {
|
|
3198
|
-
this.dir = dir;
|
|
3199
|
-
this.keychain = keychain;
|
|
3200
|
-
}
|
|
3201
|
-
dir;
|
|
3202
|
-
keychain;
|
|
3203
|
-
get file() {
|
|
3204
|
-
return path13.join(this.dir, SETTINGS_FILE);
|
|
3205
|
-
}
|
|
3206
|
-
tokenFile(channel) {
|
|
3207
|
-
return path13.join(this.dir, `${channel}.token`);
|
|
3208
|
-
}
|
|
3209
|
-
/** The settings, with defaults for anything missing; an unreadable file reads as the defaults, with why. */
|
|
3210
|
-
async read() {
|
|
3211
|
-
const settings2 = defaultSettings();
|
|
3212
|
-
let text2;
|
|
3213
|
-
try {
|
|
3214
|
-
text2 = await readFile5(this.file, "utf8");
|
|
3215
|
-
} catch (e) {
|
|
3216
|
-
if (e.code === "ENOENT") return { settings: settings2, error: null };
|
|
3217
|
-
return { settings: settings2, error: `${this.file} could not be read: ${e.message}` };
|
|
3218
|
-
}
|
|
3219
|
-
let parsed;
|
|
3220
|
-
try {
|
|
3221
|
-
parsed = JSON.parse(text2);
|
|
3222
|
-
} catch {
|
|
3223
|
-
return { settings: settings2, error: `${this.file} is not valid JSON.` };
|
|
3224
|
-
}
|
|
3225
|
-
if (!isObj4(parsed) || parsed.schema !== GATEWAY_SETTINGS_SCHEMA) {
|
|
3226
|
-
return { settings: settings2, error: `${this.file} is not a Wheelhouse gateway settings file.` };
|
|
3227
|
-
}
|
|
3228
|
-
for (const { channel } of GATEWAY_CHANNELS) {
|
|
3229
|
-
settings2[channel] = parseChannel(parsed[channel], settings2[channel]);
|
|
3230
|
-
}
|
|
3231
|
-
return { settings: settings2, error: null };
|
|
3232
|
-
}
|
|
3233
|
-
/** Change the settings and write them; an unreadable file is replaced with the change applied to the defaults. */
|
|
3234
|
-
async update(change) {
|
|
3235
|
-
const { settings: settings2 } = await this.read();
|
|
3236
|
-
change(settings2);
|
|
3237
|
-
await writeAtomic2(
|
|
3238
|
-
this.file,
|
|
3239
|
-
JSON.stringify({ schema: GATEWAY_SETTINGS_SCHEMA, ...settings2 }, null, " ") + "\n"
|
|
3240
|
-
);
|
|
3241
|
-
return settings2;
|
|
3242
|
-
}
|
|
3243
|
-
/**
|
|
3244
|
-
* The channel's bot token and where it is kept, or null when none is set:
|
|
3245
|
-
* the Keychain first, then the file. A token file that is not a plain file
|
|
3246
|
-
* is ignored.
|
|
3247
|
-
*/
|
|
3248
|
-
async find(channel) {
|
|
3249
|
-
const kept = this.keychain ? await this.keychain.get(await this.keychainAccount(channel)).catch(() => null) : null;
|
|
3250
|
-
const fromKeychain = kept ? cleanToken(kept) : null;
|
|
3251
|
-
if (fromKeychain) return { token: fromKeychain, where: this.keychain.where };
|
|
3252
|
-
const file = this.tokenFile(channel);
|
|
3253
|
-
try {
|
|
3254
|
-
const s = await lstat2(file);
|
|
3255
|
-
if (!s.isFile()) return null;
|
|
3256
|
-
if ((s.mode & 63) !== 0) await chmod2(file, 384);
|
|
3257
|
-
const token = cleanToken(await readFile5(file, "utf8"));
|
|
3258
|
-
return token ? { token, where: file } : null;
|
|
3259
|
-
} catch {
|
|
3260
|
-
return null;
|
|
3261
|
-
}
|
|
3262
|
-
}
|
|
3263
|
-
async token(channel) {
|
|
3264
|
-
return (await this.find(channel))?.token ?? null;
|
|
3265
|
-
}
|
|
3266
|
-
/**
|
|
3267
|
-
* The Keychain account for the channel's token in this directory: the
|
|
3268
|
-
* channel and a digest of the directory's real path, so each config
|
|
3269
|
-
* directory has its own token.
|
|
3270
|
-
*/
|
|
3271
|
-
async keychainAccount(channel) {
|
|
3272
|
-
const real2 = await realpath2(this.dir).catch(() => path13.resolve(this.dir));
|
|
3273
|
-
return `${channel}:${createHash4("sha256").update(real2).digest("hex").slice(0, 16)}`;
|
|
3274
|
-
}
|
|
3275
|
-
/** Keep the token in the Keychain, else in its file, replacing the one before; returns where it went. */
|
|
3276
|
-
async setToken(channel, token) {
|
|
3277
|
-
await mkdir5(this.dir, { recursive: true, mode: 448 });
|
|
3278
|
-
const keychain = this.keychain;
|
|
3279
|
-
const account = await this.keychainAccount(channel);
|
|
3280
|
-
const kept = keychain ? await keychain.set(account, token).then(
|
|
3281
|
-
() => true,
|
|
3282
|
-
() => false
|
|
3283
|
-
) : false;
|
|
3284
|
-
if (kept) {
|
|
3285
|
-
await rm3(this.tokenFile(channel), { force: true });
|
|
3286
|
-
} else {
|
|
3287
|
-
await keychain?.remove(account).catch(() => false);
|
|
3288
|
-
await writeAtomic2(this.tokenFile(channel), `${token}
|
|
3289
|
-
`);
|
|
3290
|
-
await chmod2(this.dir, 448).catch(() => {
|
|
3291
|
-
});
|
|
3292
|
-
}
|
|
3293
|
-
await this.update(() => {
|
|
3294
|
-
});
|
|
3295
|
-
return kept ? keychain.where : this.tokenFile(channel);
|
|
3296
|
-
}
|
|
3297
|
-
/** Changes whenever a file is written (setting a Keychain token rewrites the settings), so the server can pick up what the CLI changed. */
|
|
3298
|
-
async stamp() {
|
|
3299
|
-
const one = async (f) => {
|
|
3300
|
-
try {
|
|
3301
|
-
const s = await stat4(f);
|
|
3302
|
-
return `${s.mtimeMs}:${s.size}:${s.ino}`;
|
|
3303
|
-
} catch {
|
|
3304
|
-
return "-";
|
|
3305
|
-
}
|
|
3306
|
-
};
|
|
3307
|
-
const files = [this.file, ...GATEWAY_CHANNELS.map((c) => this.tokenFile(c.channel))];
|
|
3308
|
-
return (await Promise.all(files.map(one))).join("|");
|
|
3309
|
-
}
|
|
3310
|
-
};
|
|
3311
|
-
|
|
3312
|
-
// cli/gateway.ts
|
|
3313
|
-
var CHANNELS = GATEWAY_CHANNELS.map((c) => c.channel);
|
|
3314
|
-
var labelOf = (c) => GATEWAY_CHANNELS.find((x) => x.channel === c).label;
|
|
3315
|
-
function parseChannel2(v) {
|
|
3316
|
-
if (!CHANNELS.includes(v)) {
|
|
3317
|
-
throw new InvalidArgumentError(`Channels: ${CHANNELS.join(", ")}.`);
|
|
3318
|
-
}
|
|
3319
|
-
return v;
|
|
3320
|
-
}
|
|
3321
|
-
function parsePort(value) {
|
|
3322
|
-
const n = Number(value);
|
|
3323
|
-
if (!Number.isInteger(n) || n < 1 || n > 65535) {
|
|
3324
|
-
throw new InvalidArgumentError("Port must be a whole number from 1 to 65535.");
|
|
3325
|
-
}
|
|
3326
|
-
return n;
|
|
3327
|
-
}
|
|
3328
|
-
async function readSecret(question2) {
|
|
3329
|
-
const input = process.stdin;
|
|
3330
|
-
if (!input.isTTY) {
|
|
3331
|
-
const chunks = [];
|
|
3332
|
-
for await (const c of input) chunks.push(Buffer.from(c));
|
|
3333
|
-
return Buffer.concat(chunks).toString("utf8");
|
|
3334
|
-
}
|
|
3335
|
-
process.stdout.write(question2);
|
|
3336
|
-
input.setRawMode(true);
|
|
3337
|
-
input.setEncoding("utf8");
|
|
3338
|
-
input.resume();
|
|
3339
|
-
return new Promise((resolve, reject) => {
|
|
3340
|
-
let value = "";
|
|
3341
|
-
const stop = () => {
|
|
3342
|
-
input.off("data", onData);
|
|
3343
|
-
input.setRawMode(false);
|
|
3344
|
-
input.pause();
|
|
3345
|
-
process.stdout.write("\n");
|
|
3346
|
-
};
|
|
3347
|
-
const onData = (s) => {
|
|
3348
|
-
for (const ch of s) {
|
|
3349
|
-
if (ch === "\r" || ch === "\n") {
|
|
3350
|
-
stop();
|
|
3351
|
-
return resolve(value);
|
|
3352
|
-
}
|
|
3353
|
-
if (ch === "" || ch === "") {
|
|
3354
|
-
stop();
|
|
3355
|
-
return reject(new Error("cancelled"));
|
|
3356
|
-
}
|
|
3357
|
-
if (ch === "\x7F" || ch === "\b") value = value.slice(0, -1);
|
|
3358
|
-
else value += ch;
|
|
3359
|
-
}
|
|
3360
|
-
};
|
|
3361
|
-
input.on("data", onData);
|
|
3362
|
-
});
|
|
3363
|
-
}
|
|
3364
|
-
async function liveView(port) {
|
|
3365
|
-
try {
|
|
3366
|
-
const r = await fetch(`http://127.0.0.1:${port}/api/gateway`, {
|
|
3367
|
-
signal: AbortSignal.timeout(1500)
|
|
3368
|
-
});
|
|
3369
|
-
return r.ok ? await r.json() : null;
|
|
3370
|
-
} catch {
|
|
3371
|
-
return null;
|
|
3372
|
-
}
|
|
3373
|
-
}
|
|
3374
|
-
function gatewayCommand(over = {}) {
|
|
3375
|
-
const deps = {
|
|
3376
|
-
env: process.env,
|
|
3377
|
-
readSecret,
|
|
3378
|
-
check: (token) => checkDiscordToken(token, { version }),
|
|
3379
|
-
keychain: defaultKeychain(),
|
|
3380
|
-
live: liveView,
|
|
3381
|
-
log: (line) => console.log(line),
|
|
3382
|
-
error: (line) => console.error(line),
|
|
3383
|
-
...over
|
|
3384
|
-
};
|
|
3385
|
-
const cmd = new Command("gateway").description("Reach Firstmate from your phone: set up the chat channels (Discord).").option(
|
|
3386
|
-
"--config-dir <dir>",
|
|
3387
|
-
"the Wheelhouse config directory (default: $WHEELHOUSE_CONFIG_DIR, else $XDG_CONFIG_HOME/wheelhouse, else ~/.config/wheelhouse)"
|
|
3388
|
-
);
|
|
3389
|
-
const settingsFor = (c) => {
|
|
3390
|
-
const dir = c.optsWithGlobals().configDir;
|
|
3391
|
-
const configDir = dir ? path14.resolve(dir) : defaultConfigDir(deps.env);
|
|
3392
|
-
const found = resolveInstall({
|
|
3393
|
-
cwd: process.cwd(),
|
|
3394
|
-
env: deps.env,
|
|
3395
|
-
remembered: readRemembered(configDir)
|
|
3396
|
-
});
|
|
3397
|
-
if (found.ok && isInside(configDir, found.install.homeDir)) {
|
|
3398
|
-
deps.error(
|
|
3399
|
-
`wheelhouse: the config directory ${configDir} is inside the Firstmate home, where the crew can read it. Pass --config-dir <dir> outside it.`
|
|
3400
|
-
);
|
|
3401
|
-
process.exitCode = 1;
|
|
3402
|
-
return null;
|
|
3403
|
-
}
|
|
3404
|
-
return new GatewaySettings(gatewayDir(configDir), deps.keychain);
|
|
3405
|
-
};
|
|
3406
|
-
const fail = (line) => {
|
|
3407
|
-
deps.error(`wheelhouse: ${line}`);
|
|
3408
|
-
process.exitCode = 1;
|
|
3409
|
-
};
|
|
3410
|
-
cmd.command("connect <channel>").description(
|
|
3411
|
-
"Set the bot token for a channel (asked for here, never taken from the command line)."
|
|
3412
|
-
).action(async (channel, _o, c) => {
|
|
3413
|
-
const ch = parseChannel2(channel);
|
|
3414
|
-
const settings2 = settingsFor(c);
|
|
3415
|
-
if (!settings2) return;
|
|
3416
|
-
let raw;
|
|
3417
|
-
try {
|
|
3418
|
-
raw = await deps.readSecret(`${labelOf(ch)} bot token (input hidden): `);
|
|
3419
|
-
} catch {
|
|
3420
|
-
return fail("cancelled; nothing was changed.");
|
|
3421
|
-
}
|
|
3422
|
-
const token = cleanToken(raw);
|
|
3423
|
-
if (!token) {
|
|
3424
|
-
return fail(
|
|
3425
|
-
"that does not look like a bot token. Copy it from the Bot page of your application in the Discord Developer Portal (Reset Token)."
|
|
3426
|
-
);
|
|
3427
|
-
}
|
|
3428
|
-
const checked = await deps.check(token);
|
|
3429
|
-
if (!checked.ok) return fail(`${checked.error} Nothing was changed.`);
|
|
3430
|
-
const where = await settings2.setToken(ch, token);
|
|
3431
|
-
deps.log(`Saved the ${labelOf(ch)} bot token in ${where} (readable by you only).`);
|
|
3432
|
-
deps.log(`Bot: ${checked.bot.name} (id ${checked.bot.id}).`);
|
|
3433
|
-
if (checked.publicBot) {
|
|
3434
|
-
deps.log(
|
|
3435
|
-
'Warning: "Public Bot" is on, so anyone with its link can add it to their server. Turn it off on the Bot page.'
|
|
3436
|
-
);
|
|
3437
|
-
}
|
|
3438
|
-
deps.log(
|
|
3439
|
-
`Add it to a private server you are in (it needs no permissions): ${inviteUrl(checked.appId)}`
|
|
3440
|
-
);
|
|
3441
|
-
deps.log("Next: in Wheelhouse, open Settings \u2192 Gateway and pair your account.");
|
|
3442
|
-
});
|
|
3443
|
-
for (const [name, on] of [
|
|
3444
|
-
["on", true],
|
|
3445
|
-
["off", false]
|
|
3446
|
-
]) {
|
|
3447
|
-
cmd.command(`${name} [channel]`).description(
|
|
3448
|
-
on ? "Turn a channel on (default: discord)." : "Turn a channel off: it neither reads nor sends (default: discord)."
|
|
3449
|
-
).action(async (channel, _o, c) => {
|
|
3450
|
-
const ch = parseChannel2(channel ?? "discord");
|
|
3451
|
-
const settings2 = settingsFor(c);
|
|
3452
|
-
if (!settings2) return;
|
|
3453
|
-
await settings2.update((s) => s[ch].enabled = on);
|
|
3454
|
-
deps.log(`${labelOf(ch)} is turned ${name}.`);
|
|
3455
|
-
});
|
|
3456
|
-
}
|
|
3457
|
-
cmd.command("unbind [channel]").description(
|
|
3458
|
-
"Forget the paired account: no one\u2019s messages reach Firstmate until you pair again (default: discord)."
|
|
3459
|
-
).action(async (channel, _o, c) => {
|
|
3460
|
-
const ch = parseChannel2(channel ?? "discord");
|
|
3461
|
-
const settings2 = settingsFor(c);
|
|
3462
|
-
if (!settings2) return;
|
|
3463
|
-
const { settings: before } = await settings2.read();
|
|
3464
|
-
await settings2.update((s) => s[ch].paired = null);
|
|
3465
|
-
deps.log(
|
|
3466
|
-
before[ch].paired ? `Unbound ${before[ch].paired.name} from ${labelOf(ch)}.` : `No account was bound to ${labelOf(ch)}.`
|
|
3467
|
-
);
|
|
3468
|
-
});
|
|
3469
|
-
cmd.command("titles-only").addArgument(new Argument("<state>", "on or off").choices(["on", "off"])).argument("[channel]").description(
|
|
3470
|
-
"Send alerts and decisions as their titles only, without their text, or in full again (default: discord)."
|
|
3471
|
-
).action(async (state, channel, _o, c) => {
|
|
3472
|
-
const ch = parseChannel2(channel ?? "discord");
|
|
3473
|
-
const settings2 = settingsFor(c);
|
|
3474
|
-
if (!settings2) return;
|
|
3475
|
-
await settings2.update((s) => s[ch].titlesOnly = state === "on");
|
|
3476
|
-
deps.log(
|
|
3477
|
-
state === "on" ? `${labelOf(ch)} sends alerts and decisions as titles only.` : `${labelOf(ch)} sends alerts and decisions in full.`
|
|
3478
|
-
);
|
|
3479
|
-
});
|
|
3480
|
-
cmd.command("status").description(
|
|
3481
|
-
"Show each channel: its token, whether it is on, who is paired, and the connection."
|
|
3482
|
-
).option("--port <n>", "the port the running Wheelhouse listens on", parsePort, 4310).action(async (o, c) => {
|
|
3483
|
-
const settings2 = settingsFor(c);
|
|
3484
|
-
if (!settings2) return;
|
|
3485
|
-
const { settings: s, error } = await settings2.read();
|
|
3486
|
-
if (error) deps.log(`Warning: ${error}`);
|
|
3487
|
-
const live = await deps.live(o.port);
|
|
3488
|
-
for (const { channel, label: label2 } of GATEWAY_CHANNELS) {
|
|
3489
|
-
const cs = s[channel];
|
|
3490
|
-
const token = await settings2.find(channel);
|
|
3491
|
-
const lv = live?.channels.find((x) => x.channel === channel);
|
|
3492
|
-
deps.log(label2);
|
|
3493
|
-
deps.log(
|
|
3494
|
-
` Bot token: ${token ? `set (${token.where})` : `not set (wheelhouse gateway connect ${channel})`}`
|
|
3495
|
-
);
|
|
3496
|
-
deps.log(` Turned: ${cs.enabled ? "on" : "off"}`);
|
|
3497
|
-
deps.log(
|
|
3498
|
-
` Paired: ${cs.paired ? `${cs.paired.name} (id ${cs.paired.id}), since ${cs.paired.at.slice(0, 10)}` : "no one (pair in Settings \u2192 Gateway)"}`
|
|
3499
|
-
);
|
|
3500
|
-
deps.log(` Alerts: ${cs.alerts.length ? cs.alerts.join(", ") : "none"}`);
|
|
3501
|
-
deps.log(` Titles only: ${cs.titlesOnly ? "on" : "off"}`);
|
|
3502
|
-
deps.log(
|
|
3503
|
-
` Connection: ${lv ? `${lv.state}${lv.bot && lv.state === "connected" ? ` as ${lv.bot.name}` : ""}${lv.reason ? ` (${lv.reason})` : ""}` : `no Wheelhouse answers on port ${o.port}; the gateway runs only while Wheelhouse does`}`
|
|
3504
|
-
);
|
|
3505
|
-
}
|
|
3506
|
-
});
|
|
3507
|
-
return cmd;
|
|
3508
|
-
}
|
|
3509
|
-
|
|
3510
3041
|
// cli/plugin.ts
|
|
3511
3042
|
import { createInterface as createInterface2 } from "node:readline/promises";
|
|
3512
|
-
import
|
|
3513
|
-
import { Command
|
|
3043
|
+
import path17 from "node:path";
|
|
3044
|
+
import { Command } from "commander";
|
|
3514
3045
|
|
|
3515
3046
|
// src/lib/server/plugins/install.ts
|
|
3516
3047
|
import { execFile } from "node:child_process";
|
|
3517
|
-
import { mkdir as mkdir6, mkdtemp, readFile as readFile6, realpath as
|
|
3518
|
-
import
|
|
3048
|
+
import { mkdir as mkdir6, mkdtemp, readFile as readFile6, realpath as realpath2, rename as rename6, rm as rm3, stat as stat4 } from "node:fs/promises";
|
|
3049
|
+
import path15 from "node:path";
|
|
3519
3050
|
|
|
3520
3051
|
// src/lib/server/plugins/manifest.ts
|
|
3521
|
-
import
|
|
3052
|
+
import path14 from "node:path";
|
|
3522
3053
|
|
|
3523
3054
|
// src/lib/plugins/addresses.ts
|
|
3524
3055
|
var TEMPLATE = /^[a-z0-9-]*\{port\}[a-z0-9-]*(?:\.[a-z0-9-]+)*\.localhost$/;
|
|
@@ -3535,7 +3066,7 @@ var SUPPORTED_API_VERSIONS = [PLUGIN_API_VERSION, PLUGIN_API_VERSION - 1].filter
|
|
|
3535
3066
|
// src/lib/server/plugins/manifest.ts
|
|
3536
3067
|
var MANIFEST_DIR = ".wheelhouse-plugin";
|
|
3537
3068
|
var MANIFEST_FILE = "plugin.json";
|
|
3538
|
-
var manifestPath = (pluginDir) =>
|
|
3069
|
+
var manifestPath = (pluginDir) => path14.join(pluginDir, MANIFEST_DIR, MANIFEST_FILE);
|
|
3539
3070
|
var MANIFEST_FIELDS = [
|
|
3540
3071
|
"$schema",
|
|
3541
3072
|
"name",
|
|
@@ -3583,7 +3114,7 @@ var SEMVER = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$/;
|
|
|
3583
3114
|
var MAX_TEXT = 400;
|
|
3584
3115
|
var isRecord3 = (v) => typeof v === "object" && v !== null && !Array.isArray(v);
|
|
3585
3116
|
function insidePath(f) {
|
|
3586
|
-
return typeof f === "string" && f.length > 0 && !
|
|
3117
|
+
return typeof f === "string" && f.length > 0 && !path14.isAbsolute(f) && !f.split(/[\\/]/).some((part) => part === ".." || part === "" || part === ".");
|
|
3587
3118
|
}
|
|
3588
3119
|
var ICON_TYPES = {
|
|
3589
3120
|
".svg": "image/svg+xml",
|
|
@@ -3682,7 +3213,7 @@ function wheelhouse(v) {
|
|
|
3682
3213
|
}
|
|
3683
3214
|
if (!insidePath(c.icon))
|
|
3684
3215
|
throw new Invalid(`${where}.icon must be a plain path inside the plugin`);
|
|
3685
|
-
if (!ICON_TYPES[
|
|
3216
|
+
if (!ICON_TYPES[path14.extname(c.icon).toLowerCase()]) {
|
|
3686
3217
|
throw new Invalid(`${where}.icon must be an image: ${Object.keys(ICON_TYPES).join(", ")}`);
|
|
3687
3218
|
}
|
|
3688
3219
|
declared.icon = c.icon;
|
|
@@ -4061,7 +3592,7 @@ async function fetchSource(source, into, deps) {
|
|
|
4061
3592
|
await step(["checkout", "-q", "--detach", "FETCH_HEAD"]);
|
|
4062
3593
|
}
|
|
4063
3594
|
const commit = await step(["rev-parse", "HEAD"]);
|
|
4064
|
-
await
|
|
3595
|
+
await rm3(path15.join(into, ".git"), { recursive: true, force: true });
|
|
4065
3596
|
return commit;
|
|
4066
3597
|
}
|
|
4067
3598
|
async function checkCopy(dir) {
|
|
@@ -4074,7 +3605,7 @@ async function checkCopy(dir) {
|
|
|
4074
3605
|
const parsed = parseManifest(text2);
|
|
4075
3606
|
if (!parsed.ok) throw new Refused(`its manifest is not valid: ${parsed.error}`);
|
|
4076
3607
|
const m = parsed.manifest;
|
|
4077
|
-
const base = await
|
|
3608
|
+
const base = await realpath2(dir);
|
|
4078
3609
|
for (const [what, rel] of [
|
|
4079
3610
|
["server entry", m.wheelhouse.server],
|
|
4080
3611
|
["ui bundle", m.wheelhouse.ui]
|
|
@@ -4082,12 +3613,12 @@ async function checkCopy(dir) {
|
|
|
4082
3613
|
if (!rel) continue;
|
|
4083
3614
|
let file;
|
|
4084
3615
|
try {
|
|
4085
|
-
file = await
|
|
4086
|
-
if (!(await
|
|
3616
|
+
file = await realpath2(path15.join(base, rel));
|
|
3617
|
+
if (!(await stat4(file)).isFile()) throw new Error();
|
|
4087
3618
|
} catch {
|
|
4088
3619
|
throw new Refused(`its ${what} ${rel} is missing`);
|
|
4089
3620
|
}
|
|
4090
|
-
if (!file.startsWith(base +
|
|
3621
|
+
if (!file.startsWith(base + path15.sep))
|
|
4091
3622
|
throw new Refused(`its ${what} leads outside the plugin`);
|
|
4092
3623
|
}
|
|
4093
3624
|
return m;
|
|
@@ -4131,11 +3662,11 @@ function describeManifest(m, from, commit) {
|
|
|
4131
3662
|
}
|
|
4132
3663
|
async function withStaging(dir, work) {
|
|
4133
3664
|
await mkdir6(dir, { recursive: true });
|
|
4134
|
-
const staging = await mkdtemp(
|
|
3665
|
+
const staging = await mkdtemp(path15.join(dir, ".staging-"));
|
|
4135
3666
|
try {
|
|
4136
3667
|
return await work(staging);
|
|
4137
3668
|
} finally {
|
|
4138
|
-
await
|
|
3669
|
+
await rm3(staging, { recursive: true, force: true });
|
|
4139
3670
|
}
|
|
4140
3671
|
}
|
|
4141
3672
|
async function guarded(work) {
|
|
@@ -4168,7 +3699,7 @@ async function settle(m, deps, o) {
|
|
|
4168
3699
|
async function keepSettings(id, settings2, deps) {
|
|
4169
3700
|
const w = await writePluginSettings(deps.configDir, id, settings2);
|
|
4170
3701
|
if (!w.ok) throw new Refused(`could not keep ${id}'s settings: ${w.error}`);
|
|
4171
|
-
deps.log(`Kept ${id}'s settings in ${
|
|
3702
|
+
deps.log(`Kept ${id}'s settings in ${path15.join(deps.configDir, PLUGINS_FILE)}.`);
|
|
4172
3703
|
}
|
|
4173
3704
|
async function reload(deps, what, yes) {
|
|
4174
3705
|
const r = await deps.restart(async (url, busy) => {
|
|
@@ -4209,7 +3740,7 @@ function install(spec, deps, o = {}) {
|
|
|
4209
3740
|
const commit = await fetchSource(source, staging, deps);
|
|
4210
3741
|
expected(commit, o.expect, repository);
|
|
4211
3742
|
const m = await checkCopy(staging);
|
|
4212
|
-
const target =
|
|
3743
|
+
const target = path15.join(deps.dir, m.name);
|
|
4213
3744
|
if (installed.plugins[m.name]) {
|
|
4214
3745
|
throw new Refused(
|
|
4215
3746
|
`${m.name} is already installed from ${label(installed.plugins[m.name])}; use \`wheelhouse plugin update ${m.name}\``
|
|
@@ -4284,9 +3815,9 @@ function update(id, deps, o = {}) {
|
|
|
4284
3815
|
if (!o.yes && !await deps.confirm(`Update ${id}?`)) throw new Refused("not updated");
|
|
4285
3816
|
const settings2 = await settle(m, deps, { yes: o.yes, given: answers });
|
|
4286
3817
|
if (settings2) await keepSettings(id, settings2, deps);
|
|
4287
|
-
const target =
|
|
4288
|
-
const old = await mkdtemp(
|
|
4289
|
-
const parked =
|
|
3818
|
+
const target = path15.join(deps.dir, id);
|
|
3819
|
+
const old = await mkdtemp(path15.join(deps.dir, ".old-"));
|
|
3820
|
+
const parked = path15.join(old, id);
|
|
4290
3821
|
if (await exists(target)) await rename6(target, parked);
|
|
4291
3822
|
try {
|
|
4292
3823
|
await rename6(staging, target);
|
|
@@ -4294,7 +3825,7 @@ function update(id, deps, o = {}) {
|
|
|
4294
3825
|
if (await exists(parked)) await rename6(parked, target);
|
|
4295
3826
|
throw e;
|
|
4296
3827
|
} finally {
|
|
4297
|
-
await
|
|
3828
|
+
await rm3(old, { recursive: true, force: true });
|
|
4298
3829
|
}
|
|
4299
3830
|
installed.plugins[id] = {
|
|
4300
3831
|
...was,
|
|
@@ -4315,7 +3846,7 @@ function remove(id, deps, o = {}) {
|
|
|
4315
3846
|
if (!ID2.test(id)) throw new Refused(`"${id}" is not a plugin id`);
|
|
4316
3847
|
const installed = await record2(deps);
|
|
4317
3848
|
if (!installed.plugins[id]) throw new Refused(`${id} is not installed`);
|
|
4318
|
-
await
|
|
3849
|
+
await rm3(path15.join(deps.dir, id), { recursive: true, force: true });
|
|
4319
3850
|
delete installed.plugins[id];
|
|
4320
3851
|
await writeInstalled(deps.dir, installed);
|
|
4321
3852
|
deps.log(`Removed ${id}.`);
|
|
@@ -4359,7 +3890,7 @@ function row(id, r, width) {
|
|
|
4359
3890
|
}
|
|
4360
3891
|
async function exists(p) {
|
|
4361
3892
|
try {
|
|
4362
|
-
await
|
|
3893
|
+
await stat4(p);
|
|
4363
3894
|
return true;
|
|
4364
3895
|
} catch {
|
|
4365
3896
|
return false;
|
|
@@ -4367,19 +3898,19 @@ async function exists(p) {
|
|
|
4367
3898
|
}
|
|
4368
3899
|
|
|
4369
3900
|
// cli/running.ts
|
|
4370
|
-
import { randomBytes as
|
|
3901
|
+
import { randomBytes as randomBytes5, timingSafeEqual } from "node:crypto";
|
|
4371
3902
|
import { mkdirSync as mkdirSync4, rmSync as rmSync5, writeFileSync as writeFileSync5 } from "node:fs";
|
|
4372
|
-
import { readdir, readFile as readFile7, rm as
|
|
4373
|
-
import
|
|
3903
|
+
import { readdir, readFile as readFile7, rm as rm4 } from "node:fs/promises";
|
|
3904
|
+
import path16 from "node:path";
|
|
4374
3905
|
var RESTART_EXIT = 75;
|
|
4375
3906
|
var RESTART_PATH = "/api/wheelhouse/restart";
|
|
4376
3907
|
var RUNNING_DIR = ".running";
|
|
4377
3908
|
var TIMEOUT_MS = 3e3;
|
|
4378
|
-
var newToken = () =>
|
|
3909
|
+
var newToken = () => randomBytes5(24).toString("hex");
|
|
4379
3910
|
function writeRunning(pluginsDir, r) {
|
|
4380
|
-
const dir =
|
|
3911
|
+
const dir = path16.join(pluginsDir, RUNNING_DIR);
|
|
4381
3912
|
mkdirSync4(dir, { recursive: true, mode: 448 });
|
|
4382
|
-
const file =
|
|
3913
|
+
const file = path16.join(dir, `${r.pid}.json`);
|
|
4383
3914
|
writeFileSync5(file, `${JSON.stringify(r)}
|
|
4384
3915
|
`, { mode: 384 });
|
|
4385
3916
|
return file;
|
|
@@ -4422,7 +3953,7 @@ var alive2 = (pid) => {
|
|
|
4422
3953
|
};
|
|
4423
3954
|
var refused = (e) => e.cause?.code === "ECONNREFUSED";
|
|
4424
3955
|
async function requestRestart(pluginsDir, proceed) {
|
|
4425
|
-
const dir =
|
|
3956
|
+
const dir = path16.join(pluginsDir, RUNNING_DIR);
|
|
4426
3957
|
const out = { restarted: [], failed: [], kept: [] };
|
|
4427
3958
|
let names;
|
|
4428
3959
|
try {
|
|
@@ -4431,17 +3962,17 @@ async function requestRestart(pluginsDir, proceed) {
|
|
|
4431
3962
|
return out;
|
|
4432
3963
|
}
|
|
4433
3964
|
for (const name of names) {
|
|
4434
|
-
const file =
|
|
3965
|
+
const file = path16.join(dir, name);
|
|
4435
3966
|
let r;
|
|
4436
3967
|
try {
|
|
4437
3968
|
r = JSON.parse(await readFile7(file, "utf8"));
|
|
4438
3969
|
if (typeof r.url !== "string" || typeof r.token !== "string") throw new Error();
|
|
4439
3970
|
} catch {
|
|
4440
|
-
await
|
|
3971
|
+
await rm4(file, { force: true });
|
|
4441
3972
|
continue;
|
|
4442
3973
|
}
|
|
4443
3974
|
if (typeof r.pid === "number" && !alive2(r.pid)) {
|
|
4444
|
-
await
|
|
3975
|
+
await rm4(file, { force: true });
|
|
4445
3976
|
continue;
|
|
4446
3977
|
}
|
|
4447
3978
|
const headers = { authorization: `Bearer ${r.token}` };
|
|
@@ -4465,7 +3996,7 @@ async function requestRestart(pluginsDir, proceed) {
|
|
|
4465
3996
|
if (res.status === 202) out.restarted.push(r.url);
|
|
4466
3997
|
else out.failed.push({ url: r.url, reason: `it answered ${res.status}` });
|
|
4467
3998
|
} catch (e) {
|
|
4468
|
-
if (refused(e)) await
|
|
3999
|
+
if (refused(e)) await rm4(file, { force: true });
|
|
4469
4000
|
else out.failed.push({ url: r.url, reason: e.message });
|
|
4470
4001
|
}
|
|
4471
4002
|
}
|
|
@@ -4501,7 +4032,7 @@ async function askLine(question2) {
|
|
|
4501
4032
|
var collect = (v, all = []) => [...all, v];
|
|
4502
4033
|
function pluginCommand(over = {}) {
|
|
4503
4034
|
const env = over.env ?? process.env;
|
|
4504
|
-
const cmd = new
|
|
4035
|
+
const cmd = new Command("plugin").description("Install and manage plugins from GitHub repositories.").option(
|
|
4505
4036
|
"--plugins-dir <dir>",
|
|
4506
4037
|
"where installed plugins live (default: $WHEELHOUSE_PLUGINS_DIR, else ~/.wheelhouse/plugins)"
|
|
4507
4038
|
).option(
|
|
@@ -4510,10 +4041,10 @@ function pluginCommand(over = {}) {
|
|
|
4510
4041
|
);
|
|
4511
4042
|
const deps = (c) => {
|
|
4512
4043
|
const g2 = c.optsWithGlobals();
|
|
4513
|
-
const dir = g2.pluginsDir ?
|
|
4044
|
+
const dir = g2.pluginsDir ? path17.resolve(g2.pluginsDir) : defaultPluginsDir(env);
|
|
4514
4045
|
return {
|
|
4515
4046
|
dir,
|
|
4516
|
-
configDir: g2.configDir ?
|
|
4047
|
+
configDir: g2.configDir ? path17.resolve(g2.configDir) : defaultConfigDir(env),
|
|
4517
4048
|
confirm: askTerminal,
|
|
4518
4049
|
ask: askLine,
|
|
4519
4050
|
restart: (proceed) => requestRestart(dir, proceed),
|
|
@@ -4548,8 +4079,8 @@ function pluginCommand(over = {}) {
|
|
|
4548
4079
|
}
|
|
4549
4080
|
|
|
4550
4081
|
// cli/remote.ts
|
|
4551
|
-
import
|
|
4552
|
-
import { Command as
|
|
4082
|
+
import path18 from "node:path";
|
|
4083
|
+
import { Command as Command2, InvalidArgumentError } from "commander";
|
|
4553
4084
|
|
|
4554
4085
|
// src/lib/server/cloud/pairing.ts
|
|
4555
4086
|
import { hostname } from "node:os";
|
|
@@ -4578,10 +4109,10 @@ async function keepDevice(settings2, gateway, key, name, device, opts = {}) {
|
|
|
4578
4109
|
});
|
|
4579
4110
|
return where;
|
|
4580
4111
|
}
|
|
4581
|
-
var
|
|
4112
|
+
var isObj4 = (v) => typeof v === "object" && v !== null && !Array.isArray(v);
|
|
4582
4113
|
async function body(r) {
|
|
4583
4114
|
const v = await r.json().catch(() => null);
|
|
4584
|
-
return
|
|
4115
|
+
return isObj4(v) ? v : {};
|
|
4585
4116
|
}
|
|
4586
4117
|
async function post(f, url, payload) {
|
|
4587
4118
|
return f(url, {
|
|
@@ -4651,14 +4182,14 @@ async function startPairing(gateway, key, machine, deps = {}) {
|
|
|
4651
4182
|
}
|
|
4652
4183
|
async function pollPairing(gateway, key, start, deps = {}) {
|
|
4653
4184
|
const f = deps.fetch ?? fetch;
|
|
4654
|
-
const
|
|
4185
|
+
const sleep = deps.sleep ?? ((ms) => new Promise((r) => setTimeout(r, ms)));
|
|
4655
4186
|
const now = deps.now ?? Date.now;
|
|
4656
4187
|
const until = now() + start.expiresIn * 1e3;
|
|
4657
4188
|
let interval = start.interval;
|
|
4658
4189
|
let failures = 0;
|
|
4659
4190
|
const cancelled = { status: "failed", reason: "The pairing was cancelled." };
|
|
4660
4191
|
while (now() < until) {
|
|
4661
|
-
await
|
|
4192
|
+
await sleep(interval * 1e3);
|
|
4662
4193
|
if (deps.signal?.aborted) return cancelled;
|
|
4663
4194
|
let r;
|
|
4664
4195
|
try {
|
|
@@ -4676,7 +4207,7 @@ async function pollPairing(gateway, key, start, deps = {}) {
|
|
|
4676
4207
|
if (deps.signal?.aborted) return cancelled;
|
|
4677
4208
|
if (r.status === 429) {
|
|
4678
4209
|
interval += 5;
|
|
4679
|
-
if (typeof b.retryAfter === "number") await
|
|
4210
|
+
if (typeof b.retryAfter === "number") await sleep(b.retryAfter * 1e3);
|
|
4680
4211
|
continue;
|
|
4681
4212
|
}
|
|
4682
4213
|
if (r.status === 410)
|
|
@@ -4689,7 +4220,7 @@ async function pollPairing(gateway, key, start, deps = {}) {
|
|
|
4689
4220
|
continue;
|
|
4690
4221
|
}
|
|
4691
4222
|
if (b.status === "approved" && typeof b.deviceId === "string" && b.deviceId) {
|
|
4692
|
-
const user =
|
|
4223
|
+
const user = isObj4(b.user) && typeof b.user.name === "string" ? b.user.name : null;
|
|
4693
4224
|
const pinned = approvedPins(b.pins, start.pinChallenge, gateway);
|
|
4694
4225
|
if (!pinned.ok) {
|
|
4695
4226
|
await unpair(gateway, key, b.deviceId, deps);
|
|
@@ -4717,8 +4248,8 @@ async function pollPairing(gateway, key, start, deps = {}) {
|
|
|
4717
4248
|
}
|
|
4718
4249
|
function approvedPins(v, challenge, gateway) {
|
|
4719
4250
|
if (v === void 0) return { ok: true, pins: null };
|
|
4720
|
-
const pins =
|
|
4721
|
-
if (!pins || !
|
|
4251
|
+
const pins = isObj4(v) ? parsePasskeys(v.passkeys) : null;
|
|
4252
|
+
if (!pins || !isObj4(v)) return { ok: false, problem: "the passkeys it names are malformed" };
|
|
4722
4253
|
const origin = new URL(gateway).origin;
|
|
4723
4254
|
const problem = assertionProblem(v.assertion, {
|
|
4724
4255
|
purpose: "pair",
|
|
@@ -4757,14 +4288,95 @@ async function disconnect(settings2, deps = {}) {
|
|
|
4757
4288
|
}
|
|
4758
4289
|
|
|
4759
4290
|
// cli/remote.ts
|
|
4760
|
-
function
|
|
4291
|
+
function parsePort(value) {
|
|
4761
4292
|
const n = Number(value);
|
|
4762
4293
|
if (!Number.isInteger(n) || n < 1 || n > 65535) {
|
|
4763
|
-
throw new
|
|
4294
|
+
throw new InvalidArgumentError("Port must be a whole number from 1 to 65535.");
|
|
4764
4295
|
}
|
|
4765
4296
|
return n;
|
|
4766
4297
|
}
|
|
4767
4298
|
var WARNING = "Warning: whoever approves this code can use this machine\u2019s Wheelhouse from anywhere, terminals included, so they can run commands here. Type the code yourself, only at the address above, and only approve when the fingerprint matches. If someone sent you this command or asked you for the code, stop now (Ctrl+C).";
|
|
4299
|
+
async function pairHere(settings2, gateway, name, opts) {
|
|
4300
|
+
const { log } = opts;
|
|
4301
|
+
const key = newDeviceKey();
|
|
4302
|
+
const machine = { name, platform: `${process.platform}-${process.arch}`, version };
|
|
4303
|
+
const started = await startPairing(gateway, key, machine, opts.pairing);
|
|
4304
|
+
if (!started.ok) return started;
|
|
4305
|
+
const p = started.start;
|
|
4306
|
+
log(`Pairing this machine (${name}) with Gateway at ${gateway}.`);
|
|
4307
|
+
log("");
|
|
4308
|
+
log(` 1. On a device you trust, sign in at ${p.verificationUri}`);
|
|
4309
|
+
log(` 2. Type this code there: ${p.userCode}`);
|
|
4310
|
+
log(` 3. Pick this machine\u2019s fingerprint: ${fingerprint(key.publicKey)}`);
|
|
4311
|
+
log("");
|
|
4312
|
+
log(WARNING);
|
|
4313
|
+
log("");
|
|
4314
|
+
log(`Waiting for approval (the code works for ${Math.round(p.expiresIn / 60)} minutes)\u2026`);
|
|
4315
|
+
const outcome = await pollPairing(gateway, key, p, opts.pairing);
|
|
4316
|
+
if (outcome.status !== "approved")
|
|
4317
|
+
return { ok: false, error: `${outcome.reason} Nothing was paired.` };
|
|
4318
|
+
let where;
|
|
4319
|
+
try {
|
|
4320
|
+
where = await keepDevice(settings2, gateway, key, name, outcome.device, {
|
|
4321
|
+
start: opts.start
|
|
4322
|
+
});
|
|
4323
|
+
} catch (e) {
|
|
4324
|
+
return {
|
|
4325
|
+
ok: false,
|
|
4326
|
+
error: `The machine was approved but could not be kept here: ${e.message}`
|
|
4327
|
+
};
|
|
4328
|
+
}
|
|
4329
|
+
reportKept(log, name, where, outcome.device);
|
|
4330
|
+
return { ok: true };
|
|
4331
|
+
}
|
|
4332
|
+
function reportKept(log, name, where, device) {
|
|
4333
|
+
log(`Connected: ${device.name || name}${device.user ? `, approved by ${device.user}` : ""}.`);
|
|
4334
|
+
log(`Its key is kept in ${where}, readable by you only; it never leaves this machine.`);
|
|
4335
|
+
if (device.pins) {
|
|
4336
|
+
log(
|
|
4337
|
+
"It checks each session itself: only a session one of these passkeys signs is served (check their fingerprints against your passkeys or authenticators themselves, or a device you trust, not only a page the gateway serves):"
|
|
4338
|
+
);
|
|
4339
|
+
for (const pin of device.pins) log(` ${passkeyFingerprint(pin)} ${pin.name || "(unnamed)"}`);
|
|
4340
|
+
} else {
|
|
4341
|
+
log(
|
|
4342
|
+
"Warning: the gateway pinned none of your passkeys (it speaks only protocol 1), so this machine does not check sessions itself: it serves any session the gateway opens. Pair it again once the gateway is updated."
|
|
4343
|
+
);
|
|
4344
|
+
}
|
|
4345
|
+
}
|
|
4346
|
+
async function registerOpenGateway(settings2, requestedGateway, deps = {}) {
|
|
4347
|
+
const { settings: current, error } = await settings2.read();
|
|
4348
|
+
if (error) return { ok: false, error };
|
|
4349
|
+
const selected = gatewayOrigin(requestedGateway);
|
|
4350
|
+
if (!selected.ok) return { ok: false, error: selected.error };
|
|
4351
|
+
if (current.device) {
|
|
4352
|
+
if (current.device.gateway !== selected.origin) {
|
|
4353
|
+
return {
|
|
4354
|
+
ok: false,
|
|
4355
|
+
error: `This Wheelhouse is already paired with ${current.device.gateway}. Run \`wheelhouse remote disconnect\` before pairing it with ${selected.origin}.`
|
|
4356
|
+
};
|
|
4357
|
+
}
|
|
4358
|
+
if (!await settings2.findKey()) {
|
|
4359
|
+
return {
|
|
4360
|
+
ok: false,
|
|
4361
|
+
error: "This Wheelhouse pairing has lost its local key. Run `wheelhouse remote disconnect` and pair it again."
|
|
4362
|
+
};
|
|
4363
|
+
}
|
|
4364
|
+
await settings2.update((s) => {
|
|
4365
|
+
s.gateway = selected.origin;
|
|
4366
|
+
s.enabled = true;
|
|
4367
|
+
s.started = true;
|
|
4368
|
+
});
|
|
4369
|
+
return { ok: true, registered: false };
|
|
4370
|
+
}
|
|
4371
|
+
await settings2.update((s) => s.gateway = selected.origin);
|
|
4372
|
+
const name = (deps.machineName ?? machineName)().trim().slice(0, 60) || "Wheelhouse";
|
|
4373
|
+
const paired = await pairHere(settings2, selected.origin, name, {
|
|
4374
|
+
pairing: deps.pairing ?? {},
|
|
4375
|
+
log: deps.log ?? ((line) => console.log(line)),
|
|
4376
|
+
start: true
|
|
4377
|
+
});
|
|
4378
|
+
return paired.ok ? { ok: true, registered: true } : paired;
|
|
4379
|
+
}
|
|
4768
4380
|
function localPreviewPorts(appPort, ttlMs = 2e3) {
|
|
4769
4381
|
let cached = null;
|
|
4770
4382
|
return () => {
|
|
@@ -4850,7 +4462,7 @@ function remoteCommand(over = {}) {
|
|
|
4850
4462
|
error: (line) => console.error(line),
|
|
4851
4463
|
...over
|
|
4852
4464
|
};
|
|
4853
|
-
const cmd = new
|
|
4465
|
+
const cmd = new Command2("remote").description(
|
|
4854
4466
|
"Reach this Wheelhouse from anywhere through a Wheelhouse Cloud gateway (off until you start it on the Remotes page, or `remote run`)."
|
|
4855
4467
|
).option(
|
|
4856
4468
|
"--config-dir <dir>",
|
|
@@ -4860,9 +4472,15 @@ function remoteCommand(over = {}) {
|
|
|
4860
4472
|
deps.error(`wheelhouse: ${line}`);
|
|
4861
4473
|
process.exitCode = 1;
|
|
4862
4474
|
};
|
|
4863
|
-
const settingsFor = (c) => {
|
|
4475
|
+
const settingsFor = async (c) => {
|
|
4864
4476
|
const dir = c.optsWithGlobals().configDir;
|
|
4865
|
-
const configDir = dir ?
|
|
4477
|
+
const configDir = dir ? path18.resolve(dir) : defaultConfigDir(deps.env);
|
|
4478
|
+
if (!(await featureSettings(deps.env, configDir)).remotes) {
|
|
4479
|
+
fail(
|
|
4480
|
+
"remote features are disabled. Enable Remotes in Settings \u2192 Experimental features or set WHEELHOUSE_ENABLE_FEATURES=remotes."
|
|
4481
|
+
);
|
|
4482
|
+
return null;
|
|
4483
|
+
}
|
|
4866
4484
|
const found = resolveInstall({ cwd: process.cwd(), env: deps.env });
|
|
4867
4485
|
if (found.ok && isInside(configDir, found.install.homeDir)) {
|
|
4868
4486
|
fail(
|
|
@@ -4887,30 +4505,14 @@ function remoteCommand(over = {}) {
|
|
|
4887
4505
|
platform: `${process.platform}-${process.arch}`,
|
|
4888
4506
|
version
|
|
4889
4507
|
});
|
|
4890
|
-
const keep2 = async (settings2, gateway, key, name, device) =>
|
|
4891
|
-
const where = await keepDevice(settings2, gateway, key, name, device);
|
|
4892
|
-
deps.log(
|
|
4893
|
-
`Connected: ${device.name || name}${device.user ? `, approved by ${device.user}` : ""}.`
|
|
4894
|
-
);
|
|
4895
|
-
deps.log(`Its key is kept in ${where}, readable by you only; it never leaves this machine.`);
|
|
4896
|
-
if (device.pins) {
|
|
4897
|
-
deps.log(
|
|
4898
|
-
"It checks each session itself: only a session one of these passkeys signs is served (check their fingerprints against your passkeys or authenticators themselves, or a device you trust, not only a page the gateway serves):"
|
|
4899
|
-
);
|
|
4900
|
-
for (const p of device.pins) deps.log(` ${passkeyFingerprint(p)} ${p.name || "(unnamed)"}`);
|
|
4901
|
-
} else {
|
|
4902
|
-
deps.log(
|
|
4903
|
-
"Warning: the gateway pinned none of your passkeys (it speaks only protocol 1), so this machine does not check sessions itself: it serves any session the gateway opens. Pair it again once the gateway is updated."
|
|
4904
|
-
);
|
|
4905
|
-
}
|
|
4906
|
-
};
|
|
4508
|
+
const keep2 = async (settings2, gateway, key, name, device) => reportKept(deps.log, name, await keepDevice(settings2, gateway, key, name, device), device);
|
|
4907
4509
|
cmd.command("connect").description(
|
|
4908
4510
|
"Pair this machine with a gateway: shows a code to type there and a fingerprint to check."
|
|
4909
4511
|
).option(
|
|
4910
4512
|
"--gateway <url>",
|
|
4911
4513
|
`the gateway, such as https://cloud.example.com (remembered; default ${DEFAULT_GATEWAY})`
|
|
4912
4514
|
).option("--name <name>", "the name this machine gets there (default: its host name)").action(async (o, c) => {
|
|
4913
|
-
const settings2 = settingsFor(c);
|
|
4515
|
+
const settings2 = await settingsFor(c);
|
|
4914
4516
|
if (!settings2) return;
|
|
4915
4517
|
const { settings: s } = await settings2.read();
|
|
4916
4518
|
if (s.device && await settings2.findKey()) {
|
|
@@ -4920,25 +4522,11 @@ function remoteCommand(over = {}) {
|
|
|
4920
4522
|
}
|
|
4921
4523
|
const gateway = await gatewayFor(settings2, o.gateway);
|
|
4922
4524
|
if (!gateway) return;
|
|
4923
|
-
const
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
if (!
|
|
4928
|
-
const p = started.start;
|
|
4929
|
-
const mins = Math.round(p.expiresIn / 60);
|
|
4930
|
-
deps.log(`Pairing this machine (${name}) with Wheelhouse Cloud at ${gateway}.`);
|
|
4931
|
-
deps.log("");
|
|
4932
|
-
deps.log(` 1. On a device you trust, sign in at ${p.verificationUri}`);
|
|
4933
|
-
deps.log(` 2. Type this code there: ${p.userCode}`);
|
|
4934
|
-
deps.log(` 3. Pick this machine\u2019s fingerprint: ${fingerprint(key.publicKey)}`);
|
|
4935
|
-
deps.log("");
|
|
4936
|
-
deps.log(WARNING);
|
|
4937
|
-
deps.log("");
|
|
4938
|
-
deps.log(`Waiting for approval (the code works for ${mins} minutes)\u2026`);
|
|
4939
|
-
const outcome = await pollPairing(gateway, key, p, deps.pairing);
|
|
4940
|
-
if (outcome.status !== "approved") return fail(`${outcome.reason} Nothing was paired.`);
|
|
4941
|
-
await keep2(settings2, gateway, key, name, outcome.device);
|
|
4525
|
+
const paired = await pairHere(settings2, gateway, machine(o.name).name, {
|
|
4526
|
+
pairing: deps.pairing,
|
|
4527
|
+
log: deps.log
|
|
4528
|
+
});
|
|
4529
|
+
if (!paired.ok) return fail(paired.error);
|
|
4942
4530
|
deps.log(
|
|
4943
4531
|
"Start it on the Remotes page in Wheelhouse, which keeps the connection up while `wheelhouse open` runs; or run `wheelhouse remote run`."
|
|
4944
4532
|
);
|
|
@@ -4946,7 +4534,7 @@ function remoteCommand(over = {}) {
|
|
|
4946
4534
|
cmd.command("status").description(
|
|
4947
4535
|
"Show whether this machine is connected, since when, the passkeys it trusts to sign its sessions, and its relay sessions."
|
|
4948
4536
|
).action(async (_o, c) => {
|
|
4949
|
-
const settings2 = settingsFor(c);
|
|
4537
|
+
const settings2 = await settingsFor(c);
|
|
4950
4538
|
if (!settings2) return;
|
|
4951
4539
|
const v = await settings2.view();
|
|
4952
4540
|
deps.log("Wheelhouse Cloud");
|
|
@@ -4991,7 +4579,7 @@ function remoteCommand(over = {}) {
|
|
|
4991
4579
|
const pins = cmd.command("pins").description(
|
|
4992
4580
|
"Show the passkeys this machine trusts to sign its sessions, and any change of them the gateway asked for."
|
|
4993
4581
|
).action(async (_o, c) => {
|
|
4994
|
-
const settings2 = settingsFor(c);
|
|
4582
|
+
const settings2 = await settingsFor(c);
|
|
4995
4583
|
if (!settings2) return;
|
|
4996
4584
|
const v = await settings2.view();
|
|
4997
4585
|
if (!v.device) return deps.log("This machine is not paired (wheelhouse remote connect).");
|
|
@@ -5006,7 +4594,7 @@ function remoteCommand(over = {}) {
|
|
|
5006
4594
|
pins.command(`${name} [id]`).description(
|
|
5007
4595
|
approve ? "Approve the change of trusted passkeys the gateway asked for, named by its id (at least 8 characters, as `pins` shows it): this machine trusts them from now on." : "Reject the change of trusted passkeys the gateway asked for, named by its id (at least 8 characters, as `pins` shows it): this machine keeps trusting the passkeys it does."
|
|
5008
4596
|
).action(async (id, _o, c) => {
|
|
5009
|
-
const settings2 = settingsFor(c);
|
|
4597
|
+
const settings2 = await settingsFor(c);
|
|
5010
4598
|
if (!settings2) return;
|
|
5011
4599
|
const pending = (await settings2.view()).device?.pending;
|
|
5012
4600
|
if (!pending) return fail("no change of trusted passkeys is waiting.");
|
|
@@ -5032,7 +4620,7 @@ function remoteCommand(over = {}) {
|
|
|
5032
4620
|
});
|
|
5033
4621
|
}
|
|
5034
4622
|
cmd.command("disconnect").description("Revoke this machine on its gateway and delete its key here.").action(async (_o, c) => {
|
|
5035
|
-
const settings2 = settingsFor(c);
|
|
4623
|
+
const settings2 = await settingsFor(c);
|
|
5036
4624
|
if (!settings2) return;
|
|
5037
4625
|
const r = await disconnect(settings2, deps.pairing);
|
|
5038
4626
|
if (!r.device) return deps.log("This machine was not connected; Wheelhouse Cloud is off.");
|
|
@@ -5052,7 +4640,7 @@ function remoteCommand(over = {}) {
|
|
|
5052
4640
|
cmd.command(name).description(
|
|
5053
4641
|
on ? "Turn Wheelhouse Cloud back on for this paired machine." : "Turn Wheelhouse Cloud off: the connection closes and nothing is relayed, but the pairing is kept."
|
|
5054
4642
|
).action(async (_o, c) => {
|
|
5055
|
-
const settings2 = settingsFor(c);
|
|
4643
|
+
const settings2 = await settingsFor(c);
|
|
5056
4644
|
if (!settings2) return;
|
|
5057
4645
|
const s = await settings2.update((x) => x.enabled = on);
|
|
5058
4646
|
deps.log(
|
|
@@ -5062,11 +4650,11 @@ function remoteCommand(over = {}) {
|
|
|
5062
4650
|
}
|
|
5063
4651
|
cmd.command("run").description(
|
|
5064
4652
|
"Keep the connection up now, without starting it on the Remotes page, relaying to the Wheelhouse on --port; pairs first when this machine is not paired yet."
|
|
5065
|
-
).option("--port <n>", "the port the local Wheelhouse listens on",
|
|
4653
|
+
).option("--port <n>", "the port the local Wheelhouse listens on", parsePort, 4310).option(
|
|
5066
4654
|
"--gateway <url>",
|
|
5067
4655
|
`the gateway to pair with, when this machine is not paired yet (default: the one set, else ${DEFAULT_GATEWAY})`
|
|
5068
4656
|
).option("--name <name>", "the name this machine gets there (default: its host name)").action(async (o, c) => {
|
|
5069
|
-
const settings2 = settingsFor(c);
|
|
4657
|
+
const settings2 = await settingsFor(c);
|
|
5070
4658
|
if (!settings2) return;
|
|
5071
4659
|
const alive3 = setInterval(() => {
|
|
5072
4660
|
}, 1 << 30);
|
|
@@ -5105,7 +4693,7 @@ function remoteCommand(over = {}) {
|
|
|
5105
4693
|
const gateway = await gatewayFor(settings2, o.gateway);
|
|
5106
4694
|
if (!gateway) return false;
|
|
5107
4695
|
const m = machine(o.name);
|
|
5108
|
-
const
|
|
4696
|
+
const sleep = deps.pairing.sleep ?? ((ms) => new Promise((r) => setTimeout(r, ms)));
|
|
5109
4697
|
for (let attempt = 0; ; attempt++) {
|
|
5110
4698
|
const key = newDeviceKey();
|
|
5111
4699
|
const started = await Promise.race([startPairing(gateway, key, m, deps.pairing), stopped]);
|
|
@@ -5132,26 +4720,26 @@ function remoteCommand(over = {}) {
|
|
|
5132
4720
|
deps.log(
|
|
5133
4721
|
`Wheelhouse Cloud: ${outcome.reason} A new code follows in ${Math.round(wait / 1e3)} s.`
|
|
5134
4722
|
);
|
|
5135
|
-
if (await Promise.race([
|
|
4723
|
+
if (await Promise.race([sleep(wait).then(() => true), stopped]) === null) return false;
|
|
5136
4724
|
}
|
|
5137
4725
|
}
|
|
5138
4726
|
return cmd;
|
|
5139
4727
|
}
|
|
5140
4728
|
|
|
5141
4729
|
// cli/skills.ts
|
|
5142
|
-
import
|
|
4730
|
+
import path27 from "node:path";
|
|
5143
4731
|
import { fileURLToPath } from "node:url";
|
|
5144
|
-
import { Command as
|
|
4732
|
+
import { Command as Command3 } from "commander";
|
|
5145
4733
|
|
|
5146
4734
|
// src/lib/server/material/ops.ts
|
|
5147
4735
|
import { execFile as execFile3 } from "node:child_process";
|
|
5148
|
-
import { mkdtemp as mkdtemp3, readFile as readFile13, rm as
|
|
4736
|
+
import { mkdtemp as mkdtemp3, readFile as readFile13, rm as rm8 } from "node:fs/promises";
|
|
5149
4737
|
import { tmpdir } from "node:os";
|
|
5150
|
-
import
|
|
4738
|
+
import path26 from "node:path";
|
|
5151
4739
|
|
|
5152
4740
|
// src/lib/server/material/bundle.ts
|
|
5153
4741
|
import { readFile as readFile8 } from "node:fs/promises";
|
|
5154
|
-
import
|
|
4742
|
+
import path19 from "node:path";
|
|
5155
4743
|
var REVIEW_SURFACE_MARKER = "<!-- wheelhouse:review-surface -->";
|
|
5156
4744
|
var SKILLS = [
|
|
5157
4745
|
{
|
|
@@ -5186,17 +4774,17 @@ function reviewSurfaceSection(surface) {
|
|
|
5186
4774
|
async function renderSkill(skillsRoot, skill, inputs) {
|
|
5187
4775
|
const tree = {};
|
|
5188
4776
|
for (const file of skill.files) {
|
|
5189
|
-
const text2 = await readFile8(
|
|
4777
|
+
const text2 = await readFile8(path19.join(skillsRoot, skill.name, file), "utf8");
|
|
5190
4778
|
tree[file] = file === "SKILL.md" ? text2.replace(REVIEW_SURFACE_MARKER, () => reviewSurfaceSection(inputs.reviewSurface)) : text2;
|
|
5191
4779
|
}
|
|
5192
4780
|
return tree;
|
|
5193
4781
|
}
|
|
5194
4782
|
|
|
5195
4783
|
// src/lib/server/material/files.ts
|
|
5196
|
-
import { createHash as
|
|
5197
|
-
import { lstat as
|
|
5198
|
-
import
|
|
5199
|
-
var sha2562 = (text2) =>
|
|
4784
|
+
import { createHash as createHash4 } from "node:crypto";
|
|
4785
|
+
import { lstat as lstat2, mkdir as mkdir7, readFile as readFile9, readdir as readdir2, realpath as realpath3, rename as rename7, rm as rm5, writeFile as writeFile6 } from "node:fs/promises";
|
|
4786
|
+
import path20 from "node:path";
|
|
4787
|
+
var sha2562 = (text2) => createHash4("sha256").update(text2).digest("hex");
|
|
5200
4788
|
var hashTree = (tree) => Object.fromEntries(Object.entries(tree).map(([file, text2]) => [file, sha2562(text2)]));
|
|
5201
4789
|
function sameHashes(a, b) {
|
|
5202
4790
|
const keys = Object.keys(a);
|
|
@@ -5204,7 +4792,7 @@ function sameHashes(a, b) {
|
|
|
5204
4792
|
}
|
|
5205
4793
|
async function present(file) {
|
|
5206
4794
|
try {
|
|
5207
|
-
await
|
|
4795
|
+
await lstat2(file);
|
|
5208
4796
|
return true;
|
|
5209
4797
|
} catch (e) {
|
|
5210
4798
|
if (e.code === "ENOENT") return false;
|
|
@@ -5213,19 +4801,19 @@ async function present(file) {
|
|
|
5213
4801
|
}
|
|
5214
4802
|
async function physical(file) {
|
|
5215
4803
|
try {
|
|
5216
|
-
return await
|
|
4804
|
+
return await realpath3(file);
|
|
5217
4805
|
} catch (e) {
|
|
5218
4806
|
if (e.code !== "ENOENT") throw e;
|
|
5219
|
-
const parent =
|
|
4807
|
+
const parent = path20.dirname(file);
|
|
5220
4808
|
if (parent === file) throw e;
|
|
5221
|
-
return
|
|
4809
|
+
return path20.join(await physical(parent), path20.basename(file));
|
|
5222
4810
|
}
|
|
5223
4811
|
}
|
|
5224
4812
|
async function insideAny(targets, protectedDirs) {
|
|
5225
4813
|
const real2 = await Promise.all(targets.map(physical));
|
|
5226
4814
|
for (const dir of protectedDirs) {
|
|
5227
|
-
const p = await physical(
|
|
5228
|
-
if (real2.some((t) => t === p || t.startsWith(p +
|
|
4815
|
+
const p = await physical(path20.resolve(dir));
|
|
4816
|
+
if (real2.some((t) => t === p || t.startsWith(p + path20.sep))) return true;
|
|
5229
4817
|
}
|
|
5230
4818
|
return false;
|
|
5231
4819
|
}
|
|
@@ -5234,45 +4822,45 @@ async function readTree(dir, prefix = "") {
|
|
|
5234
4822
|
for (const entry2 of await readdir2(dir, { withFileTypes: true })) {
|
|
5235
4823
|
const rel = prefix + entry2.name;
|
|
5236
4824
|
if (entry2.isDirectory())
|
|
5237
|
-
Object.assign(tree, await readTree(
|
|
5238
|
-
else if (entry2.isFile()) tree[rel] = await readFile9(
|
|
4825
|
+
Object.assign(tree, await readTree(path20.join(dir, entry2.name), rel + "/"));
|
|
4826
|
+
else if (entry2.isFile()) tree[rel] = await readFile9(path20.join(dir, entry2.name), "utf8");
|
|
5239
4827
|
else throw new Error(`${rel} is a symbolic link or special file.`);
|
|
5240
4828
|
}
|
|
5241
4829
|
return tree;
|
|
5242
4830
|
}
|
|
5243
4831
|
async function writeTree(dir, tree) {
|
|
5244
4832
|
for (const [file, text2] of Object.entries(tree)) {
|
|
5245
|
-
await mkdir7(
|
|
5246
|
-
await writeFile6(
|
|
4833
|
+
await mkdir7(path20.dirname(path20.join(dir, file)), { recursive: true });
|
|
4834
|
+
await writeFile6(path20.join(dir, file), text2);
|
|
5247
4835
|
}
|
|
5248
4836
|
}
|
|
5249
4837
|
async function replaceTree(dir, tree) {
|
|
5250
4838
|
const stage = `${dir}.new-${process.pid}-${Date.now()}`;
|
|
5251
|
-
await
|
|
4839
|
+
await rm5(stage, { recursive: true, force: true });
|
|
5252
4840
|
await writeTree(stage, tree);
|
|
5253
4841
|
await mkdir7(stage, { recursive: true });
|
|
5254
|
-
await
|
|
4842
|
+
await rm5(dir, { recursive: true, force: true });
|
|
5255
4843
|
await rename7(stage, dir);
|
|
5256
4844
|
}
|
|
5257
|
-
async function
|
|
5258
|
-
await mkdir7(
|
|
4845
|
+
async function writeAtomic2(file, text2, mode = 384) {
|
|
4846
|
+
await mkdir7(path20.dirname(file), { recursive: true });
|
|
5259
4847
|
const tmp = `${file}.${process.pid}-${Date.now()}.tmp`;
|
|
5260
4848
|
await writeFile6(tmp, text2, { mode });
|
|
5261
4849
|
await rename7(tmp, file);
|
|
5262
4850
|
}
|
|
5263
4851
|
|
|
5264
4852
|
// src/lib/server/material/manifest.ts
|
|
5265
|
-
import { readFile as readFile10, rename as rename8, rm as
|
|
5266
|
-
import
|
|
4853
|
+
import { readFile as readFile10, rename as rename8, rm as rm6 } from "node:fs/promises";
|
|
4854
|
+
import path21 from "node:path";
|
|
5267
4855
|
var MANIFEST_SCHEMA = "wheelhouse-material.v1";
|
|
5268
4856
|
var HISTORY_MAX = 50;
|
|
5269
|
-
var materialDir = (configDir) =>
|
|
5270
|
-
var manifestFile = (dir) =>
|
|
5271
|
-
var settingsFile = (dir) =>
|
|
4857
|
+
var materialDir = (configDir) => path21.join(configDir, "agent-material");
|
|
4858
|
+
var manifestFile = (dir) => path21.join(dir, "manifest.json");
|
|
4859
|
+
var settingsFile = (dir) => path21.join(dir, "settings.json");
|
|
5272
4860
|
var folder = (id) => id.replace(/[^A-Za-z0-9@._-]/g, "_");
|
|
5273
|
-
var baseDir = (dir, id) =>
|
|
5274
|
-
var proposedDir = (dir, id) =>
|
|
5275
|
-
var backupDir = (dir, id, at) =>
|
|
4861
|
+
var baseDir = (dir, id) => path21.join(dir, "base", folder(id));
|
|
4862
|
+
var proposedDir = (dir, id) => path21.join(dir, "proposed", folder(id));
|
|
4863
|
+
var backupDir = (dir, id, at) => path21.join(dir, "backup", folder(id), at.toISOString().replace(/[:.]/g, "-"));
|
|
5276
4864
|
function emptyManifest(version2, harness) {
|
|
5277
4865
|
return {
|
|
5278
4866
|
schema: MANIFEST_SCHEMA,
|
|
@@ -5306,7 +4894,7 @@ async function readManifest(dir, look = false) {
|
|
|
5306
4894
|
}
|
|
5307
4895
|
async function writeManifest(dir, m) {
|
|
5308
4896
|
m.history = m.history.slice(-HISTORY_MAX);
|
|
5309
|
-
await
|
|
4897
|
+
await writeAtomic2(manifestFile(dir), JSON.stringify(m, null, 2) + "\n");
|
|
5310
4898
|
}
|
|
5311
4899
|
async function readBase(dir, id) {
|
|
5312
4900
|
const d = baseDir(dir, id);
|
|
@@ -5315,11 +4903,11 @@ async function readBase(dir, id) {
|
|
|
5315
4903
|
var saveBase = (dir, id, tree) => replaceTree(baseDir(dir, id), tree);
|
|
5316
4904
|
async function saveProposed(dir, id, tree) {
|
|
5317
4905
|
if (tree) await replaceTree(proposedDir(dir, id), tree);
|
|
5318
|
-
else await
|
|
4906
|
+
else await rm6(proposedDir(dir, id), { recursive: true, force: true });
|
|
5319
4907
|
}
|
|
5320
4908
|
async function forgetItem(dir, id) {
|
|
5321
|
-
await
|
|
5322
|
-
await
|
|
4909
|
+
await rm6(baseDir(dir, id), { recursive: true, force: true });
|
|
4910
|
+
await rm6(proposedDir(dir, id), { recursive: true, force: true });
|
|
5323
4911
|
}
|
|
5324
4912
|
async function readOff(dir) {
|
|
5325
4913
|
try {
|
|
@@ -5333,7 +4921,7 @@ async function readOff(dir) {
|
|
|
5333
4921
|
}
|
|
5334
4922
|
async function writeOff(dir, off) {
|
|
5335
4923
|
const items = Object.fromEntries([...off].sort().map((id) => [id, false]));
|
|
5336
|
-
await
|
|
4924
|
+
await writeAtomic2(settingsFile(dir), JSON.stringify({ items }, null, 2) + "\n");
|
|
5337
4925
|
}
|
|
5338
4926
|
var chains = /* @__PURE__ */ new Map();
|
|
5339
4927
|
function serialize(dir, work) {
|
|
@@ -5349,8 +4937,8 @@ function serialize(dir, work) {
|
|
|
5349
4937
|
}
|
|
5350
4938
|
|
|
5351
4939
|
// src/lib/server/material/skilldir.ts
|
|
5352
|
-
import { lstat as
|
|
5353
|
-
import
|
|
4940
|
+
import { lstat as lstat3, mkdir as mkdir8, mkdtemp as mkdtemp2, readFile as readFile11, rename as rename9, rm as rm7, writeFile as writeFile7 } from "node:fs/promises";
|
|
4941
|
+
import path22 from "node:path";
|
|
5354
4942
|
var RECEIPT = ".wheelhouse-managed.json";
|
|
5355
4943
|
var RECEIPT_SCHEMA = "wheelhouse-skill.v1";
|
|
5356
4944
|
function receiptHashes(text2) {
|
|
@@ -5366,7 +4954,7 @@ function receiptHashes(text2) {
|
|
|
5366
4954
|
async function readLocal(target) {
|
|
5367
4955
|
try {
|
|
5368
4956
|
if (!await present(target)) return { kind: "absent" };
|
|
5369
|
-
if (!(await
|
|
4957
|
+
if (!(await lstat3(target)).isDirectory())
|
|
5370
4958
|
return { kind: "unreadable", reason: "it is a symbolic link or not a folder" };
|
|
5371
4959
|
const tree = await readTree(target);
|
|
5372
4960
|
const receipt = RECEIPT in tree ? receiptHashes(tree[RECEIPT]) : null;
|
|
@@ -5379,13 +4967,13 @@ async function readLocal(target) {
|
|
|
5379
4967
|
}
|
|
5380
4968
|
var receiptText = (version2, hashes) => JSON.stringify({ schema: RECEIPT_SCHEMA, version: version2, files: hashes }) + "\n";
|
|
5381
4969
|
async function swapIn(target, tree, receipt, check) {
|
|
5382
|
-
const parent =
|
|
4970
|
+
const parent = path22.dirname(target);
|
|
5383
4971
|
await mkdir8(parent, { recursive: true });
|
|
5384
|
-
const stage = await mkdtemp2(
|
|
4972
|
+
const stage = await mkdtemp2(path22.join(parent, ".wheelhouse-skill-"));
|
|
5385
4973
|
let placed = false;
|
|
5386
4974
|
try {
|
|
5387
4975
|
await writeTree(stage, tree);
|
|
5388
|
-
await writeFile7(
|
|
4976
|
+
await writeFile7(path22.join(stage, RECEIPT), receipt);
|
|
5389
4977
|
const backup = stage + "-previous";
|
|
5390
4978
|
for (let attempt = 1; ; attempt++) {
|
|
5391
4979
|
const now = await readLocal(target);
|
|
@@ -5401,33 +4989,33 @@ async function swapIn(target, tree, receipt, check) {
|
|
|
5401
4989
|
});
|
|
5402
4990
|
if (attempt === 20) throw e;
|
|
5403
4991
|
} finally {
|
|
5404
|
-
await
|
|
4992
|
+
await rm7(backup, { recursive: true, force: true });
|
|
5405
4993
|
}
|
|
5406
4994
|
await new Promise((resolve) => setTimeout(resolve, 10 * attempt));
|
|
5407
4995
|
}
|
|
5408
4996
|
} finally {
|
|
5409
|
-
if (!placed) await
|
|
4997
|
+
if (!placed) await rm7(stage, { recursive: true, force: true });
|
|
5410
4998
|
}
|
|
5411
4999
|
}
|
|
5412
5000
|
|
|
5413
5001
|
// src/lib/server/material/sync.ts
|
|
5414
5002
|
import { execFile as execFile2 } from "node:child_process";
|
|
5415
|
-
import { readFile as readFile12, stat as
|
|
5416
|
-
import
|
|
5003
|
+
import { readFile as readFile12, stat as stat5 } from "node:fs/promises";
|
|
5004
|
+
import path25 from "node:path";
|
|
5417
5005
|
|
|
5418
5006
|
// src/lib/server/material/targets.ts
|
|
5419
5007
|
import { homedir as homedir4 } from "node:os";
|
|
5420
|
-
import
|
|
5008
|
+
import path24 from "node:path";
|
|
5421
5009
|
|
|
5422
5010
|
// src/lib/server/sessions/commands.ts
|
|
5423
5011
|
import { homedir as homedir3 } from "node:os";
|
|
5424
|
-
import
|
|
5012
|
+
import path23 from "node:path";
|
|
5425
5013
|
import { parse } from "yaml";
|
|
5426
|
-
var claudeConfigDir = (env) => env.CLAUDE_CONFIG_DIR ||
|
|
5014
|
+
var claudeConfigDir = (env) => env.CLAUDE_CONFIG_DIR || path23.join(env.HOME || homedir3(), ".claude");
|
|
5427
5015
|
|
|
5428
5016
|
// src/lib/server/material/targets.ts
|
|
5429
5017
|
function skillRootDir(root, env) {
|
|
5430
|
-
return root === "claude" ?
|
|
5018
|
+
return root === "claude" ? path24.resolve(claudeConfigDir(env), "skills") : path24.resolve(env.HOME || homedir4(), ".agents", "skills");
|
|
5431
5019
|
}
|
|
5432
5020
|
var rootsFor = (harness) => harness === "claude" ? ["claude"] : ["claude", "agents"];
|
|
5433
5021
|
|
|
@@ -5438,7 +5026,7 @@ function plannedSkills(env, harness) {
|
|
|
5438
5026
|
(skill) => rootsFor(harness).map((root) => ({
|
|
5439
5027
|
id: skillId(skill.name, root),
|
|
5440
5028
|
skill,
|
|
5441
|
-
target:
|
|
5029
|
+
target: path25.join(skillRootDir(root, env), skill.name)
|
|
5442
5030
|
}))
|
|
5443
5031
|
);
|
|
5444
5032
|
}
|
|
@@ -5494,7 +5082,7 @@ async function syncSkill(ctx, dir, m, item, tree, dryRun) {
|
|
|
5494
5082
|
state,
|
|
5495
5083
|
message: message(state, id, target, detail)
|
|
5496
5084
|
});
|
|
5497
|
-
if (await insideAny([
|
|
5085
|
+
if (await insideAny([path25.dirname(target), target], [ctx.install.firstmateDir, ctx.install.homeDir]))
|
|
5498
5086
|
return result("refused", "user skills location is inside Firstmate's checkout or home");
|
|
5499
5087
|
const next = hashTree(tree);
|
|
5500
5088
|
const rec = m.items[id];
|
|
@@ -5581,7 +5169,7 @@ async function checkAssumptions(firstmateDir) {
|
|
|
5581
5169
|
seen.add(key);
|
|
5582
5170
|
let text2 = "";
|
|
5583
5171
|
try {
|
|
5584
|
-
text2 = await readFile12(
|
|
5172
|
+
text2 = await readFile12(path25.join(firstmateDir, a.file), "utf8");
|
|
5585
5173
|
} catch {
|
|
5586
5174
|
}
|
|
5587
5175
|
checks.push({ ...a, present: text2.includes(a.marker) });
|
|
@@ -5686,7 +5274,7 @@ async function syncMaterial(ctx, inputs, opts = {}) {
|
|
|
5686
5274
|
// src/lib/server/material/ops.ts
|
|
5687
5275
|
async function savedHarness2(configDir) {
|
|
5688
5276
|
try {
|
|
5689
|
-
const raw = JSON.parse(await readFile13(
|
|
5277
|
+
const raw = JSON.parse(await readFile13(path26.join(configDir, "harness.json"), "utf8"));
|
|
5690
5278
|
return parseHarness(raw.harness);
|
|
5691
5279
|
} catch {
|
|
5692
5280
|
return "claude";
|
|
@@ -5773,10 +5361,10 @@ async function diff(c, id) {
|
|
|
5773
5361
|
return { ok: false, error: `Cannot read ${item.target}: ${local.reason}` };
|
|
5774
5362
|
const next = await render(c, item);
|
|
5775
5363
|
const base = await readBase(c.dir, id);
|
|
5776
|
-
const scratch = await mkdtemp3(
|
|
5364
|
+
const scratch = await mkdtemp3(path26.join(tmpdir(), "wheelhouse-skills-diff-"));
|
|
5777
5365
|
try {
|
|
5778
5366
|
const put = async (name, tree) => {
|
|
5779
|
-
const d =
|
|
5367
|
+
const d = path26.join(scratch, name);
|
|
5780
5368
|
await replaceTree(d, tree);
|
|
5781
5369
|
return d;
|
|
5782
5370
|
};
|
|
@@ -5803,7 +5391,7 @@ async function diff(c, id) {
|
|
|
5803
5391
|
}
|
|
5804
5392
|
return { ok: true, value: parts.join("") };
|
|
5805
5393
|
} finally {
|
|
5806
|
-
await
|
|
5394
|
+
await rm8(scratch, { recursive: true, force: true });
|
|
5807
5395
|
}
|
|
5808
5396
|
}
|
|
5809
5397
|
async function replace(c, id, expect) {
|
|
@@ -5885,7 +5473,7 @@ async function uninstall(c, ids) {
|
|
|
5885
5473
|
);
|
|
5886
5474
|
continue;
|
|
5887
5475
|
}
|
|
5888
|
-
if (local.kind === "files") await
|
|
5476
|
+
if (local.kind === "files") await rm8(target, { recursive: true, force: true });
|
|
5889
5477
|
await forgetItem(c.dir, id);
|
|
5890
5478
|
if (m) delete m.items[id];
|
|
5891
5479
|
off.add(id);
|
|
@@ -5900,7 +5488,7 @@ async function uninstall(c, ids) {
|
|
|
5900
5488
|
}
|
|
5901
5489
|
|
|
5902
5490
|
// cli/skills.ts
|
|
5903
|
-
var bundledSkills = () =>
|
|
5491
|
+
var bundledSkills = () => path27.resolve(path27.dirname(fileURLToPath(import.meta.url)), "..", "skills");
|
|
5904
5492
|
var PENDING = { installed: "missing", updated: "outdated" };
|
|
5905
5493
|
function printResult(r, log, pending = false) {
|
|
5906
5494
|
for (const i of r.items)
|
|
@@ -5917,7 +5505,7 @@ function skillsCommand(over = {}) {
|
|
|
5917
5505
|
error: (line) => console.error(line),
|
|
5918
5506
|
...over
|
|
5919
5507
|
};
|
|
5920
|
-
const cmd = new
|
|
5508
|
+
const cmd = new Command3("skills").description(
|
|
5921
5509
|
"The agent skills Wheelhouse installs for Firstmate and its crew: what is installed, what changed, and settling local edits."
|
|
5922
5510
|
).option(
|
|
5923
5511
|
"--config-dir <dir>",
|
|
@@ -5931,7 +5519,7 @@ function skillsCommand(over = {}) {
|
|
|
5931
5519
|
const g2 = c.optsWithGlobals();
|
|
5932
5520
|
const s = await skillsCli({
|
|
5933
5521
|
env: deps.env,
|
|
5934
|
-
configDir: g2.configDir ?
|
|
5522
|
+
configDir: g2.configDir ? path27.resolve(g2.configDir) : defaultConfigDir(deps.env),
|
|
5935
5523
|
skillsRoot: deps.skillsRoot,
|
|
5936
5524
|
version
|
|
5937
5525
|
});
|
|
@@ -6082,14 +5670,14 @@ function supervise(opts) {
|
|
|
6082
5670
|
|
|
6083
5671
|
// cli/upgrade.ts
|
|
6084
5672
|
import { spawn as spawn3 } from "node:child_process";
|
|
6085
|
-
import
|
|
5673
|
+
import path29 from "node:path";
|
|
6086
5674
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
6087
|
-
import { Command as
|
|
5675
|
+
import { Command as Command4 } from "commander";
|
|
6088
5676
|
|
|
6089
5677
|
// src/lib/server/upgrade/clone.ts
|
|
6090
5678
|
import { execFile as execFile4 } from "node:child_process";
|
|
6091
|
-
import { mkdir as mkdir9, readdir as readdir3, readFile as readFile14, realpath as
|
|
6092
|
-
import
|
|
5679
|
+
import { mkdir as mkdir9, readdir as readdir3, readFile as readFile14, realpath as realpath4 } from "node:fs/promises";
|
|
5680
|
+
import path28 from "node:path";
|
|
6093
5681
|
var COMMITS_SHOWN = 20;
|
|
6094
5682
|
var OUTPUT_KEPT = 6e4;
|
|
6095
5683
|
var runCommand = (cmd, args, cwd) => new Promise((resolve) => {
|
|
@@ -6135,11 +5723,11 @@ async function checkClone(deps) {
|
|
|
6135
5723
|
changes: []
|
|
6136
5724
|
};
|
|
6137
5725
|
out.current.version = packageVersion(
|
|
6138
|
-
await readFile14(
|
|
5726
|
+
await readFile14(path28.join(deps.dir, "package.json"), "utf8").catch(() => null)
|
|
6139
5727
|
);
|
|
6140
5728
|
const top = await g2("rev-parse", "--show-toplevel");
|
|
6141
|
-
const here = await
|
|
6142
|
-
if (top.code !== 0 || await
|
|
5729
|
+
const here = await realpath4(deps.dir).catch(() => deps.dir);
|
|
5730
|
+
if (top.code !== 0 || await realpath4(top.stdout.trim()).catch(() => "") !== here) {
|
|
6143
5731
|
out.reason = `${deps.dir} is not a git clone, so Wheelhouse cannot upgrade it; update it the way it was installed (for npm, \`npm install -g @chrisjowen/wheelhouse\`)`;
|
|
6144
5732
|
return out;
|
|
6145
5733
|
}
|
|
@@ -6261,7 +5849,7 @@ var CLONE_SETUP_STEPS = [
|
|
|
6261
5849
|
|
|
6262
5850
|
// cli/upgrade.ts
|
|
6263
5851
|
function installDir() {
|
|
6264
|
-
return
|
|
5852
|
+
return path29.resolve(path29.dirname(fileURLToPath2(import.meta.url)), "..");
|
|
6265
5853
|
}
|
|
6266
5854
|
var runInherit = (cmd, args, cwd) => new Promise((resolve) => {
|
|
6267
5855
|
const child = spawn3(cmd, args, { cwd, stdio: "inherit" });
|
|
@@ -6328,13 +5916,13 @@ async function upgrade(deps, o = {}) {
|
|
|
6328
5916
|
}
|
|
6329
5917
|
function upgradeCommand(over = {}) {
|
|
6330
5918
|
const env = over.env ?? process.env;
|
|
6331
|
-
return new
|
|
5919
|
+
return new Command4("upgrade").description(
|
|
6332
5920
|
"Fast-forward this Wheelhouse clone to the newest commit on GitHub, rebuild it and restart Wheelhouse."
|
|
6333
5921
|
).option("--check", "only say whether there is a newer version").option("-y, --yes", "upgrade (and restart, even mid-work) without asking").option(
|
|
6334
5922
|
"--plugins-dir <dir>",
|
|
6335
5923
|
"the plugins directory the running Wheelhouse loads from, to find it (default: $WHEELHOUSE_PLUGINS_DIR, else ~/.wheelhouse/plugins)"
|
|
6336
5924
|
).action(async (o) => {
|
|
6337
|
-
const pluginsDir = o.pluginsDir ?
|
|
5925
|
+
const pluginsDir = o.pluginsDir ? path29.resolve(o.pluginsDir) : defaultPluginsDir(env);
|
|
6338
5926
|
const ok = await upgrade(
|
|
6339
5927
|
{
|
|
6340
5928
|
dir: installDir(),
|
|
@@ -6353,16 +5941,16 @@ function upgradeCommand(over = {}) {
|
|
|
6353
5941
|
var DEFAULT_PORT = 4310;
|
|
6354
5942
|
var HOST = "127.0.0.1";
|
|
6355
5943
|
var runtimeHolder = () => globalThis[/* @__PURE__ */ Symbol.for("wheelhouse.runtime")];
|
|
6356
|
-
function
|
|
5944
|
+
function parsePort2(value) {
|
|
6357
5945
|
const n = Number(value);
|
|
6358
5946
|
if (!Number.isInteger(n) || n < 0 || n > 65535) {
|
|
6359
|
-
throw new
|
|
5947
|
+
throw new InvalidArgumentError2("Port must be a whole number from 0 to 65535.");
|
|
6360
5948
|
}
|
|
6361
5949
|
return n;
|
|
6362
5950
|
}
|
|
6363
5951
|
function handlerPath() {
|
|
6364
|
-
const here =
|
|
6365
|
-
return
|
|
5952
|
+
const here = path30.dirname(fileURLToPath3(import.meta.url));
|
|
5953
|
+
return path30.resolve(here, "..", "build", "handler.js");
|
|
6366
5954
|
}
|
|
6367
5955
|
function openBrowser(url) {
|
|
6368
5956
|
const [cmd, args] = process.platform === "darwin" ? ["open", [url]] : process.platform === "win32" ? ["cmd", ["/c", "start", '""', url]] : ["xdg-open", [url]];
|
|
@@ -6375,8 +5963,8 @@ function openBrowser(url) {
|
|
|
6375
5963
|
}
|
|
6376
5964
|
}
|
|
6377
5965
|
async function open2(opts) {
|
|
6378
|
-
const configDir = opts.configDir ?
|
|
6379
|
-
const stateDir = opts.stateDir ?
|
|
5966
|
+
const configDir = opts.configDir ? path30.resolve(opts.configDir) : defaultConfigDir(process.env);
|
|
5967
|
+
const stateDir = opts.stateDir ? path30.resolve(opts.stateDir) : defaultStateDir(process.env);
|
|
6380
5968
|
const resolved = resolveInstall({
|
|
6381
5969
|
firstmate: opts.firstmate,
|
|
6382
5970
|
home: opts.home,
|
|
@@ -6428,6 +6016,13 @@ async function open2(opts) {
|
|
|
6428
6016
|
}
|
|
6429
6017
|
console.log(`State: ${stateDir}`);
|
|
6430
6018
|
console.log(`Config: ${configDir}`);
|
|
6019
|
+
if (opts.enable?.length) {
|
|
6020
|
+
const enabled = parseFeatureList(process.env.WHEELHOUSE_ENABLE_FEATURES ?? "");
|
|
6021
|
+
process.env.WHEELHOUSE_ENABLE_FEATURES = [.../* @__PURE__ */ new Set([...enabled, ...opts.enable])].join(",");
|
|
6022
|
+
}
|
|
6023
|
+
const featureState = await featureSettings(process.env, configDir);
|
|
6024
|
+
const enabledFeatures = Object.entries(featureState).filter(([, on]) => on).map(([name]) => name);
|
|
6025
|
+
if (enabledFeatures.length) console.log(`Features: ${enabledFeatures.join(", ")}`);
|
|
6431
6026
|
if (opts.sessionBackend) process.env.WHEELHOUSE_SESSION_BACKEND = opts.sessionBackend;
|
|
6432
6027
|
if (opts.herdrSession) process.env.WHEELHOUSE_HERDR_SESSION = opts.herdrSession;
|
|
6433
6028
|
const session = resolveSessionBackend({
|
|
@@ -6467,15 +6062,29 @@ async function open2(opts) {
|
|
|
6467
6062
|
}
|
|
6468
6063
|
process.env.WHEELHOUSE_STATE_DIR = stateDir;
|
|
6469
6064
|
process.env.WHEELHOUSE_CONFIG_DIR = configDir;
|
|
6470
|
-
if (opts.pluginsDir) process.env.WHEELHOUSE_PLUGINS_DIR =
|
|
6471
|
-
process.env.WHEELHOUSE_BUNDLED_PLUGINS_DIR =
|
|
6472
|
-
process.env.WHEELHOUSE_INSTALL_DIR =
|
|
6065
|
+
if (opts.pluginsDir) process.env.WHEELHOUSE_PLUGINS_DIR = path30.resolve(opts.pluginsDir);
|
|
6066
|
+
process.env.WHEELHOUSE_BUNDLED_PLUGINS_DIR = path30.resolve(path30.dirname(file), "..", "plugins");
|
|
6067
|
+
process.env.WHEELHOUSE_INSTALL_DIR = path30.resolve(path30.dirname(file), "..");
|
|
6473
6068
|
if (opts.tmuxSocket) process.env.WHEELHOUSE_TMUX_SOCKET = opts.tmuxSocket;
|
|
6474
6069
|
process.env.WHEELHOUSE_SKIP_PERMISSIONS = opts.skipPermissions ? "1" : "0";
|
|
6475
6070
|
let cli = fileURLToPath3(import.meta.url);
|
|
6476
6071
|
let serverPort = opts.port;
|
|
6072
|
+
if (opts.gateway !== void 0 && !featureState.remotes) {
|
|
6073
|
+
console.error(
|
|
6074
|
+
"wheelhouse: remote features are disabled. Enable Remotes in Settings \u2192 Experimental features or use --enable remotes."
|
|
6075
|
+
);
|
|
6076
|
+
process.exit(1);
|
|
6077
|
+
}
|
|
6078
|
+
const cloudSettings = new CloudSettings(cloudDir(configDir), cloudKeychain());
|
|
6079
|
+
if (opts.gateway !== void 0) {
|
|
6080
|
+
const registration = await registerOpenGateway(cloudSettings, opts.gateway);
|
|
6081
|
+
if (!registration.ok) {
|
|
6082
|
+
console.error(`wheelhouse: ${registration.error}`);
|
|
6083
|
+
process.exit(1);
|
|
6084
|
+
}
|
|
6085
|
+
}
|
|
6477
6086
|
const cloud = new CloudService({
|
|
6478
|
-
settings:
|
|
6087
|
+
settings: cloudSettings,
|
|
6479
6088
|
version,
|
|
6480
6089
|
appPort: () => serverPort,
|
|
6481
6090
|
previewPorts: localPreviewPorts(() => serverPort),
|
|
@@ -6486,21 +6095,31 @@ async function open2(opts) {
|
|
|
6486
6095
|
start: (port, restart) => {
|
|
6487
6096
|
const next = takeHandoff(configDir);
|
|
6488
6097
|
if (next && restart) {
|
|
6489
|
-
cli =
|
|
6098
|
+
cli = path30.join(next, "dist", "cli.js");
|
|
6490
6099
|
process.env.WHEELHOUSE_INSTALL_DIR = next;
|
|
6491
|
-
process.env.WHEELHOUSE_BUNDLED_PLUGINS_DIR =
|
|
6100
|
+
process.env.WHEELHOUSE_BUNDLED_PLUGINS_DIR = path30.join(next, "plugins");
|
|
6492
6101
|
console.log(`Wheelhouse now runs from ${next}.`);
|
|
6493
6102
|
}
|
|
6494
6103
|
const saved = restart && !harnessFixed ? savedHarnessNow(configDir) : null;
|
|
6495
6104
|
if (saved) process.env.WHEELHOUSE_HARNESS = saved;
|
|
6496
|
-
|
|
6105
|
+
const child = fork(cli, ["__server", "--port", String(port)], {
|
|
6497
6106
|
env: { ...process.env, WHEELHOUSE_RESTARTED: restart ? "1" : "0" },
|
|
6498
6107
|
stdio: ["ignore", "inherit", "inherit", "ipc"]
|
|
6499
6108
|
});
|
|
6109
|
+
child.on("message", (message2) => {
|
|
6110
|
+
if (typeof message2 !== "object" || message2 === null || message2.type !== "features-changed")
|
|
6111
|
+
return;
|
|
6112
|
+
void featureSettings(process.env, configDir).then(
|
|
6113
|
+
(flags) => flags.remotes ? cloud.start() : cloud.stop()
|
|
6114
|
+
);
|
|
6115
|
+
});
|
|
6116
|
+
return child;
|
|
6500
6117
|
},
|
|
6501
6118
|
onReady: (port) => {
|
|
6502
6119
|
serverPort = port;
|
|
6503
|
-
void
|
|
6120
|
+
void featureSettings(process.env, configDir).then(
|
|
6121
|
+
(flags) => flags.remotes ? cloud.start() : cloud.stop()
|
|
6122
|
+
);
|
|
6504
6123
|
const url = `http://${HOST}:${port}/${setup ? "setup" : ""}`;
|
|
6505
6124
|
console.log(`Wheelhouse is listening on ${url}`);
|
|
6506
6125
|
console.log("Press Ctrl+C to close Wheelhouse. Firstmate and its crew keep running.");
|
|
@@ -6515,7 +6134,7 @@ async function open2(opts) {
|
|
|
6515
6134
|
process.exit(code);
|
|
6516
6135
|
}
|
|
6517
6136
|
async function serve(opts) {
|
|
6518
|
-
process.env.WHEELHOUSE_INSTALL_DIR =
|
|
6137
|
+
process.env.WHEELHOUSE_INSTALL_DIR = path30.resolve(path30.dirname(handlerPath()), "..");
|
|
6519
6138
|
process.env.WHEELHOUSE_URL = `http://${HOST}:${opts.port}`;
|
|
6520
6139
|
process.env.BODY_SIZE_LIMIT ??= String(UPLOAD_MAX_BYTES + 64 * 1024);
|
|
6521
6140
|
const { handler } = await import(pathToFileURL(handlerPath()).href);
|
|
@@ -6580,7 +6199,7 @@ async function serve(opts) {
|
|
|
6580
6199
|
process.on("disconnect", () => close(0));
|
|
6581
6200
|
}
|
|
6582
6201
|
function program() {
|
|
6583
|
-
const cli = new
|
|
6202
|
+
const cli = new Command5("wheelhouse").description("A local companion to Firstmate: watch the crew at work from a web UI.").version(version);
|
|
6584
6203
|
cli.command("open", { isDefault: true }).description(
|
|
6585
6204
|
"Start Wheelhouse, start (or show) the Firstmate session, and open it in the browser; with no Firstmate yet, open the setup wizard."
|
|
6586
6205
|
).option(
|
|
@@ -6589,7 +6208,7 @@ function program() {
|
|
|
6589
6208
|
).option(
|
|
6590
6209
|
"--home <dir>",
|
|
6591
6210
|
"Firstmate operational home (default: $FM_HOME, else the one setup remembered, else the code directory)"
|
|
6592
|
-
).option("--port <n>", "port to listen on (127.0.0.1 only)",
|
|
6211
|
+
).option("--port <n>", "port to listen on (127.0.0.1 only)", parsePort2, DEFAULT_PORT).option(
|
|
6593
6212
|
"--state-dir <dir>",
|
|
6594
6213
|
"where Wheelhouse keeps its own records (default: $WHEELHOUSE_STATE_DIR, else $XDG_STATE_HOME/wheelhouse, else ~/.local/state/wheelhouse)"
|
|
6595
6214
|
).option(
|
|
@@ -6602,7 +6221,7 @@ function program() {
|
|
|
6602
6221
|
try {
|
|
6603
6222
|
return parseSessionBackend(value);
|
|
6604
6223
|
} catch (e) {
|
|
6605
|
-
throw new
|
|
6224
|
+
throw new InvalidArgumentError2(e instanceof Error ? e.message : String(e));
|
|
6606
6225
|
}
|
|
6607
6226
|
}
|
|
6608
6227
|
).option(
|
|
@@ -6610,7 +6229,7 @@ function program() {
|
|
|
6610
6229
|
`the herdr session the Firstmate session runs in with the herdr backend (default: $WHEELHOUSE_HERDR_SESSION, else ${DEFAULT_HERDR_SESSION})`,
|
|
6611
6230
|
(value) => {
|
|
6612
6231
|
if (!HERDR_SESSION.test(value)) {
|
|
6613
|
-
throw new
|
|
6232
|
+
throw new InvalidArgumentError2(
|
|
6614
6233
|
"A herdr session name is letters, digits, '_' or '-' (at most 64)."
|
|
6615
6234
|
);
|
|
6616
6235
|
}
|
|
@@ -6626,23 +6245,35 @@ function program() {
|
|
|
6626
6245
|
"--preview-url <pattern>",
|
|
6627
6246
|
`where a hosted dev environment serves this computer's ports, with {port} once, such as https://{port}.example.dev; previews and links to addresses on this computer open there ("off" turns it off; default: $${PREVIEW_URL_ENV}, else Gitpod's or Codespaces' own, detected)`
|
|
6628
6247
|
).option("--no-browser", "do not open the browser").option(
|
|
6248
|
+
"--enable <features>",
|
|
6249
|
+
"enable experimental features for this launch: events, remotes",
|
|
6250
|
+
(value) => {
|
|
6251
|
+
try {
|
|
6252
|
+
return parseFeatureList(value);
|
|
6253
|
+
} catch (e) {
|
|
6254
|
+
throw new InvalidArgumentError2(e instanceof Error ? e.message : String(e));
|
|
6255
|
+
}
|
|
6256
|
+
}
|
|
6257
|
+
).option(
|
|
6258
|
+
"--gateway <url>",
|
|
6259
|
+
`register this Wheelhouse with a Gateway (default: the saved profile, else ${DEFAULT_GATEWAY}; requires Remotes enabled)`
|
|
6260
|
+
).option(
|
|
6629
6261
|
"--harness <name>",
|
|
6630
6262
|
"Firstmate tool: claude, codex, opencode, pi, grok (default: environment, saved choice, or interactive picker; noninteractive fallback: claude)",
|
|
6631
6263
|
(value) => {
|
|
6632
6264
|
try {
|
|
6633
6265
|
return parseHarness(value);
|
|
6634
6266
|
} catch (e) {
|
|
6635
|
-
throw new
|
|
6267
|
+
throw new InvalidArgumentError2(e instanceof Error ? e.message : String(e));
|
|
6636
6268
|
}
|
|
6637
6269
|
}
|
|
6638
6270
|
).option(
|
|
6639
6271
|
"--no-skip-permissions",
|
|
6640
6272
|
"start Firstmate without --dangerously-skip-permissions, so Claude Code asks before tools run (answer in the terminal drawer)"
|
|
6641
6273
|
).action((opts) => open2(opts));
|
|
6642
|
-
cli.command("__server", { hidden: true }).description("Wheelhouse's server, as `open` starts it under its watcher.").option("--port <n>", "port to listen on (127.0.0.1 only)",
|
|
6274
|
+
cli.command("__server", { hidden: true }).description("Wheelhouse's server, as `open` starts it under its watcher.").option("--port <n>", "port to listen on (127.0.0.1 only)", parsePort2, DEFAULT_PORT).action((opts) => serve(opts));
|
|
6643
6275
|
cli.addCommand(pluginCommand());
|
|
6644
6276
|
cli.addCommand(upgradeCommand());
|
|
6645
|
-
cli.addCommand(gatewayCommand());
|
|
6646
6277
|
cli.addCommand(remoteCommand());
|
|
6647
6278
|
cli.addCommand(skillsCommand());
|
|
6648
6279
|
return cli;
|