@chrisjowen/wheelhouse 0.19.0 → 0.19.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/client/_app/immutable/assets/0.Bv6SelNG.css +1 -0
- package/build/client/_app/immutable/assets/0.Bv6SelNG.css.br +0 -0
- package/build/client/_app/immutable/assets/0.Bv6SelNG.css.gz +0 -0
- package/build/client/_app/immutable/chunks/8k7pJOwf.js +2 -0
- package/build/client/_app/immutable/chunks/8k7pJOwf.js.br +0 -0
- package/build/client/_app/immutable/chunks/8k7pJOwf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B4FTGmfA.js +5 -0
- package/build/client/_app/immutable/chunks/B4FTGmfA.js.br +0 -0
- package/build/client/_app/immutable/chunks/B4FTGmfA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BITQP8g7.js +1 -0
- package/build/client/_app/immutable/chunks/BITQP8g7.js.br +0 -0
- package/build/client/_app/immutable/chunks/BITQP8g7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{B5_tYUaC.js → BJDKtCqe.js} +1 -1
- package/build/client/_app/immutable/chunks/BJDKtCqe.js.br +0 -0
- package/build/client/_app/immutable/chunks/BJDKtCqe.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DNxOJI79.js → BLg4c-7y.js} +1 -1
- package/build/client/_app/immutable/chunks/BLg4c-7y.js.br +0 -0
- package/build/client/_app/immutable/chunks/BLg4c-7y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CspN1OJw.js → BT6Y01Hq.js} +1 -1
- package/build/client/_app/immutable/chunks/BT6Y01Hq.js.br +0 -0
- package/build/client/_app/immutable/chunks/BT6Y01Hq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{aPbTCkht.js → BsCzgb1I.js} +1 -1
- package/build/client/_app/immutable/chunks/BsCzgb1I.js.br +0 -0
- package/build/client/_app/immutable/chunks/BsCzgb1I.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D-y6zMNz.js → CDvUa2Wx.js} +1 -1
- package/build/client/_app/immutable/chunks/CDvUa2Wx.js.br +0 -0
- package/build/client/_app/immutable/chunks/CDvUa2Wx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{XF_UE4wx.js → CP1ugJXJ.js} +1 -1
- package/build/client/_app/immutable/chunks/CP1ugJXJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/CP1ugJXJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CWhCpMAc.js → CZ0ttJOG.js} +1 -1
- package/build/client/_app/immutable/chunks/CZ0ttJOG.js.br +0 -0
- package/build/client/_app/immutable/chunks/CZ0ttJOG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CCtrADW0.js → CiWo2zDf.js} +1 -1
- package/build/client/_app/immutable/chunks/CiWo2zDf.js.br +0 -0
- package/build/client/_app/immutable/chunks/CiWo2zDf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{C9itt56t.js → CqNPJq6p.js} +1 -1
- package/build/client/_app/immutable/chunks/CqNPJq6p.js.br +0 -0
- package/build/client/_app/immutable/chunks/CqNPJq6p.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BAQrqXqG.js → DFZemt_V.js} +1 -1
- package/build/client/_app/immutable/chunks/DFZemt_V.js.br +0 -0
- package/build/client/_app/immutable/chunks/DFZemt_V.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{LL9-36ea.js → DJ51D5D3.js} +1 -1
- package/build/client/_app/immutable/chunks/{LL9-36ea.js.br → DJ51D5D3.js.br} +1 -1
- package/build/client/_app/immutable/chunks/DJ51D5D3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DTsBbwsD.js +1 -0
- package/build/client/_app/immutable/chunks/DTsBbwsD.js.br +0 -0
- package/build/client/_app/immutable/chunks/DTsBbwsD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{nrFod6GV.js → Dcqip07r.js} +1 -1
- package/build/client/_app/immutable/chunks/Dcqip07r.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dcqip07r.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Ct3SVpmj.js → Dm7WNTit.js} +1 -1
- package/build/client/_app/immutable/chunks/Dm7WNTit.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dm7WNTit.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Db0aL9H5.js → RTI9rMtn.js} +1 -1
- package/build/client/_app/immutable/chunks/RTI9rMtn.js.br +0 -0
- package/build/client/_app/immutable/chunks/RTI9rMtn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{C0_jCQ4w.js → fY99XZ6B.js} +1 -1
- package/build/client/_app/immutable/chunks/fY99XZ6B.js.br +0 -0
- package/build/client/_app/immutable/chunks/fY99XZ6B.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{jVxnhUyF.js → h0VPko98.js} +1 -1
- package/build/client/_app/immutable/chunks/h0VPko98.js.br +0 -0
- package/build/client/_app/immutable/chunks/h0VPko98.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{C7SzUNZd.js → uFkTZE7X.js} +1 -1
- package/build/client/_app/immutable/chunks/uFkTZE7X.js.br +0 -0
- package/build/client/_app/immutable/chunks/uFkTZE7X.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BTLmGgCM.js → vLVNp-eO.js} +1 -1
- package/build/client/_app/immutable/chunks/vLVNp-eO.js.br +0 -0
- package/build/client/_app/immutable/chunks/vLVNp-eO.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.BAaIL7su.js +2 -0
- package/build/client/_app/immutable/entry/app.BAaIL7su.js.br +0 -0
- package/build/client/_app/immutable/entry/app.BAaIL7su.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.B0jWT2wD.js +1 -0
- package/build/client/_app/immutable/entry/start.B0jWT2wD.js.br +0 -0
- package/build/client/_app/immutable/entry/start.B0jWT2wD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.D0GzYTrd.js +9 -0
- package/build/client/_app/immutable/nodes/0.D0GzYTrd.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.D0GzYTrd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.Dh981twB.js → 1.BpDm1ir9.js} +1 -1
- package/build/client/_app/immutable/nodes/1.BpDm1ir9.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.BpDm1ir9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{10.B1RKHDhe.js → 10.C80mIOiQ.js} +1 -1
- package/build/client/_app/immutable/nodes/10.C80mIOiQ.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.C80mIOiQ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{11.BsYJEYTU.js → 11.DDIxQZfV.js} +1 -1
- package/build/client/_app/immutable/nodes/11.DDIxQZfV.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.DDIxQZfV.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{12.EQnhgXzd.js → 12.bGdOSkxv.js} +1 -1
- package/build/client/_app/immutable/nodes/12.bGdOSkxv.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.bGdOSkxv.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{13.BYP_M-Hu.js → 13.DyvdODCw.js} +1 -1
- package/build/client/_app/immutable/nodes/13.DyvdODCw.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.DyvdODCw.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{14.Dlxq7Ccy.js → 14.DVDjSZ0q.js} +1 -1
- package/build/client/_app/immutable/nodes/14.DVDjSZ0q.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.DVDjSZ0q.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{15.C1s6jiOc.js → 15.DBlR8M09.js} +1 -1
- package/build/client/_app/immutable/nodes/15.DBlR8M09.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.DBlR8M09.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{16.BwawtQ5a.js → 16.DpUfsfQ6.js} +1 -1
- package/build/client/_app/immutable/nodes/16.DpUfsfQ6.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.DpUfsfQ6.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{17.O274oDmy.js → 17.ozZb32oS.js} +1 -1
- package/build/client/_app/immutable/nodes/17.ozZb32oS.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.ozZb32oS.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{19.CHniOm_r.js → 19.DncRI2Fk.js} +1 -1
- package/build/client/_app/immutable/nodes/19.DncRI2Fk.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.DncRI2Fk.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.BOFSCw3p.js +28 -0
- package/build/client/_app/immutable/nodes/2.BOFSCw3p.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.BOFSCw3p.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{20.gJiXSxC6.js → 20.b0UXf6mz.js} +1 -1
- package/build/client/_app/immutable/nodes/20.b0UXf6mz.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.b0UXf6mz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{21.iAc8hb0f.js → 21.BtjZfuXM.js} +1 -1
- package/build/client/_app/immutable/nodes/21.BtjZfuXM.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.BtjZfuXM.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{22.KaX7NZkZ.js → 22.4gP0HkmC.js} +1 -1
- package/build/client/_app/immutable/nodes/22.4gP0HkmC.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.4gP0HkmC.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{23.BArBvqHp.js → 23.DIBZzUZD.js} +1 -1
- package/build/client/_app/immutable/nodes/23.DIBZzUZD.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.DIBZzUZD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{24.D0gFnVRE.js → 24.D4gQ2FkA.js} +1 -1
- package/build/client/_app/immutable/nodes/24.D4gQ2FkA.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.D4gQ2FkA.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{25.BxfugLYA.js → 25.CFE0ROXf.js} +1 -1
- package/build/client/_app/immutable/nodes/25.CFE0ROXf.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.CFE0ROXf.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{26.Sp4AtCyD.js → 26.B4RaWMdp.js} +1 -1
- package/build/client/_app/immutable/nodes/26.B4RaWMdp.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.B4RaWMdp.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{28.CnwpVpNo.js → 28.7iUNvKVv.js} +1 -1
- package/build/client/_app/immutable/nodes/28.7iUNvKVv.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.7iUNvKVv.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{3.D4XUYuTJ.js → 3.D-oY9xDx.js} +1 -1
- package/build/client/_app/immutable/nodes/3.D-oY9xDx.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.D-oY9xDx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{4.WsSgjN10.js → 4.DSd8R5NI.js} +1 -1
- package/build/client/_app/immutable/nodes/4.DSd8R5NI.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.DSd8R5NI.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{6.CJ-FT1vm.js → 6.CvVwnDOu.js} +1 -1
- package/build/client/_app/immutable/nodes/6.CvVwnDOu.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.CvVwnDOu.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{7.C-SOy0Vb.js → 7.NMuwEfXj.js} +1 -1
- package/build/client/_app/immutable/nodes/7.NMuwEfXj.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.NMuwEfXj.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{8.Dw0NmS-F.js → 8.9iK5F2wF.js} +1 -1
- package/build/client/_app/immutable/nodes/8.9iK5F2wF.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.9iK5F2wF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{9.DbgGFOIh.js → 9.C4Ro8Y5s.js} +1 -1
- package/build/client/_app/immutable/nodes/9.C4Ro8Y5s.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.C4Ro8Y5s.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/handler.js +4 -4
- package/build/index.js +4 -4
- package/build/server/chunks/chunks/{DecisionCard.js-BGSPGiMJ.js → DecisionCard.js-BK-7QlF6.js} +2 -2
- package/build/server/chunks/chunks/{OpenDecision.js-D5ZzLDAg.js → OpenDecision.js-ECtCedSr.js} +3 -3
- package/build/server/chunks/chunks/{bell.js-DuW71LLn.js → bell.js-kMMKqlsJ.js} +35 -2
- package/build/server/chunks/chunks/{chat.svelte.js-BcKQjH6T.js → chat.svelte.js-BtY19xS3.js} +10 -2
- package/build/server/chunks/chunks/{detail.js-CzUqtLsG.js → detail.js-CeG3FrQT.js} +2 -2
- package/build/server/chunks/chunks/{feedback.js-nOVFpKO5.js → feedback.js-Ji1hdblX.js} +2 -2
- package/build/server/chunks/chunks/{insights.svelte.js-Buez8RTS.js → insights.svelte.js-DZqfDUCl.js} +4 -4
- package/build/server/chunks/chunks/{internal.js-DkGaACp-.js → internal.js-Fd0RMP-j.js} +3 -3
- package/build/server/chunks/chunks/{keychain.js-C9vZ5DJh.js → keychain.js-Ct0cyit9.js} +2 -2
- package/build/server/chunks/chunks/{marketplace-service.js-DFiD4MHo.js → marketplace-service.js-Dxec-ieA.js} +2 -2
- package/build/server/chunks/chunks/{page.js-C2w0oCqX.js → page.js-D2L9jCOz.js} +2 -2
- package/build/server/chunks/chunks/{previewhelper2.js-BkjMpog6.js → previewhelper2.js-02dA_Vv5.js} +2 -2
- package/build/server/chunks/chunks/{repo.js-Dr8o_jnO.js → repo.js-_pzbkdBX.js} +2 -2
- package/build/server/chunks/chunks/{runtime.js-Cpss23d0.js → runtime.js-B42zPGx5.js} +388 -63
- package/build/server/chunks/chunks/{service.js-Br0R9ck2.js → service.js-VX8EkjgK.js} +2 -2
- package/build/server/chunks/chunks/{service2.js-C_U9EgsR.js → service2.js-BdnYgzv9.js} +2 -2
- package/build/server/chunks/chunks/{starter.js-CoMyHHUF.js → starter.js-DnWxJlCw.js} +2 -2
- package/build/server/chunks/chunks/{view.js-BJfIYxVr.js → view.js-BNc7yChS.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/apps/_op_/{_server.ts.js-BsOA33ju.js → _server.ts.js-ylGiZdRO.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/cloud/{_server.ts.js-DLt5jRDJ.js → _server.ts.js-D96rXZdo.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/cloud/previews/{_server.ts.js-CRn0RLS1.js → _server.ts.js-BzE-8PAM.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/events/{_server.ts.js-C4fMoq9T.js → _server.ts.js-CIXVUJbX.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/files/{_server.ts.js-BbPYHvNx.js → _server.ts.js-B0QLf6tv.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/{_server.ts.js-DsmwWM1N.js → _server.ts.js-5dbyoq27.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-B_qTfz66.js +53 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/{_server.ts.js-DxypyijO.js → _server.ts.js-hQKPip4r.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/firstmate/input/{_server.ts.js-Bhc8gqYi.js → _server.ts.js-rkKw-9M2.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/{_server.ts.js-DLrTSyu2.js → _server.ts.js-C7x2qxzU.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/{_server.ts.js-C72KHjLJ.js → _server.ts.js-BObbWVaz.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/{_server.ts.js-_BWQj7MZ.js → _server.ts.js-CzXr_SRk.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/firstmate/reactions/{_server.ts.js-tcGgQFJ9.js → _server.ts.js-DMkWOmTj.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-B5h1iT4f.js +62 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/start/{_server.ts.js-DjojCMhH.js → _server.ts.js-94pph3IG.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/fleet/{_server.ts.js-CLYGPESP.js → _server.ts.js-CkoibLCa.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/gateway/{_server.ts.js-BKX2BfoV.js → _server.ts.js-BbFQ0omh.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/health/{_server.ts.js-MDM-wT0p.js → _server.ts.js-Cu_bVd6r.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/inbox/{_server.ts.js-Cr63vqju.js → _server.ts.js-CrFdIyVj.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/inbox/report/{_server.ts.js-BSU9zB8P.js → _server.ts.js-DIiMPGM0.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/insights/{_server.ts.js-BEO69EB5.js → _server.ts.js-ClBLZwe_.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/{_server.ts.js-C_tTE3YK.js → _server.ts.js-CkcbxiQU.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/{_server.ts.js-CuS9nPOQ.js → _server.ts.js-DNANHO-a.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/{_server.ts.js-Bei8Nr82.js → _server.ts.js-cm_Qk1b0.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/{_server.ts.js-RUcfsB3f.js → _server.ts.js-CTHJ3ic2.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/{_server.ts.js-C2yKd2hD.js → _server.ts.js-B4EdGr_f.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/{_server.ts.js-CZt99i2m.js → _server.ts.js-CJicEpwi.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/{_server.ts.js-Dzmq3tbT.js → _server.ts.js-BcdZRFtJ.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/{_server.ts.js-DPrRvjZ5.js → _server.ts.js-pbhN55LV.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/{_server.ts.js-UNDFY375.js → _server.ts.js-BvTnyTgg.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/install/{_server.ts.js-BUuEPVAJ.js → _server.ts.js-B6GI4d3V.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/{_server.ts.js-qEgN4J6K.js → _server.ts.js-IocRm0Gk.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/{_server.ts.js-28-j51Yo.js → _server.ts.js-NbmpOF6p.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/{_server.ts.js-DwqMlteq.js → _server.ts.js-CqbpGQDV.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/plugins/roles/{_server.ts.js-C5Ff846k.js → _server.ts.js-g5pm-IDZ.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/plugins/updates/{_server.ts.js-DboMMJUT.js → _server.ts.js-Y81vYVF8.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/previews/check/{_server.ts.js-DFtx6VYo.js → _server.ts.js-DtGPvUuz.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/{_server.ts.js-Co4Bpzj4.js → _server.ts.js-qlRKVFcR.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/{_server.ts.js-BQMX78hq.js → _server.ts.js-mhx9So3N.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/{_server.ts.js-DSgiLPAN.js → _server.ts.js-jNObhrah.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/{_server.ts.js-84-59nZC.js → _server.ts.js-BGEs1s74.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/{_server.ts.js-DYU53e9F.js → _server.ts.js-C6IOpFc3.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/{_server.ts.js-V8wsdokX.js → _server.ts.js-BlU71sOy.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/{_server.ts.js-BtItkxzT.js → _server.ts.js-eMFUvd7v.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/services/{_server.ts.js-CHMfqUsX.js → _server.ts.js-DHZpOzc5.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/setup/{_server.ts.js-CxUmMNPj.js → _server.ts.js-DGY1rvpW.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/slots/{_server.ts.js-CO9TQ0GW.js → _server.ts.js-B8KyR3d9.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/{_server.ts.js-MyailnMF.js → _server.ts.js-BBnglLA-.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/{_server.ts.js-B-cx_G8t.js → _server.ts.js-EzG3O9h9.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/{_server.ts.js-DlF9PKhW.js → _server.ts.js-BsHlvBbO.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/{_server.ts.js-B_xAmzkc.js → _server.ts.js-CbS3GUEr.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/{_server.ts.js-DcEgPBe2.js → _server.ts.js-CFE_Siaa.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/{_server.ts.js-BgyfJwC6.js → _server.ts.js-CuRT24JC.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/vault/{_server.ts.js-DGLzIRjR.js → _server.ts.js-90wXZd9V.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/wheelhouse/source/{_server.ts.js-DuZwW06e.js → _server.ts.js-DrACbby7.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/{_server.ts.js-CNmWNSKa.js → _server.ts.js-BV4fbVsA.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/{_server.ts.js-DBHSpR1g.js → _server.ts.js-BQLQhRPq.js} +2 -2
- package/build/server/chunks/entries/endpoints/tasks/_id_/review/{_server.ts.js-DfsUxkXr.js → _server.ts.js--RoQpmoU.js} +4 -4
- package/build/server/chunks/entries/{hooks.server.js-B12R_Jb0.js → hooks.server.js-B1in05lA.js} +4 -4
- package/build/server/chunks/entries/pages/{_layout.server.ts.js-BkRw_4w_.js → _layout.server.ts.js-DhR5VPcs.js} +2 -2
- package/build/server/chunks/entries/pages/{_layout.svelte.js-kIxBZbrV.js → _layout.svelte.js-BDIlEQ9G.js} +10 -7
- package/build/server/chunks/entries/pages/{_page.server.ts.js-fWCx3rdM.js → _page.server.ts.js-CinPKoaN.js} +2 -2
- package/build/server/chunks/entries/pages/{_page.svelte.js-C8llgcdE.js → _page.svelte.js-DAV9f-2z.js} +95 -15
- package/build/server/chunks/entries/pages/decisions/{_page.server.ts.js-5s2g3S8z.js → _page.server.ts.js-DcVkWVyf.js} +2 -2
- package/build/server/chunks/entries/pages/deck/{_page.server.ts.js-BBb1oIW1.js → _page.server.ts.js-aV87eU6q.js} +2 -2
- package/build/server/chunks/entries/pages/deck/{_page.svelte.js-TazICq1a.js → _page.svelte.js-DYZLLbYM.js} +6 -5
- package/build/server/chunks/entries/pages/files/{_page.server.ts.js-DkCwCJtv.js → _page.server.ts.js-DO8jGLLR.js} +2 -2
- package/build/server/chunks/entries/pages/harbour/{_page.server.ts.js-D4Iyrw--.js → _page.server.ts.js-CP7JNp-j.js} +2 -2
- package/build/server/chunks/entries/pages/headroom/{_page.server.ts.js-z_VPkhBF.js → _page.server.ts.js-pdE5PRCh.js} +2 -2
- package/build/server/chunks/entries/pages/inbox/{_page.server.ts.js-BoSU8-8-.js → _page.server.ts.js-BSLhf-40.js} +2 -2
- package/build/server/chunks/entries/pages/inbox/{_page.svelte.js-BOndKRgZ.js → _page.svelte.js-BuV_cnZ4.js} +4 -3
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/{_page.server.ts.js-Cbqi7jUv.js → _page.server.ts.js-C675qSjH.js} +2 -2
- package/build/server/chunks/entries/pages/projects/_id_/{_page.server.ts.js-CzoP2xui.js → _page.server.ts.js-Dvmterd8.js} +3 -3
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/{_page.server.ts.js-B0RlmQlD.js → _page.server.ts.js-DjO9N9bX.js} +3 -3
- package/build/server/chunks/entries/pages/projects/_id_/passage/{_page.server.ts.js-DZfPc7Tr.js → _page.server.ts.js-3IAQfuh8.js} +4 -4
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/{_page.server.ts.js-CzLfB_So.js → _page.server.ts.js-C9M0i9rL.js} +2 -2
- package/build/server/chunks/entries/pages/remotes/{_page.server.ts.js-DUY6du0T.js → _page.server.ts.js-D3Zn3Vvg.js} +2 -2
- package/build/server/chunks/entries/pages/settings/cloud/{_page.server.ts.js-aTSFYROD.js → _page.server.ts.js-TdGX5Um0.js} +2 -2
- package/build/server/chunks/entries/pages/settings/gateway/{_page.server.ts.js-DDTs-ve6.js → _page.server.ts.js-OSOg6OfV.js} +2 -2
- package/build/server/chunks/entries/pages/settings/gateway/{_page.svelte.js-7xxA_syu.js → _page.svelte.js-DjdutjT9.js} +2 -2
- package/build/server/chunks/entries/pages/settings/plugins/{_page.server.ts.js-D2m_N8-e.js → _page.server.ts.js-LZj9aQHk.js} +2 -2
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/{_page.server.ts.js-BOhBGdvd.js → _page.server.ts.js-V9BLcZyV.js} +2 -2
- package/build/server/chunks/entries/pages/settings/setup/{_page.server.ts.js-kVa3v2-A.js → _page.server.ts.js-B6oszio1.js} +2 -2
- package/build/server/chunks/entries/pages/settings/update/{_page.server.ts.js-ChnyUn_Z.js → _page.server.ts.js-19uF0w9w.js} +2 -2
- package/build/server/chunks/entries/pages/setup/{_page.server.ts.js-CSeqKUds.js → _page.server.ts.js-rTRb0rlD.js} +3 -3
- package/build/server/chunks/entries/pages/tasks/_id_/{_page.server.ts.js-BGEHpRT1.js → _page.server.ts.js-H-cPRDVr.js} +3 -3
- package/build/server/chunks/entries/pages/tasks/_id_/{_page.svelte.js-Pdk-bUSp.js → _page.svelte.js-ClTXM9u_.js} +5 -4
- package/build/server/chunks/entries/pages/tasks/_id_/doc/{_page.server.ts.js-B3iGmuyV.js → _page.server.ts.js-JOSoWfUY.js} +2 -2
- package/build/server/chunks/entries/pages/time/{_page.server.ts.js-DFoMhCn1.js → _page.server.ts.js-DWtSEA3s.js} +2 -2
- package/build/server/chunks/{handler-DhVDZNVb.js → handler-CZvRdcKA.js} +3 -3
- package/build/server/chunks/{index.js-CDELFGjb.js → index.js-Bx_Ysplk.js} +2 -2
- package/build/server/chunks/{manifest.js-toW-vxUA.js → manifest.js-ckrXSjF1.js} +94 -87
- package/build/server/chunks/nodes/{0.js-CI8KH5F7.js → 0.js-BjNQpTbV.js} +8 -8
- package/build/server/chunks/nodes/{1.js-FRhQbaJO.js → 1.js-oL88S8kK.js} +2 -2
- package/build/server/chunks/nodes/{10.js-CWbbZgVV.js → 10.js-d1L3XicC.js} +2 -2
- package/build/server/chunks/nodes/{11.js-fg2lq42W.js → 11.js-BXPxWlrT.js} +6 -6
- package/build/server/chunks/nodes/{12.js-BtEEiUwT.js → 12.js-Bq7s5PXs.js} +7 -7
- package/build/server/chunks/nodes/{13.js-Cvmj6NWd.js → 13.js-Z3B3M3fF.js} +7 -7
- package/build/server/chunks/nodes/{14.js-BmgJ18xn.js → 14.js-GsPwA1Wu.js} +8 -8
- package/build/server/chunks/nodes/{15.js-CkOvThfc.js → 15.js-DIMNfbyH.js} +7 -7
- package/build/server/chunks/nodes/{16.js-DaTrgYgq.js → 16.js-HVjlO9oP.js} +6 -6
- package/build/server/chunks/nodes/{17.js-DgNxc5L8.js → 17.js-mxdf_OcG.js} +2 -2
- package/build/server/chunks/nodes/{19.js-CRIiJPaf.js → 19.js-CTw5TCXT.js} +6 -6
- package/build/server/chunks/nodes/{2.js-RbZq5riT.js → 2.js-BAKwfwlz.js} +7 -7
- package/build/server/chunks/nodes/{20.js-chSk-c-x.js → 20.js-VzeoYxAC.js} +7 -7
- package/build/server/chunks/nodes/{21.js-CiMcPVot.js → 21.js-ACRB8rD3.js} +6 -6
- package/build/server/chunks/nodes/{22.js-Bup-u53x.js → 22.js-CEq1jZIO.js} +6 -6
- package/build/server/chunks/nodes/{23.js-DJ0KPJIM.js → 23.js-BbLNAqwB.js} +7 -7
- package/build/server/chunks/nodes/{24.js-BrxFd2Az.js → 24.js-CbAddu89.js} +4 -4
- package/build/server/chunks/nodes/{25.js-CT2_xpUT.js → 25.js-Bag-Gg4e.js} +7 -7
- package/build/server/chunks/nodes/{26.js-D4bG4GzQ.js → 26.js-eT-Hizyt.js} +8 -8
- package/build/server/chunks/nodes/{27.js-BS3Z8oiy.js → 27.js-CCSzYN8w.js} +6 -6
- package/build/server/chunks/nodes/{28.js-D1rloSqK.js → 28.js-DVulS49Z.js} +6 -6
- package/build/server/chunks/nodes/{3.js-DOEK2uQu.js → 3.js-B9tm9tTJ.js} +6 -6
- package/build/server/chunks/nodes/{4.js-B74fcxhU.js → 4.js-BtEyXA4u.js} +7 -7
- package/build/server/chunks/nodes/{5.js-BaUJ9WCU.js → 5.js-Cry_-e42.js} +5 -5
- package/build/server/chunks/nodes/{6.js-sr2xaKDZ.js → 6.js-BKT37KmG.js} +6 -6
- package/build/server/chunks/nodes/{7.js-Bx1k7xA5.js → 7.js-DGc9gpGZ.js} +6 -6
- package/build/server/chunks/nodes/{8.js-BpLhG-6B.js → 8.js-DoR6sODl.js} +7 -7
- package/build/server/chunks/nodes/{9.js-K36zxMoD.js → 9.js-_eXgmWT3.js} +2 -2
- package/dist/cli.js +44 -37
- package/dist/wh-vault.js +1 -1
- package/package.json +1 -1
- package/skills/manage-wheelhouse/references/operations.md +2 -1
- package/build/client/_app/immutable/assets/0.CiaTb5Dv.css +0 -1
- package/build/client/_app/immutable/assets/0.CiaTb5Dv.css.br +0 -0
- package/build/client/_app/immutable/assets/0.CiaTb5Dv.css.gz +0 -0
- package/build/client/_app/immutable/chunks/B5_tYUaC.js.br +0 -0
- package/build/client/_app/immutable/chunks/B5_tYUaC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BAQrqXqG.js.br +0 -0
- package/build/client/_app/immutable/chunks/BAQrqXqG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BTLmGgCM.js.br +0 -0
- package/build/client/_app/immutable/chunks/BTLmGgCM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BTtucd77.js +0 -2
- package/build/client/_app/immutable/chunks/BTtucd77.js.br +0 -0
- package/build/client/_app/immutable/chunks/BTtucd77.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C0_jCQ4w.js.br +0 -0
- package/build/client/_app/immutable/chunks/C0_jCQ4w.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C7SzUNZd.js.br +0 -0
- package/build/client/_app/immutable/chunks/C7SzUNZd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C9itt56t.js.br +0 -0
- package/build/client/_app/immutable/chunks/C9itt56t.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CCtrADW0.js.br +0 -0
- package/build/client/_app/immutable/chunks/CCtrADW0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CEx58khx.js +0 -1
- package/build/client/_app/immutable/chunks/CEx58khx.js.br +0 -0
- package/build/client/_app/immutable/chunks/CEx58khx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CWhCpMAc.js.br +0 -0
- package/build/client/_app/immutable/chunks/CWhCpMAc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C_4BzEag.js +0 -1
- package/build/client/_app/immutable/chunks/C_4BzEag.js.br +0 -0
- package/build/client/_app/immutable/chunks/C_4BzEag.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ClsjySa8.js +0 -1
- package/build/client/_app/immutable/chunks/ClsjySa8.js.br +0 -0
- package/build/client/_app/immutable/chunks/ClsjySa8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CspN1OJw.js.br +0 -0
- package/build/client/_app/immutable/chunks/CspN1OJw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ct3SVpmj.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ct3SVpmj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D-y6zMNz.js.br +0 -0
- package/build/client/_app/immutable/chunks/D-y6zMNz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DNxOJI79.js.br +0 -0
- package/build/client/_app/immutable/chunks/DNxOJI79.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Db0aL9H5.js.br +0 -0
- package/build/client/_app/immutable/chunks/Db0aL9H5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/LL9-36ea.js.gz +0 -0
- package/build/client/_app/immutable/chunks/QY6r3nlS.js +0 -5
- package/build/client/_app/immutable/chunks/QY6r3nlS.js.br +0 -0
- package/build/client/_app/immutable/chunks/QY6r3nlS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/XF_UE4wx.js.br +0 -0
- package/build/client/_app/immutable/chunks/XF_UE4wx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/aPbTCkht.js.br +0 -0
- package/build/client/_app/immutable/chunks/aPbTCkht.js.gz +0 -0
- package/build/client/_app/immutable/chunks/jVxnhUyF.js.br +0 -0
- package/build/client/_app/immutable/chunks/jVxnhUyF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/nrFod6GV.js.br +0 -0
- package/build/client/_app/immutable/chunks/nrFod6GV.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.s7zFcpLk.js +0 -2
- package/build/client/_app/immutable/entry/app.s7zFcpLk.js.br +0 -0
- package/build/client/_app/immutable/entry/app.s7zFcpLk.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.BNhhcM45.js +0 -1
- package/build/client/_app/immutable/entry/start.BNhhcM45.js.br +0 -0
- package/build/client/_app/immutable/entry/start.BNhhcM45.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.D-pJFs9f.js +0 -9
- package/build/client/_app/immutable/nodes/0.D-pJFs9f.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.D-pJFs9f.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.Dh981twB.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.Dh981twB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.B1RKHDhe.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.B1RKHDhe.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.BsYJEYTU.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.BsYJEYTU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.EQnhgXzd.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.EQnhgXzd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.BYP_M-Hu.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.BYP_M-Hu.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.Dlxq7Ccy.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.Dlxq7Ccy.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.C1s6jiOc.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.C1s6jiOc.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.BwawtQ5a.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.BwawtQ5a.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.O274oDmy.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.O274oDmy.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.CHniOm_r.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.CHniOm_r.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.BKSDZ8Ym.js +0 -26
- package/build/client/_app/immutable/nodes/2.BKSDZ8Ym.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.BKSDZ8Ym.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.gJiXSxC6.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.gJiXSxC6.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.iAc8hb0f.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.iAc8hb0f.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.KaX7NZkZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.KaX7NZkZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/23.BArBvqHp.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.BArBvqHp.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.D0gFnVRE.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.D0gFnVRE.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.BxfugLYA.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.BxfugLYA.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.Sp4AtCyD.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.Sp4AtCyD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.CnwpVpNo.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.CnwpVpNo.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.D4XUYuTJ.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.D4XUYuTJ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.WsSgjN10.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.WsSgjN10.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.CJ-FT1vm.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.CJ-FT1vm.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.C-SOy0Vb.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.C-SOy0Vb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.Dw0NmS-F.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.Dw0NmS-F.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.DbgGFOIh.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.DbgGFOIh.js.gz +0 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-mSoIySDu.js +0 -131
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { readFile, readdir, stat, open, realpath, mkdir, writeFile, rename, rm, access, constants, lstat, chmod, appendFile, mkdtemp } from 'node:fs/promises';
|
|
2
2
|
import os, { homedir, tmpdir } from 'node:os';
|
|
3
3
|
import path from 'node:path';
|
|
4
|
-
import { v as version, d as defaultKeychain } from './keychain.js-
|
|
4
|
+
import { v as version, d as defaultKeychain } from './keychain.js-Ct0cyit9.js';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, renameSync, openSync, closeSync, watch, statSync, fstatSync, readSync, accessSync, constants as constants$1, rmSync, realpathSync, lstatSync } from 'node:fs';
|
|
6
6
|
import { spawn, execFileSync, execFile } from 'node:child_process';
|
|
7
7
|
import { l as loopbackPreview, f as frameRefusal } from './preview.js-CbgkVvT_.js';
|
|
@@ -10,7 +10,7 @@ import { p as plainStatus, c as clean } from './plain.js-Dc97sYaJ.js';
|
|
|
10
10
|
import { timingSafeEqual, randomBytes, randomUUID, createHash, createHmac } from 'node:crypto';
|
|
11
11
|
import { B as BRIEF_MAX_BYTES, p as parseBrief } from './brief.js-TS-K0lZ6.js';
|
|
12
12
|
import { d as defaultStateDir, i as isInside, s as storeFileFor, M as MessageStore, c as changeRoute, a as isChangeRequest, r as readyTimes, t as taskRuns, D as DECISIVE, C as CI_READY_NOTE, w as workerWindow } from './store.js-H2CHLL0k.js';
|
|
13
|
-
import { parseDocument } from 'yaml';
|
|
13
|
+
import { parseDocument, parse } from 'yaml';
|
|
14
14
|
import { E as EVIDENCE_WORDS, C as COMMAND_BASE_ENV, F as FACT_WORDS, o as outcomeWords, O as OUTCOMES } from './passage-meta.js-uvNUyJkg.js';
|
|
15
15
|
import { s as shortTitle } from './format.js-D3lWEg6U.js';
|
|
16
16
|
import { r as runStep, c as checksLine } from './checks.js-DGdGhp1G.js';
|
|
@@ -21,7 +21,7 @@ import { p as parseHarness, H as HARNESS_NAMES, a as HARNESSES } from './harness
|
|
|
21
21
|
import { d as defaultConfigDir, P as PluginConfigFile, a as PLUGINS_FILE, R as ROLES, b as SLOT_SCOPE, i as isEnabled, E as EMPTY_CONFIG, S as SLOTS, C as CAPABILITIES, c as chooseRole, e as changePlugin } from './config.js-CjvhJWDv.js';
|
|
22
22
|
import WebSocket, { WebSocketServer } from 'ws';
|
|
23
23
|
import { r as roundId, t as testLine } from './buildlog.js-BCKtSKOt.js';
|
|
24
|
-
import { a as alertsFor, r as raise, s as
|
|
24
|
+
import { a as alertsFor, r as raise, s as sessionWaitAlert, d as digest, A as ALERT_KINDS } from './bell.js-kMMKqlsJ.js';
|
|
25
25
|
import { C as CHOICES, N as NOTE_MAX, b as closable, p as picksLine, d as closeText, e as answerText, D as DECIDED_LABEL, f as choiceLabel, g as awaitsAnswer, o as optionsFor, h as holdCardId, q as questionLine, a as answerOf } from './inbox.js-CnikIOgr.js';
|
|
26
26
|
import { D as DOC_EXT$1 } from './docpath.js-D27w_pf9.js';
|
|
27
27
|
import { d as defaultPluginsDir, r as readInstalled, S as SUPPORTED_API_VERSIONS, s as settingViews, m as manifestPath, p as parseManifest, f as fromExport } from './settings2.js-8JjZvg3U.js';
|
|
@@ -266,10 +266,10 @@ function parseTask(v) {
|
|
|
266
266
|
if (!isObj$2(v)) return null;
|
|
267
267
|
const id = str$6(v.id);
|
|
268
268
|
if (!id) return null;
|
|
269
|
-
const
|
|
270
|
-
const worktree = obj$1(
|
|
271
|
-
const report2 = obj$1(
|
|
272
|
-
const statusLog = obj$1(
|
|
269
|
+
const paths2 = obj$1(v.paths);
|
|
270
|
+
const worktree = obj$1(paths2.worktree);
|
|
271
|
+
const report2 = obj$1(paths2.report);
|
|
272
|
+
const statusLog = obj$1(paths2.status_log);
|
|
273
273
|
const last = isObj$2(statusLog.last_event) ? statusLog.last_event : null;
|
|
274
274
|
const endpoint = obj$1(v.endpoint);
|
|
275
275
|
const hints = obj$1(v.hints);
|
|
@@ -326,7 +326,7 @@ function parseFleetSnapshot(text2) {
|
|
|
326
326
|
secondMates: parseSecondMates(v.secondmate_current)
|
|
327
327
|
};
|
|
328
328
|
}
|
|
329
|
-
function list$
|
|
329
|
+
function list$2(v, f) {
|
|
330
330
|
return Array.isArray(v) ? v.filter(isObj$2).map(f).filter((x) => x !== null) : [];
|
|
331
331
|
}
|
|
332
332
|
function withId(o, f) {
|
|
@@ -359,7 +359,7 @@ function parseSecondMate(v) {
|
|
|
359
359
|
observedAt: nonBlank(freshness.observed_at),
|
|
360
360
|
ageSeconds: num$2(freshness.age_seconds)
|
|
361
361
|
},
|
|
362
|
-
active: list$
|
|
362
|
+
active: list$2(
|
|
363
363
|
v.active_children,
|
|
364
364
|
(c) => withId(c, (cid) => ({
|
|
365
365
|
id: cid,
|
|
@@ -370,7 +370,7 @@ function parseSecondMate(v) {
|
|
|
370
370
|
doing: nonBlank(c.doing)
|
|
371
371
|
}))
|
|
372
372
|
),
|
|
373
|
-
decisions: list$
|
|
373
|
+
decisions: list$2(
|
|
374
374
|
v.decisions_open,
|
|
375
375
|
(d) => withId(d, (did) => ({
|
|
376
376
|
id: did,
|
|
@@ -382,7 +382,7 @@ function parseSecondMate(v) {
|
|
|
382
382
|
source: nonBlank(d.source)
|
|
383
383
|
}))
|
|
384
384
|
),
|
|
385
|
-
holds: list$
|
|
385
|
+
holds: list$2(
|
|
386
386
|
v.holds,
|
|
387
387
|
(h) => withId(h, (hid) => ({
|
|
388
388
|
id: hid,
|
|
@@ -392,7 +392,7 @@ function parseSecondMate(v) {
|
|
|
392
392
|
source: nonBlank(h.source)
|
|
393
393
|
}))
|
|
394
394
|
),
|
|
395
|
-
queued: list$
|
|
395
|
+
queued: list$2(
|
|
396
396
|
v.queued,
|
|
397
397
|
(q) => withId(q, (qid) => ({
|
|
398
398
|
id: qid,
|
|
@@ -408,7 +408,7 @@ function parseSecondMate(v) {
|
|
|
408
408
|
since: nonBlank(q.since)
|
|
409
409
|
}))
|
|
410
410
|
),
|
|
411
|
-
landed: list$
|
|
411
|
+
landed: list$2(
|
|
412
412
|
v.landed,
|
|
413
413
|
(l) => withId(l, (lid) => {
|
|
414
414
|
const completion = obj$1(l.completion);
|
|
@@ -422,7 +422,7 @@ function parseSecondMate(v) {
|
|
|
422
422
|
};
|
|
423
423
|
})
|
|
424
424
|
),
|
|
425
|
-
endpoints: list$
|
|
425
|
+
endpoints: list$2(
|
|
426
426
|
v.endpoints,
|
|
427
427
|
(e) => withId(e, (eid) => {
|
|
428
428
|
const ep = obj$1(e.endpoint);
|
|
@@ -442,7 +442,7 @@ function parseSecondMate(v) {
|
|
|
442
442
|
}
|
|
443
443
|
function parseSecondMates(v) {
|
|
444
444
|
if (!isObj$2(v)) return null;
|
|
445
|
-
const records2 = list$
|
|
445
|
+
const records2 = list$2(v.records, parseSecondMate);
|
|
446
446
|
return {
|
|
447
447
|
records: records2,
|
|
448
448
|
total: num$2(v.total) ?? records2.length,
|
|
@@ -807,7 +807,7 @@ function createScriptAdapter(install, opts = {}) {
|
|
|
807
807
|
...scriptEnv(opts.env ?? process.env),
|
|
808
808
|
FM_HOME: install.homeDir
|
|
809
809
|
};
|
|
810
|
-
async function run(name2, args, limits,
|
|
810
|
+
async function run(name2, args, limits, parse2) {
|
|
811
811
|
const file = scriptPath(install.firstmateDir, name2);
|
|
812
812
|
const observedAt = () => (/* @__PURE__ */ new Date()).toISOString();
|
|
813
813
|
if (!existsSync(file)) {
|
|
@@ -844,7 +844,7 @@ function createScriptAdapter(install, opts = {}) {
|
|
|
844
844
|
}
|
|
845
845
|
try {
|
|
846
846
|
const exitCode = r.ok ? 0 : r.code ?? 0;
|
|
847
|
-
const value =
|
|
847
|
+
const value = parse2({ stdout: r.stdout, exitCode });
|
|
848
848
|
return { ok: true, value, observedAt: observedAt(), durationMs: r.durationMs };
|
|
849
849
|
} catch (e) {
|
|
850
850
|
return {
|
|
@@ -933,7 +933,7 @@ function createScriptAdapter(install, opts = {}) {
|
|
|
933
933
|
return invalid("fm-peek.sh", "invalid second mate or task id");
|
|
934
934
|
}
|
|
935
935
|
const n = Math.min(PEEK_MAX_LINES, Math.max(1, Math.floor(lines) || PEEK_DEFAULT_LINES));
|
|
936
|
-
const
|
|
936
|
+
const parse2 = (r) => ({
|
|
937
937
|
lines: parsePeekOutput(r.stdout, n),
|
|
938
938
|
requested: n
|
|
939
939
|
});
|
|
@@ -942,7 +942,7 @@ function createScriptAdapter(install, opts = {}) {
|
|
|
942
942
|
"fm-on.sh",
|
|
943
943
|
[mate.id, "fm-peek.sh", taskId, String(n)],
|
|
944
944
|
{ timeoutMs: opts.remotePeekTimeoutMs ?? 2e4, maxOutputBytes: PEEK_MAX_BYTES },
|
|
945
|
-
|
|
945
|
+
parse2
|
|
946
946
|
);
|
|
947
947
|
}
|
|
948
948
|
return run(
|
|
@@ -954,7 +954,7 @@ function createScriptAdapter(install, opts = {}) {
|
|
|
954
954
|
tmux: crew(),
|
|
955
955
|
home: mate.home
|
|
956
956
|
},
|
|
957
|
-
|
|
957
|
+
parse2
|
|
958
958
|
);
|
|
959
959
|
},
|
|
960
960
|
mateNote: async (mate, requestId, body) => {
|
|
@@ -972,7 +972,7 @@ function createScriptAdapter(install, opts = {}) {
|
|
|
972
972
|
maxInputBytes: NOTE_MAX_BYTES,
|
|
973
973
|
okExitCodes: [NOTE_EXIT_UNANNOUNCED]
|
|
974
974
|
};
|
|
975
|
-
const
|
|
975
|
+
const parse2 = (r) => {
|
|
976
976
|
const n = parseInboxNote(r.stdout);
|
|
977
977
|
if (n.requestId !== null && n.requestId !== requestId) {
|
|
978
978
|
throw new ContractError(
|
|
@@ -981,7 +981,7 @@ function createScriptAdapter(install, opts = {}) {
|
|
|
981
981
|
}
|
|
982
982
|
return r.exitCode === NOTE_EXIT_UNANNOUNCED ? { ...n, announced: false } : n;
|
|
983
983
|
};
|
|
984
|
-
return mate.remote ? run("fm-on.sh", ["--stdin", mate.id, "fm-inbox.sh", ...note2], limits,
|
|
984
|
+
return mate.remote ? run("fm-on.sh", ["--stdin", mate.id, "fm-inbox.sh", ...note2], limits, parse2) : run("fm-inbox.sh", note2, { ...limits, home: mate.home }, parse2);
|
|
985
985
|
},
|
|
986
986
|
note: async (requestId, body) => {
|
|
987
987
|
const invalid2 = (message2) => ({
|
|
@@ -1578,9 +1578,9 @@ class Problems {
|
|
|
1578
1578
|
if (this.list.length < 50) this.list.push(where ? `${where}: ${message2}` : message2);
|
|
1579
1579
|
}
|
|
1580
1580
|
}
|
|
1581
|
-
function fields(p, where, o,
|
|
1581
|
+
function fields(p, where, o, allowed2) {
|
|
1582
1582
|
for (const k of Object.keys(o)) {
|
|
1583
|
-
if (!
|
|
1583
|
+
if (!allowed2.includes(k)) p.add(where, `unknown field '${k}'`);
|
|
1584
1584
|
}
|
|
1585
1585
|
}
|
|
1586
1586
|
function str$5(p, where, v, opts = {}) {
|
|
@@ -1689,7 +1689,7 @@ function cond(p, where, v, depth = 0) {
|
|
|
1689
1689
|
return void 0;
|
|
1690
1690
|
}
|
|
1691
1691
|
}
|
|
1692
|
-
function note(p, where, v) {
|
|
1692
|
+
function note$1(p, where, v) {
|
|
1693
1693
|
if (v === void 0) return void 0;
|
|
1694
1694
|
if (typeof v === "string") return str$5(p, where, v, { max: 1e3 });
|
|
1695
1695
|
if (!isObject(v)) {
|
|
@@ -2020,7 +2020,7 @@ function stage(p, where, v) {
|
|
|
2020
2020
|
})
|
|
2021
2021
|
);
|
|
2022
2022
|
set("give_up_after", duration(p, `${at}.give_up_after`, v.give_up_after, 6e4, MAX_GIVE_UP_MS));
|
|
2023
|
-
set("note", note(p, `${at}.note`, v.note));
|
|
2023
|
+
set("note", note$1(p, `${at}.note`, v.note));
|
|
2024
2024
|
return id ? s : void 0;
|
|
2025
2025
|
}
|
|
2026
2026
|
function validatePassage(doc, opts) {
|
|
@@ -3674,10 +3674,10 @@ function deriveTasks(snapshot, ctx) {
|
|
|
3674
3674
|
for (const { record: record2, orphan } of backlogOnly(snapshot)) {
|
|
3675
3675
|
tasks.push(deriveBacklogTask(record2, ctx, orphan));
|
|
3676
3676
|
}
|
|
3677
|
-
const
|
|
3677
|
+
const paths2 = /* @__PURE__ */ new Map();
|
|
3678
3678
|
for (const t of rows) {
|
|
3679
3679
|
const id = projectIdForTask(t, fmRoot);
|
|
3680
|
-
if (t.project && !
|
|
3680
|
+
if (t.project && !paths2.has(id)) paths2.set(id, t.project);
|
|
3681
3681
|
}
|
|
3682
3682
|
const registry = new Map(ctx.registry.map((r) => [r.name, r]));
|
|
3683
3683
|
const ids = [.../* @__PURE__ */ new Set([...tasks.map((t) => t.projectId), ...registry.keys()])];
|
|
@@ -3687,7 +3687,7 @@ function deriveTasks(snapshot, ctx) {
|
|
|
3687
3687
|
description: registry.get(id)?.description ?? (id === "firstmate" ? "Firstmate itself" : null),
|
|
3688
3688
|
posture: registry.get(id)?.posture ?? null,
|
|
3689
3689
|
registered: registry.has(id),
|
|
3690
|
-
path:
|
|
3690
|
+
path: paths2.get(id) ?? (registry.has(id) && fmRoot ? path.join(fmRoot, "projects", id) : null),
|
|
3691
3691
|
passage: null
|
|
3692
3692
|
})).sort(
|
|
3693
3693
|
(a, b) => a.id === UNASSIGNED ? 1 : b.id === UNASSIGNED ? -1 : a.name.localeCompare(b.name)
|
|
@@ -7309,9 +7309,146 @@ async function swapIn(target, tree, receipt, check2) {
|
|
|
7309
7309
|
if (!placed) await rm(stage2, { recursive: true, force: true });
|
|
7310
7310
|
}
|
|
7311
7311
|
}
|
|
7312
|
+
const BUILTIN_COMMANDS = [
|
|
7313
|
+
{ name: "compact", description: "Summarise the conversation to free up room", source: "builtin" },
|
|
7314
|
+
{ name: "clear", description: "Start a fresh conversation", source: "builtin" },
|
|
7315
|
+
{ name: "context", description: "Show how full the conversation is", source: "builtin" }
|
|
7316
|
+
];
|
|
7317
|
+
const NAME = /^[a-z0-9][a-z0-9_.:-]{0,127}$/i;
|
|
7318
|
+
const MAX_DESCRIPTION = 110;
|
|
7319
|
+
function shortDescription(text2) {
|
|
7320
|
+
const flat = String(text2 ?? "").replace(/\s+/g, " ").trim();
|
|
7321
|
+
const sentence = flat.match(/^.*?[.!?](?=\s|$)/)?.[0] ?? flat;
|
|
7322
|
+
return sentence.length > MAX_DESCRIPTION ? `${sentence.slice(0, MAX_DESCRIPTION - 1).trimEnd()}…` : sentence;
|
|
7323
|
+
}
|
|
7324
|
+
function frontMatter(text2) {
|
|
7325
|
+
const m = text2.match(/^---\r?\n([\s\S]*?)\r?\n---(?:\r?\n|$)/);
|
|
7326
|
+
if (!m) return null;
|
|
7327
|
+
try {
|
|
7328
|
+
const v = parse(m[1]);
|
|
7329
|
+
return v && typeof v === "object" && !Array.isArray(v) ? v : null;
|
|
7330
|
+
} catch {
|
|
7331
|
+
return null;
|
|
7332
|
+
}
|
|
7333
|
+
}
|
|
7334
|
+
function userInvocable(fm) {
|
|
7335
|
+
const flag = fm["user-invocable"] ?? fm.user_invocable;
|
|
7336
|
+
return flag !== false && flag !== "false";
|
|
7337
|
+
}
|
|
7338
|
+
async function list$1(dir) {
|
|
7339
|
+
try {
|
|
7340
|
+
return (await readdir(dir)).sort();
|
|
7341
|
+
} catch {
|
|
7342
|
+
return [];
|
|
7343
|
+
}
|
|
7344
|
+
}
|
|
7345
|
+
async function skillIn(dir, origin, prefix) {
|
|
7346
|
+
try {
|
|
7347
|
+
const fm = frontMatter(await readFile(path.join(dir, "SKILL.md"), "utf8")) ?? {};
|
|
7348
|
+
if (!userInvocable(fm)) return null;
|
|
7349
|
+
const own = typeof fm.name === "string" && fm.name.trim() ? fm.name.trim() : path.basename(dir);
|
|
7350
|
+
const name2 = prefix + own;
|
|
7351
|
+
return NAME.test(name2) ? { name: name2, description: shortDescription(fm.description), ...origin } : null;
|
|
7352
|
+
} catch {
|
|
7353
|
+
return null;
|
|
7354
|
+
}
|
|
7355
|
+
}
|
|
7356
|
+
async function skills(dir, origin, prefix = "") {
|
|
7357
|
+
const own = await skillIn(dir, origin, prefix);
|
|
7358
|
+
if (own) return [own];
|
|
7359
|
+
const out = [];
|
|
7360
|
+
for (const n of await list$1(dir)) {
|
|
7361
|
+
const skill = await skillIn(path.join(dir, n), origin, prefix);
|
|
7362
|
+
if (skill) out.push(skill);
|
|
7363
|
+
}
|
|
7364
|
+
return out;
|
|
7365
|
+
}
|
|
7366
|
+
async function commandFiles(dir, origin, prefix = "") {
|
|
7367
|
+
const out = [];
|
|
7368
|
+
for (const f of await list$1(dir)) {
|
|
7369
|
+
if (!f.endsWith(".md")) continue;
|
|
7370
|
+
const name2 = prefix + f.slice(0, -3);
|
|
7371
|
+
if (!NAME.test(name2)) continue;
|
|
7372
|
+
try {
|
|
7373
|
+
const text2 = await readFile(path.join(dir, f), "utf8");
|
|
7374
|
+
const fm = frontMatter(text2);
|
|
7375
|
+
if (fm && !userInvocable(fm)) continue;
|
|
7376
|
+
const body = text2.replace(/^---[\s\S]*?---\s*/, "");
|
|
7377
|
+
out.push({
|
|
7378
|
+
name: name2,
|
|
7379
|
+
description: shortDescription(fm?.description ?? body.split("\n").find((l) => l.trim())),
|
|
7380
|
+
...origin
|
|
7381
|
+
});
|
|
7382
|
+
} catch {
|
|
7383
|
+
}
|
|
7384
|
+
}
|
|
7385
|
+
return out;
|
|
7386
|
+
}
|
|
7387
|
+
async function readJson$2(file) {
|
|
7388
|
+
try {
|
|
7389
|
+
const v = JSON.parse(await readFile(file, "utf8"));
|
|
7390
|
+
return v && typeof v === "object" && !Array.isArray(v) ? v : null;
|
|
7391
|
+
} catch {
|
|
7392
|
+
return null;
|
|
7393
|
+
}
|
|
7394
|
+
}
|
|
7395
|
+
const record$1 = (v) => v && typeof v === "object" && !Array.isArray(v) ? v : {};
|
|
7396
|
+
const paths = (v) => (Array.isArray(v) ? v : [v]).filter((p) => typeof p === "string" && !!p);
|
|
7397
|
+
async function pluginCommands(configDir, firstmateDir) {
|
|
7398
|
+
const enabled = {};
|
|
7399
|
+
for (const file of [
|
|
7400
|
+
path.join(configDir, "settings.json"),
|
|
7401
|
+
path.join(firstmateDir, ".claude", "settings.json"),
|
|
7402
|
+
path.join(firstmateDir, ".claude", "settings.local.json")
|
|
7403
|
+
]) {
|
|
7404
|
+
Object.assign(enabled, record$1((await readJson$2(file))?.enabledPlugins));
|
|
7405
|
+
}
|
|
7406
|
+
const installed = record$1(
|
|
7407
|
+
(await readJson$2(path.join(configDir, "plugins", "installed_plugins.json")))?.plugins
|
|
7408
|
+
);
|
|
7409
|
+
const root = path.resolve(firstmateDir);
|
|
7410
|
+
const out = [];
|
|
7411
|
+
for (const [key, entries] of Object.entries(installed)) {
|
|
7412
|
+
if (enabled[key] !== true || !Array.isArray(entries)) continue;
|
|
7413
|
+
const install = entries.map(record$1).find(
|
|
7414
|
+
(e) => typeof e.installPath === "string" && (e.scope === "user" || typeof e.projectPath === "string" && path.resolve(e.projectPath) === root)
|
|
7415
|
+
)?.installPath;
|
|
7416
|
+
if (!install) continue;
|
|
7417
|
+
const manifest = await readJson$2(path.join(install, ".claude-plugin", "plugin.json"));
|
|
7418
|
+
const plugin = typeof manifest?.name === "string" && manifest.name ? manifest.name : key.split("@")[0];
|
|
7419
|
+
const origin = { source: "plugin", plugin };
|
|
7420
|
+
const prefix = `${plugin}:`;
|
|
7421
|
+
const within2 = (p) => path.resolve(install, p);
|
|
7422
|
+
for (const dir of new Set(["skills", ...paths(manifest?.skills)].map(within2))) {
|
|
7423
|
+
out.push(...await skills(dir, origin, prefix));
|
|
7424
|
+
}
|
|
7425
|
+
for (const dir of new Set(["commands", ...paths(manifest?.commands)].map(within2))) {
|
|
7426
|
+
out.push(...await commandFiles(dir, origin, prefix));
|
|
7427
|
+
}
|
|
7428
|
+
}
|
|
7429
|
+
return out;
|
|
7430
|
+
}
|
|
7431
|
+
const claudeConfigDir = (env) => env.CLAUDE_CONFIG_DIR || path.join(env.HOME || homedir(), ".claude");
|
|
7432
|
+
async function slashCommands(firstmateDir, env = process.env) {
|
|
7433
|
+
const config = claudeConfigDir(env);
|
|
7434
|
+
const firstmate = { source: "firstmate" };
|
|
7435
|
+
const personal = { source: "personal" };
|
|
7436
|
+
const ranked = [
|
|
7437
|
+
...await skills(path.join(config, "skills"), personal),
|
|
7438
|
+
...await skills(path.join(firstmateDir, ".claude", "skills"), firstmate),
|
|
7439
|
+
...await skills(path.join(firstmateDir, ".agents", "skills"), firstmate),
|
|
7440
|
+
...await commandFiles(path.join(config, "commands"), personal),
|
|
7441
|
+
...await commandFiles(path.join(firstmateDir, ".claude", "commands"), firstmate),
|
|
7442
|
+
...BUILTIN_COMMANDS,
|
|
7443
|
+
...await pluginCommands(config, firstmateDir)
|
|
7444
|
+
];
|
|
7445
|
+
const seen = /* @__PURE__ */ new Set();
|
|
7446
|
+
const kept = ranked.filter((c) => !seen.has(c.name) && seen.add(c.name));
|
|
7447
|
+
const order = (c) => c.source === "firstmate" ? 0 : c.source === "personal" ? 1 : c.source === "plugin" ? 2 : 3;
|
|
7448
|
+
return kept.map((c, i) => ({ c, i })).sort((a, b) => order(a.c) - order(b.c) || a.i - b.i).map(({ c }) => c);
|
|
7449
|
+
}
|
|
7312
7450
|
function skillRootDir(root, env) {
|
|
7313
|
-
|
|
7314
|
-
return root === "claude" ? path.resolve(env.CLAUDE_CONFIG_DIR || path.join(home, ".claude"), "skills") : path.resolve(home, ".agents", "skills");
|
|
7451
|
+
return root === "claude" ? path.resolve(claudeConfigDir(env), "skills") : path.resolve(env.HOME || homedir(), ".agents", "skills");
|
|
7315
7452
|
}
|
|
7316
7453
|
const rootsFor = (harness) => harness === "claude" ? ["claude"] : ["claude", "agents"];
|
|
7317
7454
|
const skillId = (name2, root) => `skill:${name2}@${root}`;
|
|
@@ -9261,16 +9398,16 @@ class BuildReader {
|
|
|
9261
9398
|
worktree: c.worktree,
|
|
9262
9399
|
dispatchedAt: c.ledger?.dispatched?.ts ?? null
|
|
9263
9400
|
});
|
|
9264
|
-
const
|
|
9401
|
+
const paths2 = [.../* @__PURE__ */ new Set([...changed.keys(), ...touched.map((t) => t.path)])].slice(
|
|
9265
9402
|
0,
|
|
9266
9403
|
MAX_DOCS
|
|
9267
9404
|
);
|
|
9268
|
-
if (!
|
|
9405
|
+
if (!paths2.length && !c.files.available && !pr)
|
|
9269
9406
|
return { available: false, reason: c.files.reason };
|
|
9270
9407
|
const repo = githubRepo(c.task.pr?.url ?? null);
|
|
9271
9408
|
const landed = c.task.status === "landed" || !!c.task.mergedAt;
|
|
9272
9409
|
const refs = await Promise.all(
|
|
9273
|
-
|
|
9410
|
+
paths2.map(async (p) => {
|
|
9274
9411
|
const t = touched.find((x) => x.path === p);
|
|
9275
9412
|
const ch = changed.get(p);
|
|
9276
9413
|
return {
|
|
@@ -10044,9 +10181,12 @@ class ShipsBell {
|
|
|
10044
10181
|
this.raise(raised);
|
|
10045
10182
|
return raised;
|
|
10046
10183
|
}
|
|
10047
|
-
/**
|
|
10184
|
+
/**
|
|
10185
|
+
* Look at the Firstmate session: a new menu, sign-in or terminal screen
|
|
10186
|
+
* waiting on the captain rings; one that left is settled.
|
|
10187
|
+
*/
|
|
10048
10188
|
observeSession(view) {
|
|
10049
|
-
const draft =
|
|
10189
|
+
const draft = sessionWaitAlert(view);
|
|
10050
10190
|
const asked = this.asking;
|
|
10051
10191
|
if (asked && asked !== draft?.id) {
|
|
10052
10192
|
this.seen.delete(asked);
|
|
@@ -12690,11 +12830,11 @@ function usableRoots(dirs, userHome = os.homedir()) {
|
|
|
12690
12830
|
}
|
|
12691
12831
|
return [...out];
|
|
12692
12832
|
}
|
|
12693
|
-
async function locate(input, r,
|
|
12833
|
+
async function locate(input, r, allowed2) {
|
|
12694
12834
|
const p = input.trim();
|
|
12695
12835
|
if (!p || p.length > MAX_PATH || p.includes("\0")) return refuse(400, "No file was named.");
|
|
12696
12836
|
const named = path.isAbsolute(p) ? path.resolve(p) : path.resolve(r.home, p);
|
|
12697
|
-
if (!
|
|
12837
|
+
if (!allowed2(named)) return refuse(415, "Wheelhouse does not show that kind of file.");
|
|
12698
12838
|
const outside = refuse(403, "That file is outside the folders Wheelhouse may read.");
|
|
12699
12839
|
const realRoots = await Promise.all(r.roots.map((root) => realpath(root).catch(() => null)));
|
|
12700
12840
|
const asWritten = [...r.roots.map((root) => path.resolve(root)), ...realRoots];
|
|
@@ -12702,7 +12842,7 @@ async function locate(input, r, allowed) {
|
|
|
12702
12842
|
const real2 = await realpath(named).catch(() => null);
|
|
12703
12843
|
if (!real2) return refuse(404, "There is no such file.");
|
|
12704
12844
|
if (!realRoots.some((root) => root && inside(real2, root))) return outside;
|
|
12705
|
-
if (!
|
|
12845
|
+
if (!allowed2(real2)) return refuse(415, "Wheelhouse does not show that kind of file.");
|
|
12706
12846
|
const st = await stat(real2).catch(() => null);
|
|
12707
12847
|
if (!st?.isFile()) return refuse(404, "There is no such file.");
|
|
12708
12848
|
return { ok: true, file: real2 };
|
|
@@ -18088,6 +18228,106 @@ function pickerKeys(picker, action) {
|
|
|
18088
18228
|
const k = picker.submitMoves;
|
|
18089
18229
|
return [...Array(Math.abs(k)).fill(k > 0 ? "Down" : "Up"), "Enter"];
|
|
18090
18230
|
}
|
|
18231
|
+
const SIGN_IN_HOSTS = ["claude.ai", "claude.com", "anthropic.com", "openai.com", "chatgpt.com"];
|
|
18232
|
+
const URL_START = /^\s*(https:\/\/\S+)\s*$/;
|
|
18233
|
+
const URL_PART = /^\s*([A-Za-z0-9\-._~:/?#[\]@!$&'()*+,;=%]+)\s*$/;
|
|
18234
|
+
const CLAUDE_PASTE = /^\s*Paste code here if prompted\s*>(.*)$/;
|
|
18235
|
+
const PI_ASK = /\bpaste the authorization code\b/i;
|
|
18236
|
+
const PI_FIELD = /^\s*>(.*)$/;
|
|
18237
|
+
const CODEX_WAIT = /^\s*Finish signing in via your browser\s*$/;
|
|
18238
|
+
const ESC_CANCEL = /\besc to cancel\b/i;
|
|
18239
|
+
const DEVICE_CODE = /^\s*([A-Z0-9]{4,}-[A-Z0-9]{4,})\s*$/;
|
|
18240
|
+
const ANOTHER_MACHINE = /\b(remote|headless|another machine)\b/i;
|
|
18241
|
+
const MAX_URL = 4096;
|
|
18242
|
+
function readSignIn(screen) {
|
|
18243
|
+
if (!screen) return null;
|
|
18244
|
+
const lines = screen.replace(/\r/g, "").split("\n");
|
|
18245
|
+
let last = lines.length - 1;
|
|
18246
|
+
while (last >= 0 && !lines[last].trim()) last--;
|
|
18247
|
+
if (last < 0) return null;
|
|
18248
|
+
let paste = false;
|
|
18249
|
+
let typed = "";
|
|
18250
|
+
let end = -1;
|
|
18251
|
+
const claude = CLAUDE_PASTE.exec(lines[last]);
|
|
18252
|
+
if (claude) {
|
|
18253
|
+
paste = true;
|
|
18254
|
+
typed = claude[1].trim();
|
|
18255
|
+
end = last;
|
|
18256
|
+
} else if ((end = piAsk(lines, last)) >= 0) {
|
|
18257
|
+
paste = true;
|
|
18258
|
+
let field = end + 1;
|
|
18259
|
+
while (!lines[field].trim()) field++;
|
|
18260
|
+
typed = PI_FIELD.exec(lines[field])[1].trim();
|
|
18261
|
+
} else if (ESC_CANCEL.test(lines[last]) && lines.some((l) => CODEX_WAIT.test(l))) {
|
|
18262
|
+
end = last;
|
|
18263
|
+
} else {
|
|
18264
|
+
return null;
|
|
18265
|
+
}
|
|
18266
|
+
const start = lines.findLastIndex((l, i) => i < end && URL_START.test(l));
|
|
18267
|
+
if (start < 0) return null;
|
|
18268
|
+
let url = URL_START.exec(lines[start])[1];
|
|
18269
|
+
let after = start + 1;
|
|
18270
|
+
for (; after < end && lines[after].trim(); after++) {
|
|
18271
|
+
const part = URL_PART.exec(lines[after]);
|
|
18272
|
+
if (!part) break;
|
|
18273
|
+
url += part[1];
|
|
18274
|
+
}
|
|
18275
|
+
if (!allowed(url)) return null;
|
|
18276
|
+
const code = paste ? null : lines.slice(after, end).map((l) => DEVICE_CODE.exec(l)?.[1]).find(Boolean) ?? null;
|
|
18277
|
+
const signature = createHash("sha256").update(JSON.stringify([url, code, paste])).digest("hex").slice(0, 16);
|
|
18278
|
+
return { signIn: { url, code, paste, note: note(lines, start, end), signature }, typed };
|
|
18279
|
+
}
|
|
18280
|
+
function allowed(url) {
|
|
18281
|
+
if (url.length > MAX_URL) return false;
|
|
18282
|
+
try {
|
|
18283
|
+
const u = new URL(url);
|
|
18284
|
+
const host = u.hostname.toLowerCase();
|
|
18285
|
+
return u.protocol === "https:" && !u.username && !u.password && SIGN_IN_HOSTS.some((h) => host === h || host.endsWith(`.${h}`));
|
|
18286
|
+
} catch {
|
|
18287
|
+
return false;
|
|
18288
|
+
}
|
|
18289
|
+
}
|
|
18290
|
+
function piAsk(lines, last) {
|
|
18291
|
+
for (let i = last, seen = 0; i >= 0 && seen < 8; i--) {
|
|
18292
|
+
if (!lines[i].trim()) continue;
|
|
18293
|
+
seen++;
|
|
18294
|
+
if (!PI_ASK.test(lines[i])) continue;
|
|
18295
|
+
let field = i + 1;
|
|
18296
|
+
while (field <= last && !lines[field].trim()) field++;
|
|
18297
|
+
return field <= last && PI_FIELD.test(lines[field]) ? i : -1;
|
|
18298
|
+
}
|
|
18299
|
+
return -1;
|
|
18300
|
+
}
|
|
18301
|
+
function note(lines, start, end) {
|
|
18302
|
+
const at = lines.findIndex((l, i) => i > start && i < end && ANOTHER_MACHINE.test(l));
|
|
18303
|
+
if (at < 0) return null;
|
|
18304
|
+
let top = at;
|
|
18305
|
+
while (top > start + 1 && lines[top - 1].trim()) top--;
|
|
18306
|
+
let bottom = at;
|
|
18307
|
+
while (bottom + 1 < end && lines[bottom + 1].trim()) bottom++;
|
|
18308
|
+
return lines.slice(top, bottom + 1).map((l) => l.trim()).join(" ");
|
|
18309
|
+
}
|
|
18310
|
+
const RULE = /^\s*─{8,}\s*$/;
|
|
18311
|
+
const BOX_TOP = /^\s*╭─{8,}/;
|
|
18312
|
+
const PROMPT_ROW = /^\s*(?:[❯>!](?:\s|$)|│\s*>(?:\s|$))/;
|
|
18313
|
+
function atClaudePrompt(screen) {
|
|
18314
|
+
const lines = screen.replace(/\r/g, "").split("\n");
|
|
18315
|
+
for (let i = lines.length - 1; i > 0; i--) {
|
|
18316
|
+
if (!PROMPT_ROW.test(lines[i])) continue;
|
|
18317
|
+
let above = i - 1;
|
|
18318
|
+
while (above >= 0 && !lines[above].trim()) above--;
|
|
18319
|
+
if (above < 0 || !(RULE.test(lines[above]) || BOX_TOP.test(lines[above]))) continue;
|
|
18320
|
+
if (lines.slice(i + 1).some((l) => RULE.test(l) || /^\s*╰─{8,}/.test(l))) return true;
|
|
18321
|
+
}
|
|
18322
|
+
return false;
|
|
18323
|
+
}
|
|
18324
|
+
const DRAWING = /^[\s─━▔╌═│┃╭╮╰╯░▒▓█▄▀.*]*$/;
|
|
18325
|
+
function terminalExcerpt(screen) {
|
|
18326
|
+
return screen.replace(/\r/g, "").split("\n").filter((l) => l.trim() && !DRAWING.test(l)).slice(-3).map((l) => {
|
|
18327
|
+
const t = l.trim();
|
|
18328
|
+
return t.length > 160 ? `${t.slice(0, 159)}…` : t;
|
|
18329
|
+
}).join("\n");
|
|
18330
|
+
}
|
|
18091
18331
|
const TRUST_FLAG = "hasTrustDialogAccepted";
|
|
18092
18332
|
const ATTEMPTS = 3;
|
|
18093
18333
|
function claudeStore(env) {
|
|
@@ -18709,10 +18949,7 @@ const PEEK_BYTES = 64 * 1024;
|
|
|
18709
18949
|
const MAX_TOOL_CALLS = 1e3;
|
|
18710
18950
|
const MAX_TOOL_RESULT_BYTES = 2 * 1024 * 1024;
|
|
18711
18951
|
function projectsDir(env) {
|
|
18712
|
-
return path.join(
|
|
18713
|
-
env.CLAUDE_CONFIG_DIR || path.join(env.HOME || os.homedir(), ".claude"),
|
|
18714
|
-
"projects"
|
|
18715
|
-
);
|
|
18952
|
+
return path.join(claudeConfigDir(env), "projects");
|
|
18716
18953
|
}
|
|
18717
18954
|
async function exists(file) {
|
|
18718
18955
|
try {
|
|
@@ -19597,6 +19834,9 @@ const MENU_SETTLE_MS = 400;
|
|
|
19597
19834
|
const MENU_REDRAW_WAITS = 5;
|
|
19598
19835
|
const menuPart = (text2) => text2?.slice(Math.max(0, text2.lastIndexOf("▔"))) ?? null;
|
|
19599
19836
|
const MENU_OPEN = "A Claude Code menu is open in Firstmate’s session, so nothing was typed. Answer or close it, then send again.";
|
|
19837
|
+
const IN_TERMINAL = "Firstmate is waiting for you in its terminal, so nothing was typed. Open the terminal and answer it there, then send again.";
|
|
19838
|
+
const TERMINAL_SETTLE_MS = 1500;
|
|
19839
|
+
const SIGN_IN_MAX_BYTES = 4096;
|
|
19600
19840
|
function sessionSettings(hookFile, skipPermissions) {
|
|
19601
19841
|
const tmp = `${hookFile}.tmp`;
|
|
19602
19842
|
const command = `cat > ${shellLine([tmp])} && mv -f ${shellLine([tmp])} ${shellLine([hookFile])}`;
|
|
@@ -19714,6 +19954,9 @@ class FirstmateSession {
|
|
|
19714
19954
|
/** Why the backend choice could not be used (the runtime fell back to tmux), or null. */
|
|
19715
19955
|
backendProblem;
|
|
19716
19956
|
sleep;
|
|
19957
|
+
now;
|
|
19958
|
+
/** Since when the session's screen has been one the chat cannot read or drive, or null. */
|
|
19959
|
+
unreadSince = null;
|
|
19717
19960
|
starting = null;
|
|
19718
19961
|
/** One input at a time, in order, so two messages never interleave in the paste buffer. */
|
|
19719
19962
|
queue = Promise.resolve();
|
|
@@ -19745,6 +19988,7 @@ class FirstmateSession {
|
|
|
19745
19988
|
this.backendProblem = opts.backendProblem ?? null;
|
|
19746
19989
|
this.piProvider = opts.piProvider ?? (() => null);
|
|
19747
19990
|
this.sleep = opts.sleep ?? ((ms) => new Promise((r) => setTimeout(r, ms)));
|
|
19991
|
+
this.now = opts.now ?? Date.now;
|
|
19748
19992
|
}
|
|
19749
19993
|
/** Why Wheelhouse cannot start or talk to a session here, or null. */
|
|
19750
19994
|
unavailable(requireHarness = true) {
|
|
@@ -19836,39 +20080,77 @@ class FirstmateSession {
|
|
|
19836
20080
|
/**
|
|
19837
20081
|
* What the screen says: a menu Claude Code waits on (as choices when it has
|
|
19838
20082
|
* numbered ones), and whether it is busy (it shows "esc to interrupt" while
|
|
19839
|
-
* working, before anything reaches the transcript).
|
|
20083
|
+
* working, before anything reaches the transcript). A screen it cannot read
|
|
20084
|
+
* counts as waiting in the terminal once it has stayed, or at once when
|
|
20085
|
+
* `settled` (before typing, where a screen caught halfway must not be typed into).
|
|
19840
20086
|
*/
|
|
19841
|
-
async onScreen() {
|
|
20087
|
+
async onScreen(settled2 = false) {
|
|
19842
20088
|
if (this.activeHarness === "opencode") {
|
|
19843
20089
|
try {
|
|
19844
|
-
if (this.openCode)
|
|
20090
|
+
if (this.openCode) {
|
|
20091
|
+
const status2 = await openCodeStatus(this.openCode);
|
|
20092
|
+
this.unreadSince = null;
|
|
20093
|
+
return status2;
|
|
20094
|
+
}
|
|
19845
20095
|
} catch {
|
|
19846
20096
|
}
|
|
19847
|
-
return
|
|
19848
|
-
|
|
19849
|
-
|
|
19850
|
-
title: "OpenCode’s session API is not ready. Retry shortly or open its terminal.",
|
|
19851
|
-
canDismiss: false
|
|
19852
|
-
},
|
|
19853
|
-
busy: false
|
|
19854
|
-
};
|
|
20097
|
+
return this.blocked(
|
|
20098
|
+
"OpenCode’s session API is not ready. Retry shortly or open its terminal."
|
|
20099
|
+
);
|
|
19855
20100
|
}
|
|
19856
20101
|
if (this.activeHarness === "codex" || this.activeHarness === "pi" || this.activeHarness === "grok") {
|
|
19857
20102
|
const text22 = await this.screen().catch(() => null);
|
|
19858
|
-
const
|
|
20103
|
+
const signIn2 = readSignIn(text22)?.signIn ?? null;
|
|
20104
|
+
if (signIn2) {
|
|
20105
|
+
this.unreadSince = null;
|
|
20106
|
+
return { picker: null, menu: null, busy: false, signIn: signIn2 };
|
|
20107
|
+
}
|
|
20108
|
+
const shown2 = this.activeHarness === "codex" ? codexScreen(text22) : this.activeHarness === "pi" ? piScreen(text22) : grokScreen(text22);
|
|
20109
|
+
if (shown2.kind === "blocked" && text22?.trim()) return this.blocked(shown2.title);
|
|
20110
|
+
this.unreadSince = null;
|
|
19859
20111
|
return {
|
|
19860
|
-
picker:
|
|
19861
|
-
menu:
|
|
19862
|
-
busy:
|
|
20112
|
+
picker: shown2.kind === "picker" ? shown2.picker : null,
|
|
20113
|
+
menu: shown2.kind === "blocked" ? { title: shown2.title, canDismiss: false } : null,
|
|
20114
|
+
busy: shown2.kind === "prompt" && shown2.busy
|
|
19863
20115
|
};
|
|
19864
20116
|
}
|
|
19865
20117
|
if (this.activeHarness !== "claude") return { picker: null, menu: null, busy: false };
|
|
19866
20118
|
const text2 = await this.screen().catch(() => null);
|
|
19867
20119
|
if (text2 === null) return { picker: null, menu: null, busy: false };
|
|
19868
|
-
|
|
20120
|
+
const signIn = readSignIn(text2)?.signIn ?? null;
|
|
20121
|
+
if (signIn) {
|
|
20122
|
+
this.unreadSince = null;
|
|
20123
|
+
return { picker: null, menu: null, busy: false, signIn, terminal: null };
|
|
20124
|
+
}
|
|
20125
|
+
const shown = {
|
|
19869
20126
|
picker: parsePicker(text2),
|
|
19870
20127
|
menu: parseMenu(text2),
|
|
19871
|
-
busy: /\besc to interrupt\b/i.test(text2)
|
|
20128
|
+
busy: /\besc to interrupt\b/i.test(text2),
|
|
20129
|
+
signIn: null,
|
|
20130
|
+
terminal: null
|
|
20131
|
+
};
|
|
20132
|
+
if (shown.picker || shown.menu || !text2.trim() || atClaudePrompt(text2)) {
|
|
20133
|
+
this.unreadSince = null;
|
|
20134
|
+
} else {
|
|
20135
|
+
const now = this.now();
|
|
20136
|
+
this.unreadSince ??= now;
|
|
20137
|
+
if (now - this.unreadSince >= TERMINAL_SETTLE_MS || settled2)
|
|
20138
|
+
shown.terminal = { excerpt: terminalExcerpt(text2) };
|
|
20139
|
+
}
|
|
20140
|
+
return shown;
|
|
20141
|
+
}
|
|
20142
|
+
/**
|
|
20143
|
+
* Another harness's dialog the chat cannot drive: a menu it cannot close,
|
|
20144
|
+
* which counts as waiting in the terminal once it has stayed.
|
|
20145
|
+
*/
|
|
20146
|
+
blocked(title) {
|
|
20147
|
+
const now = this.now();
|
|
20148
|
+
this.unreadSince ??= now;
|
|
20149
|
+
return {
|
|
20150
|
+
picker: null,
|
|
20151
|
+
menu: { title, canDismiss: false },
|
|
20152
|
+
busy: false,
|
|
20153
|
+
terminal: now - this.unreadSince >= TERMINAL_SETTLE_MS ? { excerpt: title } : null
|
|
19872
20154
|
};
|
|
19873
20155
|
}
|
|
19874
20156
|
/** Where the Firstmate session stands, as the page shows it. */
|
|
@@ -19876,6 +20158,7 @@ class FirstmateSession {
|
|
|
19876
20158
|
const reason = this.unavailable();
|
|
19877
20159
|
const ours = this.unavailable(false) ? null : await this.running();
|
|
19878
20160
|
if (ours) return this.view("ours", null, await this.onScreen());
|
|
20161
|
+
this.unreadSince = null;
|
|
19879
20162
|
const lock = await this.lock();
|
|
19880
20163
|
if (lock === "held") {
|
|
19881
20164
|
return this.view(
|
|
@@ -19982,6 +20265,7 @@ class FirstmateSession {
|
|
|
19982
20265
|
}
|
|
19983
20266
|
const r = await this.backend.start(launchSpec(launch));
|
|
19984
20267
|
if (!r.ok) return this.view("unavailable", r.error);
|
|
20268
|
+
this.unreadSince = null;
|
|
19985
20269
|
this.activeHarness = this.harness;
|
|
19986
20270
|
this.nativeRecorder = this.harness === "codex" || this.harness === "pi";
|
|
19987
20271
|
this.nativeNonce = this.nativeRecorder ? nonce : null;
|
|
@@ -20066,13 +20350,20 @@ class FirstmateSession {
|
|
|
20066
20350
|
};
|
|
20067
20351
|
if (this.activeHarness === "opencode")
|
|
20068
20352
|
return this.openCodeAction((connection) => sendOpenCode(connection, body));
|
|
20069
|
-
const shown = await this.onScreen();
|
|
20353
|
+
const shown = await this.onScreen(true);
|
|
20070
20354
|
if (shown.picker || shown.menu)
|
|
20071
20355
|
return {
|
|
20072
20356
|
ok: false,
|
|
20073
20357
|
status: 409,
|
|
20074
20358
|
error: this.activeHarness !== "claude" ? `${this.activeHarness} is waiting for attention. Answer the choice or open its terminal before sending.` : MENU_OPEN
|
|
20075
20359
|
};
|
|
20360
|
+
if (shown.signIn)
|
|
20361
|
+
return {
|
|
20362
|
+
ok: false,
|
|
20363
|
+
status: 409,
|
|
20364
|
+
error: `${HARNESS_NAMES[this.activeHarness]} is waiting for you to sign in, so nothing was typed. Sign in with the card above, then send again.`
|
|
20365
|
+
};
|
|
20366
|
+
if (shown.terminal) return { ok: false, status: 409, error: IN_TERMINAL };
|
|
20076
20367
|
const paste = await this.backend.paste(body);
|
|
20077
20368
|
if (!paste.ok) return { ok: false, status: 500, error: paste.error };
|
|
20078
20369
|
await this.sleep(PASTE_SETTLE_MS);
|
|
@@ -20146,6 +20437,40 @@ class FirstmateSession {
|
|
|
20146
20437
|
return this.keys(keys);
|
|
20147
20438
|
});
|
|
20148
20439
|
}
|
|
20440
|
+
/**
|
|
20441
|
+
* Type the code the captain brought back from the sign-in page into the
|
|
20442
|
+
* harness's sign-in field, and submit it. `signature` names the sign-in the
|
|
20443
|
+
* page showed; if the screen now shows another (or none), or its field
|
|
20444
|
+
* already holds something, nothing is typed.
|
|
20445
|
+
*/
|
|
20446
|
+
signIn(signature, code) {
|
|
20447
|
+
return this.serial(async () => {
|
|
20448
|
+
const body = code.trim();
|
|
20449
|
+
if (!body || new RegExp("\\p{Cc}", "u").test(body) || Buffer.byteLength(body) > SIGN_IN_MAX_BYTES)
|
|
20450
|
+
return { ok: false, status: 400, error: "Paste the code the sign-in page gave you." };
|
|
20451
|
+
const refused = await this.ours();
|
|
20452
|
+
if (refused) return refused;
|
|
20453
|
+
if (this.activeHarness === "opencode")
|
|
20454
|
+
return { ok: false, status: 409, error: "Sign in to OpenCode in its terminal." };
|
|
20455
|
+
const now = readSignIn(await this.screen().catch(() => null));
|
|
20456
|
+
if (!now || now.signIn.signature !== signature || !now.signIn.paste)
|
|
20457
|
+
return {
|
|
20458
|
+
ok: false,
|
|
20459
|
+
status: 409,
|
|
20460
|
+
error: "That sign-in is no longer on Firstmate’s screen."
|
|
20461
|
+
};
|
|
20462
|
+
if (now.typed)
|
|
20463
|
+
return {
|
|
20464
|
+
ok: false,
|
|
20465
|
+
status: 409,
|
|
20466
|
+
error: "Something is already typed into the sign-in field. Clear it in Firstmate’s terminal, then try again."
|
|
20467
|
+
};
|
|
20468
|
+
const paste = await this.backend.paste(body);
|
|
20469
|
+
if (!paste.ok) return { ok: false, status: 500, error: paste.error };
|
|
20470
|
+
await this.sleep(PASTE_SETTLE_MS);
|
|
20471
|
+
return this.keys(["Enter"]);
|
|
20472
|
+
});
|
|
20473
|
+
}
|
|
20149
20474
|
/**
|
|
20150
20475
|
* Close the menu one of Claude Code's commands opened (such as /mcp):
|
|
20151
20476
|
* Escape, as often as it takes to back out of its nested screens. After each
|
|
@@ -21761,5 +22086,5 @@ const runtime = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
21761
22086
|
upgradeRuntime
|
|
21762
22087
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
21763
22088
|
|
|
21764
|
-
export {
|
|
21765
|
-
//# sourceMappingURL=runtime.js-
|
|
22089
|
+
export { looksLikeFirstmate as $, parseMateTaskId as A, BUILTIN_COMMANDS as B, validateSend as C, isReactionId as D, currentGateway as E, currentPlugins as F, GATEWAY_CHANNELS as G, currentPluginPage as H, INPUT_MAX_BYTES as I, watchSettingsError as J, changePluginConfig as K, LOOPBACK_HOST as L, MAX_CHAT_CALLS as M, runBounded as N, which as O, pluginIconFile as P, pluginUiFile as Q, REQUEST_ID$1 as R, chooseRoleProvider as S, previewProber as T, PROJECT_ID as U, MAX_FILE_BYTES$1 as V, WATCH_PLUGIN as W, PEEK_DEFAULT_LINES as X, pluginService as Y, setupRefuses as Z, findFirstmateDir as _, readAnswers as a, SETUP_SUGGESTIONS as a0, detectPlatform as a1, npmWritable as a2, remedy as a3, resolveSessionBackend as a4, readSavedBackend as a5, checkHerdr as a6, HERDR_MIN_VERSION as a7, DEFAULT_HERDR_SESSION as a8, writeSavedBackend as a9, MAX_VALUE_BYTES as aA, currentDecisions as aB, readDoc as aC, currentTime as aD, runtime as aE, syncForServer as aa, writeRemembered as ab, reconnectRuntime as ac, checkTools as ad, stepsFor as ae, setupWorkDir as af, currentChoice as ag, fixedHarness as ah, markSignedIn as ai, writeSavedChoice as aj, setupTerminals as ak, claudeStatus as al, agentStatus as am, installCommand as an, oneClickSteps as ao, testClaude as ap, testAgent as aq, VaultService as ar, bundledPluginsDir as as, signInWithKey as at, checkCompatibility as au, currentSlots as av, GAPS as aw, WORKTREE_GONE as ax, PEEK_MAX_LINES as ay, parseChange as az, sessionToken as b, cloudSignInPending as c, currentReviewSurface as d, currentPullRequestTabs as e, currentHostedPreviews as f, getRuntime as g, currentAddressRewrites as h, isMutating as i, currentInbox as j, currentHeadroom as k, currentHealth as l, currentFleet as m, currentRailInsights as n, loadSlots as o, currentPreviewPorts as p, currentMessages as q, refuseMutation as r, servedOrigin as s, serverInstance as t, unconfiguredFleet as u, unconfiguredHealth as v, currentFileRoots as w, readAsset as x, unavailableFirstmate as y, slashCommands as z };
|
|
22090
|
+
//# sourceMappingURL=runtime.js-B42zPGx5.js.map
|